@zenuml/core 2.0.20 → 2.0.22
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/Integration/vanilla-js/index.html +17 -17
- package/README.md +18 -13
- package/README_CN.md +5 -5
- package/cy/defect-406-alt-under-creation.html +5 -4
- package/cy/smoke-creation.html +5 -4
- package/cy/smoke-fragment-issue.html +4 -6
- package/cy/smoke-fragment.html +5 -6
- package/cy/smoke-interaction.html +5 -5
- package/cy/smoke-return.html +4 -4
- package/cy/smoke.html +4 -5
- package/cypress.config.ts +3 -3
- package/dist/embed-container-demo.html +40 -25
- package/dist/style.css +1 -1
- package/dist/zenuml-core.mjs +2412 -2353
- package/dist/zenuml-core.umd.js +47 -47
- package/docs/async-vs-sync-parser-rules.md +5 -2
- package/docs/divider-parser-allow-spaces.md +2 -2
- package/docs/highlighting-messages.md +10 -5
- package/docs/inherited-vs-provided-from.md +9 -4
- package/docs/participants-function.md +2 -4
- package/docs/responsive-participant-margin.md +2 -2
- package/docs/starter.md +2 -1
- package/docs/testing-minified-lib.md +7 -9
- package/docs/why-we-publish-embed-view-to-github-pages.md +2 -1
- package/docs/width-translate-and-offsets.md +14 -6
- package/embed.html +56 -56
- package/index.html +53 -27
- package/package.json +3 -4
- package/playground/creation.html +50 -29
- package/playground/message.html +60 -36
- package/tailwind.config.js +31 -18
- package/types/index.d.ts +7 -7
- package/vite.config.js +20 -25
- package/vite.config.lib.js +17 -20
package/dist/zenuml-core.umd.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
(function(Gt,Wt){typeof exports=="object"&&typeof module<"u"?module.exports=Wt():typeof define=="function"&&define.amd?define(Wt):(Gt=typeof globalThis<"u"?globalThis:Gt||self,Gt["@zenuml/core"]=Wt())})(this,function(){"use strict";var gb=Object.defineProperty;var xb=(Gt,Wt,Je)=>Wt in Gt?gb(Gt,Wt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Gt[Wt]=Je;var et=(Gt,Wt,Je)=>(xb(Gt,typeof Wt!="symbol"?Wt+"":Wt,Je),Je);var Gt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wt(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var Je=O2;function O2(n,t,e){var r=e&&e.stringify||Wt,s=1;if(typeof n=="object"&&n!==null){var i=t.length+s;if(i===1)return n;var o=new Array(i);o[0]=r(n);for(var a=1;a<i;a++)o[a]=r(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-s,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var w=typeof t[u];if(w==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(w==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=r(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const N1=Je;var N2=me;const rr=G2().console||{},I2={mapHttpRequest:Jr,mapHttpResponse:Jr,wrapRequestSerializer:Pi,wrapResponseSerializer:Pi,wrapErrorSerializer:Pi,req:Jr,res:Jr,err:F2};function P2(n,t){return Array.isArray(n)?n.filter(function(r){return r!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function me(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||rr;n.browser.write&&(n.browser.asObject=!0);const r=n.serializers||{},s=P2(n.browser.serialize,r);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=sr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:s,asObject:n.browser.asObject,levels:o,timestamp:B2(n)};l.levels=me.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=sr,l.serializers=r,l._serialize=s,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=Ii());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,yn(c,l,"error","log"),yn(c,l,"fatal","error"),yn(c,l,"warn","error"),yn(c,l,"info","log"),yn(c,l,"debug","log"),yn(c,l,"trace","log")}function p(w,I){if(!w)throw new Error("missing bindings for child Pino");I=I||{},s&&w.serializers&&(I.serializers=w.serializers);const q=I.serializers;if(s&&q){var $=Object.assign({},r,q),j=n.browser.serialize===!0?Object.keys($):s;delete w.serializers,Qr([w],j,$,this._stdErrSerialize)}function ot(Y){this._childLevel=(Y._childLevel|0)+1,this.error=Cn(Y,w,"error"),this.fatal=Cn(Y,w,"fatal"),this.warn=Cn(Y,w,"warn"),this.info=Cn(Y,w,"info"),this.debug=Cn(Y,w,"debug"),this.trace=Cn(Y,w,"trace"),$&&(this.serializers=$,this._serialize=j),t&&(this._logEvent=Ii([].concat(Y._logEvent.bindings,w)))}return ot.prototype=this,new ot(this)}return l}me.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},me.stdSerializers=I2,me.stdTimeFunctions=Object.assign({},{nullTime:I1,epochTime:P1,unixTime:U2,isoTime:H2});function yn(n,t,e,r){const s=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?sr:s[e]?s[e]:rr[e]||rr[r]||sr,M2(n,t,e)}function M2(n,t,e){!n.transmit&&t[e]===sr||(t[e]=function(r){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===rr?rr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Qr(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?r.call(a,$2(this,e,o,i)):r.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=me.levels.values[c],f=me.levels.values[e];if(f<u)return;D2(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:me.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function $2(n,t,e,r){n._serialize&&Qr(e,n._serialize,n.serializers,n._stdErrSerialize);const s=e.slice();let i=s[0];const o={};r&&(o.time=r),o.level=me.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof s[0]=="object";)Object.assign(o,s.shift());i=s.length?N1(s.shift(),s):void 0}else typeof i=="string"&&(i=N1(s.shift(),s));return i!==void 0&&(o.msg=i),o}function Qr(n,t,e,r){for(const s in n)if(r&&n[s]instanceof Error)n[s]=me.stdSerializers.err(n[s]);else if(typeof n[s]=="object"&&!Array.isArray(n[s]))for(const i in n[s])t&&t.indexOf(i)>-1&&i in e&&(n[s][i]=e[i](n[s][i]))}function Cn(n,t,e){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var s=1;s<r.length;s++)r[s]=arguments[s-1];return n[e].apply(this,r)}}function D2(n,t,e){const r=t.send,s=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Qr(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=s,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,r(i,n._logEvent,a),n._logEvent=Ii(l)}function Ii(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function F2(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function B2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?I1:P1}function Jr(){return{}}function Pi(n){return n}function sr(){}function I1(){return!1}function P1(){return Date.now()}function U2(){return Math.round(Date.now()/1e3)}function H2(){return new Date(Date.now()).toISOString()}function G2(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const j2=N2({level:"warn"}),M1=["log","trace","debug","info","warn","error"];function V2(n,t){n[t]=(console[t]||console.log).bind(console)}function z2(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function Z2(n){M1.forEach(e=>V2(n,e));const t=n.child;return n.child=function(e){const r=t.call(n,e);return M1.forEach(s=>z2(r,s,["%c"+e.name||"","color: #00f"])),r},n}let ir=Z2(j2);var It=Object.freeze({}),z=Array.isArray;function G(n){return n==null}function L(n){return n!=null}function pt(n){return n===!0}function q2(n){return n===!1}function Ae(n){return typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="boolean"}function ut(n){return typeof n=="function"}function bt(n){return n!==null&&typeof n=="object"}var ts=Object.prototype.toString;function or(n){return ts.call(n).slice(8,-1)}function Pt(n){return ts.call(n)==="[object Object]"}function $1(n){return ts.call(n)==="[object RegExp]"}function D1(n){var t=parseFloat(String(n));return t>=0&&Math.floor(t)===t&&isFinite(n)}function Mi(n){return L(n)&&typeof n.then=="function"&&typeof n.catch=="function"}function W2(n){return n==null?"":Array.isArray(n)||Pt(n)&&n.toString===ts?JSON.stringify(n,null,2):String(n)}function ar(n){var t=parseFloat(n);return isNaN(t)?n:t}function Kt(n,t){for(var e=Object.create(null),r=n.split(","),s=0;s<r.length;s++)e[r[s]]=!0;return t?function(i){return e[i.toLowerCase()]}:function(i){return e[i]}}var K2=Kt("slot,component",!0),F1=Kt("key,ref,slot,slot-scope,is");function Ue(n,t){var e=n.length;if(e){if(t===n[e-1]){n.length=e-1;return}var r=n.indexOf(t);if(r>-1)return n.splice(r,1)}}var Y2=Object.prototype.hasOwnProperty;function wt(n,t){return Y2.call(n,t)}function tn(n){var t=Object.create(null);return function(r){var s=t[r];return s||(t[r]=n(r))}}var X2=/-(\w)/g,en=tn(function(n){return n.replace(X2,function(t,e){return e?e.toUpperCase():""})}),B1=tn(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),Q2=/\B([A-Z])/g,nn=tn(function(n){return n.replace(Q2,"-$1").toLowerCase()});function J2(n,t){function e(r){var s=arguments.length;return s?s>1?n.apply(t,arguments):n.call(t,r):n.call(t)}return e._length=n.length,e}function tf(n,t){return n.bind(t)}var U1=Function.prototype.bind?tf:J2;function $i(n,t){t=t||0;for(var e=n.length-t,r=new Array(e);e--;)r[e]=n[e+t];return r}function lt(n,t){for(var e in t)n[e]=t[e];return n}function H1(n){for(var t={},e=0;e<n.length;e++)n[e]&<(t,n[e]);return t}function yt(n,t,e){}var es=function(n,t,e){return!1},G1=function(n){return n};function rn(n,t){if(n===t)return!0;var e=bt(n),r=bt(t);if(e&&r)try{var s=Array.isArray(n),i=Array.isArray(t);if(s&&i)return n.length===t.length&&n.every(function(l,c){return rn(l,t[c])});if(n instanceof Date&&t instanceof Date)return n.getTime()===t.getTime();if(!s&&!i){var o=Object.keys(n),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return rn(n[l],t[l])})}else return!1}catch{return!1}else return!e&&!r?String(n)===String(t):!1}function j1(n,t){for(var e=0;e<n.length;e++)if(rn(n[e],t))return e;return-1}function ns(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function ef(n,t){return n===t?n===0&&1/n!==1/t:n===n||t===t}var V1="data-server-rendered",rs=["component","directive","filter"],z1=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],nt={optionMergeStrategies:Object.create(null),silent:!1,productionTip:process.env.NODE_ENV!=="production",devtools:process.env.NODE_ENV!=="production",performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:es,isReservedAttr:es,isUnknownElement:es,getTagNamespace:yt,parsePlatformTagName:G1,mustUseProp:es,async:!0,_lifecycleHooks:z1},Z1=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Di(n){var t=(n+"").charCodeAt(0);return t===36||t===95}function He(n,t,e,r){Object.defineProperty(n,t,{value:e,enumerable:!!r,writable:!0,configurable:!0})}var nf=new RegExp("[^".concat(Z1.source,".$_\\d]"));function rf(n){if(!nf.test(n)){var t=n.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var sf="__proto__"in{},jt=typeof window<"u",se=jt&&window.navigator.userAgent.toLowerCase(),En=se&&/msie|trident/.test(se),bn=se&&se.indexOf("msie 9.0")>0,q1=se&&se.indexOf("edge/")>0;se&&se.indexOf("android")>0;var of=se&&/iphone|ipad|ipod|ios/.test(se),W1=se&&se.match(/firefox\/(\d+)/),Fi={}.watch,K1=!1;if(jt)try{var Y1={};Object.defineProperty(Y1,"passive",{get:function(){K1=!0}}),window.addEventListener("test-passive",null,Y1)}catch{}var ss,lr=function(){return ss===void 0&&(!jt&&typeof global<"u"?ss=global.process&&global.process.env.VUE_ENV==="server":ss=!1),ss},is=jt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(n){return typeof n=="function"&&/native code/.test(n.toString())}var cr=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),ur;typeof Set<"u"&&sn(Set)?ur=Set:ur=function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(t){return this.set[t]===!0},n.prototype.add=function(t){this.set[t]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var wn=null;function Ge(n){n===void 0&&(n=null),n||wn&&wn._scope.off(),wn=n,n&&n._scope.on()}var Vt=function(){function n(t,e,r,s,i,o,a,l){this.tag=t,this.data=e,this.children=r,this.text=s,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(n.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),n}(),on=function(n){n===void 0&&(n="");var t=new Vt;return t.text=n,t.isComment=!0,t};function Tn(n){return new Vt(void 0,void 0,void 0,String(n))}function Bi(n){var t=new Vt(n.tag,n.data,n.children&&n.children.slice(),n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.asyncMeta=n.asyncMeta,t.isCloned=!0,t}var os=function(){return os=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},os.apply(this,arguments)},af=0,as=[],lf=function(){for(var n=0;n<as.length;n++){var t=as[n];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}as.length=0},he=function(){function n(){this._pending=!1,this.id=af++,this.subs=[]}return n.prototype.addSub=function(t){this.subs.push(t)},n.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,as.push(this))},n.prototype.depend=function(t){n.target&&(n.target.addDep(this),process.env.NODE_ENV!=="production"&&t&&n.target.onTrack&&n.target.onTrack(os({effect:n.target},t)))},n.prototype.notify=function(t){var e=this.subs.filter(function(o){return o});process.env.NODE_ENV!=="production"&&!nt.async&&e.sort(function(o,a){return o.id-a.id});for(var r=0,s=e.length;r<s;r++){var i=e[r];process.env.NODE_ENV!=="production"&&t&&i.onTrigger&&i.onTrigger(os({effect:e[r]},t)),i.update()}},n}();he.target=null;var ls=[];function An(n){ls.push(n),he.target=n}function Sn(){ls.pop(),he.target=ls[ls.length-1]}var X1=Array.prototype,cs=Object.create(X1),cf=["push","pop","shift","unshift","splice","sort","reverse"];cf.forEach(function(n){var t=X1[n];He(cs,n,function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var i=t.apply(this,r),o=this.__ob__,a;switch(n){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),process.env.NODE_ENV!=="production"?o.dep.notify({type:"array mutation",target:this,key:n}):o.dep.notify(),i})});var Q1=Object.getOwnPropertyNames(cs),J1={},Ui=!0;function je(n){Ui=n}var uf={notify:yt,depend:yt,addSub:yt,removeSub:yt},tl=function(){function n(t,e,r){if(e===void 0&&(e=!1),r===void 0&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?uf:new he,this.vmCount=0,He(t,"__ob__",this),z(t)){if(!r)if(sf)t.__proto__=cs;else for(var s=0,i=Q1.length;s<i;s++){var o=Q1[s];He(t,o,cs[o])}e||this.observeArray(t)}else for(var a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];fe(t,o,J1,void 0,e,r)}}return n.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Se(t[e],!1,this.mock)},n}();function Se(n,t,e){if(n&&wt(n,"__ob__")&&n.__ob__ instanceof tl)return n.__ob__;if(Ui&&(e||!lr())&&(z(n)||Pt(n))&&Object.isExtensible(n)&&!n.__v_skip&&!_e(n)&&!(n instanceof Vt))return new tl(n,t,e)}function fe(n,t,e,r,s,i){var o=new he,a=Object.getOwnPropertyDescriptor(n,t);if(!(a&&a.configurable===!1)){var l=a&&a.get,c=a&&a.set;(!l||c)&&(e===J1||arguments.length===2)&&(e=n[t]);var u=!s&&Se(e,!1,i);return Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var d=l?l.call(n):e;return he.target&&(process.env.NODE_ENV!=="production"?o.depend({target:n,type:"get",key:t}):o.depend(),u&&(u.dep.depend(),z(d)&&nl(d))),_e(d)&&!s?d.value:d},set:function(d){var p=l?l.call(n):e;if(ef(p,d)){if(process.env.NODE_ENV!=="production"&&r&&r(),c)c.call(n,d);else{if(l)return;if(!s&&_e(p)&&!_e(d)){p.value=d;return}else e=d}u=!s&&Se(d,!1,i),process.env.NODE_ENV!=="production"?o.notify({type:"set",target:n,key:t,newValue:d,oldValue:p}):o.notify()}}}),o}}function Hi(n,t,e){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot set reactive property on undefined, null, or primitive value: ".concat(n)),Gi(n)){process.env.NODE_ENV!=="production"&&T('Set operation on key "'.concat(t,'" failed: target is readonly.'));return}var r=n.__ob__;return z(n)&&D1(t)?(n.length=Math.max(n.length,t),n.splice(t,1,e),r&&!r.shallow&&r.mock&&Se(e,!1,!0),e):t in n&&!(t in Object.prototype)?(n[t]=e,e):n._isVue||r&&r.vmCount?(process.env.NODE_ENV!=="production"&&T("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),e):r?(fe(r.value,t,e,void 0,r.shallow,r.mock),process.env.NODE_ENV!=="production"?r.dep.notify({type:"add",target:n,key:t,newValue:e,oldValue:void 0}):r.dep.notify(),e):(n[t]=e,e)}function el(n,t){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot delete reactive property on undefined, null, or primitive value: ".concat(n)),z(n)&&D1(t)){n.splice(t,1);return}var e=n.__ob__;if(n._isVue||e&&e.vmCount){process.env.NODE_ENV!=="production"&&T("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Gi(n)){process.env.NODE_ENV!=="production"&&T('Delete operation on key "'.concat(t,'" failed: target is readonly.'));return}wt(n,t)&&(delete n[t],e&&(process.env.NODE_ENV!=="production"?e.dep.notify({type:"delete",target:n,key:t}):e.dep.notify()))}function nl(n){for(var t=void 0,e=0,r=n.length;e<r;e++)t=n[e],t&&t.__ob__&&t.__ob__.dep.depend(),z(t)&&nl(t)}function rl(n){return hf(n,!0),He(n,"__v_isShallow",!0),n}function hf(n,t){if(!Gi(n)){if(process.env.NODE_ENV!=="production"){z(n)&&T("Avoid using Array as root value for ".concat(t?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(t?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var e=n&&n.__ob__;e&&e.shallow!==t&&T("Target is already a ".concat(e.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(t?"":"non-","shallow."))}var r=Se(n,t,lr());process.env.NODE_ENV!=="production"&&!r&&((n==null||Ae(n))&&T("value cannot be made reactive: ".concat(String(n))),ff(n)&&T("Vue 2 does not support reactive collection types such as Map or Set."))}}function Gi(n){return!!(n&&n.__v_isReadonly)}function ff(n){var t=or(n);return t==="Map"||t==="WeakMap"||t==="Set"||t==="WeakSet"}function _e(n){return!!(n&&n.__v_isRef===!0)}function ji(n,t,e){Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var r=t[e];if(_e(r))return r.value;var s=r&&r.__ob__;return s&&s.dep.depend(),r},set:function(r){var s=t[e];_e(s)&&!_e(r)?s.value=r:t[e]=r}})}var Yt,df=function(){function n(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}return n.prototype.run=function(t){if(this.active){var e=Yt;try{return Yt=this,t()}finally{Yt=e}}else process.env.NODE_ENV!=="production"&&T("cannot run an inactive effect scope.")},n.prototype.on=function(){Yt=this},n.prototype.off=function(){Yt=this.parent},n.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}},n}();function pf(n,t){t===void 0&&(t=Yt),t&&t.active&&t.effects.push(n)}function gf(n){var t=n._provided,e=n.$parent&&n.$parent._provided;return e===t?n._provided=Object.create(e):t}var sl=tn(function(n){var t=n.charAt(0)==="&";n=t?n.slice(1):n;var e=n.charAt(0)==="~";n=e?n.slice(1):n;var r=n.charAt(0)==="!";return n=r?n.slice(1):n,{name:n,once:e,capture:r,passive:t}});function Vi(n,t){function e(){var r=e.fns;if(z(r))for(var s=r.slice(),i=0;i<s.length;i++)Ze(s[i],null,arguments,t,"v-on handler");else return Ze(r,null,arguments,t,"v-on handler")}return e.fns=n,e}function il(n,t,e,r,s,i){var o,a,l,c;for(o in n)a=n[o],l=t[o],c=sl(o),G(a)?process.env.NODE_ENV!=="production"&&T('Invalid handler for event "'.concat(c.name,'": got ')+String(a),i):G(l)?(G(a.fns)&&(a=n[o]=Vi(a,i)),pt(c.once)&&(a=n[o]=s(c.name,a,c.capture)),e(c.name,a,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,n[o]=l);for(o in t)G(n[o])&&(c=sl(o),r(c.name,t[o],c.capture))}function Ve(n,t,e){n instanceof Vt&&(n=n.data.hook||(n.data.hook={}));var r,s=n[t];function i(){e.apply(this,arguments),Ue(r.fns,i)}G(s)?r=Vi([i]):L(s.fns)&&pt(s.merged)?(r=s,r.fns.push(i)):r=Vi([s,i]),r.merged=!0,n[t]=r}function xf(n,t,e){var r=t.options.props;if(!G(r)){var s={},i=n.attrs,o=n.props;if(L(i)||L(o))for(var a in r){var l=nn(a);if(process.env.NODE_ENV!=="production"){var c=a.toLowerCase();a!==c&&i&&wt(i,c)&&lo('Prop "'.concat(c,'" is passed to component ')+"".concat(ln(e||t),", but the declared prop name is")+' "'.concat(a,'". ')+"Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(l,'" instead of "').concat(a,'".'))}ol(s,o,a,l,!0)||ol(s,i,a,l,!1)}return s}}function ol(n,t,e,r,s){if(L(t)){if(wt(t,e))return n[e]=t[e],s||delete t[e],!0;if(wt(t,r))return n[e]=t[r],s||delete t[r],!0}return!1}function mf(n){for(var t=0;t<n.length;t++)if(z(n[t]))return Array.prototype.concat.apply([],n);return n}function zi(n){return Ae(n)?[Tn(n)]:z(n)?al(n):void 0}function hr(n){return L(n)&&L(n.text)&&q2(n.isComment)}function al(n,t){var e=[],r,s,i,o;for(r=0;r<n.length;r++)s=n[r],!(G(s)||typeof s=="boolean")&&(i=e.length-1,o=e[i],z(s)?s.length>0&&(s=al(s,"".concat(t||"","_").concat(r)),hr(s[0])&&hr(o)&&(e[i]=Tn(o.text+s[0].text),s.shift()),e.push.apply(e,s)):Ae(s)?hr(o)?e[i]=Tn(o.text+s):s!==""&&e.push(Tn(s)):hr(s)&&hr(o)?e[i]=Tn(o.text+s.text):(pt(n._isVList)&&L(s.tag)&&G(s.key)&&L(t)&&(s.key="__vlist".concat(t,"_").concat(r,"__")),e.push(s)));return e}function _f(n,t){var e=null,r,s,i,o;if(z(n)||typeof n=="string")for(e=new Array(n.length),r=0,s=n.length;r<s;r++)e[r]=t(n[r],r);else if(typeof n=="number")for(e=new Array(n),r=0;r<n;r++)e[r]=t(r+1,r);else if(bt(n))if(cr&&n[Symbol.iterator]){e=[];for(var a=n[Symbol.iterator](),l=a.next();!l.done;)e.push(t(l.value,e.length)),l=a.next()}else for(i=Object.keys(n),e=new Array(i.length),r=0,s=i.length;r<s;r++)o=i[r],e[r]=t(n[o],o,r);return L(e)||(e=[]),e._isVList=!0,e}function Lf(n,t,e,r){var s=this.$scopedSlots[n],i;s?(e=e||{},r&&(process.env.NODE_ENV!=="production"&&!bt(r)&&T("slot v-bind without argument expects an Object",this),e=lt(lt({},r),e)),i=s(e)||(ut(t)?t():t)):i=this.$slots[n]||(ut(t)?t():t);var o=e&&e.slot;return o?this.$createElement("template",{slot:o},i):i}function vf(n){return _s(this.$options,"filters",n,!0)||G1}function ll(n,t){return z(n)?n.indexOf(t)===-1:n!==t}function yf(n,t,e,r,s){var i=nt.keyCodes[t]||e;return s&&r&&!nt.keyCodes[t]?ll(s,r):i?ll(i,n):r?nn(r)!==t:n===void 0}function Cf(n,t,e,r,s){if(e)if(!bt(e))process.env.NODE_ENV!=="production"&&T("v-bind without argument expects an Object or Array value",this);else{z(e)&&(e=H1(e));var i=void 0,o=function(l){if(l==="class"||l==="style"||F1(l))i=n;else{var c=n.attrs&&n.attrs.type;i=r||nt.mustUseProp(t,c,l)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}var u=en(l),f=nn(l);if(!(u in i)&&!(f in i)&&(i[l]=e[l],s)){var d=n.on||(n.on={});d["update:".concat(l)]=function(p){e[l]=p}}};for(var a in e)o(a)}return n}function Ef(n,t){var e=this._staticTrees||(this._staticTrees=[]),r=e[n];return r&&!t||(r=e[n]=this.$options.staticRenderFns[n].call(this._renderProxy,this._c,this),cl(r,"__static__".concat(n),!1)),r}function bf(n,t,e){return cl(n,"__once__".concat(t).concat(e?"_".concat(e):""),!0),n}function cl(n,t,e){if(z(n))for(var r=0;r<n.length;r++)n[r]&&typeof n[r]!="string"&&ul(n[r],"".concat(t,"_").concat(r),e);else ul(n,t,e)}function ul(n,t,e){n.isStatic=!0,n.key=t,n.isOnce=e}function wf(n,t){if(t)if(!Pt(t))process.env.NODE_ENV!=="production"&&T("v-on without argument expects an Object value",this);else{var e=n.on=n.on?lt({},n.on):{};for(var r in t){var s=e[r],i=t[r];e[r]=s?[].concat(s,i):i}}return n}function hl(n,t,e,r){t=t||{$stable:!e};for(var s=0;s<n.length;s++){var i=n[s];z(i)?hl(i,t,e):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Tf(n,t){for(var e=0;e<t.length;e+=2){var r=t[e];typeof r=="string"&&r?n[t[e]]=t[e+1]:process.env.NODE_ENV!=="production"&&r!==""&&r!==null&&T("Invalid value for dynamic directive argument (expected string or null): ".concat(r),this)}return n}function Af(n,t){return typeof n=="string"?t+n:n}function fl(n){n._o=bf,n._n=ar,n._s=W2,n._l=_f,n._t=Lf,n._q=rn,n._i=j1,n._m=Ef,n._f=vf,n._k=yf,n._b=Cf,n._v=Tn,n._e=on,n._u=hl,n._g=wf,n._d=Tf,n._p=Af}function Zi(n,t){if(!n||!n.length)return{};for(var e={},r=0,s=n.length;r<s;r++){var i=n[r],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===t||i.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=e[a]||(e[a]=[]);i.tag==="template"?l.push.apply(l,i.children||[]):l.push(i)}else(e.default||(e.default=[])).push(i)}for(var c in e)e[c].every(Sf)&&delete e[c];return e}function Sf(n){return n.isComment&&!n.asyncFactory||n.text===" "}function fr(n){return n.isComment&&n.asyncFactory}function dr(n,t,e,r){var s,i=Object.keys(e).length>0,o=t?!!t.$stable:!i,a=t&&t.$key;if(!t)s={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==It&&a===r.$key&&!i&&!r.$hasNormal)return r;s={};for(var l in t)t[l]&&l[0]!=="$"&&(s[l]=Rf(n,e,l,t[l]))}for(var c in e)c in s||(s[c]=kf(e,c));return t&&Object.isExtensible(t)&&(t._normalized=s),He(s,"$stable",o),He(s,"$key",a),He(s,"$hasNormal",i),s}function Rf(n,t,e,r){var s=function(){var i=wn;Ge(n);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!z(o)?[o]:zi(o);var a=o&&o[0];return Ge(i),o&&(!a||o.length===1&&a.isComment&&!fr(a))?void 0:o};return r.proxy&&Object.defineProperty(t,e,{get:s,enumerable:!0,configurable:!0}),s}function kf(n,t){return function(){return n[t]}}function Of(n){var t=n.$options,e=t.setup;if(e){var r=n._setupContext=Nf(n);Ge(n),An();var s=Ze(e,null,[n._props||rl({}),r],n,"setup");if(Sn(),Ge(),ut(s))t.render=s;else if(bt(s))if(process.env.NODE_ENV!=="production"&&s instanceof Vt&&T("setup() should not return VNodes directly - return a render function instead."),n._setupState=s,s.__sfc){var o=n._setupProxy={};for(var i in s)i!=="__sfc"&&ji(o,s,i)}else for(var i in s)Di(i)?process.env.NODE_ENV!=="production"&&T("Avoid using variables that start with _ or $ in setup()."):ji(n,s,i);else process.env.NODE_ENV!=="production"&&s!==void 0&&T("setup() should return an object. Received: ".concat(s===null?"null":typeof s))}}function Nf(n){var t=!1;return{get attrs(){if(!n._attrsProxy){var e=n._attrsProxy={};He(e,"_v_attr_proxy",!0),us(e,n.$attrs,It,n,"$attrs")}return n._attrsProxy},get listeners(){if(!n._listenersProxy){var e=n._listenersProxy={};us(e,n.$listeners,It,n,"$listeners")}return n._listenersProxy},get slots(){return Pf(n)},emit:U1(n.$emit,n),expose:function(e){process.env.NODE_ENV!=="production"&&(t&&T("expose() should be called only once per setup().",n),t=!0),e&&Object.keys(e).forEach(function(r){return ji(n,e,r)})}}}function us(n,t,e,r,s){var i=!1;for(var o in t)o in n?t[o]!==e[o]&&(i=!0):(i=!0,If(n,o,r,s));for(var o in n)o in t||(i=!0,delete n[o]);return i}function If(n,t,e,r){Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){return e[r][t]}})}function Pf(n){return n._slotsProxy||dl(n._slotsProxy={},n.$scopedSlots),n._slotsProxy}function dl(n,t){for(var e in t)n[e]=t[e];for(var e in n)e in t||delete n[e]}function Mf(n){n._vnode=null,n._staticTrees=null;var t=n.$options,e=n.$vnode=t._parentVnode,r=e&&e.context;n.$slots=Zi(t._renderChildren,r),n.$scopedSlots=e?dr(n.$parent,e.data.scopedSlots,n.$slots):It,n._c=function(i,o,a,l){return hs(n,i,o,a,l,!1)},n.$createElement=function(i,o,a,l){return hs(n,i,o,a,l,!0)};var s=e&&e.data;process.env.NODE_ENV!=="production"?(fe(n,"$attrs",s&&s.attrs||It,function(){!xr&&T("$attrs is readonly.",n)},!0),fe(n,"$listeners",t._parentListeners||It,function(){!xr&&T("$listeners is readonly.",n)},!0)):(fe(n,"$attrs",s&&s.attrs||It,null,!0),fe(n,"$listeners",t._parentListeners||It,null,!0))}var qi=null;function $f(n){fl(n.prototype),n.prototype.$nextTick=function(t){return Qi(t,this)},n.prototype._render=function(){var t=this,e=t.$options,r=e.render,s=e._parentVnode;s&&t._isMounted&&(t.$scopedSlots=dr(t.$parent,s.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&dl(t._slotsProxy,t.$scopedSlots)),t.$vnode=s;var i;try{Ge(t),qi=t,i=r.call(t._renderProxy,t.$createElement)}catch(o){if(ze(o,t,"render"),process.env.NODE_ENV!=="production"&&t.$options.renderError)try{i=t.$options.renderError.call(t._renderProxy,t.$createElement,o)}catch(a){ze(a,t,"renderError"),i=t._vnode}else i=t._vnode}finally{qi=null,Ge()}return z(i)&&i.length===1&&(i=i[0]),i instanceof Vt||(process.env.NODE_ENV!=="production"&&z(i)&&T("Multiple root nodes returned from render function. Render function should return a single root node.",t),i=on()),i.parent=s,i}}function Wi(n,t){return(n.__esModule||cr&&n[Symbol.toStringTag]==="Module")&&(n=n.default),bt(n)?t.extend(n):n}function Df(n,t,e,r,s){var i=on();return i.asyncFactory=n,i.asyncMeta={data:t,context:e,children:r,tag:s},i}function Ff(n,t){if(pt(n.error)&&L(n.errorComp))return n.errorComp;if(L(n.resolved))return n.resolved;var e=qi;if(e&&L(n.owners)&&n.owners.indexOf(e)===-1&&n.owners.push(e),pt(n.loading)&&L(n.loadingComp))return n.loadingComp;if(e&&!L(n.owners)){var r=n.owners=[e],s=!0,i=null,o=null;e.$on("hook:destroyed",function(){return Ue(r,e)});var a=function(f){for(var d=0,p=r.length;d<p;d++)r[d].$forceUpdate();f&&(r.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},l=ns(function(f){n.resolved=Wi(f,t),s?r.length=0:a(!0)}),c=ns(function(f){process.env.NODE_ENV!=="production"&&T("Failed to resolve async component: ".concat(String(n))+(f?`
|
|
2
|
-
Reason: `.concat(f):"")),L(n.errorComp)&&(n.error=!0,a(!0))}),u=n(l,c);return bt(u)&&(Mi(u)?G(n.resolved)&&u.then(l,c):Mi(u.component)&&(u.component.then(l,c),L(u.error)&&(n.errorComp=Wi(u.error,t)),L(u.loading)&&(n.loadingComp=Wi(u.loading,t),u.delay===0?n.loading=!0:i=setTimeout(function(){i=null,G(n.resolved)&&G(n.error)&&(n.loading=!0,a(!1))},u.delay||200)),L(u.timeout)&&(o=setTimeout(function(){o=null,G(n.resolved)&&c(process.env.NODE_ENV!=="production"?"timeout (".concat(u.timeout,"ms)"):null)},u.timeout)))),s=!1,n.loading?n.loadingComp:n.resolved}}function
|
|
3
|
-
`)+"Always create fresh vnode data objects in each render!",n),on();if(L(e)&&L(e.is)&&(t=e.is),!t)return on();process.env.NODE_ENV!=="production"&&L(e)&&L(e.key)&&!Ae(e.key)&&T("Avoid using non-primitive value as key, use string/number value instead.",n),z(r)&&ut(r[0])&&(e=e||{},e.scopedSlots={default:r[0]},r.length=0),s===gl?r=zi(r):s===Bf&&(r=mf(r));var i,o;if(typeof t=="string"){var a=void 0;o=n.$vnode&&n.$vnode.ns||nt.getTagNamespace(t),nt.isReservedTag(t)?(process.env.NODE_ENV!=="production"&&L(e)&&L(e.nativeOn)&&e.tag!=="component"&&T("The .native modifier for v-on is only valid on components but it was used on <".concat(t,">."),n),i=new Vt(nt.parsePlatformTagName(t),e,r,void 0,void 0,n)):(!e||!e.pre)&&L(a=_s(n.$options,"components",t))?i=Ol(a,e,n,r,t):i=new Vt(t,e,r,void 0,void 0,n)}else i=Ol(t,e,n,r);return z(i)?i:L(i)?(L(o)&&xl(i,o),L(e)&&Hf(e),i):on()}function xl(n,t,e){if(n.ns=t,n.tag==="foreignObject"&&(t=void 0,e=!0),L(n.children))for(var r=0,s=n.children.length;r<s;r++){var i=n.children[r];L(i.tag)&&(G(i.ns)||pt(e)&&i.tag!=="svg")&&xl(i,t,e)}}function Hf(n){bt(n.style)&&ps(n.style),bt(n.class)&&ps(n.class)}function ze(n,t,e){An();try{if(t)for(var r=t;r=r.$parent;){var s=r.$options.errorCaptured;if(s)for(var i=0;i<s.length;i++)try{var o=s[i].call(r,n,t,e)===!1;if(o)return}catch(a){ml(a,r,"errorCaptured hook")}}ml(n,t,e)}finally{Sn()}}function Ze(n,t,e,r,s){var i;try{i=e?n.apply(t,e):n.call(t),i&&!i._isVue&&Mi(i)&&!i._handled&&(i.catch(function(o){return ze(o,r,s+" (Promise/async)")}),i._handled=!0)}catch(o){ze(o,r,s)}return i}function ml(n,t,e){if(nt.errorHandler)try{return nt.errorHandler.call(null,n,t,e)}catch(r){r!==n&&_l(r,null,"config.errorHandler")}_l(n,t,e)}function _l(n,t,e){if(process.env.NODE_ENV!=="production"&&T("Error in ".concat(e,': "').concat(n.toString(),'"'),t),jt&&typeof console<"u")console.error(n);else throw n}var Ki=!1,Yi=[],Xi=!1;function fs(){Xi=!1;var n=Yi.slice(0);Yi.length=0;for(var t=0;t<n.length;t++)n[t]()}var pr;if(typeof Promise<"u"&&sn(Promise)){var Gf=Promise.resolve();pr=function(){Gf.then(fs),of&&setTimeout(yt)},Ki=!0}else if(!En&&typeof MutationObserver<"u"&&(sn(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var ds=1,jf=new MutationObserver(fs),Ll=document.createTextNode(String(ds));jf.observe(Ll,{characterData:!0}),pr=function(){ds=(ds+1)%2,Ll.data=String(ds)},Ki=!0}else typeof setImmediate<"u"&&sn(setImmediate)?pr=function(){setImmediate(fs)}:pr=function(){setTimeout(fs,0)};function Qi(n,t){var e;if(Yi.push(function(){if(n)try{n.call(t)}catch(r){ze(r,t,"nextTick")}else e&&e(t)}),Xi||(Xi=!0,pr()),!n&&typeof Promise<"u")return new Promise(function(r){e=r})}var Vf="2.7.14",vl=new ur;function ps(n){return gs(n,vl),vl.clear(),n}function gs(n,t){var e,r,s=z(n);if(!(!s&&!bt(n)||n.__v_skip||Object.isFrozen(n)||n instanceof Vt)){if(n.__ob__){var i=n.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(s)for(e=n.length;e--;)gs(n[e],t);else if(_e(n))gs(n.value,t);else for(r=Object.keys(n),e=r.length;e--;)gs(n[r[e]],t)}}var zf=0,Ji=function(){function n(t,e,r,s,i){pf(this,Yt&&!Yt._vm?Yt:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),s?(this.deep=!!s.deep,this.user=!!s.user,this.lazy=!!s.lazy,this.sync=!!s.sync,this.before=s.before,process.env.NODE_ENV!=="production"&&(this.onTrack=s.onTrack,this.onTrigger=s.onTrigger)):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++zf,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ur,this.newDepIds=new ur,this.expression=process.env.NODE_ENV!=="production"?e.toString():"",ut(e)?this.getter=e:(this.getter=rf(e),this.getter||(this.getter=yt,process.env.NODE_ENV!=="production"&&T('Failed watching path: "'.concat(e,'" ')+"Watcher only accepts simple dot-delimited paths. For full control, use a function instead.",t))),this.value=this.lazy?void 0:this.get()}return n.prototype.get=function(){An(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(r){if(this.user)ze(r,e,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&ps(t),Sn(),this.cleanupDeps()}return t},n.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},n.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},n.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ad(this)},n.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||bt(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ze(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},n.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},n.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},n.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ue(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},n}(),Le,xs;if(process.env.NODE_ENV!=="production"){var Re=jt&&window.performance;Re&&Re.mark&&Re.measure&&Re.clearMarks&&Re.clearMeasures&&(Le=function(n){return Re.mark(n)},xs=function(n,t,e){Re.measure(n,t,e),Re.clearMarks(t),Re.clearMarks(e)})}function Zf(n){n._events=Object.create(null),n._hasHookEvent=!1;var t=n.$options._parentListeners;t&&yl(n,t)}var gr;function qf(n,t){gr.$on(n,t)}function Wf(n,t){gr.$off(n,t)}function Kf(n,t){var e=gr;return function r(){var s=t.apply(null,arguments);s!==null&&e.$off(n,r)}}function yl(n,t,e){gr=n,il(t,e||{},qf,Wf,Kf,n),gr=void 0}function Yf(n){var t=/^hook:/;n.prototype.$on=function(e,r){var s=this;if(z(e))for(var i=0,o=e.length;i<o;i++)s.$on(e[i],r);else(s._events[e]||(s._events[e]=[])).push(r),t.test(e)&&(s._hasHookEvent=!0);return s},n.prototype.$once=function(e,r){var s=this;function i(){s.$off(e,i),r.apply(s,arguments)}return i.fn=r,s.$on(e,i),s},n.prototype.$off=function(e,r){var s=this;if(!arguments.length)return s._events=Object.create(null),s;if(z(e)){for(var i=0,o=e.length;i<o;i++)s.$off(e[i],r);return s}var a=s._events[e];if(!a)return s;if(!r)return s._events[e]=null,s;for(var l,c=a.length;c--;)if(l=a[c],l===r||l.fn===r){a.splice(c,1);break}return s},n.prototype.$emit=function(e){var r=this;if(process.env.NODE_ENV!=="production"){var s=e.toLowerCase();s!==e&&r._events[s]&&lo('Event "'.concat(s,'" is emitted in component ')+"".concat(ln(r),' but the handler is registered for "').concat(e,'". ')+"Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. "+'You should probably use "'.concat(nn(e),'" instead of "').concat(e,'".'))}var i=r._events[e];if(i){i=i.length>1?$i(i):i;for(var o=$i(arguments,1),a='event handler for "'.concat(e,'"'),l=0,c=i.length;l<c;l++)Ze(i[l],r,o,r,a)}return r}}var an=null,xr=!1;function Cl(n){var t=an;return an=n,function(){an=t}}function Xf(n){var t=n.$options,e=t.parent;if(e&&!t.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(n)}n.$parent=e,n.$root=e?e.$root:n,n.$children=[],n.$refs={},n._provided=e?e._provided:Object.create(null),n._watcher=null,n._inactive=null,n._directInactive=!1,n._isMounted=!1,n._isDestroyed=!1,n._isBeingDestroyed=!1}function Qf(n){n.prototype._update=function(t,e){var r=this,s=r.$el,i=r._vnode,o=Cl(r);r._vnode=t,i?r.$el=r.__patch__(i,t):r.$el=r.__patch__(r.$el,t,e,!1),o(),s&&(s.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},n.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},n.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Xt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;e&&!e._isBeingDestroyed&&!t.$options.abstract&&Ue(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Xt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Jf(n,t,e){n.$el=t,n.$options.render||(n.$options.render=on,process.env.NODE_ENV!=="production"&&(n.$options.template&&n.$options.template.charAt(0)!=="#"||n.$options.el||t?T("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",n):T("Failed to mount component: template or render function not defined.",n))),Xt(n,"beforeMount");var r;process.env.NODE_ENV!=="production"&&nt.performance&&Le?r=function(){var a=n._name,l=n._uid,c="vue-perf-start:".concat(l),u="vue-perf-end:".concat(l);Le(c);var f=n._render();Le(u),xs("vue ".concat(a," render"),c,u),Le(c),n._update(f,e),Le(u),xs("vue ".concat(a," patch"),c,u)}:r=function(){n._update(n._render(),e)};var s={before:function(){n._isMounted&&!n._isDestroyed&&Xt(n,"beforeUpdate")}};process.env.NODE_ENV!=="production"&&(s.onTrack=function(a){return Xt(n,"renderTracked",[a])},s.onTrigger=function(a){return Xt(n,"renderTriggered",[a])}),new Ji(n,r,yt,s,!0),e=!1;var i=n._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return n.$vnode==null&&(n._isMounted=!0,Xt(n,"mounted")),n}function td(n,t,e,r,s){process.env.NODE_ENV!=="production"&&(xr=!0);var i=r.data.scopedSlots,o=n.$scopedSlots,a=!!(i&&!i.$stable||o!==It&&!o.$stable||i&&n.$scopedSlots.$key!==i.$key||!i&&n.$scopedSlots.$key),l=!!(s||n.$options._renderChildren||a),c=n.$vnode;n.$options._parentVnode=r,n.$vnode=r,n._vnode&&(n._vnode.parent=r),n.$options._renderChildren=s;var u=r.data.attrs||It;n._attrsProxy&&us(n._attrsProxy,u,c.data&&c.data.attrs||It,n,"$attrs")&&(l=!0),n.$attrs=u,e=e||It;var f=n.$options._parentListeners;if(n._listenersProxy&&us(n._listenersProxy,e,f||It,n,"$listeners"),n.$listeners=n.$options._parentListeners=e,yl(n,e,f),t&&n.$options.props){je(!1);for(var d=n._props,p=n.$options._propKeys||[],w=0;w<p.length;w++){var I=p[w],q=n.$options.props;d[I]=fo(I,q,t,n)}je(!0),n.$options.propsData=t}l&&(n.$slots=Zi(s,r.context),n.$forceUpdate()),process.env.NODE_ENV!=="production"&&(xr=!1)}function El(n){for(;n&&(n=n.$parent);)if(n._inactive)return!0;return!1}function to(n,t){if(t){if(n._directInactive=!1,El(n))return}else if(n._directInactive)return;if(n._inactive||n._inactive===null){n._inactive=!1;for(var e=0;e<n.$children.length;e++)to(n.$children[e]);Xt(n,"activated")}}function bl(n,t){if(!(t&&(n._directInactive=!0,El(n)))&&!n._inactive){n._inactive=!0;for(var e=0;e<n.$children.length;e++)bl(n.$children[e]);Xt(n,"deactivated")}}function Xt(n,t,e,r){r===void 0&&(r=!0),An();var s=wn;r&&Ge(n);var i=n.$options[t],o="".concat(t," hook");if(i)for(var a=0,l=i.length;a<l;a++)Ze(i[a],n,e||null,n,o);n._hasHookEvent&&n.$emit("hook:"+t),r&&Ge(s),Sn()}var ed=100,ke=[],eo=[],mr={},ms={},no=!1,ro=!1,Rn=0;function nd(){Rn=ke.length=eo.length=0,mr={},process.env.NODE_ENV!=="production"&&(ms={}),no=ro=!1}var wl=0,so=Date.now;if(jt&&!En){var io=window.performance;io&&typeof io.now=="function"&&so()>document.createEvent("Event").timeStamp&&(so=function(){return io.now()})}var rd=function(n,t){if(n.post){if(!t.post)return 1}else if(t.post)return-1;return n.id-t.id};function Tl(){wl=so(),ro=!0;var n,t;for(ke.sort(rd),Rn=0;Rn<ke.length;Rn++)if(n=ke[Rn],n.before&&n.before(),t=n.id,mr[t]=null,n.run(),process.env.NODE_ENV!=="production"&&mr[t]!=null&&(ms[t]=(ms[t]||0)+1,ms[t]>ed)){T("You may have an infinite update loop "+(n.user?'in watcher with expression "'.concat(n.expression,'"'):"in a component render function."),n.vm);break}var e=eo.slice(),r=ke.slice();nd(),od(e),sd(r),lf(),is&&nt.devtools&&is.emit("flush")}function sd(n){for(var t=n.length;t--;){var e=n[t],r=e.vm;r&&r._watcher===e&&r._isMounted&&!r._isDestroyed&&Xt(r,"updated")}}function id(n){n._inactive=!1,eo.push(n)}function od(n){for(var t=0;t<n.length;t++)n[t]._inactive=!0,to(n[t],!0)}function ad(n){var t=n.id;if(mr[t]==null&&!(n===he.target&&n.noRecurse)){if(mr[t]=!0,!ro)ke.push(n);else{for(var e=ke.length-1;e>Rn&&ke[e].id>n.id;)e--;ke.splice(e+1,0,n)}if(!no){if(no=!0,process.env.NODE_ENV!=="production"&&!nt.async){Tl();return}Qi(Tl)}}}function ld(n){var t=n.$options.provide;if(t){var e=ut(t)?t.call(n):t;if(!bt(e))return;for(var r=gf(n),s=cr?Reflect.ownKeys(e):Object.keys(e),i=0;i<s.length;i++){var o=s[i];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(e,o))}}}function cd(n){var t=Al(n.$options.inject,n);t&&(je(!1),Object.keys(t).forEach(function(e){process.env.NODE_ENV!=="production"?fe(n,e,t[e],function(){T("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(e,'"'),n)}):fe(n,e,t[e])}),je(!0))}function Al(n,t){if(n){for(var e=Object.create(null),r=cr?Reflect.ownKeys(n):Object.keys(n),s=0;s<r.length;s++){var i=r[s];if(i!=="__ob__"){var o=n[i].from;if(o in t._provided)e[i]=t._provided[o];else if("default"in n[i]){var a=n[i].default;e[i]=ut(a)?a.call(t):a}else process.env.NODE_ENV!=="production"&&T('Injection "'.concat(i,'" not found'),t)}}return e}}function oo(n,t,e,r,s){var i=this,o=s.options,a;wt(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=pt(o._compiled),c=!l;this.data=n,this.props=t,this.children=e,this.parent=r,this.listeners=n.on||It,this.injections=Al(o.inject,r),this.slots=function(){return i.$slots||dr(r,n.scopedSlots,i.$slots=Zi(e,r)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dr(r,n.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=dr(r,n.scopedSlots,this.$slots)),o._scopeId?this._c=function(u,f,d,p){var w=hs(a,u,f,d,p,c);return w&&!z(w)&&(w.fnScopeId=o._scopeId,w.fnContext=r),w}:this._c=function(u,f,d,p){return hs(a,u,f,d,p,c)}}fl(oo.prototype);function ud(n,t,e,r,s){var i=n.options,o={},a=i.props;if(L(a))for(var l in a)o[l]=fo(l,a,t||It);else L(e.attrs)&&Rl(o,e.attrs),L(e.props)&&Rl(o,e.props);var c=new oo(e,o,s,r,n),u=i.render.call(null,c._c,c);if(u instanceof Vt)return Sl(u,e,c.parent,i,c);if(z(u)){for(var f=zi(u)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=Sl(f[p],e,c.parent,i,c);return d}}function Sl(n,t,e,r,s){var i=Bi(n);return i.fnContext=e,i.fnOptions=r,process.env.NODE_ENV!=="production"&&((i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=s),t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Rl(n,t){for(var e in t)n[en(e)]=t[e]}function kn(n){return n.name||n.__name||n._componentTag}var ao={init:function(n,t){if(n.componentInstance&&!n.componentInstance._isDestroyed&&n.data.keepAlive){var e=n;ao.prepatch(e,e)}else{var r=n.componentInstance=hd(n,an);r.$mount(t?n.elm:void 0,t)}},prepatch:function(n,t){var e=t.componentOptions,r=t.componentInstance=n.componentInstance;td(r,e.propsData,e.listeners,t,e.children)},insert:function(n){var t=n.context,e=n.componentInstance;e._isMounted||(e._isMounted=!0,Xt(e,"mounted")),n.data.keepAlive&&(t._isMounted?id(e):to(e,!0))},destroy:function(n){var t=n.componentInstance;t._isDestroyed||(n.data.keepAlive?bl(t,!0):t.$destroy())}},kl=Object.keys(ao);function Ol(n,t,e,r,s){if(!G(n)){var i=e.$options._base;if(bt(n)&&(n=i.extend(n)),typeof n!="function"){process.env.NODE_ENV!=="production"&&T("Invalid Component definition: ".concat(String(n)),e);return}var o;if(G(n.cid)&&(o=n,n=Ff(o,i),n===void 0))return Df(o,t,e,r,s);t=t||{},mo(n),L(t.model)&&pd(n.options,t);var a=xf(t,n,s);if(pt(n.options.functional))return ud(n,a,t,e,r);var l=t.on;if(t.on=t.nativeOn,pt(n.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}fd(t);var u=kn(n.options)||s,f=new Vt("vue-component-".concat(n.cid).concat(u?"-".concat(u):""),t,void 0,void 0,void 0,e,{Ctor:n,propsData:a,listeners:l,tag:s,children:r},o);return f}}function hd(n,t){var e={_isComponent:!0,_parentVnode:n,parent:t},r=n.data.inlineTemplate;return L(r)&&(e.render=r.render,e.staticRenderFns=r.staticRenderFns),new n.componentOptions.Ctor(e)}function fd(n){for(var t=n.hook||(n.hook={}),e=0;e<kl.length;e++){var r=kl[e],s=t[r],i=ao[r];s!==i&&!(s&&s._merged)&&(t[r]=s?dd(i,s):i)}}function dd(n,t){var e=function(r,s){n(r,s),t(r,s)};return e._merged=!0,e}function pd(n,t){var e=n.model&&n.model.prop||"value",r=n.model&&n.model.event||"input";(t.attrs||(t.attrs={}))[e]=t.model.value;var s=t.on||(t.on={}),i=s[r],o=t.model.callback;L(i)?(z(i)?i.indexOf(o)===-1:i!==o)&&(s[r]=[o].concat(i)):s[r]=o}var T=yt,lo=yt,co,ln;if(process.env.NODE_ENV!=="production"){var Nl=typeof console<"u",gd=/(?:^|[-_])(\w)/g,xd=function(n){return n.replace(gd,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")};T=function(n,t){t===void 0&&(t=wn);var e=t?co(t):"";nt.warnHandler?nt.warnHandler.call(null,n,t,e):Nl&&!nt.silent&&console.error("[Vue warn]: ".concat(n).concat(e))},lo=function(n,t){Nl&&!nt.silent&&console.warn("[Vue tip]: ".concat(n)+(t?co(t):""))},ln=function(n,t){if(n.$root===n)return"<Root>";var e=ut(n)&&n.cid!=null?n.options:n._isVue?n.$options||n.constructor.options:n,r=kn(e),s=e.__file;if(!r&&s){var i=s.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<".concat(xd(r),">"):"<Anonymous>")+(s&&t!==!1?" at ".concat(s):"")};var md=function(n,t){for(var e="";t;)t%2===1&&(e+=n),t>1&&(n+=n),t>>=1;return e};co=function(n){if(n._isVue&&n.$parent){for(var t=[],e=0;n;){if(t.length>0){var r=t[t.length-1];if(r.constructor===n.constructor){e++,n=n.$parent;continue}else e>0&&(t[t.length-1]=[r,e],e=0)}t.push(n),n=n.$parent}return`
|
|
1
|
+
(function(Wt,Ot){typeof exports=="object"&&typeof module<"u"?Ot(exports):typeof define=="function"&&define.amd?define(["exports"],Ot):(Wt=typeof globalThis<"u"?globalThis:Wt||self,Ot(Wt["@zenuml/core"]={}))})(this,function(Wt){"use strict";var mb=Object.defineProperty;var _b=(Wt,Ot,Je)=>Ot in Wt?mb(Wt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Wt[Ot]=Je;var et=(Wt,Ot,Je)=>(_b(Wt,typeof Ot!="symbol"?Ot+"":Ot,Je),Je);var Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var I2=P2;function P2(n,t,e){var r=e&&e.stringify||Je,s=1;if(typeof n=="object"&&n!==null){var i=t.length+s;if(i===1)return n;var o=new Array(i);o[0]=r(n);for(var a=1;a<i;a++)o[a]=r(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-s,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var w=typeof t[u];if(w==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(w==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=r(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const P1=I2;var M2=me;const rr=z2().console||{},$2={mapHttpRequest:Jr,mapHttpResponse:Jr,wrapRequestSerializer:Pi,wrapResponseSerializer:Pi,wrapErrorSerializer:Pi,req:Jr,res:Jr,err:H2};function D2(n,t){return Array.isArray(n)?n.filter(function(r){return r!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function me(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||rr;n.browser.write&&(n.browser.asObject=!0);const r=n.serializers||{},s=D2(n.browser.serialize,r);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=sr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:s,asObject:n.browser.asObject,levels:o,timestamp:G2(n)};l.levels=me.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=sr,l.serializers=r,l._serialize=s,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=Ii());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,yn(c,l,"error","log"),yn(c,l,"fatal","error"),yn(c,l,"warn","error"),yn(c,l,"info","log"),yn(c,l,"debug","log"),yn(c,l,"trace","log")}function p(w,I){if(!w)throw new Error("missing bindings for child Pino");I=I||{},s&&w.serializers&&(I.serializers=w.serializers);const q=I.serializers;if(s&&q){var $=Object.assign({},r,q),j=n.browser.serialize===!0?Object.keys($):s;delete w.serializers,Qr([w],j,$,this._stdErrSerialize)}function ot(Y){this._childLevel=(Y._childLevel|0)+1,this.error=Cn(Y,w,"error"),this.fatal=Cn(Y,w,"fatal"),this.warn=Cn(Y,w,"warn"),this.info=Cn(Y,w,"info"),this.debug=Cn(Y,w,"debug"),this.trace=Cn(Y,w,"trace"),$&&(this.serializers=$,this._serialize=j),t&&(this._logEvent=Ii([].concat(Y._logEvent.bindings,w)))}return ot.prototype=this,new ot(this)}return l}me.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},me.stdSerializers=$2,me.stdTimeFunctions=Object.assign({},{nullTime:M1,epochTime:$1,unixTime:j2,isoTime:V2});function yn(n,t,e,r){const s=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?sr:s[e]?s[e]:rr[e]||rr[r]||sr,F2(n,t,e)}function F2(n,t,e){!n.transmit&&t[e]===sr||(t[e]=function(r){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===rr?rr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Qr(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?r.call(a,B2(this,e,o,i)):r.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=me.levels.values[c],f=me.levels.values[e];if(f<u)return;U2(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:me.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function B2(n,t,e,r){n._serialize&&Qr(e,n._serialize,n.serializers,n._stdErrSerialize);const s=e.slice();let i=s[0];const o={};r&&(o.time=r),o.level=me.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof s[0]=="object";)Object.assign(o,s.shift());i=s.length?P1(s.shift(),s):void 0}else typeof i=="string"&&(i=P1(s.shift(),s));return i!==void 0&&(o.msg=i),o}function Qr(n,t,e,r){for(const s in n)if(r&&n[s]instanceof Error)n[s]=me.stdSerializers.err(n[s]);else if(typeof n[s]=="object"&&!Array.isArray(n[s]))for(const i in n[s])t&&t.indexOf(i)>-1&&i in e&&(n[s][i]=e[i](n[s][i]))}function Cn(n,t,e){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var s=1;s<r.length;s++)r[s]=arguments[s-1];return n[e].apply(this,r)}}function U2(n,t,e){const r=t.send,s=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Qr(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=s,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,r(i,n._logEvent,a),n._logEvent=Ii(l)}function Ii(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function H2(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function G2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?M1:$1}function Jr(){return{}}function Pi(n){return n}function sr(){}function M1(){return!1}function $1(){return Date.now()}function j2(){return Math.round(Date.now()/1e3)}function V2(){return new Date(Date.now()).toISOString()}function z2(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const Z2=M2({level:"warn"}),D1=["log","trace","debug","info","warn","error"];function q2(n,t){n[t]=(console[t]||console.log).bind(console)}function W2(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function K2(n){D1.forEach(e=>q2(n,e));const t=n.child;return n.child=function(e){const r=t.call(n,e);return D1.forEach(s=>W2(r,s,["%c"+e.name||"","color: #00f"])),r},n}let ir=K2(Z2);var Pt=Object.freeze({}),z=Array.isArray;function G(n){return n==null}function L(n){return n!=null}function pt(n){return n===!0}function Y2(n){return n===!1}function Ae(n){return typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="boolean"}function ut(n){return typeof n=="function"}function bt(n){return n!==null&&typeof n=="object"}var ts=Object.prototype.toString;function or(n){return ts.call(n).slice(8,-1)}function Mt(n){return ts.call(n)==="[object Object]"}function F1(n){return ts.call(n)==="[object RegExp]"}function B1(n){var t=parseFloat(String(n));return t>=0&&Math.floor(t)===t&&isFinite(n)}function Mi(n){return L(n)&&typeof n.then=="function"&&typeof n.catch=="function"}function X2(n){return n==null?"":Array.isArray(n)||Mt(n)&&n.toString===ts?JSON.stringify(n,null,2):String(n)}function ar(n){var t=parseFloat(n);return isNaN(t)?n:t}function Kt(n,t){for(var e=Object.create(null),r=n.split(","),s=0;s<r.length;s++)e[r[s]]=!0;return t?function(i){return e[i.toLowerCase()]}:function(i){return e[i]}}var Q2=Kt("slot,component",!0),U1=Kt("key,ref,slot,slot-scope,is");function Ue(n,t){var e=n.length;if(e){if(t===n[e-1]){n.length=e-1;return}var r=n.indexOf(t);if(r>-1)return n.splice(r,1)}}var J2=Object.prototype.hasOwnProperty;function wt(n,t){return J2.call(n,t)}function tn(n){var t=Object.create(null);return function(r){var s=t[r];return s||(t[r]=n(r))}}var tf=/-(\w)/g,en=tn(function(n){return n.replace(tf,function(t,e){return e?e.toUpperCase():""})}),H1=tn(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),ef=/\B([A-Z])/g,nn=tn(function(n){return n.replace(ef,"-$1").toLowerCase()});function nf(n,t){function e(r){var s=arguments.length;return s?s>1?n.apply(t,arguments):n.call(t,r):n.call(t)}return e._length=n.length,e}function rf(n,t){return n.bind(t)}var G1=Function.prototype.bind?rf:nf;function $i(n,t){t=t||0;for(var e=n.length-t,r=new Array(e);e--;)r[e]=n[e+t];return r}function lt(n,t){for(var e in t)n[e]=t[e];return n}function j1(n){for(var t={},e=0;e<n.length;e++)n[e]&<(t,n[e]);return t}function yt(n,t,e){}var es=function(n,t,e){return!1},V1=function(n){return n};function rn(n,t){if(n===t)return!0;var e=bt(n),r=bt(t);if(e&&r)try{var s=Array.isArray(n),i=Array.isArray(t);if(s&&i)return n.length===t.length&&n.every(function(l,c){return rn(l,t[c])});if(n instanceof Date&&t instanceof Date)return n.getTime()===t.getTime();if(!s&&!i){var o=Object.keys(n),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return rn(n[l],t[l])})}else return!1}catch{return!1}else return!e&&!r?String(n)===String(t):!1}function z1(n,t){for(var e=0;e<n.length;e++)if(rn(n[e],t))return e;return-1}function ns(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function sf(n,t){return n===t?n===0&&1/n!==1/t:n===n||t===t}var Z1="data-server-rendered",rs=["component","directive","filter"],q1=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],nt={optionMergeStrategies:Object.create(null),silent:!1,productionTip:process.env.NODE_ENV!=="production",devtools:process.env.NODE_ENV!=="production",performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:es,isReservedAttr:es,isUnknownElement:es,getTagNamespace:yt,parsePlatformTagName:V1,mustUseProp:es,async:!0,_lifecycleHooks:q1},W1=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Di(n){var t=(n+"").charCodeAt(0);return t===36||t===95}function He(n,t,e,r){Object.defineProperty(n,t,{value:e,enumerable:!!r,writable:!0,configurable:!0})}var of=new RegExp("[^".concat(W1.source,".$_\\d]"));function af(n){if(!of.test(n)){var t=n.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var lf="__proto__"in{},jt=typeof window<"u",se=jt&&window.navigator.userAgent.toLowerCase(),En=se&&/msie|trident/.test(se),bn=se&&se.indexOf("msie 9.0")>0,K1=se&&se.indexOf("edge/")>0;se&&se.indexOf("android")>0;var cf=se&&/iphone|ipad|ipod|ios/.test(se),Y1=se&&se.match(/firefox\/(\d+)/),Fi={}.watch,X1=!1;if(jt)try{var Q1={};Object.defineProperty(Q1,"passive",{get:function(){X1=!0}}),window.addEventListener("test-passive",null,Q1)}catch{}var ss,lr=function(){return ss===void 0&&(!jt&&typeof global<"u"?ss=global.process&&global.process.env.VUE_ENV==="server":ss=!1),ss},is=jt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(n){return typeof n=="function"&&/native code/.test(n.toString())}var cr=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),ur;typeof Set<"u"&&sn(Set)?ur=Set:ur=function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(t){return this.set[t]===!0},n.prototype.add=function(t){this.set[t]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var wn=null;function Ge(n){n===void 0&&(n=null),n||wn&&wn._scope.off(),wn=n,n&&n._scope.on()}var Vt=function(){function n(t,e,r,s,i,o,a,l){this.tag=t,this.data=e,this.children=r,this.text=s,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(n.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),n}(),on=function(n){n===void 0&&(n="");var t=new Vt;return t.text=n,t.isComment=!0,t};function Tn(n){return new Vt(void 0,void 0,void 0,String(n))}function Bi(n){var t=new Vt(n.tag,n.data,n.children&&n.children.slice(),n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.asyncMeta=n.asyncMeta,t.isCloned=!0,t}var os=function(){return os=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},os.apply(this,arguments)},uf=0,as=[],hf=function(){for(var n=0;n<as.length;n++){var t=as[n];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}as.length=0},he=function(){function n(){this._pending=!1,this.id=uf++,this.subs=[]}return n.prototype.addSub=function(t){this.subs.push(t)},n.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,as.push(this))},n.prototype.depend=function(t){n.target&&(n.target.addDep(this),process.env.NODE_ENV!=="production"&&t&&n.target.onTrack&&n.target.onTrack(os({effect:n.target},t)))},n.prototype.notify=function(t){var e=this.subs.filter(function(o){return o});process.env.NODE_ENV!=="production"&&!nt.async&&e.sort(function(o,a){return o.id-a.id});for(var r=0,s=e.length;r<s;r++){var i=e[r];process.env.NODE_ENV!=="production"&&t&&i.onTrigger&&i.onTrigger(os({effect:e[r]},t)),i.update()}},n}();he.target=null;var ls=[];function An(n){ls.push(n),he.target=n}function Sn(){ls.pop(),he.target=ls[ls.length-1]}var J1=Array.prototype,cs=Object.create(J1),ff=["push","pop","shift","unshift","splice","sort","reverse"];ff.forEach(function(n){var t=J1[n];He(cs,n,function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var i=t.apply(this,r),o=this.__ob__,a;switch(n){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),process.env.NODE_ENV!=="production"?o.dep.notify({type:"array mutation",target:this,key:n}):o.dep.notify(),i})});var tl=Object.getOwnPropertyNames(cs),el={},Ui=!0;function je(n){Ui=n}var df={notify:yt,depend:yt,addSub:yt,removeSub:yt},nl=function(){function n(t,e,r){if(e===void 0&&(e=!1),r===void 0&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?df:new he,this.vmCount=0,He(t,"__ob__",this),z(t)){if(!r)if(lf)t.__proto__=cs;else for(var s=0,i=tl.length;s<i;s++){var o=tl[s];He(t,o,cs[o])}e||this.observeArray(t)}else for(var a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];fe(t,o,el,void 0,e,r)}}return n.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Se(t[e],!1,this.mock)},n}();function Se(n,t,e){if(n&&wt(n,"__ob__")&&n.__ob__ instanceof nl)return n.__ob__;if(Ui&&(e||!lr())&&(z(n)||Mt(n))&&Object.isExtensible(n)&&!n.__v_skip&&!_e(n)&&!(n instanceof Vt))return new nl(n,t,e)}function fe(n,t,e,r,s,i){var o=new he,a=Object.getOwnPropertyDescriptor(n,t);if(!(a&&a.configurable===!1)){var l=a&&a.get,c=a&&a.set;(!l||c)&&(e===el||arguments.length===2)&&(e=n[t]);var u=!s&&Se(e,!1,i);return Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var d=l?l.call(n):e;return he.target&&(process.env.NODE_ENV!=="production"?o.depend({target:n,type:"get",key:t}):o.depend(),u&&(u.dep.depend(),z(d)&&sl(d))),_e(d)&&!s?d.value:d},set:function(d){var p=l?l.call(n):e;if(sf(p,d)){if(process.env.NODE_ENV!=="production"&&r&&r(),c)c.call(n,d);else{if(l)return;if(!s&&_e(p)&&!_e(d)){p.value=d;return}else e=d}u=!s&&Se(d,!1,i),process.env.NODE_ENV!=="production"?o.notify({type:"set",target:n,key:t,newValue:d,oldValue:p}):o.notify()}}}),o}}function Hi(n,t,e){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot set reactive property on undefined, null, or primitive value: ".concat(n)),Gi(n)){process.env.NODE_ENV!=="production"&&T('Set operation on key "'.concat(t,'" failed: target is readonly.'));return}var r=n.__ob__;return z(n)&&B1(t)?(n.length=Math.max(n.length,t),n.splice(t,1,e),r&&!r.shallow&&r.mock&&Se(e,!1,!0),e):t in n&&!(t in Object.prototype)?(n[t]=e,e):n._isVue||r&&r.vmCount?(process.env.NODE_ENV!=="production"&&T("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),e):r?(fe(r.value,t,e,void 0,r.shallow,r.mock),process.env.NODE_ENV!=="production"?r.dep.notify({type:"add",target:n,key:t,newValue:e,oldValue:void 0}):r.dep.notify(),e):(n[t]=e,e)}function rl(n,t){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot delete reactive property on undefined, null, or primitive value: ".concat(n)),z(n)&&B1(t)){n.splice(t,1);return}var e=n.__ob__;if(n._isVue||e&&e.vmCount){process.env.NODE_ENV!=="production"&&T("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Gi(n)){process.env.NODE_ENV!=="production"&&T('Delete operation on key "'.concat(t,'" failed: target is readonly.'));return}wt(n,t)&&(delete n[t],e&&(process.env.NODE_ENV!=="production"?e.dep.notify({type:"delete",target:n,key:t}):e.dep.notify()))}function sl(n){for(var t=void 0,e=0,r=n.length;e<r;e++)t=n[e],t&&t.__ob__&&t.__ob__.dep.depend(),z(t)&&sl(t)}function il(n){return pf(n,!0),He(n,"__v_isShallow",!0),n}function pf(n,t){if(!Gi(n)){if(process.env.NODE_ENV!=="production"){z(n)&&T("Avoid using Array as root value for ".concat(t?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(t?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var e=n&&n.__ob__;e&&e.shallow!==t&&T("Target is already a ".concat(e.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(t?"":"non-","shallow."))}var r=Se(n,t,lr());process.env.NODE_ENV!=="production"&&!r&&((n==null||Ae(n))&&T("value cannot be made reactive: ".concat(String(n))),gf(n)&&T("Vue 2 does not support reactive collection types such as Map or Set."))}}function Gi(n){return!!(n&&n.__v_isReadonly)}function gf(n){var t=or(n);return t==="Map"||t==="WeakMap"||t==="Set"||t==="WeakSet"}function _e(n){return!!(n&&n.__v_isRef===!0)}function ji(n,t,e){Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var r=t[e];if(_e(r))return r.value;var s=r&&r.__ob__;return s&&s.dep.depend(),r},set:function(r){var s=t[e];_e(s)&&!_e(r)?s.value=r:t[e]=r}})}var Yt,xf=function(){function n(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}return n.prototype.run=function(t){if(this.active){var e=Yt;try{return Yt=this,t()}finally{Yt=e}}else process.env.NODE_ENV!=="production"&&T("cannot run an inactive effect scope.")},n.prototype.on=function(){Yt=this},n.prototype.off=function(){Yt=this.parent},n.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}},n}();function mf(n,t){t===void 0&&(t=Yt),t&&t.active&&t.effects.push(n)}function _f(n){var t=n._provided,e=n.$parent&&n.$parent._provided;return e===t?n._provided=Object.create(e):t}var ol=tn(function(n){var t=n.charAt(0)==="&";n=t?n.slice(1):n;var e=n.charAt(0)==="~";n=e?n.slice(1):n;var r=n.charAt(0)==="!";return n=r?n.slice(1):n,{name:n,once:e,capture:r,passive:t}});function Vi(n,t){function e(){var r=e.fns;if(z(r))for(var s=r.slice(),i=0;i<s.length;i++)Ze(s[i],null,arguments,t,"v-on handler");else return Ze(r,null,arguments,t,"v-on handler")}return e.fns=n,e}function al(n,t,e,r,s,i){var o,a,l,c;for(o in n)a=n[o],l=t[o],c=ol(o),G(a)?process.env.NODE_ENV!=="production"&&T('Invalid handler for event "'.concat(c.name,'": got ')+String(a),i):G(l)?(G(a.fns)&&(a=n[o]=Vi(a,i)),pt(c.once)&&(a=n[o]=s(c.name,a,c.capture)),e(c.name,a,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,n[o]=l);for(o in t)G(n[o])&&(c=ol(o),r(c.name,t[o],c.capture))}function Ve(n,t,e){n instanceof Vt&&(n=n.data.hook||(n.data.hook={}));var r,s=n[t];function i(){e.apply(this,arguments),Ue(r.fns,i)}G(s)?r=Vi([i]):L(s.fns)&&pt(s.merged)?(r=s,r.fns.push(i)):r=Vi([s,i]),r.merged=!0,n[t]=r}function Lf(n,t,e){var r=t.options.props;if(!G(r)){var s={},i=n.attrs,o=n.props;if(L(i)||L(o))for(var a in r){var l=nn(a);if(process.env.NODE_ENV!=="production"){var c=a.toLowerCase();a!==c&&i&&wt(i,c)&&lo('Prop "'.concat(c,'" is passed to component ')+"".concat(ln(e||t),", but the declared prop name is")+' "'.concat(a,'". ')+"Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(l,'" instead of "').concat(a,'".'))}ll(s,o,a,l,!0)||ll(s,i,a,l,!1)}return s}}function ll(n,t,e,r,s){if(L(t)){if(wt(t,e))return n[e]=t[e],s||delete t[e],!0;if(wt(t,r))return n[e]=t[r],s||delete t[r],!0}return!1}function vf(n){for(var t=0;t<n.length;t++)if(z(n[t]))return Array.prototype.concat.apply([],n);return n}function zi(n){return Ae(n)?[Tn(n)]:z(n)?cl(n):void 0}function hr(n){return L(n)&&L(n.text)&&Y2(n.isComment)}function cl(n,t){var e=[],r,s,i,o;for(r=0;r<n.length;r++)s=n[r],!(G(s)||typeof s=="boolean")&&(i=e.length-1,o=e[i],z(s)?s.length>0&&(s=cl(s,"".concat(t||"","_").concat(r)),hr(s[0])&&hr(o)&&(e[i]=Tn(o.text+s[0].text),s.shift()),e.push.apply(e,s)):Ae(s)?hr(o)?e[i]=Tn(o.text+s):s!==""&&e.push(Tn(s)):hr(s)&&hr(o)?e[i]=Tn(o.text+s.text):(pt(n._isVList)&&L(s.tag)&&G(s.key)&&L(t)&&(s.key="__vlist".concat(t,"_").concat(r,"__")),e.push(s)));return e}function yf(n,t){var e=null,r,s,i,o;if(z(n)||typeof n=="string")for(e=new Array(n.length),r=0,s=n.length;r<s;r++)e[r]=t(n[r],r);else if(typeof n=="number")for(e=new Array(n),r=0;r<n;r++)e[r]=t(r+1,r);else if(bt(n))if(cr&&n[Symbol.iterator]){e=[];for(var a=n[Symbol.iterator](),l=a.next();!l.done;)e.push(t(l.value,e.length)),l=a.next()}else for(i=Object.keys(n),e=new Array(i.length),r=0,s=i.length;r<s;r++)o=i[r],e[r]=t(n[o],o,r);return L(e)||(e=[]),e._isVList=!0,e}function Cf(n,t,e,r){var s=this.$scopedSlots[n],i;s?(e=e||{},r&&(process.env.NODE_ENV!=="production"&&!bt(r)&&T("slot v-bind without argument expects an Object",this),e=lt(lt({},r),e)),i=s(e)||(ut(t)?t():t)):i=this.$slots[n]||(ut(t)?t():t);var o=e&&e.slot;return o?this.$createElement("template",{slot:o},i):i}function Ef(n){return _s(this.$options,"filters",n,!0)||V1}function ul(n,t){return z(n)?n.indexOf(t)===-1:n!==t}function bf(n,t,e,r,s){var i=nt.keyCodes[t]||e;return s&&r&&!nt.keyCodes[t]?ul(s,r):i?ul(i,n):r?nn(r)!==t:n===void 0}function wf(n,t,e,r,s){if(e)if(!bt(e))process.env.NODE_ENV!=="production"&&T("v-bind without argument expects an Object or Array value",this);else{z(e)&&(e=j1(e));var i=void 0,o=function(l){if(l==="class"||l==="style"||U1(l))i=n;else{var c=n.attrs&&n.attrs.type;i=r||nt.mustUseProp(t,c,l)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}var u=en(l),f=nn(l);if(!(u in i)&&!(f in i)&&(i[l]=e[l],s)){var d=n.on||(n.on={});d["update:".concat(l)]=function(p){e[l]=p}}};for(var a in e)o(a)}return n}function Tf(n,t){var e=this._staticTrees||(this._staticTrees=[]),r=e[n];return r&&!t||(r=e[n]=this.$options.staticRenderFns[n].call(this._renderProxy,this._c,this),hl(r,"__static__".concat(n),!1)),r}function Af(n,t,e){return hl(n,"__once__".concat(t).concat(e?"_".concat(e):""),!0),n}function hl(n,t,e){if(z(n))for(var r=0;r<n.length;r++)n[r]&&typeof n[r]!="string"&&fl(n[r],"".concat(t,"_").concat(r),e);else fl(n,t,e)}function fl(n,t,e){n.isStatic=!0,n.key=t,n.isOnce=e}function Sf(n,t){if(t)if(!Mt(t))process.env.NODE_ENV!=="production"&&T("v-on without argument expects an Object value",this);else{var e=n.on=n.on?lt({},n.on):{};for(var r in t){var s=e[r],i=t[r];e[r]=s?[].concat(s,i):i}}return n}function dl(n,t,e,r){t=t||{$stable:!e};for(var s=0;s<n.length;s++){var i=n[s];z(i)?dl(i,t,e):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Rf(n,t){for(var e=0;e<t.length;e+=2){var r=t[e];typeof r=="string"&&r?n[t[e]]=t[e+1]:process.env.NODE_ENV!=="production"&&r!==""&&r!==null&&T("Invalid value for dynamic directive argument (expected string or null): ".concat(r),this)}return n}function kf(n,t){return typeof n=="string"?t+n:n}function pl(n){n._o=Af,n._n=ar,n._s=X2,n._l=yf,n._t=Cf,n._q=rn,n._i=z1,n._m=Tf,n._f=Ef,n._k=bf,n._b=wf,n._v=Tn,n._e=on,n._u=dl,n._g=Sf,n._d=Rf,n._p=kf}function Zi(n,t){if(!n||!n.length)return{};for(var e={},r=0,s=n.length;r<s;r++){var i=n[r],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===t||i.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=e[a]||(e[a]=[]);i.tag==="template"?l.push.apply(l,i.children||[]):l.push(i)}else(e.default||(e.default=[])).push(i)}for(var c in e)e[c].every(Of)&&delete e[c];return e}function Of(n){return n.isComment&&!n.asyncFactory||n.text===" "}function fr(n){return n.isComment&&n.asyncFactory}function dr(n,t,e,r){var s,i=Object.keys(e).length>0,o=t?!!t.$stable:!i,a=t&&t.$key;if(!t)s={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==Pt&&a===r.$key&&!i&&!r.$hasNormal)return r;s={};for(var l in t)t[l]&&l[0]!=="$"&&(s[l]=Nf(n,e,l,t[l]))}for(var c in e)c in s||(s[c]=If(e,c));return t&&Object.isExtensible(t)&&(t._normalized=s),He(s,"$stable",o),He(s,"$key",a),He(s,"$hasNormal",i),s}function Nf(n,t,e,r){var s=function(){var i=wn;Ge(n);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!z(o)?[o]:zi(o);var a=o&&o[0];return Ge(i),o&&(!a||o.length===1&&a.isComment&&!fr(a))?void 0:o};return r.proxy&&Object.defineProperty(t,e,{get:s,enumerable:!0,configurable:!0}),s}function If(n,t){return function(){return n[t]}}function Pf(n){var t=n.$options,e=t.setup;if(e){var r=n._setupContext=Mf(n);Ge(n),An();var s=Ze(e,null,[n._props||il({}),r],n,"setup");if(Sn(),Ge(),ut(s))t.render=s;else if(bt(s))if(process.env.NODE_ENV!=="production"&&s instanceof Vt&&T("setup() should not return VNodes directly - return a render function instead."),n._setupState=s,s.__sfc){var o=n._setupProxy={};for(var i in s)i!=="__sfc"&&ji(o,s,i)}else for(var i in s)Di(i)?process.env.NODE_ENV!=="production"&&T("Avoid using variables that start with _ or $ in setup()."):ji(n,s,i);else process.env.NODE_ENV!=="production"&&s!==void 0&&T("setup() should return an object. Received: ".concat(s===null?"null":typeof s))}}function Mf(n){var t=!1;return{get attrs(){if(!n._attrsProxy){var e=n._attrsProxy={};He(e,"_v_attr_proxy",!0),us(e,n.$attrs,Pt,n,"$attrs")}return n._attrsProxy},get listeners(){if(!n._listenersProxy){var e=n._listenersProxy={};us(e,n.$listeners,Pt,n,"$listeners")}return n._listenersProxy},get slots(){return Df(n)},emit:G1(n.$emit,n),expose:function(e){process.env.NODE_ENV!=="production"&&(t&&T("expose() should be called only once per setup().",n),t=!0),e&&Object.keys(e).forEach(function(r){return ji(n,e,r)})}}}function us(n,t,e,r,s){var i=!1;for(var o in t)o in n?t[o]!==e[o]&&(i=!0):(i=!0,$f(n,o,r,s));for(var o in n)o in t||(i=!0,delete n[o]);return i}function $f(n,t,e,r){Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){return e[r][t]}})}function Df(n){return n._slotsProxy||gl(n._slotsProxy={},n.$scopedSlots),n._slotsProxy}function gl(n,t){for(var e in t)n[e]=t[e];for(var e in n)e in t||delete n[e]}function Ff(n){n._vnode=null,n._staticTrees=null;var t=n.$options,e=n.$vnode=t._parentVnode,r=e&&e.context;n.$slots=Zi(t._renderChildren,r),n.$scopedSlots=e?dr(n.$parent,e.data.scopedSlots,n.$slots):Pt,n._c=function(i,o,a,l){return hs(n,i,o,a,l,!1)},n.$createElement=function(i,o,a,l){return hs(n,i,o,a,l,!0)};var s=e&&e.data;process.env.NODE_ENV!=="production"?(fe(n,"$attrs",s&&s.attrs||Pt,function(){!xr&&T("$attrs is readonly.",n)},!0),fe(n,"$listeners",t._parentListeners||Pt,function(){!xr&&T("$listeners is readonly.",n)},!0)):(fe(n,"$attrs",s&&s.attrs||Pt,null,!0),fe(n,"$listeners",t._parentListeners||Pt,null,!0))}var qi=null;function Bf(n){pl(n.prototype),n.prototype.$nextTick=function(t){return Qi(t,this)},n.prototype._render=function(){var t=this,e=t.$options,r=e.render,s=e._parentVnode;s&&t._isMounted&&(t.$scopedSlots=dr(t.$parent,s.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&gl(t._slotsProxy,t.$scopedSlots)),t.$vnode=s;var i;try{Ge(t),qi=t,i=r.call(t._renderProxy,t.$createElement)}catch(o){if(ze(o,t,"render"),process.env.NODE_ENV!=="production"&&t.$options.renderError)try{i=t.$options.renderError.call(t._renderProxy,t.$createElement,o)}catch(a){ze(a,t,"renderError"),i=t._vnode}else i=t._vnode}finally{qi=null,Ge()}return z(i)&&i.length===1&&(i=i[0]),i instanceof Vt||(process.env.NODE_ENV!=="production"&&z(i)&&T("Multiple root nodes returned from render function. Render function should return a single root node.",t),i=on()),i.parent=s,i}}function Wi(n,t){return(n.__esModule||cr&&n[Symbol.toStringTag]==="Module")&&(n=n.default),bt(n)?t.extend(n):n}function Uf(n,t,e,r,s){var i=on();return i.asyncFactory=n,i.asyncMeta={data:t,context:e,children:r,tag:s},i}function Hf(n,t){if(pt(n.error)&&L(n.errorComp))return n.errorComp;if(L(n.resolved))return n.resolved;var e=qi;if(e&&L(n.owners)&&n.owners.indexOf(e)===-1&&n.owners.push(e),pt(n.loading)&&L(n.loadingComp))return n.loadingComp;if(e&&!L(n.owners)){var r=n.owners=[e],s=!0,i=null,o=null;e.$on("hook:destroyed",function(){return Ue(r,e)});var a=function(f){for(var d=0,p=r.length;d<p;d++)r[d].$forceUpdate();f&&(r.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},l=ns(function(f){n.resolved=Wi(f,t),s?r.length=0:a(!0)}),c=ns(function(f){process.env.NODE_ENV!=="production"&&T("Failed to resolve async component: ".concat(String(n))+(f?`
|
|
2
|
+
Reason: `.concat(f):"")),L(n.errorComp)&&(n.error=!0,a(!0))}),u=n(l,c);return bt(u)&&(Mi(u)?G(n.resolved)&&u.then(l,c):Mi(u.component)&&(u.component.then(l,c),L(u.error)&&(n.errorComp=Wi(u.error,t)),L(u.loading)&&(n.loadingComp=Wi(u.loading,t),u.delay===0?n.loading=!0:i=setTimeout(function(){i=null,G(n.resolved)&&G(n.error)&&(n.loading=!0,a(!1))},u.delay||200)),L(u.timeout)&&(o=setTimeout(function(){o=null,G(n.resolved)&&c(process.env.NODE_ENV!=="production"?"timeout (".concat(u.timeout,"ms)"):null)},u.timeout)))),s=!1,n.loading?n.loadingComp:n.resolved}}function xl(n){if(z(n))for(var t=0;t<n.length;t++){var e=n[t];if(L(e)&&(L(e.componentOptions)||fr(e)))return e}}var Gf=1,ml=2;function hs(n,t,e,r,s,i){return(z(e)||Ae(e))&&(s=r,r=e,e=void 0),pt(i)&&(s=ml),jf(n,t,e,r,s)}function jf(n,t,e,r,s){if(L(e)&&L(e.__ob__))return process.env.NODE_ENV!=="production"&&T("Avoid using observed data object as vnode data: ".concat(JSON.stringify(e),`
|
|
3
|
+
`)+"Always create fresh vnode data objects in each render!",n),on();if(L(e)&&L(e.is)&&(t=e.is),!t)return on();process.env.NODE_ENV!=="production"&&L(e)&&L(e.key)&&!Ae(e.key)&&T("Avoid using non-primitive value as key, use string/number value instead.",n),z(r)&&ut(r[0])&&(e=e||{},e.scopedSlots={default:r[0]},r.length=0),s===ml?r=zi(r):s===Gf&&(r=vf(r));var i,o;if(typeof t=="string"){var a=void 0;o=n.$vnode&&n.$vnode.ns||nt.getTagNamespace(t),nt.isReservedTag(t)?(process.env.NODE_ENV!=="production"&&L(e)&&L(e.nativeOn)&&e.tag!=="component"&&T("The .native modifier for v-on is only valid on components but it was used on <".concat(t,">."),n),i=new Vt(nt.parsePlatformTagName(t),e,r,void 0,void 0,n)):(!e||!e.pre)&&L(a=_s(n.$options,"components",t))?i=Il(a,e,n,r,t):i=new Vt(t,e,r,void 0,void 0,n)}else i=Il(t,e,n,r);return z(i)?i:L(i)?(L(o)&&_l(i,o),L(e)&&Vf(e),i):on()}function _l(n,t,e){if(n.ns=t,n.tag==="foreignObject"&&(t=void 0,e=!0),L(n.children))for(var r=0,s=n.children.length;r<s;r++){var i=n.children[r];L(i.tag)&&(G(i.ns)||pt(e)&&i.tag!=="svg")&&_l(i,t,e)}}function Vf(n){bt(n.style)&&ps(n.style),bt(n.class)&&ps(n.class)}function ze(n,t,e){An();try{if(t)for(var r=t;r=r.$parent;){var s=r.$options.errorCaptured;if(s)for(var i=0;i<s.length;i++)try{var o=s[i].call(r,n,t,e)===!1;if(o)return}catch(a){Ll(a,r,"errorCaptured hook")}}Ll(n,t,e)}finally{Sn()}}function Ze(n,t,e,r,s){var i;try{i=e?n.apply(t,e):n.call(t),i&&!i._isVue&&Mi(i)&&!i._handled&&(i.catch(function(o){return ze(o,r,s+" (Promise/async)")}),i._handled=!0)}catch(o){ze(o,r,s)}return i}function Ll(n,t,e){if(nt.errorHandler)try{return nt.errorHandler.call(null,n,t,e)}catch(r){r!==n&&vl(r,null,"config.errorHandler")}vl(n,t,e)}function vl(n,t,e){if(process.env.NODE_ENV!=="production"&&T("Error in ".concat(e,': "').concat(n.toString(),'"'),t),jt&&typeof console<"u")console.error(n);else throw n}var Ki=!1,Yi=[],Xi=!1;function fs(){Xi=!1;var n=Yi.slice(0);Yi.length=0;for(var t=0;t<n.length;t++)n[t]()}var pr;if(typeof Promise<"u"&&sn(Promise)){var zf=Promise.resolve();pr=function(){zf.then(fs),cf&&setTimeout(yt)},Ki=!0}else if(!En&&typeof MutationObserver<"u"&&(sn(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var ds=1,Zf=new MutationObserver(fs),yl=document.createTextNode(String(ds));Zf.observe(yl,{characterData:!0}),pr=function(){ds=(ds+1)%2,yl.data=String(ds)},Ki=!0}else typeof setImmediate<"u"&&sn(setImmediate)?pr=function(){setImmediate(fs)}:pr=function(){setTimeout(fs,0)};function Qi(n,t){var e;if(Yi.push(function(){if(n)try{n.call(t)}catch(r){ze(r,t,"nextTick")}else e&&e(t)}),Xi||(Xi=!0,pr()),!n&&typeof Promise<"u")return new Promise(function(r){e=r})}var qf="2.7.14",Cl=new ur;function ps(n){return gs(n,Cl),Cl.clear(),n}function gs(n,t){var e,r,s=z(n);if(!(!s&&!bt(n)||n.__v_skip||Object.isFrozen(n)||n instanceof Vt)){if(n.__ob__){var i=n.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(s)for(e=n.length;e--;)gs(n[e],t);else if(_e(n))gs(n.value,t);else for(r=Object.keys(n),e=r.length;e--;)gs(n[r[e]],t)}}var Wf=0,Ji=function(){function n(t,e,r,s,i){mf(this,Yt&&!Yt._vm?Yt:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),s?(this.deep=!!s.deep,this.user=!!s.user,this.lazy=!!s.lazy,this.sync=!!s.sync,this.before=s.before,process.env.NODE_ENV!=="production"&&(this.onTrack=s.onTrack,this.onTrigger=s.onTrigger)):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Wf,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ur,this.newDepIds=new ur,this.expression=process.env.NODE_ENV!=="production"?e.toString():"",ut(e)?this.getter=e:(this.getter=af(e),this.getter||(this.getter=yt,process.env.NODE_ENV!=="production"&&T('Failed watching path: "'.concat(e,'" ')+"Watcher only accepts simple dot-delimited paths. For full control, use a function instead.",t))),this.value=this.lazy?void 0:this.get()}return n.prototype.get=function(){An(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(r){if(this.user)ze(r,e,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&ps(t),Sn(),this.cleanupDeps()}return t},n.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},n.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},n.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ud(this)},n.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||bt(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ze(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},n.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},n.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},n.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ue(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},n}(),Le,xs;if(process.env.NODE_ENV!=="production"){var Re=jt&&window.performance;Re&&Re.mark&&Re.measure&&Re.clearMarks&&Re.clearMeasures&&(Le=function(n){return Re.mark(n)},xs=function(n,t,e){Re.measure(n,t,e),Re.clearMarks(t),Re.clearMarks(e)})}function Kf(n){n._events=Object.create(null),n._hasHookEvent=!1;var t=n.$options._parentListeners;t&&El(n,t)}var gr;function Yf(n,t){gr.$on(n,t)}function Xf(n,t){gr.$off(n,t)}function Qf(n,t){var e=gr;return function r(){var s=t.apply(null,arguments);s!==null&&e.$off(n,r)}}function El(n,t,e){gr=n,al(t,e||{},Yf,Xf,Qf,n),gr=void 0}function Jf(n){var t=/^hook:/;n.prototype.$on=function(e,r){var s=this;if(z(e))for(var i=0,o=e.length;i<o;i++)s.$on(e[i],r);else(s._events[e]||(s._events[e]=[])).push(r),t.test(e)&&(s._hasHookEvent=!0);return s},n.prototype.$once=function(e,r){var s=this;function i(){s.$off(e,i),r.apply(s,arguments)}return i.fn=r,s.$on(e,i),s},n.prototype.$off=function(e,r){var s=this;if(!arguments.length)return s._events=Object.create(null),s;if(z(e)){for(var i=0,o=e.length;i<o;i++)s.$off(e[i],r);return s}var a=s._events[e];if(!a)return s;if(!r)return s._events[e]=null,s;for(var l,c=a.length;c--;)if(l=a[c],l===r||l.fn===r){a.splice(c,1);break}return s},n.prototype.$emit=function(e){var r=this;if(process.env.NODE_ENV!=="production"){var s=e.toLowerCase();s!==e&&r._events[s]&&lo('Event "'.concat(s,'" is emitted in component ')+"".concat(ln(r),' but the handler is registered for "').concat(e,'". ')+"Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. "+'You should probably use "'.concat(nn(e),'" instead of "').concat(e,'".'))}var i=r._events[e];if(i){i=i.length>1?$i(i):i;for(var o=$i(arguments,1),a='event handler for "'.concat(e,'"'),l=0,c=i.length;l<c;l++)Ze(i[l],r,o,r,a)}return r}}var an=null,xr=!1;function bl(n){var t=an;return an=n,function(){an=t}}function td(n){var t=n.$options,e=t.parent;if(e&&!t.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(n)}n.$parent=e,n.$root=e?e.$root:n,n.$children=[],n.$refs={},n._provided=e?e._provided:Object.create(null),n._watcher=null,n._inactive=null,n._directInactive=!1,n._isMounted=!1,n._isDestroyed=!1,n._isBeingDestroyed=!1}function ed(n){n.prototype._update=function(t,e){var r=this,s=r.$el,i=r._vnode,o=bl(r);r._vnode=t,i?r.$el=r.__patch__(i,t):r.$el=r.__patch__(r.$el,t,e,!1),o(),s&&(s.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},n.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},n.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Xt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;e&&!e._isBeingDestroyed&&!t.$options.abstract&&Ue(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Xt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function nd(n,t,e){n.$el=t,n.$options.render||(n.$options.render=on,process.env.NODE_ENV!=="production"&&(n.$options.template&&n.$options.template.charAt(0)!=="#"||n.$options.el||t?T("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",n):T("Failed to mount component: template or render function not defined.",n))),Xt(n,"beforeMount");var r;process.env.NODE_ENV!=="production"&&nt.performance&&Le?r=function(){var a=n._name,l=n._uid,c="vue-perf-start:".concat(l),u="vue-perf-end:".concat(l);Le(c);var f=n._render();Le(u),xs("vue ".concat(a," render"),c,u),Le(c),n._update(f,e),Le(u),xs("vue ".concat(a," patch"),c,u)}:r=function(){n._update(n._render(),e)};var s={before:function(){n._isMounted&&!n._isDestroyed&&Xt(n,"beforeUpdate")}};process.env.NODE_ENV!=="production"&&(s.onTrack=function(a){return Xt(n,"renderTracked",[a])},s.onTrigger=function(a){return Xt(n,"renderTriggered",[a])}),new Ji(n,r,yt,s,!0),e=!1;var i=n._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return n.$vnode==null&&(n._isMounted=!0,Xt(n,"mounted")),n}function rd(n,t,e,r,s){process.env.NODE_ENV!=="production"&&(xr=!0);var i=r.data.scopedSlots,o=n.$scopedSlots,a=!!(i&&!i.$stable||o!==Pt&&!o.$stable||i&&n.$scopedSlots.$key!==i.$key||!i&&n.$scopedSlots.$key),l=!!(s||n.$options._renderChildren||a),c=n.$vnode;n.$options._parentVnode=r,n.$vnode=r,n._vnode&&(n._vnode.parent=r),n.$options._renderChildren=s;var u=r.data.attrs||Pt;n._attrsProxy&&us(n._attrsProxy,u,c.data&&c.data.attrs||Pt,n,"$attrs")&&(l=!0),n.$attrs=u,e=e||Pt;var f=n.$options._parentListeners;if(n._listenersProxy&&us(n._listenersProxy,e,f||Pt,n,"$listeners"),n.$listeners=n.$options._parentListeners=e,El(n,e,f),t&&n.$options.props){je(!1);for(var d=n._props,p=n.$options._propKeys||[],w=0;w<p.length;w++){var I=p[w],q=n.$options.props;d[I]=fo(I,q,t,n)}je(!0),n.$options.propsData=t}l&&(n.$slots=Zi(s,r.context),n.$forceUpdate()),process.env.NODE_ENV!=="production"&&(xr=!1)}function wl(n){for(;n&&(n=n.$parent);)if(n._inactive)return!0;return!1}function to(n,t){if(t){if(n._directInactive=!1,wl(n))return}else if(n._directInactive)return;if(n._inactive||n._inactive===null){n._inactive=!1;for(var e=0;e<n.$children.length;e++)to(n.$children[e]);Xt(n,"activated")}}function Tl(n,t){if(!(t&&(n._directInactive=!0,wl(n)))&&!n._inactive){n._inactive=!0;for(var e=0;e<n.$children.length;e++)Tl(n.$children[e]);Xt(n,"deactivated")}}function Xt(n,t,e,r){r===void 0&&(r=!0),An();var s=wn;r&&Ge(n);var i=n.$options[t],o="".concat(t," hook");if(i)for(var a=0,l=i.length;a<l;a++)Ze(i[a],n,e||null,n,o);n._hasHookEvent&&n.$emit("hook:"+t),r&&Ge(s),Sn()}var sd=100,ke=[],eo=[],mr={},ms={},no=!1,ro=!1,Rn=0;function id(){Rn=ke.length=eo.length=0,mr={},process.env.NODE_ENV!=="production"&&(ms={}),no=ro=!1}var Al=0,so=Date.now;if(jt&&!En){var io=window.performance;io&&typeof io.now=="function"&&so()>document.createEvent("Event").timeStamp&&(so=function(){return io.now()})}var od=function(n,t){if(n.post){if(!t.post)return 1}else if(t.post)return-1;return n.id-t.id};function Sl(){Al=so(),ro=!0;var n,t;for(ke.sort(od),Rn=0;Rn<ke.length;Rn++)if(n=ke[Rn],n.before&&n.before(),t=n.id,mr[t]=null,n.run(),process.env.NODE_ENV!=="production"&&mr[t]!=null&&(ms[t]=(ms[t]||0)+1,ms[t]>sd)){T("You may have an infinite update loop "+(n.user?'in watcher with expression "'.concat(n.expression,'"'):"in a component render function."),n.vm);break}var e=eo.slice(),r=ke.slice();id(),cd(e),ad(r),hf(),is&&nt.devtools&&is.emit("flush")}function ad(n){for(var t=n.length;t--;){var e=n[t],r=e.vm;r&&r._watcher===e&&r._isMounted&&!r._isDestroyed&&Xt(r,"updated")}}function ld(n){n._inactive=!1,eo.push(n)}function cd(n){for(var t=0;t<n.length;t++)n[t]._inactive=!0,to(n[t],!0)}function ud(n){var t=n.id;if(mr[t]==null&&!(n===he.target&&n.noRecurse)){if(mr[t]=!0,!ro)ke.push(n);else{for(var e=ke.length-1;e>Rn&&ke[e].id>n.id;)e--;ke.splice(e+1,0,n)}if(!no){if(no=!0,process.env.NODE_ENV!=="production"&&!nt.async){Sl();return}Qi(Sl)}}}function hd(n){var t=n.$options.provide;if(t){var e=ut(t)?t.call(n):t;if(!bt(e))return;for(var r=_f(n),s=cr?Reflect.ownKeys(e):Object.keys(e),i=0;i<s.length;i++){var o=s[i];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(e,o))}}}function fd(n){var t=Rl(n.$options.inject,n);t&&(je(!1),Object.keys(t).forEach(function(e){process.env.NODE_ENV!=="production"?fe(n,e,t[e],function(){T("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(e,'"'),n)}):fe(n,e,t[e])}),je(!0))}function Rl(n,t){if(n){for(var e=Object.create(null),r=cr?Reflect.ownKeys(n):Object.keys(n),s=0;s<r.length;s++){var i=r[s];if(i!=="__ob__"){var o=n[i].from;if(o in t._provided)e[i]=t._provided[o];else if("default"in n[i]){var a=n[i].default;e[i]=ut(a)?a.call(t):a}else process.env.NODE_ENV!=="production"&&T('Injection "'.concat(i,'" not found'),t)}}return e}}function oo(n,t,e,r,s){var i=this,o=s.options,a;wt(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=pt(o._compiled),c=!l;this.data=n,this.props=t,this.children=e,this.parent=r,this.listeners=n.on||Pt,this.injections=Rl(o.inject,r),this.slots=function(){return i.$slots||dr(r,n.scopedSlots,i.$slots=Zi(e,r)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dr(r,n.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=dr(r,n.scopedSlots,this.$slots)),o._scopeId?this._c=function(u,f,d,p){var w=hs(a,u,f,d,p,c);return w&&!z(w)&&(w.fnScopeId=o._scopeId,w.fnContext=r),w}:this._c=function(u,f,d,p){return hs(a,u,f,d,p,c)}}pl(oo.prototype);function dd(n,t,e,r,s){var i=n.options,o={},a=i.props;if(L(a))for(var l in a)o[l]=fo(l,a,t||Pt);else L(e.attrs)&&Ol(o,e.attrs),L(e.props)&&Ol(o,e.props);var c=new oo(e,o,s,r,n),u=i.render.call(null,c._c,c);if(u instanceof Vt)return kl(u,e,c.parent,i,c);if(z(u)){for(var f=zi(u)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=kl(f[p],e,c.parent,i,c);return d}}function kl(n,t,e,r,s){var i=Bi(n);return i.fnContext=e,i.fnOptions=r,process.env.NODE_ENV!=="production"&&((i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=s),t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Ol(n,t){for(var e in t)n[en(e)]=t[e]}function kn(n){return n.name||n.__name||n._componentTag}var ao={init:function(n,t){if(n.componentInstance&&!n.componentInstance._isDestroyed&&n.data.keepAlive){var e=n;ao.prepatch(e,e)}else{var r=n.componentInstance=pd(n,an);r.$mount(t?n.elm:void 0,t)}},prepatch:function(n,t){var e=t.componentOptions,r=t.componentInstance=n.componentInstance;rd(r,e.propsData,e.listeners,t,e.children)},insert:function(n){var t=n.context,e=n.componentInstance;e._isMounted||(e._isMounted=!0,Xt(e,"mounted")),n.data.keepAlive&&(t._isMounted?ld(e):to(e,!0))},destroy:function(n){var t=n.componentInstance;t._isDestroyed||(n.data.keepAlive?Tl(t,!0):t.$destroy())}},Nl=Object.keys(ao);function Il(n,t,e,r,s){if(!G(n)){var i=e.$options._base;if(bt(n)&&(n=i.extend(n)),typeof n!="function"){process.env.NODE_ENV!=="production"&&T("Invalid Component definition: ".concat(String(n)),e);return}var o;if(G(n.cid)&&(o=n,n=Hf(o,i),n===void 0))return Uf(o,t,e,r,s);t=t||{},mo(n),L(t.model)&&md(n.options,t);var a=Lf(t,n,s);if(pt(n.options.functional))return dd(n,a,t,e,r);var l=t.on;if(t.on=t.nativeOn,pt(n.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}gd(t);var u=kn(n.options)||s,f=new Vt("vue-component-".concat(n.cid).concat(u?"-".concat(u):""),t,void 0,void 0,void 0,e,{Ctor:n,propsData:a,listeners:l,tag:s,children:r},o);return f}}function pd(n,t){var e={_isComponent:!0,_parentVnode:n,parent:t},r=n.data.inlineTemplate;return L(r)&&(e.render=r.render,e.staticRenderFns=r.staticRenderFns),new n.componentOptions.Ctor(e)}function gd(n){for(var t=n.hook||(n.hook={}),e=0;e<Nl.length;e++){var r=Nl[e],s=t[r],i=ao[r];s!==i&&!(s&&s._merged)&&(t[r]=s?xd(i,s):i)}}function xd(n,t){var e=function(r,s){n(r,s),t(r,s)};return e._merged=!0,e}function md(n,t){var e=n.model&&n.model.prop||"value",r=n.model&&n.model.event||"input";(t.attrs||(t.attrs={}))[e]=t.model.value;var s=t.on||(t.on={}),i=s[r],o=t.model.callback;L(i)?(z(i)?i.indexOf(o)===-1:i!==o)&&(s[r]=[o].concat(i)):s[r]=o}var T=yt,lo=yt,co,ln;if(process.env.NODE_ENV!=="production"){var Pl=typeof console<"u",_d=/(?:^|[-_])(\w)/g,Ld=function(n){return n.replace(_d,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")};T=function(n,t){t===void 0&&(t=wn);var e=t?co(t):"";nt.warnHandler?nt.warnHandler.call(null,n,t,e):Pl&&!nt.silent&&console.error("[Vue warn]: ".concat(n).concat(e))},lo=function(n,t){Pl&&!nt.silent&&console.warn("[Vue tip]: ".concat(n)+(t?co(t):""))},ln=function(n,t){if(n.$root===n)return"<Root>";var e=ut(n)&&n.cid!=null?n.options:n._isVue?n.$options||n.constructor.options:n,r=kn(e),s=e.__file;if(!r&&s){var i=s.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<".concat(Ld(r),">"):"<Anonymous>")+(s&&t!==!1?" at ".concat(s):"")};var vd=function(n,t){for(var e="";t;)t%2===1&&(e+=n),t>1&&(n+=n),t>>=1;return e};co=function(n){if(n._isVue&&n.$parent){for(var t=[],e=0;n;){if(t.length>0){var r=t[t.length-1];if(r.constructor===n.constructor){e++,n=n.$parent;continue}else e>0&&(t[t.length-1]=[r,e],e=0)}t.push(n),n=n.$parent}return`
|
|
4
4
|
|
|
5
5
|
found in
|
|
6
6
|
|
|
7
|
-
`+t.map(function(s,i){return"".concat(i===0?"---> ":
|
|
7
|
+
`+t.map(function(s,i){return"".concat(i===0?"---> ":vd(" ",5+i*2)).concat(z(s)?"".concat(ln(s[0]),"... (").concat(s[1]," recursive calls)"):ln(s))}).join(`
|
|
8
8
|
`)}else return`
|
|
9
9
|
|
|
10
|
-
(found in `.concat(ln(n),")")}}var ie=nt.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(ie.el=ie.propsData=function(n,t,e,r){return e||T('option "'.concat(r,'" can only be used during instance ')+"creation with the `new` keyword.")
|
|
11
|
-
https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,n));for(var e=Object.keys(t),r=n.$options.props,s=n.$options.methods,i=e.length;i--;){var o=e[i];process.env.NODE_ENV!=="production"&&s&&wt(s,o)&&T('Method "'.concat(o,'" has already been defined as a data property.'),n),r&&wt(r,o)?process.env.NODE_ENV!=="production"&&T('The data property "'.concat(o,'" is already declared as a prop. ')+"Use prop default value instead.",n):Di(o)||go(n,"_data",o)}var a=Se(t);a&&a.vmCount++}function Ud(n,t){An();try{return n.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{Sn()}}var Hd={lazy:!0};function Gd(n,t){var e=n._computedWatchers=Object.create(null),r=lr();for(var s in t){var i=t[s],o=ut(i)?i:i.get;process.env.NODE_ENV!=="production"&&o==null&&T('Getter is missing for computed property "'.concat(s,'".'),n),r||(e[s]=new Ji(n,o||yt,yt,Hd)),s in n?process.env.NODE_ENV!=="production"&&(s in n.$data?T('The computed property "'.concat(s,'" is already defined in data.'),n):n.$options.props&&s in n.$options.props?T('The computed property "'.concat(s,'" is already defined as a prop.'),n):n.$options.methods&&s in n.$options.methods&&T('The computed property "'.concat(s,'" is already defined as a method.'),n)):Gl(n,s,i)}}function Gl(n,t,e){var r=!lr();ut(e)?(ve.get=r?jl(t):Vl(e),ve.set=yt):(ve.get=e.get?r&&e.cache!==!1?jl(t):Vl(e.get):yt,ve.set=e.set||yt),process.env.NODE_ENV!=="production"&&ve.set===yt&&(ve.set=function(){T('Computed property "'.concat(t,'" was assigned to but it has no setter.'),this)}),Object.defineProperty(n,t,ve)}function jl(n){return function(){var e=this._computedWatchers&&this._computedWatchers[n];if(e)return e.dirty&&e.evaluate(),he.target&&(process.env.NODE_ENV!=="production"&&he.target.onTrack&&he.target.onTrack({effect:he.target,target:this,type:"get",key:n}),e.depend()),e.value}}function Vl(n){return function(){return n.call(this,this)}}function jd(n,t){var e=n.$options.props;for(var r in t)process.env.NODE_ENV!=="production"&&(typeof t[r]!="function"&&T('Method "'.concat(r,'" has type "').concat(typeof t[r],'" in the component definition. ')+"Did you reference the function correctly?",n),e&&wt(e,r)&&T('Method "'.concat(r,'" has already been defined as a prop.'),n),r in n&&Di(r)&&T('Method "'.concat(r,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $.")),n[r]=typeof t[r]!="function"?yt:U1(t[r],n)}function Vd(n,t){for(var e in t){var r=t[e];if(z(r))for(var s=0;s<r.length;s++)xo(n,e,r[s]);else xo(n,e,r)}}function xo(n,t,e,r){return Pt(e)&&(r=e,e=e.handler),typeof e=="string"&&(e=n[e]),n.$watch(t,e,r)}function zd(n){var t={};t.get=function(){return this._data};var e={};e.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(t.set=function(){T("Avoid replacing instance root $data. Use nested data properties instead.",this)},e.set=function(){T("$props is readonly.",this)}),Object.defineProperty(n.prototype,"$data",t),Object.defineProperty(n.prototype,"$props",e),n.prototype.$set=Hi,n.prototype.$delete=el,n.prototype.$watch=function(r,s,i){var o=this;if(Pt(s))return xo(o,r,s,i);i=i||{},i.user=!0;var a=new Ji(o,r,s,i);if(i.immediate){var l='callback for immediate watcher "'.concat(a.expression,'"');An(),Ze(s,o,[a.value],o,l),Sn()}return function(){a.teardown()}}}var Zd=0;function qd(n){n.prototype._init=function(t){var e=this;e._uid=Zd++;var r,s;process.env.NODE_ENV!=="production"&&nt.performance&&Le&&(r="vue-perf-start:".concat(e._uid),s="vue-perf-end:".concat(e._uid),Le(r)),e._isVue=!0,e.__v_skip=!0,e._scope=new df(!0),e._scope._vm=!0,t&&t._isComponent?Wd(e,t):e.$options=cn(mo(e.constructor),t||{},e),process.env.NODE_ENV!=="production"?Fl(e):e._renderProxy=e,e._self=e,Xf(e),Zf(e),Mf(e),Xt(e,"beforeCreate",void 0,!1),cd(e),Dd(e),ld(e),Xt(e,"created"),process.env.NODE_ENV!=="production"&&nt.performance&&Le&&(e._name=ln(e,!1),Le(s),xs("vue ".concat(e._name," init"),r,s)),e.$options.el&&e.$mount(e.$options.el)}}function Wd(n,t){var e=n.$options=Object.create(n.constructor.options),r=t._parentVnode;e.parent=t.parent,e._parentVnode=r;var s=r.componentOptions;e.propsData=s.propsData,e._parentListeners=s.listeners,e._renderChildren=s.children,e._componentTag=s.tag,t.render&&(e.render=t.render,e.staticRenderFns=t.staticRenderFns)}function mo(n){var t=n.options;if(n.super){var e=mo(n.super),r=n.superOptions;if(e!==r){n.superOptions=e;var s=Kd(n);s&<(n.extendOptions,s),t=n.options=cn(e,n.extendOptions),t.name&&(t.components[t.name]=n)}}return t}function Kd(n){var t,e=n.options,r=n.sealedOptions;for(var s in e)e[s]!==r[s]&&(t||(t={}),t[s]=e[s]);return t}function ft(n){process.env.NODE_ENV!=="production"&&!(this instanceof ft)&&T("Vue is a constructor and should be called with the `new` keyword"),this._init(n)}qd(ft),zd(ft),Yf(ft),Qf(ft),$f(ft);function Yd(n){n.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var r=$i(arguments,1);return r.unshift(this),ut(t.install)?t.install.apply(t,r):ut(t)&&t.apply(null,r),e.push(t),this}}function Xd(n){n.mixin=function(t){return this.options=cn(this.options,t),this}}function Qd(n){n.cid=0;var t=1;n.extend=function(e){e=e||{};var r=this,s=r.cid,i=e._Ctor||(e._Ctor={});if(i[s])return i[s];var o=kn(e)||kn(r.options);process.env.NODE_ENV!=="production"&&o&&uo(o);var a=function(c){this._init(c)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=cn(r.options,e),a.super=r,a.options.props&&Jd(a),a.options.computed&&t3(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,rs.forEach(function(l){a[l]=r[l]}),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=lt({},a.options),i[s]=a,a}}function Jd(n){var t=n.options.props;for(var e in t)go(n.prototype,"_props",e)}function t3(n){var t=n.options.computed;for(var e in t)Gl(n.prototype,e,t[e])}function e3(n){rs.forEach(function(t){n[t]=function(e,r){return r?(process.env.NODE_ENV!=="production"&&t==="component"&&uo(e),t==="component"&&Pt(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),t==="directive"&&ut(r)&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}})}function zl(n){return n&&(kn(n.Ctor.options)||n.tag)}function vs(n,t){return z(n)?n.indexOf(t)>-1:typeof n=="string"?n.split(",").indexOf(t)>-1:$1(n)?n.test(t):!1}function Zl(n,t){var e=n.cache,r=n.keys,s=n._vnode;for(var i in e){var o=e[i];if(o){var a=o.name;a&&!t(a)&&_o(e,i,r,s)}}}function _o(n,t,e,r){var s=n[t];s&&(!r||s.tag!==r.tag)&&s.componentInstance.$destroy(),n[t]=null,Ue(e,t)}var ql=[String,RegExp,Array],n3={name:"keep-alive",abstract:!0,props:{include:ql,exclude:ql,max:[String,Number]},methods:{cacheVNode:function(){var n=this,t=n.cache,e=n.keys,r=n.vnodeToCache,s=n.keyToCache;if(r){var i=r.tag,o=r.componentInstance,a=r.componentOptions;t[s]={name:zl(a),tag:i,componentInstance:o},e.push(s),this.max&&e.length>parseInt(this.max)&&_o(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var n in this.cache)_o(this.cache,n,this.keys)},mounted:function(){var n=this;this.cacheVNode(),this.$watch("include",function(t){Zl(n,function(e){return vs(t,e)})}),this.$watch("exclude",function(t){Zl(n,function(e){return!vs(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var n=this.$slots.default,t=pl(n),e=t&&t.componentOptions;if(e){var r=zl(e),s=this,i=s.include,o=s.exclude;if(i&&(!r||!vs(i,r))||o&&r&&vs(o,r))return t;var a=this,l=a.cache,c=a.keys,u=t.key==null?e.Ctor.cid+(e.tag?"::".concat(e.tag):""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,Ue(c,u),c.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||n&&n[0]}},r3={KeepAlive:n3};function s3(n){var t={};t.get=function(){return nt},process.env.NODE_ENV!=="production"&&(t.set=function(){T("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(n,"config",t),n.util={warn:T,extend:lt,mergeOptions:cn,defineReactive:fe},n.set=Hi,n.delete=el,n.nextTick=Qi,n.observable=function(e){return Se(e),e},n.options=Object.create(null),rs.forEach(function(e){n.options[e+"s"]=Object.create(null)}),n.options._base=n,lt(n.options.components,r3),Yd(n),Xd(n),Qd(n),e3(n)}s3(ft),Object.defineProperty(ft.prototype,"$isServer",{get:lr}),Object.defineProperty(ft.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ft,"FunctionalRenderContext",{value:oo}),ft.version=Vf;var i3=Kt("style,class"),o3=Kt("input,textarea,option,select,progress"),a3=function(n,t,e){return e==="value"&&o3(n)&&t!=="button"||e==="selected"&&n==="option"||e==="checked"&&n==="input"||e==="muted"&&n==="video"},Wl=Kt("contenteditable,draggable,spellcheck"),l3=Kt("events,caret,typing,plaintext-only"),c3=function(n,t){return ys(t)||t==="false"?"false":n==="contenteditable"&&l3(t)?t:"true"},u3=Kt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Lo="http://www.w3.org/1999/xlink",vo=function(n){return n.charAt(5)===":"&&n.slice(0,5)==="xlink"},Kl=function(n){return vo(n)?n.slice(6,n.length):""},ys=function(n){return n==null||n===!1};function h3(n){for(var t=n.data,e=n,r=n;L(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Yl(r.data,t));for(;L(e=e.parent);)e&&e.data&&(t=Yl(t,e.data));return f3(t.staticClass,t.class)}function Yl(n,t){return{staticClass:yo(n.staticClass,t.staticClass),class:L(n.class)?[n.class,t.class]:t.class}}function f3(n,t){return L(n)||L(t)?yo(n,Co(t)):""}function yo(n,t){return n?t?n+" "+t:n:t||""}function Co(n){return Array.isArray(n)?d3(n):bt(n)?p3(n):typeof n=="string"?n:""}function d3(n){for(var t="",e,r=0,s=n.length;r<s;r++)L(e=Co(n[r]))&&e!==""&&(t&&(t+=" "),t+=e);return t}function p3(n){var t="";for(var e in n)n[e]&&(t&&(t+=" "),t+=e);return t}var g3={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},x3=Kt("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Eo=Kt("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Xl=function(n){return x3(n)||Eo(n)};function m3(n){if(Eo(n))return"svg";if(n==="math")return"math"}var Cs=Object.create(null);function _3(n){if(!jt)return!0;if(Xl(n))return!1;if(n=n.toLowerCase(),Cs[n]!=null)return Cs[n];var t=document.createElement(n);return n.indexOf("-")>-1?Cs[n]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Cs[n]=/HTMLUnknownElement/.test(t.toString())}var bo=Kt("text,number,password,search,email,tel,url");function L3(n){if(typeof n=="string"){var t=document.querySelector(n);return t||(process.env.NODE_ENV!=="production"&&T("Cannot find element: "+n),document.createElement("div"))}else return n}function v3(n,t){var e=document.createElement(n);return n!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&e.setAttribute("multiple","multiple"),e}function y3(n,t){return document.createElementNS(g3[n],t)}function C3(n){return document.createTextNode(n)}function E3(n){return document.createComment(n)}function b3(n,t,e){n.insertBefore(t,e)}function w3(n,t){n.removeChild(t)}function T3(n,t){n.appendChild(t)}function A3(n){return n.parentNode}function S3(n){return n.nextSibling}function R3(n){return n.tagName}function k3(n,t){n.textContent=t}function O3(n,t){n.setAttribute(t,"")}var N3=Object.freeze({__proto__:null,createElement:v3,createElementNS:y3,createTextNode:C3,createComment:E3,insertBefore:b3,removeChild:w3,appendChild:T3,parentNode:A3,nextSibling:S3,tagName:R3,setTextContent:k3,setStyleScope:O3}),I3={create:function(n,t){On(t)},update:function(n,t){n.data.ref!==t.data.ref&&(On(n,!0),On(t))},destroy:function(n){On(n,!0)}};function On(n,t){var e=n.data.ref;if(L(e)){var r=n.context,s=n.componentInstance||n.elm,i=t?null:s,o=t?void 0:s;if(ut(e)){Ze(e,r,[i],r,"template ref function");return}var a=n.data.refInFor,l=typeof e=="string"||typeof e=="number",c=_e(e),u=r.$refs;if(l||c)if(a){var f=l?u[e]:e.value;t?z(f)&&Ue(f,s):z(f)?f.includes(s)||f.push(s):l?(u[e]=[s],Ql(r,e,u[e])):e.value=[s]}else if(l){if(t&&u[e]!==s)return;u[e]=o,Ql(r,e,i)}else if(c){if(t&&e.value!==s)return;e.value=i}else process.env.NODE_ENV!=="production"&&T("Invalid template ref type: ".concat(typeof e))}}function Ql(n,t,e){var r=n._setupState;r&&wt(r,t)&&(_e(r[t])?r[t].value=e:r[t]=e)}var qe=new Vt("",{},[]),Lr=["create","activate","update","remove","destroy"];function un(n,t){return n.key===t.key&&n.asyncFactory===t.asyncFactory&&(n.tag===t.tag&&n.isComment===t.isComment&&L(n.data)===L(t.data)&&P3(n,t)||pt(n.isAsyncPlaceholder)&&G(t.asyncFactory.error))}function P3(n,t){if(n.tag!=="input")return!0;var e,r=L(e=n.data)&&L(e=e.attrs)&&e.type,s=L(e=t.data)&&L(e=e.attrs)&&e.type;return r===s||bo(r)&&bo(s)}function M3(n,t,e){var r,s,i={};for(r=t;r<=e;++r)s=n[r].key,L(s)&&(i[s]=r);return i}function $3(n){var t,e,r={},s=n.modules,i=n.nodeOps;for(t=0;t<Lr.length;++t)for(r[Lr[t]]=[],e=0;e<s.length;++e)L(s[e][Lr[t]])&&r[Lr[t]].push(s[e][Lr[t]]);function o(x){return new Vt(i.tagName(x).toLowerCase(),{},[],void 0,x)}function a(x,g){function C(){--C.listeners===0&&l(x)}return C.listeners=g,C}function l(x){var g=i.parentNode(x);L(g)&&i.removeChild(g,x)}function c(x,g){return!g&&!x.ns&&!(nt.ignoredElements.length&&nt.ignoredElements.some(function(C){return $1(C)?C.test(x.tag):C===x.tag}))&&nt.isUnknownElement(x.tag)}var u=0;function f(x,g,C,S,B,X,y){if(L(x.elm)&&L(X)&&(x=X[y]=Bi(x)),x.isRootInsert=!B,!d(x,g,C,S)){var E=x.data,O=x.children,P=x.tag;L(P)?(process.env.NODE_ENV!=="production"&&(E&&E.pre&&u++,c(x,u)&&T("Unknown custom element: <"+P+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',x.context)),x.elm=x.ns?i.createElementNS(x.ns,P):i.createElement(P,x),ot(x),q(x,O,g),L(E)&&j(x,g),I(C,x.elm,S),process.env.NODE_ENV!=="production"&&E&&E.pre&&u--):pt(x.isComment)?(x.elm=i.createComment(x.text),I(C,x.elm,S)):(x.elm=i.createTextNode(x.text),I(C,x.elm,S))}}function d(x,g,C,S){var B=x.data;if(L(B)){var X=L(x.componentInstance)&&B.keepAlive;if(L(B=B.hook)&&L(B=B.init)&&B(x,!1),L(x.componentInstance))return p(x,g),I(C,x.elm,S),pt(X)&&w(x,g,C,S),!0}}function p(x,g){L(x.data.pendingInsert)&&(g.push.apply(g,x.data.pendingInsert),x.data.pendingInsert=null),x.elm=x.componentInstance.$el,$(x)?(j(x,g),ot(x)):(On(x),g.push(x))}function w(x,g,C,S){for(var B,X=x;X.componentInstance;)if(X=X.componentInstance._vnode,L(B=X.data)&&L(B=B.transition)){for(B=0;B<r.activate.length;++B)r.activate[B](qe,X);g.push(X);break}I(C,x.elm,S)}function I(x,g,C){L(x)&&(L(C)?i.parentNode(C)===x&&i.insertBefore(x,g,C):i.appendChild(x,g))}function q(x,g,C){if(z(g)){process.env.NODE_ENV!=="production"&&ge(g);for(var S=0;S<g.length;++S)f(g[S],C,x.elm,null,!0,g,S)}else Ae(x.text)&&i.appendChild(x.elm,i.createTextNode(String(x.text)))}function $(x){for(;x.componentInstance;)x=x.componentInstance._vnode;return L(x.tag)}function j(x,g){for(var C=0;C<r.create.length;++C)r.create[C](qe,x);t=x.data.hook,L(t)&&(L(t.create)&&t.create(qe,x),L(t.insert)&&g.push(x))}function ot(x){var g;if(L(g=x.fnScopeId))i.setStyleScope(x.elm,g);else for(var C=x;C;)L(g=C.context)&&L(g=g.$options._scopeId)&&i.setStyleScope(x.elm,g),C=C.parent;L(g=an)&&g!==x.context&&g!==x.fnContext&&L(g=g.$options._scopeId)&&i.setStyleScope(x.elm,g)}function Y(x,g,C,S,B,X){for(;S<=B;++S)f(C[S],X,x,g,!1,C,S)}function Lt(x){var g,C,S=x.data;if(L(S))for(L(g=S.hook)&&L(g=g.destroy)&&g(x),g=0;g<r.destroy.length;++g)r.destroy[g](x);if(L(g=x.children))for(C=0;C<x.children.length;++C)Lt(x.children[C])}function ct(x,g,C){for(;g<=C;++g){var S=x[g];L(S)&&(L(S.tag)?(vt(S),Lt(S)):l(S.elm))}}function vt(x,g){if(L(g)||L(x.data)){var C,S=r.remove.length+1;for(L(g)?g.listeners+=S:g=a(x.elm,S),L(C=x.componentInstance)&&L(C=C._vnode)&&L(C.data)&&vt(C,g),C=0;C<r.remove.length;++C)r.remove[C](x,g);L(C=x.data.hook)&&L(C=C.remove)?C(x,g):g()}else l(x.elm)}function Ut(x,g,C,S,B){var X=0,y=0,E=g.length-1,O=g[0],P=g[E],U=C.length-1,at=C[0],xt=C[U],St,Et,kt,Ri,Xr=!B;for(process.env.NODE_ENV!=="production"&&ge(C);X<=E&&y<=U;)G(O)?O=g[++X]:G(P)?P=g[--E]:un(O,at)?(xe(O,at,S,C,y),O=g[++X],at=C[++y]):un(P,xt)?(xe(P,xt,S,C,U),P=g[--E],xt=C[--U]):un(O,xt)?(xe(O,xt,S,C,U),Xr&&i.insertBefore(x,O.elm,i.nextSibling(P.elm)),O=g[++X],xt=C[--U]):un(P,at)?(xe(P,at,S,C,y),Xr&&i.insertBefore(x,P.elm,O.elm),P=g[--E],at=C[++y]):(G(St)&&(St=M3(g,X,E)),Et=L(at.key)?St[at.key]:Jn(at,g,X,E),G(Et)?f(at,S,x,O.elm,!1,C,y):(kt=g[Et],un(kt,at)?(xe(kt,at,S,C,y),g[Et]=void 0,Xr&&i.insertBefore(x,kt.elm,O.elm)):f(at,S,x,O.elm,!1,C,y)),at=C[++y]);X>E?(Ri=G(C[U+1])?null:C[U+1].elm,Y(x,Ri,C,y,U,S)):y>U&&ct(g,X,E)}function ge(x){for(var g={},C=0;C<x.length;C++){var S=x[C],B=S.key;L(B)&&(g[B]?T("Duplicate keys detected: '".concat(B,"'. This may cause an update error."),S.context):g[B]=!0)}}function Jn(x,g,C,S){for(var B=C;B<S;B++){var X=g[B];if(L(X)&&un(x,X))return B}}function xe(x,g,C,S,B,X){if(x!==g){L(g.elm)&&L(S)&&(g=S[B]=Bi(g));var y=g.elm=x.elm;if(pt(x.isAsyncPlaceholder)){L(g.asyncFactory.resolved)?At(x.elm,g,C):g.isAsyncPlaceholder=!0;return}if(pt(g.isStatic)&&pt(x.isStatic)&&g.key===x.key&&(pt(g.isCloned)||pt(g.isOnce))){g.componentInstance=x.componentInstance;return}var E,O=g.data;L(O)&&L(E=O.hook)&&L(E=E.prepatch)&&E(x,g);var P=x.children,U=g.children;if(L(O)&&$(g)){for(E=0;E<r.update.length;++E)r.update[E](x,g);L(E=O.hook)&&L(E=E.update)&&E(x,g)}G(g.text)?L(P)&&L(U)?P!==U&&Ut(y,P,U,C,X):L(U)?(process.env.NODE_ENV!=="production"&&ge(U),L(x.text)&&i.setTextContent(y,""),Y(y,null,U,0,U.length-1,C)):L(P)?ct(P,0,P.length-1):L(x.text)&&i.setTextContent(y,""):x.text!==g.text&&i.setTextContent(y,g.text),L(O)&&L(E=O.hook)&&L(E=E.postpatch)&&E(x,g)}}function Te(x,g,C){if(pt(C)&&L(x.parent))x.parent.data.pendingInsert=g;else for(var S=0;S<g.length;++S)g[S].data.hook.insert(g[S])}var Fe=!1,tr=Kt("attrs,class,staticClass,staticStyle,key");function At(x,g,C,S){var B,X=g.tag,y=g.data,E=g.children;if(S=S||y&&y.pre,g.elm=x,pt(g.isComment)&&L(g.asyncFactory))return g.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!Be(x,g,S))return!1;if(L(y)&&(L(B=y.hook)&&L(B=B.init)&&B(g,!0),L(B=g.componentInstance)))return p(g,C),!0;if(L(X)){if(L(E))if(!x.hasChildNodes())q(g,E,C);else if(L(B=y)&&L(B=B.domProps)&&L(B=B.innerHTML)){if(B!==x.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!Fe&&(Fe=!0,console.warn("Parent: ",x),console.warn("server innerHTML: ",B),console.warn("client innerHTML: ",x.innerHTML)),!1}else{for(var O=!0,P=x.firstChild,U=0;U<E.length;U++){if(!P||!At(P,E[U],C,S)){O=!1;break}P=P.nextSibling}if(!O||P)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!Fe&&(Fe=!0,console.warn("Parent: ",x),console.warn("Mismatching childNodes vs. VNodes: ",x.childNodes,E)),!1}if(L(y)){var at=!1;for(var xt in y)if(!tr(xt)){at=!0,j(g,C);break}!at&&y.class&&ps(y.class)}}else x.data!==g.text&&(x.data=g.text);return!0}function Be(x,g,C){return L(g.tag)?g.tag.indexOf("vue-component")===0||!c(g,C)&&g.tag.toLowerCase()===(x.tagName&&x.tagName.toLowerCase()):x.nodeType===(g.isComment?8:3)}return function(g,C,S,B){if(G(C)){L(g)&&Lt(g);return}var X=!1,y=[];if(G(g))X=!0,f(C,y);else{var E=L(g.nodeType);if(!E&&un(g,C))xe(g,C,y,null,null,B);else{if(E){if(g.nodeType===1&&g.hasAttribute(V1)&&(g.removeAttribute(V1),S=!0),pt(S)){if(At(g,C,y))return Te(C,y,!0),g;process.env.NODE_ENV!=="production"&&T("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}g=o(g)}var O=g.elm,P=i.parentNode(O);if(f(C,y,O._leaveCb?null:P,i.nextSibling(O)),L(C.parent))for(var U=C.parent,at=$(C);U;){for(var xt=0;xt<r.destroy.length;++xt)r.destroy[xt](U);if(U.elm=C.elm,at){for(var St=0;St<r.create.length;++St)r.create[St](qe,U);var Et=U.data.hook.insert;if(Et.merged)for(var kt=1;kt<Et.fns.length;kt++)Et.fns[kt]()}else On(U);U=U.parent}L(P)?ct([g],0,0):L(g.tag)&&Lt(g)}}return Te(C,y,X),C.elm}}var D3={create:wo,update:wo,destroy:function(t){wo(t,qe)}};function wo(n,t){(n.data.directives||t.data.directives)&&F3(n,t)}function F3(n,t){var e=n===qe,r=t===qe,s=Jl(n.data.directives,n.context),i=Jl(t.data.directives,t.context),o=[],a=[],l,c,u;for(l in i)c=s[l],u=i[l],c?(u.oldValue=c.value,u.oldArg=c.arg,vr(u,"update",t,n),u.def&&u.def.componentUpdated&&a.push(u)):(vr(u,"bind",t,n),u.def&&u.def.inserted&&o.push(u));if(o.length){var f=function(){for(var d=0;d<o.length;d++)vr(o[d],"inserted",t,n)};e?Ve(t,"insert",f):f()}if(a.length&&Ve(t,"postpatch",function(){for(var d=0;d<a.length;d++)vr(a[d],"componentUpdated",t,n)}),!e)for(l in s)i[l]||vr(s[l],"unbind",n,n,r)}var B3=Object.create(null);function Jl(n,t){var e=Object.create(null);if(!n)return e;var r,s;for(r=0;r<n.length;r++){if(s=n[r],s.modifiers||(s.modifiers=B3),e[U3(s)]=s,t._setupState&&t._setupState.__sfc){var i=s.def||_s(t,"_setupState","v-"+s.name);typeof i=="function"?s.def={bind:i,update:i}:s.def=i}s.def=s.def||_s(t.$options,"directives",s.name,!0)}return e}function U3(n){return n.rawName||"".concat(n.name,".").concat(Object.keys(n.modifiers||{}).join("."))}function vr(n,t,e,r,s){var i=n.def&&n.def[t];if(i)try{i(e.elm,n,e,r,s)}catch(o){ze(o,e.context,"directive ".concat(n.name," ").concat(t," hook"))}}var H3=[I3,D3];function tc(n,t){var e=t.componentOptions;if(!(L(e)&&e.Ctor.options.inheritAttrs===!1)&&!(G(n.data.attrs)&&G(t.data.attrs))){var r,s,i,o=t.elm,a=n.data.attrs||{},l=t.data.attrs||{};(L(l.__ob__)||pt(l._v_attr_proxy))&&(l=t.data.attrs=lt({},l));for(r in l)s=l[r],i=a[r],i!==s&&ec(o,r,s,t.data.pre);(En||q1)&&l.value!==a.value&&ec(o,"value",l.value);for(r in a)G(l[r])&&(vo(r)?o.removeAttributeNS(Lo,Kl(r)):Wl(r)||o.removeAttribute(r))}}function ec(n,t,e,r){r||n.tagName.indexOf("-")>-1?nc(n,t,e):u3(t)?ys(e)?n.removeAttribute(t):(e=t==="allowfullscreen"&&n.tagName==="EMBED"?"true":t,n.setAttribute(t,e)):Wl(t)?n.setAttribute(t,c3(t,e)):vo(t)?ys(e)?n.removeAttributeNS(Lo,Kl(t)):n.setAttributeNS(Lo,t,e):nc(n,t,e)}function nc(n,t,e){if(ys(e))n.removeAttribute(t);else{if(En&&!bn&&n.tagName==="TEXTAREA"&&t==="placeholder"&&e!==""&&!n.__ieph){var r=function(s){s.stopImmediatePropagation(),n.removeEventListener("input",r)};n.addEventListener("input",r),n.__ieph=!0}n.setAttribute(t,e)}}var G3={create:tc,update:tc};function rc(n,t){var e=t.elm,r=t.data,s=n.data;if(!(G(r.staticClass)&&G(r.class)&&(G(s)||G(s.staticClass)&&G(s.class)))){var i=h3(t),o=e._transitionClasses;L(o)&&(i=yo(i,Co(o))),i!==e._prevClass&&(e.setAttribute("class",i),e._prevClass=i)}}var j3={create:rc,update:rc},To="__r",Ao="__c";function V3(n){if(L(n[To])){var t=En?"change":"input";n[t]=[].concat(n[To],n[t]||[]),delete n[To]}L(n[Ao])&&(n.change=[].concat(n[Ao],n.change||[]),delete n[Ao])}var yr;function z3(n,t,e){var r=yr;return function s(){var i=t.apply(null,arguments);i!==null&&sc(n,s,e,r)}}var Z3=Ki&&!(W1&&Number(W1[1])<=53);function q3(n,t,e,r){if(Z3){var s=wl,i=t;t=i._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=s||o.timeStamp<=0||o.target.ownerDocument!==document)return i.apply(this,arguments)}}yr.addEventListener(n,t,K1?{capture:e,passive:r}:e)}function sc(n,t,e,r){(r||yr).removeEventListener(n,t._wrapper||t,e)}function So(n,t){if(!(G(n.data.on)&&G(t.data.on))){var e=t.data.on||{},r=n.data.on||{};yr=t.elm||n.elm,V3(e),il(e,r,q3,sc,z3,t.context),yr=void 0}}var W3={create:So,update:So,destroy:function(n){return So(n,qe)}},Es;function ic(n,t){if(!(G(n.data.domProps)&&G(t.data.domProps))){var e,r,s=t.elm,i=n.data.domProps||{},o=t.data.domProps||{};(L(o.__ob__)||pt(o._v_attr_proxy))&&(o=t.data.domProps=lt({},o));for(e in i)e in o||(s[e]="");for(e in o){if(r=o[e],e==="textContent"||e==="innerHTML"){if(t.children&&(t.children.length=0),r===i[e])continue;s.childNodes.length===1&&s.removeChild(s.childNodes[0])}if(e==="value"&&s.tagName!=="PROGRESS"){s._value=r;var a=G(r)?"":String(r);K3(s,a)&&(s.value=a)}else if(e==="innerHTML"&&Eo(s.tagName)&&G(s.innerHTML)){Es=Es||document.createElement("div"),Es.innerHTML="<svg>".concat(r,"</svg>");for(var l=Es.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;l.firstChild;)s.appendChild(l.firstChild)}else if(r!==i[e])try{s[e]=r}catch{}}}}function K3(n,t){return!n.composing&&(n.tagName==="OPTION"||Y3(n,t)||X3(n,t))}function Y3(n,t){var e=!0;try{e=document.activeElement!==n}catch{}return e&&n.value!==t}function X3(n,t){var e=n.value,r=n._vModifiers;if(L(r)){if(r.number)return ar(e)!==ar(t);if(r.trim)return e.trim()!==t.trim()}return e!==t}var Q3={create:ic,update:ic},J3=tn(function(n){var t={},e=/;(?![^(]*\))/g,r=/:(.+)/;return n.split(e).forEach(function(s){if(s){var i=s.split(r);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Ro(n){var t=oc(n.style);return n.staticStyle?lt(n.staticStyle,t):t}function oc(n){return Array.isArray(n)?H1(n):typeof n=="string"?J3(n):n}function t4(n,t){var e={},r;if(t)for(var s=n;s.componentInstance;)s=s.componentInstance._vnode,s&&s.data&&(r=Ro(s.data))&<(e,r);(r=Ro(n.data))&<(e,r);for(var i=n;i=i.parent;)i.data&&(r=Ro(i.data))&<(e,r);return e}var e4=/^--/,ac=/\s*!important$/,lc=function(n,t,e){if(e4.test(t))n.style.setProperty(t,e);else if(ac.test(e))n.style.setProperty(nn(t),e.replace(ac,""),"important");else{var r=n4(t);if(Array.isArray(e))for(var s=0,i=e.length;s<i;s++)n.style[r]=e[s];else n.style[r]=e}},cc=["Webkit","Moz","ms"],bs,n4=tn(function(n){if(bs=bs||document.createElement("div").style,n=en(n),n!=="filter"&&n in bs)return n;for(var t=n.charAt(0).toUpperCase()+n.slice(1),e=0;e<cc.length;e++){var r=cc[e]+t;if(r in bs)return r}});function uc(n,t){var e=t.data,r=n.data;if(!(G(e.staticStyle)&&G(e.style)&&G(r.staticStyle)&&G(r.style))){var s,i,o=t.elm,a=r.staticStyle,l=r.normalizedStyle||r.style||{},c=a||l,u=oc(t.data.style)||{};t.data.normalizedStyle=L(u.__ob__)?lt({},u):u;var f=t4(t,!0);for(i in c)G(f[i])&&lc(o,i,"");for(i in f)s=f[i],s!==c[i]&&lc(o,i,s??"")}}var r4={create:uc,update:uc},hc=/\s+/;function fc(n,t){if(!(!t||!(t=t.trim())))if(n.classList)t.indexOf(" ")>-1?t.split(hc).forEach(function(r){return n.classList.add(r)}):n.classList.add(t);else{var e=" ".concat(n.getAttribute("class")||""," ");e.indexOf(" "+t+" ")<0&&n.setAttribute("class",(e+t).trim())}}function dc(n,t){if(!(!t||!(t=t.trim())))if(n.classList)t.indexOf(" ")>-1?t.split(hc).forEach(function(s){return n.classList.remove(s)}):n.classList.remove(t),n.classList.length||n.removeAttribute("class");else{for(var e=" ".concat(n.getAttribute("class")||""," "),r=" "+t+" ";e.indexOf(r)>=0;)e=e.replace(r," ");e=e.trim(),e?n.setAttribute("class",e):n.removeAttribute("class")}}function pc(n){if(n){if(typeof n=="object"){var t={};return n.css!==!1&<(t,gc(n.name||"v")),lt(t,n),t}else if(typeof n=="string")return gc(n)}}var gc=tn(function(n){return{enterClass:"".concat(n,"-enter"),enterToClass:"".concat(n,"-enter-to"),enterActiveClass:"".concat(n,"-enter-active"),leaveClass:"".concat(n,"-leave"),leaveToClass:"".concat(n,"-leave-to"),leaveActiveClass:"".concat(n,"-leave-active")}}),xc=jt&&!bn,Nn="transition",ko="animation",ws="transition",Ts="transitionend",Oo="animation",mc="animationend";xc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(ws="WebkitTransition",Ts="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Oo="WebkitAnimation",mc="webkitAnimationEnd"));var _c=jt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(n){return n()};function Lc(n){_c(function(){_c(n)})}function hn(n,t){var e=n._transitionClasses||(n._transitionClasses=[]);e.indexOf(t)<0&&(e.push(t),fc(n,t))}function Oe(n,t){n._transitionClasses&&Ue(n._transitionClasses,t),dc(n,t)}function vc(n,t,e){var r=yc(n,t),s=r.type,i=r.timeout,o=r.propCount;if(!s)return e();var a=s===Nn?Ts:mc,l=0,c=function(){n.removeEventListener(a,u),e()},u=function(f){f.target===n&&++l>=o&&c()};setTimeout(function(){l<o&&c()},i+1),n.addEventListener(a,u)}var s4=/\b(transform|all)(,|$)/;function yc(n,t){var e=window.getComputedStyle(n),r=(e[ws+"Delay"]||"").split(", "),s=(e[ws+"Duration"]||"").split(", "),i=Cc(r,s),o=(e[Oo+"Delay"]||"").split(", "),a=(e[Oo+"Duration"]||"").split(", "),l=Cc(o,a),c,u=0,f=0;t===Nn?i>0&&(c=Nn,u=i,f=s.length):t===ko?l>0&&(c=ko,u=l,f=a.length):(u=Math.max(i,l),c=u>0?i>l?Nn:ko:null,f=c?c===Nn?s.length:a.length:0);var d=c===Nn&&s4.test(e[ws+"Property"]);return{type:c,timeout:u,propCount:f,hasTransform:d}}function Cc(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max.apply(null,t.map(function(e,r){return Ec(e)+Ec(n[r])}))}function Ec(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function No(n,t){var e=n.elm;L(e._leaveCb)&&(e._leaveCb.cancelled=!0,e._leaveCb());var r=pc(n.data.transition);if(!G(r)&&!(L(e._enterCb)||e.nodeType!==1)){for(var s=r.css,i=r.type,o=r.enterClass,a=r.enterToClass,l=r.enterActiveClass,c=r.appearClass,u=r.appearToClass,f=r.appearActiveClass,d=r.beforeEnter,p=r.enter,w=r.afterEnter,I=r.enterCancelled,q=r.beforeAppear,$=r.appear,j=r.afterAppear,ot=r.appearCancelled,Y=r.duration,Lt=an,ct=an.$vnode;ct&&ct.parent;)Lt=ct.context,ct=ct.parent;var vt=!Lt._isMounted||!n.isRootInsert;if(!(vt&&!$&&$!=="")){var Ut=vt&&c?c:o,ge=vt&&f?f:l,Jn=vt&&u?u:a,xe=vt&&q||d,Te=vt&&ut($)?$:p,Fe=vt&&j||w,tr=vt&&ot||I,At=ar(bt(Y)?Y.enter:Y);process.env.NODE_ENV!=="production"&&At!=null&&wc(At,"enter",n);var Be=s!==!1&&!bn,x=Io(Te),g=e._enterCb=ns(function(){Be&&(Oe(e,Jn),Oe(e,ge)),g.cancelled?(Be&&Oe(e,Ut),tr&&tr(e)):Fe&&Fe(e),e._enterCb=null});n.data.show||Ve(n,"insert",function(){var C=e.parentNode,S=C&&C._pending&&C._pending[n.key];S&&S.tag===n.tag&&S.elm._leaveCb&&S.elm._leaveCb(),Te&&Te(e,g)}),xe&&xe(e),Be&&(hn(e,Ut),hn(e,ge),Lc(function(){Oe(e,Ut),g.cancelled||(hn(e,Jn),x||(Tc(At)?setTimeout(g,At):vc(e,i,g)))})),n.data.show&&(t&&t(),Te&&Te(e,g)),!Be&&!x&&g()}}}function bc(n,t){var e=n.elm;L(e._enterCb)&&(e._enterCb.cancelled=!0,e._enterCb());var r=pc(n.data.transition);if(G(r)||e.nodeType!==1)return t();if(L(e._leaveCb))return;var s=r.css,i=r.type,o=r.leaveClass,a=r.leaveToClass,l=r.leaveActiveClass,c=r.beforeLeave,u=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,w=r.duration,I=s!==!1&&!bn,q=Io(u),$=ar(bt(w)?w.leave:w);process.env.NODE_ENV!=="production"&&L($)&&wc($,"leave",n);var j=e._leaveCb=ns(function(){e.parentNode&&e.parentNode._pending&&(e.parentNode._pending[n.key]=null),I&&(Oe(e,a),Oe(e,l)),j.cancelled?(I&&Oe(e,o),d&&d(e)):(t(),f&&f(e)),e._leaveCb=null});p?p(ot):ot();function ot(){j.cancelled||(!n.data.show&&e.parentNode&&((e.parentNode._pending||(e.parentNode._pending={}))[n.key]=n),c&&c(e),I&&(hn(e,o),hn(e,l),Lc(function(){Oe(e,o),j.cancelled||(hn(e,a),q||(Tc($)?setTimeout(j,$):vc(e,i,j)))})),u&&u(e,j),!I&&!q&&j())}}function wc(n,t,e){typeof n!="number"?T("<transition> explicit ".concat(t," duration is not a valid number - ")+"got ".concat(JSON.stringify(n),"."),e.context):isNaN(n)&&T("<transition> explicit ".concat(t," duration is NaN - ")+"the duration expression might be incorrect.",e.context)}function Tc(n){return typeof n=="number"&&!isNaN(n)}function Io(n){if(G(n))return!1;var t=n.fns;return L(t)?Io(Array.isArray(t)?t[0]:t):(n._length||n.length)>1}function Ac(n,t){t.data.show!==!0&&No(t)}var i4=jt?{create:Ac,activate:Ac,remove:function(n,t){n.data.show!==!0?bc(n,t):t()}}:{},o4=[G3,j3,W3,Q3,r4,i4],a4=o4.concat(H3),l4=$3({nodeOps:N3,modules:a4});bn&&document.addEventListener("selectionchange",function(){var n=document.activeElement;n&&n.vmodel&&Po(n,"input")});var Sc={inserted:function(n,t,e,r){e.tag==="select"?(r.elm&&!r.elm._vOptions?Ve(e,"postpatch",function(){Sc.componentUpdated(n,t,e)}):Rc(n,t,e.context),n._vOptions=[].map.call(n.options,As)):(e.tag==="textarea"||bo(n.type))&&(n._vModifiers=t.modifiers,t.modifiers.lazy||(n.addEventListener("compositionstart",c4),n.addEventListener("compositionend",Nc),n.addEventListener("change",Nc),bn&&(n.vmodel=!0)))},componentUpdated:function(n,t,e){if(e.tag==="select"){Rc(n,t,e.context);var r=n._vOptions,s=n._vOptions=[].map.call(n.options,As);if(s.some(function(o,a){return!rn(o,r[a])})){var i=n.multiple?t.value.some(function(o){return Oc(o,s)}):t.value!==t.oldValue&&Oc(t.value,s);i&&Po(n,"change")}}}};function Rc(n,t,e){kc(n,t,e),(En||q1)&&setTimeout(function(){kc(n,t,e)},0)}function kc(n,t,e){var r=t.value,s=n.multiple;if(s&&!Array.isArray(r)){process.env.NODE_ENV!=="production"&&T('<select multiple v-model="'.concat(t.expression,'"> ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(r).slice(8,-1)),e);return}for(var i,o,a=0,l=n.options.length;a<l;a++)if(o=n.options[a],s)i=j1(r,As(o))>-1,o.selected!==i&&(o.selected=i);else if(rn(As(o),r)){n.selectedIndex!==a&&(n.selectedIndex=a);return}s||(n.selectedIndex=-1)}function Oc(n,t){return t.every(function(e){return!rn(e,n)})}function As(n){return"_value"in n?n._value:n.value}function c4(n){n.target.composing=!0}function Nc(n){n.target.composing&&(n.target.composing=!1,Po(n.target,"input"))}function Po(n,t){var e=document.createEvent("HTMLEvents");e.initEvent(t,!0,!0),n.dispatchEvent(e)}function Mo(n){return n.componentInstance&&(!n.data||!n.data.transition)?Mo(n.componentInstance._vnode):n}var u4={bind:function(n,t,e){var r=t.value;e=Mo(e);var s=e.data&&e.data.transition,i=n.__vOriginalDisplay=n.style.display==="none"?"":n.style.display;r&&s?(e.data.show=!0,No(e,function(){n.style.display=i})):n.style.display=r?i:"none"},update:function(n,t,e){var r=t.value,s=t.oldValue;if(!r!=!s){e=Mo(e);var i=e.data&&e.data.transition;i?(e.data.show=!0,r?No(e,function(){n.style.display=n.__vOriginalDisplay}):bc(e,function(){n.style.display="none"})):n.style.display=r?n.__vOriginalDisplay:"none"}},unbind:function(n,t,e,r,s){s||(n.style.display=n.__vOriginalDisplay)}},h4={model:Sc,show:u4},Ic={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function $o(n){var t=n&&n.componentOptions;return t&&t.Ctor.options.abstract?$o(pl(t.children)):n}function Pc(n){var t={},e=n.$options;for(var r in e.propsData)t[r]=n[r];var s=e._parentListeners;for(var r in s)t[en(r)]=s[r];return t}function Mc(n,t){if(/\d-keep-alive$/.test(t.tag))return n("keep-alive",{props:t.componentOptions.propsData})}function f4(n){for(;n=n.parent;)if(n.data.transition)return!0}function d4(n,t){return t.key===n.key&&t.tag===n.tag}var p4=function(n){return n.tag||fr(n)},g4=function(n){return n.name==="show"},x4={name:"transition",props:Ic,abstract:!0,render:function(n){var t=this,e=this.$slots.default;if(e&&(e=e.filter(p4),!!e.length)){process.env.NODE_ENV!=="production"&&e.length>1&&T("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;process.env.NODE_ENV!=="production"&&r&&r!=="in-out"&&r!=="out-in"&&T("invalid <transition> mode: "+r,this.$parent);var s=e[0];if(f4(this.$vnode))return s;var i=$o(s);if(!i)return s;if(this._leaving)return Mc(n,s);var o="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?o+"comment":o+i.tag:Ae(i.key)?String(i.key).indexOf(o)===0?i.key:o+i.key:i.key;var a=(i.data||(i.data={})).transition=Pc(this),l=this._vnode,c=$o(l);if(i.data.directives&&i.data.directives.some(g4)&&(i.data.show=!0),c&&c.data&&!d4(i,c)&&!fr(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var u=c.data.transition=lt({},a);if(r==="out-in")return this._leaving=!0,Ve(u,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Mc(n,s);if(r==="in-out"){if(fr(i))return l;var f,d=function(){f()};Ve(a,"afterEnter",d),Ve(a,"enterCancelled",d),Ve(u,"delayLeave",function(p){f=p})}}return s}}},$c=lt({tag:String,moveClass:String},Ic);delete $c.mode;var m4={props:$c,beforeMount:function(){var n=this,t=this._update;this._update=function(e,r){var s=Cl(n);n.__patch__(n._vnode,n.kept,!1,!0),n._vnode=n.kept,s(),t.call(n,e,r)}},render:function(n){for(var t=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],i=this.children=[],o=Pc(this),a=0;a<s.length;a++){var l=s[a];if(l.tag){if(l.key!=null&&String(l.key).indexOf("__vlist")!==0)i.push(l),e[l.key]=l,(l.data||(l.data={})).transition=o;else if(process.env.NODE_ENV!=="production"){var c=l.componentOptions,u=c?kn(c.Ctor.options)||c.tag||"":l.tag;T("<transition-group> children must be keyed: <".concat(u,">"))}}}if(r){for(var f=[],d=[],a=0;a<r.length;a++){var l=r[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),e[l.key]?f.push(l):d.push(l)}this.kept=n(t,null,f),this.removed=d}return n(t,null,i)},updated:function(){var n=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!n.length||!this.hasMove(n[0].elm,t)||(n.forEach(_4),n.forEach(L4),n.forEach(v4),this._reflow=document.body.offsetHeight,n.forEach(function(e){if(e.data.moved){var r=e.elm,s=r.style;hn(r,t),s.transform=s.WebkitTransform=s.transitionDuration="",r.addEventListener(Ts,r._moveCb=function i(o){o&&o.target!==r||(!o||/transform$/.test(o.propertyName))&&(r.removeEventListener(Ts,i),r._moveCb=null,Oe(r,t))})}}))},methods:{hasMove:function(n,t){if(!xc)return!1;if(this._hasMove)return this._hasMove;var e=n.cloneNode();n._transitionClasses&&n._transitionClasses.forEach(function(s){dc(e,s)}),fc(e,t),e.style.display="none",this.$el.appendChild(e);var r=yc(e);return this.$el.removeChild(e),this._hasMove=r.hasTransform}}};function _4(n){n.elm._moveCb&&n.elm._moveCb(),n.elm._enterCb&&n.elm._enterCb()}function L4(n){n.data.newPos=n.elm.getBoundingClientRect()}function v4(n){var t=n.data.pos,e=n.data.newPos,r=t.left-e.left,s=t.top-e.top;if(r||s){n.data.moved=!0;var i=n.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(s,"px)"),i.transitionDuration="0s"}}var y4={Transition:x4,TransitionGroup:m4};ft.config.mustUseProp=a3,ft.config.isReservedTag=Xl,ft.config.isReservedAttr=i3,ft.config.getTagNamespace=m3,ft.config.isUnknownElement=_3,lt(ft.options.directives,h4),lt(ft.options.components,y4),ft.prototype.__patch__=jt?l4:yt,ft.prototype.$mount=function(n,t){return n=n&&jt?L3(n):void 0,Jf(this,n,t)},jt&&setTimeout(function(){nt.devtools&&(is?is.emit("init",ft):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
|
|
10
|
+
(found in `.concat(ln(n),")")}}var ie=nt.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(ie.el=ie.propsData=function(n,t,e,r){return e||T('option "'.concat(r,'" can only be used during instance ')+"creation with the `new` keyword."),$l(n,t)});function _r(n,t,e){if(e===void 0&&(e=!0),!t)return n;for(var r,s,i,o=cr?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],r!=="__ob__"&&(s=n[r],i=t[r],!e||!wt(n,r)?Hi(n,r,i):s!==i&&Mt(s)&&Mt(i)&&_r(s,i));return n}function Ml(n,t,e){return e?function(){var s=ut(t)?t.call(e,e):t,i=ut(n)?n.call(e,e):n;return s?_r(s,i):i}:t?n?function(){return _r(ut(t)?t.call(this,this):t,ut(n)?n.call(this,this):n)}:t:n}ie.data=function(n,t,e){return e?Ml(n,t,e):t&&typeof t!="function"?(process.env.NODE_ENV!=="production"&&T('The "data" option should be a function that returns a per-instance value in component definitions.',e),n):Ml(n,t)};function yd(n,t){var e=t?n?n.concat(t):z(t)?t:[t]:n;return e&&Cd(e)}function Cd(n){for(var t=[],e=0;e<n.length;e++)t.indexOf(n[e])===-1&&t.push(n[e]);return t}q1.forEach(function(n){ie[n]=yd});function Ed(n,t,e,r){var s=Object.create(n||null);return t?(process.env.NODE_ENV!=="production"&&ho(r,t,e),lt(s,t)):s}rs.forEach(function(n){ie[n+"s"]=Ed}),ie.watch=function(n,t,e,r){if(n===Fi&&(n=void 0),t===Fi&&(t=void 0),!t)return Object.create(n||null);if(process.env.NODE_ENV!=="production"&&ho(r,t,e),!n)return t;var s={};lt(s,n);for(var i in t){var o=s[i],a=t[i];o&&!z(o)&&(o=[o]),s[i]=o?o.concat(a):z(a)?a:[a]}return s},ie.props=ie.methods=ie.inject=ie.computed=function(n,t,e,r){if(t&&process.env.NODE_ENV!=="production"&&ho(r,t,e),!n)return t;var s=Object.create(null);return lt(s,n),t&<(s,t),s},ie.provide=function(n,t){return n?function(){var e=Object.create(null);return _r(e,ut(n)?n.call(this):n),t&&_r(e,ut(t)?t.call(this):t,!1),e}:t};var $l=function(n,t){return t===void 0?n:t};function bd(n){for(var t in n.components)uo(t)}function uo(n){new RegExp("^[a-zA-Z][\\-\\.0-9_".concat(W1.source,"]*$")).test(n)||T('Invalid component name: "'+n+'". Component names should conform to valid custom element name in html5 specification.'),(Q2(n)||nt.isReservedTag(n))&&T("Do not use built-in or reserved HTML elements as component id: "+n)}function wd(n,t){var e=n.props;if(e){var r={},s,i,o;if(z(e))for(s=e.length;s--;)i=e[s],typeof i=="string"?(o=en(i),r[o]={type:null}):process.env.NODE_ENV!=="production"&&T("props must be strings when using array syntax.");else if(Mt(e))for(var a in e)i=e[a],o=en(a),r[o]=Mt(i)?i:{type:i};else process.env.NODE_ENV!=="production"&&T('Invalid value for option "props": expected an Array or an Object, '+"but got ".concat(or(e),"."),t);n.props=r}}function Td(n,t){var e=n.inject;if(e){var r=n.inject={};if(z(e))for(var s=0;s<e.length;s++)r[e[s]]={from:e[s]};else if(Mt(e))for(var i in e){var o=e[i];r[i]=Mt(o)?lt({from:i},o):{from:o}}else process.env.NODE_ENV!=="production"&&T('Invalid value for option "inject": expected an Array or an Object, '+"but got ".concat(or(e),"."),t)}}function Ad(n){var t=n.directives;if(t)for(var e in t){var r=t[e];ut(r)&&(t[e]={bind:r,update:r})}}function ho(n,t,e){Mt(t)||T('Invalid value for option "'.concat(n,'": expected an Object, ')+"but got ".concat(or(t),"."),e)}function cn(n,t,e){if(process.env.NODE_ENV!=="production"&&bd(t),ut(t)&&(t=t.options),wd(t,e),Td(t,e),Ad(t),!t._base&&(t.extends&&(n=cn(n,t.extends,e)),t.mixins))for(var r=0,s=t.mixins.length;r<s;r++)n=cn(n,t.mixins[r],e);var i={},o;for(o in n)a(o);for(o in t)wt(n,o)||a(o);function a(l){var c=ie[l]||$l;i[l]=c(n[l],t[l],e,l)}return i}function _s(n,t,e,r){if(typeof e=="string"){var s=n[t];if(wt(s,e))return s[e];var i=en(e);if(wt(s,i))return s[i];var o=H1(i);if(wt(s,o))return s[o];var a=s[e]||s[i]||s[o];return process.env.NODE_ENV!=="production"&&r&&!a&&T("Failed to resolve "+t.slice(0,-1)+": "+e),a}}function fo(n,t,e,r){var s=t[n],i=!wt(e,n),o=e[n],a=Fl(Boolean,s.type);if(a>-1){if(i&&!wt(s,"default"))o=!1;else if(o===""||o===nn(n)){var l=Fl(String,s.type);(l<0||a<l)&&(o=!0)}}if(o===void 0){o=Sd(r,s,n);var c=Ui;je(!0),Se(o),je(c)}return process.env.NODE_ENV!=="production"&&Rd(s,n,o,r,i),o}function Sd(n,t,e){if(wt(t,"default")){var r=t.default;return process.env.NODE_ENV!=="production"&&bt(r)&&T('Invalid default value for prop "'+e+'": Props with type Object/Array must use a factory function to return the default value.',n),n&&n.$options.propsData&&n.$options.propsData[e]===void 0&&n._props[e]!==void 0?n._props[e]:ut(r)&&Ls(t.type)!=="Function"?r.call(n):r}}function Rd(n,t,e,r,s){if(n.required&&s){T('Missing required prop: "'+t+'"',r);return}if(!(e==null&&!n.required)){var i=n.type,o=!i||i===!0,a=[];if(i){z(i)||(i=[i]);for(var l=0;l<i.length&&!o;l++){var c=Od(e,i[l],r);a.push(c.expectedType||""),o=c.valid}}var u=a.some(function(d){return d});if(!o&&u){T(Id(t,e,a),r);return}var f=n.validator;f&&(f(e)||T('Invalid prop: custom validator check failed for prop "'+t+'".',r))}}var kd=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function Od(n,t,e){var r,s=Ls(t);if(kd.test(s)){var i=typeof n;r=i===s.toLowerCase(),!r&&i==="object"&&(r=n instanceof t)}else if(s==="Object")r=Mt(n);else if(s==="Array")r=z(n);else try{r=n instanceof t}catch{T('Invalid prop type: "'+String(t)+'" is not a constructor',e),r=!1}return{valid:r,expectedType:s}}var Nd=/^\s*function (\w+)/;function Ls(n){var t=n&&n.toString().match(Nd);return t?t[1]:""}function Dl(n,t){return Ls(n)===Ls(t)}function Fl(n,t){if(!z(t))return Dl(t,n)?0:-1;for(var e=0,r=t.length;e<r;e++)if(Dl(t[e],n))return e;return-1}function Id(n,t,e){var r='Invalid prop: type check failed for prop "'.concat(n,'".')+" Expected ".concat(e.map(H1).join(", ")),s=e[0],i=or(t);return e.length===1&&po(s)&&po(typeof t)&&!Md(s,i)&&(r+=" with value ".concat(Bl(t,s))),r+=", got ".concat(i," "),po(i)&&(r+="with value ".concat(Bl(t,i),".")),r}function Bl(n,t){return t==="String"?'"'.concat(n,'"'):t==="Number"?"".concat(Number(n)):"".concat(n)}var Pd=["string","number","boolean"];function po(n){return Pd.some(function(t){return n.toLowerCase()===t})}function Md(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return n.some(function(e){return e.toLowerCase()==="boolean"})}var Ul;if(process.env.NODE_ENV!=="production"){var $d=Kt("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"),Hl=function(n,t){T('Property or method "'.concat(t,'" is not defined on the instance but ')+"referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.",n)},Gl=function(n,t){T('Property "'.concat(t,'" must be accessed with "$data.').concat(t,'" because ')+'properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://v2.vuejs.org/v2/api/#data',n)},jl=typeof Proxy<"u"&&sn(Proxy);if(jl){var Dd=Kt("stop,prevent,self,ctrl,shift,alt,meta,exact");nt.keyCodes=new Proxy(nt.keyCodes,{set:function(n,t,e){return Dd(t)?(T("Avoid overwriting built-in modifier in config.keyCodes: .".concat(t)),!1):(n[t]=e,!0)}})}var Fd={has:function(n,t){var e=t in n,r=$d(t)||typeof t=="string"&&t.charAt(0)==="_"&&!(t in n.$data);return!e&&!r&&(t in n.$data?Gl(n,t):Hl(n,t)),e||!r}},Bd={get:function(n,t){return typeof t=="string"&&!(t in n)&&(t in n.$data?Gl(n,t):Hl(n,t)),n[t]}};Ul=function(t){if(jl){var e=t.$options,r=e.render&&e.render._withStripped?Bd:Fd;t._renderProxy=new Proxy(t,r)}else t._renderProxy=t}}var ve={enumerable:!0,configurable:!0,get:yt,set:yt};function go(n,t,e){ve.get=function(){return this[t][e]},ve.set=function(s){this[t][e]=s},Object.defineProperty(n,e,ve)}function Ud(n){var t=n.$options;if(t.props&&Hd(n,t.props),Pf(n),t.methods&&Zd(n,t.methods),t.data)Gd(n);else{var e=Se(n._data={});e&&e.vmCount++}t.computed&&zd(n,t.computed),t.watch&&t.watch!==Fi&&qd(n,t.watch)}function Hd(n,t){var e=n.$options.propsData||{},r=n._props=il({}),s=n.$options._propKeys=[],i=!n.$parent;i||je(!1);var o=function(l){s.push(l);var c=fo(l,t,e,n);if(process.env.NODE_ENV!=="production"){var u=nn(l);(U1(u)||nt.isReservedAttr(u))&&T('"'.concat(u,'" is a reserved attribute and cannot be used as component prop.'),n),fe(r,l,c,function(){!i&&!xr&&T("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's "+'value. Prop being mutated: "'.concat(l,'"'),n)})}else fe(r,l,c);l in n||go(n,"_props",l)};for(var a in t)o(a);je(!0)}function Gd(n){var t=n.$options.data;t=n._data=ut(t)?jd(t,n):t||{},Mt(t)||(t={},process.env.NODE_ENV!=="production"&&T(`data functions should return an object:
|
|
11
|
+
https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,n));for(var e=Object.keys(t),r=n.$options.props,s=n.$options.methods,i=e.length;i--;){var o=e[i];process.env.NODE_ENV!=="production"&&s&&wt(s,o)&&T('Method "'.concat(o,'" has already been defined as a data property.'),n),r&&wt(r,o)?process.env.NODE_ENV!=="production"&&T('The data property "'.concat(o,'" is already declared as a prop. ')+"Use prop default value instead.",n):Di(o)||go(n,"_data",o)}var a=Se(t);a&&a.vmCount++}function jd(n,t){An();try{return n.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{Sn()}}var Vd={lazy:!0};function zd(n,t){var e=n._computedWatchers=Object.create(null),r=lr();for(var s in t){var i=t[s],o=ut(i)?i:i.get;process.env.NODE_ENV!=="production"&&o==null&&T('Getter is missing for computed property "'.concat(s,'".'),n),r||(e[s]=new Ji(n,o||yt,yt,Vd)),s in n?process.env.NODE_ENV!=="production"&&(s in n.$data?T('The computed property "'.concat(s,'" is already defined in data.'),n):n.$options.props&&s in n.$options.props?T('The computed property "'.concat(s,'" is already defined as a prop.'),n):n.$options.methods&&s in n.$options.methods&&T('The computed property "'.concat(s,'" is already defined as a method.'),n)):Vl(n,s,i)}}function Vl(n,t,e){var r=!lr();ut(e)?(ve.get=r?zl(t):Zl(e),ve.set=yt):(ve.get=e.get?r&&e.cache!==!1?zl(t):Zl(e.get):yt,ve.set=e.set||yt),process.env.NODE_ENV!=="production"&&ve.set===yt&&(ve.set=function(){T('Computed property "'.concat(t,'" was assigned to but it has no setter.'),this)}),Object.defineProperty(n,t,ve)}function zl(n){return function(){var e=this._computedWatchers&&this._computedWatchers[n];if(e)return e.dirty&&e.evaluate(),he.target&&(process.env.NODE_ENV!=="production"&&he.target.onTrack&&he.target.onTrack({effect:he.target,target:this,type:"get",key:n}),e.depend()),e.value}}function Zl(n){return function(){return n.call(this,this)}}function Zd(n,t){var e=n.$options.props;for(var r in t)process.env.NODE_ENV!=="production"&&(typeof t[r]!="function"&&T('Method "'.concat(r,'" has type "').concat(typeof t[r],'" in the component definition. ')+"Did you reference the function correctly?",n),e&&wt(e,r)&&T('Method "'.concat(r,'" has already been defined as a prop.'),n),r in n&&Di(r)&&T('Method "'.concat(r,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $.")),n[r]=typeof t[r]!="function"?yt:G1(t[r],n)}function qd(n,t){for(var e in t){var r=t[e];if(z(r))for(var s=0;s<r.length;s++)xo(n,e,r[s]);else xo(n,e,r)}}function xo(n,t,e,r){return Mt(e)&&(r=e,e=e.handler),typeof e=="string"&&(e=n[e]),n.$watch(t,e,r)}function Wd(n){var t={};t.get=function(){return this._data};var e={};e.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(t.set=function(){T("Avoid replacing instance root $data. Use nested data properties instead.",this)},e.set=function(){T("$props is readonly.",this)}),Object.defineProperty(n.prototype,"$data",t),Object.defineProperty(n.prototype,"$props",e),n.prototype.$set=Hi,n.prototype.$delete=rl,n.prototype.$watch=function(r,s,i){var o=this;if(Mt(s))return xo(o,r,s,i);i=i||{},i.user=!0;var a=new Ji(o,r,s,i);if(i.immediate){var l='callback for immediate watcher "'.concat(a.expression,'"');An(),Ze(s,o,[a.value],o,l),Sn()}return function(){a.teardown()}}}var Kd=0;function Yd(n){n.prototype._init=function(t){var e=this;e._uid=Kd++;var r,s;process.env.NODE_ENV!=="production"&&nt.performance&&Le&&(r="vue-perf-start:".concat(e._uid),s="vue-perf-end:".concat(e._uid),Le(r)),e._isVue=!0,e.__v_skip=!0,e._scope=new xf(!0),e._scope._vm=!0,t&&t._isComponent?Xd(e,t):e.$options=cn(mo(e.constructor),t||{},e),process.env.NODE_ENV!=="production"?Ul(e):e._renderProxy=e,e._self=e,td(e),Kf(e),Ff(e),Xt(e,"beforeCreate",void 0,!1),fd(e),Ud(e),hd(e),Xt(e,"created"),process.env.NODE_ENV!=="production"&&nt.performance&&Le&&(e._name=ln(e,!1),Le(s),xs("vue ".concat(e._name," init"),r,s)),e.$options.el&&e.$mount(e.$options.el)}}function Xd(n,t){var e=n.$options=Object.create(n.constructor.options),r=t._parentVnode;e.parent=t.parent,e._parentVnode=r;var s=r.componentOptions;e.propsData=s.propsData,e._parentListeners=s.listeners,e._renderChildren=s.children,e._componentTag=s.tag,t.render&&(e.render=t.render,e.staticRenderFns=t.staticRenderFns)}function mo(n){var t=n.options;if(n.super){var e=mo(n.super),r=n.superOptions;if(e!==r){n.superOptions=e;var s=Qd(n);s&<(n.extendOptions,s),t=n.options=cn(e,n.extendOptions),t.name&&(t.components[t.name]=n)}}return t}function Qd(n){var t,e=n.options,r=n.sealedOptions;for(var s in e)e[s]!==r[s]&&(t||(t={}),t[s]=e[s]);return t}function ht(n){process.env.NODE_ENV!=="production"&&!(this instanceof ht)&&T("Vue is a constructor and should be called with the `new` keyword"),this._init(n)}Yd(ht),Wd(ht),Jf(ht),ed(ht),Bf(ht);function Jd(n){n.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var r=$i(arguments,1);return r.unshift(this),ut(t.install)?t.install.apply(t,r):ut(t)&&t.apply(null,r),e.push(t),this}}function t3(n){n.mixin=function(t){return this.options=cn(this.options,t),this}}function e3(n){n.cid=0;var t=1;n.extend=function(e){e=e||{};var r=this,s=r.cid,i=e._Ctor||(e._Ctor={});if(i[s])return i[s];var o=kn(e)||kn(r.options);process.env.NODE_ENV!=="production"&&o&&uo(o);var a=function(c){this._init(c)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=cn(r.options,e),a.super=r,a.options.props&&n3(a),a.options.computed&&r3(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,rs.forEach(function(l){a[l]=r[l]}),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=lt({},a.options),i[s]=a,a}}function n3(n){var t=n.options.props;for(var e in t)go(n.prototype,"_props",e)}function r3(n){var t=n.options.computed;for(var e in t)Vl(n.prototype,e,t[e])}function s3(n){rs.forEach(function(t){n[t]=function(e,r){return r?(process.env.NODE_ENV!=="production"&&t==="component"&&uo(e),t==="component"&&Mt(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),t==="directive"&&ut(r)&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}})}function ql(n){return n&&(kn(n.Ctor.options)||n.tag)}function vs(n,t){return z(n)?n.indexOf(t)>-1:typeof n=="string"?n.split(",").indexOf(t)>-1:F1(n)?n.test(t):!1}function Wl(n,t){var e=n.cache,r=n.keys,s=n._vnode;for(var i in e){var o=e[i];if(o){var a=o.name;a&&!t(a)&&_o(e,i,r,s)}}}function _o(n,t,e,r){var s=n[t];s&&(!r||s.tag!==r.tag)&&s.componentInstance.$destroy(),n[t]=null,Ue(e,t)}var Kl=[String,RegExp,Array],i3={name:"keep-alive",abstract:!0,props:{include:Kl,exclude:Kl,max:[String,Number]},methods:{cacheVNode:function(){var n=this,t=n.cache,e=n.keys,r=n.vnodeToCache,s=n.keyToCache;if(r){var i=r.tag,o=r.componentInstance,a=r.componentOptions;t[s]={name:ql(a),tag:i,componentInstance:o},e.push(s),this.max&&e.length>parseInt(this.max)&&_o(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var n in this.cache)_o(this.cache,n,this.keys)},mounted:function(){var n=this;this.cacheVNode(),this.$watch("include",function(t){Wl(n,function(e){return vs(t,e)})}),this.$watch("exclude",function(t){Wl(n,function(e){return!vs(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var n=this.$slots.default,t=xl(n),e=t&&t.componentOptions;if(e){var r=ql(e),s=this,i=s.include,o=s.exclude;if(i&&(!r||!vs(i,r))||o&&r&&vs(o,r))return t;var a=this,l=a.cache,c=a.keys,u=t.key==null?e.Ctor.cid+(e.tag?"::".concat(e.tag):""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,Ue(c,u),c.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||n&&n[0]}},o3={KeepAlive:i3};function a3(n){var t={};t.get=function(){return nt},process.env.NODE_ENV!=="production"&&(t.set=function(){T("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(n,"config",t),n.util={warn:T,extend:lt,mergeOptions:cn,defineReactive:fe},n.set=Hi,n.delete=rl,n.nextTick=Qi,n.observable=function(e){return Se(e),e},n.options=Object.create(null),rs.forEach(function(e){n.options[e+"s"]=Object.create(null)}),n.options._base=n,lt(n.options.components,o3),Jd(n),t3(n),e3(n),s3(n)}a3(ht),Object.defineProperty(ht.prototype,"$isServer",{get:lr}),Object.defineProperty(ht.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ht,"FunctionalRenderContext",{value:oo}),ht.version=qf;var l3=Kt("style,class"),c3=Kt("input,textarea,option,select,progress"),u3=function(n,t,e){return e==="value"&&c3(n)&&t!=="button"||e==="selected"&&n==="option"||e==="checked"&&n==="input"||e==="muted"&&n==="video"},Yl=Kt("contenteditable,draggable,spellcheck"),h3=Kt("events,caret,typing,plaintext-only"),f3=function(n,t){return ys(t)||t==="false"?"false":n==="contenteditable"&&h3(t)?t:"true"},d3=Kt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Lo="http://www.w3.org/1999/xlink",vo=function(n){return n.charAt(5)===":"&&n.slice(0,5)==="xlink"},Xl=function(n){return vo(n)?n.slice(6,n.length):""},ys=function(n){return n==null||n===!1};function p3(n){for(var t=n.data,e=n,r=n;L(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Ql(r.data,t));for(;L(e=e.parent);)e&&e.data&&(t=Ql(t,e.data));return g3(t.staticClass,t.class)}function Ql(n,t){return{staticClass:yo(n.staticClass,t.staticClass),class:L(n.class)?[n.class,t.class]:t.class}}function g3(n,t){return L(n)||L(t)?yo(n,Co(t)):""}function yo(n,t){return n?t?n+" "+t:n:t||""}function Co(n){return Array.isArray(n)?x3(n):bt(n)?m3(n):typeof n=="string"?n:""}function x3(n){for(var t="",e,r=0,s=n.length;r<s;r++)L(e=Co(n[r]))&&e!==""&&(t&&(t+=" "),t+=e);return t}function m3(n){var t="";for(var e in n)n[e]&&(t&&(t+=" "),t+=e);return t}var _3={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},L3=Kt("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Eo=Kt("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Jl=function(n){return L3(n)||Eo(n)};function v3(n){if(Eo(n))return"svg";if(n==="math")return"math"}var Cs=Object.create(null);function y3(n){if(!jt)return!0;if(Jl(n))return!1;if(n=n.toLowerCase(),Cs[n]!=null)return Cs[n];var t=document.createElement(n);return n.indexOf("-")>-1?Cs[n]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Cs[n]=/HTMLUnknownElement/.test(t.toString())}var bo=Kt("text,number,password,search,email,tel,url");function C3(n){if(typeof n=="string"){var t=document.querySelector(n);return t||(process.env.NODE_ENV!=="production"&&T("Cannot find element: "+n),document.createElement("div"))}else return n}function E3(n,t){var e=document.createElement(n);return n!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&e.setAttribute("multiple","multiple"),e}function b3(n,t){return document.createElementNS(_3[n],t)}function w3(n){return document.createTextNode(n)}function T3(n){return document.createComment(n)}function A3(n,t,e){n.insertBefore(t,e)}function S3(n,t){n.removeChild(t)}function R3(n,t){n.appendChild(t)}function k3(n){return n.parentNode}function O3(n){return n.nextSibling}function N3(n){return n.tagName}function I3(n,t){n.textContent=t}function P3(n,t){n.setAttribute(t,"")}var M3=Object.freeze({__proto__:null,createElement:E3,createElementNS:b3,createTextNode:w3,createComment:T3,insertBefore:A3,removeChild:S3,appendChild:R3,parentNode:k3,nextSibling:O3,tagName:N3,setTextContent:I3,setStyleScope:P3}),$3={create:function(n,t){On(t)},update:function(n,t){n.data.ref!==t.data.ref&&(On(n,!0),On(t))},destroy:function(n){On(n,!0)}};function On(n,t){var e=n.data.ref;if(L(e)){var r=n.context,s=n.componentInstance||n.elm,i=t?null:s,o=t?void 0:s;if(ut(e)){Ze(e,r,[i],r,"template ref function");return}var a=n.data.refInFor,l=typeof e=="string"||typeof e=="number",c=_e(e),u=r.$refs;if(l||c)if(a){var f=l?u[e]:e.value;t?z(f)&&Ue(f,s):z(f)?f.includes(s)||f.push(s):l?(u[e]=[s],tc(r,e,u[e])):e.value=[s]}else if(l){if(t&&u[e]!==s)return;u[e]=o,tc(r,e,i)}else if(c){if(t&&e.value!==s)return;e.value=i}else process.env.NODE_ENV!=="production"&&T("Invalid template ref type: ".concat(typeof e))}}function tc(n,t,e){var r=n._setupState;r&&wt(r,t)&&(_e(r[t])?r[t].value=e:r[t]=e)}var qe=new Vt("",{},[]),Lr=["create","activate","update","remove","destroy"];function un(n,t){return n.key===t.key&&n.asyncFactory===t.asyncFactory&&(n.tag===t.tag&&n.isComment===t.isComment&&L(n.data)===L(t.data)&&D3(n,t)||pt(n.isAsyncPlaceholder)&&G(t.asyncFactory.error))}function D3(n,t){if(n.tag!=="input")return!0;var e,r=L(e=n.data)&&L(e=e.attrs)&&e.type,s=L(e=t.data)&&L(e=e.attrs)&&e.type;return r===s||bo(r)&&bo(s)}function F3(n,t,e){var r,s,i={};for(r=t;r<=e;++r)s=n[r].key,L(s)&&(i[s]=r);return i}function B3(n){var t,e,r={},s=n.modules,i=n.nodeOps;for(t=0;t<Lr.length;++t)for(r[Lr[t]]=[],e=0;e<s.length;++e)L(s[e][Lr[t]])&&r[Lr[t]].push(s[e][Lr[t]]);function o(x){return new Vt(i.tagName(x).toLowerCase(),{},[],void 0,x)}function a(x,g){function C(){--C.listeners===0&&l(x)}return C.listeners=g,C}function l(x){var g=i.parentNode(x);L(g)&&i.removeChild(g,x)}function c(x,g){return!g&&!x.ns&&!(nt.ignoredElements.length&&nt.ignoredElements.some(function(C){return F1(C)?C.test(x.tag):C===x.tag}))&&nt.isUnknownElement(x.tag)}var u=0;function f(x,g,C,S,B,X,y){if(L(x.elm)&&L(X)&&(x=X[y]=Bi(x)),x.isRootInsert=!B,!d(x,g,C,S)){var E=x.data,O=x.children,P=x.tag;L(P)?(process.env.NODE_ENV!=="production"&&(E&&E.pre&&u++,c(x,u)&&T("Unknown custom element: <"+P+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',x.context)),x.elm=x.ns?i.createElementNS(x.ns,P):i.createElement(P,x),ot(x),q(x,O,g),L(E)&&j(x,g),I(C,x.elm,S),process.env.NODE_ENV!=="production"&&E&&E.pre&&u--):pt(x.isComment)?(x.elm=i.createComment(x.text),I(C,x.elm,S)):(x.elm=i.createTextNode(x.text),I(C,x.elm,S))}}function d(x,g,C,S){var B=x.data;if(L(B)){var X=L(x.componentInstance)&&B.keepAlive;if(L(B=B.hook)&&L(B=B.init)&&B(x,!1),L(x.componentInstance))return p(x,g),I(C,x.elm,S),pt(X)&&w(x,g,C,S),!0}}function p(x,g){L(x.data.pendingInsert)&&(g.push.apply(g,x.data.pendingInsert),x.data.pendingInsert=null),x.elm=x.componentInstance.$el,$(x)?(j(x,g),ot(x)):(On(x),g.push(x))}function w(x,g,C,S){for(var B,X=x;X.componentInstance;)if(X=X.componentInstance._vnode,L(B=X.data)&&L(B=B.transition)){for(B=0;B<r.activate.length;++B)r.activate[B](qe,X);g.push(X);break}I(C,x.elm,S)}function I(x,g,C){L(x)&&(L(C)?i.parentNode(C)===x&&i.insertBefore(x,g,C):i.appendChild(x,g))}function q(x,g,C){if(z(g)){process.env.NODE_ENV!=="production"&&ge(g);for(var S=0;S<g.length;++S)f(g[S],C,x.elm,null,!0,g,S)}else Ae(x.text)&&i.appendChild(x.elm,i.createTextNode(String(x.text)))}function $(x){for(;x.componentInstance;)x=x.componentInstance._vnode;return L(x.tag)}function j(x,g){for(var C=0;C<r.create.length;++C)r.create[C](qe,x);t=x.data.hook,L(t)&&(L(t.create)&&t.create(qe,x),L(t.insert)&&g.push(x))}function ot(x){var g;if(L(g=x.fnScopeId))i.setStyleScope(x.elm,g);else for(var C=x;C;)L(g=C.context)&&L(g=g.$options._scopeId)&&i.setStyleScope(x.elm,g),C=C.parent;L(g=an)&&g!==x.context&&g!==x.fnContext&&L(g=g.$options._scopeId)&&i.setStyleScope(x.elm,g)}function Y(x,g,C,S,B,X){for(;S<=B;++S)f(C[S],X,x,g,!1,C,S)}function Lt(x){var g,C,S=x.data;if(L(S))for(L(g=S.hook)&&L(g=g.destroy)&&g(x),g=0;g<r.destroy.length;++g)r.destroy[g](x);if(L(g=x.children))for(C=0;C<x.children.length;++C)Lt(x.children[C])}function ct(x,g,C){for(;g<=C;++g){var S=x[g];L(S)&&(L(S.tag)?(vt(S),Lt(S)):l(S.elm))}}function vt(x,g){if(L(g)||L(x.data)){var C,S=r.remove.length+1;for(L(g)?g.listeners+=S:g=a(x.elm,S),L(C=x.componentInstance)&&L(C=C._vnode)&&L(C.data)&&vt(C,g),C=0;C<r.remove.length;++C)r.remove[C](x,g);L(C=x.data.hook)&&L(C=C.remove)?C(x,g):g()}else l(x.elm)}function Ht(x,g,C,S,B){var X=0,y=0,E=g.length-1,O=g[0],P=g[E],U=C.length-1,at=C[0],xt=C[U],St,Et,kt,Ri,Xr=!B;for(process.env.NODE_ENV!=="production"&&ge(C);X<=E&&y<=U;)G(O)?O=g[++X]:G(P)?P=g[--E]:un(O,at)?(xe(O,at,S,C,y),O=g[++X],at=C[++y]):un(P,xt)?(xe(P,xt,S,C,U),P=g[--E],xt=C[--U]):un(O,xt)?(xe(O,xt,S,C,U),Xr&&i.insertBefore(x,O.elm,i.nextSibling(P.elm)),O=g[++X],xt=C[--U]):un(P,at)?(xe(P,at,S,C,y),Xr&&i.insertBefore(x,P.elm,O.elm),P=g[--E],at=C[++y]):(G(St)&&(St=F3(g,X,E)),Et=L(at.key)?St[at.key]:Jn(at,g,X,E),G(Et)?f(at,S,x,O.elm,!1,C,y):(kt=g[Et],un(kt,at)?(xe(kt,at,S,C,y),g[Et]=void 0,Xr&&i.insertBefore(x,kt.elm,O.elm)):f(at,S,x,O.elm,!1,C,y)),at=C[++y]);X>E?(Ri=G(C[U+1])?null:C[U+1].elm,Y(x,Ri,C,y,U,S)):y>U&&ct(g,X,E)}function ge(x){for(var g={},C=0;C<x.length;C++){var S=x[C],B=S.key;L(B)&&(g[B]?T("Duplicate keys detected: '".concat(B,"'. This may cause an update error."),S.context):g[B]=!0)}}function Jn(x,g,C,S){for(var B=C;B<S;B++){var X=g[B];if(L(X)&&un(x,X))return B}}function xe(x,g,C,S,B,X){if(x!==g){L(g.elm)&&L(S)&&(g=S[B]=Bi(g));var y=g.elm=x.elm;if(pt(x.isAsyncPlaceholder)){L(g.asyncFactory.resolved)?At(x.elm,g,C):g.isAsyncPlaceholder=!0;return}if(pt(g.isStatic)&&pt(x.isStatic)&&g.key===x.key&&(pt(g.isCloned)||pt(g.isOnce))){g.componentInstance=x.componentInstance;return}var E,O=g.data;L(O)&&L(E=O.hook)&&L(E=E.prepatch)&&E(x,g);var P=x.children,U=g.children;if(L(O)&&$(g)){for(E=0;E<r.update.length;++E)r.update[E](x,g);L(E=O.hook)&&L(E=E.update)&&E(x,g)}G(g.text)?L(P)&&L(U)?P!==U&&Ht(y,P,U,C,X):L(U)?(process.env.NODE_ENV!=="production"&&ge(U),L(x.text)&&i.setTextContent(y,""),Y(y,null,U,0,U.length-1,C)):L(P)?ct(P,0,P.length-1):L(x.text)&&i.setTextContent(y,""):x.text!==g.text&&i.setTextContent(y,g.text),L(O)&&L(E=O.hook)&&L(E=E.postpatch)&&E(x,g)}}function Te(x,g,C){if(pt(C)&&L(x.parent))x.parent.data.pendingInsert=g;else for(var S=0;S<g.length;++S)g[S].data.hook.insert(g[S])}var Fe=!1,tr=Kt("attrs,class,staticClass,staticStyle,key");function At(x,g,C,S){var B,X=g.tag,y=g.data,E=g.children;if(S=S||y&&y.pre,g.elm=x,pt(g.isComment)&&L(g.asyncFactory))return g.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!Be(x,g,S))return!1;if(L(y)&&(L(B=y.hook)&&L(B=B.init)&&B(g,!0),L(B=g.componentInstance)))return p(g,C),!0;if(L(X)){if(L(E))if(!x.hasChildNodes())q(g,E,C);else if(L(B=y)&&L(B=B.domProps)&&L(B=B.innerHTML)){if(B!==x.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!Fe&&(Fe=!0,console.warn("Parent: ",x),console.warn("server innerHTML: ",B),console.warn("client innerHTML: ",x.innerHTML)),!1}else{for(var O=!0,P=x.firstChild,U=0;U<E.length;U++){if(!P||!At(P,E[U],C,S)){O=!1;break}P=P.nextSibling}if(!O||P)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!Fe&&(Fe=!0,console.warn("Parent: ",x),console.warn("Mismatching childNodes vs. VNodes: ",x.childNodes,E)),!1}if(L(y)){var at=!1;for(var xt in y)if(!tr(xt)){at=!0,j(g,C);break}!at&&y.class&&ps(y.class)}}else x.data!==g.text&&(x.data=g.text);return!0}function Be(x,g,C){return L(g.tag)?g.tag.indexOf("vue-component")===0||!c(g,C)&&g.tag.toLowerCase()===(x.tagName&&x.tagName.toLowerCase()):x.nodeType===(g.isComment?8:3)}return function(g,C,S,B){if(G(C)){L(g)&&Lt(g);return}var X=!1,y=[];if(G(g))X=!0,f(C,y);else{var E=L(g.nodeType);if(!E&&un(g,C))xe(g,C,y,null,null,B);else{if(E){if(g.nodeType===1&&g.hasAttribute(Z1)&&(g.removeAttribute(Z1),S=!0),pt(S)){if(At(g,C,y))return Te(C,y,!0),g;process.env.NODE_ENV!=="production"&&T("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}g=o(g)}var O=g.elm,P=i.parentNode(O);if(f(C,y,O._leaveCb?null:P,i.nextSibling(O)),L(C.parent))for(var U=C.parent,at=$(C);U;){for(var xt=0;xt<r.destroy.length;++xt)r.destroy[xt](U);if(U.elm=C.elm,at){for(var St=0;St<r.create.length;++St)r.create[St](qe,U);var Et=U.data.hook.insert;if(Et.merged)for(var kt=1;kt<Et.fns.length;kt++)Et.fns[kt]()}else On(U);U=U.parent}L(P)?ct([g],0,0):L(g.tag)&&Lt(g)}}return Te(C,y,X),C.elm}}var U3={create:wo,update:wo,destroy:function(t){wo(t,qe)}};function wo(n,t){(n.data.directives||t.data.directives)&&H3(n,t)}function H3(n,t){var e=n===qe,r=t===qe,s=ec(n.data.directives,n.context),i=ec(t.data.directives,t.context),o=[],a=[],l,c,u;for(l in i)c=s[l],u=i[l],c?(u.oldValue=c.value,u.oldArg=c.arg,vr(u,"update",t,n),u.def&&u.def.componentUpdated&&a.push(u)):(vr(u,"bind",t,n),u.def&&u.def.inserted&&o.push(u));if(o.length){var f=function(){for(var d=0;d<o.length;d++)vr(o[d],"inserted",t,n)};e?Ve(t,"insert",f):f()}if(a.length&&Ve(t,"postpatch",function(){for(var d=0;d<a.length;d++)vr(a[d],"componentUpdated",t,n)}),!e)for(l in s)i[l]||vr(s[l],"unbind",n,n,r)}var G3=Object.create(null);function ec(n,t){var e=Object.create(null);if(!n)return e;var r,s;for(r=0;r<n.length;r++){if(s=n[r],s.modifiers||(s.modifiers=G3),e[j3(s)]=s,t._setupState&&t._setupState.__sfc){var i=s.def||_s(t,"_setupState","v-"+s.name);typeof i=="function"?s.def={bind:i,update:i}:s.def=i}s.def=s.def||_s(t.$options,"directives",s.name,!0)}return e}function j3(n){return n.rawName||"".concat(n.name,".").concat(Object.keys(n.modifiers||{}).join("."))}function vr(n,t,e,r,s){var i=n.def&&n.def[t];if(i)try{i(e.elm,n,e,r,s)}catch(o){ze(o,e.context,"directive ".concat(n.name," ").concat(t," hook"))}}var V3=[$3,U3];function nc(n,t){var e=t.componentOptions;if(!(L(e)&&e.Ctor.options.inheritAttrs===!1)&&!(G(n.data.attrs)&&G(t.data.attrs))){var r,s,i,o=t.elm,a=n.data.attrs||{},l=t.data.attrs||{};(L(l.__ob__)||pt(l._v_attr_proxy))&&(l=t.data.attrs=lt({},l));for(r in l)s=l[r],i=a[r],i!==s&&rc(o,r,s,t.data.pre);(En||K1)&&l.value!==a.value&&rc(o,"value",l.value);for(r in a)G(l[r])&&(vo(r)?o.removeAttributeNS(Lo,Xl(r)):Yl(r)||o.removeAttribute(r))}}function rc(n,t,e,r){r||n.tagName.indexOf("-")>-1?sc(n,t,e):d3(t)?ys(e)?n.removeAttribute(t):(e=t==="allowfullscreen"&&n.tagName==="EMBED"?"true":t,n.setAttribute(t,e)):Yl(t)?n.setAttribute(t,f3(t,e)):vo(t)?ys(e)?n.removeAttributeNS(Lo,Xl(t)):n.setAttributeNS(Lo,t,e):sc(n,t,e)}function sc(n,t,e){if(ys(e))n.removeAttribute(t);else{if(En&&!bn&&n.tagName==="TEXTAREA"&&t==="placeholder"&&e!==""&&!n.__ieph){var r=function(s){s.stopImmediatePropagation(),n.removeEventListener("input",r)};n.addEventListener("input",r),n.__ieph=!0}n.setAttribute(t,e)}}var z3={create:nc,update:nc};function ic(n,t){var e=t.elm,r=t.data,s=n.data;if(!(G(r.staticClass)&&G(r.class)&&(G(s)||G(s.staticClass)&&G(s.class)))){var i=p3(t),o=e._transitionClasses;L(o)&&(i=yo(i,Co(o))),i!==e._prevClass&&(e.setAttribute("class",i),e._prevClass=i)}}var Z3={create:ic,update:ic},To="__r",Ao="__c";function q3(n){if(L(n[To])){var t=En?"change":"input";n[t]=[].concat(n[To],n[t]||[]),delete n[To]}L(n[Ao])&&(n.change=[].concat(n[Ao],n.change||[]),delete n[Ao])}var yr;function W3(n,t,e){var r=yr;return function s(){var i=t.apply(null,arguments);i!==null&&oc(n,s,e,r)}}var K3=Ki&&!(Y1&&Number(Y1[1])<=53);function Y3(n,t,e,r){if(K3){var s=Al,i=t;t=i._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=s||o.timeStamp<=0||o.target.ownerDocument!==document)return i.apply(this,arguments)}}yr.addEventListener(n,t,X1?{capture:e,passive:r}:e)}function oc(n,t,e,r){(r||yr).removeEventListener(n,t._wrapper||t,e)}function So(n,t){if(!(G(n.data.on)&&G(t.data.on))){var e=t.data.on||{},r=n.data.on||{};yr=t.elm||n.elm,q3(e),al(e,r,Y3,oc,W3,t.context),yr=void 0}}var X3={create:So,update:So,destroy:function(n){return So(n,qe)}},Es;function ac(n,t){if(!(G(n.data.domProps)&&G(t.data.domProps))){var e,r,s=t.elm,i=n.data.domProps||{},o=t.data.domProps||{};(L(o.__ob__)||pt(o._v_attr_proxy))&&(o=t.data.domProps=lt({},o));for(e in i)e in o||(s[e]="");for(e in o){if(r=o[e],e==="textContent"||e==="innerHTML"){if(t.children&&(t.children.length=0),r===i[e])continue;s.childNodes.length===1&&s.removeChild(s.childNodes[0])}if(e==="value"&&s.tagName!=="PROGRESS"){s._value=r;var a=G(r)?"":String(r);Q3(s,a)&&(s.value=a)}else if(e==="innerHTML"&&Eo(s.tagName)&&G(s.innerHTML)){Es=Es||document.createElement("div"),Es.innerHTML="<svg>".concat(r,"</svg>");for(var l=Es.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;l.firstChild;)s.appendChild(l.firstChild)}else if(r!==i[e])try{s[e]=r}catch{}}}}function Q3(n,t){return!n.composing&&(n.tagName==="OPTION"||J3(n,t)||t4(n,t))}function J3(n,t){var e=!0;try{e=document.activeElement!==n}catch{}return e&&n.value!==t}function t4(n,t){var e=n.value,r=n._vModifiers;if(L(r)){if(r.number)return ar(e)!==ar(t);if(r.trim)return e.trim()!==t.trim()}return e!==t}var e4={create:ac,update:ac},n4=tn(function(n){var t={},e=/;(?![^(]*\))/g,r=/:(.+)/;return n.split(e).forEach(function(s){if(s){var i=s.split(r);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function Ro(n){var t=lc(n.style);return n.staticStyle?lt(n.staticStyle,t):t}function lc(n){return Array.isArray(n)?j1(n):typeof n=="string"?n4(n):n}function r4(n,t){var e={},r;if(t)for(var s=n;s.componentInstance;)s=s.componentInstance._vnode,s&&s.data&&(r=Ro(s.data))&<(e,r);(r=Ro(n.data))&<(e,r);for(var i=n;i=i.parent;)i.data&&(r=Ro(i.data))&<(e,r);return e}var s4=/^--/,cc=/\s*!important$/,uc=function(n,t,e){if(s4.test(t))n.style.setProperty(t,e);else if(cc.test(e))n.style.setProperty(nn(t),e.replace(cc,""),"important");else{var r=i4(t);if(Array.isArray(e))for(var s=0,i=e.length;s<i;s++)n.style[r]=e[s];else n.style[r]=e}},hc=["Webkit","Moz","ms"],bs,i4=tn(function(n){if(bs=bs||document.createElement("div").style,n=en(n),n!=="filter"&&n in bs)return n;for(var t=n.charAt(0).toUpperCase()+n.slice(1),e=0;e<hc.length;e++){var r=hc[e]+t;if(r in bs)return r}});function fc(n,t){var e=t.data,r=n.data;if(!(G(e.staticStyle)&&G(e.style)&&G(r.staticStyle)&&G(r.style))){var s,i,o=t.elm,a=r.staticStyle,l=r.normalizedStyle||r.style||{},c=a||l,u=lc(t.data.style)||{};t.data.normalizedStyle=L(u.__ob__)?lt({},u):u;var f=r4(t,!0);for(i in c)G(f[i])&&uc(o,i,"");for(i in f)s=f[i],s!==c[i]&&uc(o,i,s??"")}}var o4={create:fc,update:fc},dc=/\s+/;function pc(n,t){if(!(!t||!(t=t.trim())))if(n.classList)t.indexOf(" ")>-1?t.split(dc).forEach(function(r){return n.classList.add(r)}):n.classList.add(t);else{var e=" ".concat(n.getAttribute("class")||""," ");e.indexOf(" "+t+" ")<0&&n.setAttribute("class",(e+t).trim())}}function gc(n,t){if(!(!t||!(t=t.trim())))if(n.classList)t.indexOf(" ")>-1?t.split(dc).forEach(function(s){return n.classList.remove(s)}):n.classList.remove(t),n.classList.length||n.removeAttribute("class");else{for(var e=" ".concat(n.getAttribute("class")||""," "),r=" "+t+" ";e.indexOf(r)>=0;)e=e.replace(r," ");e=e.trim(),e?n.setAttribute("class",e):n.removeAttribute("class")}}function xc(n){if(n){if(typeof n=="object"){var t={};return n.css!==!1&<(t,mc(n.name||"v")),lt(t,n),t}else if(typeof n=="string")return mc(n)}}var mc=tn(function(n){return{enterClass:"".concat(n,"-enter"),enterToClass:"".concat(n,"-enter-to"),enterActiveClass:"".concat(n,"-enter-active"),leaveClass:"".concat(n,"-leave"),leaveToClass:"".concat(n,"-leave-to"),leaveActiveClass:"".concat(n,"-leave-active")}}),_c=jt&&!bn,Nn="transition",ko="animation",ws="transition",Ts="transitionend",Oo="animation",Lc="animationend";_c&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(ws="WebkitTransition",Ts="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Oo="WebkitAnimation",Lc="webkitAnimationEnd"));var vc=jt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(n){return n()};function yc(n){vc(function(){vc(n)})}function hn(n,t){var e=n._transitionClasses||(n._transitionClasses=[]);e.indexOf(t)<0&&(e.push(t),pc(n,t))}function Oe(n,t){n._transitionClasses&&Ue(n._transitionClasses,t),gc(n,t)}function Cc(n,t,e){var r=Ec(n,t),s=r.type,i=r.timeout,o=r.propCount;if(!s)return e();var a=s===Nn?Ts:Lc,l=0,c=function(){n.removeEventListener(a,u),e()},u=function(f){f.target===n&&++l>=o&&c()};setTimeout(function(){l<o&&c()},i+1),n.addEventListener(a,u)}var a4=/\b(transform|all)(,|$)/;function Ec(n,t){var e=window.getComputedStyle(n),r=(e[ws+"Delay"]||"").split(", "),s=(e[ws+"Duration"]||"").split(", "),i=bc(r,s),o=(e[Oo+"Delay"]||"").split(", "),a=(e[Oo+"Duration"]||"").split(", "),l=bc(o,a),c,u=0,f=0;t===Nn?i>0&&(c=Nn,u=i,f=s.length):t===ko?l>0&&(c=ko,u=l,f=a.length):(u=Math.max(i,l),c=u>0?i>l?Nn:ko:null,f=c?c===Nn?s.length:a.length:0);var d=c===Nn&&a4.test(e[ws+"Property"]);return{type:c,timeout:u,propCount:f,hasTransform:d}}function bc(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max.apply(null,t.map(function(e,r){return wc(e)+wc(n[r])}))}function wc(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function No(n,t){var e=n.elm;L(e._leaveCb)&&(e._leaveCb.cancelled=!0,e._leaveCb());var r=xc(n.data.transition);if(!G(r)&&!(L(e._enterCb)||e.nodeType!==1)){for(var s=r.css,i=r.type,o=r.enterClass,a=r.enterToClass,l=r.enterActiveClass,c=r.appearClass,u=r.appearToClass,f=r.appearActiveClass,d=r.beforeEnter,p=r.enter,w=r.afterEnter,I=r.enterCancelled,q=r.beforeAppear,$=r.appear,j=r.afterAppear,ot=r.appearCancelled,Y=r.duration,Lt=an,ct=an.$vnode;ct&&ct.parent;)Lt=ct.context,ct=ct.parent;var vt=!Lt._isMounted||!n.isRootInsert;if(!(vt&&!$&&$!=="")){var Ht=vt&&c?c:o,ge=vt&&f?f:l,Jn=vt&&u?u:a,xe=vt&&q||d,Te=vt&&ut($)?$:p,Fe=vt&&j||w,tr=vt&&ot||I,At=ar(bt(Y)?Y.enter:Y);process.env.NODE_ENV!=="production"&&At!=null&&Ac(At,"enter",n);var Be=s!==!1&&!bn,x=Io(Te),g=e._enterCb=ns(function(){Be&&(Oe(e,Jn),Oe(e,ge)),g.cancelled?(Be&&Oe(e,Ht),tr&&tr(e)):Fe&&Fe(e),e._enterCb=null});n.data.show||Ve(n,"insert",function(){var C=e.parentNode,S=C&&C._pending&&C._pending[n.key];S&&S.tag===n.tag&&S.elm._leaveCb&&S.elm._leaveCb(),Te&&Te(e,g)}),xe&&xe(e),Be&&(hn(e,Ht),hn(e,ge),yc(function(){Oe(e,Ht),g.cancelled||(hn(e,Jn),x||(Sc(At)?setTimeout(g,At):Cc(e,i,g)))})),n.data.show&&(t&&t(),Te&&Te(e,g)),!Be&&!x&&g()}}}function Tc(n,t){var e=n.elm;L(e._enterCb)&&(e._enterCb.cancelled=!0,e._enterCb());var r=xc(n.data.transition);if(G(r)||e.nodeType!==1)return t();if(L(e._leaveCb))return;var s=r.css,i=r.type,o=r.leaveClass,a=r.leaveToClass,l=r.leaveActiveClass,c=r.beforeLeave,u=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,w=r.duration,I=s!==!1&&!bn,q=Io(u),$=ar(bt(w)?w.leave:w);process.env.NODE_ENV!=="production"&&L($)&&Ac($,"leave",n);var j=e._leaveCb=ns(function(){e.parentNode&&e.parentNode._pending&&(e.parentNode._pending[n.key]=null),I&&(Oe(e,a),Oe(e,l)),j.cancelled?(I&&Oe(e,o),d&&d(e)):(t(),f&&f(e)),e._leaveCb=null});p?p(ot):ot();function ot(){j.cancelled||(!n.data.show&&e.parentNode&&((e.parentNode._pending||(e.parentNode._pending={}))[n.key]=n),c&&c(e),I&&(hn(e,o),hn(e,l),yc(function(){Oe(e,o),j.cancelled||(hn(e,a),q||(Sc($)?setTimeout(j,$):Cc(e,i,j)))})),u&&u(e,j),!I&&!q&&j())}}function Ac(n,t,e){typeof n!="number"?T("<transition> explicit ".concat(t," duration is not a valid number - ")+"got ".concat(JSON.stringify(n),"."),e.context):isNaN(n)&&T("<transition> explicit ".concat(t," duration is NaN - ")+"the duration expression might be incorrect.",e.context)}function Sc(n){return typeof n=="number"&&!isNaN(n)}function Io(n){if(G(n))return!1;var t=n.fns;return L(t)?Io(Array.isArray(t)?t[0]:t):(n._length||n.length)>1}function Rc(n,t){t.data.show!==!0&&No(t)}var l4=jt?{create:Rc,activate:Rc,remove:function(n,t){n.data.show!==!0?Tc(n,t):t()}}:{},c4=[z3,Z3,X3,e4,o4,l4],u4=c4.concat(V3),h4=B3({nodeOps:M3,modules:u4});bn&&document.addEventListener("selectionchange",function(){var n=document.activeElement;n&&n.vmodel&&Po(n,"input")});var kc={inserted:function(n,t,e,r){e.tag==="select"?(r.elm&&!r.elm._vOptions?Ve(e,"postpatch",function(){kc.componentUpdated(n,t,e)}):Oc(n,t,e.context),n._vOptions=[].map.call(n.options,As)):(e.tag==="textarea"||bo(n.type))&&(n._vModifiers=t.modifiers,t.modifiers.lazy||(n.addEventListener("compositionstart",f4),n.addEventListener("compositionend",Pc),n.addEventListener("change",Pc),bn&&(n.vmodel=!0)))},componentUpdated:function(n,t,e){if(e.tag==="select"){Oc(n,t,e.context);var r=n._vOptions,s=n._vOptions=[].map.call(n.options,As);if(s.some(function(o,a){return!rn(o,r[a])})){var i=n.multiple?t.value.some(function(o){return Ic(o,s)}):t.value!==t.oldValue&&Ic(t.value,s);i&&Po(n,"change")}}}};function Oc(n,t,e){Nc(n,t,e),(En||K1)&&setTimeout(function(){Nc(n,t,e)},0)}function Nc(n,t,e){var r=t.value,s=n.multiple;if(s&&!Array.isArray(r)){process.env.NODE_ENV!=="production"&&T('<select multiple v-model="'.concat(t.expression,'"> ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(r).slice(8,-1)),e);return}for(var i,o,a=0,l=n.options.length;a<l;a++)if(o=n.options[a],s)i=z1(r,As(o))>-1,o.selected!==i&&(o.selected=i);else if(rn(As(o),r)){n.selectedIndex!==a&&(n.selectedIndex=a);return}s||(n.selectedIndex=-1)}function Ic(n,t){return t.every(function(e){return!rn(e,n)})}function As(n){return"_value"in n?n._value:n.value}function f4(n){n.target.composing=!0}function Pc(n){n.target.composing&&(n.target.composing=!1,Po(n.target,"input"))}function Po(n,t){var e=document.createEvent("HTMLEvents");e.initEvent(t,!0,!0),n.dispatchEvent(e)}function Mo(n){return n.componentInstance&&(!n.data||!n.data.transition)?Mo(n.componentInstance._vnode):n}var d4={bind:function(n,t,e){var r=t.value;e=Mo(e);var s=e.data&&e.data.transition,i=n.__vOriginalDisplay=n.style.display==="none"?"":n.style.display;r&&s?(e.data.show=!0,No(e,function(){n.style.display=i})):n.style.display=r?i:"none"},update:function(n,t,e){var r=t.value,s=t.oldValue;if(!r!=!s){e=Mo(e);var i=e.data&&e.data.transition;i?(e.data.show=!0,r?No(e,function(){n.style.display=n.__vOriginalDisplay}):Tc(e,function(){n.style.display="none"})):n.style.display=r?n.__vOriginalDisplay:"none"}},unbind:function(n,t,e,r,s){s||(n.style.display=n.__vOriginalDisplay)}},p4={model:kc,show:d4},Mc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function $o(n){var t=n&&n.componentOptions;return t&&t.Ctor.options.abstract?$o(xl(t.children)):n}function $c(n){var t={},e=n.$options;for(var r in e.propsData)t[r]=n[r];var s=e._parentListeners;for(var r in s)t[en(r)]=s[r];return t}function Dc(n,t){if(/\d-keep-alive$/.test(t.tag))return n("keep-alive",{props:t.componentOptions.propsData})}function g4(n){for(;n=n.parent;)if(n.data.transition)return!0}function x4(n,t){return t.key===n.key&&t.tag===n.tag}var m4=function(n){return n.tag||fr(n)},_4=function(n){return n.name==="show"},L4={name:"transition",props:Mc,abstract:!0,render:function(n){var t=this,e=this.$slots.default;if(e&&(e=e.filter(m4),!!e.length)){process.env.NODE_ENV!=="production"&&e.length>1&&T("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var r=this.mode;process.env.NODE_ENV!=="production"&&r&&r!=="in-out"&&r!=="out-in"&&T("invalid <transition> mode: "+r,this.$parent);var s=e[0];if(g4(this.$vnode))return s;var i=$o(s);if(!i)return s;if(this._leaving)return Dc(n,s);var o="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?o+"comment":o+i.tag:Ae(i.key)?String(i.key).indexOf(o)===0?i.key:o+i.key:i.key;var a=(i.data||(i.data={})).transition=$c(this),l=this._vnode,c=$o(l);if(i.data.directives&&i.data.directives.some(_4)&&(i.data.show=!0),c&&c.data&&!x4(i,c)&&!fr(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var u=c.data.transition=lt({},a);if(r==="out-in")return this._leaving=!0,Ve(u,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Dc(n,s);if(r==="in-out"){if(fr(i))return l;var f,d=function(){f()};Ve(a,"afterEnter",d),Ve(a,"enterCancelled",d),Ve(u,"delayLeave",function(p){f=p})}}return s}}},Fc=lt({tag:String,moveClass:String},Mc);delete Fc.mode;var v4={props:Fc,beforeMount:function(){var n=this,t=this._update;this._update=function(e,r){var s=bl(n);n.__patch__(n._vnode,n.kept,!1,!0),n._vnode=n.kept,s(),t.call(n,e,r)}},render:function(n){for(var t=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],i=this.children=[],o=$c(this),a=0;a<s.length;a++){var l=s[a];if(l.tag){if(l.key!=null&&String(l.key).indexOf("__vlist")!==0)i.push(l),e[l.key]=l,(l.data||(l.data={})).transition=o;else if(process.env.NODE_ENV!=="production"){var c=l.componentOptions,u=c?kn(c.Ctor.options)||c.tag||"":l.tag;T("<transition-group> children must be keyed: <".concat(u,">"))}}}if(r){for(var f=[],d=[],a=0;a<r.length;a++){var l=r[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),e[l.key]?f.push(l):d.push(l)}this.kept=n(t,null,f),this.removed=d}return n(t,null,i)},updated:function(){var n=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!n.length||!this.hasMove(n[0].elm,t)||(n.forEach(y4),n.forEach(C4),n.forEach(E4),this._reflow=document.body.offsetHeight,n.forEach(function(e){if(e.data.moved){var r=e.elm,s=r.style;hn(r,t),s.transform=s.WebkitTransform=s.transitionDuration="",r.addEventListener(Ts,r._moveCb=function i(o){o&&o.target!==r||(!o||/transform$/.test(o.propertyName))&&(r.removeEventListener(Ts,i),r._moveCb=null,Oe(r,t))})}}))},methods:{hasMove:function(n,t){if(!_c)return!1;if(this._hasMove)return this._hasMove;var e=n.cloneNode();n._transitionClasses&&n._transitionClasses.forEach(function(s){gc(e,s)}),pc(e,t),e.style.display="none",this.$el.appendChild(e);var r=Ec(e);return this.$el.removeChild(e),this._hasMove=r.hasTransform}}};function y4(n){n.elm._moveCb&&n.elm._moveCb(),n.elm._enterCb&&n.elm._enterCb()}function C4(n){n.data.newPos=n.elm.getBoundingClientRect()}function E4(n){var t=n.data.pos,e=n.data.newPos,r=t.left-e.left,s=t.top-e.top;if(r||s){n.data.moved=!0;var i=n.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(s,"px)"),i.transitionDuration="0s"}}var b4={Transition:L4,TransitionGroup:v4};ht.config.mustUseProp=u3,ht.config.isReservedTag=Jl,ht.config.isReservedAttr=l3,ht.config.getTagNamespace=v3,ht.config.isUnknownElement=y3,lt(ht.options.directives,p4),lt(ht.options.components,b4),ht.prototype.__patch__=jt?h4:yt,ht.prototype.$mount=function(n,t){return n=n&&jt?C3(n):void 0,nd(this,n,t)},jt&&setTimeout(function(){nt.devtools&&(is?is.emit("init",ht):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
|
|
12
12
|
https://github.com/vuejs/vue-devtools`)),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&nt.productionTip!==!1&&typeof console<"u"&&console[console.info?"info":"log"](`You are running Vue in development mode.
|
|
13
13
|
Make sure to turn on production mode when deploying for production.
|
|
14
|
-
See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){var t=Number(n.version.split(".")[0]);if(t>=2)n.mixin({beforeCreate:r});else{var e=n.prototype._init;n.prototype._init=function(s){s===void 0&&(s={}),s.init=s.init?[r].concat(s.init):r,e.call(this,s)}}function r(){var s=this.$options;s.store?this.$store=typeof s.store=="function"?s.store():s.store:s.parent&&s.parent.$store&&(this.$store=s.parent.$store)}}var E4=typeof window<"u"?window:typeof global<"u"?global:{},In=E4.__VUE_DEVTOOLS_GLOBAL_HOOK__;function b4(n){In&&(n._devtoolHook=In,In.emit("vuex:init",n),In.on("vuex:travel-to-state",function(t){n.replaceState(t)}),n.subscribe(function(t,e){In.emit("vuex:mutation",t,e)},{prepend:!0}),n.subscribeAction(function(t,e){In.emit("vuex:action",t,e)},{prepend:!0}))}function w4(n,t){return n.filter(t)[0]}function Do(n,t){if(t===void 0&&(t=[]),n===null||typeof n!="object")return n;var e=w4(t,function(s){return s.original===n});if(e)return e.copy;var r=Array.isArray(n)?[]:{};return t.push({original:n,copy:r}),Object.keys(n).forEach(function(s){r[s]=Do(n[s],t)}),r}function fn(n,t){Object.keys(n).forEach(function(e){return t(n[e],e)})}function Dc(n){return n!==null&&typeof n=="object"}function T4(n){return n&&typeof n.then=="function"}function oe(n,t){if(!n)throw new Error("[vuex] "+t)}function A4(n,t){return function(){return n(t)}}var de=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Fc={namespaced:{configurable:!0}};Fc.namespaced.get=function(){return!!this._rawModule.namespaced},de.prototype.addChild=function(t,e){this._children[t]=e},de.prototype.removeChild=function(t){delete this._children[t]},de.prototype.getChild=function(t){return this._children[t]},de.prototype.hasChild=function(t){return t in this._children},de.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},de.prototype.forEachChild=function(t){fn(this._children,t)},de.prototype.forEachGetter=function(t){this._rawModule.getters&&fn(this._rawModule.getters,t)},de.prototype.forEachAction=function(t){this._rawModule.actions&&fn(this._rawModule.actions,t)},de.prototype.forEachMutation=function(t){this._rawModule.mutations&&fn(this._rawModule.mutations,t)},Object.defineProperties(de.prototype,Fc);var dn=function(t){this.register([],t,!1)};dn.prototype.get=function(t){return t.reduce(function(e,r){return e.getChild(r)},this.root)},dn.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(r,s){return e=e.getChild(s),r+(e.namespaced?s+"/":"")},"")},dn.prototype.update=function(t){Bc([],this.root,t)},dn.prototype.register=function(t,e,r){var s=this;r===void 0&&(r=!0),process.env.NODE_ENV!=="production"&&Gc(t,e);var i=new de(e,r);if(t.length===0)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&fn(e.modules,function(a,l){s.register(t.concat(l),a,r)})},dn.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1],s=e.getChild(r);if(!s){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+r+"', which is not registered");return}s.runtime&&e.removeChild(r)},dn.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1];return e?e.hasChild(r):!1};function Bc(n,t,e){if(process.env.NODE_ENV!=="production"&&Gc(n,e),t.update(e),e.modules)for(var r in e.modules){if(!t.getChild(r)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");return}Bc(n.concat(r),t.getChild(r),e.modules[r])}}var Uc={assert:function(n){return typeof n=="function"},expected:"function"},S4={assert:function(n){return typeof n=="function"||typeof n=="object"&&typeof n.handler=="function"},expected:'function or object with "handler" function'},Hc={getters:Uc,mutations:Uc,actions:S4};function Gc(n,t){Object.keys(Hc).forEach(function(e){if(t[e]){var r=Hc[e];fn(t[e],function(s,i){oe(r.assert(s),R4(n,e,i,s,r.expected))})}})}function R4(n,t,e,r,s){var i=t+" should be "+s+' but "'+t+"."+e+'"';return n.length>0&&(i+=' in module "'+n.join(".")+'"'),i+=" is "+JSON.stringify(r)+".",i}var Mt,Qt=function n(t){var e=this;t===void 0&&(t={}),!Mt&&typeof window<"u"&&window.Vue&&zc(window.Vue),process.env.NODE_ENV!=="production"&&(oe(Mt,"must call Vue.use(Vuex) before creating a store instance."),oe(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),oe(this instanceof n,"store must be called with the new operator."));var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new dn(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Mt,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,a=o.dispatch,l=o.commit;this.dispatch=function(d,p){return a.call(i,d,p)},this.commit=function(d,p,w){return l.call(i,d,p,w)},this.strict=s;var c=this._modules.root.state;Ss(this,c,[],this._modules.root),Bo(this,c),r.forEach(function(f){return f(e)});var u=t.devtools!==void 0?t.devtools:Mt.config.devtools;u&&b4(this)},Fo={state:{configurable:!0}};Fo.state.get=function(){return this._vm._data.$$state},Fo.state.set=function(n){process.env.NODE_ENV!=="production"&&oe(!1,"use store.replaceState() to explicit replace store state.")},Qt.prototype.commit=function(t,e,r){var s=this,i=Rs(t,e,r),o=i.type,a=i.payload,l=i.options,c={type:o,payload:a},u=this._mutations[o];if(!u){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+o);return}this._withCommit(function(){u.forEach(function(d){d(a)})}),this._subscribers.slice().forEach(function(f){return f(c,s.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")},Qt.prototype.dispatch=function(t,e){var r=this,s=Rs(t,e),i=s.type,o=s.payload,a={type:i,payload:o},l=this._actions[i];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+i);return}try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,r.state)})}catch(u){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(u))}var c=l.length>1?Promise.all(l.map(function(u){return u(o)})):l[0](o);return new Promise(function(u,f){c.then(function(d){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(p))}u(d)},function(d){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,d)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(p))}f(d)})})},Qt.prototype.subscribe=function(t,e){return jc(t,this._subscribers,e)},Qt.prototype.subscribeAction=function(t,e){var r=typeof t=="function"?{before:t}:t;return jc(r,this._actionSubscribers,e)},Qt.prototype.watch=function(t,e,r){var s=this;return process.env.NODE_ENV!=="production"&&oe(typeof t=="function","store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(s.state,s.getters)},e,r)},Qt.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},Qt.prototype.registerModule=function(t,e,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(oe(Array.isArray(t),"module path must be a string or an Array."),oe(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,e),Ss(this,this.state,t,this._modules.get(t),r.preserveState),Bo(this,this.state)},Qt.prototype.unregisterModule=function(t){var e=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&oe(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var r=Uo(e.state,t.slice(0,-1));Mt.delete(r,t[t.length-1])}),Vc(this)},Qt.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&oe(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)},Qt.prototype.hotUpdate=function(t){this._modules.update(t),Vc(this,!0)},Qt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Qt.prototype,Fo);function jc(n,t,e){return t.indexOf(n)<0&&(e&&e.prepend?t.unshift(n):t.push(n)),function(){var r=t.indexOf(n);r>-1&&t.splice(r,1)}}function Vc(n,t){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var e=n.state;Ss(n,e,[],n._modules.root,!0),Bo(n,e,t)}function Bo(n,t,e){var r=n._vm;n.getters={},n._makeLocalGettersCache=Object.create(null);var s=n._wrappedGetters,i={};fn(s,function(a,l){i[l]=A4(a,n),Object.defineProperty(n.getters,l,{get:function(){return n._vm[l]},enumerable:!0})});var o=Mt.config.silent;Mt.config.silent=!0,n._vm=new Mt({data:{$$state:t},computed:i}),Mt.config.silent=o,n.strict&&M4(n),r&&(e&&n._withCommit(function(){r._data.$$state=null}),Mt.nextTick(function(){return r.$destroy()}))}function Ss(n,t,e,r,s){var i=!e.length,o=n._modules.getNamespace(e);if(r.namespaced&&(n._modulesNamespaceMap[o]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+o+" for the namespaced module "+e.join("/")),n._modulesNamespaceMap[o]=r),!i&&!s){var a=Uo(t,e.slice(0,-1)),l=e[e.length-1];n._withCommit(function(){process.env.NODE_ENV!=="production"&&l in a&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+e.join(".")+'"'),Mt.set(a,l,r.state)})}var c=r.context=k4(n,o,e);r.forEachMutation(function(u,f){var d=o+f;N4(n,d,u,c)}),r.forEachAction(function(u,f){var d=u.root?f:o+f,p=u.handler||u;I4(n,d,p,c)}),r.forEachGetter(function(u,f){var d=o+f;P4(n,d,u,c)}),r.forEachChild(function(u,f){Ss(n,t,e.concat(f),u,s)})}function k4(n,t,e){var r=t==="",s={dispatch:r?n.dispatch:function(i,o,a){var l=Rs(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!n._actions[f])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+f);return}return n.dispatch(f,c)},commit:r?n.commit:function(i,o,a){var l=Rs(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!n._mutations[f])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+f);return}n.commit(f,c,u)}};return Object.defineProperties(s,{getters:{get:r?function(){return n.getters}:function(){return O4(n,t)}},state:{get:function(){return Uo(n.state,e)}}}),s}function O4(n,t){if(!n._makeLocalGettersCache[t]){var e={},r=t.length;Object.keys(n.getters).forEach(function(s){if(s.slice(0,r)===t){var i=s.slice(r);Object.defineProperty(e,i,{get:function(){return n.getters[s]},enumerable:!0})}}),n._makeLocalGettersCache[t]=e}return n._makeLocalGettersCache[t]}function N4(n,t,e,r){var s=n._mutations[t]||(n._mutations[t]=[]);s.push(function(o){e.call(n,r.state,o)})}function I4(n,t,e,r){var s=n._actions[t]||(n._actions[t]=[]);s.push(function(o){var a=e.call(n,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:n.getters,rootState:n.state},o);return T4(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(l){throw n._devtoolHook.emit("vuex:error",l),l}):a})}function P4(n,t,e,r){if(n._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}n._wrappedGetters[t]=function(i){return e(r.state,r.getters,i.state,i.getters)}}function M4(n){n._vm.$watch(function(){return this._data.$$state},function(){process.env.NODE_ENV!=="production"&&oe(n._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function Uo(n,t){return t.reduce(function(e,r){return e[r]},n)}function Rs(n,t,e){return Dc(n)&&n.type&&(e=t,t=n,n=n.type),process.env.NODE_ENV!=="production"&&oe(typeof n=="string","expects string as the type, but found "+typeof n+"."),{type:n,payload:t,options:e}}function zc(n){if(Mt&&n===Mt){process.env.NODE_ENV!=="production"&&console.error("[vuex] already installed. Vue.use(Vuex) should be called only once.");return}Mt=n,C4(Mt)}var Cr=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){var a=this.$store.state,l=this.$store.getters;if(n){var c=Ns(this.$store,"mapState",n);if(!c)return;a=c.context.state,l=c.context.getters}return typeof i=="function"?i.call(this,a,l):a[i]},e[s].vuex=!0}),e}),Er=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.commit;if(n){var u=Ns(this.$store,"mapMutations",n);if(!u)return;c=u.context.commit}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),e}),$t=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;i=n+i,e[s]=function(){if(!(n&&!Ns(this.$store,"mapGetters",n))){if(process.env.NODE_ENV!=="production"&&!(i in this.$store.getters)){console.error("[vuex] unknown getter: "+i);return}return this.$store.getters[i]}},e[s].vuex=!0}),e}),Zc=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.dispatch;if(n){var u=Ns(this.$store,"mapActions",n);if(!u)return;c=u.context.dispatch}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),e}),$4=function(n){return{mapState:Cr.bind(null,n),mapGetters:$t.bind(null,n),mapMutations:Er.bind(null,n),mapActions:Zc.bind(null,n)}};function ks(n){return br(n)?Array.isArray(n)?n.map(function(t){return{key:t,val:t}}):Object.keys(n).map(function(t){return{key:t,val:n[t]}}):[]}function br(n){return Array.isArray(n)||Dc(n)}function Os(n){return function(t,e){return typeof t!="string"?(e=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),n(t,e)}}function Ns(n,t,e){var r=n._modulesNamespaceMap[e];return process.env.NODE_ENV!=="production"&&!r&&console.error("[vuex] module namespace not found in "+t+"(): "+e),r}function D4(n){n===void 0&&(n={});var t=n.collapsed;t===void 0&&(t=!0);var e=n.filter;e===void 0&&(e=function(u,f,d){return!0});var r=n.transformer;r===void 0&&(r=function(u){return u});var s=n.mutationTransformer;s===void 0&&(s=function(u){return u});var i=n.actionFilter;i===void 0&&(i=function(u,f){return!0});var o=n.actionTransformer;o===void 0&&(o=function(u){return u});var a=n.logMutations;a===void 0&&(a=!0);var l=n.logActions;l===void 0&&(l=!0);var c=n.logger;return c===void 0&&(c=console),function(u){var f=Do(u.state);typeof c>"u"||(a&&u.subscribe(function(d,p){var w=Do(p);if(e(d,f,w)){var I=Kc(),q=s(d),$="mutation "+d.type+I;qc(c,$,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",q),c.log("%c next state","color: #4CAF50; font-weight: bold",r(w)),Wc(c)}f=w}),l&&u.subscribeAction(function(d,p){if(i(d,p)){var w=Kc(),I=o(d),q="action "+d.type+w;qc(c,q,t),c.log("%c action","color: #03A9F4; font-weight: bold",I),Wc(c)}}))}}function qc(n,t,e){var r=e?n.groupCollapsed:n.group;try{r.call(n,t)}catch{n.log(t)}}function Wc(n){try{n.groupEnd()}catch{n.log("—— log end ——")}}function Kc(){var n=new Date;return" @ "+Is(n.getHours(),2)+":"+Is(n.getMinutes(),2)+":"+Is(n.getSeconds(),2)+"."+Is(n.getMilliseconds(),3)}function F4(n,t){return new Array(t+1).join(n)}function Is(n,t){return F4("0",t-n.toString().length)+n}var B4={Store:Qt,install:zc,version:"3.6.2",mapState:Cr,mapMutations:Er,mapGetters:$t,mapActions:Zc,createNamespacedHelpers:$4,createLogger:D4};const Yc=B4;var U4=typeof Gt=="object"&&Gt&&Gt.Object===Object&&Gt,Xc=U4,H4=Xc,G4=typeof self=="object"&&self&&self.Object===Object&&self,j4=H4||G4||Function("return this")(),pn=j4,V4=pn,z4=function(){return V4.Date.now()},Z4=z4;String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const n=this.toString();let t,e;const r=n.length&3,s=n.length-r;let i=String.prototype.seed;const o=3432918353,a=461845907;let l=0;for(;l<s;)e=n.charCodeAt(l)&255|(n.charCodeAt(++l)&255)<<8|(n.charCodeAt(++l)&255)<<16|(n.charCodeAt(++l)&255)<<24,++l,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e,i=i<<13|i>>>19,t=(i&65535)*5+(((i>>>16)*5&65535)<<16)&4294967295,i=(t&65535)+27492+(((t>>>16)+58964&65535)<<16);switch(e=0,r){case 3:e^=(n.charCodeAt(l+2)&255)<<16;case 2:e^=(n.charCodeAt(l+1)&255)<<8;case 1:e^=n.charCodeAt(l)&255,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e}return i^=n.length,i^=i>>>16,i=(i&65535)*2246822507+(((i>>>16)*2246822507&65535)<<16)&4294967295,i^=i>>>13,i=(i&65535)*3266489909+(((i>>>16)*3266489909&65535)<<16)&4294967295,i^=i>>>16,i>>>0};String.prototype.codePointAt||function(){var n=function(){let e;try{const r={},s=Object.defineProperty;e=s(r,r,r)&&s}catch{}return e}();const t=function(e){if(this==null)throw TypeError();const r=String(this),s=r.length;let i=e?Number(e):0;if(i!==i&&(i=0),i<0||i>=s)return;const o=r.charCodeAt(i);let a;return o>=55296&&o<=56319&&s>i+1&&(a=r.charCodeAt(i+1),a>=56320&&a<=57343)?(o-55296)*1024+a-56320+65536:o};n?n(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}();String.fromCodePoint||function(){const n=function(){let s;try{const i={},o=Object.defineProperty;s=o(i,i,i)&&o}catch{}return s}(),t=String.fromCharCode,e=Math.floor,r=function(s){const o=[];let a,l,c=-1;const u=arguments.length;if(!u)return"";let f="";for(;++c<u;){let d=Number(arguments[c]);if(!isFinite(d)||d<0||d>1114111||e(d)!==d)throw RangeError("Invalid code point: "+d);d<=65535?o.push(d):(d-=65536,a=(d>>10)+55296,l=d%1024+56320,o.push(a,l)),(c+1===u||o.length>16384)&&(f+=t.apply(null,o),o.length=0)}return f};n?n(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r}();class b{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(t){this._text=t}}b.INVALID_TYPE=0,b.EPSILON=-2,b.MIN_USER_TOKEN_TYPE=1,b.EOF=-1,b.DEFAULT_CHANNEL=0,b.HIDDEN_CHANNEL=1;function Pn(n,t){if(!Array.isArray(n)||!Array.isArray(t))return!1;if(n===t)return!0;if(n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e]&&(!n[e].equals||!n[e].equals(t[e])))return!1;return!0}class Jt{constructor(){this.count=0,this.hash=0}update(){for(let t=0;t<arguments.length;t++){const e=arguments[t];if(e!=null)if(Array.isArray(e))this.update.apply(this,e);else{let r=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":r=e;break;case"string":r=e.hashCode();break;default:e.updateHashCode?e.updateHashCode(this):console.log("No updateHashCode for "+e.toString());continue}r=r*3432918353,r=r<<15|r>>>32-15,r=r*461845907,this.count=this.count+1;let s=this.hash^r;s=s<<13|s>>>32-13,s=s*5+3864292196,this.hash=s}}}finish(){let t=this.hash^this.count*4;return t=t^t>>>16,t=t*2246822507,t=t^t>>>13,t=t*3266489909,t=t^t>>>16,t}static hashStuff(){const t=new Jt;return t.update.apply(t,arguments),t.finish()}}function Qc(n){return n?n.hashCode():-1}function Jc(n,t){return n?n.equals(t):n===t}function q4(n){return n===null?"null":n}function We(n){return Array.isArray(n)?"["+n.map(q4).join(", ")+"]":"null"}const Ps="h-";class te{constructor(t,e){this.data={},this.hashFunction=t||Qc,this.equalsFunction=e||Jc}add(t){const e=Ps+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++)if(this.equalsFunction(t,r[s]))return r[s];return r.push(t),t}else return this.data[e]=[t],t}has(t){return this.get(t)!=null}get(t){const e=Ps+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++)if(this.equalsFunction(t,r[s]))return r[s]}return null}values(){return Object.keys(this.data).filter(t=>t.startsWith(Ps)).flatMap(t=>this.data[t],this)}toString(){return We(this.values())}get length(){return Object.keys(this.data).filter(t=>t.startsWith(Ps)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}class Q{hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}evaluate(t,e){}evalPrecedence(t,e){return this}static andContext(t,e){if(t===null||t===Q.NONE)return e;if(e===null||e===Q.NONE)return t;const r=new wr(t,e);return r.opnds.length===1?r.opnds[0]:r}static orContext(t,e){if(t===null)return e;if(e===null)return t;if(t===Q.NONE||e===Q.NONE)return Q.NONE;const r=new Tr(t,e);return r.opnds.length===1?r.opnds[0]:r}}class wr extends Q{constructor(t,e){super();const r=new te;t instanceof wr?t.opnds.map(function(i){r.add(i)}):r.add(t),e instanceof wr?e.opnds.map(function(i){r.add(i)}):r.add(e);const s=t0(r);if(s.length>0){let i=null;s.map(function(o){(i===null||o.precedence<i.precedence)&&(i=o)}),r.add(i)}this.opnds=Array.from(r.values())}equals(t){return this===t?!0:t instanceof wr?Pn(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"AND")}evaluate(t,e){for(let r=0;r<this.opnds.length;r++)if(!this.opnds[r].evaluate(t,e))return!1;return!0}evalPrecedence(t,e){let r=!1;const s=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(r|=l!==a,l===null)return null;l!==Q.NONE&&s.push(l)}if(!r)return this;if(s.length===0)return Q.NONE;let i=null;return s.map(function(o){i=i===null?o:Q.andContext(i,o)}),i}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("&&")}}class Tr extends Q{constructor(t,e){super();const r=new te;t instanceof Tr?t.opnds.map(function(i){r.add(i)}):r.add(t),e instanceof Tr?e.opnds.map(function(i){r.add(i)}):r.add(e);const s=t0(r);if(s.length>0){const i=s.sort(function(a,l){return a.compareTo(l)}),o=i[i.length-1];r.add(o)}this.opnds=Array.from(r.values())}equals(t){return this===t?!0:t instanceof Tr?Pn(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"OR")}evaluate(t,e){for(let r=0;r<this.opnds.length;r++)if(this.opnds[r].evaluate(t,e))return!0;return!1}evalPrecedence(t,e){let r=!1;const s=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(r|=l!==a,l===Q.NONE)return Q.NONE;l!==null&&s.push(l)}return r?(s.length===0,null):this}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("||")}}function t0(n){const t=[];return n.values().map(function(e){e instanceof Q.PrecedencePredicate&&t.push(e)}),t}function e0(n,t){if(n===null){const e={state:null,alt:null,context:null,semanticContext:null};return t&&(e.reachesIntoOuterContext=0),e}else{const e={};return e.state=n.state||null,e.alt=n.alt===void 0?null:n.alt,e.context=n.context||null,e.semanticContext=n.semanticContext||null,t&&(e.reachesIntoOuterContext=n.reachesIntoOuterContext||0,e.precedenceFilterSuppressed=n.precedenceFilterSuppressed||!1),e}}class mt{constructor(t,e){this.checkContext(t,e),t=e0(t),e=e0(e,!0),this.state=t.state!==null?t.state:e.state,this.alt=t.alt!==null?t.alt:e.alt,this.context=t.context!==null?t.context:e.context,this.semanticContext=t.semanticContext!==null?t.semanticContext:e.semanticContext!==null?e.semanticContext:Q.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed}checkContext(t,e){(t.context===null||t.context===void 0)&&(e===null||e.context===null||e.context===void 0)&&(this.context=null)}hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(t){return this===t?!0:t instanceof mt?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(this.context===null?t.context===null:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const t=new Jt;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()}equalsForConfigSet(t){return this===t?!0:t instanceof mt?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==Q.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class J{constructor(t,e){this.start=t,this.stop=e}clone(){return new J(this.start,this.stop)}contains(t){return t>=this.start&&t<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}J.INVALID_INTERVAL=new J(-1,-2);class ae{constructor(){this.intervals=null,this.readOnly=!1}first(t){return this.intervals===null||this.intervals.length===0?b.INVALID_TYPE:this.intervals[0].start}addOne(t){this.addInterval(new J(t,t+1))}addRange(t,e){this.addInterval(new J(t,e+1))}addInterval(t){if(this.intervals===null)this.intervals=[],this.intervals.push(t.clone());else{for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];if(t.stop<r.start){this.intervals.splice(e,0,t);return}else if(t.stop===r.start){this.intervals[e]=new J(t.start,r.stop);return}else if(t.start<=r.stop){this.intervals[e]=new J(Math.min(r.start,t.start),Math.max(r.stop,t.stop)),this.reduce(e);return}}this.intervals.push(t.clone())}}addSet(t){return t.intervals!==null&&t.intervals.forEach(e=>this.addInterval(e),this),this}reduce(t){if(t<this.intervals.length-1){const e=this.intervals[t],r=this.intervals[t+1];e.stop>=r.stop?(this.intervals.splice(t+1,1),this.reduce(t)):e.stop>=r.start&&(this.intervals[t]=new J(e.start,r.stop),this.intervals.splice(t+1,1))}}complement(t,e){const r=new ae;return r.addInterval(new J(t,e+1)),this.intervals!==null&&this.intervals.forEach(s=>r.removeRange(s)),r}contains(t){if(this.intervals===null)return!1;for(let e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1}removeRange(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(this.intervals!==null){let e=0;for(let r=0;r<this.intervals.length;r++){const s=this.intervals[e];if(t.stop<=s.start)return;if(t.start>s.start&&t.stop<s.stop){this.intervals[e]=new J(s.start,t.start);const i=new J(t.stop,s.stop);this.intervals.splice(e,0,i);return}else t.start<=s.start&&t.stop>=s.stop?(this.intervals.splice(e,1),e=e-1):t.start<s.stop?this.intervals[e]=new J(s.start,t.start):t.stop<s.stop&&(this.intervals[e]=new J(t.stop,s.stop));e+=1}}}removeOne(t){if(this.intervals!==null)for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];if(t<r.start)return;if(t===r.start&&t===r.stop-1){this.intervals.splice(e,1);return}else if(t===r.start){this.intervals[e]=new J(r.start+1,r.stop);return}else if(t===r.stop-1){this.intervals[e]=new J(r.start,r.stop-1);return}else if(t<r.stop-1){const s=new J(r.start,t);r.start=t+1,this.intervals.splice(e,0,s);return}}}toString(t,e,r){return t=t||null,e=e||null,r=r||!1,this.intervals===null?"{}":t!==null||e!==null?this.toTokenString(t,e):r?this.toCharString():this.toIndexString()}toCharString(){const t=[];for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];r.stop===r.start+1?r.start===b.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(r.start)+"'"):t.push("'"+String.fromCharCode(r.start)+"'..'"+String.fromCharCode(r.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]}toIndexString(){const t=[];for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];r.stop===r.start+1?r.start===b.EOF?t.push("<EOF>"):t.push(r.start.toString()):t.push(r.start.toString()+".."+(r.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]}toTokenString(t,e){const r=[];for(let s=0;s<this.intervals.length;s++){const i=this.intervals[s];for(let o=i.start;o<i.stop;o++)r.push(this.elementName(t,e,o))}return r.length>1?"{"+r.join(", ")+"}":r[0]}elementName(t,e,r){return r===b.EOF?"<EOF>":r===b.EPSILON?"<EPSILON>":t[r]||e[r]}get length(){return this.intervals.map(t=>t.length).reduce((t,e)=>t+e)}}class N{constructor(){this.atn=null,this.stateNumber=N.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(t){return t instanceof N?this.stateNumber===t.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(t,e){e===void 0&&(e=-1),this.transitions.length===0?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),e===-1?this.transitions.push(t):this.transitions.splice(e,1,t)}}N.INVALID_TYPE=0,N.BASIC=1,N.RULE_START=2,N.BLOCK_START=3,N.PLUS_BLOCK_START=4,N.STAR_BLOCK_START=5,N.TOKEN_START=6,N.RULE_STOP=7,N.BLOCK_END=8,N.STAR_LOOP_BACK=9,N.STAR_LOOP_ENTRY=10,N.PLUS_LOOP_BACK=11,N.LOOP_END=12,N.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],N.INVALID_STATE_NUMBER=-1;class Dt extends N{constructor(){return super(),this.stateType=N.RULE_STOP,this}}class R{constructor(t){if(t==null)throw"target cannot be null.";this.target=t,this.isEpsilon=!1,this.label=null}}R.EPSILON=1,R.RANGE=2,R.RULE=3,R.PREDICATE=4,R.ATOM=5,R.ACTION=6,R.SET=7,R.NOT_SET=8,R.WILDCARD=9,R.PRECEDENCE=10,R.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],R.serializationTypes={EpsilonTransition:R.EPSILON,RangeTransition:R.RANGE,RuleTransition:R.RULE,PredicateTransition:R.PREDICATE,AtomTransition:R.ATOM,ActionTransition:R.ACTION,SetTransition:R.SET,NotSetTransition:R.NOT_SET,WildcardTransition:R.WILDCARD,PrecedencePredicateTransition:R.PRECEDENCE};class Ms extends R{constructor(t,e,r,s){super(t),this.ruleIndex=e,this.precedence=r,this.followState=s,this.serializationType=R.RULE,this.isEpsilon=!0}matches(t,e,r){return!1}}class Ho extends R{constructor(t,e){super(t),this.serializationType=R.SET,e!=null?this.label=e:(this.label=new ae,this.label.addOne(b.INVALID_TYPE))}matches(t,e,r){return this.label.contains(t)}toString(){return this.label.toString()}}class Go extends Ho{constructor(t,e){super(t,e),this.serializationType=R.NOT_SET}matches(t,e,r){return t>=e&&t<=r&&!super.matches(t,e,r)}toString(){return"~"+super.toString()}}class n0 extends R{constructor(t){super(t),this.serializationType=R.WILDCARD}matches(t,e,r){return t>=e&&t<=r}toString(){return"."}}class jo extends R{constructor(t){super(t)}}class W4{}class K4 extends W4{}class r0 extends K4{}class $s extends r0{getRuleContext(){throw new Error("missing interface implementation")}}class Ne extends r0{}class Ds extends Ne{}function Y4(n,t){return n=n.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t&&(n=n.replace(/ /g,"·")),n}const ye={toStringTree:function(n,t,e){t=t||null,e=e||null,e!==null&&(t=e.ruleNames);let r=ye.getNodeText(n,t);r=Y4(r,!1);const s=n.getChildCount();if(s===0)return r;let i="("+r+" ";s>0&&(r=ye.toStringTree(n.getChild(0),t),i=i.concat(r));for(let o=1;o<s;o++)r=ye.toStringTree(n.getChild(o),t),i=i.concat(" "+r);return i=i.concat(")"),i},getNodeText:function(n,t,e){if(t=t||null,e=e||null,e!==null&&(t=e.ruleNames),t!==null)if(n instanceof $s){const i=n.getRuleContext().getAltNumber();return i!=0?t[n.ruleIndex]+":"+i:t[n.ruleIndex]}else{if(n instanceof Ds)return n.toString();if(n instanceof Ne&&n.symbol!==null)return n.symbol.text}const r=n.getPayload();return r instanceof b?r.text:n.getPayload().toString()},getChildren:function(n){const t=[];for(let e=0;e<n.getChildCount();e++)t.push(n.getChild(e));return t},getAncestors:function(n){let t=[];for(n=n.getParent();n!==null;)t=[n].concat(t),n=n.getParent();return t},findAllTokenNodes:function(n,t){return ye.findAllNodes(n,t,!0)},findAllRuleNodes:function(n,t){return ye.findAllNodes(n,t,!1)},findAllNodes:function(n,t,e){const r=[];return ye._findAllNodes(n,t,e,r),r},_findAllNodes:function(n,t,e,r){e&&n instanceof Ne?n.symbol.type===t&&r.push(n):!e&&n instanceof $s&&n.ruleIndex===t&&r.push(n);for(let s=0;s<n.getChildCount();s++)ye._findAllNodes(n.getChild(s),t,e,r)},descendants:function(n){let t=[n];for(let e=0;e<n.getChildCount();e++)t=t.concat(ye.descendants(n.getChild(e)));return t}};class Mn extends $s{constructor(t,e){super(),this.parentCtx=t||null,this.invokingState=e||-1}depth(){let t=0,e=this;for(;e!==null;)e=e.parentCtx,t+=1;return t}isEmpty(){return this.invokingState===-1}getSourceInterval(){return J.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(t){return t.getText()}).join("")}getAltNumber(){return 0}setAltNumber(t){}getChild(t){return null}getChildCount(){return 0}accept(t){return t.visitChildren(this)}toStringTree(t,e){return ye.toStringTree(this,t,e)}toString(t,e){t=t||null,e=e||null;let r=this,s="[";for(;r!==null&&r!==e;){if(t===null)r.isEmpty()||(s+=r.invokingState);else{const i=r.ruleIndex,o=i>=0&&i<t.length?t[i]:""+i;s+=o}r.parentCtx!==null&&(t!==null||!r.parentCtx.isEmpty())&&(s+=" "),r=r.parentCtx}return s+="]",s}}class Z{constructor(t){this.cachedHashCode=t}isEmpty(){return this===Z.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===Z.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(t){t.update(this.cachedHashCode)}}Z.EMPTY=null,Z.EMPTY_RETURN_STATE=2147483647,Z.globalNodeCount=1,Z.id=Z.globalNodeCount;class Ce extends Z{constructor(t,e){const r=new Jt;r.update(t,e);const s=r.finish();return super(s),this.parents=t,this.returnStates=e,this}isEmpty(){return this.returnStates[0]===Z.EMPTY_RETURN_STATE}getParent(t){return this.parents[t]}getReturnState(t){return this.returnStates[t]}equals(t){return this===t?!0:t instanceof Ce?this.hashCode()!==t.hashCode()?!1:Pn(this.returnStates,t.returnStates)&&Pn(this.parents,t.parents):!1}toString(){if(this.isEmpty())return"[]";{let t="[";for(let e=0;e<this.returnStates.length;e++){if(e>0&&(t=t+", "),this.returnStates[e]===Z.EMPTY_RETURN_STATE){t=t+"$";continue}t=t+this.returnStates[e],this.parents[e]!==null?t=t+" "+this.parents[e]:t=t+"null"}return t+"]"}}get length(){return this.returnStates.length}}class Ft extends Z{constructor(t,e){let r=0;const s=new Jt;t!==null?s.update(t,e):s.update(1),r=s.finish(),super(r),this.parentCtx=t,this.returnState=e}getParent(t){return this.parentCtx}getReturnState(t){return this.returnState}equals(t){return this===t?!0:t instanceof Ft?this.hashCode()!==t.hashCode()||this.returnState!==t.returnState?!1:this.parentCtx==null?t.parentCtx==null:this.parentCtx.equals(t.parentCtx):!1}toString(){const t=this.parentCtx===null?"":this.parentCtx.toString();return t.length===0?this.returnState===Z.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+t}get length(){return 1}static create(t,e){return e===Z.EMPTY_RETURN_STATE&&t===null?Z.EMPTY:new Ft(t,e)}}class Vo extends Ft{constructor(){super(null,Z.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(t){return null}getReturnState(t){return this.returnState}equals(t){return this===t}toString(){return"$"}}Z.EMPTY=new Vo;const Ar="h-";class Sr{constructor(t,e){this.data={},this.hashFunction=t||Qc,this.equalsFunction=e||Jc}set(t,e){const r=Ar+this.hashFunction(t);if(r in this.data){const s=this.data[r];for(let i=0;i<s.length;i++){const o=s[i];if(this.equalsFunction(t,o.key)){const a=o.value;return o.value=e,a}}return s.push({key:t,value:e}),e}else return this.data[r]=[{key:t,value:e}],e}containsKey(t){const e=Ar+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++){const i=r[s];if(this.equalsFunction(t,i.key))return!0}}return!1}get(t){const e=Ar+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++){const i=r[s];if(this.equalsFunction(t,i.key))return i.value}}return null}entries(){return Object.keys(this.data).filter(t=>t.startsWith(Ar)).flatMap(t=>this.data[t],this)}getKeys(){return this.entries().map(t=>t.key)}getValues(){return this.entries().map(t=>t.value)}toString(){return"["+this.entries().map(e=>"{"+e.key+":"+e.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(t=>t.startsWith(Ar)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}function zo(n,t){if(t==null&&(t=Mn.EMPTY),t.parentCtx===null||t===Mn.EMPTY)return Z.EMPTY;const e=zo(n,t.parentCtx),s=n.states[t.invokingState].transitions[0];return Ft.create(e,s.followState.stateNumber)}function s0(n,t,e){if(n.isEmpty())return n;let r=e.get(n)||null;if(r!==null)return r;if(r=t.get(n),r!==null)return e.set(n,r),r;let s=!1,i=[];for(let a=0;a<i.length;a++){const l=s0(n.getParent(a),t,e);if(s||l!==n.getParent(a)){if(!s){i=[];for(let c=0;c<n.length;c++)i[c]=n.getParent(c);s=!0}i[a]=l}}if(!s)return t.add(n),e.set(n,n),n;let o=null;return i.length===0?o=Z.EMPTY:i.length===1?o=Ft.create(i[0],n.getReturnState(0)):o=new Ce(i,n.returnStates),t.add(o),e.set(o,o),e.set(n,o),o}function Zo(n,t,e,r){if(n===t)return n;if(n instanceof Ft&&t instanceof Ft)return J4(n,t,e,r);if(e){if(n instanceof Vo)return n;if(t instanceof Vo)return t}return n instanceof Ft&&(n=new Ce([n.getParent()],[n.returnState])),t instanceof Ft&&(t=new Ce([t.getParent()],[t.returnState])),X4(n,t,e,r)}function X4(n,t,e,r){if(r!==null){let u=r.get(n,t);if(u!==null||(u=r.get(t,n),u!==null))return u}let s=0,i=0,o=0,a=[],l=[];for(;s<n.returnStates.length&&i<t.returnStates.length;){const u=n.parents[s],f=t.parents[i];if(n.returnStates[s]===t.returnStates[i]){const d=n.returnStates[s];d===Z.EMPTY_RETURN_STATE&&u===null&&f===null||u!==null&&f!==null&&u===f?(l[o]=u,a[o]=d):(l[o]=Zo(u,f,e,r),a[o]=d),s+=1,i+=1}else n.returnStates[s]<t.returnStates[i]?(l[o]=u,a[o]=n.returnStates[s],s+=1):(l[o]=f,a[o]=t.returnStates[i],i+=1);o+=1}if(s<n.returnStates.length)for(let u=s;u<n.returnStates.length;u++)l[o]=n.parents[u],a[o]=n.returnStates[u],o+=1;else for(let u=i;u<t.returnStates.length;u++)l[o]=t.parents[u],a[o]=t.returnStates[u],o+=1;if(o<l.length){if(o===1){const u=Ft.create(l[0],a[0]);return r!==null&&r.set(n,t,u),u}l=l.slice(0,o),a=a.slice(0,o)}const c=new Ce(l,a);return c===n?(r!==null&&r.set(n,t,n),n):c===t?(r!==null&&r.set(n,t,t),t):(Q4(l),r!==null&&r.set(n,t,c),c)}function Q4(n){const t=new Sr;for(let e=0;e<n.length;e++){const r=n[e];t.containsKey(r)||t.set(r,r)}for(let e=0;e<n.length;e++)n[e]=t.get(n[e])}function J4(n,t,e,r){if(r!==null){let i=r.get(n,t);if(i!==null||(i=r.get(t,n),i!==null))return i}const s=t5(n,t,e);if(s!==null)return r!==null&&r.set(n,t,s),s;if(n.returnState===t.returnState){const i=Zo(n.parentCtx,t.parentCtx,e,r);if(i===n.parentCtx)return n;if(i===t.parentCtx)return t;const o=Ft.create(i,n.returnState);return r!==null&&r.set(n,t,o),o}else{let i=null;if((n===t||n.parentCtx!==null&&n.parentCtx===t.parentCtx)&&(i=n.parentCtx),i!==null){const c=[n.returnState,t.returnState];n.returnState>t.returnState&&(c[0]=t.returnState,c[1]=n.returnState);const u=[i,i],f=new Ce(u,c);return r!==null&&r.set(n,t,f),f}const o=[n.returnState,t.returnState];let a=[n.parentCtx,t.parentCtx];n.returnState>t.returnState&&(o[0]=t.returnState,o[1]=n.returnState,a=[t.parentCtx,n.parentCtx]);const l=new Ce(a,o);return r!==null&&r.set(n,t,l),l}}function t5(n,t,e){if(e){if(n===Z.EMPTY||t===Z.EMPTY)return Z.EMPTY}else{if(n===Z.EMPTY&&t===Z.EMPTY)return Z.EMPTY;if(n===Z.EMPTY){const r=[t.returnState,Z.EMPTY_RETURN_STATE],s=[t.parentCtx,null];return new Ce(s,r)}else if(t===Z.EMPTY){const r=[n.returnState,Z.EMPTY_RETURN_STATE],s=[n.parentCtx,null];return new Ce(s,r)}}return null}class Ee{constructor(){this.data=[]}add(t){this.data[t]=!0}or(t){Object.keys(t.data).map(e=>this.add(e),this)}remove(t){delete this.data[t]}has(t){return this.data[t]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return Jt.hashStuff(this.values())}equals(t){return t instanceof Ee&&Pn(this.data,t.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class $n{constructor(t){this.atn=t}getDecisionLookahead(t){if(t===null)return null;const e=t.transitions.length,r=[];for(let s=0;s<e;s++){r[s]=new ae;const i=new te,o=!1;this._LOOK(t.transition(s).target,null,Z.EMPTY,r[s],i,new Ee,o,!1),(r[s].length===0||r[s].contains($n.HIT_PRED))&&(r[s]=null)}return r}LOOK(t,e,r){const s=new ae,i=!0;r=r||null;const o=r!==null?zo(t.atn,r):null;return this._LOOK(t,e,o,s,new te,new Ee,i,!0),s}_LOOK(t,e,r,s,i,o,a,l){const c=new mt({state:t,alt:0,context:r},null);if(!i.has(c)){if(i.add(c),t===e){if(r===null){s.addOne(b.EPSILON);return}else if(r.isEmpty()&&l){s.addOne(b.EOF);return}}if(t instanceof Dt){if(r===null){s.addOne(b.EPSILON);return}else if(r.isEmpty()&&l){s.addOne(b.EOF);return}if(r!==Z.EMPTY){const u=o.has(t.ruleIndex);try{o.remove(t.ruleIndex);for(let f=0;f<r.length;f++){const d=this.atn.states[r.getReturnState(f)];this._LOOK(d,e,r.getParent(f),s,i,o,a,l)}}finally{u&&o.add(t.ruleIndex)}return}}for(let u=0;u<t.transitions.length;u++){const f=t.transitions[u];if(f.constructor===Ms){if(o.has(f.target.ruleIndex))continue;const d=Ft.create(r,f.followState.stateNumber);try{o.add(f.target.ruleIndex),this._LOOK(f.target,e,d,s,i,o,a,l)}finally{o.remove(f.target.ruleIndex)}}else if(f instanceof jo)a?this._LOOK(f.target,e,r,s,i,o,a,l):s.addOne($n.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,e,r,s,i,o,a,l);else if(f.constructor===n0)s.addRange(b.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let d=f.label;d!==null&&(f instanceof Go&&(d=d.complement(b.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),s.addSet(d))}}}}}$n.HIT_PRED=b.INVALID_TYPE;class dt{constructor(t,e){this.grammarType=t,this.maxTokenType=e,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(t,e){return new $n(this).LOOK(t,null,e)}nextTokensNoContext(t){return t.nextTokenWithinRule!==null||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule}nextTokens(t,e){return e===void 0?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)}addState(t){t!==null&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)}removeState(t){this.states[t.stateNumber]=null}defineDecisionState(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision}getDecisionState(t){return this.decisionToState.length===0?null:this.decisionToState[t]}getExpectedTokens(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";const r=this.states[t];let s=this.nextTokens(r);if(!s.contains(b.EPSILON))return s;const i=new ae;for(i.addSet(s),i.removeOne(b.EPSILON);e!==null&&e.invokingState>=0&&s.contains(b.EPSILON);){const a=this.states[e.invokingState].transitions[0];s=this.nextTokens(a.followState),i.addSet(s),i.removeOne(b.EPSILON),e=e.parentCtx}return s.contains(b.EPSILON)&&i.addOne(b.EOF),i}}dt.INVALID_ALT_NUMBER=0;const Fs={LEXER:0,PARSER:1};class i0 extends N{constructor(){super(),this.stateType=N.BASIC}}class Dn extends N{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class Fn extends Dn{constructor(){return super(),this.endState=null,this}}class qo extends N{constructor(){return super(),this.stateType=N.BLOCK_END,this.startState=null,this}}class Bn extends N{constructor(){return super(),this.stateType=N.LOOP_END,this.loopBackState=null,this}}class o0 extends N{constructor(){return super(),this.stateType=N.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class e5 extends Dn{constructor(){return super(),this.stateType=N.TOKEN_START,this}}class a0 extends Dn{constructor(){return super(),this.stateType=N.PLUS_LOOP_BACK,this}}class Wo extends N{constructor(){return super(),this.stateType=N.STAR_LOOP_BACK,this}}class gn extends Dn{constructor(){return super(),this.stateType=N.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class Ko extends Fn{constructor(){return super(),this.stateType=N.PLUS_BLOCK_START,this.loopBackState=null,this}}class Yo extends Fn{constructor(){return super(),this.stateType=N.STAR_BLOCK_START,this}}class l0 extends Fn{constructor(){return super(),this.stateType=N.BLOCK_START,this}}class Bs extends R{constructor(t,e){super(t),this.label_=e,this.label=this.makeLabel(),this.serializationType=R.ATOM}makeLabel(){const t=new ae;return t.addOne(this.label_),t}matches(t,e,r){return this.label_===t}toString(){return this.label_}}class c0 extends R{constructor(t,e,r){super(t),this.serializationType=R.RANGE,this.start=e,this.stop=r,this.label=this.makeLabel()}makeLabel(){const t=new ae;return t.addRange(this.start,this.stop),t}matches(t,e,r){return t>=this.start&&t<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class u0 extends R{constructor(t,e,r,s){super(t),this.serializationType=R.ACTION,this.ruleIndex=e,this.actionIndex=r===void 0?-1:r,this.isCtxDependent=s===void 0?!1:s,this.isEpsilon=!0}matches(t,e,r){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class Rr extends R{constructor(t,e){super(t),this.serializationType=R.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e}matches(t,e,r){return!1}toString(){return"epsilon"}}class Us extends Q{constructor(t,e,r){super(),this.ruleIndex=t===void 0?-1:t,this.predIndex=e===void 0?-1:e,this.isCtxDependent=r===void 0?!1:r}evaluate(t,e){const r=this.isCtxDependent?e:null;return t.sempred(r,this.ruleIndex,this.predIndex)}updateHashCode(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(t){return this===t?!0:t instanceof Us?this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}Q.NONE=new Us;class h0 extends jo{constructor(t,e,r,s){super(t),this.serializationType=R.PREDICATE,this.ruleIndex=e,this.predIndex=r,this.isCtxDependent=s,this.isEpsilon=!0}matches(t,e,r){return!1}getPredicate(){return new Us(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class Hs extends Q{constructor(t){super(),this.precedence=t===void 0?0:t}evaluate(t,e){return t.precpred(e,this.precedence)}evalPrecedence(t,e){return t.precpred(e,this.precedence)?Q.NONE:null}compareTo(t){return this.precedence-t.precedence}updateHashCode(t){t.update(this.precedence)}equals(t){return this===t?!0:t instanceof Hs?this.precedence===t.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}Q.PrecedencePredicate=Hs;class n5 extends jo{constructor(t,e){super(t),this.serializationType=R.PRECEDENCE,this.precedence=e,this.isEpsilon=!0}matches(t,e,r){return!1}getPredicate(){return new Hs(this.precedence)}toString(){return this.precedence+" >= _p"}}class kr{constructor(t){t===void 0&&(t=null),this.readOnly=!1,this.verifyATN=t===null?!0:t.verifyATN,this.generateRuleBypassTransitions=t===null?!1:t.generateRuleBypassTransitions}}kr.defaultOptions=new kr,kr.defaultOptions.readOnly=!0;const Ot={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class Ie{constructor(t){this.actionType=t,this.isPositionDependent=!1}hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.actionType)}equals(t){return this===t}}class Xo extends Ie{constructor(){super(Ot.SKIP)}execute(t){t.skip()}toString(){return"skip"}}Xo.INSTANCE=new Xo;class Qo extends Ie{constructor(t){super(Ot.CHANNEL),this.channel=t}execute(t){t._channel=this.channel}updateHashCode(t){t.update(this.actionType,this.channel)}equals(t){return this===t?!0:t instanceof Qo?this.channel===t.channel:!1}toString(){return"channel("+this.channel+")"}}class Jo extends Ie{constructor(t,e){super(Ot.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0}execute(t){t.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(t){return this===t?!0:t instanceof Jo?this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex:!1}}class ta extends Ie{constructor(){super(Ot.MORE)}execute(t){t.more()}toString(){return"more"}}ta.INSTANCE=new ta;class ea extends Ie{constructor(t){super(Ot.TYPE),this.type=t}execute(t){t.type=this.type}updateHashCode(t){t.update(this.actionType,this.type)}equals(t){return this===t?!0:t instanceof ea?this.type===t.type:!1}toString(){return"type("+this.type+")"}}class na extends Ie{constructor(t){super(Ot.PUSH_MODE),this.mode=t}execute(t){t.pushMode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof na?this.mode===t.mode:!1}toString(){return"pushMode("+this.mode+")"}}class ra extends Ie{constructor(){super(Ot.POP_MODE)}execute(t){t.popMode()}toString(){return"popMode"}}ra.INSTANCE=new ra;class sa extends Ie{constructor(t){super(Ot.MODE),this.mode=t}execute(t){t.mode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof sa?this.mode===t.mode:!1}toString(){return"mode("+this.mode+")"}}const ia=4;function Gs(n,t){const e=[];return e[n-1]=t,e.map(function(r){return t})}class f0{constructor(t){t==null&&(t=kr.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null}deserialize(t){const e=this.reset(t);this.checkVersion(e),e&&this.skipUUID();const r=this.readATN();this.readStates(r,e),this.readRules(r,e),this.readModes(r);const s=[];return this.readSets(r,s,this.readInt.bind(this)),e&&this.readSets(r,s,this.readInt32.bind(this)),this.readEdges(r,s),this.readDecisions(r),this.readLexerActions(r,e),this.markPrecedenceDecisions(r),this.verifyATN(r),this.deserializationOptions.generateRuleBypassTransitions&&r.grammarType===Fs.PARSER&&(this.generateRuleBypassTransitions(r),this.verifyATN(r)),r}reset(t){if((t.charCodeAt?t.charCodeAt(0):t[0])===ia-1){const r=function(i){const o=i.charCodeAt(0);return o>1?o-2:o+65534},s=t.split("").map(r);return s[0]=t.charCodeAt(0),this.data=s,this.pos=0,!0}else return this.data=t,this.pos=0,!1}skipUUID(){let t=0;for(;t++<8;)this.readInt()}checkVersion(t){const e=this.readInt();if(!t&&e!==ia)throw"Could not deserialize ATN with version "+e+" (expected "+ia+")."}readATN(){const t=this.readInt(),e=this.readInt();return new dt(t,e)}readStates(t,e){let r,s,i;const o=[],a=[],l=this.readInt();for(let f=0;f<l;f++){const d=this.readInt();if(d===N.INVALID_TYPE){t.addState(null);continue}let p=this.readInt();e&&p===65535&&(p=-1);const w=this.stateFactory(d,p);if(d===N.LOOP_END){const I=this.readInt();o.push([w,I])}else if(w instanceof Fn){const I=this.readInt();a.push([w,I])}t.addState(w)}for(r=0;r<o.length;r++)s=o[r],s[0].loopBackState=t.states[s[1]];for(r=0;r<a.length;r++)s=a[r],s[0].endState=t.states[s[1]];let c=this.readInt();for(r=0;r<c;r++)i=this.readInt(),t.states[i].nonGreedy=!0;let u=this.readInt();for(r=0;r<u;r++)i=this.readInt(),t.states[i].isPrecedenceRule=!0}readRules(t,e){let r;const s=this.readInt();for(t.grammarType===Fs.LEXER&&(t.ruleToTokenType=Gs(s,0)),t.ruleToStartState=Gs(s,0),r=0;r<s;r++){const i=this.readInt();if(t.ruleToStartState[r]=t.states[i],t.grammarType===Fs.LEXER){let o=this.readInt();e&&o===65535&&(o=b.EOF),t.ruleToTokenType[r]=o}}for(t.ruleToStopState=Gs(s,0),r=0;r<t.states.length;r++){const i=t.states[r];i instanceof Dt&&(t.ruleToStopState[i.ruleIndex]=i,t.ruleToStartState[i.ruleIndex].stopState=i)}}readModes(t){const e=this.readInt();for(let r=0;r<e;r++){let s=this.readInt();t.modeToStartState.push(t.states[s])}}readSets(t,e,r){const s=this.readInt();for(let i=0;i<s;i++){const o=new ae;e.push(o);const a=this.readInt();this.readInt()!==0&&o.addOne(-1);for(let c=0;c<a;c++){const u=r(),f=r();o.addRange(u,f)}}}readEdges(t,e){let r,s,i,o,a;const l=this.readInt();for(r=0;r<l;r++){const c=this.readInt(),u=this.readInt(),f=this.readInt(),d=this.readInt(),p=this.readInt(),w=this.readInt();o=this.edgeFactory(t,f,c,u,d,p,w,e),t.states[c].addTransition(o)}for(r=0;r<t.states.length;r++)for(i=t.states[r],s=0;s<i.transitions.length;s++){const c=i.transitions[s];if(!(c instanceof Ms))continue;let u=-1;t.ruleToStartState[c.target.ruleIndex].isPrecedenceRule&&c.precedence===0&&(u=c.target.ruleIndex),o=new Rr(c.followState,u),t.ruleToStopState[c.target.ruleIndex].addTransition(o)}for(r=0;r<t.states.length;r++){if(i=t.states[r],i instanceof Fn){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof a0)for(s=0;s<i.transitions.length;s++)a=i.transitions[s].target,a instanceof Ko&&(a.loopBackState=i);else if(i instanceof Wo)for(s=0;s<i.transitions.length;s++)a=i.transitions[s].target,a instanceof gn&&(a.loopBackState=i)}}readDecisions(t){const e=this.readInt();for(let r=0;r<e;r++){const s=this.readInt(),i=t.states[s];t.decisionToState.push(i),i.decision=r}}readLexerActions(t,e){if(t.grammarType===Fs.LEXER){const r=this.readInt();t.lexerActions=Gs(r,null);for(let s=0;s<r;s++){const i=this.readInt();let o=this.readInt();e&&o===65535&&(o=-1);let a=this.readInt();e&&a===65535&&(a=-1),t.lexerActions[s]=this.lexerActionFactory(i,o,a)}}}generateRuleBypassTransitions(t){let e;const r=t.ruleToStartState.length;for(e=0;e<r;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<r;e++)this.generateRuleBypassTransition(t,e)}generateRuleBypassTransition(t,e){let r,s;const i=new l0;i.ruleIndex=e,t.addState(i);const o=new qo;o.ruleIndex=e,t.addState(o),i.endState=o,t.defineDecisionState(i),o.startState=i;let a=null,l=null;if(t.ruleToStartState[e].isPrecedenceRule){for(l=null,r=0;r<t.states.length;r++)if(s=t.states[r],this.stateIsEndStateFor(s,e)){l=s,a=s.loopBackState.transitions[0];break}if(a===null)throw"Couldn't identify final state of the precedence rule prefix section."}else l=t.ruleToStopState[e];for(r=0;r<t.states.length;r++){s=t.states[r];for(let d=0;d<s.transitions.length;d++){const p=s.transitions[d];p!==a&&p.target===l&&(p.target=o)}}const c=t.ruleToStartState[e],u=c.transitions.length;for(;u>0;)i.addTransition(c.transitions[u-1]),c.transitions=c.transitions.slice(-1);t.ruleToStartState[e].addTransition(new Rr(i)),o.addTransition(new Rr(l));const f=new i0;t.addState(f),f.addTransition(new Bs(o,t.ruleToTokenType[e])),i.addTransition(new Rr(f))}stateIsEndStateFor(t,e){if(t.ruleIndex!==e||!(t instanceof gn))return null;const r=t.transitions[t.transitions.length-1].target;return r instanceof Bn&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof Dt?t:null}markPrecedenceDecisions(t){for(let e=0;e<t.states.length;e++){const r=t.states[e];if(r instanceof gn&&t.ruleToStartState[r.ruleIndex].isPrecedenceRule){const s=r.transitions[r.transitions.length-1].target;s instanceof Bn&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof Dt&&(r.isPrecedenceDecision=!0)}}}verifyATN(t){if(this.deserializationOptions.verifyATN)for(let e=0;e<t.states.length;e++){const r=t.states[e];if(r!==null)if(this.checkCondition(r.epsilonOnlyTransitions||r.transitions.length<=1),r instanceof Ko)this.checkCondition(r.loopBackState!==null);else if(r instanceof gn)if(this.checkCondition(r.loopBackState!==null),this.checkCondition(r.transitions.length===2),r.transitions[0].target instanceof Yo)this.checkCondition(r.transitions[1].target instanceof Bn),this.checkCondition(!r.nonGreedy);else if(r.transitions[0].target instanceof Bn)this.checkCondition(r.transitions[1].target instanceof Yo),this.checkCondition(r.nonGreedy);else throw"IllegalState";else r instanceof Wo?(this.checkCondition(r.transitions.length===1),this.checkCondition(r.transitions[0].target instanceof gn)):r instanceof Bn?this.checkCondition(r.loopBackState!==null):r instanceof o0?this.checkCondition(r.stopState!==null):r instanceof Fn?this.checkCondition(r.endState!==null):r instanceof qo?this.checkCondition(r.startState!==null):r instanceof Dn?this.checkCondition(r.transitions.length<=1||r.decision>=0):this.checkCondition(r.transitions.length<=1||r instanceof Dt)}}checkCondition(t,e){if(!t)throw e==null&&(e="IllegalState"),e}readInt(){return this.data[this.pos++]}readInt32(){const t=this.readInt(),e=this.readInt();return t|e<<16}edgeFactory(t,e,r,s,i,o,a,l){const c=t.states[s];switch(e){case R.EPSILON:return new Rr(c);case R.RANGE:return a!==0?new c0(c,b.EOF,o):new c0(c,i,o);case R.RULE:return new Ms(t.states[i],o,a,c);case R.PREDICATE:return new h0(c,i,o,a!==0);case R.PRECEDENCE:return new n5(c,i);case R.ATOM:return a!==0?new Bs(c,b.EOF):new Bs(c,i);case R.ACTION:return new u0(c,i,o,a!==0);case R.SET:return new Ho(c,l[i]);case R.NOT_SET:return new Go(c,l[i]);case R.WILDCARD:return new n0(c);default:throw"The specified transition type: "+e+" is not valid."}}stateFactory(t,e){if(this.stateFactories===null){const r=[];r[N.INVALID_TYPE]=null,r[N.BASIC]=()=>new i0,r[N.RULE_START]=()=>new o0,r[N.BLOCK_START]=()=>new l0,r[N.PLUS_BLOCK_START]=()=>new Ko,r[N.STAR_BLOCK_START]=()=>new Yo,r[N.TOKEN_START]=()=>new e5,r[N.RULE_STOP]=()=>new Dt,r[N.BLOCK_END]=()=>new qo,r[N.STAR_LOOP_BACK]=()=>new Wo,r[N.STAR_LOOP_ENTRY]=()=>new gn,r[N.PLUS_LOOP_BACK]=()=>new a0,r[N.LOOP_END]=()=>new Bn,this.stateFactories=r}if(t>this.stateFactories.length||this.stateFactories[t]===null)throw"The specified state type "+t+" is not valid.";{const r=this.stateFactories[t]();if(r!==null)return r.ruleIndex=e,r}}lexerActionFactory(t,e,r){if(this.actionFactories===null){const s=[];s[Ot.CHANNEL]=(i,o)=>new Qo(i),s[Ot.CUSTOM]=(i,o)=>new Jo(i,o),s[Ot.MODE]=(i,o)=>new sa(i),s[Ot.MORE]=(i,o)=>ta.INSTANCE,s[Ot.POP_MODE]=(i,o)=>ra.INSTANCE,s[Ot.PUSH_MODE]=(i,o)=>new na(i),s[Ot.SKIP]=(i,o)=>Xo.INSTANCE,s[Ot.TYPE]=(i,o)=>new ea(i),this.actionFactories=s}if(t>this.actionFactories.length||this.actionFactories[t]===null)throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,r)}}class js{syntaxError(t,e,r,s,i,o){}reportAmbiguity(t,e,r,s,i,o,a){}reportAttemptingFullContext(t,e,r,s,i,o){}reportContextSensitivity(t,e,r,s,i,o){}}class oa extends js{constructor(){super()}syntaxError(t,e,r,s,i,o){console.error("line "+r+":"+s+" "+i)}}oa.INSTANCE=new oa;class r5 extends js{constructor(t){if(super(),t===null)throw"delegates";return this.delegates=t,this}syntaxError(t,e,r,s,i,o){this.delegates.map(a=>a.syntaxError(t,e,r,s,i,o))}reportAmbiguity(t,e,r,s,i,o,a){this.delegates.map(l=>l.reportAmbiguity(t,e,r,s,i,o,a))}reportAttemptingFullContext(t,e,r,s,i,o){this.delegates.map(a=>a.reportAttemptingFullContext(t,e,r,s,i,o))}reportContextSensitivity(t,e,r,s,i,o){this.delegates.map(a=>a.reportContextSensitivity(t,e,r,s,i,o))}}class Vs{constructor(){this._listeners=[oa.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(t){const e="4.11.0";e!==t&&console.log("ANTLR runtime and generated code versions disagree: "+e+"!="+t)}addErrorListener(t){this._listeners.push(t)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const t=this.getLiteralNames(),e=this.getSymbolicNames(),r=t.length>e.length?t.length:e.length;this.tokenNames=[];for(let s=0;s<r;s++)this.tokenNames[s]=t[s]||e[s]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const t=this.getTokenNames();if(t===null)throw"The current recognizer does not provide a list of token names.";let e=this.tokenTypeMapCache[t];return e===void 0&&(e=t.reduce(function(r,s,i){r[s]=i}),e.EOF=b.EOF,this.tokenTypeMapCache[t]=e),e}getRuleIndexMap(){const t=this.ruleNames;if(t===null)throw"The current recognizer does not provide a list of rule names.";let e=this.ruleIndexMapCache[t];return e===void 0&&(e=t.reduce(function(r,s,i){r[s]=i}),this.ruleIndexMapCache[t]=e),e}getTokenType(t){const e=this.getTokenTypeMap()[t];return e!==void 0?e:b.INVALID_TYPE}getErrorHeader(t){const e=t.getOffendingToken().line,r=t.getOffendingToken().column;return"line "+e+":"+r}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),e=e.replace(`
|
|
15
|
-
`,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+e+"'"}getErrorListenerDispatch(){return new
|
|
16
|
-
`?"\\n":t===" "?"\\t":t==="\r"?"\\r":t}getCharErrorDisplay(t){return"'"+this.getErrorDisplayForChar(t)+"'"}recover(t){this._input.LA(1)!==b.EOF&&(t instanceof
|
|
14
|
+
See more tips at https://vuejs.org/guide/deployment.html`)},0);function w4(n){var t=Number(n.version.split(".")[0]);if(t>=2)n.mixin({beforeCreate:r});else{var e=n.prototype._init;n.prototype._init=function(s){s===void 0&&(s={}),s.init=s.init?[r].concat(s.init):r,e.call(this,s)}}function r(){var s=this.$options;s.store?this.$store=typeof s.store=="function"?s.store():s.store:s.parent&&s.parent.$store&&(this.$store=s.parent.$store)}}var T4=typeof window<"u"?window:typeof global<"u"?global:{},In=T4.__VUE_DEVTOOLS_GLOBAL_HOOK__;function A4(n){In&&(n._devtoolHook=In,In.emit("vuex:init",n),In.on("vuex:travel-to-state",function(t){n.replaceState(t)}),n.subscribe(function(t,e){In.emit("vuex:mutation",t,e)},{prepend:!0}),n.subscribeAction(function(t,e){In.emit("vuex:action",t,e)},{prepend:!0}))}function S4(n,t){return n.filter(t)[0]}function Do(n,t){if(t===void 0&&(t=[]),n===null||typeof n!="object")return n;var e=S4(t,function(s){return s.original===n});if(e)return e.copy;var r=Array.isArray(n)?[]:{};return t.push({original:n,copy:r}),Object.keys(n).forEach(function(s){r[s]=Do(n[s],t)}),r}function fn(n,t){Object.keys(n).forEach(function(e){return t(n[e],e)})}function Bc(n){return n!==null&&typeof n=="object"}function R4(n){return n&&typeof n.then=="function"}function oe(n,t){if(!n)throw new Error("[vuex] "+t)}function k4(n,t){return function(){return n(t)}}var de=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Uc={namespaced:{configurable:!0}};Uc.namespaced.get=function(){return!!this._rawModule.namespaced},de.prototype.addChild=function(t,e){this._children[t]=e},de.prototype.removeChild=function(t){delete this._children[t]},de.prototype.getChild=function(t){return this._children[t]},de.prototype.hasChild=function(t){return t in this._children},de.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},de.prototype.forEachChild=function(t){fn(this._children,t)},de.prototype.forEachGetter=function(t){this._rawModule.getters&&fn(this._rawModule.getters,t)},de.prototype.forEachAction=function(t){this._rawModule.actions&&fn(this._rawModule.actions,t)},de.prototype.forEachMutation=function(t){this._rawModule.mutations&&fn(this._rawModule.mutations,t)},Object.defineProperties(de.prototype,Uc);var dn=function(t){this.register([],t,!1)};dn.prototype.get=function(t){return t.reduce(function(e,r){return e.getChild(r)},this.root)},dn.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(r,s){return e=e.getChild(s),r+(e.namespaced?s+"/":"")},"")},dn.prototype.update=function(t){Hc([],this.root,t)},dn.prototype.register=function(t,e,r){var s=this;r===void 0&&(r=!0),process.env.NODE_ENV!=="production"&&Vc(t,e);var i=new de(e,r);if(t.length===0)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&fn(e.modules,function(a,l){s.register(t.concat(l),a,r)})},dn.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1],s=e.getChild(r);if(!s){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+r+"', which is not registered");return}s.runtime&&e.removeChild(r)},dn.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1];return e?e.hasChild(r):!1};function Hc(n,t,e){if(process.env.NODE_ENV!=="production"&&Vc(n,e),t.update(e),e.modules)for(var r in e.modules){if(!t.getChild(r)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");return}Hc(n.concat(r),t.getChild(r),e.modules[r])}}var Gc={assert:function(n){return typeof n=="function"},expected:"function"},O4={assert:function(n){return typeof n=="function"||typeof n=="object"&&typeof n.handler=="function"},expected:'function or object with "handler" function'},jc={getters:Gc,mutations:Gc,actions:O4};function Vc(n,t){Object.keys(jc).forEach(function(e){if(t[e]){var r=jc[e];fn(t[e],function(s,i){oe(r.assert(s),N4(n,e,i,s,r.expected))})}})}function N4(n,t,e,r,s){var i=t+" should be "+s+' but "'+t+"."+e+'"';return n.length>0&&(i+=' in module "'+n.join(".")+'"'),i+=" is "+JSON.stringify(r)+".",i}var $t,Qt=function n(t){var e=this;t===void 0&&(t={}),!$t&&typeof window<"u"&&window.Vue&&qc(window.Vue),process.env.NODE_ENV!=="production"&&(oe($t,"must call Vue.use(Vuex) before creating a store instance."),oe(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),oe(this instanceof n,"store must be called with the new operator."));var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new dn(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new $t,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,a=o.dispatch,l=o.commit;this.dispatch=function(d,p){return a.call(i,d,p)},this.commit=function(d,p,w){return l.call(i,d,p,w)},this.strict=s;var c=this._modules.root.state;Ss(this,c,[],this._modules.root),Bo(this,c),r.forEach(function(f){return f(e)});var u=t.devtools!==void 0?t.devtools:$t.config.devtools;u&&A4(this)},Fo={state:{configurable:!0}};Fo.state.get=function(){return this._vm._data.$$state},Fo.state.set=function(n){process.env.NODE_ENV!=="production"&&oe(!1,"use store.replaceState() to explicit replace store state.")},Qt.prototype.commit=function(t,e,r){var s=this,i=Rs(t,e,r),o=i.type,a=i.payload,l=i.options,c={type:o,payload:a},u=this._mutations[o];if(!u){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+o);return}this._withCommit(function(){u.forEach(function(d){d(a)})}),this._subscribers.slice().forEach(function(f){return f(c,s.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")},Qt.prototype.dispatch=function(t,e){var r=this,s=Rs(t,e),i=s.type,o=s.payload,a={type:i,payload:o},l=this._actions[i];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+i);return}try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,r.state)})}catch(u){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(u))}var c=l.length>1?Promise.all(l.map(function(u){return u(o)})):l[0](o);return new Promise(function(u,f){c.then(function(d){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(p))}u(d)},function(d){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,d)})}catch(p){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(p))}f(d)})})},Qt.prototype.subscribe=function(t,e){return zc(t,this._subscribers,e)},Qt.prototype.subscribeAction=function(t,e){var r=typeof t=="function"?{before:t}:t;return zc(r,this._actionSubscribers,e)},Qt.prototype.watch=function(t,e,r){var s=this;return process.env.NODE_ENV!=="production"&&oe(typeof t=="function","store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(s.state,s.getters)},e,r)},Qt.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},Qt.prototype.registerModule=function(t,e,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(oe(Array.isArray(t),"module path must be a string or an Array."),oe(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,e),Ss(this,this.state,t,this._modules.get(t),r.preserveState),Bo(this,this.state)},Qt.prototype.unregisterModule=function(t){var e=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&oe(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var r=Uo(e.state,t.slice(0,-1));$t.delete(r,t[t.length-1])}),Zc(this)},Qt.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&oe(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)},Qt.prototype.hotUpdate=function(t){this._modules.update(t),Zc(this,!0)},Qt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Qt.prototype,Fo);function zc(n,t,e){return t.indexOf(n)<0&&(e&&e.prepend?t.unshift(n):t.push(n)),function(){var r=t.indexOf(n);r>-1&&t.splice(r,1)}}function Zc(n,t){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var e=n.state;Ss(n,e,[],n._modules.root,!0),Bo(n,e,t)}function Bo(n,t,e){var r=n._vm;n.getters={},n._makeLocalGettersCache=Object.create(null);var s=n._wrappedGetters,i={};fn(s,function(a,l){i[l]=k4(a,n),Object.defineProperty(n.getters,l,{get:function(){return n._vm[l]},enumerable:!0})});var o=$t.config.silent;$t.config.silent=!0,n._vm=new $t({data:{$$state:t},computed:i}),$t.config.silent=o,n.strict&&F4(n),r&&(e&&n._withCommit(function(){r._data.$$state=null}),$t.nextTick(function(){return r.$destroy()}))}function Ss(n,t,e,r,s){var i=!e.length,o=n._modules.getNamespace(e);if(r.namespaced&&(n._modulesNamespaceMap[o]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+o+" for the namespaced module "+e.join("/")),n._modulesNamespaceMap[o]=r),!i&&!s){var a=Uo(t,e.slice(0,-1)),l=e[e.length-1];n._withCommit(function(){process.env.NODE_ENV!=="production"&&l in a&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+e.join(".")+'"'),$t.set(a,l,r.state)})}var c=r.context=I4(n,o,e);r.forEachMutation(function(u,f){var d=o+f;M4(n,d,u,c)}),r.forEachAction(function(u,f){var d=u.root?f:o+f,p=u.handler||u;$4(n,d,p,c)}),r.forEachGetter(function(u,f){var d=o+f;D4(n,d,u,c)}),r.forEachChild(function(u,f){Ss(n,t,e.concat(f),u,s)})}function I4(n,t,e){var r=t==="",s={dispatch:r?n.dispatch:function(i,o,a){var l=Rs(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!n._actions[f])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+f);return}return n.dispatch(f,c)},commit:r?n.commit:function(i,o,a){var l=Rs(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=t+f,process.env.NODE_ENV!=="production"&&!n._mutations[f])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+f);return}n.commit(f,c,u)}};return Object.defineProperties(s,{getters:{get:r?function(){return n.getters}:function(){return P4(n,t)}},state:{get:function(){return Uo(n.state,e)}}}),s}function P4(n,t){if(!n._makeLocalGettersCache[t]){var e={},r=t.length;Object.keys(n.getters).forEach(function(s){if(s.slice(0,r)===t){var i=s.slice(r);Object.defineProperty(e,i,{get:function(){return n.getters[s]},enumerable:!0})}}),n._makeLocalGettersCache[t]=e}return n._makeLocalGettersCache[t]}function M4(n,t,e,r){var s=n._mutations[t]||(n._mutations[t]=[]);s.push(function(o){e.call(n,r.state,o)})}function $4(n,t,e,r){var s=n._actions[t]||(n._actions[t]=[]);s.push(function(o){var a=e.call(n,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:n.getters,rootState:n.state},o);return R4(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(l){throw n._devtoolHook.emit("vuex:error",l),l}):a})}function D4(n,t,e,r){if(n._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}n._wrappedGetters[t]=function(i){return e(r.state,r.getters,i.state,i.getters)}}function F4(n){n._vm.$watch(function(){return this._data.$$state},function(){process.env.NODE_ENV!=="production"&&oe(n._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function Uo(n,t){return t.reduce(function(e,r){return e[r]},n)}function Rs(n,t,e){return Bc(n)&&n.type&&(e=t,t=n,n=n.type),process.env.NODE_ENV!=="production"&&oe(typeof n=="string","expects string as the type, but found "+typeof n+"."),{type:n,payload:t,options:e}}function qc(n){if($t&&n===$t){process.env.NODE_ENV!=="production"&&console.error("[vuex] already installed. Vue.use(Vuex) should be called only once.");return}$t=n,w4($t)}var Cr=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){var a=this.$store.state,l=this.$store.getters;if(n){var c=Ns(this.$store,"mapState",n);if(!c)return;a=c.context.state,l=c.context.getters}return typeof i=="function"?i.call(this,a,l):a[i]},e[s].vuex=!0}),e}),Er=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.commit;if(n){var u=Ns(this.$store,"mapMutations",n);if(!u)return;c=u.context.commit}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),e}),Dt=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;i=n+i,e[s]=function(){if(!(n&&!Ns(this.$store,"mapGetters",n))){if(process.env.NODE_ENV!=="production"&&!(i in this.$store.getters)){console.error("[vuex] unknown getter: "+i);return}return this.$store.getters[i]}},e[s].vuex=!0}),e}),Wc=Os(function(n,t){var e={};return process.env.NODE_ENV!=="production"&&!br(t)&&console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),ks(t).forEach(function(r){var s=r.key,i=r.val;e[s]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.dispatch;if(n){var u=Ns(this.$store,"mapActions",n);if(!u)return;c=u.context.dispatch}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),e}),B4=function(n){return{mapState:Cr.bind(null,n),mapGetters:Dt.bind(null,n),mapMutations:Er.bind(null,n),mapActions:Wc.bind(null,n)}};function ks(n){return br(n)?Array.isArray(n)?n.map(function(t){return{key:t,val:t}}):Object.keys(n).map(function(t){return{key:t,val:n[t]}}):[]}function br(n){return Array.isArray(n)||Bc(n)}function Os(n){return function(t,e){return typeof t!="string"?(e=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),n(t,e)}}function Ns(n,t,e){var r=n._modulesNamespaceMap[e];return process.env.NODE_ENV!=="production"&&!r&&console.error("[vuex] module namespace not found in "+t+"(): "+e),r}function U4(n){n===void 0&&(n={});var t=n.collapsed;t===void 0&&(t=!0);var e=n.filter;e===void 0&&(e=function(u,f,d){return!0});var r=n.transformer;r===void 0&&(r=function(u){return u});var s=n.mutationTransformer;s===void 0&&(s=function(u){return u});var i=n.actionFilter;i===void 0&&(i=function(u,f){return!0});var o=n.actionTransformer;o===void 0&&(o=function(u){return u});var a=n.logMutations;a===void 0&&(a=!0);var l=n.logActions;l===void 0&&(l=!0);var c=n.logger;return c===void 0&&(c=console),function(u){var f=Do(u.state);typeof c>"u"||(a&&u.subscribe(function(d,p){var w=Do(p);if(e(d,f,w)){var I=Xc(),q=s(d),$="mutation "+d.type+I;Kc(c,$,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",q),c.log("%c next state","color: #4CAF50; font-weight: bold",r(w)),Yc(c)}f=w}),l&&u.subscribeAction(function(d,p){if(i(d,p)){var w=Xc(),I=o(d),q="action "+d.type+w;Kc(c,q,t),c.log("%c action","color: #03A9F4; font-weight: bold",I),Yc(c)}}))}}function Kc(n,t,e){var r=e?n.groupCollapsed:n.group;try{r.call(n,t)}catch{n.log(t)}}function Yc(n){try{n.groupEnd()}catch{n.log("—— log end ——")}}function Xc(){var n=new Date;return" @ "+Is(n.getHours(),2)+":"+Is(n.getMinutes(),2)+":"+Is(n.getSeconds(),2)+"."+Is(n.getMilliseconds(),3)}function H4(n,t){return new Array(t+1).join(n)}function Is(n,t){return H4("0",t-n.toString().length)+n}var G4={Store:Qt,install:qc,version:"3.6.2",mapState:Cr,mapMutations:Er,mapGetters:Dt,mapActions:Wc,createNamespacedHelpers:B4,createLogger:U4};const Ho=G4;var j4=typeof Ot=="object"&&Ot&&Ot.Object===Object&&Ot,Qc=j4,V4=Qc,z4=typeof self=="object"&&self&&self.Object===Object&&self,Z4=V4||z4||Function("return this")(),pn=Z4,q4=pn,W4=function(){return q4.Date.now()},K4=W4;String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const n=this.toString();let t,e;const r=n.length&3,s=n.length-r;let i=String.prototype.seed;const o=3432918353,a=461845907;let l=0;for(;l<s;)e=n.charCodeAt(l)&255|(n.charCodeAt(++l)&255)<<8|(n.charCodeAt(++l)&255)<<16|(n.charCodeAt(++l)&255)<<24,++l,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e,i=i<<13|i>>>19,t=(i&65535)*5+(((i>>>16)*5&65535)<<16)&4294967295,i=(t&65535)+27492+(((t>>>16)+58964&65535)<<16);switch(e=0,r){case 3:e^=(n.charCodeAt(l+2)&255)<<16;case 2:e^=(n.charCodeAt(l+1)&255)<<8;case 1:e^=n.charCodeAt(l)&255,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e}return i^=n.length,i^=i>>>16,i=(i&65535)*2246822507+(((i>>>16)*2246822507&65535)<<16)&4294967295,i^=i>>>13,i=(i&65535)*3266489909+(((i>>>16)*3266489909&65535)<<16)&4294967295,i^=i>>>16,i>>>0};String.prototype.codePointAt||function(){var n=function(){let e;try{const r={},s=Object.defineProperty;e=s(r,r,r)&&s}catch{}return e}();const t=function(e){if(this==null)throw TypeError();const r=String(this),s=r.length;let i=e?Number(e):0;if(i!==i&&(i=0),i<0||i>=s)return;const o=r.charCodeAt(i);let a;return o>=55296&&o<=56319&&s>i+1&&(a=r.charCodeAt(i+1),a>=56320&&a<=57343)?(o-55296)*1024+a-56320+65536:o};n?n(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}();String.fromCodePoint||function(){const n=function(){let s;try{const i={},o=Object.defineProperty;s=o(i,i,i)&&o}catch{}return s}(),t=String.fromCharCode,e=Math.floor,r=function(s){const o=[];let a,l,c=-1;const u=arguments.length;if(!u)return"";let f="";for(;++c<u;){let d=Number(arguments[c]);if(!isFinite(d)||d<0||d>1114111||e(d)!==d)throw RangeError("Invalid code point: "+d);d<=65535?o.push(d):(d-=65536,a=(d>>10)+55296,l=d%1024+56320,o.push(a,l)),(c+1===u||o.length>16384)&&(f+=t.apply(null,o),o.length=0)}return f};n?n(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r}();class b{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(t){this._text=t}}b.INVALID_TYPE=0,b.EPSILON=-2,b.MIN_USER_TOKEN_TYPE=1,b.EOF=-1,b.DEFAULT_CHANNEL=0,b.HIDDEN_CHANNEL=1;function Pn(n,t){if(!Array.isArray(n)||!Array.isArray(t))return!1;if(n===t)return!0;if(n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e]&&(!n[e].equals||!n[e].equals(t[e])))return!1;return!0}class Jt{constructor(){this.count=0,this.hash=0}update(){for(let t=0;t<arguments.length;t++){const e=arguments[t];if(e!=null)if(Array.isArray(e))this.update.apply(this,e);else{let r=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":r=e;break;case"string":r=e.hashCode();break;default:e.updateHashCode?e.updateHashCode(this):console.log("No updateHashCode for "+e.toString());continue}r=r*3432918353,r=r<<15|r>>>32-15,r=r*461845907,this.count=this.count+1;let s=this.hash^r;s=s<<13|s>>>32-13,s=s*5+3864292196,this.hash=s}}}finish(){let t=this.hash^this.count*4;return t=t^t>>>16,t=t*2246822507,t=t^t>>>13,t=t*3266489909,t=t^t>>>16,t}static hashStuff(){const t=new Jt;return t.update.apply(t,arguments),t.finish()}}function Jc(n){return n?n.hashCode():-1}function t0(n,t){return n?n.equals(t):n===t}function Y4(n){return n===null?"null":n}function We(n){return Array.isArray(n)?"["+n.map(Y4).join(", ")+"]":"null"}const Ps="h-";class te{constructor(t,e){this.data={},this.hashFunction=t||Jc,this.equalsFunction=e||t0}add(t){const e=Ps+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++)if(this.equalsFunction(t,r[s]))return r[s];return r.push(t),t}else return this.data[e]=[t],t}has(t){return this.get(t)!=null}get(t){const e=Ps+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++)if(this.equalsFunction(t,r[s]))return r[s]}return null}values(){return Object.keys(this.data).filter(t=>t.startsWith(Ps)).flatMap(t=>this.data[t],this)}toString(){return We(this.values())}get length(){return Object.keys(this.data).filter(t=>t.startsWith(Ps)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}class Q{hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}evaluate(t,e){}evalPrecedence(t,e){return this}static andContext(t,e){if(t===null||t===Q.NONE)return e;if(e===null||e===Q.NONE)return t;const r=new wr(t,e);return r.opnds.length===1?r.opnds[0]:r}static orContext(t,e){if(t===null)return e;if(e===null)return t;if(t===Q.NONE||e===Q.NONE)return Q.NONE;const r=new Tr(t,e);return r.opnds.length===1?r.opnds[0]:r}}class wr extends Q{constructor(t,e){super();const r=new te;t instanceof wr?t.opnds.map(function(i){r.add(i)}):r.add(t),e instanceof wr?e.opnds.map(function(i){r.add(i)}):r.add(e);const s=e0(r);if(s.length>0){let i=null;s.map(function(o){(i===null||o.precedence<i.precedence)&&(i=o)}),r.add(i)}this.opnds=Array.from(r.values())}equals(t){return this===t?!0:t instanceof wr?Pn(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"AND")}evaluate(t,e){for(let r=0;r<this.opnds.length;r++)if(!this.opnds[r].evaluate(t,e))return!1;return!0}evalPrecedence(t,e){let r=!1;const s=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(r|=l!==a,l===null)return null;l!==Q.NONE&&s.push(l)}if(!r)return this;if(s.length===0)return Q.NONE;let i=null;return s.map(function(o){i=i===null?o:Q.andContext(i,o)}),i}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("&&")}}class Tr extends Q{constructor(t,e){super();const r=new te;t instanceof Tr?t.opnds.map(function(i){r.add(i)}):r.add(t),e instanceof Tr?e.opnds.map(function(i){r.add(i)}):r.add(e);const s=e0(r);if(s.length>0){const i=s.sort(function(a,l){return a.compareTo(l)}),o=i[i.length-1];r.add(o)}this.opnds=Array.from(r.values())}equals(t){return this===t?!0:t instanceof Tr?Pn(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"OR")}evaluate(t,e){for(let r=0;r<this.opnds.length;r++)if(this.opnds[r].evaluate(t,e))return!0;return!1}evalPrecedence(t,e){let r=!1;const s=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(r|=l!==a,l===Q.NONE)return Q.NONE;l!==null&&s.push(l)}return r?(s.length===0,null):this}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("||")}}function e0(n){const t=[];return n.values().map(function(e){e instanceof Q.PrecedencePredicate&&t.push(e)}),t}function n0(n,t){if(n===null){const e={state:null,alt:null,context:null,semanticContext:null};return t&&(e.reachesIntoOuterContext=0),e}else{const e={};return e.state=n.state||null,e.alt=n.alt===void 0?null:n.alt,e.context=n.context||null,e.semanticContext=n.semanticContext||null,t&&(e.reachesIntoOuterContext=n.reachesIntoOuterContext||0,e.precedenceFilterSuppressed=n.precedenceFilterSuppressed||!1),e}}class mt{constructor(t,e){this.checkContext(t,e),t=n0(t),e=n0(e,!0),this.state=t.state!==null?t.state:e.state,this.alt=t.alt!==null?t.alt:e.alt,this.context=t.context!==null?t.context:e.context,this.semanticContext=t.semanticContext!==null?t.semanticContext:e.semanticContext!==null?e.semanticContext:Q.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed}checkContext(t,e){(t.context===null||t.context===void 0)&&(e===null||e.context===null||e.context===void 0)&&(this.context=null)}hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(t){return this===t?!0:t instanceof mt?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(this.context===null?t.context===null:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const t=new Jt;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()}equalsForConfigSet(t){return this===t?!0:t instanceof mt?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==Q.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class J{constructor(t,e){this.start=t,this.stop=e}clone(){return new J(this.start,this.stop)}contains(t){return t>=this.start&&t<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}J.INVALID_INTERVAL=new J(-1,-2);class ae{constructor(){this.intervals=null,this.readOnly=!1}first(t){return this.intervals===null||this.intervals.length===0?b.INVALID_TYPE:this.intervals[0].start}addOne(t){this.addInterval(new J(t,t+1))}addRange(t,e){this.addInterval(new J(t,e+1))}addInterval(t){if(this.intervals===null)this.intervals=[],this.intervals.push(t.clone());else{for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];if(t.stop<r.start){this.intervals.splice(e,0,t);return}else if(t.stop===r.start){this.intervals[e]=new J(t.start,r.stop);return}else if(t.start<=r.stop){this.intervals[e]=new J(Math.min(r.start,t.start),Math.max(r.stop,t.stop)),this.reduce(e);return}}this.intervals.push(t.clone())}}addSet(t){return t.intervals!==null&&t.intervals.forEach(e=>this.addInterval(e),this),this}reduce(t){if(t<this.intervals.length-1){const e=this.intervals[t],r=this.intervals[t+1];e.stop>=r.stop?(this.intervals.splice(t+1,1),this.reduce(t)):e.stop>=r.start&&(this.intervals[t]=new J(e.start,r.stop),this.intervals.splice(t+1,1))}}complement(t,e){const r=new ae;return r.addInterval(new J(t,e+1)),this.intervals!==null&&this.intervals.forEach(s=>r.removeRange(s)),r}contains(t){if(this.intervals===null)return!1;for(let e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1}removeRange(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(this.intervals!==null){let e=0;for(let r=0;r<this.intervals.length;r++){const s=this.intervals[e];if(t.stop<=s.start)return;if(t.start>s.start&&t.stop<s.stop){this.intervals[e]=new J(s.start,t.start);const i=new J(t.stop,s.stop);this.intervals.splice(e,0,i);return}else t.start<=s.start&&t.stop>=s.stop?(this.intervals.splice(e,1),e=e-1):t.start<s.stop?this.intervals[e]=new J(s.start,t.start):t.stop<s.stop&&(this.intervals[e]=new J(t.stop,s.stop));e+=1}}}removeOne(t){if(this.intervals!==null)for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];if(t<r.start)return;if(t===r.start&&t===r.stop-1){this.intervals.splice(e,1);return}else if(t===r.start){this.intervals[e]=new J(r.start+1,r.stop);return}else if(t===r.stop-1){this.intervals[e]=new J(r.start,r.stop-1);return}else if(t<r.stop-1){const s=new J(r.start,t);r.start=t+1,this.intervals.splice(e,0,s);return}}}toString(t,e,r){return t=t||null,e=e||null,r=r||!1,this.intervals===null?"{}":t!==null||e!==null?this.toTokenString(t,e):r?this.toCharString():this.toIndexString()}toCharString(){const t=[];for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];r.stop===r.start+1?r.start===b.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(r.start)+"'"):t.push("'"+String.fromCharCode(r.start)+"'..'"+String.fromCharCode(r.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]}toIndexString(){const t=[];for(let e=0;e<this.intervals.length;e++){const r=this.intervals[e];r.stop===r.start+1?r.start===b.EOF?t.push("<EOF>"):t.push(r.start.toString()):t.push(r.start.toString()+".."+(r.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]}toTokenString(t,e){const r=[];for(let s=0;s<this.intervals.length;s++){const i=this.intervals[s];for(let o=i.start;o<i.stop;o++)r.push(this.elementName(t,e,o))}return r.length>1?"{"+r.join(", ")+"}":r[0]}elementName(t,e,r){return r===b.EOF?"<EOF>":r===b.EPSILON?"<EPSILON>":t[r]||e[r]}get length(){return this.intervals.map(t=>t.length).reduce((t,e)=>t+e)}}class N{constructor(){this.atn=null,this.stateNumber=N.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(t){return t instanceof N?this.stateNumber===t.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(t,e){e===void 0&&(e=-1),this.transitions.length===0?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),e===-1?this.transitions.push(t):this.transitions.splice(e,1,t)}}N.INVALID_TYPE=0,N.BASIC=1,N.RULE_START=2,N.BLOCK_START=3,N.PLUS_BLOCK_START=4,N.STAR_BLOCK_START=5,N.TOKEN_START=6,N.RULE_STOP=7,N.BLOCK_END=8,N.STAR_LOOP_BACK=9,N.STAR_LOOP_ENTRY=10,N.PLUS_LOOP_BACK=11,N.LOOP_END=12,N.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],N.INVALID_STATE_NUMBER=-1;class Ft extends N{constructor(){return super(),this.stateType=N.RULE_STOP,this}}class R{constructor(t){if(t==null)throw"target cannot be null.";this.target=t,this.isEpsilon=!1,this.label=null}}R.EPSILON=1,R.RANGE=2,R.RULE=3,R.PREDICATE=4,R.ATOM=5,R.ACTION=6,R.SET=7,R.NOT_SET=8,R.WILDCARD=9,R.PRECEDENCE=10,R.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],R.serializationTypes={EpsilonTransition:R.EPSILON,RangeTransition:R.RANGE,RuleTransition:R.RULE,PredicateTransition:R.PREDICATE,AtomTransition:R.ATOM,ActionTransition:R.ACTION,SetTransition:R.SET,NotSetTransition:R.NOT_SET,WildcardTransition:R.WILDCARD,PrecedencePredicateTransition:R.PRECEDENCE};class Ms extends R{constructor(t,e,r,s){super(t),this.ruleIndex=e,this.precedence=r,this.followState=s,this.serializationType=R.RULE,this.isEpsilon=!0}matches(t,e,r){return!1}}class Go extends R{constructor(t,e){super(t),this.serializationType=R.SET,e!=null?this.label=e:(this.label=new ae,this.label.addOne(b.INVALID_TYPE))}matches(t,e,r){return this.label.contains(t)}toString(){return this.label.toString()}}class jo extends Go{constructor(t,e){super(t,e),this.serializationType=R.NOT_SET}matches(t,e,r){return t>=e&&t<=r&&!super.matches(t,e,r)}toString(){return"~"+super.toString()}}class r0 extends R{constructor(t){super(t),this.serializationType=R.WILDCARD}matches(t,e,r){return t>=e&&t<=r}toString(){return"."}}class Vo extends R{constructor(t){super(t)}}class X4{}class Q4 extends X4{}class s0 extends Q4{}class $s extends s0{getRuleContext(){throw new Error("missing interface implementation")}}class Ne extends s0{}class Ds extends Ne{}function J4(n,t){return n=n.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t&&(n=n.replace(/ /g,"·")),n}const ye={toStringTree:function(n,t,e){t=t||null,e=e||null,e!==null&&(t=e.ruleNames);let r=ye.getNodeText(n,t);r=J4(r,!1);const s=n.getChildCount();if(s===0)return r;let i="("+r+" ";s>0&&(r=ye.toStringTree(n.getChild(0),t),i=i.concat(r));for(let o=1;o<s;o++)r=ye.toStringTree(n.getChild(o),t),i=i.concat(" "+r);return i=i.concat(")"),i},getNodeText:function(n,t,e){if(t=t||null,e=e||null,e!==null&&(t=e.ruleNames),t!==null)if(n instanceof $s){const i=n.getRuleContext().getAltNumber();return i!=0?t[n.ruleIndex]+":"+i:t[n.ruleIndex]}else{if(n instanceof Ds)return n.toString();if(n instanceof Ne&&n.symbol!==null)return n.symbol.text}const r=n.getPayload();return r instanceof b?r.text:n.getPayload().toString()},getChildren:function(n){const t=[];for(let e=0;e<n.getChildCount();e++)t.push(n.getChild(e));return t},getAncestors:function(n){let t=[];for(n=n.getParent();n!==null;)t=[n].concat(t),n=n.getParent();return t},findAllTokenNodes:function(n,t){return ye.findAllNodes(n,t,!0)},findAllRuleNodes:function(n,t){return ye.findAllNodes(n,t,!1)},findAllNodes:function(n,t,e){const r=[];return ye._findAllNodes(n,t,e,r),r},_findAllNodes:function(n,t,e,r){e&&n instanceof Ne?n.symbol.type===t&&r.push(n):!e&&n instanceof $s&&n.ruleIndex===t&&r.push(n);for(let s=0;s<n.getChildCount();s++)ye._findAllNodes(n.getChild(s),t,e,r)},descendants:function(n){let t=[n];for(let e=0;e<n.getChildCount();e++)t=t.concat(ye.descendants(n.getChild(e)));return t}};class Mn extends $s{constructor(t,e){super(),this.parentCtx=t||null,this.invokingState=e||-1}depth(){let t=0,e=this;for(;e!==null;)e=e.parentCtx,t+=1;return t}isEmpty(){return this.invokingState===-1}getSourceInterval(){return J.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(t){return t.getText()}).join("")}getAltNumber(){return 0}setAltNumber(t){}getChild(t){return null}getChildCount(){return 0}accept(t){return t.visitChildren(this)}toStringTree(t,e){return ye.toStringTree(this,t,e)}toString(t,e){t=t||null,e=e||null;let r=this,s="[";for(;r!==null&&r!==e;){if(t===null)r.isEmpty()||(s+=r.invokingState);else{const i=r.ruleIndex,o=i>=0&&i<t.length?t[i]:""+i;s+=o}r.parentCtx!==null&&(t!==null||!r.parentCtx.isEmpty())&&(s+=" "),r=r.parentCtx}return s+="]",s}}class Z{constructor(t){this.cachedHashCode=t}isEmpty(){return this===Z.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===Z.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(t){t.update(this.cachedHashCode)}}Z.EMPTY=null,Z.EMPTY_RETURN_STATE=2147483647,Z.globalNodeCount=1,Z.id=Z.globalNodeCount;class Ce extends Z{constructor(t,e){const r=new Jt;r.update(t,e);const s=r.finish();return super(s),this.parents=t,this.returnStates=e,this}isEmpty(){return this.returnStates[0]===Z.EMPTY_RETURN_STATE}getParent(t){return this.parents[t]}getReturnState(t){return this.returnStates[t]}equals(t){return this===t?!0:t instanceof Ce?this.hashCode()!==t.hashCode()?!1:Pn(this.returnStates,t.returnStates)&&Pn(this.parents,t.parents):!1}toString(){if(this.isEmpty())return"[]";{let t="[";for(let e=0;e<this.returnStates.length;e++){if(e>0&&(t=t+", "),this.returnStates[e]===Z.EMPTY_RETURN_STATE){t=t+"$";continue}t=t+this.returnStates[e],this.parents[e]!==null?t=t+" "+this.parents[e]:t=t+"null"}return t+"]"}}get length(){return this.returnStates.length}}class Bt extends Z{constructor(t,e){let r=0;const s=new Jt;t!==null?s.update(t,e):s.update(1),r=s.finish(),super(r),this.parentCtx=t,this.returnState=e}getParent(t){return this.parentCtx}getReturnState(t){return this.returnState}equals(t){return this===t?!0:t instanceof Bt?this.hashCode()!==t.hashCode()||this.returnState!==t.returnState?!1:this.parentCtx==null?t.parentCtx==null:this.parentCtx.equals(t.parentCtx):!1}toString(){const t=this.parentCtx===null?"":this.parentCtx.toString();return t.length===0?this.returnState===Z.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+t}get length(){return 1}static create(t,e){return e===Z.EMPTY_RETURN_STATE&&t===null?Z.EMPTY:new Bt(t,e)}}class zo extends Bt{constructor(){super(null,Z.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(t){return null}getReturnState(t){return this.returnState}equals(t){return this===t}toString(){return"$"}}Z.EMPTY=new zo;const Ar="h-";class Sr{constructor(t,e){this.data={},this.hashFunction=t||Jc,this.equalsFunction=e||t0}set(t,e){const r=Ar+this.hashFunction(t);if(r in this.data){const s=this.data[r];for(let i=0;i<s.length;i++){const o=s[i];if(this.equalsFunction(t,o.key)){const a=o.value;return o.value=e,a}}return s.push({key:t,value:e}),e}else return this.data[r]=[{key:t,value:e}],e}containsKey(t){const e=Ar+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++){const i=r[s];if(this.equalsFunction(t,i.key))return!0}}return!1}get(t){const e=Ar+this.hashFunction(t);if(e in this.data){const r=this.data[e];for(let s=0;s<r.length;s++){const i=r[s];if(this.equalsFunction(t,i.key))return i.value}}return null}entries(){return Object.keys(this.data).filter(t=>t.startsWith(Ar)).flatMap(t=>this.data[t],this)}getKeys(){return this.entries().map(t=>t.key)}getValues(){return this.entries().map(t=>t.value)}toString(){return"["+this.entries().map(e=>"{"+e.key+":"+e.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(t=>t.startsWith(Ar)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}function Zo(n,t){if(t==null&&(t=Mn.EMPTY),t.parentCtx===null||t===Mn.EMPTY)return Z.EMPTY;const e=Zo(n,t.parentCtx),s=n.states[t.invokingState].transitions[0];return Bt.create(e,s.followState.stateNumber)}function i0(n,t,e){if(n.isEmpty())return n;let r=e.get(n)||null;if(r!==null)return r;if(r=t.get(n),r!==null)return e.set(n,r),r;let s=!1,i=[];for(let a=0;a<i.length;a++){const l=i0(n.getParent(a),t,e);if(s||l!==n.getParent(a)){if(!s){i=[];for(let c=0;c<n.length;c++)i[c]=n.getParent(c);s=!0}i[a]=l}}if(!s)return t.add(n),e.set(n,n),n;let o=null;return i.length===0?o=Z.EMPTY:i.length===1?o=Bt.create(i[0],n.getReturnState(0)):o=new Ce(i,n.returnStates),t.add(o),e.set(o,o),e.set(n,o),o}function qo(n,t,e,r){if(n===t)return n;if(n instanceof Bt&&t instanceof Bt)return n5(n,t,e,r);if(e){if(n instanceof zo)return n;if(t instanceof zo)return t}return n instanceof Bt&&(n=new Ce([n.getParent()],[n.returnState])),t instanceof Bt&&(t=new Ce([t.getParent()],[t.returnState])),t5(n,t,e,r)}function t5(n,t,e,r){if(r!==null){let u=r.get(n,t);if(u!==null||(u=r.get(t,n),u!==null))return u}let s=0,i=0,o=0,a=[],l=[];for(;s<n.returnStates.length&&i<t.returnStates.length;){const u=n.parents[s],f=t.parents[i];if(n.returnStates[s]===t.returnStates[i]){const d=n.returnStates[s];d===Z.EMPTY_RETURN_STATE&&u===null&&f===null||u!==null&&f!==null&&u===f?(l[o]=u,a[o]=d):(l[o]=qo(u,f,e,r),a[o]=d),s+=1,i+=1}else n.returnStates[s]<t.returnStates[i]?(l[o]=u,a[o]=n.returnStates[s],s+=1):(l[o]=f,a[o]=t.returnStates[i],i+=1);o+=1}if(s<n.returnStates.length)for(let u=s;u<n.returnStates.length;u++)l[o]=n.parents[u],a[o]=n.returnStates[u],o+=1;else for(let u=i;u<t.returnStates.length;u++)l[o]=t.parents[u],a[o]=t.returnStates[u],o+=1;if(o<l.length){if(o===1){const u=Bt.create(l[0],a[0]);return r!==null&&r.set(n,t,u),u}l=l.slice(0,o),a=a.slice(0,o)}const c=new Ce(l,a);return c===n?(r!==null&&r.set(n,t,n),n):c===t?(r!==null&&r.set(n,t,t),t):(e5(l),r!==null&&r.set(n,t,c),c)}function e5(n){const t=new Sr;for(let e=0;e<n.length;e++){const r=n[e];t.containsKey(r)||t.set(r,r)}for(let e=0;e<n.length;e++)n[e]=t.get(n[e])}function n5(n,t,e,r){if(r!==null){let i=r.get(n,t);if(i!==null||(i=r.get(t,n),i!==null))return i}const s=r5(n,t,e);if(s!==null)return r!==null&&r.set(n,t,s),s;if(n.returnState===t.returnState){const i=qo(n.parentCtx,t.parentCtx,e,r);if(i===n.parentCtx)return n;if(i===t.parentCtx)return t;const o=Bt.create(i,n.returnState);return r!==null&&r.set(n,t,o),o}else{let i=null;if((n===t||n.parentCtx!==null&&n.parentCtx===t.parentCtx)&&(i=n.parentCtx),i!==null){const c=[n.returnState,t.returnState];n.returnState>t.returnState&&(c[0]=t.returnState,c[1]=n.returnState);const u=[i,i],f=new Ce(u,c);return r!==null&&r.set(n,t,f),f}const o=[n.returnState,t.returnState];let a=[n.parentCtx,t.parentCtx];n.returnState>t.returnState&&(o[0]=t.returnState,o[1]=n.returnState,a=[t.parentCtx,n.parentCtx]);const l=new Ce(a,o);return r!==null&&r.set(n,t,l),l}}function r5(n,t,e){if(e){if(n===Z.EMPTY||t===Z.EMPTY)return Z.EMPTY}else{if(n===Z.EMPTY&&t===Z.EMPTY)return Z.EMPTY;if(n===Z.EMPTY){const r=[t.returnState,Z.EMPTY_RETURN_STATE],s=[t.parentCtx,null];return new Ce(s,r)}else if(t===Z.EMPTY){const r=[n.returnState,Z.EMPTY_RETURN_STATE],s=[n.parentCtx,null];return new Ce(s,r)}}return null}class Ee{constructor(){this.data=[]}add(t){this.data[t]=!0}or(t){Object.keys(t.data).map(e=>this.add(e),this)}remove(t){delete this.data[t]}has(t){return this.data[t]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return Jt.hashStuff(this.values())}equals(t){return t instanceof Ee&&Pn(this.data,t.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class $n{constructor(t){this.atn=t}getDecisionLookahead(t){if(t===null)return null;const e=t.transitions.length,r=[];for(let s=0;s<e;s++){r[s]=new ae;const i=new te,o=!1;this._LOOK(t.transition(s).target,null,Z.EMPTY,r[s],i,new Ee,o,!1),(r[s].length===0||r[s].contains($n.HIT_PRED))&&(r[s]=null)}return r}LOOK(t,e,r){const s=new ae,i=!0;r=r||null;const o=r!==null?Zo(t.atn,r):null;return this._LOOK(t,e,o,s,new te,new Ee,i,!0),s}_LOOK(t,e,r,s,i,o,a,l){const c=new mt({state:t,alt:0,context:r},null);if(!i.has(c)){if(i.add(c),t===e){if(r===null){s.addOne(b.EPSILON);return}else if(r.isEmpty()&&l){s.addOne(b.EOF);return}}if(t instanceof Ft){if(r===null){s.addOne(b.EPSILON);return}else if(r.isEmpty()&&l){s.addOne(b.EOF);return}if(r!==Z.EMPTY){const u=o.has(t.ruleIndex);try{o.remove(t.ruleIndex);for(let f=0;f<r.length;f++){const d=this.atn.states[r.getReturnState(f)];this._LOOK(d,e,r.getParent(f),s,i,o,a,l)}}finally{u&&o.add(t.ruleIndex)}return}}for(let u=0;u<t.transitions.length;u++){const f=t.transitions[u];if(f.constructor===Ms){if(o.has(f.target.ruleIndex))continue;const d=Bt.create(r,f.followState.stateNumber);try{o.add(f.target.ruleIndex),this._LOOK(f.target,e,d,s,i,o,a,l)}finally{o.remove(f.target.ruleIndex)}}else if(f instanceof Vo)a?this._LOOK(f.target,e,r,s,i,o,a,l):s.addOne($n.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,e,r,s,i,o,a,l);else if(f.constructor===r0)s.addRange(b.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let d=f.label;d!==null&&(f instanceof jo&&(d=d.complement(b.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),s.addSet(d))}}}}}$n.HIT_PRED=b.INVALID_TYPE;class dt{constructor(t,e){this.grammarType=t,this.maxTokenType=e,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(t,e){return new $n(this).LOOK(t,null,e)}nextTokensNoContext(t){return t.nextTokenWithinRule!==null||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule}nextTokens(t,e){return e===void 0?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)}addState(t){t!==null&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)}removeState(t){this.states[t.stateNumber]=null}defineDecisionState(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision}getDecisionState(t){return this.decisionToState.length===0?null:this.decisionToState[t]}getExpectedTokens(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";const r=this.states[t];let s=this.nextTokens(r);if(!s.contains(b.EPSILON))return s;const i=new ae;for(i.addSet(s),i.removeOne(b.EPSILON);e!==null&&e.invokingState>=0&&s.contains(b.EPSILON);){const a=this.states[e.invokingState].transitions[0];s=this.nextTokens(a.followState),i.addSet(s),i.removeOne(b.EPSILON),e=e.parentCtx}return s.contains(b.EPSILON)&&i.addOne(b.EOF),i}}dt.INVALID_ALT_NUMBER=0;const Fs={LEXER:0,PARSER:1};class o0 extends N{constructor(){super(),this.stateType=N.BASIC}}class Dn extends N{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class Fn extends Dn{constructor(){return super(),this.endState=null,this}}class Wo extends N{constructor(){return super(),this.stateType=N.BLOCK_END,this.startState=null,this}}class Bn extends N{constructor(){return super(),this.stateType=N.LOOP_END,this.loopBackState=null,this}}class a0 extends N{constructor(){return super(),this.stateType=N.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class s5 extends Dn{constructor(){return super(),this.stateType=N.TOKEN_START,this}}class l0 extends Dn{constructor(){return super(),this.stateType=N.PLUS_LOOP_BACK,this}}class Ko extends N{constructor(){return super(),this.stateType=N.STAR_LOOP_BACK,this}}class gn extends Dn{constructor(){return super(),this.stateType=N.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class Yo extends Fn{constructor(){return super(),this.stateType=N.PLUS_BLOCK_START,this.loopBackState=null,this}}class Xo extends Fn{constructor(){return super(),this.stateType=N.STAR_BLOCK_START,this}}class c0 extends Fn{constructor(){return super(),this.stateType=N.BLOCK_START,this}}class Bs extends R{constructor(t,e){super(t),this.label_=e,this.label=this.makeLabel(),this.serializationType=R.ATOM}makeLabel(){const t=new ae;return t.addOne(this.label_),t}matches(t,e,r){return this.label_===t}toString(){return this.label_}}class u0 extends R{constructor(t,e,r){super(t),this.serializationType=R.RANGE,this.start=e,this.stop=r,this.label=this.makeLabel()}makeLabel(){const t=new ae;return t.addRange(this.start,this.stop),t}matches(t,e,r){return t>=this.start&&t<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class h0 extends R{constructor(t,e,r,s){super(t),this.serializationType=R.ACTION,this.ruleIndex=e,this.actionIndex=r===void 0?-1:r,this.isCtxDependent=s===void 0?!1:s,this.isEpsilon=!0}matches(t,e,r){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class Rr extends R{constructor(t,e){super(t),this.serializationType=R.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e}matches(t,e,r){return!1}toString(){return"epsilon"}}class Us extends Q{constructor(t,e,r){super(),this.ruleIndex=t===void 0?-1:t,this.predIndex=e===void 0?-1:e,this.isCtxDependent=r===void 0?!1:r}evaluate(t,e){const r=this.isCtxDependent?e:null;return t.sempred(r,this.ruleIndex,this.predIndex)}updateHashCode(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(t){return this===t?!0:t instanceof Us?this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}Q.NONE=new Us;class f0 extends Vo{constructor(t,e,r,s){super(t),this.serializationType=R.PREDICATE,this.ruleIndex=e,this.predIndex=r,this.isCtxDependent=s,this.isEpsilon=!0}matches(t,e,r){return!1}getPredicate(){return new Us(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class Hs extends Q{constructor(t){super(),this.precedence=t===void 0?0:t}evaluate(t,e){return t.precpred(e,this.precedence)}evalPrecedence(t,e){return t.precpred(e,this.precedence)?Q.NONE:null}compareTo(t){return this.precedence-t.precedence}updateHashCode(t){t.update(this.precedence)}equals(t){return this===t?!0:t instanceof Hs?this.precedence===t.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}Q.PrecedencePredicate=Hs;class i5 extends Vo{constructor(t,e){super(t),this.serializationType=R.PRECEDENCE,this.precedence=e,this.isEpsilon=!0}matches(t,e,r){return!1}getPredicate(){return new Hs(this.precedence)}toString(){return this.precedence+" >= _p"}}class kr{constructor(t){t===void 0&&(t=null),this.readOnly=!1,this.verifyATN=t===null?!0:t.verifyATN,this.generateRuleBypassTransitions=t===null?!1:t.generateRuleBypassTransitions}}kr.defaultOptions=new kr,kr.defaultOptions.readOnly=!0;const Nt={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class Ie{constructor(t){this.actionType=t,this.isPositionDependent=!1}hashCode(){const t=new Jt;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.actionType)}equals(t){return this===t}}class Qo extends Ie{constructor(){super(Nt.SKIP)}execute(t){t.skip()}toString(){return"skip"}}Qo.INSTANCE=new Qo;class Jo extends Ie{constructor(t){super(Nt.CHANNEL),this.channel=t}execute(t){t._channel=this.channel}updateHashCode(t){t.update(this.actionType,this.channel)}equals(t){return this===t?!0:t instanceof Jo?this.channel===t.channel:!1}toString(){return"channel("+this.channel+")"}}class ta extends Ie{constructor(t,e){super(Nt.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0}execute(t){t.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(t){return this===t?!0:t instanceof ta?this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex:!1}}class ea extends Ie{constructor(){super(Nt.MORE)}execute(t){t.more()}toString(){return"more"}}ea.INSTANCE=new ea;class na extends Ie{constructor(t){super(Nt.TYPE),this.type=t}execute(t){t.type=this.type}updateHashCode(t){t.update(this.actionType,this.type)}equals(t){return this===t?!0:t instanceof na?this.type===t.type:!1}toString(){return"type("+this.type+")"}}class ra extends Ie{constructor(t){super(Nt.PUSH_MODE),this.mode=t}execute(t){t.pushMode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof ra?this.mode===t.mode:!1}toString(){return"pushMode("+this.mode+")"}}class sa extends Ie{constructor(){super(Nt.POP_MODE)}execute(t){t.popMode()}toString(){return"popMode"}}sa.INSTANCE=new sa;class ia extends Ie{constructor(t){super(Nt.MODE),this.mode=t}execute(t){t.mode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof ia?this.mode===t.mode:!1}toString(){return"mode("+this.mode+")"}}const oa=4;function Gs(n,t){const e=[];return e[n-1]=t,e.map(function(r){return t})}class d0{constructor(t){t==null&&(t=kr.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null}deserialize(t){const e=this.reset(t);this.checkVersion(e),e&&this.skipUUID();const r=this.readATN();this.readStates(r,e),this.readRules(r,e),this.readModes(r);const s=[];return this.readSets(r,s,this.readInt.bind(this)),e&&this.readSets(r,s,this.readInt32.bind(this)),this.readEdges(r,s),this.readDecisions(r),this.readLexerActions(r,e),this.markPrecedenceDecisions(r),this.verifyATN(r),this.deserializationOptions.generateRuleBypassTransitions&&r.grammarType===Fs.PARSER&&(this.generateRuleBypassTransitions(r),this.verifyATN(r)),r}reset(t){if((t.charCodeAt?t.charCodeAt(0):t[0])===oa-1){const r=function(i){const o=i.charCodeAt(0);return o>1?o-2:o+65534},s=t.split("").map(r);return s[0]=t.charCodeAt(0),this.data=s,this.pos=0,!0}else return this.data=t,this.pos=0,!1}skipUUID(){let t=0;for(;t++<8;)this.readInt()}checkVersion(t){const e=this.readInt();if(!t&&e!==oa)throw"Could not deserialize ATN with version "+e+" (expected "+oa+")."}readATN(){const t=this.readInt(),e=this.readInt();return new dt(t,e)}readStates(t,e){let r,s,i;const o=[],a=[],l=this.readInt();for(let f=0;f<l;f++){const d=this.readInt();if(d===N.INVALID_TYPE){t.addState(null);continue}let p=this.readInt();e&&p===65535&&(p=-1);const w=this.stateFactory(d,p);if(d===N.LOOP_END){const I=this.readInt();o.push([w,I])}else if(w instanceof Fn){const I=this.readInt();a.push([w,I])}t.addState(w)}for(r=0;r<o.length;r++)s=o[r],s[0].loopBackState=t.states[s[1]];for(r=0;r<a.length;r++)s=a[r],s[0].endState=t.states[s[1]];let c=this.readInt();for(r=0;r<c;r++)i=this.readInt(),t.states[i].nonGreedy=!0;let u=this.readInt();for(r=0;r<u;r++)i=this.readInt(),t.states[i].isPrecedenceRule=!0}readRules(t,e){let r;const s=this.readInt();for(t.grammarType===Fs.LEXER&&(t.ruleToTokenType=Gs(s,0)),t.ruleToStartState=Gs(s,0),r=0;r<s;r++){const i=this.readInt();if(t.ruleToStartState[r]=t.states[i],t.grammarType===Fs.LEXER){let o=this.readInt();e&&o===65535&&(o=b.EOF),t.ruleToTokenType[r]=o}}for(t.ruleToStopState=Gs(s,0),r=0;r<t.states.length;r++){const i=t.states[r];i instanceof Ft&&(t.ruleToStopState[i.ruleIndex]=i,t.ruleToStartState[i.ruleIndex].stopState=i)}}readModes(t){const e=this.readInt();for(let r=0;r<e;r++){let s=this.readInt();t.modeToStartState.push(t.states[s])}}readSets(t,e,r){const s=this.readInt();for(let i=0;i<s;i++){const o=new ae;e.push(o);const a=this.readInt();this.readInt()!==0&&o.addOne(-1);for(let c=0;c<a;c++){const u=r(),f=r();o.addRange(u,f)}}}readEdges(t,e){let r,s,i,o,a;const l=this.readInt();for(r=0;r<l;r++){const c=this.readInt(),u=this.readInt(),f=this.readInt(),d=this.readInt(),p=this.readInt(),w=this.readInt();o=this.edgeFactory(t,f,c,u,d,p,w,e),t.states[c].addTransition(o)}for(r=0;r<t.states.length;r++)for(i=t.states[r],s=0;s<i.transitions.length;s++){const c=i.transitions[s];if(!(c instanceof Ms))continue;let u=-1;t.ruleToStartState[c.target.ruleIndex].isPrecedenceRule&&c.precedence===0&&(u=c.target.ruleIndex),o=new Rr(c.followState,u),t.ruleToStopState[c.target.ruleIndex].addTransition(o)}for(r=0;r<t.states.length;r++){if(i=t.states[r],i instanceof Fn){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof l0)for(s=0;s<i.transitions.length;s++)a=i.transitions[s].target,a instanceof Yo&&(a.loopBackState=i);else if(i instanceof Ko)for(s=0;s<i.transitions.length;s++)a=i.transitions[s].target,a instanceof gn&&(a.loopBackState=i)}}readDecisions(t){const e=this.readInt();for(let r=0;r<e;r++){const s=this.readInt(),i=t.states[s];t.decisionToState.push(i),i.decision=r}}readLexerActions(t,e){if(t.grammarType===Fs.LEXER){const r=this.readInt();t.lexerActions=Gs(r,null);for(let s=0;s<r;s++){const i=this.readInt();let o=this.readInt();e&&o===65535&&(o=-1);let a=this.readInt();e&&a===65535&&(a=-1),t.lexerActions[s]=this.lexerActionFactory(i,o,a)}}}generateRuleBypassTransitions(t){let e;const r=t.ruleToStartState.length;for(e=0;e<r;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<r;e++)this.generateRuleBypassTransition(t,e)}generateRuleBypassTransition(t,e){let r,s;const i=new c0;i.ruleIndex=e,t.addState(i);const o=new Wo;o.ruleIndex=e,t.addState(o),i.endState=o,t.defineDecisionState(i),o.startState=i;let a=null,l=null;if(t.ruleToStartState[e].isPrecedenceRule){for(l=null,r=0;r<t.states.length;r++)if(s=t.states[r],this.stateIsEndStateFor(s,e)){l=s,a=s.loopBackState.transitions[0];break}if(a===null)throw"Couldn't identify final state of the precedence rule prefix section."}else l=t.ruleToStopState[e];for(r=0;r<t.states.length;r++){s=t.states[r];for(let d=0;d<s.transitions.length;d++){const p=s.transitions[d];p!==a&&p.target===l&&(p.target=o)}}const c=t.ruleToStartState[e],u=c.transitions.length;for(;u>0;)i.addTransition(c.transitions[u-1]),c.transitions=c.transitions.slice(-1);t.ruleToStartState[e].addTransition(new Rr(i)),o.addTransition(new Rr(l));const f=new o0;t.addState(f),f.addTransition(new Bs(o,t.ruleToTokenType[e])),i.addTransition(new Rr(f))}stateIsEndStateFor(t,e){if(t.ruleIndex!==e||!(t instanceof gn))return null;const r=t.transitions[t.transitions.length-1].target;return r instanceof Bn&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof Ft?t:null}markPrecedenceDecisions(t){for(let e=0;e<t.states.length;e++){const r=t.states[e];if(r instanceof gn&&t.ruleToStartState[r.ruleIndex].isPrecedenceRule){const s=r.transitions[r.transitions.length-1].target;s instanceof Bn&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof Ft&&(r.isPrecedenceDecision=!0)}}}verifyATN(t){if(this.deserializationOptions.verifyATN)for(let e=0;e<t.states.length;e++){const r=t.states[e];if(r!==null)if(this.checkCondition(r.epsilonOnlyTransitions||r.transitions.length<=1),r instanceof Yo)this.checkCondition(r.loopBackState!==null);else if(r instanceof gn)if(this.checkCondition(r.loopBackState!==null),this.checkCondition(r.transitions.length===2),r.transitions[0].target instanceof Xo)this.checkCondition(r.transitions[1].target instanceof Bn),this.checkCondition(!r.nonGreedy);else if(r.transitions[0].target instanceof Bn)this.checkCondition(r.transitions[1].target instanceof Xo),this.checkCondition(r.nonGreedy);else throw"IllegalState";else r instanceof Ko?(this.checkCondition(r.transitions.length===1),this.checkCondition(r.transitions[0].target instanceof gn)):r instanceof Bn?this.checkCondition(r.loopBackState!==null):r instanceof a0?this.checkCondition(r.stopState!==null):r instanceof Fn?this.checkCondition(r.endState!==null):r instanceof Wo?this.checkCondition(r.startState!==null):r instanceof Dn?this.checkCondition(r.transitions.length<=1||r.decision>=0):this.checkCondition(r.transitions.length<=1||r instanceof Ft)}}checkCondition(t,e){if(!t)throw e==null&&(e="IllegalState"),e}readInt(){return this.data[this.pos++]}readInt32(){const t=this.readInt(),e=this.readInt();return t|e<<16}edgeFactory(t,e,r,s,i,o,a,l){const c=t.states[s];switch(e){case R.EPSILON:return new Rr(c);case R.RANGE:return a!==0?new u0(c,b.EOF,o):new u0(c,i,o);case R.RULE:return new Ms(t.states[i],o,a,c);case R.PREDICATE:return new f0(c,i,o,a!==0);case R.PRECEDENCE:return new i5(c,i);case R.ATOM:return a!==0?new Bs(c,b.EOF):new Bs(c,i);case R.ACTION:return new h0(c,i,o,a!==0);case R.SET:return new Go(c,l[i]);case R.NOT_SET:return new jo(c,l[i]);case R.WILDCARD:return new r0(c);default:throw"The specified transition type: "+e+" is not valid."}}stateFactory(t,e){if(this.stateFactories===null){const r=[];r[N.INVALID_TYPE]=null,r[N.BASIC]=()=>new o0,r[N.RULE_START]=()=>new a0,r[N.BLOCK_START]=()=>new c0,r[N.PLUS_BLOCK_START]=()=>new Yo,r[N.STAR_BLOCK_START]=()=>new Xo,r[N.TOKEN_START]=()=>new s5,r[N.RULE_STOP]=()=>new Ft,r[N.BLOCK_END]=()=>new Wo,r[N.STAR_LOOP_BACK]=()=>new Ko,r[N.STAR_LOOP_ENTRY]=()=>new gn,r[N.PLUS_LOOP_BACK]=()=>new l0,r[N.LOOP_END]=()=>new Bn,this.stateFactories=r}if(t>this.stateFactories.length||this.stateFactories[t]===null)throw"The specified state type "+t+" is not valid.";{const r=this.stateFactories[t]();if(r!==null)return r.ruleIndex=e,r}}lexerActionFactory(t,e,r){if(this.actionFactories===null){const s=[];s[Nt.CHANNEL]=(i,o)=>new Jo(i),s[Nt.CUSTOM]=(i,o)=>new ta(i,o),s[Nt.MODE]=(i,o)=>new ia(i),s[Nt.MORE]=(i,o)=>ea.INSTANCE,s[Nt.POP_MODE]=(i,o)=>sa.INSTANCE,s[Nt.PUSH_MODE]=(i,o)=>new ra(i),s[Nt.SKIP]=(i,o)=>Qo.INSTANCE,s[Nt.TYPE]=(i,o)=>new na(i),this.actionFactories=s}if(t>this.actionFactories.length||this.actionFactories[t]===null)throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,r)}}class js{syntaxError(t,e,r,s,i,o){}reportAmbiguity(t,e,r,s,i,o,a){}reportAttemptingFullContext(t,e,r,s,i,o){}reportContextSensitivity(t,e,r,s,i,o){}}class aa extends js{constructor(){super()}syntaxError(t,e,r,s,i,o){console.error("line "+r+":"+s+" "+i)}}aa.INSTANCE=new aa;class o5 extends js{constructor(t){if(super(),t===null)throw"delegates";return this.delegates=t,this}syntaxError(t,e,r,s,i,o){this.delegates.map(a=>a.syntaxError(t,e,r,s,i,o))}reportAmbiguity(t,e,r,s,i,o,a){this.delegates.map(l=>l.reportAmbiguity(t,e,r,s,i,o,a))}reportAttemptingFullContext(t,e,r,s,i,o){this.delegates.map(a=>a.reportAttemptingFullContext(t,e,r,s,i,o))}reportContextSensitivity(t,e,r,s,i,o){this.delegates.map(a=>a.reportContextSensitivity(t,e,r,s,i,o))}}class Vs{constructor(){this._listeners=[aa.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(t){const e="4.11.0";e!==t&&console.log("ANTLR runtime and generated code versions disagree: "+e+"!="+t)}addErrorListener(t){this._listeners.push(t)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const t=this.getLiteralNames(),e=this.getSymbolicNames(),r=t.length>e.length?t.length:e.length;this.tokenNames=[];for(let s=0;s<r;s++)this.tokenNames[s]=t[s]||e[s]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const t=this.getTokenNames();if(t===null)throw"The current recognizer does not provide a list of token names.";let e=this.tokenTypeMapCache[t];return e===void 0&&(e=t.reduce(function(r,s,i){r[s]=i}),e.EOF=b.EOF,this.tokenTypeMapCache[t]=e),e}getRuleIndexMap(){const t=this.ruleNames;if(t===null)throw"The current recognizer does not provide a list of rule names.";let e=this.ruleIndexMapCache[t];return e===void 0&&(e=t.reduce(function(r,s,i){r[s]=i}),this.ruleIndexMapCache[t]=e),e}getTokenType(t){const e=this.getTokenTypeMap()[t];return e!==void 0?e:b.INVALID_TYPE}getErrorHeader(t){const e=t.getOffendingToken().line,r=t.getOffendingToken().column;return"line "+e+":"+r}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),e=e.replace(`
|
|
15
|
+
`,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+e+"'"}getErrorListenerDispatch(){return new o5(this._listeners)}sempred(t,e,r){return!0}precpred(t,e){return!0}get state(){return this._stateNumber}set state(t){this._stateNumber=t}}Vs.tokenTypeMapCache={},Vs.ruleIndexMapCache={};class xn extends b{constructor(t,e,r,s,i){super(),this.source=t!==void 0?t:xn.EMPTY_SOURCE,this.type=e!==void 0?e:null,this.channel=r!==void 0?r:b.DEFAULT_CHANNEL,this.start=s!==void 0?s:-1,this.stop=i!==void 0?i:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=t[0].line,this.column=t[0].column):this.column=-1}clone(){const t=new xn(this.source,this.type,this.channel,this.start,this.stop);return t.tokenIndex=this.tokenIndex,t.line=this.line,t.column=this.column,t.text=this.text,t}toString(){let t=this.text;return t!==null?t=t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):t="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const t=this.getInputStream();if(t===null)return null;const e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"}set text(t){this._text=t}}xn.EMPTY_SOURCE=[null,null];class a5{}class la extends a5{constructor(t){super(),this.copyText=t===void 0?!1:t}create(t,e,r,s,i,o,a,l){const c=new xn(t,e,s,i,o);return c.line=a,c.column=l,r!==null?c.text=r:this.copyText&&t[1]!==null&&(c.text=t[1].getText(i,o)),c}createThin(t,e){const r=new xn(null,t);return r.text=e,r}}la.DEFAULT=new la;class Ke extends Error{constructor(t){super(t.message),Error.captureStackTrace&&Error.captureStackTrace(this,Ke),this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class ca extends Ke{constructor(t,e,r,s){super({message:"",recognizer:t,input:e,ctx:null}),this.startIndex=r,this.deadEndConfigs=s}toString(){let t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText(new J(this.startIndex,this.startIndex))),"LexerNoViableAltException"+t}}let _t=class extends Vs{constructor(t){super(),this._input=t,this._factory=la.DEFAULT,this._tokenFactorySourcePair=[this,t],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=b.DEFAULT_CHANNEL,this._type=b.INVALID_TYPE,this._modeStack=[],this._mode=_t.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=b.INVALID_TYPE,this._channel=b.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=_t.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const t=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=b.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let e=!1;for(;;){this._type=b.INVALID_TYPE;let r=_t.SKIP;try{r=this._interp.match(this._input,this._mode)}catch(s){if(s instanceof Ke)this.notifyListeners(s),this.recover(s);else throw console.log(s.stack),s}if(this._input.LA(1)===b.EOF&&(this._hitEOF=!0),this._type===b.INVALID_TYPE&&(this._type=r),this._type===_t.SKIP){e=!0;break}if(this._type!==_t.MORE)break}if(!e)return this._token===null&&this.emit(),this._token}}finally{this._input.release(t)}}skip(){this._type=_t.SKIP}more(){this._type=_t.MORE}mode(t){this._mode=t}pushMode(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(t){this._token=t}emit(){const t=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(t),t}emitEOF(){const t=this.column,e=this.line,r=this._factory.create(this._tokenFactorySourcePair,b.EOF,null,b.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(r),r}getCharIndex(){return this._input.index}getAllTokens(){const t=[];let e=this.nextToken();for(;e.type!==b.EOF;)t.push(e),e=this.nextToken();return t}notifyListeners(t){const e=this._tokenStartCharIndex,r=this._input.index,s=this._input.getText(e,r),i="token recognition error at: '"+this.getErrorDisplay(s)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,i,t)}getErrorDisplay(t){const e=[];for(let r=0;r<t.length;r++)e.push(t[r]);return e.join("")}getErrorDisplayForChar(t){return t.charCodeAt(0)===b.EOF?"<EOF>":t===`
|
|
16
|
+
`?"\\n":t===" "?"\\t":t==="\r"?"\\r":t}getCharErrorDisplay(t){return"'"+this.getErrorDisplayForChar(t)+"'"}recover(t){this._input.LA(1)!==b.EOF&&(t instanceof ca?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(t){this._type=t}get line(){return this._interp.line}set line(t){this._interp.line=t}get column(){return this._interp.column}set column(t){this._interp.column=t}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(t){this._text=t}};_t.DEFAULT_MODE=0,_t.MORE=-2,_t.SKIP=-3,_t.DEFAULT_TOKEN_CHANNEL=b.DEFAULT_CHANNEL,_t.HIDDEN=b.HIDDEN_CHANNEL,_t.MIN_CHAR_VALUE=0,_t.MAX_CHAR_VALUE=1114111;function l5(n){return n.hashCodeForConfigSet()}function c5(n,t){return n===t?!0:n===null||t===null?!1:n.equalsForConfigSet(t)}class Ut{constructor(t){this.configLookup=new te(l5,c5),this.fullCtx=t===void 0?!0:t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(t,e){if(e===void 0&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==Q.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(t);if(r===t)return this.cachedHashCode=-1,this.configs.push(t),!0;const s=!this.fullCtx,i=qo(r.context,t.context,s,e);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=i,!0}getStates(){const t=new te;for(let e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t}getPredicates(){const t=[];for(let e=0;e<this.configs.length;e++){const r=this.configs[e].semanticContext;r!==Q.NONE&&t.push(r.semanticContext)}return t}optimizeConfigs(t){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(let e=0;e<this.configs.length;e++){const r=this.configs[e];r.context=t.getCachedContext(r.context)}}addAll(t){for(let e=0;e<t.length;e++)this.add(t[e]);return!1}equals(t){return this===t||t instanceof Ut&&Pn(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext}hashCode(){const t=new Jt;return t.update(this.configs),t.finish()}updateHashCode(t){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),t.update(this.cachedHashCode)):t.update(this.hashCode())}isEmpty(){return this.configs.length===0}contains(t){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)}containsFast(t){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)}clear(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new te}setReadonly(t){this.readOnly=t,t&&(this.configLookup=null)}toString(){return We(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==dt.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}get items(){return this.configs}get length(){return this.configs.length}}class Pe{constructor(t,e){return t===null&&(t=-1),e===null&&(e=new Ut),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const t=new te;if(this.configs!==null)for(let e=0;e<this.configs.length;e++){const r=this.configs[e];t.add(r.alt)}return t.length===0?null:t}equals(t){return this===t||t instanceof Pe&&this.configs.equals(t.configs)}toString(){let t=""+this.stateNumber+":"+this.configs;return this.isAcceptState&&(t=t+"=>",this.predicates!==null?t=t+this.predicates:t=t+this.prediction),t}hashCode(){const t=new Jt;return t.update(this.configs),t.finish()}}class be{constructor(t,e){return this.atn=t,this.sharedContextCache=e,this}getCachedContext(t){if(this.sharedContextCache===null)return t;const e=new Sr;return i0(t,this.sharedContextCache,e)}}be.ERROR=new Pe(2147483647,new Ut);class p0 extends Ut{constructor(){super(),this.configLookup=new te}}class zt extends mt{constructor(t,e){super(t,e);const r=t.lexerActionExecutor||null;return this.lexerActionExecutor=r||(e!==null?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=e!==null?this.checkNonGreedyDecision(e,this.state):!1,this.hashCodeForConfigSet=zt.prototype.hashCode,this.equalsForConfigSet=zt.prototype.equals,this}updateHashCode(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(t){return this===t||t instanceof zt&&this.passedThroughNonGreedyDecision===t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&super.equals(t)}checkNonGreedyDecision(t,e){return t.passedThroughNonGreedyDecision||e instanceof Dn&&e.nonGreedy}}class Or extends Ie{constructor(t,e){super(e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0}execute(t){this.action.execute(t)}updateHashCode(t){t.update(this.actionType,this.offset,this.action)}equals(t){return this===t?!0:t instanceof Or?this.offset===t.offset&&this.action===t.action:!1}}class Un{constructor(t){return this.lexerActions=t===null?[]:t,this.cachedHashCode=Jt.hashStuff(t),this}fixOffsetBeforeMatch(t){let e=null;for(let r=0;r<this.lexerActions.length;r++)this.lexerActions[r].isPositionDependent&&!(this.lexerActions[r]instanceof Or)&&(e===null&&(e=this.lexerActions.concat([])),e[r]=new Or(t,this.lexerActions[r]));return e===null?this:new Un(e)}execute(t,e,r){let s=!1;const i=e.index;try{for(let o=0;o<this.lexerActions.length;o++){let a=this.lexerActions[o];if(a instanceof Or){const l=a.offset;e.seek(r+l),a=a.action,s=r+l!==i}else a.isPositionDependent&&(e.seek(i),s=!1);a.execute(t)}}finally{s&&e.seek(i)}}hashCode(){return this.cachedHashCode}updateHashCode(t){t.update(this.cachedHashCode)}equals(t){if(this===t)return!0;if(t instanceof Un){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;{const e=this.lexerActions.length;for(let r=0;r<e;++r)if(!this.lexerActions[r].equals(t.lexerActions[r]))return!1;return!0}}else return!1}static append(t,e){if(t===null)return new Un([e]);const r=t.lexerActions.concat([e]);return new Un(r)}}function g0(n){n.index=-1,n.line=0,n.column=-1,n.dfaState=null}class u5{constructor(){g0(this)}reset(){g0(this)}}class gt extends be{constructor(t,e,r,s){super(e,s),this.decisionToDFA=r,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=_t.DEFAULT_MODE,this.prevAccept=new u5}copyState(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex}match(t,e){this.mode=e;const r=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();const s=this.decisionToDFA[e];return s.s0===null?this.matchATN(t):this.execATN(t,s.s0)}finally{t.release(r)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=_t.DEFAULT_MODE}matchATN(t){const e=this.atn.modeToStartState[this.mode];gt.debug&&console.log("matchATN mode "+this.mode+" start: "+e);const r=this.mode,s=this.computeStartState(t,e),i=s.hasSemanticContext;s.hasSemanticContext=!1;const o=this.addDFAState(s);i||(this.decisionToDFA[this.mode].s0=o);const a=this.execATN(t,o);return gt.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[r].toLexerString()),a}execATN(t,e){gt.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);let r=t.LA(1),s=e;for(;;){gt.debug&&console.log("execATN loop starting closure: "+s.configs);let i=this.getExistingTargetState(s,r);if(i===null&&(i=this.computeTargetState(t,s,r)),i===be.ERROR||(r!==b.EOF&&this.consume(t),i.isAcceptState&&(this.captureSimState(this.prevAccept,t,i),r===b.EOF)))break;r=t.LA(1),s=i}return this.failOrAccept(this.prevAccept,t,s.configs,r)}getExistingTargetState(t,e){if(t.edges===null||e<gt.MIN_DFA_EDGE||e>gt.MAX_DFA_EDGE)return null;let r=t.edges[e-gt.MIN_DFA_EDGE];return r===void 0&&(r=null),gt.debug&&r!==null&&console.log("reuse state "+t.stateNumber+" edge to "+r.stateNumber),r}computeTargetState(t,e,r){const s=new p0;return this.getReachableConfigSet(t,e.configs,s,r),s.items.length===0?(s.hasSemanticContext||this.addDFAEdge(e,r,be.ERROR),be.ERROR):this.addDFAEdge(e,r,null,s)}failOrAccept(t,e,r,s){if(this.prevAccept.dfaState!==null){const i=t.dfaState.lexerActionExecutor;return this.accept(e,i,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}else{if(s===b.EOF&&e.index===this.startIndex)return b.EOF;throw new ca(this.recog,e,this.startIndex,r)}}getReachableConfigSet(t,e,r,s){let i=dt.INVALID_ALT_NUMBER;for(let o=0;o<e.items.length;o++){const a=e.items[o],l=a.alt===i;if(!(l&&a.passedThroughNonGreedyDecision)){gt.debug&&console.log(`testing %s at %s
|
|
17
17
|
`,this.getTokenName(s),a.toString(this.recog,!0));for(let c=0;c<a.state.transitions.length;c++){const u=a.state.transitions[c],f=this.getReachableTarget(u,s);if(f!==null){let d=a.lexerActionExecutor;d!==null&&(d=d.fixOffsetBeforeMatch(t.index-this.startIndex));const p=s===b.EOF,w=new zt({state:f,lexerActionExecutor:d},a);this.closure(t,w,r,l,!0,p)&&(i=a.alt)}}}}}accept(t,e,r,s,i,o){gt.debug&&console.log(`ACTION %s
|
|
18
|
-
`,e),t.seek(s),this.line=i,this.column=o,e!==null&&this.recog!==null&&e.execute(this.recog,t,r)}getReachableTarget(t,e){return t.matches(e,0,_t.MAX_CHAR_VALUE)?t.target:null}computeStartState(t,e){const r=Z.EMPTY,s=new
|
|
18
|
+
`,e),t.seek(s),this.line=i,this.column=o,e!==null&&this.recog!==null&&e.execute(this.recog,t,r)}getReachableTarget(t,e){return t.matches(e,0,_t.MAX_CHAR_VALUE)?t.target:null}computeStartState(t,e){const r=Z.EMPTY,s=new p0;for(let i=0;i<e.transitions.length;i++){const o=e.transitions[i].target,a=new zt({state:o,alt:i+1,context:r},null);this.closure(t,a,s,!1,!1,!1)}return s}closure(t,e,r,s,i,o){let a=null;if(gt.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof Ft){if(gt.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
|
|
19
19
|
`,this.recog.ruleNames[e.state.ruleIndex],e):console.log(`closure at rule stop %s
|
|
20
|
-
`,e)),e.context===null||e.context.hasEmptyPath()){if(e.context===null||e.context.isEmpty())return r.add(e),!0;r.add(new zt({state:e.state,context:Z.EMPTY},e)),s=!0}if(e.context!==null&&!e.context.isEmpty()){for(let l=0;l<e.context.length;l++)if(e.context.getReturnState(l)!==Z.EMPTY_RETURN_STATE){const c=e.context.getParent(l),u=this.atn.states[e.context.getReturnState(l)];a=new zt({state:u,context:c},e),s=this.closure(t,a,r,s,i,o)}}return s}e.state.epsilonOnlyTransitions||(!s||!e.passedThroughNonGreedyDecision)&&r.add(e);for(let l=0;l<e.state.transitions.length;l++){const c=e.state.transitions[l];a=this.getEpsilonTarget(t,e,c,r,i,o),a!==null&&(s=this.closure(t,a,r,s,i,o))}return s}getEpsilonTarget(t,e,r,s,i,o){let a=null;if(r.serializationType===R.RULE){const l=
|
|
21
|
-
`.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()}getTokenName(t){return t===-1?"EOF":"'"+String.fromCharCode(t)+"'"}}gt.debug=!1,gt.dfa_debug=!1,gt.MIN_DFA_EDGE=0,gt.MAX_DFA_EDGE=127;class g0{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}}class l5{constructor(){this.data={}}get(t){return this.data["k-"+t]||null}set(t,e){this.data["k-"+t]=e}values(){return Object.keys(this.data).filter(t=>t.startsWith("k-")).map(t=>this.data[t],this)}}const st={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,t){if(st.allConfigsInRuleStopStates(t))return!0;if(n===st.SLL&&t.hasSemanticContext){const r=new Bt;for(let s=0;s<t.items.length;s++){let i=t.items[s];i=new mt({semanticContext:Q.NONE},i),r.add(i)}t=r}const e=st.getConflictingAltSubsets(t);return st.hasConflictingAltSet(e)&&!st.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(n){for(let t=0;t<n.items.length;t++)if(n.items[t].state instanceof Dt)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let t=0;t<n.items.length;t++)if(!(n.items[t].state instanceof Dt))return!1;return!0},resolvesToJustOneViableAlt:function(n){return st.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!st.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length>1)return!0;return!1},allSubsetsEqual:function(n){let t=null;for(let e=0;e<n.length;e++){const r=n[e];if(t===null)t=r;else if(r!==t)return!1}return!0},getUniqueAlt:function(n){const t=st.getAlts(n);return t.length===1?t.minValue():dt.INVALID_ALT_NUMBER},getAlts:function(n){const t=new Ee;return n.map(function(e){t.or(e)}),t},getConflictingAltSubsets:function(n){const t=new Sr;return t.hashFunction=function(e){Jt.hashStuff(e.state.stateNumber,e.context)},t.equalsFunction=function(e,r){return e.state.stateNumber===r.state.stateNumber&&e.context.equals(r.context)},n.items.map(function(e){let r=t.get(e);r===null&&(r=new Ee,t.set(e,r)),r.add(e.alt)}),t.getValues()},getStateToAltMap:function(n){const t=new l5;return n.items.map(function(e){let r=t.get(e.state);r===null&&(r=new Ee,t.set(e.state,r)),r.add(e.alt)}),t},hasStateAssociatedWithOneAlt:function(n){const t=st.getStateToAltMap(n).values();for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},getSingleViableAlt:function(n){let t=null;for(let e=0;e<n.length;e++){const s=n[e].minValue();if(t===null)t=s;else if(t!==s)return dt.INVALID_ALT_NUMBER}return t}};class ca extends Ke{constructor(t,e,r,s,i,o){o=o||t._ctx,s=s||t.getCurrentToken(),r=r||t.getCurrentToken(),e=e||t.getInputStream(),super({message:"",recognizer:t,input:e,ctx:o}),this.deadEndConfigs=i,this.startToken=r,this.offendingToken=s}}class c5{constructor(t){this.defaultMapCtor=t||Sr,this.cacheMap=new this.defaultMapCtor}get(t,e){const r=this.cacheMap.get(t)||null;return r===null?null:r.get(e)||null}set(t,e,r){let s=this.cacheMap.get(t)||null;s===null&&(s=new this.defaultMapCtor,this.cacheMap.set(t,s)),s.set(e,r)}}class u5 extends be{constructor(t,e,r,s){super(e,s),this.parser=t,this.decisionToDFA=r,this.predictionMode=st.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(t,e,r){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=r;const s=this.decisionToDFA[e];this._dfa=s;const i=t.mark(),o=t.index;try{let a;if(s.precedenceDfa?a=s.getPrecedenceStartState(this.parser.getPrecedence()):a=s.s0,a===null){r===null&&(r=Mn.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+s.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+r.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(s.atnStartState,Mn.EMPTY,c);s.precedenceDfa?(s.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(s,new Pe(null,u)),s.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(s,new Pe(null,u)),s.s0=a)}const l=this.execATN(s,a,t,o,r);return this.debug&&console.log("DFA after predictATN: "+s.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(i)}}execATN(t,e,r,s,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(r)+" line "+r.LT(1).line+":"+r.LT(1).column);let o,a=e;this.debug&&console.log("s0 = "+e);let l=r.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(t,a,l)),c===be.ERROR){const u=this.noViableAlt(r,i,a.configs,s);if(r.seek(s),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==dt.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==st.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const p=r.index;if(p!==s&&r.seek(s),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();p!==s&&r.seek(p)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,d=this.computeStartState(t.atnStartState,i,f);return this.reportAttemptingFullContext(t,u,c.configs,s,r.index),o=this.execATNWithFullContext(t,c,d,r,s,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=r.index;r.seek(s);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(r,i,c.configs,s);return f.length===1||this.reportAmbiguity(t,c,s,u,!1,f,c.configs),f.minValue()}a=c,l!==b.EOF&&(r.consume(),l=r.LA(1))}}getExistingTargetState(t,e){const r=t.edges;return r===null?null:r[e+1]||null}computeTargetState(t,e,r){const s=this.computeReachSet(e.configs,r,!1);if(s===null)return this.addDFAEdge(t,e,r,be.ERROR),be.ERROR;let i=new Pe(null,s);const o=this.getUniqueAlt(s);if(this.debug){const a=st.getConflictingAltSubsets(s);console.log("SLL altSubSets="+We(a)+", configs="+s+", predict="+o+", allSubsetsConflict="+st.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(s))}return o!==dt.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):st.hasSLLConflictTerminatingPrediction(this.predictionMode,s)&&(i.configs.conflictingAlts=this.getConflictingAlts(s),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(t.decision)),i.predicates!==null&&(i.prediction=dt.INVALID_ALT_NUMBER)),i=this.addDFAEdge(t,e,r,i),i}predicateDFAState(t,e){const r=e.transitions.length,s=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(s,t.configs,r);i!==null?(t.predicates=this.getPredicatePredictions(s,i),t.prediction=dt.INVALID_ALT_NUMBER):t.prediction=s.minValue()}execATNWithFullContext(t,e,r,s,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+r);const a=!0;let l=!1,c,u=r;s.seek(i);let f=s.LA(1),d=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const w=this.noViableAlt(s,o,u,i);s.seek(i);const I=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(I!==dt.INVALID_ALT_NUMBER)return I;throw w}const p=st.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+p+", predict="+st.getUniqueAlt(p)+", resolvesToJustOneViableAlt="+st.resolvesToJustOneViableAlt(p)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==dt.INVALID_ALT_NUMBER){d=c.uniqueAlt;break}else if(this.predictionMode!==st.LL_EXACT_AMBIG_DETECTION){if(d=st.resolvesToJustOneViableAlt(p),d!==dt.INVALID_ALT_NUMBER)break}else if(st.allSubsetsConflict(p)&&st.allSubsetsEqual(p)){l=!0,d=st.getSingleViableAlt(p);break}u=c,f!==b.EOF&&(s.consume(),f=s.LA(1))}return c.uniqueAlt!==dt.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,c,i,s.index),d):(this.reportAmbiguity(t,e,i,s.index,l,null,c),d)}computeReachSet(t,e,r){this.debug&&console.log("in computeReachSet, starting closure: "+t),this.mergeCache===null&&(this.mergeCache=new c5);const s=new Bt(r);let i=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(this.debug&&console.log("testing "+this.getTokenName(e)+" at "+l),l.state instanceof Dt){(r||e===b.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,e);if(f!==null){const d=new mt({state:f},l);s.add(d,this.mergeCache),this.debug_add&&console.log("added "+d+" to intermediate")}}}let o=null;if(i===null&&e!==b.EOF&&(s.items.length===1||this.getUniqueAlt(s)!==dt.INVALID_ALT_NUMBER)&&(o=s),o===null){o=new Bt(r);const a=new te,l=e===b.EOF;for(let c=0;c<s.items.length;c++)this.closure(s.items[c],o,a,!1,r,l)}if(e===b.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===s)),i!==null&&(!r||!st.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(t,e){if(st.allConfigsInRuleStopStates(t))return t;const r=new Bt(t.fullCtx);for(let s=0;s<t.items.length;s++){const i=t.items[s];if(i.state instanceof Dt){r.add(i,this.mergeCache);continue}if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(b.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];r.add(new mt({state:a},i),this.mergeCache)}}return r}computeStartState(t,e,r){const s=zo(this.atn,e),i=new Bt(r);for(let o=0;o<t.transitions.length;o++){const a=t.transitions[o].target,l=new mt({state:a,alt:o+1,context:s},null),c=new te;this.closure(l,i,c,!0,r,!1)}return i}applyPrecedenceFilter(t){let e;const r=[],s=new Bt(t.fullCtx);for(let i=0;i<t.items.length;i++){if(e=t.items[i],e.alt!==1)continue;const o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(r[e.state.stateNumber]=e.context,o!==e.semanticContext?s.add(new mt({semanticContext:o},e),this.mergeCache):s.add(e,this.mergeCache))}for(let i=0;i<t.items.length;i++)if(e=t.items[i],e.alt!==1){if(!e.precedenceFilterSuppressed){const o=r[e.state.stateNumber]||null;if(o!==null&&o.equals(e.context))continue}s.add(e,this.mergeCache)}return s}getReachableTarget(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null}getPredsForAmbigAlts(t,e,r){let s=[];for(let o=0;o<e.items.length;o++){const a=e.items[o];t.has(a.alt)&&(s[a.alt]=Q.orContext(s[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<r+1;o++){const a=s[o]||null;a===null?s[o]=Q.NONE:a!==Q.NONE&&(i+=1)}return i===0&&(s=null),this.debug&&console.log("getPredsForAmbigAlts result "+We(s)),s}getPredicatePredictions(t,e){const r=[];let s=!1;for(let i=1;i<e.length;i++){const o=e[i];t!==null&&t.has(i)&&r.push(new g0(o,i)),o!==Q.NONE&&(s=!0)}return s?r:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(t,e){const r=this.splitAccordingToSemanticValidity(t,e),s=r[0],i=r[1];let o=this.getAltThatFinishedDecisionEntryRule(s);return o!==dt.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==dt.INVALID_ALT_NUMBER)?o:dt.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(t){const e=[];for(let r=0;r<t.items.length;r++){const s=t.items[r];(s.reachesIntoOuterContext>0||s.state instanceof Dt&&s.context.hasEmptyPath())&&e.indexOf(s.alt)<0&&e.push(s.alt)}return e.length===0?dt.INVALID_ALT_NUMBER:Math.min.apply(null,e)}splitAccordingToSemanticValidity(t,e){const r=new Bt(t.fullCtx),s=new Bt(t.fullCtx);for(let i=0;i<t.items.length;i++){const o=t.items[i];o.semanticContext!==Q.NONE?o.semanticContext.evaluate(this.parser,e)?r.add(o):s.add(o):r.add(o)}return[r,s]}evalSemanticContext(t,e,r){const s=new Ee;for(let i=0;i<t.length;i++){const o=t[i];if(o.pred===Q.NONE){if(s.add(o.alt),!r)break;continue}const a=o.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),s.add(o.alt),!r))break}return s}closure(t,e,r,s,i,o){this.closureCheckingStopState(t,e,r,s,i,0,o)}closureCheckingStopState(t,e,r,s,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof Dt)if(t.context.isEmpty())if(i){e.add(t,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex));else{for(let l=0;l<t.context.length;l++){if(t.context.getReturnState(l)===Z.EMPTY_RETURN_STATE){if(i){e.add(new mt({state:t.state,context:Z.EMPTY},t),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,r,s,i,o,a);continue}const c=this.atn.states[t.context.getReturnState(l)],u=t.context.getParent(l),f={state:c,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new mt(f,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,r,s,i,o-1,a)}return}this.closure_(t,e,r,s,i,o,a)}closure_(t,e,r,s,i,o,a){const l=t.state;l.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(t))continue;const u=l.transitions[c],f=s&&!(u instanceof u0),d=this.getEpsilonTarget(t,u,f,o===0,i,a);if(d!==null){let p=o;if(t.state instanceof Dt){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(d.precedenceFilterSuppressed=!0),d.reachesIntoOuterContext+=1,r.add(d)!==d)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+d)}else{if(!u.isEpsilon&&r.add(d)!==d)continue;u instanceof Ms&&p>=0&&(p+=1)}this.closureCheckingStopState(d,e,r,f,i,p,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(t){const e=t.state;if(e.stateType!==N.STAR_LOOP_ENTRY||e.stateType!==N.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;const r=t.context.length;for(let a=0;a<r;a++)if(this.atn.states[t.context.getReturnState(a)].ruleIndex!==e.ruleIndex)return!1;const i=e.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<r;a++){const l=t.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===N.BLOCK_END&&u===e)&&c!==o&&u!==o&&!(u.stateType===N.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===e))return!1}return!0}getRuleName(t){return this.parser!==null&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,r,s,i,o){switch(e.serializationType){case R.RULE:return this.ruleTransition(t,e);case R.PRECEDENCE:return this.precedenceTransition(t,e,r,s,i);case R.PREDICATE:return this.predTransition(t,e,r,s,i);case R.ACTION:return this.actionTransition(t,e);case R.EPSILON:return new mt({state:e.target},t);case R.ATOM:case R.RANGE:case R.SET:return o&&e.matches(b.EOF,0,1)?new mt({state:e.target},t):null;default:return null}}actionTransition(t,e){if(this.debug){const r=e.actionIndex===-1?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+r)}return new mt({state:e.target},t)}precedenceTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&s)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}predTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&(e.isCtxDependent&&s||!e.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);const r=e.followState,s=Ft.create(t.context,r.stateNumber);return new mt({state:e.target,context:s},t)}getConflictingAlts(t){const e=st.getConflictingAltSubsets(t);return st.getAlts(e)}getConflictingAltsOrUniqueAlt(t){let e=null;return t.uniqueAlt!==dt.INVALID_ALT_NUMBER?(e=new Ee,e.add(t.uniqueAlt)):e=t.conflictingAlts,e}getTokenName(t){if(t===b.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";return""+t}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");const e=t.getDeadEndConfigs();for(let r=0;r<e.length;r++){const s=e[r];let i="no edges";if(s.state.transitions.length>0){const o=s.state.transitions[0];o instanceof Bs?i="Atom "+this.getTokenName(o.label):o instanceof Ho&&(i=(o instanceof Go?"~":"")+"Set "+o.set)}console.error(s.toString(this.parser,!0)+":"+i)}}noViableAlt(t,e,r,s){return new ca(this.parser,t,t.get(s),t.LT(1),r,e)}getUniqueAlt(t){let e=dt.INVALID_ALT_NUMBER;for(let r=0;r<t.items.length;r++){const s=t.items[r];if(e===dt.INVALID_ALT_NUMBER)e=s.alt;else if(s.alt!==e)return dt.INVALID_ALT_NUMBER}return e}addDFAEdge(t,e,r,s){if(this.debug&&console.log("EDGE "+e+" -> "+s+" upon "+this.getTokenName(r)),s===null)return null;if(s=this.addDFAState(t,s),e===null||r<-1||r>this.atn.maxTokenType)return s;if(e.edges===null&&(e.edges=[]),e.edges[r+1]=s,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
22
|
-
`+t.toString(i,o))}return s}addDFAState(t,e){if(e===be.ERROR)return e;const r=t.states.get(e);return r!==null?r:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)}reportAttemptingFullContext(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,s,i,e,r)}reportContextSensitivity(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,s,i,e,r)}reportAmbiguity(t,e,r,s,i,o,a){if(this.debug||this.retry_debug){const l=new J(r,s+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,r,s,i,o,a)}}const
|
|
23
|
-
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+We(t.predicates):e+"=>"+t.prediction.toString():e}}class x0 extends ua{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class f5{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new te,this.s0=null,this.precedenceDfa=!1,t instanceof gn&&t.isPrecedenceDecision){this.precedenceDfa=!0;const r=new Pe(null,new Bt);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new te,t){const e=new Pe(null,new Bt);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,r){return e.stateNumber-r.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new ua(this,t,e).toString()}toLexerString(){return this.s0===null?"":new x0(this).toString()}get states(){return this._states}}const d5={DFA:f5,DFASerializer:ua,LexerDFASerializer:x0,PredPrediction:g0};class m0{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class p5{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class ha{walk(t,e){if(e instanceof Ds||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof Ne)t.visitTerminal(e);else{this.enterRule(t,e);for(let s=0;s<e.getChildCount();s++){const i=e.getChild(s);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const r=e.getRuleContext();t.enterEveryRule(r),r.enterRule(t)}exitRule(t,e){const r=e.getRuleContext();r.exitRule(t),t.exitEveryRule(r)}}ha.DEFAULT=new ha;const g5={Trees:ye,RuleNode:$s,ErrorNode:Ds,TerminalNode:Ne,ParseTreeListener:m0,ParseTreeVisitor:p5,ParseTreeWalker:ha};class Nr extends Ke{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class _0 extends Ke{constructor(t,e,r){super({message:x5(e,r||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof h0?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function x5(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class m5 extends js{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,r,s,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,r,s,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,r,s,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const r=e.decision,s=e.atnStartState.ruleIndex,i=t.ruleNames;if(s<0||s>=i.length)return""+r;const o=i[s]||null;return o===null||o.length===0?""+r:`${r} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const r=new Ee;for(let s=0;s<e.items.length;s++)r.add(e.items[s].alt);return`{${r.values().join(", ")}}`}}class fa extends Error{constructor(){super(),Error.captureStackTrace(this,fa)}}class _5{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class da extends _5{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof ca?this.reportNoViableAlternative(t,e):e instanceof Nr?this.reportInputMismatch(t,e):e instanceof _0?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const r=this.getErrorRecoverySet(t);this.consumeUntil(t,r)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],r=t.getTokenStream().LA(1),s=t.atn.nextTokens(e);if(s.contains(r)){this.nextTokensContext=null,this.nextTokenState=N.INVALID_STATE_NUMBER;return}else if(s.contains(b.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case N.BLOCK_START:case N.STAR_BLOCK_START:case N.PLUS_BLOCK_START:case N.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new Nr(t);case N.PLUS_LOOP_BACK:case N.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new ae;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const r=t.getTokenStream();let s;r!==null?e.startToken.type===b.EOF?s="<EOF>":s=r.getText(new J(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):s="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(s);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const r="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e.offendingToken,e)}reportFailedPredicate(t,e){const s="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(s,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r=this.getTokenErrorDisplay(e),s=this.getExpectedTokens(t),i="extraneous input "+r+" expecting "+s.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(s,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new Nr(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),r=t._interp.atn,i=r.states[t.state].transitions[0].target;return r.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const s=t.getCurrentToken();return this.reportMatch(t),s}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),s=this.getExpectedTokens(t).first();let i;s===b.EOF?i="<missing EOF>":i="<missing "+t.literalNames[s]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===b.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,s,i,b.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let r=t._ctx;const s=new ae;for(;r!==null&&r.invokingState>=0;){const o=e.states[r.invokingState].transitions[0],a=e.nextTokens(o.followState);s.addSet(a),r=r.parentCtx}return s.removeOne(b.EPSILON),s}consumeUntil(t,e){let r=t.getTokenStream().LA(1);for(;r!==b.EOF&&!e.contains(r);)t.consume(),r=t.getTokenStream().LA(1)}}class L5 extends da{constructor(){super()}recover(t,e){let r=t._ctx;for(;r!==null;)r.exception=e,r=r.parentCtx;throw new fa(e)}recoverInline(t){this.recover(t,new Nr(t))}sync(t){}}const v5={RecognitionException:Ke,NoViableAltException:ca,LexerNoViableAltException:la,InputMismatchException:Nr,FailedPredicateException:_0,DiagnosticErrorListener:m5,BailErrorStrategy:L5,DefaultErrorStrategy:da,ErrorListener:js};class mn{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r<this.strdata.length;){const s=this.strdata.codePointAt(r);this.data.push(s),r+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let r=0;r<this.strdata.length;r++){const s=this.strdata.charCodeAt(r);this.data[r]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?b.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let s=t;s<=e;s++)r+=String.fromCodePoint(this.data[s]);return r}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const pa={},y5={fromString:function(n){return new mn(n,!0)},fromBlob:function(n,t,e,r){const s=new window.FileReader;s.onload=function(i){const o=new mn(i.target.result,!0);e(o)},s.onerror=r,s.readAsText(n,t)},fromBuffer:function(n,t){return new mn(n.toString(t),!0)},fromPath:function(n,t,e){pa.readFile(n,t,function(r,s){let i=null;s!==null&&(i=new mn(s,!0)),e(r,i)})},fromPathSync:function(n,t){const e=pa.readFileSync(n,t);return new mn(e,!0)}};class C5 extends mn{constructor(t,e){const r=pa.readFileSync(t,"utf8");super(r,e),this.fileName=t}}class E5{}class b5 extends E5{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===b.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const r=this.tokenSource.nextToken();if(r.tokenIndex=this.tokens.length,this.tokens.push(r),r.type===b.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,r){if(r===void 0&&(r=null),t<0||e<0)return null;this.lazyInit();const s=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===b.EOF)break;(r===null||r.contains(o.type))&&s.push(o)}return s}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let r=this.tokens[t];for(;r.channel!==this.channel;){if(r.type===b.EOF)return-1;t+=1,this.sync(t),r=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.nextTokenOnChannel(t+1,_t.DEFAULT_TOKEN_CHANNEL),s=t+1,i=r===-1?this.tokens.length-1:r;return this.filterForChannel(s,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.previousTokenOnChannel(t-1,_t.DEFAULT_TOKEN_CHANNEL);if(r===t-1)return null;const s=r+1,i=t-1;return this.filterForChannel(s,i,e)}filterForChannel(t,e,r){const s=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];r===-1?o.channel!==_t.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===r&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new J(0,this.tokens.length-1));let e=t.start;e instanceof b&&(e=e.tokenIndex);let r=t.stop;if(r instanceof b&&(r=r.tokenIndex),e===null||r===null||e<0||r<0)return"";r>=this.tokens.length&&(r=this.tokens.length-1);let s="";for(let i=e;i<r+1;i++){const o=this.tokens[i];if(o.type===b.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class w5 extends b5{constructor(t,e){super(t),this.channel=e===void 0?b.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,r=1;for(;r<=t;)e=this.previousTokenOnChannel(e-1,this.channel),r+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,r=1;for(;r<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),r+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const r=this.tokens[e];if(r.channel===this.channel&&(t+=1),r.type===b.EOF)break}return t}}class T5 extends m0{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let L0=class extends Vs{constructor(t){super(),this._input=null,this._errHandler=new da,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const r=new kr;r.generateRuleBypassTransitions=!0,e=new f0(r).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,r){e=e||null,r=r||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const s=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,s,i,t,r)}consume(){const t=this.getCurrentToken();t.type!==b.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let r;this._errHandler.inErrorRecoveryMode(this)?r=this._ctx.addErrorNode(t):r=this._ctx.addTokenNode(t),r.invokingState=this.state,e&&this._parseListeners.forEach(function(s){r instanceof Ds||r.isErrorNode!==void 0&&r.isErrorNode()?s.visitErrorNode(r):r instanceof Ne&&s.visitTerminal(r)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,r){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,r,s){this.state=e,this._precedenceStack.push(s),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,r){const s=this._ctx;s.parentCtx=t,s.invokingState=e,s.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,r=this.getParseListeners();if(r!==null&&r.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let r=this._ctx;const s=e.states[this.state];let i=e.nextTokens(s);if(i.contains(t))return!0;if(!i.contains(b.EPSILON))return!1;for(;r!==null&&r.invokingState>=0&&i.contains(b.EPSILON);){const a=e.states[r.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;r=r.parentCtx}return!!(i.contains(b.EPSILON)&&t===b.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const r=t.ruleIndex;r<0?e.push("n/a"):e.push(this.ruleNames[r]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const r=this._interp.decisionToDFA[e];r.states.length>0&&(t&&console.log(),this.printer.println("Decision "+r.decision+":"),this.printer.print(r.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new T5(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};L0.bypassAltsAtnCache={};class A5{constructor(){this.cache=new Sr}add(t){if(t===Z.EMPTY)return Z.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class v0 extends Ne{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return J.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new J(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===b.EOF?"<EOF>":this.symbol.text}}class y0 extends v0{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class C0 extends Mn{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof y0&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new v0(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new y0(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof e){if(t===0)return s;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof Ne&&s.symbol.type===t){if(e===0)return s;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof Ne&&s.symbol.type===t&&e.push(s)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof t&&e.push(s)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?J.INVALID_INTERVAL:new J(this.start.tokenIndex,this.stop.tokenIndex)}}Mn.EMPTY=new C0;const _={atn:h5,dfa:d5,tree:g5,error:v5,Token:b,CommonToken:xn,CharStreams:y5,InputStream:mn,FileStream:C5,CommonTokenStream:w5,Lexer:_t,Parser:L0,PredictionContextCache:A5,ParserRuleContext:C0,Interval:J,IntervalSet:ae,LL1Analyzer:$n,Utils:{arrayToString:We}},S5=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],ga=new _.atn.ATNDeserializer().deserialize(S5),R5=ga.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class A extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,ga,R5,new _.PredictionContextCache)}get atn(){return ga}}et(A,"grammarFileName","sequenceLexer.g4"),et(A,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),et(A,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),et(A,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(A,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(A,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),A.EOF=_.Token.EOF,A.WS=1,A.CONSTANT=2,A.READONLY=3,A.STATIC=4,A.AWAIT=5,A.TITLE=6,A.COL=7,A.SOPEN=8,A.SCLOSE=9,A.ARROW=10,A.COLOR=11,A.OR=12,A.AND=13,A.EQ=14,A.NEQ=15,A.GT=16,A.LT=17,A.GTEQ=18,A.LTEQ=19,A.PLUS=20,A.MINUS=21,A.MULT=22,A.DIV=23,A.MOD=24,A.POW=25,A.NOT=26,A.SCOL=27,A.COMMA=28,A.ASSIGN=29,A.OPAR=30,A.CPAR=31,A.OBRACE=32,A.CBRACE=33,A.TRUE=34,A.FALSE=35,A.NIL=36,A.IF=37,A.ELSE=38,A.WHILE=39,A.RETURN=40,A.NEW=41,A.PAR=42,A.GROUP=43,A.OPT=44,A.AS=45,A.TRY=46,A.CATCH=47,A.FINALLY=48,A.IN=49,A.STARTER_LXR=50,A.ANNOTATION_RET=51,A.ANNOTATION=52,A.DOT=53,A.ID=54,A.INT=55,A.FLOAT=56,A.STRING=57,A.CR=58,A.COMMENT=59,A.OTHER=60,A.DIVIDER=61,A.EVENT_PAYLOAD_LXR=62,A.EVENT_END=63,A.TITLE_CONTENT=64,A.TITLE_END=65,A.COMMENT_CHANNEL=2,A.MODIFIER_CHANNEL=3,A.EVENT=1,A.TITLE_MODE=2,A.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},A.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class v extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const k5=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],xa=new _.atn.ATNDeserializer().deserialize(k5),O5=xa.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),N5=new _.PredictionContextCache,m=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,xa,O5,N5),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return xa}sempred(t,e,r){switch(e){case 48:return this.expr_sempred(t,r);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new E0(this,this._ctx,this.state);this.enterRule(t,0,m.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,4,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,3,this._ctx);r===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}title(){let t=new ma(this,this._ctx,this.state);this.enterRule(t,2,m.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(m.TITLE_END))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}head(){let t=new _a(this,this._ctx,this.state);this.enterRule(t,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var r=1;do{switch(r){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,7,this._ctx)}while(r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,9,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;){if(r===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}group(){let t=new zs(this,this._ctx,this.state);this.enterRule(t,6,m.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,15,this._ctx);switch(r){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||!(e-52&-32)&&1<<e-52&37;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,14,this._ctx);r===1&&(this.state=166,this.name());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starterExp(){let t=new La(this,this._ctx,this.state);this.enterRule(t,8,m.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starter(){let t=new va(this,this._ctx,this.state);this.enterRule(t,10,m.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participant(){let t=new Hn(this,this._ctx,this.state);this.enterRule(t,12,m.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,24,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,21,this._ctx);r===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}stereotype(){let t=new ya(this,this._ctx,this.state);this.enterRule(t,14,m.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,27,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}label(){let t=new Ca(this,this._ctx,this.state);this.enterRule(t,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(m.AS);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participantType(){let t=new Ea(this,this._ctx,this.state);this.enterRule(t,18,m.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(m.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new Gn(this,this._ctx,this.state);this.enterRule(t,20,m.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}width(){let t=new ba(this,this._ctx,this.state);this.enterRule(t,22,m.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(m.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new Zs(this,this._ctx,this.state);this.enterRule(t,24,m.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while(!(e-34&-32)&&1<<e-34&217191919)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ret(){let t=new wa(this,this._ctx,this.state);this.enterRule(t,26,m.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,30,this._ctx);r===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}divider(){let t=new Ta(this,this._ctx,this.state);this.enterRule(t,28,m.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Aa(this,this._ctx,this.state);this.enterRule(t,30,m.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(m.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new qs(this,this._ctx,this.state);this.enterRule(t,32,m.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,35,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(m.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}par(){let t=new Sa(this,this._ctx,this.state);this.enterRule(t,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(m.PAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}opt(){let t=new Ra(this,this._ctx,this.state);this.enterRule(t,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(m.OPT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creation(){let t=new Ws(this,this._ctx,this.state);this.enterRule(t,38,m.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(m.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creationBody(){let t=new ka(this,this._ctx,this.state);this.enterRule(t,40,m.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,43,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,41,this._ctx);r===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}message(){let t=new Oa(this,this._ctx,this.state);this.enterRule(t,42,m.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new Na(this,this._ctx,this.state);this.enterRule(t,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}func(){let t=new Ks(this,this._ctx,this.state);this.enterRule(t,46,m.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}from(){let t=new Ys(this,this._ctx,this.state);this.enterRule(t,48,m.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}to(){let t=new Ir(this,this._ctx,this.state);this.enterRule(t,50,m.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}signature(){let t=new Xs(this,this._ctx,this.state);this.enterRule(t,52,m.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}invocation(){let t=new Qs(this,this._ctx,this.state);this.enterRule(t,54,m.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignment(){let t=new Pr(this,this._ctx,this.state);this.enterRule(t,56,m.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}asyncMessage(){let t=new Js(this,this._ctx,this.state);this.enterRule(t,58,m.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,56,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,54,this._ctx);r===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,55,this._ctx);r===1&&(this.state=372,this.to());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}content(){let t=new Ia(this,this._ctx,this.state);this.enterRule(t,60,m.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new Pa(this,this._ctx,this.state);this.enterRule(t,62,m.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}type(){let t=new ti(this,this._ctx,this.state);this.enterRule(t,64,m.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignee(){let t=new Ma(this,this._ctx,this.state);this.enterRule(t,66,m.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,58,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(m.STRING);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}methodName(){let t=new $a(this,this._ctx,this.state);this.enterRule(t,68,m.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameters(){let t=new ei(this,this._ctx,this.state);this.enterRule(t,70,m.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,59,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(m.COMMA))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameter(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}declaration(){let t=new Da(this,this._ctx,this.state);this.enterRule(t,74,m.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Fa(this,this._ctx,this.state);this.enterRule(t,76,m.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}tryBlock(){let t=new Ba(this,this._ctx,this.state);this.enterRule(t,78,m.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new ri(this,this._ctx,this.state);this.enterRule(t,80,m.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}finallyBlock(){let t=new Ua(this,this._ctx,this.state);this.enterRule(t,82,m.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ha(this,this._ctx,this.state);this.enterRule(t,84,m.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,65,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ifBlock(){let t=new Ga(this,this._ctx,this.state);this.enterRule(t,86,m.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new si(this,this._ctx,this.state);this.enterRule(t,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new ja(this,this._ctx,this.state);this.enterRule(t,90,m.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new ee(this,this._ctx,this.state);this.enterRule(t,92,m.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&217191919&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}loop(){let t=new Va(this,this._ctx,this.state);this.enterRule(t,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(m.WHILE);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,r=this.state;let s=new V(this,this._ctx,r),i=s;const o=96;this.enterRecursionRule(s,96,m.RULE_expr,t);var a=0;try{this.enterOuterAlt(s,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:s=new T0(this,s),this._ctx=s,i=s,this.state=475,this.atom();break;case 2:s=new N0(this,s),this._ctx=s,i=s,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:s=new O0(this,s),this._ctx=s,i=s,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:s=new w0(this,s),this._ctx=s,i=s,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:s=new I0(this,s),this._ctx=s,i=s,this.state=486,this.creation();break;case 6:s=new P0(this,s),this._ctx=s,i=s,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:s=new b0(this,s),this._ctx=s,i=s,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=s,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(s=new M0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&29360128?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(s=new S0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,s.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(s=new R0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&983040?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(s=new $0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,s.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(s=new D0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(s=new A0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(s=new k0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)s.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return s}atom(){let t=new we(this,this._ctx,this.state);this.enterRule(t,98,m.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new G0(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new F0(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new B0(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(m.ID);break;case 57:t=new U0(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(m.STRING);break;case 36:t=new H0(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(m.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parExpr(){let t=new Mr(this,this._ctx,this.state);this.enterRule(t,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(m.OPAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}condition(){let t=new za(this,this._ctx,this.state);this.enterRule(t,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}inExpr(){let t=new Za(this,this._ctx,this.state);this.enterRule(t,104,m.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=m;et(h,"grammarFileName","java-escape"),et(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;let E0=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(ma,0)}head(){return this.getTypedRuleContext(_a,0)}block(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterProg(this)}exitRule(t){t instanceof v&&t.exitProg(this)}},ma=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof v&&t.enterTitle(this)}exitRule(t){t instanceof v&&t.exitTitle(this)}};class _a extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(zs):this.getTypedRuleContext(zs,e)});et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(La,0)}enterRule(e){e instanceof v&&e.enterHead(this)}exitRule(e){e instanceof v&&e.exitHead(this)}}let zs=class extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(e){e instanceof v&&e.enterGroup(this)}exitRule(e){e instanceof v&&e.exitGroup(this)}};class La extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(va,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterStarterExp(this)}exitRule(t){t instanceof v&&t.exitStarterExp(this)}}class va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStarter(this)}exitRule(t){t instanceof v&&t.exitStarter(this)}}let Hn=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(Gn,0)}participantType(){return this.getTypedRuleContext(Ea,0)}stereotype(){return this.getTypedRuleContext(ya,0)}width(){return this.getTypedRuleContext(ba,0)}label(){return this.getTypedRuleContext(Ca,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof v&&t.enterParticipant(this)}exitRule(t){t instanceof v&&t.exitParticipant(this)}};class ya extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(Gn,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof v&&t.enterStereotype(this)}exitRule(t){t instanceof v&&t.exitStereotype(this)}}class Ca extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(t){t instanceof v&&t.enterLabel(this)}exitRule(t){t instanceof v&&t.exitLabel(this)}}class Ea extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterParticipantType(this)}exitRule(t){t instanceof v&&t.exitParticipantType(this)}}class Gn extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterName(this)}exitRule(t){t instanceof v&&t.exitName(this)}}class ba extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof v&&t.enterWidth(this)}exitRule(t){t instanceof v&&t.exitWidth(this)}}class Zs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(qs):this.getTypedRuleContext(qs,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof v&&e.enterBlock(this)}exitRule(e){e instanceof v&&e.exitBlock(this)}}let wa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(V,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Js,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof v&&t.enterRet(this)}exitRule(t){t instanceof v&&t.exitRet(this)}},Ta=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Aa,0)}enterRule(t){t instanceof v&&t.enterDivider(this)}exitRule(t){t instanceof v&&t.exitDivider(this)}};class Aa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof v&&t.enterDividerNote(this)}exitRule(t){t instanceof v&&t.exitDividerNote(this)}}let qs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ha,0)}par(){return this.getTypedRuleContext(Sa,0)}opt(){return this.getTypedRuleContext(Ra,0)}loop(){return this.getTypedRuleContext(Va,0)}creation(){return this.getTypedRuleContext(Ws,0)}message(){return this.getTypedRuleContext(Oa,0)}asyncMessage(){return this.getTypedRuleContext(Js,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(wa,0)}divider(){return this.getTypedRuleContext(Ta,0)}tcf(){return this.getTypedRuleContext(Fa,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof v&&t.enterStat(this)}exitRule(t){t instanceof v&&t.exitStat(this)}};class Sa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterPar(this)}exitRule(t){t instanceof v&&t.exitPar(this)}}class Ra extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterOpt(this)}exitRule(t){t instanceof v&&t.exitOpt(this)}}let Ws=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(ka,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterCreation(this)}exitRule(t){t instanceof v&&t.exitCreation(this)}};class ka extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(Pa,0)}assignment(){return this.getTypedRuleContext(Pr,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof v&&t.enterCreationBody(this)}exitRule(t){t instanceof v&&t.exitCreationBody(this)}}let Oa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(Na,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterMessage(this)}exitRule(t){t instanceof v&&t.exitMessage(this)}};class Na extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(Ks,0)}assignment(){return this.getTypedRuleContext(Pr,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ys,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof v&&t.enterMessageBody(this)}exitRule(t){t instanceof v&&t.exitMessageBody(this)}}class Ks extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Xs):this.getTypedRuleContext(Xs,e)});et(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof v&&e.enterFunc(this)}exitRule(e){e instanceof v&&e.exitFunc(this)}}class Ys extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterFrom(this)}exitRule(t){t instanceof v&&t.exitFrom(this)}}class Ir extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterTo(this)}exitRule(t){t instanceof v&&t.exitTo(this)}}class Xs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext($a,0)}invocation(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterSignature(this)}exitRule(t){t instanceof v&&t.exitSignature(this)}}class Qs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof v&&t.enterInvocation(this)}exitRule(t){t instanceof v&&t.exitInvocation(this)}}class Pr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(Ma,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(ti,0)}enterRule(t){t instanceof v&&t.enterAssignment(this)}exitRule(t){t instanceof v&&t.exitAssignment(this)}}let Js=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(Ir,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Ia,0)}from(){return this.getTypedRuleContext(Ys,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof v&&t.enterAsyncMessage(this)}exitRule(t){t instanceof v&&t.exitAsyncMessage(this)}};class Ia extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof v&&t.enterContent(this)}exitRule(t){t instanceof v&&t.exitContent(this)}}class Pa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterConstruct(this)}exitRule(t){t instanceof v&&t.exitConstruct(this)}}class ti extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterType(this)}exitRule(t){t instanceof v&&t.exitType(this)}}class Ma extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(we,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof v&&e.enterAssignee(this)}exitRule(e){e instanceof v&&e.exitAssignee(this)}}class $a extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterMethodName(this)}exitRule(t){t instanceof v&&t.exitMethodName(this)}}class ei extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ni):this.getTypedRuleContext(ni,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof v&&e.enterParameters(this)}exitRule(e){e instanceof v&&e.exitParameters(this)}}class ni extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(Da,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterParameter(this)}exitRule(t){t instanceof v&&t.exitParameter(this)}}class Da extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(ti,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterDeclaration(this)}exitRule(t){t instanceof v&&t.exitDeclaration(this)}}class Fa extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ri):this.getTypedRuleContext(ri,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Ba,0)}finallyBlock(){return this.getTypedRuleContext(Ua,0)}enterRule(e){e instanceof v&&e.enterTcf(this)}exitRule(e){e instanceof v&&e.exitTcf(this)}}class Ba extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterTryBlock(this)}exitRule(t){t instanceof v&&t.exitTryBlock(this)}}class ri extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}invocation(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterCatchBlock(this)}exitRule(t){t instanceof v&&t.exitCatchBlock(this)}}class Ua extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterFinallyBlock(this)}exitRule(t){t instanceof v&&t.exitFinallyBlock(this)}}class Ha extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(si):this.getTypedRuleContext(si,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Ga,0)}elseBlock(){return this.getTypedRuleContext(ja,0)}enterRule(e){e instanceof v&&e.enterAlt(this)}exitRule(e){e instanceof v&&e.exitAlt(this)}}class Ga extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterIfBlock(this)}exitRule(t){t instanceof v&&t.exitIfBlock(this)}}class si extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseIfBlock(this)}exitRule(t){t instanceof v&&t.exitElseIfBlock(this)}}class ja extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseBlock(this)}exitRule(t){t instanceof v&&t.exitElseBlock(this)}}class ee extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterBraceBlock(this)}exitRule(t){t instanceof v&&t.exitBraceBlock(this)}}class Va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterLoop(this)}exitRule(t){t instanceof v&&t.exitLoop(this)}}class V extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class b0 extends V{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(Pr,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof v&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=b0;class w0 extends V{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(Ks,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof v&&t.enterFuncExpr(this)}exitRule(t){t instanceof v&&t.exitFuncExpr(this)}}h.FuncExprContext=w0;class T0 extends V{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(we,0)}enterRule(t){t instanceof v&&t.enterAtomExpr(this)}exitRule(t){t instanceof v&&t.exitAtomExpr(this)}}h.AtomExprContext=T0;class A0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof v&&e.enterOrExpr(this)}exitRule(e){e instanceof v&&e.exitOrExpr(this)}}h.OrExprContext=A0;class S0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof v&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof v&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=S0;class R0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof v&&e.enterRelationalExpr(this)}exitRule(e){e instanceof v&&e.exitRelationalExpr(this)}}h.RelationalExprContext=R0;class k0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof v&&e.enterPlusExpr(this)}exitRule(e){e instanceof v&&e.exitPlusExpr(this)}}h.PlusExprContext=k0;class O0 extends V{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterNotExpr(this)}exitRule(t){t instanceof v&&t.exitNotExpr(this)}}h.NotExprContext=O0;class N0 extends V{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof v&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=N0;class I0 extends V{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Ws,0)}enterRule(t){t instanceof v&&t.enterCreationExpr(this)}exitRule(t){t instanceof v&&t.exitCreationExpr(this)}}h.CreationExprContext=I0;class P0 extends V{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(V,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof v&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=P0;class M0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof v&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof v&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=M0;class $0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof v&&e.enterEqualityExpr(this)}exitRule(e){e instanceof v&&e.exitEqualityExpr(this)}}h.EqualityExprContext=$0;class D0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof v&&e.enterAndExpr(this)}exitRule(e){e instanceof v&&e.exitAndExpr(this)}}h.AndExprContext=D0;class we extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class F0 extends we{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof v&&t.enterBooleanAtom(this)}exitRule(t){t instanceof v&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=F0;class B0 extends we{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterIdAtom(this)}exitRule(t){t instanceof v&&t.exitIdAtom(this)}}h.IdAtomContext=B0;class U0 extends we{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStringAtom(this)}exitRule(t){t instanceof v&&t.exitStringAtom(this)}}h.StringAtomContext=U0;class H0 extends we{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof v&&t.enterNilAtom(this)}exitRule(t){t instanceof v&&t.exitNilAtom(this)}}h.NilAtomContext=H0;class G0 extends we{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof v&&t.enterNumberAtom(this)}exitRule(t){t instanceof v&&t.exitNumberAtom(this)}}h.NumberAtomContext=G0;class Mr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(za,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParExpr(this)}exitRule(t){t instanceof v&&t.exitParExpr(this)}}class za extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(we,0)}expr(){return this.getTypedRuleContext(V,0)}inExpr(){return this.getTypedRuleContext(Za,0)}enterRule(t){t instanceof v&&t.enterCondition(this)}exitRule(t){t instanceof v&&t.exitCondition(this)}}class Za extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof v&&e.enterInExpr(this)}exitRule(e){e instanceof v&&e.exitInExpr(this)}}h.ProgContext=E0,h.TitleContext=ma,h.HeadContext=_a,h.GroupContext=zs,h.StarterExpContext=La,h.StarterContext=va,h.ParticipantContext=Hn,h.StereotypeContext=ya,h.LabelContext=Ca,h.ParticipantTypeContext=Ea,h.NameContext=Gn,h.WidthContext=ba,h.BlockContext=Zs,h.RetContext=wa,h.DividerContext=Ta,h.DividerNoteContext=Aa,h.StatContext=qs,h.ParContext=Sa,h.OptContext=Ra,h.CreationContext=Ws,h.CreationBodyContext=ka,h.MessageContext=Oa,h.MessageBodyContext=Na,h.FuncContext=Ks,h.FromContext=Ys,h.ToContext=Ir,h.SignatureContext=Xs,h.InvocationContext=Qs,h.AssignmentContext=Pr,h.AsyncMessageContext=Js,h.ContentContext=Ia,h.ConstructContext=Pa,h.TypeContext=ti,h.AssigneeContext=Ma,h.MethodNameContext=$a,h.ParametersContext=ei,h.ParameterContext=ni,h.DeclarationContext=Da,h.TcfContext=Fa,h.TryBlockContext=Ba,h.CatchBlockContext=ri,h.FinallyBlockContext=Ua,h.AltContext=Ha,h.IfBlockContext=Ga,h.ElseIfBlockContext=si,h.ElseBlockContext=ja,h.BraceBlockContext=ee,h.LoopContext=Va,h.ExprContext=V,h.AtomContext=we,h.ParExprContext=Mr,h.ConditionContext=za,h.InExprContext=Za;function I5(){this.__data__=[],this.size=0}var P5=I5;function M5(n,t){return n===t||n!==n&&t!==t}var ii=M5,$5=ii;function D5(n,t){for(var e=n.length;e--;)if($5(n[e][0],t))return e;return-1}var oi=D5,F5=oi,B5=Array.prototype,U5=B5.splice;function H5(n){var t=this.__data__,e=F5(t,n);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():U5.call(t,e,1),--this.size,!0}var G5=H5,j5=oi;function V5(n){var t=this.__data__,e=j5(t,n);return e<0?void 0:t[e][1]}var z5=V5,Z5=oi;function q5(n){return Z5(this.__data__,n)>-1}var W5=q5,K5=oi;function Y5(n,t){var e=this.__data__,r=K5(e,n);return r<0?(++this.size,e.push([n,t])):e[r][1]=t,this}var X5=Y5,Q5=P5,J5=G5,tp=z5,ep=W5,np=X5;function jn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}jn.prototype.clear=Q5,jn.prototype.delete=J5,jn.prototype.get=tp,jn.prototype.has=ep,jn.prototype.set=np;var ai=jn,rp=ai;function sp(){this.__data__=new rp,this.size=0}var ip=sp;function op(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var ap=op;function lp(n){return this.__data__.get(n)}var cp=lp;function up(n){return this.__data__.has(n)}var hp=up,fp=pn,dp=fp.Symbol,j0=dp,V0=j0,z0=Object.prototype,pp=z0.hasOwnProperty,gp=z0.toString,$r=V0?V0.toStringTag:void 0;function xp(n){var t=pp.call(n,$r),e=n[$r];try{n[$r]=void 0;var r=!0}catch{}var s=gp.call(n);return r&&(t?n[$r]=e:delete n[$r]),s}var mp=xp,_p=Object.prototype,Lp=_p.toString;function vp(n){return Lp.call(n)}var yp=vp,Z0=j0,Cp=mp,Ep=yp,bp="[object Null]",wp="[object Undefined]",q0=Z0?Z0.toStringTag:void 0;function Tp(n){return n==null?n===void 0?wp:bp:q0&&q0 in Object(n)?Cp(n):Ep(n)}var li=Tp;function Ap(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var _n=Ap,Sp=li,Rp=_n,kp="[object AsyncFunction]",Op="[object Function]",Np="[object GeneratorFunction]",Ip="[object Proxy]";function Pp(n){if(!Rp(n))return!1;var t=Sp(n);return t==Op||t==Np||t==kp||t==Ip}var qa=Pp,Mp=pn,$p=Mp["__core-js_shared__"],Dp=$p,Wa=Dp,W0=function(){var n=/[^.]+$/.exec(Wa&&Wa.keys&&Wa.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function Fp(n){return!!W0&&W0 in n}var Bp=Fp,Up=Function.prototype,Hp=Up.toString;function Gp(n){if(n!=null){try{return Hp.call(n)}catch{}try{return n+""}catch{}}return""}var jp=Gp,Vp=qa,zp=Bp,Zp=_n,qp=jp,Wp=/[\\^$.*+?()[\]{}|]/g,Kp=/^\[object .+?Constructor\]$/,Yp=Function.prototype,Xp=Object.prototype,Qp=Yp.toString,Jp=Xp.hasOwnProperty,t9=RegExp("^"+Qp.call(Jp).replace(Wp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function e9(n){if(!Zp(n)||zp(n))return!1;var t=Vp(n)?t9:Kp;return t.test(qp(n))}var n9=e9;function r9(n,t){return n==null?void 0:n[t]}var s9=r9,i9=n9,o9=s9;function a9(n,t){var e=o9(n,t);return i9(e)?e:void 0}var Ka=a9,l9=Ka,c9=pn,u9=l9(c9,"Map"),K0=u9,h9=Ka,f9=h9(Object,"create"),ci=f9,Y0=ci;function d9(){this.__data__=Y0?Y0(null):{},this.size=0}var p9=d9;function g9(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var x9=g9,m9=ci,_9="__lodash_hash_undefined__",L9=Object.prototype,v9=L9.hasOwnProperty;function y9(n){var t=this.__data__;if(m9){var e=t[n];return e===_9?void 0:e}return v9.call(t,n)?t[n]:void 0}var C9=y9,E9=ci,b9=Object.prototype,w9=b9.hasOwnProperty;function T9(n){var t=this.__data__;return E9?t[n]!==void 0:w9.call(t,n)}var A9=T9,S9=ci,R9="__lodash_hash_undefined__";function k9(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=S9&&t===void 0?R9:t,this}var O9=k9,N9=p9,I9=x9,P9=C9,M9=A9,$9=O9;function Vn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}Vn.prototype.clear=N9,Vn.prototype.delete=I9,Vn.prototype.get=P9,Vn.prototype.has=M9,Vn.prototype.set=$9;var D9=Vn,X0=D9,F9=ai,B9=K0;function U9(){this.size=0,this.__data__={hash:new X0,map:new(B9||F9),string:new X0}}var H9=U9;function G9(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var j9=G9,V9=j9;function z9(n,t){var e=n.__data__;return V9(t)?e[typeof t=="string"?"string":"hash"]:e.map}var ui=z9,Z9=ui;function q9(n){var t=Z9(this,n).delete(n);return this.size-=t?1:0,t}var W9=q9,K9=ui;function Y9(n){return K9(this,n).get(n)}var X9=Y9,Q9=ui;function J9(n){return Q9(this,n).has(n)}var t6=J9,e6=ui;function n6(n,t){var e=e6(this,n),r=e.size;return e.set(n,t),this.size+=e.size==r?0:1,this}var r6=n6,s6=H9,i6=W9,o6=X9,a6=t6,l6=r6;function zn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}zn.prototype.clear=s6,zn.prototype.delete=i6,zn.prototype.get=o6,zn.prototype.has=a6,zn.prototype.set=l6;var c6=zn,u6=ai,h6=K0,f6=c6,d6=200;function p6(n,t){var e=this.__data__;if(e instanceof u6){var r=e.__data__;if(!h6||r.length<d6-1)return r.push([n,t]),this.size=++e.size,this;e=this.__data__=new f6(r)}return e.set(n,t),this.size=e.size,this}var g6=p6,x6=ai,m6=ip,_6=ap,L6=cp,v6=hp,y6=g6;function Zn(n){var t=this.__data__=new x6(n);this.size=t.size}Zn.prototype.clear=m6,Zn.prototype.delete=_6,Zn.prototype.get=L6,Zn.prototype.has=v6,Zn.prototype.set=y6;var C6=Zn,E6=Ka,b6=function(){try{var n=E6(Object,"defineProperty");return n({},"",{}),n}catch{}}(),Q0=b6,J0=Q0;function w6(n,t,e){t=="__proto__"&&J0?J0(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Ya=w6,T6=Ya,A6=ii;function S6(n,t,e){(e!==void 0&&!A6(n[t],e)||e===void 0&&!(t in n))&&T6(n,t,e)}var tu=S6;function R6(n){return function(t,e,r){for(var s=-1,i=Object(t),o=r(t),a=o.length;a--;){var l=o[n?a:++s];if(e(i[l],l,i)===!1)break}return t}}var k6=R6,O6=k6,N6=O6(),I6=N6,Xa={exports:{}};(function(n,t){var e=pn,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Xa,Xa.exports);var P6=pn,M6=P6.Uint8Array,$6=M6,eu=$6;function D6(n){var t=new n.constructor(n.byteLength);return new eu(t).set(new eu(n)),t}var F6=D6,B6=F6;function U6(n,t){var e=t?B6(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var H6=U6;function G6(n,t){var e=-1,r=n.length;for(t||(t=Array(r));++e<r;)t[e]=n[e];return t}var j6=G6,V6=_n,nu=Object.create,z6=function(){function n(){}return function(t){if(!V6(t))return{};if(nu)return nu(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),Z6=z6;function q6(n,t){return function(e){return n(t(e))}}var W6=q6,K6=W6,Y6=K6(Object.getPrototypeOf,Object),ru=Y6,X6=Object.prototype;function Q6(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||X6;return n===e}var su=Q6,J6=Z6,t8=ru,e8=su;function n8(n){return typeof n.constructor=="function"&&!e8(n)?J6(t8(n)):{}}var r8=n8;function s8(n){return n!=null&&typeof n=="object"}var Dr=s8,i8=li,o8=Dr,a8="[object Arguments]";function l8(n){return o8(n)&&i8(n)==a8}var c8=l8,iu=c8,u8=Dr,ou=Object.prototype,h8=ou.hasOwnProperty,f8=ou.propertyIsEnumerable,d8=iu(function(){return arguments}())?iu:function(n){return u8(n)&&h8.call(n,"callee")&&!f8.call(n,"callee")},au=d8,p8=Array.isArray,lu=p8,g8=9007199254740991;function x8(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=g8}var cu=x8,m8=qa,_8=cu;function L8(n){return n!=null&&_8(n.length)&&!m8(n)}var Qa=L8,v8=Qa,y8=Dr;function C8(n){return y8(n)&&v8(n)}var E8=C8,hi={exports:{}};function b8(){return!1}var w8=b8;(function(n,t){var e=pn,r=w8,s=t&&!t.nodeType&&t,i=s&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===s,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||r;n.exports=c})(hi,hi.exports);var T8=li,A8=ru,S8=Dr,R8="[object Object]",k8=Function.prototype,O8=Object.prototype,uu=k8.toString,N8=O8.hasOwnProperty,I8=uu.call(Object);function P8(n){if(!S8(n)||T8(n)!=R8)return!1;var t=A8(n);if(t===null)return!0;var e=N8.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&uu.call(e)==I8}var M8=P8,$8=li,D8=cu,F8=Dr,B8="[object Arguments]",U8="[object Array]",H8="[object Boolean]",G8="[object Date]",j8="[object Error]",V8="[object Function]",z8="[object Map]",Z8="[object Number]",q8="[object Object]",W8="[object RegExp]",K8="[object Set]",Y8="[object String]",X8="[object WeakMap]",Q8="[object ArrayBuffer]",J8="[object DataView]",t7="[object Float32Array]",e7="[object Float64Array]",n7="[object Int8Array]",r7="[object Int16Array]",s7="[object Int32Array]",i7="[object Uint8Array]",o7="[object Uint8ClampedArray]",a7="[object Uint16Array]",l7="[object Uint32Array]",ht={};ht[t7]=ht[e7]=ht[n7]=ht[r7]=ht[s7]=ht[i7]=ht[o7]=ht[a7]=ht[l7]=!0,ht[B8]=ht[U8]=ht[Q8]=ht[H8]=ht[J8]=ht[G8]=ht[j8]=ht[V8]=ht[z8]=ht[Z8]=ht[q8]=ht[W8]=ht[K8]=ht[Y8]=ht[X8]=!1;function c7(n){return F8(n)&&D8(n.length)&&!!ht[$8(n)]}var u7=c7;function h7(n){return function(t){return n(t)}}var f7=h7,Ja={exports:{}};(function(n,t){var e=Xc,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i&&e.process,a=function(){try{var l=s&&s.require&&s.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(Ja,Ja.exports);var d7=u7,p7=f7,hu=Ja.exports,fu=hu&&hu.isTypedArray,g7=fu?p7(fu):d7,du=g7;function x7(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var pu=x7,m7=Ya,_7=ii,L7=Object.prototype,v7=L7.hasOwnProperty;function y7(n,t,e){var r=n[t];(!(v7.call(n,t)&&_7(r,e))||e===void 0&&!(t in n))&&m7(n,t,e)}var C7=y7,E7=C7,b7=Ya;function w7(n,t,e,r){var s=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=r?r(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),s?b7(e,a,l):E7(e,a,l)}return e}var T7=w7;function A7(n,t){for(var e=-1,r=Array(n);++e<n;)r[e]=t(e);return r}var S7=A7,R7=9007199254740991,k7=/^(?:0|[1-9]\d*)$/;function O7(n,t){var e=typeof n;return t=t??R7,!!t&&(e=="number"||e!="symbol"&&k7.test(n))&&n>-1&&n%1==0&&n<t}var gu=O7,N7=S7,I7=au,P7=lu,M7=hi.exports,$7=gu,D7=du,F7=Object.prototype,B7=F7.hasOwnProperty;function U7(n,t){var e=P7(n),r=!e&&I7(n),s=!e&&!r&&M7(n),i=!e&&!r&&!s&&D7(n),o=e||r||s||i,a=o?N7(n.length,String):[],l=a.length;for(var c in n)(t||B7.call(n,c))&&!(o&&(c=="length"||s&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||$7(c,l)))&&a.push(c);return a}var H7=U7;function G7(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var j7=G7,V7=_n,z7=su,Z7=j7,q7=Object.prototype,W7=q7.hasOwnProperty;function K7(n){if(!V7(n))return Z7(n);var t=z7(n),e=[];for(var r in n)r=="constructor"&&(t||!W7.call(n,r))||e.push(r);return e}var Y7=K7,X7=H7,Q7=Y7,J7=Qa;function tg(n){return J7(n)?X7(n,!0):Q7(n)}var xu=tg,eg=T7,ng=xu;function rg(n){return eg(n,ng(n))}var sg=rg,mu=tu,ig=Xa.exports,og=H6,ag=j6,lg=r8,_u=au,Lu=lu,cg=E8,ug=hi.exports,hg=qa,fg=_n,dg=M8,pg=du,vu=pu,gg=sg;function xg(n,t,e,r,s,i,o){var a=vu(n,e),l=vu(t,e),c=o.get(l);if(c){mu(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=Lu(l),p=!d&&ug(l),w=!d&&!p&&pg(l);u=l,d||p||w?Lu(a)?u=a:cg(a)?u=ag(a):p?(f=!1,u=ig(l,!0)):w?(f=!1,u=og(l,!0)):u=[]:dg(l)||_u(l)?(u=a,_u(a)?u=gg(a):(!fg(a)||hg(a))&&(u=lg(l))):f=!1}f&&(o.set(l,u),s(u,l,r,i,o),o.delete(l)),mu(n,e,u)}var mg=xg,_g=C6,Lg=tu,vg=I6,yg=mg,Cg=_n,Eg=xu,bg=pu;function yu(n,t,e,r,s){n!==t&&vg(t,function(i,o){if(s||(s=new _g),Cg(i))yg(n,t,o,e,yu,r,s);else{var a=r?r(bg(n,o),i,o+"",n,t,s):void 0;a===void 0&&(a=i),Lg(n,o,a)}},Eg)}var wg=yu;function Tg(n){return n}var Cu=Tg;function Ag(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Sg=Ag,Rg=Sg,Eu=Math.max;function kg(n,t,e){return t=Eu(t===void 0?n.length-1:t,0),function(){for(var r=arguments,s=-1,i=Eu(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=e(o),Rg(n,this,a)}}var Og=kg;function Ng(n){return function(){return n}}var Ig=Ng,Pg=Ig,bu=Q0,Mg=Cu,$g=bu?function(n,t){return bu(n,"toString",{configurable:!0,enumerable:!1,value:Pg(t),writable:!0})}:Mg,Dg=$g,Fg=800,Bg=16,Ug=Date.now;function Hg(n){var t=0,e=0;return function(){var r=Ug(),s=Bg-(r-e);if(e=r,s>0){if(++t>=Fg)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var Gg=Hg,jg=Dg,Vg=Gg,zg=Vg(jg),Zg=zg,qg=Cu,Wg=Og,Kg=Zg;function Yg(n,t){return Kg(Wg(n,t,qg),n+"")}var Xg=Yg,Qg=ii,Jg=Qa,tx=gu,ex=_n;function nx(n,t,e){if(!ex(e))return!1;var r=typeof t;return(r=="number"?Jg(e)&&tx(t,e.length):r=="string"&&t in e)?Qg(e[t],n):!1}var rx=nx,sx=Xg,ix=rx;function ox(n){return sx(function(t,e){var r=-1,s=e.length,i=s>1?e[s-1]:void 0,o=s>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(s--,i):void 0,o&&ix(e[0],e[1],o)&&(i=s<3?void 0:i,s=1),t=Object(t);++r<s;){var a=e[r];a&&n(t,a,r,i)}return t})}var ax=ox,lx=wg,cx=ax,ux=cx(function(n,t,e,r){lx(n,t,e,r)}),hx=ux;let fx=class{constructor(t,e,r,s,i,o,a,l,c,u){this.name=t,this.stereotype=r,this.width=s,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}},dx=class{constructor(){this.participants=new Map}Add(t,e,r,s,i,o,a,l,c,u){const f=new fx(t,e,r,s,i,o,a,l,c,u);this.participants.set(t,hx({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}};const px=h.ProgContext;let Me,Ln=!1,t1;const Zt=new v;let gx=function(n){var c,u,f,d,p,w,I;if(Ln)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",r=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),s=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((w=(p=n.label())==null?void 0:p.name())==null?void 0:w.getFormattedText()),o=!0,a=(I=n.COLOR())==null?void 0:I.getText(),l=n.getComment();Me.Add(e,!1,r,s,t1,i,o,t,a,l)};Zt.enterParticipant=gx;let wu=function(n){if(Ln)return;let t=n.getFormattedText();Me.Add(t)};Zt.enterFrom=wu,Zt.enterTo=wu,Zt.enterStarter=function(n){let t=n.getFormattedText();Me.Add(t,!0)},Zt.enterCreation=function(n){if(Ln)return;const t=n.Owner();Me.Add(t)},Zt.enterParameters=function(){Ln=!0},Zt.exitParameters=function(){Ln=!1},Zt.enterCondition=function(){Ln=!0},Zt.exitCondition=function(){Ln=!1},Zt.enterGroup=function(n){var t;t1=(t=n.name())==null?void 0:t.getFormattedText()},Zt.exitGroup=function(){t1=void 0},Zt.enterRet=function(n){n.asyncMessage()||(Me.Add(n.From()),Me.Add(n.ReturnTo()))};const xx=_.tree.ParseTreeWalker.DEFAULT;Zt.getParticipants=function(n,t){return Me=new dx,t&&n instanceof px&&Me.Add(n.Starter(),!0),xx.walk(this,n),Me};const mx=_.tree.ParseTreeWalker.DEFAULT;var le=new v,Nt=0,ce=0;le.enterTcf=function(){Nt++},le.enterOpt=function(){Nt++},le.enterPar=function(){Nt++},le.enterAlt=function(){Nt++},le.enterLoop=function(){Nt++},le.exitTcf=function(){ce=Math.max(ce,Nt),Nt--},le.exitOpt=function(){ce=Math.max(ce,Nt),Nt--},le.exitPar=function(){ce=Math.max(ce,Nt),Nt--},le.exitAlt=function(){ce=Math.max(ce,Nt),Nt--},le.exitLoop=function(){ce=Math.max(ce,Nt),Nt--},le.depth=function(n){return function(t){return Nt=0,ce=0,t.children.map(function(e){mx.walk(n,e)}),ce}};const _x=h.TitleContext;_x.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const Tu=h,e1=Tu.CreationContext;e1.prototype.Body=e1.prototype.creationBody,e1.prototype.isCurrent=function(n){return Au.bind(this)(n)};const n1=Tu.MessageContext;n1.prototype.Body=n1.prototype.messageBody,n1.prototype.isCurrent=function(n){return Au.bind(this)(n)};function Au(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const r1=h,fi=r1.CreationContext,s1=r1.MessageContext,Su=r1.AsyncMessageContext;fi.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},fi.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},fi.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},s1.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},s1.prototype.Owner=function(){return this.To()||Ru(this.parentCtx)};function Ru(n){for(;n;){if(n instanceof fi||n instanceof s1)return n.Owner();n=n.parentCtx}}Su.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},Su.prototype.Owner=function(){return this.To()||Ru(this.parentCtx)};const Lx=h.ProgContext;Lx.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,w,I,q;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,r;const s=(l=this.block())==null?void 0:l.stat();if(s&&s[0]){const $=(f=(u=(c=s[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),j=(p=(d=s[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=$||j}else{const $=(w=this.head())==null?void 0:w.children;if($&&$[0]){const j=$[0];if(j instanceof h.ParticipantContext&&(e=(I=j.name())==null?void 0:I.getFormattedText()),j instanceof h.GroupContext){const ot=j.participant();ot&&ot[0]&&(r=(q=ot[0].name())==null?void 0:q.getFormattedText())}}}return n||t||e||r||"_STARTER_"};const di=h,vx=di.RetContext,ku=di.ProgContext,Ou=di.MessageContext,yx=di.CreationContext;vx.prototype.ReturnTo=function(){var r,s;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof ku)return e.Starter();{let i=e;for(;i&&!(i instanceof Ou)&&!(i instanceof yx);){if(i instanceof ku)return i.Starter();i=i.parentCtx}return i instanceof Ou&&((s=(r=i.messageBody())==null?void 0:r.from())==null?void 0:s.getFormattedText())||i.ClosestAncestorStat().Origin()}};const Cx=h.StatContext,Ex=h.ProgContext,bx=h.MessageContext,wx=h.CreationContext;Cx.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Ex)return n.Starter();if(n instanceof bx||n instanceof wx){const t=n.Owner();if(t)return t}n=n.parentCtx}};const Tx=h.DividerContext;Tx.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const i1=h,Ax=i1.MessageContext,Sx=i1.AsyncMessageContext,Rx=i1.CreationContext;Ax.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(r=>r==null?void 0:r.getFormattedText()).join(".")},Sx.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},Rx.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"«"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"»"};const kx=h.MessageContext;class Ox{constructor(t,e){if(e&&!t)throw new Error("assignee must be defined if type is defined");this.assignee=t||"",this.type=e||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}kx.prototype.Assignment=function(){var r,s;let n=this.messageBody().assignment();const t=(r=n==null?void 0:n.assignee())==null?void 0:r.getFormattedText(),e=(s=n==null?void 0:n.type())==null?void 0:s.getFormattedText();if(t)return new Ox(t,e)};const Fr=h,Nx=Fr.CreationContext,Ix=Fr.StatContext,Nu=Fr.MessageContext,Px=Fr.AsyncMessageContext,Mx=Fr.RetContext;Nx.prototype.From=function(){if(this.parentCtx instanceof Ix)return this.ClosestAncestorStat().Origin()},Nu.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},Nu.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Px.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},Mx.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Iu=h,Pu=Iu.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof Pu);)n=n.parentCtx;if(n instanceof Pu)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof Iu.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function $x(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,s){return t.apply(this,arguments)};case 4:return function(e,r,s,i){return t.apply(this,arguments)};case 5:return function(e,r,s,i,o){return t.apply(this,arguments)};case 6:return function(e,r,s,i,o,a){return t.apply(this,arguments)};case 7:return function(e,r,s,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,r,s,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,r,s,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,r,s,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var Mu=$x;function Dx(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var Fx=Dx;function Bx(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var o1=Bx,Ux=o1;function Hx(n){return function t(e){return arguments.length===0||Ux(e)?t:n.apply(this,arguments)}}var pi=Hx,a1=pi,Br=o1;function Gx(n){return function t(e,r){switch(arguments.length){case 0:return t;case 1:return Br(e)?t:a1(function(s){return n(e,s)});default:return Br(e)&&Br(r)?t:Br(e)?a1(function(s){return n(s,r)}):Br(r)?a1(function(s){return n(e,s)}):n(e,r)}}}var $u=Gx,gi=pi,qn=$u,Rt=o1;function jx(n){return function t(e,r,s){switch(arguments.length){case 0:return t;case 1:return Rt(e)?t:qn(function(i,o){return n(e,i,o)});case 2:return Rt(e)&&Rt(r)?t:Rt(e)?qn(function(i,o){return n(i,r,o)}):Rt(r)?qn(function(i,o){return n(e,i,o)}):gi(function(i){return n(e,r,i)});default:return Rt(e)&&Rt(r)&&Rt(s)?t:Rt(e)&&Rt(r)?qn(function(i,o){return n(i,o,s)}):Rt(e)&&Rt(s)?qn(function(i,o){return n(i,r,o)}):Rt(r)&&Rt(s)?qn(function(i,o){return n(e,i,o)}):Rt(e)?gi(function(i){return n(i,r,s)}):Rt(r)?gi(function(i){return n(e,i,s)}):Rt(s)?gi(function(i){return n(e,r,i)}):n(e,r,s)}}}var l1=jx,Du=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function Vx(n){return Object.prototype.toString.call(n)==="[object String]"}var zx=Vx,Zx=pi,qx=Du,Wx=zx,Kx=Zx(function(t){return qx(t)?!0:!t||typeof t!="object"||Wx(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Yx=Kx,Xx=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function Qx(n){return new Xx(n)}var Jx=Qx,tm=Mu,em=$u,nm=em(function(t,e){return tm(t.length,function(){return t.apply(e,arguments)})}),rm=nm,sm=Yx,im=Jx,om=rm;function am(n,t,e){for(var r=0,s=e.length;r<s;){if(t=n["@@transducer/step"](t,e[r]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return n["@@transducer/result"](t)}function Fu(n,t,e){for(var r=e.next();!r.done;){if(t=n["@@transducer/step"](t,r.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=e.next()}return n["@@transducer/result"](t)}function Bu(n,t,e,r){return n["@@transducer/result"](e[r](om(n["@@transducer/step"],n),t))}var Uu=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function lm(n,t,e){if(typeof n=="function"&&(n=im(n)),sm(e))return am(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return Bu(n,t,e,"fantasy-land/reduce");if(e[Uu]!=null)return Fu(n,t,e[Uu]());if(typeof e.next=="function")return Fu(n,t,e);if(typeof e.reduce=="function")return Bu(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var cm=lm,um=l1,hm=cm,fm=um(hm),dm=fm,pm=Du;function gm(n,t){return function(){var e=arguments.length;if(e===0)return t();var r=arguments[e-1];return pm(r)||typeof r[n]!="function"?t.apply(this,arguments):r[n].apply(r,Array.prototype.slice.call(arguments,0,e-1))}}var Hu=gm,xm=Hu,mm=l1,_m=mm(xm("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),Lm=_m,vm=Hu,ym=pi,Cm=Lm,Em=ym(vm("tail",Cm(1,1/0))),bm=Em,wm=Mu,Tm=Fx,Am=dm,Sm=bm;function Rm(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return wm(arguments[0].length,Am(Tm,arguments[0],Sm(arguments)))}var km=Rm;const Om=km;var Nm=l1,Im=Nm(function(t,e,r){return r.replace(t,e)}),Pm=Im;const Ur=Pm,Mm=Ur(/[\n\r]/g," "),$m=Ur(/\s+/g," "),Dm=Ur(/\s*([,;.()])\s*/g,"$1"),Fm=Ur(/\s+$/g,""),Bm=Ur(/^"(.*)"$/,"$1"),Um=Om(Mm,$m,Dm,Fm,Bm);class Hm extends _.error.ErrorListener{syntaxError(t,e,r,s,i){}}function Gm(n){const t=new _.InputStream(n),e=new A(t),r=new _.CommonTokenStream(e),s=new h(r);return s.addErrorListener(new Hm),s._syntaxErrors?null:s.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return Um(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=A.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(r=>r.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const jm=h.ProgContext,Vm=Gm,Gu=h.GroupContext,ju=h.ParticipantContext,Vu=function(n){const t=le;return t.depth(t)(n)},xi=function(n,t){return Zt.getParticipants(n,t)};function mi(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const s=document.createElement("div");s.className="textarea-hidden-div ",s.style.fontSize="13px",s.style.fontFamily="Helvetica, Verdana, serif",s.style.display="inline",s.style.whiteSpace="nowrap",s.style.visibility="hidden",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.overflow="hidden",s.style.width="0px",s.style.paddingLeft="20px",s.style.paddingRight="20px",s.style.margin="0px",s.style.border="0px",document.body.appendChild(s),e=s}return e.innerHTML=n,e.scrollWidth}const zm=100,zu=20,Zu=10,Zm=100;var Wn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Wn||{});const qm=h;class c1 extends v{constructor(){super(...arguments),this.explicitParticipants=[],this.starter="",this.implicitParticipants=[],this.isBlind=!1}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(t){this.starter=t.getFormattedText()}enterParticipant(t){var i,o,a;const e=((i=t==null?void 0:t.name())==null?void 0:i.getFormattedText())||"Missing `Participant` name",r=(a=(o=t.label())==null?void 0:o.name())==null?void 0:a.getFormattedText(),s={name:e,label:r,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(t.ClosestAncestorBlock().parentCtx instanceof qm.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]){this.starter=e;return}this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}enterCreation(t){if(this.isBlind)return;const e=t==null?void 0:t.Owner();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),c1._assignLeft(t),t}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(t=>t.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(t){return t.filter((e,r)=>t.findIndex(s=>s.name===e.name)===r)}static _assignLeft(t){t.reduce((e,r)=>(r.left=e.name||"",r),{name:"",left:""})}}function Wm(n){const t=new c1;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function _i(n,t){return{position:n,velocity:t}}function qu(n,t){return _i(n.position+t.position,n.velocity+t.velocity)}const Wu=Math.sqrt(Number.EPSILON);function Km(n,t){let e=n.position-t.position;return e<-Wu||Math.abs(e)<=Wu&&n.velocity<t.velocity}function Ym(){return{delta:1/0,dualLessThan:function(n,t){let e=Km(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function Xm(n,t){let e=Array();for(let r=0;r<n;r++){e.push([]);for(let s=0;s<r;s++)t[s][r]>0&&e[r].push({i:s,length:_i(t[s][r],0)})}return e}function Qm(n,t){let e=Ym(),r=_i(0,0),s=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(r=qu(r,t[i-1]));for(let a of n[i]){let l=qu(s[a.i].maximum,a.length);e.dualLessThan(r,l)&&(o=a.i,r=l)}s.push({argument:o,maximum:r})}return[e.delta,s]}function Jm(n,t,e){let r=n.length-1;for(;r>0;){let s=n[r].argument;s!==null?r=s:(r--,e[r].velocity=0)}}function t_(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function e_(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function n_(n){const t=n.length;let e=Xm(t,n),r=[];for(let s=1;s<t;s++)r.push(_i(0,1));for(;;){let[s,i]=Qm(e,r);if(s==1/0)return e_(i);i[t-1].maximum.velocity>0?Jm(i,e,r):t_(r,s)}}var Hr=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(Hr||{});class r_ extends v{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(Hr.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(Hr.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(Hr.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let r=e.From();const s=e==null?void 0:e.Owner(),i=e==null?void 0:e.SignatureText();this.ownableMessages.push({from:r,signature:i,type:t,to:s})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function s_(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new r_;return t.walk(e,n),e.result()}class Kn{constructor(t,e){this.m=[],this.participantModels=Wm(t),this.ownableMessages=s_(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex(r=>r.name===t);if(e===-1)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+n_(this.m)[e]+Zu}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(r=>{const s=e.findIndex(l=>l.name===r.from),i=e.findIndex(l=>l.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}let o=Math.min(s,i),a=Math.max(s,i);try{let l=this.getMessageWidth(r);this.m[o][a]=Math.max(l+Zu,this.m[o][a])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(t){const e=Kn.half(this.widthProvider,t.to);let r=this.widthProvider(t.signature,Wn.MessageContent);return t.type===Hr.CreationMessage&&(r+=e),r}withParticipantGaps(t){this.m=t.map((e,r)=>t.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const r=Kn.half(this.widthProvider,e),s=Kn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&r||0)+(o&&s||0)}labelOrName(t){const e=this.participantModels.findIndex(r=>r.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return zu/2;const r=this.halfWithMargin(t,e);return Math.max(r,zm/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+zu/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Wn.ParticipantName),Zm)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+Kn.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}let Ku=0;setTimeout(function(){Ku||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const i_=n=>(Ku=Z4(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:t=>{console.log("Element clicked",t)}},getters:{rootContext:t=>Vm(t.code),title:(t,e)=>{var r,s;return(s=(r=e.rootContext)==null?void 0:r.title())==null?void 0:s.content()},participants:(t,e)=>xi(e.rootContext,!0),coordinates:(t,e)=>new Kn(e.rootContext,mi),centerOf:(t,e)=>r=>{if(!r)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(r)||0}catch(s){return console.error(s),0}},GroupContext:()=>Gu,ParticipantContext:()=>ju,cursor:t=>t.cursor,distance:(t,e)=>(r,s)=>e.centerOf(r)-e.centerOf(s),distance2:(t,e)=>(r,s)=>!r||!s?0:e.centerOf(s)-e.centerOf(r),onElementClick:t=>t.onElementClick},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(r=>r!==e):t.selected.push(e)},cursor:function(t,e){t.cursor=e}},actions:{updateCode:function({commit:t,getters:e},r){if(typeof r=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");t("code",r.code)}},strict:!1});var o_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("div",{staticClass:"tooltip bottom whitespace-normal",attrs:{"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."}},[e("svg",{staticClass:"fill-current h-6 w-6 m-auto",attrs:{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"}},[e("path",{attrs:{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}}),e("path",{attrs:{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"}})])])])},a_=[];const Cb="";function tt(n,t,e,r,s,i,o,a){var l=typeof n=="function"?n.options:n;t&&(l.render=t,l.staticRenderFns=e,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i);var c;if(o?(c=function(d){d=d||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!d&&typeof __VUE_SSR_CONTEXT__<"u"&&(d=__VUE_SSR_CONTEXT__),s&&s.call(this,d),d&&d._registeredComponents&&d._registeredComponents.add(o)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(p,w){return c.call(w),u(p,w)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:n,options:l}}const l_={name:"Privacy"},Yu={};var c_=tt(l_,o_,a_,!1,u_,"40ab6ae6",null,null);function u_(n){for(let t in Yu)this[t]=Yu[t]}const h_=function(){return c_.exports}();var f_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"title text-skin-title text-base font-semibold"},[n._v(n._s(n.title))])},d_=[];const p_={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},Xu={};var g_=tt(p_,f_,d_,!1,x_,null,null,null);function x_(n){for(let t in Xu)this[t]=Xu[t]}const m_=function(){return g_.exports}();var u1={exports:{}},__={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Qu={exports:{}},L_=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},v_=L_,y_=Array.prototype.concat,C_=Array.prototype.slice,Ju=Qu.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var i=t[r];v_(i)?e=y_.call(e,C_.call(i)):e.push(i)}return e};Ju.wrap=function(n){return function(){return n(Ju(arguments))}};var Li=__,Gr=Qu.exports,th={};for(var h1 in Li)Li.hasOwnProperty(h1)&&(th[Li[h1]]=h1);var ne=u1.exports={to:{},get:{}};ne.get=function(n){var t=n.substring(0,3).toLowerCase(),e,r;switch(t){case"hsl":e=ne.get.hsl(n),r="hsl";break;case"hwb":e=ne.get.hwb(n),r="hwb";break;default:e=ne.get.rgb(n),r="rgb";break}return e?{model:r,value:e}:null},ne.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=Li[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Ye(o[l],0,255);return o[3]=Ye(o[3],0,1),o},ne.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])%360+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.to.hex=function(){var n=Gr(arguments);return"#"+vi(n[0])+vi(n[1])+vi(n[2])+(n[3]<1?vi(Math.round(n[3]*255)):"")},ne.to.rgb=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},ne.to.rgb.percent=function(){var n=Gr(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),r=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+r+"%)":"rgba("+t+"%, "+e+"%, "+r+"%, "+n[3]+")"},ne.to.hsl=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},ne.to.hwb=function(){var n=Gr(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},ne.to.keyword=function(n){return th[n.slice(0,3)]};function Ye(n,t,e){return Math.min(Math.max(t,n),e)}function vi(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function E_(n){const t=u1.exports.get.rgb(n);let[e,r,s]=t;return(e*299+r*587+s*114)/1e3}function b_(n){const t=u1.exports.get.rgb(n);let[e,r,s]=t;return`rgb(${e}, ${r}, ${s})`}const w_=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
20
|
+
`,e)),e.context===null||e.context.hasEmptyPath()){if(e.context===null||e.context.isEmpty())return r.add(e),!0;r.add(new zt({state:e.state,context:Z.EMPTY},e)),s=!0}if(e.context!==null&&!e.context.isEmpty()){for(let l=0;l<e.context.length;l++)if(e.context.getReturnState(l)!==Z.EMPTY_RETURN_STATE){const c=e.context.getParent(l),u=this.atn.states[e.context.getReturnState(l)];a=new zt({state:u,context:c},e),s=this.closure(t,a,r,s,i,o)}}return s}e.state.epsilonOnlyTransitions||(!s||!e.passedThroughNonGreedyDecision)&&r.add(e);for(let l=0;l<e.state.transitions.length;l++){const c=e.state.transitions[l];a=this.getEpsilonTarget(t,e,c,r,i,o),a!==null&&(s=this.closure(t,a,r,s,i,o))}return s}getEpsilonTarget(t,e,r,s,i,o){let a=null;if(r.serializationType===R.RULE){const l=Bt.create(e.context,r.followState.stateNumber);a=new zt({state:r.target,context:l},e)}else{if(r.serializationType===R.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(r.serializationType===R.PREDICATE)gt.debug&&console.log("EVAL rule "+r.ruleIndex+":"+r.predIndex),s.hasSemanticContext=!0,this.evaluatePredicate(t,r.ruleIndex,r.predIndex,i)&&(a=new zt({state:r.target},e));else if(r.serializationType===R.ACTION)if(e.context===null||e.context.hasEmptyPath()){const l=Un.append(e.lexerActionExecutor,this.atn.lexerActions[r.actionIndex]);a=new zt({state:r.target,lexerActionExecutor:l},e)}else a=new zt({state:r.target},e);else r.serializationType===R.EPSILON?a=new zt({state:r.target},e):(r.serializationType===R.ATOM||r.serializationType===R.RANGE||r.serializationType===R.SET)&&o&&r.matches(b.EOF,0,_t.MAX_CHAR_VALUE)&&(a=new zt({state:r.target},e))}return a}evaluatePredicate(t,e,r,s){if(this.recog===null)return!0;if(!s)return this.recog.sempred(null,e,r);const i=this.column,o=this.line,a=t.index,l=t.mark();try{return this.consume(t),this.recog.sempred(null,e,r)}finally{this.column=i,this.line=o,t.seek(a),t.release(l)}}captureSimState(t,e,r){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=r}addDFAEdge(t,e,r,s){if(r===void 0&&(r=null),s===void 0&&(s=null),r===null&&s!==null){const i=s.hasSemanticContext;if(s.hasSemanticContext=!1,r=this.addDFAState(s),i)return r}return e<gt.MIN_DFA_EDGE||e>gt.MAX_DFA_EDGE||(gt.debug&&console.log("EDGE "+t+" -> "+r+" upon "+e),t.edges===null&&(t.edges=[]),t.edges[e-gt.MIN_DFA_EDGE]=r),r}addDFAState(t){const e=new Pe(null,t);let r=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(l.state instanceof Ft){r=l;break}}r!==null&&(e.isAcceptState=!0,e.lexerActionExecutor=r.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[r.state.ruleIndex]);const s=this.decisionToDFA[this.mode],i=s.states.get(e);if(i!==null)return i;const o=e;return o.stateNumber=s.states.length,t.setReadonly(!0),o.configs=t,s.states.add(o),o}getDFA(t){return this.decisionToDFA[t]}getText(t){return t.getText(this.startIndex,t.index-1)}consume(t){t.LA(1)===`
|
|
21
|
+
`.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()}getTokenName(t){return t===-1?"EOF":"'"+String.fromCharCode(t)+"'"}}gt.debug=!1,gt.dfa_debug=!1,gt.MIN_DFA_EDGE=0,gt.MAX_DFA_EDGE=127;class x0{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}}class h5{constructor(){this.data={}}get(t){return this.data["k-"+t]||null}set(t,e){this.data["k-"+t]=e}values(){return Object.keys(this.data).filter(t=>t.startsWith("k-")).map(t=>this.data[t],this)}}const st={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,t){if(st.allConfigsInRuleStopStates(t))return!0;if(n===st.SLL&&t.hasSemanticContext){const r=new Ut;for(let s=0;s<t.items.length;s++){let i=t.items[s];i=new mt({semanticContext:Q.NONE},i),r.add(i)}t=r}const e=st.getConflictingAltSubsets(t);return st.hasConflictingAltSet(e)&&!st.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(n){for(let t=0;t<n.items.length;t++)if(n.items[t].state instanceof Ft)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let t=0;t<n.items.length;t++)if(!(n.items[t].state instanceof Ft))return!1;return!0},resolvesToJustOneViableAlt:function(n){return st.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!st.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length>1)return!0;return!1},allSubsetsEqual:function(n){let t=null;for(let e=0;e<n.length;e++){const r=n[e];if(t===null)t=r;else if(r!==t)return!1}return!0},getUniqueAlt:function(n){const t=st.getAlts(n);return t.length===1?t.minValue():dt.INVALID_ALT_NUMBER},getAlts:function(n){const t=new Ee;return n.map(function(e){t.or(e)}),t},getConflictingAltSubsets:function(n){const t=new Sr;return t.hashFunction=function(e){Jt.hashStuff(e.state.stateNumber,e.context)},t.equalsFunction=function(e,r){return e.state.stateNumber===r.state.stateNumber&&e.context.equals(r.context)},n.items.map(function(e){let r=t.get(e);r===null&&(r=new Ee,t.set(e,r)),r.add(e.alt)}),t.getValues()},getStateToAltMap:function(n){const t=new h5;return n.items.map(function(e){let r=t.get(e.state);r===null&&(r=new Ee,t.set(e.state,r)),r.add(e.alt)}),t},hasStateAssociatedWithOneAlt:function(n){const t=st.getStateToAltMap(n).values();for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},getSingleViableAlt:function(n){let t=null;for(let e=0;e<n.length;e++){const s=n[e].minValue();if(t===null)t=s;else if(t!==s)return dt.INVALID_ALT_NUMBER}return t}};class ua extends Ke{constructor(t,e,r,s,i,o){o=o||t._ctx,s=s||t.getCurrentToken(),r=r||t.getCurrentToken(),e=e||t.getInputStream(),super({message:"",recognizer:t,input:e,ctx:o}),this.deadEndConfigs=i,this.startToken=r,this.offendingToken=s}}class f5{constructor(t){this.defaultMapCtor=t||Sr,this.cacheMap=new this.defaultMapCtor}get(t,e){const r=this.cacheMap.get(t)||null;return r===null?null:r.get(e)||null}set(t,e,r){let s=this.cacheMap.get(t)||null;s===null&&(s=new this.defaultMapCtor,this.cacheMap.set(t,s)),s.set(e,r)}}class d5 extends be{constructor(t,e,r,s){super(e,s),this.parser=t,this.decisionToDFA=r,this.predictionMode=st.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(t,e,r){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=r;const s=this.decisionToDFA[e];this._dfa=s;const i=t.mark(),o=t.index;try{let a;if(s.precedenceDfa?a=s.getPrecedenceStartState(this.parser.getPrecedence()):a=s.s0,a===null){r===null&&(r=Mn.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+s.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+r.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(s.atnStartState,Mn.EMPTY,c);s.precedenceDfa?(s.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(s,new Pe(null,u)),s.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(s,new Pe(null,u)),s.s0=a)}const l=this.execATN(s,a,t,o,r);return this.debug&&console.log("DFA after predictATN: "+s.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(i)}}execATN(t,e,r,s,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(r)+" line "+r.LT(1).line+":"+r.LT(1).column);let o,a=e;this.debug&&console.log("s0 = "+e);let l=r.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(t,a,l)),c===be.ERROR){const u=this.noViableAlt(r,i,a.configs,s);if(r.seek(s),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==dt.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==st.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const p=r.index;if(p!==s&&r.seek(s),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();p!==s&&r.seek(p)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,d=this.computeStartState(t.atnStartState,i,f);return this.reportAttemptingFullContext(t,u,c.configs,s,r.index),o=this.execATNWithFullContext(t,c,d,r,s,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=r.index;r.seek(s);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(r,i,c.configs,s);return f.length===1||this.reportAmbiguity(t,c,s,u,!1,f,c.configs),f.minValue()}a=c,l!==b.EOF&&(r.consume(),l=r.LA(1))}}getExistingTargetState(t,e){const r=t.edges;return r===null?null:r[e+1]||null}computeTargetState(t,e,r){const s=this.computeReachSet(e.configs,r,!1);if(s===null)return this.addDFAEdge(t,e,r,be.ERROR),be.ERROR;let i=new Pe(null,s);const o=this.getUniqueAlt(s);if(this.debug){const a=st.getConflictingAltSubsets(s);console.log("SLL altSubSets="+We(a)+", configs="+s+", predict="+o+", allSubsetsConflict="+st.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(s))}return o!==dt.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):st.hasSLLConflictTerminatingPrediction(this.predictionMode,s)&&(i.configs.conflictingAlts=this.getConflictingAlts(s),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(t.decision)),i.predicates!==null&&(i.prediction=dt.INVALID_ALT_NUMBER)),i=this.addDFAEdge(t,e,r,i),i}predicateDFAState(t,e){const r=e.transitions.length,s=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(s,t.configs,r);i!==null?(t.predicates=this.getPredicatePredictions(s,i),t.prediction=dt.INVALID_ALT_NUMBER):t.prediction=s.minValue()}execATNWithFullContext(t,e,r,s,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+r);const a=!0;let l=!1,c,u=r;s.seek(i);let f=s.LA(1),d=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const w=this.noViableAlt(s,o,u,i);s.seek(i);const I=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(I!==dt.INVALID_ALT_NUMBER)return I;throw w}const p=st.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+p+", predict="+st.getUniqueAlt(p)+", resolvesToJustOneViableAlt="+st.resolvesToJustOneViableAlt(p)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==dt.INVALID_ALT_NUMBER){d=c.uniqueAlt;break}else if(this.predictionMode!==st.LL_EXACT_AMBIG_DETECTION){if(d=st.resolvesToJustOneViableAlt(p),d!==dt.INVALID_ALT_NUMBER)break}else if(st.allSubsetsConflict(p)&&st.allSubsetsEqual(p)){l=!0,d=st.getSingleViableAlt(p);break}u=c,f!==b.EOF&&(s.consume(),f=s.LA(1))}return c.uniqueAlt!==dt.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,c,i,s.index),d):(this.reportAmbiguity(t,e,i,s.index,l,null,c),d)}computeReachSet(t,e,r){this.debug&&console.log("in computeReachSet, starting closure: "+t),this.mergeCache===null&&(this.mergeCache=new f5);const s=new Ut(r);let i=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(this.debug&&console.log("testing "+this.getTokenName(e)+" at "+l),l.state instanceof Ft){(r||e===b.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,e);if(f!==null){const d=new mt({state:f},l);s.add(d,this.mergeCache),this.debug_add&&console.log("added "+d+" to intermediate")}}}let o=null;if(i===null&&e!==b.EOF&&(s.items.length===1||this.getUniqueAlt(s)!==dt.INVALID_ALT_NUMBER)&&(o=s),o===null){o=new Ut(r);const a=new te,l=e===b.EOF;for(let c=0;c<s.items.length;c++)this.closure(s.items[c],o,a,!1,r,l)}if(e===b.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===s)),i!==null&&(!r||!st.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(t,e){if(st.allConfigsInRuleStopStates(t))return t;const r=new Ut(t.fullCtx);for(let s=0;s<t.items.length;s++){const i=t.items[s];if(i.state instanceof Ft){r.add(i,this.mergeCache);continue}if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(b.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];r.add(new mt({state:a},i),this.mergeCache)}}return r}computeStartState(t,e,r){const s=Zo(this.atn,e),i=new Ut(r);for(let o=0;o<t.transitions.length;o++){const a=t.transitions[o].target,l=new mt({state:a,alt:o+1,context:s},null),c=new te;this.closure(l,i,c,!0,r,!1)}return i}applyPrecedenceFilter(t){let e;const r=[],s=new Ut(t.fullCtx);for(let i=0;i<t.items.length;i++){if(e=t.items[i],e.alt!==1)continue;const o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(r[e.state.stateNumber]=e.context,o!==e.semanticContext?s.add(new mt({semanticContext:o},e),this.mergeCache):s.add(e,this.mergeCache))}for(let i=0;i<t.items.length;i++)if(e=t.items[i],e.alt!==1){if(!e.precedenceFilterSuppressed){const o=r[e.state.stateNumber]||null;if(o!==null&&o.equals(e.context))continue}s.add(e,this.mergeCache)}return s}getReachableTarget(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null}getPredsForAmbigAlts(t,e,r){let s=[];for(let o=0;o<e.items.length;o++){const a=e.items[o];t.has(a.alt)&&(s[a.alt]=Q.orContext(s[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<r+1;o++){const a=s[o]||null;a===null?s[o]=Q.NONE:a!==Q.NONE&&(i+=1)}return i===0&&(s=null),this.debug&&console.log("getPredsForAmbigAlts result "+We(s)),s}getPredicatePredictions(t,e){const r=[];let s=!1;for(let i=1;i<e.length;i++){const o=e[i];t!==null&&t.has(i)&&r.push(new x0(o,i)),o!==Q.NONE&&(s=!0)}return s?r:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(t,e){const r=this.splitAccordingToSemanticValidity(t,e),s=r[0],i=r[1];let o=this.getAltThatFinishedDecisionEntryRule(s);return o!==dt.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==dt.INVALID_ALT_NUMBER)?o:dt.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(t){const e=[];for(let r=0;r<t.items.length;r++){const s=t.items[r];(s.reachesIntoOuterContext>0||s.state instanceof Ft&&s.context.hasEmptyPath())&&e.indexOf(s.alt)<0&&e.push(s.alt)}return e.length===0?dt.INVALID_ALT_NUMBER:Math.min.apply(null,e)}splitAccordingToSemanticValidity(t,e){const r=new Ut(t.fullCtx),s=new Ut(t.fullCtx);for(let i=0;i<t.items.length;i++){const o=t.items[i];o.semanticContext!==Q.NONE?o.semanticContext.evaluate(this.parser,e)?r.add(o):s.add(o):r.add(o)}return[r,s]}evalSemanticContext(t,e,r){const s=new Ee;for(let i=0;i<t.length;i++){const o=t[i];if(o.pred===Q.NONE){if(s.add(o.alt),!r)break;continue}const a=o.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),s.add(o.alt),!r))break}return s}closure(t,e,r,s,i,o){this.closureCheckingStopState(t,e,r,s,i,0,o)}closureCheckingStopState(t,e,r,s,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof Ft)if(t.context.isEmpty())if(i){e.add(t,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex));else{for(let l=0;l<t.context.length;l++){if(t.context.getReturnState(l)===Z.EMPTY_RETURN_STATE){if(i){e.add(new mt({state:t.state,context:Z.EMPTY},t),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,r,s,i,o,a);continue}const c=this.atn.states[t.context.getReturnState(l)],u=t.context.getParent(l),f={state:c,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new mt(f,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,r,s,i,o-1,a)}return}this.closure_(t,e,r,s,i,o,a)}closure_(t,e,r,s,i,o,a){const l=t.state;l.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(t))continue;const u=l.transitions[c],f=s&&!(u instanceof h0),d=this.getEpsilonTarget(t,u,f,o===0,i,a);if(d!==null){let p=o;if(t.state instanceof Ft){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(d.precedenceFilterSuppressed=!0),d.reachesIntoOuterContext+=1,r.add(d)!==d)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+d)}else{if(!u.isEpsilon&&r.add(d)!==d)continue;u instanceof Ms&&p>=0&&(p+=1)}this.closureCheckingStopState(d,e,r,f,i,p,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(t){const e=t.state;if(e.stateType!==N.STAR_LOOP_ENTRY||e.stateType!==N.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;const r=t.context.length;for(let a=0;a<r;a++)if(this.atn.states[t.context.getReturnState(a)].ruleIndex!==e.ruleIndex)return!1;const i=e.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<r;a++){const l=t.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===N.BLOCK_END&&u===e)&&c!==o&&u!==o&&!(u.stateType===N.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===e))return!1}return!0}getRuleName(t){return this.parser!==null&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,r,s,i,o){switch(e.serializationType){case R.RULE:return this.ruleTransition(t,e);case R.PRECEDENCE:return this.precedenceTransition(t,e,r,s,i);case R.PREDICATE:return this.predTransition(t,e,r,s,i);case R.ACTION:return this.actionTransition(t,e);case R.EPSILON:return new mt({state:e.target},t);case R.ATOM:case R.RANGE:case R.SET:return o&&e.matches(b.EOF,0,1)?new mt({state:e.target},t):null;default:return null}}actionTransition(t,e){if(this.debug){const r=e.actionIndex===-1?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+r)}return new mt({state:e.target},t)}precedenceTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&s)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}predTransition(t,e,r,s,i){this.debug&&(console.log("PRED (collectPredicates="+r+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+We(this.parser.getRuleInvocationStack())));let o=null;if(r&&(e.isCtxDependent&&s||!e.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new mt({state:e.target},t))}else{const a=Q.andContext(t.semanticContext,e.getPredicate());o=new mt({state:e.target,semanticContext:a},t)}else o=new mt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);const r=e.followState,s=Bt.create(t.context,r.stateNumber);return new mt({state:e.target,context:s},t)}getConflictingAlts(t){const e=st.getConflictingAltSubsets(t);return st.getAlts(e)}getConflictingAltsOrUniqueAlt(t){let e=null;return t.uniqueAlt!==dt.INVALID_ALT_NUMBER?(e=new Ee,e.add(t.uniqueAlt)):e=t.conflictingAlts,e}getTokenName(t){if(t===b.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";return""+t}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");const e=t.getDeadEndConfigs();for(let r=0;r<e.length;r++){const s=e[r];let i="no edges";if(s.state.transitions.length>0){const o=s.state.transitions[0];o instanceof Bs?i="Atom "+this.getTokenName(o.label):o instanceof Go&&(i=(o instanceof jo?"~":"")+"Set "+o.set)}console.error(s.toString(this.parser,!0)+":"+i)}}noViableAlt(t,e,r,s){return new ua(this.parser,t,t.get(s),t.LT(1),r,e)}getUniqueAlt(t){let e=dt.INVALID_ALT_NUMBER;for(let r=0;r<t.items.length;r++){const s=t.items[r];if(e===dt.INVALID_ALT_NUMBER)e=s.alt;else if(s.alt!==e)return dt.INVALID_ALT_NUMBER}return e}addDFAEdge(t,e,r,s){if(this.debug&&console.log("EDGE "+e+" -> "+s+" upon "+this.getTokenName(r)),s===null)return null;if(s=this.addDFAState(t,s),e===null||r<-1||r>this.atn.maxTokenType)return s;if(e.edges===null&&(e.edges=[]),e.edges[r+1]=s,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
22
|
+
`+t.toString(i,o))}return s}addDFAState(t,e){if(e===be.ERROR)return e;const r=t.states.get(e);return r!==null?r:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)}reportAttemptingFullContext(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,s,i,e,r)}reportContextSensitivity(t,e,r,s,i){if(this.debug||this.retry_debug){const o=new J(s,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+r+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,s,i,e,r)}reportAmbiguity(t,e,r,s,i,o,a){if(this.debug||this.retry_debug){const l=new J(r,s+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,r,s,i,o,a)}}const p5={ATN:dt,ATNDeserializer:d0,LexerATNSimulator:gt,ParserATNSimulator:d5,PredictionMode:st};class ha{constructor(t,e,r){this.dfa=t,this.literalNames=e||[],this.symbolicNames=r||[]}toString(){if(this.dfa.s0===null)return null;let t="";const e=this.dfa.sortedStates();for(let r=0;r<e.length;r++){const s=e[r];if(s.edges!==null){const i=s.edges.length;for(let o=0;o<i;o++){const a=s.edges[o]||null;a!==null&&a.stateNumber!==2147483647&&(t=t.concat(this.getStateString(s)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(a)),t=t.concat(`
|
|
23
|
+
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+We(t.predicates):e+"=>"+t.prediction.toString():e}}class m0 extends ha{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class g5{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new te,this.s0=null,this.precedenceDfa=!1,t instanceof gn&&t.isPrecedenceDecision){this.precedenceDfa=!0;const r=new Pe(null,new Ut);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new te,t){const e=new Pe(null,new Ut);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,r){return e.stateNumber-r.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new ha(this,t,e).toString()}toLexerString(){return this.s0===null?"":new m0(this).toString()}get states(){return this._states}}const x5={DFA:g5,DFASerializer:ha,LexerDFASerializer:m0,PredPrediction:x0};class _0{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class m5{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class fa{walk(t,e){if(e instanceof Ds||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof Ne)t.visitTerminal(e);else{this.enterRule(t,e);for(let s=0;s<e.getChildCount();s++){const i=e.getChild(s);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const r=e.getRuleContext();t.enterEveryRule(r),r.enterRule(t)}exitRule(t,e){const r=e.getRuleContext();r.exitRule(t),t.exitEveryRule(r)}}fa.DEFAULT=new fa;const _5={Trees:ye,RuleNode:$s,ErrorNode:Ds,TerminalNode:Ne,ParseTreeListener:_0,ParseTreeVisitor:m5,ParseTreeWalker:fa};class Nr extends Ke{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class L0 extends Ke{constructor(t,e,r){super({message:L5(e,r||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof f0?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function L5(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class v5 extends js{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,r,s,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,r,s,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,r,s,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new J(r,s))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const r=e.decision,s=e.atnStartState.ruleIndex,i=t.ruleNames;if(s<0||s>=i.length)return""+r;const o=i[s]||null;return o===null||o.length===0?""+r:`${r} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const r=new Ee;for(let s=0;s<e.items.length;s++)r.add(e.items[s].alt);return`{${r.values().join(", ")}}`}}class da extends Error{constructor(){super(),Error.captureStackTrace(this,da)}}class y5{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class pa extends y5{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof ua?this.reportNoViableAlternative(t,e):e instanceof Nr?this.reportInputMismatch(t,e):e instanceof L0?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const r=this.getErrorRecoverySet(t);this.consumeUntil(t,r)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],r=t.getTokenStream().LA(1),s=t.atn.nextTokens(e);if(s.contains(r)){this.nextTokensContext=null,this.nextTokenState=N.INVALID_STATE_NUMBER;return}else if(s.contains(b.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case N.BLOCK_START:case N.STAR_BLOCK_START:case N.PLUS_BLOCK_START:case N.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new Nr(t);case N.PLUS_LOOP_BACK:case N.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new ae;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const r=t.getTokenStream();let s;r!==null?e.startToken.type===b.EOF?s="<EOF>":s=r.getText(new J(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):s="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(s);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const r="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e.offendingToken,e)}reportFailedPredicate(t,e){const s="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(s,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r=this.getTokenErrorDisplay(e),s=this.getExpectedTokens(t),i="extraneous input "+r+" expecting "+s.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(s,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new Nr(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),r=t._interp.atn,i=r.states[t.state].transitions[0].target;return r.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const s=t.getCurrentToken();return this.reportMatch(t),s}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),s=this.getExpectedTokens(t).first();let i;s===b.EOF?i="<missing EOF>":i="<missing "+t.literalNames[s]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===b.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,s,i,b.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===b.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let r=t._ctx;const s=new ae;for(;r!==null&&r.invokingState>=0;){const o=e.states[r.invokingState].transitions[0],a=e.nextTokens(o.followState);s.addSet(a),r=r.parentCtx}return s.removeOne(b.EPSILON),s}consumeUntil(t,e){let r=t.getTokenStream().LA(1);for(;r!==b.EOF&&!e.contains(r);)t.consume(),r=t.getTokenStream().LA(1)}}class C5 extends pa{constructor(){super()}recover(t,e){let r=t._ctx;for(;r!==null;)r.exception=e,r=r.parentCtx;throw new da(e)}recoverInline(t){this.recover(t,new Nr(t))}sync(t){}}const E5={RecognitionException:Ke,NoViableAltException:ua,LexerNoViableAltException:ca,InputMismatchException:Nr,FailedPredicateException:L0,DiagnosticErrorListener:v5,BailErrorStrategy:C5,DefaultErrorStrategy:pa,ErrorListener:js};class mn{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r<this.strdata.length;){const s=this.strdata.codePointAt(r);this.data.push(s),r+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let r=0;r<this.strdata.length;r++){const s=this.strdata.charCodeAt(r);this.data[r]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?b.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let s=t;s<=e;s++)r+=String.fromCodePoint(this.data[s]);return r}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const ga={},b5={fromString:function(n){return new mn(n,!0)},fromBlob:function(n,t,e,r){const s=new window.FileReader;s.onload=function(i){const o=new mn(i.target.result,!0);e(o)},s.onerror=r,s.readAsText(n,t)},fromBuffer:function(n,t){return new mn(n.toString(t),!0)},fromPath:function(n,t,e){ga.readFile(n,t,function(r,s){let i=null;s!==null&&(i=new mn(s,!0)),e(r,i)})},fromPathSync:function(n,t){const e=ga.readFileSync(n,t);return new mn(e,!0)}};class w5 extends mn{constructor(t,e){const r=ga.readFileSync(t,"utf8");super(r,e),this.fileName=t}}class T5{}class A5 extends T5{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===b.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const r=this.tokenSource.nextToken();if(r.tokenIndex=this.tokens.length,this.tokens.push(r),r.type===b.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,r){if(r===void 0&&(r=null),t<0||e<0)return null;this.lazyInit();const s=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===b.EOF)break;(r===null||r.contains(o.type))&&s.push(o)}return s}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let r=this.tokens[t];for(;r.channel!==this.channel;){if(r.type===b.EOF)return-1;t+=1,this.sync(t),r=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.nextTokenOnChannel(t+1,_t.DEFAULT_TOKEN_CHANNEL),s=t+1,i=r===-1?this.tokens.length-1:r;return this.filterForChannel(s,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const r=this.previousTokenOnChannel(t-1,_t.DEFAULT_TOKEN_CHANNEL);if(r===t-1)return null;const s=r+1,i=t-1;return this.filterForChannel(s,i,e)}filterForChannel(t,e,r){const s=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];r===-1?o.channel!==_t.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===r&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new J(0,this.tokens.length-1));let e=t.start;e instanceof b&&(e=e.tokenIndex);let r=t.stop;if(r instanceof b&&(r=r.tokenIndex),e===null||r===null||e<0||r<0)return"";r>=this.tokens.length&&(r=this.tokens.length-1);let s="";for(let i=e;i<r+1;i++){const o=this.tokens[i];if(o.type===b.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class S5 extends A5{constructor(t,e){super(t),this.channel=e===void 0?b.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,r=1;for(;r<=t;)e=this.previousTokenOnChannel(e-1,this.channel),r+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,r=1;for(;r<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),r+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const r=this.tokens[e];if(r.channel===this.channel&&(t+=1),r.type===b.EOF)break}return t}}class R5 extends _0{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let v0=class extends Vs{constructor(t){super(),this._input=null,this._errHandler=new pa,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const r=new kr;r.generateRuleBypassTransitions=!0,e=new d0(r).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,r){e=e||null,r=r||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const s=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,s,i,t,r)}consume(){const t=this.getCurrentToken();t.type!==b.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let r;this._errHandler.inErrorRecoveryMode(this)?r=this._ctx.addErrorNode(t):r=this._ctx.addTokenNode(t),r.invokingState=this.state,e&&this._parseListeners.forEach(function(s){r instanceof Ds||r.isErrorNode!==void 0&&r.isErrorNode()?s.visitErrorNode(r):r instanceof Ne&&s.visitTerminal(r)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,r){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,r,s){this.state=e,this._precedenceStack.push(s),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,r){const s=this._ctx;s.parentCtx=t,s.invokingState=e,s.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,r=this.getParseListeners();if(r!==null&&r.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let r=this._ctx;const s=e.states[this.state];let i=e.nextTokens(s);if(i.contains(t))return!0;if(!i.contains(b.EPSILON))return!1;for(;r!==null&&r.invokingState>=0&&i.contains(b.EPSILON);){const a=e.states[r.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;r=r.parentCtx}return!!(i.contains(b.EPSILON)&&t===b.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const r=t.ruleIndex;r<0?e.push("n/a"):e.push(this.ruleNames[r]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const r=this._interp.decisionToDFA[e];r.states.length>0&&(t&&console.log(),this.printer.println("Decision "+r.decision+":"),this.printer.print(r.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new R5(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};v0.bypassAltsAtnCache={};class k5{constructor(){this.cache=new Sr}add(t){if(t===Z.EMPTY)return Z.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class y0 extends Ne{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return J.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new J(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===b.EOF?"<EOF>":this.symbol.text}}class C0 extends y0{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class E0 extends Mn{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof C0&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new y0(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new C0(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof e){if(t===0)return s;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let r=0;r<this.children.length;r++){const s=this.children[r];if(s instanceof Ne&&s.symbol.type===t){if(e===0)return s;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof Ne&&s.symbol.type===t&&e.push(s)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let r=0;r<this.children.length;r++){const s=this.children[r];s instanceof t&&e.push(s)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?J.INVALID_INTERVAL:new J(this.start.tokenIndex,this.stop.tokenIndex)}}Mn.EMPTY=new E0;const _={atn:p5,dfa:x5,tree:_5,error:E5,Token:b,CommonToken:xn,CharStreams:b5,InputStream:mn,FileStream:w5,CommonTokenStream:S5,Lexer:_t,Parser:v0,PredictionContextCache:k5,ParserRuleContext:E0,Interval:J,IntervalSet:ae,LL1Analyzer:$n,Utils:{arrayToString:We}},O5=[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],xa=new _.atn.ATNDeserializer().deserialize(O5),N5=xa.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class A extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,xa,N5,new _.PredictionContextCache)}get atn(){return xa}}et(A,"grammarFileName","sequenceLexer.g4"),et(A,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),et(A,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),et(A,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(A,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(A,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),A.EOF=_.Token.EOF,A.WS=1,A.CONSTANT=2,A.READONLY=3,A.STATIC=4,A.AWAIT=5,A.TITLE=6,A.COL=7,A.SOPEN=8,A.SCLOSE=9,A.ARROW=10,A.COLOR=11,A.OR=12,A.AND=13,A.EQ=14,A.NEQ=15,A.GT=16,A.LT=17,A.GTEQ=18,A.LTEQ=19,A.PLUS=20,A.MINUS=21,A.MULT=22,A.DIV=23,A.MOD=24,A.POW=25,A.NOT=26,A.SCOL=27,A.COMMA=28,A.ASSIGN=29,A.OPAR=30,A.CPAR=31,A.OBRACE=32,A.CBRACE=33,A.TRUE=34,A.FALSE=35,A.NIL=36,A.IF=37,A.ELSE=38,A.WHILE=39,A.RETURN=40,A.NEW=41,A.PAR=42,A.GROUP=43,A.OPT=44,A.AS=45,A.TRY=46,A.CATCH=47,A.FINALLY=48,A.IN=49,A.STARTER_LXR=50,A.ANNOTATION_RET=51,A.ANNOTATION=52,A.DOT=53,A.ID=54,A.INT=55,A.FLOAT=56,A.STRING=57,A.CR=58,A.COMMENT=59,A.OTHER=60,A.DIVIDER=61,A.EVENT_PAYLOAD_LXR=62,A.EVENT_END=63,A.TITLE_CONTENT=64,A.TITLE_END=65,A.COMMENT_CHANNEL=2,A.MODIFIER_CHANNEL=3,A.EVENT=1,A.TITLE_MODE=2,A.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},A.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class v extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const I5=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],ma=new _.atn.ATNDeserializer().deserialize(I5),P5=ma.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),M5=new _.PredictionContextCache,m=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,ma,P5,M5),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return ma}sempred(t,e,r){switch(e){case 48:return this.expr_sempred(t,r);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new b0(this,this._ctx,this.state);this.enterRule(t,0,m.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,4,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,3,this._ctx);r===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}title(){let t=new _a(this,this._ctx,this.state);this.enterRule(t,2,m.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(m.TITLE_END))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}head(){let t=new La(this,this._ctx,this.state);this.enterRule(t,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var r=1;do{switch(r){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,7,this._ctx)}while(r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,9,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;){if(r===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}group(){let t=new zs(this,this._ctx,this.state);this.enterRule(t,6,m.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,15,this._ctx);switch(r){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||!(e-52&-32)&&1<<e-52&37;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,14,this._ctx);r===1&&(this.state=166,this.name());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starterExp(){let t=new va(this,this._ctx,this.state);this.enterRule(t,8,m.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starter(){let t=new ya(this,this._ctx,this.state);this.enterRule(t,10,m.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participant(){let t=new Hn(this,this._ctx,this.state);this.enterRule(t,12,m.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,24,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,21,this._ctx);r===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}stereotype(){let t=new Ca(this,this._ctx,this.state);this.enterRule(t,14,m.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,27,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}label(){let t=new Ea(this,this._ctx,this.state);this.enterRule(t,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(m.AS);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}participantType(){let t=new ba(this,this._ctx,this.state);this.enterRule(t,18,m.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(m.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new Gn(this,this._ctx,this.state);this.enterRule(t,20,m.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}width(){let t=new wa(this,this._ctx,this.state);this.enterRule(t,22,m.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(m.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new Zs(this,this._ctx,this.state);this.enterRule(t,24,m.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while(!(e-34&-32)&&1<<e-34&217191919)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ret(){let t=new Ta(this,this._ctx,this.state);this.enterRule(t,26,m.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,30,this._ctx);r===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}divider(){let t=new Aa(this,this._ctx,this.state);this.enterRule(t,28,m.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Sa(this,this._ctx,this.state);this.enterRule(t,30,m.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(m.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new qs(this,this._ctx,this.state);this.enterRule(t,32,m.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,35,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(m.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}par(){let t=new Ra(this,this._ctx,this.state);this.enterRule(t,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(m.PAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}opt(){let t=new ka(this,this._ctx,this.state);this.enterRule(t,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(m.OPT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creation(){let t=new Ws(this,this._ctx,this.state);this.enterRule(t,38,m.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(m.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}creationBody(){let t=new Oa(this,this._ctx,this.state);this.enterRule(t,40,m.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,43,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,41,this._ctx);r===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&15728647&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}message(){let t=new Na(this,this._ctx,this.state);this.enterRule(t,42,m.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new Ia(this,this._ctx,this.state);this.enterRule(t,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}func(){let t=new Ks(this,this._ctx,this.state);this.enterRule(t,46,m.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}from(){let t=new Ys(this,this._ctx,this.state);this.enterRule(t,48,m.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}to(){let t=new Ir(this,this._ctx,this.state);this.enterRule(t,50,m.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}signature(){let t=new Xs(this,this._ctx,this.state);this.enterRule(t,52,m.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}invocation(){let t=new Qs(this,this._ctx,this.state);this.enterRule(t,54,m.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),(!(e&-32)&&1<<e&1142947840||!(e-34&-32)&&1<<e-34&15728775)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignment(){let t=new Pr(this,this._ctx,this.state);this.enterRule(t,56,m.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}asyncMessage(){let t=new Js(this,this._ctx,this.state);this.enterRule(t,58,m.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,56,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,54,this._ctx);r===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,55,this._ctx);r===1&&(this.state=372,this.to());break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}content(){let t=new Pa(this,this._ctx,this.state);this.enterRule(t,60,m.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new Ma(this,this._ctx,this.state);this.enterRule(t,62,m.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}type(){let t=new ti(this,this._ctx,this.state);this.enterRule(t,64,m.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}assignee(){let t=new $a(this,this._ctx,this.state);this.enterRule(t,66,m.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var r=this._interp.adaptivePredict(this._input,58,this._ctx);switch(r){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(m.STRING);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}methodName(){let t=new Da(this,this._ctx,this.state);this.enterRule(t,68,m.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameters(){let t=new ei(this,this._ctx,this.state);this.enterRule(t,70,m.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,59,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(m.COMMA))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameter(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}declaration(){let t=new Fa(this,this._ctx,this.state);this.enterRule(t,74,m.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Ba(this,this._ctx,this.state);this.enterRule(t,76,m.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}tryBlock(){let t=new Ua(this,this._ctx,this.state);this.enterRule(t,78,m.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new ri(this,this._ctx,this.state);this.enterRule(t,80,m.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}finallyBlock(){let t=new Ha(this,this._ctx,this.state);this.enterRule(t,82,m.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ga(this,this._ctx,this.state);this.enterRule(t,84,m.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,65,this._ctx);r!=2&&r!=_.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ifBlock(){let t=new ja(this,this._ctx,this.state);this.enterRule(t,86,m.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new si(this,this._ctx,this.state);this.enterRule(t,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new Va(this,this._ctx,this.state);this.enterRule(t,90,m.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new ee(this,this._ctx,this.state);this.enterRule(t,92,m.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),!(e-34&-32)&&1<<e-34&217191919&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}loop(){let t=new za(this,this._ctx,this.state);this.enterRule(t,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(m.WHILE);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,r=this.state;let s=new V(this,this._ctx,r),i=s;const o=96;this.enterRecursionRule(s,96,m.RULE_expr,t);var a=0;try{this.enterOuterAlt(s,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:s=new A0(this,s),this._ctx=s,i=s,this.state=475,this.atom();break;case 2:s=new I0(this,s),this._ctx=s,i=s,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:s=new N0(this,s),this._ctx=s,i=s,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:s=new T0(this,s),this._ctx=s,i=s,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:s=new P0(this,s),this._ctx=s,i=s,this.state=486,this.creation();break;case 6:s=new M0(this,s),this._ctx=s,i=s,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:s=new w0(this,s),this._ctx=s,i=s,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=s,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(s=new $0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&29360128?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(s=new R0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,s.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(s=new k0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,s.op=this._input.LT(1),a=this._input.LA(1),!(a&-32)&&1<<a&983040?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(s=new D0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,s.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(s=new F0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(s=new S0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(s=new O0(this,new V(this,e,r)),this.pushNewRecursionContext(s,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)s.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return s}atom(){let t=new we(this,this._ctx,this.state);this.enterRule(t,98,m.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new j0(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new B0(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new U0(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(m.ID);break;case 57:t=new H0(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(m.STRING);break;case 36:t=new G0(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(m.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parExpr(){let t=new Mr(this,this._ctx,this.state);this.enterRule(t,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(m.OPAR);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}condition(){let t=new Za(this,this._ctx,this.state);this.enterRule(t,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}inExpr(){let t=new qa(this,this._ctx,this.state);this.enterRule(t,104,m.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=m;et(h,"grammarFileName","java-escape"),et(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),et(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),et(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;let b0=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(_a,0)}head(){return this.getTypedRuleContext(La,0)}block(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterProg(this)}exitRule(t){t instanceof v&&t.exitProg(this)}},_a=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof v&&t.enterTitle(this)}exitRule(t){t instanceof v&&t.exitTitle(this)}};class La extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(zs):this.getTypedRuleContext(zs,e)});et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(va,0)}enterRule(e){e instanceof v&&e.enterHead(this)}exitRule(e){e instanceof v&&e.exitHead(this)}}let zs=class extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Hn):this.getTypedRuleContext(Hn,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(e){e instanceof v&&e.enterGroup(this)}exitRule(e){e instanceof v&&e.exitGroup(this)}};class va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(ya,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterStarterExp(this)}exitRule(t){t instanceof v&&t.exitStarterExp(this)}}class ya extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStarter(this)}exitRule(t){t instanceof v&&t.exitStarter(this)}}let Hn=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(Gn,0)}participantType(){return this.getTypedRuleContext(ba,0)}stereotype(){return this.getTypedRuleContext(Ca,0)}width(){return this.getTypedRuleContext(wa,0)}label(){return this.getTypedRuleContext(Ea,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof v&&t.enterParticipant(this)}exitRule(t){t instanceof v&&t.exitParticipant(this)}};class Ca extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(Gn,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof v&&t.enterStereotype(this)}exitRule(t){t instanceof v&&t.exitStereotype(this)}}class Ea extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(Gn,0)}enterRule(t){t instanceof v&&t.enterLabel(this)}exitRule(t){t instanceof v&&t.exitLabel(this)}}class ba extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof v&&t.enterParticipantType(this)}exitRule(t){t instanceof v&&t.exitParticipantType(this)}}class Gn extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterName(this)}exitRule(t){t instanceof v&&t.exitName(this)}}class wa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof v&&t.enterWidth(this)}exitRule(t){t instanceof v&&t.exitWidth(this)}}class Zs extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(qs):this.getTypedRuleContext(qs,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof v&&e.enterBlock(this)}exitRule(e){e instanceof v&&e.exitBlock(this)}}let Ta=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(V,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Js,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof v&&t.enterRet(this)}exitRule(t){t instanceof v&&t.exitRet(this)}},Aa=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Sa,0)}enterRule(t){t instanceof v&&t.enterDivider(this)}exitRule(t){t instanceof v&&t.exitDivider(this)}};class Sa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof v&&t.enterDividerNote(this)}exitRule(t){t instanceof v&&t.exitDividerNote(this)}}let qs=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ga,0)}par(){return this.getTypedRuleContext(Ra,0)}opt(){return this.getTypedRuleContext(ka,0)}loop(){return this.getTypedRuleContext(za,0)}creation(){return this.getTypedRuleContext(Ws,0)}message(){return this.getTypedRuleContext(Na,0)}asyncMessage(){return this.getTypedRuleContext(Js,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(Ta,0)}divider(){return this.getTypedRuleContext(Aa,0)}tcf(){return this.getTypedRuleContext(Ba,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof v&&t.enterStat(this)}exitRule(t){t instanceof v&&t.exitStat(this)}};class Ra extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterPar(this)}exitRule(t){t instanceof v&&t.exitPar(this)}}class ka extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterOpt(this)}exitRule(t){t instanceof v&&t.exitOpt(this)}}let Ws=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(Oa,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterCreation(this)}exitRule(t){t instanceof v&&t.exitCreation(this)}};class Oa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(Ma,0)}assignment(){return this.getTypedRuleContext(Pr,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof v&&t.enterCreationBody(this)}exitRule(t){t instanceof v&&t.exitCreationBody(this)}}let Na=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(Ia,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterMessage(this)}exitRule(t){t instanceof v&&t.exitMessage(this)}};class Ia extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(Ks,0)}assignment(){return this.getTypedRuleContext(Pr,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ys,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof v&&t.enterMessageBody(this)}exitRule(t){t instanceof v&&t.exitMessageBody(this)}}class Ks extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Xs):this.getTypedRuleContext(Xs,e)});et(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof v&&e.enterFunc(this)}exitRule(e){e instanceof v&&e.exitFunc(this)}}class Ys extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterFrom(this)}exitRule(t){t instanceof v&&t.exitFrom(this)}}class Ir extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterTo(this)}exitRule(t){t instanceof v&&t.exitTo(this)}}class Xs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Da,0)}invocation(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterSignature(this)}exitRule(t){t instanceof v&&t.exitSignature(this)}}class Qs extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof v&&t.enterInvocation(this)}exitRule(t){t instanceof v&&t.exitInvocation(this)}}class Pr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext($a,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(ti,0)}enterRule(t){t instanceof v&&t.enterAssignment(this)}exitRule(t){t instanceof v&&t.exitAssignment(this)}}let Js=class extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(Ir,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Pa,0)}from(){return this.getTypedRuleContext(Ys,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof v&&t.enterAsyncMessage(this)}exitRule(t){t instanceof v&&t.exitAsyncMessage(this)}};class Pa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof v&&t.enterContent(this)}exitRule(t){t instanceof v&&t.exitContent(this)}}class Ma extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterConstruct(this)}exitRule(t){t instanceof v&&t.exitConstruct(this)}}class ti extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterType(this)}exitRule(t){t instanceof v&&t.exitType(this)}}class $a extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(we,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof v&&e.enterAssignee(this)}exitRule(e){e instanceof v&&e.exitAssignee(this)}}class Da extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterMethodName(this)}exitRule(t){t instanceof v&&t.exitMethodName(this)}}class ei extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ni):this.getTypedRuleContext(ni,e)});et(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof v&&e.enterParameters(this)}exitRule(e){e instanceof v&&e.exitParameters(this)}}class ni extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(Fa,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterParameter(this)}exitRule(t){t instanceof v&&t.exitParameter(this)}}class Fa extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(ti,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterDeclaration(this)}exitRule(t){t instanceof v&&t.exitDeclaration(this)}}class Ba extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ri):this.getTypedRuleContext(ri,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Ua,0)}finallyBlock(){return this.getTypedRuleContext(Ha,0)}enterRule(e){e instanceof v&&e.enterTcf(this)}exitRule(e){e instanceof v&&e.exitTcf(this)}}class Ua extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterTryBlock(this)}exitRule(t){t instanceof v&&t.exitTryBlock(this)}}class ri extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}invocation(){return this.getTypedRuleContext(Qs,0)}enterRule(t){t instanceof v&&t.enterCatchBlock(this)}exitRule(t){t instanceof v&&t.exitCatchBlock(this)}}class Ha extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterFinallyBlock(this)}exitRule(t){t instanceof v&&t.exitFinallyBlock(this)}}class Ga extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(si):this.getTypedRuleContext(si,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(ja,0)}elseBlock(){return this.getTypedRuleContext(Va,0)}enterRule(e){e instanceof v&&e.enterAlt(this)}exitRule(e){e instanceof v&&e.exitAlt(this)}}class ja extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterIfBlock(this)}exitRule(t){t instanceof v&&t.exitIfBlock(this)}}class si extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseIfBlock(this)}exitRule(t){t instanceof v&&t.exitElseIfBlock(this)}}class Va extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterElseBlock(this)}exitRule(t){t instanceof v&&t.exitElseBlock(this)}}class ee extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Zs,0)}enterRule(t){t instanceof v&&t.enterBraceBlock(this)}exitRule(t){t instanceof v&&t.exitBraceBlock(this)}}class za extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Mr,0)}braceBlock(){return this.getTypedRuleContext(ee,0)}enterRule(t){t instanceof v&&t.enterLoop(this)}exitRule(t){t instanceof v&&t.exitLoop(this)}}class V extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class w0 extends V{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(Pr,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof v&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=w0;class T0 extends V{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(Ks,0)}to(){return this.getTypedRuleContext(Ir,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof v&&t.enterFuncExpr(this)}exitRule(t){t instanceof v&&t.exitFuncExpr(this)}}h.FuncExprContext=T0;class A0 extends V{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(we,0)}enterRule(t){t instanceof v&&t.enterAtomExpr(this)}exitRule(t){t instanceof v&&t.exitAtomExpr(this)}}h.AtomExprContext=A0;class S0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof v&&e.enterOrExpr(this)}exitRule(e){e instanceof v&&e.exitOrExpr(this)}}h.OrExprContext=S0;class R0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof v&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof v&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=R0;class k0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof v&&e.enterRelationalExpr(this)}exitRule(e){e instanceof v&&e.exitRelationalExpr(this)}}h.RelationalExprContext=k0;class O0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof v&&e.enterPlusExpr(this)}exitRule(e){e instanceof v&&e.exitPlusExpr(this)}}h.PlusExprContext=O0;class N0 extends V{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterNotExpr(this)}exitRule(t){t instanceof v&&t.exitNotExpr(this)}}h.NotExprContext=N0;class I0 extends V{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(V,0)}enterRule(t){t instanceof v&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof v&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=I0;class P0 extends V{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Ws,0)}enterRule(t){t instanceof v&&t.enterCreationExpr(this)}exitRule(t){t instanceof v&&t.exitCreationExpr(this)}}h.CreationExprContext=P0;class M0 extends V{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(V,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof v&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=M0;class $0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof v&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof v&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=$0;class D0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});this.op=null,super.copyFrom(r)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof v&&e.enterEqualityExpr(this)}exitRule(e){e instanceof v&&e.exitEqualityExpr(this)}}h.EqualityExprContext=D0;class F0 extends V{constructor(e,r){super(e);et(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,e)});super.copyFrom(r)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof v&&e.enterAndExpr(this)}exitRule(e){e instanceof v&&e.exitAndExpr(this)}}h.AndExprContext=F0;class we extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class B0 extends we{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof v&&t.enterBooleanAtom(this)}exitRule(t){t instanceof v&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=B0;class U0 extends we{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof v&&t.enterIdAtom(this)}exitRule(t){t instanceof v&&t.exitIdAtom(this)}}h.IdAtomContext=U0;class H0 extends we{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof v&&t.enterStringAtom(this)}exitRule(t){t instanceof v&&t.exitStringAtom(this)}}h.StringAtomContext=H0;class G0 extends we{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof v&&t.enterNilAtom(this)}exitRule(t){t instanceof v&&t.exitNilAtom(this)}}h.NilAtomContext=G0;class j0 extends we{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof v&&t.enterNumberAtom(this)}exitRule(t){t instanceof v&&t.exitNumberAtom(this)}}h.NumberAtomContext=j0;class Mr extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Za,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof v&&t.enterParExpr(this)}exitRule(t){t instanceof v&&t.exitParExpr(this)}}class Za extends _.ParserRuleContext{constructor(t,e,r){e===void 0&&(e=null),r==null&&(r=-1),super(e,r),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(we,0)}expr(){return this.getTypedRuleContext(V,0)}inExpr(){return this.getTypedRuleContext(qa,0)}enterRule(t){t instanceof v&&t.enterCondition(this)}exitRule(t){t instanceof v&&t.exitCondition(this)}}class qa extends _.ParserRuleContext{constructor(e,r,s){r===void 0&&(r=null),s==null&&(s=-1);super(r,s);et(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof v&&e.enterInExpr(this)}exitRule(e){e instanceof v&&e.exitInExpr(this)}}h.ProgContext=b0,h.TitleContext=_a,h.HeadContext=La,h.GroupContext=zs,h.StarterExpContext=va,h.StarterContext=ya,h.ParticipantContext=Hn,h.StereotypeContext=Ca,h.LabelContext=Ea,h.ParticipantTypeContext=ba,h.NameContext=Gn,h.WidthContext=wa,h.BlockContext=Zs,h.RetContext=Ta,h.DividerContext=Aa,h.DividerNoteContext=Sa,h.StatContext=qs,h.ParContext=Ra,h.OptContext=ka,h.CreationContext=Ws,h.CreationBodyContext=Oa,h.MessageContext=Na,h.MessageBodyContext=Ia,h.FuncContext=Ks,h.FromContext=Ys,h.ToContext=Ir,h.SignatureContext=Xs,h.InvocationContext=Qs,h.AssignmentContext=Pr,h.AsyncMessageContext=Js,h.ContentContext=Pa,h.ConstructContext=Ma,h.TypeContext=ti,h.AssigneeContext=$a,h.MethodNameContext=Da,h.ParametersContext=ei,h.ParameterContext=ni,h.DeclarationContext=Fa,h.TcfContext=Ba,h.TryBlockContext=Ua,h.CatchBlockContext=ri,h.FinallyBlockContext=Ha,h.AltContext=Ga,h.IfBlockContext=ja,h.ElseIfBlockContext=si,h.ElseBlockContext=Va,h.BraceBlockContext=ee,h.LoopContext=za,h.ExprContext=V,h.AtomContext=we,h.ParExprContext=Mr,h.ConditionContext=Za,h.InExprContext=qa;function $5(){this.__data__=[],this.size=0}var D5=$5;function F5(n,t){return n===t||n!==n&&t!==t}var ii=F5,B5=ii;function U5(n,t){for(var e=n.length;e--;)if(B5(n[e][0],t))return e;return-1}var oi=U5,H5=oi,G5=Array.prototype,j5=G5.splice;function V5(n){var t=this.__data__,e=H5(t,n);if(e<0)return!1;var r=t.length-1;return e==r?t.pop():j5.call(t,e,1),--this.size,!0}var z5=V5,Z5=oi;function q5(n){var t=this.__data__,e=Z5(t,n);return e<0?void 0:t[e][1]}var W5=q5,K5=oi;function Y5(n){return K5(this.__data__,n)>-1}var X5=Y5,Q5=oi;function J5(n,t){var e=this.__data__,r=Q5(e,n);return r<0?(++this.size,e.push([n,t])):e[r][1]=t,this}var tp=J5,ep=D5,np=z5,rp=W5,sp=X5,ip=tp;function jn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}jn.prototype.clear=ep,jn.prototype.delete=np,jn.prototype.get=rp,jn.prototype.has=sp,jn.prototype.set=ip;var ai=jn,op=ai;function ap(){this.__data__=new op,this.size=0}var lp=ap;function cp(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var up=cp;function hp(n){return this.__data__.get(n)}var fp=hp;function dp(n){return this.__data__.has(n)}var pp=dp,gp=pn,xp=gp.Symbol,V0=xp,z0=V0,Z0=Object.prototype,mp=Z0.hasOwnProperty,_p=Z0.toString,$r=z0?z0.toStringTag:void 0;function Lp(n){var t=mp.call(n,$r),e=n[$r];try{n[$r]=void 0;var r=!0}catch{}var s=_p.call(n);return r&&(t?n[$r]=e:delete n[$r]),s}var vp=Lp,yp=Object.prototype,Cp=yp.toString;function Ep(n){return Cp.call(n)}var bp=Ep,q0=V0,wp=vp,Tp=bp,Ap="[object Null]",Sp="[object Undefined]",W0=q0?q0.toStringTag:void 0;function Rp(n){return n==null?n===void 0?Sp:Ap:W0&&W0 in Object(n)?wp(n):Tp(n)}var li=Rp;function kp(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var _n=kp,Op=li,Np=_n,Ip="[object AsyncFunction]",Pp="[object Function]",Mp="[object GeneratorFunction]",$p="[object Proxy]";function Dp(n){if(!Np(n))return!1;var t=Op(n);return t==Pp||t==Mp||t==Ip||t==$p}var Wa=Dp,Fp=pn,Bp=Fp["__core-js_shared__"],Up=Bp,Ka=Up,K0=function(){var n=/[^.]+$/.exec(Ka&&Ka.keys&&Ka.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function Hp(n){return!!K0&&K0 in n}var Gp=Hp,jp=Function.prototype,Vp=jp.toString;function zp(n){if(n!=null){try{return Vp.call(n)}catch{}try{return n+""}catch{}}return""}var Zp=zp,qp=Wa,Wp=Gp,Kp=_n,Yp=Zp,Xp=/[\\^$.*+?()[\]{}|]/g,Qp=/^\[object .+?Constructor\]$/,Jp=Function.prototype,t9=Object.prototype,e9=Jp.toString,n9=t9.hasOwnProperty,r9=RegExp("^"+e9.call(n9).replace(Xp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s9(n){if(!Kp(n)||Wp(n))return!1;var t=qp(n)?r9:Qp;return t.test(Yp(n))}var i9=s9;function o9(n,t){return n==null?void 0:n[t]}var a9=o9,l9=i9,c9=a9;function u9(n,t){var e=c9(n,t);return l9(e)?e:void 0}var Ya=u9,h9=Ya,f9=pn,d9=h9(f9,"Map"),Y0=d9,p9=Ya,g9=p9(Object,"create"),ci=g9,X0=ci;function x9(){this.__data__=X0?X0(null):{},this.size=0}var m9=x9;function _9(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var L9=_9,v9=ci,y9="__lodash_hash_undefined__",C9=Object.prototype,E9=C9.hasOwnProperty;function b9(n){var t=this.__data__;if(v9){var e=t[n];return e===y9?void 0:e}return E9.call(t,n)?t[n]:void 0}var w9=b9,T9=ci,A9=Object.prototype,S9=A9.hasOwnProperty;function R9(n){var t=this.__data__;return T9?t[n]!==void 0:S9.call(t,n)}var k9=R9,O9=ci,N9="__lodash_hash_undefined__";function I9(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=O9&&t===void 0?N9:t,this}var P9=I9,M9=m9,$9=L9,D9=w9,F9=k9,B9=P9;function Vn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}Vn.prototype.clear=M9,Vn.prototype.delete=$9,Vn.prototype.get=D9,Vn.prototype.has=F9,Vn.prototype.set=B9;var U9=Vn,Q0=U9,H9=ai,G9=Y0;function j9(){this.size=0,this.__data__={hash:new Q0,map:new(G9||H9),string:new Q0}}var V9=j9;function z9(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var Z9=z9,q9=Z9;function W9(n,t){var e=n.__data__;return q9(t)?e[typeof t=="string"?"string":"hash"]:e.map}var ui=W9,K9=ui;function Y9(n){var t=K9(this,n).delete(n);return this.size-=t?1:0,t}var X9=Y9,Q9=ui;function J9(n){return Q9(this,n).get(n)}var t6=J9,e6=ui;function n6(n){return e6(this,n).has(n)}var r6=n6,s6=ui;function i6(n,t){var e=s6(this,n),r=e.size;return e.set(n,t),this.size+=e.size==r?0:1,this}var o6=i6,a6=V9,l6=X9,c6=t6,u6=r6,h6=o6;function zn(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}zn.prototype.clear=a6,zn.prototype.delete=l6,zn.prototype.get=c6,zn.prototype.has=u6,zn.prototype.set=h6;var f6=zn,d6=ai,p6=Y0,g6=f6,x6=200;function m6(n,t){var e=this.__data__;if(e instanceof d6){var r=e.__data__;if(!p6||r.length<x6-1)return r.push([n,t]),this.size=++e.size,this;e=this.__data__=new g6(r)}return e.set(n,t),this.size=e.size,this}var _6=m6,L6=ai,v6=lp,y6=up,C6=fp,E6=pp,b6=_6;function Zn(n){var t=this.__data__=new L6(n);this.size=t.size}Zn.prototype.clear=v6,Zn.prototype.delete=y6,Zn.prototype.get=C6,Zn.prototype.has=E6,Zn.prototype.set=b6;var w6=Zn,T6=Ya,A6=function(){try{var n=T6(Object,"defineProperty");return n({},"",{}),n}catch{}}(),J0=A6,tu=J0;function S6(n,t,e){t=="__proto__"&&tu?tu(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Xa=S6,R6=Xa,k6=ii;function O6(n,t,e){(e!==void 0&&!k6(n[t],e)||e===void 0&&!(t in n))&&R6(n,t,e)}var eu=O6;function N6(n){return function(t,e,r){for(var s=-1,i=Object(t),o=r(t),a=o.length;a--;){var l=o[n?a:++s];if(e(i[l],l,i)===!1)break}return t}}var I6=N6,P6=I6,M6=P6(),$6=M6,Qa={exports:{}};(function(n,t){var e=pn,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Qa,Qa.exports);var D6=pn,F6=D6.Uint8Array,B6=F6,nu=B6;function U6(n){var t=new n.constructor(n.byteLength);return new nu(t).set(new nu(n)),t}var H6=U6,G6=H6;function j6(n,t){var e=t?G6(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var V6=j6;function z6(n,t){var e=-1,r=n.length;for(t||(t=Array(r));++e<r;)t[e]=n[e];return t}var Z6=z6,q6=_n,ru=Object.create,W6=function(){function n(){}return function(t){if(!q6(t))return{};if(ru)return ru(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),K6=W6;function Y6(n,t){return function(e){return n(t(e))}}var X6=Y6,Q6=X6,J6=Q6(Object.getPrototypeOf,Object),su=J6,t8=Object.prototype;function e8(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||t8;return n===e}var iu=e8,n8=K6,r8=su,s8=iu;function i8(n){return typeof n.constructor=="function"&&!s8(n)?n8(r8(n)):{}}var o8=i8;function a8(n){return n!=null&&typeof n=="object"}var Dr=a8,l8=li,c8=Dr,u8="[object Arguments]";function h8(n){return c8(n)&&l8(n)==u8}var f8=h8,ou=f8,d8=Dr,au=Object.prototype,p8=au.hasOwnProperty,g8=au.propertyIsEnumerable,x8=ou(function(){return arguments}())?ou:function(n){return d8(n)&&p8.call(n,"callee")&&!g8.call(n,"callee")},lu=x8,m8=Array.isArray,cu=m8,_8=9007199254740991;function L8(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=_8}var uu=L8,v8=Wa,y8=uu;function C8(n){return n!=null&&y8(n.length)&&!v8(n)}var Ja=C8,E8=Ja,b8=Dr;function w8(n){return b8(n)&&E8(n)}var T8=w8,hi={exports:{}};function A8(){return!1}var S8=A8;(function(n,t){var e=pn,r=S8,s=t&&!t.nodeType&&t,i=s&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===s,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||r;n.exports=c})(hi,hi.exports);var R8=li,k8=su,O8=Dr,N8="[object Object]",I8=Function.prototype,P8=Object.prototype,hu=I8.toString,M8=P8.hasOwnProperty,$8=hu.call(Object);function D8(n){if(!O8(n)||R8(n)!=N8)return!1;var t=k8(n);if(t===null)return!0;var e=M8.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&hu.call(e)==$8}var F8=D8,B8=li,U8=uu,H8=Dr,G8="[object Arguments]",j8="[object Array]",V8="[object Boolean]",z8="[object Date]",Z8="[object Error]",q8="[object Function]",W8="[object Map]",K8="[object Number]",Y8="[object Object]",X8="[object RegExp]",Q8="[object Set]",J8="[object String]",t7="[object WeakMap]",e7="[object ArrayBuffer]",n7="[object DataView]",r7="[object Float32Array]",s7="[object Float64Array]",i7="[object Int8Array]",o7="[object Int16Array]",a7="[object Int32Array]",l7="[object Uint8Array]",c7="[object Uint8ClampedArray]",u7="[object Uint16Array]",h7="[object Uint32Array]",ft={};ft[r7]=ft[s7]=ft[i7]=ft[o7]=ft[a7]=ft[l7]=ft[c7]=ft[u7]=ft[h7]=!0,ft[G8]=ft[j8]=ft[e7]=ft[V8]=ft[n7]=ft[z8]=ft[Z8]=ft[q8]=ft[W8]=ft[K8]=ft[Y8]=ft[X8]=ft[Q8]=ft[J8]=ft[t7]=!1;function f7(n){return H8(n)&&U8(n.length)&&!!ft[B8(n)]}var d7=f7;function p7(n){return function(t){return n(t)}}var g7=p7,t1={exports:{}};(function(n,t){var e=Qc,r=t&&!t.nodeType&&t,s=r&&!0&&n&&!n.nodeType&&n,i=s&&s.exports===r,o=i&&e.process,a=function(){try{var l=s&&s.require&&s.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(t1,t1.exports);var x7=d7,m7=g7,fu=t1.exports,du=fu&&fu.isTypedArray,_7=du?m7(du):x7,pu=_7;function L7(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var gu=L7,v7=Xa,y7=ii,C7=Object.prototype,E7=C7.hasOwnProperty;function b7(n,t,e){var r=n[t];(!(E7.call(n,t)&&y7(r,e))||e===void 0&&!(t in n))&&v7(n,t,e)}var w7=b7,T7=w7,A7=Xa;function S7(n,t,e,r){var s=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=r?r(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),s?A7(e,a,l):T7(e,a,l)}return e}var R7=S7;function k7(n,t){for(var e=-1,r=Array(n);++e<n;)r[e]=t(e);return r}var O7=k7,N7=9007199254740991,I7=/^(?:0|[1-9]\d*)$/;function P7(n,t){var e=typeof n;return t=t??N7,!!t&&(e=="number"||e!="symbol"&&I7.test(n))&&n>-1&&n%1==0&&n<t}var xu=P7,M7=O7,$7=lu,D7=cu,F7=hi.exports,B7=xu,U7=pu,H7=Object.prototype,G7=H7.hasOwnProperty;function j7(n,t){var e=D7(n),r=!e&&$7(n),s=!e&&!r&&F7(n),i=!e&&!r&&!s&&U7(n),o=e||r||s||i,a=o?M7(n.length,String):[],l=a.length;for(var c in n)(t||G7.call(n,c))&&!(o&&(c=="length"||s&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||B7(c,l)))&&a.push(c);return a}var V7=j7;function z7(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var Z7=z7,q7=_n,W7=iu,K7=Z7,Y7=Object.prototype,X7=Y7.hasOwnProperty;function Q7(n){if(!q7(n))return K7(n);var t=W7(n),e=[];for(var r in n)r=="constructor"&&(t||!X7.call(n,r))||e.push(r);return e}var J7=Q7,tg=V7,eg=J7,ng=Ja;function rg(n){return ng(n)?tg(n,!0):eg(n)}var mu=rg,sg=R7,ig=mu;function og(n){return sg(n,ig(n))}var ag=og,_u=eu,lg=Qa.exports,cg=V6,ug=Z6,hg=o8,Lu=lu,vu=cu,fg=T8,dg=hi.exports,pg=Wa,gg=_n,xg=F8,mg=pu,yu=gu,_g=ag;function Lg(n,t,e,r,s,i,o){var a=yu(n,e),l=yu(t,e),c=o.get(l);if(c){_u(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=vu(l),p=!d&&dg(l),w=!d&&!p&&mg(l);u=l,d||p||w?vu(a)?u=a:fg(a)?u=ug(a):p?(f=!1,u=lg(l,!0)):w?(f=!1,u=cg(l,!0)):u=[]:xg(l)||Lu(l)?(u=a,Lu(a)?u=_g(a):(!gg(a)||pg(a))&&(u=hg(l))):f=!1}f&&(o.set(l,u),s(u,l,r,i,o),o.delete(l)),_u(n,e,u)}var vg=Lg,yg=w6,Cg=eu,Eg=$6,bg=vg,wg=_n,Tg=mu,Ag=gu;function Cu(n,t,e,r,s){n!==t&&Eg(t,function(i,o){if(s||(s=new yg),wg(i))bg(n,t,o,e,Cu,r,s);else{var a=r?r(Ag(n,o),i,o+"",n,t,s):void 0;a===void 0&&(a=i),Cg(n,o,a)}},Tg)}var Sg=Cu;function Rg(n){return n}var Eu=Rg;function kg(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Og=kg,Ng=Og,bu=Math.max;function Ig(n,t,e){return t=bu(t===void 0?n.length-1:t,0),function(){for(var r=arguments,s=-1,i=bu(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=e(o),Ng(n,this,a)}}var Pg=Ig;function Mg(n){return function(){return n}}var $g=Mg,Dg=$g,wu=J0,Fg=Eu,Bg=wu?function(n,t){return wu(n,"toString",{configurable:!0,enumerable:!1,value:Dg(t),writable:!0})}:Fg,Ug=Bg,Hg=800,Gg=16,jg=Date.now;function Vg(n){var t=0,e=0;return function(){var r=jg(),s=Gg-(r-e);if(e=r,s>0){if(++t>=Hg)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var zg=Vg,Zg=Ug,qg=zg,Wg=qg(Zg),Kg=Wg,Yg=Eu,Xg=Pg,Qg=Kg;function Jg(n,t){return Qg(Xg(n,t,Yg),n+"")}var tx=Jg,ex=ii,nx=Ja,rx=xu,sx=_n;function ix(n,t,e){if(!sx(e))return!1;var r=typeof t;return(r=="number"?nx(e)&&rx(t,e.length):r=="string"&&t in e)?ex(e[t],n):!1}var ox=ix,ax=tx,lx=ox;function cx(n){return ax(function(t,e){var r=-1,s=e.length,i=s>1?e[s-1]:void 0,o=s>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(s--,i):void 0,o&&lx(e[0],e[1],o)&&(i=s<3?void 0:i,s=1),t=Object(t);++r<s;){var a=e[r];a&&n(t,a,r,i)}return t})}var ux=cx,hx=Sg,fx=ux,dx=fx(function(n,t,e,r){hx(n,t,e,r)}),px=dx;let gx=class{constructor(t,e,r,s,i,o,a,l,c,u){this.name=t,this.stereotype=r,this.width=s,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}},xx=class{constructor(){this.participants=new Map}Add(t,e,r,s,i,o,a,l,c,u){const f=new gx(t,e,r,s,i,o,a,l,c,u);this.participants.set(t,px({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}};const mx=h.ProgContext;let Me,Ln=!1,e1;const Zt=new v;let _x=function(n){var c,u,f,d,p,w,I;if(Ln)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",r=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),s=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((w=(p=n.label())==null?void 0:p.name())==null?void 0:w.getFormattedText()),o=!0,a=(I=n.COLOR())==null?void 0:I.getText(),l=n.getComment();Me.Add(e,!1,r,s,e1,i,o,t,a,l)};Zt.enterParticipant=_x;let Tu=function(n){if(Ln)return;let t=n.getFormattedText();Me.Add(t)};Zt.enterFrom=Tu,Zt.enterTo=Tu,Zt.enterStarter=function(n){let t=n.getFormattedText();Me.Add(t,!0)},Zt.enterCreation=function(n){if(Ln)return;const t=n.Owner();Me.Add(t)},Zt.enterParameters=function(){Ln=!0},Zt.exitParameters=function(){Ln=!1},Zt.enterCondition=function(){Ln=!0},Zt.exitCondition=function(){Ln=!1},Zt.enterGroup=function(n){var t;e1=(t=n.name())==null?void 0:t.getFormattedText()},Zt.exitGroup=function(){e1=void 0},Zt.enterRet=function(n){n.asyncMessage()||(Me.Add(n.From()),Me.Add(n.ReturnTo()))};const Lx=_.tree.ParseTreeWalker.DEFAULT;Zt.getParticipants=function(n,t){return Me=new xx,t&&n instanceof mx&&Me.Add(n.Starter(),!0),Lx.walk(this,n),Me};const vx=_.tree.ParseTreeWalker.DEFAULT;var le=new v,It=0,ce=0;le.enterTcf=function(){It++},le.enterOpt=function(){It++},le.enterPar=function(){It++},le.enterAlt=function(){It++},le.enterLoop=function(){It++},le.exitTcf=function(){ce=Math.max(ce,It),It--},le.exitOpt=function(){ce=Math.max(ce,It),It--},le.exitPar=function(){ce=Math.max(ce,It),It--},le.exitAlt=function(){ce=Math.max(ce,It),It--},le.exitLoop=function(){ce=Math.max(ce,It),It--},le.depth=function(n){return function(t){return It=0,ce=0,t.children.map(function(e){vx.walk(n,e)}),ce}};const yx=h.TitleContext;yx.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const Au=h,n1=Au.CreationContext;n1.prototype.Body=n1.prototype.creationBody,n1.prototype.isCurrent=function(n){return Su.bind(this)(n)};const r1=Au.MessageContext;r1.prototype.Body=r1.prototype.messageBody,r1.prototype.isCurrent=function(n){return Su.bind(this)(n)};function Su(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const s1=h,fi=s1.CreationContext,i1=s1.MessageContext,Ru=s1.AsyncMessageContext;fi.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},fi.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},fi.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},i1.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},i1.prototype.Owner=function(){return this.To()||ku(this.parentCtx)};function ku(n){for(;n;){if(n instanceof fi||n instanceof i1)return n.Owner();n=n.parentCtx}}Ru.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},Ru.prototype.Owner=function(){return this.To()||ku(this.parentCtx)};const Cx=h.ProgContext;Cx.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,w,I,q;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,r;const s=(l=this.block())==null?void 0:l.stat();if(s&&s[0]){const $=(f=(u=(c=s[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),j=(p=(d=s[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=$||j}else{const $=(w=this.head())==null?void 0:w.children;if($&&$[0]){const j=$[0];if(j instanceof h.ParticipantContext&&(e=(I=j.name())==null?void 0:I.getFormattedText()),j instanceof h.GroupContext){const ot=j.participant();ot&&ot[0]&&(r=(q=ot[0].name())==null?void 0:q.getFormattedText())}}}return n||t||e||r||"_STARTER_"};const di=h,Ex=di.RetContext,Ou=di.ProgContext,Nu=di.MessageContext,bx=di.CreationContext;Ex.prototype.ReturnTo=function(){var r,s;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof Ou)return e.Starter();{let i=e;for(;i&&!(i instanceof Nu)&&!(i instanceof bx);){if(i instanceof Ou)return i.Starter();i=i.parentCtx}return i instanceof Nu&&((s=(r=i.messageBody())==null?void 0:r.from())==null?void 0:s.getFormattedText())||i.ClosestAncestorStat().Origin()}};const wx=h.StatContext,Tx=h.ProgContext,Ax=h.MessageContext,Sx=h.CreationContext;wx.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Tx)return n.Starter();if(n instanceof Ax||n instanceof Sx){const t=n.Owner();if(t)return t}n=n.parentCtx}};const Rx=h.DividerContext;Rx.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const o1=h,kx=o1.MessageContext,Ox=o1.AsyncMessageContext,Nx=o1.CreationContext;kx.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(r=>r==null?void 0:r.getFormattedText()).join(".")},Ox.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},Nx.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"«"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"»"};const Ix=h.MessageContext;class Px{constructor(t,e){if(e&&!t)throw new Error("assignee must be defined if type is defined");this.assignee=t||"",this.type=e||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}Ix.prototype.Assignment=function(){var r,s;let n=this.messageBody().assignment();const t=(r=n==null?void 0:n.assignee())==null?void 0:r.getFormattedText(),e=(s=n==null?void 0:n.type())==null?void 0:s.getFormattedText();if(t)return new Px(t,e)};const Fr=h,Mx=Fr.CreationContext,$x=Fr.StatContext,Iu=Fr.MessageContext,Dx=Fr.AsyncMessageContext,Fx=Fr.RetContext;Mx.prototype.From=function(){if(this.parentCtx instanceof $x)return this.ClosestAncestorStat().Origin()},Iu.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},Iu.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Dx.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},Fx.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Pu=h,Mu=Pu.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof Mu);)n=n.parentCtx;if(n instanceof Mu)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof Pu.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function Bx(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,s){return t.apply(this,arguments)};case 4:return function(e,r,s,i){return t.apply(this,arguments)};case 5:return function(e,r,s,i,o){return t.apply(this,arguments)};case 6:return function(e,r,s,i,o,a){return t.apply(this,arguments)};case 7:return function(e,r,s,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,r,s,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,r,s,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,r,s,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var $u=Bx;function Ux(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var Hx=Ux;function Gx(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var a1=Gx,jx=a1;function Vx(n){return function t(e){return arguments.length===0||jx(e)?t:n.apply(this,arguments)}}var pi=Vx,l1=pi,Br=a1;function zx(n){return function t(e,r){switch(arguments.length){case 0:return t;case 1:return Br(e)?t:l1(function(s){return n(e,s)});default:return Br(e)&&Br(r)?t:Br(e)?l1(function(s){return n(s,r)}):Br(r)?l1(function(s){return n(e,s)}):n(e,r)}}}var Du=zx,gi=pi,qn=Du,Rt=a1;function Zx(n){return function t(e,r,s){switch(arguments.length){case 0:return t;case 1:return Rt(e)?t:qn(function(i,o){return n(e,i,o)});case 2:return Rt(e)&&Rt(r)?t:Rt(e)?qn(function(i,o){return n(i,r,o)}):Rt(r)?qn(function(i,o){return n(e,i,o)}):gi(function(i){return n(e,r,i)});default:return Rt(e)&&Rt(r)&&Rt(s)?t:Rt(e)&&Rt(r)?qn(function(i,o){return n(i,o,s)}):Rt(e)&&Rt(s)?qn(function(i,o){return n(i,r,o)}):Rt(r)&&Rt(s)?qn(function(i,o){return n(e,i,o)}):Rt(e)?gi(function(i){return n(i,r,s)}):Rt(r)?gi(function(i){return n(e,i,s)}):Rt(s)?gi(function(i){return n(e,r,i)}):n(e,r,s)}}}var c1=Zx,Fu=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function qx(n){return Object.prototype.toString.call(n)==="[object String]"}var Wx=qx,Kx=pi,Yx=Fu,Xx=Wx,Qx=Kx(function(t){return Yx(t)?!0:!t||typeof t!="object"||Xx(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Jx=Qx,tm=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function em(n){return new tm(n)}var nm=em,rm=$u,sm=Du,im=sm(function(t,e){return rm(t.length,function(){return t.apply(e,arguments)})}),om=im,am=Jx,lm=nm,cm=om;function um(n,t,e){for(var r=0,s=e.length;r<s;){if(t=n["@@transducer/step"](t,e[r]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return n["@@transducer/result"](t)}function Bu(n,t,e){for(var r=e.next();!r.done;){if(t=n["@@transducer/step"](t,r.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=e.next()}return n["@@transducer/result"](t)}function Uu(n,t,e,r){return n["@@transducer/result"](e[r](cm(n["@@transducer/step"],n),t))}var Hu=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function hm(n,t,e){if(typeof n=="function"&&(n=lm(n)),am(e))return um(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return Uu(n,t,e,"fantasy-land/reduce");if(e[Hu]!=null)return Bu(n,t,e[Hu]());if(typeof e.next=="function")return Bu(n,t,e);if(typeof e.reduce=="function")return Uu(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var fm=hm,dm=c1,pm=fm,gm=dm(pm),xm=gm,mm=Fu;function _m(n,t){return function(){var e=arguments.length;if(e===0)return t();var r=arguments[e-1];return mm(r)||typeof r[n]!="function"?t.apply(this,arguments):r[n].apply(r,Array.prototype.slice.call(arguments,0,e-1))}}var Gu=_m,Lm=Gu,vm=c1,ym=vm(Lm("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),Cm=ym,Em=Gu,bm=pi,wm=Cm,Tm=bm(Em("tail",wm(1,1/0))),Am=Tm,Sm=$u,Rm=Hx,km=xm,Om=Am;function Nm(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Sm(arguments[0].length,km(Rm,arguments[0],Om(arguments)))}var Im=Nm;const Pm=Im;var Mm=c1,$m=Mm(function(t,e,r){return r.replace(t,e)}),Dm=$m;const Ur=Dm,Fm=Ur(/[\n\r]/g," "),Bm=Ur(/\s+/g," "),Um=Ur(/\s*([,;.()])\s*/g,"$1"),Hm=Ur(/\s+$/g,""),Gm=Ur(/^"(.*)"$/,"$1"),jm=Pm(Fm,Bm,Um,Hm,Gm);class Vm extends _.error.ErrorListener{syntaxError(t,e,r,s,i){}}function zm(n){const t=new _.InputStream(n),e=new A(t),r=new _.CommonTokenStream(e),s=new h(r);return s.addErrorListener(new Vm),s._syntaxErrors?null:s.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return jm(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=A.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(r=>r.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const Zm=h.ProgContext,qm=zm,ju=h.GroupContext,Vu=h.ParticipantContext,zu=function(n){const t=le;return t.depth(t)(n)},xi=function(n,t){return Zt.getParticipants(n,t)};function mi(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const s=document.createElement("div");s.className="textarea-hidden-div ",s.style.fontSize="13px",s.style.fontFamily="Helvetica, Verdana, serif",s.style.display="inline",s.style.whiteSpace="nowrap",s.style.visibility="hidden",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.overflow="hidden",s.style.width="0px",s.style.paddingLeft="20px",s.style.paddingRight="20px",s.style.margin="0px",s.style.border="0px",document.body.appendChild(s),e=s}return e.innerHTML=n,e.scrollWidth}const Wm=100,Zu=20,qu=10,Km=100;var Wn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Wn||{});const Ym=h;class u1 extends v{constructor(){super(...arguments),this.explicitParticipants=[],this.starter="",this.implicitParticipants=[],this.isBlind=!1}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(t){this.starter=t.getFormattedText()}enterParticipant(t){var i,o,a;const e=((i=t==null?void 0:t.name())==null?void 0:i.getFormattedText())||"Missing `Participant` name",r=(a=(o=t.label())==null?void 0:o.name())==null?void 0:a.getFormattedText(),s={name:e,label:r,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(t.ClosestAncestorBlock().parentCtx instanceof Ym.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]){this.starter=e;return}this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=t==null?void 0:t.getFormattedText();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}enterCreation(t){if(this.isBlind)return;const e=t==null?void 0:t.Owner();if(e===this.starter||this.explicitParticipants.some(s=>s.name===e))return;const r={name:e,left:""};this.implicitParticipants.push(r)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),u1._assignLeft(t),t}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(t=>t.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(t){return t.filter((e,r)=>t.findIndex(s=>s.name===e.name)===r)}static _assignLeft(t){t.reduce((e,r)=>(r.left=e.name||"",r),{name:"",left:""})}}function Xm(n){const t=new u1;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function _i(n,t){return{position:n,velocity:t}}function Wu(n,t){return _i(n.position+t.position,n.velocity+t.velocity)}const Ku=Math.sqrt(Number.EPSILON);function Qm(n,t){let e=n.position-t.position;return e<-Ku||Math.abs(e)<=Ku&&n.velocity<t.velocity}function Jm(){return{delta:1/0,dualLessThan:function(n,t){let e=Qm(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function t_(n,t){let e=Array();for(let r=0;r<n;r++){e.push([]);for(let s=0;s<r;s++)t[s][r]>0&&e[r].push({i:s,length:_i(t[s][r],0)})}return e}function e_(n,t){let e=Jm(),r=_i(0,0),s=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(r=Wu(r,t[i-1]));for(let a of n[i]){let l=Wu(s[a.i].maximum,a.length);e.dualLessThan(r,l)&&(o=a.i,r=l)}s.push({argument:o,maximum:r})}return[e.delta,s]}function n_(n,t,e){let r=n.length-1;for(;r>0;){let s=n[r].argument;s!==null?r=s:(r--,e[r].velocity=0)}}function r_(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function s_(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function i_(n){const t=n.length;let e=t_(t,n),r=[];for(let s=1;s<t;s++)r.push(_i(0,1));for(;;){let[s,i]=e_(e,r);if(s==1/0)return s_(i);i[t-1].maximum.velocity>0?n_(i,e,r):r_(r,s)}}var Hr=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(Hr||{});class o_ extends v{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(Hr.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(Hr.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(Hr.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let r=e.From();const s=e==null?void 0:e.Owner(),i=e==null?void 0:e.SignatureText();this.ownableMessages.push({from:r,signature:i,type:t,to:s})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function a_(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new o_;return t.walk(e,n),e.result()}class Kn{constructor(t,e){this.m=[],this.participantModels=Xm(t),this.ownableMessages=a_(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex(r=>r.name===t);if(e===-1)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+i_(this.m)[e]+qu}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(r=>{const s=e.findIndex(l=>l.name===r.from),i=e.findIndex(l=>l.name===r.to);if(s===-1||i===-1){console.warn(`Participant ${r.from} or ${r.to} not found`);return}let o=Math.min(s,i),a=Math.max(s,i);try{let l=this.getMessageWidth(r);this.m[o][a]=Math.max(l+qu,this.m[o][a])}catch{console.warn(`Could not set message gap between ${r.from} and ${r.to}`)}})}getMessageWidth(t){const e=Kn.half(this.widthProvider,t.to);let r=this.widthProvider(t.signature,Wn.MessageContent);return t.type===Hr.CreationMessage&&(r+=e),r}withParticipantGaps(t){this.m=t.map((e,r)=>t.map((s,i)=>i-r===1?this.getParticipantGap(s):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const r=Kn.half(this.widthProvider,e),s=Kn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&r||0)+(o&&s||0)}labelOrName(t){const e=this.participantModels.findIndex(r=>r.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return Zu/2;const r=this.halfWithMargin(t,e);return Math.max(r,Wm/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+Zu/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Wn.ParticipantName),Km)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+Kn.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}let Yu=0;setTimeout(function(){Yu||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Xu=()=>(Yu=K4(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>qm(n.code),title:(n,t)=>{var e,r;return(r=(e=t.rootContext)==null?void 0:e.title())==null?void 0:r.content()},participants:(n,t)=>xi(t.rootContext,!0),coordinates:(n,t)=>new Kn(t.rootContext,mi),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(r){return console.error(r),0}},GroupContext:()=>ju,ParticipantContext:()=>Vu,cursor:n=>n.cursor,distance:(n,t)=>(e,r)=>t.centerOf(e)-t.centerOf(r),distance2:(n,t)=>(e,r)=>!e||!r?0:t.centerOf(r)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1});var l_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("div",{staticClass:"tooltip bottom whitespace-normal",attrs:{"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."}},[e("svg",{staticClass:"fill-current h-6 w-6 m-auto",attrs:{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"}},[e("path",{attrs:{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}}),e("path",{attrs:{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"}})])])])},c_=[];const bb="";function tt(n,t,e,r,s,i,o,a){var l=typeof n=="function"?n.options:n;t&&(l.render=t,l.staticRenderFns=e,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i);var c;if(o?(c=function(d){d=d||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!d&&typeof __VUE_SSR_CONTEXT__<"u"&&(d=__VUE_SSR_CONTEXT__),s&&s.call(this,d),d&&d._registeredComponents&&d._registeredComponents.add(o)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(p,w){return c.call(w),u(p,w)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:n,options:l}}const u_={name:"Privacy"},Qu={};var h_=tt(u_,l_,c_,!1,f_,"384a6fbc",null,null);function f_(n){for(let t in Qu)this[t]=Qu[t]}const d_=function(){return h_.exports}();var p_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"title text-skin-title text-base font-semibold"},[n._v(n._s(n.title))])},g_=[];const x_={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},Ju={};var m_=tt(x_,p_,g_,!1,__,null,null,null);function __(n){for(let t in Ju)this[t]=Ju[t]}const L_=function(){return m_.exports}();var h1={exports:{}},v_={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:{}},y_=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},C_=y_,E_=Array.prototype.concat,b_=Array.prototype.slice,eh=th.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var i=t[r];C_(i)?e=E_.call(e,b_.call(i)):e.push(i)}return e};eh.wrap=function(n){return function(){return n(eh(arguments))}};var Li=v_,Gr=th.exports,nh={};for(var f1 in Li)Li.hasOwnProperty(f1)&&(nh[Li[f1]]=f1);var ne=h1.exports={to:{},get:{}};ne.get=function(n){var t=n.substring(0,3).toLowerCase(),e,r;switch(t){case"hsl":e=ne.get.hsl(n),r="hsl";break;case"hwb":e=ne.get.hwb(n),r="hwb";break;default:e=ne.get.rgb(n),r="rgb";break}return e?{model:r,value:e}:null},ne.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=Li[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Ye(o[l],0,255);return o[3]=Ye(o[3],0,1),o},ne.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var r=parseFloat(e[4]),s=(parseFloat(e[1])%360+360)%360,i=Ye(parseFloat(e[2]),0,100),o=Ye(parseFloat(e[3]),0,100),a=Ye(isNaN(r)?1:r,0,1);return[s,i,o,a]}return null},ne.to.hex=function(){var n=Gr(arguments);return"#"+vi(n[0])+vi(n[1])+vi(n[2])+(n[3]<1?vi(Math.round(n[3]*255)):"")},ne.to.rgb=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},ne.to.rgb.percent=function(){var n=Gr(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),r=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+r+"%)":"rgba("+t+"%, "+e+"%, "+r+"%, "+n[3]+")"},ne.to.hsl=function(){var n=Gr(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},ne.to.hwb=function(){var n=Gr(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},ne.to.keyword=function(n){return nh[n.slice(0,3)]};function Ye(n,t,e){return Math.min(Math.max(t,n),e)}function vi(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function w_(n){const t=h1.exports.get.rgb(n);let[e,r,s]=t;return(e*299+r*587+s*114)/1e3}function T_(n){const t=h1.exports.get.rgb(n);let[e,r,s]=t;return`rgb(${e}, ${r}, ${s})`}const A_=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
24
24
|
<g clip-path="url(#clip0_544_54)">
|
|
25
25
|
<path d="M15.5489 4.19771C15.5489 5.18773 15.1485 6.13721 14.4358 6.83726C13.7231 7.53731 12.7565 7.93058 11.7486 7.93058C10.7407 7.93058 9.77403 7.53731 9.06133 6.83726C8.34863 6.13721 7.94824 5.18773 7.94824 4.19771C7.94824 3.20768 8.34863 2.25822 9.06133 1.55818C9.77403 0.858126 10.7407 0.464844 11.7486 0.464844C12.7565 0.464844 13.7231 0.858126 14.4358 1.55818C15.1485 2.25822 15.5489 3.20768 15.5489 4.19771Z" stroke="black"/>
|
|
26
26
|
<path d="M6.54883 11.2152L17.2025 11.2073M11.7471 8.06641V19.5806V8.06641ZM11.7471 19.4385L6.79789 23.5738L11.7471 19.4385ZM11.7551 19.4385L17.1864 23.3055L11.7551 19.4385Z" stroke="black"/>
|
|
@@ -31,12 +31,12 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
31
31
|
</clipPath>
|
|
32
32
|
</defs>
|
|
33
33
|
</svg>
|
|
34
|
-
`,
|
|
34
|
+
`,S_=`<svg width="101" height="78" viewBox="0 0 101 78" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
35
35
|
<path d="M96.3563 39.4479C96.3563 48.4904 92.6755 57.1625 86.1237 63.5566C79.5718 69.9506 70.6856 73.5427 61.4199 73.5427C52.1541 73.5427 43.2679 69.9506 36.7161 63.5566C30.1642 57.1625 26.4834 48.4904 26.4834 39.4479C26.4834 30.147 30.1642 21.2271 36.7161 14.6504C43.2679 8.07366 52.1541 4.37891 61.4199 4.37891C70.6856 4.37891 79.5718 8.07366 86.1237 14.6504C92.6755 21.2271 96.3563 30.147 96.3563 39.4479V39.4479Z" stroke="black" stroke-width="7.56826"/>
|
|
36
36
|
<path d="M27.3611 39.4482H3.93945" stroke="black" stroke-width="8"/>
|
|
37
37
|
<path d="M4.91504 4.37891V74.5168" stroke="black" stroke-width="8"/>
|
|
38
38
|
</svg>
|
|
39
|
-
`,
|
|
39
|
+
`,R_=`<svg width="77" height="86" viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
40
40
|
<g clip-path="url(#clip0_544_57)">
|
|
41
41
|
<path d="M74.0149 46.8888C74.0149 51.5755 73.0918 56.2163 71.2983 60.5463C69.5048 64.8762 66.876 68.8105 63.562 72.1245C60.248 75.4385 56.3137 78.0673 51.9838 79.8608C47.6538 81.6543 43.013 82.5774 38.3263 82.5774C33.6396 82.5774 28.9988 81.6543 24.6689 79.8608C20.3389 78.0673 16.4046 75.4385 13.0907 72.1245C9.77666 68.8105 7.14785 64.8762 5.35433 60.5463C3.56081 56.2163 2.6377 51.5755 2.6377 46.8888C2.6377 42.2021 3.56081 37.5613 5.35433 33.2314C7.14785 28.9014 9.77666 24.9671 13.0907 21.6532C16.4046 18.3392 20.3389 15.7104 24.6689 13.9168C28.9988 12.1233 33.6396 11.2002 38.3263 11.2002C43.013 11.2002 47.6538 12.1233 51.9838 13.9168C56.3137 15.7104 60.248 18.3392 63.562 21.6532C66.876 24.9671 69.5048 28.9014 71.2983 33.2314C73.0918 37.5613 74.0149 42.2021 74.0149 46.8888V46.8888Z" stroke="black" stroke-width="4.98203"/>
|
|
42
42
|
<path d="M47.5352 2.30371L37.5352 11.5001L47.5352 20.6966" stroke="black" stroke-width="6"/>
|
|
@@ -47,10 +47,10 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
47
47
|
</clipPath>
|
|
48
48
|
</defs>
|
|
49
49
|
</svg>
|
|
50
|
-
`,
|
|
50
|
+
`,k_=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
51
51
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.258 0.001L12.514 0.005L12.769 0.01L13.022 0.018L13.273 0.028L13.522 0.04L13.769 0.055L14.015 0.071L14.257 0.09L14.498 0.11L14.737 0.133L14.973 0.157L15.206 0.184L15.437 0.212L15.666 0.243L15.891 0.275L16.114 0.309L16.334 0.345L16.551 0.383L16.765 0.423L16.976 0.464L17.184 0.507L17.389 0.552L17.59 0.598L17.788 0.646L17.982 0.696L18.173 0.747L18.36 0.8L18.543 0.854L18.723 0.91L18.898 0.967L19.07 1.026L19.238 1.086L19.401 1.147L19.561 1.21L19.716 1.274L19.866 1.34L19.94 1.373L20.013 1.406L20.084 1.44L20.154 1.474L20.223 1.509L20.291 1.544L20.358 1.579L20.424 1.614L20.488 1.65L20.552 1.686L20.614 1.722L20.674 1.758L20.734 1.795L20.792 1.832L20.85 1.869L20.905 1.907L20.96 1.945L21.013 1.983L21.065 2.021L21.116 2.06L21.166 2.099L21.214 2.138L21.261 2.177L21.306 2.217L21.35 2.257L21.393 2.297L21.434 2.337L21.474 2.378L21.513 2.419L21.55 2.46L21.586 2.501L21.62 2.542L21.653 2.584L21.685 2.626L21.715 2.668L21.744 2.71L21.771 2.752L21.797 2.795L21.821 2.838L21.844 2.881L21.865 2.924L21.885 2.967L21.903 3.011L21.92 3.054L21.935 3.098L21.948 3.142L21.96 3.186L21.971 3.231L21.98 3.275L21.987 3.32L21.993 3.365L21.997 3.41L21.999 3.455L22 3.5V20.5L21.999 20.545L21.997 20.59L21.993 20.635L21.987 20.68L21.98 20.725L21.971 20.769L21.96 20.814L21.948 20.858L21.935 20.902L21.92 20.946L21.903 20.989L21.885 21.033L21.865 21.076L21.844 21.119L21.821 21.162L21.797 21.205L21.771 21.248L21.744 21.29L21.715 21.332L21.685 21.374L21.653 21.416L21.62 21.458L21.586 21.499L21.55 21.54L21.513 21.581L21.474 21.622L21.434 21.663L21.393 21.703L21.35 21.743L21.306 21.783L21.261 21.823L21.214 21.862L21.166 21.901L21.116 21.94L21.065 21.979L21.013 22.017L20.96 22.055L20.905 22.093L20.85 22.131L20.792 22.168L20.734 22.205L20.674 22.242L20.614 22.278L20.552 22.314L20.488 22.35L20.424 22.386L20.358 22.421L20.291 22.456L20.223 22.491L20.154 22.526L20.084 22.56L20.013 22.594L19.94 22.627L19.866 22.66L19.716 22.726L19.561 22.79L19.401 22.853L19.238 22.914L19.07 22.974L18.898 23.033L18.723 23.09L18.543 23.146L18.36 23.2L18.173 23.253L17.982 23.304L17.788 23.354L17.59 23.402L17.389 23.448L17.184 23.493L16.976 23.536L16.765 23.577L16.551 23.617L16.334 23.655L16.114 23.691L15.891 23.725L15.666 23.757L15.437 23.788L15.206 23.816L14.973 23.843L14.737 23.867L14.498 23.89L14.257 23.91L14.015 23.929L13.769 23.945L13.522 23.96L13.273 23.972L13.022 23.982L12.769 23.99L12.514 23.995L12.258 23.999L12 24L11.742 23.999L11.486 23.995L11.231 23.99L10.978 23.982L10.727 23.972L10.478 23.96L10.231 23.945L9.986 23.929L9.743 23.91L9.502 23.89L9.264 23.867L9.028 23.843L8.794 23.816L8.563 23.788L8.335 23.757L8.109 23.725L7.886 23.691L7.666 23.655L7.449 23.617L7.235 23.577L7.024 23.536L6.816 23.493L6.612 23.448L6.411 23.402L6.213 23.354L6.018 23.304L5.828 23.253L5.641 23.2L5.457 23.146L5.278 23.09L5.102 23.033L4.93 22.974L4.763 22.914L4.599 22.853L4.44 22.79L4.285 22.726L4.134 22.66L4.06 22.627L3.988 22.594L3.916 22.56L3.846 22.526L3.777 22.491L3.709 22.456L3.642 22.421L3.576 22.386L3.512 22.35L3.449 22.314L3.387 22.278L3.326 22.242L3.266 22.205L3.208 22.168L3.151 22.131L3.095 22.093L3.04 22.055L2.987 22.017L2.935 21.979L2.884 21.94L2.835 21.901L2.786 21.862L2.74 21.823L2.694 21.783L2.65 21.743L2.607 21.703L2.566 21.663L2.526 21.622L2.487 21.581L2.45 21.54L2.414 21.499L2.38 21.458L2.347 21.416L2.315 21.374L2.285 21.332L2.256 21.29L2.229 21.248L2.203 21.205L2.179 21.162L2.156 21.119L2.135 21.076L2.115 21.033L2.097 20.989L2.08 20.946L2.065 20.902L2.052 20.858L2.04 20.814L2.029 20.769L2.02 20.725L2.013 20.68L2.007 20.635L2.003 20.59L2.001 20.545L2 20.5V3.5L2.001 3.455L2.003 3.41L2.007 3.365L2.013 3.32L2.02 3.275L2.029 3.231L2.04 3.186L2.052 3.142L2.065 3.098L2.08 3.054L2.097 3.011L2.115 2.967L2.135 2.924L2.156 2.881L2.179 2.838L2.203 2.795L2.229 2.752L2.256 2.71L2.285 2.668L2.315 2.626L2.347 2.584L2.38 2.542L2.414 2.501L2.45 2.46L2.487 2.419L2.526 2.378L2.566 2.337L2.607 2.297L2.65 2.257L2.694 2.217L2.74 2.177L2.786 2.138L2.835 2.099L2.884 2.06L2.935 2.021L2.987 1.983L3.04 1.945L3.095 1.907L3.151 1.869L3.208 1.832L3.266 1.795L3.326 1.758L3.387 1.722L3.449 1.686L3.512 1.65L3.576 1.614L3.642 1.579L3.709 1.544L3.777 1.509L3.846 1.474L3.916 1.44L3.988 1.406L4.06 1.373L4.134 1.34L4.285 1.274L4.44 1.21L4.599 1.147L4.763 1.086L4.93 1.026L5.102 0.967L5.278 0.91L5.457 0.854L5.641 0.8L5.828 0.747L6.018 0.696L6.213 0.646L6.411 0.598L6.612 0.552L6.816 0.507L7.024 0.464L7.235 0.423L7.449 0.383L7.666 0.345L7.886 0.309L8.109 0.275L8.335 0.243L8.563 0.212L8.794 0.184L9.028 0.157L9.264 0.133L9.502 0.11L9.743 0.09L9.986 0.071L10.231 0.055L10.478 0.04L10.727 0.028L10.978 0.018L11.231 0.01L11.486 0.005L11.742 0.001L12 0L12.258 0.001V0.001ZM3 20.5V20.51L3.001 20.531L3.004 20.552L3.008 20.574L3.013 20.595L3.019 20.617L3.026 20.639L3.035 20.662L3.045 20.684L3.056 20.707L3.068 20.73L3.081 20.753L3.096 20.776L3.112 20.8L3.129 20.823L3.147 20.847L3.166 20.871L3.187 20.895L3.209 20.92L3.232 20.944L3.256 20.969L3.308 21.018L3.364 21.068L3.425 21.119L3.491 21.17L3.561 21.221L3.636 21.272L3.715 21.324L3.799 21.376L3.887 21.428L3.979 21.48L4.076 21.532L4.178 21.583L4.283 21.635L4.393 21.687L4.507 21.738L4.626 21.789L4.749 21.84L4.876 21.89L5.007 21.94L5.142 21.99L5.281 22.038L5.425 22.087L5.572 22.134L5.724 22.181L5.879 22.228L6.039 22.273L6.202 22.318L6.369 22.361L6.54 22.404L6.716 22.445L6.894 22.486L7.077 22.525L7.264 22.564L7.454 22.601L7.648 22.636L7.845 22.671L8.047 22.704L8.251 22.735L8.46 22.765L8.672 22.794L8.888 22.821L9.107 22.846L9.329 22.87L9.555 22.891L9.785 22.911L10.018 22.929L10.254 22.945L10.494 22.96L10.737 22.972L10.983 22.982L11.232 22.99L11.485 22.995L11.741 22.999L12 23L12.26 22.999L12.517 22.995L12.771 22.99L13.021 22.982L13.268 22.971L13.512 22.959L13.753 22.945L13.99 22.929L14.223 22.911L14.454 22.89L14.68 22.869L14.904 22.845L15.124 22.819L15.34 22.792L15.552 22.764L15.762 22.733L15.967 22.702L16.169 22.668L16.367 22.634L16.561 22.598L16.752 22.561L16.939 22.522L17.122 22.482L17.301 22.442L17.476 22.4L17.648 22.357L17.816 22.313L17.979 22.268L18.139 22.222L18.294 22.176L18.446 22.129L18.594 22.081L18.737 22.032L18.876 21.983L19.012 21.933L19.143 21.883L19.269 21.833L19.392 21.782L19.51 21.73L19.624 21.679L19.734 21.627L19.84 21.575L19.941 21.523L20.037 21.471L20.129 21.419L20.217 21.366L20.3 21.315L20.379 21.263L20.453 21.211L20.523 21.16L20.588 21.109L20.648 21.058L20.704 21.008L20.755 20.958L20.778 20.934L20.801 20.909L20.822 20.885L20.842 20.861L20.861 20.837L20.879 20.813L20.896 20.789L20.911 20.766L20.925 20.742L20.938 20.719L20.95 20.696L20.96 20.673L20.97 20.651L20.978 20.629L20.984 20.607L20.99 20.585L20.994 20.563L20.998 20.542L20.999 20.521L21 20.5V16.373L20.923 16.428L20.843 16.481L20.76 16.535L20.675 16.588L20.588 16.64L20.498 16.692L20.405 16.743L20.31 16.793L20.213 16.843L20.113 16.892L20.011 16.941L19.906 16.989L19.8 17.036L19.691 17.083L19.58 17.129L19.466 17.174L19.351 17.219L19.233 17.263L19.113 17.306L18.991 17.348L18.867 17.39L18.741 17.431L18.613 17.471L18.483 17.511L18.351 17.549L18.217 17.587L18.082 17.624L17.944 17.661L17.805 17.696L17.663 17.731L17.52 17.765L17.376 17.798L17.229 17.83L17.081 17.861L16.931 17.891L16.78 17.921L16.627 17.95L16.473 17.977L16.317 18.004L16.159 18.03L16 18.055L15.839 18.079L15.677 18.102L15.514 18.124L15.349 18.145L15.183 18.165L15.016 18.184L14.847 18.202L14.678 18.219L14.507 18.235L14.334 18.25L14.161 18.264L13.986 18.277L13.811 18.289L13.634 18.3L13.456 18.31L13.277 18.318L13.098 18.326L12.917 18.332L12.735 18.337L12.553 18.341L12.369 18.344L12.185 18.346H11.815L11.631 18.344L11.447 18.341L11.265 18.337L11.083 18.332L10.902 18.326L10.723 18.318L10.544 18.31L10.366 18.3L10.19 18.289L10.014 18.277L9.839 18.264L9.666 18.25L9.494 18.235L9.323 18.219L9.153 18.202L8.984 18.184L8.817 18.165L8.651 18.145L8.486 18.124L8.323 18.102L8.161 18.079L8 18.055L7.841 18.03L7.684 18.004L7.528 17.977L7.373 17.95L7.22 17.921L7.069 17.891L6.919 17.861L6.771 17.83L6.625 17.798L6.48 17.765L6.337 17.731L6.196 17.696L6.056 17.661L5.919 17.624L5.783 17.587L5.649 17.549L5.517 17.511L5.387 17.471L5.259 17.431L5.133 17.39L5.009 17.348L4.887 17.306L4.767 17.262L4.65 17.219L4.534 17.174L4.421 17.129L4.309 17.083L4.2 17.036L4.094 16.989L3.989 16.941L3.887 16.892L3.787 16.843L3.69 16.793L3.595 16.743L3.502 16.691L3.412 16.64L3.325 16.588L3.24 16.535L3.157 16.481L3.077 16.427L3 16.373V20.5V20.5ZM3 14.846V14.857L3.001 14.878L3.004 14.899L3.008 14.92L3.013 14.942L3.019 14.964L3.026 14.986L3.035 15.008L3.045 15.03L3.056 15.053L3.068 15.076L3.081 15.099L3.096 15.123L3.112 15.146L3.129 15.17L3.147 15.194L3.166 15.218L3.187 15.242L3.209 15.266L3.232 15.291L3.256 15.315L3.308 15.365L3.364 15.415L3.425 15.465L3.491 15.516L3.561 15.567L3.636 15.619L3.715 15.67L3.799 15.722L3.887 15.774L3.979 15.826L4.076 15.878L4.178 15.93L4.283 15.982L4.393 16.033L4.507 16.084L4.626 16.136L4.749 16.186L4.876 16.237L5.007 16.287L5.142 16.336L5.281 16.385L5.425 16.433L5.572 16.481L5.724 16.528L5.879 16.574L6.039 16.619L6.202 16.664L6.369 16.708L6.54 16.75L6.716 16.792L6.894 16.832L7.077 16.872L7.264 16.91L7.454 16.947L7.648 16.983L7.845 17.017L8.047 17.05L8.251 17.082L8.46 17.112L8.672 17.14L8.888 17.167L9.107 17.192L9.329 17.216L9.555 17.238L9.785 17.258L10.018 17.276L10.254 17.292L10.494 17.306L10.737 17.318L10.983 17.328L11.232 17.336L11.485 17.342L11.741 17.345L12 17.346L12.26 17.345L12.517 17.342L12.771 17.336L13.021 17.328L13.268 17.318L13.512 17.306L13.753 17.291L13.99 17.275L14.223 17.257L14.454 17.237L14.68 17.215L14.904 17.191L15.124 17.166L15.34 17.139L15.552 17.11L15.762 17.08L15.967 17.048L16.169 17.015L16.367 16.98L16.561 16.944L16.752 16.907L16.939 16.868L17.122 16.829L17.301 16.788L17.476 16.746L17.648 16.703L17.816 16.659L17.979 16.614L18.139 16.569L18.294 16.522L18.446 16.475L18.594 16.427L18.737 16.379L18.876 16.329L19.012 16.28L19.143 16.23L19.269 16.179L19.392 16.128L19.51 16.077L19.624 16.025L19.734 15.973L19.84 15.921L19.941 15.869L20.037 15.817L20.129 15.765L20.217 15.713L20.3 15.661L20.379 15.609L20.453 15.558L20.523 15.506L20.588 15.455L20.648 15.405L20.704 15.354L20.755 15.305L20.778 15.28L20.801 15.256L20.822 15.231L20.842 15.207L20.861 15.183L20.879 15.159L20.896 15.135L20.911 15.112L20.925 15.089L20.938 15.065L20.95 15.043L20.96 15.02L20.97 14.997L20.978 14.975L20.984 14.953L20.99 14.931L20.994 14.91L20.998 14.888L20.999 14.867L21 14.846V10.707L20.923 10.761L20.843 10.815L20.76 10.869L20.675 10.921L20.588 10.974L20.498 11.025L20.405 11.076L20.31 11.127L20.213 11.177L20.113 11.226L20.011 11.275L19.906 11.323L19.8 11.37L19.691 11.417L19.58 11.463L19.466 11.508L19.351 11.552L19.233 11.596L19.113 11.64L18.991 11.682L18.867 11.724L18.741 11.765L18.613 11.805L18.483 11.844L18.351 11.883L18.217 11.921L18.082 11.958L17.944 11.994L17.805 12.03L17.663 12.065L17.52 12.098L17.376 12.131L17.229 12.164L17.081 12.195L16.931 12.225L16.78 12.255L16.627 12.283L16.473 12.311L16.317 12.338L16.159 12.364L16 12.389L15.839 12.413L15.677 12.436L15.514 12.458L15.349 12.479L15.183 12.499L15.016 12.518L14.847 12.536L14.678 12.553L14.507 12.569L14.334 12.584L14.161 12.598L13.986 12.611L13.811 12.623L13.634 12.634L13.456 12.643L13.277 12.652L13.098 12.659L12.917 12.666L12.735 12.671L12.553 12.675L12.369 12.678L12.185 12.68H11.815L11.631 12.678L11.447 12.675L11.265 12.671L11.083 12.666L10.902 12.659L10.723 12.652L10.544 12.643L10.366 12.634L10.19 12.623L10.014 12.611L9.839 12.598L9.666 12.584L9.494 12.569L9.323 12.553L9.153 12.536L8.984 12.518L8.817 12.499L8.651 12.479L8.486 12.458L8.323 12.436L8.161 12.413L8 12.389L7.841 12.364L7.684 12.338L7.528 12.311L7.373 12.283L7.22 12.255L7.069 12.225L6.919 12.195L6.771 12.164L6.625 12.131L6.48 12.098L6.337 12.065L6.196 12.03L6.056 11.994L5.919 11.958L5.783 11.921L5.649 11.883L5.517 11.844L5.387 11.805L5.259 11.765L5.133 11.724L5.009 11.682L4.887 11.639L4.767 11.596L4.65 11.552L4.534 11.508L4.421 11.462L4.309 11.416L4.2 11.37L4.094 11.323L3.989 11.275L3.887 11.226L3.787 11.177L3.69 11.127L3.595 11.076L3.502 11.025L3.412 10.974L3.325 10.921L3.24 10.869L3.157 10.815L3.077 10.761L3 10.707V14.846V14.846ZM3 9.18V9.191L3.001 9.211L3.004 9.233L3.008 9.254L3.013 9.276L3.019 9.297L3.026 9.319L3.035 9.342L3.045 9.364L3.056 9.387L3.068 9.41L3.081 9.433L3.096 9.456L3.112 9.48L3.129 9.504L3.147 9.527L3.166 9.551L3.187 9.576L3.209 9.6L3.232 9.624L3.256 9.649L3.308 9.699L3.364 9.749L3.425 9.799L3.491 9.85L3.561 9.901L3.636 9.953L3.715 10.004L3.799 10.056L3.887 10.108L3.979 10.16L4.076 10.212L4.178 10.264L4.283 10.315L4.393 10.367L4.507 10.418L4.626 10.469L4.749 10.52L4.876 10.57L5.007 10.62L5.142 10.67L5.281 10.719L5.425 10.767L5.572 10.815L5.724 10.862L5.879 10.908L6.039 10.953L6.202 10.998L6.369 11.041L6.54 11.084L6.716 11.126L6.894 11.166L7.077 11.206L7.264 11.244L7.454 11.281L7.648 11.317L7.845 11.351L8.047 11.384L8.251 11.416L8.46 11.446L8.672 11.474L8.888 11.501L9.107 11.526L9.329 11.55L9.555 11.571L9.785 11.591L10.018 11.609L10.254 11.626L10.494 11.64L10.737 11.652L10.983 11.662L11.232 11.67L11.485 11.676L11.741 11.679L12 11.68L12.26 11.679L12.517 11.676L12.771 11.67L13.021 11.662L13.268 11.652L13.512 11.639L13.753 11.625L13.99 11.609L14.223 11.591L14.454 11.571L14.68 11.549L14.904 11.525L15.124 11.5L15.34 11.473L15.552 11.444L15.762 11.414L15.967 11.382L16.169 11.349L16.367 11.314L16.561 11.278L16.752 11.241L16.939 11.202L17.122 11.163L17.301 11.122L17.476 11.08L17.648 11.037L17.816 10.993L17.979 10.948L18.139 10.903L18.294 10.856L18.446 10.809L18.594 10.761L18.737 10.712L18.876 10.663L19.012 10.614L19.143 10.563L19.269 10.513L19.392 10.462L19.51 10.41L19.624 10.359L19.734 10.307L19.84 10.255L19.941 10.203L20.037 10.151L20.129 10.099L20.217 10.047L20.3 9.995L20.379 9.943L20.453 9.891L20.523 9.84L20.588 9.789L20.648 9.738L20.704 9.688L20.755 9.639L20.778 9.614L20.801 9.589L20.822 9.565L20.842 9.541L20.861 9.517L20.879 9.493L20.896 9.469L20.911 9.446L20.925 9.422L20.938 9.399L20.95 9.376L20.96 9.354L20.97 9.331L20.978 9.309L20.984 9.287L20.99 9.265L20.994 9.243L20.998 9.222L20.999 9.201L21 9.18V5.027L20.923 5.081L20.843 5.135L20.76 5.188L20.675 5.241L20.588 5.294L20.498 5.345L20.405 5.396L20.31 5.447L20.213 5.497L20.113 5.546L20.011 5.594L19.906 5.642L19.8 5.69L19.691 5.736L19.58 5.782L19.466 5.828L19.351 5.872L19.233 5.916L19.113 5.959L18.991 6.002L18.867 6.044L18.741 6.085L18.613 6.125L18.483 6.164L18.351 6.203L18.217 6.241L18.082 6.278L17.944 6.314L17.805 6.35L17.663 6.384L17.52 6.418L17.376 6.451L17.229 6.483L17.081 6.515L16.931 6.545L16.78 6.575L16.627 6.603L16.473 6.631L16.317 6.658L16.159 6.684L16 6.708L15.839 6.732L15.677 6.755L15.514 6.778L15.349 6.799L15.183 6.819L15.016 6.838L14.847 6.856L14.678 6.873L14.507 6.889L14.334 6.904L14.161 6.918L13.986 6.931L13.811 6.943L13.634 6.953L13.456 6.963L13.277 6.972L13.098 6.979L12.917 6.985L12.735 6.991L12.553 6.995L12.369 6.998L12.185 6.999L12 7L11.815 6.999L11.631 6.998L11.447 6.995L11.265 6.991L11.083 6.985L10.902 6.979L10.723 6.972L10.544 6.963L10.366 6.953L10.19 6.943L10.014 6.931L9.839 6.918L9.666 6.904L9.494 6.889L9.323 6.873L9.153 6.856L8.984 6.838L8.817 6.819L8.651 6.799L8.486 6.778L8.323 6.755L8.161 6.732L8 6.708L7.841 6.684L7.684 6.658L7.528 6.631L7.373 6.603L7.22 6.575L7.069 6.545L6.919 6.515L6.771 6.483L6.625 6.451L6.48 6.418L6.337 6.384L6.196 6.35L6.056 6.314L5.919 6.278L5.783 6.241L5.649 6.203L5.517 6.164L5.387 6.125L5.259 6.084L5.133 6.043L5.009 6.002L4.887 5.959L4.767 5.916L4.65 5.872L4.534 5.828L4.421 5.782L4.309 5.736L4.2 5.69L4.094 5.642L3.989 5.594L3.887 5.546L3.787 5.496L3.69 5.447L3.595 5.396L3.502 5.345L3.412 5.293L3.325 5.241L3.24 5.188L3.157 5.135L3.077 5.081L3 5.027V9.18V9.18ZM11.74 1.001L11.483 1.005L11.229 1.01L10.979 1.018L10.732 1.029L10.488 1.041L10.247 1.055L10.01 1.071L9.777 1.089L9.546 1.11L9.32 1.132L9.096 1.155L8.876 1.181L8.66 1.208L8.448 1.236L8.238 1.267L8.033 1.299L7.831 1.332L7.633 1.366L7.439 1.402L7.248 1.44L7.061 1.478L6.878 1.518L6.699 1.559L6.524 1.601L6.352 1.644L6.184 1.687L6.021 1.732L5.861 1.778L5.706 1.824L5.554 1.872L5.406 1.92L5.263 1.968L5.124 2.017L4.988 2.067L4.857 2.117L4.731 2.168L4.608 2.219L4.49 2.27L4.376 2.322L4.266 2.374L4.16 2.426L4.059 2.478L3.963 2.53L3.871 2.582L3.783 2.634L3.7 2.686L3.621 2.738L3.547 2.789L3.477 2.841L3.412 2.892L3.352 2.942L3.296 2.992L3.245 3.042L3.222 3.067L3.199 3.091L3.178 3.115L3.158 3.14L3.139 3.164L3.121 3.188L3.104 3.211L3.089 3.235L3.075 3.258L3.062 3.281L3.05 3.304L3.04 3.327L3.03 3.349L3.022 3.371L3.016 3.394L3.01 3.415L3.006 3.437L3.002 3.458L3.001 3.479L3 3.5L3.001 3.521L3.002 3.542L3.006 3.563L3.01 3.585L3.016 3.606L3.022 3.629L3.03 3.651L3.04 3.673L3.05 3.696L3.062 3.719L3.075 3.742L3.089 3.765L3.104 3.789L3.121 3.812L3.139 3.836L3.158 3.86L3.178 3.885L3.199 3.909L3.222 3.933L3.245 3.958L3.296 4.008L3.352 4.058L3.412 4.108L3.477 4.159L3.547 4.211L3.621 4.262L3.7 4.314L3.783 4.366L3.871 4.418L3.963 4.47L4.059 4.522L4.16 4.574L4.266 4.626L4.376 4.678L4.49 4.73L4.608 4.781L4.731 4.832L4.857 4.883L4.988 4.933L5.124 4.983L5.263 5.032L5.406 5.08L5.554 5.128L5.706 5.176L5.861 5.222L6.021 5.268L6.184 5.313L6.352 5.356L6.524 5.399L6.699 5.441L6.878 5.482L7.061 5.522L7.248 5.56L7.439 5.598L7.633 5.634L7.831 5.668L8.033 5.701L8.238 5.733L8.448 5.764L8.66 5.792L8.876 5.819L9.096 5.845L9.32 5.868L9.546 5.89L9.777 5.911L10.01 5.929L10.247 5.945L10.488 5.959L10.732 5.971L10.979 5.982L11.229 5.99L11.483 5.995L11.74 5.999L12 6L12.26 5.999L12.517 5.995L12.771 5.99L13.021 5.982L13.268 5.971L13.512 5.959L13.753 5.945L13.99 5.929L14.223 5.911L14.454 5.89L14.68 5.868L14.904 5.845L15.124 5.819L15.34 5.792L15.552 5.764L15.762 5.733L15.967 5.701L16.169 5.668L16.367 5.634L16.561 5.598L16.752 5.56L16.939 5.522L17.122 5.482L17.301 5.441L17.476 5.399L17.648 5.356L17.816 5.313L17.979 5.268L18.139 5.222L18.294 5.176L18.446 5.128L18.594 5.08L18.737 5.032L18.876 4.983L19.012 4.933L19.143 4.883L19.269 4.832L19.392 4.781L19.51 4.73L19.624 4.678L19.734 4.626L19.84 4.574L19.941 4.522L20.037 4.47L20.129 4.418L20.217 4.366L20.3 4.314L20.379 4.262L20.453 4.211L20.523 4.159L20.588 4.108L20.648 4.058L20.704 4.008L20.755 3.958L20.778 3.933L20.801 3.909L20.822 3.885L20.842 3.86L20.861 3.836L20.879 3.812L20.896 3.789L20.911 3.765L20.925 3.742L20.938 3.719L20.95 3.696L20.96 3.673L20.97 3.651L20.978 3.629L20.984 3.606L20.99 3.585L20.994 3.563L20.998 3.542L20.999 3.521L21 3.5L20.999 3.479L20.998 3.458L20.994 3.437L20.99 3.415L20.984 3.394L20.978 3.371L20.97 3.349L20.96 3.327L20.95 3.304L20.938 3.281L20.925 3.258L20.911 3.235L20.896 3.211L20.879 3.188L20.861 3.164L20.842 3.14L20.822 3.115L20.801 3.091L20.778 3.067L20.755 3.042L20.704 2.992L20.648 2.942L20.588 2.892L20.523 2.841L20.453 2.789L20.379 2.738L20.3 2.686L20.217 2.634L20.129 2.582L20.037 2.53L19.941 2.478L19.84 2.426L19.734 2.374L19.624 2.322L19.51 2.27L19.392 2.219L19.269 2.168L19.143 2.117L19.012 2.067L18.876 2.017L18.737 1.968L18.594 1.92L18.446 1.872L18.294 1.824L18.139 1.778L17.979 1.732L17.816 1.687L17.648 1.644L17.476 1.601L17.301 1.559L17.122 1.518L16.939 1.478L16.752 1.44L16.561 1.402L16.367 1.366L16.169 1.332L15.967 1.299L15.762 1.267L15.552 1.236L15.34 1.208L15.124 1.181L14.904 1.155L14.68 1.132L14.454 1.11L14.223 1.089L13.99 1.071L13.753 1.055L13.512 1.041L13.268 1.029L13.021 1.018L12.771 1.01L12.517 1.005L12.26 1.001L12 1L11.74 1.001V1.001Z" fill="black"/>
|
|
52
52
|
</svg>
|
|
53
|
-
`,
|
|
53
|
+
`,O_=`<svg width="77" height="80" viewBox="0 0 77 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
54
54
|
<g clip-path="url(#clip0_544_61)">
|
|
55
55
|
<path d="M74.0149 38.8888C74.0149 43.5755 73.0918 48.2163 71.2983 52.5463C69.5048 56.8762 66.876 60.8105 63.562 64.1245C60.248 67.4385 56.3137 70.0673 51.9838 71.8608C47.6538 73.6543 43.013 74.5774 38.3263 74.5774C33.6396 74.5774 28.9988 73.6543 24.6689 71.8608C20.3389 70.0673 16.4046 67.4385 13.0907 64.1245C9.77666 60.8105 7.14785 56.8762 5.35433 52.5463C3.56081 48.2163 2.6377 43.5755 2.6377 38.8888C2.6377 34.2021 3.56081 29.5613 5.35433 25.2314C7.14785 20.9014 9.77666 16.9671 13.0907 13.6532C16.4046 10.3392 20.3389 7.71035 24.6689 5.91683C28.9988 4.12331 33.6396 3.2002 38.3263 3.2002C43.013 3.2002 47.6538 4.12331 51.9838 5.91683C56.3137 7.71035 60.248 10.3392 63.562 13.6532C66.876 16.9671 69.5048 20.9014 71.2983 25.2314C73.0918 29.5613 74.0149 34.2021 74.0149 38.8888V38.8888Z" stroke="black" stroke-width="4.98203"/>
|
|
56
56
|
<path d="M2.69922 75.4727L75.6992 75.5154" stroke="black" stroke-width="8"/>
|
|
@@ -61,7 +61,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
61
61
|
</clipPath>
|
|
62
62
|
</defs>
|
|
63
63
|
</svg>
|
|
64
|
-
`,
|
|
64
|
+
`,N_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
65
65
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
66
66
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
67
67
|
<title>Icon-Architecture/16/Arch_Amazon-CloudWatch_16</title>
|
|
@@ -78,7 +78,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
78
78
|
</g>
|
|
79
79
|
<path d="M18.9074368,18.522369 L16.9527886,16.7879726 C16.8210145,16.9276688 16.6782593,17.0526083 16.5285161,17.1726289 L18.5220975,18.9453925 C18.6388972,19.048689 18.8235806,19.0408188 18.9303974,18.9227657 C19.0352176,18.8086477 19.0252348,18.627633 18.9074368,18.522369 M14.0248095,17.0831053 C15.6769763,17.0831053 17.0196739,15.7589433 17.0196739,14.1317785 C17.0196739,12.5046136 15.6769763,11.1804516 14.0248095,11.1804516 C12.3736409,11.1804516 11.0299451,12.5046136 11.0299451,14.1317785 C11.0299451,15.7589433 12.3736409,17.0831053 14.0248095,17.0831053 M19.6721255,19.5818954 C19.417562,19.8593201 19.0651663,20 18.7137689,20 C18.4062961,20 18.0988234,19.8937522 17.8542428,19.6763378 L15.6510209,17.7186243 C15.1528751,17.9380063 14.6048149,18.0668809 14.0248095,18.0668809 C11.8225858,18.0668809 10.0316569,16.3019875 10.0316569,14.1317785 C10.0316569,11.9625532 11.8225858,10.196676 14.0248095,10.196676 C16.2270331,10.196676 18.017962,11.9625532 18.017962,14.1317785 C18.017962,14.8017297 17.8312821,15.4234758 17.5307974,15.9763577 L19.5762898,17.7924075 C20.1013894,18.2606847 20.1443158,19.0634456 19.6721255,19.5818954 M6.53764845,14.1317785 L9.03336879,14.1317785 L9.03336879,15.1155541 L6.53764845,15.1155541 C5.3127489,15.1155541 4,13.9596177 4,12.2389942 C4,10.8459679 4.75171097,9.77660381 6.03251465,9.30832662 C6.03151636,9.27389447 6.03151636,9.23847855 6.03151636,9.2040464 C6.03151636,7.60934613 7.12963331,5.95463555 8.58713399,5.3555162 C10.2832255,4.65506796 12.0871322,5.00234075 13.4008794,6.28518415 C13.7492819,6.62458674 14.0437769,7.02498342 14.2813695,7.4814553 C14.6028183,7.28273263 14.9731832,7.17451731 15.3585224,7.17451731 C16.2619732,7.17451731 17.2722408,7.81593901 17.5048419,9.21388416 C18.7596901,9.54246521 19.9726102,10.4829547 19.9726102,12.2606372 C19.9726102,12.6334882 19.9206992,12.9876474 19.815879,13.3113096 L18.8645104,13.0142094 C18.9373854,12.7859734 18.9743221,12.5331431 18.9743221,12.2606372 C18.9743221,10.6147806 17.5637409,10.2035624 16.95778,10.1032173 C16.8250077,10.0805905 16.7072097,10.0077911 16.6313398,9.89859199 C16.5544716,9.79037667 16.524523,9.65559941 16.5504785,9.52574103 C16.4736103,8.54196541 15.8596631,8.15829292 15.3585224,8.15829292 C15.0270908,8.15829292 14.7146266,8.31963213 14.5009929,8.60099195 C14.3911812,8.74560697 14.2154825,8.81545504 14.0268061,8.7928282 C13.8461159,8.76626625 13.6933778,8.6432943 13.6314839,8.47310112 C13.4128588,7.87594932 13.0993964,7.37422376 12.6990828,6.98366484 C12.2099216,6.50751744 10.8652275,5.4804557 8.97247321,6.26354109 C7.88234257,6.71115899 7.0298045,8.00285638 7.0298045,9.2040464 C7.0298045,9.33882366 7.03679251,9.47163337 7.05376341,9.60050798 C7.07273089,9.74118789 7.02880621,9.8818678 6.93396884,9.98811557 C6.86009551,10.0707527 6.7602667,10.1258442 6.65245158,10.1465034 C6.02353005,10.3088264 4.99828814,10.7957953 4.99828814,12.2389942 C4.99828814,13.3545957 5.80989639,14.1317785 6.53764845,14.1317785" id="Amazon-CloudWatch_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
80
80
|
</g>
|
|
81
|
-
</svg>`,
|
|
81
|
+
</svg>`,I_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
82
82
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
83
83
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
84
84
|
<title>Icon-Architecture/16/Arch_Amazon-CloudFront_16</title>
|
|
@@ -95,7 +95,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
95
95
|
</g>
|
|
96
96
|
<path d="M16,15.4980737 C16,15.2219556 15.775,14.9978597 15.5,14.9978597 C15.225,14.9978597 15,15.2219556 15,15.4980737 C15,15.7741919 15.225,15.9982877 15.5,15.9982877 C15.775,15.9982877 16,15.7741919 16,15.4980737 M17,15.4980737 C17,16.3254277 16.327,16.9987158 15.5,16.9987158 C14.673,16.9987158 14,16.3254277 14,15.4980737 C14,14.6707197 14.673,13.9974316 15.5,13.9974316 C16.327,13.9974316 17,14.6707197 17,15.4980737 M9,11.4963614 C9,11.2202433 8.775,10.9961474 8.5,10.9961474 C8.225,10.9961474 8,11.2202433 8,11.4963614 C8,11.7724796 8.225,11.9965755 8.5,11.9965755 C8.775,11.9965755 9,11.7724796 9,11.4963614 M10,11.4963614 C10,12.3237155 9.327,12.9970035 8.5,12.9970035 C7.673,12.9970035 7,12.3237155 7,11.4963614 C7,10.6690074 7.673,9.99571934 8.5,9.99571934 C9.327,9.99571934 10,10.6690074 10,11.4963614 M12,7.49464918 C12,7.77076733 12.225,7.99486321 12.5,7.99486321 C12.775,7.99486321 13,7.77076733 13,7.49464918 C13,7.21853103 12.775,6.99443515 12.5,6.99443515 C12.225,6.99443515 12,7.21853103 12,7.49464918 M11,7.49464918 C11,6.66729517 11.673,5.99400708 12.5,5.99400708 C13.327,5.99400708 14,6.66729517 14,7.49464918 C14,8.32200319 13.327,8.99529128 12.5,8.99529128 C11.673,8.99529128 11,8.32200319 11,7.49464918 M19,11.9965755 C19,9.73960976 17.903,7.63971125 16.101,6.33215177 C15.917,6.27312651 15.407,6.42319072 14.566,6.78434525 C14.415,6.84837265 14.287,6.90239576 14.197,6.93540989 L13.857,5.99400708 C13.935,5.96699552 14.044,5.91897498 14.173,5.86395143 C14.394,5.76991119 14.611,5.67987267 14.823,5.59983842 C13.939,5.20867105 12.979,4.99357901 12,4.99357901 C11.313,4.99357901 10.642,5.09162097 10.002,5.28470358 C9.956,5.29770915 9.915,5.32071899 9.87,5.33472499 C10.22,5.46578106 10.637,5.6348534 11.132,5.85694844 L10.724,6.76933883 C9.518,6.22810725 8.828,6.02702121 8.507,5.9519891 C6.692,7.00443943 5.429,8.82721936 5.104,10.9291187 C5.426,10.8871007 5.751,10.86209 6.097,10.8530862 L6.122,11.8535143 C5.725,11.8635185 5.363,11.9055365 5.001,11.9645618 C5.001,11.9745661 5,11.9855708 5,11.9965755 C5,14.29756 6.125,16.4174671 7.976,17.7180236 C7.775,17.0167235 7.604,16.1773644 7.604,15.3310022 C7.604,15.1749354 7.599,15.0098648 7.594,14.8427933 C7.578,14.3655891 7.562,13.8723781 7.65,13.4231859 L8.631,13.6162685 C8.564,13.9534128 8.579,14.388599 8.593,14.8097792 C8.599,14.9888558 8.604,15.1639307 8.604,15.3310022 C8.604,16.2293866 8.853,17.3548682 9.277,18.4433339 C10.504,18.9595548 11.859,19.1086186 13.154,18.8935266 C13.266,18.6874384 13.402,18.4783489 13.546,18.2662582 C13.76,17.9501229 13.981,17.6239833 14.067,17.3278566 L15.028,17.6069761 C14.938,17.9191096 14.774,18.2012303 14.601,18.4743472 C15.199,18.2352449 15.768,17.934116 16.279,17.5369461 C18.009,16.1983734 19,14.1785091 19,11.9965755 M20,11.9965755 C20,14.4906426 18.867,16.7986302 16.892,18.3272843 C16.193,18.8695163 15.416,19.2876952 14.582,19.5688155 C13.76,19.8539375 12.89,20 12,20 C10.686,20 9.381,19.6718596 8.225,19.0525946 C5.619,17.6569975 4,14.9538408 4,11.9965755 C4,11.8315048 4.004,11.6674346 4.018,11.5063657 C4.212,8.17393984 6.502,5.28270273 9.715,4.32629349 C11.729,3.71903366 14.052,3.96513896 15.91,5.01658886 C18.433,6.43019372 20,9.10433794 20,11.9965755 M11.075,8.93526559 L10.419,8.18194326 C9.903,8.63013503 9.765,8.86023349 9.534,9.24039615 C9.467,9.35144367 9.389,9.48149932 9.285,9.64056738 L10.123,10.1858007 C10.233,10.0157279 10.317,9.87766883 10.39,9.75861789 C10.594,9.42147363 10.678,9.28241413 11.075,8.93526559 M10.649,11.3663058 L10.325,12.3117103 C11.438,12.6948743 12.411,13.3071362 13.387,14.2375343 L14.076,13.5132244 C12.993,12.4797822 11.904,11.7974903 10.649,11.3663058 M13.285,9.07432509 L14.121,8.52509009 C15.083,9.99271806 15.624,11.6044077 15.73,13.3161401 L14.732,13.3781666 C14.638,11.8425096 14.15,10.3938897 13.285,9.07432509" id="Amazon-CloudFront_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
97
97
|
</g>
|
|
98
|
-
</svg>`,
|
|
98
|
+
</svg>`,P_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
99
99
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
100
100
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
101
101
|
<title>Icon-Architecture/16/Arch_Amazon-Cognito_16</title>
|
|
@@ -112,7 +112,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
112
112
|
</g>
|
|
113
113
|
<path d="M15.188,16.891 L13.938,15.891 L14.563,15.11 L15.387,15.769 L17.084,13.223 L17.917,13.778 L15.917,16.778 C15.838,16.894 15.715,16.973 15.578,16.995 C15.551,16.998 15.526,17 15.5,17 C15.388,17 15.278,16.962 15.188,16.891 L15.188,16.891 Z M6,12 L8,12 L8,11 L6,11 L6,12 Z M6.001,10 L9.001,10 L9.001,9 L6.001,9 L6.001,10 Z M18.001,7 L18.001,6.5 C18.001,6.224 17.777,6 17.501,6 L10.501,6 C10.224,6 10.001,6.224 10.001,6.5 L10.001,7 L5,7 L5,5.6 C5,5.281 5.198,5 5.422,5 L18.578,5 C18.803,5 19.001,5.281 19.001,5.6 L19.001,7 L18.001,7 Z M15.625,12 C17.487,12 19.001,13.571 19.001,15.5 C19.001,17.43 17.487,19 15.625,19 C13.764,19 12.25,17.43 12.25,15.5 C12.25,13.571 13.764,12 15.625,12 L15.625,12 Z M20,12 L20,5.6 C20,4.718 19.362,4 18.578,4 L5.422,4 C4.638,4 4,4.718 4,5.6 L4,14.4 C4,15.283 4.638,16 5.422,16 L11.299,16 C11.545,18.244 13.379,20 15.625,20 C18.038,20 20,17.982 20,15.5 C20,13.019 18.038,11 15.625,11 C13.379,11 11.545,12.757 11.299,15 L5.422,15 C5.198,15 5,14.72 5,14.4 L5,8 L10.001,8 L10.001,12 L11.001,12 L11.001,8 L11.001,7 L17,7 L17,8 L17,10 L18.001,10 L18.001,8 L19.001,8 L19.001,12 L20,12 Z" id="Amazon-Cognito_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
114
114
|
</g>
|
|
115
|
-
</svg>`,
|
|
115
|
+
</svg>`,M_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
116
116
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
117
117
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
118
118
|
<title>Icon-Architecture/16/Arch_Amazon-DynamoDB_16</title>
|
|
@@ -129,7 +129,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
129
129
|
</g>
|
|
130
130
|
<path d="M14.3871979,13.0634319 L15.4218955,9.61738691 C15.468467,9.46474602 15.4391067,9.29896386 15.3439388,9.17058378 C15.2487709,9.04220369 15.0979197,8.96739955 14.9379567,8.96739955 L14.2383715,8.96739955 L15.2507958,6.94566591 L17.7798316,6.94566591 L16.9881159,9.313116 C16.9374946,9.46676775 16.9628052,9.63659338 17.0589856,9.76800607 C17.153141,9.90042962 17.3060171,9.97826636 17.4690174,9.97826636 L18.095708,9.97826636 L14.3871979,13.0634319 Z M19.9697053,9.29997473 C19.8968108,9.10083397 19.7074875,8.96739955 19.4938659,8.96739955 L18.1706274,8.96739955 L18.9623432,6.59994946 C19.0129644,6.4462977 18.9876538,6.27647207 18.8914735,6.14404852 C18.7963056,6.01263584 18.644442,5.93479909 18.4814417,5.93479909 L14.9379567,5.93479909 C14.7455961,5.93479909 14.5714591,6.04296184 14.485403,6.21379833 L12.9667666,9.24639879 C12.88881,9.40308314 12.8958969,9.58908264 12.9880275,9.73768006 C13.0811706,9.88728835 13.2441709,9.97826636 13.4193203,9.97826636 L14.2576076,9.97826636 L12.9343691,14.3816022 C12.8705863,14.595906 12.9536051,14.8253728 13.1409036,14.9486985 C13.2259472,15.0042962 13.3221275,15.0326005 13.4193203,15.0326005 C13.5347366,15.0326005 13.6491406,14.9931766 13.743296,14.9153399 L19.8178417,9.86100581 C19.980842,9.72453879 20.0425999,9.50113723 19.9697053,9.29997473 L19.9697053,9.29997473 Z M14.8346894,17.6285064 C14.8346894,18.0904726 13.2775809,18.9891332 10.4235568,18.9891332 C7.56953281,18.9891332 6.01242428,18.0904726 6.01242428,17.6285064 L6.01242428,16.562042 C7.04914673,17.1786707 8.74293255,17.495072 10.4235568,17.495072 C12.1041811,17.495072 13.797967,17.1786707 14.8346894,16.562042 L14.8346894,17.6285064 Z M14.8346894,15.1235785 C14.8346894,15.5855446 13.2775809,16.4842052 10.4235568,16.4842052 C7.56953281,16.4842052 6.01242428,15.5855446 6.01242428,15.1235785 C6.01242428,15.0275461 6.08633125,14.9133182 6.21187186,14.7950468 C7.21214704,15.316654 8.74698225,15.6239575 10.4235568,15.6239575 C10.4438053,15.6239575 11.9948393,15.5916098 11.9948393,15.5916098 L11.9948393,14.580743 C11.9745908,14.580743 10.4235568,14.6130907 10.4235568,14.6130907 C8.77128043,14.6130907 7.24656947,14.2886025 6.44574187,13.7680061 C6.17542458,13.5900935 6.0134367,13.3980288 6.01242428,13.252464 L6.01242428,12.1859995 C7.04914673,12.8026283 8.74293255,13.1200404 10.4235568,13.1200404 C10.6898244,13.1200404 11.8348763,13.0391711 12.1922621,13.0138994 L12.213523,12.5054334 L12.1203799,12.0050543 C11.7761557,12.0293151 10.6786878,12.1091736 10.4235568,12.1091736 C7.56953281,12.1091736 6.01242428,11.2095021 6.01242428,10.747536 C6.01242428,10.6474602 6.09139337,10.5281779 6.22503337,10.405863 C7.01877401,10.7566338 8.57183285,11.1508719 12.3178027,11.1963609 L12.3299518,10.1854941 C9.27951741,10.1491029 7.3437622,9.88223402 6.44574187,9.39095274 C6.17542458,9.21304018 6.0134367,9.02097549 6.01242428,8.87541066 L6.01242428,7.80995704 C7.04914673,8.4265858 8.74293255,8.74298711 10.4235568,8.74298711 C10.5015135,8.74298711 12.480803,8.70659591 12.5587596,8.70356331 L12.5152254,7.69370735 C12.4079084,7.69775082 10.5187247,7.73212029 10.4235568,7.73212029 C7.56953281,7.73212029 6.01242428,6.83345969 6.01242428,6.37149356 C6.01242428,5.90952742 7.56953281,5.01086682 10.4235568,5.01086682 C11.7447705,5.01086682 13.0001766,5.21809452 13.8668118,5.5809957 L14.25862,4.64796563 C13.2573324,4.23047763 11.8956217,4 10.4235568,4 C7.72949585,4 5.00101242,4.81374779 5,6.36947182 L5,8.88147587 C5,8.88147587 5.09213061,9.46070255 5.40092001,9.80742987 C5.08808091,10.1551681 5,10.4938084 5,10.7465251 L5,13.2625727 C5.00101242,13.510235 5.09213061,13.8438211 5.39788274,14.1875158 C5.08808091,14.5342431 5,14.8718726 5,15.1235785 L5,17.6335608 C5.00506212,19.1872631 7.7315207,20 10.4235568,20 C13.1186303,20 15.8471137,19.1862522 15.8471137,17.6305282 L15.8471137,15.1235785 L14.8346894,15.1235785 Z" id="Amazon-DynamoDB_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
131
131
|
</g>
|
|
132
|
-
</svg
|
|
132
|
+
</svg>`,$_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
133
133
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
134
134
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
135
135
|
<title>Icon-Architecture/16/Arch_Amazon-Elastic-Block-Store_16</title>
|
|
@@ -146,7 +146,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
146
146
|
</g>
|
|
147
147
|
<path d="M19,16.5 L20,16.5 L20,20 L16.5,20 L16.5,19 L18.293,19 L16.646,17.354 L17.354,16.646 L19,18.293 L19,16.5 Z M6.707,19 L8.5,19 L8.5,20 L5,20 L5,16.5 L6,16.5 L6,18.293 L7.646,16.646 L8.354,17.354 L6.707,19 Z M20,4 L20,7.5 L19,7.5 L19,5.707 L17.354,7.354 L16.646,6.646 L18.293,5 L16.5,5 L16.5,4 L20,4 Z M5,4 L8.5,4 L8.5,5 L6.707,5 L8.354,6.646 L7.646,7.354 L6,5.707 L6,7.5 L5,7.5 L5,4 Z M12.561,15.5 C11.004,15.5 10.17,15.156 10.092,14.996 L10.082,10.053 C10.875,10.342 11.952,10.391 12.561,10.391 C13.161,10.391 14.216,10.337 15.002,10.051 L15.011,14.946 C14.896,15.14 13.955,15.5 12.561,15.5 L12.561,15.5 Z M14.943,8.994 C14.708,9.151 13.956,9.391 12.561,9.391 C11.031,9.391 10.271,9.108 10.119,9.009 C10.322,8.809 11.216,8.5 12.561,8.5 C13.78,8.5 14.684,8.796 14.943,8.994 L14.943,8.994 Z M12.561,7.5 C11.272,7.5 9.092,7.814 9.092,8.992 L9.092,14.996 C9.092,16.392 11.747,16.5 12.561,16.5 C13.838,16.5 16,16.183 16,14.996 L16,8.992 C16,7.812 13.75,7.5 12.561,7.5 L12.561,7.5 Z" id="Amazon-Elastic-Block-Store_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
148
148
|
</g>
|
|
149
|
-
</svg>`,
|
|
149
|
+
</svg>`,D_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
150
150
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
151
151
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
152
152
|
<title>Icon-Architecture/16/Arch_Amazon-EC2_16</title>
|
|
@@ -163,7 +163,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
163
163
|
</g>
|
|
164
164
|
<path d="M15,9 L14,9 L13,9 L12,9 L11,9 L10,9 L10,10 L10,11 L10,12 L10,13 L10,14 L11,14 L12,14 L13,14 L14,14 L15,14 L15,13 L15,12 L15,11 L15,10 L15,9 Z M16,9 L17,9 L17,10 L16,10 L16,11 L17,11 L17,12 L16,12 L16,13 L17,13 L17,14 L16,14 L16,14.308 C16,14.689 15.689,15 15.308,15 L15,15 L15,16 L14,16 L14,15 L13,15 L13,16 L12,16 L12,15 L11,15 L11,16 L10,16 L10,15 L9.692,15 C9.311,15 9,14.689 9,14.308 L9,14 L8,14 L8,13 L9,13 L9,12 L8,12 L8,11 L9,11 L9,10 L8,10 L8,9 L9,9 L9,8.692 C9,8.311 9.311,8 9.692,8 L10,8 L10,7 L11,7 L11,8 L12,8 L12,7 L13,7 L13,8 L14,8 L14,7 L15,7 L15,8 L15.308,8 C15.689,8 16,8.311 16,8.692 L16,9 Z M12,19 L5,19 L5,13 L7,13 L7,12 L4.8,12 C4.358,12 4,12.342 4,12.762 L4,19.219 C4,19.65 4.351,20 4.781,20 L12.2,20 C12.642,20 13,19.658 13,19.238 L13,17 L12,17 L12,19 Z M20,4.781 L20,12.219 C20,12.65 19.649,13 19.219,13 L18,13 L18,12 L19,12 L19,5 L12,5 L12,6 L11,6 L11,4.781 C11,4.35 11.351,4 11.781,4 L19.219,4 C19.649,4 20,4.35 20,4.781 L20,4.781 Z" id="Amazon-EC2_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
165
165
|
</g>
|
|
166
|
-
</svg
|
|
166
|
+
</svg>`,F_=`<?xml version="1.0" encoding="UTF-8"?>
|
|
167
167
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
168
168
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
169
169
|
<title>Icon-Architecture/16/Arch_Amazon-Elastic-Container-Service_16</title>
|
|
@@ -182,7 +182,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
182
182
|
<path d="M14.9951095,10.0569914 L13.036578,8.5362249 L13.036578,5.70726144 C13.036578,5.5354178 12.9471428,5.37549395 12.7994239,5.28510221 L9.99577946,3.56765916 L9.99577946,1.38435098 L14.9951095,4.31065939 L14.9951095,10.0569914 Z M15.7538018,3.60043858 L9.7495813,0.0850938804 C9.59482816,-0.00529785955 9.4008843,-0.0072844912 9.24412139,0.0811206171 C9.08836337,0.169525725 8.99088899,0.333422836 8.99088899,0.512219684 L8.99088899,3.84380096 C8.99088899,4.01564459 9.08132914,4.17556844 9.22804314,4.26596018 L12.0316875,5.98340324 L12.0316875,8.77760065 C12.0316875,8.92957797 12.1030348,9.07360876 12.2246265,9.16797377 L15.1870436,11.4704798 C15.2774838,11.5410053 15.3860119,11.5767646 15.4975548,11.5767646 C15.5719167,11.5767646 15.6472834,11.5598783 15.7166209,11.5261055 C15.889462,11.4436603 16,11.26983 16,11.0801067 L16,4.02756438 C16,3.85174748 15.9065452,3.68884369 15.7538018,3.60043858 L15.7538018,3.60043858 Z M8.53466872,14.959005 L2.00489047,11.6701363 L2.00489047,4.30966608 L6.9871374,1.37143787 L6.9871374,3.55573937 L4.24780599,5.27020248 C4.10310176,5.36158753 4.0146714,5.51952475 4.0146714,5.69037507 L4.0146714,10.2566479 C4.0146714,10.4453779 4.12219468,10.6172216 4.29403095,10.7016534 L8.25631406,12.6425925 C8.39699873,12.7121246 8.56481544,12.710138 8.70650499,12.6396126 L11.816641,11.0751401 L13.9058083,12.8154295 L8.53466872,14.959005 Z M12.2085483,10.1036773 C12.0558049,9.97553953 11.8357339,9.95169995 11.6568634,10.0410984 L8.47538018,11.6413302 L5.01956187,9.94872 L5.01956187,5.96254361 L7.75788839,4.2480805 C7.90359751,4.15669544 7.99202787,3.99875822 7.99202787,3.8279079 L7.99202787,0.497319947 C7.99202787,0.318523099 7.89455349,0.153632672 7.73779058,0.0652275639 C7.57901789,-0.0241708602 7.38507403,-0.0211909127 7.23233068,0.0711874588 L1.24519327,3.60043858 C1.09345481,3.689837 1,3.85174748 1,4.02756438 L1,11.974091 C1,12.1608343 1.1055135,12.3316847 1.2743351,12.4161165 L8.28244121,15.9463609 C8.35278355,15.9821203 8.431165,16 8.51055135,16 C8.57385945,16 8.63716755,15.9880802 8.69846587,15.9642406 L15.0564079,13.4283053 C15.2192001,13.3627465 15.3367723,13.2177224 15.3649092,13.0448854 C15.3920413,12.8730418 15.3267234,12.6992115 15.1920681,12.5869668 L12.2085483,10.1036773 Z" id="Amazon-Elastic-Container-Service_Icon_16_Squid"></path>
|
|
183
183
|
</g>
|
|
184
184
|
</g>
|
|
185
|
-
</svg>`,
|
|
185
|
+
</svg>`,rh=`<?xml version="1.0" encoding="UTF-8"?>
|
|
186
186
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
187
187
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
188
188
|
<title>Icon-Architecture/16/Arch_Amazon-Elastic-File-System_16</title>
|
|
@@ -199,7 +199,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
199
199
|
</g>
|
|
200
200
|
<path d="M19,18.293 L17.354,16.647 L16.646,17.354 L18.293,19 L17,19 L17,20 L19.5,20 C19.776,20 20,19.776 20,19.5 L20,17 L19,17 L19,18.293 Z M6.646,16.647 L5,18.293 L5,17 L4,17 L4,19.5 C4,19.776 4.224,20 4.5,20 L7,20 L7,19 L5.707,19 L7.354,17.354 L6.646,16.647 Z M19.5,4 L17,4 L17,5 L18.293,5 L16.646,6.647 L17.354,7.354 L19,5.707 L19,7 L20,7 L20,4.5 C20,4.224 19.776,4 19.5,4 L19.5,4 Z M5,5.707 L6.646,7.354 L7.354,6.647 L5.707,5 L7,5 L7,4 L4.5,4 C4.224,4 4,4.224 4,4.5 L4,7 L5,7 L5,5.707 Z M15,12.117 C15,12.088 14.976,12.062 14.962,12.048 C14.923,12.012 14.872,11.989 14.854,11.999 L11.487,12 C11.211,12 10.987,11.776 10.987,11.5 L10.987,11.493 L10.451,11.498 C10.449,11.506 10.448,11.513 10.447,11.52 C10.447,11.795 10.225,12 9.948,12 L9.25,12 C9.103,11.989 9.002,12.031 8.979,12.054 L8.998,16 L15,16 L15,12.117 Z M15.644,11.317 C15.874,11.532 16,11.815 16,12.117 L16,16.5 C16,16.776 15.776,17 15.5,17 L8.5,17 C8.224,17 8,16.776 8,16.5 L8,12 C8,11.742 8.105,11.501 8.297,11.323 C8.584,11.055 8.992,10.981 9.284,11.001 L9.555,11.001 C9.649,10.751 9.827,10.5 10.156,10.5 L11.323,10.5 C11.637,10.557 11.803,10.779 11.89,11 L14.82,11 C15.096,10.974 15.41,11.099 15.644,11.317 L15.644,11.317 Z M16.131,10.972 C15.91,10.926 15.747,10.737 15.734,10.512 C15.687,9.71 15.266,9.425 14.918,9.425 C14.691,9.425 14.477,9.539 14.328,9.737 C14.218,9.884 14.035,9.959 13.854,9.932 C13.671,9.904 13.519,9.779 13.457,9.606 C13.292,9.144 13.055,8.757 12.752,8.458 C12.384,8.091 11.368,7.305 9.944,7.903 C9.141,8.241 8.486,9.251 8.486,10.155 C8.486,10.259 8.495,10.363 8.507,10.463 C8.538,10.713 8.377,10.948 8.131,11.009 C7.567,11.149 6.896,11.535 6.896,12.581 C6.896,12.582 6.9,12.709 6.9,12.709 C6.921,13.076 7.082,13.432 7.354,13.704 L6.646,14.411 C6.201,13.965 5.937,13.378 5.901,12.758 L5.896,12.581 C5.896,11.444 6.482,10.567 7.486,10.168 L7.486,10.155 C7.486,8.841 8.377,7.477 9.559,6.981 C10.936,6.404 12.393,6.692 13.456,7.748 C13.712,8.001 13.932,8.296 14.113,8.629 C14.996,8.154 16.402,8.511 16.688,10.083 C17.951,10.46 18.641,11.342 18.641,12.595 C18.641,13.72 18.123,14.543 17.184,14.914 L16.816,13.983 C17.379,13.762 17.641,13.32 17.641,12.595 C17.641,12.272 17.641,11.29 16.131,10.972 L16.131,10.972 Z" id="Amazon-Elastic-File-System_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
201
201
|
</g>
|
|
202
|
-
</svg>`,
|
|
202
|
+
</svg>`,sh={actor:A_,boundary:S_,control:R_,database:k_,entity:O_,cloudwatch:N_,cloudfront:I_,cognito:P_,dynamodb:M_,ebs:$_,ec2:D_,ecs:F_,efs:rh,elasticache:`<?xml version="1.0" encoding="UTF-8"?>
|
|
203
203
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
204
204
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
205
205
|
<title>Icon-Architecture/16/Arch_Amazon-ElastiCache_16</title>
|
|
@@ -233,7 +233,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
233
233
|
</g>
|
|
234
234
|
<path d="M14.9985007,13.6428238 C14.9985007,13.373991 14.7736132,13.1558078 14.4987506,13.1558078 C14.2238881,13.1558078 13.9990005,13.373991 13.9990005,13.6428238 C13.9990005,13.9116567 14.2238881,14.1298398 14.4987506,14.1298398 C14.7736132,14.1298398 14.9985007,13.9116567 14.9985007,13.6428238 M11.0004998,9.7466957 C11.0004998,10.0155285 11.2253873,10.2337117 11.5002499,10.2337117 C11.7751124,10.2337117 12,10.0155285 12,9.7466957 C12,9.47786286 11.7751124,9.25967968 11.5002499,9.25967968 C11.2253873,9.25967968 11.0004998,9.47786286 11.0004998,9.7466957 M8.001999,12.6687918 C8.001999,12.9376246 8.22688656,13.1558078 8.50174913,13.1558078 C8.77661169,13.1558078 9.00149925,12.9376246 9.00149925,12.6687918 C9.00149925,12.399959 8.77661169,12.1817758 8.50174913,12.1817758 C8.22688656,12.1817758 8.001999,12.399959 8.001999,12.6687918 M15.998001,13.6428238 C15.998001,14.2769187 15.5792104,14.8126363 14.9985007,15.0142609 L14.9985007,16.5649199 C14.9985007,16.8337528 14.7746127,17.0519359 14.4987506,17.0519359 L12,17.0519359 L12,19 L11.0004998,19 L11.0004998,16.0779039 L8.50174913,16.0779039 C8.22588706,16.0779039 8.001999,15.8597207 8.001999,15.5908879 L8.001999,14.0402289 C7.42128936,13.8386043 7.00249875,13.3028866 7.00249875,12.6687918 C7.00249875,11.8632673 7.67516242,11.2077437 8.50174913,11.2077437 C9.32833583,11.2077437 10.0009995,11.8632673 10.0009995,12.6687918 C10.0009995,13.3028866 9.5822089,13.8386043 9.00149925,14.0402289 L9.00149925,15.1038719 L11.0004998,15.1038719 L11.0004998,11.1181328 C10.4197901,10.9165082 10.0009995,10.3807906 10.0009995,9.7466957 C10.0009995,8.94117121 10.6736632,8.28564765 11.5002499,8.28564765 C12.3268366,8.28564765 12.9995002,8.94117121 12.9995002,9.7466957 C12.9995002,10.3807906 12.5807096,10.9165082 12,11.1181328 L12,16.0779039 L13.9990005,16.0779039 L13.9990005,15.0142609 C13.4182909,14.8126363 12.9995002,14.2769187 12.9995002,13.6428238 C12.9995002,12.8372993 13.6721639,12.1817758 14.4987506,12.1817758 C15.3253373,12.1817758 15.998001,12.8372993 15.998001,13.6428238 M20,12.0590477 C20,13.8054872 18.8965517,14.9392605 17.0504748,15.0892614 L16.9665167,14.1191255 C17.894053,14.043151 19.0004998,13.6243172 19.0004998,12.0590477 C19.0004998,10.9369628 18.3148426,10.2337117 16.9635182,9.96974904 C16.7406297,9.92591759 16.5767116,9.74182554 16.5627186,9.52072027 C16.4987506,8.45805132 15.888056,8.08207496 15.3843078,8.08207496 C15.0474763,8.08207496 14.7306347,8.23889412 14.5167416,8.51357115 C14.4067966,8.65480579 14.2218891,8.7249361 14.0449775,8.7005853 C13.864068,8.6733124 13.7131434,8.55350646 13.6501749,8.38694698 C13.4312844,7.80739793 13.1174413,7.32232997 12.7186407,6.94635361 C12.2278861,6.48174033 10.8795602,5.48530556 8.97751124,6.24505055 C7.88805597,6.67752077 7.03448276,7.9281779 7.03448276,9.09312021 C7.03448276,9.22169244 7.04247876,9.3512387 7.05847076,9.47786286 C7.08945527,9.7223449 6.92853573,9.9502684 6.68265867,10.0106584 C6.05397301,10.1616333 4.99950025,10.6272207 4.99950025,12.037619 L5.00449775,12.1652172 C5.06246877,13.1850288 5.93203398,14.011982 7.02848576,14.1181515 L6.93053473,15.0873133 C5.34732634,14.9353643 4.09095452,13.7139282 4.007996,12.2470359 L4,12.037619 C4,10.6827405 4.75262369,9.64150024 6.03598201,9.18467922 C6.03498251,9.15448423 6.03498251,9.1233152 6.03498251,9.09312021 C6.03498251,7.53466896 7.13743128,5.92361998 8.59970015,5.34309689 C10.2988506,4.66614462 12.0989505,5.00315971 13.4132934,6.24602458 C13.7631184,6.57524741 14.0589705,6.96583425 14.2978511,7.40999286 C14.6216892,7.21323839 14.9945027,7.10804293 15.3843078,7.10804293 C16.2858571,7.10804293 17.2903548,7.73337149 17.5192404,9.09701634 C19.1224388,9.52072027 20,10.5619605 20,12.0590477" id="AWS-Elastic-Beanstalk_Icon_16_Squid" fill="#FFFFFF"></path>
|
|
235
235
|
</g>
|
|
236
|
-
</svg>`,elasticfilesystem:
|
|
236
|
+
</svg>`,elasticfilesystem:rh,glacier:`<?xml version="1.0" encoding="UTF-8"?>
|
|
237
237
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
238
238
|
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
|
|
239
239
|
<title>Icon-Architecture/16/Arch_Amazon-Glacier_16</title>
|
|
@@ -454,7 +454,7 @@ See more tips at https://vuejs.org/guide/deployment.html`)},0);function C4(n){va
|
|
|
454
454
|
</g>
|
|
455
455
|
</g>
|
|
456
456
|
</svg>
|
|
457
|
-
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'};var D_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"participant",staticClass:"participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",class:{selected:n.selected,"border-transparent":!!n.icon},style:{backgroundColor:n.backgroundColor,color:n.color},on:{click:n.onSelect}},[n.icon?e("div",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${n.entity.name}`},domProps:{innerHTML:n._s(n.icon)}}):n._e(),e("div",{staticClass:"h-5 group flex flex-col justify-center"},[n.comment?e("span",{staticClass:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},[n._v(" "+n._s(n.comment)+" ")]):n._e(),n.stereotype?e("label",{staticClass:"interface leading-4"},[n._v("«"+n._s(n.stereotype)+"»")]):n._e(),e("label",{staticClass:"name leading-4"},[n._v(n._s(n.entity.label||n.entity.name))])])])},F_=[];const B_={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return nh[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&b_(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=E_(n);this.color=t>128?"#000":"#fff"}}},rh={};var U_=tt(B_,D_,F_,!1,H_,null,null,null);function H_(n){for(let t in rh)this[t]=rh[t]}const sh=function(){return U_.exports}();var G_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:n.top+"px",left:n.left+"px"},attrs:{id:n.entity.name}},[e("participant",{attrs:{entity:n.entity}}),e("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},j_=[];const uw="",jr=ir.child({name:"LifeLine"}),V_={name:"life-line",components:{Participant:sh},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...$t(["centerOf"]),...Cr(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){jr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){jr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.$root.$el.querySelector(`[data-to="${this.entity.name}"]`);if(n&&n.attributes["data-type"].value==="creation"){jr.debug(`First message to ${this.entity.name} is creation`);const t=this.$el.getBoundingClientRect().y,e=n.getBoundingClientRect().y;this.top=(e-t)/this.scale}else this.top=0}}},ih={};var z_=tt(V_,G_,j_,!1,Z_,"cf0ddcfa",null,null);function Z_(n){for(let t in ih)this[t]=ih[t]}const oh=function(){return z_.exports}();var q_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.entities.length>0?e("div",{staticClass:"container absolute flex flex-col h-full",style:{left:`${n.left}px`,width:`${n.right-n.left}px`}},[e("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[e("div",{staticClass:"lifeline-group relative flex-grow"},n._l(n.entities,function(r){return e("life-line",{key:r.name,ref:r.name,refInFor:!0,attrs:{inGroup:"true",entity:r,"group-left":n.left}})}),1)])]):n._e()},W_=[];const K_={name:"lifeline-group",props:["context"],computed:{...$t(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(mi(n,Wn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(mi(this.entities.slice(-1).name,Wn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return xi(this.context).Array()}},components:{LifeLine:oh}},ah={};var Y_=tt(K_,q_,W_,!1,X_,null,null,null);function X_(n){for(let t in ah)this[t]=ah[t]}const Q_=function(){return Y_.exports}();var J_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[e("div",{staticClass:"container relative grow"},[n.starterOnTheLeft?e("life-line",{staticClass:"starter",class:{invisible:n.invisibleStarter},attrs:{entity:n.starterParticipant}}):n._e(),n._l(n.explicitGroupAndParticipants,function(r,s){return[r instanceof n.GroupContext?e("life-line-group",{key:s,attrs:{context:r}}):n._e(),r instanceof n.ParticipantContext?e("life-line",{key:s,attrs:{entity:n.getParticipantEntity(r)}}):n._e()]}),n._l(n.implicitParticipants,function(r){return e("life-line",{key:r.name,attrs:{entity:r}})})],2)])},tL=[];const lh=ir.child({name:"LifeLineLayer"}),eL={name:"life-line-layer",props:["context"],computed:{...$t(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof Gu,r=t instanceof ju;return e||r})}},methods:{...Er(["increaseGeneration"]),getParticipantEntity(n){return xi(n).First()}},updated(){lh.debug("LifeLineLayer updated")},mounted(){lh.debug("LifeLineLayer mounted")},components:{LifeLine:oh,LifeLineGroup:Q_}},ch={};var nL=tt(eL,J_,tL,!1,rL,null,null,null);function rL(n){for(let t in ch)this[t]=ch[t]}const sL=function(){return nL.exports}();var iL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message-layer pt-24 pb-10"},[e("block",{style:{"padding-left":n.paddingLeft+"px"},attrs:{context:n.context}})],1)},oL=[];const hw="",uh=ir.child({name:"MessageLayer"}),aL={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...$t(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Er(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){uh.debug("MessageLayer updated")},mounted(){uh.debug("MessageLayer mounted")}},hh={};var lL=tt(aL,iL,oL,!1,cL,null,null,null);function cL(n){for(let t in hh)this[t]=hh[t]}const uL=function(){return lL.exports}(),f1=30,fh=100,Vr={computed:{...$t(["coordinates","distance2"]),localParticipants:function(){return[this.from,...xi(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).find(t=>this.localParticipants.includes(t))},rightParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).reverse().find(t=>this.localParticipants.includes(t))},depth:function(){return Vu(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+f1},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+f1+fh+"px"}}}};var hL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:`${n.width}px`,paddingLeft:`${n.paddingLeft}px`}},[e("life-line-layer",{attrs:{context:n.rootContext.head()}}),e("message-layer",{attrs:{context:n.rootContext.block()}})],1)},fL=[];const fw="",dL={name:"seq-diagram",components:{LifeLineLayer:sL,MessageLayer:uL},computed:{...$t(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+fh},depth:function(){return Vu(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+f1}}},dh={};var pL=tt(dL,hL,fL,!1,gL,null,null,null);function gL(n){for(let t in dh)this[t]=dh[t]}const ph=function(){return pL.exports}();var xL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},n._l(n.types,function(r){return e("li",{key:r,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[e("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[n.icon?e("i",{staticClass:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${r}`},domProps:{innerHTML:n._s(n.icon(r))}}):n._e()]),e("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[e("div",{staticClass:"px-2 py-2 text-xs"},[e("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[n._v("@"+n._s(r))])])])])}),0)},mL=[];const _L={name:"IconList",props:["types"],computed:{},methods:{icon(n){return nh[n==null?void 0:n.toLowerCase()]}}},gh={};var LL=tt(_L,xL,mL,!1,vL,null,null,null);function vL(n){for(let t in gh)this[t]=gh[t]}const yL=function(){return LL.exports}();var CL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[e("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),e("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[n._v("")]),e("div",{staticClass:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},[e("div",[e("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[e("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[n._v(" ZenUML Tips ")]),e("button",{staticClass:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",attrs:{type:"button"},on:{click:function(r){return n.closeTipsDialog()}}},[e("span",{staticClass:"sr-only"},[n._v("Close menu")]),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[e("div",{staticClass:"relative"},[e("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[n._m(0),e("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v("Builtin Icons")]),n._m(1),e("IconList",{attrs:{types:n.standardTypes}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.awsServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.azureServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.googleServices}})],1)])])])])])])])},EL=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[e("div",[e("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v("Declare Participants")]),e("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[e("code",[n._v(`// Define a Starter (optional)
|
|
457
|
+
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'};var B_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"participant",staticClass:"participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",class:{selected:n.selected,"border-transparent":!!n.icon},style:{backgroundColor:n.backgroundColor,color:n.color},on:{click:n.onSelect}},[n.icon?e("div",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${n.entity.name}`},domProps:{innerHTML:n._s(n.icon)}}):n._e(),e("div",{staticClass:"h-5 group flex flex-col justify-center"},[n.comment?e("span",{staticClass:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},[n._v(" "+n._s(n.comment)+" ")]):n._e(),n.stereotype?e("label",{staticClass:"interface leading-4"},[n._v("«"+n._s(n.stereotype)+"»")]):n._e(),e("label",{staticClass:"name leading-4"},[n._v(n._s(n.entity.label||n.entity.name))])])])},U_=[];const H_={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return sh[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&T_(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=w_(n);this.color=t>128?"#000":"#fff"}}},ih={};var G_=tt(H_,B_,U_,!1,j_,null,null,null);function j_(n){for(let t in ih)this[t]=ih[t]}const oh=function(){return G_.exports}();var V_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:n.top+"px",left:n.left+"px"},attrs:{id:n.entity.name}},[e("participant",{attrs:{entity:n.entity}}),e("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},z_=[];const fw="",jr=ir.child({name:"LifeLine"}),Z_={name:"life-line",components:{Participant:oh},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...Dt(["centerOf"]),...Cr(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){jr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){jr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),jr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.$root.$el.querySelector(`[data-to="${this.entity.name}"]`);if(n&&n.attributes["data-type"].value==="creation"){jr.debug(`First message to ${this.entity.name} is creation`);const t=this.$el.getBoundingClientRect().y,e=n.getBoundingClientRect().y;this.top=(e-t)/this.scale}else this.top=0}}},ah={};var q_=tt(Z_,V_,z_,!1,W_,"4bfd9a34",null,null);function W_(n){for(let t in ah)this[t]=ah[t]}const lh=function(){return q_.exports}();var K_=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.entities.length>0?e("div",{staticClass:"container absolute flex flex-col h-full",style:{left:`${n.left}px`,width:`${n.right-n.left}px`}},[e("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[e("div",{staticClass:"lifeline-group relative flex-grow"},n._l(n.entities,function(r){return e("life-line",{key:r.name,ref:r.name,refInFor:!0,attrs:{inGroup:"true",entity:r,"group-left":n.left}})}),1)])]):n._e()},Y_=[];const X_={name:"lifeline-group",props:["context"],computed:{...Dt(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(mi(n,Wn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(mi(this.entities.slice(-1).name,Wn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return xi(this.context).Array()}},components:{LifeLine:lh}},ch={};var Q_=tt(X_,K_,Y_,!1,J_,null,null,null);function J_(n){for(let t in ch)this[t]=ch[t]}const tL=function(){return Q_.exports}();var eL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[e("div",{staticClass:"container relative grow"},[n.starterOnTheLeft?e("life-line",{staticClass:"starter",class:{invisible:n.invisibleStarter},attrs:{entity:n.starterParticipant}}):n._e(),n._l(n.explicitGroupAndParticipants,function(r,s){return[r instanceof n.GroupContext?e("life-line-group",{key:s,attrs:{context:r}}):n._e(),r instanceof n.ParticipantContext?e("life-line",{key:s,attrs:{entity:n.getParticipantEntity(r)}}):n._e()]}),n._l(n.implicitParticipants,function(r){return e("life-line",{key:r.name,attrs:{entity:r}})})],2)])},nL=[];const uh=ir.child({name:"LifeLineLayer"}),rL={name:"life-line-layer",props:["context"],computed:{...Dt(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof ju,r=t instanceof Vu;return e||r})}},methods:{...Er(["increaseGeneration"]),getParticipantEntity(n){return xi(n).First()}},updated(){uh.debug("LifeLineLayer updated")},mounted(){uh.debug("LifeLineLayer mounted")},components:{LifeLine:lh,LifeLineGroup:tL}},hh={};var sL=tt(rL,eL,nL,!1,iL,null,null,null);function iL(n){for(let t in hh)this[t]=hh[t]}const oL=function(){return sL.exports}();var aL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message-layer pt-24 pb-10"},[e("block",{style:{"padding-left":n.paddingLeft+"px"},attrs:{context:n.context}})],1)},lL=[];const dw="",fh=ir.child({name:"MessageLayer"}),cL={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Dt(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Er(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){fh.debug("MessageLayer updated")},mounted(){fh.debug("MessageLayer mounted")}},dh={};var uL=tt(cL,aL,lL,!1,hL,null,null,null);function hL(n){for(let t in dh)this[t]=dh[t]}const fL=function(){return uL.exports}(),d1=30,ph=100,Vr={computed:{...Dt(["coordinates","distance2"]),localParticipants:function(){return[this.from,...xi(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).find(t=>this.localParticipants.includes(t))},rightParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).reverse().find(t=>this.localParticipants.includes(t))},depth:function(){return zu(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+d1},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+d1+ph+"px"}}}};var dL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:`${n.width}px`,paddingLeft:`${n.paddingLeft}px`}},[e("life-line-layer",{attrs:{context:n.rootContext.head()}}),e("message-layer",{attrs:{context:n.rootContext.block()}})],1)},pL=[];const pw="",gL={name:"seq-diagram",components:{LifeLineLayer:oL,MessageLayer:fL},computed:{...Dt(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+ph},depth:function(){return zu(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+d1}}},gh={};var xL=tt(gL,dL,pL,!1,mL,null,null,null);function mL(n){for(let t in gh)this[t]=gh[t]}const p1=function(){return xL.exports}();var _L=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},n._l(n.types,function(r){return e("li",{key:r,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[e("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[n.icon?e("i",{staticClass:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",attrs:{alt:`icon for ${r}`},domProps:{innerHTML:n._s(n.icon(r))}}):n._e()]),e("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[e("div",{staticClass:"px-2 py-2 text-xs"},[e("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[n._v("@"+n._s(r))])])])])}),0)},LL=[];const vL={name:"IconList",props:["types"],computed:{},methods:{icon(n){return sh[n==null?void 0:n.toLowerCase()]}}},xh={};var yL=tt(vL,_L,LL,!1,CL,null,null,null);function CL(n){for(let t in xh)this[t]=xh[t]}const EL=function(){return yL.exports}();var bL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[e("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),e("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[n._v("")]),e("div",{staticClass:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},[e("div",[e("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[e("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[n._v("ZenUML Tips")]),e("button",{staticClass:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",attrs:{type:"button"},on:{click:function(r){return n.closeTipsDialog()}}},[e("span",{staticClass:"sr-only"},[n._v("Close menu")]),e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[e("div",{staticClass:"relative"},[e("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[n._m(0),e("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Builtin Icons ")]),n._m(1),e("IconList",{attrs:{types:n.standardTypes}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.awsServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.azureServices}}),e("hr",{staticClass:"mt-4"}),e("IconList",{attrs:{types:n.googleServices}})],1)])])])])])])])},wL=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[e("div",[e("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[e("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[n._v(" Declare Participants ")]),e("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[e("code",[n._v(`// Define a Starter (optional)
|
|
458
458
|
@Starter(A)
|
|
459
459
|
|
|
460
460
|
// Show icons
|
|
@@ -501,22 +501,22 @@ A.method() {
|
|
|
501
501
|
}
|
|
502
502
|
A.method() {
|
|
503
503
|
@return A->B: message
|
|
504
|
-
}`)])])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("p",{staticClass:"text-sm text-gray-500"},[n._v("Use "),e("span",{staticClass:"rounded inline-block bg-gray-50 text-gray-600"},[e("code",{staticClass:"text-xs"},[n._v("@Actor TheParticipant")])]),n._v(" to define the type of the participant.")])}];const bL={name:"TipsDialog",components:{IconList:yL},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}}}},xh={};var wL=tt(bL,CL,EL,!1,TL,null,null,null);function TL(n){for(let t in xh)this[t]=xh[t]}const AL=function(){return wL.exports}();var SL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"point text-skin-message-arrow",class:{fill:n.fill,"no-fill":!n.fill,"right-to-left":n.rtl}},[n.rtl?n._e():e("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[e("polyline",{staticClass:"right head fill-current stroke-current",attrs:{points:"0,0 10,5 0,10"}})]),n.rtl?e("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[e("polyline",{staticClass:"left head fill-current stroke-current",attrs:{points:"10,0 0,5 10,10"}})]):n._e()])},RL=[];const dw="",kL={name:"point",props:["fill","rtl"]},mh={};var OL=tt(kL,SL,RL,!1,NL,"940a53d6",null,null);function NL(n){for(let t in mh)this[t]=mh[t]}const IL=function(){return OL.exports}();var PL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message border-skin-message-arrow border-b-2 flex items-end",class:{"flex-row-reverse":n.rtl,return:n.type==="return","right-to-left":n.rtl,"text-left":n.isAsync,"text-center":!n.isAsync},style:{"border-bottom-style":n.borderStyle}},[e("div",{staticClass:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",staticStyle:{"padding-left":"5px",float:"left"},style:{color:n.color}},[n._v(n._s(n.content))]),e("point",{staticClass:"flex-shrink-0 transform translate-y-1/2 -my-px",attrs:{fill:n.fill,rtl:n.rtl}})],1)},ML=[];const $L={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:IL}},_h={};var DL=tt($L,PL,ML,!1,FL,null,null,null);function FL(n){for(let t in _h)this[t]=_h[t]}const zr=function(){return DL.exports}();var BL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"invisible"},[e("message",{attrs:{content:n.text,rtl:"false",type:"sync"}})],1)},UL=[];const HL={name:"WidthProvider",components:{Message:zr},data:function(){return{text:"abcd"}},methods:{width:function(n,t){return console.log(n,t),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},Lh={};var GL=tt(HL,BL,UL,!1,jL,null,null,null);function jL(n){for(let t in Lh)this[t]=Lh[t]}const VL=function(){return GL.exports}();function zL(n,t){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const e=document.implementation.createHTMLDocument(),r=e.createElement("base"),s=e.createElement("a");return e.head.appendChild(r),e.body.appendChild(s),t&&(r.href=t),s.href=n,s.href}const ZL=(()=>{let n=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${t()}${n}`)})();function Xe(n){const t=[];for(let e=0,r=n.length;e<r;e++)t.push(n[e]);return t}function yi(n,t){const r=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function qL(n){const t=yi(n,"border-left-width"),e=yi(n,"border-right-width");return n.clientWidth+t+e}function WL(n){const t=yi(n,"border-top-width"),e=yi(n,"border-bottom-width");return n.clientHeight+t+e}function vh(n,t={}){const e=t.width||qL(n),r=t.height||WL(n);return{width:e,height:r}}function KL(){let n,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(n=parseInt(e,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const re=16384;function YL(n){(n.width>re||n.height>re)&&(n.width>re&&n.height>re?n.width>n.height?(n.height*=re/n.width,n.width=re):(n.width*=re/n.height,n.height=re):n.width>re?(n.height*=re/n.width,n.width=re):(n.width*=re/n.height,n.height=re))}function XL(n,t={}){return n.toBlob?new Promise(e=>{n.toBlob(e,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(e=>{const r=window.atob(n.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),s=r.length,i=new Uint8Array(s);for(let o=0;o<s;o+=1)i[o]=r.charCodeAt(o);e(new Blob([i],{type:t.type?t.type:"image/png"}))})}function Ci(n){return new Promise((t,e)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=e,r.crossOrigin="anonymous",r.decoding="async",r.src=n})}async function QL(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function JL(n,t,e){const r="http://www.w3.org/2000/svg",s=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return s.setAttribute("width",`${t}`),s.setAttribute("height",`${e}`),s.setAttribute("viewBox",`0 0 ${t} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),s.appendChild(i),i.appendChild(n),QL(s)}function tv(n){const t=n.getPropertyValue("content");return`${n.cssText} content: '${t.replace(/'|"/g,"")}';`}function ev(n){return Xe(n).map(t=>{const e=n.getPropertyValue(t),r=n.getPropertyPriority(t);return`${t}: ${e}${r?" !important":""};`}).join(" ")}function nv(n,t,e){const r=`.${n}:${t}`,s=e.cssText?tv(e):ev(e);return document.createTextNode(`${r}{${s}}`)}function yh(n,t,e){const r=window.getComputedStyle(n,e),s=r.getPropertyValue("content");if(s===""||s==="none")return;const i=ZL();try{t.className=`${t.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(nv(i,e,r)),t.appendChild(o)}function rv(n,t){yh(n,t,":before"),yh(n,t,":after")}const Ch="application/font-woff",Eh="image/jpeg",sv={woff:Ch,woff2:Ch,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Eh,jpeg:Eh,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function iv(n){const t=/\.([^./]*?)$/g.exec(n);return t?t[1]:""}function d1(n){const t=iv(n).toLowerCase();return sv[t]||""}function ov(n){return n.split(/,/)[1]}function p1(n){return n.search(/^(data:)/)!==-1}function bh(n,t){return`data:${t};base64,${n}`}async function wh(n,t,e){const r=await fetch(n,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const s=await r.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(e({res:r,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(s)})}const g1={};function av(n,t,e){let r=n.replace(/\?.*/,"");return e&&(r=n),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function x1(n,t,e){const r=av(n,t,e.includeQueryParams);if(g1[r]!=null)return g1[r];e.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let s;try{const i=await wh(n,e.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),ov(a)));s=bh(i,t)}catch(i){s=e.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return g1[r]=s,s}async function lv(n){const t=n.toDataURL();return t==="data:,"?n.cloneNode(!1):Ci(t)}async function cv(n,t){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return Ci(a)}const e=n.poster,r=d1(e),s=await x1(e,r,t);return Ci(s)}async function uv(n){var t;try{if(!((t=n==null?void 0:n.contentDocument)===null||t===void 0)&&t.body)return await Ei(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function hv(n,t){return n instanceof HTMLCanvasElement?lv(n):n instanceof HTMLVideoElement?cv(n,t):n instanceof HTMLIFrameElement?uv(n):n.cloneNode(!1)}const fv=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function dv(n,t,e){var r;const s=fv(n)&&n.assignedNodes?Xe(n.assignedNodes()):Xe(((r=n.shadowRoot)!==null&&r!==void 0?r:n).childNodes);return s.length===0||n instanceof HTMLVideoElement||await s.reduce((i,o)=>i.then(()=>Ei(o,e)).then(a=>{a&&t.appendChild(a)}),Promise.resolve()),t}function pv(n,t){const e=t.style;if(!e)return;const r=window.getComputedStyle(n);r.cssText?(e.cssText=r.cssText,e.transformOrigin=r.transformOrigin):Xe(r).forEach(s=>{let i=r.getPropertyValue(s);s==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),e.setProperty(s,i,r.getPropertyPriority(s))})}function gv(n,t){n instanceof HTMLTextAreaElement&&(t.innerHTML=n.value),n instanceof HTMLInputElement&&t.setAttribute("value",n.value)}function xv(n,t){if(n instanceof HTMLSelectElement){const e=t,r=Array.from(e.children).find(s=>n.value===s.getAttribute("value"));r&&r.setAttribute("selected","")}}function mv(n,t){return t instanceof Element&&(pv(n,t),rv(n,t),gv(n,t),xv(n,t)),t}async function _v(n,t){const e=n.querySelectorAll?n.querySelectorAll("use"):[];if(e.length===0)return n;const r={};for(let i=0;i<e.length;i++){const a=e[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!r[a]&&(r[a]=await Ei(c,t,!0))}}const s=Object.values(r);if(s.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<s.length;l++)a.appendChild(s[l]);n.appendChild(o)}return n}async function Ei(n,t,e){return!e&&t.filter&&!t.filter(n)?null:Promise.resolve(n).then(r=>hv(r,t)).then(r=>dv(n,r,t)).then(r=>mv(n,r)).then(r=>_v(r,t))}const Th=/url\((['"]?)([^'"]+?)\1\)/g,Lv=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,vv=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function yv(n){const t=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Cv(n){const t=[];return n.replace(Th,(e,r,s)=>(t.push(s),e)),t.filter(e=>!p1(e))}async function Ev(n,t,e,r,s){try{const i=e?zL(t,e):t,o=d1(t);let a;if(s){const l=await s(i);a=bh(l,o)}else a=await x1(i,o,r);return n.replace(yv(t),`$1${a}$3`)}catch{}return n}function bv(n,{preferredFontFormat:t}){return t?n.replace(vv,e=>{for(;;){const[r,,s]=Lv.exec(e)||[];if(!s)return"";if(s===t)return`src: ${r};`}}):n}function Ah(n){return n.search(Th)!==-1}async function Sh(n,t,e){if(!Ah(n))return n;const r=bv(n,e);return Cv(r).reduce((i,o)=>i.then(a=>Ev(a,o,t,e)),Promise.resolve(r))}async function wv(n,t){var e;const r=(e=n.style)===null||e===void 0?void 0:e.getPropertyValue("background");if(r){const s=await Sh(r,null,t);n.style.setProperty("background",s,n.style.getPropertyPriority("background"))}}async function Tv(n,t){if(!(n instanceof HTMLImageElement&&!p1(n.src))&&!(n instanceof SVGImageElement&&!p1(n.href.baseVal)))return;const e=n instanceof HTMLImageElement?n.src:n.href.baseVal,r=await x1(e,d1(e),t);await new Promise((s,i)=>{n.onload=s,n.onerror=i;const o=n;o.decode&&(o.decode=s),n instanceof HTMLImageElement?(n.srcset="",n.src=r):n.href.baseVal=r})}async function Av(n,t){const r=Xe(n.childNodes).map(s=>Rh(s,t));await Promise.all(r).then(()=>n)}async function Rh(n,t){n instanceof Element&&(await wv(n,t),await Tv(n,t),await Av(n,t))}function Sv(n,t){const{style:e}=n;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(s=>{e[s]=r[s]}),n}const kh={};async function Oh(n){let t=kh[n];if(t!=null)return t;const r=await(await fetch(n)).text();return t={url:n,cssText:r},kh[n]=t,t}async function Nh(n,t){let e=n.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),wh(a,t.fetchRequestInit,({result:l})=>(e=e.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>e)}function Ih(n){if(n==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let r=n.replace(e,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=s.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(s,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(r);if(l===null){if(l=a.exec(r),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(l[0])}return t}async function Rv(n,t){const e=[],r=[];return n.forEach(s=>{if("cssRules"in s)try{Xe(s.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Oh(l).then(u=>Nh(u,t)).then(u=>Ih(u).forEach(f=>{try{s.insertRule(f,f.startsWith("@import")?a+=1:s.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];s.href!=null&&r.push(Oh(s.href).then(a=>Nh(a,t)).then(a=>Ih(a).forEach(l=>{o.insertRule(l,s.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(r).then(()=>(n.forEach(s=>{if("cssRules"in s)try{Xe(s.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${s.href}`,i.toString())}}),e))}function kv(n){return n.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Ah(t.style.getPropertyValue("src")))}async function Ov(n,t){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=Xe(n.ownerDocument.styleSheets),r=await Rv(e,t);return kv(r)}async function Nv(n,t){const e=await Ov(n,t);return(await Promise.all(e.map(s=>{const i=s.parentStyleSheet?s.parentStyleSheet.href:null;return Sh(s.cssText,i,t)}))).join(`
|
|
505
|
-
`)}async function Iv(n,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Nv(n,t);if(e){const r=document.createElement("style"),s=document.createTextNode(e);r.appendChild(s),n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}}async function Ph(n,t={}){const{width:e,height:r}=vh(n,t),s=await Ei(n,t,!0);return await Iv(s,t),await Rh(s,t),Sv(s,t),await JL(s,e,r)}async function m1(n,t={}){const{width:e,height:r}=vh(n,t),s=await Ph(n,t),i=await Ci(s),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||KL(),c=t.canvasWidth||e,u=t.canvasHeight||r;return o.width=c*l,o.height=u*l,t.skipAutoScale||YL(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function Pv(n,t={}){return(await m1(n,t)).toDataURL()}async function Mv(n,t={}){return(await m1(n,t)).toDataURL("image/jpeg",t.quality||1)}async function $v(n,t={}){const e=await m1(n,t);return await XL(e)}var Dv=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{directives:[{name:"show",rawName:"v-show",value:n.debug,expression:"debug"}]},[e("div",{staticClass:"flex flex-nowrap m-2 text-sm"},[e("div",{staticClass:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},[e("svg",{staticClass:"h-4 w-4",attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("line",{attrs:{x1:"6",y1:"3",x2:"6",y2:"15"}}),e("circle",{attrs:{cx:"18",cy:"6",r:"3"}}),e("circle",{attrs:{cx:"6",cy:"18",r:"3"}}),e("path",{attrs:{d:"M18 9a9 9 0 0 1-9 9"}})]),e("span",{staticClass:"inline-block px-2"},[n._v(n._s(n.gitBranch)+":"+n._s(n.commitHash))])])])])},Fv=[];const Bv="process.env.VUE_APP_GIT_HASH",Uv="process.env.VUE_APP_GIT_BRANCH",Hv={name:"Debug",data(){return{commitHash:Bv,gitBranch:Uv}},computed:{debug(){return!!localStorage.zenumlDebug}}},Mh={};var Gv=tt(Hv,Dv,Fv,!1,jv,null,null,null);function jv(n){for(let t in Mh)this[t]=Mh[t]}const Vv=function(){return Gv.exports}();var zv=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"export",staticClass:"zenuml p-1 bg-skin-canvas",class:n.theme,staticStyle:{display:"inline-block"}},[e("debug"),e("div",{staticClass:"frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",style:{transform:`scale(${n.scale})`}},[e("div",{ref:"content"},[e("div",{staticClass:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},[e("div",{staticClass:"left hide-export"},[n._t("default")],2),e("div",{staticClass:"right flex-grow flex justify-between"},[e("diagram-title",{attrs:{context:n.title}}),e("privacy",{staticClass:"hide-export flex items-center"})],1)]),e("div",[n.showTips?e("div",{staticClass:"fixed z-40 inset-0 overflow-y-auto",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[e("TipsDialog")],1):n._e()]),e("seq-diagram")],1),e("div",{staticClass:"footer p-1 flex justify-between"},[e("button",{staticClass:"bottom-1 left-1 hide-export",on:{click:function(r){return n.showTipsDialog()}}},[e("svg",{staticClass:"filter grayscale",staticStyle:{width:"1em",height:"1em","vertical-align":"middle",fill:"currentColor",overflow:"hidden"},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M514 912c-219.9 0-398.8-178.9-398.8-398.9 0-219.9 178.9-398.8 398.8-398.8s398.9 178.9 398.9 398.8c-0.1 220-179 398.9-398.9 398.9z m0-701.5c-166.9 0-302.7 135.8-302.7 302.7S347.1 815.9 514 815.9s302.7-135.8 302.7-302.7S680.9 210.5 514 210.5z",fill:"#BDD2EF"}}),e("path",{attrs:{d:"M431.1 502.4c-0.1 0.3 0.3 0.4 0.4 0.2 6.9-11.7 56.5-89.1 23.4 167.3-17.4 134.7 122.9 153.6 142.3-7.9 0.1-1-1.3-1.4-1.7-0.4-11.9 37.2-49.6 104.9-4.7-155.2 18.6-107.2-127.6-146-159.7-4z",fill:"#2867CE"}}),e("path",{attrs:{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"}})])]),e("div",{staticClass:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:{transform:`scale(${1/n.scale})`}},[e("button",{staticClass:"zoom-in px-1",on:{click:function(r){return n.zoomIn()}}},[n._v("+")]),e("label",[n._v(n._s(Number(n.scale*100).toFixed(0))+" %")]),e("button",{staticClass:"zoom-out px-1",on:{click:function(r){return n.zoomOut()}}},[n._v("-")])]),e("width-provider"),e("a",{staticClass:"brand text-skin-link absolute bottom-1 right-1 text-xs",attrs:{target:"_blank",href:"https://zenuml.com"}},[n._v("ZenUML.com")])],1)])],1)},Zv=[];const qv={name:"DiagramFrame",computed:{...Cr(["showTips","scale","theme"]),...$t(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},methods:{...Er(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}},toPng(){return Pv(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toSvg(){return Ph(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toBlob(){return $v(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toJpeg(){return Mv(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(n){this.theme=n},setStyle(n){const t="zenuml-style";let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.append(e)),e.textContent=n},setRemoteCss(n){if(n.includes("github.com")||n.includes("githubusercontent.com")){fetch(n.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(r=>r.text()).then(r=>{this.setStyle(r),console.log("set remote css from github",r)});return}if(n.includes("github.com")||n.includes("githubusercontent.com")){const r=n.replace("github.com","raw.githubusercontent.com").replace("/blob","");fetch(r).then(s=>s.text()).then(s=>this.setStyle(s));return}console.log("setRemoteCss",n);const t="zenuml-remote-css";let e=document.getElementById(t);e||(e=document.createElement("link"),e.id=t,e.rel="stylesheet",document.head.append(e)),e.href=n}},components:{Debug:Vv,WidthProvider:VL,TipsDialog:AL,DiagramTitle:m_,SeqDiagram:ph,Privacy:h_}},$h={};var Wv=tt(qv,zv,Zv,!1,Kv,null,null,null);function Kv(n){for(let t in $h)this[t]=$h[t]}const Yv=function(){return Wv.exports}(),pw="",gw="",xw="",mw="",_w="",Lw="",vw="";function Dh(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Yn=Dh();function Xv(n){Yn=n}const Qv=/[&<>"']/,Jv=/[&<>"']/g,ty=/[<>"']|&(?!#?\w+;)/,ey=/[<>"']|&(?!#?\w+;)/g,ny={"&":"&","<":"<",">":">",'"':""","'":"'"},Fh=n=>ny[n];function Tt(n,t){if(t){if(Qv.test(n))return n.replace(Jv,Fh)}else if(ty.test(n))return n.replace(ey,Fh);return n}const ry=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Bh(n){return n.replace(ry,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const sy=/(^|[^\[])\^/g;function it(n,t){n=n.source||n,t=t||"";const e={replace:(r,s)=>(s=s.source||s,s=s.replace(sy,"$1"),n=n.replace(r,s),e),getRegex:()=>new RegExp(n,t)};return e}const iy=/[^\w:]/g,oy=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Uh(n,t,e){if(n){let r;try{r=decodeURIComponent(Bh(e)).replace(iy,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}t&&!oy.test(e)&&(e=uy(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const bi={},ay=/^[^:]+:\/*[^/]*$/,ly=/^([^:]+:)[\s\S]*$/,cy=/^([^:]+:\/*[^/]*)[\s\S]*$/;function uy(n,t){bi[" "+n]||(ay.test(n)?bi[" "+n]=n+"/":bi[" "+n]=Ti(n,"/",!0)),n=bi[" "+n];const e=n.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:n.replace(ly,"$1")+t:t.charAt(0)==="/"?e?t:n.replace(cy,"$1")+t:n+t}const wi={exec:function(){}};function pe(n){let t=1,e,r;for(;t<arguments.length;t++){e=arguments[t];for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}function Hh(n,t){const e=n.replace(/\|/g,(i,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),r=e.split(/ \|/);let s=0;if(r[0].trim()||r.shift(),r[r.length-1].trim()||r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(/\\\|/g,"|");return r}function Ti(n,t,e){const r=n.length;if(r===0)return"";let s=0;for(;s<r;){const i=n.charAt(r-s-1);if(i===t&&!e)s++;else if(i!==t&&e)s++;else break}return n.substr(0,r-s)}function hy(n,t){if(n.indexOf(t[1])===-1)return-1;const e=n.length;let r=0,s=0;for(;s<e;s++)if(n[s]==="\\")s++;else if(n[s]===t[0])r++;else if(n[s]===t[1]&&(r--,r<0))return s;return-1}function Gh(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function jh(n,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=n),t>>=1,n+=n;return e+n}function Vh(n,t,e,r){const s=t.href,i=t.title?Tt(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:e,href:s,title:i,text:o,tokens:r.inlineTokens(o,[])};return r.state.inLink=!1,a}else return{type:"image",raw:e,href:s,title:i,text:Tt(o)}}function fy(n,t){const e=n.match(/^(\s+)(?:```)/);if(e===null)return t;const r=e[1];return t.split(`
|
|
504
|
+
}`)])])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("p",{staticClass:"text-sm text-gray-500"},[n._v(" Use "),e("span",{staticClass:"rounded inline-block bg-gray-50 text-gray-600"},[e("code",{staticClass:"text-xs"},[n._v("@Actor TheParticipant")])]),n._v(" to define the type of the participant. ")])}];const TL={name:"TipsDialog",components:{IconList:EL},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}}}},mh={};var AL=tt(TL,bL,wL,!1,SL,null,null,null);function SL(n){for(let t in mh)this[t]=mh[t]}const RL=function(){return AL.exports}();var kL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"point text-skin-message-arrow",class:{fill:n.fill,"no-fill":!n.fill,"right-to-left":n.rtl}},[n.rtl?n._e():e("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[e("polyline",{staticClass:"right head fill-current stroke-current",attrs:{points:"0,0 10,5 0,10"}})]),n.rtl?e("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[e("polyline",{staticClass:"left head fill-current stroke-current",attrs:{points:"10,0 0,5 10,10"}})]):n._e()])},OL=[];const gw="",NL={name:"point",props:["fill","rtl"]},_h={};var IL=tt(NL,kL,OL,!1,PL,"340f62e6",null,null);function PL(n){for(let t in _h)this[t]=_h[t]}const ML=function(){return IL.exports}();var $L=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message border-skin-message-arrow border-b-2 flex items-end",class:{"flex-row-reverse":n.rtl,return:n.type==="return","right-to-left":n.rtl,"text-left":n.isAsync,"text-center":!n.isAsync},style:{"border-bottom-style":n.borderStyle}},[e("div",{staticClass:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",staticStyle:{"padding-left":"5px",float:"left"},style:{color:n.color}},[n._v(" "+n._s(n.content)+" ")]),e("point",{staticClass:"flex-shrink-0 transform translate-y-1/2 -my-px",attrs:{fill:n.fill,rtl:n.rtl}})],1)},DL=[];const FL={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:ML}},Lh={};var BL=tt(FL,$L,DL,!1,UL,null,null,null);function UL(n){for(let t in Lh)this[t]=Lh[t]}const zr=function(){return BL.exports}();var HL=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"invisible"},[e("message",{attrs:{content:n.text,rtl:"false",type:"sync"}})],1)},GL=[];const jL={name:"WidthProvider",components:{Message:zr},data:function(){return{text:"abcd"}},methods:{width:function(n,t){return console.log(n,t),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},vh={};var VL=tt(jL,HL,GL,!1,zL,null,null,null);function zL(n){for(let t in vh)this[t]=vh[t]}const ZL=function(){return VL.exports}();function qL(n,t){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const e=document.implementation.createHTMLDocument(),r=e.createElement("base"),s=e.createElement("a");return e.head.appendChild(r),e.body.appendChild(s),t&&(r.href=t),s.href=n,s.href}const WL=(()=>{let n=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${t()}${n}`)})();function Xe(n){const t=[];for(let e=0,r=n.length;e<r;e++)t.push(n[e]);return t}function yi(n,t){const r=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function KL(n){const t=yi(n,"border-left-width"),e=yi(n,"border-right-width");return n.clientWidth+t+e}function YL(n){const t=yi(n,"border-top-width"),e=yi(n,"border-bottom-width");return n.clientHeight+t+e}function yh(n,t={}){const e=t.width||KL(n),r=t.height||YL(n);return{width:e,height:r}}function XL(){let n,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(n=parseInt(e,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const re=16384;function QL(n){(n.width>re||n.height>re)&&(n.width>re&&n.height>re?n.width>n.height?(n.height*=re/n.width,n.width=re):(n.width*=re/n.height,n.height=re):n.width>re?(n.height*=re/n.width,n.width=re):(n.width*=re/n.height,n.height=re))}function JL(n,t={}){return n.toBlob?new Promise(e=>{n.toBlob(e,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(e=>{const r=window.atob(n.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),s=r.length,i=new Uint8Array(s);for(let o=0;o<s;o+=1)i[o]=r.charCodeAt(o);e(new Blob([i],{type:t.type?t.type:"image/png"}))})}function Ci(n){return new Promise((t,e)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=e,r.crossOrigin="anonymous",r.decoding="async",r.src=n})}async function tv(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function ev(n,t,e){const r="http://www.w3.org/2000/svg",s=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return s.setAttribute("width",`${t}`),s.setAttribute("height",`${e}`),s.setAttribute("viewBox",`0 0 ${t} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),s.appendChild(i),i.appendChild(n),tv(s)}function nv(n){const t=n.getPropertyValue("content");return`${n.cssText} content: '${t.replace(/'|"/g,"")}';`}function rv(n){return Xe(n).map(t=>{const e=n.getPropertyValue(t),r=n.getPropertyPriority(t);return`${t}: ${e}${r?" !important":""};`}).join(" ")}function sv(n,t,e){const r=`.${n}:${t}`,s=e.cssText?nv(e):rv(e);return document.createTextNode(`${r}{${s}}`)}function Ch(n,t,e){const r=window.getComputedStyle(n,e),s=r.getPropertyValue("content");if(s===""||s==="none")return;const i=WL();try{t.className=`${t.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(sv(i,e,r)),t.appendChild(o)}function iv(n,t){Ch(n,t,":before"),Ch(n,t,":after")}const Eh="application/font-woff",bh="image/jpeg",ov={woff:Eh,woff2:Eh,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:bh,jpeg:bh,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function av(n){const t=/\.([^./]*?)$/g.exec(n);return t?t[1]:""}function g1(n){const t=av(n).toLowerCase();return ov[t]||""}function lv(n){return n.split(/,/)[1]}function x1(n){return n.search(/^(data:)/)!==-1}function wh(n,t){return`data:${t};base64,${n}`}async function Th(n,t,e){const r=await fetch(n,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const s=await r.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(e({res:r,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(s)})}const m1={};function cv(n,t,e){let r=n.replace(/\?.*/,"");return e&&(r=n),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function _1(n,t,e){const r=cv(n,t,e.includeQueryParams);if(m1[r]!=null)return m1[r];e.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let s;try{const i=await Th(n,e.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),lv(a)));s=wh(i,t)}catch(i){s=e.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return m1[r]=s,s}async function uv(n){const t=n.toDataURL();return t==="data:,"?n.cloneNode(!1):Ci(t)}async function hv(n,t){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return Ci(a)}const e=n.poster,r=g1(e),s=await _1(e,r,t);return Ci(s)}async function fv(n){var t;try{if(!((t=n==null?void 0:n.contentDocument)===null||t===void 0)&&t.body)return await Ei(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function dv(n,t){return n instanceof HTMLCanvasElement?uv(n):n instanceof HTMLVideoElement?hv(n,t):n instanceof HTMLIFrameElement?fv(n):n.cloneNode(!1)}const pv=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function gv(n,t,e){var r;const s=pv(n)&&n.assignedNodes?Xe(n.assignedNodes()):Xe(((r=n.shadowRoot)!==null&&r!==void 0?r:n).childNodes);return s.length===0||n instanceof HTMLVideoElement||await s.reduce((i,o)=>i.then(()=>Ei(o,e)).then(a=>{a&&t.appendChild(a)}),Promise.resolve()),t}function xv(n,t){const e=t.style;if(!e)return;const r=window.getComputedStyle(n);r.cssText?(e.cssText=r.cssText,e.transformOrigin=r.transformOrigin):Xe(r).forEach(s=>{let i=r.getPropertyValue(s);s==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),e.setProperty(s,i,r.getPropertyPriority(s))})}function mv(n,t){n instanceof HTMLTextAreaElement&&(t.innerHTML=n.value),n instanceof HTMLInputElement&&t.setAttribute("value",n.value)}function _v(n,t){if(n instanceof HTMLSelectElement){const e=t,r=Array.from(e.children).find(s=>n.value===s.getAttribute("value"));r&&r.setAttribute("selected","")}}function Lv(n,t){return t instanceof Element&&(xv(n,t),iv(n,t),mv(n,t),_v(n,t)),t}async function vv(n,t){const e=n.querySelectorAll?n.querySelectorAll("use"):[];if(e.length===0)return n;const r={};for(let i=0;i<e.length;i++){const a=e[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!r[a]&&(r[a]=await Ei(c,t,!0))}}const s=Object.values(r);if(s.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<s.length;l++)a.appendChild(s[l]);n.appendChild(o)}return n}async function Ei(n,t,e){return!e&&t.filter&&!t.filter(n)?null:Promise.resolve(n).then(r=>dv(r,t)).then(r=>gv(n,r,t)).then(r=>Lv(n,r)).then(r=>vv(r,t))}const Ah=/url\((['"]?)([^'"]+?)\1\)/g,yv=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Cv=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ev(n){const t=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function bv(n){const t=[];return n.replace(Ah,(e,r,s)=>(t.push(s),e)),t.filter(e=>!x1(e))}async function wv(n,t,e,r,s){try{const i=e?qL(t,e):t,o=g1(t);let a;if(s){const l=await s(i);a=wh(l,o)}else a=await _1(i,o,r);return n.replace(Ev(t),`$1${a}$3`)}catch{}return n}function Tv(n,{preferredFontFormat:t}){return t?n.replace(Cv,e=>{for(;;){const[r,,s]=yv.exec(e)||[];if(!s)return"";if(s===t)return`src: ${r};`}}):n}function Sh(n){return n.search(Ah)!==-1}async function Rh(n,t,e){if(!Sh(n))return n;const r=Tv(n,e);return bv(r).reduce((i,o)=>i.then(a=>wv(a,o,t,e)),Promise.resolve(r))}async function Av(n,t){var e;const r=(e=n.style)===null||e===void 0?void 0:e.getPropertyValue("background");if(r){const s=await Rh(r,null,t);n.style.setProperty("background",s,n.style.getPropertyPriority("background"))}}async function Sv(n,t){if(!(n instanceof HTMLImageElement&&!x1(n.src))&&!(n instanceof SVGImageElement&&!x1(n.href.baseVal)))return;const e=n instanceof HTMLImageElement?n.src:n.href.baseVal,r=await _1(e,g1(e),t);await new Promise((s,i)=>{n.onload=s,n.onerror=i;const o=n;o.decode&&(o.decode=s),n instanceof HTMLImageElement?(n.srcset="",n.src=r):n.href.baseVal=r})}async function Rv(n,t){const r=Xe(n.childNodes).map(s=>kh(s,t));await Promise.all(r).then(()=>n)}async function kh(n,t){n instanceof Element&&(await Av(n,t),await Sv(n,t),await Rv(n,t))}function kv(n,t){const{style:e}=n;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(s=>{e[s]=r[s]}),n}const Oh={};async function Nh(n){let t=Oh[n];if(t!=null)return t;const r=await(await fetch(n)).text();return t={url:n,cssText:r},Oh[n]=t,t}async function Ih(n,t){let e=n.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),Th(a,t.fetchRequestInit,({result:l})=>(e=e.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>e)}function Ph(n){if(n==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let r=n.replace(e,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=s.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(s,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(r);if(l===null){if(l=a.exec(r),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(l[0])}return t}async function Ov(n,t){const e=[],r=[];return n.forEach(s=>{if("cssRules"in s)try{Xe(s.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Nh(l).then(u=>Ih(u,t)).then(u=>Ph(u).forEach(f=>{try{s.insertRule(f,f.startsWith("@import")?a+=1:s.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];s.href!=null&&r.push(Nh(s.href).then(a=>Ih(a,t)).then(a=>Ph(a).forEach(l=>{o.insertRule(l,s.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(r).then(()=>(n.forEach(s=>{if("cssRules"in s)try{Xe(s.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${s.href}`,i.toString())}}),e))}function Nv(n){return n.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Sh(t.style.getPropertyValue("src")))}async function Iv(n,t){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=Xe(n.ownerDocument.styleSheets),r=await Ov(e,t);return Nv(r)}async function Pv(n,t){const e=await Iv(n,t);return(await Promise.all(e.map(s=>{const i=s.parentStyleSheet?s.parentStyleSheet.href:null;return Rh(s.cssText,i,t)}))).join(`
|
|
505
|
+
`)}async function Mv(n,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Pv(n,t);if(e){const r=document.createElement("style"),s=document.createTextNode(e);r.appendChild(s),n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}}async function Mh(n,t={}){const{width:e,height:r}=yh(n,t),s=await Ei(n,t,!0);return await Mv(s,t),await kh(s,t),kv(s,t),await ev(s,e,r)}async function L1(n,t={}){const{width:e,height:r}=yh(n,t),s=await Mh(n,t),i=await Ci(s),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||XL(),c=t.canvasWidth||e,u=t.canvasHeight||r;return o.width=c*l,o.height=u*l,t.skipAutoScale||QL(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function $v(n,t={}){return(await L1(n,t)).toDataURL()}async function Dv(n,t={}){return(await L1(n,t)).toDataURL("image/jpeg",t.quality||1)}async function Fv(n,t={}){const e=await L1(n,t);return await JL(e)}var Bv=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{directives:[{name:"show",rawName:"v-show",value:n.debug,expression:"debug"}]},[e("div",{staticClass:"flex flex-nowrap m-2 text-sm"},[e("div",{staticClass:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},[e("svg",{staticClass:"h-4 w-4",attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("line",{attrs:{x1:"6",y1:"3",x2:"6",y2:"15"}}),e("circle",{attrs:{cx:"18",cy:"6",r:"3"}}),e("circle",{attrs:{cx:"6",cy:"18",r:"3"}}),e("path",{attrs:{d:"M18 9a9 9 0 0 1-9 9"}})]),e("span",{staticClass:"inline-block px-2"},[n._v(n._s(n.gitBranch)+":"+n._s(n.commitHash))])])])])},Uv=[];const Hv="process.env.VUE_APP_GIT_HASH",Gv="process.env.VUE_APP_GIT_BRANCH",jv={name:"Debug",data(){return{commitHash:Hv,gitBranch:Gv}},computed:{debug(){return!!localStorage.zenumlDebug}}},$h={};var Vv=tt(jv,Bv,Uv,!1,zv,null,null,null);function zv(n){for(let t in $h)this[t]=$h[t]}const Zv=function(){return Vv.exports}();var qv=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{ref:"export",staticClass:"zenuml p-1 bg-skin-canvas",class:n.theme,staticStyle:{display:"inline-block"}},[e("debug"),e("div",{staticClass:"frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",style:{transform:`scale(${n.scale})`}},[e("div",{ref:"content"},[e("div",{staticClass:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},[e("div",{staticClass:"left hide-export"},[n._t("default")],2),e("div",{staticClass:"right flex-grow flex justify-between"},[e("diagram-title",{attrs:{context:n.title}}),e("privacy",{staticClass:"hide-export flex items-center"})],1)]),e("div",[n.showTips?e("div",{staticClass:"fixed z-40 inset-0 overflow-y-auto",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[e("TipsDialog")],1):n._e()]),e("seq-diagram")],1),e("div",{staticClass:"footer p-1 flex justify-between"},[e("button",{staticClass:"bottom-1 left-1 hide-export",on:{click:function(r){return n.showTipsDialog()}}},[e("svg",{staticClass:"filter grayscale",staticStyle:{width:"1em",height:"1em","vertical-align":"middle",fill:"currentColor",overflow:"hidden"},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M514 912c-219.9 0-398.8-178.9-398.8-398.9 0-219.9 178.9-398.8 398.8-398.8s398.9 178.9 398.9 398.8c-0.1 220-179 398.9-398.9 398.9z m0-701.5c-166.9 0-302.7 135.8-302.7 302.7S347.1 815.9 514 815.9s302.7-135.8 302.7-302.7S680.9 210.5 514 210.5z",fill:"#BDD2EF"}}),e("path",{attrs:{d:"M431.1 502.4c-0.1 0.3 0.3 0.4 0.4 0.2 6.9-11.7 56.5-89.1 23.4 167.3-17.4 134.7 122.9 153.6 142.3-7.9 0.1-1-1.3-1.4-1.7-0.4-11.9 37.2-49.6 104.9-4.7-155.2 18.6-107.2-127.6-146-159.7-4z",fill:"#2867CE"}}),e("path",{attrs:{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"}})])]),e("div",{staticClass:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:{transform:`scale(${1/n.scale})`}},[e("button",{staticClass:"zoom-in px-1",on:{click:function(r){return n.zoomIn()}}},[n._v("+")]),e("label",[n._v(n._s(Number(n.scale*100).toFixed(0))+" %")]),e("button",{staticClass:"zoom-out px-1",on:{click:function(r){return n.zoomOut()}}},[n._v("-")])]),e("width-provider"),e("a",{staticClass:"brand text-skin-link absolute bottom-1 right-1 text-xs",attrs:{target:"_blank",href:"https://zenuml.com"}},[n._v("ZenUML.com")])],1)])],1)},Wv=[];const Kv={name:"DiagramFrame",computed:{...Cr(["showTips","scale","theme"]),...Dt(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},methods:{...Er(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}},toPng(){return $v(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toSvg(){return Mh(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toBlob(){return Fv(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toJpeg(){return Dv(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(n){this.theme=n},setStyle(n){const t="zenuml-style";let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.append(e)),e.textContent=n},setRemoteCss(n){const t=new URL(n).hostname;if(t==="https://github.com"||t==="https://githubusercontent.com"){fetch(n.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(s=>s.text()).then(s=>{this.setStyle(s)});return}const e="zenuml-remote-css";let r=document.getElementById(e);r||(r=document.createElement("link"),r.id=e,r.rel="stylesheet",document.head.append(r)),r.href=n}},components:{Debug:Zv,WidthProvider:ZL,TipsDialog:RL,DiagramTitle:L_,SeqDiagram:p1,Privacy:d_}},Dh={};var Yv=tt(Kv,qv,Wv,!1,Xv,null,null,null);function Xv(n){for(let t in Dh)this[t]=Dh[t]}const Fh=function(){return Yv.exports}(),xw="",mw="",_w="",Lw="",vw="",yw="",Cw="";function Bh(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Yn=Bh();function Qv(n){Yn=n}const Jv=/[&<>"']/,ty=/[&<>"']/g,ey=/[<>"']|&(?!#?\w+;)/,ny=/[<>"']|&(?!#?\w+;)/g,ry={"&":"&","<":"<",">":">",'"':""","'":"'"},Uh=n=>ry[n];function Tt(n,t){if(t){if(Jv.test(n))return n.replace(ty,Uh)}else if(ey.test(n))return n.replace(ny,Uh);return n}const sy=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Hh(n){return n.replace(sy,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const iy=/(^|[^\[])\^/g;function it(n,t){n=n.source||n,t=t||"";const e={replace:(r,s)=>(s=s.source||s,s=s.replace(iy,"$1"),n=n.replace(r,s),e),getRegex:()=>new RegExp(n,t)};return e}const oy=/[^\w:]/g,ay=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Gh(n,t,e){if(n){let r;try{r=decodeURIComponent(Hh(e)).replace(oy,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}t&&!ay.test(e)&&(e=hy(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const bi={},ly=/^[^:]+:\/*[^/]*$/,cy=/^([^:]+:)[\s\S]*$/,uy=/^([^:]+:\/*[^/]*)[\s\S]*$/;function hy(n,t){bi[" "+n]||(ly.test(n)?bi[" "+n]=n+"/":bi[" "+n]=Ti(n,"/",!0)),n=bi[" "+n];const e=n.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:n.replace(cy,"$1")+t:t.charAt(0)==="/"?e?t:n.replace(uy,"$1")+t:n+t}const wi={exec:function(){}};function pe(n){let t=1,e,r;for(;t<arguments.length;t++){e=arguments[t];for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}function jh(n,t){const e=n.replace(/\|/g,(i,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),r=e.split(/ \|/);let s=0;if(r[0].trim()||r.shift(),r[r.length-1].trim()||r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(/\\\|/g,"|");return r}function Ti(n,t,e){const r=n.length;if(r===0)return"";let s=0;for(;s<r;){const i=n.charAt(r-s-1);if(i===t&&!e)s++;else if(i!==t&&e)s++;else break}return n.substr(0,r-s)}function fy(n,t){if(n.indexOf(t[1])===-1)return-1;const e=n.length;let r=0,s=0;for(;s<e;s++)if(n[s]==="\\")s++;else if(n[s]===t[0])r++;else if(n[s]===t[1]&&(r--,r<0))return s;return-1}function Vh(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function zh(n,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=n),t>>=1,n+=n;return e+n}function Zh(n,t,e,r){const s=t.href,i=t.title?Tt(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:e,href:s,title:i,text:o,tokens:r.inlineTokens(o,[])};return r.state.inLink=!1,a}else return{type:"image",raw:e,href:s,title:i,text:Tt(o)}}function dy(n,t){const e=n.match(/^(\s+)(?:```)/);if(e===null)return t;const r=e[1];return t.split(`
|
|
506
506
|
`).map(s=>{const i=s.match(/^\s+/);if(i===null)return s;const[o]=i;return o.length>=r.length?s.slice(r.length):s}).join(`
|
|
507
|
-
`)}class
|
|
508
|
-
`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const r=e[0],s=
|
|
507
|
+
`)}class v1{constructor(t){this.options=t||Yn}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const r=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Ti(r,`
|
|
508
|
+
`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const r=e[0],s=dy(r,e[3]||"");return{type:"code",raw:r,lang:e[2]?e[2].trim():e[2],text:s}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let r=e[2].trim();if(/#$/.test(r)){const i=Ti(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}const s={type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const r=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],tokens:this.lexer.blockTokens(r,[]),text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r,s,i,o,a,l,c,u,f,d,p,w,I=e[1].trim();const q=I.length>1,$={type:"list",raw:"",ordered:q,start:q?+I.slice(0,-1):"",loose:!1,items:[]};I=q?`\\d{1,9}\\${I.slice(-1)}`:`\\${I}`,this.options.pedantic&&(I=q?I:"[*+-]");const j=new RegExp(`^( {0,3}${I})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(w=!1,!(!(e=j.exec(t))||this.rules.block.hr.test(t)));){if(r=e[0],t=t.substring(r.length),u=e[2].split(`
|
|
509
509
|
`,1)[0],f=t.split(`
|
|
510
510
|
`,1)[0],this.options.pedantic?(o=2,p=u.trimLeft()):(o=e[2].search(/[^ ]/),o=o>4?1:o,p=u.slice(o),o+=e[1].length),l=!1,!u&&/^ *$/.test(f)&&(r+=f+`
|
|
511
511
|
`,t=t.substring(f.length+1),w=!0),!w){const Y=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;t&&(d=t.split(`
|
|
512
512
|
`,1)[0],u=d,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!Y.test(u));){if(u.search(/[^ ]/)>=o||!u.trim())p+=`
|
|
513
513
|
`+u.slice(o);else if(!l)p+=`
|
|
514
514
|
`+u;else break;!l&&!u.trim()&&(l=!0),r+=d+`
|
|
515
|
-
`,t=t.substring(d.length+1)}}$.loose||(c?$.loose=!0:/\n *\n *$/.test(r)&&(c=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(p),s&&(i=s[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,""))),$.items.push({type:"list_item",raw:r,task:!!s,checked:i,loose:!1,text:p}),$.raw+=r}$.items[$.items.length-1].raw=r.trimRight(),$.items[$.items.length-1].text=p.trimRight(),$.raw=$.raw.trimRight();const ot=$.items.length;for(a=0;a<ot;a++){this.lexer.state.top=!1,$.items[a].tokens=this.lexer.blockTokens($.items[a].text,[]);const Y=$.items[a].tokens.filter(ct=>ct.type==="space"),Lt=Y.every(ct=>{const vt=ct.raw.split("");let
|
|
516
|
-
`&&(
|
|
517
|
-
`):[]};if(r.header.length===r.align.length){r.raw=e[0];let s=r.align.length,i,o,a,l;for(i=0;i<s;i++)/^ *-+: *$/.test(r.align[i])?r.align[i]="right":/^ *:-+: *$/.test(r.align[i])?r.align[i]="center":/^ *:-+ *$/.test(r.align[i])?r.align[i]="left":r.align[i]=null;for(s=r.rows.length,i=0;i<s;i++)r.rows[i]=
|
|
518
|
-
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}text(t){const e=this.rules.block.text.exec(t);if(e){const r={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:Tt(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):Tt(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const r=e[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Ti(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=
|
|
519
|
-
]`).replace("lheading",D.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const k={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:wi,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:wi,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};k._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",k.punctuation=it(k.punctuation).replace(/punctuation/g,k._punctuation).getRegex(),k.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,k.escapedEmSt=/\\\*|\\_/g,k._comment=it(D._comment).replace("(?:-->|$)","-->").getRegex(),k.emStrong.lDelim=it(k.emStrong.lDelim).replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimAst=it(k.emStrong.rDelimAst,"g").replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimUnd=it(k.emStrong.rDelimUnd,"g").replace(/punct/g,k._punctuation).getRegex(),k._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,k._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,k._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,k.autolink=it(k.autolink).replace("scheme",k._scheme).replace("email",k._email).getRegex(),k._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,k.tag=it(k.tag).replace("comment",k._comment).replace("attribute",k._attribute).getRegex(),k._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,k._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,k._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,k.link=it(k.link).replace("label",k._label).replace("href",k._href).replace("title",k._title).getRegex(),k.reflink=it(k.reflink).replace("label",k._label).replace("ref",D._label).getRegex(),k.nolink=it(k.nolink).replace("ref",D._label).getRegex(),k.reflinkSearch=it(k.reflinkSearch,"g").replace("reflink",k.reflink).replace("nolink",k.nolink).getRegex(),k.normal=pe({},k),k.pedantic=pe({},k.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:it(/^!?\[(label)\]\((.*?)\)/).replace("label",k._label).getRegex(),reflink:it(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",k._label).getRegex()}),k.gfm=pe({},k.normal,{escape:it(k.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),k.gfm.url=it(k.gfm.url,"i").replace("email",k.gfm._extended_email).getRegex(),k.breaks=pe({},k.gfm,{br:it(k.br).replace("{2,}","*").getRegex(),text:it(k.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function
|
|
515
|
+
`,t=t.substring(d.length+1)}}$.loose||(c?$.loose=!0:/\n *\n *$/.test(r)&&(c=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(p),s&&(i=s[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,""))),$.items.push({type:"list_item",raw:r,task:!!s,checked:i,loose:!1,text:p}),$.raw+=r}$.items[$.items.length-1].raw=r.trimRight(),$.items[$.items.length-1].text=p.trimRight(),$.raw=$.raw.trimRight();const ot=$.items.length;for(a=0;a<ot;a++){this.lexer.state.top=!1,$.items[a].tokens=this.lexer.blockTokens($.items[a].text,[]);const Y=$.items[a].tokens.filter(ct=>ct.type==="space"),Lt=Y.every(ct=>{const vt=ct.raw.split("");let Ht=0;for(const ge of vt)if(ge===`
|
|
516
|
+
`&&(Ht+=1),Ht>1)return!0;return!1});!$.loose&&Y.length&&Lt&&($.loose=!0,$.items[a].loose=!0)}return $}}html(t){const e=this.rules.block.html.exec(t);if(e){const r={type:"html",raw:e[0],pre:!this.options.sanitizer&&(e[1]==="pre"||e[1]==="script"||e[1]==="style"),text:e[0]};return this.options.sanitize&&(r.type="paragraph",r.text=this.options.sanitizer?this.options.sanitizer(e[0]):Tt(e[0]),r.tokens=[],this.lexer.inline(r.text,r.tokens)),r}}def(t){const e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{type:"def",tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}}table(t){const e=this.rules.block.table.exec(t);if(e){const r={type:"table",header:jh(e[1]).map(s=>({text:s})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]?e[3].replace(/\n[ \t]*$/,"").split(`
|
|
517
|
+
`):[]};if(r.header.length===r.align.length){r.raw=e[0];let s=r.align.length,i,o,a,l;for(i=0;i<s;i++)/^ *-+: *$/.test(r.align[i])?r.align[i]="right":/^ *:-+: *$/.test(r.align[i])?r.align[i]="center":/^ *:-+ *$/.test(r.align[i])?r.align[i]="left":r.align[i]=null;for(s=r.rows.length,i=0;i<s;i++)r.rows[i]=jh(r.rows[i],r.header.length).map(c=>({text:c}));for(s=r.header.length,o=0;o<s;o++)r.header[o].tokens=[],this.lexer.inlineTokens(r.header[o].text,r.header[o].tokens);for(s=r.rows.length,o=0;o<s;o++)for(l=r.rows[o],a=0;a<l.length;a++)l[a].tokens=[],this.lexer.inlineTokens(l[a].text,l[a].tokens);return r}}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e){const r={type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const r={type:"paragraph",raw:e[0],text:e[1].charAt(e[1].length-1)===`
|
|
518
|
+
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}text(t){const e=this.rules.block.text.exec(t);if(e){const r={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:Tt(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):Tt(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const r=e[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Ti(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=fy(e[2],"()");if(o>-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let s=e[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);o&&(s=o[1],i=o[3])}else i=e[3]?e[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(this.options.pedantic&&!/>$/.test(r)?s=s.slice(1):s=s.slice(1,-1)),Zh(e,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let s=(r[2]||r[1]).replace(/\s+/g," ");if(s=e[s.toLowerCase()],!s||!s.href){const i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Zh(r,s,r[0],this.lexer)}}emStrong(t,e,r=""){let s=this.rules.inline.emStrong.lDelim.exec(t);if(!s||s[3]&&r.match(/[\p{L}\p{N}]/u))return;const i=s[1]||s[2]||"";if(!i||i&&(r===""||this.rules.inline.punctuation.exec(r))){const o=s[0].length-1;let a,l,c=o,u=0;const f=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,e=e.slice(-1*t.length+o);(s=f.exec(e))!=null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(l=a.length,s[3]||s[4]){c+=l;continue}else if((s[5]||s[6])&&o%3&&!((o+l)%3)){u+=l;continue}if(c-=l,c>0)continue;if(l=Math.min(l,l+c+u),Math.min(o,l)%2){const p=t.slice(1,o+s.index+l);return{type:"em",raw:t.slice(0,o+s.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}const d=t.slice(2,o+s.index+l-1);return{type:"strong",raw:t.slice(0,o+s.index+l+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let r=e[2].replace(/\n/g," ");const s=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return s&&i&&(r=r.substring(1,r.length-1)),r=Tt(r,!0),{type:"codespan",raw:e[0],text:r}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2],[])}}autolink(t,e){const r=this.rules.inline.autolink.exec(t);if(r){let s,i;return r[2]==="@"?(s=Tt(this.options.mangle?e(r[1]):r[1]),i="mailto:"+s):(s=Tt(r[1]),i=s),{type:"link",raw:r[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(t,e){let r;if(r=this.rules.inline.url.exec(t)){let s,i;if(r[2]==="@")s=Tt(this.options.mangle?e(r[0]):r[0]),i="mailto:"+s;else{let o;do o=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(o!==r[0]);s=Tt(r[0]),r[1]==="www."?i="http://"+s:i=s}return{type:"link",raw:r[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t,e){const r=this.rules.inline.text.exec(t);if(r){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Tt(r[0]):r[0]:s=Tt(this.options.smartypants?e(r[0]):r[0]),{type:"text",raw:r[0],text:s}}}}const D={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:wi,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};D._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,D._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,D.def=it(D.def).replace("label",D._label).replace("title",D._title).getRegex(),D.bullet=/(?:[*+-]|\d{1,9}[.)])/,D.listItemStart=it(/^( *)(bull) */).replace("bull",D.bullet).getRegex(),D.list=it(D.list).replace(/bull/g,D.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+D.def.source+")").getRegex(),D._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",D._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,D.html=it(D.html,"i").replace("comment",D._comment).replace("tag",D._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D.paragraph=it(D._paragraph).replace("hr",D.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",D._tag).getRegex(),D.blockquote=it(D.blockquote).replace("paragraph",D.paragraph).getRegex(),D.normal=pe({},D),D.gfm=pe({},D.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),D.gfm.table=it(D.gfm.table).replace("hr",D.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",D._tag).getRegex(),D.gfm.paragraph=it(D._paragraph).replace("hr",D.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",D.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",D._tag).getRegex(),D.pedantic=pe({},D.normal,{html:it(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",D._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:wi,paragraph:it(D.normal._paragraph).replace("hr",D.hr).replace("heading",` *#{1,6} *[^
|
|
519
|
+
]`).replace("lheading",D.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const k={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:wi,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:wi,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};k._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",k.punctuation=it(k.punctuation).replace(/punctuation/g,k._punctuation).getRegex(),k.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,k.escapedEmSt=/\\\*|\\_/g,k._comment=it(D._comment).replace("(?:-->|$)","-->").getRegex(),k.emStrong.lDelim=it(k.emStrong.lDelim).replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimAst=it(k.emStrong.rDelimAst,"g").replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimUnd=it(k.emStrong.rDelimUnd,"g").replace(/punct/g,k._punctuation).getRegex(),k._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,k._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,k._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,k.autolink=it(k.autolink).replace("scheme",k._scheme).replace("email",k._email).getRegex(),k._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,k.tag=it(k.tag).replace("comment",k._comment).replace("attribute",k._attribute).getRegex(),k._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,k._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,k._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,k.link=it(k.link).replace("label",k._label).replace("href",k._href).replace("title",k._title).getRegex(),k.reflink=it(k.reflink).replace("label",k._label).replace("ref",D._label).getRegex(),k.nolink=it(k.nolink).replace("ref",D._label).getRegex(),k.reflinkSearch=it(k.reflinkSearch,"g").replace("reflink",k.reflink).replace("nolink",k.nolink).getRegex(),k.normal=pe({},k),k.pedantic=pe({},k.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:it(/^!?\[(label)\]\((.*?)\)/).replace("label",k._label).getRegex(),reflink:it(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",k._label).getRegex()}),k.gfm=pe({},k.normal,{escape:it(k.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),k.gfm.url=it(k.gfm.url,"i").replace("email",k.gfm._extended_email).getRegex(),k.breaks=pe({},k.gfm,{br:it(k.br).replace("{2,}","*").getRegex(),text:it(k.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function py(n){return n.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function qh(n){let t="",e,r;const s=n.length;for(e=0;e<s;e++)r=n.charCodeAt(e),Math.random()>.5&&(r="x"+r.toString(16)),t+="&#"+r+";";return t}class $e{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Yn,this.options.tokenizer=this.options.tokenizer||new v1,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const e={block:D.normal,inline:k.normal};this.options.pedantic?(e.block=D.pedantic,e.inline=k.pedantic):this.options.gfm&&(e.block=D.gfm,this.options.breaks?e.inline=k.breaks:e.inline=k.gfm),this.tokenizer.rules=e}static get rules(){return{block:D,inline:k}}static lex(t,e){return new $e(e).lex(t)}static lexInline(t,e){return new $e(e).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
520
520
|
`).replace(/\t/g," "),this.blockTokens(t,this.tokens);let e;for(;e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens}blockTokens(t,e=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let r,s,i,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(r=a.call({lexer:this},t,e))?(t=t.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&e.length>0?e[e.length-1].raw+=`
|
|
521
521
|
`:e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),s=e[e.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
|
|
522
522
|
`+r.raw,s.text+=`
|
|
@@ -526,7 +526,7 @@ A.method() {
|
|
|
526
526
|
`+r.raw,s.text+=`
|
|
527
527
|
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):e.push(r),o=i.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),s=e[e.length-1],s&&s.type==="text"?(s.raw+=`
|
|
528
528
|
`+r.raw,s.text+=`
|
|
529
|
-
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):e.push(r);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(t,e){this.inlineQueue.push({src:t,tokens:e})}inlineTokens(t,e=[]){let r,s,i,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+
|
|
529
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):e.push(r);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(t,e){this.inlineQueue.push({src:t,tokens:e})}inlineTokens(t,e=[]){let r,s,i,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+zh("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+zh("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(r=u.call({lexer:this},t,e))?(t=t.substring(r.raw.length),e.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),s=e[e.length-1],s&&r.type==="text"&&s.type==="text"?(s.raw+=r.raw,s.text+=r.text):e.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),s=e[e.length-1],s&&r.type==="text"&&s.type==="text"?(s.raw+=r.raw,s.text+=r.text):e.push(r);continue}if(r=this.tokenizer.emStrong(t,o,c)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.autolink(t,qh)){t=t.substring(r.raw.length),e.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t,qh))){t=t.substring(r.raw.length),e.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(function(p){d=p.call({lexer:this},f),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(r=this.tokenizer.inlineText(i,py)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(c=r.raw.slice(-1)),l=!0,s=e[e.length-1],s&&s.type==="text"?(s.raw+=r.raw,s.text+=r.text):e.push(r);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return e}}class y1{constructor(t){this.options=t||Yn}code(t,e,r){const s=(e||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(t,s);i!=null&&i!==t&&(r=!0,t=i)}return t=t.replace(/\n$/,"")+`
|
|
530
530
|
`,s?'<pre><code class="'+this.options.langPrefix+Tt(s,!0)+'">'+(r?t:Tt(t,!0))+`</code></pre>
|
|
531
531
|
`:"<pre><code>"+(r?t:Tt(t,!0))+`</code></pre>
|
|
532
532
|
`}blockquote(t){return`<blockquote>
|
|
@@ -546,17 +546,17 @@ A.method() {
|
|
|
546
546
|
`}tablerow(t){return`<tr>
|
|
547
547
|
`+t+`</tr>
|
|
548
548
|
`}tablecell(t,e){const r=e.header?"th":"td";return(e.align?"<"+r+' align="'+e.align+'">':"<"+r+">")+t+"</"+r+`>
|
|
549
|
-
`}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,e,r){if(t=
|
|
550
|
-
`+(p.tokens?this.parseInline(p.tokens):p.text);r+=e?this.renderer.paragraph(d):d;continue}default:{const
|
|
551
|
-
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Tt(r.message+"",!0)+"</pre>";throw r}}F.options=F.setOptions=function(n){return pe(F.defaults,n),
|
|
552
|
-
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Tt(e.message+"",!0)+"</pre>";throw e}},F.Parser=De,F.parser=De.parse,F.Renderer=L1,F.TextRenderer=Zh,F.Lexer=$e,F.lexer=$e.lex,F.Tokenizer=_1,F.Slugger=qh,F.parse=F,F.options,F.setOptions,F.use,F.walkTokens,F.parseInline,De.parse,$e.lex;function v1(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];typeof e=="object"&&!Object.isFrozen(e)&&v1(e)}),n}var Wh=v1,py=v1;Wh.default=py;class Kh{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Xn(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Qe(n,...t){const e=Object.create(null);for(const r in n)e[r]=n[r];return t.forEach(function(r){for(const s in r)e[s]=r[s]}),e}const gy="</span>",Yh=n=>!!n.kind;class xy{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=Xn(t)}openNode(t){if(!Yh(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){Yh(t)&&(this.buffer+=gy)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class y1{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(r=>this._walk(t,r)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{y1._collapse(e)}))}}class my extends y1{constructor(t){super(),this.options=t}addKeyword(t,e){t!==""&&(this.openNode(e),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,e){const r=t.root;r.kind=e,r.sublanguage=!0,this.add(r)}toHTML(){return new xy(this,this.options).value()}finalize(){return!0}}function _y(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Zr(n){return n?typeof n=="string"?n:n.source:null}function Ly(...n){return n.map(e=>Zr(e)).join("")}function vy(...n){return"("+n.map(e=>Zr(e)).join("|")+")"}function yy(n){return new RegExp(n.toString()+"|").exec("").length-1}function Cy(n,t){const e=n&&n.exec(t);return e&&e.index===0}const Ey=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function by(n,t="|"){let e=0;return n.map(r=>{e+=1;const s=e;let i=Zr(r),o="";for(;i.length>0;){const a=Ey.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+s):(o+=a[0],a[0]==="("&&e++)}return o}).map(r=>`(${r})`).join(t)}const wy=/\b\B/,Xh="[a-zA-Z]\\w*",C1="[a-zA-Z_]\\w*",E1="\\b\\d+(\\.\\d+)?",Qh="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Jh="\\b(0b[01]+)",Ty="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Ay=(n={})=>{const t=/^#![ ]*\//;return n.binary&&(n.begin=Ly(t,/.*\b/,n.binary,/\b.*/)),Qe({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,r)=>{e.index!==0&&r.ignoreMatch()}},n)},qr={begin:"\\\\[\\s\\S]",relevance:0},Sy={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[qr]},Ry={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[qr]},t2={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ai=function(n,t,e={}){const r=Qe({className:"comment",begin:n,end:t,contains:[]},e);return r.contains.push(t2),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},ky=Ai("//","$"),Oy=Ai("/\\*","\\*/"),Ny=Ai("#","$"),Iy={className:"number",begin:E1,relevance:0},Py={className:"number",begin:Qh,relevance:0},My={className:"number",begin:Jh,relevance:0},$y={className:"number",begin:E1+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},Dy={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[qr,{begin:/\[/,end:/\]/,relevance:0,contains:[qr]}]}]},Fy={className:"title",begin:Xh,relevance:0},By={className:"title",begin:C1,relevance:0},Uy={begin:"\\.\\s*"+C1,relevance:0};var Si=Object.freeze({__proto__:null,MATCH_NOTHING_RE:wy,IDENT_RE:Xh,UNDERSCORE_IDENT_RE:C1,NUMBER_RE:E1,C_NUMBER_RE:Qh,BINARY_NUMBER_RE:Jh,RE_STARTERS_RE:Ty,SHEBANG:Ay,BACKSLASH_ESCAPE:qr,APOS_STRING_MODE:Sy,QUOTE_STRING_MODE:Ry,PHRASAL_WORDS_MODE:t2,COMMENT:Ai,C_LINE_COMMENT_MODE:ky,C_BLOCK_COMMENT_MODE:Oy,HASH_COMMENT_MODE:Ny,NUMBER_MODE:Iy,C_NUMBER_MODE:Py,BINARY_NUMBER_MODE:My,CSS_NUMBER_MODE:$y,REGEXP_MODE:Dy,TITLE_MODE:Fy,UNDERSCORE_TITLE_MODE:By,METHOD_GUARD:Uy,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})}});function Hy(n,t){n.input[n.index-1]==="."&&t.ignoreMatch()}function Gy(n,t){t&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=Hy,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function jy(n,t){Array.isArray(n.illegal)&&(n.illegal=vy(...n.illegal))}function Vy(n,t){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function zy(n,t){n.relevance===void 0&&(n.relevance=1)}const Zy=["of","and","for","in","not","or","if","then","parent","list","value"],qy="keyword";function e2(n,t,e=qy){const r={};return typeof n=="string"?s(e,n.split(" ")):Array.isArray(n)?s(e,n):Object.keys(n).forEach(function(i){Object.assign(r,e2(n[i],t,i))}),r;function s(i,o){t&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");r[l[0]]=[i,Wy(l[0],l[1])]})}}function Wy(n,t){return t?Number(t):Ky(n)?0:1}function Ky(n){return Zy.includes(n.toLowerCase())}function Yy(n,{plugins:t}){function e(a,l){return new RegExp(Zr(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=yy(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=e(by(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((d,p)=>p>0&&d!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new r;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new s;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[Vy].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[Gy,jy,zy].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=e2(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=e(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(a.end)),c.terminatorEnd=Zr(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return Xy(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=Qe(n.classNameAliases||{}),o(n)}function n2(n){return n?n.endsWithParent||n2(n.starts):!1}function Xy(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(t){return Qe(n,{variants:null},t)})),n.cachedVariants?n.cachedVariants:n2(n)?Qe(n,{starts:n.starts?Qe(n.starts):null}):Object.isFrozen(n)?Qe(n):n}var Qy="10.7.3";function Jy(n){return Boolean(n||n==="")}function tC(n){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Xn(this.code);let r={};return this.autoDetect?(r=n.highlightAuto(this.code),this.detectedLanguage=r.language):(r=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||Jy(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const eC={"after:highlightElement":({el:n,result:t,text:e})=>{const r=r2(n);if(!r.length)return;const s=document.createElement("div");s.innerHTML=t.value,t.value=nC(r,r2(s),e)}};function b1(n){return n.nodeName.toLowerCase()}function r2(n){const t=[];return function e(r,s){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?s+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:s,node:i}),s=e(i,s),b1(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:s,node:i}));return s}(n,0),t}function nC(n,t,e){let r=0,s="";const i=[];function o(){return!n.length||!t.length?n.length?n:t:n[0].offset!==t[0].offset?n[0].offset<t[0].offset?n:t:t[0].event==="start"?n:t}function a(u){function f(d){return" "+d.nodeName+'="'+Xn(d.value)+'"'}s+="<"+b1(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){s+="</"+b1(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||t.length;){let u=o();if(s+=Xn(e.substring(r,u[0].offset)),r=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===r);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return s+Xn(e.substr(r))}const s2={},w1=n=>{console.error(n)},i2=(n,...t)=>{console.log(`WARN: ${n}`,...t)},ue=(n,t)=>{s2[`${n}/${t}`]||(console.log(`Deprecated as of ${n}. ${t}`),s2[`${n}/${t}`]=!0)},T1=Xn,o2=Qe,a2=Symbol("nomatch");var rC=function(n){const t=Object.create(null),e=Object.create(null),r=[];let s=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:my};function c(y){return l.noHighlightRe.test(y)}function u(y){let E=y.className+" ";E+=y.parentNode?y.parentNode.className:"";const O=l.languageDetectRe.exec(E);if(O){const P=At(O[1]);return P||(i2(o.replace("{}",O[1])),i2("Falling back to no-highlight mode for this block.",y)),P?O[1]:"no-highlight"}return E.split(/\s+/).find(P=>c(P)||At(P))}function f(y,E,O,P){let U="",at="";typeof E=="object"?(U=y,O=E.ignoreIllegals,at=E.language,P=void 0):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0",`Please use highlight(code, options) instead.
|
|
553
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),at=y,U=E);const xt={code:U,language:at};S("before:highlight",xt);const St=xt.result?xt.result:d(xt.language,xt.code,O,P);return St.code=xt.code,S("after:highlight",St),St}function d(y,E,O,P){function U(M,H){const K=er.case_insensitive?H[0].toLowerCase():H[0];return Object.prototype.hasOwnProperty.call(M.keywords,K)&&M.keywords[K]}function at(){if(!W.keywords){
|
|
549
|
+
`}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,e,r){if(t=Gh(this.options.sanitize,this.options.baseUrl,t),t===null)return r;let s='<a href="'+Tt(t)+'"';return e&&(s+=' title="'+e+'"'),s+=">"+r+"</a>",s}image(t,e,r){if(t=Gh(this.options.sanitize,this.options.baseUrl,t),t===null)return r;let s='<img src="'+t+'" alt="'+r+'"';return e&&(s+=' title="'+e+'"'),s+=this.options.xhtml?"/>":">",s}text(t){return t}}class Wh{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,r){return""+r}image(t,e,r){return""+r}br(){return""}}class Kh{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let r=t,s=0;if(this.seen.hasOwnProperty(r)){s=this.seen[t];do s++,r=t+"-"+s;while(this.seen.hasOwnProperty(r))}return e||(this.seen[t]=s,this.seen[r]=0),r}slug(t,e={}){const r=this.serialize(t);return this.getNextSafeSlug(r,e.dryrun)}}class De{constructor(t){this.options=t||Yn,this.options.renderer=this.options.renderer||new y1,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Wh,this.slugger=new Kh}static parse(t,e){return new De(e).parse(t)}static parseInline(t,e){return new De(e).parseInline(t)}parse(t,e=!0){let r="",s,i,o,a,l,c,u,f,d,p,w,I,q,$,j,ot,Y,Lt,ct;const vt=t.length;for(s=0;s<vt;s++){if(p=t[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(ct=this.options.extensions.renderers[p.type].call({parser:this},p),ct!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type))){r+=ct||"";continue}switch(p.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{r+=this.renderer.heading(this.parseInline(p.tokens),p.depth,Hh(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue}case"code":{r+=this.renderer.code(p.text,p.lang,p.escaped);continue}case"table":{for(f="",u="",a=p.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(p.header[i].tokens),{header:!0,align:p.align[i]});for(f+=this.renderer.tablerow(u),d="",a=p.rows.length,i=0;i<a;i++){for(c=p.rows[i],u="",l=c.length,o=0;o<l;o++)u+=this.renderer.tablecell(this.parseInline(c[o].tokens),{header:!1,align:p.align[o]});d+=this.renderer.tablerow(u)}r+=this.renderer.table(f,d);continue}case"blockquote":{d=this.parse(p.tokens),r+=this.renderer.blockquote(d);continue}case"list":{for(w=p.ordered,I=p.start,q=p.loose,a=p.items.length,d="",i=0;i<a;i++)j=p.items[i],ot=j.checked,Y=j.task,$="",j.task&&(Lt=this.renderer.checkbox(ot),q?j.tokens.length>0&&j.tokens[0].type==="paragraph"?(j.tokens[0].text=Lt+" "+j.tokens[0].text,j.tokens[0].tokens&&j.tokens[0].tokens.length>0&&j.tokens[0].tokens[0].type==="text"&&(j.tokens[0].tokens[0].text=Lt+" "+j.tokens[0].tokens[0].text)):j.tokens.unshift({type:"text",text:Lt}):$+=Lt),$+=this.parse(j.tokens,q),d+=this.renderer.listitem($,Y,ot);r+=this.renderer.list(d,w,I);continue}case"html":{r+=this.renderer.html(p.text);continue}case"paragraph":{r+=this.renderer.paragraph(this.parseInline(p.tokens));continue}case"text":{for(d=p.tokens?this.parseInline(p.tokens):p.text;s+1<vt&&t[s+1].type==="text";)p=t[++s],d+=`
|
|
550
|
+
`+(p.tokens?this.parseInline(p.tokens):p.text);r+=e?this.renderer.paragraph(d):d;continue}default:{const Ht='Token with "'+p.type+'" type was not found.';if(this.options.silent){console.error(Ht);return}else throw new Error(Ht)}}}return r}parseInline(t,e){e=e||this.renderer;let r="",s,i,o;const a=t.length;for(s=0;s<a;s++){if(i=t[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(o=this.options.extensions.renderers[i.type].call({parser:this},i),o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){r+=o||"";continue}switch(i.type){case"escape":{r+=e.text(i.text);break}case"html":{r+=e.html(i.text);break}case"link":{r+=e.link(i.href,i.title,this.parseInline(i.tokens,e));break}case"image":{r+=e.image(i.href,i.title,i.text);break}case"strong":{r+=e.strong(this.parseInline(i.tokens,e));break}case"em":{r+=e.em(this.parseInline(i.tokens,e));break}case"codespan":{r+=e.codespan(i.text);break}case"br":{r+=e.br();break}case"del":{r+=e.del(this.parseInline(i.tokens,e));break}case"text":{r+=e.text(i.text);break}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(l);return}else throw new Error(l)}}}return r}}function F(n,t,e){if(typeof n>"u"||n===null)throw new Error("marked(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");if(typeof t=="function"&&(e=t,t=null),t=pe({},F.defaults,t||{}),Vh(t),e){const r=t.highlight;let s;try{s=$e.lex(n,t)}catch(a){return e(a)}const i=function(a){let l;if(!a)try{t.walkTokens&&F.walkTokens(s,t.walkTokens),l=De.parse(s,t)}catch(c){a=c}return t.highlight=r,a?e(a):e(null,l)};if(!r||r.length<3||(delete t.highlight,!s.length))return i();let o=0;F.walkTokens(s,function(a){a.type==="code"&&(o++,setTimeout(()=>{r(a.text,a.lang,function(l,c){if(l)return i(l);c!=null&&c!==a.text&&(a.text=c,a.escaped=!0),o--,o===0&&i()})},0))}),o===0&&i();return}try{const r=$e.lex(n,t);return t.walkTokens&&F.walkTokens(r,t.walkTokens),De.parse(r,t)}catch(r){if(r.message+=`
|
|
551
|
+
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Tt(r.message+"",!0)+"</pre>";throw r}}F.options=F.setOptions=function(n){return pe(F.defaults,n),Qv(F.defaults),F},F.getDefaults=Bh,F.defaults=Yn,F.use=function(...n){const t=pe({},...n),e=F.defaults.extensions||{renderers:{},childTokens:{}};let r;n.forEach(s=>{if(s.extensions&&(r=!0,s.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const o=e.renderers?e.renderers[i.name]:null;o?e.renderers[i.name]=function(...a){let l=i.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:e.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[i.level]?e[i.level].unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}i.childTokens&&(e.childTokens[i.name]=i.childTokens)})),s.renderer){const i=F.defaults.renderer||new y1;for(const o in s.renderer){const a=i[o];i[o]=(...l)=>{let c=s.renderer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.renderer=i}if(s.tokenizer){const i=F.defaults.tokenizer||new v1;for(const o in s.tokenizer){const a=i[o];i[o]=(...l)=>{let c=s.tokenizer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.tokenizer=i}if(s.walkTokens){const i=F.defaults.walkTokens;t.walkTokens=function(o){s.walkTokens.call(this,o),i&&i.call(this,o)}}r&&(t.extensions=e),F.setOptions(t)})},F.walkTokens=function(n,t){for(const e of n)switch(t.call(F,e),e.type){case"table":{for(const r of e.header)F.walkTokens(r.tokens,t);for(const r of e.rows)for(const s of r)F.walkTokens(s.tokens,t);break}case"list":{F.walkTokens(e.items,t);break}default:F.defaults.extensions&&F.defaults.extensions.childTokens&&F.defaults.extensions.childTokens[e.type]?F.defaults.extensions.childTokens[e.type].forEach(function(r){F.walkTokens(e[r],t)}):e.tokens&&F.walkTokens(e.tokens,t)}},F.parseInline=function(n,t){if(typeof n>"u"||n===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");t=pe({},F.defaults,t||{}),Vh(t);try{const e=$e.lexInline(n,t);return t.walkTokens&&F.walkTokens(e,t.walkTokens),De.parseInline(e,t)}catch(e){if(e.message+=`
|
|
552
|
+
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Tt(e.message+"",!0)+"</pre>";throw e}},F.Parser=De,F.parser=De.parse,F.Renderer=y1,F.TextRenderer=Wh,F.Lexer=$e,F.lexer=$e.lex,F.Tokenizer=v1,F.Slugger=Kh,F.parse=F,F.options,F.setOptions,F.use,F.walkTokens,F.parseInline,De.parse,$e.lex;function C1(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];typeof e=="object"&&!Object.isFrozen(e)&&C1(e)}),n}var Yh=C1,gy=C1;Yh.default=gy;class Xh{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Xn(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Qe(n,...t){const e=Object.create(null);for(const r in n)e[r]=n[r];return t.forEach(function(r){for(const s in r)e[s]=r[s]}),e}const xy="</span>",Qh=n=>!!n.kind;class my{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=Xn(t)}openNode(t){if(!Qh(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){Qh(t)&&(this.buffer+=xy)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class E1{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(r=>this._walk(t,r)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{E1._collapse(e)}))}}class _y extends E1{constructor(t){super(),this.options=t}addKeyword(t,e){t!==""&&(this.openNode(e),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,e){const r=t.root;r.kind=e,r.sublanguage=!0,this.add(r)}toHTML(){return new my(this,this.options).value()}finalize(){return!0}}function Ly(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Zr(n){return n?typeof n=="string"?n:n.source:null}function vy(...n){return n.map(e=>Zr(e)).join("")}function yy(...n){return"("+n.map(e=>Zr(e)).join("|")+")"}function Cy(n){return new RegExp(n.toString()+"|").exec("").length-1}function Ey(n,t){const e=n&&n.exec(t);return e&&e.index===0}const by=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function wy(n,t="|"){let e=0;return n.map(r=>{e+=1;const s=e;let i=Zr(r),o="";for(;i.length>0;){const a=by.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+s):(o+=a[0],a[0]==="("&&e++)}return o}).map(r=>`(${r})`).join(t)}const Ty=/\b\B/,Jh="[a-zA-Z]\\w*",b1="[a-zA-Z_]\\w*",w1="\\b\\d+(\\.\\d+)?",t2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e2="\\b(0b[01]+)",Ay="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Sy=(n={})=>{const t=/^#![ ]*\//;return n.binary&&(n.begin=vy(t,/.*\b/,n.binary,/\b.*/)),Qe({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,r)=>{e.index!==0&&r.ignoreMatch()}},n)},qr={begin:"\\\\[\\s\\S]",relevance:0},Ry={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[qr]},ky={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[qr]},n2={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ai=function(n,t,e={}){const r=Qe({className:"comment",begin:n,end:t,contains:[]},e);return r.contains.push(n2),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},Oy=Ai("//","$"),Ny=Ai("/\\*","\\*/"),Iy=Ai("#","$"),Py={className:"number",begin:w1,relevance:0},My={className:"number",begin:t2,relevance:0},$y={className:"number",begin:e2,relevance:0},Dy={className:"number",begin:w1+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},Fy={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[qr,{begin:/\[/,end:/\]/,relevance:0,contains:[qr]}]}]},By={className:"title",begin:Jh,relevance:0},Uy={className:"title",begin:b1,relevance:0},Hy={begin:"\\.\\s*"+b1,relevance:0};var Si=Object.freeze({__proto__:null,MATCH_NOTHING_RE:Ty,IDENT_RE:Jh,UNDERSCORE_IDENT_RE:b1,NUMBER_RE:w1,C_NUMBER_RE:t2,BINARY_NUMBER_RE:e2,RE_STARTERS_RE:Ay,SHEBANG:Sy,BACKSLASH_ESCAPE:qr,APOS_STRING_MODE:Ry,QUOTE_STRING_MODE:ky,PHRASAL_WORDS_MODE:n2,COMMENT:Ai,C_LINE_COMMENT_MODE:Oy,C_BLOCK_COMMENT_MODE:Ny,HASH_COMMENT_MODE:Iy,NUMBER_MODE:Py,C_NUMBER_MODE:My,BINARY_NUMBER_MODE:$y,CSS_NUMBER_MODE:Dy,REGEXP_MODE:Fy,TITLE_MODE:By,UNDERSCORE_TITLE_MODE:Uy,METHOD_GUARD:Hy,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})}});function Gy(n,t){n.input[n.index-1]==="."&&t.ignoreMatch()}function jy(n,t){t&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=Gy,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function Vy(n,t){Array.isArray(n.illegal)&&(n.illegal=yy(...n.illegal))}function zy(n,t){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function Zy(n,t){n.relevance===void 0&&(n.relevance=1)}const qy=["of","and","for","in","not","or","if","then","parent","list","value"],Wy="keyword";function r2(n,t,e=Wy){const r={};return typeof n=="string"?s(e,n.split(" ")):Array.isArray(n)?s(e,n):Object.keys(n).forEach(function(i){Object.assign(r,r2(n[i],t,i))}),r;function s(i,o){t&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");r[l[0]]=[i,Ky(l[0],l[1])]})}}function Ky(n,t){return t?Number(t):Yy(n)?0:1}function Yy(n){return qy.includes(n.toLowerCase())}function Xy(n,{plugins:t}){function e(a,l){return new RegExp(Zr(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=Cy(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=e(wy(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((d,p)=>p>0&&d!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new r;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new s;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[zy].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[jy,Vy,Zy].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=r2(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=e(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(a.end)),c.terminatorEnd=Zr(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return Qy(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=Qe(n.classNameAliases||{}),o(n)}function s2(n){return n?n.endsWithParent||s2(n.starts):!1}function Qy(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(t){return Qe(n,{variants:null},t)})),n.cachedVariants?n.cachedVariants:s2(n)?Qe(n,{starts:n.starts?Qe(n.starts):null}):Object.isFrozen(n)?Qe(n):n}var Jy="10.7.3";function tC(n){return Boolean(n||n==="")}function eC(n){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Xn(this.code);let r={};return this.autoDetect?(r=n.highlightAuto(this.code),this.detectedLanguage=r.language):(r=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||tC(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const nC={"after:highlightElement":({el:n,result:t,text:e})=>{const r=i2(n);if(!r.length)return;const s=document.createElement("div");s.innerHTML=t.value,t.value=rC(r,i2(s),e)}};function T1(n){return n.nodeName.toLowerCase()}function i2(n){const t=[];return function e(r,s){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?s+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:s,node:i}),s=e(i,s),T1(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:s,node:i}));return s}(n,0),t}function rC(n,t,e){let r=0,s="";const i=[];function o(){return!n.length||!t.length?n.length?n:t:n[0].offset!==t[0].offset?n[0].offset<t[0].offset?n:t:t[0].event==="start"?n:t}function a(u){function f(d){return" "+d.nodeName+'="'+Xn(d.value)+'"'}s+="<"+T1(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){s+="</"+T1(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||t.length;){let u=o();if(s+=Xn(e.substring(r,u[0].offset)),r=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===r);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return s+Xn(e.substr(r))}const o2={},A1=n=>{console.error(n)},a2=(n,...t)=>{console.log(`WARN: ${n}`,...t)},ue=(n,t)=>{o2[`${n}/${t}`]||(console.log(`Deprecated as of ${n}. ${t}`),o2[`${n}/${t}`]=!0)},S1=Xn,l2=Qe,c2=Symbol("nomatch");var sC=function(n){const t=Object.create(null),e=Object.create(null),r=[];let s=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:_y};function c(y){return l.noHighlightRe.test(y)}function u(y){let E=y.className+" ";E+=y.parentNode?y.parentNode.className:"";const O=l.languageDetectRe.exec(E);if(O){const P=At(O[1]);return P||(a2(o.replace("{}",O[1])),a2("Falling back to no-highlight mode for this block.",y)),P?O[1]:"no-highlight"}return E.split(/\s+/).find(P=>c(P)||At(P))}function f(y,E,O,P){let U="",at="";typeof E=="object"?(U=y,O=E.ignoreIllegals,at=E.language,P=void 0):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0",`Please use highlight(code, options) instead.
|
|
553
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),at=y,U=E);const xt={code:U,language:at};S("before:highlight",xt);const St=xt.result?xt.result:d(xt.language,xt.code,O,P);return St.code=xt.code,S("after:highlight",St),St}function d(y,E,O,P){function U(M,H){const K=er.case_insensitive?H[0].toLowerCase():H[0];return Object.prototype.hasOwnProperty.call(M.keywords,K)&&M.keywords[K]}function at(){if(!W.keywords){Gt.addText(Ct);return}let M=0;W.keywordPatternRe.lastIndex=0;let H=W.keywordPatternRe.exec(Ct),K="";for(;H;){K+=Ct.substring(M,H.index);const rt=U(W,H);if(rt){const[qt,Ni]=rt;if(Gt.addText(K),K="",Oi+=Ni,qt.startsWith("_"))K+=H[0];else{const xb=er.classNameAliases[qt]||qt;Gt.addKeyword(H[0],xb)}}else K+=H[0];M=W.keywordPatternRe.lastIndex,H=W.keywordPatternRe.exec(Ct)}K+=Ct.substr(M),Gt.addText(K)}function xt(){if(Ct==="")return;let M=null;if(typeof W.subLanguage=="string"){if(!t[W.subLanguage]){Gt.addText(Ct);return}M=d(W.subLanguage,Ct,!0,N2[W.subLanguage]),N2[W.subLanguage]=M.top}else M=w(Ct,W.subLanguage.length?W.subLanguage:null);W.relevance>0&&(Oi+=M.relevance),Gt.addSublanguage(M.emitter,M.language)}function St(){W.subLanguage!=null?xt():at(),Ct=""}function Et(M){return M.className&&Gt.openNode(er.classNameAliases[M.className]||M.className),W=Object.create(M,{parent:{value:W}}),W}function kt(M,H,K){let rt=Ey(M.endRe,K);if(rt){if(M["on:end"]){const qt=new Xh(M);M["on:end"](H,qt),qt.isMatchIgnored&&(rt=!1)}if(rt){for(;M.endsParent&&M.parent;)M=M.parent;return M}}if(M.endsWithParent)return kt(M.parent,H,K)}function Ri(M){return W.matcher.regexIndex===0?(Ct+=M[0],1):(I1=!0,0)}function Xr(M){const H=M[0],K=M.rule,rt=new Xh(K),qt=[K.__beforeBegin,K["on:begin"]];for(const Ni of qt)if(Ni&&(Ni(M,rt),rt.isMatchIgnored))return Ri(H);return K&&K.endSameAsBegin&&(K.endRe=Ly(H)),K.skip?Ct+=H:(K.excludeBegin&&(Ct+=H),St(),!K.returnBegin&&!K.excludeBegin&&(Ct=H)),Et(K),K.returnBegin?0:H.length}function db(M){const H=M[0],K=E.substr(M.index),rt=kt(W,M,K);if(!rt)return c2;const qt=W;qt.skip?Ct+=H:(qt.returnEnd||qt.excludeEnd||(Ct+=H),St(),qt.excludeEnd&&(Ct=H));do W.className&&Gt.closeNode(),!W.skip&&!W.subLanguage&&(Oi+=W.relevance),W=W.parent;while(W!==rt.parent);return rt.starts&&(rt.endSameAsBegin&&(rt.starts.endRe=rt.endRe),Et(rt.starts)),qt.returnEnd?0:H.length}function pb(){const M=[];for(let H=W;H!==er;H=H.parent)H.className&&M.unshift(H.className);M.forEach(H=>Gt.openNode(H))}let ki={};function O2(M,H){const K=H&&H[0];if(Ct+=M,K==null)return St(),0;if(ki.type==="begin"&&H.type==="end"&&ki.index===H.index&&K===""){if(Ct+=E.slice(H.index,H.index+1),!s){const rt=new Error("0 width match regex");throw rt.languageName=y,rt.badRule=ki.rule,rt}return 1}if(ki=H,H.type==="begin")return Xr(H);if(H.type==="illegal"&&!O){const rt=new Error('Illegal lexeme "'+K+'" for mode "'+(W.className||"<unnamed>")+'"');throw rt.mode=W,rt}else if(H.type==="end"){const rt=db(H);if(rt!==c2)return rt}if(H.type==="illegal"&&K==="")return 1;if(N1>1e5&&N1>H.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ct+=K,K.length}const er=At(y);if(!er)throw A1(o.replace("{}",y)),new Error('Unknown language: "'+y+'"');const gb=Xy(er,{plugins:r});let O1="",W=P||gb;const N2={},Gt=new l.__emitter(l);pb();let Ct="",Oi=0,nr=0,N1=0,I1=!1;try{for(W.matcher.considerAll();;){N1++,I1?I1=!1:W.matcher.considerAll(),W.matcher.lastIndex=nr;const M=W.matcher.exec(E);if(!M)break;const H=E.substring(nr,M.index),K=O2(H,M);nr=M.index+K}return O2(E.substr(nr)),Gt.closeAllNodes(),Gt.finalize(),O1=Gt.toHTML(),{relevance:Math.floor(Oi),value:O1,language:y,illegal:!1,emitter:Gt,top:W}}catch(M){if(M.message&&M.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:M.message,context:E.slice(nr-100,nr+100),mode:M.mode},sofar:O1,relevance:0,value:S1(E),emitter:Gt};if(s)return{illegal:!1,relevance:0,value:S1(E),emitter:Gt,language:y,top:W,errorRaised:M};throw M}}function p(y){const E={relevance:0,emitter:new l.__emitter(l),value:S1(y),illegal:!1,top:a};return E.emitter.addText(y),E}function w(y,E){E=E||l.languages||Object.keys(t);const O=p(y),P=E.filter(At).filter(x).map(Et=>d(Et,y,!1));P.unshift(O);const U=P.sort((Et,kt)=>{if(Et.relevance!==kt.relevance)return kt.relevance-Et.relevance;if(Et.language&&kt.language){if(At(Et.language).supersetOf===kt.language)return 1;if(At(kt.language).supersetOf===Et.language)return-1}return 0}),[at,xt]=U,St=at;return St.second_best=xt,St}function I(y){return l.tabReplace||l.useBR?y.replace(i,E=>E===`
|
|
554
554
|
`?l.useBR?"<br>":E:l.tabReplace?E.replace(/\t/g,l.tabReplace):E):y}function q(y,E,O){const P=E?e[E]:O;y.classList.add("hljs"),P&&y.classList.add(P)}const $={"before:highlightElement":({el:y})=>{l.useBR&&(y.innerHTML=y.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
555
|
-
`))},"after:highlightElement":({result:y})=>{l.useBR&&(y.value=y.value.replace(/\n/g,"<br>"))}},j=/^(<[^>]+>|\t)+/gm,ot={"after:highlightElement":({result:y})=>{l.tabReplace&&(y.value=y.value.replace(j,E=>E.replace(/\t/g,l.tabReplace)))}};function Y(y){let E=null;const O=u(y);if(c(O))return;S("before:highlightElement",{el:y,language:O}),E=y;const P=E.textContent,U=O?f(P,{language:O,ignoreIllegals:!0}):w(P);S("after:highlightElement",{el:y,result:U,text:P}),y.innerHTML=U.value,q(y,O,U.language),y.result={language:U.language,re:U.relevance,relavance:U.relevance},U.second_best&&(y.second_best={language:U.second_best.language,re:U.second_best.relevance,relavance:U.second_best.relevance})}function Lt(y){y.useBR&&(ue("10.3.0","'useBR' will be removed entirely in v11.0"),ue("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=o2(l,y)}const ct=()=>{if(ct.called)return;ct.called=!0,ue("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Y)};function vt(){ue("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ut=!0}let Ut=!1;function ge(){if(document.readyState==="loading"){Ut=!0;return}document.querySelectorAll("pre code").forEach(Y)}function Jn(){Ut&&ge()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Jn,!1);function xe(y,E){let O=null;try{O=E(n)}catch(P){if(w1("Language definition for '{}' could not be registered.".replace("{}",y)),s)w1(P);else throw P;O=a}O.name||(O.name=y),t[y]=O,O.rawDefinition=E.bind(null,n),O.aliases&&Be(O.aliases,{languageName:y})}function Te(y){delete t[y];for(const E of Object.keys(e))e[E]===y&&delete e[E]}function Fe(){return Object.keys(t)}function tr(y){ue("10.4.0","requireLanguage will be removed entirely in v11."),ue("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const E=At(y);if(E)return E;throw new Error("The '{}' language is required, but not loaded.".replace("{}",y))}function At(y){return y=(y||"").toLowerCase(),t[y]||t[e[y]]}function Be(y,{languageName:E}){typeof y=="string"&&(y=[y]),y.forEach(O=>{e[O.toLowerCase()]=E})}function x(y){const E=At(y);return E&&!E.disableAutodetect}function g(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=E=>{y["before:highlightBlock"](Object.assign({block:E.el},E))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=E=>{y["after:highlightBlock"](Object.assign({block:E.el},E))})}function C(y){g(y),r.push(y)}function S(y,E){const O=y;r.forEach(function(P){P[O]&&P[O](E)})}function B(y){return ue("10.2.0","fixMarkup will be removed entirely in v11.0"),ue("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),I(y)}function X(y){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),Y(y)}Object.assign(n,{highlight:f,highlightAuto:w,highlightAll:ge,fixMarkup:B,highlightElement:Y,highlightBlock:X,configure:Lt,initHighlighting:ct,initHighlightingOnLoad:vt,registerLanguage:xe,unregisterLanguage:Te,listLanguages:Fe,getLanguage:At,registerAliases:Be,requireLanguage:tr,autoDetection:x,inherit:o2,addPlugin:C,vuePlugin:tC(n).VuePlugin}),n.debugMode=function(){s=!1},n.safeMode=function(){s=!0},n.versionString=Qy;for(const y in Si)typeof Si[y]=="object"&&Wh(Si[y]);return Object.assign(n,Si),n.addPlugin($),n.addPlugin(eC),n.addPlugin(ot),n}({}),vn=rC;function sC(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var iC=sC;const l2="[A-Za-z$_][0-9A-Za-z$_]*",oC=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],aC=["true","false","null","undefined","NaN","Infinity"],lC=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],cC=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],uC=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],hC=["arguments","this","super","console","window","document","localStorage","module","global"],fC=[].concat(uC,hC,lC,cC);function dC(n){return n?typeof n=="string"?n:n.source:null}function c2(n){return A1("(?=",n,")")}function A1(...n){return n.map(e=>dC(e)).join("")}function pC(n){const t=(Y,{after:Lt})=>{const ct="</"+Y[0].slice(1);return Y.input.indexOf(ct,Lt)!==-1},e=l2,r={begin:"<>",end:"</>"},s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,Lt)=>{const ct=Y[0].length+Y.index,vt=Y.input[ct];if(vt==="<"){Lt.ignoreMatch();return}vt===">"&&(t(Y,{after:ct})||Lt.ignoreMatch())}},i={$pattern:l2,keyword:oC,literal:aC,built_in:fC},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},I={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},q=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,c,n.REGEXP_MODE];u.contains=q.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(q)});const $=[].concat(I,u.contains),j=$.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat($)}]),ot={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:j};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:j},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,I,c,{begin:A1(/[{,\n]\s*/,c2(A1(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+c2("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[I,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:j}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:r.begin,end:r.end},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),ot],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ot,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",ot]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},ot]},{begin:/\$[(.]/}]}}var gC=pC;function xC(n){return n?typeof n=="string"?n:n.source:null}function mC(...n){return n.map(e=>xC(e)).join("")}function _C(n){const t={},e={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:mC(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},e]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t,r]};r.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,t]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,s,i,o,a,t]}}var LC=_C;function vC(n){var t="true false yes no null",e="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,s]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},p={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},w={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},I=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+e},{className:"type",begin:"!<"+e+">"},{className:"type",begin:"!"+e},{className:"type",begin:"!!"+e},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},p,w,i],q=[...I];return q.pop(),q.push(o),d.contains=q,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}var yC=vC,CC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:{color:n.color}},[e("div",{domProps:{innerHTML:n._s(n.markedComment)}})])},EC=[];const Ew="";vn.registerLanguage("plaintext",iC),vn.registerLanguage("javascript",gC),vn.registerLanguage("bash",LC),vn.registerLanguage("yaml",yC);const bC={codespan(n){let e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/ig.exec(n);return(e==null?void 0:e.length)===3?`
|
|
555
|
+
`))},"after:highlightElement":({result:y})=>{l.useBR&&(y.value=y.value.replace(/\n/g,"<br>"))}},j=/^(<[^>]+>|\t)+/gm,ot={"after:highlightElement":({result:y})=>{l.tabReplace&&(y.value=y.value.replace(j,E=>E.replace(/\t/g,l.tabReplace)))}};function Y(y){let E=null;const O=u(y);if(c(O))return;S("before:highlightElement",{el:y,language:O}),E=y;const P=E.textContent,U=O?f(P,{language:O,ignoreIllegals:!0}):w(P);S("after:highlightElement",{el:y,result:U,text:P}),y.innerHTML=U.value,q(y,O,U.language),y.result={language:U.language,re:U.relevance,relavance:U.relevance},U.second_best&&(y.second_best={language:U.second_best.language,re:U.second_best.relevance,relavance:U.second_best.relevance})}function Lt(y){y.useBR&&(ue("10.3.0","'useBR' will be removed entirely in v11.0"),ue("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=l2(l,y)}const ct=()=>{if(ct.called)return;ct.called=!0,ue("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Y)};function vt(){ue("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ht=!0}let Ht=!1;function ge(){if(document.readyState==="loading"){Ht=!0;return}document.querySelectorAll("pre code").forEach(Y)}function Jn(){Ht&&ge()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Jn,!1);function xe(y,E){let O=null;try{O=E(n)}catch(P){if(A1("Language definition for '{}' could not be registered.".replace("{}",y)),s)A1(P);else throw P;O=a}O.name||(O.name=y),t[y]=O,O.rawDefinition=E.bind(null,n),O.aliases&&Be(O.aliases,{languageName:y})}function Te(y){delete t[y];for(const E of Object.keys(e))e[E]===y&&delete e[E]}function Fe(){return Object.keys(t)}function tr(y){ue("10.4.0","requireLanguage will be removed entirely in v11."),ue("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const E=At(y);if(E)return E;throw new Error("The '{}' language is required, but not loaded.".replace("{}",y))}function At(y){return y=(y||"").toLowerCase(),t[y]||t[e[y]]}function Be(y,{languageName:E}){typeof y=="string"&&(y=[y]),y.forEach(O=>{e[O.toLowerCase()]=E})}function x(y){const E=At(y);return E&&!E.disableAutodetect}function g(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=E=>{y["before:highlightBlock"](Object.assign({block:E.el},E))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=E=>{y["after:highlightBlock"](Object.assign({block:E.el},E))})}function C(y){g(y),r.push(y)}function S(y,E){const O=y;r.forEach(function(P){P[O]&&P[O](E)})}function B(y){return ue("10.2.0","fixMarkup will be removed entirely in v11.0"),ue("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),I(y)}function X(y){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),Y(y)}Object.assign(n,{highlight:f,highlightAuto:w,highlightAll:ge,fixMarkup:B,highlightElement:Y,highlightBlock:X,configure:Lt,initHighlighting:ct,initHighlightingOnLoad:vt,registerLanguage:xe,unregisterLanguage:Te,listLanguages:Fe,getLanguage:At,registerAliases:Be,requireLanguage:tr,autoDetection:x,inherit:l2,addPlugin:C,vuePlugin:eC(n).VuePlugin}),n.debugMode=function(){s=!1},n.safeMode=function(){s=!0},n.versionString=Jy;for(const y in Si)typeof Si[y]=="object"&&Yh(Si[y]);return Object.assign(n,Si),n.addPlugin($),n.addPlugin(nC),n.addPlugin(ot),n}({}),vn=sC;function iC(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var oC=iC;const u2="[A-Za-z$_][0-9A-Za-z$_]*",aC=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],lC=["true","false","null","undefined","NaN","Infinity"],cC=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],uC=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hC=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],fC=["arguments","this","super","console","window","document","localStorage","module","global"],dC=[].concat(hC,fC,cC,uC);function pC(n){return n?typeof n=="string"?n:n.source:null}function h2(n){return R1("(?=",n,")")}function R1(...n){return n.map(e=>pC(e)).join("")}function gC(n){const t=(Y,{after:Lt})=>{const ct="</"+Y[0].slice(1);return Y.input.indexOf(ct,Lt)!==-1},e=u2,r={begin:"<>",end:"</>"},s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,Lt)=>{const ct=Y[0].length+Y.index,vt=Y.input[ct];if(vt==="<"){Lt.ignoreMatch();return}vt===">"&&(t(Y,{after:ct})||Lt.ignoreMatch())}},i={$pattern:u2,keyword:aC,literal:lC,built_in:dC},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},I={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},q=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,c,n.REGEXP_MODE];u.contains=q.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(q)});const $=[].concat(I,u.contains),j=$.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat($)}]),ot={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:j};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:j},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,I,c,{begin:R1(/[{,\n]\s*/,h2(R1(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+h2("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[I,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:j}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:r.begin,end:r.end},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),ot],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ot,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",ot]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},ot]},{begin:/\$[(.]/}]}}var xC=gC;function mC(n){return n?typeof n=="string"?n:n.source:null}function _C(...n){return n.map(e=>mC(e)).join("")}function LC(n){const t={},e={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:_C(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},e]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t,r]};r.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,t]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,s,i,o,a,t]}}var vC=LC;function yC(n){var t="true false yes no null",e="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,s]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},p={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},w={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},I=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+e},{className:"type",begin:"!<"+e+">"},{className:"type",begin:"!"+e},{className:"type",begin:"!!"+e},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},p,w,i],q=[...I];return q.pop(),q.push(o),d.contains=q,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}var CC=yC,EC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:{color:n.color}},[e("div",{domProps:{innerHTML:n._s(n.markedComment)}})])},bC=[];const ww="";vn.registerLanguage("plaintext",oC),vn.registerLanguage("javascript",xC),vn.registerLanguage("bash",vC),vn.registerLanguage("yaml",CC);const wC={codespan(n){let e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(n);return(e==null?void 0:e.length)===3?`
|
|
556
556
|
<code class="rest-api">
|
|
557
557
|
<span class="http-method-${e[1].toLowerCase()}">${e[1]}</span>
|
|
558
558
|
<span class="http-path">${e[2]}</span>
|
|
559
559
|
</code>
|
|
560
|
-
`:`<code>${n}</code>`}};F.setOptions({highlight:function(n,t){if(!t)return vn.highlightAuto(n).value;const e=vn.getLanguage(t)?t:"plaintext";return vn.highlight(e,n).value},breaks:!0}),F.use({renderer:bC});const wC={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&F.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&F.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},u2={};var TC=tt(wC,CC,EC,!1,AC,"77021455",null,null);function AC(n){for(let t in u2)this[t]=u2[t]}const Wr=function(){return TC.exports}(),Kr=Object.freeze(Object.defineProperty({__proto__:null,default:Wr},Symbol.toStringTag,{value:"Module"}));var SC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":n.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":n.center,"data-debug-center-of":n.computedCenter}},[this.context.braceBlock()?e("block",{attrs:{context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent}}):n._e()],1)},RC=[];const bw="",ww="",kC={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...$t(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},h2={};var OC=tt(kC,SC,RC,!1,NC,"0672df26",null,null);function NC(n){for(let t in h2)this[t]=h2[t]}const f2=function(){return OC.exports}();class Qn{constructor(t,e,r,s){this.start={line:t,col:e},this.stop={line:r,col:s}}static from(t){const e=t.start,r=t.stop;return new Qn(e.line,e.column,r.line,r.column+r.text.length)}}var IC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":n.rightToLeft,"-translate-x-full":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":n.rightToLeft},attrs:{"data-type":"creation","data-to":n.to}},[e("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:n.signature,rtl:n.rightToLeft,type:"creation"}}),e("div",{ref:"participantPlaceHolder",staticClass:"invisible right-0 flex flex-col justify-center flex-shrink-0"},[e("participant",{attrs:{entity:{name:n.to}}})],1)],1),e("occurrence",{staticClass:"pointer-events-auto",attrs:{context:n.creation,participant:n.to}}),n.assignee?e("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},PC=[];const d2=ir.child({name:"Creation"}),MC={name:"creation",props:["context","comment","selfCallIndent"],computed:{...$t(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(s){return s&&s.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const r=n(t.type());return e+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),d2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),d2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Qn.from(this.context))}},components:{Participant:sh,Comment:Wr,Occurrence:f2,Message:zr}},p2={};var $C=tt(MC,IC,PC,!1,DC,null,null,null);function DC(n){for(let t in p2)this[t]=p2[t]}const FC=function(){return $C.exports}();var BC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[e("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),e("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n.assignee?e("span",[n._v(n._s(n.assignee)+" = ")]):n._e(),n._v(" "+n._s(n.content))])])},UC=[];const HC={name:"self-invocation",props:["content","assignee"]},g2={};var GC=tt(HC,BC,UC,!1,jC,null,null,null);function jC(n){for(let t in g2)this[t]=g2[t]}const VC=function(){return GC.exports}();var zC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction sync inline-block",class:{highlight:n.isCurrent,self:n.isSelf},style:{width:!n.isSelf&&n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-to":n.to,"data-type":"interaction","data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.showStarter&&n.isRootBlock||n.outOfBand?e("div",{staticClass:"occurrence source border-2",class:{"right-to-left":n.rightToLeft}}):n._e(),n.hasComment?e("comment",{attrs:{commentObj:n.commentObj}}):n._e(),e(n.invocation,{tag:"component",staticClass:"text-center",attrs:{color:n.color,content:n.signature,assignee:n.assignee,rtl:n.rightToLeft,type:"sync"}}),e("occurrence",{attrs:{context:n.message,participant:n.to,selfCallIndent:n.passOnOffset,rtl:n.rightToLeft}}),n.assignee&&!n.isSelf?e("message",{staticClass:"return transform -translate-y-full",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},ZC=[];const Tw="",qC={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...$t(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),r=this.selfCallIndent||0;return e+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof jm},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Message:zr,SelfInvocation:VC,Comment:Wr,Occurrence:f2}},x2={};var WC=tt(qC,zC,ZC,!1,KC,"7f4f5626",null,null);function KC(n){for(let t in x2)this[t]=x2[t]}const YC=function(){return WC.exports}();var XC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[e("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),e("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n._v(n._s(n.content))])])},QC=[];const Aw="",JC={name:"self-invocation-async",props:["content"]},m2={};var tE=tt(JC,XC,QC,!1,eE,"dc8dc7aa",null,null);function eE(n){for(let t in m2)this[t]=m2[t]}const nE=function(){return tE.exports}();var rE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction async",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e(n.invocation,{tag:"component",attrs:{content:n.signature,rtl:n.rightToLeft,type:"async"}})],1)},sE=[];const Sw="";function S1(n){return n==null}const iE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...$t(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return S1(this.cursor)||S1(n)||S1(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,SelfInvocationAsync:nE,Message:zr}},_2={};var oE=tt(iE,rE,sE,!1,aE,"e3b5e87c",null,null);function aE(n){for(let t in _2)this[t]=_2[t]}const lE=function(){return oE.exports}();var cE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment alt border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment,commentObj:n.commentObj}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),n.blockInIfBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInIfBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1)],1),n._l(n.alt.elseIfBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"text-skin-fragment"},[e("label",{staticClass:"else-if hidden"},[n._v("else if")]),e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.conditionFromIfElseBlock(r))+"]")])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInElseIfBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.elseBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.elseBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},uE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Alt")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"p-1"},[n._v("[else]")])])}];const Rw="",hE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},L2={};var fE=tt(hE,cE,uE,!1,dE,"026dd6e4",null,null);function dE(n){for(let t in L2)this[t]=L2[t]}const pE=function(){return fE.exports}();var gE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment par border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.par.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},xE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Par")])])])}];const kw="",Ow="",mE={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},v2={};var _E=tt(mE,gE,xE,!1,LE,"9cddb5c0",null,null);function LE(n){for(let t in v2)this[t]=v2[t]}const vE=function(){return _E.exports}();var yE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment loop border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInLoop,selfCallIndent:n.selfCallIndent}})],1)],1)},CE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Loop")])])])}];const Nw="",EE={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},y2={};var bE=tt(EE,yE,CE,!1,wE,"1bca506e",null,null);function wE(n){for(let t in y2)this[t]=y2[t]}const TE=function(){return bE.exports}();var AE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment opt border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},SE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Opt")])])])}];const Iw="",RE={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},C2={};var kE=tt(RE,AE,SE,!1,OE,"acc4c402",null,null);function OE(n){for(let t in C2)this[t]=C2[t]}const NE=function(){return kE.exports}();var IE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),n.blockInTryBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInTryBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1),n._l(n.tcf.catchBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"header text-skin-fragment"},[e("label",{staticClass:"keyword catch p-1"},[n._v("catch")]),e("label",{staticClass:"exception p-1"},[n._v(n._s(n.exception(r)))])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInCatchBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.finallyBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.finallyBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},PE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Try")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment finally"},[e("label",{staticClass:"keyword finally p-1"},[n._v("finally")])])}];const Pw="",ME={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},E2={};var $E=tt(ME,IE,PE,!1,DE,"699b4cd0",null,null);function DE(n){for(let t in E2)this[t]=E2[t]}const FE=function(){return $E.exports}();var BE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction return relative",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.width+"px",left:n.left+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n.isSelf?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[e("path",{staticClass:"cls-1",attrs:{d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"}})]),e("span",{staticClass:"name text-sm"},[n._v(n._s(n.signature))])]):n._e(),n.isSelf?n._e():e("Message",{attrs:{content:n.signature,rtl:n.rightToLeft,type:"return"}})],1)},UE=[];const HE={name:"return",props:["context","comment"],computed:{...$t(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?mi(this.signature,Wn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,r,s;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((s=(r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,r;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,Message:zr}},b2={};var GE=tt(HE,BE,UE,!1,jE,null,null,null);function jE(n){for(let t in b2)this[t]=b2[t]}const VE=function(){return GE.exports}();var zE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"divider",style:{width:n.width+"px",transform:"translateX("+(-1*n.centerOfFrom+10)+"px)"}},[e("div",{staticClass:"left bg-skin-divider"}),e("div",{staticClass:"name"},[n._v(n._s(n.name))]),e("div",{staticClass:"right bg-skin-divider"})])},ZE=[];const Mw="",qE={name:"divider",props:["context"],computed:{...$t(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},w2={};var WE=tt(qE,zE,ZE,!1,KE,"2ad26d36",null,null);function KE(n){for(let t in w2)this[t]=w2[t]}const YE=function(){return WE.exports}();class XE{constructor(t){const e=t.split(`
|
|
560
|
+
`:`<code>${n}</code>`}};F.setOptions({highlight:function(n,t){if(!t)return vn.highlightAuto(n).value;const e=vn.getLanguage(t)?t:"plaintext";return vn.highlight(e,n).value},breaks:!0}),F.use({renderer:wC});const TC={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&F.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&F.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},f2={};var AC=tt(TC,EC,bC,!1,SC,"460475e2",null,null);function SC(n){for(let t in f2)this[t]=f2[t]}const Wr=function(){return AC.exports}(),Kr=Object.freeze(Object.defineProperty({__proto__:null,default:Wr},Symbol.toStringTag,{value:"Module"}));var RC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":n.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":n.center,"data-debug-center-of":n.computedCenter}},[this.context.braceBlock()?e("block",{attrs:{context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent}}):n._e()],1)},kC=[];const Tw="",Aw="",OC={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Dt(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},d2={};var NC=tt(OC,RC,kC,!1,IC,"696286d4",null,null);function IC(n){for(let t in d2)this[t]=d2[t]}const p2=function(){return NC.exports}();class Qn{constructor(t,e,r,s){this.start={line:t,col:e},this.stop={line:r,col:s}}static from(t){const e=t.start,r=t.stop;return new Qn(e.line,e.column,r.line,r.column+r.text.length)}}var PC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":n.rightToLeft,"-translate-x-full":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":n.rightToLeft},attrs:{"data-type":"creation","data-to":n.to}},[e("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:n.signature,rtl:n.rightToLeft,type:"creation"}}),e("div",{ref:"participantPlaceHolder",staticClass:"invisible right-0 flex flex-col justify-center flex-shrink-0"},[e("participant",{attrs:{entity:{name:n.to}}})],1)],1),e("occurrence",{staticClass:"pointer-events-auto",attrs:{context:n.creation,participant:n.to}}),n.assignee?e("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},MC=[];const g2=ir.child({name:"Creation"}),$C={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Dt(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(s){return s&&s.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const r=n(t.type());return e+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),g2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),g2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Qn.from(this.context))}},components:{Participant:oh,Comment:Wr,Occurrence:p2,Message:zr}},x2={};var DC=tt($C,PC,MC,!1,FC,null,null,null);function FC(n){for(let t in x2)this[t]=x2[t]}const BC=function(){return DC.exports}();var UC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[e("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),e("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n.assignee?e("span",[n._v(n._s(n.assignee)+" = ")]):n._e(),n._v(" "+n._s(n.content))])])},HC=[];const GC={name:"self-invocation",props:["content","assignee"]},m2={};var jC=tt(GC,UC,HC,!1,VC,null,null,null);function VC(n){for(let t in m2)this[t]=m2[t]}const zC=function(){return jC.exports}();var ZC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction sync inline-block",class:{highlight:n.isCurrent,self:n.isSelf},style:{width:!n.isSelf&&n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-to":n.to,"data-type":"interaction","data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.showStarter&&n.isRootBlock||n.outOfBand?e("div",{staticClass:"occurrence source border-2",class:{"right-to-left":n.rightToLeft}}):n._e(),n.hasComment?e("comment",{attrs:{commentObj:n.commentObj}}):n._e(),e(n.invocation,{tag:"component",staticClass:"text-center",attrs:{color:n.color,content:n.signature,assignee:n.assignee,rtl:n.rightToLeft,type:"sync"}}),e("occurrence",{attrs:{context:n.message,participant:n.to,selfCallIndent:n.passOnOffset,rtl:n.rightToLeft}}),n.assignee&&!n.isSelf?e("message",{staticClass:"return transform -translate-y-full",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},qC=[];const Sw="",WC={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Dt(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),r=this.selfCallIndent||0;return e+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof Zm},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Message:zr,SelfInvocation:zC,Comment:Wr,Occurrence:p2}},_2={};var KC=tt(WC,ZC,qC,!1,YC,"654355dc",null,null);function YC(n){for(let t in _2)this[t]=_2[t]}const XC=function(){return KC.exports}();var QC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[e("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),e("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n._v(n._s(n.content))])])},JC=[];const Rw="",tE={name:"self-invocation-async",props:["content"]},L2={};var eE=tt(tE,QC,JC,!1,nE,"15650a4a",null,null);function nE(n){for(let t in L2)this[t]=L2[t]}const rE=function(){return eE.exports}();var sE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction async",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e(n.invocation,{tag:"component",attrs:{content:n.signature,rtl:n.rightToLeft,type:"async"}})],1)},iE=[];const kw="";function k1(n){return n==null}const oE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return k1(this.cursor)||k1(n)||k1(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,SelfInvocationAsync:rE,Message:zr}},v2={};var aE=tt(oE,sE,iE,!1,lE,"146d3785",null,null);function lE(n){for(let t in v2)this[t]=v2[t]}const cE=function(){return aE.exports}();var uE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment alt border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment,commentObj:n.commentObj}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),n.blockInIfBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInIfBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1)],1),n._l(n.alt.elseIfBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"text-skin-fragment"},[e("label",{staticClass:"else-if hidden"},[n._v("else if")]),e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.conditionFromIfElseBlock(r))+"]")])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInElseIfBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.elseBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.elseBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},hE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Alt")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"p-1"},[n._v("[else]")])])}];const Ow="",fE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},y2={};var dE=tt(fE,uE,hE,!1,pE,"fcaaa9a6",null,null);function pE(n){for(let t in y2)this[t]=y2[t]}const gE=function(){return dE.exports}();var xE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment par border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.par.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},mE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Par")])])])}];const Nw="",Iw="",_E={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},C2={};var LE=tt(_E,xE,mE,!1,vE,"18096432",null,null);function vE(n){for(let t in C2)this[t]=C2[t]}const yE=function(){return LE.exports}();var CE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment loop border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInLoop,selfCallIndent:n.selfCallIndent}})],1)],1)},EE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Loop")])])])}];const Pw="",bE={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},E2={};var wE=tt(bE,CE,EE,!1,TE,"601e8030",null,null);function TE(n){for(let t in E2)this[t]=E2[t]}const AE=function(){return wE.exports}();var SE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment opt border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},RE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Opt")])])])}];const Mw="",kE={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},b2={};var OE=tt(kE,SE,RE,!1,NE,"38884dbf",null,null);function NE(n){for(let t in b2)this[t]=b2[t]}const IE=function(){return OE.exports}();var PE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),n.blockInTryBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInTryBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1),n._l(n.tcf.catchBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"header text-skin-fragment"},[e("label",{staticClass:"keyword catch p-1"},[n._v("catch")]),e("label",{staticClass:"exception p-1"},[n._v(n._s(n.exception(r)))])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInCatchBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.finallyBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.finallyBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},ME=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Try")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment finally"},[e("label",{staticClass:"keyword finally p-1"},[n._v("finally")])])}];const $w="",$E={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}},components:{Block:()=>Promise.resolve().then(()=>Yr),Comment:()=>Promise.resolve().then(()=>Kr)}},w2={};var DE=tt($E,PE,ME,!1,FE,"0fdf26b4",null,null);function FE(n){for(let t in w2)this[t]=w2[t]}const BE=function(){return DE.exports}();var UE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction return relative",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.width+"px",left:n.left+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n.isSelf?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[e("path",{staticClass:"cls-1",attrs:{d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"}})]),e("span",{staticClass:"name text-sm"},[n._v(n._s(n.signature))])]):n._e(),n.isSelf?n._e():e("Message",{attrs:{content:n.signature,rtl:n.rightToLeft,type:"return"}})],1)},HE=[];const GE={name:"return",props:["context","comment"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?mi(this.signature,Wn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,r,s;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((s=(r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,r;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,Message:zr}},T2={};var jE=tt(GE,UE,HE,!1,VE,null,null,null);function VE(n){for(let t in T2)this[t]=T2[t]}const zE=function(){return jE.exports}();var ZE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"divider",style:{width:n.width+"px",transform:"translateX("+(-1*n.centerOfFrom+10)+"px)"}},[e("div",{staticClass:"left bg-skin-divider"}),e("div",{staticClass:"name"},[n._v(n._s(n.name))]),e("div",{staticClass:"right bg-skin-divider"})])},qE=[];const Dw="",WE={name:"divider",props:["context"],computed:{...Dt(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},A2={};var KE=tt(WE,ZE,qE,!1,YE,"83993fee",null,null);function YE(n){for(let t in A2)this[t]=A2[t]}const XE=function(){return KE.exports}();class QE{constructor(t){const e=t.split(`
|
|
561
561
|
`);this.color=e.find(s=>s.trimStart().startsWith("[red]"))?"red":void 0;const r=e.map(s=>s.replace("[red]",""));this.text=r.join(`
|
|
562
|
-
`),this.text=this.text.trimEnd()}}var
|
|
562
|
+
`),this.text=this.text.trimEnd()}}var JE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e(n.subStatement,{tag:"component",staticClass:"text-left text-sm text-skin-message",attrs:{context:n.context,comment:n.comment,commentObj:n.commentObj,selfCallIndent:n.selfCallIndent}})},tb=[];const eb={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new QE(this.comment)},subStatement:function(){let n=this,t={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},e=Object.keys(t).find(r=>n.context[r]()!==null);return t[e]}},components:{Creation:BC,Interaction:XC,InteractionAsync:cE,FragmentAlt:gE,FragmentPar:yE,FragmentOpt:IE,FragmentTryCatchFinally:BE,FragmentLoop:AE,Divider:XE,Return:zE}},S2={};var nb=tt(eb,JE,tb,!1,rb,null,null,null);function rb(n){for(let t in S2)this[t]=S2[t]}const sb=function(){return nb.exports}();var ib=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"block"},n._l(n.statements,function(r,s){return e("div",{key:s,staticClass:"statement-container mt-1"},[e("statement",{attrs:{context:r,selfCallIndent:n.selfCallIndent}})],1)}),0)},ob=[];const ab={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:sb}},R2={};var lb=tt(ab,ib,ob,!1,cb,null,null,null);function cb(n){for(let t in R2)this[t]=R2[t]}const k2=function(){return lb.exports}(),Yr=Object.freeze(Object.defineProperty({__proto__:null,default:k2},Symbol.toStringTag,{value:"Module"})),ub=ir.child({name:"core"});ht.component("Block",k2),ht.use(Ho);class hb{constructor(t,e=!1){this.el=t,this.store=Xu(),this.app=new ht({el:this.el,store:new Ho.Store(this.store),render:r=>r(e?p1:Fh)})}async render(t,e){return ub.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.theme=this._theme||"default",await this.app.$store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}}const fb={Vue:ht,Vuex:Ho,Store:Xu,SeqDiagram:p1,DiagramFrame:Fh};Wt.VueSequence=fb,Wt.default=hb,Object.defineProperties(Wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|