@zenuml/core 3.0.2 → 3.0.3
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.esm.mjs +459 -460
- package/dist/zenuml.js +16 -16
- package/package.json +1 -1
package/dist/zenuml.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('.tooltip[data-v-70836592]{cursor:pointer;position:relative;display:block;width:100%;text-align:center;z-index:10}.tooltip span[data-v-70836592]{border-bottom:1px dotted}.tooltip[data-v-70836592]:after{display:none;content:attr(data-tooltip);background:#e8e9e9;max-width:500px;width:200px;position:absolute;left:-200px;right:0;margin:auto;opacity:0;height:auto;font-size:14px;padding:10px;border-radius:4px;color:#111;text-align:left}.tooltip.bottom[data-v-70836592]:after{top:80%;transition:opacity .3s ease .3s,top .3s cubic-bezier(.175,.885,.32,1.275) .3s}.tooltip.bottom[data-v-70836592]:hover:after{display:block;top:130%;opacity:1}.lifeline .line[data-v-6efc771f]{background-size:1px 20px}.interaction{border:dashed transparent 0}.interaction.sync{border-right-width:7px}.interaction.inited-from-occurrence,.interaction.self-invocation{border-left-width:7px}.interaction.return{border-left-width:7px;border-right-width:7px}.interaction.return-to-start{border-left-width:0}.interaction:hover{cursor:pointer}.message{position:relative}.message>.name{text-align:center}.interaction.right-to-left>.occurrence{left:-14px}.interaction.self>.occurrence{left:-8px;margin-top:-10px}.fragment{border-width:1px;margin:8px 0 0;padding-bottom:10px}.sequence-diagram *{box-sizing:inherit}.sequence-diagram{line-height:normal}.participant{border-width:2px;padding:8px 4px;min-width:88px;max-width:250px;text-align:center;pointer-events:all}.no-fill svg.arrow polyline[data-v-ca07199a]{fill:none!important}.async>.message>.point>svg.arrow>polyline[data-v-ca07199a]{fill:none}.right-to-left.point[data-v-ca07199a]{left:0;right:auto}.right-to-left.point>svg>polyline.right[data-v-ca07199a]{display:none}.right-to-left.point>svg>polyline.left[data-v-ca07199a]{display:inline}.point>svg>polyline.left[data-v-ca07199a]{display:none}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--color-bg-base: #fff;--color-text-base: #000;--color-text-secondary: #333;--color-border-base: #000}.theme-default{--color-text-base: #222;--color-border-base: #666;--color-message-arrow: #000;--color-bg-occurrence: #dedede}.theme-mermaid{--color-bg-base: #fff;--color-text-base: #222;--color-border-base: #666;--color-bg-occurrence: #dedede}.theme-mermaid .footer{visibility:hidden}.theme-darcula{--color-bg-canvas: #ffffff;--color-bg-frame: #2b2b2b;--color-border-frame: #cccccc;--color-bg-title: #2b2b2b;--color-text-title: #f8f8f2;--color-bg-participant: #44475a;--color-text-participant: #f8f8f2;--color-border-participant: #cccccc;--color-text-message: #ffb86c;--color-message-arrow: #cccccc;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #44475a;--color-text-fragment: #8be9fd;--color-border-fragment: #cccccc;--color-bg-occurrence: #44475a;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #e2ba88}.theme-sky{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #cccccc;--color-bg-title: #deecfb;--color-text-title: #032c72;--color-bg-participant: #deecfb;--color-text-participant: #032c72;--color-border-participant: #032c72;--color-text-message: #032c72;--color-message-arrow: #032c72;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #032c72;--color-border-fragment: #032c72;--color-bg-occurrence: #deecfb;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #a6d2ff}.theme-idle-afternoon{--color-bg-canvas: #d8dad9;--color-bg-frame: #d8dad9;--color-border-frame: #324939;--color-bg-title: #d8dad9;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #182e27;--color-border-participant: #182e27;--color-text-message: #030809;--color-message-arrow: #324939;--color-bg-message-hover: #aea690;--color-text-message-hover: #000000;--color-text-comment: #030809;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #182e27;--color-border-fragment: #344337;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles{--color-bg-canvas: #ffffff;--color-bg-frame: #ffde00;--color-border-frame: #ee141f;--color-bg-title: #ffffff;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #000000;--color-message-arrow: #000000;--color-bg-message-hover: #ee141f;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #ee141f;--color-text-fragment: #ffffff;--color-border-fragment: #ee141f;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles .footer{background-color:#fff}.theme-woolworths{--color-bg-canvas: #e6eaf3;--color-bg-frame: #e6eaf3;--color-border-frame: #049e50;--color-bg-title: #ffffff;--color-text-title: #12522f;--color-bg-participant: #aacb51;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #12522f;--color-message-arrow: #049e50;--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #aacb51;--color-text-fragment: #12522f;--color-border-fragment: #049e50;--color-bg-occurrence: #aacb51;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #335c80}.theme-anz{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #089fd8;--color-bg-title: #ffffff;--color-text-title: #006e9c;--color-bg-participant: #fcfdf8;--color-text-participant: #00abd8;--color-border-participant: #00abd8;--color-text-message: #42a4e0;--color-message-arrow: #089fd8;--color-bg-message-hover: #006e9c;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #42a4e0;--color-text-fragment: #006e9c;--color-border-fragment: #089fd8;--color-bg-occurrence: #fcfdf8;--color-border-occurrence: #006e9c;--color-text-link: #c9d8e7;--color-text-control: #335c80}.theme-anz .fragment .header{color:#fff}.theme-nab{--color-bg-canvas: #f2f4f6;--color-bg-participant: #c30000;--color-text-participant: #ffffff;--color-border-participant: #c30000;--color-text-message: #c30000;--color-bg-fragment-header: #c30000;--color-text-fragment-header: #ffffff}.theme-google{--color-white: #ffffff;--color-red-google: #db4437;--color-blue-google: #4285f4;--color-green-google: #0f9d58;--color-yellow-google: #f4b400;--color-bg-canvas: var(--color-white);--color-bg-frame: #f2f4f6;--color-border-frame: #4285f4;--color-bg-title: #4285f4;--color-text-title: #ffffff;--color-bg-participant: var(--color-red-google);--color-text-participant: #ffffff;--color-border-participant: #4285f4;--color-text-message: var(--color-red-google);--color-message-arrow: var(--color-red-google);--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: var(--color-green-google);--color-text-fragment: #ffffff;--color-border-fragment: #4285f4;--color-bg-occurrence: #f4b400;--color-border-occurrence: #4285f4;--color-text-link: #c9d8e7;--color-text-control: #335c80}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.zenuml .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.zenuml .pointer-events-none{pointer-events:none}.zenuml .pointer-events-auto{pointer-events:auto}.zenuml .invisible{visibility:hidden}.zenuml .fixed{position:fixed}.zenuml .absolute{position:absolute}.zenuml .relative{position:relative}.zenuml .sticky{position:sticky}.zenuml .inset-0{top:0px;right:0px;bottom:0px;left:0px}.zenuml .bottom-1{bottom:.25rem}.zenuml .left-1{left:.25rem}.zenuml .right-1{right:.25rem}.zenuml .top-0{top:0px}.zenuml .top-8{top:2rem}.zenuml .left-1\\/2{left:50%}.zenuml .right-0{right:0px}.zenuml .left-full{left:100%}.zenuml .z-40{z-index:40}.zenuml .z-10{z-index:10}.zenuml .col-span-2{grid-column:span 2 / span 2}.zenuml .col-span-1{grid-column:span 1 / span 1}.zenuml .col-span-4{grid-column:span 4 / span 4}.zenuml .float-right{float:right}.zenuml .m-1{margin:.25rem}.zenuml .m-2{margin:.5rem}.zenuml .m-auto{margin:auto}.zenuml .mx-auto{margin-left:auto;margin-right:auto}.zenuml .mx-2{margin-left:.5rem;margin-right:.5rem}.zenuml .-my-px{margin-top:-1px;margin-bottom:-1px}.zenuml .ml-4{margin-left:1rem}.zenuml .mt-3{margin-top:.75rem}.zenuml .mt-4{margin-top:1rem}.zenuml .mb-4{margin-bottom:1rem}.zenuml .mt-8{margin-top:2rem}.zenuml .-mt-12{margin-top:-3rem}.zenuml .mt-1{margin-top:.25rem}.zenuml .mb-0{margin-bottom:0}.zenuml .mt-2{margin-top:.5rem}.zenuml .box-border{box-sizing:border-box}.zenuml .block{display:block}.zenuml .inline-block{display:inline-block}.zenuml .inline{display:inline}.zenuml .flex{display:flex}.zenuml .inline-flex{display:inline-flex}.zenuml .table{display:table}.zenuml .grid{display:grid}.zenuml .contents{display:contents}.zenuml .hidden{display:none}.zenuml .h-10{height:2.5rem}.zenuml .h-5{height:1.25rem}.zenuml .h-0{height:0px}.zenuml .h-screen{height:100vh}.zenuml .h-full{height:100%}.zenuml .h-4{height:1rem}.zenuml .h-6{height:1.5rem}.zenuml .h-12{height:3rem}.zenuml .h-8{height:2rem}.zenuml .h-14{height:3.5rem}.zenuml .h-3{height:.75rem}.zenuml .min-h-screen{min-height:100vh}.zenuml .w-full{width:100%}.zenuml .w-96{width:24rem}.zenuml .w-28{width:7rem}.zenuml .w-4{width:1rem}.zenuml .w-6{width:1.5rem}.zenuml .w-8{width:2rem}.zenuml .w-11\\/12{width:91.666667%}.zenuml .w-px{width:1px}.zenuml .w-3{width:.75rem}.zenuml .min-w-\\[100px\\]{min-width:100px}.zenuml .max-w-full{max-width:100%}.zenuml .max-w-7xl{max-width:80rem}.zenuml .flex-shrink-0,.zenuml .shrink-0{flex-shrink:0}.zenuml .flex-grow,.zenuml .grow{flex-grow:1}.zenuml .origin-top-left{transform-origin:top left}.zenuml .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-8{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .cursor-pointer{cursor:pointer}.zenuml .resize{resize:both}.zenuml .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.zenuml .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.zenuml .flex-row-reverse{flex-direction:row-reverse}.zenuml .flex-col{flex-direction:column}.zenuml .flex-nowrap{flex-wrap:nowrap}.zenuml .items-start{align-items:flex-start}.zenuml .items-end{align-items:flex-end}.zenuml .items-center{align-items:center}.zenuml .justify-center{justify-content:center}.zenuml .justify-between{justify-content:space-between}.zenuml .justify-around{justify-content:space-around}.zenuml .gap-5{gap:1.25rem}.zenuml .overflow-hidden{overflow:hidden}.zenuml .overflow-visible{overflow:visible}.zenuml .overflow-y-auto{overflow-y:auto}.zenuml .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zenuml .whitespace-normal{white-space:normal}.zenuml .whitespace-nowrap{white-space:nowrap}.zenuml .rounded{border-radius:.25rem}.zenuml .rounded-sm{border-radius:.125rem}.zenuml .rounded-md{border-radius:.375rem}.zenuml .rounded-lg{border-radius:.5rem}.zenuml .rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.zenuml .rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.zenuml .rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.zenuml .border-2{border-width:2px}.zenuml .border{border-width:1px}.zenuml .border-b-2{border-bottom-width:2px}.zenuml .border-b{border-bottom-width:1px}.zenuml .border-t{border-top-width:1px}.zenuml .border-r{border-right-width:1px}.zenuml .border-solid{border-style:solid}.zenuml .border-dashed{border-style:dashed}.zenuml .border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.zenuml .border-skin-frame{border-color:var(--color-border-frame, var(--color-border-base, #000))}.zenuml .border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.zenuml .border-skin-participant{border-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-fragment{border-color:var(--color-border-fragment, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-message-arrow{border-color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-occurrence{border-color:var(--color-border-occurrence, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.zenuml .bg-skin-canvas{background-color:var(--color-bg-canvas, var(--color-bg-base, #fff))}.zenuml .bg-skin-frame{background-color:var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))}.zenuml .bg-skin-title{background-color:var(--color-bg-title, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-skin-base{background-color:var(--color-bg-base)}.zenuml .bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.zenuml .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.zenuml .bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.zenuml .bg-skin-lifeline{background-color:var(--color-border-participant, var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000))))}.zenuml .bg-skin-participant{background-color:var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.zenuml .bg-skin-divider{background-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-skin-fragment-header{background-color:var(--color-bg-fragment-header, transparent)}.zenuml .bg-skin-occurrence{background-color:var(--color-bg-occurrence, var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))))}.zenuml .bg-opacity-75{--tw-bg-opacity: .75}.zenuml .fill-current{fill:currentColor}.zenuml .fill-none{fill:none}.zenuml .stroke-current{stroke:currentColor}.zenuml .stroke-2{stroke-width:2}.zenuml .object-contain{object-fit:contain}.zenuml .p-1{padding:.25rem}.zenuml .p-2{padding:.5rem}.zenuml .p-0{padding:0}.zenuml .px-1{padding-left:.25rem;padding-right:.25rem}.zenuml .px-3{padding-left:.75rem;padding-right:.75rem}.zenuml .py-1{padding-top:.25rem;padding-bottom:.25rem}.zenuml .px-2{padding-left:.5rem;padding-right:.5rem}.zenuml .py-2{padding-top:.5rem;padding-bottom:.5rem}.zenuml .px-4{padding-left:1rem;padding-right:1rem}.zenuml .py-5{padding-top:1.25rem;padding-bottom:1.25rem}.zenuml .px-px{padding-left:1px;padding-right:1px}.zenuml .pb-8{padding-bottom:2rem}.zenuml .pt-8{padding-top:2rem}.zenuml .pt-4{padding-top:1rem}.zenuml .pb-20{padding-bottom:5rem}.zenuml .pb-4{padding-bottom:1rem}.zenuml .pb-32{padding-bottom:8rem}.zenuml .pb-2{padding-bottom:.5rem}.zenuml .pr-24{padding-right:6rem}.zenuml .pt-24{padding-top:6rem}.zenuml .pb-10{padding-bottom:2.5rem}.zenuml .text-left{text-align:left}.zenuml .text-center{text-align:center}.zenuml .align-bottom{vertical-align:bottom}.zenuml .text-xs{font-size:.75rem;line-height:1rem}.zenuml .text-sm{font-size:.875rem;line-height:1.25rem}.zenuml .text-base{font-size:1rem;line-height:1.5rem}.zenuml .text-xl{font-size:1.25rem;line-height:1.75rem}.zenuml .text-lg{font-size:1.125rem;line-height:1.75rem}.zenuml .font-bold{font-weight:700}.zenuml .font-semibold{font-weight:600}.zenuml .font-medium{font-weight:500}.zenuml .italic{font-style:italic}.zenuml .leading-6{line-height:1.5rem}.zenuml .leading-4{line-height:1rem}.zenuml .text-skin-title{color:var(--color-text-title, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-control{color:var(--color-text-control, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-link{color:var(--color-text-link, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.zenuml .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.zenuml .text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.zenuml .text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.zenuml .text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .text-skin-participant{color:var(--color-text-participant, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-base{color:var(--color-text-base)}.zenuml .text-skin-message{color:var(--color-text-message, var(--color-text-base, #000))}.zenuml .text-skin-comment{color:var(--color-text-comment, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-fragment-header{color:var(--color-text-fragment-header, var(--color-text-message, #000))}.zenuml .text-skin-fragment{color:var(--color-text-fragment, var(--color-text-message, #000))}.zenuml .text-skin-message-arrow{color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .opacity-50{opacity:.5}.zenuml .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-slate-500\\/50{--tw-shadow-color: rgb(100 116 139 / .5);--tw-shadow: var(--tw-shadow-colored)}.zenuml .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .hover\\:whitespace-normal:hover{white-space:normal}.zenuml .hover\\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-skin-message-hover:hover{background-color:var(--color-bg-message-hover, var(--color-text-base, #000))}.zenuml .hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .hover\\:text-skin-message-hover:hover{color:var(--color-text-message-hover, var(--color-bg-base, #fff))}.zenuml .hover\\:opacity-100:hover{opacity:1}.zenuml .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.zenuml .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.zenuml .focus\\:ring-inset:focus{--tw-ring-inset: inset}.zenuml .focus\\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.zenuml .group:hover .group-hover\\:flex{display:flex}@media (min-width: 640px){.zenuml .sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.zenuml .sm\\:block{display:block}.zenuml .sm\\:inline-block{display:inline-block}.zenuml .sm\\:h-screen{height:100vh}.zenuml .sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.zenuml .sm\\:gap-6{gap:1.5rem}.zenuml .sm\\:p-2{padding:.5rem}.zenuml .sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.zenuml .sm\\:align-middle{vertical-align:middle}}@media (min-width: 1024px){.zenuml .lg\\:mx-auto{margin-left:auto;margin-right:auto}.zenuml .lg\\:mx-0{margin-left:0;margin-right:0}.zenuml .lg\\:max-w-none{max-width:none}.zenuml .lg\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.zenuml .lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.zenuml .lg\\:px-8{padding-left:2rem;padding-right:2rem}}.zenuml .\\[\\&\\>svg\\]\\:h-full>svg{height:100%}.zenuml .\\[\\&\\>svg\\]\\:w-full>svg{width:100%}.zenuml{font-family:Helvetica,Verdana,serif;font-size:16px}.zenuml .frame .sequence-diagram .comments code{background-color:#f9f2f4;padding:2px;margin:1px 0;border-radius:2px}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-post{color:#0d4b3b}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-get{color:#2f3d89}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-delete{color:#7e1e23}.zenuml .frame .sequence-diagram .comments ol,.zenuml .frame .sequence-diagram .comments ul{margin:0;padding-left:20px}.zenuml .frame .sequence-diagram .comments ul li{list-style-type:none}.zenuml .frame .sequence-diagram .comments ul li input[type=checkbox]{margin-left:-1em}.zenuml .frame .sequence-diagram .comments table{border-collapse:collapse;border-spacing:0;empty-cells:show;border-color:#cbcbcb}.zenuml .frame .sequence-diagram .comments table td,.zenuml .frame .sequence-diagram .comments table th{padding:.5em}.zenuml .frame .sequence-diagram .comments table thead{background-color:#e0e0e0}.zenuml .frame .sequence-diagram .comments table td{background-color:transparent}.theme-blue .sequence-diagram .divider .name{border-radius:4px;border:1px solid #e28553;color:#e28553}.theme-blue .sequence-diagram .divider .left,.theme-blue .sequence-diagram .divider .right{background:#e28553}.theme-blue .sequence-diagram .lifeline .participant{border-color:#032c72;background:rgba(146,192,240,.3)}.theme-blue .sequence-diagram .lifeline .participant label{color:#032c72}.theme-blue .sequence-diagram .lifeline .line{border-left-color:#032c72}.theme-blue .sequence-diagram .message{border-bottom-color:#032c72}.theme-blue .sequence-diagram .message .name{color:#032c72}.theme-blue .sequence-diagram .message svg polyline{stroke:#032c72}.theme-blue .sequence-diagram .message svg polyline.head{fill:#032c72}.theme-blue .sequence-diagram .occurrence{border-color:#032c72;background-color:#fff}.theme-blue .sequence-diagram .fragment{border-radius:4px;border-color:#042e6e4d}.theme-blue .sequence-diagram .fragment .header .name{background:rgba(4,46,110,.1)}.theme-blue .sequence-diagram .fragment .header label{color:#032c72}.theme-black-white .sequence-diagram .divider .name{border-radius:0;border-color:#000;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .divider .left,.theme-black-white .sequence-diagram .divider .right{background:#000}.theme-black-white .sequence-diagram .lifeline .participant{border-color:#000;background:#fff;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .lifeline .line{border-left-color:#0006}.theme-black-white .sequence-diagram .message{border-bottom-color:#000}.theme-black-white .sequence-diagram .message .name{color:#000}.theme-black-white .sequence-diagram .message svg polyline{stroke:#000}.theme-black-white .sequence-diagram .message svg polyline.head{fill:#000}.theme-black-white .sequence-diagram .occurrence{border-color:#000;background-color:#f5f5f5}.theme-black-white .sequence-diagram .fragment{border-color:#0000004d}.theme-black-white .sequence-diagram .fragment .header .name{background:rgba(0,0,0,.07)}.theme-star-uml .sequence-diagram .lifeline .participant{border-color:#b94065;background-color:#fffec8}.theme-star-uml .sequence-diagram .lifeline .line{border-left-color:#b94065}.theme-star-uml .sequence-diagram .message{border-bottom-color:#b94065}.theme-star-uml .sequence-diagram .message svg polyline{stroke:#b94065}.theme-star-uml .sequence-diagram .message svg polyline.head{fill:#b94065}.theme-star-uml .sequence-diagram .occurrence{background-color:#fffec8;border-color:#b94065}.blue-river .sequence-diagram{color:#5452f6}.blue-river .sequence-diagram .life-line-layer .lifeline.actor .participant:before{filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)}.blue-river .sequence-diagram .life-line-layer .participant{background:#2097f7;box-shadow:4px 4px #83c4f8;border-radius:9px;color:#fff}.blue-river .sequence-diagram .life-line-layer .participant .interface{font-size:.8em}.blue-river .sequence-diagram .life-line-layer .line{border-left-color:#2097f7}.blue-river .sequence-diagram .message-layer .message{border-bottom-color:#2097f7}.blue-river .sequence-diagram .message-layer .message svg.arrow polyline{stroke:#2097f7;fill:#2097f7}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline{fill:none}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline.head{fill:#2097f7}.blue-river .sequence-diagram .message-layer .occurrence{background:#e5fde8;border-color:#65bf73;box-shadow:4px 4px #93c69b}.blue-river .sequence-diagram .message-layer .fragment{border-color:#2097f7}.blue-river .sequence-diagram .message-layer .fragment .header .name label{display:inline-block;min-width:50px;background:#5452f6;color:#fff;padding:2px 0 2px 10px}.blue-river .sequence-diagram .message-layer .fragment .header .name:after{content:"SO";display:inline-block;background:#5452f6;margin-left:-23px;width:34px;transform:translateY(-2px);height:22px;-webkit-clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%);clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%)}.blue-river .sequence-diagram .message-layer .fragment .header>label{display:inline-block;min-width:50px;font-weight:700;color:#fff;background:#65bf73}.blue-river .sequence-diagram .message-layer .fragment .comments{border-color:inherit}.blue-river .sequence-diagram .message-layer .fragment .divider{border-bottom-color:inherit}:root{--background: #282a36;--hover: #2b2b2b;--occurance-border: #6e7191;--border: #585b74;--white: #f8f8f2;--current: #44475a;--comment: #6272a4;--cyan: #8be9fd;--green: #50fa7b;--orange: #ffb86c;--pink: #ff79c6;--purple: #bd93f9;--red: #ff5555;--yellow: #f1fa8c;--crayola: #a9b7c6}body .zenuml.theme-dark{background-color:var(--background)}.zenuml.theme-dark .header{color:var(--crayola);font-weight:700}.zenuml.theme-dark .sequence-diagram .lifeline-group:hover{background-color:#223049}.zenuml.theme-dark .sequence-diagram .lifeline .participant{border-color:var(--border);border-radius:2px;background:var(--background)}.zenuml.theme-dark .sequence-diagram .lifeline .participant label{color:var(--cyan)}.zenuml.theme-dark .sequence-diagram .lifeline .line{background:var(--border)}.zenuml.theme-dark .fragment>.header>.condition{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header label{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header .name{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .fragment .header .name label{color:var(--pink);font-weight:400}.zenuml.theme-dark .sequence-diagram .fragment{border-color:var(--border)}.zenuml.theme-dark .sequence-diagram .comments{border:none;background:transparent;color:var(--comment)}.zenuml.theme-dark .sequence-diagram .fragment .segment:not(:first-child){border-top-color:var(--border)}.zenuml.theme-dark .sequence-diagram .interaction{color:var(--orange)}.zenuml.theme-dark .sequence-diagram .message{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .message .name:hover{color:var(--crayola)}.zenuml.theme-dark .sequence-diagram .message svg polyline{fill:var(--border);stroke:var(--border)}.zenuml.theme-dark .sequence-diagram .message.self svg>polyline:not(.head){fill:none}.zenuml.theme-dark .sequence-diagram .occurrence{background-color:var(--current);box-shadow:0 0 0 1px var(--occurance-border);border-radius:2px}.zenuml.theme-dark .sequence-diagram .divider .left,.zenuml.theme-dark .sequence-diagram .divider .right{background:var(--border)}.zenuml.theme-dark .sequence-diagram .divider .name{color:var(--comment)}.zenuml.theme-dark .interaction .message>.name:hover{background-color:#228b22;color:#fff}p[data-v-15224042]{margin:0;line-height:1.25em}.occurrence[data-v-054f42d1]{width:15px;padding:16px 0 16px 5px}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type{margin-bottom:0;border-bottom:0;transform:translateY(1px)}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type>.message{bottom:-17px;height:0}.right-to-left.occurrence[data-v-054f42d1]{left:-14px}.occurrence{margin-top:-2px}.interaction .occurrence.source[data-v-05daaa2d]{position:absolute;height:calc(100% + 14px);left:-12px;display:none}.interaction .occurrence.source.right-to-left[data-v-05daaa2d]{left:unset;right:-13px}.message.self[data-v-25f755f6]{transform:translate(-5px)}.interaction .invisible-occurrence[data-v-eb21ece9]{height:20px}.interaction.async[data-v-eb21ece9] .message{width:100%}.collapsible-header[data-v-b41acdfc]{display:flex;width:100%;justify-content:space-between}.collapse-button[data-v-b41acdfc]{display:none}.fragment:hover .collapsible-header .collapse-button.expanded[data-v-b41acdfc]{display:inline-block!important}*[data-v-125017f4],*[data-v-4545e2e3]{border-color:inherit}.fragment.par>.block>.statement-container:not(:first-child){border-top-color:inherit;border-top-width:1px;border-top-style:solid}*[data-v-771edb8e],*[data-v-06cc8e56],*[data-v-1ae75b06]{border-color:inherit}.divider[data-v-9e567e69]{display:flex;align-items:center}.name[data-v-9e567e69]{margin:0;padding:2px 6px}.left[data-v-9e567e69],.right[data-v-9e567e69]{height:1px;flex-grow:1}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
(function(ke,ce){typeof exports=="object"&&typeof module<"u"?ce(exports):typeof define=="function"&&define.amd?define(["exports"],ce):(ke=typeof globalThis<"u"?globalThis:ke||self,ce(ke.zenuml={}))})(this,function(ke){"use strict";var Gv=Object.defineProperty;var jv=(ke,ce,Jn)=>ce in ke?Gv(ke,ce,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):ke[ce]=Jn;var Z=(ke,ce,Jn)=>(jv(ke,typeof ce!="symbol"?ce+"":ce,Jn),Jn);var ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jn(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var Dd=Bd;function Bd(n,t,e){var s=e&&e.stringify||Jn,r=1;if(typeof n=="object"&&n!==null){var i=t.length+r;if(i===1)return n;var o=new Array(i);o[0]=s(n);for(var a=1;a<i;a++)o[a]=s(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-r,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var E=typeof t[u];if(E==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(E==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=s(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const Sc=Dd;var $d=tn;const pr=Kd().console||{},Ud={mapHttpRequest:_i,mapHttpResponse:_i,wrapRequestSerializer:a1,wrapResponseSerializer:a1,wrapErrorSerializer:a1,req:_i,res:_i,err:zd};function Hd(n,t){return Array.isArray(n)?n.filter(function(s){return s!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function tn(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||pr;n.browser.write&&(n.browser.asObject=!0);const s=n.serializers||{},r=Hd(n.browser.serialize,s);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=gr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:r,asObject:n.browser.asObject,levels:o,timestamp:Wd(n)};l.levels=tn.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=gr,l.serializers=s,l._serialize=r,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=o1());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(E){if(E!=="silent"&&!this.levels.values[E])throw Error("unknown level "+E);this._level=E,Rs(c,l,"error","log"),Rs(c,l,"fatal","error"),Rs(c,l,"warn","error"),Rs(c,l,"info","log"),Rs(c,l,"debug","log"),Rs(c,l,"trace","log")}function p(E,v){if(!E)throw new Error("missing bindings for child Pino");v=v||{},r&&E.serializers&&(v.serializers=E.serializers);const W=v.serializers;if(r&&W){var y=Object.assign({},s,W),m=n.browser.serialize===!0?Object.keys(y):r;delete E.serializers,Li([E],m,y,this._stdErrSerialize)}function C(T){this._childLevel=(T._childLevel|0)+1,this.error=ks(T,E,"error"),this.fatal=ks(T,E,"fatal"),this.warn=ks(T,E,"warn"),this.info=ks(T,E,"info"),this.debug=ks(T,E,"debug"),this.trace=ks(T,E,"trace"),y&&(this.serializers=y,this._serialize=m),t&&(this._logEvent=o1([].concat(T._logEvent.bindings,E)))}return C.prototype=this,new C(this)}return l}tn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},tn.stdSerializers=Ud,tn.stdTimeFunctions=Object.assign({},{nullTime:Rc,epochTime:kc,unixTime:Zd,isoTime:qd});function Rs(n,t,e,s){const r=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?gr:r[e]?r[e]:pr[e]||pr[s]||gr,Vd(n,t,e)}function Vd(n,t,e){!n.transmit&&t[e]===gr||(t[e]=function(s){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===pr?pr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Li(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?s.call(a,Gd(this,e,o,i)):s.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=tn.levels.values[c],f=tn.levels.values[e];if(f<u)return;jd(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:tn.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function Gd(n,t,e,s){n._serialize&&Li(e,n._serialize,n.serializers,n._stdErrSerialize);const r=e.slice();let i=r[0];const o={};s&&(o.time=s),o.level=tn.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof r[0]=="object";)Object.assign(o,r.shift());i=r.length?Sc(r.shift(),r):void 0}else typeof i=="string"&&(i=Sc(r.shift(),r));return i!==void 0&&(o.msg=i),o}function Li(n,t,e,s){for(const r in n)if(s&&n[r]instanceof Error)n[r]=tn.stdSerializers.err(n[r]);else if(typeof n[r]=="object"&&!Array.isArray(n[r]))for(const i in n[r])t&&t.indexOf(i)>-1&&i in e&&(n[r][i]=e[i](n[r][i]))}function ks(n,t,e){return function(){const s=new Array(1+arguments.length);s[0]=t;for(var r=1;r<s.length;r++)s[r]=arguments[r-1];return n[e].apply(this,s)}}function jd(n,t,e){const s=t.send,r=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Li(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=r,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,s(i,n._logEvent,a),n._logEvent=o1(l)}function o1(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function zd(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function Wd(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?Rc:kc}function _i(){return{}}function a1(n){return n}function gr(){}function Rc(){return!1}function kc(){return Date.now()}function Zd(){return Math.round(Date.now()/1e3)}function qd(){return new Date(Date.now()).toISOString()}function Kd(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const Yd=$d({level:"warn"}),Ic=["log","trace","debug","info","warn","error"];function Xd(n,t){n[t]=(console[t]||console.log).bind(console)}function Qd(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function Jd(n){Ic.forEach(e=>Xd(n,e));const t=n.child;return n.child=function(e){const s=t.call(n,e);return Ic.forEach(r=>Qd(s,r,["%c"+e.name||"","color: #00f"])),s},n}let mr=Jd(Yd);function Is(n,t){const e=Object.create(null),s=n.split(",");for(let r=0;r<s.length;r++)e[s[r]]=!0;return t?r=>!!e[r.toLowerCase()]:r=>!!e[r]}const t3=Is("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function Lt(n){if(V(n)){const t={};for(let e=0;e<n.length;e++){const s=n[e],r=Ut(s)?r3(s):Lt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Ut(n))return n;if(_t(n))return n}}const e3=/;(?![^(]*\))/g,n3=/:([^]+)/,s3=/\/\*.*?\*\//gs;function r3(n){const t={};return n.replace(s3,"").split(e3).forEach(e=>{if(e){const s=e.split(n3);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ft(n){let t="";if(Ut(n))t=n;else if(V(n))for(let e=0;e<n.length;e++){const s=Ft(n[e]);s&&(t+=s+" ")}else if(_t(n))for(const e in n)n[e]&&(t+=e+" ");return t.trim()}function i3(n){if(!n)return null;let{class:t,style:e}=n;return t&&!Ut(t)&&(n.class=Ft(t)),e&&(n.style=Lt(e)),n}const Oc=Is("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Nc(n){return!!n||n===""}function o3(n,t){if(n.length!==t.length)return!1;let e=!0;for(let s=0;e&&s<n.length;s++)e=Ln(n[s],t[s]);return e}function Ln(n,t){if(n===t)return!0;let e=Mc(n),s=Mc(t);if(e||s)return e&&s?n.getTime()===t.getTime():!1;if(e=Lr(n),s=Lr(t),e||s)return n===t;if(e=V(n),s=V(t),e||s)return e&&s?o3(n,t):!1;if(e=_t(n),s=_t(t),e||s){if(!e||!s)return!1;const r=Object.keys(n).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in n){const a=n.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Ln(n[o],t[o]))return!1}}return String(n)===String(t)}function xr(n,t){return n.findIndex(e=>Ln(e,t))}const Yt=n=>Ut(n)?n:n==null?"":V(n)||_t(n)&&(n.toString===Fc||!lt(n.toString))?JSON.stringify(n,Pc,2):String(n),Pc=(n,t)=>t&&t.__v_isRef?Pc(n,t.value):Ns(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r])=>(e[`${s} =>`]=r,e),{})}:ts(t)?{[`Set(${t.size})`]:[...t.values()]}:_t(t)&&!V(t)&&!Ci(t)?String(t):t,Dt={},Os=[],_e=()=>{},a3=()=>!1,l3=/^on[^a-z]/,_n=n=>l3.test(n),l1=n=>n.startsWith("onUpdate:"),yt=Object.assign,c1=(n,t)=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)},c3=Object.prototype.hasOwnProperty,Tt=(n,t)=>c3.call(n,t),V=Array.isArray,Ns=n=>_r(n)==="[object Map]",ts=n=>_r(n)==="[object Set]",Mc=n=>_r(n)==="[object Date]",lt=n=>typeof n=="function",Ut=n=>typeof n=="string",Lr=n=>typeof n=="symbol",_t=n=>n!==null&&typeof n=="object",yi=n=>_t(n)&<(n.then)&<(n.catch),Fc=Object.prototype.toString,_r=n=>Fc.call(n),u3=n=>_r(n).slice(8,-1),Ci=n=>_r(n)==="[object Object]",u1=n=>Ut(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Ps=Is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ei=n=>{const t=Object.create(null);return e=>t[e]||(t[e]=n(e))},h3=/-(\w)/g,de=Ei(n=>n.replace(h3,(t,e)=>e?e.toUpperCase():"")),f3=/\B([A-Z])/g,pe=Ei(n=>n.replace(f3,"-$1").toLowerCase()),yr=Ei(n=>n.charAt(0).toUpperCase()+n.slice(1)),Ms=Ei(n=>n?`on${yr(n)}`:""),Fs=(n,t)=>!Object.is(n,t),Mn=(n,t)=>{for(let e=0;e<n.length;e++)n[e](t)},bi=(n,t,e)=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:e})},en=n=>{const t=parseFloat(n);return isNaN(t)?n:t};let Dc;const d3=()=>Dc||(Dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ie;class h1{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}run(t){if(this.active){const e=Ie;try{return Ie=this,t()}finally{Ie=e}}}on(){Ie=this}off(){Ie=this.parent}stop(t){if(this.active){let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function Bc(n){return new h1(n)}function $c(n,t=Ie){t&&t.active&&t.effects.push(n)}function p3(){return Ie}function g3(n){Ie&&Ie.cleanups.push(n)}const f1=n=>{const t=new Set(n);return t.w=0,t.n=0,t},Uc=n=>(n.w&Fn)>0,Hc=n=>(n.n&Fn)>0,m3=({deps:n})=>{if(n.length)for(let t=0;t<n.length;t++)n[t].w|=Fn},x3=n=>{const{deps:t}=n;if(t.length){let e=0;for(let s=0;s<t.length;s++){const r=t[s];Uc(r)&&!Hc(r)?r.delete(n):t[e++]=r,r.w&=~Fn,r.n&=~Fn}t.length=e}},d1=new WeakMap;let Cr=0,Fn=1;const p1=30;let Ke;const es=Symbol(""),g1=Symbol("");class Er{constructor(t,e=null,s){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,$c(this,s)}run(){if(!this.active)return this.fn();let t=Ke,e=Dn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ke,Ke=this,Dn=!0,Fn=1<<++Cr,Cr<=p1?m3(this):Vc(this),this.fn()}finally{Cr<=p1&&x3(this),Fn=1<<--Cr,Ke=this.parent,Dn=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ke===this?this.deferStop=!0:this.active&&(Vc(this),this.onStop&&this.onStop(),this.active=!1)}}function Vc(n){const{deps:t}=n;if(t.length){for(let e=0;e<t.length;e++)t[e].delete(n);t.length=0}}function L3(n,t){n.effect&&(n=n.effect.fn);const e=new Er(n);t&&(yt(e,t),t.scope&&$c(e,t.scope)),(!t||!t.lazy)&&e.run();const s=e.run.bind(e);return s.effect=e,s}function _3(n){n.effect.stop()}let Dn=!0;const Gc=[];function Ds(){Gc.push(Dn),Dn=!1}function Bs(){const n=Gc.pop();Dn=n===void 0?!0:n}function ye(n,t,e){if(Dn&&Ke){let s=d1.get(n);s||d1.set(n,s=new Map);let r=s.get(e);r||s.set(e,r=f1()),jc(r)}}function jc(n,t){let e=!1;Cr<=p1?Hc(n)||(n.n|=Fn,e=!Uc(n)):e=!n.has(Ke),e&&(n.add(Ke),Ke.deps.push(n))}function nn(n,t,e,s,r,i){const o=d1.get(n);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(e==="length"&&V(n)){const l=en(s);o.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(e!==void 0&&a.push(o.get(e)),t){case"add":V(n)?u1(e)&&a.push(o.get("length")):(a.push(o.get(es)),Ns(n)&&a.push(o.get(g1)));break;case"delete":V(n)||(a.push(o.get(es)),Ns(n)&&a.push(o.get(g1)));break;case"set":Ns(n)&&a.push(o.get(es));break}if(a.length===1)a[0]&&m1(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);m1(f1(l))}}function m1(n,t){const e=V(n)?n:[...n];for(const s of e)s.computed&&zc(s);for(const s of e)s.computed||zc(s)}function zc(n,t){(n!==Ke||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const y3=Is("__proto__,__v_isRef,__isVue"),Wc=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Lr)),C3=Ti(),E3=Ti(!1,!0),b3=Ti(!0),T3=Ti(!0,!0),Zc=w3();function w3(){const n={};return["includes","indexOf","lastIndexOf"].forEach(t=>{n[t]=function(...e){const s=vt(this);for(let i=0,o=this.length;i<o;i++)ye(s,"get",i+"");const r=s[t](...e);return r===-1||r===!1?s[t](...e.map(vt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{n[t]=function(...e){Ds();const s=vt(this)[t].apply(this,e);return Bs(),s}}),n}function Ti(n=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(n?t?r0:s0:t?n0:e0).get(s))return s;const o=V(s);if(!n&&o&&Tt(Zc,r))return Reflect.get(Zc,r,i);const a=Reflect.get(s,r,i);return(Lr(r)?Wc.has(r):y3(r))||(n||ye(s,"get",r),t)?a:ee(a)?o&&u1(r)?a:a.value:_t(a)?n?L1(a):yn(a):a}}const v3=qc(),A3=qc(!0);function qc(n=!1){return function(e,s,r,i){let o=e[s];if(ns(o)&&ee(o)&&!ee(r))return!1;if(!n&&(!br(r)&&!ns(r)&&(o=vt(o),r=vt(r)),!V(e)&&ee(o)&&!ee(r)))return o.value=r,!0;const a=V(e)&&u1(s)?Number(s)<e.length:Tt(e,s),l=Reflect.set(e,s,r,i);return e===vt(i)&&(a?Fs(r,o)&&nn(e,"set",s,r):nn(e,"add",s,r)),l}}function S3(n,t){const e=Tt(n,t);n[t];const s=Reflect.deleteProperty(n,t);return s&&e&&nn(n,"delete",t,void 0),s}function R3(n,t){const e=Reflect.has(n,t);return(!Lr(t)||!Wc.has(t))&&ye(n,"has",t),e}function k3(n){return ye(n,"iterate",V(n)?"length":es),Reflect.ownKeys(n)}const Kc={get:C3,set:v3,deleteProperty:S3,has:R3,ownKeys:k3},Yc={get:b3,set(n,t){return!0},deleteProperty(n,t){return!0}},I3=yt({},Kc,{get:E3,set:A3}),O3=yt({},Yc,{get:T3}),x1=n=>n,wi=n=>Reflect.getPrototypeOf(n);function vi(n,t,e=!1,s=!1){n=n.__v_raw;const r=vt(n),i=vt(t);e||(t!==i&&ye(r,"get",t),ye(r,"get",i));const{has:o}=wi(r),a=s?x1:e?C1:Tr;if(o.call(r,t))return a(n.get(t));if(o.call(r,i))return a(n.get(i));n!==r&&n.get(t)}function Ai(n,t=!1){const e=this.__v_raw,s=vt(e),r=vt(n);return t||(n!==r&&ye(s,"has",n),ye(s,"has",r)),n===r?e.has(n):e.has(n)||e.has(r)}function Si(n,t=!1){return n=n.__v_raw,!t&&ye(vt(n),"iterate",es),Reflect.get(n,"size",n)}function Xc(n){n=vt(n);const t=vt(this);return wi(t).has.call(t,n)||(t.add(n),nn(t,"add",n,n)),this}function Qc(n,t){t=vt(t);const e=vt(this),{has:s,get:r}=wi(e);let i=s.call(e,n);i||(n=vt(n),i=s.call(e,n));const o=r.call(e,n);return e.set(n,t),i?Fs(t,o)&&nn(e,"set",n,t):nn(e,"add",n,t),this}function Jc(n){const t=vt(this),{has:e,get:s}=wi(t);let r=e.call(t,n);r||(n=vt(n),r=e.call(t,n)),s&&s.call(t,n);const i=t.delete(n);return r&&nn(t,"delete",n,void 0),i}function t0(){const n=vt(this),t=n.size!==0,e=n.clear();return t&&nn(n,"clear",void 0,void 0),e}function Ri(n,t){return function(s,r){const i=this,o=i.__v_raw,a=vt(o),l=t?x1:n?C1:Tr;return!n&&ye(a,"iterate",es),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function ki(n,t,e){return function(...s){const r=this.__v_raw,i=vt(r),o=Ns(i),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...s),u=e?x1:t?C1:Tr;return!t&&ye(i,"iterate",l?g1:es),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Bn(n){return function(...t){return n==="delete"?!1:this}}function N3(){const n={get(i){return vi(this,i)},get size(){return Si(this)},has:Ai,add:Xc,set:Qc,delete:Jc,clear:t0,forEach:Ri(!1,!1)},t={get(i){return vi(this,i,!1,!0)},get size(){return Si(this)},has:Ai,add:Xc,set:Qc,delete:Jc,clear:t0,forEach:Ri(!1,!0)},e={get(i){return vi(this,i,!0)},get size(){return Si(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bn("add"),set:Bn("set"),delete:Bn("delete"),clear:Bn("clear"),forEach:Ri(!0,!1)},s={get(i){return vi(this,i,!0,!0)},get size(){return Si(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bn("add"),set:Bn("set"),delete:Bn("delete"),clear:Bn("clear"),forEach:Ri(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ki(i,!1,!1),e[i]=ki(i,!0,!1),t[i]=ki(i,!1,!0),s[i]=ki(i,!0,!0)}),[n,e,t,s]}const[P3,M3,F3,D3]=N3();function Ii(n,t){const e=t?n?D3:F3:n?M3:P3;return(s,r,i)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?s:Reflect.get(Tt(e,r)&&r in s?e:s,r,i)}const B3={get:Ii(!1,!1)},$3={get:Ii(!1,!0)},U3={get:Ii(!0,!1)},H3={get:Ii(!0,!0)},e0=new WeakMap,n0=new WeakMap,s0=new WeakMap,r0=new WeakMap;function V3(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function G3(n){return n.__v_skip||!Object.isExtensible(n)?0:V3(u3(n))}function yn(n){return ns(n)?n:Oi(n,!1,Kc,B3,e0)}function i0(n){return Oi(n,!1,I3,$3,n0)}function L1(n){return Oi(n,!0,Yc,U3,s0)}function j3(n){return Oi(n,!0,O3,H3,r0)}function Oi(n,t,e,s,r){if(!_t(n)||n.__v_raw&&!(t&&n.__v_isReactive))return n;const i=r.get(n);if(i)return i;const o=G3(n);if(o===0)return n;const a=new Proxy(n,o===2?s:e);return r.set(n,a),a}function Cn(n){return ns(n)?Cn(n.__v_raw):!!(n&&n.__v_isReactive)}function ns(n){return!!(n&&n.__v_isReadonly)}function br(n){return!!(n&&n.__v_isShallow)}function _1(n){return Cn(n)||ns(n)}function vt(n){const t=n&&n.__v_raw;return t?vt(t):n}function y1(n){return bi(n,"__v_skip",!0),n}const Tr=n=>_t(n)?yn(n):n,C1=n=>_t(n)?L1(n):n;function E1(n){Dn&&Ke&&(n=vt(n),jc(n.dep||(n.dep=f1())))}function Ni(n,t){n=vt(n),n.dep&&m1(n.dep)}function ee(n){return!!(n&&n.__v_isRef===!0)}function Pi(n){return o0(n,!1)}function z3(n){return o0(n,!0)}function o0(n,t){return ee(n)?n:new W3(n,t)}class W3{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:vt(t),this._value=e?t:Tr(t)}get value(){return E1(this),this._value}set value(t){const e=this.__v_isShallow||br(t)||ns(t);t=e?t:vt(t),Fs(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Tr(t),Ni(this))}}function Z3(n){Ni(n)}function a0(n){return ee(n)?n.value:n}const q3={get:(n,t,e)=>a0(Reflect.get(n,t,e)),set:(n,t,e,s)=>{const r=n[t];return ee(r)&&!ee(e)?(r.value=e,!0):Reflect.set(n,t,e,s)}};function b1(n){return Cn(n)?n:new Proxy(n,q3)}class K3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:s}=t(()=>E1(this),()=>Ni(this));this._get=e,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Y3(n){return new K3(n)}function X3(n){const t=V(n)?new Array(n.length):{};for(const e in n)t[e]=l0(n,e);return t}class Q3{constructor(t,e,s){this._object=t,this._key=e,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function l0(n,t,e){const s=n[t];return ee(s)?s:new Q3(n,t,e)}var c0;class J3{constructor(t,e,s,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[c0]=!1,this._dirty=!0,this.effect=new Er(t,()=>{this._dirty||(this._dirty=!0,Ni(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=vt(this);return E1(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}c0="__v_isReadonly";function t4(n,t,e=!1){let s,r;const i=lt(n);return i?(s=n,r=_e):(s=n.get,r=n.set),new J3(s,r,i||!r,e)}function e4(n,...t){}function sn(n,t,e,s){let r;try{r=s?n(...s):n()}catch(i){ss(i,t,e)}return r}function Ce(n,t,e,s){if(lt(n)){const i=sn(n,t,e,s);return i&&yi(i)&&i.catch(o=>{ss(o,t,e)}),i}const r=[];for(let i=0;i<n.length;i++)r.push(Ce(n[i],t,e,s));return r}function ss(n,t,e,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=e;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](n,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){sn(l,null,10,[n,o,a]);return}}n4(n,e,r,s)}function n4(n,t,e,s=!0){console.error(n)}let wr=!1,T1=!1;const ue=[];let rn=0;const $s=[];let En=null,rs=0;const u0=Promise.resolve();let w1=null;function vr(n){const t=w1||u0;return n?t.then(this?n.bind(this):n):t}function s4(n){let t=rn+1,e=ue.length;for(;t<e;){const s=t+e>>>1;Ar(ue[s])<n?t=s+1:e=s}return t}function Mi(n){(!ue.length||!ue.includes(n,wr&&n.allowRecurse?rn+1:rn))&&(n.id==null?ue.push(n):ue.splice(s4(n.id),0,n),h0())}function h0(){!wr&&!T1&&(T1=!0,w1=u0.then(d0))}function r4(n){const t=ue.indexOf(n);t>rn&&ue.splice(t,1)}function v1(n){V(n)?$s.push(...n):(!En||!En.includes(n,n.allowRecurse?rs+1:rs))&&$s.push(n),h0()}function f0(n,t=wr?rn+1:0){for(;t<ue.length;t++){const e=ue[t];e&&e.pre&&(ue.splice(t,1),t--,e())}}function Fi(n){if($s.length){const t=[...new Set($s)];if($s.length=0,En){En.push(...t);return}for(En=t,En.sort((e,s)=>Ar(e)-Ar(s)),rs=0;rs<En.length;rs++)En[rs]();En=null,rs=0}}const Ar=n=>n.id==null?1/0:n.id,i4=(n,t)=>{const e=Ar(n)-Ar(t);if(e===0){if(n.pre&&!t.pre)return-1;if(t.pre&&!n.pre)return 1}return e};function d0(n){T1=!1,wr=!0,ue.sort(i4);const t=_e;try{for(rn=0;rn<ue.length;rn++){const e=ue[rn];e&&e.active!==!1&&sn(e,null,14)}}finally{rn=0,ue.length=0,Fi(),wr=!1,w1=null,(ue.length||$s.length)&&d0()}}let Us,Di=[];function p0(n,t){var e,s;Us=n,Us?(Us.enabled=!0,Di.forEach(({event:r,args:i})=>Us.emit(r,...i)),Di=[]):typeof window<"u"&&window.HTMLElement&&!(!((s=(e=window.navigator)===null||e===void 0?void 0:e.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{p0(i,t)}),setTimeout(()=>{Us||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Di=[])},3e3)):Di=[]}function o4(n,t,...e){}const A1={MODE:2};function a4(n){yt(A1,n)}function g0(n,t){const e=t&&t.type.compatConfig;return e&&n in e?e[n]:A1[n]}function Pt(n,t,e=!1){if(!e&&t&&t.type.__isBuiltIn)return!1;const s=g0("MODE",t)||2,r=g0(n,t);return(lt(s)?s(t&&t.type):s)===2?r!==!1:r===!0||r==="suppress-warning"}function re(n,t,...e){if(!Pt(n,t))throw new Error(`${n} compat has been disabled.`)}function bn(n,t,...e){return Pt(n,t)}function Bi(n,t,...e){return Pt(n,t)}const S1=new WeakMap;function R1(n){let t=S1.get(n);return t||S1.set(n,t=Object.create(null)),t}function k1(n,t,e){if(V(t))t.forEach(s=>k1(n,s,e));else{t.startsWith("hook:")?re("INSTANCE_EVENT_HOOKS",n,t):re("INSTANCE_EVENT_EMITTER",n);const s=R1(n);(s[t]||(s[t]=[])).push(e)}return n.proxy}function l4(n,t,e){const s=(...r)=>{I1(n,t,s),e.call(n.proxy,...r)};return s.fn=e,k1(n,t,s),n.proxy}function I1(n,t,e){re("INSTANCE_EVENT_EMITTER",n);const s=n.proxy;if(!t)return S1.set(n,Object.create(null)),s;if(V(t))return t.forEach(o=>I1(n,o,e)),s;const r=R1(n),i=r[t];return i?e?(r[t]=i.filter(o=>!(o===e||o.fn===e)),s):(r[t]=void 0,s):s}function c4(n,t,e){const s=R1(n)[t];return s&&Ce(s.map(r=>r.bind(n.proxy)),n,6,e),n.proxy}const $i="onModelCompat:";function u4(n){const{type:t,shapeFlag:e,props:s,dynamicProps:r}=n,i=t;if(e&6&&s&&"modelValue"in s){if(!Pt("COMPONENT_V_MODEL",{type:t}))return;const o=i.model||{};m0(o,i.mixins);const{prop:a="value",event:l="input"}=o;a!=="modelValue"&&(s[a]=s.modelValue,delete s.modelValue),r&&(r[r.indexOf("modelValue")]=a),s[$i+l]=s["onUpdate:modelValue"],delete s["onUpdate:modelValue"]}}function m0(n,t){t&&t.forEach(e=>{e.model&&yt(n,e.model),e.mixins&&m0(n,e.mixins)})}function h4(n,t,e){if(!Pt("COMPONENT_V_MODEL",n))return;const s=n.vnode.props,r=s&&s[$i+t];r&&sn(r,n,6,e)}function f4(n,t,...e){if(n.isUnmounted)return;const s=n.vnode.props||Dt;let r=e;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=s[u]||Dt;d&&(r=e.map(p=>Ut(p)?p.trim():p)),f&&(r=e.map(en))}let a,l=s[a=Ms(t)]||s[a=Ms(de(t))];!l&&i&&(l=s[a=Ms(pe(t))]),l&&Ce(l,n,6,r);const c=s[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Ce(c,n,6,r)}return h4(n,t,r),c4(n,t,r)}function x0(n,t,e=!1){const s=t.emitsCache,r=s.get(n);if(r!==void 0)return r;const i=n.emits;let o={},a=!1;if(!lt(n)){const l=c=>{const u=x0(c,t,!0);u&&(a=!0,yt(o,u))};!e&&t.mixins.length&&t.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!i&&!a?(_t(n)&&s.set(n,null),null):(V(i)?i.forEach(l=>o[l]=null):yt(o,i),_t(n)&&s.set(n,o),o)}function Ui(n,t){return!n||!_n(t)?!1:t.startsWith($i)?!0:(t=t.slice(2).replace(/Once$/,""),Tt(n,t[0].toLowerCase()+t.slice(1))||Tt(n,pe(t))||Tt(n,t))}let Qt=null,Hs=null;function Sr(n){const t=Qt;return Qt=n,Hs=n&&n.type.__scopeId||null,Hs||(Hs=n&&n.type._scopeId||null),t}function is(n){Hs=n}function os(){Hs=null}const d4=n=>O1;function O1(n,t=Qt,e){if(!t||n._n)return n;const s=(...r)=>{s._d&&na(-1);const i=Sr(t);let o;try{o=n(...r)}finally{Sr(i),s._d&&na(1)}return o};return s._n=!0,s._c=!0,s._d=!0,e&&(s._ns=!0),s}function Zv(){}function Hi(n){const{type:t,vnode:e,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:E,inheritAttrs:v}=n;let W,y;const m=Sr(n);try{if(e.shapeFlag&4){const T=r||s;W=Ne(u.call(T,T,f,i,p,d,E)),y=l}else{const T=t;W=Ne(T.length>1?T(i,{attrs:l,slots:a,emit:c}):T(i,null)),y=t.props?l:g4(l)}}catch(T){$r.length=0,ss(T,n,1),W=nt(ie)}let C=W;if(y&&v!==!1){const T=Object.keys(y),{shapeFlag:F}=C;T.length&&F&7&&(o&&T.some(l1)&&(y=m4(y,o)),C=Ye(C,y))}if(Pt("INSTANCE_ATTRS_CLASS_STYLE",n)&&e.shapeFlag&4&&C.shapeFlag&7){const{class:T,style:F}=e.props||{};(T||F)&&(C=Ye(C,{class:T,style:F}))}return e.dirs&&(C=Ye(C),C.dirs=C.dirs?C.dirs.concat(e.dirs):e.dirs),e.transition&&(C.transition=e.transition),W=C,Sr(m),W}function p4(n){let t;for(let e=0;e<n.length;e++){const s=n[e];if(Oe(s)){if(s.type!==ie||s.children==="v-if"){if(t)return;t=s}}else return}return t}const g4=n=>{let t;for(const e in n)(e==="class"||e==="style"||_n(e))&&((t||(t={}))[e]=n[e]);return t},m4=(n,t)=>{const e={};for(const s in n)(!l1(s)||!(s.slice(9)in t))&&(e[s]=n[s]);return e};function x4(n,t,e){const{props:s,children:r,component:i}=n,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?L0(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==s[d]&&!Ui(c,d))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?L0(s,o,c):!0:!!o;return!1}function L0(n,t,e){const s=Object.keys(t);if(s.length!==Object.keys(n).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==n[i]&&!Ui(e,i))return!0}return!1}function N1({vnode:n,parent:t},e){for(;t&&t.subTree===n;)(n=t.vnode).el=e,t=t.parent}const _0=n=>n.__isSuspense,L4={name:"Suspense",__isSuspense:!0,process(n,t,e,s,r,i,o,a,l,c){n==null?_4(t,e,s,r,i,o,a,l,c):y4(n,t,e,s,r,o,a,l,c)},hydrate:C4,create:P1,normalize:E4};function Rr(n,t){const e=n.props&&n.props[t];lt(e)&&e()}function _4(n,t,e,s,r,i,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=n.suspense=P1(n,r,s,t,f,e,i,o,a,l);c(null,d.pendingBranch=n.ssContent,f,null,s,d,i,o),d.deps>0?(Rr(n,"onPending"),Rr(n,"onFallback"),c(null,n.ssFallback,t,e,s,null,i,o),Vs(d,n.ssFallback)):d.resolve()}function y4(n,t,e,s,r,i,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=n.suspense;f.vnode=t,t.el=n.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:E,pendingBranch:v,isInFallback:W,isHydrating:y}=f;if(v)f.pendingBranch=d,an(d,v)?(l(v,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():W&&(l(E,p,e,s,r,null,i,o,a),Vs(f,p))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=v):c(v,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),W?(l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():(l(E,p,e,s,r,null,i,o,a),Vs(f,p))):E&&an(d,E)?(l(E,d,e,s,r,f,i,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0&&f.resolve()));else if(E&&an(d,E))l(E,d,e,s,r,f,i,o,a),Vs(f,d);else if(Rr(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:C}=f;m>0?setTimeout(()=>{f.pendingId===C&&f.fallback(p)},m):m===0&&f.fallback(p)}}function P1(n,t,e,s,r,i,o,a,l,c,u=!1){const{p:f,m:d,um:p,n:E,o:{parentNode:v,remove:W}}=c,y=en(n.props&&n.props.timeout),m={vnode:n,parent:t,parentComponent:e,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1){const{vnode:T,activeBranch:F,pendingBranch:G,pendingId:z,effects:R,parentComponent:ot,container:rt}=m;if(m.isHydrating)m.isHydrating=!1;else if(!C){const Ot=F&&G.transition&&G.transition.mode==="out-in";Ot&&(F.transition.afterLeave=()=>{z===m.pendingId&&d(G,rt,it,0)});let{anchor:it}=m;F&&(it=E(F),p(F,ot,m,!0)),Ot||d(G,rt,it,0)}Vs(m,G),m.pendingBranch=null,m.isInFallback=!1;let ut=m.parent,Zt=!1;for(;ut;){if(ut.pendingBranch){ut.effects.push(...R),Zt=!0;break}ut=ut.parent}Zt||v1(R),m.effects=[],Rr(T,"onResolve")},fallback(C){if(!m.pendingBranch)return;const{vnode:T,activeBranch:F,parentComponent:G,container:z,isSVG:R}=m;Rr(T,"onFallback");const ot=E(F),rt=()=>{!m.isInFallback||(f(null,C,z,ot,G,null,R,a,l),Vs(m,C))},ut=C.transition&&C.transition.mode==="out-in";ut&&(F.transition.afterLeave=rt),m.isInFallback=!0,p(F,G,null,!0),ut||rt()},move(C,T,F){m.activeBranch&&d(m.activeBranch,C,T,F),m.container=C},next(){return m.activeBranch&&E(m.activeBranch)},registerDep(C,T){const F=!!m.pendingBranch;F&&m.deps++;const G=C.vnode.el;C.asyncDep.catch(z=>{ss(z,C,0)}).then(z=>{if(C.isUnmounted||m.isUnmounted||m.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:R}=C;ia(C,z,!1),G&&(R.el=G);const ot=!G&&C.subTree.el;T(C,R,v(G||C.subTree.el),G?null:E(C.subTree),m,o,l),ot&&W(ot),N1(C,R.el),F&&--m.deps===0&&m.resolve()})},unmount(C,T){m.isUnmounted=!0,m.activeBranch&&p(m.activeBranch,e,C,T),m.pendingBranch&&p(m.pendingBranch,e,C,T)}};return m}function C4(n,t,e,s,r,i,o,a,l){const c=t.suspense=P1(t,s,e,n.parentNode,document.createElement("div"),null,r,i,o,a,!0),u=l(n,c.pendingBranch=t.ssContent,e,c,i,o);return c.deps===0&&c.resolve(),u}function E4(n){const{shapeFlag:t,children:e}=n,s=t&32;n.ssContent=y0(s?e.default:e),n.ssFallback=s?y0(e.fallback):nt(ie)}function y0(n){let t;if(lt(n)){const e=xs&&n._c;e&&(n._d=!1,N()),n=n(),e&&(n._d=!0,t=be,bu())}return V(n)&&(n=p4(n)),n=Ne(n),t&&!n.dynamicChildren&&(n.dynamicChildren=t.filter(e=>e!==n)),n}function C0(n,t){t&&t.pendingBranch?V(n)?t.effects.push(...n):t.effects.push(n):v1(n)}function Vs(n,t){n.activeBranch=t;const{vnode:e,parentComponent:s}=n,r=e.el=t.el;s&&s.subTree===e&&(s.vnode.el=r,N1(s,r))}function E0(n,t){if(te){let e=te.provides;const s=te.parent&&te.parent.provides;s===e&&(e=te.provides=Object.create(s)),e[n]=t}}function as(n,t,e=!1){const s=te||Qt;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&n in r)return r[n];if(arguments.length>1)return e&<(t)?t.call(s.proxy):t}}function b4(n,t){return kr(n,null,t)}function b0(n,t){return kr(n,null,{flush:"post"})}function T4(n,t){return kr(n,null,{flush:"sync"})}const Vi={};function ls(n,t,e){return kr(n,t,e)}function kr(n,t,{immediate:e,deep:s,flush:r,onTrack:i,onTrigger:o}=Dt){const a=te;let l,c=!1,u=!1;if(ee(n)?(l=()=>n.value,c=br(n)):Cn(n)?(l=()=>n,s=!0):V(n)?(u=!0,c=n.some(C=>Cn(C)||br(C)),l=()=>n.map(C=>{if(ee(C))return C.value;if(Cn(C))return $n(C);if(lt(C))return sn(C,a,2)})):lt(n)?t?l=()=>sn(n,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Ce(n,a,3,[d])}:l=_e,t&&!s){const C=l;l=()=>{const T=C();return V(T)&&Bi("WATCH_ARRAY",a)&&$n(T),T}}if(t&&s){const C=l;l=()=>$n(C())}let f,d=C=>{f=y.onStop=()=>{sn(C,a,4)}},p;if(zs)if(d=_e,t?e&&Ce(t,a,3,[l(),u?[]:void 0,d]):l(),r==="sync"){const C=Ou();p=C.__watcherHandles||(C.__watcherHandles=[])}else return _e;let E=u?new Array(n.length).fill(Vi):Vi;const v=()=>{if(!!y.active)if(t){const C=y.run();(s||c||(u?C.some((T,F)=>Fs(T,E[F])):Fs(C,E))||V(C)&&Pt("WATCH_ARRAY",a))&&(f&&f(),Ce(t,a,3,[C,E===Vi?void 0:u&&E[0]===Vi?[]:E,d]),E=C)}else y.run()};v.allowRecurse=!!t;let W;r==="sync"?W=v:r==="post"?W=()=>Jt(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),W=()=>Mi(v));const y=new Er(l,W);t?e?v():E=y.run():r==="post"?Jt(y.run.bind(y),a&&a.suspense):y.run();const m=()=>{y.stop(),a&&a.scope&&c1(a.scope.effects,y)};return p&&p.push(m),m}function w4(n,t,e){const s=this.proxy,r=Ut(n)?n.includes(".")?T0(s,n):()=>s[n]:n.bind(s,s);let i;lt(t)?i=t:(i=t.handler,e=t);const o=te;Gn(this);const a=kr(r,i.bind(s),e);return o?Gn(o):jn(),a}function T0(n,t){const e=t.split(".");return()=>{let s=n;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}function $n(n,t){if(!_t(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),ee(n))$n(n.value,t);else if(V(n))for(let e=0;e<n.length;e++)$n(n[e],t);else if(ts(n)||Ns(n))n.forEach(e=>{$n(e,t)});else if(Ci(n))for(const e in n)$n(n[e],t);return n}function M1(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Nr(()=>{n.isMounted=!0}),Pr(()=>{n.isUnmounting=!0}),n}const Ue=[Function,Array],w0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},setup(n,{slots:t}){const e=ln(),s=M1();let r;return()=>{const i=t.default&&Gi(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const v of i)if(v.type!==ie){o=v;break}}const a=vt(n),{mode:l}=a;if(s.isLeaving)return D1(o);const c=A0(o);if(!c)return D1(o);const u=Gs(c,a,s,e);cs(c,u);const f=e.subTree,d=f&&A0(f);let p=!1;const{getTransitionKey:E}=c.type;if(E){const v=E();r===void 0?r=v:v!==r&&(r=v,p=!0)}if(d&&d.type!==ie&&(!an(c,d)||p)){const v=Gs(d,a,s,e);if(cs(d,v),l==="out-in")return s.isLeaving=!0,v.afterLeave=()=>{s.isLeaving=!1,e.update.active!==!1&&e.update()},D1(o);l==="in-out"&&c.type!==ie&&(v.delayLeave=(W,y,m)=>{const C=v0(s,d);C[String(d.key)]=d,W._leaveCb=()=>{y(),W._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return o}}};w0.__isBuiltIn=!0;const F1=w0;function v0(n,t){const{leavingVNodes:e}=n;let s=e.get(t.type);return s||(s=Object.create(null),e.set(t.type,s)),s}function Gs(n,t,e,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:E,onBeforeAppear:v,onAppear:W,onAfterAppear:y,onAppearCancelled:m}=t,C=String(n.key),T=v0(e,n),F=(R,ot)=>{R&&Ce(R,s,9,ot)},G=(R,ot)=>{const rt=ot[1];F(R,ot),V(R)?R.every(ut=>ut.length<=1)&&rt():R.length<=1&&rt()},z={mode:i,persisted:o,beforeEnter(R){let ot=a;if(!e.isMounted)if(r)ot=v||a;else return;R._leaveCb&&R._leaveCb(!0);const rt=T[C];rt&&an(n,rt)&&rt.el._leaveCb&&rt.el._leaveCb(),F(ot,[R])},enter(R){let ot=l,rt=c,ut=u;if(!e.isMounted)if(r)ot=W||l,rt=y||c,ut=m||u;else return;let Zt=!1;const Ot=R._enterCb=it=>{Zt||(Zt=!0,it?F(ut,[R]):F(rt,[R]),z.delayedLeave&&z.delayedLeave(),R._enterCb=void 0)};ot?G(ot,[R,Ot]):Ot()},leave(R,ot){const rt=String(n.key);if(R._enterCb&&R._enterCb(!0),e.isUnmounting)return ot();F(f,[R]);let ut=!1;const Zt=R._leaveCb=Ot=>{ut||(ut=!0,ot(),Ot?F(E,[R]):F(p,[R]),R._leaveCb=void 0,T[rt]===n&&delete T[rt])};T[rt]=n,d?G(d,[R,Zt]):Zt()},clone(R){return Gs(R,t,e,s)}};return z}function D1(n){if(Ir(n))return n=Ye(n),n.children=null,n}function A0(n){return Ir(n)?n.children?n.children[0]:void 0:n}function cs(n,t){n.shapeFlag&6&&n.component?cs(n.component.subTree,t):n.shapeFlag&128?(n.ssContent.transition=t.clone(n.ssContent),n.ssFallback.transition=t.clone(n.ssFallback)):n.transition=t}function Gi(n,t=!1,e){let s=[],r=0;for(let i=0;i<n.length;i++){let o=n[i];const a=e==null?o.key:String(e)+String(o.key!=null?o.key:i);o.type===Ht?(o.patchFlag&128&&r++,s=s.concat(Gi(o.children,t,a))):(t||o.type!==ie)&&s.push(a!=null?Ye(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function B1(n){return lt(n)?{setup:n,name:n.name}:n}const us=n=>!!n.type.__asyncLoader;function ji(n){lt(n)&&(n={loader:n});const{loader:t,loadingComponent:e,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:a}=n;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),a)return new Promise((v,W)=>{a(E,()=>v(f()),()=>W(E),u+1)});throw E}).then(E=>p!==l&&l?l:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),c=E,E)))};return B1({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=te;if(c)return()=>$1(c,p);const E=m=>{l=null,ss(m,p,13,!s)};if(o&&p.suspense||zs)return d().then(m=>()=>$1(m,p)).catch(m=>(E(m),()=>s?nt(s,{error:m}):null));const v=Pi(!1),W=Pi(),y=Pi(!!r);return r&&setTimeout(()=>{y.value=!1},r),i!=null&&setTimeout(()=>{if(!v.value&&!W.value){const m=new Error(`Async component timed out after ${i}ms.`);E(m),W.value=m}},i),d().then(()=>{v.value=!0,p.parent&&Ir(p.parent.vnode)&&Mi(p.parent.update)}).catch(m=>{E(m),W.value=m}),()=>{if(v.value&&c)return $1(c,p);if(W.value&&s)return nt(s,{error:W.value});if(e&&!y.value)return nt(e)}}})}function $1(n,t){const{ref:e,props:s,children:r,ce:i}=t.vnode,o=nt(n,s,r);return o.ref=e,o.ce=i,delete t.vnode.ce,o}const Ir=n=>n.type.__isKeepAlive,S0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:t}){const e=ln(),s=e.ctx;if(!s.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const r=new Map,i=new Set;let o=null;const a=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(m,C,T,F,G)=>{const z=m.component;c(m,C,T,0,a),l(z.vnode,m,C,T,z,a,F,m.slotScopeIds,G),Jt(()=>{z.isDeactivated=!1,z.a&&Mn(z.a);const R=m.props&&m.props.onVnodeMounted;R&&Te(R,z.parent,m)},a)},s.deactivate=m=>{const C=m.component;c(m,d,null,1,a),Jt(()=>{C.da&&Mn(C.da);const T=m.props&&m.props.onVnodeUnmounted;T&&Te(T,C.parent,m),C.isDeactivated=!0},a)};function p(m){U1(m),u(m,e,a,!0)}function E(m){r.forEach((C,T)=>{const F=ca(C.type);F&&(!m||!m(F))&&v(T)})}function v(m){const C=r.get(m);!o||C.type!==o.type?p(C):o&&U1(o),r.delete(m),i.delete(m)}ls(()=>[n.include,n.exclude],([m,C])=>{m&&E(T=>Or(m,T)),C&&E(T=>!Or(C,T))},{flush:"post",deep:!0});let W=null;const y=()=>{W!=null&&r.set(W,H1(e.subTree))};return Nr(y),Wi(y),Pr(()=>{r.forEach(m=>{const{subTree:C,suspense:T}=e,F=H1(C);if(m.type===F.type){U1(F);const G=F.component.da;G&&Jt(G,T);return}p(m)})}),()=>{if(W=null,!t.default)return null;const m=t.default(),C=m[0];if(m.length>1)return o=null,m;if(!Oe(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return o=null,C;let T=H1(C);const F=T.type,G=ca(us(T)?T.type.__asyncResolved||{}:F),{include:z,exclude:R,max:ot}=n;if(z&&(!G||!Or(z,G))||R&&G&&Or(R,G))return o=T,C;const rt=T.key==null?F:T.key,ut=r.get(rt);return T.el&&(T=Ye(T),C.shapeFlag&128&&(C.ssContent=T)),W=rt,ut?(T.el=ut.el,T.component=ut.component,T.transition&&cs(T,T.transition),T.shapeFlag|=512,i.delete(rt),i.add(rt)):(i.add(rt),ot&&i.size>parseInt(ot,10)&&v(i.values().next().value)),T.shapeFlag|=256,o=T,_0(C.type)?C:T}}};S0.__isBuildIn=!0;const R0=S0;function Or(n,t){return V(n)?n.some(e=>Or(e,t)):Ut(n)?n.split(",").includes(t):n.test?n.test(t):!1}function k0(n,t){O0(n,"a",t)}function I0(n,t){O0(n,"da",t)}function O0(n,t,e=te){const s=n.__wdc||(n.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(zi(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Ir(r.parent.vnode)&&v4(s,t,e,r),r=r.parent}}function v4(n,t,e,s){const r=zi(t,n,s,!0);Mr(()=>{c1(s[t],r)},e)}function U1(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function H1(n){return n.shapeFlag&128?n.ssContent:n}function zi(n,t,e=te,s=!1){if(e){const r=e[n]||(e[n]=[]),i=t.__weh||(t.__weh=(...o)=>{if(e.isUnmounted)return;Ds(),Gn(e);const a=Ce(t,e,n,o);return jn(),Bs(),a});return s?r.unshift(i):r.push(i),i}}const Tn=n=>(t,e=te)=>(!zs||n==="sp")&&zi(n,(...s)=>t(...s),e),N0=Tn("bm"),Nr=Tn("m"),P0=Tn("bu"),Wi=Tn("u"),Pr=Tn("bum"),Mr=Tn("um"),M0=Tn("sp"),F0=Tn("rtg"),D0=Tn("rtc");function B0(n,t=te){zi("ec",n,t)}function A4(n){re("INSTANCE_CHILDREN",n);const t=n.subTree,e=[];return t&&$0(t,e),e}function $0(n,t){if(n.component)t.push(n.component.proxy);else if(n.shapeFlag&16){const e=n.children;for(let s=0;s<e.length;s++)$0(e[s],t)}}function U0(n){re("INSTANCE_LISTENERS",n);const t={},e=n.vnode.props;if(!e)return t;for(const s in e)_n(s)&&(t[s[2].toLowerCase()+s.slice(3)]=e[s]);return t}const S4={beforeMount:"bind",mounted:"inserted",updated:["update","componentUpdated"],unmounted:"unbind"};function R4(n,t,e){const s=S4[n];if(s)if(V(s)){const r=[];return s.forEach(i=>{const o=t[i];o&&(bn("CUSTOM_DIR",e,i,n),r.push(o))}),r.length?r:void 0}else return t[s]&&bn("CUSTOM_DIR",e,s,n),t[s]}function Zi(n,t){const e=Qt;if(e===null)return n;const s=oo(e)||e.proxy,r=n.dirs||(n.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,l,c=Dt]=t[i];o&&(lt(o)&&(o={mounted:o,updated:o}),o.deep&&$n(a),r.push({dir:o,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function on(n,t,e,s){const r=n.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l||(l=R4(s,a.dir,e)),l&&(Ds(),Ce(l,e,8,[n.el,a,n,t]),Bs())}}const V1="components",k4="directives",I4="filters";function ft(n,t){return qi(V1,n,!0,t)||n}const H0=Symbol();function Fr(n){return Ut(n)?qi(V1,n,!1)||n:n||H0}function V0(n){return qi(k4,n)}function G0(n){return qi(I4,n)}function qi(n,t,e=!0,s=!1){const r=Qt||te;if(r){const i=r.type;if(n===V1){const a=ca(i,!1);if(a&&(a===t||a===de(t)||a===yr(de(t))))return i}const o=j0(r[n]||i[n],t)||j0(r.appContext[n],t);return!o&&s?i:o}}function j0(n,t){return n&&(n[t]||n[de(t)]||n[yr(de(t))])}function O4(n){const t=n.type,e=t.render;if(!(!e||e._rc||e._compatChecked||e._compatWrapped)){if(e.length>=2){e._compatChecked=!0;return}if(Bi("RENDER_FUNCTION",n)){const s=t.render=function(){return e.call(this,Ki)};s._compatWrapped=!0}}}function Ki(n,t,e){if(n||(n=ie),typeof n=="string"){const i=pe(n);(i==="transition"||i==="transition-group"||i==="keep-alive")&&(n=`__compat__${i}`),n=Fr(n)}const s=arguments.length,r=V(t);return s===2||r?_t(t)&&!r?Oe(t)?Yi(nt(n,null,[t])):Yi(W0(nt(n,z0(t,n)),t)):Yi(nt(n,null,t)):(Oe(e)&&(e=[e]),Yi(W0(nt(n,z0(t,n),e),t)))}const N4=Is("staticStyle,staticClass,directives,model,hook");function z0(n,t){if(!n)return null;const e={};for(const s in n)if(s==="attrs"||s==="domProps"||s==="props")yt(e,n[s]);else if(s==="on"||s==="nativeOn"){const r=n[s];for(const i in r){let o=P4(i);s==="nativeOn"&&(o+="Native");const a=e[o],l=r[i];a!==l&&(a?e[o]=[].concat(a,l):e[o]=l)}}else N4(s)||(e[s]=n[s]);if(n.staticClass&&(e.class=Ft([n.staticClass,e.class])),n.staticStyle&&(e.style=Lt([n.staticStyle,e.style])),n.model&&_t(t)){const{prop:s="value",event:r="input"}=t.model||{};e[s]=n.model.value,e[$i+r]=n.model.callback}return e}function P4(n){return n[0]==="&"&&(n=n.slice(1)+"Passive"),n[0]==="~"&&(n=n.slice(1)+"Once"),n[0]==="!"&&(n=n.slice(1)+"Capture"),Ms(n)}function W0(n,t){return t&&t.directives?Zi(n,t.directives.map(({name:e,value:s,arg:r,modifiers:i})=>[V0(e),s,r,i])):n}function Yi(n){const{props:t,children:e}=n;let s;if(n.shapeFlag&6&&V(e)){s={};for(let i=0;i<e.length;i++){const o=e[i],a=Oe(o)&&o.props&&o.props.slot||"default",l=s[a]||(s[a]=[]);Oe(o)&&o.type==="template"?l.push(o.children):l.push(o)}if(s)for(const i in s){const o=s[i];s[i]=()=>o,s[i]._ns=!0}}const r=t&&t.scopedSlots;return r&&(delete t.scopedSlots,s?yt(s,r):s=r),s&&so(n,s),n}function Z0(n){if(Pt("RENDER_FUNCTION",Qt,!0)&&Pt("PRIVATE_APIS",Qt,!0)){const t=Qt,e=()=>n.component&&n.component.proxy;let s;Object.defineProperties(n,{tag:{get:()=>n.type},data:{get:()=>n.props||{},set:r=>n.props=r},elm:{get:()=>n.el},componentInstance:{get:e},child:{get:e},text:{get:()=>Ut(n.children)?n.children:null},context:{get:()=>t&&t.proxy},componentOptions:{get:()=>{if(n.shapeFlag&4)return s||(s={Ctor:n.type,propsData:n.props,children:n.children})}}})}}const G1=new Map,q0={get(n,t){const e=n[t];return e&&e()}};function M4(n){if(G1.has(n))return G1.get(n);const t=n.render,e=(s,r)=>{const i=ln(),o={props:s,children:i.vnode.children||[],data:i.vnode.props||{},scopedSlots:r.slots,parent:i.parent&&i.parent.proxy,slots(){return new Proxy(r.slots,q0)},get listeners(){return U0(i)},get injections(){if(n.inject){const a={};return nu(n.inject,a),a}return{}}};return t(Ki,o)};return e.props=n.props,e.displayName=n.name,e.compatConfig=n.compatConfig,e.inheritAttrs=!1,G1.set(n,e),e}function wn(n,t,e,s){let r;const i=e&&e[s];if(V(n)||Ut(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=t(n[o],o,void 0,i&&i[o])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(_t(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(n[c],c,a,i&&i[a])}}else r=[];return e&&(e[s]=r),r}function K0(n,t){for(let e=0;e<t.length;e++){const s=t[e];if(V(s))for(let r=0;r<s.length;r++)n[s[r].name]=s[r].fn;else s&&(n[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return n}function j1(n,t,e={},s,r){if(Qt.isCE||Qt.parent&&us(Qt.parent)&&Qt.parent.isCE)return t!=="default"&&(e.name=t),nt("slot",e,s&&s());let i=n[t];i&&i._c&&(i._d=!1),N();const o=i&&Y0(i(e)),a=Mt(Ht,{key:e.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Y0(n){return n.some(t=>Oe(t)?!(t.type===ie||t.type===Ht&&!Y0(t.children)):!0)?n:null}function X0(n,t){const e={};for(const s in n)e[t&&/[A-Z]/.test(s)?`on:${s}`:Ms(s)]=n[s];return e}function F4(n){const t={};for(let e=0;e<n.length;e++)n[e]&&yt(t,n[e]);return t}function D4(n,t,e,s,r){if(e&&_t(e)){V(e)&&(e=F4(e));for(const i in e)if(Ps(i))n[i]=e[i];else if(i==="class")n.class=Ft([n.class,e.class]);else if(i==="style")n.style=Ft([n.style,e.style]);else{const o=n.attrs||(n.attrs={}),a=de(i),l=pe(i);if(!(a in o)&&!(l in o)&&(o[i]=e[i],r)){const c=n.on||(n.on={});c[`update:${i}`]=function(u){e[i]=u}}}}return n}function B4(n,t){return ro(n,X0(t))}function $4(n,t,e,s,r){return r&&(s=ro(s,r)),j1(n.slots,t,s,e&&(()=>e))}function U4(n,t,e){return K0(t||{$stable:!e},Q0(n))}function Q0(n){for(let t=0;t<n.length;t++){const e=n[t];e&&(V(e)?Q0(e):e.name=e.key||"default")}return n}const J0=new WeakMap;function H4(n,t){let e=J0.get(n);if(e||J0.set(n,e=[]),e[t])return e[t];const s=n.type.staticRenderFns[t],r=n.proxy;return e[t]=s.call(r,null,r)}function V4(n,t,e,s,r,i){const a=n.appContext.config.keyCodes||{},l=a[e]||s;if(i&&r&&!a[e])return tu(i,r);if(l)return tu(l,t);if(r)return pe(r)!==e}function tu(n,t){return V(n)?!n.includes(t):n!==t}function G4(n){return n}function j4(n,t){for(let e=0;e<t.length;e+=2){const s=t[e];typeof s=="string"&&s&&(n[t[e]]=t[e+1])}return n}function z4(n,t){return typeof n=="string"?t+n:n}function W4(n){const t=(s,r,i)=>{s[r]=i},e=(s,r)=>{delete s[r]};yt(n,{$set:s=>(re("INSTANCE_SET",s),t),$delete:s=>(re("INSTANCE_DELETE",s),e),$mount:s=>(re("GLOBAL_MOUNT",null),s.ctx._compat_mount||_e),$destroy:s=>(re("INSTANCE_DESTROY",s),s.ctx._compat_destroy||_e),$slots:s=>Pt("RENDER_FUNCTION",s)&&s.render&&s.render._compatWrapped?new Proxy(s.slots,q0):s.slots,$scopedSlots:s=>{re("INSTANCE_SCOPED_SLOTS",s);const r={};for(const i in s.slots){const o=s.slots[i];o._ns||(r[i]=o)}return r},$on:s=>k1.bind(null,s),$once:s=>l4.bind(null,s),$off:s=>I1.bind(null,s),$children:A4,$listeners:U0}),Pt("PRIVATE_APIS",null)&&yt(n,{$vnode:s=>s.vnode,$options:s=>{const r=yt({},Dr(s));return r.parent=s.proxy.$parent,r.propsData=s.vnode.props,r},_self:s=>s.proxy,_uid:s=>s.uid,_data:s=>s.data,_isMounted:s=>s.isMounted,_isDestroyed:s=>s.isUnmounted,$createElement:()=>Ki,_c:()=>Ki,_o:()=>G4,_n:()=>en,_s:()=>Yt,_l:()=>wn,_t:s=>$4.bind(null,s),_q:()=>Ln,_i:()=>xr,_m:s=>H4.bind(null,s),_f:()=>G0,_k:s=>V4.bind(null,s),_b:()=>D4,_v:()=>Ls,_e:()=>At,_u:()=>U4,_g:()=>B4,_d:()=>j4,_p:()=>z4})}const z1=n=>n?Au(n)?oo(n)||n.proxy:z1(n.parent):null,js=yt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>z1(n.parent),$root:n=>z1(n.root),$emit:n=>n.emit,$options:n=>Dr(n),$forceUpdate:n=>n.f||(n.f=()=>Mi(n.update)),$nextTick:n=>n.n||(n.n=vr.bind(n.proxy)),$watch:n=>w4.bind(n)});W4(js);const W1=(n,t)=>n!==Dt&&!n.__isScriptSetup&&Tt(n,t),Z1={get({_:n},t){const{ctx:e,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=n;let c;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return i[t]}else{if(W1(s,t))return o[t]=1,s[t];if(r!==Dt&&Tt(r,t))return o[t]=2,r[t];if((c=n.propsOptions[0])&&Tt(c,t))return o[t]=3,i[t];if(e!==Dt&&Tt(e,t))return o[t]=4,e[t];q1&&(o[t]=0)}}const u=js[t];let f,d;if(u)return t==="$attrs"&&ye(n,"get",t),u(n);if((f=a.__cssModules)&&(f=f[t]))return f;if(e!==Dt&&Tt(e,t))return o[t]=4,e[t];if(d=l.config.globalProperties,Tt(d,t)){const p=Object.getOwnPropertyDescriptor(d,t);if(p.get)return p.get.call(n.proxy);{const E=d[t];return lt(E)?Object.assign(E.bind(n.proxy),E):E}}},set({_:n},t,e){const{data:s,setupState:r,ctx:i}=n;return W1(r,t)?(r[t]=e,!0):s!==Dt&&Tt(s,t)?(s[t]=e,!0):Tt(n.props,t)||t[0]==="$"&&t.slice(1)in n?!1:(i[t]=e,!0)},has({_:{data:n,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!e[o]||n!==Dt&&Tt(n,o)||W1(t,o)||(a=i[0])&&Tt(a,o)||Tt(s,o)||Tt(js,o)||Tt(r.config.globalProperties,o)},defineProperty(n,t,e){return e.get!=null?n._.accessCache[t]=0:Tt(e,"value")&&this.set(n,t,e.value,null),Reflect.defineProperty(n,t,e)}},Z4=yt({},Z1,{get(n,t){if(t!==Symbol.unscopables)return Z1.get(n,t,n)},has(n,t){return t[0]!=="_"&&!t3(t)}});function eu(n,t){for(const e in t){const s=n[e],r=t[e];e in n&&Ci(s)&&Ci(r)?eu(s,r):n[e]=r}return n}let q1=!0;function q4(n){const t=Dr(n),e=n.proxy,s=n.ctx;q1=!1,t.beforeCreate&&su(t.beforeCreate,n,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:E,activated:v,deactivated:W,beforeDestroy:y,beforeUnmount:m,destroyed:C,unmounted:T,render:F,renderTracked:G,renderTriggered:z,errorCaptured:R,serverPrefetch:ot,expose:rt,inheritAttrs:ut,components:Zt,directives:Ot,filters:it}=t;if(c&&nu(c,s,null,n.appContext.config.unwrapInjectedRef),o)for(const pt in o){const Ct=o[pt];lt(Ct)&&(s[pt]=Ct.bind(e))}if(r){const pt=r.call(e,e);_t(pt)&&(n.data=yn(pt))}if(q1=!0,i)for(const pt in i){const Ct=i[pt],ze=lt(Ct)?Ct.bind(e,e):lt(Ct.get)?Ct.get.bind(e,e):_e,We=!lt(Ct)&<(Ct.set)?Ct.set.bind(e):_e,Pn=ua({get:ze,set:We});Object.defineProperty(s,pt,{enumerable:!0,configurable:!0,get:()=>Pn.value,set:Ze=>Pn.value=Ze})}if(a)for(const pt in a)ru(a[pt],s,e,pt);if(l){const pt=lt(l)?l.call(e):l;Reflect.ownKeys(pt).forEach(Ct=>{E0(Ct,pt[Ct])})}u&&su(u,n,"c");function U(pt,Ct){V(Ct)?Ct.forEach(ze=>pt(ze.bind(e))):Ct&&pt(Ct.bind(e))}if(U(N0,f),U(Nr,d),U(P0,p),U(Wi,E),U(k0,v),U(I0,W),U(B0,R),U(D0,G),U(F0,z),U(Pr,m),U(Mr,T),U(M0,ot),y&&bn("OPTIONS_BEFORE_DESTROY",n)&&U(Pr,y),C&&bn("OPTIONS_DESTROYED",n)&&U(Mr,C),V(rt))if(rt.length){const pt=n.exposed||(n.exposed={});rt.forEach(Ct=>{Object.defineProperty(pt,Ct,{get:()=>e[Ct],set:ze=>e[Ct]=ze})})}else n.exposed||(n.exposed={});F&&n.render===_e&&(n.render=F),ut!=null&&(n.inheritAttrs=ut),Zt&&(n.components=Zt),Ot&&(n.directives=Ot),it&&Pt("FILTERS",n)&&(n.filters=it)}function nu(n,t,e=_e,s=!1){V(n)&&(n=K1(n));for(const r in n){const i=n[r];let o;_t(i)?"default"in i?o=as(i.from||r,i.default,!0):o=as(i.from||r):o=as(i),ee(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function su(n,t,e){Ce(V(n)?n.map(s=>s.bind(t.proxy)):n.bind(t.proxy),t,e)}function ru(n,t,e,s){const r=s.includes(".")?T0(e,s):()=>e[s];if(Ut(n)){const i=t[n];lt(i)&&ls(r,i)}else if(lt(n))ls(r,n.bind(e));else if(_t(n))if(V(n))n.forEach(i=>ru(i,t,e,s));else{const i=lt(n.handler)?n.handler.bind(e):t[n.handler];lt(i)&&ls(r,i,n)}}function Dr(n){const t=n.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=n.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!e&&!s?Pt("PRIVATE_APIS",n)?(l=yt({},t),l.parent=n.parent&&n.parent.proxy,l.propsData=n.vnode.props):l=t:(l={},r.length&&r.forEach(c=>hs(l,c,o,!0)),hs(l,t,o)),_t(t)&&i.set(t,l),l}function hs(n,t,e,s=!1){lt(t)&&(t=t.options);const{mixins:r,extends:i}=t;i&&hs(n,i,e,!0),r&&r.forEach(o=>hs(n,o,e,!0));for(const o in t)if(!(s&&o==="expose")){const a=fs[o]||e&&e[o];n[o]=a?a(n[o],t[o]):t[o]}return n}const fs={data:iu,props:Un,emits:Un,methods:Un,computed:Un,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Un,directives:Un,watch:Y4,provide:iu,inject:K4};fs.filters=Un;function iu(n,t){return t?n?function(){return(Pt("OPTIONS_DATA_MERGE",null)?eu:yt)(lt(n)?n.call(this,this):n,lt(t)?t.call(this,this):t)}:t:n}function K4(n,t){return Un(K1(n),K1(t))}function K1(n){if(V(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function ge(n,t){return n?[...new Set([].concat(n,t))]:t}function Un(n,t){return n?yt(yt(Object.create(null),n),t):t}function Y4(n,t){if(!n)return t;if(!t)return n;const e=yt(Object.create(null),n);for(const s in t)e[s]=ge(n[s],t[s]);return e}function X4(n,t,e){return new Proxy({},{get(s,r){if(r==="$options")return Dr(n);if(r in t)return t[r];const i=n.type.inject;if(i){if(V(i)){if(i.includes(r))return as(r)}else if(r in i)return as(r)}}})}function ou(n,t){return!!(n==="is"||(n==="class"||n==="style")&&Pt("INSTANCE_ATTRS_CLASS_STYLE",t)||_n(n)&&Pt("INSTANCE_LISTENERS",t)||n.startsWith("routerView")||n==="registerRouteInstance")}function Q4(n,t,e,s=!1){const r={},i={};bi(i,eo,1),n.propsDefaults=Object.create(null),au(n,t,r,i);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);e?n.props=s?r:i0(r):n.type.props?n.props=r:n.props=i,n.attrs=i}function J4(n,t,e,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=n,a=vt(r),[l]=n.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ui(n.emitsOptions,d))continue;const p=t[d];if(l)if(Tt(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const E=de(d);r[E]=Y1(l,a,E,p,n,!1)}else{if(_n(d)&&d.endsWith("Native"))d=d.slice(0,-6);else if(ou(d,n))continue;p!==i[d]&&(i[d]=p,c=!0)}}}}else{au(n,t,r,i)&&(c=!0);let u;for(const f in a)(!t||!Tt(t,f)&&((u=pe(f))===f||!Tt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(r[f]=Y1(l,a,f,void 0,n,!0)):delete r[f]);if(i!==a)for(const f in i)(!t||!Tt(t,f)&&!Tt(t,f+"Native"))&&(delete i[f],c=!0)}c&&nn(n,"set","$attrs")}function au(n,t,e,s){const[r,i]=n.propsOptions;let o=!1,a;if(t)for(let l in t){if(Ps(l)||(l.startsWith("onHook:")&&bn("INSTANCE_EVENT_HOOKS",n,l.slice(2).toLowerCase()),l==="inline-template"))continue;const c=t[l];let u;if(r&&Tt(r,u=de(l)))!i||!i.includes(u)?e[u]=c:(a||(a={}))[u]=c;else if(!Ui(n.emitsOptions,l)){if(_n(l)&&l.endsWith("Native"))l=l.slice(0,-6);else if(ou(l,n))continue;(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}}if(i){const l=vt(e),c=a||Dt;for(let u=0;u<i.length;u++){const f=i[u];e[f]=Y1(r,l,f,c[f],n,!Tt(c,f))}}return o}function Y1(n,t,e,s,r,i){const o=n[e];if(o!=null){const a=Tt(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&<(l)){const{propsDefaults:c}=r;e in c?s=c[e]:(Gn(r),s=c[e]=l.call(Pt("PROPS_DEFAULT_THIS",r)?X4(r,t):null,t),jn())}else s=l}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===pe(e))&&(s=!0))}return s}function lu(n,t,e=!1){const s=t.propsCache,r=s.get(n);if(r)return r;const i=n.props,o={},a=[];let l=!1;if(!lt(n)){const u=f=>{lt(f)&&(f=f.options),l=!0;const[d,p]=lu(f,t,!0);yt(o,d),p&&a.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!i&&!l)return _t(n)&&s.set(n,Os),Os;if(V(i))for(let u=0;u<i.length;u++){const f=de(i[u]);cu(f)&&(o[f]=Dt)}else if(i)for(const u in i){const f=de(u);if(cu(f)){const d=i[u],p=o[f]=V(d)||lt(d)?{type:d}:Object.assign({},d);if(p){const E=fu(Boolean,p.type),v=fu(String,p.type);p[0]=E>-1,p[1]=v<0||E<v,(E>-1||Tt(p,"default"))&&a.push(f)}}}const c=[o,a];return _t(n)&&s.set(n,c),c}function cu(n){return n[0]!=="$"}function uu(n){const t=n&&n.toString().match(/^\s*function (\w+)/);return t?t[1]:n===null?"null":""}function hu(n,t){return uu(n)===uu(t)}function fu(n,t){return V(t)?t.findIndex(e=>hu(e,n)):lt(t)&&hu(t,n)?0:-1}const du=n=>n[0]==="_"||n==="$stable",X1=n=>V(n)?n.map(Ne):[Ne(n)],t5=(n,t,e)=>{if(t._n)return t;const s=O1((...r)=>X1(t(...r)),e);return s._c=!1,s},pu=(n,t,e)=>{const s=n._ctx;for(const r in n){if(du(r))continue;const i=n[r];if(lt(i))t[r]=t5(r,i,s);else if(i!=null){const o=X1(i);t[r]=()=>o}}},gu=(n,t)=>{const e=X1(t);n.slots.default=()=>e},e5=(n,t)=>{if(n.vnode.shapeFlag&32){const e=t._;e?(n.slots=vt(t),bi(t,"_",e)):pu(t,n.slots={})}else n.slots={},t&&gu(n,t);bi(n.slots,eo,1)},n5=(n,t,e)=>{const{vnode:s,slots:r}=n;let i=!0,o=Dt;if(s.shapeFlag&32){const a=t._;a?e&&a===1?i=!1:(yt(r,t),!e&&a===1&&delete r._):(i=!t.$stable,pu(t,r)),o=t}else t&&(gu(n,t),o={default:1});if(i)for(const a in r)!du(a)&&!(a in o)&&delete r[a]};function s5(n){n.optionMergeStrategies=new Proxy({},{get(t,e){if(e in t)return t[e];if(e in fs&&bn("CONFIG_OPTION_MERGE_STRATS",null))return fs[e]}})}let Ee,ds;function r5(n,t){Ee=t({});const e=ds=function l(c={}){return s(c,l)};function s(l={},c){re("GLOBAL_MOUNT",null);const{data:u}=l;u&&!lt(u)&&bn("OPTIONS_DATA_FN",null)&&(l.data=()=>u);const f=n(l);c!==e&&mu(f,c);const d=f._createRoot(l);return l.el?d.$mount(l.el):d}e.version="2.6.14-compat:3.2.45",e.config=Ee.config,e.use=(l,...c)=>(l&<(l.install)?l.install(e,...c):lt(l)&&l(e,...c),e),e.mixin=l=>(Ee.mixin(l),e),e.component=(l,c)=>c?(Ee.component(l,c),e):Ee.component(l),e.directive=(l,c)=>c?(Ee.directive(l,c),e):Ee.directive(l),e.options={_base:e};let r=1;e.cid=r,e.nextTick=vr;const i=new WeakMap;function o(l={}){if(re("GLOBAL_EXTEND",null),lt(l)&&(l=l.options),i.has(l))return i.get(l);const c=this;function u(d){return s(d?hs(yt({},u.options),d,fs):u.options,u)}u.super=c,u.prototype=Object.create(e.prototype),u.prototype.constructor=u;const f={};for(const d in c.options){const p=c.options[d];f[d]=V(p)?p.slice():_t(p)?yt(Object.create(null),p):p}return u.options=hs(f,l,fs),u.options._base=u,u.extend=o.bind(u),u.mixin=c.mixin,u.use=c.use,u.cid=++r,i.set(l,u),u}e.extend=o.bind(e),e.set=(l,c,u)=>{re("GLOBAL_SET",null),l[c]=u},e.delete=(l,c)=>{re("GLOBAL_DELETE",null),delete l[c]},e.observable=l=>(re("GLOBAL_OBSERVABLE",null),yn(l)),e.filter=(l,c)=>c?(Ee.filter(l,c),e):Ee.filter(l);const a={warn:_e,extend:yt,mergeOptions:(l,c,u)=>hs(l,c,u?void 0:fs),defineReactive:f5};return Object.defineProperty(e,"util",{get(){return re("GLOBAL_PRIVATE_UTIL",null),a}}),e.configureCompat=a4,e}function i5(n,t,e){o5(n,t),s5(n.config),Ee&&(c5(n,t,e),a5(n),l5(n))}function o5(n,t){t.filters={},n.filter=(e,s)=>(re("FILTERS",null),s?(t.filters[e]=s,n):t.filters[e])}function a5(n){Object.defineProperties(n,{prototype:{get(){return n.config.globalProperties}},nextTick:{value:vr},extend:{value:ds.extend},set:{value:ds.set},delete:{value:ds.delete},observable:{value:ds.observable},util:{get(){return ds.util}}})}function l5(n){n._context.mixins=[...Ee._context.mixins],["components","directives","filters"].forEach(t=>{n._context[t]=Object.create(Ee._context[t])});for(const t in Ee.config){if(t==="isNativeTag"||aa()&&(t==="isCustomElement"||t==="compilerOptions"))continue;const e=Ee.config[t];n.config[t]=_t(e)?Object.create(e):e,t==="ignoredElements"&&Pt("CONFIG_IGNORED_ELEMENTS",null)&&!aa()&&V(e)&&(n.config.compilerOptions.isCustomElement=s=>e.some(r=>Ut(r)?r===s:r.test(s)))}mu(n,ds)}function mu(n,t){const e=Pt("GLOBAL_PROTOTYPE",null);e&&(n.config.globalProperties=Object.create(t.prototype));const s=Object.getOwnPropertyDescriptors(t.prototype);for(const r in s)r!=="constructor"&&e&&Object.defineProperty(n.config.globalProperties,r,s[r])}function c5(n,t,e){let s=!1;n._createRoot=r=>{const i=n._component,o=nt(i,r.propsData||null);o.appContext=t;const a=!lt(i)&&!i.render&&!i.template,l=()=>{},c=sa(o,null,null);return a&&(c.render=l),ra(c),o.component=c,o.isCompatRoot=!0,c.ctx._compat_mount=u=>{if(s)return;let f;if(typeof u=="string"){const p=document.querySelector(u);if(!p)return;f=p}else f=u||document.createElement("div");const d=f instanceof SVGElement;return a&&c.render===l&&(c.render=null,i.template=f.innerHTML,la(c,!1,!0)),f.innerHTML="",e(o,f,d),f instanceof Element&&(f.removeAttribute("v-cloak"),f.setAttribute("data-v-app","")),s=!0,n._container=f,f.__vue_app__=n,c.proxy},c.ctx._compat_destroy=()=>{if(s)e(null,n._container),delete n._container.__vue_app__;else{const{bum:u,scope:f,um:d}=c;u&&Mn(u),Pt("INSTANCE_EVENT_HOOKS",c)&&c.emit("hook:beforeDestroy"),f&&f.stop(),d&&Mn(d),Pt("INSTANCE_EVENT_HOOKS",c)&&c.emit("hook:destroyed")}},c.proxy}}const u5=["push","pop","shift","unshift","splice","sort","reverse"],h5=new WeakSet;function f5(n,t,e){if(_t(e)&&!Cn(e)&&!h5.has(e)){const r=yn(e);V(e)?u5.forEach(i=>{e[i]=(...o)=>{Array.prototype[i].call(r,...o)}}):Object.keys(e).forEach(i=>{try{Q1(e,i,e[i])}catch{}})}const s=n.$;s&&n===s.proxy?(Q1(s.ctx,t,e),s.accessCache=Object.create(null)):Cn(n)?n[t]=e:Q1(n,t,e)}function Q1(n,t,e){e=_t(e)?yn(e):e,Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get(){return ye(n,"get",t),e},set(s){e=_t(s)?yn(s):s,nn(n,"set",t,s)}})}function xu(){return{app:null,config:{isNativeTag:a3,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let d5=0;function p5(n,t){return function(s,r=null){lt(s)||(s=Object.assign({},s)),r!=null&&!_t(r)&&(r=null);const i=xu(),o=new Set;let a=!1;const l=i.app={_uid:d5++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Pu,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&<(c.install)?(o.add(c),c.install(l,...u)):lt(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=nt(s,r);return d.appContext=i,u&&t?t(d,c):n(d,c,f),a=!0,l._container=c,c.__vue_app__=l,oo(d.component)||d.component.proxy}},unmount(){a&&(n(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return i5(l,i,n),l}}function Xi(n,t,e,s,r=!1){if(V(n)){n.forEach((d,p)=>Xi(d,t&&(V(t)?t[p]:t),e,s,r));return}if(us(s)&&!r)return;const i=s.shapeFlag&4?oo(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=n,c=t&&t.r,u=a.refs===Dt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ut(c)?(u[c]=null,Tt(f,c)&&(f[c]=null)):ee(c)&&(c.value=null)),lt(l))sn(l,a,12,[o,u]);else{const d=Ut(l),p=ee(l);if(d||p){const E=()=>{if(n.f){const v=d?Tt(f,l)?f[l]:u[l]:l.value;r?V(v)&&c1(v,i):V(v)?v.includes(i)||v.push(i):d?(u[l]=[i],Tt(f,l)&&(f[l]=u[l])):(l.value=[i],n.k&&(u[n.k]=l.value))}else d?(u[l]=o,Tt(f,l)&&(f[l]=o)):p&&(l.value=o,n.k&&(u[n.k]=o))};o?(E.id=-1,Jt(E,e)):E()}}}let Hn=!1;const Qi=n=>/svg/.test(n.namespaceURI)&&n.tagName!=="foreignObject",Ji=n=>n.nodeType===8;function g5(n){const{mt:t,p:e,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:c}}=n,u=(y,m)=>{if(!m.hasChildNodes()){e(null,y,m),Fi(),m._vnode=y;return}Hn=!1,f(m.firstChild,y,null,null,null),Fi(),m._vnode=y,Hn&&console.error("Hydration completed but contains mismatches.")},f=(y,m,C,T,F,G=!1)=>{const z=Ji(y)&&y.data==="[",R=()=>v(y,m,C,T,F,z),{type:ot,ref:rt,shapeFlag:ut,patchFlag:Zt}=m;let Ot=y.nodeType;m.el=y,Zt===-2&&(G=!1,m.dynamicChildren=null);let it=null;switch(ot){case gs:Ot!==3?m.children===""?(l(m.el=r(""),o(y),y),it=y):it=R():(y.data!==m.children&&(Hn=!0,y.data=m.children),it=i(y));break;case ie:Ot!==8||z?it=R():it=i(y);break;case ms:if(z&&(y=i(y),Ot=y.nodeType),Ot===1||Ot===3){it=y;const qt=!m.children.length;for(let U=0;U<m.staticCount;U++)qt&&(m.children+=it.nodeType===1?it.outerHTML:it.data),U===m.staticCount-1&&(m.anchor=it),it=i(it);return z?i(it):it}else R();break;case Ht:z?it=E(y,m,C,T,F,G):it=R();break;default:if(ut&1)Ot!==1||m.type.toLowerCase()!==y.tagName.toLowerCase()?it=R():it=d(y,m,C,T,F,G);else if(ut&6){m.slotScopeIds=F;const qt=o(y);if(t(m,qt,null,C,T,Qi(qt),G),it=z?W(y):i(y),it&&Ji(it)&&it.data==="teleport end"&&(it=i(it)),us(m)){let U;z?(U=nt(Ht),U.anchor=it?it.previousSibling:qt.lastChild):U=y.nodeType===3?Ls(""):nt("div"),U.el=y,m.component.subTree=U}}else ut&64?Ot!==8?it=R():it=m.type.hydrate(y,m,C,T,F,G,n,p):ut&128&&(it=m.type.hydrate(y,m,C,T,Qi(o(y)),F,G,n,f))}return rt!=null&&Xi(rt,null,T,m),it},d=(y,m,C,T,F,G)=>{G=G||!!m.dynamicChildren;const{type:z,props:R,patchFlag:ot,shapeFlag:rt,dirs:ut}=m,Zt=z==="input"&&ut||z==="option";if(Zt||ot!==-1){if(ut&&on(m,null,C,"created"),R)if(Zt||!G||ot&48)for(const it in R)(Zt&&it.endsWith("value")||_n(it)&&!Ps(it))&&s(y,it,null,R[it],!1,void 0,C);else R.onClick&&s(y,"onClick",null,R.onClick,!1,void 0,C);let Ot;if((Ot=R&&R.onVnodeBeforeMount)&&Te(Ot,C,m),ut&&on(m,null,C,"beforeMount"),((Ot=R&&R.onVnodeMounted)||ut)&&C0(()=>{Ot&&Te(Ot,C,m),ut&&on(m,null,C,"mounted")},T),rt&16&&!(R&&(R.innerHTML||R.textContent))){let it=p(y.firstChild,m,y,C,T,F,G);for(;it;){Hn=!0;const qt=it;it=it.nextSibling,a(qt)}}else rt&8&&y.textContent!==m.children&&(Hn=!0,y.textContent=m.children)}return y.nextSibling},p=(y,m,C,T,F,G,z)=>{z=z||!!m.dynamicChildren;const R=m.children,ot=R.length;for(let rt=0;rt<ot;rt++){const ut=z?R[rt]:R[rt]=Ne(R[rt]);if(y)y=f(y,ut,T,F,G,z);else{if(ut.type===gs&&!ut.children)continue;Hn=!0,e(null,ut,C,null,T,F,Qi(C),G)}}return y},E=(y,m,C,T,F,G)=>{const{slotScopeIds:z}=m;z&&(F=F?F.concat(z):z);const R=o(y),ot=p(i(y),m,R,C,T,F,G);return ot&&Ji(ot)&&ot.data==="]"?i(m.anchor=ot):(Hn=!0,l(m.anchor=c("]"),R,ot),ot)},v=(y,m,C,T,F,G)=>{if(Hn=!0,m.el=null,G){const ot=W(y);for(;;){const rt=i(y);if(rt&&rt!==ot)a(rt);else break}}const z=i(y),R=o(y);return a(y),e(null,m,R,z,C,T,Qi(R),F),z},W=y=>{let m=0;for(;y;)if(y=i(y),y&&Ji(y)&&(y.data==="["&&m++,y.data==="]")){if(m===0)return i(y);m--}return y};return[u,f]}const Jt=C0;function Lu(n){return yu(n)}function _u(n){return yu(n,g5)}function yu(n,t){const e=d3();e.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=_e,insertStaticContent:E}=n,v=(g,x,w,k=null,S=null,D=null,j=!1,B=null,$=!!x.dynamicChildren)=>{if(g===x)return;g&&!an(g,x)&&(k=Kt(g),Ze(g,S,D,!0),g=null),x.patchFlag===-2&&($=!1,x.dynamicChildren=null);const{type:I,ref:P,shapeFlag:tt}=x;switch(I){case gs:W(g,x,w,k);break;case ie:y(g,x,w,k);break;case ms:g==null&&m(x,w,k,j);break;case Ht:Zt(g,x,w,k,S,D,j,B,$);break;default:tt&1?F(g,x,w,k,S,D,j,B,$):tt&6?Ot(g,x,w,k,S,D,j,B,$):(tt&64||tt&128)&&I.process(g,x,w,k,S,D,j,B,$,ae)}P!=null&&S&&Xi(P,g&&g.ref,D,x||g,!x)},W=(g,x,w,k)=>{if(g==null)s(x.el=a(x.children),w,k);else{const S=x.el=g.el;x.children!==g.children&&c(S,x.children)}},y=(g,x,w,k)=>{g==null?s(x.el=l(x.children||""),w,k):x.el=g.el},m=(g,x,w,k)=>{[g.el,g.anchor]=E(g.children,x,w,k,g.el,g.anchor)},C=({el:g,anchor:x},w,k)=>{let S;for(;g&&g!==x;)S=d(g),s(g,w,k),g=S;s(x,w,k)},T=({el:g,anchor:x})=>{let w;for(;g&&g!==x;)w=d(g),r(g),g=w;r(x)},F=(g,x,w,k,S,D,j,B,$)=>{j=j||x.type==="svg",g==null?G(x,w,k,S,D,j,B,$):ot(g,x,S,D,j,B,$)},G=(g,x,w,k,S,D,j,B)=>{let $,I;const{type:P,props:tt,shapeFlag:q,transition:Q,dirs:gt}=g;if($=g.el=o(g.type,D,tt&&tt.is,tt),q&8?u($,g.children):q&16&&R(g.children,$,null,k,S,D&&P!=="foreignObject",j,B),gt&&on(g,null,k,"created"),tt){for(const Nt in tt)Nt!=="value"&&!Ps(Nt)&&i($,Nt,null,tt[Nt],D,g.children,k,S,bt);"value"in tt&&i($,"value",null,tt.value),(I=tt.onVnodeBeforeMount)&&Te(I,k,g)}z($,g,g.scopeId,j,k),gt&&on(g,null,k,"beforeMount");const St=(!S||S&&!S.pendingBranch)&&Q&&!Q.persisted;St&&Q.beforeEnter($),s($,x,w),((I=tt&&tt.onVnodeMounted)||St||gt)&&Jt(()=>{I&&Te(I,k,g),St&&Q.enter($),gt&&on(g,null,k,"mounted")},S)},z=(g,x,w,k,S)=>{if(w&&p(g,w),k)for(let D=0;D<k.length;D++)p(g,k[D]);if(S){let D=S.subTree;if(x===D){const j=S.vnode;z(g,j,j.scopeId,j.slotScopeIds,S.parent)}}},R=(g,x,w,k,S,D,j,B,$=0)=>{for(let I=$;I<g.length;I++){const P=g[I]=B?Vn(g[I]):Ne(g[I]);v(null,P,x,w,k,S,D,j,B)}},ot=(g,x,w,k,S,D,j)=>{const B=x.el=g.el;let{patchFlag:$,dynamicChildren:I,dirs:P}=x;$|=g.patchFlag&16;const tt=g.props||Dt,q=x.props||Dt;let Q;w&&ps(w,!1),(Q=q.onVnodeBeforeUpdate)&&Te(Q,w,x,g),P&&on(x,g,w,"beforeUpdate"),w&&ps(w,!0);const gt=S&&x.type!=="foreignObject";if(I?rt(g.dynamicChildren,I,B,w,k,gt,D):j||Ct(g,x,B,null,w,k,gt,D,!1),$>0){if($&16)ut(B,x,tt,q,w,k,S);else if($&2&&tt.class!==q.class&&i(B,"class",null,q.class,S),$&4&&i(B,"style",tt.style,q.style,S),$&8){const St=x.dynamicProps;for(let Nt=0;Nt<St.length;Nt++){const jt=St[Nt],K=tt[jt],at=q[jt];(at!==K||jt==="value")&&i(B,jt,K,at,S,g.children,w,k,bt)}}$&1&&g.children!==x.children&&u(B,x.children)}else!j&&I==null&&ut(B,x,tt,q,w,k,S);((Q=q.onVnodeUpdated)||P)&&Jt(()=>{Q&&Te(Q,w,x,g),P&&on(x,g,w,"updated")},k)},rt=(g,x,w,k,S,D,j)=>{for(let B=0;B<x.length;B++){const $=g[B],I=x[B],P=$.el&&($.type===Ht||!an($,I)||$.shapeFlag&70)?f($.el):w;v($,I,P,null,k,S,D,j,!0)}},ut=(g,x,w,k,S,D,j)=>{if(w!==k){if(w!==Dt)for(const B in w)!Ps(B)&&!(B in k)&&i(g,B,w[B],null,j,x.children,S,D,bt);for(const B in k){if(Ps(B))continue;const $=k[B],I=w[B];$!==I&&B!=="value"&&i(g,B,I,$,j,x.children,S,D,bt)}"value"in k&&i(g,"value",w.value,k.value)}},Zt=(g,x,w,k,S,D,j,B,$)=>{const I=x.el=g?g.el:a(""),P=x.anchor=g?g.anchor:a("");let{patchFlag:tt,dynamicChildren:q,slotScopeIds:Q}=x;Q&&(B=B?B.concat(Q):Q),g==null?(s(I,w,k),s(P,w,k),R(x.children,w,P,S,D,j,B,$)):tt>0&&tt&64&&q&&g.dynamicChildren?(rt(g.dynamicChildren,q,w,S,D,j,B),(x.key!=null||S&&x===S.subTree)&&J1(g,x,!0)):Ct(g,x,w,P,S,D,j,B,$)},Ot=(g,x,w,k,S,D,j,B,$)=>{x.slotScopeIds=B,g==null?x.shapeFlag&512?S.ctx.activate(x,w,k,j,$):it(x,w,k,S,D,j,$):qt(g,x,$)},it=(g,x,w,k,S,D,j)=>{const B=g.isCompatRoot&&g.component,$=B||(g.component=sa(g,k,S));if(Ir(g)&&($.ctx.renderer=ae),B||ra($),$.asyncDep){if(S&&S.registerDep($,U),!g.el){const I=$.subTree=nt(ie);y(null,I,x,w)}return}U($,g,x,w,S,D,j)},qt=(g,x,w)=>{const k=x.component=g.component;if(x4(g,x,w))if(k.asyncDep&&!k.asyncResolved){pt(k,x,w);return}else k.next=x,r4(k.update),k.update();else x.el=g.el,k.vnode=x},U=(g,x,w,k,S,D,j)=>{const B=()=>{if(g.isMounted){let{next:P,bu:tt,u:q,parent:Q,vnode:gt}=g,St=P,Nt;ps(g,!1),P?(P.el=gt.el,pt(g,P,j)):P=gt,tt&&Mn(tt),(Nt=P.props&&P.props.onVnodeBeforeUpdate)&&Te(Nt,Q,P,gt),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeUpdate"),ps(g,!0);const jt=Hi(g),K=g.subTree;g.subTree=jt,v(K,jt,f(K.el),Kt(K),g,S,D),P.el=jt.el,St===null&&N1(g,jt.el),q&&Jt(q,S),(Nt=P.props&&P.props.onVnodeUpdated)&&Jt(()=>Te(Nt,Q,P,gt),S),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:updated"),S)}else{let P;const{el:tt,props:q}=x,{bm:Q,m:gt,parent:St}=g,Nt=us(x);if(ps(g,!1),Q&&Mn(Q),!Nt&&(P=q&&q.onVnodeBeforeMount)&&Te(P,St,x),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeMount"),ps(g,!0),tt&&Re){const jt=()=>{g.subTree=Hi(g),Re(tt,g.subTree,g,S,null)};Nt?x.type.__asyncLoader().then(()=>!g.isUnmounted&&jt()):jt()}else{const jt=g.subTree=Hi(g);v(null,jt,w,k,g,S,D),x.el=jt.el}if(gt&&Jt(gt,S),!Nt&&(P=q&&q.onVnodeMounted)){const jt=x;Jt(()=>Te(P,St,jt),S)}Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:mounted"),S),(x.shapeFlag&256||St&&us(St.vnode)&&St.vnode.shapeFlag&256)&&(g.a&&Jt(g.a,S),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:activated"),S)),g.isMounted=!0,x=w=k=null}},$=g.effect=new Er(B,()=>Mi(I),g.scope),I=g.update=()=>$.run();I.id=g.uid,ps(g,!0),I()},pt=(g,x,w)=>{x.component=g;const k=g.vnode.props;g.vnode=x,g.next=null,J4(g,x.props,k,w),n5(g,x.children,w),Ds(),f0(),Bs()},Ct=(g,x,w,k,S,D,j,B,$=!1)=>{const I=g&&g.children,P=g?g.shapeFlag:0,tt=x.children,{patchFlag:q,shapeFlag:Q}=x;if(q>0){if(q&128){We(I,tt,w,k,S,D,j,B,$);return}else if(q&256){ze(I,tt,w,k,S,D,j,B,$);return}}Q&8?(P&16&&bt(I,S,D),tt!==I&&u(w,tt)):P&16?Q&16?We(I,tt,w,k,S,D,j,B,$):bt(I,S,D,!0):(P&8&&u(w,""),Q&16&&R(tt,w,k,S,D,j,B,$))},ze=(g,x,w,k,S,D,j,B,$)=>{g=g||Os,x=x||Os;const I=g.length,P=x.length,tt=Math.min(I,P);let q;for(q=0;q<tt;q++){const Q=x[q]=$?Vn(x[q]):Ne(x[q]);v(g[q],Q,w,null,S,D,j,B,$)}I>P?bt(g,S,D,!0,!1,tt):R(x,w,k,S,D,j,B,$,tt)},We=(g,x,w,k,S,D,j,B,$)=>{let I=0;const P=x.length;let tt=g.length-1,q=P-1;for(;I<=tt&&I<=q;){const Q=g[I],gt=x[I]=$?Vn(x[I]):Ne(x[I]);if(an(Q,gt))v(Q,gt,w,null,S,D,j,B,$);else break;I++}for(;I<=tt&&I<=q;){const Q=g[tt],gt=x[q]=$?Vn(x[q]):Ne(x[q]);if(an(Q,gt))v(Q,gt,w,null,S,D,j,B,$);else break;tt--,q--}if(I>tt){if(I<=q){const Q=q+1,gt=Q<P?x[Q].el:k;for(;I<=q;)v(null,x[I]=$?Vn(x[I]):Ne(x[I]),w,gt,S,D,j,B,$),I++}}else if(I>q)for(;I<=tt;)Ze(g[I],S,D,!0),I++;else{const Q=I,gt=I,St=new Map;for(I=gt;I<=q;I++){const se=x[I]=$?Vn(x[I]):Ne(x[I]);se.key!=null&&St.set(se.key,I)}let Nt,jt=0;const K=q-gt+1;let at=!1,xt=0;const wt=new Array(K);for(I=0;I<K;I++)wt[I]=0;for(I=Q;I<=tt;I++){const se=g[I];if(jt>=K){Ze(se,S,D,!0);continue}let qe;if(se.key!=null)qe=St.get(se.key);else for(Nt=gt;Nt<=q;Nt++)if(wt[Nt-gt]===0&&an(se,x[Nt])){qe=Nt;break}qe===void 0?Ze(se,S,D,!0):(wt[qe-gt]=I+1,qe>=xt?xt=qe:at=!0,v(se,x[qe],w,null,S,D,j,B,$),jt++)}const le=at?m5(wt):Os;for(Nt=le.length-1,I=K-1;I>=0;I--){const se=gt+I,qe=x[se],Fd=se+1<P?x[se+1].el:k;wt[I]===0?v(null,qe,w,Fd,S,D,j,B,$):at&&(Nt<0||I!==le[Nt]?Pn(qe,w,Fd,2):Nt--)}}},Pn=(g,x,w,k,S=null)=>{const{el:D,type:j,transition:B,children:$,shapeFlag:I}=g;if(I&6){Pn(g.component.subTree,x,w,k);return}if(I&128){g.suspense.move(x,w,k);return}if(I&64){j.move(g,x,w,ae);return}if(j===Ht){s(D,x,w);for(let tt=0;tt<$.length;tt++)Pn($[tt],x,w,k);s(g.anchor,x,w);return}if(j===ms){C(g,x,w);return}if(k!==2&&I&1&&B)if(k===0)B.beforeEnter(D),s(D,x,w),Jt(()=>B.enter(D),S);else{const{leave:tt,delayLeave:q,afterLeave:Q}=B,gt=()=>s(D,x,w),St=()=>{tt(D,()=>{gt(),Q&&Q()})};q?q(D,gt,St):St()}else s(D,x,w)},Ze=(g,x,w,k=!1,S=!1)=>{const{type:D,props:j,ref:B,children:$,dynamicChildren:I,shapeFlag:P,patchFlag:tt,dirs:q}=g;if(B!=null&&Xi(B,null,w,g,!0),P&256){x.ctx.deactivate(g);return}const Q=P&1&&q,gt=!us(g);let St;if(gt&&(St=j&&j.onVnodeBeforeUnmount)&&Te(St,x,g),P&6)Et(g.component,w,k);else{if(P&128){g.suspense.unmount(w,k);return}Q&&on(g,null,x,"beforeUnmount"),P&64?g.type.remove(g,x,w,S,ae,k):I&&(D!==Ht||tt>0&&tt&64)?bt(I,x,w,!1,!0):(D===Ht&&tt&384||!S&&P&16)&&bt($,x,w),k&&O(g)}(gt&&(St=j&&j.onVnodeUnmounted)||Q)&&Jt(()=>{St&&Te(St,x,g),Q&&on(g,null,x,"unmounted")},w)},O=g=>{const{type:x,el:w,anchor:k,transition:S}=g;if(x===Ht){st(w,k);return}if(x===ms){T(g);return}const D=()=>{r(w),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(g.shapeFlag&1&&S&&!S.persisted){const{leave:j,delayLeave:B}=S,$=()=>j(w,D);B?B(g.el,D,$):$()}else D()},st=(g,x)=>{let w;for(;g!==x;)w=d(g),r(g),g=w;r(x)},Et=(g,x,w)=>{const{bum:k,scope:S,update:D,subTree:j,um:B}=g;k&&Mn(k),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeDestroy"),S.stop(),D&&(D.active=!1,Ze(j,g,x,w)),B&&Jt(B,x),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:destroyed"),x),Jt(()=>{g.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},bt=(g,x,w,k=!1,S=!1,D=0)=>{for(let j=D;j<g.length;j++)Ze(g[j],x,w,k,S)},Kt=g=>g.shapeFlag&6?Kt(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),xn=(g,x,w)=>{g==null?x._vnode&&Ze(x._vnode,null,null,!0):v(x._vnode||null,g,x,null,null,null,w),f0(),Fi(),x._vnode=g},ae={p:v,um:Ze,m:Pn,r:O,mt:it,mc:R,pc:Ct,pbc:rt,n:Kt,o:n};let Se,Re;return t&&([Se,Re]=t(ae)),{render:xn,hydrate:Se,createApp:p5(xn,Se)}}function ps({effect:n,update:t},e){n.allowRecurse=t.allowRecurse=e}function J1(n,t,e=!1){const s=n.children,r=t.children;if(V(s)&&V(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=Vn(r[i]),a.el=o.el),e||J1(o,a)),a.type===gs&&(a.el=o.el)}}function m5(n){const t=n.slice(),e=[0];let s,r,i,o,a;const l=n.length;for(s=0;s<l;s++){const c=n[s];if(c!==0){if(r=e[e.length-1],n[r]<c){t[s]=r,e.push(s);continue}for(i=0,o=e.length-1;i<o;)a=i+o>>1,n[e[a]]<c?i=a+1:o=a;c<n[e[i]]&&(i>0&&(t[s]=e[i-1]),e[i]=s)}}for(i=e.length,o=e[i-1];i-- >0;)e[i]=o,o=t[o];return e}const x5=n=>n.__isTeleport,Br=n=>n&&(n.disabled||n.disabled===""),Cu=n=>typeof SVGElement<"u"&&n instanceof SVGElement,ta=(n,t)=>{const e=n&&n.to;return Ut(e)?t?t(e):null:e},L5={__isTeleport:!0,process(n,t,e,s,r,i,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:E,createText:v,createComment:W}}=c,y=Br(t.props);let{shapeFlag:m,children:C,dynamicChildren:T}=t;if(n==null){const F=t.el=v(""),G=t.anchor=v("");p(F,e,s),p(G,e,s);const z=t.target=ta(t.props,E),R=t.targetAnchor=v("");z&&(p(R,z),o=o||Cu(z));const ot=(rt,ut)=>{m&16&&u(C,rt,ut,r,i,o,a,l)};y?ot(e,G):z&&ot(z,R)}else{t.el=n.el;const F=t.anchor=n.anchor,G=t.target=n.target,z=t.targetAnchor=n.targetAnchor,R=Br(n.props),ot=R?e:G,rt=R?F:z;if(o=o||Cu(G),T?(d(n.dynamicChildren,T,ot,r,i,o,a),J1(n,t,!0)):l||f(n,t,ot,rt,r,i,o,a,!1),y)R||to(t,e,F,c,1);else if((t.props&&t.props.to)!==(n.props&&n.props.to)){const ut=t.target=ta(t.props,E);ut&&to(t,ut,null,c,0)}else R&&to(t,G,z,c,1)}Eu(t)},remove(n,t,e,s,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=n;if(f&&i(u),(o||!Br(d))&&(i(c),a&16))for(let p=0;p<l.length;p++){const E=l[p];r(E,t,e,!0,!!E.dynamicChildren)}},move:to,hydrate:_5};function to(n,t,e,{o:{insert:s},m:r},i=2){i===0&&s(n.targetAnchor,t,e);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=n,f=i===2;if(f&&s(o,t,e),(!f||Br(u))&&l&16)for(let d=0;d<c.length;d++)r(c[d],t,e,2);f&&s(a,t,e)}function _5(n,t,e,s,r,i,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=ta(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Br(t.props))t.anchor=c(o(n),t,a(n),e,s,r,i),t.targetAnchor=f;else{t.anchor=o(n);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(f,t,u,e,s,r,i)}Eu(t)}return t.anchor&&o(t.anchor)}const y5=L5;function Eu(n){const t=n.ctx;if(t&&t.ut){let e=n.children[0].el;for(;e!==n.targetAnchor;)e.nodeType===1&&e.setAttribute("data-v-owner",t.uid),e=e.nextSibling;t.ut()}}const ea=new Map;function C5(n){if(ea.has(n))return ea.get(n);let t,e;const s=new Promise((o,a)=>{t=o,e=a}),r=n(t,e);let i;return yi(r)?i=ji(()=>r):_t(r)&&!Oe(r)&&!V(r)?i=ji({loader:()=>r.component,loadingComponent:r.loading,errorComponent:r.error,delay:r.delay,timeout:r.timeout}):r==null?i=ji(()=>s):i=n,ea.set(n,i),i}function E5(n,t){return n.__isBuiltIn?n:(lt(n)&&n.cid&&(n=n.options),lt(n)&&Bi("COMPONENT_ASYNC",t,n)?C5(n):_t(n)&&n.functional&&bn("COMPONENT_FUNCTIONAL",t,n)?M4(n):n)}const Ht=Symbol(void 0),gs=Symbol(void 0),ie=Symbol(void 0),ms=Symbol(void 0),$r=[];let be=null;function N(n=!1){$r.push(be=n?null:[])}function bu(){$r.pop(),be=$r[$r.length-1]||null}let xs=1;function na(n){xs+=n}function Tu(n){return n.dynamicChildren=xs>0?be||Os:null,bu(),xs>0&&be&&be.push(n),n}function et(n,t,e,s,r,i){return Tu(A(n,t,e,s,r,i,!0))}function Mt(n,t,e,s,r){return Tu(nt(n,t,e,s,r,!0))}function Oe(n){return n?n.__v_isVNode===!0:!1}function an(n,t){return n.type===t.type&&n.key===t.key}function b5(n){}const eo="__vInternal",wu=({key:n})=>n!=null?n:null,no=({ref:n,ref_key:t,ref_for:e})=>n!=null?Ut(n)||ee(n)||lt(n)?{i:Qt,r:n,k:t,f:!!e}:n:null;function A(n,t=null,e=null,s=0,r=null,i=n===Ht?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:t,key:t&&wu(t),ref:t&&no(t),scopeId:Hs,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qt};return a?(so(l,e),i&128&&n.normalize(l)):e&&(l.shapeFlag|=Ut(e)?8:16),xs>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),u4(l),Z0(l),l}const nt=T5;function T5(n,t=null,e=null,s=0,r=null,i=!1){if((!n||n===H0)&&(n=ie),Oe(n)){const a=Ye(n,t,!0);return e&&so(a,e),xs>0&&!i&&be&&(a.shapeFlag&6?be[be.indexOf(n)]=a:be.push(a)),a.patchFlag|=-2,a}if(k5(n)&&(n=n.__vccOpts),n=E5(n,Qt),t){t=vu(t);let{class:a,style:l}=t;a&&!Ut(a)&&(t.class=Ft(a)),_t(l)&&(_1(l)&&!V(l)&&(l=yt({},l)),t.style=Lt(l))}const o=Ut(n)?1:_0(n)?128:x5(n)?64:_t(n)?4:lt(n)?2:0;return A(n,t,e,s,r,o,i,!0)}function vu(n){return n?_1(n)||eo in n?yt({},n):n:null}function Ye(n,t,e=!1){const{props:s,ref:r,patchFlag:i,children:o}=n,a=t?ro(s||{},t):s,l={__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&wu(a),ref:t&&t.ref?e&&r?V(r)?r.concat(no(t)):[r,no(t)]:no(t):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:t&&n.type!==Ht?i===-1?16:i|16:i,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Ye(n.ssContent),ssFallback:n.ssFallback&&Ye(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx};return Z0(l),l}function Ls(n=" ",t=0){return nt(gs,null,n,t)}function Ur(n,t){const e=nt(ms,null,n);return e.staticCount=t,e}function At(n="",t=!1){return t?(N(),Mt(ie,null,n)):nt(ie,null,n)}function Ne(n){return n==null||typeof n=="boolean"?nt(ie):V(n)?nt(Ht,null,n.slice()):typeof n=="object"?Vn(n):nt(gs,null,String(n))}function Vn(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Ye(n)}function so(n,t){let e=0;const{shapeFlag:s}=n;if(t==null)t=null;else if(V(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),so(n,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(eo in t)?t._ctx=Qt:r===3&&Qt&&(Qt.slots._===1?t._=1:(t._=2,n.patchFlag|=1024))}else lt(t)?(t={default:t,_ctx:Qt},e=32):(t=String(t),s&64?(e=16,t=[Ls(t)]):e=8);n.children=t,n.shapeFlag|=e}function ro(...n){const t={};for(let e=0;e<n.length;e++){const s=n[e];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ft([t.class,s.class]));else if(r==="style")t.style=Lt([t.style,s.style]);else if(_n(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Te(n,t,e,s=null){Ce(n,t,7,[e,s])}const w5=xu();let v5=0;function sa(n,t,e){const s=n.type,r=(t?t.appContext:n.appContext)||w5,i={uid:v5++,vnode:n,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new h1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lu(s,r),emitsOptions:x0(s,r),emit:null,emitted:null,propsDefaults:Dt,inheritAttrs:s.inheritAttrs,ctx:Dt,data:Dt,props:Dt,attrs:Dt,slots:Dt,refs:Dt,setupState:Dt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=f4.bind(null,i),n.ce&&n.ce(i),i}let te=null;const ln=()=>te||Qt,Gn=n=>{te=n,n.scope.on()},jn=()=>{te&&te.scope.off(),te=null};function Au(n){return n.vnode.shapeFlag&4}let zs=!1;function ra(n,t=!1){zs=t;const{props:e,children:s}=n.vnode,r=Au(n);Q4(n,e,r,t),e5(n,s);const i=r?A5(n,t):void 0;return zs=!1,i}function A5(n,t){const e=n.type;n.accessCache=Object.create(null),n.proxy=y1(new Proxy(n.ctx,Z1));const{setup:s}=e;if(s){const r=n.setupContext=s.length>1?Su(n):null;Gn(n),Ds();const i=sn(s,n,0,[n.props,r]);if(Bs(),jn(),yi(i)){if(i.then(jn,jn),t)return i.then(o=>{ia(n,o,t)}).catch(o=>{ss(o,n,0)});n.asyncDep=i}else ia(n,i,t)}else la(n,t)}function ia(n,t,e){lt(t)?n.type.__ssrInlineRender?n.ssrRender=t:n.render=t:_t(t)&&(n.setupState=b1(t)),la(n,e)}let io,oa;function S5(n){io=n,oa=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Z4))}}const aa=()=>!io;function la(n,t,e){const s=n.type;if(O4(n),!n.render){if(!t&&io&&!s.render){const r=n.vnode.props&&n.vnode.props["inline-template"]||s.template||Dr(n).template;if(r){const{isCustomElement:i,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=s,c=yt(yt({isCustomElement:i,delimiters:a},o),l);c.compatConfig=Object.create(A1),s.compatConfig&&yt(c.compatConfig,s.compatConfig),s.render=io(r,c)}}n.render=s.render||_e,oa&&oa(n)}e||(Gn(n),Ds(),q4(n),Bs(),jn())}function R5(n){return new Proxy(n.attrs,{get(t,e){return ye(n,"get","$attrs"),t[e]}})}function Su(n){const t=s=>{n.exposed=s||{}};let e;return{get attrs(){return e||(e=R5(n))},slots:n.slots,emit:n.emit,expose:t}}function oo(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(b1(y1(n.exposed)),{get(t,e){if(e in t)return t[e];if(e in js)return js[e](n)},has(t,e){return e in t||e in js}}))}function ca(n,t=!0){return lt(n)?n.displayName||n.name:n.name||t&&n.__name}function k5(n){return lt(n)&&"__vccOpts"in n}const ua=(n,t)=>t4(n,t,zs);function I5(){return null}function O5(){return null}function N5(n){}function P5(n,t){return null}function M5(){return Ru().slots}function F5(){return Ru().attrs}function Ru(){const n=ln();return n.setupContext||(n.setupContext=Su(n))}function D5(n,t){const e=V(n)?n.reduce((s,r)=>(s[r]={},s),{}):n;for(const s in t){const r=e[s];r?V(r)||lt(r)?e[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(e[s]={default:t[s]})}return e}function B5(n,t){const e={};for(const s in n)t.includes(s)||Object.defineProperty(e,s,{enumerable:!0,get:()=>n[s]});return e}function $5(n){const t=ln();let e=n();return jn(),yi(e)&&(e=e.catch(s=>{throw Gn(t),s})),[e,()=>Gn(t)]}function ku(n,t,e){const s=arguments.length;return s===2?_t(t)&&!V(t)?Oe(t)?nt(n,null,[t]):nt(n,t):nt(n,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&Oe(e)&&(e=[e]),nt(n,t,e))}const Iu=Symbol(""),Ou=()=>as(Iu);function U5(){}function H5(n,t,e,s){const r=e[s];if(r&&Nu(r,n))return r;const i=t();return i.memo=n.slice(),e[s]=i}function Nu(n,t){const e=n.memo;if(e.length!=t.length)return!1;for(let s=0;s<e.length;s++)if(Fs(e[s],t[s]))return!1;return xs>0&&be&&be.push(n),!0}const Pu="3.2.45",V5={createComponentInstance:sa,setupComponent:ra,renderComponentRoot:Hi,setCurrentRenderingInstance:Sr,isVNode:Oe,normalizeVNode:Ne},G5=G0,cn={warnDeprecation:o4,createCompatVue:r5,isCompatEnabled:Pt,checkCompatEnabled:Bi,softAssertCompatEnabled:bn},j5="http://www.w3.org/2000/svg",_s=typeof document<"u"?document:null,Mu=_s&&_s.createElement("template"),z5={insert:(n,t,e)=>{t.insertBefore(n,e||null)},remove:n=>{const t=n.parentNode;t&&t.removeChild(n)},createElement:(n,t,e,s)=>{const r=t?_s.createElementNS(j5,n):_s.createElement(n,e?{is:e}:void 0);return n==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:n=>_s.createTextNode(n),createComment:n=>_s.createComment(n),setText:(n,t)=>{n.nodeValue=t},setElementText:(n,t)=>{n.textContent=t},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>_s.querySelector(n),setScopeId(n,t){n.setAttribute(t,"")},insertStaticContent(n,t,e,s,r,i){const o=e?e.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===i||!(r=r.nextSibling)););else{Mu.innerHTML=s?`<svg>${n}</svg>`:n;const a=Mu.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,e)}return[o?o.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}};function W5(n,t,e){const s=n._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?n.removeAttribute("class"):e?n.setAttribute("class",t):n.className=t}function Z5(n,t,e){const s=n.style,r=Ut(e);if(e&&!r){for(const i in e)ha(s,i,e[i]);if(t&&!Ut(t))for(const i in t)e[i]==null&&ha(s,i,"")}else{const i=s.display;r?t!==e&&(s.cssText=e):t&&n.removeAttribute("style"),"_vod"in n&&(s.display=i)}}const Fu=/\s*!important$/;function ha(n,t,e){if(V(e))e.forEach(s=>ha(n,t,s));else if(e==null&&(e=""),t.startsWith("--"))n.setProperty(t,e);else{const s=q5(n,t);Fu.test(e)?n.setProperty(pe(s),e.replace(Fu,""),"important"):n[s]=e}}const Du=["Webkit","Moz","ms"],fa={};function q5(n,t){const e=fa[t];if(e)return e;let s=de(t);if(s!=="filter"&&s in n)return fa[t]=s;s=yr(s);for(let r=0;r<Du.length;r++){const i=Du[r]+s;if(i in n)return fa[t]=i}return t}const Bu="http://www.w3.org/1999/xlink";function K5(n,t,e,s,r){if(s&&t.startsWith("xlink:"))e==null?n.removeAttributeNS(Bu,t.slice(6,t.length)):n.setAttributeNS(Bu,t,e);else{if(X5(n,t,e,r))return;const i=Oc(t);e==null||i&&!Nc(e)?n.removeAttribute(t):n.setAttribute(t,i?"":e)}}const Y5=Is("contenteditable,draggable,spellcheck");function X5(n,t,e,s=null){if(Y5(t)){const r=e===null?"false":typeof e!="boolean"&&e!==void 0?"true":null;if(r&&cn.softAssertCompatEnabled("ATTR_ENUMERATED_COERCION",s,t,e,r))return n.setAttribute(t,r),!0}else if(e===!1&&!Oc(t)&&cn.softAssertCompatEnabled("ATTR_FALSE_VALUE",s,t))return n.removeAttribute(t),!0;return!1}function Q5(n,t,e,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),n[t]=e==null?"":e;return}if(t==="value"&&n.tagName!=="PROGRESS"&&!n.tagName.includes("-")){n._value=e;const l=e==null?"":e;(n.value!==l||n.tagName==="OPTION")&&(n.value=l),e==null&&n.removeAttribute(t);return}let a=!1;if(e===""||e==null){const l=typeof n[t];l==="boolean"?e=Nc(e):e==null&&l==="string"?(e="",a=!0):l==="number"&&(e=0,a=!0)}else if(e===!1&&cn.isCompatEnabled("ATTR_FALSE_VALUE",r)){const l=typeof n[t];(l==="string"||l==="number")&&(e=l==="number"?0:"",a=!0)}try{n[t]=e}catch{}a&&n.removeAttribute(t)}function vn(n,t,e,s){n.addEventListener(t,e,s)}function J5(n,t,e,s){n.removeEventListener(t,e,s)}function t9(n,t,e,s,r=null){const i=n._vei||(n._vei={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=e9(t);if(s){const c=i[t]=r9(s,r);vn(n,a,c,l)}else o&&(J5(n,a,o,l),i[t]=void 0)}}const $u=/(?:Once|Passive|Capture)$/;function e9(n){let t;if($u.test(n)){t={};let s;for(;s=n.match($u);)n=n.slice(0,n.length-s[0].length),t[s[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):pe(n.slice(2)),t]}let da=0;const n9=Promise.resolve(),s9=()=>da||(n9.then(()=>da=0),da=Date.now());function r9(n,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;Ce(i9(s,e.value),t,5,[s])};return e.value=n,e.attached=s9(),e}function i9(n,t){if(V(t)){const e=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{e.call(n),n._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Uu=/^on[a-z]/,o9=(n,t,e,s,r=!1,i,o,a,l)=>{t==="class"?W5(n,s,r):t==="style"?Z5(n,e,s):_n(t)?l1(t)||t9(n,t,e,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):a9(n,t,s,r))?Q5(n,t,s,i,o,a,l):(t==="true-value"?n._trueValue=s:t==="false-value"&&(n._falseValue=s),K5(n,t,s,r,o))};function a9(n,t,e,s){return s?!!(t==="innerHTML"||t==="textContent"||t in n&&Uu.test(t)&<(e)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&n.tagName==="INPUT"||t==="type"&&n.tagName==="TEXTAREA"||Uu.test(t)&&Ut(e)?!1:t in n}function Hu(n,t){const e=B1(n);class s extends ao{constructor(i){super(e,i,t)}}return s.def=e,s}const l9=n=>Hu(n,hh),c9=typeof HTMLElement<"u"?HTMLElement:class{};class ao extends c9{constructor(t,e={},s){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,vr(()=>{this._connected||(ya(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:i,styles:o}=s;let a;if(i&&!V(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=en(this._props[l])),(a||(a=Object.create(null)))[de(l)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(o),this._update()},e=this._def.__asyncLoader;e?e().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:e}=t,s=V(e)?e:Object.keys(e||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(de))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let e=this.getAttribute(t);const s=de(t);this._numberProps&&this._numberProps[s]&&(e=en(e)),this._setProp(s,e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,s=!0,r=!0){e!==this._props[t]&&(this._props[t]=e,r&&this._instance&&this._update(),s&&(e===!0?this.setAttribute(pe(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(pe(t),e+""):e||this.removeAttribute(pe(t))))}_update(){ya(this._createVNode(),this.shadowRoot)}_createVNode(){const t=nt(this._def,yt({},this._props));return this._instance||(t.ce=e=>{this._instance=e,e.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};e.emit=(i,...o)=>{s(i,o),pe(i)!==i&&s(pe(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ao){e.parent=r._instance,e.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(e=>{const s=document.createElement("style");s.textContent=e,this.shadowRoot.appendChild(s)})}}function u9(n="$style"){{const t=ln();if(!t)return Dt;const e=t.type.__cssModules;if(!e)return Dt;const s=e[n];return s||Dt}}function h9(n){const t=ln();if(!t)return;const e=t.ut=(r=n(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>ga(i,r))},s=()=>{const r=n(t.proxy);pa(t.subTree,r),e(r)};b0(s),Nr(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Mr(()=>r.disconnect())})}function pa(n,t){if(n.shapeFlag&128){const e=n.suspense;n=e.activeBranch,e.pendingBranch&&!e.isHydrating&&e.effects.push(()=>{pa(e.activeBranch,t)})}for(;n.component;)n=n.component.subTree;if(n.shapeFlag&1&&n.el)ga(n.el,t);else if(n.type===Ht)n.children.forEach(e=>pa(e,t));else if(n.type===ms){let{el:e,anchor:s}=n;for(;e&&(ga(e,t),e!==s);)e=e.nextSibling}}function ga(n,t){if(n.nodeType===1){const e=n.style;for(const s in t)e.setProperty(`--${s}`,t[s])}}const zn="transition",Hr="animation",Vr=(n,{slots:t})=>ku(F1,ju(n),t);Vr.displayName="Transition",Vr.__isBuiltIn=!0;const Vu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},f9=Vr.props=yt({},F1.props,Vu),ys=(n,t=[])=>{V(n)?n.forEach(e=>e(...t)):n&&n(...t)},Gu=n=>n?V(n)?n.some(t=>t.length>1):n.length>1:!1;function ju(n){const t={};for(const U in n)U in Vu||(t[U]=n[U]);if(n.css===!1)return t;const{name:e="v",type:s,duration:r,enterFromClass:i=`${e}-enter-from`,enterActiveClass:o=`${e}-enter-active`,enterToClass:a=`${e}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:p=`${e}-leave-to`}=n,E=cn.isCompatEnabled("TRANSITION_CLASSES",null);let v,W,y;if(E){const U=pt=>pt.replace(/-from$/,"");n.enterFromClass||(v=U(i)),n.appearFromClass||(W=U(l)),n.leaveFromClass||(y=U(f))}const m=d9(r),C=m&&m[0],T=m&&m[1],{onBeforeEnter:F,onEnter:G,onEnterCancelled:z,onLeave:R,onLeaveCancelled:ot,onBeforeAppear:rt=F,onAppear:ut=G,onAppearCancelled:Zt=z}=t,Ot=(U,pt,Ct)=>{un(U,pt?u:a),un(U,pt?c:o),Ct&&Ct()},it=(U,pt)=>{U._isLeaving=!1,un(U,f),un(U,p),un(U,d),pt&&pt()},qt=U=>(pt,Ct)=>{const ze=U?ut:G,We=()=>Ot(pt,U,Ct);ys(ze,[pt,We]),zu(()=>{un(pt,U?l:i),E&&un(pt,U?W:v),He(pt,U?u:a),Gu(ze)||Wu(pt,s,C,We)})};return yt(t,{onBeforeEnter(U){ys(F,[U]),He(U,i),E&&He(U,v),He(U,o)},onBeforeAppear(U){ys(rt,[U]),He(U,l),E&&He(U,W),He(U,c)},onEnter:qt(!1),onAppear:qt(!0),onLeave(U,pt){U._isLeaving=!0;const Ct=()=>it(U,pt);He(U,f),E&&He(U,y),Yu(),He(U,d),zu(()=>{!U._isLeaving||(un(U,f),E&&un(U,y),He(U,p),Gu(R)||Wu(U,s,T,Ct))}),ys(R,[U,Ct])},onEnterCancelled(U){Ot(U,!1),ys(z,[U])},onAppearCancelled(U){Ot(U,!0),ys(Zt,[U])},onLeaveCancelled(U){it(U),ys(ot,[U])}})}function d9(n){if(n==null)return null;if(_t(n))return[ma(n.enter),ma(n.leave)];{const t=ma(n);return[t,t]}}function ma(n){return en(n)}function He(n,t){t.split(/\s+/).forEach(e=>e&&n.classList.add(e)),(n._vtc||(n._vtc=new Set)).add(t)}function un(n,t){t.split(/\s+/).forEach(s=>s&&n.classList.remove(s));const{_vtc:e}=n;e&&(e.delete(t),e.size||(n._vtc=void 0))}function zu(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let p9=0;function Wu(n,t,e,s){const r=n._endId=++p9,i=()=>{r===n._endId&&s()};if(e)return setTimeout(i,e);const{type:o,timeout:a,propCount:l}=Zu(n,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{n.removeEventListener(c,d),i()},d=p=>{p.target===n&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),n.addEventListener(c,d)}function Zu(n,t){const e=window.getComputedStyle(n),s=E=>(e[E]||"").split(", "),r=s(`${zn}Delay`),i=s(`${zn}Duration`),o=qu(r,i),a=s(`${Hr}Delay`),l=s(`${Hr}Duration`),c=qu(a,l);let u=null,f=0,d=0;t===zn?o>0&&(u=zn,f=o,d=i.length):t===Hr?c>0&&(u=Hr,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?zn:Hr:null,d=u?u===zn?i.length:l.length:0);const p=u===zn&&/\b(transform|all)(,|$)/.test(s(`${zn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function qu(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max(...t.map((e,s)=>Ku(e)+Ku(n[s])))}function Ku(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function Yu(){return document.body.offsetHeight}const Xu=new WeakMap,Qu=new WeakMap,Ju={name:"TransitionGroup",props:yt({},f9,{tag:String,moveClass:String}),setup(n,{slots:t}){const e=ln(),s=M1();let r,i;return Wi(()=>{if(!r.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!L9(r[0].el,e.vnode.el,o))return;r.forEach(g9),r.forEach(m9);const a=r.filter(x9);Yu(),a.forEach(l=>{const c=l.el,u=c.style;He(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,un(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=vt(n),a=ju(o);let l=o.tag||Ht;!o.tag&&cn.checkCompatEnabled("TRANSITION_GROUP_ROOT",e.parent)&&(l="span"),r=i,i=t.default?Gi(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&cs(u,Gs(u,a,s,e))}if(r)for(let c=0;c<r.length;c++){const u=r[c];cs(u,Gs(u,a,s,e)),Xu.set(u,u.el.getBoundingClientRect())}return nt(l,null,i)}}};Ju.__isBuiltIn=!0;const th=Ju;function g9(n){const t=n.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function m9(n){Qu.set(n,n.el.getBoundingClientRect())}function x9(n){const t=Xu.get(n),e=Qu.get(n),s=t.left-e.left,r=t.top-e.top;if(s||r){const i=n.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",n}}function L9(n,t,e){const s=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),e.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Zu(s);return r.removeChild(s),i}const Wn=n=>{const t=n.props["onUpdate:modelValue"]||n.props["onModelCompat:input"];return V(t)?e=>Mn(t,e):t};function _9(n){n.target.composing=!0}function eh(n){const t=n.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const lo={created(n,{modifiers:{lazy:t,trim:e,number:s}},r){n._assign=Wn(r);const i=s||r.props&&r.props.type==="number";vn(n,t?"change":"input",o=>{if(o.target.composing)return;let a=n.value;e&&(a=a.trim()),i&&(a=en(a)),n._assign(a)}),e&&vn(n,"change",()=>{n.value=n.value.trim()}),t||(vn(n,"compositionstart",_9),vn(n,"compositionend",eh),vn(n,"change",eh))},mounted(n,{value:t}){n.value=t==null?"":t},beforeUpdate(n,{value:t,modifiers:{lazy:e,trim:s,number:r}},i){if(n._assign=Wn(i),n.composing||document.activeElement===n&&n.type!=="range"&&(e||s&&n.value.trim()===t||(r||n.type==="number")&&en(n.value)===t))return;const o=t==null?"":t;n.value!==o&&(n.value=o)}},xa={deep:!0,created(n,t,e){n._assign=Wn(e),vn(n,"change",()=>{const s=n._modelValue,r=Ws(n),i=n.checked,o=n._assign;if(V(s)){const a=xr(s,r),l=a!==-1;if(i&&!l)o(s.concat(r));else if(!i&&l){const c=[...s];c.splice(a,1),o(c)}}else if(ts(s)){const a=new Set(s);i?a.add(r):a.delete(r),o(a)}else o(ih(n,i))})},mounted:nh,beforeUpdate(n,t,e){n._assign=Wn(e),nh(n,t,e)}};function nh(n,{value:t,oldValue:e},s){n._modelValue=t,V(t)?n.checked=xr(t,s.props.value)>-1:ts(t)?n.checked=t.has(s.props.value):t!==e&&(n.checked=Ln(t,ih(n,!0)))}const La={created(n,{value:t},e){n.checked=Ln(t,e.props.value),n._assign=Wn(e),vn(n,"change",()=>{n._assign(Ws(n))})},beforeUpdate(n,{value:t,oldValue:e},s){n._assign=Wn(s),t!==e&&(n.checked=Ln(t,s.props.value))}},sh={deep:!0,created(n,{value:t,modifiers:{number:e}},s){const r=ts(t);vn(n,"change",()=>{const i=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>e?en(Ws(o)):Ws(o));n._assign(n.multiple?r?new Set(i):i:i[0])}),n._assign=Wn(s)},mounted(n,{value:t}){rh(n,t)},beforeUpdate(n,t,e){n._assign=Wn(e)},updated(n,{value:t}){rh(n,t)}};function rh(n,t){const e=n.multiple;if(!(e&&!V(t)&&!ts(t))){for(let s=0,r=n.options.length;s<r;s++){const i=n.options[s],o=Ws(i);if(e)V(t)?i.selected=xr(t,o)>-1:i.selected=t.has(o);else if(Ln(Ws(i),t)){n.selectedIndex!==s&&(n.selectedIndex=s);return}}!e&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Ws(n){return"_value"in n?n._value:n.value}function ih(n,t){const e=t?"_trueValue":"_falseValue";return e in n?n[e]:t}const _a={created(n,t,e){co(n,t,e,null,"created")},mounted(n,t,e){co(n,t,e,null,"mounted")},beforeUpdate(n,t,e,s){co(n,t,e,s,"beforeUpdate")},updated(n,t,e,s){co(n,t,e,s,"updated")}};function oh(n,t){switch(n){case"SELECT":return sh;case"TEXTAREA":return lo;default:switch(t){case"checkbox":return xa;case"radio":return La;default:return lo}}}function co(n,t,e,s,r){const o=oh(n.tagName,e.props&&e.props.type)[r];o&&o(n,t,e,s)}function y9(){lo.getSSRProps=({value:n})=>({value:n}),La.getSSRProps=({value:n},t)=>{if(t.props&&Ln(t.props.value,n))return{checked:!0}},xa.getSSRProps=({value:n},t)=>{if(V(n)){if(t.props&&xr(n,t.props.value)>-1)return{checked:!0}}else if(ts(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},_a.getSSRProps=(n,t)=>{if(typeof t.type!="string")return;const e=oh(t.type.toUpperCase(),t.props&&t.props.type);if(e.getSSRProps)return e.getSSRProps(n,t)}}const C9=["ctrl","shift","alt","meta"],E9={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,t)=>C9.some(e=>n[`${e}Key`]&&!t.includes(e))},Gr=(n,t)=>(e,...s)=>{for(let r=0;r<t.length;r++){const i=E9[t[r]];if(i&&i(e,t))return}return n(e,...s)},b9={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},T9=(n,t)=>{let e,s=null;return s=ln(),cn.isCompatEnabled("CONFIG_KEY_CODES",s)&&s&&(e=s.appContext.config.keyCodes),r=>{if(!("key"in r))return;const i=pe(r.key);if(t.some(o=>o===i||b9[o]===i))return n(r);{const o=String(r.keyCode);if(cn.isCompatEnabled("V_ON_KEYCODE_MODIFIER",s)&&t.some(a=>a==o))return n(r);if(e)for(const a of t){const l=e[a];if(l&&(V(l)?l.some(u=>String(u)===o):String(l)===o))return n(r)}}}},jr={beforeMount(n,{value:t},{transition:e}){n._vod=n.style.display==="none"?"":n.style.display,e&&t?e.beforeEnter(n):zr(n,t)},mounted(n,{value:t},{transition:e}){e&&t&&e.enter(n)},updated(n,{value:t,oldValue:e},{transition:s}){!t!=!e&&(s?t?(s.beforeEnter(n),zr(n,!0),s.enter(n)):s.leave(n,()=>{zr(n,!1)}):zr(n,t))},beforeUnmount(n,{value:t}){zr(n,t)}};function zr(n,t){n.style.display=t?n._vod:"none"}function w9(){jr.getSSRProps=({value:n})=>{if(!n)return{style:{display:"none"}}}}const ah=yt({patchProp:o9},z5);let Wr,lh=!1;function ch(){return Wr||(Wr=Lu(ah))}function uh(){return Wr=lh?Wr:_u(ah),lh=!0,Wr}const ya=(...n)=>{ch().render(...n)},hh=(...n)=>{uh().hydrate(...n)},Zr=(...n)=>{const t=ch().createApp(...n),{mount:e}=t;return t.mount=s=>{const r=fh(s);if(!r)return;const i=t._component;!lt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=e(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},v9=(...n)=>{const t=uh().createApp(...n),{mount:e}=t;return t.mount=s=>{const r=fh(s);if(r)return e(r,!0,r instanceof SVGElement)},t};function fh(n){return Ut(n)?document.querySelector(n):n}let dh=!1;var A9=Object.freeze({__proto__:null,render:ya,hydrate:hh,createApp:Zr,createSSRApp:v9,initDirectivesForSSR:()=>{dh||(dh=!0,y9(),w9())},defineCustomElement:Hu,defineSSRCustomElement:l9,VueElement:ao,useCssModule:u9,useCssVars:h9,Transition:Vr,TransitionGroup:th,vModelText:lo,vModelCheckbox:xa,vModelRadio:La,vModelSelect:sh,vModelDynamic:_a,withModifiers:Gr,withKeys:T9,vShow:jr,reactive:yn,ref:Pi,readonly:L1,unref:a0,proxyRefs:b1,isRef:ee,toRef:l0,toRefs:X3,isProxy:_1,isReactive:Cn,isReadonly:ns,isShallow:br,customRef:Y3,triggerRef:Z3,shallowRef:z3,shallowReactive:i0,shallowReadonly:j3,markRaw:y1,toRaw:vt,effect:L3,stop:_3,ReactiveEffect:Er,effectScope:Bc,EffectScope:h1,getCurrentScope:p3,onScopeDispose:g3,computed:ua,watch:ls,watchEffect:b4,watchPostEffect:b0,watchSyncEffect:T4,onBeforeMount:N0,onMounted:Nr,onBeforeUpdate:P0,onUpdated:Wi,onBeforeUnmount:Pr,onUnmounted:Mr,onActivated:k0,onDeactivated:I0,onRenderTracked:D0,onRenderTriggered:F0,onErrorCaptured:B0,onServerPrefetch:M0,provide:E0,inject:as,nextTick:vr,defineComponent:B1,defineAsyncComponent:ji,useAttrs:F5,useSlots:M5,defineProps:I5,defineEmits:O5,defineExpose:N5,withDefaults:P5,mergeDefaults:D5,createPropsRestProxy:B5,withAsyncContext:$5,getCurrentInstance:ln,h:ku,createVNode:nt,cloneVNode:Ye,mergeProps:ro,isVNode:Oe,Fragment:Ht,Text:gs,Comment:ie,Static:ms,Teleport:y5,Suspense:L4,KeepAlive:R0,BaseTransition:F1,withDirectives:Zi,useSSRContext:Ou,ssrContextKey:Iu,createRenderer:Lu,createHydrationRenderer:_u,queuePostFlushCb:v1,warn:e4,handleError:ss,callWithErrorHandling:sn,callWithAsyncErrorHandling:Ce,resolveComponent:ft,resolveDirective:V0,resolveDynamicComponent:Fr,registerRuntimeCompiler:S5,isRuntimeOnly:aa,useTransitionState:M1,resolveTransitionHooks:Gs,setTransitionHooks:cs,getTransitionRawChildren:Gi,initCustomFormatter:U5,get devtools(){return Us},setDevtoolsHook:p0,withCtx:O1,pushScopeId:is,popScopeId:os,withScopeId:d4,renderList:wn,toHandlers:X0,renderSlot:j1,createSlots:K0,withMemo:H5,isMemoSame:Nu,openBlock:N,createBlock:Mt,setBlockTracking:na,createTextVNode:Ls,createCommentVNode:At,createStaticVNode:Ur,createElementVNode:A,createElementBlock:et,guardReactiveProps:vu,toDisplayString:Yt,camelize:de,capitalize:yr,toHandlerKey:Ms,normalizeProps:i3,normalizeClass:Ft,normalizeStyle:Lt,transformVNodeArgs:b5,version:Pu,ssrUtils:V5,resolveFilter:G5,compatUtils:cn});function S9(...n){const t=Zr(...n);return cn.isCompatEnabled("RENDER_FUNCTION",null)&&(t.component("__compat__transition",Vr),t.component("__compat__transition-group",th),t.component("__compat__keep-alive",R0),t._context.directives.show=jr,t._context.directives.model=_a),t}function R9(){const n=cn.createCompatVue(Zr,S9);return yt(n,A9),n}const ph=R9();ph.compile=()=>{};function k9(){return gh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const I9=typeof Proxy=="function",O9="devtools-plugin:setup",N9="plugin:settings:set";let Zs,Ca;function P9(){var n;return Zs!==void 0||(typeof window<"u"&&window.performance?(Zs=!0,Ca=window.performance):typeof global<"u"&&((n=global.perf_hooks)===null||n===void 0?void 0:n.performance)?(Zs=!0,Ca=global.perf_hooks.performance):Zs=!1),Zs}function M9(){return P9()?Ca.now():Date.now()}class F9{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const s={};if(t.settings)for(const o in t.settings){const a=t.settings[o];s[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},s);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}i=o},now(){return M9()}},e&&e.on(N9,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function D9(n,t){const e=n,s=gh(),r=k9(),i=I9&&e.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(O9,n,t);else{const o=i?new F9(e,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('.tooltip[data-v-70836592]{cursor:pointer;position:relative;display:block;width:100%;text-align:center;z-index:10}.tooltip span[data-v-70836592]{border-bottom:1px dotted}.tooltip[data-v-70836592]:after{display:none;content:attr(data-tooltip);background:#e8e9e9;max-width:500px;width:200px;position:absolute;left:-200px;right:0;margin:auto;opacity:0;height:auto;font-size:14px;padding:10px;border-radius:4px;color:#111;text-align:left}.tooltip.bottom[data-v-70836592]:after{top:80%;transition:opacity .3s ease .3s,top .3s cubic-bezier(.175,.885,.32,1.275) .3s}.tooltip.bottom[data-v-70836592]:hover:after{display:block;top:130%;opacity:1}.lifeline .line[data-v-6efc771f]{background-size:1px 20px}.interaction{border:dashed transparent 0}.interaction.sync{border-right-width:7px}.interaction.inited-from-occurrence,.interaction.self-invocation{border-left-width:7px}.interaction.return{border-left-width:7px;border-right-width:7px}.interaction.return-to-start{border-left-width:0}.interaction:hover{cursor:pointer}.message{position:relative}.message>.name{text-align:center}.interaction.right-to-left>.occurrence{left:-14px}.interaction.self>.occurrence{left:-8px;margin-top:-10px}.fragment{border-width:1px;margin:8px 0 0;padding-bottom:10px}.sequence-diagram *{box-sizing:inherit}.sequence-diagram{line-height:normal}.participant{border-width:2px;padding:8px 4px;min-width:88px;max-width:250px;text-align:center;pointer-events:all}.no-fill svg.arrow polyline[data-v-ca07199a]{fill:none!important}.async>.message>.point>svg.arrow>polyline[data-v-ca07199a]{fill:none}.right-to-left.point[data-v-ca07199a]{left:0;right:auto}.right-to-left.point>svg>polyline.right[data-v-ca07199a]{display:none}.right-to-left.point>svg>polyline.left[data-v-ca07199a]{display:inline}.point>svg>polyline.left[data-v-ca07199a]{display:none}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--color-bg-base: #fff;--color-text-base: #000;--color-text-secondary: #333;--color-border-base: #000}.theme-default{--color-text-base: #222;--color-border-base: #666;--color-message-arrow: #000;--color-bg-occurrence: #dedede}.theme-mermaid{--color-bg-base: #fff;--color-text-base: #222;--color-border-base: #666;--color-bg-occurrence: #dedede}.theme-mermaid .footer{visibility:hidden}.theme-darcula{--color-bg-canvas: #ffffff;--color-bg-frame: #2b2b2b;--color-border-frame: #cccccc;--color-bg-title: #2b2b2b;--color-text-title: #f8f8f2;--color-bg-participant: #44475a;--color-text-participant: #f8f8f2;--color-border-participant: #cccccc;--color-text-message: #ffb86c;--color-message-arrow: #cccccc;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #44475a;--color-text-fragment: #8be9fd;--color-border-fragment: #cccccc;--color-bg-occurrence: #44475a;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #e2ba88}.theme-sky{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #cccccc;--color-bg-title: #deecfb;--color-text-title: #032c72;--color-bg-participant: #deecfb;--color-text-participant: #032c72;--color-border-participant: #032c72;--color-text-message: #032c72;--color-message-arrow: #032c72;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #032c72;--color-border-fragment: #032c72;--color-bg-occurrence: #deecfb;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #a6d2ff}.theme-idle-afternoon{--color-bg-canvas: #d8dad9;--color-bg-frame: #d8dad9;--color-border-frame: #324939;--color-bg-title: #d8dad9;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #182e27;--color-border-participant: #182e27;--color-text-message: #030809;--color-message-arrow: #324939;--color-bg-message-hover: #aea690;--color-text-message-hover: #000000;--color-text-comment: #030809;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #182e27;--color-border-fragment: #344337;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles{--color-bg-canvas: #ffffff;--color-bg-frame: #ffde00;--color-border-frame: #ee141f;--color-bg-title: #ffffff;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #000000;--color-message-arrow: #000000;--color-bg-message-hover: #ee141f;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #ee141f;--color-text-fragment: #ffffff;--color-border-fragment: #ee141f;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles .footer{background-color:#fff}.theme-woolworths{--color-bg-canvas: #e6eaf3;--color-bg-frame: #e6eaf3;--color-border-frame: #049e50;--color-bg-title: #ffffff;--color-text-title: #12522f;--color-bg-participant: #aacb51;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #12522f;--color-message-arrow: #049e50;--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #aacb51;--color-text-fragment: #12522f;--color-border-fragment: #049e50;--color-bg-occurrence: #aacb51;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #335c80}.theme-anz{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #089fd8;--color-bg-title: #ffffff;--color-text-title: #006e9c;--color-bg-participant: #fcfdf8;--color-text-participant: #00abd8;--color-border-participant: #00abd8;--color-text-message: #42a4e0;--color-message-arrow: #089fd8;--color-bg-message-hover: #006e9c;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #42a4e0;--color-text-fragment: #006e9c;--color-border-fragment: #089fd8;--color-bg-occurrence: #fcfdf8;--color-border-occurrence: #006e9c;--color-text-link: #c9d8e7;--color-text-control: #335c80}.theme-anz .fragment .header{color:#fff}.theme-nab{--color-bg-canvas: #f2f4f6;--color-bg-participant: #c30000;--color-text-participant: #ffffff;--color-border-participant: #c30000;--color-text-message: #c30000;--color-bg-fragment-header: #c30000;--color-text-fragment-header: #ffffff}.theme-google{--color-white: #ffffff;--color-red-google: #db4437;--color-blue-google: #4285f4;--color-green-google: #0f9d58;--color-yellow-google: #f4b400;--color-bg-canvas: var(--color-white);--color-bg-frame: #f2f4f6;--color-border-frame: #4285f4;--color-bg-title: #4285f4;--color-text-title: #ffffff;--color-bg-participant: var(--color-red-google);--color-text-participant: #ffffff;--color-border-participant: #4285f4;--color-text-message: var(--color-red-google);--color-message-arrow: var(--color-red-google);--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: var(--color-green-google);--color-text-fragment: #ffffff;--color-border-fragment: #4285f4;--color-bg-occurrence: #f4b400;--color-border-occurrence: #4285f4;--color-text-link: #c9d8e7;--color-text-control: #335c80}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.zenuml .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.zenuml .pointer-events-none{pointer-events:none}.zenuml .pointer-events-auto{pointer-events:auto}.zenuml .invisible{visibility:hidden}.zenuml .fixed{position:fixed}.zenuml .absolute{position:absolute}.zenuml .relative{position:relative}.zenuml .sticky{position:sticky}.zenuml .inset-0{top:0px;right:0px;bottom:0px;left:0px}.zenuml .bottom-1{bottom:.25rem}.zenuml .left-1{left:.25rem}.zenuml .right-1{right:.25rem}.zenuml .top-0{top:0px}.zenuml .top-8{top:2rem}.zenuml .left-1\\/2{left:50%}.zenuml .right-0{right:0px}.zenuml .left-full{left:100%}.zenuml .z-40{z-index:40}.zenuml .z-10{z-index:10}.zenuml .col-span-2{grid-column:span 2 / span 2}.zenuml .col-span-1{grid-column:span 1 / span 1}.zenuml .col-span-4{grid-column:span 4 / span 4}.zenuml .float-right{float:right}.zenuml .m-1{margin:.25rem}.zenuml .m-2{margin:.5rem}.zenuml .m-auto{margin:auto}.zenuml .mx-auto{margin-left:auto;margin-right:auto}.zenuml .mx-2{margin-left:.5rem;margin-right:.5rem}.zenuml .-my-px{margin-top:-1px;margin-bottom:-1px}.zenuml .ml-4{margin-left:1rem}.zenuml .mt-3{margin-top:.75rem}.zenuml .mt-4{margin-top:1rem}.zenuml .mb-4{margin-bottom:1rem}.zenuml .mt-8{margin-top:2rem}.zenuml .-mt-12{margin-top:-3rem}.zenuml .mt-1{margin-top:.25rem}.zenuml .mb-0{margin-bottom:0}.zenuml .mt-2{margin-top:.5rem}.zenuml .box-border{box-sizing:border-box}.zenuml .block{display:block}.zenuml .inline-block{display:inline-block}.zenuml .inline{display:inline}.zenuml .flex{display:flex}.zenuml .inline-flex{display:inline-flex}.zenuml .table{display:table}.zenuml .grid{display:grid}.zenuml .contents{display:contents}.zenuml .hidden{display:none}.zenuml .h-10{height:2.5rem}.zenuml .h-5{height:1.25rem}.zenuml .h-0{height:0px}.zenuml .h-screen{height:100vh}.zenuml .h-full{height:100%}.zenuml .h-4{height:1rem}.zenuml .h-6{height:1.5rem}.zenuml .h-12{height:3rem}.zenuml .h-8{height:2rem}.zenuml .h-14{height:3.5rem}.zenuml .h-3{height:.75rem}.zenuml .min-h-screen{min-height:100vh}.zenuml .w-full{width:100%}.zenuml .w-96{width:24rem}.zenuml .w-28{width:7rem}.zenuml .w-4{width:1rem}.zenuml .w-6{width:1.5rem}.zenuml .w-8{width:2rem}.zenuml .w-11\\/12{width:91.666667%}.zenuml .w-px{width:1px}.zenuml .w-3{width:.75rem}.zenuml .min-w-\\[100px\\]{min-width:100px}.zenuml .max-w-full{max-width:100%}.zenuml .max-w-7xl{max-width:80rem}.zenuml .flex-shrink-0,.zenuml .shrink-0{flex-shrink:0}.zenuml .flex-grow,.zenuml .grow{flex-grow:1}.zenuml .origin-top-left{transform-origin:top left}.zenuml .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-8{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .cursor-pointer{cursor:pointer}.zenuml .resize{resize:both}.zenuml .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.zenuml .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.zenuml .flex-row-reverse{flex-direction:row-reverse}.zenuml .flex-col{flex-direction:column}.zenuml .flex-nowrap{flex-wrap:nowrap}.zenuml .items-start{align-items:flex-start}.zenuml .items-end{align-items:flex-end}.zenuml .items-center{align-items:center}.zenuml .justify-center{justify-content:center}.zenuml .justify-between{justify-content:space-between}.zenuml .justify-around{justify-content:space-around}.zenuml .gap-5{gap:1.25rem}.zenuml .overflow-hidden{overflow:hidden}.zenuml .overflow-visible{overflow:visible}.zenuml .overflow-y-auto{overflow-y:auto}.zenuml .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zenuml .whitespace-normal{white-space:normal}.zenuml .whitespace-nowrap{white-space:nowrap}.zenuml .rounded{border-radius:.25rem}.zenuml .rounded-sm{border-radius:.125rem}.zenuml .rounded-md{border-radius:.375rem}.zenuml .rounded-lg{border-radius:.5rem}.zenuml .rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.zenuml .rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.zenuml .rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.zenuml .border-2{border-width:2px}.zenuml .border{border-width:1px}.zenuml .border-b-2{border-bottom-width:2px}.zenuml .border-b{border-bottom-width:1px}.zenuml .border-t{border-top-width:1px}.zenuml .border-r{border-right-width:1px}.zenuml .border-solid{border-style:solid}.zenuml .border-dashed{border-style:dashed}.zenuml .border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.zenuml .border-skin-frame{border-color:var(--color-border-frame, var(--color-border-base, #000))}.zenuml .border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.zenuml .border-skin-participant{border-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-fragment{border-color:var(--color-border-fragment, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-message-arrow{border-color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-occurrence{border-color:var(--color-border-occurrence, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.zenuml .bg-skin-canvas{background-color:var(--color-bg-canvas, var(--color-bg-base, #fff))}.zenuml .bg-skin-frame{background-color:var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))}.zenuml .bg-skin-title{background-color:var(--color-bg-title, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-skin-base{background-color:var(--color-bg-base)}.zenuml .bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.zenuml .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.zenuml .bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.zenuml .bg-skin-lifeline{background-color:var(--color-border-participant, var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000))))}.zenuml .bg-skin-participant{background-color:var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.zenuml .bg-skin-divider{background-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-skin-fragment-header{background-color:var(--color-bg-fragment-header, transparent)}.zenuml .bg-skin-occurrence{background-color:var(--color-bg-occurrence, var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))))}.zenuml .bg-opacity-75{--tw-bg-opacity: .75}.zenuml .fill-current{fill:currentColor}.zenuml .fill-none{fill:none}.zenuml .stroke-current{stroke:currentColor}.zenuml .stroke-2{stroke-width:2}.zenuml .object-contain{object-fit:contain}.zenuml .p-1{padding:.25rem}.zenuml .p-2{padding:.5rem}.zenuml .p-0{padding:0}.zenuml .px-1{padding-left:.25rem;padding-right:.25rem}.zenuml .px-3{padding-left:.75rem;padding-right:.75rem}.zenuml .py-1{padding-top:.25rem;padding-bottom:.25rem}.zenuml .px-2{padding-left:.5rem;padding-right:.5rem}.zenuml .py-2{padding-top:.5rem;padding-bottom:.5rem}.zenuml .px-4{padding-left:1rem;padding-right:1rem}.zenuml .py-5{padding-top:1.25rem;padding-bottom:1.25rem}.zenuml .px-px{padding-left:1px;padding-right:1px}.zenuml .pb-8{padding-bottom:2rem}.zenuml .pt-8{padding-top:2rem}.zenuml .pt-4{padding-top:1rem}.zenuml .pb-20{padding-bottom:5rem}.zenuml .pb-4{padding-bottom:1rem}.zenuml .pb-32{padding-bottom:8rem}.zenuml .pb-2{padding-bottom:.5rem}.zenuml .pr-24{padding-right:6rem}.zenuml .pt-24{padding-top:6rem}.zenuml .pb-10{padding-bottom:2.5rem}.zenuml .text-left{text-align:left}.zenuml .text-center{text-align:center}.zenuml .align-bottom{vertical-align:bottom}.zenuml .text-xs{font-size:.75rem;line-height:1rem}.zenuml .text-sm{font-size:.875rem;line-height:1.25rem}.zenuml .text-base{font-size:1rem;line-height:1.5rem}.zenuml .text-xl{font-size:1.25rem;line-height:1.75rem}.zenuml .text-lg{font-size:1.125rem;line-height:1.75rem}.zenuml .font-bold{font-weight:700}.zenuml .font-semibold{font-weight:600}.zenuml .font-medium{font-weight:500}.zenuml .italic{font-style:italic}.zenuml .leading-6{line-height:1.5rem}.zenuml .leading-4{line-height:1rem}.zenuml .text-skin-title{color:var(--color-text-title, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-control{color:var(--color-text-control, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-link{color:var(--color-text-link, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.zenuml .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.zenuml .text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.zenuml .text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.zenuml .text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .text-skin-participant{color:var(--color-text-participant, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-base{color:var(--color-text-base)}.zenuml .text-skin-message{color:var(--color-text-message, var(--color-text-base, #000))}.zenuml .text-skin-comment{color:var(--color-text-comment, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-fragment-header{color:var(--color-text-fragment-header, var(--color-text-message, #000))}.zenuml .text-skin-fragment{color:var(--color-text-fragment, var(--color-text-message, #000))}.zenuml .text-skin-message-arrow{color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .opacity-50{opacity:.5}.zenuml .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-slate-500\\/50{--tw-shadow-color: rgb(100 116 139 / .5);--tw-shadow: var(--tw-shadow-colored)}.zenuml .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .hover\\:whitespace-normal:hover{white-space:normal}.zenuml .hover\\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-skin-message-hover:hover{background-color:var(--color-bg-message-hover, var(--color-text-base, #000))}.zenuml .hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .hover\\:text-skin-message-hover:hover{color:var(--color-text-message-hover, var(--color-bg-base, #fff))}.zenuml .hover\\:opacity-100:hover{opacity:1}.zenuml .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.zenuml .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.zenuml .focus\\:ring-inset:focus{--tw-ring-inset: inset}.zenuml .focus\\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.zenuml .group:hover .group-hover\\:flex{display:flex}@media (min-width: 640px){.zenuml .sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.zenuml .sm\\:block{display:block}.zenuml .sm\\:inline-block{display:inline-block}.zenuml .sm\\:h-screen{height:100vh}.zenuml .sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.zenuml .sm\\:gap-6{gap:1.5rem}.zenuml .sm\\:p-2{padding:.5rem}.zenuml .sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.zenuml .sm\\:align-middle{vertical-align:middle}}@media (min-width: 1024px){.zenuml .lg\\:mx-auto{margin-left:auto;margin-right:auto}.zenuml .lg\\:mx-0{margin-left:0;margin-right:0}.zenuml .lg\\:max-w-none{max-width:none}.zenuml .lg\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.zenuml .lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.zenuml .lg\\:px-8{padding-left:2rem;padding-right:2rem}}.zenuml .\\[\\&\\>svg\\]\\:h-full>svg{height:100%}.zenuml .\\[\\&\\>svg\\]\\:w-full>svg{width:100%}.zenuml{font-family:Helvetica,Verdana,serif;font-size:16px}.zenuml .frame .sequence-diagram .comments code{background-color:#f9f2f4;padding:2px;margin:1px 0;border-radius:2px}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-post{color:#0d4b3b}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-get{color:#2f3d89}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-delete{color:#7e1e23}.zenuml .frame .sequence-diagram .comments ol,.zenuml .frame .sequence-diagram .comments ul{margin:0;padding-left:20px}.zenuml .frame .sequence-diagram .comments ul li{list-style-type:none}.zenuml .frame .sequence-diagram .comments ul li input[type=checkbox]{margin-left:-1em}.zenuml .frame .sequence-diagram .comments table{border-collapse:collapse;border-spacing:0;empty-cells:show;border-color:#cbcbcb}.zenuml .frame .sequence-diagram .comments table td,.zenuml .frame .sequence-diagram .comments table th{padding:.5em}.zenuml .frame .sequence-diagram .comments table thead{background-color:#e0e0e0}.zenuml .frame .sequence-diagram .comments table td{background-color:transparent}.theme-blue .sequence-diagram .divider .name{border-radius:4px;border:1px solid #e28553;color:#e28553}.theme-blue .sequence-diagram .divider .left,.theme-blue .sequence-diagram .divider .right{background:#e28553}.theme-blue .sequence-diagram .lifeline .participant{border-color:#032c72;background:rgba(146,192,240,.3)}.theme-blue .sequence-diagram .lifeline .participant label{color:#032c72}.theme-blue .sequence-diagram .lifeline .line{border-left-color:#032c72}.theme-blue .sequence-diagram .message{border-bottom-color:#032c72}.theme-blue .sequence-diagram .message .name{color:#032c72}.theme-blue .sequence-diagram .message svg polyline{stroke:#032c72}.theme-blue .sequence-diagram .message svg polyline.head{fill:#032c72}.theme-blue .sequence-diagram .occurrence{border-color:#032c72;background-color:#fff}.theme-blue .sequence-diagram .fragment{border-radius:4px;border-color:#042e6e4d}.theme-blue .sequence-diagram .fragment .header .name{background:rgba(4,46,110,.1)}.theme-blue .sequence-diagram .fragment .header label{color:#032c72}.theme-black-white .sequence-diagram .divider .name{border-radius:0;border-color:#000;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .divider .left,.theme-black-white .sequence-diagram .divider .right{background:#000}.theme-black-white .sequence-diagram .lifeline .participant{border-color:#000;background:#fff;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .lifeline .line{border-left-color:#0006}.theme-black-white .sequence-diagram .message{border-bottom-color:#000}.theme-black-white .sequence-diagram .message .name{color:#000}.theme-black-white .sequence-diagram .message svg polyline{stroke:#000}.theme-black-white .sequence-diagram .message svg polyline.head{fill:#000}.theme-black-white .sequence-diagram .occurrence{border-color:#000;background-color:#f5f5f5}.theme-black-white .sequence-diagram .fragment{border-color:#0000004d}.theme-black-white .sequence-diagram .fragment .header .name{background:rgba(0,0,0,.07)}.theme-star-uml .sequence-diagram .lifeline .participant{border-color:#b94065;background-color:#fffec8}.theme-star-uml .sequence-diagram .lifeline .line{border-left-color:#b94065}.theme-star-uml .sequence-diagram .message{border-bottom-color:#b94065}.theme-star-uml .sequence-diagram .message svg polyline{stroke:#b94065}.theme-star-uml .sequence-diagram .message svg polyline.head{fill:#b94065}.theme-star-uml .sequence-diagram .occurrence{background-color:#fffec8;border-color:#b94065}.blue-river .sequence-diagram{color:#5452f6}.blue-river .sequence-diagram .life-line-layer .lifeline.actor .participant:before{filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)}.blue-river .sequence-diagram .life-line-layer .participant{background:#2097f7;box-shadow:4px 4px #83c4f8;border-radius:9px;color:#fff}.blue-river .sequence-diagram .life-line-layer .participant .interface{font-size:.8em}.blue-river .sequence-diagram .life-line-layer .line{border-left-color:#2097f7}.blue-river .sequence-diagram .message-layer .message{border-bottom-color:#2097f7}.blue-river .sequence-diagram .message-layer .message svg.arrow polyline{stroke:#2097f7;fill:#2097f7}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline{fill:none}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline.head{fill:#2097f7}.blue-river .sequence-diagram .message-layer .occurrence{background:#e5fde8;border-color:#65bf73;box-shadow:4px 4px #93c69b}.blue-river .sequence-diagram .message-layer .fragment{border-color:#2097f7}.blue-river .sequence-diagram .message-layer .fragment .header .name label{display:inline-block;min-width:50px;background:#5452f6;color:#fff;padding:2px 0 2px 10px}.blue-river .sequence-diagram .message-layer .fragment .header .name:after{content:"SO";display:inline-block;background:#5452f6;margin-left:-23px;width:34px;transform:translateY(-2px);height:22px;-webkit-clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%);clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%)}.blue-river .sequence-diagram .message-layer .fragment .header>label{display:inline-block;min-width:50px;font-weight:700;color:#fff;background:#65bf73}.blue-river .sequence-diagram .message-layer .fragment .comments{border-color:inherit}.blue-river .sequence-diagram .message-layer .fragment .divider{border-bottom-color:inherit}:root{--background: #282a36;--hover: #2b2b2b;--occurance-border: #6e7191;--border: #585b74;--white: #f8f8f2;--current: #44475a;--comment: #6272a4;--cyan: #8be9fd;--green: #50fa7b;--orange: #ffb86c;--pink: #ff79c6;--purple: #bd93f9;--red: #ff5555;--yellow: #f1fa8c;--crayola: #a9b7c6}body .zenuml.theme-dark{background-color:var(--background)}.zenuml.theme-dark .header{color:var(--crayola);font-weight:700}.zenuml.theme-dark .sequence-diagram .lifeline-group:hover{background-color:#223049}.zenuml.theme-dark .sequence-diagram .lifeline .participant{border-color:var(--border);border-radius:2px;background:var(--background)}.zenuml.theme-dark .sequence-diagram .lifeline .participant label{color:var(--cyan)}.zenuml.theme-dark .sequence-diagram .lifeline .line{background:var(--border)}.zenuml.theme-dark .fragment>.header>.condition{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header label{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header .name{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .fragment .header .name label{color:var(--pink);font-weight:400}.zenuml.theme-dark .sequence-diagram .fragment{border-color:var(--border)}.zenuml.theme-dark .sequence-diagram .comments{border:none;background:transparent;color:var(--comment)}.zenuml.theme-dark .sequence-diagram .fragment .segment:not(:first-child){border-top-color:var(--border)}.zenuml.theme-dark .sequence-diagram .interaction{color:var(--orange)}.zenuml.theme-dark .sequence-diagram .message{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .message .name:hover{color:var(--crayola)}.zenuml.theme-dark .sequence-diagram .message svg polyline{fill:var(--border);stroke:var(--border)}.zenuml.theme-dark .sequence-diagram .message.self svg>polyline:not(.head){fill:none}.zenuml.theme-dark .sequence-diagram .occurrence{background-color:var(--current);box-shadow:0 0 0 1px var(--occurance-border);border-radius:2px}.zenuml.theme-dark .sequence-diagram .divider .left,.zenuml.theme-dark .sequence-diagram .divider .right{background:var(--border)}.zenuml.theme-dark .sequence-diagram .divider .name{color:var(--comment)}.zenuml.theme-dark .interaction .message>.name:hover{background-color:#228b22;color:#fff}p[data-v-15224042]{margin:0;line-height:1.25em}.occurrence[data-v-054f42d1]{width:15px;padding:16px 0 16px 5px}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type{margin-bottom:0;border-bottom:0;transform:translateY(1px)}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type>.message{bottom:-17px;height:0}.right-to-left.occurrence[data-v-054f42d1]{left:-14px}.occurrence{margin-top:-2px}.interaction .occurrence.source[data-v-05daaa2d]{position:absolute;height:calc(100% + 14px);left:-12px;display:none}.interaction .occurrence.source.right-to-left[data-v-05daaa2d]{left:unset;right:-13px}.message.self[data-v-25f755f6]{transform:translate(-5px)}.interaction .invisible-occurrence[data-v-eb21ece9]{height:20px}.interaction.async[data-v-eb21ece9] .message{width:100%}.collapsible-header[data-v-b41acdfc]{display:flex;width:100%;justify-content:space-between}.collapse-button[data-v-b41acdfc]{display:none}.fragment:hover .collapsible-header .collapse-button.expanded[data-v-b41acdfc]{display:inline-block!important}*[data-v-125017f4],*[data-v-4545e2e3]{border-color:inherit}.fragment.par>.block>.statement-container:not(:first-child){border-top-color:inherit;border-top-width:1px;border-top-style:solid}*[data-v-771edb8e],*[data-v-06cc8e56],*[data-v-1ae75b06]{border-color:inherit}.divider[data-v-9e567e69]{display:flex;align-items:center}.name[data-v-9e567e69]{margin:0;padding:2px 6px}.left[data-v-9e567e69],.right[data-v-9e567e69]{height:1px;flex-grow:1}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
(function(ke,ce){typeof exports=="object"&&typeof module<"u"?ce(exports):typeof define=="function"&&define.amd?define(["exports"],ce):(ke=typeof globalThis<"u"?globalThis:ke||self,ce(ke.zenuml={}))})(this,function(ke){"use strict";var zv=Object.defineProperty;var Wv=(ke,ce,Jn)=>ce in ke?zv(ke,ce,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):ke[ce]=Jn;var Z=(ke,ce,Jn)=>(Wv(ke,typeof ce!="symbol"?ce+"":ce,Jn),Jn);var ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jn(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var Dd=Bd;function Bd(n,t,e){var s=e&&e.stringify||Jn,r=1;if(typeof n=="object"&&n!==null){var i=t.length+r;if(i===1)return n;var o=new Array(i);o[0]=s(n);for(var a=1;a<i;a++)o[a]=s(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-r,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var E=typeof t[u];if(E==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(E==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=s(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const Sc=Dd;var $d=tn;const pr=Kd().console||{},Ud={mapHttpRequest:_i,mapHttpResponse:_i,wrapRequestSerializer:a1,wrapResponseSerializer:a1,wrapErrorSerializer:a1,req:_i,res:_i,err:zd};function Hd(n,t){return Array.isArray(n)?n.filter(function(s){return s!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function tn(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||pr;n.browser.write&&(n.browser.asObject=!0);const s=n.serializers||{},r=Hd(n.browser.serialize,s);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=gr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:r,asObject:n.browser.asObject,levels:o,timestamp:Wd(n)};l.levels=tn.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=gr,l.serializers=s,l._serialize=r,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=o1());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(E){if(E!=="silent"&&!this.levels.values[E])throw Error("unknown level "+E);this._level=E,Rs(c,l,"error","log"),Rs(c,l,"fatal","error"),Rs(c,l,"warn","error"),Rs(c,l,"info","log"),Rs(c,l,"debug","log"),Rs(c,l,"trace","log")}function p(E,v){if(!E)throw new Error("missing bindings for child Pino");v=v||{},r&&E.serializers&&(v.serializers=E.serializers);const W=v.serializers;if(r&&W){var y=Object.assign({},s,W),m=n.browser.serialize===!0?Object.keys(y):r;delete E.serializers,Li([E],m,y,this._stdErrSerialize)}function C(T){this._childLevel=(T._childLevel|0)+1,this.error=ks(T,E,"error"),this.fatal=ks(T,E,"fatal"),this.warn=ks(T,E,"warn"),this.info=ks(T,E,"info"),this.debug=ks(T,E,"debug"),this.trace=ks(T,E,"trace"),y&&(this.serializers=y,this._serialize=m),t&&(this._logEvent=o1([].concat(T._logEvent.bindings,E)))}return C.prototype=this,new C(this)}return l}tn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},tn.stdSerializers=Ud,tn.stdTimeFunctions=Object.assign({},{nullTime:Rc,epochTime:kc,unixTime:Zd,isoTime:qd});function Rs(n,t,e,s){const r=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?gr:r[e]?r[e]:pr[e]||pr[s]||gr,Vd(n,t,e)}function Vd(n,t,e){!n.transmit&&t[e]===gr||(t[e]=function(s){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===pr?pr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Li(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?s.call(a,Gd(this,e,o,i)):s.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=tn.levels.values[c],f=tn.levels.values[e];if(f<u)return;jd(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:tn.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function Gd(n,t,e,s){n._serialize&&Li(e,n._serialize,n.serializers,n._stdErrSerialize);const r=e.slice();let i=r[0];const o={};s&&(o.time=s),o.level=tn.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof r[0]=="object";)Object.assign(o,r.shift());i=r.length?Sc(r.shift(),r):void 0}else typeof i=="string"&&(i=Sc(r.shift(),r));return i!==void 0&&(o.msg=i),o}function Li(n,t,e,s){for(const r in n)if(s&&n[r]instanceof Error)n[r]=tn.stdSerializers.err(n[r]);else if(typeof n[r]=="object"&&!Array.isArray(n[r]))for(const i in n[r])t&&t.indexOf(i)>-1&&i in e&&(n[r][i]=e[i](n[r][i]))}function ks(n,t,e){return function(){const s=new Array(1+arguments.length);s[0]=t;for(var r=1;r<s.length;r++)s[r]=arguments[r-1];return n[e].apply(this,s)}}function jd(n,t,e){const s=t.send,r=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Li(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=r,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,s(i,n._logEvent,a),n._logEvent=o1(l)}function o1(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function zd(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function Wd(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?Rc:kc}function _i(){return{}}function a1(n){return n}function gr(){}function Rc(){return!1}function kc(){return Date.now()}function Zd(){return Math.round(Date.now()/1e3)}function qd(){return new Date(Date.now()).toISOString()}function Kd(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const Yd=$d({level:"warn"}),Ic=["log","trace","debug","info","warn","error"];function Xd(n,t){n[t]=(console[t]||console.log).bind(console)}function Qd(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function Jd(n){Ic.forEach(e=>Xd(n,e));const t=n.child;return n.child=function(e){const s=t.call(n,e);return Ic.forEach(r=>Qd(s,r,["%c"+e.name||"","color: #00f"])),s},n}let mr=Jd(Yd);function Is(n,t){const e=Object.create(null),s=n.split(",");for(let r=0;r<s.length;r++)e[s[r]]=!0;return t?r=>!!e[r.toLowerCase()]:r=>!!e[r]}const t3=Is("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function _t(n){if(V(n)){const t={};for(let e=0;e<n.length;e++){const s=n[e],r=Ut(s)?r3(s):_t(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Ut(n))return n;if(Lt(n))return n}}const e3=/;(?![^(]*\))/g,n3=/:([^]+)/,s3=/\/\*.*?\*\//gs;function r3(n){const t={};return n.replace(s3,"").split(e3).forEach(e=>{if(e){const s=e.split(n3);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ft(n){let t="";if(Ut(n))t=n;else if(V(n))for(let e=0;e<n.length;e++){const s=Ft(n[e]);s&&(t+=s+" ")}else if(Lt(n))for(const e in n)n[e]&&(t+=e+" ");return t.trim()}function i3(n){if(!n)return null;let{class:t,style:e}=n;return t&&!Ut(t)&&(n.class=Ft(t)),e&&(n.style=_t(e)),n}const Oc=Is("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Nc(n){return!!n||n===""}function o3(n,t){if(n.length!==t.length)return!1;let e=!0;for(let s=0;e&&s<n.length;s++)e=Ln(n[s],t[s]);return e}function Ln(n,t){if(n===t)return!0;let e=Mc(n),s=Mc(t);if(e||s)return e&&s?n.getTime()===t.getTime():!1;if(e=Lr(n),s=Lr(t),e||s)return n===t;if(e=V(n),s=V(t),e||s)return e&&s?o3(n,t):!1;if(e=Lt(n),s=Lt(t),e||s){if(!e||!s)return!1;const r=Object.keys(n).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in n){const a=n.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Ln(n[o],t[o]))return!1}}return String(n)===String(t)}function xr(n,t){return n.findIndex(e=>Ln(e,t))}const Yt=n=>Ut(n)?n:n==null?"":V(n)||Lt(n)&&(n.toString===Fc||!lt(n.toString))?JSON.stringify(n,Pc,2):String(n),Pc=(n,t)=>t&&t.__v_isRef?Pc(n,t.value):Ns(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r])=>(e[`${s} =>`]=r,e),{})}:ts(t)?{[`Set(${t.size})`]:[...t.values()]}:Lt(t)&&!V(t)&&!Ci(t)?String(t):t,Dt={},Os=[],_e=()=>{},a3=()=>!1,l3=/^on[^a-z]/,_n=n=>l3.test(n),l1=n=>n.startsWith("onUpdate:"),yt=Object.assign,c1=(n,t)=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)},c3=Object.prototype.hasOwnProperty,Tt=(n,t)=>c3.call(n,t),V=Array.isArray,Ns=n=>_r(n)==="[object Map]",ts=n=>_r(n)==="[object Set]",Mc=n=>_r(n)==="[object Date]",lt=n=>typeof n=="function",Ut=n=>typeof n=="string",Lr=n=>typeof n=="symbol",Lt=n=>n!==null&&typeof n=="object",yi=n=>Lt(n)&<(n.then)&<(n.catch),Fc=Object.prototype.toString,_r=n=>Fc.call(n),u3=n=>_r(n).slice(8,-1),Ci=n=>_r(n)==="[object Object]",u1=n=>Ut(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Ps=Is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ei=n=>{const t=Object.create(null);return e=>t[e]||(t[e]=n(e))},h3=/-(\w)/g,de=Ei(n=>n.replace(h3,(t,e)=>e?e.toUpperCase():"")),f3=/\B([A-Z])/g,pe=Ei(n=>n.replace(f3,"-$1").toLowerCase()),yr=Ei(n=>n.charAt(0).toUpperCase()+n.slice(1)),Ms=Ei(n=>n?`on${yr(n)}`:""),Fs=(n,t)=>!Object.is(n,t),Mn=(n,t)=>{for(let e=0;e<n.length;e++)n[e](t)},bi=(n,t,e)=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:e})},en=n=>{const t=parseFloat(n);return isNaN(t)?n:t};let Dc;const d3=()=>Dc||(Dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ie;class h1{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}run(t){if(this.active){const e=Ie;try{return Ie=this,t()}finally{Ie=e}}}on(){Ie=this}off(){Ie=this.parent}stop(t){if(this.active){let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function Bc(n){return new h1(n)}function $c(n,t=Ie){t&&t.active&&t.effects.push(n)}function p3(){return Ie}function g3(n){Ie&&Ie.cleanups.push(n)}const f1=n=>{const t=new Set(n);return t.w=0,t.n=0,t},Uc=n=>(n.w&Fn)>0,Hc=n=>(n.n&Fn)>0,m3=({deps:n})=>{if(n.length)for(let t=0;t<n.length;t++)n[t].w|=Fn},x3=n=>{const{deps:t}=n;if(t.length){let e=0;for(let s=0;s<t.length;s++){const r=t[s];Uc(r)&&!Hc(r)?r.delete(n):t[e++]=r,r.w&=~Fn,r.n&=~Fn}t.length=e}},d1=new WeakMap;let Cr=0,Fn=1;const p1=30;let Ke;const es=Symbol(""),g1=Symbol("");class Er{constructor(t,e=null,s){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,$c(this,s)}run(){if(!this.active)return this.fn();let t=Ke,e=Dn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ke,Ke=this,Dn=!0,Fn=1<<++Cr,Cr<=p1?m3(this):Vc(this),this.fn()}finally{Cr<=p1&&x3(this),Fn=1<<--Cr,Ke=this.parent,Dn=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ke===this?this.deferStop=!0:this.active&&(Vc(this),this.onStop&&this.onStop(),this.active=!1)}}function Vc(n){const{deps:t}=n;if(t.length){for(let e=0;e<t.length;e++)t[e].delete(n);t.length=0}}function L3(n,t){n.effect&&(n=n.effect.fn);const e=new Er(n);t&&(yt(e,t),t.scope&&$c(e,t.scope)),(!t||!t.lazy)&&e.run();const s=e.run.bind(e);return s.effect=e,s}function _3(n){n.effect.stop()}let Dn=!0;const Gc=[];function Ds(){Gc.push(Dn),Dn=!1}function Bs(){const n=Gc.pop();Dn=n===void 0?!0:n}function ye(n,t,e){if(Dn&&Ke){let s=d1.get(n);s||d1.set(n,s=new Map);let r=s.get(e);r||s.set(e,r=f1()),jc(r)}}function jc(n,t){let e=!1;Cr<=p1?Hc(n)||(n.n|=Fn,e=!Uc(n)):e=!n.has(Ke),e&&(n.add(Ke),Ke.deps.push(n))}function nn(n,t,e,s,r,i){const o=d1.get(n);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(e==="length"&&V(n)){const l=en(s);o.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(e!==void 0&&a.push(o.get(e)),t){case"add":V(n)?u1(e)&&a.push(o.get("length")):(a.push(o.get(es)),Ns(n)&&a.push(o.get(g1)));break;case"delete":V(n)||(a.push(o.get(es)),Ns(n)&&a.push(o.get(g1)));break;case"set":Ns(n)&&a.push(o.get(es));break}if(a.length===1)a[0]&&m1(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);m1(f1(l))}}function m1(n,t){const e=V(n)?n:[...n];for(const s of e)s.computed&&zc(s);for(const s of e)s.computed||zc(s)}function zc(n,t){(n!==Ke||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const y3=Is("__proto__,__v_isRef,__isVue"),Wc=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Lr)),C3=Ti(),E3=Ti(!1,!0),b3=Ti(!0),T3=Ti(!0,!0),Zc=w3();function w3(){const n={};return["includes","indexOf","lastIndexOf"].forEach(t=>{n[t]=function(...e){const s=vt(this);for(let i=0,o=this.length;i<o;i++)ye(s,"get",i+"");const r=s[t](...e);return r===-1||r===!1?s[t](...e.map(vt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{n[t]=function(...e){Ds();const s=vt(this)[t].apply(this,e);return Bs(),s}}),n}function Ti(n=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(n?t?r0:s0:t?n0:e0).get(s))return s;const o=V(s);if(!n&&o&&Tt(Zc,r))return Reflect.get(Zc,r,i);const a=Reflect.get(s,r,i);return(Lr(r)?Wc.has(r):y3(r))||(n||ye(s,"get",r),t)?a:ee(a)?o&&u1(r)?a:a.value:Lt(a)?n?L1(a):yn(a):a}}const v3=qc(),A3=qc(!0);function qc(n=!1){return function(e,s,r,i){let o=e[s];if(ns(o)&&ee(o)&&!ee(r))return!1;if(!n&&(!br(r)&&!ns(r)&&(o=vt(o),r=vt(r)),!V(e)&&ee(o)&&!ee(r)))return o.value=r,!0;const a=V(e)&&u1(s)?Number(s)<e.length:Tt(e,s),l=Reflect.set(e,s,r,i);return e===vt(i)&&(a?Fs(r,o)&&nn(e,"set",s,r):nn(e,"add",s,r)),l}}function S3(n,t){const e=Tt(n,t);n[t];const s=Reflect.deleteProperty(n,t);return s&&e&&nn(n,"delete",t,void 0),s}function R3(n,t){const e=Reflect.has(n,t);return(!Lr(t)||!Wc.has(t))&&ye(n,"has",t),e}function k3(n){return ye(n,"iterate",V(n)?"length":es),Reflect.ownKeys(n)}const Kc={get:C3,set:v3,deleteProperty:S3,has:R3,ownKeys:k3},Yc={get:b3,set(n,t){return!0},deleteProperty(n,t){return!0}},I3=yt({},Kc,{get:E3,set:A3}),O3=yt({},Yc,{get:T3}),x1=n=>n,wi=n=>Reflect.getPrototypeOf(n);function vi(n,t,e=!1,s=!1){n=n.__v_raw;const r=vt(n),i=vt(t);e||(t!==i&&ye(r,"get",t),ye(r,"get",i));const{has:o}=wi(r),a=s?x1:e?C1:Tr;if(o.call(r,t))return a(n.get(t));if(o.call(r,i))return a(n.get(i));n!==r&&n.get(t)}function Ai(n,t=!1){const e=this.__v_raw,s=vt(e),r=vt(n);return t||(n!==r&&ye(s,"has",n),ye(s,"has",r)),n===r?e.has(n):e.has(n)||e.has(r)}function Si(n,t=!1){return n=n.__v_raw,!t&&ye(vt(n),"iterate",es),Reflect.get(n,"size",n)}function Xc(n){n=vt(n);const t=vt(this);return wi(t).has.call(t,n)||(t.add(n),nn(t,"add",n,n)),this}function Qc(n,t){t=vt(t);const e=vt(this),{has:s,get:r}=wi(e);let i=s.call(e,n);i||(n=vt(n),i=s.call(e,n));const o=r.call(e,n);return e.set(n,t),i?Fs(t,o)&&nn(e,"set",n,t):nn(e,"add",n,t),this}function Jc(n){const t=vt(this),{has:e,get:s}=wi(t);let r=e.call(t,n);r||(n=vt(n),r=e.call(t,n)),s&&s.call(t,n);const i=t.delete(n);return r&&nn(t,"delete",n,void 0),i}function t0(){const n=vt(this),t=n.size!==0,e=n.clear();return t&&nn(n,"clear",void 0,void 0),e}function Ri(n,t){return function(s,r){const i=this,o=i.__v_raw,a=vt(o),l=t?x1:n?C1:Tr;return!n&&ye(a,"iterate",es),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function ki(n,t,e){return function(...s){const r=this.__v_raw,i=vt(r),o=Ns(i),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...s),u=e?x1:t?C1:Tr;return!t&&ye(i,"iterate",l?g1:es),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Bn(n){return function(...t){return n==="delete"?!1:this}}function N3(){const n={get(i){return vi(this,i)},get size(){return Si(this)},has:Ai,add:Xc,set:Qc,delete:Jc,clear:t0,forEach:Ri(!1,!1)},t={get(i){return vi(this,i,!1,!0)},get size(){return Si(this)},has:Ai,add:Xc,set:Qc,delete:Jc,clear:t0,forEach:Ri(!1,!0)},e={get(i){return vi(this,i,!0)},get size(){return Si(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bn("add"),set:Bn("set"),delete:Bn("delete"),clear:Bn("clear"),forEach:Ri(!0,!1)},s={get(i){return vi(this,i,!0,!0)},get size(){return Si(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bn("add"),set:Bn("set"),delete:Bn("delete"),clear:Bn("clear"),forEach:Ri(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ki(i,!1,!1),e[i]=ki(i,!0,!1),t[i]=ki(i,!1,!0),s[i]=ki(i,!0,!0)}),[n,e,t,s]}const[P3,M3,F3,D3]=N3();function Ii(n,t){const e=t?n?D3:F3:n?M3:P3;return(s,r,i)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?s:Reflect.get(Tt(e,r)&&r in s?e:s,r,i)}const B3={get:Ii(!1,!1)},$3={get:Ii(!1,!0)},U3={get:Ii(!0,!1)},H3={get:Ii(!0,!0)},e0=new WeakMap,n0=new WeakMap,s0=new WeakMap,r0=new WeakMap;function V3(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function G3(n){return n.__v_skip||!Object.isExtensible(n)?0:V3(u3(n))}function yn(n){return ns(n)?n:Oi(n,!1,Kc,B3,e0)}function i0(n){return Oi(n,!1,I3,$3,n0)}function L1(n){return Oi(n,!0,Yc,U3,s0)}function j3(n){return Oi(n,!0,O3,H3,r0)}function Oi(n,t,e,s,r){if(!Lt(n)||n.__v_raw&&!(t&&n.__v_isReactive))return n;const i=r.get(n);if(i)return i;const o=G3(n);if(o===0)return n;const a=new Proxy(n,o===2?s:e);return r.set(n,a),a}function Cn(n){return ns(n)?Cn(n.__v_raw):!!(n&&n.__v_isReactive)}function ns(n){return!!(n&&n.__v_isReadonly)}function br(n){return!!(n&&n.__v_isShallow)}function _1(n){return Cn(n)||ns(n)}function vt(n){const t=n&&n.__v_raw;return t?vt(t):n}function y1(n){return bi(n,"__v_skip",!0),n}const Tr=n=>Lt(n)?yn(n):n,C1=n=>Lt(n)?L1(n):n;function E1(n){Dn&&Ke&&(n=vt(n),jc(n.dep||(n.dep=f1())))}function Ni(n,t){n=vt(n),n.dep&&m1(n.dep)}function ee(n){return!!(n&&n.__v_isRef===!0)}function Pi(n){return o0(n,!1)}function z3(n){return o0(n,!0)}function o0(n,t){return ee(n)?n:new W3(n,t)}class W3{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:vt(t),this._value=e?t:Tr(t)}get value(){return E1(this),this._value}set value(t){const e=this.__v_isShallow||br(t)||ns(t);t=e?t:vt(t),Fs(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Tr(t),Ni(this))}}function Z3(n){Ni(n)}function a0(n){return ee(n)?n.value:n}const q3={get:(n,t,e)=>a0(Reflect.get(n,t,e)),set:(n,t,e,s)=>{const r=n[t];return ee(r)&&!ee(e)?(r.value=e,!0):Reflect.set(n,t,e,s)}};function b1(n){return Cn(n)?n:new Proxy(n,q3)}class K3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:s}=t(()=>E1(this),()=>Ni(this));this._get=e,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Y3(n){return new K3(n)}function X3(n){const t=V(n)?new Array(n.length):{};for(const e in n)t[e]=l0(n,e);return t}class Q3{constructor(t,e,s){this._object=t,this._key=e,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function l0(n,t,e){const s=n[t];return ee(s)?s:new Q3(n,t,e)}var c0;class J3{constructor(t,e,s,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[c0]=!1,this._dirty=!0,this.effect=new Er(t,()=>{this._dirty||(this._dirty=!0,Ni(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=vt(this);return E1(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}c0="__v_isReadonly";function t4(n,t,e=!1){let s,r;const i=lt(n);return i?(s=n,r=_e):(s=n.get,r=n.set),new J3(s,r,i||!r,e)}function e4(n,...t){}function sn(n,t,e,s){let r;try{r=s?n(...s):n()}catch(i){ss(i,t,e)}return r}function Ce(n,t,e,s){if(lt(n)){const i=sn(n,t,e,s);return i&&yi(i)&&i.catch(o=>{ss(o,t,e)}),i}const r=[];for(let i=0;i<n.length;i++)r.push(Ce(n[i],t,e,s));return r}function ss(n,t,e,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=e;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](n,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){sn(l,null,10,[n,o,a]);return}}n4(n,e,r,s)}function n4(n,t,e,s=!0){console.error(n)}let wr=!1,T1=!1;const ue=[];let rn=0;const $s=[];let En=null,rs=0;const u0=Promise.resolve();let w1=null;function vr(n){const t=w1||u0;return n?t.then(this?n.bind(this):n):t}function s4(n){let t=rn+1,e=ue.length;for(;t<e;){const s=t+e>>>1;Ar(ue[s])<n?t=s+1:e=s}return t}function Mi(n){(!ue.length||!ue.includes(n,wr&&n.allowRecurse?rn+1:rn))&&(n.id==null?ue.push(n):ue.splice(s4(n.id),0,n),h0())}function h0(){!wr&&!T1&&(T1=!0,w1=u0.then(d0))}function r4(n){const t=ue.indexOf(n);t>rn&&ue.splice(t,1)}function v1(n){V(n)?$s.push(...n):(!En||!En.includes(n,n.allowRecurse?rs+1:rs))&&$s.push(n),h0()}function f0(n,t=wr?rn+1:0){for(;t<ue.length;t++){const e=ue[t];e&&e.pre&&(ue.splice(t,1),t--,e())}}function Fi(n){if($s.length){const t=[...new Set($s)];if($s.length=0,En){En.push(...t);return}for(En=t,En.sort((e,s)=>Ar(e)-Ar(s)),rs=0;rs<En.length;rs++)En[rs]();En=null,rs=0}}const Ar=n=>n.id==null?1/0:n.id,i4=(n,t)=>{const e=Ar(n)-Ar(t);if(e===0){if(n.pre&&!t.pre)return-1;if(t.pre&&!n.pre)return 1}return e};function d0(n){T1=!1,wr=!0,ue.sort(i4);const t=_e;try{for(rn=0;rn<ue.length;rn++){const e=ue[rn];e&&e.active!==!1&&sn(e,null,14)}}finally{rn=0,ue.length=0,Fi(),wr=!1,w1=null,(ue.length||$s.length)&&d0()}}let Us,Di=[];function p0(n,t){var e,s;Us=n,Us?(Us.enabled=!0,Di.forEach(({event:r,args:i})=>Us.emit(r,...i)),Di=[]):typeof window<"u"&&window.HTMLElement&&!(!((s=(e=window.navigator)===null||e===void 0?void 0:e.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{p0(i,t)}),setTimeout(()=>{Us||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Di=[])},3e3)):Di=[]}function o4(n,t,...e){}const A1={MODE:2};function a4(n){yt(A1,n)}function g0(n,t){const e=t&&t.type.compatConfig;return e&&n in e?e[n]:A1[n]}function Pt(n,t,e=!1){if(!e&&t&&t.type.__isBuiltIn)return!1;const s=g0("MODE",t)||2,r=g0(n,t);return(lt(s)?s(t&&t.type):s)===2?r!==!1:r===!0||r==="suppress-warning"}function re(n,t,...e){if(!Pt(n,t))throw new Error(`${n} compat has been disabled.`)}function bn(n,t,...e){return Pt(n,t)}function Bi(n,t,...e){return Pt(n,t)}const S1=new WeakMap;function R1(n){let t=S1.get(n);return t||S1.set(n,t=Object.create(null)),t}function k1(n,t,e){if(V(t))t.forEach(s=>k1(n,s,e));else{t.startsWith("hook:")?re("INSTANCE_EVENT_HOOKS",n,t):re("INSTANCE_EVENT_EMITTER",n);const s=R1(n);(s[t]||(s[t]=[])).push(e)}return n.proxy}function l4(n,t,e){const s=(...r)=>{I1(n,t,s),e.call(n.proxy,...r)};return s.fn=e,k1(n,t,s),n.proxy}function I1(n,t,e){re("INSTANCE_EVENT_EMITTER",n);const s=n.proxy;if(!t)return S1.set(n,Object.create(null)),s;if(V(t))return t.forEach(o=>I1(n,o,e)),s;const r=R1(n),i=r[t];return i?e?(r[t]=i.filter(o=>!(o===e||o.fn===e)),s):(r[t]=void 0,s):s}function c4(n,t,e){const s=R1(n)[t];return s&&Ce(s.map(r=>r.bind(n.proxy)),n,6,e),n.proxy}const $i="onModelCompat:";function u4(n){const{type:t,shapeFlag:e,props:s,dynamicProps:r}=n,i=t;if(e&6&&s&&"modelValue"in s){if(!Pt("COMPONENT_V_MODEL",{type:t}))return;const o=i.model||{};m0(o,i.mixins);const{prop:a="value",event:l="input"}=o;a!=="modelValue"&&(s[a]=s.modelValue,delete s.modelValue),r&&(r[r.indexOf("modelValue")]=a),s[$i+l]=s["onUpdate:modelValue"],delete s["onUpdate:modelValue"]}}function m0(n,t){t&&t.forEach(e=>{e.model&&yt(n,e.model),e.mixins&&m0(n,e.mixins)})}function h4(n,t,e){if(!Pt("COMPONENT_V_MODEL",n))return;const s=n.vnode.props,r=s&&s[$i+t];r&&sn(r,n,6,e)}function f4(n,t,...e){if(n.isUnmounted)return;const s=n.vnode.props||Dt;let r=e;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=s[u]||Dt;d&&(r=e.map(p=>Ut(p)?p.trim():p)),f&&(r=e.map(en))}let a,l=s[a=Ms(t)]||s[a=Ms(de(t))];!l&&i&&(l=s[a=Ms(pe(t))]),l&&Ce(l,n,6,r);const c=s[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Ce(c,n,6,r)}return h4(n,t,r),c4(n,t,r)}function x0(n,t,e=!1){const s=t.emitsCache,r=s.get(n);if(r!==void 0)return r;const i=n.emits;let o={},a=!1;if(!lt(n)){const l=c=>{const u=x0(c,t,!0);u&&(a=!0,yt(o,u))};!e&&t.mixins.length&&t.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!i&&!a?(Lt(n)&&s.set(n,null),null):(V(i)?i.forEach(l=>o[l]=null):yt(o,i),Lt(n)&&s.set(n,o),o)}function Ui(n,t){return!n||!_n(t)?!1:t.startsWith($i)?!0:(t=t.slice(2).replace(/Once$/,""),Tt(n,t[0].toLowerCase()+t.slice(1))||Tt(n,pe(t))||Tt(n,t))}let Qt=null,Hs=null;function Sr(n){const t=Qt;return Qt=n,Hs=n&&n.type.__scopeId||null,Hs||(Hs=n&&n.type._scopeId||null),t}function is(n){Hs=n}function os(){Hs=null}const d4=n=>O1;function O1(n,t=Qt,e){if(!t||n._n)return n;const s=(...r)=>{s._d&&na(-1);const i=Sr(t);let o;try{o=n(...r)}finally{Sr(i),s._d&&na(1)}return o};return s._n=!0,s._c=!0,s._d=!0,e&&(s._ns=!0),s}function Kv(){}function Hi(n){const{type:t,vnode:e,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:E,inheritAttrs:v}=n;let W,y;const m=Sr(n);try{if(e.shapeFlag&4){const T=r||s;W=Ne(u.call(T,T,f,i,p,d,E)),y=l}else{const T=t;W=Ne(T.length>1?T(i,{attrs:l,slots:a,emit:c}):T(i,null)),y=t.props?l:g4(l)}}catch(T){$r.length=0,ss(T,n,1),W=nt(ie)}let C=W;if(y&&v!==!1){const T=Object.keys(y),{shapeFlag:F}=C;T.length&&F&7&&(o&&T.some(l1)&&(y=m4(y,o)),C=Ye(C,y))}if(Pt("INSTANCE_ATTRS_CLASS_STYLE",n)&&e.shapeFlag&4&&C.shapeFlag&7){const{class:T,style:F}=e.props||{};(T||F)&&(C=Ye(C,{class:T,style:F}))}return e.dirs&&(C=Ye(C),C.dirs=C.dirs?C.dirs.concat(e.dirs):e.dirs),e.transition&&(C.transition=e.transition),W=C,Sr(m),W}function p4(n){let t;for(let e=0;e<n.length;e++){const s=n[e];if(Oe(s)){if(s.type!==ie||s.children==="v-if"){if(t)return;t=s}}else return}return t}const g4=n=>{let t;for(const e in n)(e==="class"||e==="style"||_n(e))&&((t||(t={}))[e]=n[e]);return t},m4=(n,t)=>{const e={};for(const s in n)(!l1(s)||!(s.slice(9)in t))&&(e[s]=n[s]);return e};function x4(n,t,e){const{props:s,children:r,component:i}=n,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?L0(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==s[d]&&!Ui(c,d))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?L0(s,o,c):!0:!!o;return!1}function L0(n,t,e){const s=Object.keys(t);if(s.length!==Object.keys(n).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==n[i]&&!Ui(e,i))return!0}return!1}function N1({vnode:n,parent:t},e){for(;t&&t.subTree===n;)(n=t.vnode).el=e,t=t.parent}const _0=n=>n.__isSuspense,L4={name:"Suspense",__isSuspense:!0,process(n,t,e,s,r,i,o,a,l,c){n==null?_4(t,e,s,r,i,o,a,l,c):y4(n,t,e,s,r,o,a,l,c)},hydrate:C4,create:P1,normalize:E4};function Rr(n,t){const e=n.props&&n.props[t];lt(e)&&e()}function _4(n,t,e,s,r,i,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=n.suspense=P1(n,r,s,t,f,e,i,o,a,l);c(null,d.pendingBranch=n.ssContent,f,null,s,d,i,o),d.deps>0?(Rr(n,"onPending"),Rr(n,"onFallback"),c(null,n.ssFallback,t,e,s,null,i,o),Vs(d,n.ssFallback)):d.resolve()}function y4(n,t,e,s,r,i,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=n.suspense;f.vnode=t,t.el=n.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:E,pendingBranch:v,isInFallback:W,isHydrating:y}=f;if(v)f.pendingBranch=d,an(d,v)?(l(v,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():W&&(l(E,p,e,s,r,null,i,o,a),Vs(f,p))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=v):c(v,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),W?(l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():(l(E,p,e,s,r,null,i,o,a),Vs(f,p))):E&&an(d,E)?(l(E,d,e,s,r,f,i,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0&&f.resolve()));else if(E&&an(d,E))l(E,d,e,s,r,f,i,o,a),Vs(f,d);else if(Rr(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:C}=f;m>0?setTimeout(()=>{f.pendingId===C&&f.fallback(p)},m):m===0&&f.fallback(p)}}function P1(n,t,e,s,r,i,o,a,l,c,u=!1){const{p:f,m:d,um:p,n:E,o:{parentNode:v,remove:W}}=c,y=en(n.props&&n.props.timeout),m={vnode:n,parent:t,parentComponent:e,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1){const{vnode:T,activeBranch:F,pendingBranch:G,pendingId:z,effects:R,parentComponent:ot,container:rt}=m;if(m.isHydrating)m.isHydrating=!1;else if(!C){const Ot=F&&G.transition&&G.transition.mode==="out-in";Ot&&(F.transition.afterLeave=()=>{z===m.pendingId&&d(G,rt,it,0)});let{anchor:it}=m;F&&(it=E(F),p(F,ot,m,!0)),Ot||d(G,rt,it,0)}Vs(m,G),m.pendingBranch=null,m.isInFallback=!1;let ut=m.parent,Zt=!1;for(;ut;){if(ut.pendingBranch){ut.effects.push(...R),Zt=!0;break}ut=ut.parent}Zt||v1(R),m.effects=[],Rr(T,"onResolve")},fallback(C){if(!m.pendingBranch)return;const{vnode:T,activeBranch:F,parentComponent:G,container:z,isSVG:R}=m;Rr(T,"onFallback");const ot=E(F),rt=()=>{!m.isInFallback||(f(null,C,z,ot,G,null,R,a,l),Vs(m,C))},ut=C.transition&&C.transition.mode==="out-in";ut&&(F.transition.afterLeave=rt),m.isInFallback=!0,p(F,G,null,!0),ut||rt()},move(C,T,F){m.activeBranch&&d(m.activeBranch,C,T,F),m.container=C},next(){return m.activeBranch&&E(m.activeBranch)},registerDep(C,T){const F=!!m.pendingBranch;F&&m.deps++;const G=C.vnode.el;C.asyncDep.catch(z=>{ss(z,C,0)}).then(z=>{if(C.isUnmounted||m.isUnmounted||m.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:R}=C;ia(C,z,!1),G&&(R.el=G);const ot=!G&&C.subTree.el;T(C,R,v(G||C.subTree.el),G?null:E(C.subTree),m,o,l),ot&&W(ot),N1(C,R.el),F&&--m.deps===0&&m.resolve()})},unmount(C,T){m.isUnmounted=!0,m.activeBranch&&p(m.activeBranch,e,C,T),m.pendingBranch&&p(m.pendingBranch,e,C,T)}};return m}function C4(n,t,e,s,r,i,o,a,l){const c=t.suspense=P1(t,s,e,n.parentNode,document.createElement("div"),null,r,i,o,a,!0),u=l(n,c.pendingBranch=t.ssContent,e,c,i,o);return c.deps===0&&c.resolve(),u}function E4(n){const{shapeFlag:t,children:e}=n,s=t&32;n.ssContent=y0(s?e.default:e),n.ssFallback=s?y0(e.fallback):nt(ie)}function y0(n){let t;if(lt(n)){const e=xs&&n._c;e&&(n._d=!1,N()),n=n(),e&&(n._d=!0,t=be,bu())}return V(n)&&(n=p4(n)),n=Ne(n),t&&!n.dynamicChildren&&(n.dynamicChildren=t.filter(e=>e!==n)),n}function C0(n,t){t&&t.pendingBranch?V(n)?t.effects.push(...n):t.effects.push(n):v1(n)}function Vs(n,t){n.activeBranch=t;const{vnode:e,parentComponent:s}=n,r=e.el=t.el;s&&s.subTree===e&&(s.vnode.el=r,N1(s,r))}function E0(n,t){if(te){let e=te.provides;const s=te.parent&&te.parent.provides;s===e&&(e=te.provides=Object.create(s)),e[n]=t}}function as(n,t,e=!1){const s=te||Qt;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&n in r)return r[n];if(arguments.length>1)return e&<(t)?t.call(s.proxy):t}}function b4(n,t){return kr(n,null,t)}function b0(n,t){return kr(n,null,{flush:"post"})}function T4(n,t){return kr(n,null,{flush:"sync"})}const Vi={};function ls(n,t,e){return kr(n,t,e)}function kr(n,t,{immediate:e,deep:s,flush:r,onTrack:i,onTrigger:o}=Dt){const a=te;let l,c=!1,u=!1;if(ee(n)?(l=()=>n.value,c=br(n)):Cn(n)?(l=()=>n,s=!0):V(n)?(u=!0,c=n.some(C=>Cn(C)||br(C)),l=()=>n.map(C=>{if(ee(C))return C.value;if(Cn(C))return $n(C);if(lt(C))return sn(C,a,2)})):lt(n)?t?l=()=>sn(n,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Ce(n,a,3,[d])}:l=_e,t&&!s){const C=l;l=()=>{const T=C();return V(T)&&Bi("WATCH_ARRAY",a)&&$n(T),T}}if(t&&s){const C=l;l=()=>$n(C())}let f,d=C=>{f=y.onStop=()=>{sn(C,a,4)}},p;if(zs)if(d=_e,t?e&&Ce(t,a,3,[l(),u?[]:void 0,d]):l(),r==="sync"){const C=Ou();p=C.__watcherHandles||(C.__watcherHandles=[])}else return _e;let E=u?new Array(n.length).fill(Vi):Vi;const v=()=>{if(!!y.active)if(t){const C=y.run();(s||c||(u?C.some((T,F)=>Fs(T,E[F])):Fs(C,E))||V(C)&&Pt("WATCH_ARRAY",a))&&(f&&f(),Ce(t,a,3,[C,E===Vi?void 0:u&&E[0]===Vi?[]:E,d]),E=C)}else y.run()};v.allowRecurse=!!t;let W;r==="sync"?W=v:r==="post"?W=()=>Jt(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),W=()=>Mi(v));const y=new Er(l,W);t?e?v():E=y.run():r==="post"?Jt(y.run.bind(y),a&&a.suspense):y.run();const m=()=>{y.stop(),a&&a.scope&&c1(a.scope.effects,y)};return p&&p.push(m),m}function w4(n,t,e){const s=this.proxy,r=Ut(n)?n.includes(".")?T0(s,n):()=>s[n]:n.bind(s,s);let i;lt(t)?i=t:(i=t.handler,e=t);const o=te;Gn(this);const a=kr(r,i.bind(s),e);return o?Gn(o):jn(),a}function T0(n,t){const e=t.split(".");return()=>{let s=n;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}function $n(n,t){if(!Lt(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),ee(n))$n(n.value,t);else if(V(n))for(let e=0;e<n.length;e++)$n(n[e],t);else if(ts(n)||Ns(n))n.forEach(e=>{$n(e,t)});else if(Ci(n))for(const e in n)$n(n[e],t);return n}function M1(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Nr(()=>{n.isMounted=!0}),Pr(()=>{n.isUnmounting=!0}),n}const Ue=[Function,Array],w0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},setup(n,{slots:t}){const e=ln(),s=M1();let r;return()=>{const i=t.default&&Gi(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const v of i)if(v.type!==ie){o=v;break}}const a=vt(n),{mode:l}=a;if(s.isLeaving)return D1(o);const c=A0(o);if(!c)return D1(o);const u=Gs(c,a,s,e);cs(c,u);const f=e.subTree,d=f&&A0(f);let p=!1;const{getTransitionKey:E}=c.type;if(E){const v=E();r===void 0?r=v:v!==r&&(r=v,p=!0)}if(d&&d.type!==ie&&(!an(c,d)||p)){const v=Gs(d,a,s,e);if(cs(d,v),l==="out-in")return s.isLeaving=!0,v.afterLeave=()=>{s.isLeaving=!1,e.update.active!==!1&&e.update()},D1(o);l==="in-out"&&c.type!==ie&&(v.delayLeave=(W,y,m)=>{const C=v0(s,d);C[String(d.key)]=d,W._leaveCb=()=>{y(),W._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return o}}};w0.__isBuiltIn=!0;const F1=w0;function v0(n,t){const{leavingVNodes:e}=n;let s=e.get(t.type);return s||(s=Object.create(null),e.set(t.type,s)),s}function Gs(n,t,e,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:E,onBeforeAppear:v,onAppear:W,onAfterAppear:y,onAppearCancelled:m}=t,C=String(n.key),T=v0(e,n),F=(R,ot)=>{R&&Ce(R,s,9,ot)},G=(R,ot)=>{const rt=ot[1];F(R,ot),V(R)?R.every(ut=>ut.length<=1)&&rt():R.length<=1&&rt()},z={mode:i,persisted:o,beforeEnter(R){let ot=a;if(!e.isMounted)if(r)ot=v||a;else return;R._leaveCb&&R._leaveCb(!0);const rt=T[C];rt&&an(n,rt)&&rt.el._leaveCb&&rt.el._leaveCb(),F(ot,[R])},enter(R){let ot=l,rt=c,ut=u;if(!e.isMounted)if(r)ot=W||l,rt=y||c,ut=m||u;else return;let Zt=!1;const Ot=R._enterCb=it=>{Zt||(Zt=!0,it?F(ut,[R]):F(rt,[R]),z.delayedLeave&&z.delayedLeave(),R._enterCb=void 0)};ot?G(ot,[R,Ot]):Ot()},leave(R,ot){const rt=String(n.key);if(R._enterCb&&R._enterCb(!0),e.isUnmounting)return ot();F(f,[R]);let ut=!1;const Zt=R._leaveCb=Ot=>{ut||(ut=!0,ot(),Ot?F(E,[R]):F(p,[R]),R._leaveCb=void 0,T[rt]===n&&delete T[rt])};T[rt]=n,d?G(d,[R,Zt]):Zt()},clone(R){return Gs(R,t,e,s)}};return z}function D1(n){if(Ir(n))return n=Ye(n),n.children=null,n}function A0(n){return Ir(n)?n.children?n.children[0]:void 0:n}function cs(n,t){n.shapeFlag&6&&n.component?cs(n.component.subTree,t):n.shapeFlag&128?(n.ssContent.transition=t.clone(n.ssContent),n.ssFallback.transition=t.clone(n.ssFallback)):n.transition=t}function Gi(n,t=!1,e){let s=[],r=0;for(let i=0;i<n.length;i++){let o=n[i];const a=e==null?o.key:String(e)+String(o.key!=null?o.key:i);o.type===Ht?(o.patchFlag&128&&r++,s=s.concat(Gi(o.children,t,a))):(t||o.type!==ie)&&s.push(a!=null?Ye(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function B1(n){return lt(n)?{setup:n,name:n.name}:n}const us=n=>!!n.type.__asyncLoader;function ji(n){lt(n)&&(n={loader:n});const{loader:t,loadingComponent:e,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:a}=n;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),a)return new Promise((v,W)=>{a(E,()=>v(f()),()=>W(E),u+1)});throw E}).then(E=>p!==l&&l?l:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),c=E,E)))};return B1({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=te;if(c)return()=>$1(c,p);const E=m=>{l=null,ss(m,p,13,!s)};if(o&&p.suspense||zs)return d().then(m=>()=>$1(m,p)).catch(m=>(E(m),()=>s?nt(s,{error:m}):null));const v=Pi(!1),W=Pi(),y=Pi(!!r);return r&&setTimeout(()=>{y.value=!1},r),i!=null&&setTimeout(()=>{if(!v.value&&!W.value){const m=new Error(`Async component timed out after ${i}ms.`);E(m),W.value=m}},i),d().then(()=>{v.value=!0,p.parent&&Ir(p.parent.vnode)&&Mi(p.parent.update)}).catch(m=>{E(m),W.value=m}),()=>{if(v.value&&c)return $1(c,p);if(W.value&&s)return nt(s,{error:W.value});if(e&&!y.value)return nt(e)}}})}function $1(n,t){const{ref:e,props:s,children:r,ce:i}=t.vnode,o=nt(n,s,r);return o.ref=e,o.ce=i,delete t.vnode.ce,o}const Ir=n=>n.type.__isKeepAlive,S0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:t}){const e=ln(),s=e.ctx;if(!s.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const r=new Map,i=new Set;let o=null;const a=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(m,C,T,F,G)=>{const z=m.component;c(m,C,T,0,a),l(z.vnode,m,C,T,z,a,F,m.slotScopeIds,G),Jt(()=>{z.isDeactivated=!1,z.a&&Mn(z.a);const R=m.props&&m.props.onVnodeMounted;R&&Te(R,z.parent,m)},a)},s.deactivate=m=>{const C=m.component;c(m,d,null,1,a),Jt(()=>{C.da&&Mn(C.da);const T=m.props&&m.props.onVnodeUnmounted;T&&Te(T,C.parent,m),C.isDeactivated=!0},a)};function p(m){U1(m),u(m,e,a,!0)}function E(m){r.forEach((C,T)=>{const F=ca(C.type);F&&(!m||!m(F))&&v(T)})}function v(m){const C=r.get(m);!o||C.type!==o.type?p(C):o&&U1(o),r.delete(m),i.delete(m)}ls(()=>[n.include,n.exclude],([m,C])=>{m&&E(T=>Or(m,T)),C&&E(T=>!Or(C,T))},{flush:"post",deep:!0});let W=null;const y=()=>{W!=null&&r.set(W,H1(e.subTree))};return Nr(y),Wi(y),Pr(()=>{r.forEach(m=>{const{subTree:C,suspense:T}=e,F=H1(C);if(m.type===F.type){U1(F);const G=F.component.da;G&&Jt(G,T);return}p(m)})}),()=>{if(W=null,!t.default)return null;const m=t.default(),C=m[0];if(m.length>1)return o=null,m;if(!Oe(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return o=null,C;let T=H1(C);const F=T.type,G=ca(us(T)?T.type.__asyncResolved||{}:F),{include:z,exclude:R,max:ot}=n;if(z&&(!G||!Or(z,G))||R&&G&&Or(R,G))return o=T,C;const rt=T.key==null?F:T.key,ut=r.get(rt);return T.el&&(T=Ye(T),C.shapeFlag&128&&(C.ssContent=T)),W=rt,ut?(T.el=ut.el,T.component=ut.component,T.transition&&cs(T,T.transition),T.shapeFlag|=512,i.delete(rt),i.add(rt)):(i.add(rt),ot&&i.size>parseInt(ot,10)&&v(i.values().next().value)),T.shapeFlag|=256,o=T,_0(C.type)?C:T}}};S0.__isBuildIn=!0;const R0=S0;function Or(n,t){return V(n)?n.some(e=>Or(e,t)):Ut(n)?n.split(",").includes(t):n.test?n.test(t):!1}function k0(n,t){O0(n,"a",t)}function I0(n,t){O0(n,"da",t)}function O0(n,t,e=te){const s=n.__wdc||(n.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(zi(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Ir(r.parent.vnode)&&v4(s,t,e,r),r=r.parent}}function v4(n,t,e,s){const r=zi(t,n,s,!0);Mr(()=>{c1(s[t],r)},e)}function U1(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function H1(n){return n.shapeFlag&128?n.ssContent:n}function zi(n,t,e=te,s=!1){if(e){const r=e[n]||(e[n]=[]),i=t.__weh||(t.__weh=(...o)=>{if(e.isUnmounted)return;Ds(),Gn(e);const a=Ce(t,e,n,o);return jn(),Bs(),a});return s?r.unshift(i):r.push(i),i}}const Tn=n=>(t,e=te)=>(!zs||n==="sp")&&zi(n,(...s)=>t(...s),e),N0=Tn("bm"),Nr=Tn("m"),P0=Tn("bu"),Wi=Tn("u"),Pr=Tn("bum"),Mr=Tn("um"),M0=Tn("sp"),F0=Tn("rtg"),D0=Tn("rtc");function B0(n,t=te){zi("ec",n,t)}function A4(n){re("INSTANCE_CHILDREN",n);const t=n.subTree,e=[];return t&&$0(t,e),e}function $0(n,t){if(n.component)t.push(n.component.proxy);else if(n.shapeFlag&16){const e=n.children;for(let s=0;s<e.length;s++)$0(e[s],t)}}function U0(n){re("INSTANCE_LISTENERS",n);const t={},e=n.vnode.props;if(!e)return t;for(const s in e)_n(s)&&(t[s[2].toLowerCase()+s.slice(3)]=e[s]);return t}const S4={beforeMount:"bind",mounted:"inserted",updated:["update","componentUpdated"],unmounted:"unbind"};function R4(n,t,e){const s=S4[n];if(s)if(V(s)){const r=[];return s.forEach(i=>{const o=t[i];o&&(bn("CUSTOM_DIR",e,i,n),r.push(o))}),r.length?r:void 0}else return t[s]&&bn("CUSTOM_DIR",e,s,n),t[s]}function Zi(n,t){const e=Qt;if(e===null)return n;const s=oo(e)||e.proxy,r=n.dirs||(n.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,l,c=Dt]=t[i];o&&(lt(o)&&(o={mounted:o,updated:o}),o.deep&&$n(a),r.push({dir:o,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function on(n,t,e,s){const r=n.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l||(l=R4(s,a.dir,e)),l&&(Ds(),Ce(l,e,8,[n.el,a,n,t]),Bs())}}const V1="components",k4="directives",I4="filters";function ft(n,t){return qi(V1,n,!0,t)||n}const H0=Symbol();function Fr(n){return Ut(n)?qi(V1,n,!1)||n:n||H0}function V0(n){return qi(k4,n)}function G0(n){return qi(I4,n)}function qi(n,t,e=!0,s=!1){const r=Qt||te;if(r){const i=r.type;if(n===V1){const a=ca(i,!1);if(a&&(a===t||a===de(t)||a===yr(de(t))))return i}const o=j0(r[n]||i[n],t)||j0(r.appContext[n],t);return!o&&s?i:o}}function j0(n,t){return n&&(n[t]||n[de(t)]||n[yr(de(t))])}function O4(n){const t=n.type,e=t.render;if(!(!e||e._rc||e._compatChecked||e._compatWrapped)){if(e.length>=2){e._compatChecked=!0;return}if(Bi("RENDER_FUNCTION",n)){const s=t.render=function(){return e.call(this,Ki)};s._compatWrapped=!0}}}function Ki(n,t,e){if(n||(n=ie),typeof n=="string"){const i=pe(n);(i==="transition"||i==="transition-group"||i==="keep-alive")&&(n=`__compat__${i}`),n=Fr(n)}const s=arguments.length,r=V(t);return s===2||r?Lt(t)&&!r?Oe(t)?Yi(nt(n,null,[t])):Yi(W0(nt(n,z0(t,n)),t)):Yi(nt(n,null,t)):(Oe(e)&&(e=[e]),Yi(W0(nt(n,z0(t,n),e),t)))}const N4=Is("staticStyle,staticClass,directives,model,hook");function z0(n,t){if(!n)return null;const e={};for(const s in n)if(s==="attrs"||s==="domProps"||s==="props")yt(e,n[s]);else if(s==="on"||s==="nativeOn"){const r=n[s];for(const i in r){let o=P4(i);s==="nativeOn"&&(o+="Native");const a=e[o],l=r[i];a!==l&&(a?e[o]=[].concat(a,l):e[o]=l)}}else N4(s)||(e[s]=n[s]);if(n.staticClass&&(e.class=Ft([n.staticClass,e.class])),n.staticStyle&&(e.style=_t([n.staticStyle,e.style])),n.model&&Lt(t)){const{prop:s="value",event:r="input"}=t.model||{};e[s]=n.model.value,e[$i+r]=n.model.callback}return e}function P4(n){return n[0]==="&"&&(n=n.slice(1)+"Passive"),n[0]==="~"&&(n=n.slice(1)+"Once"),n[0]==="!"&&(n=n.slice(1)+"Capture"),Ms(n)}function W0(n,t){return t&&t.directives?Zi(n,t.directives.map(({name:e,value:s,arg:r,modifiers:i})=>[V0(e),s,r,i])):n}function Yi(n){const{props:t,children:e}=n;let s;if(n.shapeFlag&6&&V(e)){s={};for(let i=0;i<e.length;i++){const o=e[i],a=Oe(o)&&o.props&&o.props.slot||"default",l=s[a]||(s[a]=[]);Oe(o)&&o.type==="template"?l.push(o.children):l.push(o)}if(s)for(const i in s){const o=s[i];s[i]=()=>o,s[i]._ns=!0}}const r=t&&t.scopedSlots;return r&&(delete t.scopedSlots,s?yt(s,r):s=r),s&&so(n,s),n}function Z0(n){if(Pt("RENDER_FUNCTION",Qt,!0)&&Pt("PRIVATE_APIS",Qt,!0)){const t=Qt,e=()=>n.component&&n.component.proxy;let s;Object.defineProperties(n,{tag:{get:()=>n.type},data:{get:()=>n.props||{},set:r=>n.props=r},elm:{get:()=>n.el},componentInstance:{get:e},child:{get:e},text:{get:()=>Ut(n.children)?n.children:null},context:{get:()=>t&&t.proxy},componentOptions:{get:()=>{if(n.shapeFlag&4)return s||(s={Ctor:n.type,propsData:n.props,children:n.children})}}})}}const G1=new Map,q0={get(n,t){const e=n[t];return e&&e()}};function M4(n){if(G1.has(n))return G1.get(n);const t=n.render,e=(s,r)=>{const i=ln(),o={props:s,children:i.vnode.children||[],data:i.vnode.props||{},scopedSlots:r.slots,parent:i.parent&&i.parent.proxy,slots(){return new Proxy(r.slots,q0)},get listeners(){return U0(i)},get injections(){if(n.inject){const a={};return nu(n.inject,a),a}return{}}};return t(Ki,o)};return e.props=n.props,e.displayName=n.name,e.compatConfig=n.compatConfig,e.inheritAttrs=!1,G1.set(n,e),e}function wn(n,t,e,s){let r;const i=e&&e[s];if(V(n)||Ut(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=t(n[o],o,void 0,i&&i[o])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Lt(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(n[c],c,a,i&&i[a])}}else r=[];return e&&(e[s]=r),r}function K0(n,t){for(let e=0;e<t.length;e++){const s=t[e];if(V(s))for(let r=0;r<s.length;r++)n[s[r].name]=s[r].fn;else s&&(n[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return n}function j1(n,t,e={},s,r){if(Qt.isCE||Qt.parent&&us(Qt.parent)&&Qt.parent.isCE)return t!=="default"&&(e.name=t),nt("slot",e,s&&s());let i=n[t];i&&i._c&&(i._d=!1),N();const o=i&&Y0(i(e)),a=Mt(Ht,{key:e.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Y0(n){return n.some(t=>Oe(t)?!(t.type===ie||t.type===Ht&&!Y0(t.children)):!0)?n:null}function X0(n,t){const e={};for(const s in n)e[t&&/[A-Z]/.test(s)?`on:${s}`:Ms(s)]=n[s];return e}function F4(n){const t={};for(let e=0;e<n.length;e++)n[e]&&yt(t,n[e]);return t}function D4(n,t,e,s,r){if(e&&Lt(e)){V(e)&&(e=F4(e));for(const i in e)if(Ps(i))n[i]=e[i];else if(i==="class")n.class=Ft([n.class,e.class]);else if(i==="style")n.style=Ft([n.style,e.style]);else{const o=n.attrs||(n.attrs={}),a=de(i),l=pe(i);if(!(a in o)&&!(l in o)&&(o[i]=e[i],r)){const c=n.on||(n.on={});c[`update:${i}`]=function(u){e[i]=u}}}}return n}function B4(n,t){return ro(n,X0(t))}function $4(n,t,e,s,r){return r&&(s=ro(s,r)),j1(n.slots,t,s,e&&(()=>e))}function U4(n,t,e){return K0(t||{$stable:!e},Q0(n))}function Q0(n){for(let t=0;t<n.length;t++){const e=n[t];e&&(V(e)?Q0(e):e.name=e.key||"default")}return n}const J0=new WeakMap;function H4(n,t){let e=J0.get(n);if(e||J0.set(n,e=[]),e[t])return e[t];const s=n.type.staticRenderFns[t],r=n.proxy;return e[t]=s.call(r,null,r)}function V4(n,t,e,s,r,i){const a=n.appContext.config.keyCodes||{},l=a[e]||s;if(i&&r&&!a[e])return tu(i,r);if(l)return tu(l,t);if(r)return pe(r)!==e}function tu(n,t){return V(n)?!n.includes(t):n!==t}function G4(n){return n}function j4(n,t){for(let e=0;e<t.length;e+=2){const s=t[e];typeof s=="string"&&s&&(n[t[e]]=t[e+1])}return n}function z4(n,t){return typeof n=="string"?t+n:n}function W4(n){const t=(s,r,i)=>{s[r]=i},e=(s,r)=>{delete s[r]};yt(n,{$set:s=>(re("INSTANCE_SET",s),t),$delete:s=>(re("INSTANCE_DELETE",s),e),$mount:s=>(re("GLOBAL_MOUNT",null),s.ctx._compat_mount||_e),$destroy:s=>(re("INSTANCE_DESTROY",s),s.ctx._compat_destroy||_e),$slots:s=>Pt("RENDER_FUNCTION",s)&&s.render&&s.render._compatWrapped?new Proxy(s.slots,q0):s.slots,$scopedSlots:s=>{re("INSTANCE_SCOPED_SLOTS",s);const r={};for(const i in s.slots){const o=s.slots[i];o._ns||(r[i]=o)}return r},$on:s=>k1.bind(null,s),$once:s=>l4.bind(null,s),$off:s=>I1.bind(null,s),$children:A4,$listeners:U0}),Pt("PRIVATE_APIS",null)&&yt(n,{$vnode:s=>s.vnode,$options:s=>{const r=yt({},Dr(s));return r.parent=s.proxy.$parent,r.propsData=s.vnode.props,r},_self:s=>s.proxy,_uid:s=>s.uid,_data:s=>s.data,_isMounted:s=>s.isMounted,_isDestroyed:s=>s.isUnmounted,$createElement:()=>Ki,_c:()=>Ki,_o:()=>G4,_n:()=>en,_s:()=>Yt,_l:()=>wn,_t:s=>$4.bind(null,s),_q:()=>Ln,_i:()=>xr,_m:s=>H4.bind(null,s),_f:()=>G0,_k:s=>V4.bind(null,s),_b:()=>D4,_v:()=>Ls,_e:()=>At,_u:()=>U4,_g:()=>B4,_d:()=>j4,_p:()=>z4})}const z1=n=>n?Au(n)?oo(n)||n.proxy:z1(n.parent):null,js=yt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>z1(n.parent),$root:n=>z1(n.root),$emit:n=>n.emit,$options:n=>Dr(n),$forceUpdate:n=>n.f||(n.f=()=>Mi(n.update)),$nextTick:n=>n.n||(n.n=vr.bind(n.proxy)),$watch:n=>w4.bind(n)});W4(js);const W1=(n,t)=>n!==Dt&&!n.__isScriptSetup&&Tt(n,t),Z1={get({_:n},t){const{ctx:e,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=n;let c;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return i[t]}else{if(W1(s,t))return o[t]=1,s[t];if(r!==Dt&&Tt(r,t))return o[t]=2,r[t];if((c=n.propsOptions[0])&&Tt(c,t))return o[t]=3,i[t];if(e!==Dt&&Tt(e,t))return o[t]=4,e[t];q1&&(o[t]=0)}}const u=js[t];let f,d;if(u)return t==="$attrs"&&ye(n,"get",t),u(n);if((f=a.__cssModules)&&(f=f[t]))return f;if(e!==Dt&&Tt(e,t))return o[t]=4,e[t];if(d=l.config.globalProperties,Tt(d,t)){const p=Object.getOwnPropertyDescriptor(d,t);if(p.get)return p.get.call(n.proxy);{const E=d[t];return lt(E)?Object.assign(E.bind(n.proxy),E):E}}},set({_:n},t,e){const{data:s,setupState:r,ctx:i}=n;return W1(r,t)?(r[t]=e,!0):s!==Dt&&Tt(s,t)?(s[t]=e,!0):Tt(n.props,t)||t[0]==="$"&&t.slice(1)in n?!1:(i[t]=e,!0)},has({_:{data:n,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!e[o]||n!==Dt&&Tt(n,o)||W1(t,o)||(a=i[0])&&Tt(a,o)||Tt(s,o)||Tt(js,o)||Tt(r.config.globalProperties,o)},defineProperty(n,t,e){return e.get!=null?n._.accessCache[t]=0:Tt(e,"value")&&this.set(n,t,e.value,null),Reflect.defineProperty(n,t,e)}},Z4=yt({},Z1,{get(n,t){if(t!==Symbol.unscopables)return Z1.get(n,t,n)},has(n,t){return t[0]!=="_"&&!t3(t)}});function eu(n,t){for(const e in t){const s=n[e],r=t[e];e in n&&Ci(s)&&Ci(r)?eu(s,r):n[e]=r}return n}let q1=!0;function q4(n){const t=Dr(n),e=n.proxy,s=n.ctx;q1=!1,t.beforeCreate&&su(t.beforeCreate,n,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:E,activated:v,deactivated:W,beforeDestroy:y,beforeUnmount:m,destroyed:C,unmounted:T,render:F,renderTracked:G,renderTriggered:z,errorCaptured:R,serverPrefetch:ot,expose:rt,inheritAttrs:ut,components:Zt,directives:Ot,filters:it}=t;if(c&&nu(c,s,null,n.appContext.config.unwrapInjectedRef),o)for(const pt in o){const Ct=o[pt];lt(Ct)&&(s[pt]=Ct.bind(e))}if(r){const pt=r.call(e,e);Lt(pt)&&(n.data=yn(pt))}if(q1=!0,i)for(const pt in i){const Ct=i[pt],ze=lt(Ct)?Ct.bind(e,e):lt(Ct.get)?Ct.get.bind(e,e):_e,We=!lt(Ct)&<(Ct.set)?Ct.set.bind(e):_e,Pn=ua({get:ze,set:We});Object.defineProperty(s,pt,{enumerable:!0,configurable:!0,get:()=>Pn.value,set:Ze=>Pn.value=Ze})}if(a)for(const pt in a)ru(a[pt],s,e,pt);if(l){const pt=lt(l)?l.call(e):l;Reflect.ownKeys(pt).forEach(Ct=>{E0(Ct,pt[Ct])})}u&&su(u,n,"c");function U(pt,Ct){V(Ct)?Ct.forEach(ze=>pt(ze.bind(e))):Ct&&pt(Ct.bind(e))}if(U(N0,f),U(Nr,d),U(P0,p),U(Wi,E),U(k0,v),U(I0,W),U(B0,R),U(D0,G),U(F0,z),U(Pr,m),U(Mr,T),U(M0,ot),y&&bn("OPTIONS_BEFORE_DESTROY",n)&&U(Pr,y),C&&bn("OPTIONS_DESTROYED",n)&&U(Mr,C),V(rt))if(rt.length){const pt=n.exposed||(n.exposed={});rt.forEach(Ct=>{Object.defineProperty(pt,Ct,{get:()=>e[Ct],set:ze=>e[Ct]=ze})})}else n.exposed||(n.exposed={});F&&n.render===_e&&(n.render=F),ut!=null&&(n.inheritAttrs=ut),Zt&&(n.components=Zt),Ot&&(n.directives=Ot),it&&Pt("FILTERS",n)&&(n.filters=it)}function nu(n,t,e=_e,s=!1){V(n)&&(n=K1(n));for(const r in n){const i=n[r];let o;Lt(i)?"default"in i?o=as(i.from||r,i.default,!0):o=as(i.from||r):o=as(i),ee(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function su(n,t,e){Ce(V(n)?n.map(s=>s.bind(t.proxy)):n.bind(t.proxy),t,e)}function ru(n,t,e,s){const r=s.includes(".")?T0(e,s):()=>e[s];if(Ut(n)){const i=t[n];lt(i)&&ls(r,i)}else if(lt(n))ls(r,n.bind(e));else if(Lt(n))if(V(n))n.forEach(i=>ru(i,t,e,s));else{const i=lt(n.handler)?n.handler.bind(e):t[n.handler];lt(i)&&ls(r,i,n)}}function Dr(n){const t=n.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=n.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!e&&!s?Pt("PRIVATE_APIS",n)?(l=yt({},t),l.parent=n.parent&&n.parent.proxy,l.propsData=n.vnode.props):l=t:(l={},r.length&&r.forEach(c=>hs(l,c,o,!0)),hs(l,t,o)),Lt(t)&&i.set(t,l),l}function hs(n,t,e,s=!1){lt(t)&&(t=t.options);const{mixins:r,extends:i}=t;i&&hs(n,i,e,!0),r&&r.forEach(o=>hs(n,o,e,!0));for(const o in t)if(!(s&&o==="expose")){const a=fs[o]||e&&e[o];n[o]=a?a(n[o],t[o]):t[o]}return n}const fs={data:iu,props:Un,emits:Un,methods:Un,computed:Un,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Un,directives:Un,watch:Y4,provide:iu,inject:K4};fs.filters=Un;function iu(n,t){return t?n?function(){return(Pt("OPTIONS_DATA_MERGE",null)?eu:yt)(lt(n)?n.call(this,this):n,lt(t)?t.call(this,this):t)}:t:n}function K4(n,t){return Un(K1(n),K1(t))}function K1(n){if(V(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function ge(n,t){return n?[...new Set([].concat(n,t))]:t}function Un(n,t){return n?yt(yt(Object.create(null),n),t):t}function Y4(n,t){if(!n)return t;if(!t)return n;const e=yt(Object.create(null),n);for(const s in t)e[s]=ge(n[s],t[s]);return e}function X4(n,t,e){return new Proxy({},{get(s,r){if(r==="$options")return Dr(n);if(r in t)return t[r];const i=n.type.inject;if(i){if(V(i)){if(i.includes(r))return as(r)}else if(r in i)return as(r)}}})}function ou(n,t){return!!(n==="is"||(n==="class"||n==="style")&&Pt("INSTANCE_ATTRS_CLASS_STYLE",t)||_n(n)&&Pt("INSTANCE_LISTENERS",t)||n.startsWith("routerView")||n==="registerRouteInstance")}function Q4(n,t,e,s=!1){const r={},i={};bi(i,eo,1),n.propsDefaults=Object.create(null),au(n,t,r,i);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);e?n.props=s?r:i0(r):n.type.props?n.props=r:n.props=i,n.attrs=i}function J4(n,t,e,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=n,a=vt(r),[l]=n.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ui(n.emitsOptions,d))continue;const p=t[d];if(l)if(Tt(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const E=de(d);r[E]=Y1(l,a,E,p,n,!1)}else{if(_n(d)&&d.endsWith("Native"))d=d.slice(0,-6);else if(ou(d,n))continue;p!==i[d]&&(i[d]=p,c=!0)}}}}else{au(n,t,r,i)&&(c=!0);let u;for(const f in a)(!t||!Tt(t,f)&&((u=pe(f))===f||!Tt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(r[f]=Y1(l,a,f,void 0,n,!0)):delete r[f]);if(i!==a)for(const f in i)(!t||!Tt(t,f)&&!Tt(t,f+"Native"))&&(delete i[f],c=!0)}c&&nn(n,"set","$attrs")}function au(n,t,e,s){const[r,i]=n.propsOptions;let o=!1,a;if(t)for(let l in t){if(Ps(l)||(l.startsWith("onHook:")&&bn("INSTANCE_EVENT_HOOKS",n,l.slice(2).toLowerCase()),l==="inline-template"))continue;const c=t[l];let u;if(r&&Tt(r,u=de(l)))!i||!i.includes(u)?e[u]=c:(a||(a={}))[u]=c;else if(!Ui(n.emitsOptions,l)){if(_n(l)&&l.endsWith("Native"))l=l.slice(0,-6);else if(ou(l,n))continue;(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}}if(i){const l=vt(e),c=a||Dt;for(let u=0;u<i.length;u++){const f=i[u];e[f]=Y1(r,l,f,c[f],n,!Tt(c,f))}}return o}function Y1(n,t,e,s,r,i){const o=n[e];if(o!=null){const a=Tt(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&<(l)){const{propsDefaults:c}=r;e in c?s=c[e]:(Gn(r),s=c[e]=l.call(Pt("PROPS_DEFAULT_THIS",r)?X4(r,t):null,t),jn())}else s=l}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===pe(e))&&(s=!0))}return s}function lu(n,t,e=!1){const s=t.propsCache,r=s.get(n);if(r)return r;const i=n.props,o={},a=[];let l=!1;if(!lt(n)){const u=f=>{lt(f)&&(f=f.options),l=!0;const[d,p]=lu(f,t,!0);yt(o,d),p&&a.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!i&&!l)return Lt(n)&&s.set(n,Os),Os;if(V(i))for(let u=0;u<i.length;u++){const f=de(i[u]);cu(f)&&(o[f]=Dt)}else if(i)for(const u in i){const f=de(u);if(cu(f)){const d=i[u],p=o[f]=V(d)||lt(d)?{type:d}:Object.assign({},d);if(p){const E=fu(Boolean,p.type),v=fu(String,p.type);p[0]=E>-1,p[1]=v<0||E<v,(E>-1||Tt(p,"default"))&&a.push(f)}}}const c=[o,a];return Lt(n)&&s.set(n,c),c}function cu(n){return n[0]!=="$"}function uu(n){const t=n&&n.toString().match(/^\s*function (\w+)/);return t?t[1]:n===null?"null":""}function hu(n,t){return uu(n)===uu(t)}function fu(n,t){return V(t)?t.findIndex(e=>hu(e,n)):lt(t)&&hu(t,n)?0:-1}const du=n=>n[0]==="_"||n==="$stable",X1=n=>V(n)?n.map(Ne):[Ne(n)],t5=(n,t,e)=>{if(t._n)return t;const s=O1((...r)=>X1(t(...r)),e);return s._c=!1,s},pu=(n,t,e)=>{const s=n._ctx;for(const r in n){if(du(r))continue;const i=n[r];if(lt(i))t[r]=t5(r,i,s);else if(i!=null){const o=X1(i);t[r]=()=>o}}},gu=(n,t)=>{const e=X1(t);n.slots.default=()=>e},e5=(n,t)=>{if(n.vnode.shapeFlag&32){const e=t._;e?(n.slots=vt(t),bi(t,"_",e)):pu(t,n.slots={})}else n.slots={},t&&gu(n,t);bi(n.slots,eo,1)},n5=(n,t,e)=>{const{vnode:s,slots:r}=n;let i=!0,o=Dt;if(s.shapeFlag&32){const a=t._;a?e&&a===1?i=!1:(yt(r,t),!e&&a===1&&delete r._):(i=!t.$stable,pu(t,r)),o=t}else t&&(gu(n,t),o={default:1});if(i)for(const a in r)!du(a)&&!(a in o)&&delete r[a]};function s5(n){n.optionMergeStrategies=new Proxy({},{get(t,e){if(e in t)return t[e];if(e in fs&&bn("CONFIG_OPTION_MERGE_STRATS",null))return fs[e]}})}let Ee,ds;function r5(n,t){Ee=t({});const e=ds=function l(c={}){return s(c,l)};function s(l={},c){re("GLOBAL_MOUNT",null);const{data:u}=l;u&&!lt(u)&&bn("OPTIONS_DATA_FN",null)&&(l.data=()=>u);const f=n(l);c!==e&&mu(f,c);const d=f._createRoot(l);return l.el?d.$mount(l.el):d}e.version="2.6.14-compat:3.2.45",e.config=Ee.config,e.use=(l,...c)=>(l&<(l.install)?l.install(e,...c):lt(l)&&l(e,...c),e),e.mixin=l=>(Ee.mixin(l),e),e.component=(l,c)=>c?(Ee.component(l,c),e):Ee.component(l),e.directive=(l,c)=>c?(Ee.directive(l,c),e):Ee.directive(l),e.options={_base:e};let r=1;e.cid=r,e.nextTick=vr;const i=new WeakMap;function o(l={}){if(re("GLOBAL_EXTEND",null),lt(l)&&(l=l.options),i.has(l))return i.get(l);const c=this;function u(d){return s(d?hs(yt({},u.options),d,fs):u.options,u)}u.super=c,u.prototype=Object.create(e.prototype),u.prototype.constructor=u;const f={};for(const d in c.options){const p=c.options[d];f[d]=V(p)?p.slice():Lt(p)?yt(Object.create(null),p):p}return u.options=hs(f,l,fs),u.options._base=u,u.extend=o.bind(u),u.mixin=c.mixin,u.use=c.use,u.cid=++r,i.set(l,u),u}e.extend=o.bind(e),e.set=(l,c,u)=>{re("GLOBAL_SET",null),l[c]=u},e.delete=(l,c)=>{re("GLOBAL_DELETE",null),delete l[c]},e.observable=l=>(re("GLOBAL_OBSERVABLE",null),yn(l)),e.filter=(l,c)=>c?(Ee.filter(l,c),e):Ee.filter(l);const a={warn:_e,extend:yt,mergeOptions:(l,c,u)=>hs(l,c,u?void 0:fs),defineReactive:f5};return Object.defineProperty(e,"util",{get(){return re("GLOBAL_PRIVATE_UTIL",null),a}}),e.configureCompat=a4,e}function i5(n,t,e){o5(n,t),s5(n.config),Ee&&(c5(n,t,e),a5(n),l5(n))}function o5(n,t){t.filters={},n.filter=(e,s)=>(re("FILTERS",null),s?(t.filters[e]=s,n):t.filters[e])}function a5(n){Object.defineProperties(n,{prototype:{get(){return n.config.globalProperties}},nextTick:{value:vr},extend:{value:ds.extend},set:{value:ds.set},delete:{value:ds.delete},observable:{value:ds.observable},util:{get(){return ds.util}}})}function l5(n){n._context.mixins=[...Ee._context.mixins],["components","directives","filters"].forEach(t=>{n._context[t]=Object.create(Ee._context[t])});for(const t in Ee.config){if(t==="isNativeTag"||aa()&&(t==="isCustomElement"||t==="compilerOptions"))continue;const e=Ee.config[t];n.config[t]=Lt(e)?Object.create(e):e,t==="ignoredElements"&&Pt("CONFIG_IGNORED_ELEMENTS",null)&&!aa()&&V(e)&&(n.config.compilerOptions.isCustomElement=s=>e.some(r=>Ut(r)?r===s:r.test(s)))}mu(n,ds)}function mu(n,t){const e=Pt("GLOBAL_PROTOTYPE",null);e&&(n.config.globalProperties=Object.create(t.prototype));const s=Object.getOwnPropertyDescriptors(t.prototype);for(const r in s)r!=="constructor"&&e&&Object.defineProperty(n.config.globalProperties,r,s[r])}function c5(n,t,e){let s=!1;n._createRoot=r=>{const i=n._component,o=nt(i,r.propsData||null);o.appContext=t;const a=!lt(i)&&!i.render&&!i.template,l=()=>{},c=sa(o,null,null);return a&&(c.render=l),ra(c),o.component=c,o.isCompatRoot=!0,c.ctx._compat_mount=u=>{if(s)return;let f;if(typeof u=="string"){const p=document.querySelector(u);if(!p)return;f=p}else f=u||document.createElement("div");const d=f instanceof SVGElement;return a&&c.render===l&&(c.render=null,i.template=f.innerHTML,la(c,!1,!0)),f.innerHTML="",e(o,f,d),f instanceof Element&&(f.removeAttribute("v-cloak"),f.setAttribute("data-v-app","")),s=!0,n._container=f,f.__vue_app__=n,c.proxy},c.ctx._compat_destroy=()=>{if(s)e(null,n._container),delete n._container.__vue_app__;else{const{bum:u,scope:f,um:d}=c;u&&Mn(u),Pt("INSTANCE_EVENT_HOOKS",c)&&c.emit("hook:beforeDestroy"),f&&f.stop(),d&&Mn(d),Pt("INSTANCE_EVENT_HOOKS",c)&&c.emit("hook:destroyed")}},c.proxy}}const u5=["push","pop","shift","unshift","splice","sort","reverse"],h5=new WeakSet;function f5(n,t,e){if(Lt(e)&&!Cn(e)&&!h5.has(e)){const r=yn(e);V(e)?u5.forEach(i=>{e[i]=(...o)=>{Array.prototype[i].call(r,...o)}}):Object.keys(e).forEach(i=>{try{Q1(e,i,e[i])}catch{}})}const s=n.$;s&&n===s.proxy?(Q1(s.ctx,t,e),s.accessCache=Object.create(null)):Cn(n)?n[t]=e:Q1(n,t,e)}function Q1(n,t,e){e=Lt(e)?yn(e):e,Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get(){return ye(n,"get",t),e},set(s){e=Lt(s)?yn(s):s,nn(n,"set",t,s)}})}function xu(){return{app:null,config:{isNativeTag:a3,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let d5=0;function p5(n,t){return function(s,r=null){lt(s)||(s=Object.assign({},s)),r!=null&&!Lt(r)&&(r=null);const i=xu(),o=new Set;let a=!1;const l=i.app={_uid:d5++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Pu,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&<(c.install)?(o.add(c),c.install(l,...u)):lt(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=nt(s,r);return d.appContext=i,u&&t?t(d,c):n(d,c,f),a=!0,l._container=c,c.__vue_app__=l,oo(d.component)||d.component.proxy}},unmount(){a&&(n(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return i5(l,i,n),l}}function Xi(n,t,e,s,r=!1){if(V(n)){n.forEach((d,p)=>Xi(d,t&&(V(t)?t[p]:t),e,s,r));return}if(us(s)&&!r)return;const i=s.shapeFlag&4?oo(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=n,c=t&&t.r,u=a.refs===Dt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ut(c)?(u[c]=null,Tt(f,c)&&(f[c]=null)):ee(c)&&(c.value=null)),lt(l))sn(l,a,12,[o,u]);else{const d=Ut(l),p=ee(l);if(d||p){const E=()=>{if(n.f){const v=d?Tt(f,l)?f[l]:u[l]:l.value;r?V(v)&&c1(v,i):V(v)?v.includes(i)||v.push(i):d?(u[l]=[i],Tt(f,l)&&(f[l]=u[l])):(l.value=[i],n.k&&(u[n.k]=l.value))}else d?(u[l]=o,Tt(f,l)&&(f[l]=o)):p&&(l.value=o,n.k&&(u[n.k]=o))};o?(E.id=-1,Jt(E,e)):E()}}}let Hn=!1;const Qi=n=>/svg/.test(n.namespaceURI)&&n.tagName!=="foreignObject",Ji=n=>n.nodeType===8;function g5(n){const{mt:t,p:e,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:c}}=n,u=(y,m)=>{if(!m.hasChildNodes()){e(null,y,m),Fi(),m._vnode=y;return}Hn=!1,f(m.firstChild,y,null,null,null),Fi(),m._vnode=y,Hn&&console.error("Hydration completed but contains mismatches.")},f=(y,m,C,T,F,G=!1)=>{const z=Ji(y)&&y.data==="[",R=()=>v(y,m,C,T,F,z),{type:ot,ref:rt,shapeFlag:ut,patchFlag:Zt}=m;let Ot=y.nodeType;m.el=y,Zt===-2&&(G=!1,m.dynamicChildren=null);let it=null;switch(ot){case gs:Ot!==3?m.children===""?(l(m.el=r(""),o(y),y),it=y):it=R():(y.data!==m.children&&(Hn=!0,y.data=m.children),it=i(y));break;case ie:Ot!==8||z?it=R():it=i(y);break;case ms:if(z&&(y=i(y),Ot=y.nodeType),Ot===1||Ot===3){it=y;const qt=!m.children.length;for(let U=0;U<m.staticCount;U++)qt&&(m.children+=it.nodeType===1?it.outerHTML:it.data),U===m.staticCount-1&&(m.anchor=it),it=i(it);return z?i(it):it}else R();break;case Ht:z?it=E(y,m,C,T,F,G):it=R();break;default:if(ut&1)Ot!==1||m.type.toLowerCase()!==y.tagName.toLowerCase()?it=R():it=d(y,m,C,T,F,G);else if(ut&6){m.slotScopeIds=F;const qt=o(y);if(t(m,qt,null,C,T,Qi(qt),G),it=z?W(y):i(y),it&&Ji(it)&&it.data==="teleport end"&&(it=i(it)),us(m)){let U;z?(U=nt(Ht),U.anchor=it?it.previousSibling:qt.lastChild):U=y.nodeType===3?Ls(""):nt("div"),U.el=y,m.component.subTree=U}}else ut&64?Ot!==8?it=R():it=m.type.hydrate(y,m,C,T,F,G,n,p):ut&128&&(it=m.type.hydrate(y,m,C,T,Qi(o(y)),F,G,n,f))}return rt!=null&&Xi(rt,null,T,m),it},d=(y,m,C,T,F,G)=>{G=G||!!m.dynamicChildren;const{type:z,props:R,patchFlag:ot,shapeFlag:rt,dirs:ut}=m,Zt=z==="input"&&ut||z==="option";if(Zt||ot!==-1){if(ut&&on(m,null,C,"created"),R)if(Zt||!G||ot&48)for(const it in R)(Zt&&it.endsWith("value")||_n(it)&&!Ps(it))&&s(y,it,null,R[it],!1,void 0,C);else R.onClick&&s(y,"onClick",null,R.onClick,!1,void 0,C);let Ot;if((Ot=R&&R.onVnodeBeforeMount)&&Te(Ot,C,m),ut&&on(m,null,C,"beforeMount"),((Ot=R&&R.onVnodeMounted)||ut)&&C0(()=>{Ot&&Te(Ot,C,m),ut&&on(m,null,C,"mounted")},T),rt&16&&!(R&&(R.innerHTML||R.textContent))){let it=p(y.firstChild,m,y,C,T,F,G);for(;it;){Hn=!0;const qt=it;it=it.nextSibling,a(qt)}}else rt&8&&y.textContent!==m.children&&(Hn=!0,y.textContent=m.children)}return y.nextSibling},p=(y,m,C,T,F,G,z)=>{z=z||!!m.dynamicChildren;const R=m.children,ot=R.length;for(let rt=0;rt<ot;rt++){const ut=z?R[rt]:R[rt]=Ne(R[rt]);if(y)y=f(y,ut,T,F,G,z);else{if(ut.type===gs&&!ut.children)continue;Hn=!0,e(null,ut,C,null,T,F,Qi(C),G)}}return y},E=(y,m,C,T,F,G)=>{const{slotScopeIds:z}=m;z&&(F=F?F.concat(z):z);const R=o(y),ot=p(i(y),m,R,C,T,F,G);return ot&&Ji(ot)&&ot.data==="]"?i(m.anchor=ot):(Hn=!0,l(m.anchor=c("]"),R,ot),ot)},v=(y,m,C,T,F,G)=>{if(Hn=!0,m.el=null,G){const ot=W(y);for(;;){const rt=i(y);if(rt&&rt!==ot)a(rt);else break}}const z=i(y),R=o(y);return a(y),e(null,m,R,z,C,T,Qi(R),F),z},W=y=>{let m=0;for(;y;)if(y=i(y),y&&Ji(y)&&(y.data==="["&&m++,y.data==="]")){if(m===0)return i(y);m--}return y};return[u,f]}const Jt=C0;function Lu(n){return yu(n)}function _u(n){return yu(n,g5)}function yu(n,t){const e=d3();e.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=_e,insertStaticContent:E}=n,v=(g,x,w,k=null,S=null,D=null,j=!1,B=null,$=!!x.dynamicChildren)=>{if(g===x)return;g&&!an(g,x)&&(k=Kt(g),Ze(g,S,D,!0),g=null),x.patchFlag===-2&&($=!1,x.dynamicChildren=null);const{type:I,ref:P,shapeFlag:tt}=x;switch(I){case gs:W(g,x,w,k);break;case ie:y(g,x,w,k);break;case ms:g==null&&m(x,w,k,j);break;case Ht:Zt(g,x,w,k,S,D,j,B,$);break;default:tt&1?F(g,x,w,k,S,D,j,B,$):tt&6?Ot(g,x,w,k,S,D,j,B,$):(tt&64||tt&128)&&I.process(g,x,w,k,S,D,j,B,$,ae)}P!=null&&S&&Xi(P,g&&g.ref,D,x||g,!x)},W=(g,x,w,k)=>{if(g==null)s(x.el=a(x.children),w,k);else{const S=x.el=g.el;x.children!==g.children&&c(S,x.children)}},y=(g,x,w,k)=>{g==null?s(x.el=l(x.children||""),w,k):x.el=g.el},m=(g,x,w,k)=>{[g.el,g.anchor]=E(g.children,x,w,k,g.el,g.anchor)},C=({el:g,anchor:x},w,k)=>{let S;for(;g&&g!==x;)S=d(g),s(g,w,k),g=S;s(x,w,k)},T=({el:g,anchor:x})=>{let w;for(;g&&g!==x;)w=d(g),r(g),g=w;r(x)},F=(g,x,w,k,S,D,j,B,$)=>{j=j||x.type==="svg",g==null?G(x,w,k,S,D,j,B,$):ot(g,x,S,D,j,B,$)},G=(g,x,w,k,S,D,j,B)=>{let $,I;const{type:P,props:tt,shapeFlag:q,transition:Q,dirs:gt}=g;if($=g.el=o(g.type,D,tt&&tt.is,tt),q&8?u($,g.children):q&16&&R(g.children,$,null,k,S,D&&P!=="foreignObject",j,B),gt&&on(g,null,k,"created"),tt){for(const Nt in tt)Nt!=="value"&&!Ps(Nt)&&i($,Nt,null,tt[Nt],D,g.children,k,S,bt);"value"in tt&&i($,"value",null,tt.value),(I=tt.onVnodeBeforeMount)&&Te(I,k,g)}z($,g,g.scopeId,j,k),gt&&on(g,null,k,"beforeMount");const St=(!S||S&&!S.pendingBranch)&&Q&&!Q.persisted;St&&Q.beforeEnter($),s($,x,w),((I=tt&&tt.onVnodeMounted)||St||gt)&&Jt(()=>{I&&Te(I,k,g),St&&Q.enter($),gt&&on(g,null,k,"mounted")},S)},z=(g,x,w,k,S)=>{if(w&&p(g,w),k)for(let D=0;D<k.length;D++)p(g,k[D]);if(S){let D=S.subTree;if(x===D){const j=S.vnode;z(g,j,j.scopeId,j.slotScopeIds,S.parent)}}},R=(g,x,w,k,S,D,j,B,$=0)=>{for(let I=$;I<g.length;I++){const P=g[I]=B?Vn(g[I]):Ne(g[I]);v(null,P,x,w,k,S,D,j,B)}},ot=(g,x,w,k,S,D,j)=>{const B=x.el=g.el;let{patchFlag:$,dynamicChildren:I,dirs:P}=x;$|=g.patchFlag&16;const tt=g.props||Dt,q=x.props||Dt;let Q;w&&ps(w,!1),(Q=q.onVnodeBeforeUpdate)&&Te(Q,w,x,g),P&&on(x,g,w,"beforeUpdate"),w&&ps(w,!0);const gt=S&&x.type!=="foreignObject";if(I?rt(g.dynamicChildren,I,B,w,k,gt,D):j||Ct(g,x,B,null,w,k,gt,D,!1),$>0){if($&16)ut(B,x,tt,q,w,k,S);else if($&2&&tt.class!==q.class&&i(B,"class",null,q.class,S),$&4&&i(B,"style",tt.style,q.style,S),$&8){const St=x.dynamicProps;for(let Nt=0;Nt<St.length;Nt++){const jt=St[Nt],K=tt[jt],at=q[jt];(at!==K||jt==="value")&&i(B,jt,K,at,S,g.children,w,k,bt)}}$&1&&g.children!==x.children&&u(B,x.children)}else!j&&I==null&&ut(B,x,tt,q,w,k,S);((Q=q.onVnodeUpdated)||P)&&Jt(()=>{Q&&Te(Q,w,x,g),P&&on(x,g,w,"updated")},k)},rt=(g,x,w,k,S,D,j)=>{for(let B=0;B<x.length;B++){const $=g[B],I=x[B],P=$.el&&($.type===Ht||!an($,I)||$.shapeFlag&70)?f($.el):w;v($,I,P,null,k,S,D,j,!0)}},ut=(g,x,w,k,S,D,j)=>{if(w!==k){if(w!==Dt)for(const B in w)!Ps(B)&&!(B in k)&&i(g,B,w[B],null,j,x.children,S,D,bt);for(const B in k){if(Ps(B))continue;const $=k[B],I=w[B];$!==I&&B!=="value"&&i(g,B,I,$,j,x.children,S,D,bt)}"value"in k&&i(g,"value",w.value,k.value)}},Zt=(g,x,w,k,S,D,j,B,$)=>{const I=x.el=g?g.el:a(""),P=x.anchor=g?g.anchor:a("");let{patchFlag:tt,dynamicChildren:q,slotScopeIds:Q}=x;Q&&(B=B?B.concat(Q):Q),g==null?(s(I,w,k),s(P,w,k),R(x.children,w,P,S,D,j,B,$)):tt>0&&tt&64&&q&&g.dynamicChildren?(rt(g.dynamicChildren,q,w,S,D,j,B),(x.key!=null||S&&x===S.subTree)&&J1(g,x,!0)):Ct(g,x,w,P,S,D,j,B,$)},Ot=(g,x,w,k,S,D,j,B,$)=>{x.slotScopeIds=B,g==null?x.shapeFlag&512?S.ctx.activate(x,w,k,j,$):it(x,w,k,S,D,j,$):qt(g,x,$)},it=(g,x,w,k,S,D,j)=>{const B=g.isCompatRoot&&g.component,$=B||(g.component=sa(g,k,S));if(Ir(g)&&($.ctx.renderer=ae),B||ra($),$.asyncDep){if(S&&S.registerDep($,U),!g.el){const I=$.subTree=nt(ie);y(null,I,x,w)}return}U($,g,x,w,S,D,j)},qt=(g,x,w)=>{const k=x.component=g.component;if(x4(g,x,w))if(k.asyncDep&&!k.asyncResolved){pt(k,x,w);return}else k.next=x,r4(k.update),k.update();else x.el=g.el,k.vnode=x},U=(g,x,w,k,S,D,j)=>{const B=()=>{if(g.isMounted){let{next:P,bu:tt,u:q,parent:Q,vnode:gt}=g,St=P,Nt;ps(g,!1),P?(P.el=gt.el,pt(g,P,j)):P=gt,tt&&Mn(tt),(Nt=P.props&&P.props.onVnodeBeforeUpdate)&&Te(Nt,Q,P,gt),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeUpdate"),ps(g,!0);const jt=Hi(g),K=g.subTree;g.subTree=jt,v(K,jt,f(K.el),Kt(K),g,S,D),P.el=jt.el,St===null&&N1(g,jt.el),q&&Jt(q,S),(Nt=P.props&&P.props.onVnodeUpdated)&&Jt(()=>Te(Nt,Q,P,gt),S),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:updated"),S)}else{let P;const{el:tt,props:q}=x,{bm:Q,m:gt,parent:St}=g,Nt=us(x);if(ps(g,!1),Q&&Mn(Q),!Nt&&(P=q&&q.onVnodeBeforeMount)&&Te(P,St,x),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeMount"),ps(g,!0),tt&&Re){const jt=()=>{g.subTree=Hi(g),Re(tt,g.subTree,g,S,null)};Nt?x.type.__asyncLoader().then(()=>!g.isUnmounted&&jt()):jt()}else{const jt=g.subTree=Hi(g);v(null,jt,w,k,g,S,D),x.el=jt.el}if(gt&&Jt(gt,S),!Nt&&(P=q&&q.onVnodeMounted)){const jt=x;Jt(()=>Te(P,St,jt),S)}Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:mounted"),S),(x.shapeFlag&256||St&&us(St.vnode)&&St.vnode.shapeFlag&256)&&(g.a&&Jt(g.a,S),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:activated"),S)),g.isMounted=!0,x=w=k=null}},$=g.effect=new Er(B,()=>Mi(I),g.scope),I=g.update=()=>$.run();I.id=g.uid,ps(g,!0),I()},pt=(g,x,w)=>{x.component=g;const k=g.vnode.props;g.vnode=x,g.next=null,J4(g,x.props,k,w),n5(g,x.children,w),Ds(),f0(),Bs()},Ct=(g,x,w,k,S,D,j,B,$=!1)=>{const I=g&&g.children,P=g?g.shapeFlag:0,tt=x.children,{patchFlag:q,shapeFlag:Q}=x;if(q>0){if(q&128){We(I,tt,w,k,S,D,j,B,$);return}else if(q&256){ze(I,tt,w,k,S,D,j,B,$);return}}Q&8?(P&16&&bt(I,S,D),tt!==I&&u(w,tt)):P&16?Q&16?We(I,tt,w,k,S,D,j,B,$):bt(I,S,D,!0):(P&8&&u(w,""),Q&16&&R(tt,w,k,S,D,j,B,$))},ze=(g,x,w,k,S,D,j,B,$)=>{g=g||Os,x=x||Os;const I=g.length,P=x.length,tt=Math.min(I,P);let q;for(q=0;q<tt;q++){const Q=x[q]=$?Vn(x[q]):Ne(x[q]);v(g[q],Q,w,null,S,D,j,B,$)}I>P?bt(g,S,D,!0,!1,tt):R(x,w,k,S,D,j,B,$,tt)},We=(g,x,w,k,S,D,j,B,$)=>{let I=0;const P=x.length;let tt=g.length-1,q=P-1;for(;I<=tt&&I<=q;){const Q=g[I],gt=x[I]=$?Vn(x[I]):Ne(x[I]);if(an(Q,gt))v(Q,gt,w,null,S,D,j,B,$);else break;I++}for(;I<=tt&&I<=q;){const Q=g[tt],gt=x[q]=$?Vn(x[q]):Ne(x[q]);if(an(Q,gt))v(Q,gt,w,null,S,D,j,B,$);else break;tt--,q--}if(I>tt){if(I<=q){const Q=q+1,gt=Q<P?x[Q].el:k;for(;I<=q;)v(null,x[I]=$?Vn(x[I]):Ne(x[I]),w,gt,S,D,j,B,$),I++}}else if(I>q)for(;I<=tt;)Ze(g[I],S,D,!0),I++;else{const Q=I,gt=I,St=new Map;for(I=gt;I<=q;I++){const se=x[I]=$?Vn(x[I]):Ne(x[I]);se.key!=null&&St.set(se.key,I)}let Nt,jt=0;const K=q-gt+1;let at=!1,xt=0;const wt=new Array(K);for(I=0;I<K;I++)wt[I]=0;for(I=Q;I<=tt;I++){const se=g[I];if(jt>=K){Ze(se,S,D,!0);continue}let qe;if(se.key!=null)qe=St.get(se.key);else for(Nt=gt;Nt<=q;Nt++)if(wt[Nt-gt]===0&&an(se,x[Nt])){qe=Nt;break}qe===void 0?Ze(se,S,D,!0):(wt[qe-gt]=I+1,qe>=xt?xt=qe:at=!0,v(se,x[qe],w,null,S,D,j,B,$),jt++)}const le=at?m5(wt):Os;for(Nt=le.length-1,I=K-1;I>=0;I--){const se=gt+I,qe=x[se],Fd=se+1<P?x[se+1].el:k;wt[I]===0?v(null,qe,w,Fd,S,D,j,B,$):at&&(Nt<0||I!==le[Nt]?Pn(qe,w,Fd,2):Nt--)}}},Pn=(g,x,w,k,S=null)=>{const{el:D,type:j,transition:B,children:$,shapeFlag:I}=g;if(I&6){Pn(g.component.subTree,x,w,k);return}if(I&128){g.suspense.move(x,w,k);return}if(I&64){j.move(g,x,w,ae);return}if(j===Ht){s(D,x,w);for(let tt=0;tt<$.length;tt++)Pn($[tt],x,w,k);s(g.anchor,x,w);return}if(j===ms){C(g,x,w);return}if(k!==2&&I&1&&B)if(k===0)B.beforeEnter(D),s(D,x,w),Jt(()=>B.enter(D),S);else{const{leave:tt,delayLeave:q,afterLeave:Q}=B,gt=()=>s(D,x,w),St=()=>{tt(D,()=>{gt(),Q&&Q()})};q?q(D,gt,St):St()}else s(D,x,w)},Ze=(g,x,w,k=!1,S=!1)=>{const{type:D,props:j,ref:B,children:$,dynamicChildren:I,shapeFlag:P,patchFlag:tt,dirs:q}=g;if(B!=null&&Xi(B,null,w,g,!0),P&256){x.ctx.deactivate(g);return}const Q=P&1&&q,gt=!us(g);let St;if(gt&&(St=j&&j.onVnodeBeforeUnmount)&&Te(St,x,g),P&6)Et(g.component,w,k);else{if(P&128){g.suspense.unmount(w,k);return}Q&&on(g,null,x,"beforeUnmount"),P&64?g.type.remove(g,x,w,S,ae,k):I&&(D!==Ht||tt>0&&tt&64)?bt(I,x,w,!1,!0):(D===Ht&&tt&384||!S&&P&16)&&bt($,x,w),k&&O(g)}(gt&&(St=j&&j.onVnodeUnmounted)||Q)&&Jt(()=>{St&&Te(St,x,g),Q&&on(g,null,x,"unmounted")},w)},O=g=>{const{type:x,el:w,anchor:k,transition:S}=g;if(x===Ht){st(w,k);return}if(x===ms){T(g);return}const D=()=>{r(w),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(g.shapeFlag&1&&S&&!S.persisted){const{leave:j,delayLeave:B}=S,$=()=>j(w,D);B?B(g.el,D,$):$()}else D()},st=(g,x)=>{let w;for(;g!==x;)w=d(g),r(g),g=w;r(x)},Et=(g,x,w)=>{const{bum:k,scope:S,update:D,subTree:j,um:B}=g;k&&Mn(k),Pt("INSTANCE_EVENT_HOOKS",g)&&g.emit("hook:beforeDestroy"),S.stop(),D&&(D.active=!1,Ze(j,g,x,w)),B&&Jt(B,x),Pt("INSTANCE_EVENT_HOOKS",g)&&Jt(()=>g.emit("hook:destroyed"),x),Jt(()=>{g.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},bt=(g,x,w,k=!1,S=!1,D=0)=>{for(let j=D;j<g.length;j++)Ze(g[j],x,w,k,S)},Kt=g=>g.shapeFlag&6?Kt(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),xn=(g,x,w)=>{g==null?x._vnode&&Ze(x._vnode,null,null,!0):v(x._vnode||null,g,x,null,null,null,w),f0(),Fi(),x._vnode=g},ae={p:v,um:Ze,m:Pn,r:O,mt:it,mc:R,pc:Ct,pbc:rt,n:Kt,o:n};let Se,Re;return t&&([Se,Re]=t(ae)),{render:xn,hydrate:Se,createApp:p5(xn,Se)}}function ps({effect:n,update:t},e){n.allowRecurse=t.allowRecurse=e}function J1(n,t,e=!1){const s=n.children,r=t.children;if(V(s)&&V(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=Vn(r[i]),a.el=o.el),e||J1(o,a)),a.type===gs&&(a.el=o.el)}}function m5(n){const t=n.slice(),e=[0];let s,r,i,o,a;const l=n.length;for(s=0;s<l;s++){const c=n[s];if(c!==0){if(r=e[e.length-1],n[r]<c){t[s]=r,e.push(s);continue}for(i=0,o=e.length-1;i<o;)a=i+o>>1,n[e[a]]<c?i=a+1:o=a;c<n[e[i]]&&(i>0&&(t[s]=e[i-1]),e[i]=s)}}for(i=e.length,o=e[i-1];i-- >0;)e[i]=o,o=t[o];return e}const x5=n=>n.__isTeleport,Br=n=>n&&(n.disabled||n.disabled===""),Cu=n=>typeof SVGElement<"u"&&n instanceof SVGElement,ta=(n,t)=>{const e=n&&n.to;return Ut(e)?t?t(e):null:e},L5={__isTeleport:!0,process(n,t,e,s,r,i,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:E,createText:v,createComment:W}}=c,y=Br(t.props);let{shapeFlag:m,children:C,dynamicChildren:T}=t;if(n==null){const F=t.el=v(""),G=t.anchor=v("");p(F,e,s),p(G,e,s);const z=t.target=ta(t.props,E),R=t.targetAnchor=v("");z&&(p(R,z),o=o||Cu(z));const ot=(rt,ut)=>{m&16&&u(C,rt,ut,r,i,o,a,l)};y?ot(e,G):z&&ot(z,R)}else{t.el=n.el;const F=t.anchor=n.anchor,G=t.target=n.target,z=t.targetAnchor=n.targetAnchor,R=Br(n.props),ot=R?e:G,rt=R?F:z;if(o=o||Cu(G),T?(d(n.dynamicChildren,T,ot,r,i,o,a),J1(n,t,!0)):l||f(n,t,ot,rt,r,i,o,a,!1),y)R||to(t,e,F,c,1);else if((t.props&&t.props.to)!==(n.props&&n.props.to)){const ut=t.target=ta(t.props,E);ut&&to(t,ut,null,c,0)}else R&&to(t,G,z,c,1)}Eu(t)},remove(n,t,e,s,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=n;if(f&&i(u),(o||!Br(d))&&(i(c),a&16))for(let p=0;p<l.length;p++){const E=l[p];r(E,t,e,!0,!!E.dynamicChildren)}},move:to,hydrate:_5};function to(n,t,e,{o:{insert:s},m:r},i=2){i===0&&s(n.targetAnchor,t,e);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=n,f=i===2;if(f&&s(o,t,e),(!f||Br(u))&&l&16)for(let d=0;d<c.length;d++)r(c[d],t,e,2);f&&s(a,t,e)}function _5(n,t,e,s,r,i,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=ta(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Br(t.props))t.anchor=c(o(n),t,a(n),e,s,r,i),t.targetAnchor=f;else{t.anchor=o(n);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(f,t,u,e,s,r,i)}Eu(t)}return t.anchor&&o(t.anchor)}const y5=L5;function Eu(n){const t=n.ctx;if(t&&t.ut){let e=n.children[0].el;for(;e!==n.targetAnchor;)e.nodeType===1&&e.setAttribute("data-v-owner",t.uid),e=e.nextSibling;t.ut()}}const ea=new Map;function C5(n){if(ea.has(n))return ea.get(n);let t,e;const s=new Promise((o,a)=>{t=o,e=a}),r=n(t,e);let i;return yi(r)?i=ji(()=>r):Lt(r)&&!Oe(r)&&!V(r)?i=ji({loader:()=>r.component,loadingComponent:r.loading,errorComponent:r.error,delay:r.delay,timeout:r.timeout}):r==null?i=ji(()=>s):i=n,ea.set(n,i),i}function E5(n,t){return n.__isBuiltIn?n:(lt(n)&&n.cid&&(n=n.options),lt(n)&&Bi("COMPONENT_ASYNC",t,n)?C5(n):Lt(n)&&n.functional&&bn("COMPONENT_FUNCTIONAL",t,n)?M4(n):n)}const Ht=Symbol(void 0),gs=Symbol(void 0),ie=Symbol(void 0),ms=Symbol(void 0),$r=[];let be=null;function N(n=!1){$r.push(be=n?null:[])}function bu(){$r.pop(),be=$r[$r.length-1]||null}let xs=1;function na(n){xs+=n}function Tu(n){return n.dynamicChildren=xs>0?be||Os:null,bu(),xs>0&&be&&be.push(n),n}function et(n,t,e,s,r,i){return Tu(A(n,t,e,s,r,i,!0))}function Mt(n,t,e,s,r){return Tu(nt(n,t,e,s,r,!0))}function Oe(n){return n?n.__v_isVNode===!0:!1}function an(n,t){return n.type===t.type&&n.key===t.key}function b5(n){}const eo="__vInternal",wu=({key:n})=>n!=null?n:null,no=({ref:n,ref_key:t,ref_for:e})=>n!=null?Ut(n)||ee(n)||lt(n)?{i:Qt,r:n,k:t,f:!!e}:n:null;function A(n,t=null,e=null,s=0,r=null,i=n===Ht?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:t,key:t&&wu(t),ref:t&&no(t),scopeId:Hs,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qt};return a?(so(l,e),i&128&&n.normalize(l)):e&&(l.shapeFlag|=Ut(e)?8:16),xs>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),u4(l),Z0(l),l}const nt=T5;function T5(n,t=null,e=null,s=0,r=null,i=!1){if((!n||n===H0)&&(n=ie),Oe(n)){const a=Ye(n,t,!0);return e&&so(a,e),xs>0&&!i&&be&&(a.shapeFlag&6?be[be.indexOf(n)]=a:be.push(a)),a.patchFlag|=-2,a}if(k5(n)&&(n=n.__vccOpts),n=E5(n,Qt),t){t=vu(t);let{class:a,style:l}=t;a&&!Ut(a)&&(t.class=Ft(a)),Lt(l)&&(_1(l)&&!V(l)&&(l=yt({},l)),t.style=_t(l))}const o=Ut(n)?1:_0(n)?128:x5(n)?64:Lt(n)?4:lt(n)?2:0;return A(n,t,e,s,r,o,i,!0)}function vu(n){return n?_1(n)||eo in n?yt({},n):n:null}function Ye(n,t,e=!1){const{props:s,ref:r,patchFlag:i,children:o}=n,a=t?ro(s||{},t):s,l={__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&wu(a),ref:t&&t.ref?e&&r?V(r)?r.concat(no(t)):[r,no(t)]:no(t):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:t&&n.type!==Ht?i===-1?16:i|16:i,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Ye(n.ssContent),ssFallback:n.ssFallback&&Ye(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx};return Z0(l),l}function Ls(n=" ",t=0){return nt(gs,null,n,t)}function Ur(n,t){const e=nt(ms,null,n);return e.staticCount=t,e}function At(n="",t=!1){return t?(N(),Mt(ie,null,n)):nt(ie,null,n)}function Ne(n){return n==null||typeof n=="boolean"?nt(ie):V(n)?nt(Ht,null,n.slice()):typeof n=="object"?Vn(n):nt(gs,null,String(n))}function Vn(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Ye(n)}function so(n,t){let e=0;const{shapeFlag:s}=n;if(t==null)t=null;else if(V(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),so(n,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(eo in t)?t._ctx=Qt:r===3&&Qt&&(Qt.slots._===1?t._=1:(t._=2,n.patchFlag|=1024))}else lt(t)?(t={default:t,_ctx:Qt},e=32):(t=String(t),s&64?(e=16,t=[Ls(t)]):e=8);n.children=t,n.shapeFlag|=e}function ro(...n){const t={};for(let e=0;e<n.length;e++){const s=n[e];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ft([t.class,s.class]));else if(r==="style")t.style=_t([t.style,s.style]);else if(_n(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Te(n,t,e,s=null){Ce(n,t,7,[e,s])}const w5=xu();let v5=0;function sa(n,t,e){const s=n.type,r=(t?t.appContext:n.appContext)||w5,i={uid:v5++,vnode:n,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new h1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lu(s,r),emitsOptions:x0(s,r),emit:null,emitted:null,propsDefaults:Dt,inheritAttrs:s.inheritAttrs,ctx:Dt,data:Dt,props:Dt,attrs:Dt,slots:Dt,refs:Dt,setupState:Dt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=f4.bind(null,i),n.ce&&n.ce(i),i}let te=null;const ln=()=>te||Qt,Gn=n=>{te=n,n.scope.on()},jn=()=>{te&&te.scope.off(),te=null};function Au(n){return n.vnode.shapeFlag&4}let zs=!1;function ra(n,t=!1){zs=t;const{props:e,children:s}=n.vnode,r=Au(n);Q4(n,e,r,t),e5(n,s);const i=r?A5(n,t):void 0;return zs=!1,i}function A5(n,t){const e=n.type;n.accessCache=Object.create(null),n.proxy=y1(new Proxy(n.ctx,Z1));const{setup:s}=e;if(s){const r=n.setupContext=s.length>1?Su(n):null;Gn(n),Ds();const i=sn(s,n,0,[n.props,r]);if(Bs(),jn(),yi(i)){if(i.then(jn,jn),t)return i.then(o=>{ia(n,o,t)}).catch(o=>{ss(o,n,0)});n.asyncDep=i}else ia(n,i,t)}else la(n,t)}function ia(n,t,e){lt(t)?n.type.__ssrInlineRender?n.ssrRender=t:n.render=t:Lt(t)&&(n.setupState=b1(t)),la(n,e)}let io,oa;function S5(n){io=n,oa=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Z4))}}const aa=()=>!io;function la(n,t,e){const s=n.type;if(O4(n),!n.render){if(!t&&io&&!s.render){const r=n.vnode.props&&n.vnode.props["inline-template"]||s.template||Dr(n).template;if(r){const{isCustomElement:i,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=s,c=yt(yt({isCustomElement:i,delimiters:a},o),l);c.compatConfig=Object.create(A1),s.compatConfig&&yt(c.compatConfig,s.compatConfig),s.render=io(r,c)}}n.render=s.render||_e,oa&&oa(n)}e||(Gn(n),Ds(),q4(n),Bs(),jn())}function R5(n){return new Proxy(n.attrs,{get(t,e){return ye(n,"get","$attrs"),t[e]}})}function Su(n){const t=s=>{n.exposed=s||{}};let e;return{get attrs(){return e||(e=R5(n))},slots:n.slots,emit:n.emit,expose:t}}function oo(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(b1(y1(n.exposed)),{get(t,e){if(e in t)return t[e];if(e in js)return js[e](n)},has(t,e){return e in t||e in js}}))}function ca(n,t=!0){return lt(n)?n.displayName||n.name:n.name||t&&n.__name}function k5(n){return lt(n)&&"__vccOpts"in n}const ua=(n,t)=>t4(n,t,zs);function I5(){return null}function O5(){return null}function N5(n){}function P5(n,t){return null}function M5(){return Ru().slots}function F5(){return Ru().attrs}function Ru(){const n=ln();return n.setupContext||(n.setupContext=Su(n))}function D5(n,t){const e=V(n)?n.reduce((s,r)=>(s[r]={},s),{}):n;for(const s in t){const r=e[s];r?V(r)||lt(r)?e[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(e[s]={default:t[s]})}return e}function B5(n,t){const e={};for(const s in n)t.includes(s)||Object.defineProperty(e,s,{enumerable:!0,get:()=>n[s]});return e}function $5(n){const t=ln();let e=n();return jn(),yi(e)&&(e=e.catch(s=>{throw Gn(t),s})),[e,()=>Gn(t)]}function ku(n,t,e){const s=arguments.length;return s===2?Lt(t)&&!V(t)?Oe(t)?nt(n,null,[t]):nt(n,t):nt(n,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&Oe(e)&&(e=[e]),nt(n,t,e))}const Iu=Symbol(""),Ou=()=>as(Iu);function U5(){}function H5(n,t,e,s){const r=e[s];if(r&&Nu(r,n))return r;const i=t();return i.memo=n.slice(),e[s]=i}function Nu(n,t){const e=n.memo;if(e.length!=t.length)return!1;for(let s=0;s<e.length;s++)if(Fs(e[s],t[s]))return!1;return xs>0&&be&&be.push(n),!0}const Pu="3.2.45",V5={createComponentInstance:sa,setupComponent:ra,renderComponentRoot:Hi,setCurrentRenderingInstance:Sr,isVNode:Oe,normalizeVNode:Ne},G5=G0,cn={warnDeprecation:o4,createCompatVue:r5,isCompatEnabled:Pt,checkCompatEnabled:Bi,softAssertCompatEnabled:bn},j5="http://www.w3.org/2000/svg",_s=typeof document<"u"?document:null,Mu=_s&&_s.createElement("template"),z5={insert:(n,t,e)=>{t.insertBefore(n,e||null)},remove:n=>{const t=n.parentNode;t&&t.removeChild(n)},createElement:(n,t,e,s)=>{const r=t?_s.createElementNS(j5,n):_s.createElement(n,e?{is:e}:void 0);return n==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:n=>_s.createTextNode(n),createComment:n=>_s.createComment(n),setText:(n,t)=>{n.nodeValue=t},setElementText:(n,t)=>{n.textContent=t},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>_s.querySelector(n),setScopeId(n,t){n.setAttribute(t,"")},insertStaticContent(n,t,e,s,r,i){const o=e?e.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===i||!(r=r.nextSibling)););else{Mu.innerHTML=s?`<svg>${n}</svg>`:n;const a=Mu.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,e)}return[o?o.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}};function W5(n,t,e){const s=n._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?n.removeAttribute("class"):e?n.setAttribute("class",t):n.className=t}function Z5(n,t,e){const s=n.style,r=Ut(e);if(e&&!r){for(const i in e)ha(s,i,e[i]);if(t&&!Ut(t))for(const i in t)e[i]==null&&ha(s,i,"")}else{const i=s.display;r?t!==e&&(s.cssText=e):t&&n.removeAttribute("style"),"_vod"in n&&(s.display=i)}}const Fu=/\s*!important$/;function ha(n,t,e){if(V(e))e.forEach(s=>ha(n,t,s));else if(e==null&&(e=""),t.startsWith("--"))n.setProperty(t,e);else{const s=q5(n,t);Fu.test(e)?n.setProperty(pe(s),e.replace(Fu,""),"important"):n[s]=e}}const Du=["Webkit","Moz","ms"],fa={};function q5(n,t){const e=fa[t];if(e)return e;let s=de(t);if(s!=="filter"&&s in n)return fa[t]=s;s=yr(s);for(let r=0;r<Du.length;r++){const i=Du[r]+s;if(i in n)return fa[t]=i}return t}const Bu="http://www.w3.org/1999/xlink";function K5(n,t,e,s,r){if(s&&t.startsWith("xlink:"))e==null?n.removeAttributeNS(Bu,t.slice(6,t.length)):n.setAttributeNS(Bu,t,e);else{if(X5(n,t,e,r))return;const i=Oc(t);e==null||i&&!Nc(e)?n.removeAttribute(t):n.setAttribute(t,i?"":e)}}const Y5=Is("contenteditable,draggable,spellcheck");function X5(n,t,e,s=null){if(Y5(t)){const r=e===null?"false":typeof e!="boolean"&&e!==void 0?"true":null;if(r&&cn.softAssertCompatEnabled("ATTR_ENUMERATED_COERCION",s,t,e,r))return n.setAttribute(t,r),!0}else if(e===!1&&!Oc(t)&&cn.softAssertCompatEnabled("ATTR_FALSE_VALUE",s,t))return n.removeAttribute(t),!0;return!1}function Q5(n,t,e,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),n[t]=e==null?"":e;return}if(t==="value"&&n.tagName!=="PROGRESS"&&!n.tagName.includes("-")){n._value=e;const l=e==null?"":e;(n.value!==l||n.tagName==="OPTION")&&(n.value=l),e==null&&n.removeAttribute(t);return}let a=!1;if(e===""||e==null){const l=typeof n[t];l==="boolean"?e=Nc(e):e==null&&l==="string"?(e="",a=!0):l==="number"&&(e=0,a=!0)}else if(e===!1&&cn.isCompatEnabled("ATTR_FALSE_VALUE",r)){const l=typeof n[t];(l==="string"||l==="number")&&(e=l==="number"?0:"",a=!0)}try{n[t]=e}catch{}a&&n.removeAttribute(t)}function vn(n,t,e,s){n.addEventListener(t,e,s)}function J5(n,t,e,s){n.removeEventListener(t,e,s)}function t9(n,t,e,s,r=null){const i=n._vei||(n._vei={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=e9(t);if(s){const c=i[t]=r9(s,r);vn(n,a,c,l)}else o&&(J5(n,a,o,l),i[t]=void 0)}}const $u=/(?:Once|Passive|Capture)$/;function e9(n){let t;if($u.test(n)){t={};let s;for(;s=n.match($u);)n=n.slice(0,n.length-s[0].length),t[s[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):pe(n.slice(2)),t]}let da=0;const n9=Promise.resolve(),s9=()=>da||(n9.then(()=>da=0),da=Date.now());function r9(n,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;Ce(i9(s,e.value),t,5,[s])};return e.value=n,e.attached=s9(),e}function i9(n,t){if(V(t)){const e=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{e.call(n),n._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Uu=/^on[a-z]/,o9=(n,t,e,s,r=!1,i,o,a,l)=>{t==="class"?W5(n,s,r):t==="style"?Z5(n,e,s):_n(t)?l1(t)||t9(n,t,e,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):a9(n,t,s,r))?Q5(n,t,s,i,o,a,l):(t==="true-value"?n._trueValue=s:t==="false-value"&&(n._falseValue=s),K5(n,t,s,r,o))};function a9(n,t,e,s){return s?!!(t==="innerHTML"||t==="textContent"||t in n&&Uu.test(t)&<(e)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&n.tagName==="INPUT"||t==="type"&&n.tagName==="TEXTAREA"||Uu.test(t)&&Ut(e)?!1:t in n}function Hu(n,t){const e=B1(n);class s extends ao{constructor(i){super(e,i,t)}}return s.def=e,s}const l9=n=>Hu(n,hh),c9=typeof HTMLElement<"u"?HTMLElement:class{};class ao extends c9{constructor(t,e={},s){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,vr(()=>{this._connected||(ya(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:i,styles:o}=s;let a;if(i&&!V(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=en(this._props[l])),(a||(a=Object.create(null)))[de(l)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(o),this._update()},e=this._def.__asyncLoader;e?e().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:e}=t,s=V(e)?e:Object.keys(e||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(de))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let e=this.getAttribute(t);const s=de(t);this._numberProps&&this._numberProps[s]&&(e=en(e)),this._setProp(s,e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,s=!0,r=!0){e!==this._props[t]&&(this._props[t]=e,r&&this._instance&&this._update(),s&&(e===!0?this.setAttribute(pe(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(pe(t),e+""):e||this.removeAttribute(pe(t))))}_update(){ya(this._createVNode(),this.shadowRoot)}_createVNode(){const t=nt(this._def,yt({},this._props));return this._instance||(t.ce=e=>{this._instance=e,e.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};e.emit=(i,...o)=>{s(i,o),pe(i)!==i&&s(pe(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ao){e.parent=r._instance,e.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(e=>{const s=document.createElement("style");s.textContent=e,this.shadowRoot.appendChild(s)})}}function u9(n="$style"){{const t=ln();if(!t)return Dt;const e=t.type.__cssModules;if(!e)return Dt;const s=e[n];return s||Dt}}function h9(n){const t=ln();if(!t)return;const e=t.ut=(r=n(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>ga(i,r))},s=()=>{const r=n(t.proxy);pa(t.subTree,r),e(r)};b0(s),Nr(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Mr(()=>r.disconnect())})}function pa(n,t){if(n.shapeFlag&128){const e=n.suspense;n=e.activeBranch,e.pendingBranch&&!e.isHydrating&&e.effects.push(()=>{pa(e.activeBranch,t)})}for(;n.component;)n=n.component.subTree;if(n.shapeFlag&1&&n.el)ga(n.el,t);else if(n.type===Ht)n.children.forEach(e=>pa(e,t));else if(n.type===ms){let{el:e,anchor:s}=n;for(;e&&(ga(e,t),e!==s);)e=e.nextSibling}}function ga(n,t){if(n.nodeType===1){const e=n.style;for(const s in t)e.setProperty(`--${s}`,t[s])}}const zn="transition",Hr="animation",Vr=(n,{slots:t})=>ku(F1,ju(n),t);Vr.displayName="Transition",Vr.__isBuiltIn=!0;const Vu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},f9=Vr.props=yt({},F1.props,Vu),ys=(n,t=[])=>{V(n)?n.forEach(e=>e(...t)):n&&n(...t)},Gu=n=>n?V(n)?n.some(t=>t.length>1):n.length>1:!1;function ju(n){const t={};for(const U in n)U in Vu||(t[U]=n[U]);if(n.css===!1)return t;const{name:e="v",type:s,duration:r,enterFromClass:i=`${e}-enter-from`,enterActiveClass:o=`${e}-enter-active`,enterToClass:a=`${e}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:p=`${e}-leave-to`}=n,E=cn.isCompatEnabled("TRANSITION_CLASSES",null);let v,W,y;if(E){const U=pt=>pt.replace(/-from$/,"");n.enterFromClass||(v=U(i)),n.appearFromClass||(W=U(l)),n.leaveFromClass||(y=U(f))}const m=d9(r),C=m&&m[0],T=m&&m[1],{onBeforeEnter:F,onEnter:G,onEnterCancelled:z,onLeave:R,onLeaveCancelled:ot,onBeforeAppear:rt=F,onAppear:ut=G,onAppearCancelled:Zt=z}=t,Ot=(U,pt,Ct)=>{un(U,pt?u:a),un(U,pt?c:o),Ct&&Ct()},it=(U,pt)=>{U._isLeaving=!1,un(U,f),un(U,p),un(U,d),pt&&pt()},qt=U=>(pt,Ct)=>{const ze=U?ut:G,We=()=>Ot(pt,U,Ct);ys(ze,[pt,We]),zu(()=>{un(pt,U?l:i),E&&un(pt,U?W:v),He(pt,U?u:a),Gu(ze)||Wu(pt,s,C,We)})};return yt(t,{onBeforeEnter(U){ys(F,[U]),He(U,i),E&&He(U,v),He(U,o)},onBeforeAppear(U){ys(rt,[U]),He(U,l),E&&He(U,W),He(U,c)},onEnter:qt(!1),onAppear:qt(!0),onLeave(U,pt){U._isLeaving=!0;const Ct=()=>it(U,pt);He(U,f),E&&He(U,y),Yu(),He(U,d),zu(()=>{!U._isLeaving||(un(U,f),E&&un(U,y),He(U,p),Gu(R)||Wu(U,s,T,Ct))}),ys(R,[U,Ct])},onEnterCancelled(U){Ot(U,!1),ys(z,[U])},onAppearCancelled(U){Ot(U,!0),ys(Zt,[U])},onLeaveCancelled(U){it(U),ys(ot,[U])}})}function d9(n){if(n==null)return null;if(Lt(n))return[ma(n.enter),ma(n.leave)];{const t=ma(n);return[t,t]}}function ma(n){return en(n)}function He(n,t){t.split(/\s+/).forEach(e=>e&&n.classList.add(e)),(n._vtc||(n._vtc=new Set)).add(t)}function un(n,t){t.split(/\s+/).forEach(s=>s&&n.classList.remove(s));const{_vtc:e}=n;e&&(e.delete(t),e.size||(n._vtc=void 0))}function zu(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let p9=0;function Wu(n,t,e,s){const r=n._endId=++p9,i=()=>{r===n._endId&&s()};if(e)return setTimeout(i,e);const{type:o,timeout:a,propCount:l}=Zu(n,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{n.removeEventListener(c,d),i()},d=p=>{p.target===n&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),n.addEventListener(c,d)}function Zu(n,t){const e=window.getComputedStyle(n),s=E=>(e[E]||"").split(", "),r=s(`${zn}Delay`),i=s(`${zn}Duration`),o=qu(r,i),a=s(`${Hr}Delay`),l=s(`${Hr}Duration`),c=qu(a,l);let u=null,f=0,d=0;t===zn?o>0&&(u=zn,f=o,d=i.length):t===Hr?c>0&&(u=Hr,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?zn:Hr:null,d=u?u===zn?i.length:l.length:0);const p=u===zn&&/\b(transform|all)(,|$)/.test(s(`${zn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function qu(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max(...t.map((e,s)=>Ku(e)+Ku(n[s])))}function Ku(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function Yu(){return document.body.offsetHeight}const Xu=new WeakMap,Qu=new WeakMap,Ju={name:"TransitionGroup",props:yt({},f9,{tag:String,moveClass:String}),setup(n,{slots:t}){const e=ln(),s=M1();let r,i;return Wi(()=>{if(!r.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!L9(r[0].el,e.vnode.el,o))return;r.forEach(g9),r.forEach(m9);const a=r.filter(x9);Yu(),a.forEach(l=>{const c=l.el,u=c.style;He(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,un(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=vt(n),a=ju(o);let l=o.tag||Ht;!o.tag&&cn.checkCompatEnabled("TRANSITION_GROUP_ROOT",e.parent)&&(l="span"),r=i,i=t.default?Gi(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&cs(u,Gs(u,a,s,e))}if(r)for(let c=0;c<r.length;c++){const u=r[c];cs(u,Gs(u,a,s,e)),Xu.set(u,u.el.getBoundingClientRect())}return nt(l,null,i)}}};Ju.__isBuiltIn=!0;const th=Ju;function g9(n){const t=n.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function m9(n){Qu.set(n,n.el.getBoundingClientRect())}function x9(n){const t=Xu.get(n),e=Qu.get(n),s=t.left-e.left,r=t.top-e.top;if(s||r){const i=n.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",n}}function L9(n,t,e){const s=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),e.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Zu(s);return r.removeChild(s),i}const Wn=n=>{const t=n.props["onUpdate:modelValue"]||n.props["onModelCompat:input"];return V(t)?e=>Mn(t,e):t};function _9(n){n.target.composing=!0}function eh(n){const t=n.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const lo={created(n,{modifiers:{lazy:t,trim:e,number:s}},r){n._assign=Wn(r);const i=s||r.props&&r.props.type==="number";vn(n,t?"change":"input",o=>{if(o.target.composing)return;let a=n.value;e&&(a=a.trim()),i&&(a=en(a)),n._assign(a)}),e&&vn(n,"change",()=>{n.value=n.value.trim()}),t||(vn(n,"compositionstart",_9),vn(n,"compositionend",eh),vn(n,"change",eh))},mounted(n,{value:t}){n.value=t==null?"":t},beforeUpdate(n,{value:t,modifiers:{lazy:e,trim:s,number:r}},i){if(n._assign=Wn(i),n.composing||document.activeElement===n&&n.type!=="range"&&(e||s&&n.value.trim()===t||(r||n.type==="number")&&en(n.value)===t))return;const o=t==null?"":t;n.value!==o&&(n.value=o)}},xa={deep:!0,created(n,t,e){n._assign=Wn(e),vn(n,"change",()=>{const s=n._modelValue,r=Ws(n),i=n.checked,o=n._assign;if(V(s)){const a=xr(s,r),l=a!==-1;if(i&&!l)o(s.concat(r));else if(!i&&l){const c=[...s];c.splice(a,1),o(c)}}else if(ts(s)){const a=new Set(s);i?a.add(r):a.delete(r),o(a)}else o(ih(n,i))})},mounted:nh,beforeUpdate(n,t,e){n._assign=Wn(e),nh(n,t,e)}};function nh(n,{value:t,oldValue:e},s){n._modelValue=t,V(t)?n.checked=xr(t,s.props.value)>-1:ts(t)?n.checked=t.has(s.props.value):t!==e&&(n.checked=Ln(t,ih(n,!0)))}const La={created(n,{value:t},e){n.checked=Ln(t,e.props.value),n._assign=Wn(e),vn(n,"change",()=>{n._assign(Ws(n))})},beforeUpdate(n,{value:t,oldValue:e},s){n._assign=Wn(s),t!==e&&(n.checked=Ln(t,s.props.value))}},sh={deep:!0,created(n,{value:t,modifiers:{number:e}},s){const r=ts(t);vn(n,"change",()=>{const i=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>e?en(Ws(o)):Ws(o));n._assign(n.multiple?r?new Set(i):i:i[0])}),n._assign=Wn(s)},mounted(n,{value:t}){rh(n,t)},beforeUpdate(n,t,e){n._assign=Wn(e)},updated(n,{value:t}){rh(n,t)}};function rh(n,t){const e=n.multiple;if(!(e&&!V(t)&&!ts(t))){for(let s=0,r=n.options.length;s<r;s++){const i=n.options[s],o=Ws(i);if(e)V(t)?i.selected=xr(t,o)>-1:i.selected=t.has(o);else if(Ln(Ws(i),t)){n.selectedIndex!==s&&(n.selectedIndex=s);return}}!e&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Ws(n){return"_value"in n?n._value:n.value}function ih(n,t){const e=t?"_trueValue":"_falseValue";return e in n?n[e]:t}const _a={created(n,t,e){co(n,t,e,null,"created")},mounted(n,t,e){co(n,t,e,null,"mounted")},beforeUpdate(n,t,e,s){co(n,t,e,s,"beforeUpdate")},updated(n,t,e,s){co(n,t,e,s,"updated")}};function oh(n,t){switch(n){case"SELECT":return sh;case"TEXTAREA":return lo;default:switch(t){case"checkbox":return xa;case"radio":return La;default:return lo}}}function co(n,t,e,s,r){const o=oh(n.tagName,e.props&&e.props.type)[r];o&&o(n,t,e,s)}function y9(){lo.getSSRProps=({value:n})=>({value:n}),La.getSSRProps=({value:n},t)=>{if(t.props&&Ln(t.props.value,n))return{checked:!0}},xa.getSSRProps=({value:n},t)=>{if(V(n)){if(t.props&&xr(n,t.props.value)>-1)return{checked:!0}}else if(ts(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},_a.getSSRProps=(n,t)=>{if(typeof t.type!="string")return;const e=oh(t.type.toUpperCase(),t.props&&t.props.type);if(e.getSSRProps)return e.getSSRProps(n,t)}}const C9=["ctrl","shift","alt","meta"],E9={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,t)=>C9.some(e=>n[`${e}Key`]&&!t.includes(e))},Gr=(n,t)=>(e,...s)=>{for(let r=0;r<t.length;r++){const i=E9[t[r]];if(i&&i(e,t))return}return n(e,...s)},b9={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},T9=(n,t)=>{let e,s=null;return s=ln(),cn.isCompatEnabled("CONFIG_KEY_CODES",s)&&s&&(e=s.appContext.config.keyCodes),r=>{if(!("key"in r))return;const i=pe(r.key);if(t.some(o=>o===i||b9[o]===i))return n(r);{const o=String(r.keyCode);if(cn.isCompatEnabled("V_ON_KEYCODE_MODIFIER",s)&&t.some(a=>a==o))return n(r);if(e)for(const a of t){const l=e[a];if(l&&(V(l)?l.some(u=>String(u)===o):String(l)===o))return n(r)}}}},jr={beforeMount(n,{value:t},{transition:e}){n._vod=n.style.display==="none"?"":n.style.display,e&&t?e.beforeEnter(n):zr(n,t)},mounted(n,{value:t},{transition:e}){e&&t&&e.enter(n)},updated(n,{value:t,oldValue:e},{transition:s}){!t!=!e&&(s?t?(s.beforeEnter(n),zr(n,!0),s.enter(n)):s.leave(n,()=>{zr(n,!1)}):zr(n,t))},beforeUnmount(n,{value:t}){zr(n,t)}};function zr(n,t){n.style.display=t?n._vod:"none"}function w9(){jr.getSSRProps=({value:n})=>{if(!n)return{style:{display:"none"}}}}const ah=yt({patchProp:o9},z5);let Wr,lh=!1;function ch(){return Wr||(Wr=Lu(ah))}function uh(){return Wr=lh?Wr:_u(ah),lh=!0,Wr}const ya=(...n)=>{ch().render(...n)},hh=(...n)=>{uh().hydrate(...n)},Zr=(...n)=>{const t=ch().createApp(...n),{mount:e}=t;return t.mount=s=>{const r=fh(s);if(!r)return;const i=t._component;!lt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=e(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},v9=(...n)=>{const t=uh().createApp(...n),{mount:e}=t;return t.mount=s=>{const r=fh(s);if(r)return e(r,!0,r instanceof SVGElement)},t};function fh(n){return Ut(n)?document.querySelector(n):n}let dh=!1;var A9=Object.freeze({__proto__:null,render:ya,hydrate:hh,createApp:Zr,createSSRApp:v9,initDirectivesForSSR:()=>{dh||(dh=!0,y9(),w9())},defineCustomElement:Hu,defineSSRCustomElement:l9,VueElement:ao,useCssModule:u9,useCssVars:h9,Transition:Vr,TransitionGroup:th,vModelText:lo,vModelCheckbox:xa,vModelRadio:La,vModelSelect:sh,vModelDynamic:_a,withModifiers:Gr,withKeys:T9,vShow:jr,reactive:yn,ref:Pi,readonly:L1,unref:a0,proxyRefs:b1,isRef:ee,toRef:l0,toRefs:X3,isProxy:_1,isReactive:Cn,isReadonly:ns,isShallow:br,customRef:Y3,triggerRef:Z3,shallowRef:z3,shallowReactive:i0,shallowReadonly:j3,markRaw:y1,toRaw:vt,effect:L3,stop:_3,ReactiveEffect:Er,effectScope:Bc,EffectScope:h1,getCurrentScope:p3,onScopeDispose:g3,computed:ua,watch:ls,watchEffect:b4,watchPostEffect:b0,watchSyncEffect:T4,onBeforeMount:N0,onMounted:Nr,onBeforeUpdate:P0,onUpdated:Wi,onBeforeUnmount:Pr,onUnmounted:Mr,onActivated:k0,onDeactivated:I0,onRenderTracked:D0,onRenderTriggered:F0,onErrorCaptured:B0,onServerPrefetch:M0,provide:E0,inject:as,nextTick:vr,defineComponent:B1,defineAsyncComponent:ji,useAttrs:F5,useSlots:M5,defineProps:I5,defineEmits:O5,defineExpose:N5,withDefaults:P5,mergeDefaults:D5,createPropsRestProxy:B5,withAsyncContext:$5,getCurrentInstance:ln,h:ku,createVNode:nt,cloneVNode:Ye,mergeProps:ro,isVNode:Oe,Fragment:Ht,Text:gs,Comment:ie,Static:ms,Teleport:y5,Suspense:L4,KeepAlive:R0,BaseTransition:F1,withDirectives:Zi,useSSRContext:Ou,ssrContextKey:Iu,createRenderer:Lu,createHydrationRenderer:_u,queuePostFlushCb:v1,warn:e4,handleError:ss,callWithErrorHandling:sn,callWithAsyncErrorHandling:Ce,resolveComponent:ft,resolveDirective:V0,resolveDynamicComponent:Fr,registerRuntimeCompiler:S5,isRuntimeOnly:aa,useTransitionState:M1,resolveTransitionHooks:Gs,setTransitionHooks:cs,getTransitionRawChildren:Gi,initCustomFormatter:U5,get devtools(){return Us},setDevtoolsHook:p0,withCtx:O1,pushScopeId:is,popScopeId:os,withScopeId:d4,renderList:wn,toHandlers:X0,renderSlot:j1,createSlots:K0,withMemo:H5,isMemoSame:Nu,openBlock:N,createBlock:Mt,setBlockTracking:na,createTextVNode:Ls,createCommentVNode:At,createStaticVNode:Ur,createElementVNode:A,createElementBlock:et,guardReactiveProps:vu,toDisplayString:Yt,camelize:de,capitalize:yr,toHandlerKey:Ms,normalizeProps:i3,normalizeClass:Ft,normalizeStyle:_t,transformVNodeArgs:b5,version:Pu,ssrUtils:V5,resolveFilter:G5,compatUtils:cn});function S9(...n){const t=Zr(...n);return cn.isCompatEnabled("RENDER_FUNCTION",null)&&(t.component("__compat__transition",Vr),t.component("__compat__transition-group",th),t.component("__compat__keep-alive",R0),t._context.directives.show=jr,t._context.directives.model=_a),t}function R9(){const n=cn.createCompatVue(Zr,S9);return yt(n,A9),n}const ph=R9();ph.compile=()=>{};function k9(){return gh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const I9=typeof Proxy=="function",O9="devtools-plugin:setup",N9="plugin:settings:set";let Zs,Ca;function P9(){var n;return Zs!==void 0||(typeof window<"u"&&window.performance?(Zs=!0,Ca=window.performance):typeof global<"u"&&((n=global.perf_hooks)===null||n===void 0?void 0:n.performance)?(Zs=!0,Ca=global.perf_hooks.performance):Zs=!1),Zs}function M9(){return P9()?Ca.now():Date.now()}class F9{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const s={};if(t.settings)for(const o in t.settings){const a=t.settings[o];s[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},s);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}i=o},now(){return M9()}},e&&e.on(N9,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function D9(n,t){const e=n,s=gh(),r=k9(),i=I9&&e.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(O9,n,t);else{const o=i?new F9(e,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
|
|
3
3
|
* vuex v4.1.0
|
|
4
4
|
* (c) 2022 Evan You
|
|
5
5
|
* @license MIT
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
`,e)),e.context===null||e.context.hasEmptyPath()){if(e.context===null||e.context.isEmpty())return s.add(e),!0;s.add(new ve({state:e.state,context:mt.EMPTY},e)),r=!0}if(e.context!==null&&!e.context.isEmpty()){for(let l=0;l<e.context.length;l++)if(e.context.getReturnState(l)!==mt.EMPTY_RETURN_STATE){const c=e.context.getParent(l),u=this.atn.states[e.context.getReturnState(l)];a=new ve({state:u,context:c},e),r=this.closure(t,a,s,r,i,o)}}return r}e.state.epsilonOnlyTransitions||(!r||!e.passedThroughNonGreedyDecision)&&s.add(e);for(let l=0;l<e.state.transitions.length;l++){const c=e.state.transitions[l];a=this.getEpsilonTarget(t,e,c,s,i,o),a!==null&&(r=this.closure(t,a,s,r,i,o))}return r}getEpsilonTarget(t,e,s,r,i,o){let a=null;if(s.serializationType===Y.RULE){const l=xe.create(e.context,s.followState.stateNumber);a=new ve({state:s.target,context:l},e)}else{if(s.serializationType===Y.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(s.serializationType===Y.PREDICATE)Wt.debug&&console.log("EVAL rule "+s.ruleIndex+":"+s.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(t,s.ruleIndex,s.predIndex,i)&&(a=new ve({state:s.target},e));else if(s.serializationType===Y.ACTION)if(e.context===null||e.context.hasEmptyPath()){const l=nr.append(e.lexerActionExecutor,this.atn.lexerActions[s.actionIndex]);a=new ve({state:s.target,lexerActionExecutor:l},e)}else a=new ve({state:s.target},e);else s.serializationType===Y.EPSILON?a=new ve({state:s.target},e):(s.serializationType===Y.ATOM||s.serializationType===Y.RANGE||s.serializationType===Y.SET)&&o&&s.matches(M.EOF,0,zt.MAX_CHAR_VALUE)&&(a=new ve({state:s.target},e))}return a}evaluatePredicate(t,e,s,r){if(this.recog===null)return!0;if(!r)return this.recog.sempred(null,e,s);const i=this.column,o=this.line,a=t.index,l=t.mark();try{return this.consume(t),this.recog.sempred(null,e,s)}finally{this.column=i,this.line=o,t.seek(a),t.release(l)}}captureSimState(t,e,s){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=s}addDFAEdge(t,e,s,r){if(s===void 0&&(s=null),r===void 0&&(r=null),s===null&&r!==null){const i=r.hasSemanticContext;if(r.hasSemanticContext=!1,s=this.addDFAState(r),i)return s}return e<Wt.MIN_DFA_EDGE||e>Wt.MAX_DFA_EDGE||(Wt.debug&&console.log("EDGE "+t+" -> "+s+" upon "+e),t.edges===null&&(t.edges=[]),t.edges[e-Wt.MIN_DFA_EDGE]=s),s}addDFAState(t){const e=new Rn(null,t);let s=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(l.state instanceof me){s=l;break}}s!==null&&(e.isAcceptState=!0,e.lexerActionExecutor=s.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[s.state.ruleIndex]);const r=this.decisionToDFA[this.mode],i=r.states.get(e);if(i!==null)return i;const o=e;return o.stateNumber=r.states.length,t.setReadonly(!0),o.configs=t,r.states.add(o),o}getDFA(t){return this.decisionToDFA[t]}getText(t){return t.getText(this.startIndex,t.index-1)}consume(t){t.LA(1)===`
|
|
13
13
|
`.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()}getTokenName(t){return t===-1?"EOF":"'"+String.fromCharCode(t)+"'"}}Wt.debug=!1,Wt.dfa_debug=!1,Wt.MIN_DFA_EDGE=0,Wt.MAX_DFA_EDGE=127;class Zh{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}}class b6{constructor(){this.data={}}get(t){return this.data["k-"+t]||null}set(t,e){this.data["k-"+t]=e}values(){return Object.keys(this.data).filter(t=>t.startsWith("k-")).map(t=>this.data[t],this)}}const Bt={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,t){if(Bt.allConfigsInRuleStopStates(t))return!0;if(n===Bt.SLL&&t.hasSemanticContext){const s=new Le;for(let r=0;r<t.items.length;r++){let i=t.items[r];i=new Xt({semanticContext:Rt.NONE},i),s.add(i)}t=s}const e=Bt.getConflictingAltSubsets(t);return Bt.hasConflictingAltSet(e)&&!Bt.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(n){for(let t=0;t<n.items.length;t++)if(n.items[t].state instanceof me)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let t=0;t<n.items.length;t++)if(!(n.items[t].state instanceof me))return!1;return!0},resolvesToJustOneViableAlt:function(n){return Bt.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!Bt.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length>1)return!0;return!1},allSubsetsEqual:function(n){let t=null;for(let e=0;e<n.length;e++){const s=n[e];if(t===null)t=s;else if(s!==t)return!1}return!0},getUniqueAlt:function(n){const t=Bt.getAlts(n);return t.length===1?t.minValue():Gt.INVALID_ALT_NUMBER},getAlts:function(n){const t=new dn;return n.map(function(e){t.or(e)}),t},getConflictingAltSubsets:function(n){const t=new Xr;return t.hashFunction=function(e){Me.hashStuff(e.state.stateNumber,e.context)},t.equalsFunction=function(e,s){return e.state.stateNumber===s.state.stateNumber&&e.context.equals(s.context)},n.items.map(function(e){let s=t.get(e);s===null&&(s=new dn,t.set(e,s)),s.add(e.alt)}),t.getValues()},getStateToAltMap:function(n){const t=new b6;return n.items.map(function(e){let s=t.get(e.state);s===null&&(s=new dn,t.set(e.state,s)),s.add(e.alt)}),t},hasStateAssociatedWithOneAlt:function(n){const t=Bt.getStateToAltMap(n).values();for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},getSingleViableAlt:function(n){let t=null;for(let e=0;e<n.length;e++){const r=n[e].minValue();if(t===null)t=r;else if(t!==r)return Gt.INVALID_ALT_NUMBER}return t}};class tl extends qn{constructor(t,e,s,r,i,o){o=o||t._ctx,r=r||t.getCurrentToken(),s=s||t.getCurrentToken(),e=e||t.getInputStream(),super({message:"",recognizer:t,input:e,ctx:o}),this.deadEndConfigs=i,this.startToken=s,this.offendingToken=r}}class T6{constructor(t){this.defaultMapCtor=t||Xr,this.cacheMap=new this.defaultMapCtor}get(t,e){const s=this.cacheMap.get(t)||null;return s===null?null:s.get(e)||null}set(t,e,s){let r=this.cacheMap.get(t)||null;r===null&&(r=new this.defaultMapCtor,this.cacheMap.set(t,r)),r.set(e,s)}}class w6 extends pn{constructor(t,e,s,r){super(e,r),this.parser=t,this.decisionToDFA=s,this.predictionMode=Bt.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(t,e,s){(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=s;const r=this.decisionToDFA[e];this._dfa=r;const i=t.mark(),o=t.index;try{let a;if(r.precedenceDfa?a=r.getPrecedenceStartState(this.parser.getPrecedence()):a=r.s0,a===null){s===null&&(s=Xs.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+s.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(r.atnStartState,Xs.EMPTY,c);r.precedenceDfa?(r.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(r,new Rn(null,u)),r.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(r,new Rn(null,u)),r.s0=a)}const l=this.execATN(r,a,t,o,s);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(i)}}execATN(t,e,s,r,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(s)+" line "+s.LT(1).line+":"+s.LT(1).column);let o,a=e;this.debug&&console.log("s0 = "+e);let l=s.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(t,a,l)),c===pn.ERROR){const u=this.noViableAlt(s,i,a.configs,r);if(s.seek(r),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==Gt.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==Bt.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const p=s.index;if(p!==r&&s.seek(r),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();p!==r&&s.seek(p)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,d=this.computeStartState(t.atnStartState,i,f);return this.reportAttemptingFullContext(t,u,c.configs,r,s.index),o=this.execATNWithFullContext(t,c,d,s,r,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=s.index;s.seek(r);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(s,i,c.configs,r);return f.length===1||this.reportAmbiguity(t,c,r,u,!1,f,c.configs),f.minValue()}a=c,l!==M.EOF&&(s.consume(),l=s.LA(1))}}getExistingTargetState(t,e){const s=t.edges;return s===null?null:s[e+1]||null}computeTargetState(t,e,s){const r=this.computeReachSet(e.configs,s,!1);if(r===null)return this.addDFAEdge(t,e,s,pn.ERROR),pn.ERROR;let i=new Rn(null,r);const o=this.getUniqueAlt(r);if(this.debug){const a=Bt.getConflictingAltSubsets(r);console.log("SLL altSubSets="+Zn(a)+", configs="+r+", predict="+o+", allSubsetsConflict="+Bt.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(r))}return o!==Gt.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):Bt.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(i.configs.conflictingAlts=this.getConflictingAlts(r),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(t.decision)),i.predicates!==null&&(i.prediction=Gt.INVALID_ALT_NUMBER)),i=this.addDFAEdge(t,e,s,i),i}predicateDFAState(t,e){const s=e.transitions.length,r=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(r,t.configs,s);i!==null?(t.predicates=this.getPredicatePredictions(r,i),t.prediction=Gt.INVALID_ALT_NUMBER):t.prediction=r.minValue()}execATNWithFullContext(t,e,s,r,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+s);const a=!0;let l=!1,c,u=s;r.seek(i);let f=r.LA(1),d=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const E=this.noViableAlt(r,o,u,i);r.seek(i);const v=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(v!==Gt.INVALID_ALT_NUMBER)return v;throw E}const p=Bt.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+p+", predict="+Bt.getUniqueAlt(p)+", resolvesToJustOneViableAlt="+Bt.resolvesToJustOneViableAlt(p)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==Gt.INVALID_ALT_NUMBER){d=c.uniqueAlt;break}else if(this.predictionMode!==Bt.LL_EXACT_AMBIG_DETECTION){if(d=Bt.resolvesToJustOneViableAlt(p),d!==Gt.INVALID_ALT_NUMBER)break}else if(Bt.allSubsetsConflict(p)&&Bt.allSubsetsEqual(p)){l=!0,d=Bt.getSingleViableAlt(p);break}u=c,f!==M.EOF&&(r.consume(),f=r.LA(1))}return c.uniqueAlt!==Gt.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,c,i,r.index),d):(this.reportAmbiguity(t,e,i,r.index,l,null,c),d)}computeReachSet(t,e,s){this.debug&&console.log("in computeReachSet, starting closure: "+t),this.mergeCache===null&&(this.mergeCache=new T6);const r=new Le(s);let i=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(this.debug&&console.log("testing "+this.getTokenName(e)+" at "+l),l.state instanceof me){(s||e===M.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,e);if(f!==null){const d=new Xt({state:f},l);r.add(d,this.mergeCache),this.debug_add&&console.log("added "+d+" to intermediate")}}}let o=null;if(i===null&&e!==M.EOF&&(r.items.length===1||this.getUniqueAlt(r)!==Gt.INVALID_ALT_NUMBER)&&(o=r),o===null){o=new Le(s);const a=new Fe,l=e===M.EOF;for(let c=0;c<r.items.length;c++)this.closure(r.items[c],o,a,!1,s,l)}if(e===M.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===r)),i!==null&&(!s||!Bt.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(t,e){if(Bt.allConfigsInRuleStopStates(t))return t;const s=new Le(t.fullCtx);for(let r=0;r<t.items.length;r++){const i=t.items[r];if(i.state instanceof me){s.add(i,this.mergeCache);continue}if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(M.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];s.add(new Xt({state:a},i),this.mergeCache)}}return s}computeStartState(t,e,s){const r=Fa(this.atn,e),i=new Le(s);for(let o=0;o<t.transitions.length;o++){const a=t.transitions[o].target,l=new Xt({state:a,alt:o+1,context:r},null),c=new Fe;this.closure(l,i,c,!0,s,!1)}return i}applyPrecedenceFilter(t){let e;const s=[],r=new Le(t.fullCtx);for(let i=0;i<t.items.length;i++){if(e=t.items[i],e.alt!==1)continue;const o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(s[e.state.stateNumber]=e.context,o!==e.semanticContext?r.add(new Xt({semanticContext:o},e),this.mergeCache):r.add(e,this.mergeCache))}for(let i=0;i<t.items.length;i++)if(e=t.items[i],e.alt!==1){if(!e.precedenceFilterSuppressed){const o=s[e.state.stateNumber]||null;if(o!==null&&o.equals(e.context))continue}r.add(e,this.mergeCache)}return r}getReachableTarget(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null}getPredsForAmbigAlts(t,e,s){let r=[];for(let o=0;o<e.items.length;o++){const a=e.items[o];t.has(a.alt)&&(r[a.alt]=Rt.orContext(r[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<s+1;o++){const a=r[o]||null;a===null?r[o]=Rt.NONE:a!==Rt.NONE&&(i+=1)}return i===0&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+Zn(r)),r}getPredicatePredictions(t,e){const s=[];let r=!1;for(let i=1;i<e.length;i++){const o=e[i];t!==null&&t.has(i)&&s.push(new Zh(o,i)),o!==Rt.NONE&&(r=!0)}return r?s:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(t,e){const s=this.splitAccordingToSemanticValidity(t,e),r=s[0],i=s[1];let o=this.getAltThatFinishedDecisionEntryRule(r);return o!==Gt.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==Gt.INVALID_ALT_NUMBER)?o:Gt.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(t){const e=[];for(let s=0;s<t.items.length;s++){const r=t.items[s];(r.reachesIntoOuterContext>0||r.state instanceof me&&r.context.hasEmptyPath())&&e.indexOf(r.alt)<0&&e.push(r.alt)}return e.length===0?Gt.INVALID_ALT_NUMBER:Math.min.apply(null,e)}splitAccordingToSemanticValidity(t,e){const s=new Le(t.fullCtx),r=new Le(t.fullCtx);for(let i=0;i<t.items.length;i++){const o=t.items[i];o.semanticContext!==Rt.NONE?o.semanticContext.evaluate(this.parser,e)?s.add(o):r.add(o):s.add(o)}return[s,r]}evalSemanticContext(t,e,s){const r=new dn;for(let i=0;i<t.length;i++){const o=t[i];if(o.pred===Rt.NONE){if(r.add(o.alt),!s)break;continue}const a=o.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),r.add(o.alt),!s))break}return r}closure(t,e,s,r,i,o){this.closureCheckingStopState(t,e,s,r,i,0,o)}closureCheckingStopState(t,e,s,r,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof me)if(t.context.isEmpty())if(i){e.add(t,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex));else{for(let l=0;l<t.context.length;l++){if(t.context.getReturnState(l)===mt.EMPTY_RETURN_STATE){if(i){e.add(new Xt({state:t.state,context:mt.EMPTY},t),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,s,r,i,o,a);continue}const c=this.atn.states[t.context.getReturnState(l)],u=t.context.getParent(l),f={state:c,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new Xt(f,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,s,r,i,o-1,a)}return}this.closure_(t,e,s,r,i,o,a)}closure_(t,e,s,r,i,o,a){const l=t.state;l.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(t))continue;const u=l.transitions[c],f=r&&!(u instanceof Vh),d=this.getEpsilonTarget(t,u,f,o===0,i,a);if(d!==null){let p=o;if(t.state instanceof me){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(d.precedenceFilterSuppressed=!0),d.reachesIntoOuterContext+=1,s.add(d)!==d)continue;e.dipsIntoOuterContext=!0,p-=1,this.debug&&console.log("dips into outer ctx: "+d)}else{if(!u.isEpsilon&&s.add(d)!==d)continue;u instanceof po&&p>=0&&(p+=1)}this.closureCheckingStopState(d,e,s,f,i,p,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(t){const e=t.state;if(e.stateType!==J.STAR_LOOP_ENTRY||e.stateType!==J.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;const s=t.context.length;for(let a=0;a<s;a++)if(this.atn.states[t.context.getReturnState(a)].ruleIndex!==e.ruleIndex)return!1;const i=e.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<s;a++){const l=t.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===J.BLOCK_END&&u===e)&&c!==o&&u!==o&&!(u.stateType===J.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===e))return!1}return!0}getRuleName(t){return this.parser!==null&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,s,r,i,o){switch(e.serializationType){case Y.RULE:return this.ruleTransition(t,e);case Y.PRECEDENCE:return this.precedenceTransition(t,e,s,r,i);case Y.PREDICATE:return this.predTransition(t,e,s,r,i);case Y.ACTION:return this.actionTransition(t,e);case Y.EPSILON:return new Xt({state:e.target},t);case Y.ATOM:case Y.RANGE:case Y.SET:return o&&e.matches(M.EOF,0,1)?new Xt({state:e.target},t):null;default:return null}}actionTransition(t,e){if(this.debug){const s=e.actionIndex===-1?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+s)}return new Xt({state:e.target},t)}precedenceTransition(t,e,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+e.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+Zn(this.parser.getRuleInvocationStack())));let o=null;if(s&&r)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new Xt({state:e.target},t))}else{const a=Rt.andContext(t.semanticContext,e.getPredicate());o=new Xt({state:e.target,semanticContext:a},t)}else o=new Xt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}predTransition(t,e,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+Zn(this.parser.getRuleInvocationStack())));let o=null;if(s&&(e.isCtxDependent&&r||!e.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new Xt({state:e.target},t))}else{const a=Rt.andContext(t.semanticContext,e.getPredicate());o=new Xt({state:e.target,semanticContext:a},t)}else o=new Xt({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);const s=e.followState,r=xe.create(t.context,s.stateNumber);return new Xt({state:e.target,context:r},t)}getConflictingAlts(t){const e=Bt.getConflictingAltSubsets(t);return Bt.getAlts(e)}getConflictingAltsOrUniqueAlt(t){let e=null;return t.uniqueAlt!==Gt.INVALID_ALT_NUMBER?(e=new dn,e.add(t.uniqueAlt)):e=t.conflictingAlts,e}getTokenName(t){if(t===M.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";return""+t}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");const e=t.getDeadEndConfigs();for(let s=0;s<e.length;s++){const r=e[s];let i="no edges";if(r.state.transitions.length>0){const o=r.state.transitions[0];o instanceof Lo?i="Atom "+this.getTokenName(o.label):o instanceof Oa&&(i=(o instanceof Na?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}}noViableAlt(t,e,s,r){return new tl(this.parser,t,t.get(r),t.LT(1),s,e)}getUniqueAlt(t){let e=Gt.INVALID_ALT_NUMBER;for(let s=0;s<t.items.length;s++){const r=t.items[s];if(e===Gt.INVALID_ALT_NUMBER)e=r.alt;else if(r.alt!==e)return Gt.INVALID_ALT_NUMBER}return e}addDFAEdge(t,e,s,r){if(this.debug&&console.log("EDGE "+e+" -> "+r+" upon "+this.getTokenName(s)),r===null)return null;if(r=this.addDFAState(t,r),e===null||s<-1||s>this.atn.maxTokenType)return r;if(e.edges===null&&(e.edges=[]),e.edges[s+1]=r,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
14
14
|
`+t.toString(i,o))}return r}addDFAState(t,e){if(e===pn.ERROR)return e;const s=t.states.get(e);return s!==null?s:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)}reportAttemptingFullContext(t,e,s,r,i){if(this.debug||this.retry_debug){const o=new kt(r,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,r,i,e,s)}reportContextSensitivity(t,e,s,r,i){if(this.debug||this.retry_debug){const o=new kt(r,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,r,i,e,s)}reportAmbiguity(t,e,s,r,i,o,a){if(this.debug||this.retry_debug){const l=new kt(s,r+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,s,r,i,o,a)}}const v6={ATN:Gt,ATNDeserializer:jh,LexerATNSimulator:Wt,ParserATNSimulator:w6,PredictionMode:Bt};class el{constructor(t,e,s){this.dfa=t,this.literalNames=e||[],this.symbolicNames=s||[]}toString(){if(this.dfa.s0===null)return null;let t="";const e=this.dfa.sortedStates();for(let s=0;s<e.length;s++){const r=e[s];if(r.edges!==null){const i=r.edges.length;for(let o=0;o<i;o++){const a=r.edges[o]||null;a!==null&&a.stateNumber!==2147483647&&(t=t.concat(this.getStateString(r)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(a)),t=t.concat(`
|
|
15
|
-
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+Zn(t.predicates):e+"=>"+t.prediction.toString():e}}class qh extends el{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class A6{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new Fe,this.s0=null,this.precedenceDfa=!1,t instanceof bs&&t.isPrecedenceDecision){this.precedenceDfa=!0;const s=new Rn(null,new Le);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new Fe,t){const e=new Rn(null,new Le);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,s){return e.stateNumber-s.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new el(this,t,e).toString()}toLexerString(){return this.s0===null?"":new qh(this).toString()}get states(){return this._states}}const S6={DFA:A6,DFASerializer:el,LexerDFASerializer:qh,PredPrediction:Zh};class Kh{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class R6{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class nl{walk(t,e){if(e instanceof mo||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof An)t.visitTerminal(e);else{this.enterRule(t,e);for(let r=0;r<e.getChildCount();r++){const i=e.getChild(r);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const s=e.getRuleContext();t.enterEveryRule(s),s.enterRule(t)}exitRule(t,e){const s=e.getRuleContext();s.exitRule(t),t.exitEveryRule(s)}}nl.DEFAULT=new nl;const k6={Trees:hn,RuleNode:go,ErrorNode:mo,TerminalNode:An,ParseTreeListener:Kh,ParseTreeVisitor:R6,ParseTreeWalker:nl};class ei extends qn{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class Yh extends qn{constructor(t,e,s){super({message:I6(e,s||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof Gh?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function I6(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class O6 extends Eo{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,s,r,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,s,r,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,s,r,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const s=e.decision,r=e.atnStartState.ruleIndex,i=t.ruleNames;if(r<0||r>=i.length)return""+s;const o=i[r]||null;return o===null||o.length===0?""+s:`${s} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const s=new dn;for(let r=0;r<e.items.length;r++)s.add(e.items[r].alt);return`{${s.values().join(", ")}}`}}class sl extends Error{constructor(){super(),Error.captureStackTrace(this,sl)}}class N6{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class rl extends N6{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof tl?this.reportNoViableAlternative(t,e):e instanceof ei?this.reportInputMismatch(t,e):e instanceof Yh?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const s=this.getErrorRecoverySet(t);this.consumeUntil(t,s)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],s=t.getTokenStream().LA(1),r=t.atn.nextTokens(e);if(r.contains(s)){this.nextTokensContext=null,this.nextTokenState=J.INVALID_STATE_NUMBER;return}else if(r.contains(M.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case J.BLOCK_START:case J.STAR_BLOCK_START:case J.PLUS_BLOCK_START:case J.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new ei(t);case J.PLUS_LOOP_BACK:case J.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new Ve;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const s=t.getTokenStream();let r;s!==null?e.startToken.type===M.EOF?r="<EOF>":r=s.getText(new kt(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):r="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(r);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const s="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(s,e.offendingToken,e)}reportFailedPredicate(t,e){const r="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(r,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s=this.getTokenErrorDisplay(e),r=this.getExpectedTokens(t),i="extraneous input "+s+" expecting "+r.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(r,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new ei(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),s=t._interp.atn,i=s.states[t.state].transitions[0].target;return s.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const r=t.getCurrentToken();return this.reportMatch(t),r}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),r=this.getExpectedTokens(t).first();let i;r===M.EOF?i="<missing EOF>":i="<missing "+t.literalNames[r]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===M.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,r,i,M.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===M.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let s=t._ctx;const r=new Ve;for(;s!==null&&s.invokingState>=0;){const o=e.states[s.invokingState].transitions[0],a=e.nextTokens(o.followState);r.addSet(a),s=s.parentCtx}return r.removeOne(M.EPSILON),r}consumeUntil(t,e){let s=t.getTokenStream().LA(1);for(;s!==M.EOF&&!e.contains(s);)t.consume(),s=t.getTokenStream().LA(1)}}class P6 extends rl{constructor(){super()}recover(t,e){let s=t._ctx;for(;s!==null;)s.exception=e,s=s.parentCtx;throw new sl(e)}recoverInline(t){this.recover(t,new ei(t))}sync(t){}}const M6={RecognitionException:qn,NoViableAltException:tl,LexerNoViableAltException:Ja,InputMismatchException:ei,FailedPredicateException:Yh,DiagnosticErrorListener:O6,BailErrorStrategy:P6,DefaultErrorStrategy:rl,ErrorListener:Eo};class ws{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const r=this.strdata.codePointAt(s);this.data.push(r),s+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const r=this.strdata.charCodeAt(s);this.data[s]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?M.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let r=t;r<=e;r++)s+=String.fromCodePoint(this.data[r]);return s}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const il={},F6={fromString:function(n){return new ws(n,!0)},fromBlob:function(n,t,e,s){const r=new window.FileReader;r.onload=function(i){const o=new ws(i.target.result,!0);e(o)},r.onerror=s,r.readAsText(n,t)},fromBuffer:function(n,t){return new ws(n.toString(t),!0)},fromPath:function(n,t,e){il.readFile(n,t,function(s,r){let i=null;r!==null&&(i=new ws(r,!0)),e(s,i)})},fromPathSync:function(n,t){const e=il.readFileSync(n,t);return new ws(e,!0)}};class D6 extends ws{constructor(t,e){const s=il.readFileSync(t,"utf8");super(s,e),this.fileName=t}}class B6{}class $6 extends B6{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===M.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===M.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,s){if(s===void 0&&(s=null),t<0||e<0)return null;this.lazyInit();const r=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===M.EOF)break;(s===null||s.contains(o.type))&&r.push(o)}return r}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let s=this.tokens[t];for(;s.channel!==this.channel;){if(s.type===M.EOF)return-1;t+=1,this.sync(t),s=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(t+1,zt.DEFAULT_TOKEN_CHANNEL),r=t+1,i=s===-1?this.tokens.length-1:s;return this.filterForChannel(r,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(t-1,zt.DEFAULT_TOKEN_CHANNEL);if(s===t-1)return null;const r=s+1,i=t-1;return this.filterForChannel(r,i,e)}filterForChannel(t,e,s){const r=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];s===-1?o.channel!==zt.DEFAULT_TOKEN_CHANNEL&&r.push(o):o.channel===s&&r.push(o)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new kt(0,this.tokens.length-1));let e=t.start;e instanceof M&&(e=e.tokenIndex);let s=t.stop;if(s instanceof M&&(s=s.tokenIndex),e===null||s===null||e<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let r="";for(let i=e;i<s+1;i++){const o=this.tokens[i];if(o.type===M.EOF)break;r=r+o.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class U6 extends $6{constructor(t,e){super(t),this.channel=e===void 0?M.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,s=1;for(;s<=t;)e=this.previousTokenOnChannel(e-1,this.channel),s+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,s=1;for(;s<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),s+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const s=this.tokens[e];if(s.channel===this.channel&&(t+=1),s.type===M.EOF)break}return t}}class H6 extends Kh{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class Xh extends bo{constructor(t){super(),this._input=null,this._errHandler=new rl,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const s=new Jr;s.generateRuleBypassTransitions=!0,e=new jh(s).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,s){e=e||null,s=s||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const r=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,r,i,t,s)}consume(){const t=this.getCurrentToken();t.type!==M.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(t):s=this._ctx.addTokenNode(t),s.invokingState=this.state,e&&this._parseListeners.forEach(function(r){s instanceof mo||s.isErrorNode!==void 0&&s.isErrorNode()?r.visitErrorNode(s):s instanceof An&&r.visitTerminal(s)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,s){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,s,r){this.state=e,this._precedenceStack.push(r),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,s){const r=this._ctx;r.parentCtx=t,r.invokingState=e,r.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let s=this._ctx;const r=e.states[this.state];let i=e.nextTokens(r);if(i.contains(t))return!0;if(!i.contains(M.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&i.contains(M.EPSILON);){const a=e.states[s.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;s=s.parentCtx}return!!(i.contains(M.EPSILON)&&t===M.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const s=t.ruleIndex;s<0?e.push("n/a"):e.push(this.ruleNames[s]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const s=this._interp.decisionToDFA[e];s.states.length>0&&(t&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new H6(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}Xh.bypassAltsAtnCache={};class V6{constructor(){this.cache=new Xr}add(t){if(t===mt.EMPTY)return mt.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class Qh extends An{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return kt.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new kt(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===M.EOF?"<EOF>":this.symbol.text}}class Jh extends Qh{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class t2 extends Xs{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof Jh&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new Qh(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new Jh(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof e){if(t===0)return r;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof An&&r.symbol.type===t){if(e===0)return r;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof An&&r.symbol.type===t&&e.push(r)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof t&&e.push(r)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?kt.INVALID_INTERVAL:new kt(this.start.tokenIndex,this.stop.tokenIndex)}}Xs.EMPTY=new t2;const _={atn:v6,dfa:S6,tree:k6,error:M6,Token:M,CommonToken:Ts,CharStreams:F6,InputStream:ws,FileStream:D6,CommonTokenStream:U6,Lexer:zt,Parser:Xh,PredictionContextCache:V6,ParserRuleContext:t2,Interval:kt,IntervalSet:Ve,LL1Analyzer:Qs,Utils:{arrayToString:Zn}},G6=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],ol=new _.atn.ATNDeserializer().deserialize(G6),j6=ol.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class H extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,ol,j6,new _.PredictionContextCache)}get atn(){return ol}}Z(H,"grammarFileName","sequenceLexer.g4"),Z(H,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),Z(H,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),Z(H,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),Z(H,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Z(H,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),H.EOF=_.Token.EOF,H.WS=1,H.CONSTANT=2,H.READONLY=3,H.STATIC=4,H.AWAIT=5,H.TITLE=6,H.COL=7,H.SOPEN=8,H.SCLOSE=9,H.ARROW=10,H.COLOR=11,H.OR=12,H.AND=13,H.EQ=14,H.NEQ=15,H.GT=16,H.LT=17,H.GTEQ=18,H.LTEQ=19,H.PLUS=20,H.MINUS=21,H.MULT=22,H.DIV=23,H.MOD=24,H.POW=25,H.NOT=26,H.SCOL=27,H.COMMA=28,H.ASSIGN=29,H.OPAR=30,H.CPAR=31,H.OBRACE=32,H.CBRACE=33,H.TRUE=34,H.FALSE=35,H.NIL=36,H.IF=37,H.ELSE=38,H.WHILE=39,H.RETURN=40,H.NEW=41,H.PAR=42,H.GROUP=43,H.OPT=44,H.AS=45,H.TRY=46,H.CATCH=47,H.FINALLY=48,H.IN=49,H.STARTER_LXR=50,H.ANNOTATION_RET=51,H.ANNOTATION=52,H.DOT=53,H.ID=54,H.INT=55,H.FLOAT=56,H.STRING=57,H.CR=58,H.COMMENT=59,H.OTHER=60,H.DIVIDER=61,H.EVENT_PAYLOAD_LXR=62,H.EVENT_END=63,H.TITLE_CONTENT=64,H.TITLE_END=65,H.COMMENT_CHANNEL=2,H.MODIFIER_CHANNEL=3,H.EVENT=1,H.TITLE_MODE=2,H.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},H.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class b extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const z6=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],al=new _.atn.ATNDeserializer().deserialize(z6),W6=al.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),Z6=new _.PredictionContextCache,L=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,al,W6,Z6),this.ruleNames=L.ruleNames,this.literalNames=L.literalNames,this.symbolicNames=L.symbolicNames}get atn(){return al}sempred(t,e,s){switch(e){case 48:return this.expr_sempred(t,s);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new e2(this,this._ctx,this.state);this.enterRule(t,0,L.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(L.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(L.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(L.EOF);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}title(){let t=new ll(this,this._ctx,this.state);this.enterRule(t,2,L.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(L.TITLE),this.state=128,this.match(L.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(L.TITLE_END))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}head(){let t=new cl(this,this._ctx,this.state);this.enterRule(t,4,L.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,7,this._ctx)}while(s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,9,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}group(){let t=new To(this,this._ctx,this.state);this.enterRule(t,6,L.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);switch(s){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(L.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(L.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||(e-52&-32)==0&&(1<<e-52&37)!==0;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(L.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(L.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(L.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(L.GROUP),this.state=167,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,14,this._ctx);s===1&&(this.state=166,this.name());break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starterExp(){let t=new ul(this,this._ctx,this.state);this.enterRule(t,8,L.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(L.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(L.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(L.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(L.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starter(){let t=new hl(this,this._ctx,this.state);this.enterRule(t,10,L.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participant(){let t=new sr(this,this._ctx,this.state);this.enterRule(t,12,L.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(L.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}stereotype(){let t=new fl(this,this._ctx,this.state);this.enterRule(t,14,L.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(L.SOPEN),this.state=205,this.name(),this.state=206,this.match(L.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(L.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(L.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}label(){let t=new dl(this,this._ctx,this.state);this.enterRule(t,16,L.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(L.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(L.AS);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participantType(){let t=new pl(this,this._ctx,this.state);this.enterRule(t,18,L.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(L.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new rr(this,this._ctx,this.state);this.enterRule(t,20,L.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}width(){let t=new gl(this,this._ctx,this.state);this.enterRule(t,22,L.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(L.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new wo(this,this._ctx,this.state);this.enterRule(t,24,L.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while((e-34&-32)==0&&(1<<e-34&217191919)!==0)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ret(){let t=new ml(this,this._ctx,this.state);this.enterRule(t,26,L.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(L.RETURN),this.state=237,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(L.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(L.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(L.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}divider(){let t=new xl(this,this._ctx,this.state);this.enterRule(t,28,L.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Ll(this,this._ctx,this.state);this.enterRule(t,30,L.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(L.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new vo(this,this._ctx,this.state);this.enterRule(t,32,L.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,35,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(L.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(L.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}par(){let t=new _l(this,this._ctx,this.state);this.enterRule(t,34,L.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(L.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(L.PAR);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}opt(){let t=new yl(this,this._ctx,this.state);this.enterRule(t,36,L.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(L.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(L.OPT);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creation(){let t=new Ao(this,this._ctx,this.state);this.enterRule(t,38,L.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(L.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creationBody(){let t=new Cl(this,this._ctx,this.state);this.enterRule(t,40,L.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=285,this.assignment()),this.state=288,this.match(L.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);s===1&&(this.state=290,this.match(L.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=291,this.parameters()),this.state=294,this.match(L.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=297,this.assignment()),this.state=300,this.match(L.NEW);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}message(){let t=new El(this,this._ctx,this.state);this.enterRule(t,42,L.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(L.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new bl(this,this._ctx,this.state);this.enterRule(t,44,L.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(L.ARROW)),this.state=316,this.to(),this.state=317,this.match(L.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(L.ARROW)),this.state=328,this.to(),this.state=329,this.match(L.DOT);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}func(){let t=new So(this,this._ctx,this.state);this.enterRule(t,46,L.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(L.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}from(){let t=new Ro(this,this._ctx,this.state);this.enterRule(t,48,L.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}to(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,50,L.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}signature(){let t=new ko(this,this._ctx,this.state);this.enterRule(t,52,L.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}invocation(){let t=new Io(this,this._ctx,this.state);this.enterRule(t,54,L.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(L.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=350,this.parameters()),this.state=353,this.match(L.CPAR)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignment(){let t=new si(this,this._ctx,this.state);this.enterRule(t,56,L.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(L.ASSIGN)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}asyncMessage(){let t=new Oo(this,this._ctx,this.state);this.enterRule(t,58,L.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,54,this._ctx);s===1&&(this.state=361,this.from(),this.state=362,this.match(L.ARROW)),this.state=366,this.to(),this.state=367,this.match(L.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=372,this.to());break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}content(){let t=new Tl(this,this._ctx,this.state);this.enterRule(t,60,L.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(L.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new wl(this,this._ctx,this.state);this.enterRule(t,62,L.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}type(){let t=new No(this,this._ctx,this.state);this.enterRule(t,64,L.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignee(){let t=new vl(this,this._ctx,this.state);this.enterRule(t,66,L.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,58,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(L.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(L.COMMA),this.state=386,this.match(L.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(L.STRING);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}methodName(){let t=new Al(this,this._ctx,this.state);this.enterRule(t,68,L.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameters(){let t=new Po(this,this._ctx,this.state);this.enterRule(t,70,L.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,59,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=398,this.match(L.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(L.COMMA))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameter(){let t=new Mo(this,this._ctx,this.state);this.enterRule(t,72,L.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}declaration(){let t=new Sl(this,this._ctx,this.state);this.enterRule(t,74,L.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(L.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Rl(this,this._ctx,this.state);this.enterRule(t,76,L.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}tryBlock(){let t=new kl(this,this._ctx,this.state);this.enterRule(t,78,L.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(L.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new Fo(this,this._ctx,this.state);this.enterRule(t,80,L.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(L.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}finallyBlock(){let t=new Il(this,this._ctx,this.state);this.enterRule(t,82,L.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(L.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ol(this,this._ctx,this.state);this.enterRule(t,84,L.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,65,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ifBlock(){let t=new Nl(this,this._ctx,this.state);this.enterRule(t,86,L.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(L.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new Do(this,this._ctx,this.state);this.enterRule(t,88,L.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(L.ELSE),this.state=452,this.match(L.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new Pl(this,this._ctx,this.state);this.enterRule(t,90,L.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(L.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new De(this,this._ctx,this.state);this.enterRule(t,92,L.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(L.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&217191919)!==0&&(this.state=460,this.block()),this.state=463,this.match(L.CBRACE)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}loop(){let t=new Ml(this,this._ctx,this.state);this.enterRule(t,94,L.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(L.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(L.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(L.WHILE);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,s=this.state;let r=new dt(this,this._ctx,s),i=r;const o=96;this.enterRecursionRule(r,96,L.RULE_expr,t);var a=0;try{this.enterOuterAlt(r,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:r=new r2(this,r),this._ctx=r,i=r,this.state=475,this.atom();break;case 2:r=new u2(this,r),this._ctx=r,i=r,this.state=476,this.match(L.MINUS),this.state=477,this.expr(13);break;case 3:r=new c2(this,r),this._ctx=r,i=r,this.state=478,this.match(L.NOT),this.state=479,this.expr(12);break;case 4:r=new s2(this,r),this._ctx=r,i=r,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(L.DOT)),this.state=485,this.func();break;case 5:r=new h2(this,r),this._ctx=r,i=r,this.state=486,this.creation();break;case 6:r=new f2(this,r),this._ctx=r,i=r,this.state=487,this.match(L.OPAR),this.state=488,this.expr(0),this.state=489,this.match(L.CPAR);break;case 7:r=new n2(this,r),this._ctx=r,i=r,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=r,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(r=new d2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(r=new o2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,r.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(r=new a2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(r=new p2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,r.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(r=new g2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(L.AND),this.state=510,this.expr(8);break;case 6:if(r=new i2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(L.OR),this.state=513,this.expr(7);break;case 7:if(r=new l2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(L.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)r.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return r}atom(){let t=new gn(this,this._ctx,this.state);this.enterRule(t,98,L.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new y2(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new m2(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new x2(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(L.ID);break;case 57:t=new L2(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(L.STRING);break;case 36:t=new _2(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(L.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parExpr(){let t=new ri(this,this._ctx,this.state);this.enterRule(t,100,L.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(L.OPAR),this.state=530,this.condition(),this.state=531,this.match(L.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(L.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(L.OPAR),this.state=536,this.match(L.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(L.OPAR);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}condition(){let t=new Fl(this,this._ctx,this.state);this.enterRule(t,102,L.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}inExpr(){let t=new Dl(this,this._ctx,this.state);this.enterRule(t,104,L.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(L.ID),this.state=546,this.match(L.IN),this.state=547,this.match(L.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=L;Z(h,"grammarFileName","java-escape"),Z(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),Z(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Z(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;class e2 extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(ll,0)}head(){return this.getTypedRuleContext(cl,0)}block(){return this.getTypedRuleContext(wo,0)}enterRule(t){t instanceof b&&t.enterProg(this)}exitRule(t){t instanceof b&&t.exitProg(this)}}class ll extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof b&&t.enterTitle(this)}exitRule(t){t instanceof b&&t.exitTitle(this)}}class cl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(To):this.getTypedRuleContext(To,e)});Z(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(sr):this.getTypedRuleContext(sr,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(ul,0)}enterRule(e){e instanceof b&&e.enterHead(this)}exitRule(e){e instanceof b&&e.exitHead(this)}}class To extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(sr):this.getTypedRuleContext(sr,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(rr,0)}enterRule(e){e instanceof b&&e.enterGroup(this)}exitRule(e){e instanceof b&&e.exitGroup(this)}}class ul extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(hl,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof b&&t.enterStarterExp(this)}exitRule(t){t instanceof b&&t.exitStarterExp(this)}}class hl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterStarter(this)}exitRule(t){t instanceof b&&t.exitStarter(this)}}class sr extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(rr,0)}participantType(){return this.getTypedRuleContext(pl,0)}stereotype(){return this.getTypedRuleContext(fl,0)}width(){return this.getTypedRuleContext(gl,0)}label(){return this.getTypedRuleContext(dl,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof b&&t.enterParticipant(this)}exitRule(t){t instanceof b&&t.exitParticipant(this)}}class fl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(rr,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof b&&t.enterStereotype(this)}exitRule(t){t instanceof b&&t.exitStereotype(this)}}class dl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(rr,0)}enterRule(t){t instanceof b&&t.enterLabel(this)}exitRule(t){t instanceof b&&t.exitLabel(this)}}class pl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof b&&t.enterParticipantType(this)}exitRule(t){t instanceof b&&t.exitParticipantType(this)}}class rr extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterName(this)}exitRule(t){t instanceof b&&t.exitName(this)}}class gl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof b&&t.enterWidth(this)}exitRule(t){t instanceof b&&t.exitWidth(this)}}class wo extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(vo):this.getTypedRuleContext(vo,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof b&&e.enterBlock(this)}exitRule(e){e instanceof b&&e.exitBlock(this)}}class ml extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(dt,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Oo,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof b&&t.enterRet(this)}exitRule(t){t instanceof b&&t.exitRet(this)}}class xl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ll,0)}enterRule(t){t instanceof b&&t.enterDivider(this)}exitRule(t){t instanceof b&&t.exitDivider(this)}}class Ll extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof b&&t.enterDividerNote(this)}exitRule(t){t instanceof b&&t.exitDividerNote(this)}}class vo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ol,0)}par(){return this.getTypedRuleContext(_l,0)}opt(){return this.getTypedRuleContext(yl,0)}loop(){return this.getTypedRuleContext(Ml,0)}creation(){return this.getTypedRuleContext(Ao,0)}message(){return this.getTypedRuleContext(El,0)}asyncMessage(){return this.getTypedRuleContext(Oo,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(ml,0)}divider(){return this.getTypedRuleContext(xl,0)}tcf(){return this.getTypedRuleContext(Rl,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof b&&t.enterStat(this)}exitRule(t){t instanceof b&&t.exitStat(this)}}class _l extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterPar(this)}exitRule(t){t instanceof b&&t.exitPar(this)}}class yl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterOpt(this)}exitRule(t){t instanceof b&&t.exitOpt(this)}}class Ao extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(Cl,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterCreation(this)}exitRule(t){t instanceof b&&t.exitCreation(this)}}class Cl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(wl,0)}assignment(){return this.getTypedRuleContext(si,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Po,0)}enterRule(t){t instanceof b&&t.enterCreationBody(this)}exitRule(t){t instanceof b&&t.exitCreationBody(this)}}class El extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(bl,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterMessage(this)}exitRule(t){t instanceof b&&t.exitMessage(this)}}class bl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(So,0)}assignment(){return this.getTypedRuleContext(si,0)}to(){return this.getTypedRuleContext(ni,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ro,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof b&&t.enterMessageBody(this)}exitRule(t){t instanceof b&&t.exitMessageBody(this)}}class So extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ko):this.getTypedRuleContext(ko,e)});Z(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof b&&e.enterFunc(this)}exitRule(e){e instanceof b&&e.exitFunc(this)}}class Ro extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterFrom(this)}exitRule(t){t instanceof b&&t.exitFrom(this)}}class ni extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterTo(this)}exitRule(t){t instanceof b&&t.exitTo(this)}}class ko extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Al,0)}invocation(){return this.getTypedRuleContext(Io,0)}enterRule(t){t instanceof b&&t.enterSignature(this)}exitRule(t){t instanceof b&&t.exitSignature(this)}}class Io extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Po,0)}enterRule(t){t instanceof b&&t.enterInvocation(this)}exitRule(t){t instanceof b&&t.exitInvocation(this)}}class si extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(vl,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(No,0)}enterRule(t){t instanceof b&&t.enterAssignment(this)}exitRule(t){t instanceof b&&t.exitAssignment(this)}}class Oo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(ni,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Tl,0)}from(){return this.getTypedRuleContext(Ro,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof b&&t.enterAsyncMessage(this)}exitRule(t){t instanceof b&&t.exitAsyncMessage(this)}}class Tl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof b&&t.enterContent(this)}exitRule(t){t instanceof b&&t.exitContent(this)}}class wl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterConstruct(this)}exitRule(t){t instanceof b&&t.exitConstruct(this)}}class No extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterType(this)}exitRule(t){t instanceof b&&t.exitType(this)}}class vl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});Z(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(gn,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof b&&e.enterAssignee(this)}exitRule(e){e instanceof b&&e.exitAssignee(this)}}class Al extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterMethodName(this)}exitRule(t){t instanceof b&&t.exitMethodName(this)}}class Po extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Mo):this.getTypedRuleContext(Mo,e)});Z(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof b&&e.enterParameters(this)}exitRule(e){e instanceof b&&e.exitParameters(this)}}class Mo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(Sl,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterParameter(this)}exitRule(t){t instanceof b&&t.exitParameter(this)}}class Sl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(No,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof b&&t.enterDeclaration(this)}exitRule(t){t instanceof b&&t.exitDeclaration(this)}}class Rl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Fo):this.getTypedRuleContext(Fo,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(kl,0)}finallyBlock(){return this.getTypedRuleContext(Il,0)}enterRule(e){e instanceof b&&e.enterTcf(this)}exitRule(e){e instanceof b&&e.exitTcf(this)}}class kl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterTryBlock(this)}exitRule(t){t instanceof b&&t.exitTryBlock(this)}}class Fo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(De,0)}invocation(){return this.getTypedRuleContext(Io,0)}enterRule(t){t instanceof b&&t.enterCatchBlock(this)}exitRule(t){t instanceof b&&t.exitCatchBlock(this)}}class Il extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterFinallyBlock(this)}exitRule(t){t instanceof b&&t.exitFinallyBlock(this)}}class Ol extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Do):this.getTypedRuleContext(Do,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Nl,0)}elseBlock(){return this.getTypedRuleContext(Pl,0)}enterRule(e){e instanceof b&&e.enterAlt(this)}exitRule(e){e instanceof b&&e.exitAlt(this)}}class Nl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterIfBlock(this)}exitRule(t){t instanceof b&&t.exitIfBlock(this)}}class Do extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterElseIfBlock(this)}exitRule(t){t instanceof b&&t.exitElseIfBlock(this)}}class Pl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterElseBlock(this)}exitRule(t){t instanceof b&&t.exitElseBlock(this)}}class De extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(wo,0)}enterRule(t){t instanceof b&&t.enterBraceBlock(this)}exitRule(t){t instanceof b&&t.exitBraceBlock(this)}}class Ml extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterLoop(this)}exitRule(t){t instanceof b&&t.exitLoop(this)}}class dt extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class n2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(si,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof b&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=n2;class s2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(So,0)}to(){return this.getTypedRuleContext(ni,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof b&&t.enterFuncExpr(this)}exitRule(t){t instanceof b&&t.exitFuncExpr(this)}}h.FuncExprContext=s2;class r2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(gn,0)}enterRule(t){t instanceof b&&t.enterAtomExpr(this)}exitRule(t){t instanceof b&&t.exitAtomExpr(this)}}h.AtomExprContext=r2;class i2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof b&&e.enterOrExpr(this)}exitRule(e){e instanceof b&&e.exitOrExpr(this)}}h.OrExprContext=i2;class o2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof b&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof b&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=o2;class a2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof b&&e.enterRelationalExpr(this)}exitRule(e){e instanceof b&&e.exitRelationalExpr(this)}}h.RelationalExprContext=a2;class l2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof b&&e.enterPlusExpr(this)}exitRule(e){e instanceof b&&e.exitPlusExpr(this)}}h.PlusExprContext=l2;class c2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterNotExpr(this)}exitRule(t){t instanceof b&&t.exitNotExpr(this)}}h.NotExprContext=c2;class u2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof b&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=u2;class h2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Ao,0)}enterRule(t){t instanceof b&&t.enterCreationExpr(this)}exitRule(t){t instanceof b&&t.exitCreationExpr(this)}}h.CreationExprContext=h2;class f2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(dt,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof b&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof b&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=f2;class d2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof b&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof b&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=d2;class p2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof b&&e.enterEqualityExpr(this)}exitRule(e){e instanceof b&&e.exitEqualityExpr(this)}}h.EqualityExprContext=p2;class g2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof b&&e.enterAndExpr(this)}exitRule(e){e instanceof b&&e.exitAndExpr(this)}}h.AndExprContext=g2;class gn extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class m2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof b&&t.enterBooleanAtom(this)}exitRule(t){t instanceof b&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=m2;class x2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof b&&t.enterIdAtom(this)}exitRule(t){t instanceof b&&t.exitIdAtom(this)}}h.IdAtomContext=x2;class L2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterStringAtom(this)}exitRule(t){t instanceof b&&t.exitStringAtom(this)}}h.StringAtomContext=L2;class _2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof b&&t.enterNilAtom(this)}exitRule(t){t instanceof b&&t.exitNilAtom(this)}}h.NilAtomContext=_2;class y2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof b&&t.enterNumberAtom(this)}exitRule(t){t instanceof b&&t.exitNumberAtom(this)}}h.NumberAtomContext=y2;class ri extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Fl,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof b&&t.enterParExpr(this)}exitRule(t){t instanceof b&&t.exitParExpr(this)}}class Fl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(gn,0)}expr(){return this.getTypedRuleContext(dt,0)}inExpr(){return this.getTypedRuleContext(Dl,0)}enterRule(t){t instanceof b&&t.enterCondition(this)}exitRule(t){t instanceof b&&t.exitCondition(this)}}class Dl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof b&&e.enterInExpr(this)}exitRule(e){e instanceof b&&e.exitInExpr(this)}}h.ProgContext=e2,h.TitleContext=ll,h.HeadContext=cl,h.GroupContext=To,h.StarterExpContext=ul,h.StarterContext=hl,h.ParticipantContext=sr,h.StereotypeContext=fl,h.LabelContext=dl,h.ParticipantTypeContext=pl,h.NameContext=rr,h.WidthContext=gl,h.BlockContext=wo,h.RetContext=ml,h.DividerContext=xl,h.DividerNoteContext=Ll,h.StatContext=vo,h.ParContext=_l,h.OptContext=yl,h.CreationContext=Ao,h.CreationBodyContext=Cl,h.MessageContext=El,h.MessageBodyContext=bl,h.FuncContext=So,h.FromContext=Ro,h.ToContext=ni,h.SignatureContext=ko,h.InvocationContext=Io,h.AssignmentContext=si,h.AsyncMessageContext=Oo,h.ContentContext=Tl,h.ConstructContext=wl,h.TypeContext=No,h.AssigneeContext=vl,h.MethodNameContext=Al,h.ParametersContext=Po,h.ParameterContext=Mo,h.DeclarationContext=Sl,h.TcfContext=Rl,h.TryBlockContext=kl,h.CatchBlockContext=Fo,h.FinallyBlockContext=Il,h.AltContext=Ol,h.IfBlockContext=Nl,h.ElseIfBlockContext=Do,h.ElseBlockContext=Pl,h.BraceBlockContext=De,h.LoopContext=Ml,h.ExprContext=dt,h.AtomContext=gn,h.ParExprContext=ri,h.ConditionContext=Fl,h.InExprContext=Dl;function q6(){this.__data__=[],this.size=0}var K6=q6;function Y6(n,t){return n===t||n!==n&&t!==t}var Bo=Y6,X6=Bo;function Q6(n,t){for(var e=n.length;e--;)if(X6(n[e][0],t))return e;return-1}var $o=Q6,J6=$o,t8=Array.prototype,e8=t8.splice;function n8(n){var t=this.__data__,e=J6(t,n);if(e<0)return!1;var s=t.length-1;return e==s?t.pop():e8.call(t,e,1),--this.size,!0}var s8=n8,r8=$o;function i8(n){var t=this.__data__,e=r8(t,n);return e<0?void 0:t[e][1]}var o8=i8,a8=$o;function l8(n){return a8(this.__data__,n)>-1}var c8=l8,u8=$o;function h8(n,t){var e=this.__data__,s=u8(e,n);return s<0?(++this.size,e.push([n,t])):e[s][1]=t,this}var f8=h8,d8=K6,p8=s8,g8=o8,m8=c8,x8=f8;function ir(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ir.prototype.clear=d8,ir.prototype.delete=p8,ir.prototype.get=g8,ir.prototype.has=m8,ir.prototype.set=x8;var Uo=ir,L8=Uo;function _8(){this.__data__=new L8,this.size=0}var y8=_8;function C8(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var E8=C8;function b8(n){return this.__data__.get(n)}var T8=b8;function w8(n){return this.__data__.has(n)}var v8=w8,A8=Es,S8=A8.Symbol,C2=S8,E2=C2,b2=Object.prototype,R8=b2.hasOwnProperty,k8=b2.toString,ii=E2?E2.toStringTag:void 0;function I8(n){var t=R8.call(n,ii),e=n[ii];try{n[ii]=void 0;var s=!0}catch{}var r=k8.call(n);return s&&(t?n[ii]=e:delete n[ii]),r}var O8=I8,N8=Object.prototype,P8=N8.toString;function M8(n){return P8.call(n)}var F8=M8,T2=C2,D8=O8,B8=F8,$8="[object Null]",U8="[object Undefined]",w2=T2?T2.toStringTag:void 0;function H8(n){return n==null?n===void 0?U8:$8:w2&&w2 in Object(n)?D8(n):B8(n)}var Ho=H8;function V8(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var vs=V8,G8=Ho,j8=vs,z8="[object AsyncFunction]",W8="[object Function]",Z8="[object GeneratorFunction]",q8="[object Proxy]";function K8(n){if(!j8(n))return!1;var t=G8(n);return t==W8||t==Z8||t==z8||t==q8}var Bl=K8,Y8=Es,X8=Y8["__core-js_shared__"],Q8=X8,$l=Q8,v2=function(){var n=/[^.]+$/.exec($l&&$l.keys&&$l.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function J8(n){return!!v2&&v2 in n}var t7=J8,e7=Function.prototype,n7=e7.toString;function s7(n){if(n!=null){try{return n7.call(n)}catch{}try{return n+""}catch{}}return""}var r7=s7,i7=Bl,o7=t7,a7=vs,l7=r7,c7=/[\\^$.*+?()[\]{}|]/g,u7=/^\[object .+?Constructor\]$/,h7=Function.prototype,f7=Object.prototype,d7=h7.toString,p7=f7.hasOwnProperty,g7=RegExp("^"+d7.call(p7).replace(c7,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m7(n){if(!a7(n)||o7(n))return!1;var t=i7(n)?g7:u7;return t.test(l7(n))}var x7=m7;function L7(n,t){return n==null?void 0:n[t]}var _7=L7,y7=x7,C7=_7;function E7(n,t){var e=C7(n,t);return y7(e)?e:void 0}var Ul=E7,b7=Ul,T7=Es,w7=b7(T7,"Map"),A2=w7,v7=Ul,A7=v7(Object,"create"),Vo=A7,S2=Vo;function S7(){this.__data__=S2?S2(null):{},this.size=0}var R7=S7;function k7(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var I7=k7,O7=Vo,N7="__lodash_hash_undefined__",P7=Object.prototype,M7=P7.hasOwnProperty;function F7(n){var t=this.__data__;if(O7){var e=t[n];return e===N7?void 0:e}return M7.call(t,n)?t[n]:void 0}var D7=F7,B7=Vo,$7=Object.prototype,U7=$7.hasOwnProperty;function H7(n){var t=this.__data__;return B7?t[n]!==void 0:U7.call(t,n)}var V7=H7,G7=Vo,j7="__lodash_hash_undefined__";function z7(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=G7&&t===void 0?j7:t,this}var W7=z7,Z7=R7,q7=I7,K7=D7,Y7=V7,X7=W7;function or(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}or.prototype.clear=Z7,or.prototype.delete=q7,or.prototype.get=K7,or.prototype.has=Y7,or.prototype.set=X7;var Q7=or,R2=Q7,J7=Uo,tp=A2;function ep(){this.size=0,this.__data__={hash:new R2,map:new(tp||J7),string:new R2}}var np=ep;function sp(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var rp=sp,ip=rp;function op(n,t){var e=n.__data__;return ip(t)?e[typeof t=="string"?"string":"hash"]:e.map}var Go=op,ap=Go;function lp(n){var t=ap(this,n).delete(n);return this.size-=t?1:0,t}var cp=lp,up=Go;function hp(n){return up(this,n).get(n)}var fp=hp,dp=Go;function pp(n){return dp(this,n).has(n)}var gp=pp,mp=Go;function xp(n,t){var e=mp(this,n),s=e.size;return e.set(n,t),this.size+=e.size==s?0:1,this}var Lp=xp,_p=np,yp=cp,Cp=fp,Ep=gp,bp=Lp;function ar(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ar.prototype.clear=_p,ar.prototype.delete=yp,ar.prototype.get=Cp,ar.prototype.has=Ep,ar.prototype.set=bp;var Tp=ar,wp=Uo,vp=A2,Ap=Tp,Sp=200;function Rp(n,t){var e=this.__data__;if(e instanceof wp){var s=e.__data__;if(!vp||s.length<Sp-1)return s.push([n,t]),this.size=++e.size,this;e=this.__data__=new Ap(s)}return e.set(n,t),this.size=e.size,this}var kp=Rp,Ip=Uo,Op=y8,Np=E8,Pp=T8,Mp=v8,Fp=kp;function lr(n){var t=this.__data__=new Ip(n);this.size=t.size}lr.prototype.clear=Op,lr.prototype.delete=Np,lr.prototype.get=Pp,lr.prototype.has=Mp,lr.prototype.set=Fp;var Dp=lr,Bp=Ul,$p=function(){try{var n=Bp(Object,"defineProperty");return n({},"",{}),n}catch{}}(),k2=$p,I2=k2;function Up(n,t,e){t=="__proto__"&&I2?I2(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Hl=Up,Hp=Hl,Vp=Bo;function Gp(n,t,e){(e!==void 0&&!Vp(n[t],e)||e===void 0&&!(t in n))&&Hp(n,t,e)}var O2=Gp;function jp(n){return function(t,e,s){for(var r=-1,i=Object(t),o=s(t),a=o.length;a--;){var l=o[n?a:++r];if(e(i[l],l,i)===!1)break}return t}}var zp=jp,Wp=zp,Zp=Wp(),qp=Zp,Vl={exports:{}};(function(n,t){var e=Es,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Vl,Vl.exports);var Kp=Es,Yp=Kp.Uint8Array,Xp=Yp,N2=Xp;function Qp(n){var t=new n.constructor(n.byteLength);return new N2(t).set(new N2(n)),t}var Jp=Qp,tg=Jp;function eg(n,t){var e=t?tg(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var ng=eg;function sg(n,t){var e=-1,s=n.length;for(t||(t=Array(s));++e<s;)t[e]=n[e];return t}var rg=sg,ig=vs,P2=Object.create,og=function(){function n(){}return function(t){if(!ig(t))return{};if(P2)return P2(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),ag=og;function lg(n,t){return function(e){return n(t(e))}}var cg=lg,ug=cg,hg=ug(Object.getPrototypeOf,Object),M2=hg,fg=Object.prototype;function dg(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||fg;return n===e}var F2=dg,pg=ag,gg=M2,mg=F2;function xg(n){return typeof n.constructor=="function"&&!mg(n)?pg(gg(n)):{}}var Lg=xg;function _g(n){return n!=null&&typeof n=="object"}var oi=_g,yg=Ho,Cg=oi,Eg="[object Arguments]";function bg(n){return Cg(n)&&yg(n)==Eg}var Tg=bg,D2=Tg,wg=oi,B2=Object.prototype,vg=B2.hasOwnProperty,Ag=B2.propertyIsEnumerable,Sg=D2(function(){return arguments}())?D2:function(n){return wg(n)&&vg.call(n,"callee")&&!Ag.call(n,"callee")},$2=Sg,Rg=Array.isArray,U2=Rg,kg=9007199254740991;function Ig(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=kg}var H2=Ig,Og=Bl,Ng=H2;function Pg(n){return n!=null&&Ng(n.length)&&!Og(n)}var Gl=Pg,Mg=Gl,Fg=oi;function Dg(n){return Fg(n)&&Mg(n)}var Bg=Dg,jo={exports:{}};function $g(){return!1}var Ug=$g;(function(n,t){var e=Es,s=Ug,r=t&&!t.nodeType&&t,i=r&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===r,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||s;n.exports=c})(jo,jo.exports);var Hg=Ho,Vg=M2,Gg=oi,jg="[object Object]",zg=Function.prototype,Wg=Object.prototype,V2=zg.toString,Zg=Wg.hasOwnProperty,qg=V2.call(Object);function Kg(n){if(!Gg(n)||Hg(n)!=jg)return!1;var t=Vg(n);if(t===null)return!0;var e=Zg.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&V2.call(e)==qg}var Yg=Kg,Xg=Ho,Qg=H2,Jg=oi,tm="[object Arguments]",em="[object Array]",nm="[object Boolean]",sm="[object Date]",rm="[object Error]",im="[object Function]",om="[object Map]",am="[object Number]",lm="[object Object]",cm="[object RegExp]",um="[object Set]",hm="[object String]",fm="[object WeakMap]",dm="[object ArrayBuffer]",pm="[object DataView]",gm="[object Float32Array]",mm="[object Float64Array]",xm="[object Int8Array]",Lm="[object Int16Array]",_m="[object Int32Array]",ym="[object Uint8Array]",Cm="[object Uint8ClampedArray]",Em="[object Uint16Array]",bm="[object Uint32Array]",Vt={};Vt[gm]=Vt[mm]=Vt[xm]=Vt[Lm]=Vt[_m]=Vt[ym]=Vt[Cm]=Vt[Em]=Vt[bm]=!0,Vt[tm]=Vt[em]=Vt[dm]=Vt[nm]=Vt[pm]=Vt[sm]=Vt[rm]=Vt[im]=Vt[om]=Vt[am]=Vt[lm]=Vt[cm]=Vt[um]=Vt[hm]=Vt[fm]=!1;function Tm(n){return Jg(n)&&Qg(n.length)&&!!Vt[Xg(n)]}var wm=Tm;function vm(n){return function(t){return n(t)}}var Am=vm,jl={exports:{}};(function(n,t){var e=Rh,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i&&e.process,a=function(){try{var l=r&&r.require&&r.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(jl,jl.exports);var Sm=wm,Rm=Am,G2=jl.exports,j2=G2&&G2.isTypedArray,km=j2?Rm(j2):Sm,z2=km;function Im(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var W2=Im,Om=Hl,Nm=Bo,Pm=Object.prototype,Mm=Pm.hasOwnProperty;function Fm(n,t,e){var s=n[t];(!(Mm.call(n,t)&&Nm(s,e))||e===void 0&&!(t in n))&&Om(n,t,e)}var Dm=Fm,Bm=Dm,$m=Hl;function Um(n,t,e,s){var r=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=s?s(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),r?$m(e,a,l):Bm(e,a,l)}return e}var Hm=Um;function Vm(n,t){for(var e=-1,s=Array(n);++e<n;)s[e]=t(e);return s}var Gm=Vm,jm=9007199254740991,zm=/^(?:0|[1-9]\d*)$/;function Wm(n,t){var e=typeof n;return t=t==null?jm:t,!!t&&(e=="number"||e!="symbol"&&zm.test(n))&&n>-1&&n%1==0&&n<t}var Z2=Wm,Zm=Gm,qm=$2,Km=U2,Ym=jo.exports,Xm=Z2,Qm=z2,Jm=Object.prototype,tx=Jm.hasOwnProperty;function ex(n,t){var e=Km(n),s=!e&&qm(n),r=!e&&!s&&Ym(n),i=!e&&!s&&!r&&Qm(n),o=e||s||r||i,a=o?Zm(n.length,String):[],l=a.length;for(var c in n)(t||tx.call(n,c))&&!(o&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Xm(c,l)))&&a.push(c);return a}var nx=ex;function sx(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var rx=sx,ix=vs,ox=F2,ax=rx,lx=Object.prototype,cx=lx.hasOwnProperty;function ux(n){if(!ix(n))return ax(n);var t=ox(n),e=[];for(var s in n)s=="constructor"&&(t||!cx.call(n,s))||e.push(s);return e}var hx=ux,fx=nx,dx=hx,px=Gl;function gx(n){return px(n)?fx(n,!0):dx(n)}var q2=gx,mx=Hm,xx=q2;function Lx(n){return mx(n,xx(n))}var _x=Lx,K2=O2,yx=Vl.exports,Cx=ng,Ex=rg,bx=Lg,Y2=$2,X2=U2,Tx=Bg,wx=jo.exports,vx=Bl,Ax=vs,Sx=Yg,Rx=z2,Q2=W2,kx=_x;function Ix(n,t,e,s,r,i,o){var a=Q2(n,e),l=Q2(t,e),c=o.get(l);if(c){K2(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=X2(l),p=!d&&wx(l),E=!d&&!p&&Rx(l);u=l,d||p||E?X2(a)?u=a:Tx(a)?u=Ex(a):p?(f=!1,u=yx(l,!0)):E?(f=!1,u=Cx(l,!0)):u=[]:Sx(l)||Y2(l)?(u=a,Y2(a)?u=kx(a):(!Ax(a)||vx(a))&&(u=bx(l))):f=!1}f&&(o.set(l,u),r(u,l,s,i,o),o.delete(l)),K2(n,e,u)}var Ox=Ix,Nx=Dp,Px=O2,Mx=qp,Fx=Ox,Dx=vs,Bx=q2,$x=W2;function J2(n,t,e,s,r){n!==t&&Mx(t,function(i,o){if(r||(r=new Nx),Dx(i))Fx(n,t,o,e,J2,s,r);else{var a=s?s($x(n,o),i,o+"",n,t,r):void 0;a===void 0&&(a=i),Px(n,o,a)}},Bx)}var Ux=J2;function Hx(n){return n}var tf=Hx;function Vx(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Gx=Vx,jx=Gx,ef=Math.max;function zx(n,t,e){return t=ef(t===void 0?n.length-1:t,0),function(){for(var s=arguments,r=-1,i=ef(s.length-t,0),o=Array(i);++r<i;)o[r]=s[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=s[r];return a[t]=e(o),jx(n,this,a)}}var Wx=zx;function Zx(n){return function(){return n}}var qx=Zx,Kx=qx,nf=k2,Yx=tf,Xx=nf?function(n,t){return nf(n,"toString",{configurable:!0,enumerable:!1,value:Kx(t),writable:!0})}:Yx,Qx=Xx,Jx=800,tL=16,eL=Date.now;function nL(n){var t=0,e=0;return function(){var s=eL(),r=tL-(s-e);if(e=s,r>0){if(++t>=Jx)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var sL=nL,rL=Qx,iL=sL,oL=iL(rL),aL=oL,lL=tf,cL=Wx,uL=aL;function hL(n,t){return uL(cL(n,t,lL),n+"")}var fL=hL,dL=Bo,pL=Gl,gL=Z2,mL=vs;function xL(n,t,e){if(!mL(e))return!1;var s=typeof t;return(s=="number"?pL(e)&&gL(t,e.length):s=="string"&&t in e)?dL(e[t],n):!1}var LL=xL,_L=fL,yL=LL;function CL(n){return _L(function(t,e){var s=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(r--,i):void 0,o&&yL(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++s<r;){var a=e[s];a&&n(t,a,s,i)}return t})}var EL=CL,bL=Ux,TL=EL,wL=TL(function(n,t,e,s){bL(n,t,e,s)}),vL=wL;class AL{constructor(t,e,s,r,i,o,a,l,c,u){Z(this,"name");Z(this,"stereotype");Z(this,"width");Z(this,"groupId");Z(this,"explicit");Z(this,"isStarter");Z(this,"label");Z(this,"type");Z(this,"color");Z(this,"comment");this.name=t,this.stereotype=s,this.width=r,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class SL{constructor(){Z(this,"participants",new Map)}Add(t,e,s,r,i,o,a,l,c,u){const f=new AL(t,e,s,r,i,o,a,l,c,u);this.participants.set(t,vL({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}}const RL=h.ProgContext;let kn,As=!1,zl;const Ae=new b;let kL=function(n){var c,u,f,d,p,E,v;if(As)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",s=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),r=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((E=(p=n.label())==null?void 0:p.name())==null?void 0:E.getFormattedText()),o=!0,a=(v=n.COLOR())==null?void 0:v.getText(),l=n.getComment();kn.Add(e,!1,s,r,zl,i,o,t,a,l)};Ae.enterParticipant=kL;let sf=function(n){if(As)return;let t=n.getFormattedText();kn.Add(t)};Ae.enterFrom=sf,Ae.enterTo=sf,Ae.enterStarter=function(n){let t=n.getFormattedText();kn.Add(t,!0)},Ae.enterCreation=function(n){if(As)return;const t=n.Owner();kn.Add(t)},Ae.enterParameters=function(){As=!0},Ae.exitParameters=function(){As=!1},Ae.enterCondition=function(){As=!0},Ae.exitCondition=function(){As=!1},Ae.enterGroup=function(n){var t;zl=(t=n.name())==null?void 0:t.getFormattedText()},Ae.exitGroup=function(){zl=void 0},Ae.enterRet=function(n){n.asyncMessage()||(kn.Add(n.From()),kn.Add(n.ReturnTo()))};const IL=_.tree.ParseTreeWalker.DEFAULT;Ae.getParticipants=function(n,t){return kn=new SL,t&&n instanceof RL&&kn.Add(n.Starter(),!0),IL.walk(this,n),kn};const OL=_.tree.ParseTreeWalker.DEFAULT;var Qe=new b,fe=0,Ge=0;Qe.enterTcf=function(){fe++},Qe.enterOpt=function(){fe++},Qe.enterPar=function(){fe++},Qe.enterAlt=function(){fe++},Qe.enterLoop=function(){fe++},Qe.exitTcf=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitOpt=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitPar=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitAlt=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitLoop=function(){Ge=Math.max(Ge,fe),fe--},Qe.depth=function(n){return function(t){return fe=0,Ge=0,t.children.map(function(e){OL.walk(n,e)}),Ge}};const NL=h.TitleContext;NL.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const rf=h,Wl=rf.CreationContext;Wl.prototype.Body=Wl.prototype.creationBody,Wl.prototype.isCurrent=function(n){return of.bind(this)(n)};const Zl=rf.MessageContext;Zl.prototype.Body=Zl.prototype.messageBody,Zl.prototype.isCurrent=function(n){return of.bind(this)(n)};function of(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const ql=h,zo=ql.CreationContext,Kl=ql.MessageContext,af=ql.AsyncMessageContext;zo.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},zo.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},zo.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},Kl.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},Kl.prototype.Owner=function(){return this.To()||lf(this.parentCtx)};function lf(n){for(;n;){if(n instanceof zo||n instanceof Kl)return n.Owner();n=n.parentCtx}}af.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},af.prototype.Owner=function(){return this.To()||lf(this.parentCtx)};const PL=h.ProgContext;PL.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,E,v,W;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,s;const r=(l=this.block())==null?void 0:l.stat();if(r&&r[0]){const y=(f=(u=(c=r[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),m=(p=(d=r[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=y||m}else{const y=(E=this.head())==null?void 0:E.children;if(y&&y[0]){const m=y[0];if(m instanceof h.ParticipantContext&&(e=(v=m.name())==null?void 0:v.getFormattedText()),m instanceof h.GroupContext){const C=m.participant();C&&C[0]&&(s=(W=C[0].name())==null?void 0:W.getFormattedText())}}}return n||t||e||s||"_STARTER_"};const Wo=h,ML=Wo.RetContext,cf=Wo.ProgContext,uf=Wo.MessageContext,FL=Wo.CreationContext;ML.prototype.ReturnTo=function(){var s,r;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof cf)return e.Starter();{let i=e;for(;i&&!(i instanceof uf)&&!(i instanceof FL);){if(i instanceof cf)return i.Starter();i=i.parentCtx}return i instanceof uf&&((r=(s=i.messageBody())==null?void 0:s.from())==null?void 0:r.getFormattedText())||i.ClosestAncestorStat().Origin()}};const DL=_.ParserRuleContext,hf=h.StatContext,Yl=h.ProgContext,BL=h.MessageContext,$L=h.CreationContext;DL.prototype.Origin=function(){let n=this.parentCtx;for(;n&&!(n instanceof hf||n instanceof Yl);)n=this.parentCtx;return n.Origin()},hf.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Yl)return n.Starter();if(n instanceof BL||n instanceof $L){const t=n.Owner();if(t)return t}n=n.parentCtx}},Yl.prototype.Origin=function(){return this.Starter()};const UL=h.DividerContext;UL.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const Xl=h,HL=Xl.MessageContext,VL=Xl.AsyncMessageContext,GL=Xl.CreationContext;HL.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(s=>s==null?void 0:s.getFormattedText()).join(".")},VL.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},GL.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"\xAB"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"\xBB"};const jL=h.MessageContext;class zL{constructor(t,e){Z(this,"assignee");Z(this,"type");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(":")}}jL.prototype.Assignment=function(){var s,r;let n=this.messageBody().assignment();const t=(s=n==null?void 0:n.assignee())==null?void 0:s.getFormattedText(),e=(r=n==null?void 0:n.type())==null?void 0:r.getFormattedText();if(t)return new zL(t,e)};const ai=h,WL=ai.CreationContext,ZL=ai.StatContext,ff=ai.MessageContext,qL=ai.AsyncMessageContext,KL=ai.RetContext;WL.prototype.From=function(){if(this.parentCtx instanceof ZL)return this.ClosestAncestorStat().Origin()},ff.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},ff.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},qL.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},KL.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Ql=h,Jl=Ql.CreationContext;Jl.prototype.Body=Jl.prototype.creationBody,Jl.prototype.isInitedFromOccurrence=function(n){return df.bind(this)(n)};const tc=Ql.MessageContext;tc.prototype.Body=tc.prototype.messageBody,tc.prototype.isInitedFromOccurrence=function(n){return df.bind(this)(n)};function df(n){let t=this;for(;t!=null;){if(t instanceof Ql.StatContext){let e;if(t.message&&t.message()?e=t.message().Owner():t.creation&&t.creation()?e=t.creation().Owner():t.asyncMessage&&t.asyncMessage()&&(e=t.asyncMessage().to().getFormattedText()),e===n)return!0}t=t.parentCtx}return!1}const pf=h,gf=pf.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof gf);)n=n.parentCtx;if(n instanceof gf)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof pf.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function YL(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,r){return t.apply(this,arguments)};case 4:return function(e,s,r,i){return t.apply(this,arguments)};case 5:return function(e,s,r,i,o){return t.apply(this,arguments)};case 6:return function(e,s,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,s,r,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,s,r,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,s,r,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,s,r,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var mf=YL;function XL(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var QL=XL;function JL(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var ec=JL,t_=ec;function e_(n){return function t(e){return arguments.length===0||t_(e)?t:n.apply(this,arguments)}}var Zo=e_,nc=Zo,li=ec;function n_(n){return function t(e,s){switch(arguments.length){case 0:return t;case 1:return li(e)?t:nc(function(r){return n(e,r)});default:return li(e)&&li(s)?t:li(e)?nc(function(r){return n(r,s)}):li(s)?nc(function(r){return n(e,r)}):n(e,s)}}}var xf=n_,qo=Zo,cr=xf,oe=ec;function s_(n){return function t(e,s,r){switch(arguments.length){case 0:return t;case 1:return oe(e)?t:cr(function(i,o){return n(e,i,o)});case 2:return oe(e)&&oe(s)?t:oe(e)?cr(function(i,o){return n(i,s,o)}):oe(s)?cr(function(i,o){return n(e,i,o)}):qo(function(i){return n(e,s,i)});default:return oe(e)&&oe(s)&&oe(r)?t:oe(e)&&oe(s)?cr(function(i,o){return n(i,o,r)}):oe(e)&&oe(r)?cr(function(i,o){return n(i,s,o)}):oe(s)&&oe(r)?cr(function(i,o){return n(e,i,o)}):oe(e)?qo(function(i){return n(i,s,r)}):oe(s)?qo(function(i){return n(e,i,r)}):oe(r)?qo(function(i){return n(e,s,i)}):n(e,s,r)}}}var sc=s_,Lf=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function r_(n){return Object.prototype.toString.call(n)==="[object String]"}var i_=r_,o_=Zo,a_=Lf,l_=i_,c_=o_(function(t){return a_(t)?!0:!t||typeof t!="object"||l_(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),u_=c_,h_=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function f_(n){return new h_(n)}var d_=f_,p_=mf,g_=xf,m_=g_(function(t,e){return p_(t.length,function(){return t.apply(e,arguments)})}),x_=m_,L_=u_,__=d_,y_=x_;function C_(n,t,e){for(var s=0,r=e.length;s<r;){if(t=n["@@transducer/step"](t,e[s]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return n["@@transducer/result"](t)}function _f(n,t,e){for(var s=e.next();!s.done;){if(t=n["@@transducer/step"](t,s.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=e.next()}return n["@@transducer/result"](t)}function yf(n,t,e,s){return n["@@transducer/result"](e[s](y_(n["@@transducer/step"],n),t))}var Cf=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function E_(n,t,e){if(typeof n=="function"&&(n=__(n)),L_(e))return C_(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return yf(n,t,e,"fantasy-land/reduce");if(e[Cf]!=null)return _f(n,t,e[Cf]());if(typeof e.next=="function")return _f(n,t,e);if(typeof e.reduce=="function")return yf(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var b_=E_,T_=sc,w_=b_,v_=T_(w_),A_=v_,S_=Lf;function R_(n,t){return function(){var e=arguments.length;if(e===0)return t();var s=arguments[e-1];return S_(s)||typeof s[n]!="function"?t.apply(this,arguments):s[n].apply(s,Array.prototype.slice.call(arguments,0,e-1))}}var Ef=R_,k_=Ef,I_=sc,O_=I_(k_("slice",function(t,e,s){return Array.prototype.slice.call(s,t,e)})),N_=O_,P_=Ef,M_=Zo,F_=N_,D_=M_(P_("tail",F_(1,1/0))),B_=D_,$_=mf,U_=QL,H_=A_,V_=B_;function G_(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return $_(arguments[0].length,H_(U_,arguments[0],V_(arguments)))}var j_=G_;const z_=j_;var W_=sc,Z_=W_(function(t,e,s){return s.replace(t,e)}),q_=Z_;const ci=q_,K_=ci(/[\n\r]/g," "),Y_=ci(/\s+/g," "),X_=ci(/\s*([,;.()])\s*/g,"$1"),Q_=ci(/\s+$/g,""),J_=ci(/^"(.*)"$/,"$1"),ty=z_(K_,Y_,X_,Q_,J_);class ey extends _.error.ErrorListener{syntaxError(t,e,s,r,i){}}function ny(n){const t=new _.InputStream(n),e=new H(t),s=new _.CommonTokenStream(e),r=new h(s);return r.addErrorListener(new ey),r._syntaxErrors?null:r.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return ty(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=H.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(s=>s.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const sy=h.ProgContext,ry=ny,bf=h.GroupContext,Tf=h.ParticipantContext,ur=function(n,t){return Ae.getParticipants(n,t)};var Kn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Kn||{});function In(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const r=document.createElement("div");r.className="textarea-hidden-div ",r.style.fontSize=t===Kn.MessageContent?"0.875rem":"1rem",r.style.fontFamily="Helvetica, Verdana, serif",r.style.display="inline",r.style.whiteSpace="nowrap",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.overflow="hidden",r.style.width="0px",r.style.paddingLeft="0px",r.style.paddingRight="0px",r.style.margin="0px",r.style.border="0px",document.body.appendChild(r),e=r}return e.textContent=n,e.scrollWidth}const iy=100,rc=20,oy=10,ay=14,ly=100,cy=h;class ic extends b{constructor(){super(...arguments);Z(this,"explicitParticipants",[]);Z(this,"starter","");Z(this,"implicitParticipants",[]);Z(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(e){this.starter=e.getFormattedText()}enterParticipant(e){var o,a,l;const s=((o=e==null?void 0:e.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",r=(l=(a=e.label())==null?void 0:a.name())==null?void 0:l.getFormattedText(),i={name:s,label:r,left:""};this.explicitParticipants.push(i)}enterFrom(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(e.ClosestAncestorBlock().parentCtx instanceof cy.ProgContext&&e.ClosestAncestorStat()===e.ClosestAncestorBlock().children[0]){this.starter=s;return}this.enterTo(e)}enterTo(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}enterCreation(e){if(this.isBlind)return;const s=e==null?void 0:e.Owner();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}result(){let e=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||e.unshift(this._getStarter()),e=this._dedup(e),ic._assignLeft(e),e}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(e=>e.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(e){return e.filter((s,r)=>e.findIndex(i=>i.name===s.name)===r)}static _assignLeft(e){e.reduce((s,r)=>(r.left=s.name||"",r),{name:"",left:""})}}function uy(n){const t=new ic;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function Ko(n,t){return{position:n,velocity:t}}function wf(n,t){return Ko(n.position+t.position,n.velocity+t.velocity)}const vf=Math.sqrt(Number.EPSILON);function hy(n,t){let e=n.position-t.position;return e<-vf||Math.abs(e)<=vf&&n.velocity<t.velocity}function fy(){return{delta:1/0,dualLessThan:function(n,t){let e=hy(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function dy(n,t){let e=Array();for(let s=0;s<n;s++){e.push([]);for(let r=0;r<s;r++)t[r][s]>0&&e[s].push({i:r,length:Ko(t[r][s],0)})}return e}function py(n,t){let e=fy(),s=Ko(0,0),r=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(s=wf(s,t[i-1]));for(let a of n[i]){let l=wf(r[a.i].maximum,a.length);e.dualLessThan(s,l)&&(o=a.i,s=l)}r.push({argument:o,maximum:s})}return[e.delta,r]}function gy(n,t,e){let s=n.length-1;for(;s>0;){let r=n[s].argument;r!==null?s=r:(s--,e[s].velocity=0)}}function my(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function xy(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function Ly(n){const t=n.length;let e=dy(t,n),s=[];for(let r=1;r<t;r++)s.push(Ko(0,1));for(;;){let[r,i]=py(e,s);if(r==1/0)return xy(i);i[t-1].maximum.velocity>0?gy(i,e,s):my(s,r)}}var ui=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(ui||{});class _y extends b{constructor(){super(...arguments);Z(this,"isBlind",!1);Z(this,"ownableMessages",[]);Z(this,"enterMessage",e=>this._addOwnedMessage(ui.SyncMessage)(e));Z(this,"enterAsyncMessage",e=>this._addOwnedMessage(ui.AsyncMessage)(e));Z(this,"enterCreation",e=>this._addOwnedMessage(ui.CreationMessage)(e));Z(this,"_addOwnedMessage",e=>s=>{if(this.isBlind)return;let r=s.From();const i=s==null?void 0:s.Owner(),o=s==null?void 0:s.SignatureText();this.ownableMessages.push({from:r,signature:o,type:e,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function Af(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new _y;return t.walk(e,n),e.result()}class mn{constructor(t,e){Z(this,"m",[]);Z(this,"widthProvider");Z(this,"participantModels");Z(this,"ownableMessages");this.participantModels=uy(t),this.ownableMessages=Af(t),this.widthProvider=e,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(t=>t.name)}getPosition(t){const e=this.participantModels.findIndex(i=>i.name===t);if(e===-1)throw Error(`Participant ${t} not found`);const r=this.getParticipantGap(this.participantModels[0])+Ly(this.m)[e];return console.debug(`Position of ${t} is ${r}`),r}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(s=>{const r=e.findIndex(l=>l.name===s.from),i=e.findIndex(l=>l.name===s.to);if(r===-1||i===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);return}let o=Math.min(r,i),a=Math.max(r,i);try{let l=this.getMessageWidth(s);this.m[o][a]=Math.max(l+oy+ay,this.m[o][a])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}})}getMessageWidth(t){const e=mn.half(this.widthProvider,t.to);let s=this.widthProvider(t.signature,Kn.MessageContent);return t.type===ui.CreationMessage&&(s+=e),s}withParticipantGaps(t){this.m=t.map((e,s)=>t.map((r,i)=>i-s===1?this.getParticipantGap(r):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const s=mn.half(this.widthProvider,e),r=mn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&s||0)+(o&&r||0)}labelOrName(t){const e=this.participantModels.findIndex(s=>s.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return rc/2;const s=this.halfWithMargin(t,e);return Math.max(s,iy/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+rc/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Kn.ParticipantName),ly)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+mn.half(this.widthProvider,t);return Math.max(e,200)}distance(t,e){return this.getPosition(e)-this.getPosition(t)}}let Sf=0;setTimeout(function(){Sf||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Rf=()=>(Sf=a6(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>ry(n.code),title:(n,t)=>{var e,s;return(s=(e=t.rootContext)==null?void 0:e.title())==null?void 0:s.content()},participants:(n,t)=>ur(t.rootContext,!0),coordinates:(n,t)=>new mn(t.rootContext,In),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(s){return console.error(s),0}},GroupContext:()=>bf,ParticipantContext:()=>Tf,cursor:n=>n.cursor,distance:(n,t)=>(e,s)=>t.centerOf(e)-t.centerOf(s),distance2:(n,t)=>(e,s)=>!e||!s?0:t.centerOf(s)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1}),sA="",It=(n,t)=>{const e=n.__vccOpts||n;for(const[s,r]of t)e[s]=r;return e},yy={name:"Privacy"},Cy=[(n=>(is("data-v-70836592"),n=n(),os(),n))(()=>A("div",{class:"tooltip bottom whitespace-normal","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."},[A("svg",{class:"fill-current h-6 w-6 m-auto",xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},[A("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),A("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})])],-1))];function Ey(n,t,e,s,r,i){return N(),et("div",null,Cy)}const by=It(yy,[["render",Ey],["__scopeId","data-v-70836592"]]),Ty={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},wy={class:"title text-skin-title text-base font-semibold"};function vy(n,t,e,s,r,i){return N(),et("div",wy,Yt(i.title),1)}const Ay=It(Ty,[["render",vy]]),kf=new ph;var oc={exports:{}},Sy={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]},If={exports:{}},Ry=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},ky=Ry,Iy=Array.prototype.concat,Oy=Array.prototype.slice,Of=If.exports=function(t){for(var e=[],s=0,r=t.length;s<r;s++){var i=t[s];ky(i)?e=Iy.call(e,Oy.call(i)):e.push(i)}return e};Of.wrap=function(n){return function(){return n(Of(arguments))}};var Yo=Sy,hi=If.exports,Nf={};for(var ac in Yo)Yo.hasOwnProperty(ac)&&(Nf[Yo[ac]]=ac);var Be=oc.exports={to:{},get:{}};Be.get=function(n){var t=n.substring(0,3).toLowerCase(),e,s;switch(t){case"hsl":e=Be.get.hsl(n),s="hsl";break;case"hwb":e=Be.get.hwb(n),s="hwb";break;default:e=Be.get.rgb(n),s="rgb";break}return e?{model:s,value:e}:null},Be.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,s=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=Yo[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Yn(o[l],0,255);return o[3]=Yn(o[3],0,1),o},Be.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])+360)%360,i=Yn(parseFloat(e[2]),0,100),o=Yn(parseFloat(e[3]),0,100),a=Yn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Be.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])%360+360)%360,i=Yn(parseFloat(e[2]),0,100),o=Yn(parseFloat(e[3]),0,100),a=Yn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Be.to.hex=function(){var n=hi(arguments);return"#"+Xo(n[0])+Xo(n[1])+Xo(n[2])+(n[3]<1?Xo(Math.round(n[3]*255)):"")},Be.to.rgb=function(){var n=hi(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},Be.to.rgb.percent=function(){var n=hi(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),s=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+s+"%)":"rgba("+t+"%, "+e+"%, "+s+"%, "+n[3]+")"},Be.to.hsl=function(){var n=hi(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},Be.to.hwb=function(){var n=hi(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},Be.to.keyword=function(n){return Nf[n.slice(0,3)]};function Yn(n,t,e){return Math.min(Math.max(t,n),e)}function Xo(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function Ny(n){const t=oc.exports.get.rgb(n);let[e,s,r]=t;return(e*299+s*587+r*114)/1e3}function Py(n){const t=oc.exports.get.rgb(n);let[e,s,r]=t;return`rgb(${e}, ${s}, ${r})`}const My=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15
|
+
`))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+Zn(t.predicates):e+"=>"+t.prediction.toString():e}}class qh extends el{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class A6{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new Fe,this.s0=null,this.precedenceDfa=!1,t instanceof bs&&t.isPrecedenceDecision){this.precedenceDfa=!0;const s=new Rn(null,new Le);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new Fe,t){const e=new Rn(null,new Le);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,s){return e.stateNumber-s.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new el(this,t,e).toString()}toLexerString(){return this.s0===null?"":new qh(this).toString()}get states(){return this._states}}const S6={DFA:A6,DFASerializer:el,LexerDFASerializer:qh,PredPrediction:Zh};class Kh{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class R6{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class nl{walk(t,e){if(e instanceof mo||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof An)t.visitTerminal(e);else{this.enterRule(t,e);for(let r=0;r<e.getChildCount();r++){const i=e.getChild(r);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const s=e.getRuleContext();t.enterEveryRule(s),s.enterRule(t)}exitRule(t,e){const s=e.getRuleContext();s.exitRule(t),t.exitEveryRule(s)}}nl.DEFAULT=new nl;const k6={Trees:hn,RuleNode:go,ErrorNode:mo,TerminalNode:An,ParseTreeListener:Kh,ParseTreeVisitor:R6,ParseTreeWalker:nl};class ei extends qn{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class Yh extends qn{constructor(t,e,s){super({message:I6(e,s||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof Gh?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function I6(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class O6 extends Eo{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,s,r,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,s,r,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,s,r,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new kt(s,r))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const s=e.decision,r=e.atnStartState.ruleIndex,i=t.ruleNames;if(r<0||r>=i.length)return""+s;const o=i[r]||null;return o===null||o.length===0?""+s:`${s} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const s=new dn;for(let r=0;r<e.items.length;r++)s.add(e.items[r].alt);return`{${s.values().join(", ")}}`}}class sl extends Error{constructor(){super(),Error.captureStackTrace(this,sl)}}class N6{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class rl extends N6{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof tl?this.reportNoViableAlternative(t,e):e instanceof ei?this.reportInputMismatch(t,e):e instanceof Yh?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const s=this.getErrorRecoverySet(t);this.consumeUntil(t,s)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],s=t.getTokenStream().LA(1),r=t.atn.nextTokens(e);if(r.contains(s)){this.nextTokensContext=null,this.nextTokenState=J.INVALID_STATE_NUMBER;return}else if(r.contains(M.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case J.BLOCK_START:case J.STAR_BLOCK_START:case J.PLUS_BLOCK_START:case J.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new ei(t);case J.PLUS_LOOP_BACK:case J.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new Ve;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const s=t.getTokenStream();let r;s!==null?e.startToken.type===M.EOF?r="<EOF>":r=s.getText(new kt(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):r="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(r);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const s="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(s,e.offendingToken,e)}reportFailedPredicate(t,e){const r="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(r,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s=this.getTokenErrorDisplay(e),r=this.getExpectedTokens(t),i="extraneous input "+s+" expecting "+r.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(r,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new ei(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),s=t._interp.atn,i=s.states[t.state].transitions[0].target;return s.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const r=t.getCurrentToken();return this.reportMatch(t),r}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),r=this.getExpectedTokens(t).first();let i;r===M.EOF?i="<missing EOF>":i="<missing "+t.literalNames[r]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===M.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,r,i,M.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===M.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let s=t._ctx;const r=new Ve;for(;s!==null&&s.invokingState>=0;){const o=e.states[s.invokingState].transitions[0],a=e.nextTokens(o.followState);r.addSet(a),s=s.parentCtx}return r.removeOne(M.EPSILON),r}consumeUntil(t,e){let s=t.getTokenStream().LA(1);for(;s!==M.EOF&&!e.contains(s);)t.consume(),s=t.getTokenStream().LA(1)}}class P6 extends rl{constructor(){super()}recover(t,e){let s=t._ctx;for(;s!==null;)s.exception=e,s=s.parentCtx;throw new sl(e)}recoverInline(t){this.recover(t,new ei(t))}sync(t){}}const M6={RecognitionException:qn,NoViableAltException:tl,LexerNoViableAltException:Ja,InputMismatchException:ei,FailedPredicateException:Yh,DiagnosticErrorListener:O6,BailErrorStrategy:P6,DefaultErrorStrategy:rl,ErrorListener:Eo};class ws{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const r=this.strdata.codePointAt(s);this.data.push(r),s+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const r=this.strdata.charCodeAt(s);this.data[s]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?M.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let r=t;r<=e;r++)s+=String.fromCodePoint(this.data[r]);return s}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const il={},F6={fromString:function(n){return new ws(n,!0)},fromBlob:function(n,t,e,s){const r=new window.FileReader;r.onload=function(i){const o=new ws(i.target.result,!0);e(o)},r.onerror=s,r.readAsText(n,t)},fromBuffer:function(n,t){return new ws(n.toString(t),!0)},fromPath:function(n,t,e){il.readFile(n,t,function(s,r){let i=null;r!==null&&(i=new ws(r,!0)),e(s,i)})},fromPathSync:function(n,t){const e=il.readFileSync(n,t);return new ws(e,!0)}};class D6 extends ws{constructor(t,e){const s=il.readFileSync(t,"utf8");super(s,e),this.fileName=t}}class B6{}class $6 extends B6{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===M.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===M.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,s){if(s===void 0&&(s=null),t<0||e<0)return null;this.lazyInit();const r=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===M.EOF)break;(s===null||s.contains(o.type))&&r.push(o)}return r}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let s=this.tokens[t];for(;s.channel!==this.channel;){if(s.type===M.EOF)return-1;t+=1,this.sync(t),s=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(t+1,zt.DEFAULT_TOKEN_CHANNEL),r=t+1,i=s===-1?this.tokens.length-1:s;return this.filterForChannel(r,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(t-1,zt.DEFAULT_TOKEN_CHANNEL);if(s===t-1)return null;const r=s+1,i=t-1;return this.filterForChannel(r,i,e)}filterForChannel(t,e,s){const r=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];s===-1?o.channel!==zt.DEFAULT_TOKEN_CHANNEL&&r.push(o):o.channel===s&&r.push(o)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new kt(0,this.tokens.length-1));let e=t.start;e instanceof M&&(e=e.tokenIndex);let s=t.stop;if(s instanceof M&&(s=s.tokenIndex),e===null||s===null||e<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let r="";for(let i=e;i<s+1;i++){const o=this.tokens[i];if(o.type===M.EOF)break;r=r+o.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class U6 extends $6{constructor(t,e){super(t),this.channel=e===void 0?M.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,s=1;for(;s<=t;)e=this.previousTokenOnChannel(e-1,this.channel),s+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,s=1;for(;s<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),s+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const s=this.tokens[e];if(s.channel===this.channel&&(t+=1),s.type===M.EOF)break}return t}}class H6 extends Kh{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class Xh extends bo{constructor(t){super(),this._input=null,this._errHandler=new rl,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const s=new Jr;s.generateRuleBypassTransitions=!0,e=new jh(s).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,s){e=e||null,s=s||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const r=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,r,i,t,s)}consume(){const t=this.getCurrentToken();t.type!==M.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(t):s=this._ctx.addTokenNode(t),s.invokingState=this.state,e&&this._parseListeners.forEach(function(r){s instanceof mo||s.isErrorNode!==void 0&&s.isErrorNode()?r.visitErrorNode(s):s instanceof An&&r.visitTerminal(s)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,s){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,s,r){this.state=e,this._precedenceStack.push(r),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,s){const r=this._ctx;r.parentCtx=t,r.invokingState=e,r.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let s=this._ctx;const r=e.states[this.state];let i=e.nextTokens(r);if(i.contains(t))return!0;if(!i.contains(M.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&i.contains(M.EPSILON);){const a=e.states[s.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;s=s.parentCtx}return!!(i.contains(M.EPSILON)&&t===M.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const s=t.ruleIndex;s<0?e.push("n/a"):e.push(this.ruleNames[s]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const s=this._interp.decisionToDFA[e];s.states.length>0&&(t&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new H6(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}Xh.bypassAltsAtnCache={};class V6{constructor(){this.cache=new Xr}add(t){if(t===mt.EMPTY)return mt.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class Qh extends An{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return kt.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new kt(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===M.EOF?"<EOF>":this.symbol.text}}class Jh extends Qh{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class t2 extends Xs{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof Jh&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new Qh(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new Jh(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof e){if(t===0)return r;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof An&&r.symbol.type===t){if(e===0)return r;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof An&&r.symbol.type===t&&e.push(r)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof t&&e.push(r)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?kt.INVALID_INTERVAL:new kt(this.start.tokenIndex,this.stop.tokenIndex)}}Xs.EMPTY=new t2;const _={atn:v6,dfa:S6,tree:k6,error:M6,Token:M,CommonToken:Ts,CharStreams:F6,InputStream:ws,FileStream:D6,CommonTokenStream:U6,Lexer:zt,Parser:Xh,PredictionContextCache:V6,ParserRuleContext:t2,Interval:kt,IntervalSet:Ve,LL1Analyzer:Qs,Utils:{arrayToString:Zn}},G6=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],ol=new _.atn.ATNDeserializer().deserialize(G6),j6=ol.decisionToState.map((n,t)=>new _.dfa.DFA(n,t));class H extends _.Lexer{constructor(t){super(t),this._interp=new _.atn.LexerATNSimulator(this,ol,j6,new _.PredictionContextCache)}get atn(){return ol}}Z(H,"grammarFileName","sequenceLexer.g4"),Z(H,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),Z(H,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),Z(H,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),Z(H,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Z(H,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),H.EOF=_.Token.EOF,H.WS=1,H.CONSTANT=2,H.READONLY=3,H.STATIC=4,H.AWAIT=5,H.TITLE=6,H.COL=7,H.SOPEN=8,H.SCLOSE=9,H.ARROW=10,H.COLOR=11,H.OR=12,H.AND=13,H.EQ=14,H.NEQ=15,H.GT=16,H.LT=17,H.GTEQ=18,H.LTEQ=19,H.PLUS=20,H.MINUS=21,H.MULT=22,H.DIV=23,H.MOD=24,H.POW=25,H.NOT=26,H.SCOL=27,H.COMMA=28,H.ASSIGN=29,H.OPAR=30,H.CPAR=31,H.OBRACE=32,H.CBRACE=33,H.TRUE=34,H.FALSE=35,H.NIL=36,H.IF=37,H.ELSE=38,H.WHILE=39,H.RETURN=40,H.NEW=41,H.PAR=42,H.GROUP=43,H.OPT=44,H.AS=45,H.TRY=46,H.CATCH=47,H.FINALLY=48,H.IN=49,H.STARTER_LXR=50,H.ANNOTATION_RET=51,H.ANNOTATION=52,H.DOT=53,H.ID=54,H.INT=55,H.FLOAT=56,H.STRING=57,H.CR=58,H.COMMENT=59,H.OTHER=60,H.DIVIDER=61,H.EVENT_PAYLOAD_LXR=62,H.EVENT_END=63,H.TITLE_CONTENT=64,H.TITLE_END=65,H.COMMENT_CHANNEL=2,H.MODIFIER_CHANNEL=3,H.EVENT=1,H.TITLE_MODE=2,H.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},H.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class b extends _.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const z6=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],al=new _.atn.ATNDeserializer().deserialize(z6),W6=al.decisionToState.map((n,t)=>new _.dfa.DFA(n,t)),Z6=new _.PredictionContextCache,L=class extends _.Parser{constructor(t){super(t),this._interp=new _.atn.ParserATNSimulator(this,al,W6,Z6),this.ruleNames=L.ruleNames,this.literalNames=L.literalNames,this.symbolicNames=L.symbolicNames}get atn(){return al}sempred(t,e,s){switch(e){case 48:return this.expr_sempred(t,s);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new e2(this,this._ctx,this.state);this.enterRule(t,0,L.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(L.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(L.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(L.EOF);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}title(){let t=new ll(this,this._ctx,this.state);this.enterRule(t,2,L.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(L.TITLE),this.state=128,this.match(L.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(L.TITLE_END))}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}head(){let t=new cl(this,this._ctx,this.state);this.enterRule(t,4,L.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new _.error.NoViableAltException(this)}break;default:throw new _.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,7,this._ctx)}while(s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,9,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new _.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}group(){let t=new To(this,this._ctx,this.state);this.enterRule(t,6,L.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);switch(s){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(L.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(L.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||(e-52&-32)==0&&(1<<e-52&37)!==0;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(L.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(L.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(L.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(L.GROUP),this.state=167,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,14,this._ctx);s===1&&(this.state=166,this.name());break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starterExp(){let t=new ul(this,this._ctx,this.state);this.enterRule(t,8,L.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(L.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(L.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(L.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(L.ANNOTATION);break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starter(){let t=new hl(this,this._ctx,this.state);this.enterRule(t,10,L.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participant(){let t=new sr(this,this._ctx,this.state);this.enterRule(t,12,L.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(L.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}stereotype(){let t=new fl(this,this._ctx,this.state);this.enterRule(t,14,L.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(L.SOPEN),this.state=205,this.name(),this.state=206,this.match(L.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(L.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(L.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}label(){let t=new dl(this,this._ctx,this.state);this.enterRule(t,16,L.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(L.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(L.AS);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participantType(){let t=new pl(this,this._ctx,this.state);this.enterRule(t,18,L.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(L.ANNOTATION)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new rr(this,this._ctx,this.state);this.enterRule(t,20,L.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}width(){let t=new gl(this,this._ctx,this.state);this.enterRule(t,22,L.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(L.INT)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new wo(this,this._ctx,this.state);this.enterRule(t,24,L.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while((e-34&-32)==0&&(1<<e-34&217191919)!==0)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ret(){let t=new ml(this,this._ctx,this.state);this.enterRule(t,26,L.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(L.RETURN),this.state=237,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(L.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(L.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(L.EVENT_END));break;default:throw new _.error.NoViableAltException(this)}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}divider(){let t=new xl(this,this._ctx,this.state);this.enterRule(t,28,L.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Ll(this,this._ctx,this.state);this.enterRule(t,30,L.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(L.DIVIDER)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new vo(this,this._ctx,this.state);this.enterRule(t,32,L.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,35,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(L.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(L.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}par(){let t=new _l(this,this._ctx,this.state);this.enterRule(t,34,L.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(L.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(L.PAR);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}opt(){let t=new yl(this,this._ctx,this.state);this.enterRule(t,36,L.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(L.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(L.OPT);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creation(){let t=new Ao(this,this._ctx,this.state);this.enterRule(t,38,L.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(L.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creationBody(){let t=new Cl(this,this._ctx,this.state);this.enterRule(t,40,L.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=285,this.assignment()),this.state=288,this.match(L.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);s===1&&(this.state=290,this.match(L.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=291,this.parameters()),this.state=294,this.match(L.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=297,this.assignment()),this.state=300,this.match(L.NEW);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}message(){let t=new El(this,this._ctx,this.state);this.enterRule(t,42,L.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(L.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new bl(this,this._ctx,this.state);this.enterRule(t,44,L.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(L.ARROW)),this.state=316,this.to(),this.state=317,this.match(L.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(L.ARROW)),this.state=328,this.to(),this.state=329,this.match(L.DOT);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}func(){let t=new So(this,this._ctx,this.state);this.enterRule(t,46,L.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=_.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(L.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}from(){let t=new Ro(this,this._ctx,this.state);this.enterRule(t,48,L.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}to(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,50,L.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}signature(){let t=new ko(this,this._ctx,this.state);this.enterRule(t,52,L.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}invocation(){let t=new Io(this,this._ctx,this.state);this.enterRule(t,54,L.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(L.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=350,this.parameters()),this.state=353,this.match(L.CPAR)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignment(){let t=new si(this,this._ctx,this.state);this.enterRule(t,56,L.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(L.ASSIGN)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}asyncMessage(){let t=new Oo(this,this._ctx,this.state);this.enterRule(t,58,L.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,54,this._ctx);s===1&&(this.state=361,this.from(),this.state=362,this.match(L.ARROW)),this.state=366,this.to(),this.state=367,this.match(L.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=372,this.to());break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}content(){let t=new Tl(this,this._ctx,this.state);this.enterRule(t,60,L.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(L.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new wl(this,this._ctx,this.state);this.enterRule(t,62,L.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}type(){let t=new No(this,this._ctx,this.state);this.enterRule(t,64,L.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignee(){let t=new vl(this,this._ctx,this.state);this.enterRule(t,66,L.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,58,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(L.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(L.COMMA),this.state=386,this.match(L.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(L.STRING);break}}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}methodName(){let t=new Al(this,this._ctx,this.state);this.enterRule(t,68,L.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameters(){let t=new Po(this,this._ctx,this.state);this.enterRule(t,70,L.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,59,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=398,this.match(L.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(L.COMMA))}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameter(){let t=new Mo(this,this._ctx,this.state);this.enterRule(t,72,L.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}declaration(){let t=new Sl(this,this._ctx,this.state);this.enterRule(t,74,L.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(L.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new Rl(this,this._ctx,this.state);this.enterRule(t,76,L.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}tryBlock(){let t=new kl(this,this._ctx,this.state);this.enterRule(t,78,L.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(L.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new Fo(this,this._ctx,this.state);this.enterRule(t,80,L.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(L.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}finallyBlock(){let t=new Il(this,this._ctx,this.state);this.enterRule(t,82,L.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(L.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Ol(this,this._ctx,this.state);this.enterRule(t,84,L.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,65,this._ctx);s!=2&&s!=_.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(r){if(r instanceof _.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ifBlock(){let t=new Nl(this,this._ctx,this.state);this.enterRule(t,86,L.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(L.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new Do(this,this._ctx,this.state);this.enterRule(t,88,L.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(L.ELSE),this.state=452,this.match(L.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new Pl(this,this._ctx,this.state);this.enterRule(t,90,L.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(L.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new De(this,this._ctx,this.state);this.enterRule(t,92,L.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(L.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&217191919)!==0&&(this.state=460,this.block()),this.state=463,this.match(L.CBRACE)}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}loop(){let t=new Ml(this,this._ctx,this.state);this.enterRule(t,94,L.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(L.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(L.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(L.WHILE);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,s=this.state;let r=new dt(this,this._ctx,s),i=r;const o=96;this.enterRecursionRule(r,96,L.RULE_expr,t);var a=0;try{this.enterOuterAlt(r,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:r=new r2(this,r),this._ctx=r,i=r,this.state=475,this.atom();break;case 2:r=new u2(this,r),this._ctx=r,i=r,this.state=476,this.match(L.MINUS),this.state=477,this.expr(13);break;case 3:r=new c2(this,r),this._ctx=r,i=r,this.state=478,this.match(L.NOT),this.state=479,this.expr(12);break;case 4:r=new s2(this,r),this._ctx=r,i=r,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(L.DOT)),this.state=485,this.func();break;case 5:r=new h2(this,r),this._ctx=r,i=r,this.state=486,this.creation();break;case 6:r=new f2(this,r),this._ctx=r,i=r,this.state=487,this.match(L.OPAR),this.state=488,this.expr(0),this.state=489,this.match(L.CPAR);break;case 7:r=new n2(this,r),this._ctx=r,i=r,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=_.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=r,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(r=new d2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(r=new o2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,r.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(r=new a2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(r=new p2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,r.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(r=new g2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(L.AND),this.state=510,this.expr(8);break;case 6:if(r=new i2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(L.OR),this.state=513,this.expr(7);break;case 7:if(r=new l2(this,new dt(this,e,s)),this.pushNewRecursionContext(r,o,L.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new _.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(L.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof _.error.RecognitionException)r.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return r}atom(){let t=new gn(this,this._ctx,this.state);this.enterRule(t,98,L.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new y2(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new m2(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new x2(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(L.ID);break;case 57:t=new L2(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(L.STRING);break;case 36:t=new _2(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(L.NIL);break;default:throw new _.error.NoViableAltException(this)}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parExpr(){let t=new ri(this,this._ctx,this.state);this.enterRule(t,100,L.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(L.OPAR),this.state=530,this.condition(),this.state=531,this.match(L.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(L.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(L.OPAR),this.state=536,this.match(L.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(L.OPAR);break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}condition(){let t=new Fl(this,this._ctx,this.state);this.enterRule(t,102,L.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(s){if(s instanceof _.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}inExpr(){let t=new Dl(this,this._ctx,this.state);this.enterRule(t,104,L.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(L.ID),this.state=546,this.match(L.IN),this.state=547,this.match(L.ID)}catch(e){if(e instanceof _.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=L;Z(h,"grammarFileName","java-escape"),Z(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),Z(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Z(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=_.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;class e2 extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(ll,0)}head(){return this.getTypedRuleContext(cl,0)}block(){return this.getTypedRuleContext(wo,0)}enterRule(t){t instanceof b&&t.enterProg(this)}exitRule(t){t instanceof b&&t.exitProg(this)}}class ll extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof b&&t.enterTitle(this)}exitRule(t){t instanceof b&&t.exitTitle(this)}}class cl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(To):this.getTypedRuleContext(To,e)});Z(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(sr):this.getTypedRuleContext(sr,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(ul,0)}enterRule(e){e instanceof b&&e.enterHead(this)}exitRule(e){e instanceof b&&e.exitHead(this)}}class To extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(sr):this.getTypedRuleContext(sr,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(rr,0)}enterRule(e){e instanceof b&&e.enterGroup(this)}exitRule(e){e instanceof b&&e.exitGroup(this)}}class ul extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(hl,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof b&&t.enterStarterExp(this)}exitRule(t){t instanceof b&&t.exitStarterExp(this)}}class hl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterStarter(this)}exitRule(t){t instanceof b&&t.exitStarter(this)}}class sr extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(rr,0)}participantType(){return this.getTypedRuleContext(pl,0)}stereotype(){return this.getTypedRuleContext(fl,0)}width(){return this.getTypedRuleContext(gl,0)}label(){return this.getTypedRuleContext(dl,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof b&&t.enterParticipant(this)}exitRule(t){t instanceof b&&t.exitParticipant(this)}}class fl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(rr,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof b&&t.enterStereotype(this)}exitRule(t){t instanceof b&&t.exitStereotype(this)}}class dl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(rr,0)}enterRule(t){t instanceof b&&t.enterLabel(this)}exitRule(t){t instanceof b&&t.exitLabel(this)}}class pl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof b&&t.enterParticipantType(this)}exitRule(t){t instanceof b&&t.exitParticipantType(this)}}class rr extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterName(this)}exitRule(t){t instanceof b&&t.exitName(this)}}class gl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof b&&t.enterWidth(this)}exitRule(t){t instanceof b&&t.exitWidth(this)}}class wo extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(vo):this.getTypedRuleContext(vo,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof b&&e.enterBlock(this)}exitRule(e){e instanceof b&&e.exitBlock(this)}}class ml extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(dt,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Oo,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof b&&t.enterRet(this)}exitRule(t){t instanceof b&&t.exitRet(this)}}class xl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ll,0)}enterRule(t){t instanceof b&&t.enterDivider(this)}exitRule(t){t instanceof b&&t.exitDivider(this)}}class Ll extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof b&&t.enterDividerNote(this)}exitRule(t){t instanceof b&&t.exitDividerNote(this)}}class vo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ol,0)}par(){return this.getTypedRuleContext(_l,0)}opt(){return this.getTypedRuleContext(yl,0)}loop(){return this.getTypedRuleContext(Ml,0)}creation(){return this.getTypedRuleContext(Ao,0)}message(){return this.getTypedRuleContext(El,0)}asyncMessage(){return this.getTypedRuleContext(Oo,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(ml,0)}divider(){return this.getTypedRuleContext(xl,0)}tcf(){return this.getTypedRuleContext(Rl,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof b&&t.enterStat(this)}exitRule(t){t instanceof b&&t.exitStat(this)}}class _l extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterPar(this)}exitRule(t){t instanceof b&&t.exitPar(this)}}class yl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterOpt(this)}exitRule(t){t instanceof b&&t.exitOpt(this)}}class Ao extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(Cl,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterCreation(this)}exitRule(t){t instanceof b&&t.exitCreation(this)}}class Cl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(wl,0)}assignment(){return this.getTypedRuleContext(si,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Po,0)}enterRule(t){t instanceof b&&t.enterCreationBody(this)}exitRule(t){t instanceof b&&t.exitCreationBody(this)}}class El extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(bl,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterMessage(this)}exitRule(t){t instanceof b&&t.exitMessage(this)}}class bl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(So,0)}assignment(){return this.getTypedRuleContext(si,0)}to(){return this.getTypedRuleContext(ni,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Ro,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof b&&t.enterMessageBody(this)}exitRule(t){t instanceof b&&t.exitMessageBody(this)}}class So extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ko):this.getTypedRuleContext(ko,e)});Z(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof b&&e.enterFunc(this)}exitRule(e){e instanceof b&&e.exitFunc(this)}}class Ro extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterFrom(this)}exitRule(t){t instanceof b&&t.exitFrom(this)}}class ni extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterTo(this)}exitRule(t){t instanceof b&&t.exitTo(this)}}class ko extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Al,0)}invocation(){return this.getTypedRuleContext(Io,0)}enterRule(t){t instanceof b&&t.enterSignature(this)}exitRule(t){t instanceof b&&t.exitSignature(this)}}class Io extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Po,0)}enterRule(t){t instanceof b&&t.enterInvocation(this)}exitRule(t){t instanceof b&&t.exitInvocation(this)}}class si extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(vl,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(No,0)}enterRule(t){t instanceof b&&t.enterAssignment(this)}exitRule(t){t instanceof b&&t.exitAssignment(this)}}class Oo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(ni,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(Tl,0)}from(){return this.getTypedRuleContext(Ro,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof b&&t.enterAsyncMessage(this)}exitRule(t){t instanceof b&&t.exitAsyncMessage(this)}}class Tl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof b&&t.enterContent(this)}exitRule(t){t instanceof b&&t.exitContent(this)}}class wl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterConstruct(this)}exitRule(t){t instanceof b&&t.exitConstruct(this)}}class No extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterType(this)}exitRule(t){t instanceof b&&t.exitType(this)}}class vl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});Z(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(gn,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof b&&e.enterAssignee(this)}exitRule(e){e instanceof b&&e.exitAssignee(this)}}class Al extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterMethodName(this)}exitRule(t){t instanceof b&&t.exitMethodName(this)}}class Po extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Mo):this.getTypedRuleContext(Mo,e)});Z(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof b&&e.enterParameters(this)}exitRule(e){e instanceof b&&e.exitParameters(this)}}class Mo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(Sl,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterParameter(this)}exitRule(t){t instanceof b&&t.exitParameter(this)}}class Sl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(No,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof b&&t.enterDeclaration(this)}exitRule(t){t instanceof b&&t.exitDeclaration(this)}}class Rl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Fo):this.getTypedRuleContext(Fo,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(kl,0)}finallyBlock(){return this.getTypedRuleContext(Il,0)}enterRule(e){e instanceof b&&e.enterTcf(this)}exitRule(e){e instanceof b&&e.exitTcf(this)}}class kl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterTryBlock(this)}exitRule(t){t instanceof b&&t.exitTryBlock(this)}}class Fo extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(De,0)}invocation(){return this.getTypedRuleContext(Io,0)}enterRule(t){t instanceof b&&t.enterCatchBlock(this)}exitRule(t){t instanceof b&&t.exitCatchBlock(this)}}class Il extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterFinallyBlock(this)}exitRule(t){t instanceof b&&t.exitFinallyBlock(this)}}class Ol extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Do):this.getTypedRuleContext(Do,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Nl,0)}elseBlock(){return this.getTypedRuleContext(Pl,0)}enterRule(e){e instanceof b&&e.enterAlt(this)}exitRule(e){e instanceof b&&e.exitAlt(this)}}class Nl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterIfBlock(this)}exitRule(t){t instanceof b&&t.exitIfBlock(this)}}class Do extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterElseIfBlock(this)}exitRule(t){t instanceof b&&t.exitElseIfBlock(this)}}class Pl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterElseBlock(this)}exitRule(t){t instanceof b&&t.exitElseBlock(this)}}class De extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(wo,0)}enterRule(t){t instanceof b&&t.enterBraceBlock(this)}exitRule(t){t instanceof b&&t.exitBraceBlock(this)}}class Ml extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(ri,0)}braceBlock(){return this.getTypedRuleContext(De,0)}enterRule(t){t instanceof b&&t.enterLoop(this)}exitRule(t){t instanceof b&&t.exitLoop(this)}}class dt extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class n2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(si,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof b&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=n2;class s2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(So,0)}to(){return this.getTypedRuleContext(ni,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof b&&t.enterFuncExpr(this)}exitRule(t){t instanceof b&&t.exitFuncExpr(this)}}h.FuncExprContext=s2;class r2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(gn,0)}enterRule(t){t instanceof b&&t.enterAtomExpr(this)}exitRule(t){t instanceof b&&t.exitAtomExpr(this)}}h.AtomExprContext=r2;class i2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof b&&e.enterOrExpr(this)}exitRule(e){e instanceof b&&e.exitOrExpr(this)}}h.OrExprContext=i2;class o2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof b&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof b&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=o2;class a2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof b&&e.enterRelationalExpr(this)}exitRule(e){e instanceof b&&e.exitRelationalExpr(this)}}h.RelationalExprContext=a2;class l2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof b&&e.enterPlusExpr(this)}exitRule(e){e instanceof b&&e.exitPlusExpr(this)}}h.PlusExprContext=l2;class c2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterNotExpr(this)}exitRule(t){t instanceof b&&t.exitNotExpr(this)}}h.NotExprContext=c2;class u2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(dt,0)}enterRule(t){t instanceof b&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof b&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=u2;class h2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(Ao,0)}enterRule(t){t instanceof b&&t.enterCreationExpr(this)}exitRule(t){t instanceof b&&t.exitCreationExpr(this)}}h.CreationExprContext=h2;class f2 extends dt{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(dt,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof b&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof b&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=f2;class d2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof b&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof b&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=d2;class p2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof b&&e.enterEqualityExpr(this)}exitRule(e){e instanceof b&&e.exitEqualityExpr(this)}}h.EqualityExprContext=p2;class g2 extends dt{constructor(e,s){super(e);Z(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(dt):this.getTypedRuleContext(dt,e)});super.copyFrom(s)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof b&&e.enterAndExpr(this)}exitRule(e){e instanceof b&&e.exitAndExpr(this)}}h.AndExprContext=g2;class gn extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class m2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof b&&t.enterBooleanAtom(this)}exitRule(t){t instanceof b&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=m2;class x2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof b&&t.enterIdAtom(this)}exitRule(t){t instanceof b&&t.exitIdAtom(this)}}h.IdAtomContext=x2;class L2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof b&&t.enterStringAtom(this)}exitRule(t){t instanceof b&&t.exitStringAtom(this)}}h.StringAtomContext=L2;class _2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof b&&t.enterNilAtom(this)}exitRule(t){t instanceof b&&t.exitNilAtom(this)}}h.NilAtomContext=_2;class y2 extends gn{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof b&&t.enterNumberAtom(this)}exitRule(t){t instanceof b&&t.exitNumberAtom(this)}}h.NumberAtomContext=y2;class ri extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Fl,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof b&&t.enterParExpr(this)}exitRule(t){t instanceof b&&t.exitParExpr(this)}}class Fl extends _.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(gn,0)}expr(){return this.getTypedRuleContext(dt,0)}inExpr(){return this.getTypedRuleContext(Dl,0)}enterRule(t){t instanceof b&&t.enterCondition(this)}exitRule(t){t instanceof b&&t.exitCondition(this)}}class Dl extends _.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);Z(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof b&&e.enterInExpr(this)}exitRule(e){e instanceof b&&e.exitInExpr(this)}}h.ProgContext=e2,h.TitleContext=ll,h.HeadContext=cl,h.GroupContext=To,h.StarterExpContext=ul,h.StarterContext=hl,h.ParticipantContext=sr,h.StereotypeContext=fl,h.LabelContext=dl,h.ParticipantTypeContext=pl,h.NameContext=rr,h.WidthContext=gl,h.BlockContext=wo,h.RetContext=ml,h.DividerContext=xl,h.DividerNoteContext=Ll,h.StatContext=vo,h.ParContext=_l,h.OptContext=yl,h.CreationContext=Ao,h.CreationBodyContext=Cl,h.MessageContext=El,h.MessageBodyContext=bl,h.FuncContext=So,h.FromContext=Ro,h.ToContext=ni,h.SignatureContext=ko,h.InvocationContext=Io,h.AssignmentContext=si,h.AsyncMessageContext=Oo,h.ContentContext=Tl,h.ConstructContext=wl,h.TypeContext=No,h.AssigneeContext=vl,h.MethodNameContext=Al,h.ParametersContext=Po,h.ParameterContext=Mo,h.DeclarationContext=Sl,h.TcfContext=Rl,h.TryBlockContext=kl,h.CatchBlockContext=Fo,h.FinallyBlockContext=Il,h.AltContext=Ol,h.IfBlockContext=Nl,h.ElseIfBlockContext=Do,h.ElseBlockContext=Pl,h.BraceBlockContext=De,h.LoopContext=Ml,h.ExprContext=dt,h.AtomContext=gn,h.ParExprContext=ri,h.ConditionContext=Fl,h.InExprContext=Dl;function q6(){this.__data__=[],this.size=0}var K6=q6;function Y6(n,t){return n===t||n!==n&&t!==t}var Bo=Y6,X6=Bo;function Q6(n,t){for(var e=n.length;e--;)if(X6(n[e][0],t))return e;return-1}var $o=Q6,J6=$o,t8=Array.prototype,e8=t8.splice;function n8(n){var t=this.__data__,e=J6(t,n);if(e<0)return!1;var s=t.length-1;return e==s?t.pop():e8.call(t,e,1),--this.size,!0}var s8=n8,r8=$o;function i8(n){var t=this.__data__,e=r8(t,n);return e<0?void 0:t[e][1]}var o8=i8,a8=$o;function l8(n){return a8(this.__data__,n)>-1}var c8=l8,u8=$o;function h8(n,t){var e=this.__data__,s=u8(e,n);return s<0?(++this.size,e.push([n,t])):e[s][1]=t,this}var f8=h8,d8=K6,p8=s8,g8=o8,m8=c8,x8=f8;function ir(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ir.prototype.clear=d8,ir.prototype.delete=p8,ir.prototype.get=g8,ir.prototype.has=m8,ir.prototype.set=x8;var Uo=ir,L8=Uo;function _8(){this.__data__=new L8,this.size=0}var y8=_8;function C8(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var E8=C8;function b8(n){return this.__data__.get(n)}var T8=b8;function w8(n){return this.__data__.has(n)}var v8=w8,A8=Es,S8=A8.Symbol,C2=S8,E2=C2,b2=Object.prototype,R8=b2.hasOwnProperty,k8=b2.toString,ii=E2?E2.toStringTag:void 0;function I8(n){var t=R8.call(n,ii),e=n[ii];try{n[ii]=void 0;var s=!0}catch{}var r=k8.call(n);return s&&(t?n[ii]=e:delete n[ii]),r}var O8=I8,N8=Object.prototype,P8=N8.toString;function M8(n){return P8.call(n)}var F8=M8,T2=C2,D8=O8,B8=F8,$8="[object Null]",U8="[object Undefined]",w2=T2?T2.toStringTag:void 0;function H8(n){return n==null?n===void 0?U8:$8:w2&&w2 in Object(n)?D8(n):B8(n)}var Ho=H8;function V8(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var vs=V8,G8=Ho,j8=vs,z8="[object AsyncFunction]",W8="[object Function]",Z8="[object GeneratorFunction]",q8="[object Proxy]";function K8(n){if(!j8(n))return!1;var t=G8(n);return t==W8||t==Z8||t==z8||t==q8}var Bl=K8,Y8=Es,X8=Y8["__core-js_shared__"],Q8=X8,$l=Q8,v2=function(){var n=/[^.]+$/.exec($l&&$l.keys&&$l.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function J8(n){return!!v2&&v2 in n}var t7=J8,e7=Function.prototype,n7=e7.toString;function s7(n){if(n!=null){try{return n7.call(n)}catch{}try{return n+""}catch{}}return""}var r7=s7,i7=Bl,o7=t7,a7=vs,l7=r7,c7=/[\\^$.*+?()[\]{}|]/g,u7=/^\[object .+?Constructor\]$/,h7=Function.prototype,f7=Object.prototype,d7=h7.toString,p7=f7.hasOwnProperty,g7=RegExp("^"+d7.call(p7).replace(c7,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m7(n){if(!a7(n)||o7(n))return!1;var t=i7(n)?g7:u7;return t.test(l7(n))}var x7=m7;function L7(n,t){return n==null?void 0:n[t]}var _7=L7,y7=x7,C7=_7;function E7(n,t){var e=C7(n,t);return y7(e)?e:void 0}var Ul=E7,b7=Ul,T7=Es,w7=b7(T7,"Map"),A2=w7,v7=Ul,A7=v7(Object,"create"),Vo=A7,S2=Vo;function S7(){this.__data__=S2?S2(null):{},this.size=0}var R7=S7;function k7(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var I7=k7,O7=Vo,N7="__lodash_hash_undefined__",P7=Object.prototype,M7=P7.hasOwnProperty;function F7(n){var t=this.__data__;if(O7){var e=t[n];return e===N7?void 0:e}return M7.call(t,n)?t[n]:void 0}var D7=F7,B7=Vo,$7=Object.prototype,U7=$7.hasOwnProperty;function H7(n){var t=this.__data__;return B7?t[n]!==void 0:U7.call(t,n)}var V7=H7,G7=Vo,j7="__lodash_hash_undefined__";function z7(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=G7&&t===void 0?j7:t,this}var W7=z7,Z7=R7,q7=I7,K7=D7,Y7=V7,X7=W7;function or(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}or.prototype.clear=Z7,or.prototype.delete=q7,or.prototype.get=K7,or.prototype.has=Y7,or.prototype.set=X7;var Q7=or,R2=Q7,J7=Uo,tp=A2;function ep(){this.size=0,this.__data__={hash:new R2,map:new(tp||J7),string:new R2}}var np=ep;function sp(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var rp=sp,ip=rp;function op(n,t){var e=n.__data__;return ip(t)?e[typeof t=="string"?"string":"hash"]:e.map}var Go=op,ap=Go;function lp(n){var t=ap(this,n).delete(n);return this.size-=t?1:0,t}var cp=lp,up=Go;function hp(n){return up(this,n).get(n)}var fp=hp,dp=Go;function pp(n){return dp(this,n).has(n)}var gp=pp,mp=Go;function xp(n,t){var e=mp(this,n),s=e.size;return e.set(n,t),this.size+=e.size==s?0:1,this}var Lp=xp,_p=np,yp=cp,Cp=fp,Ep=gp,bp=Lp;function ar(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ar.prototype.clear=_p,ar.prototype.delete=yp,ar.prototype.get=Cp,ar.prototype.has=Ep,ar.prototype.set=bp;var Tp=ar,wp=Uo,vp=A2,Ap=Tp,Sp=200;function Rp(n,t){var e=this.__data__;if(e instanceof wp){var s=e.__data__;if(!vp||s.length<Sp-1)return s.push([n,t]),this.size=++e.size,this;e=this.__data__=new Ap(s)}return e.set(n,t),this.size=e.size,this}var kp=Rp,Ip=Uo,Op=y8,Np=E8,Pp=T8,Mp=v8,Fp=kp;function lr(n){var t=this.__data__=new Ip(n);this.size=t.size}lr.prototype.clear=Op,lr.prototype.delete=Np,lr.prototype.get=Pp,lr.prototype.has=Mp,lr.prototype.set=Fp;var Dp=lr,Bp=Ul,$p=function(){try{var n=Bp(Object,"defineProperty");return n({},"",{}),n}catch{}}(),k2=$p,I2=k2;function Up(n,t,e){t=="__proto__"&&I2?I2(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var Hl=Up,Hp=Hl,Vp=Bo;function Gp(n,t,e){(e!==void 0&&!Vp(n[t],e)||e===void 0&&!(t in n))&&Hp(n,t,e)}var O2=Gp;function jp(n){return function(t,e,s){for(var r=-1,i=Object(t),o=s(t),a=o.length;a--;){var l=o[n?a:++r];if(e(i[l],l,i)===!1)break}return t}}var zp=jp,Wp=zp,Zp=Wp(),qp=Zp,Vl={exports:{}};(function(n,t){var e=Es,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,d=a?a(f):new c.constructor(f);return c.copy(d),d}n.exports=l})(Vl,Vl.exports);var Kp=Es,Yp=Kp.Uint8Array,Xp=Yp,N2=Xp;function Qp(n){var t=new n.constructor(n.byteLength);return new N2(t).set(new N2(n)),t}var Jp=Qp,tg=Jp;function eg(n,t){var e=t?tg(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var ng=eg;function sg(n,t){var e=-1,s=n.length;for(t||(t=Array(s));++e<s;)t[e]=n[e];return t}var rg=sg,ig=vs,P2=Object.create,og=function(){function n(){}return function(t){if(!ig(t))return{};if(P2)return P2(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),ag=og;function lg(n,t){return function(e){return n(t(e))}}var cg=lg,ug=cg,hg=ug(Object.getPrototypeOf,Object),M2=hg,fg=Object.prototype;function dg(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||fg;return n===e}var F2=dg,pg=ag,gg=M2,mg=F2;function xg(n){return typeof n.constructor=="function"&&!mg(n)?pg(gg(n)):{}}var Lg=xg;function _g(n){return n!=null&&typeof n=="object"}var oi=_g,yg=Ho,Cg=oi,Eg="[object Arguments]";function bg(n){return Cg(n)&&yg(n)==Eg}var Tg=bg,D2=Tg,wg=oi,B2=Object.prototype,vg=B2.hasOwnProperty,Ag=B2.propertyIsEnumerable,Sg=D2(function(){return arguments}())?D2:function(n){return wg(n)&&vg.call(n,"callee")&&!Ag.call(n,"callee")},$2=Sg,Rg=Array.isArray,U2=Rg,kg=9007199254740991;function Ig(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=kg}var H2=Ig,Og=Bl,Ng=H2;function Pg(n){return n!=null&&Ng(n.length)&&!Og(n)}var Gl=Pg,Mg=Gl,Fg=oi;function Dg(n){return Fg(n)&&Mg(n)}var Bg=Dg,jo={exports:{}};function $g(){return!1}var Ug=$g;(function(n,t){var e=Es,s=Ug,r=t&&!t.nodeType&&t,i=r&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===r,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||s;n.exports=c})(jo,jo.exports);var Hg=Ho,Vg=M2,Gg=oi,jg="[object Object]",zg=Function.prototype,Wg=Object.prototype,V2=zg.toString,Zg=Wg.hasOwnProperty,qg=V2.call(Object);function Kg(n){if(!Gg(n)||Hg(n)!=jg)return!1;var t=Vg(n);if(t===null)return!0;var e=Zg.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&V2.call(e)==qg}var Yg=Kg,Xg=Ho,Qg=H2,Jg=oi,tm="[object Arguments]",em="[object Array]",nm="[object Boolean]",sm="[object Date]",rm="[object Error]",im="[object Function]",om="[object Map]",am="[object Number]",lm="[object Object]",cm="[object RegExp]",um="[object Set]",hm="[object String]",fm="[object WeakMap]",dm="[object ArrayBuffer]",pm="[object DataView]",gm="[object Float32Array]",mm="[object Float64Array]",xm="[object Int8Array]",Lm="[object Int16Array]",_m="[object Int32Array]",ym="[object Uint8Array]",Cm="[object Uint8ClampedArray]",Em="[object Uint16Array]",bm="[object Uint32Array]",Vt={};Vt[gm]=Vt[mm]=Vt[xm]=Vt[Lm]=Vt[_m]=Vt[ym]=Vt[Cm]=Vt[Em]=Vt[bm]=!0,Vt[tm]=Vt[em]=Vt[dm]=Vt[nm]=Vt[pm]=Vt[sm]=Vt[rm]=Vt[im]=Vt[om]=Vt[am]=Vt[lm]=Vt[cm]=Vt[um]=Vt[hm]=Vt[fm]=!1;function Tm(n){return Jg(n)&&Qg(n.length)&&!!Vt[Xg(n)]}var wm=Tm;function vm(n){return function(t){return n(t)}}var Am=vm,jl={exports:{}};(function(n,t){var e=Rh,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i&&e.process,a=function(){try{var l=r&&r.require&&r.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(jl,jl.exports);var Sm=wm,Rm=Am,G2=jl.exports,j2=G2&&G2.isTypedArray,km=j2?Rm(j2):Sm,z2=km;function Im(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var W2=Im,Om=Hl,Nm=Bo,Pm=Object.prototype,Mm=Pm.hasOwnProperty;function Fm(n,t,e){var s=n[t];(!(Mm.call(n,t)&&Nm(s,e))||e===void 0&&!(t in n))&&Om(n,t,e)}var Dm=Fm,Bm=Dm,$m=Hl;function Um(n,t,e,s){var r=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=s?s(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),r?$m(e,a,l):Bm(e,a,l)}return e}var Hm=Um;function Vm(n,t){for(var e=-1,s=Array(n);++e<n;)s[e]=t(e);return s}var Gm=Vm,jm=9007199254740991,zm=/^(?:0|[1-9]\d*)$/;function Wm(n,t){var e=typeof n;return t=t==null?jm:t,!!t&&(e=="number"||e!="symbol"&&zm.test(n))&&n>-1&&n%1==0&&n<t}var Z2=Wm,Zm=Gm,qm=$2,Km=U2,Ym=jo.exports,Xm=Z2,Qm=z2,Jm=Object.prototype,tx=Jm.hasOwnProperty;function ex(n,t){var e=Km(n),s=!e&&qm(n),r=!e&&!s&&Ym(n),i=!e&&!s&&!r&&Qm(n),o=e||s||r||i,a=o?Zm(n.length,String):[],l=a.length;for(var c in n)(t||tx.call(n,c))&&!(o&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Xm(c,l)))&&a.push(c);return a}var nx=ex;function sx(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var rx=sx,ix=vs,ox=F2,ax=rx,lx=Object.prototype,cx=lx.hasOwnProperty;function ux(n){if(!ix(n))return ax(n);var t=ox(n),e=[];for(var s in n)s=="constructor"&&(t||!cx.call(n,s))||e.push(s);return e}var hx=ux,fx=nx,dx=hx,px=Gl;function gx(n){return px(n)?fx(n,!0):dx(n)}var q2=gx,mx=Hm,xx=q2;function Lx(n){return mx(n,xx(n))}var _x=Lx,K2=O2,yx=Vl.exports,Cx=ng,Ex=rg,bx=Lg,Y2=$2,X2=U2,Tx=Bg,wx=jo.exports,vx=Bl,Ax=vs,Sx=Yg,Rx=z2,Q2=W2,kx=_x;function Ix(n,t,e,s,r,i,o){var a=Q2(n,e),l=Q2(t,e),c=o.get(l);if(c){K2(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var d=X2(l),p=!d&&wx(l),E=!d&&!p&&Rx(l);u=l,d||p||E?X2(a)?u=a:Tx(a)?u=Ex(a):p?(f=!1,u=yx(l,!0)):E?(f=!1,u=Cx(l,!0)):u=[]:Sx(l)||Y2(l)?(u=a,Y2(a)?u=kx(a):(!Ax(a)||vx(a))&&(u=bx(l))):f=!1}f&&(o.set(l,u),r(u,l,s,i,o),o.delete(l)),K2(n,e,u)}var Ox=Ix,Nx=Dp,Px=O2,Mx=qp,Fx=Ox,Dx=vs,Bx=q2,$x=W2;function J2(n,t,e,s,r){n!==t&&Mx(t,function(i,o){if(r||(r=new Nx),Dx(i))Fx(n,t,o,e,J2,s,r);else{var a=s?s($x(n,o),i,o+"",n,t,r):void 0;a===void 0&&(a=i),Px(n,o,a)}},Bx)}var Ux=J2;function Hx(n){return n}var tf=Hx;function Vx(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var Gx=Vx,jx=Gx,ef=Math.max;function zx(n,t,e){return t=ef(t===void 0?n.length-1:t,0),function(){for(var s=arguments,r=-1,i=ef(s.length-t,0),o=Array(i);++r<i;)o[r]=s[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=s[r];return a[t]=e(o),jx(n,this,a)}}var Wx=zx;function Zx(n){return function(){return n}}var qx=Zx,Kx=qx,nf=k2,Yx=tf,Xx=nf?function(n,t){return nf(n,"toString",{configurable:!0,enumerable:!1,value:Kx(t),writable:!0})}:Yx,Qx=Xx,Jx=800,tL=16,eL=Date.now;function nL(n){var t=0,e=0;return function(){var s=eL(),r=tL-(s-e);if(e=s,r>0){if(++t>=Jx)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var sL=nL,rL=Qx,iL=sL,oL=iL(rL),aL=oL,lL=tf,cL=Wx,uL=aL;function hL(n,t){return uL(cL(n,t,lL),n+"")}var fL=hL,dL=Bo,pL=Gl,gL=Z2,mL=vs;function xL(n,t,e){if(!mL(e))return!1;var s=typeof t;return(s=="number"?pL(e)&&gL(t,e.length):s=="string"&&t in e)?dL(e[t],n):!1}var LL=xL,_L=fL,yL=LL;function CL(n){return _L(function(t,e){var s=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(r--,i):void 0,o&&yL(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++s<r;){var a=e[s];a&&n(t,a,s,i)}return t})}var EL=CL,bL=Ux,TL=EL,wL=TL(function(n,t,e,s){bL(n,t,e,s)}),vL=wL;class AL{constructor(t,e,s,r,i,o,a,l,c,u){Z(this,"name");Z(this,"stereotype");Z(this,"width");Z(this,"groupId");Z(this,"explicit");Z(this,"isStarter");Z(this,"label");Z(this,"type");Z(this,"color");Z(this,"comment");this.name=t,this.stereotype=s,this.width=r,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class SL{constructor(){Z(this,"participants",new Map)}Add(t,e,s,r,i,o,a,l,c,u){const f=new AL(t,e,s,r,i,o,a,l,c,u);this.participants.set(t,vL({},this.Get(t),f,(d,p)=>d||p))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}}const RL=h.ProgContext;let kn,As=!1,zl;const Ae=new b;let kL=function(n){var c,u,f,d,p,E,v;if(As)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",s=(d=(f=n.stereotype())==null?void 0:f.name())==null?void 0:d.getFormattedText(),r=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((E=(p=n.label())==null?void 0:p.name())==null?void 0:E.getFormattedText()),o=!0,a=(v=n.COLOR())==null?void 0:v.getText(),l=n.getComment();kn.Add(e,!1,s,r,zl,i,o,t,a,l)};Ae.enterParticipant=kL;let sf=function(n){if(As)return;let t=n.getFormattedText();kn.Add(t)};Ae.enterFrom=sf,Ae.enterTo=sf,Ae.enterStarter=function(n){let t=n.getFormattedText();kn.Add(t,!0)},Ae.enterCreation=function(n){if(As)return;const t=n.Owner();kn.Add(t)},Ae.enterParameters=function(){As=!0},Ae.exitParameters=function(){As=!1},Ae.enterCondition=function(){As=!0},Ae.exitCondition=function(){As=!1},Ae.enterGroup=function(n){var t;zl=(t=n.name())==null?void 0:t.getFormattedText()},Ae.exitGroup=function(){zl=void 0},Ae.enterRet=function(n){n.asyncMessage()||(kn.Add(n.From()),kn.Add(n.ReturnTo()))};const IL=_.tree.ParseTreeWalker.DEFAULT;Ae.getParticipants=function(n,t){return kn=new SL,t&&n instanceof RL&&kn.Add(n.Starter(),!0),IL.walk(this,n),kn};const OL=_.tree.ParseTreeWalker.DEFAULT;var Qe=new b,fe=0,Ge=0;Qe.enterTcf=function(){fe++},Qe.enterOpt=function(){fe++},Qe.enterPar=function(){fe++},Qe.enterAlt=function(){fe++},Qe.enterLoop=function(){fe++},Qe.exitTcf=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitOpt=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitPar=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitAlt=function(){Ge=Math.max(Ge,fe),fe--},Qe.exitLoop=function(){Ge=Math.max(Ge,fe),fe--},Qe.depth=function(n){return function(t){return fe=0,Ge=0,t.children.map(function(e){OL.walk(n,e)}),Ge}};const NL=h.TitleContext;NL.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const rf=h,Wl=rf.CreationContext;Wl.prototype.Body=Wl.prototype.creationBody,Wl.prototype.isCurrent=function(n){return of.bind(this)(n)};const Zl=rf.MessageContext;Zl.prototype.Body=Zl.prototype.messageBody,Zl.prototype.isCurrent=function(n){return of.bind(this)(n)};function of(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const ql=h,zo=ql.CreationContext,Kl=ql.MessageContext,af=ql.AsyncMessageContext;zo.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},zo.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},zo.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},Kl.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},Kl.prototype.Owner=function(){return this.To()||lf(this.parentCtx)};function lf(n){for(;n;){if(n instanceof zo||n instanceof Kl)return n.Owner();n=n.parentCtx}}af.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},af.prototype.Owner=function(){return this.To()||lf(this.parentCtx)};const PL=h.ProgContext;PL.prototype.Starter=function(){var i,o,a,l,c,u,f,d,p,E,v,W;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,s;const r=(l=this.block())==null?void 0:l.stat();if(r&&r[0]){const y=(f=(u=(c=r[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),m=(p=(d=r[0].asyncMessage())==null?void 0:d.from())==null?void 0:p.getFormattedText();t=y||m}else{const y=(E=this.head())==null?void 0:E.children;if(y&&y[0]){const m=y[0];if(m instanceof h.ParticipantContext&&(e=(v=m.name())==null?void 0:v.getFormattedText()),m instanceof h.GroupContext){const C=m.participant();C&&C[0]&&(s=(W=C[0].name())==null?void 0:W.getFormattedText())}}}return n||t||e||s||"_STARTER_"};const Wo=h,ML=Wo.RetContext,cf=Wo.ProgContext,uf=Wo.MessageContext,FL=Wo.CreationContext;ML.prototype.ReturnTo=function(){var s,r;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof cf)return e.Starter();{let i=e;for(;i&&!(i instanceof uf)&&!(i instanceof FL);){if(i instanceof cf)return i.Starter();i=i.parentCtx}return i instanceof uf&&((r=(s=i.messageBody())==null?void 0:s.from())==null?void 0:r.getFormattedText())||i.ClosestAncestorStat().Origin()}};const DL=_.ParserRuleContext,hf=h.StatContext,Yl=h.ProgContext,BL=h.MessageContext,$L=h.CreationContext;DL.prototype.Origin=function(){let n=this.parentCtx;for(;n&&!(n instanceof hf||n instanceof Yl);)n=this.parentCtx;return n.Origin()},hf.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Yl)return n.Starter();if(n instanceof BL||n instanceof $L){const t=n.Owner();if(t)return t}n=n.parentCtx}},Yl.prototype.Origin=function(){return this.Starter()};const UL=h.DividerContext;UL.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const Xl=h,HL=Xl.MessageContext,VL=Xl.AsyncMessageContext,GL=Xl.CreationContext;HL.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(s=>s==null?void 0:s.getFormattedText()).join(".")},VL.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},GL.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"\xAB"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"\xBB"};const jL=h.MessageContext;class zL{constructor(t,e){Z(this,"assignee");Z(this,"type");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(":")}}jL.prototype.Assignment=function(){var s,r;let n=this.messageBody().assignment();const t=(s=n==null?void 0:n.assignee())==null?void 0:s.getFormattedText(),e=(r=n==null?void 0:n.type())==null?void 0:r.getFormattedText();if(t)return new zL(t,e)};const ai=h,WL=ai.CreationContext,ZL=ai.StatContext,ff=ai.MessageContext,qL=ai.AsyncMessageContext,KL=ai.RetContext;WL.prototype.From=function(){if(this.parentCtx instanceof ZL)return this.ClosestAncestorStat().Origin()},ff.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},ff.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},qL.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},KL.prototype.From=function(){return this.ClosestAncestorStat().Origin()},_.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const Ql=h,Jl=Ql.CreationContext;Jl.prototype.Body=Jl.prototype.creationBody,Jl.prototype.isInitedFromOccurrence=function(n){return df.bind(this)(n)};const tc=Ql.MessageContext;tc.prototype.Body=tc.prototype.messageBody,tc.prototype.isInitedFromOccurrence=function(n){return df.bind(this)(n)};function df(n){let t=this;for(;t!=null;){if(t instanceof Ql.StatContext){let e;if(t.message&&t.message()?e=t.message().Owner():t.creation&&t.creation()?e=t.creation().Owner():t.asyncMessage&&t.asyncMessage()&&(e=t.asyncMessage().to().getFormattedText()),e===n)return!0}t=t.parentCtx}return!1}const pf=h,gf=pf.StatContext;_.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof gf);)n=n.parentCtx;if(n instanceof gf)return n},_.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof pf.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function YL(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,r){return t.apply(this,arguments)};case 4:return function(e,s,r,i){return t.apply(this,arguments)};case 5:return function(e,s,r,i,o){return t.apply(this,arguments)};case 6:return function(e,s,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,s,r,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,s,r,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,s,r,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,s,r,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var mf=YL;function XL(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var QL=XL;function JL(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var ec=JL,t_=ec;function e_(n){return function t(e){return arguments.length===0||t_(e)?t:n.apply(this,arguments)}}var Zo=e_,nc=Zo,li=ec;function n_(n){return function t(e,s){switch(arguments.length){case 0:return t;case 1:return li(e)?t:nc(function(r){return n(e,r)});default:return li(e)&&li(s)?t:li(e)?nc(function(r){return n(r,s)}):li(s)?nc(function(r){return n(e,r)}):n(e,s)}}}var xf=n_,qo=Zo,cr=xf,oe=ec;function s_(n){return function t(e,s,r){switch(arguments.length){case 0:return t;case 1:return oe(e)?t:cr(function(i,o){return n(e,i,o)});case 2:return oe(e)&&oe(s)?t:oe(e)?cr(function(i,o){return n(i,s,o)}):oe(s)?cr(function(i,o){return n(e,i,o)}):qo(function(i){return n(e,s,i)});default:return oe(e)&&oe(s)&&oe(r)?t:oe(e)&&oe(s)?cr(function(i,o){return n(i,o,r)}):oe(e)&&oe(r)?cr(function(i,o){return n(i,s,o)}):oe(s)&&oe(r)?cr(function(i,o){return n(e,i,o)}):oe(e)?qo(function(i){return n(i,s,r)}):oe(s)?qo(function(i){return n(e,i,r)}):oe(r)?qo(function(i){return n(e,s,i)}):n(e,s,r)}}}var sc=s_,Lf=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function r_(n){return Object.prototype.toString.call(n)==="[object String]"}var i_=r_,o_=Zo,a_=Lf,l_=i_,c_=o_(function(t){return a_(t)?!0:!t||typeof t!="object"||l_(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),u_=c_,h_=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function f_(n){return new h_(n)}var d_=f_,p_=mf,g_=xf,m_=g_(function(t,e){return p_(t.length,function(){return t.apply(e,arguments)})}),x_=m_,L_=u_,__=d_,y_=x_;function C_(n,t,e){for(var s=0,r=e.length;s<r;){if(t=n["@@transducer/step"](t,e[s]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return n["@@transducer/result"](t)}function _f(n,t,e){for(var s=e.next();!s.done;){if(t=n["@@transducer/step"](t,s.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=e.next()}return n["@@transducer/result"](t)}function yf(n,t,e,s){return n["@@transducer/result"](e[s](y_(n["@@transducer/step"],n),t))}var Cf=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function E_(n,t,e){if(typeof n=="function"&&(n=__(n)),L_(e))return C_(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return yf(n,t,e,"fantasy-land/reduce");if(e[Cf]!=null)return _f(n,t,e[Cf]());if(typeof e.next=="function")return _f(n,t,e);if(typeof e.reduce=="function")return yf(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var b_=E_,T_=sc,w_=b_,v_=T_(w_),A_=v_,S_=Lf;function R_(n,t){return function(){var e=arguments.length;if(e===0)return t();var s=arguments[e-1];return S_(s)||typeof s[n]!="function"?t.apply(this,arguments):s[n].apply(s,Array.prototype.slice.call(arguments,0,e-1))}}var Ef=R_,k_=Ef,I_=sc,O_=I_(k_("slice",function(t,e,s){return Array.prototype.slice.call(s,t,e)})),N_=O_,P_=Ef,M_=Zo,F_=N_,D_=M_(P_("tail",F_(1,1/0))),B_=D_,$_=mf,U_=QL,H_=A_,V_=B_;function G_(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return $_(arguments[0].length,H_(U_,arguments[0],V_(arguments)))}var j_=G_;const z_=j_;var W_=sc,Z_=W_(function(t,e,s){return s.replace(t,e)}),q_=Z_;const ci=q_,K_=ci(/[\n\r]/g," "),Y_=ci(/\s+/g," "),X_=ci(/\s*([,;.()])\s*/g,"$1"),Q_=ci(/\s+$/g,""),J_=ci(/^"(.*)"$/,"$1"),ty=z_(K_,Y_,X_,Q_,J_);class ey extends _.error.ErrorListener{syntaxError(t,e,s,r,i){}}function ny(n){const t=new _.InputStream(n),e=new H(t),s=new _.CommonTokenStream(e),r=new h(s);return r.addErrorListener(new ey),r._syntaxErrors?null:r.prog()}_.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return ty(n)},_.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=H.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(s=>s.text.substring(2)).join("")},_.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const sy=h.ProgContext,ry=ny,bf=h.GroupContext,Tf=h.ParticipantContext,ur=function(n,t){return Ae.getParticipants(n,t)};var Kn=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Kn||{});function In(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const r=document.createElement("div");r.className="textarea-hidden-div ",r.style.fontSize=t===Kn.MessageContent?"0.875rem":"1rem",r.style.fontFamily="Helvetica, Verdana, serif",r.style.display="inline",r.style.whiteSpace="nowrap",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.overflow="hidden",r.style.width="0px",r.style.paddingLeft="0px",r.style.paddingRight="0px",r.style.margin="0px",r.style.border="0px",document.body.appendChild(r),e=r}return e.textContent=n,e.scrollWidth}const iy=100,rc=20,oy=10,ay=14,ly=100,cy=h;class ic extends b{constructor(){super(...arguments);Z(this,"explicitParticipants",[]);Z(this,"starter","");Z(this,"implicitParticipants",[]);Z(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(e){this.starter=e.getFormattedText()}enterParticipant(e){var o,a,l;const s=((o=e==null?void 0:e.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",r=(l=(a=e.label())==null?void 0:a.name())==null?void 0:l.getFormattedText(),i={name:s,label:r,left:""};this.explicitParticipants.push(i)}enterFrom(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(e.ClosestAncestorBlock().parentCtx instanceof cy.ProgContext&&e.ClosestAncestorStat()===e.ClosestAncestorBlock().children[0]){this.starter=s;return}this.enterTo(e)}enterTo(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}enterCreation(e){if(this.isBlind)return;const s=e==null?void 0:e.Owner();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}result(){let e=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||e.unshift(this._getStarter()),e=this._dedup(e),ic._assignLeft(e),e}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(e=>e.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(e){return e.filter((s,r)=>e.findIndex(i=>i.name===s.name)===r)}static _assignLeft(e){e.reduce((s,r)=>(r.left=s.name||"",r),{name:"",left:""})}}function uy(n){const t=new ic;return _.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function Ko(n,t){return{position:n,velocity:t}}function wf(n,t){return Ko(n.position+t.position,n.velocity+t.velocity)}const vf=Math.sqrt(Number.EPSILON);function hy(n,t){let e=n.position-t.position;return e<-vf||Math.abs(e)<=vf&&n.velocity<t.velocity}function fy(){return{delta:1/0,dualLessThan:function(n,t){let e=hy(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function dy(n,t){let e=Array();for(let s=0;s<n;s++){e.push([]);for(let r=0;r<s;r++)t[r][s]>0&&e[s].push({i:r,length:Ko(t[r][s],0)})}return e}function py(n,t){let e=fy(),s=Ko(0,0),r=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(s=wf(s,t[i-1]));for(let a of n[i]){let l=wf(r[a.i].maximum,a.length);e.dualLessThan(s,l)&&(o=a.i,s=l)}r.push({argument:o,maximum:s})}return[e.delta,r]}function gy(n,t,e){let s=n.length-1;for(;s>0;){let r=n[s].argument;r!==null?s=r:(s--,e[s].velocity=0)}}function my(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function xy(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function Ly(n){const t=n.length;let e=dy(t,n),s=[];for(let r=1;r<t;r++)s.push(Ko(0,1));for(;;){let[r,i]=py(e,s);if(r==1/0)return xy(i);i[t-1].maximum.velocity>0?gy(i,e,s):my(s,r)}}var ui=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(ui||{});class _y extends b{constructor(){super(...arguments);Z(this,"isBlind",!1);Z(this,"ownableMessages",[]);Z(this,"enterMessage",e=>this._addOwnedMessage(ui.SyncMessage)(e));Z(this,"enterAsyncMessage",e=>this._addOwnedMessage(ui.AsyncMessage)(e));Z(this,"enterCreation",e=>this._addOwnedMessage(ui.CreationMessage)(e));Z(this,"_addOwnedMessage",e=>s=>{if(this.isBlind)return;let r=s.From();const i=s==null?void 0:s.Owner(),o=s==null?void 0:s.SignatureText();this.ownableMessages.push({from:r,signature:o,type:e,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function Af(n){const t=_.tree.ParseTreeWalker.DEFAULT,e=new _y;return t.walk(e,n),e.result()}class mn{constructor(t,e){Z(this,"m",[]);Z(this,"widthProvider");Z(this,"participantModels");Z(this,"ownableMessages");this.participantModels=uy(t),this.ownableMessages=Af(t),this.widthProvider=e,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(t=>t.name)}getPosition(t){const e=this.participantModels.findIndex(i=>i.name===t);if(e===-1)throw Error(`Participant ${t} not found`);const r=this.getParticipantGap(this.participantModels[0])+Ly(this.m)[e];return console.debug(`Position of ${t} is ${r}`),r}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(s=>{const r=e.findIndex(l=>l.name===s.from),i=e.findIndex(l=>l.name===s.to);if(r===-1||i===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);return}let o=Math.min(r,i),a=Math.max(r,i);try{let l=this.getMessageWidth(s);this.m[o][a]=Math.max(l+oy+ay,this.m[o][a])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}})}getMessageWidth(t){const e=mn.half(this.widthProvider,t.to);let s=this.widthProvider(t.signature,Kn.MessageContent);return t.type===ui.CreationMessage&&(s+=e),s}withParticipantGaps(t){this.m=t.map((e,s)=>t.map((r,i)=>i-s===1?this.getParticipantGap(r):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const s=mn.half(this.widthProvider,e),r=mn.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&s||0)+(o&&r||0)}labelOrName(t){const e=this.participantModels.findIndex(s=>s.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return rc/2;const s=this.halfWithMargin(t,e);return Math.max(s,iy/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+rc/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",Kn.ParticipantName),ly)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+mn.half(this.widthProvider,t);return Math.max(e,200)}distance(t,e){return this.getPosition(e)-this.getPosition(t)}}let Sf=0;setTimeout(function(){Sf||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Rf=()=>(Sf=a6(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>ry(n.code),title:(n,t)=>{var e,s;return(s=(e=t.rootContext)==null?void 0:e.title())==null?void 0:s.content()},participants:(n,t)=>ur(t.rootContext,!0),coordinates:(n,t)=>new mn(t.rootContext,In),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(s){return console.error(s),0}},GroupContext:()=>bf,ParticipantContext:()=>Tf,cursor:n=>n.cursor,distance:(n,t)=>(e,s)=>t.centerOf(e)-t.centerOf(s),distance2:(n,t)=>(e,s)=>!e||!s?0:t.centerOf(s)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1}),iA="",It=(n,t)=>{const e=n.__vccOpts||n;for(const[s,r]of t)e[s]=r;return e},yy={name:"Privacy"},Cy=[(n=>(is("data-v-70836592"),n=n(),os(),n))(()=>A("div",{class:"tooltip bottom whitespace-normal","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."},[A("svg",{class:"fill-current h-6 w-6 m-auto",xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},[A("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),A("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})])],-1))];function Ey(n,t,e,s,r,i){return N(),et("div",null,Cy)}const by=It(yy,[["render",Ey],["__scopeId","data-v-70836592"]]),Ty={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},wy={class:"title text-skin-title text-base font-semibold"};function vy(n,t,e,s,r,i){return N(),et("div",wy,Yt(i.title),1)}const Ay=It(Ty,[["render",vy]]),kf=new ph;var oc={exports:{}},Sy={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]},If={exports:{}},Ry=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},ky=Ry,Iy=Array.prototype.concat,Oy=Array.prototype.slice,Of=If.exports=function(t){for(var e=[],s=0,r=t.length;s<r;s++){var i=t[s];ky(i)?e=Iy.call(e,Oy.call(i)):e.push(i)}return e};Of.wrap=function(n){return function(){return n(Of(arguments))}};var Yo=Sy,hi=If.exports,Nf={};for(var ac in Yo)Yo.hasOwnProperty(ac)&&(Nf[Yo[ac]]=ac);var Be=oc.exports={to:{},get:{}};Be.get=function(n){var t=n.substring(0,3).toLowerCase(),e,s;switch(t){case"hsl":e=Be.get.hsl(n),s="hsl";break;case"hwb":e=Be.get.hwb(n),s="hwb";break;default:e=Be.get.rgb(n),s="rgb";break}return e?{model:s,value:e}:null},Be.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,s=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=Yo[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Yn(o[l],0,255);return o[3]=Yn(o[3],0,1),o},Be.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])+360)%360,i=Yn(parseFloat(e[2]),0,100),o=Yn(parseFloat(e[3]),0,100),a=Yn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Be.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])%360+360)%360,i=Yn(parseFloat(e[2]),0,100),o=Yn(parseFloat(e[3]),0,100),a=Yn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Be.to.hex=function(){var n=hi(arguments);return"#"+Xo(n[0])+Xo(n[1])+Xo(n[2])+(n[3]<1?Xo(Math.round(n[3]*255)):"")},Be.to.rgb=function(){var n=hi(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},Be.to.rgb.percent=function(){var n=hi(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),s=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+s+"%)":"rgba("+t+"%, "+e+"%, "+s+"%, "+n[3]+")"},Be.to.hsl=function(){var n=hi(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},Be.to.hwb=function(){var n=hi(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},Be.to.keyword=function(n){return Nf[n.slice(0,3)]};function Yn(n,t,e){return Math.min(Math.max(t,n),e)}function Xo(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function Ny(n){const t=oc.exports.get.rgb(n);let[e,s,r]=t;return(e*299+s*587+r*114)/1e3}function Py(n){const t=oc.exports.get.rgb(n);let[e,s,r]=t;return`rgb(${e}, ${s}, ${r})`}const My=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16
16
|
<g clip-path="url(#clip0_544_54)">
|
|
17
17
|
<path d="M15.5489 4.19771C15.5489 5.18773 15.1485 6.13721 14.4358 6.83726C13.7231 7.53731 12.7565 7.93058 11.7486 7.93058C10.7407 7.93058 9.77403 7.53731 9.06133 6.83726C8.34863 6.13721 7.94824 5.18773 7.94824 4.19771C7.94824 3.20768 8.34863 2.25822 9.06133 1.55818C9.77403 0.858126 10.7407 0.464844 11.7486 0.464844C12.7565 0.464844 13.7231 0.858126 14.4358 1.55818C15.1485 2.25822 15.5489 3.20768 15.5489 4.19771Z" stroke="black"/>
|
|
18
18
|
<path d="M6.54883 11.2152L17.2025 11.2073M11.7471 8.06641V19.5806V8.06641ZM11.7471 19.4385L6.79789 23.5738L11.7471 19.4385ZM11.7551 19.4385L17.1864 23.3055L11.7551 19.4385Z" stroke="black"/>
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
</g>
|
|
447
447
|
</g>
|
|
448
448
|
</svg>
|
|
449
|
-
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'},Zy={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return Mf[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&Py(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=Ny(n);this.color=t>128?"#000":"#fff"}}},qy=["innerHTML","alt"],Ky={class:"h-5 group flex flex-col justify-center"},Yy={key:0,class:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},Xy={key:1,class:"interface leading-4"},Qy={class:"name leading-4"};function Jy(n,t,e,s,r,i){return N(),et("div",{class:Ft(["participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 sticky top-8",{selected:i.selected}]),ref:"participant",style:Lt({backgroundColor:i.backgroundColor,color:r.color}),onClick:t[0]||(t[0]=(...o)=>i.onSelect&&i.onSelect(...o))},[i.icon?(N(),et("div",{key:0,innerHTML:i.icon,class:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${e.entity.name}`},null,8,qy)):At("",!0),A("div",Ky,[i.comment?(N(),et("span",Yy,Yt(i.comment),1)):At("",!0),i.stereotype?(N(),et("label",Xy,"\xAB"+Yt(i.stereotype)+"\xBB",1)):At("",!0),A("label",Qy,Yt(e.entity.label||e.entity.name),1)])],6)}const Ff=It(Zy,[["render",Jy]]),ZA="",fi=mr.child({name:"LifeLine"}),tC={name:"life-line",components:{Participant:Ff},props:["entity","context","groupLeft","inGroup","renderParticipants"],data:()=>({translateX:0,top:0}),computed:{...Pe(["centerOf"]),...Aa(["scale"]),debug(){return!!localStorage.zenumlDebug},left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){fi.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),fi.debug(`nextTick after updated for ${this.entity.name}`)}),kf.$on("participant_set_top",()=>this.$nextTick(()=>this.setTop()))},updated(){fi.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),fi.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.entity.name.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"),e=this.$root.$refs.diagram.$el.querySelector(`[data-to="${n}"]`),s=(e==null?void 0:e.offsetParent)!=null;if(e&&e.attributes["data-type"].value==="creation"&&s){fi.debug(`First message to ${this.entity.name} is creation`);const r=this.$el.getBoundingClientRect().y,i=e.getBoundingClientRect().y;this.top=(i-r)/this.scale}else this.top=0}}},eC=["id"],nC={key:1,class:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"};function sC(n,t,e,s,r,i){const o=ft("participant");return N(),et("div",{id:e.entity.name,class:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:Lt({paddingTop:n.top+"px",left:i.left+"px"})},[Zi(A("div",null,Yt(n.centerOf(e.entity.name)),513),[[jr,i.debug]]),e.renderParticipants?(N(),Mt(o,{key:0,entity:e.entity},null,8,["entity"])):(N(),et("div",nC))],12,eC)}const Df=It(tC,[["render",sC],["__scopeId","data-v-6efc771f"]]),rC={name:"lifeline-group",props:["context","renderParticipants"],computed:{...Pe(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(In(n,Kn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(In(this.entities.slice(-1).name,Kn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return ur(this.context).Array()}},components:{LifeLine:Df}},iC={class:"lifeline-group relative flex-grow"};function oC(n,t,e,s,r,i){const o=ft("life-line");return i.entities.length>0?(N(),et("div",{key:0,class:"container absolute flex flex-col h-full",style:Lt({left:`${i.left}px`,width:`${i.right-i.left}px`})},[A("div",{class:Ft(["flex flex-col flex-grow",{shadow:e.renderParticipants,"shadow-slate-500/50":!e.renderParticipants}])},[A("div",iC,[(N(!0),et(Ht,null,wn(i.entities,a=>(N(),Mt(o,{inGroup:"true",key:a.name,ref_for:!0,ref:a.name,entity:a,"group-left":i.left,renderParticipants:e.renderParticipants},null,8,["entity","group-left","renderParticipants"]))),128))])],2)],4)):At("",!0)}const aC=It(rC,[["render",oC]]),Bf=mr.child({name:"LifeLineLayer"}),lC={name:"life-line-layer",props:["context","renderParticipants"],computed:{...Pe(["participants","GroupContext","ParticipantContext","centerOf"]),debug(){return!!localStorage.zenumlDebug},invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof bf,s=t instanceof Tf;return e||s})}},methods:{...Sa(["increaseGeneration"]),getParticipantEntity(n){return ur(n).First()}},updated(){Bf.debug("LifeLineLayer updated")},mounted(){Bf.debug("LifeLineLayer mounted")},components:{LifeLine:Df,LifeLineGroup:aC}},cC={class:"container relative grow"};function uC(n,t,e,s,r,i){const o=ft("life-line"),a=ft("life-line-group");return N(),et("div",{class:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8 top-0",style:Lt({"min-width":"200px",pointerEvents:e.renderParticipants?"none":"all"})},[A("div",cC,[i.starterOnTheLeft?(N(),Mt(o,{key:0,entity:i.starterParticipant,class:Ft(["starter",{invisible:i.invisibleStarter&&!i.debug}]),renderParticipants:e.renderParticipants},null,8,["entity","class","renderParticipants"])):At("",!0),(N(!0),et(Ht,null,wn(i.explicitGroupAndParticipants,(l,c)=>(N(),et(Ht,null,[l instanceof n.GroupContext?(N(),Mt(a,{key:c,context:l,renderParticipants:e.renderParticipants},null,8,["context","renderParticipants"])):At("",!0),l instanceof n.ParticipantContext?(N(),Mt(o,{key:c,entity:i.getParticipantEntity(l),renderParticipants:e.renderParticipants},null,8,["entity","renderParticipants"])):At("",!0)],64))),256)),(N(!0),et(Ht,null,wn(i.implicitParticipants,l=>(N(),Mt(o,{key:l.name,entity:l,renderParticipants:e.renderParticipants},null,8,["entity","renderParticipants"]))),128))])],4)}const hC=It(lC,[["render",uC]]),qA="",$f=mr.child({name:"MessageLayer"}),fC={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Pe(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Sa(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){$f.debug("MessageLayer updated")},mounted(){$f.debug("MessageLayer mounted")}},dC={class:"message-layer pt-24 pb-10"};function pC(n,t,e,s,r,i){const o=ft("block");return N(),et("div",dC,[nt(o,{context:e.context,style:Lt({"padding-left":i.paddingLeft+"px"})},null,8,["context","style"])])}const gC=It(fC,[["render",pC]]),mC=_.tree.ParseTreeWalker.DEFAULT;class lc extends b{constructor(e){super();Z(this,"_orderedParticipants");Z(this,"frameRoot",null);Z(this,"parents",[]);this._orderedParticipants=e}getLocalParticipants(e){return[e.Origin(),...ur(e).ImplicitArray().map(s=>s.name)]}getLeft(e){let s=this.getLocalParticipants(e);return this._orderedParticipants.find(r=>s.includes(r))||""}getRight(e){return this._orderedParticipants.slice().reverse().find(s=>this.getLocalParticipants(e).includes(s))||""}enterFragment(e){var r;const s={left:this.getLeft(e),right:this.getRight(e),children:[]};this.frameRoot||(this.frameRoot=s),this.parents.length>0&&((r=this.parents[this.parents.length-1].children)==null||r.push(s)),this.parents.push(s)}exitFragment(){this.parents.pop()}enterTcf(e){this.enterFragment(e)}enterOpt(e){this.enterFragment(e)}enterPar(e){this.enterFragment(e)}enterAlt(e){this.enterFragment(e)}enterLoop(e){this.enterFragment(e)}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}getFrame(e){return e.children.map(s=>{mC.walk(this,s)}),this.frameRoot}}function cc(n,t){if(!n.children||n.children.length===0)return 1;let e=0;for(let s of n.children)t==="LEFT"&&s.left!==n.left||t==="RIGHT"&&s.right!==n.right||(e=Math.max(e,cc(s,t)));return e+1}function uc(n){return n?{left:10*cc(n,"LEFT"),right:10*cc(n,"RIGHT")}:{left:0,right:0}}function Uf(n,t){const e=t.orderedParticipantNames(),s=[n.Origin(),...ur(n).Names()],r=e.find(u=>s.includes(u))||"",i=e.slice().reverse().find(u=>s.includes(u))||"",a=new lc(e).getFrame(n),l=uc(a),c=xC(n,i,t);return console.debug(`frame: ${JSON.stringify(a)} extraWidth: ${c}, leftParticipant: ${r}, rightParticipant: ${i}, border: ${JSON.stringify(l)}`),t.distance(r,i)+l.left+l.right+mn.half(In,r)+mn.half(In,i)+c}function xC(n,t,e){const r=Af(n).filter(i=>i.from===i.to).map(i=>In(i.signature,Kn.MessageContent)+37-e.distance(i.from,t)-mn.half(In,t));return Math.max.apply(null,[0,...r])}const KA="",LC={name:"seq-diagram",components:{LifeLineLayer:hC,MessageLayer:gC},computed:{...Pe(["rootContext","coordinates"]),width(){return Uf(this.rootContext,this.coordinates)},paddingLeft:function(){const n=this.coordinates.orderedParticipantNames(),e=new lc(n).getFrame(this.rootContext);return e?uc(e).left+rc:0}}};function _C(n,t,e,s,r,i){const o=ft("life-line-layer"),a=ft("message-layer");return N(),et("div",{class:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:Lt({paddingLeft:`${i.paddingLeft}px`}),ref:"diagram"},[nt(o,{context:n.rootContext.head(),renderParticipants:!1},null,8,["context"]),nt(a,{context:n.rootContext.block(),style:Lt({width:`${i.width}px`})},null,8,["context","style"]),nt(o,{context:n.rootContext.head(),renderParticipants:!0},null,8,["context"])],4)}const hc=It(LC,[["render",_C]]),yC={name:"IconList",props:["types"],computed:{},methods:{icon(n){return Mf[n==null?void 0:n.toLowerCase()]}}},CC={role:"list",class:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8"},EC={class:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},bC=["innerHTML","alt"],TC={class:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},wC={class:"px-2 py-2 text-xs"},vC={class:"text-gray-900 font-medium hover:text-gray-600"};function AC(n,t,e,s,r,i){return N(),et("ul",CC,[(N(!0),et(Ht,null,wn(e.types,o=>(N(),et("li",{key:o,class:"col-span-1 flex flex-col shadow-sm rounded-md"},[A("div",EC,[i.icon?(N(),et("i",{key:0,innerHTML:i.icon(o),class:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o}`},null,8,bC)):At("",!0)]),A("div",TC,[A("div",wC,[A("span",vC,"@"+Yt(o),1)])])]))),128))])}const SC={name:"TipsDialog",components:{IconList:It(yC,[["render",AC]])},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}}}},RC={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},kC=A("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"},null,-1),IC=A("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"\u200B",-1),OC={class:"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"},NC={class:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",slot:"header"},PC=A("h3",{class:"text-xl leading-6 font-medium text-gray-900 inline-block"},"ZenUML Tips",-1),MC=[A("span",{class:"sr-only"},"Close menu",-1),A("svg",{class:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[A("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)],FC={slot:"body"},DC={class:"relative bg-white pb-32 mt-4 overflow-hidden"},BC={class:"relative"},$C={class:"lg:mx-auto lg:max-w-11/12 lg:px-8"},UC=Ur(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
|
|
449
|
+
`,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'},Zy={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return Mf[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&Py(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=Ny(n);this.color=t>128?"#000":"#fff"}}},qy=["innerHTML","alt"],Ky={class:"h-5 group flex flex-col justify-center"},Yy={key:0,class:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},Xy={key:1,class:"interface leading-4"},Qy={class:"name leading-4"};function Jy(n,t,e,s,r,i){return N(),et("div",{class:Ft(["participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 sticky top-8",{selected:i.selected}]),ref:"participant",style:_t({backgroundColor:i.backgroundColor,color:r.color}),onClick:t[0]||(t[0]=(...o)=>i.onSelect&&i.onSelect(...o))},[i.icon?(N(),et("div",{key:0,innerHTML:i.icon,class:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${e.entity.name}`},null,8,qy)):At("",!0),A("div",Ky,[i.comment?(N(),et("span",Yy,Yt(i.comment),1)):At("",!0),i.stereotype?(N(),et("label",Xy,"\xAB"+Yt(i.stereotype)+"\xBB",1)):At("",!0),A("label",Qy,Yt(e.entity.label||e.entity.name),1)])],6)}const Ff=It(Zy,[["render",Jy]]),KA="",fi=mr.child({name:"LifeLine"}),tC={name:"life-line",components:{Participant:Ff},props:["entity","context","groupLeft","inGroup","renderParticipants"],data:()=>({translateX:0,top:0}),computed:{...Pe(["centerOf"]),...Aa(["scale"]),debug(){return!!localStorage.zenumlDebug},left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){fi.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),fi.debug(`nextTick after updated for ${this.entity.name}`)}),kf.$on("participant_set_top",()=>this.$nextTick(()=>this.setTop()))},updated(){fi.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),fi.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.entity.name.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"),e=this.$root.$refs.diagram.$el.querySelector(`[data-to="${n}"]`),s=(e==null?void 0:e.offsetParent)!=null;if(e&&e.attributes["data-type"].value==="creation"&&s){fi.debug(`First message to ${this.entity.name} is creation`);const r=this.$el.getBoundingClientRect().y,i=e.getBoundingClientRect().y;this.top=(i-r)/this.scale}else this.top=0}}},eC=["id"],nC={key:1,class:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"};function sC(n,t,e,s,r,i){const o=ft("participant");return N(),et("div",{id:e.entity.name,class:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:_t({paddingTop:n.top+"px",left:i.left+"px"})},[Zi(A("div",null,Yt(n.centerOf(e.entity.name)),513),[[jr,i.debug]]),e.renderParticipants?(N(),Mt(o,{key:0,entity:e.entity},null,8,["entity"])):(N(),et("div",nC))],12,eC)}const Df=It(tC,[["render",sC],["__scopeId","data-v-6efc771f"]]),rC={name:"lifeline-group",props:["context","renderParticipants"],computed:{...Pe(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(In(n,Kn.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(In(this.entities.slice(-1).name,Kn.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return ur(this.context).Array()}},components:{LifeLine:Df}},iC={class:"lifeline-group relative flex-grow"};function oC(n,t,e,s,r,i){const o=ft("life-line");return i.entities.length>0?(N(),et("div",{key:0,class:"container absolute flex flex-col h-full",style:_t({left:`${i.left}px`,width:`${i.right-i.left}px`})},[A("div",{class:Ft(["flex flex-col flex-grow",{shadow:e.renderParticipants,"shadow-slate-500/50":!e.renderParticipants}])},[A("div",iC,[(N(!0),et(Ht,null,wn(i.entities,a=>(N(),Mt(o,{inGroup:"true",key:a.name,ref_for:!0,ref:a.name,entity:a,"group-left":i.left,renderParticipants:e.renderParticipants},null,8,["entity","group-left","renderParticipants"]))),128))])],2)],4)):At("",!0)}const aC=It(rC,[["render",oC]]),Bf=mr.child({name:"LifeLineLayer"}),lC={name:"life-line-layer",props:["context","renderParticipants"],computed:{...Pe(["participants","GroupContext","ParticipantContext","centerOf"]),debug(){return!!localStorage.zenumlDebug},invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof bf,s=t instanceof Tf;return e||s})}},methods:{...Sa(["increaseGeneration"]),getParticipantEntity(n){return ur(n).First()}},updated(){Bf.debug("LifeLineLayer updated")},mounted(){Bf.debug("LifeLineLayer mounted")},components:{LifeLine:Df,LifeLineGroup:aC}},cC={class:"container relative grow"};function uC(n,t,e,s,r,i){const o=ft("life-line"),a=ft("life-line-group");return N(),et("div",{class:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8 top-0",style:_t({"min-width":"200px",pointerEvents:e.renderParticipants?"none":"all"})},[A("div",cC,[i.starterOnTheLeft?(N(),Mt(o,{key:0,entity:i.starterParticipant,class:Ft(["starter",{invisible:i.invisibleStarter&&!i.debug}]),renderParticipants:e.renderParticipants},null,8,["entity","class","renderParticipants"])):At("",!0),(N(!0),et(Ht,null,wn(i.explicitGroupAndParticipants,(l,c)=>(N(),et(Ht,null,[l instanceof n.GroupContext?(N(),Mt(a,{key:c,context:l,renderParticipants:e.renderParticipants},null,8,["context","renderParticipants"])):At("",!0),l instanceof n.ParticipantContext?(N(),Mt(o,{key:c,entity:i.getParticipantEntity(l),renderParticipants:e.renderParticipants},null,8,["entity","renderParticipants"])):At("",!0)],64))),256)),(N(!0),et(Ht,null,wn(i.implicitParticipants,l=>(N(),Mt(o,{key:l.name,entity:l,renderParticipants:e.renderParticipants},null,8,["entity","renderParticipants"]))),128))])],4)}const hC=It(lC,[["render",uC]]),YA="",$f=mr.child({name:"MessageLayer"}),fC={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Pe(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...Sa(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){$f.debug("MessageLayer updated")},mounted(){$f.debug("MessageLayer mounted")}},dC={class:"message-layer pt-24 pb-10"};function pC(n,t,e,s,r,i){const o=ft("block");return N(),et("div",dC,[nt(o,{context:e.context,style:_t({"padding-left":i.paddingLeft+"px"})},null,8,["context","style"])])}const gC=It(fC,[["render",pC]]),mC=_.tree.ParseTreeWalker.DEFAULT;class lc extends b{constructor(e){super();Z(this,"_orderedParticipants");Z(this,"frameRoot",null);Z(this,"parents",[]);this._orderedParticipants=e}getLocalParticipants(e){return[e.Origin(),...ur(e).ImplicitArray().map(s=>s.name)]}getLeft(e){let s=this.getLocalParticipants(e);return this._orderedParticipants.find(r=>s.includes(r))||""}getRight(e){return this._orderedParticipants.slice().reverse().find(s=>this.getLocalParticipants(e).includes(s))||""}enterFragment(e){var r;const s={left:this.getLeft(e),right:this.getRight(e),children:[]};this.frameRoot||(this.frameRoot=s),this.parents.length>0&&((r=this.parents[this.parents.length-1].children)==null||r.push(s)),this.parents.push(s)}exitFragment(){this.parents.pop()}enterTcf(e){this.enterFragment(e)}enterOpt(e){this.enterFragment(e)}enterPar(e){this.enterFragment(e)}enterAlt(e){this.enterFragment(e)}enterLoop(e){this.enterFragment(e)}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}getFrame(e){return e.children.map(s=>{mC.walk(this,s)}),this.frameRoot}}function cc(n,t){if(!n.children||n.children.length===0)return 1;let e=0;for(let s of n.children)t==="LEFT"&&s.left!==n.left||t==="RIGHT"&&s.right!==n.right||(e=Math.max(e,cc(s,t)));return e+1}function uc(n){return n?{left:10*cc(n,"LEFT"),right:10*cc(n,"RIGHT")}:{left:0,right:0}}function Uf(n,t){const e=t.orderedParticipantNames(),s=[n.Origin(),...ur(n).Names()],r=e.find(u=>s.includes(u))||"",i=e.slice().reverse().find(u=>s.includes(u))||"",a=new lc(e).getFrame(n),l=uc(a),c=xC(n,i,t);return console.debug(`frame: ${JSON.stringify(a)} extraWidth: ${c}, leftParticipant: ${r}, rightParticipant: ${i}, border: ${JSON.stringify(l)}`),t.distance(r,i)+l.left+l.right+mn.half(In,r)+mn.half(In,i)+c}function xC(n,t,e){const r=Af(n).filter(i=>i.from===i.to).map(i=>In(i.signature,Kn.MessageContent)+37-e.distance(i.from,t)-mn.half(In,t));return Math.max.apply(null,[0,...r])}const XA="",LC={name:"seq-diagram",components:{LifeLineLayer:hC,MessageLayer:gC},computed:{...Pe(["rootContext","coordinates"]),width(){return Uf(this.rootContext,this.coordinates)},paddingLeft:function(){const n=this.coordinates.orderedParticipantNames(),e=new lc(n).getFrame(this.rootContext);return e?uc(e).left+rc:0}}};function _C(n,t,e,s,r,i){const o=ft("life-line-layer"),a=ft("message-layer");return N(),et("div",{class:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:_t({paddingLeft:`${i.paddingLeft}px`}),ref:"diagram"},[nt(o,{context:n.rootContext.head(),renderParticipants:!1},null,8,["context"]),nt(a,{context:n.rootContext.block(),style:_t({width:`${i.width}px`})},null,8,["context","style"]),nt(o,{context:n.rootContext.head(),renderParticipants:!0},null,8,["context"])],4)}const hc=It(LC,[["render",_C]]),yC={name:"IconList",props:["types"],computed:{},methods:{icon(n){return Mf[n==null?void 0:n.toLowerCase()]}}},CC={role:"list",class:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8"},EC={class:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},bC=["innerHTML","alt"],TC={class:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},wC={class:"px-2 py-2 text-xs"},vC={class:"text-gray-900 font-medium hover:text-gray-600"};function AC(n,t,e,s,r,i){return N(),et("ul",CC,[(N(!0),et(Ht,null,wn(e.types,o=>(N(),et("li",{key:o,class:"col-span-1 flex flex-col shadow-sm rounded-md"},[A("div",EC,[i.icon?(N(),et("i",{key:0,innerHTML:i.icon(o),class:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o}`},null,8,bC)):At("",!0)]),A("div",TC,[A("div",wC,[A("span",vC,"@"+Yt(o),1)])])]))),128))])}const SC={name:"TipsDialog",components:{IconList:It(yC,[["render",AC]])},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}}}},RC={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},kC=A("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"},null,-1),IC=A("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"\u200B",-1),OC={class:"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"},NC={class:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",slot:"header"},PC=A("h3",{class:"text-xl leading-6 font-medium text-gray-900 inline-block"},"ZenUML Tips",-1),MC=[A("span",{class:"sr-only"},"Close menu",-1),A("svg",{class:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[A("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)],FC={slot:"body"},DC={class:"relative bg-white pb-32 mt-4 overflow-hidden"},BC={class:"relative"},$C={class:"lg:mx-auto lg:max-w-11/12 lg:px-8"},UC=Ur(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
|
|
450
450
|
@Starter(A)
|
|
451
451
|
|
|
452
452
|
// Show icons
|
|
@@ -493,11 +493,11 @@ A.method() {
|
|
|
493
493
|
}
|
|
494
494
|
A.method() {
|
|
495
495
|
@return A->B: message
|
|
496
|
-
}</code></pre></div></div>`,1),HC={class:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},VC=A("h2",{class:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"}," Builtin Icons ",-1),GC=A("p",{class:"text-sm text-gray-500"},[Ls(" Use "),A("span",{class:"rounded inline-block bg-gray-50 text-gray-600"},[A("code",{class:"text-xs"},"@Actor TheParticipant")]),Ls(" to define the type of the participant. ")],-1),jC=A("hr",{class:"mt-4"},null,-1),zC=A("hr",{class:"mt-4"},null,-1),WC=A("hr",{class:"mt-4"},null,-1);function ZC(n,t,e,s,r,i){const o=ft("IconList");return N(),et("div",RC,[kC,IC,A("div",OC,[A("div",null,[A("div",NC,[PC,A("button",{type:"button",onClick:t[0]||(t[0]=a=>i.closeTipsDialog()),class:"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"},MC)]),A("div",FC,[A("div",DC,[A("div",BC,[A("div",$C,[UC,A("div",HC,[VC,GC,nt(o,{types:i.standardTypes},null,8,["types"]),jC,nt(o,{types:i.awsServices},null,8,["types"]),zC,nt(o,{types:i.azureServices},null,8,["types"]),WC,nt(o,{types:i.googleServices},null,8,["types"])])])])])])])])])}const qC=It(SC,[["render",ZC]]),JA="",KC={name:"point",props:["fill","rtl"]},Hf=n=>(is("data-v-ca07199a"),n=n(),os(),n),YC={key:0,class:"arrow stroke-2",height:"10",width:"10"},XC=[Hf(()=>A("polyline",{class:"right head fill-current stroke-current",points:"0,0 10,5 0,10"},null,-1))],QC={key:1,class:"arrow stroke-2",height:"10",width:"10"},JC=[Hf(()=>A("polyline",{class:"left head fill-current stroke-current",points:"10,0 0,5 10,10"},null,-1))];function tE(n,t,e,s,r,i){return N(),et("div",{class:Ft(["point text-skin-message-arrow",{fill:e.fill,"no-fill":!e.fill,"right-to-left":e.rtl}])},[e.rtl?At("",!0):(N(),et("svg",YC,XC)),e.rtl?(N(),et("svg",QC,JC)):At("",!0)],2)}const eE={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:It(KC,[["render",tE],["__scopeId","data-v-ca07199a"]])}};function nE(n,t,e,s,r,i){const o=ft("point");return N(),et("div",{class:Ft(["message border-skin-message-arrow border-b-2 flex items-end",{"flex-row-reverse":e.rtl,return:e.type==="return","right-to-left":e.rtl,"text-left":i.isAsync,"text-center":!i.isAsync}]),style:Lt({"border-bottom-style":i.borderStyle})},[A("div",{class:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",style:Lt({color:e.color})},Yt(e.content),5),nt(o,{class:"flex-shrink-0 transform translate-y-1/2 -my-px",fill:i.fill,rtl:e.rtl},null,8,["fill","rtl"])],6)}const di=It(eE,[["render",nE]]),sE={name:"WidthProvider",components:{Message:di},data:function(){return{text:"abcd"}},methods:{width:function(n,t){return console.log(n,t),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},rE={class:"invisible"};function iE(n,t,e,s,r,i){const o=ft("message");return N(),et("div",rE,[nt(o,{content:n.text,rtl:"false",type:"sync"},null,8,["content"])])}const oE=It(sE,[["render",iE]]);function aE(n,t){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const e=document.implementation.createHTMLDocument(),s=e.createElement("base"),r=e.createElement("a");return e.head.appendChild(s),e.body.appendChild(r),t&&(s.href=t),r.href=n,r.href}const lE=(()=>{let n=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${t()}${n}`)})();function Xn(n){const t=[];for(let e=0,s=n.length;e<s;e++)t.push(n[e]);return t}function Qo(n,t){const s=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function cE(n){const t=Qo(n,"border-left-width"),e=Qo(n,"border-right-width");return n.clientWidth+t+e}function uE(n){const t=Qo(n,"border-top-width"),e=Qo(n,"border-bottom-width");return n.clientHeight+t+e}function Vf(n,t={}){const e=t.width||cE(n),s=t.height||uE(n);return{width:e,height:s}}function hE(){let n,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(n=parseInt(e,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const $e=16384;function fE(n){(n.width>$e||n.height>$e)&&(n.width>$e&&n.height>$e?n.width>n.height?(n.height*=$e/n.width,n.width=$e):(n.width*=$e/n.height,n.height=$e):n.width>$e?(n.height*=$e/n.width,n.width=$e):(n.width*=$e/n.height,n.height=$e))}function dE(n,t={}){return n.toBlob?new Promise(e=>{n.toBlob(e,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(e=>{const s=window.atob(n.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),r=s.length,i=new Uint8Array(r);for(let o=0;o<r;o+=1)i[o]=s.charCodeAt(o);e(new Blob([i],{type:t.type?t.type:"image/png"}))})}function Jo(n){return new Promise((t,e)=>{const s=new Image;s.decode=()=>t(s),s.onload=()=>t(s),s.onerror=e,s.crossOrigin="anonymous",s.decoding="async",s.src=n})}async function pE(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function gE(n,t,e){const s="http://www.w3.org/2000/svg",r=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${e}`),r.setAttribute("viewBox",`0 0 ${t} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(n),pE(r)}function mE(n){const t=n.getPropertyValue("content");return`${n.cssText} content: '${t.replace(/'|"/g,"")}';`}function xE(n){return Xn(n).map(t=>{const e=n.getPropertyValue(t),s=n.getPropertyPriority(t);return`${t}: ${e}${s?" !important":""};`}).join(" ")}function LE(n,t,e){const s=`.${n}:${t}`,r=e.cssText?mE(e):xE(e);return document.createTextNode(`${s}{${r}}`)}function Gf(n,t,e){const s=window.getComputedStyle(n,e),r=s.getPropertyValue("content");if(r===""||r==="none")return;const i=lE();try{t.className=`${t.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(LE(i,e,s)),t.appendChild(o)}function _E(n,t){Gf(n,t,":before"),Gf(n,t,":after")}const jf="application/font-woff",zf="image/jpeg",yE={woff:jf,woff2:jf,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:zf,jpeg:zf,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function CE(n){const t=/\.([^./]*?)$/g.exec(n);return t?t[1]:""}function fc(n){const t=CE(n).toLowerCase();return yE[t]||""}function EE(n){return n.split(/,/)[1]}function dc(n){return n.search(/^(data:)/)!==-1}function Wf(n,t){return`data:${t};base64,${n}`}async function Zf(n,t,e){const s=await fetch(n,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const r=await s.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(e({res:s,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(r)})}const pc={};function bE(n,t,e){let s=n.replace(/\?.*/,"");return e&&(s=n),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function gc(n,t,e){const s=bE(n,t,e.includeQueryParams);if(pc[s]!=null)return pc[s];e.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let r;try{const i=await Zf(n,e.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),EE(a)));r=Wf(i,t)}catch(i){r=e.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return pc[s]=r,r}async function TE(n){const t=n.toDataURL();return t==="data:,"?n.cloneNode(!1):Jo(t)}async function wE(n,t){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return Jo(a)}const e=n.poster,s=fc(e),r=await gc(e,s,t);return Jo(r)}async function vE(n){var t;try{if(!((t=n==null?void 0:n.contentDocument)===null||t===void 0)&&t.body)return await t1(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function AE(n,t){return n instanceof HTMLCanvasElement?TE(n):n instanceof HTMLVideoElement?wE(n,t):n instanceof HTMLIFrameElement?vE(n):n.cloneNode(!1)}const SE=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function RE(n,t,e){var s;const r=SE(n)&&n.assignedNodes?Xn(n.assignedNodes()):Xn(((s=n.shadowRoot)!==null&&s!==void 0?s:n).childNodes);return r.length===0||n instanceof HTMLVideoElement||await r.reduce((i,o)=>i.then(()=>t1(o,e)).then(a=>{a&&t.appendChild(a)}),Promise.resolve()),t}function kE(n,t){const e=t.style;if(!e)return;const s=window.getComputedStyle(n);s.cssText?(e.cssText=s.cssText,e.transformOrigin=s.transformOrigin):Xn(s).forEach(r=>{let i=s.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),e.setProperty(r,i,s.getPropertyPriority(r))})}function IE(n,t){n instanceof HTMLTextAreaElement&&(t.innerHTML=n.value),n instanceof HTMLInputElement&&t.setAttribute("value",n.value)}function OE(n,t){if(n instanceof HTMLSelectElement){const e=t,s=Array.from(e.children).find(r=>n.value===r.getAttribute("value"));s&&s.setAttribute("selected","")}}function NE(n,t){return t instanceof Element&&(kE(n,t),_E(n,t),IE(n,t),OE(n,t)),t}async function PE(n,t){const e=n.querySelectorAll?n.querySelectorAll("use"):[];if(e.length===0)return n;const s={};for(let i=0;i<e.length;i++){const a=e[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!s[a]&&(s[a]=await t1(c,t,!0))}}const r=Object.values(s);if(r.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<r.length;l++)a.appendChild(r[l]);n.appendChild(o)}return n}async function t1(n,t,e){return!e&&t.filter&&!t.filter(n)?null:Promise.resolve(n).then(s=>AE(s,t)).then(s=>RE(n,s,t)).then(s=>NE(n,s)).then(s=>PE(s,t))}const qf=/url\((['"]?)([^'"]+?)\1\)/g,ME=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,FE=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function DE(n){const t=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function BE(n){const t=[];return n.replace(qf,(e,s,r)=>(t.push(r),e)),t.filter(e=>!dc(e))}async function $E(n,t,e,s,r){try{const i=e?aE(t,e):t,o=fc(t);let a;if(r){const l=await r(i);a=Wf(l,o)}else a=await gc(i,o,s);return n.replace(DE(t),`$1${a}$3`)}catch{}return n}function UE(n,{preferredFontFormat:t}){return t?n.replace(FE,e=>{for(;;){const[s,,r]=ME.exec(e)||[];if(!r)return"";if(r===t)return`src: ${s};`}}):n}function Kf(n){return n.search(qf)!==-1}async function Yf(n,t,e){if(!Kf(n))return n;const s=UE(n,e);return BE(s).reduce((i,o)=>i.then(a=>$E(a,o,t,e)),Promise.resolve(s))}async function HE(n,t){var e;const s=(e=n.style)===null||e===void 0?void 0:e.getPropertyValue("background");if(s){const r=await Yf(s,null,t);n.style.setProperty("background",r,n.style.getPropertyPriority("background"))}}async function VE(n,t){if(!(n instanceof HTMLImageElement&&!dc(n.src))&&!(n instanceof SVGImageElement&&!dc(n.href.baseVal)))return;const e=n instanceof HTMLImageElement?n.src:n.href.baseVal,s=await gc(e,fc(e),t);await new Promise((r,i)=>{n.onload=r,n.onerror=i;const o=n;o.decode&&(o.decode=r),n instanceof HTMLImageElement?(n.srcset="",n.src=s):n.href.baseVal=s})}async function GE(n,t){const s=Xn(n.childNodes).map(r=>Xf(r,t));await Promise.all(s).then(()=>n)}async function Xf(n,t){n instanceof Element&&(await HE(n,t),await VE(n,t),await GE(n,t))}function jE(n,t){const{style:e}=n;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(r=>{e[r]=s[r]}),n}const Qf={};async function Jf(n){let t=Qf[n];if(t!=null)return t;const s=await(await fetch(n)).text();return t={url:n,cssText:s},Qf[n]=t,t}async function td(n,t){let e=n.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(s,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),Zf(a,t.fetchRequestInit,({result:l})=>(e=e.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>e)}function ed(n){if(n==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let s=n.replace(e,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=r.exec(s);if(l===null)break;t.push(l[0])}s=s.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(s);if(l===null){if(l=a.exec(s),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(l[0])}return t}async function zE(n,t){const e=[],s=[];return n.forEach(r=>{if("cssRules"in r)try{Xn(r.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Jf(l).then(u=>td(u,t)).then(u=>ed(u).forEach(f=>{try{r.insertRule(f,f.startsWith("@import")?a+=1:r.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});s.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];r.href!=null&&s.push(Jf(r.href).then(a=>td(a,t)).then(a=>ed(a).forEach(l=>{o.insertRule(l,r.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(s).then(()=>(n.forEach(r=>{if("cssRules"in r)try{Xn(r.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i.toString())}}),e))}function WE(n){return n.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Kf(t.style.getPropertyValue("src")))}async function ZE(n,t){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=Xn(n.ownerDocument.styleSheets),s=await zE(e,t);return WE(s)}async function qE(n,t){const e=await ZE(n,t);return(await Promise.all(e.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Yf(r.cssText,i,t)}))).join(`
|
|
497
|
-
`)}async function KE(n,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await qE(n,t);if(e){const s=document.createElement("style"),r=document.createTextNode(e);s.appendChild(r),n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s)}}async function nd(n,t={}){const{width:e,height:s}=Vf(n,t),r=await t1(n,t,!0);return await KE(r,t),await Xf(r,t),jE(r,t),await gE(r,e,s)}async function mc(n,t={}){const{width:e,height:s}=Vf(n,t),r=await nd(n,t),i=await Jo(r),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||hE(),c=t.canvasWidth||e,u=t.canvasHeight||s;return o.width=c*l,o.height=u*l,t.skipAutoScale||fE(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function YE(n,t={}){return(await mc(n,t)).toDataURL()}async function XE(n,t={}){return(await mc(n,t)).toDataURL("image/jpeg",t.quality||1)}async function QE(n,t={}){const e=await mc(n,t);return await dE(e)}const JE="process.env.VUE_APP_GIT_HASH",tb="process.env.VUE_APP_GIT_BRANCH",eb={name:"Debug",data(){return{commitHash:JE,gitBranch:tb}},computed:{debug(){return!!localStorage.zenumlDebug}}},nb={class:"flex flex-nowrap m-2 text-sm"},sb={class:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},rb=Ur('<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path></svg>',1),ib={class:"inline-block px-2"};function ob(n,t,e,s,r,i){return Zi((N(),et("div",null,[A("div",nb,[A("div",sb,[rb,A("span",ib,Yt(r.gitBranch)+":"+Yt(r.commitHash),1)])])],512)),[[jr,i.debug]])}const ab=It(eb,[["render",ob]]),lb={name:"DiagramFrame",computed:{...Aa(["showTips","scale","theme"]),...Pe(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},mounted(){this.$el.__vue__=this},methods:{...Sa(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}},toPng(){return YE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toSvg(){return nd(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toBlob(){return QE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toJpeg(){return XE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},zoomIn(){
|
|
496
|
+
}</code></pre></div></div>`,1),HC={class:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},VC=A("h2",{class:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"}," Builtin Icons ",-1),GC=A("p",{class:"text-sm text-gray-500"},[Ls(" Use "),A("span",{class:"rounded inline-block bg-gray-50 text-gray-600"},[A("code",{class:"text-xs"},"@Actor TheParticipant")]),Ls(" to define the type of the participant. ")],-1),jC=A("hr",{class:"mt-4"},null,-1),zC=A("hr",{class:"mt-4"},null,-1),WC=A("hr",{class:"mt-4"},null,-1);function ZC(n,t,e,s,r,i){const o=ft("IconList");return N(),et("div",RC,[kC,IC,A("div",OC,[A("div",null,[A("div",NC,[PC,A("button",{type:"button",onClick:t[0]||(t[0]=a=>i.closeTipsDialog()),class:"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"},MC)]),A("div",FC,[A("div",DC,[A("div",BC,[A("div",$C,[UC,A("div",HC,[VC,GC,nt(o,{types:i.standardTypes},null,8,["types"]),jC,nt(o,{types:i.awsServices},null,8,["types"]),zC,nt(o,{types:i.azureServices},null,8,["types"]),WC,nt(o,{types:i.googleServices},null,8,["types"])])])])])])])])])}const qC=It(SC,[["render",ZC]]),eS="",KC={name:"point",props:["fill","rtl"]},Hf=n=>(is("data-v-ca07199a"),n=n(),os(),n),YC={key:0,class:"arrow stroke-2",height:"10",width:"10"},XC=[Hf(()=>A("polyline",{class:"right head fill-current stroke-current",points:"0,0 10,5 0,10"},null,-1))],QC={key:1,class:"arrow stroke-2",height:"10",width:"10"},JC=[Hf(()=>A("polyline",{class:"left head fill-current stroke-current",points:"10,0 0,5 10,10"},null,-1))];function tE(n,t,e,s,r,i){return N(),et("div",{class:Ft(["point text-skin-message-arrow",{fill:e.fill,"no-fill":!e.fill,"right-to-left":e.rtl}])},[e.rtl?At("",!0):(N(),et("svg",YC,XC)),e.rtl?(N(),et("svg",QC,JC)):At("",!0)],2)}const eE={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:It(KC,[["render",tE],["__scopeId","data-v-ca07199a"]])}};function nE(n,t,e,s,r,i){const o=ft("point");return N(),et("div",{class:Ft(["message border-skin-message-arrow border-b-2 flex items-end",{"flex-row-reverse":e.rtl,return:e.type==="return","right-to-left":e.rtl,"text-left":i.isAsync,"text-center":!i.isAsync}]),style:_t({"border-bottom-style":i.borderStyle})},[A("div",{class:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",style:_t({color:e.color})},Yt(e.content),5),nt(o,{class:"flex-shrink-0 transform translate-y-1/2 -my-px",fill:i.fill,rtl:e.rtl},null,8,["fill","rtl"])],6)}const di=It(eE,[["render",nE]]),sE={name:"WidthProvider",components:{Message:di},data:function(){return{text:"abcd"}},methods:{width:function(n,t){return console.log(n,t),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},rE={class:"invisible"};function iE(n,t,e,s,r,i){const o=ft("message");return N(),et("div",rE,[nt(o,{content:n.text,rtl:"false",type:"sync"},null,8,["content"])])}const oE=It(sE,[["render",iE]]);function aE(n,t){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const e=document.implementation.createHTMLDocument(),s=e.createElement("base"),r=e.createElement("a");return e.head.appendChild(s),e.body.appendChild(r),t&&(s.href=t),r.href=n,r.href}const lE=(()=>{let n=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${t()}${n}`)})();function Xn(n){const t=[];for(let e=0,s=n.length;e<s;e++)t.push(n[e]);return t}function Qo(n,t){const s=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function cE(n){const t=Qo(n,"border-left-width"),e=Qo(n,"border-right-width");return n.clientWidth+t+e}function uE(n){const t=Qo(n,"border-top-width"),e=Qo(n,"border-bottom-width");return n.clientHeight+t+e}function Vf(n,t={}){const e=t.width||cE(n),s=t.height||uE(n);return{width:e,height:s}}function hE(){let n,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(n=parseInt(e,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const $e=16384;function fE(n){(n.width>$e||n.height>$e)&&(n.width>$e&&n.height>$e?n.width>n.height?(n.height*=$e/n.width,n.width=$e):(n.width*=$e/n.height,n.height=$e):n.width>$e?(n.height*=$e/n.width,n.width=$e):(n.width*=$e/n.height,n.height=$e))}function dE(n,t={}){return n.toBlob?new Promise(e=>{n.toBlob(e,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(e=>{const s=window.atob(n.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),r=s.length,i=new Uint8Array(r);for(let o=0;o<r;o+=1)i[o]=s.charCodeAt(o);e(new Blob([i],{type:t.type?t.type:"image/png"}))})}function Jo(n){return new Promise((t,e)=>{const s=new Image;s.decode=()=>t(s),s.onload=()=>t(s),s.onerror=e,s.crossOrigin="anonymous",s.decoding="async",s.src=n})}async function pE(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function gE(n,t,e){const s="http://www.w3.org/2000/svg",r=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${e}`),r.setAttribute("viewBox",`0 0 ${t} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(n),pE(r)}function mE(n){const t=n.getPropertyValue("content");return`${n.cssText} content: '${t.replace(/'|"/g,"")}';`}function xE(n){return Xn(n).map(t=>{const e=n.getPropertyValue(t),s=n.getPropertyPriority(t);return`${t}: ${e}${s?" !important":""};`}).join(" ")}function LE(n,t,e){const s=`.${n}:${t}`,r=e.cssText?mE(e):xE(e);return document.createTextNode(`${s}{${r}}`)}function Gf(n,t,e){const s=window.getComputedStyle(n,e),r=s.getPropertyValue("content");if(r===""||r==="none")return;const i=lE();try{t.className=`${t.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(LE(i,e,s)),t.appendChild(o)}function _E(n,t){Gf(n,t,":before"),Gf(n,t,":after")}const jf="application/font-woff",zf="image/jpeg",yE={woff:jf,woff2:jf,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:zf,jpeg:zf,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function CE(n){const t=/\.([^./]*?)$/g.exec(n);return t?t[1]:""}function fc(n){const t=CE(n).toLowerCase();return yE[t]||""}function EE(n){return n.split(/,/)[1]}function dc(n){return n.search(/^(data:)/)!==-1}function Wf(n,t){return`data:${t};base64,${n}`}async function Zf(n,t,e){const s=await fetch(n,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const r=await s.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(e({res:s,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(r)})}const pc={};function bE(n,t,e){let s=n.replace(/\?.*/,"");return e&&(s=n),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function gc(n,t,e){const s=bE(n,t,e.includeQueryParams);if(pc[s]!=null)return pc[s];e.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let r;try{const i=await Zf(n,e.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),EE(a)));r=Wf(i,t)}catch(i){r=e.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return pc[s]=r,r}async function TE(n){const t=n.toDataURL();return t==="data:,"?n.cloneNode(!1):Jo(t)}async function wE(n,t){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return Jo(a)}const e=n.poster,s=fc(e),r=await gc(e,s,t);return Jo(r)}async function vE(n){var t;try{if(!((t=n==null?void 0:n.contentDocument)===null||t===void 0)&&t.body)return await t1(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function AE(n,t){return n instanceof HTMLCanvasElement?TE(n):n instanceof HTMLVideoElement?wE(n,t):n instanceof HTMLIFrameElement?vE(n):n.cloneNode(!1)}const SE=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function RE(n,t,e){var s;const r=SE(n)&&n.assignedNodes?Xn(n.assignedNodes()):Xn(((s=n.shadowRoot)!==null&&s!==void 0?s:n).childNodes);return r.length===0||n instanceof HTMLVideoElement||await r.reduce((i,o)=>i.then(()=>t1(o,e)).then(a=>{a&&t.appendChild(a)}),Promise.resolve()),t}function kE(n,t){const e=t.style;if(!e)return;const s=window.getComputedStyle(n);s.cssText?(e.cssText=s.cssText,e.transformOrigin=s.transformOrigin):Xn(s).forEach(r=>{let i=s.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),e.setProperty(r,i,s.getPropertyPriority(r))})}function IE(n,t){n instanceof HTMLTextAreaElement&&(t.innerHTML=n.value),n instanceof HTMLInputElement&&t.setAttribute("value",n.value)}function OE(n,t){if(n instanceof HTMLSelectElement){const e=t,s=Array.from(e.children).find(r=>n.value===r.getAttribute("value"));s&&s.setAttribute("selected","")}}function NE(n,t){return t instanceof Element&&(kE(n,t),_E(n,t),IE(n,t),OE(n,t)),t}async function PE(n,t){const e=n.querySelectorAll?n.querySelectorAll("use"):[];if(e.length===0)return n;const s={};for(let i=0;i<e.length;i++){const a=e[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!s[a]&&(s[a]=await t1(c,t,!0))}}const r=Object.values(s);if(r.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<r.length;l++)a.appendChild(r[l]);n.appendChild(o)}return n}async function t1(n,t,e){return!e&&t.filter&&!t.filter(n)?null:Promise.resolve(n).then(s=>AE(s,t)).then(s=>RE(n,s,t)).then(s=>NE(n,s)).then(s=>PE(s,t))}const qf=/url\((['"]?)([^'"]+?)\1\)/g,ME=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,FE=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function DE(n){const t=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function BE(n){const t=[];return n.replace(qf,(e,s,r)=>(t.push(r),e)),t.filter(e=>!dc(e))}async function $E(n,t,e,s,r){try{const i=e?aE(t,e):t,o=fc(t);let a;if(r){const l=await r(i);a=Wf(l,o)}else a=await gc(i,o,s);return n.replace(DE(t),`$1${a}$3`)}catch{}return n}function UE(n,{preferredFontFormat:t}){return t?n.replace(FE,e=>{for(;;){const[s,,r]=ME.exec(e)||[];if(!r)return"";if(r===t)return`src: ${s};`}}):n}function Kf(n){return n.search(qf)!==-1}async function Yf(n,t,e){if(!Kf(n))return n;const s=UE(n,e);return BE(s).reduce((i,o)=>i.then(a=>$E(a,o,t,e)),Promise.resolve(s))}async function HE(n,t){var e;const s=(e=n.style)===null||e===void 0?void 0:e.getPropertyValue("background");if(s){const r=await Yf(s,null,t);n.style.setProperty("background",r,n.style.getPropertyPriority("background"))}}async function VE(n,t){if(!(n instanceof HTMLImageElement&&!dc(n.src))&&!(n instanceof SVGImageElement&&!dc(n.href.baseVal)))return;const e=n instanceof HTMLImageElement?n.src:n.href.baseVal,s=await gc(e,fc(e),t);await new Promise((r,i)=>{n.onload=r,n.onerror=i;const o=n;o.decode&&(o.decode=r),n instanceof HTMLImageElement?(n.srcset="",n.src=s):n.href.baseVal=s})}async function GE(n,t){const s=Xn(n.childNodes).map(r=>Xf(r,t));await Promise.all(s).then(()=>n)}async function Xf(n,t){n instanceof Element&&(await HE(n,t),await VE(n,t),await GE(n,t))}function jE(n,t){const{style:e}=n;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(r=>{e[r]=s[r]}),n}const Qf={};async function Jf(n){let t=Qf[n];if(t!=null)return t;const s=await(await fetch(n)).text();return t={url:n,cssText:s},Qf[n]=t,t}async function td(n,t){let e=n.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(s,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),Zf(a,t.fetchRequestInit,({result:l})=>(e=e.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>e)}function ed(n){if(n==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let s=n.replace(e,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=r.exec(s);if(l===null)break;t.push(l[0])}s=s.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(s);if(l===null){if(l=a.exec(s),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(l[0])}return t}async function zE(n,t){const e=[],s=[];return n.forEach(r=>{if("cssRules"in r)try{Xn(r.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Jf(l).then(u=>td(u,t)).then(u=>ed(u).forEach(f=>{try{r.insertRule(f,f.startsWith("@import")?a+=1:r.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});s.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];r.href!=null&&s.push(Jf(r.href).then(a=>td(a,t)).then(a=>ed(a).forEach(l=>{o.insertRule(l,r.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(s).then(()=>(n.forEach(r=>{if("cssRules"in r)try{Xn(r.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i.toString())}}),e))}function WE(n){return n.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Kf(t.style.getPropertyValue("src")))}async function ZE(n,t){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=Xn(n.ownerDocument.styleSheets),s=await zE(e,t);return WE(s)}async function qE(n,t){const e=await ZE(n,t);return(await Promise.all(e.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Yf(r.cssText,i,t)}))).join(`
|
|
497
|
+
`)}async function KE(n,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await qE(n,t);if(e){const s=document.createElement("style"),r=document.createTextNode(e);s.appendChild(r),n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s)}}async function nd(n,t={}){const{width:e,height:s}=Vf(n,t),r=await t1(n,t,!0);return await KE(r,t),await Xf(r,t),jE(r,t),await gE(r,e,s)}async function mc(n,t={}){const{width:e,height:s}=Vf(n,t),r=await nd(n,t),i=await Jo(r),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||hE(),c=t.canvasWidth||e,u=t.canvasHeight||s;return o.width=c*l,o.height=u*l,t.skipAutoScale||fE(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function YE(n,t={}){return(await mc(n,t)).toDataURL()}async function XE(n,t={}){return(await mc(n,t)).toDataURL("image/jpeg",t.quality||1)}async function QE(n,t={}){const e=await mc(n,t);return await dE(e)}const JE="process.env.VUE_APP_GIT_HASH",tb="process.env.VUE_APP_GIT_BRANCH",eb={name:"Debug",data(){return{commitHash:JE,gitBranch:tb}},computed:{debug(){return!!localStorage.zenumlDebug}}},nb={class:"flex flex-nowrap m-2 text-sm"},sb={class:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},rb=Ur('<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path></svg>',1),ib={class:"inline-block px-2"};function ob(n,t,e,s,r,i){return Zi((N(),et("div",null,[A("div",nb,[A("div",sb,[rb,A("span",ib,Yt(r.gitBranch)+":"+Yt(r.commitHash),1)])])],512)),[[jr,i.debug]])}const ab=It(eb,[["render",ob]]),lb={name:"DiagramFrame",computed:{...Aa(["showTips","scale","theme"]),...Pe(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},mounted(){this.$el.__vue__=this},methods:{...Sa(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}},toPng(){return YE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toSvg(){return nd(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toBlob(){return QE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toJpeg(){return XE(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},zoomIn(){const n=Math.min(1,this.scale+.1);this.setScale(n)},zoomOut(){this.setScale(this.scale-.1)},setTheme(n){this.theme=n},setStyle(n){const t="zenuml-style";let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.append(e)),e.textContent=n},setRemoteCss(n){const t=new URL(n).hostname;if(t==="https://github.com"||t==="https://githubusercontent.com"){fetch(n.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(r=>r.text()).then(r=>{this.setStyle(r)});return}const e="zenuml-remote-css";let s=document.getElementById(e);s||(s=document.createElement("link"),s.id=e,s.rel="stylesheet",document.head.append(s)),s.href=n}},components:{Debug:ab,WidthProvider:oE,TipsDialog:qC,DiagramTitle:Ay,SeqDiagram:hc,Privacy:by}},cb={class:"frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded"},ub={ref:"content"},hb={class:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},fb={class:"left hide-export"},db={class:"right flex-grow flex justify-between"},pb={key:0,class:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},gb={class:"footer p-1 flex justify-between"},mb={class:"filter grayscale",style:{width:"1em",height:"1em","vertical-align":"middle",fill:"currentColor",overflow:"hidden"},viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},xb=[A("path",{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"},null,-1),A("path",{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"},null,-1),A("path",{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"},null,-1)],Lb={class:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export"},_b=A("a",{target:"_blank",href:"https://zenuml.com",class:"brand text-skin-link absolute bottom-1 right-1 text-xs"},"ZenUML.com",-1);function yb(n,t,e,s,r,i){const o=ft("debug"),a=ft("diagram-title"),l=ft("privacy"),c=ft("TipsDialog"),u=ft("seq-diagram"),f=ft("width-provider");return N(),et("div",{ref:"export",class:Ft(["zenuml p-1 bg-skin-canvas",n.theme]),style:{display:"inline-block"}},[nt(o),A("div",cb,[A("div",ub,[A("div",hb,[A("div",fb,[j1(n.$slots,"default")]),A("div",db,[nt(a,{context:i.title},null,8,["context"]),nt(l,{class:"hide-export flex items-center"})])]),A("div",null,[n.showTips?(N(),et("div",pb,[nt(c)])):At("",!0)]),nt(u,{ref:"diagram",style:_t({transform:`scale(${n.scale})`}),class:"origin-top-left"},null,8,["style"])],512),A("div",gb,[A("button",{class:"bottom-1 left-1 hide-export",onClick:t[0]||(t[0]=d=>i.showTipsDialog())},[(N(),et("svg",mb,xb))]),A("div",Lb,[A("button",{class:"zoom-in px-1",onClick:t[1]||(t[1]=d=>i.zoomIn())},"+"),A("label",null,Yt(Number(n.scale*100).toFixed(0))+" %",1),A("button",{class:"zoom-out px-1",onClick:t[2]||(t[2]=d=>i.zoomOut())},"-")]),nt(f),_b])])],2)}const sd=It(lb,[["render",yb]]),lS="",cS="",uS="",hS="",fS="",dS="",pS="";function rd(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let hr=rd();function Cb(n){hr=n}const Eb=/[&<>"']/,bb=/[&<>"']/g,Tb=/[<>"']|&(?!#?\w+;)/,wb=/[<>"']|&(?!#?\w+;)/g,vb={"&":"&","<":"<",">":">",'"':""","'":"'"},id=n=>vb[n];function ne(n,t){if(t){if(Eb.test(n))return n.replace(bb,id)}else if(Tb.test(n))return n.replace(wb,id);return n}const Ab=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function od(n){return n.replace(Ab,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const Sb=/(^|[^\[])\^/g;function $t(n,t){n=n.source||n,t=t||"";const e={replace:(s,r)=>(r=r.source||r,r=r.replace(Sb,"$1"),n=n.replace(s,r),e),getRegex:()=>new RegExp(n,t)};return e}const Rb=/[^\w:]/g,kb=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ad(n,t,e){if(n){let s;try{s=decodeURIComponent(od(e)).replace(Rb,"").toLowerCase()}catch{return null}if(s.indexOf("javascript:")===0||s.indexOf("vbscript:")===0||s.indexOf("data:")===0)return null}t&&!kb.test(e)&&(e=Pb(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const e1={},Ib=/^[^:]+:\/*[^/]*$/,Ob=/^([^:]+:)[\s\S]*$/,Nb=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Pb(n,t){e1[" "+n]||(Ib.test(n)?e1[" "+n]=n+"/":e1[" "+n]=s1(n,"/",!0)),n=e1[" "+n];const e=n.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:n.replace(Ob,"$1")+t:t.charAt(0)==="/"?e?t:n.replace(Nb,"$1")+t:n+t}const n1={exec:function(){}};function Je(n){let t=1,e,s;for(;t<arguments.length;t++){e=arguments[t];for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=e[s])}return n}function ld(n,t){const e=n.replace(/\|/g,(i,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),s=e.split(/ \|/);let r=0;if(s[0].trim()||s.shift(),s[s.length-1].trim()||s.pop(),s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(/\\\|/g,"|");return s}function s1(n,t,e){const s=n.length;if(s===0)return"";let r=0;for(;r<s;){const i=n.charAt(s-r-1);if(i===t&&!e)r++;else if(i!==t&&e)r++;else break}return n.substr(0,s-r)}function Mb(n,t){if(n.indexOf(t[1])===-1)return-1;const e=n.length;let s=0,r=0;for(;r<e;r++)if(n[r]==="\\")r++;else if(n[r]===t[0])s++;else if(n[r]===t[1]&&(s--,s<0))return r;return-1}function cd(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function ud(n,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=n),t>>=1,n+=n;return e+n}function hd(n,t,e,s){const r=t.href,i=t.title?ne(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){s.state.inLink=!0;const a={type:"link",raw:e,href:r,title:i,text:o,tokens:s.inlineTokens(o,[])};return s.state.inLink=!1,a}else return{type:"image",raw:e,href:r,title:i,text:ne(o)}}function Fb(n,t){const e=n.match(/^(\s+)(?:```)/);if(e===null)return t;const s=e[1];return t.split(`
|
|
498
498
|
`).map(r=>{const i=r.match(/^\s+/);if(i===null)return r;const[o]=i;return o.length>=s.length?r.slice(s.length):r}).join(`
|
|
499
499
|
`)}class xc{constructor(t){this.options=t||hr}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const s=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:s1(s,`
|
|
500
|
-
`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const s=e[0],r=
|
|
500
|
+
`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const s=e[0],r=Fb(s,e[3]||"");return{type:"code",raw:s,lang:e[2]?e[2].trim():e[2],text:r}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let s=e[2].trim();if(/#$/.test(s)){const i=s1(s,"#");(this.options.pedantic||!i||/ $/.test(i))&&(s=i.trim())}const r={type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const s=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],tokens:this.lexer.blockTokens(s,[]),text:s}}}list(t){let e=this.rules.block.list.exec(t);if(e){let s,r,i,o,a,l,c,u,f,d,p,E,v=e[1].trim();const W=v.length>1,y={type:"list",raw:"",ordered:W,start:W?+v.slice(0,-1):"",loose:!1,items:[]};v=W?`\\d{1,9}\\${v.slice(-1)}`:`\\${v}`,this.options.pedantic&&(v=W?v:"[*+-]");const m=new RegExp(`^( {0,3}${v})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(E=!1,!(!(e=m.exec(t))||this.rules.block.hr.test(t)));){if(s=e[0],t=t.substring(s.length),u=e[2].split(`
|
|
501
501
|
`,1)[0],f=t.split(`
|
|
502
502
|
`,1)[0],this.options.pedantic?(o=2,p=u.trimLeft()):(o=e[2].search(/[^ ]/),o=o>4?1:o,p=u.slice(o),o+=e[1].length),l=!1,!u&&/^ *$/.test(f)&&(s+=f+`
|
|
503
503
|
`,t=t.substring(f.length+1),E=!0),!E){const T=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;t&&(d=t.split(`
|
|
@@ -507,8 +507,8 @@ A.method() {
|
|
|
507
507
|
`,t=t.substring(d.length+1)}}y.loose||(c?y.loose=!0:/\n *\n *$/.test(s)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(i=r[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,""))),y.items.push({type:"list_item",raw:s,task:!!r,checked:i,loose:!1,text:p}),y.raw+=s}y.items[y.items.length-1].raw=s.trimRight(),y.items[y.items.length-1].text=p.trimRight(),y.raw=y.raw.trimRight();const C=y.items.length;for(a=0;a<C;a++){this.lexer.state.top=!1,y.items[a].tokens=this.lexer.blockTokens(y.items[a].text,[]);const T=y.items[a].tokens.filter(G=>G.type==="space"),F=T.every(G=>{const z=G.raw.split("");let R=0;for(const ot of z)if(ot===`
|
|
508
508
|
`&&(R+=1),R>1)return!0;return!1});!y.loose&&T.length&&F&&(y.loose=!0,y.items[a].loose=!0)}return y}}html(t){const e=this.rules.block.html.exec(t);if(e){const s={type:"html",raw:e[0],pre:!this.options.sanitizer&&(e[1]==="pre"||e[1]==="script"||e[1]==="style"),text:e[0]};return this.options.sanitize&&(s.type="paragraph",s.text=this.options.sanitizer?this.options.sanitizer(e[0]):ne(e[0]),s.tokens=[],this.lexer.inline(s.text,s.tokens)),s}}def(t){const e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{type:"def",tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}}table(t){const e=this.rules.block.table.exec(t);if(e){const s={type:"table",header:ld(e[1]).map(r=>({text:r})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]?e[3].replace(/\n[ \t]*$/,"").split(`
|
|
509
509
|
`):[]};if(s.header.length===s.align.length){s.raw=e[0];let r=s.align.length,i,o,a,l;for(i=0;i<r;i++)/^ *-+: *$/.test(s.align[i])?s.align[i]="right":/^ *:-+: *$/.test(s.align[i])?s.align[i]="center":/^ *:-+ *$/.test(s.align[i])?s.align[i]="left":s.align[i]=null;for(r=s.rows.length,i=0;i<r;i++)s.rows[i]=ld(s.rows[i],s.header.length).map(c=>({text:c}));for(r=s.header.length,o=0;o<r;o++)s.header[o].tokens=[],this.lexer.inlineTokens(s.header[o].text,s.header[o].tokens);for(r=s.rows.length,o=0;o<r;o++)for(l=s.rows[o],a=0;a<l.length;a++)l[a].tokens=[],this.lexer.inlineTokens(l[a].text,l[a].tokens);return s}}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e){const s={type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const s={type:"paragraph",raw:e[0],text:e[1].charAt(e[1].length-1)===`
|
|
510
|
-
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}text(t){const e=this.rules.block.text.exec(t);if(e){const s={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:ne(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):ne(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const s=e[2].trim();if(!this.options.pedantic&&/^</.test(s)){if(!/>$/.test(s))return;const o=s1(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=
|
|
511
|
-
]`).replace("lheading",ct.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:n1,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:n1,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",X.punctuation=$t(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex(),X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,X.escapedEmSt=/\\\*|\\_/g,X._comment=$t(ct._comment).replace("(?:-->|$)","-->").getRegex(),X.emStrong.lDelim=$t(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimAst=$t(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimUnd=$t(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex(),X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,X._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])?)+(?![-_])/,X.autolink=$t(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex(),X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,X.tag=$t(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex(),X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,X.link=$t(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex(),X.reflink=$t(X.reflink).replace("label",X._label).replace("ref",ct._label).getRegex(),X.nolink=$t(X.nolink).replace("ref",ct._label).getRegex(),X.reflinkSearch=$t(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex(),X.normal=Je({},X),X.pedantic=Je({},X.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:$t(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:$t(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()}),X.gfm=Je({},X.normal,{escape:$t(X.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),X.gfm.url=$t(X.gfm.url,"i").replace("email",X.gfm._extended_email).getRegex(),X.breaks=Je({},X.gfm,{br:$t(X.br).replace("{2,}","*").getRegex(),text:$t(X.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function
|
|
510
|
+
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}text(t){const e=this.rules.block.text.exec(t);if(e){const s={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:ne(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):ne(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const s=e[2].trim();if(!this.options.pedantic&&/^</.test(s)){if(!/>$/.test(s))return;const o=s1(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=Mb(e[2],"()");if(o>-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o&&(r=o[1],i=o[3])}else i=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(this.options.pedantic&&!/>$/.test(s)?r=r.slice(1):r=r.slice(1,-1)),hd(e,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){let r=(s[2]||s[1]).replace(/\s+/g," ");if(r=e[r.toLowerCase()],!r||!r.href){const i=s[0].charAt(0);return{type:"text",raw:i,text:i}}return hd(s,r,s[0],this.lexer)}}emStrong(t,e,s=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&s.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(s===""||this.rules.inline.punctuation.exec(s))){const o=r[0].length-1;let a,l,c=o,u=0;const f=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,e=e.slice(-1*t.length+o);(r=f.exec(e))!=null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=a.length,r[3]||r[4]){c+=l;continue}else if((r[5]||r[6])&&o%3&&!((o+l)%3)){u+=l;continue}if(c-=l,c>0)continue;if(l=Math.min(l,l+c+u),Math.min(o,l)%2){const p=t.slice(1,o+r.index+l);return{type:"em",raw:t.slice(0,o+r.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}const d=t.slice(2,o+r.index+l-1);return{type:"strong",raw:t.slice(0,o+r.index+l+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let s=e[2].replace(/\n/g," ");const r=/[^ ]/.test(s),i=/^ /.test(s)&&/ $/.test(s);return r&&i&&(s=s.substring(1,s.length-1)),s=ne(s,!0),{type:"codespan",raw:e[0],text:s}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2],[])}}autolink(t,e){const s=this.rules.inline.autolink.exec(t);if(s){let r,i;return s[2]==="@"?(r=ne(this.options.mangle?e(s[1]):s[1]),i="mailto:"+r):(r=ne(s[1]),i=r),{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t,e){let s;if(s=this.rules.inline.url.exec(t)){let r,i;if(s[2]==="@")r=ne(this.options.mangle?e(s[0]):s[0]),i="mailto:"+r;else{let o;do o=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0];while(o!==s[0]);r=ne(s[0]),s[1]==="www."?i="http://"+r:i=r}return{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,e){const s=this.rules.inline.text.exec(t);if(s){let r;return this.lexer.state.inRawBlock?r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):ne(s[0]):s[0]:r=ne(this.options.smartypants?e(s[0]):s[0]),{type:"text",raw:s[0],text:r}}}}const ct={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:n1,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};ct._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ct._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ct.def=$t(ct.def).replace("label",ct._label).replace("title",ct._title).getRegex(),ct.bullet=/(?:[*+-]|\d{1,9}[.)])/,ct.listItemStart=$t(/^( *)(bull) */).replace("bull",ct.bullet).getRegex(),ct.list=$t(ct.list).replace(/bull/g,ct.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ct.def.source+")").getRegex(),ct._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",ct._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ct.html=$t(ct.html,"i").replace("comment",ct._comment).replace("tag",ct._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ct.paragraph=$t(ct._paragraph).replace("hr",ct.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ct._tag).getRegex(),ct.blockquote=$t(ct.blockquote).replace("paragraph",ct.paragraph).getRegex(),ct.normal=Je({},ct),ct.gfm=Je({},ct.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ct.gfm.table=$t(ct.gfm.table).replace("hr",ct.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",ct._tag).getRegex(),ct.gfm.paragraph=$t(ct._paragraph).replace("hr",ct.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",ct.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ct._tag).getRegex(),ct.pedantic=Je({},ct.normal,{html:$t(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ct._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:n1,paragraph:$t(ct.normal._paragraph).replace("hr",ct.hr).replace("heading",` *#{1,6} *[^
|
|
511
|
+
]`).replace("lheading",ct.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:n1,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:n1,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",X.punctuation=$t(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex(),X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,X.escapedEmSt=/\\\*|\\_/g,X._comment=$t(ct._comment).replace("(?:-->|$)","-->").getRegex(),X.emStrong.lDelim=$t(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimAst=$t(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimUnd=$t(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex(),X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,X._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])?)+(?![-_])/,X.autolink=$t(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex(),X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,X.tag=$t(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex(),X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,X.link=$t(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex(),X.reflink=$t(X.reflink).replace("label",X._label).replace("ref",ct._label).getRegex(),X.nolink=$t(X.nolink).replace("ref",ct._label).getRegex(),X.reflinkSearch=$t(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex(),X.normal=Je({},X),X.pedantic=Je({},X.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:$t(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:$t(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()}),X.gfm=Je({},X.normal,{escape:$t(X.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),X.gfm.url=$t(X.gfm.url,"i").replace("email",X.gfm._extended_email).getRegex(),X.breaks=Je({},X.gfm,{br:$t(X.br).replace("{2,}","*").getRegex(),text:$t(X.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function Db(n){return n.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function fd(n){let t="",e,s;const r=n.length;for(e=0;e<r;e++)s=n.charCodeAt(e),Math.random()>.5&&(s="x"+s.toString(16)),t+="&#"+s+";";return t}class On{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||hr,this.options.tokenizer=this.options.tokenizer||new xc,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const e={block:ct.normal,inline:X.normal};this.options.pedantic?(e.block=ct.pedantic,e.inline=X.pedantic):this.options.gfm&&(e.block=ct.gfm,this.options.breaks?e.inline=X.breaks:e.inline=X.gfm),this.tokenizer.rules=e}static get rules(){return{block:ct,inline:X}}static lex(t,e){return new On(e).lex(t)}static lexInline(t,e){return new On(e).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
512
512
|
`).replace(/\t/g," "),this.blockTokens(t,this.tokens);let e;for(;e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens}blockTokens(t,e=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let s,r,i,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(s=a.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))){if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length),s.raw.length===1&&e.length>0?e[e.length-1].raw+=`
|
|
513
513
|
`:e.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=`
|
|
514
514
|
`+s.raw,r.text+=`
|
|
@@ -518,7 +518,7 @@ A.method() {
|
|
|
518
518
|
`+s.raw,r.text+=`
|
|
519
519
|
`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s),o=i.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&r.type==="text"?(r.raw+=`
|
|
520
520
|
`+s.raw,r.text+=`
|
|
521
|
-
`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(t,e){this.inlineQueue.push({src:t,tokens:e})}inlineTokens(t,e=[]){let s,r,i,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+ud("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+ud("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))){if(s=this.tokenizer.escape(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.tag(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.link(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.emStrong(t,o,c)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.codespan(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.br(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.del(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.autolink(t,fd)){t=t.substring(s.raw.length),e.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(t,fd))){t=t.substring(s.raw.length),e.push(s);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(function(p){d=p.call({lexer:this},f),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(s=this.tokenizer.inlineText(i,
|
|
521
|
+
`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(t,e){this.inlineQueue.push({src:t,tokens:e})}inlineTokens(t,e=[]){let s,r,i,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+ud("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+ud("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))){if(s=this.tokenizer.escape(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.tag(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.link(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.emStrong(t,o,c)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.codespan(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.br(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.del(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.autolink(t,fd)){t=t.substring(s.raw.length),e.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(t,fd))){t=t.substring(s.raw.length),e.push(s);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(function(p){d=p.call({lexer:this},f),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(s=this.tokenizer.inlineText(i,Db)){t=t.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(c=s.raw.slice(-1)),l=!0,r=e[e.length-1],r&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return e}}class Lc{constructor(t){this.options=t||hr}code(t,e,s){const r=(e||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(t,r);i!=null&&i!==t&&(s=!0,t=i)}return t=t.replace(/\n$/,"")+`
|
|
522
522
|
`,r?'<pre><code class="'+this.options.langPrefix+ne(r,!0)+'">'+(s?t:ne(t,!0))+`</code></pre>
|
|
523
523
|
`:"<pre><code>"+(s?t:ne(t,!0))+`</code></pre>
|
|
524
524
|
`}blockquote(t){return`<blockquote>
|
|
@@ -540,16 +540,16 @@ A.method() {
|
|
|
540
540
|
`}tablecell(t,e){const s=e.header?"th":"td";return(e.align?"<"+s+' align="'+e.align+'">':"<"+s+">")+t+"</"+s+`>
|
|
541
541
|
`}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,e,s){if(t=ad(this.options.sanitize,this.options.baseUrl,t),t===null)return s;let r='<a href="'+ne(t)+'"';return e&&(r+=' title="'+e+'"'),r+=">"+s+"</a>",r}image(t,e,s){if(t=ad(this.options.sanitize,this.options.baseUrl,t),t===null)return s;let r='<img src="'+t+'" alt="'+s+'"';return e&&(r+=' title="'+e+'"'),r+=this.options.xhtml?"/>":">",r}text(t){return t}}class dd{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,s){return""+s}image(t,e,s){return""+s}br(){return""}}class pd{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let s=t,r=0;if(this.seen.hasOwnProperty(s)){r=this.seen[t];do r++,s=t+"-"+r;while(this.seen.hasOwnProperty(s))}return e||(this.seen[t]=r,this.seen[s]=0),s}slug(t,e={}){const s=this.serialize(t);return this.getNextSafeSlug(s,e.dryrun)}}class Nn{constructor(t){this.options=t||hr,this.options.renderer=this.options.renderer||new Lc,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new dd,this.slugger=new pd}static parse(t,e){return new Nn(e).parse(t)}static parseInline(t,e){return new Nn(e).parseInline(t)}parse(t,e=!0){let s="",r,i,o,a,l,c,u,f,d,p,E,v,W,y,m,C,T,F,G;const z=t.length;for(r=0;r<z;r++){if(p=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(G=this.options.extensions.renderers[p.type].call({parser:this},p),G!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type))){s+=G||"";continue}switch(p.type){case"space":continue;case"hr":{s+=this.renderer.hr();continue}case"heading":{s+=this.renderer.heading(this.parseInline(p.tokens),p.depth,od(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue}case"code":{s+=this.renderer.code(p.text,p.lang,p.escaped);continue}case"table":{for(f="",u="",a=p.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(p.header[i].tokens),{header:!0,align:p.align[i]});for(f+=this.renderer.tablerow(u),d="",a=p.rows.length,i=0;i<a;i++){for(c=p.rows[i],u="",l=c.length,o=0;o<l;o++)u+=this.renderer.tablecell(this.parseInline(c[o].tokens),{header:!1,align:p.align[o]});d+=this.renderer.tablerow(u)}s+=this.renderer.table(f,d);continue}case"blockquote":{d=this.parse(p.tokens),s+=this.renderer.blockquote(d);continue}case"list":{for(E=p.ordered,v=p.start,W=p.loose,a=p.items.length,d="",i=0;i<a;i++)m=p.items[i],C=m.checked,T=m.task,y="",m.task&&(F=this.renderer.checkbox(C),W?m.tokens.length>0&&m.tokens[0].type==="paragraph"?(m.tokens[0].text=F+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&m.tokens[0].tokens[0].type==="text"&&(m.tokens[0].tokens[0].text=F+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:F}):y+=F),y+=this.parse(m.tokens,W),d+=this.renderer.listitem(y,T,C);s+=this.renderer.list(d,E,v);continue}case"html":{s+=this.renderer.html(p.text);continue}case"paragraph":{s+=this.renderer.paragraph(this.parseInline(p.tokens));continue}case"text":{for(d=p.tokens?this.parseInline(p.tokens):p.text;r+1<z&&t[r+1].type==="text";)p=t[++r],d+=`
|
|
542
542
|
`+(p.tokens?this.parseInline(p.tokens):p.text);s+=e?this.renderer.paragraph(d):d;continue}default:{const R='Token with "'+p.type+'" type was not found.';if(this.options.silent){console.error(R);return}else throw new Error(R)}}}return s}parseInline(t,e){e=e||this.renderer;let s="",r,i,o;const a=t.length;for(r=0;r<a;r++){if(i=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(o=this.options.extensions.renderers[i.type].call({parser:this},i),o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){s+=o||"";continue}switch(i.type){case"escape":{s+=e.text(i.text);break}case"html":{s+=e.html(i.text);break}case"link":{s+=e.link(i.href,i.title,this.parseInline(i.tokens,e));break}case"image":{s+=e.image(i.href,i.title,i.text);break}case"strong":{s+=e.strong(this.parseInline(i.tokens,e));break}case"em":{s+=e.em(this.parseInline(i.tokens,e));break}case"codespan":{s+=e.codespan(i.text);break}case"br":{s+=e.br();break}case"del":{s+=e.del(this.parseInline(i.tokens,e));break}case"text":{s+=e.text(i.text);break}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(l);return}else throw new Error(l)}}}return s}}function ht(n,t,e){if(typeof n>"u"||n===null)throw new Error("marked(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");if(typeof t=="function"&&(e=t,t=null),t=Je({},ht.defaults,t||{}),cd(t),e){const s=t.highlight;let r;try{r=On.lex(n,t)}catch(a){return e(a)}const i=function(a){let l;if(!a)try{t.walkTokens&&ht.walkTokens(r,t.walkTokens),l=Nn.parse(r,t)}catch(c){a=c}return t.highlight=s,a?e(a):e(null,l)};if(!s||s.length<3||(delete t.highlight,!r.length))return i();let o=0;ht.walkTokens(r,function(a){a.type==="code"&&(o++,setTimeout(()=>{s(a.text,a.lang,function(l,c){if(l)return i(l);c!=null&&c!==a.text&&(a.text=c,a.escaped=!0),o--,o===0&&i()})},0))}),o===0&&i();return}try{const s=On.lex(n,t);return t.walkTokens&&ht.walkTokens(s,t.walkTokens),Nn.parse(s,t)}catch(s){if(s.message+=`
|
|
543
|
-
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ne(s.message+"",!0)+"</pre>";throw s}}ht.options=ht.setOptions=function(n){return Je(ht.defaults,n),
|
|
544
|
-
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ne(e.message+"",!0)+"</pre>";throw e}},ht.Parser=Nn,ht.parser=Nn.parse,ht.Renderer=Lc,ht.TextRenderer=dd,ht.Lexer=On,ht.lexer=On.lex,ht.Tokenizer=xc,ht.Slugger=pd,ht.parse=ht,ht.options,ht.setOptions,ht.use,ht.walkTokens,ht.parseInline,Nn.parse,On.lex;function _c(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];typeof e=="object"&&!Object.isFrozen(e)&&_c(e)}),n}var gd=_c,Fb=_c;gd.default=Fb;class md{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function fr(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Qn(n,...t){const e=Object.create(null);for(const s in n)e[s]=n[s];return t.forEach(function(s){for(const r in s)e[r]=s[r]}),e}const Db="</span>",xd=n=>!!n.kind;class Bb{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=fr(t)}openNode(t){if(!xd(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){!xd(t)||(this.buffer+=Db)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class yc{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(s=>this._walk(t,s)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{yc._collapse(e)})))}}class $b extends yc{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 s=t.root;s.kind=e,s.sublanguage=!0,this.add(s)}toHTML(){return new Bb(this,this.options).value()}finalize(){return!0}}function Ub(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function pi(n){return n?typeof n=="string"?n:n.source:null}function Hb(...n){return n.map(e=>pi(e)).join("")}function Vb(...n){return"("+n.map(e=>pi(e)).join("|")+")"}function Gb(n){return new RegExp(n.toString()+"|").exec("").length-1}function jb(n,t){const e=n&&n.exec(t);return e&&e.index===0}const zb=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Wb(n,t="|"){let e=0;return n.map(s=>{e+=1;const r=e;let i=pi(s),o="";for(;i.length>0;){const a=zb.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&e++)}return o}).map(s=>`(${s})`).join(t)}const Zb=/\b\B/,Ld="[a-zA-Z]\\w*",Cc="[a-zA-Z_]\\w*",Ec="\\b\\d+(\\.\\d+)?",_d="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",yd="\\b(0b[01]+)",qb="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Kb=(n={})=>{const t=/^#![ ]*\//;return n.binary&&(n.begin=Hb(t,/.*\b/,n.binary,/\b.*/)),Qn({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,s)=>{e.index!==0&&s.ignoreMatch()}},n)},gi={begin:"\\\\[\\s\\S]",relevance:0},Yb={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[gi]},Xb={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[gi]},Cd={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/},r1=function(n,t,e={}){const s=Qn({className:"comment",begin:n,end:t,contains:[]},e);return s.contains.push(Cd),s.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),s},Qb=r1("//","$"),Jb=r1("/\\*","\\*/"),tT=r1("#","$"),eT={className:"number",begin:Ec,relevance:0},nT={className:"number",begin:_d,relevance:0},sT={className:"number",begin:yd,relevance:0},rT={className:"number",begin:Ec+"(%|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},iT={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[gi,{begin:/\[/,end:/\]/,relevance:0,contains:[gi]}]}]},oT={className:"title",begin:Ld,relevance:0},aT={className:"title",begin:Cc,relevance:0},lT={begin:"\\.\\s*"+Cc,relevance:0};var i1=Object.freeze({__proto__:null,MATCH_NOTHING_RE:Zb,IDENT_RE:Ld,UNDERSCORE_IDENT_RE:Cc,NUMBER_RE:Ec,C_NUMBER_RE:_d,BINARY_NUMBER_RE:yd,RE_STARTERS_RE:qb,SHEBANG:Kb,BACKSLASH_ESCAPE:gi,APOS_STRING_MODE:Yb,QUOTE_STRING_MODE:Xb,PHRASAL_WORDS_MODE:Cd,COMMENT:r1,C_LINE_COMMENT_MODE:Qb,C_BLOCK_COMMENT_MODE:Jb,HASH_COMMENT_MODE:tT,NUMBER_MODE:eT,C_NUMBER_MODE:nT,BINARY_NUMBER_MODE:sT,CSS_NUMBER_MODE:rT,REGEXP_MODE:iT,TITLE_MODE:oT,UNDERSCORE_TITLE_MODE:aT,METHOD_GUARD:lT,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})}});function cT(n,t){n.input[n.index-1]==="."&&t.ignoreMatch()}function uT(n,t){!t||!n.beginKeywords||(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=cT,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function hT(n,t){!Array.isArray(n.illegal)||(n.illegal=Vb(...n.illegal))}function fT(n,t){if(!!n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function dT(n,t){n.relevance===void 0&&(n.relevance=1)}const pT=["of","and","for","in","not","or","if","then","parent","list","value"],gT="keyword";function Ed(n,t,e=gT){const s={};return typeof n=="string"?r(e,n.split(" ")):Array.isArray(n)?r(e,n):Object.keys(n).forEach(function(i){Object.assign(s,Ed(n[i],t,i))}),s;function r(i,o){t&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");s[l[0]]=[i,mT(l[0],l[1])]})}}function mT(n,t){return t?Number(t):xT(n)?0:1}function xT(n){return pT.includes(n.toLowerCase())}function LT(n,{plugins:t}){function e(a,l){return new RegExp(pi(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=Gb(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=e(Wb(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((d,p)=>p>0&&d!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new s;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new r;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[fT].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[uT,hT,dT].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=Ed(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=e(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(a.end)),c.terminatorEnd=pi(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return _T(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=Qn(n.classNameAliases||{}),o(n)}function bd(n){return n?n.endsWithParent||bd(n.starts):!1}function _T(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(t){return Qn(n,{variants:null},t)})),n.cachedVariants?n.cachedVariants:bd(n)?Qn(n,{starts:n.starts?Qn(n.starts):null}):Object.isFrozen(n)?Qn(n):n}var yT="10.7.3";function CT(n){return Boolean(n||n==="")}function ET(n){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,fr(this.code);let s={};return this.autoDetect?(s=n.highlightAuto(this.code),this.detectedLanguage=s.language):(s=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||CT(this.autodetect)},ignoreIllegals(){return!0}},render(s){return s("pre",{},[s("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(s){s.component("highlightjs",t)}}}}const bT={"after:highlightElement":({el:n,result:t,text:e})=>{const s=Td(n);if(!s.length)return;const r=document.createElement("div");r.innerHTML=t.value,t.value=TT(s,Td(r),e)}};function bc(n){return n.nodeName.toLowerCase()}function Td(n){const t=[];return function e(s,r){for(let i=s.firstChild;i;i=i.nextSibling)i.nodeType===3?r+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),bc(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(n,0),t}function TT(n,t,e){let s=0,r="";const i=[];function o(){return!n.length||!t.length?n.length?n:t:n[0].offset!==t[0].offset?n[0].offset<t[0].offset?n:t:t[0].event==="start"?n:t}function a(u){function f(d){return" "+d.nodeName+'="'+fr(d.value)+'"'}r+="<"+bc(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){r+="</"+bc(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||t.length;){let u=o();if(r+=fr(e.substring(s,u[0].offset)),s=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===s);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return r+fr(e.substr(s))}const wd={},Tc=n=>{console.error(n)},vd=(n,...t)=>{console.log(`WARN: ${n}`,...t)},je=(n,t)=>{wd[`${n}/${t}`]||(console.log(`Deprecated as of ${n}. ${t}`),wd[`${n}/${t}`]=!0)},wc=fr,Ad=Qn,Sd=Symbol("nomatch");var wT=function(n){const t=Object.create(null),e=Object.create(null),s=[];let r=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:$b};function c(O){return l.noHighlightRe.test(O)}function u(O){let st=O.className+" ";st+=O.parentNode?O.parentNode.className:"";const Et=l.languageDetectRe.exec(st);if(Et){const bt=qt(Et[1]);return bt||(vd(o.replace("{}",Et[1])),vd("Falling back to no-highlight mode for this block.",O)),bt?Et[1]:"no-highlight"}return st.split(/\s+/).find(bt=>c(bt)||qt(bt))}function f(O,st,Et,bt){let Kt="",xn="";typeof st=="object"?(Kt=O,Et=st.ignoreIllegals,xn=st.language,bt=void 0):(je("10.7.0","highlight(lang, code, ...args) has been deprecated."),je("10.7.0",`Please use highlight(code, options) instead.
|
|
545
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),xn=O,Kt=st);const ae={code:Kt,language:xn};We("before:highlight",ae);const Se=ae.result?ae.result:d(ae.language,ae.code,Et,bt);return Se.code=ae.code,We("after:highlight",Se),Se}function d(O,st,Et,bt){function Kt(K,at){const xt=B.case_insensitive?at[0].toLowerCase():at[0];return Object.prototype.hasOwnProperty.call(K.keywords,xt)&&K.keywords[xt]}function xn(){if(!P.keywords){q.addText(Q);return}let K=0;P.keywordPatternRe.lastIndex=0;let at=P.keywordPatternRe.exec(Q),xt="";for(;at;){xt+=Q.substring(K,at.index);const wt=Kt(P,at);if(wt){const[le,se]=wt;if(q.addText(xt),xt="",gt+=se,le.startsWith("_"))xt+=at[0];else{const qe=B.classNameAliases[le]||le;q.addKeyword(at[0],qe)}}else xt+=at[0];K=P.keywordPatternRe.lastIndex,at=P.keywordPatternRe.exec(Q)}xt+=Q.substr(K),q.addText(xt)}function ae(){if(Q==="")return;let K=null;if(typeof P.subLanguage=="string"){if(!t[P.subLanguage]){q.addText(Q);return}K=d(P.subLanguage,Q,!0,tt[P.subLanguage]),tt[P.subLanguage]=K.top}else K=E(Q,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(gt+=K.relevance),q.addSublanguage(K.emitter,K.language)}function Se(){P.subLanguage!=null?ae():xn(),Q=""}function Re(K){return K.className&&q.openNode(B.classNameAliases[K.className]||K.className),P=Object.create(K,{parent:{value:P}}),P}function g(K,at,xt){let wt=
|
|
543
|
+
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ne(s.message+"",!0)+"</pre>";throw s}}ht.options=ht.setOptions=function(n){return Je(ht.defaults,n),Cb(ht.defaults),ht},ht.getDefaults=rd,ht.defaults=hr,ht.use=function(...n){const t=Je({},...n),e=ht.defaults.extensions||{renderers:{},childTokens:{}};let s;n.forEach(r=>{if(r.extensions&&(s=!0,r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const o=e.renderers?e.renderers[i.name]:null;o?e.renderers[i.name]=function(...a){let l=i.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:e.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[i.level]?e[i.level].unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}i.childTokens&&(e.childTokens[i.name]=i.childTokens)})),r.renderer){const i=ht.defaults.renderer||new Lc;for(const o in r.renderer){const a=i[o];i[o]=(...l)=>{let c=r.renderer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.renderer=i}if(r.tokenizer){const i=ht.defaults.tokenizer||new xc;for(const o in r.tokenizer){const a=i[o];i[o]=(...l)=>{let c=r.tokenizer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.tokenizer=i}if(r.walkTokens){const i=ht.defaults.walkTokens;t.walkTokens=function(o){r.walkTokens.call(this,o),i&&i.call(this,o)}}s&&(t.extensions=e),ht.setOptions(t)})},ht.walkTokens=function(n,t){for(const e of n)switch(t.call(ht,e),e.type){case"table":{for(const s of e.header)ht.walkTokens(s.tokens,t);for(const s of e.rows)for(const r of s)ht.walkTokens(r.tokens,t);break}case"list":{ht.walkTokens(e.items,t);break}default:ht.defaults.extensions&&ht.defaults.extensions.childTokens&&ht.defaults.extensions.childTokens[e.type]?ht.defaults.extensions.childTokens[e.type].forEach(function(s){ht.walkTokens(e[s],t)}):e.tokens&&ht.walkTokens(e.tokens,t)}},ht.parseInline=function(n,t){if(typeof n>"u"||n===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");t=Je({},ht.defaults,t||{}),cd(t);try{const e=On.lexInline(n,t);return t.walkTokens&&ht.walkTokens(e,t.walkTokens),Nn.parseInline(e,t)}catch(e){if(e.message+=`
|
|
544
|
+
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+ne(e.message+"",!0)+"</pre>";throw e}},ht.Parser=Nn,ht.parser=Nn.parse,ht.Renderer=Lc,ht.TextRenderer=dd,ht.Lexer=On,ht.lexer=On.lex,ht.Tokenizer=xc,ht.Slugger=pd,ht.parse=ht,ht.options,ht.setOptions,ht.use,ht.walkTokens,ht.parseInline,Nn.parse,On.lex;function _c(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];typeof e=="object"&&!Object.isFrozen(e)&&_c(e)}),n}var gd=_c,Bb=_c;gd.default=Bb;class md{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function fr(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Qn(n,...t){const e=Object.create(null);for(const s in n)e[s]=n[s];return t.forEach(function(s){for(const r in s)e[r]=s[r]}),e}const $b="</span>",xd=n=>!!n.kind;class Ub{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=fr(t)}openNode(t){if(!xd(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){!xd(t)||(this.buffer+=$b)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class yc{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(s=>this._walk(t,s)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{yc._collapse(e)})))}}class Hb extends yc{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 s=t.root;s.kind=e,s.sublanguage=!0,this.add(s)}toHTML(){return new Ub(this,this.options).value()}finalize(){return!0}}function Vb(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function pi(n){return n?typeof n=="string"?n:n.source:null}function Gb(...n){return n.map(e=>pi(e)).join("")}function jb(...n){return"("+n.map(e=>pi(e)).join("|")+")"}function zb(n){return new RegExp(n.toString()+"|").exec("").length-1}function Wb(n,t){const e=n&&n.exec(t);return e&&e.index===0}const Zb=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function qb(n,t="|"){let e=0;return n.map(s=>{e+=1;const r=e;let i=pi(s),o="";for(;i.length>0;){const a=Zb.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&e++)}return o}).map(s=>`(${s})`).join(t)}const Kb=/\b\B/,Ld="[a-zA-Z]\\w*",Cc="[a-zA-Z_]\\w*",Ec="\\b\\d+(\\.\\d+)?",_d="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",yd="\\b(0b[01]+)",Yb="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Xb=(n={})=>{const t=/^#![ ]*\//;return n.binary&&(n.begin=Gb(t,/.*\b/,n.binary,/\b.*/)),Qn({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,s)=>{e.index!==0&&s.ignoreMatch()}},n)},gi={begin:"\\\\[\\s\\S]",relevance:0},Qb={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[gi]},Jb={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[gi]},Cd={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/},r1=function(n,t,e={}){const s=Qn({className:"comment",begin:n,end:t,contains:[]},e);return s.contains.push(Cd),s.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),s},tT=r1("//","$"),eT=r1("/\\*","\\*/"),nT=r1("#","$"),sT={className:"number",begin:Ec,relevance:0},rT={className:"number",begin:_d,relevance:0},iT={className:"number",begin:yd,relevance:0},oT={className:"number",begin:Ec+"(%|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},aT={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[gi,{begin:/\[/,end:/\]/,relevance:0,contains:[gi]}]}]},lT={className:"title",begin:Ld,relevance:0},cT={className:"title",begin:Cc,relevance:0},uT={begin:"\\.\\s*"+Cc,relevance:0};var i1=Object.freeze({__proto__:null,MATCH_NOTHING_RE:Kb,IDENT_RE:Ld,UNDERSCORE_IDENT_RE:Cc,NUMBER_RE:Ec,C_NUMBER_RE:_d,BINARY_NUMBER_RE:yd,RE_STARTERS_RE:Yb,SHEBANG:Xb,BACKSLASH_ESCAPE:gi,APOS_STRING_MODE:Qb,QUOTE_STRING_MODE:Jb,PHRASAL_WORDS_MODE:Cd,COMMENT:r1,C_LINE_COMMENT_MODE:tT,C_BLOCK_COMMENT_MODE:eT,HASH_COMMENT_MODE:nT,NUMBER_MODE:sT,C_NUMBER_MODE:rT,BINARY_NUMBER_MODE:iT,CSS_NUMBER_MODE:oT,REGEXP_MODE:aT,TITLE_MODE:lT,UNDERSCORE_TITLE_MODE:cT,METHOD_GUARD:uT,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})}});function hT(n,t){n.input[n.index-1]==="."&&t.ignoreMatch()}function fT(n,t){!t||!n.beginKeywords||(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=hT,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function dT(n,t){!Array.isArray(n.illegal)||(n.illegal=jb(...n.illegal))}function pT(n,t){if(!!n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function gT(n,t){n.relevance===void 0&&(n.relevance=1)}const mT=["of","and","for","in","not","or","if","then","parent","list","value"],xT="keyword";function Ed(n,t,e=xT){const s={};return typeof n=="string"?r(e,n.split(" ")):Array.isArray(n)?r(e,n):Object.keys(n).forEach(function(i){Object.assign(s,Ed(n[i],t,i))}),s;function r(i,o){t&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");s[l[0]]=[i,LT(l[0],l[1])]})}}function LT(n,t){return t?Number(t):_T(n)?0:1}function _T(n){return mT.includes(n.toLowerCase())}function yT(n,{plugins:t}){function e(a,l){return new RegExp(pi(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=zb(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=e(qb(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((d,p)=>p>0&&d!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new s;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new r;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[pT].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[fT,dT,gT].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=Ed(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=e(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(a.end)),c.terminatorEnd=pi(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return CT(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=Qn(n.classNameAliases||{}),o(n)}function bd(n){return n?n.endsWithParent||bd(n.starts):!1}function CT(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(t){return Qn(n,{variants:null},t)})),n.cachedVariants?n.cachedVariants:bd(n)?Qn(n,{starts:n.starts?Qn(n.starts):null}):Object.isFrozen(n)?Qn(n):n}var ET="10.7.3";function bT(n){return Boolean(n||n==="")}function TT(n){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,fr(this.code);let s={};return this.autoDetect?(s=n.highlightAuto(this.code),this.detectedLanguage=s.language):(s=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||bT(this.autodetect)},ignoreIllegals(){return!0}},render(s){return s("pre",{},[s("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(s){s.component("highlightjs",t)}}}}const wT={"after:highlightElement":({el:n,result:t,text:e})=>{const s=Td(n);if(!s.length)return;const r=document.createElement("div");r.innerHTML=t.value,t.value=vT(s,Td(r),e)}};function bc(n){return n.nodeName.toLowerCase()}function Td(n){const t=[];return function e(s,r){for(let i=s.firstChild;i;i=i.nextSibling)i.nodeType===3?r+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),bc(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(n,0),t}function vT(n,t,e){let s=0,r="";const i=[];function o(){return!n.length||!t.length?n.length?n:t:n[0].offset!==t[0].offset?n[0].offset<t[0].offset?n:t:t[0].event==="start"?n:t}function a(u){function f(d){return" "+d.nodeName+'="'+fr(d.value)+'"'}r+="<"+bc(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){r+="</"+bc(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||t.length;){let u=o();if(r+=fr(e.substring(s,u[0].offset)),s=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===s);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return r+fr(e.substr(s))}const wd={},Tc=n=>{console.error(n)},vd=(n,...t)=>{console.log(`WARN: ${n}`,...t)},je=(n,t)=>{wd[`${n}/${t}`]||(console.log(`Deprecated as of ${n}. ${t}`),wd[`${n}/${t}`]=!0)},wc=fr,Ad=Qn,Sd=Symbol("nomatch");var AT=function(n){const t=Object.create(null),e=Object.create(null),s=[];let r=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:Hb};function c(O){return l.noHighlightRe.test(O)}function u(O){let st=O.className+" ";st+=O.parentNode?O.parentNode.className:"";const Et=l.languageDetectRe.exec(st);if(Et){const bt=qt(Et[1]);return bt||(vd(o.replace("{}",Et[1])),vd("Falling back to no-highlight mode for this block.",O)),bt?Et[1]:"no-highlight"}return st.split(/\s+/).find(bt=>c(bt)||qt(bt))}function f(O,st,Et,bt){let Kt="",xn="";typeof st=="object"?(Kt=O,Et=st.ignoreIllegals,xn=st.language,bt=void 0):(je("10.7.0","highlight(lang, code, ...args) has been deprecated."),je("10.7.0",`Please use highlight(code, options) instead.
|
|
545
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),xn=O,Kt=st);const ae={code:Kt,language:xn};We("before:highlight",ae);const Se=ae.result?ae.result:d(ae.language,ae.code,Et,bt);return Se.code=ae.code,We("after:highlight",Se),Se}function d(O,st,Et,bt){function Kt(K,at){const xt=B.case_insensitive?at[0].toLowerCase():at[0];return Object.prototype.hasOwnProperty.call(K.keywords,xt)&&K.keywords[xt]}function xn(){if(!P.keywords){q.addText(Q);return}let K=0;P.keywordPatternRe.lastIndex=0;let at=P.keywordPatternRe.exec(Q),xt="";for(;at;){xt+=Q.substring(K,at.index);const wt=Kt(P,at);if(wt){const[le,se]=wt;if(q.addText(xt),xt="",gt+=se,le.startsWith("_"))xt+=at[0];else{const qe=B.classNameAliases[le]||le;q.addKeyword(at[0],qe)}}else xt+=at[0];K=P.keywordPatternRe.lastIndex,at=P.keywordPatternRe.exec(Q)}xt+=Q.substr(K),q.addText(xt)}function ae(){if(Q==="")return;let K=null;if(typeof P.subLanguage=="string"){if(!t[P.subLanguage]){q.addText(Q);return}K=d(P.subLanguage,Q,!0,tt[P.subLanguage]),tt[P.subLanguage]=K.top}else K=E(Q,P.subLanguage.length?P.subLanguage:null);P.relevance>0&&(gt+=K.relevance),q.addSublanguage(K.emitter,K.language)}function Se(){P.subLanguage!=null?ae():xn(),Q=""}function Re(K){return K.className&&q.openNode(B.classNameAliases[K.className]||K.className),P=Object.create(K,{parent:{value:P}}),P}function g(K,at,xt){let wt=Wb(K.endRe,xt);if(wt){if(K["on:end"]){const le=new md(K);K["on:end"](at,le),le.isMatchIgnored&&(wt=!1)}if(wt){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return g(K.parent,at,xt)}function x(K){return P.matcher.regexIndex===0?(Q+=K[0],1):(jt=!0,0)}function w(K){const at=K[0],xt=K.rule,wt=new md(xt),le=[xt.__beforeBegin,xt["on:begin"]];for(const se of le)if(!!se&&(se(K,wt),wt.isMatchIgnored))return x(at);return xt&&xt.endSameAsBegin&&(xt.endRe=Vb(at)),xt.skip?Q+=at:(xt.excludeBegin&&(Q+=at),Se(),!xt.returnBegin&&!xt.excludeBegin&&(Q=at)),Re(xt),xt.returnBegin?0:at.length}function k(K){const at=K[0],xt=st.substr(K.index),wt=g(P,K,xt);if(!wt)return Sd;const le=P;le.skip?Q+=at:(le.returnEnd||le.excludeEnd||(Q+=at),Se(),le.excludeEnd&&(Q=at));do P.className&&q.closeNode(),!P.skip&&!P.subLanguage&&(gt+=P.relevance),P=P.parent;while(P!==wt.parent);return wt.starts&&(wt.endSameAsBegin&&(wt.starts.endRe=wt.endRe),Re(wt.starts)),le.returnEnd?0:at.length}function S(){const K=[];for(let at=P;at!==B;at=at.parent)at.className&&K.unshift(at.className);K.forEach(at=>q.openNode(at))}let D={};function j(K,at){const xt=at&&at[0];if(Q+=K,xt==null)return Se(),0;if(D.type==="begin"&&at.type==="end"&&D.index===at.index&&xt===""){if(Q+=st.slice(at.index,at.index+1),!r){const wt=new Error("0 width match regex");throw wt.languageName=O,wt.badRule=D.rule,wt}return 1}if(D=at,at.type==="begin")return w(at);if(at.type==="illegal"&&!Et){const wt=new Error('Illegal lexeme "'+xt+'" for mode "'+(P.className||"<unnamed>")+'"');throw wt.mode=P,wt}else if(at.type==="end"){const wt=k(at);if(wt!==Sd)return wt}if(at.type==="illegal"&&xt==="")return 1;if(Nt>1e5&&Nt>at.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Q+=xt,xt.length}const B=qt(O);if(!B)throw Tc(o.replace("{}",O)),new Error('Unknown language: "'+O+'"');const $=yT(B,{plugins:s});let I="",P=bt||$;const tt={},q=new l.__emitter(l);S();let Q="",gt=0,St=0,Nt=0,jt=!1;try{for(P.matcher.considerAll();;){Nt++,jt?jt=!1:P.matcher.considerAll(),P.matcher.lastIndex=St;const K=P.matcher.exec(st);if(!K)break;const at=st.substring(St,K.index),xt=j(at,K);St=K.index+xt}return j(st.substr(St)),q.closeAllNodes(),q.finalize(),I=q.toHTML(),{relevance:Math.floor(gt),value:I,language:O,illegal:!1,emitter:q,top:P}}catch(K){if(K.message&&K.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:K.message,context:st.slice(St-100,St+100),mode:K.mode},sofar:I,relevance:0,value:wc(st),emitter:q};if(r)return{illegal:!1,relevance:0,value:wc(st),emitter:q,language:O,top:P,errorRaised:K};throw K}}function p(O){const st={relevance:0,emitter:new l.__emitter(l),value:wc(O),illegal:!1,top:a};return st.emitter.addText(O),st}function E(O,st){st=st||l.languages||Object.keys(t);const Et=p(O),bt=st.filter(qt).filter(pt).map(Re=>d(Re,O,!1));bt.unshift(Et);const Kt=bt.sort((Re,g)=>{if(Re.relevance!==g.relevance)return g.relevance-Re.relevance;if(Re.language&&g.language){if(qt(Re.language).supersetOf===g.language)return 1;if(qt(g.language).supersetOf===Re.language)return-1}return 0}),[xn,ae]=Kt,Se=xn;return Se.second_best=ae,Se}function v(O){return l.tabReplace||l.useBR?O.replace(i,st=>st===`
|
|
546
546
|
`?l.useBR?"<br>":st:l.tabReplace?st.replace(/\t/g,l.tabReplace):st):O}function W(O,st,Et){const bt=st?e[st]:Et;O.classList.add("hljs"),bt&&O.classList.add(bt)}const y={"before:highlightElement":({el:O})=>{l.useBR&&(O.innerHTML=O.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
547
|
-
`))},"after:highlightElement":({result:O})=>{l.useBR&&(O.value=O.value.replace(/\n/g,"<br>"))}},m=/^(<[^>]+>|\t)+/gm,C={"after:highlightElement":({result:O})=>{l.tabReplace&&(O.value=O.value.replace(m,st=>st.replace(/\t/g,l.tabReplace)))}};function T(O){let st=null;const Et=u(O);if(c(Et))return;We("before:highlightElement",{el:O,language:Et}),st=O;const bt=st.textContent,Kt=Et?f(bt,{language:Et,ignoreIllegals:!0}):E(bt);We("after:highlightElement",{el:O,result:Kt,text:bt}),O.innerHTML=Kt.value,W(O,Et,Kt.language),O.result={language:Kt.language,re:Kt.relevance,relavance:Kt.relevance},Kt.second_best&&(O.second_best={language:Kt.second_best.language,re:Kt.second_best.relevance,relavance:Kt.second_best.relevance})}function F(O){O.useBR&&(je("10.3.0","'useBR' will be removed entirely in v11.0"),je("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=Ad(l,O)}const G=()=>{if(G.called)return;G.called=!0,je("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(T)};function z(){je("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function ot(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll("pre code").forEach(T)}function rt(){R&&ot()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",rt,!1);function ut(O,st){let Et=null;try{Et=st(n)}catch(bt){if(Tc("Language definition for '{}' could not be registered.".replace("{}",O)),r)Tc(bt);else throw bt;Et=a}Et.name||(Et.name=O),t[O]=Et,Et.rawDefinition=st.bind(null,n),Et.aliases&&U(Et.aliases,{languageName:O})}function Zt(O){delete t[O];for(const st of Object.keys(e))e[st]===O&&delete e[st]}function Ot(){return Object.keys(t)}function it(O){je("10.4.0","requireLanguage will be removed entirely in v11."),je("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const st=qt(O);if(st)return st;throw new Error("The '{}' language is required, but not loaded.".replace("{}",O))}function qt(O){return O=(O||"").toLowerCase(),t[O]||t[e[O]]}function U(O,{languageName:st}){typeof O=="string"&&(O=[O]),O.forEach(Et=>{e[Et.toLowerCase()]=st})}function pt(O){const st=qt(O);return st&&!st.disableAutodetect}function Ct(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=st=>{O["before:highlightBlock"](Object.assign({block:st.el},st))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=st=>{O["after:highlightBlock"](Object.assign({block:st.el},st))})}function ze(O){Ct(O),s.push(O)}function We(O,st){const Et=O;s.forEach(function(bt){bt[Et]&&bt[Et](st)})}function Pn(O){return je("10.2.0","fixMarkup will be removed entirely in v11.0"),je("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),v(O)}function Ze(O){return je("10.7.0","highlightBlock will be removed entirely in v12.0"),je("10.7.0","Please use highlightElement now."),T(O)}Object.assign(n,{highlight:f,highlightAuto:E,highlightAll:ot,fixMarkup:Pn,highlightElement:T,highlightBlock:Ze,configure:F,initHighlighting:G,initHighlightingOnLoad:z,registerLanguage:ut,unregisterLanguage:Zt,listLanguages:Ot,getLanguage:qt,registerAliases:U,requireLanguage:it,autoDetection:pt,inherit:Ad,addPlugin:ze,vuePlugin:ET(n).VuePlugin}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=yT;for(const O in i1)typeof i1[O]=="object"&&gd(i1[O]);return Object.assign(n,i1),n.addPlugin(y),n.addPlugin(bT),n.addPlugin(C),n}({}),Ss=wT;function vT(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var AT=vT;const Rd="[A-Za-z$_][0-9A-Za-z$_]*",ST=["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"],RT=["true","false","null","undefined","NaN","Infinity"],kT=["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"],IT=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],OT=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],NT=["arguments","this","super","console","window","document","localStorage","module","global"],PT=[].concat(OT,NT,kT,IT);function MT(n){return n?typeof n=="string"?n:n.source:null}function kd(n){return vc("(?=",n,")")}function vc(...n){return n.map(e=>MT(e)).join("")}function FT(n){const t=(T,{after:F})=>{const G="</"+T[0].slice(1);return T.input.indexOf(G,F)!==-1},e=Rd,s={begin:"<>",end:"</>"},r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,F)=>{const G=T[0].length+T.index,z=T.input[G];if(z==="<"){F.ignoreMatch();return}z===">"&&(t(T,{after:G})||F.ignoreMatch())}},i={$pattern:Rd,keyword:ST,literal:RT,built_in:PT},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},v={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},W=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,c,n.REGEXP_MODE];u.contains=W.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(W)});const y=[].concat(v,u.contains),m=y.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(y)}]),C={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:m};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:m},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,v,c,{begin:vc(/[{,\n]\s*/,kd(vc(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+kd("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[v,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:m}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),C],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[C,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",C]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},C]},{begin:/\$[(.]/}]}}var DT=FT;function BT(n){return n?typeof n=="string"?n:n.source:null}function $T(...n){return n.map(e=>BT(e)).join("")}function UT(n){const t={},e={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:$T(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},e]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t,s]};s.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,t]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,r,i,o,a,t]}}var HT=UT;function VT(n){var t="true false yes no null",e="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,r]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},p={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},E={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},v=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+e},{className:"type",begin:"!<"+e+">"},{className:"type",begin:"!"+e},{className:"type",begin:"!!"+e},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},p,E,i],W=[...v];return W.pop(),W.push(o),d.contains=W,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}var GT=VT;const gS="";Ss.registerLanguage("plaintext",AT),Ss.registerLanguage("javascript",DT),Ss.registerLanguage("bash",HT),Ss.registerLanguage("yaml",GT);const jT={codespan(n){let e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(n);return(e==null?void 0:e.length)===3?`
|
|
547
|
+
`))},"after:highlightElement":({result:O})=>{l.useBR&&(O.value=O.value.replace(/\n/g,"<br>"))}},m=/^(<[^>]+>|\t)+/gm,C={"after:highlightElement":({result:O})=>{l.tabReplace&&(O.value=O.value.replace(m,st=>st.replace(/\t/g,l.tabReplace)))}};function T(O){let st=null;const Et=u(O);if(c(Et))return;We("before:highlightElement",{el:O,language:Et}),st=O;const bt=st.textContent,Kt=Et?f(bt,{language:Et,ignoreIllegals:!0}):E(bt);We("after:highlightElement",{el:O,result:Kt,text:bt}),O.innerHTML=Kt.value,W(O,Et,Kt.language),O.result={language:Kt.language,re:Kt.relevance,relavance:Kt.relevance},Kt.second_best&&(O.second_best={language:Kt.second_best.language,re:Kt.second_best.relevance,relavance:Kt.second_best.relevance})}function F(O){O.useBR&&(je("10.3.0","'useBR' will be removed entirely in v11.0"),je("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=Ad(l,O)}const G=()=>{if(G.called)return;G.called=!0,je("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(T)};function z(){je("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function ot(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll("pre code").forEach(T)}function rt(){R&&ot()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",rt,!1);function ut(O,st){let Et=null;try{Et=st(n)}catch(bt){if(Tc("Language definition for '{}' could not be registered.".replace("{}",O)),r)Tc(bt);else throw bt;Et=a}Et.name||(Et.name=O),t[O]=Et,Et.rawDefinition=st.bind(null,n),Et.aliases&&U(Et.aliases,{languageName:O})}function Zt(O){delete t[O];for(const st of Object.keys(e))e[st]===O&&delete e[st]}function Ot(){return Object.keys(t)}function it(O){je("10.4.0","requireLanguage will be removed entirely in v11."),je("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const st=qt(O);if(st)return st;throw new Error("The '{}' language is required, but not loaded.".replace("{}",O))}function qt(O){return O=(O||"").toLowerCase(),t[O]||t[e[O]]}function U(O,{languageName:st}){typeof O=="string"&&(O=[O]),O.forEach(Et=>{e[Et.toLowerCase()]=st})}function pt(O){const st=qt(O);return st&&!st.disableAutodetect}function Ct(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=st=>{O["before:highlightBlock"](Object.assign({block:st.el},st))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=st=>{O["after:highlightBlock"](Object.assign({block:st.el},st))})}function ze(O){Ct(O),s.push(O)}function We(O,st){const Et=O;s.forEach(function(bt){bt[Et]&&bt[Et](st)})}function Pn(O){return je("10.2.0","fixMarkup will be removed entirely in v11.0"),je("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),v(O)}function Ze(O){return je("10.7.0","highlightBlock will be removed entirely in v12.0"),je("10.7.0","Please use highlightElement now."),T(O)}Object.assign(n,{highlight:f,highlightAuto:E,highlightAll:ot,fixMarkup:Pn,highlightElement:T,highlightBlock:Ze,configure:F,initHighlighting:G,initHighlightingOnLoad:z,registerLanguage:ut,unregisterLanguage:Zt,listLanguages:Ot,getLanguage:qt,registerAliases:U,requireLanguage:it,autoDetection:pt,inherit:Ad,addPlugin:ze,vuePlugin:TT(n).VuePlugin}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=ET;for(const O in i1)typeof i1[O]=="object"&&gd(i1[O]);return Object.assign(n,i1),n.addPlugin(y),n.addPlugin(wT),n.addPlugin(C),n}({}),Ss=AT;function ST(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var RT=ST;const Rd="[A-Za-z$_][0-9A-Za-z$_]*",kT=["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"],IT=["true","false","null","undefined","NaN","Infinity"],OT=["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"],NT=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],PT=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],MT=["arguments","this","super","console","window","document","localStorage","module","global"],FT=[].concat(PT,MT,OT,NT);function DT(n){return n?typeof n=="string"?n:n.source:null}function kd(n){return vc("(?=",n,")")}function vc(...n){return n.map(e=>DT(e)).join("")}function BT(n){const t=(T,{after:F})=>{const G="</"+T[0].slice(1);return T.input.indexOf(G,F)!==-1},e=Rd,s={begin:"<>",end:"</>"},r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,F)=>{const G=T[0].length+T.index,z=T.input[G];if(z==="<"){F.ignoreMatch();return}z===">"&&(t(T,{after:G})||F.ignoreMatch())}},i={$pattern:Rd,keyword:kT,literal:IT,built_in:FT},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},v={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},W=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,c,n.REGEXP_MODE];u.contains=W.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(W)});const y=[].concat(v,u.contains),m=y.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(y)}]),C={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:m};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:m},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,d,p,v,c,{begin:vc(/[{,\n]\s*/,kd(vc(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+kd("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[v,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:m}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),C],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[C,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",C]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},C]},{begin:/\$[(.]/}]}}var $T=BT;function UT(n){return n?typeof n=="string"?n:n.source:null}function HT(...n){return n.map(e=>UT(e)).join("")}function VT(n){const t={},e={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:HT(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},e]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t,s]};s.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,t]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,r,i,o,a,t]}}var GT=VT;function jT(n){var t="true false yes no null",e="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,r]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},p={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},E={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},v=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+e},{className:"type",begin:"!<"+e+">"},{className:"type",begin:"!"+e},{className:"type",begin:"!!"+e},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},p,E,i],W=[...v];return W.pop(),W.push(o),d.contains=W,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}var zT=jT;const xS="";Ss.registerLanguage("plaintext",RT),Ss.registerLanguage("javascript",$T),Ss.registerLanguage("bash",GT),Ss.registerLanguage("yaml",zT);const WT={codespan(n){let e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(n);return(e==null?void 0:e.length)===3?`
|
|
548
548
|
<code class="rest-api">
|
|
549
549
|
<span class="http-method-${e[1].toLowerCase()}">${e[1]}</span>
|
|
550
550
|
<span class="http-path">${e[2]}</span>
|
|
551
551
|
</code>
|
|
552
|
-
`:`<code>${n}</code>`}};ht.setOptions({highlight:function(n,t){if(!t)return Ss.highlightAuto(n).value;const e=Ss.getLanguage(t)?t:"plaintext";return Ss.highlight(e,n).value},breaks:!0}),ht.use({renderer:jT});const zT={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&ht.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&ht.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},WT=["innerHTML"];function ZT(n,t,e,s,r,i){return N(),et("div",{class:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:Lt({color:i.color})},[A("div",{innerHTML:i.markedComment},null,8,WT)],4)}const mi=It(zT,[["render",ZT],["__scopeId","data-v-15224042"]]),mS="",xS="",qT={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Pe(["centerOf","messageLayerLeft"]),...Aa(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},KT=["data-belongs-to","data-x-offset","data-debug-center-of"];function YT(n,t,e,s,r,i){const o=ft("block");return N(),et("div",{class:Ft(["occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",{"right-to-left":e.rtl}]),"data-el-type":"occurrence","data-belongs-to":e.participant,"data-x-offset":n.center,"data-debug-center-of":i.computedCenter},[this.context.braceBlock()?(N(),Mt(o,{key:0,context:e.context.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["context","selfCallIndent"])):At("",!0)],10,KT)}const Id=It(qT,[["render",YT],["__scopeId","data-v-054f42d1"]]);class dr{constructor(t,e,s,r){Z(this,"start");Z(this,"stop");this.start={line:t,col:e},this.stop={line:s,col:r}}static from(t){const e=t.start,s=t.stop;return new dr(e.line,e.column,s.line,s.column+s.text.length)}}const Od=mr.child({name:"Creation"}),XT={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Pe(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(r){return r&&r.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const s=n(t.type());return e+(s?":"+s:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)},isInitedFromOccurrence:function(){return this.creation.isInitedFromOccurrence(this.from)}},mounted(){this.layoutMessageContainer(),Od.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),Od.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(dr.from(this.context))}},components:{Participant:Ff,Comment:mi,Occurrence:Id,Message:di}},QT=["data-signature"],JT=["data-to"],tw={ref:"participantPlaceHolder",class:"invisible right-0 flex flex-col justify-center flex-shrink-0"};function ew(n,t,e,s,r,i){const o=ft("comment"),a=ft("message"),l=ft("participant"),c=ft("occurrence");return N(),et("div",{class:Ft(["interaction creation sync text-center transform",{"right-to-left":i.rightToLeft,"-translate-x-full":i.rightToLeft,highlight:i.isCurrent,"inited-from-occurrence":i.isInitedFromOccurrence}]),onClick:t[0]||(t[0]=Gr((...u)=>i.onClick&&i.onClick(...u),["stop"])),"data-signature":i.signature,style:Lt({width:i.interactionWidth+"px"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",{ref:"messageContainer",class:Ft(["message-container pointer-events-none flex items-center h-10",{"flex-row-reverse":i.rightToLeft}]),"data-type":"creation","data-to":i.to},[nt(a,{ref:"messageEl",class:"invocation w-full transform -translate-y-1/2 pointer-events-auto",content:i.signature,rtl:i.rightToLeft,type:"creation"},null,8,["content","rtl"]),A("div",tw,[nt(l,{entity:{name:i.to}},null,8,["entity"])],512)],10,JT),nt(c,{context:i.creation,class:"pointer-events-auto",participant:i.to},null,8,["context","participant"]),i.assignee?(N(),Mt(a,{key:1,class:"return transform -translate-y-full pointer-events-auto",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):At("",!0)],14,QT)}const nw=It(XT,[["render",ew]]),sw={name:"self-invocation",props:["content","assignee"]},rw={class:"message self text-sm flex items-start",style:{"border-width":"0"}},iw=A("svg",{class:"arrow text-skin-message-arrow",width:"30",height:"24"},[A("polyline",{class:"line stroke-current fill-none stroke-2",points:"0,2 28,2 28,15 14,15"}),A("polyline",{class:"head stroke-current fill-current stroke-2",points:"18,9 8,15 18,21"})],-1),ow={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},aw={key:0};function lw(n,t,e,s,r,i){return N(),et("div",rw,[iw,A("label",ow,[e.assignee?(N(),et("span",aw,Yt(e.assignee)+" = ",1)):At("",!0),Ls(" "+Yt(e.content),1)])])}const cw=It(sw,[["render",lw]]),LS="",uw={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Pe(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),s=this.selfCallIndent||0;return e+0-s},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof sy},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"},isInitedFromOccurrence:function(){var n;return(n=this.message)==null?void 0:n.isInitedFromOccurrence(this.from)}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Message:di,SelfInvocation:cw,Comment:mi,Occurrence:Id}},hw=["data-to","data-signature"];function fw(n,t,e,s,r,i){const o=ft("comment"),a=ft("occurrence"),l=ft("message");return N(),et("div",{class:Ft(["interaction sync inline-block",{highlight:i.isCurrent,self:i.isSelf,"inited-from-occurrence":i.isInitedFromOccurrence}]),onClick:t[0]||(t[0]=Gr((...c)=>i.onClick&&i.onClick(...c),["stop"])),"data-to":i.to,"data-type":"interaction","data-signature":i.signature,style:Lt({width:!i.isSelf&&i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[i.showStarter&&i.isRootBlock||i.outOfBand?(N(),et("div",{key:0,class:Ft(["occurrence source border-2",{"right-to-left":i.rightToLeft}])},null,2)):At("",!0),i.hasComment?(N(),Mt(o,{key:1,commentObj:e.commentObj},null,8,["commentObj"])):At("",!0),(N(),Mt(Fr(i.invocation),{class:"text-center",color:i.color,content:i.signature,assignee:i.assignee,rtl:i.rightToLeft,type:"sync"},null,8,["color","content","assignee","rtl"])),nt(a,{context:i.message,participant:i.to,selfCallIndent:i.passOnOffset,rtl:i.rightToLeft},null,8,["context","participant","selfCallIndent","rtl"]),i.assignee&&!i.isSelf?(N(),Mt(l,{key:2,class:"return transform -translate-y-full",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):At("",!0)],14,hw)}const dw=It(uw,[["render",fw],["__scopeId","data-v-05daaa2d"]]),_S="",pw={name:"self-invocation-async",props:["content"]},gw=n=>(is("data-v-25f755f6"),n=n(),os(),n),mw={class:"message self flex items-start",style:{"border-width":"0"}},xw=gw(()=>A("svg",{class:"arrow text-skin-message-arrow",width:"34",height:"34"},[A("polyline",{class:"stroke-current stroke-2 fill-none",points:"0,2 28,2 28,25 1,25"}),A("polyline",{class:"head stroke-current stroke-2 fill-none",points:"11,19 1,25 11,31"})],-1)),Lw={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"};function _w(n,t,e,s,r,i){return N(),et("div",mw,[xw,A("label",Lw,Yt(e.content),1)])}const yw=It(pw,[["render",_w],["__scopeId","data-v-25f755f6"]]),yS="";function Ac(n){return n==null}const Cw={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Pe(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return Ac(this.cursor)||Ac(n)||Ac(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Comment:mi,SelfInvocationAsync:yw,Message:di}},Ew=["data-signature"];function bw(n,t,e,s,r,i){const o=ft("comment");return N(),et("div",{class:Ft(["interaction async",{"right-to-left":i.rightToLeft,highlight:i.isCurrent,"self-invocation":i.isSelf}]),onClick:t[0]||(t[0]=Gr((...a)=>i.onClick&&i.onClick(...a),["stop"])),"data-signature":i.signature,style:Lt({width:i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),(N(),Mt(Fr(i.invocation),{content:i.signature,rtl:i.rightToLeft,type:"async"},null,8,["content","rtl"]))],14,Ew)}const Tw=It(Cw,[["render",bw],["__scopeId","data-v-eb21ece9"]]),CS="",ww={props:["label","collapsed"],emits:["click"]},vw={class:"collapsible-header"},Aw={class:"p-0 mb-0"},Sw=[Ur('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-b41acdfc></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-b41acdfc></g><g id="SVGRepo_iconCarrier" data-v-b41acdfc><line x1="14" y1="10" x2="21" y2="3" data-v-b41acdfc></line><polyline points="20 10 14 10 14 4" data-v-b41acdfc></polyline><line x1="3" y1="21" x2="10" y2="14" data-v-b41acdfc></line><polyline points="4 14 10 14 10 20" data-v-b41acdfc></polyline></g>',3)],Rw=[Ur('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-b41acdfc></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-b41acdfc></g><g id="SVGRepo_iconCarrier" data-v-b41acdfc><title data-v-b41acdfc></title> <g id="Complete" data-v-b41acdfc><g id="expand" data-v-b41acdfc><g data-v-b41acdfc><polyline data-name="Right" fill="none" id="Right-2" points="3 17.3 3 21 6.7 21" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" data-v-b41acdfc></polyline> <line fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" x1="10" x2="3.8" y1="14" y2="20.2" data-v-b41acdfc></line> <line fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" x1="14" x2="20.2" y1="10" y2="3.8" data-v-b41acdfc></line> <polyline data-name="Right" fill="none" id="Right-3" points="21 6.7 21 3 17.3 3" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" data-v-b41acdfc></polyline></g></g></g></g>',3)];function kw(n,t,e,s,r,i){return N(),et("div",vw,[A("label",Aw,Yt(e.label),1),(N(),et("svg",{width:"16px",height:"16px",class:Ft([{hidden:e.collapsed,expanded:!e.collapsed},"collapse-button cursor-pointer"]),onClick:t[0]||(t[0]=o=>n.$emit("click",o)),viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#000000","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"miter"},Sw,2)),(N(),et("svg",{width:"16px",height:"16px",viewBox:"0 0 24 24",class:Ft([{hidden:!e.collapsed},"cursor-pointer"]),onClick:t[1]||(t[1]=o=>n.$emit("click",o)),xmlns:"http://www.w3.org/2000/svg",fill:"#000000"},Rw,2))])}const Iw=It(ww,[["render",kw],["__scopeId","data-v-b41acdfc"]]),xi={computed:{...Pe(["coordinates"]),offsetX:function(){const n=this.coordinates.orderedParticipantNames(),e=new lc(n).getFrame(this.context),s=uc(e),r=[this.context.Origin(),...ur(this.context).Names()],i=n.find(a=>r.includes(a));let o=mn.half(In,i);return console.debug(`left participant: ${i} ${o}`),this.coordinates.distance(i,this.from)+s.left+o},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:Uf(this.context,this.coordinates)+"px"}}},data:function(){return{collapsed:!1}},methods:{toggle(n){this.collapsed=!this.collapsed,kf.$emit("participant_set_top")}},components:{CollapseButton:Iw},watch:{context(n){this.collapsed&&(this.collapsed=!1)}}},TS="",Ow={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[xi],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},Nd=n=>(is("data-v-125017f4"),n=n(),os(),n),Nw={class:"segment"},Pw={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},Mw={class:"name font-semibold p-1 border-b"},Fw={class:"segment"},Dw={class:"text-skin-fragment"},Bw={class:"condition p-1"},$w=Nd(()=>A("label",{class:"else-if hidden"},"else if",-1)),Uw={class:"condition p-1"},Hw={key:0,class:"segment mt-2 border-t border-solid"},Vw=Nd(()=>A("div",{class:"text-skin-fragment"},[A("label",{class:"p-1"},"[else]")],-1));function Gw(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment alt border-skin-fragment rounded",style:Lt(n.fragmentStyle)},[A("div",Nw,[e.comment?(N(),Mt(o,{key:0,comment:e.comment,commentObj:e.commentObj},null,8,["comment","commentObj"])):At("",!0),A("div",Pw,[A("div",Mw,[nt(a,{label:"Alt",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",Fw,[A("div",Dw,[A("label",Bw,"["+Yt(i.condition)+"]",1)]),i.blockInIfBlock?(N(),Mt(l,{key:0,style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.blockInIfBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):At("",!0)]),(N(!0),et(Ht,null,wn(i.alt.elseIfBlock(),(c,u)=>(N(),et("div",{key:u+500,class:"segment mt-2 border-t border-solid"},[(N(),et("div",{class:"text-skin-fragment",key:u+1e3},[$w,A("label",Uw,"["+Yt(i.conditionFromIfElseBlock(c))+"]",1)])),(N(),Mt(l,{style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.blockInElseIfBlock(c),selfCallIndent:e.selfCallIndent,key:u+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.elseBlock?(N(),et("div",Hw,[Vw,nt(l,{style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.elseBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):At("",!0)],2)],4)}const jw=It(Ow,[["render",Gw],["__scopeId","data-v-125017f4"]]),wS="",vS="",zw={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},Ww={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},Zw={class:"name font-semibold p-1 border-b"};function qw(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment par border-skin-fragment rounded",style:Lt(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",Ww,[A("div",Zw,[nt(a,{label:"Par",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),nt(l,{class:Ft({hidden:n.collapsed}),style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.par.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["class","style","context","selfCallIndent"])],4)}const Kw=It(zw,[["render",qw],["__scopeId","data-v-4545e2e3"]]),AS="",Yw={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},Xw={class:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},Qw={class:"name font-semibold p-1 border-b"},Jw={class:"segment"},tv={class:"text-skin-fragment"},ev={class:"condition p-1"};function nv(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment loop border-skin-fragment rounded",style:Lt(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",Xw,[A("div",Qw,[nt(a,{label:"Loop",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",Jw,[A("div",tv,[A("label",ev,"["+Yt(i.condition)+"]",1)]),nt(l,{style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.blockInLoop,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])],2)],4)}const sv=It(Yw,[["render",nv],["__scopeId","data-v-771edb8e"]]),SS="",rv={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},iv={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},ov={class:"name font-semibold p-1 border-b"};function av(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment opt border-skin-fragment rounded",style:Lt(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",iv,[A("div",ov,[nt(a,{label:"Opt",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),nt(l,{class:Ft({hidden:n.collapsed}),style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.opt.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["class","style","context","selfCallIndent"])],4)}const lv=It(rv,[["render",av],["__scopeId","data-v-06cc8e56"]]),RS="",cv={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},Pd=n=>(is("data-v-1ae75b06"),n=n(),os(),n),uv={class:"segment"},hv={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},fv={class:"name font-semibold p-1 border-b"},dv={class:"segment"},pv=Pd(()=>A("label",{class:"keyword catch p-1"},"catch",-1)),gv={class:"exception p-1"},mv={key:0,class:"segment mt-2 border-t border-solid"},xv=Pd(()=>A("div",{class:"header text-skin-fragment finally"},[A("label",{class:"keyword finally p-1"},"finally")],-1));function Lv(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment tcf border-skin-fragment rounded",style:Lt(n.fragmentStyle)},[A("div",uv,[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",hv,[A("div",fv,[nt(a,{label:"Try",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",dv,[i.blockInTryBlock?(N(),Mt(l,{key:0,style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.blockInTryBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):At("",!0)]),(N(!0),et(Ht,null,wn(i.tcf.catchBlock(),(c,u)=>(N(),et("div",{key:u+500,class:"segment mt-2 border-t border-solid"},[(N(),et("div",{class:"header text-skin-fragment",key:u+1e3},[pv,A("label",gv,Yt(i.exception(c)),1)])),(N(),Mt(l,{style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.blockInCatchBlock(c),selfCallIndent:e.selfCallIndent,key:u+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.finallyBlock?(N(),et("div",mv,[xv,nt(l,{style:Lt({paddingLeft:`${n.offsetX}px`}),context:i.finallyBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):At("",!0)],2)],4)}const _v=It(cv,[["render",Lv],["__scopeId","data-v-1ae75b06"]]),yv={name:"return",props:["context","comment"],computed:{...Pe(["distance","cursor","onElementClick","participants"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?In(this.signature,Kn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,s,r;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((r=(s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.expr())==null?void 0:r.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,s;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target},isReturnToStart(){return this.target===this.participants.Starter().name}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Comment:mi,Message:di}},Cv=["data-signature"],Ev={key:1,class:"flex items-center"},bv=A("svg",{class:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512"},[A("path",{class:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),A("path",{class:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})],-1),Tv={class:"name text-sm"};function wv(n,t,e,s,r,i){const o=ft("comment"),a=ft("Message");return N(),et("div",{class:Ft(["interaction return relative",{"right-to-left":i.rightToLeft,highlight:i.isCurrent,"return-to-start":i.isReturnToStart}]),onClick:t[0]||(t[0]=Gr((...l)=>i.onClick&&i.onClick(...l),["stop"])),"data-signature":i.signature,style:Lt({width:i.width+"px",left:i.left+"px"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),i.isSelf?(N(),et("div",Ev,[bv,A("span",Tv,Yt(i.signature),1)])):At("",!0),i.isSelf?At("",!0):(N(),Mt(a,{key:2,content:i.signature,rtl:i.rightToLeft,type:"return"},null,8,["content","rtl"]))],14,Cv)}const vv=It(yv,[["render",wv]]),kS="",Av={name:"divider",props:["context"],computed:{...Pe(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},Md=n=>(is("data-v-9e567e69"),n=n(),os(),n),Sv=Md(()=>A("div",{class:"left bg-skin-divider"},null,-1)),Rv={class:"name"},kv=Md(()=>A("div",{class:"right bg-skin-divider"},null,-1));function Iv(n,t,e,s,r,i){return N(),et("div",{class:"divider",style:Lt({width:i.width+"px",transform:"translateX("+(-1*i.centerOfFrom+10)+"px)"})},[Sv,A("div",Rv,Yt(i.name),1),kv],4)}const Ov=It(Av,[["render",Iv],["__scopeId","data-v-9e567e69"]]);class Nv{constructor(t){Z(this,"text");Z(this,"color");const e=t.split(`
|
|
552
|
+
`:`<code>${n}</code>`}};ht.setOptions({highlight:function(n,t){if(!t)return Ss.highlightAuto(n).value;const e=Ss.getLanguage(t)?t:"plaintext";return Ss.highlight(e,n).value},breaks:!0}),ht.use({renderer:WT});const ZT={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&ht.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&ht.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},qT=["innerHTML"];function KT(n,t,e,s,r,i){return N(),et("div",{class:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:_t({color:i.color})},[A("div",{innerHTML:i.markedComment},null,8,qT)],4)}const mi=It(ZT,[["render",KT],["__scopeId","data-v-15224042"]]),LS="",_S="",YT={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Pe(["centerOf","messageLayerLeft"]),...Aa(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},XT=["data-belongs-to","data-x-offset","data-debug-center-of"];function QT(n,t,e,s,r,i){const o=ft("block");return N(),et("div",{class:Ft(["occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",{"right-to-left":e.rtl}]),"data-el-type":"occurrence","data-belongs-to":e.participant,"data-x-offset":n.center,"data-debug-center-of":i.computedCenter},[this.context.braceBlock()?(N(),Mt(o,{key:0,context:e.context.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["context","selfCallIndent"])):At("",!0)],10,XT)}const Id=It(YT,[["render",QT],["__scopeId","data-v-054f42d1"]]);class dr{constructor(t,e,s,r){Z(this,"start");Z(this,"stop");this.start={line:t,col:e},this.stop={line:s,col:r}}static from(t){const e=t.start,s=t.stop;return new dr(e.line,e.column,s.line,s.column+s.text.length)}}const Od=mr.child({name:"Creation"}),JT={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Pe(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(r){return r&&r.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const s=n(t.type());return e+(s?":"+s:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)},isInitedFromOccurrence:function(){return this.creation.isInitedFromOccurrence(this.from)}},mounted(){this.layoutMessageContainer(),Od.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),Od.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(dr.from(this.context))}},components:{Participant:Ff,Comment:mi,Occurrence:Id,Message:di}},tw=["data-signature"],ew=["data-to"],nw={ref:"participantPlaceHolder",class:"invisible right-0 flex flex-col justify-center flex-shrink-0"};function sw(n,t,e,s,r,i){const o=ft("comment"),a=ft("message"),l=ft("participant"),c=ft("occurrence");return N(),et("div",{class:Ft(["interaction creation sync text-center transform",{"right-to-left":i.rightToLeft,"-translate-x-full":i.rightToLeft,highlight:i.isCurrent,"inited-from-occurrence":i.isInitedFromOccurrence}]),onClick:t[0]||(t[0]=Gr((...u)=>i.onClick&&i.onClick(...u),["stop"])),"data-signature":i.signature,style:_t({width:i.interactionWidth+"px"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",{ref:"messageContainer",class:Ft(["message-container pointer-events-none flex items-center h-10",{"flex-row-reverse":i.rightToLeft}]),"data-type":"creation","data-to":i.to},[nt(a,{ref:"messageEl",class:"invocation w-full transform -translate-y-1/2 pointer-events-auto",content:i.signature,rtl:i.rightToLeft,type:"creation"},null,8,["content","rtl"]),A("div",nw,[nt(l,{entity:{name:i.to}},null,8,["entity"])],512)],10,ew),nt(c,{context:i.creation,class:"pointer-events-auto",participant:i.to},null,8,["context","participant"]),i.assignee?(N(),Mt(a,{key:1,class:"return transform -translate-y-full pointer-events-auto",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):At("",!0)],14,tw)}const rw=It(JT,[["render",sw]]),iw={name:"self-invocation",props:["content","assignee"]},ow={class:"message self text-sm flex items-start",style:{"border-width":"0"}},aw=A("svg",{class:"arrow text-skin-message-arrow",width:"30",height:"24"},[A("polyline",{class:"line stroke-current fill-none stroke-2",points:"0,2 28,2 28,15 14,15"}),A("polyline",{class:"head stroke-current fill-current stroke-2",points:"18,9 8,15 18,21"})],-1),lw={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},cw={key:0};function uw(n,t,e,s,r,i){return N(),et("div",ow,[aw,A("label",lw,[e.assignee?(N(),et("span",cw,Yt(e.assignee)+" = ",1)):At("",!0),Ls(" "+Yt(e.content),1)])])}const hw=It(iw,[["render",uw]]),yS="",fw={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Pe(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),s=this.selfCallIndent||0;return e+0-s},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof sy},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"},isInitedFromOccurrence:function(){var n;return(n=this.message)==null?void 0:n.isInitedFromOccurrence(this.from)}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Message:di,SelfInvocation:hw,Comment:mi,Occurrence:Id}},dw=["data-to","data-signature"];function pw(n,t,e,s,r,i){const o=ft("comment"),a=ft("occurrence"),l=ft("message");return N(),et("div",{class:Ft(["interaction sync inline-block",{highlight:i.isCurrent,self:i.isSelf,"inited-from-occurrence":i.isInitedFromOccurrence}]),onClick:t[0]||(t[0]=Gr((...c)=>i.onClick&&i.onClick(...c),["stop"])),"data-to":i.to,"data-type":"interaction","data-signature":i.signature,style:_t({width:!i.isSelf&&i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[i.showStarter&&i.isRootBlock||i.outOfBand?(N(),et("div",{key:0,class:Ft(["occurrence source border-2",{"right-to-left":i.rightToLeft}])},null,2)):At("",!0),i.hasComment?(N(),Mt(o,{key:1,commentObj:e.commentObj},null,8,["commentObj"])):At("",!0),(N(),Mt(Fr(i.invocation),{class:"text-center",color:i.color,content:i.signature,assignee:i.assignee,rtl:i.rightToLeft,type:"sync"},null,8,["color","content","assignee","rtl"])),nt(a,{context:i.message,participant:i.to,selfCallIndent:i.passOnOffset,rtl:i.rightToLeft},null,8,["context","participant","selfCallIndent","rtl"]),i.assignee&&!i.isSelf?(N(),Mt(l,{key:2,class:"return transform -translate-y-full",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):At("",!0)],14,dw)}const gw=It(fw,[["render",pw],["__scopeId","data-v-05daaa2d"]]),CS="",mw={name:"self-invocation-async",props:["content"]},xw=n=>(is("data-v-25f755f6"),n=n(),os(),n),Lw={class:"message self flex items-start",style:{"border-width":"0"}},_w=xw(()=>A("svg",{class:"arrow text-skin-message-arrow",width:"34",height:"34"},[A("polyline",{class:"stroke-current stroke-2 fill-none",points:"0,2 28,2 28,25 1,25"}),A("polyline",{class:"head stroke-current stroke-2 fill-none",points:"11,19 1,25 11,31"})],-1)),yw={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"};function Cw(n,t,e,s,r,i){return N(),et("div",Lw,[_w,A("label",yw,Yt(e.content),1)])}const Ew=It(mw,[["render",Cw],["__scopeId","data-v-25f755f6"]]),ES="";function Ac(n){return n==null}const bw={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Pe(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return Ac(this.cursor)||Ac(n)||Ac(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Comment:mi,SelfInvocationAsync:Ew,Message:di}},Tw=["data-signature"];function ww(n,t,e,s,r,i){const o=ft("comment");return N(),et("div",{class:Ft(["interaction async",{"right-to-left":i.rightToLeft,highlight:i.isCurrent,"self-invocation":i.isSelf}]),onClick:t[0]||(t[0]=Gr((...a)=>i.onClick&&i.onClick(...a),["stop"])),"data-signature":i.signature,style:_t({width:i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),(N(),Mt(Fr(i.invocation),{content:i.signature,rtl:i.rightToLeft,type:"async"},null,8,["content","rtl"]))],14,Tw)}const vw=It(bw,[["render",ww],["__scopeId","data-v-eb21ece9"]]),bS="",Aw={props:["label","collapsed"],emits:["click"]},Sw={class:"collapsible-header"},Rw={class:"p-0 mb-0"},kw=[Ur('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-b41acdfc></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-b41acdfc></g><g id="SVGRepo_iconCarrier" data-v-b41acdfc><line x1="14" y1="10" x2="21" y2="3" data-v-b41acdfc></line><polyline points="20 10 14 10 14 4" data-v-b41acdfc></polyline><line x1="3" y1="21" x2="10" y2="14" data-v-b41acdfc></line><polyline points="4 14 10 14 10 20" data-v-b41acdfc></polyline></g>',3)],Iw=[Ur('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-b41acdfc></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-b41acdfc></g><g id="SVGRepo_iconCarrier" data-v-b41acdfc><title data-v-b41acdfc></title> <g id="Complete" data-v-b41acdfc><g id="expand" data-v-b41acdfc><g data-v-b41acdfc><polyline data-name="Right" fill="none" id="Right-2" points="3 17.3 3 21 6.7 21" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" data-v-b41acdfc></polyline> <line fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" x1="10" x2="3.8" y1="14" y2="20.2" data-v-b41acdfc></line> <line fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" x1="14" x2="20.2" y1="10" y2="3.8" data-v-b41acdfc></line> <polyline data-name="Right" fill="none" id="Right-3" points="21 6.7 21 3 17.3 3" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" data-v-b41acdfc></polyline></g></g></g></g>',3)];function Ow(n,t,e,s,r,i){return N(),et("div",Sw,[A("label",Rw,Yt(e.label),1),(N(),et("svg",{width:"16px",height:"16px",class:Ft([{hidden:e.collapsed,expanded:!e.collapsed},"collapse-button cursor-pointer"]),onClick:t[0]||(t[0]=o=>n.$emit("click",o)),viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#000000","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"miter"},kw,2)),(N(),et("svg",{width:"16px",height:"16px",viewBox:"0 0 24 24",class:Ft([{hidden:!e.collapsed},"cursor-pointer"]),onClick:t[1]||(t[1]=o=>n.$emit("click",o)),xmlns:"http://www.w3.org/2000/svg",fill:"#000000"},Iw,2))])}const Nw=It(Aw,[["render",Ow],["__scopeId","data-v-b41acdfc"]]),xi={computed:{...Pe(["coordinates"]),offsetX:function(){const n=this.coordinates.orderedParticipantNames(),e=new lc(n).getFrame(this.context),s=uc(e),r=[this.context.Origin(),...ur(this.context).Names()],i=n.find(a=>r.includes(a));let o=mn.half(In,i);return console.debug(`left participant: ${i} ${o}`),this.coordinates.distance(i,this.from)+s.left+o},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:Uf(this.context,this.coordinates)+"px"}}},data:function(){return{collapsed:!1}},methods:{toggle(n){this.collapsed=!this.collapsed,kf.$emit("participant_set_top")}},components:{CollapseButton:Nw},watch:{context(n){this.collapsed&&(this.collapsed=!1)}}},vS="",Pw={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[xi],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},Nd=n=>(is("data-v-125017f4"),n=n(),os(),n),Mw={class:"segment"},Fw={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},Dw={class:"name font-semibold p-1 border-b"},Bw={class:"segment"},$w={class:"text-skin-fragment"},Uw={class:"condition p-1"},Hw=Nd(()=>A("label",{class:"else-if hidden"},"else if",-1)),Vw={class:"condition p-1"},Gw={key:0,class:"segment mt-2 border-t border-solid"},jw=Nd(()=>A("div",{class:"text-skin-fragment"},[A("label",{class:"p-1"},"[else]")],-1));function zw(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment alt border-skin-fragment rounded",style:_t(n.fragmentStyle)},[A("div",Mw,[e.comment?(N(),Mt(o,{key:0,comment:e.comment,commentObj:e.commentObj},null,8,["comment","commentObj"])):At("",!0),A("div",Fw,[A("div",Dw,[nt(a,{label:"Alt",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",Bw,[A("div",$w,[A("label",Uw,"["+Yt(i.condition)+"]",1)]),i.blockInIfBlock?(N(),Mt(l,{key:0,style:_t({paddingLeft:`${n.offsetX}px`}),context:i.blockInIfBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):At("",!0)]),(N(!0),et(Ht,null,wn(i.alt.elseIfBlock(),(c,u)=>(N(),et("div",{key:u+500,class:"segment mt-2 border-t border-solid"},[(N(),et("div",{class:"text-skin-fragment",key:u+1e3},[Hw,A("label",Vw,"["+Yt(i.conditionFromIfElseBlock(c))+"]",1)])),(N(),Mt(l,{style:_t({paddingLeft:`${n.offsetX}px`}),context:i.blockInElseIfBlock(c),selfCallIndent:e.selfCallIndent,key:u+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.elseBlock?(N(),et("div",Gw,[jw,nt(l,{style:_t({paddingLeft:`${n.offsetX}px`}),context:i.elseBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):At("",!0)],2)],4)}const Ww=It(Pw,[["render",zw],["__scopeId","data-v-125017f4"]]),AS="",SS="",Zw={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},qw={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},Kw={class:"name font-semibold p-1 border-b"};function Yw(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment par border-skin-fragment rounded",style:_t(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",qw,[A("div",Kw,[nt(a,{label:"Par",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),nt(l,{class:Ft({hidden:n.collapsed}),style:_t({paddingLeft:`${n.offsetX}px`}),context:i.par.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["class","style","context","selfCallIndent"])],4)}const Xw=It(Zw,[["render",Yw],["__scopeId","data-v-4545e2e3"]]),RS="",Qw={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},Jw={class:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},tv={class:"name font-semibold p-1 border-b"},ev={class:"segment"},nv={class:"text-skin-fragment"},sv={class:"condition p-1"};function rv(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment loop border-skin-fragment rounded",style:_t(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",Jw,[A("div",tv,[nt(a,{label:"Loop",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",ev,[A("div",nv,[A("label",sv,"["+Yt(i.condition)+"]",1)]),nt(l,{style:_t({paddingLeft:`${n.offsetX}px`}),context:i.blockInLoop,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])],2)],4)}const iv=It(Qw,[["render",rv],["__scopeId","data-v-771edb8e"]]),kS="",ov={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},av={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},lv={class:"name font-semibold p-1 border-b"};function cv(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment opt border-skin-fragment rounded",style:_t(n.fragmentStyle)},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",av,[A("div",lv,[nt(a,{label:"Opt",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])]),nt(l,{class:Ft({hidden:n.collapsed}),style:_t({paddingLeft:`${n.offsetX}px`}),context:i.opt.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["class","style","context","selfCallIndent"])],4)}const uv=It(ov,[["render",cv],["__scopeId","data-v-06cc8e56"]]),IS="",hv={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[xi],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},Pd=n=>(is("data-v-1ae75b06"),n=n(),os(),n),fv={class:"segment"},dv={class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},pv={class:"name font-semibold p-1 border-b"},gv={class:"segment"},mv=Pd(()=>A("label",{class:"keyword catch p-1"},"catch",-1)),xv={class:"exception p-1"},Lv={key:0,class:"segment mt-2 border-t border-solid"},_v=Pd(()=>A("div",{class:"header text-skin-fragment finally"},[A("label",{class:"keyword finally p-1"},"finally")],-1));function yv(n,t,e,s,r,i){const o=ft("comment"),a=ft("collapse-button"),l=ft("block");return N(),et("div",{class:"fragment tcf border-skin-fragment rounded",style:_t(n.fragmentStyle)},[A("div",fv,[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),A("div",dv,[A("div",pv,[nt(a,{label:"Try",collapsed:n.collapsed,onClick:this.toggle},null,8,["collapsed","onClick"])])])]),A("div",{class:Ft({hidden:n.collapsed})},[A("div",gv,[i.blockInTryBlock?(N(),Mt(l,{key:0,style:_t({paddingLeft:`${n.offsetX}px`}),context:i.blockInTryBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):At("",!0)]),(N(!0),et(Ht,null,wn(i.tcf.catchBlock(),(c,u)=>(N(),et("div",{key:u+500,class:"segment mt-2 border-t border-solid"},[(N(),et("div",{class:"header text-skin-fragment",key:u+1e3},[mv,A("label",xv,Yt(i.exception(c)),1)])),(N(),Mt(l,{style:_t({paddingLeft:`${n.offsetX}px`}),context:i.blockInCatchBlock(c),selfCallIndent:e.selfCallIndent,key:u+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.finallyBlock?(N(),et("div",Lv,[_v,nt(l,{style:_t({paddingLeft:`${n.offsetX}px`}),context:i.finallyBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):At("",!0)],2)],4)}const Cv=It(hv,[["render",yv],["__scopeId","data-v-1ae75b06"]]),Ev={name:"return",props:["context","comment"],computed:{...Pe(["distance","cursor","onElementClick","participants"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?In(this.signature,Kn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,s,r;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((r=(s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.expr())==null?void 0:r.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,s;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target},isReturnToStart(){return this.target===this.participants.Starter().name}},methods:{onClick(){this.onElementClick(dr.from(this.context))}},components:{Comment:mi,Message:di}},bv=["data-signature"],Tv={key:1,class:"flex items-center"},wv=A("svg",{class:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512"},[A("path",{class:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),A("path",{class:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})],-1),vv={class:"name text-sm"};function Av(n,t,e,s,r,i){const o=ft("comment"),a=ft("Message");return N(),et("div",{class:Ft(["interaction return relative",{"right-to-left":i.rightToLeft,highlight:i.isCurrent,"return-to-start":i.isReturnToStart}]),onClick:t[0]||(t[0]=Gr((...l)=>i.onClick&&i.onClick(...l),["stop"])),"data-signature":i.signature,style:_t({width:i.width+"px",left:i.left+"px"})},[e.comment?(N(),Mt(o,{key:0,comment:e.comment},null,8,["comment"])):At("",!0),i.isSelf?(N(),et("div",Tv,[wv,A("span",vv,Yt(i.signature),1)])):At("",!0),i.isSelf?At("",!0):(N(),Mt(a,{key:2,content:i.signature,rtl:i.rightToLeft,type:"return"},null,8,["content","rtl"]))],14,bv)}const Sv=It(Ev,[["render",Av]]),OS="",Rv={name:"divider",props:["context"],computed:{...Pe(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},Md=n=>(is("data-v-9e567e69"),n=n(),os(),n),kv=Md(()=>A("div",{class:"left bg-skin-divider"},null,-1)),Iv={class:"name"},Ov=Md(()=>A("div",{class:"right bg-skin-divider"},null,-1));function Nv(n,t,e,s,r,i){return N(),et("div",{class:"divider",style:_t({width:i.width+"px",transform:"translateX("+(-1*i.centerOfFrom+10)+"px)"})},[kv,A("div",Iv,Yt(i.name),1),Ov],4)}const Pv=It(Rv,[["render",Nv],["__scopeId","data-v-9e567e69"]]);class Mv{constructor(t){Z(this,"text");Z(this,"color");const e=t.split(`
|
|
553
553
|
`);this.color=e.find(r=>r.trimStart().startsWith("[red]"))?"red":void 0;const s=e.map(r=>r.replace("[red]",""));this.text=s.join(`
|
|
554
|
-
`),this.text=this.text.trimEnd()}}const
|
|
554
|
+
`),this.text=this.text.trimEnd()}}const Fv={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new Mv(this.comment)},subStatement:function(){let n=this,t={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},e=Object.keys(t).find(s=>n.context[s]()!==null);return t[e]}},components:{Creation:rw,Interaction:gw,InteractionAsync:vw,FragmentAlt:Ww,FragmentPar:Xw,FragmentOpt:uv,FragmentTryCatchFinally:Cv,FragmentLoop:iv,Divider:Pv,Return:Sv}};function Dv(n,t,e,s,r,i){return N(),Mt(Fr(i.subStatement),{class:"text-left text-sm text-skin-message",context:e.context,comment:i.comment,commentObj:i.commentObj,selfCallIndent:e.selfCallIndent},null,8,["context","comment","commentObj","selfCallIndent"])}const Bv={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:It(Fv,[["render",Dv]])}},$v={class:"block"};function Uv(n,t,e,s,r,i){const o=ft("statement");return N(),et("div",$v,[(N(!0),et(Ht,null,wn(i.statements,(a,l)=>(N(),et("div",{class:"statement-container mt-1",key:l},[nt(o,{context:a,selfCallIndent:e.selfCallIndent},null,8,["context","selfCallIndent"])]))),128))])}const Hv=It(Bv,[["render",Uv]]),Vv=mr.child({name:"core"});class Gv{constructor(t,e=!1){Z(this,"el");Z(this,"_code");Z(this,"_theme");Z(this,"store");Z(this,"app");this.el=t,this.store=Sh(Rf()),this.app=Zr(e?hc:sd),this.app.component("Comment",mi),this.app.component("Block",Hv),this.app.use(this.store),this.app.mount(this.el)}async render(t,e){return Vv.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.theme=this._theme||"default",await this.store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.el.children[0].__vue__.toPng()}}const jv={createApp:Zr,createStore:Sh,Store:Rf,SeqDiagram:hc,DiagramFrame:sd};ke.VueSequence=jv,ke.default=Gv,Object.defineProperties(ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
555
555
|
//# sourceMappingURL=zenuml.js.map
|