@zenuml/core 2.0.28 → 2.0.30
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/cy/xss.html +21 -0
- package/dist/style.css +1 -1
- package/dist/zenuml.esm.mjs +8 -8
- package/dist/zenuml.js +3 -3
- package/docs/xss.md +59 -0
- package/package.json +1 -1
package/dist/zenuml.js
CHANGED
|
@@ -20,7 +20,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
20
20
|
`,e)),e.context===null||e.context.hasEmptyPath()){if(e.context===null||e.context.isEmpty())return r.add(e),!0;r.add(new zt({state:e.state,context:Z.EMPTY},e)),s=!0}if(e.context!==null&&!e.context.isEmpty()){for(let l=0;l<e.context.length;l++)if(e.context.getReturnState(l)!==Z.EMPTY_RETURN_STATE){const c=e.context.getParent(l),u=this.atn.states[e.context.getReturnState(l)];a=new zt({state:u,context:c},e),s=this.closure(t,a,r,s,i,o)}}return s}e.state.epsilonOnlyTransitions||(!s||!e.passedThroughNonGreedyDecision)&&r.add(e);for(let l=0;l<e.state.transitions.length;l++){const c=e.state.transitions[l];a=this.getEpsilonTarget(t,e,c,r,i,o),a!==null&&(s=this.closure(t,a,r,s,i,o))}return s}getEpsilonTarget(t,e,r,s,i,o){let a=null;if(r.serializationType===R.RULE){const l=Bt.create(e.context,r.followState.stateNumber);a=new zt({state:r.target,context:l},e)}else{if(r.serializationType===R.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(r.serializationType===R.PREDICATE)gt.debug&&console.log("EVAL rule "+r.ruleIndex+":"+r.predIndex),s.hasSemanticContext=!0,this.evaluatePredicate(t,r.ruleIndex,r.predIndex,i)&&(a=new zt({state:r.target},e));else if(r.serializationType===R.ACTION)if(e.context===null||e.context.hasEmptyPath()){const l=Un.append(e.lexerActionExecutor,this.atn.lexerActions[r.actionIndex]);a=new zt({state:r.target,lexerActionExecutor:l},e)}else a=new zt({state:r.target},e);else r.serializationType===R.EPSILON?a=new zt({state:r.target},e):(r.serializationType===R.ATOM||r.serializationType===R.RANGE||r.serializationType===R.SET)&&o&&r.matches(b.EOF,0,_t.MAX_CHAR_VALUE)&&(a=new zt({state:r.target},e))}return a}evaluatePredicate(t,e,r,s){if(this.recog===null)return!0;if(!s)return this.recog.sempred(null,e,r);const i=this.column,o=this.line,a=t.index,l=t.mark();try{return this.consume(t),this.recog.sempred(null,e,r)}finally{this.column=i,this.line=o,t.seek(a),t.release(l)}}captureSimState(t,e,r){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=r}addDFAEdge(t,e,r,s){if(r===void 0&&(r=null),s===void 0&&(s=null),r===null&&s!==null){const i=s.hasSemanticContext;if(s.hasSemanticContext=!1,r=this.addDFAState(s),i)return r}return e<gt.MIN_DFA_EDGE||e>gt.MAX_DFA_EDGE||(gt.debug&&console.log("EDGE "+t+" -> "+r+" upon "+e),t.edges===null&&(t.edges=[]),t.edges[e-gt.MIN_DFA_EDGE]=r),r}addDFAState(t){const e=new Me(null,t);let r=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(l.state instanceof Ft){r=l;break}}r!==null&&(e.isAcceptState=!0,e.lexerActionExecutor=r.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[r.state.ruleIndex]);const s=this.decisionToDFA[this.mode],i=s.states.get(e);if(i!==null)return i;const o=e;return o.stateNumber=s.states.length,t.setReadonly(!0),o.configs=t,s.states.add(o),o}getDFA(t){return this.decisionToDFA[t]}getText(t){return t.getText(this.startIndex,t.index-1)}consume(t){t.LA(1)===`
|
|
21
21
|
`.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()}getTokenName(t){return t===-1?"EOF":"'"+String.fromCharCode(t)+"'"}}gt.debug=!1,gt.dfa_debug=!1,gt.MIN_DFA_EDGE=0,gt.MAX_DFA_EDGE=127;class p0{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}}class l5{constructor(){this.data={}}get(t){return this.data["k-"+t]||null}set(t,e){this.data["k-"+t]=e}values(){return Object.keys(this.data).filter(t=>t.startsWith("k-")).map(t=>this.data[t],this)}}const st={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,t){if(st.allConfigsInRuleStopStates(t))return!0;if(n===st.SLL&&t.hasSemanticContext){const r=new Ut;for(let s=0;s<t.items.length;s++){let i=t.items[s];i=new mt({semanticContext:Q.NONE},i),r.add(i)}t=r}const e=st.getConflictingAltSubsets(t);return st.hasConflictingAltSet(e)&&!st.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(n){for(let t=0;t<n.items.length;t++)if(n.items[t].state instanceof Ft)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let t=0;t<n.items.length;t++)if(!(n.items[t].state instanceof Ft))return!1;return!0},resolvesToJustOneViableAlt:function(n){return st.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!st.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length>1)return!0;return!1},allSubsetsEqual:function(n){let t=null;for(let e=0;e<n.length;e++){const r=n[e];if(t===null)t=r;else if(r!==t)return!1}return!0},getUniqueAlt:function(n){const t=st.getAlts(n);return t.length===1?t.minValue():dt.INVALID_ALT_NUMBER},getAlts:function(n){const t=new Ee;return n.map(function(e){t.or(e)}),t},getConflictingAltSubsets:function(n){const t=new Sr;return t.hashFunction=function(e){Jt.hashStuff(e.state.stateNumber,e.context)},t.equalsFunction=function(e,r){return e.state.stateNumber===r.state.stateNumber&&e.context.equals(r.context)},n.items.map(function(e){let r=t.get(e);r===null&&(r=new Ee,t.set(e,r)),r.add(e.alt)}),t.getValues()},getStateToAltMap:function(n){const t=new l5;return n.items.map(function(e){let r=t.get(e.state);r===null&&(r=new Ee,t.set(e.state,r)),r.add(e.alt)}),t},hasStateAssociatedWithOneAlt:function(n){const t=st.getStateToAltMap(n).values();for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},getSingleViableAlt:function(n){let t=null;for(let e=0;e<n.length;e++){const s=n[e].minValue();if(t===null)t=s;else if(t!==s)return dt.INVALID_ALT_NUMBER}return t}};class la extends Ke{constructor(t,e,r,s,i,o){o=o||t._ctx,s=s||t.getCurrentToken(),r=r||t.getCurrentToken(),e=e||t.getInputStream(),super({message:"",recognizer:t,input:e,ctx:o}),this.deadEndConfigs=i,this.startToken=r,this.offendingToken=s}}class c5{constructor(t){this.defaultMapCtor=t||Sr,this.cacheMap=new this.defaultMapCtor}get(t,e){const r=this.cacheMap.get(t)||null;return r===null?null:r.get(e)||null}set(t,e,r){let s=this.cacheMap.get(t)||null;s===null&&(s=new this.defaultMapCtor,this.cacheMap.set(t,s)),s.set(e,r)}}class u5 extends be{constructor(t,e,r,s){super(e,s),this.parser=t,this.decisionToDFA=r,this.predictionMode=st.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(t,e,r){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=r;const s=this.decisionToDFA[e];this._dfa=s;const i=t.mark(),o=t.index;try{let a;if(s.precedenceDfa?a=s.getPrecedenceStartState(this.parser.getPrecedence()):a=s.s0,a===null){r===null&&(r=Pn.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+s.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+r.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(s.atnStartState,Pn.EMPTY,c);s.precedenceDfa?(s.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(s,new Me(null,u)),s.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(s,new Me(null,u)),s.s0=a)}const l=this.execATN(s,a,t,o,r);return this.debug&&console.log("DFA after predictATN: "+s.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(i)}}execATN(t,e,r,s,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(r)+" line "+r.LT(1).line+":"+r.LT(1).column);let o,a=e;this.debug&&console.log("s0 = "+e);let l=r.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(t,a,l)),c===be.ERROR){const u=this.noViableAlt(r,i,a.configs,s);if(r.seek(s),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==dt.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==st.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const p=r.index;if(p!==s&&r.seek(s),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();p!==s&&r.seek(p)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,d=this.computeStartState(t.atnStartState,i,f);return this.reportAttemptingFullContext(t,u,c.configs,s,r.index),o=this.execATNWithFullContext(t,c,d,r,s,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=r.index;r.seek(s);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(r,i,c.configs,s);return f.length===1||this.reportAmbiguity(t,c,s,u,!1,f,c.configs),f.minValue()}a=c,l!==b.EOF&&(r.consume(),l=r.LA(1))}}getExistingTargetState(t,e){const r=t.edges;return r===null?null:r[e+1]||null}computeTargetState(t,e,r){const s=this.computeReachSet(e.configs,r,!1);if(s===null)return this.addDFAEdge(t,e,r,be.ERROR),be.ERROR;let i=new Me(null,s);const o=this.getUniqueAlt(s);if(this.debug){const a=st.getConflictingAltSubsets(s);console.log("SLL altSubSets="+We(a)+", configs="+s+", predict="+o+", allSubsetsConflict="+st.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(s))}return o!==dt.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):st.hasSLLConflictTerminatingPrediction(this.predictionMode,s)&&(i.configs.conflictingAlts=this.getConflictingAlts(s),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(t.decision)),i.predicates!==null&&(i.prediction=dt.INVALID_ALT_NUMBER)),i=this.addDFAEdge(t,e,r,i),i}predicateDFAState(t,e){const r=e.transitions.length,s=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(s,t.configs,r);i!==null?(t.predicates=this.getPredicatePredictions(s,i),t.prediction=dt.INVALID_ALT_NUMBER):t.prediction=s.minValue()}execATNWithFullContext(t,e,r,s,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+r);const a=!0;let l=!1,c,u=r;s.seek(i);let f=s.LA(1),d=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const w=this.noViableAlt(s,o,u,i);s.seek(i);const I=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(I!==dt.INVALID_ALT_NUMBER)return I;throw w}const p=st.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+p+", predict="+st.getUniqueAlt(p)+", resolvesToJustOneViableAlt="+st.resolvesToJustOneViableAlt(p)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==dt.INVALID_ALT_NUMBER){d=c.uniqueAlt;break}else if(this.predictionMode!==st.LL_EXACT_AMBIG_DETECTION){if(d=st.resolvesToJustOneViableAlt(p),d!==dt.INVALID_ALT_NUMBER)break}else if(st.allSubsetsConflict(p)&&st.allSubsetsEqual(p)){l=!0,d=st.getSingleViableAlt(p);break}u=c,f!==b.EOF&&(s.consume(),f=s.LA(1))}return c.uniqueAlt!==dt.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,c,i,s.index),d):(this.reportAmbiguity(t,e,i,s.index,l,null,c),d)}computeReachSet(t,e,r){this.debug&&console.log("in computeReachSet, starting closure: "+t),this.mergeCache===null&&(this.mergeCache=new c5);const s=new Ut(r);let i=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(this.debug&&console.log("testing "+this.getTokenName(e)+" at "+l),l.state instanceof Ft){(r||e===b.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,e);if(f!==null){const d=new mt({state:f},l);s.add(d,this.mergeCache),this.debug_add&&console.log("added "+d+" to intermediate")}}}let o=null;if(i===null&&e!==b.EOF&&(s.items.length===1||this.getUniqueAlt(s)!==dt.INVALID_ALT_NUMBER)&&(o=s),o===null){o=new Ut(r);const a=new te,l=e===b.EOF;for(let c=0;c<s.items.length;c++)this.closure(s.items[c],o,a,!1,r,l)}if(e===b.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===s)),i!==null&&(!r||!st.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(t,e){if(st.allConfigsInRuleStopStates(t))return t;const r=new Ut(t.fullCtx);for(let s=0;s<t.items.length;s++){const i=t.items[s];if(i.state instanceof Ft){r.add(i,this.mergeCache);continue}if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(b.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];r.add(new mt({state:a},i),this.mergeCache)}}return r}computeStartState(t,e,r){const s=Vo(this.atn,e),i=new Ut(r);for(let o=0;o<t.transitions.length;o++){const a=t.transitions[o].target,l=new mt({state:a,alt:o+1,context:s},null),c=new te;this.closure(l,i,c,!0,r,!1)}return i}applyPrecedenceFilter(t){let e;const r=[],s=new Ut(t.fullCtx);for(let i=0;i<t.items.length;i++){if(e=t.items[i],e.alt!==1)continue;const o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(r[e.state.stateNumber]=e.context,o!==e.semanticContext?s.add(new mt({semanticContext:o},e),this.mergeCache):s.add(e,this.mergeCache))}for(let i=0;i<t.items.length;i++)if(e=t.items[i],e.alt!==1){if(!e.precedenceFilterSuppressed){const o=r[e.state.stateNumber]||null;if(o!==null&&o.equals(e.context))continue}s.add(e,this.mergeCache)}return s}getReachableTarget(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null}getPredsForAmbigAlts(t,e,r){let s=[];for(let o=0;o<e.items.length;o++){const a=e.items[o];t.has(a.alt)&&(s[a.alt]=Q.orContext(s[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<r+1;o++){const a=s[o]||null;a===null?s[o]=Q.NONE:a!==Q.NONE&&(i+=1)}return i===0&&(s=null),this.debug&&console.log("getPredsForAmbigAlts result "+We(s)),s}getPredicatePredictions(t,e){const r=[];let s=!1;for(let i=1;i<e.length;i++){const o=e[i];t!==null&&t.has(i)&&r.push(new p0(o,i)),o!==Q.NONE&&(s=!0)}return s?r:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(t,e){const r=this.splitAccordingToSemanticValidity(t,e),s=r[0],i=r[1];let o=this.getAltThatFinishedDecisionEntryRule(s);return o!==dt.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==dt.INVALID_ALT_NUMBER)?o:dt.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(t){const e=[];for(let r=0;r<t.items.length;r++){const s=t.items[r];(s.reachesIntoOuterContext>0||s.state instanceof Ft&&s.context.hasEmptyPath())&&e.indexOf(s.alt)<0&&e.push(s.alt)}return e.length===0?dt.INVALID_ALT_NUMBER:Math.min.apply(null,e)}splitAccordingToSemanticValidity(t,e){const r=new Ut(t.fullCtx),s=new Ut(t.fullCtx);for(let i=0;i<t.items.length;i++){const o=t.items[i];o.semanticContext!==Q.NONE?o.semanticContext.evaluate(this.parser,e)?r.add(o):s.add(o):r.add(o)}return[r,s]}evalSemanticContext(t,e,r){const s=new Ee;for(let i=0;i<t.length;i++){const o=t[i];if(o.pred===Q.NONE){if(s.add(o.alt),!r)break;continue}const a=o.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),s.add(o.alt),!r))break}return s}closure(t,e,r,s,i,o){this.closureCheckingStopState(t,e,r,s,i,0,o)}closureCheckingStopState(t,e,r,s,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof Ft)if(t.context.isEmpty())if(i){e.add(t,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex));else{for(let l=0;l<t.context.length;l++){if(t.context.getReturnState(l)===Z.EMPTY_RETURN_STATE){if(i){e.add(new mt({state:t.state,context:Z.EMPTY},t),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,r,s,i,o,a);continue}const c=this.atn.states[t.context.getReturnState(l)],u=t.context.getParent(l),f={state:c,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new mt(f,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,r,s,i,o-1,a)}return}this.closure_(t,e,r,s,i,o,a)}closure_(t,e,r,s,i,o,a){const l=t.state;l.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(t))continue;const u=l.transitions[c],f=s&&!(u instanceof c0),d=this.getEpsilonTarget(t,u,f,o===0,i,a);if(d!==null){let p=o;if(t.state instanceof Ft){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(d.precedenceFilterSuppressed=!0),d.reachesIntoOuterContext+=1,r.add(d)!==d)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+d)}else{if(!u.isEpsilon&&r.add(d)!==d)continue;u instanceof Is&&p>=0&&(p+=1)}this.closureCheckingStopState(d,e,r,f,i,p,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(t){const e=t.state;if(e.stateType!==N.STAR_LOOP_ENTRY||e.stateType!==N.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;const r=t.context.length;for(let a=0;a<r;a++)if(this.atn.states[t.context.getReturnState(a)].ruleIndex!==e.ruleIndex)return!1;const i=e.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<r;a++){const l=t.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===N.BLOCK_END&&u===e)&&c!==o&&u!==o&&!(u.stateType===N.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===e))return!1}return!0}getRuleName(t){return this.parser!==null&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,r,s,i,o){switch(e.serializationType){case R.RULE:return this.ruleTransition(t,e);case R.PRECEDENCE:return this.precedenceTransition(t,e,r,s,i);case R.PREDICATE:return this.predTransition(t,e,r,s,i);case R.ACTION:return this.actionTransition(t,e);case R.EPSILON:return new mt({state:e.target},t);case R.ATOM:case R.RANGE:case R.SET:return o&&e.matches(b.EOF,0,1)?new mt({state:e.target},t):null;default:return null}}actionTransition(t,e){if(this.debug){const r=e.actionIndex===-1?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+r)}return new mt({state:e.target},t)}precedenceTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&s)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}predTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&(e.isCtxDependent&&s||!e.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);const r=e.followState,s=Bt.create(t.context,r.stateNumber);return new mt({state:e.target,context:s},t)}getConflictingAlts(t){const e=st.getConflictingAltSubsets(t);return st.getAlts(e)}getConflictingAltsOrUniqueAlt(t){let e=null;return t.uniqueAlt!==dt.INVALID_ALT_NUMBER?(e=new Ee,e.add(t.uniqueAlt)):e=t.conflictingAlts,e}getTokenName(t){if(t===b.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";return""+t}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");const e=t.getDeadEndConfigs();for(let r=0;r<e.length;r++){const s=e[r];let i="no edges";if(s.state.transitions.length>0){const o=s.state.transitions[0];o instanceof Ds?i="Atom "+this.getTokenName(o.label):o instanceof Uo&&(i=(o instanceof Ho?"~":"")+"Set "+o.set)}console.error(s.toString(this.parser,!0)+":"+i)}}noViableAlt(t,e,r,s){return new la(this.parser,t,t.get(s),t.LT(1),r,e)}getUniqueAlt(t){let e=dt.INVALID_ALT_NUMBER;for(let r=0;r<t.items.length;r++){const s=t.items[r];if(e===dt.INVALID_ALT_NUMBER)e=s.alt;else if(s.alt!==e)return dt.INVALID_ALT_NUMBER}return e}addDFAEdge(t,e,r,s){if(this.debug&&console.log("EDGE "+e+" -> "+s+" upon "+this.getTokenName(r)),s===null)return null;if(s=this.addDFAState(t,s),e===null||r<-1||r>this.atn.maxTokenType)return s;if(e.edges===null&&(e.edges=[]),e.edges[r+1]=s,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
22
22
|
`+t.toString(i,o))}return s}addDFAState(t,e){if(e===be.ERROR)return e;const r=t.states.get(e);return r!==null?r:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)}reportAttemptingFullContext(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,s,i,e,r)}reportContextSensitivity(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,s,i,e,r)}reportAmbiguity(t,e,r,s,i,o,a){if(this.debug||this.retry_debug){const l=new J(r,s+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,r,s,i,o,a)}}const h5={ATN:dt,ATNDeserializer:h0,LexerATNSimulator:gt,ParserATNSimulator:u5,PredictionMode:st};class ca{constructor(t,e,r){this.dfa=t,this.literalNames=e||[],this.symbolicNames=r||[]}toString(){if(this.dfa.s0===null)return null;let t="";const e=this.dfa.sortedStates();for(let r=0;r<e.length;r++){const s=e[r];if(s.edges!==null){const i=s.edges.length;for(let o=0;o<i;o++){const a=s.edges[o]||null;a!==null&&a.stateNumber!==2147483647&&(t=t.concat(this.getStateString(s)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(a)),t=t.concat(`
|
|
23
|
-
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+We(t.predicates):e+"=>"+t.prediction.toString():e}}class g0 extends ca{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class f5{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new te,this.s0=null,this.precedenceDfa=!1,t instanceof gn&&t.isPrecedenceDecision){this.precedenceDfa=!0;const r=new Me(null,new Ut);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new te,t){const e=new Me(null,new Ut);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,r){return e.stateNumber-r.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new ca(this,t,e).toString()}toLexerString(){return this.s0===null?"":new g0(this).toString()}get states(){return this._states}}const d5={DFA:f5,DFASerializer:ca,LexerDFASerializer:g0,PredPrediction:p0};class x0{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class p5{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class ua{walk(t,e){if(e instanceof Ps||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof Ne)t.visitTerminal(e);else{this.enterRule(t,e);for(let s=0;s<e.getChildCount();s++){const i=e.getChild(s);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const r=e.getRuleContext();t.enterEveryRule(r),r.enterRule(t)}exitRule(t,e){const r=e.getRuleContext();r.exitRule(t),t.exitEveryRule(r)}}ua.DEFAULT=new ua;const g5={Trees:ye,RuleNode:Ms,ErrorNode:Ps,TerminalNode:Ne,ParseTreeListener:x0,ParseTreeVisitor:p5,ParseTreeWalker:ua};class Nr extends Ke{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class m0 extends Ke{constructor(t,e,r){super({message:x5(e,r||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof u0?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function x5(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class m5 extends Hs{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,r,s,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,r,s,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,r,s,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const r=e.decision,s=e.atnStartState.ruleIndex,i=t.ruleNames;if(s<0||s>=i.length)return""+r;const o=i[s]||null;return o===null||o.length===0?""+r:`${r} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const r=new Ee;for(let s=0;s<e.items.length;s++)r.add(e.items[s].alt);return`{${r.values().join(", ")}}`}}class ha extends Error{constructor(){super(),Error.captureStackTrace(this,ha)}}class _5{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class fa extends _5{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof la?this.reportNoViableAlternative(t,e):e instanceof Nr?this.reportInputMismatch(t,e):e instanceof m0?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const r=this.getErrorRecoverySet(t);this.consumeUntil(t,r)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],r=t.getTokenStream().LA(1),s=t.atn.nextTokens(e);if(s.contains(r)){this.nextTokensContext=null,this.nextTokenState=N.INVALID_STATE_NUMBER;return}else if(s.contains(b.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case N.BLOCK_START:case N.STAR_BLOCK_START:case N.PLUS_BLOCK_START:case N.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new Nr(t);case N.PLUS_LOOP_BACK:case N.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new ae;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const r=t.getTokenStream();let s;r!==null?e.startToken.type===b.EOF?s="<EOF>":s=r.getText(new J(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):s="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(s);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const r="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e.offendingToken,e)}reportFailedPredicate(t,e){const s="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(s,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r=this.getTokenErrorDisplay(e),s=this.getExpectedTokens(t),i="extraneous input "+r+" expecting "+s.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(s,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new Nr(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),r=t._interp.atn,i=r.states[t.state].transitions[0].target;return r.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const s=t.getCurrentToken();return this.reportMatch(t),s}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),s=this.getExpectedTokens(t).first();let i;s===b.EOF?i="<missing EOF>":i="<missing "+t.literalNames[s]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===b.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,s,i,b.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let r=t._ctx;const s=new ae;for(;r!==null&&r.invokingState>=0;){const o=e.states[r.invokingState].transitions[0],a=e.nextTokens(o.followState);s.addSet(a),r=r.parentCtx}return s.removeOne(b.EPSILON),s}consumeUntil(t,e){let r=t.getTokenStream().LA(1);for(;r!==b.EOF&&!e.contains(r);)t.consume(),r=t.getTokenStream().LA(1)}}class L5 extends fa{constructor(){super()}recover(t,e){let r=t._ctx;for(;r!==null;)r.exception=e,r=r.parentCtx;throw new ha(e)}recoverInline(t){this.recover(t,new Nr(t))}sync(t){}}const v5={RecognitionException:Ke,NoViableAltException:la,LexerNoViableAltException:aa,InputMismatchException:Nr,FailedPredicateException:m0,DiagnosticErrorListener:m5,BailErrorStrategy:L5,DefaultErrorStrategy:fa,ErrorListener:Hs};class mn{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r<this.strdata.length;){const s=this.strdata.codePointAt(r);this.data.push(s),r+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let r=0;r<this.strdata.length;r++){const s=this.strdata.charCodeAt(r);this.data[r]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?b.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let s=t;s<=e;s++)r+=String.fromCodePoint(this.data[s]);return r}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const da={},y5={fromString:function(n){return new mn(n,!0)},fromBlob:function(n,t,e,r){const s=new window.FileReader;s.onload=function(i){const o=new mn(i.target.result,!0);e(o)},s.onerror=r,s.readAsText(n,t)},fromBuffer:function(n,t){return new mn(n.toString(t),!0)},fromPath:function(n,t,e){da.readFile(n,t,function(r,s){let i=null;s!==null&&(i=new mn(s,!0)),e(r,i)})},fromPathSync:function(n,t){const e=da.readFileSync(n,t);return new mn(e,!0)}};class C5 extends mn{constructor(t,e){const r=da.readFileSync(t,"utf8");super(r,e),this.fileName=t}}class E5{}class b5 extends E5{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===b.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const r=this.tokenSource.nextToken();if(r.tokenIndex=this.tokens.length,this.tokens.push(r),r.type===b.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,r){if(r===void 0&&(r=null),t<0||e<0)return null;this.lazyInit();const s=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===b.EOF)break;(r===null||r.contains(o.type))&&s.push(o)}return s}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let r=this.tokens[t];for(;r.channel!==this.channel;){if(r.type===b.EOF)return-1;t+=1,this.sync(t),r=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.nextTokenOnChannel(t+1,_t.DEFAULT_TOKEN_CHANNEL),s=t+1,i=r===-1?this.tokens.length-1:r;return this.filterForChannel(s,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.previousTokenOnChannel(t-1,_t.DEFAULT_TOKEN_CHANNEL);if(r===t-1)return null;const s=r+1,i=t-1;return this.filterForChannel(s,i,e)}filterForChannel(t,e,r){const s=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];r===-1?o.channel!==_t.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===r&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new J(0,this.tokens.length-1));let e=t.start;e instanceof b&&(e=e.tokenIndex);let r=t.stop;if(r instanceof b&&(r=r.tokenIndex),e===null||r===null||e<0||r<0)return"";r>=this.tokens.length&&(r=this.tokens.length-1);let s="";for(let i=e;i<r+1;i++){const o=this.tokens[i];if(o.type===b.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class w5 extends b5{constructor(t,e){super(t),this.channel=e===void 0?b.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,r=1;for(;r<=t;)e=this.previousTokenOnChannel(e-1,this.channel),r+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,r=1;for(;r<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),r+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const r=this.tokens[e];if(r.channel===this.channel&&(t+=1),r.type===b.EOF)break}return t}}class T5 extends x0{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let _0=class extends Gs{constructor(t){super(),this._input=null,this._errHandler=new fa,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const r=new kr;r.generateRuleBypassTransitions=!0,e=new h0(r).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,r){e=e||null,r=r||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const s=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,s,i,t,r)}consume(){const t=this.getCurrentToken();t.type!==b.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let r;this._errHandler.inErrorRecoveryMode(this)?r=this._ctx.addErrorNode(t):r=this._ctx.addTokenNode(t),r.invokingState=this.state,e&&this._parseListeners.forEach(function(s){r instanceof Ps||r.isErrorNode!==void 0&&r.isErrorNode()?s.visitErrorNode(r):r instanceof Ne&&s.visitTerminal(r)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,r){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,r,s){this.state=e,this._precedenceStack.push(s),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,r){const s=this._ctx;s.parentCtx=t,s.invokingState=e,s.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,r=this.getParseListeners();if(r!==null&&r.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let r=this._ctx;const s=e.states[this.state];let i=e.nextTokens(s);if(i.contains(t))return!0;if(!i.contains(b.EPSILON))return!1;for(;r!==null&&r.invokingState>=0&&i.contains(b.EPSILON);){const a=e.states[r.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;r=r.parentCtx}return!!(i.contains(b.EPSILON)&&t===b.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const r=t.ruleIndex;r<0?e.push("n/a"):e.push(this.ruleNames[r]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const r=this._interp.decisionToDFA[e];r.states.length>0&&(t&&console.log(),this.printer.println("Decision "+r.decision+":"),this.printer.print(r.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new T5(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};_0.bypassAltsAtnCache={};class A5{constructor(){this.cache=new Sr}add(t){if(t===Z.EMPTY)return Z.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class L0 extends Ne{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return J.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new J(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===b.EOF?"<EOF>":this.symbol.text}}class v0 extends L0{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class y0 extends Pn{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof v0&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new L0(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new v0(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof e){if(t===0)return s;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof Ne&&s.symbol.type===t){if(e===0)return s;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof Ne&&s.symbol.type===t&&e.push(s)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof t&&e.push(s)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?J.INVALID_INTERVAL:new J(this.start.tokenIndex,this.stop.tokenIndex)}}Pn.EMPTY=new y0;const _={atn:h5,dfa:d5,tree:g5,error:v5,Token:b,CommonToken:xn,CharStreams:y5,InputStream:mn,FileStream:C5,CommonTokenStream:w5,Lexer:_t,Parser:_0,PredictionContextCache:A5,ParserRuleContext:y0,Interval:J,IntervalSet:ae,LL1Analyzer:$n,Utils:{arrayToString:We}},S5=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],pa=new _.atn.ATNDeserializer().deserialize(S5),R5=pa.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class A extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,pa,R5,new _.PredictionContextCache)}get atn(){return pa}}et(A,"grammarFileName","sequenceLexer.g4"),et(A,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),et(A,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),et(A,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(A,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(A,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),A.EOF=_.Token.EOF,A.WS=1,A.CONSTANT=2,A.READONLY=3,A.STATIC=4,A.AWAIT=5,A.TITLE=6,A.COL=7,A.SOPEN=8,A.SCLOSE=9,A.ARROW=10,A.COLOR=11,A.OR=12,A.AND=13,A.EQ=14,A.NEQ=15,A.GT=16,A.LT=17,A.GTEQ=18,A.LTEQ=19,A.PLUS=20,A.MINUS=21,A.MULT=22,A.DIV=23,A.MOD=24,A.POW=25,A.NOT=26,A.SCOL=27,A.COMMA=28,A.ASSIGN=29,A.OPAR=30,A.CPAR=31,A.OBRACE=32,A.CBRACE=33,A.TRUE=34,A.FALSE=35,A.NIL=36,A.IF=37,A.ELSE=38,A.WHILE=39,A.RETURN=40,A.NEW=41,A.PAR=42,A.GROUP=43,A.OPT=44,A.AS=45,A.TRY=46,A.CATCH=47,A.FINALLY=48,A.IN=49,A.STARTER_LXR=50,A.ANNOTATION_RET=51,A.ANNOTATION=52,A.DOT=53,A.ID=54,A.INT=55,A.FLOAT=56,A.STRING=57,A.CR=58,A.COMMENT=59,A.OTHER=60,A.DIVIDER=61,A.EVENT_PAYLOAD_LXR=62,A.EVENT_END=63,A.TITLE_CONTENT=64,A.TITLE_END=65,A.COMMENT_CHANNEL=2,A.MODIFIER_CHANNEL=3,A.EVENT=1,A.TITLE_MODE=2,A.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},A.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class v extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const k5=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],ga=new _.atn.ATNDeserializer().deserialize(k5),O5=ga.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),N5=new _.PredictionContextCache,m=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,ga,O5,N5),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return ga}sempred(t,e,r){switch(e){case 48:return this.expr_sempred(t,r);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new C0(this,this._ctx,this.state);this.enterRule(t,0,m.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,4,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,3,this._ctx);r===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}title(){let t=new xa(this,this._ctx,this.state);this.enterRule(t,2,m.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(m.TITLE_END))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}head(){let t=new ma(this,this._ctx,this.state);this.enterRule(t,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var r=1;do{switch(r){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,7,this._ctx)}while(r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,9,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;){if(r===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}group(){let t=new js(this,this._ctx,this.state);this.enterRule(t,6,m.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,15,this._ctx);switch(r){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||!(e-52&-32)&&1<<e-52&37;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,14,this._ctx);r===1&&(this.state=166,this.name());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starterExp(){let t=new _a(this,this._ctx,this.state);this.enterRule(t,8,m.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starter(){let t=new La(this,this._ctx,this.state);this.enterRule(t,10,m.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participant(){let t=new Hn(this,this._ctx,this.state);this.enterRule(t,12,m.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,24,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,21,this._ctx);r===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}stereotype(){let t=new va(this,this._ctx,this.state);this.enterRule(t,14,m.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,27,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}label(){let t=new ya(this,this._ctx,this.state);this.enterRule(t,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(m.AS);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participantType(){let t=new Ca(this,this._ctx,this.state);this.enterRule(t,18,m.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(m.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new Gn(this,this._ctx,this.state);this.enterRule(t,20,m.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}width(){let t=new Ea(this,this._ctx,this.state);this.enterRule(t,22,m.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(m.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new Vs(this,this._ctx,this.state);this.enterRule(t,24,m.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while(!(e-34&-32)&&1<<e-34&217191919)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ret(){let t=new ba(this,this._ctx,this.state);this.enterRule(t,26,m.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,30,this._ctx);r===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}divider(){let t=new wa(this,this._ctx,this.state);this.enterRule(t,28,m.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Ta(this,this._ctx,this.state);this.enterRule(t,30,m.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(m.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new zs(this,this._ctx,this.state);this.enterRule(t,32,m.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,35,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(m.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}par(){let t=new Aa(this,this._ctx,this.state);this.enterRule(t,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(m.PAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}opt(){let t=new Sa(this,this._ctx,this.state);this.enterRule(t,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(m.OPT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creation(){let t=new Zs(this,this._ctx,this.state);this.enterRule(t,38,m.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(m.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creationBody(){let t=new Ra(this,this._ctx,this.state);this.enterRule(t,40,m.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,43,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,41,this._ctx);r===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}message(){let t=new ka(this,this._ctx,this.state);this.enterRule(t,42,m.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new Oa(this,this._ctx,this.state);this.enterRule(t,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}func(){let t=new qs(this,this._ctx,this.state);this.enterRule(t,46,m.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}from(){let t=new Ws(this,this._ctx,this.state);this.enterRule(t,48,m.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}to(){let t=new Ir(this,this._ctx,this.state);this.enterRule(t,50,m.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}signature(){let t=new Ks(this,this._ctx,this.state);this.enterRule(t,52,m.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}invocation(){let t=new Ys(this,this._ctx,this.state);this.enterRule(t,54,m.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignment(){let t=new Mr(this,this._ctx,this.state);this.enterRule(t,56,m.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}asyncMessage(){let t=new Xs(this,this._ctx,this.state);this.enterRule(t,58,m.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,56,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,54,this._ctx);r===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,55,this._ctx);r===1&&(this.state=372,this.to());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}content(){let t=new Na(this,this._ctx,this.state);this.enterRule(t,60,m.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new Ia(this,this._ctx,this.state);this.enterRule(t,62,m.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}type(){let t=new Qs(this,this._ctx,this.state);this.enterRule(t,64,m.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignee(){let t=new Ma(this,this._ctx,this.state);this.enterRule(t,66,m.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,58,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(m.STRING);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}methodName(){let t=new Pa(this,this._ctx,this.state);this.enterRule(t,68,m.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameters(){let t=new Js(this,this._ctx,this.state);this.enterRule(t,70,m.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,59,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(m.COMMA))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameter(){let t=new ti(this,this._ctx,this.state);this.enterRule(t,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}declaration(){let t=new $a(this,this._ctx,this.state);this.enterRule(t,74,m.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Da(this,this._ctx,this.state);this.enterRule(t,76,m.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}tryBlock(){let t=new Fa(this,this._ctx,this.state);this.enterRule(t,78,m.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new ei(this,this._ctx,this.state);this.enterRule(t,80,m.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}finallyBlock(){let t=new Ba(this,this._ctx,this.state);this.enterRule(t,82,m.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ua(this,this._ctx,this.state);this.enterRule(t,84,m.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,65,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ifBlock(){let t=new Ha(this,this._ctx,this.state);this.enterRule(t,86,m.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new Ga(this,this._ctx,this.state);this.enterRule(t,90,m.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new ee(this,this._ctx,this.state);this.enterRule(t,92,m.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&217191919&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}loop(){let t=new ja(this,this._ctx,this.state);this.enterRule(t,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(m.WHILE);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,r=this.state;let s=new V(this,this._ctx,r),i=s;const o=96;this.enterRecursionRule(s,96,m.RULE_expr,t);var a=0;try{this.enterOuterAlt(s,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:s=new w0(this,s),this._ctx=s,i=s,this.state=475,this.atom();break;case 2:s=new O0(this,s),this._ctx=s,i=s,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:s=new k0(this,s),this._ctx=s,i=s,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:s=new b0(this,s),this._ctx=s,i=s,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:s=new N0(this,s),this._ctx=s,i=s,this.state=486,this.creation();break;case 6:s=new I0(this,s),this._ctx=s,i=s,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:s=new E0(this,s),this._ctx=s,i=s,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=s,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(s=new M0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&29360128?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(s=new A0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,s.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(s=new S0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&983040?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(s=new P0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,s.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(s=new $0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(s=new T0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(s=new R0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)s.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return s}atom(){let t=new we(this,this._ctx,this.state);this.enterRule(t,98,m.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new H0(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new D0(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new F0(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(m.ID);break;case 57:t=new B0(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(m.STRING);break;case 36:t=new U0(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(m.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parExpr(){let t=new Pr(this,this._ctx,this.state);this.enterRule(t,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(m.OPAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}condition(){let t=new Va(this,this._ctx,this.state);this.enterRule(t,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}inExpr(){let t=new za(this,this._ctx,this.state);this.enterRule(t,104,m.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=m;et(h,"grammarFileName","java-escape"),et(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;let C0=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(xa,0)}head(){return this.getTypedRuleContext(ma,0)}block(){return this.getTypedRuleContext(Vs,0)}enterRule(t){t instanceof v&&t.enterProg(this)}exitRule(t){t instanceof v&&t.exitProg(this)}},xa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof v&&t.enterTitle(this)}exitRule(t){t instanceof v&&t.exitTitle(this)}};class ma extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(js):this.getTypedRuleContext(js,e)});et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(_a,0)}enterRule(e){e instanceof v&&e.enterHead(this)}exitRule(e){e instanceof v&&e.exitHead(this)}}let js=class extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(e){e instanceof v&&e.enterGroup(this)}exitRule(e){e instanceof v&&e.exitGroup(this)}};class _a extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(La,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterStarterExp(this)}exitRule(t){t instanceof v&&t.exitStarterExp(this)}}class La extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStarter(this)}exitRule(t){t instanceof v&&t.exitStarter(this)}}let Hn=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(Gn,0)}participantType(){return this.getTypedRuleContext(Ca,0)}stereotype(){return this.getTypedRuleContext(va,0)}width(){return this.getTypedRuleContext(Ea,0)}label(){return this.getTypedRuleContext(ya,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof v&&t.enterParticipant(this)}exitRule(t){t instanceof v&&t.exitParticipant(this)}};class va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(Gn,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof v&&t.enterStereotype(this)}exitRule(t){t instanceof v&&t.exitStereotype(this)}}class ya extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(t){t instanceof v&&t.enterLabel(this)}exitRule(t){t instanceof v&&t.exitLabel(this)}}class Ca extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterParticipantType(this)}exitRule(t){t instanceof v&&t.exitParticipantType(this)}}class Gn extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterName(this)}exitRule(t){t instanceof v&&t.exitName(this)}}class Ea extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof v&&t.enterWidth(this)}exitRule(t){t instanceof v&&t.exitWidth(this)}}class Vs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(zs):this.getTypedRuleContext(zs,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof v&&e.enterBlock(this)}exitRule(e){e instanceof v&&e.exitBlock(this)}}let ba=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(V,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Xs,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof v&&t.enterRet(this)}exitRule(t){t instanceof v&&t.exitRet(this)}},wa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ta,0)}enterRule(t){t instanceof v&&t.enterDivider(this)}exitRule(t){t instanceof v&&t.exitDivider(this)}};class Ta extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof v&&t.enterDividerNote(this)}exitRule(t){t instanceof v&&t.exitDividerNote(this)}}let zs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ua,0)}par(){return this.getTypedRuleContext(Aa,0)}opt(){return this.getTypedRuleContext(Sa,0)}loop(){return this.getTypedRuleContext(ja,0)}creation(){return this.getTypedRuleContext(Zs,0)}message(){return this.getTypedRuleContext(ka,0)}asyncMessage(){return this.getTypedRuleContext(Xs,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(ba,0)}divider(){return this.getTypedRuleContext(wa,0)}tcf(){return this.getTypedRuleContext(Da,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof v&&t.enterStat(this)}exitRule(t){t instanceof v&&t.exitStat(this)}};class Aa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterPar(this)}exitRule(t){t instanceof v&&t.exitPar(this)}}class Sa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterOpt(this)}exitRule(t){t instanceof v&&t.exitOpt(this)}}let Zs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(Ra,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterCreation(this)}exitRule(t){t instanceof v&&t.exitCreation(this)}};class Ra extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(Ia,0)}assignment(){return this.getTypedRuleContext(Mr,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Js,0)}enterRule(t){t instanceof v&&t.enterCreationBody(this)}exitRule(t){t instanceof v&&t.exitCreationBody(this)}}let ka=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(Oa,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterMessage(this)}exitRule(t){t instanceof v&&t.exitMessage(this)}};class Oa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(qs,0)}assignment(){return this.getTypedRuleContext(Mr,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ws,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof v&&t.enterMessageBody(this)}exitRule(t){t instanceof v&&t.exitMessageBody(this)}}class qs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Ks):this.getTypedRuleContext(Ks,e)});et(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof v&&e.enterFunc(this)}exitRule(e){e instanceof v&&e.exitFunc(this)}}class Ws extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterFrom(this)}exitRule(t){t instanceof v&&t.exitFrom(this)}}class Ir extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterTo(this)}exitRule(t){t instanceof v&&t.exitTo(this)}}class Ks extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Pa,0)}invocation(){return this.getTypedRuleContext(Ys,0)}enterRule(t){t instanceof v&&t.enterSignature(this)}exitRule(t){t instanceof v&&t.exitSignature(this)}}class Ys extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Js,0)}enterRule(t){t instanceof v&&t.enterInvocation(this)}exitRule(t){t instanceof v&&t.exitInvocation(this)}}class Mr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(Ma,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterAssignment(this)}exitRule(t){t instanceof v&&t.exitAssignment(this)}}let Xs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(Ir,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Na,0)}from(){return this.getTypedRuleContext(Ws,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof v&&t.enterAsyncMessage(this)}exitRule(t){t instanceof v&&t.exitAsyncMessage(this)}};class Na extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof v&&t.enterContent(this)}exitRule(t){t instanceof v&&t.exitContent(this)}}class Ia extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterConstruct(this)}exitRule(t){t instanceof v&&t.exitConstruct(this)}}class Qs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterType(this)}exitRule(t){t instanceof v&&t.exitType(this)}}class Ma extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(we,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof v&&e.enterAssignee(this)}exitRule(e){e instanceof v&&e.exitAssignee(this)}}class Pa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterMethodName(this)}exitRule(t){t instanceof v&&t.exitMethodName(this)}}class Js extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ti):this.getTypedRuleContext(ti,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof v&&e.enterParameters(this)}exitRule(e){e instanceof v&&e.exitParameters(this)}}class ti extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext($a,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterParameter(this)}exitRule(t){t instanceof v&&t.exitParameter(this)}}class $a extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(Qs,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterDeclaration(this)}exitRule(t){t instanceof v&&t.exitDeclaration(this)}}class Da extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ei):this.getTypedRuleContext(ei,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Fa,0)}finallyBlock(){return this.getTypedRuleContext(Ba,0)}enterRule(e){e instanceof v&&e.enterTcf(this)}exitRule(e){e instanceof v&&e.exitTcf(this)}}class Fa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterTryBlock(this)}exitRule(t){t instanceof v&&t.exitTryBlock(this)}}class ei extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}invocation(){return this.getTypedRuleContext(Ys,0)}enterRule(t){t instanceof v&&t.enterCatchBlock(this)}exitRule(t){t instanceof v&&t.exitCatchBlock(this)}}class Ba extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterFinallyBlock(this)}exitRule(t){t instanceof v&&t.exitFinallyBlock(this)}}class Ua extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ni):this.getTypedRuleContext(ni,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Ha,0)}elseBlock(){return this.getTypedRuleContext(Ga,0)}enterRule(e){e instanceof v&&e.enterAlt(this)}exitRule(e){e instanceof v&&e.exitAlt(this)}}class Ha extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterIfBlock(this)}exitRule(t){t instanceof v&&t.exitIfBlock(this)}}class ni extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseIfBlock(this)}exitRule(t){t instanceof v&&t.exitElseIfBlock(this)}}class Ga extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseBlock(this)}exitRule(t){t instanceof v&&t.exitElseBlock(this)}}class ee extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Vs,0)}enterRule(t){t instanceof v&&t.enterBraceBlock(this)}exitRule(t){t instanceof v&&t.exitBraceBlock(this)}}class ja extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterLoop(this)}exitRule(t){t instanceof v&&t.exitLoop(this)}}class V extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class E0 extends V{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(Mr,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof v&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=E0;class b0 extends V{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(qs,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof v&&t.enterFuncExpr(this)}exitRule(t){t instanceof v&&t.exitFuncExpr(this)}}h.FuncExprContext=b0;class w0 extends V{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(we,0)}enterRule(t){t instanceof v&&t.enterAtomExpr(this)}exitRule(t){t instanceof v&&t.exitAtomExpr(this)}}h.AtomExprContext=w0;class T0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof v&&e.enterOrExpr(this)}exitRule(e){e instanceof v&&e.exitOrExpr(this)}}h.OrExprContext=T0;class A0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof v&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof v&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=A0;class S0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof v&&e.enterRelationalExpr(this)}exitRule(e){e instanceof v&&e.exitRelationalExpr(this)}}h.RelationalExprContext=S0;class R0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof v&&e.enterPlusExpr(this)}exitRule(e){e instanceof v&&e.exitPlusExpr(this)}}h.PlusExprContext=R0;class k0 extends V{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterNotExpr(this)}exitRule(t){t instanceof v&&t.exitNotExpr(this)}}h.NotExprContext=k0;class O0 extends V{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof v&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=O0;class N0 extends V{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterCreationExpr(this)}exitRule(t){t instanceof v&&t.exitCreationExpr(this)}}h.CreationExprContext=N0;class I0 extends V{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(V,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof v&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=I0;class M0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof v&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof v&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=M0;class P0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof v&&e.enterEqualityExpr(this)}exitRule(e){e instanceof v&&e.exitEqualityExpr(this)}}h.EqualityExprContext=P0;class $0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof v&&e.enterAndExpr(this)}exitRule(e){e instanceof v&&e.exitAndExpr(this)}}h.AndExprContext=$0;class we extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class D0 extends we{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof v&&t.enterBooleanAtom(this)}exitRule(t){t instanceof v&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=D0;class F0 extends we{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterIdAtom(this)}exitRule(t){t instanceof v&&t.exitIdAtom(this)}}h.IdAtomContext=F0;class B0 extends we{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStringAtom(this)}exitRule(t){t instanceof v&&t.exitStringAtom(this)}}h.StringAtomContext=B0;class U0 extends we{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof v&&t.enterNilAtom(this)}exitRule(t){t instanceof v&&t.exitNilAtom(this)}}h.NilAtomContext=U0;class H0 extends we{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof v&&t.enterNumberAtom(this)}exitRule(t){t instanceof v&&t.exitNumberAtom(this)}}h.NumberAtomContext=H0;class Pr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Va,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParExpr(this)}exitRule(t){t instanceof v&&t.exitParExpr(this)}}class Va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(we,0)}expr(){return this.getTypedRuleContext(V,0)}inExpr(){return this.getTypedRuleContext(za,0)}enterRule(t){t instanceof v&&t.enterCondition(this)}exitRule(t){t instanceof v&&t.exitCondition(this)}}class za extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof v&&e.enterInExpr(this)}exitRule(e){e instanceof v&&e.exitInExpr(this)}}h.ProgContext=C0,h.TitleContext=xa,h.HeadContext=ma,h.GroupContext=js,h.StarterExpContext=_a,h.StarterContext=La,h.ParticipantContext=Hn,h.StereotypeContext=va,h.LabelContext=ya,h.ParticipantTypeContext=Ca,h.NameContext=Gn,h.WidthContext=Ea,h.BlockContext=Vs,h.RetContext=ba,h.DividerContext=wa,h.DividerNoteContext=Ta,h.StatContext=zs,h.ParContext=Aa,h.OptContext=Sa,h.CreationContext=Zs,h.CreationBodyContext=Ra,h.MessageContext=ka,h.MessageBodyContext=Oa,h.FuncContext=qs,h.FromContext=Ws,h.ToContext=Ir,h.SignatureContext=Ks,h.InvocationContext=Ys,h.AssignmentContext=Mr,h.AsyncMessageContext=Xs,h.ContentContext=Na,h.ConstructContext=Ia,h.TypeContext=Qs,h.AssigneeContext=Ma,h.MethodNameContext=Pa,h.ParametersContext=Js,h.ParameterContext=ti,h.DeclarationContext=$a,h.TcfContext=Da,h.TryBlockContext=Fa,h.CatchBlockContext=ei,h.FinallyBlockContext=Ba,h.AltContext=Ua,h.IfBlockContext=Ha,h.ElseIfBlockContext=ni,h.ElseBlockContext=Ga,h.BraceBlockContext=ee,h.LoopContext=ja,h.ExprContext=V,h.AtomContext=we,h.ParExprContext=Pr,h.ConditionContext=Va,h.InExprContext=za;function I5(){this.__data__=[],this.size=0}var M5=I5;function P5(n,t){return n===t||n!==n&&t!==t}var ri=P5,$5=ri;function D5(n,t){for(var e=n.length;e--;)if($5(n[e][0],t))return e;return-1}var si=D5,F5=si,B5=Array.prototype,U5=B5.splice;function H5(n){var t=this.__data__,e=F5(t,n);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():U5.call(t,e,1),--this.size,!0}var G5=H5,j5=si;function V5(n){var t=this.__data__,e=j5(t,n);return e<0?void 0:t[e][1]}var z5=V5,Z5=si;function q5(n){return Z5(this.__data__,n)>-1}var W5=q5,K5=si;function Y5(n,t){var e=this.__data__,r=K5(e,n);return r<0?(++this.size,e.push([n,t])):e[r][1]=t,this}var X5=Y5,Q5=M5,J5=G5,tp=z5,ep=W5,np=X5;function jn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}jn.prototype.clear=Q5,jn.prototype.delete=J5,jn.prototype.get=tp,jn.prototype.has=ep,jn.prototype.set=np;var ii=jn,rp=ii;function sp(){this.__data__=new rp,this.size=0}var ip=sp;function op(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var ap=op;function lp(n){return this.__data__.get(n)}var cp=lp;function up(n){return this.__data__.has(n)}var hp=up,fp=pn,dp=fp.Symbol,G0=dp,j0=G0,V0=Object.prototype,pp=V0.hasOwnProperty,gp=V0.toString,$r=j0?j0.toStringTag:void 0;function xp(n){var t=pp.call(n,$r),e=n[$r];try{n[$r]=void 0;var r=!0}catch{}var s=gp.call(n);return r&&(t?n[$r]=e:delete n[$r]),s}var mp=xp,_p=Object.prototype,Lp=_p.toString;function vp(n){return Lp.call(n)}var yp=vp,z0=G0,Cp=mp,Ep=yp,bp="[object Null]",wp="[object Undefined]",Z0=z0?z0.toStringTag:void 0;function Tp(n){return n==null?n===void 0?wp:bp:Z0&&Z0 in Object(n)?Cp(n):Ep(n)}var oi=Tp;function Ap(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var _n=Ap,Sp=oi,Rp=_n,kp="[object AsyncFunction]",Op="[object Function]",Np="[object GeneratorFunction]",Ip="[object Proxy]";function Mp(n){if(!Rp(n))return!1;var t=Sp(n);return t==Op||t==Np||t==kp||t==Ip}var Za=Mp,Pp=pn,$p=Pp["__core-js_shared__"],Dp=$p,qa=Dp,q0=function(){var n=/[^.]+$/.exec(qa&&qa.keys&&qa.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function Fp(n){return!!q0&&q0 in n}var Bp=Fp,Up=Function.prototype,Hp=Up.toString;function Gp(n){if(n!=null){try{return Hp.call(n)}catch{}try{return n+""}catch{}}return""}var jp=Gp,Vp=Za,zp=Bp,Zp=_n,qp=jp,Wp=/[\\^$.*+?()[\]{}|]/g,Kp=/^\[object .+?Constructor\]$/,Yp=Function.prototype,Xp=Object.prototype,Qp=Yp.toString,Jp=Xp.hasOwnProperty,t9=RegExp("^"+Qp.call(Jp).replace(Wp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function e9(n){if(!Zp(n)||zp(n))return!1;var t=Vp(n)?t9:Kp;return t.test(qp(n))}var n9=e9;function r9(n,t){return n==null?void 0:n[t]}var s9=r9,i9=n9,o9=s9;function a9(n,t){var e=o9(n,t);return i9(e)?e:void 0}var Wa=a9,l9=Wa,c9=pn,u9=l9(c9,"Map"),W0=u9,h9=Wa,f9=h9(Object,"create"),ai=f9,K0=ai;function d9(){this.__data__=K0?K0(null):{},this.size=0}var p9=d9;function g9(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var x9=g9,m9=ai,_9="__lodash_hash_undefined__",L9=Object.prototype,v9=L9.hasOwnProperty;function y9(n){var t=this.__data__;if(m9){var e=t[n];return e===_9?void 0:e}return v9.call(t,n)?t[n]:void 0}var C9=y9,E9=ai,b9=Object.prototype,w9=b9.hasOwnProperty;function T9(n){var t=this.__data__;return E9?t[n]!==void 0:w9.call(t,n)}var A9=T9,S9=ai,R9="__lodash_hash_undefined__";function k9(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=S9&&t===void 0?R9:t,this}var O9=k9,N9=p9,I9=x9,M9=C9,P9=A9,$9=O9;function Vn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}Vn.prototype.clear=N9,Vn.prototype.delete=I9,Vn.prototype.get=M9,Vn.prototype.has=P9,Vn.prototype.set=$9;var D9=Vn,Y0=D9,F9=ii,B9=W0;function U9(){this.size=0,this.__data__={hash:new Y0,map:new(B9||F9),string:new Y0}}var H9=U9;function G9(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var j9=G9,V9=j9;function z9(n,t){var e=n.__data__;return V9(t)?e[typeof t=="string"?"string":"hash"]:e.map}var li=z9,Z9=li;function q9(n){var t=Z9(this,n).delete(n);return this.size-=t?1:0,t}var W9=q9,K9=li;function Y9(n){return K9(this,n).get(n)}var X9=Y9,Q9=li;function J9(n){return Q9(this,n).has(n)}var t6=J9,e6=li;function n6(n,t){var e=e6(this,n),r=e.size;return e.set(n,t),this.size+=e.size==r?0:1,this}var r6=n6,s6=H9,i6=W9,o6=X9,a6=t6,l6=r6;function zn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}zn.prototype.clear=s6,zn.prototype.delete=i6,zn.prototype.get=o6,zn.prototype.has=a6,zn.prototype.set=l6;var c6=zn,u6=ii,h6=W0,f6=c6,d6=200;function p6(n,t){var e=this.__data__;if(e instanceof u6){var r=e.__data__;if(!h6||r.length<d6-1)return r.push([n,t]),this.size=++e.size,this;e=this.__data__=new f6(r)}return e.set(n,t),this.size=e.size,this}var g6=p6,x6=ii,m6=ip,_6=ap,L6=cp,v6=hp,y6=g6;function Zn(n){var t=this.__data__=new x6(n);this.size=t.size}Zn.prototype.clear=m6,Zn.prototype.delete=_6,Zn.prototype.get=L6,Zn.prototype.has=v6,Zn.prototype.set=y6;var C6=Zn,E6=Wa,b6=function(){try{var n=E6(Object,"defineProperty");return n({},"",{}),n}catch{}}(),X0=b6,Q0=X0;function w6(n,t,e){t=="__proto__"&&Q0?Q0(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Ka=w6,T6=Ka,A6=ri;function S6(n,t,e){(e!==void 0&&!A6(n[t],e)||e===void 0&&!(t in n))&&T6(n,t,e)}var J0=S6;function R6(n){return function(t,e,r){for(var s=-1,i=Object(t),o=r(t),a=o.length;a--;){var l=o[n?a:++s];if(e(i[l],l,i)===!1)break}return t}}var k6=R6,O6=k6,N6=O6(),I6=N6,Ya={exports:{}};(function(n,t){var e=pn,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Ya,Ya.exports);var M6=pn,P6=M6.Uint8Array,$6=P6,tu=$6;function D6(n){var t=new n.constructor(n.byteLength);return new tu(t).set(new tu(n)),t}var F6=D6,B6=F6;function U6(n,t){var e=t?B6(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var H6=U6;function G6(n,t){var e=-1,r=n.length;for(t||(t=Array(r));++e<r;)t[e]=n[e];return t}var j6=G6,V6=_n,eu=Object.create,z6=function(){function n(){}return function(t){if(!V6(t))return{};if(eu)return eu(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),Z6=z6;function q6(n,t){return function(e){return n(t(e))}}var W6=q6,K6=W6,Y6=K6(Object.getPrototypeOf,Object),nu=Y6,X6=Object.prototype;function Q6(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||X6;return n===e}var ru=Q6,J6=Z6,t8=nu,e8=ru;function n8(n){return typeof n.constructor=="function"&&!e8(n)?J6(t8(n)):{}}var r8=n8;function s8(n){return n!=null&&typeof n=="object"}var Dr=s8,i8=oi,o8=Dr,a8="[object Arguments]";function l8(n){return o8(n)&&i8(n)==a8}var c8=l8,su=c8,u8=Dr,iu=Object.prototype,h8=iu.hasOwnProperty,f8=iu.propertyIsEnumerable,d8=su(function(){return arguments}())?su:function(n){return u8(n)&&h8.call(n,"callee")&&!f8.call(n,"callee")},ou=d8,p8=Array.isArray,au=p8,g8=9007199254740991;function x8(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=g8}var lu=x8,m8=Za,_8=lu;function L8(n){return n!=null&&_8(n.length)&&!m8(n)}var Xa=L8,v8=Xa,y8=Dr;function C8(n){return y8(n)&&v8(n)}var E8=C8,ci={exports:{}};function b8(){return!1}var w8=b8;(function(n,t){var e=pn,r=w8,s=t&&!t.nodeType&&t,i=s&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===s,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||r;n.exports=c})(ci,ci.exports);var T8=oi,A8=nu,S8=Dr,R8="[object Object]",k8=Function.prototype,O8=Object.prototype,cu=k8.toString,N8=O8.hasOwnProperty,I8=cu.call(Object);function M8(n){if(!S8(n)||T8(n)!=R8)return!1;var t=A8(n);if(t===null)return!0;var e=N8.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&cu.call(e)==I8}var P8=M8,$8=oi,D8=lu,F8=Dr,B8="[object Arguments]",U8="[object Array]",H8="[object Boolean]",G8="[object Date]",j8="[object Error]",V8="[object Function]",z8="[object Map]",Z8="[object Number]",q8="[object Object]",W8="[object RegExp]",K8="[object Set]",Y8="[object String]",X8="[object WeakMap]",Q8="[object ArrayBuffer]",J8="[object DataView]",t7="[object Float32Array]",e7="[object Float64Array]",n7="[object Int8Array]",r7="[object Int16Array]",s7="[object Int32Array]",i7="[object Uint8Array]",o7="[object Uint8ClampedArray]",a7="[object Uint16Array]",l7="[object Uint32Array]",ft={};ft[t7]=ft[e7]=ft[n7]=ft[r7]=ft[s7]=ft[i7]=ft[o7]=ft[a7]=ft[l7]=!0,ft[B8]=ft[U8]=ft[Q8]=ft[H8]=ft[J8]=ft[G8]=ft[j8]=ft[V8]=ft[z8]=ft[Z8]=ft[q8]=ft[W8]=ft[K8]=ft[Y8]=ft[X8]=!1;function c7(n){return F8(n)&&D8(n.length)&&!!ft[$8(n)]}var u7=c7;function h7(n){return function(t){return n(t)}}var f7=h7,Qa={exports:{}};(function(n,t){var e=Yc,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i&&e.process,a=function(){try{var l=s&&s.require&&s.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(Qa,Qa.exports);var d7=u7,p7=f7,uu=Qa.exports,hu=uu&&uu.isTypedArray,g7=hu?p7(hu):d7,fu=g7;function x7(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var du=x7,m7=Ka,_7=ri,L7=Object.prototype,v7=L7.hasOwnProperty;function y7(n,t,e){var r=n[t];(!(v7.call(n,t)&&_7(r,e))||e===void 0&&!(t in n))&&m7(n,t,e)}var C7=y7,E7=C7,b7=Ka;function w7(n,t,e,r){var s=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=r?r(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),s?b7(e,a,l):E7(e,a,l)}return e}var T7=w7;function A7(n,t){for(var e=-1,r=Array(n);++e<n;)r[e]=t(e);return r}var S7=A7,R7=9007199254740991,k7=/^(?:0|[1-9]\d*)$/;function O7(n,t){var e=typeof n;return t=t??R7,!!t&&(e=="number"||e!="symbol"&&k7.test(n))&&n>-1&&n%1==0&&n<t}var pu=O7,N7=S7,I7=ou,M7=au,P7=ci.exports,$7=pu,D7=fu,F7=Object.prototype,B7=F7.hasOwnProperty;function U7(n,t){var e=M7(n),r=!e&&I7(n),s=!e&&!r&&P7(n),i=!e&&!r&&!s&&D7(n),o=e||r||s||i,a=o?N7(n.length,String):[],l=a.length;for(var c in n)(t||B7.call(n,c))&&!(o&&(c=="length"||s&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||$7(c,l)))&&a.push(c);return a}var H7=U7;function G7(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var j7=G7,V7=_n,z7=ru,Z7=j7,q7=Object.prototype,W7=q7.hasOwnProperty;function K7(n){if(!V7(n))return Z7(n);var t=z7(n),e=[];for(var r in n)r=="constructor"&&(t||!W7.call(n,r))||e.push(r);return e}var Y7=K7,X7=H7,Q7=Y7,J7=Xa;function tg(n){return J7(n)?X7(n,!0):Q7(n)}var gu=tg,eg=T7,ng=gu;function rg(n){return eg(n,ng(n))}var sg=rg,xu=J0,ig=Ya.exports,og=H6,ag=j6,lg=r8,mu=ou,_u=au,cg=E8,ug=ci.exports,hg=Za,fg=_n,dg=P8,pg=fu,Lu=du,gg=sg;function xg(n,t,e,r,s,i,o){var a=Lu(n,e),l=Lu(t,e),c=o.get(l);if(c){xu(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=_u(l),p=!d&&ug(l),w=!d&&!p&&pg(l);u=l,d||p||w?_u(a)?u=a:cg(a)?u=ag(a):p?(f=!1,u=ig(l,!0)):w?(f=!1,u=og(l,!0)):u=[]:dg(l)||mu(l)?(u=a,mu(a)?u=gg(a):(!fg(a)||hg(a))&&(u=lg(l))):f=!1}f&&(o.set(l,u),s(u,l,r,i,o),o.delete(l)),xu(n,e,u)}var mg=xg,_g=C6,Lg=J0,vg=I6,yg=mg,Cg=_n,Eg=gu,bg=du;function vu(n,t,e,r,s){n!==t&&vg(t,function(i,o){if(s||(s=new _g),Cg(i))yg(n,t,o,e,vu,r,s);else{var a=r?r(bg(n,o),i,o+"",n,t,s):void 0;a===void 0&&(a=i),Lg(n,o,a)}},Eg)}var wg=vu;function Tg(n){return n}var yu=Tg;function Ag(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Sg=Ag,Rg=Sg,Cu=Math.max;function kg(n,t,e){return t=Cu(t===void 0?n.length-1:t,0),function(){for(var r=arguments,s=-1,i=Cu(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=e(o),Rg(n,this,a)}}var Og=kg;function Ng(n){return function(){return n}}var Ig=Ng,Mg=Ig,Eu=X0,Pg=yu,$g=Eu?function(n,t){return Eu(n,"toString",{configurable:!0,enumerable:!1,value:Mg(t),writable:!0})}:Pg,Dg=$g,Fg=800,Bg=16,Ug=Date.now;function Hg(n){var t=0,e=0;return function(){var r=Ug(),s=Bg-(r-e);if(e=r,s>0){if(++t>=Fg)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var Gg=Hg,jg=Dg,Vg=Gg,zg=Vg(jg),Zg=zg,qg=yu,Wg=Og,Kg=Zg;function Yg(n,t){return Kg(Wg(n,t,qg),n+"")}var Xg=Yg,Qg=ri,Jg=Xa,tx=pu,ex=_n;function nx(n,t,e){if(!ex(e))return!1;var r=typeof t;return(r=="number"?Jg(e)&&tx(t,e.length):r=="string"&&t in e)?Qg(e[t],n):!1}var rx=nx,sx=Xg,ix=rx;function ox(n){return sx(function(t,e){var r=-1,s=e.length,i=s>1?e[s-1]:void 0,o=s>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(s--,i):void 0,o&&ix(e[0],e[1],o)&&(i=s<3?void 0:i,s=1),t=Object(t);++r<s;){var a=e[r];a&&n(t,a,r,i)}return t})}var ax=ox,lx=wg,cx=ax,ux=cx(function(n,t,e,r){lx(n,t,e,r)}),hx=ux;let fx=class{constructor(t,e,r,s,i,o,a,l,c,u){this.name=t,this.stereotype=r,this.width=s,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}},dx=class{constructor(){this.participants=new Map}Add(t,e,r,s,i,o,a,l,c,u){const f=new fx(t,e,r,s,i,o,a,l,c,u);this.participants.set(t,hx({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}};const px=h.ProgContext;let Pe,Ln=!1,Ja;const Zt=new v;let gx=function(n){var c,u,f,d,p,w,I;if(Ln)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",r=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),s=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((w=(p=n.label())==null?void 0:p.name())==null?void 0:w.getFormattedText()),o=!0,a=(I=n.COLOR())==null?void 0:I.getText(),l=n.getComment();Pe.Add(e,!1,r,s,Ja,i,o,t,a,l)};Zt.enterParticipant=gx;let bu=function(n){if(Ln)return;let t=n.getFormattedText();Pe.Add(t)};Zt.enterFrom=bu,Zt.enterTo=bu,Zt.enterStarter=function(n){let t=n.getFormattedText();Pe.Add(t,!0)},Zt.enterCreation=function(n){if(Ln)return;const t=n.Owner();Pe.Add(t)},Zt.enterParameters=function(){Ln=!0},Zt.exitParameters=function(){Ln=!1},Zt.enterCondition=function(){Ln=!0},Zt.exitCondition=function(){Ln=!1},Zt.enterGroup=function(n){var t;Ja=(t=n.name())==null?void 0:t.getFormattedText()},Zt.exitGroup=function(){Ja=void 0},Zt.enterRet=function(n){n.asyncMessage()||(Pe.Add(n.From()),Pe.Add(n.ReturnTo()))};const xx=_.tree.ParseTreeWalker.DEFAULT;Zt.getParticipants=function(n,t){return Pe=new dx,t&&n instanceof px&&Pe.Add(n.Starter(),!0),xx.walk(this,n),Pe};const mx=_.tree.ParseTreeWalker.DEFAULT;var le=new v,It=0,ce=0;le.enterTcf=function(){It++},le.enterOpt=function(){It++},le.enterPar=function(){It++},le.enterAlt=function(){It++},le.enterLoop=function(){It++},le.exitTcf=function(){ce=Math.max(ce,It),It--},le.exitOpt=function(){ce=Math.max(ce,It),It--},le.exitPar=function(){ce=Math.max(ce,It),It--},le.exitAlt=function(){ce=Math.max(ce,It),It--},le.exitLoop=function(){ce=Math.max(ce,It),It--},le.depth=function(n){return function(t){return It=0,ce=0,t.children.map(function(e){mx.walk(n,e)}),ce}};const _x=h.TitleContext;_x.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const wu=h,t1=wu.CreationContext;t1.prototype.Body=t1.prototype.creationBody,t1.prototype.isCurrent=function(n){return Tu.bind(this)(n)};const e1=wu.MessageContext;e1.prototype.Body=e1.prototype.messageBody,e1.prototype.isCurrent=function(n){return Tu.bind(this)(n)};function Tu(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const n1=h,ui=n1.CreationContext,r1=n1.MessageContext,Au=n1.AsyncMessageContext;ui.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},ui.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},ui.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},r1.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},r1.prototype.Owner=function(){return this.To()||Su(this.parentCtx)};function Su(n){for(;n;){if(n instanceof ui||n instanceof r1)return n.Owner();n=n.parentCtx}}Au.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},Au.prototype.Owner=function(){return this.To()||Su(this.parentCtx)};const Lx=h.ProgContext;Lx.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,w,I,q;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,r;const s=(l=this.block())==null?void 0:l.stat();if(s&&s[0]){const $=(f=(u=(c=s[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),j=(p=(d=s[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=$||j}else{const $=(w=this.head())==null?void 0:w.children;if($&&$[0]){const j=$[0];if(j instanceof h.ParticipantContext&&(e=(I=j.name())==null?void 0:I.getFormattedText()),j instanceof h.GroupContext){const ot=j.participant();ot&&ot[0]&&(r=(q=ot[0].name())==null?void 0:q.getFormattedText())}}}return n||t||e||r||"_STARTER_"};const hi=h,vx=hi.RetContext,Ru=hi.ProgContext,ku=hi.MessageContext,yx=hi.CreationContext;vx.prototype.ReturnTo=function(){var r,s;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof Ru)return e.Starter();{let i=e;for(;i&&!(i instanceof ku)&&!(i instanceof yx);){if(i instanceof Ru)return i.Starter();i=i.parentCtx}return i instanceof ku&&((s=(r=i.messageBody())==null?void 0:r.from())==null?void 0:s.getFormattedText())||i.ClosestAncestorStat().Origin()}};const Cx=h.StatContext,Ex=h.ProgContext,bx=h.MessageContext,wx=h.CreationContext;Cx.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Ex)return n.Starter();if(n instanceof bx||n instanceof wx){const t=n.Owner();if(t)return t}n=n.parentCtx}};const Tx=h.DividerContext;Tx.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const s1=h,Ax=s1.MessageContext,Sx=s1.AsyncMessageContext,Rx=s1.CreationContext;Ax.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(r=>r==null?void 0:r.getFormattedText()).join(".")},Sx.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},Rx.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"«"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"»"};const kx=h.MessageContext;class Ox{constructor(t,e){if(e&&!t)throw new Error("assignee must be defined if type is defined");this.assignee=t||"",this.type=e||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}kx.prototype.Assignment=function(){var r,s;let n=this.messageBody().assignment();const t=(r=n==null?void 0:n.assignee())==null?void 0:r.getFormattedText(),e=(s=n==null?void 0:n.type())==null?void 0:s.getFormattedText();if(t)return new Ox(t,e)};const Fr=h,Nx=Fr.CreationContext,Ix=Fr.StatContext,Ou=Fr.MessageContext,Mx=Fr.AsyncMessageContext,Px=Fr.RetContext;Nx.prototype.From=function(){if(this.parentCtx instanceof Ix)return this.ClosestAncestorStat().Origin()},Ou.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},Ou.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Mx.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},Px.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Nu=h,Iu=Nu.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof Iu);)n=n.parentCtx;if(n instanceof Iu)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof Nu.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function $x(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,s){return t.apply(this,arguments)};case 4:return function(e,r,s,i){return t.apply(this,arguments)};case 5:return function(e,r,s,i,o){return t.apply(this,arguments)};case 6:return function(e,r,s,i,o,a){return t.apply(this,arguments)};case 7:return function(e,r,s,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,r,s,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,r,s,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,r,s,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Mu=$x;function Dx(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var Fx=Dx;function Bx(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var i1=Bx,Ux=i1;function Hx(n){return function t(e){return arguments.length===0||Ux(e)?t:n.apply(this,arguments)}}var fi=Hx,o1=fi,Br=i1;function Gx(n){return function t(e,r){switch(arguments.length){case 0:return t;case 1:return Br(e)?t:o1(function(s){return n(e,s)});default:return Br(e)&&Br(r)?t:Br(e)?o1(function(s){return n(s,r)}):Br(r)?o1(function(s){return n(e,s)}):n(e,r)}}}var Pu=Gx,di=fi,qn=Pu,Rt=i1;function jx(n){return function t(e,r,s){switch(arguments.length){case 0:return t;case 1:return Rt(e)?t:qn(function(i,o){return n(e,i,o)});case 2:return Rt(e)&&Rt(r)?t:Rt(e)?qn(function(i,o){return n(i,r,o)}):Rt(r)?qn(function(i,o){return n(e,i,o)}):di(function(i){return n(e,r,i)});default:return Rt(e)&&Rt(r)&&Rt(s)?t:Rt(e)&&Rt(r)?qn(function(i,o){return n(i,o,s)}):Rt(e)&&Rt(s)?qn(function(i,o){return n(i,r,o)}):Rt(r)&&Rt(s)?qn(function(i,o){return n(e,i,o)}):Rt(e)?di(function(i){return n(i,r,s)}):Rt(r)?di(function(i){return n(e,i,s)}):Rt(s)?di(function(i){return n(e,r,i)}):n(e,r,s)}}}var a1=jx,$u=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function Vx(n){return Object.prototype.toString.call(n)==="[object String]"}var zx=Vx,Zx=fi,qx=$u,Wx=zx,Kx=Zx(function(t){return qx(t)?!0:!t||typeof t!="object"||Wx(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Yx=Kx,Xx=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function Qx(n){return new Xx(n)}var Jx=Qx,tm=Mu,em=Pu,nm=em(function(t,e){return tm(t.length,function(){return t.apply(e,arguments)})}),rm=nm,sm=Yx,im=Jx,om=rm;function am(n,t,e){for(var r=0,s=e.length;r<s;){if(t=n["@@transducer/step"](t,e[r]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return n["@@transducer/result"](t)}function Du(n,t,e){for(var r=e.next();!r.done;){if(t=n["@@transducer/step"](t,r.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=e.next()}return n["@@transducer/result"](t)}function Fu(n,t,e,r){return n["@@transducer/result"](e[r](om(n["@@transducer/step"],n),t))}var Bu=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function lm(n,t,e){if(typeof n=="function"&&(n=im(n)),sm(e))return am(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return Fu(n,t,e,"fantasy-land/reduce");if(e[Bu]!=null)return Du(n,t,e[Bu]());if(typeof e.next=="function")return Du(n,t,e);if(typeof e.reduce=="function")return Fu(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var cm=lm,um=a1,hm=cm,fm=um(hm),dm=fm,pm=$u;function gm(n,t){return function(){var e=arguments.length;if(e===0)return t();var r=arguments[e-1];return pm(r)||typeof r[n]!="function"?t.apply(this,arguments):r[n].apply(r,Array.prototype.slice.call(arguments,0,e-1))}}var Uu=gm,xm=Uu,mm=a1,_m=mm(xm("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),Lm=_m,vm=Uu,ym=fi,Cm=Lm,Em=ym(vm("tail",Cm(1,1/0))),bm=Em,wm=Mu,Tm=Fx,Am=dm,Sm=bm;function Rm(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return wm(arguments[0].length,Am(Tm,arguments[0],Sm(arguments)))}var km=Rm;const Om=km;var Nm=a1,Im=Nm(function(t,e,r){return r.replace(t,e)}),Mm=Im;const Ur=Mm,Pm=Ur(/[\n\r]/g," "),$m=Ur(/\s+/g," "),Dm=Ur(/\s*([,;.()])\s*/g,"$1"),Fm=Ur(/\s+$/g,""),Bm=Ur(/^"(.*)"$/,"$1"),Um=Om(Pm,$m,Dm,Fm,Bm);class Hm extends _.error.ErrorListener{syntaxError(t,e,r,s,i){}}function Gm(n){const t=new _.InputStream(n),e=new A(t),r=new _.CommonTokenStream(e),s=new h(r);return s.addErrorListener(new Hm),s._syntaxErrors?null:s.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return Um(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=A.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(r=>r.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const jm=h.ProgContext,Vm=Gm,Hu=h.GroupContext,Gu=h.ParticipantContext,ju=function(n){const t=le;return t.depth(t)(n)},pi=function(n,t){return Zt.getParticipants(n,t)};function gi(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const s=document.createElement("div");s.className="textarea-hidden-div ",s.style.fontSize="13px",s.style.fontFamily="Helvetica, Verdana, serif",s.style.display="inline",s.style.whiteSpace="nowrap",s.style.visibility="hidden",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.overflow="hidden",s.style.width="0px",s.style.paddingLeft="20px",s.style.paddingRight="20px",s.style.margin="0px",s.style.border="0px",document.body.appendChild(s),e=s}return e.innerHTML=n,e.scrollWidth}const zm=100,Vu=20,zu=10,Zm=100;var Wn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Wn||{});const qm=h;class l1 extends v{constructor(){super(...arguments),this.explicitParticipants=[],this.starter="",this.implicitParticipants=[],this.isBlind=!1}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(t){this.starter=t.getFormattedText()}enterParticipant(t){var i,o,a;const e=((i=t==null?void 0:t.name())==null?void 0:i.getFormattedText())||"Missing `Participant` name",r=(a=(o=t.label())==null?void 0:o.name())==null?void 0:a.getFormattedText(),s={name:e,label:r,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(t.ClosestAncestorBlock().parentCtx instanceof qm.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]){this.starter=e;return}this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}enterCreation(t){if(this.isBlind)return;const e=t==null?void 0:t.Owner();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),l1._assignLeft(t),t}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(t=>t.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(t){return t.filter((e,r)=>t.findIndex(s=>s.name===e.name)===r)}static _assignLeft(t){t.reduce((e,r)=>(r.left=e.name||"",r),{name:"",left:""})}}function Wm(n){const t=new l1;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function xi(n,t){return{position:n,velocity:t}}function Zu(n,t){return xi(n.position+t.position,n.velocity+t.velocity)}const qu=Math.sqrt(Number.EPSILON);function Km(n,t){let e=n.position-t.position;return e<-qu||Math.abs(e)<=qu&&n.velocity<t.velocity}function Ym(){return{delta:1/0,dualLessThan:function(n,t){let e=Km(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function Xm(n,t){let e=Array();for(let r=0;r<n;r++){e.push([]);for(let s=0;s<r;s++)t[s][r]>0&&e[r].push({i:s,length:xi(t[s][r],0)})}return e}function Qm(n,t){let e=Ym(),r=xi(0,0),s=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(r=Zu(r,t[i-1]));for(let a of n[i]){let l=Zu(s[a.i].maximum,a.length);e.dualLessThan(r,l)&&(o=a.i,r=l)}s.push({argument:o,maximum:r})}return[e.delta,s]}function Jm(n,t,e){let r=n.length-1;for(;r>0;){let s=n[r].argument;s!==null?r=s:(r--,e[r].velocity=0)}}function t_(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function e_(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function n_(n){const t=n.length;let e=Xm(t,n),r=[];for(let s=1;s<t;s++)r.push(xi(0,1));for(;;){let[s,i]=Qm(e,r);if(s==1/0)return e_(i);i[t-1].maximum.velocity>0?Jm(i,e,r):t_(r,s)}}var Hr=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(Hr||{});class r_ extends v{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(Hr.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(Hr.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(Hr.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let r=e.From();const s=e==null?void 0:e.Owner(),i=e==null?void 0:e.SignatureText();this.ownableMessages.push({from:r,signature:i,type:t,to:s})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function s_(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new r_;return t.walk(e,n),e.result()}class Kn{constructor(t,e){this.m=[],this.participantModels=Wm(t),this.ownableMessages=s_(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex(r=>r.name===t);if(e===-1)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+n_(this.m)[e]+zu}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(r=>{const s=e.findIndex(l=>l.name===r.from),i=e.findIndex(l=>l.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}let o=Math.min(s,i),a=Math.max(s,i);try{let l=this.getMessageWidth(r);this.m[o][a]=Math.max(l+zu,this.m[o][a])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(t){const e=Kn.half(this.widthProvider,t.to);let r=this.widthProvider(t.signature,Wn.MessageContent);return t.type===Hr.CreationMessage&&(r+=e),r}withParticipantGaps(t){this.m=t.map((e,r)=>t.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const r=Kn.half(this.widthProvider,e),s=Kn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&r||0)+(o&&s||0)}labelOrName(t){const e=this.participantModels.findIndex(r=>r.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return Vu/2;const r=this.halfWithMargin(t,e);return Math.max(r,zm/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+Vu/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Wn.ParticipantName),Zm)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+Kn.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}let Wu=0;setTimeout(function(){Wu||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Ku=()=>(Wu=Z4(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>Vm(n.code),title:(n,t)=>{var e,r;return(r=(e=t.rootContext)==null?void 0:e.title())==null?void 0:r.content()},participants:(n,t)=>pi(t.rootContext,!0),coordinates:(n,t)=>new Kn(t.rootContext,gi),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(r){return console.error(r),0}},GroupContext:()=>Hu,ParticipantContext:()=>Gu,cursor:n=>n.cursor,distance:(n,t)=>(e,r)=>t.centerOf(e)-t.centerOf(r),distance2:(n,t)=>(e,r)=>!e||!r?0:t.centerOf(r)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1});var i_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("div",{staticClass:"tooltip bottom whitespace-normal",attrs:{"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."}},[e("svg",{staticClass:"fill-current h-6 w-6 m-auto",attrs:{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"}},[e("path",{attrs:{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}}),e("path",{attrs:{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"}})])])])},o_=[];const Cb="";function tt(n,t,e,r,s,i,o,a){var l=typeof n=="function"?n.options:n;t&&(l.render=t,l.staticRenderFns=e,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i);var c;if(o?(c=function(d){d=d||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!d&&typeof __VUE_SSR_CONTEXT__<"u"&&(d=__VUE_SSR_CONTEXT__),s&&s.call(this,d),d&&d._registeredComponents&&d._registeredComponents.add(o)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(p,w){return c.call(w),u(p,w)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:n,options:l}}const a_={name:"Privacy"},Yu={};var l_=tt(a_,i_,o_,!1,c_,"384a6fbc",null,null);function c_(n){for(let t in Yu)this[t]=Yu[t]}const u_=function(){return l_.exports}();var h_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"title text-skin-title text-base font-semibold"},[n._v(n._s(n.title))])},f_=[];const d_={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},Xu={};var p_=tt(d_,h_,f_,!1,g_,null,null,null);function g_(n){for(let t in Xu)this[t]=Xu[t]}const x_=function(){return p_.exports}();var c1={exports:{}},m_={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Qu={exports:{}},__=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},L_=__,v_=Array.prototype.concat,y_=Array.prototype.slice,Ju=Qu.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var i=t[r];L_(i)?e=v_.call(e,y_.call(i)):e.push(i)}return e};Ju.wrap=function(n){return function(){return n(Ju(arguments))}};var mi=m_,Gr=Qu.exports,th={};for(var u1 in mi)mi.hasOwnProperty(u1)&&(th[mi[u1]]=u1);var ne=c1.exports={to:{},get:{}};ne.get=function(n){var t=n.substring(0,3).toLowerCase(),e,r;switch(t){case"hsl":e=ne.get.hsl(n),r="hsl";break;case"hwb":e=ne.get.hwb(n),r="hwb";break;default:e=ne.get.rgb(n),r="rgb";break}return e?{model:r,value:e}:null},ne.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=mi[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Ye(o[l],0,255);return o[3]=Ye(o[3],0,1),o},ne.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])%360+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.to.hex=function(){var n=Gr(arguments);return"#"+_i(n[0])+_i(n[1])+_i(n[2])+(n[3]<1?_i(Math.round(n[3]*255)):"")},ne.to.rgb=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},ne.to.rgb.percent=function(){var n=Gr(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),r=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+r+"%)":"rgba("+t+"%, "+e+"%, "+r+"%, "+n[3]+")"},ne.to.hsl=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},ne.to.hwb=function(){var n=Gr(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},ne.to.keyword=function(n){return th[n.slice(0,3)]};function Ye(n,t,e){return Math.min(Math.max(t,n),e)}function _i(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function C_(n){const t=c1.exports.get.rgb(n);let[e,r,s]=t;return(e*299+r*587+s*114)/1e3}function E_(n){const t=c1.exports.get.rgb(n);let[e,r,s]=t;return`rgb(${e}, ${r}, ${s})`}const b_=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
|
+
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+We(t.predicates):e+"=>"+t.prediction.toString():e}}class g0 extends ca{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class f5{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new te,this.s0=null,this.precedenceDfa=!1,t instanceof gn&&t.isPrecedenceDecision){this.precedenceDfa=!0;const r=new Me(null,new Ut);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new te,t){const e=new Me(null,new Ut);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,r){return e.stateNumber-r.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new ca(this,t,e).toString()}toLexerString(){return this.s0===null?"":new g0(this).toString()}get states(){return this._states}}const d5={DFA:f5,DFASerializer:ca,LexerDFASerializer:g0,PredPrediction:p0};class x0{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class p5{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class ua{walk(t,e){if(e instanceof Ps||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof Ne)t.visitTerminal(e);else{this.enterRule(t,e);for(let s=0;s<e.getChildCount();s++){const i=e.getChild(s);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const r=e.getRuleContext();t.enterEveryRule(r),r.enterRule(t)}exitRule(t,e){const r=e.getRuleContext();r.exitRule(t),t.exitEveryRule(r)}}ua.DEFAULT=new ua;const g5={Trees:ye,RuleNode:Ms,ErrorNode:Ps,TerminalNode:Ne,ParseTreeListener:x0,ParseTreeVisitor:p5,ParseTreeWalker:ua};class Nr extends Ke{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class m0 extends Ke{constructor(t,e,r){super({message:x5(e,r||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof u0?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function x5(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class m5 extends Hs{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,r,s,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,r,s,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,r,s,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const r=e.decision,s=e.atnStartState.ruleIndex,i=t.ruleNames;if(s<0||s>=i.length)return""+r;const o=i[s]||null;return o===null||o.length===0?""+r:`${r} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const r=new Ee;for(let s=0;s<e.items.length;s++)r.add(e.items[s].alt);return`{${r.values().join(", ")}}`}}class ha extends Error{constructor(){super(),Error.captureStackTrace(this,ha)}}class _5{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class fa extends _5{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof la?this.reportNoViableAlternative(t,e):e instanceof Nr?this.reportInputMismatch(t,e):e instanceof m0?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const r=this.getErrorRecoverySet(t);this.consumeUntil(t,r)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],r=t.getTokenStream().LA(1),s=t.atn.nextTokens(e);if(s.contains(r)){this.nextTokensContext=null,this.nextTokenState=N.INVALID_STATE_NUMBER;return}else if(s.contains(b.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case N.BLOCK_START:case N.STAR_BLOCK_START:case N.PLUS_BLOCK_START:case N.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new Nr(t);case N.PLUS_LOOP_BACK:case N.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new ae;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const r=t.getTokenStream();let s;r!==null?e.startToken.type===b.EOF?s="<EOF>":s=r.getText(new J(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):s="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(s);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const r="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e.offendingToken,e)}reportFailedPredicate(t,e){const s="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(s,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r=this.getTokenErrorDisplay(e),s=this.getExpectedTokens(t),i="extraneous input "+r+" expecting "+s.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(s,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new Nr(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),r=t._interp.atn,i=r.states[t.state].transitions[0].target;return r.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const s=t.getCurrentToken();return this.reportMatch(t),s}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),s=this.getExpectedTokens(t).first();let i;s===b.EOF?i="<missing EOF>":i="<missing "+t.literalNames[s]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===b.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,s,i,b.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let r=t._ctx;const s=new ae;for(;r!==null&&r.invokingState>=0;){const o=e.states[r.invokingState].transitions[0],a=e.nextTokens(o.followState);s.addSet(a),r=r.parentCtx}return s.removeOne(b.EPSILON),s}consumeUntil(t,e){let r=t.getTokenStream().LA(1);for(;r!==b.EOF&&!e.contains(r);)t.consume(),r=t.getTokenStream().LA(1)}}class L5 extends fa{constructor(){super()}recover(t,e){let r=t._ctx;for(;r!==null;)r.exception=e,r=r.parentCtx;throw new ha(e)}recoverInline(t){this.recover(t,new Nr(t))}sync(t){}}const v5={RecognitionException:Ke,NoViableAltException:la,LexerNoViableAltException:aa,InputMismatchException:Nr,FailedPredicateException:m0,DiagnosticErrorListener:m5,BailErrorStrategy:L5,DefaultErrorStrategy:fa,ErrorListener:Hs};class mn{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r<this.strdata.length;){const s=this.strdata.codePointAt(r);this.data.push(s),r+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let r=0;r<this.strdata.length;r++){const s=this.strdata.charCodeAt(r);this.data[r]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?b.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let s=t;s<=e;s++)r+=String.fromCodePoint(this.data[s]);return r}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const da={},y5={fromString:function(n){return new mn(n,!0)},fromBlob:function(n,t,e,r){const s=new window.FileReader;s.onload=function(i){const o=new mn(i.target.result,!0);e(o)},s.onerror=r,s.readAsText(n,t)},fromBuffer:function(n,t){return new mn(n.toString(t),!0)},fromPath:function(n,t,e){da.readFile(n,t,function(r,s){let i=null;s!==null&&(i=new mn(s,!0)),e(r,i)})},fromPathSync:function(n,t){const e=da.readFileSync(n,t);return new mn(e,!0)}};class C5 extends mn{constructor(t,e){const r=da.readFileSync(t,"utf8");super(r,e),this.fileName=t}}class E5{}class b5 extends E5{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===b.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const r=this.tokenSource.nextToken();if(r.tokenIndex=this.tokens.length,this.tokens.push(r),r.type===b.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,r){if(r===void 0&&(r=null),t<0||e<0)return null;this.lazyInit();const s=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===b.EOF)break;(r===null||r.contains(o.type))&&s.push(o)}return s}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let r=this.tokens[t];for(;r.channel!==this.channel;){if(r.type===b.EOF)return-1;t+=1,this.sync(t),r=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.nextTokenOnChannel(t+1,_t.DEFAULT_TOKEN_CHANNEL),s=t+1,i=r===-1?this.tokens.length-1:r;return this.filterForChannel(s,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.previousTokenOnChannel(t-1,_t.DEFAULT_TOKEN_CHANNEL);if(r===t-1)return null;const s=r+1,i=t-1;return this.filterForChannel(s,i,e)}filterForChannel(t,e,r){const s=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];r===-1?o.channel!==_t.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===r&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new J(0,this.tokens.length-1));let e=t.start;e instanceof b&&(e=e.tokenIndex);let r=t.stop;if(r instanceof b&&(r=r.tokenIndex),e===null||r===null||e<0||r<0)return"";r>=this.tokens.length&&(r=this.tokens.length-1);let s="";for(let i=e;i<r+1;i++){const o=this.tokens[i];if(o.type===b.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class w5 extends b5{constructor(t,e){super(t),this.channel=e===void 0?b.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,r=1;for(;r<=t;)e=this.previousTokenOnChannel(e-1,this.channel),r+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,r=1;for(;r<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),r+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const r=this.tokens[e];if(r.channel===this.channel&&(t+=1),r.type===b.EOF)break}return t}}class T5 extends x0{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let _0=class extends Gs{constructor(t){super(),this._input=null,this._errHandler=new fa,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const r=new kr;r.generateRuleBypassTransitions=!0,e=new h0(r).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,r){e=e||null,r=r||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const s=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,s,i,t,r)}consume(){const t=this.getCurrentToken();t.type!==b.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let r;this._errHandler.inErrorRecoveryMode(this)?r=this._ctx.addErrorNode(t):r=this._ctx.addTokenNode(t),r.invokingState=this.state,e&&this._parseListeners.forEach(function(s){r instanceof Ps||r.isErrorNode!==void 0&&r.isErrorNode()?s.visitErrorNode(r):r instanceof Ne&&s.visitTerminal(r)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,r){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,r,s){this.state=e,this._precedenceStack.push(s),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,r){const s=this._ctx;s.parentCtx=t,s.invokingState=e,s.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,r=this.getParseListeners();if(r!==null&&r.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let r=this._ctx;const s=e.states[this.state];let i=e.nextTokens(s);if(i.contains(t))return!0;if(!i.contains(b.EPSILON))return!1;for(;r!==null&&r.invokingState>=0&&i.contains(b.EPSILON);){const a=e.states[r.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;r=r.parentCtx}return!!(i.contains(b.EPSILON)&&t===b.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const r=t.ruleIndex;r<0?e.push("n/a"):e.push(this.ruleNames[r]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const r=this._interp.decisionToDFA[e];r.states.length>0&&(t&&console.log(),this.printer.println("Decision "+r.decision+":"),this.printer.print(r.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new T5(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};_0.bypassAltsAtnCache={};class A5{constructor(){this.cache=new Sr}add(t){if(t===Z.EMPTY)return Z.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class L0 extends Ne{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return J.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new J(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===b.EOF?"<EOF>":this.symbol.text}}class v0 extends L0{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class y0 extends Pn{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof v0&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new L0(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new v0(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof e){if(t===0)return s;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof Ne&&s.symbol.type===t){if(e===0)return s;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof Ne&&s.symbol.type===t&&e.push(s)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof t&&e.push(s)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?J.INVALID_INTERVAL:new J(this.start.tokenIndex,this.stop.tokenIndex)}}Pn.EMPTY=new y0;const _={atn:h5,dfa:d5,tree:g5,error:v5,Token:b,CommonToken:xn,CharStreams:y5,InputStream:mn,FileStream:C5,CommonTokenStream:w5,Lexer:_t,Parser:_0,PredictionContextCache:A5,ParserRuleContext:y0,Interval:J,IntervalSet:ae,LL1Analyzer:$n,Utils:{arrayToString:We}},S5=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],pa=new _.atn.ATNDeserializer().deserialize(S5),R5=pa.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class A extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,pa,R5,new _.PredictionContextCache)}get atn(){return pa}}et(A,"grammarFileName","sequenceLexer.g4"),et(A,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),et(A,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),et(A,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(A,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(A,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),A.EOF=_.Token.EOF,A.WS=1,A.CONSTANT=2,A.READONLY=3,A.STATIC=4,A.AWAIT=5,A.TITLE=6,A.COL=7,A.SOPEN=8,A.SCLOSE=9,A.ARROW=10,A.COLOR=11,A.OR=12,A.AND=13,A.EQ=14,A.NEQ=15,A.GT=16,A.LT=17,A.GTEQ=18,A.LTEQ=19,A.PLUS=20,A.MINUS=21,A.MULT=22,A.DIV=23,A.MOD=24,A.POW=25,A.NOT=26,A.SCOL=27,A.COMMA=28,A.ASSIGN=29,A.OPAR=30,A.CPAR=31,A.OBRACE=32,A.CBRACE=33,A.TRUE=34,A.FALSE=35,A.NIL=36,A.IF=37,A.ELSE=38,A.WHILE=39,A.RETURN=40,A.NEW=41,A.PAR=42,A.GROUP=43,A.OPT=44,A.AS=45,A.TRY=46,A.CATCH=47,A.FINALLY=48,A.IN=49,A.STARTER_LXR=50,A.ANNOTATION_RET=51,A.ANNOTATION=52,A.DOT=53,A.ID=54,A.INT=55,A.FLOAT=56,A.STRING=57,A.CR=58,A.COMMENT=59,A.OTHER=60,A.DIVIDER=61,A.EVENT_PAYLOAD_LXR=62,A.EVENT_END=63,A.TITLE_CONTENT=64,A.TITLE_END=65,A.COMMENT_CHANNEL=2,A.MODIFIER_CHANNEL=3,A.EVENT=1,A.TITLE_MODE=2,A.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},A.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class v extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const k5=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],ga=new _.atn.ATNDeserializer().deserialize(k5),O5=ga.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),N5=new _.PredictionContextCache,m=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,ga,O5,N5),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return ga}sempred(t,e,r){switch(e){case 48:return this.expr_sempred(t,r);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new C0(this,this._ctx,this.state);this.enterRule(t,0,m.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,4,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,3,this._ctx);r===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}title(){let t=new xa(this,this._ctx,this.state);this.enterRule(t,2,m.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(m.TITLE_END))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}head(){let t=new ma(this,this._ctx,this.state);this.enterRule(t,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var r=1;do{switch(r){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,7,this._ctx)}while(r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,9,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;){if(r===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}group(){let t=new js(this,this._ctx,this.state);this.enterRule(t,6,m.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,15,this._ctx);switch(r){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||!(e-52&-32)&&1<<e-52&37;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,14,this._ctx);r===1&&(this.state=166,this.name());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starterExp(){let t=new _a(this,this._ctx,this.state);this.enterRule(t,8,m.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starter(){let t=new La(this,this._ctx,this.state);this.enterRule(t,10,m.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participant(){let t=new Hn(this,this._ctx,this.state);this.enterRule(t,12,m.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,24,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,21,this._ctx);r===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}stereotype(){let t=new va(this,this._ctx,this.state);this.enterRule(t,14,m.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,27,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}label(){let t=new ya(this,this._ctx,this.state);this.enterRule(t,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(m.AS);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participantType(){let t=new Ca(this,this._ctx,this.state);this.enterRule(t,18,m.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(m.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new Gn(this,this._ctx,this.state);this.enterRule(t,20,m.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}width(){let t=new Ea(this,this._ctx,this.state);this.enterRule(t,22,m.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(m.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new Vs(this,this._ctx,this.state);this.enterRule(t,24,m.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while(!(e-34&-32)&&1<<e-34&217191919)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ret(){let t=new ba(this,this._ctx,this.state);this.enterRule(t,26,m.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,30,this._ctx);r===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}divider(){let t=new wa(this,this._ctx,this.state);this.enterRule(t,28,m.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Ta(this,this._ctx,this.state);this.enterRule(t,30,m.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(m.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new zs(this,this._ctx,this.state);this.enterRule(t,32,m.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,35,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(m.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}par(){let t=new Aa(this,this._ctx,this.state);this.enterRule(t,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(m.PAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}opt(){let t=new Sa(this,this._ctx,this.state);this.enterRule(t,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(m.OPT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creation(){let t=new Zs(this,this._ctx,this.state);this.enterRule(t,38,m.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(m.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creationBody(){let t=new Ra(this,this._ctx,this.state);this.enterRule(t,40,m.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,43,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,41,this._ctx);r===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}message(){let t=new ka(this,this._ctx,this.state);this.enterRule(t,42,m.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new Oa(this,this._ctx,this.state);this.enterRule(t,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}func(){let t=new qs(this,this._ctx,this.state);this.enterRule(t,46,m.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}from(){let t=new Ws(this,this._ctx,this.state);this.enterRule(t,48,m.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}to(){let t=new Ir(this,this._ctx,this.state);this.enterRule(t,50,m.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}signature(){let t=new Ks(this,this._ctx,this.state);this.enterRule(t,52,m.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}invocation(){let t=new Ys(this,this._ctx,this.state);this.enterRule(t,54,m.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignment(){let t=new Mr(this,this._ctx,this.state);this.enterRule(t,56,m.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}asyncMessage(){let t=new Xs(this,this._ctx,this.state);this.enterRule(t,58,m.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,56,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,54,this._ctx);r===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,55,this._ctx);r===1&&(this.state=372,this.to());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}content(){let t=new Na(this,this._ctx,this.state);this.enterRule(t,60,m.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new Ia(this,this._ctx,this.state);this.enterRule(t,62,m.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}type(){let t=new Qs(this,this._ctx,this.state);this.enterRule(t,64,m.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignee(){let t=new Ma(this,this._ctx,this.state);this.enterRule(t,66,m.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,58,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(m.STRING);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}methodName(){let t=new Pa(this,this._ctx,this.state);this.enterRule(t,68,m.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameters(){let t=new Js(this,this._ctx,this.state);this.enterRule(t,70,m.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,59,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(m.COMMA))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameter(){let t=new ti(this,this._ctx,this.state);this.enterRule(t,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}declaration(){let t=new $a(this,this._ctx,this.state);this.enterRule(t,74,m.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Da(this,this._ctx,this.state);this.enterRule(t,76,m.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}tryBlock(){let t=new Fa(this,this._ctx,this.state);this.enterRule(t,78,m.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new ei(this,this._ctx,this.state);this.enterRule(t,80,m.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}finallyBlock(){let t=new Ba(this,this._ctx,this.state);this.enterRule(t,82,m.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ua(this,this._ctx,this.state);this.enterRule(t,84,m.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,65,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ifBlock(){let t=new Ha(this,this._ctx,this.state);this.enterRule(t,86,m.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new Ga(this,this._ctx,this.state);this.enterRule(t,90,m.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new ee(this,this._ctx,this.state);this.enterRule(t,92,m.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&217191919&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}loop(){let t=new ja(this,this._ctx,this.state);this.enterRule(t,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(m.WHILE);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,r=this.state;let s=new V(this,this._ctx,r),i=s;const o=96;this.enterRecursionRule(s,96,m.RULE_expr,t);var a=0;try{this.enterOuterAlt(s,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:s=new w0(this,s),this._ctx=s,i=s,this.state=475,this.atom();break;case 2:s=new O0(this,s),this._ctx=s,i=s,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:s=new k0(this,s),this._ctx=s,i=s,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:s=new b0(this,s),this._ctx=s,i=s,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:s=new N0(this,s),this._ctx=s,i=s,this.state=486,this.creation();break;case 6:s=new I0(this,s),this._ctx=s,i=s,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:s=new E0(this,s),this._ctx=s,i=s,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=s,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(s=new M0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&29360128?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(s=new A0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,s.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(s=new S0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&983040?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(s=new P0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,s.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(s=new $0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(s=new T0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(s=new R0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)s.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return s}atom(){let t=new we(this,this._ctx,this.state);this.enterRule(t,98,m.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new H0(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new D0(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new F0(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(m.ID);break;case 57:t=new B0(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(m.STRING);break;case 36:t=new U0(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(m.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parExpr(){let t=new Pr(this,this._ctx,this.state);this.enterRule(t,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(m.OPAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}condition(){let t=new Va(this,this._ctx,this.state);this.enterRule(t,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}inExpr(){let t=new za(this,this._ctx,this.state);this.enterRule(t,104,m.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=m;et(h,"grammarFileName","java-escape"),et(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;let C0=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(xa,0)}head(){return this.getTypedRuleContext(ma,0)}block(){return this.getTypedRuleContext(Vs,0)}enterRule(t){t instanceof v&&t.enterProg(this)}exitRule(t){t instanceof v&&t.exitProg(this)}},xa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof v&&t.enterTitle(this)}exitRule(t){t instanceof v&&t.exitTitle(this)}};class ma extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(js):this.getTypedRuleContext(js,e)});et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(_a,0)}enterRule(e){e instanceof v&&e.enterHead(this)}exitRule(e){e instanceof v&&e.exitHead(this)}}let js=class extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(e){e instanceof v&&e.enterGroup(this)}exitRule(e){e instanceof v&&e.exitGroup(this)}};class _a extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(La,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterStarterExp(this)}exitRule(t){t instanceof v&&t.exitStarterExp(this)}}class La extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStarter(this)}exitRule(t){t instanceof v&&t.exitStarter(this)}}let Hn=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(Gn,0)}participantType(){return this.getTypedRuleContext(Ca,0)}stereotype(){return this.getTypedRuleContext(va,0)}width(){return this.getTypedRuleContext(Ea,0)}label(){return this.getTypedRuleContext(ya,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof v&&t.enterParticipant(this)}exitRule(t){t instanceof v&&t.exitParticipant(this)}};class va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(Gn,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof v&&t.enterStereotype(this)}exitRule(t){t instanceof v&&t.exitStereotype(this)}}class ya extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(t){t instanceof v&&t.enterLabel(this)}exitRule(t){t instanceof v&&t.exitLabel(this)}}class Ca extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterParticipantType(this)}exitRule(t){t instanceof v&&t.exitParticipantType(this)}}class Gn extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterName(this)}exitRule(t){t instanceof v&&t.exitName(this)}}class Ea extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof v&&t.enterWidth(this)}exitRule(t){t instanceof v&&t.exitWidth(this)}}class Vs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(zs):this.getTypedRuleContext(zs,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof v&&e.enterBlock(this)}exitRule(e){e instanceof v&&e.exitBlock(this)}}let ba=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(V,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Xs,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof v&&t.enterRet(this)}exitRule(t){t instanceof v&&t.exitRet(this)}},wa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ta,0)}enterRule(t){t instanceof v&&t.enterDivider(this)}exitRule(t){t instanceof v&&t.exitDivider(this)}};class Ta extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof v&&t.enterDividerNote(this)}exitRule(t){t instanceof v&&t.exitDividerNote(this)}}let zs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ua,0)}par(){return this.getTypedRuleContext(Aa,0)}opt(){return this.getTypedRuleContext(Sa,0)}loop(){return this.getTypedRuleContext(ja,0)}creation(){return this.getTypedRuleContext(Zs,0)}message(){return this.getTypedRuleContext(ka,0)}asyncMessage(){return this.getTypedRuleContext(Xs,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(ba,0)}divider(){return this.getTypedRuleContext(wa,0)}tcf(){return this.getTypedRuleContext(Da,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof v&&t.enterStat(this)}exitRule(t){t instanceof v&&t.exitStat(this)}};class Aa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterPar(this)}exitRule(t){t instanceof v&&t.exitPar(this)}}class Sa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterOpt(this)}exitRule(t){t instanceof v&&t.exitOpt(this)}}let Zs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(Ra,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterCreation(this)}exitRule(t){t instanceof v&&t.exitCreation(this)}};class Ra extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(Ia,0)}assignment(){return this.getTypedRuleContext(Mr,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Js,0)}enterRule(t){t instanceof v&&t.enterCreationBody(this)}exitRule(t){t instanceof v&&t.exitCreationBody(this)}}let ka=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(Oa,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterMessage(this)}exitRule(t){t instanceof v&&t.exitMessage(this)}};class Oa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(qs,0)}assignment(){return this.getTypedRuleContext(Mr,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ws,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof v&&t.enterMessageBody(this)}exitRule(t){t instanceof v&&t.exitMessageBody(this)}}class qs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Ks):this.getTypedRuleContext(Ks,e)});et(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof v&&e.enterFunc(this)}exitRule(e){e instanceof v&&e.exitFunc(this)}}class Ws extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterFrom(this)}exitRule(t){t instanceof v&&t.exitFrom(this)}}class Ir extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterTo(this)}exitRule(t){t instanceof v&&t.exitTo(this)}}class Ks extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Pa,0)}invocation(){return this.getTypedRuleContext(Ys,0)}enterRule(t){t instanceof v&&t.enterSignature(this)}exitRule(t){t instanceof v&&t.exitSignature(this)}}class Ys extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Js,0)}enterRule(t){t instanceof v&&t.enterInvocation(this)}exitRule(t){t instanceof v&&t.exitInvocation(this)}}class Mr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(Ma,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterAssignment(this)}exitRule(t){t instanceof v&&t.exitAssignment(this)}}let Xs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(Ir,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Na,0)}from(){return this.getTypedRuleContext(Ws,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof v&&t.enterAsyncMessage(this)}exitRule(t){t instanceof v&&t.exitAsyncMessage(this)}};class Na extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof v&&t.enterContent(this)}exitRule(t){t instanceof v&&t.exitContent(this)}}class Ia extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterConstruct(this)}exitRule(t){t instanceof v&&t.exitConstruct(this)}}class Qs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterType(this)}exitRule(t){t instanceof v&&t.exitType(this)}}class Ma extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(we,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof v&&e.enterAssignee(this)}exitRule(e){e instanceof v&&e.exitAssignee(this)}}class Pa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterMethodName(this)}exitRule(t){t instanceof v&&t.exitMethodName(this)}}class Js extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ti):this.getTypedRuleContext(ti,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof v&&e.enterParameters(this)}exitRule(e){e instanceof v&&e.exitParameters(this)}}class ti extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext($a,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterParameter(this)}exitRule(t){t instanceof v&&t.exitParameter(this)}}class $a extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(Qs,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterDeclaration(this)}exitRule(t){t instanceof v&&t.exitDeclaration(this)}}class Da extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ei):this.getTypedRuleContext(ei,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Fa,0)}finallyBlock(){return this.getTypedRuleContext(Ba,0)}enterRule(e){e instanceof v&&e.enterTcf(this)}exitRule(e){e instanceof v&&e.exitTcf(this)}}class Fa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterTryBlock(this)}exitRule(t){t instanceof v&&t.exitTryBlock(this)}}class ei extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}invocation(){return this.getTypedRuleContext(Ys,0)}enterRule(t){t instanceof v&&t.enterCatchBlock(this)}exitRule(t){t instanceof v&&t.exitCatchBlock(this)}}class Ba extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterFinallyBlock(this)}exitRule(t){t instanceof v&&t.exitFinallyBlock(this)}}class Ua extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ni):this.getTypedRuleContext(ni,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Ha,0)}elseBlock(){return this.getTypedRuleContext(Ga,0)}enterRule(e){e instanceof v&&e.enterAlt(this)}exitRule(e){e instanceof v&&e.exitAlt(this)}}class Ha extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterIfBlock(this)}exitRule(t){t instanceof v&&t.exitIfBlock(this)}}class ni extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseIfBlock(this)}exitRule(t){t instanceof v&&t.exitElseIfBlock(this)}}class Ga extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseBlock(this)}exitRule(t){t instanceof v&&t.exitElseBlock(this)}}class ee extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Vs,0)}enterRule(t){t instanceof v&&t.enterBraceBlock(this)}exitRule(t){t instanceof v&&t.exitBraceBlock(this)}}class ja extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Pr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterLoop(this)}exitRule(t){t instanceof v&&t.exitLoop(this)}}class V extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class E0 extends V{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(Mr,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof v&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=E0;class b0 extends V{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(qs,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof v&&t.enterFuncExpr(this)}exitRule(t){t instanceof v&&t.exitFuncExpr(this)}}h.FuncExprContext=b0;class w0 extends V{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(we,0)}enterRule(t){t instanceof v&&t.enterAtomExpr(this)}exitRule(t){t instanceof v&&t.exitAtomExpr(this)}}h.AtomExprContext=w0;class T0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof v&&e.enterOrExpr(this)}exitRule(e){e instanceof v&&e.exitOrExpr(this)}}h.OrExprContext=T0;class A0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof v&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof v&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=A0;class S0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof v&&e.enterRelationalExpr(this)}exitRule(e){e instanceof v&&e.exitRelationalExpr(this)}}h.RelationalExprContext=S0;class R0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof v&&e.enterPlusExpr(this)}exitRule(e){e instanceof v&&e.exitPlusExpr(this)}}h.PlusExprContext=R0;class k0 extends V{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterNotExpr(this)}exitRule(t){t instanceof v&&t.exitNotExpr(this)}}h.NotExprContext=k0;class O0 extends V{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof v&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=O0;class N0 extends V{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterCreationExpr(this)}exitRule(t){t instanceof v&&t.exitCreationExpr(this)}}h.CreationExprContext=N0;class I0 extends V{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(V,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof v&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=I0;class M0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof v&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof v&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=M0;class P0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof v&&e.enterEqualityExpr(this)}exitRule(e){e instanceof v&&e.exitEqualityExpr(this)}}h.EqualityExprContext=P0;class $0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof v&&e.enterAndExpr(this)}exitRule(e){e instanceof v&&e.exitAndExpr(this)}}h.AndExprContext=$0;class we extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class D0 extends we{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof v&&t.enterBooleanAtom(this)}exitRule(t){t instanceof v&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=D0;class F0 extends we{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterIdAtom(this)}exitRule(t){t instanceof v&&t.exitIdAtom(this)}}h.IdAtomContext=F0;class B0 extends we{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStringAtom(this)}exitRule(t){t instanceof v&&t.exitStringAtom(this)}}h.StringAtomContext=B0;class U0 extends we{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof v&&t.enterNilAtom(this)}exitRule(t){t instanceof v&&t.exitNilAtom(this)}}h.NilAtomContext=U0;class H0 extends we{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof v&&t.enterNumberAtom(this)}exitRule(t){t instanceof v&&t.exitNumberAtom(this)}}h.NumberAtomContext=H0;class Pr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Va,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParExpr(this)}exitRule(t){t instanceof v&&t.exitParExpr(this)}}class Va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(we,0)}expr(){return this.getTypedRuleContext(V,0)}inExpr(){return this.getTypedRuleContext(za,0)}enterRule(t){t instanceof v&&t.enterCondition(this)}exitRule(t){t instanceof v&&t.exitCondition(this)}}class za extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof v&&e.enterInExpr(this)}exitRule(e){e instanceof v&&e.exitInExpr(this)}}h.ProgContext=C0,h.TitleContext=xa,h.HeadContext=ma,h.GroupContext=js,h.StarterExpContext=_a,h.StarterContext=La,h.ParticipantContext=Hn,h.StereotypeContext=va,h.LabelContext=ya,h.ParticipantTypeContext=Ca,h.NameContext=Gn,h.WidthContext=Ea,h.BlockContext=Vs,h.RetContext=ba,h.DividerContext=wa,h.DividerNoteContext=Ta,h.StatContext=zs,h.ParContext=Aa,h.OptContext=Sa,h.CreationContext=Zs,h.CreationBodyContext=Ra,h.MessageContext=ka,h.MessageBodyContext=Oa,h.FuncContext=qs,h.FromContext=Ws,h.ToContext=Ir,h.SignatureContext=Ks,h.InvocationContext=Ys,h.AssignmentContext=Mr,h.AsyncMessageContext=Xs,h.ContentContext=Na,h.ConstructContext=Ia,h.TypeContext=Qs,h.AssigneeContext=Ma,h.MethodNameContext=Pa,h.ParametersContext=Js,h.ParameterContext=ti,h.DeclarationContext=$a,h.TcfContext=Da,h.TryBlockContext=Fa,h.CatchBlockContext=ei,h.FinallyBlockContext=Ba,h.AltContext=Ua,h.IfBlockContext=Ha,h.ElseIfBlockContext=ni,h.ElseBlockContext=Ga,h.BraceBlockContext=ee,h.LoopContext=ja,h.ExprContext=V,h.AtomContext=we,h.ParExprContext=Pr,h.ConditionContext=Va,h.InExprContext=za;function I5(){this.__data__=[],this.size=0}var M5=I5;function P5(n,t){return n===t||n!==n&&t!==t}var ri=P5,$5=ri;function D5(n,t){for(var e=n.length;e--;)if($5(n[e][0],t))return e;return-1}var si=D5,F5=si,B5=Array.prototype,U5=B5.splice;function H5(n){var t=this.__data__,e=F5(t,n);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():U5.call(t,e,1),--this.size,!0}var G5=H5,j5=si;function V5(n){var t=this.__data__,e=j5(t,n);return e<0?void 0:t[e][1]}var z5=V5,Z5=si;function q5(n){return Z5(this.__data__,n)>-1}var W5=q5,K5=si;function Y5(n,t){var e=this.__data__,r=K5(e,n);return r<0?(++this.size,e.push([n,t])):e[r][1]=t,this}var X5=Y5,Q5=M5,J5=G5,tp=z5,ep=W5,np=X5;function jn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}jn.prototype.clear=Q5,jn.prototype.delete=J5,jn.prototype.get=tp,jn.prototype.has=ep,jn.prototype.set=np;var ii=jn,rp=ii;function sp(){this.__data__=new rp,this.size=0}var ip=sp;function op(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var ap=op;function lp(n){return this.__data__.get(n)}var cp=lp;function up(n){return this.__data__.has(n)}var hp=up,fp=pn,dp=fp.Symbol,G0=dp,j0=G0,V0=Object.prototype,pp=V0.hasOwnProperty,gp=V0.toString,$r=j0?j0.toStringTag:void 0;function xp(n){var t=pp.call(n,$r),e=n[$r];try{n[$r]=void 0;var r=!0}catch{}var s=gp.call(n);return r&&(t?n[$r]=e:delete n[$r]),s}var mp=xp,_p=Object.prototype,Lp=_p.toString;function vp(n){return Lp.call(n)}var yp=vp,z0=G0,Cp=mp,Ep=yp,bp="[object Null]",wp="[object Undefined]",Z0=z0?z0.toStringTag:void 0;function Tp(n){return n==null?n===void 0?wp:bp:Z0&&Z0 in Object(n)?Cp(n):Ep(n)}var oi=Tp;function Ap(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var _n=Ap,Sp=oi,Rp=_n,kp="[object AsyncFunction]",Op="[object Function]",Np="[object GeneratorFunction]",Ip="[object Proxy]";function Mp(n){if(!Rp(n))return!1;var t=Sp(n);return t==Op||t==Np||t==kp||t==Ip}var Za=Mp,Pp=pn,$p=Pp["__core-js_shared__"],Dp=$p,qa=Dp,q0=function(){var n=/[^.]+$/.exec(qa&&qa.keys&&qa.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function Fp(n){return!!q0&&q0 in n}var Bp=Fp,Up=Function.prototype,Hp=Up.toString;function Gp(n){if(n!=null){try{return Hp.call(n)}catch{}try{return n+""}catch{}}return""}var jp=Gp,Vp=Za,zp=Bp,Zp=_n,qp=jp,Wp=/[\\^$.*+?()[\]{}|]/g,Kp=/^\[object .+?Constructor\]$/,Yp=Function.prototype,Xp=Object.prototype,Qp=Yp.toString,Jp=Xp.hasOwnProperty,t9=RegExp("^"+Qp.call(Jp).replace(Wp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function e9(n){if(!Zp(n)||zp(n))return!1;var t=Vp(n)?t9:Kp;return t.test(qp(n))}var n9=e9;function r9(n,t){return n==null?void 0:n[t]}var s9=r9,i9=n9,o9=s9;function a9(n,t){var e=o9(n,t);return i9(e)?e:void 0}var Wa=a9,l9=Wa,c9=pn,u9=l9(c9,"Map"),W0=u9,h9=Wa,f9=h9(Object,"create"),ai=f9,K0=ai;function d9(){this.__data__=K0?K0(null):{},this.size=0}var p9=d9;function g9(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var x9=g9,m9=ai,_9="__lodash_hash_undefined__",L9=Object.prototype,v9=L9.hasOwnProperty;function y9(n){var t=this.__data__;if(m9){var e=t[n];return e===_9?void 0:e}return v9.call(t,n)?t[n]:void 0}var C9=y9,E9=ai,b9=Object.prototype,w9=b9.hasOwnProperty;function T9(n){var t=this.__data__;return E9?t[n]!==void 0:w9.call(t,n)}var A9=T9,S9=ai,R9="__lodash_hash_undefined__";function k9(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=S9&&t===void 0?R9:t,this}var O9=k9,N9=p9,I9=x9,M9=C9,P9=A9,$9=O9;function Vn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}Vn.prototype.clear=N9,Vn.prototype.delete=I9,Vn.prototype.get=M9,Vn.prototype.has=P9,Vn.prototype.set=$9;var D9=Vn,Y0=D9,F9=ii,B9=W0;function U9(){this.size=0,this.__data__={hash:new Y0,map:new(B9||F9),string:new Y0}}var H9=U9;function G9(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var j9=G9,V9=j9;function z9(n,t){var e=n.__data__;return V9(t)?e[typeof t=="string"?"string":"hash"]:e.map}var li=z9,Z9=li;function q9(n){var t=Z9(this,n).delete(n);return this.size-=t?1:0,t}var W9=q9,K9=li;function Y9(n){return K9(this,n).get(n)}var X9=Y9,Q9=li;function J9(n){return Q9(this,n).has(n)}var t6=J9,e6=li;function n6(n,t){var e=e6(this,n),r=e.size;return e.set(n,t),this.size+=e.size==r?0:1,this}var r6=n6,s6=H9,i6=W9,o6=X9,a6=t6,l6=r6;function zn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}zn.prototype.clear=s6,zn.prototype.delete=i6,zn.prototype.get=o6,zn.prototype.has=a6,zn.prototype.set=l6;var c6=zn,u6=ii,h6=W0,f6=c6,d6=200;function p6(n,t){var e=this.__data__;if(e instanceof u6){var r=e.__data__;if(!h6||r.length<d6-1)return r.push([n,t]),this.size=++e.size,this;e=this.__data__=new f6(r)}return e.set(n,t),this.size=e.size,this}var g6=p6,x6=ii,m6=ip,_6=ap,L6=cp,v6=hp,y6=g6;function Zn(n){var t=this.__data__=new x6(n);this.size=t.size}Zn.prototype.clear=m6,Zn.prototype.delete=_6,Zn.prototype.get=L6,Zn.prototype.has=v6,Zn.prototype.set=y6;var C6=Zn,E6=Wa,b6=function(){try{var n=E6(Object,"defineProperty");return n({},"",{}),n}catch{}}(),X0=b6,Q0=X0;function w6(n,t,e){t=="__proto__"&&Q0?Q0(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Ka=w6,T6=Ka,A6=ri;function S6(n,t,e){(e!==void 0&&!A6(n[t],e)||e===void 0&&!(t in n))&&T6(n,t,e)}var J0=S6;function R6(n){return function(t,e,r){for(var s=-1,i=Object(t),o=r(t),a=o.length;a--;){var l=o[n?a:++s];if(e(i[l],l,i)===!1)break}return t}}var k6=R6,O6=k6,N6=O6(),I6=N6,Ya={exports:{}};(function(n,t){var e=pn,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Ya,Ya.exports);var M6=pn,P6=M6.Uint8Array,$6=P6,tu=$6;function D6(n){var t=new n.constructor(n.byteLength);return new tu(t).set(new tu(n)),t}var F6=D6,B6=F6;function U6(n,t){var e=t?B6(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var H6=U6;function G6(n,t){var e=-1,r=n.length;for(t||(t=Array(r));++e<r;)t[e]=n[e];return t}var j6=G6,V6=_n,eu=Object.create,z6=function(){function n(){}return function(t){if(!V6(t))return{};if(eu)return eu(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),Z6=z6;function q6(n,t){return function(e){return n(t(e))}}var W6=q6,K6=W6,Y6=K6(Object.getPrototypeOf,Object),nu=Y6,X6=Object.prototype;function Q6(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||X6;return n===e}var ru=Q6,J6=Z6,t8=nu,e8=ru;function n8(n){return typeof n.constructor=="function"&&!e8(n)?J6(t8(n)):{}}var r8=n8;function s8(n){return n!=null&&typeof n=="object"}var Dr=s8,i8=oi,o8=Dr,a8="[object Arguments]";function l8(n){return o8(n)&&i8(n)==a8}var c8=l8,su=c8,u8=Dr,iu=Object.prototype,h8=iu.hasOwnProperty,f8=iu.propertyIsEnumerable,d8=su(function(){return arguments}())?su:function(n){return u8(n)&&h8.call(n,"callee")&&!f8.call(n,"callee")},ou=d8,p8=Array.isArray,au=p8,g8=9007199254740991;function x8(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=g8}var lu=x8,m8=Za,_8=lu;function L8(n){return n!=null&&_8(n.length)&&!m8(n)}var Xa=L8,v8=Xa,y8=Dr;function C8(n){return y8(n)&&v8(n)}var E8=C8,ci={exports:{}};function b8(){return!1}var w8=b8;(function(n,t){var e=pn,r=w8,s=t&&!t.nodeType&&t,i=s&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===s,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||r;n.exports=c})(ci,ci.exports);var T8=oi,A8=nu,S8=Dr,R8="[object Object]",k8=Function.prototype,O8=Object.prototype,cu=k8.toString,N8=O8.hasOwnProperty,I8=cu.call(Object);function M8(n){if(!S8(n)||T8(n)!=R8)return!1;var t=A8(n);if(t===null)return!0;var e=N8.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&cu.call(e)==I8}var P8=M8,$8=oi,D8=lu,F8=Dr,B8="[object Arguments]",U8="[object Array]",H8="[object Boolean]",G8="[object Date]",j8="[object Error]",V8="[object Function]",z8="[object Map]",Z8="[object Number]",q8="[object Object]",W8="[object RegExp]",K8="[object Set]",Y8="[object String]",X8="[object WeakMap]",Q8="[object ArrayBuffer]",J8="[object DataView]",t7="[object Float32Array]",e7="[object Float64Array]",n7="[object Int8Array]",r7="[object Int16Array]",s7="[object Int32Array]",i7="[object Uint8Array]",o7="[object Uint8ClampedArray]",a7="[object Uint16Array]",l7="[object Uint32Array]",ft={};ft[t7]=ft[e7]=ft[n7]=ft[r7]=ft[s7]=ft[i7]=ft[o7]=ft[a7]=ft[l7]=!0,ft[B8]=ft[U8]=ft[Q8]=ft[H8]=ft[J8]=ft[G8]=ft[j8]=ft[V8]=ft[z8]=ft[Z8]=ft[q8]=ft[W8]=ft[K8]=ft[Y8]=ft[X8]=!1;function c7(n){return F8(n)&&D8(n.length)&&!!ft[$8(n)]}var u7=c7;function h7(n){return function(t){return n(t)}}var f7=h7,Qa={exports:{}};(function(n,t){var e=Yc,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i&&e.process,a=function(){try{var l=s&&s.require&&s.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(Qa,Qa.exports);var d7=u7,p7=f7,uu=Qa.exports,hu=uu&&uu.isTypedArray,g7=hu?p7(hu):d7,fu=g7;function x7(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var du=x7,m7=Ka,_7=ri,L7=Object.prototype,v7=L7.hasOwnProperty;function y7(n,t,e){var r=n[t];(!(v7.call(n,t)&&_7(r,e))||e===void 0&&!(t in n))&&m7(n,t,e)}var C7=y7,E7=C7,b7=Ka;function w7(n,t,e,r){var s=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=r?r(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),s?b7(e,a,l):E7(e,a,l)}return e}var T7=w7;function A7(n,t){for(var e=-1,r=Array(n);++e<n;)r[e]=t(e);return r}var S7=A7,R7=9007199254740991,k7=/^(?:0|[1-9]\d*)$/;function O7(n,t){var e=typeof n;return t=t??R7,!!t&&(e=="number"||e!="symbol"&&k7.test(n))&&n>-1&&n%1==0&&n<t}var pu=O7,N7=S7,I7=ou,M7=au,P7=ci.exports,$7=pu,D7=fu,F7=Object.prototype,B7=F7.hasOwnProperty;function U7(n,t){var e=M7(n),r=!e&&I7(n),s=!e&&!r&&P7(n),i=!e&&!r&&!s&&D7(n),o=e||r||s||i,a=o?N7(n.length,String):[],l=a.length;for(var c in n)(t||B7.call(n,c))&&!(o&&(c=="length"||s&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||$7(c,l)))&&a.push(c);return a}var H7=U7;function G7(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var j7=G7,V7=_n,z7=ru,Z7=j7,q7=Object.prototype,W7=q7.hasOwnProperty;function K7(n){if(!V7(n))return Z7(n);var t=z7(n),e=[];for(var r in n)r=="constructor"&&(t||!W7.call(n,r))||e.push(r);return e}var Y7=K7,X7=H7,Q7=Y7,J7=Xa;function tg(n){return J7(n)?X7(n,!0):Q7(n)}var gu=tg,eg=T7,ng=gu;function rg(n){return eg(n,ng(n))}var sg=rg,xu=J0,ig=Ya.exports,og=H6,ag=j6,lg=r8,mu=ou,_u=au,cg=E8,ug=ci.exports,hg=Za,fg=_n,dg=P8,pg=fu,Lu=du,gg=sg;function xg(n,t,e,r,s,i,o){var a=Lu(n,e),l=Lu(t,e),c=o.get(l);if(c){xu(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=_u(l),p=!d&&ug(l),w=!d&&!p&&pg(l);u=l,d||p||w?_u(a)?u=a:cg(a)?u=ag(a):p?(f=!1,u=ig(l,!0)):w?(f=!1,u=og(l,!0)):u=[]:dg(l)||mu(l)?(u=a,mu(a)?u=gg(a):(!fg(a)||hg(a))&&(u=lg(l))):f=!1}f&&(o.set(l,u),s(u,l,r,i,o),o.delete(l)),xu(n,e,u)}var mg=xg,_g=C6,Lg=J0,vg=I6,yg=mg,Cg=_n,Eg=gu,bg=du;function vu(n,t,e,r,s){n!==t&&vg(t,function(i,o){if(s||(s=new _g),Cg(i))yg(n,t,o,e,vu,r,s);else{var a=r?r(bg(n,o),i,o+"",n,t,s):void 0;a===void 0&&(a=i),Lg(n,o,a)}},Eg)}var wg=vu;function Tg(n){return n}var yu=Tg;function Ag(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Sg=Ag,Rg=Sg,Cu=Math.max;function kg(n,t,e){return t=Cu(t===void 0?n.length-1:t,0),function(){for(var r=arguments,s=-1,i=Cu(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=e(o),Rg(n,this,a)}}var Og=kg;function Ng(n){return function(){return n}}var Ig=Ng,Mg=Ig,Eu=X0,Pg=yu,$g=Eu?function(n,t){return Eu(n,"toString",{configurable:!0,enumerable:!1,value:Mg(t),writable:!0})}:Pg,Dg=$g,Fg=800,Bg=16,Ug=Date.now;function Hg(n){var t=0,e=0;return function(){var r=Ug(),s=Bg-(r-e);if(e=r,s>0){if(++t>=Fg)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var Gg=Hg,jg=Dg,Vg=Gg,zg=Vg(jg),Zg=zg,qg=yu,Wg=Og,Kg=Zg;function Yg(n,t){return Kg(Wg(n,t,qg),n+"")}var Xg=Yg,Qg=ri,Jg=Xa,tx=pu,ex=_n;function nx(n,t,e){if(!ex(e))return!1;var r=typeof t;return(r=="number"?Jg(e)&&tx(t,e.length):r=="string"&&t in e)?Qg(e[t],n):!1}var rx=nx,sx=Xg,ix=rx;function ox(n){return sx(function(t,e){var r=-1,s=e.length,i=s>1?e[s-1]:void 0,o=s>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(s--,i):void 0,o&&ix(e[0],e[1],o)&&(i=s<3?void 0:i,s=1),t=Object(t);++r<s;){var a=e[r];a&&n(t,a,r,i)}return t})}var ax=ox,lx=wg,cx=ax,ux=cx(function(n,t,e,r){lx(n,t,e,r)}),hx=ux;let fx=class{constructor(t,e,r,s,i,o,a,l,c,u){this.name=t,this.stereotype=r,this.width=s,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}},dx=class{constructor(){this.participants=new Map}Add(t,e,r,s,i,o,a,l,c,u){const f=new fx(t,e,r,s,i,o,a,l,c,u);this.participants.set(t,hx({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}};const px=h.ProgContext;let Pe,Ln=!1,Ja;const Zt=new v;let gx=function(n){var c,u,f,d,p,w,I;if(Ln)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",r=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),s=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((w=(p=n.label())==null?void 0:p.name())==null?void 0:w.getFormattedText()),o=!0,a=(I=n.COLOR())==null?void 0:I.getText(),l=n.getComment();Pe.Add(e,!1,r,s,Ja,i,o,t,a,l)};Zt.enterParticipant=gx;let bu=function(n){if(Ln)return;let t=n.getFormattedText();Pe.Add(t)};Zt.enterFrom=bu,Zt.enterTo=bu,Zt.enterStarter=function(n){let t=n.getFormattedText();Pe.Add(t,!0)},Zt.enterCreation=function(n){if(Ln)return;const t=n.Owner();Pe.Add(t)},Zt.enterParameters=function(){Ln=!0},Zt.exitParameters=function(){Ln=!1},Zt.enterCondition=function(){Ln=!0},Zt.exitCondition=function(){Ln=!1},Zt.enterGroup=function(n){var t;Ja=(t=n.name())==null?void 0:t.getFormattedText()},Zt.exitGroup=function(){Ja=void 0},Zt.enterRet=function(n){n.asyncMessage()||(Pe.Add(n.From()),Pe.Add(n.ReturnTo()))};const xx=_.tree.ParseTreeWalker.DEFAULT;Zt.getParticipants=function(n,t){return Pe=new dx,t&&n instanceof px&&Pe.Add(n.Starter(),!0),xx.walk(this,n),Pe};const mx=_.tree.ParseTreeWalker.DEFAULT;var le=new v,It=0,ce=0;le.enterTcf=function(){It++},le.enterOpt=function(){It++},le.enterPar=function(){It++},le.enterAlt=function(){It++},le.enterLoop=function(){It++},le.exitTcf=function(){ce=Math.max(ce,It),It--},le.exitOpt=function(){ce=Math.max(ce,It),It--},le.exitPar=function(){ce=Math.max(ce,It),It--},le.exitAlt=function(){ce=Math.max(ce,It),It--},le.exitLoop=function(){ce=Math.max(ce,It),It--},le.depth=function(n){return function(t){return It=0,ce=0,t.children.map(function(e){mx.walk(n,e)}),ce}};const _x=h.TitleContext;_x.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const wu=h,t1=wu.CreationContext;t1.prototype.Body=t1.prototype.creationBody,t1.prototype.isCurrent=function(n){return Tu.bind(this)(n)};const e1=wu.MessageContext;e1.prototype.Body=e1.prototype.messageBody,e1.prototype.isCurrent=function(n){return Tu.bind(this)(n)};function Tu(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const n1=h,ui=n1.CreationContext,r1=n1.MessageContext,Au=n1.AsyncMessageContext;ui.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},ui.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},ui.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},r1.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},r1.prototype.Owner=function(){return this.To()||Su(this.parentCtx)};function Su(n){for(;n;){if(n instanceof ui||n instanceof r1)return n.Owner();n=n.parentCtx}}Au.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},Au.prototype.Owner=function(){return this.To()||Su(this.parentCtx)};const Lx=h.ProgContext;Lx.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,w,I,q;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,r;const s=(l=this.block())==null?void 0:l.stat();if(s&&s[0]){const $=(f=(u=(c=s[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),j=(p=(d=s[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=$||j}else{const $=(w=this.head())==null?void 0:w.children;if($&&$[0]){const j=$[0];if(j instanceof h.ParticipantContext&&(e=(I=j.name())==null?void 0:I.getFormattedText()),j instanceof h.GroupContext){const ot=j.participant();ot&&ot[0]&&(r=(q=ot[0].name())==null?void 0:q.getFormattedText())}}}return n||t||e||r||"_STARTER_"};const hi=h,vx=hi.RetContext,Ru=hi.ProgContext,ku=hi.MessageContext,yx=hi.CreationContext;vx.prototype.ReturnTo=function(){var r,s;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof Ru)return e.Starter();{let i=e;for(;i&&!(i instanceof ku)&&!(i instanceof yx);){if(i instanceof Ru)return i.Starter();i=i.parentCtx}return i instanceof ku&&((s=(r=i.messageBody())==null?void 0:r.from())==null?void 0:s.getFormattedText())||i.ClosestAncestorStat().Origin()}};const Cx=h.StatContext,Ex=h.ProgContext,bx=h.MessageContext,wx=h.CreationContext;Cx.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Ex)return n.Starter();if(n instanceof bx||n instanceof wx){const t=n.Owner();if(t)return t}n=n.parentCtx}};const Tx=h.DividerContext;Tx.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const s1=h,Ax=s1.MessageContext,Sx=s1.AsyncMessageContext,Rx=s1.CreationContext;Ax.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(r=>r==null?void 0:r.getFormattedText()).join(".")},Sx.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},Rx.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"«"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"»"};const kx=h.MessageContext;class Ox{constructor(t,e){if(e&&!t)throw new Error("assignee must be defined if type is defined");this.assignee=t||"",this.type=e||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}kx.prototype.Assignment=function(){var r,s;let n=this.messageBody().assignment();const t=(r=n==null?void 0:n.assignee())==null?void 0:r.getFormattedText(),e=(s=n==null?void 0:n.type())==null?void 0:s.getFormattedText();if(t)return new Ox(t,e)};const Fr=h,Nx=Fr.CreationContext,Ix=Fr.StatContext,Ou=Fr.MessageContext,Mx=Fr.AsyncMessageContext,Px=Fr.RetContext;Nx.prototype.From=function(){if(this.parentCtx instanceof Ix)return this.ClosestAncestorStat().Origin()},Ou.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},Ou.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Mx.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},Px.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Nu=h,Iu=Nu.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof Iu);)n=n.parentCtx;if(n instanceof Iu)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof Nu.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function $x(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,s){return t.apply(this,arguments)};case 4:return function(e,r,s,i){return t.apply(this,arguments)};case 5:return function(e,r,s,i,o){return t.apply(this,arguments)};case 6:return function(e,r,s,i,o,a){return t.apply(this,arguments)};case 7:return function(e,r,s,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,r,s,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,r,s,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,r,s,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Mu=$x;function Dx(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var Fx=Dx;function Bx(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var i1=Bx,Ux=i1;function Hx(n){return function t(e){return arguments.length===0||Ux(e)?t:n.apply(this,arguments)}}var fi=Hx,o1=fi,Br=i1;function Gx(n){return function t(e,r){switch(arguments.length){case 0:return t;case 1:return Br(e)?t:o1(function(s){return n(e,s)});default:return Br(e)&&Br(r)?t:Br(e)?o1(function(s){return n(s,r)}):Br(r)?o1(function(s){return n(e,s)}):n(e,r)}}}var Pu=Gx,di=fi,qn=Pu,Rt=i1;function jx(n){return function t(e,r,s){switch(arguments.length){case 0:return t;case 1:return Rt(e)?t:qn(function(i,o){return n(e,i,o)});case 2:return Rt(e)&&Rt(r)?t:Rt(e)?qn(function(i,o){return n(i,r,o)}):Rt(r)?qn(function(i,o){return n(e,i,o)}):di(function(i){return n(e,r,i)});default:return Rt(e)&&Rt(r)&&Rt(s)?t:Rt(e)&&Rt(r)?qn(function(i,o){return n(i,o,s)}):Rt(e)&&Rt(s)?qn(function(i,o){return n(i,r,o)}):Rt(r)&&Rt(s)?qn(function(i,o){return n(e,i,o)}):Rt(e)?di(function(i){return n(i,r,s)}):Rt(r)?di(function(i){return n(e,i,s)}):Rt(s)?di(function(i){return n(e,r,i)}):n(e,r,s)}}}var a1=jx,$u=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function Vx(n){return Object.prototype.toString.call(n)==="[object String]"}var zx=Vx,Zx=fi,qx=$u,Wx=zx,Kx=Zx(function(t){return qx(t)?!0:!t||typeof t!="object"||Wx(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Yx=Kx,Xx=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function Qx(n){return new Xx(n)}var Jx=Qx,tm=Mu,em=Pu,nm=em(function(t,e){return tm(t.length,function(){return t.apply(e,arguments)})}),rm=nm,sm=Yx,im=Jx,om=rm;function am(n,t,e){for(var r=0,s=e.length;r<s;){if(t=n["@@transducer/step"](t,e[r]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return n["@@transducer/result"](t)}function Du(n,t,e){for(var r=e.next();!r.done;){if(t=n["@@transducer/step"](t,r.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=e.next()}return n["@@transducer/result"](t)}function Fu(n,t,e,r){return n["@@transducer/result"](e[r](om(n["@@transducer/step"],n),t))}var Bu=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function lm(n,t,e){if(typeof n=="function"&&(n=im(n)),sm(e))return am(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return Fu(n,t,e,"fantasy-land/reduce");if(e[Bu]!=null)return Du(n,t,e[Bu]());if(typeof e.next=="function")return Du(n,t,e);if(typeof e.reduce=="function")return Fu(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var cm=lm,um=a1,hm=cm,fm=um(hm),dm=fm,pm=$u;function gm(n,t){return function(){var e=arguments.length;if(e===0)return t();var r=arguments[e-1];return pm(r)||typeof r[n]!="function"?t.apply(this,arguments):r[n].apply(r,Array.prototype.slice.call(arguments,0,e-1))}}var Uu=gm,xm=Uu,mm=a1,_m=mm(xm("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),Lm=_m,vm=Uu,ym=fi,Cm=Lm,Em=ym(vm("tail",Cm(1,1/0))),bm=Em,wm=Mu,Tm=Fx,Am=dm,Sm=bm;function Rm(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return wm(arguments[0].length,Am(Tm,arguments[0],Sm(arguments)))}var km=Rm;const Om=km;var Nm=a1,Im=Nm(function(t,e,r){return r.replace(t,e)}),Mm=Im;const Ur=Mm,Pm=Ur(/[\n\r]/g," "),$m=Ur(/\s+/g," "),Dm=Ur(/\s*([,;.()])\s*/g,"$1"),Fm=Ur(/\s+$/g,""),Bm=Ur(/^"(.*)"$/,"$1"),Um=Om(Pm,$m,Dm,Fm,Bm);class Hm extends _.error.ErrorListener{syntaxError(t,e,r,s,i){}}function Gm(n){const t=new _.InputStream(n),e=new A(t),r=new _.CommonTokenStream(e),s=new h(r);return s.addErrorListener(new Hm),s._syntaxErrors?null:s.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return Um(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=A.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(r=>r.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const jm=h.ProgContext,Vm=Gm,Hu=h.GroupContext,Gu=h.ParticipantContext,ju=function(n){const t=le;return t.depth(t)(n)},pi=function(n,t){return Zt.getParticipants(n,t)};function gi(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const s=document.createElement("div");s.className="textarea-hidden-div ",s.style.fontSize="13px",s.style.fontFamily="Helvetica, Verdana, serif",s.style.display="inline",s.style.whiteSpace="nowrap",s.style.visibility="hidden",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.overflow="hidden",s.style.width="0px",s.style.paddingLeft="20px",s.style.paddingRight="20px",s.style.margin="0px",s.style.border="0px",document.body.appendChild(s),e=s}return e.textContent=n,e.scrollWidth}const zm=100,Vu=20,zu=10,Zm=100;var Wn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Wn||{});const qm=h;class l1 extends v{constructor(){super(...arguments),this.explicitParticipants=[],this.starter="",this.implicitParticipants=[],this.isBlind=!1}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(t){this.starter=t.getFormattedText()}enterParticipant(t){var i,o,a;const e=((i=t==null?void 0:t.name())==null?void 0:i.getFormattedText())||"Missing `Participant` name",r=(a=(o=t.label())==null?void 0:o.name())==null?void 0:a.getFormattedText(),s={name:e,label:r,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(t.ClosestAncestorBlock().parentCtx instanceof qm.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]){this.starter=e;return}this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}enterCreation(t){if(this.isBlind)return;const e=t==null?void 0:t.Owner();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),l1._assignLeft(t),t}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(t=>t.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(t){return t.filter((e,r)=>t.findIndex(s=>s.name===e.name)===r)}static _assignLeft(t){t.reduce((e,r)=>(r.left=e.name||"",r),{name:"",left:""})}}function Wm(n){const t=new l1;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function xi(n,t){return{position:n,velocity:t}}function Zu(n,t){return xi(n.position+t.position,n.velocity+t.velocity)}const qu=Math.sqrt(Number.EPSILON);function Km(n,t){let e=n.position-t.position;return e<-qu||Math.abs(e)<=qu&&n.velocity<t.velocity}function Ym(){return{delta:1/0,dualLessThan:function(n,t){let e=Km(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function Xm(n,t){let e=Array();for(let r=0;r<n;r++){e.push([]);for(let s=0;s<r;s++)t[s][r]>0&&e[r].push({i:s,length:xi(t[s][r],0)})}return e}function Qm(n,t){let e=Ym(),r=xi(0,0),s=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(r=Zu(r,t[i-1]));for(let a of n[i]){let l=Zu(s[a.i].maximum,a.length);e.dualLessThan(r,l)&&(o=a.i,r=l)}s.push({argument:o,maximum:r})}return[e.delta,s]}function Jm(n,t,e){let r=n.length-1;for(;r>0;){let s=n[r].argument;s!==null?r=s:(r--,e[r].velocity=0)}}function t_(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function e_(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function n_(n){const t=n.length;let e=Xm(t,n),r=[];for(let s=1;s<t;s++)r.push(xi(0,1));for(;;){let[s,i]=Qm(e,r);if(s==1/0)return e_(i);i[t-1].maximum.velocity>0?Jm(i,e,r):t_(r,s)}}var Hr=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(Hr||{});class r_ extends v{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(Hr.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(Hr.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(Hr.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let r=e.From();const s=e==null?void 0:e.Owner(),i=e==null?void 0:e.SignatureText();this.ownableMessages.push({from:r,signature:i,type:t,to:s})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function s_(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new r_;return t.walk(e,n),e.result()}class Kn{constructor(t,e){this.m=[],this.participantModels=Wm(t),this.ownableMessages=s_(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex(r=>r.name===t);if(e===-1)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+n_(this.m)[e]+zu}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(r=>{const s=e.findIndex(l=>l.name===r.from),i=e.findIndex(l=>l.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}let o=Math.min(s,i),a=Math.max(s,i);try{let l=this.getMessageWidth(r);this.m[o][a]=Math.max(l+zu,this.m[o][a])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(t){const e=Kn.half(this.widthProvider,t.to);let r=this.widthProvider(t.signature,Wn.MessageContent);return t.type===Hr.CreationMessage&&(r+=e),r}withParticipantGaps(t){this.m=t.map((e,r)=>t.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const r=Kn.half(this.widthProvider,e),s=Kn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&r||0)+(o&&s||0)}labelOrName(t){const e=this.participantModels.findIndex(r=>r.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return Vu/2;const r=this.halfWithMargin(t,e);return Math.max(r,zm/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+Vu/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Wn.ParticipantName),Zm)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+Kn.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}let Wu=0;setTimeout(function(){Wu||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Ku=()=>(Wu=Z4(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>Vm(n.code),title:(n,t)=>{var e,r;return(r=(e=t.rootContext)==null?void 0:e.title())==null?void 0:r.content()},participants:(n,t)=>pi(t.rootContext,!0),coordinates:(n,t)=>new Kn(t.rootContext,gi),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(r){return console.error(r),0}},GroupContext:()=>Hu,ParticipantContext:()=>Gu,cursor:n=>n.cursor,distance:(n,t)=>(e,r)=>t.centerOf(e)-t.centerOf(r),distance2:(n,t)=>(e,r)=>!e||!r?0:t.centerOf(r)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1});var i_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("div",{staticClass:"tooltip bottom whitespace-normal",attrs:{"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."}},[e("svg",{staticClass:"fill-current h-6 w-6 m-auto",attrs:{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"}},[e("path",{attrs:{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}}),e("path",{attrs:{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"}})])])])},o_=[];const Cb="";function tt(n,t,e,r,s,i,o,a){var l=typeof n=="function"?n.options:n;t&&(l.render=t,l.staticRenderFns=e,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i);var c;if(o?(c=function(d){d=d||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!d&&typeof __VUE_SSR_CONTEXT__<"u"&&(d=__VUE_SSR_CONTEXT__),s&&s.call(this,d),d&&d._registeredComponents&&d._registeredComponents.add(o)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(p,w){return c.call(w),u(p,w)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:n,options:l}}const a_={name:"Privacy"},Yu={};var l_=tt(a_,i_,o_,!1,c_,"384a6fbc",null,null);function c_(n){for(let t in Yu)this[t]=Yu[t]}const u_=function(){return l_.exports}();var h_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"title text-skin-title text-base font-semibold"},[n._v(n._s(n.title))])},f_=[];const d_={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},Xu={};var p_=tt(d_,h_,f_,!1,g_,null,null,null);function g_(n){for(let t in Xu)this[t]=Xu[t]}const x_=function(){return p_.exports}();var c1={exports:{}},m_={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Qu={exports:{}},__=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},L_=__,v_=Array.prototype.concat,y_=Array.prototype.slice,Ju=Qu.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var i=t[r];L_(i)?e=v_.call(e,y_.call(i)):e.push(i)}return e};Ju.wrap=function(n){return function(){return n(Ju(arguments))}};var mi=m_,Gr=Qu.exports,th={};for(var u1 in mi)mi.hasOwnProperty(u1)&&(th[mi[u1]]=u1);var ne=c1.exports={to:{},get:{}};ne.get=function(n){var t=n.substring(0,3).toLowerCase(),e,r;switch(t){case"hsl":e=ne.get.hsl(n),r="hsl";break;case"hwb":e=ne.get.hwb(n),r="hwb";break;default:e=ne.get.rgb(n),r="rgb";break}return e?{model:r,value:e}:null},ne.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=mi[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Ye(o[l],0,255);return o[3]=Ye(o[3],0,1),o},ne.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])%360+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.to.hex=function(){var n=Gr(arguments);return"#"+_i(n[0])+_i(n[1])+_i(n[2])+(n[3]<1?_i(Math.round(n[3]*255)):"")},ne.to.rgb=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},ne.to.rgb.percent=function(){var n=Gr(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),r=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+r+"%)":"rgba("+t+"%, "+e+"%, "+r+"%, "+n[3]+")"},ne.to.hsl=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},ne.to.hwb=function(){var n=Gr(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},ne.to.keyword=function(n){return th[n.slice(0,3)]};function Ye(n,t,e){return Math.min(Math.max(t,n),e)}function _i(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function C_(n){const t=c1.exports.get.rgb(n);let[e,r,s]=t;return(e*299+r*587+s*114)/1e3}function E_(n){const t=c1.exports.get.rgb(n);let[e,r,s]=t;return`rgb(${e}, ${r}, ${s})`}const b_=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
24
24
|
<g clip-path="url(#clip0_544_54)">
|
|
25
25
|
<path d="M15.5489 4.19771C15.5489 5.18773 15.1485 6.13721 14.4358 6.83726C13.7231 7.53731 12.7565 7.93058 11.7486 7.93058C10.7407 7.93058 9.77403 7.53731 9.06133 6.83726C8.34863 6.13721 7.94824 5.18773 7.94824 4.19771C7.94824 3.20768 8.34863 2.25822 9.06133 1.55818C9.77403 0.858126 10.7407 0.464844 11.7486 0.464844C12.7565 0.464844 13.7231 0.858126 14.4358 1.55818C15.1485 2.25822 15.5489 3.20768 15.5489 4.19771Z" stroke="black"/>
|
|
26
26
|
<path d="M6.54883 11.2152L17.2025 11.2073M11.7471 8.06641V19.5806V8.06641ZM11.7471 19.4385L6.79789 23.5738L11.7471 19.4385ZM11.7551 19.4385L17.1864 23.3055L11.7551 19.4385Z" stroke="black"/>
|
|
@@ -454,7 +454,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
454
454
|
</g>
|
|
455
455
|
</g>
|
|
456
456
|
</svg>
|
|
457
|
-
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'};var $_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"participant",staticClass:"participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",class:{selected:n.selected,"border-transparent":!!n.icon},style:{backgroundColor:n.backgroundColor,color:n.color},on:{click:n.onSelect}},[n.icon?e("div",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${n.entity.name}`},domProps:{innerHTML:n._s(n.icon)}}):n._e(),e("div",{staticClass:"h-5 group flex flex-col justify-center"},[n.comment?e("span",{staticClass:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},[n._v(" "+n._s(n.comment)+" ")]):n._e(),n.stereotype?e("label",{staticClass:"interface leading-4"},[n._v("«"+n._s(n.stereotype)+"»")]):n._e(),e("label",{staticClass:"name leading-4"},[n._v(n._s(n.entity.label||n.entity.name))])])])},D_=[];const F_={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return nh[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&E_(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=C_(n);this.color=t>128?"#000":"#fff"}}},rh={};var B_=tt(F_,$_,D_,!1,U_,null,null,null);function U_(n){for(let t in rh)this[t]=rh[t]}const sh=function(){return B_.exports}();var H_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:n.top+"px",left:n.left+"px"},attrs:{id:n.entity.name}},[e("participant",{attrs:{entity:n.entity}}),e("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},G_=[];const uw="",jr=ir.child({name:"LifeLine"}),j_={name:"life-line",components:{Participant:sh},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...Dt(["centerOf"]),...Cr(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){jr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){jr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.$root.$el.querySelector(`[data-to="${this.entity.name}"]`);if(n&&n.attributes["data-type"].value==="creation"){jr.debug(`First message to ${this.entity.name} is creation`);const t=this.$el.getBoundingClientRect().y,e=n.getBoundingClientRect().y;this.top=(e-t)/this.scale}else this.top=0}}},ih={};var V_=tt(j_,H_,G_,!1,z_,"4bfd9a34",null,null);function z_(n){for(let t in ih)this[t]=ih[t]}const oh=function(){return V_.exports}();var Z_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.entities.length>0?e("div",{staticClass:"container absolute flex flex-col h-full",style:{left:`${n.left}px`,width:`${n.right-n.left}px`}},[e("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[e("div",{staticClass:"lifeline-group relative flex-grow"},n._l(n.entities,function(r){return e("life-line",{key:r.name,ref:r.name,refInFor:!0,attrs:{inGroup:"true",entity:r,"group-left":n.left}})}),1)])]):n._e()},q_=[];const W_={name:"lifeline-group",props:["context"],computed:{...Dt(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(gi(n,Wn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(gi(this.entities.slice(-1).name,Wn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return pi(this.context).Array()}},components:{LifeLine:oh}},ah={};var K_=tt(W_,Z_,q_,!1,Y_,null,null,null);function Y_(n){for(let t in ah)this[t]=ah[t]}const X_=function(){return K_.exports}();var Q_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[e("div",{staticClass:"container relative grow"},[n.starterOnTheLeft?e("life-line",{staticClass:"starter",class:{invisible:n.invisibleStarter},attrs:{entity:n.starterParticipant}}):n._e(),n._l(n.explicitGroupAndParticipants,function(r,s){return[r instanceof n.GroupContext?e("life-line-group",{key:s,attrs:{context:r}}):n._e(),r instanceof n.ParticipantContext?e("life-line",{key:s,attrs:{entity:n.getParticipantEntity(r)}}):n._e()]}),n._l(n.implicitParticipants,function(r){return e("life-line",{key:r.name,attrs:{entity:r}})})],2)])},J_=[];const lh=ir.child({name:"LifeLineLayer"}),tL={name:"life-line-layer",props:["context"],computed:{...Dt(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof Hu,r=t instanceof Gu;return e||r})}},methods:{...Er(["increaseGeneration"]),getParticipantEntity(n){return pi(n).First()}},updated(){lh.debug("LifeLineLayer updated")},mounted(){lh.debug("LifeLineLayer mounted")},components:{LifeLine:oh,LifeLineGroup:X_}},ch={};var eL=tt(tL,Q_,J_,!1,nL,null,null,null);function nL(n){for(let t in ch)this[t]=ch[t]}const rL=function(){return eL.exports}();var sL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message-layer pt-24 pb-10"},[e("block",{style:{"padding-left":n.paddingLeft+"px"},attrs:{context:n.context}})],1)},iL=[];const hw="",uh=ir.child({name:"MessageLayer"}),oL={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Dt(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Er(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){uh.debug("MessageLayer updated")},mounted(){uh.debug("MessageLayer mounted")}},hh={};var aL=tt(oL,sL,iL,!1,lL,null,null,null);function lL(n){for(let t in hh)this[t]=hh[t]}const cL=function(){return aL.exports}(),h1=30,fh=100,Vr={computed:{...Dt(["coordinates","distance2"]),localParticipants:function(){return[this.from,...pi(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).find(t=>this.localParticipants.includes(t))},rightParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).reverse().find(t=>this.localParticipants.includes(t))},depth:function(){return ju(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+h1},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+h1+fh+"px"}}}};var uL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:`${n.width}px`,paddingLeft:`${n.paddingLeft}px`}},[e("life-line-layer",{attrs:{context:n.rootContext.head()}}),e("message-layer",{attrs:{context:n.rootContext.block()}})],1)},hL=[];const fw="",fL={name:"seq-diagram",components:{LifeLineLayer:rL,MessageLayer:cL},computed:{...Dt(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+fh},depth:function(){return ju(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+h1}}},dh={};var dL=tt(fL,uL,hL,!1,pL,null,null,null);function pL(n){for(let t in dh)this[t]=dh[t]}const f1=function(){return dL.exports}();var gL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},n._l(n.types,function(r){return e("li",{key:r,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[e("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[n.icon?e("i",{staticClass:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${r}`},domProps:{innerHTML:n._s(n.icon(r))}}):n._e()]),e("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[e("div",{staticClass:"px-2 py-2 text-xs"},[e("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[n._v("@"+n._s(r))])])])])}),0)},xL=[];const mL={name:"IconList",props:["types"],computed:{},methods:{icon(n){return nh[n==null?void 0:n.toLowerCase()]}}},ph={};var _L=tt(mL,gL,xL,!1,LL,null,null,null);function LL(n){for(let t in ph)this[t]=ph[t]}const vL=function(){return _L.exports}();var yL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[e("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),e("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[n._v("")]),e("div",{staticClass:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},[e("div",[e("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[e("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[n._v("ZenUML Tips")]),e("button",{staticClass:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",attrs:{type:"button"},on:{click:function(r){return n.closeTipsDialog()}}},[e("span",{staticClass:"sr-only"},[n._v("Close menu")]),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[e("div",{staticClass:"relative"},[e("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[n._m(0),e("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Builtin Icons ")]),n._m(1),e("IconList",{attrs:{types:n.standardTypes}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.awsServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.azureServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.googleServices}})],1)])])])])])])])},CL=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[e("div",[e("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Declare Participants ")]),e("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[e("code",[n._v(`// Define a Starter (optional)
|
|
457
|
+
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'};var $_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"participant",staticClass:"participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",class:{selected:n.selected,"border-transparent":!!n.icon},style:{backgroundColor:n.backgroundColor,color:n.color},on:{click:n.onSelect}},[n.icon?e("div",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${n.entity.name}`},domProps:{innerHTML:n._s(n.icon)}}):n._e(),e("div",{staticClass:"h-5 group flex flex-col justify-center"},[n.comment?e("span",{staticClass:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},[n._v(" "+n._s(n.comment)+" ")]):n._e(),n.stereotype?e("label",{staticClass:"interface leading-4"},[n._v("«"+n._s(n.stereotype)+"»")]):n._e(),e("label",{staticClass:"name leading-4"},[n._v(n._s(n.entity.label||n.entity.name))])])])},D_=[];const F_={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return nh[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&E_(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=C_(n);this.color=t>128?"#000":"#fff"}}},rh={};var B_=tt(F_,$_,D_,!1,U_,null,null,null);function U_(n){for(let t in rh)this[t]=rh[t]}const sh=function(){return B_.exports}();var H_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:n.top+"px",left:n.left+"px"},attrs:{id:n.entity.name}},[e("participant",{attrs:{entity:n.entity}}),e("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},G_=[];const uw="",jr=ir.child({name:"LifeLine"}),j_={name:"life-line",components:{Participant:sh},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...Dt(["centerOf"]),...Cr(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){jr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){jr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.entity.name.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"),t=this.$root.$el.querySelector(`[data-to="${n}"]`);if(t&&t.attributes["data-type"].value==="creation"){jr.debug(`First message to ${this.entity.name} is creation`);const e=this.$el.getBoundingClientRect().y,r=t.getBoundingClientRect().y;this.top=(r-e)/this.scale}else this.top=0}}},ih={};var V_=tt(j_,H_,G_,!1,z_,"0b1aa0e7",null,null);function z_(n){for(let t in ih)this[t]=ih[t]}const oh=function(){return V_.exports}();var Z_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.entities.length>0?e("div",{staticClass:"container absolute flex flex-col h-full",style:{left:`${n.left}px`,width:`${n.right-n.left}px`}},[e("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[e("div",{staticClass:"lifeline-group relative flex-grow"},n._l(n.entities,function(r){return e("life-line",{key:r.name,ref:r.name,refInFor:!0,attrs:{inGroup:"true",entity:r,"group-left":n.left}})}),1)])]):n._e()},q_=[];const W_={name:"lifeline-group",props:["context"],computed:{...Dt(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(gi(n,Wn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(gi(this.entities.slice(-1).name,Wn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return pi(this.context).Array()}},components:{LifeLine:oh}},ah={};var K_=tt(W_,Z_,q_,!1,Y_,null,null,null);function Y_(n){for(let t in ah)this[t]=ah[t]}const X_=function(){return K_.exports}();var Q_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[e("div",{staticClass:"container relative grow"},[n.starterOnTheLeft?e("life-line",{staticClass:"starter",class:{invisible:n.invisibleStarter},attrs:{entity:n.starterParticipant}}):n._e(),n._l(n.explicitGroupAndParticipants,function(r,s){return[r instanceof n.GroupContext?e("life-line-group",{key:s,attrs:{context:r}}):n._e(),r instanceof n.ParticipantContext?e("life-line",{key:s,attrs:{entity:n.getParticipantEntity(r)}}):n._e()]}),n._l(n.implicitParticipants,function(r){return e("life-line",{key:r.name,attrs:{entity:r}})})],2)])},J_=[];const lh=ir.child({name:"LifeLineLayer"}),tL={name:"life-line-layer",props:["context"],computed:{...Dt(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof Hu,r=t instanceof Gu;return e||r})}},methods:{...Er(["increaseGeneration"]),getParticipantEntity(n){return pi(n).First()}},updated(){lh.debug("LifeLineLayer updated")},mounted(){lh.debug("LifeLineLayer mounted")},components:{LifeLine:oh,LifeLineGroup:X_}},ch={};var eL=tt(tL,Q_,J_,!1,nL,null,null,null);function nL(n){for(let t in ch)this[t]=ch[t]}const rL=function(){return eL.exports}();var sL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message-layer pt-24 pb-10"},[e("block",{style:{"padding-left":n.paddingLeft+"px"},attrs:{context:n.context}})],1)},iL=[];const hw="",uh=ir.child({name:"MessageLayer"}),oL={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Dt(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Er(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){uh.debug("MessageLayer updated")},mounted(){uh.debug("MessageLayer mounted")}},hh={};var aL=tt(oL,sL,iL,!1,lL,null,null,null);function lL(n){for(let t in hh)this[t]=hh[t]}const cL=function(){return aL.exports}(),h1=30,fh=100,Vr={computed:{...Dt(["coordinates","distance2"]),localParticipants:function(){return[this.from,...pi(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).find(t=>this.localParticipants.includes(t))},rightParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).reverse().find(t=>this.localParticipants.includes(t))},depth:function(){return ju(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+h1},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+h1+fh+"px"}}}};var uL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:`${n.width}px`,paddingLeft:`${n.paddingLeft}px`}},[e("life-line-layer",{attrs:{context:n.rootContext.head()}}),e("message-layer",{attrs:{context:n.rootContext.block()}})],1)},hL=[];const fw="",fL={name:"seq-diagram",components:{LifeLineLayer:rL,MessageLayer:cL},computed:{...Dt(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+fh},depth:function(){return ju(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+h1}}},dh={};var dL=tt(fL,uL,hL,!1,pL,null,null,null);function pL(n){for(let t in dh)this[t]=dh[t]}const f1=function(){return dL.exports}();var gL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},n._l(n.types,function(r){return e("li",{key:r,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[e("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[n.icon?e("i",{staticClass:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${r}`},domProps:{innerHTML:n._s(n.icon(r))}}):n._e()]),e("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[e("div",{staticClass:"px-2 py-2 text-xs"},[e("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[n._v("@"+n._s(r))])])])])}),0)},xL=[];const mL={name:"IconList",props:["types"],computed:{},methods:{icon(n){return nh[n==null?void 0:n.toLowerCase()]}}},ph={};var _L=tt(mL,gL,xL,!1,LL,null,null,null);function LL(n){for(let t in ph)this[t]=ph[t]}const vL=function(){return _L.exports}();var yL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[e("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),e("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[n._v("")]),e("div",{staticClass:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},[e("div",[e("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[e("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[n._v("ZenUML Tips")]),e("button",{staticClass:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",attrs:{type:"button"},on:{click:function(r){return n.closeTipsDialog()}}},[e("span",{staticClass:"sr-only"},[n._v("Close menu")]),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[e("div",{staticClass:"relative"},[e("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[n._m(0),e("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Builtin Icons ")]),n._m(1),e("IconList",{attrs:{types:n.standardTypes}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.awsServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.azureServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.googleServices}})],1)])])])])])])])},CL=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[e("div",[e("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Declare Participants ")]),e("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[e("code",[n._v(`// Define a Starter (optional)
|
|
458
458
|
@Starter(A)
|
|
459
459
|
|
|
460
460
|
// Show icons
|
|
@@ -557,7 +557,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),at=y,U=E);const xt={co
|
|
|
557
557
|
<span class="http-method-${e[1].toLowerCase()}">${e[1]}</span>
|
|
558
558
|
<span class="http-path">${e[2]}</span>
|
|
559
559
|
</code>
|
|
560
|
-
`:`<code>${n}</code>`}};F.setOptions({highlight:function(n,t){if(!t)return vn.highlightAuto(n).value;const e=vn.getLanguage(t)?t:"plaintext";return vn.highlight(e,n).value},breaks:!0}),F.use({renderer:CC});const EC={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&F.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&F.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},u2={};var bC=tt(EC,vC,yC,!1,wC,"460475e2",null,null);function wC(n){for(let t in u2)this[t]=u2[t]}const Wr=function(){return bC.exports}();var TC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":n.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":n.center,"data-debug-center-of":n.computedCenter}},[this.context.braceBlock()?e("block",{attrs:{context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent}}):n._e()],1)},AC=[];const bw="",ww="",SC={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Dt(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},h2={};var RC=tt(SC,TC,AC,!1,kC,"03ad2cec",null,null);function kC(n){for(let t in h2)this[t]=h2[t]}const f2=function(){return RC.exports}();class Qn{constructor(t,e,r,s){this.start={line:t,col:e},this.stop={line:r,col:s}}static from(t){const e=t.start,r=t.stop;return new Qn(e.line,e.column,r.line,r.column+r.text.length)}}var OC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":n.rightToLeft,"-translate-x-full":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":n.rightToLeft},attrs:{"data-type":"creation","data-to":n.to}},[e("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:n.signature,rtl:n.rightToLeft,type:"creation"}}),e("div",{ref:"participantPlaceHolder",staticClass:"invisible right-0 flex flex-col justify-center flex-shrink-0"},[e("participant",{attrs:{entity:{name:n.to}}})],1)],1),e("occurrence",{staticClass:"pointer-events-auto",attrs:{context:n.creation,participant:n.to}}),n.assignee?e("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},NC=[];const d2=ir.child({name:"Creation"}),IC={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Dt(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(s){return s&&s.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const r=n(t.type());return e+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),d2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),d2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Qn.from(this.context))}},components:{Participant:sh,Comment:Wr,Occurrence:f2,Message:zr}},p2={};var MC=tt(IC,OC,NC,!1,PC,null,null,null);function PC(n){for(let t in p2)this[t]=p2[t]}const $C=function(){return MC.exports}();var DC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[e("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),e("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n.assignee?e("span",[n._v(n._s(n.assignee)+" = ")]):n._e(),n._v(" "+n._s(n.content))])])},FC=[];const BC={name:"self-invocation",props:["content","assignee"]},g2={};var UC=tt(BC,DC,FC,!1,HC,null,null,null);function HC(n){for(let t in g2)this[t]=g2[t]}const GC=function(){return UC.exports}();var jC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction sync inline-block",class:{highlight:n.isCurrent,self:n.isSelf},style:{width:!n.isSelf&&n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-to":n.to,"data-type":"interaction","data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.showStarter&&n.isRootBlock||n.outOfBand?e("div",{staticClass:"occurrence source border-2",class:{"right-to-left":n.rightToLeft}}):n._e(),n.hasComment?e("comment",{attrs:{commentObj:n.commentObj}}):n._e(),e(n.invocation,{tag:"component",staticClass:"text-center",attrs:{color:n.color,content:n.signature,assignee:n.assignee,rtl:n.rightToLeft,type:"sync"}}),e("occurrence",{attrs:{context:n.message,participant:n.to,selfCallIndent:n.passOnOffset,rtl:n.rightToLeft}}),n.assignee&&!n.isSelf?e("message",{staticClass:"return transform -translate-y-full",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},VC=[];const Tw="",zC={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Dt(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),r=this.selfCallIndent||0;return e+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof jm},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Message:zr,SelfInvocation:GC,Comment:Wr,Occurrence:f2}},x2={};var ZC=tt(zC,jC,VC,!1,qC,"654355dc",null,null);function qC(n){for(let t in x2)this[t]=x2[t]}const WC=function(){return ZC.exports}();var KC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[e("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),e("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n._v(n._s(n.content))])])},YC=[];const Aw="",XC={name:"self-invocation-async",props:["content"]},m2={};var QC=tt(XC,KC,YC,!1,JC,"15650a4a",null,null);function JC(n){for(let t in m2)this[t]=m2[t]}const tE=function(){return QC.exports}();var eE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction async",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e(n.invocation,{tag:"component",attrs:{content:n.signature,rtl:n.rightToLeft,type:"async"}})],1)},nE=[];const Sw="";function S1(n){return n==null}const rE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return S1(this.cursor)||S1(n)||S1(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,SelfInvocationAsync:tE,Message:zr}},_2={};var sE=tt(rE,eE,nE,!1,iE,"146d3785",null,null);function iE(n){for(let t in _2)this[t]=_2[t]}const oE=function(){return sE.exports}();var aE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment alt border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment,commentObj:n.commentObj}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),n.blockInIfBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInIfBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1)],1),n._l(n.alt.elseIfBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"text-skin-fragment"},[e("label",{staticClass:"else-if hidden"},[n._v("else if")]),e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.conditionFromIfElseBlock(r))+"]")])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInElseIfBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.elseBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.elseBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},lE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Alt")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"p-1"},[n._v("[else]")])])}];const Rw="",cE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},L2={};var uE=tt(cE,aE,lE,!1,hE,"44efdc8c",null,null);function hE(n){for(let t in L2)this[t]=L2[t]}const fE=function(){return uE.exports}();var dE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment par border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.par.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},pE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Par")])])])}];const kw="",Ow="",gE={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},v2={};var xE=tt(gE,dE,pE,!1,mE,"52a95b3f",null,null);function mE(n){for(let t in v2)this[t]=v2[t]}const _E=function(){return xE.exports}();var LE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment loop border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInLoop,selfCallIndent:n.selfCallIndent}})],1)],1)},vE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Loop")])])])}];const Nw="",yE={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},y2={};var CE=tt(yE,LE,vE,!1,EE,"645ba87b",null,null);function EE(n){for(let t in y2)this[t]=y2[t]}const bE=function(){return CE.exports}();var wE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment opt border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},TE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Opt")])])])}];const Iw="",AE={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},C2={};var SE=tt(AE,wE,TE,!1,RE,"08f77468",null,null);function RE(n){for(let t in C2)this[t]=C2[t]}const kE=function(){return SE.exports}();var OE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),n.blockInTryBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInTryBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1),n._l(n.tcf.catchBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"header text-skin-fragment"},[e("label",{staticClass:"keyword catch p-1"},[n._v("catch")]),e("label",{staticClass:"exception p-1"},[n._v(n._s(n.exception(r)))])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInCatchBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.finallyBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.finallyBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},NE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Try")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment finally"},[e("label",{staticClass:"keyword finally p-1"},[n._v("finally")])])}];const Mw="",IE={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},E2={};var ME=tt(IE,OE,NE,!1,PE,"55e59ff3",null,null);function PE(n){for(let t in E2)this[t]=E2[t]}const $E=function(){return ME.exports}();var DE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction return relative",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.width+"px",left:n.left+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n.isSelf?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[e("path",{staticClass:"cls-1",attrs:{d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"}})]),e("span",{staticClass:"name text-sm"},[n._v(n._s(n.signature))])]):n._e(),n.isSelf?n._e():e("Message",{attrs:{content:n.signature,rtl:n.rightToLeft,type:"return"}})],1)},FE=[];const BE={name:"return",props:["context","comment"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?gi(this.signature,Wn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,r,s;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((s=(r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,r;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,Message:zr}},b2={};var UE=tt(BE,DE,FE,!1,HE,null,null,null);function HE(n){for(let t in b2)this[t]=b2[t]}const GE=function(){return UE.exports}();var jE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"divider",style:{width:n.width+"px",transform:"translateX("+(-1*n.centerOfFrom+10)+"px)"}},[e("div",{staticClass:"left bg-skin-divider"}),e("div",{staticClass:"name"},[n._v(n._s(n.name))]),e("div",{staticClass:"right bg-skin-divider"})])},VE=[];const Pw="",zE={name:"divider",props:["context"],computed:{...Dt(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},w2={};var ZE=tt(zE,jE,VE,!1,qE,"83993fee",null,null);function qE(n){for(let t in w2)this[t]=w2[t]}const WE=function(){return ZE.exports}();class KE{constructor(t){const e=t.split(`
|
|
560
|
+
`:`<code>${n}</code>`}};F.setOptions({highlight:function(n,t){if(!t)return vn.highlightAuto(n).value;const e=vn.getLanguage(t)?t:"plaintext";return vn.highlight(e,n).value},breaks:!0}),F.use({renderer:CC});const EC={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&F.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&F.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},u2={};var bC=tt(EC,vC,yC,!1,wC,"460475e2",null,null);function wC(n){for(let t in u2)this[t]=u2[t]}const Wr=function(){return bC.exports}();var TC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":n.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":n.center,"data-debug-center-of":n.computedCenter}},[this.context.braceBlock()?e("block",{attrs:{context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent}}):n._e()],1)},AC=[];const bw="",ww="",SC={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Dt(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},h2={};var RC=tt(SC,TC,AC,!1,kC,"03ad2cec",null,null);function kC(n){for(let t in h2)this[t]=h2[t]}const f2=function(){return RC.exports}();class Qn{constructor(t,e,r,s){this.start={line:t,col:e},this.stop={line:r,col:s}}static from(t){const e=t.start,r=t.stop;return new Qn(e.line,e.column,r.line,r.column+r.text.length)}}var OC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":n.rightToLeft,"-translate-x-full":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":n.rightToLeft},attrs:{"data-type":"creation","data-to":n.to}},[e("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:n.signature,rtl:n.rightToLeft,type:"creation"}}),e("div",{ref:"participantPlaceHolder",staticClass:"invisible right-0 flex flex-col justify-center flex-shrink-0"},[e("participant",{attrs:{entity:{name:n.to}}})],1)],1),e("occurrence",{staticClass:"pointer-events-auto",attrs:{context:n.creation,participant:n.to}}),n.assignee?e("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},NC=[];const d2=ir.child({name:"Creation"}),IC={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Dt(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(s){return s&&s.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const r=n(t.type());return e+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),d2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),d2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Qn.from(this.context))}},components:{Participant:sh,Comment:Wr,Occurrence:f2,Message:zr}},p2={};var MC=tt(IC,OC,NC,!1,PC,null,null,null);function PC(n){for(let t in p2)this[t]=p2[t]}const $C=function(){return MC.exports}();var DC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[e("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),e("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n.assignee?e("span",[n._v(n._s(n.assignee)+" = ")]):n._e(),n._v(" "+n._s(n.content))])])},FC=[];const BC={name:"self-invocation",props:["content","assignee"]},g2={};var UC=tt(BC,DC,FC,!1,HC,null,null,null);function HC(n){for(let t in g2)this[t]=g2[t]}const GC=function(){return UC.exports}();var jC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction sync inline-block",class:{highlight:n.isCurrent,self:n.isSelf},style:{width:!n.isSelf&&n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-to":n.to,"data-type":"interaction","data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.showStarter&&n.isRootBlock||n.outOfBand?e("div",{staticClass:"occurrence source border-2",class:{"right-to-left":n.rightToLeft}}):n._e(),n.hasComment?e("comment",{attrs:{commentObj:n.commentObj}}):n._e(),e(n.invocation,{tag:"component",staticClass:"text-center",attrs:{color:n.color,content:n.signature,assignee:n.assignee,rtl:n.rightToLeft,type:"sync"}}),e("occurrence",{attrs:{context:n.message,participant:n.to,selfCallIndent:n.passOnOffset,rtl:n.rightToLeft}}),n.assignee&&!n.isSelf?e("message",{staticClass:"return transform -translate-y-full",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},VC=[];const Tw="",zC={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Dt(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),r=this.selfCallIndent||0;return e+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof jm},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Message:zr,SelfInvocation:GC,Comment:Wr,Occurrence:f2}},x2={};var ZC=tt(zC,jC,VC,!1,qC,"32c22074",null,null);function qC(n){for(let t in x2)this[t]=x2[t]}const WC=function(){return ZC.exports}();var KC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[e("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),e("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n._v(n._s(n.content))])])},YC=[];const Aw="",XC={name:"self-invocation-async",props:["content"]},m2={};var QC=tt(XC,KC,YC,!1,JC,"15650a4a",null,null);function JC(n){for(let t in m2)this[t]=m2[t]}const tE=function(){return QC.exports}();var eE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction async",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e(n.invocation,{tag:"component",attrs:{content:n.signature,rtl:n.rightToLeft,type:"async"}})],1)},nE=[];const Sw="";function S1(n){return n==null}const rE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return S1(this.cursor)||S1(n)||S1(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,SelfInvocationAsync:tE,Message:zr}},_2={};var sE=tt(rE,eE,nE,!1,iE,"146d3785",null,null);function iE(n){for(let t in _2)this[t]=_2[t]}const oE=function(){return sE.exports}();var aE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment alt border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment,commentObj:n.commentObj}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),n.blockInIfBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInIfBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1)],1),n._l(n.alt.elseIfBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"text-skin-fragment"},[e("label",{staticClass:"else-if hidden"},[n._v("else if")]),e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.conditionFromIfElseBlock(r))+"]")])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInElseIfBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.elseBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.elseBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},lE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Alt")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"p-1"},[n._v("[else]")])])}];const Rw="",cE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},L2={};var uE=tt(cE,aE,lE,!1,hE,"44efdc8c",null,null);function hE(n){for(let t in L2)this[t]=L2[t]}const fE=function(){return uE.exports}();var dE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment par border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.par.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},pE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Par")])])])}];const kw="",Ow="",gE={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},v2={};var xE=tt(gE,dE,pE,!1,mE,"52a95b3f",null,null);function mE(n){for(let t in v2)this[t]=v2[t]}const _E=function(){return xE.exports}();var LE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment loop border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInLoop,selfCallIndent:n.selfCallIndent}})],1)],1)},vE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Loop")])])])}];const Nw="",yE={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},y2={};var CE=tt(yE,LE,vE,!1,EE,"645ba87b",null,null);function EE(n){for(let t in y2)this[t]=y2[t]}const bE=function(){return CE.exports}();var wE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment opt border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},TE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Opt")])])])}];const Iw="",AE={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},C2={};var SE=tt(AE,wE,TE,!1,RE,"08f77468",null,null);function RE(n){for(let t in C2)this[t]=C2[t]}const kE=function(){return SE.exports}();var OE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),n.blockInTryBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInTryBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1),n._l(n.tcf.catchBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"header text-skin-fragment"},[e("label",{staticClass:"keyword catch p-1"},[n._v("catch")]),e("label",{staticClass:"exception p-1"},[n._v(n._s(n.exception(r)))])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInCatchBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.finallyBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.finallyBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},NE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Try")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment finally"},[e("label",{staticClass:"keyword finally p-1"},[n._v("finally")])])}];const Mw="",IE={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},E2={};var ME=tt(IE,OE,NE,!1,PE,"55e59ff3",null,null);function PE(n){for(let t in E2)this[t]=E2[t]}const $E=function(){return ME.exports}();var DE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction return relative",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.width+"px",left:n.left+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n.isSelf?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[e("path",{staticClass:"cls-1",attrs:{d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"}})]),e("span",{staticClass:"name text-sm"},[n._v(n._s(n.signature))])]):n._e(),n.isSelf?n._e():e("Message",{attrs:{content:n.signature,rtl:n.rightToLeft,type:"return"}})],1)},FE=[];const BE={name:"return",props:["context","comment"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?gi(this.signature,Wn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,r,s;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((s=(r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,r;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,Message:zr}},b2={};var UE=tt(BE,DE,FE,!1,HE,null,null,null);function HE(n){for(let t in b2)this[t]=b2[t]}const GE=function(){return UE.exports}();var jE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"divider",style:{width:n.width+"px",transform:"translateX("+(-1*n.centerOfFrom+10)+"px)"}},[e("div",{staticClass:"left bg-skin-divider"}),e("div",{staticClass:"name"},[n._v(n._s(n.name))]),e("div",{staticClass:"right bg-skin-divider"})])},VE=[];const Pw="",zE={name:"divider",props:["context"],computed:{...Dt(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},w2={};var ZE=tt(zE,jE,VE,!1,qE,"83993fee",null,null);function qE(n){for(let t in w2)this[t]=w2[t]}const WE=function(){return ZE.exports}();class KE{constructor(t){const e=t.split(`
|
|
561
561
|
`);this.color=e.find(s=>s.trimStart().startsWith("[red]"))?"red":void 0;const r=e.map(s=>s.replace("[red]",""));this.text=r.join(`
|
|
562
562
|
`),this.text=this.text.trimEnd()}}var YE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e(n.subStatement,{tag:"component",staticClass:"text-left text-sm text-skin-message",attrs:{context:n.context,comment:n.comment,commentObj:n.commentObj,selfCallIndent:n.selfCallIndent}})},XE=[];const QE={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new KE(this.comment)},subStatement:function(){let n=this,t={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},e=Object.keys(t).find(r=>n.context[r]()!==null);return t[e]}},components:{Creation:$C,Interaction:WC,InteractionAsync:oE,FragmentAlt:fE,FragmentPar:_E,FragmentOpt:kE,FragmentTryCatchFinally:$E,FragmentLoop:bE,Divider:WE,Return:GE}},T2={};var JE=tt(QE,YE,XE,!1,tb,null,null,null);function tb(n){for(let t in T2)this[t]=T2[t]}const eb=function(){return JE.exports}();var nb=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"block"},n._l(n.statements,function(r,s){return e("div",{key:s,staticClass:"statement-container mt-1"},[e("statement",{attrs:{context:r,selfCallIndent:n.selfCallIndent}})],1)}),0)},rb=[];const sb={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:eb}},A2={};var ib=tt(sb,nb,rb,!1,ob,null,null,null);function ob(n){for(let t in A2)this[t]=A2[t]}const ab=function(){return ib.exports}(),lb=ir.child({name:"core"});ct.component("Comment",Wr),ct.component("Block",ab),ct.use(Bo);class cb{constructor(t,e=!1){this.el=t,this.store=Ku(),this.app=new ct({el:this.el,store:new Bo.Store(this.store),render:r=>r(e?f1:$h)})}async render(t,e){return lb.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.theme=this._theme||"default",await this.app.$store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.app.$children[0].toPng()}}const ub={Vue:ct,Vuex:Bo,Store:Ku,SeqDiagram:f1,DiagramFrame:$h};Wt.VueSequence=ub,Wt.default=cb,Object.defineProperties(Wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
563
563
|
//# sourceMappingURL=zenuml.js.map
|