@zenuml/core 3.18.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zenuml.js CHANGED
@@ -15,7 +15,7 @@
15
15
  `))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const n=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?n+"=>"+wr(e.predicates):n+"=>"+e.prediction.toString():n}}class H4 extends ma{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class Mp{constructor(e,n){if(n===void 0&&(n=0),this.atnStartState=e,this.decision=n,this._states=new tn,this.s0=null,this.precedenceDfa=!1,e instanceof ts&&e.isPrecedenceDecision){this.precedenceDfa=!0;const r=new nr(null,new Nt);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,n){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=n)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new tn,e){const n=new nr(null,new Nt);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(n,r){return n.stateNumber-r.stateNumber})}toString(e,n){return e=e||null,n=n||null,this.s0===null?"":new ma(this,e,n).toString()}toLexerString(){return this.s0===null?"":new H4(this).toString()}get states(){return this._states}}const Np={DFA:Mp,DFASerializer:ma,LexerDFASerializer:H4,PredPrediction:B4};class U4{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class Pp{visit(e){return Array.isArray(e)?e.map(function(n){return n.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class xa{walk(e,n){if(n instanceof x1||n.isErrorNode!==void 0&&n.isErrorNode())e.visitErrorNode(n);else if(n instanceof er)e.visitTerminal(n);else{this.enterRule(e,n);for(let s=0;s<n.getChildCount();s++){const i=n.getChild(s);this.walk(e,i)}this.exitRule(e,n)}}enterRule(e,n){const r=n.getRuleContext();e.enterEveryRule(r),r.enterRule(e)}exitRule(e,n){const r=n.getRuleContext();r.exitRule(e),e.exitEveryRule(r)}}xa.DEFAULT=new xa;const Fp={Trees:Pn,RuleNode:m1,ErrorNode:x1,TerminalNode:er,ParseTreeListener:U4,ParseTreeVisitor:Pp,ParseTreeWalker:xa};class G0 extends br{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class z4 extends br{constructor(e,n,r){super({message:Dp(n,r||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const i=e._interp.atn.states[e.state].transitions[0];i instanceof P4?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=n,this.offendingToken=e.getCurrentToken()}}function Dp(t,e){return e!==null?e:"failed predicate: {"+t+"}?"}class $p extends w1{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,n,r,s,i,o,l){if(this.exactOnly&&!i)return;const a="reportAmbiguity d="+this.getDecisionDescription(e,n)+": ambigAlts="+this.getConflictingAlts(o,l)+", input='"+e.getTokenStream().getText(new He(r,s))+"'";e.notifyErrorListeners(a)}reportAttemptingFullContext(e,n,r,s,i,o){const l="reportAttemptingFullContext d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new He(r,s))+"'";e.notifyErrorListeners(l)}reportContextSensitivity(e,n,r,s,i,o){const l="reportContextSensitivity d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new He(r,s))+"'";e.notifyErrorListeners(l)}getDecisionDescription(e,n){const r=n.decision,s=n.atnStartState.ruleIndex,i=e.ruleNames;if(s<0||s>=i.length)return""+r;const o=i[s]||null;return o===null||o.length===0?""+r:`${r} (${o})`}getConflictingAlts(e,n){if(e!==null)return e;const r=new Dn;for(let s=0;s<n.items.length;s++)r.add(n.items[s].alt);return`{${r.values().join(", ")}}`}}class _a extends Error{constructor(){super(),Error.captureStackTrace(this,_a)}}class Bp{reset(e){}recoverInline(e){}recover(e,n){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class La extends Bp{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,n){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),n instanceof ga?this.reportNoViableAlternative(e,n):n instanceof G0?this.reportInputMismatch(e,n):n instanceof z4?this.reportFailedPredicate(e,n):(console.log("unknown recognition error type: "+n.constructor.name),console.log(n.stack),e.notifyErrorListeners(n.getOffendingToken(),n.getMessage(),n)))}recover(e,n){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const r=this.getErrorRecoverySet(e);this.consumeUntil(e,r)}sync(e){if(this.inErrorRecoveryMode(e))return;const n=e._interp.atn.states[e.state],r=e.getTokenStream().LA(1),s=e.atn.nextTokens(n);if(s.contains(r)){this.nextTokensContext=null,this.nextTokenState=ae.INVALID_STATE_NUMBER;return}else if(s.contains(z.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(n.stateType){case ae.BLOCK_START:case ae.STAR_BLOCK_START:case ae.PLUS_BLOCK_START:case ae.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new G0(e);case ae.PLUS_LOOP_BACK:case ae.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const i=new un;i.addSet(e.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,o)}break}}reportNoViableAlternative(e,n){const r=e.getTokenStream();let s;r!==null?n.startToken.type===z.EOF?s="<EOF>":s=r.getText(new He(n.startToken.tokenIndex,n.offendingToken.tokenIndex)):s="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(s);e.notifyErrorListeners(i,n.offendingToken,n)}reportInputMismatch(e,n){const r="mismatched input "+this.getTokenErrorDisplay(n.offendingToken)+" expecting "+n.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(r,n.offendingToken,n)}reportFailedPredicate(e,n){const s="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+n.message;e.notifyErrorListeners(s,n.offendingToken,n)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),r=this.getTokenErrorDisplay(n),s=this.getExpectedTokens(e),i="extraneous input "+r+" expecting "+s.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(i,n,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),s="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(n);e.notifyErrorListeners(s,n,null)}recoverInline(e){const n=this.singleTokenDeletion(e);if(n!==null)return e.consume(),n;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new G0(e)}singleTokenInsertion(e){const n=e.getTokenStream().LA(1),r=e._interp.atn,i=r.states[e.state].transitions[0].target;return r.nextTokens(i,e._ctx).contains(n)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const n=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(n)){this.reportUnwantedToken(e),e.consume();const s=e.getCurrentToken();return this.reportMatch(e),s}else return null}getMissingSymbol(e){const n=e.getCurrentToken(),s=this.getExpectedTokens(e).first();let i;s===z.EOF?i="<missing EOF>":i="<missing "+e.literalNames[s]+">";let o=n;const l=e.getTokenStream().LT(-1);return o.type===z.EOF&&l!==null&&(o=l),e.getTokenFactory().create(o.source,s,i,z.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===z.EOF?n="<EOF>":n="<"+e.type+">"),this.escapeWSAndQuote(n)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const n=e._interp.atn;let r=e._ctx;const s=new un;for(;r!==null&&r.invokingState>=0;){const o=n.states[r.invokingState].transitions[0],l=n.nextTokens(o.followState);s.addSet(l),r=r.parentCtx}return s.removeOne(z.EPSILON),s}consumeUntil(e,n){let r=e.getTokenStream().LA(1);for(;r!==z.EOF&&!n.contains(r);)e.consume(),r=e.getTokenStream().LA(1)}}class Hp extends La{constructor(){super()}recover(e,n){let r=e._ctx;for(;r!==null;)r.exception=n,r=r.parentCtx;throw new _a(n)}recoverInline(e){this.recover(e,new G0(e))}sync(e){}}const Up={RecognitionException:br,NoViableAltException:ga,LexerNoViableAltException:pa,InputMismatchException:G0,FailedPredicateException:z4,DiagnosticErrorListener:$p,BailErrorStrategy:Hp,DefaultErrorStrategy:La,ErrorListener:w1};class rs{constructor(e,n){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=n||!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(e){if(e===0)return 0;e<0&&(e+=1);const n=this._index+e-1;return n<0||n>=this._size?z.EOF:this.data[n]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,n){if(n>=this._size&&(n=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let s=e;s<=n;s++)r+=String.fromCodePoint(this.data[s]);return r}else return this.strdata.slice(e,n+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const ya={},zp={fromString:function(t){return new rs(t,!0)},fromBlob:function(t,e,n,r){const s=new window.FileReader;s.onload=function(i){const o=new rs(i.target.result,!0);n(o)},s.onerror=r,s.readAsText(t,e)},fromBuffer:function(t,e){return new rs(t.toString(e),!0)},fromPath:function(t,e,n){ya.readFile(t,e,function(r,s){let i=null;s!==null&&(i=new rs(s,!0)),n(r,i)})},fromPathSync:function(t,e){const n=ya.readFileSync(t,e);return new rs(n,!0)}};class Vp extends rs{constructor(e,n){const r=ya.readFileSync(e,"utf8");super(r,n),this.fileName=e}}class Gp{}class jp extends Gp{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===z.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const n=e-this.tokens.length+1;return n>0?this.fetch(n)>=n:!0}fetch(e){if(this.fetchedEOF)return 0;for(let n=0;n<e;n++){const r=this.tokenSource.nextToken();if(r.tokenIndex=this.tokens.length,this.tokens.push(r),r.type===z.EOF)return this.fetchedEOF=!0,n+1}return e}getTokens(e,n,r){if(r===void 0&&(r=null),e<0||n<0)return null;this.lazyInit();const s=[];n>=this.tokens.length&&(n=this.tokens.length-1);for(let i=e;i<n;i++){const o=this.tokens[i];if(o.type===z.EOF)break;(r===null||r.contains(o.type))&&s.push(o)}return s}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const n=this.index+e-1;return this.sync(n),n>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[n]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,n){if(this.sync(e),e>=this.tokens.length)return-1;let r=this.tokens[e];for(;r.channel!==this.channel;){if(r.type===z.EOF)return-1;e+=1,this.sync(e),r=this.tokens[e]}return e}previousTokenOnChannel(e,n){for(;e>=0&&this.tokens[e].channel!==n;)e-=1;return e}getHiddenTokensToRight(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const r=this.nextTokenOnChannel(e+1,st.DEFAULT_TOKEN_CHANNEL),s=e+1,i=r===-1?this.tokens.length-1:r;return this.filterForChannel(s,i,n)}getHiddenTokensToLeft(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const r=this.previousTokenOnChannel(e-1,st.DEFAULT_TOKEN_CHANNEL);if(r===e-1)return null;const s=r+1,i=e-1;return this.filterForChannel(s,i,n)}filterForChannel(e,n,r){const s=[];for(let i=e;i<n+1;i++){const o=this.tokens[i];r===-1?o.channel!==st.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===r&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new He(0,this.tokens.length-1));let n=e.start;n instanceof z&&(n=n.tokenIndex);let r=e.stop;if(r instanceof z&&(r=r.tokenIndex),n===null||r===null||n<0||r<0)return"";r>=this.tokens.length&&(r=this.tokens.length-1);let s="";for(let i=n;i<r+1;i++){const o=this.tokens[i];if(o.type===z.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class Zp extends jp{constructor(e,n){super(e),this.channel=n===void 0?z.DEFAULT_CHANNEL:n}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let n=this.index,r=1;for(;r<=e;)n=this.previousTokenOnChannel(n-1,this.channel),r+=1;return n<0?null:this.tokens[n]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let n=this.index,r=1;for(;r<e;)this.sync(n+1)&&(n=this.nextTokenOnChannel(n+1,this.channel)),r+=1;return this.tokens[n]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let n=0;n<this.tokens.length;n++){const r=this.tokens[n];if(r.channel===this.channel&&(e+=1),r.type===z.EOF)break}return e}}class Wp extends U4{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class V4 extends b1{constructor(e){super(),this._input=null,this._errHandler=new La,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}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(e){let n=this.getCurrentToken();return n.type===e?(this._errHandler.reportMatch(this),this.consume()):(n=this._errHandler.recoverInline(this),this.buildParseTrees&&n.tokenIndex===-1&&this._ctx.addErrorNode(n)),n}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const n=this._parseListeners.indexOf(e);n>=0&&this._parseListeners.splice(n,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(n){n.enterEveryRule(e),e.enterRule(n)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(n){e.exitRule(n),n.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let n=this.bypassAltsAtnCache[e];if(n===null){const r=new z0;r.generateRuleBypassTransitions=!0,n=new F4(r).deserialize(e),this.bypassAltsAtnCache[e]=n}return n}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,n,r){n=n||null,r=r||null,n===null&&(n=this.getCurrentToken()),this._syntaxErrors+=1;const s=n.line,i=n.column;this.getErrorListenerDispatch().syntaxError(this,n,s,i,e,r)}consume(){const e=this.getCurrentToken();e.type!==z.EOF&&this.getInputStream().consume();const n=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||n){let r;this._errHandler.inErrorRecoveryMode(this)?r=this._ctx.addErrorNode(e):r=this._ctx.addTokenNode(e),r.invokingState=this.state,n&&this._parseListeners.forEach(function(s){r instanceof x1||r.isErrorNode!==void 0&&r.isErrorNode()?s.visitErrorNode(r):r instanceof er&&s.visitTerminal(r)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,n,r){this.state=n,this._ctx=e,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(e,n){e.setAltNumber(n),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,n,r,s){this.state=n,this._precedenceStack.push(s),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,n,r){const s=this._ctx;s.parentCtx=e,s.invokingState=n,s.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const n=this._ctx,r=this.getParseListeners();if(r!==null&&r.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;n.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(n)}getInvokingContext(e){let n=this._ctx;for(;n!==null;){if(n.ruleIndex===e)return n;n=n.parentCtx}return null}precpred(e,n){return n>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const n=this._interp.atn;let r=this._ctx;const s=n.states[this.state];let i=n.nextTokens(s);if(i.contains(e))return!0;if(!i.contains(z.EPSILON))return!1;for(;r!==null&&r.invokingState>=0&&i.contains(z.EPSILON);){const l=n.states[r.invokingState].transitions[0];if(i=n.nextTokens(l.followState),i.contains(e))return!0;r=r.parentCtx}return!!(i.contains(z.EPSILON)&&e===z.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,n=e.states[this.state];return e.nextTokens(n)}getRuleIndex(e){const n=this.getRuleIndexMap()[e];return n!==null?n:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const n=[];for(;e!==null;){const r=e.ruleIndex;r<0?n.push("n/a"):n.push(this.ruleNames[r]),e=e.parentCtx}return n}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let n=0;n<this._interp.decisionToDFA.length;n++){const r=this._interp.decisionToDFA[n];r.states.length>0&&(e&&console.log(),this.printer.println("Decision "+r.decision+":"),this.printer.print(r.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new Wp(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}V4.bypassAltsAtnCache={};class qp{constructor(){this.cache=new H0}add(e){if(e===Ae.EMPTY)return Ae.EMPTY;const n=this.cache.get(e)||null;return n!==null?n:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class G4 extends er{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return He.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new He(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===z.EOF?"<EOF>":this.symbol.text}}class j4 extends G4{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}class Z4 extends zs{constructor(e,n){e=e||null,n=n||null,super(e,n),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(n){n instanceof j4&&(this.children.push(n),n.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const n=new G4(e);return this.addChild(n),n.parentCtx=this,n}addErrorNode(e){const n=new j4(e);return this.addChild(n),n.parentCtx=this,n}getChild(e,n){if(n=n||null,this.children===null||e<0||e>=this.children.length)return null;if(n===null)return this.children[e];for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof n){if(e===0)return s;e-=1}}return null}getToken(e,n){if(this.children===null||n<0||n>=this.children.length)return null;for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof er&&s.symbol.type===e){if(n===0)return s;n-=1}}return null}getTokens(e){if(this.children===null)return[];{const n=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof er&&s.symbol.type===e&&n.push(s)}return n}}getTypedRuleContext(e,n){return this.getChild(n,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const n=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof e&&n.push(s)}return n}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?He.INVALID_INTERVAL:new He(this.start.tokenIndex,this.stop.tokenIndex)}}zs.EMPTY=new Z4;const E={atn:Ip,dfa:Np,tree:Fp,error:Up,Token:z,CommonToken:ns,CharStreams:zp,InputStream:rs,FileStream:Vp,CommonTokenStream:Zp,Lexer:st,Parser:V4,PredictionContextCache:qp,ParserRuleContext:Z4,Interval:He,IntervalSet:un,LL1Analyzer:Vs,Utils:{arrayToString:wr}},Kp=[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],va=new E.atn.ATNDeserializer().deserialize(Kp),Yp=va.decisionToState.map((t,e)=>new E.dfa.DFA(t,e));class K extends E.Lexer{constructor(e){super(e),this._interp=new E.atn.LexerATNSimulator(this,va,Yp,new E.PredictionContextCache)}get atn(){return va}}J(K,"grammarFileName","sequenceLexer.g4"),J(K,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),J(K,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),J(K,"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,"'.'"]),J(K,"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"]),J(K,"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"]),K.EOF=E.Token.EOF,K.WS=1,K.CONSTANT=2,K.READONLY=3,K.STATIC=4,K.AWAIT=5,K.TITLE=6,K.COL=7,K.SOPEN=8,K.SCLOSE=9,K.ARROW=10,K.COLOR=11,K.OR=12,K.AND=13,K.EQ=14,K.NEQ=15,K.GT=16,K.LT=17,K.GTEQ=18,K.LTEQ=19,K.PLUS=20,K.MINUS=21,K.MULT=22,K.DIV=23,K.MOD=24,K.POW=25,K.NOT=26,K.SCOL=27,K.COMMA=28,K.ASSIGN=29,K.OPAR=30,K.CPAR=31,K.OBRACE=32,K.CBRACE=33,K.TRUE=34,K.FALSE=35,K.NIL=36,K.IF=37,K.ELSE=38,K.WHILE=39,K.RETURN=40,K.NEW=41,K.PAR=42,K.GROUP=43,K.OPT=44,K.AS=45,K.TRY=46,K.CATCH=47,K.FINALLY=48,K.IN=49,K.STARTER_LXR=50,K.ANNOTATION_RET=51,K.ANNOTATION=52,K.DOT=53,K.ID=54,K.INT=55,K.FLOAT=56,K.STRING=57,K.CR=58,K.COMMENT=59,K.OTHER=60,K.DIVIDER=61,K.EVENT_PAYLOAD_LXR=62,K.EVENT_END=63,K.TITLE_CONTENT=64,K.TITLE_END=65,K.COMMENT_CHANNEL=2,K.MODIFIER_CHANNEL=3,K.EVENT=1,K.TITLE_MODE=2,K.prototype.sempred=function(t,e,n){switch(e){case 61:return this.DIVIDER_sempred(t,n);default:throw"No registered predicate for:"+e}},K.prototype.DIVIDER_sempred=function(t,e){switch(e){case 0:return this.column===0;default:throw"No predicate with index:"+e}};class A extends E.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCreation(e){}exitCreation(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}}const Xp=[4,1,65,552,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,3,1,130,8,1,1,1,3,1,133,8,1,1,2,1,2,4,2,137,8,2,11,2,12,2,138,1,2,1,2,5,2,143,8,2,10,2,12,2,146,9,2,1,2,3,2,149,8,2,1,3,1,3,3,3,153,8,3,1,3,1,3,5,3,157,8,3,10,3,12,3,160,9,3,1,3,1,3,1,3,3,3,165,8,3,1,3,1,3,1,3,3,3,170,8,3,3,3,172,8,3,1,4,1,4,1,4,3,4,177,8,4,1,4,3,4,180,8,4,1,4,3,4,183,8,4,1,5,1,5,1,6,3,6,188,8,6,1,6,3,6,191,8,6,1,6,1,6,3,6,195,8,6,1,6,3,6,198,8,6,1,6,3,6,201,8,6,1,6,1,6,3,6,205,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,214,8,7,1,7,1,7,3,7,218,8,7,3,7,220,8,7,1,8,1,8,1,8,3,8,225,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,234,8,12,11,12,12,12,235,1,13,1,13,3,13,240,8,13,1,13,3,13,243,8,13,1,13,1,13,1,13,3,13,248,8,13,3,13,250,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,264,8,16,1,16,1,16,1,16,1,16,1,16,3,16,271,8,16,1,17,1,17,1,17,3,17,276,8,17,1,18,1,18,1,18,3,18,281,8,18,1,19,1,19,1,19,3,19,286,8,19,1,20,3,20,289,8,20,1,20,1,20,1,20,1,20,3,20,295,8,20,1,20,3,20,298,8,20,1,20,3,20,301,8,20,1,20,3,20,304,8,20,1,21,1,21,1,21,3,21,309,8,21,1,22,3,22,312,8,22,1,22,1,22,1,22,3,22,317,8,22,1,22,1,22,1,22,3,22,322,8,22,1,22,1,22,1,22,1,22,1,22,3,22,329,8,22,1,22,1,22,1,22,3,22,334,8,22,1,23,1,23,1,23,5,23,339,8,23,10,23,12,23,342,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,350,8,26,1,27,1,27,3,27,354,8,27,1,27,1,27,1,28,3,28,359,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,367,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,376,8,29,3,29,378,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,390,8,33,10,33,12,33,393,9,33,1,33,3,33,396,8,33,1,34,1,34,1,35,1,35,1,35,5,35,403,8,35,10,35,12,35,406,9,35,1,35,3,35,409,8,35,1,36,1,36,3,36,413,8,36,1,37,1,37,1,37,1,38,1,38,5,38,420,8,38,10,38,12,38,423,9,38,1,38,3,38,426,8,38,1,39,1,39,1,39,1,40,1,40,3,40,433,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,442,8,42,10,42,12,42,445,9,42,1,42,3,42,448,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,464,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,475,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,486,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,497,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,520,8,48,10,48,12,48,523,9,48,1,49,1,49,1,49,1,49,1,49,3,49,530,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,541,8,50,1,51,1,51,1,51,3,51,546,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,609,0,125,1,0,0,0,2,127,1,0,0,0,4,148,1,0,0,0,6,171,1,0,0,0,8,182,1,0,0,0,10,184,1,0,0,0,12,204,1,0,0,0,14,219,1,0,0,0,16,224,1,0,0,0,18,226,1,0,0,0,20,228,1,0,0,0,22,230,1,0,0,0,24,233,1,0,0,0,26,249,1,0,0,0,28,251,1,0,0,0,30,253,1,0,0,0,32,270,1,0,0,0,34,275,1,0,0,0,36,280,1,0,0,0,38,282,1,0,0,0,40,303,1,0,0,0,42,305,1,0,0,0,44,333,1,0,0,0,46,335,1,0,0,0,48,343,1,0,0,0,50,345,1,0,0,0,52,347,1,0,0,0,54,351,1,0,0,0,56,358,1,0,0,0,58,377,1,0,0,0,60,379,1,0,0,0,62,381,1,0,0,0,64,383,1,0,0,0,66,395,1,0,0,0,68,397,1,0,0,0,70,399,1,0,0,0,72,412,1,0,0,0,74,414,1,0,0,0,76,417,1,0,0,0,78,427,1,0,0,0,80,430,1,0,0,0,82,436,1,0,0,0,84,439,1,0,0,0,86,449,1,0,0,0,88,453,1,0,0,0,90,458,1,0,0,0,92,461,1,0,0,0,94,474,1,0,0,0,96,496,1,0,0,0,98,529,1,0,0,0,100,540,1,0,0,0,102,545,1,0,0,0,104,547,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,129,5,6,0,0,128,130,5,64,0,0,129,128,1,0,0,0,129,130,1,0,0,0,130,132,1,0,0,0,131,133,5,65,0,0,132,131,1,0,0,0,132,133,1,0,0,0,133,3,1,0,0,0,134,137,3,6,3,0,135,137,3,12,6,0,136,134,1,0,0,0,136,135,1,0,0,0,137,138,1,0,0,0,138,136,1,0,0,0,138,139,1,0,0,0,139,149,1,0,0,0,140,143,3,6,3,0,141,143,3,12,6,0,142,140,1,0,0,0,142,141,1,0,0,0,143,146,1,0,0,0,144,142,1,0,0,0,144,145,1,0,0,0,145,147,1,0,0,0,146,144,1,0,0,0,147,149,3,8,4,0,148,136,1,0,0,0,148,144,1,0,0,0,149,5,1,0,0,0,150,152,5,43,0,0,151,153,3,20,10,0,152,151,1,0,0,0,152,153,1,0,0,0,153,154,1,0,0,0,154,158,5,32,0,0,155,157,3,12,6,0,156,155,1,0,0,0,157,160,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,161,1,0,0,0,160,158,1,0,0,0,161,172,5,33,0,0,162,164,5,43,0,0,163,165,3,20,10,0,164,163,1,0,0,0,164,165,1,0,0,0,165,166,1,0,0,0,166,172,5,32,0,0,167,169,5,43,0,0,168,170,3,20,10,0,169,168,1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,150,1,0,0,0,171,162,1,0,0,0,171,167,1,0,0,0,172,7,1,0,0,0,173,179,5,50,0,0,174,176,5,30,0,0,175,177,3,10,5,0,176,175,1,0,0,0,176,177,1,0,0,0,177,178,1,0,0,0,178,180,5,31,0,0,179,174,1,0,0,0,179,180,1,0,0,0,180,183,1,0,0,0,181,183,5,52,0,0,182,173,1,0,0,0,182,181,1,0,0,0,183,9,1,0,0,0,184,185,7,0,0,0,185,11,1,0,0,0,186,188,3,18,9,0,187,186,1,0,0,0,187,188,1,0,0,0,188,190,1,0,0,0,189,191,3,14,7,0,190,189,1,0,0,0,190,191,1,0,0,0,191,192,1,0,0,0,192,194,3,20,10,0,193,195,3,22,11,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,3,16,8,0,197,196,1,0,0,0,197,198,1,0,0,0,198,200,1,0,0,0,199,201,5,11,0,0,200,199,1,0,0,0,200,201,1,0,0,0,201,205,1,0,0,0,202,205,3,14,7,0,203,205,3,18,9,0,204,187,1,0,0,0,204,202,1,0,0,0,204,203,1,0,0,0,205,13,1,0,0,0,206,207,5,8,0,0,207,208,3,20,10,0,208,209,5,9,0,0,209,220,1,0,0,0,210,211,5,8,0,0,211,213,3,20,10,0,212,214,5,16,0,0,213,212,1,0,0,0,213,214,1,0,0,0,214,220,1,0,0,0,215,217,7,1,0,0,216,218,7,2,0,0,217,216,1,0,0,0,217,218,1,0,0,0,218,220,1,0,0,0,219,206,1,0,0,0,219,210,1,0,0,0,219,215,1,0,0,0,220,15,1,0,0,0,221,222,5,45,0,0,222,225,3,20,10,0,223,225,5,45,0,0,224,221,1,0,0,0,224,223,1,0,0,0,225,17,1,0,0,0,226,227,5,52,0,0,227,19,1,0,0,0,228,229,7,0,0,0,229,21,1,0,0,0,230,231,5,55,0,0,231,23,1,0,0,0,232,234,3,32,16,0,233,232,1,0,0,0,234,235,1,0,0,0,235,233,1,0,0,0,235,236,1,0,0,0,236,25,1,0,0,0,237,239,5,40,0,0,238,240,3,96,48,0,239,238,1,0,0,0,239,240,1,0,0,0,240,242,1,0,0,0,241,243,5,27,0,0,242,241,1,0,0,0,242,243,1,0,0,0,243,250,1,0,0,0,244,245,5,51,0,0,245,247,3,58,29,0,246,248,5,63,0,0,247,246,1,0,0,0,247,248,1,0,0,0,248,250,1,0,0,0,249,237,1,0,0,0,249,244,1,0,0,0,250,27,1,0,0,0,251,252,3,30,15,0,252,29,1,0,0,0,253,254,5,61,0,0,254,31,1,0,0,0,255,271,3,84,42,0,256,271,3,34,17,0,257,271,3,36,18,0,258,271,3,94,47,0,259,271,3,38,19,0,260,271,3,42,21,0,261,263,3,58,29,0,262,264,5,63,0,0,263,262,1,0,0,0,263,264,1,0,0,0,264,271,1,0,0,0,265,271,3,26,13,0,266,271,3,28,14,0,267,271,3,76,38,0,268,269,5,60,0,0,269,271,6,16,-1,0,270,255,1,0,0,0,270,256,1,0,0,0,270,257,1,0,0,0,270,258,1,0,0,0,270,259,1,0,0,0,270,260,1,0,0,0,270,261,1,0,0,0,270,265,1,0,0,0,270,266,1,0,0,0,270,267,1,0,0,0,270,268,1,0,0,0,271,33,1,0,0,0,272,273,5,42,0,0,273,276,3,92,46,0,274,276,5,42,0,0,275,272,1,0,0,0,275,274,1,0,0,0,276,35,1,0,0,0,277,278,5,44,0,0,278,281,3,92,46,0,279,281,5,44,0,0,280,277,1,0,0,0,280,279,1,0,0,0,281,37,1,0,0,0,282,285,3,40,20,0,283,286,5,27,0,0,284,286,3,92,46,0,285,283,1,0,0,0,285,284,1,0,0,0,285,286,1,0,0,0,286,39,1,0,0,0,287,289,3,56,28,0,288,287,1,0,0,0,288,289,1,0,0,0,289,290,1,0,0,0,290,291,5,41,0,0,291,297,3,62,31,0,292,294,5,30,0,0,293,295,3,70,35,0,294,293,1,0,0,0,294,295,1,0,0,0,295,296,1,0,0,0,296,298,5,31,0,0,297,292,1,0,0,0,297,298,1,0,0,0,298,304,1,0,0,0,299,301,3,56,28,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0,302,304,5,41,0,0,303,288,1,0,0,0,303,300,1,0,0,0,304,41,1,0,0,0,305,308,3,44,22,0,306,309,5,27,0,0,307,309,3,92,46,0,308,306,1,0,0,0,308,307,1,0,0,0,308,309,1,0,0,0,309,43,1,0,0,0,310,312,3,56,28,0,311,310,1,0,0,0,311,312,1,0,0,0,312,321,1,0,0,0,313,314,3,48,24,0,314,315,5,10,0,0,315,317,1,0,0,0,316,313,1,0,0,0,316,317,1,0,0,0,317,318,1,0,0,0,318,319,3,50,25,0,319,320,5,53,0,0,320,322,1,0,0,0,321,316,1,0,0,0,321,322,1,0,0,0,322,323,1,0,0,0,323,334,3,46,23,0,324,334,3,56,28,0,325,326,3,48,24,0,326,327,5,10,0,0,327,329,1,0,0,0,328,325,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,331,3,50,25,0,331,332,5,53,0,0,332,334,1,0,0,0,333,311,1,0,0,0,333,324,1,0,0,0,333,328,1,0,0,0,334,45,1,0,0,0,335,340,3,52,26,0,336,337,5,53,0,0,337,339,3,52,26,0,338,336,1,0,0,0,339,342,1,0,0,0,340,338,1,0,0,0,340,341,1,0,0,0,341,47,1,0,0,0,342,340,1,0,0,0,343,344,7,0,0,0,344,49,1,0,0,0,345,346,7,0,0,0,346,51,1,0,0,0,347,349,3,68,34,0,348,350,3,54,27,0,349,348,1,0,0,0,349,350,1,0,0,0,350,53,1,0,0,0,351,353,5,30,0,0,352,354,3,70,35,0,353,352,1,0,0,0,353,354,1,0,0,0,354,355,1,0,0,0,355,356,5,31,0,0,356,55,1,0,0,0,357,359,3,64,32,0,358,357,1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,361,3,66,33,0,361,362,5,29,0,0,362,57,1,0,0,0,363,364,3,48,24,0,364,365,5,10,0,0,365,367,1,0,0,0,366,363,1,0,0,0,366,367,1,0,0,0,367,368,1,0,0,0,368,369,3,50,25,0,369,370,5,7,0,0,370,371,3,60,30,0,371,378,1,0,0,0,372,373,3,48,24,0,373,375,7,3,0,0,374,376,3,50,25,0,375,374,1,0,0,0,375,376,1,0,0,0,376,378,1,0,0,0,377,366,1,0,0,0,377,372,1,0,0,0,378,59,1,0,0,0,379,380,5,62,0,0,380,61,1,0,0,0,381,382,7,0,0,0,382,63,1,0,0,0,383,384,7,0,0,0,384,65,1,0,0,0,385,396,3,98,49,0,386,391,5,54,0,0,387,388,5,28,0,0,388,390,5,54,0,0,389,387,1,0,0,0,390,393,1,0,0,0,391,389,1,0,0,0,391,392,1,0,0,0,392,396,1,0,0,0,393,391,1,0,0,0,394,396,5,57,0,0,395,385,1,0,0,0,395,386,1,0,0,0,395,394,1,0,0,0,396,67,1,0,0,0,397,398,7,0,0,0,398,69,1,0,0,0,399,404,3,72,36,0,400,401,5,28,0,0,401,403,3,72,36,0,402,400,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,404,405,1,0,0,0,405,408,1,0,0,0,406,404,1,0,0,0,407,409,5,28,0,0,408,407,1,0,0,0,408,409,1,0,0,0,409,71,1,0,0,0,410,413,3,74,37,0,411,413,3,96,48,0,412,410,1,0,0,0,412,411,1,0,0,0,413,73,1,0,0,0,414,415,3,64,32,0,415,416,5,54,0,0,416,75,1,0,0,0,417,421,3,78,39,0,418,420,3,80,40,0,419,418,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,421,422,1,0,0,0,422,425,1,0,0,0,423,421,1,0,0,0,424,426,3,82,41,0,425,424,1,0,0,0,425,426,1,0,0,0,426,77,1,0,0,0,427,428,5,46,0,0,428,429,3,92,46,0,429,79,1,0,0,0,430,432,5,47,0,0,431,433,3,54,27,0,432,431,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0,0,434,435,3,92,46,0,435,81,1,0,0,0,436,437,5,48,0,0,437,438,3,92,46,0,438,83,1,0,0,0,439,443,3,86,43,0,440,442,3,88,44,0,441,440,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,443,444,1,0,0,0,444,447,1,0,0,0,445,443,1,0,0,0,446,448,3,90,45,0,447,446,1,0,0,0,447,448,1,0,0,0,448,85,1,0,0,0,449,450,5,37,0,0,450,451,3,100,50,0,451,452,3,92,46,0,452,87,1,0,0,0,453,454,5,38,0,0,454,455,5,37,0,0,455,456,3,100,50,0,456,457,3,92,46,0,457,89,1,0,0,0,458,459,5,38,0,0,459,460,3,92,46,0,460,91,1,0,0,0,461,463,5,32,0,0,462,464,3,24,12,0,463,462,1,0,0,0,463,464,1,0,0,0,464,465,1,0,0,0,465,466,5,33,0,0,466,93,1,0,0,0,467,468,5,39,0,0,468,469,3,100,50,0,469,470,3,92,46,0,470,475,1,0,0,0,471,472,5,39,0,0,472,475,3,100,50,0,473,475,5,39,0,0,474,467,1,0,0,0,474,471,1,0,0,0,474,473,1,0,0,0,475,95,1,0,0,0,476,477,6,48,-1,0,477,497,3,98,49,0,478,479,5,21,0,0,479,497,3,96,48,13,480,481,5,26,0,0,481,497,3,96,48,12,482,483,3,50,25,0,483,484,5,53,0,0,484,486,1,0,0,0,485,482,1,0,0,0,485,486,1,0,0,0,486,487,1,0,0,0,487,497,3,46,23,0,488,497,3,38,19,0,489,490,5,30,0,0,490,491,3,96,48,0,491,492,5,31,0,0,492,497,1,0,0,0,493,494,3,56,28,0,494,495,3,96,48,1,495,497,1,0,0,0,496,476,1,0,0,0,496,478,1,0,0,0,496,480,1,0,0,0,496,485,1,0,0,0,496,488,1,0,0,0,496,489,1,0,0,0,496,493,1,0,0,0,497,521,1,0,0,0,498,499,10,11,0,0,499,500,7,4,0,0,500,520,3,96,48,12,501,502,10,10,0,0,502,503,7,5,0,0,503,520,3,96,48,11,504,505,10,9,0,0,505,506,7,6,0,0,506,520,3,96,48,10,507,508,10,8,0,0,508,509,7,7,0,0,509,520,3,96,48,9,510,511,10,7,0,0,511,512,5,13,0,0,512,520,3,96,48,8,513,514,10,6,0,0,514,515,5,12,0,0,515,520,3,96,48,7,516,517,10,5,0,0,517,518,5,20,0,0,518,520,3,96,48,6,519,498,1,0,0,0,519,501,1,0,0,0,519,504,1,0,0,0,519,507,1,0,0,0,519,510,1,0,0,0,519,513,1,0,0,0,519,516,1,0,0,0,520,523,1,0,0,0,521,519,1,0,0,0,521,522,1,0,0,0,522,97,1,0,0,0,523,521,1,0,0,0,524,530,7,8,0,0,525,530,7,9,0,0,526,530,5,54,0,0,527,530,5,57,0,0,528,530,5,36,0,0,529,524,1,0,0,0,529,525,1,0,0,0,529,526,1,0,0,0,529,527,1,0,0,0,529,528,1,0,0,0,530,99,1,0,0,0,531,532,5,30,0,0,532,533,3,102,51,0,533,534,5,31,0,0,534,541,1,0,0,0,535,536,5,30,0,0,536,541,3,102,51,0,537,538,5,30,0,0,538,541,5,31,0,0,539,541,5,30,0,0,540,531,1,0,0,0,540,535,1,0,0,0,540,537,1,0,0,0,540,539,1,0,0,0,541,101,1,0,0,0,542,546,3,98,49,0,543,546,3,96,48,0,544,546,3,104,52,0,545,542,1,0,0,0,545,543,1,0,0,0,545,544,1,0,0,0,546,103,1,0,0,0,547,548,5,54,0,0,548,549,5,49,0,0,549,550,5,54,0,0,550,105,1,0,0,0,77,107,111,117,120,125,129,132,136,138,142,144,148,152,158,164,169,171,176,179,182,187,190,194,197,200,204,213,217,219,224,235,239,242,247,249,263,270,275,280,285,288,294,297,300,303,308,311,316,321,328,333,340,349,353,358,366,375,377,391,395,404,408,412,421,425,432,443,447,463,474,485,496,519,521,529,540,545],Ca=new E.atn.ATNDeserializer().deserialize(Xp),Qp=Ca.decisionToState.map((t,e)=>new E.dfa.DFA(t,e)),Jp=new E.PredictionContextCache,b=class extends E.Parser{constructor(e){super(e),this._interp=new E.atn.ParserATNSimulator(this,Ca,Qp,Jp),this.ruleNames=b.ruleNames,this.literalNames=b.literalNames,this.symbolicNames=b.symbolicNames}get atn(){return Ca}sempred(e,n,r){switch(n){case 48:return this.expr_sempred(e,r);default:throw"No predicate with index:"+n}}expr_sempred(e,n){switch(n){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:"+n}}prog(){let e=new W4(this,this._ctx,this.state);this.enterRule(e,0,b.RULE_prog);var n=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(e,1),this.state=107,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=106,this.title()),this.state=109,this.match(b.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=111,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(b.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=117,this._errHandler.sync(this),n=this._input.LA(1),n===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(b.EOF);break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}title(){let e=new wa(this,this._ctx,this.state);this.enterRule(e,2,b.RULE_title);var n=0;try{this.enterOuterAlt(e,1),this.state=127,this.match(b.TITLE),this.state=129,this._errHandler.sync(this),n=this._input.LA(1),n===64&&(this.state=128,this.match(b.TITLE_CONTENT)),this.state=132,this._errHandler.sync(this),n=this._input.LA(1),n===65&&(this.state=131,this.match(b.TITLE_END))}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}head(){let e=new ba(this,this._ctx,this.state);this.enterRule(e,4,b.RULE_head);try{this.state=148,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,11,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=136,this._errHandler.sync(this);var r=1;do{switch(r){case 1:switch(this.state=136,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=134,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=135,this.participant();break;default:throw new E.error.NoViableAltException(this)}break;default:throw new E.error.NoViableAltException(this)}this.state=138,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,8,this._ctx)}while(r!=2&&r!=E.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=144,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,10,this._ctx);r!=2&&r!=E.atn.ATN.INVALID_ALT_NUMBER;){if(r===1)switch(this.state=142,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=140,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=141,this.participant();break;default:throw new E.error.NoViableAltException(this)}this.state=146,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=147,this.starterExp();break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}group(){let e=new E1(this,this._ctx,this.state);this.enterRule(e,6,b.RULE_group);var n=0;try{this.state=171,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,16,this._ctx);switch(r){case 1:for(this.enterOuterAlt(e,1),this.state=150,this.match(b.GROUP),this.state=152,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=151,this.name()),this.state=154,this.match(b.OBRACE),this.state=158,this._errHandler.sync(this),n=this._input.LA(1);n===8||n===17||(n-52&-32)==0&&(1<<n-52&37)!==0;)this.state=155,this.participant(),this.state=160,this._errHandler.sync(this),n=this._input.LA(1);this.state=161,this.match(b.CBRACE);break;case 2:this.enterOuterAlt(e,2),this.state=162,this.match(b.GROUP),this.state=164,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=163,this.name()),this.state=166,this.match(b.OBRACE);break;case 3:this.enterOuterAlt(e,3),this.state=167,this.match(b.GROUP),this.state=169,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,15,this._ctx);r===1&&(this.state=168,this.name());break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starterExp(){let e=new Ea(this,this._ctx,this.state);this.enterRule(e,8,b.RULE_starterExp);var n=0;try{switch(this.state=182,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(e,1),this.state=173,this.match(b.STARTER_LXR),this.state=179,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=174,this.match(b.OPAR),this.state=176,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=175,this.starter()),this.state=178,this.match(b.CPAR));break;case 52:this.enterOuterAlt(e,2),this.state=181,this.match(b.ANNOTATION);break;default:throw new E.error.NoViableAltException(this)}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}starter(){let e=new Ta(this,this._ctx,this.state);this.enterRule(e,10,b.RULE_starter);var n=0;try{this.enterOuterAlt(e,1),this.state=184,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}participant(){let e=new qs(this,this._ctx,this.state);this.enterRule(e,12,b.RULE_participant);var n=0;try{this.state=204,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,25,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=187,this._errHandler.sync(this),n=this._input.LA(1),n===52&&(this.state=186,this.participantType()),this.state=190,this._errHandler.sync(this),n=this._input.LA(1),(n===8||n===17)&&(this.state=189,this.stereotype()),this.state=192,this.name(),this.state=194,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,22,this._ctx);r===1&&(this.state=193,this.width()),this.state=197,this._errHandler.sync(this),n=this._input.LA(1),n===45&&(this.state=196,this.label()),this.state=200,this._errHandler.sync(this),n=this._input.LA(1),n===11&&(this.state=199,this.match(b.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=202,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=203,this.participantType();break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}stereotype(){let e=new Sa(this,this._ctx,this.state);this.enterRule(e,14,b.RULE_stereotype);var n=0;try{this.state=219,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,28,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=206,this.match(b.SOPEN),this.state=207,this.name(),this.state=208,this.match(b.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=210,this.match(b.SOPEN),this.state=211,this.name(),this.state=213,this._errHandler.sync(this),n=this._input.LA(1),n===16&&(this.state=212,this.match(b.GT));break;case 3:this.enterOuterAlt(e,3),this.state=215,n=this._input.LA(1),n===8||n===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=217,this._errHandler.sync(this),n=this._input.LA(1),(n===9||n===16)&&(this.state=216,n=this._input.LA(1),n===9||n===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}label(){let e=new Aa(this,this._ctx,this.state);this.enterRule(e,16,b.RULE_label);try{this.state=224,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,29,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=221,this.match(b.AS),this.state=222,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=223,this.match(b.AS);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}participantType(){let e=new ka(this,this._ctx,this.state);this.enterRule(e,18,b.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=226,this.match(b.ANNOTATION)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}name(){let e=new Ks(this,this._ctx,this.state);this.enterRule(e,20,b.RULE_name);var n=0;try{this.enterOuterAlt(e,1),this.state=228,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}width(){let e=new Ra(this,this._ctx,this.state);this.enterRule(e,22,b.RULE_width);try{this.enterOuterAlt(e,1),this.state=230,this.match(b.INT)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}block(){let e=new T1(this,this._ctx,this.state);this.enterRule(e,24,b.RULE_block);var n=0;try{this.enterOuterAlt(e,1),this.state=233,this._errHandler.sync(this),n=this._input.LA(1);do this.state=232,this.stat(),this.state=235,this._errHandler.sync(this),n=this._input.LA(1);while((n-34&-32)==0&&(1<<n-34&217191919)!==0)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}ret(){let e=new Oa(this,this._ctx,this.state);this.enterRule(e,26,b.RULE_ret);var n=0;try{switch(this.state=249,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=237,this.match(b.RETURN),this.state=239,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,31,this._ctx);r===1&&(this.state=238,this.expr(0)),this.state=242,this._errHandler.sync(this),n=this._input.LA(1),n===27&&(this.state=241,this.match(b.SCOL));break;case 51:this.enterOuterAlt(e,2),this.state=244,this.match(b.ANNOTATION_RET),this.state=245,this.asyncMessage(),this.state=247,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=246,this.match(b.EVENT_END));break;default:throw new E.error.NoViableAltException(this)}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}divider(){let e=new Ia(this,this._ctx,this.state);this.enterRule(e,28,b.RULE_divider);try{this.enterOuterAlt(e,1),this.state=251,this.dividerNote()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}dividerNote(){let e=new Ma(this,this._ctx,this.state);this.enterRule(e,30,b.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=253,this.match(b.DIVIDER)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stat(){let e=new S1(this,this._ctx,this.state);this.enterRule(e,32,b.RULE_stat);var n=0;try{this.state=270,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,36,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=255,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=256,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=257,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=258,this.loop();break;case 5:this.enterOuterAlt(e,5),this.state=259,this.creation();break;case 6:this.enterOuterAlt(e,6),this.state=260,this.message();break;case 7:this.enterOuterAlt(e,7),this.state=261,this.asyncMessage(),this.state=263,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=262,this.match(b.EVENT_END));break;case 8:this.enterOuterAlt(e,8),this.state=265,this.ret();break;case 9:this.enterOuterAlt(e,9),this.state=266,this.divider();break;case 10:this.enterOuterAlt(e,10),this.state=267,this.tcf();break;case 11:this.enterOuterAlt(e,11),this.state=268,e._OTHER=this.match(b.OTHER),console.log("unknown char: "+(e._OTHER===null?null:e._OTHER.text));break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}par(){let e=new Na(this,this._ctx,this.state);this.enterRule(e,34,b.RULE_par);try{this.state=275,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=272,this.match(b.PAR),this.state=273,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=274,this.match(b.PAR);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}opt(){let e=new Pa(this,this._ctx,this.state);this.enterRule(e,36,b.RULE_opt);try{this.state=280,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,38,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=277,this.match(b.OPT),this.state=278,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=279,this.match(b.OPT);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}creation(){let e=new A1(this,this._ctx,this.state);this.enterRule(e,38,b.RULE_creation);try{this.enterOuterAlt(e,1),this.state=282,this.creationBody(),this.state=285,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,39,this._ctx);n===1?(this.state=283,this.match(b.SCOL)):n===2&&(this.state=284,this.braceBlock())}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}creationBody(){let e=new Fa(this,this._ctx,this.state);this.enterRule(e,40,b.RULE_creationBody);var n=0;try{this.state=303,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,44,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=288,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=287,this.assignment()),this.state=290,this.match(b.NEW),this.state=291,this.construct(),this.state=297,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,42,this._ctx);r===1&&(this.state=292,this.match(b.OPAR),this.state=294,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=293,this.parameters()),this.state=296,this.match(b.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=300,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=299,this.assignment()),this.state=302,this.match(b.NEW);break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}message(){let e=new Da(this,this._ctx,this.state);this.enterRule(e,42,b.RULE_message);try{switch(this.enterOuterAlt(e,1),this.state=305,this.messageBody(),this.state=308,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=306,this.match(b.SCOL);break;case 32:this.state=307,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(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}messageBody(){let e=new $a(this,this._ctx,this.state);this.enterRule(e,44,b.RULE_messageBody);try{this.state=333,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,50,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=311,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,46,this._ctx);n===1&&(this.state=310,this.assignment()),this.state=321,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,48,this._ctx);if(n===1){this.state=316,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,47,this._ctx);n===1&&(this.state=313,this.from(),this.state=314,this.match(b.ARROW)),this.state=318,this.to(),this.state=319,this.match(b.DOT)}this.state=323,this.func();break;case 2:this.enterOuterAlt(e,2),this.state=324,this.assignment();break;case 3:this.enterOuterAlt(e,3),this.state=328,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1&&(this.state=325,this.from(),this.state=326,this.match(b.ARROW)),this.state=330,this.to(),this.state=331,this.match(b.DOT);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}func(){let e=new k1(this,this._ctx,this.state);this.enterRule(e,46,b.RULE_func);try{this.enterOuterAlt(e,1),this.state=335,this.signature(),this.state=340,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,51,this._ctx);n!=2&&n!=E.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=336,this.match(b.DOT),this.state=337,this.signature()),this.state=342,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}from(){let e=new R1(this,this._ctx,this.state);this.enterRule(e,48,b.RULE_from);var n=0;try{this.enterOuterAlt(e,1),this.state=343,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}to(){let e=new j0(this,this._ctx,this.state);this.enterRule(e,50,b.RULE_to);var n=0;try{this.enterOuterAlt(e,1),this.state=345,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}signature(){let e=new O1(this,this._ctx,this.state);this.enterRule(e,52,b.RULE_signature);try{this.enterOuterAlt(e,1),this.state=347,this.methodName(),this.state=349,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,52,this._ctx);n===1&&(this.state=348,this.invocation())}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}invocation(){let e=new I1(this,this._ctx,this.state);this.enterRule(e,54,b.RULE_invocation);var n=0;try{this.enterOuterAlt(e,1),this.state=351,this.match(b.OPAR),this.state=353,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=352,this.parameters()),this.state=355,this.match(b.CPAR)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}assignment(){let e=new Z0(this,this._ctx,this.state);this.enterRule(e,56,b.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=358,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,54,this._ctx);n===1&&(this.state=357,this.type()),this.state=360,this.assignee(),this.state=361,this.match(b.ASSIGN)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}asyncMessage(){let e=new M1(this,this._ctx,this.state);this.enterRule(e,58,b.RULE_asyncMessage);var n=0;try{this.state=377,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,57,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=366,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,55,this._ctx);r===1&&(this.state=363,this.from(),this.state=364,this.match(b.ARROW)),this.state=368,this.to(),this.state=369,this.match(b.COL),this.state=370,this.content();break;case 2:this.enterOuterAlt(e,2),this.state=372,this.from(),this.state=373,n=this._input.LA(1),n===10||n===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=375,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,56,this._ctx);r===1&&(this.state=374,this.to());break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}content(){let e=new Ba(this,this._ctx,this.state);this.enterRule(e,60,b.RULE_content);try{this.enterOuterAlt(e,1),this.state=379,this.match(b.EVENT_PAYLOAD_LXR)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}construct(){let e=new Ha(this,this._ctx,this.state);this.enterRule(e,62,b.RULE_construct);var n=0;try{this.enterOuterAlt(e,1),this.state=381,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}type(){let e=new N1(this,this._ctx,this.state);this.enterRule(e,64,b.RULE_type);var n=0;try{this.enterOuterAlt(e,1),this.state=383,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}assignee(){let e=new Ua(this,this._ctx,this.state);this.enterRule(e,66,b.RULE_assignee);var n=0;try{this.state=395,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,59,this._ctx);switch(r){case 1:this.enterOuterAlt(e,1),this.state=385,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=386,this.match(b.ID),this.state=391,this._errHandler.sync(this),n=this._input.LA(1);n===28;)this.state=387,this.match(b.COMMA),this.state=388,this.match(b.ID),this.state=393,this._errHandler.sync(this),n=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=394,this.match(b.STRING);break}}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}methodName(){let e=new za(this,this._ctx,this.state);this.enterRule(e,68,b.RULE_methodName);var n=0;try{this.enterOuterAlt(e,1),this.state=397,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}parameters(){let e=new P1(this,this._ctx,this.state);this.enterRule(e,70,b.RULE_parameters);var n=0;try{this.enterOuterAlt(e,1),this.state=399,this.parameter(),this.state=404,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,60,this._ctx);r!=2&&r!=E.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=400,this.match(b.COMMA),this.state=401,this.parameter()),this.state=406,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,60,this._ctx);this.state=408,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=407,this.match(b.COMMA))}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parameter(){let e=new F1(this,this._ctx,this.state);this.enterRule(e,72,b.RULE_parameter);try{this.state=412,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,62,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=410,this.declaration();break;case 2:this.enterOuterAlt(e,2),this.state=411,this.expr(0);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}declaration(){let e=new Va(this,this._ctx,this.state);this.enterRule(e,74,b.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=414,this.type(),this.state=415,this.match(b.ID)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tcf(){let e=new Ga(this,this._ctx,this.state);this.enterRule(e,76,b.RULE_tcf);var n=0;try{for(this.enterOuterAlt(e,1),this.state=417,this.tryBlock(),this.state=421,this._errHandler.sync(this),n=this._input.LA(1);n===47;)this.state=418,this.catchBlock(),this.state=423,this._errHandler.sync(this),n=this._input.LA(1);this.state=425,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=424,this.finallyBlock())}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}tryBlock(){let e=new ja(this,this._ctx,this.state);this.enterRule(e,78,b.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=427,this.match(b.TRY),this.state=428,this.braceBlock()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}catchBlock(){let e=new D1(this,this._ctx,this.state);this.enterRule(e,80,b.RULE_catchBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=430,this.match(b.CATCH),this.state=432,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=431,this.invocation()),this.state=434,this.braceBlock()}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}finallyBlock(){let e=new Za(this,this._ctx,this.state);this.enterRule(e,82,b.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=436,this.match(b.FINALLY),this.state=437,this.braceBlock()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}alt(){let e=new Wa(this,this._ctx,this.state);this.enterRule(e,84,b.RULE_alt);var n=0;try{this.enterOuterAlt(e,1),this.state=439,this.ifBlock(),this.state=443,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,66,this._ctx);r!=2&&r!=E.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=440,this.elseIfBlock()),this.state=445,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,66,this._ctx);this.state=447,this._errHandler.sync(this),n=this._input.LA(1),n===38&&(this.state=446,this.elseBlock())}catch(s){if(s instanceof E.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ifBlock(){let e=new qa(this,this._ctx,this.state);this.enterRule(e,86,b.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=449,this.match(b.IF),this.state=450,this.parExpr(),this.state=451,this.braceBlock()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseIfBlock(){let e=new $1(this,this._ctx,this.state);this.enterRule(e,88,b.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=453,this.match(b.ELSE),this.state=454,this.match(b.IF),this.state=455,this.parExpr(),this.state=456,this.braceBlock()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseBlock(){let e=new Ka(this,this._ctx,this.state);this.enterRule(e,90,b.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=458,this.match(b.ELSE),this.state=459,this.braceBlock()}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}braceBlock(){let e=new nn(this,this._ctx,this.state);this.enterRule(e,92,b.RULE_braceBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=461,this.match(b.OBRACE),this.state=463,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&217191919)!==0&&(this.state=462,this.block()),this.state=465,this.match(b.CBRACE)}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}loop(){let e=new Ya(this,this._ctx,this.state);this.enterRule(e,94,b.RULE_loop);try{this.state=474,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,69,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=467,this.match(b.WHILE),this.state=468,this.parExpr(),this.state=469,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=471,this.match(b.WHILE),this.state=472,this.parExpr();break;case 3:this.enterOuterAlt(e,3),this.state=473,this.match(b.WHILE);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const n=this._ctx,r=this.state;let s=new we(this,this._ctx,r),i=s;const o=96;this.enterRecursionRule(s,96,b.RULE_expr,e);var l=0;try{this.enterOuterAlt(s,1),this.state=496,this._errHandler.sync(this);var a=this._interp.adaptivePredict(this._input,71,this._ctx);switch(a){case 1:s=new Y4(this,s),this._ctx=s,i=s,this.state=477,this.atom();break;case 2:s=new n5(this,s),this._ctx=s,i=s,this.state=478,this.match(b.MINUS),this.state=479,this.expr(13);break;case 3:s=new t5(this,s),this._ctx=s,i=s,this.state=480,this.match(b.NOT),this.state=481,this.expr(12);break;case 4:s=new K4(this,s),this._ctx=s,i=s,this.state=485,this._errHandler.sync(this);var a=this._interp.adaptivePredict(this._input,70,this._ctx);a===1&&(this.state=482,this.to(),this.state=483,this.match(b.DOT)),this.state=487,this.func();break;case 5:s=new r5(this,s),this._ctx=s,i=s,this.state=488,this.creation();break;case 6:s=new s5(this,s),this._ctx=s,i=s,this.state=489,this.match(b.OPAR),this.state=490,this.expr(0),this.state=491,this.match(b.CPAR);break;case 7:s=new q4(this,s),this._ctx=s,i=s,this.state=493,this.assignment(),this.state=494,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=521,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,73,this._ctx);c!=2&&c!=E.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=s,this.state=519,this._errHandler.sync(this);var a=this._interp.adaptivePredict(this._input,72,this._ctx);switch(a){case 1:if(s=new i5(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=498,!this.precpred(this._ctx,11))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=499,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=500,this.expr(12);break;case 2:if(s=new Q4(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=501,!this.precpred(this._ctx,10))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=502,s.op=this._input.LT(1),l=this._input.LA(1),l===20||l===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=503,this.expr(11);break;case 3:if(s=new J4(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=504,!this.precpred(this._ctx,9))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=505,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=506,this.expr(10);break;case 4:if(s=new o5(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=507,!this.precpred(this._ctx,8))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=508,s.op=this._input.LT(1),l=this._input.LA(1),l===14||l===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=509,this.expr(9);break;case 5:if(s=new l5(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=510,!this.precpred(this._ctx,7))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=511,this.match(b.AND),this.state=512,this.expr(8);break;case 6:if(s=new X4(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=513,!this.precpred(this._ctx,6))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=514,this.match(b.OR),this.state=515,this.expr(7);break;case 7:if(s=new e5(this,new we(this,n,r)),this.pushNewRecursionContext(s,o,b.RULE_expr),this.state=516,!this.precpred(this._ctx,5))throw new E.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=517,this.match(b.PLUS),this.state=518,this.expr(6);break}}this.state=523,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,73,this._ctx)}}catch(u){if(u instanceof E.error.RecognitionException)s.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(n)}return s}atom(){let e=new Bn(this,this._ctx,this.state);this.enterRule(e,98,b.RULE_atom);var n=0;try{switch(this.state=529,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:e=new d5(this,e),this.enterOuterAlt(e,1),this.state=524,n=this._input.LA(1),n===55||n===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:e=new a5(this,e),this.enterOuterAlt(e,2),this.state=525,n=this._input.LA(1),n===34||n===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:e=new c5(this,e),this.enterOuterAlt(e,3),this.state=526,this.match(b.ID);break;case 57:e=new u5(this,e),this.enterOuterAlt(e,4),this.state=527,this.match(b.STRING);break;case 36:e=new h5(this,e),this.enterOuterAlt(e,5),this.state=528,this.match(b.NIL);break;default:throw new E.error.NoViableAltException(this)}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}parExpr(){let e=new W0(this,this._ctx,this.state);this.enterRule(e,100,b.RULE_parExpr);try{this.state=540,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,75,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=531,this.match(b.OPAR),this.state=532,this.condition(),this.state=533,this.match(b.CPAR);break;case 2:this.enterOuterAlt(e,2),this.state=535,this.match(b.OPAR),this.state=536,this.condition();break;case 3:this.enterOuterAlt(e,3),this.state=537,this.match(b.OPAR),this.state=538,this.match(b.CPAR);break;case 4:this.enterOuterAlt(e,4),this.state=539,this.match(b.OPAR);break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}condition(){let e=new Xa(this,this._ctx,this.state);this.enterRule(e,102,b.RULE_condition);try{this.state=545,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,76,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=542,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=543,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=544,this.inExpr();break}}catch(r){if(r instanceof E.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}inExpr(){let e=new Qa(this,this._ctx,this.state);this.enterRule(e,104,b.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=547,this.match(b.ID),this.state=548,this.match(b.IN),this.state=549,this.match(b.ID)}catch(n){if(n instanceof E.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}};let p=b;J(p,"grammarFileName","java-escape"),J(p,"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,"'.'"]),J(p,"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"]),J(p,"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"]),p.EOF=E.Token.EOF,p.WS=1,p.CONSTANT=2,p.READONLY=3,p.STATIC=4,p.AWAIT=5,p.TITLE=6,p.COL=7,p.SOPEN=8,p.SCLOSE=9,p.ARROW=10,p.COLOR=11,p.OR=12,p.AND=13,p.EQ=14,p.NEQ=15,p.GT=16,p.LT=17,p.GTEQ=18,p.LTEQ=19,p.PLUS=20,p.MINUS=21,p.MULT=22,p.DIV=23,p.MOD=24,p.POW=25,p.NOT=26,p.SCOL=27,p.COMMA=28,p.ASSIGN=29,p.OPAR=30,p.CPAR=31,p.OBRACE=32,p.CBRACE=33,p.TRUE=34,p.FALSE=35,p.NIL=36,p.IF=37,p.ELSE=38,p.WHILE=39,p.RETURN=40,p.NEW=41,p.PAR=42,p.GROUP=43,p.OPT=44,p.AS=45,p.TRY=46,p.CATCH=47,p.FINALLY=48,p.IN=49,p.STARTER_LXR=50,p.ANNOTATION_RET=51,p.ANNOTATION=52,p.DOT=53,p.ID=54,p.INT=55,p.FLOAT=56,p.STRING=57,p.CR=58,p.COMMENT=59,p.OTHER=60,p.DIVIDER=61,p.EVENT_PAYLOAD_LXR=62,p.EVENT_END=63,p.TITLE_CONTENT=64,p.TITLE_END=65,p.RULE_prog=0,p.RULE_title=1,p.RULE_head=2,p.RULE_group=3,p.RULE_starterExp=4,p.RULE_starter=5,p.RULE_participant=6,p.RULE_stereotype=7,p.RULE_label=8,p.RULE_participantType=9,p.RULE_name=10,p.RULE_width=11,p.RULE_block=12,p.RULE_ret=13,p.RULE_divider=14,p.RULE_dividerNote=15,p.RULE_stat=16,p.RULE_par=17,p.RULE_opt=18,p.RULE_creation=19,p.RULE_creationBody=20,p.RULE_message=21,p.RULE_messageBody=22,p.RULE_func=23,p.RULE_from=24,p.RULE_to=25,p.RULE_signature=26,p.RULE_invocation=27,p.RULE_assignment=28,p.RULE_asyncMessage=29,p.RULE_content=30,p.RULE_construct=31,p.RULE_type=32,p.RULE_assignee=33,p.RULE_methodName=34,p.RULE_parameters=35,p.RULE_parameter=36,p.RULE_declaration=37,p.RULE_tcf=38,p.RULE_tryBlock=39,p.RULE_catchBlock=40,p.RULE_finallyBlock=41,p.RULE_alt=42,p.RULE_ifBlock=43,p.RULE_elseIfBlock=44,p.RULE_elseBlock=45,p.RULE_braceBlock=46,p.RULE_loop=47,p.RULE_expr=48,p.RULE_atom=49,p.RULE_parExpr=50,p.RULE_condition=51,p.RULE_inExpr=52;class W4 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_prog}EOF(){return this.getToken(p.EOF,0)}title(){return this.getTypedRuleContext(wa,0)}head(){return this.getTypedRuleContext(ba,0)}block(){return this.getTypedRuleContext(T1,0)}enterRule(e){e instanceof A&&e.enterProg(this)}exitRule(e){e instanceof A&&e.exitProg(this)}}class wa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_title}TITLE(){return this.getToken(p.TITLE,0)}TITLE_CONTENT(){return this.getToken(p.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(p.TITLE_END,0)}enterRule(e){e instanceof A&&e.enterTitle(this)}exitRule(e){e instanceof A&&e.exitTitle(this)}}class ba extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"group",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(E1):this.getTypedRuleContext(E1,n)});J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(qs):this.getTypedRuleContext(qs,n)});this.parser=n,this.ruleIndex=p.RULE_head}starterExp(){return this.getTypedRuleContext(Ea,0)}enterRule(n){n instanceof A&&n.enterHead(this)}exitRule(n){n instanceof A&&n.exitHead(this)}}class E1 extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(qs):this.getTypedRuleContext(qs,n)});this.parser=n,this.ruleIndex=p.RULE_group}GROUP(){return this.getToken(p.GROUP,0)}OBRACE(){return this.getToken(p.OBRACE,0)}CBRACE(){return this.getToken(p.CBRACE,0)}name(){return this.getTypedRuleContext(Ks,0)}enterRule(n){n instanceof A&&n.enterGroup(this)}exitRule(n){n instanceof A&&n.exitGroup(this)}}class Ea extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_starterExp}STARTER_LXR(){return this.getToken(p.STARTER_LXR,0)}OPAR(){return this.getToken(p.OPAR,0)}CPAR(){return this.getToken(p.CPAR,0)}starter(){return this.getTypedRuleContext(Ta,0)}ANNOTATION(){return this.getToken(p.ANNOTATION,0)}enterRule(e){e instanceof A&&e.enterStarterExp(this)}exitRule(e){e instanceof A&&e.exitStarterExp(this)}}class Ta extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_starter}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterStarter(this)}exitRule(e){e instanceof A&&e.exitStarter(this)}}class qs extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_participant}name(){return this.getTypedRuleContext(Ks,0)}participantType(){return this.getTypedRuleContext(ka,0)}stereotype(){return this.getTypedRuleContext(Sa,0)}width(){return this.getTypedRuleContext(Ra,0)}label(){return this.getTypedRuleContext(Aa,0)}COLOR(){return this.getToken(p.COLOR,0)}enterRule(e){e instanceof A&&e.enterParticipant(this)}exitRule(e){e instanceof A&&e.exitParticipant(this)}}class Sa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_stereotype}SOPEN(){return this.getToken(p.SOPEN,0)}name(){return this.getTypedRuleContext(Ks,0)}SCLOSE(){return this.getToken(p.SCLOSE,0)}GT(){return this.getToken(p.GT,0)}LT(){return this.getToken(p.LT,0)}enterRule(e){e instanceof A&&e.enterStereotype(this)}exitRule(e){e instanceof A&&e.exitStereotype(this)}}class Aa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_label}AS(){return this.getToken(p.AS,0)}name(){return this.getTypedRuleContext(Ks,0)}enterRule(e){e instanceof A&&e.enterLabel(this)}exitRule(e){e instanceof A&&e.exitLabel(this)}}class ka extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_participantType}ANNOTATION(){return this.getToken(p.ANNOTATION,0)}enterRule(e){e instanceof A&&e.enterParticipantType(this)}exitRule(e){e instanceof A&&e.exitParticipantType(this)}}class Ks extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_name}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterName(this)}exitRule(e){e instanceof A&&e.exitName(this)}}class Ra extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_width}INT(){return this.getToken(p.INT,0)}enterRule(e){e instanceof A&&e.enterWidth(this)}exitRule(e){e instanceof A&&e.exitWidth(this)}}class T1 extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"stat",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(S1):this.getTypedRuleContext(S1,n)});this.parser=n,this.ruleIndex=p.RULE_block}enterRule(n){n instanceof A&&n.enterBlock(this)}exitRule(n){n instanceof A&&n.exitBlock(this)}}class Oa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_ret}RETURN(){return this.getToken(p.RETURN,0)}expr(){return this.getTypedRuleContext(we,0)}SCOL(){return this.getToken(p.SCOL,0)}ANNOTATION_RET(){return this.getToken(p.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(M1,0)}EVENT_END(){return this.getToken(p.EVENT_END,0)}enterRule(e){e instanceof A&&e.enterRet(this)}exitRule(e){e instanceof A&&e.exitRet(this)}}class Ia extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ma,0)}enterRule(e){e instanceof A&&e.enterDivider(this)}exitRule(e){e instanceof A&&e.exitDivider(this)}}class Ma extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_dividerNote}DIVIDER(){return this.getToken(p.DIVIDER,0)}enterRule(e){e instanceof A&&e.enterDividerNote(this)}exitRule(e){e instanceof A&&e.exitDividerNote(this)}}class S1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Wa,0)}par(){return this.getTypedRuleContext(Na,0)}opt(){return this.getTypedRuleContext(Pa,0)}loop(){return this.getTypedRuleContext(Ya,0)}creation(){return this.getTypedRuleContext(A1,0)}message(){return this.getTypedRuleContext(Da,0)}asyncMessage(){return this.getTypedRuleContext(M1,0)}EVENT_END(){return this.getToken(p.EVENT_END,0)}ret(){return this.getTypedRuleContext(Oa,0)}divider(){return this.getTypedRuleContext(Ia,0)}tcf(){return this.getTypedRuleContext(Ga,0)}OTHER(){return this.getToken(p.OTHER,0)}enterRule(e){e instanceof A&&e.enterStat(this)}exitRule(e){e instanceof A&&e.exitStat(this)}}class Na extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_par}PAR(){return this.getToken(p.PAR,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterPar(this)}exitRule(e){e instanceof A&&e.exitPar(this)}}class Pa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_opt}OPT(){return this.getToken(p.OPT,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterOpt(this)}exitRule(e){e instanceof A&&e.exitOpt(this)}}class A1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_creation}creationBody(){return this.getTypedRuleContext(Fa,0)}SCOL(){return this.getToken(p.SCOL,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterCreation(this)}exitRule(e){e instanceof A&&e.exitCreation(this)}}class Fa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_creationBody}NEW(){return this.getToken(p.NEW,0)}construct(){return this.getTypedRuleContext(Ha,0)}assignment(){return this.getTypedRuleContext(Z0,0)}OPAR(){return this.getToken(p.OPAR,0)}CPAR(){return this.getToken(p.CPAR,0)}parameters(){return this.getTypedRuleContext(P1,0)}enterRule(e){e instanceof A&&e.enterCreationBody(this)}exitRule(e){e instanceof A&&e.exitCreationBody(this)}}class Da extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_message}messageBody(){return this.getTypedRuleContext($a,0)}SCOL(){return this.getToken(p.SCOL,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterMessage(this)}exitRule(e){e instanceof A&&e.exitMessage(this)}}class $a extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_messageBody}func(){return this.getTypedRuleContext(k1,0)}assignment(){return this.getTypedRuleContext(Z0,0)}to(){return this.getTypedRuleContext(j0,0)}DOT(){return this.getToken(p.DOT,0)}from(){return this.getTypedRuleContext(R1,0)}ARROW(){return this.getToken(p.ARROW,0)}enterRule(e){e instanceof A&&e.enterMessageBody(this)}exitRule(e){e instanceof A&&e.exitMessageBody(this)}}class k1 extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"signature",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(O1):this.getTypedRuleContext(O1,n)});J(this,"DOT",function(n){return n===void 0&&(n=null),n===null?this.getTokens(p.DOT):this.getToken(p.DOT,n)});this.parser=n,this.ruleIndex=p.RULE_func}enterRule(n){n instanceof A&&n.enterFunc(this)}exitRule(n){n instanceof A&&n.exitFunc(this)}}class R1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_from}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterFrom(this)}exitRule(e){e instanceof A&&e.exitFrom(this)}}class j0 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_to}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterTo(this)}exitRule(e){e instanceof A&&e.exitTo(this)}}class O1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_signature}methodName(){return this.getTypedRuleContext(za,0)}invocation(){return this.getTypedRuleContext(I1,0)}enterRule(e){e instanceof A&&e.enterSignature(this)}exitRule(e){e instanceof A&&e.exitSignature(this)}}class I1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_invocation}OPAR(){return this.getToken(p.OPAR,0)}CPAR(){return this.getToken(p.CPAR,0)}parameters(){return this.getTypedRuleContext(P1,0)}enterRule(e){e instanceof A&&e.enterInvocation(this)}exitRule(e){e instanceof A&&e.exitInvocation(this)}}class Z0 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_assignment}assignee(){return this.getTypedRuleContext(Ua,0)}ASSIGN(){return this.getToken(p.ASSIGN,0)}type(){return this.getTypedRuleContext(N1,0)}enterRule(e){e instanceof A&&e.enterAssignment(this)}exitRule(e){e instanceof A&&e.exitAssignment(this)}}class M1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_asyncMessage}to(){return this.getTypedRuleContext(j0,0)}COL(){return this.getToken(p.COL,0)}content(){return this.getTypedRuleContext(Ba,0)}from(){return this.getTypedRuleContext(R1,0)}ARROW(){return this.getToken(p.ARROW,0)}MINUS(){return this.getToken(p.MINUS,0)}enterRule(e){e instanceof A&&e.enterAsyncMessage(this)}exitRule(e){e instanceof A&&e.exitAsyncMessage(this)}}class Ba extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(p.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof A&&e.enterContent(this)}exitRule(e){e instanceof A&&e.exitContent(this)}}class Ha extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_construct}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterConstruct(this)}exitRule(e){e instanceof A&&e.exitConstruct(this)}}class N1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_type}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterType(this)}exitRule(e){e instanceof A&&e.exitType(this)}}class Ua extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(p.ID):this.getToken(p.ID,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(p.COMMA):this.getToken(p.COMMA,n)});this.parser=n,this.ruleIndex=p.RULE_assignee}atom(){return this.getTypedRuleContext(Bn,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(n){n instanceof A&&n.enterAssignee(this)}exitRule(n){n instanceof A&&n.exitAssignee(this)}}class za extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_methodName}ID(){return this.getToken(p.ID,0)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterMethodName(this)}exitRule(e){e instanceof A&&e.exitMethodName(this)}}class P1 extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"parameter",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(F1):this.getTypedRuleContext(F1,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(p.COMMA):this.getToken(p.COMMA,n)});this.parser=n,this.ruleIndex=p.RULE_parameters}enterRule(n){n instanceof A&&n.enterParameters(this)}exitRule(n){n instanceof A&&n.exitParameters(this)}}class F1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_parameter}declaration(){return this.getTypedRuleContext(Va,0)}expr(){return this.getTypedRuleContext(we,0)}enterRule(e){e instanceof A&&e.enterParameter(this)}exitRule(e){e instanceof A&&e.exitParameter(this)}}class Va extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_declaration}type(){return this.getTypedRuleContext(N1,0)}ID(){return this.getToken(p.ID,0)}enterRule(e){e instanceof A&&e.enterDeclaration(this)}exitRule(e){e instanceof A&&e.exitDeclaration(this)}}class Ga extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"catchBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(D1):this.getTypedRuleContext(D1,n)});this.parser=n,this.ruleIndex=p.RULE_tcf}tryBlock(){return this.getTypedRuleContext(ja,0)}finallyBlock(){return this.getTypedRuleContext(Za,0)}enterRule(n){n instanceof A&&n.enterTcf(this)}exitRule(n){n instanceof A&&n.exitTcf(this)}}class ja extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_tryBlock}TRY(){return this.getToken(p.TRY,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterTryBlock(this)}exitRule(e){e instanceof A&&e.exitTryBlock(this)}}class D1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_catchBlock}CATCH(){return this.getToken(p.CATCH,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}invocation(){return this.getTypedRuleContext(I1,0)}enterRule(e){e instanceof A&&e.enterCatchBlock(this)}exitRule(e){e instanceof A&&e.exitCatchBlock(this)}}class Za extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_finallyBlock}FINALLY(){return this.getToken(p.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterFinallyBlock(this)}exitRule(e){e instanceof A&&e.exitFinallyBlock(this)}}class Wa extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"elseIfBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts($1):this.getTypedRuleContext($1,n)});this.parser=n,this.ruleIndex=p.RULE_alt}ifBlock(){return this.getTypedRuleContext(qa,0)}elseBlock(){return this.getTypedRuleContext(Ka,0)}enterRule(n){n instanceof A&&n.enterAlt(this)}exitRule(n){n instanceof A&&n.exitAlt(this)}}class qa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_ifBlock}IF(){return this.getToken(p.IF,0)}parExpr(){return this.getTypedRuleContext(W0,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterIfBlock(this)}exitRule(e){e instanceof A&&e.exitIfBlock(this)}}class $1 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_elseIfBlock}ELSE(){return this.getToken(p.ELSE,0)}IF(){return this.getToken(p.IF,0)}parExpr(){return this.getTypedRuleContext(W0,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterElseIfBlock(this)}exitRule(e){e instanceof A&&e.exitElseIfBlock(this)}}class Ka extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_elseBlock}ELSE(){return this.getToken(p.ELSE,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterElseBlock(this)}exitRule(e){e instanceof A&&e.exitElseBlock(this)}}class nn extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_braceBlock}OBRACE(){return this.getToken(p.OBRACE,0)}CBRACE(){return this.getToken(p.CBRACE,0)}block(){return this.getTypedRuleContext(T1,0)}enterRule(e){e instanceof A&&e.enterBraceBlock(this)}exitRule(e){e instanceof A&&e.exitBraceBlock(this)}}class Ya extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_loop}WHILE(){return this.getToken(p.WHILE,0)}parExpr(){return this.getTypedRuleContext(W0,0)}braceBlock(){return this.getTypedRuleContext(nn,0)}enterRule(e){e instanceof A&&e.enterLoop(this)}exitRule(e){e instanceof A&&e.exitLoop(this)}}class we extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_expr}copyFrom(e){super.copyFrom(e)}}class q4 extends we{constructor(e,n){super(e),super.copyFrom(n)}assignment(){return this.getTypedRuleContext(Z0,0)}expr(){return this.getTypedRuleContext(we,0)}enterRule(e){e instanceof A&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof A&&e.exitAssignmentExpr(this)}}p.AssignmentExprContext=q4;class K4 extends we{constructor(e,n){super(e),super.copyFrom(n)}func(){return this.getTypedRuleContext(k1,0)}to(){return this.getTypedRuleContext(j0,0)}DOT(){return this.getToken(p.DOT,0)}enterRule(e){e instanceof A&&e.enterFuncExpr(this)}exitRule(e){e instanceof A&&e.exitFuncExpr(this)}}p.FuncExprContext=K4;class Y4 extends we{constructor(e,n){super(e),super.copyFrom(n)}atom(){return this.getTypedRuleContext(Bn,0)}enterRule(e){e instanceof A&&e.enterAtomExpr(this)}exitRule(e){e instanceof A&&e.exitAtomExpr(this)}}p.AtomExprContext=Y4;class X4 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});super.copyFrom(r)}OR(){return this.getToken(p.OR,0)}enterRule(n){n instanceof A&&n.enterOrExpr(this)}exitRule(n){n instanceof A&&n.exitOrExpr(this)}}p.OrExprContext=X4;class Q4 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.op=null,super.copyFrom(r)}PLUS(){return this.getToken(p.PLUS,0)}MINUS(){return this.getToken(p.MINUS,0)}enterRule(n){n instanceof A&&n.enterAdditiveExpr(this)}exitRule(n){n instanceof A&&n.exitAdditiveExpr(this)}}p.AdditiveExprContext=Q4;class J4 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.op=null,super.copyFrom(r)}LTEQ(){return this.getToken(p.LTEQ,0)}GTEQ(){return this.getToken(p.GTEQ,0)}LT(){return this.getToken(p.LT,0)}GT(){return this.getToken(p.GT,0)}enterRule(n){n instanceof A&&n.enterRelationalExpr(this)}exitRule(n){n instanceof A&&n.exitRelationalExpr(this)}}p.RelationalExprContext=J4;class e5 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});super.copyFrom(r)}PLUS(){return this.getToken(p.PLUS,0)}enterRule(n){n instanceof A&&n.enterPlusExpr(this)}exitRule(n){n instanceof A&&n.exitPlusExpr(this)}}p.PlusExprContext=e5;class t5 extends we{constructor(e,n){super(e),super.copyFrom(n)}NOT(){return this.getToken(p.NOT,0)}expr(){return this.getTypedRuleContext(we,0)}enterRule(e){e instanceof A&&e.enterNotExpr(this)}exitRule(e){e instanceof A&&e.exitNotExpr(this)}}p.NotExprContext=t5;class n5 extends we{constructor(e,n){super(e),super.copyFrom(n)}MINUS(){return this.getToken(p.MINUS,0)}expr(){return this.getTypedRuleContext(we,0)}enterRule(e){e instanceof A&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof A&&e.exitUnaryMinusExpr(this)}}p.UnaryMinusExprContext=n5;class r5 extends we{constructor(e,n){super(e),super.copyFrom(n)}creation(){return this.getTypedRuleContext(A1,0)}enterRule(e){e instanceof A&&e.enterCreationExpr(this)}exitRule(e){e instanceof A&&e.exitCreationExpr(this)}}p.CreationExprContext=r5;class s5 extends we{constructor(e,n){super(e),super.copyFrom(n)}OPAR(){return this.getToken(p.OPAR,0)}expr(){return this.getTypedRuleContext(we,0)}CPAR(){return this.getToken(p.CPAR,0)}enterRule(e){e instanceof A&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof A&&e.exitParenthesizedExpr(this)}}p.ParenthesizedExprContext=s5;class i5 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.op=null,super.copyFrom(r)}MULT(){return this.getToken(p.MULT,0)}DIV(){return this.getToken(p.DIV,0)}MOD(){return this.getToken(p.MOD,0)}enterRule(n){n instanceof A&&n.enterMultiplicationExpr(this)}exitRule(n){n instanceof A&&n.exitMultiplicationExpr(this)}}p.MultiplicationExprContext=i5;class o5 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.op=null,super.copyFrom(r)}EQ(){return this.getToken(p.EQ,0)}NEQ(){return this.getToken(p.NEQ,0)}enterRule(n){n instanceof A&&n.enterEqualityExpr(this)}exitRule(n){n instanceof A&&n.exitEqualityExpr(this)}}p.EqualityExprContext=o5;class l5 extends we{constructor(n,r){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});super.copyFrom(r)}AND(){return this.getToken(p.AND,0)}enterRule(n){n instanceof A&&n.enterAndExpr(this)}exitRule(n){n instanceof A&&n.exitAndExpr(this)}}p.AndExprContext=l5;class Bn extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_atom}copyFrom(e){super.copyFrom(e)}}class a5 extends Bn{constructor(e,n){super(e),super.copyFrom(n)}TRUE(){return this.getToken(p.TRUE,0)}FALSE(){return this.getToken(p.FALSE,0)}enterRule(e){e instanceof A&&e.enterBooleanAtom(this)}exitRule(e){e instanceof A&&e.exitBooleanAtom(this)}}p.BooleanAtomContext=a5;class c5 extends Bn{constructor(e,n){super(e),super.copyFrom(n)}ID(){return this.getToken(p.ID,0)}enterRule(e){e instanceof A&&e.enterIdAtom(this)}exitRule(e){e instanceof A&&e.exitIdAtom(this)}}p.IdAtomContext=c5;class u5 extends Bn{constructor(e,n){super(e),super.copyFrom(n)}STRING(){return this.getToken(p.STRING,0)}enterRule(e){e instanceof A&&e.enterStringAtom(this)}exitRule(e){e instanceof A&&e.exitStringAtom(this)}}p.StringAtomContext=u5;class h5 extends Bn{constructor(e,n){super(e),super.copyFrom(n)}NIL(){return this.getToken(p.NIL,0)}enterRule(e){e instanceof A&&e.enterNilAtom(this)}exitRule(e){e instanceof A&&e.exitNilAtom(this)}}p.NilAtomContext=h5;class d5 extends Bn{constructor(e,n){super(e),super.copyFrom(n)}INT(){return this.getToken(p.INT,0)}FLOAT(){return this.getToken(p.FLOAT,0)}enterRule(e){e instanceof A&&e.enterNumberAtom(this)}exitRule(e){e instanceof A&&e.exitNumberAtom(this)}}p.NumberAtomContext=d5;class W0 extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_parExpr}OPAR(){return this.getToken(p.OPAR,0)}condition(){return this.getTypedRuleContext(Xa,0)}CPAR(){return this.getToken(p.CPAR,0)}enterRule(e){e instanceof A&&e.enterParExpr(this)}exitRule(e){e instanceof A&&e.exitParExpr(this)}}class Xa extends E.ParserRuleContext{constructor(e,n,r){n===void 0&&(n=null),r==null&&(r=-1),super(n,r),this.parser=e,this.ruleIndex=p.RULE_condition}atom(){return this.getTypedRuleContext(Bn,0)}expr(){return this.getTypedRuleContext(we,0)}inExpr(){return this.getTypedRuleContext(Qa,0)}enterRule(e){e instanceof A&&e.enterCondition(this)}exitRule(e){e instanceof A&&e.exitCondition(this)}}class Qa extends E.ParserRuleContext{constructor(n,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(p.ID):this.getToken(p.ID,n)});this.parser=n,this.ruleIndex=p.RULE_inExpr}IN(){return this.getToken(p.IN,0)}enterRule(n){n instanceof A&&n.enterInExpr(this)}exitRule(n){n instanceof A&&n.exitInExpr(this)}}p.ProgContext=W4,p.TitleContext=wa,p.HeadContext=ba,p.GroupContext=E1,p.StarterExpContext=Ea,p.StarterContext=Ta,p.ParticipantContext=qs,p.StereotypeContext=Sa,p.LabelContext=Aa,p.ParticipantTypeContext=ka,p.NameContext=Ks,p.WidthContext=Ra,p.BlockContext=T1,p.RetContext=Oa,p.DividerContext=Ia,p.DividerNoteContext=Ma,p.StatContext=S1,p.ParContext=Na,p.OptContext=Pa,p.CreationContext=A1,p.CreationBodyContext=Fa,p.MessageContext=Da,p.MessageBodyContext=$a,p.FuncContext=k1,p.FromContext=R1,p.ToContext=j0,p.SignatureContext=O1,p.InvocationContext=I1,p.AssignmentContext=Z0,p.AsyncMessageContext=M1,p.ContentContext=Ba,p.ConstructContext=Ha,p.TypeContext=N1,p.AssigneeContext=Ua,p.MethodNameContext=za,p.ParametersContext=P1,p.ParameterContext=F1,p.DeclarationContext=Va,p.TcfContext=Ga,p.TryBlockContext=ja,p.CatchBlockContext=D1,p.FinallyBlockContext=Za,p.AltContext=Wa,p.IfBlockContext=qa,p.ElseIfBlockContext=$1,p.ElseBlockContext=Ka,p.BraceBlockContext=nn,p.LoopContext=Ya,p.ExprContext=we,p.AtomContext=Bn,p.ParExprContext=W0,p.ConditionContext=Xa,p.InExprContext=Qa;function eg(){this.__data__=[],this.size=0}var tg=eg;function ng(t,e){return t===e||t!==t&&e!==e}var B1=ng,rg=B1;function sg(t,e){for(var n=t.length;n--;)if(rg(t[n][0],e))return n;return-1}var H1=sg,ig=H1,og=Array.prototype,lg=og.splice;function ag(t){var e=this.__data__,n=ig(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():lg.call(e,n,1),--this.size,!0}var cg=ag,ug=H1;function hg(t){var e=this.__data__,n=ug(e,t);return n<0?void 0:e[n][1]}var dg=hg,fg=H1;function pg(t){return fg(this.__data__,t)>-1}var gg=pg,mg=H1;function xg(t,e){var n=this.__data__,r=mg(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var _g=xg,Lg=tg,yg=cg,vg=dg,Cg=gg,wg=_g;function Ys(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ys.prototype.clear=Lg,Ys.prototype.delete=yg,Ys.prototype.get=vg,Ys.prototype.has=Cg,Ys.prototype.set=wg;var U1=Ys,bg=U1;function Eg(){this.__data__=new bg,this.size=0}var Tg=Eg;function Sg(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var Ag=Sg;function kg(t){return this.__data__.get(t)}var Rg=kg;function Og(t){return this.__data__.has(t)}var Ig=Og,Mg=es,Ng=Mg.Symbol,f5=Ng,p5=f5,g5=Object.prototype,Pg=g5.hasOwnProperty,Fg=g5.toString,q0=p5?p5.toStringTag:void 0;function Dg(t){var e=Pg.call(t,q0),n=t[q0];try{t[q0]=void 0;var r=!0}catch{}var s=Fg.call(t);return r&&(e?t[q0]=n:delete t[q0]),s}var $g=Dg,Bg=Object.prototype,Hg=Bg.toString;function Ug(t){return Hg.call(t)}var zg=Ug,m5=f5,Vg=$g,Gg=zg,jg="[object Null]",Zg="[object Undefined]",x5=m5?m5.toStringTag:void 0;function Wg(t){return t==null?t===void 0?Zg:jg:x5&&x5 in Object(t)?Vg(t):Gg(t)}var z1=Wg;function qg(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var ss=qg,Kg=z1,Yg=ss,Xg="[object AsyncFunction]",Qg="[object Function]",Jg="[object GeneratorFunction]",em="[object Proxy]";function tm(t){if(!Yg(t))return!1;var e=Kg(t);return e==Qg||e==Jg||e==Xg||e==em}var Ja=tm,nm=es,rm=nm["__core-js_shared__"],sm=rm,ec=sm,_5=function(){var t=/[^.]+$/.exec(ec&&ec.keys&&ec.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function im(t){return!!_5&&_5 in t}var om=im,lm=Function.prototype,am=lm.toString;function cm(t){if(t!=null){try{return am.call(t)}catch{}try{return t+""}catch{}}return""}var um=cm,hm=Ja,dm=om,fm=ss,pm=um,gm=/[\\^$.*+?()[\]{}|]/g,mm=/^\[object .+?Constructor\]$/,xm=Function.prototype,_m=Object.prototype,Lm=xm.toString,ym=_m.hasOwnProperty,vm=RegExp("^"+Lm.call(ym).replace(gm,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cm(t){if(!fm(t)||dm(t))return!1;var e=hm(t)?vm:mm;return e.test(pm(t))}var wm=Cm;function bm(t,e){return t==null?void 0:t[e]}var Em=bm,Tm=wm,Sm=Em;function Am(t,e){var n=Sm(t,e);return Tm(n)?n:void 0}var tc=Am,km=tc,Rm=es,Om=km(Rm,"Map"),L5=Om,Im=tc,Mm=Im(Object,"create"),V1=Mm,y5=V1;function Nm(){this.__data__=y5?y5(null):{},this.size=0}var Pm=Nm;function Fm(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Dm=Fm,$m=V1,Bm="__lodash_hash_undefined__",Hm=Object.prototype,Um=Hm.hasOwnProperty;function zm(t){var e=this.__data__;if($m){var n=e[t];return n===Bm?void 0:n}return Um.call(e,t)?e[t]:void 0}var Vm=zm,Gm=V1,jm=Object.prototype,Zm=jm.hasOwnProperty;function Wm(t){var e=this.__data__;return Gm?e[t]!==void 0:Zm.call(e,t)}var qm=Wm,Km=V1,Ym="__lodash_hash_undefined__";function Xm(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Km&&e===void 0?Ym:e,this}var Qm=Xm,Jm=Pm,ex=Dm,tx=Vm,nx=qm,rx=Qm;function Xs(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Xs.prototype.clear=Jm,Xs.prototype.delete=ex,Xs.prototype.get=tx,Xs.prototype.has=nx,Xs.prototype.set=rx;var sx=Xs,v5=sx,ix=U1,ox=L5;function lx(){this.size=0,this.__data__={hash:new v5,map:new(ox||ix),string:new v5}}var ax=lx;function cx(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var ux=cx,hx=ux;function dx(t,e){var n=t.__data__;return hx(e)?n[typeof e=="string"?"string":"hash"]:n.map}var G1=dx,fx=G1;function px(t){var e=fx(this,t).delete(t);return this.size-=e?1:0,e}var gx=px,mx=G1;function xx(t){return mx(this,t).get(t)}var _x=xx,Lx=G1;function yx(t){return Lx(this,t).has(t)}var vx=yx,Cx=G1;function wx(t,e){var n=Cx(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var bx=wx,Ex=ax,Tx=gx,Sx=_x,Ax=vx,kx=bx;function Qs(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Qs.prototype.clear=Ex,Qs.prototype.delete=Tx,Qs.prototype.get=Sx,Qs.prototype.has=Ax,Qs.prototype.set=kx;var Rx=Qs,Ox=U1,Ix=L5,Mx=Rx,Nx=200;function Px(t,e){var n=this.__data__;if(n instanceof Ox){var r=n.__data__;if(!Ix||r.length<Nx-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Mx(r)}return n.set(t,e),this.size=n.size,this}var Fx=Px,Dx=U1,$x=Tg,Bx=Ag,Hx=Rg,Ux=Ig,zx=Fx;function Js(t){var e=this.__data__=new Dx(t);this.size=e.size}Js.prototype.clear=$x,Js.prototype.delete=Bx,Js.prototype.get=Hx,Js.prototype.has=Ux,Js.prototype.set=zx;var Vx=Js,Gx=tc,jx=function(){try{var t=Gx(Object,"defineProperty");return t({},"",{}),t}catch{}}(),C5=jx,w5=C5;function Zx(t,e,n){e=="__proto__"&&w5?w5(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var nc=Zx,Wx=nc,qx=B1;function Kx(t,e,n){(n!==void 0&&!qx(t[e],n)||n===void 0&&!(e in t))&&Wx(t,e,n)}var b5=Kx;function Yx(t){return function(e,n,r){for(var s=-1,i=Object(e),o=r(e),l=o.length;l--;){var a=o[t?l:++s];if(n(i[a],a,i)===!1)break}return e}}var Xx=Yx,Qx=Xx,Jx=Qx(),e_=Jx,rc={exports:{}};(function(t,e){var n=es,r=e&&!e.nodeType&&e,s=r&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===r,o=i?n.Buffer:void 0,l=o?o.allocUnsafe:void 0;function a(c,u){if(u)return c.slice();var h=c.length,d=l?l(h):new c.constructor(h);return c.copy(d),d}t.exports=a})(rc,rc.exports);var t_=es,n_=t_.Uint8Array,r_=n_,E5=r_;function s_(t){var e=new t.constructor(t.byteLength);return new E5(e).set(new E5(t)),e}var i_=s_,o_=i_;function l_(t,e){var n=e?o_(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var a_=l_;function c_(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var u_=c_,h_=ss,T5=Object.create,d_=function(){function t(){}return function(e){if(!h_(e))return{};if(T5)return T5(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),f_=d_;function p_(t,e){return function(n){return t(e(n))}}var g_=p_,m_=g_,x_=m_(Object.getPrototypeOf,Object),S5=x_,__=Object.prototype;function L_(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||__;return t===n}var A5=L_,y_=f_,v_=S5,C_=A5;function w_(t){return typeof t.constructor=="function"&&!C_(t)?y_(v_(t)):{}}var b_=w_;function E_(t){return t!=null&&typeof t=="object"}var K0=E_,T_=z1,S_=K0,A_="[object Arguments]";function k_(t){return S_(t)&&T_(t)==A_}var R_=k_,k5=R_,O_=K0,R5=Object.prototype,I_=R5.hasOwnProperty,M_=R5.propertyIsEnumerable,N_=k5(function(){return arguments}())?k5:function(t){return O_(t)&&I_.call(t,"callee")&&!M_.call(t,"callee")},O5=N_,P_=Array.isArray,I5=P_,F_=9007199254740991;function D_(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=F_}var M5=D_,$_=Ja,B_=M5;function H_(t){return t!=null&&B_(t.length)&&!$_(t)}var sc=H_,U_=sc,z_=K0;function V_(t){return z_(t)&&U_(t)}var G_=V_,j1={exports:{}};function j_(){return!1}var Z_=j_;(function(t,e){var n=es,r=Z_,s=e&&!e.nodeType&&e,i=s&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===s,l=o?n.Buffer:void 0,a=l?l.isBuffer:void 0,c=a||r;t.exports=c})(j1,j1.exports);var W_=z1,q_=S5,K_=K0,Y_="[object Object]",X_=Function.prototype,Q_=Object.prototype,N5=X_.toString,J_=Q_.hasOwnProperty,eL=N5.call(Object);function tL(t){if(!K_(t)||W_(t)!=Y_)return!1;var e=q_(t);if(e===null)return!0;var n=J_.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&N5.call(n)==eL}var nL=tL,rL=z1,sL=M5,iL=K0,oL="[object Arguments]",lL="[object Array]",aL="[object Boolean]",cL="[object Date]",uL="[object Error]",hL="[object Function]",dL="[object Map]",fL="[object Number]",pL="[object Object]",gL="[object RegExp]",mL="[object Set]",xL="[object String]",_L="[object WeakMap]",LL="[object ArrayBuffer]",yL="[object DataView]",vL="[object Float32Array]",CL="[object Float64Array]",wL="[object Int8Array]",bL="[object Int16Array]",EL="[object Int32Array]",TL="[object Uint8Array]",SL="[object Uint8ClampedArray]",AL="[object Uint16Array]",kL="[object Uint32Array]",Qe={};Qe[vL]=Qe[CL]=Qe[wL]=Qe[bL]=Qe[EL]=Qe[TL]=Qe[SL]=Qe[AL]=Qe[kL]=!0,Qe[oL]=Qe[lL]=Qe[LL]=Qe[aL]=Qe[yL]=Qe[cL]=Qe[uL]=Qe[hL]=Qe[dL]=Qe[fL]=Qe[pL]=Qe[gL]=Qe[mL]=Qe[xL]=Qe[_L]=!1;function RL(t){return iL(t)&&sL(t.length)&&!!Qe[rL(t)]}var OL=RL;function IL(t){return function(e){return t(e)}}var ML=IL,ic={exports:{}};(function(t,e){var n=v4,r=e&&!e.nodeType&&e,s=r&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===r,o=i&&n.process,l=function(){try{var a=s&&s.require&&s.require("util").types;return a||o&&o.binding&&o.binding("util")}catch{}}();t.exports=l})(ic,ic.exports);var NL=OL,PL=ML,P5=ic.exports,F5=P5&&P5.isTypedArray,FL=F5?PL(F5):NL,D5=FL;function DL(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var $5=DL,$L=nc,BL=B1,HL=Object.prototype,UL=HL.hasOwnProperty;function zL(t,e,n){var r=t[e];(!(UL.call(t,e)&&BL(r,n))||n===void 0&&!(e in t))&&$L(t,e,n)}var VL=zL,GL=VL,jL=nc;function ZL(t,e,n,r){var s=!n;n||(n={});for(var i=-1,o=e.length;++i<o;){var l=e[i],a=r?r(n[l],t[l],l,n,t):void 0;a===void 0&&(a=t[l]),s?jL(n,l,a):GL(n,l,a)}return n}var WL=ZL;function qL(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var KL=qL,YL=9007199254740991,XL=/^(?:0|[1-9]\d*)$/;function QL(t,e){var n=typeof t;return e=e==null?YL:e,!!e&&(n=="number"||n!="symbol"&&XL.test(t))&&t>-1&&t%1==0&&t<e}var B5=QL,JL=KL,ey=O5,ty=I5,ny=j1.exports,ry=B5,sy=D5,iy=Object.prototype,oy=iy.hasOwnProperty;function ly(t,e){var n=ty(t),r=!n&&ey(t),s=!n&&!r&&ny(t),i=!n&&!r&&!s&&sy(t),o=n||r||s||i,l=o?JL(t.length,String):[],a=l.length;for(var c in t)(e||oy.call(t,c))&&!(o&&(c=="length"||s&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ry(c,a)))&&l.push(c);return l}var ay=ly;function cy(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var uy=cy,hy=ss,dy=A5,fy=uy,py=Object.prototype,gy=py.hasOwnProperty;function my(t){if(!hy(t))return fy(t);var e=dy(t),n=[];for(var r in t)r=="constructor"&&(e||!gy.call(t,r))||n.push(r);return n}var xy=my,_y=ay,Ly=xy,yy=sc;function vy(t){return yy(t)?_y(t,!0):Ly(t)}var H5=vy,Cy=WL,wy=H5;function by(t){return Cy(t,wy(t))}var Ey=by,U5=b5,Ty=rc.exports,Sy=a_,Ay=u_,ky=b_,z5=O5,V5=I5,Ry=G_,Oy=j1.exports,Iy=Ja,My=ss,Ny=nL,Py=D5,G5=$5,Fy=Ey;function Dy(t,e,n,r,s,i,o){var l=G5(t,n),a=G5(e,n),c=o.get(a);if(c){U5(t,n,c);return}var u=i?i(l,a,n+"",t,e,o):void 0,h=u===void 0;if(h){var d=V5(a),f=!d&&Oy(a),g=!d&&!f&&Py(a);u=a,d||f||g?V5(l)?u=l:Ry(l)?u=Ay(l):f?(h=!1,u=Ty(a,!0)):g?(h=!1,u=Sy(a,!0)):u=[]:Ny(a)||z5(a)?(u=l,z5(l)?u=Fy(l):(!My(l)||Iy(l))&&(u=ky(a))):h=!1}h&&(o.set(a,u),s(u,a,r,i,o),o.delete(a)),U5(t,n,u)}var $y=Dy,By=Vx,Hy=b5,Uy=e_,zy=$y,Vy=ss,Gy=H5,jy=$5;function j5(t,e,n,r,s){t!==e&&Uy(e,function(i,o){if(s||(s=new By),Vy(i))zy(t,e,o,n,j5,r,s);else{var l=r?r(jy(t,o),i,o+"",t,e,s):void 0;l===void 0&&(l=i),Hy(t,o,l)}},Gy)}var Zy=j5;function Wy(t){return t}var Z5=Wy;function qy(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var Ky=qy,Yy=Ky,W5=Math.max;function Xy(t,e,n){return e=W5(e===void 0?t.length-1:e,0),function(){for(var r=arguments,s=-1,i=W5(r.length-e,0),o=Array(i);++s<i;)o[s]=r[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=r[s];return l[e]=n(o),Yy(t,this,l)}}var Qy=Xy;function Jy(t){return function(){return t}}var ev=Jy,tv=ev,q5=C5,nv=Z5,rv=q5?function(t,e){return q5(t,"toString",{configurable:!0,enumerable:!1,value:tv(e),writable:!0})}:nv,sv=rv,iv=800,ov=16,lv=Date.now;function av(t){var e=0,n=0;return function(){var r=lv(),s=ov-(r-n);if(n=r,s>0){if(++e>=iv)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var cv=av,uv=sv,hv=cv,dv=hv(uv),fv=dv,pv=Z5,gv=Qy,mv=fv;function xv(t,e){return mv(gv(t,e,pv),t+"")}var _v=xv,Lv=B1,yv=sc,vv=B5,Cv=ss;function wv(t,e,n){if(!Cv(n))return!1;var r=typeof e;return(r=="number"?yv(n)&&vv(e,n.length):r=="string"&&e in n)?Lv(n[e],t):!1}var bv=wv,Ev=_v,Tv=bv;function Sv(t){return Ev(function(e,n){var r=-1,s=n.length,i=s>1?n[s-1]:void 0,o=s>2?n[2]:void 0;for(i=t.length>3&&typeof i=="function"?(s--,i):void 0,o&&Tv(n[0],n[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++r<s;){var l=n[r];l&&t(e,l,r,i)}return e})}var Av=Sv,kv=Zy,Rv=Av,Ov=Rv(function(t,e,n,r){kv(t,e,n,r)}),Iv=Ov;class Mv{constructor(e,n,r,s,i,o,l,a,c,u){J(this,"name");J(this,"stereotype");J(this,"width");J(this,"groupId");J(this,"explicit");J(this,"isStarter");J(this,"label");J(this,"type");J(this,"color");J(this,"comment");this.name=e,this.stereotype=r,this.width=s,this.groupId=i,this.explicit=l,this.isStarter=n,this.label=o,this.type=a,this.color=c,this.comment=u}Type(){var e;switch((e=this.type)==null?void 0:e.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}}class Nv{constructor(){J(this,"participants",new Map)}Add(e,n,r,s,i,o,l,a,c,u){const h=new Mv(e,n,r,s,i,o,l,a,c,u);this.participants.set(e,Iv({},this.Get(e),h,(d,f)=>d||f))}ImplicitArray(){return this.Array().filter(e=>!e.explicit&&!e.isStarter)}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){const e=this.First();return e.isStarter?e:void 0}}const Pv=p.ProgContext;let rr,is=!1,oc;const jt=new A;let Fv=function(t){var c,u,h,d,f,g,x;if(is)return;const e=(c=t==null?void 0:t.participantType())==null?void 0:c.getFormattedText().replace("@",""),n=((u=t==null?void 0:t.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",r=(d=(h=t.stereotype())==null?void 0:h.name())==null?void 0:d.getFormattedText(),s=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,i=t.label&&((g=(f=t.label())==null?void 0:f.name())==null?void 0:g.getFormattedText()),o=!0,l=(x=t.COLOR())==null?void 0:x.getText(),a=t.getComment();rr.Add(n,!1,r,s,oc,i,o,e,l,a)};jt.enterParticipant=Fv;let K5=function(t){if(is)return;let e=t.getFormattedText();rr.Add(e)};jt.enterFrom=K5,jt.enterTo=K5,jt.enterStarter=function(t){let e=t.getFormattedText();rr.Add(e,!0)},jt.enterCreation=function(t){if(is)return;const e=t.Owner();rr.Add(e)},jt.enterParameters=function(){is=!0},jt.exitParameters=function(){is=!1},jt.enterCondition=function(){is=!0},jt.exitCondition=function(){is=!1},jt.enterGroup=function(t){var e;oc=(e=t.name())==null?void 0:e.getFormattedText()},jt.exitGroup=function(){oc=void 0},jt.enterRet=function(t){t.asyncMessage()||(rr.Add(t.From()),rr.Add(t.ReturnTo()))};const Dv=E.tree.ParseTreeWalker.DEFAULT;jt.getParticipants=function(t,e){return rr=new Nv,e&&t instanceof Pv&&rr.Add(t.Starter(),!0),Dv.walk(this,t),rr};const $v=E.tree.ParseTreeWalker.DEFAULT;var Cn=new A,Tt=0,hn=0;Cn.enterTcf=function(){Tt++},Cn.enterOpt=function(){Tt++},Cn.enterPar=function(){Tt++},Cn.enterAlt=function(){Tt++},Cn.enterLoop=function(){Tt++},Cn.exitTcf=function(){hn=Math.max(hn,Tt),Tt--},Cn.exitOpt=function(){hn=Math.max(hn,Tt),Tt--},Cn.exitPar=function(){hn=Math.max(hn,Tt),Tt--},Cn.exitAlt=function(){hn=Math.max(hn,Tt),Tt--},Cn.exitLoop=function(){hn=Math.max(hn,Tt),Tt--},Cn.depth=function(t){return function(e){return Tt=0,hn=0,e.children.map(function(n){$v.walk(t,n)}),hn}};const Bv=p.TitleContext;Bv.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const Y5=p,lc=Y5.CreationContext;lc.prototype.Body=lc.prototype.creationBody,lc.prototype.isCurrent=function(t){return X5.bind(this)(t)};const ac=Y5.MessageContext;ac.prototype.Body=ac.prototype.messageBody,ac.prototype.isCurrent=function(t){return X5.bind(this)(t)};function X5(t){try{if(t==null)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch{return!1}}const cc=p,Z1=cc.CreationContext,uc=cc.MessageContext,Q5=cc.AsyncMessageContext;Z1.prototype.Assignee=function(){var t,e,n;return(n=(e=(t=this.creationBody())==null?void 0:t.assignment())==null?void 0:e.assignee())==null?void 0:n.getFormattedText()},Z1.prototype.Constructor=function(){var t,e;return(e=(t=this.creationBody())==null?void 0:t.construct())==null?void 0:e.getFormattedText()},Z1.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const t=this.Assignee(),e=this.Constructor();return t?`${t}:${e}`:e},uc.prototype.To=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.to())==null?void 0:e.getFormattedText()},uc.prototype.Owner=function(){return this.To()||J5(this.parentCtx)};function J5(t){for(;t;){if(t instanceof Z1||t instanceof uc)return t.Owner();t=t.parentCtx}}Q5.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},Q5.prototype.Owner=function(){return this.To()||J5(this.parentCtx)};const Hv=p.ProgContext;Hv.prototype.Starter=function(){var i,o,l,a,c,u,h,d,f,g,x,C;const t=(l=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:l.getFormattedText();let e,n,r;const s=(a=this.block())==null?void 0:a.stat();if(s&&s[0]){const _=(h=(u=(c=s[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:h.getFormattedText(),m=(f=(d=s[0].asyncMessage())==null?void 0:d.from())==null?void 0:f.getFormattedText();e=_||m}else{const _=(g=this.head())==null?void 0:g.children;if(_&&_[0]){const m=_[0];if(m instanceof p.ParticipantContext&&(n=(x=m.name())==null?void 0:x.getFormattedText()),m instanceof p.GroupContext){const y=m.participant();y&&y[0]&&(r=(C=y[0].name())==null?void 0:C.getFormattedText())}}}return t||e||n||r||"_STARTER_"};const W1=p,Uv=W1.RetContext,eh=W1.ProgContext,th=W1.MessageContext,zv=W1.CreationContext;Uv.prototype.ReturnTo=function(){var r,s;const n=this.parentCtx.parentCtx.parentCtx;if(n instanceof eh)return n.Starter();{let i=n;for(;i&&!(i instanceof th)&&!(i instanceof zv);){if(i instanceof eh)return i.Starter();i=i.parentCtx}return i instanceof th&&((s=(r=i.messageBody())==null?void 0:r.from())==null?void 0:s.getFormattedText())||i.ClosestAncestorStat().Origin()}};const Vv=E.ParserRuleContext,nh=p.StatContext,hc=p.ProgContext,Gv=p.MessageContext,jv=p.CreationContext;Vv.prototype.Origin=function(){let t=this.parentCtx;for(;t&&!(t instanceof nh||t instanceof hc);)t=this.parentCtx;return t.Origin()},nh.prototype.Origin=function(){let t=this.parentCtx;for(;t;){if(t instanceof hc)return t.Starter();if(t instanceof Gv||t instanceof jv){const e=t.Owner();if(e)return e}t=t.parentCtx}},hc.prototype.Origin=function(){return this.Starter()};const Zv=p.DividerContext;Zv.prototype.Note=function(){var e;const t=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!t.startsWith("=="))throw new Error("Divider note must start with ==");return t==null?void 0:t.replace(/^=+|=+$/g,"")};const dc=p,Wv=dc.MessageContext,qv=dc.AsyncMessageContext,Kv=dc.CreationContext;Wv.prototype.SignatureText=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.func())==null?void 0:e.signature())==null?void 0:n.map(r=>r==null?void 0:r.getFormattedText()).join(".")},qv.prototype.SignatureText=function(){var t;return(t=this.content())==null?void 0:t.getFormattedText()},Kv.prototype.SignatureText=function(){var n;const t=this.creationBody().parameters();return"\xAB"+(((n=t==null?void 0:t.parameter())==null?void 0:n.length)>0?t.getFormattedText():"create")+"\xBB"};const Yv=p.MessageContext;class Xv{constructor(e,n){J(this,"assignee");J(this,"type");if(n&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=n||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}Yv.prototype.Assignment=function(){var r,s;const t=this.messageBody().assignment(),e=(r=t==null?void 0:t.assignee())==null?void 0:r.getFormattedText(),n=(s=t==null?void 0:t.type())==null?void 0:s.getFormattedText();if(e)return new Xv(e,n)};const Y0=p,Qv=Y0.CreationContext,Jv=Y0.StatContext,rh=Y0.MessageContext,eC=Y0.AsyncMessageContext,tC=Y0.RetContext;Qv.prototype.From=function(){if(this.parentCtx instanceof Jv)return this.ClosestAncestorStat().Origin()},rh.prototype.ProvidedFrom=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.from())==null?void 0:e.getFormattedText()},rh.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},eC.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},tC.prototype.From=function(){return this.ClosestAncestorStat().Origin()},E.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const fc=p,pc=fc.CreationContext;pc.prototype.Body=pc.prototype.creationBody,pc.prototype.isInitedFromOccurrence=function(t){return sh.bind(this)(t)};const gc=fc.MessageContext;gc.prototype.Body=gc.prototype.messageBody,gc.prototype.isInitedFromOccurrence=function(t){return sh.bind(this)(t)};function sh(t){let e=this;for(;e!=null;){if(e instanceof fc.StatContext){let n;if(e.message&&e.message()?n=e.message().Owner():e.creation&&e.creation()?n=e.creation().Owner():e.asyncMessage&&e.asyncMessage()&&(n=e.asyncMessage().to().getFormattedText()),n===t)return!0}e=e.parentCtx}return!1}const ih=p,oh=ih.StatContext;E.ParserRuleContext.prototype.ClosestAncestorStat=function(){let t=this;for(;!(t instanceof oh);)t=t.parentCtx;if(t instanceof oh)return t},E.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const t=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(t instanceof ih.BlockContext)return t;console.warn("Cannot find closest ancestor block for context:",this)};function nC(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,r){return e.apply(this,arguments)};case 3:return function(n,r,s){return e.apply(this,arguments)};case 4:return function(n,r,s,i){return e.apply(this,arguments)};case 5:return function(n,r,s,i,o){return e.apply(this,arguments)};case 6:return function(n,r,s,i,o,l){return e.apply(this,arguments)};case 7:return function(n,r,s,i,o,l,a){return e.apply(this,arguments)};case 8:return function(n,r,s,i,o,l,a,c){return e.apply(this,arguments)};case 9:return function(n,r,s,i,o,l,a,c,u){return e.apply(this,arguments)};case 10:return function(n,r,s,i,o,l,a,c,u,h){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var lh=nC;function rC(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var sC=rC;function iC(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}var mc=iC,oC=mc;function lC(t){return function e(n){return arguments.length===0||oC(n)?e:t.apply(this,arguments)}}var q1=lC,xc=q1,X0=mc;function aC(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return X0(n)?e:xc(function(s){return t(n,s)});default:return X0(n)&&X0(r)?e:X0(n)?xc(function(s){return t(s,r)}):X0(r)?xc(function(s){return t(n,s)}):t(n,r)}}}var ah=aC,K1=q1,e0=ah,yt=mc;function cC(t){return function e(n,r,s){switch(arguments.length){case 0:return e;case 1:return yt(n)?e:e0(function(i,o){return t(n,i,o)});case 2:return yt(n)&&yt(r)?e:yt(n)?e0(function(i,o){return t(i,r,o)}):yt(r)?e0(function(i,o){return t(n,i,o)}):K1(function(i){return t(n,r,i)});default:return yt(n)&&yt(r)&&yt(s)?e:yt(n)&&yt(r)?e0(function(i,o){return t(i,o,s)}):yt(n)&&yt(s)?e0(function(i,o){return t(i,r,o)}):yt(r)&&yt(s)?e0(function(i,o){return t(n,i,o)}):yt(n)?K1(function(i){return t(i,r,s)}):yt(r)?K1(function(i){return t(n,i,s)}):yt(s)?K1(function(i){return t(n,r,i)}):t(n,r,s)}}}var _c=cC,ch=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function uC(t){return Object.prototype.toString.call(t)==="[object String]"}var hC=uC,dC=q1,fC=ch,pC=hC,gC=dC(function(e){return fC(e)?!0:!e||typeof e!="object"||pC(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),mC=gC,xC=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function _C(t){return new xC(t)}var LC=_C,yC=lh,vC=ah,CC=vC(function(e,n){return yC(e.length,function(){return e.apply(n,arguments)})}),wC=CC,bC=mC,EC=LC,TC=wC;function SC(t,e,n){for(var r=0,s=n.length;r<s;){if(e=t["@@transducer/step"](e,n[r]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}function uh(t,e,n){for(var r=n.next();!r.done;){if(e=t["@@transducer/step"](e,r.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function hh(t,e,n,r){return t["@@transducer/result"](n[r](TC(t["@@transducer/step"],t),e))}var dh=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function AC(t,e,n){if(typeof t=="function"&&(t=EC(t)),bC(n))return SC(t,e,n);if(typeof n["fantasy-land/reduce"]=="function")return hh(t,e,n,"fantasy-land/reduce");if(n[dh]!=null)return uh(t,e,n[dh]());if(typeof n.next=="function")return uh(t,e,n);if(typeof n.reduce=="function")return hh(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var kC=AC,RC=_c,OC=kC,IC=RC(OC),MC=IC,NC=ch;function PC(t,e){return function(){var n=arguments.length;if(n===0)return e();var r=arguments[n-1];return NC(r)||typeof r[t]!="function"?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var fh=PC,FC=fh,DC=_c,$C=DC(FC("slice",function(e,n,r){return Array.prototype.slice.call(r,e,n)})),BC=$C,HC=fh,UC=q1,zC=BC,VC=UC(HC("tail",zC(1,1/0))),GC=VC,jC=lh,ZC=sC,WC=MC,qC=GC;function KC(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return jC(arguments[0].length,WC(ZC,arguments[0],qC(arguments)))}var YC=KC;const XC=YC;var QC=_c,JC=QC(function(e,n,r){return r.replace(e,n)}),ew=JC;const Q0=ew,tw=Q0(/[\n\r]/g," "),nw=Q0(/\s+/g," "),rw=Q0(/\s*([,;.()])\s*/g,"$1"),sw=Q0(/\s+$/g,""),iw=Q0(/^"(.*)"$/,"$1"),ow=XC(tw,nw,rw,sw,iw),Lc=(t,e)=>{let n=e;for(t[n]===`
16
16
  `&&n--;n>=0;){if(t[n]===`
17
17
  `)return n+1;n--}return 0},ph=(t,e)=>{const n=Lc(t,e);if(n===0)return 0;let r=n-2;for(;r>=0;){if(t[r]===`
18
- `)return r+1;r--}return 0},lw=(t,e)=>{const n=Lc(t,e);if(n===0)return"";const r=ph(t,e);return t.slice(r,n)};class aw extends E.error.ErrorListener{syntaxError(e,n,r,s,i){}}function cw(t){const e=new E.InputStream(t),n=new K(e),r=new E.CommonTokenStream(n),s=new p(r);return s.addErrorListener(new aw),s._syntaxErrors?null:s.prog()}E.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return ow(t)},E.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=K.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map(r=>r.text.substring(2)).join("")},E.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const uw=p.ProgContext,hw=cw,gh=p.GroupContext,mh=p.ParticipantContext,t0=function(t,e){return jt.getParticipants(t,e)};var Er=(t=>(t[t.MessageContent=0]="MessageContent",t[t.ParticipantName=1]="ParticipantName",t))(Er||{});let yc={};const xh={},_h=t=>{var e;if(t!=null){const n=(e=yc[t])!=null?e:xh[t];return n!==void 0?n:null}return null},Lh=(t,e,n=!1)=>{yc[t]=e,n&&(xh[t]=e)},dw=()=>{yc={}};function J0(t,e){const n=`WidthProviderOnBrowser_${t}_${e}`,r=_h(n);if(r!=null)return r;let s=document.querySelector(".textarea-hidden-div");if(!s){const o=document.createElement("div");o.className="textarea-hidden-div ",o.style.fontSize=e===Er.MessageContent?"0.875rem":"1rem",o.style.fontFamily="Helvetica, Verdana, serif",o.style.display="inline",o.style.whiteSpace="nowrap",o.style.visibility="hidden",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.overflow="hidden",o.style.width="0px",o.style.paddingLeft="0px",o.style.paddingRight="0px",o.style.margin="0px",o.style.border="0px",document.body.appendChild(o),s=o}s.textContent=t;const i=s.scrollWidth;return Lh(n,i,!0),i}const fw=110,vc=20,pw=10,gw=14,mw=100,yh=70,xw=p;class Cc extends A{constructor(){super(...arguments);J(this,"explicitParticipants",[]);J(this,"starter","");J(this,"implicitParticipants",[]);J(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(n){this.starter=n.getFormattedText()}enterParticipant(n){var o,l,a;const r=((o=n==null?void 0:n.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",s=(a=(l=n.label())==null?void 0:l.name())==null?void 0:a.getFormattedText(),i={name:r,label:s,left:""};this.explicitParticipants.push(i)}enterFrom(n){if(this.isBlind)return;const r=n==null?void 0:n.getFormattedText();if(n.ClosestAncestorBlock().parentCtx instanceof xw.ProgContext&&n.ClosestAncestorStat()===n.ClosestAncestorBlock().children[0]){this.starter=r;return}this.enterTo(n)}enterTo(n){if(this.isBlind)return;const r=n==null?void 0:n.getFormattedText();if(r===this.starter||this.explicitParticipants.some(i=>i.name===r))return;const s={name:r,left:""};this.implicitParticipants.push(s)}enterCreation(n){if(this.isBlind)return;const r=n==null?void 0:n.Owner();if(r===this.starter||this.explicitParticipants.some(i=>i.name===r))return;const s={name:r,left:""};this.implicitParticipants.push(s)}result(){let n=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||n.unshift(this._getStarter()),n=this._dedup(n),Cc._assignLeft(n),n}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(n=>n.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(n){return n.filter((r,s)=>n.findIndex(i=>i.name===r.name)===s)}static _assignLeft(n){n.reduce((r,s)=>(s.left=r.name||"",s),{name:"",left:""})}}function _w(t){const e=new Cc;return E.tree.ParseTreeWalker.DEFAULT.walk(e,t),e.result()}function Y1(t,e){return{position:t,velocity:e}}function vh(t,e){return Y1(t.position+e.position,t.velocity+e.velocity)}const Ch=Math.sqrt(Number.EPSILON);function Lw(t,e){const n=t.position-e.position;return n<-Ch||Math.abs(n)<=Ch&&t.velocity<e.velocity}function yw(){return{delta:1/0,dualLessThan:function(t,e){const n=Lw(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function vw(t,e){const n=Array();for(let r=0;r<t;r++){n.push([]);for(let s=0;s<r;s++)e[s][r]>0&&n[r].push({i:s,length:Y1(e[s][r],0)})}return n}function Cw(t,e){const n=yw();let r=Y1(0,0);const s=[];for(let i=0;i<t.length;i++){let o=null;i>0&&(r=vh(r,e[i-1]));for(const l of t[i]){const a=vh(s[l.i].maximum,l.length);n.dualLessThan(r,a)&&(o=l.i,r=a)}s.push({argument:o,maximum:r})}return[n.delta,s]}function ww(t,e,n){let r=t.length-1;for(;r>0;){const s=t[r].argument;s!==null?r=s:(r--,n[r].velocity=0)}}function bw(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function Ew(t){const e=[];for(const n of t)e.push(n.maximum.position);return e}function Tw(t){const e=t.length,n=vw(e,t),r=[];for(let s=1;s<e;s++)r.push(Y1(0,1));for(;;){const[s,i]=Cw(n,r);if(s==1/0)return Ew(i);i[e-1].maximum.velocity>0?ww(i,n,r):bw(r,s)}}var ei=(t=>(t[t.SyncMessage=0]="SyncMessage",t[t.AsyncMessage=1]="AsyncMessage",t[t.CreationMessage=2]="CreationMessage",t))(ei||{});class Sw extends A{constructor(){super(...arguments);J(this,"isBlind",!1);J(this,"ownableMessages",[]);J(this,"enterMessage",n=>this._addOwnedMessage(ei.SyncMessage)(n));J(this,"enterAsyncMessage",n=>this._addOwnedMessage(ei.AsyncMessage)(n));J(this,"enterCreation",n=>this._addOwnedMessage(ei.CreationMessage)(n));J(this,"_addOwnedMessage",n=>r=>{if(this.isBlind)return;const s=r.From(),i=r==null?void 0:r.Owner(),o=r==null?void 0:r.SignatureText();this.ownableMessages.push({from:s,signature:o,type:n,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function wh(t){const e=E.tree.ParseTreeWalker.DEFAULT,n=new Sw;return e.walk(n,t),n.result()}class Aw{constructor(e,n){J(this,"m",[]);J(this,"widthProvider");J(this,"participantModels");J(this,"ownableMessages");this.participantModels=_w(e),this.ownableMessages=wh(e),this.widthProvider=n,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){const n=this.participantModels.findIndex(l=>l.name===e);if(n===-1)throw Error(`Participant ${e} not found`);const r=`getPosition_${e}`,s=_h(r);if(s!=null)return s;const o=this.getParticipantGap(this.participantModels[0])+Tw(this.m)[n];return Lh(r,o),console.debug(`Position of ${e} is ${o}`),o}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){if(e==="_STARTER_")return vc/2;const n=this.halfWithMargin(this.labelOrName(e));return Math.max(n,fw/2)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,n=this.getPosition(e)+this.half(e);return Math.max(n,200)}distance(e,n){return this.getPosition(n)-this.getPosition(e)}withMessageGaps(e,n){e.forEach(r=>{const s=n.findIndex(a=>a.name===r.from),i=n.findIndex(a=>a.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}const o=Math.min(s,i),l=Math.max(s,i);try{const a=this.getMessageWidth(r);this.m[o][l]=Math.max(a+pw+gw,this.m[o][l])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(e){const n=this.half(e.to);let r=this.widthProvider(e.signature,Er.MessageContent);return e.type===ei.CreationMessage&&(r+=n),r}withParticipantGaps(e){this.m=e.map((n,r)=>e.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(e){const n=this.half(e.left),r=this.half(e.name),s=e.left&&e.left!=="_STARTER_",i=e.name&&e.name!=="_STARTER_";return(s&&n||0)+(i&&r||0)}labelOrName(e){const n=this.participantModels.findIndex(r=>r.name===e);return n===-1?"":this.participantModels[n].label||this.participantModels[n].name}halfWithMargin(e){return this._getParticipantWidth(e)/2+vc/2}_getParticipantWidth(e){return Math.max(this.widthProvider(e||"",Er.ParticipantName),mw)}}let bh=0;setTimeout(function(){bh||console.warn("[@zenuml/core] Store is a function and is not initiated in 1 second.")},1e3);var sr=(t=>(t.Static="static",t.Dynamic="dynamic",t))(sr||{});const Eh=()=>(bh=fp(),{state:{warning:void 0,code:"",theme:localStorage.getItem(`${location.hostname}-zenuml-theme`)||"theme-default",themeIconDot:Boolean(localStorage.getItem(`${location.hostname}-zenuml-theme-icon-dot`)),enableMultiTheme:!0,scale:1,selected:[],cursor:null,showTips:!1,mode:"dynamic",numbering:Boolean(localStorage.getItem(`${location.hostname}-zenuml-numbering`)),stickyOffset:0,diagramElement:null,onElementClick:t=>{console.log("Element clicked",t)},onMessageClick:()=>{},onContentChange:()=>{}},getters:{code:t=>t.code,rootContext:t=>hw(t.code),title:(t,e)=>{var n,r;return(r=(n=e.rootContext)==null?void 0:n.title())==null?void 0:r.content()},participants:(t,e)=>t0(e.rootContext,!0),coordinates:(t,e)=>new Aw(e.rootContext,J0),centerOf:(t,e)=>n=>{if(!n)return console.error("[@zenuml/core] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(n)||0}catch(r){return console.error(r),0}},GroupContext:()=>gh,ParticipantContext:()=>mh,cursor:t=>t.cursor,distance:(t,e)=>(n,r)=>e.centerOf(n)-e.centerOf(r),distance2:(t,e)=>(n,r)=>!n||!r?0:e.centerOf(r)-e.centerOf(n),onElementClick:t=>t.onElementClick,onMessageClick:t=>t.onMessageClick,diagramElement:t=>t.diagramElement,onContentChange:t=>t.onContentChange},mutations:{code:function(t,e){t.code=e},setScale:function(t,e){t.scale=e},onSelect:function(t,e){t.selected.includes(e)?t.selected=t.selected.filter(n=>n!==e):t.selected.push(e)},cursor:function(t,e){t.cursor=e},toggleNumbering(t,e){e?localStorage.setItem(`${location.hostname}-zenuml-numbering`,"1"):localStorage.setItem(`${location.hostname}-zenuml-numbering`,""),t.numbering=e},setTheme:function(t,e){e?localStorage.setItem(`${location.hostname}-zenuml-theme`,e):localStorage.setItem(`${location.hostname}-zenuml-theme`,"theme-default"),t.theme=e},setThemeIconDot:function(t,e){localStorage.setItem(`${location.hostname}-zenuml-theme-icon-dot`,e?"1":""),t.themeIconDot=e},onMessageClick:function(t,e){t.onMessageClick=e},onContentChange:function(t,e){t.onContentChange=e},diagramElement:function(t,e){t.diagramElement=e}},actions:{updateCode:function({commit:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");e.code!==this.state.code&&t("code",e.code)}},strict:!1}),kw=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Tr={__name:"Icon",props:{name:{type:String,required:!0},iconClass:{type:String,required:!1}},setup(t){const e=t,n=Os(()=>kw(Object.assign({"./icons/close.svg":()=>Promise.resolve().then(()=>BO),"./icons/collapse-expanded.svg":()=>Promise.resolve().then(()=>zO),"./icons/collapse-unexpanded.svg":()=>Promise.resolve().then(()=>jO),"./icons/debug.svg":()=>Promise.resolve().then(()=>qO),"./icons/message-arrow.svg":()=>Promise.resolve().then(()=>XO),"./icons/non-selected-cycle.svg":()=>Promise.resolve().then(()=>eI),"./icons/numbering.svg":()=>Promise.resolve().then(()=>rI),"./icons/privacy.svg":()=>Promise.resolve().then(()=>oI),"./icons/selected-cycle.svg":()=>Promise.resolve().then(()=>cI),"./icons/theme.svg":()=>Promise.resolve().then(()=>dI),"./icons/tip.svg":()=>Promise.resolve().then(()=>gI),"./icons/zoom-in.svg":()=>Promise.resolve().then(()=>_I),"./icons/zoom-out.svg":()=>Promise.resolve().then(()=>vI)}),`./icons/${e.name}.svg`));return(r,s)=>(R(),H("span",{class:Ee(["flex items-center justify-center",t.iconClass]),onClick:s[0]||(s[0]=i=>r.$emit("icon-click"))},[(R(),Oe(Ms(ge(n)),{class:"w-full h-full"}))],2))}},$M="",Ge=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Rw={name:"Privacy",components:{Icon:Tr}},Ow={class:"privacy tooltip bottom whitespace-normal flex items-center","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."};function Iw(t,e,n,r,s,i){const o=Le("Icon");return R(),H("div",null,[T("div",Ow,[Z(o,{name:"privacy","icon-class":"fill-current h-6 w-6 m-auto"})])])}const Mw=Ge(Rw,[["render",Iw],["__scopeId","data-v-3e7c8bd7"]]),Nw={name:"DiagramTitle",props:["context"],computed:{title:function(){var t;return(t=this.context)==null?void 0:t.content()}}},Pw={class:"title text-skin-title text-base font-semibold"};function Fw(t,e,n,r,s,i){return R(),H("div",Pw,ze(i.title),1)}const Dw=Ge(Nw,[["render",Fw]]),wc=new s4;var bc={exports:{}},$w={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]},Th={exports:{}},Bw=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Hw=Bw,Uw=Array.prototype.concat,zw=Array.prototype.slice,Sh=Th.exports=function(e){for(var n=[],r=0,s=e.length;r<s;r++){var i=e[r];Hw(i)?n=Uw.call(n,zw.call(i)):n.push(i)}return n};Sh.wrap=function(t){return function(){return t(Sh(arguments))}};var X1=$w,ti=Th.exports,Ah={};for(var Ec in X1)X1.hasOwnProperty(Ec)&&(Ah[X1[Ec]]=Ec);var rn=bc.exports={to:{},get:{}};rn.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=rn.get.hsl(t),r="hsl";break;case"hwb":n=rn.get.hwb(t),r="hwb";break;default:n=rn.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null},rn.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([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],l,a,c;if(l=t.match(n)){for(c=l[2],l=l[1],a=0;a<3;a++){var u=a*2;o[a]=parseInt(l.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(l=t.match(e)){for(l=l[1],c=l[3],a=0;a<3;a++)o[a]=parseInt(l[a]+l[a],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(l=t.match(r)){for(a=0;a<3;a++)o[a]=parseInt(l[a+1],0);l[4]&&(o[3]=parseFloat(l[4]))}else if(l=t.match(s)){for(a=0;a<3;a++)o[a]=Math.round(parseFloat(l[a+1])*2.55);l[4]&&(o[3]=parseFloat(l[4]))}else return(l=t.match(i))?l[1]==="transparent"?[0,0,0,0]:(o=X1[l[1]],o?(o[3]=1,o):null):null;for(a=0;a<3;a++)o[a]=Sr(o[a],0,255);return o[3]=Sr(o[3],0,1),o},rn.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),s=(parseFloat(n[1])+360)%360,i=Sr(parseFloat(n[2]),0,100),o=Sr(parseFloat(n[3]),0,100),l=Sr(isNaN(r)?1:r,0,1);return[s,i,o,l]}return null},rn.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),s=(parseFloat(n[1])%360+360)%360,i=Sr(parseFloat(n[2]),0,100),o=Sr(parseFloat(n[3]),0,100),l=Sr(isNaN(r)?1:r,0,1);return[s,i,o,l]}return null},rn.to.hex=function(){var t=ti(arguments);return"#"+Q1(t[0])+Q1(t[1])+Q1(t[2])+(t[3]<1?Q1(Math.round(t[3]*255)):"")},rn.to.rgb=function(){var t=ti(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},rn.to.rgb.percent=function(){var t=ti(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},rn.to.hsl=function(){var t=ti(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},rn.to.hwb=function(){var t=ti(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},rn.to.keyword=function(t){return Ah[t.slice(0,3)]};function Sr(t,e,n){return Math.min(Math.max(e,t),n)}function Q1(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function Vw(t){const e=bc.exports.get.rgb(t),[n,r,s]=e;return(n*299+r*587+s*114)/1e3}function Gw(t){const e=bc.exports.get.rgb(t),[n,r,s]=e;return`rgb(${n}, ${r}, ${s})`}const jw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18
+ `)return r+1;r--}return 0},lw=(t,e)=>{const n=Lc(t,e);if(n===0)return"";const r=ph(t,e);return t.slice(r,n)};class aw extends E.error.ErrorListener{syntaxError(e,n,r,s,i){}}function cw(t){const e=new E.InputStream(t),n=new K(e),r=new E.CommonTokenStream(n),s=new p(r);return s.addErrorListener(new aw),s._syntaxErrors?null:s.prog()}E.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return ow(t)},E.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=K.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map(r=>r.text.substring(2)).join("")},E.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const uw=p.ProgContext,hw=cw,gh=p.GroupContext,mh=p.ParticipantContext,t0=function(t,e){return jt.getParticipants(t,e)};var Er=(t=>(t[t.MessageContent=0]="MessageContent",t[t.ParticipantName=1]="ParticipantName",t))(Er||{});let yc={};const xh={},_h=t=>{var e;if(t!=null){const n=(e=yc[t])!=null?e:xh[t];return n!==void 0?n:null}return null},Lh=(t,e,n=!1)=>{yc[t]=e,n&&(xh[t]=e)},dw=()=>{yc={}};function J0(t,e){const n=`WidthProviderOnBrowser_${t}_${e}`,r=_h(n);if(r!=null)return r;let s=document.querySelector(".textarea-hidden-div");if(!s){const o=document.createElement("div");o.className="textarea-hidden-div ",o.style.fontSize=e===Er.MessageContent?"0.875rem":"1rem",o.style.fontFamily="Helvetica, Verdana, serif",o.style.display="inline",o.style.whiteSpace="nowrap",o.style.visibility="hidden",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.overflow="hidden",o.style.width="0px",o.style.paddingLeft="0px",o.style.paddingRight="0px",o.style.margin="0px",o.style.border="0px",document.body.appendChild(o),s=o}s.textContent=t;const i=s.scrollWidth;return Lh(n,i,!0),i}const fw=110,vc=20,pw=10,gw=14,mw=100,yh=70,xw=p;class Cc extends A{constructor(){super(...arguments);J(this,"explicitParticipants",[]);J(this,"starter","");J(this,"implicitParticipants",[]);J(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(n){this.starter=n.getFormattedText()}enterParticipant(n){var o,l,a;const r=((o=n==null?void 0:n.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",s=(a=(l=n.label())==null?void 0:l.name())==null?void 0:a.getFormattedText(),i={name:r,label:s,left:""};this.explicitParticipants.push(i)}enterFrom(n){if(this.isBlind)return;const r=n==null?void 0:n.getFormattedText();if(n.ClosestAncestorBlock().parentCtx instanceof xw.ProgContext&&n.ClosestAncestorStat()===n.ClosestAncestorBlock().children[0]){this.starter=r;return}this.enterTo(n)}enterTo(n){if(this.isBlind)return;const r=n==null?void 0:n.getFormattedText();if(r===this.starter||this.explicitParticipants.some(i=>i.name===r))return;const s={name:r,left:""};this.implicitParticipants.push(s)}enterCreation(n){if(this.isBlind)return;const r=n==null?void 0:n.Owner();if(r===this.starter||this.explicitParticipants.some(i=>i.name===r))return;const s={name:r,left:""};this.implicitParticipants.push(s)}result(){let n=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||n.unshift(this._getStarter()),n=this._dedup(n),Cc._assignLeft(n),n}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(n=>n.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(n){return n.filter((r,s)=>n.findIndex(i=>i.name===r.name)===s)}static _assignLeft(n){n.reduce((r,s)=>(s.left=r.name||"",s),{name:"",left:""})}}function _w(t){const e=new Cc;return E.tree.ParseTreeWalker.DEFAULT.walk(e,t),e.result()}function Y1(t,e){return{position:t,velocity:e}}function vh(t,e){return Y1(t.position+e.position,t.velocity+e.velocity)}const Ch=Math.sqrt(Number.EPSILON);function Lw(t,e){const n=t.position-e.position;return n<-Ch||Math.abs(n)<=Ch&&t.velocity<e.velocity}function yw(){return{delta:1/0,dualLessThan:function(t,e){const n=Lw(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function vw(t,e){const n=Array();for(let r=0;r<t;r++){n.push([]);for(let s=0;s<r;s++)e[s][r]>0&&n[r].push({i:s,length:Y1(e[s][r],0)})}return n}function Cw(t,e){const n=yw();let r=Y1(0,0);const s=[];for(let i=0;i<t.length;i++){let o=null;i>0&&(r=vh(r,e[i-1]));for(const l of t[i]){const a=vh(s[l.i].maximum,l.length);n.dualLessThan(r,a)&&(o=l.i,r=a)}s.push({argument:o,maximum:r})}return[n.delta,s]}function ww(t,e,n){let r=t.length-1;for(;r>0;){const s=t[r].argument;s!==null?r=s:(r--,n[r].velocity=0)}}function bw(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function Ew(t){const e=[];for(const n of t)e.push(n.maximum.position);return e}function Tw(t){const e=t.length,n=vw(e,t),r=[];for(let s=1;s<e;s++)r.push(Y1(0,1));for(;;){const[s,i]=Cw(n,r);if(s==1/0)return Ew(i);i[e-1].maximum.velocity>0?ww(i,n,r):bw(r,s)}}var ei=(t=>(t[t.SyncMessage=0]="SyncMessage",t[t.AsyncMessage=1]="AsyncMessage",t[t.CreationMessage=2]="CreationMessage",t))(ei||{});class Sw extends A{constructor(){super(...arguments);J(this,"isBlind",!1);J(this,"ownableMessages",[]);J(this,"enterMessage",n=>this._addOwnedMessage(ei.SyncMessage)(n));J(this,"enterAsyncMessage",n=>this._addOwnedMessage(ei.AsyncMessage)(n));J(this,"enterCreation",n=>this._addOwnedMessage(ei.CreationMessage)(n));J(this,"_addOwnedMessage",n=>r=>{if(this.isBlind)return;const s=r.From(),i=r==null?void 0:r.Owner(),o=r==null?void 0:r.SignatureText();this.ownableMessages.push({from:s,signature:o,type:n,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function wh(t){const e=E.tree.ParseTreeWalker.DEFAULT,n=new Sw;return e.walk(n,t),n.result()}class Aw{constructor(e,n){J(this,"m",[]);J(this,"widthProvider");J(this,"participantModels");J(this,"ownableMessages");this.participantModels=_w(e),this.ownableMessages=wh(e),this.widthProvider=n,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){const n=this.participantModels.findIndex(l=>l.name===e);if(n===-1)throw Error(`Participant ${e} not found`);const r=`getPosition_${e}`,s=_h(r);if(s!=null)return s;const o=this.getParticipantGap(this.participantModels[0])+Tw(this.m)[n];return Lh(r,o),console.debug(`Position of ${e} is ${o}`),o}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){if(e==="_STARTER_")return vc/2;const n=this.halfWithMargin(this.labelOrName(e));return Math.max(n,fw/2)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,n=this.getPosition(e)+this.half(e);return Math.max(n,200)}distance(e,n){return this.getPosition(n)-this.getPosition(e)}withMessageGaps(e,n){e.forEach(r=>{const s=n.findIndex(a=>a.name===r.from),i=n.findIndex(a=>a.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}const o=Math.min(s,i),l=Math.max(s,i);try{const a=this.getMessageWidth(r);this.m[o][l]=Math.max(a+pw+gw,this.m[o][l])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(e){const n=this.half(e.to);let r=this.widthProvider(e.signature,Er.MessageContent);return e.type===ei.CreationMessage&&(r+=n),r}withParticipantGaps(e){this.m=e.map((n,r)=>e.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(e){const n=this.half(e.left),r=this.half(e.name),s=e.left&&e.left!=="_STARTER_",i=e.name&&e.name!=="_STARTER_";return(s&&n||0)+(i&&r||0)}labelOrName(e){const n=this.participantModels.findIndex(r=>r.name===e);return n===-1?"":this.participantModels[n].label||this.participantModels[n].name}halfWithMargin(e){return this._getParticipantWidth(e)/2+vc/2}_getParticipantWidth(e){return Math.max(this.widthProvider(e||"",Er.ParticipantName),mw)}}let bh=0;setTimeout(function(){bh||console.warn("[@zenuml/core] Store is a function and is not initiated in 1 second.")},1e3);var sr=(t=>(t.Static="static",t.Dynamic="dynamic",t))(sr||{});const Eh=()=>(bh=fp(),{state:{warning:void 0,code:"",theme:localStorage.getItem(`${location.hostname}-zenuml-theme`)||"theme-default",themeIconDot:Boolean(localStorage.getItem(`${location.hostname}-zenuml-theme-icon-dot`)),enableMultiTheme:!0,scale:1,selected:[],cursor:null,showTips:!1,mode:"dynamic",numbering:Boolean(localStorage.getItem(`${location.hostname}-zenuml-numbering`)),stickyOffset:0,diagramElement:null,onElementClick:t=>{console.log("Element clicked",t)},onMessageClick:()=>{},onContentChange:()=>{},onThemeChange:()=>{}},getters:{code:t=>t.code,rootContext:t=>hw(t.code),title:(t,e)=>{var n,r;return(r=(n=e.rootContext)==null?void 0:n.title())==null?void 0:r.content()},participants:(t,e)=>t0(e.rootContext,!0),coordinates:(t,e)=>new Aw(e.rootContext,J0),centerOf:(t,e)=>n=>{if(!n)return console.error("[@zenuml/core] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(n)||0}catch(r){return console.error(r),0}},GroupContext:()=>gh,ParticipantContext:()=>mh,cursor:t=>t.cursor,distance:(t,e)=>(n,r)=>e.centerOf(n)-e.centerOf(r),distance2:(t,e)=>(n,r)=>!n||!r?0:e.centerOf(r)-e.centerOf(n),onElementClick:t=>t.onElementClick,onMessageClick:t=>t.onMessageClick,diagramElement:t=>t.diagramElement,onContentChange:t=>t.onContentChange,onThemeChange:t=>t.onThemeChange},mutations:{code:function(t,e){t.code=e},setScale:function(t,e){t.scale=e},onSelect:function(t,e){t.selected.includes(e)?t.selected=t.selected.filter(n=>n!==e):t.selected.push(e)},cursor:function(t,e){t.cursor=e},toggleNumbering(t,e){e?localStorage.setItem(`${location.hostname}-zenuml-numbering`,"1"):localStorage.setItem(`${location.hostname}-zenuml-numbering`,""),t.numbering=e},setTheme:function(t,e){var n;e?localStorage.setItem(`${location.hostname}-zenuml-theme`,e):localStorage.setItem(`${location.hostname}-zenuml-theme`,"theme-default"),t.theme=e,(n=t.onThemeChange)==null||n.call(t,e)},setThemeIconDot:function(t,e){localStorage.setItem(`${location.hostname}-zenuml-theme-icon-dot`,e?"1":""),t.themeIconDot=e},onMessageClick:function(t,e){t.onMessageClick=e},onContentChange:function(t,e){t.onContentChange=e},onThemeChange:function(t,e){t.onThemeChange=e},diagramElement:function(t,e){t.diagramElement=e}},actions:{updateCode:function({commit:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");e.code!==this.state.code&&t("code",e.code)}},strict:!1}),kw=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Tr={__name:"Icon",props:{name:{type:String,required:!0},iconClass:{type:String,required:!1}},setup(t){const e=t,n=Os(()=>kw(Object.assign({"./icons/close.svg":()=>Promise.resolve().then(()=>BO),"./icons/collapse-expanded.svg":()=>Promise.resolve().then(()=>zO),"./icons/collapse-unexpanded.svg":()=>Promise.resolve().then(()=>jO),"./icons/debug.svg":()=>Promise.resolve().then(()=>qO),"./icons/message-arrow.svg":()=>Promise.resolve().then(()=>XO),"./icons/non-selected-cycle.svg":()=>Promise.resolve().then(()=>eI),"./icons/numbering.svg":()=>Promise.resolve().then(()=>rI),"./icons/privacy.svg":()=>Promise.resolve().then(()=>oI),"./icons/selected-cycle.svg":()=>Promise.resolve().then(()=>cI),"./icons/theme.svg":()=>Promise.resolve().then(()=>dI),"./icons/tip.svg":()=>Promise.resolve().then(()=>gI),"./icons/zoom-in.svg":()=>Promise.resolve().then(()=>_I),"./icons/zoom-out.svg":()=>Promise.resolve().then(()=>vI)}),`./icons/${e.name}.svg`));return(r,s)=>(R(),H("span",{class:Ee(["flex items-center justify-center",t.iconClass]),onClick:s[0]||(s[0]=i=>r.$emit("icon-click"))},[(R(),Oe(Ms(ge(n)),{class:"w-full h-full"}))],2))}},$M="",Ge=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Rw={name:"Privacy",components:{Icon:Tr}},Ow={class:"privacy tooltip bottom whitespace-normal flex items-center","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."};function Iw(t,e,n,r,s,i){const o=Le("Icon");return R(),H("div",null,[T("div",Ow,[Z(o,{name:"privacy","icon-class":"fill-current h-6 w-6 m-auto"})])])}const Mw=Ge(Rw,[["render",Iw],["__scopeId","data-v-3e7c8bd7"]]),Nw={name:"DiagramTitle",props:["context"],computed:{title:function(){var t;return(t=this.context)==null?void 0:t.content()}}},Pw={class:"title text-skin-title text-base font-semibold"};function Fw(t,e,n,r,s,i){return R(),H("div",Pw,ze(i.title),1)}const Dw=Ge(Nw,[["render",Fw]]),wc=new s4;var bc={exports:{}},$w={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]},Th={exports:{}},Bw=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Hw=Bw,Uw=Array.prototype.concat,zw=Array.prototype.slice,Sh=Th.exports=function(e){for(var n=[],r=0,s=e.length;r<s;r++){var i=e[r];Hw(i)?n=Uw.call(n,zw.call(i)):n.push(i)}return n};Sh.wrap=function(t){return function(){return t(Sh(arguments))}};var X1=$w,ti=Th.exports,Ah={};for(var Ec in X1)X1.hasOwnProperty(Ec)&&(Ah[X1[Ec]]=Ec);var rn=bc.exports={to:{},get:{}};rn.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=rn.get.hsl(t),r="hsl";break;case"hwb":n=rn.get.hwb(t),r="hwb";break;default:n=rn.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null},rn.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([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],l,a,c;if(l=t.match(n)){for(c=l[2],l=l[1],a=0;a<3;a++){var u=a*2;o[a]=parseInt(l.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(l=t.match(e)){for(l=l[1],c=l[3],a=0;a<3;a++)o[a]=parseInt(l[a]+l[a],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(l=t.match(r)){for(a=0;a<3;a++)o[a]=parseInt(l[a+1],0);l[4]&&(o[3]=parseFloat(l[4]))}else if(l=t.match(s)){for(a=0;a<3;a++)o[a]=Math.round(parseFloat(l[a+1])*2.55);l[4]&&(o[3]=parseFloat(l[4]))}else return(l=t.match(i))?l[1]==="transparent"?[0,0,0,0]:(o=X1[l[1]],o?(o[3]=1,o):null):null;for(a=0;a<3;a++)o[a]=Sr(o[a],0,255);return o[3]=Sr(o[3],0,1),o},rn.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),s=(parseFloat(n[1])+360)%360,i=Sr(parseFloat(n[2]),0,100),o=Sr(parseFloat(n[3]),0,100),l=Sr(isNaN(r)?1:r,0,1);return[s,i,o,l]}return null},rn.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),s=(parseFloat(n[1])%360+360)%360,i=Sr(parseFloat(n[2]),0,100),o=Sr(parseFloat(n[3]),0,100),l=Sr(isNaN(r)?1:r,0,1);return[s,i,o,l]}return null},rn.to.hex=function(){var t=ti(arguments);return"#"+Q1(t[0])+Q1(t[1])+Q1(t[2])+(t[3]<1?Q1(Math.round(t[3]*255)):"")},rn.to.rgb=function(){var t=ti(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},rn.to.rgb.percent=function(){var t=ti(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},rn.to.hsl=function(){var t=ti(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},rn.to.hwb=function(){var t=ti(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},rn.to.keyword=function(t){return Ah[t.slice(0,3)]};function Sr(t,e,n){return Math.min(Math.max(e,t),n)}function Q1(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function Vw(t){const e=bc.exports.get.rgb(t),[n,r,s]=e;return(n*299+r*587+s*114)/1e3}function Gw(t){const e=bc.exports.get.rgb(t),[n,r,s]=e;return`rgb(${n}, ${r}, ${s})`}const jw=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
19
19
  <g clip-path="url(#clip0_544_54)">
20
20
  <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"/>
21
21
  <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"/>
@@ -1016,7 +1016,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),jn=$,lt=ce);const vt={
1016
1016
  `:`<code>${t}</code>`}};_e.setOptions({highlight:function(t,e){if(!e)return us.highlightAuto(t).value;const n=us.getLanguage(e)?e:"plaintext";return us.highlight(n,t).value},breaks:!0}),_e.use({renderer:Ck});const wk={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var t,e;return((t=this.commentObj)==null?void 0:t.text)&&_e.parse((e=this.commentObj)==null?void 0:e.text)||this.comment&&_e.parse(this.comment)},commentStyle(){var t;return(t=this.commentObj)==null?void 0:t.commentStyle},classNames(){var t;return(t=this.commentObj)==null?void 0:t.commentClassNames}}},bk={class:"comments text-skin-comment min-w-[100px] flex text-left text-sm opacity-50 hover:opacity-100"},Ek=["innerHTML"];function Tk(t,e,n,r,s,i){return R(),H("div",bk,[T("div",{innerHTML:i.markedComment,class:Ee(i.classNames),style:Ce(i.commentStyle)},null,14,Ek)])}const fi=Ge(wk,[["render",Tk],["__scopeId","data-v-49a61c68"]]),vP="",Sk={props:["collapsed"],emits:["click"]},Ak={class:"collapsible-header"},kk=[i1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="2" x2="13" y2="10" data-v-175097b8></line><polyline points="9 7 13 11 17 7" data-v-175097b8></polyline><line x1="13" y1="23" x2="13" y2="15" data-v-175097b8></line><polyline points="9 19 13 15 17 19" data-v-175097b8></polyline></g>',3)],Rk=[i1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="1" x2="13" y2="9" data-v-175097b8></line><polyline points="9 5 13 1 17 5" data-v-175097b8></polyline><line x1="13" y1="13" x2="13" y2="13" data-v-175097b8></line><line x1="13" y1="24" x2="13" y2="17" data-v-175097b8></line><polyline points="9 20 13 24 17 20" data-v-175097b8></polyline></g>',3)];function Ok(t,e,n,r,s,i){return R(),H("div",Ak,[(R(),H("svg",{width:"20px",height:"20px",class:Ee([{hidden:n.collapsed,expanded:!n.collapsed},"collapse-button cursor-pointer"]),onClick:e[0]||(e[0]=o=>t.$emit("click",o)),viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"miter"},kk,2)),(R(),H("svg",{width:"20px",height:"20px",class:Ee([{hidden:!n.collapsed},"cursor-pointer"]),onClick:e[1]||(e[1]=o=>t.$emit("click",o)),viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"miter"},Rk,2))])}const Ik=Ge(Sk,[["render",Ok],["__scopeId","data-v-175097b8"]]),bP="",EP="",Mk={name:"occurrence",props:["context","selfCallIndent","participant","rtl","number"],data:function(){return{center:0,collapsed:!1}},computed:{...vn(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(t){return console.error(t),0}},hasAnyStatementsExceptReturn:function(){var r;let t=this.context.braceBlock();if(!t)return!1;let e=((r=t.block())==null?void 0:r.stat())||[],n=e.length;return n>1||n==1&&e[0].ret()==null}},methods:{toggle(){this.collapsed=!this.collapsed,wc.$emit("participant_set_top")}},components:{CollapseButton:Ik},watch:{context(){this.collapsed&&(this.collapsed=!1)}}},Nk=["data-belongs-to","data-x-offset","data-debug-center-of"];function Pk(t,e,n,r,s,i){const o=Le("collapse-button"),l=Le("block");return R(),H("div",{class:Ee(["occurrence shadow-occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",{"right-to-left":n.rtl}]),"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":t.center,"data-debug-center-of":i.computedCenter},[i.hasAnyStatementsExceptReturn?(R(),Oe(o,{key:0,collapsed:t.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])):xe("",!0),this.context.braceBlock()?(R(),Oe(l,{key:1,context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent,number:n.number,collapsed:t.collapsed,inheritFromOccurrence:!0},null,8,["context","selfCallIndent","number","collapsed"])):xe("",!0)],10,Nk)}const s8=Ge(Mk,[["render",Pk],["__scopeId","data-v-11f91122"]]);class i0{constructor(e,n,r,s){J(this,"start");J(this,"stop");this.start={line:e,col:n},this.stop={line:r,col:s}}static from(e){const n=e.start,r=e.stop;return new i0(n.line,n.column,r.line,r.column+r.text.length)}}const i8=h0.child({name:"Creation"}),Fk={name:"creation",props:["context","comment","commentObj","selfCallIndent","number"],computed:{...vn(["cursor","onElementClick","distance"]),...Cr(["numbering"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let t=Math.abs(this.distance(this.to,this.from)),e=this.selfCallIndent||0;return t+(this.rightToLeft?e:-e)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function t(s){return s&&s.getFormattedText()||""}let e=this.creation.creationBody().assignment();if(!e)return"";let n=t(e.assignee());const r=t(e.type());return n+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)},isInitedFromOccurrence:function(){return this.creation.isInitedFromOccurrence(this.from)},messageTextStyle(){var t;return(t=this.commentObj)==null?void 0:t.messageStyle},messageClassNames(){var t;return(t=this.commentObj)==null?void 0:t.messageClassNames}},mounted(){this.layoutMessageContainer(),i8.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),i8.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const e=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${e+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(e+6)}px`)})()},onClick(){this.onElementClick(i0.from(this.context))}},components:{Participant:Mh,Comment:fi,Occurrence:s8,Message:ri}},Dk=["data-signature"],$k=["data-to"],Bk={ref:"participantPlaceHolder",class:"invisible right-0 flex flex-col justify-center flex-shrink-0"};function Hk(t,e,n,r,s,i){var u;const o=Le("comment"),l=Le("message"),a=Le("participant"),c=Le("occurrence");return R(),H("div",{class:Ee(["interaction creation sync text-center transform",{"right-to-left":i.rightToLeft,"-translate-x-full":i.rightToLeft,highlight:i.isCurrent,"inited-from-occurrence":i.isInitedFromOccurrence}]),onClick:e[0]||(e[0]=I0((...h)=>i.onClick&&i.onClick(...h),["stop"])),"data-signature":i.signature,style:Ce({width:i.interactionWidth+"px"})},[n.comment?(R(),Oe(o,{key:0,commentObj:n.commentObj},null,8,["commentObj"])):xe("",!0),T("div",{ref:"messageContainer","data-type":"creation",class:Ee(["message-container pointer-events-none flex items-center h-10 relative",{"flex-row-reverse":i.rightToLeft}]),"data-to":i.to},[Z(l,{ref:"messageEl",class:"invocation w-full transform -translate-y-1/2 pointer-events-auto",context:i.creation,content:i.signature,rtl:i.rightToLeft,type:"creation",number:n.number,classNames:i.messageClassNames,textStyle:i.messageTextStyle},null,8,["context","content","rtl","number","classNames","textStyle"]),T("div",Bk,[Z(a,{entity:{name:i.to}},null,8,["entity"])],512)],10,$k),Z(c,{context:i.creation,class:"pointer-events-auto",participant:i.to,number:n.number},null,8,["context","participant","number"]),i.assignee?(R(),Oe(l,{key:1,class:"return transform -translate-y-full pointer-events-auto",context:i.creation.creationBody().assignment(),content:i.assignee,rtl:!i.rightToLeft,type:"return",number:`${n.number}.${(((u=i.creation.braceBlock())==null?void 0:u.block().stat().length)||0)+1}`,classNames:i.messageClassNames,textStyle:i.messageTextStyle},null,8,["context","content","rtl","number","classNames","textStyle"])):xe("",!0)],14,Dk)}const Uk=Ge(Fk,[["render",Hk]]),zk={class:"name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover relative min-h-[1em]"},Vk={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"},Gk={key:0},jk=T("svg",{class:"arrow text-skin-message-arrow",width:"30",height:"24"},[T("polyline",{class:"line stroke-current fill-none stroke-2",points:"0,2 28,2 28,15 14,15"}),T("polyline",{class:"head stroke-current fill-current stroke-2",points:"18,9 8,15 18,21"})],-1),Zk=Ke({__name:"SelfInvocation",props:{context:null,content:null,assignee:null,number:null,textStyle:null,classNames:null},setup(t){const e=t,{context:n}=Vo(e),r=Ln(),s=D(()=>r.state.numbering),i=ne(),o=()=>{r.getters.onMessageClick(n,i.value)};return(l,a)=>(R(),H("div",{class:"message self text-sm flex items-start flex-col",style:{"border-width":"0"},onClick:o,ref_key:"messageRef",ref:i},[T("label",zk,[ge(s)?(R(),H("div",Vk,ze(t.number),1)):xe("",!0),T("div",{style:Ce(t.textStyle),class:Ee(t.classNames)},[t.assignee?(R(),H("span",Gk,ze(t.assignee)+" = ",1)):xe("",!0),_n(" "+ze(t.content),1)],6)]),jk],512))}}),TP="",Wk={name:"interaction",props:["context","selfCallIndent","commentObj","number"],computed:{...vn(["participants","distance2","cursor","onElementClick"]),hasComment(){var t;return((t=this.commentObj)==null?void 0:t.text)!==""},messageTextStyle(){var t;return(t=this.commentObj)==null?void 0:t.messageStyle},messageClassNames(){var t;return(t=this.commentObj)==null?void 0:t.messageClassNames},message:function(){var t;return(t=this.context)==null?void 0:t.message()},providedFrom:function(){var t,e;return(e=(t=this.context)==null?void 0:t.message())==null?void 0:e.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var e;let t=(e=this.message)==null?void 0:e.Assignment();return t?t.getText():""},signature:function(){var t;return(t=this.message)==null?void 0:t.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const e=this.rightToLeft?this.to:this.providedFrom,n=this.distance2(this.origin,e),r=this.selfCallIndent||0;return n+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var t;return(t=this.message)==null?void 0:t.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var t,e;return((e=(t=this.context)==null?void 0:t.parentCtx)==null?void 0:e.parentCtx)instanceof uw},origin:function(){var t;return(t=this.context)==null?void 0:t.Origin()},passOnOffset:function(){return this.isSelf&&!this.isRootBlock?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let t=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-t)},to:function(){var t,e;return(e=(t=this.context)==null?void 0:t.message())==null?void 0:e.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"},isInitedFromOccurrence:function(){var t;return(t=this.message)==null?void 0:t.isInitedFromOccurrence(this.context)}},methods:{onClick(){this.onElementClick(i0.from(this.context))}},components:{Message:ri,SelfInvocation:Zk,Comment:fi,Occurrence:s8}},qk=["data-to","data-signature"];function Kk(t,e,n,r,s,i){var c;const o=Le("comment"),l=Le("occurrence"),a=Le("message");return R(),H("div",{class:Ee(["interaction sync inline-block",{highlight:i.isCurrent,self:i.isSelf,"from-no-occurrence":i.providedFrom&&i.providedFrom!==i.origin,"inited-from-occurrence":i.isInitedFromOccurrence,"right-to-left":i.rightToLeft}]),onClick:e[0]||(e[0]=I0((...u)=>i.onClick&&i.onClick(...u),["stop"])),"data-to":i.to,"data-type":"interaction","data-signature":i.signature,style:Ce({width:!i.isSelf&&i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[i.showStarter&&i.isRootBlock||i.outOfBand?(R(),H("div",{key:0,class:Ee(["occurrence source border-2",{"right-to-left":i.rightToLeft}])},null,2)):xe("",!0),i.hasComment?(R(),Oe(o,{key:1,commentObj:n.commentObj},null,8,["commentObj"])):xe("",!0),(R(),Oe(Ms(i.invocation),{class:"text-center",classNames:i.messageClassNames,textStyle:i.messageTextStyle,context:i.message,content:i.signature,assignee:i.assignee,rtl:i.rightToLeft,type:"sync",number:n.number},null,8,["classNames","textStyle","context","content","assignee","rtl","number"])),Z(l,{context:i.message,participant:i.to,selfCallIndent:i.passOnOffset,rtl:i.rightToLeft,number:`${n.number}`},null,8,["context","participant","selfCallIndent","rtl","number"]),i.assignee&&!i.isSelf?(R(),Oe(a,{key:2,class:"return transform -translate-y-full",context:i.message,content:i.assignee,rtl:!i.rightToLeft,type:"return",number:`${n.number}.${(((c=i.message.braceBlock())==null?void 0:c.block().stat().length)||0)+1}`,classNames:i.messageClassNames,textStyle:i.messageTextStyle},null,8,["context","content","rtl","number","classNames","textStyle"])):xe("",!0)],14,qk)}const Yk=Ge(Wk,[["render",Kk],["__scopeId","data-v-e6d7fb3f"]]),SP="",Xk={name:"self-invocation-async",props:["content","number"],computed:{...Cr(["numbering"])}},Qk=t=>(Ss("data-v-f5fd8c09"),t=t(),As(),t),Jk={class:"message self flex items-start flex-col",style:{"border-width":"0"}},eR={class:"name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover min-h-[1em]"},tR={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"},nR=Qk(()=>T("svg",{class:"arrow text-skin-message-arrow",width:"34",height:"34"},[T("polyline",{class:"stroke-current stroke-2 fill-none",points:"0,2 28,2 28,25 1,25"}),T("polyline",{class:"head stroke-current stroke-2 fill-none",points:"11,19 1,25 11,31"})],-1));function rR(t,e,n,r,s,i){return R(),H("div",Jk,[T("label",eR,[t.numbering?(R(),H("div",tR,ze(n.number),1)):xe("",!0),_n(" "+ze(n.content),1)]),nR])}const sR=Ge(Xk,[["render",rR],["__scopeId","data-v-f5fd8c09"]]),AP="";function u2(t){return t==null}const iR={name:"interaction-async",props:["context","comment","commentObj","selfCallIndent","number"],computed:{...vn(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return(t=this.context)==null?void 0:t.asyncMessage()},interactionWidth:function(){var t;return this.isSelf?10*(((t=this.signature)==null?void 0:t.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 t,e;return(e=(t=this.asyncMessage)==null?void 0:t.content())==null?void 0:e.getFormattedText()},source:function(){var t,e;return((e=(t=this.asyncMessage)==null?void 0:t.from())==null?void 0:e.getFormattedText())||this.from},target:function(){var t,e;return(e=(t=this.asyncMessage)==null?void 0:t.to())==null?void 0:e.getFormattedText()},isCurrent:function(){const t=this.asyncMessage.start.start,e=this.asyncMessage.stop.stop+1;return u2(this.cursor)||u2(t)||u2(e)?!1:this.cursor>=t&&this.cursor<=e},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"},providedFrom:function(){var t,e;return(e=(t=this.context)==null?void 0:t.asyncMessage())==null?void 0:e.From()},origin:function(){var t;return(t=this.context)==null?void 0:t.Origin()},messageTextStyle(){var t;return(t=this.commentObj)==null?void 0:t.messageStyle},messageClassNames(){var t;return(t=this.commentObj)==null?void 0:t.messageClassNames},isToOccurrence(){return this.parentCtxIncludeMessage(this.asyncMessage)},isInitedFromOccurrence:function(){var t;return(t=this.message)==null?void 0:t.isInitedFromOccurrence(this.context)}},methods:{onClick(){this.onElementClick(i0.from(this.context))},parentCtxIncludeMessage(t){const e=t.Owner();if(!e)return!1;for(t=t==null?void 0:t.parentCtx;t;){if(t.To&&t.To()===e)return!0;t=t.parentCtx}return!1}},components:{Comment:fi,SelfInvocationAsync:sR,Message:ri}},oR=["data-signature"];function lR(t,e,n,r,s,i){const o=Le("comment");return R(),H("div",{class:Ee(["interaction async",{"to-occurrence":i.isToOccurrence,"right-to-left":i.rightToLeft,"from-no-occurrence":i.providedFrom&&i.providedFrom!==i.origin,highlight:i.isCurrent,"inited-from-occurrence":i.isInitedFromOccurrence,"self-invocation":i.isSelf}]),onClick:e[0]||(e[0]=I0((...l)=>i.onClick&&i.onClick(...l),["stop"])),"data-signature":i.signature,style:Ce({width:i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[n.comment?(R(),Oe(o,{key:0,commentObj:n.commentObj},null,8,["commentObj"])):xe("",!0),(R(),Oe(Ms(i.invocation),{classNames:i.messageClassNames,textStyle:i.messageTextStyle,context:i.asyncMessage,content:i.signature,rtl:i.rightToLeft,type:"async",number:n.number},null,8,["classNames","textStyle","context","content","rtl","number"]))],14,oR)}const aR=Ge(iR,[["render",lR],["__scopeId","data-v-77b8885a"]]),kP="",cR={components:{Icon:Tr},props:["label","collapsed"],emits:["click"]},uR={class:"collapsible-header"},hR={class:"mb-0"};function dR(t,e,n,r,s,i){const o=Le("Icon");return R(),H("div",uR,[T("label",hR,ze(n.label),1),n.collapsed?(R(),Oe(o,{key:1,name:"collapse-unexpanded","icon-class":"w-4 h-4 cursor-pointer",onIconClick:e[1]||(e[1]=l=>t.$emit("click",l))})):(R(),Oe(o,{key:0,name:"collapse-expanded","icon-class":`w-4 h-4 collapse-button cursor-pointer ${n.collapsed?"":"expanded"}`,onIconClick:e[0]||(e[0]=l=>t.$emit("click",l))},null,8,["icon-class"]))])}const fR=Ge(cR,[["render",dR],["__scopeId","data-v-048a5186"]]),pi={computed:{...vn(["coordinates"]),offsetX:function(){const t=this.coordinates.orderedParticipantNames(),n=new kc(t).getFrame(this.context),r=Oc(n),s=[this.context.Origin(),...t0(this.context).Names()],i=t.find(l=>s.includes(l));let o=this.coordinates.half(i);return console.debug(`left participant: ${i} ${o}`),this.coordinates.distance(i,this.from)+r.left+o},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:Dh(this.context,this.coordinates)+"px"}}},data:function(){return{collapsed:!1}},methods:{toggle(){this.collapsed=!this.collapsed,wc.$emit("participant_set_top")}},components:{CollapseButton:fR},watch:{context(){this.collapsed&&(this.collapsed=!1)}}},pR=t=>{const e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find(r=>t[r]()!==null)||"";return e[n]},gi=t=>t&&t.stat()?t.stat().filter(e=>pR(e)!=="Divider").length:0,o8=(t,e)=>{if(t){const n=t.split(".");return n[n.length-1]=Number(n[n.length-1])+e,n.join(".")}else return String(e)},gR={name:"ConditionLabel",props:["block","getConditionFromBlock"],setup(t){const e=ne(!1),n=Ln(),r=D(()=>n.getters.code),s=D(()=>n.getters.onContentChange||(()=>{})),i=D(()=>t.getConditionFromBlock(t.block)),o=D(()=>{var x,C;return(C=(x=i==null?void 0:i.value)==null?void 0:x.getFormattedText())!=null?C:""});function l(x){e.value=x}function a(x){n.dispatch("updateCode",{code:x}),s.value(x)}async function c(x){x.preventDefault(),x.stopPropagation(),l(!0),await Yn();const C=document.createRange();C.selectNodeContents(x.target),C.collapse(!1);const _=window.getSelection();!_||(_==null||_.removeAllRanges(),_==null||_.addRange(C))}async function u(x){await Yn(),e.value&&g(x)}function h(x){x.key==="Enter"&&(x.preventDefault(),x.stopPropagation())}function d(x){(x.key==="Enter"||x.key==="Escape"||x.key==="Tab")&&g(x)}function f(x){return/[!@#$%^&*()+-,.?''":{}|<>/\s]/g.test(x)}function g(x){var w,S,I,M,k;l(!1),x.preventDefault(),x.stopPropagation();const C=x.target;if(!(C instanceof HTMLElement))return;let _=(w=C.innerText.trim())!=null?w:"";if(_===""){C.innerText=o.value;return}f(_)&&(_=_.replace(/"/g,""),_=`"${_}"`);const[m,y]=[(I=(S=i.value)==null?void 0:S.start)==null?void 0:I.start,(k=(M=i.value)==null?void 0:M.stop)==null?void 0:k.stop];a(r.value.slice(0,m)+_+r.value.slice(y+1))}return{editable:e,conditionText:o,handleBlur:u,handleDblClick:c,handleKeydown:h,handleKeyup:d}}},mR=["contenteditable"];function xR(t,e,n,r,s,i){return R(),H("label",{title:"Double click to edit",class:Ee(["condition px-1 cursor-text hover:text-skin-message-hover hover:bg-skin-message-hover",{"py-1 px-2 ml-1 cursor-text":r.editable}]),contenteditable:r.editable,onDblclick:e[0]||(e[0]=(...o)=>r.handleDblClick&&r.handleDblClick(...o)),onBlur:e[1]||(e[1]=(...o)=>r.handleBlur&&r.handleBlur(...o)),onKeyup:e[2]||(e[2]=(...o)=>r.handleKeyup&&r.handleKeyup(...o)),onKeydown:e[3]||(e[3]=(...o)=>r.handleKeydown&&r.handleKeydown(...o))},ze(r.editable?r.conditionText:`[${r.conditionText}]`),43,mR)}const l8=Ge(gR,[["render",xR]]),RP="",_R={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj","number"],mixins:[pi],components:{ConditionLabel:l8},setup(t){const e=Ln(),n=D(()=>e.state.numbering),r=D(()=>t.context.Origin()),s=D(()=>t.context.alt()),i=D(()=>{var d;return(d=s.value)==null?void 0:d.ifBlock()}),o=D(()=>{var d;return(d=s.value)==null?void 0:d.elseIfBlock()}),l=D(()=>{var d,f,g;return(g=(f=(d=s.value)==null?void 0:d.elseBlock())==null?void 0:f.braceBlock())==null?void 0:g.block()}),a=D(()=>{var d,f,g;return(g=(f=(d=s.value)==null?void 0:d.ifBlock())==null?void 0:f.braceBlock())==null?void 0:g.block()}),c=D(()=>{var f;const d=[gi(a.value)];return(f=s.value)!=null&&f.elseIfBlock()&&s.value.elseIfBlock().forEach(g=>{d.push(d[d.length-1]+gi(h(g)))}),d});function u(d){var f;return(f=d==null?void 0:d.parExpr())==null?void 0:f.condition()}function h(d){var f;return(f=d==null?void 0:d.braceBlock())==null?void 0:f.block()}return{numbering:n,from:r,alt:s,blockInIfBlock:a,ifBlock:i,elseIfBlocks:o,elseBlock:l,blockLengthAcc:c,conditionFromIfElseBlock:u,blockInElseIfBlock:h,increaseNumber:o8,blockLength:gi}}},a8=t=>(Ss("data-v-a525ba55"),t=t(),As(),t),LR={class:"segment"},yR={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative"},vR={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"},CR={class:"name font-semibold p-1 border-b text-sm"},wR={class:"p-0"},bR={class:"segment"},ER={class:"text-skin-fragment flex"},TR=a8(()=>T("label",{class:"else-if hidden"},"else if",-1)),SR={key:0,class:"segment mt-2 border-t border-solid"},AR=a8(()=>T("div",{class:"text-skin-fragment"},[T("label",{class:"p-1"},"[else]")],-1));function kR(t,e,n,r,s,i){const o=Le("comment"),l=Le("collapse-button"),a=Le("ConditionLabel"),c=Le("block");return R(),H("div",{class:"fragment alt border-skin-fragment rounded",style:Ce(t.fragmentStyle)},[T("div",LR,[n.comment?(R(),Oe(o,{key:0,comment:n.comment,commentObj:n.commentObj},null,8,["comment","commentObj"])):xe("",!0),T("div",yR,[r.numbering?(R(),H("div",vR,ze(n.number),1)):xe("",!0),T("div",CR,[T("label",wR,[Z(l,{label:"Alt",collapsed:t.collapsed,onClick:this.toggle,style:Ce(n.commentObj.messageStyle),class:Ee(n.commentObj.messageClassNames)},null,8,["collapsed","onClick","style","class"])])])])]),T("div",{class:Ee({hidden:t.collapsed})},[T("div",bR,[T("div",ER,[Z(a,{block:r.ifBlock,getConditionFromBlock:r.conditionFromIfElseBlock},null,8,["block","getConditionFromBlock"])]),r.blockInIfBlock?(R(),Oe(c,{key:0,style:Ce({paddingLeft:`${t.offsetX}px`}),context:r.blockInIfBlock,selfCallIndent:n.selfCallIndent,number:`${n.number}.1`,incremental:""},null,8,["style","context","selfCallIndent","number"])):xe("",!0)]),(R(!0),H(Pe,null,xn(r.elseIfBlocks,(u,h)=>(R(),H("div",{key:h+500,class:"segment mt-2 border-t border-solid"},[(R(),H("div",{class:"text-skin-fragment",key:h+1e3},[TR,Z(a,{block:u,getConditionFromBlock:r.conditionFromIfElseBlock},null,8,["block","getConditionFromBlock"])])),(R(),Oe(c,{style:Ce({paddingLeft:`${t.offsetX}px`}),context:r.blockInElseIfBlock(u),selfCallIndent:n.selfCallIndent,key:h+2e3,number:`${n.number}.${r.blockLengthAcc[h]+1}`,incremental:""},null,8,["style","context","selfCallIndent","number"]))]))),128)),r.elseBlock?(R(),H("div",SR,[AR,Z(c,{style:Ce({paddingLeft:`${t.offsetX}px`}),context:r.elseBlock,selfCallIndent:n.selfCallIndent,number:`${n.number}.${r.blockLengthAcc[r.blockLengthAcc.length-1]+1}`,incremental:""},null,8,["style","context","selfCallIndent","number"])])):xe("",!0)],2)],4)}const RR=Ge(_R,[["render",kR],["__scopeId","data-v-a525ba55"]]),OP="",IP="",OR={name:"fragment-par",props:["context","comment","commentObj","selfCallIndent","number"],mixins:[pi],computed:{...Cr(["numbering"]),from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},IR={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative"},MR={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"},NR={class:"name font-semibold p-1 border-b"};function PR(t,e,n,r,s,i){const o=Le("comment"),l=Le("collapse-button"),a=Le("block");return R(),H("div",{class:"fragment par border-skin-fragment rounded",style:Ce(t.fragmentStyle)},[n.comment?(R(),Oe(o,{key:0,comment:n.comment,commentObj:n.commentObj},null,8,["comment","commentObj"])):xe("",!0),T("div",IR,[t.numbering?(R(),H("div",MR,ze(n.number),1)):xe("",!0),T("div",NR,[Z(l,{label:"Par",collapsed:t.collapsed,onClick:this.toggle,style:Ce(n.commentObj.messageStyle),class:Ee(n.commentObj.messageClassNames)},null,8,["collapsed","onClick","style","class"])])]),Z(a,{class:Ee({hidden:t.collapsed}),style:Ce({paddingLeft:`${t.offsetX}px`}),context:i.par.braceBlock().block(),selfCallIndent:n.selfCallIndent,number:n.number},null,8,["class","style","context","selfCallIndent","number"])],4)}const FR=Ge(OR,[["render",PR],["__scopeId","data-v-12f63f5c"]]),MP="",DR={name:"fragment-loop",props:["context","comment","commentObj","selfCallIndent","number"],mixins:[pi],components:{ConditionLabel:l8},setup(t){const e=Ln(),n=D(()=>e.state.numbering),r=D(()=>t.context.Origin()),s=D(()=>t.context.loop()),i=D(()=>{var o,l;return(l=(o=s.value)==null?void 0:o.braceBlock())==null?void 0:l.block()});return{numbering:n,from:r,loop:s,blockInLoop:i,getConditionFromBlock:()=>{var o,l;return(l=(o=s.value)==null?void 0:o.parExpr())==null?void 0:l.condition()}}}},$R={class:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4 relative"},BR={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"},HR={class:"name font-semibold p-1 border-b"},UR={class:"segment"},zR={class:"text-skin-fragment"};function VR(t,e,n,r,s,i){const o=Le("comment"),l=Le("collapse-button"),a=Le("ConditionLabel"),c=Le("block");return R(),H("div",{class:"fragment loop border-skin-fragment rounded",style:Ce(t.fragmentStyle)},[n.comment?(R(),Oe(o,{key:0,comment:n.comment,commentObj:n.commentObj},null,8,["comment","commentObj"])):xe("",!0),T("div",$R,[r.numbering?(R(),H("div",BR,ze(n.number),1)):xe("",!0),T("div",HR,[Z(l,{label:"Loop",collapsed:t.collapsed,onClick:this.toggle,style:Ce(n.commentObj.messageStyle),class:Ee(n.commentObj.messageClassNames)},null,8,["collapsed","onClick","style","class"])])]),T("div",{class:Ee({hidden:t.collapsed})},[T("div",UR,[T("div",zR,[Z(a,{editable:t.editable,toggleEditable:t.toggleEditable,block:r.blockInLoop,getConditionFromBlock:r.getConditionFromBlock},null,8,["editable","toggleEditable","block","getConditionFromBlock"])]),Z(c,{style:Ce({paddingLeft:`${t.offsetX}px`}),context:r.blockInLoop,selfCallIndent:n.selfCallIndent,number:n.number},null,8,["style","context","selfCallIndent","number"])])],2)],4)}const GR=Ge(DR,[["render",VR],["__scopeId","data-v-13453f1f"]]),NP="",jR={name:"fragment-opt",props:["context","comment","commentObj","selfCallIndent","number"],mixins:[pi],computed:{...Cr(["numbering"]),from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},ZR={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 relative"},WR={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"},qR={class:"name font-semibold p-1 border-b"};function KR(t,e,n,r,s,i){const o=Le("comment"),l=Le("collapse-button"),a=Le("block");return R(),H("div",{class:"fragment opt border-skin-fragment rounded",style:Ce(t.fragmentStyle)},[n.comment?(R(),Oe(o,{key:0,comment:n.comment,commentObj:n.commentObj},null,8,["comment","commentObj"])):xe("",!0),T("div",ZR,[t.numbering?(R(),H("div",WR,ze(n.number),1)):xe("",!0),T("div",qR,[Z(l,{label:"Opt",collapsed:t.collapsed,onClick:this.toggle,style:Ce(n.commentObj.textStyle),class:Ee(n.commentObj.classNames)},null,8,["collapsed","onClick","style","class"])])]),Z(a,{class:Ee({hidden:t.collapsed}),style:Ce({paddingLeft:`${t.offsetX}px`}),context:i.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent,number:n.number},null,8,["class","style","context","selfCallIndent","number"])],4)}const YR=Ge(jR,[["render",KR],["__scopeId","data-v-533e0127"]]),PP="",XR={name:"fragment-tcf",props:["context","comment","commentObj","selfCallIndent","number"],mixins:[pi],computed:{...Cr(["numbering"]),from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var t,e,n;return(n=(e=(t=this.tcf)==null?void 0:t.tryBlock())==null?void 0:e.braceBlock())==null?void 0:n.block()},finallyBlock:function(){var t,e,n;return(n=(e=(t=this.tcf)==null?void 0:t.finallyBlock())==null?void 0:e.braceBlock())==null?void 0:n.block()},blockLengthAcc(){var e;const t=[gi(this.blockInTryBlock)];return(e=this.tcf)!=null&&e.catchBlock()&&this.tcf.catchBlock().forEach(n=>{t.push(t[t.length-1]+gi(this.blockInCatchBlock(n)))}),t}},methods:{exception(t){var e;return(e=t==null?void 0:t.invocation())==null?void 0:e.parameters().getText()},blockInCatchBlock(t){var e;return(e=t==null?void 0:t.braceBlock())==null?void 0:e.block()}}},c8=t=>(Ss("data-v-049c2e25"),t=t(),As(),t),QR={class:"segment"},JR={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative"},eO={key:0,class:"absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"},tO={class:"name font-semibold p-1 border-b text-sm"},nO={class:"segment"},rO=c8(()=>T("label",{class:"keyword catch p-1"},"catch",-1)),sO={class:"exception p-1"},iO={key:0,class:"segment mt-2 border-t border-solid"},oO=c8(()=>T("div",{class:"header flex text-skin-fragment finally"},[T("label",{class:"keyword finally px-1 inline-block text-sm"},"finally")],-1));function lO(t,e,n,r,s,i){const o=Le("comment"),l=Le("collapse-button"),a=Le("block");return R(),H("div",{class:"fragment tcf border-skin-fragment rounded",style:Ce(t.fragmentStyle)},[T("div",QR,[n.comment?(R(),Oe(o,{key:0,comment:n.comment,commentObj:n.commentObj},null,8,["comment","commentObj"])):xe("",!0),T("div",JR,[t.numbering?(R(),H("div",eO,ze(n.number),1)):xe("",!0),T("div",tO,[Z(l,{label:"Try",collapsed:t.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])])]),T("div",{class:Ee({hidden:t.collapsed})},[T("div",nO,[i.blockInTryBlock?(R(),Oe(a,{key:0,style:Ce({paddingLeft:`${t.offsetX}px`}),context:i.blockInTryBlock,selfCallIndent:n.selfCallIndent,number:`${n.number}.1`,incremental:""},null,8,["style","context","selfCallIndent","number"])):xe("",!0)]),(R(!0),H(Pe,null,xn(i.tcf.catchBlock(),(c,u)=>(R(),H("div",{key:u+500,class:"segment text-sm mt-2 border-t border-solid"},[(R(),H("div",{class:"header inline-block",key:u+1e3},[rO,T("label",sO,ze(i.exception(c)),1)])),(R(),Oe(a,{style:Ce({paddingLeft:`${t.offsetX}px`}),context:i.blockInCatchBlock(c),selfCallIndent:n.selfCallIndent,key:u+2e3,number:`${n.number}.${i.blockLengthAcc[u]+1}`,incremental:""},null,8,["style","context","selfCallIndent","number"]))]))),128)),i.finallyBlock?(R(),H("div",iO,[oO,Z(a,{style:Ce({paddingLeft:`${t.offsetX}px`}),context:i.finallyBlock,selfCallIndent:n.selfCallIndent,number:`${n.number}.${i.blockLengthAcc[i.blockLengthAcc.length-1]+1}`,incremental:""},null,8,["style","context","selfCallIndent","number"])])):xe("",!0)],2)],4)}const aO=Ge(XR,[["render",lO],["__scopeId","data-v-049c2e25"]]),cO={name:"return",props:["context","comment","commentObj","number"],computed:{...vn(["distance","cursor","onElementClick","participants"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return(t=this.context)==null?void 0:t.ret().asyncMessage()},width:function(){return this.isSelf?J0(this.signature,Er.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 t,e,n,r,s;return((e=(t=this.asyncMessage)==null?void 0:t.content())==null?void 0:e.getFormattedText())||((s=(r=(n=this.context)==null?void 0:n.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var t,e;return((e=(t=this.asyncMessage)==null?void 0:t.from())==null?void 0:e.getFormattedText())||this.from},target:function(){var t,e,n,r;return((e=(t=this.asyncMessage)==null?void 0:t.to())==null?void 0:e.getFormattedText())||((r=(n=this.context)==null?void 0:n.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target},isReturnToStart(){return this.target===this.participants.Starter().name},messageTextStyle(){var t;return(t=this.commentObj)==null?void 0:t.messageStyle},messageClassNames(){var t;return(t=this.commentObj)==null?void 0:t.messageClassNames},messageContext(){var t,e,n;return((t=this.asyncMessage)==null?void 0:t.content())||((n=(e=this.context)==null?void 0:e.ret())==null?void 0:n.expr())}},methods:{onClick(){this.onElementClick(i0.from(this.context))}},components:{Comment:fi,Message:ri}},uO=["data-signature"],hO={key:1,class:"flex items-center"},dO=T("svg",{class:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512"},[T("path",{class:"cls-1",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"}),T("path",{class:"cls-1",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"})],-1),fO={class:"name text-sm"};function pO(t,e,n,r,s,i){const o=Le("comment"),l=Le("Message");return R(),H("div",{class:Ee(["interaction return relative",{"right-to-left":i.rightToLeft,highlight:i.isCurrent,"return-to-start":i.isReturnToStart}]),onClick:e[0]||(e[0]=I0((...a)=>i.onClick&&i.onClick(...a),["stop"])),"data-signature":i.signature,style:Ce({width:i.width+"px",left:i.left+"px"})},[n.comment?(R(),Oe(o,{key:0,commentObj:n.commentObj},null,8,["commentObj"])):xe("",!0),i.isSelf?(R(),H("div",hO,[dO,T("span",fO,ze(i.signature),1)])):xe("",!0),i.isSelf?xe("",!0):(R(),Oe(l,{key:2,classNames:i.messageClassNames,textStyle:i.messageTextStyle,context:i.messageContext,content:i.signature,rtl:i.rightToLeft,type:"return",number:n.number},null,8,["classNames","textStyle","context","content","rtl","number"]))],14,uO)}const gO=Ge(cO,[["render",pO]]),mO=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],xO=["italic","oblique"],_O=["bold","bolder","lighter"],LO=["underline","overline","line-through"],mi=t=>{const e={},n=[];return t.forEach(r=>{switch(!0){case mO.includes(r):e.color=r;break;case xO.includes(r):e.fontStyle=r;break;case _O.includes(r):e.fontWeight=r;break;case LO.includes(r):e.textDecoration=r;break;default:n.push(r)}}),{textStyle:e,classNames:n}},FP="",yO={name:"divider",props:["context"],computed:{...vn(["participants","centerOf"]),width(){let t=this.participants.Names().pop();return this.centerOf(t)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},note:function(){return this.context.divider().Note()},messageStyle(){if(this.note.trim().indexOf("[")===0&&this.note.indexOf("]")!==-1){const t=this.note.indexOf("["),e=this.note.indexOf("]"),[n,r]=[this.note.slice(t+1,e),this.note.slice(e+1)];return{style:mi(n.split(",").map(s=>s.trim())),note:r}}return{style:mi([]),note:this.note}}}},u8=t=>(Ss("data-v-0be02001"),t=t(),As(),t),vO=u8(()=>T("div",{class:"left bg-skin-divider"},null,-1)),CO=u8(()=>T("div",{class:"right bg-skin-divider"},null,-1));function wO(t,e,n,r,s,i){return R(),H("div",{class:"divider",style:Ce({width:i.width+"px",transform:"translateX("+(-1*i.centerOfFrom+10)+"px)"})},[vO,T("div",{class:Ee(["name",i.messageStyle.style.classNames]),style:Ce(i.messageStyle.style.textStyle)},ze(i.messageStyle.note),7),CO],4)}const bO=Ge(yO,[["render",wO],["__scopeId","data-v-0be02001"]]);function EO(t){const e={"<>":new Set,"()":new Set,"[]":new Set},n=/<([^>]*)>|\(([^)]*)\)|\[([^\]]*)\]|([^<>()[\]\s]+)/g;let r,s;for(;r=n.exec(t);){if(r[4]){s!==void 0&&(s=r.index);break}s=r.index+r[0].length,r[1]&&r[1].split(",").forEach(i=>e["<>"].add(i.trim())),r[2]&&r[2].split(",").forEach(i=>e["()"].add(i.trim())),r[3]&&r[3].split(",").forEach(i=>e["[]"].add(i.trim()))}return[Array.from(e["<>"]),Array.from(e["()"]),Array.from(e["[]"]),t.slice(s)]}class TO{constructor(e){J(this,"text","");J(this,"classNames",[]);J(this,"textStyle",{});J(this,"commentStyle",{});J(this,"messageStyle",{});J(this,"commentClassNames",[]);J(this,"messageClassNames",[]);const n=e.slice(0,-1).split(`
1017
1017
  `),r=n[n.length-1],[s,i,o,l]=EO(r),{textStyle:a,classNames:c}=mi(s),{textStyle:u,classNames:h}=mi(i),{textStyle:d,classNames:f}=mi(o);this.text=(n.slice(0,n.length-1).join(`
1018
1018
  `)+`
1019
- `+l).trim(),this.textStyle={...d,...a,...u},this.classNames=[...f,...c,...h],this.commentStyle={...d,...a},this.messageStyle={...d,...u},this.commentClassNames=[...f,...c],this.messageClassNames=[...f,...h]}}const SO={name:"statement",props:["context","selfCallIndent","number","collapsed","inheritFromOccurrence"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new TO(this.comment)},subStatement:function(){let t=this,e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find(r=>t.context[r]()!==null);return e[n]},collapsedCheck:function(){return this.collapsed&&this.subStatement!="Return"}},components:{Creation:Uk,Interaction:Yk,InteractionAsync:aR,FragmentAlt:RR,FragmentPar:FR,FragmentOpt:YR,FragmentTryCatchFinally:aO,FragmentLoop:GR,Divider:bO,Return:gO}};function AO(t,e,n,r,s,i){return R(),Oe(Ms(i.subStatement),{class:Ee(["text-left text-sm text-skin-message",{hidden:i.collapsedCheck}]),context:n.context,comment:i.comment,commentObj:i.commentObj,selfCallIndent:n.selfCallIndent,number:n.number,inheritFromOccurrence:n.inheritFromOccurrence},null,8,["class","context","comment","commentObj","selfCallIndent","number","inheritFromOccurrence"])}const kO=Ge(SO,[["render",AO]]),RO={class:"block"},OO=Ke({__name:"Block",props:{context:null,selfCallIndent:null,number:null,incremental:{type:Boolean},collapsed:{type:Boolean},inheritFromOccurrence:{type:Boolean}},setup(t){const e=t,n=D(()=>{var s;return((s=e.context)==null?void 0:s.stat())||[]}),r=s=>e.number?e.incremental?o8(e.number,s):`${e.number}.${s+1}`:String(s+1);return(s,i)=>(R(),H("div",RO,[(R(!0),H(Pe,null,xn(ge(n),(o,l)=>(R(),H("div",{class:"statement-container mt-1",key:l},[Z(kO,{inheritFromOccurrence:t.inheritFromOccurrence,context:o,collapsed:t.collapsed,selfCallIndent:t.selfCallIndent,number:r(l)},null,8,["inheritFromOccurrence","context","collapsed","selfCallIndent","number"])]))),128))]))}});function IO(t){const e=Math.floor(t/1e3),n=Math.floor(t%1e3),r=Math.floor((t%1e3-n)*1e3);return e+"s "+n+"ms "+r+"\u03BCs"}const MO=(t,e)=>{const r=h8()-e;return console.debug(t+" cost: "+IO(r)),r},h8=()=>performance.now(),NO=h0.child({name:"core"});class PO{constructor(e,n=!1){J(this,"el");J(this,"_code");J(this,"_theme");J(this,"store");J(this,"app");J(this,"_currentTimeout");J(this,"_lastRenderingCostMilliseconds",0);J(this,"initialRender",!0);this.el=e,this.store=L4(Eh()),this.app=F0(n?Ic:R6),this.app.component("Comment",fi),this.app.component("Block",OO),this.app.use(this.store),this.app.mount(this.el),this.addPortalRootElement()}addPortalRootElement(){const e=document.createElement("div");e.id="headlessui-portal-root",e.className="zenuml",e.append(document.createElement("div")),document.body.append(e)}async render(e,n){return this._currentTimeout&&(console.debug("rendering clearTimeout"),clearTimeout(this._currentTimeout)),NO.debug("rendering",e,n),this._code=e||this._code,this._theme=(n==null?void 0:n.theme)||this._theme,this.store.state.stickyOffset=(n==null?void 0:n.stickyOffset)||0,this.store.state.theme=this._theme||"default",this.store.state.mode=(n==null?void 0:n.mode)||sr.Dynamic,this.initialRender?(this.initialRender=!1,await this.doRender(n)):this._currentTimeout=setTimeout(async()=>await this.doRender(n),this.calculateDebounceMilliseconds()),this}async doRender(e){console.debug("rendering start");const n=h8();dw(),this.store.commit("onContentChange",(e==null?void 0:e.onContentChange)||(()=>{})),(e==null?void 0:e.enableMultiTheme)!==void 0&&(this.store.state.enableMultiTheme=e==null?void 0:e.enableMultiTheme),await this.store.dispatch("updateCode",{code:this._code}),this._lastRenderingCostMilliseconds=MO("rendering end",n)}calculateDebounceMilliseconds(){let e=this._lastRenderingCostMilliseconds;return e>2e3&&(e=2e3),console.debug("rendering debounce: "+e+"ms"),e}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.el.children[0].__vue__.toPng()}}const FO={createApp:F0,createStore:L4,Store:Eh,SeqDiagram:Ic,DiagramFrame:R6},DO={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24"},$O=[T("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 18 6M6 6l12 12"},null,-1)];function d8(t,e){return R(),H("svg",DO,$O)}const BO=Object.freeze(Object.defineProperty({__proto__:null,render:d8,default:{render:d8}},Symbol.toStringTag,{value:"Module"})),HO={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round",viewBox:"0 0 24 24"},UO=[T("path",{d:"m14 10 7-7M20 10h-6V4M3 21l7-7M4 14h6v6"},null,-1)];function f8(t,e){return R(),H("svg",HO,UO)}const zO=Object.freeze(Object.defineProperty({__proto__:null,render:f8,default:{render:f8}},Symbol.toStringTag,{value:"Module"})),VO={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},GO=[T("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},[T("path",{d:"M3 17.3V21h3.7","data-name":"Right"}),T("path",{d:"m10 14-6.2 6.2M14 10l6.2-6.2"}),T("path",{d:"M21 6.7V3h-3.7","data-name":"Right"})],-1)];function p8(t,e){return R(),H("svg",VO,GO)}const jO=Object.freeze(Object.defineProperty({__proto__:null,render:p8,default:{render:p8}},Symbol.toStringTag,{value:"Module"})),ZO={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},WO=[T("path",{d:"M6 3v12"},null,-1),T("circle",{cx:"18",cy:"6",r:"3"},null,-1),T("circle",{cx:"6",cy:"18",r:"3"},null,-1),T("path",{d:"M18 9a9 9 0 0 1-9 9"},null,-1)];function g8(t,e){return R(),H("svg",ZO,WO)}const qO=Object.freeze(Object.defineProperty({__proto__:null,render:g8,default:{render:g8}},Symbol.toStringTag,{value:"Module"})),KO={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"24",class:"arrow text-skin-message-arrow"},YO=[T("path",{d:"M0 2h28v13H14",class:"line stroke-current fill-none stroke-2"},null,-1),T("path",{d:"M18 9 8 15l10 6",class:"head stroke-current fill-current stroke-2"},null,-1)];function m8(t,e){return R(),H("svg",KO,YO)}const XO=Object.freeze(Object.defineProperty({__proto__:null,render:m8,default:{render:m8}},Symbol.toStringTag,{value:"Module"})),QO={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",viewBox:"0 0 20 20"},JO=[T("circle",{cx:"10",cy:"10",r:"10",fill:"#000","fill-opacity":".1"},null,-1)];function x8(t,e){return R(),H("svg",QO,JO)}const eI=Object.freeze(Object.defineProperty({__proto__:null,render:x8,default:{render:x8}},Symbol.toStringTag,{value:"Module"})),tI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 100 100"},nI=[T("path",{fill:"#000",d:"M21.886 32.09V67H17.66V36.523h-.204l-8.523 5.659v-4.296l8.727-5.795h4.227Zm11.662 35.126a2.338 2.338 0 0 1-1.714-.715 2.338 2.338 0 0 1-.715-1.714c0-.666.239-1.237.715-1.714a2.338 2.338 0 0 1 1.714-.715c.666 0 1.237.238 1.714.715.477.477.715 1.048.715 1.714 0 .44-.112.846-.337 1.214a2.52 2.52 0 0 1-.877.891c-.36.216-.765.324-1.215.324Zm8.24-.216v-2.557l9.603-10.511a66.703 66.703 0 0 0 2.784-3.21c.73-.919 1.269-1.78 1.62-2.586a6.26 6.26 0 0 0 .54-2.556c0-1.023-.247-1.909-.74-2.657-.482-.748-1.145-1.326-1.988-1.733-.843-.407-1.79-.61-2.841-.61-1.117 0-2.093.232-2.926.696a4.792 4.792 0 0 0-1.918 1.917c-.445.824-.667 1.79-.667 2.898h-3.353c0-1.705.393-3.2 1.18-4.489a8.192 8.192 0 0 1 3.21-3.011c1.363-.72 2.892-1.08 4.588-1.08 1.704 0 3.215.36 4.53 1.08 1.317.72 2.35 1.69 3.098 2.912.748 1.221 1.122 2.58 1.122 4.077 0 1.07-.195 2.116-.583 3.139-.379 1.013-1.041 2.145-1.988 3.395-.938 1.24-2.24 2.755-3.907 4.545l-6.534 6.989v.227h13.523V67H41.789Zm26.444.216a2.338 2.338 0 0 1-1.714-.715 2.338 2.338 0 0 1-.715-1.714c0-.666.238-1.237.715-1.714a2.338 2.338 0 0 1 1.714-.715c.666 0 1.237.238 1.714.715.477.477.715 1.048.715 1.714 0 .44-.113.846-.338 1.214a2.52 2.52 0 0 1-.877.891c-.36.216-.764.324-1.214.324Zm15.502.102c-1.5 0-2.837-.257-4.012-.772-1.166-.516-2.094-1.232-2.784-2.148-.682-.924-1.053-1.996-1.113-3.216h2.863c.06.75.318 1.398.773 1.943.454.538 1.05.954 1.784 1.25.735.296 1.55.443 2.443.443 1 0 1.887-.174 2.66-.522.772-.349 1.378-.834 1.817-1.455.44-.621.66-1.341.66-2.16 0-.855-.213-1.609-.637-2.26-.424-.66-1.045-1.175-1.863-1.546-.819-.371-1.819-.557-3-.557H81.46v-2.5h1.864c.924 0 1.734-.166 2.431-.5.705-.333 1.254-.803 1.648-1.409.402-.606.602-1.318.602-2.136 0-.788-.174-1.474-.522-2.057a3.575 3.575 0 0 0-1.478-1.364c-.628-.325-1.37-.488-2.227-.488-.803 0-1.56.147-2.273.443a4.234 4.234 0 0 0-1.727 1.261c-.447.546-.69 1.205-.727 1.977h-2.727c.045-1.22.412-2.287 1.102-3.204.69-.924 1.59-1.644 2.704-2.16 1.122-.514 2.353-.772 3.694-.772 1.439 0 2.674.292 3.704.875 1.03.576 1.822 1.337 2.375 2.284.553.947.83 1.97.83 3.068 0 1.311-.345 2.428-1.034 3.353-.682.924-1.61 1.564-2.785 1.92v.182c1.47.242 2.618.867 3.444 1.875.825 1 1.238 2.239 1.238 3.716 0 1.265-.344 2.401-1.034 3.409-.682 1-1.613 1.788-2.795 2.364-1.182.575-2.527.863-4.034.863Z"},null,-1),T("path",{fill:"#000",d:"M21.886 32.09h1v-1h-1v1Zm0 34.91v1h1v-1h-1Zm-4.227 0h-1v1h1v-1Zm0-30.477h1v-1h-1v1Zm-.204 0v-1h-.302l-.252.167.553.833Zm-8.523 5.659h-1v1.864l1.553-1.031-.553-.833Zm0-4.296-.553-.833-.447.297v.536h1Zm8.727-5.795v-1h-.302l-.251.167.553.833Zm3.227 0V67h2V32.09h-2Zm1 33.909H17.66v2h4.227v-2Zm-3.227 1V36.523h-2V67h2Zm-1-31.477h-.204v2h.204v-2Zm-.758.167L8.38 41.349l1.106 1.666 8.523-5.66L16.9 35.69Zm-6.97 6.492v-4.296h-2v4.296h2Zm-.446-3.463 8.727-5.795-1.106-1.666-8.727 5.795 1.106 1.666Zm8.174-5.628h4.227v-2H17.66v2ZM31.834 66.5l.708-.707-.708.707Zm0-3.428-.707-.707.707.707Zm3.428 0 .707-.707-.707.707Zm.378 2.928-.854-.52-.005.008-.004.007.863.505Zm-.877.891.514.858.006-.004-.52-.854Zm-1.215-.676a1.34 1.34 0 0 1-1.006-.422l-1.415 1.414a3.337 3.337 0 0 0 2.421 1.008v-2Zm-1.006-.422a1.34 1.34 0 0 1-.423-1.007h-2c0 .935.347 1.76 1.008 2.42l1.415-1.413Zm-.423-1.007c0-.397.13-.715.423-1.007l-1.415-1.414a3.337 3.337 0 0 0-1.008 2.42h2Zm.423-1.007a1.34 1.34 0 0 1 1.006-.422v-2c-.934 0-1.759.346-2.42 1.008l1.414 1.414Zm1.006-.422c.397 0 .715.13 1.007.422l1.414-1.414a3.337 3.337 0 0 0-2.42-1.008v2Zm1.007.422c.292.292.422.61.422 1.007h2c0-.935-.346-1.76-1.008-2.421l-1.414 1.414Zm.422 1.007c0 .261-.064.485-.19.694l1.707 1.041a3.288 3.288 0 0 0 .483-1.735h-2Zm-.2.71a1.52 1.52 0 0 1-.535.541l1.041 1.708c.509-.31.92-.726 1.22-1.24l-1.726-1.01Zm-.529.538a1.317 1.317 0 0 1-.7.18v2c.618 0 1.203-.15 1.73-.466l-1.03-1.714Zm7.54.965h-1v1h1v-1Zm0-2.557-.738-.674-.261.286v.388h1Zm9.603-10.511-.738-.675.738.675Zm2.784-3.21.78.625.003-.004-.783-.621Zm1.62-2.586-.915-.404-.003.005.917.4Zm-.2-5.213-.84.543.005.007.836-.55Zm-1.988-1.733.435-.9-.435.9Zm-5.767.086.483.875.003-.002-.486-.873Zm-1.918 1.917-.875-.483-.005.008.88.475Zm-.667 2.898v1h1v-1h-1Zm-3.353 0h-1v1h1v-1Zm1.18-4.489.853.521-.854-.52Zm3.21-3.011-.467-.885-.003.002.47.883Zm9.119 0 .48-.877-.48.877Zm3.096 2.912-.852.522.852-.522Zm.54 7.216-.935-.355-.002.005.937.35Zm-1.988 3.395-.797-.604h-.001l.798.604Zm-3.907 4.545.73.683.002-.001-.732-.682Zm-6.534 6.989-.73-.683-.27.288v.395h1Zm0 .227h-1v1h1v-1Zm13.523 0h1v-1h-1v1Zm0 3.125v1h1v-1h-1Zm-17.352 0v-2.557h-2V67h2Zm-.262-1.882 9.602-10.512-1.476-1.349L41.05 63.77l1.477 1.349Zm9.602-10.511a67.671 67.671 0 0 0 2.826-3.26l-1.56-1.251a65.769 65.769 0 0 1-2.742 3.16l1.476 1.351Zm2.83-3.264c.766-.965 1.358-1.901 1.752-2.808l-1.834-.798c-.306.704-.793 1.491-1.485 2.363l1.566 1.243Zm1.75-2.803a7.259 7.259 0 0 0 .625-2.96h-2c0 .75-.15 1.465-.454 2.152l1.83.809Zm.625-2.96c0-1.19-.289-2.273-.903-3.206l-1.67 1.1c.37.562.573 1.25.573 2.106h2Zm-.898-3.2a5.792 5.792 0 0 0-2.394-2.09l-.87 1.8c.686.332 1.205.79 1.583 1.376l1.68-1.085Zm-2.394-2.09c-.994-.48-2.093-.71-3.276-.71v2c.92 0 1.715.177 2.406.51l.87-1.8Zm-3.276-.71c-1.258 0-2.407.262-3.413.822l.973 1.747c.661-.368 1.463-.57 2.44-.57v-2Zm-3.41.82a5.791 5.791 0 0 0-2.31 2.31l1.752.966a3.792 3.792 0 0 1 1.525-1.525l-.966-1.751Zm-2.314 2.318c-.537.994-.787 2.13-.787 3.373h2c0-.973.194-1.77.547-2.422l-1.76-.951Zm.213 2.373h-3.353v2h3.353v-2Zm-2.353 1c0-1.545.355-2.856 1.033-3.968l-1.707-1.042c-.894 1.465-1.326 3.146-1.326 5.01h2Zm1.033-3.968a7.193 7.193 0 0 1 2.826-2.65l-.939-1.765a9.192 9.192 0 0 0-3.594 3.373l1.707 1.042Zm2.823-2.648c1.206-.636 2.573-.964 4.122-.964v-2c-1.842 0-3.534.393-5.055 1.195l.933 1.77Zm4.122-.964c1.56 0 2.901.328 4.051.957l.96-1.755c-1.483-.81-3.162-1.202-5.011-1.202v2Zm4.051.957c1.17.64 2.071 1.492 2.724 2.557l1.705-1.044c-.843-1.378-2.007-2.468-3.47-3.267l-.959 1.754Zm2.724 2.557c.647 1.057.975 2.234.975 3.555h2c0-1.672-.421-3.213-1.27-4.6l-1.705 1.045Zm.975 3.555c0 .946-.172 1.872-.518 2.784l1.87.71c.43-1.134.648-2.3.648-3.494h-2Zm-.52 2.789c-.333.891-.936 1.937-1.849 3.14l1.595 1.209c.981-1.296 1.704-2.514 2.128-3.65l-1.873-.7Zm-1.85 3.142c-.908 1.202-2.185 2.69-3.84 4.467l1.464 1.363c1.679-1.803 3.006-3.346 3.972-4.624l-1.595-1.206Zm-3.838 4.465-6.534 6.989 1.46 1.366 6.535-6.989-1.461-1.366Zm-6.804 7.672v.227h2v-.227h-2Zm1 1.227h13.523v-2H46.618v2Zm12.523-1V67h2v-3.125h-2Zm1 2.125H41.789v2H60.14v-2Zm6.377.5.707-.706-.707.707Zm0-3.427-.707-.707.707.707Zm3.428 0 .707-.707-.707.707Zm.377 2.928-.853-.52-.005.008-.005.007.864.505Zm-.877.891.515.858.006-.004-.52-.854Zm-1.214-.676a1.34 1.34 0 0 1-1.007-.422l-1.414 1.414a3.337 3.337 0 0 0 2.42 1.008v-2Zm-1.007-.422a1.34 1.34 0 0 1-.422-1.007h-2c0 .935.346 1.76 1.008 2.42l1.414-1.413Zm-.422-1.007c0-.397.13-.715.422-1.007l-1.414-1.414a3.337 3.337 0 0 0-1.008 2.42h2Zm.422-1.007a1.34 1.34 0 0 1 1.007-.422v-2c-.935 0-1.76.346-2.421 1.008l1.414 1.414Zm1.007-.422c.397 0 .715.13 1.007.422l1.414-1.414a3.337 3.337 0 0 0-2.421-1.008v2Zm1.007.422c.291.292.422.61.422 1.007h2c0-.935-.347-1.76-1.008-2.421l-1.414 1.414Zm.422 1.007c0 .261-.064.485-.191.694l1.707 1.041a3.288 3.288 0 0 0 .484-1.735h-2Zm-.2.71a1.52 1.52 0 0 1-.535.541l1.041 1.708a3.52 3.52 0 0 0 1.22-1.24l-1.727-1.01Zm-.53.538a1.317 1.317 0 0 1-.7.18v2c.618 0 1.203-.15 1.73-.466l-1.03-1.714Zm10.791.51-.404.915.003.001.401-.915Zm-2.784-2.147-.805.593.006.008.8-.601Zm-1.113-3.216v-1h-1.051l.052 1.05.999-.05Zm2.863 0 .997-.08-.074-.92h-.923v1Zm.773 1.943-.768.64.004.005.764-.645Zm1.784 1.25-.373.928.373-.928Zm6.92-1.534-.816-.578.816.578Zm.023-4.42-.84.54.002.005.838-.546Zm-1.863-1.546-.414.91.414-.91Zm-4.864-.557h-1v1h1v-1Zm0-2.5v-1h-1v1h1Zm4.295-.5-.427-.904-.004.002.431.902Zm1.648-1.409-.834-.552-.004.007.838.545Zm.08-4.193.858-.513-.858.513Zm-1.478-1.364-.46.888.005.002.455-.89Zm-4.5-.045.379.925.005-.002-.384-.923Zm-1.727 1.261.774.634.004-.005-.778-.629Zm-.727 1.977v1h.952l.047-.95-1-.05Zm-2.727 0-1-.037-.038 1.037h1.038v-1Zm1.102-3.204.8.601.001-.003-.801-.598Zm2.704-2.16-.417-.908-.002.001.42.908Zm7.398.103-.493.87.005.003.488-.873Zm2.375 2.284-.863.505.863-.505Zm-.204 6.42-.802-.597-.003.004.805.594Zm-2.785 1.921-.29-.957-.71.215v.742h1Zm0 .182h-1v.849l.838.138.162-.987Zm3.444 1.875-.774.634.003.003.77-.637Zm.204 7.125-.825-.565-.001.002.826.563Zm-2.795 2.364.438.898-.438-.898Zm-4.034-.137c-1.385 0-2.582-.237-3.61-.688l-.803 1.831c1.32.58 2.798.857 4.413.857v-2Zm-3.608-.687c-1.028-.454-1.813-1.07-2.389-1.834l-1.598 1.202c.803 1.068 1.874 1.885 3.18 2.461l.807-1.83Zm-2.383-1.827c-.558-.756-.868-1.636-.92-2.672l-1.997.1c.07 1.403.501 2.667 1.308 3.76l1.609-1.188Zm-1.918-1.622h2.863v-2h-2.863v2Zm1.867-.92c.076.943.406 1.79 1 2.503l1.537-1.28c-.314-.377-.499-.826-.544-1.384l-1.993.161Zm1.005 2.508c.572.678 1.308 1.184 2.175 1.533l.746-1.856c-.603-.242-1.056-.569-1.393-.968l-1.528 1.291Zm2.175 1.533c.868.349 1.81.515 2.816.515v-2c-.782 0-1.468-.129-2.07-.37l-.746 1.855Zm2.816.515c1.117 0 2.147-.195 3.07-.611l-.822-1.823c-.622.28-1.364.434-2.248.434v2Zm3.07-.611c.917-.413 1.67-1.006 2.224-1.789l-1.633-1.155c-.325.46-.784.837-1.413 1.12l.822 1.824Zm2.224-1.789c.568-.803.843-1.728.843-2.736h-2c0 .628-.165 1.142-.476 1.581l1.633 1.155Zm.843-2.736c0-1.03-.258-1.977-.799-2.807l-1.676 1.091c.308.473.475 1.033.475 1.716h2Zm-.796-2.803c-.543-.843-1.324-1.476-2.291-1.915l-.827 1.822c.67.303 1.13.701 1.436 1.176l1.682-1.083Zm-2.291-1.915c-.982-.445-2.132-.646-3.413-.646v2c1.082 0 1.932.17 2.586.468l.827-1.822Zm-3.413-.646H81.46v2h1.864v-2Zm-.864 1v-2.5h-2v2.5h2Zm-1-1.5h1.864v-2H81.46v2Zm1.864 0c1.044 0 2.007-.188 2.863-.598l-.863-1.804c-.538.258-1.197.402-2 .402v2Zm2.86-.596c.858-.406 1.555-.994 2.058-1.768l-1.677-1.09c-.285.439-.687.79-1.237 1.05l.855 1.808Zm2.053-1.76c.523-.79.768-1.7.768-2.69h-2c0 .648-.156 1.163-.436 1.585l1.668 1.104Zm.768-2.69c0-.938-.209-1.807-.664-2.569l-1.717 1.026c.242.405.381.907.381 1.544h2Zm-.664-2.569a4.575 4.575 0 0 0-1.88-1.74l-.911 1.78c.478.244.827.572 1.074.986l1.717-1.026Zm-1.876-1.739c-.797-.413-1.704-.6-2.687-.6v2c.73 0 1.308.138 1.767.376l.92-1.776Zm-2.687-.6a6.87 6.87 0 0 0-2.656.52l.767 1.846a4.87 4.87 0 0 1 1.89-.366v-2Zm-2.65.517A5.232 5.232 0 0 0 79 46.94l1.556 1.257a3.234 3.234 0 0 1 1.328-.965l-.757-1.85Zm-2.123 1.553c-.596.728-.906 1.598-.953 2.563l1.998.097c.028-.58.204-1.029.502-1.392l-1.547-1.268Zm.046 1.611h-2.727v2h2.727v-2Zm-1.728 1.038c.038-1.03.343-1.898.902-2.641l-1.598-1.202c-.82 1.09-1.25 2.358-1.303 3.768l1.999.075Zm.904-2.644c.584-.782 1.35-1.4 2.323-1.85l-.84-1.815c-1.254.58-2.29 1.403-3.086 2.469l1.603 1.196Zm2.32-1.849c.98-.45 2.067-.68 3.277-.68v-2c-1.473 0-2.848.283-4.111.863l.835 1.817Zm3.277-.68c1.303 0 2.36.263 3.211.744l.986-1.74c-1.21-.685-2.622-1.005-4.197-1.005v2Zm3.216.747c.887.496 1.544 1.135 2 1.916l1.727-1.01c-.65-1.112-1.577-1.996-2.751-2.652l-.976 1.746Zm2 1.916a4.98 4.98 0 0 1 .693 2.563h2a6.98 6.98 0 0 0-.966-3.572l-1.727 1.008Zm.693 2.563c0 1.126-.293 2.026-.836 2.755l1.603 1.196c.836-1.12 1.233-2.455 1.233-3.95h-2Zm-.84 2.759c-.544.739-1.286 1.259-2.269 1.557l.58 1.914c1.366-.414 2.48-1.174 3.3-2.284l-1.61-1.187Zm-2.979 2.514v.182h2v-.182h-2Zm.838 1.169c1.266.208 2.182.729 2.832 1.522l1.547-1.268c-1.002-1.222-2.381-1.952-4.054-2.228l-.325 1.974Zm2.835 1.525c.657.796 1.01 1.8 1.01 3.079h2c0-1.676-.474-3.149-1.468-4.353l-1.542 1.274Zm1.01 3.079c0 1.071-.289 2.01-.86 2.844l1.65 1.13c.808-1.18 1.21-2.515 1.21-3.974h-2Zm-.861 2.846c-.575.844-1.368 1.521-2.407 2.028l.876 1.797c1.324-.645 2.395-1.543 3.183-2.699l-1.652-1.126Zm-2.407 2.028c-1.027.5-2.218.762-3.596.762v2c1.637 0 3.135-.313 4.472-.965l-.876-1.797Z"},null,-1)];function _8(t,e){return R(),H("svg",tI,nI)}const rI=Object.freeze(Object.defineProperty({__proto__:null,render:_8,default:{render:_8}},Symbol.toStringTag,{value:"Module"})),sI={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},iI=[T("path",{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"},null,-1),T("path",{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"},null,-1)];function L8(t,e){return R(),H("svg",sI,iI)}const oI=Object.freeze(Object.defineProperty({__proto__:null,render:L8,default:{render:L8}},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",viewBox:"0 0 20 20"},aI=[T("circle",{cx:"10",cy:"10",r:"10",fill:"#4f8cf7","fill-opacity":".2",class:"text-base"},null,-1),T("path",{stroke:"#4f8cf7","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m6 10 3 3 5-5"},null,-1)];function y8(t,e){return R(),H("svg",lI,aI)}const cI=Object.freeze(Object.defineProperty({__proto__:null,render:y8,default:{render:y8}},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",class:"grayscale h-4 w-4",viewBox:"0 0 1024 1024"},hI=[T("path",{fill:"currentColor",d:"M42.667 512C42.667 251.733 251.733 42.667 512 42.667s469.333 187.733 469.333 422.4c0 72.533-29.866 145.066-81.066 200.533-51.2 51.2-123.734 81.067-200.534 81.067H614.4c-12.8 0-25.6 12.8-29.867 25.6 0 8.533 4.267 17.066 8.534 21.333 21.333 21.333 29.866 46.933 29.866 76.8 0 64-51.2 110.933-115.2 115.2-256-4.267-465.066-213.333-465.066-473.6zM128 512c0 213.333 170.667 384 384 384 17.067 0 29.867-12.8 29.867-29.867 0-4.266 0-8.533-4.267-12.8l-4.267-4.266c-17.066-21.334-25.6-46.934-29.866-76.8 0-64 51.2-110.934 115.2-110.934H704c51.2 0 102.4-21.333 136.533-55.466 38.4-38.4 55.467-85.334 55.467-136.534C896 281.6 725.333 128 512 128S128 298.667 128 512zm593.067 21.333c-21.334-21.333-25.6-51.2-17.067-76.8 12.8-25.6 38.4-42.666 64-42.666 38.4 0 68.267 34.133 72.533 72.533 0 29.867-17.066 55.467-42.666 64-8.534 4.267-17.067 4.267-25.6 4.267-17.067 0-38.4-8.534-51.2-21.334zm-520.534 0c-21.333-21.333-25.6-51.2-17.066-76.8 12.8-25.6 38.4-42.666 64-42.666 38.4 0 68.266 34.133 72.533 72.533 0 29.867-17.067 55.467-42.667 64-8.533 4.267-17.066 4.267-25.6 4.267-21.333 0-38.4-8.534-51.2-21.334zM580.267 345.6c-21.334-21.333-25.6-51.2-17.067-76.8 12.8-25.6 38.4-42.667 64-42.667 38.4 0 68.267 34.134 72.533 72.534 0 29.866-17.066 55.466-42.666 64-8.534 4.266-17.067 4.266-25.6 4.266-21.334 0-38.4-8.533-51.2-21.333zm-238.934 0c-17.066-21.333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.667 64-42.667 38.4 0 68.267 34.134 72.534 72.534 0 29.866-17.067 55.466-42.667 64l-29.867 4.266c-17.066 0-34.133-8.533-51.2-21.333z"},null,-1)];function v8(t,e){return R(),H("svg",uI,hI)}const dI=Object.freeze(Object.defineProperty({__proto__:null,render:v8,default:{render:v8}},Symbol.toStringTag,{value:"Module"})),fI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pI=[T("path",{fill:"currentColor",d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512zm0-938.667C276.352 85.333 85.333 276.352 85.333 512S276.352 938.667 512 938.667 938.667 747.648 938.667 512A426.667 426.667 0 0 0 512 85.333zM512 768a42.667 42.667 0 0 1-42.368-42.667V469.76a42.368 42.368 0 1 1 84.693 0v255.573A42.41 42.41 0 0 1 512 768zm0-426.667a42.325 42.325 0 1 1-.085-84.65 42.325 42.325 0 0 1 .085 84.65zm42.325-42.666z"},null,-1)];function C8(t,e){return R(),H("svg",fI,pI)}const gI=Object.freeze(Object.defineProperty({__proto__:null,render:C8,default:{render:C8}},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xI=[T("path",{fill:"currentColor",d:"M945.067 898.133 755.2 708.267c55.467-64 87.467-149.334 87.467-241.067 0-204.8-168.534-373.333-373.334-373.333S96 264.533 96 469.333s168.533 373.334 373.333 373.334c91.734 0 174.934-34.134 241.067-87.467l189.867 189.867c6.4 6.4 14.933 8.533 23.466 8.533s17.067-2.133 23.467-8.533c8.533-12.8 8.533-34.134-2.133-46.934zM469.333 778.667C298.667 778.667 160 640 160 469.333S298.667 160 469.333 160s309.334 138.667 309.334 309.333S640 778.667 469.333 778.667z"},null,-1),T("path",{fill:"currentColor",d:"M597.333 437.333h-96v-96c0-17.066-14.933-32-32-32s-32 14.934-32 32v96h-96c-17.066 0-32 14.934-32 32s14.934 32 32 32h96v96c0 17.067 14.934 32 32 32s32-14.933 32-32v-96h96c17.067 0 32-14.933 32-32s-14.933-32-32-32z"},null,-1)];function w8(t,e){return R(),H("svg",mI,xI)}const _I=Object.freeze(Object.defineProperty({__proto__:null,render:w8,default:{render:w8}},Symbol.toStringTag,{value:"Module"})),LI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yI=[T("path",{fill:"currentColor",d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"},null,-1),T("path",{fill:"currentColor",d:"M921 867 775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"},null,-1)];function b8(t,e){return R(),H("svg",LI,yI)}const vI=Object.freeze(Object.defineProperty({__proto__:null,render:b8,default:{render:b8}},Symbol.toStringTag,{value:"Module"})),E8=["top","right","bottom","left"],T8=["start","end"],S8=E8.reduce((t,e)=>t.concat(e,e+"-"+T8[0],e+"-"+T8[1]),[]),o0=Math.min,hs=Math.max,mo=Math.round,xo=Math.floor,Ir=t=>({x:t,y:t}),CI={left:"right",right:"left",bottom:"top",top:"bottom"},wI={start:"end",end:"start"};function h2(t,e,n){return hs(t,o0(e,n))}function ds(t,e){return typeof t=="function"?t(e):t}function lr(t){return t.split("-")[0]}function Vn(t){return t.split("-")[1]}function A8(t){return t==="x"?"y":"x"}function d2(t){return t==="y"?"height":"width"}function _o(t){return["top","bottom"].includes(lr(t))?"y":"x"}function f2(t){return A8(_o(t))}function k8(t,e,n){n===void 0&&(n=!1);const r=Vn(t),s=f2(t),i=d2(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=yo(o)),[o,yo(o)]}function bI(t){const e=yo(t);return[Lo(t),e,Lo(e)]}function Lo(t){return t.replace(/start|end/g,e=>wI[e])}function EI(t,e,n){const r=["left","right"],s=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?s:r:e?r:s;case"left":case"right":return e?i:o;default:return[]}}function TI(t,e,n,r){const s=Vn(t);let i=EI(lr(t),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),e&&(i=i.concat(i.map(Lo)))),i}function yo(t){return t.replace(/left|right|bottom|top/g,e=>CI[e])}function SI(t){return{top:0,right:0,bottom:0,left:0,...t}}function R8(t){return typeof t!="number"?SI(t):{top:t,right:t,bottom:t,left:t}}function vo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function O8(t,e,n){let{reference:r,floating:s}=t;const i=_o(e),o=f2(e),l=d2(o),a=lr(e),c=i==="y",u=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,d=r[l]/2-s[l]/2;let f;switch(a){case"top":f={x:u,y:r.y-s.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-s.width,y:h};break;default:f={x:r.x,y:r.y}}switch(Vn(e)){case"start":f[o]-=d*(n&&c?-1:1);break;case"end":f[o]+=d*(n&&c?-1:1);break}return f}const AI=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:u,y:h}=O8(c,r,a),d=r,f={},g=0;for(let x=0;x<l.length;x++){const{name:C,fn:_}=l[x],{x:m,y,data:w,reset:S}=await _({x:u,y:h,initialPlacement:r,placement:d,strategy:s,middlewareData:f,rects:c,platform:o,elements:{reference:t,floating:e}});if(u=m!=null?m:u,h=y!=null?y:h,f={...f,[C]:{...f[C],...w}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:s}):S.rects),{x:u,y:h}=O8(c,d,a)),x=-1;continue}}return{x:u,y:h,placement:d,strategy:s,middlewareData:f}};async function xi(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:i,rects:o,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=ds(e,t),g=R8(f),C=l[d?h==="floating"?"reference":"floating":h],_=vo(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(C)))==null||n?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),m=h==="floating"?{...o.floating,x:r,y:s}:o.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},S=vo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:y,strategy:a}):m);return{top:(_.top-S.top+g.top)/w.y,bottom:(S.bottom-_.bottom+g.bottom)/w.y,left:(_.left-S.left+g.left)/w.x,right:(S.right-_.right+g.right)/w.x}}const kI=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:i,platform:o,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=ds(t,e)||{};if(c==null)return{};const h=R8(u),d={x:n,y:r},f=f2(s),g=d2(f),x=await o.getDimensions(c),C=f==="y",_=C?"top":"left",m=C?"bottom":"right",y=C?"clientHeight":"clientWidth",w=i.reference[g]+i.reference[f]-d[f]-i.floating[g],S=d[f]-i.reference[f],I=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let M=I?I[y]:0;(!M||!await(o.isElement==null?void 0:o.isElement(I)))&&(M=l.floating[y]||i.floating[g]);const k=w/2-S/2,q=M/2-x[g]/2-1,j=o0(h[_],q),Y=o0(h[m],q),ve=j,he=M-x[g]-Y,X=M/2-x[g]/2+k,be=h2(ve,X,he),F=!a.arrow&&Vn(s)!=null&&X!=be&&i.reference[g]/2-(X<ve?j:Y)-x[g]/2<0,Q=F?X<ve?X-ve:X-he:0;return{[f]:d[f]+Q,data:{[f]:be,centerOffset:X-be-Q,...F&&{alignmentOffset:Q}},reset:F}}});function RI(t,e,n){return(t?[...n.filter(s=>Vn(s)===t),...n.filter(s=>Vn(s)!==t)]:n.filter(s=>lr(s)===s)).filter(s=>t?Vn(s)===t||(e?Lo(s)!==s:!1):!0)}const OI=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,s;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:d=S8,autoAlignment:f=!0,...g}=ds(t,e),x=h!==void 0||d===S8?RI(h||null,f,d):d,C=await xi(e,g),_=((n=o.autoPlacement)==null?void 0:n.index)||0,m=x[_];if(m==null)return{};const y=k8(m,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==m)return{reset:{placement:x[0]}};const w=[C[lr(m)],C[y[0]],C[y[1]]],S=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:m,overflows:w}],I=x[_+1];if(I)return{data:{index:_+1,overflows:S},reset:{placement:I}};const M=S.map(j=>{const Y=Vn(j.placement);return[j.placement,Y&&u?j.overflows.slice(0,2).reduce((ve,he)=>ve+he,0):j.overflows[0],j.overflows]}).sort((j,Y)=>j[1]-Y[1]),q=((s=M.filter(j=>j[2].slice(0,Vn(j[0])?2:3).every(Y=>Y<=0))[0])==null?void 0:s[0])||M[0][0];return q!==l?{data:{index:_+1,overflows:S},reset:{placement:q}}:{}}}},II=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:x=!0,...C}=ds(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=lr(s),m=lr(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),w=d||(m||!x?[yo(l)]:bI(l));!d&&g!=="none"&&w.push(...TI(l,x,g,y));const S=[l,...w],I=await xi(e,C),M=[];let k=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&M.push(I[_]),h){const ve=k8(s,o,y);M.push(I[ve[0]],I[ve[1]])}if(k=[...k,{placement:s,overflows:M}],!M.every(ve=>ve<=0)){var q,j;const ve=(((q=i.flip)==null?void 0:q.index)||0)+1,he=S[ve];if(he)return{data:{index:ve,overflows:k},reset:{placement:he}};let X=(j=k.filter(be=>be.overflows[0]<=0).sort((be,F)=>be.overflows[1]-F.overflows[1])[0])==null?void 0:j.placement;if(!X)switch(f){case"bestFit":{var Y;const be=(Y=k.map(F=>[F.placement,F.overflows.filter(Q=>Q>0).reduce((Q,de)=>Q+de,0)]).sort((F,Q)=>F[1]-Q[1])[0])==null?void 0:Y[0];be&&(X=be);break}case"initialPlacement":X=l;break}if(s!==X)return{reset:{placement:X}}}return{}}}};function I8(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function M8(t){return E8.some(e=>t[e]>=0)}const MI=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...s}=ds(t,e);switch(r){case"referenceHidden":{const i=await xi(e,{...s,elementContext:"reference"}),o=I8(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:M8(o)}}}case"escaped":{const i=await xi(e,{...s,altBoundary:!0}),o=I8(i,n.floating);return{data:{escapedOffsets:o,escaped:M8(o)}}}default:return{}}}}};async function NI(t,e){const{placement:n,platform:r,elements:s}=t,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=lr(n),l=Vn(n),a=_o(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-1:1,h=ds(e,t);let{mainAxis:d,crossAxis:f,alignmentAxis:g}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof g=="number"&&(f=l==="end"?g*-1:g),a?{x:f*u,y:d*c}:{x:d*c,y:f*u}}const PI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:r}=e,s=await NI(e,t);return{x:n+s.x,y:r+s.y,data:s}}}},FI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:C=>{let{x:_,y:m}=C;return{x:_,y:m}}},...a}=ds(t,e),c={x:n,y:r},u=await xi(e,a),h=_o(lr(s)),d=A8(h);let f=c[d],g=c[h];if(i){const C=d==="y"?"top":"left",_=d==="y"?"bottom":"right",m=f+u[C],y=f-u[_];f=h2(m,f,y)}if(o){const C=h==="y"?"top":"left",_=h==="y"?"bottom":"right",m=g+u[C],y=g-u[_];g=h2(m,g,y)}const x=l.fn({...e,[d]:f,[h]:g});return{...x,data:{x:x.x-n,y:x.y-r}}}}};function Mr(t){return N8(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ar(t){var e;return(e=(N8(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function N8(t){return t instanceof Node||t instanceof ln(t).Node}function cr(t){return t instanceof Element||t instanceof ln(t).Element}function Gn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function P8(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot}function _i(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=pn(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(s)}function DI(t){return["table","td","th"].includes(Mr(t))}function p2(t){const e=g2(),n=pn(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function $I(t){let e=l0(t);for(;Gn(e)&&!Co(e);){if(p2(e))return e;e=l0(e)}return null}function g2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Co(t){return["html","body","#document"].includes(Mr(t))}function pn(t){return ln(t).getComputedStyle(t)}function wo(t){return cr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function l0(t){if(Mr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||P8(t)&&t.host||ar(t);return P8(e)?e.host:e}function F8(t){const e=l0(t);return Co(e)?t.ownerDocument?t.ownerDocument.body:t.body:Gn(e)&&_i(e)?e:F8(e)}function Li(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=F8(t),i=s===((r=t.ownerDocument)==null?void 0:r.body),o=ln(s);return i?e.concat(o,o.visualViewport||[],_i(s)?s:[],o.frameElement&&n?Li(o.frameElement):[]):e.concat(s,Li(s,[],n))}function D8(t){const e=pn(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Gn(t),i=s?t.offsetWidth:n,o=s?t.offsetHeight:r,l=mo(n)!==i||mo(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function m2(t){return cr(t)?t:t.contextElement}function a0(t){const e=m2(t);if(!Gn(e))return Ir(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:i}=D8(e);let o=(i?mo(n.width):n.width)/r,l=(i?mo(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const BI=Ir(0);function $8(t){const e=ln(t);return!g2()||!e.visualViewport?BI:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function HI(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ln(t)?!1:e}function fs(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),i=m2(t);let o=Ir(1);e&&(r?cr(r)&&(o=a0(r)):o=a0(t));const l=HI(i,n,r)?$8(i):Ir(0);let a=(s.left+l.x)/o.x,c=(s.top+l.y)/o.y,u=s.width/o.x,h=s.height/o.y;if(i){const d=ln(i),f=r&&cr(r)?ln(r):r;let g=d.frameElement;for(;g&&r&&f!==d;){const x=a0(g),C=g.getBoundingClientRect(),_=pn(g),m=C.left+(g.clientLeft+parseFloat(_.paddingLeft))*x.x,y=C.top+(g.clientTop+parseFloat(_.paddingTop))*x.y;a*=x.x,c*=x.y,u*=x.x,h*=x.y,a+=m,c+=y,g=ln(g).frameElement}}return vo({width:u,height:h,x:a,y:c})}function UI(t){let{rect:e,offsetParent:n,strategy:r}=t;const s=Gn(n),i=ar(n);if(n===i)return e;let o={scrollLeft:0,scrollTop:0},l=Ir(1);const a=Ir(0);if((s||!s&&r!=="fixed")&&((Mr(n)!=="body"||_i(i))&&(o=wo(n)),Gn(n))){const c=fs(n);l=a0(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-o.scrollLeft*l.x+a.x,y:e.y*l.y-o.scrollTop*l.y+a.y}}function zI(t){return Array.from(t.getClientRects())}function B8(t){return fs(ar(t)).left+wo(t).scrollLeft}function VI(t){const e=ar(t),n=wo(t),r=t.ownerDocument.body,s=hs(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=hs(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+B8(t);const l=-n.scrollTop;return pn(r).direction==="rtl"&&(o+=hs(e.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:l}}function GI(t,e){const n=ln(t),r=ar(t),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,a=0;if(s){i=s.width,o=s.height;const c=g2();(!c||c&&e==="fixed")&&(l=s.offsetLeft,a=s.offsetTop)}return{width:i,height:o,x:l,y:a}}function jI(t,e){const n=fs(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,i=Gn(t)?a0(t):Ir(1),o=t.clientWidth*i.x,l=t.clientHeight*i.y,a=s*i.x,c=r*i.y;return{width:o,height:l,x:a,y:c}}function H8(t,e,n){let r;if(e==="viewport")r=GI(t,n);else if(e==="document")r=VI(ar(t));else if(cr(e))r=jI(e,n);else{const s=$8(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return vo(r)}function U8(t,e){const n=l0(t);return n===e||!cr(n)||Co(n)?!1:pn(n).position==="fixed"||U8(n,e)}function ZI(t,e){const n=e.get(t);if(n)return n;let r=Li(t,[],!1).filter(l=>cr(l)&&Mr(l)!=="body"),s=null;const i=pn(t).position==="fixed";let o=i?l0(t):t;for(;cr(o)&&!Co(o);){const l=pn(o),a=p2(o);!a&&l.position==="fixed"&&(s=null),(i?!a&&!s:!a&&l.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||_i(o)&&!a&&U8(t,o))?r=r.filter(u=>u!==o):s=l,o=l0(o)}return e.set(t,r),r}function WI(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?ZI(e,this._c):[].concat(n),r],l=o[0],a=o.reduce((c,u)=>{const h=H8(e,u,s);return c.top=hs(h.top,c.top),c.right=o0(h.right,c.right),c.bottom=o0(h.bottom,c.bottom),c.left=hs(h.left,c.left),c},H8(e,l,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function qI(t){return D8(t)}function KI(t,e,n){const r=Gn(e),s=ar(e),i=n==="fixed",o=fs(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const a=Ir(0);if(r||!r&&!i)if((Mr(e)!=="body"||_i(s))&&(l=wo(e)),r){const c=fs(e,!0,i,e);a.x=c.x+e.clientLeft,a.y=c.y+e.clientTop}else s&&(a.x=B8(s));return{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}function z8(t,e){return!Gn(t)||pn(t).position==="fixed"?null:e?e(t):t.offsetParent}function V8(t,e){const n=ln(t);if(!Gn(t))return n;let r=z8(t,e);for(;r&&DI(r)&&pn(r).position==="static";)r=z8(r,e);return r&&(Mr(r)==="html"||Mr(r)==="body"&&pn(r).position==="static"&&!p2(r))?n:r||$I(t)||n}const YI=async function(t){let{reference:e,floating:n,strategy:r}=t;const s=this.getOffsetParent||V8,i=this.getDimensions;return{reference:KI(e,await s(n),r),floating:{x:0,y:0,...await i(n)}}};function XI(t){return pn(t).direction==="rtl"}const QI={convertOffsetParentRelativeRectToViewportRelativeRect:UI,getDocumentElement:ar,getClippingRect:WI,getOffsetParent:V8,getElementRects:YI,getClientRects:zI,getDimensions:qI,getScale:a0,isElement:cr,isRTL:XI};function JI(t,e){let n=null,r;const s=ar(t);function i(){clearTimeout(r),n&&n.disconnect(),n=null}function o(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:c,top:u,width:h,height:d}=t.getBoundingClientRect();if(l||e(),!h||!d)return;const f=xo(u),g=xo(s.clientWidth-(c+h)),x=xo(s.clientHeight-(u+d)),C=xo(c),m={rootMargin:-f+"px "+-g+"px "+-x+"px "+-C+"px",threshold:hs(0,o0(1,a))||1};let y=!0;function w(S){const I=S[0].intersectionRatio;if(I!==a){if(!y)return o();I?o(!1,I):r=setTimeout(()=>{o(!1,1e-7)},100)}y=!1}try{n=new IntersectionObserver(w,{...m,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,m)}n.observe(t)}return o(!0),i}function eM(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=m2(t),u=s||i?[...c?Li(c):[],...Li(e)]:[];u.forEach(_=>{s&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const h=c&&l?JI(c,n):null;let d=-1,f=null;o&&(f=new ResizeObserver(_=>{let[m]=_;m&&m.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{f&&f.observe(e)})),n()}),c&&!a&&f.observe(c),f.observe(e));let g,x=a?fs(t):null;a&&C();function C(){const _=fs(t);x&&(_.x!==x.x||_.y!==x.y||_.width!==x.width||_.height!==x.height)&&n(),x=_,g=requestAnimationFrame(C)}return n(),()=>{u.forEach(_=>{s&&_.removeEventListener("scroll",n),i&&_.removeEventListener("resize",n)}),h&&h(),f&&f.disconnect(),f=null,a&&cancelAnimationFrame(g)}}const tM=(t,e,n)=>{const r=new Map,s={platform:QI,...n},i={...s.platform,_c:r};return AI(t,e,{...s,platform:i})};function x2(t){var e;return(e=t==null?void 0:t.$el)!=null?e:t}function nM(t){return{name:"arrow",options:t,fn(e){const n=x2(ge(t.element));return n==null?{}:kI({element:n,padding:t.padding}).fn(e)}}}function rM(t,e,n){n===void 0&&(n={});const r=n.whileElementsMounted,s=D(()=>{var S;return(S=ge(n.open))!=null?S:!0}),i=D(()=>ge(n.middleware)),o=D(()=>{var S;return(S=ge(n.placement))!=null?S:"bottom"}),l=D(()=>{var S;return(S=ge(n.strategy))!=null?S:"absolute"}),a=D(()=>x2(t.value)),c=D(()=>x2(e.value)),u=ne(null),h=ne(null),d=ne(l.value),f=ne(o.value),g=Di({}),x=ne(!1);let C;function _(){a.value==null||c.value==null||tM(a.value,c.value,{middleware:i.value,placement:o.value,strategy:l.value}).then(S=>{u.value=S.x,h.value=S.y,d.value=S.strategy,f.value=S.placement,g.value=S.middlewareData,x.value=!0})}function m(){typeof C=="function"&&(C(),C=void 0)}function y(){if(m(),r===void 0){_();return}if(a.value!=null&&c.value!=null){C=r(a.value,c.value,_);return}}function w(){s.value||(x.value=!1)}return rt([i,o,l],_,{flush:"sync"}),rt([a,c],y,{flush:"sync"}),rt(s,w,{flush:"sync"}),O2()&&I2(m),{x:Dr(u),y:Dr(h),strategy:Dr(d),placement:Dr(f),middlewareData:Dr(g),isPositioned:Dr(x),update:_}}var sM=Object.defineProperty,iM=(t,e,n)=>e in t?sM(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oM=(t,e,n)=>(iM(t,typeof e!="symbol"?e+"":e,n),n);function yi(t){var n;if(t==null||t.value==null)return null;const e=(n=t.value.$el)!=null?n:t.value;return e.$el?yi(ne(e)):e}class lM{constructor(){oM(this,"current",this.detect())}set(e){this.current!==e&&(this.current=e)}reset(){this.set(this.detect())}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}const bo=new lM;function G8(t){return t.reduce((e,n)=>n.type===Pe?e.concat(G8(n.children)):e.concat(n),[])}function aM(t){return t==null?!1:typeof t.type=="string"||typeof t.type=="object"||typeof t.type=="function"}function j8(t){return t=ge(t),t&&(t==null?void 0:t.nodeType)!==Node.COMMENT_NODE}function cM(t){if(bo.isServer)return null;if(t instanceof Node)return t.ownerDocument;if(Object.prototype.hasOwnProperty.call(t,"value")){const e=yi(t);if(e)return e.ownerDocument}return document}function uM(t,e,n,r,s){rt([()=>s.offset,()=>s.flip,()=>s.shift,()=>s.autoPlacement,()=>s.arrow,()=>s.hide,()=>s.middleware],()=>{const i=[];(typeof s.offset=="number"||typeof s.offset=="object"||typeof s.offset=="function")&&i.push(PI(s.offset)),(s.flip===!0||typeof s.flip=="number"||typeof s.flip=="object")&&i.push(II({padding:typeof s.flip=="number"?s.flip:void 0,...typeof s.flip=="object"?s.flip:{}})),(s.shift===!0||typeof s.shift=="number"||typeof s.shift=="object")&&i.push(FI({padding:typeof s.shift=="number"?s.shift:void 0,...typeof s.shift=="object"?s.shift:{}})),(s.autoPlacement===!0||typeof s.autoPlacement=="object")&&i.push(OI(typeof s.autoPlacement=="object"?s.autoPlacement:void 0)),(s.arrow===!0||typeof s.arrow=="number")&&i.push(nM({element:r,padding:s.arrow===!0?0:s.arrow})),i.push(...typeof s.middleware=="function"?s.middleware({referenceEl:e,floatingEl:n}):s.middleware||[]),(s.hide===!0||typeof s.hide=="object")&&i.push(MI(typeof s.hide=="object"?s.hide:void 0)),t.value=i},{immediate:!0})}function hM(t,e,n){let r=()=>{};Ze(()=>{if(t&&bo.isClient&&typeof ResizeObserver<"u"&&e.value&&e.value instanceof Element){const s=new ResizeObserver(([i])=>{n.value=i.borderBoxSize.reduce((o,{inlineSize:l})=>o+l,0)});s.observe(e.value),r=()=>{s.disconnect(),n.value=null}}}),Is(()=>{r()})}const dM=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"origin-right";case"right":return"origin-left";case"top-start":case"right-end":return"origin-bottom-left";case"top-end":case"left-end":return"origin-bottom-right";case"right-start":case"bottom-start":return"origin-top-left";case"left-start":case"bottom-end":return"origin-top-right";default:return""}};function fM(t,e){const n=D(()=>{if(typeof t.originClass=="function")return t.originClass(e.value);if(typeof t.originClass=="string")return t.originClass;if(t.tailwindcssOriginClass)return dM(e.value)}),r=D(()=>t.enter||n.value?`${t.enter||""} ${n.value||""}`:void 0),s=D(()=>t.leave||n.value?`${t.leave||""} ${n.value||""}`:void 0);return{originClassRef:n,enterActiveClassRef:r,leaveActiveClassRef:s}}function Z8(t,e,...n){if(t in e){const s=e[t];return typeof s=="function"?s(...n):s}const r=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Z8),r}const W8=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var q8=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(q8||{});function pM(t,e=0){var n;return t===((n=cM(t))==null?void 0:n.body)?!1:Z8(e,{0(){return t.matches(W8)},1(){let r=t;for(;r!==null;){if(r.matches(W8))return!0;r=r.parentElement}return!1}})}function _2(t,e,n){bo.isServer||Bt(r=>{document.addEventListener(t,e,n),r(()=>document.removeEventListener(t,e,n))})}function gM(t,e,n=D(()=>!0)){function r(i,o){if(!n.value||i.defaultPrevented)return;const l=o(i);if(l===null||!l.getRootNode().contains(l))return;const a=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(t);for(const c of a){if(c===null)continue;const u=c instanceof HTMLElement?c:yi(c);if(u!=null&&u.contains(l)||i.composed&&i.composedPath().includes(u))return}return!pM(l,q8.Loose)&&l.tabIndex!==-1&&i.preventDefault(),e(i,l)}const s=ne(null);_2("mousedown",i=>{var o,l;n.value&&(s.value=((l=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:l[0])||i.target)},!0),_2("click",i=>{s.value&&(r(i,()=>s.value),s.value=null)},!0),_2("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}const mM=Symbol("ArrowContext"),ye={as:{type:[String,Function],default:"template"},floatingAs:{type:[String,Function],default:"div"},show:{type:Boolean,default:null},placement:{type:String,default:"bottom-start"},strategy:{type:String,default:"absolute"},offset:[Number,Function,Object],shift:{type:[Boolean,Number,Object],default:!1},flip:{type:[Boolean,Number,Object],default:!1},arrow:{type:[Boolean,Number],default:!1},autoPlacement:{type:[Boolean,Object],default:!1},hide:{type:[Boolean,Object],default:!1},autoUpdate:{type:[Boolean,Object],default:!0},zIndex:{type:[Number,String],default:9999},transitionName:String,transitionType:String,enter:String,enterFrom:String,enterTo:String,leave:String,leaveFrom:String,leaveTo:String,originClass:[String,Function],tailwindcssOriginClass:{type:Boolean,default:!1},portal:{type:Boolean,default:!1},transform:{type:Boolean,default:!0},adaptiveWidth:{type:Boolean,default:!1},composable:{type:Boolean,default:!1},dialog:{type:Boolean,default:!1},middleware:{type:[Array,Function],default:()=>[]}};function xM(t,e,n,r){const{floatingRef:s,props:i,mounted:o,show:l,x:a,y:c,placement:u,strategy:h,referenceElWidth:d,updateFloating:f}=r,g=Yr({...i,as:i.floatingAs},e),{enterActiveClassRef:x,leaveActiveClassRef:C}=fM(g,u),_={enterActiveClass:x.value,enterFromClass:g.enterFrom,enterToClass:g.enterTo,leaveActiveClass:C.value,leaveFromClass:g.leaveFrom,leaveToClass:g.leaveTo},m={name:g.transitionName,type:g.transitionType,appear:!0,...g.transitionName?{}:_,onBeforeEnter(){l.value=!0},onAfterLeave(){l.value=!1}},y={enter:x.value,enterFrom:g.enterFrom,enterTo:g.enterTo,leave:C.value,leaveFrom:g.leaveFrom,leaveTo:g.leaveTo,onBeforeEnter:m.onBeforeEnter,onAfterLeave:m.onAfterLeave},w={style:{...!g.dialog&&g.transform?{position:h.value,zIndex:g.zIndex,top:"0px",left:"0px",right:"auto",bottom:"auto",transform:`translate(${Math.round(a.value||0)}px,${Math.round(c.value||0)}px)`}:{position:h.value,zIndex:g.zIndex,top:`${c.value||0}px`,left:`${a.value||0}px`},width:g.adaptiveWidth&&typeof d.value=="number"?`${d.value}px`:void 0}};function S(k){return g.portal?Ye(jc,()=>k):k}function I(k){const q=Yr(w,n,g.dialog?{}:{ref:s});return g.as==="template"?k:typeof g.as=="string"?Ye(g.as,q,k):Ye(g.as,q,()=>k)}function M(){function k(){var q;const j=g.as==="template"?Yr(w,n,g.dialog?{}:{ref:s}):null,Y=Qt(t,j);return((q=Y.props)==null?void 0:q.unmount)===!1?(f(),Y):typeof g.show!="boolean"||g.show?Y:xe()}return bo.isServer?o.value&&g.show?k():xe():g.transitionChild?Ye(co,{key:`placement-${u.value}`,...g.dialog?{ref:s}:{},as:"template",...y},k):Ye(Fs,{...g.dialog?{ref:s}:{},...m},k)}return S(I(M()))}function _M(t,e,n,r,s){const i=ne(!1),o=$i(r,"placement"),l=$i(r,"strategy"),a=Di({}),c=ne(null),u=ne(void 0),h=ne(void 0),d=D(()=>yi(e)),f=D(()=>yi(n)),g=D(()=>j8(d)&&j8(f)),{x,y:C,placement:_,strategy:m,middlewareData:y,update:w}=rM(d,f,{placement:o,strategy:l,middleware:a,whileElementsMounted:()=>{}}),S=ne(null);Ze(()=>{i.value=!0}),rt(t,(Y,ve)=>{Y&&!ve?s("show"):!Y&&ve&&s("hide")},{immediate:!0});function I(){g.value&&(w(),s("update"))}rt([o,l,a],I,{flush:"sync"}),uM(a,d,f,c,r),rt(y,()=>{const Y=y.value.arrow;u.value=Y==null?void 0:Y.x,h.value=Y==null?void 0:Y.y}),hM(r.adaptiveWidth,d,S),rt(t,async(Y,ve,he)=>{if(await Yn(),t.value&&g.value&&r.autoUpdate){const X=eM(d.value,f.value,I,typeof r.autoUpdate=="object"?r.autoUpdate:void 0);he(X)}},{flush:"post",immediate:!0});const M=ne(!0);rt(d,()=>{!(d.value instanceof Element)&&g.value&&M.value&&(M.value=!1,window.requestAnimationFrame(()=>{M.value=!0,I()}))},{flush:"sync"});const k={referenceRef:e,placement:_},q={floatingRef:n,props:r,mounted:i,show:t,x,y:C,placement:_,strategy:m,referenceElWidth:S,updateFloating:I},j={ref:c,placement:_,x:u,y:h};return Rt(mM,j),{referenceApi:k,floatingApi:q,arrowApi:j,x,y:C,placement:_,strategy:m,referenceEl:d,floatingEl:f,middlewareData:y,update:I}}({...ye.as});const LM={as:ye.as,show:ye.show,placement:ye.placement,strategy:ye.strategy,offset:ye.offset,shift:ye.shift,flip:ye.flip,arrow:ye.arrow,autoPlacement:ye.autoPlacement,hide:ye.hide,autoUpdate:ye.autoUpdate,zIndex:ye.zIndex,transitionName:ye.transitionName,transitionType:ye.transitionType,enter:ye.enter,enterFrom:ye.enterFrom,enterTo:ye.enterTo,leave:ye.leave,leaveFrom:ye.leaveFrom,leaveTo:ye.leaveTo,originClass:ye.originClass,tailwindcssOriginClass:ye.tailwindcssOriginClass,portal:ye.portal,transform:ye.transform,middleware:ye.middleware},yM={name:"FloatVirtual",inheritAttrs:!1,props:LM,emits:["initial","show","hide","update"],setup(t,{emit:e,slots:n,attrs:r}){var u;const s=ne((u=t.show)!=null?u:!1),i=ne({getBoundingClientRect(){return{x:0,y:0,top:0,left:0,bottom:0,right:0,width:0,height:0}}}),o=ne(null),{floatingApi:l,placement:a}=_M(s,i,o,t,e);rt(()=>t.show,()=>{var h;s.value=(h=t.show)!=null?h:!1});function c(){s.value=!1}return e("initial",{show:s,placement:a,reference:i,floating:o}),()=>{if(!n.default)return;const h={placement:a.value,close:c},[d]=G8(n.default(h)).filter(aM);return xM(d,{as:t.as,show:s.value},r,l)}}};ye.as,ye.placement,ye.strategy,ye.offset,ye.shift,{...ye.flip},ye.arrow,ye.autoPlacement,ye.hide,ye.autoUpdate,ye.zIndex,ye.transitionName,ye.transitionType,ye.enter,ye.enterFrom,ye.enterTo,ye.leave,ye.leaveFrom,ye.leaveTo,ye.originClass,ye.tailwindcssOriginClass,ye.transform,ye.middleware;const vM={class:"flex bg-white shadow-md z-10 rounded-md p-1"},CM=["onClick"],wM=Object.freeze(Object.defineProperty({__proto__:null,default:Ke({__name:"StylePanel",setup(t){const e=ne({value:null}),n=Ln(),r=D(()=>n.getters.onContentChange||(()=>{})),s=D(()=>Sc(n.getters.diagramElement)+yh),i=D(()=>n.getters.code),o=h=>{n.dispatch("updateCode",{code:h}),r.value(h)},l=ne([]);let a;const c=({show:h,reference:d,floating:f})=>{let g,x,C,_,m,y;n.commit("onMessageClick",(w,S)=>{var I;if(g=w.value.start.start,x=Lc(i.value,g),C=lw(i.value,g),_=((I=i.value.slice(x).match(/^\s*/))==null?void 0:I[0])||"",m=C.trim().startsWith("//"),m){const M=C.trimStart().slice(2).trimStart(),k=M.indexOf("["),q=M.indexOf("]");y=Boolean(k===0&&q),y?l.value=M.slice(k+1,q).split(",").map(j=>j.trim()):l.value=[]}d.value={getBoundingClientRect:()=>S.getBoundingClientRect()},e.value=w,h.value=!0}),gM(f,()=>{h.value=!1,l.value=[]},D(()=>h.value)),a=w=>{var S;if(h.value=!1,!!e.value.value)if(m){let I="";if(y){let M;l.value.includes(w)?M=l.value.filter(k=>k!==w):M=[...l.value,w],I=`${_}// [${M.filter(Boolean).join(", ")}] ${C.slice(C.indexOf("]")+1).trimStart()}`}else I=`${_}// [${w}] ${C.slice((((S=C.match(/\/\/*/))==null?void 0:S.index)||-2)+2).trimStart()}`;I.endsWith(`
1019
+ `+l).trim(),this.textStyle={...d,...a,...u},this.classNames=[...f,...c,...h],this.commentStyle={...d,...a},this.messageStyle={...d,...u},this.commentClassNames=[...f,...c],this.messageClassNames=[...f,...h]}}const SO={name:"statement",props:["context","selfCallIndent","number","collapsed","inheritFromOccurrence"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new TO(this.comment)},subStatement:function(){let t=this,e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find(r=>t.context[r]()!==null);return e[n]},collapsedCheck:function(){return this.collapsed&&this.subStatement!="Return"}},components:{Creation:Uk,Interaction:Yk,InteractionAsync:aR,FragmentAlt:RR,FragmentPar:FR,FragmentOpt:YR,FragmentTryCatchFinally:aO,FragmentLoop:GR,Divider:bO,Return:gO}};function AO(t,e,n,r,s,i){return R(),Oe(Ms(i.subStatement),{class:Ee(["text-left text-sm text-skin-message",{hidden:i.collapsedCheck}]),context:n.context,comment:i.comment,commentObj:i.commentObj,selfCallIndent:n.selfCallIndent,number:n.number,inheritFromOccurrence:n.inheritFromOccurrence},null,8,["class","context","comment","commentObj","selfCallIndent","number","inheritFromOccurrence"])}const kO=Ge(SO,[["render",AO]]),RO={class:"block"},OO=Ke({__name:"Block",props:{context:null,selfCallIndent:null,number:null,incremental:{type:Boolean},collapsed:{type:Boolean},inheritFromOccurrence:{type:Boolean}},setup(t){const e=t,n=D(()=>{var s;return((s=e.context)==null?void 0:s.stat())||[]}),r=s=>e.number?e.incremental?o8(e.number,s):`${e.number}.${s+1}`:String(s+1);return(s,i)=>(R(),H("div",RO,[(R(!0),H(Pe,null,xn(ge(n),(o,l)=>(R(),H("div",{class:"statement-container mt-1",key:l},[Z(kO,{inheritFromOccurrence:t.inheritFromOccurrence,context:o,collapsed:t.collapsed,selfCallIndent:t.selfCallIndent,number:r(l)},null,8,["inheritFromOccurrence","context","collapsed","selfCallIndent","number"])]))),128))]))}});function IO(t){const e=Math.floor(t/1e3),n=Math.floor(t%1e3),r=Math.floor((t%1e3-n)*1e3);return e+"s "+n+"ms "+r+"\u03BCs"}const MO=(t,e)=>{const r=h8()-e;return console.debug(t+" cost: "+IO(r)),r},h8=()=>performance.now(),NO=h0.child({name:"core"});class PO{constructor(e,n=!1){J(this,"el");J(this,"_code");J(this,"_theme");J(this,"store");J(this,"app");J(this,"_currentTimeout");J(this,"_lastRenderingCostMilliseconds",0);J(this,"initialRender",!0);this.el=e,this.store=L4(Eh()),this.app=F0(n?Ic:R6),this.app.component("Comment",fi),this.app.component("Block",OO),this.app.use(this.store),this.app.mount(this.el),this.addPortalRootElement()}addPortalRootElement(){const e=document.createElement("div");e.id="headlessui-portal-root",e.className="zenuml",e.append(document.createElement("div")),document.body.append(e)}async render(e,n){return this._currentTimeout&&(console.debug("rendering clearTimeout"),clearTimeout(this._currentTimeout)),NO.debug("rendering",e,n),this._code=e||this._code,this._theme=(n==null?void 0:n.theme)||this._theme,this.store.state.stickyOffset=(n==null?void 0:n.stickyOffset)||0,this.store.state.theme=this._theme||"default",this.store.state.mode=(n==null?void 0:n.mode)||sr.Dynamic,this.initialRender?(this.initialRender=!1,await this.doRender(n)):this._currentTimeout=setTimeout(async()=>await this.doRender(n),this.calculateDebounceMilliseconds()),this}async doRender(e){console.debug("rendering start");const n=h8();dw(),this.store.commit("onContentChange",(e==null?void 0:e.onContentChange)||(()=>{})),this.store.commit("onThemeChange",(e==null?void 0:e.onThemeChange)||(()=>{})),(e==null?void 0:e.enableMultiTheme)!==void 0&&(this.store.state.enableMultiTheme=e==null?void 0:e.enableMultiTheme),await this.store.dispatch("updateCode",{code:this._code}),this._lastRenderingCostMilliseconds=MO("rendering end",n)}calculateDebounceMilliseconds(){let e=this._lastRenderingCostMilliseconds;return e>2e3&&(e=2e3),console.debug("rendering debounce: "+e+"ms"),e}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.el.children[0].__vue__.toPng()}}const FO={createApp:F0,createStore:L4,Store:Eh,SeqDiagram:Ic,DiagramFrame:R6},DO={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24"},$O=[T("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 18 6M6 6l12 12"},null,-1)];function d8(t,e){return R(),H("svg",DO,$O)}const BO=Object.freeze(Object.defineProperty({__proto__:null,render:d8,default:{render:d8}},Symbol.toStringTag,{value:"Module"})),HO={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round",viewBox:"0 0 24 24"},UO=[T("path",{d:"m14 10 7-7M20 10h-6V4M3 21l7-7M4 14h6v6"},null,-1)];function f8(t,e){return R(),H("svg",HO,UO)}const zO=Object.freeze(Object.defineProperty({__proto__:null,render:f8,default:{render:f8}},Symbol.toStringTag,{value:"Module"})),VO={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},GO=[T("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},[T("path",{d:"M3 17.3V21h3.7","data-name":"Right"}),T("path",{d:"m10 14-6.2 6.2M14 10l6.2-6.2"}),T("path",{d:"M21 6.7V3h-3.7","data-name":"Right"})],-1)];function p8(t,e){return R(),H("svg",VO,GO)}const jO=Object.freeze(Object.defineProperty({__proto__:null,render:p8,default:{render:p8}},Symbol.toStringTag,{value:"Module"})),ZO={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},WO=[T("path",{d:"M6 3v12"},null,-1),T("circle",{cx:"18",cy:"6",r:"3"},null,-1),T("circle",{cx:"6",cy:"18",r:"3"},null,-1),T("path",{d:"M18 9a9 9 0 0 1-9 9"},null,-1)];function g8(t,e){return R(),H("svg",ZO,WO)}const qO=Object.freeze(Object.defineProperty({__proto__:null,render:g8,default:{render:g8}},Symbol.toStringTag,{value:"Module"})),KO={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"24",class:"arrow text-skin-message-arrow"},YO=[T("path",{d:"M0 2h28v13H14",class:"line stroke-current fill-none stroke-2"},null,-1),T("path",{d:"M18 9 8 15l10 6",class:"head stroke-current fill-current stroke-2"},null,-1)];function m8(t,e){return R(),H("svg",KO,YO)}const XO=Object.freeze(Object.defineProperty({__proto__:null,render:m8,default:{render:m8}},Symbol.toStringTag,{value:"Module"})),QO={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",viewBox:"0 0 20 20"},JO=[T("circle",{cx:"10",cy:"10",r:"10",fill:"#000","fill-opacity":".1"},null,-1)];function x8(t,e){return R(),H("svg",QO,JO)}const eI=Object.freeze(Object.defineProperty({__proto__:null,render:x8,default:{render:x8}},Symbol.toStringTag,{value:"Module"})),tI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 100 100"},nI=[T("path",{fill:"#000",d:"M21.886 32.09V67H17.66V36.523h-.204l-8.523 5.659v-4.296l8.727-5.795h4.227Zm11.662 35.126a2.338 2.338 0 0 1-1.714-.715 2.338 2.338 0 0 1-.715-1.714c0-.666.239-1.237.715-1.714a2.338 2.338 0 0 1 1.714-.715c.666 0 1.237.238 1.714.715.477.477.715 1.048.715 1.714 0 .44-.112.846-.337 1.214a2.52 2.52 0 0 1-.877.891c-.36.216-.765.324-1.215.324Zm8.24-.216v-2.557l9.603-10.511a66.703 66.703 0 0 0 2.784-3.21c.73-.919 1.269-1.78 1.62-2.586a6.26 6.26 0 0 0 .54-2.556c0-1.023-.247-1.909-.74-2.657-.482-.748-1.145-1.326-1.988-1.733-.843-.407-1.79-.61-2.841-.61-1.117 0-2.093.232-2.926.696a4.792 4.792 0 0 0-1.918 1.917c-.445.824-.667 1.79-.667 2.898h-3.353c0-1.705.393-3.2 1.18-4.489a8.192 8.192 0 0 1 3.21-3.011c1.363-.72 2.892-1.08 4.588-1.08 1.704 0 3.215.36 4.53 1.08 1.317.72 2.35 1.69 3.098 2.912.748 1.221 1.122 2.58 1.122 4.077 0 1.07-.195 2.116-.583 3.139-.379 1.013-1.041 2.145-1.988 3.395-.938 1.24-2.24 2.755-3.907 4.545l-6.534 6.989v.227h13.523V67H41.789Zm26.444.216a2.338 2.338 0 0 1-1.714-.715 2.338 2.338 0 0 1-.715-1.714c0-.666.238-1.237.715-1.714a2.338 2.338 0 0 1 1.714-.715c.666 0 1.237.238 1.714.715.477.477.715 1.048.715 1.714 0 .44-.113.846-.338 1.214a2.52 2.52 0 0 1-.877.891c-.36.216-.764.324-1.214.324Zm15.502.102c-1.5 0-2.837-.257-4.012-.772-1.166-.516-2.094-1.232-2.784-2.148-.682-.924-1.053-1.996-1.113-3.216h2.863c.06.75.318 1.398.773 1.943.454.538 1.05.954 1.784 1.25.735.296 1.55.443 2.443.443 1 0 1.887-.174 2.66-.522.772-.349 1.378-.834 1.817-1.455.44-.621.66-1.341.66-2.16 0-.855-.213-1.609-.637-2.26-.424-.66-1.045-1.175-1.863-1.546-.819-.371-1.819-.557-3-.557H81.46v-2.5h1.864c.924 0 1.734-.166 2.431-.5.705-.333 1.254-.803 1.648-1.409.402-.606.602-1.318.602-2.136 0-.788-.174-1.474-.522-2.057a3.575 3.575 0 0 0-1.478-1.364c-.628-.325-1.37-.488-2.227-.488-.803 0-1.56.147-2.273.443a4.234 4.234 0 0 0-1.727 1.261c-.447.546-.69 1.205-.727 1.977h-2.727c.045-1.22.412-2.287 1.102-3.204.69-.924 1.59-1.644 2.704-2.16 1.122-.514 2.353-.772 3.694-.772 1.439 0 2.674.292 3.704.875 1.03.576 1.822 1.337 2.375 2.284.553.947.83 1.97.83 3.068 0 1.311-.345 2.428-1.034 3.353-.682.924-1.61 1.564-2.785 1.92v.182c1.47.242 2.618.867 3.444 1.875.825 1 1.238 2.239 1.238 3.716 0 1.265-.344 2.401-1.034 3.409-.682 1-1.613 1.788-2.795 2.364-1.182.575-2.527.863-4.034.863Z"},null,-1),T("path",{fill:"#000",d:"M21.886 32.09h1v-1h-1v1Zm0 34.91v1h1v-1h-1Zm-4.227 0h-1v1h1v-1Zm0-30.477h1v-1h-1v1Zm-.204 0v-1h-.302l-.252.167.553.833Zm-8.523 5.659h-1v1.864l1.553-1.031-.553-.833Zm0-4.296-.553-.833-.447.297v.536h1Zm8.727-5.795v-1h-.302l-.251.167.553.833Zm3.227 0V67h2V32.09h-2Zm1 33.909H17.66v2h4.227v-2Zm-3.227 1V36.523h-2V67h2Zm-1-31.477h-.204v2h.204v-2Zm-.758.167L8.38 41.349l1.106 1.666 8.523-5.66L16.9 35.69Zm-6.97 6.492v-4.296h-2v4.296h2Zm-.446-3.463 8.727-5.795-1.106-1.666-8.727 5.795 1.106 1.666Zm8.174-5.628h4.227v-2H17.66v2ZM31.834 66.5l.708-.707-.708.707Zm0-3.428-.707-.707.707.707Zm3.428 0 .707-.707-.707.707Zm.378 2.928-.854-.52-.005.008-.004.007.863.505Zm-.877.891.514.858.006-.004-.52-.854Zm-1.215-.676a1.34 1.34 0 0 1-1.006-.422l-1.415 1.414a3.337 3.337 0 0 0 2.421 1.008v-2Zm-1.006-.422a1.34 1.34 0 0 1-.423-1.007h-2c0 .935.347 1.76 1.008 2.42l1.415-1.413Zm-.423-1.007c0-.397.13-.715.423-1.007l-1.415-1.414a3.337 3.337 0 0 0-1.008 2.42h2Zm.423-1.007a1.34 1.34 0 0 1 1.006-.422v-2c-.934 0-1.759.346-2.42 1.008l1.414 1.414Zm1.006-.422c.397 0 .715.13 1.007.422l1.414-1.414a3.337 3.337 0 0 0-2.42-1.008v2Zm1.007.422c.292.292.422.61.422 1.007h2c0-.935-.346-1.76-1.008-2.421l-1.414 1.414Zm.422 1.007c0 .261-.064.485-.19.694l1.707 1.041a3.288 3.288 0 0 0 .483-1.735h-2Zm-.2.71a1.52 1.52 0 0 1-.535.541l1.041 1.708c.509-.31.92-.726 1.22-1.24l-1.726-1.01Zm-.529.538a1.317 1.317 0 0 1-.7.18v2c.618 0 1.203-.15 1.73-.466l-1.03-1.714Zm7.54.965h-1v1h1v-1Zm0-2.557-.738-.674-.261.286v.388h1Zm9.603-10.511-.738-.675.738.675Zm2.784-3.21.78.625.003-.004-.783-.621Zm1.62-2.586-.915-.404-.003.005.917.4Zm-.2-5.213-.84.543.005.007.836-.55Zm-1.988-1.733.435-.9-.435.9Zm-5.767.086.483.875.003-.002-.486-.873Zm-1.918 1.917-.875-.483-.005.008.88.475Zm-.667 2.898v1h1v-1h-1Zm-3.353 0h-1v1h1v-1Zm1.18-4.489.853.521-.854-.52Zm3.21-3.011-.467-.885-.003.002.47.883Zm9.119 0 .48-.877-.48.877Zm3.096 2.912-.852.522.852-.522Zm.54 7.216-.935-.355-.002.005.937.35Zm-1.988 3.395-.797-.604h-.001l.798.604Zm-3.907 4.545.73.683.002-.001-.732-.682Zm-6.534 6.989-.73-.683-.27.288v.395h1Zm0 .227h-1v1h1v-1Zm13.523 0h1v-1h-1v1Zm0 3.125v1h1v-1h-1Zm-17.352 0v-2.557h-2V67h2Zm-.262-1.882 9.602-10.512-1.476-1.349L41.05 63.77l1.477 1.349Zm9.602-10.511a67.671 67.671 0 0 0 2.826-3.26l-1.56-1.251a65.769 65.769 0 0 1-2.742 3.16l1.476 1.351Zm2.83-3.264c.766-.965 1.358-1.901 1.752-2.808l-1.834-.798c-.306.704-.793 1.491-1.485 2.363l1.566 1.243Zm1.75-2.803a7.259 7.259 0 0 0 .625-2.96h-2c0 .75-.15 1.465-.454 2.152l1.83.809Zm.625-2.96c0-1.19-.289-2.273-.903-3.206l-1.67 1.1c.37.562.573 1.25.573 2.106h2Zm-.898-3.2a5.792 5.792 0 0 0-2.394-2.09l-.87 1.8c.686.332 1.205.79 1.583 1.376l1.68-1.085Zm-2.394-2.09c-.994-.48-2.093-.71-3.276-.71v2c.92 0 1.715.177 2.406.51l.87-1.8Zm-3.276-.71c-1.258 0-2.407.262-3.413.822l.973 1.747c.661-.368 1.463-.57 2.44-.57v-2Zm-3.41.82a5.791 5.791 0 0 0-2.31 2.31l1.752.966a3.792 3.792 0 0 1 1.525-1.525l-.966-1.751Zm-2.314 2.318c-.537.994-.787 2.13-.787 3.373h2c0-.973.194-1.77.547-2.422l-1.76-.951Zm.213 2.373h-3.353v2h3.353v-2Zm-2.353 1c0-1.545.355-2.856 1.033-3.968l-1.707-1.042c-.894 1.465-1.326 3.146-1.326 5.01h2Zm1.033-3.968a7.193 7.193 0 0 1 2.826-2.65l-.939-1.765a9.192 9.192 0 0 0-3.594 3.373l1.707 1.042Zm2.823-2.648c1.206-.636 2.573-.964 4.122-.964v-2c-1.842 0-3.534.393-5.055 1.195l.933 1.77Zm4.122-.964c1.56 0 2.901.328 4.051.957l.96-1.755c-1.483-.81-3.162-1.202-5.011-1.202v2Zm4.051.957c1.17.64 2.071 1.492 2.724 2.557l1.705-1.044c-.843-1.378-2.007-2.468-3.47-3.267l-.959 1.754Zm2.724 2.557c.647 1.057.975 2.234.975 3.555h2c0-1.672-.421-3.213-1.27-4.6l-1.705 1.045Zm.975 3.555c0 .946-.172 1.872-.518 2.784l1.87.71c.43-1.134.648-2.3.648-3.494h-2Zm-.52 2.789c-.333.891-.936 1.937-1.849 3.14l1.595 1.209c.981-1.296 1.704-2.514 2.128-3.65l-1.873-.7Zm-1.85 3.142c-.908 1.202-2.185 2.69-3.84 4.467l1.464 1.363c1.679-1.803 3.006-3.346 3.972-4.624l-1.595-1.206Zm-3.838 4.465-6.534 6.989 1.46 1.366 6.535-6.989-1.461-1.366Zm-6.804 7.672v.227h2v-.227h-2Zm1 1.227h13.523v-2H46.618v2Zm12.523-1V67h2v-3.125h-2Zm1 2.125H41.789v2H60.14v-2Zm6.377.5.707-.706-.707.707Zm0-3.427-.707-.707.707.707Zm3.428 0 .707-.707-.707.707Zm.377 2.928-.853-.52-.005.008-.005.007.864.505Zm-.877.891.515.858.006-.004-.52-.854Zm-1.214-.676a1.34 1.34 0 0 1-1.007-.422l-1.414 1.414a3.337 3.337 0 0 0 2.42 1.008v-2Zm-1.007-.422a1.34 1.34 0 0 1-.422-1.007h-2c0 .935.346 1.76 1.008 2.42l1.414-1.413Zm-.422-1.007c0-.397.13-.715.422-1.007l-1.414-1.414a3.337 3.337 0 0 0-1.008 2.42h2Zm.422-1.007a1.34 1.34 0 0 1 1.007-.422v-2c-.935 0-1.76.346-2.421 1.008l1.414 1.414Zm1.007-.422c.397 0 .715.13 1.007.422l1.414-1.414a3.337 3.337 0 0 0-2.421-1.008v2Zm1.007.422c.291.292.422.61.422 1.007h2c0-.935-.347-1.76-1.008-2.421l-1.414 1.414Zm.422 1.007c0 .261-.064.485-.191.694l1.707 1.041a3.288 3.288 0 0 0 .484-1.735h-2Zm-.2.71a1.52 1.52 0 0 1-.535.541l1.041 1.708a3.52 3.52 0 0 0 1.22-1.24l-1.727-1.01Zm-.53.538a1.317 1.317 0 0 1-.7.18v2c.618 0 1.203-.15 1.73-.466l-1.03-1.714Zm10.791.51-.404.915.003.001.401-.915Zm-2.784-2.147-.805.593.006.008.8-.601Zm-1.113-3.216v-1h-1.051l.052 1.05.999-.05Zm2.863 0 .997-.08-.074-.92h-.923v1Zm.773 1.943-.768.64.004.005.764-.645Zm1.784 1.25-.373.928.373-.928Zm6.92-1.534-.816-.578.816.578Zm.023-4.42-.84.54.002.005.838-.546Zm-1.863-1.546-.414.91.414-.91Zm-4.864-.557h-1v1h1v-1Zm0-2.5v-1h-1v1h1Zm4.295-.5-.427-.904-.004.002.431.902Zm1.648-1.409-.834-.552-.004.007.838.545Zm.08-4.193.858-.513-.858.513Zm-1.478-1.364-.46.888.005.002.455-.89Zm-4.5-.045.379.925.005-.002-.384-.923Zm-1.727 1.261.774.634.004-.005-.778-.629Zm-.727 1.977v1h.952l.047-.95-1-.05Zm-2.727 0-1-.037-.038 1.037h1.038v-1Zm1.102-3.204.8.601.001-.003-.801-.598Zm2.704-2.16-.417-.908-.002.001.42.908Zm7.398.103-.493.87.005.003.488-.873Zm2.375 2.284-.863.505.863-.505Zm-.204 6.42-.802-.597-.003.004.805.594Zm-2.785 1.921-.29-.957-.71.215v.742h1Zm0 .182h-1v.849l.838.138.162-.987Zm3.444 1.875-.774.634.003.003.77-.637Zm.204 7.125-.825-.565-.001.002.826.563Zm-2.795 2.364.438.898-.438-.898Zm-4.034-.137c-1.385 0-2.582-.237-3.61-.688l-.803 1.831c1.32.58 2.798.857 4.413.857v-2Zm-3.608-.687c-1.028-.454-1.813-1.07-2.389-1.834l-1.598 1.202c.803 1.068 1.874 1.885 3.18 2.461l.807-1.83Zm-2.383-1.827c-.558-.756-.868-1.636-.92-2.672l-1.997.1c.07 1.403.501 2.667 1.308 3.76l1.609-1.188Zm-1.918-1.622h2.863v-2h-2.863v2Zm1.867-.92c.076.943.406 1.79 1 2.503l1.537-1.28c-.314-.377-.499-.826-.544-1.384l-1.993.161Zm1.005 2.508c.572.678 1.308 1.184 2.175 1.533l.746-1.856c-.603-.242-1.056-.569-1.393-.968l-1.528 1.291Zm2.175 1.533c.868.349 1.81.515 2.816.515v-2c-.782 0-1.468-.129-2.07-.37l-.746 1.855Zm2.816.515c1.117 0 2.147-.195 3.07-.611l-.822-1.823c-.622.28-1.364.434-2.248.434v2Zm3.07-.611c.917-.413 1.67-1.006 2.224-1.789l-1.633-1.155c-.325.46-.784.837-1.413 1.12l.822 1.824Zm2.224-1.789c.568-.803.843-1.728.843-2.736h-2c0 .628-.165 1.142-.476 1.581l1.633 1.155Zm.843-2.736c0-1.03-.258-1.977-.799-2.807l-1.676 1.091c.308.473.475 1.033.475 1.716h2Zm-.796-2.803c-.543-.843-1.324-1.476-2.291-1.915l-.827 1.822c.67.303 1.13.701 1.436 1.176l1.682-1.083Zm-2.291-1.915c-.982-.445-2.132-.646-3.413-.646v2c1.082 0 1.932.17 2.586.468l.827-1.822Zm-3.413-.646H81.46v2h1.864v-2Zm-.864 1v-2.5h-2v2.5h2Zm-1-1.5h1.864v-2H81.46v2Zm1.864 0c1.044 0 2.007-.188 2.863-.598l-.863-1.804c-.538.258-1.197.402-2 .402v2Zm2.86-.596c.858-.406 1.555-.994 2.058-1.768l-1.677-1.09c-.285.439-.687.79-1.237 1.05l.855 1.808Zm2.053-1.76c.523-.79.768-1.7.768-2.69h-2c0 .648-.156 1.163-.436 1.585l1.668 1.104Zm.768-2.69c0-.938-.209-1.807-.664-2.569l-1.717 1.026c.242.405.381.907.381 1.544h2Zm-.664-2.569a4.575 4.575 0 0 0-1.88-1.74l-.911 1.78c.478.244.827.572 1.074.986l1.717-1.026Zm-1.876-1.739c-.797-.413-1.704-.6-2.687-.6v2c.73 0 1.308.138 1.767.376l.92-1.776Zm-2.687-.6a6.87 6.87 0 0 0-2.656.52l.767 1.846a4.87 4.87 0 0 1 1.89-.366v-2Zm-2.65.517A5.232 5.232 0 0 0 79 46.94l1.556 1.257a3.234 3.234 0 0 1 1.328-.965l-.757-1.85Zm-2.123 1.553c-.596.728-.906 1.598-.953 2.563l1.998.097c.028-.58.204-1.029.502-1.392l-1.547-1.268Zm.046 1.611h-2.727v2h2.727v-2Zm-1.728 1.038c.038-1.03.343-1.898.902-2.641l-1.598-1.202c-.82 1.09-1.25 2.358-1.303 3.768l1.999.075Zm.904-2.644c.584-.782 1.35-1.4 2.323-1.85l-.84-1.815c-1.254.58-2.29 1.403-3.086 2.469l1.603 1.196Zm2.32-1.849c.98-.45 2.067-.68 3.277-.68v-2c-1.473 0-2.848.283-4.111.863l.835 1.817Zm3.277-.68c1.303 0 2.36.263 3.211.744l.986-1.74c-1.21-.685-2.622-1.005-4.197-1.005v2Zm3.216.747c.887.496 1.544 1.135 2 1.916l1.727-1.01c-.65-1.112-1.577-1.996-2.751-2.652l-.976 1.746Zm2 1.916a4.98 4.98 0 0 1 .693 2.563h2a6.98 6.98 0 0 0-.966-3.572l-1.727 1.008Zm.693 2.563c0 1.126-.293 2.026-.836 2.755l1.603 1.196c.836-1.12 1.233-2.455 1.233-3.95h-2Zm-.84 2.759c-.544.739-1.286 1.259-2.269 1.557l.58 1.914c1.366-.414 2.48-1.174 3.3-2.284l-1.61-1.187Zm-2.979 2.514v.182h2v-.182h-2Zm.838 1.169c1.266.208 2.182.729 2.832 1.522l1.547-1.268c-1.002-1.222-2.381-1.952-4.054-2.228l-.325 1.974Zm2.835 1.525c.657.796 1.01 1.8 1.01 3.079h2c0-1.676-.474-3.149-1.468-4.353l-1.542 1.274Zm1.01 3.079c0 1.071-.289 2.01-.86 2.844l1.65 1.13c.808-1.18 1.21-2.515 1.21-3.974h-2Zm-.861 2.846c-.575.844-1.368 1.521-2.407 2.028l.876 1.797c1.324-.645 2.395-1.543 3.183-2.699l-1.652-1.126Zm-2.407 2.028c-1.027.5-2.218.762-3.596.762v2c1.637 0 3.135-.313 4.472-.965l-.876-1.797Z"},null,-1)];function _8(t,e){return R(),H("svg",tI,nI)}const rI=Object.freeze(Object.defineProperty({__proto__:null,render:_8,default:{render:_8}},Symbol.toStringTag,{value:"Module"})),sI={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},iI=[T("path",{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"},null,-1),T("path",{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"},null,-1)];function L8(t,e){return R(),H("svg",sI,iI)}const oI=Object.freeze(Object.defineProperty({__proto__:null,render:L8,default:{render:L8}},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"none",viewBox:"0 0 20 20"},aI=[T("circle",{cx:"10",cy:"10",r:"10",fill:"#4f8cf7","fill-opacity":".2",class:"text-base"},null,-1),T("path",{stroke:"#4f8cf7","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m6 10 3 3 5-5"},null,-1)];function y8(t,e){return R(),H("svg",lI,aI)}const cI=Object.freeze(Object.defineProperty({__proto__:null,render:y8,default:{render:y8}},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",class:"grayscale h-4 w-4",viewBox:"0 0 1024 1024"},hI=[T("path",{fill:"currentColor",d:"M42.667 512C42.667 251.733 251.733 42.667 512 42.667s469.333 187.733 469.333 422.4c0 72.533-29.866 145.066-81.066 200.533-51.2 51.2-123.734 81.067-200.534 81.067H614.4c-12.8 0-25.6 12.8-29.867 25.6 0 8.533 4.267 17.066 8.534 21.333 21.333 21.333 29.866 46.933 29.866 76.8 0 64-51.2 110.933-115.2 115.2-256-4.267-465.066-213.333-465.066-473.6zM128 512c0 213.333 170.667 384 384 384 17.067 0 29.867-12.8 29.867-29.867 0-4.266 0-8.533-4.267-12.8l-4.267-4.266c-17.066-21.334-25.6-46.934-29.866-76.8 0-64 51.2-110.934 115.2-110.934H704c51.2 0 102.4-21.333 136.533-55.466 38.4-38.4 55.467-85.334 55.467-136.534C896 281.6 725.333 128 512 128S128 298.667 128 512zm593.067 21.333c-21.334-21.333-25.6-51.2-17.067-76.8 12.8-25.6 38.4-42.666 64-42.666 38.4 0 68.267 34.133 72.533 72.533 0 29.867-17.066 55.467-42.666 64-8.534 4.267-17.067 4.267-25.6 4.267-17.067 0-38.4-8.534-51.2-21.334zm-520.534 0c-21.333-21.333-25.6-51.2-17.066-76.8 12.8-25.6 38.4-42.666 64-42.666 38.4 0 68.266 34.133 72.533 72.533 0 29.867-17.067 55.467-42.667 64-8.533 4.267-17.066 4.267-25.6 4.267-21.333 0-38.4-8.534-51.2-21.334zM580.267 345.6c-21.334-21.333-25.6-51.2-17.067-76.8 12.8-25.6 38.4-42.667 64-42.667 38.4 0 68.267 34.134 72.533 72.534 0 29.866-17.066 55.466-42.666 64-8.534 4.266-17.067 4.266-25.6 4.266-21.334 0-38.4-8.533-51.2-21.333zm-238.934 0c-17.066-21.333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.667 64-42.667 38.4 0 68.267 34.134 72.534 72.534 0 29.866-17.067 55.466-42.667 64l-29.867 4.266c-17.066 0-34.133-8.533-51.2-21.333z"},null,-1)];function v8(t,e){return R(),H("svg",uI,hI)}const dI=Object.freeze(Object.defineProperty({__proto__:null,render:v8,default:{render:v8}},Symbol.toStringTag,{value:"Module"})),fI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pI=[T("path",{fill:"currentColor",d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512zm0-938.667C276.352 85.333 85.333 276.352 85.333 512S276.352 938.667 512 938.667 938.667 747.648 938.667 512A426.667 426.667 0 0 0 512 85.333zM512 768a42.667 42.667 0 0 1-42.368-42.667V469.76a42.368 42.368 0 1 1 84.693 0v255.573A42.41 42.41 0 0 1 512 768zm0-426.667a42.325 42.325 0 1 1-.085-84.65 42.325 42.325 0 0 1 .085 84.65zm42.325-42.666z"},null,-1)];function C8(t,e){return R(),H("svg",fI,pI)}const gI=Object.freeze(Object.defineProperty({__proto__:null,render:C8,default:{render:C8}},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xI=[T("path",{fill:"currentColor",d:"M945.067 898.133 755.2 708.267c55.467-64 87.467-149.334 87.467-241.067 0-204.8-168.534-373.333-373.334-373.333S96 264.533 96 469.333s168.533 373.334 373.333 373.334c91.734 0 174.934-34.134 241.067-87.467l189.867 189.867c6.4 6.4 14.933 8.533 23.466 8.533s17.067-2.133 23.467-8.533c8.533-12.8 8.533-34.134-2.133-46.934zM469.333 778.667C298.667 778.667 160 640 160 469.333S298.667 160 469.333 160s309.334 138.667 309.334 309.333S640 778.667 469.333 778.667z"},null,-1),T("path",{fill:"currentColor",d:"M597.333 437.333h-96v-96c0-17.066-14.933-32-32-32s-32 14.934-32 32v96h-96c-17.066 0-32 14.934-32 32s14.934 32 32 32h96v96c0 17.067 14.934 32 32 32s32-14.933 32-32v-96h96c17.067 0 32-14.933 32-32s-14.933-32-32-32z"},null,-1)];function w8(t,e){return R(),H("svg",mI,xI)}const _I=Object.freeze(Object.defineProperty({__proto__:null,render:w8,default:{render:w8}},Symbol.toStringTag,{value:"Module"})),LI={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yI=[T("path",{fill:"currentColor",d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"},null,-1),T("path",{fill:"currentColor",d:"M921 867 775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"},null,-1)];function b8(t,e){return R(),H("svg",LI,yI)}const vI=Object.freeze(Object.defineProperty({__proto__:null,render:b8,default:{render:b8}},Symbol.toStringTag,{value:"Module"})),E8=["top","right","bottom","left"],T8=["start","end"],S8=E8.reduce((t,e)=>t.concat(e,e+"-"+T8[0],e+"-"+T8[1]),[]),o0=Math.min,hs=Math.max,mo=Math.round,xo=Math.floor,Ir=t=>({x:t,y:t}),CI={left:"right",right:"left",bottom:"top",top:"bottom"},wI={start:"end",end:"start"};function h2(t,e,n){return hs(t,o0(e,n))}function ds(t,e){return typeof t=="function"?t(e):t}function lr(t){return t.split("-")[0]}function Vn(t){return t.split("-")[1]}function A8(t){return t==="x"?"y":"x"}function d2(t){return t==="y"?"height":"width"}function _o(t){return["top","bottom"].includes(lr(t))?"y":"x"}function f2(t){return A8(_o(t))}function k8(t,e,n){n===void 0&&(n=!1);const r=Vn(t),s=f2(t),i=d2(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=yo(o)),[o,yo(o)]}function bI(t){const e=yo(t);return[Lo(t),e,Lo(e)]}function Lo(t){return t.replace(/start|end/g,e=>wI[e])}function EI(t,e,n){const r=["left","right"],s=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?s:r:e?r:s;case"left":case"right":return e?i:o;default:return[]}}function TI(t,e,n,r){const s=Vn(t);let i=EI(lr(t),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),e&&(i=i.concat(i.map(Lo)))),i}function yo(t){return t.replace(/left|right|bottom|top/g,e=>CI[e])}function SI(t){return{top:0,right:0,bottom:0,left:0,...t}}function R8(t){return typeof t!="number"?SI(t):{top:t,right:t,bottom:t,left:t}}function vo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function O8(t,e,n){let{reference:r,floating:s}=t;const i=_o(e),o=f2(e),l=d2(o),a=lr(e),c=i==="y",u=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,d=r[l]/2-s[l]/2;let f;switch(a){case"top":f={x:u,y:r.y-s.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-s.width,y:h};break;default:f={x:r.x,y:r.y}}switch(Vn(e)){case"start":f[o]-=d*(n&&c?-1:1);break;case"end":f[o]+=d*(n&&c?-1:1);break}return f}const AI=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),a=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:u,y:h}=O8(c,r,a),d=r,f={},g=0;for(let x=0;x<l.length;x++){const{name:C,fn:_}=l[x],{x:m,y,data:w,reset:S}=await _({x:u,y:h,initialPlacement:r,placement:d,strategy:s,middlewareData:f,rects:c,platform:o,elements:{reference:t,floating:e}});if(u=m!=null?m:u,h=y!=null?y:h,f={...f,[C]:{...f[C],...w}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:s}):S.rects),{x:u,y:h}=O8(c,d,a)),x=-1;continue}}return{x:u,y:h,placement:d,strategy:s,middlewareData:f}};async function xi(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:i,rects:o,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=ds(e,t),g=R8(f),C=l[d?h==="floating"?"reference":"floating":h],_=vo(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(C)))==null||n?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),m=h==="floating"?{...o.floating,x:r,y:s}:o.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},S=vo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:y,strategy:a}):m);return{top:(_.top-S.top+g.top)/w.y,bottom:(S.bottom-_.bottom+g.bottom)/w.y,left:(_.left-S.left+g.left)/w.x,right:(S.right-_.right+g.right)/w.x}}const kI=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:i,platform:o,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=ds(t,e)||{};if(c==null)return{};const h=R8(u),d={x:n,y:r},f=f2(s),g=d2(f),x=await o.getDimensions(c),C=f==="y",_=C?"top":"left",m=C?"bottom":"right",y=C?"clientHeight":"clientWidth",w=i.reference[g]+i.reference[f]-d[f]-i.floating[g],S=d[f]-i.reference[f],I=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let M=I?I[y]:0;(!M||!await(o.isElement==null?void 0:o.isElement(I)))&&(M=l.floating[y]||i.floating[g]);const k=w/2-S/2,q=M/2-x[g]/2-1,j=o0(h[_],q),Y=o0(h[m],q),ve=j,he=M-x[g]-Y,X=M/2-x[g]/2+k,be=h2(ve,X,he),F=!a.arrow&&Vn(s)!=null&&X!=be&&i.reference[g]/2-(X<ve?j:Y)-x[g]/2<0,Q=F?X<ve?X-ve:X-he:0;return{[f]:d[f]+Q,data:{[f]:be,centerOffset:X-be-Q,...F&&{alignmentOffset:Q}},reset:F}}});function RI(t,e,n){return(t?[...n.filter(s=>Vn(s)===t),...n.filter(s=>Vn(s)!==t)]:n.filter(s=>lr(s)===s)).filter(s=>t?Vn(s)===t||(e?Lo(s)!==s:!1):!0)}const OI=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,s;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:d=S8,autoAlignment:f=!0,...g}=ds(t,e),x=h!==void 0||d===S8?RI(h||null,f,d):d,C=await xi(e,g),_=((n=o.autoPlacement)==null?void 0:n.index)||0,m=x[_];if(m==null)return{};const y=k8(m,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==m)return{reset:{placement:x[0]}};const w=[C[lr(m)],C[y[0]],C[y[1]]],S=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:m,overflows:w}],I=x[_+1];if(I)return{data:{index:_+1,overflows:S},reset:{placement:I}};const M=S.map(j=>{const Y=Vn(j.placement);return[j.placement,Y&&u?j.overflows.slice(0,2).reduce((ve,he)=>ve+he,0):j.overflows[0],j.overflows]}).sort((j,Y)=>j[1]-Y[1]),q=((s=M.filter(j=>j[2].slice(0,Vn(j[0])?2:3).every(Y=>Y<=0))[0])==null?void 0:s[0])||M[0][0];return q!==l?{data:{index:_+1,overflows:S},reset:{placement:q}}:{}}}},II=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:x=!0,...C}=ds(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=lr(s),m=lr(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),w=d||(m||!x?[yo(l)]:bI(l));!d&&g!=="none"&&w.push(...TI(l,x,g,y));const S=[l,...w],I=await xi(e,C),M=[];let k=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&M.push(I[_]),h){const ve=k8(s,o,y);M.push(I[ve[0]],I[ve[1]])}if(k=[...k,{placement:s,overflows:M}],!M.every(ve=>ve<=0)){var q,j;const ve=(((q=i.flip)==null?void 0:q.index)||0)+1,he=S[ve];if(he)return{data:{index:ve,overflows:k},reset:{placement:he}};let X=(j=k.filter(be=>be.overflows[0]<=0).sort((be,F)=>be.overflows[1]-F.overflows[1])[0])==null?void 0:j.placement;if(!X)switch(f){case"bestFit":{var Y;const be=(Y=k.map(F=>[F.placement,F.overflows.filter(Q=>Q>0).reduce((Q,de)=>Q+de,0)]).sort((F,Q)=>F[1]-Q[1])[0])==null?void 0:Y[0];be&&(X=be);break}case"initialPlacement":X=l;break}if(s!==X)return{reset:{placement:X}}}return{}}}};function I8(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function M8(t){return E8.some(e=>t[e]>=0)}const MI=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...s}=ds(t,e);switch(r){case"referenceHidden":{const i=await xi(e,{...s,elementContext:"reference"}),o=I8(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:M8(o)}}}case"escaped":{const i=await xi(e,{...s,altBoundary:!0}),o=I8(i,n.floating);return{data:{escapedOffsets:o,escaped:M8(o)}}}default:return{}}}}};async function NI(t,e){const{placement:n,platform:r,elements:s}=t,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=lr(n),l=Vn(n),a=_o(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-1:1,h=ds(e,t);let{mainAxis:d,crossAxis:f,alignmentAxis:g}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof g=="number"&&(f=l==="end"?g*-1:g),a?{x:f*u,y:d*c}:{x:d*c,y:f*u}}const PI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:r}=e,s=await NI(e,t);return{x:n+s.x,y:r+s.y,data:s}}}},FI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:C=>{let{x:_,y:m}=C;return{x:_,y:m}}},...a}=ds(t,e),c={x:n,y:r},u=await xi(e,a),h=_o(lr(s)),d=A8(h);let f=c[d],g=c[h];if(i){const C=d==="y"?"top":"left",_=d==="y"?"bottom":"right",m=f+u[C],y=f-u[_];f=h2(m,f,y)}if(o){const C=h==="y"?"top":"left",_=h==="y"?"bottom":"right",m=g+u[C],y=g-u[_];g=h2(m,g,y)}const x=l.fn({...e,[d]:f,[h]:g});return{...x,data:{x:x.x-n,y:x.y-r}}}}};function Mr(t){return N8(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ar(t){var e;return(e=(N8(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function N8(t){return t instanceof Node||t instanceof ln(t).Node}function cr(t){return t instanceof Element||t instanceof ln(t).Element}function Gn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function P8(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot}function _i(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=pn(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(s)}function DI(t){return["table","td","th"].includes(Mr(t))}function p2(t){const e=g2(),n=pn(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function $I(t){let e=l0(t);for(;Gn(e)&&!Co(e);){if(p2(e))return e;e=l0(e)}return null}function g2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Co(t){return["html","body","#document"].includes(Mr(t))}function pn(t){return ln(t).getComputedStyle(t)}function wo(t){return cr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function l0(t){if(Mr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||P8(t)&&t.host||ar(t);return P8(e)?e.host:e}function F8(t){const e=l0(t);return Co(e)?t.ownerDocument?t.ownerDocument.body:t.body:Gn(e)&&_i(e)?e:F8(e)}function Li(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=F8(t),i=s===((r=t.ownerDocument)==null?void 0:r.body),o=ln(s);return i?e.concat(o,o.visualViewport||[],_i(s)?s:[],o.frameElement&&n?Li(o.frameElement):[]):e.concat(s,Li(s,[],n))}function D8(t){const e=pn(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Gn(t),i=s?t.offsetWidth:n,o=s?t.offsetHeight:r,l=mo(n)!==i||mo(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function m2(t){return cr(t)?t:t.contextElement}function a0(t){const e=m2(t);if(!Gn(e))return Ir(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:i}=D8(e);let o=(i?mo(n.width):n.width)/r,l=(i?mo(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const BI=Ir(0);function $8(t){const e=ln(t);return!g2()||!e.visualViewport?BI:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function HI(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ln(t)?!1:e}function fs(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),i=m2(t);let o=Ir(1);e&&(r?cr(r)&&(o=a0(r)):o=a0(t));const l=HI(i,n,r)?$8(i):Ir(0);let a=(s.left+l.x)/o.x,c=(s.top+l.y)/o.y,u=s.width/o.x,h=s.height/o.y;if(i){const d=ln(i),f=r&&cr(r)?ln(r):r;let g=d.frameElement;for(;g&&r&&f!==d;){const x=a0(g),C=g.getBoundingClientRect(),_=pn(g),m=C.left+(g.clientLeft+parseFloat(_.paddingLeft))*x.x,y=C.top+(g.clientTop+parseFloat(_.paddingTop))*x.y;a*=x.x,c*=x.y,u*=x.x,h*=x.y,a+=m,c+=y,g=ln(g).frameElement}}return vo({width:u,height:h,x:a,y:c})}function UI(t){let{rect:e,offsetParent:n,strategy:r}=t;const s=Gn(n),i=ar(n);if(n===i)return e;let o={scrollLeft:0,scrollTop:0},l=Ir(1);const a=Ir(0);if((s||!s&&r!=="fixed")&&((Mr(n)!=="body"||_i(i))&&(o=wo(n)),Gn(n))){const c=fs(n);l=a0(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-o.scrollLeft*l.x+a.x,y:e.y*l.y-o.scrollTop*l.y+a.y}}function zI(t){return Array.from(t.getClientRects())}function B8(t){return fs(ar(t)).left+wo(t).scrollLeft}function VI(t){const e=ar(t),n=wo(t),r=t.ownerDocument.body,s=hs(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=hs(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+B8(t);const l=-n.scrollTop;return pn(r).direction==="rtl"&&(o+=hs(e.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:l}}function GI(t,e){const n=ln(t),r=ar(t),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,a=0;if(s){i=s.width,o=s.height;const c=g2();(!c||c&&e==="fixed")&&(l=s.offsetLeft,a=s.offsetTop)}return{width:i,height:o,x:l,y:a}}function jI(t,e){const n=fs(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,i=Gn(t)?a0(t):Ir(1),o=t.clientWidth*i.x,l=t.clientHeight*i.y,a=s*i.x,c=r*i.y;return{width:o,height:l,x:a,y:c}}function H8(t,e,n){let r;if(e==="viewport")r=GI(t,n);else if(e==="document")r=VI(ar(t));else if(cr(e))r=jI(e,n);else{const s=$8(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return vo(r)}function U8(t,e){const n=l0(t);return n===e||!cr(n)||Co(n)?!1:pn(n).position==="fixed"||U8(n,e)}function ZI(t,e){const n=e.get(t);if(n)return n;let r=Li(t,[],!1).filter(l=>cr(l)&&Mr(l)!=="body"),s=null;const i=pn(t).position==="fixed";let o=i?l0(t):t;for(;cr(o)&&!Co(o);){const l=pn(o),a=p2(o);!a&&l.position==="fixed"&&(s=null),(i?!a&&!s:!a&&l.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||_i(o)&&!a&&U8(t,o))?r=r.filter(u=>u!==o):s=l,o=l0(o)}return e.set(t,r),r}function WI(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?ZI(e,this._c):[].concat(n),r],l=o[0],a=o.reduce((c,u)=>{const h=H8(e,u,s);return c.top=hs(h.top,c.top),c.right=o0(h.right,c.right),c.bottom=o0(h.bottom,c.bottom),c.left=hs(h.left,c.left),c},H8(e,l,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function qI(t){return D8(t)}function KI(t,e,n){const r=Gn(e),s=ar(e),i=n==="fixed",o=fs(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const a=Ir(0);if(r||!r&&!i)if((Mr(e)!=="body"||_i(s))&&(l=wo(e)),r){const c=fs(e,!0,i,e);a.x=c.x+e.clientLeft,a.y=c.y+e.clientTop}else s&&(a.x=B8(s));return{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}function z8(t,e){return!Gn(t)||pn(t).position==="fixed"?null:e?e(t):t.offsetParent}function V8(t,e){const n=ln(t);if(!Gn(t))return n;let r=z8(t,e);for(;r&&DI(r)&&pn(r).position==="static";)r=z8(r,e);return r&&(Mr(r)==="html"||Mr(r)==="body"&&pn(r).position==="static"&&!p2(r))?n:r||$I(t)||n}const YI=async function(t){let{reference:e,floating:n,strategy:r}=t;const s=this.getOffsetParent||V8,i=this.getDimensions;return{reference:KI(e,await s(n),r),floating:{x:0,y:0,...await i(n)}}};function XI(t){return pn(t).direction==="rtl"}const QI={convertOffsetParentRelativeRectToViewportRelativeRect:UI,getDocumentElement:ar,getClippingRect:WI,getOffsetParent:V8,getElementRects:YI,getClientRects:zI,getDimensions:qI,getScale:a0,isElement:cr,isRTL:XI};function JI(t,e){let n=null,r;const s=ar(t);function i(){clearTimeout(r),n&&n.disconnect(),n=null}function o(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:c,top:u,width:h,height:d}=t.getBoundingClientRect();if(l||e(),!h||!d)return;const f=xo(u),g=xo(s.clientWidth-(c+h)),x=xo(s.clientHeight-(u+d)),C=xo(c),m={rootMargin:-f+"px "+-g+"px "+-x+"px "+-C+"px",threshold:hs(0,o0(1,a))||1};let y=!0;function w(S){const I=S[0].intersectionRatio;if(I!==a){if(!y)return o();I?o(!1,I):r=setTimeout(()=>{o(!1,1e-7)},100)}y=!1}try{n=new IntersectionObserver(w,{...m,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,m)}n.observe(t)}return o(!0),i}function eM(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=m2(t),u=s||i?[...c?Li(c):[],...Li(e)]:[];u.forEach(_=>{s&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const h=c&&l?JI(c,n):null;let d=-1,f=null;o&&(f=new ResizeObserver(_=>{let[m]=_;m&&m.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{f&&f.observe(e)})),n()}),c&&!a&&f.observe(c),f.observe(e));let g,x=a?fs(t):null;a&&C();function C(){const _=fs(t);x&&(_.x!==x.x||_.y!==x.y||_.width!==x.width||_.height!==x.height)&&n(),x=_,g=requestAnimationFrame(C)}return n(),()=>{u.forEach(_=>{s&&_.removeEventListener("scroll",n),i&&_.removeEventListener("resize",n)}),h&&h(),f&&f.disconnect(),f=null,a&&cancelAnimationFrame(g)}}const tM=(t,e,n)=>{const r=new Map,s={platform:QI,...n},i={...s.platform,_c:r};return AI(t,e,{...s,platform:i})};function x2(t){var e;return(e=t==null?void 0:t.$el)!=null?e:t}function nM(t){return{name:"arrow",options:t,fn(e){const n=x2(ge(t.element));return n==null?{}:kI({element:n,padding:t.padding}).fn(e)}}}function rM(t,e,n){n===void 0&&(n={});const r=n.whileElementsMounted,s=D(()=>{var S;return(S=ge(n.open))!=null?S:!0}),i=D(()=>ge(n.middleware)),o=D(()=>{var S;return(S=ge(n.placement))!=null?S:"bottom"}),l=D(()=>{var S;return(S=ge(n.strategy))!=null?S:"absolute"}),a=D(()=>x2(t.value)),c=D(()=>x2(e.value)),u=ne(null),h=ne(null),d=ne(l.value),f=ne(o.value),g=Di({}),x=ne(!1);let C;function _(){a.value==null||c.value==null||tM(a.value,c.value,{middleware:i.value,placement:o.value,strategy:l.value}).then(S=>{u.value=S.x,h.value=S.y,d.value=S.strategy,f.value=S.placement,g.value=S.middlewareData,x.value=!0})}function m(){typeof C=="function"&&(C(),C=void 0)}function y(){if(m(),r===void 0){_();return}if(a.value!=null&&c.value!=null){C=r(a.value,c.value,_);return}}function w(){s.value||(x.value=!1)}return rt([i,o,l],_,{flush:"sync"}),rt([a,c],y,{flush:"sync"}),rt(s,w,{flush:"sync"}),O2()&&I2(m),{x:Dr(u),y:Dr(h),strategy:Dr(d),placement:Dr(f),middlewareData:Dr(g),isPositioned:Dr(x),update:_}}var sM=Object.defineProperty,iM=(t,e,n)=>e in t?sM(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oM=(t,e,n)=>(iM(t,typeof e!="symbol"?e+"":e,n),n);function yi(t){var n;if(t==null||t.value==null)return null;const e=(n=t.value.$el)!=null?n:t.value;return e.$el?yi(ne(e)):e}class lM{constructor(){oM(this,"current",this.detect())}set(e){this.current!==e&&(this.current=e)}reset(){this.set(this.detect())}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}const bo=new lM;function G8(t){return t.reduce((e,n)=>n.type===Pe?e.concat(G8(n.children)):e.concat(n),[])}function aM(t){return t==null?!1:typeof t.type=="string"||typeof t.type=="object"||typeof t.type=="function"}function j8(t){return t=ge(t),t&&(t==null?void 0:t.nodeType)!==Node.COMMENT_NODE}function cM(t){if(bo.isServer)return null;if(t instanceof Node)return t.ownerDocument;if(Object.prototype.hasOwnProperty.call(t,"value")){const e=yi(t);if(e)return e.ownerDocument}return document}function uM(t,e,n,r,s){rt([()=>s.offset,()=>s.flip,()=>s.shift,()=>s.autoPlacement,()=>s.arrow,()=>s.hide,()=>s.middleware],()=>{const i=[];(typeof s.offset=="number"||typeof s.offset=="object"||typeof s.offset=="function")&&i.push(PI(s.offset)),(s.flip===!0||typeof s.flip=="number"||typeof s.flip=="object")&&i.push(II({padding:typeof s.flip=="number"?s.flip:void 0,...typeof s.flip=="object"?s.flip:{}})),(s.shift===!0||typeof s.shift=="number"||typeof s.shift=="object")&&i.push(FI({padding:typeof s.shift=="number"?s.shift:void 0,...typeof s.shift=="object"?s.shift:{}})),(s.autoPlacement===!0||typeof s.autoPlacement=="object")&&i.push(OI(typeof s.autoPlacement=="object"?s.autoPlacement:void 0)),(s.arrow===!0||typeof s.arrow=="number")&&i.push(nM({element:r,padding:s.arrow===!0?0:s.arrow})),i.push(...typeof s.middleware=="function"?s.middleware({referenceEl:e,floatingEl:n}):s.middleware||[]),(s.hide===!0||typeof s.hide=="object")&&i.push(MI(typeof s.hide=="object"?s.hide:void 0)),t.value=i},{immediate:!0})}function hM(t,e,n){let r=()=>{};Ze(()=>{if(t&&bo.isClient&&typeof ResizeObserver<"u"&&e.value&&e.value instanceof Element){const s=new ResizeObserver(([i])=>{n.value=i.borderBoxSize.reduce((o,{inlineSize:l})=>o+l,0)});s.observe(e.value),r=()=>{s.disconnect(),n.value=null}}}),Is(()=>{r()})}const dM=t=>{switch(t){case"top":return"origin-bottom";case"bottom":return"origin-top";case"left":return"origin-right";case"right":return"origin-left";case"top-start":case"right-end":return"origin-bottom-left";case"top-end":case"left-end":return"origin-bottom-right";case"right-start":case"bottom-start":return"origin-top-left";case"left-start":case"bottom-end":return"origin-top-right";default:return""}};function fM(t,e){const n=D(()=>{if(typeof t.originClass=="function")return t.originClass(e.value);if(typeof t.originClass=="string")return t.originClass;if(t.tailwindcssOriginClass)return dM(e.value)}),r=D(()=>t.enter||n.value?`${t.enter||""} ${n.value||""}`:void 0),s=D(()=>t.leave||n.value?`${t.leave||""} ${n.value||""}`:void 0);return{originClassRef:n,enterActiveClassRef:r,leaveActiveClassRef:s}}function Z8(t,e,...n){if(t in e){const s=e[t];return typeof s=="function"?s(...n):s}const r=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Z8),r}const W8=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var q8=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(q8||{});function pM(t,e=0){var n;return t===((n=cM(t))==null?void 0:n.body)?!1:Z8(e,{0(){return t.matches(W8)},1(){let r=t;for(;r!==null;){if(r.matches(W8))return!0;r=r.parentElement}return!1}})}function _2(t,e,n){bo.isServer||Bt(r=>{document.addEventListener(t,e,n),r(()=>document.removeEventListener(t,e,n))})}function gM(t,e,n=D(()=>!0)){function r(i,o){if(!n.value||i.defaultPrevented)return;const l=o(i);if(l===null||!l.getRootNode().contains(l))return;const a=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(t);for(const c of a){if(c===null)continue;const u=c instanceof HTMLElement?c:yi(c);if(u!=null&&u.contains(l)||i.composed&&i.composedPath().includes(u))return}return!pM(l,q8.Loose)&&l.tabIndex!==-1&&i.preventDefault(),e(i,l)}const s=ne(null);_2("mousedown",i=>{var o,l;n.value&&(s.value=((l=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:l[0])||i.target)},!0),_2("click",i=>{s.value&&(r(i,()=>s.value),s.value=null)},!0),_2("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}const mM=Symbol("ArrowContext"),ye={as:{type:[String,Function],default:"template"},floatingAs:{type:[String,Function],default:"div"},show:{type:Boolean,default:null},placement:{type:String,default:"bottom-start"},strategy:{type:String,default:"absolute"},offset:[Number,Function,Object],shift:{type:[Boolean,Number,Object],default:!1},flip:{type:[Boolean,Number,Object],default:!1},arrow:{type:[Boolean,Number],default:!1},autoPlacement:{type:[Boolean,Object],default:!1},hide:{type:[Boolean,Object],default:!1},autoUpdate:{type:[Boolean,Object],default:!0},zIndex:{type:[Number,String],default:9999},transitionName:String,transitionType:String,enter:String,enterFrom:String,enterTo:String,leave:String,leaveFrom:String,leaveTo:String,originClass:[String,Function],tailwindcssOriginClass:{type:Boolean,default:!1},portal:{type:Boolean,default:!1},transform:{type:Boolean,default:!0},adaptiveWidth:{type:Boolean,default:!1},composable:{type:Boolean,default:!1},dialog:{type:Boolean,default:!1},middleware:{type:[Array,Function],default:()=>[]}};function xM(t,e,n,r){const{floatingRef:s,props:i,mounted:o,show:l,x:a,y:c,placement:u,strategy:h,referenceElWidth:d,updateFloating:f}=r,g=Yr({...i,as:i.floatingAs},e),{enterActiveClassRef:x,leaveActiveClassRef:C}=fM(g,u),_={enterActiveClass:x.value,enterFromClass:g.enterFrom,enterToClass:g.enterTo,leaveActiveClass:C.value,leaveFromClass:g.leaveFrom,leaveToClass:g.leaveTo},m={name:g.transitionName,type:g.transitionType,appear:!0,...g.transitionName?{}:_,onBeforeEnter(){l.value=!0},onAfterLeave(){l.value=!1}},y={enter:x.value,enterFrom:g.enterFrom,enterTo:g.enterTo,leave:C.value,leaveFrom:g.leaveFrom,leaveTo:g.leaveTo,onBeforeEnter:m.onBeforeEnter,onAfterLeave:m.onAfterLeave},w={style:{...!g.dialog&&g.transform?{position:h.value,zIndex:g.zIndex,top:"0px",left:"0px",right:"auto",bottom:"auto",transform:`translate(${Math.round(a.value||0)}px,${Math.round(c.value||0)}px)`}:{position:h.value,zIndex:g.zIndex,top:`${c.value||0}px`,left:`${a.value||0}px`},width:g.adaptiveWidth&&typeof d.value=="number"?`${d.value}px`:void 0}};function S(k){return g.portal?Ye(jc,()=>k):k}function I(k){const q=Yr(w,n,g.dialog?{}:{ref:s});return g.as==="template"?k:typeof g.as=="string"?Ye(g.as,q,k):Ye(g.as,q,()=>k)}function M(){function k(){var q;const j=g.as==="template"?Yr(w,n,g.dialog?{}:{ref:s}):null,Y=Qt(t,j);return((q=Y.props)==null?void 0:q.unmount)===!1?(f(),Y):typeof g.show!="boolean"||g.show?Y:xe()}return bo.isServer?o.value&&g.show?k():xe():g.transitionChild?Ye(co,{key:`placement-${u.value}`,...g.dialog?{ref:s}:{},as:"template",...y},k):Ye(Fs,{...g.dialog?{ref:s}:{},...m},k)}return S(I(M()))}function _M(t,e,n,r,s){const i=ne(!1),o=$i(r,"placement"),l=$i(r,"strategy"),a=Di({}),c=ne(null),u=ne(void 0),h=ne(void 0),d=D(()=>yi(e)),f=D(()=>yi(n)),g=D(()=>j8(d)&&j8(f)),{x,y:C,placement:_,strategy:m,middlewareData:y,update:w}=rM(d,f,{placement:o,strategy:l,middleware:a,whileElementsMounted:()=>{}}),S=ne(null);Ze(()=>{i.value=!0}),rt(t,(Y,ve)=>{Y&&!ve?s("show"):!Y&&ve&&s("hide")},{immediate:!0});function I(){g.value&&(w(),s("update"))}rt([o,l,a],I,{flush:"sync"}),uM(a,d,f,c,r),rt(y,()=>{const Y=y.value.arrow;u.value=Y==null?void 0:Y.x,h.value=Y==null?void 0:Y.y}),hM(r.adaptiveWidth,d,S),rt(t,async(Y,ve,he)=>{if(await Yn(),t.value&&g.value&&r.autoUpdate){const X=eM(d.value,f.value,I,typeof r.autoUpdate=="object"?r.autoUpdate:void 0);he(X)}},{flush:"post",immediate:!0});const M=ne(!0);rt(d,()=>{!(d.value instanceof Element)&&g.value&&M.value&&(M.value=!1,window.requestAnimationFrame(()=>{M.value=!0,I()}))},{flush:"sync"});const k={referenceRef:e,placement:_},q={floatingRef:n,props:r,mounted:i,show:t,x,y:C,placement:_,strategy:m,referenceElWidth:S,updateFloating:I},j={ref:c,placement:_,x:u,y:h};return Rt(mM,j),{referenceApi:k,floatingApi:q,arrowApi:j,x,y:C,placement:_,strategy:m,referenceEl:d,floatingEl:f,middlewareData:y,update:I}}({...ye.as});const LM={as:ye.as,show:ye.show,placement:ye.placement,strategy:ye.strategy,offset:ye.offset,shift:ye.shift,flip:ye.flip,arrow:ye.arrow,autoPlacement:ye.autoPlacement,hide:ye.hide,autoUpdate:ye.autoUpdate,zIndex:ye.zIndex,transitionName:ye.transitionName,transitionType:ye.transitionType,enter:ye.enter,enterFrom:ye.enterFrom,enterTo:ye.enterTo,leave:ye.leave,leaveFrom:ye.leaveFrom,leaveTo:ye.leaveTo,originClass:ye.originClass,tailwindcssOriginClass:ye.tailwindcssOriginClass,portal:ye.portal,transform:ye.transform,middleware:ye.middleware},yM={name:"FloatVirtual",inheritAttrs:!1,props:LM,emits:["initial","show","hide","update"],setup(t,{emit:e,slots:n,attrs:r}){var u;const s=ne((u=t.show)!=null?u:!1),i=ne({getBoundingClientRect(){return{x:0,y:0,top:0,left:0,bottom:0,right:0,width:0,height:0}}}),o=ne(null),{floatingApi:l,placement:a}=_M(s,i,o,t,e);rt(()=>t.show,()=>{var h;s.value=(h=t.show)!=null?h:!1});function c(){s.value=!1}return e("initial",{show:s,placement:a,reference:i,floating:o}),()=>{if(!n.default)return;const h={placement:a.value,close:c},[d]=G8(n.default(h)).filter(aM);return xM(d,{as:t.as,show:s.value},r,l)}}};ye.as,ye.placement,ye.strategy,ye.offset,ye.shift,{...ye.flip},ye.arrow,ye.autoPlacement,ye.hide,ye.autoUpdate,ye.zIndex,ye.transitionName,ye.transitionType,ye.enter,ye.enterFrom,ye.enterTo,ye.leave,ye.leaveFrom,ye.leaveTo,ye.originClass,ye.tailwindcssOriginClass,ye.transform,ye.middleware;const vM={class:"flex bg-white shadow-md z-10 rounded-md p-1"},CM=["onClick"],wM=Object.freeze(Object.defineProperty({__proto__:null,default:Ke({__name:"StylePanel",setup(t){const e=ne({value:null}),n=Ln(),r=D(()=>n.getters.onContentChange||(()=>{})),s=D(()=>Sc(n.getters.diagramElement)+yh),i=D(()=>n.getters.code),o=h=>{n.dispatch("updateCode",{code:h}),r.value(h)},l=ne([]);let a;const c=({show:h,reference:d,floating:f})=>{let g,x,C,_,m,y;n.commit("onMessageClick",(w,S)=>{var I;if(g=w.value.start.start,x=Lc(i.value,g),C=lw(i.value,g),_=((I=i.value.slice(x).match(/^\s*/))==null?void 0:I[0])||"",m=C.trim().startsWith("//"),m){const M=C.trimStart().slice(2).trimStart(),k=M.indexOf("["),q=M.indexOf("]");y=Boolean(k===0&&q),y?l.value=M.slice(k+1,q).split(",").map(j=>j.trim()):l.value=[]}d.value={getBoundingClientRect:()=>S.getBoundingClientRect()},e.value=w,h.value=!0}),gM(f,()=>{h.value=!1,l.value=[]},D(()=>h.value)),a=w=>{var S;if(h.value=!1,!!e.value.value)if(m){let I="";if(y){let M;l.value.includes(w)?M=l.value.filter(k=>k!==w):M=[...l.value,w],I=`${_}// [${M.filter(Boolean).join(", ")}] ${C.slice(C.indexOf("]")+1).trimStart()}`}else I=`${_}// [${w}] ${C.slice((((S=C.match(/\/\/*/))==null?void 0:S.index)||-2)+2).trimStart()}`;I.endsWith(`
1020
1020
  `)||(I+=`
1021
1021
  `),o(i.value.slice(0,ph(i.value,g))+I+i.value.slice(x))}else o(i.value.slice(0,x)+`${_}// [${w}]
1022
1022
  `+i.value.slice(x))}},u=[{name:"bold",content:"B",class:"font-bold"},{name:"italic",content:"I",class:"italic"},{name:"underline",content:"U",class:"underline"},{name:"strikethrough",content:"S",class:"line-through"}];return(h,d)=>(R(),Oe(ge(yM),{key:"tool",onInitial:c,placement:"top",offset:5,flip:{padding:ge(s)},shift:"",zIndex:"30"},{default:$t(()=>[T("div",vM,[(R(),H(Pe,null,xn(u,f=>T("div",{onClick:()=>ge(a)(f.class),key:f.name},[T("div",{class:Ee(["w-6 mx-1 py-1 rounded-md text-black text-center cursor-pointer hover:bg-gray-200",[f.class,{"bg-gray-100":l.value.includes(f.class)}]])},ze(f.content),3)],8,CM)),64))])],void 0,!0),_:1},8,["flip"]))}})},Symbol.toStringTag,{value:"Module"}));Kt.VueSequence=FO,Kt.default=PO,Object.defineProperties(Kt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});