@zenuml/core 2.0.10 → 2.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zenuml/core.common.js +20 -14
- package/dist/zenuml/core.common.js.map +1 -1
- package/dist/zenuml/core.css +2 -2
- package/dist/zenuml/core.umd.js +20 -14
- package/dist/zenuml/core.umd.js.map +1 -1
- package/dist/zenuml/core.umd.min.js +2 -2
- package/dist/zenuml/core.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["zenuml/core"]=e():t["zenuml/core"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={6626:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.debug,expression:"debug"}]},[n("div",{staticClass:"flex flex-nowrap m-2 text-sm"},[n("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"},[n("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"}},[n("line",{attrs:{x1:"6",y1:"3",x2:"6",y2:"15"}}),n("circle",{attrs:{cx:"18",cy:"6",r:"3"}}),n("circle",{attrs:{cx:"6",cy:"18",r:"3"}}),n("path",{attrs:{d:"M18 9a9 9 0 0 1-9 9"}})]),n("span",{staticClass:"inline-block px-2"},[t._v(t._s(t.gitBranch)+":"+t._s(t.commitHash))])])])])},r=[],o=n(7240),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},903:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"export",staticClass:"zenuml p-1 bg-skin-canvas",class:t.theme,staticStyle:{display:"inline-block"}},[n("debug"),n("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("+t.scale+")"}},[n("div",{ref:"content"},[n("div",{staticClass:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},[n("div",{staticClass:"left hide-export"},[t._t("default")],2),n("div",{staticClass:"right flex-grow flex justify-between"},[n("diagram-title",{attrs:{context:t.title}}),n("privacy",{staticClass:"hide-export flex items-center"})],1)]),n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showTips,expression:"showTips"}],staticClass:"fixed z-40 inset-0 overflow-y-auto",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[n("TipsDialog")],1)]),n("seq-diagram")],1),n("div",{staticClass:"footer p-1 flex justify-between"},[n("button",{staticClass:"bottom-1 left-1 hide-export",on:{click:function(e){return t.showTipsDialog()}}},[n("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"}},[n("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"}}),n("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"}}),n("path",{attrs:{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"}})])]),n("div",{staticClass:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:{transform:"scale("+1/t.scale+")"}},[n("button",{staticClass:"zoom-in px-1",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),n("label",[t._v(t._s(Number(100*t.scale).toFixed(0))+" %")]),n("button",{staticClass:"zoom-out px-1",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])]),n("width-provider"),n("a",{staticClass:"brand text-skin-link absolute bottom-1 right-1 text-xs",attrs:{target:"_blank",href:"https://zenuml.com"}},[t._v("ZenUML.com")])],1)])],1)},r=[],o=n(712),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},2330:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title text-skin-title text-base font-semibold"},[t._v(t._s(t.title))])},r=[],o=n(1708),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"769fd069",null),c=u.exports},4073:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invisible"},[n("message",{attrs:{content:t.text,rtl:"false",type:"sync"}})],1)},r=[],o=n(3702),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"4f20849b",null),c=u.exports},6022:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("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."}},[n("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"}},[n("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"}}),n("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"}})])])])},r=[],o=n(4679),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5aef153b",null),c=u.exports},6709:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:t.top+"px",left:t.left+"px"},attrs:{id:t.entity.name}},[n("participant",{attrs:{entity:t.entity}}),n("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},r=[],o=n(8685),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"b41a2b7c",null),c=u.exports},3389:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.entities.length>0?n("div",{staticClass:"container absolute flex flex-col h-full",style:{left:t.left+"px",width:t.right-t.left+"px"}},[n("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[n("div",{staticClass:"lifeline-group relative flex-grow"},t._l(t.entities,(function(e){return n("life-line",{key:e.name,ref:e.name,refInFor:!0,attrs:{inGroup:"true",entity:e,"group-left":t.left}})})),1)])]):t._e()},r=[],o=n(2627),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"9a21e6ee",null),c=u.exports},3814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[n("div",{staticClass:"container relative grow"},[t.starterOnTheLeft?n("life-line",{staticClass:"starter",class:{invisible:t.invisibleStarter},attrs:{entity:t.starterParticipant}}):t._e(),t._l(t.explicitGroupAndParticipants,(function(e,i){return[e instanceof t.GroupContext?n("life-line-group",{key:i,attrs:{context:e}}):t._e(),e instanceof t.ParticipantContext?n("life-line",{key:i,attrs:{entity:t.getParticipantEntity(e)}}):t._e()]})),t._l(t.implicitParticipants,(function(t){return n("life-line",{key:t.name,attrs:{entity:t}})}))],2)])},r=[],o=n(5857),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},7088:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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:t.selected,"border-transparent":!!t.icon},style:{backgroundColor:t.backgroundColor,color:t.color},on:{click:t.onSelect}},[t.icon?n("img",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8",attrs:{src:t.icon,alt:"icon for "+t.entity.name}}):t._e(),n("div",{staticClass:"h-5 group flex flex-col justify-center"},[t.comment?n("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"},[t._v(" "+t._s(t.comment)+" ")]):t._e(),t.stereotype?n("label",{staticClass:"interface leading-4"},[t._v("«"+t._s(t.stereotype)+"»")]):t._e(),n("label",{staticClass:"name leading-4"},[t._v(t._s(t.entity.label||t.entity.name))])])])},r=[],o=n(4989),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"6c8e5d9c",null),c=u.exports},9350:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},t._l(t.statements,(function(e,i){return n("div",{key:i,staticClass:"statement-container mt-1"},[n("statement",{attrs:{context:e,selfCallIndent:t.selfCallIndent}})],1)})),0)},r=[],o=n(9358),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},6036:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:{color:t.color}},[n("div",{domProps:{innerHTML:t._s(t.markedComment)}})])},r=[],o=n(1722),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},4470:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":t.rightToLeft,"-translate-x-full":t.rightToLeft,highlight:t.isCurrent},style:{width:t.interactionWidth+"px"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),n("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":t.rightToLeft},attrs:{"data-type":"creation","data-to":t.to}},[n("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:t.signature,rtl:t.rightToLeft,type:"creation"}}),n("div",{ref:"participantPlaceHolder",staticClass:" invisible right-0 flex flex-col justify-center flex-shrink-0"},[n("participant",{attrs:{entity:{name:t.to}}})],1)],1),n("occurrence",{staticClass:"pointer-events-auto",attrs:{context:t.creation,participant:t.to}}),t.assignee?n("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:t.assignee,rtl:!t.rightToLeft,type:"return"}}):t._e()],1)},r=[],o=n(2835),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},5664:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divider",style:{width:t.width+"px",transform:"translateX("+(-1*t.centerOfFrom+10)+"px)"}},[n("div",{staticClass:"left bg-skin-divider"}),n("div",{staticClass:"name"},[t._v(t._s(t.name))]),n("div",{staticClass:"right bg-skin-divider"})])},r=[],o=n(7908),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"9e19929a",null),c=u.exports},8890:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment alt border-skin-fragment rounded",style:t.fragmentStyle},[n("div",{staticClass:"segment"},[t.comment?n("comment",{attrs:{comment:t.comment,commentObj:t.commentObj}}):t._e(),t._m(0),n("div",{staticClass:"segment"},[n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.condition)+"]")])]),t.blockInIfBlock?n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInIfBlock,selfCallIndent:t.selfCallIndent}}):t._e()],1)],1),t._l(t.alt.elseIfBlock(),(function(e,i){return[n("div",{key:i+500,staticClass:"segment mt-2 border-t border-solid"},[n("div",{key:i+1e3,staticClass:"text-skin-fragment"},[n("label",{staticClass:"else-if hidden"},[t._v("else if")]),n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.conditionFromIfElseBlock(e))+"]")])]),n("block",{key:i+2e3,style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInElseIfBlock(e),selfCallIndent:t.selfCallIndent}})],1)]})),t.elseBlock?[n("div",{staticClass:"segment mt-2 border-t border-solid"},[t._m(1),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.elseBlock,selfCallIndent:t.selfCallIndent}})],1)]:t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",{staticClass:"p-0"},[t._v("Alt")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"p-1"},[t._v("[else]")])])}],o=n(8248),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"217f4dc8",null),c=u.exports},2451:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment loop border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("div",{staticClass:"segment"},[n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.condition)+"]")])]),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInLoop,selfCallIndent:t.selfCallIndent}})],1)],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",{staticClass:"p-0"},[t._v("Loop")])])])}],o=n(1898),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"0345c2e6",null),c=u.exports},4107:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment opt border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.opt.braceBlock().block(),selfCallIndent:t.selfCallIndent}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Opt")])])])}],o=n(1089),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"78d6d1df",null),c=u.exports},27:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment par border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.par.braceBlock().block(),selfCallIndent:t.selfCallIndent}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Par")])])])}],o=n(224),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"dffcc940",null),c=u.exports},4689:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:t.fragmentStyle},[n("div",{staticClass:"segment"},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),t.blockInTryBlock?n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInTryBlock,selfCallIndent:t.selfCallIndent}}):t._e()],1),t._l(t.tcf.catchBlock(),(function(e,i){return[n("div",{key:i+500,staticClass:"segment mt-2 border-t border-solid"},[n("div",{key:i+1e3,staticClass:"header text-skin-fragment"},[n("label",{staticClass:"keyword catch p-1"},[t._v("catch")]),n("label",{staticClass:"exception p-1"},[t._v(t._s(t.exception(e)))])]),n("block",{key:i+2e3,style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInCatchBlock(e),selfCallIndent:t.selfCallIndent}})],1)]})),t.finallyBlock?[n("div",{staticClass:"segment mt-2 border-t border-solid"},[t._m(1),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.finallyBlock,selfCallIndent:t.selfCallIndent}})],1)]:t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Try")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header text-skin-fragment finally"},[n("label",{staticClass:"keyword finally p-1"},[t._v("finally")])])}],o=n(5859),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5a40ce86",null),c=u.exports},3746:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction sync inline-block",class:{highlight:t.isCurrent,self:t.isSelf},style:{width:!t.isSelf&&t.interactionWidth+"px",transform:"translateX("+t.translateX+"px)"},attrs:{"data-to":t.to,"data-type":"interaction","data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.showStarter&&t.isRootBlock||t.outOfBand?n("div",{staticClass:"occurrence source border-2",class:{"right-to-left":t.rightToLeft}}):t._e(),t.hasComment?n("comment",{attrs:{commentObj:t.commentObj}}):t._e(),n(t.invocation,{tag:"component",staticClass:"text-center",attrs:{color:t.color,content:t.signature,assignee:t.assignee,rtl:t.rightToLeft,type:"sync"}}),n("occurrence",{attrs:{context:t.message,participant:t.to,selfCallIndent:t.passOnOffset,rtl:t.rightToLeft}}),t.assignee&&!t.isSelf?n("message",{staticClass:"return transform -translate-y-full",attrs:{content:t.assignee,rtl:!t.rightToLeft,type:"return"}}):t._e()],1)},r=[],o=n(1874),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"42556242",null),c=u.exports},6462:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":t.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":t.participant,"data-x-offset":t.center,"data-debug-center-of":t.computedCenter}},[this.context.braceBlock()?n("block",{attrs:{context:t.context.braceBlock().block(),selfCallIndent:t.selfCallIndent}}):t._e()],1)},r=[],o=n(372),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"2f919dd0",null),c=u.exports},7374:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[n("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[n("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),n("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),n("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[t.assignee?n("span",[t._v(t._s(t.assignee)+" = ")]):t._e(),t._v(" "+t._s(t.content))])])},r=[],o=n(1139),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},9852:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction async",class:{"right-to-left":t.rightToLeft,highlight:t.isCurrent},style:{width:t.interactionWidth+"px",transform:"translateX("+t.translateX+"px)"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),n(t.invocation,{tag:"component",attrs:{content:t.signature,rtl:t.rightToLeft,type:"async"}}),n("div",{staticClass:"invisible-occurrence"})],1)},r=[],o=n(6809),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"6dbe9332",null),c=u.exports},4291:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[n("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[n("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),n("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),n("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[t._v(t._s(t.content))])])},r=[],o=n(1084),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"719caed9",null),c=u.exports},6791:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message border-skin-message-arrow border-b-2 flex items-end",class:{"flex-row-reverse":t.rtl,return:"return"===t.type,"right-to-left":t.rtl,"text-left":t.isAsync,"text-center":!t.isAsync},style:{"border-bottom-style":t.borderStyle}},[n("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:t.color}},[t._v(t._s(t.content))]),n("point",{staticClass:"flex-shrink-0 transform translate-y-1/2 -my-px",attrs:{fill:t.fill,rtl:t.rtl}})],1)},r=[],o=n(252),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},6230:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"point text-skin-message-arrow",class:{fill:t.fill,"no-fill":!t.fill,"right-to-left":t.rtl}},[t.rtl?t._e():n("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[n("polyline",{staticClass:"right head fill-current stroke-current",attrs:{points:"0,0 10,5 0,10"}})]),t.rtl?n("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[n("polyline",{staticClass:"left head fill-current stroke-current",attrs:{points:"10,0 0,5 10,10"}})]):t._e()])},r=[],o=n(7933),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"eee2b08a",null),c=u.exports},7788:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction return relative",class:{"right-to-left":t.rightToLeft,highlight:t.isCurrent},style:{width:t.width+"px",left:t.left+"px"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t.isSelf?n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[n("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"}}),n("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"}})]),n("span",{staticClass:"name text-sm"},[t._v(t._s(t.signature))])]):t._e(),t.isSelf?t._e():n("Message",{attrs:{content:t.signature,rtl:t.rightToLeft,type:"return"}})],1)},r=[],o=n(1936),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},7592:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.subStatement,{tag:"component",staticClass:"text-left text-sm text-skin-message",attrs:{context:t.context,comment:t.comment,commentObj:t.commentObj,selfCallIndent:t.selfCallIndent}})},r=[],o=n(3693),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},1653:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message-layer pt-24 pb-10"},[n("block",{style:{"padding-left":t.paddingLeft+"px"},attrs:{context:t.context}})],1)},r=[],o=n(2321),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},1873:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:t.width+"px",paddingLeft:t.paddingLeft+"px"}},[n("life-line-layer",{attrs:{context:t.rootContext.head()}}),n("message-layer",{attrs:{context:t.rootContext.block()}})],1)},r=[],o=n(9048),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},3991:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},t._l(t.types,(function(e){return n("li",{key:e,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[n("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[t.icon?n("img",{staticClass:"object-contain h-8 w-8 m-auto",attrs:{src:t.icon(e),alt:"icon for "+e}}):t._e()]),n("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[n("div",{staticClass:"px-2 py-2 text-xs"},[n("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[t._v("@"+t._s(e))])])])])})),0)},r=[],o=n(3934),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"e01c645c",null),c=u.exports},884:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[n("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),n("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[t._v("")]),n("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"},[n("div",[n("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[n("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[t._v(" ZenUML Tips ")]),n("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(e){return t.closeTipsDialog()}}},[n("span",{staticClass:"sr-only"},[t._v("Close menu")]),n("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"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),n("div",{attrs:{slot:"body"},slot:"body"},[n("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[n("div",{staticClass:"relative"},[n("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[t._m(0),n("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Builtin Icons")]),t._m(1),n("IconList",{attrs:{types:t.standardTypes}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.awsServices}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.azureServices}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.googleServices}})],1)])])])])])])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[n("div",[n("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Declare Participants")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("// Define a Starter (optional)\n@Starter(A)\n\n// Show icons\n@EC2 A\n\n// Use 'group' keyword\ngroup GroupName { B C }\n\n// Use stereotype\n<<servlet>> ServiceX")])])]),n("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Divider")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("A.method()\n==divider name==\nB.method()\n")])])])]),n("div",{staticClass:"px-4 w-full mx-auto lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Fragments")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("// Alt (AKA if/else)\nif(condition1) {}\nelse if (condition2) {}\nelse {}\n\n// `loop`, `for`, `forEach`, `while`\n// are treated the same\nforEach(records) {}\n\n// Opt\nopt {}\n\n// Par\npar {}\n\n// Try Catch Finally\ntry {} catch() {} finally {}\n")])])]),n("div",{staticClass:"px-4 w-full mx-auto lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Messages")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("//Creation\nnew ParticipantName()\n\n//Sync Message\nA.method\nA->B.method\n\n//Async Message\nA->B: async message\n\n//Reply Message, three styles\nx = A.method\nA.method() {\n return x\n}\nA.method() {\n @return A->B: message\n}")])])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"text-sm text-gray-500"},[t._v("Use "),n("span",{staticClass:"rounded inline-block bg-gray-50 text-gray-600"},[n("code",{staticClass:"text-xs"},[t._v("@Actor TheParticipant")])]),t._v(" to define the type of the participant.")])}],o=n(3824),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5bafecba",null),c=u.exports},1001:(t,e,n)=>{"use strict";function i(t,e,n,i,r,o,s,a){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var M=c.beforeCreate;c.beforeCreate=M?[].concat(M,u):[u]}return{exports:t,options:c}}n.d(e,{Z:()=>i})},895:(t,e,n)=>{var i=n(5319).Token,r=n(4412).Lexer,o=n(4088).Interval;function s(){return this}function a(t){return s.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.mark=function(){return 0},a.prototype.release=function(t){},a.prototype.reset=function(){this.seek(0)},a.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},a.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},a.prototype.consume=function(){var t=!1;if(t=this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length),!t&&this.LA(1)===i.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))},a.prototype.sync=function(t){var e=t-this.tokens.length+1;if(e>0){var n=this.fetch(e);return n>=e}return!0},a.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e<t;e++){var n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===i.EOF)return this.fetchedEOF=!0,e+1}return t},a.prototype.getTokens=function(t,e,n){if(void 0===n&&(n=null),t<0||e<0)return null;this.lazyInit();var r=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(var o=t;o<e;o++){var s=this.tokens[o];if(s.type===i.EOF)break;(null===n||n.contains(s.type))&&r.push(s)}return r},a.prototype.LA=function(t){return this.LT(t).type},a.prototype.LB=function(t){return this.index-t<0?null:this.tokens[this.index-t]},a.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]},a.prototype.adjustSeekIndex=function(t){return t},a.prototype.lazyInit=function(){-1===this.index&&this.setup()},a.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},a.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},a.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return-1;var n=this.tokens[t];while(n.channel!==this.channel){if(n.type===i.EOF)return-1;t+=1,this.sync(t),n=this.tokens[t]}return t},a.prototype.previousTokenOnChannel=function(t,e){while(t>=0&&this.tokens[t].channel!==e)t-=1;return t},a.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(t+1,r.DEFAULT_TOKEN_CHANNEL),i=t+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(i,o,e)},a.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(t-1,r.DEFAULT_TOKEN_CHANNEL);if(n===t-1)return null;var i=n+1,o=t-1;return this.filterForChannel(i,o,e)},a.prototype.filterForChannel=function(t,e,n){for(var i=[],o=t;o<e+1;o++){var s=this.tokens[o];-1===n?s.channel!==r.DEFAULT_TOKEN_CHANNEL&&i.push(s):s.channel===n&&i.push(s)}return 0===i.length?null:i},a.prototype.getSourceName=function(){return this.tokenSource.getSourceName()},a.prototype.getText=function(t){this.lazyInit(),this.fill(),void 0!==t&&null!==t||(t=new o(0,this.tokens.length-1));var e=t.start;e instanceof i&&(e=e.tokenIndex);var n=t.stop;if(n instanceof i&&(n=n.tokenIndex),null===e||null===n||e<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);for(var r="",s=e;s<n+1;s++){var a=this.tokens[s];if(a.type===i.EOF)break;r+=a.text}return r},a.prototype.fill=function(){this.lazyInit();while(1e3===this.fetch(1e3));},e.B=a},5689:(t,e,n)=>{var i=n(2732).InputStream,r="undefined"===typeof window&&"undefined"===typeof importScripts,o=r?n(7816):null,s={fromString:function(t){return new i(t,!0)},fromBlob:function(t,e,n,r){var o=FileReader();o.onload=function(t){var e=new i(t.target.result,!0);n(e)},o.onerror=r,o.readAsText(t,e)},fromBuffer:function(t,e){return new i(t.toString(e),!0)},fromPath:function(t,e,n){o.readFile(t,e,(function(t,e){var r=null;null!==e&&(r=new i(e,!0)),n(t,r)}))},fromPathSync:function(t,e){var n=o.readFileSync(t,e);return new i(n,!0)}};e.CharStreams=s},2058:(t,e,n)=>{var i=n(5319).CommonToken;function r(){return this}function o(t){return r.call(this),this.copyText=void 0!==t&&t,this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.DEFAULT=new o,o.prototype.create=function(t,e,n,r,o,s,a,u){var c=new i(t,e,r,o,s);return c.line=a,c.column=u,null!==n?c.text=n:this.copyText&&null!==t[1]&&(c.text=t[1].getText(o,s)),c},o.prototype.createThin=function(t,e){var n=new i(null,t);return n.text=e,n},e.$=o},1259:(t,e,n)=>{var i=n(5319).Token,r=n(895).B;function o(t,e){return r.call(this,t),this.channel=void 0===e?i.DEFAULT_CHANNEL:e,this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.adjustSeekIndex=function(t){return this.nextTokenOnChannel(t,this.channel)},o.prototype.LB=function(t){if(0===t||this.index-t<0)return null;var e=this.index,n=1;while(n<=t)e=this.previousTokenOnChannel(e-1,this.channel),n+=1;return e<0?null:this.tokens[e]},o.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index,n=1;while(n<t)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),n+=1;return this.tokens[e]},o.prototype.getNumberOfOnChannelTokens=function(){var t=0;this.fill();for(var e=0;e<this.tokens.length;e++){var n=this.tokens[e];if(n.channel===this.channel&&(t+=1),n.type===i.EOF)break}return t},e.CommonTokenStream=o},654:(t,e,n)=>{var i=n(2732).InputStream,r="undefined"===typeof window&&"undefined"===typeof importScripts,o=r?n(7816):null;function s(t,e){var n=o.readFileSync(t,"utf8");return i.call(this,n,e),this.fileName=t,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,e.FileStream=s},2732:(t,e,n)=>{var i=n(5319).Token;function r(t){if(t._index=0,t.data=[],t.decodeToUnicodeCodePoints)for(var e=0;e<t.strdata.length;){var n=t.strdata.codePointAt(e);t.data.push(n),e+=n<=65535?1:2}else for(e=0;e<t.strdata.length;e++){var i=t.strdata.charCodeAt(e);t.data.push(i)}t._size=t.data.length}function o(t,e){return this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,r(this),this}n(5034),n(2085),Object.defineProperty(o.prototype,"index",{get:function(){return this._index}}),Object.defineProperty(o.prototype,"size",{get:function(){return this._size}}),o.prototype.reset=function(){this._index=0},o.prototype.consume=function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1},o.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?i.EOF:this.data[e]},o.prototype.LT=function(t){return this.LA(t)},o.prototype.mark=function(){return-1},o.prototype.release=function(t){},o.prototype.seek=function(t){t<=this._index?this._index=t:this._index=Math.min(t,this._size)},o.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var n="",i=t;i<=e;i++)n+=String.fromCodePoint(this.data[i]);return n}return this.strdata.slice(t,e+1)},o.prototype.toString=function(){return this.strdata},e.InputStream=o},4088:(t,e,n)=>{var i=n(5319).Token;function r(t,e){return this.start=t,this.stop=e,this}function o(){this.intervals=null,this.readOnly=!1}r.prototype.contains=function(t){return t>=this.start&&t<this.stop},r.prototype.toString=function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()},Object.defineProperty(r.prototype,"length",{get:function(){return this.stop-this.start}}),o.prototype.first=function(t){return null===this.intervals||0===this.intervals.length?i.INVALID_TYPE:this.intervals[0].start},o.prototype.addOne=function(t){this.addInterval(new r(t,t+1))},o.prototype.addRange=function(t,e){this.addInterval(new r(t,e+1))},o.prototype.addInterval=function(t){if(null===this.intervals)this.intervals=[],this.intervals.push(t);else{for(var e=0;e<this.intervals.length;e++){var n=this.intervals[e];if(t.stop<n.start)return void this.intervals.splice(e,0,t);if(t.stop===n.start)return void(this.intervals[e].start=t.start);if(t.start<=n.stop)return this.intervals[e]=new r(Math.min(n.start,t.start),Math.max(n.stop,t.stop)),void this.reduce(e)}this.intervals.push(t)}},o.prototype.addSet=function(t){if(null!==t.intervals)for(var e=0;e<t.intervals.length;e++){var n=t.intervals[e];this.addInterval(new r(n.start,n.stop))}return this},o.prototype.reduce=function(t){if(t<this.intervalslength-1){var e=this.intervals[t],n=this.intervals[t+1];e.stop>=n.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=n.start&&(this.intervals[t]=new r(e.start,n.stop),this.intervals.pop(t+1))}},o.prototype.complement=function(t,e){var n=new o;n.addInterval(new r(t,e+1));for(var i=0;i<this.intervals.length;i++)n.removeRange(this.intervals[i]);return n},o.prototype.contains=function(t){if(null===this.intervals)return!1;for(var e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;return this.intervals.map((function(e){t+=e.length})),t}}),o.prototype.removeRange=function(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(null!==this.intervals)for(var e=0,n=0;n<this.intervals.length;n++){var i=this.intervals[e];if(t.stop<=i.start)return;if(t.start>i.start&&t.stop<i.stop){this.intervals[e]=new r(i.start,t.start);var o=new r(t.stop,i.stop);return void this.intervals.splice(e,0,o)}t.start<=i.start&&t.stop>=i.stop?(this.intervals.splice(e,1),e-=1):t.start<i.stop?this.intervals[e]=new r(i.start,t.start):t.stop<i.stop&&(this.intervals[e]=new r(t.stop,i.stop)),e+=1}},o.prototype.removeOne=function(t){if(null!==this.intervals)for(var e=0;e<this.intervals.length;e++){var n=this.intervals[e];if(t<n.start)return;if(t===n.start&&t===n.stop-1)return void this.intervals.splice(e,1);if(t===n.start)return void(this.intervals[e]=new r(n.start+1,n.stop));if(t===n.stop-1)return void(this.intervals[e]=new r(n.start,n.stop-1));if(t<n.stop-1){var i=new r(n.start,t);return n.start=t+1,void this.intervals.splice(e,0,i)}}},o.prototype.toString=function(t,e,n){return t=t||null,e=e||null,n=n||!1,null===this.intervals?"{}":null!==t||null!==e?this.toTokenString(t,e):n?this.toCharString():this.toIndexString()},o.prototype.toCharString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var n=this.intervals[e];n.stop===n.start+1?n.start===i.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(n.start)+"'"):t.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toIndexString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var n=this.intervals[e];n.stop===n.start+1?n.start===i.EOF?t.push("<EOF>"):t.push(n.start.toString()):t.push(n.start.toString()+".."+(n.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toTokenString=function(t,e){for(var n=[],i=0;i<this.intervals.length;i++)for(var r=this.intervals[i],o=r.start;o<r.stop;o++)n.push(this.elementName(t,e,o));return n.length>1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(t,e,n){return n===i.EOF?"<EOF>":n===i.EPSILON?"<EPSILON>":t[n]||e[n]},e.Interval=r,e.V=o},670:(t,e,n)=>{var i=n(8561).Set,r=n(8561).BitSet,o=n(5319).Token,s=n(3864).m,a=(n(4088).Interval,n(4088).V),u=n(9215).RuleStopState,c=n(5099).RuleTransition,l=n(5099).NotSetTransition,M=n(5099).WildcardTransition,p=n(5099).AbstractPredicateTransition,h=n(8758),g=h.predictionContextFromRuleContext,N=h.PredictionContext,D=h.SingletonPredictionContext;function I(t){this.atn=t}I.HIT_PRED=o.INVALID_TYPE,I.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,n=[],o=0;o<e;o++){n[o]=new a;var s=new i,u=!1;this._LOOK(t.transition(o).target,null,N.EMPTY,n[o],s,new r,u,!1),(0===n[o].length||n[o].contains(I.HIT_PRED))&&(n[o]=null)}return n},I.prototype.LOOK=function(t,e,n){var o=new a,s=!0;n=n||null;var u=null!==n?g(t.atn,n):null;return this._LOOK(t,e,u,o,new i,new r,s,!0),o},I.prototype._LOOK=function(t,e,n,i,r,a,h,g){var y=new s({state:t,alt:0,context:n},null);if(!r.contains(y)){if(r.add(y),t===e){if(null===n)return void i.addOne(o.EPSILON);if(n.isEmpty()&&g)return void i.addOne(o.EOF)}if(t instanceof u){if(null===n)return void i.addOne(o.EPSILON);if(n.isEmpty()&&g)return void i.addOne(o.EOF);if(n!==N.EMPTY){for(var d=0;d<n.length;d++){var T=this.atn.states[n.getReturnState(d)],x=a.contains(T.ruleIndex);try{a.remove(T.ruleIndex),this._LOOK(T,e,n.getParent(d),i,r,a,h,g)}finally{x&&a.add(T.ruleIndex)}}return}}for(var L=0;L<t.transitions.length;L++){var j=t.transitions[L];if(j.constructor===c){if(a.contains(j.target.ruleIndex))continue;var f=D.create(n,j.followState.stateNumber);try{a.add(j.target.ruleIndex),this._LOOK(j.target,e,f,i,r,a,h,g)}finally{a.remove(j.target.ruleIndex)}}else if(j instanceof p)h?this._LOOK(j.target,e,n,i,r,a,h,g):i.addOne(I.HIT_PRED);else if(j.isEpsilon)this._LOOK(j.target,e,n,i,r,a,h,g);else if(j.constructor===M)i.addRange(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var w=j.label;null!==w&&(j instanceof l&&(w=w.complement(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),i.addSet(w))}}}},e.u=I},4412:(t,e,n)=>{var i=n(5319).Token,r=n(4489).c,o=n(2058).$,s=n(2874).RecognitionException,a=n(2874).LexerNoViableAltException;function u(t){return r.call(this),this._input=t,this._factory=o.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=i.DEFAULT_CHANNEL,this._type=i.INVALID_TYPE,this._modeStack=[],this._mode=u.DEFAULT_MODE,this._text=null,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.DEFAULT_MODE=0,u.MORE=-2,u.SKIP=-3,u.DEFAULT_TOKEN_CHANNEL=i.DEFAULT_CHANNEL,u.HIDDEN=i.HIDDEN_CHANNEL,u.MIN_CHAR_VALUE=0,u.MAX_CHAR_VALUE=1114111,u.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=i.INVALID_TYPE,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=u.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},u.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var t=this._input.mark();try{while(1){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;var e=!1;while(1){this._type=i.INVALID_TYPE;var n=u.SKIP;try{n=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof s))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===i.EOF&&(this._hitEOF=!0),this._type===i.INVALID_TYPE&&(this._type=n),this._type===u.SKIP){e=!0;break}if(this._type!==u.MORE)break}if(!e)return null===this._token&&this.emit(),this._token}}finally{this._input.release(t)}},u.prototype.skip=function(){this._type=u.SKIP},u.prototype.more=function(){this._type=u.MORE},u.prototype.mode=function(t){this._mode=t},u.prototype.pushMode=function(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)},u.prototype.popMode=function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode},Object.defineProperty(u.prototype,"inputStream",{get:function(){return this._input},set:function(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(u.prototype,"sourceName",{get:function(){return this._input.sourceName}}),u.prototype.emitToken=function(t){this._token=t},u.prototype.emit=function(){var 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},u.prototype.emitEOF=function(){var t=this.column,e=this.line,n=this._factory.create(this._tokenFactorySourcePair,i.EOF,null,i.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(n),n},Object.defineProperty(u.prototype,"type",{get:function(){return this.type},set:function(t){this._type=t}}),Object.defineProperty(u.prototype,"line",{get:function(){return this._interp.line},set:function(t){this._interp.line=t}}),Object.defineProperty(u.prototype,"column",{get:function(){return this._interp.column},set:function(t){this._interp.column=t}}),u.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(u.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(t){this._text=t}}),u.prototype.getAllTokens=function(){var t=[],e=this.nextToken();while(e.type!==i.EOF)t.push(e),e=this.nextToken();return t},u.prototype.notifyListeners=function(t){var e=this._tokenStartCharIndex,n=this._input.index,i=this._input.getText(e,n),r="token recognition error at: '"+this.getErrorDisplay(i)+"'",o=this.getErrorListenerDispatch();o.syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,r,t)},u.prototype.getErrorDisplay=function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);return e.join("")},u.prototype.getErrorDisplayForChar=function(t){return t.charCodeAt(0)===i.EOF?"<EOF>":"\n"===t?"\\n":"\t"===t?"\\t":"\r"===t?"\\r":t},u.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},u.prototype.recover=function(t){this._input.LA(1)!==i.EOF&&(t instanceof a?this._interp.consume(this._input):this._input.consume())},e.Lexer=u},3709:(t,e,n)=>{var i=n(5319).Token,r=n(1065).ParseTreeListener,o=n(4489).c,s=n(1080).t,a=n(8833).ATNDeserializer,u=n(6477).W,c=n(1065).TerminalNode,l=n(1065).ErrorNode;function M(t){return r.call(this),this.parser=t,this}function p(t){return o.call(this),this._input=null,this._errHandler=new s,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}M.prototype=Object.create(r.prototype),M.prototype.constructor=M,M.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},M.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},M.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},p.prototype=Object.create(o.prototype),p.prototype.contructor=p,p.bypassAltsAtnCache={},p.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},p.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},p.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},p.prototype.getParseListeners=function(){return this._parseListeners||[]},p.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},p.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},p.prototype.removeParseListeners=function(){this._parseListeners=null},p.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map((function(e){e.enterEveryRule(t),t.enterRule(e)}))}},p.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map((function(e){t.exitRule(e),e.exitEveryRule(t)}))}},p.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},p.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},p.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var n=new u;n.generateRuleBypassTransitions=!0,e=new a(n).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var h=n(4412).Lexer;p.prototype.compileParseTreePattern=function(t,e,n){if(n=n||null,null===n&&null!==this.getTokenStream()){var i=this.getTokenStream().tokenSource;i instanceof h&&(n=i)}if(null===n)throw"Parser can't discover a lexer to use";var r=new ParseTreePatternMatcher(n,this);return r.compile(t,e)},p.prototype.getInputStream=function(){return this.getTokenStream()},p.prototype.setInputStream=function(t){this.setTokenStream(t)},p.prototype.getTokenStream=function(){return this._input},p.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},p.prototype.getCurrentToken=function(){return this._input.LT(1)},p.prototype.notifyErrorListeners=function(t,e,n){e=e||null,n=n||null,null===e&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var i=e.line,r=e.column,o=this.getErrorListenerDispatch();o.syntaxError(this,e,i,r,t,n)},p.prototype.consume=function(){var t=this.getCurrentToken();t.type!==i.EOF&&this.getInputStream().consume();var e,n=null!==this._parseListeners&&this._parseListeners.length>0;(this.buildParseTrees||n)&&(e=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(t):this._ctx.addTokenNode(t),e.invokingState=this.state,n&&this._parseListeners.map((function(t){e instanceof l||void 0!==e.isErrorNode&&e.isErrorNode()?t.visitErrorNode(e):e instanceof c&&t.visitTerminal(e)})));return t},p.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},p.prototype.enterRule=function(t,e,n){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},p.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},p.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},p.prototype.enterRecursionRule=function(t,e,n,i){this.state=e,this._precedenceStack.push(i),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.pushNewRecursionContext=function(t,e,n){var i=this._ctx;i.parentCtx=t,i.invokingState=e,i.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=i.start,this.buildParseTrees&&this._ctx.addChild(i),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)while(this._ctx!==t)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},p.prototype.getInvokingContext=function(t){var e=this._ctx;while(null!==e){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},p.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},p.prototype.inContext=function(t){return!1},p.prototype.isExpectedToken=function(t){var e=this._interp.atn,n=this._ctx,r=e.states[this.state],o=e.nextTokens(r);if(o.contains(t))return!0;if(!o.contains(i.EPSILON))return!1;while(null!==n&&n.invokingState>=0&&o.contains(i.EPSILON)){var s=e.states[n.invokingState],a=s.transitions[0];if(o=e.nextTokens(a.followState),o.contains(t))return!0;n=n.parentCtx}return!(!o.contains(i.EPSILON)||t!==i.EOF)},p.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},p.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},p.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},p.prototype.getRuleInvocationStack=function(t){t=t||null,null===t&&(t=this._ctx);var e=[];while(null!==t){var n=t.ruleIndex;n<0?e.push("n/a"):e.push(this.ruleNames[n]),t=t.parentCtx}return e},p.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},p.prototype.dumpDFA=function(){for(var t=!1,e=0;e<this._interp.decisionToDFA.length;e++){var n=this._interp.decisionToDFA[e];n.states.length>0&&(t&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),t=!0)}},p.prototype.getSourceName=function(){return this._input.sourceName},p.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new M(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=p},5082:(t,e,n)=>{var i=n(8738).r,r=n(1065),o=r.INVALID_INTERVAL,s=r.TerminalNode,a=r.TerminalNodeImpl,u=r.ErrorNodeImpl,c=n(4088).Interval;function l(t,e){t=t||null,e=e||null,i.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function M(t,e,n){return l.call(t,e),this.ruleIndex=n,this}l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.copyFrom=function(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(t){t instanceof u&&(this.children.push(t),t.parentCtx=this)}),this))},l.prototype.enterRule=function(t){},l.prototype.exitRule=function(t){},l.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},l.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},l.prototype.addTokenNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},l.prototype.addErrorNode=function(t){var e=new u(t);return this.addChild(e),e.parentCtx=this,e},l.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var n=0;n<this.children.length;n++){var i=this.children[n];if(i instanceof e){if(0===t)return i;t-=1}}return null},l.prototype.getToken=function(t,e){if(null===this.children||e<0||e>=this.children.length)return null;for(var n=0;n<this.children.length;n++){var i=this.children[n];if(i instanceof s&&i.symbol.type===t){if(0===e)return i;e-=1}}return null},l.prototype.getTokens=function(t){if(null===this.children)return[];for(var e=[],n=0;n<this.children.length;n++){var i=this.children[n];i instanceof s&&i.symbol.type===t&&e.push(i)}return e},l.prototype.getTypedRuleContext=function(t,e){return this.getChild(e,t)},l.prototype.getTypedRuleContexts=function(t){if(null===this.children)return[];for(var e=[],n=0;n<this.children.length;n++){var i=this.children[n];i instanceof t&&e.push(i)}return e},l.prototype.getChildCount=function(){return null===this.children?0:this.children.length},l.prototype.getSourceInterval=function(){return null===this.start||null===this.stop?o:new c(this.start.tokenIndex,this.stop.tokenIndex)},i.EMPTY=new l,M.prototype=Object.create(l.prototype),M.prototype.constructor=M,e.ParserRuleContext=l},8758:(t,e,n)=>{var i=n(8738).r,r=n(8561).Hash,o=n(8561).Map;function s(t){this.cachedHashCode=t}function a(){return this.cache=new o,this}function u(t,e){var n=0,i=new r;null!==t?i.update(t,e):i.update(1),n=i.finish(),s.call(this,n),this.parentCtx=t,this.returnState=e}function c(){return u.call(this,null,s.EMPTY_RETURN_STATE),this}function l(t,e){var n=new r;n.update(t,e);var i=n.finish();return s.call(this,i),this.parents=t,this.returnStates=e,this}function M(t,e){if(void 0!==e&&null!==e||(e=i.EMPTY),null===e.parentCtx||e===i.EMPTY)return s.EMPTY;var n=M(t,e.parentCtx),r=t.states[e.invokingState],o=r.transitions[0];return u.create(n,o.followState.stateNumber)}function p(t,e,n,i){if(t===e)return t;if(t instanceof u&&e instanceof u)return h(t,e,n,i);if(n){if(t instanceof c)return t;if(e instanceof c)return e}return t instanceof u&&(t=new l([t.getParent()],[t.returnState])),e instanceof u&&(e=new l([e.getParent()],[e.returnState])),N(t,e,n,i)}function h(t,e,n,i){if(null!==i){var r=i.get(t,e);if(null!==r)return r;if(r=i.get(e,t),null!==r)return r}var o=g(t,e,n);if(null!==o)return null!==i&&i.set(t,e,o),o;if(t.returnState===e.returnState){var s=p(t.parentCtx,e.parentCtx,n,i);if(s===t.parentCtx)return t;if(s===e.parentCtx)return e;var a=u.create(s,t.returnState);return null!==i&&i.set(t,e,a),a}var c=null;if((t===e||null!==t.parentCtx&&t.parentCtx===e.parentCtx)&&(c=t.parentCtx),null!==c){var M=[t.returnState,e.returnState];t.returnState>e.returnState&&(M[0]=e.returnState,M[1]=t.returnState);var h=[c,c],N=new l(h,M);return null!==i&&i.set(t,e,N),N}M=[t.returnState,e.returnState],h=[t.parentCtx,e.parentCtx];t.returnState>e.returnState&&(M[0]=e.returnState,M[1]=t.returnState,h=[e.parentCtx,t.parentCtx]);var D=new l(h,M);return null!==i&&i.set(t,e,D),D}function g(t,e,n){if(n){if(t===s.EMPTY)return s.EMPTY;if(e===s.EMPTY)return s.EMPTY}else{if(t===s.EMPTY&&e===s.EMPTY)return s.EMPTY;if(t===s.EMPTY){var i=[e.returnState,s.EMPTY_RETURN_STATE],r=[e.parentCtx,null];return new l(r,i)}if(e===s.EMPTY){i=[t.returnState,s.EMPTY_RETURN_STATE],r=[t.parentCtx,null];return new l(r,i)}}return null}function N(t,e,n,i){if(null!==i){var r=i.get(t,e);if(null!==r)return r;if(r=i.get(e,t),null!==r)return r}var o=0,a=0,c=0,M=[],h=[];while(o<t.returnStates.length&&a<e.returnStates.length){var g=t.parents[o],N=e.parents[a];if(t.returnStates[o]===e.returnStates[a]){var I=t.returnStates[o],y=I===s.EMPTY_RETURN_STATE&&null===g&&null===N,d=null!==g&&null!==N&&g===N;if(y||d)h[c]=g,M[c]=I;else{var T=p(g,N,n,i);h[c]=T,M[c]=I}o+=1,a+=1}else t.returnStates[o]<e.returnStates[a]?(h[c]=g,M[c]=t.returnStates[o],o+=1):(h[c]=N,M[c]=e.returnStates[a],a+=1);c+=1}if(o<t.returnStates.length)for(var x=o;x<t.returnStates.length;x++)h[c]=t.parents[x],M[c]=t.returnStates[x],c+=1;else for(x=a;x<e.returnStates.length;x++)h[c]=e.parents[x],M[c]=e.returnStates[x],c+=1;if(c<h.length){if(1===c){var L=u.create(h[0],M[0]);return null!==i&&i.set(t,e,L),L}h=h.slice(0,c),M=M.slice(0,c)}var j=new l(h,M);return j===t?(null!==i&&i.set(t,e,t),t):j===e?(null!==i&&i.set(t,e,e),e):(D(h),null!==i&&i.set(t,e,j),j)}function D(t){for(var e=new o,n=0;n<t.length;n++){var i=t[n];e.containsKey(i)||e.put(i,i)}for(var r=0;r<t.length;r++)t[r]=e.get(t[r])}function I(t,e,n){if(t.isEmpty())return t;var i=n.get(t)||null;if(null!==i)return i;if(i=e.get(t),null!==i)return n.put(t,i),i;for(var r=!1,o=[],a=0;a<o.length;a++){var c=I(t.getParent(a),e,n);if(r||c!==t.getParent(a)){if(!r){o=[];for(var M=0;M<t.length;M++)o[M]=t.getParent(M);r=!0}o[a]=c}}if(!r)return e.add(t),n.put(t,t),t;var p=null;return p=0===o.length?s.EMPTY:1===o.length?u.create(o[0],t.getReturnState(0)):new l(o,t.returnStates),e.add(p),n.put(p,p),n.put(t,p),p}s.EMPTY=null,s.EMPTY_RETURN_STATE=2147483647,s.globalNodeCount=1,s.id=s.globalNodeCount,s.prototype.isEmpty=function(){return this===s.EMPTY},s.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===s.EMPTY_RETURN_STATE},s.prototype.hashCode=function(){return this.cachedHashCode},s.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},a.prototype.add=function(t){if(t===s.EMPTY)return s.EMPTY;var e=this.cache.get(t)||null;return null!==e?e:(this.cache.put(t,t),t)},a.prototype.get=function(t){return this.cache.get(t)||null},Object.defineProperty(a.prototype,"length",{get:function(){return this.cache.length}}),u.prototype=Object.create(s.prototype),u.prototype.contructor=u,u.create=function(t,e){return e===s.EMPTY_RETURN_STATE&&null===t?s.EMPTY:new u(t,e)},Object.defineProperty(u.prototype,"length",{get:function(){return 1}}),u.prototype.getParent=function(t){return this.parentCtx},u.prototype.getReturnState=function(t){return this.returnState},u.prototype.equals=function(t){return this===t||t instanceof u&&(this.hashCode()===t.hashCode()&&(this.returnState===t.returnState&&(null==this.parentCtx?null==t.parentCtx:this.parentCtx.equals(t.parentCtx))))},u.prototype.toString=function(){var t=null===this.parentCtx?"":this.parentCtx.toString();return 0===t.length?this.returnState===s.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+t},c.prototype=Object.create(u.prototype),c.prototype.constructor=c,c.prototype.isEmpty=function(){return!0},c.prototype.getParent=function(t){return null},c.prototype.getReturnState=function(t){return this.returnState},c.prototype.equals=function(t){return this===t},c.prototype.toString=function(){return"$"},s.EMPTY=new c,l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.isEmpty=function(){return this.returnStates[0]===s.EMPTY_RETURN_STATE},Object.defineProperty(l.prototype,"length",{get:function(){return this.returnStates.length}}),l.prototype.getParent=function(t){return this.parents[t]},l.prototype.getReturnState=function(t){return this.returnStates[t]},l.prototype.equals=function(t){return this===t||t instanceof l&&(this.hashCode()===t.hashCode()&&(this.returnStates===t.returnStates&&this.parents===t.parents))},l.prototype.toString=function(){if(this.isEmpty())return"[]";for(var t="[",e=0;e<this.returnStates.length;e++)e>0&&(t+=", "),this.returnStates[e]!==s.EMPTY_RETURN_STATE?(t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"):t+="$";return t+"]"},e.merge=p,e.PredictionContext=s,e.PredictionContextCache=a,e.SingletonPredictionContext=u,e.predictionContextFromRuleContext=M,e.getCachedPredictionContext=I},4489:(t,e,n)=>{var i=n(5319).Token,r=n(5827).s,o=n(5827).N;function s(){return this._listeners=[r.INSTANCE],this._interp=null,this._stateNumber=-1,this}s.tokenTypeMapCache={},s.ruleIndexMapCache={},s.prototype.checkVersion=function(t){var e="4.8";e!==t&&console.log("ANTLR runtime and generated code versions disagree: "+e+"!="+t)},s.prototype.addErrorListener=function(t){this._listeners.push(t)},s.prototype.removeErrorListeners=function(){this._listeners=[]},s.prototype.getTokenTypeMap=function(){var t=this.getTokenNames();if(null===t)throw"The current recognizer does not provide a list of token names.";var e=this.tokenTypeMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,n){t[e]=n})),e.EOF=i.EOF,this.tokenTypeMapCache[t]=e),e},s.prototype.getRuleIndexMap=function(){var t=this.ruleNames;if(null===t)throw"The current recognizer does not provide a list of rule names.";var e=this.ruleIndexMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,n){t[e]=n})),this.ruleIndexMapCache[t]=e),e},s.prototype.getTokenType=function(t){var e=this.getTokenTypeMap()[t];return void 0!==e?e:i.INVALID_TYPE},s.prototype.getErrorHeader=function(t){var e=t.getOffendingToken().line,n=t.getOffendingToken().column;return"line "+e+":"+n},s.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),e=e.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+e+"'"},s.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},s.prototype.sempred=function(t,e,n){return!0},s.prototype.precpred=function(t,e){return!0},Object.defineProperty(s.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.c=s},8738:(t,e,n)=>{var i=n(1065).RuleNode,r=n(1065).INVALID_INTERVAL,o=n(3600).INVALID_ALT_NUMBER;function s(t,e){return i.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.depth=function(){var t=0,e=this;while(null!==e)e=e.parentCtx,t+=1;return t},s.prototype.isEmpty=function(){return-1===this.invokingState},s.prototype.getSourceInterval=function(){return r},s.prototype.getRuleContext=function(){return this},s.prototype.getPayload=function(){return this},s.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(t){return t.getText()})).join("")},s.prototype.getAltNumber=function(){return o},s.prototype.setAltNumber=function(t){},s.prototype.getChild=function(t){return null},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(t){return t.visitChildren(this)},e.r=s;var a=n(2181).Trees;s.prototype.toStringTree=function(t,e){return a.toStringTree(this,t,e)},s.prototype.toString=function(t,e){t=t||null,e=e||null;var n=this,i="[";while(null!==n&&n!==e){if(null===t)n.isEmpty()||(i+=n.invokingState);else{var r=n.ruleIndex,o=r>=0&&r<t.length?t[r]:""+r;i+=o}null===n.parentCtx||null===t&&n.parentCtx.isEmpty()||(i+=" "),n=n.parentCtx}return i+="]",i}},5319:(t,e)=>{function n(){return 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,this}function i(t,e,r,o,s){return n.call(this),this.source=void 0!==t?t:i.EMPTY_SOURCE,this.type=void 0!==e?e:null,this.channel=void 0!==r?r:n.DEFAULT_CHANNEL,this.start=void 0!==o?o:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=t[0].line,this.column=t[0].column):this.column=-1,this}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,Object.defineProperty(n.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t}}),n.prototype.getTokenSource=function(){return this.source[0]},n.prototype.getInputStream=function(){return this.source[1]},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.EMPTY_SOURCE=[null,null],i.prototype.clone=function(){var t=new i(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},Object.defineProperty(i.prototype,"text",{get:function(){if(null!==this._text)return this._text;var t=this.getInputStream();if(null===t)return null;var e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"},set:function(t){this._text=t}}),i.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=n,e.CommonToken=i},8561:(t,e)=>{function n(t){return"["+t.join(", ")+"]"}function i(t,e){return t.equals(e)}function r(t){return t.hashCode()}function o(t,e){return this.data={},this.hashFunction=t||r,this.equalsFunction=e||i,this}function s(){return this.data=[],this}function a(t,e){return this.data={},this.hashFunction=t||r,this.equalsFunction=e||i,this}function u(){return this.data={},this}function c(t){return this.defaultMapCtor=t||a,this.cacheMap=new this.defaultMapCtor,this}function l(){return this.count=0,this.hash=0,this}function M(){var t=new l;return t.update.apply(t,arguments),t.finish()}function p(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"·")),t}function h(t){return t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1)}))}function g(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!=e[n]&&!t[n].equals(e[n]))return!1;return!0}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var t,e,n,i,r,o,s,a,u=this.toString();t=3&u.length,e=u.length-t,n=String.prototype.seed,r=3432918353,o=461845907,a=0;while(a<e)s=255&u.charCodeAt(a)|(255&u.charCodeAt(++a))<<8|(255&u.charCodeAt(++a))<<16|(255&u.charCodeAt(++a))<<24,++a,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*o+(((s>>>16)*o&65535)<<16)&4294967295,n^=s,n=n<<13|n>>>19,i=5*(65535&n)+((5*(n>>>16)&65535)<<16)&4294967295,n=27492+(65535&i)+((58964+(i>>>16)&65535)<<16);switch(s=0,t){case 3:s^=(255&u.charCodeAt(a+2))<<16;case 2:s^=(255&u.charCodeAt(a+1))<<8;case 1:s^=255&u.charCodeAt(a),s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*o+(((s>>>16)*o&65535)<<16)&4294967295,n^=s}return n^=u.length,n^=n>>>16,n=2246822507*(65535&n)+((2246822507*(n>>>16)&65535)<<16)&4294967295,n^=n>>>13,n=3266489909*(65535&n)+((3266489909*(n>>>16)&65535)<<16)&4294967295,n^=n>>>16,n>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),o.prototype.add=function(t){var e=this.hashFunction(t),n="hash_"+e;if(n in this.data){for(var i=this.data[n],r=0;r<i.length;r++)if(this.equalsFunction(t,i[r]))return i[r];return i.push(t),t}return this.data[n]=[t],t},o.prototype.contains=function(t){return null!=this.get(t)},o.prototype.get=function(t){var e=this.hashFunction(t),n="hash_"+e;if(n in this.data)for(var i=this.data[n],r=0;r<i.length;r++)if(this.equalsFunction(t,i[r]))return i[r];return null},o.prototype.values=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},o.prototype.toString=function(){return n(this.values())},s.prototype.add=function(t){this.data[t]=!0},s.prototype.or=function(t){var e=this;Object.keys(t.data).map((function(t){e.add(t)}))},s.prototype.remove=function(t){delete this.data[t]},s.prototype.contains=function(t){return!0===this.data[t]},s.prototype.values=function(){return Object.keys(this.data)},s.prototype.minValue=function(){return Math.min.apply(null,this.values())},s.prototype.hashCode=function(){var t=new l;return t.update(this.values()),t.finish()},s.prototype.equals=function(t){return t instanceof s&&this.hashCode()===t.hashCode()},Object.defineProperty(s.prototype,"length",{get:function(){return this.values().length}}),s.prototype.toString=function(){return"{"+this.values().join(", ")+"}"},Object.defineProperty(a.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),a.prototype.put=function(t,e){var n="hash_"+this.hashFunction(t);if(n in this.data){for(var i=this.data[n],r=0;r<i.length;r++){var o=i[r];if(this.equalsFunction(t,o.key)){var s=o.value;return o.value=e,s}}return i.push({key:t,value:e}),e}return this.data[n]=[{key:t,value:e}],e},a.prototype.containsKey=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var n=this.data[e],i=0;i<n.length;i++){var r=n[i];if(this.equalsFunction(t,r.key))return!0}return!1},a.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var n=this.data[e],i=0;i<n.length;i++){var r=n[i];if(this.equalsFunction(t,r.key))return r.value}return null},a.prototype.entries=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},a.prototype.getKeys=function(){return this.entries().map((function(t){return t.key}))},a.prototype.getValues=function(){return this.entries().map((function(t){return t.value}))},a.prototype.toString=function(){var t=this.entries().map((function(t){return"{"+t.key+":"+t.value+"}"}));return"["+t.join(", ")+"]"},u.prototype.get=function(t){return t="k-"+t,t in this.data?this.data[t]:null},u.prototype.put=function(t,e){t="k-"+t,this.data[t]=e},u.prototype.values=function(){var t=this.data,e=Object.keys(this.data);return e.map((function(e){return t[e]}))},l.prototype.update=function(){for(var t=0;t<arguments.length;t++){var e=arguments[t];if(null!=e)if(Array.isArray(e))this.update.apply(this,e);else{var n=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":n=e;break;case"string":n=e.hashCode();break;default:e.updateHashCode?e.updateHashCode(this):console.log("No updateHashCode for "+e.toString());continue}n*=3432918353,n=n<<15|n>>>17,n*=461845907,this.count=this.count+1;var i=this.hash^n;i=i<<13|i>>>19,i=5*i+3864292196,this.hash=i}}},l.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,t*=3266489909,t^=t>>>16,t},c.prototype.get=function(t,e){var n=this.cacheMap.get(t)||null;return null===n?null:n.get(e)||null},c.prototype.set=function(t,e,n){var i=this.cacheMap.get(t)||null;null===i&&(i=new this.defaultMapCtor,this.cacheMap.put(t,i)),i.put(e,n)},e.Hash=l,e.Set=o,e.Map=a,e.BitSet=s,e.AltDict=u,e.DoubleDict=c,e.hashStuff=M,e.escapeWhitespace=p,e.arrayToString=n,e.titleCase=h,e.equalArrays=g},3600:(t,e,n)=>{var i=n(670).u,r=n(4088).V;function o(t,e){return 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=[],this}o.prototype.nextTokensInContext=function(t,e){var n=new i(this);return n.LOOK(t,null,e)},o.prototype.nextTokensNoContext=function(t){return null!==t.nextTokenWithinRule||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule},o.prototype.nextTokens=function(t,e){return void 0===e?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)},o.prototype.addState=function(t){null!==t&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)},o.prototype.removeState=function(t){this.states[t.stateNumber]=null},o.prototype.defineDecisionState=function(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision},o.prototype.getDecisionState=function(t){return 0===this.decisionToState.length?null:this.decisionToState[t]};var s=n(5319).Token;o.prototype.getExpectedTokens=function(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";var n=this.states[t],i=this.nextTokens(n);if(!i.contains(s.EPSILON))return i;var o=new r;o.addSet(i),o.removeOne(s.EPSILON);while(null!==e&&e.invokingState>=0&&i.contains(s.EPSILON)){var a=this.states[e.invokingState],u=a.transitions[0];i=this.nextTokens(u.followState),o.addSet(i),o.removeOne(s.EPSILON),e=e.parentCtx}return i.contains(s.EPSILON)&&o.addOne(s.EOF),o},o.INVALID_ALT_NUMBER=0,e.ATN=o},3864:(t,e,n)=>{var i=n(9215).DecisionState,r=n(2105).dP,o=n(8561).Hash;function s(t,e){if(null===t){var n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}var i={};return i.state=t.state||null,i.alt=void 0===t.alt?null:t.alt,i.context=t.context||null,i.semanticContext=t.semanticContext||null,e&&(i.reachesIntoOuterContext=t.reachesIntoOuterContext||0,i.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),i}function a(t,e){return this.checkContext(t,e),t=s(t),e=s(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:r.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function u(t,e){a.call(this,t,e);var n=t.lexerActionExecutor||null;return this.lexerActionExecutor=n||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}a.prototype.checkContext=function(t,e){null!==t.context&&void 0!==t.context||null!==e&&null!==e.context&&void 0!==e.context||(this.context=null)},a.prototype.hashCode=function(){var t=new o;return this.updateHashCode(t),t.finish()},a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},a.prototype.equals=function(t){return this===t||t instanceof a&&(this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed)},a.prototype.hashCodeForConfigSet=function(){var t=new o;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},a.prototype.equalsForConfigSet=function(t){return this===t||t instanceof a&&(this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext))},a.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==r.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},u.prototype.equals=function(t){return this===t||t instanceof u&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&a.prototype.equals.call(this,t)},u.prototype.hashCodeForConfigSet=u.prototype.hashCode,u.prototype.equalsForConfigSet=u.prototype.equals,u.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof i&&e.nonGreedy},e.m=a,e.P=u},8254:(t,e,n)=>{var i=n(3600).ATN,r=n(8561),o=r.Hash,s=r.Set,a=n(2105).dP,u=n(8758).merge;function c(t){return t.hashCodeForConfigSet()}function l(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function M(t){return this.configLookup=new s(c,l),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function p(){return M.call(this),this.configLookup=new s,this}M.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==a.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(t);if(n===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var i=!this.fullCtx,r=u(n.context,t.context,i,e);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=r,!0},M.prototype.getStates=function(){for(var t=new s,e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t},M.prototype.getPredicates=function(){for(var t=[],e=0;e<this.configs.length;e++){var n=this.configs[e].semanticContext;n!==a.NONE&&t.push(n.semanticContext)}return t},Object.defineProperty(M.prototype,"items",{get:function(){return this.configs}}),M.prototype.optimizeConfigs=function(t){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var e=0;e<this.configs.length;e++){var n=this.configs[e];n.context=t.getCachedContext(n.context)}},M.prototype.addAll=function(t){for(var e=0;e<t.length;e++)this.add(t[e]);return!1},M.prototype.equals=function(t){return this===t||t instanceof M&&r.equalArrays(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext},M.prototype.hashCode=function(){var t=new o;return t.update(this.configs),t.finish()},M.prototype.updateHashCode=function(t){this.readOnly?(-1===this.cachedHashCode&&(this.cachedHashCode=this.hashCode()),t.update(this.cachedHashCode)):t.update(this.hashCode())},Object.defineProperty(M.prototype,"length",{get:function(){return this.configs.length}}),M.prototype.isEmpty=function(){return 0===this.configs.length},M.prototype.contains=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)},M.prototype.containsFast=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)},M.prototype.clear=function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new s},M.prototype.setReadonly=function(t){this.readOnly=t,t&&(this.configLookup=null)},M.prototype.toString=function(){return r.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==i.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")},p.prototype=Object.create(M.prototype),p.prototype.constructor=p,e.B=M,e.s=p},6477:(t,e)=>{function n(t){return void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions,this}n.defaultOptions=new n,n.defaultOptions.readOnly=!0,e.W=n},8833:(t,e,n)=>{var i=n(5319).Token,r=n(3600).ATN,o=n(1463).n,s=n(9215),a=s.ATNState,u=s.BasicState,c=s.DecisionState,l=s.BlockStartState,M=s.BlockEndState,p=s.LoopEndState,h=s.RuleStartState,g=s.RuleStopState,N=s.TokensStartState,D=s.PlusLoopbackState,I=s.StarLoopbackState,y=s.StarLoopEntryState,d=s.PlusBlockStartState,T=s.StarBlockStartState,x=s.BasicBlockStartState,L=n(5099),j=L.Transition,f=L.AtomTransition,w=L.SetTransition,E=L.NotSetTransition,A=L.RuleTransition,C=L.RangeTransition,S=L.ActionTransition,z=L.EpsilonTransition,v=L.WildcardTransition,m=L.PredicateTransition,O=L.PrecedencePredicateTransition,b=n(4088).V,k=(n(4088).Interval,n(6477).W),_=n(7653),R=_.LexerActionType,U=_.LexerSkipAction,Y=_.LexerChannelAction,P=_.LexerCustomAction,Q=_.LexerMoreAction,B=_.LexerTypeAction,Z=_.LexerPushModeAction,G=_.LexerPopModeAction,F=_.LexerModeAction,H="AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",W="59627784-3BE5-417A-B9EB-8131A7286089",V=[H,W],X=3,J=W;function $(t,e){var n=[];return n[t-1]=e,n.map((function(t){return e}))}function K(t){return void 0!==t&&null!==t||(t=k.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null,this}function q(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}K.prototype.isFeatureSupported=function(t,e){var n=V.indexOf(t);if(n<0)return!1;var i=V.indexOf(e);return i>=n},K.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var n=[];return this.readSets(e,n,this.readInt.bind(this)),this.isFeatureSupported(W,this.uuid)&&this.readSets(e,n,this.readInt32.bind(this)),this.readEdges(e,n),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},K.prototype.reset=function(t){var e=function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65534},n=t.split("").map(e);n[0]=t.charCodeAt(0),this.data=n,this.pos=0},K.prototype.checkVersion=function(){var t=this.readInt();if(t!==X)throw"Could not deserialize ATN with version "+t+" (expected "+X+")."},K.prototype.checkUUID=function(){var t=this.readUUID();if(V.indexOf(t)<0)throw J;this.uuid=t},K.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new r(t,e)},K.prototype.readStates=function(t){for(var e,n,i,r=[],o=[],s=this.readInt(),u=0;u<s;u++){var c=this.readInt();if(c!==a.INVALID_TYPE){var M=this.readInt();65535===M&&(M=-1);var p=this.stateFactory(c,M);if(c===a.LOOP_END){var h=this.readInt();r.push([p,h])}else if(p instanceof l){var g=this.readInt();o.push([p,g])}t.addState(p)}else t.addState(null)}for(e=0;e<r.length;e++)n=r[e],n[0].loopBackState=t.states[n[1]];for(e=0;e<o.length;e++)n=o[e],n[0].endState=t.states[n[1]];var N=this.readInt();for(e=0;e<N;e++)i=this.readInt(),t.states[i].nonGreedy=!0;var D=this.readInt();for(e=0;e<D;e++)i=this.readInt(),t.states[i].isPrecedenceRule=!0},K.prototype.readRules=function(t){var e,n=this.readInt();for(t.grammarType===o.LEXER&&(t.ruleToTokenType=$(n,0)),t.ruleToStartState=$(n,0),e=0;e<n;e++){var r=this.readInt(),s=t.states[r];if(t.ruleToStartState[e]=s,t.grammarType===o.LEXER){var a=this.readInt();65535===a&&(a=i.EOF),t.ruleToTokenType[e]=a}}for(t.ruleToStopState=$(n,0),e=0;e<t.states.length;e++){var u=t.states[e];u instanceof g&&(t.ruleToStopState[u.ruleIndex]=u,t.ruleToStartState[u.ruleIndex].stopState=u)}},K.prototype.readModes=function(t){for(var e=this.readInt(),n=0;n<e;n++){var i=this.readInt();t.modeToStartState.push(t.states[i])}},K.prototype.readSets=function(t,e,n){for(var i=this.readInt(),r=0;r<i;r++){var o=new b;e.push(o);var s=this.readInt(),a=this.readInt();0!==a&&o.addOne(-1);for(var u=0;u<s;u++){var c=n(),l=n();o.addRange(c,l)}}},K.prototype.readEdges=function(t,e){var n,i,r,o,s,a=this.readInt();for(n=0;n<a;n++){var u=this.readInt(),c=this.readInt(),M=this.readInt(),p=this.readInt(),h=this.readInt(),g=this.readInt();o=this.edgeFactory(t,M,u,c,p,h,g,e);var N=t.states[u];N.addTransition(o)}for(n=0;n<t.states.length;n++)for(r=t.states[n],i=0;i<r.transitions.length;i++){var T=r.transitions[i];if(T instanceof A){var x=-1;t.ruleToStartState[T.target.ruleIndex].isPrecedenceRule&&0===T.precedence&&(x=T.target.ruleIndex),o=new z(T.followState,x),t.ruleToStopState[T.target.ruleIndex].addTransition(o)}}for(n=0;n<t.states.length;n++){if(r=t.states[n],r instanceof l){if(null===r.endState)throw"IllegalState";if(null!==r.endState.startState)throw"IllegalState";r.endState.startState=r}if(r instanceof D)for(i=0;i<r.transitions.length;i++)s=r.transitions[i].target,s instanceof d&&(s.loopBackState=r);else if(r instanceof I)for(i=0;i<r.transitions.length;i++)s=r.transitions[i].target,s instanceof y&&(s.loopBackState=r)}},K.prototype.readDecisions=function(t){for(var e=this.readInt(),n=0;n<e;n++){var i=this.readInt(),r=t.states[i];t.decisionToState.push(r),r.decision=n}},K.prototype.readLexerActions=function(t){if(t.grammarType===o.LEXER){var e=this.readInt();t.lexerActions=$(e,null);for(var n=0;n<e;n++){var i=this.readInt(),r=this.readInt();65535===r&&(r=-1);var s=this.readInt();65535===s&&(s=-1);var a=this.lexerActionFactory(i,r,s);t.lexerActions[n]=a}}},K.prototype.generateRuleBypassTransitions=function(t){var e,n=t.ruleToStartState.length;for(e=0;e<n;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<n;e++)this.generateRuleBypassTransition(t,e)},K.prototype.generateRuleBypassTransition=function(t,e){var n,i,r=new x;r.ruleIndex=e,t.addState(r);var o=new M;o.ruleIndex=e,t.addState(o),r.endState=o,t.defineDecisionState(r),o.startState=r;var s=null,a=null;if(t.ruleToStartState[e].isPrecedenceRule){for(a=null,n=0;n<t.states.length;n++)if(i=t.states[n],this.stateIsEndStateFor(i,e)){a=i,s=i.loopBackState.transitions[0];break}if(null===s)throw"Couldn't identify final state of the precedence rule prefix section."}else a=t.ruleToStopState[e];for(n=0;n<t.states.length;n++){i=t.states[n];for(var c=0;c<i.transitions.length;c++){var l=i.transitions[c];l!==s&&(l.target===a&&(l.target=o))}}var p=t.ruleToStartState[e],h=p.transitions.length;while(h>0)r.addTransition(p.transitions[h-1]),p.transitions=p.transitions.slice(-1);t.ruleToStartState[e].addTransition(new z(r)),o.addTransition(new z(a));var g=new u;t.addState(g),g.addTransition(new f(o,t.ruleToTokenType[e])),r.addTransition(new z(g))},K.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e)return null;if(!(t instanceof y))return null;var n=t.transitions[t.transitions.length-1].target;return n instanceof p&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof g?t:null},K.prototype.markPrecedenceDecisions=function(t){for(var e=0;e<t.states.length;e++){var n=t.states[e];if(n instanceof y&&t.ruleToStartState[n.ruleIndex].isPrecedenceRule){var i=n.transitions[n.transitions.length-1].target;i instanceof p&&i.epsilonOnlyTransitions&&i.transitions[0].target instanceof g&&(n.isPrecedenceDecision=!0)}}},K.prototype.verifyATN=function(t){if(this.deserializationOptions.verifyATN)for(var e=0;e<t.states.length;e++){var n=t.states[e];if(null!==n)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof d)this.checkCondition(null!==n.loopBackState);else if(n instanceof y)if(this.checkCondition(null!==n.loopBackState),this.checkCondition(2===n.transitions.length),n.transitions[0].target instanceof T)this.checkCondition(n.transitions[1].target instanceof p),this.checkCondition(!n.nonGreedy);else{if(!(n.transitions[0].target instanceof p))throw"IllegalState";this.checkCondition(n.transitions[1].target instanceof T),this.checkCondition(n.nonGreedy)}else n instanceof I?(this.checkCondition(1===n.transitions.length),this.checkCondition(n.transitions[0].target instanceof y)):n instanceof p?this.checkCondition(null!==n.loopBackState):n instanceof h?this.checkCondition(null!==n.stopState):n instanceof l?this.checkCondition(null!==n.endState):n instanceof M?this.checkCondition(null!==n.startState):n instanceof c?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof g)}},K.prototype.checkCondition=function(t,e){if(!t)throw void 0!==e&&null!==e||(e="IllegalState"),e},K.prototype.readInt=function(){return this.data[this.pos++]},K.prototype.readInt32=function(){var t=this.readInt(),e=this.readInt();return t|e<<16},K.prototype.readLong=function(){var t=this.readInt32(),e=this.readInt32();return 4294967295&t|e<<32};var tt=q();K.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var n=this.readInt();t[2*e+1]=255&n,t[2*e]=n>>8&255}return tt[t[0]]+tt[t[1]]+tt[t[2]]+tt[t[3]]+"-"+tt[t[4]]+tt[t[5]]+"-"+tt[t[6]]+tt[t[7]]+"-"+tt[t[8]]+tt[t[9]]+"-"+tt[t[10]]+tt[t[11]]+tt[t[12]]+tt[t[13]]+tt[t[14]]+tt[t[15]]},K.prototype.edgeFactory=function(t,e,n,r,o,s,a,u){var c=t.states[r];switch(e){case j.EPSILON:return new z(c);case j.RANGE:return new C(c,0!==a?i.EOF:o,s);case j.RULE:return new A(t.states[o],s,a,c);case j.PREDICATE:return new m(c,o,s,0!==a);case j.PRECEDENCE:return new O(c,o);case j.ATOM:return new f(c,0!==a?i.EOF:o);case j.ACTION:return new S(c,o,s,0!==a);case j.SET:return new w(c,u[o]);case j.NOT_SET:return new E(c,u[o]);case j.WILDCARD:return new v(c);default:throw"The specified transition type: "+e+" is not valid."}},K.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var n=[];n[a.INVALID_TYPE]=null,n[a.BASIC]=function(){return new u},n[a.RULE_START]=function(){return new h},n[a.BLOCK_START]=function(){return new x},n[a.PLUS_BLOCK_START]=function(){return new d},n[a.STAR_BLOCK_START]=function(){return new T},n[a.TOKEN_START]=function(){return new N},n[a.RULE_STOP]=function(){return new g},n[a.BLOCK_END]=function(){return new M},n[a.STAR_LOOP_BACK]=function(){return new I},n[a.STAR_LOOP_ENTRY]=function(){return new y},n[a.PLUS_LOOP_BACK]=function(){return new D},n[a.LOOP_END]=function(){return new p},this.stateFactories=n}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var i=this.stateFactories[t]();if(null!==i)return i.ruleIndex=e,i},K.prototype.lexerActionFactory=function(t,e,n){if(null===this.actionFactories){var i=[];i[R.CHANNEL]=function(t,e){return new Y(t)},i[R.CUSTOM]=function(t,e){return new P(t,e)},i[R.MODE]=function(t,e){return new F(t)},i[R.MORE]=function(t,e){return Q.INSTANCE},i[R.POP_MODE]=function(t,e){return G.INSTANCE},i[R.PUSH_MODE]=function(t,e){return new Z(t)},i[R.SKIP]=function(t,e){return U.INSTANCE},i[R.TYPE]=function(t,e){return new B(t)},this.actionFactories=i}if(t>this.actionFactories.length||null===this.actionFactories[t])throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,n)},e.ATNDeserializer=K},1332:(t,e,n)=>{var i=n(2603).B,r=n(8254).B,o=n(8758).getCachedPredictionContext,s=n(8561).Map;function a(t,e){return this.atn=t,this.sharedContextCache=e,this}a.ERROR=new i(2147483647,new r),a.prototype.getCachedContext=function(t){if(null===this.sharedContextCache)return t;var e=new s;return o(t,this.sharedContextCache,e)},e.f=a},9215:(t,e)=>{function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function i(){return n.call(this),this.stateType=n.BASIC,this}function r(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function o(){return r.call(this),this.endState=null,this}function s(){return o.call(this),this.stateType=n.BLOCK_START,this}function a(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function u(){return n.call(this),this.stateType=n.RULE_STOP,this}function c(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function l(){return r.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function M(){return o.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function p(){return o.call(this),this.stateType=n.STAR_BLOCK_START,this}function h(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function g(){return r.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function N(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function D(){return r.call(this),this.stateType=n.TOKEN_START,this}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,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(t){return t instanceof n&&this.stateNumber===t.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,r.prototype=Object.create(n.prototype),r.prototype.constructor=r,o.prototype=Object.create(r.prototype),o.prototype.constructor=o,s.prototype=Object.create(o.prototype),s.prototype.constructor=s,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,u.prototype=Object.create(n.prototype),u.prototype.constructor=u,c.prototype=Object.create(n.prototype),c.prototype.constructor=c,l.prototype=Object.create(r.prototype),l.prototype.constructor=l,M.prototype=Object.create(o.prototype),M.prototype.constructor=M,p.prototype=Object.create(o.prototype),p.prototype.constructor=p,h.prototype=Object.create(n.prototype),h.prototype.constructor=h,g.prototype=Object.create(r.prototype),g.prototype.constructor=g,N.prototype=Object.create(n.prototype),N.prototype.constructor=N,D.prototype=Object.create(r.prototype),D.prototype.constructor=D,e.ATNState=n,e.BasicState=i,e.DecisionState=r,e.BlockStartState=o,e.BlockEndState=a,e.LoopEndState=N,e.RuleStartState=c,e.RuleStopState=u,e.TokensStartState=D,e.PlusLoopbackState=l,e.StarLoopbackState=h,e.StarLoopEntryState=g,e.PlusBlockStartState=M,e.StarBlockStartState=p,e.BasicBlockStartState=s},1463:(t,e)=>{function n(){}n.LEXER=0,n.PARSER=1,e.n=n},5145:(t,e,n)=>{var i=n(5319).Token,r=n(4412).Lexer,o=n(3600).ATN,s=n(1332).f,a=n(2603).B,u=(n(8254).B,n(8254).s),c=n(8758).PredictionContext,l=n(8758).SingletonPredictionContext,M=n(9215).RuleStopState,p=n(3864).P,h=n(5099).Transition,g=n(5934).W,N=n(2874).LexerNoViableAltException;function D(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function I(){return D(this),this}function y(t,e,n,i){return s.call(this,e,i),this.decisionToDFA=n,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=r.DEFAULT_MODE,this.prevAccept=new I,this}I.prototype.reset=function(){D(this)},y.prototype=Object.create(s.prototype),y.prototype.constructor=y,y.debug=!1,y.dfa_debug=!1,y.MIN_DFA_EDGE=0,y.MAX_DFA_EDGE=127,y.match_calls=0,y.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},y.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var n=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var i=this.decisionToDFA[e];return null===i.s0?this.matchATN(t):this.execATN(t,i.s0)}finally{t.release(n)}},y.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=r.DEFAULT_MODE},y.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];y.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var n=this.mode,i=this.computeStartState(t,e),r=i.hasSemanticContext;i.hasSemanticContext=!1;var o=this.addDFAState(i);r||(this.decisionToDFA[this.mode].s0=o);var s=this.execATN(t,o);return y.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),s},y.prototype.execATN=function(t,e){y.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);var n=t.LA(1),r=e;while(1){y.debug&&console.log("execATN loop starting closure: "+r.configs);var o=this.getExistingTargetState(r,n);if(null===o&&(o=this.computeTargetState(t,r,n)),o===s.ERROR)break;if(n!==i.EOF&&this.consume(t),o.isAcceptState&&(this.captureSimState(this.prevAccept,t,o),n===i.EOF))break;n=t.LA(1),r=o}return this.failOrAccept(this.prevAccept,t,r.configs,n)},y.prototype.getExistingTargetState=function(t,e){if(null===t.edges||e<y.MIN_DFA_EDGE||e>y.MAX_DFA_EDGE)return null;var n=t.edges[e-y.MIN_DFA_EDGE];return void 0===n&&(n=null),y.debug&&null!==n&&console.log("reuse state "+t.stateNumber+" edge to "+n.stateNumber),n},y.prototype.computeTargetState=function(t,e,n){var i=new u;return this.getReachableConfigSet(t,e.configs,i,n),0===i.items.length?(i.hasSemanticContext||this.addDFAEdge(e,n,s.ERROR),s.ERROR):this.addDFAEdge(e,n,null,i)},y.prototype.failOrAccept=function(t,e,n,r){if(null!==this.prevAccept.dfaState){var o=t.dfaState.lexerActionExecutor;return this.accept(e,o,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(r===i.EOF&&e.index===this.startIndex)return i.EOF;throw new N(this.recog,e,this.startIndex,n)},y.prototype.getReachableConfigSet=function(t,e,n,r){for(var s=o.INVALID_ALT_NUMBER,a=0;a<e.items.length;a++){var u=e.items[a],c=u.alt===s;if(!c||!u.passedThroughNonGreedyDecision){y.debug&&console.log("testing %s at %s\n",this.getTokenName(r),u.toString(this.recog,!0));for(var l=0;l<u.state.transitions.length;l++){var M=u.state.transitions[l],h=this.getReachableTarget(M,r);if(null!==h){var g=u.lexerActionExecutor;null!==g&&(g=g.fixOffsetBeforeMatch(t.index-this.startIndex));var N=r===i.EOF,D=new p({state:h,lexerActionExecutor:g},u);this.closure(t,D,n,c,!0,N)&&(s=u.alt)}}}}},y.prototype.accept=function(t,e,n,i,r,o){y.debug&&console.log("ACTION %s\n",e),t.seek(i),this.line=r,this.column=o,null!==e&&null!==this.recog&&e.execute(this.recog,t,n)},y.prototype.getReachableTarget=function(t,e){return t.matches(e,0,r.MAX_CHAR_VALUE)?t.target:null},y.prototype.computeStartState=function(t,e){for(var n=c.EMPTY,i=new u,r=0;r<e.transitions.length;r++){var o=e.transitions[r].target,s=new p({state:o,alt:r+1,context:n},null);this.closure(t,s,i,!1,!1,!1)}return i},y.prototype.closure=function(t,e,n,i,r,o){var s=null;if(y.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof M){if(y.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[e.state.ruleIndex],e):console.log("closure at rule stop %s\n",e)),null===e.context||e.context.hasEmptyPath()){if(null===e.context||e.context.isEmpty())return n.add(e),!0;n.add(new p({state:e.state,context:c.EMPTY},e)),i=!0}if(null!==e.context&&!e.context.isEmpty())for(var a=0;a<e.context.length;a++)if(e.context.getReturnState(a)!==c.EMPTY_RETURN_STATE){var u=e.context.getParent(a),l=this.atn.states[e.context.getReturnState(a)];s=new p({state:l,context:u},e),i=this.closure(t,s,n,i,r,o)}return i}e.state.epsilonOnlyTransitions||i&&e.passedThroughNonGreedyDecision||n.add(e);for(var h=0;h<e.state.transitions.length;h++){var g=e.state.transitions[h];s=this.getEpsilonTarget(t,e,g,n,r,o),null!==s&&(i=this.closure(t,s,n,i,r,o))}return i},y.prototype.getEpsilonTarget=function(t,e,n,o,s,a){var u=null;if(n.serializationType===h.RULE){var c=l.create(e.context,n.followState.stateNumber);u=new p({state:n.target,context:c},e)}else{if(n.serializationType===h.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(n.serializationType===h.PREDICATE)y.debug&&console.log("EVAL rule "+n.ruleIndex+":"+n.predIndex),o.hasSemanticContext=!0,this.evaluatePredicate(t,n.ruleIndex,n.predIndex,s)&&(u=new p({state:n.target},e));else if(n.serializationType===h.ACTION)if(null===e.context||e.context.hasEmptyPath()){var M=g.append(e.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);u=new p({state:n.target,lexerActionExecutor:M},e)}else u=new p({state:n.target},e);else n.serializationType===h.EPSILON?u=new p({state:n.target},e):n.serializationType!==h.ATOM&&n.serializationType!==h.RANGE&&n.serializationType!==h.SET||a&&n.matches(i.EOF,0,r.MAX_CHAR_VALUE)&&(u=new p({state:n.target},e))}return u},y.prototype.evaluatePredicate=function(t,e,n,i){if(null===this.recog)return!0;if(!i)return this.recog.sempred(null,e,n);var r=this.column,o=this.line,s=t.index,a=t.mark();try{return this.consume(t),this.recog.sempred(null,e,n)}finally{this.column=r,this.line=o,t.seek(s),t.release(a)}},y.prototype.captureSimState=function(t,e,n){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=n},y.prototype.addDFAEdge=function(t,e,n,i){if(void 0===n&&(n=null),void 0===i&&(i=null),null===n&&null!==i){var r=i.hasSemanticContext;if(i.hasSemanticContext=!1,n=this.addDFAState(i),r)return n}return e<y.MIN_DFA_EDGE||e>y.MAX_DFA_EDGE||(y.debug&&console.log("EDGE "+t+" -> "+n+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-y.MIN_DFA_EDGE]=n),n},y.prototype.addDFAState=function(t){for(var e=new a(null,t),n=null,i=0;i<t.items.length;i++){var r=t.items[i];if(r.state instanceof M){n=r;break}}null!==n&&(e.isAcceptState=!0,e.lexerActionExecutor=n.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[n.state.ruleIndex]);var o=this.decisionToDFA[this.mode],s=o.states.get(e);if(null!==s)return s;var u=e;return u.stateNumber=o.states.length,t.setReadonly(!0),u.configs=t,o.states.add(u),u},y.prototype.getDFA=function(t){return this.decisionToDFA[t]},y.prototype.getText=function(t){return t.getText(this.startIndex,t.index-1)},y.prototype.consume=function(t){var e=t.LA(1);e==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()},y.prototype.getTokenName=function(t){return-1===t?"EOF":"'"+String.fromCharCode(t)+"'"},e.LexerATNSimulator=y},7653:(t,e)=>{function n(){}function i(t){return this.actionType=t,this.isPositionDependent=!1,this}function r(){return i.call(this,n.SKIP),this}function o(t){return i.call(this,n.TYPE),this.type=t,this}function s(t){return i.call(this,n.PUSH_MODE),this.mode=t,this}function a(){return i.call(this,n.POP_MODE),this}function u(){return i.call(this,n.MORE),this}function c(t){return i.call(this,n.MODE),this.mode=t,this}function l(t,e){return i.call(this,n.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0,this}function M(t){return i.call(this,n.CHANNEL),this.channel=t,this}function p(t,e){return i.call(this,e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0,this}n.CHANNEL=0,n.CUSTOM=1,n.MODE=2,n.MORE=3,n.POP_MODE=4,n.PUSH_MODE=5,n.SKIP=6,n.TYPE=7,i.prototype.hashCode=function(){var t=new Hash;return this.updateHashCode(t),t.finish()},i.prototype.updateHashCode=function(t){t.update(this.actionType)},i.prototype.equals=function(t){return this===t},r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.INSTANCE=new r,r.prototype.execute=function(t){t.skip()},r.prototype.toString=function(){return"skip"},o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.execute=function(t){t.type=this.type},o.prototype.updateHashCode=function(t){t.update(this.actionType,this.type)},o.prototype.equals=function(t){return this===t||t instanceof o&&this.type===t.type},o.prototype.toString=function(){return"type("+this.type+")"},s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.execute=function(t){t.pushMode(this.mode)},s.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.mode===t.mode},s.prototype.toString=function(){return"pushMode("+this.mode+")"},a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.INSTANCE=new a,a.prototype.execute=function(t){t.popMode()},a.prototype.toString=function(){return"popMode"},u.prototype=Object.create(i.prototype),u.prototype.constructor=u,u.INSTANCE=new u,u.prototype.execute=function(t){t.more()},u.prototype.toString=function(){return"more"},c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.prototype.execute=function(t){t.mode(this.mode)},c.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},c.prototype.equals=function(t){return this===t||t instanceof c&&this.mode===t.mode},c.prototype.toString=function(){return"mode("+this.mode+")"},l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.execute=function(t){t.action(null,this.ruleIndex,this.actionIndex)},l.prototype.updateHashCode=function(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)},l.prototype.equals=function(t){return this===t||t instanceof l&&(this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex)},M.prototype=Object.create(i.prototype),M.prototype.constructor=M,M.prototype.execute=function(t){t._channel=this.channel},M.prototype.updateHashCode=function(t){t.update(this.actionType,this.channel)},M.prototype.equals=function(t){return this===t||t instanceof M&&this.channel===t.channel},M.prototype.toString=function(){return"channel("+this.channel+")"},p.prototype=Object.create(i.prototype),p.prototype.constructor=p,p.prototype.execute=function(t){this.action.execute(t)},p.prototype.updateHashCode=function(t){t.update(this.actionType,this.offset,this.action)},p.prototype.equals=function(t){return this===t||t instanceof p&&(this.offset===t.offset&&this.action===t.action)},e.LexerActionType=n,e.LexerSkipAction=r,e.LexerChannelAction=M,e.LexerCustomAction=l,e.LexerIndexedCustomAction=p,e.LexerMoreAction=u,e.LexerTypeAction=o,e.LexerPushModeAction=s,e.LexerPopModeAction=a,e.LexerModeAction=c},5934:(t,e,n)=>{var i=n(8561).hashStuff,r=n(7653).LexerIndexedCustomAction;function o(t){return this.lexerActions=null===t?[]:t,this.cachedHashCode=i(t),this}o.append=function(t,e){if(null===t)return new o([e]);var n=t.lexerActions.concat([e]);return new o(n)},o.prototype.fixOffsetBeforeMatch=function(t){for(var e=null,n=0;n<this.lexerActions.length;n++)!this.lexerActions[n].isPositionDependent||this.lexerActions[n]instanceof r||(null===e&&(e=this.lexerActions.concat([])),e[n]=new r(t,this.lexerActions[n]));return null===e?this:new o(e)},o.prototype.execute=function(t,e,n){var i=!1,o=e.index;try{for(var s=0;s<this.lexerActions.length;s++){var a=this.lexerActions[s];if(a instanceof r){var u=a.offset;e.seek(n+u),a=a.action,i=n+u!==o}else a.isPositionDependent&&(e.seek(o),i=!1);a.execute(t)}}finally{i&&e.seek(o)}},o.prototype.hashCode=function(){return this.cachedHashCode},o.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},o.prototype.equals=function(t){if(this===t)return!0;if(t instanceof o){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;for(var e=this.lexerActions.length,n=0;n<e;++n)if(!this.lexerActions[n].equals(t.lexerActions[n]))return!1;return!0}return!1},e.W=o},1807:(t,e,n)=>{var i=n(8561),r=i.Set,o=i.BitSet,s=i.DoubleDict,a=n(3600).ATN,u=n(9215).ATNState,c=n(3864).m,l=n(8254).B,M=n(5319).Token,p=n(2603).B,h=n(2603).PredPrediction,g=n(1332).f,N=n(8895).PredictionMode,D=n(8738).r,I=(n(5082).ParserRuleContext,n(2105).dP),y=(n(9215).StarLoopEntryState,n(9215).RuleStopState),d=n(8758).PredictionContext,T=n(4088).Interval,x=n(5099),L=x.Transition,j=x.SetTransition,f=x.NotSetTransition,w=x.RuleTransition,E=x.ActionTransition,A=n(2874).NoViableAltException,C=n(8758).SingletonPredictionContext,S=n(8758).predictionContextFromRuleContext;function z(t,e,n,i){return g.call(this,e,i),this.parser=t,this.decisionToDFA=n,this.predictionMode=N.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}z.prototype=Object.create(g.prototype),z.prototype.constructor=z,z.prototype.debug=!1,z.prototype.debug_closure=!1,z.prototype.debug_add=!1,z.prototype.debug_list_atn_decisions=!1,z.prototype.dfa_debug=!1,z.prototype.retry_debug=!1,z.prototype.reset=function(){},z.prototype.adaptivePredict=function(t,e,n){(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=n;var i=this.decisionToDFA[e];this._dfa=i;var r=t.mark(),o=t.index;try{var s;if(s=i.precedenceDfa?i.getPrecedenceStartState(this.parser.getPrecedence()):i.s0,null===s){null===n&&(n=D.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+i.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+n.toString(this.parser.ruleNames));var a=!1,u=this.computeStartState(i.atnStartState,D.EMPTY,a);i.precedenceDfa?(i.s0.configs=u,u=this.applyPrecedenceFilter(u),s=this.addDFAState(i,new p(null,u)),i.setPrecedenceStartState(this.parser.getPrecedence(),s)):(s=this.addDFAState(i,new p(null,u)),i.s0=s)}var c=this.execATN(i,s,t,o,n);return this.debug&&console.log("DFA after predictATN: "+i.toString(this.parser.literalNames)),c}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(r)}},z.prototype.execATN=function(t,e,n,i,r){var o;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(n)+" line "+n.LT(1).line+":"+n.LT(1).column);var s=e;this.debug&&console.log("s0 = "+e);var u=n.LA(1);while(1){var c=this.getExistingTargetState(s,u);if(null===c&&(c=this.computeTargetState(t,s,u)),c===g.ERROR){var l=this.noViableAlt(n,r,s.configs,i);if(n.seek(i),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(s.configs,r),o!==a.INVALID_ALT_NUMBER)return o;throw l}if(c.requiresFullContext&&this.predictionMode!==N.SLL){var p=null;if(null!==c.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var h=n.index;if(h!==i&&n.seek(i),p=this.evalSemanticContext(c.predicates,r,!0),1===p.length)return this.debug&&console.log("Full LL avoided"),p.minValue();h!==i&&n.seek(h)}this.dfa_debug&&console.log("ctx sensitive state "+r+" in "+c);var D=!0,I=this.computeStartState(t.atnStartState,r,D);return this.reportAttemptingFullContext(t,p,c.configs,i,n.index),o=this.execATNWithFullContext(t,c,I,n,i,r),o}if(c.isAcceptState){if(null===c.predicates)return c.prediction;var y=n.index;n.seek(i);var d=this.evalSemanticContext(c.predicates,r,!0);if(0===d.length)throw this.noViableAlt(n,r,c.configs,i);return 1===d.length||this.reportAmbiguity(t,c,i,y,!1,d,c.configs),d.minValue()}s=c,u!==M.EOF&&(n.consume(),u=n.LA(1))}},z.prototype.getExistingTargetState=function(t,e){var n=t.edges;return null===n?null:n[e+1]||null},z.prototype.computeTargetState=function(t,e,n){var r=this.computeReachSet(e.configs,n,!1);if(null===r)return this.addDFAEdge(t,e,n,g.ERROR),g.ERROR;var o=new p(null,r),s=this.getUniqueAlt(r);if(this.debug){var u=N.getConflictingAltSubsets(r);console.log("SLL altSubSets="+i.arrayToString(u)+", previous="+e.configs+", configs="+r+", predict="+s+", allSubsetsConflict="+N.allSubsetsConflict(u)+", conflictingAlts="+this.getConflictingAlts(r))}return s!==a.INVALID_ALT_NUMBER?(o.isAcceptState=!0,o.configs.uniqueAlt=s,o.prediction=s):N.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(o.configs.conflictingAlts=this.getConflictingAlts(r),o.requiresFullContext=!0,o.isAcceptState=!0,o.prediction=o.configs.conflictingAlts.minValue()),o.isAcceptState&&o.configs.hasSemanticContext&&(this.predicateDFAState(o,this.atn.getDecisionState(t.decision)),null!==o.predicates&&(o.prediction=a.INVALID_ALT_NUMBER)),o=this.addDFAEdge(t,e,n,o),o},z.prototype.predicateDFAState=function(t,e){var n=e.transitions.length,i=this.getConflictingAltsOrUniqueAlt(t.configs),r=this.getPredsForAmbigAlts(i,t.configs,n);null!==r?(t.predicates=this.getPredicatePredictions(i,r),t.prediction=a.INVALID_ALT_NUMBER):t.prediction=i.minValue()},z.prototype.execATNWithFullContext=function(t,e,n,i,r,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+n);var s=!0,u=!1,c=null,l=n;i.seek(r);var p=i.LA(1),h=-1;while(1){if(c=this.computeReachSet(l,p,s),null===c){var g=this.noViableAlt(i,o,l,r);i.seek(r);var D=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(l,o);if(D!==a.INVALID_ALT_NUMBER)return D;throw g}var I=N.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+I+", predict="+N.getUniqueAlt(I)+", resolvesToJustOneViableAlt="+N.resolvesToJustOneViableAlt(I)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==a.INVALID_ALT_NUMBER){h=c.uniqueAlt;break}if(this.predictionMode!==N.LL_EXACT_AMBIG_DETECTION){if(h=N.resolvesToJustOneViableAlt(I),h!==a.INVALID_ALT_NUMBER)break}else if(N.allSubsetsConflict(I)&&N.allSubsetsEqual(I)){u=!0,h=N.getSingleViableAlt(I);break}l=c,p!==M.EOF&&(i.consume(),p=i.LA(1))}return c.uniqueAlt!==a.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,h,c,r,i.index),h):(this.reportAmbiguity(t,e,r,i.index,u,null,c),h)},z.prototype.computeReachSet=function(t,e,n){this.debug&&console.log("in computeReachSet, starting closure: "+t),null===this.mergeCache&&(this.mergeCache=new s);for(var i=new l(n),o=null,u=0;u<t.items.length;u++){var p=t.items[u];if(this.debug_add&&console.log("testing "+this.getTokenName(e)+" at "+p),p.state instanceof y)(n||e===M.EOF)&&(null===o&&(o=[]),o.push(p),this.debug_add&&console.log("added "+p+" to skippedStopStates"));else for(var h=0;h<p.state.transitions.length;h++){var g=p.state.transitions[h],D=this.getReachableTarget(g,e);if(null!==D){var I=new c({state:D},p);i.add(I,this.mergeCache),this.debug_add&&console.log("added "+I+" to intermediate")}}}var d=null;if(null===o&&e!==M.EOF&&(1===i.items.length||this.getUniqueAlt(i)!==a.INVALID_ALT_NUMBER)&&(d=i),null===d){d=new l(n);for(var T=new r,x=e===M.EOF,L=0;L<i.items.length;L++)this.closure(i.items[L],d,T,!1,n,x)}if(e===M.EOF&&(d=this.removeAllConfigsNotInRuleStopState(d,d===i)),null!==o&&(!n||!N.hasConfigInRuleStopState(d)))for(var j=0;j<o.length;j++)d.add(o[j],this.mergeCache);return 0===d.items.length?null:d},z.prototype.removeAllConfigsNotInRuleStopState=function(t,e){if(N.allConfigsInRuleStopStates(t))return t;for(var n=new l(t.fullCtx),i=0;i<t.items.length;i++){var r=t.items[i];if(r.state instanceof y)n.add(r,this.mergeCache);else if(e&&r.state.epsilonOnlyTransitions){var o=this.atn.nextTokens(r.state);if(o.contains(M.EPSILON)){var s=this.atn.ruleToStopState[r.state.ruleIndex];n.add(new c({state:s},r),this.mergeCache)}}}return n},z.prototype.computeStartState=function(t,e,n){for(var i=S(this.atn,e),o=new l(n),s=0;s<t.transitions.length;s++){var a=t.transitions[s].target,u=new c({state:a,alt:s+1,context:i},null),M=new r;this.closure(u,o,M,!0,n,!1)}return o},z.prototype.applyPrecedenceFilter=function(t){for(var e,n=[],i=new l(t.fullCtx),r=0;r<t.items.length;r++)if(e=t.items[r],1===e.alt){var o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==o&&(n[e.state.stateNumber]=e.context,o!==e.semanticContext?i.add(new c({semanticContext:o},e),this.mergeCache):i.add(e,this.mergeCache))}for(r=0;r<t.items.length;r++)if(e=t.items[r],1!==e.alt){if(!e.precedenceFilterSuppressed){var s=n[e.state.stateNumber]||null;if(null!==s&&s.equals(e.context))continue}i.add(e,this.mergeCache)}return i},z.prototype.getReachableTarget=function(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null},z.prototype.getPredsForAmbigAlts=function(t,e,n){for(var r=[],o=0;o<e.items.length;o++){var s=e.items[o];t.contains(s.alt)&&(r[s.alt]=I.orContext(r[s.alt]||null,s.semanticContext))}var a=0;for(o=1;o<n+1;o++){var u=r[o]||null;null===u?r[o]=I.NONE:u!==I.NONE&&(a+=1)}return 0===a&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+i.arrayToString(r)),r},z.prototype.getPredicatePredictions=function(t,e){for(var n=[],i=!1,r=1;r<e.length;r++){var o=e[r];null!==t&&t.contains(r)&&n.push(new h(o,r)),o!==I.NONE&&(i=!0)}return i?n:null},z.prototype.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule=function(t,e){var n=this.splitAccordingToSemanticValidity(t,e),i=n[0],r=n[1],o=this.getAltThatFinishedDecisionEntryRule(i);return o!==a.INVALID_ALT_NUMBER||r.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(r),o!==a.INVALID_ALT_NUMBER)?o:a.INVALID_ALT_NUMBER},z.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],n=0;n<t.items.length;n++){var i=t.items[n];(i.reachesIntoOuterContext>0||i.state instanceof y&&i.context.hasEmptyPath())&&e.indexOf(i.alt)<0&&e.push(i.alt)}return 0===e.length?a.INVALID_ALT_NUMBER:Math.min.apply(null,e)},z.prototype.splitAccordingToSemanticValidity=function(t,e){for(var n=new l(t.fullCtx),i=new l(t.fullCtx),r=0;r<t.items.length;r++){var o=t.items[r];if(o.semanticContext!==I.NONE){var s=o.semanticContext.evaluate(this.parser,e);s?n.add(o):i.add(o)}else n.add(o)}return[n,i]},z.prototype.evalSemanticContext=function(t,e,n){for(var i=new o,r=0;r<t.length;r++){var s=t[r];if(s.pred!==I.NONE){var a=s.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+s+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+s.alt),i.add(s.alt),!n))break}else if(i.add(s.alt),!n)break}return i},z.prototype.closure=function(t,e,n,i,r,o){var s=0;this.closureCheckingStopState(t,e,n,i,r,s,o)},z.prototype.closureCheckingStopState=function(t,e,n,i,r,o,s){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof y){if(!t.context.isEmpty()){for(var a=0;a<t.context.length;a++)if(t.context.getReturnState(a)!==d.EMPTY_RETURN_STATE){var u=this.atn.states[t.context.getReturnState(a)],l=t.context.getParent(a),M={state:u,alt:t.alt,context:l,semanticContext:t.semanticContext},p=new c(M,null);p.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(p,e,n,i,r,o-1,s)}else{if(r){e.add(new c({state:t.state,context:d.EMPTY},t),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,n,i,r,o,s)}return}if(r)return void e.add(t,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}this.closure_(t,e,n,i,r,o,s)},z.prototype.closure_=function(t,e,n,i,r,o,s){var a=t.state;a.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(var u=0;u<a.transitions.length;u++)if(0!=u||!this.canDropLoopEntryEdgeInLeftRecursiveRule(t)){var c=a.transitions[u],l=i&&!(c instanceof E),M=this.getEpsilonTarget(t,c,l,0===o,r,s);if(null!==M){var p=o;if(t.state instanceof y){if(null!==this._dfa&&this._dfa.precedenceDfa&&c.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(M.precedenceFilterSuppressed=!0),M.reachesIntoOuterContext+=1,n.add(M)!==M)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+M)}else{if(!c.isEpsilon&&n.add(M)!==M)continue;c instanceof w&&p>=0&&(p+=1)}this.closureCheckingStopState(M,e,n,l,r,p,s)}}},z.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=u.STAR_LOOP_ENTRY)return!1;if(e.stateType!=u.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var n=t.context.length,i=0;i<n;i++){var r=this.atn.states[t.context.getReturnState(i)];if(r.ruleIndex!=e.ruleIndex)return!1}var o=e.transitions[0].target,s=o.endState.stateNumber,a=this.atn.states[s];for(i=0;i<n;i++){var c=t.context.getReturnState(i);r=this.atn.states[c];if(1!=r.transitions.length||!r.transitions[0].isEpsilon)return!1;var l=r.transitions[0].target;if((r.stateType!=u.BLOCK_END||l!=e)&&(r!=a&&l!=a&&(l.stateType!=u.BLOCK_END||1!=l.transitions.length||!l.transitions[0].isEpsilon||l.transitions[0].target!=e)))return!1}return!0},z.prototype.getRuleName=function(t){return null!==this.parser&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"},z.prototype.getEpsilonTarget=function(t,e,n,i,r,o){switch(e.serializationType){case L.RULE:return this.ruleTransition(t,e);case L.PRECEDENCE:return this.precedenceTransition(t,e,n,i,r);case L.PREDICATE:return this.predTransition(t,e,n,i,r);case L.ACTION:return this.actionTransition(t,e);case L.EPSILON:return new c({state:e.target},t);case L.ATOM:case L.RANGE:case L.SET:return o&&e.matches(M.EOF,0,1)?new c({state:e.target},t):null;default:return null}},z.prototype.actionTransition=function(t,e){if(this.debug){var n=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+n)}return new c({state:e.target},t)},z.prototype.precedenceTransition=function(t,e,n,r,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(n&&r)if(o){var a=this._input.index;this._input.seek(this._startIndex);var u=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),u&&(s=new c({state:e.target},t))}else{var l=I.andContext(t.semanticContext,e.getPredicate());s=new c({state:e.target,semanticContext:l},t)}else s=new c({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},z.prototype.predTransition=function(t,e,n,r,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(n&&(e.isCtxDependent&&r||!e.isCtxDependent))if(o){var a=this._input.index;this._input.seek(this._startIndex);var u=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),u&&(s=new c({state:e.target},t))}else{var l=I.andContext(t.semanticContext,e.getPredicate());s=new c({state:e.target,semanticContext:l},t)}else s=new c({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},z.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var n=e.followState,i=C.create(t.context,n.stateNumber);return new c({state:e.target,context:i},t)},z.prototype.getConflictingAlts=function(t){var e=N.getConflictingAltSubsets(t);return N.getAlts(e)},z.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==a.INVALID_ALT_NUMBER?(e=new o,e.add(t.uniqueAlt)):e=t.conflictingAlts,e},z.prototype.getTokenName=function(t){if(t===M.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)){var e=this.parser.literalNames[t]||this.parser.symbolicNames[t];return e+"<"+t+">"}console.log(t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},z.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},z.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),n=0;n<e.length;n++){var i=e[n],r="no edges";if(i.state.transitions.length>0){var o=i.state.transitions[0];if(o instanceof AtomTransition)r="Atom "+this.getTokenName(o.label);else if(o instanceof j){var s=o instanceof f;r=(s?"~":"")+"Set "+o.set}}console.error(i.toString(this.parser,!0)+":"+r)}},z.prototype.noViableAlt=function(t,e,n,i){return new A(this.parser,t,t.get(i),t.LT(1),n,e)},z.prototype.getUniqueAlt=function(t){for(var e=a.INVALID_ALT_NUMBER,n=0;n<t.items.length;n++){var i=t.items[n];if(e===a.INVALID_ALT_NUMBER)e=i.alt;else if(i.alt!==e)return a.INVALID_ALT_NUMBER}return e},z.prototype.addDFAEdge=function(t,e,n,i){if(this.debug&&console.log("EDGE "+e+" -> "+i+" upon "+this.getTokenName(n)),null===i)return null;if(i=this.addDFAState(t,i),null===e||n<-1||n>this.atn.maxTokenType)return i;if(null===e.edges&&(e.edges=[]),e.edges[n+1]=i,this.debug){var r=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(r,o))}return i},z.prototype.addDFAState=function(t,e){if(e==g.ERROR)return e;var n=t.states.get(e);return null!==n?n:(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)},z.prototype.reportAttemptingFullContext=function(t,e,n,i,r){if(this.debug||this.retry_debug){var o=new T(i,r+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,i,r,e,n)},z.prototype.reportContextSensitivity=function(t,e,n,i,r){if(this.debug||this.retry_debug){var o=new T(i,r+1);console.log("reportContextSensitivity decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,i,r,e,n)},z.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){if(this.debug||this.retry_debug){var a=new T(n,i+1);console.log("reportAmbiguity "+o+":"+s+", input="+this.parser.getTokenStream().getText(a))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,n,i,r,o,s)},e.ParserATNSimulator=z},8895:(t,e,n)=>{n(8561).Set;var i=n(8561).Map,r=n(8561).BitSet,o=n(8561).AltDict,s=n(3600).ATN,a=n(9215).RuleStopState,u=n(8254).B,c=n(3864).m,l=n(2105).dP,M=(n(8561).Hash,n(8561).hashStuff);n(8561).equalArrays;function p(){return this}p.SLL=0,p.LL=1,p.LL_EXACT_AMBIG_DETECTION=2,p.hasSLLConflictTerminatingPrediction=function(t,e){if(p.allConfigsInRuleStopStates(e))return!0;if(t===p.SLL&&e.hasSemanticContext){for(var n=new u,i=0;i<e.items.length;i++){var r=e.items[i];r=new c({semanticContext:l.NONE},r),n.add(r)}e=n}var o=p.getConflictingAltSubsets(e);return p.hasConflictingAltSet(o)&&!p.hasStateAssociatedWithOneAlt(e)},p.hasConfigInRuleStopState=function(t){for(var e=0;e<t.items.length;e++){var n=t.items[e];if(n.state instanceof a)return!0}return!1},p.allConfigsInRuleStopStates=function(t){for(var e=0;e<t.items.length;e++){var n=t.items[e];if(!(n.state instanceof a))return!1}return!0},p.resolvesToJustOneViableAlt=function(t){return p.getSingleViableAlt(t)},p.allSubsetsConflict=function(t){return!p.hasNonConflictingAltSet(t)},p.hasNonConflictingAltSet=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.length)return!0}return!1},p.hasConflictingAltSet=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.length>1)return!0}return!1},p.allSubsetsEqual=function(t){for(var e=null,n=0;n<t.length;n++){var i=t[n];if(null===e)e=i;else if(i!==e)return!1}return!0},p.getUniqueAlt=function(t){var e=p.getAlts(t);return 1===e.length?e.minValue():s.INVALID_ALT_NUMBER},p.getAlts=function(t){var e=new r;return t.map((function(t){e.or(t)})),e},p.getConflictingAltSubsets=function(t){var e=new i;return e.hashFunction=function(t){M(t.state.stateNumber,t.context)},e.equalsFunction=function(t,e){return t.state.stateNumber==e.state.stateNumber&&t.context.equals(e.context)},t.items.map((function(t){var n=e.get(t);null===n&&(n=new r,e.put(t,n)),n.add(t.alt)})),e.getValues()},p.getStateToAltMap=function(t){var e=new o;return t.items.map((function(t){var n=e.get(t.state);null===n&&(n=new r,e.put(t.state,n)),n.add(t.alt)})),e},p.hasStateAssociatedWithOneAlt=function(t){for(var e=p.getStateToAltMap(t).values(),n=0;n<e.length;n++)if(1===e[n].length)return!0;return!1},p.getSingleViableAlt=function(t){for(var e=null,n=0;n<t.length;n++){var i=t[n],r=i.minValue();if(null===e)e=r;else if(e!==r)return s.INVALID_ALT_NUMBER}return e},e.PredictionMode=p},2105:(t,e,n)=>{var i=n(8561).Set,r=n(8561).Hash;function o(){return this}function s(t,e,n){return o.call(this),this.ruleIndex=void 0===t?-1:t,this.predIndex=void 0===e?-1:e,this.isCtxDependent=void 0!==n&&n,this}function a(t){o.call(this),this.precedence=void 0===t?0:t}function u(t,e){o.call(this);var n=new i;t instanceof u?t.opnds.map((function(t){n.add(t)})):n.add(t),e instanceof u?e.opnds.map((function(t){n.add(t)})):n.add(e);var r=a.filterPrecedencePredicates(n);if(r.length>0){var s=null;r.map((function(t){(null===s||t.precedence<s.precedence)&&(s=t)})),n.add(s)}return this.opnds=n.values(),this}function c(t,e){o.call(this);var n=new i;t instanceof c?t.opnds.map((function(t){n.add(t)})):n.add(t),e instanceof c?e.opnds.map((function(t){n.add(t)})):n.add(e);var r=a.filterPrecedencePredicates(n);if(r.length>0){var s=r.sort((function(t,e){return t.compareTo(e)})),u=s[s.length-1];n.add(u)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},o.prototype.evaluate=function(t,e){},o.prototype.evalPrecedence=function(t,e){return this},o.andContext=function(t,e){if(null===t||t===o.NONE)return e;if(null===e||e===o.NONE)return t;var n=new u(t,e);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===o.NONE||e===o.NONE)return o.NONE;var n=new c(t,e);return 1===n.opnds.length?n.opnds[0]:n},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,o.NONE=new s,s.prototype.evaluate=function(t,e){var n=this.isCtxDependent?e:null;return t.sempred(n,this.ruleIndex,this.predIndex)},s.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},s.prototype.equals=function(t){return this===t||t instanceof s&&(this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent)},s.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},a.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?o.NONE:null},a.prototype.compareTo=function(t){return this.precedence-t.precedence},a.prototype.updateHashCode=function(t){t.update(31)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.precedence===t.precedence},a.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},a.filterPrecedencePredicates=function(t){var e=[];return t.values().map((function(t){t instanceof a&&e.push(t)})),e},u.prototype=Object.create(o.prototype),u.prototype.constructor=u,u.prototype.equals=function(t){return this===t||t instanceof u&&this.opnds===t.opnds},u.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},u.prototype.evaluate=function(t,e){for(var n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(t,e))return!1;return!0},u.prototype.evalPrecedence=function(t,e){for(var n=!1,i=[],r=0;r<this.opnds.length;r++){var s=this.opnds[r],a=s.evalPrecedence(t,e);if(n|=a!==s,null===a)return null;a!==o.NONE&&i.push(a)}if(!n)return this;if(0===i.length)return o.NONE;var u=null;return i.map((function(t){u=null===u?t:o.andContext(u,t)})),u},u.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="&& "+e.toString()})),t.length>3?t.slice(3):t},c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.constructor=function(t){return this===t||t instanceof c&&this.opnds===t.opnds},c.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},c.prototype.evaluate=function(t,e){for(var n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(t,e))return!0;return!1},c.prototype.evalPrecedence=function(t,e){for(var n=!1,i=[],r=0;r<this.opnds.length;r++){var s=this.opnds[r],a=s.evalPrecedence(t,e);if(n|=a!==s,a===o.NONE)return o.NONE;null!==a&&i.push(a)}if(!n)return this;if(0===i.length)return null;var u=null;return i.map((function(t){return null===u?t:o.orContext(u,t)})),u},c.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="|| "+e.toString()})),t.length>3?t.slice(3):t},e.dP=o,e.u5=a,e.$G=s},5099:(t,e,n)=>{var i=n(5319).Token,r=(n(4088).Interval,n(4088).V),o=n(2105).$G,s=n(2105).u5;function a(t){if(void 0===t||null===t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function u(t,e){return a.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=a.ATOM,this}function c(t,e,n,i){return a.call(this,t),this.ruleIndex=e,this.precedence=n,this.followState=i,this.serializationType=a.RULE,this.isEpsilon=!0,this}function l(t,e){return a.call(this,t),this.serializationType=a.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function M(t,e,n){return a.call(this,t),this.serializationType=a.RANGE,this.start=e,this.stop=n,this.label=this.makeLabel(),this}function p(t){return a.call(this,t),this}function h(t,e,n,i){return p.call(this,t),this.serializationType=a.PREDICATE,this.ruleIndex=e,this.predIndex=n,this.isCtxDependent=i,this.isEpsilon=!0,this}function g(t,e,n,i){return a.call(this,t),this.serializationType=a.ACTION,this.ruleIndex=e,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==i&&i,this.isEpsilon=!0,this}function N(t,e){return a.call(this,t),this.serializationType=a.SET,void 0!==e&&null!==e?this.label=e:(this.label=new r,this.label.addOne(i.INVALID_TYPE)),this}function D(t,e){return N.call(this,t,e),this.serializationType=a.NOT_SET,this}function I(t){return a.call(this,t),this.serializationType=a.WILDCARD,this}function y(t,e){return p.call(this,t),this.serializationType=a.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}a.EPSILON=1,a.RANGE=2,a.RULE=3,a.PREDICATE=4,a.ATOM=5,a.ACTION=6,a.SET=7,a.NOT_SET=8,a.WILDCARD=9,a.PRECEDENCE=10,a.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],a.serializationTypes={EpsilonTransition:a.EPSILON,RangeTransition:a.RANGE,RuleTransition:a.RULE,PredicateTransition:a.PREDICATE,AtomTransition:a.ATOM,ActionTransition:a.ACTION,SetTransition:a.SET,NotSetTransition:a.NOT_SET,WildcardTransition:a.WILDCARD,PrecedencePredicateTransition:a.PRECEDENCE},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.makeLabel=function(){var t=new r;return t.addOne(this.label_),t},u.prototype.matches=function(t,e,n){return this.label_===t},u.prototype.toString=function(){return this.label_},c.prototype=Object.create(a.prototype),c.prototype.constructor=c,c.prototype.matches=function(t,e,n){return!1},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.matches=function(t,e,n){return!1},l.prototype.toString=function(){return"epsilon"},M.prototype=Object.create(a.prototype),M.prototype.constructor=M,M.prototype.makeLabel=function(){var t=new r;return t.addRange(this.start,this.stop),t},M.prototype.matches=function(t,e,n){return t>=this.start&&t<=this.stop},M.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},p.prototype=Object.create(a.prototype),p.prototype.constructor=p,h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.prototype.matches=function(t,e,n){return!1},h.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},h.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},g.prototype=Object.create(a.prototype),g.prototype.constructor=g,g.prototype.matches=function(t,e,n){return!1},g.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},N.prototype=Object.create(a.prototype),N.prototype.constructor=N,N.prototype.matches=function(t,e,n){return this.label.contains(t)},N.prototype.toString=function(){return this.label.toString()},D.prototype=Object.create(N.prototype),D.prototype.constructor=D,D.prototype.matches=function(t,e,n){return t>=e&&t<=n&&!N.prototype.matches.call(this,t,e,n)},D.prototype.toString=function(){return"~"+N.prototype.toString.call(this)},I.prototype=Object.create(a.prototype),I.prototype.constructor=I,I.prototype.matches=function(t,e,n){return t>=e&&t<=n},I.prototype.toString=function(){return"."},y.prototype=Object.create(p.prototype),y.prototype.constructor=y,y.prototype.matches=function(t,e,n){return!1},y.prototype.getPredicate=function(){return new s(this.precedence)},y.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=a,e.AtomTransition=u,e.SetTransition=N,e.NotSetTransition=D,e.RuleTransition=c,e.ActionTransition=g,e.EpsilonTransition=l,e.RangeTransition=M,e.WildcardTransition=I,e.PredicateTransition=h,e.PrecedencePredicateTransition=y,e.AbstractPredicateTransition=p},9548:(t,e,n)=>{e.ATN=n(3600).ATN,e.ATNDeserializer=n(8833).ATNDeserializer,e.LexerATNSimulator=n(5145).LexerATNSimulator,e.ParserATNSimulator=n(1807).ParserATNSimulator,e.PredictionMode=n(8895).PredictionMode},4878:(t,e,n)=>{var i=n(8561).Set,r=n(2603).B,o=n(9215).StarLoopEntryState,s=n(8254).B,a=n(6336).DFASerializer,u=n(6336).LexerDFASerializer;function c(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new i,this.s0=null,this.precedenceDfa=!1,t instanceof o&&t.isPrecedenceDecision){this.precedenceDfa=!0;var n=new r(null,new s);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}c.prototype.getPrecedenceStartState=function(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},c.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},c.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new r(null,new s);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(c.prototype,"states",{get:function(){return this._states}}),c.prototype.sortedStates=function(){var t=this._states.values();return t.sort((function(t,e){return t.stateNumber-e.stateNumber}))},c.prototype.toString=function(t,e){if(t=t||null,e=e||null,null===this.s0)return"";var n=new a(this,t,e);return n.toString()},c.prototype.toLexerString=function(){if(null===this.s0)return"";var t=new u(this);return t.toString()},e.DFA=c},6336:(t,e)=>{function n(t,e,n){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=n||[],this}function i(t){return n.call(this,t,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),n=0;n<e.length;n++){var i=e[n];if(null!==i.edges)for(var r=i.edges.length,o=0;o<r;o++){var s=i.edges[o]||null;null!==s&&2147483647!==s.stateNumber&&(t=t.concat(this.getStateString(i)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(s)),t=t.concat("\n"))}}return 0===t.length?null:t},n.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},n.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=n,e.LexerDFASerializer=i},2603:(t,e,n)=>{var i=n(8254).B,r=n(8561),o=r.Hash,s=r.Set;function a(t,e){return this.alt=e,this.pred=t,this}function u(t,e){return null===t&&(t=-1),null===e&&(e=new i),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}a.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},u.prototype.getAltSet=function(){var t=new s;if(null!==this.configs)for(var e=0;e<this.configs.length;e++){var n=this.configs[e];t.add(n.alt)}return 0===t.length?null:t},u.prototype.equals=function(t){return this===t||t instanceof u&&this.configs.equals(t.configs)},u.prototype.toString=function(){var t=this.stateNumber+":"+this.configs;return this.isAcceptState&&(t+="=>",null!==this.predicates?t+=this.predicates:t+=this.prediction),t},u.prototype.hashCode=function(){var t=new o;return t.update(this.configs),t.finish()},e.B=u,e.PredPrediction=a},5224:(t,e,n)=>{e.DFA=n(4878).DFA,e.DFASerializer=n(6336).DFASerializer,e.LexerDFASerializer=n(6336).LexerDFASerializer,e.PredPrediction=n(2603).PredPrediction},1574:(t,e,n)=>{var i=n(8561).BitSet,r=n(5827).ErrorListener,o=n(4088).Interval;function s(t){return r.call(this),t=t||!0,this.exactOnly=t,this}s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.prototype.reportAmbiguity=function(t,e,n,i,r,s,a){if(!this.exactOnly||r){var u="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(s,a)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(u)}},s.prototype.reportAttemptingFullContext=function(t,e,n,i,r,s){var a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(a)},s.prototype.reportContextSensitivity=function(t,e,n,i,r,s){var a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(a)},s.prototype.getDecisionDescription=function(t,e){var n=e.decision,i=e.atnStartState.ruleIndex,r=t.ruleNames;if(i<0||i>=r.length)return""+n;var o=r[i]||null;return null===o||0===o.length?""+n:n+" ("+o+")"},s.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var n=new i,r=0;r<e.items.length;r++)n.add(e.items[r].alt);return"{"+n.values().join(", ")+"}"},e.DiagnosticErrorListener=s},5827:(t,e)=>{function n(){return this}function i(){return n.call(this),this}function r(t){if(n.call(this),null===t)throw"delegates";return this.delegates=t,this}n.prototype.syntaxError=function(t,e,n,i,r,o){},n.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){},n.prototype.reportAttemptingFullContext=function(t,e,n,i,r,o){},n.prototype.reportContextSensitivity=function(t,e,n,i,r,o){},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.syntaxError=function(t,e,n,i,r,o){console.error("line "+n+":"+i+" "+r)},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.syntaxError=function(t,e,n,i,r,o){this.delegates.map((function(s){s.syntaxError(t,e,n,i,r,o)}))},r.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){this.delegates.map((function(a){a.reportAmbiguity(t,e,n,i,r,o,s)}))},r.prototype.reportAttemptingFullContext=function(t,e,n,i,r,o){this.delegates.map((function(s){s.reportAttemptingFullContext(t,e,n,i,r,o)}))},r.prototype.reportContextSensitivity=function(t,e,n,i,r,o){this.delegates.map((function(s){s.reportContextSensitivity(t,e,n,i,r,o)}))},e.ErrorListener=n,e.s=i,e.N=r},1080:(t,e,n)=>{var i=n(5319).Token,r=n(2874),o=r.NoViableAltException,s=r.InputMismatchException,a=r.FailedPredicateException,u=r.ParseCancellationException,c=n(9215).ATNState,l=n(4088).Interval,M=n(4088).V;function p(){}function h(){return p.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function g(){return h.call(this),this}p.prototype.reset=function(t){},p.prototype.recoverInline=function(t){},p.prototype.recover=function(t,e){},p.prototype.sync=function(t){},p.prototype.inErrorRecoveryMode=function(t){},p.prototype.reportError=function(t){},h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.prototype.reset=function(t){this.endErrorCondition(t)},h.prototype.beginErrorCondition=function(t){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(t){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(t){this.endErrorCondition(t)},h.prototype.reportError=function(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof o?this.reportNoViableAlternative(t,e):e instanceof s?this.reportInputMismatch(t,e):e instanceof a?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))},h.prototype.recover=function(t,e){this.lastErrorIndex===t.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var n=this.getErrorRecoverySet(t);this.consumeUntil(t,n)},h.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],n=t.getTokenStream().LA(1),r=t.atn.nextTokens(e);if(!r.contains(i.EPSILON)&&!r.contains(n))switch(e.stateType){case c.BLOCK_START:case c.STAR_BLOCK_START:case c.PLUS_BLOCK_START:case c.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new s(t);case c.PLUS_LOOP_BACK:case c.STAR_LOOP_BACK:this.reportUnwantedToken(t);var o=new M;o.addSet(t.getExpectedTokens());var a=o.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,a);break;default:}}},h.prototype.reportNoViableAlternative=function(t,e){var n,r=t.getTokenStream();n=null!==r?e.startToken.type===i.EOF?"<EOF>":r.getText(new l(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"<unknown input>";var o="no viable alternative at input "+this.escapeWSAndQuote(n);t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportInputMismatch=function(t,e){var n="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e.offendingToken,e)},h.prototype.reportFailedPredicate=function(t,e){var n=t.ruleNames[t._ctx.ruleIndex],i="rule "+n+" "+e.message;t.notifyErrorListeners(i,e.offendingToken,e)},h.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n=this.getTokenErrorDisplay(e),i=this.getExpectedTokens(t),r="extraneous input "+n+" expecting "+i.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e,null)}},h.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n=this.getExpectedTokens(t),i="missing "+n.toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(i,e,null)}},h.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new s(t)},h.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),n=t._interp.atn,i=n.states[t.state],r=i.transitions[0].target,o=n.nextTokens(r,t._ctx);return!!o.contains(e)&&(this.reportMissingToken(t),!0)},h.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2),n=this.getExpectedTokens(t);if(n.contains(e)){this.reportUnwantedToken(t),t.consume();var i=t.getCurrentToken();return this.reportMatch(t),i}return null},h.prototype.getMissingSymbol=function(t){var e,n=t.getCurrentToken(),r=this.getExpectedTokens(t),o=r.first();e=o===i.EOF?"<missing EOF>":"<missing "+t.literalNames[o]+">";var s=n,a=t.getTokenStream().LT(-1);return s.type===i.EOF&&null!==a&&(s=a),t.getTokenFactory().create(s.source,o,e,i.DEFAULT_CHANNEL,-1,-1,s.line,s.column)},h.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),this.escapeWSAndQuote(e)},h.prototype.escapeWSAndQuote=function(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"},h.prototype.getErrorRecoverySet=function(t){var e=t._interp.atn,n=t._ctx,r=new M;while(null!==n&&n.invokingState>=0){var o=e.states[n.invokingState],s=o.transitions[0],a=e.nextTokens(s.followState);r.addSet(a),n=n.parentCtx}return r.removeOne(i.EPSILON),r},h.prototype.consumeUntil=function(t,e){var n=t.getTokenStream().LA(1);while(n!==i.EOF&&!e.contains(n))t.consume(),n=t.getTokenStream().LA(1)},g.prototype=Object.create(h.prototype),g.prototype.constructor=g,g.prototype.recover=function(t,e){var n=t._ctx;while(null!==n)n.exception=e,n=n.parentCtx;throw new u(e)},g.prototype.recoverInline=function(t){this.recover(t,new s(t))},g.prototype.sync=function(t){},e.BailErrorStrategy=g,e.t=h},2874:(t,e,n)=>{var i=n(5099).PredicateTransition;function r(t){if(Error.call(this),Error.captureStackTrace)Error.captureStackTrace(this,r);else(new Error).stack;return this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function o(t,e,n,i){return r.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=n,this.deadEndConfigs=i,this}function s(t,e,n,i,o,s){s=s||t._ctx,i=i||t.getCurrentToken(),n=n||t.getCurrentToken(),e=e||t.getInputStream(),r.call(this,{message:"",recognizer:t,input:e,ctx:s}),this.deadEndConfigs=o,this.startToken=n,this.offendingToken=i}function a(t){r.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function u(t,e,n){r.call(this,{message:this.formatMessage(e,n||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var o=t._interp.atn.states[t.state],s=o.transitions[0];return s instanceof i?(this.ruleIndex=s.ruleIndex,this.predicateIndex=s.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function c(){return Error.call(this),Error.captureStackTrace(this,c),this}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},r.prototype.toString=function(){return this.message},o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText((this.startIndex,this.startIndex))),"LexerNoViableAltException"+t},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,a.prototype=Object.create(r.prototype),a.prototype.constructor=a,u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.formatMessage=function(t,e){return null!==e?e:"failed predicate: {"+t+"}?"},c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,e.RecognitionException=r,e.NoViableAltException=s,e.LexerNoViableAltException=o,e.InputMismatchException=a,e.FailedPredicateException=u,e.ParseCancellationException=c},7423:(t,e,n)=>{e.RecognitionException=n(2874).RecognitionException,e.NoViableAltException=n(2874).NoViableAltException,e.LexerNoViableAltException=n(2874).LexerNoViableAltException,e.InputMismatchException=n(2874).InputMismatchException,e.FailedPredicateException=n(2874).FailedPredicateException,e.DiagnosticErrorListener=n(1574).DiagnosticErrorListener,e.BailErrorStrategy=n(1080).BailErrorStrategy,e.ErrorListener=n(5827).ErrorListener},7228:(t,e,n)=>{e.atn=n(9548),e.codepointat=n(5034),e.dfa=n(5224),e.fromcodepoint=n(2085),e.tree=n(1183),e.error=n(7423),e.Token=n(5319).Token,e.CharStreams=n(5689).CharStreams,e.CommonToken=n(5319).CommonToken,e.InputStream=n(2732).InputStream,e.FileStream=n(654).FileStream,e.CommonTokenStream=n(1259).CommonTokenStream,e.Lexer=n(4412).Lexer,e.Parser=n(3709).Parser;var i=n(8758);e.PredictionContextCache=i.PredictionContextCache,e.ParserRuleContext=n(5082).ParserRuleContext,e.Interval=n(4088).Interval,e.Utils=n(8561)},5034:()=>{
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["zenuml/core"]=e():t["zenuml/core"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={6626:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.debug,expression:"debug"}]},[n("div",{staticClass:"flex flex-nowrap m-2 text-sm"},[n("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"},[n("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"}},[n("line",{attrs:{x1:"6",y1:"3",x2:"6",y2:"15"}}),n("circle",{attrs:{cx:"18",cy:"6",r:"3"}}),n("circle",{attrs:{cx:"6",cy:"18",r:"3"}}),n("path",{attrs:{d:"M18 9a9 9 0 0 1-9 9"}})]),n("span",{staticClass:"inline-block px-2"},[t._v(t._s(t.gitBranch)+":"+t._s(t.commitHash))])])])])},r=[],o=n(7240),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},903:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"export",staticClass:"zenuml p-1 bg-skin-canvas",class:t.theme,staticStyle:{display:"inline-block"}},[n("debug"),n("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("+t.scale+")"}},[n("div",{ref:"content"},[n("div",{staticClass:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},[n("div",{staticClass:"left hide-export"},[t._t("default")],2),n("div",{staticClass:"right flex-grow flex justify-between"},[n("diagram-title",{attrs:{context:t.title}}),n("privacy",{staticClass:"hide-export flex items-center"})],1)]),n("div",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showTips,expression:"showTips"}],staticClass:"fixed z-40 inset-0 overflow-y-auto",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[n("TipsDialog")],1)]),n("seq-diagram")],1),n("div",{staticClass:"footer p-1 flex justify-between"},[n("button",{staticClass:"bottom-1 left-1 hide-export",on:{click:function(e){return t.showTipsDialog()}}},[n("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"}},[n("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"}}),n("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"}}),n("path",{attrs:{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"}})])]),n("div",{staticClass:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:{transform:"scale("+1/t.scale+")"}},[n("button",{staticClass:"zoom-in px-1",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),n("label",[t._v(t._s(Number(100*t.scale).toFixed(0))+" %")]),n("button",{staticClass:"zoom-out px-1",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])]),n("width-provider"),n("a",{staticClass:"brand text-skin-link absolute bottom-1 right-1 text-xs",attrs:{target:"_blank",href:"https://zenuml.com"}},[t._v("ZenUML.com")])],1)])],1)},r=[],o=n(712),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},2330:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title text-skin-title text-base font-semibold"},[t._v(t._s(t.title))])},r=[],o=n(1708),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"769fd069",null),c=u.exports},4073:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invisible"},[n("message",{attrs:{content:t.text,rtl:"false",type:"sync"}})],1)},r=[],o=n(3702),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"4f20849b",null),c=u.exports},6022:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("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."}},[n("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"}},[n("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"}}),n("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"}})])])])},r=[],o=n(4679),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5aef153b",null),c=u.exports},6709:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:{paddingTop:t.top+"px",left:t.left+"px"},attrs:{id:t.entity.name}},[n("participant",{attrs:{entity:t.entity}}),n("div",{staticClass:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"})],1)},r=[],o=n(8685),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"b41a2b7c",null),c=u.exports},3389:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.entities.length>0?n("div",{staticClass:"container absolute flex flex-col h-full",style:{left:t.left+"px",width:t.right-t.left+"px"}},[n("div",{staticClass:"flex flex-col shadow shadow-slate-500/50 flex-grow"},[n("div",{staticClass:"lifeline-group relative flex-grow"},t._l(t.entities,(function(e){return n("life-line",{key:e.name,ref:e.name,refInFor:!0,attrs:{inGroup:"true",entity:e,"group-left":t.left}})})),1)])]):t._e()},r=[],o=n(2627),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"9a21e6ee",null),c=u.exports},3814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},[n("div",{staticClass:"container relative grow"},[t.starterOnTheLeft?n("life-line",{staticClass:"starter",class:{invisible:t.invisibleStarter},attrs:{entity:t.starterParticipant}}):t._e(),t._l(t.explicitGroupAndParticipants,(function(e,i){return[e instanceof t.GroupContext?n("life-line-group",{key:i,attrs:{context:e}}):t._e(),e instanceof t.ParticipantContext?n("life-line",{key:i,attrs:{entity:t.getParticipantEntity(e)}}):t._e()]})),t._l(t.implicitParticipants,(function(t){return n("life-line",{key:t.name,attrs:{entity:t}})}))],2)])},r=[],o=n(5857),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},7088:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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:t.selected,"border-transparent":!!t.icon},style:{backgroundColor:t.backgroundColor,color:t.color},on:{click:t.onSelect}},[t.icon?n("img",{staticClass:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8",attrs:{src:t.icon,alt:"icon for "+t.entity.name}}):t._e(),n("div",{staticClass:"h-5 group flex flex-col justify-center"},[t.comment?n("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"},[t._v(" "+t._s(t.comment)+" ")]):t._e(),t.stereotype?n("label",{staticClass:"interface leading-4"},[t._v("«"+t._s(t.stereotype)+"»")]):t._e(),n("label",{staticClass:"name leading-4"},[t._v(t._s(t.entity.label||t.entity.name))])])])},r=[],o=n(4989),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"6c8e5d9c",null),c=u.exports},9350:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"block"},t._l(t.statements,(function(e,i){return n("div",{key:i,staticClass:"statement-container mt-1"},[n("statement",{attrs:{context:e,selfCallIndent:t.selfCallIndent}})],1)})),0)},r=[],o=n(9358),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},6293:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:{color:t.color}},[n("div",{domProps:{innerHTML:t._s(t.markedComment)}})])},r=[],o=n(1722),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"177ddfb9",null),c=u.exports},4470:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":t.rightToLeft,"-translate-x-full":t.rightToLeft,highlight:t.isCurrent},style:{width:t.interactionWidth+"px"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),n("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":t.rightToLeft},attrs:{"data-type":"creation","data-to":t.to}},[n("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:t.signature,rtl:t.rightToLeft,type:"creation"}}),n("div",{ref:"participantPlaceHolder",staticClass:" invisible right-0 flex flex-col justify-center flex-shrink-0"},[n("participant",{attrs:{entity:{name:t.to}}})],1)],1),n("occurrence",{staticClass:"pointer-events-auto",attrs:{context:t.creation,participant:t.to}}),t.assignee?n("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:t.assignee,rtl:!t.rightToLeft,type:"return"}}):t._e()],1)},r=[],o=n(2835),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},5664:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divider",style:{width:t.width+"px",transform:"translateX("+(-1*t.centerOfFrom+10)+"px)"}},[n("div",{staticClass:"left bg-skin-divider"}),n("div",{staticClass:"name"},[t._v(t._s(t.name))]),n("div",{staticClass:"right bg-skin-divider"})])},r=[],o=n(7908),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"9e19929a",null),c=u.exports},8890:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment alt border-skin-fragment rounded",style:t.fragmentStyle},[n("div",{staticClass:"segment"},[t.comment?n("comment",{attrs:{comment:t.comment,commentObj:t.commentObj}}):t._e(),t._m(0),n("div",{staticClass:"segment"},[n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.condition)+"]")])]),t.blockInIfBlock?n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInIfBlock,selfCallIndent:t.selfCallIndent}}):t._e()],1)],1),t._l(t.alt.elseIfBlock(),(function(e,i){return[n("div",{key:i+500,staticClass:"segment mt-2 border-t border-solid"},[n("div",{key:i+1e3,staticClass:"text-skin-fragment"},[n("label",{staticClass:"else-if hidden"},[t._v("else if")]),n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.conditionFromIfElseBlock(e))+"]")])]),n("block",{key:i+2e3,style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInElseIfBlock(e),selfCallIndent:t.selfCallIndent}})],1)]})),t.elseBlock?[n("div",{staticClass:"segment mt-2 border-t border-solid"},[t._m(1),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.elseBlock,selfCallIndent:t.selfCallIndent}})],1)]:t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",{staticClass:"p-0"},[t._v("Alt")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"p-1"},[t._v("[else]")])])}],o=n(8248),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"217f4dc8",null),c=u.exports},2451:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment loop border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("div",{staticClass:"segment"},[n("div",{staticClass:"text-skin-fragment"},[n("label",{staticClass:"condition p-1"},[t._v("["+t._s(t.condition)+"]")])]),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInLoop,selfCallIndent:t.selfCallIndent}})],1)],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",{staticClass:"p-0"},[t._v("Loop")])])])}],o=n(1898),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"0345c2e6",null),c=u.exports},4107:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment opt border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.opt.braceBlock().block(),selfCallIndent:t.selfCallIndent}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Opt")])])])}],o=n(1089),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"78d6d1df",null),c=u.exports},27:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment par border-skin-fragment rounded",style:t.fragmentStyle},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.par.braceBlock().block(),selfCallIndent:t.selfCallIndent}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Par")])])])}],o=n(224),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"dffcc940",null),c=u.exports},4689:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:t.fragmentStyle},[n("div",{staticClass:"segment"},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t._m(0),t.blockInTryBlock?n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInTryBlock,selfCallIndent:t.selfCallIndent}}):t._e()],1),t._l(t.tcf.catchBlock(),(function(e,i){return[n("div",{key:i+500,staticClass:"segment mt-2 border-t border-solid"},[n("div",{key:i+1e3,staticClass:"header text-skin-fragment"},[n("label",{staticClass:"keyword catch p-1"},[t._v("catch")]),n("label",{staticClass:"exception p-1"},[t._v(t._s(t.exception(e)))])]),n("block",{key:i+2e3,style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.blockInCatchBlock(e),selfCallIndent:t.selfCallIndent}})],1)]})),t.finallyBlock?[n("div",{staticClass:"segment mt-2 border-t border-solid"},[t._m(1),n("block",{style:{paddingLeft:t.offsetX+"px"},attrs:{context:t.finallyBlock,selfCallIndent:t.selfCallIndent}})],1)]:t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[n("div",{staticClass:"name font-semibold p-1 border-b"},[n("label",[t._v("Try")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header text-skin-fragment finally"},[n("label",{staticClass:"keyword finally p-1"},[t._v("finally")])])}],o=n(5859),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5a40ce86",null),c=u.exports},3746:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction sync inline-block",class:{highlight:t.isCurrent,self:t.isSelf},style:{width:!t.isSelf&&t.interactionWidth+"px",transform:"translateX("+t.translateX+"px)"},attrs:{"data-to":t.to,"data-type":"interaction","data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.showStarter&&t.isRootBlock||t.outOfBand?n("div",{staticClass:"occurrence source border-2",class:{"right-to-left":t.rightToLeft}}):t._e(),t.hasComment?n("comment",{attrs:{commentObj:t.commentObj}}):t._e(),n(t.invocation,{tag:"component",staticClass:"text-center",attrs:{color:t.color,content:t.signature,assignee:t.assignee,rtl:t.rightToLeft,type:"sync"}}),n("occurrence",{attrs:{context:t.message,participant:t.to,selfCallIndent:t.passOnOffset,rtl:t.rightToLeft}}),t.assignee&&!t.isSelf?n("message",{staticClass:"return transform -translate-y-full",attrs:{content:t.assignee,rtl:!t.rightToLeft,type:"return"}}):t._e()],1)},r=[],o=n(1874),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"42556242",null),c=u.exports},6462:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":t.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":t.participant,"data-x-offset":t.center,"data-debug-center-of":t.computedCenter}},[this.context.braceBlock()?n("block",{attrs:{context:t.context.braceBlock().block(),selfCallIndent:t.selfCallIndent}}):t._e()],1)},r=[],o=n(372),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"2f919dd0",null),c=u.exports},7374:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[n("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[n("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),n("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),n("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[t.assignee?n("span",[t._v(t._s(t.assignee)+" = ")]):t._e(),t._v(" "+t._s(t.content))])])},r=[],o=n(1139),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},9852:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction async",class:{"right-to-left":t.rightToLeft,highlight:t.isCurrent},style:{width:t.interactionWidth+"px",transform:"translateX("+t.translateX+"px)"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),n(t.invocation,{tag:"component",attrs:{content:t.signature,rtl:t.rightToLeft,type:"async"}}),n("div",{staticClass:"invisible-occurrence"})],1)},r=[],o=n(6809),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"6dbe9332",null),c=u.exports},4291:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[n("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[n("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),n("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),n("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[t._v(t._s(t.content))])])},r=[],o=n(1084),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"719caed9",null),c=u.exports},6791:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message border-skin-message-arrow border-b-2 flex items-end",class:{"flex-row-reverse":t.rtl,return:"return"===t.type,"right-to-left":t.rtl,"text-left":t.isAsync,"text-center":!t.isAsync},style:{"border-bottom-style":t.borderStyle}},[n("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:t.color}},[t._v(t._s(t.content))]),n("point",{staticClass:"flex-shrink-0 transform translate-y-1/2 -my-px",attrs:{fill:t.fill,rtl:t.rtl}})],1)},r=[],o=n(252),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},6230:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"point text-skin-message-arrow",class:{fill:t.fill,"no-fill":!t.fill,"right-to-left":t.rtl}},[t.rtl?t._e():n("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[n("polyline",{staticClass:"right head fill-current stroke-current",attrs:{points:"0,0 10,5 0,10"}})]),t.rtl?n("svg",{staticClass:"arrow stroke-2",attrs:{height:"10",width:"10"}},[n("polyline",{staticClass:"left head fill-current stroke-current",attrs:{points:"10,0 0,5 10,10"}})]):t._e()])},r=[],o=n(7933),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"eee2b08a",null),c=u.exports},7788:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"interaction return relative",class:{"right-to-left":t.rightToLeft,highlight:t.isCurrent},style:{width:t.width+"px",left:t.left+"px"},attrs:{"data-signature":t.signature},on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.comment?n("comment",{attrs:{comment:t.comment}}):t._e(),t.isSelf?n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[n("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"}}),n("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"}})]),n("span",{staticClass:"name text-sm"},[t._v(t._s(t.signature))])]):t._e(),t.isSelf?t._e():n("Message",{attrs:{content:t.signature,rtl:t.rightToLeft,type:"return"}})],1)},r=[],o=n(1936),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},7592:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.subStatement,{tag:"component",staticClass:"text-left text-sm text-skin-message",attrs:{context:t.context,comment:t.comment,commentObj:t.commentObj,selfCallIndent:t.selfCallIndent}})},r=[],o=n(3693),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},1653:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message-layer pt-24 pb-10"},[n("block",{style:{"padding-left":t.paddingLeft+"px"},attrs:{context:t.context}})],1)},r=[],o=n(2321),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},1873:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"diagram",staticClass:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:{width:t.width+"px",paddingLeft:t.paddingLeft+"px"}},[n("life-line-layer",{attrs:{context:t.rootContext.head()}}),n("message-layer",{attrs:{context:t.rootContext.block()}})],1)},r=[],o=n(9048),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,null,null),c=u.exports},3991:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",attrs:{role:"list"}},t._l(t.types,(function(e){return n("li",{key:e,staticClass:"col-span-1 flex flex-col shadow-sm rounded-md"},[n("div",{staticClass:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},[t.icon?n("img",{staticClass:"object-contain h-8 w-8 m-auto",attrs:{src:t.icon(e),alt:"icon for "+e}}):t._e()]),n("div",{staticClass:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},[n("div",{staticClass:"px-2 py-2 text-xs"},[n("span",{staticClass:"text-gray-900 font-medium hover:text-gray-600"},[t._v("@"+t._s(e))])])])])})),0)},r=[],o=n(3934),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"e01c645c",null),c=u.exports},884:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__esModule:()=>o.X,default:()=>c});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},[n("div",{staticClass:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",attrs:{"aria-hidden":"true"}}),n("span",{staticClass:"hidden sm:inline-block sm:align-middle sm:h-screen",attrs:{"aria-hidden":"true"}},[t._v("")]),n("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"},[n("div",[n("div",{staticClass:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",attrs:{slot:"header"},slot:"header"},[n("h3",{staticClass:"text-xl leading-6 font-medium text-gray-900 inline-block"},[t._v(" ZenUML Tips ")]),n("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(e){return t.closeTipsDialog()}}},[n("span",{staticClass:"sr-only"},[t._v("Close menu")]),n("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"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),n("div",{attrs:{slot:"body"},slot:"body"},[n("div",{staticClass:"relative bg-white pb-32 mt-4 overflow-hidden"},[n("div",{staticClass:"relative"},[n("div",{staticClass:"lg:mx-auto lg:max-w-11/12 lg:px-8"},[t._m(0),n("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Builtin Icons")]),t._m(1),n("IconList",{attrs:{types:t.standardTypes}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.awsServices}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.azureServices}}),n("hr",{staticClass:"mt-4"}),n("IconList",{attrs:{types:t.googleServices}})],1)])])])])])])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"},[n("div",[n("div",{staticClass:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Declare Participants")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("// Define a Starter (optional)\n@Starter(A)\n\n// Show icons\n@EC2 A\n\n// Use 'group' keyword\ngroup GroupName { B C }\n\n// Use stereotype\n<<servlet>> ServiceX")])])]),n("div",{staticClass:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Divider")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("A.method()\n==divider name==\nB.method()\n")])])])]),n("div",{staticClass:"px-4 w-full mx-auto lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Fragments")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("// Alt (AKA if/else)\nif(condition1) {}\nelse if (condition2) {}\nelse {}\n\n// `loop`, `for`, `forEach`, `while`\n// are treated the same\nforEach(records) {}\n\n// Opt\nopt {}\n\n// Par\npar {}\n\n// Try Catch Finally\ntry {} catch() {} finally {}\n")])])]),n("div",{staticClass:"px-4 w-full mx-auto lg:max-w-none lg:mx-0"},[n("h2",{staticClass:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"},[t._v("Messages")]),n("pre",{staticClass:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"},[n("code",[t._v("//Creation\nnew ParticipantName()\n\n//Sync Message\nA.method\nA->B.method\n\n//Async Message\nA->B: async message\n\n//Reply Message, three styles\nx = A.method\nA.method() {\n return x\n}\nA.method() {\n @return A->B: message\n}")])])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"text-sm text-gray-500"},[t._v("Use "),n("span",{staticClass:"rounded inline-block bg-gray-50 text-gray-600"},[n("code",{staticClass:"text-xs"},[t._v("@Actor TheParticipant")])]),t._v(" to define the type of the participant.")])}],o=n(3824),s=o.Z,a=n(1001),u=(0,a.Z)(s,i,r,!1,null,"5bafecba",null),c=u.exports},1001:(t,e,n)=>{"use strict";function i(t,e,n,i,r,o,s,a){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var M=c.beforeCreate;c.beforeCreate=M?[].concat(M,u):[u]}return{exports:t,options:c}}n.d(e,{Z:()=>i})},895:(t,e,n)=>{var i=n(5319).Token,r=n(4412).Lexer,o=n(4088).Interval;function s(){return this}function a(t){return s.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.mark=function(){return 0},a.prototype.release=function(t){},a.prototype.reset=function(){this.seek(0)},a.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},a.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},a.prototype.consume=function(){var t=!1;if(t=this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length),!t&&this.LA(1)===i.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))},a.prototype.sync=function(t){var e=t-this.tokens.length+1;if(e>0){var n=this.fetch(e);return n>=e}return!0},a.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e<t;e++){var n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===i.EOF)return this.fetchedEOF=!0,e+1}return t},a.prototype.getTokens=function(t,e,n){if(void 0===n&&(n=null),t<0||e<0)return null;this.lazyInit();var r=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(var o=t;o<e;o++){var s=this.tokens[o];if(s.type===i.EOF)break;(null===n||n.contains(s.type))&&r.push(s)}return r},a.prototype.LA=function(t){return this.LT(t).type},a.prototype.LB=function(t){return this.index-t<0?null:this.tokens[this.index-t]},a.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]},a.prototype.adjustSeekIndex=function(t){return t},a.prototype.lazyInit=function(){-1===this.index&&this.setup()},a.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},a.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},a.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return-1;var n=this.tokens[t];while(n.channel!==this.channel){if(n.type===i.EOF)return-1;t+=1,this.sync(t),n=this.tokens[t]}return t},a.prototype.previousTokenOnChannel=function(t,e){while(t>=0&&this.tokens[t].channel!==e)t-=1;return t},a.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(t+1,r.DEFAULT_TOKEN_CHANNEL),i=t+1,o=-1===n?this.tokens.length-1:n;return this.filterForChannel(i,o,e)},a.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(t-1,r.DEFAULT_TOKEN_CHANNEL);if(n===t-1)return null;var i=n+1,o=t-1;return this.filterForChannel(i,o,e)},a.prototype.filterForChannel=function(t,e,n){for(var i=[],o=t;o<e+1;o++){var s=this.tokens[o];-1===n?s.channel!==r.DEFAULT_TOKEN_CHANNEL&&i.push(s):s.channel===n&&i.push(s)}return 0===i.length?null:i},a.prototype.getSourceName=function(){return this.tokenSource.getSourceName()},a.prototype.getText=function(t){this.lazyInit(),this.fill(),void 0!==t&&null!==t||(t=new o(0,this.tokens.length-1));var e=t.start;e instanceof i&&(e=e.tokenIndex);var n=t.stop;if(n instanceof i&&(n=n.tokenIndex),null===e||null===n||e<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);for(var r="",s=e;s<n+1;s++){var a=this.tokens[s];if(a.type===i.EOF)break;r+=a.text}return r},a.prototype.fill=function(){this.lazyInit();while(1e3===this.fetch(1e3));},e.B=a},5689:(t,e,n)=>{var i=n(2732).InputStream,r="undefined"===typeof window&&"undefined"===typeof importScripts,o=r?n(7816):null,s={fromString:function(t){return new i(t,!0)},fromBlob:function(t,e,n,r){var o=FileReader();o.onload=function(t){var e=new i(t.target.result,!0);n(e)},o.onerror=r,o.readAsText(t,e)},fromBuffer:function(t,e){return new i(t.toString(e),!0)},fromPath:function(t,e,n){o.readFile(t,e,(function(t,e){var r=null;null!==e&&(r=new i(e,!0)),n(t,r)}))},fromPathSync:function(t,e){var n=o.readFileSync(t,e);return new i(n,!0)}};e.CharStreams=s},2058:(t,e,n)=>{var i=n(5319).CommonToken;function r(){return this}function o(t){return r.call(this),this.copyText=void 0!==t&&t,this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.DEFAULT=new o,o.prototype.create=function(t,e,n,r,o,s,a,u){var c=new i(t,e,r,o,s);return c.line=a,c.column=u,null!==n?c.text=n:this.copyText&&null!==t[1]&&(c.text=t[1].getText(o,s)),c},o.prototype.createThin=function(t,e){var n=new i(null,t);return n.text=e,n},e.$=o},1259:(t,e,n)=>{var i=n(5319).Token,r=n(895).B;function o(t,e){return r.call(this,t),this.channel=void 0===e?i.DEFAULT_CHANNEL:e,this}o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.adjustSeekIndex=function(t){return this.nextTokenOnChannel(t,this.channel)},o.prototype.LB=function(t){if(0===t||this.index-t<0)return null;var e=this.index,n=1;while(n<=t)e=this.previousTokenOnChannel(e-1,this.channel),n+=1;return e<0?null:this.tokens[e]},o.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index,n=1;while(n<t)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),n+=1;return this.tokens[e]},o.prototype.getNumberOfOnChannelTokens=function(){var t=0;this.fill();for(var e=0;e<this.tokens.length;e++){var n=this.tokens[e];if(n.channel===this.channel&&(t+=1),n.type===i.EOF)break}return t},e.CommonTokenStream=o},654:(t,e,n)=>{var i=n(2732).InputStream,r="undefined"===typeof window&&"undefined"===typeof importScripts,o=r?n(7816):null;function s(t,e){var n=o.readFileSync(t,"utf8");return i.call(this,n,e),this.fileName=t,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,e.FileStream=s},2732:(t,e,n)=>{var i=n(5319).Token;function r(t){if(t._index=0,t.data=[],t.decodeToUnicodeCodePoints)for(var e=0;e<t.strdata.length;){var n=t.strdata.codePointAt(e);t.data.push(n),e+=n<=65535?1:2}else for(e=0;e<t.strdata.length;e++){var i=t.strdata.charCodeAt(e);t.data.push(i)}t._size=t.data.length}function o(t,e){return this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,r(this),this}n(5034),n(2085),Object.defineProperty(o.prototype,"index",{get:function(){return this._index}}),Object.defineProperty(o.prototype,"size",{get:function(){return this._size}}),o.prototype.reset=function(){this._index=0},o.prototype.consume=function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1},o.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?i.EOF:this.data[e]},o.prototype.LT=function(t){return this.LA(t)},o.prototype.mark=function(){return-1},o.prototype.release=function(t){},o.prototype.seek=function(t){t<=this._index?this._index=t:this._index=Math.min(t,this._size)},o.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var n="",i=t;i<=e;i++)n+=String.fromCodePoint(this.data[i]);return n}return this.strdata.slice(t,e+1)},o.prototype.toString=function(){return this.strdata},e.InputStream=o},4088:(t,e,n)=>{var i=n(5319).Token;function r(t,e){return this.start=t,this.stop=e,this}function o(){this.intervals=null,this.readOnly=!1}r.prototype.contains=function(t){return t>=this.start&&t<this.stop},r.prototype.toString=function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()},Object.defineProperty(r.prototype,"length",{get:function(){return this.stop-this.start}}),o.prototype.first=function(t){return null===this.intervals||0===this.intervals.length?i.INVALID_TYPE:this.intervals[0].start},o.prototype.addOne=function(t){this.addInterval(new r(t,t+1))},o.prototype.addRange=function(t,e){this.addInterval(new r(t,e+1))},o.prototype.addInterval=function(t){if(null===this.intervals)this.intervals=[],this.intervals.push(t);else{for(var e=0;e<this.intervals.length;e++){var n=this.intervals[e];if(t.stop<n.start)return void this.intervals.splice(e,0,t);if(t.stop===n.start)return void(this.intervals[e].start=t.start);if(t.start<=n.stop)return this.intervals[e]=new r(Math.min(n.start,t.start),Math.max(n.stop,t.stop)),void this.reduce(e)}this.intervals.push(t)}},o.prototype.addSet=function(t){if(null!==t.intervals)for(var e=0;e<t.intervals.length;e++){var n=t.intervals[e];this.addInterval(new r(n.start,n.stop))}return this},o.prototype.reduce=function(t){if(t<this.intervalslength-1){var e=this.intervals[t],n=this.intervals[t+1];e.stop>=n.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=n.start&&(this.intervals[t]=new r(e.start,n.stop),this.intervals.pop(t+1))}},o.prototype.complement=function(t,e){var n=new o;n.addInterval(new r(t,e+1));for(var i=0;i<this.intervals.length;i++)n.removeRange(this.intervals[i]);return n},o.prototype.contains=function(t){if(null===this.intervals)return!1;for(var e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;return this.intervals.map((function(e){t+=e.length})),t}}),o.prototype.removeRange=function(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(null!==this.intervals)for(var e=0,n=0;n<this.intervals.length;n++){var i=this.intervals[e];if(t.stop<=i.start)return;if(t.start>i.start&&t.stop<i.stop){this.intervals[e]=new r(i.start,t.start);var o=new r(t.stop,i.stop);return void this.intervals.splice(e,0,o)}t.start<=i.start&&t.stop>=i.stop?(this.intervals.splice(e,1),e-=1):t.start<i.stop?this.intervals[e]=new r(i.start,t.start):t.stop<i.stop&&(this.intervals[e]=new r(t.stop,i.stop)),e+=1}},o.prototype.removeOne=function(t){if(null!==this.intervals)for(var e=0;e<this.intervals.length;e++){var n=this.intervals[e];if(t<n.start)return;if(t===n.start&&t===n.stop-1)return void this.intervals.splice(e,1);if(t===n.start)return void(this.intervals[e]=new r(n.start+1,n.stop));if(t===n.stop-1)return void(this.intervals[e]=new r(n.start,n.stop-1));if(t<n.stop-1){var i=new r(n.start,t);return n.start=t+1,void this.intervals.splice(e,0,i)}}},o.prototype.toString=function(t,e,n){return t=t||null,e=e||null,n=n||!1,null===this.intervals?"{}":null!==t||null!==e?this.toTokenString(t,e):n?this.toCharString():this.toIndexString()},o.prototype.toCharString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var n=this.intervals[e];n.stop===n.start+1?n.start===i.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(n.start)+"'"):t.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toIndexString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var n=this.intervals[e];n.stop===n.start+1?n.start===i.EOF?t.push("<EOF>"):t.push(n.start.toString()):t.push(n.start.toString()+".."+(n.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},o.prototype.toTokenString=function(t,e){for(var n=[],i=0;i<this.intervals.length;i++)for(var r=this.intervals[i],o=r.start;o<r.stop;o++)n.push(this.elementName(t,e,o));return n.length>1?"{"+n.join(", ")+"}":n[0]},o.prototype.elementName=function(t,e,n){return n===i.EOF?"<EOF>":n===i.EPSILON?"<EPSILON>":t[n]||e[n]},e.Interval=r,e.V=o},670:(t,e,n)=>{var i=n(8561).Set,r=n(8561).BitSet,o=n(5319).Token,s=n(3864).m,a=(n(4088).Interval,n(4088).V),u=n(9215).RuleStopState,c=n(5099).RuleTransition,l=n(5099).NotSetTransition,M=n(5099).WildcardTransition,p=n(5099).AbstractPredicateTransition,h=n(8758),g=h.predictionContextFromRuleContext,N=h.PredictionContext,D=h.SingletonPredictionContext;function I(t){this.atn=t}I.HIT_PRED=o.INVALID_TYPE,I.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,n=[],o=0;o<e;o++){n[o]=new a;var s=new i,u=!1;this._LOOK(t.transition(o).target,null,N.EMPTY,n[o],s,new r,u,!1),(0===n[o].length||n[o].contains(I.HIT_PRED))&&(n[o]=null)}return n},I.prototype.LOOK=function(t,e,n){var o=new a,s=!0;n=n||null;var u=null!==n?g(t.atn,n):null;return this._LOOK(t,e,u,o,new i,new r,s,!0),o},I.prototype._LOOK=function(t,e,n,i,r,a,h,g){var y=new s({state:t,alt:0,context:n},null);if(!r.contains(y)){if(r.add(y),t===e){if(null===n)return void i.addOne(o.EPSILON);if(n.isEmpty()&&g)return void i.addOne(o.EOF)}if(t instanceof u){if(null===n)return void i.addOne(o.EPSILON);if(n.isEmpty()&&g)return void i.addOne(o.EOF);if(n!==N.EMPTY){for(var d=0;d<n.length;d++){var T=this.atn.states[n.getReturnState(d)],x=a.contains(T.ruleIndex);try{a.remove(T.ruleIndex),this._LOOK(T,e,n.getParent(d),i,r,a,h,g)}finally{x&&a.add(T.ruleIndex)}}return}}for(var L=0;L<t.transitions.length;L++){var j=t.transitions[L];if(j.constructor===c){if(a.contains(j.target.ruleIndex))continue;var f=D.create(n,j.followState.stateNumber);try{a.add(j.target.ruleIndex),this._LOOK(j.target,e,f,i,r,a,h,g)}finally{a.remove(j.target.ruleIndex)}}else if(j instanceof p)h?this._LOOK(j.target,e,n,i,r,a,h,g):i.addOne(I.HIT_PRED);else if(j.isEpsilon)this._LOOK(j.target,e,n,i,r,a,h,g);else if(j.constructor===M)i.addRange(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var w=j.label;null!==w&&(j instanceof l&&(w=w.complement(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),i.addSet(w))}}}},e.u=I},4412:(t,e,n)=>{var i=n(5319).Token,r=n(4489).c,o=n(2058).$,s=n(2874).RecognitionException,a=n(2874).LexerNoViableAltException;function u(t){return r.call(this),this._input=t,this._factory=o.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=i.DEFAULT_CHANNEL,this._type=i.INVALID_TYPE,this._modeStack=[],this._mode=u.DEFAULT_MODE,this._text=null,this}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.DEFAULT_MODE=0,u.MORE=-2,u.SKIP=-3,u.DEFAULT_TOKEN_CHANNEL=i.DEFAULT_CHANNEL,u.HIDDEN=i.HIDDEN_CHANNEL,u.MIN_CHAR_VALUE=0,u.MAX_CHAR_VALUE=1114111,u.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=i.INVALID_TYPE,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=u.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},u.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var t=this._input.mark();try{while(1){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;var e=!1;while(1){this._type=i.INVALID_TYPE;var n=u.SKIP;try{n=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof s))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===i.EOF&&(this._hitEOF=!0),this._type===i.INVALID_TYPE&&(this._type=n),this._type===u.SKIP){e=!0;break}if(this._type!==u.MORE)break}if(!e)return null===this._token&&this.emit(),this._token}}finally{this._input.release(t)}},u.prototype.skip=function(){this._type=u.SKIP},u.prototype.more=function(){this._type=u.MORE},u.prototype.mode=function(t){this._mode=t},u.prototype.pushMode=function(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)},u.prototype.popMode=function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode},Object.defineProperty(u.prototype,"inputStream",{get:function(){return this._input},set:function(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(u.prototype,"sourceName",{get:function(){return this._input.sourceName}}),u.prototype.emitToken=function(t){this._token=t},u.prototype.emit=function(){var 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},u.prototype.emitEOF=function(){var t=this.column,e=this.line,n=this._factory.create(this._tokenFactorySourcePair,i.EOF,null,i.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(n),n},Object.defineProperty(u.prototype,"type",{get:function(){return this.type},set:function(t){this._type=t}}),Object.defineProperty(u.prototype,"line",{get:function(){return this._interp.line},set:function(t){this._interp.line=t}}),Object.defineProperty(u.prototype,"column",{get:function(){return this._interp.column},set:function(t){this._interp.column=t}}),u.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(u.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(t){this._text=t}}),u.prototype.getAllTokens=function(){var t=[],e=this.nextToken();while(e.type!==i.EOF)t.push(e),e=this.nextToken();return t},u.prototype.notifyListeners=function(t){var e=this._tokenStartCharIndex,n=this._input.index,i=this._input.getText(e,n),r="token recognition error at: '"+this.getErrorDisplay(i)+"'",o=this.getErrorListenerDispatch();o.syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,r,t)},u.prototype.getErrorDisplay=function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);return e.join("")},u.prototype.getErrorDisplayForChar=function(t){return t.charCodeAt(0)===i.EOF?"<EOF>":"\n"===t?"\\n":"\t"===t?"\\t":"\r"===t?"\\r":t},u.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},u.prototype.recover=function(t){this._input.LA(1)!==i.EOF&&(t instanceof a?this._interp.consume(this._input):this._input.consume())},e.Lexer=u},3709:(t,e,n)=>{var i=n(5319).Token,r=n(1065).ParseTreeListener,o=n(4489).c,s=n(1080).t,a=n(8833).ATNDeserializer,u=n(6477).W,c=n(1065).TerminalNode,l=n(1065).ErrorNode;function M(t){return r.call(this),this.parser=t,this}function p(t){return o.call(this),this._input=null,this._errHandler=new s,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}M.prototype=Object.create(r.prototype),M.prototype.constructor=M,M.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},M.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},M.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},p.prototype=Object.create(o.prototype),p.prototype.contructor=p,p.bypassAltsAtnCache={},p.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},p.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},p.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},p.prototype.getParseListeners=function(){return this._parseListeners||[]},p.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},p.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},p.prototype.removeParseListeners=function(){this._parseListeners=null},p.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map((function(e){e.enterEveryRule(t),t.enterRule(e)}))}},p.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map((function(e){t.exitRule(e),e.exitEveryRule(t)}))}},p.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},p.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},p.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var n=new u;n.generateRuleBypassTransitions=!0,e=new a(n).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var h=n(4412).Lexer;p.prototype.compileParseTreePattern=function(t,e,n){if(n=n||null,null===n&&null!==this.getTokenStream()){var i=this.getTokenStream().tokenSource;i instanceof h&&(n=i)}if(null===n)throw"Parser can't discover a lexer to use";var r=new ParseTreePatternMatcher(n,this);return r.compile(t,e)},p.prototype.getInputStream=function(){return this.getTokenStream()},p.prototype.setInputStream=function(t){this.setTokenStream(t)},p.prototype.getTokenStream=function(){return this._input},p.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},p.prototype.getCurrentToken=function(){return this._input.LT(1)},p.prototype.notifyErrorListeners=function(t,e,n){e=e||null,n=n||null,null===e&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var i=e.line,r=e.column,o=this.getErrorListenerDispatch();o.syntaxError(this,e,i,r,t,n)},p.prototype.consume=function(){var t=this.getCurrentToken();t.type!==i.EOF&&this.getInputStream().consume();var e,n=null!==this._parseListeners&&this._parseListeners.length>0;(this.buildParseTrees||n)&&(e=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(t):this._ctx.addTokenNode(t),e.invokingState=this.state,n&&this._parseListeners.map((function(t){e instanceof l||void 0!==e.isErrorNode&&e.isErrorNode()?t.visitErrorNode(e):e instanceof c&&t.visitTerminal(e)})));return t},p.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},p.prototype.enterRule=function(t,e,n){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},p.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},p.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},p.prototype.enterRecursionRule=function(t,e,n,i){this.state=e,this._precedenceStack.push(i),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.pushNewRecursionContext=function(t,e,n){var i=this._ctx;i.parentCtx=t,i.invokingState=e,i.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=i.start,this.buildParseTrees&&this._ctx.addChild(i),null!==this._parseListeners&&this.triggerEnterRuleEvent()},p.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)while(this._ctx!==t)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},p.prototype.getInvokingContext=function(t){var e=this._ctx;while(null!==e){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},p.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},p.prototype.inContext=function(t){return!1},p.prototype.isExpectedToken=function(t){var e=this._interp.atn,n=this._ctx,r=e.states[this.state],o=e.nextTokens(r);if(o.contains(t))return!0;if(!o.contains(i.EPSILON))return!1;while(null!==n&&n.invokingState>=0&&o.contains(i.EPSILON)){var s=e.states[n.invokingState],a=s.transitions[0];if(o=e.nextTokens(a.followState),o.contains(t))return!0;n=n.parentCtx}return!(!o.contains(i.EPSILON)||t!==i.EOF)},p.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},p.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},p.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},p.prototype.getRuleInvocationStack=function(t){t=t||null,null===t&&(t=this._ctx);var e=[];while(null!==t){var n=t.ruleIndex;n<0?e.push("n/a"):e.push(this.ruleNames[n]),t=t.parentCtx}return e},p.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},p.prototype.dumpDFA=function(){for(var t=!1,e=0;e<this._interp.decisionToDFA.length;e++){var n=this._interp.decisionToDFA[e];n.states.length>0&&(t&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),t=!0)}},p.prototype.getSourceName=function(){return this._input.sourceName},p.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new M(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=p},5082:(t,e,n)=>{var i=n(8738).r,r=n(1065),o=r.INVALID_INTERVAL,s=r.TerminalNode,a=r.TerminalNodeImpl,u=r.ErrorNodeImpl,c=n(4088).Interval;function l(t,e){t=t||null,e=e||null,i.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function M(t,e,n){return l.call(t,e),this.ruleIndex=n,this}l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.copyFrom=function(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(t){t instanceof u&&(this.children.push(t),t.parentCtx=this)}),this))},l.prototype.enterRule=function(t){},l.prototype.exitRule=function(t){},l.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},l.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},l.prototype.addTokenNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},l.prototype.addErrorNode=function(t){var e=new u(t);return this.addChild(e),e.parentCtx=this,e},l.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var n=0;n<this.children.length;n++){var i=this.children[n];if(i instanceof e){if(0===t)return i;t-=1}}return null},l.prototype.getToken=function(t,e){if(null===this.children||e<0||e>=this.children.length)return null;for(var n=0;n<this.children.length;n++){var i=this.children[n];if(i instanceof s&&i.symbol.type===t){if(0===e)return i;e-=1}}return null},l.prototype.getTokens=function(t){if(null===this.children)return[];for(var e=[],n=0;n<this.children.length;n++){var i=this.children[n];i instanceof s&&i.symbol.type===t&&e.push(i)}return e},l.prototype.getTypedRuleContext=function(t,e){return this.getChild(e,t)},l.prototype.getTypedRuleContexts=function(t){if(null===this.children)return[];for(var e=[],n=0;n<this.children.length;n++){var i=this.children[n];i instanceof t&&e.push(i)}return e},l.prototype.getChildCount=function(){return null===this.children?0:this.children.length},l.prototype.getSourceInterval=function(){return null===this.start||null===this.stop?o:new c(this.start.tokenIndex,this.stop.tokenIndex)},i.EMPTY=new l,M.prototype=Object.create(l.prototype),M.prototype.constructor=M,e.ParserRuleContext=l},8758:(t,e,n)=>{var i=n(8738).r,r=n(8561).Hash,o=n(8561).Map;function s(t){this.cachedHashCode=t}function a(){return this.cache=new o,this}function u(t,e){var n=0,i=new r;null!==t?i.update(t,e):i.update(1),n=i.finish(),s.call(this,n),this.parentCtx=t,this.returnState=e}function c(){return u.call(this,null,s.EMPTY_RETURN_STATE),this}function l(t,e){var n=new r;n.update(t,e);var i=n.finish();return s.call(this,i),this.parents=t,this.returnStates=e,this}function M(t,e){if(void 0!==e&&null!==e||(e=i.EMPTY),null===e.parentCtx||e===i.EMPTY)return s.EMPTY;var n=M(t,e.parentCtx),r=t.states[e.invokingState],o=r.transitions[0];return u.create(n,o.followState.stateNumber)}function p(t,e,n,i){if(t===e)return t;if(t instanceof u&&e instanceof u)return h(t,e,n,i);if(n){if(t instanceof c)return t;if(e instanceof c)return e}return t instanceof u&&(t=new l([t.getParent()],[t.returnState])),e instanceof u&&(e=new l([e.getParent()],[e.returnState])),N(t,e,n,i)}function h(t,e,n,i){if(null!==i){var r=i.get(t,e);if(null!==r)return r;if(r=i.get(e,t),null!==r)return r}var o=g(t,e,n);if(null!==o)return null!==i&&i.set(t,e,o),o;if(t.returnState===e.returnState){var s=p(t.parentCtx,e.parentCtx,n,i);if(s===t.parentCtx)return t;if(s===e.parentCtx)return e;var a=u.create(s,t.returnState);return null!==i&&i.set(t,e,a),a}var c=null;if((t===e||null!==t.parentCtx&&t.parentCtx===e.parentCtx)&&(c=t.parentCtx),null!==c){var M=[t.returnState,e.returnState];t.returnState>e.returnState&&(M[0]=e.returnState,M[1]=t.returnState);var h=[c,c],N=new l(h,M);return null!==i&&i.set(t,e,N),N}M=[t.returnState,e.returnState],h=[t.parentCtx,e.parentCtx];t.returnState>e.returnState&&(M[0]=e.returnState,M[1]=t.returnState,h=[e.parentCtx,t.parentCtx]);var D=new l(h,M);return null!==i&&i.set(t,e,D),D}function g(t,e,n){if(n){if(t===s.EMPTY)return s.EMPTY;if(e===s.EMPTY)return s.EMPTY}else{if(t===s.EMPTY&&e===s.EMPTY)return s.EMPTY;if(t===s.EMPTY){var i=[e.returnState,s.EMPTY_RETURN_STATE],r=[e.parentCtx,null];return new l(r,i)}if(e===s.EMPTY){i=[t.returnState,s.EMPTY_RETURN_STATE],r=[t.parentCtx,null];return new l(r,i)}}return null}function N(t,e,n,i){if(null!==i){var r=i.get(t,e);if(null!==r)return r;if(r=i.get(e,t),null!==r)return r}var o=0,a=0,c=0,M=[],h=[];while(o<t.returnStates.length&&a<e.returnStates.length){var g=t.parents[o],N=e.parents[a];if(t.returnStates[o]===e.returnStates[a]){var I=t.returnStates[o],y=I===s.EMPTY_RETURN_STATE&&null===g&&null===N,d=null!==g&&null!==N&&g===N;if(y||d)h[c]=g,M[c]=I;else{var T=p(g,N,n,i);h[c]=T,M[c]=I}o+=1,a+=1}else t.returnStates[o]<e.returnStates[a]?(h[c]=g,M[c]=t.returnStates[o],o+=1):(h[c]=N,M[c]=e.returnStates[a],a+=1);c+=1}if(o<t.returnStates.length)for(var x=o;x<t.returnStates.length;x++)h[c]=t.parents[x],M[c]=t.returnStates[x],c+=1;else for(x=a;x<e.returnStates.length;x++)h[c]=e.parents[x],M[c]=e.returnStates[x],c+=1;if(c<h.length){if(1===c){var L=u.create(h[0],M[0]);return null!==i&&i.set(t,e,L),L}h=h.slice(0,c),M=M.slice(0,c)}var j=new l(h,M);return j===t?(null!==i&&i.set(t,e,t),t):j===e?(null!==i&&i.set(t,e,e),e):(D(h),null!==i&&i.set(t,e,j),j)}function D(t){for(var e=new o,n=0;n<t.length;n++){var i=t[n];e.containsKey(i)||e.put(i,i)}for(var r=0;r<t.length;r++)t[r]=e.get(t[r])}function I(t,e,n){if(t.isEmpty())return t;var i=n.get(t)||null;if(null!==i)return i;if(i=e.get(t),null!==i)return n.put(t,i),i;for(var r=!1,o=[],a=0;a<o.length;a++){var c=I(t.getParent(a),e,n);if(r||c!==t.getParent(a)){if(!r){o=[];for(var M=0;M<t.length;M++)o[M]=t.getParent(M);r=!0}o[a]=c}}if(!r)return e.add(t),n.put(t,t),t;var p=null;return p=0===o.length?s.EMPTY:1===o.length?u.create(o[0],t.getReturnState(0)):new l(o,t.returnStates),e.add(p),n.put(p,p),n.put(t,p),p}s.EMPTY=null,s.EMPTY_RETURN_STATE=2147483647,s.globalNodeCount=1,s.id=s.globalNodeCount,s.prototype.isEmpty=function(){return this===s.EMPTY},s.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===s.EMPTY_RETURN_STATE},s.prototype.hashCode=function(){return this.cachedHashCode},s.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},a.prototype.add=function(t){if(t===s.EMPTY)return s.EMPTY;var e=this.cache.get(t)||null;return null!==e?e:(this.cache.put(t,t),t)},a.prototype.get=function(t){return this.cache.get(t)||null},Object.defineProperty(a.prototype,"length",{get:function(){return this.cache.length}}),u.prototype=Object.create(s.prototype),u.prototype.contructor=u,u.create=function(t,e){return e===s.EMPTY_RETURN_STATE&&null===t?s.EMPTY:new u(t,e)},Object.defineProperty(u.prototype,"length",{get:function(){return 1}}),u.prototype.getParent=function(t){return this.parentCtx},u.prototype.getReturnState=function(t){return this.returnState},u.prototype.equals=function(t){return this===t||t instanceof u&&(this.hashCode()===t.hashCode()&&(this.returnState===t.returnState&&(null==this.parentCtx?null==t.parentCtx:this.parentCtx.equals(t.parentCtx))))},u.prototype.toString=function(){var t=null===this.parentCtx?"":this.parentCtx.toString();return 0===t.length?this.returnState===s.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+t},c.prototype=Object.create(u.prototype),c.prototype.constructor=c,c.prototype.isEmpty=function(){return!0},c.prototype.getParent=function(t){return null},c.prototype.getReturnState=function(t){return this.returnState},c.prototype.equals=function(t){return this===t},c.prototype.toString=function(){return"$"},s.EMPTY=new c,l.prototype=Object.create(s.prototype),l.prototype.constructor=l,l.prototype.isEmpty=function(){return this.returnStates[0]===s.EMPTY_RETURN_STATE},Object.defineProperty(l.prototype,"length",{get:function(){return this.returnStates.length}}),l.prototype.getParent=function(t){return this.parents[t]},l.prototype.getReturnState=function(t){return this.returnStates[t]},l.prototype.equals=function(t){return this===t||t instanceof l&&(this.hashCode()===t.hashCode()&&(this.returnStates===t.returnStates&&this.parents===t.parents))},l.prototype.toString=function(){if(this.isEmpty())return"[]";for(var t="[",e=0;e<this.returnStates.length;e++)e>0&&(t+=", "),this.returnStates[e]!==s.EMPTY_RETURN_STATE?(t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"):t+="$";return t+"]"},e.merge=p,e.PredictionContext=s,e.PredictionContextCache=a,e.SingletonPredictionContext=u,e.predictionContextFromRuleContext=M,e.getCachedPredictionContext=I},4489:(t,e,n)=>{var i=n(5319).Token,r=n(5827).s,o=n(5827).N;function s(){return this._listeners=[r.INSTANCE],this._interp=null,this._stateNumber=-1,this}s.tokenTypeMapCache={},s.ruleIndexMapCache={},s.prototype.checkVersion=function(t){var e="4.8";e!==t&&console.log("ANTLR runtime and generated code versions disagree: "+e+"!="+t)},s.prototype.addErrorListener=function(t){this._listeners.push(t)},s.prototype.removeErrorListeners=function(){this._listeners=[]},s.prototype.getTokenTypeMap=function(){var t=this.getTokenNames();if(null===t)throw"The current recognizer does not provide a list of token names.";var e=this.tokenTypeMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,n){t[e]=n})),e.EOF=i.EOF,this.tokenTypeMapCache[t]=e),e},s.prototype.getRuleIndexMap=function(){var t=this.ruleNames;if(null===t)throw"The current recognizer does not provide a list of rule names.";var e=this.ruleIndexMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,n){t[e]=n})),this.ruleIndexMapCache[t]=e),e},s.prototype.getTokenType=function(t){var e=this.getTokenTypeMap()[t];return void 0!==e?e:i.INVALID_TYPE},s.prototype.getErrorHeader=function(t){var e=t.getOffendingToken().line,n=t.getOffendingToken().column;return"line "+e+":"+n},s.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),e=e.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+e+"'"},s.prototype.getErrorListenerDispatch=function(){return new o(this._listeners)},s.prototype.sempred=function(t,e,n){return!0},s.prototype.precpred=function(t,e){return!0},Object.defineProperty(s.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.c=s},8738:(t,e,n)=>{var i=n(1065).RuleNode,r=n(1065).INVALID_INTERVAL,o=n(3600).INVALID_ALT_NUMBER;function s(t,e){return i.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.depth=function(){var t=0,e=this;while(null!==e)e=e.parentCtx,t+=1;return t},s.prototype.isEmpty=function(){return-1===this.invokingState},s.prototype.getSourceInterval=function(){return r},s.prototype.getRuleContext=function(){return this},s.prototype.getPayload=function(){return this},s.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(t){return t.getText()})).join("")},s.prototype.getAltNumber=function(){return o},s.prototype.setAltNumber=function(t){},s.prototype.getChild=function(t){return null},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(t){return t.visitChildren(this)},e.r=s;var a=n(2181).Trees;s.prototype.toStringTree=function(t,e){return a.toStringTree(this,t,e)},s.prototype.toString=function(t,e){t=t||null,e=e||null;var n=this,i="[";while(null!==n&&n!==e){if(null===t)n.isEmpty()||(i+=n.invokingState);else{var r=n.ruleIndex,o=r>=0&&r<t.length?t[r]:""+r;i+=o}null===n.parentCtx||null===t&&n.parentCtx.isEmpty()||(i+=" "),n=n.parentCtx}return i+="]",i}},5319:(t,e)=>{function n(){return 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,this}function i(t,e,r,o,s){return n.call(this),this.source=void 0!==t?t:i.EMPTY_SOURCE,this.type=void 0!==e?e:null,this.channel=void 0!==r?r:n.DEFAULT_CHANNEL,this.start=void 0!==o?o:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=t[0].line,this.column=t[0].column):this.column=-1,this}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,Object.defineProperty(n.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t}}),n.prototype.getTokenSource=function(){return this.source[0]},n.prototype.getInputStream=function(){return this.source[1]},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.EMPTY_SOURCE=[null,null],i.prototype.clone=function(){var t=new i(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},Object.defineProperty(i.prototype,"text",{get:function(){if(null!==this._text)return this._text;var t=this.getInputStream();if(null===t)return null;var e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"},set:function(t){this._text=t}}),i.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=n,e.CommonToken=i},8561:(t,e)=>{function n(t){return"["+t.join(", ")+"]"}function i(t,e){return t.equals(e)}function r(t){return t.hashCode()}function o(t,e){return this.data={},this.hashFunction=t||r,this.equalsFunction=e||i,this}function s(){return this.data=[],this}function a(t,e){return this.data={},this.hashFunction=t||r,this.equalsFunction=e||i,this}function u(){return this.data={},this}function c(t){return this.defaultMapCtor=t||a,this.cacheMap=new this.defaultMapCtor,this}function l(){return this.count=0,this.hash=0,this}function M(){var t=new l;return t.update.apply(t,arguments),t.finish()}function p(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"·")),t}function h(t){return t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1)}))}function g(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!=e[n]&&!t[n].equals(e[n]))return!1;return!0}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var t,e,n,i,r,o,s,a,u=this.toString();t=3&u.length,e=u.length-t,n=String.prototype.seed,r=3432918353,o=461845907,a=0;while(a<e)s=255&u.charCodeAt(a)|(255&u.charCodeAt(++a))<<8|(255&u.charCodeAt(++a))<<16|(255&u.charCodeAt(++a))<<24,++a,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*o+(((s>>>16)*o&65535)<<16)&4294967295,n^=s,n=n<<13|n>>>19,i=5*(65535&n)+((5*(n>>>16)&65535)<<16)&4294967295,n=27492+(65535&i)+((58964+(i>>>16)&65535)<<16);switch(s=0,t){case 3:s^=(255&u.charCodeAt(a+2))<<16;case 2:s^=(255&u.charCodeAt(a+1))<<8;case 1:s^=255&u.charCodeAt(a),s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*o+(((s>>>16)*o&65535)<<16)&4294967295,n^=s}return n^=u.length,n^=n>>>16,n=2246822507*(65535&n)+((2246822507*(n>>>16)&65535)<<16)&4294967295,n^=n>>>13,n=3266489909*(65535&n)+((3266489909*(n>>>16)&65535)<<16)&4294967295,n^=n>>>16,n>>>0},Object.defineProperty(o.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),o.prototype.add=function(t){var e=this.hashFunction(t),n="hash_"+e;if(n in this.data){for(var i=this.data[n],r=0;r<i.length;r++)if(this.equalsFunction(t,i[r]))return i[r];return i.push(t),t}return this.data[n]=[t],t},o.prototype.contains=function(t){return null!=this.get(t)},o.prototype.get=function(t){var e=this.hashFunction(t),n="hash_"+e;if(n in this.data)for(var i=this.data[n],r=0;r<i.length;r++)if(this.equalsFunction(t,i[r]))return i[r];return null},o.prototype.values=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},o.prototype.toString=function(){return n(this.values())},s.prototype.add=function(t){this.data[t]=!0},s.prototype.or=function(t){var e=this;Object.keys(t.data).map((function(t){e.add(t)}))},s.prototype.remove=function(t){delete this.data[t]},s.prototype.contains=function(t){return!0===this.data[t]},s.prototype.values=function(){return Object.keys(this.data)},s.prototype.minValue=function(){return Math.min.apply(null,this.values())},s.prototype.hashCode=function(){var t=new l;return t.update(this.values()),t.finish()},s.prototype.equals=function(t){return t instanceof s&&this.hashCode()===t.hashCode()},Object.defineProperty(s.prototype,"length",{get:function(){return this.values().length}}),s.prototype.toString=function(){return"{"+this.values().join(", ")+"}"},Object.defineProperty(a.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),a.prototype.put=function(t,e){var n="hash_"+this.hashFunction(t);if(n in this.data){for(var i=this.data[n],r=0;r<i.length;r++){var o=i[r];if(this.equalsFunction(t,o.key)){var s=o.value;return o.value=e,s}}return i.push({key:t,value:e}),e}return this.data[n]=[{key:t,value:e}],e},a.prototype.containsKey=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var n=this.data[e],i=0;i<n.length;i++){var r=n[i];if(this.equalsFunction(t,r.key))return!0}return!1},a.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var n=this.data[e],i=0;i<n.length;i++){var r=n[i];if(this.equalsFunction(t,r.key))return r.value}return null},a.prototype.entries=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},a.prototype.getKeys=function(){return this.entries().map((function(t){return t.key}))},a.prototype.getValues=function(){return this.entries().map((function(t){return t.value}))},a.prototype.toString=function(){var t=this.entries().map((function(t){return"{"+t.key+":"+t.value+"}"}));return"["+t.join(", ")+"]"},u.prototype.get=function(t){return t="k-"+t,t in this.data?this.data[t]:null},u.prototype.put=function(t,e){t="k-"+t,this.data[t]=e},u.prototype.values=function(){var t=this.data,e=Object.keys(this.data);return e.map((function(e){return t[e]}))},l.prototype.update=function(){for(var t=0;t<arguments.length;t++){var e=arguments[t];if(null!=e)if(Array.isArray(e))this.update.apply(this,e);else{var n=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":n=e;break;case"string":n=e.hashCode();break;default:e.updateHashCode?e.updateHashCode(this):console.log("No updateHashCode for "+e.toString());continue}n*=3432918353,n=n<<15|n>>>17,n*=461845907,this.count=this.count+1;var i=this.hash^n;i=i<<13|i>>>19,i=5*i+3864292196,this.hash=i}}},l.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,t*=3266489909,t^=t>>>16,t},c.prototype.get=function(t,e){var n=this.cacheMap.get(t)||null;return null===n?null:n.get(e)||null},c.prototype.set=function(t,e,n){var i=this.cacheMap.get(t)||null;null===i&&(i=new this.defaultMapCtor,this.cacheMap.put(t,i)),i.put(e,n)},e.Hash=l,e.Set=o,e.Map=a,e.BitSet=s,e.AltDict=u,e.DoubleDict=c,e.hashStuff=M,e.escapeWhitespace=p,e.arrayToString=n,e.titleCase=h,e.equalArrays=g},3600:(t,e,n)=>{var i=n(670).u,r=n(4088).V;function o(t,e){return 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=[],this}o.prototype.nextTokensInContext=function(t,e){var n=new i(this);return n.LOOK(t,null,e)},o.prototype.nextTokensNoContext=function(t){return null!==t.nextTokenWithinRule||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule},o.prototype.nextTokens=function(t,e){return void 0===e?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)},o.prototype.addState=function(t){null!==t&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)},o.prototype.removeState=function(t){this.states[t.stateNumber]=null},o.prototype.defineDecisionState=function(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision},o.prototype.getDecisionState=function(t){return 0===this.decisionToState.length?null:this.decisionToState[t]};var s=n(5319).Token;o.prototype.getExpectedTokens=function(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";var n=this.states[t],i=this.nextTokens(n);if(!i.contains(s.EPSILON))return i;var o=new r;o.addSet(i),o.removeOne(s.EPSILON);while(null!==e&&e.invokingState>=0&&i.contains(s.EPSILON)){var a=this.states[e.invokingState],u=a.transitions[0];i=this.nextTokens(u.followState),o.addSet(i),o.removeOne(s.EPSILON),e=e.parentCtx}return i.contains(s.EPSILON)&&o.addOne(s.EOF),o},o.INVALID_ALT_NUMBER=0,e.ATN=o},3864:(t,e,n)=>{var i=n(9215).DecisionState,r=n(2105).dP,o=n(8561).Hash;function s(t,e){if(null===t){var n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}var i={};return i.state=t.state||null,i.alt=void 0===t.alt?null:t.alt,i.context=t.context||null,i.semanticContext=t.semanticContext||null,e&&(i.reachesIntoOuterContext=t.reachesIntoOuterContext||0,i.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),i}function a(t,e){return this.checkContext(t,e),t=s(t),e=s(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:r.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function u(t,e){a.call(this,t,e);var n=t.lexerActionExecutor||null;return this.lexerActionExecutor=n||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}a.prototype.checkContext=function(t,e){null!==t.context&&void 0!==t.context||null!==e&&null!==e.context&&void 0!==e.context||(this.context=null)},a.prototype.hashCode=function(){var t=new o;return this.updateHashCode(t),t.finish()},a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},a.prototype.equals=function(t){return this===t||t instanceof a&&(this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed)},a.prototype.hashCodeForConfigSet=function(){var t=new o;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},a.prototype.equalsForConfigSet=function(t){return this===t||t instanceof a&&(this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext))},a.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==r.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},u.prototype.equals=function(t){return this===t||t instanceof u&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&a.prototype.equals.call(this,t)},u.prototype.hashCodeForConfigSet=u.prototype.hashCode,u.prototype.equalsForConfigSet=u.prototype.equals,u.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof i&&e.nonGreedy},e.m=a,e.P=u},8254:(t,e,n)=>{var i=n(3600).ATN,r=n(8561),o=r.Hash,s=r.Set,a=n(2105).dP,u=n(8758).merge;function c(t){return t.hashCodeForConfigSet()}function l(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function M(t){return this.configLookup=new s(c,l),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function p(){return M.call(this),this.configLookup=new s,this}M.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==a.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(t);if(n===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var i=!this.fullCtx,r=u(n.context,t.context,i,e);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=r,!0},M.prototype.getStates=function(){for(var t=new s,e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t},M.prototype.getPredicates=function(){for(var t=[],e=0;e<this.configs.length;e++){var n=this.configs[e].semanticContext;n!==a.NONE&&t.push(n.semanticContext)}return t},Object.defineProperty(M.prototype,"items",{get:function(){return this.configs}}),M.prototype.optimizeConfigs=function(t){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var e=0;e<this.configs.length;e++){var n=this.configs[e];n.context=t.getCachedContext(n.context)}},M.prototype.addAll=function(t){for(var e=0;e<t.length;e++)this.add(t[e]);return!1},M.prototype.equals=function(t){return this===t||t instanceof M&&r.equalArrays(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext},M.prototype.hashCode=function(){var t=new o;return t.update(this.configs),t.finish()},M.prototype.updateHashCode=function(t){this.readOnly?(-1===this.cachedHashCode&&(this.cachedHashCode=this.hashCode()),t.update(this.cachedHashCode)):t.update(this.hashCode())},Object.defineProperty(M.prototype,"length",{get:function(){return this.configs.length}}),M.prototype.isEmpty=function(){return 0===this.configs.length},M.prototype.contains=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)},M.prototype.containsFast=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)},M.prototype.clear=function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new s},M.prototype.setReadonly=function(t){this.readOnly=t,t&&(this.configLookup=null)},M.prototype.toString=function(){return r.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==i.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")},p.prototype=Object.create(M.prototype),p.prototype.constructor=p,e.B=M,e.s=p},6477:(t,e)=>{function n(t){return void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions,this}n.defaultOptions=new n,n.defaultOptions.readOnly=!0,e.W=n},8833:(t,e,n)=>{var i=n(5319).Token,r=n(3600).ATN,o=n(1463).n,s=n(9215),a=s.ATNState,u=s.BasicState,c=s.DecisionState,l=s.BlockStartState,M=s.BlockEndState,p=s.LoopEndState,h=s.RuleStartState,g=s.RuleStopState,N=s.TokensStartState,D=s.PlusLoopbackState,I=s.StarLoopbackState,y=s.StarLoopEntryState,d=s.PlusBlockStartState,T=s.StarBlockStartState,x=s.BasicBlockStartState,L=n(5099),j=L.Transition,f=L.AtomTransition,w=L.SetTransition,E=L.NotSetTransition,A=L.RuleTransition,C=L.RangeTransition,S=L.ActionTransition,z=L.EpsilonTransition,v=L.WildcardTransition,m=L.PredicateTransition,O=L.PrecedencePredicateTransition,b=n(4088).V,k=(n(4088).Interval,n(6477).W),_=n(7653),R=_.LexerActionType,U=_.LexerSkipAction,Y=_.LexerChannelAction,P=_.LexerCustomAction,Q=_.LexerMoreAction,B=_.LexerTypeAction,Z=_.LexerPushModeAction,G=_.LexerPopModeAction,F=_.LexerModeAction,H="AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",W="59627784-3BE5-417A-B9EB-8131A7286089",V=[H,W],X=3,J=W;function $(t,e){var n=[];return n[t-1]=e,n.map((function(t){return e}))}function K(t){return void 0!==t&&null!==t||(t=k.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null,this}function q(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}K.prototype.isFeatureSupported=function(t,e){var n=V.indexOf(t);if(n<0)return!1;var i=V.indexOf(e);return i>=n},K.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var n=[];return this.readSets(e,n,this.readInt.bind(this)),this.isFeatureSupported(W,this.uuid)&&this.readSets(e,n,this.readInt32.bind(this)),this.readEdges(e,n),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===o.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},K.prototype.reset=function(t){var e=function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65534},n=t.split("").map(e);n[0]=t.charCodeAt(0),this.data=n,this.pos=0},K.prototype.checkVersion=function(){var t=this.readInt();if(t!==X)throw"Could not deserialize ATN with version "+t+" (expected "+X+")."},K.prototype.checkUUID=function(){var t=this.readUUID();if(V.indexOf(t)<0)throw J;this.uuid=t},K.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new r(t,e)},K.prototype.readStates=function(t){for(var e,n,i,r=[],o=[],s=this.readInt(),u=0;u<s;u++){var c=this.readInt();if(c!==a.INVALID_TYPE){var M=this.readInt();65535===M&&(M=-1);var p=this.stateFactory(c,M);if(c===a.LOOP_END){var h=this.readInt();r.push([p,h])}else if(p instanceof l){var g=this.readInt();o.push([p,g])}t.addState(p)}else t.addState(null)}for(e=0;e<r.length;e++)n=r[e],n[0].loopBackState=t.states[n[1]];for(e=0;e<o.length;e++)n=o[e],n[0].endState=t.states[n[1]];var N=this.readInt();for(e=0;e<N;e++)i=this.readInt(),t.states[i].nonGreedy=!0;var D=this.readInt();for(e=0;e<D;e++)i=this.readInt(),t.states[i].isPrecedenceRule=!0},K.prototype.readRules=function(t){var e,n=this.readInt();for(t.grammarType===o.LEXER&&(t.ruleToTokenType=$(n,0)),t.ruleToStartState=$(n,0),e=0;e<n;e++){var r=this.readInt(),s=t.states[r];if(t.ruleToStartState[e]=s,t.grammarType===o.LEXER){var a=this.readInt();65535===a&&(a=i.EOF),t.ruleToTokenType[e]=a}}for(t.ruleToStopState=$(n,0),e=0;e<t.states.length;e++){var u=t.states[e];u instanceof g&&(t.ruleToStopState[u.ruleIndex]=u,t.ruleToStartState[u.ruleIndex].stopState=u)}},K.prototype.readModes=function(t){for(var e=this.readInt(),n=0;n<e;n++){var i=this.readInt();t.modeToStartState.push(t.states[i])}},K.prototype.readSets=function(t,e,n){for(var i=this.readInt(),r=0;r<i;r++){var o=new b;e.push(o);var s=this.readInt(),a=this.readInt();0!==a&&o.addOne(-1);for(var u=0;u<s;u++){var c=n(),l=n();o.addRange(c,l)}}},K.prototype.readEdges=function(t,e){var n,i,r,o,s,a=this.readInt();for(n=0;n<a;n++){var u=this.readInt(),c=this.readInt(),M=this.readInt(),p=this.readInt(),h=this.readInt(),g=this.readInt();o=this.edgeFactory(t,M,u,c,p,h,g,e);var N=t.states[u];N.addTransition(o)}for(n=0;n<t.states.length;n++)for(r=t.states[n],i=0;i<r.transitions.length;i++){var T=r.transitions[i];if(T instanceof A){var x=-1;t.ruleToStartState[T.target.ruleIndex].isPrecedenceRule&&0===T.precedence&&(x=T.target.ruleIndex),o=new z(T.followState,x),t.ruleToStopState[T.target.ruleIndex].addTransition(o)}}for(n=0;n<t.states.length;n++){if(r=t.states[n],r instanceof l){if(null===r.endState)throw"IllegalState";if(null!==r.endState.startState)throw"IllegalState";r.endState.startState=r}if(r instanceof D)for(i=0;i<r.transitions.length;i++)s=r.transitions[i].target,s instanceof d&&(s.loopBackState=r);else if(r instanceof I)for(i=0;i<r.transitions.length;i++)s=r.transitions[i].target,s instanceof y&&(s.loopBackState=r)}},K.prototype.readDecisions=function(t){for(var e=this.readInt(),n=0;n<e;n++){var i=this.readInt(),r=t.states[i];t.decisionToState.push(r),r.decision=n}},K.prototype.readLexerActions=function(t){if(t.grammarType===o.LEXER){var e=this.readInt();t.lexerActions=$(e,null);for(var n=0;n<e;n++){var i=this.readInt(),r=this.readInt();65535===r&&(r=-1);var s=this.readInt();65535===s&&(s=-1);var a=this.lexerActionFactory(i,r,s);t.lexerActions[n]=a}}},K.prototype.generateRuleBypassTransitions=function(t){var e,n=t.ruleToStartState.length;for(e=0;e<n;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<n;e++)this.generateRuleBypassTransition(t,e)},K.prototype.generateRuleBypassTransition=function(t,e){var n,i,r=new x;r.ruleIndex=e,t.addState(r);var o=new M;o.ruleIndex=e,t.addState(o),r.endState=o,t.defineDecisionState(r),o.startState=r;var s=null,a=null;if(t.ruleToStartState[e].isPrecedenceRule){for(a=null,n=0;n<t.states.length;n++)if(i=t.states[n],this.stateIsEndStateFor(i,e)){a=i,s=i.loopBackState.transitions[0];break}if(null===s)throw"Couldn't identify final state of the precedence rule prefix section."}else a=t.ruleToStopState[e];for(n=0;n<t.states.length;n++){i=t.states[n];for(var c=0;c<i.transitions.length;c++){var l=i.transitions[c];l!==s&&(l.target===a&&(l.target=o))}}var p=t.ruleToStartState[e],h=p.transitions.length;while(h>0)r.addTransition(p.transitions[h-1]),p.transitions=p.transitions.slice(-1);t.ruleToStartState[e].addTransition(new z(r)),o.addTransition(new z(a));var g=new u;t.addState(g),g.addTransition(new f(o,t.ruleToTokenType[e])),r.addTransition(new z(g))},K.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e)return null;if(!(t instanceof y))return null;var n=t.transitions[t.transitions.length-1].target;return n instanceof p&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof g?t:null},K.prototype.markPrecedenceDecisions=function(t){for(var e=0;e<t.states.length;e++){var n=t.states[e];if(n instanceof y&&t.ruleToStartState[n.ruleIndex].isPrecedenceRule){var i=n.transitions[n.transitions.length-1].target;i instanceof p&&i.epsilonOnlyTransitions&&i.transitions[0].target instanceof g&&(n.isPrecedenceDecision=!0)}}},K.prototype.verifyATN=function(t){if(this.deserializationOptions.verifyATN)for(var e=0;e<t.states.length;e++){var n=t.states[e];if(null!==n)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof d)this.checkCondition(null!==n.loopBackState);else if(n instanceof y)if(this.checkCondition(null!==n.loopBackState),this.checkCondition(2===n.transitions.length),n.transitions[0].target instanceof T)this.checkCondition(n.transitions[1].target instanceof p),this.checkCondition(!n.nonGreedy);else{if(!(n.transitions[0].target instanceof p))throw"IllegalState";this.checkCondition(n.transitions[1].target instanceof T),this.checkCondition(n.nonGreedy)}else n instanceof I?(this.checkCondition(1===n.transitions.length),this.checkCondition(n.transitions[0].target instanceof y)):n instanceof p?this.checkCondition(null!==n.loopBackState):n instanceof h?this.checkCondition(null!==n.stopState):n instanceof l?this.checkCondition(null!==n.endState):n instanceof M?this.checkCondition(null!==n.startState):n instanceof c?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof g)}},K.prototype.checkCondition=function(t,e){if(!t)throw void 0!==e&&null!==e||(e="IllegalState"),e},K.prototype.readInt=function(){return this.data[this.pos++]},K.prototype.readInt32=function(){var t=this.readInt(),e=this.readInt();return t|e<<16},K.prototype.readLong=function(){var t=this.readInt32(),e=this.readInt32();return 4294967295&t|e<<32};var tt=q();K.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var n=this.readInt();t[2*e+1]=255&n,t[2*e]=n>>8&255}return tt[t[0]]+tt[t[1]]+tt[t[2]]+tt[t[3]]+"-"+tt[t[4]]+tt[t[5]]+"-"+tt[t[6]]+tt[t[7]]+"-"+tt[t[8]]+tt[t[9]]+"-"+tt[t[10]]+tt[t[11]]+tt[t[12]]+tt[t[13]]+tt[t[14]]+tt[t[15]]},K.prototype.edgeFactory=function(t,e,n,r,o,s,a,u){var c=t.states[r];switch(e){case j.EPSILON:return new z(c);case j.RANGE:return new C(c,0!==a?i.EOF:o,s);case j.RULE:return new A(t.states[o],s,a,c);case j.PREDICATE:return new m(c,o,s,0!==a);case j.PRECEDENCE:return new O(c,o);case j.ATOM:return new f(c,0!==a?i.EOF:o);case j.ACTION:return new S(c,o,s,0!==a);case j.SET:return new w(c,u[o]);case j.NOT_SET:return new E(c,u[o]);case j.WILDCARD:return new v(c);default:throw"The specified transition type: "+e+" is not valid."}},K.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var n=[];n[a.INVALID_TYPE]=null,n[a.BASIC]=function(){return new u},n[a.RULE_START]=function(){return new h},n[a.BLOCK_START]=function(){return new x},n[a.PLUS_BLOCK_START]=function(){return new d},n[a.STAR_BLOCK_START]=function(){return new T},n[a.TOKEN_START]=function(){return new N},n[a.RULE_STOP]=function(){return new g},n[a.BLOCK_END]=function(){return new M},n[a.STAR_LOOP_BACK]=function(){return new I},n[a.STAR_LOOP_ENTRY]=function(){return new y},n[a.PLUS_LOOP_BACK]=function(){return new D},n[a.LOOP_END]=function(){return new p},this.stateFactories=n}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var i=this.stateFactories[t]();if(null!==i)return i.ruleIndex=e,i},K.prototype.lexerActionFactory=function(t,e,n){if(null===this.actionFactories){var i=[];i[R.CHANNEL]=function(t,e){return new Y(t)},i[R.CUSTOM]=function(t,e){return new P(t,e)},i[R.MODE]=function(t,e){return new F(t)},i[R.MORE]=function(t,e){return Q.INSTANCE},i[R.POP_MODE]=function(t,e){return G.INSTANCE},i[R.PUSH_MODE]=function(t,e){return new Z(t)},i[R.SKIP]=function(t,e){return U.INSTANCE},i[R.TYPE]=function(t,e){return new B(t)},this.actionFactories=i}if(t>this.actionFactories.length||null===this.actionFactories[t])throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,n)},e.ATNDeserializer=K},1332:(t,e,n)=>{var i=n(2603).B,r=n(8254).B,o=n(8758).getCachedPredictionContext,s=n(8561).Map;function a(t,e){return this.atn=t,this.sharedContextCache=e,this}a.ERROR=new i(2147483647,new r),a.prototype.getCachedContext=function(t){if(null===this.sharedContextCache)return t;var e=new s;return o(t,this.sharedContextCache,e)},e.f=a},9215:(t,e)=>{function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function i(){return n.call(this),this.stateType=n.BASIC,this}function r(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function o(){return r.call(this),this.endState=null,this}function s(){return o.call(this),this.stateType=n.BLOCK_START,this}function a(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function u(){return n.call(this),this.stateType=n.RULE_STOP,this}function c(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function l(){return r.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function M(){return o.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function p(){return o.call(this),this.stateType=n.STAR_BLOCK_START,this}function h(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function g(){return r.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function N(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function D(){return r.call(this),this.stateType=n.TOKEN_START,this}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,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(t){return t instanceof n&&this.stateNumber===t.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,r.prototype=Object.create(n.prototype),r.prototype.constructor=r,o.prototype=Object.create(r.prototype),o.prototype.constructor=o,s.prototype=Object.create(o.prototype),s.prototype.constructor=s,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,u.prototype=Object.create(n.prototype),u.prototype.constructor=u,c.prototype=Object.create(n.prototype),c.prototype.constructor=c,l.prototype=Object.create(r.prototype),l.prototype.constructor=l,M.prototype=Object.create(o.prototype),M.prototype.constructor=M,p.prototype=Object.create(o.prototype),p.prototype.constructor=p,h.prototype=Object.create(n.prototype),h.prototype.constructor=h,g.prototype=Object.create(r.prototype),g.prototype.constructor=g,N.prototype=Object.create(n.prototype),N.prototype.constructor=N,D.prototype=Object.create(r.prototype),D.prototype.constructor=D,e.ATNState=n,e.BasicState=i,e.DecisionState=r,e.BlockStartState=o,e.BlockEndState=a,e.LoopEndState=N,e.RuleStartState=c,e.RuleStopState=u,e.TokensStartState=D,e.PlusLoopbackState=l,e.StarLoopbackState=h,e.StarLoopEntryState=g,e.PlusBlockStartState=M,e.StarBlockStartState=p,e.BasicBlockStartState=s},1463:(t,e)=>{function n(){}n.LEXER=0,n.PARSER=1,e.n=n},5145:(t,e,n)=>{var i=n(5319).Token,r=n(4412).Lexer,o=n(3600).ATN,s=n(1332).f,a=n(2603).B,u=(n(8254).B,n(8254).s),c=n(8758).PredictionContext,l=n(8758).SingletonPredictionContext,M=n(9215).RuleStopState,p=n(3864).P,h=n(5099).Transition,g=n(5934).W,N=n(2874).LexerNoViableAltException;function D(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function I(){return D(this),this}function y(t,e,n,i){return s.call(this,e,i),this.decisionToDFA=n,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=r.DEFAULT_MODE,this.prevAccept=new I,this}I.prototype.reset=function(){D(this)},y.prototype=Object.create(s.prototype),y.prototype.constructor=y,y.debug=!1,y.dfa_debug=!1,y.MIN_DFA_EDGE=0,y.MAX_DFA_EDGE=127,y.match_calls=0,y.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},y.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var n=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var i=this.decisionToDFA[e];return null===i.s0?this.matchATN(t):this.execATN(t,i.s0)}finally{t.release(n)}},y.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=r.DEFAULT_MODE},y.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];y.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var n=this.mode,i=this.computeStartState(t,e),r=i.hasSemanticContext;i.hasSemanticContext=!1;var o=this.addDFAState(i);r||(this.decisionToDFA[this.mode].s0=o);var s=this.execATN(t,o);return y.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),s},y.prototype.execATN=function(t,e){y.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);var n=t.LA(1),r=e;while(1){y.debug&&console.log("execATN loop starting closure: "+r.configs);var o=this.getExistingTargetState(r,n);if(null===o&&(o=this.computeTargetState(t,r,n)),o===s.ERROR)break;if(n!==i.EOF&&this.consume(t),o.isAcceptState&&(this.captureSimState(this.prevAccept,t,o),n===i.EOF))break;n=t.LA(1),r=o}return this.failOrAccept(this.prevAccept,t,r.configs,n)},y.prototype.getExistingTargetState=function(t,e){if(null===t.edges||e<y.MIN_DFA_EDGE||e>y.MAX_DFA_EDGE)return null;var n=t.edges[e-y.MIN_DFA_EDGE];return void 0===n&&(n=null),y.debug&&null!==n&&console.log("reuse state "+t.stateNumber+" edge to "+n.stateNumber),n},y.prototype.computeTargetState=function(t,e,n){var i=new u;return this.getReachableConfigSet(t,e.configs,i,n),0===i.items.length?(i.hasSemanticContext||this.addDFAEdge(e,n,s.ERROR),s.ERROR):this.addDFAEdge(e,n,null,i)},y.prototype.failOrAccept=function(t,e,n,r){if(null!==this.prevAccept.dfaState){var o=t.dfaState.lexerActionExecutor;return this.accept(e,o,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(r===i.EOF&&e.index===this.startIndex)return i.EOF;throw new N(this.recog,e,this.startIndex,n)},y.prototype.getReachableConfigSet=function(t,e,n,r){for(var s=o.INVALID_ALT_NUMBER,a=0;a<e.items.length;a++){var u=e.items[a],c=u.alt===s;if(!c||!u.passedThroughNonGreedyDecision){y.debug&&console.log("testing %s at %s\n",this.getTokenName(r),u.toString(this.recog,!0));for(var l=0;l<u.state.transitions.length;l++){var M=u.state.transitions[l],h=this.getReachableTarget(M,r);if(null!==h){var g=u.lexerActionExecutor;null!==g&&(g=g.fixOffsetBeforeMatch(t.index-this.startIndex));var N=r===i.EOF,D=new p({state:h,lexerActionExecutor:g},u);this.closure(t,D,n,c,!0,N)&&(s=u.alt)}}}}},y.prototype.accept=function(t,e,n,i,r,o){y.debug&&console.log("ACTION %s\n",e),t.seek(i),this.line=r,this.column=o,null!==e&&null!==this.recog&&e.execute(this.recog,t,n)},y.prototype.getReachableTarget=function(t,e){return t.matches(e,0,r.MAX_CHAR_VALUE)?t.target:null},y.prototype.computeStartState=function(t,e){for(var n=c.EMPTY,i=new u,r=0;r<e.transitions.length;r++){var o=e.transitions[r].target,s=new p({state:o,alt:r+1,context:n},null);this.closure(t,s,i,!1,!1,!1)}return i},y.prototype.closure=function(t,e,n,i,r,o){var s=null;if(y.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof M){if(y.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[e.state.ruleIndex],e):console.log("closure at rule stop %s\n",e)),null===e.context||e.context.hasEmptyPath()){if(null===e.context||e.context.isEmpty())return n.add(e),!0;n.add(new p({state:e.state,context:c.EMPTY},e)),i=!0}if(null!==e.context&&!e.context.isEmpty())for(var a=0;a<e.context.length;a++)if(e.context.getReturnState(a)!==c.EMPTY_RETURN_STATE){var u=e.context.getParent(a),l=this.atn.states[e.context.getReturnState(a)];s=new p({state:l,context:u},e),i=this.closure(t,s,n,i,r,o)}return i}e.state.epsilonOnlyTransitions||i&&e.passedThroughNonGreedyDecision||n.add(e);for(var h=0;h<e.state.transitions.length;h++){var g=e.state.transitions[h];s=this.getEpsilonTarget(t,e,g,n,r,o),null!==s&&(i=this.closure(t,s,n,i,r,o))}return i},y.prototype.getEpsilonTarget=function(t,e,n,o,s,a){var u=null;if(n.serializationType===h.RULE){var c=l.create(e.context,n.followState.stateNumber);u=new p({state:n.target,context:c},e)}else{if(n.serializationType===h.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(n.serializationType===h.PREDICATE)y.debug&&console.log("EVAL rule "+n.ruleIndex+":"+n.predIndex),o.hasSemanticContext=!0,this.evaluatePredicate(t,n.ruleIndex,n.predIndex,s)&&(u=new p({state:n.target},e));else if(n.serializationType===h.ACTION)if(null===e.context||e.context.hasEmptyPath()){var M=g.append(e.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);u=new p({state:n.target,lexerActionExecutor:M},e)}else u=new p({state:n.target},e);else n.serializationType===h.EPSILON?u=new p({state:n.target},e):n.serializationType!==h.ATOM&&n.serializationType!==h.RANGE&&n.serializationType!==h.SET||a&&n.matches(i.EOF,0,r.MAX_CHAR_VALUE)&&(u=new p({state:n.target},e))}return u},y.prototype.evaluatePredicate=function(t,e,n,i){if(null===this.recog)return!0;if(!i)return this.recog.sempred(null,e,n);var r=this.column,o=this.line,s=t.index,a=t.mark();try{return this.consume(t),this.recog.sempred(null,e,n)}finally{this.column=r,this.line=o,t.seek(s),t.release(a)}},y.prototype.captureSimState=function(t,e,n){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=n},y.prototype.addDFAEdge=function(t,e,n,i){if(void 0===n&&(n=null),void 0===i&&(i=null),null===n&&null!==i){var r=i.hasSemanticContext;if(i.hasSemanticContext=!1,n=this.addDFAState(i),r)return n}return e<y.MIN_DFA_EDGE||e>y.MAX_DFA_EDGE||(y.debug&&console.log("EDGE "+t+" -> "+n+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-y.MIN_DFA_EDGE]=n),n},y.prototype.addDFAState=function(t){for(var e=new a(null,t),n=null,i=0;i<t.items.length;i++){var r=t.items[i];if(r.state instanceof M){n=r;break}}null!==n&&(e.isAcceptState=!0,e.lexerActionExecutor=n.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[n.state.ruleIndex]);var o=this.decisionToDFA[this.mode],s=o.states.get(e);if(null!==s)return s;var u=e;return u.stateNumber=o.states.length,t.setReadonly(!0),u.configs=t,o.states.add(u),u},y.prototype.getDFA=function(t){return this.decisionToDFA[t]},y.prototype.getText=function(t){return t.getText(this.startIndex,t.index-1)},y.prototype.consume=function(t){var e=t.LA(1);e==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()},y.prototype.getTokenName=function(t){return-1===t?"EOF":"'"+String.fromCharCode(t)+"'"},e.LexerATNSimulator=y},7653:(t,e)=>{function n(){}function i(t){return this.actionType=t,this.isPositionDependent=!1,this}function r(){return i.call(this,n.SKIP),this}function o(t){return i.call(this,n.TYPE),this.type=t,this}function s(t){return i.call(this,n.PUSH_MODE),this.mode=t,this}function a(){return i.call(this,n.POP_MODE),this}function u(){return i.call(this,n.MORE),this}function c(t){return i.call(this,n.MODE),this.mode=t,this}function l(t,e){return i.call(this,n.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0,this}function M(t){return i.call(this,n.CHANNEL),this.channel=t,this}function p(t,e){return i.call(this,e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0,this}n.CHANNEL=0,n.CUSTOM=1,n.MODE=2,n.MORE=3,n.POP_MODE=4,n.PUSH_MODE=5,n.SKIP=6,n.TYPE=7,i.prototype.hashCode=function(){var t=new Hash;return this.updateHashCode(t),t.finish()},i.prototype.updateHashCode=function(t){t.update(this.actionType)},i.prototype.equals=function(t){return this===t},r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.INSTANCE=new r,r.prototype.execute=function(t){t.skip()},r.prototype.toString=function(){return"skip"},o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.execute=function(t){t.type=this.type},o.prototype.updateHashCode=function(t){t.update(this.actionType,this.type)},o.prototype.equals=function(t){return this===t||t instanceof o&&this.type===t.type},o.prototype.toString=function(){return"type("+this.type+")"},s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.execute=function(t){t.pushMode(this.mode)},s.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.mode===t.mode},s.prototype.toString=function(){return"pushMode("+this.mode+")"},a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.INSTANCE=new a,a.prototype.execute=function(t){t.popMode()},a.prototype.toString=function(){return"popMode"},u.prototype=Object.create(i.prototype),u.prototype.constructor=u,u.INSTANCE=new u,u.prototype.execute=function(t){t.more()},u.prototype.toString=function(){return"more"},c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.prototype.execute=function(t){t.mode(this.mode)},c.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},c.prototype.equals=function(t){return this===t||t instanceof c&&this.mode===t.mode},c.prototype.toString=function(){return"mode("+this.mode+")"},l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.execute=function(t){t.action(null,this.ruleIndex,this.actionIndex)},l.prototype.updateHashCode=function(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)},l.prototype.equals=function(t){return this===t||t instanceof l&&(this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex)},M.prototype=Object.create(i.prototype),M.prototype.constructor=M,M.prototype.execute=function(t){t._channel=this.channel},M.prototype.updateHashCode=function(t){t.update(this.actionType,this.channel)},M.prototype.equals=function(t){return this===t||t instanceof M&&this.channel===t.channel},M.prototype.toString=function(){return"channel("+this.channel+")"},p.prototype=Object.create(i.prototype),p.prototype.constructor=p,p.prototype.execute=function(t){this.action.execute(t)},p.prototype.updateHashCode=function(t){t.update(this.actionType,this.offset,this.action)},p.prototype.equals=function(t){return this===t||t instanceof p&&(this.offset===t.offset&&this.action===t.action)},e.LexerActionType=n,e.LexerSkipAction=r,e.LexerChannelAction=M,e.LexerCustomAction=l,e.LexerIndexedCustomAction=p,e.LexerMoreAction=u,e.LexerTypeAction=o,e.LexerPushModeAction=s,e.LexerPopModeAction=a,e.LexerModeAction=c},5934:(t,e,n)=>{var i=n(8561).hashStuff,r=n(7653).LexerIndexedCustomAction;function o(t){return this.lexerActions=null===t?[]:t,this.cachedHashCode=i(t),this}o.append=function(t,e){if(null===t)return new o([e]);var n=t.lexerActions.concat([e]);return new o(n)},o.prototype.fixOffsetBeforeMatch=function(t){for(var e=null,n=0;n<this.lexerActions.length;n++)!this.lexerActions[n].isPositionDependent||this.lexerActions[n]instanceof r||(null===e&&(e=this.lexerActions.concat([])),e[n]=new r(t,this.lexerActions[n]));return null===e?this:new o(e)},o.prototype.execute=function(t,e,n){var i=!1,o=e.index;try{for(var s=0;s<this.lexerActions.length;s++){var a=this.lexerActions[s];if(a instanceof r){var u=a.offset;e.seek(n+u),a=a.action,i=n+u!==o}else a.isPositionDependent&&(e.seek(o),i=!1);a.execute(t)}}finally{i&&e.seek(o)}},o.prototype.hashCode=function(){return this.cachedHashCode},o.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},o.prototype.equals=function(t){if(this===t)return!0;if(t instanceof o){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;for(var e=this.lexerActions.length,n=0;n<e;++n)if(!this.lexerActions[n].equals(t.lexerActions[n]))return!1;return!0}return!1},e.W=o},1807:(t,e,n)=>{var i=n(8561),r=i.Set,o=i.BitSet,s=i.DoubleDict,a=n(3600).ATN,u=n(9215).ATNState,c=n(3864).m,l=n(8254).B,M=n(5319).Token,p=n(2603).B,h=n(2603).PredPrediction,g=n(1332).f,N=n(8895).PredictionMode,D=n(8738).r,I=(n(5082).ParserRuleContext,n(2105).dP),y=(n(9215).StarLoopEntryState,n(9215).RuleStopState),d=n(8758).PredictionContext,T=n(4088).Interval,x=n(5099),L=x.Transition,j=x.SetTransition,f=x.NotSetTransition,w=x.RuleTransition,E=x.ActionTransition,A=n(2874).NoViableAltException,C=n(8758).SingletonPredictionContext,S=n(8758).predictionContextFromRuleContext;function z(t,e,n,i){return g.call(this,e,i),this.parser=t,this.decisionToDFA=n,this.predictionMode=N.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}z.prototype=Object.create(g.prototype),z.prototype.constructor=z,z.prototype.debug=!1,z.prototype.debug_closure=!1,z.prototype.debug_add=!1,z.prototype.debug_list_atn_decisions=!1,z.prototype.dfa_debug=!1,z.prototype.retry_debug=!1,z.prototype.reset=function(){},z.prototype.adaptivePredict=function(t,e,n){(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=n;var i=this.decisionToDFA[e];this._dfa=i;var r=t.mark(),o=t.index;try{var s;if(s=i.precedenceDfa?i.getPrecedenceStartState(this.parser.getPrecedence()):i.s0,null===s){null===n&&(n=D.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+i.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+n.toString(this.parser.ruleNames));var a=!1,u=this.computeStartState(i.atnStartState,D.EMPTY,a);i.precedenceDfa?(i.s0.configs=u,u=this.applyPrecedenceFilter(u),s=this.addDFAState(i,new p(null,u)),i.setPrecedenceStartState(this.parser.getPrecedence(),s)):(s=this.addDFAState(i,new p(null,u)),i.s0=s)}var c=this.execATN(i,s,t,o,n);return this.debug&&console.log("DFA after predictATN: "+i.toString(this.parser.literalNames)),c}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(r)}},z.prototype.execATN=function(t,e,n,i,r){var o;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(n)+" line "+n.LT(1).line+":"+n.LT(1).column);var s=e;this.debug&&console.log("s0 = "+e);var u=n.LA(1);while(1){var c=this.getExistingTargetState(s,u);if(null===c&&(c=this.computeTargetState(t,s,u)),c===g.ERROR){var l=this.noViableAlt(n,r,s.configs,i);if(n.seek(i),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(s.configs,r),o!==a.INVALID_ALT_NUMBER)return o;throw l}if(c.requiresFullContext&&this.predictionMode!==N.SLL){var p=null;if(null!==c.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var h=n.index;if(h!==i&&n.seek(i),p=this.evalSemanticContext(c.predicates,r,!0),1===p.length)return this.debug&&console.log("Full LL avoided"),p.minValue();h!==i&&n.seek(h)}this.dfa_debug&&console.log("ctx sensitive state "+r+" in "+c);var D=!0,I=this.computeStartState(t.atnStartState,r,D);return this.reportAttemptingFullContext(t,p,c.configs,i,n.index),o=this.execATNWithFullContext(t,c,I,n,i,r),o}if(c.isAcceptState){if(null===c.predicates)return c.prediction;var y=n.index;n.seek(i);var d=this.evalSemanticContext(c.predicates,r,!0);if(0===d.length)throw this.noViableAlt(n,r,c.configs,i);return 1===d.length||this.reportAmbiguity(t,c,i,y,!1,d,c.configs),d.minValue()}s=c,u!==M.EOF&&(n.consume(),u=n.LA(1))}},z.prototype.getExistingTargetState=function(t,e){var n=t.edges;return null===n?null:n[e+1]||null},z.prototype.computeTargetState=function(t,e,n){var r=this.computeReachSet(e.configs,n,!1);if(null===r)return this.addDFAEdge(t,e,n,g.ERROR),g.ERROR;var o=new p(null,r),s=this.getUniqueAlt(r);if(this.debug){var u=N.getConflictingAltSubsets(r);console.log("SLL altSubSets="+i.arrayToString(u)+", previous="+e.configs+", configs="+r+", predict="+s+", allSubsetsConflict="+N.allSubsetsConflict(u)+", conflictingAlts="+this.getConflictingAlts(r))}return s!==a.INVALID_ALT_NUMBER?(o.isAcceptState=!0,o.configs.uniqueAlt=s,o.prediction=s):N.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(o.configs.conflictingAlts=this.getConflictingAlts(r),o.requiresFullContext=!0,o.isAcceptState=!0,o.prediction=o.configs.conflictingAlts.minValue()),o.isAcceptState&&o.configs.hasSemanticContext&&(this.predicateDFAState(o,this.atn.getDecisionState(t.decision)),null!==o.predicates&&(o.prediction=a.INVALID_ALT_NUMBER)),o=this.addDFAEdge(t,e,n,o),o},z.prototype.predicateDFAState=function(t,e){var n=e.transitions.length,i=this.getConflictingAltsOrUniqueAlt(t.configs),r=this.getPredsForAmbigAlts(i,t.configs,n);null!==r?(t.predicates=this.getPredicatePredictions(i,r),t.prediction=a.INVALID_ALT_NUMBER):t.prediction=i.minValue()},z.prototype.execATNWithFullContext=function(t,e,n,i,r,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+n);var s=!0,u=!1,c=null,l=n;i.seek(r);var p=i.LA(1),h=-1;while(1){if(c=this.computeReachSet(l,p,s),null===c){var g=this.noViableAlt(i,o,l,r);i.seek(r);var D=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(l,o);if(D!==a.INVALID_ALT_NUMBER)return D;throw g}var I=N.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+I+", predict="+N.getUniqueAlt(I)+", resolvesToJustOneViableAlt="+N.resolvesToJustOneViableAlt(I)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==a.INVALID_ALT_NUMBER){h=c.uniqueAlt;break}if(this.predictionMode!==N.LL_EXACT_AMBIG_DETECTION){if(h=N.resolvesToJustOneViableAlt(I),h!==a.INVALID_ALT_NUMBER)break}else if(N.allSubsetsConflict(I)&&N.allSubsetsEqual(I)){u=!0,h=N.getSingleViableAlt(I);break}l=c,p!==M.EOF&&(i.consume(),p=i.LA(1))}return c.uniqueAlt!==a.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,h,c,r,i.index),h):(this.reportAmbiguity(t,e,r,i.index,u,null,c),h)},z.prototype.computeReachSet=function(t,e,n){this.debug&&console.log("in computeReachSet, starting closure: "+t),null===this.mergeCache&&(this.mergeCache=new s);for(var i=new l(n),o=null,u=0;u<t.items.length;u++){var p=t.items[u];if(this.debug_add&&console.log("testing "+this.getTokenName(e)+" at "+p),p.state instanceof y)(n||e===M.EOF)&&(null===o&&(o=[]),o.push(p),this.debug_add&&console.log("added "+p+" to skippedStopStates"));else for(var h=0;h<p.state.transitions.length;h++){var g=p.state.transitions[h],D=this.getReachableTarget(g,e);if(null!==D){var I=new c({state:D},p);i.add(I,this.mergeCache),this.debug_add&&console.log("added "+I+" to intermediate")}}}var d=null;if(null===o&&e!==M.EOF&&(1===i.items.length||this.getUniqueAlt(i)!==a.INVALID_ALT_NUMBER)&&(d=i),null===d){d=new l(n);for(var T=new r,x=e===M.EOF,L=0;L<i.items.length;L++)this.closure(i.items[L],d,T,!1,n,x)}if(e===M.EOF&&(d=this.removeAllConfigsNotInRuleStopState(d,d===i)),null!==o&&(!n||!N.hasConfigInRuleStopState(d)))for(var j=0;j<o.length;j++)d.add(o[j],this.mergeCache);return 0===d.items.length?null:d},z.prototype.removeAllConfigsNotInRuleStopState=function(t,e){if(N.allConfigsInRuleStopStates(t))return t;for(var n=new l(t.fullCtx),i=0;i<t.items.length;i++){var r=t.items[i];if(r.state instanceof y)n.add(r,this.mergeCache);else if(e&&r.state.epsilonOnlyTransitions){var o=this.atn.nextTokens(r.state);if(o.contains(M.EPSILON)){var s=this.atn.ruleToStopState[r.state.ruleIndex];n.add(new c({state:s},r),this.mergeCache)}}}return n},z.prototype.computeStartState=function(t,e,n){for(var i=S(this.atn,e),o=new l(n),s=0;s<t.transitions.length;s++){var a=t.transitions[s].target,u=new c({state:a,alt:s+1,context:i},null),M=new r;this.closure(u,o,M,!0,n,!1)}return o},z.prototype.applyPrecedenceFilter=function(t){for(var e,n=[],i=new l(t.fullCtx),r=0;r<t.items.length;r++)if(e=t.items[r],1===e.alt){var o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==o&&(n[e.state.stateNumber]=e.context,o!==e.semanticContext?i.add(new c({semanticContext:o},e),this.mergeCache):i.add(e,this.mergeCache))}for(r=0;r<t.items.length;r++)if(e=t.items[r],1!==e.alt){if(!e.precedenceFilterSuppressed){var s=n[e.state.stateNumber]||null;if(null!==s&&s.equals(e.context))continue}i.add(e,this.mergeCache)}return i},z.prototype.getReachableTarget=function(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null},z.prototype.getPredsForAmbigAlts=function(t,e,n){for(var r=[],o=0;o<e.items.length;o++){var s=e.items[o];t.contains(s.alt)&&(r[s.alt]=I.orContext(r[s.alt]||null,s.semanticContext))}var a=0;for(o=1;o<n+1;o++){var u=r[o]||null;null===u?r[o]=I.NONE:u!==I.NONE&&(a+=1)}return 0===a&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+i.arrayToString(r)),r},z.prototype.getPredicatePredictions=function(t,e){for(var n=[],i=!1,r=1;r<e.length;r++){var o=e[r];null!==t&&t.contains(r)&&n.push(new h(o,r)),o!==I.NONE&&(i=!0)}return i?n:null},z.prototype.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule=function(t,e){var n=this.splitAccordingToSemanticValidity(t,e),i=n[0],r=n[1],o=this.getAltThatFinishedDecisionEntryRule(i);return o!==a.INVALID_ALT_NUMBER||r.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(r),o!==a.INVALID_ALT_NUMBER)?o:a.INVALID_ALT_NUMBER},z.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],n=0;n<t.items.length;n++){var i=t.items[n];(i.reachesIntoOuterContext>0||i.state instanceof y&&i.context.hasEmptyPath())&&e.indexOf(i.alt)<0&&e.push(i.alt)}return 0===e.length?a.INVALID_ALT_NUMBER:Math.min.apply(null,e)},z.prototype.splitAccordingToSemanticValidity=function(t,e){for(var n=new l(t.fullCtx),i=new l(t.fullCtx),r=0;r<t.items.length;r++){var o=t.items[r];if(o.semanticContext!==I.NONE){var s=o.semanticContext.evaluate(this.parser,e);s?n.add(o):i.add(o)}else n.add(o)}return[n,i]},z.prototype.evalSemanticContext=function(t,e,n){for(var i=new o,r=0;r<t.length;r++){var s=t[r];if(s.pred!==I.NONE){var a=s.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+s+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+s.alt),i.add(s.alt),!n))break}else if(i.add(s.alt),!n)break}return i},z.prototype.closure=function(t,e,n,i,r,o){var s=0;this.closureCheckingStopState(t,e,n,i,r,s,o)},z.prototype.closureCheckingStopState=function(t,e,n,i,r,o,s){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof y){if(!t.context.isEmpty()){for(var a=0;a<t.context.length;a++)if(t.context.getReturnState(a)!==d.EMPTY_RETURN_STATE){var u=this.atn.states[t.context.getReturnState(a)],l=t.context.getParent(a),M={state:u,alt:t.alt,context:l,semanticContext:t.semanticContext},p=new c(M,null);p.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(p,e,n,i,r,o-1,s)}else{if(r){e.add(new c({state:t.state,context:d.EMPTY},t),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,n,i,r,o,s)}return}if(r)return void e.add(t,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}this.closure_(t,e,n,i,r,o,s)},z.prototype.closure_=function(t,e,n,i,r,o,s){var a=t.state;a.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(var u=0;u<a.transitions.length;u++)if(0!=u||!this.canDropLoopEntryEdgeInLeftRecursiveRule(t)){var c=a.transitions[u],l=i&&!(c instanceof E),M=this.getEpsilonTarget(t,c,l,0===o,r,s);if(null!==M){var p=o;if(t.state instanceof y){if(null!==this._dfa&&this._dfa.precedenceDfa&&c.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(M.precedenceFilterSuppressed=!0),M.reachesIntoOuterContext+=1,n.add(M)!==M)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+M)}else{if(!c.isEpsilon&&n.add(M)!==M)continue;c instanceof w&&p>=0&&(p+=1)}this.closureCheckingStopState(M,e,n,l,r,p,s)}}},z.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=u.STAR_LOOP_ENTRY)return!1;if(e.stateType!=u.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var n=t.context.length,i=0;i<n;i++){var r=this.atn.states[t.context.getReturnState(i)];if(r.ruleIndex!=e.ruleIndex)return!1}var o=e.transitions[0].target,s=o.endState.stateNumber,a=this.atn.states[s];for(i=0;i<n;i++){var c=t.context.getReturnState(i);r=this.atn.states[c];if(1!=r.transitions.length||!r.transitions[0].isEpsilon)return!1;var l=r.transitions[0].target;if((r.stateType!=u.BLOCK_END||l!=e)&&(r!=a&&l!=a&&(l.stateType!=u.BLOCK_END||1!=l.transitions.length||!l.transitions[0].isEpsilon||l.transitions[0].target!=e)))return!1}return!0},z.prototype.getRuleName=function(t){return null!==this.parser&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"},z.prototype.getEpsilonTarget=function(t,e,n,i,r,o){switch(e.serializationType){case L.RULE:return this.ruleTransition(t,e);case L.PRECEDENCE:return this.precedenceTransition(t,e,n,i,r);case L.PREDICATE:return this.predTransition(t,e,n,i,r);case L.ACTION:return this.actionTransition(t,e);case L.EPSILON:return new c({state:e.target},t);case L.ATOM:case L.RANGE:case L.SET:return o&&e.matches(M.EOF,0,1)?new c({state:e.target},t):null;default:return null}},z.prototype.actionTransition=function(t,e){if(this.debug){var n=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+n)}return new c({state:e.target},t)},z.prototype.precedenceTransition=function(t,e,n,r,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(n&&r)if(o){var a=this._input.index;this._input.seek(this._startIndex);var u=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),u&&(s=new c({state:e.target},t))}else{var l=I.andContext(t.semanticContext,e.getPredicate());s=new c({state:e.target,semanticContext:l},t)}else s=new c({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},z.prototype.predTransition=function(t,e,n,r,o){this.debug&&(console.log("PRED (collectPredicates="+n+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(n&&(e.isCtxDependent&&r||!e.isCtxDependent))if(o){var a=this._input.index;this._input.seek(this._startIndex);var u=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),u&&(s=new c({state:e.target},t))}else{var l=I.andContext(t.semanticContext,e.getPredicate());s=new c({state:e.target,semanticContext:l},t)}else s=new c({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},z.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var n=e.followState,i=C.create(t.context,n.stateNumber);return new c({state:e.target,context:i},t)},z.prototype.getConflictingAlts=function(t){var e=N.getConflictingAltSubsets(t);return N.getAlts(e)},z.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==a.INVALID_ALT_NUMBER?(e=new o,e.add(t.uniqueAlt)):e=t.conflictingAlts,e},z.prototype.getTokenName=function(t){if(t===M.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)){var e=this.parser.literalNames[t]||this.parser.symbolicNames[t];return e+"<"+t+">"}console.log(t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},z.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},z.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),n=0;n<e.length;n++){var i=e[n],r="no edges";if(i.state.transitions.length>0){var o=i.state.transitions[0];if(o instanceof AtomTransition)r="Atom "+this.getTokenName(o.label);else if(o instanceof j){var s=o instanceof f;r=(s?"~":"")+"Set "+o.set}}console.error(i.toString(this.parser,!0)+":"+r)}},z.prototype.noViableAlt=function(t,e,n,i){return new A(this.parser,t,t.get(i),t.LT(1),n,e)},z.prototype.getUniqueAlt=function(t){for(var e=a.INVALID_ALT_NUMBER,n=0;n<t.items.length;n++){var i=t.items[n];if(e===a.INVALID_ALT_NUMBER)e=i.alt;else if(i.alt!==e)return a.INVALID_ALT_NUMBER}return e},z.prototype.addDFAEdge=function(t,e,n,i){if(this.debug&&console.log("EDGE "+e+" -> "+i+" upon "+this.getTokenName(n)),null===i)return null;if(i=this.addDFAState(t,i),null===e||n<-1||n>this.atn.maxTokenType)return i;if(null===e.edges&&(e.edges=[]),e.edges[n+1]=i,this.debug){var r=null===this.parser?null:this.parser.literalNames,o=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(r,o))}return i},z.prototype.addDFAState=function(t,e){if(e==g.ERROR)return e;var n=t.states.get(e);return null!==n?n:(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)},z.prototype.reportAttemptingFullContext=function(t,e,n,i,r){if(this.debug||this.retry_debug){var o=new T(i,r+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,i,r,e,n)},z.prototype.reportContextSensitivity=function(t,e,n,i,r){if(this.debug||this.retry_debug){var o=new T(i,r+1);console.log("reportContextSensitivity decision="+t.decision+":"+n+", input="+this.parser.getTokenStream().getText(o))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,i,r,e,n)},z.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){if(this.debug||this.retry_debug){var a=new T(n,i+1);console.log("reportAmbiguity "+o+":"+s+", input="+this.parser.getTokenStream().getText(a))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,n,i,r,o,s)},e.ParserATNSimulator=z},8895:(t,e,n)=>{n(8561).Set;var i=n(8561).Map,r=n(8561).BitSet,o=n(8561).AltDict,s=n(3600).ATN,a=n(9215).RuleStopState,u=n(8254).B,c=n(3864).m,l=n(2105).dP,M=(n(8561).Hash,n(8561).hashStuff);n(8561).equalArrays;function p(){return this}p.SLL=0,p.LL=1,p.LL_EXACT_AMBIG_DETECTION=2,p.hasSLLConflictTerminatingPrediction=function(t,e){if(p.allConfigsInRuleStopStates(e))return!0;if(t===p.SLL&&e.hasSemanticContext){for(var n=new u,i=0;i<e.items.length;i++){var r=e.items[i];r=new c({semanticContext:l.NONE},r),n.add(r)}e=n}var o=p.getConflictingAltSubsets(e);return p.hasConflictingAltSet(o)&&!p.hasStateAssociatedWithOneAlt(e)},p.hasConfigInRuleStopState=function(t){for(var e=0;e<t.items.length;e++){var n=t.items[e];if(n.state instanceof a)return!0}return!1},p.allConfigsInRuleStopStates=function(t){for(var e=0;e<t.items.length;e++){var n=t.items[e];if(!(n.state instanceof a))return!1}return!0},p.resolvesToJustOneViableAlt=function(t){return p.getSingleViableAlt(t)},p.allSubsetsConflict=function(t){return!p.hasNonConflictingAltSet(t)},p.hasNonConflictingAltSet=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.length)return!0}return!1},p.hasConflictingAltSet=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.length>1)return!0}return!1},p.allSubsetsEqual=function(t){for(var e=null,n=0;n<t.length;n++){var i=t[n];if(null===e)e=i;else if(i!==e)return!1}return!0},p.getUniqueAlt=function(t){var e=p.getAlts(t);return 1===e.length?e.minValue():s.INVALID_ALT_NUMBER},p.getAlts=function(t){var e=new r;return t.map((function(t){e.or(t)})),e},p.getConflictingAltSubsets=function(t){var e=new i;return e.hashFunction=function(t){M(t.state.stateNumber,t.context)},e.equalsFunction=function(t,e){return t.state.stateNumber==e.state.stateNumber&&t.context.equals(e.context)},t.items.map((function(t){var n=e.get(t);null===n&&(n=new r,e.put(t,n)),n.add(t.alt)})),e.getValues()},p.getStateToAltMap=function(t){var e=new o;return t.items.map((function(t){var n=e.get(t.state);null===n&&(n=new r,e.put(t.state,n)),n.add(t.alt)})),e},p.hasStateAssociatedWithOneAlt=function(t){for(var e=p.getStateToAltMap(t).values(),n=0;n<e.length;n++)if(1===e[n].length)return!0;return!1},p.getSingleViableAlt=function(t){for(var e=null,n=0;n<t.length;n++){var i=t[n],r=i.minValue();if(null===e)e=r;else if(e!==r)return s.INVALID_ALT_NUMBER}return e},e.PredictionMode=p},2105:(t,e,n)=>{var i=n(8561).Set,r=n(8561).Hash;function o(){return this}function s(t,e,n){return o.call(this),this.ruleIndex=void 0===t?-1:t,this.predIndex=void 0===e?-1:e,this.isCtxDependent=void 0!==n&&n,this}function a(t){o.call(this),this.precedence=void 0===t?0:t}function u(t,e){o.call(this);var n=new i;t instanceof u?t.opnds.map((function(t){n.add(t)})):n.add(t),e instanceof u?e.opnds.map((function(t){n.add(t)})):n.add(e);var r=a.filterPrecedencePredicates(n);if(r.length>0){var s=null;r.map((function(t){(null===s||t.precedence<s.precedence)&&(s=t)})),n.add(s)}return this.opnds=n.values(),this}function c(t,e){o.call(this);var n=new i;t instanceof c?t.opnds.map((function(t){n.add(t)})):n.add(t),e instanceof c?e.opnds.map((function(t){n.add(t)})):n.add(e);var r=a.filterPrecedencePredicates(n);if(r.length>0){var s=r.sort((function(t,e){return t.compareTo(e)})),u=s[s.length-1];n.add(u)}return this.opnds=n.values(),this}o.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},o.prototype.evaluate=function(t,e){},o.prototype.evalPrecedence=function(t,e){return this},o.andContext=function(t,e){if(null===t||t===o.NONE)return e;if(null===e||e===o.NONE)return t;var n=new u(t,e);return 1===n.opnds.length?n.opnds[0]:n},o.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===o.NONE||e===o.NONE)return o.NONE;var n=new c(t,e);return 1===n.opnds.length?n.opnds[0]:n},s.prototype=Object.create(o.prototype),s.prototype.constructor=s,o.NONE=new s,s.prototype.evaluate=function(t,e){var n=this.isCtxDependent?e:null;return t.sempred(n,this.ruleIndex,this.predIndex)},s.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},s.prototype.equals=function(t){return this===t||t instanceof s&&(this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent)},s.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},a.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?o.NONE:null},a.prototype.compareTo=function(t){return this.precedence-t.precedence},a.prototype.updateHashCode=function(t){t.update(31)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.precedence===t.precedence},a.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},a.filterPrecedencePredicates=function(t){var e=[];return t.values().map((function(t){t instanceof a&&e.push(t)})),e},u.prototype=Object.create(o.prototype),u.prototype.constructor=u,u.prototype.equals=function(t){return this===t||t instanceof u&&this.opnds===t.opnds},u.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},u.prototype.evaluate=function(t,e){for(var n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(t,e))return!1;return!0},u.prototype.evalPrecedence=function(t,e){for(var n=!1,i=[],r=0;r<this.opnds.length;r++){var s=this.opnds[r],a=s.evalPrecedence(t,e);if(n|=a!==s,null===a)return null;a!==o.NONE&&i.push(a)}if(!n)return this;if(0===i.length)return o.NONE;var u=null;return i.map((function(t){u=null===u?t:o.andContext(u,t)})),u},u.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="&& "+e.toString()})),t.length>3?t.slice(3):t},c.prototype=Object.create(o.prototype),c.prototype.constructor=c,c.prototype.constructor=function(t){return this===t||t instanceof c&&this.opnds===t.opnds},c.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},c.prototype.evaluate=function(t,e){for(var n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(t,e))return!0;return!1},c.prototype.evalPrecedence=function(t,e){for(var n=!1,i=[],r=0;r<this.opnds.length;r++){var s=this.opnds[r],a=s.evalPrecedence(t,e);if(n|=a!==s,a===o.NONE)return o.NONE;null!==a&&i.push(a)}if(!n)return this;if(0===i.length)return null;var u=null;return i.map((function(t){return null===u?t:o.orContext(u,t)})),u},c.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="|| "+e.toString()})),t.length>3?t.slice(3):t},e.dP=o,e.u5=a,e.$G=s},5099:(t,e,n)=>{var i=n(5319).Token,r=(n(4088).Interval,n(4088).V),o=n(2105).$G,s=n(2105).u5;function a(t){if(void 0===t||null===t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function u(t,e){return a.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=a.ATOM,this}function c(t,e,n,i){return a.call(this,t),this.ruleIndex=e,this.precedence=n,this.followState=i,this.serializationType=a.RULE,this.isEpsilon=!0,this}function l(t,e){return a.call(this,t),this.serializationType=a.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function M(t,e,n){return a.call(this,t),this.serializationType=a.RANGE,this.start=e,this.stop=n,this.label=this.makeLabel(),this}function p(t){return a.call(this,t),this}function h(t,e,n,i){return p.call(this,t),this.serializationType=a.PREDICATE,this.ruleIndex=e,this.predIndex=n,this.isCtxDependent=i,this.isEpsilon=!0,this}function g(t,e,n,i){return a.call(this,t),this.serializationType=a.ACTION,this.ruleIndex=e,this.actionIndex=void 0===n?-1:n,this.isCtxDependent=void 0!==i&&i,this.isEpsilon=!0,this}function N(t,e){return a.call(this,t),this.serializationType=a.SET,void 0!==e&&null!==e?this.label=e:(this.label=new r,this.label.addOne(i.INVALID_TYPE)),this}function D(t,e){return N.call(this,t,e),this.serializationType=a.NOT_SET,this}function I(t){return a.call(this,t),this.serializationType=a.WILDCARD,this}function y(t,e){return p.call(this,t),this.serializationType=a.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}a.EPSILON=1,a.RANGE=2,a.RULE=3,a.PREDICATE=4,a.ATOM=5,a.ACTION=6,a.SET=7,a.NOT_SET=8,a.WILDCARD=9,a.PRECEDENCE=10,a.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],a.serializationTypes={EpsilonTransition:a.EPSILON,RangeTransition:a.RANGE,RuleTransition:a.RULE,PredicateTransition:a.PREDICATE,AtomTransition:a.ATOM,ActionTransition:a.ACTION,SetTransition:a.SET,NotSetTransition:a.NOT_SET,WildcardTransition:a.WILDCARD,PrecedencePredicateTransition:a.PRECEDENCE},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.makeLabel=function(){var t=new r;return t.addOne(this.label_),t},u.prototype.matches=function(t,e,n){return this.label_===t},u.prototype.toString=function(){return this.label_},c.prototype=Object.create(a.prototype),c.prototype.constructor=c,c.prototype.matches=function(t,e,n){return!1},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.matches=function(t,e,n){return!1},l.prototype.toString=function(){return"epsilon"},M.prototype=Object.create(a.prototype),M.prototype.constructor=M,M.prototype.makeLabel=function(){var t=new r;return t.addRange(this.start,this.stop),t},M.prototype.matches=function(t,e,n){return t>=this.start&&t<=this.stop},M.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},p.prototype=Object.create(a.prototype),p.prototype.constructor=p,h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.prototype.matches=function(t,e,n){return!1},h.prototype.getPredicate=function(){return new o(this.ruleIndex,this.predIndex,this.isCtxDependent)},h.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},g.prototype=Object.create(a.prototype),g.prototype.constructor=g,g.prototype.matches=function(t,e,n){return!1},g.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},N.prototype=Object.create(a.prototype),N.prototype.constructor=N,N.prototype.matches=function(t,e,n){return this.label.contains(t)},N.prototype.toString=function(){return this.label.toString()},D.prototype=Object.create(N.prototype),D.prototype.constructor=D,D.prototype.matches=function(t,e,n){return t>=e&&t<=n&&!N.prototype.matches.call(this,t,e,n)},D.prototype.toString=function(){return"~"+N.prototype.toString.call(this)},I.prototype=Object.create(a.prototype),I.prototype.constructor=I,I.prototype.matches=function(t,e,n){return t>=e&&t<=n},I.prototype.toString=function(){return"."},y.prototype=Object.create(p.prototype),y.prototype.constructor=y,y.prototype.matches=function(t,e,n){return!1},y.prototype.getPredicate=function(){return new s(this.precedence)},y.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=a,e.AtomTransition=u,e.SetTransition=N,e.NotSetTransition=D,e.RuleTransition=c,e.ActionTransition=g,e.EpsilonTransition=l,e.RangeTransition=M,e.WildcardTransition=I,e.PredicateTransition=h,e.PrecedencePredicateTransition=y,e.AbstractPredicateTransition=p},9548:(t,e,n)=>{e.ATN=n(3600).ATN,e.ATNDeserializer=n(8833).ATNDeserializer,e.LexerATNSimulator=n(5145).LexerATNSimulator,e.ParserATNSimulator=n(1807).ParserATNSimulator,e.PredictionMode=n(8895).PredictionMode},4878:(t,e,n)=>{var i=n(8561).Set,r=n(2603).B,o=n(9215).StarLoopEntryState,s=n(8254).B,a=n(6336).DFASerializer,u=n(6336).LexerDFASerializer;function c(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new i,this.s0=null,this.precedenceDfa=!1,t instanceof o&&t.isPrecedenceDecision){this.precedenceDfa=!0;var n=new r(null,new s);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}return this}c.prototype.getPrecedenceStartState=function(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},c.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},c.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new r(null,new s);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(c.prototype,"states",{get:function(){return this._states}}),c.prototype.sortedStates=function(){var t=this._states.values();return t.sort((function(t,e){return t.stateNumber-e.stateNumber}))},c.prototype.toString=function(t,e){if(t=t||null,e=e||null,null===this.s0)return"";var n=new a(this,t,e);return n.toString()},c.prototype.toLexerString=function(){if(null===this.s0)return"";var t=new u(this);return t.toString()},e.DFA=c},6336:(t,e)=>{function n(t,e,n){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=n||[],this}function i(t){return n.call(this,t,null),this}n.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),n=0;n<e.length;n++){var i=e[n];if(null!==i.edges)for(var r=i.edges.length,o=0;o<r;o++){var s=i.edges[o]||null;null!==s&&2147483647!==s.stateNumber&&(t=t.concat(this.getStateString(i)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(s)),t=t.concat("\n"))}}return 0===t.length?null:t},n.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},n.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=n,e.LexerDFASerializer=i},2603:(t,e,n)=>{var i=n(8254).B,r=n(8561),o=r.Hash,s=r.Set;function a(t,e){return this.alt=e,this.pred=t,this}function u(t,e){return null===t&&(t=-1),null===e&&(e=new i),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}a.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},u.prototype.getAltSet=function(){var t=new s;if(null!==this.configs)for(var e=0;e<this.configs.length;e++){var n=this.configs[e];t.add(n.alt)}return 0===t.length?null:t},u.prototype.equals=function(t){return this===t||t instanceof u&&this.configs.equals(t.configs)},u.prototype.toString=function(){var t=this.stateNumber+":"+this.configs;return this.isAcceptState&&(t+="=>",null!==this.predicates?t+=this.predicates:t+=this.prediction),t},u.prototype.hashCode=function(){var t=new o;return t.update(this.configs),t.finish()},e.B=u,e.PredPrediction=a},5224:(t,e,n)=>{e.DFA=n(4878).DFA,e.DFASerializer=n(6336).DFASerializer,e.LexerDFASerializer=n(6336).LexerDFASerializer,e.PredPrediction=n(2603).PredPrediction},1574:(t,e,n)=>{var i=n(8561).BitSet,r=n(5827).ErrorListener,o=n(4088).Interval;function s(t){return r.call(this),t=t||!0,this.exactOnly=t,this}s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.prototype.reportAmbiguity=function(t,e,n,i,r,s,a){if(!this.exactOnly||r){var u="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(s,a)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(u)}},s.prototype.reportAttemptingFullContext=function(t,e,n,i,r,s){var a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(a)},s.prototype.reportContextSensitivity=function(t,e,n,i,r,s){var a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new o(n,i))+"'";t.notifyErrorListeners(a)},s.prototype.getDecisionDescription=function(t,e){var n=e.decision,i=e.atnStartState.ruleIndex,r=t.ruleNames;if(i<0||i>=r.length)return""+n;var o=r[i]||null;return null===o||0===o.length?""+n:n+" ("+o+")"},s.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var n=new i,r=0;r<e.items.length;r++)n.add(e.items[r].alt);return"{"+n.values().join(", ")+"}"},e.DiagnosticErrorListener=s},5827:(t,e)=>{function n(){return this}function i(){return n.call(this),this}function r(t){if(n.call(this),null===t)throw"delegates";return this.delegates=t,this}n.prototype.syntaxError=function(t,e,n,i,r,o){},n.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){},n.prototype.reportAttemptingFullContext=function(t,e,n,i,r,o){},n.prototype.reportContextSensitivity=function(t,e,n,i,r,o){},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.syntaxError=function(t,e,n,i,r,o){console.error("line "+n+":"+i+" "+r)},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.syntaxError=function(t,e,n,i,r,o){this.delegates.map((function(s){s.syntaxError(t,e,n,i,r,o)}))},r.prototype.reportAmbiguity=function(t,e,n,i,r,o,s){this.delegates.map((function(a){a.reportAmbiguity(t,e,n,i,r,o,s)}))},r.prototype.reportAttemptingFullContext=function(t,e,n,i,r,o){this.delegates.map((function(s){s.reportAttemptingFullContext(t,e,n,i,r,o)}))},r.prototype.reportContextSensitivity=function(t,e,n,i,r,o){this.delegates.map((function(s){s.reportContextSensitivity(t,e,n,i,r,o)}))},e.ErrorListener=n,e.s=i,e.N=r},1080:(t,e,n)=>{var i=n(5319).Token,r=n(2874),o=r.NoViableAltException,s=r.InputMismatchException,a=r.FailedPredicateException,u=r.ParseCancellationException,c=n(9215).ATNState,l=n(4088).Interval,M=n(4088).V;function p(){}function h(){return p.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function g(){return h.call(this),this}p.prototype.reset=function(t){},p.prototype.recoverInline=function(t){},p.prototype.recover=function(t,e){},p.prototype.sync=function(t){},p.prototype.inErrorRecoveryMode=function(t){},p.prototype.reportError=function(t){},h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.prototype.reset=function(t){this.endErrorCondition(t)},h.prototype.beginErrorCondition=function(t){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(t){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(t){this.endErrorCondition(t)},h.prototype.reportError=function(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof o?this.reportNoViableAlternative(t,e):e instanceof s?this.reportInputMismatch(t,e):e instanceof a?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))},h.prototype.recover=function(t,e){this.lastErrorIndex===t.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var n=this.getErrorRecoverySet(t);this.consumeUntil(t,n)},h.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],n=t.getTokenStream().LA(1),r=t.atn.nextTokens(e);if(!r.contains(i.EPSILON)&&!r.contains(n))switch(e.stateType){case c.BLOCK_START:case c.STAR_BLOCK_START:case c.PLUS_BLOCK_START:case c.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new s(t);case c.PLUS_LOOP_BACK:case c.STAR_LOOP_BACK:this.reportUnwantedToken(t);var o=new M;o.addSet(t.getExpectedTokens());var a=o.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,a);break;default:}}},h.prototype.reportNoViableAlternative=function(t,e){var n,r=t.getTokenStream();n=null!==r?e.startToken.type===i.EOF?"<EOF>":r.getText(new l(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"<unknown input>";var o="no viable alternative at input "+this.escapeWSAndQuote(n);t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportInputMismatch=function(t,e){var n="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(n,e.offendingToken,e)},h.prototype.reportFailedPredicate=function(t,e){var n=t.ruleNames[t._ctx.ruleIndex],i="rule "+n+" "+e.message;t.notifyErrorListeners(i,e.offendingToken,e)},h.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n=this.getTokenErrorDisplay(e),i=this.getExpectedTokens(t),r="extraneous input "+n+" expecting "+i.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(r,e,null)}},h.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),n=this.getExpectedTokens(t),i="missing "+n.toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(i,e,null)}},h.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new s(t)},h.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),n=t._interp.atn,i=n.states[t.state],r=i.transitions[0].target,o=n.nextTokens(r,t._ctx);return!!o.contains(e)&&(this.reportMissingToken(t),!0)},h.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2),n=this.getExpectedTokens(t);if(n.contains(e)){this.reportUnwantedToken(t),t.consume();var i=t.getCurrentToken();return this.reportMatch(t),i}return null},h.prototype.getMissingSymbol=function(t){var e,n=t.getCurrentToken(),r=this.getExpectedTokens(t),o=r.first();e=o===i.EOF?"<missing EOF>":"<missing "+t.literalNames[o]+">";var s=n,a=t.getTokenStream().LT(-1);return s.type===i.EOF&&null!==a&&(s=a),t.getTokenFactory().create(s.source,o,e,i.DEFAULT_CHANNEL,-1,-1,s.line,s.column)},h.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),this.escapeWSAndQuote(e)},h.prototype.escapeWSAndQuote=function(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"},h.prototype.getErrorRecoverySet=function(t){var e=t._interp.atn,n=t._ctx,r=new M;while(null!==n&&n.invokingState>=0){var o=e.states[n.invokingState],s=o.transitions[0],a=e.nextTokens(s.followState);r.addSet(a),n=n.parentCtx}return r.removeOne(i.EPSILON),r},h.prototype.consumeUntil=function(t,e){var n=t.getTokenStream().LA(1);while(n!==i.EOF&&!e.contains(n))t.consume(),n=t.getTokenStream().LA(1)},g.prototype=Object.create(h.prototype),g.prototype.constructor=g,g.prototype.recover=function(t,e){var n=t._ctx;while(null!==n)n.exception=e,n=n.parentCtx;throw new u(e)},g.prototype.recoverInline=function(t){this.recover(t,new s(t))},g.prototype.sync=function(t){},e.BailErrorStrategy=g,e.t=h},2874:(t,e,n)=>{var i=n(5099).PredicateTransition;function r(t){if(Error.call(this),Error.captureStackTrace)Error.captureStackTrace(this,r);else(new Error).stack;return this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function o(t,e,n,i){return r.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=n,this.deadEndConfigs=i,this}function s(t,e,n,i,o,s){s=s||t._ctx,i=i||t.getCurrentToken(),n=n||t.getCurrentToken(),e=e||t.getInputStream(),r.call(this,{message:"",recognizer:t,input:e,ctx:s}),this.deadEndConfigs=o,this.startToken=n,this.offendingToken=i}function a(t){r.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function u(t,e,n){r.call(this,{message:this.formatMessage(e,n||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var o=t._interp.atn.states[t.state],s=o.transitions[0];return s instanceof i?(this.ruleIndex=s.ruleIndex,this.predicateIndex=s.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function c(){return Error.call(this),Error.captureStackTrace(this,c),this}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},r.prototype.toString=function(){return this.message},o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText((this.startIndex,this.startIndex))),"LexerNoViableAltException"+t},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,a.prototype=Object.create(r.prototype),a.prototype.constructor=a,u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.formatMessage=function(t,e){return null!==e?e:"failed predicate: {"+t+"}?"},c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,e.RecognitionException=r,e.NoViableAltException=s,e.LexerNoViableAltException=o,e.InputMismatchException=a,e.FailedPredicateException=u,e.ParseCancellationException=c},7423:(t,e,n)=>{e.RecognitionException=n(2874).RecognitionException,e.NoViableAltException=n(2874).NoViableAltException,e.LexerNoViableAltException=n(2874).LexerNoViableAltException,e.InputMismatchException=n(2874).InputMismatchException,e.FailedPredicateException=n(2874).FailedPredicateException,e.DiagnosticErrorListener=n(1574).DiagnosticErrorListener,e.BailErrorStrategy=n(1080).BailErrorStrategy,e.ErrorListener=n(5827).ErrorListener},7228:(t,e,n)=>{e.atn=n(9548),e.codepointat=n(5034),e.dfa=n(5224),e.fromcodepoint=n(2085),e.tree=n(1183),e.error=n(7423),e.Token=n(5319).Token,e.CharStreams=n(5689).CharStreams,e.CommonToken=n(5319).CommonToken,e.InputStream=n(2732).InputStream,e.FileStream=n(654).FileStream,e.CommonTokenStream=n(1259).CommonTokenStream,e.Lexer=n(4412).Lexer,e.Parser=n(3709).Parser;var i=n(8758);e.PredictionContextCache=i.PredictionContextCache,e.ParserRuleContext=n(5082).ParserRuleContext,e.Interval=n(4088).Interval,e.Utils=n(8561)},5034:()=>{
|
|
2
2
|
/*! https://mths.be/codepointat v0.2.0 by @mathias */
|
|
3
3
|
String.prototype.codePointAt||function(){"use strict";var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(i){}return n}(),e=function(t){if(null==this)throw TypeError();var e=String(this),n=e.length,i=t?Number(t):0;if(i!=i&&(i=0),!(i<0||i>=n)){var r,o=e.charCodeAt(i);return o>=55296&&o<=56319&&n>i+1&&(r=e.charCodeAt(i+1),r>=56320&&r<=57343)?1024*(o-55296)+r-56320+65536:o}};t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e}()},2085:()=>{
|
|
4
4
|
/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */
|
|
5
|
-
String.fromCodePoint||function(){var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(i){}return n}(),e=String.fromCharCode,n=Math.floor,i=function(t){var i,r,o=16384,s=[],a=-1,u=arguments.length;if(!u)return"";var c="";while(++a<u){var l=Number(arguments[a]);if(!isFinite(l)||l<0||l>1114111||n(l)!=l)throw RangeError("Invalid code point: "+l);l<=65535?s.push(l):(l-=65536,i=55296+(l>>10),r=l%1024+56320,s.push(i,r)),(a+1==u||s.length>o)&&(c+=e.apply(null,s),s.length=0)}return c};t?t(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i}()},1065:(t,e,n)=>{var i=n(5319).Token,r=n(4088).Interval,o=new r(-1,-2);n(8561);function s(){return this}function a(){return s.call(this),this}function u(){return a.call(this),this}function c(){return u.call(this),this}function l(){return u.call(this),this}function M(){return l.call(this),this}function p(){return this}function h(){return this}function g(t){return l.call(this),this.parentCtx=null,this.symbol=t,this}function N(t){return g.call(this,t),this}function D(){return this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,u.prototype=Object.create(a.prototype),u.prototype.constructor=u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,l.prototype=Object.create(u.prototype),l.prototype.constructor=l,M.prototype=Object.create(l.prototype),M.prototype.constructor=M,p.prototype.visit=function(t){return Array.isArray(t)?t.map((function(t){return t.accept(this)}),this):t.accept(this)},p.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},p.prototype.visitTerminal=function(t){},p.prototype.visitErrorNode=function(t){},h.prototype.visitTerminal=function(t){},h.prototype.visitErrorNode=function(t){},h.prototype.enterEveryRule=function(t){},h.prototype.exitEveryRule=function(t){},g.prototype=Object.create(l.prototype),g.prototype.constructor=g,g.prototype.getChild=function(t){return null},g.prototype.getSymbol=function(){return this.symbol},g.prototype.getParent=function(){return this.parentCtx},g.prototype.getPayload=function(){return this.symbol},g.prototype.getSourceInterval=function(){if(null===this.symbol)return o;var t=this.symbol.tokenIndex;return new r(t,t)},g.prototype.getChildCount=function(){return 0},g.prototype.accept=function(t){return t.visitTerminal(this)},g.prototype.getText=function(){return this.symbol.text},g.prototype.toString=function(){return this.symbol.type===i.EOF?"<EOF>":this.symbol.text},N.prototype=Object.create(g.prototype),N.prototype.constructor=N,N.prototype.isErrorNode=function(){return!0},N.prototype.accept=function(t){return t.visitErrorNode(this)},D.prototype.walk=function(t,e){var n=e instanceof M||void 0!==e.isErrorNode&&e.isErrorNode();if(n)t.visitErrorNode(e);else if(e instanceof l)t.visitTerminal(e);else{this.enterRule(t,e);for(var i=0;i<e.getChildCount();i++){var r=e.getChild(i);this.walk(t,r)}this.exitRule(t,e)}},D.prototype.enterRule=function(t,e){var n=e.getRuleContext();t.enterEveryRule(n),n.enterRule(t)},D.prototype.exitRule=function(t,e){var n=e.getRuleContext();n.exitRule(t),t.exitEveryRule(n)},D.DEFAULT=new D,e.RuleNode=c,e.ErrorNode=M,e.TerminalNode=l,e.ErrorNodeImpl=N,e.TerminalNodeImpl=g,e.ParseTreeListener=h,e.ParseTreeVisitor=p,e.ParseTreeWalker=D,e.INVALID_INTERVAL=o},2181:(t,e,n)=>{var i=n(8561),r=n(5319).Token,o=(n(1065).RuleNode,n(1065).ErrorNode),s=n(1065).TerminalNode,a=n(5082).ParserRuleContext,u=n(8738).r,c=n(3600).INVALID_ALT_NUMBER;function l(){}l.toStringTree=function(t,e,n){e=e||null,n=n||null,null!==n&&(e=n.ruleNames);var r=l.getNodeText(t,e);r=i.escapeWhitespace(r,!1);var o=t.getChildCount();if(0===o)return r;var s="("+r+" ";o>0&&(r=l.toStringTree(t.getChild(0),e),s=s.concat(r));for(var a=1;a<o;a++)r=l.toStringTree(t.getChild(a),e),s=s.concat(" "+r);return s=s.concat(")"),s},l.getNodeText=function(t,e,n){if(e=e||null,n=n||null,null!==n&&(e=n.ruleNames),null!==e){if(t instanceof u){var i=t.getAltNumber();return i!=c?e[t.ruleIndex]+":"+i:e[t.ruleIndex]}if(t instanceof o)return t.toString();if(t instanceof s&&null!==t.symbol)return t.symbol.text}var a=t.getPayload();return a instanceof r?a.text:t.getPayload().toString()},l.getChildren=function(t){for(var e=[],n=0;n<t.getChildCount();n++)e.push(t.getChild(n));return e},l.getAncestors=function(t){var e=[];t=t.getParent();while(null!==t)e=[t].concat(e),t=t.getParent();return e},l.findAllTokenNodes=function(t,e){return l.findAllNodes(t,e,!0)},l.findAllRuleNodes=function(t,e){return l.findAllNodes(t,e,!1)},l.findAllNodes=function(t,e,n){var i=[];return l._findAllNodes(t,e,n,i),i},l._findAllNodes=function(t,e,n,i){n&&t instanceof s?t.symbol.type===e&&i.push(t):!n&&t instanceof a&&t.ruleIndex===e&&i.push(t);for(var r=0;r<t.getChildCount();r++)l._findAllNodes(t.getChild(r),e,n,i)},l.descendants=function(t){for(var e=[t],n=0;n<t.getChildCount();n++)e=e.concat(l.descendants(t.getChild(n)));return e},e.Trees=l},1183:(t,e,n)=>{var i=n(1065);e.Trees=n(2181).Trees,e.RuleNode=i.RuleNode,e.ParseTreeListener=i.ParseTreeListener,e.ParseTreeVisitor=i.ParseTreeVisitor,e.ParseTreeWalker=i.ParseTreeWalker},8874:t=>{"use strict";t.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]}},9818:(t,e,n)=>{var i=n(8874),r=n(6851),o={};for(var s in i)i.hasOwnProperty(s)&&(o[i[s]]=s);var a=t.exports={to:{}};function u(t,e,n){return Math.min(Math.max(e,t),n)}function c(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}a.get=function(t){var e,n,i=t.substring(0,3).toLowerCase();switch(i){case"hsl":e=a.get.hsl(t),n="hsl";break;case"hwb":e=a.get.hwb(t),n="hwb";break;default:e=a.get.rgb(t),n="rgb";break}return e?{model:n,value:e}:null},a.get.rgb=function(t){if(!t)return null;var e,n,r,o=/^#([a-f0-9]{3,4})$/i,s=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,a=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,c=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,l=/(\D+)/,M=[0,0,0,1];if(e=t.match(s)){for(r=e[2],e=e[1],n=0;n<3;n++){var p=2*n;M[n]=parseInt(e.slice(p,p+2),16)}r&&(M[3]=Math.round(parseInt(r,16)/255*100)/100)}else if(e=t.match(o)){for(e=e[1],r=e[3],n=0;n<3;n++)M[n]=parseInt(e[n]+e[n],16);r&&(M[3]=Math.round(parseInt(r+r,16)/255*100)/100)}else if(e=t.match(a)){for(n=0;n<3;n++)M[n]=parseInt(e[n+1],0);e[4]&&(M[3]=parseFloat(e[4]))}else{if(!(e=t.match(c)))return(e=t.match(l))?"transparent"===e[1]?[0,0,0,0]:(M=i[e[1]],M?(M[3]=1,M):null):null;for(n=0;n<3;n++)M[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(M[3]=parseFloat(e[4]))}for(n=0;n<3;n++)M[n]=u(M[n],0,255);return M[3]=u(M[3],0,1),M},a.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,o=u(parseFloat(n[2]),0,100),s=u(parseFloat(n[3]),0,100),a=u(isNaN(i)?1:i,0,1);return[r,o,s,a]}return null},a.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,o=u(parseFloat(n[2]),0,100),s=u(parseFloat(n[3]),0,100),a=u(isNaN(i)?1:i,0,1);return[r,o,s,a]}return null},a.to.hex=function(){var t=r(arguments);return"#"+c(t[0])+c(t[1])+c(t[2])+(t[3]<1?c(Math.round(255*t[3])):"")},a.to.rgb=function(){var t=r(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},a.to.rgb.percent=function(){var t=r(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),i=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+i+"%)":"rgba("+e+"%, "+n+"%, "+i+"%, "+t[3]+")"},a.to.hsl=function(){var t=r(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},a.to.hwb=function(){var t=r(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},a.to.keyword=function(t){return o[t.slice(0,3)]}},7802:t=>{function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){var i=t[n];"object"!=typeof i||Object.isFrozen(i)||e(i)})),t}var n=e,i=e;n.default=i;class r{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function o(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(t,...e){const n=Object.create(null);for(const i in t)n[i]=t[i];return e.forEach((function(t){for(const e in t)n[e]=t[e]})),n}const a="</span>",u=t=>!!t.kind;class c{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=o(t)}openNode(t){if(!u(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){u(t)&&(this.buffer+=a)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class l{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(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return"string"===typeof e?t.addText(e):e.children&&(t.openNode(e),e.children.forEach((e=>this._walk(t,e))),t.closeNode(e)),t}static _collapse(t){"string"!==typeof t&&t.children&&(t.children.every((t=>"string"===typeof t))?t.children=[t.children.join("")]:t.children.forEach((t=>{l._collapse(t)})))}}class M extends l{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 n=t.root;n.kind=e,n.sublanguage=!0,this.add(n)}toHTML(){const t=new c(this,this.options);return t.value()}finalize(){return!0}}function p(t){return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function h(t){return t?"string"===typeof t?t:t.source:null}function g(...t){const e=t.map((t=>h(t))).join("");return e}function N(...t){const e="("+t.map((t=>h(t))).join("|")+")";return e}function D(t){return new RegExp(t.toString()+"|").exec("").length-1}function I(t,e){const n=t&&t.exec(e);return n&&0===n.index}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function d(t,e="|"){let n=0;return t.map((t=>{n+=1;const e=n;let i=h(t),r="";while(i.length>0){const t=y.exec(i);if(!t){r+=i;break}r+=i.substring(0,t.index),i=i.substring(t.index+t[0].length),"\\"===t[0][0]&&t[1]?r+="\\"+String(Number(t[1])+e):(r+=t[0],"("===t[0]&&n++)}return r})).map((t=>`(${t})`)).join(e)}const T=/\b\B/,x="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",f="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",E="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",A=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=g(e,/.*\b/,t.binary,/\b.*/)),s({className:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,e)=>{0!==t.index&&e.ignoreMatch()}},t)},C={begin:"\\\\[\\s\\S]",relevance:0},S={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[C]},z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[C]},v={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/},m=function(t,e,n={}){const i=s({className:"comment",begin:t,end:e,contains:[]},n);return i.contains.push(v),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),i},O=m("//","$"),b=m("/\\*","\\*/"),k=m("#","$"),_={className:"number",begin:j,relevance:0},R={className:"number",begin:f,relevance:0},U={className:"number",begin:w,relevance:0},Y={className:"number",begin:j+"(%|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},P={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[C,{begin:/\[/,end:/\]/,relevance:0,contains:[C]}]}]},Q={className:"title",begin:x,relevance:0},B={className:"title",begin:L,relevance:0},Z={begin:"\\.\\s*"+L,relevance:0},G=function(t){return Object.assign(t,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})};var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:T,IDENT_RE:x,UNDERSCORE_IDENT_RE:L,NUMBER_RE:j,C_NUMBER_RE:f,BINARY_NUMBER_RE:w,RE_STARTERS_RE:E,SHEBANG:A,BACKSLASH_ESCAPE:C,APOS_STRING_MODE:S,QUOTE_STRING_MODE:z,PHRASAL_WORDS_MODE:v,COMMENT:m,C_LINE_COMMENT_MODE:O,C_BLOCK_COMMENT_MODE:b,HASH_COMMENT_MODE:k,NUMBER_MODE:_,C_NUMBER_MODE:R,BINARY_NUMBER_MODE:U,CSS_NUMBER_MODE:Y,REGEXP_MODE:P,TITLE_MODE:Q,UNDERSCORE_TITLE_MODE:B,METHOD_GUARD:Z,END_SAME_AS_BEGIN:G});function H(t,e){const n=t.input[t.index-1];"."===n&&e.ignoreMatch()}function W(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=H,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,void 0===t.relevance&&(t.relevance=0))}function V(t,e){Array.isArray(t.illegal)&&(t.illegal=N(...t.illegal))}function X(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function J(t,e){void 0===t.relevance&&(t.relevance=1)}const $=["of","and","for","in","not","or","if","then","parent","list","value"],K="keyword";function q(t,e,n=K){const i={};return"string"===typeof t?r(n,t.split(" ")):Array.isArray(t)?r(n,t):Object.keys(t).forEach((function(n){Object.assign(i,q(t[n],e,n))})),i;function r(t,n){e&&(n=n.map((t=>t.toLowerCase()))),n.forEach((function(e){const n=e.split("|");i[n[0]]=[t,tt(n[0],n[1])]}))}}function tt(t,e){return e?Number(e):et(t)?0:1}function et(t){return $.includes(t.toLowerCase())}function nt(t,{plugins:e}){function n(e,n){return new RegExp(h(e),"m"+(t.case_insensitive?"i":"")+(n?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(t,e){e.position=this.position++,this.matchIndexes[this.matchAt]=e,this.regexes.push([e,t]),this.matchAt+=D(t)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const t=this.regexes.map((t=>t[1]));this.matcherRe=n(d(t),!0),this.lastIndex=0}exec(t){this.matcherRe.lastIndex=this.lastIndex;const e=this.matcherRe.exec(t);if(!e)return null;const n=e.findIndex(((t,e)=>e>0&&void 0!==t)),i=this.matchIndexes[n];return e.splice(0,n),Object.assign(e,i)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(t){if(this.multiRegexes[t])return this.multiRegexes[t];const e=new i;return this.rules.slice(t).forEach((([t,n])=>e.addRule(t,n))),e.compile(),this.multiRegexes[t]=e,e}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(t,e){this.rules.push([t,e]),"begin"===e.type&&this.count++}exec(t){const e=this.getMatcher(this.regexIndex);e.lastIndex=this.lastIndex;let n=e.exec(t);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const e=this.getMatcher(0);e.lastIndex=this.lastIndex+1,n=e.exec(t)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function o(t){const e=new r;return t.contains.forEach((t=>e.addRule(t.begin,{rule:t,type:"begin"}))),t.terminatorEnd&&e.addRule(t.terminatorEnd,{type:"end"}),t.illegal&&e.addRule(t.illegal,{type:"illegal"}),e}function a(e,i){const r=e;if(e.isCompiled)return r;[X].forEach((t=>t(e,i))),t.compilerExtensions.forEach((t=>t(e,i))),e.__beforeBegin=null,[W,V,J].forEach((t=>t(e,i))),e.isCompiled=!0;let s=null;if("object"===typeof e.keywords&&(s=e.keywords.$pattern,delete e.keywords.$pattern),e.keywords&&(e.keywords=q(e.keywords,t.case_insensitive)),e.lexemes&&s)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||e.lexemes||/\w+/,r.keywordPatternRe=n(s,!0),i&&(e.begin||(e.begin=/\B|\b/),r.beginRe=n(e.begin),e.endSameAsBegin&&(e.end=e.begin),e.end||e.endsWithParent||(e.end=/\B|\b/),e.end&&(r.endRe=n(e.end)),r.terminatorEnd=h(e.end)||"",e.endsWithParent&&i.terminatorEnd&&(r.terminatorEnd+=(e.end?"|":"")+i.terminatorEnd)),e.illegal&&(r.illegalRe=n(e.illegal)),e.contains||(e.contains=[]),e.contains=[].concat(...e.contains.map((function(t){return rt("self"===t?e:t)}))),e.contains.forEach((function(t){a(t,r)})),e.starts&&a(e.starts,i),r.matcher=o(r),r}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=s(t.classNameAliases||{}),a(t)}function it(t){return!!t&&(t.endsWithParent||it(t.starts))}function rt(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map((function(e){return s(t,{variants:null},e)}))),t.cachedVariants?t.cachedVariants:it(t)?s(t,{starts:t.starts?s(t.starts):null}):Object.isFrozen(t)?s(t):t}var ot="10.7.3";function st(t){return Boolean(t||""===t)}function at(t){const e={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!t.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,o(this.code);let e={};return this.autoDetect?(e=t.highlightAuto(this.code),this.detectedLanguage=e.language):(e=t.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),e.value},autoDetect(){return!this.language||st(this.autodetect)},ignoreIllegals(){return!0}},render(t){return t("pre",{},[t("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}},n={install(t){t.component("highlightjs",e)}};return{Component:e,VuePlugin:n}}const ut={"after:highlightElement":({el:t,result:e,text:n})=>{const i=lt(t);if(!i.length)return;const r=document.createElement("div");r.innerHTML=e.value,e.value=Mt(i,lt(r),n)}};function ct(t){return t.nodeName.toLowerCase()}function lt(t){const e=[];return function t(n,i){for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?i+=r.nodeValue.length:1===r.nodeType&&(e.push({event:"start",offset:i,node:r}),i=t(r,i),ct(r).match(/br|hr|img|input/)||e.push({event:"stop",offset:i,node:r}));return i}(t,0),e}function Mt(t,e,n){let i=0,r="";const s=[];function a(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset<e[0].offset?t:e:"start"===e[0].event?t:e:t.length?t:e}function u(t){function e(t){return" "+t.nodeName+'="'+o(t.value)+'"'}r+="<"+ct(t)+[].map.call(t.attributes,e).join("")+">"}function c(t){r+="</"+ct(t)+">"}function l(t){("start"===t.event?u:c)(t.node)}while(t.length||e.length){let e=a();if(r+=o(n.substring(i,e[0].offset)),i=e[0].offset,e===t){s.reverse().forEach(c);do{l(e.splice(0,1)[0]),e=a()}while(e===t&&e.length&&e[0].offset===i);s.reverse().forEach(u)}else"start"===e[0].event?s.push(e[0].node):s.pop(),l(e.splice(0,1)[0])}return r+o(n.substr(i))}const pt={},ht=t=>{console.error(t)},gt=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Nt=(t,e)=>{pt[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),pt[`${t}/${e}`]=!0)},Dt=o,It=s,yt=Symbol("nomatch"),dt=function(t){const e=Object.create(null),i=Object.create(null),o=[];let s=!0;const a=/(^(<[^>]+>|\t|)+|\n)/gm,u="Could not find the language '{}', did you forget to load/include a language module?",c={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:M};function h(t){return l.noHighlightRe.test(t)}function g(t){let e=t.className+" ";e+=t.parentNode?t.parentNode.className:"";const n=l.languageDetectRe.exec(e);if(n){const e=_(n[1]);return e||(gt(u.replace("{}",n[1])),gt("Falling back to no-highlight mode for this block.",t)),e?n[1]:"no-highlight"}return e.split(/\s+/).find((t=>h(t)||_(t)))}function N(t,e,n,i){let r="",o="";"object"===typeof e?(r=t,n=e.ignoreIllegals,o=e.language,i=void 0):(Nt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Nt("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=t,r=e);const s={code:r,language:o};Q("before:highlight",s);const a=s.result?s.result:D(s.language,s.code,n,i);return a.code=s.code,Q("after:highlight",a),a}function D(t,n,i,a){function c(t,e){const n=E.case_insensitive?e[0].toLowerCase():e[0];return Object.prototype.hasOwnProperty.call(t.keywords,n)&&t.keywords[n]}function M(){if(!S.keywords)return void v.addText(m);let t=0;S.keywordPatternRe.lastIndex=0;let e=S.keywordPatternRe.exec(m),n="";while(e){n+=m.substring(t,e.index);const i=c(S,e);if(i){const[t,r]=i;if(v.addText(n),n="",O+=r,t.startsWith("_"))n+=e[0];else{const n=E.classNameAliases[t]||t;v.addKeyword(e[0],n)}}else n+=e[0];t=S.keywordPatternRe.lastIndex,e=S.keywordPatternRe.exec(m)}n+=m.substr(t),v.addText(n)}function h(){if(""===m)return;let t=null;if("string"===typeof S.subLanguage){if(!e[S.subLanguage])return void v.addText(m);t=D(S.subLanguage,m,!0,z[S.subLanguage]),z[S.subLanguage]=t.top}else t=d(m,S.subLanguage.length?S.subLanguage:null);S.relevance>0&&(O+=t.relevance),v.addSublanguage(t.emitter,t.language)}function g(){null!=S.subLanguage?h():M(),m=""}function N(t){return t.className&&v.openNode(E.classNameAliases[t.className]||t.className),S=Object.create(t,{parent:{value:S}}),S}function y(t,e,n){let i=I(t.endRe,n);if(i){if(t["on:end"]){const n=new r(t);t["on:end"](e,n),n.isMatchIgnored&&(i=!1)}if(i){while(t.endsParent&&t.parent)t=t.parent;return t}}if(t.endsWithParent)return y(t.parent,e,n)}function T(t){return 0===S.matcher.regexIndex?(m+=t[0],1):(R=!0,0)}function x(t){const e=t[0],n=t.rule,i=new r(n),o=[n.__beforeBegin,n["on:begin"]];for(const r of o)if(r&&(r(t,i),i.isMatchIgnored))return T(e);return n&&n.endSameAsBegin&&(n.endRe=p(e)),n.skip?m+=e:(n.excludeBegin&&(m+=e),g(),n.returnBegin||n.excludeBegin||(m=e)),N(n),n.returnBegin?0:e.length}function L(t){const e=t[0],i=n.substr(t.index),r=y(S,t,i);if(!r)return yt;const o=S;o.skip?m+=e:(o.returnEnd||o.excludeEnd||(m+=e),g(),o.excludeEnd&&(m=e));do{S.className&&v.closeNode(),S.skip||S.subLanguage||(O+=S.relevance),S=S.parent}while(S!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),N(r.starts)),o.returnEnd?0:e.length}function j(){const t=[];for(let e=S;e!==E;e=e.parent)e.className&&t.unshift(e.className);t.forEach((t=>v.openNode(t)))}let f={};function w(e,r){const o=r&&r[0];if(m+=e,null==o)return g(),0;if("begin"===f.type&&"end"===r.type&&f.index===r.index&&""===o){if(m+=n.slice(r.index,r.index+1),!s){const e=new Error("0 width match regex");throw e.languageName=t,e.badRule=f.rule,e}return 1}if(f=r,"begin"===r.type)return x(r);if("illegal"===r.type&&!i){const t=new Error('Illegal lexeme "'+o+'" for mode "'+(S.className||"<unnamed>")+'"');throw t.mode=S,t}if("end"===r.type){const t=L(r);if(t!==yt)return t}if("illegal"===r.type&&""===o)return 1;if(k>1e5&&k>3*r.index){const t=new Error("potential infinite loop, way more iterations than matches");throw t}return m+=o,o.length}const E=_(t);if(!E)throw ht(u.replace("{}",t)),new Error('Unknown language: "'+t+'"');const A=nt(E,{plugins:o});let C="",S=a||A;const z={},v=new l.__emitter(l);j();let m="",O=0,b=0,k=0,R=!1;try{for(S.matcher.considerAll();;){k++,R?R=!1:S.matcher.considerAll(),S.matcher.lastIndex=b;const t=S.matcher.exec(n);if(!t)break;const e=n.substring(b,t.index),i=w(e,t);b=t.index+i}return w(n.substr(b)),v.closeAllNodes(),v.finalize(),C=v.toHTML(),{relevance:Math.floor(O),value:C,language:t,illegal:!1,emitter:v,top:S}}catch(U){if(U.message&&U.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:U.message,context:n.slice(b-100,b+100),mode:U.mode},sofar:C,relevance:0,value:Dt(n),emitter:v};if(s)return{illegal:!1,relevance:0,value:Dt(n),emitter:v,language:t,top:S,errorRaised:U};throw U}}function y(t){const e={relevance:0,emitter:new l.__emitter(l),value:Dt(t),illegal:!1,top:c};return e.emitter.addText(t),e}function d(t,n){n=n||l.languages||Object.keys(e);const i=y(t),r=n.filter(_).filter(U).map((e=>D(e,t,!1)));r.unshift(i);const o=r.sort(((t,e)=>{if(t.relevance!==e.relevance)return e.relevance-t.relevance;if(t.language&&e.language){if(_(t.language).supersetOf===e.language)return 1;if(_(e.language).supersetOf===t.language)return-1}return 0})),[s,a]=o,u=s;return u.second_best=a,u}function T(t){return l.tabReplace||l.useBR?t.replace(a,(t=>"\n"===t?l.useBR?"<br>":t:l.tabReplace?t.replace(/\t/g,l.tabReplace):t)):t}function x(t,e,n){const r=e?i[e]:n;t.classList.add("hljs"),r&&t.classList.add(r)}const L={"before:highlightElement":({el:t})=>{l.useBR&&(t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:t})=>{l.useBR&&(t.value=t.value.replace(/\n/g,"<br>"))}},j=/^(<[^>]+>|\t)+/gm,f={"after:highlightElement":({result:t})=>{l.tabReplace&&(t.value=t.value.replace(j,(t=>t.replace(/\t/g,l.tabReplace))))}};function w(t){let e=null;const n=g(t);if(h(n))return;Q("before:highlightElement",{el:t,language:n}),e=t;const i=e.textContent,r=n?N(i,{language:n,ignoreIllegals:!0}):d(i);Q("after:highlightElement",{el:t,result:r,text:i}),t.innerHTML=r.value,x(t,n,r.language),t.result={language:r.language,re:r.relevance,relavance:r.relevance},r.second_best&&(t.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance})}function E(t){t.useBR&&(Nt("10.3.0","'useBR' will be removed entirely in v11.0"),Nt("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=It(l,t)}const A=()=>{if(A.called)return;A.called=!0,Nt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");const t=document.querySelectorAll("pre code");t.forEach(w)};function C(){Nt("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),S=!0}let S=!1;function z(){if("loading"===document.readyState)return void(S=!0);const t=document.querySelectorAll("pre code");t.forEach(w)}function v(){S&&z()}function m(n,i){let r=null;try{r=i(t)}catch(o){if(ht("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw o;ht(o),r=c}r.name||(r.name=n),e[n]=r,r.rawDefinition=i.bind(null,t),r.aliases&&R(r.aliases,{languageName:n})}function O(t){delete e[t];for(const e of Object.keys(i))i[e]===t&&delete i[e]}function b(){return Object.keys(e)}function k(t){Nt("10.4.0","requireLanguage will be removed entirely in v11."),Nt("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const e=_(t);if(e)return e;const n=new Error("The '{}' language is required, but not loaded.".replace("{}",t));throw n}function _(t){return t=(t||"").toLowerCase(),e[t]||e[i[t]]}function R(t,{languageName:e}){"string"===typeof t&&(t=[t]),t.forEach((t=>{i[t.toLowerCase()]=e}))}function U(t){const e=_(t);return e&&!e.disableAutodetect}function Y(t){t["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))})}function P(t){Y(t),o.push(t)}function Q(t,e){const n=t;o.forEach((function(t){t[n]&&t[n](e)}))}function B(t){return Nt("10.2.0","fixMarkup will be removed entirely in v11.0"),Nt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),T(t)}function Z(t){return Nt("10.7.0","highlightBlock will be removed entirely in v12.0"),Nt("10.7.0","Please use highlightElement now."),w(t)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",v,!1),Object.assign(t,{highlight:N,highlightAuto:d,highlightAll:z,fixMarkup:B,highlightElement:w,highlightBlock:Z,configure:E,initHighlighting:A,initHighlightingOnLoad:C,registerLanguage:m,unregisterLanguage:O,listLanguages:b,getLanguage:_,registerAliases:R,requireLanguage:k,autoDetection:U,inherit:It,addPlugin:P,vuePlugin:at(t).VuePlugin}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=ot;for(const r in F)"object"===typeof F[r]&&n(F[r]);return Object.assign(t,F),t.addPlugin(L),t.addPlugin(ut),t.addPlugin(f),t};var Tt=dt({});t.exports=Tt},1519:t=>{function e(t){return t?"string"===typeof t?t:t.source:null}function n(...t){const n=t.map((t=>e(t))).join("");return n}function i(t){const e={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[e]}]};Object.assign(e,{className:"variable",variants:[{begin:n(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e,r]};r.contains.push(s);const a={className:"",begin:/\\"/},u={className:"string",begin:/'/,end:/'/},c={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,e]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],M=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.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:[M,t.SHEBANG(),p,c,t.HASH_COMMENT_MODE,o,s,a,u,e]}}t.exports=i},6344:t=>{const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["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"],i=["true","false","null","undefined","NaN","Infinity"],r=["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"],o=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","module","global"],u=[].concat(s,a,r,o);function c(t){return t?"string"===typeof t?t:t.source:null}function l(t){return M("(?=",t,")")}function M(...t){const e=t.map((t=>c(t))).join("");return e}function p(t){const r=(t,{after:e})=>{const n="</"+t[0].slice(1),i=t.input.indexOf(n,e);return-1!==i},o=e,s={begin:"<>",end:"</>"},a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,e)=>{const n=t[0].length+t.index,i=t.input[n];"<"!==i?">"===i&&(r(t,{after:n})||e.ignoreMatch()):e.ignoreMatch()}},c={$pattern:e,keyword:n,literal:i,built_in:u},p="[0-9](_?[0-9])*",h=`\\.(${p})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${g})((${h})|\\.)?|(${h}))[eE][+-]?(${p})\\b`},{begin:`\\b(${g})\\b((${h})\\b|\\.)?|(${h})\\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},D={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},I={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,D],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,D],subLanguage:"css"}},d={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,D]},T=t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),x={className:"comment",variants:[T,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},L=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,I,y,d,N,t.REGEXP_MODE];D.contains=L.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(L)});const j=[].concat(x,D.contains),f=j.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(j)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:f};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:f},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,I,y,d,x,N,{begin:M(/[{,\n]\s*/,l(M(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,o+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:o+l("\\s*:"),relevance:0}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[x,t.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:f}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:c,contains:["self",t.inherit(t.TITLE_MODE,{begin:o}),w],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[w,t.inherit(t.TITLE_MODE,{begin:o})]},{variants:[{begin:"\\."+o},{begin:"\\$"+o}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:o}),"self",w]},{begin:"(get|set)\\s+(?="+o+"\\()",end:/\{/,keywords:"get set",contains:[t.inherit(t.TITLE_MODE,{begin:o}),{begin:/\(\)/},w]},{begin:/\$[(.]/}]}}t.exports=p},6572:t=>{function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}t.exports=e},4587:t=>{function e(t){var e="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,r]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",l="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",M={className:"number",begin:"\\b"+a+u+c+l+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},h={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},N=[i,{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+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},M,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},h,g,o],D=[...N];return D.pop(),D.push(s),p.contains=D,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:N}}t.exports=e},6293:(t,e,n)=>{"use strict";n.r(e),n.d(e,{getFontEmbedCSS:()=>dt,toBlob:()=>yt,toCanvas:()=>gt,toJpeg:()=>It,toPixelData:()=>Nt,toPng:()=>Dt,toSvg:()=>ht});const i="application/font-woff",r="image/jpeg",o={woff:i,woff2:i,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:r,jpeg:r,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function s(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function a(t){const e=s(t).toLowerCase();return o[e]||""}function u(t){return t.split(/,/)[1]}function c(t){return-1!==t.search(/^(data:)/)}function l(t,e){return`data:${e};base64,${t}`}async function M(t,e,n){const i=await fetch(t,e);if(404===i.status)throw new Error(`Resource "${i.url}" not found`);const r=await i.blob();return new Promise(((t,e)=>{const o=new FileReader;o.onerror=e,o.onloadend=()=>{try{t(n({res:i,result:o.result}))}catch(r){e(r)}},o.readAsDataURL(r)}))}const p={};function h(t,e,n){let i=t.replace(/\?.*/,"");return n&&(i=t),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),e?`[${e}]${i}`:i}async function g(t,e,n){const i=h(t,e,n.includeQueryParams);if(null!=p[i])return p[i];let r;n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const i=await M(t,n.fetchRequestInit,(({res:t,result:n})=>(e||(e=t.headers.get("Content-Type")||""),u(n))));r=l(i,e)}catch(o){r=n.imagePlaceholder||"";let e=`Failed to fetch resource: ${t}`;o&&(e="string"===typeof o?o:o.message),e&&console.warn(e)}return p[i]=r,r}function N(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),e&&(i.href=e),r.href=t,r.href}const D=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function I(t){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(t[n]);return e}function y(t,e){const n=t.ownerDocument.defaultView||window,i=n.getComputedStyle(t).getPropertyValue(e);return i?parseFloat(i.replace("px","")):0}function d(t){const e=y(t,"border-left-width"),n=y(t,"border-right-width");return t.clientWidth+e+n}function T(t){const e=y(t,"border-top-width"),n=y(t,"border-bottom-width");return t.clientHeight+e+n}function x(t,e={}){const n=e.width||d(t),i=e.height||T(t);return{width:n,height:i}}function L(){let t,e;try{e=process}catch(i){}const n=e&&e.env?e.env.devicePixelRatio:null;return n&&(t=parseInt(n,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const j=16384;function f(t){(t.width>j||t.height>j)&&(t.width>j&&t.height>j?t.width>t.height?(t.height*=j/t.width,t.width=j):(t.width*=j/t.height,t.height=j):t.width>j?(t.height*=j/t.width,t.width=j):(t.width*=j/t.height,t.height=j))}function w(t,e={}){return t.toBlob?new Promise((n=>{t.toBlob(n,e.type?e.type:"image/png",e.quality?e.quality:1)})):new Promise((n=>{const i=window.atob(t.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),r=i.length,o=new Uint8Array(r);for(let t=0;t<r;t+=1)o[t]=i.charCodeAt(t);n(new Blob([o],{type:e.type?e.type:"image/png"}))}))}function E(t){return new Promise(((e,n)=>{const i=new Image;i.onload=()=>e(i),i.onerror=n,i.crossOrigin="anonymous",i.decoding="sync",i.src=t}))}async function A(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}async function C(t,e,n){const i="http://www.w3.org/2000/svg",r=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return r.setAttribute("width",`${e}`),r.setAttribute("height",`${n}`),r.setAttribute("viewBox",`0 0 ${e} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),r.appendChild(o),o.appendChild(t),A(r)}function S(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function z(t){return I(t).map((e=>{const n=t.getPropertyValue(e),i=t.getPropertyPriority(e);return`${e}: ${n}${i?" !important":""};`})).join(" ")}function v(t,e,n){const i=`.${t}:${e}`,r=n.cssText?S(n):z(n);return document.createTextNode(`${i}{${r}}`)}function m(t,e,n){const i=window.getComputedStyle(t,n),r=i.getPropertyValue("content");if(""===r||"none"===r)return;const o=D();try{e.className=`${e.className} ${o}`}catch(a){return}const s=document.createElement("style");s.appendChild(v(o,n,i)),e.appendChild(s)}function O(t,e){m(t,e,":before"),m(t,e,":after")}async function b(t){const e=t.toDataURL();return"data:,"===e?t.cloneNode(!1):E(e)}async function k(t,e){const n=t.poster,i=a(n),r=await g(n,i,e);return E(r)}async function _(t,e){return t instanceof HTMLCanvasElement?b(t):t instanceof HTMLVideoElement&&t.poster?k(t,e):t.cloneNode(!1)}const R=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();async function U(t,e,n){var i;const r=R(t)&&t.assignedNodes?I(t.assignedNodes()):I((null!==(i=t.shadowRoot)&&void 0!==i?i:t).childNodes);return 0===r.length||t instanceof HTMLVideoElement||await r.reduce(((t,i)=>t.then((()=>Z(i,n))).then((t=>{t&&e.appendChild(t)}))),Promise.resolve()),e}function Y(t,e){const n=e.style;if(!n)return;const i=window.getComputedStyle(t);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):I(i).forEach((t=>{let e=i.getPropertyValue(t);if("font-size"===t&&e.endsWith("px")){const t=Math.floor(parseFloat(e.substring(0,e.length-2)))-.1;e=`${t}px`}n.setProperty(t,e,i.getPropertyPriority(t))}))}function P(t,e){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function Q(t,e){if(t instanceof HTMLSelectElement){const n=e,i=Array.from(n.children).find((e=>t.value===e.getAttribute("value")));i&&i.setAttribute("selected","")}}function B(t,e){return e instanceof Element&&(Y(t,e),O(t,e),P(t,e),Q(t,e)),e}async function Z(t,e,n){return n||!e.filter||e.filter(t)?Promise.resolve(t).then((t=>_(t,e))).then((n=>U(t,n,e))).then((e=>B(t,e))):null}const G=/url\((['"]?)([^'"]+?)\1\)/g,F=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,H=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function W(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function V(t){const e=[];return t.replace(G,((t,n,i)=>(e.push(i),t))),e.filter((t=>!c(t)))}async function X(t,e,n,i,r){try{const o=n?N(e,n):e,s=a(e);let u;if(r){const t=await r(o);u=l(t,s)}else u=await g(o,s,i);return t.replace(W(e),`$1${u}$3`)}catch(o){}return t}function J(t,{preferredFontFormat:e}){return e?t.replace(H,(t=>{while(1){const[n,,i]=F.exec(t)||[];if(!i)return"";if(i===e)return`src: ${n};`}})):t}function $(t){return-1!==t.search(G)}async function K(t,e,n){if(!$(t))return t;const i=J(t,n),r=V(i);return r.reduce(((t,i)=>t.then((t=>X(t,i,e,n)))),Promise.resolve(i))}async function q(t,e){var n;const i=null===(n=t.style)||void 0===n?void 0:n.getPropertyValue("background");if(i){const n=await K(i,null,e);t.style.setProperty("background",n,t.style.getPropertyPriority("background"))}}async function tt(t,e){if((!(t instanceof HTMLImageElement)||c(t.src))&&(!(t instanceof SVGImageElement)||c(t.href.baseVal)))return;const n=t instanceof HTMLImageElement?t.src:t.href.baseVal,i=await g(n,a(n),e);await new Promise(((e,n)=>{t.onload=e,t.onerror=n,t instanceof HTMLImageElement?(t.srcset="",t.src=i):t.href.baseVal=i}))}async function et(t,e){const n=I(t.childNodes),i=n.map((t=>nt(t,e)));await Promise.all(i).then((()=>t))}async function nt(t,e){t instanceof Element&&(await q(t,e),await tt(t,e),await et(t,e))}function it(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const i=e.style;return null!=i&&Object.keys(i).forEach((t=>{n[t]=i[t]})),t}const rt={};async function ot(t){let e=rt[t];if(null!=e)return e;const n=await fetch(t),i=await n.text();return e={url:t,cssText:i},rt[t]=e,e}async function st(t,e){let n=t.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,r=n.match(/url\([^)]+\)/g)||[],o=r.map((async r=>{let o=r.replace(i,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),M(o,e.fetchRequestInit,(({result:t})=>(n=n.replace(r,`url(${t})`),[r,t])))}));return Promise.all(o).then((()=>n))}function at(t){if(null==t)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let i=t.replace(n,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");while(1){const t=r.exec(i);if(null===t)break;e.push(t[0])}i=i.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,s="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(s,"gi");while(1){let t=o.exec(i);if(null===t){if(t=a.exec(i),null===t)break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;e.push(t[0])}return e}async function ut(t,e){const n=[],i=[];return t.forEach((n=>{if("cssRules"in n)try{I(n.cssRules||[]).forEach(((t,r)=>{if(t.type===CSSRule.IMPORT_RULE){let o=r+1;const s=t.href,a=ot(s).then((t=>st(t,e))).then((t=>at(t).forEach((t=>{try{n.insertRule(t,t.startsWith("@import")?o+=1:n.cssRules.length)}catch(e){console.error("Error inserting rule from remote css",{rule:t,error:e})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));i.push(a)}}))}catch(r){const o=t.find((t=>null==t.href))||document.styleSheets[0];null!=n.href&&i.push(ot(n.href).then((t=>st(t,e))).then((t=>at(t).forEach((t=>{o.insertRule(t,n.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t.toString())}))),console.error("Error inlining remote css file",r.toString())}})),Promise.all(i).then((()=>(t.forEach((t=>{if("cssRules"in t)try{I(t.cssRules||[]).forEach((t=>{n.push(t)}))}catch(e){console.error(`Error while reading CSS rules from ${t.href}`,e.toString())}})),n)))}function ct(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>$(t.style.getPropertyValue("src"))))}async function lt(t,e){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const n=I(t.ownerDocument.styleSheets),i=await ut(n,e);return ct(i)}async function Mt(t,e){const n=await lt(t,e),i=await Promise.all(n.map((t=>{const n=t.parentStyleSheet?t.parentStyleSheet.href:null;return K(t.cssText,n,e)})));return i.join("\n")}async function pt(t,e){const n=null!=e.fontEmbedCSS?e.fontEmbedCSS:e.skipFonts?null:await Mt(t,e);if(n){const e=document.createElement("style"),i=document.createTextNode(n);e.appendChild(i),t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}}async function ht(t,e={}){const{width:n,height:i}=x(t,e),r=await Z(t,e,!0);await pt(r,e),await nt(r,e),it(r,e);const o=await C(r,n,i);return o}async function gt(t,e={}){const{width:n,height:i}=x(t,e),r=await ht(t,e),o=await E(r),s=document.createElement("canvas"),a=s.getContext("2d"),u=e.pixelRatio||L(),c=e.canvasWidth||n,l=e.canvasHeight||i;return s.width=c*u,s.height=l*u,e.skipAutoScale||f(s),s.style.width=`${c}`,s.style.height=`${l}`,e.backgroundColor&&(a.fillStyle=e.backgroundColor,a.fillRect(0,0,s.width,s.height)),a.drawImage(o,0,0,s.width,s.height),s}async function Nt(t,e={}){const{width:n,height:i}=x(t,e),r=await gt(t,e),o=r.getContext("2d");return o.getImageData(0,0,n,i).data}async function Dt(t,e={}){const n=await gt(t,e);return n.toDataURL()}async function It(t,e={}){const n=await gt(t,e);return n.toDataURL("image/jpeg",e.quality||1)}async function yt(t,e={}){const n=await gt(t,e),i=await w(n);return i}async function dt(t,e={}){return Mt(t,e)}},1989:(t,e,n)=>{var i=n(1789),r=n(401),o=n(7667),s=n(1327),a=n(1866);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},8407:(t,e,n)=>{var i=n(7040),r=n(4125),o=n(2117),s=n(7518),a=n(4705);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},7071:(t,e,n)=>{var i=n(852),r=n(5639),o=i(r,"Map");t.exports=o},3369:(t,e,n)=>{var i=n(4785),r=n(1285),o=n(6e3),s=n(9916),a=n(5265);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},6384:(t,e,n)=>{var i=n(8407),r=n(7465),o=n(3779),s=n(7599),a=n(4758),u=n(4309);function c(t){var e=this.__data__=new i(t);this.size=e.size}c.prototype.clear=r,c.prototype["delete"]=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,t.exports=c},2705:(t,e,n)=>{var i=n(5639),r=i.Symbol;t.exports=r},1149:(t,e,n)=>{var i=n(5639),r=i.Uint8Array;t.exports=r},6874:t=>{function e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=e},4636:(t,e,n)=>{var i=n(2545),r=n(5694),o=n(1469),s=n(4144),a=n(5776),u=n(6719),c=Object.prototype,l=c.hasOwnProperty;function M(t,e){var n=o(t),c=!n&&r(t),M=!n&&!c&&s(t),p=!n&&!c&&!M&&u(t),h=n||c||M||p,g=h?i(t.length,String):[],N=g.length;for(var D in t)!e&&!l.call(t,D)||h&&("length"==D||M&&("offset"==D||"parent"==D)||p&&("buffer"==D||"byteLength"==D||"byteOffset"==D)||a(D,N))||g.push(D);return g}t.exports=M},6556:(t,e,n)=>{var i=n(9465),r=n(7813);function o(t,e,n){(void 0!==n&&!r(t[e],n)||void 0===n&&!(e in t))&&i(t,e,n)}t.exports=o},4865:(t,e,n)=>{var i=n(9465),r=n(7813),o=Object.prototype,s=o.hasOwnProperty;function a(t,e,n){var o=t[e];s.call(t,e)&&r(o,n)&&(void 0!==n||e in t)||i(t,e,n)}t.exports=a},8470:(t,e,n)=>{var i=n(7813);function r(t,e){var n=t.length;while(n--)if(i(t[n][0],e))return n;return-1}t.exports=r},9465:(t,e,n)=>{var i=n(8777);function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=r},3118:(t,e,n)=>{var i=n(3218),r=Object.create,o=function(){function t(){}return function(e){if(!i(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},8483:(t,e,n)=>{var i=n(5063),r=i();t.exports=r},4239:(t,e,n)=>{var i=n(2705),r=n(9607),o=n(2333),s="[object Null]",a="[object Undefined]",u=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?a:s:u&&u in Object(t)?r(t):o(t)}t.exports=c},9454:(t,e,n)=>{var i=n(4239),r=n(7005),o="[object Arguments]";function s(t){return r(t)&&i(t)==o}t.exports=s},8458:(t,e,n)=>{var i=n(3560),r=n(7724),o=n(3218),s=n(346),a=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,M=c.toString,p=l.hasOwnProperty,h=RegExp("^"+M.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(t){if(!o(t)||r(t))return!1;var e=i(t)?h:u;return e.test(s(t))}t.exports=g},8749:(t,e,n)=>{var i=n(4239),r=n(1780),o=n(7005),s="[object Arguments]",a="[object Array]",u="[object Boolean]",c="[object Date]",l="[object Error]",M="[object Function]",p="[object Map]",h="[object Number]",g="[object Object]",N="[object RegExp]",D="[object Set]",I="[object String]",y="[object WeakMap]",d="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",L="[object Float64Array]",j="[object Int8Array]",f="[object Int16Array]",w="[object Int32Array]",E="[object Uint8Array]",A="[object Uint8ClampedArray]",C="[object Uint16Array]",S="[object Uint32Array]",z={};function v(t){return o(t)&&r(t.length)&&!!z[i(t)]}z[x]=z[L]=z[j]=z[f]=z[w]=z[E]=z[A]=z[C]=z[S]=!0,z[s]=z[a]=z[d]=z[u]=z[T]=z[c]=z[l]=z[M]=z[p]=z[h]=z[g]=z[N]=z[D]=z[I]=z[y]=!1,t.exports=v},313:(t,e,n)=>{var i=n(3218),r=n(5726),o=n(3498),s=Object.prototype,a=s.hasOwnProperty;function u(t){if(!i(t))return o(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}t.exports=u},2980:(t,e,n)=>{var i=n(6384),r=n(6556),o=n(8483),s=n(9783),a=n(3218),u=n(1704),c=n(6390);function l(t,e,n,M,p){t!==e&&o(e,(function(o,u){if(p||(p=new i),a(o))s(t,e,u,n,l,M,p);else{var h=M?M(c(t,u),o,u+"",t,e,p):void 0;void 0===h&&(h=o),r(t,u,h)}}),u)}t.exports=l},9783:(t,e,n)=>{var i=n(6556),r=n(4626),o=n(7133),s=n(278),a=n(8517),u=n(5694),c=n(1469),l=n(9246),M=n(4144),p=n(3560),h=n(3218),g=n(8630),N=n(6719),D=n(6390),I=n(9881);function y(t,e,n,y,d,T,x){var L=D(t,n),j=D(e,n),f=x.get(j);if(f)i(t,n,f);else{var w=T?T(L,j,n+"",t,e,x):void 0,E=void 0===w;if(E){var A=c(j),C=!A&&M(j),S=!A&&!C&&N(j);w=j,A||C||S?c(L)?w=L:l(L)?w=s(L):C?(E=!1,w=r(j,!0)):S?(E=!1,w=o(j,!0)):w=[]:g(j)||u(j)?(w=L,u(L)?w=I(L):h(L)&&!p(L)||(w=a(j))):E=!1}E&&(x.set(j,w),d(w,j,y,T,x),x["delete"](j)),i(t,n,w)}}t.exports=y},5976:(t,e,n)=>{var i=n(6557),r=n(5357),o=n(61);function s(t,e){return o(r(t,e,i),t+"")}t.exports=s},6560:(t,e,n)=>{var i=n(5703),r=n(8777),o=n(6557),s=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:o;t.exports=s},2545:t=>{function e(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}t.exports=e},7561:(t,e,n)=>{var i=n(7990),r=/^\s+/;function o(t){return t?t.slice(0,i(t)+1).replace(r,""):t}t.exports=o},1717:t=>{function e(t){return function(e){return t(e)}}t.exports=e},4318:(t,e,n)=>{var i=n(1149);function r(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}t.exports=r},4626:(t,e,n)=>{t=n.nmd(t);var i=n(5639),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,s=o&&o.exports===r,a=s?i.Buffer:void 0,u=a?a.allocUnsafe:void 0;function c(t,e){if(e)return t.slice();var n=t.length,i=u?u(n):new t.constructor(n);return t.copy(i),i}t.exports=c},7133:(t,e,n)=>{var i=n(4318);function r(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}t.exports=r},278:t=>{function e(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n<i)e[n]=t[n];return e}t.exports=e},8363:(t,e,n)=>{var i=n(4865),r=n(9465);function o(t,e,n,o){var s=!n;n||(n={});var a=-1,u=e.length;while(++a<u){var c=e[a],l=o?o(n[c],t[c],c,n,t):void 0;void 0===l&&(l=t[c]),s?r(n,c,l):i(n,c,l)}return n}t.exports=o},4429:(t,e,n)=>{var i=n(5639),r=i["__core-js_shared__"];t.exports=r},1750:(t,e,n)=>{var i=n(5976),r=n(6612);function o(t){return i((function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&r(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);while(++i<o){var u=n[i];u&&t(e,u,i,s)}return e}))}t.exports=o},5063:t=>{function e(t){return function(e,n,i){var r=-1,o=Object(e),s=i(e),a=s.length;while(a--){var u=s[t?a:++r];if(!1===n(o[u],u,o))break}return e}}t.exports=e},8777:(t,e,n)=>{var i=n(852),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=r},1957:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},5050:(t,e,n)=>{var i=n(7019);function r(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=r},852:(t,e,n)=>{var i=n(8458),r=n(7801);function o(t,e){var n=r(t,e);return i(n)?n:void 0}t.exports=o},5924:(t,e,n)=>{var i=n(5569),r=i(Object.getPrototypeOf,Object);t.exports=r},9607:(t,e,n)=>{var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;function u(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(u){}var r=s.call(t);return i&&(e?t[a]=n:delete t[a]),r}t.exports=u},7801:t=>{function e(t,e){return null==t?void 0:t[e]}t.exports=e},1789:(t,e,n)=>{var i=n(4536);function r(){this.__data__=i?i(null):{},this.size=0}t.exports=r},401:t=>{function e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=e},7667:(t,e,n)=>{var i=n(4536),r="__lodash_hash_undefined__",o=Object.prototype,s=o.hasOwnProperty;function a(t){var e=this.__data__;if(i){var n=e[t];return n===r?void 0:n}return s.call(e,t)?e[t]:void 0}t.exports=a},1327:(t,e,n)=>{var i=n(4536),r=Object.prototype,o=r.hasOwnProperty;function s(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)}t.exports=s},1866:(t,e,n)=>{var i=n(4536),r="__lodash_hash_undefined__";function o(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?r:e,this}t.exports=o},8517:(t,e,n)=>{var i=n(3118),r=n(5924),o=n(5726);function s(t){return"function"!=typeof t.constructor||o(t)?{}:i(r(t))}t.exports=s},5776:t=>{var e=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(t,i){var r=typeof t;return i=null==i?e:i,!!i&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<i}t.exports=i},6612:(t,e,n)=>{var i=n(7813),r=n(8612),o=n(5776),s=n(3218);function a(t,e,n){if(!s(n))return!1;var a=typeof e;return!!("number"==a?r(n)&&o(e,n.length):"string"==a&&e in n)&&i(n[e],t)}t.exports=a},7019:t=>{function e(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=e},7724:(t,e,n)=>{var i=n(4429),r=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!r&&r in t}t.exports=o},5726:t=>{var e=Object.prototype;function n(t){var n=t&&t.constructor,i="function"==typeof n&&n.prototype||e;return t===i}t.exports=n},7040:t=>{function e(){this.__data__=[],this.size=0}t.exports=e},4125:(t,e,n)=>{var i=n(8470),r=Array.prototype,o=r.splice;function s(t){var e=this.__data__,n=i(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():o.call(e,n,1),--this.size,!0}t.exports=s},2117:(t,e,n)=>{var i=n(8470);function r(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}t.exports=r},7518:(t,e,n)=>{var i=n(8470);function r(t){return i(this.__data__,t)>-1}t.exports=r},4705:(t,e,n)=>{var i=n(8470);function r(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}t.exports=r},4785:(t,e,n)=>{var i=n(1989),r=n(8407),o=n(7071);function s(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}t.exports=s},1285:(t,e,n)=>{var i=n(5050);function r(t){var e=i(this,t)["delete"](t);return this.size-=e?1:0,e}t.exports=r},6e3:(t,e,n)=>{var i=n(5050);function r(t){return i(this,t).get(t)}t.exports=r},9916:(t,e,n)=>{var i=n(5050);function r(t){return i(this,t).has(t)}t.exports=r},5265:(t,e,n)=>{var i=n(5050);function r(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}t.exports=r},4536:(t,e,n)=>{var i=n(852),r=i(Object,"create");t.exports=r},3498:t=>{function e(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=e},1167:(t,e,n)=>{t=n.nmd(t);var i=n(1957),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,s=o&&o.exports===r,a=s&&i.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=u},2333:t=>{var e=Object.prototype,n=e.toString;function i(t){return n.call(t)}t.exports=i},5569:t=>{function e(t,e){return function(n){return t(e(n))}}t.exports=e},5357:(t,e,n)=>{var i=n(6874),r=Math.max;function o(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){var o=arguments,s=-1,a=r(o.length-e,0),u=Array(a);while(++s<a)u[s]=o[e+s];s=-1;var c=Array(e+1);while(++s<e)c[s]=o[s];return c[e]=n(u),i(t,this,c)}}t.exports=o},5639:(t,e,n)=>{var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},6390:t=>{function e(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=e},61:(t,e,n)=>{var i=n(6560),r=n(1275),o=r(i);t.exports=o},1275:t=>{var e=800,n=16,i=Date.now;function r(t){var r=0,o=0;return function(){var s=i(),a=n-(s-o);if(o=s,a>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}t.exports=r},7465:(t,e,n)=>{var i=n(8407);function r(){this.__data__=new i,this.size=0}t.exports=r},3779:t=>{function e(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=e},7599:t=>{function e(t){return this.__data__.get(t)}t.exports=e},4758:t=>{function e(t){return this.__data__.has(t)}t.exports=e},4309:(t,e,n)=>{var i=n(8407),r=n(7071),o=n(3369),s=200;function a(t,e){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<s-1)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}t.exports=a},346:t=>{var e=Function.prototype,n=e.toString;function i(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}t.exports=i},7990:t=>{var e=/\s/;function n(t){var n=t.length;while(n--&&e.test(t.charAt(n)));return n}t.exports=n},5703:t=>{function e(t){return function(){return t}}t.exports=e},3279:(t,e,n)=>{var i=n(3218),r=n(7771),o=n(4841),s="Expected a function",a=Math.max,u=Math.min;function c(t,e,n){var c,l,M,p,h,g,N=0,D=!1,I=!1,y=!0;if("function"!=typeof t)throw new TypeError(s);function d(e){var n=c,i=l;return c=l=void 0,N=e,p=t.apply(i,n),p}function T(t){return N=t,h=setTimeout(j,e),D?d(t):p}function x(t){var n=t-g,i=t-N,r=e-n;return I?u(r,M-i):r}function L(t){var n=t-g,i=t-N;return void 0===g||n>=e||n<0||I&&i>=M}function j(){var t=r();if(L(t))return f(t);h=setTimeout(j,x(t))}function f(t){return h=void 0,y&&c?d(t):(c=l=void 0,p)}function w(){void 0!==h&&clearTimeout(h),N=0,c=g=l=h=void 0}function E(){return void 0===h?p:f(r())}function A(){var t=r(),n=L(t);if(c=arguments,l=this,g=t,n){if(void 0===h)return T(g);if(I)return clearTimeout(h),h=setTimeout(j,e),d(g)}return void 0===h&&(h=setTimeout(j,e)),p}return e=o(e)||0,i(n)&&(D=!!n.leading,I="maxWait"in n,M=I?a(o(n.maxWait)||0,e):M,y="trailing"in n?!!n.trailing:y),A.cancel=w,A.flush=E,A}t.exports=c},7813:t=>{function e(t,e){return t===e||t!==t&&e!==e}t.exports=e},6557:t=>{function e(t){return t}t.exports=e},5694:(t,e,n)=>{var i=n(9454),r=n(7005),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(t){return r(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,n)=>{var i=n(3560),r=n(1780);function o(t){return null!=t&&r(t.length)&&!i(t)}t.exports=o},9246:(t,e,n)=>{var i=n(8612),r=n(7005);function o(t){return r(t)&&i(t)}t.exports=o},4144:(t,e,n)=>{t=n.nmd(t);var i=n(5639),r=n(5062),o=e&&!e.nodeType&&e,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o,u=a?i.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;t.exports=l},3560:(t,e,n)=>{var i=n(4239),r=n(3218),o="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",u="[object Proxy]";function c(t){if(!r(t))return!1;var e=i(t);return e==s||e==a||e==o||e==u}t.exports=c},1780:t=>{var e=9007199254740991;function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}t.exports=n},3218:t=>{function e(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=e},7005:t=>{function e(t){return null!=t&&"object"==typeof t}t.exports=e},8630:(t,e,n)=>{var i=n(4239),r=n(5924),o=n(7005),s="[object Object]",a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,M=c.call(Object);function p(t){if(!o(t)||i(t)!=s)return!1;var e=r(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==M}t.exports=p},3448:(t,e,n)=>{var i=n(4239),r=n(7005),o="[object Symbol]";function s(t){return"symbol"==typeof t||r(t)&&i(t)==o}t.exports=s},6719:(t,e,n)=>{var i=n(8749),r=n(1717),o=n(1167),s=o&&o.isTypedArray,a=s?r(s):i;t.exports=a},1704:(t,e,n)=>{var i=n(4636),r=n(313),o=n(8612);function s(t){return o(t)?i(t,!0):r(t)}t.exports=s},236:(t,e,n)=>{var i=n(2980),r=n(1750),o=r((function(t,e,n,r){i(t,e,n,r)}));t.exports=o},7771:(t,e,n)=>{var i=n(5639),r=function(){return i.Date.now()};t.exports=r},5062:t=>{function e(){return!1}t.exports=e},4841:(t,e,n)=>{var i=n(7561),r=n(3218),o=n(3448),s=NaN,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function M(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?s:+t}t.exports=M},9881:(t,e,n)=>{var i=n(8363),r=n(1704);function o(t){return i(t,r(t))}t.exports=o},7084:function(t){(function(e,n){t.exports=n()})(0,(function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e){if(t){if("string"===typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=n(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o={exports:{}};function s(){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}}function a(t){o.exports.defaults=t}o.exports={defaults:s(),getDefaults:s,changeDefaults:a};var u=/[&<>"']/,c=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,M=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(t){return p[t]};function g(t,e){if(e){if(u.test(t))return t.replace(c,h)}else if(l.test(t))return t.replace(M,h);return t}var N=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function D(t){return t.replace(N,(function(t,e){return e=e.toLowerCase(),"colon"===e?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}var I=/(^|[^\[])\^/g;function y(t,e){t=t.source||t,e=e||"";var n={replace:function(e,i){return i=i.source||i,i=i.replace(I,"$1"),t=t.replace(e,i),n},getRegex:function(){return new RegExp(t,e)}};return n}var d=/[^\w:]/g,T=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(t,e,n){if(t){var i;try{i=decodeURIComponent(D(n)).replace(d,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}e&&!T.test(n)&&(n=E(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n}var L={},j=/^[^:]+:\/*[^/]*$/,f=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;function E(t,e){L[" "+t]||(j.test(t)?L[" "+t]=t+"/":L[" "+t]=z(t,"/",!0)),t=L[" "+t];var n=-1===t.indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(f,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(w,"$1")+e:t+e}var A={exec:function(){}};function C(t){for(var e,n,i=1;i<arguments.length;i++)for(n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function S(t,e){var n=t.replace(/\|/g,(function(t,e,n){var i=!1,r=e;while(--r>=0&&"\\"===n[r])i=!i;return i?"|":" |"})),i=n.split(/ \|/),r=0;if(i.length>e)i.splice(e);else while(i.length<e)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(/\\\|/g,"|");return i}function z(t,e,n){var i=t.length;if(0===i)return"";var r=0;while(r<i){var o=t.charAt(i-r-1);if(o!==e||n){if(o===e||!n)break;r++}else r++}return t.substr(0,i-r)}function v(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=t.length,i=0,r=0;r<n;r++)if("\\"===t[r])r++;else if(t[r]===e[0])i++;else if(t[r]===e[1]&&(i--,i<0))return r;return-1}function m(t){t&&t.sanitize&&!t.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 O(t,e){if(e<1)return"";var n="";while(e>1)1&e&&(n+=t),e>>=1,t+=t;return n+t}var b={escape:g,unescape:D,edit:y,cleanUrl:x,resolveUrl:E,noopTest:A,merge:C,splitCells:S,rtrim:z,findClosingBracket:v,checkSanitizeDeprecation:m,repeatString:O},k=o.exports.defaults,_=b.rtrim,R=b.splitCells,U=b.escape,Y=b.findClosingBracket;function P(t,e,n){var i=e.href,r=e.title?U(e.title):null,o=t[1].replace(/\\([\[\]])/g,"$1");return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:o}:{type:"image",raw:n,href:i,title:r,text:U(o)}}function Q(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var i=n[1];return e.split("\n").map((function(t){var e=t.match(/^\s+/);if(null===e)return t;var n=e[0];return n.length>=i.length?t.slice(i.length):t})).join("\n")}var B=function(){function t(t){this.options=t||k}var e=t.prototype;return e.space=function(t){var e=this.rules.block.newline.exec(t);if(e)return e[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t){var e=this.rules.block.code.exec(t);if(e){var n=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:_(n,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],i=Q(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:i}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var i=_(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:R(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=R(n.cells[i],n.header.length);return n}}},e.hr=function(t){var e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}},e.blockquote=function(t){var e=this.rules.block.blockquote.exec(t);if(e){var n=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,i,r,o,s,a,u,c,l,M=e[0],p=e[2],h=p.length>1,g={type:"list",raw:M,ordered:h,start:h?+p.slice(0,-1):"",loose:!1,items:[]},N=e[0].match(this.rules.block.item),D=!1,I=N.length;r=this.rules.block.listItemStart.exec(N[0]);for(var y=0;y<I;y++){if(n=N[y],M=n,this.options.pedantic||(l=n.match(new RegExp("\\n\\s*\\n {0,"+(r[0].length-1)+"}\\S")),l&&(s=n.length-l.index+N.slice(y+1).join("\n").length,g.raw=g.raw.substring(0,g.raw.length-s),n=n.substring(0,l.index),M=n,I=y+1)),y!==I-1){if(o=this.rules.block.listItemStart.exec(N[y+1]),this.options.pedantic?o[1].length>r[1].length:o[1].length>=r[0].length||o[1].length>3){N.splice(y,2,N[y]+(!this.options.pedantic&&o[1].length<r[0].length&&!N[y].match(/\n$/)?"":"\n")+N[y+1]),y--,I--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==p[p.length-1]:h===(1===o[2].length))&&(s=N.slice(y+1).join("\n").length,g.raw=g.raw.substring(0,g.raw.length-s),y=I-1),r=o}i=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) ?/,""),~n.indexOf("\n ")&&(i-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+i+"}","gm"),"")),n=_(n,"\n"),y!==I-1&&(M+="\n"),a=D||/\n\n(?!\s*$)/.test(M),y!==I-1&&(D="\n\n"===M.slice(-2),a||(a=D)),a&&(g.loose=!0),this.options.gfm&&(u=/^\[[ xX]\] /.test(n),c=void 0,u&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:M,task:u,checked:c,loose:a,text:n})}return g}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):U(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e){e[3]&&(e[3]=e[3].substring(1,e[3].length-1));var n=e[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:e[0],href:e[2],title:e[3]}}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:R(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=R(n.cells[i].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},e.lheading=function(t){var e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1]}},e.paragraph=function(t){var e=this.rules.block.paragraph.exec(t);if(e)return{type:"paragraph",raw:e[0],text:"\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1]}},e.text=function(t){var e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0]}},e.escape=function(t){var e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:U(e[1])}},e.tag=function(t,e,n){var i=this.rules.inline.tag.exec(t);if(i)return!e&&/^<a /i.test(i[0])?e=!0:e&&/^<\/a>/i.test(i[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):U(i[0]):i[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var i=_(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{var r=Y(e[2],"()");if(r>-1){var o=0===e[0].indexOf("!")?5:4,s=o+e[1].length+r;e[2]=e[2].substring(0,r),e[0]=e[0].substring(0,s).trim(),e[3]=""}}var a=e[2],u="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],u=c[3])}else u=e[3]?e[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),P(e,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(i=e[i.toLowerCase()],!i||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return P(n,i,n[0])}},e.emStrong=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(t);if(i&&(!i[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=i[1]||i[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=i[0].length-1,u=a,c=0,l="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;l.lastIndex=0,e=e.slice(-1*t.length+a);while(null!=(i=l.exec(e)))if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],o)if(s=o.length,i[3]||i[4])u+=s;else if(!((i[5]||i[6])&&a%3)||(a+s)%3){if(u-=s,!(u>0))return s=Math.min(s,s+u+c),Math.min(a,s)%2?{type:"em",raw:t.slice(0,a+i.index+s+1),text:t.slice(1,a+i.index+s)}:{type:"strong",raw:t.slice(0,a+i.index+s+1),text:t.slice(2,a+i.index+s-1)}}else c+=s}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=U(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,i,r=this.rules.inline.autolink.exec(t);if(r)return"@"===r[2]?(n=U(this.options.mangle?e(r[1]):r[1]),i="mailto:"+n):(n=U(r[1]),i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var i,r;if("@"===n[2])i=U(this.options.mangle?e(n[0]):n[0]),r="mailto:"+i;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=U(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},e.inlineText=function(t,e,n){var i,r=this.rules.inline.text.exec(t);if(r)return i=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):U(r[0]):r[0]:U(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},t}(),Z=b.noopTest,G=b.edit,F=b.merge,H={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) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,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+|$)/,nptable:Z,table:Z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};H.def=G(H.def).replace("label",H._label).replace("title",H._title).getRegex(),H.bullet=/(?:[*+-]|\d{1,9}[.)])/,H.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,H.item=G(H.item,"gm").replace(/bull/g,H.bullet).getRegex(),H.listItemStart=G(/^( *)(bull) */).replace("bull",H.bullet).getRegex(),H.list=G(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex(),H._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",H._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,H.html=G(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),H.paragraph=G(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").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",H._tag).getRegex(),H.blockquote=G(H.blockquote).replace("paragraph",H.paragraph).getRegex(),H.normal=F({},H),H.gfm=F({},H.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),H.gfm.nptable=G(H.gfm.nptable).replace("hr",H.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",H._tag).getRegex(),H.gfm.table=G(H.gfm.table).replace("hr",H.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",H._tag).getRegex(),H.pedantic=F({},H.normal,{html:G("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",H._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:Z,paragraph:G(H.normal._paragraph).replace("hr",H.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Z,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)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,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:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};W.punctuation=G(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=G(H._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),W.emStrong.lDelim=G(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=G(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=G(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._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])?)+(?![-_])/,W.autolink=G(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=G(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=G(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=G(W.reflink).replace("label",W._label).getRegex(),W.reflinkSearch=G(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=F({},W),W.pedantic=F({},W.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:G(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:G(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=F({},W.normal,{escape:G(W.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),W.gfm.url=G(W.gfm.url,"i").replace("email",W.gfm._extended_email).getRegex(),W.breaks=F({},W.gfm,{br:G(W.br).replace("{2,}","*").getRegex(),text:G(W.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var V={block:H,inline:W},X=B,J=o.exports.defaults,$=V.block,K=V.inline,q=b.repeatString;function tt(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function et(t){var e,n,i="",r=t.length;for(e=0;e<r;e++)n=t.charCodeAt(e),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var nt=function(){function t(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||J,this.options.tokenizer=this.options.tokenizer||new X,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:$.normal,inline:K.normal};this.options.pedantic?(e.block=$.pedantic,e.inline=K.pedantic):this.options.gfm&&(e.block=$.gfm,this.options.breaks?e.inline=K.breaks:e.inline=K.gfm),this.tokenizer.rules=e}t.lex=function(e,n){var i=new t(n);return i.lex(e)},t.lexInline=function(e,n){var i=new t(n);return i.inlineTokens(e)};var n=t.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){var i,r,o,s,a,u,c=this;void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));while(t)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(i=n.call(c,t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)}))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),i.type&&e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),s=e[e.length-1],s&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.nptable(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),e.push(i);else if(i=this.tokenizer.list(t)){for(t=t.substring(i.raw.length),o=i.items.length,r=0;r<o;r++)i.items[r].tokens=this.blockTokens(i.items[r].text,[],!1);e.push(i)}else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(n&&(i=this.tokenizer.def(t)))t=t.substring(i.raw.length),this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else if(a=t,this.options.extensions&&this.options.extensions.startBlock&&function(){var e=1/0,n=t.slice(1),i=void 0;c.options.extensions.startBlock.forEach((function(t){i=t.call(this,n),"number"===typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(a=t.substring(0,e+1))}(),n&&(i=this.tokenizer.paragraph(a)))s=e[e.length-1],u&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i),u=a.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),s=e[e.length-1],s&&"text"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i);else if(t){var l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}return e},n.inline=function(t){var e,n,i,r,o,s,a=t.length;for(e=0;e<a;e++)switch(s=t[e],s.type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},r=s.header.length,n=0;n<r;n++)s.tokens.header[n]=[],this.inlineTokens(s.header[n],s.tokens.header[n]);for(r=s.cells.length,n=0;n<r;n++)for(o=s.cells[n],s.tokens.cells[n]=[],i=0;i<o.length;i++)s.tokens.cells[n][i]=[],this.inlineTokens(o[i],s.tokens.cells[n][i]);break;case"blockquote":this.inline(s.tokens);break;case"list":for(r=s.items.length,n=0;n<r;n++)this.inline(s.items[n].tokens);break}return t},n.inlineTokens=function(t,e,n,i){var r,o,s,a=this;void 0===e&&(e=[]),void 0===n&&(n=!1),void 0===i&&(i=!1);var u,c,l,M=t;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)while(null!=(u=this.tokenizer.rules.inline.reflinkSearch.exec(M)))p.includes(u[0].slice(u[0].lastIndexOf("[")+1,-1))&&(M=M.slice(0,u.index)+"["+q("a",u[0].length-2)+"]"+M.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(u=this.tokenizer.rules.inline.blockSkip.exec(M)))M=M.slice(0,u.index)+"["+q("a",u[0].length-2)+"]"+M.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(u=this.tokenizer.rules.inline.escapedEmSt.exec(M)))M=M.slice(0,u.index)+"++"+M.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(t)if(c||(l=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(r=n.call(a,t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)}))))if(r=this.tokenizer.escape(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.tag(t,n,i))t=t.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,o=e[e.length-1],o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(r=this.tokenizer.link(t))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(r.raw.length),o=e[e.length-1],"link"===r.type?(r.tokens=this.inlineTokens(r.text,[],!0,i),e.push(r)):o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(r=this.tokenizer.emStrong(t,M,l))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.codespan(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.br(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.del(t))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.autolink(t,et))t=t.substring(r.raw.length),e.push(r);else if(n||!(r=this.tokenizer.url(t,et))){if(s=t,this.options.extensions&&this.options.extensions.startInline&&function(){var e=1/0,n=t.slice(1),i=void 0;a.options.extensions.startInline.forEach((function(t){i=t.call(this,n),"number"===typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(s=t.substring(0,e+1))}(),r=this.tokenizer.inlineText(s,i,tt))t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),c=!0,o=e[e.length-1],o&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(t){var h="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else t=t.substring(r.raw.length),e.push(r);return e},e(t,null,[{key:"rules",get:function(){return{block:$,inline:K}}}]),t}(),it=o.exports.defaults,rt=b.cleanUrl,ot=b.escape,st=function(){function t(t){this.options=t||it}var e=t.prototype;return e.code=function(t,e,n){var i=(e||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(t,i);null!=r&&r!==t&&(n=!0,t=r)}return t=t.replace(/\n$/,"")+"\n",i?'<pre><code class="'+this.options.langPrefix+ot(i,!0)+'">'+(n?t:ot(t,!0))+"</code></pre>\n":"<pre><code>"+(n?t:ot(t,!0))+"</code></pre>\n"},e.blockquote=function(t){return"<blockquote>\n"+t+"</blockquote>\n"},e.html=function(t){return t},e.heading=function(t,e,n,i){return this.options.headerIds?"<h"+e+' id="'+this.options.headerPrefix+i.slug(n)+'">'+t+"</h"+e+">\n":"<h"+e+">"+t+"</h"+e+">\n"},e.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},e.list=function(t,e,n){var i=e?"ol":"ul",r=e&&1!==n?' start="'+n+'"':"";return"<"+i+r+">\n"+t+"</"+i+">\n"},e.listitem=function(t){return"<li>"+t+"</li>\n"},e.checkbox=function(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},e.paragraph=function(t){return"<p>"+t+"</p>\n"},e.table=function(t,e){return e&&(e="<tbody>"+e+"</tbody>"),"<table>\n<thead>\n"+t+"</thead>\n"+e+"</table>\n"},e.tablerow=function(t){return"<tr>\n"+t+"</tr>\n"},e.tablecell=function(t,e){var n=e.header?"th":"td",i=e.align?"<"+n+' align="'+e.align+'">':"<"+n+">";return i+t+"</"+n+">\n"},e.strong=function(t){return"<strong>"+t+"</strong>"},e.em=function(t){return"<em>"+t+"</em>"},e.codespan=function(t){return"<code>"+t+"</code>"},e.br=function(){return this.options.xhtml?"<br/>":"<br>"},e.del=function(t){return"<del>"+t+"</del>"},e.link=function(t,e,n){if(t=rt(this.options.sanitize,this.options.baseUrl,t),null===t)return n;var i='<a href="'+ot(t)+'"';return e&&(i+=' title="'+e+'"'),i+=">"+n+"</a>",i},e.image=function(t,e,n){if(t=rt(this.options.sanitize,this.options.baseUrl,t),null===t)return n;var i='<img src="'+t+'" alt="'+n+'"';return e&&(i+=' title="'+e+'"'),i+=this.options.xhtml?"/>":">",i},e.text=function(t){return t},t}(),at=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),ut=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[t];do{i++,n=t+"-"+i}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=i,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),ct=st,lt=at,Mt=ut,pt=o.exports.defaults,ht=b.unescape,gt=function(){function t(t){this.options=t||pt,this.options.renderer=this.options.renderer||new ct,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new lt,this.slugger=new Mt}t.parse=function(e,n){var i=new t(n);return i.parse(e)},t.parseInline=function(e,n){var i=new t(n);return i.parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,i,r,o,s,a,u,c,l,M,p,h,g,N,D,I,y,d,T,x="",L=t.length;for(n=0;n<L;n++)if(M=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[M.type]&&(T=this.options.extensions.renderers[M.type].call(this,M),!1!==T||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(M.type)))x+=T||"";else switch(M.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(M.tokens),M.depth,ht(this.parseInline(M.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(M.text,M.lang,M.escaped);continue;case"table":for(c="",u="",o=M.header.length,i=0;i<o;i++)u+=this.renderer.tablecell(this.parseInline(M.tokens.header[i]),{header:!0,align:M.align[i]});for(c+=this.renderer.tablerow(u),l="",o=M.cells.length,i=0;i<o;i++){for(a=M.tokens.cells[i],u="",s=a.length,r=0;r<s;r++)u+=this.renderer.tablecell(this.parseInline(a[r]),{header:!1,align:M.align[r]});l+=this.renderer.tablerow(u)}x+=this.renderer.table(c,l);continue;case"blockquote":l=this.parse(M.tokens),x+=this.renderer.blockquote(l);continue;case"list":for(p=M.ordered,h=M.start,g=M.loose,o=M.items.length,l="",i=0;i<o;i++)D=M.items[i],I=D.checked,y=D.task,N="",D.task&&(d=this.renderer.checkbox(I),g?D.tokens.length>0&&"text"===D.tokens[0].type?(D.tokens[0].text=d+" "+D.tokens[0].text,D.tokens[0].tokens&&D.tokens[0].tokens.length>0&&"text"===D.tokens[0].tokens[0].type&&(D.tokens[0].tokens[0].text=d+" "+D.tokens[0].tokens[0].text)):D.tokens.unshift({type:"text",text:d}):N+=d),N+=this.parse(D.tokens,g),l+=this.renderer.listitem(N,y,I);x+=this.renderer.list(l,p,h);continue;case"html":x+=this.renderer.html(M.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(M.tokens));continue;case"text":l=M.tokens?this.parseInline(M.tokens):M.text;while(n+1<L&&"text"===t[n+1].type)M=t[++n],l+="\n"+(M.tokens?this.parseInline(M.tokens):M.text);x+=e?this.renderer.paragraph(l):l;continue;default:var j='Token with "'+M.type+'" type was not found.';if(this.options.silent)return void console.error(j);throw new Error(j)}return x},e.parseInline=function(t,e){e=e||this.renderer;var n,i,r,o="",s=t.length;for(n=0;n<s;n++)if(i=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call(this,i),!1!==r||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)))o+=r||"";else switch(i.type){case"escape":o+=e.text(i.text);break;case"html":o+=e.html(i.text);break;case"link":o+=e.link(i.href,i.title,this.parseInline(i.tokens,e));break;case"image":o+=e.image(i.href,i.title,i.text);break;case"strong":o+=e.strong(this.parseInline(i.tokens,e));break;case"em":o+=e.em(this.parseInline(i.tokens,e));break;case"codespan":o+=e.codespan(i.text);break;case"br":o+=e.br();break;case"del":o+=e.del(this.parseInline(i.tokens,e));break;case"text":o+=e.text(i.text);break;default:var a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return o},t}(),Nt=nt,Dt=gt,It=B,yt=st,dt=at,Tt=ut,xt=b.merge,Lt=b.checkSanitizeDeprecation,jt=b.escape,ft=o.exports.getDefaults,wt=o.exports.changeDefaults,Et=o.exports.defaults;function At(t,e,n){if("undefined"===typeof t||null===t)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof t)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");if("function"===typeof e&&(n=e,e=null),e=xt({},At.defaults,e||{}),Lt(e),n){var i,r=e.highlight;try{i=Nt.lex(t,e)}catch(u){return n(u)}var o=function(t){var o;if(!t)try{e.walkTokens&&At.walkTokens(i,e.walkTokens),o=Dt.parse(i,e)}catch(u){t=u}return e.highlight=r,t?n(t):n(null,o)};if(!r||r.length<3)return o();if(delete e.highlight,!i.length)return o();var s=0;return At.walkTokens(i,(function(t){"code"===t.type&&(s++,setTimeout((function(){r(t.text,t.lang,(function(e,n){if(e)return o(e);null!=n&&n!==t.text&&(t.text=n,t.escaped=!0),s--,0===s&&o()}))}),0))})),void(0===s&&o())}try{var a=Nt.lex(t,e);return e.walkTokens&&At.walkTokens(a,e.walkTokens),Dt.parse(a,e)}catch(u){if(u.message+="\nPlease report this to https://github.com/markedjs/marked.",e.silent)return"<p>An error occurred:</p><pre>"+jt(u.message+"",!0)+"</pre>";throw u}}At.options=At.setOptions=function(t){return xt(At.defaults,t),wt(At.defaults),At},At.getDefaults=ft,At.defaults=Et,At.use=function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r,o=xt.apply(void 0,[{}].concat(n)),s=At.defaults.extensions||{renderers:{},childTokens:{}};n.forEach((function(e){if(e.extensions&&(r=!0,e.extensions.forEach((function(t){if(!t.name)throw new Error("extension name required");if(t.renderer){var e=s.renderers?s.renderers[t.name]:null;s.renderers[t.name]=e?function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=t.renderer.apply(this,i);return!1===o&&(o=e.apply(this,i)),o}:t.renderer}if(t.tokenizer){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");s[t.level]?s[t.level].unshift(t.tokenizer):s[t.level]=[t.tokenizer],t.start&&("block"===t.level?s.startBlock?s.startBlock.push(t.start):s.startBlock=[t.start]:"inline"===t.level&&(s.startInline?s.startInline.push(t.start):s.startInline=[t.start]))}t.childTokens&&(s.childTokens[t.name]=t.childTokens)}))),e.renderer&&function(){var t=At.defaults.renderer||new yt,n=function(n){var i=t[n];t[n]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.renderer[n].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.renderer)n(i);o.renderer=t}(),e.tokenizer&&function(){var t=At.defaults.tokenizer||new It,n=function(n){var i=t[n];t[n]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.tokenizer[n].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.tokenizer)n(i);o.tokenizer=t}(),e.walkTokens){var n=At.defaults.walkTokens;o.walkTokens=function(i){e.walkTokens.call(t,i),n&&n(i)}}r&&(o.extensions=s),At.setOptions(o)}))},At.walkTokens=function(t,e){for(var n,i=function(){var t=n.value;switch(e(t),t.type){case"table":for(var i,o=r(t.tokens.header);!(i=o()).done;){var s=i.value;At.walkTokens(s,e)}for(var a,u=r(t.tokens.cells);!(a=u()).done;)for(var c,l=a.value,M=r(l);!(c=M()).done;){var p=c.value;At.walkTokens(p,e)}break;case"list":At.walkTokens(t.items,e);break;default:At.defaults.extensions&&At.defaults.extensions.childTokens&&At.defaults.extensions.childTokens[t.type]?At.defaults.extensions.childTokens[t.type].forEach((function(n){At.walkTokens(t[n],e)})):t.tokens&&At.walkTokens(t.tokens,e)}},o=r(t);!(n=o()).done;)i()},At.parseInline=function(t,e){if("undefined"===typeof t||null===t)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!==typeof t)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");e=xt({},At.defaults,e||{}),Lt(e);try{var n=Nt.lexInline(t,e);return e.walkTokens&&At.walkTokens(n,e.walkTokens),Dt.parseInline(n,e)}catch(i){if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",e.silent)return"<p>An error occurred:</p><pre>"+jt(i.message+"",!0)+"</pre>";throw i}},At.Parser=Dt,At.parser=Dt.parse,At.Renderer=yt,At.TextRenderer=dt,At.Lexer=Nt,At.lexer=Nt.lex,At.Tokenizer=It,At.Slugger=Tt,At.parse=At;var Ct=At;return Ct}))},2460:(t,e,n)=>{"use strict";n.r(e)},555:(t,e,n)=>{"use strict";n.r(e)},649:(t,e,n)=>{"use strict";n.r(e)},8045:(t,e,n)=>{"use strict";n.r(e)},8631:(t,e,n)=>{"use strict";n.r(e)},4856:(t,e,n)=>{"use strict";n.r(e)},9914:(t,e,n)=>{"use strict";n.r(e)},5346:t=>{"use strict";function e(t){try{return JSON.stringify(t)}catch(e){return'"[Circular]"'}}function n(t,n,i){var r=i&&i.stringify||e,o=1;if("object"===typeof t&&null!==t){var s=n.length+o;if(1===s)return t;var a=new Array(s);a[0]=r(t);for(var u=1;u<s;u++)a[u]=r(n[u]);return a.join(" ")}if("string"!==typeof t)return t;var c=n.length;if(0===c)return t;for(var l="",M=1-o,p=-1,h=t&&t.length||0,g=0;g<h;){if(37===t.charCodeAt(g)&&g+1<h){switch(p=p>-1?p:0,t.charCodeAt(g+1)){case 100:case 102:if(M>=c)break;if(null==n[M])break;p<g&&(l+=t.slice(p,g)),l+=Number(n[M]),p=g+2,g++;break;case 105:if(M>=c)break;if(null==n[M])break;p<g&&(l+=t.slice(p,g)),l+=Math.floor(Number(n[M])),p=g+2,g++;break;case 79:case 111:case 106:if(M>=c)break;if(void 0===n[M])break;p<g&&(l+=t.slice(p,g));var N=typeof n[M];if("string"===N){l+="'"+n[M]+"'",p=g+2,g++;break}if("function"===N){l+=n[M].name||"<anonymous>",p=g+2,g++;break}l+=r(n[M]),p=g+2,g++;break;case 115:if(M>=c)break;p<g&&(l+=t.slice(p,g)),l+=String(n[M]),p=g+2,g++;break;case 37:p<g&&(l+=t.slice(p,g)),l+="%",p=g+2,g++,M--;break}++M}++g}return-1===p?t:(p<h&&(l+=t.slice(p)),l)}t.exports=n},3195:(t,e,n)=>{var i=n(7455),r=n(9002),o=r((function(t,e){return i(t.length,(function(){return t.apply(e,arguments)}))}));t.exports=o},7455:t=>{function e(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,i){return e.apply(this,arguments)};case 4:return function(t,n,i,r){return e.apply(this,arguments)};case 5:return function(t,n,i,r,o){return e.apply(this,arguments)};case 6:return function(t,n,i,r,o,s){return e.apply(this,arguments)};case 7:return function(t,n,i,r,o,s,a){return e.apply(this,arguments)};case 8:return function(t,n,i,r,o,s,a,u){return e.apply(this,arguments)};case 9:return function(t,n,i,r,o,s,a,u,c){return e.apply(this,arguments)};case 10:return function(t,n,i,r,o,s,a,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}t.exports=e},3542:(t,e,n)=>{var i=n(219);function r(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return i(r)||"function"!==typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}t.exports=r},6224:(t,e,n)=>{var i=n(6464);function r(t){return function e(n){return 0===arguments.length||i(n)?e:t.apply(this,arguments)}}t.exports=r},9002:(t,e,n)=>{var i=n(6224),r=n(6464);function o(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return r(n)?e:i((function(e){return t(n,e)}));default:return r(n)&&r(o)?e:r(n)?i((function(e){return t(e,o)})):r(o)?i((function(e){return t(n,e)})):t(n,o)}}}t.exports=o},6370:(t,e,n)=>{var i=n(6224),r=n(9002),o=n(6464);function s(t){return function e(n,s,a){switch(arguments.length){case 0:return e;case 1:return o(n)?e:r((function(e,i){return t(n,e,i)}));case 2:return o(n)&&o(s)?e:o(n)?r((function(e,n){return t(e,s,n)})):o(s)?r((function(e,i){return t(n,e,i)})):i((function(e){return t(n,s,e)}));default:return o(n)&&o(s)&&o(a)?e:o(n)&&o(s)?r((function(e,n){return t(e,n,a)})):o(n)&&o(a)?r((function(e,n){return t(e,s,n)})):o(s)&&o(a)?r((function(e,i){return t(n,e,i)})):o(n)?i((function(e){return t(e,s,a)})):o(s)?i((function(e){return t(n,e,a)})):o(a)?i((function(e){return t(n,s,e)})):t(n,s,a)}}}t.exports=s},219:t=>{t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},3219:(t,e,n)=>{var i=n(6224),r=n(219),o=n(190),s=i((function(t){return!!r(t)||!!t&&("object"===typeof t&&(!o(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));t.exports=s},6464:t=>{function e(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}t.exports=e},190:t=>{function e(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=e},6015:t=>{function e(t,e){return function(){return e.call(this,t.apply(this,arguments))}}t.exports=e},9488:(t,e,n)=>{var i=n(3219),r=n(9874),o=n(3195);function s(t,e,n){var i=0,r=n.length;while(i<r){if(e=t["@@transducer/step"](e,n[i]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i+=1}return t["@@transducer/result"](e)}function a(t,e,n){var i=n.next();while(!i.done){if(e=t["@@transducer/step"](e,i.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i=n.next()}return t["@@transducer/result"](e)}function u(t,e,n,i){return t["@@transducer/result"](n[i](o(t["@@transducer/step"],t),e))}var c="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function l(t,e,n){if("function"===typeof t&&(t=r(t)),i(n))return s(t,e,n);if("function"===typeof n["fantasy-land/reduce"])return u(t,e,n,"fantasy-land/reduce");if(null!=n[c])return a(t,e,n[c]());if("function"===typeof n.next)return a(t,e,n);if("function"===typeof n.reduce)return u(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=l},9874:t=>{var e=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function n(t){return new e(t)}t.exports=n},4603:(t,e,n)=>{var i=n(7455),r=n(6015),o=n(793),s=n(3656);function a(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return i(arguments[0].length,o(r,arguments[0],s(arguments)))}t.exports=a},793:(t,e,n)=>{var i=n(6370),r=n(9488),o=i(r);t.exports=o},5683:(t,e,n)=>{var i=n(6370),r=i((function(t,e,n){return n.replace(t,e)}));t.exports=r},1753:(t,e,n)=>{var i=n(3542),r=n(6370),o=r(i("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));t.exports=o},3656:(t,e,n)=>{var i=n(3542),r=n(6224),o=n(1753),s=r(i("tail",o(1,1/0)));t.exports=s},6851:(t,e,n)=>{"use strict";var i=n(9594),r=Array.prototype.concat,o=Array.prototype.slice,s=t.exports=function(t){for(var e=[],n=0,s=t.length;n<s;n++){var a=t[n];i(a)?e=r.call(e,o.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},9594:t=>{t.exports=function(t){return!(!t||"string"===typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},2444:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;class n{constructor(t){const e=t.split("\n");this.color=e.find((t=>t.trimStart().startsWith("[red]")))?"red":void 0;const n=e.map((t=>t.replace("[red]","")));this.text=n.join("\n"),this.text=this.text.trimEnd()}}e["default"]=n},1118:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(655),r=l(n(7319)),o=l(n(144)),s=l(n(629)),a=l(n(6577)),u=l(n(903)),c=l(n(1873));function l(t){return t&&t.__esModule?t:{default:t}}n(4856),n(8045),n(555),n(2460),n(649),n(8631),n(9914);const M=r.default.child({name:"core"});o.default.use(s.default);class p{constructor(t,e=!1){this.el=t,this.store=(0,a.default)(),this.app=new o.default({el:this.el,store:new s.default.Store(this.store),render:t=>t(e?c.default:u.default)})}render(t,e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return M.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.code=this._code,this.store.state.theme=this._theme||"default",yield this.app.$nextTick(),Promise.resolve(this)}))}get code(){return this._code}get theme(){return this._theme}}e.Z=p},7319:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n(6559));function r(t){return t&&t.__esModule?t:{default:t}}const o=(0,i.default)({level:"warn"}),s=["log","trace","debug","info","warn","error"];function a(t,e){t[e]=(console[e]||console["log"]).bind(console)}function u(t,e,n){t[e]=(console[e]||console["log"]).bind(console,n[0],n[1])}function c(t){s.forEach((e=>a(t,e)));const e=t.child;return t.child=function(n){const i=e.call(t,n);return s.forEach((t=>u(i,t,["%c"+n.name||0,"color: #00f"]))),i},t}let l=c(o);var M=l;e["default"]=M},5011:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeRange=void 0;class n{constructor(t,e,n,i){this.start={line:t,col:e},this.stop={line:n,col:i}}static from(t){const e=t.start,i=t.stop;return new n(e.line,e.column,i.line,i.column+i.text.length)}}e.CodeRange=n},6866:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i=n(9918),r=i.sequenceParser,o=r.CreationContext,s=r.StatContext,a=r.MessageContext,u=r.AsyncMessageContext,c=r.RetContext;o.prototype.From=function(){if(this.parentCtx instanceof s)return this.ClosestAncestorStat().Origin()},a.prototype.ProvidedFrom=function(){var t,e;return null===(e=null===(t=this.messageBody())||void 0===t?void 0:t.from())||void 0===e?void 0:e.getFormattedText()},a.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},u.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},c.prototype.From=function(){return this.ClosestAncestorStat().Origin()}},4020:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Assignment=void 0;var i=r(n(9918));function r(t){return t&&t.__esModule?t:{default:t}}const o=i.default.sequenceParser,s=o.MessageContext;class a{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(":")}}e.Assignment=a,s.prototype.Assignment=function(){var t,e;let n=this.messageBody().assignment();const i=null===(t=null===n||void 0===n?void 0:n.assignee())||void 0===t?void 0:t.getFormattedText(),r=null===(e=null===n||void 0===n?void 0:n.type())||void 0===e?void 0:e.getFormattedText();if(i)return new a(i,r)}},5963:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Participants=e.ParticipantType=e.Participant=void 0;var i,r=o(n(236));function o(t){return t&&t.__esModule?t:{default:t}}e.ParticipantType=i,function(t){t[t["Actor"]=1]="Actor",t[t["Boundary"]=2]="Boundary",t[t["Collection"]=3]="Collection",t[t["Control"]=4]="Control",t[t["Database"]=5]="Database",t[t["Entity"]=6]="Entity",t[t["Queue"]=7]="Queue",t[t["EC2"]=8]="EC2",t[t["ECS"]=9]="ECS",t[t["IAM"]=10]="IAM",t[t["Lambda"]=11]="Lambda",t[t["RDS"]=12]="RDS",t[t["S3"]=13]="S3",t[t["Undefined"]=14]="Undefined"}(i||(e.ParticipantType=i={}));class s{constructor(t,e,n,i,r,o,s,a,u,c){this.name=t,this.stereotype=n,this.width=i,this.groupId=r,this.explicit=s,this.isStarter=e,this.label=o,this.type=a,this.color=u,this.comment=c}Type(){var t;switch(null===(t=this.type)||void 0===t?void 0:t.toLowerCase()){case"@actor":return i.Actor;case"@boundary":return i.Boundary;case"@collection":return i.Collection;case"@control":return i.Control;case"@database":return i.Database;case"@entity":return i.Entity;case"@queue":return i.Queue;case"@ec2":return i.EC2;case"@ecs":return i.ECS;case"@iam":return i.IAM;case"@lambda":return i.Lambda;case"@rds":return i.RDS;case"@s3":return i.S3}return i.Undefined}}e.Participant=s;class a{constructor(){this.participants=new Map}Add(t,e,n,i,o,a,u,c,l,M){const p=new s(t,e,n,i,o,a,u,c,l,M);this.participants.set(t,(0,r.default)({},this.Get(t),p,((t,e)=>t||e)))}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}}e.Participants=a},4466:(t,e,n)=>{"use strict";const i=n(9918),r=i.sequenceParser,o=r.MessageContext,s=r.AsyncMessageContext,a=r.CreationContext;o.prototype.SignatureText=function(){var t,e,n;return null===(n=null===(e=null===(t=this.messageBody())||void 0===t?void 0:t.func())||void 0===e?void 0:e.signature())||void 0===n?void 0:n.map((t=>null===t||void 0===t?void 0:t.getFormattedText())).join(".")},s.prototype.SignatureText=function(){var t;return null===(t=this.content())||void 0===t?void 0:t.getFormattedText()},a.prototype.SignatureText=function(){var t;const e=this.creationBody().parameters(),n=(null===(t=null===e||void 0===e?void 0:e.parameter())||void 0===t?void 0:t.length)>0?e.getFormattedText():"create";return"«"+n+"»"}},6353:(t,e,n)=>{"use strict";var i=n(361);i.antlr4.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`}},9609:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i=n(7228),r=n(9918),o=r.sequenceParser,s=o.StatContext;i.ParserRuleContext.prototype.ClosestAncestorStat=function(){let t=this;while(!(t instanceof s))t=t.parentCtx;if(t instanceof s)return t},i.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const e=null===(t=this.ClosestAncestorStat())||void 0===t?void 0:t.parentCtx;if(e instanceof o.BlockContext)return e;console.warn("Cannot find closest ancestor block for context:",this)}},1129:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MIN_PARTICIPANT_WIDTH=e.MINI_GAP=e.MARGIN=e.ARROW_HEAD_WIDTH=void 0;const n=100;e.MINI_GAP=n;const i=20;e.MARGIN=i;const r=10;e.ARROW_HEAD_WIDTH=r;const o=100;e.MIN_PARTICIPANT_WIDTH=o},1440:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.TextType=void 0,e.TextType=n,function(t){t[t["MessageContent"]=0]="MessageContent",t[t["ParticipantName"]=1]="ParticipantName"}(n||(e.TextType=n={}))},9244:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Coordinates=void 0;var i=n(1129),r=n(1440),o=n(6716),s=n(8695),a=n(8656),u=n(9773);class c{constructor(t,e){this.m=[],this.participantModels=(0,o.OrderedParticipants)(t),this.ownableMessages=(0,a.AllMessages)(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex((e=>e.name===t));if(-1===e)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+(0,s.find_optimal)(this.m)[e]+i.ARROW_HEAD_WIDTH}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach((t=>{const n=e.findIndex((e=>e.name===t.from)),r=e.findIndex((e=>e.name===t.to));if(-1===n||-1===r)return void console.warn(`Participant ${t.from} or ${t.to} not found`);let o=Math.min(n,r),s=Math.max(n,r);try{let e=this.getMessageWidth(t);this.m[o][s]=Math.max(e+i.ARROW_HEAD_WIDTH,this.m[o][s])}catch(a){console.warn(`Could not set message gap between ${t.from} and ${t.to}`)}}))}getMessageWidth(t){const e=c.half(this.widthProvider,t.to);let n=this.widthProvider(t.signature,r.TextType.MessageContent);return t.type===u.OwnableMessageType.CreationMessage&&(n+=e),n}withParticipantGaps(t){this.m=t.map(((e,n)=>t.map(((t,e)=>e-n===1?this.getParticipantGap(t):0))))}getParticipantGap(t){let e=this.labelOrName(t.left);const n=c.half(this.widthProvider,e),i=c.half(this.widthProvider,t.label||t.name),r=t.left&&"_STARTER_"!==t.left,o=t.name&&"_STARTER_"!==t.name;return(r&&n||0)+(o&&i||0)}labelOrName(t){const e=this.participantModels.findIndex((e=>e.name===t));return-1===e?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if("_STARTER_"===e)return i.MARGIN/2;const n=this.halfWithMargin(t,e);return Math.max(n,i.MINI_GAP/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+i.MARGIN/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",r.TextType.ParticipantName),i.MIN_PARTICIPANT_WIDTH)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+c.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}e.Coordinates=c},8656:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllMessages=a,e.MessageContextListener=void 0;var i=n(9773),r=n(361);const o=n(8614);class s extends o.sequenceParserListener{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(i.OwnableMessageType.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(i.OwnableMessageType.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(i.OwnableMessageType.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let n=e.From();const i=null===e||void 0===e?void 0:e.Owner(),r=null===e||void 0===e?void 0:e.SignatureText();this.ownableMessages.push({from:n,signature:r,type:t,to:i})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function a(t){const e=r.antlr4.tree.ParseTreeWalker.DEFAULT,n=new s;return e.walk(n,t),n.result()}e.MessageContextListener=s},6716:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OrderedParticipants=r;var i=n(361);function r(t){const e=new i.ParticipantListener,n=i.antlr4.tree.ParseTreeWalker.DEFAULT;return n.walk(e,t),e.result()}},9773:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.OwnableMessageType=void 0,e.OwnableMessageType=n,function(t){t[t["SyncMessage"]=0]="SyncMessage",t[t["AsyncMessage"]=1]="AsyncMessage",t[t["CreationMessage"]=2]="CreationMessage"}(n||(e.OwnableMessageType=n={}))},361:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.seqDsl=e.antlr4=e.ParticipantListener=void 0;const i=n(7228);e.antlr4=i;let r=n(7817);e.seqDsl=r;const o=n(8614),s=n(9918),a=s.sequenceParser;class u extends o.sequenceParserListener{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 e,n,i;const r=(null===(e=null===t||void 0===t?void 0:t.name())||void 0===e?void 0:e.getFormattedText())||"Missing `Participant` name",o=null===(i=null===(n=t.label())||void 0===n?void 0:n.name())||void 0===i?void 0:i.getFormattedText(),s={name:r,label:o,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.getFormattedText();t.ClosestAncestorBlock().parentCtx instanceof a.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]?this.starter=e:this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.getFormattedText();if(e===this.starter)return;if(this.explicitParticipants.some((t=>t.name===e)))return;const n={name:e,left:""};this.implicitParticipants.push(n)}enterCreation(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.Owner();if(e===this.starter)return;if(this.explicitParticipants.some((t=>t.name===e)))return;const n={name:e,left:""};this.implicitParticipants.push(n)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),u._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,n)=>t.findIndex((t=>t.name===e.name))===n))}static _assignLeft(t){t.reduce(((t,e)=>(e.left=t.name||"",e)),{name:"",left:""})}}e.ParticipantListener=u},2145:(t,e)=>{"use strict";function n(t,e){let n=document.querySelector(".textarea-hidden-div");if(!n){const t=document.createElement("div");t.className="textarea-hidden-div ",t.style.fontSize="13px",t.style.fontFamily="Helvetica, Verdana, serif",t.style.display="inline",t.style.whiteSpace="nowrap",t.style.visibility="hidden",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.overflow="hidden",t.style.width="0px",t.style.paddingLeft="20px",t.style.paddingRight="20px",t.style.margin="0px",t.style.border="0px",document.body.appendChild(t),n=t}n.innerHTML=t;const i=n.scrollWidth;return i}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},8695:(t,e)=>{"use strict";function n(t,e){return{position:t,velocity:e}}function i(t,e){return n(t.position+e.position,t.velocity+e.velocity)}Object.defineProperty(e,"__esModule",{value:!0}),e.find_optimal=p;const r=Math.sqrt(Number.EPSILON);function o(t,e){let n=t.position-e.position;return n<-r||Math.abs(n)<=r&&t.velocity<e.velocity}function s(){return{delta:1/0,dualLessThan:function(t,e){let n=o(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function a(t,e){let i=Array();for(let r=0;r<t;r++){i.push([]);for(let t=0;t<r;t++)e[t][r]>0&&i[r].push({i:t,length:n(e[t][r],0)})}return i}function u(t,e){let r=s(),o=n(0,0),a=[];for(let n=0;n<t.length;n++){let s=null;n>0&&(o=i(o,e[n-1]));for(let e of t[n]){let t=i(a[e.i].maximum,e.length);r.dualLessThan(o,t)&&(s=e.i,o=t)}a.push({argument:s,maximum:o})}return[r.delta,a]}function c(t,e,n){let i=t.length-1;while(i>0){let e=t[i].argument;null!==e?i=e:(i--,n[i].velocity=0)}}function l(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function M(t){let e=[];for(let n of t)e.push(n.maximum.position);return e}function p(t){const e=t.length;let i=a(e,t),r=[];for(let o=1;o<e;o++)r.push(n(0,1));while(1){let[t,n]=u(i,r);if(t==1/0)return M(n);n[e-1].maximum.velocity>0?c(n,i,r):l(r,t)}}},6577:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=u(n(7771)),r=u(n(3279)),o=n(7817),s=u(n(2145)),a=n(9244);function u(t){return t&&t.__esModule?t:{default:t}}let c=0;setTimeout((function(){c||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")}),1e3);const l=t=>(c=(0,i.default)(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:t=>{console.log("Element clicked",t)}},getters:{rootContext:t=>(0,o.RootContext)(t.code),title:(t,e)=>{var n,i;return null===(i=null===(n=e.rootContext)||void 0===n?void 0:n.title())||void 0===i?void 0:i.content()},participants:(t,e)=>(0,o.Participants)(e.rootContext,!0),coordinates:(t,e)=>new a.Coordinates(e.rootContext,s.default),centerOf:(t,e)=>t=>{if(!t)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(t)||0}catch(n){return console.error(n),0}},GroupContext:()=>o.GroupContext,ParticipantContext:()=>o.ParticipantContext,cursor:t=>t.cursor,distance:(t,e)=>(t,n)=>e.centerOf(t)-e.centerOf(n),distance2:(t,e)=>(t,n)=>t&&n?e.centerOf(n)-e.centerOf(t):0,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((t=>t!==e)):t.selected.push(e)},cursor:function(t,e){t.cursor=e}},actions:{updateCode:(0,r.default)((function({commit:t,getters:e},n){if("string"===typeof n)throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");t("code",n.code)}),t||1e3)},strict:!1});var M=l;e["default"]=M},3122:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.brightnessIgnoreAlpha=o,e.removeAlpha=s;var i=r(n(9818));function r(t){return t&&t.__esModule?t:{default:t}}function o(t){const e=i.default.get.rgb(t);let[n,r,o]=e;return(299*n+587*r+114*o)/1e3}function s(t){const e=i.default.get.rgb(t);let[n,r,o]=e;return`rgb(${n}, ${r}, ${o})`}},7890:(t,e,n)=>{"use strict";e.R=void 0;var i=o(n(4603)),r=o(n(5683));function o(t){return t&&t.__esModule?t:{default:t}}const s=(0,r.default)(/[\n\r]/g," "),a=(0,r.default)(/\s+/g," "),u=(0,r.default)(/\s*([,;.()])\s*/g,"$1"),c=(0,r.default)(/\s+$/g,""),l=(0,r.default)(/^"(.*)"$/,"$1"),M=(0,i.default)(s,a,u,c,l);e.R=M},7240:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;const n="e16555d",i="main";var r={name:"Debug",data(){return{commitHash:n,gitBranch:i}},computed:{debug(){return!!localStorage.zenumlDebug}}};e.Z=r},712:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r=h(n(6022)),o=h(n(2330)),s=h(n(1873)),a=h(n(884)),u=h(n(4073)),c=p(n(6293)),l=h(n(6626));function M(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(M=function(t){return t?n:e})(t)}function p(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=M(e);if(n&&n.has(t))return n.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=r?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}function h(t){return t&&t.__esModule?t:{default:t}}var g={name:"DiagramFrame",computed:{...(0,i.mapState)(["showTips","scale","theme"]),...(0,i.mapGetters)(["rootContext"]),title(){var t;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),null===(t=this.rootContext)||void 0===t?void 0:t.title()}},methods:{...(0,i.mapMutations)(["setScale"]),showTipsDialog(){this.$store.state.showTips=!0;try{var t;null===(t=this.$gtag)||void 0===t||t.event("view",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}},toPng(){return c.toPng(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toSvg(){return c.toSvg(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toBlob(){return c.toBlob(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toJpeg(){return c.toJpeg(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(t){this.theme=t},setStyle(t){const e="zenuml-style";let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.append(n)),n.textContent=t},setRemoteCss(t){if(t.includes("github.com")||t.includes("githubusercontent.com"))return void fetch(t.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then((t=>t.text())).then((t=>{this.setStyle(t),console.log("set remote css from github",t)}));if(t.includes("github.com")||t.includes("githubusercontent.com")){const e=t.replace("github.com","raw.githubusercontent.com").replace("/blob","");return void fetch(e).then((t=>t.text())).then((t=>this.setStyle(t)))}console.log("setRemoteCss",t);const e="zenuml-remote-css";let n=document.getElementById(e);n||(n=document.createElement("link"),n.id=e,n.rel="stylesheet",document.head.append(n)),n.href=t}},components:{Debug:l.default,WidthProvider:u.default,TipsDialog:a.default,DiagramTitle:o.default,SeqDiagram:s.default,Privacy:r.default}};e.Z=g},1708:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"DiagramTitle",props:["context"],computed:{title:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.content()}}};e.Z=n},3702:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(6791));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"WidthProvider",components:{Message:i.default},data:function(){return{text:"abcd"}},methods:{width:function(t,e){return console.log(t,e),this.text=t,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}};e.Z=o},4679:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"Privacy"};e.Z=n},8685:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=s(n(7319)),r=n(629),o=s(n(7088));function s(t){return t&&t.__esModule?t:{default:t}}const a=i.default.child({name:"LifeLine"});var u={name:"life-line",components:{Participant:o.default},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...(0,r.mapGetters)(["centerOf"]),...(0,r.mapState)(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){a.debug(`LifeLine mounted for ${this.entity.name}`),setTimeout((()=>{this.setTop(),this.$emit("rendered"),a.debug(`setTimeout after mounted for ${this.entity.name}`)}))},updated(){a.debug(`updated for ${this.entity.name}`),setTimeout((()=>{this.setTop(),this.$emit("rendered"),a.debug(`setTimeout after updated for ${this.entity.name}`)}))},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const t=this.$root.$el.querySelector(`[data-to="${this.entity.name}"]`);if(t&&"creation"===t.attributes["data-type"].value){a.debug(`First message to ${this.entity.name} is creation`);const e=this.$el.getBoundingClientRect().y,n=t.getBoundingClientRect().y;this.top=(n-e)/this.scale}else this.top=0}}};e.Z=u},2627:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(7817),r=u(n(6709)),o=n(629),s=u(n(2145)),a=n(1440);function u(t){return t&&t.__esModule?t:{default:t}}var c={name:"lifeline-group",props:["context"],computed:{...(0,o.mapGetters)(["centerOf"]),name(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.name())||void 0===e?void 0:e.getFormattedText()},offset(){return 0},left(){const t=this.entities[0].name,e=Math.max((0,s.default)(t,a.TextType.ParticipantName),"100");return this.centerOf(t)-e/2-8},right(){const t=Math.max((0,s.default)(this.entities.slice(-1).name,a.TextType.ParticipantName),"100"),e=this.entities.slice(0).pop().name;return this.centerOf(e)+t/2+20},entities(){return(0,i.Participants)(this.context).Array()}},components:{LifeLine:r.default}};e.Z=c},5857:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(7319)),r=n(7817),o=n(629),s=u(n(6709)),a=u(n(3389));function u(t){return t&&t.__esModule?t:{default:t}}const c=i.default.child({name:"LifeLineLayer"});var l={name:"life-line-layer",props:["context"],computed:{...(0,o.mapGetters)(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return"_STARTER_"===this.starterParticipant.name},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var t;return null===(t=this.context)||void 0===t?void 0:t.children.filter((t=>{const e=t instanceof r.GroupContext,n=t instanceof r.ParticipantContext;return e||n}))}},methods:{...(0,o.mapMutations)(["increaseGeneration"]),getParticipantEntity(t){return(0,r.Participants)(t).First()}},updated(){c.debug("LifeLineLayer updated")},mounted(){c.debug("LifeLineLayer mounted")},components:{LifeLine:s.default,LifeLineGroup:a.default}};e.Z=l},4989:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(3122);const r={actor:n(4347),boundary:n(25),control:n(7839),database:n(9318),entity:n(923),cloudwatch:n(3274),cloudfront:n(8756),cognito:n(1719),dynamodb:n(5130),ebs:n(1373),ec2:n(8216),ecs:n(166),efs:n(7786),elasticache:n(1848),elasticbeantalk:n(1518),elasticfilesystem:n(7786),glacier:n(9779),iam:n(9455),kinesis:n(3620),lambda:n(1855),lightsail:n(3382),rds:n(9567),redshift:n(9650),s3:n(7384),sns:n(2771),sqs:n(482),sagemaker:n(9847),vpc:n(2538),azureactivedirectory:n(4373),azurebackup:n(4647),azurecdn:n(9677),azuredatafactory:n(7716),azuredevops:n(9656),azurefunction:n(7318),azuresql:n(5628),cosmosdb:n(8764),logicapps:n(8202),virtualmachine:n(9141),bigtable:n(110),bigquery:n(4817),cloudcdn:n(4888),clouddns:n(6383),cloudinterconnect:n(4807),cloudloadbalancing:n(3052),cloudsql:n(6792),cloudstorage:n(6369),datalab:n(9011),dataproc:n(308),googleiam:n(3248),googlesecurity:n(6450),googlevpc:n(5596),pubsub:n(4771),securityscanner:n(1452),stackdriver:n(6964),visionapi:n(217)};var o={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 t;return r[null===(t=this.entity.type)||void 0===t?void 0:t.toLowerCase()]},backgroundColor(){try{if(!this.entity.color)return;return this.entity.color&&(0,i.removeAlpha)(this.entity.color)}catch(t){return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let t=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!t)return;let e=(0,i.brightnessIgnoreAlpha)(t);this.color=e>128?"#000":"#fff"}}};e.Z=o},9358:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(7592));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.stat()}},components:{Statement:i.default}};e.Z=o},1722:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=c(n(7084)),r=c(n(7802)),o=c(n(6572)),s=c(n(6344)),a=c(n(1519)),u=c(n(4587));function c(t){return t&&t.__esModule?t:{default:t}}r.default.registerLanguage("plaintext",o.default),r.default.registerLanguage("javascript",s.default),r.default.registerLanguage("bash",a.default),r.default.registerLanguage("yaml",u.default);const l={codespan(t){const e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi;let n=e.exec(t);return 3===(null===n||void 0===n?void 0:n.length)?`\n <code class="rest-api">\n <span class="http-method-${n[1].toLowerCase()}">${n[1]}</span>\n <span class="http-path">${n[2]}</span>\n </code>\n `:`<code>${t}</code>`}};i.default.setOptions({highlight:function(t,e){if(!e)return r.default.highlightAuto(t).value;const n=r.default.getLanguage(e)?e:"plaintext";return r.default.highlight(n,t).value},breaks:!0}),i.default.use({renderer:l});var M={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var t,e;return(null===(t=this.commentObj)||void 0===t?void 0:t.text)&&(0,i.default)(null===(e=this.commentObj)||void 0===e?void 0:e.text)||this.comment&&(0,i.default)(this.comment)},color(){var t;return null===(t=this.commentObj)||void 0===t?void 0:t.color}}};e.Z=M},2835:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=l(n(7319)),r=n(629),o=l(n(6036)),s=l(n(6791)),a=l(n(6462)),u=n(5011),c=l(n(7088));function l(t){return t&&t.__esModule?t:{default:t}}const M=i.default.child({name:"Creation"});var p={name:"creation",props:["context","comment","selfCallIndent"],computed:{...(0,r.mapGetters)(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let t=Math.abs(this.distance(this.to,this.from)),e=this.selfCallIndent||0;return t+(this.rightToLeft?e:-e)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function t(t){return t&&t.getFormattedText()||""}let e=this.creation.creationBody().assignment();if(!e)return"";let n=t(e.assignee());const i=t(e.type());return n+(i?":"+i:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),M.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),M.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){let t=()=>{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`)};t()},onClick(){this.onElementClick(u.CodeRange.from(this.context))}},components:{Participant:c.default,Comment:o.default,Occurrence:a.default,Message:s.default}};e.Z=p},7908:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r={name:"divider",props:["context"],computed:{...(0,i.mapGetters)(["participants","centerOf"]),width(){let t=this.participants.Names().pop();return this.centerOf(t)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().name().getFormattedText()}}};e.Z=r},8248:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var t,e,n;return null===(t=this.alt)||void 0===t||null===(e=t.ifBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()},condition:function(){var t;return this.conditionFromIfElseBlock(null===(t=this.alt)||void 0===t?void 0:t.ifBlock())},elseBlock:function(){var t,e,n;return null===(t=this.alt)||void 0===t||null===(e=t.elseBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()}},methods:{conditionFromIfElseBlock(t){var e,n;return null===t||void 0===t||null===(e=t.parExpr())||void 0===e||null===(n=e.condition())||void 0===n?void 0:n.getFormattedText()},blockInElseIfBlock(t){var e;return null===t||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6036)["default"]}};e.Z=o},1898:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var t,e;return null===(t=this.loop)||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()},condition:function(){var t,e,n;return null===(t=this.loop)||void 0===t||null===(e=t.parExpr())||void 0===e||null===(n=e.condition())||void 0===n?void 0:n.getFormattedText()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6036)["default"]}};e.Z=o},1089:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6036)["default"]}};e.Z=o},224:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6036)["default"]}};e.Z=o},5859:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var t,e,n;return null===(t=this.tcf)||void 0===t||null===(e=t.tryBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()},finallyBlock:function(){var t,e,n;return null===(t=this.tcf)||void 0===t||null===(e=t.finallyBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()}},methods:{exception(t){var e;return null===t||void 0===t||null===(e=t.invocation())||void 0===e?void 0:e.parameters().getText()},blockInCatchBlock(t){var e;return null===t||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6036)["default"]}};e.Z=o},1874:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=l(n(6036)),r=l(n(6462)),o=l(n(6791)),s=n(629),a=l(n(7374)),u=n(5011),c=n(7817);function l(t){return t&&t.__esModule?t:{default:t}}var M={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...(0,s.mapGetters)(["participants","distance2","cursor","onElementClick"]),hasComment(){var t,e;return""!==(null===(t=this.commentObj)||void 0===t?void 0:t.text)||""!==(null===(e=this.commentObj)||void 0===e?void 0:e.color)},color(){var t;return null===(t=this.commentObj)||void 0===t?void 0:t.color},message:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.message()},providedFrom:function(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.message())||void 0===e?void 0:e.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let e=null===(t=this.message)||void 0===t?void 0:t.Assignment();return e?e.getText():""},signature:function(){var t;return null===(t=this.message)||void 0===t?void 0:t.SignatureText()},translateX:function(){const t=0;if(!this.rightToLeft&&!this.outOfBand)return t;const e=this.rightToLeft?this.to:this.providedFrom,n=this.distance2(this.origin,e),i=this.selfCallIndent||0;return n+t-i},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var t;return null===(t=this.message)||void 0===t?void 0:t.isCurrent(this.cursor)},showStarter(){return"_STARTER_"!==this.participants.Starter().name},isRootBlock(){var t,e;return(null===(t=this.context)||void 0===t||null===(e=t.parentCtx)||void 0===e?void 0:e.parentCtx)instanceof c.ProgContext},origin:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let t=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-t)},to:function(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.message())||void 0===e?void 0:e.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(u.CodeRange.from(this.context))}},components:{Message:o.default,SelfInvocation:a.default,Comment:i.default,Occurrence:r.default}};e.Z=M},372:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...(0,i.mapGetters)(["centerOf","messageLayerLeft"]),...(0,i.mapState)(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(t){return console.error(t),0}}},components:{Block:()=>Promise.resolve().then(n.bind(n,9350))}};e.Z=r},1139:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"self-invocation",props:["content","assignee"]};e.Z=n},6809:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(6036)),r=u(n(4291)),o=u(n(6791)),s=n(629),a=n(5011);function u(t){return t&&t.__esModule?t:{default:t}}function c(t){return null===t||void 0===t}var l={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...(0,s.mapGetters)(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.asyncMessage()},interactionWidth:function(){if(this.isSelf){var t;const e=100,n=10;return n*((null===(t=this.signature)||void 0===t?void 0:t.length)||0)+e}return Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var t,e;return null===(t=this.asyncMessage)||void 0===t||null===(e=t.content())||void 0===e?void 0:e.getFormattedText()},source:function(){var t,e;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.from())||void 0===e?void 0:e.getFormattedText())||this.from},target:function(){var t,e;return null===(t=this.asyncMessage)||void 0===t||null===(e=t.to())||void 0===e?void 0:e.getFormattedText()},isCurrent:function(){const t=this.asyncMessage.start.start,e=this.asyncMessage.stop.stop+1;return!(c(this.cursor)||c(t)||c(e))&&(this.cursor>=t&&this.cursor<=e)},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(a.CodeRange.from(this.context))}},components:{Comment:i.default,SelfInvocationAsync:r.default,Message:o.default}};e.Z=l},1084:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"self-invocation-async",props:["content"]};e.Z=n},252:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(6230));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return"async"===this.type},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:i.default}};e.Z=o},7933:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"point",props:["fill","rtl"]};e.Z=n},1936:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=c(n(6036)),r=c(n(6791)),o=n(629),s=n(5011),a=c(n(2145)),u=n(1440);function c(t){return t&&t.__esModule?t:{default:t}}var l={name:"return",props:["context","comment"],computed:{...(0,o.mapGetters)(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.ret().asyncMessage()},width:function(){return this.isSelf?(0,a.default)(this.signature,u.TextType.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var t,e,n,i,r;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.content())||void 0===e?void 0:e.getFormattedText())||(null===(n=this.context)||void 0===n||null===(i=n.ret())||void 0===i||null===(r=i.expr())||void 0===r?void 0:r.getFormattedText())},source:function(){var t,e;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.from())||void 0===e?void 0:e.getFormattedText())||this.from},target:function(){var t,e,n,i;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.to())||void 0===e?void 0:e.getFormattedText())||(null===(n=this.context)||void 0===n||null===(i=n.ret())||void 0===i?void 0:i.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(s.CodeRange.from(this.context))}},components:{Comment:i.default,Message:r.default}};e.Z=l},3693:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=g(n(4470)),r=g(n(3746)),o=g(n(9852)),s=g(n(8890)),a=g(n(27)),u=g(n(2451)),c=g(n(4107)),l=g(n(4689)),M=g(n(7788)),p=g(n(5664)),h=g(n(2444));function g(t){return t&&t.__esModule?t:{default:t}}var N={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new h.default(this.comment)},subStatement:function(){let t=this,e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find((e=>null!==t.context[e]()));return e[n]}},components:{Creation:i.default,Interaction:r.default,InteractionAsync:o.default,FragmentAlt:s.default,FragmentPar:a.default,FragmentOpt:c.default,FragmentTryCatchFinally:l.default,FragmentLoop:u.default,Divider:p.default,Return:M.default}};e.Z=N},2321:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r=o(n(9350));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...(0,i.mapGetters)(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const t=this.participants.Array().slice(0)[0].name;return this.centerOf(t)}return 0}},methods:{...(0,i.mapMutations)(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},components:{Block:r.default}};e.Z=s},9048:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(3814)),r=u(n(1653)),o=n(629),s=n(7817),a=n(245);function u(t){return t&&t.__esModule?t:{default:t}}var c={name:"seq-diagram",components:{LifeLineLayer:i.default,MessageLayer:r.default},computed:{...(0,o.mapGetters)(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+a.FRAGMENT_RIGHT_BASE_OFFSET},depth:function(){return(0,s.Depth)(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+a.FRAGMENT_LEFT_BASE_OFFSET}}};e.Z=c},3934:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;const i={actor:n(4347),boundary:n(25),control:n(7839),database:n(9318),entity:n(923),cloudwatch:n(3274),cloudfront:n(8756),cognito:n(1719),dynamodb:n(5130),ebs:n(1373),ec2:n(8216),ecs:n(166),efs:n(7786),elasticache:n(1848),elasticbeantalk:n(1518),elasticfilesystem:n(7786),glacier:n(9779),iam:n(9455),kinesis:n(3620),lambda:n(1855),lightsail:n(3382),rds:n(9567),redshift:n(9650),s3:n(7384),sns:n(2771),sqs:n(482),sagemaker:n(9847),vpc:n(2538),azureactivedirectory:n(4373),azurebackup:n(4647),azurecdn:n(9677),azuredatafactory:n(7716),azuredevops:n(9656),azurefunction:n(7318),azuresql:n(5628),cosmosdb:n(8764),logicapps:n(8202),virtualmachine:n(9141),bigtable:n(110),bigquery:n(4817),cloudcdn:n(4888),clouddns:n(6383),cloudinterconnect:n(4807),cloudloadbalancing:n(3052),cloudsql:n(6792),cloudstorage:n(6369),datalab:n(9011),dataproc:n(308),googleiam:n(3248),googlesecurity:n(6450),googlevpc:n(5596),pubsub:n(4771),securityscanner:n(1452),stackdriver:n(6964),visionapi:n(217)};var r={name:"IconList",props:["types"],computed:{},methods:{icon(t){return i[null===t||void 0===t?void 0:t.toLowerCase()]}}};e.Z=r},3824:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(3991));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"TipsDialog",components:{IconList:i.default},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(){this.$store.state.showTips=!1;try{var t;null===(t=this.$gtag)||void 0===t||t.event("close",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}}}};e.Z=o},245:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=e.FRAGMENT_RIGHT_BASE_OFFSET=e.FRAGMENT_LEFT_BASE_OFFSET=void 0;var i=n(7817),r=n(629);const o=30;e.FRAGMENT_LEFT_BASE_OFFSET=o;const s=100;e.FRAGMENT_RIGHT_BASE_OFFSET=s;var a={computed:{...(0,r.mapGetters)(["coordinates","distance2"]),localParticipants:function(){return[this.from,...(0,i.Participants)(this.context).ImplicitArray().map((t=>t.name))]},leftParticipant:function(){const t=this.coordinates.participantModels.map((t=>t.name));return t.find((t=>this.localParticipants.includes(t)))},rightParticipant:function(){const t=this.coordinates.participantModels.map((t=>t.name));return t.reverse().find((t=>this.localParticipants.includes(t)))},depth:function(){return(0,i.Depth)(this.context)},offsetX:function(){let t=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+t+o},fragmentStyle:function(){return{transform:"translateX("+-1*(this.offsetX+1)+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+o+s+"px"}}}};e["default"]=a},4282:(t,e,n)=>{var i=n(7228),r=["悋Ꜫ脳맭䅼㯧瞆奤","Fȕ\b\b\b\t","\t\t\t\t","\t\b\t\b\t\t\t\n\t\n\v","\t\v\f\t\f\r\t\r\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t",'\t\t \t !\t!"',"\t\"#\t#$\t$%\t%&\t&'\t'(\t(",")\t)*\t*+\t+,\t,-\t-.\t./\t/","0\t01\t12\t23\t34\t45\t56\t6","7\t78\t89\t9:\t:;\t;<\t<=\t=",">\t>?\t?@\t@A\tAB\tBC\tCD\tD","E\tEF\tF","","","","","","","","","\b\b\b\b","\b\b\b\t\t\t\t\t\t","\t\t\n\n\n\n\v\v","\v\f\f\f\r\r\r","ç\n\r","è","","","","",""," !!",'""##$$%%&&',"&&&''''''","((((((((į\n()","))*****+++","++++++++++","++++++++++","++++œ\n+,,,,,",",,----....","//////0000","1112222333","3334444444","4555666666","6666666666","6Ɩ\n677777777","7777777777","777777777Ʋ\n7","888ƶ\n8\f88ƹ\v899",":::ƿ\n:\f::ǂ\v:;;Dž","\n;\r;;dž<<NJ\n<\r<<Nj<","<<ǐ\n<\f<<Ǔ\v<<<<Ǘ","\n<\r<<ǘ<Ǜ\n<====","=ǡ\n=\f==Ǥ\v===ǧ\n=>",">>>????@@@","@@ǵ\n@\f@@Ǹ\v@@@@","@AABBȁ\nB\rBBȂC","CCCDDDDEEȎ\nE\r","EEȏFFFFǶG","\t\v\r\b\t","\n\v\f\r!","#%')+-/13","579;=?A C!E\"G#I$K%M&O'Q(S)U*W","+Y,[-]._/a0c1e2g3i4k5m6o7q8s9u:w;y<{=}>?@A
B","CDEF\n2",";CHch2;C\\aac|C\\aac|2;","\f\f$$\f\f\v\v",'""""Ȩ',"\t","\v\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","","
","","","\t¢\v","«\r³","»Æ","ÍÕ","ÙÜ","ßâ","ä!ê#í","%ð'ó",")ö+ø","-ú/ý","1Ā3Ă","5Ą7Ć9Ĉ",";Ċ=Č","?ĎAĐ","CĒEĔ","GĖIĘ","KĚMĜOġ","QĮSİ","UijWŒ","YŔ[ś","]ş_ţ","aũcŭeŰ","gŴiź","kƂmƕ","oƱqƳ","sƺuƼ","wDŽyǚ{ǜ","}ǨǬ","ǰǽ","
ȀȄ","Ȉȍ","ȑ","eq","puv","\b","t","gc","fq","pn","{ ¡","\b¡\b¢£","u£¤v¤¥c","¥¦v¦§k","§¨e¨©","©ª\bª\n«","¬c¬u®","{®¯p¯°","e°±±²\b","²\f³´c","´µyµ¶c","¶·k·¸v¸","¹¹º\bº","»¼q¼","½x½¾g¾¿","t¿ÀtÀÁ","kÁÂfÂÃg","ÃÄÄÅ\b","ÅÆÇx","ÇÈqÈÉk","ÉÊfÊË","ËÌ\b\bÌÍ","ÎvÎÏkÏÐ","vÐÑnÑÒ","gÒÓÓÔ\b\t","ÔÕÖ<","Ö×ר\b\n","ØÙÚ>","ÚÛ>Û","ÜÝ@ÝÞ@Þ","ßà/à","á@áâ","ã\tãä","æ%åçæ","åçèè","æèéé"," êë~ëì",'~ì"íî',"(îï(ï$","ðñ?ñò?","ò&óô#ô","õ?õ(ö÷","@÷*øù",">ù,úû@","ûü?ü.","ýþ>þÿ?ÿ","0Āā-ā2","Ăă/ă4","Ąą,ą6","Ćć1ć8","Ĉĉ'ĉ:Ċ","ċ`ċ<Čč","#č>Ďď","=ď@Đđ.","đBĒē?","ēDĔĕ*ĕ","FĖė+ėH","Ęę}ęJ","ĚěěL","ĜĝvĝĞt","ĞğwğĠg","ĠNġĢhĢ","ģcģĤnĤĥ","uĥĦgĦP","ħĨpĨĩk","ĩįnĪīp","īĬwĬĭnĭ","įnĮħĮ","ĪįRİ","ıkıIJhIJT","ijĴgĴĵ","nĵĶuĶķg","ķVĸĹy","ĹĺjĺĻkĻ","ļnļœgĽľ","hľĿqĿœ","tŀŁhŁłq","łŃtŃńg","ńŅcŅņeņ","œjŇňhňʼn","qʼnŊtŊŋ","GŋŌcŌōe","ōœjŎŏn","ŏŐqŐőqő","œrŒĸŒ","ĽŒŀŒ","ŇŒŎœ","XŔŕtŕŖ","gŖŗvŗŘ","wŘřtřŚp","ŚZśŜp","ŜŝgŝŞyŞ","\\şŠrŠš","cšŢtŢ^","ţŤiŤťt","ťŦqŦŧw","ŧŨrŨ`ũ","ŪqŪūrūŬ","vŬbŭŮ","cŮůuůd","ŰűvűŲt","Ųų{ųfŴ","ŵeŵŶcŶŷ","vŷŸeŸŹ","jŹhźŻh","ŻżkżŽp","Žžcžſnſ","ƀnƀƁ{Ɓj","ƂƃkƃƄ","pƄlƅƆB","ƆƇUƇƈv","ƈƉcƉƊtƊ","ƋvƋƌgƌƖ","tƍƎBƎƏ","uƏƐvƐƑc","ƑƒtƒƓv","ƓƔgƔƖtƕ","ƅƕƍƖ","nƗƘBƘƙ","Tƙƚgƚƛ","vƛƜwƜƝt","ƝƲpƞƟB","ƟƠtƠơgơ","ƢvƢƣwƣƤ","tƤƲpƥƦ","BƦƧTƧƨg","ƨƩrƩƪn","ƪƲ{ƫƬBƬ","ƭtƭƮgƮƯ","rƯưnưƲ","{ƱƗƱƞ","ƱƥƱƫ","ƲpƳƷ","Bƴƶ\tƵƴ","ƶƹƷƵ","ƷƸƸr","ƹƷƺƻ0","ƻtƼǀ\t","ƽƿ\tƾƽ","ƿǂǀƾ","ǀǁǁv","ǂǀǃDž\t","DŽǃDždž","džDŽdžLJ","LJxLjNJ\t","ljLjNJNj","NjljNjnj","njǍǍǑ0","ǎǐ\tǏǎ","ǐǓǑǏ","ǑǒǒǛ","ǓǑǔǖ0","ǕǗ\tǖǕ","Ǘǘǘǖ","ǘǙǙǛ","ǚljǚǔ","ǛzǜǢ$ǝ","ǡ\nǞǟ$ǟǡ","$ǠǝǠǞ","ǡǤǢǠ","ǢǣǣǦ","ǤǢǥǧ","\tǦǥǦǧ","ǧ|Ǩǩ","\tǩǪǪǫ","\b>ǫ~Ǭǭ\t\b","ǭǮǮǯ\b?","ǯǰDZ1","DZDz1DzǶ","dzǵ\vǴdz","ǵǸǶǷ","ǶǴǷǹ","ǸǶǹǺ\f","ǺǻǻǼ\b@Ǽ","ǽǾ\vǾ","ǿȁ\nȀ","ǿȁȂȂ","ȀȂȃȃ","Ȅȅ\tȅ","ȆȆȇ\bCȇ","Ȉȉ\t\tȉȊ","Ȋȋ\bDȋ","ȌȎ\nȍȌ","Ȏȏȏȍ","ȏȐȐ","ȑȒ\tȒȓ","ȓȔ\bFȔ","èĮŒƕƱƷǀ","džNjǑǘǚǠǢǦǶȂȏ\b","",""].join(""),o=(new i.atn.ATNDeserializer).deserialize(r),s=o.decisionToState.map((function(t,e){return new i.dfa.DFA(t,e)}));function a(t){return i.Lexer.call(this,t),this._interp=new i.atn.LexerATNSimulator(this,o,s,new i.PredictionContextCache),this}a.prototype=Object.create(i.Lexer.prototype),a.prototype.constructor=a,Object.defineProperty(a.prototype,"atn",{get:function(){return o}}),a.EOF=i.Token.EOF,a.CONSTANT=1,a.READONLY=2,a.STATIC=3,a.ASYNC=4,a.AWAIT=5,a.OVERRIDE=6,a.VOID=7,a.TITLE=8,a.COL=9,a.SOPEN=10,a.SCLOSE=11,a.ARROW=12,a.COLOR=13,a.OR=14,a.AND=15,a.EQ=16,a.NEQ=17,a.GT=18,a.LT=19,a.GTEQ=20,a.LTEQ=21,a.PLUS=22,a.MINUS=23,a.MULT=24,a.DIV=25,a.MOD=26,a.POW=27,a.NOT=28,a.SCOL=29,a.COMMA=30,a.ASSIGN=31,a.OPAR=32,a.CPAR=33,a.OBRACE=34,a.CBRACE=35,a.TRUE=36,a.FALSE=37,a.NIL=38,a.IF=39,a.ELSE=40,a.WHILE=41,a.RETURN=42,a.NEW=43,a.PAR=44,a.GROUP=45,a.OPT=46,a.AS=47,a.TRY=48,a.CATCH=49,a.FINALLY=50,a.IN=51,a.STARTER_LXR=52,a.ANNOTATION_RET=53,a.ANNOTATION=54,a.DOT=55,a.ID=56,a.INT=57,a.FLOAT=58,a.STRING=59,a.CR=60,a.SPACE=61,a.COMMENT=62,a.OTHER=63,a.EVENT_PAYLOAD_LXR=64,a.EVENT_END=65,a.WS=66,a.TITLE_CONTENT=67,a.TITLE_END=68,a.COMMENT_CHANNEL=2,a.MODIFIER_CHANNEL=3,a.EVENT=1,a.TITLE_MODE=2,a.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"],a.prototype.modeNames=["DEFAULT_MODE","EVENT","TITLE_MODE"],a.prototype.literalNames=[null,"'const'","'readonly'","'static'","'async'","'await'","'override'","'void'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"],a.prototype.symbolicNames=[null,"CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],a.prototype.ruleNames=["CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],a.prototype.grammarFileName="sequenceLexer.g4",e.sequenceLexer=a},9918:(t,e,n)=>{var i=n(7228),r=n(8614).sequenceParserListener,o=["悋Ꜫ脳맭䅼㯧瞆奤","Fȫ\t\t\t","\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f","\r\t\r\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t \t !\t!"\t"#\t#$\t$',"%\t%&\t&'\t'(\t()\t)*\t*+\t+",",\t,-\t-.\t./\t/0\t01\t12\t2","3\t34\t45\t5l\n","p\n","v\ny\n","~\n","\n","\n\r","\n\f\v","\n","\n\n","\f\v","£\n","¨\nª\n","¯\n","²\nµ\n","\b\bº\n\b\b\b½\n\b\b","\b\bÁ\n\b\b\bÄ\n\b\b\bÇ","\n\b\b\b\bË\n\b\t\t\t","\t\t\t\t\tÔ\n\t\t\t\t","Ø\n\t\tÚ\n\t\n\n\n\nß\n","\n\v\v\f\f\r\r","è\n\ré","î\nñ\n","ö\n","ø\nü\n","\fÿ\v","Ą\n\fć\v","","đ\n","Ę\n","ĝ\n","Ģ\n","ħ\n","Ī\n","İ\nij\n","ĸ\n","Ļ\n","ŀ\n","Ņ\n","Ō\n","ő\n","Ŗ\n\fř\v","","š\nť\n","Ū\n","","Ų\n","Ż\n","Ž\n !!",'"""""Ɖ\n"\f""ƌ\v','"""Ə\n"##$$$',"$Ɩ\n$\f$$ƙ\v$$$Ɯ\n$%","%%Ơ\n%&&&'''Ƨ","\n'\f''ƪ\v'''ƭ\n'(","(()))ƴ\n)))**","*+++ƽ\n+\f++ǀ\v++","+ǃ\n+,,,,----","-...///Ǔ\n///","00000000Ǟ\n01","111111111ǩ\n1","1111111111Ǵ","\n1111111111","1111111111","111ȋ\n1\f11Ȏ\v122","2222ȕ\n233333","33333Ƞ\n34444ȥ","\n455555`6",'\b\n\f "$&(*',",.02468:<>@BDFHJLNPRTVXZ\\^`bdfh\r::==","\f\f\r\r","!!","",";<&'ɤ}","\b","©\n´\f¶","ÊÙ","Þà","âä","ç÷","ù ė",'"Ĝ$ġ',"&ģ(ĩ","*Ĵ,Ő",".Œ0Ś","2Ŝ4Ş6Ţ","8ũ:ż","<ž>ƀ","@ƂBƎ","DƐFƒ","HƟJơLƤ","NƮPƱ","RƷTƺ","VDŽXLj","ZǍ\\ǐ","^ǝ`dzbȔ","dȟfȤ","hȦjl","kjkllm","m~npon","oppq","qrrss~","tvutuv","vxwyxw","xyyz","z{{||~","}k}o}u","~\n","EF","","\b","
\b","
","","\b","\b","","","","\n","","/\f","","$","\b","","","ª% ","¢/¡£\f¢¡","¢££¤","¤ª$¥§","/¦¨\f§¦","§¨¨ª","©© ","©¥ª\t","«±6¬®",'"¯\f®',"®¯¯°","°²#±¬","±²²µ","³µ8´«","´³µ\v","¶·\t·\r","¸º\v¹¸","¹ºº¼","»½\t¼»","¼½½¾","¾À\f¿Á\r","À¿ÀÁ","ÁÃÂÄ\n","ÃÂÃÄ","ÄÆÅÇ","ÆÅÆÇ","ÇËÈË\t","ÉË\vʹ","ÊÈÊÉ","ËÌÍ\f","ÍÎ\fÎÏ\rÏ","ÚÐÑ\fÑ","Ó\fÒÔÓ","ÒÓÔÔ","ÚÕ×\tÖ","Ø\t×Ö×","ØØÚÙ","ÌÙÐÙ","ÕÚÛ","Ü1Üß\fÝß","1ÞÛÞÝ","ßàá","8áâã","\tãäå",";åæè"," çæèé","éçéê","êëí",",ìî`1íì","íîîð","ïñðï","ðññø","òó7óõ:","ôöCõô","õööø","÷ë÷ò","øùý","úü\tûú","üÿýû","ýþþĀ","ÿýĀā\f","āąĂĄ\t","ăĂĄć","ąăąĆ","Ććą",'ĈĘT+ĉĘ"Ċ',"Ę$ċĘ^0ČĘ","&čĘ*ĎĐ:","ďđCĐď","ĐđđĘ","ĒĘēĘ","ĔĘL'ĕĖAĖ","Ę\bėĈė","ĉėĊė","ċėČė","čėĎė","Ēėēė","ĔėĕĘ","!ęĚ.Ěĝ","\\/ěĝ.Ĝę","Ĝěĝ#","Ğğ0ğĢ\\/","ĠĢ0ġĞ","ġĠĢ%","ģĦ(Ĥħ","ĥħ\\/ĦĤĦ","ĥĦħħ","'ĨĪ8ĩĨ","ĩĪĪī","īĬ-ĬIJ",'> ĭį"ĮİF$',"įĮįİ","İııij#","IJĭIJij","ij)Ĵķ,ĵ","ĸĶĸ\\/ķĵ","ķĶķĸ","ĸ+ĹĻ","8ĺĹĺĻ","ĻńļĽ","0Ľľľŀ","ĿļĿŀ","ŀŁŁł","2łŃ9ŃŅ","ńĿńŅ","Ņņņő",".Ňő8ňʼn0","ʼnŊŊŌ","ŋňŋŌ","ŌōōŎ2","Ŏŏ9ŏő","ŐĺŐŇ","Őŋő-","Œŗ4œŔ9","ŔŖ4ŕœ","Ŗřŗŕ","ŗŘŘ/","řŗŚś\t","ś1Ŝŝ\tŝ","3ŞŠD#şš","6ŠşŠš","š5ŢŤ",'"ţťF$Ťţ',"ŤťťŦ","Ŧŧ#ŧ7","ŨŪ@!ũŨũ","ŪŪūū",'ŬB"Ŭŭ!ŭ9',"Ůů0ůŰ","ŰŲűŮ","űŲŲų","ųŴ2Ŵŵ\v","ŵŶ<ŶŽ","ŷŸ0Ÿź\t","ŹŻ2źŹ","źŻŻŽ","żűżŷ","Ž;žſB","ſ=ƀƁ\tƁ","?Ƃƃ\tƃA","ƄƏb2ƅƊ:","ƆƇ ƇƉ:","ƈƆƉƌ","ƊƈƊƋ","ƋƏƌƊ","ƍƏ=ƎƄ","ƎƅƎƍ","ƏCƐƑ\tƑ","EƒƗH%ƓƔ"," ƔƖH%ƕƓ","ƖƙƗƕ","ƗƘƘƛ","ƙƗƚƜ ","ƛƚƛƜ","ƜGƝƠJ&ƞ","Ơ`1ƟƝƟƞ","ƠIơƢ","@!Ƣƣ:ƣK","ƤƨN(ƥƧP)Ʀƥ","ƧƪƨƦ","ƨƩƩƬ","ƪƨƫƭ","R*ƬƫƬƭ","ƭMƮƯ","2Ưư\\/ưO","ƱƳ3Ʋƴ6Ƴ","ƲƳƴƴ","ƵƵƶ\\/ƶQ","ƷƸ4Ƹƹ","\\/ƹSƺƾV,ƻ","ƽX-Ƽƻƽǀ","ƾƼƾƿ","ƿǂǀƾ","ǁǃZ.ǂǁ","ǂǃǃU","DŽDž)Dždž","d3džLJ\\/LJWLj","lj*ljNJ)NJNj","d3Njnj\\/njY","Ǎǎ*ǎǏ\\/Ǐ[","ǐǒ$ǑǓ","ǒǑǒǓ","ǓǔǔǕ","%Ǖ]ǖǗ+","Ǘǘd3ǘǙ\\/ǙǞ","ǚǛ+ǛǞ","d3ǜǞ+ǝǖ","ǝǚǝǜ","Ǟ_ǟǠ\b1","ǠǴb2ǡǢǢ","Ǵ`1ǣǤǤǴ","`1ǥǦ2Ǧǧ9","ǧǩǨǥ","ǨǩǩǪ","ǪǴ.ǫǴ&",'Ǭǭ"ǭǮ`1Ǯǯ',"#ǯǴǰDZ","8DZDz`1DzǴ","dzǟdzǡ","dzǣdzǨ","dzǫdzǬ","dzǰǴȌ","ǵǶ\f\rǶǷ\t","Ƿȋ`1Ǹǹ\f\fǹǺ\t","\bǺȋ`1\rǻǼ\f\v","Ǽǽ\t\tǽȋ`1\fǾǿ\f\n","ǿȀ\t\nȀȋ`1\vȁȂ","\f\tȂȃȃȋ","`1\nȄȅ\f\bȅȆ","Ȇȋ`1\tȇȈ\fȈȉ","ȉȋ`1\bȊǵ","ȊǸȊǻ","ȊǾȊȁ","ȊȄȊȇ","ȋȎȌȊ","Ȍȍȍa","ȎȌȏȕ\t\v","Ȑȕ\t\fȑȕ:Ȓ","ȕ=ȓȕ(Ȕȏ","ȔȐȔȑ","ȔȒȔȓ","ȕcȖȗ",'"ȗȘf4Șș#','șȠȚț"','țȠf4Ȝȝ"ȝ','Ƞ#ȞȠ"ȟȖ',"ȟȚȟȜ","ȟȞȠe","ȡȥb2Ȣȥ","`1ȣȥh5Ȥȡ","ȤȢȤȣ","ȥgȦȧ:ȧ","Ȩ5Ȩȩ:ȩi","Nkoux}","¢§©®±´¹¼ÀÃÆÊ","Ó×ÙÞéíðõ÷ýąĐ","ėĜġĦĩįIJķĺĿńŋ","ŐŗŠŤũűźżƊƎƗƛ","ƟƨƬƳƾǂǒǝǨdzȊȌ","ȔȟȤ"].join(""),s=(new i.atn.ATNDeserializer).deserialize(o),a=s.decisionToState.map((function(t,e){return new i.dfa.DFA(t,e)})),u=new i.PredictionContextCache,c=[null,"'const'","'readonly'","'static'","'async'","'await'","'override'","'void'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"],l=[null,"CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],M=["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","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"];function p(t){return i.Parser.call(this,t),this._interp=new i.atn.ParserATNSimulator(this,s,a,u),this.ruleNames=M,this.literalNames=c,this.symbolicNames=l,this}function h(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_prog,this}function g(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_title,this}function N(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_head,this}function D(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_group,this}function I(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_starterExp,this}function y(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_starter,this}function d(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_participant,this}function T(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_stereotype,this}function x(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_label,this}function L(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_participantType,this}function j(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_name,this}function f(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_width,this}function w(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_block,this}function E(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_ret,this}function A(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_divider,this}function C(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_stat,this._OTHER=null,this}function S(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_par,this}function z(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_opt,this}function v(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_creation,this}function m(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_creationBody,this}function O(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_message,this}function b(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_messageBody,this}function k(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_func,this}function _(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_from,this}function R(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_to,this}function U(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_signature,this}function Y(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_invocation,this}function P(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_assignment,this}function Q(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_asyncMessage,this}function B(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_content,this}function Z(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_construct,this}function G(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_type,this}function F(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_assignee,this}function H(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_methodName,this}function W(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parameters,this}function V(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parameter,this}function X(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_declaration,this}function J(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_tcf,this}function $(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_tryBlock,this}function K(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_catchBlock,this}function q(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_finallyBlock,this}function tt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_alt,this}function et(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_ifBlock,this}function nt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_elseIfBlock,this}function it(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_elseBlock,this}function rt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_braceBlock,this}function ot(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_loop,this}function st(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_expr,this}function at(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function ut(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function ct(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function lt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Mt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function pt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function ht(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function gt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Nt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Dt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function It(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function yt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function dt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function Tt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function xt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_atom,this}function Lt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function jt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function ft(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function wt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function Et(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function At(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parExpr,this}function Ct(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_condition,this}function St(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_inExpr,this}p.prototype=Object.create(i.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return s}}),p.EOF=i.Token.EOF,p.CONSTANT=1,p.READONLY=2,p.STATIC=3,p.ASYNC=4,p.AWAIT=5,p.OVERRIDE=6,p.VOID=7,p.TITLE=8,p.COL=9,p.SOPEN=10,p.SCLOSE=11,p.ARROW=12,p.COLOR=13,p.OR=14,p.AND=15,p.EQ=16,p.NEQ=17,p.GT=18,p.LT=19,p.GTEQ=20,p.LTEQ=21,p.PLUS=22,p.MINUS=23,p.MULT=24,p.DIV=25,p.MOD=26,p.POW=27,p.NOT=28,p.SCOL=29,p.COMMA=30,p.ASSIGN=31,p.OPAR=32,p.CPAR=33,p.OBRACE=34,p.CBRACE=35,p.TRUE=36,p.FALSE=37,p.NIL=38,p.IF=39,p.ELSE=40,p.WHILE=41,p.RETURN=42,p.NEW=43,p.PAR=44,p.GROUP=45,p.OPT=46,p.AS=47,p.TRY=48,p.CATCH=49,p.FINALLY=50,p.IN=51,p.STARTER_LXR=52,p.ANNOTATION_RET=53,p.ANNOTATION=54,p.DOT=55,p.ID=56,p.INT=57,p.FLOAT=58,p.STRING=59,p.CR=60,p.SPACE=61,p.COMMENT=62,p.OTHER=63,p.EVENT_PAYLOAD_LXR=64,p.EVENT_END=65,p.WS=66,p.TITLE_CONTENT=67,p.TITLE_END=68,p.RULE_prog=0,p.RULE_title=1,p.RULE_head=2,p.RULE_group=3,p.RULE_starterExp=4,p.RULE_starter=5,p.RULE_participant=6,p.RULE_stereotype=7,p.RULE_label=8,p.RULE_participantType=9,p.RULE_name=10,p.RULE_width=11,p.RULE_block=12,p.RULE_ret=13,p.RULE_divider=14,p.RULE_stat=15,p.RULE_par=16,p.RULE_opt=17,p.RULE_creation=18,p.RULE_creationBody=19,p.RULE_message=20,p.RULE_messageBody=21,p.RULE_func=22,p.RULE_from=23,p.RULE_to=24,p.RULE_signature=25,p.RULE_invocation=26,p.RULE_assignment=27,p.RULE_asyncMessage=28,p.RULE_content=29,p.RULE_construct=30,p.RULE_type=31,p.RULE_assignee=32,p.RULE_methodName=33,p.RULE_parameters=34,p.RULE_parameter=35,p.RULE_declaration=36,p.RULE_tcf=37,p.RULE_tryBlock=38,p.RULE_catchBlock=39,p.RULE_finallyBlock=40,p.RULE_alt=41,p.RULE_ifBlock=42,p.RULE_elseIfBlock=43,p.RULE_elseBlock=44,p.RULE_braceBlock=45,p.RULE_loop=46,p.RULE_expr=47,p.RULE_atom=48,p.RULE_parExpr=49,p.RULE_condition=50,p.RULE_inExpr=51,h.prototype=Object.create(i.ParserRuleContext.prototype),h.prototype.constructor=h,h.prototype.EOF=function(){return this.getToken(p.EOF,0)},h.prototype.title=function(){return this.getTypedRuleContext(g,0)},h.prototype.head=function(){return this.getTypedRuleContext(N,0)},h.prototype.block=function(){return this.getTypedRuleContext(w,0)},h.prototype.enterRule=function(t){t instanceof r&&t.enterProg(this)},h.prototype.exitRule=function(t){t instanceof r&&t.exitProg(this)},p.ProgContext=h,p.prototype.prog=function(){var t=new h(this,this._ctx,this.state);this.enterRule(t,0,p.RULE_prog);var e=0;try{this.state=123,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=105,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=104,this.title()),this.state=107,this.match(p.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=109,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=108,this.title()),this.state=111,this.head(),this.state=112,this.match(p.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=115,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=114,this.title()),this.state=118,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,3,this._ctx);1===n&&(this.state=117,this.head()),this.state=120,this.block(),this.state=121,this.match(p.EOF);break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},g.prototype=Object.create(i.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.TITLE=function(){return this.getToken(p.TITLE,0)},g.prototype.TITLE_CONTENT=function(){return this.getToken(p.TITLE_CONTENT,0)},g.prototype.TITLE_END=function(){return this.getToken(p.TITLE_END,0)},g.prototype.enterRule=function(t){t instanceof r&&t.enterTitle(this)},g.prototype.exitRule=function(t){t instanceof r&&t.exitTitle(this)},p.TitleContext=g,p.prototype.title=function(){var t=new g(this,this._ctx,this.state);this.enterRule(t,2,p.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=125,this.match(p.TITLE),this.state=126,this.match(p.TITLE_CONTENT),this.state=128,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE_END&&(this.state=127,this.match(p.TITLE_END))}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},N.prototype=Object.create(i.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.group=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(D):this.getTypedRuleContext(D,t)},N.prototype.participant=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,t)},N.prototype.starterExp=function(){return this.getTypedRuleContext(I,0)},N.prototype.enterRule=function(t){t instanceof r&&t.enterHead(this)},N.prototype.exitRule=function(t){t instanceof r&&t.exitHead(this)},p.HeadContext=N,p.prototype.head=function(){var t=new N(this,this._ctx,this.state);this.enterRule(t,4,p.RULE_head);try{this.state=144,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=132,this._errHandler.sync(this);var n=1;do{switch(n){case 1:switch(this.state=132,this._errHandler.sync(this),this._input.LA(1)){case p.GROUP:this.state=130,this.group();break;case p.SOPEN:case p.LT:case p.ANNOTATION:case p.ID:case p.STRING:this.state=131,this.participant();break;default:throw new i.error.NoViableAltException(this)}break;default:throw new i.error.NoViableAltException(this)}this.state=134,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,7,this._ctx)}while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=140,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,9,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER){if(1===n)switch(this.state=138,this._errHandler.sync(this),this._input.LA(1)){case p.GROUP:this.state=136,this.group();break;case p.SOPEN:case p.LT:case p.ANNOTATION:case p.ID:case p.STRING:this.state=137,this.participant();break;default:throw new i.error.NoViableAltException(this)}this.state=142,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=143,this.starterExp();break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},D.prototype=Object.create(i.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.GROUP=function(){return this.getToken(p.GROUP,0)},D.prototype.OBRACE=function(){return this.getToken(p.OBRACE,0)},D.prototype.CBRACE=function(){return this.getToken(p.CBRACE,0)},D.prototype.name=function(){return this.getTypedRuleContext(j,0)},D.prototype.participant=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,t)},D.prototype.enterRule=function(t){t instanceof r&&t.enterGroup(this)},D.prototype.exitRule=function(t){t instanceof r&&t.exitGroup(this)},p.GroupContext=D,p.prototype.group=function(){var t=new D(this,this._ctx,this.state);this.enterRule(t,6,p.RULE_group);var e=0;try{this.state=167,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,15,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=146,this.match(p.GROUP),this.state=148,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=147,this.name()),this.state=150,this.match(p.OBRACE),this.state=154,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.SOPEN||e===p.LT||0==(e-54&-32)&&0!==(1<<e-54&(1<<p.ANNOTATION-54|1<<p.ID-54|1<<p.STRING-54)))this.state=151,this.participant(),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);this.state=157,this.match(p.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=158,this.match(p.GROUP),this.state=160,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=159,this.name()),this.state=162,this.match(p.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=163,this.match(p.GROUP),this.state=165,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,14,this._ctx);1===n&&(this.state=164,this.name());break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},I.prototype=Object.create(i.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.STARTER_LXR=function(){return this.getToken(p.STARTER_LXR,0)},I.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},I.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},I.prototype.starter=function(){return this.getTypedRuleContext(y,0)},I.prototype.ANNOTATION=function(){return this.getToken(p.ANNOTATION,0)},I.prototype.enterRule=function(t){t instanceof r&&t.enterStarterExp(this)},I.prototype.exitRule=function(t){t instanceof r&&t.exitStarterExp(this)},p.StarterExpContext=I,p.prototype.starterExp=function(){var t=new I(this,this._ctx,this.state);this.enterRule(t,8,p.RULE_starterExp);var e=0;try{switch(this.state=178,this._errHandler.sync(this),this._input.LA(1)){case p.STARTER_LXR:this.enterOuterAlt(t,1),this.state=169,this.match(p.STARTER_LXR),this.state=175,this._errHandler.sync(this),e=this._input.LA(1),e===p.OPAR&&(this.state=170,this.match(p.OPAR),this.state=172,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=171,this.starter()),this.state=174,this.match(p.CPAR));break;case p.ANNOTATION:this.enterOuterAlt(t,2),this.state=177,this.match(p.ANNOTATION);break;default:throw new i.error.NoViableAltException(this)}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},y.prototype=Object.create(i.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.ID=function(){return this.getToken(p.ID,0)},y.prototype.STRING=function(){return this.getToken(p.STRING,0)},y.prototype.enterRule=function(t){t instanceof r&&t.enterStarter(this)},y.prototype.exitRule=function(t){t instanceof r&&t.exitStarter(this)},p.StarterContext=y,p.prototype.starter=function(){var t=new y(this,this._ctx,this.state);this.enterRule(t,10,p.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=180,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},d.prototype=Object.create(i.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.name=function(){return this.getTypedRuleContext(j,0)},d.prototype.participantType=function(){return this.getTypedRuleContext(L,0)},d.prototype.stereotype=function(){return this.getTypedRuleContext(T,0)},d.prototype.width=function(){return this.getTypedRuleContext(f,0)},d.prototype.label=function(){return this.getTypedRuleContext(x,0)},d.prototype.COLOR=function(){return this.getToken(p.COLOR,0)},d.prototype.enterRule=function(t){t instanceof r&&t.enterParticipant(this)},d.prototype.exitRule=function(t){t instanceof r&&t.exitParticipant(this)},p.ParticipantContext=d,p.prototype.participant=function(){var t=new d(this,this._ctx,this.state);this.enterRule(t,12,p.RULE_participant);var e=0;try{this.state=200,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,24,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=183,this._errHandler.sync(this),e=this._input.LA(1),e===p.ANNOTATION&&(this.state=182,this.participantType()),this.state=186,this._errHandler.sync(this),e=this._input.LA(1),e!==p.SOPEN&&e!==p.LT||(this.state=185,this.stereotype()),this.state=188,this.name(),this.state=190,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,21,this._ctx);1===n&&(this.state=189,this.width()),this.state=193,this._errHandler.sync(this),e=this._input.LA(1),e===p.AS&&(this.state=192,this.label()),this.state=196,this._errHandler.sync(this),e=this._input.LA(1),e===p.COLOR&&(this.state=195,this.match(p.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=198,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=199,this.participantType();break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},T.prototype=Object.create(i.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.SOPEN=function(){return this.getToken(p.SOPEN,0)},T.prototype.name=function(){return this.getTypedRuleContext(j,0)},T.prototype.SCLOSE=function(){return this.getToken(p.SCLOSE,0)},T.prototype.GT=function(){return this.getToken(p.GT,0)},T.prototype.LT=function(){return this.getToken(p.LT,0)},T.prototype.enterRule=function(t){t instanceof r&&t.enterStereotype(this)},T.prototype.exitRule=function(t){t instanceof r&&t.exitStereotype(this)},p.StereotypeContext=T,p.prototype.stereotype=function(){var t=new T(this,this._ctx,this.state);this.enterRule(t,14,p.RULE_stereotype);var e=0;try{this.state=215,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,27,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=202,this.match(p.SOPEN),this.state=203,this.name(),this.state=204,this.match(p.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=206,this.match(p.SOPEN),this.state=207,this.name(),this.state=209,this._errHandler.sync(this),e=this._input.LA(1),e===p.GT&&(this.state=208,this.match(p.GT));break;case 3:this.enterOuterAlt(t,3),this.state=211,e=this._input.LA(1),e!==p.SOPEN&&e!==p.LT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=213,this._errHandler.sync(this),e=this._input.LA(1),e!==p.SCLOSE&&e!==p.GT||(this.state=212,e=this._input.LA(1),e!==p.SCLOSE&&e!==p.GT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()));break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},x.prototype=Object.create(i.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.AS=function(){return this.getToken(p.AS,0)},x.prototype.name=function(){return this.getTypedRuleContext(j,0)},x.prototype.enterRule=function(t){t instanceof r&&t.enterLabel(this)},x.prototype.exitRule=function(t){t instanceof r&&t.exitLabel(this)},p.LabelContext=x,p.prototype.label=function(){var t=new x(this,this._ctx,this.state);this.enterRule(t,16,p.RULE_label);try{this.state=220,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=217,this.match(p.AS),this.state=218,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=219,this.match(p.AS);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},L.prototype=Object.create(i.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.ANNOTATION=function(){return this.getToken(p.ANNOTATION,0)},L.prototype.enterRule=function(t){t instanceof r&&t.enterParticipantType(this)},L.prototype.exitRule=function(t){t instanceof r&&t.exitParticipantType(this)},p.ParticipantTypeContext=L,p.prototype.participantType=function(){var t=new L(this,this._ctx,this.state);this.enterRule(t,18,p.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=222,this.match(p.ANNOTATION)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},j.prototype=Object.create(i.ParserRuleContext.prototype),j.prototype.constructor=j,j.prototype.ID=function(){return this.getToken(p.ID,0)},j.prototype.STRING=function(){return this.getToken(p.STRING,0)},j.prototype.enterRule=function(t){t instanceof r&&t.enterName(this)},j.prototype.exitRule=function(t){t instanceof r&&t.exitName(this)},p.NameContext=j,p.prototype.name=function(){var t=new j(this,this._ctx,this.state);this.enterRule(t,20,p.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=224,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},f.prototype=Object.create(i.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.INT=function(){return this.getToken(p.INT,0)},f.prototype.enterRule=function(t){t instanceof r&&t.enterWidth(this)},f.prototype.exitRule=function(t){t instanceof r&&t.exitWidth(this)},p.WidthContext=f,p.prototype.width=function(){var t=new f(this,this._ctx,this.state);this.enterRule(t,22,p.RULE_width);try{this.enterOuterAlt(t,1),this.state=226,this.match(p.INT)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},w.prototype=Object.create(i.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.stat=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(C):this.getTypedRuleContext(C,t)},w.prototype.enterRule=function(t){t instanceof r&&t.enterBlock(this)},w.prototype.exitRule=function(t){t instanceof r&&t.exitBlock(this)},p.BlockContext=w,p.prototype.block=function(){var t=new w(this,this._ctx,this.state);this.enterRule(t,24,p.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=229,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=228,this.stat(),this.state=231,this._errHandler.sync(this),e=this._input.LA(1)}while(e===p.EQ||0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.IF-36|1<<p.WHILE-36|1<<p.RETURN-36|1<<p.NEW-36|1<<p.PAR-36|1<<p.OPT-36|1<<p.TRY-36|1<<p.ANNOTATION_RET-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36|1<<p.OTHER-36)))}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},E.prototype=Object.create(i.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},E.prototype.expr=function(){return this.getTypedRuleContext(st,0)},E.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},E.prototype.ANNOTATION_RET=function(){return this.getToken(p.ANNOTATION_RET,0)},E.prototype.asyncMessage=function(){return this.getTypedRuleContext(Q,0)},E.prototype.EVENT_END=function(){return this.getToken(p.EVENT_END,0)},E.prototype.enterRule=function(t){t instanceof r&&t.enterRet(this)},E.prototype.exitRule=function(t){t instanceof r&&t.exitRet(this)},p.RetContext=E,p.prototype.ret=function(){var t=new E(this,this._ctx,this.state);this.enterRule(t,26,p.RULE_ret);var e=0;try{switch(this.state=245,this._errHandler.sync(this),this._input.LA(1)){case p.RETURN:this.enterOuterAlt(t,1),this.state=233,this.match(p.RETURN),this.state=235,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,30,this._ctx);1===n&&(this.state=234,this.expr(0)),this.state=238,this._errHandler.sync(this),e=this._input.LA(1),e===p.SCOL&&(this.state=237,this.match(p.SCOL));break;case p.ANNOTATION_RET:this.enterOuterAlt(t,2),this.state=240,this.match(p.ANNOTATION_RET),this.state=241,this.asyncMessage(),this.state=243,this._errHandler.sync(this),e=this._input.LA(1),e===p.EVENT_END&&(this.state=242,this.match(p.EVENT_END));break;default:throw new i.error.NoViableAltException(this)}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},A.prototype=Object.create(i.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.EQ=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.EQ):this.getToken(p.EQ,t)},A.prototype.name=function(){return this.getTypedRuleContext(j,0)},A.prototype.ASSIGN=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ASSIGN):this.getToken(p.ASSIGN,t)},A.prototype.enterRule=function(t){t instanceof r&&t.enterDivider(this)},A.prototype.exitRule=function(t){t instanceof r&&t.exitDivider(this)},p.DividerContext=A,p.prototype.divider=function(){var t=new A(this,this._ctx,this.state);this.enterRule(t,28,p.RULE_divider);var e=0;try{this.enterOuterAlt(t,1),this.state=247,this.match(p.EQ),this.state=251,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.EQ||e===p.ASSIGN)this.state=248,e=this._input.LA(1),e!==p.EQ&&e!==p.ASSIGN?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=253,this._errHandler.sync(this),e=this._input.LA(1);this.state=254,this.name(),this.state=255,this.match(p.EQ),this.state=259,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,35,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=256,e=this._input.LA(1),e!==p.EQ&&e!==p.ASSIGN?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=261,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,35,this._ctx)}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},C.prototype=Object.create(i.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.alt=function(){return this.getTypedRuleContext(tt,0)},C.prototype.par=function(){return this.getTypedRuleContext(S,0)},C.prototype.opt=function(){return this.getTypedRuleContext(z,0)},C.prototype.loop=function(){return this.getTypedRuleContext(ot,0)},C.prototype.creation=function(){return this.getTypedRuleContext(v,0)},C.prototype.message=function(){return this.getTypedRuleContext(O,0)},C.prototype.asyncMessage=function(){return this.getTypedRuleContext(Q,0)},C.prototype.EVENT_END=function(){return this.getToken(p.EVENT_END,0)},C.prototype.ret=function(){return this.getTypedRuleContext(E,0)},C.prototype.divider=function(){return this.getTypedRuleContext(A,0)},C.prototype.tcf=function(){return this.getTypedRuleContext(J,0)},C.prototype.OTHER=function(){return this.getToken(p.OTHER,0)},C.prototype.enterRule=function(t){t instanceof r&&t.enterStat(this)},C.prototype.exitRule=function(t){t instanceof r&&t.exitStat(this)},p.StatContext=C,p.prototype.stat=function(){var t=new C(this,this._ctx,this.state);this.enterRule(t,30,p.RULE_stat);var e=0;try{this.state=277,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=262,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=263,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=264,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=265,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=266,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=267,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=268,this.asyncMessage(),this.state=270,this._errHandler.sync(this),e=this._input.LA(1),e===p.EVENT_END&&(this.state=269,this.match(p.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=272,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=273,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=274,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=275,t._OTHER=this.match(p.OTHER),console.log("unknown char: "+(null===t._OTHER?null:t._OTHER.text));break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},S.prototype=Object.create(i.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.PAR=function(){return this.getToken(p.PAR,0)},S.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},S.prototype.enterRule=function(t){t instanceof r&&t.enterPar(this)},S.prototype.exitRule=function(t){t instanceof r&&t.exitPar(this)},p.ParContext=S,p.prototype.par=function(){var t=new S(this,this._ctx,this.state);this.enterRule(t,32,p.RULE_par);try{this.state=282,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=279,this.match(p.PAR),this.state=280,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=281,this.match(p.PAR);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},z.prototype=Object.create(i.ParserRuleContext.prototype),z.prototype.constructor=z,z.prototype.OPT=function(){return this.getToken(p.OPT,0)},z.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},z.prototype.enterRule=function(t){t instanceof r&&t.enterOpt(this)},z.prototype.exitRule=function(t){t instanceof r&&t.exitOpt(this)},p.OptContext=z,p.prototype.opt=function(){var t=new z(this,this._ctx,this.state);this.enterRule(t,34,p.RULE_opt);try{this.state=287,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,39,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=284,this.match(p.OPT),this.state=285,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=286,this.match(p.OPT);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},v.prototype=Object.create(i.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.creationBody=function(){return this.getTypedRuleContext(m,0)},v.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},v.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},v.prototype.enterRule=function(t){t instanceof r&&t.enterCreation(this)},v.prototype.exitRule=function(t){t instanceof r&&t.exitCreation(this)},p.CreationContext=v,p.prototype.creation=function(){var t=new v(this,this._ctx,this.state);this.enterRule(t,36,p.RULE_creation);try{this.enterOuterAlt(t,1),this.state=289,this.creationBody(),this.state=292,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,40,this._ctx);1===e?(this.state=290,this.match(p.SCOL)):2===e&&(this.state=291,this.braceBlock())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},m.prototype=Object.create(i.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.NEW=function(){return this.getToken(p.NEW,0)},m.prototype.construct=function(){return this.getTypedRuleContext(Z,0)},m.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},m.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},m.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},m.prototype.parameters=function(){return this.getTypedRuleContext(W,0)},m.prototype.enterRule=function(t){t instanceof r&&t.enterCreationBody(this)},m.prototype.exitRule=function(t){t instanceof r&&t.exitCreationBody(this)},p.CreationBodyContext=m,p.prototype.creationBody=function(){var t=new m(this,this._ctx,this.state);this.enterRule(t,38,p.RULE_creationBody);var e=0;try{this.enterOuterAlt(t,1),this.state=295,this._errHandler.sync(this),e=this._input.LA(1),0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36))&&(this.state=294,this.assignment()),this.state=297,this.match(p.NEW),this.state=298,this.construct(),this.state=304,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,43,this._ctx);1===n&&(this.state=299,this.match(p.OPAR),this.state=301,this._errHandler.sync(this),e=this._input.LA(1),(e===p.MINUS||e===p.NOT||0==(e-32&-32)&&0!==(1<<e-32&(1<<p.OPAR-32|1<<p.TRUE-32|1<<p.FALSE-32|1<<p.NIL-32|1<<p.NEW-32|1<<p.ID-32|1<<p.INT-32|1<<p.FLOAT-32|1<<p.STRING-32)))&&(this.state=300,this.parameters()),this.state=303,this.match(p.CPAR))}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},O.prototype=Object.create(i.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.messageBody=function(){return this.getTypedRuleContext(b,0)},O.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},O.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},O.prototype.enterRule=function(t){t instanceof r&&t.enterMessage(this)},O.prototype.exitRule=function(t){t instanceof r&&t.exitMessage(this)},p.MessageContext=O,p.prototype.message=function(){var t=new O(this,this._ctx,this.state);this.enterRule(t,40,p.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=306,this.messageBody(),this.state=309,this._errHandler.sync(this),this._input.LA(1)){case p.SCOL:this.state=307,this.match(p.SCOL);break;case p.OBRACE:this.state=308,this.braceBlock();break;case p.EOF:case p.EQ:case p.CBRACE:case p.TRUE:case p.FALSE:case p.NIL:case p.IF:case p.WHILE:case p.RETURN:case p.NEW:case p.PAR:case p.OPT:case p.TRY:case p.ANNOTATION_RET:case p.ID:case p.INT:case p.FLOAT:case p.STRING:case p.OTHER:break;default:break}}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},b.prototype=Object.create(i.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.func=function(){return this.getTypedRuleContext(k,0)},b.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},b.prototype.to=function(){return this.getTypedRuleContext(R,0)},b.prototype.DOT=function(){return this.getToken(p.DOT,0)},b.prototype.from=function(){return this.getTypedRuleContext(_,0)},b.prototype.ARROW=function(){return this.getToken(p.ARROW,0)},b.prototype.enterRule=function(t){t instanceof r&&t.enterMessageBody(this)},b.prototype.exitRule=function(t){t instanceof r&&t.exitMessageBody(this)},p.MessageBodyContext=b,p.prototype.messageBody=function(){var t=new b(this,this._ctx,this.state);this.enterRule(t,42,p.RULE_messageBody);try{this.state=334,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=312,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,45,this._ctx);1===e&&(this.state=311,this.assignment()),this.state=322,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,47,this._ctx);if(1===e){this.state=317,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,46,this._ctx);1===e&&(this.state=314,this.from(),this.state=315,this.match(p.ARROW)),this.state=319,this.to(),this.state=320,this.match(p.DOT)}this.state=324,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=325,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=329,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,48,this._ctx);1===e&&(this.state=326,this.from(),this.state=327,this.match(p.ARROW)),this.state=331,this.to(),this.state=332,this.match(p.DOT);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},k.prototype=Object.create(i.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.signature=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(U):this.getTypedRuleContext(U,t)},k.prototype.DOT=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.DOT):this.getToken(p.DOT,t)},k.prototype.enterRule=function(t){t instanceof r&&t.enterFunc(this)},k.prototype.exitRule=function(t){t instanceof r&&t.exitFunc(this)},p.FuncContext=k,p.prototype.func=function(){var t=new k(this,this._ctx,this.state);this.enterRule(t,44,p.RULE_func);try{this.enterOuterAlt(t,1),this.state=336,this.signature(),this.state=341,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,50,this._ctx);while(2!=e&&e!=i.atn.ATN.INVALID_ALT_NUMBER)1===e&&(this.state=337,this.match(p.DOT),this.state=338,this.signature()),this.state=343,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},_.prototype=Object.create(i.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.ID=function(){return this.getToken(p.ID,0)},_.prototype.STRING=function(){return this.getToken(p.STRING,0)},_.prototype.enterRule=function(t){t instanceof r&&t.enterFrom(this)},_.prototype.exitRule=function(t){t instanceof r&&t.exitFrom(this)},p.FromContext=_,p.prototype.from=function(){var t=new _(this,this._ctx,this.state);this.enterRule(t,46,p.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=344,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},R.prototype=Object.create(i.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.ID=function(){return this.getToken(p.ID,0)},R.prototype.STRING=function(){return this.getToken(p.STRING,0)},R.prototype.enterRule=function(t){t instanceof r&&t.enterTo(this)},R.prototype.exitRule=function(t){t instanceof r&&t.exitTo(this)},p.ToContext=R,p.prototype.to=function(){var t=new R(this,this._ctx,this.state);this.enterRule(t,48,p.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=346,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},U.prototype=Object.create(i.ParserRuleContext.prototype),U.prototype.constructor=U,U.prototype.methodName=function(){return this.getTypedRuleContext(H,0)},U.prototype.invocation=function(){return this.getTypedRuleContext(Y,0)},U.prototype.enterRule=function(t){t instanceof r&&t.enterSignature(this)},U.prototype.exitRule=function(t){t instanceof r&&t.exitSignature(this)},p.SignatureContext=U,p.prototype.signature=function(){var t=new U(this,this._ctx,this.state);this.enterRule(t,50,p.RULE_signature);try{this.enterOuterAlt(t,1),this.state=348,this.methodName(),this.state=350,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);1===e&&(this.state=349,this.invocation())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Y.prototype=Object.create(i.ParserRuleContext.prototype),Y.prototype.constructor=Y,Y.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},Y.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},Y.prototype.parameters=function(){return this.getTypedRuleContext(W,0)},Y.prototype.enterRule=function(t){t instanceof r&&t.enterInvocation(this)},Y.prototype.exitRule=function(t){t instanceof r&&t.exitInvocation(this)},p.InvocationContext=Y,p.prototype.invocation=function(){var t=new Y(this,this._ctx,this.state);this.enterRule(t,52,p.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=352,this.match(p.OPAR),this.state=354,this._errHandler.sync(this),e=this._input.LA(1),(e===p.MINUS||e===p.NOT||0==(e-32&-32)&&0!==(1<<e-32&(1<<p.OPAR-32|1<<p.TRUE-32|1<<p.FALSE-32|1<<p.NIL-32|1<<p.NEW-32|1<<p.ID-32|1<<p.INT-32|1<<p.FLOAT-32|1<<p.STRING-32)))&&(this.state=353,this.parameters()),this.state=356,this.match(p.CPAR)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},P.prototype=Object.create(i.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.assignee=function(){return this.getTypedRuleContext(F,0)},P.prototype.ASSIGN=function(){return this.getToken(p.ASSIGN,0)},P.prototype.type=function(){return this.getTypedRuleContext(G,0)},P.prototype.enterRule=function(t){t instanceof r&&t.enterAssignment(this)},P.prototype.exitRule=function(t){t instanceof r&&t.exitAssignment(this)},p.AssignmentContext=P,p.prototype.assignment=function(){var t=new P(this,this._ctx,this.state);this.enterRule(t,54,p.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=359,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);1===e&&(this.state=358,this.type()),this.state=361,this.assignee(),this.state=362,this.match(p.ASSIGN)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Q.prototype=Object.create(i.ParserRuleContext.prototype),Q.prototype.constructor=Q,Q.prototype.to=function(){return this.getTypedRuleContext(R,0)},Q.prototype.COL=function(){return this.getToken(p.COL,0)},Q.prototype.content=function(){return this.getTypedRuleContext(B,0)},Q.prototype.from=function(){return this.getTypedRuleContext(_,0)},Q.prototype.ARROW=function(){return this.getToken(p.ARROW,0)},Q.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Q.prototype.enterRule=function(t){t instanceof r&&t.enterAsyncMessage(this)},Q.prototype.exitRule=function(t){t instanceof r&&t.exitAsyncMessage(this)},p.AsyncMessageContext=Q,p.prototype.asyncMessage=function(){var t=new Q(this,this._ctx,this.state);this.enterRule(t,56,p.RULE_asyncMessage);var e=0;try{this.state=378,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,56,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=367,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,54,this._ctx);1===n&&(this.state=364,this.from(),this.state=365,this.match(p.ARROW)),this.state=369,this.to(),this.state=370,this.match(p.COL),this.state=371,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=373,this.from(),this.state=374,e=this._input.LA(1),e!==p.ARROW&&e!==p.MINUS?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=376,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,55,this._ctx);1===n&&(this.state=375,this.to());break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},B.prototype=Object.create(i.ParserRuleContext.prototype),B.prototype.constructor=B,B.prototype.EVENT_PAYLOAD_LXR=function(){return this.getToken(p.EVENT_PAYLOAD_LXR,0)},B.prototype.enterRule=function(t){t instanceof r&&t.enterContent(this)},B.prototype.exitRule=function(t){t instanceof r&&t.exitContent(this)},p.ContentContext=B,p.prototype.content=function(){var t=new B(this,this._ctx,this.state);this.enterRule(t,58,p.RULE_content);try{this.enterOuterAlt(t,1),this.state=380,this.match(p.EVENT_PAYLOAD_LXR)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},Z.prototype=Object.create(i.ParserRuleContext.prototype),Z.prototype.constructor=Z,Z.prototype.ID=function(){return this.getToken(p.ID,0)},Z.prototype.STRING=function(){return this.getToken(p.STRING,0)},Z.prototype.enterRule=function(t){t instanceof r&&t.enterConstruct(this)},Z.prototype.exitRule=function(t){t instanceof r&&t.exitConstruct(this)},p.ConstructContext=Z,p.prototype.construct=function(){var t=new Z(this,this._ctx,this.state);this.enterRule(t,60,p.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=382,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},G.prototype=Object.create(i.ParserRuleContext.prototype),G.prototype.constructor=G,G.prototype.ID=function(){return this.getToken(p.ID,0)},G.prototype.STRING=function(){return this.getToken(p.STRING,0)},G.prototype.enterRule=function(t){t instanceof r&&t.enterType(this)},G.prototype.exitRule=function(t){t instanceof r&&t.exitType(this)},p.TypeContext=G,p.prototype.type=function(){var t=new G(this,this._ctx,this.state);this.enterRule(t,62,p.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=384,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},F.prototype=Object.create(i.ParserRuleContext.prototype),F.prototype.constructor=F,F.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},F.prototype.ID=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ID):this.getToken(p.ID,t)},F.prototype.COMMA=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.COMMA):this.getToken(p.COMMA,t)},F.prototype.STRING=function(){return this.getToken(p.STRING,0)},F.prototype.enterRule=function(t){t instanceof r&&t.enterAssignee(this)},F.prototype.exitRule=function(t){t instanceof r&&t.exitAssignee(this)},p.AssigneeContext=F,p.prototype.assignee=function(){var t=new F(this,this._ctx,this.state);this.enterRule(t,64,p.RULE_assignee);var e=0;try{this.state=396,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,58,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=386,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=387,this.match(p.ID),this.state=392,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.COMMA)this.state=388,this.match(p.COMMA),this.state=389,this.match(p.ID),this.state=394,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=395,this.match(p.STRING);break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},H.prototype=Object.create(i.ParserRuleContext.prototype),H.prototype.constructor=H,H.prototype.ID=function(){return this.getToken(p.ID,0)},H.prototype.STRING=function(){return this.getToken(p.STRING,0)},H.prototype.enterRule=function(t){t instanceof r&&t.enterMethodName(this)},H.prototype.exitRule=function(t){t instanceof r&&t.exitMethodName(this)},p.MethodNameContext=H,p.prototype.methodName=function(){var t=new H(this,this._ctx,this.state);this.enterRule(t,66,p.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=398,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},W.prototype=Object.create(i.ParserRuleContext.prototype),W.prototype.constructor=W,W.prototype.parameter=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,t)},W.prototype.COMMA=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.COMMA):this.getToken(p.COMMA,t)},W.prototype.enterRule=function(t){t instanceof r&&t.enterParameters(this)},W.prototype.exitRule=function(t){t instanceof r&&t.exitParameters(this)},p.ParametersContext=W,p.prototype.parameters=function(){var t=new W(this,this._ctx,this.state);this.enterRule(t,68,p.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=400,this.parameter(),this.state=405,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,59,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=401,this.match(p.COMMA),this.state=402,this.parameter()),this.state=407,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=409,this._errHandler.sync(this),e=this._input.LA(1),e===p.COMMA&&(this.state=408,this.match(p.COMMA))}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},V.prototype=Object.create(i.ParserRuleContext.prototype),V.prototype.constructor=V,V.prototype.declaration=function(){return this.getTypedRuleContext(X,0)},V.prototype.expr=function(){return this.getTypedRuleContext(st,0)},V.prototype.enterRule=function(t){t instanceof r&&t.enterParameter(this)},V.prototype.exitRule=function(t){t instanceof r&&t.exitParameter(this)},p.ParameterContext=V,p.prototype.parameter=function(){var t=new V(this,this._ctx,this.state);this.enterRule(t,70,p.RULE_parameter);try{this.state=413,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=411,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=412,this.expr(0);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},X.prototype=Object.create(i.ParserRuleContext.prototype),X.prototype.constructor=X,X.prototype.type=function(){return this.getTypedRuleContext(G,0)},X.prototype.ID=function(){return this.getToken(p.ID,0)},X.prototype.enterRule=function(t){t instanceof r&&t.enterDeclaration(this)},X.prototype.exitRule=function(t){t instanceof r&&t.exitDeclaration(this)},p.DeclarationContext=X,p.prototype.declaration=function(){var t=new X(this,this._ctx,this.state);this.enterRule(t,72,p.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=415,this.type(),this.state=416,this.match(p.ID)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},J.prototype=Object.create(i.ParserRuleContext.prototype),J.prototype.constructor=J,J.prototype.tryBlock=function(){return this.getTypedRuleContext($,0)},J.prototype.catchBlock=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(K):this.getTypedRuleContext(K,t)},J.prototype.finallyBlock=function(){return this.getTypedRuleContext(q,0)},J.prototype.enterRule=function(t){t instanceof r&&t.enterTcf(this)},J.prototype.exitRule=function(t){t instanceof r&&t.exitTcf(this)},p.TcfContext=J,p.prototype.tcf=function(){var t=new J(this,this._ctx,this.state);this.enterRule(t,74,p.RULE_tcf);var e=0;try{this.enterOuterAlt(t,1),this.state=418,this.tryBlock(),this.state=422,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.CATCH)this.state=419,this.catchBlock(),this.state=424,this._errHandler.sync(this),e=this._input.LA(1);this.state=426,this._errHandler.sync(this),e=this._input.LA(1),e===p.FINALLY&&(this.state=425,this.finallyBlock())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},$.prototype=Object.create(i.ParserRuleContext.prototype),$.prototype.constructor=$,$.prototype.TRY=function(){return this.getToken(p.TRY,0)},$.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},$.prototype.enterRule=function(t){t instanceof r&&t.enterTryBlock(this)},$.prototype.exitRule=function(t){t instanceof r&&t.exitTryBlock(this)},p.TryBlockContext=$,p.prototype.tryBlock=function(){var t=new $(this,this._ctx,this.state);this.enterRule(t,76,p.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=428,this.match(p.TRY),this.state=429,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},K.prototype=Object.create(i.ParserRuleContext.prototype),K.prototype.constructor=K,K.prototype.CATCH=function(){return this.getToken(p.CATCH,0)},K.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},K.prototype.invocation=function(){return this.getTypedRuleContext(Y,0)},K.prototype.enterRule=function(t){t instanceof r&&t.enterCatchBlock(this)},K.prototype.exitRule=function(t){t instanceof r&&t.exitCatchBlock(this)},p.CatchBlockContext=K,p.prototype.catchBlock=function(){var t=new K(this,this._ctx,this.state);this.enterRule(t,78,p.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=431,this.match(p.CATCH),this.state=433,this._errHandler.sync(this),e=this._input.LA(1),e===p.OPAR&&(this.state=432,this.invocation()),this.state=435,this.braceBlock()}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},q.prototype=Object.create(i.ParserRuleContext.prototype),q.prototype.constructor=q,q.prototype.FINALLY=function(){return this.getToken(p.FINALLY,0)},q.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},q.prototype.enterRule=function(t){t instanceof r&&t.enterFinallyBlock(this)},q.prototype.exitRule=function(t){t instanceof r&&t.exitFinallyBlock(this)},p.FinallyBlockContext=q,p.prototype.finallyBlock=function(){var t=new q(this,this._ctx,this.state);this.enterRule(t,80,p.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=437,this.match(p.FINALLY),this.state=438,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},tt.prototype=Object.create(i.ParserRuleContext.prototype),tt.prototype.constructor=tt,tt.prototype.ifBlock=function(){return this.getTypedRuleContext(et,0)},tt.prototype.elseIfBlock=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(nt):this.getTypedRuleContext(nt,t)},tt.prototype.elseBlock=function(){return this.getTypedRuleContext(it,0)},tt.prototype.enterRule=function(t){t instanceof r&&t.enterAlt(this)},tt.prototype.exitRule=function(t){t instanceof r&&t.exitAlt(this)},p.AltContext=tt,p.prototype.alt=function(){var t=new tt(this,this._ctx,this.state);this.enterRule(t,82,p.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=440,this.ifBlock(),this.state=444,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,65,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=441,this.elseIfBlock()),this.state=446,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=448,this._errHandler.sync(this),e=this._input.LA(1),e===p.ELSE&&(this.state=447,this.elseBlock())}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},et.prototype=Object.create(i.ParserRuleContext.prototype),et.prototype.constructor=et,et.prototype.IF=function(){return this.getToken(p.IF,0)},et.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},et.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},et.prototype.enterRule=function(t){t instanceof r&&t.enterIfBlock(this)},et.prototype.exitRule=function(t){t instanceof r&&t.exitIfBlock(this)},p.IfBlockContext=et,p.prototype.ifBlock=function(){var t=new et(this,this._ctx,this.state);this.enterRule(t,84,p.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=450,this.match(p.IF),this.state=451,this.parExpr(),this.state=452,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},nt.prototype=Object.create(i.ParserRuleContext.prototype),nt.prototype.constructor=nt,nt.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},nt.prototype.IF=function(){return this.getToken(p.IF,0)},nt.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},nt.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},nt.prototype.enterRule=function(t){t instanceof r&&t.enterElseIfBlock(this)},nt.prototype.exitRule=function(t){t instanceof r&&t.exitElseIfBlock(this)},p.ElseIfBlockContext=nt,p.prototype.elseIfBlock=function(){var t=new nt(this,this._ctx,this.state);this.enterRule(t,86,p.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=454,this.match(p.ELSE),this.state=455,this.match(p.IF),this.state=456,this.parExpr(),this.state=457,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},it.prototype=Object.create(i.ParserRuleContext.prototype),it.prototype.constructor=it,it.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},it.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},it.prototype.enterRule=function(t){t instanceof r&&t.enterElseBlock(this)},it.prototype.exitRule=function(t){t instanceof r&&t.exitElseBlock(this)},p.ElseBlockContext=it,p.prototype.elseBlock=function(){var t=new it(this,this._ctx,this.state);this.enterRule(t,88,p.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=459,this.match(p.ELSE),this.state=460,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},rt.prototype=Object.create(i.ParserRuleContext.prototype),rt.prototype.constructor=rt,rt.prototype.OBRACE=function(){return this.getToken(p.OBRACE,0)},rt.prototype.CBRACE=function(){return this.getToken(p.CBRACE,0)},rt.prototype.block=function(){return this.getTypedRuleContext(w,0)},rt.prototype.enterRule=function(t){t instanceof r&&t.enterBraceBlock(this)},rt.prototype.exitRule=function(t){t instanceof r&&t.exitBraceBlock(this)},p.BraceBlockContext=rt,p.prototype.braceBlock=function(){var t=new rt(this,this._ctx,this.state);this.enterRule(t,90,p.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=462,this.match(p.OBRACE),this.state=464,this._errHandler.sync(this),e=this._input.LA(1),(e===p.EQ||0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.IF-36|1<<p.WHILE-36|1<<p.RETURN-36|1<<p.NEW-36|1<<p.PAR-36|1<<p.OPT-36|1<<p.TRY-36|1<<p.ANNOTATION_RET-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36|1<<p.OTHER-36)))&&(this.state=463,this.block()),this.state=466,this.match(p.CBRACE)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},ot.prototype=Object.create(i.ParserRuleContext.prototype),ot.prototype.constructor=ot,ot.prototype.WHILE=function(){return this.getToken(p.WHILE,0)},ot.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},ot.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},ot.prototype.enterRule=function(t){t instanceof r&&t.enterLoop(this)},ot.prototype.exitRule=function(t){t instanceof r&&t.exitLoop(this)},p.LoopContext=ot,p.prototype.loop=function(){var t=new ot(this,this._ctx,this.state);this.enterRule(t,92,p.RULE_loop);try{this.state=475,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=468,this.match(p.WHILE),this.state=469,this.parExpr(),this.state=470,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=472,this.match(p.WHILE),this.state=473,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=474,this.match(p.WHILE);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},st.prototype=Object.create(i.ParserRuleContext.prototype),st.prototype.constructor=st,st.prototype.copyFrom=function(t){i.ParserRuleContext.prototype.copyFrom.call(this,t)},at.prototype=Object.create(st.prototype),at.prototype.constructor=at,p.AssignmentExprContext=at,at.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},at.prototype.expr=function(){return this.getTypedRuleContext(st,0)},at.prototype.enterRule=function(t){t instanceof r&&t.enterAssignmentExpr(this)},at.prototype.exitRule=function(t){t instanceof r&&t.exitAssignmentExpr(this)},ut.prototype=Object.create(st.prototype),ut.prototype.constructor=ut,p.FuncExprContext=ut,ut.prototype.func=function(){return this.getTypedRuleContext(k,0)},ut.prototype.to=function(){return this.getTypedRuleContext(R,0)},ut.prototype.DOT=function(){return this.getToken(p.DOT,0)},ut.prototype.enterRule=function(t){t instanceof r&&t.enterFuncExpr(this)},ut.prototype.exitRule=function(t){t instanceof r&&t.exitFuncExpr(this)},ct.prototype=Object.create(st.prototype),ct.prototype.constructor=ct,p.AtomExprContext=ct,ct.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},ct.prototype.enterRule=function(t){t instanceof r&&t.enterAtomExpr(this)},ct.prototype.exitRule=function(t){t instanceof r&&t.exitAtomExpr(this)},lt.prototype=Object.create(st.prototype),lt.prototype.constructor=lt,p.OrExprContext=lt,lt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},lt.prototype.OR=function(){return this.getToken(p.OR,0)},lt.prototype.enterRule=function(t){t instanceof r&&t.enterOrExpr(this)},lt.prototype.exitRule=function(t){t instanceof r&&t.exitOrExpr(this)},Mt.prototype=Object.create(st.prototype),Mt.prototype.constructor=Mt,p.AdditiveExprContext=Mt,Mt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},Mt.prototype.PLUS=function(){return this.getToken(p.PLUS,0)},Mt.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Mt.prototype.enterRule=function(t){t instanceof r&&t.enterAdditiveExpr(this)},Mt.prototype.exitRule=function(t){t instanceof r&&t.exitAdditiveExpr(this)},pt.prototype=Object.create(st.prototype),pt.prototype.constructor=pt,p.RelationalExprContext=pt,pt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},pt.prototype.LTEQ=function(){return this.getToken(p.LTEQ,0)},pt.prototype.GTEQ=function(){return this.getToken(p.GTEQ,0)},pt.prototype.LT=function(){return this.getToken(p.LT,0)},pt.prototype.GT=function(){return this.getToken(p.GT,0)},pt.prototype.enterRule=function(t){t instanceof r&&t.enterRelationalExpr(this)},pt.prototype.exitRule=function(t){t instanceof r&&t.exitRelationalExpr(this)},ht.prototype=Object.create(st.prototype),ht.prototype.constructor=ht,p.PlusExprContext=ht,ht.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},ht.prototype.PLUS=function(){return this.getToken(p.PLUS,0)},ht.prototype.enterRule=function(t){t instanceof r&&t.enterPlusExpr(this)},ht.prototype.exitRule=function(t){t instanceof r&&t.exitPlusExpr(this)},gt.prototype=Object.create(st.prototype),gt.prototype.constructor=gt,p.NotExprContext=gt,gt.prototype.NOT=function(){return this.getToken(p.NOT,0)},gt.prototype.expr=function(){return this.getTypedRuleContext(st,0)},gt.prototype.enterRule=function(t){t instanceof r&&t.enterNotExpr(this)},gt.prototype.exitRule=function(t){t instanceof r&&t.exitNotExpr(this)},Nt.prototype=Object.create(st.prototype),Nt.prototype.constructor=Nt,p.UnaryMinusExprContext=Nt,Nt.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Nt.prototype.expr=function(){return this.getTypedRuleContext(st,0)},Nt.prototype.enterRule=function(t){t instanceof r&&t.enterUnaryMinusExpr(this)},Nt.prototype.exitRule=function(t){t instanceof r&&t.exitUnaryMinusExpr(this)},Dt.prototype=Object.create(st.prototype),Dt.prototype.constructor=Dt,p.CreationExprContext=Dt,Dt.prototype.creation=function(){return this.getTypedRuleContext(v,0)},Dt.prototype.enterRule=function(t){t instanceof r&&t.enterCreationExpr(this)},Dt.prototype.exitRule=function(t){t instanceof r&&t.exitCreationExpr(this)},It.prototype=Object.create(st.prototype),It.prototype.constructor=It,p.ParenthesizedExprContext=It,It.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},It.prototype.expr=function(){return this.getTypedRuleContext(st,0)},It.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},It.prototype.enterRule=function(t){t instanceof r&&t.enterParenthesizedExpr(this)},It.prototype.exitRule=function(t){t instanceof r&&t.exitParenthesizedExpr(this)},yt.prototype=Object.create(st.prototype),yt.prototype.constructor=yt,p.MultiplicationExprContext=yt,yt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},yt.prototype.MULT=function(){return this.getToken(p.MULT,0)},yt.prototype.DIV=function(){return this.getToken(p.DIV,0)},yt.prototype.MOD=function(){return this.getToken(p.MOD,0)},yt.prototype.enterRule=function(t){t instanceof r&&t.enterMultiplicationExpr(this)},yt.prototype.exitRule=function(t){t instanceof r&&t.exitMultiplicationExpr(this)},dt.prototype=Object.create(st.prototype),dt.prototype.constructor=dt,p.EqualityExprContext=dt,dt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},dt.prototype.EQ=function(){return this.getToken(p.EQ,0)},dt.prototype.NEQ=function(){return this.getToken(p.NEQ,0)},dt.prototype.enterRule=function(t){t instanceof r&&t.enterEqualityExpr(this)},dt.prototype.exitRule=function(t){t instanceof r&&t.exitEqualityExpr(this)},Tt.prototype=Object.create(st.prototype),Tt.prototype.constructor=Tt,p.AndExprContext=Tt,Tt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},Tt.prototype.AND=function(){return this.getToken(p.AND,0)},Tt.prototype.enterRule=function(t){t instanceof r&&t.enterAndExpr(this)},Tt.prototype.exitRule=function(t){t instanceof r&&t.exitAndExpr(this)},p.prototype.expr=function(t){void 0===t&&(t=0);var e=this._ctx,n=this.state,r=new st(this,this._ctx,n),o=94;this.enterRecursionRule(r,94,p.RULE_expr,t);var s=0;try{this.enterOuterAlt(r,1),this.state=497,this._errHandler.sync(this);var a=this._interp.adaptivePredict(this._input,70,this._ctx);switch(a){case 1:r=new ct(this,r),this._ctx=r,r,this.state=478,this.atom();break;case 2:r=new Nt(this,r),this._ctx=r,r,this.state=479,this.match(p.MINUS),this.state=480,this.expr(13);break;case 3:r=new gt(this,r),this._ctx=r,r,this.state=481,this.match(p.NOT),this.state=482,this.expr(12);break;case 4:r=new ut(this,r),this._ctx=r,r,this.state=486,this._errHandler.sync(this);a=this._interp.adaptivePredict(this._input,69,this._ctx);1===a&&(this.state=483,this.to(),this.state=484,this.match(p.DOT)),this.state=488,this.func();break;case 5:r=new Dt(this,r),this._ctx=r,r,this.state=489,this.creation();break;case 6:r=new It(this,r),this._ctx=r,r,this.state=490,this.match(p.OPAR),this.state=491,this.expr(0),this.state=492,this.match(p.CPAR);break;case 7:r=new at(this,r),this._ctx=r,r,this.state=494,this.assignment(),this.state=495,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=522,this._errHandler.sync(this);var u=this._interp.adaptivePredict(this._input,72,this._ctx);while(2!=u&&u!=i.atn.ATN.INVALID_ALT_NUMBER){if(1===u){null!==this._parseListeners&&this.triggerExitRuleEvent(),r,this.state=520,this._errHandler.sync(this);a=this._interp.adaptivePredict(this._input,71,this._ctx);switch(a){case 1:if(r=new yt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=499,!this.precpred(this._ctx,11))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=500,r.op=this._input.LT(1),s=this._input.LA(1),0!=(-32&s)||0===(1<<s&(1<<p.MULT|1<<p.DIV|1<<p.MOD))?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=501,this.expr(12);break;case 2:if(r=new Mt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=502,!this.precpred(this._ctx,10))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=503,r.op=this._input.LT(1),s=this._input.LA(1),s!==p.PLUS&&s!==p.MINUS?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=504,this.expr(11);break;case 3:if(r=new pt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=505,!this.precpred(this._ctx,9))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=506,r.op=this._input.LT(1),s=this._input.LA(1),0!=(-32&s)||0===(1<<s&(1<<p.GT|1<<p.LT|1<<p.GTEQ|1<<p.LTEQ))?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=507,this.expr(10);break;case 4:if(r=new dt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=508,!this.precpred(this._ctx,8))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=509,r.op=this._input.LT(1),s=this._input.LA(1),s!==p.EQ&&s!==p.NEQ?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=510,this.expr(9);break;case 5:if(r=new Tt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=511,!this.precpred(this._ctx,7))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=512,this.match(p.AND),this.state=513,this.expr(8);break;case 6:if(r=new lt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=514,!this.precpred(this._ctx,6))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=515,this.match(p.OR),this.state=516,this.expr(7);break;case 7:if(r=new ht(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=517,!this.precpred(this._ctx,5))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=518,this.match(p.PLUS),this.state=519,this.expr(6);break}}this.state=524,this._errHandler.sync(this),u=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(c){if(!(c instanceof i.error.RecognitionException))throw c;r.exception=c,this._errHandler.reportError(this,c),this._errHandler.recover(this,c)}finally{this.unrollRecursionContexts(e)}return r},xt.prototype=Object.create(i.ParserRuleContext.prototype),xt.prototype.constructor=xt,xt.prototype.copyFrom=function(t){i.ParserRuleContext.prototype.copyFrom.call(this,t)},Lt.prototype=Object.create(xt.prototype),Lt.prototype.constructor=Lt,p.BooleanAtomContext=Lt,Lt.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},Lt.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},Lt.prototype.enterRule=function(t){t instanceof r&&t.enterBooleanAtom(this)},Lt.prototype.exitRule=function(t){t instanceof r&&t.exitBooleanAtom(this)},jt.prototype=Object.create(xt.prototype),jt.prototype.constructor=jt,p.IdAtomContext=jt,jt.prototype.ID=function(){return this.getToken(p.ID,0)},jt.prototype.enterRule=function(t){t instanceof r&&t.enterIdAtom(this)},jt.prototype.exitRule=function(t){t instanceof r&&t.exitIdAtom(this)},ft.prototype=Object.create(xt.prototype),ft.prototype.constructor=ft,p.StringAtomContext=ft,ft.prototype.STRING=function(){return this.getToken(p.STRING,0)},ft.prototype.enterRule=function(t){t instanceof r&&t.enterStringAtom(this)},ft.prototype.exitRule=function(t){t instanceof r&&t.exitStringAtom(this)},wt.prototype=Object.create(xt.prototype),wt.prototype.constructor=wt,p.NilAtomContext=wt,wt.prototype.NIL=function(){return this.getToken(p.NIL,0)},wt.prototype.enterRule=function(t){t instanceof r&&t.enterNilAtom(this)},wt.prototype.exitRule=function(t){t instanceof r&&t.exitNilAtom(this)},Et.prototype=Object.create(xt.prototype),Et.prototype.constructor=Et,p.NumberAtomContext=Et,Et.prototype.INT=function(){return this.getToken(p.INT,0)},Et.prototype.FLOAT=function(){return this.getToken(p.FLOAT,0)},Et.prototype.enterRule=function(t){t instanceof r&&t.enterNumberAtom(this)},Et.prototype.exitRule=function(t){t instanceof r&&t.exitNumberAtom(this)},p.AtomContext=xt,p.prototype.atom=function(){var t=new xt(this,this._ctx,this.state);this.enterRule(t,96,p.RULE_atom);var e=0;try{switch(this.state=530,this._errHandler.sync(this),this._input.LA(1)){case p.INT:case p.FLOAT:t=new Et(this,t),this.enterOuterAlt(t,1),this.state=525,e=this._input.LA(1),e!==p.INT&&e!==p.FLOAT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume());break;case p.TRUE:case p.FALSE:t=new Lt(this,t),this.enterOuterAlt(t,2),this.state=526,e=this._input.LA(1),e!==p.TRUE&&e!==p.FALSE?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume());break;case p.ID:t=new jt(this,t),this.enterOuterAlt(t,3),this.state=527,this.match(p.ID);break;case p.STRING:t=new ft(this,t),this.enterOuterAlt(t,4),this.state=528,this.match(p.STRING);break;case p.NIL:t=new wt(this,t),this.enterOuterAlt(t,5),this.state=529,this.match(p.NIL);break;default:throw new i.error.NoViableAltException(this)}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},At.prototype=Object.create(i.ParserRuleContext.prototype),At.prototype.constructor=At,At.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},At.prototype.condition=function(){return this.getTypedRuleContext(Ct,0)},At.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},At.prototype.enterRule=function(t){t instanceof r&&t.enterParExpr(this)},At.prototype.exitRule=function(t){t instanceof r&&t.exitParExpr(this)},p.ParExprContext=At,p.prototype.parExpr=function(){var t=new At(this,this._ctx,this.state);this.enterRule(t,98,p.RULE_parExpr);try{this.state=541,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=532,this.match(p.OPAR),this.state=533,this.condition(),this.state=534,this.match(p.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=536,this.match(p.OPAR),this.state=537,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=538,this.match(p.OPAR),this.state=539,this.match(p.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=540,this.match(p.OPAR);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Ct.prototype=Object.create(i.ParserRuleContext.prototype),Ct.prototype.constructor=Ct,Ct.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},Ct.prototype.expr=function(){return this.getTypedRuleContext(st,0)},Ct.prototype.inExpr=function(){return this.getTypedRuleContext(St,0)},Ct.prototype.enterRule=function(t){t instanceof r&&t.enterCondition(this)},Ct.prototype.exitRule=function(t){t instanceof r&&t.exitCondition(this)},p.ConditionContext=Ct,p.prototype.condition=function(){var t=new Ct(this,this._ctx,this.state);this.enterRule(t,100,p.RULE_condition);try{this.state=546,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=543,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=544,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=545,this.inExpr();break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},St.prototype=Object.create(i.ParserRuleContext.prototype),St.prototype.constructor=St,St.prototype.ID=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ID):this.getToken(p.ID,t)},St.prototype.IN=function(){return this.getToken(p.IN,0)},St.prototype.enterRule=function(t){t instanceof r&&t.enterInExpr(this)},St.prototype.exitRule=function(t){t instanceof r&&t.exitInExpr(this)},p.InExprContext=St,p.prototype.inExpr=function(){var t=new St(this,this._ctx,this.state);this.enterRule(t,102,p.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=548,this.match(p.ID),this.state=549,this.match(p.IN),this.state=550,this.match(p.ID)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},p.prototype.sempred=function(t,e,n){switch(e){case 47:return this.expr_sempred(t,n);default:throw"No predicate with index:"+e}},p.prototype.expr_sempred=function(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}},e.sequenceParser=p},8614:(t,e,n)=>{var i=n(7228);function r(){return i.tree.ParseTreeListener.call(this),this}r.prototype=Object.create(i.tree.ParseTreeListener.prototype),r.prototype.constructor=r,r.prototype.enterProg=function(t){},r.prototype.exitProg=function(t){},r.prototype.enterTitle=function(t){},r.prototype.exitTitle=function(t){},r.prototype.enterHead=function(t){},r.prototype.exitHead=function(t){},r.prototype.enterGroup=function(t){},r.prototype.exitGroup=function(t){},r.prototype.enterStarterExp=function(t){},r.prototype.exitStarterExp=function(t){},r.prototype.enterStarter=function(t){},r.prototype.exitStarter=function(t){},r.prototype.enterParticipant=function(t){},r.prototype.exitParticipant=function(t){},r.prototype.enterStereotype=function(t){},r.prototype.exitStereotype=function(t){},r.prototype.enterLabel=function(t){},r.prototype.exitLabel=function(t){},r.prototype.enterParticipantType=function(t){},r.prototype.exitParticipantType=function(t){},r.prototype.enterName=function(t){},r.prototype.exitName=function(t){},r.prototype.enterWidth=function(t){},r.prototype.exitWidth=function(t){},r.prototype.enterBlock=function(t){},r.prototype.exitBlock=function(t){},r.prototype.enterRet=function(t){},r.prototype.exitRet=function(t){},r.prototype.enterDivider=function(t){},r.prototype.exitDivider=function(t){},r.prototype.enterStat=function(t){},r.prototype.exitStat=function(t){},r.prototype.enterPar=function(t){},r.prototype.exitPar=function(t){},r.prototype.enterOpt=function(t){},r.prototype.exitOpt=function(t){},r.prototype.enterCreation=function(t){},r.prototype.exitCreation=function(t){},r.prototype.enterCreationBody=function(t){},r.prototype.exitCreationBody=function(t){},r.prototype.enterMessage=function(t){},r.prototype.exitMessage=function(t){},r.prototype.enterMessageBody=function(t){},r.prototype.exitMessageBody=function(t){},r.prototype.enterFunc=function(t){},r.prototype.exitFunc=function(t){},r.prototype.enterFrom=function(t){},r.prototype.exitFrom=function(t){},r.prototype.enterTo=function(t){},r.prototype.exitTo=function(t){},r.prototype.enterSignature=function(t){},r.prototype.exitSignature=function(t){},r.prototype.enterInvocation=function(t){},r.prototype.exitInvocation=function(t){},r.prototype.enterAssignment=function(t){},r.prototype.exitAssignment=function(t){},r.prototype.enterAsyncMessage=function(t){},r.prototype.exitAsyncMessage=function(t){},r.prototype.enterContent=function(t){},r.prototype.exitContent=function(t){},r.prototype.enterConstruct=function(t){},r.prototype.exitConstruct=function(t){},r.prototype.enterType=function(t){},r.prototype.exitType=function(t){},r.prototype.enterAssignee=function(t){},r.prototype.exitAssignee=function(t){},r.prototype.enterMethodName=function(t){},r.prototype.exitMethodName=function(t){},r.prototype.enterParameters=function(t){},r.prototype.exitParameters=function(t){},r.prototype.enterParameter=function(t){},r.prototype.exitParameter=function(t){},r.prototype.enterDeclaration=function(t){},r.prototype.exitDeclaration=function(t){},r.prototype.enterTcf=function(t){},r.prototype.exitTcf=function(t){},r.prototype.enterTryBlock=function(t){},r.prototype.exitTryBlock=function(t){},r.prototype.enterCatchBlock=function(t){},r.prototype.exitCatchBlock=function(t){},r.prototype.enterFinallyBlock=function(t){},r.prototype.exitFinallyBlock=function(t){},r.prototype.enterAlt=function(t){},r.prototype.exitAlt=function(t){},r.prototype.enterIfBlock=function(t){},r.prototype.exitIfBlock=function(t){},r.prototype.enterElseIfBlock=function(t){},r.prototype.exitElseIfBlock=function(t){},r.prototype.enterElseBlock=function(t){},r.prototype.exitElseBlock=function(t){},r.prototype.enterBraceBlock=function(t){},r.prototype.exitBraceBlock=function(t){},r.prototype.enterLoop=function(t){},r.prototype.exitLoop=function(t){},r.prototype.enterAssignmentExpr=function(t){},r.prototype.exitAssignmentExpr=function(t){},r.prototype.enterFuncExpr=function(t){},r.prototype.exitFuncExpr=function(t){},r.prototype.enterAtomExpr=function(t){},r.prototype.exitAtomExpr=function(t){},r.prototype.enterOrExpr=function(t){},r.prototype.exitOrExpr=function(t){},r.prototype.enterAdditiveExpr=function(t){},r.prototype.exitAdditiveExpr=function(t){},r.prototype.enterRelationalExpr=function(t){},r.prototype.exitRelationalExpr=function(t){},r.prototype.enterPlusExpr=function(t){},r.prototype.exitPlusExpr=function(t){},r.prototype.enterNotExpr=function(t){},r.prototype.exitNotExpr=function(t){},r.prototype.enterUnaryMinusExpr=function(t){},r.prototype.exitUnaryMinusExpr=function(t){},r.prototype.enterCreationExpr=function(t){},r.prototype.exitCreationExpr=function(t){},r.prototype.enterParenthesizedExpr=function(t){},r.prototype.exitParenthesizedExpr=function(t){},r.prototype.enterMultiplicationExpr=function(t){},r.prototype.exitMultiplicationExpr=function(t){},r.prototype.enterEqualityExpr=function(t){},r.prototype.exitEqualityExpr=function(t){},r.prototype.enterAndExpr=function(t){},r.prototype.exitAndExpr=function(t){},r.prototype.enterNumberAtom=function(t){},r.prototype.exitNumberAtom=function(t){},r.prototype.enterBooleanAtom=function(t){},r.prototype.exitBooleanAtom=function(t){},r.prototype.enterIdAtom=function(t){},r.prototype.exitIdAtom=function(t){},r.prototype.enterStringAtom=function(t){},r.prototype.exitStringAtom=function(t){},r.prototype.enterNilAtom=function(t){},r.prototype.exitNilAtom=function(t){},r.prototype.enterParExpr=function(t){},r.prototype.exitParExpr=function(t){},r.prototype.enterCondition=function(t){},r.prototype.exitCondition=function(t){},r.prototype.enterInExpr=function(t){},r.prototype.exitInExpr=function(t){},e.sequenceParserListener=r},1350:(t,e,n)=>{var i=n(7228),r=n(8614);const o=i.tree.ParseTreeWalker.DEFAULT;var s=function(){return r.sequenceParserListener.call(this),this};s.prototype=Object.create(r.sequenceParserListener.prototype),s.prototype.constructor=s;var a=0,u=0;s.prototype.enterTcf=function(){a++},s.prototype.enterOpt=function(){a++},s.prototype.enterPar=function(){a++},s.prototype.enterAlt=function(){a++},s.prototype.enterLoop=function(){a++},s.prototype.exitTcf=function(){u=Math.max(u,a),a--},s.prototype.exitOpt=function(){u=Math.max(u,a),a--},s.prototype.exitPar=function(){u=Math.max(u,a),a--},s.prototype.exitAlt=function(){u=Math.max(u,a),a--},s.prototype.exitLoop=function(){u=Math.max(u,a),a--},s.prototype.depth=function(t){return function(e){return a=0,u=0,e.children.map((function(e){o.walk(t,e)})),u}},t.exports=s},3725:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.CreationContext;o.prototype.Body=o.prototype.creationBody,o.prototype.isCurrent=function(t){return a.bind(this)(t)};const s=r.MessageContext;function a(t){try{if(null===t||void 0===t)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch(e){return!1}}s.prototype.Body=s.prototype.messageBody,s.prototype.isCurrent=function(t){return a.bind(this)(t)}},9469:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.CreationContext,s=r.MessageContext,a=r.AsyncMessageContext;o.prototype.Assignee=function(){var t,e,n;return null===(t=this.creationBody())||void 0===t||null===(e=t.assignment())||void 0===e||null===(n=e.assignee())||void 0===n?void 0:n.getText()},o.prototype.Owner=function(){var t,e;const n=this.Assignee(),i=null===(t=this.creationBody())||void 0===t||null===(e=t.construct())||void 0===e?void 0:e.getText();return i?n?`${n}:${i}`:i:"Missing Constructor"},s.prototype.Owner=function(){var t;const e=!(null!==(t=this.messageBody())&&void 0!==t&&t.to());return e?this.ClosestAncestorStat().Origin():this.messageBody().to().getFormattedText()},a.prototype.Owner=function(){var t;return(null===(t=this.to())||void 0===t?void 0:t.getFormattedText())||this.ClosestAncestorStat().Origin()}},8732:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.ProgContext;o.prototype.Starter=function(){var t,e,n,r;const o=null===(t=this.head())||void 0===t||null===(e=t.starterExp())||void 0===e||null===(n=e.starter())||void 0===n?void 0:n.getFormattedText();let s,a,u;const c=null===(r=this.block())||void 0===r?void 0:r.stat();if(c&&c[0]){var l,M,p,h,g;const t=null===(l=c[0].message())||void 0===l||null===(M=l.messageBody())||void 0===M||null===(p=M.from())||void 0===p?void 0:p.getFormattedText(),e=null===(h=c[0].asyncMessage())||void 0===h||null===(g=h.from())||void 0===g?void 0:g.getFormattedText();s=t||e}else{var N;const t=null===(N=this.head())||void 0===N?void 0:N.children;if(t&&t[0]){const e=t[0];var D;if(e instanceof i.sequenceParser.ParticipantContext)a=null===(D=e.name())||void 0===D?void 0:D.getFormattedText();if(e instanceof i.sequenceParser.GroupContext){const t=e.participant();var I;if(t&&t[0])u=null===(I=t[0].name())||void 0===I?void 0:I.getFormattedText()}}}return o||s||a||u||"_STARTER_"}},2452:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.RetContext,s=r.ProgContext,a=r.MessageContext,u=r.CreationContext;o.prototype.ReturnTo=function(){const t=this.parentCtx,e=t.parentCtx,n=e.parentCtx;if(n instanceof s)return n.Starter();{let t=n;while(t&&!(t instanceof a)&&!(t instanceof u)){if(t instanceof s)return t.Starter();t=t.parentCtx}var i,r;return t instanceof a&&(null===(i=t.messageBody())||void 0===i||null===(r=i.from())||void 0===r?void 0:r.getFormattedText())||t.ClosestAncestorStat().Origin()}}},5283:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.StatContext,s=r.ProgContext,a=r.BraceBlockContext;o.prototype.Origin=function(){const t=this.parentCtx,e=t.parentCtx;if(e instanceof s)return e.Starter();if(e instanceof a){let t=e.parentCtx;while(t&&!(t instanceof o)){if(t instanceof r.MessageContext)return t.Owner();if(t instanceof r.CreationContext)return t.Owner();t=t.parentCtx}return t.Origin()}}},2148:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.TitleContext;o.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()}},479:(t,e,n)=>{"use strict";var i=n(5963);const r=n(7228),o=n(8614),s=n(9918),a=s.sequenceParser,u=a.ProgContext;let c,l,M=!1;const p=function(){return o.sequenceParserListener.call(this),this};p.prototype=Object.create(o.sequenceParserListener.prototype);let h=function(t){var e,n,i,r,o,s,a;if(M)return;const u=null===t||void 0===t||null===(e=t.participantType())||void 0===e?void 0:e.getFormattedText().replace("@",""),p=(null===t||void 0===t||null===(n=t.name())||void 0===n?void 0:n.getFormattedText())||"Missing `Participant`",h=null===(i=t.stereotype())||void 0===i||null===(r=i.name())||void 0===r?void 0:r.getFormattedText(),g=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,N=t.label&&(null===(o=t.label())||void 0===o||null===(s=o.name())||void 0===s?void 0:s.getFormattedText()),D=!0,I=null===(a=t.COLOR())||void 0===a?void 0:a.getText(),y=t.getComment();c.Add(p,!1,h,g,l,N,D,u,I,y)};p.prototype.enterParticipant=h;let g=function(t){if(M)return;let e=t.getFormattedText();c.Add(e)};p.prototype.enterFrom=g,p.prototype.enterTo=g,p.prototype.enterStarter=function(t){let e=t.getFormattedText();c.Add(e,!0)},p.prototype.enterCreation=function(t){if(M)return;const e=t.Owner();c.Add(e)},p.prototype.enterParameters=function(){M=!0},p.prototype.exitParameters=function(){M=!1},p.prototype.enterCondition=function(){M=!0},p.prototype.exitCondition=function(){M=!1},p.prototype.enterGroup=function(t){var e;l=null===(e=t.name())||void 0===e?void 0:e.getFormattedText()},p.prototype.exitGroup=function(){l=void 0},p.prototype.enterRet=function(t){t.asyncMessage()||(c.Add(t.From()),c.Add(t.ReturnTo()))};const N=r.tree.ParseTreeWalker.DEFAULT;p.prototype.getParticipants=function(t,e){return c=new i.Participants,e&&t instanceof u&&c.Add(t.Starter(),!0),N.walk(this,t),c},t.exports=p},7817:(t,e,n)=>{const i=n(7228),r=n(4282),o=n(9918),s=n(479),a=n(1350);n(2148),n(3725),n(9469),n(8732),n(2452),n(5283),n(4466),n(4020),n(6866),n(6353),n(9609);const u=n(7890).R,c=[];class l extends i.error.ErrorListener{syntaxError(t,e,n,i,r){c.push(`${e} line ${n}, col ${i}: ${r}`)}}function M(t){const e=new i.InputStream(t),n=new r.sequenceLexer(e),s=new i.CommonTokenStream(n),a=new o.sequenceParser(s);return a.addErrorListener(new l),a._syntaxErrors?null:a.prog()}i.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return u(t)},i.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=r.sequenceLexer.prototype.channelNames.indexOf("COMMENT_CHANNEL");"BraceBlockContext"===this.constructor.name&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map((t=>t.text.substring(2))).join("")},i.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()},t.exports={RootContext:M,ProgContext:o.sequenceParser.ProgContext,GroupContext:o.sequenceParser.GroupContext,ParticipantContext:o.sequenceParser.ParticipantContext,Participants:function(t,e){const n=new s;return n.getParticipants(t,e)},Errors:c,Depth:function(t){const e=new a;return e.depth(e)(t)}}},655:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__assign:()=>o,__asyncDelegator:()=>x,__asyncGenerator:()=>T,__asyncValues:()=>L,__await:()=>d,__awaiter:()=>l,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>S,__classPrivateFieldSet:()=>C,__createBinding:()=>p,__decorate:()=>a,__exportStar:()=>h,__extends:()=>r,__generator:()=>M,__importDefault:()=>E,__importStar:()=>w,__makeTemplateObject:()=>j,__metadata:()=>c,__param:()=>u,__read:()=>N,__rest:()=>s,__spread:()=>D,__spreadArray:()=>y,__spreadArrays:()=>I,__values:()=>g});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function s(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function a(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function u(t,e){return function(n,i){e(n,i,t)}}function c(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{u(i.next(t))}catch(e){o(e)}}function a(t){try{u(i["throw"](t))}catch(e){o(e)}}function u(t){t.done?n(t.value):r(t.value).then(s,a)}u((i=i.apply(t,e||[])).next())}))}function M(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var p=Object.create?function(t,e,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(e,n);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,r)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]};function h(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||p(e,t,n)}function g(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(i=o.next()).done)s.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s}function D(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(N(arguments[e]));return t}function I(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}function y(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function d(t){return this instanceof d?(this.v=t,this):new d(t)}function T(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||a(t,e)}))})}function a(t,e){try{u(r[t](e))}catch(n){M(o[0][3],n)}}function u(t){t.value instanceof d?Promise.resolve(t.value.v).then(c,l):M(o[0][2],t)}function c(t){a("next",t)}function l(t){a("throw",t)}function M(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function x(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:d(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function L(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"===typeof g?g(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,o){e=t[n](e),r(i,o,e.done,e.value)}))}}function r(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}}function j(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var f=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e};function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&p(e,t,n);return f(e,t),e}function E(t){return t&&t.__esModule?t:{default:t}}function A(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function C(t,e,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(t,n):r?r.value=n:e.set(t,n),n}function S(t,e){if(null===e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof t?e===t:t.has(e)}},144:(t,e,n)=>{"use strict";n.r(e);
|
|
5
|
+
String.fromCodePoint||function(){var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(i){}return n}(),e=String.fromCharCode,n=Math.floor,i=function(t){var i,r,o=16384,s=[],a=-1,u=arguments.length;if(!u)return"";var c="";while(++a<u){var l=Number(arguments[a]);if(!isFinite(l)||l<0||l>1114111||n(l)!=l)throw RangeError("Invalid code point: "+l);l<=65535?s.push(l):(l-=65536,i=55296+(l>>10),r=l%1024+56320,s.push(i,r)),(a+1==u||s.length>o)&&(c+=e.apply(null,s),s.length=0)}return c};t?t(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i}()},1065:(t,e,n)=>{var i=n(5319).Token,r=n(4088).Interval,o=new r(-1,-2);n(8561);function s(){return this}function a(){return s.call(this),this}function u(){return a.call(this),this}function c(){return u.call(this),this}function l(){return u.call(this),this}function M(){return l.call(this),this}function p(){return this}function h(){return this}function g(t){return l.call(this),this.parentCtx=null,this.symbol=t,this}function N(t){return g.call(this,t),this}function D(){return this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,u.prototype=Object.create(a.prototype),u.prototype.constructor=u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,l.prototype=Object.create(u.prototype),l.prototype.constructor=l,M.prototype=Object.create(l.prototype),M.prototype.constructor=M,p.prototype.visit=function(t){return Array.isArray(t)?t.map((function(t){return t.accept(this)}),this):t.accept(this)},p.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},p.prototype.visitTerminal=function(t){},p.prototype.visitErrorNode=function(t){},h.prototype.visitTerminal=function(t){},h.prototype.visitErrorNode=function(t){},h.prototype.enterEveryRule=function(t){},h.prototype.exitEveryRule=function(t){},g.prototype=Object.create(l.prototype),g.prototype.constructor=g,g.prototype.getChild=function(t){return null},g.prototype.getSymbol=function(){return this.symbol},g.prototype.getParent=function(){return this.parentCtx},g.prototype.getPayload=function(){return this.symbol},g.prototype.getSourceInterval=function(){if(null===this.symbol)return o;var t=this.symbol.tokenIndex;return new r(t,t)},g.prototype.getChildCount=function(){return 0},g.prototype.accept=function(t){return t.visitTerminal(this)},g.prototype.getText=function(){return this.symbol.text},g.prototype.toString=function(){return this.symbol.type===i.EOF?"<EOF>":this.symbol.text},N.prototype=Object.create(g.prototype),N.prototype.constructor=N,N.prototype.isErrorNode=function(){return!0},N.prototype.accept=function(t){return t.visitErrorNode(this)},D.prototype.walk=function(t,e){var n=e instanceof M||void 0!==e.isErrorNode&&e.isErrorNode();if(n)t.visitErrorNode(e);else if(e instanceof l)t.visitTerminal(e);else{this.enterRule(t,e);for(var i=0;i<e.getChildCount();i++){var r=e.getChild(i);this.walk(t,r)}this.exitRule(t,e)}},D.prototype.enterRule=function(t,e){var n=e.getRuleContext();t.enterEveryRule(n),n.enterRule(t)},D.prototype.exitRule=function(t,e){var n=e.getRuleContext();n.exitRule(t),t.exitEveryRule(n)},D.DEFAULT=new D,e.RuleNode=c,e.ErrorNode=M,e.TerminalNode=l,e.ErrorNodeImpl=N,e.TerminalNodeImpl=g,e.ParseTreeListener=h,e.ParseTreeVisitor=p,e.ParseTreeWalker=D,e.INVALID_INTERVAL=o},2181:(t,e,n)=>{var i=n(8561),r=n(5319).Token,o=(n(1065).RuleNode,n(1065).ErrorNode),s=n(1065).TerminalNode,a=n(5082).ParserRuleContext,u=n(8738).r,c=n(3600).INVALID_ALT_NUMBER;function l(){}l.toStringTree=function(t,e,n){e=e||null,n=n||null,null!==n&&(e=n.ruleNames);var r=l.getNodeText(t,e);r=i.escapeWhitespace(r,!1);var o=t.getChildCount();if(0===o)return r;var s="("+r+" ";o>0&&(r=l.toStringTree(t.getChild(0),e),s=s.concat(r));for(var a=1;a<o;a++)r=l.toStringTree(t.getChild(a),e),s=s.concat(" "+r);return s=s.concat(")"),s},l.getNodeText=function(t,e,n){if(e=e||null,n=n||null,null!==n&&(e=n.ruleNames),null!==e){if(t instanceof u){var i=t.getAltNumber();return i!=c?e[t.ruleIndex]+":"+i:e[t.ruleIndex]}if(t instanceof o)return t.toString();if(t instanceof s&&null!==t.symbol)return t.symbol.text}var a=t.getPayload();return a instanceof r?a.text:t.getPayload().toString()},l.getChildren=function(t){for(var e=[],n=0;n<t.getChildCount();n++)e.push(t.getChild(n));return e},l.getAncestors=function(t){var e=[];t=t.getParent();while(null!==t)e=[t].concat(e),t=t.getParent();return e},l.findAllTokenNodes=function(t,e){return l.findAllNodes(t,e,!0)},l.findAllRuleNodes=function(t,e){return l.findAllNodes(t,e,!1)},l.findAllNodes=function(t,e,n){var i=[];return l._findAllNodes(t,e,n,i),i},l._findAllNodes=function(t,e,n,i){n&&t instanceof s?t.symbol.type===e&&i.push(t):!n&&t instanceof a&&t.ruleIndex===e&&i.push(t);for(var r=0;r<t.getChildCount();r++)l._findAllNodes(t.getChild(r),e,n,i)},l.descendants=function(t){for(var e=[t],n=0;n<t.getChildCount();n++)e=e.concat(l.descendants(t.getChild(n)));return e},e.Trees=l},1183:(t,e,n)=>{var i=n(1065);e.Trees=n(2181).Trees,e.RuleNode=i.RuleNode,e.ParseTreeListener=i.ParseTreeListener,e.ParseTreeVisitor=i.ParseTreeVisitor,e.ParseTreeWalker=i.ParseTreeWalker},8874:t=>{"use strict";t.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]}},9818:(t,e,n)=>{var i=n(8874),r=n(6851),o={};for(var s in i)i.hasOwnProperty(s)&&(o[i[s]]=s);var a=t.exports={to:{}};function u(t,e,n){return Math.min(Math.max(e,t),n)}function c(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}a.get=function(t){var e,n,i=t.substring(0,3).toLowerCase();switch(i){case"hsl":e=a.get.hsl(t),n="hsl";break;case"hwb":e=a.get.hwb(t),n="hwb";break;default:e=a.get.rgb(t),n="rgb";break}return e?{model:n,value:e}:null},a.get.rgb=function(t){if(!t)return null;var e,n,r,o=/^#([a-f0-9]{3,4})$/i,s=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,a=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,c=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,l=/(\D+)/,M=[0,0,0,1];if(e=t.match(s)){for(r=e[2],e=e[1],n=0;n<3;n++){var p=2*n;M[n]=parseInt(e.slice(p,p+2),16)}r&&(M[3]=Math.round(parseInt(r,16)/255*100)/100)}else if(e=t.match(o)){for(e=e[1],r=e[3],n=0;n<3;n++)M[n]=parseInt(e[n]+e[n],16);r&&(M[3]=Math.round(parseInt(r+r,16)/255*100)/100)}else if(e=t.match(a)){for(n=0;n<3;n++)M[n]=parseInt(e[n+1],0);e[4]&&(M[3]=parseFloat(e[4]))}else{if(!(e=t.match(c)))return(e=t.match(l))?"transparent"===e[1]?[0,0,0,0]:(M=i[e[1]],M?(M[3]=1,M):null):null;for(n=0;n<3;n++)M[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(M[3]=parseFloat(e[4]))}for(n=0;n<3;n++)M[n]=u(M[n],0,255);return M[3]=u(M[3],0,1),M},a.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,o=u(parseFloat(n[2]),0,100),s=u(parseFloat(n[3]),0,100),a=u(isNaN(i)?1:i,0,1);return[r,o,s,a]}return null},a.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,o=u(parseFloat(n[2]),0,100),s=u(parseFloat(n[3]),0,100),a=u(isNaN(i)?1:i,0,1);return[r,o,s,a]}return null},a.to.hex=function(){var t=r(arguments);return"#"+c(t[0])+c(t[1])+c(t[2])+(t[3]<1?c(Math.round(255*t[3])):"")},a.to.rgb=function(){var t=r(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},a.to.rgb.percent=function(){var t=r(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),i=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+i+"%)":"rgba("+e+"%, "+n+"%, "+i+"%, "+t[3]+")"},a.to.hsl=function(){var t=r(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},a.to.hwb=function(){var t=r(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},a.to.keyword=function(t){return o[t.slice(0,3)]}},7802:t=>{function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){var i=t[n];"object"!=typeof i||Object.isFrozen(i)||e(i)})),t}var n=e,i=e;n.default=i;class r{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function o(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(t,...e){const n=Object.create(null);for(const i in t)n[i]=t[i];return e.forEach((function(t){for(const e in t)n[e]=t[e]})),n}const a="</span>",u=t=>!!t.kind;class c{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=o(t)}openNode(t){if(!u(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){u(t)&&(this.buffer+=a)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class l{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(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return"string"===typeof e?t.addText(e):e.children&&(t.openNode(e),e.children.forEach((e=>this._walk(t,e))),t.closeNode(e)),t}static _collapse(t){"string"!==typeof t&&t.children&&(t.children.every((t=>"string"===typeof t))?t.children=[t.children.join("")]:t.children.forEach((t=>{l._collapse(t)})))}}class M extends l{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 n=t.root;n.kind=e,n.sublanguage=!0,this.add(n)}toHTML(){const t=new c(this,this.options);return t.value()}finalize(){return!0}}function p(t){return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function h(t){return t?"string"===typeof t?t:t.source:null}function g(...t){const e=t.map((t=>h(t))).join("");return e}function N(...t){const e="("+t.map((t=>h(t))).join("|")+")";return e}function D(t){return new RegExp(t.toString()+"|").exec("").length-1}function I(t,e){const n=t&&t.exec(e);return n&&0===n.index}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function d(t,e="|"){let n=0;return t.map((t=>{n+=1;const e=n;let i=h(t),r="";while(i.length>0){const t=y.exec(i);if(!t){r+=i;break}r+=i.substring(0,t.index),i=i.substring(t.index+t[0].length),"\\"===t[0][0]&&t[1]?r+="\\"+String(Number(t[1])+e):(r+=t[0],"("===t[0]&&n++)}return r})).map((t=>`(${t})`)).join(e)}const T=/\b\B/,x="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",f="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",E="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",A=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=g(e,/.*\b/,t.binary,/\b.*/)),s({className:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,e)=>{0!==t.index&&e.ignoreMatch()}},t)},C={begin:"\\\\[\\s\\S]",relevance:0},S={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[C]},z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[C]},v={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/},m=function(t,e,n={}){const i=s({className:"comment",begin:t,end:e,contains:[]},n);return i.contains.push(v),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),i},O=m("//","$"),b=m("/\\*","\\*/"),k=m("#","$"),_={className:"number",begin:j,relevance:0},R={className:"number",begin:f,relevance:0},U={className:"number",begin:w,relevance:0},Y={className:"number",begin:j+"(%|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},P={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[C,{begin:/\[/,end:/\]/,relevance:0,contains:[C]}]}]},Q={className:"title",begin:x,relevance:0},B={className:"title",begin:L,relevance:0},Z={begin:"\\.\\s*"+L,relevance:0},G=function(t){return Object.assign(t,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})};var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:T,IDENT_RE:x,UNDERSCORE_IDENT_RE:L,NUMBER_RE:j,C_NUMBER_RE:f,BINARY_NUMBER_RE:w,RE_STARTERS_RE:E,SHEBANG:A,BACKSLASH_ESCAPE:C,APOS_STRING_MODE:S,QUOTE_STRING_MODE:z,PHRASAL_WORDS_MODE:v,COMMENT:m,C_LINE_COMMENT_MODE:O,C_BLOCK_COMMENT_MODE:b,HASH_COMMENT_MODE:k,NUMBER_MODE:_,C_NUMBER_MODE:R,BINARY_NUMBER_MODE:U,CSS_NUMBER_MODE:Y,REGEXP_MODE:P,TITLE_MODE:Q,UNDERSCORE_TITLE_MODE:B,METHOD_GUARD:Z,END_SAME_AS_BEGIN:G});function H(t,e){const n=t.input[t.index-1];"."===n&&e.ignoreMatch()}function W(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=H,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,void 0===t.relevance&&(t.relevance=0))}function V(t,e){Array.isArray(t.illegal)&&(t.illegal=N(...t.illegal))}function X(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function J(t,e){void 0===t.relevance&&(t.relevance=1)}const $=["of","and","for","in","not","or","if","then","parent","list","value"],K="keyword";function q(t,e,n=K){const i={};return"string"===typeof t?r(n,t.split(" ")):Array.isArray(t)?r(n,t):Object.keys(t).forEach((function(n){Object.assign(i,q(t[n],e,n))})),i;function r(t,n){e&&(n=n.map((t=>t.toLowerCase()))),n.forEach((function(e){const n=e.split("|");i[n[0]]=[t,tt(n[0],n[1])]}))}}function tt(t,e){return e?Number(e):et(t)?0:1}function et(t){return $.includes(t.toLowerCase())}function nt(t,{plugins:e}){function n(e,n){return new RegExp(h(e),"m"+(t.case_insensitive?"i":"")+(n?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(t,e){e.position=this.position++,this.matchIndexes[this.matchAt]=e,this.regexes.push([e,t]),this.matchAt+=D(t)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const t=this.regexes.map((t=>t[1]));this.matcherRe=n(d(t),!0),this.lastIndex=0}exec(t){this.matcherRe.lastIndex=this.lastIndex;const e=this.matcherRe.exec(t);if(!e)return null;const n=e.findIndex(((t,e)=>e>0&&void 0!==t)),i=this.matchIndexes[n];return e.splice(0,n),Object.assign(e,i)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(t){if(this.multiRegexes[t])return this.multiRegexes[t];const e=new i;return this.rules.slice(t).forEach((([t,n])=>e.addRule(t,n))),e.compile(),this.multiRegexes[t]=e,e}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(t,e){this.rules.push([t,e]),"begin"===e.type&&this.count++}exec(t){const e=this.getMatcher(this.regexIndex);e.lastIndex=this.lastIndex;let n=e.exec(t);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const e=this.getMatcher(0);e.lastIndex=this.lastIndex+1,n=e.exec(t)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function o(t){const e=new r;return t.contains.forEach((t=>e.addRule(t.begin,{rule:t,type:"begin"}))),t.terminatorEnd&&e.addRule(t.terminatorEnd,{type:"end"}),t.illegal&&e.addRule(t.illegal,{type:"illegal"}),e}function a(e,i){const r=e;if(e.isCompiled)return r;[X].forEach((t=>t(e,i))),t.compilerExtensions.forEach((t=>t(e,i))),e.__beforeBegin=null,[W,V,J].forEach((t=>t(e,i))),e.isCompiled=!0;let s=null;if("object"===typeof e.keywords&&(s=e.keywords.$pattern,delete e.keywords.$pattern),e.keywords&&(e.keywords=q(e.keywords,t.case_insensitive)),e.lexemes&&s)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||e.lexemes||/\w+/,r.keywordPatternRe=n(s,!0),i&&(e.begin||(e.begin=/\B|\b/),r.beginRe=n(e.begin),e.endSameAsBegin&&(e.end=e.begin),e.end||e.endsWithParent||(e.end=/\B|\b/),e.end&&(r.endRe=n(e.end)),r.terminatorEnd=h(e.end)||"",e.endsWithParent&&i.terminatorEnd&&(r.terminatorEnd+=(e.end?"|":"")+i.terminatorEnd)),e.illegal&&(r.illegalRe=n(e.illegal)),e.contains||(e.contains=[]),e.contains=[].concat(...e.contains.map((function(t){return rt("self"===t?e:t)}))),e.contains.forEach((function(t){a(t,r)})),e.starts&&a(e.starts,i),r.matcher=o(r),r}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=s(t.classNameAliases||{}),a(t)}function it(t){return!!t&&(t.endsWithParent||it(t.starts))}function rt(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map((function(e){return s(t,{variants:null},e)}))),t.cachedVariants?t.cachedVariants:it(t)?s(t,{starts:t.starts?s(t.starts):null}):Object.isFrozen(t)?s(t):t}var ot="10.7.3";function st(t){return Boolean(t||""===t)}function at(t){const e={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!t.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,o(this.code);let e={};return this.autoDetect?(e=t.highlightAuto(this.code),this.detectedLanguage=e.language):(e=t.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),e.value},autoDetect(){return!this.language||st(this.autodetect)},ignoreIllegals(){return!0}},render(t){return t("pre",{},[t("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}},n={install(t){t.component("highlightjs",e)}};return{Component:e,VuePlugin:n}}const ut={"after:highlightElement":({el:t,result:e,text:n})=>{const i=lt(t);if(!i.length)return;const r=document.createElement("div");r.innerHTML=e.value,e.value=Mt(i,lt(r),n)}};function ct(t){return t.nodeName.toLowerCase()}function lt(t){const e=[];return function t(n,i){for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?i+=r.nodeValue.length:1===r.nodeType&&(e.push({event:"start",offset:i,node:r}),i=t(r,i),ct(r).match(/br|hr|img|input/)||e.push({event:"stop",offset:i,node:r}));return i}(t,0),e}function Mt(t,e,n){let i=0,r="";const s=[];function a(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset<e[0].offset?t:e:"start"===e[0].event?t:e:t.length?t:e}function u(t){function e(t){return" "+t.nodeName+'="'+o(t.value)+'"'}r+="<"+ct(t)+[].map.call(t.attributes,e).join("")+">"}function c(t){r+="</"+ct(t)+">"}function l(t){("start"===t.event?u:c)(t.node)}while(t.length||e.length){let e=a();if(r+=o(n.substring(i,e[0].offset)),i=e[0].offset,e===t){s.reverse().forEach(c);do{l(e.splice(0,1)[0]),e=a()}while(e===t&&e.length&&e[0].offset===i);s.reverse().forEach(u)}else"start"===e[0].event?s.push(e[0].node):s.pop(),l(e.splice(0,1)[0])}return r+o(n.substr(i))}const pt={},ht=t=>{console.error(t)},gt=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Nt=(t,e)=>{pt[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),pt[`${t}/${e}`]=!0)},Dt=o,It=s,yt=Symbol("nomatch"),dt=function(t){const e=Object.create(null),i=Object.create(null),o=[];let s=!0;const a=/(^(<[^>]+>|\t|)+|\n)/gm,u="Could not find the language '{}', did you forget to load/include a language module?",c={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:M};function h(t){return l.noHighlightRe.test(t)}function g(t){let e=t.className+" ";e+=t.parentNode?t.parentNode.className:"";const n=l.languageDetectRe.exec(e);if(n){const e=_(n[1]);return e||(gt(u.replace("{}",n[1])),gt("Falling back to no-highlight mode for this block.",t)),e?n[1]:"no-highlight"}return e.split(/\s+/).find((t=>h(t)||_(t)))}function N(t,e,n,i){let r="",o="";"object"===typeof e?(r=t,n=e.ignoreIllegals,o=e.language,i=void 0):(Nt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Nt("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=t,r=e);const s={code:r,language:o};Q("before:highlight",s);const a=s.result?s.result:D(s.language,s.code,n,i);return a.code=s.code,Q("after:highlight",a),a}function D(t,n,i,a){function c(t,e){const n=E.case_insensitive?e[0].toLowerCase():e[0];return Object.prototype.hasOwnProperty.call(t.keywords,n)&&t.keywords[n]}function M(){if(!S.keywords)return void v.addText(m);let t=0;S.keywordPatternRe.lastIndex=0;let e=S.keywordPatternRe.exec(m),n="";while(e){n+=m.substring(t,e.index);const i=c(S,e);if(i){const[t,r]=i;if(v.addText(n),n="",O+=r,t.startsWith("_"))n+=e[0];else{const n=E.classNameAliases[t]||t;v.addKeyword(e[0],n)}}else n+=e[0];t=S.keywordPatternRe.lastIndex,e=S.keywordPatternRe.exec(m)}n+=m.substr(t),v.addText(n)}function h(){if(""===m)return;let t=null;if("string"===typeof S.subLanguage){if(!e[S.subLanguage])return void v.addText(m);t=D(S.subLanguage,m,!0,z[S.subLanguage]),z[S.subLanguage]=t.top}else t=d(m,S.subLanguage.length?S.subLanguage:null);S.relevance>0&&(O+=t.relevance),v.addSublanguage(t.emitter,t.language)}function g(){null!=S.subLanguage?h():M(),m=""}function N(t){return t.className&&v.openNode(E.classNameAliases[t.className]||t.className),S=Object.create(t,{parent:{value:S}}),S}function y(t,e,n){let i=I(t.endRe,n);if(i){if(t["on:end"]){const n=new r(t);t["on:end"](e,n),n.isMatchIgnored&&(i=!1)}if(i){while(t.endsParent&&t.parent)t=t.parent;return t}}if(t.endsWithParent)return y(t.parent,e,n)}function T(t){return 0===S.matcher.regexIndex?(m+=t[0],1):(R=!0,0)}function x(t){const e=t[0],n=t.rule,i=new r(n),o=[n.__beforeBegin,n["on:begin"]];for(const r of o)if(r&&(r(t,i),i.isMatchIgnored))return T(e);return n&&n.endSameAsBegin&&(n.endRe=p(e)),n.skip?m+=e:(n.excludeBegin&&(m+=e),g(),n.returnBegin||n.excludeBegin||(m=e)),N(n),n.returnBegin?0:e.length}function L(t){const e=t[0],i=n.substr(t.index),r=y(S,t,i);if(!r)return yt;const o=S;o.skip?m+=e:(o.returnEnd||o.excludeEnd||(m+=e),g(),o.excludeEnd&&(m=e));do{S.className&&v.closeNode(),S.skip||S.subLanguage||(O+=S.relevance),S=S.parent}while(S!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),N(r.starts)),o.returnEnd?0:e.length}function j(){const t=[];for(let e=S;e!==E;e=e.parent)e.className&&t.unshift(e.className);t.forEach((t=>v.openNode(t)))}let f={};function w(e,r){const o=r&&r[0];if(m+=e,null==o)return g(),0;if("begin"===f.type&&"end"===r.type&&f.index===r.index&&""===o){if(m+=n.slice(r.index,r.index+1),!s){const e=new Error("0 width match regex");throw e.languageName=t,e.badRule=f.rule,e}return 1}if(f=r,"begin"===r.type)return x(r);if("illegal"===r.type&&!i){const t=new Error('Illegal lexeme "'+o+'" for mode "'+(S.className||"<unnamed>")+'"');throw t.mode=S,t}if("end"===r.type){const t=L(r);if(t!==yt)return t}if("illegal"===r.type&&""===o)return 1;if(k>1e5&&k>3*r.index){const t=new Error("potential infinite loop, way more iterations than matches");throw t}return m+=o,o.length}const E=_(t);if(!E)throw ht(u.replace("{}",t)),new Error('Unknown language: "'+t+'"');const A=nt(E,{plugins:o});let C="",S=a||A;const z={},v=new l.__emitter(l);j();let m="",O=0,b=0,k=0,R=!1;try{for(S.matcher.considerAll();;){k++,R?R=!1:S.matcher.considerAll(),S.matcher.lastIndex=b;const t=S.matcher.exec(n);if(!t)break;const e=n.substring(b,t.index),i=w(e,t);b=t.index+i}return w(n.substr(b)),v.closeAllNodes(),v.finalize(),C=v.toHTML(),{relevance:Math.floor(O),value:C,language:t,illegal:!1,emitter:v,top:S}}catch(U){if(U.message&&U.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:U.message,context:n.slice(b-100,b+100),mode:U.mode},sofar:C,relevance:0,value:Dt(n),emitter:v};if(s)return{illegal:!1,relevance:0,value:Dt(n),emitter:v,language:t,top:S,errorRaised:U};throw U}}function y(t){const e={relevance:0,emitter:new l.__emitter(l),value:Dt(t),illegal:!1,top:c};return e.emitter.addText(t),e}function d(t,n){n=n||l.languages||Object.keys(e);const i=y(t),r=n.filter(_).filter(U).map((e=>D(e,t,!1)));r.unshift(i);const o=r.sort(((t,e)=>{if(t.relevance!==e.relevance)return e.relevance-t.relevance;if(t.language&&e.language){if(_(t.language).supersetOf===e.language)return 1;if(_(e.language).supersetOf===t.language)return-1}return 0})),[s,a]=o,u=s;return u.second_best=a,u}function T(t){return l.tabReplace||l.useBR?t.replace(a,(t=>"\n"===t?l.useBR?"<br>":t:l.tabReplace?t.replace(/\t/g,l.tabReplace):t)):t}function x(t,e,n){const r=e?i[e]:n;t.classList.add("hljs"),r&&t.classList.add(r)}const L={"before:highlightElement":({el:t})=>{l.useBR&&(t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:t})=>{l.useBR&&(t.value=t.value.replace(/\n/g,"<br>"))}},j=/^(<[^>]+>|\t)+/gm,f={"after:highlightElement":({result:t})=>{l.tabReplace&&(t.value=t.value.replace(j,(t=>t.replace(/\t/g,l.tabReplace))))}};function w(t){let e=null;const n=g(t);if(h(n))return;Q("before:highlightElement",{el:t,language:n}),e=t;const i=e.textContent,r=n?N(i,{language:n,ignoreIllegals:!0}):d(i);Q("after:highlightElement",{el:t,result:r,text:i}),t.innerHTML=r.value,x(t,n,r.language),t.result={language:r.language,re:r.relevance,relavance:r.relevance},r.second_best&&(t.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance})}function E(t){t.useBR&&(Nt("10.3.0","'useBR' will be removed entirely in v11.0"),Nt("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=It(l,t)}const A=()=>{if(A.called)return;A.called=!0,Nt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");const t=document.querySelectorAll("pre code");t.forEach(w)};function C(){Nt("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),S=!0}let S=!1;function z(){if("loading"===document.readyState)return void(S=!0);const t=document.querySelectorAll("pre code");t.forEach(w)}function v(){S&&z()}function m(n,i){let r=null;try{r=i(t)}catch(o){if(ht("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw o;ht(o),r=c}r.name||(r.name=n),e[n]=r,r.rawDefinition=i.bind(null,t),r.aliases&&R(r.aliases,{languageName:n})}function O(t){delete e[t];for(const e of Object.keys(i))i[e]===t&&delete i[e]}function b(){return Object.keys(e)}function k(t){Nt("10.4.0","requireLanguage will be removed entirely in v11."),Nt("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const e=_(t);if(e)return e;const n=new Error("The '{}' language is required, but not loaded.".replace("{}",t));throw n}function _(t){return t=(t||"").toLowerCase(),e[t]||e[i[t]]}function R(t,{languageName:e}){"string"===typeof t&&(t=[t]),t.forEach((t=>{i[t.toLowerCase()]=e}))}function U(t){const e=_(t);return e&&!e.disableAutodetect}function Y(t){t["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))})}function P(t){Y(t),o.push(t)}function Q(t,e){const n=t;o.forEach((function(t){t[n]&&t[n](e)}))}function B(t){return Nt("10.2.0","fixMarkup will be removed entirely in v11.0"),Nt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),T(t)}function Z(t){return Nt("10.7.0","highlightBlock will be removed entirely in v12.0"),Nt("10.7.0","Please use highlightElement now."),w(t)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",v,!1),Object.assign(t,{highlight:N,highlightAuto:d,highlightAll:z,fixMarkup:B,highlightElement:w,highlightBlock:Z,configure:E,initHighlighting:A,initHighlightingOnLoad:C,registerLanguage:m,unregisterLanguage:O,listLanguages:b,getLanguage:_,registerAliases:R,requireLanguage:k,autoDetection:U,inherit:It,addPlugin:P,vuePlugin:at(t).VuePlugin}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=ot;for(const r in F)"object"===typeof F[r]&&n(F[r]);return Object.assign(t,F),t.addPlugin(L),t.addPlugin(ut),t.addPlugin(f),t};var Tt=dt({});t.exports=Tt},1519:t=>{function e(t){return t?"string"===typeof t?t:t.source:null}function n(...t){const n=t.map((t=>e(t))).join("");return n}function i(t){const e={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[e]}]};Object.assign(e,{className:"variable",variants:[{begin:n(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e,r]};r.contains.push(s);const a={className:"",begin:/\\"/},u={className:"string",begin:/'/,end:/'/},c={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,e]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],M=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.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:[M,t.SHEBANG(),p,c,t.HASH_COMMENT_MODE,o,s,a,u,e]}}t.exports=i},6344:t=>{const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["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"],i=["true","false","null","undefined","NaN","Infinity"],r=["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"],o=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","module","global"],u=[].concat(s,a,r,o);function c(t){return t?"string"===typeof t?t:t.source:null}function l(t){return M("(?=",t,")")}function M(...t){const e=t.map((t=>c(t))).join("");return e}function p(t){const r=(t,{after:e})=>{const n="</"+t[0].slice(1),i=t.input.indexOf(n,e);return-1!==i},o=e,s={begin:"<>",end:"</>"},a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,e)=>{const n=t[0].length+t.index,i=t.input[n];"<"!==i?">"===i&&(r(t,{after:n})||e.ignoreMatch()):e.ignoreMatch()}},c={$pattern:e,keyword:n,literal:i,built_in:u},p="[0-9](_?[0-9])*",h=`\\.(${p})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${g})((${h})|\\.)?|(${h}))[eE][+-]?(${p})\\b`},{begin:`\\b(${g})\\b((${h})\\b|\\.)?|(${h})\\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},D={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},I={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,D],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,D],subLanguage:"css"}},d={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,D]},T=t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),x={className:"comment",variants:[T,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},L=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,I,y,d,N,t.REGEXP_MODE];D.contains=L.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(L)});const j=[].concat(x,D.contains),f=j.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(j)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:f};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:f},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,I,y,d,x,N,{begin:M(/[{,\n]\s*/,l(M(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,o+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:o+l("\\s*:"),relevance:0}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[x,t.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:f}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:c,contains:["self",t.inherit(t.TITLE_MODE,{begin:o}),w],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[w,t.inherit(t.TITLE_MODE,{begin:o})]},{variants:[{begin:"\\."+o},{begin:"\\$"+o}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:o}),"self",w]},{begin:"(get|set)\\s+(?="+o+"\\()",end:/\{/,keywords:"get set",contains:[t.inherit(t.TITLE_MODE,{begin:o}),{begin:/\(\)/},w]},{begin:/\$[(.]/}]}}t.exports=p},6572:t=>{function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}t.exports=e},4587:t=>{function e(t){var e="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,r]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",l="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",M={className:"number",begin:"\\b"+a+u+c+l+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},h={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},N=[i,{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+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},M,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},h,g,o],D=[...N];return D.pop(),D.push(s),p.contains=D,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:N}}t.exports=e},6459:(t,e,n)=>{"use strict";n.r(e),n.d(e,{getFontEmbedCSS:()=>dt,toBlob:()=>yt,toCanvas:()=>gt,toJpeg:()=>It,toPixelData:()=>Nt,toPng:()=>Dt,toSvg:()=>ht});const i="application/font-woff",r="image/jpeg",o={woff:i,woff2:i,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:r,jpeg:r,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function s(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function a(t){const e=s(t).toLowerCase();return o[e]||""}function u(t){return t.split(/,/)[1]}function c(t){return-1!==t.search(/^(data:)/)}function l(t,e){return`data:${e};base64,${t}`}async function M(t,e,n){const i=await fetch(t,e);if(404===i.status)throw new Error(`Resource "${i.url}" not found`);const r=await i.blob();return new Promise(((t,e)=>{const o=new FileReader;o.onerror=e,o.onloadend=()=>{try{t(n({res:i,result:o.result}))}catch(r){e(r)}},o.readAsDataURL(r)}))}const p={};function h(t,e,n){let i=t.replace(/\?.*/,"");return n&&(i=t),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),e?`[${e}]${i}`:i}async function g(t,e,n){const i=h(t,e,n.includeQueryParams);if(null!=p[i])return p[i];let r;n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const i=await M(t,n.fetchRequestInit,(({res:t,result:n})=>(e||(e=t.headers.get("Content-Type")||""),u(n))));r=l(i,e)}catch(o){r=n.imagePlaceholder||"";let e=`Failed to fetch resource: ${t}`;o&&(e="string"===typeof o?o:o.message),e&&console.warn(e)}return p[i]=r,r}function N(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),e&&(i.href=e),r.href=t,r.href}const D=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function I(t){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(t[n]);return e}function y(t,e){const n=t.ownerDocument.defaultView||window,i=n.getComputedStyle(t).getPropertyValue(e);return i?parseFloat(i.replace("px","")):0}function d(t){const e=y(t,"border-left-width"),n=y(t,"border-right-width");return t.clientWidth+e+n}function T(t){const e=y(t,"border-top-width"),n=y(t,"border-bottom-width");return t.clientHeight+e+n}function x(t,e={}){const n=e.width||d(t),i=e.height||T(t);return{width:n,height:i}}function L(){let t,e;try{e=process}catch(i){}const n=e&&e.env?e.env.devicePixelRatio:null;return n&&(t=parseInt(n,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const j=16384;function f(t){(t.width>j||t.height>j)&&(t.width>j&&t.height>j?t.width>t.height?(t.height*=j/t.width,t.width=j):(t.width*=j/t.height,t.height=j):t.width>j?(t.height*=j/t.width,t.width=j):(t.width*=j/t.height,t.height=j))}function w(t,e={}){return t.toBlob?new Promise((n=>{t.toBlob(n,e.type?e.type:"image/png",e.quality?e.quality:1)})):new Promise((n=>{const i=window.atob(t.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),r=i.length,o=new Uint8Array(r);for(let t=0;t<r;t+=1)o[t]=i.charCodeAt(t);n(new Blob([o],{type:e.type?e.type:"image/png"}))}))}function E(t){return new Promise(((e,n)=>{const i=new Image;i.onload=()=>e(i),i.onerror=n,i.crossOrigin="anonymous",i.decoding="sync",i.src=t}))}async function A(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}async function C(t,e,n){const i="http://www.w3.org/2000/svg",r=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return r.setAttribute("width",`${e}`),r.setAttribute("height",`${n}`),r.setAttribute("viewBox",`0 0 ${e} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),r.appendChild(o),o.appendChild(t),A(r)}function S(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function z(t){return I(t).map((e=>{const n=t.getPropertyValue(e),i=t.getPropertyPriority(e);return`${e}: ${n}${i?" !important":""};`})).join(" ")}function v(t,e,n){const i=`.${t}:${e}`,r=n.cssText?S(n):z(n);return document.createTextNode(`${i}{${r}}`)}function m(t,e,n){const i=window.getComputedStyle(t,n),r=i.getPropertyValue("content");if(""===r||"none"===r)return;const o=D();try{e.className=`${e.className} ${o}`}catch(a){return}const s=document.createElement("style");s.appendChild(v(o,n,i)),e.appendChild(s)}function O(t,e){m(t,e,":before"),m(t,e,":after")}async function b(t){const e=t.toDataURL();return"data:,"===e?t.cloneNode(!1):E(e)}async function k(t,e){const n=t.poster,i=a(n),r=await g(n,i,e);return E(r)}async function _(t,e){return t instanceof HTMLCanvasElement?b(t):t instanceof HTMLVideoElement&&t.poster?k(t,e):t.cloneNode(!1)}const R=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();async function U(t,e,n){var i;const r=R(t)&&t.assignedNodes?I(t.assignedNodes()):I((null!==(i=t.shadowRoot)&&void 0!==i?i:t).childNodes);return 0===r.length||t instanceof HTMLVideoElement||await r.reduce(((t,i)=>t.then((()=>Z(i,n))).then((t=>{t&&e.appendChild(t)}))),Promise.resolve()),e}function Y(t,e){const n=e.style;if(!n)return;const i=window.getComputedStyle(t);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):I(i).forEach((t=>{let e=i.getPropertyValue(t);if("font-size"===t&&e.endsWith("px")){const t=Math.floor(parseFloat(e.substring(0,e.length-2)))-.1;e=`${t}px`}n.setProperty(t,e,i.getPropertyPriority(t))}))}function P(t,e){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function Q(t,e){if(t instanceof HTMLSelectElement){const n=e,i=Array.from(n.children).find((e=>t.value===e.getAttribute("value")));i&&i.setAttribute("selected","")}}function B(t,e){return e instanceof Element&&(Y(t,e),O(t,e),P(t,e),Q(t,e)),e}async function Z(t,e,n){return n||!e.filter||e.filter(t)?Promise.resolve(t).then((t=>_(t,e))).then((n=>U(t,n,e))).then((e=>B(t,e))):null}const G=/url\((['"]?)([^'"]+?)\1\)/g,F=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,H=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function W(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function V(t){const e=[];return t.replace(G,((t,n,i)=>(e.push(i),t))),e.filter((t=>!c(t)))}async function X(t,e,n,i,r){try{const o=n?N(e,n):e,s=a(e);let u;if(r){const t=await r(o);u=l(t,s)}else u=await g(o,s,i);return t.replace(W(e),`$1${u}$3`)}catch(o){}return t}function J(t,{preferredFontFormat:e}){return e?t.replace(H,(t=>{while(1){const[n,,i]=F.exec(t)||[];if(!i)return"";if(i===e)return`src: ${n};`}})):t}function $(t){return-1!==t.search(G)}async function K(t,e,n){if(!$(t))return t;const i=J(t,n),r=V(i);return r.reduce(((t,i)=>t.then((t=>X(t,i,e,n)))),Promise.resolve(i))}async function q(t,e){var n;const i=null===(n=t.style)||void 0===n?void 0:n.getPropertyValue("background");if(i){const n=await K(i,null,e);t.style.setProperty("background",n,t.style.getPropertyPriority("background"))}}async function tt(t,e){if((!(t instanceof HTMLImageElement)||c(t.src))&&(!(t instanceof SVGImageElement)||c(t.href.baseVal)))return;const n=t instanceof HTMLImageElement?t.src:t.href.baseVal,i=await g(n,a(n),e);await new Promise(((e,n)=>{t.onload=e,t.onerror=n,t instanceof HTMLImageElement?(t.srcset="",t.src=i):t.href.baseVal=i}))}async function et(t,e){const n=I(t.childNodes),i=n.map((t=>nt(t,e)));await Promise.all(i).then((()=>t))}async function nt(t,e){t instanceof Element&&(await q(t,e),await tt(t,e),await et(t,e))}function it(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const i=e.style;return null!=i&&Object.keys(i).forEach((t=>{n[t]=i[t]})),t}const rt={};async function ot(t){let e=rt[t];if(null!=e)return e;const n=await fetch(t),i=await n.text();return e={url:t,cssText:i},rt[t]=e,e}async function st(t,e){let n=t.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,r=n.match(/url\([^)]+\)/g)||[],o=r.map((async r=>{let o=r.replace(i,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),M(o,e.fetchRequestInit,(({result:t})=>(n=n.replace(r,`url(${t})`),[r,t])))}));return Promise.all(o).then((()=>n))}function at(t){if(null==t)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let i=t.replace(n,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");while(1){const t=r.exec(i);if(null===t)break;e.push(t[0])}i=i.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,s="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(s,"gi");while(1){let t=o.exec(i);if(null===t){if(t=a.exec(i),null===t)break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;e.push(t[0])}return e}async function ut(t,e){const n=[],i=[];return t.forEach((n=>{if("cssRules"in n)try{I(n.cssRules||[]).forEach(((t,r)=>{if(t.type===CSSRule.IMPORT_RULE){let o=r+1;const s=t.href,a=ot(s).then((t=>st(t,e))).then((t=>at(t).forEach((t=>{try{n.insertRule(t,t.startsWith("@import")?o+=1:n.cssRules.length)}catch(e){console.error("Error inserting rule from remote css",{rule:t,error:e})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));i.push(a)}}))}catch(r){const o=t.find((t=>null==t.href))||document.styleSheets[0];null!=n.href&&i.push(ot(n.href).then((t=>st(t,e))).then((t=>at(t).forEach((t=>{o.insertRule(t,n.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t.toString())}))),console.error("Error inlining remote css file",r.toString())}})),Promise.all(i).then((()=>(t.forEach((t=>{if("cssRules"in t)try{I(t.cssRules||[]).forEach((t=>{n.push(t)}))}catch(e){console.error(`Error while reading CSS rules from ${t.href}`,e.toString())}})),n)))}function ct(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>$(t.style.getPropertyValue("src"))))}async function lt(t,e){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const n=I(t.ownerDocument.styleSheets),i=await ut(n,e);return ct(i)}async function Mt(t,e){const n=await lt(t,e),i=await Promise.all(n.map((t=>{const n=t.parentStyleSheet?t.parentStyleSheet.href:null;return K(t.cssText,n,e)})));return i.join("\n")}async function pt(t,e){const n=null!=e.fontEmbedCSS?e.fontEmbedCSS:e.skipFonts?null:await Mt(t,e);if(n){const e=document.createElement("style"),i=document.createTextNode(n);e.appendChild(i),t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}}async function ht(t,e={}){const{width:n,height:i}=x(t,e),r=await Z(t,e,!0);await pt(r,e),await nt(r,e),it(r,e);const o=await C(r,n,i);return o}async function gt(t,e={}){const{width:n,height:i}=x(t,e),r=await ht(t,e),o=await E(r),s=document.createElement("canvas"),a=s.getContext("2d"),u=e.pixelRatio||L(),c=e.canvasWidth||n,l=e.canvasHeight||i;return s.width=c*u,s.height=l*u,e.skipAutoScale||f(s),s.style.width=`${c}`,s.style.height=`${l}`,e.backgroundColor&&(a.fillStyle=e.backgroundColor,a.fillRect(0,0,s.width,s.height)),a.drawImage(o,0,0,s.width,s.height),s}async function Nt(t,e={}){const{width:n,height:i}=x(t,e),r=await gt(t,e),o=r.getContext("2d");return o.getImageData(0,0,n,i).data}async function Dt(t,e={}){const n=await gt(t,e);return n.toDataURL()}async function It(t,e={}){const n=await gt(t,e);return n.toDataURL("image/jpeg",e.quality||1)}async function yt(t,e={}){const n=await gt(t,e),i=await w(n);return i}async function dt(t,e={}){return Mt(t,e)}},1989:(t,e,n)=>{var i=n(1789),r=n(401),o=n(7667),s=n(1327),a=n(1866);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},8407:(t,e,n)=>{var i=n(7040),r=n(4125),o=n(2117),s=n(7518),a=n(4705);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},7071:(t,e,n)=>{var i=n(852),r=n(5639),o=i(r,"Map");t.exports=o},3369:(t,e,n)=>{var i=n(4785),r=n(1285),o=n(6e3),s=n(9916),a=n(5265);function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype["delete"]=r,u.prototype.get=o,u.prototype.has=s,u.prototype.set=a,t.exports=u},6384:(t,e,n)=>{var i=n(8407),r=n(7465),o=n(3779),s=n(7599),a=n(4758),u=n(4309);function c(t){var e=this.__data__=new i(t);this.size=e.size}c.prototype.clear=r,c.prototype["delete"]=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,t.exports=c},2705:(t,e,n)=>{var i=n(5639),r=i.Symbol;t.exports=r},1149:(t,e,n)=>{var i=n(5639),r=i.Uint8Array;t.exports=r},6874:t=>{function e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=e},4636:(t,e,n)=>{var i=n(2545),r=n(5694),o=n(1469),s=n(4144),a=n(5776),u=n(6719),c=Object.prototype,l=c.hasOwnProperty;function M(t,e){var n=o(t),c=!n&&r(t),M=!n&&!c&&s(t),p=!n&&!c&&!M&&u(t),h=n||c||M||p,g=h?i(t.length,String):[],N=g.length;for(var D in t)!e&&!l.call(t,D)||h&&("length"==D||M&&("offset"==D||"parent"==D)||p&&("buffer"==D||"byteLength"==D||"byteOffset"==D)||a(D,N))||g.push(D);return g}t.exports=M},6556:(t,e,n)=>{var i=n(9465),r=n(7813);function o(t,e,n){(void 0!==n&&!r(t[e],n)||void 0===n&&!(e in t))&&i(t,e,n)}t.exports=o},4865:(t,e,n)=>{var i=n(9465),r=n(7813),o=Object.prototype,s=o.hasOwnProperty;function a(t,e,n){var o=t[e];s.call(t,e)&&r(o,n)&&(void 0!==n||e in t)||i(t,e,n)}t.exports=a},8470:(t,e,n)=>{var i=n(7813);function r(t,e){var n=t.length;while(n--)if(i(t[n][0],e))return n;return-1}t.exports=r},9465:(t,e,n)=>{var i=n(8777);function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=r},3118:(t,e,n)=>{var i=n(3218),r=Object.create,o=function(){function t(){}return function(e){if(!i(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},8483:(t,e,n)=>{var i=n(5063),r=i();t.exports=r},4239:(t,e,n)=>{var i=n(2705),r=n(9607),o=n(2333),s="[object Null]",a="[object Undefined]",u=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?a:s:u&&u in Object(t)?r(t):o(t)}t.exports=c},9454:(t,e,n)=>{var i=n(4239),r=n(7005),o="[object Arguments]";function s(t){return r(t)&&i(t)==o}t.exports=s},8458:(t,e,n)=>{var i=n(3560),r=n(7724),o=n(3218),s=n(346),a=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,M=c.toString,p=l.hasOwnProperty,h=RegExp("^"+M.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(t){if(!o(t)||r(t))return!1;var e=i(t)?h:u;return e.test(s(t))}t.exports=g},8749:(t,e,n)=>{var i=n(4239),r=n(1780),o=n(7005),s="[object Arguments]",a="[object Array]",u="[object Boolean]",c="[object Date]",l="[object Error]",M="[object Function]",p="[object Map]",h="[object Number]",g="[object Object]",N="[object RegExp]",D="[object Set]",I="[object String]",y="[object WeakMap]",d="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",L="[object Float64Array]",j="[object Int8Array]",f="[object Int16Array]",w="[object Int32Array]",E="[object Uint8Array]",A="[object Uint8ClampedArray]",C="[object Uint16Array]",S="[object Uint32Array]",z={};function v(t){return o(t)&&r(t.length)&&!!z[i(t)]}z[x]=z[L]=z[j]=z[f]=z[w]=z[E]=z[A]=z[C]=z[S]=!0,z[s]=z[a]=z[d]=z[u]=z[T]=z[c]=z[l]=z[M]=z[p]=z[h]=z[g]=z[N]=z[D]=z[I]=z[y]=!1,t.exports=v},313:(t,e,n)=>{var i=n(3218),r=n(5726),o=n(3498),s=Object.prototype,a=s.hasOwnProperty;function u(t){if(!i(t))return o(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}t.exports=u},2980:(t,e,n)=>{var i=n(6384),r=n(6556),o=n(8483),s=n(9783),a=n(3218),u=n(1704),c=n(6390);function l(t,e,n,M,p){t!==e&&o(e,(function(o,u){if(p||(p=new i),a(o))s(t,e,u,n,l,M,p);else{var h=M?M(c(t,u),o,u+"",t,e,p):void 0;void 0===h&&(h=o),r(t,u,h)}}),u)}t.exports=l},9783:(t,e,n)=>{var i=n(6556),r=n(4626),o=n(7133),s=n(278),a=n(8517),u=n(5694),c=n(1469),l=n(9246),M=n(4144),p=n(3560),h=n(3218),g=n(8630),N=n(6719),D=n(6390),I=n(9881);function y(t,e,n,y,d,T,x){var L=D(t,n),j=D(e,n),f=x.get(j);if(f)i(t,n,f);else{var w=T?T(L,j,n+"",t,e,x):void 0,E=void 0===w;if(E){var A=c(j),C=!A&&M(j),S=!A&&!C&&N(j);w=j,A||C||S?c(L)?w=L:l(L)?w=s(L):C?(E=!1,w=r(j,!0)):S?(E=!1,w=o(j,!0)):w=[]:g(j)||u(j)?(w=L,u(L)?w=I(L):h(L)&&!p(L)||(w=a(j))):E=!1}E&&(x.set(j,w),d(w,j,y,T,x),x["delete"](j)),i(t,n,w)}}t.exports=y},5976:(t,e,n)=>{var i=n(6557),r=n(5357),o=n(61);function s(t,e){return o(r(t,e,i),t+"")}t.exports=s},6560:(t,e,n)=>{var i=n(5703),r=n(8777),o=n(6557),s=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:o;t.exports=s},2545:t=>{function e(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}t.exports=e},7561:(t,e,n)=>{var i=n(7990),r=/^\s+/;function o(t){return t?t.slice(0,i(t)+1).replace(r,""):t}t.exports=o},1717:t=>{function e(t){return function(e){return t(e)}}t.exports=e},4318:(t,e,n)=>{var i=n(1149);function r(t){var e=new t.constructor(t.byteLength);return new i(e).set(new i(t)),e}t.exports=r},4626:(t,e,n)=>{t=n.nmd(t);var i=n(5639),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,s=o&&o.exports===r,a=s?i.Buffer:void 0,u=a?a.allocUnsafe:void 0;function c(t,e){if(e)return t.slice();var n=t.length,i=u?u(n):new t.constructor(n);return t.copy(i),i}t.exports=c},7133:(t,e,n)=>{var i=n(4318);function r(t,e){var n=e?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}t.exports=r},278:t=>{function e(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n<i)e[n]=t[n];return e}t.exports=e},8363:(t,e,n)=>{var i=n(4865),r=n(9465);function o(t,e,n,o){var s=!n;n||(n={});var a=-1,u=e.length;while(++a<u){var c=e[a],l=o?o(n[c],t[c],c,n,t):void 0;void 0===l&&(l=t[c]),s?r(n,c,l):i(n,c,l)}return n}t.exports=o},4429:(t,e,n)=>{var i=n(5639),r=i["__core-js_shared__"];t.exports=r},1750:(t,e,n)=>{var i=n(5976),r=n(6612);function o(t){return i((function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&r(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);while(++i<o){var u=n[i];u&&t(e,u,i,s)}return e}))}t.exports=o},5063:t=>{function e(t){return function(e,n,i){var r=-1,o=Object(e),s=i(e),a=s.length;while(a--){var u=s[t?a:++r];if(!1===n(o[u],u,o))break}return e}}t.exports=e},8777:(t,e,n)=>{var i=n(852),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=r},1957:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},5050:(t,e,n)=>{var i=n(7019);function r(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=r},852:(t,e,n)=>{var i=n(8458),r=n(7801);function o(t,e){var n=r(t,e);return i(n)?n:void 0}t.exports=o},5924:(t,e,n)=>{var i=n(5569),r=i(Object.getPrototypeOf,Object);t.exports=r},9607:(t,e,n)=>{var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;function u(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(u){}var r=s.call(t);return i&&(e?t[a]=n:delete t[a]),r}t.exports=u},7801:t=>{function e(t,e){return null==t?void 0:t[e]}t.exports=e},1789:(t,e,n)=>{var i=n(4536);function r(){this.__data__=i?i(null):{},this.size=0}t.exports=r},401:t=>{function e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=e},7667:(t,e,n)=>{var i=n(4536),r="__lodash_hash_undefined__",o=Object.prototype,s=o.hasOwnProperty;function a(t){var e=this.__data__;if(i){var n=e[t];return n===r?void 0:n}return s.call(e,t)?e[t]:void 0}t.exports=a},1327:(t,e,n)=>{var i=n(4536),r=Object.prototype,o=r.hasOwnProperty;function s(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)}t.exports=s},1866:(t,e,n)=>{var i=n(4536),r="__lodash_hash_undefined__";function o(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?r:e,this}t.exports=o},8517:(t,e,n)=>{var i=n(3118),r=n(5924),o=n(5726);function s(t){return"function"!=typeof t.constructor||o(t)?{}:i(r(t))}t.exports=s},5776:t=>{var e=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(t,i){var r=typeof t;return i=null==i?e:i,!!i&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<i}t.exports=i},6612:(t,e,n)=>{var i=n(7813),r=n(8612),o=n(5776),s=n(3218);function a(t,e,n){if(!s(n))return!1;var a=typeof e;return!!("number"==a?r(n)&&o(e,n.length):"string"==a&&e in n)&&i(n[e],t)}t.exports=a},7019:t=>{function e(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=e},7724:(t,e,n)=>{var i=n(4429),r=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!r&&r in t}t.exports=o},5726:t=>{var e=Object.prototype;function n(t){var n=t&&t.constructor,i="function"==typeof n&&n.prototype||e;return t===i}t.exports=n},7040:t=>{function e(){this.__data__=[],this.size=0}t.exports=e},4125:(t,e,n)=>{var i=n(8470),r=Array.prototype,o=r.splice;function s(t){var e=this.__data__,n=i(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():o.call(e,n,1),--this.size,!0}t.exports=s},2117:(t,e,n)=>{var i=n(8470);function r(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}t.exports=r},7518:(t,e,n)=>{var i=n(8470);function r(t){return i(this.__data__,t)>-1}t.exports=r},4705:(t,e,n)=>{var i=n(8470);function r(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}t.exports=r},4785:(t,e,n)=>{var i=n(1989),r=n(8407),o=n(7071);function s(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}t.exports=s},1285:(t,e,n)=>{var i=n(5050);function r(t){var e=i(this,t)["delete"](t);return this.size-=e?1:0,e}t.exports=r},6e3:(t,e,n)=>{var i=n(5050);function r(t){return i(this,t).get(t)}t.exports=r},9916:(t,e,n)=>{var i=n(5050);function r(t){return i(this,t).has(t)}t.exports=r},5265:(t,e,n)=>{var i=n(5050);function r(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}t.exports=r},4536:(t,e,n)=>{var i=n(852),r=i(Object,"create");t.exports=r},3498:t=>{function e(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=e},1167:(t,e,n)=>{t=n.nmd(t);var i=n(1957),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,s=o&&o.exports===r,a=s&&i.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=u},2333:t=>{var e=Object.prototype,n=e.toString;function i(t){return n.call(t)}t.exports=i},5569:t=>{function e(t,e){return function(n){return t(e(n))}}t.exports=e},5357:(t,e,n)=>{var i=n(6874),r=Math.max;function o(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){var o=arguments,s=-1,a=r(o.length-e,0),u=Array(a);while(++s<a)u[s]=o[e+s];s=-1;var c=Array(e+1);while(++s<e)c[s]=o[s];return c[e]=n(u),i(t,this,c)}}t.exports=o},5639:(t,e,n)=>{var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},6390:t=>{function e(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=e},61:(t,e,n)=>{var i=n(6560),r=n(1275),o=r(i);t.exports=o},1275:t=>{var e=800,n=16,i=Date.now;function r(t){var r=0,o=0;return function(){var s=i(),a=n-(s-o);if(o=s,a>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}t.exports=r},7465:(t,e,n)=>{var i=n(8407);function r(){this.__data__=new i,this.size=0}t.exports=r},3779:t=>{function e(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=e},7599:t=>{function e(t){return this.__data__.get(t)}t.exports=e},4758:t=>{function e(t){return this.__data__.has(t)}t.exports=e},4309:(t,e,n)=>{var i=n(8407),r=n(7071),o=n(3369),s=200;function a(t,e){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<s-1)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}t.exports=a},346:t=>{var e=Function.prototype,n=e.toString;function i(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}t.exports=i},7990:t=>{var e=/\s/;function n(t){var n=t.length;while(n--&&e.test(t.charAt(n)));return n}t.exports=n},5703:t=>{function e(t){return function(){return t}}t.exports=e},3279:(t,e,n)=>{var i=n(3218),r=n(7771),o=n(4841),s="Expected a function",a=Math.max,u=Math.min;function c(t,e,n){var c,l,M,p,h,g,N=0,D=!1,I=!1,y=!0;if("function"!=typeof t)throw new TypeError(s);function d(e){var n=c,i=l;return c=l=void 0,N=e,p=t.apply(i,n),p}function T(t){return N=t,h=setTimeout(j,e),D?d(t):p}function x(t){var n=t-g,i=t-N,r=e-n;return I?u(r,M-i):r}function L(t){var n=t-g,i=t-N;return void 0===g||n>=e||n<0||I&&i>=M}function j(){var t=r();if(L(t))return f(t);h=setTimeout(j,x(t))}function f(t){return h=void 0,y&&c?d(t):(c=l=void 0,p)}function w(){void 0!==h&&clearTimeout(h),N=0,c=g=l=h=void 0}function E(){return void 0===h?p:f(r())}function A(){var t=r(),n=L(t);if(c=arguments,l=this,g=t,n){if(void 0===h)return T(g);if(I)return clearTimeout(h),h=setTimeout(j,e),d(g)}return void 0===h&&(h=setTimeout(j,e)),p}return e=o(e)||0,i(n)&&(D=!!n.leading,I="maxWait"in n,M=I?a(o(n.maxWait)||0,e):M,y="trailing"in n?!!n.trailing:y),A.cancel=w,A.flush=E,A}t.exports=c},7813:t=>{function e(t,e){return t===e||t!==t&&e!==e}t.exports=e},6557:t=>{function e(t){return t}t.exports=e},5694:(t,e,n)=>{var i=n(9454),r=n(7005),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(t){return r(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,n)=>{var i=n(3560),r=n(1780);function o(t){return null!=t&&r(t.length)&&!i(t)}t.exports=o},9246:(t,e,n)=>{var i=n(8612),r=n(7005);function o(t){return r(t)&&i(t)}t.exports=o},4144:(t,e,n)=>{t=n.nmd(t);var i=n(5639),r=n(5062),o=e&&!e.nodeType&&e,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o,u=a?i.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;t.exports=l},3560:(t,e,n)=>{var i=n(4239),r=n(3218),o="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",u="[object Proxy]";function c(t){if(!r(t))return!1;var e=i(t);return e==s||e==a||e==o||e==u}t.exports=c},1780:t=>{var e=9007199254740991;function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}t.exports=n},3218:t=>{function e(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=e},7005:t=>{function e(t){return null!=t&&"object"==typeof t}t.exports=e},8630:(t,e,n)=>{var i=n(4239),r=n(5924),o=n(7005),s="[object Object]",a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,M=c.call(Object);function p(t){if(!o(t)||i(t)!=s)return!1;var e=r(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==M}t.exports=p},3448:(t,e,n)=>{var i=n(4239),r=n(7005),o="[object Symbol]";function s(t){return"symbol"==typeof t||r(t)&&i(t)==o}t.exports=s},6719:(t,e,n)=>{var i=n(8749),r=n(1717),o=n(1167),s=o&&o.isTypedArray,a=s?r(s):i;t.exports=a},1704:(t,e,n)=>{var i=n(4636),r=n(313),o=n(8612);function s(t){return o(t)?i(t,!0):r(t)}t.exports=s},236:(t,e,n)=>{var i=n(2980),r=n(1750),o=r((function(t,e,n,r){i(t,e,n,r)}));t.exports=o},7771:(t,e,n)=>{var i=n(5639),r=function(){return i.Date.now()};t.exports=r},5062:t=>{function e(){return!1}t.exports=e},4841:(t,e,n)=>{var i=n(7561),r=n(3218),o=n(3448),s=NaN,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function M(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?s:+t}t.exports=M},9881:(t,e,n)=>{var i=n(8363),r=n(1704);function o(t){return i(t,r(t))}t.exports=o},7084:function(t){(function(e,n){t.exports=n()})(0,(function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e){if(t){if("string"===typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=n(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o={exports:{}};function s(){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}}function a(t){o.exports.defaults=t}o.exports={defaults:s(),getDefaults:s,changeDefaults:a};var u=/[&<>"']/,c=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,M=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(t){return p[t]};function g(t,e){if(e){if(u.test(t))return t.replace(c,h)}else if(l.test(t))return t.replace(M,h);return t}var N=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function D(t){return t.replace(N,(function(t,e){return e=e.toLowerCase(),"colon"===e?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}var I=/(^|[^\[])\^/g;function y(t,e){t=t.source||t,e=e||"";var n={replace:function(e,i){return i=i.source||i,i=i.replace(I,"$1"),t=t.replace(e,i),n},getRegex:function(){return new RegExp(t,e)}};return n}var d=/[^\w:]/g,T=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(t,e,n){if(t){var i;try{i=decodeURIComponent(D(n)).replace(d,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}e&&!T.test(n)&&(n=E(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n}var L={},j=/^[^:]+:\/*[^/]*$/,f=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/;function E(t,e){L[" "+t]||(j.test(t)?L[" "+t]=t+"/":L[" "+t]=z(t,"/",!0)),t=L[" "+t];var n=-1===t.indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(f,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(w,"$1")+e:t+e}var A={exec:function(){}};function C(t){for(var e,n,i=1;i<arguments.length;i++)for(n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function S(t,e){var n=t.replace(/\|/g,(function(t,e,n){var i=!1,r=e;while(--r>=0&&"\\"===n[r])i=!i;return i?"|":" |"})),i=n.split(/ \|/),r=0;if(i.length>e)i.splice(e);else while(i.length<e)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(/\\\|/g,"|");return i}function z(t,e,n){var i=t.length;if(0===i)return"";var r=0;while(r<i){var o=t.charAt(i-r-1);if(o!==e||n){if(o===e||!n)break;r++}else r++}return t.substr(0,i-r)}function v(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=t.length,i=0,r=0;r<n;r++)if("\\"===t[r])r++;else if(t[r]===e[0])i++;else if(t[r]===e[1]&&(i--,i<0))return r;return-1}function m(t){t&&t.sanitize&&!t.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 O(t,e){if(e<1)return"";var n="";while(e>1)1&e&&(n+=t),e>>=1,t+=t;return n+t}var b={escape:g,unescape:D,edit:y,cleanUrl:x,resolveUrl:E,noopTest:A,merge:C,splitCells:S,rtrim:z,findClosingBracket:v,checkSanitizeDeprecation:m,repeatString:O},k=o.exports.defaults,_=b.rtrim,R=b.splitCells,U=b.escape,Y=b.findClosingBracket;function P(t,e,n){var i=e.href,r=e.title?U(e.title):null,o=t[1].replace(/\\([\[\]])/g,"$1");return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:i,title:r,text:o}:{type:"image",raw:n,href:i,title:r,text:U(o)}}function Q(t,e){var n=t.match(/^(\s+)(?:```)/);if(null===n)return e;var i=n[1];return e.split("\n").map((function(t){var e=t.match(/^\s+/);if(null===e)return t;var n=e[0];return n.length>=i.length?t.slice(i.length):t})).join("\n")}var B=function(){function t(t){this.options=t||k}var e=t.prototype;return e.space=function(t){var e=this.rules.block.newline.exec(t);if(e)return e[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}},e.code=function(t){var e=this.rules.block.code.exec(t);if(e){var n=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:_(n,"\n")}}},e.fences=function(t){var e=this.rules.block.fences.exec(t);if(e){var n=e[0],i=Q(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:i}}},e.heading=function(t){var e=this.rules.block.heading.exec(t);if(e){var n=e[2].trim();if(/#$/.test(n)){var i=_(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n}}},e.nptable=function(t){var e=this.rules.block.nptable.exec(t);if(e){var n={type:"table",header:R(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[],raw:e[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=R(n.cells[i],n.header.length);return n}}},e.hr=function(t){var e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}},e.blockquote=function(t){var e=this.rules.block.blockquote.exec(t);if(e){var n=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],text:n}}},e.list=function(t){var e=this.rules.block.list.exec(t);if(e){var n,i,r,o,s,a,u,c,l,M=e[0],p=e[2],h=p.length>1,g={type:"list",raw:M,ordered:h,start:h?+p.slice(0,-1):"",loose:!1,items:[]},N=e[0].match(this.rules.block.item),D=!1,I=N.length;r=this.rules.block.listItemStart.exec(N[0]);for(var y=0;y<I;y++){if(n=N[y],M=n,this.options.pedantic||(l=n.match(new RegExp("\\n\\s*\\n {0,"+(r[0].length-1)+"}\\S")),l&&(s=n.length-l.index+N.slice(y+1).join("\n").length,g.raw=g.raw.substring(0,g.raw.length-s),n=n.substring(0,l.index),M=n,I=y+1)),y!==I-1){if(o=this.rules.block.listItemStart.exec(N[y+1]),this.options.pedantic?o[1].length>r[1].length:o[1].length>=r[0].length||o[1].length>3){N.splice(y,2,N[y]+(!this.options.pedantic&&o[1].length<r[0].length&&!N[y].match(/\n$/)?"":"\n")+N[y+1]),y--,I--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==p[p.length-1]:h===(1===o[2].length))&&(s=N.slice(y+1).join("\n").length,g.raw=g.raw.substring(0,g.raw.length-s),y=I-1),r=o}i=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) ?/,""),~n.indexOf("\n ")&&(i-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+i+"}","gm"),"")),n=_(n,"\n"),y!==I-1&&(M+="\n"),a=D||/\n\n(?!\s*$)/.test(M),y!==I-1&&(D="\n\n"===M.slice(-2),a||(a=D)),a&&(g.loose=!0),this.options.gfm&&(u=/^\[[ xX]\] /.test(n),c=void 0,u&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:M,task:u,checked:c,loose:a,text:n})}return g}},e.html=function(t){var e=this.rules.block.html.exec(t);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):U(e[0]):e[0]}},e.def=function(t){var e=this.rules.block.def.exec(t);if(e){e[3]&&(e[3]=e[3].substring(1,e[3].length-1));var n=e[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:e[0],href:e[2],title:e[3]}}},e.table=function(t){var e=this.rules.block.table.exec(t);if(e){var n={type:"table",header:R(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=e[0];var i,r=n.align.length;for(i=0;i<r;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(r=n.cells.length,i=0;i<r;i++)n.cells[i]=R(n.cells[i].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},e.lheading=function(t){var e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1]}},e.paragraph=function(t){var e=this.rules.block.paragraph.exec(t);if(e)return{type:"paragraph",raw:e[0],text:"\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1]}},e.text=function(t){var e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0]}},e.escape=function(t){var e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:U(e[1])}},e.tag=function(t,e,n){var i=this.rules.inline.tag.exec(t);if(i)return!e&&/^<a /i.test(i[0])?e=!0:e&&/^<\/a>/i.test(i[0])&&(e=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:e,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):U(i[0]):i[0]}},e.link=function(t){var e=this.rules.inline.link.exec(t);if(e){var n=e[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var i=_(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{var r=Y(e[2],"()");if(r>-1){var o=0===e[0].indexOf("!")?5:4,s=o+e[1].length+r;e[2]=e[2].substring(0,r),e[0]=e[0].substring(0,s).trim(),e[3]=""}}var a=e[2],u="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],u=c[3])}else u=e[3]?e[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),P(e,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},e[0])}},e.reflink=function(t,e){var n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(i=e[i.toLowerCase()],!i||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return P(n,i,n[0])}},e.emStrong=function(t,e,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(t);if(i&&(!i[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=i[1]||i[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=i[0].length-1,u=a,c=0,l="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;l.lastIndex=0,e=e.slice(-1*t.length+a);while(null!=(i=l.exec(e)))if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],o)if(s=o.length,i[3]||i[4])u+=s;else if(!((i[5]||i[6])&&a%3)||(a+s)%3){if(u-=s,!(u>0))return s=Math.min(s,s+u+c),Math.min(a,s)%2?{type:"em",raw:t.slice(0,a+i.index+s+1),text:t.slice(1,a+i.index+s)}:{type:"strong",raw:t.slice(0,a+i.index+s+1),text:t.slice(2,a+i.index+s-1)}}else c+=s}}},e.codespan=function(t){var e=this.rules.inline.code.exec(t);if(e){var n=e[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=U(n,!0),{type:"codespan",raw:e[0],text:n}}},e.br=function(t){var e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}},e.del=function(t){var e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2]}},e.autolink=function(t,e){var n,i,r=this.rules.inline.autolink.exec(t);if(r)return"@"===r[2]?(n=U(this.options.mangle?e(r[1]):r[1]),i="mailto:"+n):(n=U(r[1]),i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},e.url=function(t,e){var n;if(n=this.rules.inline.url.exec(t)){var i,r;if("@"===n[2])i=U(this.options.mangle?e(n[0]):n[0]),r="mailto:"+i;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=U(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},e.inlineText=function(t,e,n){var i,r=this.rules.inline.text.exec(t);if(r)return i=e?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):U(r[0]):r[0]:U(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},t}(),Z=b.noopTest,G=b.edit,F=b.merge,H={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) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,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+|$)/,nptable:Z,table:Z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};H.def=G(H.def).replace("label",H._label).replace("title",H._title).getRegex(),H.bullet=/(?:[*+-]|\d{1,9}[.)])/,H.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,H.item=G(H.item,"gm").replace(/bull/g,H.bullet).getRegex(),H.listItemStart=G(/^( *)(bull) */).replace("bull",H.bullet).getRegex(),H.list=G(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex(),H._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",H._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,H.html=G(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),H.paragraph=G(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").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",H._tag).getRegex(),H.blockquote=G(H.blockquote).replace("paragraph",H.paragraph).getRegex(),H.normal=F({},H),H.gfm=F({},H.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),H.gfm.nptable=G(H.gfm.nptable).replace("hr",H.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",H._tag).getRegex(),H.gfm.table=G(H.gfm.table).replace("hr",H.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",H._tag).getRegex(),H.pedantic=F({},H.normal,{html:G("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",H._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:Z,paragraph:G(H.normal._paragraph).replace("hr",H.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Z,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)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,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:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};W.punctuation=G(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=G(H._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),W.emStrong.lDelim=G(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=G(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=G(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._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])?)+(?![-_])/,W.autolink=G(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=G(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=G(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=G(W.reflink).replace("label",W._label).getRegex(),W.reflinkSearch=G(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=F({},W),W.pedantic=F({},W.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:G(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:G(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=F({},W.normal,{escape:G(W.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),W.gfm.url=G(W.gfm.url,"i").replace("email",W.gfm._extended_email).getRegex(),W.breaks=F({},W.gfm,{br:G(W.br).replace("{2,}","*").getRegex(),text:G(W.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var V={block:H,inline:W},X=B,J=o.exports.defaults,$=V.block,K=V.inline,q=b.repeatString;function tt(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function et(t){var e,n,i="",r=t.length;for(e=0;e<r;e++)n=t.charCodeAt(e),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var nt=function(){function t(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||J,this.options.tokenizer=this.options.tokenizer||new X,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var e={block:$.normal,inline:K.normal};this.options.pedantic?(e.block=$.pedantic,e.inline=K.pedantic):this.options.gfm&&(e.block=$.gfm,this.options.breaks?e.inline=K.breaks:e.inline=K.gfm),this.tokenizer.rules=e}t.lex=function(e,n){var i=new t(n);return i.lex(e)},t.lexInline=function(e,n){var i=new t(n);return i.inlineTokens(e)};var n=t.prototype;return n.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(t,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(t,e,n){var i,r,o,s,a,u,c=this;void 0===e&&(e=[]),void 0===n&&(n=!0),this.options.pedantic&&(t=t.replace(/^ +$/gm,""));while(t)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(i=n.call(c,t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)}))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),i.type&&e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),s=e[e.length-1],s&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.nptable(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),e.push(i);else if(i=this.tokenizer.list(t)){for(t=t.substring(i.raw.length),o=i.items.length,r=0;r<o;r++)i.items[r].tokens=this.blockTokens(i.items[r].text,[],!1);e.push(i)}else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(n&&(i=this.tokenizer.def(t)))t=t.substring(i.raw.length),this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else if(a=t,this.options.extensions&&this.options.extensions.startBlock&&function(){var e=1/0,n=t.slice(1),i=void 0;c.options.extensions.startBlock.forEach((function(t){i=t.call(this,n),"number"===typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(a=t.substring(0,e+1))}(),n&&(i=this.tokenizer.paragraph(a)))s=e[e.length-1],u&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i),u=a.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),s=e[e.length-1],s&&"text"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):e.push(i);else if(t){var l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}return e},n.inline=function(t){var e,n,i,r,o,s,a=t.length;for(e=0;e<a;e++)switch(s=t[e],s.type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},r=s.header.length,n=0;n<r;n++)s.tokens.header[n]=[],this.inlineTokens(s.header[n],s.tokens.header[n]);for(r=s.cells.length,n=0;n<r;n++)for(o=s.cells[n],s.tokens.cells[n]=[],i=0;i<o.length;i++)s.tokens.cells[n][i]=[],this.inlineTokens(o[i],s.tokens.cells[n][i]);break;case"blockquote":this.inline(s.tokens);break;case"list":for(r=s.items.length,n=0;n<r;n++)this.inline(s.items[n].tokens);break}return t},n.inlineTokens=function(t,e,n,i){var r,o,s,a=this;void 0===e&&(e=[]),void 0===n&&(n=!1),void 0===i&&(i=!1);var u,c,l,M=t;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)while(null!=(u=this.tokenizer.rules.inline.reflinkSearch.exec(M)))p.includes(u[0].slice(u[0].lastIndexOf("[")+1,-1))&&(M=M.slice(0,u.index)+"["+q("a",u[0].length-2)+"]"+M.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(u=this.tokenizer.rules.inline.blockSkip.exec(M)))M=M.slice(0,u.index)+"["+q("a",u[0].length-2)+"]"+M.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(u=this.tokenizer.rules.inline.escapedEmSt.exec(M)))M=M.slice(0,u.index)+"++"+M.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(t)if(c||(l=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(r=n.call(a,t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)}))))if(r=this.tokenizer.escape(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.tag(t,n,i))t=t.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,o=e[e.length-1],o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(r=this.tokenizer.link(t))t=t.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),e.push(r);else if(r=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(r.raw.length),o=e[e.length-1],"link"===r.type?(r.tokens=this.inlineTokens(r.text,[],!0,i),e.push(r)):o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(r=this.tokenizer.emStrong(t,M,l))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.codespan(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.br(t))t=t.substring(r.raw.length),e.push(r);else if(r=this.tokenizer.del(t))t=t.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),e.push(r);else if(r=this.tokenizer.autolink(t,et))t=t.substring(r.raw.length),e.push(r);else if(n||!(r=this.tokenizer.url(t,et))){if(s=t,this.options.extensions&&this.options.extensions.startInline&&function(){var e=1/0,n=t.slice(1),i=void 0;a.options.extensions.startInline.forEach((function(t){i=t.call(this,n),"number"===typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(s=t.substring(0,e+1))}(),r=this.tokenizer.inlineText(s,i,tt))t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),c=!0,o=e[e.length-1],o&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):e.push(r);else if(t){var h="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else t=t.substring(r.raw.length),e.push(r);return e},e(t,null,[{key:"rules",get:function(){return{block:$,inline:K}}}]),t}(),it=o.exports.defaults,rt=b.cleanUrl,ot=b.escape,st=function(){function t(t){this.options=t||it}var e=t.prototype;return e.code=function(t,e,n){var i=(e||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(t,i);null!=r&&r!==t&&(n=!0,t=r)}return t=t.replace(/\n$/,"")+"\n",i?'<pre><code class="'+this.options.langPrefix+ot(i,!0)+'">'+(n?t:ot(t,!0))+"</code></pre>\n":"<pre><code>"+(n?t:ot(t,!0))+"</code></pre>\n"},e.blockquote=function(t){return"<blockquote>\n"+t+"</blockquote>\n"},e.html=function(t){return t},e.heading=function(t,e,n,i){return this.options.headerIds?"<h"+e+' id="'+this.options.headerPrefix+i.slug(n)+'">'+t+"</h"+e+">\n":"<h"+e+">"+t+"</h"+e+">\n"},e.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},e.list=function(t,e,n){var i=e?"ol":"ul",r=e&&1!==n?' start="'+n+'"':"";return"<"+i+r+">\n"+t+"</"+i+">\n"},e.listitem=function(t){return"<li>"+t+"</li>\n"},e.checkbox=function(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},e.paragraph=function(t){return"<p>"+t+"</p>\n"},e.table=function(t,e){return e&&(e="<tbody>"+e+"</tbody>"),"<table>\n<thead>\n"+t+"</thead>\n"+e+"</table>\n"},e.tablerow=function(t){return"<tr>\n"+t+"</tr>\n"},e.tablecell=function(t,e){var n=e.header?"th":"td",i=e.align?"<"+n+' align="'+e.align+'">':"<"+n+">";return i+t+"</"+n+">\n"},e.strong=function(t){return"<strong>"+t+"</strong>"},e.em=function(t){return"<em>"+t+"</em>"},e.codespan=function(t){return"<code>"+t+"</code>"},e.br=function(){return this.options.xhtml?"<br/>":"<br>"},e.del=function(t){return"<del>"+t+"</del>"},e.link=function(t,e,n){if(t=rt(this.options.sanitize,this.options.baseUrl,t),null===t)return n;var i='<a href="'+ot(t)+'"';return e&&(i+=' title="'+e+'"'),i+=">"+n+"</a>",i},e.image=function(t,e,n){if(t=rt(this.options.sanitize,this.options.baseUrl,t),null===t)return n;var i='<img src="'+t+'" alt="'+n+'"';return e&&(i+=' title="'+e+'"'),i+=this.options.xhtml?"/>":">",i},e.text=function(t){return t},t}(),at=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),ut=function(){function t(){this.seen={}}var e=t.prototype;return e.serialize=function(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.getNextSafeSlug=function(t,e){var n=t,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[t];do{i++,n=t+"-"+i}while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=i,this.seen[n]=0),n},e.slug=function(t,e){void 0===e&&(e={});var n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)},t}(),ct=st,lt=at,Mt=ut,pt=o.exports.defaults,ht=b.unescape,gt=function(){function t(t){this.options=t||pt,this.options.renderer=this.options.renderer||new ct,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new lt,this.slugger=new Mt}t.parse=function(e,n){var i=new t(n);return i.parse(e)},t.parseInline=function(e,n){var i=new t(n);return i.parseInline(e)};var e=t.prototype;return e.parse=function(t,e){void 0===e&&(e=!0);var n,i,r,o,s,a,u,c,l,M,p,h,g,N,D,I,y,d,T,x="",L=t.length;for(n=0;n<L;n++)if(M=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[M.type]&&(T=this.options.extensions.renderers[M.type].call(this,M),!1!==T||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(M.type)))x+=T||"";else switch(M.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(M.tokens),M.depth,ht(this.parseInline(M.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(M.text,M.lang,M.escaped);continue;case"table":for(c="",u="",o=M.header.length,i=0;i<o;i++)u+=this.renderer.tablecell(this.parseInline(M.tokens.header[i]),{header:!0,align:M.align[i]});for(c+=this.renderer.tablerow(u),l="",o=M.cells.length,i=0;i<o;i++){for(a=M.tokens.cells[i],u="",s=a.length,r=0;r<s;r++)u+=this.renderer.tablecell(this.parseInline(a[r]),{header:!1,align:M.align[r]});l+=this.renderer.tablerow(u)}x+=this.renderer.table(c,l);continue;case"blockquote":l=this.parse(M.tokens),x+=this.renderer.blockquote(l);continue;case"list":for(p=M.ordered,h=M.start,g=M.loose,o=M.items.length,l="",i=0;i<o;i++)D=M.items[i],I=D.checked,y=D.task,N="",D.task&&(d=this.renderer.checkbox(I),g?D.tokens.length>0&&"text"===D.tokens[0].type?(D.tokens[0].text=d+" "+D.tokens[0].text,D.tokens[0].tokens&&D.tokens[0].tokens.length>0&&"text"===D.tokens[0].tokens[0].type&&(D.tokens[0].tokens[0].text=d+" "+D.tokens[0].tokens[0].text)):D.tokens.unshift({type:"text",text:d}):N+=d),N+=this.parse(D.tokens,g),l+=this.renderer.listitem(N,y,I);x+=this.renderer.list(l,p,h);continue;case"html":x+=this.renderer.html(M.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(M.tokens));continue;case"text":l=M.tokens?this.parseInline(M.tokens):M.text;while(n+1<L&&"text"===t[n+1].type)M=t[++n],l+="\n"+(M.tokens?this.parseInline(M.tokens):M.text);x+=e?this.renderer.paragraph(l):l;continue;default:var j='Token with "'+M.type+'" type was not found.';if(this.options.silent)return void console.error(j);throw new Error(j)}return x},e.parseInline=function(t,e){e=e||this.renderer;var n,i,r,o="",s=t.length;for(n=0;n<s;n++)if(i=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call(this,i),!1!==r||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)))o+=r||"";else switch(i.type){case"escape":o+=e.text(i.text);break;case"html":o+=e.html(i.text);break;case"link":o+=e.link(i.href,i.title,this.parseInline(i.tokens,e));break;case"image":o+=e.image(i.href,i.title,i.text);break;case"strong":o+=e.strong(this.parseInline(i.tokens,e));break;case"em":o+=e.em(this.parseInline(i.tokens,e));break;case"codespan":o+=e.codespan(i.text);break;case"br":o+=e.br();break;case"del":o+=e.del(this.parseInline(i.tokens,e));break;case"text":o+=e.text(i.text);break;default:var a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return o},t}(),Nt=nt,Dt=gt,It=B,yt=st,dt=at,Tt=ut,xt=b.merge,Lt=b.checkSanitizeDeprecation,jt=b.escape,ft=o.exports.getDefaults,wt=o.exports.changeDefaults,Et=o.exports.defaults;function At(t,e,n){if("undefined"===typeof t||null===t)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof t)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");if("function"===typeof e&&(n=e,e=null),e=xt({},At.defaults,e||{}),Lt(e),n){var i,r=e.highlight;try{i=Nt.lex(t,e)}catch(u){return n(u)}var o=function(t){var o;if(!t)try{e.walkTokens&&At.walkTokens(i,e.walkTokens),o=Dt.parse(i,e)}catch(u){t=u}return e.highlight=r,t?n(t):n(null,o)};if(!r||r.length<3)return o();if(delete e.highlight,!i.length)return o();var s=0;return At.walkTokens(i,(function(t){"code"===t.type&&(s++,setTimeout((function(){r(t.text,t.lang,(function(e,n){if(e)return o(e);null!=n&&n!==t.text&&(t.text=n,t.escaped=!0),s--,0===s&&o()}))}),0))})),void(0===s&&o())}try{var a=Nt.lex(t,e);return e.walkTokens&&At.walkTokens(a,e.walkTokens),Dt.parse(a,e)}catch(u){if(u.message+="\nPlease report this to https://github.com/markedjs/marked.",e.silent)return"<p>An error occurred:</p><pre>"+jt(u.message+"",!0)+"</pre>";throw u}}At.options=At.setOptions=function(t){return xt(At.defaults,t),wt(At.defaults),At},At.getDefaults=ft,At.defaults=Et,At.use=function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r,o=xt.apply(void 0,[{}].concat(n)),s=At.defaults.extensions||{renderers:{},childTokens:{}};n.forEach((function(e){if(e.extensions&&(r=!0,e.extensions.forEach((function(t){if(!t.name)throw new Error("extension name required");if(t.renderer){var e=s.renderers?s.renderers[t.name]:null;s.renderers[t.name]=e?function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=t.renderer.apply(this,i);return!1===o&&(o=e.apply(this,i)),o}:t.renderer}if(t.tokenizer){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");s[t.level]?s[t.level].unshift(t.tokenizer):s[t.level]=[t.tokenizer],t.start&&("block"===t.level?s.startBlock?s.startBlock.push(t.start):s.startBlock=[t.start]:"inline"===t.level&&(s.startInline?s.startInline.push(t.start):s.startInline=[t.start]))}t.childTokens&&(s.childTokens[t.name]=t.childTokens)}))),e.renderer&&function(){var t=At.defaults.renderer||new yt,n=function(n){var i=t[n];t[n]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.renderer[n].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.renderer)n(i);o.renderer=t}(),e.tokenizer&&function(){var t=At.defaults.tokenizer||new It,n=function(n){var i=t[n];t[n]=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a=e.tokenizer[n].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.tokenizer)n(i);o.tokenizer=t}(),e.walkTokens){var n=At.defaults.walkTokens;o.walkTokens=function(i){e.walkTokens.call(t,i),n&&n(i)}}r&&(o.extensions=s),At.setOptions(o)}))},At.walkTokens=function(t,e){for(var n,i=function(){var t=n.value;switch(e(t),t.type){case"table":for(var i,o=r(t.tokens.header);!(i=o()).done;){var s=i.value;At.walkTokens(s,e)}for(var a,u=r(t.tokens.cells);!(a=u()).done;)for(var c,l=a.value,M=r(l);!(c=M()).done;){var p=c.value;At.walkTokens(p,e)}break;case"list":At.walkTokens(t.items,e);break;default:At.defaults.extensions&&At.defaults.extensions.childTokens&&At.defaults.extensions.childTokens[t.type]?At.defaults.extensions.childTokens[t.type].forEach((function(n){At.walkTokens(t[n],e)})):t.tokens&&At.walkTokens(t.tokens,e)}},o=r(t);!(n=o()).done;)i()},At.parseInline=function(t,e){if("undefined"===typeof t||null===t)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!==typeof t)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");e=xt({},At.defaults,e||{}),Lt(e);try{var n=Nt.lexInline(t,e);return e.walkTokens&&At.walkTokens(n,e.walkTokens),Dt.parseInline(n,e)}catch(i){if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",e.silent)return"<p>An error occurred:</p><pre>"+jt(i.message+"",!0)+"</pre>";throw i}},At.Parser=Dt,At.parser=Dt.parse,At.Renderer=yt,At.TextRenderer=dt,At.Lexer=Nt,At.lexer=Nt.lex,At.Tokenizer=It,At.Slugger=Tt,At.parse=At;var Ct=At;return Ct}))},2460:(t,e,n)=>{"use strict";n.r(e)},555:(t,e,n)=>{"use strict";n.r(e)},649:(t,e,n)=>{"use strict";n.r(e)},8045:(t,e,n)=>{"use strict";n.r(e)},8631:(t,e,n)=>{"use strict";n.r(e)},4856:(t,e,n)=>{"use strict";n.r(e)},9914:(t,e,n)=>{"use strict";n.r(e)},5346:t=>{"use strict";function e(t){try{return JSON.stringify(t)}catch(e){return'"[Circular]"'}}function n(t,n,i){var r=i&&i.stringify||e,o=1;if("object"===typeof t&&null!==t){var s=n.length+o;if(1===s)return t;var a=new Array(s);a[0]=r(t);for(var u=1;u<s;u++)a[u]=r(n[u]);return a.join(" ")}if("string"!==typeof t)return t;var c=n.length;if(0===c)return t;for(var l="",M=1-o,p=-1,h=t&&t.length||0,g=0;g<h;){if(37===t.charCodeAt(g)&&g+1<h){switch(p=p>-1?p:0,t.charCodeAt(g+1)){case 100:case 102:if(M>=c)break;if(null==n[M])break;p<g&&(l+=t.slice(p,g)),l+=Number(n[M]),p=g+2,g++;break;case 105:if(M>=c)break;if(null==n[M])break;p<g&&(l+=t.slice(p,g)),l+=Math.floor(Number(n[M])),p=g+2,g++;break;case 79:case 111:case 106:if(M>=c)break;if(void 0===n[M])break;p<g&&(l+=t.slice(p,g));var N=typeof n[M];if("string"===N){l+="'"+n[M]+"'",p=g+2,g++;break}if("function"===N){l+=n[M].name||"<anonymous>",p=g+2,g++;break}l+=r(n[M]),p=g+2,g++;break;case 115:if(M>=c)break;p<g&&(l+=t.slice(p,g)),l+=String(n[M]),p=g+2,g++;break;case 37:p<g&&(l+=t.slice(p,g)),l+="%",p=g+2,g++,M--;break}++M}++g}return-1===p?t:(p<h&&(l+=t.slice(p)),l)}t.exports=n},3195:(t,e,n)=>{var i=n(7455),r=n(9002),o=r((function(t,e){return i(t.length,(function(){return t.apply(e,arguments)}))}));t.exports=o},7455:t=>{function e(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,i){return e.apply(this,arguments)};case 4:return function(t,n,i,r){return e.apply(this,arguments)};case 5:return function(t,n,i,r,o){return e.apply(this,arguments)};case 6:return function(t,n,i,r,o,s){return e.apply(this,arguments)};case 7:return function(t,n,i,r,o,s,a){return e.apply(this,arguments)};case 8:return function(t,n,i,r,o,s,a,u){return e.apply(this,arguments)};case 9:return function(t,n,i,r,o,s,a,u,c){return e.apply(this,arguments)};case 10:return function(t,n,i,r,o,s,a,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}t.exports=e},3542:(t,e,n)=>{var i=n(219);function r(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return i(r)||"function"!==typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}t.exports=r},6224:(t,e,n)=>{var i=n(6464);function r(t){return function e(n){return 0===arguments.length||i(n)?e:t.apply(this,arguments)}}t.exports=r},9002:(t,e,n)=>{var i=n(6224),r=n(6464);function o(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return r(n)?e:i((function(e){return t(n,e)}));default:return r(n)&&r(o)?e:r(n)?i((function(e){return t(e,o)})):r(o)?i((function(e){return t(n,e)})):t(n,o)}}}t.exports=o},6370:(t,e,n)=>{var i=n(6224),r=n(9002),o=n(6464);function s(t){return function e(n,s,a){switch(arguments.length){case 0:return e;case 1:return o(n)?e:r((function(e,i){return t(n,e,i)}));case 2:return o(n)&&o(s)?e:o(n)?r((function(e,n){return t(e,s,n)})):o(s)?r((function(e,i){return t(n,e,i)})):i((function(e){return t(n,s,e)}));default:return o(n)&&o(s)&&o(a)?e:o(n)&&o(s)?r((function(e,n){return t(e,n,a)})):o(n)&&o(a)?r((function(e,n){return t(e,s,n)})):o(s)&&o(a)?r((function(e,i){return t(n,e,i)})):o(n)?i((function(e){return t(e,s,a)})):o(s)?i((function(e){return t(n,e,a)})):o(a)?i((function(e){return t(n,s,e)})):t(n,s,a)}}}t.exports=s},219:t=>{t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},3219:(t,e,n)=>{var i=n(6224),r=n(219),o=n(190),s=i((function(t){return!!r(t)||!!t&&("object"===typeof t&&(!o(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));t.exports=s},6464:t=>{function e(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}t.exports=e},190:t=>{function e(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=e},6015:t=>{function e(t,e){return function(){return e.call(this,t.apply(this,arguments))}}t.exports=e},9488:(t,e,n)=>{var i=n(3219),r=n(9874),o=n(3195);function s(t,e,n){var i=0,r=n.length;while(i<r){if(e=t["@@transducer/step"](e,n[i]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i+=1}return t["@@transducer/result"](e)}function a(t,e,n){var i=n.next();while(!i.done){if(e=t["@@transducer/step"](e,i.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i=n.next()}return t["@@transducer/result"](e)}function u(t,e,n,i){return t["@@transducer/result"](n[i](o(t["@@transducer/step"],t),e))}var c="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator";function l(t,e,n){if("function"===typeof t&&(t=r(t)),i(n))return s(t,e,n);if("function"===typeof n["fantasy-land/reduce"])return u(t,e,n,"fantasy-land/reduce");if(null!=n[c])return a(t,e,n[c]());if("function"===typeof n.next)return a(t,e,n);if("function"===typeof n.reduce)return u(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}t.exports=l},9874:t=>{var e=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function n(t){return new e(t)}t.exports=n},4603:(t,e,n)=>{var i=n(7455),r=n(6015),o=n(793),s=n(3656);function a(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return i(arguments[0].length,o(r,arguments[0],s(arguments)))}t.exports=a},793:(t,e,n)=>{var i=n(6370),r=n(9488),o=i(r);t.exports=o},5683:(t,e,n)=>{var i=n(6370),r=i((function(t,e,n){return n.replace(t,e)}));t.exports=r},1753:(t,e,n)=>{var i=n(3542),r=n(6370),o=r(i("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));t.exports=o},3656:(t,e,n)=>{var i=n(3542),r=n(6224),o=n(1753),s=r(i("tail",o(1,1/0)));t.exports=s},6851:(t,e,n)=>{"use strict";var i=n(9594),r=Array.prototype.concat,o=Array.prototype.slice,s=t.exports=function(t){for(var e=[],n=0,s=t.length;n<s;n++){var a=t[n];i(a)?e=r.call(e,o.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},9594:t=>{t.exports=function(t){return!(!t||"string"===typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},2444:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;class n{constructor(t){const e=t.split("\n");this.color=e.find((t=>t.trimStart().startsWith("[red]")))?"red":void 0;const n=e.map((t=>t.replace("[red]","")));this.text=n.join("\n"),this.text=this.text.trimEnd()}}e["default"]=n},1118:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(655),r=l(n(7319)),o=l(n(144)),s=l(n(629)),a=l(n(6577)),u=l(n(903)),c=l(n(1873));function l(t){return t&&t.__esModule?t:{default:t}}n(4856),n(8045),n(555),n(2460),n(649),n(8631),n(9914);const M=r.default.child({name:"core"});o.default.use(s.default);class p{constructor(t,e=!1){this.el=t,this.store=(0,a.default)(),this.app=new o.default({el:this.el,store:new s.default.Store(this.store),render:t=>t(e?c.default:u.default)})}render(t,e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return M.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.code=this._code,this.store.state.theme=this._theme||"default",yield this.app.$nextTick(),Promise.resolve(this)}))}get code(){return this._code}get theme(){return this._theme}}e.Z=p},7319:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=r(n(6559));function r(t){return t&&t.__esModule?t:{default:t}}const o=(0,i.default)({level:"warn"}),s=["log","trace","debug","info","warn","error"];function a(t,e){t[e]=(console[e]||console["log"]).bind(console)}function u(t,e,n){t[e]=(console[e]||console["log"]).bind(console,n[0],n[1])}function c(t){s.forEach((e=>a(t,e)));const e=t.child;return t.child=function(n){const i=e.call(t,n);return s.forEach((t=>u(i,t,["%c"+n.name||0,"color: #00f"]))),i},t}let l=c(o);var M=l;e["default"]=M},5011:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodeRange=void 0;class n{constructor(t,e,n,i){this.start={line:t,col:e},this.stop={line:n,col:i}}static from(t){const e=t.start,i=t.stop;return new n(e.line,e.column,i.line,i.column+i.text.length)}}e.CodeRange=n},6866:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i=n(9918),r=i.sequenceParser,o=r.CreationContext,s=r.StatContext,a=r.MessageContext,u=r.AsyncMessageContext,c=r.RetContext;o.prototype.From=function(){if(this.parentCtx instanceof s)return this.ClosestAncestorStat().Origin()},a.prototype.ProvidedFrom=function(){var t,e;return null===(e=null===(t=this.messageBody())||void 0===t?void 0:t.from())||void 0===e?void 0:e.getFormattedText()},a.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},u.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},c.prototype.From=function(){return this.ClosestAncestorStat().Origin()}},4020:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Assignment=void 0;var i=r(n(9918));function r(t){return t&&t.__esModule?t:{default:t}}const o=i.default.sequenceParser,s=o.MessageContext;class a{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(":")}}e.Assignment=a,s.prototype.Assignment=function(){var t,e;let n=this.messageBody().assignment();const i=null===(t=null===n||void 0===n?void 0:n.assignee())||void 0===t?void 0:t.getFormattedText(),r=null===(e=null===n||void 0===n?void 0:n.type())||void 0===e?void 0:e.getFormattedText();if(i)return new a(i,r)}},5963:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Participants=e.ParticipantType=e.Participant=void 0;var i,r=o(n(236));function o(t){return t&&t.__esModule?t:{default:t}}e.ParticipantType=i,function(t){t[t["Actor"]=1]="Actor",t[t["Boundary"]=2]="Boundary",t[t["Collection"]=3]="Collection",t[t["Control"]=4]="Control",t[t["Database"]=5]="Database",t[t["Entity"]=6]="Entity",t[t["Queue"]=7]="Queue",t[t["EC2"]=8]="EC2",t[t["ECS"]=9]="ECS",t[t["IAM"]=10]="IAM",t[t["Lambda"]=11]="Lambda",t[t["RDS"]=12]="RDS",t[t["S3"]=13]="S3",t[t["Undefined"]=14]="Undefined"}(i||(e.ParticipantType=i={}));class s{constructor(t,e,n,i,r,o,s,a,u,c){this.name=t,this.stereotype=n,this.width=i,this.groupId=r,this.explicit=s,this.isStarter=e,this.label=o,this.type=a,this.color=u,this.comment=c}Type(){var t;switch(null===(t=this.type)||void 0===t?void 0:t.toLowerCase()){case"@actor":return i.Actor;case"@boundary":return i.Boundary;case"@collection":return i.Collection;case"@control":return i.Control;case"@database":return i.Database;case"@entity":return i.Entity;case"@queue":return i.Queue;case"@ec2":return i.EC2;case"@ecs":return i.ECS;case"@iam":return i.IAM;case"@lambda":return i.Lambda;case"@rds":return i.RDS;case"@s3":return i.S3}return i.Undefined}}e.Participant=s;class a{constructor(){this.participants=new Map}Add(t,e,n,i,o,a,u,c,l,M){const p=new s(t,e,n,i,o,a,u,c,l,M);this.participants.set(t,(0,r.default)({},this.Get(t),p,((t,e)=>t||e)))}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}}e.Participants=a},4466:(t,e,n)=>{"use strict";const i=n(9918),r=i.sequenceParser,o=r.MessageContext,s=r.AsyncMessageContext,a=r.CreationContext;o.prototype.SignatureText=function(){var t,e,n;return null===(n=null===(e=null===(t=this.messageBody())||void 0===t?void 0:t.func())||void 0===e?void 0:e.signature())||void 0===n?void 0:n.map((t=>null===t||void 0===t?void 0:t.getFormattedText())).join(".")},s.prototype.SignatureText=function(){var t;return null===(t=this.content())||void 0===t?void 0:t.getFormattedText()},a.prototype.SignatureText=function(){var t;const e=this.creationBody().parameters(),n=(null===(t=null===e||void 0===e?void 0:e.parameter())||void 0===t?void 0:t.length)>0?e.getFormattedText():"create";return"«"+n+"»"}},6353:(t,e,n)=>{"use strict";var i=n(361);i.antlr4.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`}},9609:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i=n(7228),r=n(9918),o=r.sequenceParser,s=o.StatContext;i.ParserRuleContext.prototype.ClosestAncestorStat=function(){let t=this;while(!(t instanceof s))t=t.parentCtx;if(t instanceof s)return t},i.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const e=null===(t=this.ClosestAncestorStat())||void 0===t?void 0:t.parentCtx;if(e instanceof o.BlockContext)return e;console.warn("Cannot find closest ancestor block for context:",this)}},1129:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MIN_PARTICIPANT_WIDTH=e.MINI_GAP=e.MARGIN=e.ARROW_HEAD_WIDTH=void 0;const n=100;e.MINI_GAP=n;const i=20;e.MARGIN=i;const r=10;e.ARROW_HEAD_WIDTH=r;const o=100;e.MIN_PARTICIPANT_WIDTH=o},1440:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.TextType=void 0,e.TextType=n,function(t){t[t["MessageContent"]=0]="MessageContent",t[t["ParticipantName"]=1]="ParticipantName"}(n||(e.TextType=n={}))},9244:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Coordinates=void 0;var i=n(1129),r=n(1440),o=n(6716),s=n(8695),a=n(8656),u=n(9773);class c{constructor(t,e){this.m=[],this.participantModels=(0,o.OrderedParticipants)(t),this.ownableMessages=(0,a.AllMessages)(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex((e=>e.name===t));if(-1===e)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+(0,s.find_optimal)(this.m)[e]+i.ARROW_HEAD_WIDTH}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach((t=>{const n=e.findIndex((e=>e.name===t.from)),r=e.findIndex((e=>e.name===t.to));if(-1===n||-1===r)return void console.warn(`Participant ${t.from} or ${t.to} not found`);let o=Math.min(n,r),s=Math.max(n,r);try{let e=this.getMessageWidth(t);this.m[o][s]=Math.max(e+i.ARROW_HEAD_WIDTH,this.m[o][s])}catch(a){console.warn(`Could not set message gap between ${t.from} and ${t.to}`)}}))}getMessageWidth(t){const e=c.half(this.widthProvider,t.to);let n=this.widthProvider(t.signature,r.TextType.MessageContent);return t.type===u.OwnableMessageType.CreationMessage&&(n+=e),n}withParticipantGaps(t){this.m=t.map(((e,n)=>t.map(((t,e)=>e-n===1?this.getParticipantGap(t):0))))}getParticipantGap(t){let e=this.labelOrName(t.left);const n=c.half(this.widthProvider,e),i=c.half(this.widthProvider,t.label||t.name),r=t.left&&"_STARTER_"!==t.left,o=t.name&&"_STARTER_"!==t.name;return(r&&n||0)+(o&&i||0)}labelOrName(t){const e=this.participantModels.findIndex((e=>e.name===t));return-1===e?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if("_STARTER_"===e)return i.MARGIN/2;const n=this.halfWithMargin(t,e);return Math.max(n,i.MINI_GAP/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+i.MARGIN/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",r.TextType.ParticipantName),i.MIN_PARTICIPANT_WIDTH)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+c.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}e.Coordinates=c},8656:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllMessages=a,e.MessageContextListener=void 0;var i=n(9773),r=n(361);const o=n(8614);class s extends o.sequenceParserListener{constructor(){super(...arguments),this.isBlind=!1,this.ownableMessages=[],this.enterMessage=t=>this._addOwnedMessage(i.OwnableMessageType.SyncMessage)(t),this.enterAsyncMessage=t=>this._addOwnedMessage(i.OwnableMessageType.AsyncMessage)(t),this.enterCreation=t=>this._addOwnedMessage(i.OwnableMessageType.CreationMessage)(t),this._addOwnedMessage=t=>e=>{if(this.isBlind)return;let n=e.From();const i=null===e||void 0===e?void 0:e.Owner(),r=null===e||void 0===e?void 0:e.SignatureText();this.ownableMessages.push({from:n,signature:r,type:t,to:i})}}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function a(t){const e=r.antlr4.tree.ParseTreeWalker.DEFAULT,n=new s;return e.walk(n,t),n.result()}e.MessageContextListener=s},6716:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OrderedParticipants=r;var i=n(361);function r(t){const e=new i.ParticipantListener,n=i.antlr4.tree.ParseTreeWalker.DEFAULT;return n.walk(e,t),e.result()}},9773:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.OwnableMessageType=void 0,e.OwnableMessageType=n,function(t){t[t["SyncMessage"]=0]="SyncMessage",t[t["AsyncMessage"]=1]="AsyncMessage",t[t["CreationMessage"]=2]="CreationMessage"}(n||(e.OwnableMessageType=n={}))},361:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.seqDsl=e.antlr4=e.ParticipantListener=void 0;const i=n(7228);e.antlr4=i;let r=n(7817);e.seqDsl=r;const o=n(8614),s=n(9918),a=s.sequenceParser;class u extends o.sequenceParserListener{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 e,n,i;const r=(null===(e=null===t||void 0===t?void 0:t.name())||void 0===e?void 0:e.getFormattedText())||"Missing `Participant` name",o=null===(i=null===(n=t.label())||void 0===n?void 0:n.name())||void 0===i?void 0:i.getFormattedText(),s={name:r,label:o,left:""};this.explicitParticipants.push(s)}enterFrom(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.getFormattedText();t.ClosestAncestorBlock().parentCtx instanceof a.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]?this.starter=e:this.enterTo(t)}enterTo(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.getFormattedText();if(e===this.starter)return;if(this.explicitParticipants.some((t=>t.name===e)))return;const n={name:e,left:""};this.implicitParticipants.push(n)}enterCreation(t){if(this.isBlind)return;const e=null===t||void 0===t?void 0:t.Owner();if(e===this.starter)return;if(this.explicitParticipants.some((t=>t.name===e)))return;const n={name:e,left:""};this.implicitParticipants.push(n)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),u._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,n)=>t.findIndex((t=>t.name===e.name))===n))}static _assignLeft(t){t.reduce(((t,e)=>(e.left=t.name||"",e)),{name:"",left:""})}}e.ParticipantListener=u},2145:(t,e)=>{"use strict";function n(t,e){let n=document.querySelector(".textarea-hidden-div");if(!n){const t=document.createElement("div");t.className="textarea-hidden-div ",t.style.fontSize="13px",t.style.fontFamily="Helvetica, Verdana, serif",t.style.display="inline",t.style.whiteSpace="nowrap",t.style.visibility="hidden",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.overflow="hidden",t.style.width="0px",t.style.paddingLeft="20px",t.style.paddingRight="20px",t.style.margin="0px",t.style.border="0px",document.body.appendChild(t),n=t}n.innerHTML=t;const i=n.scrollWidth;return i}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},8695:(t,e)=>{"use strict";function n(t,e){return{position:t,velocity:e}}function i(t,e){return n(t.position+e.position,t.velocity+e.velocity)}Object.defineProperty(e,"__esModule",{value:!0}),e.find_optimal=p;const r=Math.sqrt(Number.EPSILON);function o(t,e){let n=t.position-e.position;return n<-r||Math.abs(n)<=r&&t.velocity<e.velocity}function s(){return{delta:1/0,dualLessThan:function(t,e){let n=o(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function a(t,e){let i=Array();for(let r=0;r<t;r++){i.push([]);for(let t=0;t<r;t++)e[t][r]>0&&i[r].push({i:t,length:n(e[t][r],0)})}return i}function u(t,e){let r=s(),o=n(0,0),a=[];for(let n=0;n<t.length;n++){let s=null;n>0&&(o=i(o,e[n-1]));for(let e of t[n]){let t=i(a[e.i].maximum,e.length);r.dualLessThan(o,t)&&(s=e.i,o=t)}a.push({argument:s,maximum:o})}return[r.delta,a]}function c(t,e,n){let i=t.length-1;while(i>0){let e=t[i].argument;null!==e?i=e:(i--,n[i].velocity=0)}}function l(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function M(t){let e=[];for(let n of t)e.push(n.maximum.position);return e}function p(t){const e=t.length;let i=a(e,t),r=[];for(let o=1;o<e;o++)r.push(n(0,1));while(1){let[t,n]=u(i,r);if(t==1/0)return M(n);n[e-1].maximum.velocity>0?c(n,i,r):l(r,t)}}},6577:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=u(n(7771)),r=u(n(3279)),o=n(7817),s=u(n(2145)),a=n(9244);function u(t){return t&&t.__esModule?t:{default:t}}let c=0;setTimeout((function(){c||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")}),1e3);const l=t=>(c=(0,i.default)(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:t=>{console.log("Element clicked",t)}},getters:{rootContext:t=>(0,o.RootContext)(t.code),title:(t,e)=>{var n,i;return null===(i=null===(n=e.rootContext)||void 0===n?void 0:n.title())||void 0===i?void 0:i.content()},participants:(t,e)=>(0,o.Participants)(e.rootContext,!0),coordinates:(t,e)=>new a.Coordinates(e.rootContext,s.default),centerOf:(t,e)=>t=>{if(!t)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(t)||0}catch(n){return console.error(n),0}},GroupContext:()=>o.GroupContext,ParticipantContext:()=>o.ParticipantContext,cursor:t=>t.cursor,distance:(t,e)=>(t,n)=>e.centerOf(t)-e.centerOf(n),distance2:(t,e)=>(t,n)=>t&&n?e.centerOf(n)-e.centerOf(t):0,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((t=>t!==e)):t.selected.push(e)},cursor:function(t,e){t.cursor=e}},actions:{updateCode:(0,r.default)((function({commit:t,getters:e},n){if("string"===typeof n)throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");t("code",n.code)}),t||1e3)},strict:!1});var M=l;e["default"]=M},3122:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.brightnessIgnoreAlpha=o,e.removeAlpha=s;var i=r(n(9818));function r(t){return t&&t.__esModule?t:{default:t}}function o(t){const e=i.default.get.rgb(t);let[n,r,o]=e;return(299*n+587*r+114*o)/1e3}function s(t){const e=i.default.get.rgb(t);let[n,r,o]=e;return`rgb(${n}, ${r}, ${o})`}},7890:(t,e,n)=>{"use strict";e.R=void 0;var i=o(n(4603)),r=o(n(5683));function o(t){return t&&t.__esModule?t:{default:t}}const s=(0,r.default)(/[\n\r]/g," "),a=(0,r.default)(/\s+/g," "),u=(0,r.default)(/\s*([,;.()])\s*/g,"$1"),c=(0,r.default)(/\s+$/g,""),l=(0,r.default)(/^"(.*)"$/,"$1"),M=(0,i.default)(s,a,u,c,l);e.R=M},7240:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;const n="49afba8",i="main";var r={name:"Debug",data(){return{commitHash:n,gitBranch:i}},computed:{debug(){return!!localStorage.zenumlDebug}}};e.Z=r},712:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r=h(n(6022)),o=h(n(2330)),s=h(n(1873)),a=h(n(884)),u=h(n(4073)),c=p(n(6459)),l=h(n(6626));function M(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(M=function(t){return t?n:e})(t)}function p(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=M(e);if(n&&n.has(t))return n.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=r?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}function h(t){return t&&t.__esModule?t:{default:t}}var g={name:"DiagramFrame",computed:{...(0,i.mapState)(["showTips","scale","theme"]),...(0,i.mapGetters)(["rootContext"]),title(){var t;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),null===(t=this.rootContext)||void 0===t?void 0:t.title()}},methods:{...(0,i.mapMutations)(["setScale"]),showTipsDialog(){this.$store.state.showTips=!0;try{var t;null===(t=this.$gtag)||void 0===t||t.event("view",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}},toPng(){return c.toPng(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toSvg(){return c.toSvg(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toBlob(){return c.toBlob(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},toJpeg(){return c.toJpeg(this.$refs["export"],{backgroundColor:"white",filter:t=>{var e;return!(null!==t&&void 0!==t&&null!==(e=t.classList)&&void 0!==e&&e.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(t){this.theme=t},setStyle(t){const e="zenuml-style";let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.append(n)),n.textContent=t},setRemoteCss(t){if(t.includes("github.com")||t.includes("githubusercontent.com"))return void fetch(t.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then((t=>t.text())).then((t=>{this.setStyle(t),console.log("set remote css from github",t)}));if(t.includes("github.com")||t.includes("githubusercontent.com")){const e=t.replace("github.com","raw.githubusercontent.com").replace("/blob","");return void fetch(e).then((t=>t.text())).then((t=>this.setStyle(t)))}console.log("setRemoteCss",t);const e="zenuml-remote-css";let n=document.getElementById(e);n||(n=document.createElement("link"),n.id=e,n.rel="stylesheet",document.head.append(n)),n.href=t}},components:{Debug:l.default,WidthProvider:u.default,TipsDialog:a.default,DiagramTitle:o.default,SeqDiagram:s.default,Privacy:r.default}};e.Z=g},1708:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"DiagramTitle",props:["context"],computed:{title:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.content()}}};e.Z=n},3702:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(6791));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"WidthProvider",components:{Message:i.default},data:function(){return{text:"abcd"}},methods:{width:function(t,e){return console.log(t,e),this.text=t,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}};e.Z=o},4679:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"Privacy"};e.Z=n},8685:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=s(n(7319)),r=n(629),o=s(n(7088));function s(t){return t&&t.__esModule?t:{default:t}}const a=i.default.child({name:"LifeLine"});var u={name:"life-line",components:{Participant:o.default},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...(0,r.mapGetters)(["centerOf"]),...(0,r.mapState)(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){a.debug(`LifeLine mounted for ${this.entity.name}`),setTimeout((()=>{this.setTop(),this.$emit("rendered"),a.debug(`setTimeout after mounted for ${this.entity.name}`)}))},updated(){a.debug(`updated for ${this.entity.name}`),setTimeout((()=>{this.setTop(),this.$emit("rendered"),a.debug(`setTimeout after updated for ${this.entity.name}`)}))},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const t=this.$root.$el.querySelector(`[data-to="${this.entity.name}"]`);if(t&&"creation"===t.attributes["data-type"].value){a.debug(`First message to ${this.entity.name} is creation`);const e=this.$el.getBoundingClientRect().y,n=t.getBoundingClientRect().y;this.top=(n-e)/this.scale}else this.top=0}}};e.Z=u},2627:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(7817),r=u(n(6709)),o=n(629),s=u(n(2145)),a=n(1440);function u(t){return t&&t.__esModule?t:{default:t}}var c={name:"lifeline-group",props:["context"],computed:{...(0,o.mapGetters)(["centerOf"]),name(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.name())||void 0===e?void 0:e.getFormattedText()},offset(){return 0},left(){const t=this.entities[0].name,e=Math.max((0,s.default)(t,a.TextType.ParticipantName),"100");return this.centerOf(t)-e/2-8},right(){const t=Math.max((0,s.default)(this.entities.slice(-1).name,a.TextType.ParticipantName),"100"),e=this.entities.slice(0).pop().name;return this.centerOf(e)+t/2+20},entities(){return(0,i.Participants)(this.context).Array()}},components:{LifeLine:r.default}};e.Z=c},5857:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(7319)),r=n(7817),o=n(629),s=u(n(6709)),a=u(n(3389));function u(t){return t&&t.__esModule?t:{default:t}}const c=i.default.child({name:"LifeLineLayer"});var l={name:"life-line-layer",props:["context"],computed:{...(0,o.mapGetters)(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return"_STARTER_"===this.starterParticipant.name},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var t;return null===(t=this.context)||void 0===t?void 0:t.children.filter((t=>{const e=t instanceof r.GroupContext,n=t instanceof r.ParticipantContext;return e||n}))}},methods:{...(0,o.mapMutations)(["increaseGeneration"]),getParticipantEntity(t){return(0,r.Participants)(t).First()}},updated(){c.debug("LifeLineLayer updated")},mounted(){c.debug("LifeLineLayer mounted")},components:{LifeLine:s.default,LifeLineGroup:a.default}};e.Z=l},4989:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(3122);const r={actor:n(4347),boundary:n(25),control:n(7839),database:n(9318),entity:n(923),cloudwatch:n(3274),cloudfront:n(8756),cognito:n(1719),dynamodb:n(5130),ebs:n(1373),ec2:n(8216),ecs:n(166),efs:n(7786),elasticache:n(1848),elasticbeantalk:n(1518),elasticfilesystem:n(7786),glacier:n(9779),iam:n(9455),kinesis:n(3620),lambda:n(1855),lightsail:n(3382),rds:n(9567),redshift:n(9650),s3:n(7384),sns:n(2771),sqs:n(482),sagemaker:n(9847),vpc:n(2538),azureactivedirectory:n(4373),azurebackup:n(4647),azurecdn:n(9677),azuredatafactory:n(7716),azuredevops:n(9656),azurefunction:n(7318),azuresql:n(5628),cosmosdb:n(8764),logicapps:n(8202),virtualmachine:n(9141),bigtable:n(110),bigquery:n(4817),cloudcdn:n(4888),clouddns:n(6383),cloudinterconnect:n(4807),cloudloadbalancing:n(3052),cloudsql:n(6792),cloudstorage:n(6369),datalab:n(9011),dataproc:n(308),googleiam:n(3248),googlesecurity:n(6450),googlevpc:n(5596),pubsub:n(4771),securityscanner:n(1452),stackdriver:n(6964),visionapi:n(217)};var o={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 t;return r[null===(t=this.entity.type)||void 0===t?void 0:t.toLowerCase()]},backgroundColor(){try{if(!this.entity.color)return;return this.entity.color&&(0,i.removeAlpha)(this.entity.color)}catch(t){return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let t=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!t)return;let e=(0,i.brightnessIgnoreAlpha)(t);this.color=e>128?"#000":"#fff"}}};e.Z=o},9358:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(7592));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.stat()}},components:{Statement:i.default}};e.Z=o},1722:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=c(n(7084)),r=c(n(7802)),o=c(n(6572)),s=c(n(6344)),a=c(n(1519)),u=c(n(4587));function c(t){return t&&t.__esModule?t:{default:t}}r.default.registerLanguage("plaintext",o.default),r.default.registerLanguage("javascript",s.default),r.default.registerLanguage("bash",a.default),r.default.registerLanguage("yaml",u.default);const l={codespan(t){const e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi;let n=e.exec(t);return 3===(null===n||void 0===n?void 0:n.length)?`\n <code class="rest-api">\n <span class="http-method-${n[1].toLowerCase()}">${n[1]}</span>\n <span class="http-path">${n[2]}</span>\n </code>\n `:`<code>${t}</code>`}};i.default.setOptions({highlight:function(t,e){if(!e)return r.default.highlightAuto(t).value;const n=r.default.getLanguage(e)?e:"plaintext";return r.default.highlight(n,t).value},breaks:!0}),i.default.use({renderer:l});var M={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var t,e;return(null===(t=this.commentObj)||void 0===t?void 0:t.text)&&(0,i.default)(null===(e=this.commentObj)||void 0===e?void 0:e.text)||this.comment&&(0,i.default)(this.comment)},color(){var t;return null===(t=this.commentObj)||void 0===t?void 0:t.color}}};e.Z=M},2835:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=l(n(7319)),r=n(629),o=l(n(6293)),s=l(n(6791)),a=l(n(6462)),u=n(5011),c=l(n(7088));function l(t){return t&&t.__esModule?t:{default:t}}const M=i.default.child({name:"Creation"});var p={name:"creation",props:["context","comment","selfCallIndent"],computed:{...(0,r.mapGetters)(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let t=Math.abs(this.distance(this.to,this.from)),e=this.selfCallIndent||0;return t+(this.rightToLeft?e:-e)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function t(t){return t&&t.getFormattedText()||""}let e=this.creation.creationBody().assignment();if(!e)return"";let n=t(e.assignee());const i=t(e.type());return n+(i?":"+i:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),M.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),M.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){let t=()=>{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`)};t()},onClick(){this.onElementClick(u.CodeRange.from(this.context))}},components:{Participant:c.default,Comment:o.default,Occurrence:a.default,Message:s.default}};e.Z=p},7908:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r={name:"divider",props:["context"],computed:{...(0,i.mapGetters)(["participants","centerOf"]),width(){let t=this.participants.Names().pop();return this.centerOf(t)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().name().getFormattedText()}}};e.Z=r},8248:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var t,e,n;return null===(t=this.alt)||void 0===t||null===(e=t.ifBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()},condition:function(){var t;return this.conditionFromIfElseBlock(null===(t=this.alt)||void 0===t?void 0:t.ifBlock())},elseBlock:function(){var t,e,n;return null===(t=this.alt)||void 0===t||null===(e=t.elseBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()}},methods:{conditionFromIfElseBlock(t){var e,n;return null===t||void 0===t||null===(e=t.parExpr())||void 0===e||null===(n=e.condition())||void 0===n?void 0:n.getFormattedText()},blockInElseIfBlock(t){var e;return null===t||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6293)["default"]}};e.Z=o},1898:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var t,e;return null===(t=this.loop)||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()},condition:function(){var t,e,n;return null===(t=this.loop)||void 0===t||null===(e=t.parExpr())||void 0===e||null===(n=e.condition())||void 0===n?void 0:n.getFormattedText()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6293)["default"]}};e.Z=o},1089:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6293)["default"]}};e.Z=o},224:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6293)["default"]}};e.Z=o},5859:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(245));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[i.default],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var t,e,n;return null===(t=this.tcf)||void 0===t||null===(e=t.tryBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()},finallyBlock:function(){var t,e,n;return null===(t=this.tcf)||void 0===t||null===(e=t.finallyBlock())||void 0===e||null===(n=e.braceBlock())||void 0===n?void 0:n.block()}},methods:{exception(t){var e;return null===t||void 0===t||null===(e=t.invocation())||void 0===e?void 0:e.parameters().getText()},blockInCatchBlock(t){var e;return null===t||void 0===t||null===(e=t.braceBlock())||void 0===e?void 0:e.block()}},beforeCreate:function(){this.$options.components.Block=n(9350)["default"],this.$options.components.Comment=n(6293)["default"]}};e.Z=o},1874:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=l(n(6293)),r=l(n(6462)),o=l(n(6791)),s=n(629),a=l(n(7374)),u=n(5011),c=n(7817);function l(t){return t&&t.__esModule?t:{default:t}}var M={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...(0,s.mapGetters)(["participants","distance2","cursor","onElementClick"]),hasComment(){var t,e;return""!==(null===(t=this.commentObj)||void 0===t?void 0:t.text)||""!==(null===(e=this.commentObj)||void 0===e?void 0:e.color)},color(){var t;return null===(t=this.commentObj)||void 0===t?void 0:t.color},message:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.message()},providedFrom:function(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.message())||void 0===e?void 0:e.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let e=null===(t=this.message)||void 0===t?void 0:t.Assignment();return e?e.getText():""},signature:function(){var t;return null===(t=this.message)||void 0===t?void 0:t.SignatureText()},translateX:function(){const t=0;if(!this.rightToLeft&&!this.outOfBand)return t;const e=this.rightToLeft?this.to:this.providedFrom,n=this.distance2(this.origin,e),i=this.selfCallIndent||0;return n+t-i},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var t;return null===(t=this.message)||void 0===t?void 0:t.isCurrent(this.cursor)},showStarter(){return"_STARTER_"!==this.participants.Starter().name},isRootBlock(){var t,e;return(null===(t=this.context)||void 0===t||null===(e=t.parentCtx)||void 0===e?void 0:e.parentCtx)instanceof c.ProgContext},origin:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let t=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-t)},to:function(){var t,e;return null===(t=this.context)||void 0===t||null===(e=t.message())||void 0===e?void 0:e.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(u.CodeRange.from(this.context))}},components:{Message:o.default,SelfInvocation:a.default,Comment:i.default,Occurrence:r.default}};e.Z=M},372:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...(0,i.mapGetters)(["centerOf","messageLayerLeft"]),...(0,i.mapState)(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(t){return console.error(t),0}}},components:{Block:()=>Promise.resolve().then(n.bind(n,9350))}};e.Z=r},1139:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"self-invocation",props:["content","assignee"]};e.Z=n},6809:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(6293)),r=u(n(4291)),o=u(n(6791)),s=n(629),a=n(5011);function u(t){return t&&t.__esModule?t:{default:t}}function c(t){return null===t||void 0===t}var l={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...(0,s.mapGetters)(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.asyncMessage()},interactionWidth:function(){if(this.isSelf){var t;const e=100,n=10;return n*((null===(t=this.signature)||void 0===t?void 0:t.length)||0)+e}return Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var t,e;return null===(t=this.asyncMessage)||void 0===t||null===(e=t.content())||void 0===e?void 0:e.getFormattedText()},source:function(){var t,e;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.from())||void 0===e?void 0:e.getFormattedText())||this.from},target:function(){var t,e;return null===(t=this.asyncMessage)||void 0===t||null===(e=t.to())||void 0===e?void 0:e.getFormattedText()},isCurrent:function(){const t=this.asyncMessage.start.start,e=this.asyncMessage.stop.stop+1;return!(c(this.cursor)||c(t)||c(e))&&(this.cursor>=t&&this.cursor<=e)},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(a.CodeRange.from(this.context))}},components:{Comment:i.default,SelfInvocationAsync:r.default,Message:o.default}};e.Z=l},1084:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"self-invocation-async",props:["content"]};e.Z=n},252:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(6230));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return"async"===this.type},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:i.default}};e.Z=o},7933:(t,e)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var n={name:"point",props:["fill","rtl"]};e.Z=n},1936:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=c(n(6293)),r=c(n(6791)),o=n(629),s=n(5011),a=c(n(2145)),u=n(1440);function c(t){return t&&t.__esModule?t:{default:t}}var l={name:"return",props:["context","comment"],computed:{...(0,o.mapGetters)(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var t;return null===(t=this.context)||void 0===t?void 0:t.ret().asyncMessage()},width:function(){return this.isSelf?(0,a.default)(this.signature,u.TextType.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var t,e,n,i,r;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.content())||void 0===e?void 0:e.getFormattedText())||(null===(n=this.context)||void 0===n||null===(i=n.ret())||void 0===i||null===(r=i.expr())||void 0===r?void 0:r.getFormattedText())},source:function(){var t,e;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.from())||void 0===e?void 0:e.getFormattedText())||this.from},target:function(){var t,e,n,i;return(null===(t=this.asyncMessage)||void 0===t||null===(e=t.to())||void 0===e?void 0:e.getFormattedText())||(null===(n=this.context)||void 0===n||null===(i=n.ret())||void 0===i?void 0:i.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(s.CodeRange.from(this.context))}},components:{Comment:i.default,Message:r.default}};e.Z=l},3693:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=g(n(4470)),r=g(n(3746)),o=g(n(9852)),s=g(n(8890)),a=g(n(27)),u=g(n(2451)),c=g(n(4107)),l=g(n(4689)),M=g(n(7788)),p=g(n(5664)),h=g(n(2444));function g(t){return t&&t.__esModule?t:{default:t}}var N={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new h.default(this.comment)},subStatement:function(){let t=this,e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find((e=>null!==t.context[e]()));return e[n]}},components:{Creation:i.default,Interaction:r.default,InteractionAsync:o.default,FragmentAlt:s.default,FragmentPar:a.default,FragmentOpt:c.default,FragmentTryCatchFinally:l.default,FragmentLoop:u.default,Divider:p.default,Return:M.default}};e.Z=N},2321:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=n(629),r=o(n(9350));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...(0,i.mapGetters)(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const t=this.participants.Array().slice(0)[0].name;return this.centerOf(t)}return 0}},methods:{...(0,i.mapMutations)(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},components:{Block:r.default}};e.Z=s},9048:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=u(n(3814)),r=u(n(1653)),o=n(629),s=n(7817),a=n(245);function u(t){return t&&t.__esModule?t:{default:t}}var c={name:"seq-diagram",components:{LifeLineLayer:i.default,MessageLayer:r.default},computed:{...(0,o.mapGetters)(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+a.FRAGMENT_RIGHT_BASE_OFFSET},depth:function(){return(0,s.Depth)(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+a.FRAGMENT_LEFT_BASE_OFFSET}}};e.Z=c},3934:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;const i={actor:n(4347),boundary:n(25),control:n(7839),database:n(9318),entity:n(923),cloudwatch:n(3274),cloudfront:n(8756),cognito:n(1719),dynamodb:n(5130),ebs:n(1373),ec2:n(8216),ecs:n(166),efs:n(7786),elasticache:n(1848),elasticbeantalk:n(1518),elasticfilesystem:n(7786),glacier:n(9779),iam:n(9455),kinesis:n(3620),lambda:n(1855),lightsail:n(3382),rds:n(9567),redshift:n(9650),s3:n(7384),sns:n(2771),sqs:n(482),sagemaker:n(9847),vpc:n(2538),azureactivedirectory:n(4373),azurebackup:n(4647),azurecdn:n(9677),azuredatafactory:n(7716),azuredevops:n(9656),azurefunction:n(7318),azuresql:n(5628),cosmosdb:n(8764),logicapps:n(8202),virtualmachine:n(9141),bigtable:n(110),bigquery:n(4817),cloudcdn:n(4888),clouddns:n(6383),cloudinterconnect:n(4807),cloudloadbalancing:n(3052),cloudsql:n(6792),cloudstorage:n(6369),datalab:n(9011),dataproc:n(308),googleiam:n(3248),googlesecurity:n(6450),googlevpc:n(5596),pubsub:n(4771),securityscanner:n(1452),stackdriver:n(6964),visionapi:n(217)};var r={name:"IconList",props:["types"],computed:{},methods:{icon(t){return i[null===t||void 0===t?void 0:t.toLowerCase()]}}};e.Z=r},3824:(t,e,n)=>{"use strict";Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var i=r(n(3991));function r(t){return t&&t.__esModule?t:{default:t}}var o={name:"TipsDialog",components:{IconList:i.default},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(){this.$store.state.showTips=!1;try{var t;null===(t=this.$gtag)||void 0===t||t.event("close",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}}}};e.Z=o},245:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=e.FRAGMENT_RIGHT_BASE_OFFSET=e.FRAGMENT_LEFT_BASE_OFFSET=void 0;var i=n(7817),r=n(629);const o=30;e.FRAGMENT_LEFT_BASE_OFFSET=o;const s=100;e.FRAGMENT_RIGHT_BASE_OFFSET=s;var a={computed:{...(0,r.mapGetters)(["coordinates","distance2"]),localParticipants:function(){return[this.from,...(0,i.Participants)(this.context).ImplicitArray().map((t=>t.name))]},leftParticipant:function(){const t=this.coordinates.participantModels.map((t=>t.name));return t.find((t=>this.localParticipants.includes(t)))},rightParticipant:function(){const t=this.coordinates.participantModels.map((t=>t.name));return t.reverse().find((t=>this.localParticipants.includes(t)))},depth:function(){return(0,i.Depth)(this.context)},offsetX:function(){let t=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+t+o},fragmentStyle:function(){return{transform:"translateX("+-1*(this.offsetX+1)+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+o+s+"px"}}}};e["default"]=a},4282:(t,e,n)=>{var i=n(7228),r=["悋Ꜫ脳맭䅼㯧瞆奤","Fȕ\b\b\b\t","\t\t\t\t","\t\b\t\b\t\t\t\n\t\n\v","\t\v\f\t\f\r\t\r\t\t","\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t",'\t\t \t !\t!"',"\t\"#\t#$\t$%\t%&\t&'\t'(\t(",")\t)*\t*+\t+,\t,-\t-.\t./\t/","0\t01\t12\t23\t34\t45\t56\t6","7\t78\t89\t9:\t:;\t;<\t<=\t=",">\t>?\t?@\t@A\tAB\tBC\tCD\tD","E\tEF\tF","","","","","","","","","\b\b\b\b","\b\b\b\t\t\t\t\t\t","\t\t\n\n\n\n\v\v","\v\f\f\f\r\r\r","ç\n\r","è","","","","",""," !!",'""##$$%%&&',"&&&''''''","((((((((į\n()","))*****+++","++++++++++","++++++++++","++++œ\n+,,,,,",",,----....","//////0000","1112222333","3334444444","4555666666","6666666666","6Ɩ\n677777777","7777777777","777777777Ʋ\n7","888ƶ\n8\f88ƹ\v899",":::ƿ\n:\f::ǂ\v:;;Dž","\n;\r;;dž<<NJ\n<\r<<Nj<","<<ǐ\n<\f<<Ǔ\v<<<<Ǘ","\n<\r<<ǘ<Ǜ\n<====","=ǡ\n=\f==Ǥ\v===ǧ\n=>",">>>????@@@","@@ǵ\n@\f@@Ǹ\v@@@@","@AABBȁ\nB\rBBȂC","CCCDDDDEEȎ\nE\r","EEȏFFFFǶG","\t\v\r\b\t","\n\v\f\r!","#%')+-/13","579;=?A C!E\"G#I$K%M&O'Q(S)U*W","+Y,[-]._/a0c1e2g3i4k5m6o7q8s9u:w;y<{=}>?@A
B","CDEF\n2",";CHch2;C\\aac|C\\aac|2;","\f\f$$\f\f\v\v",'""""Ȩ',"\t","\v\r","","","","","!#","%')","+-","/1","35","79",";=?","AC","EG","IK","MO","QSU","WY","[]","_a","ce","gik","mo","qs","uw","y{","}","","
","","","\t¢\v","«\r³","»Æ","ÍÕ","ÙÜ","ßâ","ä!ê#í","%ð'ó",")ö+ø","-ú/ý","1Ā3Ă","5Ą7Ć9Ĉ",";Ċ=Č","?ĎAĐ","CĒEĔ","GĖIĘ","KĚMĜOġ","QĮSİ","UijWŒ","YŔ[ś","]ş_ţ","aũcŭeŰ","gŴiź","kƂmƕ","oƱqƳ","sƺuƼ","wDŽyǚ{ǜ","}ǨǬ","ǰǽ","
ȀȄ","Ȉȍ","ȑ","eq","puv","\b","t","gc","fq","pn","{ ¡","\b¡\b¢£","u£¤v¤¥c","¥¦v¦§k","§¨e¨©","©ª\bª\n«","¬c¬u®","{®¯p¯°","e°±±²\b","²\f³´c","´µyµ¶c","¶·k·¸v¸","¹¹º\bº","»¼q¼","½x½¾g¾¿","t¿ÀtÀÁ","kÁÂfÂÃg","ÃÄÄÅ\b","ÅÆÇx","ÇÈqÈÉk","ÉÊfÊË","ËÌ\b\bÌÍ","ÎvÎÏkÏÐ","vÐÑnÑÒ","gÒÓÓÔ\b\t","ÔÕÖ<","Ö×ר\b\n","ØÙÚ>","ÚÛ>Û","ÜÝ@ÝÞ@Þ","ßà/à","á@áâ","ã\tãä","æ%åçæ","åçèè","æèéé"," êë~ëì",'~ì"íî',"(îï(ï$","ðñ?ñò?","ò&óô#ô","õ?õ(ö÷","@÷*øù",">ù,úû@","ûü?ü.","ýþ>þÿ?ÿ","0Āā-ā2","Ăă/ă4","Ąą,ą6","Ćć1ć8","Ĉĉ'ĉ:Ċ","ċ`ċ<Čč","#č>Ďď","=ď@Đđ.","đBĒē?","ēDĔĕ*ĕ","FĖė+ėH","Ęę}ęJ","ĚěěL","ĜĝvĝĞt","ĞğwğĠg","ĠNġĢhĢ","ģcģĤnĤĥ","uĥĦgĦP","ħĨpĨĩk","ĩįnĪīp","īĬwĬĭnĭ","įnĮħĮ","ĪįRİ","ıkıIJhIJT","ijĴgĴĵ","nĵĶuĶķg","ķVĸĹy","ĹĺjĺĻkĻ","ļnļœgĽľ","hľĿqĿœ","tŀŁhŁłq","łŃtŃńg","ńŅcŅņeņ","œjŇňhňʼn","qʼnŊtŊŋ","GŋŌcŌōe","ōœjŎŏn","ŏŐqŐőqő","œrŒĸŒ","ĽŒŀŒ","ŇŒŎœ","XŔŕtŕŖ","gŖŗvŗŘ","wŘřtřŚp","ŚZśŜp","ŜŝgŝŞyŞ","\\şŠrŠš","cšŢtŢ^","ţŤiŤťt","ťŦqŦŧw","ŧŨrŨ`ũ","ŪqŪūrūŬ","vŬbŭŮ","cŮůuůd","ŰűvűŲt","Ųų{ųfŴ","ŵeŵŶcŶŷ","vŷŸeŸŹ","jŹhźŻh","ŻżkżŽp","Žžcžſnſ","ƀnƀƁ{Ɓj","ƂƃkƃƄ","pƄlƅƆB","ƆƇUƇƈv","ƈƉcƉƊtƊ","ƋvƋƌgƌƖ","tƍƎBƎƏ","uƏƐvƐƑc","ƑƒtƒƓv","ƓƔgƔƖtƕ","ƅƕƍƖ","nƗƘBƘƙ","Tƙƚgƚƛ","vƛƜwƜƝt","ƝƲpƞƟB","ƟƠtƠơgơ","ƢvƢƣwƣƤ","tƤƲpƥƦ","BƦƧTƧƨg","ƨƩrƩƪn","ƪƲ{ƫƬBƬ","ƭtƭƮgƮƯ","rƯưnưƲ","{ƱƗƱƞ","ƱƥƱƫ","ƲpƳƷ","Bƴƶ\tƵƴ","ƶƹƷƵ","ƷƸƸr","ƹƷƺƻ0","ƻtƼǀ\t","ƽƿ\tƾƽ","ƿǂǀƾ","ǀǁǁv","ǂǀǃDž\t","DŽǃDždž","džDŽdžLJ","LJxLjNJ\t","ljLjNJNj","NjljNjnj","njǍǍǑ0","ǎǐ\tǏǎ","ǐǓǑǏ","ǑǒǒǛ","ǓǑǔǖ0","ǕǗ\tǖǕ","Ǘǘǘǖ","ǘǙǙǛ","ǚljǚǔ","ǛzǜǢ$ǝ","ǡ\nǞǟ$ǟǡ","$ǠǝǠǞ","ǡǤǢǠ","ǢǣǣǦ","ǤǢǥǧ","\tǦǥǦǧ","ǧ|Ǩǩ","\tǩǪǪǫ","\b>ǫ~Ǭǭ\t\b","ǭǮǮǯ\b?","ǯǰDZ1","DZDz1DzǶ","dzǵ\vǴdz","ǵǸǶǷ","ǶǴǷǹ","ǸǶǹǺ\f","ǺǻǻǼ\b@Ǽ","ǽǾ\vǾ","ǿȁ\nȀ","ǿȁȂȂ","ȀȂȃȃ","Ȅȅ\tȅ","ȆȆȇ\bCȇ","Ȉȉ\t\tȉȊ","Ȋȋ\bDȋ","ȌȎ\nȍȌ","Ȏȏȏȍ","ȏȐȐ","ȑȒ\tȒȓ","ȓȔ\bFȔ","èĮŒƕƱƷǀ","džNjǑǘǚǠǢǦǶȂȏ\b","",""].join(""),o=(new i.atn.ATNDeserializer).deserialize(r),s=o.decisionToState.map((function(t,e){return new i.dfa.DFA(t,e)}));function a(t){return i.Lexer.call(this,t),this._interp=new i.atn.LexerATNSimulator(this,o,s,new i.PredictionContextCache),this}a.prototype=Object.create(i.Lexer.prototype),a.prototype.constructor=a,Object.defineProperty(a.prototype,"atn",{get:function(){return o}}),a.EOF=i.Token.EOF,a.CONSTANT=1,a.READONLY=2,a.STATIC=3,a.ASYNC=4,a.AWAIT=5,a.OVERRIDE=6,a.VOID=7,a.TITLE=8,a.COL=9,a.SOPEN=10,a.SCLOSE=11,a.ARROW=12,a.COLOR=13,a.OR=14,a.AND=15,a.EQ=16,a.NEQ=17,a.GT=18,a.LT=19,a.GTEQ=20,a.LTEQ=21,a.PLUS=22,a.MINUS=23,a.MULT=24,a.DIV=25,a.MOD=26,a.POW=27,a.NOT=28,a.SCOL=29,a.COMMA=30,a.ASSIGN=31,a.OPAR=32,a.CPAR=33,a.OBRACE=34,a.CBRACE=35,a.TRUE=36,a.FALSE=37,a.NIL=38,a.IF=39,a.ELSE=40,a.WHILE=41,a.RETURN=42,a.NEW=43,a.PAR=44,a.GROUP=45,a.OPT=46,a.AS=47,a.TRY=48,a.CATCH=49,a.FINALLY=50,a.IN=51,a.STARTER_LXR=52,a.ANNOTATION_RET=53,a.ANNOTATION=54,a.DOT=55,a.ID=56,a.INT=57,a.FLOAT=58,a.STRING=59,a.CR=60,a.SPACE=61,a.COMMENT=62,a.OTHER=63,a.EVENT_PAYLOAD_LXR=64,a.EVENT_END=65,a.WS=66,a.TITLE_CONTENT=67,a.TITLE_END=68,a.COMMENT_CHANNEL=2,a.MODIFIER_CHANNEL=3,a.EVENT=1,a.TITLE_MODE=2,a.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"],a.prototype.modeNames=["DEFAULT_MODE","EVENT","TITLE_MODE"],a.prototype.literalNames=[null,"'const'","'readonly'","'static'","'async'","'await'","'override'","'void'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"],a.prototype.symbolicNames=[null,"CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],a.prototype.ruleNames=["CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],a.prototype.grammarFileName="sequenceLexer.g4",e.sequenceLexer=a},9918:(t,e,n)=>{var i=n(7228),r=n(8614).sequenceParserListener,o=["悋Ꜫ脳맭䅼㯧瞆奤","Fȫ\t\t\t","\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f","\r\t\r\t\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t \t !\t!"\t"#\t#$\t$',"%\t%&\t&'\t'(\t()\t)*\t*+\t+",",\t,-\t-.\t./\t/0\t01\t12\t2","3\t34\t45\t5l\n","p\n","v\ny\n","~\n","\n","\n\r","\n\f\v","\n","\n\n","\f\v","£\n","¨\nª\n","¯\n","²\nµ\n","\b\bº\n\b\b\b½\n\b\b","\b\bÁ\n\b\b\bÄ\n\b\b\bÇ","\n\b\b\b\bË\n\b\t\t\t","\t\t\t\t\tÔ\n\t\t\t\t","Ø\n\t\tÚ\n\t\n\n\n\nß\n","\n\v\v\f\f\r\r","è\n\ré","î\nñ\n","ö\n","ø\nü\n","\fÿ\v","Ą\n\fć\v","","đ\n","Ę\n","ĝ\n","Ģ\n","ħ\n","Ī\n","İ\nij\n","ĸ\n","Ļ\n","ŀ\n","Ņ\n","Ō\n","ő\n","Ŗ\n\fř\v","","š\nť\n","Ū\n","","Ų\n","Ż\n","Ž\n !!",'"""""Ɖ\n"\f""ƌ\v','"""Ə\n"##$$$',"$Ɩ\n$\f$$ƙ\v$$$Ɯ\n$%","%%Ơ\n%&&&'''Ƨ","\n'\f''ƪ\v'''ƭ\n'(","(()))ƴ\n)))**","*+++ƽ\n+\f++ǀ\v++","+ǃ\n+,,,,----","-...///Ǔ\n///","00000000Ǟ\n01","111111111ǩ\n1","1111111111Ǵ","\n1111111111","1111111111","111ȋ\n1\f11Ȏ\v122","2222ȕ\n233333","33333Ƞ\n34444ȥ","\n455555`6",'\b\n\f "$&(*',",.02468:<>@BDFHJLNPRTVXZ\\^`bdfh\r::==","\f\f\r\r","!!","",";<&'ɤ}","\b","©\n´\f¶","ÊÙ","Þà","âä","ç÷","ù ė",'"Ĝ$ġ',"&ģ(ĩ","*Ĵ,Ő",".Œ0Ś","2Ŝ4Ş6Ţ","8ũ:ż","<ž>ƀ","@ƂBƎ","DƐFƒ","HƟJơLƤ","NƮPƱ","RƷTƺ","VDŽXLj","ZǍ\\ǐ","^ǝ`dzbȔ","dȟfȤ","hȦjl","kjkllm","m~npon","oppq","qrrss~","tvutuv","vxwyxw","xyyz","z{{||~","}k}o}u","~\n","EF","","\b","
\b","
","","\b","\b","","","","\n","","/\f","","$","\b","","","ª% ","¢/¡£\f¢¡","¢££¤","¤ª$¥§","/¦¨\f§¦","§¨¨ª","©© ","©¥ª\t","«±6¬®",'"¯\f®',"®¯¯°","°²#±¬","±²²µ","³µ8´«","´³µ\v","¶·\t·\r","¸º\v¹¸","¹ºº¼","»½\t¼»","¼½½¾","¾À\f¿Á\r","À¿ÀÁ","ÁÃÂÄ\n","ÃÂÃÄ","ÄÆÅÇ","ÆÅÆÇ","ÇËÈË\t","ÉË\vʹ","ÊÈÊÉ","ËÌÍ\f","ÍÎ\fÎÏ\rÏ","ÚÐÑ\fÑ","Ó\fÒÔÓ","ÒÓÔÔ","ÚÕ×\tÖ","Ø\t×Ö×","ØØÚÙ","ÌÙÐÙ","ÕÚÛ","Ü1Üß\fÝß","1ÞÛÞÝ","ßàá","8áâã","\tãäå",";åæè"," çæèé","éçéê","êëí",",ìî`1íì","íîîð","ïñðï","ðññø","òó7óõ:","ôöCõô","õööø","÷ë÷ò","øùý","úü\tûú","üÿýû","ýþþĀ","ÿýĀā\f","āąĂĄ\t","ăĂĄć","ąăąĆ","Ććą",'ĈĘT+ĉĘ"Ċ',"Ę$ċĘ^0ČĘ","&čĘ*ĎĐ:","ďđCĐď","ĐđđĘ","ĒĘēĘ","ĔĘL'ĕĖAĖ","Ę\bėĈė","ĉėĊė","ċėČė","čėĎė","Ēėēė","ĔėĕĘ","!ęĚ.Ěĝ","\\/ěĝ.Ĝę","Ĝěĝ#","Ğğ0ğĢ\\/","ĠĢ0ġĞ","ġĠĢ%","ģĦ(Ĥħ","ĥħ\\/ĦĤĦ","ĥĦħħ","'ĨĪ8ĩĨ","ĩĪĪī","īĬ-ĬIJ",'> ĭį"ĮİF$',"įĮįİ","İııij#","IJĭIJij","ij)Ĵķ,ĵ","ĸĶĸ\\/ķĵ","ķĶķĸ","ĸ+ĹĻ","8ĺĹĺĻ","ĻńļĽ","0Ľľľŀ","ĿļĿŀ","ŀŁŁł","2łŃ9ŃŅ","ńĿńŅ","Ņņņő",".Ňő8ňʼn0","ʼnŊŊŌ","ŋňŋŌ","ŌōōŎ2","Ŏŏ9ŏő","ŐĺŐŇ","Őŋő-","Œŗ4œŔ9","ŔŖ4ŕœ","Ŗřŗŕ","ŗŘŘ/","řŗŚś\t","ś1Ŝŝ\tŝ","3ŞŠD#şš","6ŠşŠš","š5ŢŤ",'"ţťF$Ťţ',"ŤťťŦ","Ŧŧ#ŧ7","ŨŪ@!ũŨũ","ŪŪūū",'ŬB"Ŭŭ!ŭ9',"Ůů0ůŰ","ŰŲűŮ","űŲŲų","ųŴ2Ŵŵ\v","ŵŶ<ŶŽ","ŷŸ0Ÿź\t","ŹŻ2źŹ","źŻŻŽ","żűżŷ","Ž;žſB","ſ=ƀƁ\tƁ","?Ƃƃ\tƃA","ƄƏb2ƅƊ:","ƆƇ ƇƉ:","ƈƆƉƌ","ƊƈƊƋ","ƋƏƌƊ","ƍƏ=ƎƄ","ƎƅƎƍ","ƏCƐƑ\tƑ","EƒƗH%ƓƔ"," ƔƖH%ƕƓ","ƖƙƗƕ","ƗƘƘƛ","ƙƗƚƜ ","ƛƚƛƜ","ƜGƝƠJ&ƞ","Ơ`1ƟƝƟƞ","ƠIơƢ","@!Ƣƣ:ƣK","ƤƨN(ƥƧP)Ʀƥ","ƧƪƨƦ","ƨƩƩƬ","ƪƨƫƭ","R*ƬƫƬƭ","ƭMƮƯ","2Ưư\\/ưO","ƱƳ3Ʋƴ6Ƴ","ƲƳƴƴ","ƵƵƶ\\/ƶQ","ƷƸ4Ƹƹ","\\/ƹSƺƾV,ƻ","ƽX-Ƽƻƽǀ","ƾƼƾƿ","ƿǂǀƾ","ǁǃZ.ǂǁ","ǂǃǃU","DŽDž)Dždž","d3džLJ\\/LJWLj","lj*ljNJ)NJNj","d3Njnj\\/njY","Ǎǎ*ǎǏ\\/Ǐ[","ǐǒ$ǑǓ","ǒǑǒǓ","ǓǔǔǕ","%Ǖ]ǖǗ+","Ǘǘd3ǘǙ\\/ǙǞ","ǚǛ+ǛǞ","d3ǜǞ+ǝǖ","ǝǚǝǜ","Ǟ_ǟǠ\b1","ǠǴb2ǡǢǢ","Ǵ`1ǣǤǤǴ","`1ǥǦ2Ǧǧ9","ǧǩǨǥ","ǨǩǩǪ","ǪǴ.ǫǴ&",'Ǭǭ"ǭǮ`1Ǯǯ',"#ǯǴǰDZ","8DZDz`1DzǴ","dzǟdzǡ","dzǣdzǨ","dzǫdzǬ","dzǰǴȌ","ǵǶ\f\rǶǷ\t","Ƿȋ`1Ǹǹ\f\fǹǺ\t","\bǺȋ`1\rǻǼ\f\v","Ǽǽ\t\tǽȋ`1\fǾǿ\f\n","ǿȀ\t\nȀȋ`1\vȁȂ","\f\tȂȃȃȋ","`1\nȄȅ\f\bȅȆ","Ȇȋ`1\tȇȈ\fȈȉ","ȉȋ`1\bȊǵ","ȊǸȊǻ","ȊǾȊȁ","ȊȄȊȇ","ȋȎȌȊ","Ȍȍȍa","ȎȌȏȕ\t\v","Ȑȕ\t\fȑȕ:Ȓ","ȕ=ȓȕ(Ȕȏ","ȔȐȔȑ","ȔȒȔȓ","ȕcȖȗ",'"ȗȘf4Șș#','șȠȚț"','țȠf4Ȝȝ"ȝ','Ƞ#ȞȠ"ȟȖ',"ȟȚȟȜ","ȟȞȠe","ȡȥb2Ȣȥ","`1ȣȥh5Ȥȡ","ȤȢȤȣ","ȥgȦȧ:ȧ","Ȩ5Ȩȩ:ȩi","Nkoux}","¢§©®±´¹¼ÀÃÆÊ","Ó×ÙÞéíðõ÷ýąĐ","ėĜġĦĩįIJķĺĿńŋ","ŐŗŠŤũűźżƊƎƗƛ","ƟƨƬƳƾǂǒǝǨdzȊȌ","ȔȟȤ"].join(""),s=(new i.atn.ATNDeserializer).deserialize(o),a=s.decisionToState.map((function(t,e){return new i.dfa.DFA(t,e)})),u=new i.PredictionContextCache,c=[null,"'const'","'readonly'","'static'","'async'","'await'","'override'","'void'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"],l=[null,"CONSTANT","READONLY","STATIC","ASYNC","AWAIT","OVERRIDE","VOID","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","SPACE","COMMENT","OTHER","EVENT_PAYLOAD_LXR","EVENT_END","WS","TITLE_CONTENT","TITLE_END"],M=["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","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"];function p(t){return i.Parser.call(this,t),this._interp=new i.atn.ParserATNSimulator(this,s,a,u),this.ruleNames=M,this.literalNames=c,this.symbolicNames=l,this}function h(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_prog,this}function g(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_title,this}function N(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_head,this}function D(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_group,this}function I(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_starterExp,this}function y(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_starter,this}function d(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_participant,this}function T(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_stereotype,this}function x(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_label,this}function L(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_participantType,this}function j(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_name,this}function f(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_width,this}function w(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_block,this}function E(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_ret,this}function A(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_divider,this}function C(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_stat,this._OTHER=null,this}function S(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_par,this}function z(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_opt,this}function v(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_creation,this}function m(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_creationBody,this}function O(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_message,this}function b(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_messageBody,this}function k(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_func,this}function _(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_from,this}function R(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_to,this}function U(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_signature,this}function Y(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_invocation,this}function P(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_assignment,this}function Q(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_asyncMessage,this}function B(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_content,this}function Z(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_construct,this}function G(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_type,this}function F(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_assignee,this}function H(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_methodName,this}function W(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parameters,this}function V(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parameter,this}function X(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_declaration,this}function J(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_tcf,this}function $(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_tryBlock,this}function K(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_catchBlock,this}function q(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_finallyBlock,this}function tt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_alt,this}function et(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_ifBlock,this}function nt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_elseIfBlock,this}function it(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_elseBlock,this}function rt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_braceBlock,this}function ot(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_loop,this}function st(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_expr,this}function at(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function ut(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function ct(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function lt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Mt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function pt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function ht(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function gt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Nt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function Dt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function It(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function yt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function dt(t,e){return st.call(this,t),this.op=null,st.prototype.copyFrom.call(this,e),this}function Tt(t,e){return st.call(this,t),st.prototype.copyFrom.call(this,e),this}function xt(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_atom,this}function Lt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function jt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function ft(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function wt(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function Et(t,e){return xt.call(this,t),xt.prototype.copyFrom.call(this,e),this}function At(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_parExpr,this}function Ct(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_condition,this}function St(t,e,n){return void 0===e&&(e=null),void 0!==n&&null!==n||(n=-1),i.ParserRuleContext.call(this,e,n),this.parser=t,this.ruleIndex=p.RULE_inExpr,this}p.prototype=Object.create(i.Parser.prototype),p.prototype.constructor=p,Object.defineProperty(p.prototype,"atn",{get:function(){return s}}),p.EOF=i.Token.EOF,p.CONSTANT=1,p.READONLY=2,p.STATIC=3,p.ASYNC=4,p.AWAIT=5,p.OVERRIDE=6,p.VOID=7,p.TITLE=8,p.COL=9,p.SOPEN=10,p.SCLOSE=11,p.ARROW=12,p.COLOR=13,p.OR=14,p.AND=15,p.EQ=16,p.NEQ=17,p.GT=18,p.LT=19,p.GTEQ=20,p.LTEQ=21,p.PLUS=22,p.MINUS=23,p.MULT=24,p.DIV=25,p.MOD=26,p.POW=27,p.NOT=28,p.SCOL=29,p.COMMA=30,p.ASSIGN=31,p.OPAR=32,p.CPAR=33,p.OBRACE=34,p.CBRACE=35,p.TRUE=36,p.FALSE=37,p.NIL=38,p.IF=39,p.ELSE=40,p.WHILE=41,p.RETURN=42,p.NEW=43,p.PAR=44,p.GROUP=45,p.OPT=46,p.AS=47,p.TRY=48,p.CATCH=49,p.FINALLY=50,p.IN=51,p.STARTER_LXR=52,p.ANNOTATION_RET=53,p.ANNOTATION=54,p.DOT=55,p.ID=56,p.INT=57,p.FLOAT=58,p.STRING=59,p.CR=60,p.SPACE=61,p.COMMENT=62,p.OTHER=63,p.EVENT_PAYLOAD_LXR=64,p.EVENT_END=65,p.WS=66,p.TITLE_CONTENT=67,p.TITLE_END=68,p.RULE_prog=0,p.RULE_title=1,p.RULE_head=2,p.RULE_group=3,p.RULE_starterExp=4,p.RULE_starter=5,p.RULE_participant=6,p.RULE_stereotype=7,p.RULE_label=8,p.RULE_participantType=9,p.RULE_name=10,p.RULE_width=11,p.RULE_block=12,p.RULE_ret=13,p.RULE_divider=14,p.RULE_stat=15,p.RULE_par=16,p.RULE_opt=17,p.RULE_creation=18,p.RULE_creationBody=19,p.RULE_message=20,p.RULE_messageBody=21,p.RULE_func=22,p.RULE_from=23,p.RULE_to=24,p.RULE_signature=25,p.RULE_invocation=26,p.RULE_assignment=27,p.RULE_asyncMessage=28,p.RULE_content=29,p.RULE_construct=30,p.RULE_type=31,p.RULE_assignee=32,p.RULE_methodName=33,p.RULE_parameters=34,p.RULE_parameter=35,p.RULE_declaration=36,p.RULE_tcf=37,p.RULE_tryBlock=38,p.RULE_catchBlock=39,p.RULE_finallyBlock=40,p.RULE_alt=41,p.RULE_ifBlock=42,p.RULE_elseIfBlock=43,p.RULE_elseBlock=44,p.RULE_braceBlock=45,p.RULE_loop=46,p.RULE_expr=47,p.RULE_atom=48,p.RULE_parExpr=49,p.RULE_condition=50,p.RULE_inExpr=51,h.prototype=Object.create(i.ParserRuleContext.prototype),h.prototype.constructor=h,h.prototype.EOF=function(){return this.getToken(p.EOF,0)},h.prototype.title=function(){return this.getTypedRuleContext(g,0)},h.prototype.head=function(){return this.getTypedRuleContext(N,0)},h.prototype.block=function(){return this.getTypedRuleContext(w,0)},h.prototype.enterRule=function(t){t instanceof r&&t.enterProg(this)},h.prototype.exitRule=function(t){t instanceof r&&t.exitProg(this)},p.ProgContext=h,p.prototype.prog=function(){var t=new h(this,this._ctx,this.state);this.enterRule(t,0,p.RULE_prog);var e=0;try{this.state=123,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=105,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=104,this.title()),this.state=107,this.match(p.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=109,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=108,this.title()),this.state=111,this.head(),this.state=112,this.match(p.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=115,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE&&(this.state=114,this.title()),this.state=118,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,3,this._ctx);1===n&&(this.state=117,this.head()),this.state=120,this.block(),this.state=121,this.match(p.EOF);break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},g.prototype=Object.create(i.ParserRuleContext.prototype),g.prototype.constructor=g,g.prototype.TITLE=function(){return this.getToken(p.TITLE,0)},g.prototype.TITLE_CONTENT=function(){return this.getToken(p.TITLE_CONTENT,0)},g.prototype.TITLE_END=function(){return this.getToken(p.TITLE_END,0)},g.prototype.enterRule=function(t){t instanceof r&&t.enterTitle(this)},g.prototype.exitRule=function(t){t instanceof r&&t.exitTitle(this)},p.TitleContext=g,p.prototype.title=function(){var t=new g(this,this._ctx,this.state);this.enterRule(t,2,p.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=125,this.match(p.TITLE),this.state=126,this.match(p.TITLE_CONTENT),this.state=128,this._errHandler.sync(this),e=this._input.LA(1),e===p.TITLE_END&&(this.state=127,this.match(p.TITLE_END))}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},N.prototype=Object.create(i.ParserRuleContext.prototype),N.prototype.constructor=N,N.prototype.group=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(D):this.getTypedRuleContext(D,t)},N.prototype.participant=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,t)},N.prototype.starterExp=function(){return this.getTypedRuleContext(I,0)},N.prototype.enterRule=function(t){t instanceof r&&t.enterHead(this)},N.prototype.exitRule=function(t){t instanceof r&&t.exitHead(this)},p.HeadContext=N,p.prototype.head=function(){var t=new N(this,this._ctx,this.state);this.enterRule(t,4,p.RULE_head);try{this.state=144,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=132,this._errHandler.sync(this);var n=1;do{switch(n){case 1:switch(this.state=132,this._errHandler.sync(this),this._input.LA(1)){case p.GROUP:this.state=130,this.group();break;case p.SOPEN:case p.LT:case p.ANNOTATION:case p.ID:case p.STRING:this.state=131,this.participant();break;default:throw new i.error.NoViableAltException(this)}break;default:throw new i.error.NoViableAltException(this)}this.state=134,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,7,this._ctx)}while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=140,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,9,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER){if(1===n)switch(this.state=138,this._errHandler.sync(this),this._input.LA(1)){case p.GROUP:this.state=136,this.group();break;case p.SOPEN:case p.LT:case p.ANNOTATION:case p.ID:case p.STRING:this.state=137,this.participant();break;default:throw new i.error.NoViableAltException(this)}this.state=142,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=143,this.starterExp();break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},D.prototype=Object.create(i.ParserRuleContext.prototype),D.prototype.constructor=D,D.prototype.GROUP=function(){return this.getToken(p.GROUP,0)},D.prototype.OBRACE=function(){return this.getToken(p.OBRACE,0)},D.prototype.CBRACE=function(){return this.getToken(p.CBRACE,0)},D.prototype.name=function(){return this.getTypedRuleContext(j,0)},D.prototype.participant=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(d):this.getTypedRuleContext(d,t)},D.prototype.enterRule=function(t){t instanceof r&&t.enterGroup(this)},D.prototype.exitRule=function(t){t instanceof r&&t.exitGroup(this)},p.GroupContext=D,p.prototype.group=function(){var t=new D(this,this._ctx,this.state);this.enterRule(t,6,p.RULE_group);var e=0;try{this.state=167,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,15,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=146,this.match(p.GROUP),this.state=148,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=147,this.name()),this.state=150,this.match(p.OBRACE),this.state=154,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.SOPEN||e===p.LT||0==(e-54&-32)&&0!==(1<<e-54&(1<<p.ANNOTATION-54|1<<p.ID-54|1<<p.STRING-54)))this.state=151,this.participant(),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);this.state=157,this.match(p.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=158,this.match(p.GROUP),this.state=160,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=159,this.name()),this.state=162,this.match(p.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=163,this.match(p.GROUP),this.state=165,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,14,this._ctx);1===n&&(this.state=164,this.name());break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},I.prototype=Object.create(i.ParserRuleContext.prototype),I.prototype.constructor=I,I.prototype.STARTER_LXR=function(){return this.getToken(p.STARTER_LXR,0)},I.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},I.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},I.prototype.starter=function(){return this.getTypedRuleContext(y,0)},I.prototype.ANNOTATION=function(){return this.getToken(p.ANNOTATION,0)},I.prototype.enterRule=function(t){t instanceof r&&t.enterStarterExp(this)},I.prototype.exitRule=function(t){t instanceof r&&t.exitStarterExp(this)},p.StarterExpContext=I,p.prototype.starterExp=function(){var t=new I(this,this._ctx,this.state);this.enterRule(t,8,p.RULE_starterExp);var e=0;try{switch(this.state=178,this._errHandler.sync(this),this._input.LA(1)){case p.STARTER_LXR:this.enterOuterAlt(t,1),this.state=169,this.match(p.STARTER_LXR),this.state=175,this._errHandler.sync(this),e=this._input.LA(1),e===p.OPAR&&(this.state=170,this.match(p.OPAR),this.state=172,this._errHandler.sync(this),e=this._input.LA(1),e!==p.ID&&e!==p.STRING||(this.state=171,this.starter()),this.state=174,this.match(p.CPAR));break;case p.ANNOTATION:this.enterOuterAlt(t,2),this.state=177,this.match(p.ANNOTATION);break;default:throw new i.error.NoViableAltException(this)}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},y.prototype=Object.create(i.ParserRuleContext.prototype),y.prototype.constructor=y,y.prototype.ID=function(){return this.getToken(p.ID,0)},y.prototype.STRING=function(){return this.getToken(p.STRING,0)},y.prototype.enterRule=function(t){t instanceof r&&t.enterStarter(this)},y.prototype.exitRule=function(t){t instanceof r&&t.exitStarter(this)},p.StarterContext=y,p.prototype.starter=function(){var t=new y(this,this._ctx,this.state);this.enterRule(t,10,p.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=180,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},d.prototype=Object.create(i.ParserRuleContext.prototype),d.prototype.constructor=d,d.prototype.name=function(){return this.getTypedRuleContext(j,0)},d.prototype.participantType=function(){return this.getTypedRuleContext(L,0)},d.prototype.stereotype=function(){return this.getTypedRuleContext(T,0)},d.prototype.width=function(){return this.getTypedRuleContext(f,0)},d.prototype.label=function(){return this.getTypedRuleContext(x,0)},d.prototype.COLOR=function(){return this.getToken(p.COLOR,0)},d.prototype.enterRule=function(t){t instanceof r&&t.enterParticipant(this)},d.prototype.exitRule=function(t){t instanceof r&&t.exitParticipant(this)},p.ParticipantContext=d,p.prototype.participant=function(){var t=new d(this,this._ctx,this.state);this.enterRule(t,12,p.RULE_participant);var e=0;try{this.state=200,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,24,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=183,this._errHandler.sync(this),e=this._input.LA(1),e===p.ANNOTATION&&(this.state=182,this.participantType()),this.state=186,this._errHandler.sync(this),e=this._input.LA(1),e!==p.SOPEN&&e!==p.LT||(this.state=185,this.stereotype()),this.state=188,this.name(),this.state=190,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,21,this._ctx);1===n&&(this.state=189,this.width()),this.state=193,this._errHandler.sync(this),e=this._input.LA(1),e===p.AS&&(this.state=192,this.label()),this.state=196,this._errHandler.sync(this),e=this._input.LA(1),e===p.COLOR&&(this.state=195,this.match(p.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=198,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=199,this.participantType();break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},T.prototype=Object.create(i.ParserRuleContext.prototype),T.prototype.constructor=T,T.prototype.SOPEN=function(){return this.getToken(p.SOPEN,0)},T.prototype.name=function(){return this.getTypedRuleContext(j,0)},T.prototype.SCLOSE=function(){return this.getToken(p.SCLOSE,0)},T.prototype.GT=function(){return this.getToken(p.GT,0)},T.prototype.LT=function(){return this.getToken(p.LT,0)},T.prototype.enterRule=function(t){t instanceof r&&t.enterStereotype(this)},T.prototype.exitRule=function(t){t instanceof r&&t.exitStereotype(this)},p.StereotypeContext=T,p.prototype.stereotype=function(){var t=new T(this,this._ctx,this.state);this.enterRule(t,14,p.RULE_stereotype);var e=0;try{this.state=215,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,27,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=202,this.match(p.SOPEN),this.state=203,this.name(),this.state=204,this.match(p.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=206,this.match(p.SOPEN),this.state=207,this.name(),this.state=209,this._errHandler.sync(this),e=this._input.LA(1),e===p.GT&&(this.state=208,this.match(p.GT));break;case 3:this.enterOuterAlt(t,3),this.state=211,e=this._input.LA(1),e!==p.SOPEN&&e!==p.LT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=213,this._errHandler.sync(this),e=this._input.LA(1),e!==p.SCLOSE&&e!==p.GT||(this.state=212,e=this._input.LA(1),e!==p.SCLOSE&&e!==p.GT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()));break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},x.prototype=Object.create(i.ParserRuleContext.prototype),x.prototype.constructor=x,x.prototype.AS=function(){return this.getToken(p.AS,0)},x.prototype.name=function(){return this.getTypedRuleContext(j,0)},x.prototype.enterRule=function(t){t instanceof r&&t.enterLabel(this)},x.prototype.exitRule=function(t){t instanceof r&&t.exitLabel(this)},p.LabelContext=x,p.prototype.label=function(){var t=new x(this,this._ctx,this.state);this.enterRule(t,16,p.RULE_label);try{this.state=220,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=217,this.match(p.AS),this.state=218,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=219,this.match(p.AS);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},L.prototype=Object.create(i.ParserRuleContext.prototype),L.prototype.constructor=L,L.prototype.ANNOTATION=function(){return this.getToken(p.ANNOTATION,0)},L.prototype.enterRule=function(t){t instanceof r&&t.enterParticipantType(this)},L.prototype.exitRule=function(t){t instanceof r&&t.exitParticipantType(this)},p.ParticipantTypeContext=L,p.prototype.participantType=function(){var t=new L(this,this._ctx,this.state);this.enterRule(t,18,p.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=222,this.match(p.ANNOTATION)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},j.prototype=Object.create(i.ParserRuleContext.prototype),j.prototype.constructor=j,j.prototype.ID=function(){return this.getToken(p.ID,0)},j.prototype.STRING=function(){return this.getToken(p.STRING,0)},j.prototype.enterRule=function(t){t instanceof r&&t.enterName(this)},j.prototype.exitRule=function(t){t instanceof r&&t.exitName(this)},p.NameContext=j,p.prototype.name=function(){var t=new j(this,this._ctx,this.state);this.enterRule(t,20,p.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=224,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},f.prototype=Object.create(i.ParserRuleContext.prototype),f.prototype.constructor=f,f.prototype.INT=function(){return this.getToken(p.INT,0)},f.prototype.enterRule=function(t){t instanceof r&&t.enterWidth(this)},f.prototype.exitRule=function(t){t instanceof r&&t.exitWidth(this)},p.WidthContext=f,p.prototype.width=function(){var t=new f(this,this._ctx,this.state);this.enterRule(t,22,p.RULE_width);try{this.enterOuterAlt(t,1),this.state=226,this.match(p.INT)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},w.prototype=Object.create(i.ParserRuleContext.prototype),w.prototype.constructor=w,w.prototype.stat=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(C):this.getTypedRuleContext(C,t)},w.prototype.enterRule=function(t){t instanceof r&&t.enterBlock(this)},w.prototype.exitRule=function(t){t instanceof r&&t.exitBlock(this)},p.BlockContext=w,p.prototype.block=function(){var t=new w(this,this._ctx,this.state);this.enterRule(t,24,p.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=229,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=228,this.stat(),this.state=231,this._errHandler.sync(this),e=this._input.LA(1)}while(e===p.EQ||0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.IF-36|1<<p.WHILE-36|1<<p.RETURN-36|1<<p.NEW-36|1<<p.PAR-36|1<<p.OPT-36|1<<p.TRY-36|1<<p.ANNOTATION_RET-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36|1<<p.OTHER-36)))}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},E.prototype=Object.create(i.ParserRuleContext.prototype),E.prototype.constructor=E,E.prototype.RETURN=function(){return this.getToken(p.RETURN,0)},E.prototype.expr=function(){return this.getTypedRuleContext(st,0)},E.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},E.prototype.ANNOTATION_RET=function(){return this.getToken(p.ANNOTATION_RET,0)},E.prototype.asyncMessage=function(){return this.getTypedRuleContext(Q,0)},E.prototype.EVENT_END=function(){return this.getToken(p.EVENT_END,0)},E.prototype.enterRule=function(t){t instanceof r&&t.enterRet(this)},E.prototype.exitRule=function(t){t instanceof r&&t.exitRet(this)},p.RetContext=E,p.prototype.ret=function(){var t=new E(this,this._ctx,this.state);this.enterRule(t,26,p.RULE_ret);var e=0;try{switch(this.state=245,this._errHandler.sync(this),this._input.LA(1)){case p.RETURN:this.enterOuterAlt(t,1),this.state=233,this.match(p.RETURN),this.state=235,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,30,this._ctx);1===n&&(this.state=234,this.expr(0)),this.state=238,this._errHandler.sync(this),e=this._input.LA(1),e===p.SCOL&&(this.state=237,this.match(p.SCOL));break;case p.ANNOTATION_RET:this.enterOuterAlt(t,2),this.state=240,this.match(p.ANNOTATION_RET),this.state=241,this.asyncMessage(),this.state=243,this._errHandler.sync(this),e=this._input.LA(1),e===p.EVENT_END&&(this.state=242,this.match(p.EVENT_END));break;default:throw new i.error.NoViableAltException(this)}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},A.prototype=Object.create(i.ParserRuleContext.prototype),A.prototype.constructor=A,A.prototype.EQ=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.EQ):this.getToken(p.EQ,t)},A.prototype.name=function(){return this.getTypedRuleContext(j,0)},A.prototype.ASSIGN=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ASSIGN):this.getToken(p.ASSIGN,t)},A.prototype.enterRule=function(t){t instanceof r&&t.enterDivider(this)},A.prototype.exitRule=function(t){t instanceof r&&t.exitDivider(this)},p.DividerContext=A,p.prototype.divider=function(){var t=new A(this,this._ctx,this.state);this.enterRule(t,28,p.RULE_divider);var e=0;try{this.enterOuterAlt(t,1),this.state=247,this.match(p.EQ),this.state=251,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.EQ||e===p.ASSIGN)this.state=248,e=this._input.LA(1),e!==p.EQ&&e!==p.ASSIGN?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=253,this._errHandler.sync(this),e=this._input.LA(1);this.state=254,this.name(),this.state=255,this.match(p.EQ),this.state=259,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,35,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=256,e=this._input.LA(1),e!==p.EQ&&e!==p.ASSIGN?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())),this.state=261,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,35,this._ctx)}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},C.prototype=Object.create(i.ParserRuleContext.prototype),C.prototype.constructor=C,C.prototype.alt=function(){return this.getTypedRuleContext(tt,0)},C.prototype.par=function(){return this.getTypedRuleContext(S,0)},C.prototype.opt=function(){return this.getTypedRuleContext(z,0)},C.prototype.loop=function(){return this.getTypedRuleContext(ot,0)},C.prototype.creation=function(){return this.getTypedRuleContext(v,0)},C.prototype.message=function(){return this.getTypedRuleContext(O,0)},C.prototype.asyncMessage=function(){return this.getTypedRuleContext(Q,0)},C.prototype.EVENT_END=function(){return this.getToken(p.EVENT_END,0)},C.prototype.ret=function(){return this.getTypedRuleContext(E,0)},C.prototype.divider=function(){return this.getTypedRuleContext(A,0)},C.prototype.tcf=function(){return this.getTypedRuleContext(J,0)},C.prototype.OTHER=function(){return this.getToken(p.OTHER,0)},C.prototype.enterRule=function(t){t instanceof r&&t.enterStat(this)},C.prototype.exitRule=function(t){t instanceof r&&t.exitStat(this)},p.StatContext=C,p.prototype.stat=function(){var t=new C(this,this._ctx,this.state);this.enterRule(t,30,p.RULE_stat);var e=0;try{this.state=277,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=262,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=263,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=264,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=265,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=266,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=267,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=268,this.asyncMessage(),this.state=270,this._errHandler.sync(this),e=this._input.LA(1),e===p.EVENT_END&&(this.state=269,this.match(p.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=272,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=273,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=274,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=275,t._OTHER=this.match(p.OTHER),console.log("unknown char: "+(null===t._OTHER?null:t._OTHER.text));break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},S.prototype=Object.create(i.ParserRuleContext.prototype),S.prototype.constructor=S,S.prototype.PAR=function(){return this.getToken(p.PAR,0)},S.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},S.prototype.enterRule=function(t){t instanceof r&&t.enterPar(this)},S.prototype.exitRule=function(t){t instanceof r&&t.exitPar(this)},p.ParContext=S,p.prototype.par=function(){var t=new S(this,this._ctx,this.state);this.enterRule(t,32,p.RULE_par);try{this.state=282,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=279,this.match(p.PAR),this.state=280,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=281,this.match(p.PAR);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},z.prototype=Object.create(i.ParserRuleContext.prototype),z.prototype.constructor=z,z.prototype.OPT=function(){return this.getToken(p.OPT,0)},z.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},z.prototype.enterRule=function(t){t instanceof r&&t.enterOpt(this)},z.prototype.exitRule=function(t){t instanceof r&&t.exitOpt(this)},p.OptContext=z,p.prototype.opt=function(){var t=new z(this,this._ctx,this.state);this.enterRule(t,34,p.RULE_opt);try{this.state=287,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,39,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=284,this.match(p.OPT),this.state=285,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=286,this.match(p.OPT);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},v.prototype=Object.create(i.ParserRuleContext.prototype),v.prototype.constructor=v,v.prototype.creationBody=function(){return this.getTypedRuleContext(m,0)},v.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},v.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},v.prototype.enterRule=function(t){t instanceof r&&t.enterCreation(this)},v.prototype.exitRule=function(t){t instanceof r&&t.exitCreation(this)},p.CreationContext=v,p.prototype.creation=function(){var t=new v(this,this._ctx,this.state);this.enterRule(t,36,p.RULE_creation);try{this.enterOuterAlt(t,1),this.state=289,this.creationBody(),this.state=292,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,40,this._ctx);1===e?(this.state=290,this.match(p.SCOL)):2===e&&(this.state=291,this.braceBlock())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},m.prototype=Object.create(i.ParserRuleContext.prototype),m.prototype.constructor=m,m.prototype.NEW=function(){return this.getToken(p.NEW,0)},m.prototype.construct=function(){return this.getTypedRuleContext(Z,0)},m.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},m.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},m.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},m.prototype.parameters=function(){return this.getTypedRuleContext(W,0)},m.prototype.enterRule=function(t){t instanceof r&&t.enterCreationBody(this)},m.prototype.exitRule=function(t){t instanceof r&&t.exitCreationBody(this)},p.CreationBodyContext=m,p.prototype.creationBody=function(){var t=new m(this,this._ctx,this.state);this.enterRule(t,38,p.RULE_creationBody);var e=0;try{this.enterOuterAlt(t,1),this.state=295,this._errHandler.sync(this),e=this._input.LA(1),0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36))&&(this.state=294,this.assignment()),this.state=297,this.match(p.NEW),this.state=298,this.construct(),this.state=304,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,43,this._ctx);1===n&&(this.state=299,this.match(p.OPAR),this.state=301,this._errHandler.sync(this),e=this._input.LA(1),(e===p.MINUS||e===p.NOT||0==(e-32&-32)&&0!==(1<<e-32&(1<<p.OPAR-32|1<<p.TRUE-32|1<<p.FALSE-32|1<<p.NIL-32|1<<p.NEW-32|1<<p.ID-32|1<<p.INT-32|1<<p.FLOAT-32|1<<p.STRING-32)))&&(this.state=300,this.parameters()),this.state=303,this.match(p.CPAR))}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},O.prototype=Object.create(i.ParserRuleContext.prototype),O.prototype.constructor=O,O.prototype.messageBody=function(){return this.getTypedRuleContext(b,0)},O.prototype.SCOL=function(){return this.getToken(p.SCOL,0)},O.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},O.prototype.enterRule=function(t){t instanceof r&&t.enterMessage(this)},O.prototype.exitRule=function(t){t instanceof r&&t.exitMessage(this)},p.MessageContext=O,p.prototype.message=function(){var t=new O(this,this._ctx,this.state);this.enterRule(t,40,p.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=306,this.messageBody(),this.state=309,this._errHandler.sync(this),this._input.LA(1)){case p.SCOL:this.state=307,this.match(p.SCOL);break;case p.OBRACE:this.state=308,this.braceBlock();break;case p.EOF:case p.EQ:case p.CBRACE:case p.TRUE:case p.FALSE:case p.NIL:case p.IF:case p.WHILE:case p.RETURN:case p.NEW:case p.PAR:case p.OPT:case p.TRY:case p.ANNOTATION_RET:case p.ID:case p.INT:case p.FLOAT:case p.STRING:case p.OTHER:break;default:break}}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},b.prototype=Object.create(i.ParserRuleContext.prototype),b.prototype.constructor=b,b.prototype.func=function(){return this.getTypedRuleContext(k,0)},b.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},b.prototype.to=function(){return this.getTypedRuleContext(R,0)},b.prototype.DOT=function(){return this.getToken(p.DOT,0)},b.prototype.from=function(){return this.getTypedRuleContext(_,0)},b.prototype.ARROW=function(){return this.getToken(p.ARROW,0)},b.prototype.enterRule=function(t){t instanceof r&&t.enterMessageBody(this)},b.prototype.exitRule=function(t){t instanceof r&&t.exitMessageBody(this)},p.MessageBodyContext=b,p.prototype.messageBody=function(){var t=new b(this,this._ctx,this.state);this.enterRule(t,42,p.RULE_messageBody);try{this.state=334,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=312,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,45,this._ctx);1===e&&(this.state=311,this.assignment()),this.state=322,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,47,this._ctx);if(1===e){this.state=317,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,46,this._ctx);1===e&&(this.state=314,this.from(),this.state=315,this.match(p.ARROW)),this.state=319,this.to(),this.state=320,this.match(p.DOT)}this.state=324,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=325,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=329,this._errHandler.sync(this);e=this._interp.adaptivePredict(this._input,48,this._ctx);1===e&&(this.state=326,this.from(),this.state=327,this.match(p.ARROW)),this.state=331,this.to(),this.state=332,this.match(p.DOT);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},k.prototype=Object.create(i.ParserRuleContext.prototype),k.prototype.constructor=k,k.prototype.signature=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(U):this.getTypedRuleContext(U,t)},k.prototype.DOT=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.DOT):this.getToken(p.DOT,t)},k.prototype.enterRule=function(t){t instanceof r&&t.enterFunc(this)},k.prototype.exitRule=function(t){t instanceof r&&t.exitFunc(this)},p.FuncContext=k,p.prototype.func=function(){var t=new k(this,this._ctx,this.state);this.enterRule(t,44,p.RULE_func);try{this.enterOuterAlt(t,1),this.state=336,this.signature(),this.state=341,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,50,this._ctx);while(2!=e&&e!=i.atn.ATN.INVALID_ALT_NUMBER)1===e&&(this.state=337,this.match(p.DOT),this.state=338,this.signature()),this.state=343,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},_.prototype=Object.create(i.ParserRuleContext.prototype),_.prototype.constructor=_,_.prototype.ID=function(){return this.getToken(p.ID,0)},_.prototype.STRING=function(){return this.getToken(p.STRING,0)},_.prototype.enterRule=function(t){t instanceof r&&t.enterFrom(this)},_.prototype.exitRule=function(t){t instanceof r&&t.exitFrom(this)},p.FromContext=_,p.prototype.from=function(){var t=new _(this,this._ctx,this.state);this.enterRule(t,46,p.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=344,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},R.prototype=Object.create(i.ParserRuleContext.prototype),R.prototype.constructor=R,R.prototype.ID=function(){return this.getToken(p.ID,0)},R.prototype.STRING=function(){return this.getToken(p.STRING,0)},R.prototype.enterRule=function(t){t instanceof r&&t.enterTo(this)},R.prototype.exitRule=function(t){t instanceof r&&t.exitTo(this)},p.ToContext=R,p.prototype.to=function(){var t=new R(this,this._ctx,this.state);this.enterRule(t,48,p.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=346,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},U.prototype=Object.create(i.ParserRuleContext.prototype),U.prototype.constructor=U,U.prototype.methodName=function(){return this.getTypedRuleContext(H,0)},U.prototype.invocation=function(){return this.getTypedRuleContext(Y,0)},U.prototype.enterRule=function(t){t instanceof r&&t.enterSignature(this)},U.prototype.exitRule=function(t){t instanceof r&&t.exitSignature(this)},p.SignatureContext=U,p.prototype.signature=function(){var t=new U(this,this._ctx,this.state);this.enterRule(t,50,p.RULE_signature);try{this.enterOuterAlt(t,1),this.state=348,this.methodName(),this.state=350,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);1===e&&(this.state=349,this.invocation())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Y.prototype=Object.create(i.ParserRuleContext.prototype),Y.prototype.constructor=Y,Y.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},Y.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},Y.prototype.parameters=function(){return this.getTypedRuleContext(W,0)},Y.prototype.enterRule=function(t){t instanceof r&&t.enterInvocation(this)},Y.prototype.exitRule=function(t){t instanceof r&&t.exitInvocation(this)},p.InvocationContext=Y,p.prototype.invocation=function(){var t=new Y(this,this._ctx,this.state);this.enterRule(t,52,p.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=352,this.match(p.OPAR),this.state=354,this._errHandler.sync(this),e=this._input.LA(1),(e===p.MINUS||e===p.NOT||0==(e-32&-32)&&0!==(1<<e-32&(1<<p.OPAR-32|1<<p.TRUE-32|1<<p.FALSE-32|1<<p.NIL-32|1<<p.NEW-32|1<<p.ID-32|1<<p.INT-32|1<<p.FLOAT-32|1<<p.STRING-32)))&&(this.state=353,this.parameters()),this.state=356,this.match(p.CPAR)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},P.prototype=Object.create(i.ParserRuleContext.prototype),P.prototype.constructor=P,P.prototype.assignee=function(){return this.getTypedRuleContext(F,0)},P.prototype.ASSIGN=function(){return this.getToken(p.ASSIGN,0)},P.prototype.type=function(){return this.getTypedRuleContext(G,0)},P.prototype.enterRule=function(t){t instanceof r&&t.enterAssignment(this)},P.prototype.exitRule=function(t){t instanceof r&&t.exitAssignment(this)},p.AssignmentContext=P,p.prototype.assignment=function(){var t=new P(this,this._ctx,this.state);this.enterRule(t,54,p.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=359,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);1===e&&(this.state=358,this.type()),this.state=361,this.assignee(),this.state=362,this.match(p.ASSIGN)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Q.prototype=Object.create(i.ParserRuleContext.prototype),Q.prototype.constructor=Q,Q.prototype.to=function(){return this.getTypedRuleContext(R,0)},Q.prototype.COL=function(){return this.getToken(p.COL,0)},Q.prototype.content=function(){return this.getTypedRuleContext(B,0)},Q.prototype.from=function(){return this.getTypedRuleContext(_,0)},Q.prototype.ARROW=function(){return this.getToken(p.ARROW,0)},Q.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Q.prototype.enterRule=function(t){t instanceof r&&t.enterAsyncMessage(this)},Q.prototype.exitRule=function(t){t instanceof r&&t.exitAsyncMessage(this)},p.AsyncMessageContext=Q,p.prototype.asyncMessage=function(){var t=new Q(this,this._ctx,this.state);this.enterRule(t,56,p.RULE_asyncMessage);var e=0;try{this.state=378,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,56,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=367,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,54,this._ctx);1===n&&(this.state=364,this.from(),this.state=365,this.match(p.ARROW)),this.state=369,this.to(),this.state=370,this.match(p.COL),this.state=371,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=373,this.from(),this.state=374,e=this._input.LA(1),e!==p.ARROW&&e!==p.MINUS?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=376,this._errHandler.sync(this);n=this._interp.adaptivePredict(this._input,55,this._ctx);1===n&&(this.state=375,this.to());break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},B.prototype=Object.create(i.ParserRuleContext.prototype),B.prototype.constructor=B,B.prototype.EVENT_PAYLOAD_LXR=function(){return this.getToken(p.EVENT_PAYLOAD_LXR,0)},B.prototype.enterRule=function(t){t instanceof r&&t.enterContent(this)},B.prototype.exitRule=function(t){t instanceof r&&t.exitContent(this)},p.ContentContext=B,p.prototype.content=function(){var t=new B(this,this._ctx,this.state);this.enterRule(t,58,p.RULE_content);try{this.enterOuterAlt(t,1),this.state=380,this.match(p.EVENT_PAYLOAD_LXR)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},Z.prototype=Object.create(i.ParserRuleContext.prototype),Z.prototype.constructor=Z,Z.prototype.ID=function(){return this.getToken(p.ID,0)},Z.prototype.STRING=function(){return this.getToken(p.STRING,0)},Z.prototype.enterRule=function(t){t instanceof r&&t.enterConstruct(this)},Z.prototype.exitRule=function(t){t instanceof r&&t.exitConstruct(this)},p.ConstructContext=Z,p.prototype.construct=function(){var t=new Z(this,this._ctx,this.state);this.enterRule(t,60,p.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=382,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},G.prototype=Object.create(i.ParserRuleContext.prototype),G.prototype.constructor=G,G.prototype.ID=function(){return this.getToken(p.ID,0)},G.prototype.STRING=function(){return this.getToken(p.STRING,0)},G.prototype.enterRule=function(t){t instanceof r&&t.enterType(this)},G.prototype.exitRule=function(t){t instanceof r&&t.exitType(this)},p.TypeContext=G,p.prototype.type=function(){var t=new G(this,this._ctx,this.state);this.enterRule(t,62,p.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=384,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},F.prototype=Object.create(i.ParserRuleContext.prototype),F.prototype.constructor=F,F.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},F.prototype.ID=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ID):this.getToken(p.ID,t)},F.prototype.COMMA=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.COMMA):this.getToken(p.COMMA,t)},F.prototype.STRING=function(){return this.getToken(p.STRING,0)},F.prototype.enterRule=function(t){t instanceof r&&t.enterAssignee(this)},F.prototype.exitRule=function(t){t instanceof r&&t.exitAssignee(this)},p.AssigneeContext=F,p.prototype.assignee=function(){var t=new F(this,this._ctx,this.state);this.enterRule(t,64,p.RULE_assignee);var e=0;try{this.state=396,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,58,this._ctx);switch(n){case 1:this.enterOuterAlt(t,1),this.state=386,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=387,this.match(p.ID),this.state=392,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.COMMA)this.state=388,this.match(p.COMMA),this.state=389,this.match(p.ID),this.state=394,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=395,this.match(p.STRING);break}}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},H.prototype=Object.create(i.ParserRuleContext.prototype),H.prototype.constructor=H,H.prototype.ID=function(){return this.getToken(p.ID,0)},H.prototype.STRING=function(){return this.getToken(p.STRING,0)},H.prototype.enterRule=function(t){t instanceof r&&t.enterMethodName(this)},H.prototype.exitRule=function(t){t instanceof r&&t.exitMethodName(this)},p.MethodNameContext=H,p.prototype.methodName=function(){var t=new H(this,this._ctx,this.state);this.enterRule(t,66,p.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=398,e=this._input.LA(1),e!==p.ID&&e!==p.STRING?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},W.prototype=Object.create(i.ParserRuleContext.prototype),W.prototype.constructor=W,W.prototype.parameter=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(V):this.getTypedRuleContext(V,t)},W.prototype.COMMA=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.COMMA):this.getToken(p.COMMA,t)},W.prototype.enterRule=function(t){t instanceof r&&t.enterParameters(this)},W.prototype.exitRule=function(t){t instanceof r&&t.exitParameters(this)},p.ParametersContext=W,p.prototype.parameters=function(){var t=new W(this,this._ctx,this.state);this.enterRule(t,68,p.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=400,this.parameter(),this.state=405,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,59,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=401,this.match(p.COMMA),this.state=402,this.parameter()),this.state=407,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=409,this._errHandler.sync(this),e=this._input.LA(1),e===p.COMMA&&(this.state=408,this.match(p.COMMA))}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},V.prototype=Object.create(i.ParserRuleContext.prototype),V.prototype.constructor=V,V.prototype.declaration=function(){return this.getTypedRuleContext(X,0)},V.prototype.expr=function(){return this.getTypedRuleContext(st,0)},V.prototype.enterRule=function(t){t instanceof r&&t.enterParameter(this)},V.prototype.exitRule=function(t){t instanceof r&&t.exitParameter(this)},p.ParameterContext=V,p.prototype.parameter=function(){var t=new V(this,this._ctx,this.state);this.enterRule(t,70,p.RULE_parameter);try{this.state=413,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=411,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=412,this.expr(0);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},X.prototype=Object.create(i.ParserRuleContext.prototype),X.prototype.constructor=X,X.prototype.type=function(){return this.getTypedRuleContext(G,0)},X.prototype.ID=function(){return this.getToken(p.ID,0)},X.prototype.enterRule=function(t){t instanceof r&&t.enterDeclaration(this)},X.prototype.exitRule=function(t){t instanceof r&&t.exitDeclaration(this)},p.DeclarationContext=X,p.prototype.declaration=function(){var t=new X(this,this._ctx,this.state);this.enterRule(t,72,p.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=415,this.type(),this.state=416,this.match(p.ID)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},J.prototype=Object.create(i.ParserRuleContext.prototype),J.prototype.constructor=J,J.prototype.tryBlock=function(){return this.getTypedRuleContext($,0)},J.prototype.catchBlock=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(K):this.getTypedRuleContext(K,t)},J.prototype.finallyBlock=function(){return this.getTypedRuleContext(q,0)},J.prototype.enterRule=function(t){t instanceof r&&t.enterTcf(this)},J.prototype.exitRule=function(t){t instanceof r&&t.exitTcf(this)},p.TcfContext=J,p.prototype.tcf=function(){var t=new J(this,this._ctx,this.state);this.enterRule(t,74,p.RULE_tcf);var e=0;try{this.enterOuterAlt(t,1),this.state=418,this.tryBlock(),this.state=422,this._errHandler.sync(this),e=this._input.LA(1);while(e===p.CATCH)this.state=419,this.catchBlock(),this.state=424,this._errHandler.sync(this),e=this._input.LA(1);this.state=426,this._errHandler.sync(this),e=this._input.LA(1),e===p.FINALLY&&(this.state=425,this.finallyBlock())}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},$.prototype=Object.create(i.ParserRuleContext.prototype),$.prototype.constructor=$,$.prototype.TRY=function(){return this.getToken(p.TRY,0)},$.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},$.prototype.enterRule=function(t){t instanceof r&&t.enterTryBlock(this)},$.prototype.exitRule=function(t){t instanceof r&&t.exitTryBlock(this)},p.TryBlockContext=$,p.prototype.tryBlock=function(){var t=new $(this,this._ctx,this.state);this.enterRule(t,76,p.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=428,this.match(p.TRY),this.state=429,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},K.prototype=Object.create(i.ParserRuleContext.prototype),K.prototype.constructor=K,K.prototype.CATCH=function(){return this.getToken(p.CATCH,0)},K.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},K.prototype.invocation=function(){return this.getTypedRuleContext(Y,0)},K.prototype.enterRule=function(t){t instanceof r&&t.enterCatchBlock(this)},K.prototype.exitRule=function(t){t instanceof r&&t.exitCatchBlock(this)},p.CatchBlockContext=K,p.prototype.catchBlock=function(){var t=new K(this,this._ctx,this.state);this.enterRule(t,78,p.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=431,this.match(p.CATCH),this.state=433,this._errHandler.sync(this),e=this._input.LA(1),e===p.OPAR&&(this.state=432,this.invocation()),this.state=435,this.braceBlock()}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},q.prototype=Object.create(i.ParserRuleContext.prototype),q.prototype.constructor=q,q.prototype.FINALLY=function(){return this.getToken(p.FINALLY,0)},q.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},q.prototype.enterRule=function(t){t instanceof r&&t.enterFinallyBlock(this)},q.prototype.exitRule=function(t){t instanceof r&&t.exitFinallyBlock(this)},p.FinallyBlockContext=q,p.prototype.finallyBlock=function(){var t=new q(this,this._ctx,this.state);this.enterRule(t,80,p.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=437,this.match(p.FINALLY),this.state=438,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},tt.prototype=Object.create(i.ParserRuleContext.prototype),tt.prototype.constructor=tt,tt.prototype.ifBlock=function(){return this.getTypedRuleContext(et,0)},tt.prototype.elseIfBlock=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(nt):this.getTypedRuleContext(nt,t)},tt.prototype.elseBlock=function(){return this.getTypedRuleContext(it,0)},tt.prototype.enterRule=function(t){t instanceof r&&t.enterAlt(this)},tt.prototype.exitRule=function(t){t instanceof r&&t.exitAlt(this)},p.AltContext=tt,p.prototype.alt=function(){var t=new tt(this,this._ctx,this.state);this.enterRule(t,82,p.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=440,this.ifBlock(),this.state=444,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,65,this._ctx);while(2!=n&&n!=i.atn.ATN.INVALID_ALT_NUMBER)1===n&&(this.state=441,this.elseIfBlock()),this.state=446,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=448,this._errHandler.sync(this),e=this._input.LA(1),e===p.ELSE&&(this.state=447,this.elseBlock())}catch(r){if(!(r instanceof i.error.RecognitionException))throw r;t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r)}finally{this.exitRule()}return t},et.prototype=Object.create(i.ParserRuleContext.prototype),et.prototype.constructor=et,et.prototype.IF=function(){return this.getToken(p.IF,0)},et.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},et.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},et.prototype.enterRule=function(t){t instanceof r&&t.enterIfBlock(this)},et.prototype.exitRule=function(t){t instanceof r&&t.exitIfBlock(this)},p.IfBlockContext=et,p.prototype.ifBlock=function(){var t=new et(this,this._ctx,this.state);this.enterRule(t,84,p.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=450,this.match(p.IF),this.state=451,this.parExpr(),this.state=452,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},nt.prototype=Object.create(i.ParserRuleContext.prototype),nt.prototype.constructor=nt,nt.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},nt.prototype.IF=function(){return this.getToken(p.IF,0)},nt.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},nt.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},nt.prototype.enterRule=function(t){t instanceof r&&t.enterElseIfBlock(this)},nt.prototype.exitRule=function(t){t instanceof r&&t.exitElseIfBlock(this)},p.ElseIfBlockContext=nt,p.prototype.elseIfBlock=function(){var t=new nt(this,this._ctx,this.state);this.enterRule(t,86,p.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=454,this.match(p.ELSE),this.state=455,this.match(p.IF),this.state=456,this.parExpr(),this.state=457,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},it.prototype=Object.create(i.ParserRuleContext.prototype),it.prototype.constructor=it,it.prototype.ELSE=function(){return this.getToken(p.ELSE,0)},it.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},it.prototype.enterRule=function(t){t instanceof r&&t.enterElseBlock(this)},it.prototype.exitRule=function(t){t instanceof r&&t.exitElseBlock(this)},p.ElseBlockContext=it,p.prototype.elseBlock=function(){var t=new it(this,this._ctx,this.state);this.enterRule(t,88,p.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=459,this.match(p.ELSE),this.state=460,this.braceBlock()}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},rt.prototype=Object.create(i.ParserRuleContext.prototype),rt.prototype.constructor=rt,rt.prototype.OBRACE=function(){return this.getToken(p.OBRACE,0)},rt.prototype.CBRACE=function(){return this.getToken(p.CBRACE,0)},rt.prototype.block=function(){return this.getTypedRuleContext(w,0)},rt.prototype.enterRule=function(t){t instanceof r&&t.enterBraceBlock(this)},rt.prototype.exitRule=function(t){t instanceof r&&t.exitBraceBlock(this)},p.BraceBlockContext=rt,p.prototype.braceBlock=function(){var t=new rt(this,this._ctx,this.state);this.enterRule(t,90,p.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=462,this.match(p.OBRACE),this.state=464,this._errHandler.sync(this),e=this._input.LA(1),(e===p.EQ||0==(e-36&-32)&&0!==(1<<e-36&(1<<p.TRUE-36|1<<p.FALSE-36|1<<p.NIL-36|1<<p.IF-36|1<<p.WHILE-36|1<<p.RETURN-36|1<<p.NEW-36|1<<p.PAR-36|1<<p.OPT-36|1<<p.TRY-36|1<<p.ANNOTATION_RET-36|1<<p.ID-36|1<<p.INT-36|1<<p.FLOAT-36|1<<p.STRING-36|1<<p.OTHER-36)))&&(this.state=463,this.block()),this.state=466,this.match(p.CBRACE)}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},ot.prototype=Object.create(i.ParserRuleContext.prototype),ot.prototype.constructor=ot,ot.prototype.WHILE=function(){return this.getToken(p.WHILE,0)},ot.prototype.parExpr=function(){return this.getTypedRuleContext(At,0)},ot.prototype.braceBlock=function(){return this.getTypedRuleContext(rt,0)},ot.prototype.enterRule=function(t){t instanceof r&&t.enterLoop(this)},ot.prototype.exitRule=function(t){t instanceof r&&t.exitLoop(this)},p.LoopContext=ot,p.prototype.loop=function(){var t=new ot(this,this._ctx,this.state);this.enterRule(t,92,p.RULE_loop);try{this.state=475,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=468,this.match(p.WHILE),this.state=469,this.parExpr(),this.state=470,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=472,this.match(p.WHILE),this.state=473,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=474,this.match(p.WHILE);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},st.prototype=Object.create(i.ParserRuleContext.prototype),st.prototype.constructor=st,st.prototype.copyFrom=function(t){i.ParserRuleContext.prototype.copyFrom.call(this,t)},at.prototype=Object.create(st.prototype),at.prototype.constructor=at,p.AssignmentExprContext=at,at.prototype.assignment=function(){return this.getTypedRuleContext(P,0)},at.prototype.expr=function(){return this.getTypedRuleContext(st,0)},at.prototype.enterRule=function(t){t instanceof r&&t.enterAssignmentExpr(this)},at.prototype.exitRule=function(t){t instanceof r&&t.exitAssignmentExpr(this)},ut.prototype=Object.create(st.prototype),ut.prototype.constructor=ut,p.FuncExprContext=ut,ut.prototype.func=function(){return this.getTypedRuleContext(k,0)},ut.prototype.to=function(){return this.getTypedRuleContext(R,0)},ut.prototype.DOT=function(){return this.getToken(p.DOT,0)},ut.prototype.enterRule=function(t){t instanceof r&&t.enterFuncExpr(this)},ut.prototype.exitRule=function(t){t instanceof r&&t.exitFuncExpr(this)},ct.prototype=Object.create(st.prototype),ct.prototype.constructor=ct,p.AtomExprContext=ct,ct.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},ct.prototype.enterRule=function(t){t instanceof r&&t.enterAtomExpr(this)},ct.prototype.exitRule=function(t){t instanceof r&&t.exitAtomExpr(this)},lt.prototype=Object.create(st.prototype),lt.prototype.constructor=lt,p.OrExprContext=lt,lt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},lt.prototype.OR=function(){return this.getToken(p.OR,0)},lt.prototype.enterRule=function(t){t instanceof r&&t.enterOrExpr(this)},lt.prototype.exitRule=function(t){t instanceof r&&t.exitOrExpr(this)},Mt.prototype=Object.create(st.prototype),Mt.prototype.constructor=Mt,p.AdditiveExprContext=Mt,Mt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},Mt.prototype.PLUS=function(){return this.getToken(p.PLUS,0)},Mt.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Mt.prototype.enterRule=function(t){t instanceof r&&t.enterAdditiveExpr(this)},Mt.prototype.exitRule=function(t){t instanceof r&&t.exitAdditiveExpr(this)},pt.prototype=Object.create(st.prototype),pt.prototype.constructor=pt,p.RelationalExprContext=pt,pt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},pt.prototype.LTEQ=function(){return this.getToken(p.LTEQ,0)},pt.prototype.GTEQ=function(){return this.getToken(p.GTEQ,0)},pt.prototype.LT=function(){return this.getToken(p.LT,0)},pt.prototype.GT=function(){return this.getToken(p.GT,0)},pt.prototype.enterRule=function(t){t instanceof r&&t.enterRelationalExpr(this)},pt.prototype.exitRule=function(t){t instanceof r&&t.exitRelationalExpr(this)},ht.prototype=Object.create(st.prototype),ht.prototype.constructor=ht,p.PlusExprContext=ht,ht.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},ht.prototype.PLUS=function(){return this.getToken(p.PLUS,0)},ht.prototype.enterRule=function(t){t instanceof r&&t.enterPlusExpr(this)},ht.prototype.exitRule=function(t){t instanceof r&&t.exitPlusExpr(this)},gt.prototype=Object.create(st.prototype),gt.prototype.constructor=gt,p.NotExprContext=gt,gt.prototype.NOT=function(){return this.getToken(p.NOT,0)},gt.prototype.expr=function(){return this.getTypedRuleContext(st,0)},gt.prototype.enterRule=function(t){t instanceof r&&t.enterNotExpr(this)},gt.prototype.exitRule=function(t){t instanceof r&&t.exitNotExpr(this)},Nt.prototype=Object.create(st.prototype),Nt.prototype.constructor=Nt,p.UnaryMinusExprContext=Nt,Nt.prototype.MINUS=function(){return this.getToken(p.MINUS,0)},Nt.prototype.expr=function(){return this.getTypedRuleContext(st,0)},Nt.prototype.enterRule=function(t){t instanceof r&&t.enterUnaryMinusExpr(this)},Nt.prototype.exitRule=function(t){t instanceof r&&t.exitUnaryMinusExpr(this)},Dt.prototype=Object.create(st.prototype),Dt.prototype.constructor=Dt,p.CreationExprContext=Dt,Dt.prototype.creation=function(){return this.getTypedRuleContext(v,0)},Dt.prototype.enterRule=function(t){t instanceof r&&t.enterCreationExpr(this)},Dt.prototype.exitRule=function(t){t instanceof r&&t.exitCreationExpr(this)},It.prototype=Object.create(st.prototype),It.prototype.constructor=It,p.ParenthesizedExprContext=It,It.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},It.prototype.expr=function(){return this.getTypedRuleContext(st,0)},It.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},It.prototype.enterRule=function(t){t instanceof r&&t.enterParenthesizedExpr(this)},It.prototype.exitRule=function(t){t instanceof r&&t.exitParenthesizedExpr(this)},yt.prototype=Object.create(st.prototype),yt.prototype.constructor=yt,p.MultiplicationExprContext=yt,yt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},yt.prototype.MULT=function(){return this.getToken(p.MULT,0)},yt.prototype.DIV=function(){return this.getToken(p.DIV,0)},yt.prototype.MOD=function(){return this.getToken(p.MOD,0)},yt.prototype.enterRule=function(t){t instanceof r&&t.enterMultiplicationExpr(this)},yt.prototype.exitRule=function(t){t instanceof r&&t.exitMultiplicationExpr(this)},dt.prototype=Object.create(st.prototype),dt.prototype.constructor=dt,p.EqualityExprContext=dt,dt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},dt.prototype.EQ=function(){return this.getToken(p.EQ,0)},dt.prototype.NEQ=function(){return this.getToken(p.NEQ,0)},dt.prototype.enterRule=function(t){t instanceof r&&t.enterEqualityExpr(this)},dt.prototype.exitRule=function(t){t instanceof r&&t.exitEqualityExpr(this)},Tt.prototype=Object.create(st.prototype),Tt.prototype.constructor=Tt,p.AndExprContext=Tt,Tt.prototype.expr=function(t){return void 0===t&&(t=null),null===t?this.getTypedRuleContexts(st):this.getTypedRuleContext(st,t)},Tt.prototype.AND=function(){return this.getToken(p.AND,0)},Tt.prototype.enterRule=function(t){t instanceof r&&t.enterAndExpr(this)},Tt.prototype.exitRule=function(t){t instanceof r&&t.exitAndExpr(this)},p.prototype.expr=function(t){void 0===t&&(t=0);var e=this._ctx,n=this.state,r=new st(this,this._ctx,n),o=94;this.enterRecursionRule(r,94,p.RULE_expr,t);var s=0;try{this.enterOuterAlt(r,1),this.state=497,this._errHandler.sync(this);var a=this._interp.adaptivePredict(this._input,70,this._ctx);switch(a){case 1:r=new ct(this,r),this._ctx=r,r,this.state=478,this.atom();break;case 2:r=new Nt(this,r),this._ctx=r,r,this.state=479,this.match(p.MINUS),this.state=480,this.expr(13);break;case 3:r=new gt(this,r),this._ctx=r,r,this.state=481,this.match(p.NOT),this.state=482,this.expr(12);break;case 4:r=new ut(this,r),this._ctx=r,r,this.state=486,this._errHandler.sync(this);a=this._interp.adaptivePredict(this._input,69,this._ctx);1===a&&(this.state=483,this.to(),this.state=484,this.match(p.DOT)),this.state=488,this.func();break;case 5:r=new Dt(this,r),this._ctx=r,r,this.state=489,this.creation();break;case 6:r=new It(this,r),this._ctx=r,r,this.state=490,this.match(p.OPAR),this.state=491,this.expr(0),this.state=492,this.match(p.CPAR);break;case 7:r=new at(this,r),this._ctx=r,r,this.state=494,this.assignment(),this.state=495,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=522,this._errHandler.sync(this);var u=this._interp.adaptivePredict(this._input,72,this._ctx);while(2!=u&&u!=i.atn.ATN.INVALID_ALT_NUMBER){if(1===u){null!==this._parseListeners&&this.triggerExitRuleEvent(),r,this.state=520,this._errHandler.sync(this);a=this._interp.adaptivePredict(this._input,71,this._ctx);switch(a){case 1:if(r=new yt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=499,!this.precpred(this._ctx,11))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=500,r.op=this._input.LT(1),s=this._input.LA(1),0!=(-32&s)||0===(1<<s&(1<<p.MULT|1<<p.DIV|1<<p.MOD))?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=501,this.expr(12);break;case 2:if(r=new Mt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=502,!this.precpred(this._ctx,10))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=503,r.op=this._input.LT(1),s=this._input.LA(1),s!==p.PLUS&&s!==p.MINUS?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=504,this.expr(11);break;case 3:if(r=new pt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=505,!this.precpred(this._ctx,9))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=506,r.op=this._input.LT(1),s=this._input.LA(1),0!=(-32&s)||0===(1<<s&(1<<p.GT|1<<p.LT|1<<p.GTEQ|1<<p.LTEQ))?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=507,this.expr(10);break;case 4:if(r=new dt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=508,!this.precpred(this._ctx,8))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=509,r.op=this._input.LT(1),s=this._input.LA(1),s!==p.EQ&&s!==p.NEQ?r.op=this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=510,this.expr(9);break;case 5:if(r=new Tt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=511,!this.precpred(this._ctx,7))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=512,this.match(p.AND),this.state=513,this.expr(8);break;case 6:if(r=new lt(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=514,!this.precpred(this._ctx,6))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=515,this.match(p.OR),this.state=516,this.expr(7);break;case 7:if(r=new ht(this,new st(this,e,n)),this.pushNewRecursionContext(r,o,p.RULE_expr),this.state=517,!this.precpred(this._ctx,5))throw new i.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=518,this.match(p.PLUS),this.state=519,this.expr(6);break}}this.state=524,this._errHandler.sync(this),u=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(c){if(!(c instanceof i.error.RecognitionException))throw c;r.exception=c,this._errHandler.reportError(this,c),this._errHandler.recover(this,c)}finally{this.unrollRecursionContexts(e)}return r},xt.prototype=Object.create(i.ParserRuleContext.prototype),xt.prototype.constructor=xt,xt.prototype.copyFrom=function(t){i.ParserRuleContext.prototype.copyFrom.call(this,t)},Lt.prototype=Object.create(xt.prototype),Lt.prototype.constructor=Lt,p.BooleanAtomContext=Lt,Lt.prototype.TRUE=function(){return this.getToken(p.TRUE,0)},Lt.prototype.FALSE=function(){return this.getToken(p.FALSE,0)},Lt.prototype.enterRule=function(t){t instanceof r&&t.enterBooleanAtom(this)},Lt.prototype.exitRule=function(t){t instanceof r&&t.exitBooleanAtom(this)},jt.prototype=Object.create(xt.prototype),jt.prototype.constructor=jt,p.IdAtomContext=jt,jt.prototype.ID=function(){return this.getToken(p.ID,0)},jt.prototype.enterRule=function(t){t instanceof r&&t.enterIdAtom(this)},jt.prototype.exitRule=function(t){t instanceof r&&t.exitIdAtom(this)},ft.prototype=Object.create(xt.prototype),ft.prototype.constructor=ft,p.StringAtomContext=ft,ft.prototype.STRING=function(){return this.getToken(p.STRING,0)},ft.prototype.enterRule=function(t){t instanceof r&&t.enterStringAtom(this)},ft.prototype.exitRule=function(t){t instanceof r&&t.exitStringAtom(this)},wt.prototype=Object.create(xt.prototype),wt.prototype.constructor=wt,p.NilAtomContext=wt,wt.prototype.NIL=function(){return this.getToken(p.NIL,0)},wt.prototype.enterRule=function(t){t instanceof r&&t.enterNilAtom(this)},wt.prototype.exitRule=function(t){t instanceof r&&t.exitNilAtom(this)},Et.prototype=Object.create(xt.prototype),Et.prototype.constructor=Et,p.NumberAtomContext=Et,Et.prototype.INT=function(){return this.getToken(p.INT,0)},Et.prototype.FLOAT=function(){return this.getToken(p.FLOAT,0)},Et.prototype.enterRule=function(t){t instanceof r&&t.enterNumberAtom(this)},Et.prototype.exitRule=function(t){t instanceof r&&t.exitNumberAtom(this)},p.AtomContext=xt,p.prototype.atom=function(){var t=new xt(this,this._ctx,this.state);this.enterRule(t,96,p.RULE_atom);var e=0;try{switch(this.state=530,this._errHandler.sync(this),this._input.LA(1)){case p.INT:case p.FLOAT:t=new Et(this,t),this.enterOuterAlt(t,1),this.state=525,e=this._input.LA(1),e!==p.INT&&e!==p.FLOAT?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume());break;case p.TRUE:case p.FALSE:t=new Lt(this,t),this.enterOuterAlt(t,2),this.state=526,e=this._input.LA(1),e!==p.TRUE&&e!==p.FALSE?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume());break;case p.ID:t=new jt(this,t),this.enterOuterAlt(t,3),this.state=527,this.match(p.ID);break;case p.STRING:t=new ft(this,t),this.enterOuterAlt(t,4),this.state=528,this.match(p.STRING);break;case p.NIL:t=new wt(this,t),this.enterOuterAlt(t,5),this.state=529,this.match(p.NIL);break;default:throw new i.error.NoViableAltException(this)}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},At.prototype=Object.create(i.ParserRuleContext.prototype),At.prototype.constructor=At,At.prototype.OPAR=function(){return this.getToken(p.OPAR,0)},At.prototype.condition=function(){return this.getTypedRuleContext(Ct,0)},At.prototype.CPAR=function(){return this.getToken(p.CPAR,0)},At.prototype.enterRule=function(t){t instanceof r&&t.enterParExpr(this)},At.prototype.exitRule=function(t){t instanceof r&&t.exitParExpr(this)},p.ParExprContext=At,p.prototype.parExpr=function(){var t=new At(this,this._ctx,this.state);this.enterRule(t,98,p.RULE_parExpr);try{this.state=541,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=532,this.match(p.OPAR),this.state=533,this.condition(),this.state=534,this.match(p.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=536,this.match(p.OPAR),this.state=537,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=538,this.match(p.OPAR),this.state=539,this.match(p.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=540,this.match(p.OPAR);break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},Ct.prototype=Object.create(i.ParserRuleContext.prototype),Ct.prototype.constructor=Ct,Ct.prototype.atom=function(){return this.getTypedRuleContext(xt,0)},Ct.prototype.expr=function(){return this.getTypedRuleContext(st,0)},Ct.prototype.inExpr=function(){return this.getTypedRuleContext(St,0)},Ct.prototype.enterRule=function(t){t instanceof r&&t.enterCondition(this)},Ct.prototype.exitRule=function(t){t instanceof r&&t.exitCondition(this)},p.ConditionContext=Ct,p.prototype.condition=function(){var t=new Ct(this,this._ctx,this.state);this.enterRule(t,100,p.RULE_condition);try{this.state=546,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=543,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=544,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=545,this.inExpr();break}}catch(n){if(!(n instanceof i.error.RecognitionException))throw n;t.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n)}finally{this.exitRule()}return t},St.prototype=Object.create(i.ParserRuleContext.prototype),St.prototype.constructor=St,St.prototype.ID=function(t){return void 0===t&&(t=null),null===t?this.getTokens(p.ID):this.getToken(p.ID,t)},St.prototype.IN=function(){return this.getToken(p.IN,0)},St.prototype.enterRule=function(t){t instanceof r&&t.enterInExpr(this)},St.prototype.exitRule=function(t){t instanceof r&&t.exitInExpr(this)},p.InExprContext=St,p.prototype.inExpr=function(){var t=new St(this,this._ctx,this.state);this.enterRule(t,102,p.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=548,this.match(p.ID),this.state=549,this.match(p.IN),this.state=550,this.match(p.ID)}catch(e){if(!(e instanceof i.error.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t},p.prototype.sempred=function(t,e,n){switch(e){case 47:return this.expr_sempred(t,n);default:throw"No predicate with index:"+e}},p.prototype.expr_sempred=function(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}},e.sequenceParser=p},8614:(t,e,n)=>{var i=n(7228);function r(){return i.tree.ParseTreeListener.call(this),this}r.prototype=Object.create(i.tree.ParseTreeListener.prototype),r.prototype.constructor=r,r.prototype.enterProg=function(t){},r.prototype.exitProg=function(t){},r.prototype.enterTitle=function(t){},r.prototype.exitTitle=function(t){},r.prototype.enterHead=function(t){},r.prototype.exitHead=function(t){},r.prototype.enterGroup=function(t){},r.prototype.exitGroup=function(t){},r.prototype.enterStarterExp=function(t){},r.prototype.exitStarterExp=function(t){},r.prototype.enterStarter=function(t){},r.prototype.exitStarter=function(t){},r.prototype.enterParticipant=function(t){},r.prototype.exitParticipant=function(t){},r.prototype.enterStereotype=function(t){},r.prototype.exitStereotype=function(t){},r.prototype.enterLabel=function(t){},r.prototype.exitLabel=function(t){},r.prototype.enterParticipantType=function(t){},r.prototype.exitParticipantType=function(t){},r.prototype.enterName=function(t){},r.prototype.exitName=function(t){},r.prototype.enterWidth=function(t){},r.prototype.exitWidth=function(t){},r.prototype.enterBlock=function(t){},r.prototype.exitBlock=function(t){},r.prototype.enterRet=function(t){},r.prototype.exitRet=function(t){},r.prototype.enterDivider=function(t){},r.prototype.exitDivider=function(t){},r.prototype.enterStat=function(t){},r.prototype.exitStat=function(t){},r.prototype.enterPar=function(t){},r.prototype.exitPar=function(t){},r.prototype.enterOpt=function(t){},r.prototype.exitOpt=function(t){},r.prototype.enterCreation=function(t){},r.prototype.exitCreation=function(t){},r.prototype.enterCreationBody=function(t){},r.prototype.exitCreationBody=function(t){},r.prototype.enterMessage=function(t){},r.prototype.exitMessage=function(t){},r.prototype.enterMessageBody=function(t){},r.prototype.exitMessageBody=function(t){},r.prototype.enterFunc=function(t){},r.prototype.exitFunc=function(t){},r.prototype.enterFrom=function(t){},r.prototype.exitFrom=function(t){},r.prototype.enterTo=function(t){},r.prototype.exitTo=function(t){},r.prototype.enterSignature=function(t){},r.prototype.exitSignature=function(t){},r.prototype.enterInvocation=function(t){},r.prototype.exitInvocation=function(t){},r.prototype.enterAssignment=function(t){},r.prototype.exitAssignment=function(t){},r.prototype.enterAsyncMessage=function(t){},r.prototype.exitAsyncMessage=function(t){},r.prototype.enterContent=function(t){},r.prototype.exitContent=function(t){},r.prototype.enterConstruct=function(t){},r.prototype.exitConstruct=function(t){},r.prototype.enterType=function(t){},r.prototype.exitType=function(t){},r.prototype.enterAssignee=function(t){},r.prototype.exitAssignee=function(t){},r.prototype.enterMethodName=function(t){},r.prototype.exitMethodName=function(t){},r.prototype.enterParameters=function(t){},r.prototype.exitParameters=function(t){},r.prototype.enterParameter=function(t){},r.prototype.exitParameter=function(t){},r.prototype.enterDeclaration=function(t){},r.prototype.exitDeclaration=function(t){},r.prototype.enterTcf=function(t){},r.prototype.exitTcf=function(t){},r.prototype.enterTryBlock=function(t){},r.prototype.exitTryBlock=function(t){},r.prototype.enterCatchBlock=function(t){},r.prototype.exitCatchBlock=function(t){},r.prototype.enterFinallyBlock=function(t){},r.prototype.exitFinallyBlock=function(t){},r.prototype.enterAlt=function(t){},r.prototype.exitAlt=function(t){},r.prototype.enterIfBlock=function(t){},r.prototype.exitIfBlock=function(t){},r.prototype.enterElseIfBlock=function(t){},r.prototype.exitElseIfBlock=function(t){},r.prototype.enterElseBlock=function(t){},r.prototype.exitElseBlock=function(t){},r.prototype.enterBraceBlock=function(t){},r.prototype.exitBraceBlock=function(t){},r.prototype.enterLoop=function(t){},r.prototype.exitLoop=function(t){},r.prototype.enterAssignmentExpr=function(t){},r.prototype.exitAssignmentExpr=function(t){},r.prototype.enterFuncExpr=function(t){},r.prototype.exitFuncExpr=function(t){},r.prototype.enterAtomExpr=function(t){},r.prototype.exitAtomExpr=function(t){},r.prototype.enterOrExpr=function(t){},r.prototype.exitOrExpr=function(t){},r.prototype.enterAdditiveExpr=function(t){},r.prototype.exitAdditiveExpr=function(t){},r.prototype.enterRelationalExpr=function(t){},r.prototype.exitRelationalExpr=function(t){},r.prototype.enterPlusExpr=function(t){},r.prototype.exitPlusExpr=function(t){},r.prototype.enterNotExpr=function(t){},r.prototype.exitNotExpr=function(t){},r.prototype.enterUnaryMinusExpr=function(t){},r.prototype.exitUnaryMinusExpr=function(t){},r.prototype.enterCreationExpr=function(t){},r.prototype.exitCreationExpr=function(t){},r.prototype.enterParenthesizedExpr=function(t){},r.prototype.exitParenthesizedExpr=function(t){},r.prototype.enterMultiplicationExpr=function(t){},r.prototype.exitMultiplicationExpr=function(t){},r.prototype.enterEqualityExpr=function(t){},r.prototype.exitEqualityExpr=function(t){},r.prototype.enterAndExpr=function(t){},r.prototype.exitAndExpr=function(t){},r.prototype.enterNumberAtom=function(t){},r.prototype.exitNumberAtom=function(t){},r.prototype.enterBooleanAtom=function(t){},r.prototype.exitBooleanAtom=function(t){},r.prototype.enterIdAtom=function(t){},r.prototype.exitIdAtom=function(t){},r.prototype.enterStringAtom=function(t){},r.prototype.exitStringAtom=function(t){},r.prototype.enterNilAtom=function(t){},r.prototype.exitNilAtom=function(t){},r.prototype.enterParExpr=function(t){},r.prototype.exitParExpr=function(t){},r.prototype.enterCondition=function(t){},r.prototype.exitCondition=function(t){},r.prototype.enterInExpr=function(t){},r.prototype.exitInExpr=function(t){},e.sequenceParserListener=r},1350:(t,e,n)=>{var i=n(7228),r=n(8614);const o=i.tree.ParseTreeWalker.DEFAULT;var s=function(){return r.sequenceParserListener.call(this),this};s.prototype=Object.create(r.sequenceParserListener.prototype),s.prototype.constructor=s;var a=0,u=0;s.prototype.enterTcf=function(){a++},s.prototype.enterOpt=function(){a++},s.prototype.enterPar=function(){a++},s.prototype.enterAlt=function(){a++},s.prototype.enterLoop=function(){a++},s.prototype.exitTcf=function(){u=Math.max(u,a),a--},s.prototype.exitOpt=function(){u=Math.max(u,a),a--},s.prototype.exitPar=function(){u=Math.max(u,a),a--},s.prototype.exitAlt=function(){u=Math.max(u,a),a--},s.prototype.exitLoop=function(){u=Math.max(u,a),a--},s.prototype.depth=function(t){return function(e){return a=0,u=0,e.children.map((function(e){o.walk(t,e)})),u}},t.exports=s},3725:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.CreationContext;o.prototype.Body=o.prototype.creationBody,o.prototype.isCurrent=function(t){return a.bind(this)(t)};const s=r.MessageContext;function a(t){try{if(null===t||void 0===t)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch(e){return!1}}s.prototype.Body=s.prototype.messageBody,s.prototype.isCurrent=function(t){return a.bind(this)(t)}},9469:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.CreationContext,s=r.MessageContext,a=r.AsyncMessageContext;o.prototype.Assignee=function(){var t,e,n;return null===(t=this.creationBody())||void 0===t||null===(e=t.assignment())||void 0===e||null===(n=e.assignee())||void 0===n?void 0:n.getText()},o.prototype.Owner=function(){var t,e;const n=this.Assignee(),i=null===(t=this.creationBody())||void 0===t||null===(e=t.construct())||void 0===e?void 0:e.getText();return i?n?`${n}:${i}`:i:"Missing Constructor"},s.prototype.Owner=function(){var t;const e=!(null!==(t=this.messageBody())&&void 0!==t&&t.to());return e?this.ClosestAncestorStat().Origin():this.messageBody().to().getFormattedText()},a.prototype.Owner=function(){var t;return(null===(t=this.to())||void 0===t?void 0:t.getFormattedText())||this.ClosestAncestorStat().Origin()}},8732:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.ProgContext;o.prototype.Starter=function(){var t,e,n,r;const o=null===(t=this.head())||void 0===t||null===(e=t.starterExp())||void 0===e||null===(n=e.starter())||void 0===n?void 0:n.getFormattedText();let s,a,u;const c=null===(r=this.block())||void 0===r?void 0:r.stat();if(c&&c[0]){var l,M,p,h,g;const t=null===(l=c[0].message())||void 0===l||null===(M=l.messageBody())||void 0===M||null===(p=M.from())||void 0===p?void 0:p.getFormattedText(),e=null===(h=c[0].asyncMessage())||void 0===h||null===(g=h.from())||void 0===g?void 0:g.getFormattedText();s=t||e}else{var N;const t=null===(N=this.head())||void 0===N?void 0:N.children;if(t&&t[0]){const e=t[0];var D;if(e instanceof i.sequenceParser.ParticipantContext)a=null===(D=e.name())||void 0===D?void 0:D.getFormattedText();if(e instanceof i.sequenceParser.GroupContext){const t=e.participant();var I;if(t&&t[0])u=null===(I=t[0].name())||void 0===I?void 0:I.getFormattedText()}}}return o||s||a||u||"_STARTER_"}},2452:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.RetContext,s=r.ProgContext,a=r.MessageContext,u=r.CreationContext;o.prototype.ReturnTo=function(){const t=this.parentCtx,e=t.parentCtx,n=e.parentCtx;if(n instanceof s)return n.Starter();{let t=n;while(t&&!(t instanceof a)&&!(t instanceof u)){if(t instanceof s)return t.Starter();t=t.parentCtx}var i,r;return t instanceof a&&(null===(i=t.messageBody())||void 0===i||null===(r=i.from())||void 0===r?void 0:r.getFormattedText())||t.ClosestAncestorStat().Origin()}}},5283:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.StatContext,s=r.ProgContext,a=r.BraceBlockContext;o.prototype.Origin=function(){const t=this.parentCtx,e=t.parentCtx;if(e instanceof s)return e.Starter();if(e instanceof a){let t=e.parentCtx;while(t&&!(t instanceof o)){if(t instanceof r.MessageContext)return t.Owner();if(t instanceof r.CreationContext)return t.Owner();t=t.parentCtx}return t.Origin()}}},2148:(t,e,n)=>{const i=n(9918),r=i.sequenceParser,o=r.TitleContext;o.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()}},479:(t,e,n)=>{"use strict";var i=n(5963);const r=n(7228),o=n(8614),s=n(9918),a=s.sequenceParser,u=a.ProgContext;let c,l,M=!1;const p=function(){return o.sequenceParserListener.call(this),this};p.prototype=Object.create(o.sequenceParserListener.prototype);let h=function(t){var e,n,i,r,o,s,a;if(M)return;const u=null===t||void 0===t||null===(e=t.participantType())||void 0===e?void 0:e.getFormattedText().replace("@",""),p=(null===t||void 0===t||null===(n=t.name())||void 0===n?void 0:n.getFormattedText())||"Missing `Participant`",h=null===(i=t.stereotype())||void 0===i||null===(r=i.name())||void 0===r?void 0:r.getFormattedText(),g=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,N=t.label&&(null===(o=t.label())||void 0===o||null===(s=o.name())||void 0===s?void 0:s.getFormattedText()),D=!0,I=null===(a=t.COLOR())||void 0===a?void 0:a.getText(),y=t.getComment();c.Add(p,!1,h,g,l,N,D,u,I,y)};p.prototype.enterParticipant=h;let g=function(t){if(M)return;let e=t.getFormattedText();c.Add(e)};p.prototype.enterFrom=g,p.prototype.enterTo=g,p.prototype.enterStarter=function(t){let e=t.getFormattedText();c.Add(e,!0)},p.prototype.enterCreation=function(t){if(M)return;const e=t.Owner();c.Add(e)},p.prototype.enterParameters=function(){M=!0},p.prototype.exitParameters=function(){M=!1},p.prototype.enterCondition=function(){M=!0},p.prototype.exitCondition=function(){M=!1},p.prototype.enterGroup=function(t){var e;l=null===(e=t.name())||void 0===e?void 0:e.getFormattedText()},p.prototype.exitGroup=function(){l=void 0},p.prototype.enterRet=function(t){t.asyncMessage()||(c.Add(t.From()),c.Add(t.ReturnTo()))};const N=r.tree.ParseTreeWalker.DEFAULT;p.prototype.getParticipants=function(t,e){return c=new i.Participants,e&&t instanceof u&&c.Add(t.Starter(),!0),N.walk(this,t),c},t.exports=p},7817:(t,e,n)=>{const i=n(7228),r=n(4282),o=n(9918),s=n(479),a=n(1350);n(2148),n(3725),n(9469),n(8732),n(2452),n(5283),n(4466),n(4020),n(6866),n(6353),n(9609);const u=n(7890).R,c=[];class l extends i.error.ErrorListener{syntaxError(t,e,n,i,r){c.push(`${e} line ${n}, col ${i}: ${r}`)}}function M(t){const e=new i.InputStream(t),n=new r.sequenceLexer(e),s=new i.CommonTokenStream(n),a=new o.sequenceParser(s);return a.addErrorListener(new l),a._syntaxErrors?null:a.prog()}i.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return u(t)},i.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=r.sequenceLexer.prototype.channelNames.indexOf("COMMENT_CHANNEL");"BraceBlockContext"===this.constructor.name&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map((t=>t.text.substring(2))).join("")},i.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()},t.exports={RootContext:M,ProgContext:o.sequenceParser.ProgContext,GroupContext:o.sequenceParser.GroupContext,ParticipantContext:o.sequenceParser.ParticipantContext,Participants:function(t,e){const n=new s;return n.getParticipants(t,e)},Errors:c,Depth:function(t){const e=new a;return e.depth(e)(t)}}},655:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__assign:()=>o,__asyncDelegator:()=>x,__asyncGenerator:()=>T,__asyncValues:()=>L,__await:()=>d,__awaiter:()=>l,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>S,__classPrivateFieldSet:()=>C,__createBinding:()=>p,__decorate:()=>a,__exportStar:()=>h,__extends:()=>r,__generator:()=>M,__importDefault:()=>E,__importStar:()=>w,__makeTemplateObject:()=>j,__metadata:()=>c,__param:()=>u,__read:()=>N,__rest:()=>s,__spread:()=>D,__spreadArray:()=>y,__spreadArrays:()=>I,__values:()=>g});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function s(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function a(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function u(t,e){return function(n,i){e(n,i,t)}}function c(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{u(i.next(t))}catch(e){o(e)}}function a(t){try{u(i["throw"](t))}catch(e){o(e)}}function u(t){t.done?n(t.value):r(t.value).then(s,a)}u((i=i.apply(t,e||[])).next())}))}function M(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var p=Object.create?function(t,e,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(e,n);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,r)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]};function h(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||p(e,t,n)}function g(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(i=o.next()).done)s.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s}function D(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(N(arguments[e]));return t}function I(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}function y(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function d(t){return this instanceof d?(this.v=t,this):new d(t)}function T(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||a(t,e)}))})}function a(t,e){try{u(r[t](e))}catch(n){M(o[0][3],n)}}function u(t){t.value instanceof d?Promise.resolve(t.value.v).then(c,l):M(o[0][2],t)}function c(t){a("next",t)}function l(t){a("throw",t)}function M(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function x(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:d(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function L(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"===typeof g?g(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,o){e=t[n](e),r(i,o,e.done,e.value)}))}}function r(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}}function j(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var f=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t["default"]=e};function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&p(e,t,n);return f(e,t),e}function E(t){return t&&t.__esModule?t:{default:t}}function A(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function C(t,e,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(t,n):r?r.value=n:e.set(t,n),n}function S(t,e){if(null===e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof t?e===t:t.has(e)}},144:(t,e,n)=>{"use strict";n.r(e);
|
|
6
6
|
/*!
|
|
7
7
|
* Vue.js v2.6.12
|
|
8
8
|
* (c) 2014-2020 Evan You
|