@zenuml/core 3.44.0 → 3.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/stats.html +1 -1
- package/dist/zenuml.esm.mjs +1478 -1452
- package/dist/zenuml.js +12 -12
- package/package.json +1 -1
package/dist/zenuml.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var zl;function up(){if(zl)return I8;zl=1;var o=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(n,r,L){var c=null;if(L!==void 0&&(c=""+L),r.key!==void 0&&(c=""+r.key),"key"in r){L={};for(var u in r)u!=="key"&&(L[u]=r[u])}else L=r;return r=L.ref,{$$typeof:o,type:n,key:c,ref:r!==void 0?r:null,props:L}}return I8.Fragment=e,I8.jsx=t,I8.jsxs=t,I8}var Pl;function dp(){return Pl||(Pl=1,t0.exports=up()),t0.exports}var x=dp(),O8={exports:{}},dn,Dl;function hp(){if(Dl)return dn;Dl=1;function o(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}dn=e;function e(t,n,r){var L=r&&r.stringify||o,c=1;if(typeof t=="object"&&t!==null){var u=n.length+c;if(u===1)return t;var d=new Array(u);d[0]=L(t);for(var f=1;f<u;f++)d[f]=L(n[f]);return d.join(" ")}if(typeof t!="string")return t;var g=n.length;if(g===0)return t;for(var p="",m=1-c,w=-1,A=t&&t.length||0,y=0;y<A;){if(t.charCodeAt(y)===37&&y+1<A){switch(w=w>-1?w:0,t.charCodeAt(y+1)){case 100:case 102:if(m>=g||n[m]==null)break;w<y&&(p+=t.slice(w,y)),p+=Number(n[m]),w=y+2,y++;break;case 105:if(m>=g||n[m]==null)break;w<y&&(p+=t.slice(w,y)),p+=Math.floor(Number(n[m])),w=y+2,y++;break;case 79:case 111:case 106:if(m>=g||n[m]===void 0)break;w<y&&(p+=t.slice(w,y));var Z=typeof n[m];if(Z==="string"){p+="'"+n[m]+"'",w=y+2,y++;break}if(Z==="function"){p+=n[m].name||"<anonymous>",w=y+2,y++;break}p+=L(n[m]),w=y+2,y++;break;case 115:if(m>=g)break;w<y&&(p+=t.slice(w,y)),p+=String(n[m]),w=y+2,y++;break;case 37:w<y&&(p+=t.slice(w,y)),p+="%",w=y+2,y++,m--;break}++m}++y}return w===-1?t:(w<A&&(p+=t.slice(w)),p)}return dn}var Nl;function fp(){if(Nl)return O8.exports;Nl=1;const o=hp();O8.exports=g;const e=D2().console||{},t={mapHttpRequest:H,mapHttpResponse:H,wrapRequestSerializer:Q,wrapResponseSerializer:Q,wrapErrorSerializer:Q,req:H,res:H,err:F,errWithCause:F};function n($,T){return $==="silent"?1/0:T.levels.values[$]}const r=Symbol("pino.logFuncs"),L=Symbol("pino.hierarchy"),c={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function u($,T){const U={logger:T,parent:$[L]};T[L]=U}function d($,T,U){const B={};T.forEach(g2=>{B[g2]=U[g2]?U[g2]:e[g2]||e[c[g2]||"log"]||n2}),$[r]=B}function f($,T){return Array.isArray($)?$.filter(function(B){return B!=="!stdSerializers.err"}):$===!0?Object.keys(T):!1}function g($){$=$||{},$.browser=$.browser||{};const T=$.browser.transmit;if(T&&typeof T.send!="function")throw Error("pino: transmit option must have a send function");const U=$.browser.write||e;$.browser.write&&($.browser.asObject=!0);const B=$.serializers||{},g2=f($.browser.serialize,B);let R=$.browser.serialize;Array.isArray($.browser.serialize)&&$.browser.serialize.indexOf("!stdSerializers.err")>-1&&(R=!1);const J=Object.keys($.customLevels||{}),i2=["error","fatal","warn","info","debug","trace"].concat(J);typeof U=="function"&&i2.forEach(function(v1){U[v1]=U}),($.enabled===!1||$.browser.disabled)&&($.level="silent");const V=$.level||"info",e2=Object.create(U);e2.log||(e2.log=n2),d(e2,i2,U),u({},e2),Object.defineProperty(e2,"levelVal",{get:v2}),Object.defineProperty(e2,"level",{get:N2,set:Y2});const _2={transmit:T,serialize:g2,asObject:$.browser.asObject,formatters:$.browser.formatters,levels:i2,timestamp:t2($)};e2.levels=p($),e2.level=V,e2.setMaxListeners=e2.getMaxListeners=e2.emit=e2.addListener=e2.on=e2.prependListener=e2.once=e2.prependOnceListener=e2.removeListener=e2.removeAllListeners=e2.listeners=e2.listenerCount=e2.eventNames=e2.write=e2.flush=n2,e2.serializers=B,e2._serialize=g2,e2._stdErrSerialize=R,e2.child=R1,T&&(e2._logEvent=O());function v2(){return n(this.level,this)}function N2(){return this._level}function Y2(v1){if(v1!=="silent"&&!this.levels.values[v1])throw Error("unknown level "+v1);this._level=v1,A(this,_2,e2,"error"),A(this,_2,e2,"fatal"),A(this,_2,e2,"warn"),A(this,_2,e2,"info"),A(this,_2,e2,"debug"),A(this,_2,e2,"trace"),J.forEach(J1=>{A(this,_2,e2,J1)})}function R1(v1,J1){if(!v1)throw new Error("missing bindings for child Pino");J1=J1||{},g2&&v1.serializers&&(J1.serializers=v1.serializers);const e3=J1.serializers;if(g2&&e3){var V3=Object.assign({},B,e3),I3=$.browser.serialize===!0?Object.keys(V3):g2;delete v1.serializers,D([v1],I3,V3,this._stdErrSerialize)}function h9(U1){this._childLevel=(U1._childLevel|0)+1,this.bindings=v1,V3&&(this.serializers=V3,this._serialize=I3),T&&(this._logEvent=O([].concat(U1._logEvent.bindings,v1)))}h9.prototype=this;const z4=new h9(this);return u(this,z4),z4.level=this.level,z4}return e2}function p($){const T=$.customLevels||{},U=Object.assign({},g.levels.values,T),B=Object.assign({},g.levels.labels,m(T));return{values:U,labels:B}}function m($){const T={};return Object.keys($).forEach(function(U){T[$[U]]=U}),T}g.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"}},g.stdSerializers=t,g.stdTimeFunctions=Object.assign({},{nullTime:L2,epochTime:r2,unixTime:C2,isoTime:x2});function w($){const T=[];$.bindings&&T.push($.bindings);let U=$[L];for(;U.parent;)U=U.parent,U.logger.bindings&&T.push(U.logger.bindings);return T.reverse()}function A($,T,U,B){if(Object.defineProperty($,B,{value:n($.level,U)>n(B,U)?n2:U[r][B],writable:!0,enumerable:!0,configurable:!0}),!T.transmit&&$[B]===n2)return;$[B]=Z($,T,U,B);const g2=w($);g2.length!==0&&($[B]=y(g2,$[B]))}function y($,T){return function(){return T.apply(this,[...$,...arguments])}}function Z($,T,U,B){return(function(g2){return function(){const J=T.timestamp(),i2=new Array(arguments.length),V=Object.getPrototypeOf&&Object.getPrototypeOf(this)===e?e:this;for(var e2=0;e2<i2.length;e2++)i2[e2]=arguments[e2];if(T.serialize&&!T.asObject&&D(i2,this._serialize,this.serializers,this._stdErrSerialize),T.asObject||T.formatters?g2.call(V,k(this,B,i2,J,T.formatters)):g2.apply(V,i2),T.transmit){const _2=T.transmit.level||$._level,v2=U.levels.values[_2],N2=U.levels.values[B];if(N2<v2)return;z(this,{ts:J,methodLevel:B,methodValue:N2,transmitValue:U.levels.values[T.transmit.level||$._level],send:T.transmit.send,val:n($._level,U)},i2)}}})($[r][B])}function k($,T,U,B,g2={}){const{level:R=()=>$.levels.values[T],log:J=N2=>N2}=g2;$._serialize&&D(U,$._serialize,$.serializers,$._stdErrSerialize);const i2=U.slice();let V=i2[0];const e2={};B&&(e2.time=B),e2.level=R(T,$.levels.values[T]);let _2=($._childLevel|0)+1;if(_2<1&&(_2=1),V!==null&&typeof V=="object"){for(;_2--&&typeof i2[0]=="object";)Object.assign(e2,i2.shift());V=i2.length?o(i2.shift(),i2):void 0}else typeof V=="string"&&(V=o(i2.shift(),i2));return V!==void 0&&(e2.msg=V),J(e2)}function D($,T,U,B){for(const g2 in $)if(B&&$[g2]instanceof Error)$[g2]=g.stdSerializers.err($[g2]);else if(typeof $[g2]=="object"&&!Array.isArray($[g2]))for(const R in $[g2])T&&T.indexOf(R)>-1&&R in U&&($[g2][R]=U[R]($[g2][R]))}function z($,T,U){const B=T.send,g2=T.ts,R=T.methodLevel,J=T.methodValue,i2=T.val,V=$._logEvent.bindings;D(U,$._serialize||Object.keys($.serializers),$.serializers,$._stdErrSerialize===void 0?!0:$._stdErrSerialize),$._logEvent.ts=g2,$._logEvent.messages=U.filter(function(e2){return V.indexOf(e2)===-1}),$._logEvent.level.label=R,$._logEvent.level.value=J,B(R,$._logEvent,i2),$._logEvent=O(V)}function O($){return{ts:0,messages:[],bindings:$||[],level:{label:"",value:0}}}function F($){const T={type:$.constructor.name,msg:$.message,stack:$.stack};for(const U in $)T[U]===void 0&&(T[U]=$[U]);return T}function t2($){return typeof $.timestamp=="function"?$.timestamp:$.timestamp===!1?L2:r2}function H(){return{}}function Q($){return $}function n2(){}function L2(){return!1}function r2(){return Date.now()}function C2(){return Math.round(Date.now()/1e3)}function x2(){return new Date(Date.now()).toISOString()}function D2(){function $(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 $(self)||$(window)||$(this)||{}}}return O8.exports.default=g,O8.exports.pino=g,O8.exports}var gp=fp();const pp=Y1(gp)({level:"warn"}),Fl=["log","trace","debug","info","warn","error"];function _p(o,e){o[e]=(console[e]||console.log).bind(console)}function mp(o,e,t){o[e]=(console[e]||console.log).bind(console,t[0],t[1])}function vp(o){Fl.forEach(t=>_p(o,t));const e=o.child;return o.child=function(t){const n=e.call(o,t);return Fl.forEach(r=>mp(n,r,["%c"+t.name||"","color: #00f"])),n},o}const Bl=vp(pp),z8={},jl=(o,e)=>o.unstable_is?o.unstable_is(e):e===o,Wl=o=>"init"in o,hn=o=>!!o.write,Ul=o=>"v"in o||"e"in o,A7=o=>{if("e"in o)throw o.e;if((z8?"production":void 0)!=="production"&&!("v"in o))throw new Error("[Bug] atom state is not initialized");return o.v},R7=new WeakMap,Hl=o=>{var e;return b7(o)&&!!((e=R7.get(o))!=null&&e[0])},xp=o=>{const e=R7.get(o);e!=null&&e[0]&&(e[0]=!1,e[1].forEach(t=>t()))},$l=(o,e)=>{let t=R7.get(o);if(!t){t=[!0,new Set],R7.set(o,t);const n=()=>{t[0]=!1};o.then(n,n)}t[1].add(e)},b7=o=>typeof(o==null?void 0:o.then)=="function",Gl=(o,e,t)=>{t.p.has(o)||(t.p.add(o),e.then(()=>{t.p.delete(o)},()=>{t.p.delete(o)}))},fn=(o,e,t)=>{const n=t(o),r="v"in n,L=n.v;if(b7(e))for(const c of n.d.keys())Gl(o,e,t(c));n.v=e,delete n.e,(!r||!Object.is(L,n.v))&&(++n.n,b7(L)&&xp(L))},Vl=(o,e,t)=>{var n;const r=new Set;for(const L of((n=t.get(o))==null?void 0:n.t)||[])t.has(L)&&r.add(L);for(const L of e.p)r.add(L);return r},wp=Symbol(),Mp=(o=new WeakMap,e=new WeakMap,t=new WeakMap,n=new Set,r=new Set,L=new Set,c={},u=(m,...w)=>m.read(...w),d=(m,...w)=>m.write(...w),f=(m,w)=>{var A;return(A=m.unstable_onInit)==null?void 0:A.call(m,w)},g=(m,w)=>{var A;return(A=m.onMount)==null?void 0:A.call(m,w)},...p)=>{const m=p[0]||(H=>{if((z8?"production":void 0)!=="production"&&!H)throw new Error("Atom is undefined or null");let Q=o.get(H);return Q||(Q={d:new Map,p:new Set,n:0},o.set(H,Q),f==null||f(H,t2)),Q}),w=p[1]||(()=>{const H=[],Q=n2=>{try{n2()}catch(L2){H.push(L2)}};do{c.f&&Q(c.f);const n2=new Set,L2=n2.add.bind(n2);n.forEach(r2=>{var C2;return(C2=e.get(r2))==null?void 0:C2.l.forEach(L2)}),n.clear(),L.forEach(L2),L.clear(),r.forEach(L2),r.clear(),n2.forEach(Q),n.size&&A()}while(n.size||L.size||r.size);if(H.length)throw new AggregateError(H)}),A=p[2]||(()=>{const H=[],Q=new WeakSet,n2=new WeakSet,L2=Array.from(n);for(;L2.length;){const r2=L2[L2.length-1],C2=m(r2);if(n2.has(r2)){L2.pop();continue}if(Q.has(r2)){if(t.get(r2)===C2.n)H.push([r2,C2]);else if((z8?"production":void 0)!=="production"&&t.has(r2))throw new Error("[Bug] invalidated atom exists");n2.add(r2),L2.pop();continue}Q.add(r2);for(const x2 of Vl(r2,C2,e))Q.has(x2)||L2.push(x2)}for(let r2=H.length-1;r2>=0;--r2){const[C2,x2]=H[r2];let D2=!1;for(const $ of x2.d.keys())if($!==C2&&n.has($)){D2=!0;break}D2&&(y(C2),D(C2)),t.delete(C2)}}),y=p[3]||(H=>{var Q;const n2=m(H);if(Ul(n2)&&(e.has(H)&&t.get(H)!==n2.n||Array.from(n2.d).every(([U,B])=>y(U).n===B)))return n2;n2.d.clear();let L2=!0;const r2=()=>{e.has(H)&&(D(H),A(),w())},C2=U=>{var B;if(jl(H,U)){const R=m(U);if(!Ul(R))if(Wl(U))fn(U,U.init,m);else throw new Error("no atom init");return A7(R)}const g2=y(U);try{return A7(g2)}finally{n2.d.set(U,g2.n),Hl(n2.v)&&Gl(H,n2.v,g2),(B=e.get(U))==null||B.t.add(H),L2||r2()}};let x2,D2;const $={get signal(){return x2||(x2=new AbortController),x2.signal},get setSelf(){return(z8?"production":void 0)!=="production"&&!hn(H)&&console.warn("setSelf function cannot be used with read-only atom"),!D2&&hn(H)&&(D2=(...U)=>{if((z8?"production":void 0)!=="production"&&L2&&console.warn("setSelf function cannot be called in sync"),!L2)try{return k(H,...U)}finally{A(),w()}}),D2}},T=n2.n;try{const U=u(H,C2,$);return fn(H,U,m),b7(U)&&($l(U,()=>x2==null?void 0:x2.abort()),U.then(r2,r2)),n2}catch(U){return delete n2.v,n2.e=U,++n2.n,n2}finally{L2=!1,T!==n2.n&&t.get(H)===T&&(t.set(H,n2.n),n.add(H),(Q=c.c)==null||Q.call(c,H))}}),Z=p[4]||(H=>{const Q=[H];for(;Q.length;){const n2=Q.pop(),L2=m(n2);for(const r2 of Vl(n2,L2,e)){const C2=m(r2);t.set(r2,C2.n),Q.push(r2)}}}),k=p[5]||((H,...Q)=>{let n2=!0;const L2=C2=>A7(y(C2)),r2=(C2,...x2)=>{var D2;const $=m(C2);try{if(jl(H,C2)){if(!Wl(C2))throw new Error("atom not writable");const T=$.n,U=x2[0];fn(C2,U,m),D(C2),T!==$.n&&(n.add(C2),(D2=c.c)==null||D2.call(c,C2),Z(C2));return}else return k(C2,...x2)}finally{n2||(A(),w())}};try{return d(H,L2,r2,...Q)}finally{n2=!1}}),D=p[6]||(H=>{var Q;const n2=m(H),L2=e.get(H);if(L2&&!Hl(n2.v)){for(const[r2,C2]of n2.d)if(!L2.d.has(r2)){const x2=m(r2);z(r2).t.add(H),L2.d.add(r2),C2!==x2.n&&(n.add(r2),(Q=c.c)==null||Q.call(c,r2),Z(r2))}for(const r2 of L2.d||[])if(!n2.d.has(r2)){L2.d.delete(r2);const C2=O(r2);C2==null||C2.t.delete(H)}}}),z=p[7]||(H=>{var Q;const n2=m(H);let L2=e.get(H);if(!L2){y(H);for(const r2 of n2.d.keys())z(r2).t.add(H);if(L2={l:new Set,d:new Set(n2.d.keys()),t:new Set},e.set(H,L2),(Q=c.m)==null||Q.call(c,H),hn(H)){const r2=()=>{let C2=!0;const x2=(...D2)=>{try{return k(H,...D2)}finally{C2||(A(),w())}};try{const D2=g(H,x2);D2&&(L2.u=()=>{C2=!0;try{D2()}finally{C2=!1}})}finally{C2=!1}};r.add(r2)}}return L2}),O=p[8]||(H=>{var Q;const n2=m(H);let L2=e.get(H);if(L2&&!L2.l.size&&!Array.from(L2.t).some(r2=>{var C2;return(C2=e.get(r2))==null?void 0:C2.d.has(H)})){L2.u&&L.add(L2.u),L2=void 0,e.delete(H),(Q=c.u)==null||Q.call(c,H);for(const r2 of n2.d.keys()){const C2=O(r2);C2==null||C2.t.delete(H)}return}return L2}),F=[o,e,t,n,r,L,c,u,d,f,g,m,w,A,y,Z,k,D,z,O],t2={get:H=>A7(y(H)),set:(H,...Q)=>{try{return k(H,...Q)}finally{A(),w()}},sub:(H,Q)=>{const L2=z(H).l;return L2.add(Q),w(),()=>{L2.delete(Q),O(H),w()}}};return Object.defineProperty(t2,wp,{value:F}),t2},ql=$l,Yl={};let Sp=0;function Z1(o,e){const t=`atom${++Sp}`,n={toString(){return(Yl?"production":void 0)!=="production"&&this.debugLabel?t+":"+this.debugLabel:t}};return typeof o=="function"?n.read=o:(n.init=o,n.read=yp,n.write=Ap),e&&(n.write=e),n}function yp(o){return o(this)}function Ap(o,e,t){return e(this,typeof t=="function"?t(o(this)):t)}function gn(){return Mp()}let P8;function Rp(){return P8||(P8=gn(),(Yl?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=P8),globalThis.__JOTAI_DEFAULT_STORE__!==P8&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),P8}var pn={exports:{}},X2={};/**
|
|
10
|
+
*/var zl;function up(){if(zl)return I8;zl=1;var o=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(n,r,L){var c=null;if(L!==void 0&&(c=""+L),r.key!==void 0&&(c=""+r.key),"key"in r){L={};for(var u in r)u!=="key"&&(L[u]=r[u])}else L=r;return r=L.ref,{$$typeof:o,type:n,key:c,ref:r!==void 0?r:null,props:L}}return I8.Fragment=e,I8.jsx=t,I8.jsxs=t,I8}var Pl;function dp(){return Pl||(Pl=1,t0.exports=up()),t0.exports}var x=dp(),O8={exports:{}},dn,Dl;function hp(){if(Dl)return dn;Dl=1;function o(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}dn=e;function e(t,n,r){var L=r&&r.stringify||o,c=1;if(typeof t=="object"&&t!==null){var u=n.length+c;if(u===1)return t;var d=new Array(u);d[0]=L(t);for(var f=1;f<u;f++)d[f]=L(n[f]);return d.join(" ")}if(typeof t!="string")return t;var g=n.length;if(g===0)return t;for(var p="",m=1-c,w=-1,A=t&&t.length||0,y=0;y<A;){if(t.charCodeAt(y)===37&&y+1<A){switch(w=w>-1?w:0,t.charCodeAt(y+1)){case 100:case 102:if(m>=g||n[m]==null)break;w<y&&(p+=t.slice(w,y)),p+=Number(n[m]),w=y+2,y++;break;case 105:if(m>=g||n[m]==null)break;w<y&&(p+=t.slice(w,y)),p+=Math.floor(Number(n[m])),w=y+2,y++;break;case 79:case 111:case 106:if(m>=g||n[m]===void 0)break;w<y&&(p+=t.slice(w,y));var Z=typeof n[m];if(Z==="string"){p+="'"+n[m]+"'",w=y+2,y++;break}if(Z==="function"){p+=n[m].name||"<anonymous>",w=y+2,y++;break}p+=L(n[m]),w=y+2,y++;break;case 115:if(m>=g)break;w<y&&(p+=t.slice(w,y)),p+=String(n[m]),w=y+2,y++;break;case 37:w<y&&(p+=t.slice(w,y)),p+="%",w=y+2,y++,m--;break}++m}++y}return w===-1?t:(w<A&&(p+=t.slice(w)),p)}return dn}var Nl;function fp(){if(Nl)return O8.exports;Nl=1;const o=hp();O8.exports=g;const e=D2().console||{},t={mapHttpRequest:H,mapHttpResponse:H,wrapRequestSerializer:Q,wrapResponseSerializer:Q,wrapErrorSerializer:Q,req:H,res:H,err:F,errWithCause:F};function n($,T){return $==="silent"?1/0:T.levels.values[$]}const r=Symbol("pino.logFuncs"),L=Symbol("pino.hierarchy"),c={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function u($,T){const U={logger:T,parent:$[L]};T[L]=U}function d($,T,U){const B={};T.forEach(p2=>{B[p2]=U[p2]?U[p2]:e[p2]||e[c[p2]||"log"]||n2}),$[r]=B}function f($,T){return Array.isArray($)?$.filter(function(B){return B!=="!stdSerializers.err"}):$===!0?Object.keys(T):!1}function g($){$=$||{},$.browser=$.browser||{};const T=$.browser.transmit;if(T&&typeof T.send!="function")throw Error("pino: transmit option must have a send function");const U=$.browser.write||e;$.browser.write&&($.browser.asObject=!0);const B=$.serializers||{},p2=f($.browser.serialize,B);let R=$.browser.serialize;Array.isArray($.browser.serialize)&&$.browser.serialize.indexOf("!stdSerializers.err")>-1&&(R=!1);const J=Object.keys($.customLevels||{}),i2=["error","fatal","warn","info","debug","trace"].concat(J);typeof U=="function"&&i2.forEach(function(v1){U[v1]=U}),($.enabled===!1||$.browser.disabled)&&($.level="silent");const V=$.level||"info",e2=Object.create(U);e2.log||(e2.log=n2),d(e2,i2,U),u({},e2),Object.defineProperty(e2,"levelVal",{get:v2}),Object.defineProperty(e2,"level",{get:N2,set:Y2});const _2={transmit:T,serialize:p2,asObject:$.browser.asObject,formatters:$.browser.formatters,levels:i2,timestamp:t2($)};e2.levels=p($),e2.level=V,e2.setMaxListeners=e2.getMaxListeners=e2.emit=e2.addListener=e2.on=e2.prependListener=e2.once=e2.prependOnceListener=e2.removeListener=e2.removeAllListeners=e2.listeners=e2.listenerCount=e2.eventNames=e2.write=e2.flush=n2,e2.serializers=B,e2._serialize=p2,e2._stdErrSerialize=R,e2.child=R1,T&&(e2._logEvent=O());function v2(){return n(this.level,this)}function N2(){return this._level}function Y2(v1){if(v1!=="silent"&&!this.levels.values[v1])throw Error("unknown level "+v1);this._level=v1,A(this,_2,e2,"error"),A(this,_2,e2,"fatal"),A(this,_2,e2,"warn"),A(this,_2,e2,"info"),A(this,_2,e2,"debug"),A(this,_2,e2,"trace"),J.forEach(J1=>{A(this,_2,e2,J1)})}function R1(v1,J1){if(!v1)throw new Error("missing bindings for child Pino");J1=J1||{},p2&&v1.serializers&&(J1.serializers=v1.serializers);const e3=J1.serializers;if(p2&&e3){var V3=Object.assign({},B,e3),I3=$.browser.serialize===!0?Object.keys(V3):p2;delete v1.serializers,D([v1],I3,V3,this._stdErrSerialize)}function h9(U1){this._childLevel=(U1._childLevel|0)+1,this.bindings=v1,V3&&(this.serializers=V3,this._serialize=I3),T&&(this._logEvent=O([].concat(U1._logEvent.bindings,v1)))}h9.prototype=this;const z4=new h9(this);return u(this,z4),z4.level=this.level,z4}return e2}function p($){const T=$.customLevels||{},U=Object.assign({},g.levels.values,T),B=Object.assign({},g.levels.labels,m(T));return{values:U,labels:B}}function m($){const T={};return Object.keys($).forEach(function(U){T[$[U]]=U}),T}g.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"}},g.stdSerializers=t,g.stdTimeFunctions=Object.assign({},{nullTime:L2,epochTime:r2,unixTime:C2,isoTime:x2});function w($){const T=[];$.bindings&&T.push($.bindings);let U=$[L];for(;U.parent;)U=U.parent,U.logger.bindings&&T.push(U.logger.bindings);return T.reverse()}function A($,T,U,B){if(Object.defineProperty($,B,{value:n($.level,U)>n(B,U)?n2:U[r][B],writable:!0,enumerable:!0,configurable:!0}),!T.transmit&&$[B]===n2)return;$[B]=Z($,T,U,B);const p2=w($);p2.length!==0&&($[B]=y(p2,$[B]))}function y($,T){return function(){return T.apply(this,[...$,...arguments])}}function Z($,T,U,B){return(function(p2){return function(){const J=T.timestamp(),i2=new Array(arguments.length),V=Object.getPrototypeOf&&Object.getPrototypeOf(this)===e?e:this;for(var e2=0;e2<i2.length;e2++)i2[e2]=arguments[e2];if(T.serialize&&!T.asObject&&D(i2,this._serialize,this.serializers,this._stdErrSerialize),T.asObject||T.formatters?p2.call(V,k(this,B,i2,J,T.formatters)):p2.apply(V,i2),T.transmit){const _2=T.transmit.level||$._level,v2=U.levels.values[_2],N2=U.levels.values[B];if(N2<v2)return;z(this,{ts:J,methodLevel:B,methodValue:N2,transmitValue:U.levels.values[T.transmit.level||$._level],send:T.transmit.send,val:n($._level,U)},i2)}}})($[r][B])}function k($,T,U,B,p2={}){const{level:R=()=>$.levels.values[T],log:J=N2=>N2}=p2;$._serialize&&D(U,$._serialize,$.serializers,$._stdErrSerialize);const i2=U.slice();let V=i2[0];const e2={};B&&(e2.time=B),e2.level=R(T,$.levels.values[T]);let _2=($._childLevel|0)+1;if(_2<1&&(_2=1),V!==null&&typeof V=="object"){for(;_2--&&typeof i2[0]=="object";)Object.assign(e2,i2.shift());V=i2.length?o(i2.shift(),i2):void 0}else typeof V=="string"&&(V=o(i2.shift(),i2));return V!==void 0&&(e2.msg=V),J(e2)}function D($,T,U,B){for(const p2 in $)if(B&&$[p2]instanceof Error)$[p2]=g.stdSerializers.err($[p2]);else if(typeof $[p2]=="object"&&!Array.isArray($[p2]))for(const R in $[p2])T&&T.indexOf(R)>-1&&R in U&&($[p2][R]=U[R]($[p2][R]))}function z($,T,U){const B=T.send,p2=T.ts,R=T.methodLevel,J=T.methodValue,i2=T.val,V=$._logEvent.bindings;D(U,$._serialize||Object.keys($.serializers),$.serializers,$._stdErrSerialize===void 0?!0:$._stdErrSerialize),$._logEvent.ts=p2,$._logEvent.messages=U.filter(function(e2){return V.indexOf(e2)===-1}),$._logEvent.level.label=R,$._logEvent.level.value=J,B(R,$._logEvent,i2),$._logEvent=O(V)}function O($){return{ts:0,messages:[],bindings:$||[],level:{label:"",value:0}}}function F($){const T={type:$.constructor.name,msg:$.message,stack:$.stack};for(const U in $)T[U]===void 0&&(T[U]=$[U]);return T}function t2($){return typeof $.timestamp=="function"?$.timestamp:$.timestamp===!1?L2:r2}function H(){return{}}function Q($){return $}function n2(){}function L2(){return!1}function r2(){return Date.now()}function C2(){return Math.round(Date.now()/1e3)}function x2(){return new Date(Date.now()).toISOString()}function D2(){function $(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 $(self)||$(window)||$(this)||{}}}return O8.exports.default=g,O8.exports.pino=g,O8.exports}var gp=fp();const pp=Y1(gp)({level:"warn"}),Fl=["log","trace","debug","info","warn","error"];function _p(o,e){o[e]=(console[e]||console.log).bind(console)}function mp(o,e,t){o[e]=(console[e]||console.log).bind(console,t[0],t[1])}function vp(o){Fl.forEach(t=>_p(o,t));const e=o.child;return o.child=function(t){const n=e.call(o,t);return Fl.forEach(r=>mp(n,r,["%c"+t.name||"","color: #00f"])),n},o}const Bl=vp(pp),z8={},jl=(o,e)=>o.unstable_is?o.unstable_is(e):e===o,Wl=o=>"init"in o,hn=o=>!!o.write,Ul=o=>"v"in o||"e"in o,A7=o=>{if("e"in o)throw o.e;if((z8?"production":void 0)!=="production"&&!("v"in o))throw new Error("[Bug] atom state is not initialized");return o.v},R7=new WeakMap,Hl=o=>{var e;return b7(o)&&!!((e=R7.get(o))!=null&&e[0])},xp=o=>{const e=R7.get(o);e!=null&&e[0]&&(e[0]=!1,e[1].forEach(t=>t()))},$l=(o,e)=>{let t=R7.get(o);if(!t){t=[!0,new Set],R7.set(o,t);const n=()=>{t[0]=!1};o.then(n,n)}t[1].add(e)},b7=o=>typeof(o==null?void 0:o.then)=="function",Gl=(o,e,t)=>{t.p.has(o)||(t.p.add(o),e.then(()=>{t.p.delete(o)},()=>{t.p.delete(o)}))},fn=(o,e,t)=>{const n=t(o),r="v"in n,L=n.v;if(b7(e))for(const c of n.d.keys())Gl(o,e,t(c));n.v=e,delete n.e,(!r||!Object.is(L,n.v))&&(++n.n,b7(L)&&xp(L))},Vl=(o,e,t)=>{var n;const r=new Set;for(const L of((n=t.get(o))==null?void 0:n.t)||[])t.has(L)&&r.add(L);for(const L of e.p)r.add(L);return r},wp=Symbol(),Mp=(o=new WeakMap,e=new WeakMap,t=new WeakMap,n=new Set,r=new Set,L=new Set,c={},u=(m,...w)=>m.read(...w),d=(m,...w)=>m.write(...w),f=(m,w)=>{var A;return(A=m.unstable_onInit)==null?void 0:A.call(m,w)},g=(m,w)=>{var A;return(A=m.onMount)==null?void 0:A.call(m,w)},...p)=>{const m=p[0]||(H=>{if((z8?"production":void 0)!=="production"&&!H)throw new Error("Atom is undefined or null");let Q=o.get(H);return Q||(Q={d:new Map,p:new Set,n:0},o.set(H,Q),f==null||f(H,t2)),Q}),w=p[1]||(()=>{const H=[],Q=n2=>{try{n2()}catch(L2){H.push(L2)}};do{c.f&&Q(c.f);const n2=new Set,L2=n2.add.bind(n2);n.forEach(r2=>{var C2;return(C2=e.get(r2))==null?void 0:C2.l.forEach(L2)}),n.clear(),L.forEach(L2),L.clear(),r.forEach(L2),r.clear(),n2.forEach(Q),n.size&&A()}while(n.size||L.size||r.size);if(H.length)throw new AggregateError(H)}),A=p[2]||(()=>{const H=[],Q=new WeakSet,n2=new WeakSet,L2=Array.from(n);for(;L2.length;){const r2=L2[L2.length-1],C2=m(r2);if(n2.has(r2)){L2.pop();continue}if(Q.has(r2)){if(t.get(r2)===C2.n)H.push([r2,C2]);else if((z8?"production":void 0)!=="production"&&t.has(r2))throw new Error("[Bug] invalidated atom exists");n2.add(r2),L2.pop();continue}Q.add(r2);for(const x2 of Vl(r2,C2,e))Q.has(x2)||L2.push(x2)}for(let r2=H.length-1;r2>=0;--r2){const[C2,x2]=H[r2];let D2=!1;for(const $ of x2.d.keys())if($!==C2&&n.has($)){D2=!0;break}D2&&(y(C2),D(C2)),t.delete(C2)}}),y=p[3]||(H=>{var Q;const n2=m(H);if(Ul(n2)&&(e.has(H)&&t.get(H)!==n2.n||Array.from(n2.d).every(([U,B])=>y(U).n===B)))return n2;n2.d.clear();let L2=!0;const r2=()=>{e.has(H)&&(D(H),A(),w())},C2=U=>{var B;if(jl(H,U)){const R=m(U);if(!Ul(R))if(Wl(U))fn(U,U.init,m);else throw new Error("no atom init");return A7(R)}const p2=y(U);try{return A7(p2)}finally{n2.d.set(U,p2.n),Hl(n2.v)&&Gl(H,n2.v,p2),(B=e.get(U))==null||B.t.add(H),L2||r2()}};let x2,D2;const $={get signal(){return x2||(x2=new AbortController),x2.signal},get setSelf(){return(z8?"production":void 0)!=="production"&&!hn(H)&&console.warn("setSelf function cannot be used with read-only atom"),!D2&&hn(H)&&(D2=(...U)=>{if((z8?"production":void 0)!=="production"&&L2&&console.warn("setSelf function cannot be called in sync"),!L2)try{return k(H,...U)}finally{A(),w()}}),D2}},T=n2.n;try{const U=u(H,C2,$);return fn(H,U,m),b7(U)&&($l(U,()=>x2==null?void 0:x2.abort()),U.then(r2,r2)),n2}catch(U){return delete n2.v,n2.e=U,++n2.n,n2}finally{L2=!1,T!==n2.n&&t.get(H)===T&&(t.set(H,n2.n),n.add(H),(Q=c.c)==null||Q.call(c,H))}}),Z=p[4]||(H=>{const Q=[H];for(;Q.length;){const n2=Q.pop(),L2=m(n2);for(const r2 of Vl(n2,L2,e)){const C2=m(r2);t.set(r2,C2.n),Q.push(r2)}}}),k=p[5]||((H,...Q)=>{let n2=!0;const L2=C2=>A7(y(C2)),r2=(C2,...x2)=>{var D2;const $=m(C2);try{if(jl(H,C2)){if(!Wl(C2))throw new Error("atom not writable");const T=$.n,U=x2[0];fn(C2,U,m),D(C2),T!==$.n&&(n.add(C2),(D2=c.c)==null||D2.call(c,C2),Z(C2));return}else return k(C2,...x2)}finally{n2||(A(),w())}};try{return d(H,L2,r2,...Q)}finally{n2=!1}}),D=p[6]||(H=>{var Q;const n2=m(H),L2=e.get(H);if(L2&&!Hl(n2.v)){for(const[r2,C2]of n2.d)if(!L2.d.has(r2)){const x2=m(r2);z(r2).t.add(H),L2.d.add(r2),C2!==x2.n&&(n.add(r2),(Q=c.c)==null||Q.call(c,r2),Z(r2))}for(const r2 of L2.d||[])if(!n2.d.has(r2)){L2.d.delete(r2);const C2=O(r2);C2==null||C2.t.delete(H)}}}),z=p[7]||(H=>{var Q;const n2=m(H);let L2=e.get(H);if(!L2){y(H);for(const r2 of n2.d.keys())z(r2).t.add(H);if(L2={l:new Set,d:new Set(n2.d.keys()),t:new Set},e.set(H,L2),(Q=c.m)==null||Q.call(c,H),hn(H)){const r2=()=>{let C2=!0;const x2=(...D2)=>{try{return k(H,...D2)}finally{C2||(A(),w())}};try{const D2=g(H,x2);D2&&(L2.u=()=>{C2=!0;try{D2()}finally{C2=!1}})}finally{C2=!1}};r.add(r2)}}return L2}),O=p[8]||(H=>{var Q;const n2=m(H);let L2=e.get(H);if(L2&&!L2.l.size&&!Array.from(L2.t).some(r2=>{var C2;return(C2=e.get(r2))==null?void 0:C2.d.has(H)})){L2.u&&L.add(L2.u),L2=void 0,e.delete(H),(Q=c.u)==null||Q.call(c,H);for(const r2 of n2.d.keys()){const C2=O(r2);C2==null||C2.t.delete(H)}return}return L2}),F=[o,e,t,n,r,L,c,u,d,f,g,m,w,A,y,Z,k,D,z,O],t2={get:H=>A7(y(H)),set:(H,...Q)=>{try{return k(H,...Q)}finally{A(),w()}},sub:(H,Q)=>{const L2=z(H).l;return L2.add(Q),w(),()=>{L2.delete(Q),O(H),w()}}};return Object.defineProperty(t2,wp,{value:F}),t2},ql=$l,Yl={};let Sp=0;function Z1(o,e){const t=`atom${++Sp}`,n={toString(){return(Yl?"production":void 0)!=="production"&&this.debugLabel?t+":"+this.debugLabel:t}};return typeof o=="function"?n.read=o:(n.init=o,n.read=yp,n.write=Ap),e&&(n.write=e),n}function yp(o){return o(this)}function Ap(o,e,t){return e(this,typeof t=="function"?t(o(this)):t)}function gn(){return Mp()}let P8;function Rp(){return P8||(P8=gn(),(Yl?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=P8),globalThis.__JOTAI_DEFAULT_STORE__!==P8&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),P8}var pn={exports:{}},X2={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react.production.js
|
|
13
13
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var Ql;function bp(){if(Ql)return X2;Ql=1;var o=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.iterator;function m(R){return R===null||typeof R!="object"?null:(R=p&&R[p]||R["@@iterator"],typeof R=="function"?R:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,y={};function Z(R,J,i2){this.props=R,this.context=J,this.refs=y,this.updater=i2||w}Z.prototype.isReactComponent={},Z.prototype.setState=function(R,J){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,J,"setState")},Z.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function k(){}k.prototype=Z.prototype;function D(R,J,i2){this.props=R,this.context=J,this.refs=y,this.updater=i2||w}var z=D.prototype=new k;z.constructor=D,A(z,Z.prototype),z.isPureReactComponent=!0;var O=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},t2=Object.prototype.hasOwnProperty;function H(R,J,i2,V,e2,_2){return i2=_2.ref,{$$typeof:o,type:R,key:J,ref:i2!==void 0?i2:null,props:_2}}function Q(R,J){return H(R.type,J,void 0,void 0,void 0,R.props)}function n2(R){return typeof R=="object"&&R!==null&&R.$$typeof===o}function L2(R){var J={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(i2){return J[i2]})}var r2=/\/+/g;function C2(R,J){return typeof R=="object"&&R!==null&&R.key!=null?L2(""+R.key):J.toString(36)}function x2(){}function D2(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(x2,x2):(R.status="pending",R.then(function(J){R.status==="pending"&&(R.status="fulfilled",R.value=J)},function(J){R.status==="pending"&&(R.status="rejected",R.reason=J)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function $(R,J,i2,V,e2){var _2=typeof R;(_2==="undefined"||_2==="boolean")&&(R=null);var v2=!1;if(R===null)v2=!0;else switch(_2){case"bigint":case"string":case"number":v2=!0;break;case"object":switch(R.$$typeof){case o:case e:v2=!0;break;case g:return v2=R._init,$(v2(R._payload),J,i2,V,e2)}}if(v2)return e2=e2(R),v2=V===""?"."+C2(R,0):V,O(e2)?(i2="",v2!=null&&(i2=v2.replace(r2,"$&/")+"/"),$(e2,J,i2,"",function(R1){return R1})):e2!=null&&(n2(e2)&&(e2=Q(e2,i2+(e2.key==null||R&&R.key===e2.key?"":(""+e2.key).replace(r2,"$&/")+"/")+v2)),J.push(e2)),1;v2=0;var N2=V===""?".":V+":";if(O(R))for(var Y2=0;Y2<R.length;Y2++)V=R[Y2],_2=N2+C2(V,Y2),v2+=$(V,J,i2,_2,e2);else if(Y2=m(R),typeof Y2=="function")for(R=Y2.call(R),Y2=0;!(V=R.next()).done;)V=V.value,_2=N2+C2(V,Y2++),v2+=$(V,J,i2,_2,e2);else if(_2==="object"){if(typeof R.then=="function")return $(D2(R),J,i2,V,e2);throw J=String(R),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return v2}function T(R,J,i2){if(R==null)return R;var V=[],e2=0;return $(R,V,"","",function(_2){return J.call(i2,_2,e2++)}),V}function U(R){if(R._status===-1){var J=R._result;J=J(),J.then(function(i2){(R._status===0||R._status===-1)&&(R._status=1,R._result=i2)},function(i2){(R._status===0||R._status===-1)&&(R._status=2,R._result=i2)}),R._status===-1&&(R._status=0,R._result=J)}if(R._status===1)return R._result.default;throw R._result}var B=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function g2(){}return X2.Children={map:T,forEach:function(R,J,i2){T(R,function(){J.apply(this,arguments)},i2)},count:function(R){var J=0;return T(R,function(){J++}),J},toArray:function(R){return T(R,function(J){return J})||[]},only:function(R){if(!n2(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},X2.Component=Z,X2.Fragment=t,X2.Profiler=r,X2.PureComponent=D,X2.StrictMode=n,X2.Suspense=d,X2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,X2.__COMPILER_RUNTIME={__proto__:null,c:function(R){return F.H.useMemoCache(R)}},X2.cache=function(R){return function(){return R.apply(null,arguments)}},X2.cloneElement=function(R,J,i2){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var V=A({},R.props),e2=R.key,_2=void 0;if(J!=null)for(v2 in J.ref!==void 0&&(_2=void 0),J.key!==void 0&&(e2=""+J.key),J)!t2.call(J,v2)||v2==="key"||v2==="__self"||v2==="__source"||v2==="ref"&&J.ref===void 0||(V[v2]=J[v2]);var v2=arguments.length-2;if(v2===1)V.children=i2;else if(1<v2){for(var N2=Array(v2),Y2=0;Y2<v2;Y2++)N2[Y2]=arguments[Y2+2];V.children=N2}return H(R.type,e2,void 0,void 0,_2,V)},X2.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:L,_context:R},R},X2.createElement=function(R,J,i2){var V,e2={},_2=null;if(J!=null)for(V in J.key!==void 0&&(_2=""+J.key),J)t2.call(J,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(e2[V]=J[V]);var v2=arguments.length-2;if(v2===1)e2.children=i2;else if(1<v2){for(var N2=Array(v2),Y2=0;Y2<v2;Y2++)N2[Y2]=arguments[Y2+2];e2.children=N2}if(R&&R.defaultProps)for(V in v2=R.defaultProps,v2)e2[V]===void 0&&(e2[V]=v2[V]);return H(R,_2,void 0,void 0,null,e2)},X2.createRef=function(){return{current:null}},X2.forwardRef=function(R){return{$$typeof:u,render:R}},X2.isValidElement=n2,X2.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:U}},X2.memo=function(R,J){return{$$typeof:f,type:R,compare:J===void 0?null:J}},X2.startTransition=function(R){var J=F.T,i2={};F.T=i2;try{var V=R(),e2=F.S;e2!==null&&e2(i2,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(g2,B)}catch(_2){B(_2)}finally{F.T=J}},X2.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},X2.use=function(R){return F.H.use(R)},X2.useActionState=function(R,J,i2){return F.H.useActionState(R,J,i2)},X2.useCallback=function(R,J){return F.H.useCallback(R,J)},X2.useContext=function(R){return F.H.useContext(R)},X2.useDebugValue=function(){},X2.useDeferredValue=function(R,J){return F.H.useDeferredValue(R,J)},X2.useEffect=function(R,J,i2){var V=F.H;if(typeof i2=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return V.useEffect(R,J)},X2.useId=function(){return F.H.useId()},X2.useImperativeHandle=function(R,J,i2){return F.H.useImperativeHandle(R,J,i2)},X2.useInsertionEffect=function(R,J){return F.H.useInsertionEffect(R,J)},X2.useLayoutEffect=function(R,J){return F.H.useLayoutEffect(R,J)},X2.useMemo=function(R,J){return F.H.useMemo(R,J)},X2.useOptimistic=function(R,J){return F.H.useOptimistic(R,J)},X2.useReducer=function(R,J,i2){return F.H.useReducer(R,J,i2)},X2.useRef=function(R){return F.H.useRef(R)},X2.useState=function(R){return F.H.useState(R)},X2.useSyncExternalStore=function(R,J,i2){return F.H.useSyncExternalStore(R,J,i2)},X2.useTransition=function(){return F.H.useTransition()},X2.version="19.1.1",X2}var Xl;function T7(){return Xl||(Xl=1,pn.exports=bp()),pn.exports}var M=T7();const R2=Y1(M),k7=V4({__proto__:null,default:R2},[M]),Tp={},Kl=M.createContext(void 0);function _n(o){return M.useContext(Kl)||Rp()}function kp({children:o,store:e}){const t=M.useRef(void 0);return!e&&!t.current&&(t.current=gn()),M.createElement(Kl.Provider,{value:e||t.current},o)}const mn=o=>typeof(o==null?void 0:o.then)=="function",vn=o=>{o.status||(o.status="pending",o.then(e=>{o.status="fulfilled",o.value=e},e=>{o.status="rejected",o.reason=e}))},Zp=R2.use||(o=>{if(o.status==="pending")throw o;if(o.status==="fulfilled")return o.value;throw o.status==="rejected"?o.reason:(vn(o),o)}),xn=new WeakMap,Jl=(o,e)=>{let t=xn.get(o);return t||(t=new Promise((n,r)=>{let L=o;const c=f=>g=>{L===f&&n(g)},u=f=>g=>{L===f&&r(g)},d=()=>{try{const f=e();mn(f)?(xn.set(f,t),L=f,f.then(c(f),u(f)),ql(f,d)):n(f)}catch(f){r(f)}};o.then(c(o),u(o)),ql(o,d)}),xn.set(o,t)),t};function G2(o,e){const{delay:t,unstable_promiseStatus:n=!R2.use}={},r=_n(),[[L,c,u],d]=M.useReducer(g=>{const p=r.get(o);return Object.is(g[0],p)&&g[1]===r&&g[2]===o?g:[p,r,o]},void 0,()=>[r.get(o),r,o]);let f=L;if((c!==r||u!==o)&&(d(),f=r.get(o)),M.useEffect(()=>{const g=r.sub(o,()=>{if(n)try{const p=r.get(o);mn(p)&&vn(Jl(p,()=>r.get(o)))}catch{}if(typeof t=="number"){setTimeout(d,t);return}d()});return d(),g},[r,o,t,n]),M.useDebugValue(f),mn(f)){const g=Jl(f,()=>r.get(o));return n&&vn(g),Zp(g)}return f}function T5(o,e){const t=_n();return M.useCallback((...r)=>{if((Tp?"production":void 0)!=="production"&&!("write"in o))throw new Error("not writable atom");return t.set(o,...r)},[t,o])}function q4(o,e){return[G2(o),T5(o)]}const ea=(o,e)=>{const n=Z1((()=>{const L=localStorage.getItem(o);return L!==null?JSON.parse(L):e})());return Z1(L=>L(n),(L,c,u)=>{const d=typeof u=="function"?u(L(n)):u;c(n,d),localStorage.setItem(o,JSON.stringify(d))})},D8=o=>{const e=Z1({fn:o});return Z1(n=>n(e).fn,(n,r,L)=>{r(e,{fn:L})})};String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const o=this.toString();let e,t;const n=o.length&3,r=o.length-n;let L=String.prototype.seed;const c=3432918353,u=461845907;let d=0;for(;d<r;)t=o.charCodeAt(d)&255|(o.charCodeAt(++d)&255)<<8|(o.charCodeAt(++d)&255)<<16|(o.charCodeAt(++d)&255)<<24,++d,t=(t&65535)*c+(((t>>>16)*c&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*u+(((t>>>16)*u&65535)<<16)&4294967295,L^=t,L=L<<13|L>>>19,e=(L&65535)*5+(((L>>>16)*5&65535)<<16)&4294967295,L=(e&65535)+27492+(((e>>>16)+58964&65535)<<16);switch(t=0,n){case 3:t^=(o.charCodeAt(d+2)&255)<<16;case 2:t^=(o.charCodeAt(d+1)&255)<<8;case 1:t^=o.charCodeAt(d)&255,t=(t&65535)*c+(((t>>>16)*c&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*u+(((t>>>16)*u&65535)<<16)&4294967295,L^=t}return L^=o.length,L^=L>>>16,L=(L&65535)*2246822507+(((L>>>16)*2246822507&65535)<<16)&4294967295,L^=L>>>13,L=(L&65535)*3266489909+(((L>>>16)*3266489909&65535)<<16)&4294967295,L^=L>>>16,L>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||(function(){var o=(function(){let t;try{const n={},r=Object.defineProperty;t=r(n,n,n)&&r}catch{}return t})();const e=function(t){if(this==null)throw TypeError();const n=String(this),r=n.length;let L=t?Number(t):0;if(L!==L&&(L=0),L<0||L>=r)return;const c=n.charCodeAt(L);let u;return c>=55296&&c<=56319&&r>L+1&&(u=n.charCodeAt(L+1),u>=56320&&u<=57343)?(c-55296)*1024+u-56320+65536:c};o?o(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e})();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||(function(){const o=(function(){let r;try{const L={},c=Object.defineProperty;r=c(L,L,L)&&c}catch{}return r})(),e=String.fromCharCode,t=Math.floor,n=function(r){const c=[];let u,d,f=-1;const g=arguments.length;if(!g)return"";let p="";for(;++f<g;){let m=Number(arguments[f]);if(!isFinite(m)||m<0||m>1114111||t(m)!==m)throw RangeError("Invalid code point: "+m);m<=65535?c.push(m):(m-=65536,u=(m>>10)+55296,d=m%1024+56320,c.push(u,d)),(f+1===g||c.length>16384)&&(p+=e.apply(null,c),c.length=0)}return p};o?o(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})();class f2{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(e){this._text=e}}f2.INVALID_TYPE=0,f2.EPSILON=-2,f2.MIN_USER_TOKEN_TYPE=1,f2.EOF=-1,f2.DEFAULT_CHANNEL=0,f2.HIDDEN_CHANNEL=1;function k5(o,e){if(!Array.isArray(o)||!Array.isArray(e))return!1;if(o===e)return!0;if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t]&&(!o[t].equals||!o[t].equals(e[t])))return!1;return!0}class a4{constructor(){this.count=0,this.hash=0}update(){for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t!=null)if(Array.isArray(t))this.update.apply(this,t);else{let n=0;switch(typeof t){case"undefined":case"function":continue;case"number":case"boolean":n=t;break;case"string":n=t.hashCode();break;default:t.updateHashCode?t.updateHashCode(this):console.log("No updateHashCode for "+t.toString());continue}n=n*3432918353,n=n<<15|n>>>17,n=n*461845907,this.count=this.count+1;let r=this.hash^n;r=r<<13|r>>>19,r=r*5+3864292196,this.hash=r}}}finish(){let e=this.hash^this.count*4;return e=e^e>>>16,e=e*2246822507,e=e^e>>>13,e=e*3266489909,e=e^e>>>16,e}static hashStuff(){const e=new a4;return e.update.apply(e,arguments),e.finish()}}function ta(o){return o?o.hashCode():-1}function na(o,e){return o?o.equals(e):o===e}function Ep(o){return o===null?"null":o}function n0(o){return Array.isArray(o)?"["+o.map(Ep).join(", ")+"]":"null"}const Z7="h-";class L4{constructor(e,t){this.data={},this.hashFunction=e||ta,this.equalsFunction=t||na}add(e){const t=Z7+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return n.push(e),e}else return this.data[t]=[e],e}has(e){return this.get(e)!=null}get(e){const t=Z7+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r]}return null}values(){return Object.keys(this.data).filter(e=>e.startsWith(Z7)).flatMap(e=>this.data[e],this)}toString(){return n0(this.values())}get length(){return Object.keys(this.data).filter(e=>e.startsWith(Z7)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}class d1{hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}evaluate(e,t){}evalPrecedence(e,t){return this}static andContext(e,t){if(e===null||e===d1.NONE)return t;if(t===null||t===d1.NONE)return e;const n=new N8(e,t);return n.opnds.length===1?n.opnds[0]:n}static orContext(e,t){if(e===null)return t;if(t===null)return e;if(e===d1.NONE||t===d1.NONE)return d1.NONE;const n=new F8(e,t);return n.opnds.length===1?n.opnds[0]:n}}class N8 extends d1{constructor(e,t){super();const n=new L4;e instanceof N8?e.opnds.map(function(L){n.add(L)}):n.add(e),t instanceof N8?t.opnds.map(function(L){n.add(L)}):n.add(t);const r=ia(n);if(r.length>0){let L=null;r.map(function(c){(L===null||c.precedence<L.precedence)&&(L=c)}),n.add(L)}this.opnds=Array.from(n.values())}equals(e){return this===e?!0:e instanceof N8?k5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"AND")}evaluate(e,t){for(let n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(e,t))return!1;return!0}evalPrecedence(e,t){let n=!1;const r=[];for(let c=0;c<this.opnds.length;c++){const u=this.opnds[c],d=u.evalPrecedence(e,t);if(n|=d!==u,d===null)return null;d!==d1.NONE&&r.push(d)}if(!n)return this;if(r.length===0)return d1.NONE;let L=null;return r.map(function(c){L=L===null?c:d1.andContext(L,c)}),L}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("&&")}}class F8 extends d1{constructor(e,t){super();const n=new L4;e instanceof F8?e.opnds.map(function(L){n.add(L)}):n.add(e),t instanceof F8?t.opnds.map(function(L){n.add(L)}):n.add(t);const r=ia(n);if(r.length>0){const L=r.sort(function(u,d){return u.compareTo(d)}),c=L[L.length-1];n.add(c)}this.opnds=Array.from(n.values())}equals(e){return this===e?!0:e instanceof F8?k5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"OR")}evaluate(e,t){for(let n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(e,t))return!0;return!1}evalPrecedence(e,t){let n=!1;const r=[];for(let c=0;c<this.opnds.length;c++){const u=this.opnds[c],d=u.evalPrecedence(e,t);if(n|=d!==u,d===d1.NONE)return d1.NONE;d!==null&&r.push(d)}return n?(r.length===0,null):this}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("||")}}function ia(o){const e=[];return o.values().map(function(t){t instanceof d1.PrecedencePredicate&&e.push(t)}),e}function oa(o,e){if(o===null){const t={state:null,alt:null,context:null,semanticContext:null};return e&&(t.reachesIntoOuterContext=0),t}else{const t={};return t.state=o.state||null,t.alt=o.alt===void 0?null:o.alt,t.context=o.context||null,t.semanticContext=o.semanticContext||null,e&&(t.reachesIntoOuterContext=o.reachesIntoOuterContext||0,t.precedenceFilterSuppressed=o.precedenceFilterSuppressed||!1),t}}class B1{constructor(e,t){this.checkContext(e,t),e=oa(e),t=oa(t,!0),this.state=e.state!==null?e.state:t.state,this.alt=e.alt!==null?e.alt:t.alt,this.context=e.context!==null?e.context:t.context,this.semanticContext=e.semanticContext!==null?e.semanticContext:t.semanticContext!==null?t.semanticContext:d1.NONE,this.reachesIntoOuterContext=t.reachesIntoOuterContext,this.precedenceFilterSuppressed=t.precedenceFilterSuppressed}checkContext(e,t){(e.context===null||e.context===void 0)&&(t===null||t.context===null||t.context===void 0)&&(this.context=null)}hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(e){return this===e?!0:e instanceof B1?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(this.context===null?e.context===null:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const e=new a4;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}equalsForConfigSet(e){return this===e?!0:e instanceof B1?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==d1.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class h1{constructor(e,t){this.start=e,this.stop=t}clone(){return new h1(this.start,this.stop)}contains(e){return e>=this.start&&e<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}h1.INVALID_INTERVAL=new h1(-1,-2);class b4{constructor(){this.intervals=null,this.readOnly=!1}first(e){return this.intervals===null||this.intervals.length===0?f2.INVALID_TYPE:this.intervals[0].start}addOne(e){this.addInterval(new h1(e,e+1))}addRange(e,t){this.addInterval(new h1(e,t+1))}addInterval(e){if(this.intervals===null)this.intervals=[],this.intervals.push(e.clone());else{for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];if(e.stop<n.start){this.intervals.splice(t,0,e);return}else if(e.stop===n.start){this.intervals[t]=new h1(e.start,n.stop);return}else if(e.start<=n.stop){this.intervals[t]=new h1(Math.min(n.start,e.start),Math.max(n.stop,e.stop)),this.reduce(t);return}}this.intervals.push(e.clone())}}addSet(e){return e.intervals!==null&&e.intervals.forEach(t=>this.addInterval(t),this),this}reduce(e){if(e<this.intervals.length-1){const t=this.intervals[e],n=this.intervals[e+1];t.stop>=n.stop?(this.intervals.splice(e+1,1),this.reduce(e)):t.stop>=n.start&&(this.intervals[e]=new h1(t.start,n.stop),this.intervals.splice(e+1,1))}}complement(e,t){const n=new b4;return n.addInterval(new h1(e,t+1)),this.intervals!==null&&this.intervals.forEach(r=>n.removeRange(r)),n}contains(e){if(this.intervals===null)return!1;for(let t=0;t<this.intervals.length;t++)if(this.intervals[t].contains(e))return!0;return!1}removeRange(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(this.intervals!==null){let t=0;for(let n=0;n<this.intervals.length;n++){const r=this.intervals[t];if(e.stop<=r.start)return;if(e.start>r.start&&e.stop<r.stop){this.intervals[t]=new h1(r.start,e.start);const L=new h1(e.stop,r.stop);this.intervals.splice(t,0,L);return}else e.start<=r.start&&e.stop>=r.stop?(this.intervals.splice(t,1),t=t-1):e.start<r.stop?this.intervals[t]=new h1(r.start,e.start):e.stop<r.stop&&(this.intervals[t]=new h1(e.stop,r.stop));t+=1}}}removeOne(e){if(this.intervals!==null)for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];if(e<n.start)return;if(e===n.start&&e===n.stop-1){this.intervals.splice(t,1);return}else if(e===n.start){this.intervals[t]=new h1(n.start+1,n.stop);return}else if(e===n.stop-1){this.intervals[t]=new h1(n.start,n.stop-1);return}else if(e<n.stop-1){const r=new h1(n.start,e);n.start=e+1,this.intervals.splice(t,0,r);return}}}toString(e,t,n){return e=e||null,t=t||null,n=n||!1,this.intervals===null?"{}":e!==null||t!==null?this.toTokenString(e,t):n?this.toCharString():this.toIndexString()}toCharString(){const e=[];for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];n.stop===n.start+1?n.start===f2.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(n.start)+"'"):e.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}toIndexString(){const e=[];for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];n.stop===n.start+1?n.start===f2.EOF?e.push("<EOF>"):e.push(n.start.toString()):e.push(n.start.toString()+".."+(n.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}toTokenString(e,t){const n=[];for(let r=0;r<this.intervals.length;r++){const L=this.intervals[r];for(let c=L.start;c<L.stop;c++)n.push(this.elementName(e,t,c))}return n.length>1?"{"+n.join(", ")+"}":n[0]}elementName(e,t,n){return n===f2.EOF?"<EOF>":n===f2.EPSILON?"<EPSILON>":e[n]||t[n]}get length(){return this.intervals.map(e=>e.length).reduce((e,t)=>e+t)}}class Z2{constructor(){this.atn=null,this.stateNumber=Z2.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(e){return e instanceof Z2?this.stateNumber===e.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(e,t){t===void 0&&(t=-1),this.transitions.length===0?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),t===-1?this.transitions.push(e):this.transitions.splice(t,1,e)}}Z2.INVALID_TYPE=0,Z2.BASIC=1,Z2.RULE_START=2,Z2.BLOCK_START=3,Z2.PLUS_BLOCK_START=4,Z2.STAR_BLOCK_START=5,Z2.TOKEN_START=6,Z2.RULE_STOP=7,Z2.BLOCK_END=8,Z2.STAR_LOOP_BACK=9,Z2.STAR_LOOP_ENTRY=10,Z2.PLUS_LOOP_BACK=11,Z2.LOOP_END=12,Z2.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],Z2.INVALID_STATE_NUMBER=-1;class D3 extends Z2{constructor(){return super(),this.stateType=Z2.RULE_STOP,this}}class y2{constructor(e){if(e==null)throw"target cannot be null.";this.target=e,this.isEpsilon=!1,this.label=null}}y2.EPSILON=1,y2.RANGE=2,y2.RULE=3,y2.PREDICATE=4,y2.ATOM=5,y2.ACTION=6,y2.SET=7,y2.NOT_SET=8,y2.WILDCARD=9,y2.PRECEDENCE=10,y2.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],y2.serializationTypes={EpsilonTransition:y2.EPSILON,RangeTransition:y2.RANGE,RuleTransition:y2.RULE,PredicateTransition:y2.PREDICATE,AtomTransition:y2.ATOM,ActionTransition:y2.ACTION,SetTransition:y2.SET,NotSetTransition:y2.NOT_SET,WildcardTransition:y2.WILDCARD,PrecedencePredicateTransition:y2.PRECEDENCE};class E7 extends y2{constructor(e,t,n,r){super(e),this.ruleIndex=t,this.precedence=n,this.followState=r,this.serializationType=y2.RULE,this.isEpsilon=!0}matches(e,t,n){return!1}}class wn extends y2{constructor(e,t){super(e),this.serializationType=y2.SET,t!=null?this.label=t:(this.label=new b4,this.label.addOne(f2.INVALID_TYPE))}matches(e,t,n){return this.label.contains(e)}toString(){return this.label.toString()}}class Mn extends wn{constructor(e,t){super(e,t),this.serializationType=y2.NOT_SET}matches(e,t,n){return e>=t&&e<=n&&!super.matches(e,t,n)}toString(){return"~"+super.toString()}}class sa extends y2{constructor(e){super(e),this.serializationType=y2.WILDCARD}matches(e,t,n){return e>=t&&e<=n}toString(){return"."}}class Sn extends y2{constructor(e){super(e)}}class Ip{}class Op extends Ip{}class ra extends Op{}class I7 extends ra{getRuleContext(){throw new Error("missing interface implementation")}}class S9 extends ra{}class O7 extends S9{}function zp(o,e){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),o}const o9={toStringTree:function(o,e,t){e=e||null,t=t||null,t!==null&&(e=t.ruleNames);let n=o9.getNodeText(o,e);n=zp(n);const r=o.getChildCount();if(r===0)return n;let L="("+n+" ";r>0&&(n=o9.toStringTree(o.getChild(0),e),L=L.concat(n));for(let c=1;c<r;c++)n=o9.toStringTree(o.getChild(c),e),L=L.concat(" "+n);return L=L.concat(")"),L},getNodeText:function(o,e,t){if(e=e||null,t=t||null,t!==null&&(e=t.ruleNames),e!==null)if(o instanceof I7){const L=o.getRuleContext().getAltNumber();return L!=0?e[o.ruleIndex]+":"+L:e[o.ruleIndex]}else{if(o instanceof O7)return o.toString();if(o instanceof S9&&o.symbol!==null)return o.symbol.text}const n=o.getPayload();return n instanceof f2?n.text:o.getPayload().toString()},getChildren:function(o){const e=[];for(let t=0;t<o.getChildCount();t++)e.push(o.getChild(t));return e},getAncestors:function(o){let e=[];for(o=o.getParent();o!==null;)e=[o].concat(e),o=o.getParent();return e},findAllTokenNodes:function(o,e){return o9.findAllNodes(o,e,!0)},findAllRuleNodes:function(o,e){return o9.findAllNodes(o,e,!1)},findAllNodes:function(o,e,t){const n=[];return o9._findAllNodes(o,e,t,n),n},_findAllNodes:function(o,e,t,n){t&&o instanceof S9?o.symbol.type===e&&n.push(o):!t&&o instanceof I7&&o.ruleIndex===e&&n.push(o);for(let r=0;r<o.getChildCount();r++)o9._findAllNodes(o.getChild(r),e,t,n)},descendants:function(o){let e=[o];for(let t=0;t<o.getChildCount();t++)e=e.concat(o9.descendants(o.getChild(t)));return e}};class Z5 extends I7{constructor(e,t){super(),this.parentCtx=e||null,this.invokingState=t||-1}depth(){let e=0,t=this;for(;t!==null;)t=t.parentCtx,e+=1;return e}isEmpty(){return this.invokingState===-1}getSourceInterval(){return h1.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(e){return e.getText()}).join("")}getAltNumber(){return 0}setAltNumber(e){}getChild(e){return null}getChildCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e,t){return o9.toStringTree(this,e,t)}toString(e,t){e=e||null,t=t||null;let n=this,r="[";for(;n!==null&&n!==t;){if(e===null)n.isEmpty()||(r+=n.invokingState);else{const L=n.ruleIndex,c=L>=0&&L<e.length?e[L]:""+L;r+=c}n.parentCtx!==null&&(e!==null||!n.parentCtx.isEmpty())&&(r+=" "),n=n.parentCtx}return r+="]",r}}class J2{constructor(e){this.cachedHashCode=e}isEmpty(){return this===J2.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===J2.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}}J2.EMPTY=null,J2.EMPTY_RETURN_STATE=2147483647,J2.globalNodeCount=1,J2.id=J2.globalNodeCount;class s9 extends J2{constructor(e,t){const n=new a4;n.update(e,t);const r=n.finish();return super(r),this.parents=e,this.returnStates=t,this}isEmpty(){return this.returnStates[0]===J2.EMPTY_RETURN_STATE}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}equals(e){return this===e?!0:e instanceof s9?this.hashCode()!==e.hashCode()?!1:k5(this.returnStates,e.returnStates)&&k5(this.parents,e.parents):!1}toString(){if(this.isEmpty())return"[]";{let e="[";for(let t=0;t<this.returnStates.length;t++){if(t>0&&(e=e+", "),this.returnStates[t]===J2.EMPTY_RETURN_STATE){e=e+"$";continue}e=e+this.returnStates[t],this.parents[t]!==null?e=e+" "+this.parents[t]:e=e+"null"}return e+"]"}}get length(){return this.returnStates.length}}class N3 extends J2{constructor(e,t){let n=0;const r=new a4;e!==null?r.update(e,t):r.update(1),n=r.finish(),super(n),this.parentCtx=e,this.returnState=t}getParent(e){return this.parentCtx}getReturnState(e){return this.returnState}equals(e){return this===e?!0:e instanceof N3?this.hashCode()!==e.hashCode()||this.returnState!==e.returnState?!1:this.parentCtx==null?e.parentCtx==null:this.parentCtx.equals(e.parentCtx):!1}toString(){const e=this.parentCtx===null?"":this.parentCtx.toString();return e.length===0?this.returnState===J2.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+e}get length(){return 1}static create(e,t){return t===J2.EMPTY_RETURN_STATE&&e===null?J2.EMPTY:new N3(e,t)}}class yn extends N3{constructor(){super(null,J2.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(e){return null}getReturnState(e){return this.returnState}equals(e){return this===e}toString(){return"$"}}J2.EMPTY=new yn;const B8="h-";class j8{constructor(e,t){this.data={},this.hashFunction=e||ta,this.equalsFunction=t||na}set(e,t){const n=B8+this.hashFunction(e);if(n in this.data){const r=this.data[n];for(let L=0;L<r.length;L++){const c=r[L];if(this.equalsFunction(e,c.key)){const u=c.value;return c.value=t,u}}return r.push({key:e,value:t}),t}else return this.data[n]=[{key:e,value:t}],t}containsKey(e){const t=B8+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++){const L=n[r];if(this.equalsFunction(e,L.key))return!0}}return!1}get(e){const t=B8+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++){const L=n[r];if(this.equalsFunction(e,L.key))return L.value}}return null}entries(){return Object.keys(this.data).filter(e=>e.startsWith(B8)).flatMap(e=>this.data[e],this)}getKeys(){return this.entries().map(e=>e.key)}getValues(){return this.entries().map(e=>e.value)}toString(){return"["+this.entries().map(t=>"{"+t.key+":"+t.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(e=>e.startsWith(B8)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}function An(o,e){if(e==null&&(e=Z5.EMPTY),e.parentCtx===null||e===Z5.EMPTY)return J2.EMPTY;const t=An(o,e.parentCtx),r=o.states[e.invokingState].transitions[0];return N3.create(t,r.followState.stateNumber)}function la(o,e,t){if(o.isEmpty())return o;let n=t.get(o)||null;if(n!==null)return n;if(n=e.get(o),n!==null)return t.set(o,n),n;let r=!1,L=[];for(let u=0;u<L.length;u++){const d=la(o.getParent(u),e,t);if(r||d!==o.getParent(u)){if(!r){L=[];for(let f=0;f<o.length;f++)L[f]=o.getParent(f);r=!0}L[u]=d}}if(!r)return e.add(o),t.set(o,o),o;let c=null;return L.length===0?c=J2.EMPTY:L.length===1?c=N3.create(L[0],o.getReturnState(0)):c=new s9(L,o.returnStates),e.add(c),t.set(c,c),t.set(o,c),c}function Rn(o,e,t,n){if(o===e)return o;if(o instanceof N3&&e instanceof N3)return Np(o,e,t,n);if(t){if(o instanceof yn)return o;if(e instanceof yn)return e}return o instanceof N3&&(o=new s9([o.getParent()],[o.returnState])),e instanceof N3&&(e=new s9([e.getParent()],[e.returnState])),Pp(o,e,t,n)}function Pp(o,e,t,n){if(n!==null){let g=n.get(o,e);if(g!==null||(g=n.get(e,o),g!==null))return g}let r=0,L=0,c=0,u=[],d=[];for(;r<o.returnStates.length&&L<e.returnStates.length;){const g=o.parents[r],p=e.parents[L];if(o.returnStates[r]===e.returnStates[L]){const m=o.returnStates[r];m===J2.EMPTY_RETURN_STATE&&g===null&&p===null||g!==null&&p!==null&&g===p?(d[c]=g,u[c]=m):(d[c]=Rn(g,p,t,n),u[c]=m),r+=1,L+=1}else o.returnStates[r]<e.returnStates[L]?(d[c]=g,u[c]=o.returnStates[r],r+=1):(d[c]=p,u[c]=e.returnStates[L],L+=1);c+=1}if(r<o.returnStates.length)for(let g=r;g<o.returnStates.length;g++)d[c]=o.parents[g],u[c]=o.returnStates[g],c+=1;else for(let g=L;g<e.returnStates.length;g++)d[c]=e.parents[g],u[c]=e.returnStates[g],c+=1;if(c<d.length){if(c===1){const g=N3.create(d[0],u[0]);return n!==null&&n.set(o,e,g),g}d=d.slice(0,c),u=u.slice(0,c)}const f=new s9(d,u);return f===o?(n!==null&&n.set(o,e,o),o):f===e?(n!==null&&n.set(o,e,e),e):(Dp(d),n!==null&&n.set(o,e,f),f)}function Dp(o){const e=new j8;for(let t=0;t<o.length;t++){const n=o[t];e.containsKey(n)||e.set(n,n)}for(let t=0;t<o.length;t++)o[t]=e.get(o[t])}function Np(o,e,t,n){if(n!==null){let L=n.get(o,e);if(L!==null||(L=n.get(e,o),L!==null))return L}const r=Fp(o,e,t);if(r!==null)return n!==null&&n.set(o,e,r),r;if(o.returnState===e.returnState){const L=Rn(o.parentCtx,e.parentCtx,t,n);if(L===o.parentCtx)return o;if(L===e.parentCtx)return e;const c=N3.create(L,o.returnState);return n!==null&&n.set(o,e,c),c}else{let L=null;if((o===e||o.parentCtx!==null&&o.parentCtx===e.parentCtx)&&(L=o.parentCtx),L!==null){const f=[o.returnState,e.returnState];o.returnState>e.returnState&&(f[0]=e.returnState,f[1]=o.returnState);const g=[L,L],p=new s9(g,f);return n!==null&&n.set(o,e,p),p}const c=[o.returnState,e.returnState];let u=[o.parentCtx,e.parentCtx];o.returnState>e.returnState&&(c[0]=e.returnState,c[1]=o.returnState,u=[e.parentCtx,o.parentCtx]);const d=new s9(u,c);return n!==null&&n.set(o,e,d),d}}function Fp(o,e,t){if(t){if(o===J2.EMPTY||e===J2.EMPTY)return J2.EMPTY}else{if(o===J2.EMPTY&&e===J2.EMPTY)return J2.EMPTY;if(o===J2.EMPTY){const n=[e.returnState,J2.EMPTY_RETURN_STATE],r=[e.parentCtx,null];return new s9(r,n)}else if(e===J2.EMPTY){const n=[o.returnState,J2.EMPTY_RETURN_STATE],r=[o.parentCtx,null];return new s9(r,n)}}return null}class r9{constructor(){this.data=[]}add(e){this.data[e]=!0}or(e){Object.keys(e.data).map(t=>this.add(t),this)}remove(e){delete this.data[e]}has(e){return this.data[e]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return a4.hashStuff(this.values())}equals(e){return e instanceof r9&&k5(this.data,e.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class E5{constructor(e){this.atn=e}getDecisionLookahead(e){if(e===null)return null;const t=e.transitions.length,n=[];for(let r=0;r<t;r++){n[r]=new b4;const L=new L4;this._LOOK(e.transition(r).target,null,J2.EMPTY,n[r],L,new r9,!1,!1),(n[r].length===0||n[r].contains(E5.HIT_PRED))&&(n[r]=null)}return n}LOOK(e,t,n){const r=new b4,L=!0;n=n||null;const c=n!==null?An(e.atn,n):null;return this._LOOK(e,t,c,r,new L4,new r9,L,!0),r}_LOOK(e,t,n,r,L,c,u,d){const f=new B1({state:e,alt:0,context:n},null);if(!L.has(f)){if(L.add(f),e===t){if(n===null){r.addOne(f2.EPSILON);return}else if(n.isEmpty()&&d){r.addOne(f2.EOF);return}}if(e instanceof D3){if(n===null){r.addOne(f2.EPSILON);return}else if(n.isEmpty()&&d){r.addOne(f2.EOF);return}if(n!==J2.EMPTY){const g=c.has(e.ruleIndex);try{c.remove(e.ruleIndex);for(let p=0;p<n.length;p++){const m=this.atn.states[n.getReturnState(p)];this._LOOK(m,t,n.getParent(p),r,L,c,u,d)}}finally{g&&c.add(e.ruleIndex)}return}}for(let g=0;g<e.transitions.length;g++){const p=e.transitions[g];if(p.constructor===E7){if(c.has(p.target.ruleIndex))continue;const m=N3.create(n,p.followState.stateNumber);try{c.add(p.target.ruleIndex),this._LOOK(p.target,t,m,r,L,c,u,d)}finally{c.remove(p.target.ruleIndex)}}else if(p instanceof Sn)u?this._LOOK(p.target,t,n,r,L,c,u,d):r.addOne(E5.HIT_PRED);else if(p.isEpsilon)this._LOOK(p.target,t,n,r,L,c,u,d);else if(p.constructor===sa)r.addRange(f2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let m=p.label;m!==null&&(p instanceof Mn&&(m=m.complement(f2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),r.addSet(m))}}}}}E5.HIT_PRED=f2.INVALID_TYPE;class E1{constructor(e,t){this.grammarType=e,this.maxTokenType=t,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(e,t){return new E5(this).LOOK(e,null,t)}nextTokensNoContext(e){return e.nextTokenWithinRule!==null||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}nextTokens(e,t){return t===void 0?this.nextTokensNoContext(e):this.nextTokensInContext(e,t)}addState(e){e!==null&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}removeState(e){this.states[e.stateNumber]=null}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}getDecisionState(e){return this.decisionToState.length===0?null:this.decisionToState[e]}getExpectedTokens(e,t){if(e<0||e>=this.states.length)throw"Invalid state number.";const n=this.states[e];let r=this.nextTokens(n);if(!r.contains(f2.EPSILON))return r;const L=new b4;for(L.addSet(r),L.removeOne(f2.EPSILON);t!==null&&t.invokingState>=0&&r.contains(f2.EPSILON);){const u=this.states[t.invokingState].transitions[0];r=this.nextTokens(u.followState),L.addSet(r),L.removeOne(f2.EPSILON),t=t.parentCtx}return r.contains(f2.EPSILON)&&L.addOne(f2.EOF),L}}E1.INVALID_ALT_NUMBER=0;const z7={LEXER:0,PARSER:1};class aa extends Z2{constructor(){super(),this.stateType=Z2.BASIC}}class I5 extends Z2{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class O5 extends I5{constructor(){return super(),this.endState=null,this}}class bn extends Z2{constructor(){return super(),this.stateType=Z2.BLOCK_END,this.startState=null,this}}class z5 extends Z2{constructor(){return super(),this.stateType=Z2.LOOP_END,this.loopBackState=null,this}}class La extends Z2{constructor(){return super(),this.stateType=Z2.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class Bp extends I5{constructor(){return super(),this.stateType=Z2.TOKEN_START,this}}class ca extends I5{constructor(){return super(),this.stateType=Z2.PLUS_LOOP_BACK,this}}class Tn extends Z2{constructor(){return super(),this.stateType=Z2.STAR_LOOP_BACK,this}}class V0 extends I5{constructor(){return super(),this.stateType=Z2.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class kn extends O5{constructor(){return super(),this.stateType=Z2.PLUS_BLOCK_START,this.loopBackState=null,this}}class Zn extends O5{constructor(){return super(),this.stateType=Z2.STAR_BLOCK_START,this}}class Ca extends O5{constructor(){return super(),this.stateType=Z2.BLOCK_START,this}}class P7 extends y2{constructor(e,t){super(e),this.label_=t,this.label=this.makeLabel(),this.serializationType=y2.ATOM}makeLabel(){const e=new b4;return e.addOne(this.label_),e}matches(e,t,n){return this.label_===e}toString(){return this.label_}}class ua extends y2{constructor(e,t,n){super(e),this.serializationType=y2.RANGE,this.start=t,this.stop=n,this.label=this.makeLabel()}makeLabel(){const e=new b4;return e.addRange(this.start,this.stop),e}matches(e,t,n){return e>=this.start&&e<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class da extends y2{constructor(e,t,n,r){super(e),this.serializationType=y2.ACTION,this.ruleIndex=t,this.actionIndex=n===void 0?-1:n,this.isCtxDependent=r===void 0?!1:r,this.isEpsilon=!0}matches(e,t,n){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class W8 extends y2{constructor(e,t){super(e),this.serializationType=y2.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=t}matches(e,t,n){return!1}toString(){return"epsilon"}}class D7 extends d1{constructor(e,t,n){super(),this.ruleIndex=e===void 0?-1:e,this.predIndex=t===void 0?-1:t,this.isCtxDependent=n===void 0?!1:n}evaluate(e,t){const n=this.isCtxDependent?t:null;return e.sempred(n,this.ruleIndex,this.predIndex)}updateHashCode(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(e){return this===e?!0:e instanceof D7?this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}d1.NONE=new D7;class ha extends Sn{constructor(e,t,n,r){super(e),this.serializationType=y2.PREDICATE,this.ruleIndex=t,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0}matches(e,t,n){return!1}getPredicate(){return new D7(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class N7 extends d1{constructor(e){super(),this.precedence=e===void 0?0:e}evaluate(e,t){return e.precpred(t,this.precedence)}evalPrecedence(e,t){return e.precpred(t,this.precedence)?d1.NONE:null}compareTo(e){return this.precedence-e.precedence}updateHashCode(e){e.update(this.precedence)}equals(e){return this===e?!0:e instanceof N7?this.precedence===e.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}d1.PrecedencePredicate=N7;class jp extends Sn{constructor(e,t){super(e),this.serializationType=y2.PRECEDENCE,this.precedence=t,this.isEpsilon=!0}matches(e,t,n){return!1}getPredicate(){return new N7(this.precedence)}toString(){return this.precedence+" >= _p"}}class U8{constructor(e){e===void 0&&(e=null),this.readOnly=!1,this.verifyATN=e===null?!0:e.verifyATN,this.generateRuleBypassTransitions=e===null?!1:e.generateRuleBypassTransitions}}U8.defaultOptions=new U8,U8.defaultOptions.readOnly=!0;const R3={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class y9{constructor(e){this.actionType=e,this.isPositionDependent=!1}hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.actionType)}equals(e){return this===e}}class En extends y9{constructor(){super(R3.SKIP)}execute(e){e.skip()}toString(){return"skip"}}En.INSTANCE=new En;class In extends y9{constructor(e){super(R3.CHANNEL),this.channel=e}execute(e){e._channel=this.channel}updateHashCode(e){e.update(this.actionType,this.channel)}equals(e){return this===e?!0:e instanceof In?this.channel===e.channel:!1}toString(){return"channel("+this.channel+")"}}class On extends y9{constructor(e,t){super(R3.CUSTOM),this.ruleIndex=e,this.actionIndex=t,this.isPositionDependent=!0}execute(e){e.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(e){return this===e?!0:e instanceof On?this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex:!1}}class zn extends y9{constructor(){super(R3.MORE)}execute(e){e.more()}toString(){return"more"}}zn.INSTANCE=new zn;class Pn extends y9{constructor(e){super(R3.TYPE),this.type=e}execute(e){e.type=this.type}updateHashCode(e){e.update(this.actionType,this.type)}equals(e){return this===e?!0:e instanceof Pn?this.type===e.type:!1}toString(){return"type("+this.type+")"}}class Dn extends y9{constructor(e){super(R3.PUSH_MODE),this.mode=e}execute(e){e.pushMode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof Dn?this.mode===e.mode:!1}toString(){return"pushMode("+this.mode+")"}}class Nn extends y9{constructor(){super(R3.POP_MODE)}execute(e){e.popMode()}toString(){return"popMode"}}Nn.INSTANCE=new Nn;class Fn extends y9{constructor(e){super(R3.MODE),this.mode=e}execute(e){e.mode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof Fn?this.mode===e.mode:!1}toString(){return"mode("+this.mode+")"}}const Bn=4;function F7(o,e){const t=[];return t[o-1]=e,t.map(function(n){return e})}class fa{constructor(e){e==null&&(e=U8.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null}deserialize(e){const t=this.reset(e);this.checkVersion(t),t&&this.skipUUID();const n=this.readATN();this.readStates(n,t),this.readRules(n,t),this.readModes(n);const r=[];return this.readSets(n,r,this.readInt.bind(this)),t&&this.readSets(n,r,this.readInt32.bind(this)),this.readEdges(n,r),this.readDecisions(n),this.readLexerActions(n,t),this.markPrecedenceDecisions(n),this.verifyATN(n),this.deserializationOptions.generateRuleBypassTransitions&&n.grammarType===z7.PARSER&&(this.generateRuleBypassTransitions(n),this.verifyATN(n)),n}reset(e){if((e.charCodeAt?e.charCodeAt(0):e[0])===Bn-1){const n=function(L){const c=L.charCodeAt(0);return c>1?c-2:c+65534},r=e.split("").map(n);return r[0]=e.charCodeAt(0),this.data=r,this.pos=0,!0}else return this.data=e,this.pos=0,!1}skipUUID(){let e=0;for(;e++<8;)this.readInt()}checkVersion(e){const t=this.readInt();if(!e&&t!==Bn)throw"Could not deserialize ATN with version "+t+" (expected "+Bn+")."}readATN(){const e=this.readInt(),t=this.readInt();return new E1(e,t)}readStates(e,t){let n,r,L;const c=[],u=[],d=this.readInt();for(let p=0;p<d;p++){const m=this.readInt();if(m===Z2.INVALID_TYPE){e.addState(null);continue}let w=this.readInt();t&&w===65535&&(w=-1);const A=this.stateFactory(m,w);if(m===Z2.LOOP_END){const y=this.readInt();c.push([A,y])}else if(A instanceof O5){const y=this.readInt();u.push([A,y])}e.addState(A)}for(n=0;n<c.length;n++)r=c[n],r[0].loopBackState=e.states[r[1]];for(n=0;n<u.length;n++)r=u[n],r[0].endState=e.states[r[1]];let f=this.readInt();for(n=0;n<f;n++)L=this.readInt(),e.states[L].nonGreedy=!0;let g=this.readInt();for(n=0;n<g;n++)L=this.readInt(),e.states[L].isPrecedenceRule=!0}readRules(e,t){let n;const r=this.readInt();for(e.grammarType===z7.LEXER&&(e.ruleToTokenType=F7(r,0)),e.ruleToStartState=F7(r,0),n=0;n<r;n++){const L=this.readInt();if(e.ruleToStartState[n]=e.states[L],e.grammarType===z7.LEXER){let c=this.readInt();t&&c===65535&&(c=f2.EOF),e.ruleToTokenType[n]=c}}for(e.ruleToStopState=F7(r,0),n=0;n<e.states.length;n++){const L=e.states[n];L instanceof D3&&(e.ruleToStopState[L.ruleIndex]=L,e.ruleToStartState[L.ruleIndex].stopState=L)}}readModes(e){const t=this.readInt();for(let n=0;n<t;n++){let r=this.readInt();e.modeToStartState.push(e.states[r])}}readSets(e,t,n){const r=this.readInt();for(let L=0;L<r;L++){const c=new b4;t.push(c);const u=this.readInt();this.readInt()!==0&&c.addOne(-1);for(let f=0;f<u;f++){const g=n(),p=n();c.addRange(g,p)}}}readEdges(e,t){let n,r,L,c,u;const d=this.readInt();for(n=0;n<d;n++){const f=this.readInt(),g=this.readInt(),p=this.readInt(),m=this.readInt(),w=this.readInt(),A=this.readInt();c=this.edgeFactory(e,p,f,g,m,w,A,t),e.states[f].addTransition(c)}for(n=0;n<e.states.length;n++)for(L=e.states[n],r=0;r<L.transitions.length;r++){const f=L.transitions[r];if(!(f instanceof E7))continue;let g=-1;e.ruleToStartState[f.target.ruleIndex].isPrecedenceRule&&f.precedence===0&&(g=f.target.ruleIndex),c=new W8(f.followState,g),e.ruleToStopState[f.target.ruleIndex].addTransition(c)}for(n=0;n<e.states.length;n++){if(L=e.states[n],L instanceof O5){if(L.endState===null||L.endState.startState!==null)throw"IllegalState";L.endState.startState=L}if(L instanceof ca)for(r=0;r<L.transitions.length;r++)u=L.transitions[r].target,u instanceof kn&&(u.loopBackState=L);else if(L instanceof Tn)for(r=0;r<L.transitions.length;r++)u=L.transitions[r].target,u instanceof V0&&(u.loopBackState=L)}}readDecisions(e){const t=this.readInt();for(let n=0;n<t;n++){const r=this.readInt(),L=e.states[r];e.decisionToState.push(L),L.decision=n}}readLexerActions(e,t){if(e.grammarType===z7.LEXER){const n=this.readInt();e.lexerActions=F7(n,null);for(let r=0;r<n;r++){const L=this.readInt();let c=this.readInt();t&&c===65535&&(c=-1);let u=this.readInt();t&&u===65535&&(u=-1),e.lexerActions[r]=this.lexerActionFactory(L,c,u)}}}generateRuleBypassTransitions(e){let t;const n=e.ruleToStartState.length;for(t=0;t<n;t++)e.ruleToTokenType[t]=e.maxTokenType+t+1;for(t=0;t<n;t++)this.generateRuleBypassTransition(e,t)}generateRuleBypassTransition(e,t){let n,r;const L=new Ca;L.ruleIndex=t,e.addState(L);const c=new bn;c.ruleIndex=t,e.addState(c),L.endState=c,e.defineDecisionState(L),c.startState=L;let u=null,d=null;if(e.ruleToStartState[t].isPrecedenceRule){for(d=null,n=0;n<e.states.length;n++)if(r=e.states[n],this.stateIsEndStateFor(r,t)){d=r,u=r.loopBackState.transitions[0];break}if(u===null)throw"Couldn't identify final state of the precedence rule prefix section."}else d=e.ruleToStopState[t];for(n=0;n<e.states.length;n++){r=e.states[n];for(let m=0;m<r.transitions.length;m++){const w=r.transitions[m];w!==u&&w.target===d&&(w.target=c)}}const f=e.ruleToStartState[t],g=f.transitions.length;for(;g>0;)L.addTransition(f.transitions[g-1]),f.transitions=f.transitions.slice(-1);e.ruleToStartState[t].addTransition(new W8(L)),c.addTransition(new W8(d));const p=new aa;e.addState(p),p.addTransition(new P7(c,e.ruleToTokenType[t])),L.addTransition(new W8(p))}stateIsEndStateFor(e,t){if(e.ruleIndex!==t||!(e instanceof V0))return null;const n=e.transitions[e.transitions.length-1].target;return n instanceof z5&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof D3?e:null}markPrecedenceDecisions(e){for(let t=0;t<e.states.length;t++){const n=e.states[t];if(n instanceof V0&&e.ruleToStartState[n.ruleIndex].isPrecedenceRule){const r=n.transitions[n.transitions.length-1].target;r instanceof z5&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof D3&&(n.isPrecedenceDecision=!0)}}}verifyATN(e){if(this.deserializationOptions.verifyATN)for(let t=0;t<e.states.length;t++){const n=e.states[t];if(n!==null)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof kn)this.checkCondition(n.loopBackState!==null);else if(n instanceof V0)if(this.checkCondition(n.loopBackState!==null),this.checkCondition(n.transitions.length===2),n.transitions[0].target instanceof Zn)this.checkCondition(n.transitions[1].target instanceof z5),this.checkCondition(!n.nonGreedy);else if(n.transitions[0].target instanceof z5)this.checkCondition(n.transitions[1].target instanceof Zn),this.checkCondition(n.nonGreedy);else throw"IllegalState";else n instanceof Tn?(this.checkCondition(n.transitions.length===1),this.checkCondition(n.transitions[0].target instanceof V0)):n instanceof z5?this.checkCondition(n.loopBackState!==null):n instanceof La?this.checkCondition(n.stopState!==null):n instanceof O5?this.checkCondition(n.endState!==null):n instanceof bn?this.checkCondition(n.startState!==null):n instanceof I5?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof D3)}}checkCondition(e,t){if(!e)throw t==null&&(t="IllegalState"),t}readInt(){return this.data[this.pos++]}readInt32(){const e=this.readInt(),t=this.readInt();return e|t<<16}edgeFactory(e,t,n,r,L,c,u,d){const f=e.states[r];switch(t){case y2.EPSILON:return new W8(f);case y2.RANGE:return u!==0?new ua(f,f2.EOF,c):new ua(f,L,c);case y2.RULE:return new E7(e.states[L],c,u,f);case y2.PREDICATE:return new ha(f,L,c,u!==0);case y2.PRECEDENCE:return new jp(f,L);case y2.ATOM:return u!==0?new P7(f,f2.EOF):new P7(f,L);case y2.ACTION:return new da(f,L,c,u!==0);case y2.SET:return new wn(f,d[L]);case y2.NOT_SET:return new Mn(f,d[L]);case y2.WILDCARD:return new sa(f);default:throw"The specified transition type: "+t+" is not valid."}}stateFactory(e,t){if(this.stateFactories===null){const n=[];n[Z2.INVALID_TYPE]=null,n[Z2.BASIC]=()=>new aa,n[Z2.RULE_START]=()=>new La,n[Z2.BLOCK_START]=()=>new Ca,n[Z2.PLUS_BLOCK_START]=()=>new kn,n[Z2.STAR_BLOCK_START]=()=>new Zn,n[Z2.TOKEN_START]=()=>new Bp,n[Z2.RULE_STOP]=()=>new D3,n[Z2.BLOCK_END]=()=>new bn,n[Z2.STAR_LOOP_BACK]=()=>new Tn,n[Z2.STAR_LOOP_ENTRY]=()=>new V0,n[Z2.PLUS_LOOP_BACK]=()=>new ca,n[Z2.LOOP_END]=()=>new z5,this.stateFactories=n}if(e>this.stateFactories.length||this.stateFactories[e]===null)throw"The specified state type "+e+" is not valid.";{const n=this.stateFactories[e]();if(n!==null)return n.ruleIndex=t,n}}lexerActionFactory(e,t,n){if(this.actionFactories===null){const r=[];r[R3.CHANNEL]=(L,c)=>new In(L),r[R3.CUSTOM]=(L,c)=>new On(L,c),r[R3.MODE]=(L,c)=>new Fn(L),r[R3.MORE]=(L,c)=>zn.INSTANCE,r[R3.POP_MODE]=(L,c)=>Nn.INSTANCE,r[R3.PUSH_MODE]=(L,c)=>new Dn(L),r[R3.SKIP]=(L,c)=>En.INSTANCE,r[R3.TYPE]=(L,c)=>new Pn(L),this.actionFactories=r}if(e>this.actionFactories.length||this.actionFactories[e]===null)throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,n)}}class B7{syntaxError(e,t,n,r,L,c){}reportAmbiguity(e,t,n,r,L,c,u){}reportAttemptingFullContext(e,t,n,r,L,c){}reportContextSensitivity(e,t,n,r,L,c){}}class jn extends B7{constructor(){super()}syntaxError(e,t,n,r,L,c){console.error("line "+n+":"+r+" "+L)}}jn.INSTANCE=new jn;class Wp extends B7{constructor(e){if(super(),e===null)throw"delegates";return this.delegates=e,this}syntaxError(e,t,n,r,L,c){this.delegates.map(u=>u.syntaxError(e,t,n,r,L,c))}reportAmbiguity(e,t,n,r,L,c,u){this.delegates.map(d=>d.reportAmbiguity(e,t,n,r,L,c,u))}reportAttemptingFullContext(e,t,n,r,L,c){this.delegates.map(u=>u.reportAttemptingFullContext(e,t,n,r,L,c))}reportContextSensitivity(e,t,n,r,L,c){this.delegates.map(u=>u.reportContextSensitivity(e,t,n,r,L,c))}}class j7{constructor(){this._listeners=[jn.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(e){const t="4.11.0";t!==e&&console.log("ANTLR runtime and generated code versions disagree: "+t+"!="+e)}addErrorListener(e){this._listeners.push(e)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const e=this.getLiteralNames(),t=this.getSymbolicNames(),n=e.length>t.length?e.length:t.length;this.tokenNames=[];for(let r=0;r<n;r++)this.tokenNames[r]=e[r]||t[r]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const e=this.getTokenNames();if(e===null)throw"The current recognizer does not provide a list of token names.";let t=this.tokenTypeMapCache[e];return t===void 0&&(t=e.reduce(function(n,r,L){n[r]=L}),t.EOF=f2.EOF,this.tokenTypeMapCache[e]=t),t}getRuleIndexMap(){const e=this.ruleNames;if(e===null)throw"The current recognizer does not provide a list of rule names.";let t=this.ruleIndexMapCache[e];return t===void 0&&(t=e.reduce(function(n,r,L){n[r]=L}),this.ruleIndexMapCache[e]=t),t}getTokenType(e){const t=this.getTokenTypeMap()[e];return t!==void 0?t:f2.INVALID_TYPE}getErrorHeader(e){const t=e.getOffendingToken().line,n=e.getOffendingToken().column;return"line "+t+":"+n}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===f2.EOF?t="<EOF>":t="<"+e.type+">"),t=t.replace(`
|
|
18
|
+
*/var Ql;function bp(){if(Ql)return X2;Ql=1;var o=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.iterator;function m(R){return R===null||typeof R!="object"?null:(R=p&&R[p]||R["@@iterator"],typeof R=="function"?R:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,y={};function Z(R,J,i2){this.props=R,this.context=J,this.refs=y,this.updater=i2||w}Z.prototype.isReactComponent={},Z.prototype.setState=function(R,J){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,J,"setState")},Z.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function k(){}k.prototype=Z.prototype;function D(R,J,i2){this.props=R,this.context=J,this.refs=y,this.updater=i2||w}var z=D.prototype=new k;z.constructor=D,A(z,Z.prototype),z.isPureReactComponent=!0;var O=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},t2=Object.prototype.hasOwnProperty;function H(R,J,i2,V,e2,_2){return i2=_2.ref,{$$typeof:o,type:R,key:J,ref:i2!==void 0?i2:null,props:_2}}function Q(R,J){return H(R.type,J,void 0,void 0,void 0,R.props)}function n2(R){return typeof R=="object"&&R!==null&&R.$$typeof===o}function L2(R){var J={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(i2){return J[i2]})}var r2=/\/+/g;function C2(R,J){return typeof R=="object"&&R!==null&&R.key!=null?L2(""+R.key):J.toString(36)}function x2(){}function D2(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(x2,x2):(R.status="pending",R.then(function(J){R.status==="pending"&&(R.status="fulfilled",R.value=J)},function(J){R.status==="pending"&&(R.status="rejected",R.reason=J)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function $(R,J,i2,V,e2){var _2=typeof R;(_2==="undefined"||_2==="boolean")&&(R=null);var v2=!1;if(R===null)v2=!0;else switch(_2){case"bigint":case"string":case"number":v2=!0;break;case"object":switch(R.$$typeof){case o:case e:v2=!0;break;case g:return v2=R._init,$(v2(R._payload),J,i2,V,e2)}}if(v2)return e2=e2(R),v2=V===""?"."+C2(R,0):V,O(e2)?(i2="",v2!=null&&(i2=v2.replace(r2,"$&/")+"/"),$(e2,J,i2,"",function(R1){return R1})):e2!=null&&(n2(e2)&&(e2=Q(e2,i2+(e2.key==null||R&&R.key===e2.key?"":(""+e2.key).replace(r2,"$&/")+"/")+v2)),J.push(e2)),1;v2=0;var N2=V===""?".":V+":";if(O(R))for(var Y2=0;Y2<R.length;Y2++)V=R[Y2],_2=N2+C2(V,Y2),v2+=$(V,J,i2,_2,e2);else if(Y2=m(R),typeof Y2=="function")for(R=Y2.call(R),Y2=0;!(V=R.next()).done;)V=V.value,_2=N2+C2(V,Y2++),v2+=$(V,J,i2,_2,e2);else if(_2==="object"){if(typeof R.then=="function")return $(D2(R),J,i2,V,e2);throw J=String(R),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return v2}function T(R,J,i2){if(R==null)return R;var V=[],e2=0;return $(R,V,"","",function(_2){return J.call(i2,_2,e2++)}),V}function U(R){if(R._status===-1){var J=R._result;J=J(),J.then(function(i2){(R._status===0||R._status===-1)&&(R._status=1,R._result=i2)},function(i2){(R._status===0||R._status===-1)&&(R._status=2,R._result=i2)}),R._status===-1&&(R._status=0,R._result=J)}if(R._status===1)return R._result.default;throw R._result}var B=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function p2(){}return X2.Children={map:T,forEach:function(R,J,i2){T(R,function(){J.apply(this,arguments)},i2)},count:function(R){var J=0;return T(R,function(){J++}),J},toArray:function(R){return T(R,function(J){return J})||[]},only:function(R){if(!n2(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},X2.Component=Z,X2.Fragment=t,X2.Profiler=r,X2.PureComponent=D,X2.StrictMode=n,X2.Suspense=d,X2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,X2.__COMPILER_RUNTIME={__proto__:null,c:function(R){return F.H.useMemoCache(R)}},X2.cache=function(R){return function(){return R.apply(null,arguments)}},X2.cloneElement=function(R,J,i2){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var V=A({},R.props),e2=R.key,_2=void 0;if(J!=null)for(v2 in J.ref!==void 0&&(_2=void 0),J.key!==void 0&&(e2=""+J.key),J)!t2.call(J,v2)||v2==="key"||v2==="__self"||v2==="__source"||v2==="ref"&&J.ref===void 0||(V[v2]=J[v2]);var v2=arguments.length-2;if(v2===1)V.children=i2;else if(1<v2){for(var N2=Array(v2),Y2=0;Y2<v2;Y2++)N2[Y2]=arguments[Y2+2];V.children=N2}return H(R.type,e2,void 0,void 0,_2,V)},X2.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:L,_context:R},R},X2.createElement=function(R,J,i2){var V,e2={},_2=null;if(J!=null)for(V in J.key!==void 0&&(_2=""+J.key),J)t2.call(J,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(e2[V]=J[V]);var v2=arguments.length-2;if(v2===1)e2.children=i2;else if(1<v2){for(var N2=Array(v2),Y2=0;Y2<v2;Y2++)N2[Y2]=arguments[Y2+2];e2.children=N2}if(R&&R.defaultProps)for(V in v2=R.defaultProps,v2)e2[V]===void 0&&(e2[V]=v2[V]);return H(R,_2,void 0,void 0,null,e2)},X2.createRef=function(){return{current:null}},X2.forwardRef=function(R){return{$$typeof:u,render:R}},X2.isValidElement=n2,X2.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:U}},X2.memo=function(R,J){return{$$typeof:f,type:R,compare:J===void 0?null:J}},X2.startTransition=function(R){var J=F.T,i2={};F.T=i2;try{var V=R(),e2=F.S;e2!==null&&e2(i2,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(p2,B)}catch(_2){B(_2)}finally{F.T=J}},X2.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},X2.use=function(R){return F.H.use(R)},X2.useActionState=function(R,J,i2){return F.H.useActionState(R,J,i2)},X2.useCallback=function(R,J){return F.H.useCallback(R,J)},X2.useContext=function(R){return F.H.useContext(R)},X2.useDebugValue=function(){},X2.useDeferredValue=function(R,J){return F.H.useDeferredValue(R,J)},X2.useEffect=function(R,J,i2){var V=F.H;if(typeof i2=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return V.useEffect(R,J)},X2.useId=function(){return F.H.useId()},X2.useImperativeHandle=function(R,J,i2){return F.H.useImperativeHandle(R,J,i2)},X2.useInsertionEffect=function(R,J){return F.H.useInsertionEffect(R,J)},X2.useLayoutEffect=function(R,J){return F.H.useLayoutEffect(R,J)},X2.useMemo=function(R,J){return F.H.useMemo(R,J)},X2.useOptimistic=function(R,J){return F.H.useOptimistic(R,J)},X2.useReducer=function(R,J,i2){return F.H.useReducer(R,J,i2)},X2.useRef=function(R){return F.H.useRef(R)},X2.useState=function(R){return F.H.useState(R)},X2.useSyncExternalStore=function(R,J,i2){return F.H.useSyncExternalStore(R,J,i2)},X2.useTransition=function(){return F.H.useTransition()},X2.version="19.1.1",X2}var Xl;function T7(){return Xl||(Xl=1,pn.exports=bp()),pn.exports}var M=T7();const R2=Y1(M),k7=V4({__proto__:null,default:R2},[M]),Tp={},Kl=M.createContext(void 0);function _n(o){return M.useContext(Kl)||Rp()}function kp({children:o,store:e}){const t=M.useRef(void 0);return!e&&!t.current&&(t.current=gn()),M.createElement(Kl.Provider,{value:e||t.current},o)}const mn=o=>typeof(o==null?void 0:o.then)=="function",vn=o=>{o.status||(o.status="pending",o.then(e=>{o.status="fulfilled",o.value=e},e=>{o.status="rejected",o.reason=e}))},Zp=R2.use||(o=>{if(o.status==="pending")throw o;if(o.status==="fulfilled")return o.value;throw o.status==="rejected"?o.reason:(vn(o),o)}),xn=new WeakMap,Jl=(o,e)=>{let t=xn.get(o);return t||(t=new Promise((n,r)=>{let L=o;const c=f=>g=>{L===f&&n(g)},u=f=>g=>{L===f&&r(g)},d=()=>{try{const f=e();mn(f)?(xn.set(f,t),L=f,f.then(c(f),u(f)),ql(f,d)):n(f)}catch(f){r(f)}};o.then(c(o),u(o)),ql(o,d)}),xn.set(o,t)),t};function G2(o,e){const{delay:t,unstable_promiseStatus:n=!R2.use}={},r=_n(),[[L,c,u],d]=M.useReducer(g=>{const p=r.get(o);return Object.is(g[0],p)&&g[1]===r&&g[2]===o?g:[p,r,o]},void 0,()=>[r.get(o),r,o]);let f=L;if((c!==r||u!==o)&&(d(),f=r.get(o)),M.useEffect(()=>{const g=r.sub(o,()=>{if(n)try{const p=r.get(o);mn(p)&&vn(Jl(p,()=>r.get(o)))}catch{}if(typeof t=="number"){setTimeout(d,t);return}d()});return d(),g},[r,o,t,n]),M.useDebugValue(f),mn(f)){const g=Jl(f,()=>r.get(o));return n&&vn(g),Zp(g)}return f}function T5(o,e){const t=_n();return M.useCallback((...r)=>{if((Tp?"production":void 0)!=="production"&&!("write"in o))throw new Error("not writable atom");return t.set(o,...r)},[t,o])}function q4(o,e){return[G2(o),T5(o)]}const ea=(o,e)=>{const n=Z1((()=>{const L=localStorage.getItem(o);return L!==null?JSON.parse(L):e})());return Z1(L=>L(n),(L,c,u)=>{const d=typeof u=="function"?u(L(n)):u;c(n,d),localStorage.setItem(o,JSON.stringify(d))})},D8=o=>{const e=Z1({fn:o});return Z1(n=>n(e).fn,(n,r,L)=>{r(e,{fn:L})})};String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const o=this.toString();let e,t;const n=o.length&3,r=o.length-n;let L=String.prototype.seed;const c=3432918353,u=461845907;let d=0;for(;d<r;)t=o.charCodeAt(d)&255|(o.charCodeAt(++d)&255)<<8|(o.charCodeAt(++d)&255)<<16|(o.charCodeAt(++d)&255)<<24,++d,t=(t&65535)*c+(((t>>>16)*c&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*u+(((t>>>16)*u&65535)<<16)&4294967295,L^=t,L=L<<13|L>>>19,e=(L&65535)*5+(((L>>>16)*5&65535)<<16)&4294967295,L=(e&65535)+27492+(((e>>>16)+58964&65535)<<16);switch(t=0,n){case 3:t^=(o.charCodeAt(d+2)&255)<<16;case 2:t^=(o.charCodeAt(d+1)&255)<<8;case 1:t^=o.charCodeAt(d)&255,t=(t&65535)*c+(((t>>>16)*c&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*u+(((t>>>16)*u&65535)<<16)&4294967295,L^=t}return L^=o.length,L^=L>>>16,L=(L&65535)*2246822507+(((L>>>16)*2246822507&65535)<<16)&4294967295,L^=L>>>13,L=(L&65535)*3266489909+(((L>>>16)*3266489909&65535)<<16)&4294967295,L^=L>>>16,L>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||(function(){var o=(function(){let t;try{const n={},r=Object.defineProperty;t=r(n,n,n)&&r}catch{}return t})();const e=function(t){if(this==null)throw TypeError();const n=String(this),r=n.length;let L=t?Number(t):0;if(L!==L&&(L=0),L<0||L>=r)return;const c=n.charCodeAt(L);let u;return c>=55296&&c<=56319&&r>L+1&&(u=n.charCodeAt(L+1),u>=56320&&u<=57343)?(c-55296)*1024+u-56320+65536:c};o?o(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e})();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||(function(){const o=(function(){let r;try{const L={},c=Object.defineProperty;r=c(L,L,L)&&c}catch{}return r})(),e=String.fromCharCode,t=Math.floor,n=function(r){const c=[];let u,d,f=-1;const g=arguments.length;if(!g)return"";let p="";for(;++f<g;){let m=Number(arguments[f]);if(!isFinite(m)||m<0||m>1114111||t(m)!==m)throw RangeError("Invalid code point: "+m);m<=65535?c.push(m):(m-=65536,u=(m>>10)+55296,d=m%1024+56320,c.push(u,d)),(f+1===g||c.length>16384)&&(p+=e.apply(null,c),c.length=0)}return p};o?o(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})();class f2{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(e){this._text=e}}f2.INVALID_TYPE=0,f2.EPSILON=-2,f2.MIN_USER_TOKEN_TYPE=1,f2.EOF=-1,f2.DEFAULT_CHANNEL=0,f2.HIDDEN_CHANNEL=1;function k5(o,e){if(!Array.isArray(o)||!Array.isArray(e))return!1;if(o===e)return!0;if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t]&&(!o[t].equals||!o[t].equals(e[t])))return!1;return!0}class a4{constructor(){this.count=0,this.hash=0}update(){for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t!=null)if(Array.isArray(t))this.update.apply(this,t);else{let n=0;switch(typeof t){case"undefined":case"function":continue;case"number":case"boolean":n=t;break;case"string":n=t.hashCode();break;default:t.updateHashCode?t.updateHashCode(this):console.log("No updateHashCode for "+t.toString());continue}n=n*3432918353,n=n<<15|n>>>17,n=n*461845907,this.count=this.count+1;let r=this.hash^n;r=r<<13|r>>>19,r=r*5+3864292196,this.hash=r}}}finish(){let e=this.hash^this.count*4;return e=e^e>>>16,e=e*2246822507,e=e^e>>>13,e=e*3266489909,e=e^e>>>16,e}static hashStuff(){const e=new a4;return e.update.apply(e,arguments),e.finish()}}function ta(o){return o?o.hashCode():-1}function na(o,e){return o?o.equals(e):o===e}function Ep(o){return o===null?"null":o}function n0(o){return Array.isArray(o)?"["+o.map(Ep).join(", ")+"]":"null"}const Z7="h-";class L4{constructor(e,t){this.data={},this.hashFunction=e||ta,this.equalsFunction=t||na}add(e){const t=Z7+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return n.push(e),e}else return this.data[t]=[e],e}has(e){return this.get(e)!=null}get(e){const t=Z7+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r]}return null}values(){return Object.keys(this.data).filter(e=>e.startsWith(Z7)).flatMap(e=>this.data[e],this)}toString(){return n0(this.values())}get length(){return Object.keys(this.data).filter(e=>e.startsWith(Z7)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}class d1{hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}evaluate(e,t){}evalPrecedence(e,t){return this}static andContext(e,t){if(e===null||e===d1.NONE)return t;if(t===null||t===d1.NONE)return e;const n=new N8(e,t);return n.opnds.length===1?n.opnds[0]:n}static orContext(e,t){if(e===null)return t;if(t===null)return e;if(e===d1.NONE||t===d1.NONE)return d1.NONE;const n=new F8(e,t);return n.opnds.length===1?n.opnds[0]:n}}class N8 extends d1{constructor(e,t){super();const n=new L4;e instanceof N8?e.opnds.map(function(L){n.add(L)}):n.add(e),t instanceof N8?t.opnds.map(function(L){n.add(L)}):n.add(t);const r=ia(n);if(r.length>0){let L=null;r.map(function(c){(L===null||c.precedence<L.precedence)&&(L=c)}),n.add(L)}this.opnds=Array.from(n.values())}equals(e){return this===e?!0:e instanceof N8?k5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"AND")}evaluate(e,t){for(let n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(e,t))return!1;return!0}evalPrecedence(e,t){let n=!1;const r=[];for(let c=0;c<this.opnds.length;c++){const u=this.opnds[c],d=u.evalPrecedence(e,t);if(n|=d!==u,d===null)return null;d!==d1.NONE&&r.push(d)}if(!n)return this;if(r.length===0)return d1.NONE;let L=null;return r.map(function(c){L=L===null?c:d1.andContext(L,c)}),L}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("&&")}}class F8 extends d1{constructor(e,t){super();const n=new L4;e instanceof F8?e.opnds.map(function(L){n.add(L)}):n.add(e),t instanceof F8?t.opnds.map(function(L){n.add(L)}):n.add(t);const r=ia(n);if(r.length>0){const L=r.sort(function(u,d){return u.compareTo(d)}),c=L[L.length-1];n.add(c)}this.opnds=Array.from(n.values())}equals(e){return this===e?!0:e instanceof F8?k5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"OR")}evaluate(e,t){for(let n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(e,t))return!0;return!1}evalPrecedence(e,t){let n=!1;const r=[];for(let c=0;c<this.opnds.length;c++){const u=this.opnds[c],d=u.evalPrecedence(e,t);if(n|=d!==u,d===d1.NONE)return d1.NONE;d!==null&&r.push(d)}return n?(r.length===0,null):this}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("||")}}function ia(o){const e=[];return o.values().map(function(t){t instanceof d1.PrecedencePredicate&&e.push(t)}),e}function oa(o,e){if(o===null){const t={state:null,alt:null,context:null,semanticContext:null};return e&&(t.reachesIntoOuterContext=0),t}else{const t={};return t.state=o.state||null,t.alt=o.alt===void 0?null:o.alt,t.context=o.context||null,t.semanticContext=o.semanticContext||null,e&&(t.reachesIntoOuterContext=o.reachesIntoOuterContext||0,t.precedenceFilterSuppressed=o.precedenceFilterSuppressed||!1),t}}class B1{constructor(e,t){this.checkContext(e,t),e=oa(e),t=oa(t,!0),this.state=e.state!==null?e.state:t.state,this.alt=e.alt!==null?e.alt:t.alt,this.context=e.context!==null?e.context:t.context,this.semanticContext=e.semanticContext!==null?e.semanticContext:t.semanticContext!==null?t.semanticContext:d1.NONE,this.reachesIntoOuterContext=t.reachesIntoOuterContext,this.precedenceFilterSuppressed=t.precedenceFilterSuppressed}checkContext(e,t){(e.context===null||e.context===void 0)&&(t===null||t.context===null||t.context===void 0)&&(this.context=null)}hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(e){return this===e?!0:e instanceof B1?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(this.context===null?e.context===null:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const e=new a4;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}equalsForConfigSet(e){return this===e?!0:e instanceof B1?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==d1.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class h1{constructor(e,t){this.start=e,this.stop=t}clone(){return new h1(this.start,this.stop)}contains(e){return e>=this.start&&e<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}h1.INVALID_INTERVAL=new h1(-1,-2);class b4{constructor(){this.intervals=null,this.readOnly=!1}first(e){return this.intervals===null||this.intervals.length===0?f2.INVALID_TYPE:this.intervals[0].start}addOne(e){this.addInterval(new h1(e,e+1))}addRange(e,t){this.addInterval(new h1(e,t+1))}addInterval(e){if(this.intervals===null)this.intervals=[],this.intervals.push(e.clone());else{for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];if(e.stop<n.start){this.intervals.splice(t,0,e);return}else if(e.stop===n.start){this.intervals[t]=new h1(e.start,n.stop);return}else if(e.start<=n.stop){this.intervals[t]=new h1(Math.min(n.start,e.start),Math.max(n.stop,e.stop)),this.reduce(t);return}}this.intervals.push(e.clone())}}addSet(e){return e.intervals!==null&&e.intervals.forEach(t=>this.addInterval(t),this),this}reduce(e){if(e<this.intervals.length-1){const t=this.intervals[e],n=this.intervals[e+1];t.stop>=n.stop?(this.intervals.splice(e+1,1),this.reduce(e)):t.stop>=n.start&&(this.intervals[e]=new h1(t.start,n.stop),this.intervals.splice(e+1,1))}}complement(e,t){const n=new b4;return n.addInterval(new h1(e,t+1)),this.intervals!==null&&this.intervals.forEach(r=>n.removeRange(r)),n}contains(e){if(this.intervals===null)return!1;for(let t=0;t<this.intervals.length;t++)if(this.intervals[t].contains(e))return!0;return!1}removeRange(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(this.intervals!==null){let t=0;for(let n=0;n<this.intervals.length;n++){const r=this.intervals[t];if(e.stop<=r.start)return;if(e.start>r.start&&e.stop<r.stop){this.intervals[t]=new h1(r.start,e.start);const L=new h1(e.stop,r.stop);this.intervals.splice(t,0,L);return}else e.start<=r.start&&e.stop>=r.stop?(this.intervals.splice(t,1),t=t-1):e.start<r.stop?this.intervals[t]=new h1(r.start,e.start):e.stop<r.stop&&(this.intervals[t]=new h1(e.stop,r.stop));t+=1}}}removeOne(e){if(this.intervals!==null)for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];if(e<n.start)return;if(e===n.start&&e===n.stop-1){this.intervals.splice(t,1);return}else if(e===n.start){this.intervals[t]=new h1(n.start+1,n.stop);return}else if(e===n.stop-1){this.intervals[t]=new h1(n.start,n.stop-1);return}else if(e<n.stop-1){const r=new h1(n.start,e);n.start=e+1,this.intervals.splice(t,0,r);return}}}toString(e,t,n){return e=e||null,t=t||null,n=n||!1,this.intervals===null?"{}":e!==null||t!==null?this.toTokenString(e,t):n?this.toCharString():this.toIndexString()}toCharString(){const e=[];for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];n.stop===n.start+1?n.start===f2.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(n.start)+"'"):e.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}toIndexString(){const e=[];for(let t=0;t<this.intervals.length;t++){const n=this.intervals[t];n.stop===n.start+1?n.start===f2.EOF?e.push("<EOF>"):e.push(n.start.toString()):e.push(n.start.toString()+".."+(n.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}toTokenString(e,t){const n=[];for(let r=0;r<this.intervals.length;r++){const L=this.intervals[r];for(let c=L.start;c<L.stop;c++)n.push(this.elementName(e,t,c))}return n.length>1?"{"+n.join(", ")+"}":n[0]}elementName(e,t,n){return n===f2.EOF?"<EOF>":n===f2.EPSILON?"<EPSILON>":e[n]||t[n]}get length(){return this.intervals.map(e=>e.length).reduce((e,t)=>e+t)}}class Z2{constructor(){this.atn=null,this.stateNumber=Z2.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(e){return e instanceof Z2?this.stateNumber===e.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(e,t){t===void 0&&(t=-1),this.transitions.length===0?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),t===-1?this.transitions.push(e):this.transitions.splice(t,1,e)}}Z2.INVALID_TYPE=0,Z2.BASIC=1,Z2.RULE_START=2,Z2.BLOCK_START=3,Z2.PLUS_BLOCK_START=4,Z2.STAR_BLOCK_START=5,Z2.TOKEN_START=6,Z2.RULE_STOP=7,Z2.BLOCK_END=8,Z2.STAR_LOOP_BACK=9,Z2.STAR_LOOP_ENTRY=10,Z2.PLUS_LOOP_BACK=11,Z2.LOOP_END=12,Z2.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],Z2.INVALID_STATE_NUMBER=-1;class D3 extends Z2{constructor(){return super(),this.stateType=Z2.RULE_STOP,this}}class y2{constructor(e){if(e==null)throw"target cannot be null.";this.target=e,this.isEpsilon=!1,this.label=null}}y2.EPSILON=1,y2.RANGE=2,y2.RULE=3,y2.PREDICATE=4,y2.ATOM=5,y2.ACTION=6,y2.SET=7,y2.NOT_SET=8,y2.WILDCARD=9,y2.PRECEDENCE=10,y2.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],y2.serializationTypes={EpsilonTransition:y2.EPSILON,RangeTransition:y2.RANGE,RuleTransition:y2.RULE,PredicateTransition:y2.PREDICATE,AtomTransition:y2.ATOM,ActionTransition:y2.ACTION,SetTransition:y2.SET,NotSetTransition:y2.NOT_SET,WildcardTransition:y2.WILDCARD,PrecedencePredicateTransition:y2.PRECEDENCE};class E7 extends y2{constructor(e,t,n,r){super(e),this.ruleIndex=t,this.precedence=n,this.followState=r,this.serializationType=y2.RULE,this.isEpsilon=!0}matches(e,t,n){return!1}}class wn extends y2{constructor(e,t){super(e),this.serializationType=y2.SET,t!=null?this.label=t:(this.label=new b4,this.label.addOne(f2.INVALID_TYPE))}matches(e,t,n){return this.label.contains(e)}toString(){return this.label.toString()}}class Mn extends wn{constructor(e,t){super(e,t),this.serializationType=y2.NOT_SET}matches(e,t,n){return e>=t&&e<=n&&!super.matches(e,t,n)}toString(){return"~"+super.toString()}}class sa extends y2{constructor(e){super(e),this.serializationType=y2.WILDCARD}matches(e,t,n){return e>=t&&e<=n}toString(){return"."}}class Sn extends y2{constructor(e){super(e)}}class Ip{}class Op extends Ip{}class ra extends Op{}class I7 extends ra{getRuleContext(){throw new Error("missing interface implementation")}}class S9 extends ra{}class O7 extends S9{}function zp(o,e){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),o}const o9={toStringTree:function(o,e,t){e=e||null,t=t||null,t!==null&&(e=t.ruleNames);let n=o9.getNodeText(o,e);n=zp(n);const r=o.getChildCount();if(r===0)return n;let L="("+n+" ";r>0&&(n=o9.toStringTree(o.getChild(0),e),L=L.concat(n));for(let c=1;c<r;c++)n=o9.toStringTree(o.getChild(c),e),L=L.concat(" "+n);return L=L.concat(")"),L},getNodeText:function(o,e,t){if(e=e||null,t=t||null,t!==null&&(e=t.ruleNames),e!==null)if(o instanceof I7){const L=o.getRuleContext().getAltNumber();return L!=0?e[o.ruleIndex]+":"+L:e[o.ruleIndex]}else{if(o instanceof O7)return o.toString();if(o instanceof S9&&o.symbol!==null)return o.symbol.text}const n=o.getPayload();return n instanceof f2?n.text:o.getPayload().toString()},getChildren:function(o){const e=[];for(let t=0;t<o.getChildCount();t++)e.push(o.getChild(t));return e},getAncestors:function(o){let e=[];for(o=o.getParent();o!==null;)e=[o].concat(e),o=o.getParent();return e},findAllTokenNodes:function(o,e){return o9.findAllNodes(o,e,!0)},findAllRuleNodes:function(o,e){return o9.findAllNodes(o,e,!1)},findAllNodes:function(o,e,t){const n=[];return o9._findAllNodes(o,e,t,n),n},_findAllNodes:function(o,e,t,n){t&&o instanceof S9?o.symbol.type===e&&n.push(o):!t&&o instanceof I7&&o.ruleIndex===e&&n.push(o);for(let r=0;r<o.getChildCount();r++)o9._findAllNodes(o.getChild(r),e,t,n)},descendants:function(o){let e=[o];for(let t=0;t<o.getChildCount();t++)e=e.concat(o9.descendants(o.getChild(t)));return e}};class Z5 extends I7{constructor(e,t){super(),this.parentCtx=e||null,this.invokingState=t||-1}depth(){let e=0,t=this;for(;t!==null;)t=t.parentCtx,e+=1;return e}isEmpty(){return this.invokingState===-1}getSourceInterval(){return h1.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(e){return e.getText()}).join("")}getAltNumber(){return 0}setAltNumber(e){}getChild(e){return null}getChildCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e,t){return o9.toStringTree(this,e,t)}toString(e,t){e=e||null,t=t||null;let n=this,r="[";for(;n!==null&&n!==t;){if(e===null)n.isEmpty()||(r+=n.invokingState);else{const L=n.ruleIndex,c=L>=0&&L<e.length?e[L]:""+L;r+=c}n.parentCtx!==null&&(e!==null||!n.parentCtx.isEmpty())&&(r+=" "),n=n.parentCtx}return r+="]",r}}class J2{constructor(e){this.cachedHashCode=e}isEmpty(){return this===J2.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===J2.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}}J2.EMPTY=null,J2.EMPTY_RETURN_STATE=2147483647,J2.globalNodeCount=1,J2.id=J2.globalNodeCount;class s9 extends J2{constructor(e,t){const n=new a4;n.update(e,t);const r=n.finish();return super(r),this.parents=e,this.returnStates=t,this}isEmpty(){return this.returnStates[0]===J2.EMPTY_RETURN_STATE}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}equals(e){return this===e?!0:e instanceof s9?this.hashCode()!==e.hashCode()?!1:k5(this.returnStates,e.returnStates)&&k5(this.parents,e.parents):!1}toString(){if(this.isEmpty())return"[]";{let e="[";for(let t=0;t<this.returnStates.length;t++){if(t>0&&(e=e+", "),this.returnStates[t]===J2.EMPTY_RETURN_STATE){e=e+"$";continue}e=e+this.returnStates[t],this.parents[t]!==null?e=e+" "+this.parents[t]:e=e+"null"}return e+"]"}}get length(){return this.returnStates.length}}class N3 extends J2{constructor(e,t){let n=0;const r=new a4;e!==null?r.update(e,t):r.update(1),n=r.finish(),super(n),this.parentCtx=e,this.returnState=t}getParent(e){return this.parentCtx}getReturnState(e){return this.returnState}equals(e){return this===e?!0:e instanceof N3?this.hashCode()!==e.hashCode()||this.returnState!==e.returnState?!1:this.parentCtx==null?e.parentCtx==null:this.parentCtx.equals(e.parentCtx):!1}toString(){const e=this.parentCtx===null?"":this.parentCtx.toString();return e.length===0?this.returnState===J2.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+e}get length(){return 1}static create(e,t){return t===J2.EMPTY_RETURN_STATE&&e===null?J2.EMPTY:new N3(e,t)}}class yn extends N3{constructor(){super(null,J2.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(e){return null}getReturnState(e){return this.returnState}equals(e){return this===e}toString(){return"$"}}J2.EMPTY=new yn;const B8="h-";class j8{constructor(e,t){this.data={},this.hashFunction=e||ta,this.equalsFunction=t||na}set(e,t){const n=B8+this.hashFunction(e);if(n in this.data){const r=this.data[n];for(let L=0;L<r.length;L++){const c=r[L];if(this.equalsFunction(e,c.key)){const u=c.value;return c.value=t,u}}return r.push({key:e,value:t}),t}else return this.data[n]=[{key:e,value:t}],t}containsKey(e){const t=B8+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++){const L=n[r];if(this.equalsFunction(e,L.key))return!0}}return!1}get(e){const t=B8+this.hashFunction(e);if(t in this.data){const n=this.data[t];for(let r=0;r<n.length;r++){const L=n[r];if(this.equalsFunction(e,L.key))return L.value}}return null}entries(){return Object.keys(this.data).filter(e=>e.startsWith(B8)).flatMap(e=>this.data[e],this)}getKeys(){return this.entries().map(e=>e.key)}getValues(){return this.entries().map(e=>e.value)}toString(){return"["+this.entries().map(t=>"{"+t.key+":"+t.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(e=>e.startsWith(B8)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}function An(o,e){if(e==null&&(e=Z5.EMPTY),e.parentCtx===null||e===Z5.EMPTY)return J2.EMPTY;const t=An(o,e.parentCtx),r=o.states[e.invokingState].transitions[0];return N3.create(t,r.followState.stateNumber)}function la(o,e,t){if(o.isEmpty())return o;let n=t.get(o)||null;if(n!==null)return n;if(n=e.get(o),n!==null)return t.set(o,n),n;let r=!1,L=[];for(let u=0;u<L.length;u++){const d=la(o.getParent(u),e,t);if(r||d!==o.getParent(u)){if(!r){L=[];for(let f=0;f<o.length;f++)L[f]=o.getParent(f);r=!0}L[u]=d}}if(!r)return e.add(o),t.set(o,o),o;let c=null;return L.length===0?c=J2.EMPTY:L.length===1?c=N3.create(L[0],o.getReturnState(0)):c=new s9(L,o.returnStates),e.add(c),t.set(c,c),t.set(o,c),c}function Rn(o,e,t,n){if(o===e)return o;if(o instanceof N3&&e instanceof N3)return Np(o,e,t,n);if(t){if(o instanceof yn)return o;if(e instanceof yn)return e}return o instanceof N3&&(o=new s9([o.getParent()],[o.returnState])),e instanceof N3&&(e=new s9([e.getParent()],[e.returnState])),Pp(o,e,t,n)}function Pp(o,e,t,n){if(n!==null){let g=n.get(o,e);if(g!==null||(g=n.get(e,o),g!==null))return g}let r=0,L=0,c=0,u=[],d=[];for(;r<o.returnStates.length&&L<e.returnStates.length;){const g=o.parents[r],p=e.parents[L];if(o.returnStates[r]===e.returnStates[L]){const m=o.returnStates[r];m===J2.EMPTY_RETURN_STATE&&g===null&&p===null||g!==null&&p!==null&&g===p?(d[c]=g,u[c]=m):(d[c]=Rn(g,p,t,n),u[c]=m),r+=1,L+=1}else o.returnStates[r]<e.returnStates[L]?(d[c]=g,u[c]=o.returnStates[r],r+=1):(d[c]=p,u[c]=e.returnStates[L],L+=1);c+=1}if(r<o.returnStates.length)for(let g=r;g<o.returnStates.length;g++)d[c]=o.parents[g],u[c]=o.returnStates[g],c+=1;else for(let g=L;g<e.returnStates.length;g++)d[c]=e.parents[g],u[c]=e.returnStates[g],c+=1;if(c<d.length){if(c===1){const g=N3.create(d[0],u[0]);return n!==null&&n.set(o,e,g),g}d=d.slice(0,c),u=u.slice(0,c)}const f=new s9(d,u);return f===o?(n!==null&&n.set(o,e,o),o):f===e?(n!==null&&n.set(o,e,e),e):(Dp(d),n!==null&&n.set(o,e,f),f)}function Dp(o){const e=new j8;for(let t=0;t<o.length;t++){const n=o[t];e.containsKey(n)||e.set(n,n)}for(let t=0;t<o.length;t++)o[t]=e.get(o[t])}function Np(o,e,t,n){if(n!==null){let L=n.get(o,e);if(L!==null||(L=n.get(e,o),L!==null))return L}const r=Fp(o,e,t);if(r!==null)return n!==null&&n.set(o,e,r),r;if(o.returnState===e.returnState){const L=Rn(o.parentCtx,e.parentCtx,t,n);if(L===o.parentCtx)return o;if(L===e.parentCtx)return e;const c=N3.create(L,o.returnState);return n!==null&&n.set(o,e,c),c}else{let L=null;if((o===e||o.parentCtx!==null&&o.parentCtx===e.parentCtx)&&(L=o.parentCtx),L!==null){const f=[o.returnState,e.returnState];o.returnState>e.returnState&&(f[0]=e.returnState,f[1]=o.returnState);const g=[L,L],p=new s9(g,f);return n!==null&&n.set(o,e,p),p}const c=[o.returnState,e.returnState];let u=[o.parentCtx,e.parentCtx];o.returnState>e.returnState&&(c[0]=e.returnState,c[1]=o.returnState,u=[e.parentCtx,o.parentCtx]);const d=new s9(u,c);return n!==null&&n.set(o,e,d),d}}function Fp(o,e,t){if(t){if(o===J2.EMPTY||e===J2.EMPTY)return J2.EMPTY}else{if(o===J2.EMPTY&&e===J2.EMPTY)return J2.EMPTY;if(o===J2.EMPTY){const n=[e.returnState,J2.EMPTY_RETURN_STATE],r=[e.parentCtx,null];return new s9(r,n)}else if(e===J2.EMPTY){const n=[o.returnState,J2.EMPTY_RETURN_STATE],r=[o.parentCtx,null];return new s9(r,n)}}return null}class r9{constructor(){this.data=[]}add(e){this.data[e]=!0}or(e){Object.keys(e.data).map(t=>this.add(t),this)}remove(e){delete this.data[e]}has(e){return this.data[e]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return a4.hashStuff(this.values())}equals(e){return e instanceof r9&&k5(this.data,e.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class E5{constructor(e){this.atn=e}getDecisionLookahead(e){if(e===null)return null;const t=e.transitions.length,n=[];for(let r=0;r<t;r++){n[r]=new b4;const L=new L4;this._LOOK(e.transition(r).target,null,J2.EMPTY,n[r],L,new r9,!1,!1),(n[r].length===0||n[r].contains(E5.HIT_PRED))&&(n[r]=null)}return n}LOOK(e,t,n){const r=new b4,L=!0;n=n||null;const c=n!==null?An(e.atn,n):null;return this._LOOK(e,t,c,r,new L4,new r9,L,!0),r}_LOOK(e,t,n,r,L,c,u,d){const f=new B1({state:e,alt:0,context:n},null);if(!L.has(f)){if(L.add(f),e===t){if(n===null){r.addOne(f2.EPSILON);return}else if(n.isEmpty()&&d){r.addOne(f2.EOF);return}}if(e instanceof D3){if(n===null){r.addOne(f2.EPSILON);return}else if(n.isEmpty()&&d){r.addOne(f2.EOF);return}if(n!==J2.EMPTY){const g=c.has(e.ruleIndex);try{c.remove(e.ruleIndex);for(let p=0;p<n.length;p++){const m=this.atn.states[n.getReturnState(p)];this._LOOK(m,t,n.getParent(p),r,L,c,u,d)}}finally{g&&c.add(e.ruleIndex)}return}}for(let g=0;g<e.transitions.length;g++){const p=e.transitions[g];if(p.constructor===E7){if(c.has(p.target.ruleIndex))continue;const m=N3.create(n,p.followState.stateNumber);try{c.add(p.target.ruleIndex),this._LOOK(p.target,t,m,r,L,c,u,d)}finally{c.remove(p.target.ruleIndex)}}else if(p instanceof Sn)u?this._LOOK(p.target,t,n,r,L,c,u,d):r.addOne(E5.HIT_PRED);else if(p.isEpsilon)this._LOOK(p.target,t,n,r,L,c,u,d);else if(p.constructor===sa)r.addRange(f2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let m=p.label;m!==null&&(p instanceof Mn&&(m=m.complement(f2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),r.addSet(m))}}}}}E5.HIT_PRED=f2.INVALID_TYPE;class E1{constructor(e,t){this.grammarType=e,this.maxTokenType=t,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(e,t){return new E5(this).LOOK(e,null,t)}nextTokensNoContext(e){return e.nextTokenWithinRule!==null||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}nextTokens(e,t){return t===void 0?this.nextTokensNoContext(e):this.nextTokensInContext(e,t)}addState(e){e!==null&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}removeState(e){this.states[e.stateNumber]=null}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}getDecisionState(e){return this.decisionToState.length===0?null:this.decisionToState[e]}getExpectedTokens(e,t){if(e<0||e>=this.states.length)throw"Invalid state number.";const n=this.states[e];let r=this.nextTokens(n);if(!r.contains(f2.EPSILON))return r;const L=new b4;for(L.addSet(r),L.removeOne(f2.EPSILON);t!==null&&t.invokingState>=0&&r.contains(f2.EPSILON);){const u=this.states[t.invokingState].transitions[0];r=this.nextTokens(u.followState),L.addSet(r),L.removeOne(f2.EPSILON),t=t.parentCtx}return r.contains(f2.EPSILON)&&L.addOne(f2.EOF),L}}E1.INVALID_ALT_NUMBER=0;const z7={LEXER:0,PARSER:1};class aa extends Z2{constructor(){super(),this.stateType=Z2.BASIC}}class I5 extends Z2{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class O5 extends I5{constructor(){return super(),this.endState=null,this}}class bn extends Z2{constructor(){return super(),this.stateType=Z2.BLOCK_END,this.startState=null,this}}class z5 extends Z2{constructor(){return super(),this.stateType=Z2.LOOP_END,this.loopBackState=null,this}}class La extends Z2{constructor(){return super(),this.stateType=Z2.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class Bp extends I5{constructor(){return super(),this.stateType=Z2.TOKEN_START,this}}class ca extends I5{constructor(){return super(),this.stateType=Z2.PLUS_LOOP_BACK,this}}class Tn extends Z2{constructor(){return super(),this.stateType=Z2.STAR_LOOP_BACK,this}}class V0 extends I5{constructor(){return super(),this.stateType=Z2.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class kn extends O5{constructor(){return super(),this.stateType=Z2.PLUS_BLOCK_START,this.loopBackState=null,this}}class Zn extends O5{constructor(){return super(),this.stateType=Z2.STAR_BLOCK_START,this}}class Ca extends O5{constructor(){return super(),this.stateType=Z2.BLOCK_START,this}}class P7 extends y2{constructor(e,t){super(e),this.label_=t,this.label=this.makeLabel(),this.serializationType=y2.ATOM}makeLabel(){const e=new b4;return e.addOne(this.label_),e}matches(e,t,n){return this.label_===e}toString(){return this.label_}}class ua extends y2{constructor(e,t,n){super(e),this.serializationType=y2.RANGE,this.start=t,this.stop=n,this.label=this.makeLabel()}makeLabel(){const e=new b4;return e.addRange(this.start,this.stop),e}matches(e,t,n){return e>=this.start&&e<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class da extends y2{constructor(e,t,n,r){super(e),this.serializationType=y2.ACTION,this.ruleIndex=t,this.actionIndex=n===void 0?-1:n,this.isCtxDependent=r===void 0?!1:r,this.isEpsilon=!0}matches(e,t,n){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class W8 extends y2{constructor(e,t){super(e),this.serializationType=y2.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=t}matches(e,t,n){return!1}toString(){return"epsilon"}}class D7 extends d1{constructor(e,t,n){super(),this.ruleIndex=e===void 0?-1:e,this.predIndex=t===void 0?-1:t,this.isCtxDependent=n===void 0?!1:n}evaluate(e,t){const n=this.isCtxDependent?t:null;return e.sempred(n,this.ruleIndex,this.predIndex)}updateHashCode(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(e){return this===e?!0:e instanceof D7?this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}d1.NONE=new D7;class ha extends Sn{constructor(e,t,n,r){super(e),this.serializationType=y2.PREDICATE,this.ruleIndex=t,this.predIndex=n,this.isCtxDependent=r,this.isEpsilon=!0}matches(e,t,n){return!1}getPredicate(){return new D7(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class N7 extends d1{constructor(e){super(),this.precedence=e===void 0?0:e}evaluate(e,t){return e.precpred(t,this.precedence)}evalPrecedence(e,t){return e.precpred(t,this.precedence)?d1.NONE:null}compareTo(e){return this.precedence-e.precedence}updateHashCode(e){e.update(this.precedence)}equals(e){return this===e?!0:e instanceof N7?this.precedence===e.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}d1.PrecedencePredicate=N7;class jp extends Sn{constructor(e,t){super(e),this.serializationType=y2.PRECEDENCE,this.precedence=t,this.isEpsilon=!0}matches(e,t,n){return!1}getPredicate(){return new N7(this.precedence)}toString(){return this.precedence+" >= _p"}}class U8{constructor(e){e===void 0&&(e=null),this.readOnly=!1,this.verifyATN=e===null?!0:e.verifyATN,this.generateRuleBypassTransitions=e===null?!1:e.generateRuleBypassTransitions}}U8.defaultOptions=new U8,U8.defaultOptions.readOnly=!0;const R3={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class y9{constructor(e){this.actionType=e,this.isPositionDependent=!1}hashCode(){const e=new a4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.actionType)}equals(e){return this===e}}class En extends y9{constructor(){super(R3.SKIP)}execute(e){e.skip()}toString(){return"skip"}}En.INSTANCE=new En;class In extends y9{constructor(e){super(R3.CHANNEL),this.channel=e}execute(e){e._channel=this.channel}updateHashCode(e){e.update(this.actionType,this.channel)}equals(e){return this===e?!0:e instanceof In?this.channel===e.channel:!1}toString(){return"channel("+this.channel+")"}}class On extends y9{constructor(e,t){super(R3.CUSTOM),this.ruleIndex=e,this.actionIndex=t,this.isPositionDependent=!0}execute(e){e.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(e){return this===e?!0:e instanceof On?this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex:!1}}class zn extends y9{constructor(){super(R3.MORE)}execute(e){e.more()}toString(){return"more"}}zn.INSTANCE=new zn;class Pn extends y9{constructor(e){super(R3.TYPE),this.type=e}execute(e){e.type=this.type}updateHashCode(e){e.update(this.actionType,this.type)}equals(e){return this===e?!0:e instanceof Pn?this.type===e.type:!1}toString(){return"type("+this.type+")"}}class Dn extends y9{constructor(e){super(R3.PUSH_MODE),this.mode=e}execute(e){e.pushMode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof Dn?this.mode===e.mode:!1}toString(){return"pushMode("+this.mode+")"}}class Nn extends y9{constructor(){super(R3.POP_MODE)}execute(e){e.popMode()}toString(){return"popMode"}}Nn.INSTANCE=new Nn;class Fn extends y9{constructor(e){super(R3.MODE),this.mode=e}execute(e){e.mode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof Fn?this.mode===e.mode:!1}toString(){return"mode("+this.mode+")"}}const Bn=4;function F7(o,e){const t=[];return t[o-1]=e,t.map(function(n){return e})}class fa{constructor(e){e==null&&(e=U8.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null}deserialize(e){const t=this.reset(e);this.checkVersion(t),t&&this.skipUUID();const n=this.readATN();this.readStates(n,t),this.readRules(n,t),this.readModes(n);const r=[];return this.readSets(n,r,this.readInt.bind(this)),t&&this.readSets(n,r,this.readInt32.bind(this)),this.readEdges(n,r),this.readDecisions(n),this.readLexerActions(n,t),this.markPrecedenceDecisions(n),this.verifyATN(n),this.deserializationOptions.generateRuleBypassTransitions&&n.grammarType===z7.PARSER&&(this.generateRuleBypassTransitions(n),this.verifyATN(n)),n}reset(e){if((e.charCodeAt?e.charCodeAt(0):e[0])===Bn-1){const n=function(L){const c=L.charCodeAt(0);return c>1?c-2:c+65534},r=e.split("").map(n);return r[0]=e.charCodeAt(0),this.data=r,this.pos=0,!0}else return this.data=e,this.pos=0,!1}skipUUID(){let e=0;for(;e++<8;)this.readInt()}checkVersion(e){const t=this.readInt();if(!e&&t!==Bn)throw"Could not deserialize ATN with version "+t+" (expected "+Bn+")."}readATN(){const e=this.readInt(),t=this.readInt();return new E1(e,t)}readStates(e,t){let n,r,L;const c=[],u=[],d=this.readInt();for(let p=0;p<d;p++){const m=this.readInt();if(m===Z2.INVALID_TYPE){e.addState(null);continue}let w=this.readInt();t&&w===65535&&(w=-1);const A=this.stateFactory(m,w);if(m===Z2.LOOP_END){const y=this.readInt();c.push([A,y])}else if(A instanceof O5){const y=this.readInt();u.push([A,y])}e.addState(A)}for(n=0;n<c.length;n++)r=c[n],r[0].loopBackState=e.states[r[1]];for(n=0;n<u.length;n++)r=u[n],r[0].endState=e.states[r[1]];let f=this.readInt();for(n=0;n<f;n++)L=this.readInt(),e.states[L].nonGreedy=!0;let g=this.readInt();for(n=0;n<g;n++)L=this.readInt(),e.states[L].isPrecedenceRule=!0}readRules(e,t){let n;const r=this.readInt();for(e.grammarType===z7.LEXER&&(e.ruleToTokenType=F7(r,0)),e.ruleToStartState=F7(r,0),n=0;n<r;n++){const L=this.readInt();if(e.ruleToStartState[n]=e.states[L],e.grammarType===z7.LEXER){let c=this.readInt();t&&c===65535&&(c=f2.EOF),e.ruleToTokenType[n]=c}}for(e.ruleToStopState=F7(r,0),n=0;n<e.states.length;n++){const L=e.states[n];L instanceof D3&&(e.ruleToStopState[L.ruleIndex]=L,e.ruleToStartState[L.ruleIndex].stopState=L)}}readModes(e){const t=this.readInt();for(let n=0;n<t;n++){let r=this.readInt();e.modeToStartState.push(e.states[r])}}readSets(e,t,n){const r=this.readInt();for(let L=0;L<r;L++){const c=new b4;t.push(c);const u=this.readInt();this.readInt()!==0&&c.addOne(-1);for(let f=0;f<u;f++){const g=n(),p=n();c.addRange(g,p)}}}readEdges(e,t){let n,r,L,c,u;const d=this.readInt();for(n=0;n<d;n++){const f=this.readInt(),g=this.readInt(),p=this.readInt(),m=this.readInt(),w=this.readInt(),A=this.readInt();c=this.edgeFactory(e,p,f,g,m,w,A,t),e.states[f].addTransition(c)}for(n=0;n<e.states.length;n++)for(L=e.states[n],r=0;r<L.transitions.length;r++){const f=L.transitions[r];if(!(f instanceof E7))continue;let g=-1;e.ruleToStartState[f.target.ruleIndex].isPrecedenceRule&&f.precedence===0&&(g=f.target.ruleIndex),c=new W8(f.followState,g),e.ruleToStopState[f.target.ruleIndex].addTransition(c)}for(n=0;n<e.states.length;n++){if(L=e.states[n],L instanceof O5){if(L.endState===null||L.endState.startState!==null)throw"IllegalState";L.endState.startState=L}if(L instanceof ca)for(r=0;r<L.transitions.length;r++)u=L.transitions[r].target,u instanceof kn&&(u.loopBackState=L);else if(L instanceof Tn)for(r=0;r<L.transitions.length;r++)u=L.transitions[r].target,u instanceof V0&&(u.loopBackState=L)}}readDecisions(e){const t=this.readInt();for(let n=0;n<t;n++){const r=this.readInt(),L=e.states[r];e.decisionToState.push(L),L.decision=n}}readLexerActions(e,t){if(e.grammarType===z7.LEXER){const n=this.readInt();e.lexerActions=F7(n,null);for(let r=0;r<n;r++){const L=this.readInt();let c=this.readInt();t&&c===65535&&(c=-1);let u=this.readInt();t&&u===65535&&(u=-1),e.lexerActions[r]=this.lexerActionFactory(L,c,u)}}}generateRuleBypassTransitions(e){let t;const n=e.ruleToStartState.length;for(t=0;t<n;t++)e.ruleToTokenType[t]=e.maxTokenType+t+1;for(t=0;t<n;t++)this.generateRuleBypassTransition(e,t)}generateRuleBypassTransition(e,t){let n,r;const L=new Ca;L.ruleIndex=t,e.addState(L);const c=new bn;c.ruleIndex=t,e.addState(c),L.endState=c,e.defineDecisionState(L),c.startState=L;let u=null,d=null;if(e.ruleToStartState[t].isPrecedenceRule){for(d=null,n=0;n<e.states.length;n++)if(r=e.states[n],this.stateIsEndStateFor(r,t)){d=r,u=r.loopBackState.transitions[0];break}if(u===null)throw"Couldn't identify final state of the precedence rule prefix section."}else d=e.ruleToStopState[t];for(n=0;n<e.states.length;n++){r=e.states[n];for(let m=0;m<r.transitions.length;m++){const w=r.transitions[m];w!==u&&w.target===d&&(w.target=c)}}const f=e.ruleToStartState[t],g=f.transitions.length;for(;g>0;)L.addTransition(f.transitions[g-1]),f.transitions=f.transitions.slice(-1);e.ruleToStartState[t].addTransition(new W8(L)),c.addTransition(new W8(d));const p=new aa;e.addState(p),p.addTransition(new P7(c,e.ruleToTokenType[t])),L.addTransition(new W8(p))}stateIsEndStateFor(e,t){if(e.ruleIndex!==t||!(e instanceof V0))return null;const n=e.transitions[e.transitions.length-1].target;return n instanceof z5&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof D3?e:null}markPrecedenceDecisions(e){for(let t=0;t<e.states.length;t++){const n=e.states[t];if(n instanceof V0&&e.ruleToStartState[n.ruleIndex].isPrecedenceRule){const r=n.transitions[n.transitions.length-1].target;r instanceof z5&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof D3&&(n.isPrecedenceDecision=!0)}}}verifyATN(e){if(this.deserializationOptions.verifyATN)for(let t=0;t<e.states.length;t++){const n=e.states[t];if(n!==null)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof kn)this.checkCondition(n.loopBackState!==null);else if(n instanceof V0)if(this.checkCondition(n.loopBackState!==null),this.checkCondition(n.transitions.length===2),n.transitions[0].target instanceof Zn)this.checkCondition(n.transitions[1].target instanceof z5),this.checkCondition(!n.nonGreedy);else if(n.transitions[0].target instanceof z5)this.checkCondition(n.transitions[1].target instanceof Zn),this.checkCondition(n.nonGreedy);else throw"IllegalState";else n instanceof Tn?(this.checkCondition(n.transitions.length===1),this.checkCondition(n.transitions[0].target instanceof V0)):n instanceof z5?this.checkCondition(n.loopBackState!==null):n instanceof La?this.checkCondition(n.stopState!==null):n instanceof O5?this.checkCondition(n.endState!==null):n instanceof bn?this.checkCondition(n.startState!==null):n instanceof I5?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof D3)}}checkCondition(e,t){if(!e)throw t==null&&(t="IllegalState"),t}readInt(){return this.data[this.pos++]}readInt32(){const e=this.readInt(),t=this.readInt();return e|t<<16}edgeFactory(e,t,n,r,L,c,u,d){const f=e.states[r];switch(t){case y2.EPSILON:return new W8(f);case y2.RANGE:return u!==0?new ua(f,f2.EOF,c):new ua(f,L,c);case y2.RULE:return new E7(e.states[L],c,u,f);case y2.PREDICATE:return new ha(f,L,c,u!==0);case y2.PRECEDENCE:return new jp(f,L);case y2.ATOM:return u!==0?new P7(f,f2.EOF):new P7(f,L);case y2.ACTION:return new da(f,L,c,u!==0);case y2.SET:return new wn(f,d[L]);case y2.NOT_SET:return new Mn(f,d[L]);case y2.WILDCARD:return new sa(f);default:throw"The specified transition type: "+t+" is not valid."}}stateFactory(e,t){if(this.stateFactories===null){const n=[];n[Z2.INVALID_TYPE]=null,n[Z2.BASIC]=()=>new aa,n[Z2.RULE_START]=()=>new La,n[Z2.BLOCK_START]=()=>new Ca,n[Z2.PLUS_BLOCK_START]=()=>new kn,n[Z2.STAR_BLOCK_START]=()=>new Zn,n[Z2.TOKEN_START]=()=>new Bp,n[Z2.RULE_STOP]=()=>new D3,n[Z2.BLOCK_END]=()=>new bn,n[Z2.STAR_LOOP_BACK]=()=>new Tn,n[Z2.STAR_LOOP_ENTRY]=()=>new V0,n[Z2.PLUS_LOOP_BACK]=()=>new ca,n[Z2.LOOP_END]=()=>new z5,this.stateFactories=n}if(e>this.stateFactories.length||this.stateFactories[e]===null)throw"The specified state type "+e+" is not valid.";{const n=this.stateFactories[e]();if(n!==null)return n.ruleIndex=t,n}}lexerActionFactory(e,t,n){if(this.actionFactories===null){const r=[];r[R3.CHANNEL]=(L,c)=>new In(L),r[R3.CUSTOM]=(L,c)=>new On(L,c),r[R3.MODE]=(L,c)=>new Fn(L),r[R3.MORE]=(L,c)=>zn.INSTANCE,r[R3.POP_MODE]=(L,c)=>Nn.INSTANCE,r[R3.PUSH_MODE]=(L,c)=>new Dn(L),r[R3.SKIP]=(L,c)=>En.INSTANCE,r[R3.TYPE]=(L,c)=>new Pn(L),this.actionFactories=r}if(e>this.actionFactories.length||this.actionFactories[e]===null)throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,n)}}class B7{syntaxError(e,t,n,r,L,c){}reportAmbiguity(e,t,n,r,L,c,u){}reportAttemptingFullContext(e,t,n,r,L,c){}reportContextSensitivity(e,t,n,r,L,c){}}class jn extends B7{constructor(){super()}syntaxError(e,t,n,r,L,c){console.error("line "+n+":"+r+" "+L)}}jn.INSTANCE=new jn;class Wp extends B7{constructor(e){if(super(),e===null)throw"delegates";return this.delegates=e,this}syntaxError(e,t,n,r,L,c){this.delegates.map(u=>u.syntaxError(e,t,n,r,L,c))}reportAmbiguity(e,t,n,r,L,c,u){this.delegates.map(d=>d.reportAmbiguity(e,t,n,r,L,c,u))}reportAttemptingFullContext(e,t,n,r,L,c){this.delegates.map(u=>u.reportAttemptingFullContext(e,t,n,r,L,c))}reportContextSensitivity(e,t,n,r,L,c){this.delegates.map(u=>u.reportContextSensitivity(e,t,n,r,L,c))}}class j7{constructor(){this._listeners=[jn.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(e){const t="4.11.0";t!==e&&console.log("ANTLR runtime and generated code versions disagree: "+t+"!="+e)}addErrorListener(e){this._listeners.push(e)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const e=this.getLiteralNames(),t=this.getSymbolicNames(),n=e.length>t.length?e.length:t.length;this.tokenNames=[];for(let r=0;r<n;r++)this.tokenNames[r]=e[r]||t[r]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const e=this.getTokenNames();if(e===null)throw"The current recognizer does not provide a list of token names.";let t=this.tokenTypeMapCache[e];return t===void 0&&(t=e.reduce(function(n,r,L){n[r]=L}),t.EOF=f2.EOF,this.tokenTypeMapCache[e]=t),t}getRuleIndexMap(){const e=this.ruleNames;if(e===null)throw"The current recognizer does not provide a list of rule names.";let t=this.ruleIndexMapCache[e];return t===void 0&&(t=e.reduce(function(n,r,L){n[r]=L}),this.ruleIndexMapCache[e]=t),t}getTokenType(e){const t=this.getTokenTypeMap()[e];return t!==void 0?t:f2.INVALID_TYPE}getErrorHeader(e){const t=e.getOffendingToken().line,n=e.getOffendingToken().column;return"line "+t+":"+n}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===f2.EOF?t="<EOF>":t="<"+e.type+">"),t=t.replace(`
|
|
19
19
|
`,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+t+"'"}getErrorListenerDispatch(){return new Wp(this._listeners)}sempred(e,t,n){return!0}precpred(e,t){return!0}get state(){return this._stateNumber}set state(e){this._stateNumber=e}}j7.tokenTypeMapCache={},j7.ruleIndexMapCache={};class q0 extends f2{constructor(e,t,n,r,L){super(),this.source=e!==void 0?e:q0.EMPTY_SOURCE,this.type=t!==void 0?t:null,this.channel=n!==void 0?n:f2.DEFAULT_CHANNEL,this.start=r!==void 0?r:-1,this.stop=L!==void 0?L:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=e[0].line,this.column=e[0].column):this.column=-1}clone(){const e=new q0(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e}toString(){let e=this.text;return e!==null?e=e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):e="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const e=this.getInputStream();if(e===null)return null;const t=e.size;return this.start<t&&this.stop<t?e.getText(this.start,this.stop):"<EOF>"}set text(e){this._text=e}}q0.EMPTY_SOURCE=[null,null];class Up{}class Wn extends Up{constructor(e){super(),this.copyText=e===void 0?!1:e}create(e,t,n,r,L,c,u,d){const f=new q0(e,t,r,L,c);return f.line=u,f.column=d,n!==null?f.text=n:this.copyText&&e[1]!==null&&(f.text=e[1].getText(L,c)),f}createThin(e,t){const n=new q0(null,e);return n.text=t,n}}Wn.DEFAULT=new Wn;class i0 extends Error{constructor(e){super(e.message),Error.captureStackTrace&&Error.captureStackTrace(this,i0),this.message=e.message,this.recognizer=e.recognizer,this.input=e.input,this.ctx=e.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class Un extends i0{constructor(e,t,n,r){super({message:"",recognizer:e,input:t,ctx:null}),this.startIndex=n,this.deadEndConfigs=r}toString(){let e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText(new h1(this.startIndex,this.startIndex))),"LexerNoViableAltException"+e}}let F3=class G0 extends j7{constructor(e){super(),this._input=e,this._factory=Wn.DEFAULT,this._tokenFactorySourcePair=[this,e],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=f2.DEFAULT_CHANNEL,this._type=f2.INVALID_TYPE,this._modeStack=[],this._mode=G0.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=f2.INVALID_TYPE,this._channel=f2.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=G0.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=f2.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let t=!1;for(;;){this._type=f2.INVALID_TYPE;let n=G0.SKIP;try{n=this._interp.match(this._input,this._mode)}catch(r){if(r instanceof i0)this.notifyListeners(r),this.recover(r);else throw console.log(r.stack),r}if(this._input.LA(1)===f2.EOF&&(this._hitEOF=!0),this._type===f2.INVALID_TYPE&&(this._type=n),this._type===G0.SKIP){t=!0;break}if(this._type!==G0.MORE)break}if(!t)return this._token===null&&this.emit(),this._token}}finally{this._input.release(e)}}skip(){this._type=G0.SKIP}more(){this._type=G0.MORE}mode(e){this._mode=e}pushMode(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(e){this._token=e}emit(){const e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e}emitEOF(){const e=this.column,t=this.line,n=this._factory.create(this._tokenFactorySourcePair,f2.EOF,null,f2.DEFAULT_CHANNEL,this._input.index,this._input.index-1,t,e);return this.emitToken(n),n}getCharIndex(){return this._input.index}getAllTokens(){const e=[];let t=this.nextToken();for(;t.type!==f2.EOF;)e.push(t),t=this.nextToken();return e}notifyListeners(e){const t=this._tokenStartCharIndex,n=this._input.index,r=this._input.getText(t,n),L="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,L,e)}getErrorDisplay(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t.join("")}getErrorDisplayForChar(e){return e.charCodeAt(0)===f2.EOF?"<EOF>":e===`
|
|
20
20
|
`?"\\n":e===" "?"\\t":e==="\r"?"\\r":e}getCharErrorDisplay(e){return"'"+this.getErrorDisplayForChar(e)+"'"}recover(e){this._input.LA(1)!==f2.EOF&&(e instanceof Un?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(e){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=e,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(e){this._type=e}get line(){return this._interp.line}set line(e){this._interp.line=e}get column(){return this._interp.column}set column(e){this._interp.column=e}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(e){this._text=e}};F3.DEFAULT_MODE=0,F3.MORE=-2,F3.SKIP=-3,F3.DEFAULT_TOKEN_CHANNEL=f2.DEFAULT_CHANNEL,F3.HIDDEN=f2.HIDDEN_CHANNEL,F3.MIN_CHAR_VALUE=0,F3.MAX_CHAR_VALUE=1114111;function Hp(o){return o.hashCodeForConfigSet()}function $p(o,e){return o===e?!0:o===null||e===null?!1:o.equalsForConfigSet(e)}class B3{constructor(e){this.configLookup=new L4(Hp,$p),this.fullCtx=e===void 0?!0:e,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(e,t){if(t===void 0&&(t=null),this.readOnly)throw"This set is readonly";e.semanticContext!==d1.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const n=this.configLookup.add(e);if(n===e)return this.cachedHashCode=-1,this.configs.push(e),!0;const r=!this.fullCtx,L=Rn(n.context,e.context,r,t);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=L,!0}getStates(){const e=new L4;for(let t=0;t<this.configs.length;t++)e.add(this.configs[t].state);return e}getPredicates(){const e=[];for(let t=0;t<this.configs.length;t++){const n=this.configs[t].semanticContext;n!==d1.NONE&&e.push(n.semanticContext)}return e}optimizeConfigs(e){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(let t=0;t<this.configs.length;t++){const n=this.configs[t];n.context=e.getCachedContext(n.context)}}addAll(e){for(let t=0;t<e.length;t++)this.add(e[t]);return!1}equals(e){return this===e||e instanceof B3&&k5(this.configs,e.configs)&&this.fullCtx===e.fullCtx&&this.uniqueAlt===e.uniqueAlt&&this.conflictingAlts===e.conflictingAlts&&this.hasSemanticContext===e.hasSemanticContext&&this.dipsIntoOuterContext===e.dipsIntoOuterContext}hashCode(){const e=new a4;return e.update(this.configs),e.finish()}updateHashCode(e){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),e.update(this.cachedHashCode)):e.update(this.hashCode())}isEmpty(){return this.configs.length===0}contains(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(e)}containsFast(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(e)}clear(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new L4}setReadonly(e){this.readOnly=e,e&&(this.configLookup=null)}toString(){return n0(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==E1.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}get items(){return this.configs}get length(){return this.configs.length}}class A9{constructor(e,t){return e===null&&(e=-1),t===null&&(t=new B3),this.stateNumber=e,this.configs=t,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const e=new L4;if(this.configs!==null)for(let t=0;t<this.configs.length;t++){const n=this.configs[t];e.add(n.alt)}return e.length===0?null:e}equals(e){return this===e||e instanceof A9&&this.configs.equals(e.configs)}toString(){let e=""+this.stateNumber+":"+this.configs;return this.isAcceptState&&(e=e+"=>",this.predicates!==null?e=e+this.predicates:e=e+this.prediction),e}hashCode(){const e=new a4;return e.update(this.configs),e.finish()}}class l9{constructor(e,t){return this.atn=e,this.sharedContextCache=t,this}getCachedContext(e){if(this.sharedContextCache===null)return e;const t=new j8;return la(e,this.sharedContextCache,t)}}l9.ERROR=new A9(2147483647,new B3);class ga extends B3{constructor(){super(),this.configLookup=new L4}}class K3 extends B1{constructor(e,t){super(e,t);const n=e.lexerActionExecutor||null;return this.lexerActionExecutor=n||(t!==null?t.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=t!==null?this.checkNonGreedyDecision(t,this.state):!1,this.hashCodeForConfigSet=K3.prototype.hashCode,this.equalsForConfigSet=K3.prototype.equals,this}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(e){return this===e||e instanceof K3&&this.passedThroughNonGreedyDecision===e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&super.equals(e)}checkNonGreedyDecision(e,t){return e.passedThroughNonGreedyDecision||t instanceof I5&&t.nonGreedy}}class H8 extends y9{constructor(e,t){super(t.actionType),this.offset=e,this.action=t,this.isPositionDependent=!0}execute(e){this.action.execute(e)}updateHashCode(e){e.update(this.actionType,this.offset,this.action)}equals(e){return this===e?!0:e instanceof H8?this.offset===e.offset&&this.action===e.action:!1}}class P5{constructor(e){return this.lexerActions=e===null?[]:e,this.cachedHashCode=a4.hashStuff(e),this}fixOffsetBeforeMatch(e){let t=null;for(let n=0;n<this.lexerActions.length;n++)this.lexerActions[n].isPositionDependent&&!(this.lexerActions[n]instanceof H8)&&(t===null&&(t=this.lexerActions.concat([])),t[n]=new H8(e,this.lexerActions[n]));return t===null?this:new P5(t)}execute(e,t,n){let r=!1;const L=t.index;try{for(let c=0;c<this.lexerActions.length;c++){let u=this.lexerActions[c];if(u instanceof H8){const d=u.offset;t.seek(n+d),u=u.action,r=n+d!==L}else u.isPositionDependent&&(t.seek(L),r=!1);u.execute(e)}}finally{r&&t.seek(L)}}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}equals(e){if(this===e)return!0;if(e instanceof P5){if(this.cachedHashCode!=e.cachedHashCode)return!1;if(this.lexerActions.length!=e.lexerActions.length)return!1;{const t=this.lexerActions.length;for(let n=0;n<t;++n)if(!this.lexerActions[n].equals(e.lexerActions[n]))return!1;return!0}}else return!1}static append(e,t){if(e===null)return new P5([t]);const n=e.lexerActions.concat([t]);return new P5(n)}}function pa(o){o.index=-1,o.line=0,o.column=-1,o.dfaState=null}class Gp{constructor(){pa(this)}reset(){pa(this)}}class z1 extends l9{constructor(e,t,n,r){super(t,r),this.decisionToDFA=n,this.recog=e,this.startIndex=-1,this.line=1,this.column=0,this.mode=F3.DEFAULT_MODE,this.prevAccept=new Gp}copyState(e){this.column=e.column,this.line=e.line,this.mode=e.mode,this.startIndex=e.startIndex}match(e,t){this.mode=t;const n=e.mark();try{this.startIndex=e.index,this.prevAccept.reset();const r=this.decisionToDFA[t];return r.s0===null?this.matchATN(e):this.execATN(e,r.s0)}finally{e.release(n)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=F3.DEFAULT_MODE}matchATN(e){const t=this.atn.modeToStartState[this.mode];z1.debug&&console.log("matchATN mode "+this.mode+" start: "+t);const n=this.mode,r=this.computeStartState(e,t),L=r.hasSemanticContext;r.hasSemanticContext=!1;const c=this.addDFAState(r);L||(this.decisionToDFA[this.mode].s0=c);const u=this.execATN(e,c);return z1.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),u}execATN(e,t){z1.debug&&console.log("start state closure="+t.configs),t.isAcceptState&&this.captureSimState(this.prevAccept,e,t);let n=e.LA(1),r=t;for(;;){z1.debug&&console.log("execATN loop starting closure: "+r.configs);let L=this.getExistingTargetState(r,n);if(L===null&&(L=this.computeTargetState(e,r,n)),L===l9.ERROR||(n!==f2.EOF&&this.consume(e),L.isAcceptState&&(this.captureSimState(this.prevAccept,e,L),n===f2.EOF)))break;n=e.LA(1),r=L}return this.failOrAccept(this.prevAccept,e,r.configs,n)}getExistingTargetState(e,t){if(e.edges===null||t<z1.MIN_DFA_EDGE||t>z1.MAX_DFA_EDGE)return null;let n=e.edges[t-z1.MIN_DFA_EDGE];return n===void 0&&(n=null),z1.debug&&n!==null&&console.log("reuse state "+e.stateNumber+" edge to "+n.stateNumber),n}computeTargetState(e,t,n){const r=new ga;return this.getReachableConfigSet(e,t.configs,r,n),r.items.length===0?(r.hasSemanticContext||this.addDFAEdge(t,n,l9.ERROR),l9.ERROR):this.addDFAEdge(t,n,null,r)}failOrAccept(e,t,n,r){if(this.prevAccept.dfaState!==null){const L=e.dfaState.lexerActionExecutor;return this.accept(t,L,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}else{if(r===f2.EOF&&t.index===this.startIndex)return f2.EOF;throw new Un(this.recog,t,this.startIndex,n)}}getReachableConfigSet(e,t,n,r){let L=E1.INVALID_ALT_NUMBER;for(let c=0;c<t.items.length;c++){const u=t.items[c],d=u.alt===L;if(!(d&&u.passedThroughNonGreedyDecision)){z1.debug&&console.log(`testing %s at %s
|
|
21
21
|
`,this.getTokenName(r),u.toString(this.recog,!0));for(let f=0;f<u.state.transitions.length;f++){const g=u.state.transitions[f],p=this.getReachableTarget(g,r);if(p!==null){let m=u.lexerActionExecutor;m!==null&&(m=m.fixOffsetBeforeMatch(e.index-this.startIndex));const w=r===f2.EOF,A=new K3({state:p,lexerActionExecutor:m},u);this.closure(e,A,n,d,!0,w)&&(L=u.alt)}}}}}accept(e,t,n,r,L,c){z1.debug&&console.log(`ACTION %s
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
`,this.recog.ruleNames[t.state.ruleIndex],t):console.log(`closure at rule stop %s
|
|
24
24
|
`,t)),t.context===null||t.context.hasEmptyPath()){if(t.context===null||t.context.isEmpty())return n.add(t),!0;n.add(new K3({state:t.state,context:J2.EMPTY},t)),r=!0}if(t.context!==null&&!t.context.isEmpty()){for(let d=0;d<t.context.length;d++)if(t.context.getReturnState(d)!==J2.EMPTY_RETURN_STATE){const f=t.context.getParent(d),g=this.atn.states[t.context.getReturnState(d)];u=new K3({state:g,context:f},t),r=this.closure(e,u,n,r,L,c)}}return r}t.state.epsilonOnlyTransitions||(!r||!t.passedThroughNonGreedyDecision)&&n.add(t);for(let d=0;d<t.state.transitions.length;d++){const f=t.state.transitions[d];u=this.getEpsilonTarget(e,t,f,n,L,c),u!==null&&(r=this.closure(e,u,n,r,L,c))}return r}getEpsilonTarget(e,t,n,r,L,c){let u=null;if(n.serializationType===y2.RULE){const d=N3.create(t.context,n.followState.stateNumber);u=new K3({state:n.target,context:d},t)}else{if(n.serializationType===y2.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(n.serializationType===y2.PREDICATE)z1.debug&&console.log("EVAL rule "+n.ruleIndex+":"+n.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(e,n.ruleIndex,n.predIndex,L)&&(u=new K3({state:n.target},t));else if(n.serializationType===y2.ACTION)if(t.context===null||t.context.hasEmptyPath()){const d=P5.append(t.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);u=new K3({state:n.target,lexerActionExecutor:d},t)}else u=new K3({state:n.target},t);else n.serializationType===y2.EPSILON?u=new K3({state:n.target},t):(n.serializationType===y2.ATOM||n.serializationType===y2.RANGE||n.serializationType===y2.SET)&&c&&n.matches(f2.EOF,0,F3.MAX_CHAR_VALUE)&&(u=new K3({state:n.target},t))}return u}evaluatePredicate(e,t,n,r){if(this.recog===null)return!0;if(!r)return this.recog.sempred(null,t,n);const L=this.column,c=this.line,u=e.index,d=e.mark();try{return this.consume(e),this.recog.sempred(null,t,n)}finally{this.column=L,this.line=c,e.seek(u),e.release(d)}}captureSimState(e,t,n){e.index=t.index,e.line=this.line,e.column=this.column,e.dfaState=n}addDFAEdge(e,t,n,r){if(n===void 0&&(n=null),r===void 0&&(r=null),n===null&&r!==null){const L=r.hasSemanticContext;if(r.hasSemanticContext=!1,n=this.addDFAState(r),L)return n}return t<z1.MIN_DFA_EDGE||t>z1.MAX_DFA_EDGE||(z1.debug&&console.log("EDGE "+e+" -> "+n+" upon "+t),e.edges===null&&(e.edges=[]),e.edges[t-z1.MIN_DFA_EDGE]=n),n}addDFAState(e){const t=new A9(null,e);let n=null;for(let u=0;u<e.items.length;u++){const d=e.items[u];if(d.state instanceof D3){n=d;break}}n!==null&&(t.isAcceptState=!0,t.lexerActionExecutor=n.lexerActionExecutor,t.prediction=this.atn.ruleToTokenType[n.state.ruleIndex]);const r=this.decisionToDFA[this.mode],L=r.states.get(t);if(L!==null)return L;const c=t;return c.stateNumber=r.states.length,e.setReadonly(!0),c.configs=e,r.states.add(c),c}getDFA(e){return this.decisionToDFA[e]}getText(e){return e.getText(this.startIndex,e.index-1)}consume(e){e.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,e.consume()}getTokenName(e){return e===-1?"EOF":"'"+String.fromCharCode(e)+"'"}}z1.debug=!1,z1.dfa_debug=!1,z1.MIN_DFA_EDGE=0,z1.MAX_DFA_EDGE=127;class _a{constructor(e,t){this.alt=t,this.pred=e}toString(){return"("+this.pred+", "+this.alt+")"}}class Vp{constructor(){this.data={}}get(e){return this.data["k-"+e]||null}set(e,t){this.data["k-"+e]=t}values(){return Object.keys(this.data).filter(e=>e.startsWith("k-")).map(e=>this.data[e],this)}}const y1={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(o,e){if(y1.allConfigsInRuleStopStates(e))return!0;if(o===y1.SLL&&e.hasSemanticContext){const n=new B3;for(let r=0;r<e.items.length;r++){let L=e.items[r];L=new B1({semanticContext:d1.NONE},L),n.add(L)}e=n}const t=y1.getConflictingAltSubsets(e);return y1.hasConflictingAltSet(t)&&!y1.hasStateAssociatedWithOneAlt(e)},hasConfigInRuleStopState:function(o){for(let e=0;e<o.items.length;e++)if(o.items[e].state instanceof D3)return!0;return!1},allConfigsInRuleStopStates:function(o){for(let e=0;e<o.items.length;e++)if(!(o.items[e].state instanceof D3))return!1;return!0},resolvesToJustOneViableAlt:function(o){return y1.getSingleViableAlt(o)},allSubsetsConflict:function(o){return!y1.hasNonConflictingAltSet(o)},hasNonConflictingAltSet:function(o){for(let e=0;e<o.length;e++)if(o[e].length===1)return!0;return!1},hasConflictingAltSet:function(o){for(let e=0;e<o.length;e++)if(o[e].length>1)return!0;return!1},allSubsetsEqual:function(o){let e=null;for(let t=0;t<o.length;t++){const n=o[t];if(e===null)e=n;else if(n!==e)return!1}return!0},getUniqueAlt:function(o){const e=y1.getAlts(o);return e.length===1?e.minValue():E1.INVALID_ALT_NUMBER},getAlts:function(o){const e=new r9;return o.map(function(t){e.or(t)}),e},getConflictingAltSubsets:function(o){const e=new j8;return e.hashFunction=function(t){a4.hashStuff(t.state.stateNumber,t.context)},e.equalsFunction=function(t,n){return t.state.stateNumber===n.state.stateNumber&&t.context.equals(n.context)},o.items.map(function(t){let n=e.get(t);n===null&&(n=new r9,e.set(t,n)),n.add(t.alt)}),e.getValues()},getStateToAltMap:function(o){const e=new Vp;return o.items.map(function(t){let n=e.get(t.state);n===null&&(n=new r9,e.set(t.state,n)),n.add(t.alt)}),e},hasStateAssociatedWithOneAlt:function(o){const e=y1.getStateToAltMap(o).values();for(let t=0;t<e.length;t++)if(e[t].length===1)return!0;return!1},getSingleViableAlt:function(o){let e=null;for(let t=0;t<o.length;t++){const r=o[t].minValue();if(e===null)e=r;else if(e!==r)return E1.INVALID_ALT_NUMBER}return e}};class Hn extends i0{constructor(e,t,n,r,L,c){c=c||e._ctx,r=r||e.getCurrentToken(),n=n||e.getCurrentToken(),t=t||e.getInputStream(),super({message:"",recognizer:e,input:t,ctx:c}),this.deadEndConfigs=L,this.startToken=n,this.offendingToken=r}}class qp{constructor(e){this.defaultMapCtor=e||j8,this.cacheMap=new this.defaultMapCtor}get(e,t){const n=this.cacheMap.get(e)||null;return n===null?null:n.get(t)||null}set(e,t,n){let r=this.cacheMap.get(e)||null;r===null&&(r=new this.defaultMapCtor,this.cacheMap.set(e,r)),r.set(t,n)}}class Yp extends l9{constructor(e,t,n,r){super(t,r),this.parser=e,this.decisionToDFA=n,this.predictionMode=y1.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(e,t,n){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+t+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=n;const r=this.decisionToDFA[t];this._dfa=r;const L=e.mark(),c=e.index;try{let u;if(r.precedenceDfa?u=r.getPrecedenceStartState(this.parser.getPrecedence()):u=r.s0,u===null){n===null&&(n=Z5.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+n.toString(this.parser.ruleNames));let g=this.computeStartState(r.atnStartState,Z5.EMPTY,!1);r.precedenceDfa?(r.s0.configs=g,g=this.applyPrecedenceFilter(g),u=this.addDFAState(r,new A9(null,g)),r.setPrecedenceStartState(this.parser.getPrecedence(),u)):(u=this.addDFAState(r,new A9(null,g)),r.s0=u)}const d=this.execATN(r,u,e,c,n);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames,this.parser.symbolicNames)),d}finally{this._dfa=null,this.mergeCache=null,e.seek(c),e.release(L)}}execATN(e,t,n,r,L){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(n)+" line "+n.LT(1).line+":"+n.LT(1).column);let c,u=t;this.debug&&console.log("s0 = "+t);let d=n.LA(1);for(;;){let f=this.getExistingTargetState(u,d);if(f===null&&(f=this.computeTargetState(e,u,d)),f===l9.ERROR){const g=this.noViableAlt(n,L,u.configs,r);if(n.seek(r),c=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u.configs,L),c!==E1.INVALID_ALT_NUMBER)return c;throw g}if(f.requiresFullContext&&this.predictionMode!==y1.SLL){let g=null;if(f.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const w=n.index;if(w!==r&&n.seek(r),g=this.evalSemanticContext(f.predicates,L,!0),g.length===1)return this.debug&&console.log("Full LL avoided"),g.minValue();w!==r&&n.seek(w)}this.dfa_debug&&console.log("ctx sensitive state "+L+" in "+f);const m=this.computeStartState(e.atnStartState,L,!0);return this.reportAttemptingFullContext(e,g,f.configs,r,n.index),c=this.execATNWithFullContext(e,f,m,n,r,L),c}if(f.isAcceptState){if(f.predicates===null)return f.prediction;const g=n.index;n.seek(r);const p=this.evalSemanticContext(f.predicates,L,!0);if(p.length===0)throw this.noViableAlt(n,L,f.configs,r);return p.length===1||this.reportAmbiguity(e,f,r,g,!1,p,f.configs),p.minValue()}u=f,d!==f2.EOF&&(n.consume(),d=n.LA(1))}}getExistingTargetState(e,t){const n=e.edges;return n===null?null:n[t+1]||null}computeTargetState(e,t,n){const r=this.computeReachSet(t.configs,n,!1);if(r===null)return this.addDFAEdge(e,t,n,l9.ERROR),l9.ERROR;let L=new A9(null,r);const c=this.getUniqueAlt(r);if(this.debug){const u=y1.getConflictingAltSubsets(r);console.log("SLL altSubSets="+n0(u)+", configs="+r+", predict="+c+", allSubsetsConflict="+y1.allSubsetsConflict(u)+", conflictingAlts="+this.getConflictingAlts(r))}return c!==E1.INVALID_ALT_NUMBER?(L.isAcceptState=!0,L.configs.uniqueAlt=c,L.prediction=c):y1.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(L.configs.conflictingAlts=this.getConflictingAlts(r),L.requiresFullContext=!0,L.isAcceptState=!0,L.prediction=L.configs.conflictingAlts.minValue()),L.isAcceptState&&L.configs.hasSemanticContext&&(this.predicateDFAState(L,this.atn.getDecisionState(e.decision)),L.predicates!==null&&(L.prediction=E1.INVALID_ALT_NUMBER)),L=this.addDFAEdge(e,t,n,L),L}predicateDFAState(e,t){const n=t.transitions.length,r=this.getConflictingAltsOrUniqueAlt(e.configs),L=this.getPredsForAmbigAlts(r,e.configs,n);L!==null?(e.predicates=this.getPredicatePredictions(r,L),e.prediction=E1.INVALID_ALT_NUMBER):e.prediction=r.minValue()}execATNWithFullContext(e,t,n,r,L,c){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+n);const u=!0;let d=!1,f,g=n;r.seek(L);let p=r.LA(1),m=-1;for(;;){if(f=this.computeReachSet(g,p,u),f===null){const A=this.noViableAlt(r,c,g,L);r.seek(L);const y=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(g,c);if(y!==E1.INVALID_ALT_NUMBER)return y;throw A}const w=y1.getConflictingAltSubsets(f);if(this.debug&&console.log("LL altSubSets="+w+", predict="+y1.getUniqueAlt(w)+", resolvesToJustOneViableAlt="+y1.resolvesToJustOneViableAlt(w)),f.uniqueAlt=this.getUniqueAlt(f),f.uniqueAlt!==E1.INVALID_ALT_NUMBER){m=f.uniqueAlt;break}else if(this.predictionMode!==y1.LL_EXACT_AMBIG_DETECTION){if(m=y1.resolvesToJustOneViableAlt(w),m!==E1.INVALID_ALT_NUMBER)break}else if(y1.allSubsetsConflict(w)&&y1.allSubsetsEqual(w)){d=!0,m=y1.getSingleViableAlt(w);break}g=f,p!==f2.EOF&&(r.consume(),p=r.LA(1))}return f.uniqueAlt!==E1.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,m,f,L,r.index),m):(this.reportAmbiguity(e,t,L,r.index,d,null,f),m)}computeReachSet(e,t,n){this.debug&&console.log("in computeReachSet, starting closure: "+e),this.mergeCache===null&&(this.mergeCache=new qp);const r=new B3(n);let L=null;for(let u=0;u<e.items.length;u++){const d=e.items[u];if(this.debug&&console.log("testing "+this.getTokenName(t)+" at "+d),d.state instanceof D3){(n||t===f2.EOF)&&(L===null&&(L=[]),L.push(d),this.debug_add&&console.log("added "+d+" to skippedStopStates"));continue}for(let f=0;f<d.state.transitions.length;f++){const g=d.state.transitions[f],p=this.getReachableTarget(g,t);if(p!==null){const m=new B1({state:p},d);r.add(m,this.mergeCache),this.debug_add&&console.log("added "+m+" to intermediate")}}}let c=null;if(L===null&&t!==f2.EOF&&(r.items.length===1||this.getUniqueAlt(r)!==E1.INVALID_ALT_NUMBER)&&(c=r),c===null){c=new B3(n);const u=new L4,d=t===f2.EOF;for(let f=0;f<r.items.length;f++)this.closure(r.items[f],c,u,!1,n,d)}if(t===f2.EOF&&(c=this.removeAllConfigsNotInRuleStopState(c,c===r)),L!==null&&(!n||!y1.hasConfigInRuleStopState(c)))for(let u=0;u<L.length;u++)c.add(L[u],this.mergeCache);return c.items.length===0?null:c}removeAllConfigsNotInRuleStopState(e,t){if(y1.allConfigsInRuleStopStates(e))return e;const n=new B3(e.fullCtx);for(let r=0;r<e.items.length;r++){const L=e.items[r];if(L.state instanceof D3){n.add(L,this.mergeCache);continue}if(t&&L.state.epsilonOnlyTransitions&&this.atn.nextTokens(L.state).contains(f2.EPSILON)){const u=this.atn.ruleToStopState[L.state.ruleIndex];n.add(new B1({state:u},L),this.mergeCache)}}return n}computeStartState(e,t,n){const r=An(this.atn,t),L=new B3(n);for(let c=0;c<e.transitions.length;c++){const u=e.transitions[c].target,d=new B1({state:u,alt:c+1,context:r},null),f=new L4;this.closure(d,L,f,!0,n,!1)}return L}applyPrecedenceFilter(e){let t;const n=[],r=new B3(e.fullCtx);for(let L=0;L<e.items.length;L++){if(t=e.items[L],t.alt!==1)continue;const c=t.semanticContext.evalPrecedence(this.parser,this._outerContext);c!==null&&(n[t.state.stateNumber]=t.context,c!==t.semanticContext?r.add(new B1({semanticContext:c},t),this.mergeCache):r.add(t,this.mergeCache))}for(let L=0;L<e.items.length;L++)if(t=e.items[L],t.alt!==1){if(!t.precedenceFilterSuppressed){const c=n[t.state.stateNumber]||null;if(c!==null&&c.equals(t.context))continue}r.add(t,this.mergeCache)}return r}getReachableTarget(e,t){return e.matches(t,0,this.atn.maxTokenType)?e.target:null}getPredsForAmbigAlts(e,t,n){let r=[];for(let c=0;c<t.items.length;c++){const u=t.items[c];e.has(u.alt)&&(r[u.alt]=d1.orContext(r[u.alt]||null,u.semanticContext))}let L=0;for(let c=1;c<n+1;c++){const u=r[c]||null;u===null?r[c]=d1.NONE:u!==d1.NONE&&(L+=1)}return L===0&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+n0(r)),r}getPredicatePredictions(e,t){const n=[];let r=!1;for(let L=1;L<t.length;L++){const c=t[L];e!==null&&e.has(L)&&n.push(new _a(c,L)),c!==d1.NONE&&(r=!0)}return r?n:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(e,t){const n=this.splitAccordingToSemanticValidity(e,t),r=n[0],L=n[1];let c=this.getAltThatFinishedDecisionEntryRule(r);return c!==E1.INVALID_ALT_NUMBER||L.items.length>0&&(c=this.getAltThatFinishedDecisionEntryRule(L),c!==E1.INVALID_ALT_NUMBER)?c:E1.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(e){const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.reachesIntoOuterContext>0||r.state instanceof D3&&r.context.hasEmptyPath())&&t.indexOf(r.alt)<0&&t.push(r.alt)}return t.length===0?E1.INVALID_ALT_NUMBER:Math.min.apply(null,t)}splitAccordingToSemanticValidity(e,t){const n=new B3(e.fullCtx),r=new B3(e.fullCtx);for(let L=0;L<e.items.length;L++){const c=e.items[L];c.semanticContext!==d1.NONE?c.semanticContext.evaluate(this.parser,t)?n.add(c):r.add(c):n.add(c)}return[n,r]}evalSemanticContext(e,t,n){const r=new r9;for(let L=0;L<e.length;L++){const c=e[L];if(c.pred===d1.NONE){if(r.add(c.alt),!n)break;continue}const u=c.pred.evaluate(this.parser,t);if((this.debug||this.dfa_debug)&&console.log("eval pred "+c+"="+u),u&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+c.alt),r.add(c.alt),!n))break}return r}closure(e,t,n,r,L,c){this.closureCheckingStopState(e,t,n,r,L,0,c)}closureCheckingStopState(e,t,n,r,L,c,u){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof D3)if(e.context.isEmpty())if(L){t.add(e,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex));else{for(let d=0;d<e.context.length;d++){if(e.context.getReturnState(d)===J2.EMPTY_RETURN_STATE){if(L){t.add(new B1({state:e.state,context:J2.EMPTY},e),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,t,n,r,L,c,u);continue}const f=this.atn.states[e.context.getReturnState(d)],g=e.context.getParent(d),p={state:f,alt:e.alt,context:g,semanticContext:e.semanticContext},m=new B1(p,null);m.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(m,t,n,r,L,c-1,u)}return}this.closure_(e,t,n,r,L,c,u)}closure_(e,t,n,r,L,c,u){const d=e.state;d.epsilonOnlyTransitions||t.add(e,this.mergeCache);for(let f=0;f<d.transitions.length;f++){if(f===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(e))continue;const g=d.transitions[f],p=r&&!(g instanceof da),m=this.getEpsilonTarget(e,g,p,c===0,L,u);if(m!==null){let w=c;if(e.state instanceof D3){if(this._dfa!==null&&this._dfa.precedenceDfa&&g.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(m.precedenceFilterSuppressed=!0),m.reachesIntoOuterContext+=1,n.add(m)!==m)continue;t.dipsIntoOuterContext=!0,w-=1,this.debug&&console.log("dips into outer ctx: "+m)}else{if(!g.isEpsilon&&n.add(m)!==m)continue;g instanceof E7&&w>=0&&(w+=1)}this.closureCheckingStopState(m,t,n,p,L,w,u)}}}canDropLoopEntryEdgeInLeftRecursiveRule(e){const t=e.state;if(t.stateType!==Z2.STAR_LOOP_ENTRY||t.stateType!==Z2.STAR_LOOP_ENTRY||!t.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;const n=e.context.length;for(let u=0;u<n;u++)if(this.atn.states[e.context.getReturnState(u)].ruleIndex!==t.ruleIndex)return!1;const L=t.transitions[0].target.endState.stateNumber,c=this.atn.states[L];for(let u=0;u<n;u++){const d=e.context.getReturnState(u),f=this.atn.states[d];if(f.transitions.length!==1||!f.transitions[0].isEpsilon)return!1;const g=f.transitions[0].target;if(!(f.stateType===Z2.BLOCK_END&&g===t)&&f!==c&&g!==c&&!(g.stateType===Z2.BLOCK_END&&g.transitions.length===1&&g.transitions[0].isEpsilon&&g.transitions[0].target===t))return!1}return!0}getRuleName(e){return this.parser!==null&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"}getEpsilonTarget(e,t,n,r,L,c){switch(t.serializationType){case y2.RULE:return this.ruleTransition(e,t);case y2.PRECEDENCE:return this.precedenceTransition(e,t,n,r,L);case y2.PREDICATE:return this.predTransition(e,t,n,r,L);case y2.ACTION:return this.actionTransition(e,t);case y2.EPSILON:return new B1({state:t.target},e);case y2.ATOM:case y2.RANGE:case y2.SET:return c&&t.matches(f2.EOF,0,1)?new B1({state:t.target},e):null;default:return null}}actionTransition(e,t){if(this.debug){const n=t.actionIndex===-1?65535:t.actionIndex;console.log("ACTION edge "+t.ruleIndex+":"+n)}return new B1({state:t.target},e)}precedenceTransition(e,t,n,r,L){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+n0(this.parser.getRuleInvocationStack())));let c=null;if(n&&r)if(L){const u=this._input.index;this._input.seek(this._startIndex);const d=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(u),d&&(c=new B1({state:t.target},e))}else{const u=d1.andContext(e.semanticContext,t.getPredicate());c=new B1({state:t.target,semanticContext:u},e)}else c=new B1({state:t.target},e);return this.debug&&console.log("config from pred transition="+c),c}predTransition(e,t,n,r,L){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.ruleIndex+":"+t.predIndex+", ctx dependent="+t.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+n0(this.parser.getRuleInvocationStack())));let c=null;if(n&&(t.isCtxDependent&&r||!t.isCtxDependent))if(L){const u=this._input.index;this._input.seek(this._startIndex);const d=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(u),d&&(c=new B1({state:t.target},e))}else{const u=d1.andContext(e.semanticContext,t.getPredicate());c=new B1({state:t.target,semanticContext:u},e)}else c=new B1({state:t.target},e);return this.debug&&console.log("config from pred transition="+c),c}ruleTransition(e,t){this.debug&&console.log("CALL rule "+this.getRuleName(t.target.ruleIndex)+", ctx="+e.context);const n=t.followState,r=N3.create(e.context,n.stateNumber);return new B1({state:t.target,context:r},e)}getConflictingAlts(e){const t=y1.getConflictingAltSubsets(e);return y1.getAlts(t)}getConflictingAltsOrUniqueAlt(e){let t=null;return e.uniqueAlt!==E1.INVALID_ALT_NUMBER?(t=new r9,t.add(e.uniqueAlt)):t=e.conflictingAlts,t}getTokenName(e){if(e===f2.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length)console.log(""+e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";return""+e}getLookaheadName(e){return this.getTokenName(e.LA(1))}dumpDeadEndConfigs(e){console.log("dead end configs: ");const t=e.getDeadEndConfigs();for(let n=0;n<t.length;n++){const r=t[n];let L="no edges";if(r.state.transitions.length>0){const c=r.state.transitions[0];c instanceof P7?L="Atom "+this.getTokenName(c.label):c instanceof wn&&(L=(c instanceof Mn?"~":"")+"Set "+c.set)}console.error(r.toString(this.parser,!0)+":"+L)}}noViableAlt(e,t,n,r){return new Hn(this.parser,e,e.get(r),e.LT(1),n,t)}getUniqueAlt(e){let t=E1.INVALID_ALT_NUMBER;for(let n=0;n<e.items.length;n++){const r=e.items[n];if(t===E1.INVALID_ALT_NUMBER)t=r.alt;else if(r.alt!==t)return E1.INVALID_ALT_NUMBER}return t}addDFAEdge(e,t,n,r){if(this.debug&&console.log("EDGE "+t+" -> "+r+" upon "+this.getTokenName(n)),r===null)return null;if(r=this.addDFAState(e,r),t===null||n<-1||n>this.atn.maxTokenType)return r;if(t.edges===null&&(t.edges=[]),t.edges[n+1]=r,this.debug){const L=this.parser===null?null:this.parser.literalNames,c=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
25
25
|
`+e.toString(L,c))}return r}addDFAState(e,t){if(t===l9.ERROR)return t;const n=e.states.get(t);return n!==null?n:(t.stateNumber=e.states.length,t.configs.readOnly||(t.configs.optimizeConfigs(this),t.configs.setReadonly(!0)),e.states.add(t),this.debug&&console.log("adding new DFA state: "+t),t)}reportAttemptingFullContext(e,t,n,r,L){if(this.debug||this.retry_debug){const c=new h1(r,L+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(c))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,r,L,t,n)}reportContextSensitivity(e,t,n,r,L){if(this.debug||this.retry_debug){const c=new h1(r,L+1);console.log("reportContextSensitivity decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(c))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,r,L,t,n)}reportAmbiguity(e,t,n,r,L,c,u){if(this.debug||this.retry_debug){const d=new h1(n,r+1);console.log("reportAmbiguity "+c+":"+u+", input="+this.parser.getTokenStream().getText(d))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,n,r,L,c,u)}}const Qp={ATN:E1,ATNDeserializer:fa,LexerATNSimulator:z1,ParserATNSimulator:Yp,PredictionMode:y1};class $n{constructor(e,t,n){this.dfa=e,this.literalNames=t||[],this.symbolicNames=n||[]}toString(){if(this.dfa.s0===null)return null;let e="";const t=this.dfa.sortedStates();for(let n=0;n<t.length;n++){const r=t[n];if(r.edges!==null){const L=r.edges.length;for(let c=0;c<L;c++){const u=r.edges[c]||null;u!==null&&u.stateNumber!==2147483647&&(e=e.concat(this.getStateString(r)),e=e.concat("-"),e=e.concat(this.getEdgeLabel(c)),e=e.concat("->"),e=e.concat(this.getStateString(u)),e=e.concat(`
|
|
26
|
-
`))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?t+"=>"+n0(e.predicates):t+"=>"+e.prediction.toString():t}}class ma extends $n{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class Xp{constructor(e,t){if(t===void 0&&(t=0),this.atnStartState=e,this.decision=t,this._states=new L4,this.s0=null,this.precedenceDfa=!1,e instanceof V0&&e.isPrecedenceDecision){this.precedenceDfa=!0;const n=new A9(null,new B3);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new L4,e){const t=new A9(null,new B3);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(t,n){return t.stateNumber-n.stateNumber})}toString(e,t){return e=e||null,t=t||null,this.s0===null?"":new $n(this,e,t).toString()}toLexerString(){return this.s0===null?"":new ma(this).toString()}get states(){return this._states}}const Kp={DFA:Xp,DFASerializer:$n,LexerDFASerializer:ma,PredPrediction:_a};class va{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class Jp{visit(e){return Array.isArray(e)?e.map(function(t){return t.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class Gn{walk(e,t){if(t instanceof O7||t.isErrorNode!==void 0&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof S9)e.visitTerminal(t);else{this.enterRule(e,t);for(let r=0;r<t.getChildCount();r++){const L=t.getChild(r);this.walk(e,L)}this.exitRule(e,t)}}enterRule(e,t){const n=t.getRuleContext();e.enterEveryRule(n),n.enterRule(e)}exitRule(e,t){const n=t.getRuleContext();n.exitRule(e),e.exitEveryRule(n)}}Gn.DEFAULT=new Gn;const e_={Trees:o9,RuleNode:I7,ErrorNode:O7,TerminalNode:S9,ParseTreeListener:va,ParseTreeVisitor:Jp,ParseTreeWalker:Gn};class $8 extends i0{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class xa extends i0{constructor(e,t,n){super({message:t_(t,n||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const L=e._interp.atn.states[e.state].transitions[0];L instanceof ha?(this.ruleIndex=L.ruleIndex,this.predicateIndex=L.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=t,this.offendingToken=e.getCurrentToken()}}function t_(o,e){return e!==null?e:"failed predicate: {"+o+"}?"}class n_ extends B7{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,t,n,r,L,c,u){if(this.exactOnly&&!L)return;const d="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(c,u)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(d)}reportAttemptingFullContext(e,t,n,r,L,c){const u="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(u)}reportContextSensitivity(e,t,n,r,L,c){const u="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(u)}getDecisionDescription(e,t){const n=t.decision,r=t.atnStartState.ruleIndex,L=e.ruleNames;if(r<0||r>=L.length)return""+n;const c=L[r]||null;return c===null||c.length===0?""+n:`${n} (${c})`}getConflictingAlts(e,t){if(e!==null)return e;const n=new r9;for(let r=0;r<t.items.length;r++)n.add(t.items[r].alt);return`{${n.values().join(", ")}}`}}class Vn extends Error{constructor(){super(),Error.captureStackTrace(this,Vn)}}class i_{reset(e){}recoverInline(e){}recover(e,t){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class qn extends i_{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof Hn?this.reportNoViableAlternative(e,t):t instanceof $8?this.reportInputMismatch(e,t):t instanceof xa?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))}recover(e,t){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const n=this.getErrorRecoverySet(e);this.consumeUntil(e,n)}sync(e){if(this.inErrorRecoveryMode(e))return;const t=e._interp.atn.states[e.state],n=e.getTokenStream().LA(1),r=e.atn.nextTokens(t);if(r.contains(n)){this.nextTokensContext=null,this.nextTokenState=Z2.INVALID_STATE_NUMBER;return}else if(r.contains(f2.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(t.stateType){case Z2.BLOCK_START:case Z2.STAR_BLOCK_START:case Z2.PLUS_BLOCK_START:case Z2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new $8(e);case Z2.PLUS_LOOP_BACK:case Z2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const L=new b4;L.addSet(e.getExpectedTokens());const c=L.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,c)}break}}reportNoViableAlternative(e,t){const n=e.getTokenStream();let r;n!==null?t.startToken.type===f2.EOF?r="<EOF>":r=n.getText(new h1(t.startToken.tokenIndex,t.offendingToken.tokenIndex)):r="<unknown input>";const L="no viable alternative at input "+this.escapeWSAndQuote(r);e.notifyErrorListeners(L,t.offendingToken,t)}reportInputMismatch(e,t){const n="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t.offendingToken,t)}reportFailedPredicate(e,t){const r="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(r,t.offendingToken,t)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),n=this.getTokenErrorDisplay(t),r=this.getExpectedTokens(e),L="extraneous input "+n+" expecting "+r.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(L,t,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),r="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(r,t,null)}recoverInline(e){const t=this.singleTokenDeletion(e);if(t!==null)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new $8(e)}singleTokenInsertion(e){const t=e.getTokenStream().LA(1),n=e._interp.atn,L=n.states[e.state].transitions[0].target;return n.nextTokens(L,e._ctx).contains(t)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();const r=e.getCurrentToken();return this.reportMatch(e),r}else return null}getMissingSymbol(e){const t=e.getCurrentToken(),r=this.getExpectedTokens(e).first();let L;r===f2.EOF?L="<missing EOF>":L="<missing "+e.literalNames[r]+">";let c=t;const u=e.getTokenStream().LT(-1);return c.type===f2.EOF&&u!==null&&(c=u),e.getTokenFactory().create(c.source,r,L,f2.DEFAULT_CHANNEL,-1,-1,c.line,c.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===f2.EOF?t="<EOF>":t="<"+e.type+">"),this.escapeWSAndQuote(t)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const t=e._interp.atn;let n=e._ctx;const r=new b4;for(;n!==null&&n.invokingState>=0;){const c=t.states[n.invokingState].transitions[0],u=t.nextTokens(c.followState);r.addSet(u),n=n.parentCtx}return r.removeOne(f2.EPSILON),r}consumeUntil(e,t){let n=e.getTokenStream().LA(1);for(;n!==f2.EOF&&!t.contains(n);)e.consume(),n=e.getTokenStream().LA(1)}}class o_ extends qn{constructor(){super()}recover(e,t){let n=e._ctx;for(;n!==null;)n.exception=t,n=n.parentCtx;throw new Vn(t)}recoverInline(e){this.recover(e,new $8(e))}sync(e){}}const s_={RecognitionException:i0,NoViableAltException:Hn,LexerNoViableAltException:Un,InputMismatchException:$8,FailedPredicateException:xa,DiagnosticErrorListener:n_,BailErrorStrategy:o_,DefaultErrorStrategy:qn,ErrorListener:B7};class Y0{constructor(e,t){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=t||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let n=0;n<this.strdata.length;){const r=this.strdata.codePointAt(n);this.data.push(r),n+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let n=0;n<this.strdata.length;n++){const r=this.strdata.charCodeAt(n);this.data[n]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const t=this._index+e-1;return t<0||t>=this._size?f2.EOF:this.data[t]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let n="";for(let r=e;r<=t;r++)n+=String.fromCodePoint(this.data[r]);return n}else return this.strdata.slice(e,t+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const Yn={},r_={fromString:function(o){return new Y0(o,!0)},fromBlob:function(o,e,t,n){const r=new window.FileReader;r.onload=function(L){const c=new Y0(L.target.result,!0);t(c)},r.onerror=n,r.readAsText(o,e)},fromBuffer:function(o,e){return new Y0(o.toString(e),!0)},fromPath:function(o,e,t){Yn.readFile(o,e,function(n,r){let L=null;r!==null&&(L=new Y0(r,!0)),t(n,L)})},fromPathSync:function(o,e){const t=Yn.readFileSync(o,e);return new Y0(t,!0)}};class l_ extends Y0{constructor(e,t){const n=Yn.readFileSync(e,"utf8");super(n,t),this.fileName=e}}class a_{}class L_ extends a_{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===f2.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const t=e-this.tokens.length+1;return t>0?this.fetch(t)>=t:!0}fetch(e){if(this.fetchedEOF)return 0;for(let t=0;t<e;t++){const n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===f2.EOF)return this.fetchedEOF=!0,t+1}return e}getTokens(e,t,n){if(n===void 0&&(n=null),e<0||t<0)return null;this.lazyInit();const r=[];t>=this.tokens.length&&(t=this.tokens.length-1);for(let L=e;L<t;L++){const c=this.tokens[L];if(c.type===f2.EOF)break;(n===null||n.contains(c.type))&&r.push(c)}return r}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const t=this.index+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,t){if(this.sync(e),e>=this.tokens.length)return-1;let n=this.tokens[e];for(;n.channel!==this.channel;){if(n.type===f2.EOF)return-1;e+=1,this.sync(e),n=this.tokens[e]}return e}previousTokenOnChannel(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e}getHiddenTokensToRight(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const n=this.nextTokenOnChannel(e+1,F3.DEFAULT_TOKEN_CHANNEL),r=e+1,L=n===-1?this.tokens.length-1:n;return this.filterForChannel(r,L,t)}getHiddenTokensToLeft(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const n=this.previousTokenOnChannel(e-1,F3.DEFAULT_TOKEN_CHANNEL);if(n===e-1)return null;const r=n+1,L=e-1;return this.filterForChannel(r,L,t)}filterForChannel(e,t,n){const r=[];for(let L=e;L<t+1;L++){const c=this.tokens[L];n===-1?c.channel!==F3.DEFAULT_TOKEN_CHANNEL&&r.push(c):c.channel===n&&r.push(c)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new h1(0,this.tokens.length-1));let t=e.start;t instanceof f2&&(t=t.tokenIndex);let n=e.stop;if(n instanceof f2&&(n=n.tokenIndex),t===null||n===null||t<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);let r="";for(let L=t;L<n+1;L++){const c=this.tokens[L];if(c.type===f2.EOF)break;r=r+c.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class c_ extends L_{constructor(e,t){super(e),this.channel=t===void 0?f2.DEFAULT_CHANNEL:t}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let t=this.index,n=1;for(;n<=e;)t=this.previousTokenOnChannel(t-1,this.channel),n+=1;return t<0?null:this.tokens[t]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let t=this.index,n=1;for(;n<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),n+=1;return this.tokens[t]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let t=0;t<this.tokens.length;t++){const n=this.tokens[t];if(n.channel===this.channel&&(e+=1),n.type===f2.EOF)break}return e}}class C_ extends va{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let wa=class extends j7{constructor(e){super(),this._input=null,this._errHandler=new qn,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let t=this.getCurrentToken();return t.type===e?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this.buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const t=this._parseListeners.indexOf(e);t>=0&&this._parseListeners.splice(t,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(t){t.enterEveryRule(e),e.enterRule(t)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(t){e.exitRule(t),t.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let t=this.bypassAltsAtnCache[e];if(t===null){const n=new U8;n.generateRuleBypassTransitions=!0,t=new fa(n).deserialize(e),this.bypassAltsAtnCache[e]=t}return t}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,t,n){t=t||null,n=n||null,t===null&&(t=this.getCurrentToken()),this._syntaxErrors+=1;const r=t.line,L=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,L,e,n)}consume(){const e=this.getCurrentToken();e.type!==f2.EOF&&this.getInputStream().consume();const t=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||t){let n;this._errHandler.inErrorRecoveryMode(this)?n=this._ctx.addErrorNode(e):n=this._ctx.addTokenNode(e),n.invokingState=this.state,t&&this._parseListeners.forEach(function(r){n instanceof O7||n.isErrorNode!==void 0&&n.isErrorNode()?r.visitErrorNode(n):n instanceof S9&&r.visitTerminal(n)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,t,n){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,t,n,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,t,n){const r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const t=this._ctx,n=this.getParseListeners();if(n!==null&&n.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(t)}getInvokingContext(e){let t=this._ctx;for(;t!==null;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null}precpred(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const t=this._interp.atn;let n=this._ctx;const r=t.states[this.state];let L=t.nextTokens(r);if(L.contains(e))return!0;if(!L.contains(f2.EPSILON))return!1;for(;n!==null&&n.invokingState>=0&&L.contains(f2.EPSILON);){const u=t.states[n.invokingState].transitions[0];if(L=t.nextTokens(u.followState),L.contains(e))return!0;n=n.parentCtx}return!!(L.contains(f2.EPSILON)&&e===f2.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)}getRuleIndex(e){const t=this.getRuleIndexMap()[e];return t!==null?t:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const t=[];for(;e!==null;){const n=e.ruleIndex;n<0?t.push("n/a"):t.push(this.ruleNames[n]),e=e.parentCtx}return t}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let t=0;t<this._interp.decisionToDFA.length;t++){const n=this._interp.decisionToDFA[t];n.states.length>0&&(e&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new C_(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};wa.bypassAltsAtnCache={};class u_{constructor(){this.cache=new j8}add(e){if(e===J2.EMPTY)return J2.EMPTY;const t=this.cache.get(e)||null;return t!==null?t:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class Ma extends S9{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return h1.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new h1(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===f2.EOF?"<EOF>":this.symbol.text}}class Sa extends Ma{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}let ya=class extends Z5{constructor(e,t){e=e||null,t=t||null,super(e,t),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(t){t instanceof Sa&&(this.children.push(t),t.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const t=new Ma(e);return this.addChild(t),t.parentCtx=this,t}addErrorNode(e){const t=new Sa(e);return this.addChild(t),t.parentCtx=this,t}getChild(e,t){if(t=t||null,this.children===null||e<0||e>=this.children.length)return null;if(t===null)return this.children[e];for(let n=0;n<this.children.length;n++){const r=this.children[n];if(r instanceof t){if(e===0)return r;e-=1}}return null}getToken(e,t){if(this.children===null||t<0||t>=this.children.length)return null;for(let n=0;n<this.children.length;n++){const r=this.children[n];if(r instanceof S9&&r.symbol.type===e){if(t===0)return r;t-=1}}return null}getTokens(e){if(this.children===null)return[];{const t=[];for(let n=0;n<this.children.length;n++){const r=this.children[n];r instanceof S9&&r.symbol.type===e&&t.push(r)}return t}}getTypedRuleContext(e,t){return this.getChild(t,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const t=[];for(let n=0;n<this.children.length;n++){const r=this.children[n];r instanceof e&&t.push(r)}return t}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?h1.INVALID_INTERVAL:new h1(this.start.tokenIndex,this.stop.tokenIndex)}};Z5.EMPTY=new ya;const j={atn:Qp,dfa:Kp,tree:e_,error:s_,Token:f2,CommonToken:q0,CharStreams:r_,InputStream:Y0,FileStream:l_,CommonTokenStream:c_,Lexer:F3,Parser:wa,PredictionContextCache:u_,ParserRuleContext:ya,Interval:h1,IntervalSet:b4,LL1Analyzer:E5,Utils:{arrayToString:n0}},d_=[4,0,71,585,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,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,1,0,1,0,1,1,4,1,157,8,1,11,1,12,1,158,1,1,1,1,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,3,1,3,1,4,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,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,10,1,11,1,11,1,12,1,12,4,12,224,8,12,11,12,12,12,225,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,17,1,17,1,18,1,18,1,19,1,19,1,19,1,20,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,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,296,8,37,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,3,40,332,8,40,1,41,1,41,1,41,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,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,380,8,47,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,426,8,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,454,8,55,1,56,1,56,5,56,458,8,56,10,56,12,56,461,9,56,1,57,1,57,1,58,1,58,5,58,467,8,58,10,58,12,58,470,9,58,1,59,4,59,473,8,59,11,59,12,59,474,1,60,1,60,1,61,4,61,480,8,61,11,61,12,61,481,1,62,4,62,485,8,62,11,62,12,62,486,1,62,1,62,5,62,491,8,62,10,62,12,62,494,9,62,1,62,1,62,4,62,498,8,62,11,62,12,62,499,3,62,502,8,62,1,63,1,63,1,63,3,63,507,8,63,1,64,1,64,3,64,511,8,64,1,64,1,64,1,65,1,65,1,65,1,65,5,65,519,8,65,10,65,12,65,522,9,65,1,65,1,65,1,66,1,66,1,66,1,66,5,66,530,8,66,10,66,12,66,533,9,66,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,5,68,543,8,68,10,68,12,68,546,9,68,1,68,1,68,1,69,1,69,1,70,1,70,5,70,554,8,70,10,70,12,70,557,9,70,1,70,1,70,1,70,1,70,5,70,563,8,70,10,70,12,70,566,9,70,1,71,4,71,569,8,71,11,71,12,71,570,1,72,1,72,1,72,1,72,1,73,4,73,578,8,73,11,73,12,73,579,1,74,1,74,1,74,1,74,0,0,75,3,0,5,1,7,2,9,3,11,4,13,5,15,6,17,7,19,8,21,9,23,10,25,0,27,11,29,12,31,13,33,14,35,15,37,16,39,17,41,18,43,19,45,20,47,21,49,22,51,23,53,24,55,25,57,26,59,27,61,28,63,29,65,30,67,31,69,32,71,33,73,34,75,35,77,36,79,37,81,38,83,39,85,40,87,41,89,42,91,43,93,44,95,45,97,46,99,47,101,48,103,49,105,50,107,51,109,52,111,53,113,54,115,55,117,56,119,57,121,0,123,0,125,58,127,59,129,60,131,61,133,62,135,63,137,64,139,65,141,66,143,67,145,68,147,69,149,70,151,71,3,0,1,2,9,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,649,0,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6988,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92784,92862,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,122624,122654,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,693,0,48,57,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1632,1641,1646,1647,1649,1747,1749,1749,1765,1766,1774,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1984,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2406,2415,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2534,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2662,2671,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2790,2799,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2918,2927,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3046,3055,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3174,3183,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3302,3311,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3430,3439,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3558,3567,3585,3632,3634,3635,3648,3654,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3807,3840,3840,3872,3881,3904,3911,3913,3948,3976,3980,4096,4138,4159,4169,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4240,4249,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6112,6121,6160,6169,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6678,6688,6740,6784,6793,6800,6809,6823,6823,6917,6963,6981,6988,6992,7001,7043,7072,7086,7141,7168,7203,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43216,43225,43250,43255,43259,43259,43261,43262,43264,43301,43312,43334,43360,43388,43396,43442,43471,43481,43488,43492,43494,43518,43520,43560,43584,43586,43588,43595,43600,43609,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65296,65305,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,68912,68921,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69734,69743,69745,69746,69749,69749,69763,69807,69840,69864,69872,69881,69891,69926,69942,69951,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70096,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70384,70393,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70736,70745,70751,70753,70784,70831,70852,70853,70855,70855,70864,70873,71040,71086,71128,71131,71168,71215,71236,71236,71248,71257,71296,71338,71352,71352,71360,71369,71424,71450,71472,71481,71488,71494,71680,71723,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72016,72025,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72784,72793,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73040,73049,73056,73061,73063,73064,73066,73097,73112,73112,73120,73129,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,92880,92909,92928,92975,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,122624,122654,123136,123180,123191,123197,123200,123209,123214,123214,123536,123565,123584,123627,123632,123641,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,130032,130041,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,2,0,65,90,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,609,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,23,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,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,1,145,1,0,0,0,1,147,1,0,0,0,2,149,1,0,0,0,2,151,1,0,0,0,3,153,1,0,0,0,5,156,1,0,0,0,7,162,1,0,0,0,9,170,1,0,0,0,11,181,1,0,0,0,13,190,1,0,0,0,15,198,1,0,0,0,17,206,1,0,0,0,19,210,1,0,0,0,21,213,1,0,0,0,23,216,1,0,0,0,25,219,1,0,0,0,27,221,1,0,0,0,29,227,1,0,0,0,31,230,1,0,0,0,33,233,1,0,0,0,35,236,1,0,0,0,37,239,1,0,0,0,39,241,1,0,0,0,41,243,1,0,0,0,43,246,1,0,0,0,45,249,1,0,0,0,47,251,1,0,0,0,49,253,1,0,0,0,51,255,1,0,0,0,53,257,1,0,0,0,55,259,1,0,0,0,57,261,1,0,0,0,59,263,1,0,0,0,61,265,1,0,0,0,63,267,1,0,0,0,65,269,1,0,0,0,67,271,1,0,0,0,69,273,1,0,0,0,71,275,1,0,0,0,73,277,1,0,0,0,75,282,1,0,0,0,77,295,1,0,0,0,79,297,1,0,0,0,81,300,1,0,0,0,83,331,1,0,0,0,85,333,1,0,0,0,87,340,1,0,0,0,89,344,1,0,0,0,91,348,1,0,0,0,93,354,1,0,0,0,95,358,1,0,0,0,97,379,1,0,0,0,99,381,1,0,0,0,101,385,1,0,0,0,103,388,1,0,0,0,105,392,1,0,0,0,107,398,1,0,0,0,109,406,1,0,0,0,111,425,1,0,0,0,113,453,1,0,0,0,115,455,1,0,0,0,117,462,1,0,0,0,119,464,1,0,0,0,121,472,1,0,0,0,123,476,1,0,0,0,125,479,1,0,0,0,127,501,1,0,0,0,129,503,1,0,0,0,131,510,1,0,0,0,133,514,1,0,0,0,135,525,1,0,0,0,137,534,1,0,0,0,139,538,1,0,0,0,141,549,1,0,0,0,143,551,1,0,0,0,145,568,1,0,0,0,147,572,1,0,0,0,149,577,1,0,0,0,151,581,1,0,0,0,153,154,7,0,0,0,154,4,1,0,0,0,155,157,3,3,0,0,156,155,1,0,0,0,157,158,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,160,1,0,0,0,160,161,6,1,0,0,161,6,1,0,0,0,162,163,5,99,0,0,163,164,5,111,0,0,164,165,5,110,0,0,165,166,5,115,0,0,166,167,5,116,0,0,167,168,1,0,0,0,168,169,6,2,1,0,169,8,1,0,0,0,170,171,5,114,0,0,171,172,5,101,0,0,172,173,5,97,0,0,173,174,5,100,0,0,174,175,5,111,0,0,175,176,5,110,0,0,176,177,5,108,0,0,177,178,5,121,0,0,178,179,1,0,0,0,179,180,6,3,1,0,180,10,1,0,0,0,181,182,5,115,0,0,182,183,5,116,0,0,183,184,5,97,0,0,184,185,5,116,0,0,185,186,5,105,0,0,186,187,5,99,0,0,187,188,1,0,0,0,188,189,6,4,1,0,189,12,1,0,0,0,190,191,5,97,0,0,191,192,5,119,0,0,192,193,5,97,0,0,193,194,5,105,0,0,194,195,5,116,0,0,195,196,1,0,0,0,196,197,6,5,1,0,197,14,1,0,0,0,198,199,5,116,0,0,199,200,5,105,0,0,200,201,5,116,0,0,201,202,5,108,0,0,202,203,5,101,0,0,203,204,1,0,0,0,204,205,6,6,2,0,205,16,1,0,0,0,206,207,5,58,0,0,207,208,1,0,0,0,208,209,6,7,3,0,209,18,1,0,0,0,210,211,5,60,0,0,211,212,5,60,0,0,212,20,1,0,0,0,213,214,5,62,0,0,214,215,5,62,0,0,215,22,1,0,0,0,216,217,5,45,0,0,217,218,5,62,0,0,218,24,1,0,0,0,219,220,7,1,0,0,220,26,1,0,0,0,221,223,5,35,0,0,222,224,3,25,11,0,223,222,1,0,0,0,224,225,1,0,0,0,225,223,1,0,0,0,225,226,1,0,0,0,226,28,1,0,0,0,227,228,5,124,0,0,228,229,5,124,0,0,229,30,1,0,0,0,230,231,5,38,0,0,231,232,5,38,0,0,232,32,1,0,0,0,233,234,5,61,0,0,234,235,5,61,0,0,235,34,1,0,0,0,236,237,5,33,0,0,237,238,5,61,0,0,238,36,1,0,0,0,239,240,5,62,0,0,240,38,1,0,0,0,241,242,5,60,0,0,242,40,1,0,0,0,243,244,5,62,0,0,244,245,5,61,0,0,245,42,1,0,0,0,246,247,5,60,0,0,247,248,5,61,0,0,248,44,1,0,0,0,249,250,5,43,0,0,250,46,1,0,0,0,251,252,5,45,0,0,252,48,1,0,0,0,253,254,5,42,0,0,254,50,1,0,0,0,255,256,5,47,0,0,256,52,1,0,0,0,257,258,5,37,0,0,258,54,1,0,0,0,259,260,5,94,0,0,260,56,1,0,0,0,261,262,5,33,0,0,262,58,1,0,0,0,263,264,5,59,0,0,264,60,1,0,0,0,265,266,5,44,0,0,266,62,1,0,0,0,267,268,5,61,0,0,268,64,1,0,0,0,269,270,5,40,0,0,270,66,1,0,0,0,271,272,5,41,0,0,272,68,1,0,0,0,273,274,5,123,0,0,274,70,1,0,0,0,275,276,5,125,0,0,276,72,1,0,0,0,277,278,5,116,0,0,278,279,5,114,0,0,279,280,5,117,0,0,280,281,5,101,0,0,281,74,1,0,0,0,282,283,5,102,0,0,283,284,5,97,0,0,284,285,5,108,0,0,285,286,5,115,0,0,286,287,5,101,0,0,287,76,1,0,0,0,288,289,5,110,0,0,289,290,5,105,0,0,290,296,5,108,0,0,291,292,5,110,0,0,292,293,5,117,0,0,293,294,5,108,0,0,294,296,5,108,0,0,295,288,1,0,0,0,295,291,1,0,0,0,296,78,1,0,0,0,297,298,5,105,0,0,298,299,5,102,0,0,299,80,1,0,0,0,300,301,5,101,0,0,301,302,5,108,0,0,302,303,5,115,0,0,303,304,5,101,0,0,304,82,1,0,0,0,305,306,5,119,0,0,306,307,5,104,0,0,307,308,5,105,0,0,308,309,5,108,0,0,309,332,5,101,0,0,310,311,5,102,0,0,311,312,5,111,0,0,312,332,5,114,0,0,313,314,5,102,0,0,314,315,5,111,0,0,315,316,5,114,0,0,316,317,5,101,0,0,317,318,5,97,0,0,318,319,5,99,0,0,319,332,5,104,0,0,320,321,5,102,0,0,321,322,5,111,0,0,322,323,5,114,0,0,323,324,5,69,0,0,324,325,5,97,0,0,325,326,5,99,0,0,326,332,5,104,0,0,327,328,5,108,0,0,328,329,5,111,0,0,329,330,5,111,0,0,330,332,5,112,0,0,331,305,1,0,0,0,331,310,1,0,0,0,331,313,1,0,0,0,331,320,1,0,0,0,331,327,1,0,0,0,332,84,1,0,0,0,333,334,5,114,0,0,334,335,5,101,0,0,335,336,5,116,0,0,336,337,5,117,0,0,337,338,5,114,0,0,338,339,5,110,0,0,339,86,1,0,0,0,340,341,5,110,0,0,341,342,5,101,0,0,342,343,5,119,0,0,343,88,1,0,0,0,344,345,5,112,0,0,345,346,5,97,0,0,346,347,5,114,0,0,347,90,1,0,0,0,348,349,5,103,0,0,349,350,5,114,0,0,350,351,5,111,0,0,351,352,5,117,0,0,352,353,5,112,0,0,353,92,1,0,0,0,354,355,5,111,0,0,355,356,5,112,0,0,356,357,5,116,0,0,357,94,1,0,0,0,358,359,5,99,0,0,359,360,5,114,0,0,360,361,5,105,0,0,361,362,5,116,0,0,362,363,5,105,0,0,363,364,5,99,0,0,364,365,5,97,0,0,365,366,5,108,0,0,366,96,1,0,0,0,367,368,5,115,0,0,368,369,5,101,0,0,369,370,5,99,0,0,370,371,5,116,0,0,371,372,5,105,0,0,372,373,5,111,0,0,373,380,5,110,0,0,374,375,5,102,0,0,375,376,5,114,0,0,376,377,5,97,0,0,377,378,5,109,0,0,378,380,5,101,0,0,379,367,1,0,0,0,379,374,1,0,0,0,380,98,1,0,0,0,381,382,5,114,0,0,382,383,5,101,0,0,383,384,5,102,0,0,384,100,1,0,0,0,385,386,5,97,0,0,386,387,5,115,0,0,387,102,1,0,0,0,388,389,5,116,0,0,389,390,5,114,0,0,390,391,5,121,0,0,391,104,1,0,0,0,392,393,5,99,0,0,393,394,5,97,0,0,394,395,5,116,0,0,395,396,5,99,0,0,396,397,5,104,0,0,397,106,1,0,0,0,398,399,5,102,0,0,399,400,5,105,0,0,400,401,5,110,0,0,401,402,5,97,0,0,402,403,5,108,0,0,403,404,5,108,0,0,404,405,5,121,0,0,405,108,1,0,0,0,406,407,5,105,0,0,407,408,5,110,0,0,408,110,1,0,0,0,409,410,5,64,0,0,410,411,5,83,0,0,411,412,5,116,0,0,412,413,5,97,0,0,413,414,5,114,0,0,414,415,5,116,0,0,415,416,5,101,0,0,416,426,5,114,0,0,417,418,5,64,0,0,418,419,5,115,0,0,419,420,5,116,0,0,420,421,5,97,0,0,421,422,5,114,0,0,422,423,5,116,0,0,423,424,5,101,0,0,424,426,5,114,0,0,425,409,1,0,0,0,425,417,1,0,0,0,426,112,1,0,0,0,427,428,5,64,0,0,428,429,5,82,0,0,429,430,5,101,0,0,430,431,5,116,0,0,431,432,5,117,0,0,432,433,5,114,0,0,433,454,5,110,0,0,434,435,5,64,0,0,435,436,5,114,0,0,436,437,5,101,0,0,437,438,5,116,0,0,438,439,5,117,0,0,439,440,5,114,0,0,440,454,5,110,0,0,441,442,5,64,0,0,442,443,5,82,0,0,443,444,5,101,0,0,444,445,5,112,0,0,445,446,5,108,0,0,446,454,5,121,0,0,447,448,5,64,0,0,448,449,5,114,0,0,449,450,5,101,0,0,450,451,5,112,0,0,451,452,5,108,0,0,452,454,5,121,0,0,453,427,1,0,0,0,453,434,1,0,0,0,453,441,1,0,0,0,453,447,1,0,0,0,454,114,1,0,0,0,455,459,5,64,0,0,456,458,7,2,0,0,457,456,1,0,0,0,458,461,1,0,0,0,459,457,1,0,0,0,459,460,1,0,0,0,460,116,1,0,0,0,461,459,1,0,0,0,462,463,5,46,0,0,463,118,1,0,0,0,464,468,7,3,0,0,465,467,7,4,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,466,1,0,0,0,468,469,1,0,0,0,469,120,1,0,0,0,470,468,1,0,0,0,471,473,7,5,0,0,472,471,1,0,0,0,473,474,1,0,0,0,474,472,1,0,0,0,474,475,1,0,0,0,475,122,1,0,0,0,476,477,7,6,0,0,477,124,1,0,0,0,478,480,3,123,60,0,479,478,1,0,0,0,480,481,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,126,1,0,0,0,483,485,3,123,60,0,484,483,1,0,0,0,485,486,1,0,0,0,486,484,1,0,0,0,486,487,1,0,0,0,487,488,1,0,0,0,488,492,5,46,0,0,489,491,3,123,60,0,490,489,1,0,0,0,491,494,1,0,0,0,492,490,1,0,0,0,492,493,1,0,0,0,493,502,1,0,0,0,494,492,1,0,0,0,495,497,5,46,0,0,496,498,3,123,60,0,497,496,1,0,0,0,498,499,1,0,0,0,499,497,1,0,0,0,499,500,1,0,0,0,500,502,1,0,0,0,501,484,1,0,0,0,501,495,1,0,0,0,502,128,1,0,0,0,503,506,5,36,0,0,504,507,3,125,61,0,505,507,3,127,62,0,506,504,1,0,0,0,506,505,1,0,0,0,507,130,1,0,0,0,508,511,3,125,61,0,509,511,3,127,62,0,510,508,1,0,0,0,510,509,1,0,0,0,511,512,1,0,0,0,512,513,3,121,59,0,513,132,1,0,0,0,514,520,5,34,0,0,515,516,5,34,0,0,516,519,5,34,0,0,517,519,8,7,0,0,518,515,1,0,0,0,518,517,1,0,0,0,519,522,1,0,0,0,520,518,1,0,0,0,520,521,1,0,0,0,521,523,1,0,0,0,522,520,1,0,0,0,523,524,5,34,0,0,524,134,1,0,0,0,525,531,5,34,0,0,526,527,5,34,0,0,527,530,5,34,0,0,528,530,8,7,0,0,529,526,1,0,0,0,529,528,1,0,0,0,530,533,1,0,0,0,531,529,1,0,0,0,531,532,1,0,0,0,532,136,1,0,0,0,533,531,1,0,0,0,534,535,7,8,0,0,535,536,1,0,0,0,536,537,6,67,0,0,537,138,1,0,0,0,538,539,5,47,0,0,539,540,5,47,0,0,540,544,1,0,0,0,541,543,8,8,0,0,542,541,1,0,0,0,543,546,1,0,0,0,544,542,1,0,0,0,544,545,1,0,0,0,545,547,1,0,0,0,546,544,1,0,0,0,547,548,6,68,4,0,548,140,1,0,0,0,549,550,9,0,0,0,550,142,1,0,0,0,551,555,4,70,0,0,552,554,3,3,0,0,553,552,1,0,0,0,554,557,1,0,0,0,555,553,1,0,0,0,555,556,1,0,0,0,556,558,1,0,0,0,557,555,1,0,0,0,558,559,5,61,0,0,559,560,5,61,0,0,560,564,1,0,0,0,561,563,8,8,0,0,562,561,1,0,0,0,563,566,1,0,0,0,564,562,1,0,0,0,564,565,1,0,0,0,565,144,1,0,0,0,566,564,1,0,0,0,567,569,8,8,0,0,568,567,1,0,0,0,569,570,1,0,0,0,570,568,1,0,0,0,570,571,1,0,0,0,571,146,1,0,0,0,572,573,7,8,0,0,573,574,1,0,0,0,574,575,6,72,5,0,575,148,1,0,0,0,576,578,8,8,0,0,577,576,1,0,0,0,578,579,1,0,0,0,579,577,1,0,0,0,579,580,1,0,0,0,580,150,1,0,0,0,581,582,7,8,0,0,582,583,1,0,0,0,583,584,6,74,5,0,584,152,1,0,0,0,29,0,1,2,158,225,295,331,379,425,453,459,468,474,481,486,492,499,501,506,510,518,520,529,531,544,555,564,570,579,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],Qn=new j.atn.ATNDeserializer().deserialize(d_),h_=Qn.decisionToState.map((o,e)=>new j.dfa.DFA(o,e));class p2 extends j.Lexer{constructor(e){super(e),this._interp=new j.atn.LexerATNSimulator(this,Qn,h_,new j.PredictionContextCache)}get atn(){return Qn}}c2(p2,"grammarFileName","sequenceLexer.g4"),c2(p2,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),c2(p2,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),c2(p2,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),c2(p2,"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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),c2(p2,"ruleNames",["HWS","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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","UNIT","DIGIT","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),p2.EOF=j.Token.EOF,p2.WS=1,p2.CONSTANT=2,p2.READONLY=3,p2.STATIC=4,p2.AWAIT=5,p2.TITLE=6,p2.COL=7,p2.SOPEN=8,p2.SCLOSE=9,p2.ARROW=10,p2.COLOR=11,p2.OR=12,p2.AND=13,p2.EQ=14,p2.NEQ=15,p2.GT=16,p2.LT=17,p2.GTEQ=18,p2.LTEQ=19,p2.PLUS=20,p2.MINUS=21,p2.MULT=22,p2.DIV=23,p2.MOD=24,p2.POW=25,p2.NOT=26,p2.SCOL=27,p2.COMMA=28,p2.ASSIGN=29,p2.OPAR=30,p2.CPAR=31,p2.OBRACE=32,p2.CBRACE=33,p2.TRUE=34,p2.FALSE=35,p2.NIL=36,p2.IF=37,p2.ELSE=38,p2.WHILE=39,p2.RETURN=40,p2.NEW=41,p2.PAR=42,p2.GROUP=43,p2.OPT=44,p2.CRITICAL=45,p2.SECTION=46,p2.REF=47,p2.AS=48,p2.TRY=49,p2.CATCH=50,p2.FINALLY=51,p2.IN=52,p2.STARTER_LXR=53,p2.ANNOTATION_RET=54,p2.ANNOTATION=55,p2.DOT=56,p2.ID=57,p2.INT=58,p2.FLOAT=59,p2.MONEY=60,p2.NUMBER_UNIT=61,p2.CSTRING=62,p2.USTRING=63,p2.CR=64,p2.COMMENT=65,p2.OTHER=66,p2.DIVIDER=67,p2.EVENT_PAYLOAD_LXR=68,p2.EVENT_END=69,p2.TITLE_CONTENT=70,p2.TITLE_END=71,p2.COMMENT_CHANNEL=2,p2.MODIFIER_CHANNEL=3,p2.EVENT=1,p2.TITLE_MODE=2,p2.prototype.sempred=function(o,e,t){switch(e){case 70:return this.DIVIDER_sempred(o,t);default:throw"No registered predicate for:"+e}},p2.prototype.DIVIDER_sempred=function(o,e){switch(e){case 0:return this.column===0;default:throw"No predicate with index:"+e}};class q extends j.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCritical(e){}exitCritical(e){}enterSection(e){}exitSection(e){}enterCreation(e){}exitCreation(e){}enterRef(e){}exitRef(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFromTo(e){}exitFromTo(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterNamedParameter(e){}exitNamedParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterNumberUnitAtom(e){}exitNumberUnitAtom(e){}enterMoneyAtom(e){}exitMoneyAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}enterTextExpr(e){}exitTextExpr(e){}}const f_=[4,1,71,613,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,1,0,3,0,120,8,0,1,0,1,0,3,0,124,8,0,1,0,1,0,1,0,1,0,3,0,130,8,0,1,0,3,0,133,8,0,1,0,1,0,1,0,3,0,138,8,0,1,1,1,1,3,1,142,8,1,1,1,3,1,145,8,1,1,2,1,2,4,2,149,8,2,11,2,12,2,150,1,2,1,2,5,2,155,8,2,10,2,12,2,158,9,2,1,2,3,2,161,8,2,1,3,1,3,3,3,165,8,3,1,3,1,3,5,3,169,8,3,10,3,12,3,172,9,3,1,3,3,3,175,8,3,3,3,177,8,3,1,4,1,4,1,4,3,4,182,8,4,1,4,3,4,185,8,4,1,4,3,4,188,8,4,1,5,1,5,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,1,6,3,6,200,8,6,1,6,3,6,203,8,6,1,6,3,6,206,8,6,1,6,1,6,3,6,210,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,219,8,7,1,7,1,7,3,7,223,8,7,3,7,225,8,7,1,8,1,8,1,8,3,8,230,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,239,8,12,11,12,12,12,240,1,13,1,13,3,13,245,8,13,1,13,3,13,248,8,13,1,13,1,13,1,13,3,13,253,8,13,3,13,255,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,1,16,1,16,1,16,3,16,272,8,16,1,16,1,16,1,16,3,16,277,8,16,1,17,1,17,3,17,281,8,17,1,17,1,17,3,17,285,8,17,1,18,1,18,3,18,289,8,18,1,18,1,18,3,18,293,8,18,1,19,1,19,3,19,297,8,19,1,19,1,19,3,19,301,8,19,1,20,1,20,1,20,3,20,306,8,20,1,20,3,20,309,8,20,1,20,1,20,1,20,3,20,314,8,20,1,21,1,21,1,21,3,21,319,8,21,1,22,1,22,1,22,1,22,1,22,5,22,326,8,22,10,22,12,22,329,9,22,5,22,331,8,22,10,22,12,22,334,9,22,1,22,1,22,3,22,338,8,22,1,23,3,23,341,8,23,1,23,1,23,1,23,1,23,3,23,347,8,23,1,23,3,23,350,8,23,1,23,3,23,353,8,23,1,23,3,23,356,8,23,1,24,1,24,1,24,3,24,361,8,24,1,25,1,25,1,25,3,25,366,8,25,1,25,3,25,369,8,25,1,25,1,25,3,25,373,8,25,1,25,3,25,376,8,25,1,26,1,26,1,26,3,26,381,8,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,389,8,27,10,27,12,27,392,9,27,1,28,1,28,1,29,1,29,1,30,1,30,3,30,400,8,30,1,31,1,31,3,31,404,8,31,1,31,1,31,1,32,3,32,409,8,32,1,32,1,32,1,32,1,33,1,33,1,33,3,33,417,8,33,1,33,1,33,1,33,3,33,422,8,33,1,33,1,33,1,33,3,33,427,8,33,3,33,429,8,33,1,34,1,34,1,35,1,35,1,36,1,36,1,37,1,37,1,37,1,37,5,37,441,8,37,10,37,12,37,444,9,37,1,37,1,37,1,37,3,37,449,8,37,1,38,1,38,1,39,1,39,1,39,5,39,456,8,39,10,39,12,39,459,9,39,1,39,3,39,462,8,39,1,40,1,40,1,40,3,40,467,8,40,1,41,1,41,1,41,3,41,472,8,41,1,42,1,42,1,42,1,43,1,43,5,43,479,8,43,10,43,12,43,482,9,43,1,43,3,43,485,8,43,1,44,1,44,1,44,1,45,1,45,3,45,492,8,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,5,47,501,8,47,10,47,12,47,504,9,47,1,47,3,47,507,8,47,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,3,51,523,8,51,1,51,1,51,1,52,1,52,3,52,529,8,52,1,52,3,52,532,8,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,543,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,554,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,5,53,577,8,53,10,53,12,53,580,9,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,589,8,54,1,55,1,55,3,55,593,8,55,1,55,3,55,596,8,55,1,56,1,56,1,56,1,56,3,56,602,8,56,1,57,1,57,1,57,1,57,1,58,4,58,609,8,58,11,58,12,58,610,1,58,0,1,106,59,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,106,108,110,112,114,116,0,11,2,0,8,8,17,17,2,0,9,9,16,16,2,0,57,57,62,63,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,58,59,1,0,34,35,1,0,62,63,684,0,137,1,0,0,0,2,139,1,0,0,0,4,160,1,0,0,0,6,162,1,0,0,0,8,187,1,0,0,0,10,189,1,0,0,0,12,209,1,0,0,0,14,224,1,0,0,0,16,229,1,0,0,0,18,231,1,0,0,0,20,233,1,0,0,0,22,235,1,0,0,0,24,238,1,0,0,0,26,254,1,0,0,0,28,256,1,0,0,0,30,258,1,0,0,0,32,276,1,0,0,0,34,284,1,0,0,0,36,292,1,0,0,0,38,300,1,0,0,0,40,313,1,0,0,0,42,315,1,0,0,0,44,320,1,0,0,0,46,355,1,0,0,0,48,357,1,0,0,0,50,375,1,0,0,0,52,380,1,0,0,0,54,385,1,0,0,0,56,393,1,0,0,0,58,395,1,0,0,0,60,397,1,0,0,0,62,401,1,0,0,0,64,408,1,0,0,0,66,428,1,0,0,0,68,430,1,0,0,0,70,432,1,0,0,0,72,434,1,0,0,0,74,448,1,0,0,0,76,450,1,0,0,0,78,452,1,0,0,0,80,466,1,0,0,0,82,468,1,0,0,0,84,473,1,0,0,0,86,476,1,0,0,0,88,486,1,0,0,0,90,489,1,0,0,0,92,495,1,0,0,0,94,498,1,0,0,0,96,508,1,0,0,0,98,512,1,0,0,0,100,517,1,0,0,0,102,520,1,0,0,0,104,526,1,0,0,0,106,553,1,0,0,0,108,588,1,0,0,0,110,590,1,0,0,0,112,601,1,0,0,0,114,603,1,0,0,0,116,608,1,0,0,0,118,120,3,2,1,0,119,118,1,0,0,0,119,120,1,0,0,0,120,121,1,0,0,0,121,138,5,0,0,1,122,124,3,2,1,0,123,122,1,0,0,0,123,124,1,0,0,0,124,125,1,0,0,0,125,126,3,4,2,0,126,127,5,0,0,1,127,138,1,0,0,0,128,130,3,2,1,0,129,128,1,0,0,0,129,130,1,0,0,0,130,132,1,0,0,0,131,133,3,4,2,0,132,131,1,0,0,0,132,133,1,0,0,0,133,134,1,0,0,0,134,135,3,24,12,0,135,136,5,0,0,1,136,138,1,0,0,0,137,119,1,0,0,0,137,123,1,0,0,0,137,129,1,0,0,0,138,1,1,0,0,0,139,141,5,6,0,0,140,142,5,70,0,0,141,140,1,0,0,0,141,142,1,0,0,0,142,144,1,0,0,0,143,145,5,71,0,0,144,143,1,0,0,0,144,145,1,0,0,0,145,3,1,0,0,0,146,149,3,6,3,0,147,149,3,12,6,0,148,146,1,0,0,0,148,147,1,0,0,0,149,150,1,0,0,0,150,148,1,0,0,0,150,151,1,0,0,0,151,161,1,0,0,0,152,155,3,6,3,0,153,155,3,12,6,0,154,152,1,0,0,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,161,3,8,4,0,160,148,1,0,0,0,160,156,1,0,0,0,161,5,1,0,0,0,162,164,5,43,0,0,163,165,3,20,10,0,164,163,1,0,0,0,164,165,1,0,0,0,165,176,1,0,0,0,166,170,5,32,0,0,167,169,3,12,6,0,168,167,1,0,0,0,169,172,1,0,0,0,170,168,1,0,0,0,170,171,1,0,0,0,171,174,1,0,0,0,172,170,1,0,0,0,173,175,5,33,0,0,174,173,1,0,0,0,174,175,1,0,0,0,175,177,1,0,0,0,176,166,1,0,0,0,176,177,1,0,0,0,177,7,1,0,0,0,178,184,5,53,0,0,179,181,5,30,0,0,180,182,3,10,5,0,181,180,1,0,0,0,181,182,1,0,0,0,182,183,1,0,0,0,183,185,5,31,0,0,184,179,1,0,0,0,184,185,1,0,0,0,185,188,1,0,0,0,186,188,5,55,0,0,187,178,1,0,0,0,187,186,1,0,0,0,188,9,1,0,0,0,189,190,3,20,10,0,190,11,1,0,0,0,191,193,3,18,9,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,14,7,0,195,194,1,0,0,0,195,196,1,0,0,0,196,197,1,0,0,0,197,199,3,20,10,0,198,200,3,22,11,0,199,198,1,0,0,0,199,200,1,0,0,0,200,202,1,0,0,0,201,203,3,16,8,0,202,201,1,0,0,0,202,203,1,0,0,0,203,205,1,0,0,0,204,206,5,11,0,0,205,204,1,0,0,0,205,206,1,0,0,0,206,210,1,0,0,0,207,210,3,14,7,0,208,210,3,18,9,0,209,192,1,0,0,0,209,207,1,0,0,0,209,208,1,0,0,0,210,13,1,0,0,0,211,212,5,8,0,0,212,213,3,20,10,0,213,214,5,9,0,0,214,225,1,0,0,0,215,216,5,8,0,0,216,218,3,20,10,0,217,219,5,16,0,0,218,217,1,0,0,0,218,219,1,0,0,0,219,225,1,0,0,0,220,222,7,0,0,0,221,223,7,1,0,0,222,221,1,0,0,0,222,223,1,0,0,0,223,225,1,0,0,0,224,211,1,0,0,0,224,215,1,0,0,0,224,220,1,0,0,0,225,15,1,0,0,0,226,227,5,48,0,0,227,230,3,20,10,0,228,230,5,48,0,0,229,226,1,0,0,0,229,228,1,0,0,0,230,17,1,0,0,0,231,232,5,55,0,0,232,19,1,0,0,0,233,234,7,2,0,0,234,21,1,0,0,0,235,236,5,58,0,0,236,23,1,0,0,0,237,239,3,32,16,0,238,237,1,0,0,0,239,240,1,0,0,0,240,238,1,0,0,0,240,241,1,0,0,0,241,25,1,0,0,0,242,244,5,40,0,0,243,245,3,106,53,0,244,243,1,0,0,0,244,245,1,0,0,0,245,247,1,0,0,0,246,248,5,27,0,0,247,246,1,0,0,0,247,248,1,0,0,0,248,255,1,0,0,0,249,250,5,54,0,0,250,252,3,66,33,0,251,253,5,69,0,0,252,251,1,0,0,0,252,253,1,0,0,0,253,255,1,0,0,0,254,242,1,0,0,0,254,249,1,0,0,0,255,27,1,0,0,0,256,257,3,30,15,0,257,29,1,0,0,0,258,259,5,67,0,0,259,31,1,0,0,0,260,277,3,94,47,0,261,277,3,34,17,0,262,277,3,36,18,0,263,277,3,38,19,0,264,277,3,40,20,0,265,277,3,44,22,0,266,277,3,104,52,0,267,277,3,42,21,0,268,277,3,48,24,0,269,271,3,66,33,0,270,272,5,69,0,0,271,270,1,0,0,0,271,272,1,0,0,0,272,277,1,0,0,0,273,277,3,26,13,0,274,277,3,28,14,0,275,277,3,86,43,0,276,260,1,0,0,0,276,261,1,0,0,0,276,262,1,0,0,0,276,263,1,0,0,0,276,264,1,0,0,0,276,265,1,0,0,0,276,266,1,0,0,0,276,267,1,0,0,0,276,268,1,0,0,0,276,269,1,0,0,0,276,273,1,0,0,0,276,274,1,0,0,0,276,275,1,0,0,0,277,33,1,0,0,0,278,280,5,42,0,0,279,281,3,110,55,0,280,279,1,0,0,0,280,281,1,0,0,0,281,282,1,0,0,0,282,285,3,102,51,0,283,285,5,42,0,0,284,278,1,0,0,0,284,283,1,0,0,0,285,35,1,0,0,0,286,288,5,44,0,0,287,289,3,110,55,0,288,287,1,0,0,0,288,289,1,0,0,0,289,290,1,0,0,0,290,293,3,102,51,0,291,293,5,44,0,0,292,286,1,0,0,0,292,291,1,0,0,0,293,37,1,0,0,0,294,296,5,45,0,0,295,297,3,110,55,0,296,295,1,0,0,0,296,297,1,0,0,0,297,298,1,0,0,0,298,301,3,102,51,0,299,301,5,45,0,0,300,294,1,0,0,0,300,299,1,0,0,0,301,39,1,0,0,0,302,308,5,46,0,0,303,305,5,30,0,0,304,306,3,108,54,0,305,304,1,0,0,0,305,306,1,0,0,0,306,307,1,0,0,0,307,309,5,31,0,0,308,303,1,0,0,0,308,309,1,0,0,0,309,310,1,0,0,0,310,314,3,102,51,0,311,314,3,102,51,0,312,314,5,46,0,0,313,302,1,0,0,0,313,311,1,0,0,0,313,312,1,0,0,0,314,41,1,0,0,0,315,318,3,46,23,0,316,319,5,27,0,0,317,319,3,102,51,0,318,316,1,0,0,0,318,317,1,0,0,0,318,319,1,0,0,0,319,43,1,0,0,0,320,321,5,47,0,0,321,322,5,30,0,0,322,332,3,20,10,0,323,327,5,28,0,0,324,326,3,20,10,0,325,324,1,0,0,0,326,329,1,0,0,0,327,325,1,0,0,0,327,328,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,330,323,1,0,0,0,331,334,1,0,0,0,332,330,1,0,0,0,332,333,1,0,0,0,333,335,1,0,0,0,334,332,1,0,0,0,335,337,5,31,0,0,336,338,5,27,0,0,337,336,1,0,0,0,337,338,1,0,0,0,338,45,1,0,0,0,339,341,3,64,32,0,340,339,1,0,0,0,340,341,1,0,0,0,341,342,1,0,0,0,342,343,5,41,0,0,343,349,3,70,35,0,344,346,5,30,0,0,345,347,3,78,39,0,346,345,1,0,0,0,346,347,1,0,0,0,347,348,1,0,0,0,348,350,5,31,0,0,349,344,1,0,0,0,349,350,1,0,0,0,350,356,1,0,0,0,351,353,3,64,32,0,352,351,1,0,0,0,352,353,1,0,0,0,353,354,1,0,0,0,354,356,5,41,0,0,355,340,1,0,0,0,355,352,1,0,0,0,356,47,1,0,0,0,357,360,3,50,25,0,358,361,5,27,0,0,359,361,3,102,51,0,360,358,1,0,0,0,360,359,1,0,0,0,360,361,1,0,0,0,361,49,1,0,0,0,362,368,3,64,32,0,363,365,3,52,26,0,364,366,3,54,27,0,365,364,1,0,0,0,365,366,1,0,0,0,366,369,1,0,0,0,367,369,3,54,27,0,368,363,1,0,0,0,368,367,1,0,0,0,368,369,1,0,0,0,369,376,1,0,0,0,370,372,3,52,26,0,371,373,3,54,27,0,372,371,1,0,0,0,372,373,1,0,0,0,373,376,1,0,0,0,374,376,3,54,27,0,375,362,1,0,0,0,375,370,1,0,0,0,375,374,1,0,0,0,376,51,1,0,0,0,377,378,3,56,28,0,378,379,5,10,0,0,379,381,1,0,0,0,380,377,1,0,0,0,380,381,1,0,0,0,381,382,1,0,0,0,382,383,3,58,29,0,383,384,5,56,0,0,384,53,1,0,0,0,385,390,3,60,30,0,386,387,5,56,0,0,387,389,3,60,30,0,388,386,1,0,0,0,389,392,1,0,0,0,390,388,1,0,0,0,390,391,1,0,0,0,391,55,1,0,0,0,392,390,1,0,0,0,393,394,3,20,10,0,394,57,1,0,0,0,395,396,3,20,10,0,396,59,1,0,0,0,397,399,3,76,38,0,398,400,3,62,31,0,399,398,1,0,0,0,399,400,1,0,0,0,400,61,1,0,0,0,401,403,5,30,0,0,402,404,3,78,39,0,403,402,1,0,0,0,403,404,1,0,0,0,404,405,1,0,0,0,405,406,5,31,0,0,406,63,1,0,0,0,407,409,3,72,36,0,408,407,1,0,0,0,408,409,1,0,0,0,409,410,1,0,0,0,410,411,3,74,37,0,411,412,5,29,0,0,412,65,1,0,0,0,413,414,3,56,28,0,414,415,5,10,0,0,415,417,1,0,0,0,416,413,1,0,0,0,416,417,1,0,0,0,417,418,1,0,0,0,418,419,3,58,29,0,419,421,5,7,0,0,420,422,3,68,34,0,421,420,1,0,0,0,421,422,1,0,0,0,422,429,1,0,0,0,423,424,3,56,28,0,424,426,7,3,0,0,425,427,3,58,29,0,426,425,1,0,0,0,426,427,1,0,0,0,427,429,1,0,0,0,428,416,1,0,0,0,428,423,1,0,0,0,429,67,1,0,0,0,430,431,5,68,0,0,431,69,1,0,0,0,432,433,3,20,10,0,433,71,1,0,0,0,434,435,3,20,10,0,435,73,1,0,0,0,436,449,3,108,54,0,437,442,5,57,0,0,438,439,5,28,0,0,439,441,5,57,0,0,440,438,1,0,0,0,441,444,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,449,1,0,0,0,444,442,1,0,0,0,445,449,5,62,0,0,446,449,5,63,0,0,447,449,5,41,0,0,448,436,1,0,0,0,448,437,1,0,0,0,448,445,1,0,0,0,448,446,1,0,0,0,448,447,1,0,0,0,449,75,1,0,0,0,450,451,3,20,10,0,451,77,1,0,0,0,452,457,3,80,40,0,453,454,5,28,0,0,454,456,3,80,40,0,455,453,1,0,0,0,456,459,1,0,0,0,457,455,1,0,0,0,457,458,1,0,0,0,458,461,1,0,0,0,459,457,1,0,0,0,460,462,5,28,0,0,461,460,1,0,0,0,461,462,1,0,0,0,462,79,1,0,0,0,463,467,3,82,41,0,464,467,3,84,42,0,465,467,3,106,53,0,466,463,1,0,0,0,466,464,1,0,0,0,466,465,1,0,0,0,467,81,1,0,0,0,468,469,5,57,0,0,469,471,5,29,0,0,470,472,3,106,53,0,471,470,1,0,0,0,471,472,1,0,0,0,472,83,1,0,0,0,473,474,3,72,36,0,474,475,5,57,0,0,475,85,1,0,0,0,476,480,3,88,44,0,477,479,3,90,45,0,478,477,1,0,0,0,479,482,1,0,0,0,480,478,1,0,0,0,480,481,1,0,0,0,481,484,1,0,0,0,482,480,1,0,0,0,483,485,3,92,46,0,484,483,1,0,0,0,484,485,1,0,0,0,485,87,1,0,0,0,486,487,5,49,0,0,487,488,3,102,51,0,488,89,1,0,0,0,489,491,5,50,0,0,490,492,3,62,31,0,491,490,1,0,0,0,491,492,1,0,0,0,492,493,1,0,0,0,493,494,3,102,51,0,494,91,1,0,0,0,495,496,5,51,0,0,496,497,3,102,51,0,497,93,1,0,0,0,498,502,3,96,48,0,499,501,3,98,49,0,500,499,1,0,0,0,501,504,1,0,0,0,502,500,1,0,0,0,502,503,1,0,0,0,503,506,1,0,0,0,504,502,1,0,0,0,505,507,3,100,50,0,506,505,1,0,0,0,506,507,1,0,0,0,507,95,1,0,0,0,508,509,5,37,0,0,509,510,3,110,55,0,510,511,3,102,51,0,511,97,1,0,0,0,512,513,5,38,0,0,513,514,5,37,0,0,514,515,3,110,55,0,515,516,3,102,51,0,516,99,1,0,0,0,517,518,5,38,0,0,518,519,3,102,51,0,519,101,1,0,0,0,520,522,5,32,0,0,521,523,3,24,12,0,522,521,1,0,0,0,522,523,1,0,0,0,523,524,1,0,0,0,524,525,5,33,0,0,525,103,1,0,0,0,526,528,5,39,0,0,527,529,3,110,55,0,528,527,1,0,0,0,528,529,1,0,0,0,529,531,1,0,0,0,530,532,3,102,51,0,531,530,1,0,0,0,531,532,1,0,0,0,532,105,1,0,0,0,533,534,6,53,-1,0,534,554,3,108,54,0,535,536,5,21,0,0,536,554,3,106,53,13,537,538,5,26,0,0,538,554,3,106,53,12,539,540,3,58,29,0,540,541,5,56,0,0,541,543,1,0,0,0,542,539,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,554,3,54,27,0,545,554,3,42,21,0,546,547,5,30,0,0,547,548,3,106,53,0,548,549,5,31,0,0,549,554,1,0,0,0,550,551,3,64,32,0,551,552,3,106,53,1,552,554,1,0,0,0,553,533,1,0,0,0,553,535,1,0,0,0,553,537,1,0,0,0,553,542,1,0,0,0,553,545,1,0,0,0,553,546,1,0,0,0,553,550,1,0,0,0,554,578,1,0,0,0,555,556,10,11,0,0,556,557,7,4,0,0,557,577,3,106,53,12,558,559,10,10,0,0,559,560,7,5,0,0,560,577,3,106,53,11,561,562,10,9,0,0,562,563,7,6,0,0,563,577,3,106,53,10,564,565,10,8,0,0,565,566,7,7,0,0,566,577,3,106,53,9,567,568,10,7,0,0,568,569,5,13,0,0,569,577,3,106,53,8,570,571,10,6,0,0,571,572,5,12,0,0,572,577,3,106,53,7,573,574,10,5,0,0,574,575,5,20,0,0,575,577,3,106,53,6,576,555,1,0,0,0,576,558,1,0,0,0,576,561,1,0,0,0,576,564,1,0,0,0,576,567,1,0,0,0,576,570,1,0,0,0,576,573,1,0,0,0,577,580,1,0,0,0,578,576,1,0,0,0,578,579,1,0,0,0,579,107,1,0,0,0,580,578,1,0,0,0,581,589,7,8,0,0,582,589,5,61,0,0,583,589,5,60,0,0,584,589,7,9,0,0,585,589,5,57,0,0,586,589,7,10,0,0,587,589,5,36,0,0,588,581,1,0,0,0,588,582,1,0,0,0,588,583,1,0,0,0,588,584,1,0,0,0,588,585,1,0,0,0,588,586,1,0,0,0,588,587,1,0,0,0,589,109,1,0,0,0,590,592,5,30,0,0,591,593,3,112,56,0,592,591,1,0,0,0,592,593,1,0,0,0,593,595,1,0,0,0,594,596,5,31,0,0,595,594,1,0,0,0,595,596,1,0,0,0,596,111,1,0,0,0,597,602,3,108,54,0,598,602,3,106,53,0,599,602,3,114,57,0,600,602,3,116,58,0,601,597,1,0,0,0,601,598,1,0,0,0,601,599,1,0,0,0,601,600,1,0,0,0,602,113,1,0,0,0,603,604,5,57,0,0,604,605,5,52,0,0,605,606,5,57,0,0,606,115,1,0,0,0,607,609,5,57,0,0,608,607,1,0,0,0,609,610,1,0,0,0,610,608,1,0,0,0,610,611,1,0,0,0,611,117,1,0,0,0,91,119,123,129,132,137,141,144,148,150,154,156,160,164,170,174,176,181,184,187,192,195,199,202,205,209,218,222,224,229,240,244,247,252,254,271,276,280,284,288,292,296,300,305,308,313,318,327,332,337,340,346,349,352,355,360,365,368,372,375,380,390,399,403,408,416,421,426,428,442,448,457,461,466,471,480,484,491,502,506,522,528,531,542,553,576,578,588,592,595,601,610],Xn=new j.atn.ATNDeserializer().deserialize(f_),g_=Xn.decisionToState.map((o,e)=>new j.dfa.DFA(o,e)),p_=new j.PredictionContextCache,N=class N extends j.Parser{constructor(e){super(e),this._interp=new j.atn.ParserATNSimulator(this,Xn,g_,p_),this.ruleNames=N.ruleNames,this.literalNames=N.literalNames,this.symbolicNames=N.symbolicNames}get atn(){return Xn}sempred(e,t,n){switch(t){case 53:return this.expr_sempred(e,n);default:throw"No predicate with index:"+t}}expr_sempred(e,t){switch(t){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:"+t}}prog(){let e=new Aa(this,this._ctx,this.state);this.enterRule(e,0,N.RULE_prog);var t=0;try{this.state=137,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=119,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=118,this.title()),this.state=121,this.match(N.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=123,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=122,this.title()),this.state=125,this.head(),this.state=126,this.match(N.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=129,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=128,this.title()),this.state=132,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,3,this._ctx);n===1&&(this.state=131,this.head()),this.state=134,this.block(),this.state=135,this.match(N.EOF);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}title(){let e=new Kn(this,this._ctx,this.state);this.enterRule(e,2,N.RULE_title);var t=0;try{this.enterOuterAlt(e,1),this.state=139,this.match(N.TITLE),this.state=141,this._errHandler.sync(this),t=this._input.LA(1),t===70&&(this.state=140,this.match(N.TITLE_CONTENT)),this.state=144,this._errHandler.sync(this),t=this._input.LA(1),t===71&&(this.state=143,this.match(N.TITLE_END))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}head(){let e=new Jn(this,this._ctx,this.state);this.enterRule(e,4,N.RULE_head);try{this.state=160,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,11,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=148,this._errHandler.sync(this);var n=1;do{switch(n){case 1:switch(this.state=148,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=146,this.group();break;case 8:case 17:case 55:case 57:case 62:case 63:this.state=147,this.participant();break;default:throw new j.error.NoViableAltException(this)}break;default:throw new j.error.NoViableAltException(this)}this.state=150,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,8,this._ctx)}while(n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=156,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,10,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=154,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=152,this.group();break;case 8:case 17:case 55:case 57:case 62:case 63:this.state=153,this.participant();break;default:throw new j.error.NoViableAltException(this)}this.state=158,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=159,this.starterExp();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}group(){let e=new W7(this,this._ctx,this.state);this.enterRule(e,6,N.RULE_group);var t=0;try{this.enterOuterAlt(e,1),this.state=162,this.match(N.GROUP),this.state=164,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,12,this._ctx);n===1&&(this.state=163,this.name()),this.state=176,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,15,this._ctx);if(n===1){this.state=166,this.match(N.OBRACE),this.state=170,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,13,this._ctx);r!=2&&r!=j.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=167,this.participant()),this.state=172,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,13,this._ctx);this.state=174,this._errHandler.sync(this),t=this._input.LA(1),t===33&&(this.state=173,this.match(N.CBRACE))}}catch(L){if(L instanceof j.error.RecognitionException)e.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return e}starterExp(){let e=new ei(this,this._ctx,this.state);this.enterRule(e,8,N.RULE_starterExp);var t=0;try{switch(this.state=187,this._errHandler.sync(this),this._input.LA(1)){case 53:this.enterOuterAlt(e,1),this.state=178,this.match(N.STARTER_LXR),this.state=184,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=179,this.match(N.OPAR),this.state=181,this._errHandler.sync(this),t=this._input.LA(1),(t-57&-32)==0&&(1<<t-57&97)!==0&&(this.state=180,this.starter()),this.state=183,this.match(N.CPAR));break;case 55:this.enterOuterAlt(e,2),this.state=186,this.match(N.ANNOTATION);break;default:throw new j.error.NoViableAltException(this)}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}starter(){let e=new ti(this,this._ctx,this.state);this.enterRule(e,10,N.RULE_starter);try{this.enterOuterAlt(e,1),this.state=189,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}participant(){let e=new D5(this,this._ctx,this.state);this.enterRule(e,12,N.RULE_participant);var t=0;try{this.state=209,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,24,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=192,this._errHandler.sync(this),t=this._input.LA(1),t===55&&(this.state=191,this.participantType()),this.state=195,this._errHandler.sync(this),t=this._input.LA(1),(t===8||t===17)&&(this.state=194,this.stereotype()),this.state=197,this.name(),this.state=199,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,21,this._ctx);n===1&&(this.state=198,this.width()),this.state=202,this._errHandler.sync(this),t=this._input.LA(1),t===48&&(this.state=201,this.label()),this.state=205,this._errHandler.sync(this),t=this._input.LA(1),t===11&&(this.state=204,this.match(N.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=207,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=208,this.participantType();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}stereotype(){let e=new ni(this,this._ctx,this.state);this.enterRule(e,14,N.RULE_stereotype);var t=0;try{this.state=224,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,27,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=211,this.match(N.SOPEN),this.state=212,this.name(),this.state=213,this.match(N.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=215,this.match(N.SOPEN),this.state=216,this.name(),this.state=218,this._errHandler.sync(this),t=this._input.LA(1),t===16&&(this.state=217,this.match(N.GT));break;case 3:this.enterOuterAlt(e,3),this.state=220,t=this._input.LA(1),t===8||t===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=222,this._errHandler.sync(this),t=this._input.LA(1),(t===9||t===16)&&(this.state=221,t=this._input.LA(1),t===9||t===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}label(){let e=new ii(this,this._ctx,this.state);this.enterRule(e,16,N.RULE_label);try{this.state=229,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,28,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=226,this.match(N.AS),this.state=227,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=228,this.match(N.AS);break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}participantType(){let e=new oi(this,this._ctx,this.state);this.enterRule(e,18,N.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=231,this.match(N.ANNOTATION)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}name(){let e=new J3(this,this._ctx,this.state);this.enterRule(e,20,N.RULE_name);var t=0;try{this.enterOuterAlt(e,1),this.state=233,t=this._input.LA(1),(t-57&-32)==0&&(1<<t-57&97)!==0?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}width(){let e=new si(this,this._ctx,this.state);this.enterRule(e,22,N.RULE_width);try{this.enterOuterAlt(e,1),this.state=235,this.match(N.INT)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}block(){let e=new U7(this,this._ctx,this.state);this.enterRule(e,24,N.RULE_block);var t=0;try{this.enterOuterAlt(e,1),this.state=238,this._errHandler.sync(this),t=this._input.LA(1);do this.state=237,this.stat(),this.state=240,this._errHandler.sync(this),t=this._input.LA(1);while((t-32&-32)==0&&(1<<t-32&4265801661)!==0||t===67)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ret(){let e=new ri(this,this._ctx,this.state);this.enterRule(e,26,N.RULE_ret);var t=0;try{switch(this.state=254,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=242,this.match(N.RETURN),this.state=244,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,30,this._ctx);n===1&&(this.state=243,this.expr(0)),this.state=247,this._errHandler.sync(this),t=this._input.LA(1),t===27&&(this.state=246,this.match(N.SCOL));break;case 54:this.enterOuterAlt(e,2),this.state=249,this.match(N.ANNOTATION_RET),this.state=250,this.asyncMessage(),this.state=252,this._errHandler.sync(this),t=this._input.LA(1),t===69&&(this.state=251,this.match(N.EVENT_END));break;default:throw new j.error.NoViableAltException(this)}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}divider(){let e=new li(this,this._ctx,this.state);this.enterRule(e,28,N.RULE_divider);try{this.enterOuterAlt(e,1),this.state=256,this.dividerNote()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}dividerNote(){let e=new ai(this,this._ctx,this.state);this.enterRule(e,30,N.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=258,this.match(N.DIVIDER)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}stat(){let e=new H7(this,this._ctx,this.state);this.enterRule(e,32,N.RULE_stat);var t=0;try{this.state=276,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,35,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=260,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=261,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=262,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=263,this.critical();break;case 5:this.enterOuterAlt(e,5),this.state=264,this.section();break;case 6:this.enterOuterAlt(e,6),this.state=265,this.ref();break;case 7:this.enterOuterAlt(e,7),this.state=266,this.loop();break;case 8:this.enterOuterAlt(e,8),this.state=267,this.creation();break;case 9:this.enterOuterAlt(e,9),this.state=268,this.message();break;case 10:this.enterOuterAlt(e,10),this.state=269,this.asyncMessage(),this.state=271,this._errHandler.sync(this),t=this._input.LA(1),t===69&&(this.state=270,this.match(N.EVENT_END));break;case 11:this.enterOuterAlt(e,11),this.state=273,this.ret();break;case 12:this.enterOuterAlt(e,12),this.state=274,this.divider();break;case 13:this.enterOuterAlt(e,13),this.state=275,this.tcf();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}par(){let e=new Li(this,this._ctx,this.state);this.enterRule(e,34,N.RULE_par);var t=0;try{this.state=284,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=278,this.match(N.PAR),this.state=280,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=279,this.parExpr()),this.state=282,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=283,this.match(N.PAR);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}opt(){let e=new ci(this,this._ctx,this.state);this.enterRule(e,36,N.RULE_opt);var t=0;try{this.state=292,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,39,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=286,this.match(N.OPT),this.state=288,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=287,this.parExpr()),this.state=290,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=291,this.match(N.OPT);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}critical(){let e=new Ci(this,this._ctx,this.state);this.enterRule(e,38,N.RULE_critical);var t=0;try{this.state=300,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,41,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=294,this.match(N.CRITICAL),this.state=296,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=295,this.parExpr()),this.state=298,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=299,this.match(N.CRITICAL);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}section(){let e=new ui(this,this._ctx,this.state);this.enterRule(e,40,N.RULE_section);var t=0;try{this.state=313,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,44,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=302,this.match(N.SECTION),this.state=308,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=303,this.match(N.OPAR),this.state=305,this._errHandler.sync(this),t=this._input.LA(1),(t-34&-32)==0&&(1<<t-34&1065353223)!==0&&(this.state=304,this.atom()),this.state=307,this.match(N.CPAR)),this.state=310,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=311,this.braceBlock();break;case 3:this.enterOuterAlt(e,3),this.state=312,this.match(N.SECTION);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}creation(){let e=new $7(this,this._ctx,this.state);this.enterRule(e,42,N.RULE_creation);try{this.enterOuterAlt(e,1),this.state=315,this.creationBody(),this.state=318,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,45,this._ctx);t===1?(this.state=316,this.match(N.SCOL)):t===2&&(this.state=317,this.braceBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ref(){let e=new di(this,this._ctx,this.state);this.enterRule(e,44,N.RULE_ref);var t=0;try{for(this.enterOuterAlt(e,1),this.state=320,this.match(N.REF),this.state=321,this.match(N.OPAR),this.state=322,this.name(),this.state=332,this._errHandler.sync(this),t=this._input.LA(1);t===28;){for(this.state=323,this.match(N.COMMA),this.state=327,this._errHandler.sync(this),t=this._input.LA(1);(t-57&-32)==0&&(1<<t-57&97)!==0;)this.state=324,this.name(),this.state=329,this._errHandler.sync(this),t=this._input.LA(1);this.state=334,this._errHandler.sync(this),t=this._input.LA(1)}this.state=335,this.match(N.CPAR),this.state=337,this._errHandler.sync(this),t=this._input.LA(1),t===27&&(this.state=336,this.match(N.SCOL))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}creationBody(){let e=new hi(this,this._ctx,this.state);this.enterRule(e,46,N.RULE_creationBody);var t=0;try{this.state=355,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,53,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=340,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1&&(this.state=339,this.assignment()),this.state=342,this.match(N.NEW),this.state=343,this.construct(),this.state=349,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,51,this._ctx);n===1&&(this.state=344,this.match(N.OPAR),this.state=346,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=345,this.parameters()),this.state=348,this.match(N.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=352,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,52,this._ctx);n===1&&(this.state=351,this.assignment()),this.state=354,this.match(N.NEW);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}message(){let e=new fi(this,this._ctx,this.state);this.enterRule(e,48,N.RULE_message);try{this.enterOuterAlt(e,1),this.state=357,this.messageBody(),this.state=360,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,54,this._ctx);t===1?(this.state=358,this.match(N.SCOL)):t===2&&(this.state=359,this.braceBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}messageBody(){let e=new gi(this,this._ctx,this.state);this.enterRule(e,50,N.RULE_messageBody);try{this.state=375,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,58,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=362,this.assignment(),this.state=368,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,56,this._ctx);if(t===1){this.state=363,this.fromTo(),this.state=365,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,55,this._ctx);t===1&&(this.state=364,this.func())}else t===2&&(this.state=367,this.func());break;case 2:this.enterOuterAlt(e,2),this.state=370,this.fromTo(),this.state=372,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,57,this._ctx);t===1&&(this.state=371,this.func());break;case 3:this.enterOuterAlt(e,3),this.state=374,this.func();break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}fromTo(){let e=new pi(this,this._ctx,this.state);this.enterRule(e,52,N.RULE_fromTo);try{this.enterOuterAlt(e,1),this.state=380,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,59,this._ctx);t===1&&(this.state=377,this.from(),this.state=378,this.match(N.ARROW)),this.state=382,this.to(),this.state=383,this.match(N.DOT)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}func(){let e=new G7(this,this._ctx,this.state);this.enterRule(e,54,N.RULE_func);try{this.enterOuterAlt(e,1),this.state=385,this.signature(),this.state=390,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,60,this._ctx);t!=2&&t!=j.atn.ATN.INVALID_ALT_NUMBER;)t===1&&(this.state=386,this.match(N.DOT),this.state=387,this.signature()),this.state=392,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,60,this._ctx)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}from(){let e=new V7(this,this._ctx,this.state);this.enterRule(e,56,N.RULE_from);try{this.enterOuterAlt(e,1),this.state=393,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}to(){let e=new G8(this,this._ctx,this.state);this.enterRule(e,58,N.RULE_to);try{this.enterOuterAlt(e,1),this.state=395,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}signature(){let e=new q7(this,this._ctx,this.state);this.enterRule(e,60,N.RULE_signature);try{this.enterOuterAlt(e,1),this.state=397,this.methodName(),this.state=399,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,61,this._ctx);t===1&&(this.state=398,this.invocation())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}invocation(){let e=new Y7(this,this._ctx,this.state);this.enterRule(e,62,N.RULE_invocation);var t=0;try{this.enterOuterAlt(e,1),this.state=401,this.match(N.OPAR),this.state=403,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=402,this.parameters()),this.state=405,this.match(N.CPAR)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}assignment(){let e=new V8(this,this._ctx,this.state);this.enterRule(e,64,N.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=408,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,63,this._ctx);t===1&&(this.state=407,this.type()),this.state=410,this.assignee(),this.state=411,this.match(N.ASSIGN)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}asyncMessage(){let e=new Q7(this,this._ctx,this.state);this.enterRule(e,66,N.RULE_asyncMessage);var t=0;try{this.state=428,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,67,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=416,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,64,this._ctx);n===1&&(this.state=413,this.from(),this.state=414,this.match(N.ARROW)),this.state=418,this.to(),this.state=419,this.match(N.COL),this.state=421,this._errHandler.sync(this),t=this._input.LA(1),t===68&&(this.state=420,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=423,this.from(),this.state=424,t=this._input.LA(1),t===10||t===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=426,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,66,this._ctx);n===1&&(this.state=425,this.to());break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}content(){let e=new _i(this,this._ctx,this.state);this.enterRule(e,68,N.RULE_content);try{this.enterOuterAlt(e,1),this.state=430,this.match(N.EVENT_PAYLOAD_LXR)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}construct(){let e=new mi(this,this._ctx,this.state);this.enterRule(e,70,N.RULE_construct);try{this.enterOuterAlt(e,1),this.state=432,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}type(){let e=new X7(this,this._ctx,this.state);this.enterRule(e,72,N.RULE_type);try{this.enterOuterAlt(e,1),this.state=434,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}assignee(){let e=new vi(this,this._ctx,this.state);this.enterRule(e,74,N.RULE_assignee);var t=0;try{this.state=448,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,69,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=436,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=437,this.match(N.ID),this.state=442,this._errHandler.sync(this),t=this._input.LA(1);t===28;)this.state=438,this.match(N.COMMA),this.state=439,this.match(N.ID),this.state=444,this._errHandler.sync(this),t=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=445,this.match(N.CSTRING);break;case 4:this.enterOuterAlt(e,4),this.state=446,this.match(N.USTRING);break;case 5:this.enterOuterAlt(e,5),this.state=447,this.match(N.NEW);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodName(){let e=new xi(this,this._ctx,this.state);this.enterRule(e,76,N.RULE_methodName);try{this.enterOuterAlt(e,1),this.state=450,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}parameters(){let e=new K7(this,this._ctx,this.state);this.enterRule(e,78,N.RULE_parameters);var t=0;try{this.enterOuterAlt(e,1),this.state=452,this.parameter(),this.state=457,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,70,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=453,this.match(N.COMMA),this.state=454,this.parameter()),this.state=459,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,70,this._ctx);this.state=461,this._errHandler.sync(this),t=this._input.LA(1),t===28&&(this.state=460,this.match(N.COMMA))}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}parameter(){let e=new J7(this,this._ctx,this.state);this.enterRule(e,80,N.RULE_parameter);try{this.state=466,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,72,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=463,this.namedParameter();break;case 2:this.enterOuterAlt(e,2),this.state=464,this.declaration();break;case 3:this.enterOuterAlt(e,3),this.state=465,this.expr(0);break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}namedParameter(){let e=new wi(this,this._ctx,this.state);this.enterRule(e,82,N.RULE_namedParameter);var t=0;try{this.enterOuterAlt(e,1),this.state=468,this.match(N.ID),this.state=469,this.match(N.ASSIGN),this.state=471,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=470,this.expr(0))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}declaration(){let e=new Mi(this,this._ctx,this.state);this.enterRule(e,84,N.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=473,this.type(),this.state=474,this.match(N.ID)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}tcf(){let e=new Si(this,this._ctx,this.state);this.enterRule(e,86,N.RULE_tcf);var t=0;try{for(this.enterOuterAlt(e,1),this.state=476,this.tryBlock(),this.state=480,this._errHandler.sync(this),t=this._input.LA(1);t===50;)this.state=477,this.catchBlock(),this.state=482,this._errHandler.sync(this),t=this._input.LA(1);this.state=484,this._errHandler.sync(this),t=this._input.LA(1),t===51&&(this.state=483,this.finallyBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tryBlock(){let e=new yi(this,this._ctx,this.state);this.enterRule(e,88,N.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=486,this.match(N.TRY),this.state=487,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}catchBlock(){let e=new ee(this,this._ctx,this.state);this.enterRule(e,90,N.RULE_catchBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=489,this.match(N.CATCH),this.state=491,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=490,this.invocation()),this.state=493,this.braceBlock()}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}finallyBlock(){let e=new Ai(this,this._ctx,this.state);this.enterRule(e,92,N.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=495,this.match(N.FINALLY),this.state=496,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}alt(){let e=new Ri(this,this._ctx,this.state);this.enterRule(e,94,N.RULE_alt);var t=0;try{this.enterOuterAlt(e,1),this.state=498,this.ifBlock(),this.state=502,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,77,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=499,this.elseIfBlock()),this.state=504,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,77,this._ctx);this.state=506,this._errHandler.sync(this),t=this._input.LA(1),t===38&&(this.state=505,this.elseBlock())}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}ifBlock(){let e=new bi(this,this._ctx,this.state);this.enterRule(e,96,N.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=508,this.match(N.IF),this.state=509,this.parExpr(),this.state=510,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseIfBlock(){let e=new te(this,this._ctx,this.state);this.enterRule(e,98,N.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=512,this.match(N.ELSE),this.state=513,this.match(N.IF),this.state=514,this.parExpr(),this.state=515,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseBlock(){let e=new Ti(this,this._ctx,this.state);this.enterRule(e,100,N.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=517,this.match(N.ELSE),this.state=518,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}braceBlock(){let e=new j3(this,this._ctx,this.state);this.enterRule(e,102,N.RULE_braceBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=520,this.match(N.OBRACE),this.state=522,this._errHandler.sync(this),t=this._input.LA(1),((t-32&-32)==0&&(1<<t-32&4265801661)!==0||t===67)&&(this.state=521,this.block()),this.state=524,this.match(N.CBRACE)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}loop(){let e=new ki(this,this._ctx,this.state);this.enterRule(e,104,N.RULE_loop);var t=0;try{this.enterOuterAlt(e,1),this.state=526,this.match(N.WHILE),this.state=528,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=527,this.parExpr()),this.state=531,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,81,this._ctx);n===1&&(this.state=530,this.braceBlock())}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const t=this._ctx,n=this.state;let r=new V2(this,this._ctx,n),L=r;const c=106;this.enterRecursionRule(r,106,N.RULE_expr,e);var u=0;try{this.enterOuterAlt(r,1),this.state=553,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,83,this._ctx);switch(d){case 1:r=new Ta(this,r),this._ctx=r,L=r,this.state=534,this.atom();break;case 2:r=new za(this,r),this._ctx=r,L=r,this.state=535,this.match(N.MINUS),this.state=536,this.expr(13);break;case 3:r=new Oa(this,r),this._ctx=r,L=r,this.state=537,this.match(N.NOT),this.state=538,this.expr(12);break;case 4:r=new ba(this,r),this._ctx=r,L=r,this.state=542,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,82,this._ctx);d===1&&(this.state=539,this.to(),this.state=540,this.match(N.DOT)),this.state=544,this.func();break;case 5:r=new Pa(this,r),this._ctx=r,L=r,this.state=545,this.creation();break;case 6:r=new Da(this,r),this._ctx=r,L=r,this.state=546,this.match(N.OPAR),this.state=547,this.expr(0),this.state=548,this.match(N.CPAR);break;case 7:r=new Ra(this,r),this._ctx=r,L=r,this.state=550,this.assignment(),this.state=551,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=578,this._errHandler.sync(this);for(var f=this._interp.adaptivePredict(this._input,85,this._ctx);f!=2&&f!=j.atn.ATN.INVALID_ALT_NUMBER;){if(f===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),L=r,this.state=576,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,84,this._ctx);switch(d){case 1:if(r=new Na(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=555,!this.precpred(this._ctx,11))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=556,r.op=this._input.LT(1),u=this._input.LA(1),(u&-32)==0&&(1<<u&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=557,this.expr(12);break;case 2:if(r=new Za(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=558,!this.precpred(this._ctx,10))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=559,r.op=this._input.LT(1),u=this._input.LA(1),u===20||u===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=560,this.expr(11);break;case 3:if(r=new Ea(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=561,!this.precpred(this._ctx,9))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=562,r.op=this._input.LT(1),u=this._input.LA(1),(u&-32)==0&&(1<<u&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=563,this.expr(10);break;case 4:if(r=new Fa(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=564,!this.precpred(this._ctx,8))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=565,r.op=this._input.LT(1),u=this._input.LA(1),u===14||u===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=566,this.expr(9);break;case 5:if(r=new Ba(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=567,!this.precpred(this._ctx,7))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=568,this.match(N.AND),this.state=569,this.expr(8);break;case 6:if(r=new ka(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=570,!this.precpred(this._ctx,6))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=571,this.match(N.OR),this.state=572,this.expr(7);break;case 7:if(r=new Ia(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=573,!this.precpred(this._ctx,5))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=574,this.match(N.PLUS),this.state=575,this.expr(6);break}}this.state=580,this._errHandler.sync(this),f=this._interp.adaptivePredict(this._input,85,this._ctx)}}catch(g){if(g instanceof j.error.RecognitionException)r.exception=g,this._errHandler.reportError(this,g),this._errHandler.recover(this,g);else throw g}finally{this.unrollRecursionContexts(t)}return r}atom(){let e=new c4(this,this._ctx,this.state);this.enterRule(e,108,N.RULE_atom);var t=0;try{switch(this.state=588,this._errHandler.sync(this),this._input.LA(1)){case 58:case 59:e=new Ga(this,e),this.enterOuterAlt(e,1),this.state=581,t=this._input.LA(1),t===58||t===59?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 61:e=new Va(this,e),this.enterOuterAlt(e,2),this.state=582,this.match(N.NUMBER_UNIT);break;case 60:e=new Ua(this,e),this.enterOuterAlt(e,3),this.state=583,this.match(N.MONEY);break;case 34:case 35:e=new ja(this,e),this.enterOuterAlt(e,4),this.state=584,t=this._input.LA(1),t===34||t===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 57:e=new Wa(this,e),this.enterOuterAlt(e,5),this.state=585,this.match(N.ID);break;case 62:case 63:e=new Ha(this,e),this.enterOuterAlt(e,6),this.state=586,t=this._input.LA(1),t===62||t===63?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 36:e=new $a(this,e),this.enterOuterAlt(e,7),this.state=587,this.match(N.NIL);break;default:throw new j.error.NoViableAltException(this)}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}parExpr(){let e=new o0(this,this._ctx,this.state);this.enterRule(e,110,N.RULE_parExpr);var t=0;try{this.enterOuterAlt(e,1),this.state=590,this.match(N.OPAR),this.state=592,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,87,this._ctx);n===1&&(this.state=591,this.condition()),this.state=595,this._errHandler.sync(this),t=this._input.LA(1),t===31&&(this.state=594,this.match(N.CPAR))}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}condition(){let e=new Zi(this,this._ctx,this.state);this.enterRule(e,112,N.RULE_condition);try{this.state=601,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,89,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=597,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=598,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=599,this.inExpr();break;case 4:this.enterOuterAlt(e,4),this.state=600,this.textExpr();break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}inExpr(){let e=new Ei(this,this._ctx,this.state);this.enterRule(e,114,N.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=603,this.match(N.ID),this.state=604,this.match(N.IN),this.state=605,this.match(N.ID)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}textExpr(){let e=new Ii(this,this._ctx,this.state);this.enterRule(e,116,N.RULE_textExpr);try{this.enterOuterAlt(e,1),this.state=608,this._errHandler.sync(this);var t=1;do{switch(t){case 1:this.state=607,this.match(N.ID);break;default:throw new j.error.NoViableAltException(this)}this.state=610,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,90,this._ctx)}while(t!=2&&t!=j.atn.ATN.INVALID_ALT_NUMBER)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}};c2(N,"grammarFileName","java-escape"),c2(N,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),c2(N,"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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),c2(N,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","critical","section","creation","ref","creationBody","message","messageBody","fromTo","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","namedParameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr","textExpr"]);let v=N;v.EOF=j.Token.EOF,v.WS=1,v.CONSTANT=2,v.READONLY=3,v.STATIC=4,v.AWAIT=5,v.TITLE=6,v.COL=7,v.SOPEN=8,v.SCLOSE=9,v.ARROW=10,v.COLOR=11,v.OR=12,v.AND=13,v.EQ=14,v.NEQ=15,v.GT=16,v.LT=17,v.GTEQ=18,v.LTEQ=19,v.PLUS=20,v.MINUS=21,v.MULT=22,v.DIV=23,v.MOD=24,v.POW=25,v.NOT=26,v.SCOL=27,v.COMMA=28,v.ASSIGN=29,v.OPAR=30,v.CPAR=31,v.OBRACE=32,v.CBRACE=33,v.TRUE=34,v.FALSE=35,v.NIL=36,v.IF=37,v.ELSE=38,v.WHILE=39,v.RETURN=40,v.NEW=41,v.PAR=42,v.GROUP=43,v.OPT=44,v.CRITICAL=45,v.SECTION=46,v.REF=47,v.AS=48,v.TRY=49,v.CATCH=50,v.FINALLY=51,v.IN=52,v.STARTER_LXR=53,v.ANNOTATION_RET=54,v.ANNOTATION=55,v.DOT=56,v.ID=57,v.INT=58,v.FLOAT=59,v.MONEY=60,v.NUMBER_UNIT=61,v.CSTRING=62,v.USTRING=63,v.CR=64,v.COMMENT=65,v.OTHER=66,v.DIVIDER=67,v.EVENT_PAYLOAD_LXR=68,v.EVENT_END=69,v.TITLE_CONTENT=70,v.TITLE_END=71,v.RULE_prog=0,v.RULE_title=1,v.RULE_head=2,v.RULE_group=3,v.RULE_starterExp=4,v.RULE_starter=5,v.RULE_participant=6,v.RULE_stereotype=7,v.RULE_label=8,v.RULE_participantType=9,v.RULE_name=10,v.RULE_width=11,v.RULE_block=12,v.RULE_ret=13,v.RULE_divider=14,v.RULE_dividerNote=15,v.RULE_stat=16,v.RULE_par=17,v.RULE_opt=18,v.RULE_critical=19,v.RULE_section=20,v.RULE_creation=21,v.RULE_ref=22,v.RULE_creationBody=23,v.RULE_message=24,v.RULE_messageBody=25,v.RULE_fromTo=26,v.RULE_func=27,v.RULE_from=28,v.RULE_to=29,v.RULE_signature=30,v.RULE_invocation=31,v.RULE_assignment=32,v.RULE_asyncMessage=33,v.RULE_content=34,v.RULE_construct=35,v.RULE_type=36,v.RULE_assignee=37,v.RULE_methodName=38,v.RULE_parameters=39,v.RULE_parameter=40,v.RULE_namedParameter=41,v.RULE_declaration=42,v.RULE_tcf=43,v.RULE_tryBlock=44,v.RULE_catchBlock=45,v.RULE_finallyBlock=46,v.RULE_alt=47,v.RULE_ifBlock=48,v.RULE_elseIfBlock=49,v.RULE_elseBlock=50,v.RULE_braceBlock=51,v.RULE_loop=52,v.RULE_expr=53,v.RULE_atom=54,v.RULE_parExpr=55,v.RULE_condition=56,v.RULE_inExpr=57,v.RULE_textExpr=58;let Aa=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_prog}EOF(){return this.getToken(v.EOF,0)}title(){return this.getTypedRuleContext(Kn,0)}head(){return this.getTypedRuleContext(Jn,0)}block(){return this.getTypedRuleContext(U7,0)}enterRule(e){e instanceof q&&e.enterProg(this)}exitRule(e){e instanceof q&&e.exitProg(this)}},Kn=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_title}TITLE(){return this.getToken(v.TITLE,0)}TITLE_CONTENT(){return this.getToken(v.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(v.TITLE_END,0)}enterRule(e){e instanceof q&&e.enterTitle(this)}exitRule(e){e instanceof q&&e.exitTitle(this)}};class Jn extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"group",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(W7):this.getTypedRuleContext(W7,t)});c2(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(D5):this.getTypedRuleContext(D5,t)});this.parser=t,this.ruleIndex=v.RULE_head}starterExp(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof q&&t.enterHead(this)}exitRule(t){t instanceof q&&t.exitHead(this)}}let W7=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(D5):this.getTypedRuleContext(D5,t)});this.parser=t,this.ruleIndex=v.RULE_group}GROUP(){return this.getToken(v.GROUP,0)}name(){return this.getTypedRuleContext(J3,0)}OBRACE(){return this.getToken(v.OBRACE,0)}CBRACE(){return this.getToken(v.CBRACE,0)}enterRule(t){t instanceof q&&t.enterGroup(this)}exitRule(t){t instanceof q&&t.exitGroup(this)}};class ei extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_starterExp}STARTER_LXR(){return this.getToken(v.STARTER_LXR,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}starter(){return this.getTypedRuleContext(ti,0)}ANNOTATION(){return this.getToken(v.ANNOTATION,0)}enterRule(e){e instanceof q&&e.enterStarterExp(this)}exitRule(e){e instanceof q&&e.exitStarterExp(this)}}class ti extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_starter}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterStarter(this)}exitRule(e){e instanceof q&&e.exitStarter(this)}}let D5=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_participant}name(){return this.getTypedRuleContext(J3,0)}participantType(){return this.getTypedRuleContext(oi,0)}stereotype(){return this.getTypedRuleContext(ni,0)}width(){return this.getTypedRuleContext(si,0)}label(){return this.getTypedRuleContext(ii,0)}COLOR(){return this.getToken(v.COLOR,0)}enterRule(e){e instanceof q&&e.enterParticipant(this)}exitRule(e){e instanceof q&&e.exitParticipant(this)}};class ni extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_stereotype}SOPEN(){return this.getToken(v.SOPEN,0)}name(){return this.getTypedRuleContext(J3,0)}SCLOSE(){return this.getToken(v.SCLOSE,0)}GT(){return this.getToken(v.GT,0)}LT(){return this.getToken(v.LT,0)}enterRule(e){e instanceof q&&e.enterStereotype(this)}exitRule(e){e instanceof q&&e.exitStereotype(this)}}class ii extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_label}AS(){return this.getToken(v.AS,0)}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterLabel(this)}exitRule(e){e instanceof q&&e.exitLabel(this)}}class oi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_participantType}ANNOTATION(){return this.getToken(v.ANNOTATION,0)}enterRule(e){e instanceof q&&e.enterParticipantType(this)}exitRule(e){e instanceof q&&e.exitParticipantType(this)}}class J3 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_name}ID(){return this.getToken(v.ID,0)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}enterRule(e){e instanceof q&&e.enterName(this)}exitRule(e){e instanceof q&&e.exitName(this)}}class si extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_width}INT(){return this.getToken(v.INT,0)}enterRule(e){e instanceof q&&e.enterWidth(this)}exitRule(e){e instanceof q&&e.exitWidth(this)}}class U7 extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"stat",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(H7):this.getTypedRuleContext(H7,t)});this.parser=t,this.ruleIndex=v.RULE_block}enterRule(t){t instanceof q&&t.enterBlock(this)}exitRule(t){t instanceof q&&t.exitBlock(this)}}let ri=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_ret}RETURN(){return this.getToken(v.RETURN,0)}expr(){return this.getTypedRuleContext(V2,0)}SCOL(){return this.getToken(v.SCOL,0)}ANNOTATION_RET(){return this.getToken(v.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Q7,0)}EVENT_END(){return this.getToken(v.EVENT_END,0)}enterRule(e){e instanceof q&&e.enterRet(this)}exitRule(e){e instanceof q&&e.exitRet(this)}},li=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_divider}dividerNote(){return this.getTypedRuleContext(ai,0)}enterRule(e){e instanceof q&&e.enterDivider(this)}exitRule(e){e instanceof q&&e.exitDivider(this)}};class ai extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_dividerNote}DIVIDER(){return this.getToken(v.DIVIDER,0)}enterRule(e){e instanceof q&&e.enterDividerNote(this)}exitRule(e){e instanceof q&&e.exitDividerNote(this)}}let H7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_stat}alt(){return this.getTypedRuleContext(Ri,0)}par(){return this.getTypedRuleContext(Li,0)}opt(){return this.getTypedRuleContext(ci,0)}critical(){return this.getTypedRuleContext(Ci,0)}section(){return this.getTypedRuleContext(ui,0)}ref(){return this.getTypedRuleContext(di,0)}loop(){return this.getTypedRuleContext(ki,0)}creation(){return this.getTypedRuleContext($7,0)}message(){return this.getTypedRuleContext(fi,0)}asyncMessage(){return this.getTypedRuleContext(Q7,0)}EVENT_END(){return this.getToken(v.EVENT_END,0)}ret(){return this.getTypedRuleContext(ri,0)}divider(){return this.getTypedRuleContext(li,0)}tcf(){return this.getTypedRuleContext(Si,0)}enterRule(e){e instanceof q&&e.enterStat(this)}exitRule(e){e instanceof q&&e.exitStat(this)}};class Li extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_par}PAR(){return this.getToken(v.PAR,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterPar(this)}exitRule(e){e instanceof q&&e.exitPar(this)}}class ci extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_opt}OPT(){return this.getToken(v.OPT,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterOpt(this)}exitRule(e){e instanceof q&&e.exitOpt(this)}}class Ci extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_critical}CRITICAL(){return this.getToken(v.CRITICAL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterCritical(this)}exitRule(e){e instanceof q&&e.exitCritical(this)}}class ui extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_section}SECTION(){return this.getToken(v.SECTION,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}atom(){return this.getTypedRuleContext(c4,0)}enterRule(e){e instanceof q&&e.enterSection(this)}exitRule(e){e instanceof q&&e.exitSection(this)}}let $7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_creation}creationBody(){return this.getTypedRuleContext(hi,0)}SCOL(){return this.getToken(v.SCOL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterCreation(this)}exitRule(e){e instanceof q&&e.exitCreation(this)}},di=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"name",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(J3):this.getTypedRuleContext(J3,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_ref}REF(){return this.getToken(v.REF,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}SCOL(){return this.getToken(v.SCOL,0)}enterRule(t){t instanceof q&&t.enterRef(this)}exitRule(t){t instanceof q&&t.exitRef(this)}};class hi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_creationBody}NEW(){return this.getToken(v.NEW,0)}construct(){return this.getTypedRuleContext(mi,0)}assignment(){return this.getTypedRuleContext(V8,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}parameters(){return this.getTypedRuleContext(K7,0)}enterRule(e){e instanceof q&&e.enterCreationBody(this)}exitRule(e){e instanceof q&&e.exitCreationBody(this)}}let fi=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_message}messageBody(){return this.getTypedRuleContext(gi,0)}SCOL(){return this.getToken(v.SCOL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterMessage(this)}exitRule(e){e instanceof q&&e.exitMessage(this)}};class gi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_messageBody}assignment(){return this.getTypedRuleContext(V8,0)}fromTo(){return this.getTypedRuleContext(pi,0)}func(){return this.getTypedRuleContext(G7,0)}enterRule(e){e instanceof q&&e.enterMessageBody(this)}exitRule(e){e instanceof q&&e.exitMessageBody(this)}}class pi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_fromTo}to(){return this.getTypedRuleContext(G8,0)}DOT(){return this.getToken(v.DOT,0)}from(){return this.getTypedRuleContext(V7,0)}ARROW(){return this.getToken(v.ARROW,0)}enterRule(e){e instanceof q&&e.enterFromTo(this)}exitRule(e){e instanceof q&&e.exitFromTo(this)}}class G7 extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"signature",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(q7):this.getTypedRuleContext(q7,t)});c2(this,"DOT",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.DOT):this.getToken(v.DOT,t)});this.parser=t,this.ruleIndex=v.RULE_func}enterRule(t){t instanceof q&&t.enterFunc(this)}exitRule(t){t instanceof q&&t.exitFunc(this)}}class V7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_from}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterFrom(this)}exitRule(e){e instanceof q&&e.exitFrom(this)}}class G8 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_to}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterTo(this)}exitRule(e){e instanceof q&&e.exitTo(this)}}class q7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_signature}methodName(){return this.getTypedRuleContext(xi,0)}invocation(){return this.getTypedRuleContext(Y7,0)}enterRule(e){e instanceof q&&e.enterSignature(this)}exitRule(e){e instanceof q&&e.exitSignature(this)}}class Y7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_invocation}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}parameters(){return this.getTypedRuleContext(K7,0)}enterRule(e){e instanceof q&&e.enterInvocation(this)}exitRule(e){e instanceof q&&e.exitInvocation(this)}}class V8 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_assignment}assignee(){return this.getTypedRuleContext(vi,0)}ASSIGN(){return this.getToken(v.ASSIGN,0)}type(){return this.getTypedRuleContext(X7,0)}enterRule(e){e instanceof q&&e.enterAssignment(this)}exitRule(e){e instanceof q&&e.exitAssignment(this)}}let Q7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_asyncMessage}to(){return this.getTypedRuleContext(G8,0)}COL(){return this.getToken(v.COL,0)}from(){return this.getTypedRuleContext(V7,0)}ARROW(){return this.getToken(v.ARROW,0)}content(){return this.getTypedRuleContext(_i,0)}MINUS(){return this.getToken(v.MINUS,0)}enterRule(e){e instanceof q&&e.enterAsyncMessage(this)}exitRule(e){e instanceof q&&e.exitAsyncMessage(this)}};class _i extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(v.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof q&&e.enterContent(this)}exitRule(e){e instanceof q&&e.exitContent(this)}}class mi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_construct}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterConstruct(this)}exitRule(e){e instanceof q&&e.exitConstruct(this)}}class X7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_type}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterType(this)}exitRule(e){e instanceof q&&e.exitType(this)}}class vi extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_assignee}atom(){return this.getTypedRuleContext(c4,0)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}NEW(){return this.getToken(v.NEW,0)}enterRule(t){t instanceof q&&t.enterAssignee(this)}exitRule(t){t instanceof q&&t.exitAssignee(this)}}class xi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_methodName}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterMethodName(this)}exitRule(e){e instanceof q&&e.exitMethodName(this)}}let K7=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"parameter",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(J7):this.getTypedRuleContext(J7,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_parameters}enterRule(t){t instanceof q&&t.enterParameters(this)}exitRule(t){t instanceof q&&t.exitParameters(this)}};class J7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_parameter}namedParameter(){return this.getTypedRuleContext(wi,0)}declaration(){return this.getTypedRuleContext(Mi,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterParameter(this)}exitRule(e){e instanceof q&&e.exitParameter(this)}}class wi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_namedParameter}ID(){return this.getToken(v.ID,0)}ASSIGN(){return this.getToken(v.ASSIGN,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterNamedParameter(this)}exitRule(e){e instanceof q&&e.exitNamedParameter(this)}}class Mi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_declaration}type(){return this.getTypedRuleContext(X7,0)}ID(){return this.getToken(v.ID,0)}enterRule(e){e instanceof q&&e.enterDeclaration(this)}exitRule(e){e instanceof q&&e.exitDeclaration(this)}}class Si extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"catchBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(ee):this.getTypedRuleContext(ee,t)});this.parser=t,this.ruleIndex=v.RULE_tcf}tryBlock(){return this.getTypedRuleContext(yi,0)}finallyBlock(){return this.getTypedRuleContext(Ai,0)}enterRule(t){t instanceof q&&t.enterTcf(this)}exitRule(t){t instanceof q&&t.exitTcf(this)}}class yi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_tryBlock}TRY(){return this.getToken(v.TRY,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterTryBlock(this)}exitRule(e){e instanceof q&&e.exitTryBlock(this)}}class ee extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_catchBlock}CATCH(){return this.getToken(v.CATCH,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}invocation(){return this.getTypedRuleContext(Y7,0)}enterRule(e){e instanceof q&&e.enterCatchBlock(this)}exitRule(e){e instanceof q&&e.exitCatchBlock(this)}}class Ai extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_finallyBlock}FINALLY(){return this.getToken(v.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterFinallyBlock(this)}exitRule(e){e instanceof q&&e.exitFinallyBlock(this)}}class Ri extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"elseIfBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(te):this.getTypedRuleContext(te,t)});this.parser=t,this.ruleIndex=v.RULE_alt}ifBlock(){return this.getTypedRuleContext(bi,0)}elseBlock(){return this.getTypedRuleContext(Ti,0)}enterRule(t){t instanceof q&&t.enterAlt(this)}exitRule(t){t instanceof q&&t.exitAlt(this)}}let bi=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_ifBlock}IF(){return this.getToken(v.IF,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterIfBlock(this)}exitRule(e){e instanceof q&&e.exitIfBlock(this)}};class te extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_elseIfBlock}ELSE(){return this.getToken(v.ELSE,0)}IF(){return this.getToken(v.IF,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterElseIfBlock(this)}exitRule(e){e instanceof q&&e.exitElseIfBlock(this)}}class Ti extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_elseBlock}ELSE(){return this.getToken(v.ELSE,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterElseBlock(this)}exitRule(e){e instanceof q&&e.exitElseBlock(this)}}class j3 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_braceBlock}OBRACE(){return this.getToken(v.OBRACE,0)}CBRACE(){return this.getToken(v.CBRACE,0)}block(){return this.getTypedRuleContext(U7,0)}enterRule(e){e instanceof q&&e.enterBraceBlock(this)}exitRule(e){e instanceof q&&e.exitBraceBlock(this)}}let ki=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_loop}WHILE(){return this.getToken(v.WHILE,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterLoop(this)}exitRule(e){e instanceof q&&e.exitLoop(this)}};class V2 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_expr}copyFrom(e){super.copyFrom(e)}}class Ra extends V2{constructor(e,t){super(e),super.copyFrom(t)}assignment(){return this.getTypedRuleContext(V8,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof q&&e.exitAssignmentExpr(this)}}v.AssignmentExprContext=Ra;class ba extends V2{constructor(e,t){super(e),super.copyFrom(t)}func(){return this.getTypedRuleContext(G7,0)}to(){return this.getTypedRuleContext(G8,0)}DOT(){return this.getToken(v.DOT,0)}enterRule(e){e instanceof q&&e.enterFuncExpr(this)}exitRule(e){e instanceof q&&e.exitFuncExpr(this)}}v.FuncExprContext=ba;class Ta extends V2{constructor(e,t){super(e),super.copyFrom(t)}atom(){return this.getTypedRuleContext(c4,0)}enterRule(e){e instanceof q&&e.enterAtomExpr(this)}exitRule(e){e instanceof q&&e.exitAtomExpr(this)}}v.AtomExprContext=Ta;class ka extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}OR(){return this.getToken(v.OR,0)}enterRule(t){t instanceof q&&t.enterOrExpr(this)}exitRule(t){t instanceof q&&t.exitOrExpr(this)}}v.OrExprContext=ka;class Za extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}PLUS(){return this.getToken(v.PLUS,0)}MINUS(){return this.getToken(v.MINUS,0)}enterRule(t){t instanceof q&&t.enterAdditiveExpr(this)}exitRule(t){t instanceof q&&t.exitAdditiveExpr(this)}}v.AdditiveExprContext=Za;class Ea extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}LTEQ(){return this.getToken(v.LTEQ,0)}GTEQ(){return this.getToken(v.GTEQ,0)}LT(){return this.getToken(v.LT,0)}GT(){return this.getToken(v.GT,0)}enterRule(t){t instanceof q&&t.enterRelationalExpr(this)}exitRule(t){t instanceof q&&t.exitRelationalExpr(this)}}v.RelationalExprContext=Ea;class Ia extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}PLUS(){return this.getToken(v.PLUS,0)}enterRule(t){t instanceof q&&t.enterPlusExpr(this)}exitRule(t){t instanceof q&&t.exitPlusExpr(this)}}v.PlusExprContext=Ia;class Oa extends V2{constructor(e,t){super(e),super.copyFrom(t)}NOT(){return this.getToken(v.NOT,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterNotExpr(this)}exitRule(e){e instanceof q&&e.exitNotExpr(this)}}v.NotExprContext=Oa;class za extends V2{constructor(e,t){super(e),super.copyFrom(t)}MINUS(){return this.getToken(v.MINUS,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof q&&e.exitUnaryMinusExpr(this)}}v.UnaryMinusExprContext=za;class Pa extends V2{constructor(e,t){super(e),super.copyFrom(t)}creation(){return this.getTypedRuleContext($7,0)}enterRule(e){e instanceof q&&e.enterCreationExpr(this)}exitRule(e){e instanceof q&&e.exitCreationExpr(this)}}v.CreationExprContext=Pa;class Da extends V2{constructor(e,t){super(e),super.copyFrom(t)}OPAR(){return this.getToken(v.OPAR,0)}expr(){return this.getTypedRuleContext(V2,0)}CPAR(){return this.getToken(v.CPAR,0)}enterRule(e){e instanceof q&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof q&&e.exitParenthesizedExpr(this)}}v.ParenthesizedExprContext=Da;class Na extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}MULT(){return this.getToken(v.MULT,0)}DIV(){return this.getToken(v.DIV,0)}MOD(){return this.getToken(v.MOD,0)}enterRule(t){t instanceof q&&t.enterMultiplicationExpr(this)}exitRule(t){t instanceof q&&t.exitMultiplicationExpr(this)}}v.MultiplicationExprContext=Na;class Fa extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}EQ(){return this.getToken(v.EQ,0)}NEQ(){return this.getToken(v.NEQ,0)}enterRule(t){t instanceof q&&t.enterEqualityExpr(this)}exitRule(t){t instanceof q&&t.exitEqualityExpr(this)}}v.EqualityExprContext=Fa;class Ba extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}AND(){return this.getToken(v.AND,0)}enterRule(t){t instanceof q&&t.enterAndExpr(this)}exitRule(t){t instanceof q&&t.exitAndExpr(this)}}v.AndExprContext=Ba;class c4 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_atom}copyFrom(e){super.copyFrom(e)}}class ja extends c4{constructor(e,t){super(e),super.copyFrom(t)}TRUE(){return this.getToken(v.TRUE,0)}FALSE(){return this.getToken(v.FALSE,0)}enterRule(e){e instanceof q&&e.enterBooleanAtom(this)}exitRule(e){e instanceof q&&e.exitBooleanAtom(this)}}v.BooleanAtomContext=ja;class Wa extends c4{constructor(e,t){super(e),super.copyFrom(t)}ID(){return this.getToken(v.ID,0)}enterRule(e){e instanceof q&&e.enterIdAtom(this)}exitRule(e){e instanceof q&&e.exitIdAtom(this)}}v.IdAtomContext=Wa;class Ua extends c4{constructor(e,t){super(e),super.copyFrom(t)}MONEY(){return this.getToken(v.MONEY,0)}enterRule(e){e instanceof q&&e.enterMoneyAtom(this)}exitRule(e){e instanceof q&&e.exitMoneyAtom(this)}}v.MoneyAtomContext=Ua;class Ha extends c4{constructor(e,t){super(e),super.copyFrom(t)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}enterRule(e){e instanceof q&&e.enterStringAtom(this)}exitRule(e){e instanceof q&&e.exitStringAtom(this)}}v.StringAtomContext=Ha;class $a extends c4{constructor(e,t){super(e),super.copyFrom(t)}NIL(){return this.getToken(v.NIL,0)}enterRule(e){e instanceof q&&e.enterNilAtom(this)}exitRule(e){e instanceof q&&e.exitNilAtom(this)}}v.NilAtomContext=$a;class Ga extends c4{constructor(e,t){super(e),super.copyFrom(t)}INT(){return this.getToken(v.INT,0)}FLOAT(){return this.getToken(v.FLOAT,0)}enterRule(e){e instanceof q&&e.enterNumberAtom(this)}exitRule(e){e instanceof q&&e.exitNumberAtom(this)}}v.NumberAtomContext=Ga;class Va extends c4{constructor(e,t){super(e),super.copyFrom(t)}NUMBER_UNIT(){return this.getToken(v.NUMBER_UNIT,0)}enterRule(e){e instanceof q&&e.enterNumberUnitAtom(this)}exitRule(e){e instanceof q&&e.exitNumberUnitAtom(this)}}v.NumberUnitAtomContext=Va;class o0 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_parExpr}OPAR(){return this.getToken(v.OPAR,0)}condition(){return this.getTypedRuleContext(Zi,0)}CPAR(){return this.getToken(v.CPAR,0)}enterRule(e){e instanceof q&&e.enterParExpr(this)}exitRule(e){e instanceof q&&e.exitParExpr(this)}}class Zi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_condition}atom(){return this.getTypedRuleContext(c4,0)}expr(){return this.getTypedRuleContext(V2,0)}inExpr(){return this.getTypedRuleContext(Ei,0)}textExpr(){return this.getTypedRuleContext(Ii,0)}enterRule(e){e instanceof q&&e.enterCondition(this)}exitRule(e){e instanceof q&&e.exitCondition(this)}}class Ei extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});this.parser=t,this.ruleIndex=v.RULE_inExpr}IN(){return this.getToken(v.IN,0)}enterRule(t){t instanceof q&&t.enterInExpr(this)}exitRule(t){t instanceof q&&t.exitInExpr(this)}}class Ii extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});this.parser=t,this.ruleIndex=v.RULE_textExpr}enterRule(t){t instanceof q&&t.enterTextExpr(this)}exitRule(t){t instanceof q&&t.exitTextExpr(this)}}v.ProgContext=Aa,v.TitleContext=Kn,v.HeadContext=Jn,v.GroupContext=W7,v.StarterExpContext=ei,v.StarterContext=ti,v.ParticipantContext=D5,v.StereotypeContext=ni,v.LabelContext=ii,v.ParticipantTypeContext=oi,v.NameContext=J3,v.WidthContext=si,v.BlockContext=U7,v.RetContext=ri,v.DividerContext=li,v.DividerNoteContext=ai,v.StatContext=H7,v.ParContext=Li,v.OptContext=ci,v.CriticalContext=Ci,v.SectionContext=ui,v.CreationContext=$7,v.RefContext=di,v.CreationBodyContext=hi,v.MessageContext=fi,v.MessageBodyContext=gi,v.FromToContext=pi,v.FuncContext=G7,v.FromContext=V7,v.ToContext=G8,v.SignatureContext=q7,v.InvocationContext=Y7,v.AssignmentContext=V8,v.AsyncMessageContext=Q7,v.ContentContext=_i,v.ConstructContext=mi,v.TypeContext=X7,v.AssigneeContext=vi,v.MethodNameContext=xi,v.ParametersContext=K7,v.ParameterContext=J7,v.NamedParameterContext=wi,v.DeclarationContext=Mi,v.TcfContext=Si,v.TryBlockContext=yi,v.CatchBlockContext=ee,v.FinallyBlockContext=Ai,v.AltContext=Ri,v.IfBlockContext=bi,v.ElseIfBlockContext=te,v.ElseBlockContext=Ti,v.BraceBlockContext=j3,v.LoopContext=ki,v.ExprContext=V2,v.AtomContext=c4,v.ParExprContext=o0,v.ConditionContext=Zi,v.InExprContext=Ei,v.TextExprContext=Ii;const qa={name:"",color:void 0,comment:void 0,explicit:void 0,groupId:void 0,isStarter:void 0,label:void 0,stereotype:void 0,type:void 0,width:void 0,assignee:void 0,positions:new Set,assigneePositions:new Set};let __=class{constructor(e,t){c2(this,"name");c2(this,"stereotype");c2(this,"width");c2(this,"groupId");c2(this,"explicit");c2(this,"isStarter");c2(this,"label");c2(this,"type");c2(this,"color");c2(this,"comment");c2(this,"assignee");c2(this,"positions",new Set);c2(this,"assigneePositions",new Set);this.name=e,this.mergeOptions(t)}mergeOptions(e){const{stereotype:t,width:n,groupId:r,label:L,explicit:c,isStarter:u,type:d,color:f,comment:g,assignee:p}=e;this.stereotype||(this.stereotype=t),this.width||(this.width=n),this.groupId||(this.groupId=r),this.explicit||(this.explicit=c),this.isStarter||(this.isStarter=u),this.label||(this.label=L),this.type||(this.type=d),this.color||(this.color=f),this.comment||(this.comment=g),this.assignee||(this.assignee=p)}AddPosition(e){this.positions.add(e)}ToValue(){return{name:this.name,stereotype:this.stereotype,width:this.width,groupId:this.groupId,explicit:this.explicit,isStarter:this.isStarter,label:this.label,type:this.type,color:this.color,comment:this.comment,assignee:this.assignee,positions:this.positions,assigneePositions:this.assigneePositions}}},m_=class{constructor(){c2(this,"participants",new Map)}Add(e,t={}){if(!e)throw new Error("Participant name is required");let n=this.Get(e);n?n==null||n.mergeOptions(t):(n=new __(e,t),this.participants.set(e,n));const{position:r,assigneePosition:L}=t;r&&n.AddPosition(r),L&&n.assigneePositions.add(L)}ImplicitArray(){return this.Array().filter(e=>{var t;return!((t=this.Get(e.name))!=null&&t.explicit)})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){for(const e of this.participants.values())if(e.isStarter)return e}GetPositions(e){var t;return(t=this.participants.get(e))==null?void 0:t.positions}GetAssigneePositions(e){var t;return(t=this.participants.get(e))==null?void 0:t.assigneePositions}},e4,Q0=!1,Oi;const v3=new q,v_=function(o){var w,A,y,Z,k,D;if(Q0)return;const e=(w=o==null?void 0:o.participantType())==null?void 0:w.getFormattedText().replace("@",""),t=((A=o==null?void 0:o.name())==null?void 0:A.getFormattedText())||"Missing `Participant`",n=(Z=(y=o.stereotype())==null?void 0:y.name())==null?void 0:Z.getFormattedText(),r=o.width&&o.width()&&Number.parseInt(o.width().getText())||void 0,L=o.label&&o.label(),c=(k=L==null?void 0:L.name())==null?void 0:k.getFormattedText(),u=!0,d=(D=o.COLOR())==null?void 0:D.getText(),f=o.getComment(),g=o.name();let p,m;if(L){const z=L.name();z&&(p=z.start.start,m=z.stop.stop+1)}else g&&(p=g.start.start,m=g.stop.stop+1);e4.Add(t,{isStarter:!1,type:e,stereotype:n,width:r,groupId:Oi,label:c,explicit:u,color:d,comment:f,position:[p,m]})};v3.enterParticipant=v_;const Ya=function(o){if(Q0)return;let e=o.getFormattedText();const t=e4.Get(e);if(t!=null&&t.label)e4.Add(e,{isStarter:!1});else if(t!=null&&t.assignee){const r=[o.start.start+t.assignee.length+2,o.stop.stop],L=[o.start.start+1,o.start.start+t.assignee.length+1];e4.Add(e,{isStarter:!1,position:r,assigneePosition:L})}else e4.Add(e,{isStarter:!1,position:[o.start.start,o.stop.stop+1]})};v3.enterFrom=Ya,v3.enterTo=Ya,v3.enterStarter=function(o){let e=o.getFormattedText();e4.Add(e,{isStarter:!0,position:[o.start.start,o.stop.stop+1]})},v3.enterCreation=function(o){var r;if(Q0)return;const e=o.Owner(),t=(r=o==null?void 0:o.creationBody())==null?void 0:r.construct(),n=e4.Get(e);if(t&&!(n!=null&&n.label)){const L=o.Assignee(),c=o.AssigneePosition();e4.Add(e,{isStarter:!1,position:[t.start.start,t.stop.stop+1],assignee:L,assigneePosition:c})}else e4.Add(e,{isStarter:!1})},v3.enterRef=function(o){o.Participants().forEach(e=>{e4.Add(e.getText(),{isStarter:!1,position:[e.start.start,e.stop.stop+1]})})},v3.enterParameters=function(){Q0=!0},v3.exitParameters=function(){Q0=!1},v3.enterCondition=function(){Q0=!0},v3.exitCondition=function(){Q0=!1},v3.enterGroup=function(o){var e;Oi=(e=o.name())==null?void 0:e.getFormattedText()},v3.exitGroup=function(){Oi=void 0},v3.enterRet=function(o){if(o.asyncMessage())return;const e=o.From();e&&e4.Add(e);const t=o.ReturnTo();t&&e4.Add(t)};const x_=j.tree.ParseTreeWalker.DEFAULT;v3.getParticipants=function(o){return e4=new m_,x_.walk(this,o),e4};const w_=j.tree.ParseTreeWalker.DEFAULT;let b3=new q,j1=0,T3=0;b3.enterTcf=function(){j1++},b3.enterOpt=function(){j1++},b3.enterPar=function(){j1++},b3.enterAlt=function(){j1++},b3.enterLoop=function(){j1++},b3.enterSection=function(){j1++},b3.enterCritical=function(){j1++},b3.exitTcf=function(){T3=Math.max(T3,j1),j1--},b3.exitOpt=function(){T3=Math.max(T3,j1),j1--},b3.exitPar=function(){T3=Math.max(T3,j1),j1--},b3.exitAlt=function(){T3=Math.max(T3,j1),j1--},b3.exitLoop=function(){T3=Math.max(T3,j1),j1--},b3.exitSection=function(){T3=Math.max(T3,j1),j1--},b3.exitCritical=function(){T3=Math.max(T3,j1),j1--},b3.depth=function(o){return function(e){return j1=0,T3=0,e.children.map(function(t){w_.walk(o,t)}),T3}};const M_=v.TitleContext;M_.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const Qa=v,zi=Qa.CreationContext;zi.prototype.Body=zi.prototype.creationBody,zi.prototype.isCurrent=function(o){return Xa.bind(this)(o)};const Pi=Qa.MessageContext;Pi.prototype.Body=Pi.prototype.messageBody,Pi.prototype.isCurrent=function(o){return Xa.bind(this)(o)};function Xa(o){try{if(o==null)return!1;const e=this.start.start,t=this.Body().stop.stop+1;return o>=e&&o<=t}catch{return!1}}const ne=v,N5=ne.CreationContext,Di=ne.MessageContext,Ka=ne.AsyncMessageContext,Ja=ne.RetContext;N5.prototype.Assignee=function(){var o,e,t;return(t=(e=(o=this.creationBody())==null?void 0:o.assignment())==null?void 0:e.assignee())==null?void 0:t.getFormattedText()},N5.prototype.AssigneePosition=function(){var e,t;const o=(t=(e=this.creationBody())==null?void 0:e.assignment())==null?void 0:t.assignee();if(o)return[o.start.start,o.stop.stop+1]},N5.prototype.Constructor=function(){var o,e;return(e=(o=this.creationBody())==null?void 0:o.construct())==null?void 0:e.getFormattedText()},N5.prototype.To=function(){return this.Constructor()},N5.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const o=this.Assignee(),e=this.Constructor();return o?`${o}:${e}`:e},Di.prototype.To=function(){var o,e,t;return(t=(e=(o=this.messageBody())==null?void 0:o.fromTo())==null?void 0:e.to())==null?void 0:t.getFormattedText()},Di.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)};function Ni(o){for(;o;){if(o instanceof N5||o instanceof Di)return o.Owner();o=o.parentCtx}}Ka.prototype.To=function(){var o;return(o=this.to())==null?void 0:o.getFormattedText()},Ka.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)},Ja.prototype.To=function(){return this.ReturnTo()},Ja.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)};const S_=v.ProgContext;S_.prototype.Starter=function(){var o,e,t;return(t=(e=(o=this.head())==null?void 0:o.starterExp())==null?void 0:e.starter())==null?void 0:t.getFormattedText()};const ie=v,y_=ie.RetContext,eL=ie.ProgContext,tL=ie.MessageContext,A_=ie.CreationContext;y_.prototype.ReturnTo=function(){var n,r,L;const t=this.parentCtx.parentCtx.parentCtx;if(t instanceof eL)return t.Starter();{let c=t;for(;c&&!(c instanceof tL)&&!(c instanceof A_);){if(c instanceof eL)return c.Starter();c=c.parentCtx}return c instanceof tL&&((L=(r=(n=c.messageBody())==null?void 0:n.fromTo())==null?void 0:r.from())==null?void 0:L.getFormattedText())||c.ClosestAncestorStat().Origin()}};const nL=v.RefContext;nL.prototype.Content=function(){return this.name()[0]},nL.prototype.Participants=function(){return this.name().slice(1)??[]};const R_=j.ParserRuleContext,iL=v.StatContext,Fi=v.ProgContext,b_=v.MessageContext,T_=v.CreationContext;R_.prototype.Origin=function(){let o=this.parentCtx;for(;o&&!(o instanceof iL||o instanceof Fi);)o=this.parentCtx;return o.Origin()},iL.prototype.Origin=function(){let o=this.parentCtx;for(;o;){if(o instanceof Fi)return o.Starter();if(o instanceof b_||o instanceof T_){const e=o.Owner();if(e)return e}o=o.parentCtx}},Fi.prototype.Origin=function(){return this.Starter()};const k_=v.DividerContext;k_.prototype.Note=function(){var e;const o=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!o.startsWith("=="))throw new Error("Divider note must start with ==");return o==null?void 0:o.replace(/^=+|=+$/g,"")};function Z_(o){var e,t,n;if((e=o.namedParameter)!=null&&e.call(o)){const r=o.namedParameter();if(r){const L=r.expr(),c=L?L.getFormattedText():"";return`${r.ID().getText()}=${c}`}}if((t=o.declaration)!=null&&t.call(o)){const r=o.declaration();if(r)return`${r.type().getText()} ${r.ID().getText()}`}return(n=o.expr)!=null&&n.call(o)?o.expr().getFormattedText():o.getFormattedText()}function oL(o){return o.map(Z_).join(",")}const E_=v.MessageContext,I_=v.ParametersContext,O_=v.AsyncMessageContext,sL=v.CreationContext,z_=v.RetContext;E_.prototype.SignatureText=function(){var o,e,t;return((t=(e=(o=this.messageBody())==null?void 0:o.func())==null?void 0:e.signature())==null?void 0:t.map(n=>n==null?void 0:n.getFormattedText()).join("."))??""},O_.prototype.SignatureText=function(){var o;return((o=this.content())==null?void 0:o.getFormattedText())??""},sL.prototype.SignatureText=function(){var t;const o=this.creationBody().parameters();return`«${((t=o==null?void 0:o.parameter())==null?void 0:t.length)>0?oL(o.parameter()):"create"}»`},sL.prototype.isParamValid=function(){var o,e;return(((e=(o=this.creationBody().parameters())==null?void 0:o.parameter())==null?void 0:e.length)??0)>0},z_.prototype.SignatureText=function(){var o,e,t;return((e=(o=this.asyncMessage())==null?void 0:o.content())==null?void 0:e.getFormattedText())??((t=this.expr())==null?void 0:t.getFormattedText())??""},I_.prototype.getFormattedText=function(){const o=this.parameter();return!o||o.length===0?"":oL(o)};const oe=v,rL=oe.MessageContext,P_=oe.CreationContext,D_=oe.IfBlockContext,N_=oe.LoopContext;class F_{constructor(e,t){c2(this,"assignee");c2(this,"type");if(t&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=t||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}rL.prototype.Assignment=function(){var n,r;const o=this.messageBody().assignment(),e=(n=o==null?void 0:o.assignee())==null?void 0:n.getFormattedText(),t=(r=o==null?void 0:o.type())==null?void 0:r.getFormattedText();if(e)return new F_(e,t)},rL.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},P_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},D_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},N_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]};const q8=v,B_=q8.CreationContext,j_=q8.StatContext,lL=q8.MessageContext,aL=q8.AsyncMessageContext,W_=q8.RetContext;B_.prototype.From=function(){if(this.parentCtx instanceof j_)return this.ClosestAncestorStat().Origin()},lL.prototype.ProvidedFrom=function(){var o,e,t;return(t=(e=(o=this.messageBody())==null?void 0:o.fromTo())==null?void 0:e.from())==null?void 0:t.getFormattedText()},lL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},aL.prototype.ProvidedFrom=function(){var o;return(o=this.from())==null?void 0:o.getFormattedText()},aL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},W_.prototype.From=function(){return this.ClosestAncestorStat().Origin()},j.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const LL=v,cL=LL.StatContext;j.ParserRuleContext.prototype.ClosestAncestorStat=function(){let o=this;for(;!(o instanceof cL);)o=o.parentCtx;if(o instanceof cL)return o},j.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const o=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(o instanceof LL.BlockContext)return o;console.warn("Cannot find closest ancestor block for context:",this)},j.ParserRuleContext.prototype.getAncestors=function(o){let e=this;const t=[];for(;e;)(!o||o(e))&&t.push(e),e=e.parentCtx;return t};var Bi,CL;function uL(){if(CL)return Bi;CL=1;function o(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(n){return t.apply(this,arguments)};case 2:return function(n,r){return t.apply(this,arguments)};case 3:return function(n,r,L){return t.apply(this,arguments)};case 4:return function(n,r,L,c){return t.apply(this,arguments)};case 5:return function(n,r,L,c,u){return t.apply(this,arguments)};case 6:return function(n,r,L,c,u,d){return t.apply(this,arguments)};case 7:return function(n,r,L,c,u,d,f){return t.apply(this,arguments)};case 8:return function(n,r,L,c,u,d,f,g){return t.apply(this,arguments)};case 9:return function(n,r,L,c,u,d,f,g,p){return t.apply(this,arguments)};case 10:return function(n,r,L,c,u,d,f,g,p,m){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}return Bi=o,Bi}var ji,dL;function U_(){if(dL)return ji;dL=1;function o(e,t){return function(){return t.call(this,e.apply(this,arguments))}}return ji=o,ji}var Wi,hL;function Ui(){if(hL)return Wi;hL=1;function o(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}return Wi=o,Wi}var Hi,fL;function se(){if(fL)return Hi;fL=1;var o=Ui();function e(t){return function n(r){return arguments.length===0||o(r)?n:t.apply(this,arguments)}}return Hi=e,Hi}var $i,gL;function pL(){if(gL)return $i;gL=1;var o=se(),e=Ui();function t(n){return function r(L,c){switch(arguments.length){case 0:return r;case 1:return e(L)?r:o(function(u){return n(L,u)});default:return e(L)&&e(c)?r:e(L)?o(function(u){return n(u,c)}):e(c)?o(function(u){return n(L,u)}):n(L,c)}}}return $i=t,$i}var Gi,_L;function Vi(){if(_L)return Gi;_L=1;var o=se(),e=pL(),t=Ui();function n(r){return function L(c,u,d){switch(arguments.length){case 0:return L;case 1:return t(c)?L:e(function(f,g){return r(c,f,g)});case 2:return t(c)&&t(u)?L:t(c)?e(function(f,g){return r(f,u,g)}):t(u)?e(function(f,g){return r(c,f,g)}):o(function(f){return r(c,u,f)});default:return t(c)&&t(u)&&t(d)?L:t(c)&&t(u)?e(function(f,g){return r(f,g,d)}):t(c)&&t(d)?e(function(f,g){return r(f,u,g)}):t(u)&&t(d)?e(function(f,g){return r(c,f,g)}):t(c)?o(function(f){return r(f,u,d)}):t(u)?o(function(f){return r(c,f,d)}):t(d)?o(function(f){return r(c,u,f)}):r(c,u,d)}}}return Gi=n,Gi}var qi,mL;function vL(){return mL||(mL=1,qi=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}),qi}var Yi,xL;function H_(){if(xL)return Yi;xL=1;function o(e){return Object.prototype.toString.call(e)==="[object String]"}return Yi=o,Yi}var Qi,wL;function $_(){if(wL)return Qi;wL=1;var o=se(),e=vL(),t=H_(),n=o(function(L){return e(L)?!0:!L||typeof L!="object"||t(L)?!1:L.length===0?!0:L.length>0?L.hasOwnProperty(0)&&L.hasOwnProperty(L.length-1):!1});return Qi=n,Qi}var Xi,ML;function G_(){if(ML)return Xi;ML=1;var o=(function(){function t(n){this.f=n}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(n){return n},t.prototype["@@transducer/step"]=function(n,r){return this.f(n,r)},t})();function e(t){return new o(t)}return Xi=e,Xi}var Ki,SL;function V_(){if(SL)return Ki;SL=1;var o=uL(),e=pL(),t=e(function(r,L){return o(r.length,function(){return r.apply(L,arguments)})});return Ki=t,Ki}var Ji,yL;function q_(){if(yL)return Ji;yL=1;var o=$_(),e=G_(),t=V_();function n(d,f,g){for(var p=0,m=g.length;p<m;){if(f=d["@@transducer/step"](f,g[p]),f&&f["@@transducer/reduced"]){f=f["@@transducer/value"];break}p+=1}return d["@@transducer/result"](f)}function r(d,f,g){for(var p=g.next();!p.done;){if(f=d["@@transducer/step"](f,p.value),f&&f["@@transducer/reduced"]){f=f["@@transducer/value"];break}p=g.next()}return d["@@transducer/result"](f)}function L(d,f,g,p){return d["@@transducer/result"](g[p](t(d["@@transducer/step"],d),f))}var c=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function u(d,f,g){if(typeof d=="function"&&(d=e(d)),o(g))return n(d,f,g);if(typeof g["fantasy-land/reduce"]=="function")return L(d,f,g,"fantasy-land/reduce");if(g[c]!=null)return r(d,f,g[c]());if(typeof g.next=="function")return r(d,f,g);if(typeof g.reduce=="function")return L(d,f,g,"reduce");throw new TypeError("reduce: list must be array or iterable")}return Ji=u,Ji}var eo,AL;function Y_(){if(AL)return eo;AL=1;var o=Vi(),e=q_(),t=o(e);return eo=t,eo}var to,RL;function bL(){if(RL)return to;RL=1;var o=vL();function e(t,n){return function(){var r=arguments.length;if(r===0)return n();var L=arguments[r-1];return o(L)||typeof L[t]!="function"?n.apply(this,arguments):L[t].apply(L,Array.prototype.slice.call(arguments,0,r-1))}}return to=e,to}var no,TL;function Q_(){if(TL)return no;TL=1;var o=bL(),e=Vi(),t=e(o("slice",function(r,L,c){return Array.prototype.slice.call(c,r,L)}));return no=t,no}var io,kL;function X_(){if(kL)return io;kL=1;var o=bL(),e=se(),t=Q_(),n=e(o("tail",t(1,1/0)));return io=n,io}var oo,ZL;function K_(){if(ZL)return oo;ZL=1;var o=uL(),e=U_(),t=Y_(),n=X_();function r(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return o(arguments[0].length,t(e,arguments[0],n(arguments)))}return oo=r,oo}var J_=K_();const em=Y1(J_);var so,EL;function tm(){if(EL)return so;EL=1;var o=Vi(),e=o(function(n,r,L){return L.replace(n,r)});return so=e,so}var nm=tm();const F5=Y1(nm),im=F5(/[\n\r]/g," "),om=F5(/\s+/g," "),sm=F5(/\s*([,;.])\s*/g,"$1"),rm=F5(/\s*(\()\s*|\s*(\))/g,"$1$2"),lm=F5(/\s+$/g,""),am=F5(/^"(.*)"$/,"$1"),IL=em(im,om,sm,rm,lm,am),ro=(o,e)=>{let t=e;for(o[t]===`
|
|
26
|
+
`))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?t+"=>"+n0(e.predicates):t+"=>"+e.prediction.toString():t}}class ma extends $n{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class Xp{constructor(e,t){if(t===void 0&&(t=0),this.atnStartState=e,this.decision=t,this._states=new L4,this.s0=null,this.precedenceDfa=!1,e instanceof V0&&e.isPrecedenceDecision){this.precedenceDfa=!0;const n=new A9(null,new B3);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new L4,e){const t=new A9(null,new B3);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(t,n){return t.stateNumber-n.stateNumber})}toString(e,t){return e=e||null,t=t||null,this.s0===null?"":new $n(this,e,t).toString()}toLexerString(){return this.s0===null?"":new ma(this).toString()}get states(){return this._states}}const Kp={DFA:Xp,DFASerializer:$n,LexerDFASerializer:ma,PredPrediction:_a};class va{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class Jp{visit(e){return Array.isArray(e)?e.map(function(t){return t.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class Gn{walk(e,t){if(t instanceof O7||t.isErrorNode!==void 0&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof S9)e.visitTerminal(t);else{this.enterRule(e,t);for(let r=0;r<t.getChildCount();r++){const L=t.getChild(r);this.walk(e,L)}this.exitRule(e,t)}}enterRule(e,t){const n=t.getRuleContext();e.enterEveryRule(n),n.enterRule(e)}exitRule(e,t){const n=t.getRuleContext();n.exitRule(e),e.exitEveryRule(n)}}Gn.DEFAULT=new Gn;const e_={Trees:o9,RuleNode:I7,ErrorNode:O7,TerminalNode:S9,ParseTreeListener:va,ParseTreeVisitor:Jp,ParseTreeWalker:Gn};class $8 extends i0{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class xa extends i0{constructor(e,t,n){super({message:t_(t,n||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const L=e._interp.atn.states[e.state].transitions[0];L instanceof ha?(this.ruleIndex=L.ruleIndex,this.predicateIndex=L.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=t,this.offendingToken=e.getCurrentToken()}}function t_(o,e){return e!==null?e:"failed predicate: {"+o+"}?"}class n_ extends B7{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,t,n,r,L,c,u){if(this.exactOnly&&!L)return;const d="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(c,u)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(d)}reportAttemptingFullContext(e,t,n,r,L,c){const u="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(u)}reportContextSensitivity(e,t,n,r,L,c){const u="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new h1(n,r))+"'";e.notifyErrorListeners(u)}getDecisionDescription(e,t){const n=t.decision,r=t.atnStartState.ruleIndex,L=e.ruleNames;if(r<0||r>=L.length)return""+n;const c=L[r]||null;return c===null||c.length===0?""+n:`${n} (${c})`}getConflictingAlts(e,t){if(e!==null)return e;const n=new r9;for(let r=0;r<t.items.length;r++)n.add(t.items[r].alt);return`{${n.values().join(", ")}}`}}class Vn extends Error{constructor(){super(),Error.captureStackTrace(this,Vn)}}class i_{reset(e){}recoverInline(e){}recover(e,t){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class qn extends i_{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof Hn?this.reportNoViableAlternative(e,t):t instanceof $8?this.reportInputMismatch(e,t):t instanceof xa?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))}recover(e,t){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const n=this.getErrorRecoverySet(e);this.consumeUntil(e,n)}sync(e){if(this.inErrorRecoveryMode(e))return;const t=e._interp.atn.states[e.state],n=e.getTokenStream().LA(1),r=e.atn.nextTokens(t);if(r.contains(n)){this.nextTokensContext=null,this.nextTokenState=Z2.INVALID_STATE_NUMBER;return}else if(r.contains(f2.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(t.stateType){case Z2.BLOCK_START:case Z2.STAR_BLOCK_START:case Z2.PLUS_BLOCK_START:case Z2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new $8(e);case Z2.PLUS_LOOP_BACK:case Z2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const L=new b4;L.addSet(e.getExpectedTokens());const c=L.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,c)}break}}reportNoViableAlternative(e,t){const n=e.getTokenStream();let r;n!==null?t.startToken.type===f2.EOF?r="<EOF>":r=n.getText(new h1(t.startToken.tokenIndex,t.offendingToken.tokenIndex)):r="<unknown input>";const L="no viable alternative at input "+this.escapeWSAndQuote(r);e.notifyErrorListeners(L,t.offendingToken,t)}reportInputMismatch(e,t){const n="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t.offendingToken,t)}reportFailedPredicate(e,t){const r="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(r,t.offendingToken,t)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),n=this.getTokenErrorDisplay(t),r=this.getExpectedTokens(e),L="extraneous input "+n+" expecting "+r.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(L,t,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),r="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(r,t,null)}recoverInline(e){const t=this.singleTokenDeletion(e);if(t!==null)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new $8(e)}singleTokenInsertion(e){const t=e.getTokenStream().LA(1),n=e._interp.atn,L=n.states[e.state].transitions[0].target;return n.nextTokens(L,e._ctx).contains(t)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();const r=e.getCurrentToken();return this.reportMatch(e),r}else return null}getMissingSymbol(e){const t=e.getCurrentToken(),r=this.getExpectedTokens(e).first();let L;r===f2.EOF?L="<missing EOF>":L="<missing "+e.literalNames[r]+">";let c=t;const u=e.getTokenStream().LT(-1);return c.type===f2.EOF&&u!==null&&(c=u),e.getTokenFactory().create(c.source,r,L,f2.DEFAULT_CHANNEL,-1,-1,c.line,c.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===f2.EOF?t="<EOF>":t="<"+e.type+">"),this.escapeWSAndQuote(t)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const t=e._interp.atn;let n=e._ctx;const r=new b4;for(;n!==null&&n.invokingState>=0;){const c=t.states[n.invokingState].transitions[0],u=t.nextTokens(c.followState);r.addSet(u),n=n.parentCtx}return r.removeOne(f2.EPSILON),r}consumeUntil(e,t){let n=e.getTokenStream().LA(1);for(;n!==f2.EOF&&!t.contains(n);)e.consume(),n=e.getTokenStream().LA(1)}}class o_ extends qn{constructor(){super()}recover(e,t){let n=e._ctx;for(;n!==null;)n.exception=t,n=n.parentCtx;throw new Vn(t)}recoverInline(e){this.recover(e,new $8(e))}sync(e){}}const s_={RecognitionException:i0,NoViableAltException:Hn,LexerNoViableAltException:Un,InputMismatchException:$8,FailedPredicateException:xa,DiagnosticErrorListener:n_,BailErrorStrategy:o_,DefaultErrorStrategy:qn,ErrorListener:B7};class Y0{constructor(e,t){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=t||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let n=0;n<this.strdata.length;){const r=this.strdata.codePointAt(n);this.data.push(r),n+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let n=0;n<this.strdata.length;n++){const r=this.strdata.charCodeAt(n);this.data[n]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const t=this._index+e-1;return t<0||t>=this._size?f2.EOF:this.data[t]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let n="";for(let r=e;r<=t;r++)n+=String.fromCodePoint(this.data[r]);return n}else return this.strdata.slice(e,t+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const Yn={},r_={fromString:function(o){return new Y0(o,!0)},fromBlob:function(o,e,t,n){const r=new window.FileReader;r.onload=function(L){const c=new Y0(L.target.result,!0);t(c)},r.onerror=n,r.readAsText(o,e)},fromBuffer:function(o,e){return new Y0(o.toString(e),!0)},fromPath:function(o,e,t){Yn.readFile(o,e,function(n,r){let L=null;r!==null&&(L=new Y0(r,!0)),t(n,L)})},fromPathSync:function(o,e){const t=Yn.readFileSync(o,e);return new Y0(t,!0)}};class l_ extends Y0{constructor(e,t){const n=Yn.readFileSync(e,"utf8");super(n,t),this.fileName=e}}class a_{}class L_ extends a_{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===f2.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const t=e-this.tokens.length+1;return t>0?this.fetch(t)>=t:!0}fetch(e){if(this.fetchedEOF)return 0;for(let t=0;t<e;t++){const n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===f2.EOF)return this.fetchedEOF=!0,t+1}return e}getTokens(e,t,n){if(n===void 0&&(n=null),e<0||t<0)return null;this.lazyInit();const r=[];t>=this.tokens.length&&(t=this.tokens.length-1);for(let L=e;L<t;L++){const c=this.tokens[L];if(c.type===f2.EOF)break;(n===null||n.contains(c.type))&&r.push(c)}return r}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const t=this.index+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,t){if(this.sync(e),e>=this.tokens.length)return-1;let n=this.tokens[e];for(;n.channel!==this.channel;){if(n.type===f2.EOF)return-1;e+=1,this.sync(e),n=this.tokens[e]}return e}previousTokenOnChannel(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e}getHiddenTokensToRight(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const n=this.nextTokenOnChannel(e+1,F3.DEFAULT_TOKEN_CHANNEL),r=e+1,L=n===-1?this.tokens.length-1:n;return this.filterForChannel(r,L,t)}getHiddenTokensToLeft(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const n=this.previousTokenOnChannel(e-1,F3.DEFAULT_TOKEN_CHANNEL);if(n===e-1)return null;const r=n+1,L=e-1;return this.filterForChannel(r,L,t)}filterForChannel(e,t,n){const r=[];for(let L=e;L<t+1;L++){const c=this.tokens[L];n===-1?c.channel!==F3.DEFAULT_TOKEN_CHANNEL&&r.push(c):c.channel===n&&r.push(c)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new h1(0,this.tokens.length-1));let t=e.start;t instanceof f2&&(t=t.tokenIndex);let n=e.stop;if(n instanceof f2&&(n=n.tokenIndex),t===null||n===null||t<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);let r="";for(let L=t;L<n+1;L++){const c=this.tokens[L];if(c.type===f2.EOF)break;r=r+c.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class c_ extends L_{constructor(e,t){super(e),this.channel=t===void 0?f2.DEFAULT_CHANNEL:t}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let t=this.index,n=1;for(;n<=e;)t=this.previousTokenOnChannel(t-1,this.channel),n+=1;return t<0?null:this.tokens[t]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let t=this.index,n=1;for(;n<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),n+=1;return this.tokens[t]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let t=0;t<this.tokens.length;t++){const n=this.tokens[t];if(n.channel===this.channel&&(e+=1),n.type===f2.EOF)break}return e}}class C_ extends va{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let wa=class extends j7{constructor(e){super(),this._input=null,this._errHandler=new qn,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let t=this.getCurrentToken();return t.type===e?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this.buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const t=this._parseListeners.indexOf(e);t>=0&&this._parseListeners.splice(t,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(t){t.enterEveryRule(e),e.enterRule(t)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(t){e.exitRule(t),t.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let t=this.bypassAltsAtnCache[e];if(t===null){const n=new U8;n.generateRuleBypassTransitions=!0,t=new fa(n).deserialize(e),this.bypassAltsAtnCache[e]=t}return t}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,t,n){t=t||null,n=n||null,t===null&&(t=this.getCurrentToken()),this._syntaxErrors+=1;const r=t.line,L=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,L,e,n)}consume(){const e=this.getCurrentToken();e.type!==f2.EOF&&this.getInputStream().consume();const t=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||t){let n;this._errHandler.inErrorRecoveryMode(this)?n=this._ctx.addErrorNode(e):n=this._ctx.addTokenNode(e),n.invokingState=this.state,t&&this._parseListeners.forEach(function(r){n instanceof O7||n.isErrorNode!==void 0&&n.isErrorNode()?r.visitErrorNode(n):n instanceof S9&&r.visitTerminal(n)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,t,n){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,t,n,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,t,n){const r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const t=this._ctx,n=this.getParseListeners();if(n!==null&&n.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(t)}getInvokingContext(e){let t=this._ctx;for(;t!==null;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null}precpred(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const t=this._interp.atn;let n=this._ctx;const r=t.states[this.state];let L=t.nextTokens(r);if(L.contains(e))return!0;if(!L.contains(f2.EPSILON))return!1;for(;n!==null&&n.invokingState>=0&&L.contains(f2.EPSILON);){const u=t.states[n.invokingState].transitions[0];if(L=t.nextTokens(u.followState),L.contains(e))return!0;n=n.parentCtx}return!!(L.contains(f2.EPSILON)&&e===f2.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)}getRuleIndex(e){const t=this.getRuleIndexMap()[e];return t!==null?t:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const t=[];for(;e!==null;){const n=e.ruleIndex;n<0?t.push("n/a"):t.push(this.ruleNames[n]),e=e.parentCtx}return t}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let t=0;t<this._interp.decisionToDFA.length;t++){const n=this._interp.decisionToDFA[t];n.states.length>0&&(e&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new C_(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};wa.bypassAltsAtnCache={};class u_{constructor(){this.cache=new j8}add(e){if(e===J2.EMPTY)return J2.EMPTY;const t=this.cache.get(e)||null;return t!==null?t:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class Ma extends S9{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return h1.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new h1(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===f2.EOF?"<EOF>":this.symbol.text}}class Sa extends Ma{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}let ya=class extends Z5{constructor(e,t){e=e||null,t=t||null,super(e,t),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(t){t instanceof Sa&&(this.children.push(t),t.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const t=new Ma(e);return this.addChild(t),t.parentCtx=this,t}addErrorNode(e){const t=new Sa(e);return this.addChild(t),t.parentCtx=this,t}getChild(e,t){if(t=t||null,this.children===null||e<0||e>=this.children.length)return null;if(t===null)return this.children[e];for(let n=0;n<this.children.length;n++){const r=this.children[n];if(r instanceof t){if(e===0)return r;e-=1}}return null}getToken(e,t){if(this.children===null||t<0||t>=this.children.length)return null;for(let n=0;n<this.children.length;n++){const r=this.children[n];if(r instanceof S9&&r.symbol.type===e){if(t===0)return r;t-=1}}return null}getTokens(e){if(this.children===null)return[];{const t=[];for(let n=0;n<this.children.length;n++){const r=this.children[n];r instanceof S9&&r.symbol.type===e&&t.push(r)}return t}}getTypedRuleContext(e,t){return this.getChild(t,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const t=[];for(let n=0;n<this.children.length;n++){const r=this.children[n];r instanceof e&&t.push(r)}return t}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?h1.INVALID_INTERVAL:new h1(this.start.tokenIndex,this.stop.tokenIndex)}};Z5.EMPTY=new ya;const j={atn:Qp,dfa:Kp,tree:e_,error:s_,Token:f2,CommonToken:q0,CharStreams:r_,InputStream:Y0,FileStream:l_,CommonTokenStream:c_,Lexer:F3,Parser:wa,PredictionContextCache:u_,ParserRuleContext:ya,Interval:h1,IntervalSet:b4,LL1Analyzer:E5,Utils:{arrayToString:n0}},d_=[4,0,71,586,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,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,1,0,1,0,1,1,4,1,157,8,1,11,1,12,1,158,1,1,1,1,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,3,1,3,1,4,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,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,10,1,11,1,11,1,12,1,12,4,12,225,8,12,11,12,12,12,226,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,17,1,17,1,18,1,18,1,19,1,19,1,19,1,20,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,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,297,8,37,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,3,40,333,8,40,1,41,1,41,1,41,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,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,381,8,47,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,427,8,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,455,8,55,1,56,1,56,5,56,459,8,56,10,56,12,56,462,9,56,1,57,1,57,1,58,1,58,5,58,468,8,58,10,58,12,58,471,9,58,1,59,4,59,474,8,59,11,59,12,59,475,1,60,1,60,1,61,4,61,481,8,61,11,61,12,61,482,1,62,4,62,486,8,62,11,62,12,62,487,1,62,1,62,5,62,492,8,62,10,62,12,62,495,9,62,1,62,1,62,4,62,499,8,62,11,62,12,62,500,3,62,503,8,62,1,63,1,63,1,63,3,63,508,8,63,1,64,1,64,3,64,512,8,64,1,64,1,64,1,65,1,65,1,65,1,65,5,65,520,8,65,10,65,12,65,523,9,65,1,65,1,65,1,66,1,66,1,66,1,66,5,66,531,8,66,10,66,12,66,534,9,66,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,5,68,544,8,68,10,68,12,68,547,9,68,1,68,1,68,1,69,1,69,1,70,1,70,5,70,555,8,70,10,70,12,70,558,9,70,1,70,1,70,1,70,1,70,5,70,564,8,70,10,70,12,70,567,9,70,1,71,4,71,570,8,71,11,71,12,71,571,1,72,1,72,1,72,1,72,1,73,4,73,579,8,73,11,73,12,73,580,1,74,1,74,1,74,1,74,0,0,75,3,0,5,1,7,2,9,3,11,4,13,5,15,6,17,7,19,8,21,9,23,10,25,0,27,11,29,12,31,13,33,14,35,15,37,16,39,17,41,18,43,19,45,20,47,21,49,22,51,23,53,24,55,25,57,26,59,27,61,28,63,29,65,30,67,31,69,32,71,33,73,34,75,35,77,36,79,37,81,38,83,39,85,40,87,41,89,42,91,43,93,44,95,45,97,46,99,47,101,48,103,49,105,50,107,51,109,52,111,53,113,54,115,55,117,56,119,57,121,0,123,0,125,58,127,59,129,60,131,61,133,62,135,63,137,64,139,65,141,66,143,67,145,68,147,69,149,70,151,71,3,0,1,2,9,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,649,0,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6988,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92784,92862,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,122624,122654,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,693,0,48,57,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1632,1641,1646,1647,1649,1747,1749,1749,1765,1766,1774,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1984,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2406,2415,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2534,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2662,2671,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2790,2799,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2918,2927,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3046,3055,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3174,3183,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3302,3311,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3430,3439,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3558,3567,3585,3632,3634,3635,3648,3654,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3807,3840,3840,3872,3881,3904,3911,3913,3948,3976,3980,4096,4138,4159,4169,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4240,4249,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6112,6121,6160,6169,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6678,6688,6740,6784,6793,6800,6809,6823,6823,6917,6963,6981,6988,6992,7001,7043,7072,7086,7141,7168,7203,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43216,43225,43250,43255,43259,43259,43261,43262,43264,43301,43312,43334,43360,43388,43396,43442,43471,43481,43488,43492,43494,43518,43520,43560,43584,43586,43588,43595,43600,43609,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65296,65305,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,68912,68921,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69734,69743,69745,69746,69749,69749,69763,69807,69840,69864,69872,69881,69891,69926,69942,69951,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70096,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70384,70393,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70736,70745,70751,70753,70784,70831,70852,70853,70855,70855,70864,70873,71040,71086,71128,71131,71168,71215,71236,71236,71248,71257,71296,71338,71352,71352,71360,71369,71424,71450,71472,71481,71488,71494,71680,71723,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72016,72025,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72784,72793,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73040,73049,73056,73061,73063,73064,73066,73097,73112,73112,73120,73129,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,92880,92909,92928,92975,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,122624,122654,123136,123180,123191,123197,123200,123209,123214,123214,123536,123565,123584,123627,123632,123641,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,130032,130041,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,2,0,65,90,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,610,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,23,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,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,1,145,1,0,0,0,1,147,1,0,0,0,2,149,1,0,0,0,2,151,1,0,0,0,3,153,1,0,0,0,5,156,1,0,0,0,7,162,1,0,0,0,9,170,1,0,0,0,11,181,1,0,0,0,13,190,1,0,0,0,15,198,1,0,0,0,17,207,1,0,0,0,19,211,1,0,0,0,21,214,1,0,0,0,23,217,1,0,0,0,25,220,1,0,0,0,27,222,1,0,0,0,29,228,1,0,0,0,31,231,1,0,0,0,33,234,1,0,0,0,35,237,1,0,0,0,37,240,1,0,0,0,39,242,1,0,0,0,41,244,1,0,0,0,43,247,1,0,0,0,45,250,1,0,0,0,47,252,1,0,0,0,49,254,1,0,0,0,51,256,1,0,0,0,53,258,1,0,0,0,55,260,1,0,0,0,57,262,1,0,0,0,59,264,1,0,0,0,61,266,1,0,0,0,63,268,1,0,0,0,65,270,1,0,0,0,67,272,1,0,0,0,69,274,1,0,0,0,71,276,1,0,0,0,73,278,1,0,0,0,75,283,1,0,0,0,77,296,1,0,0,0,79,298,1,0,0,0,81,301,1,0,0,0,83,332,1,0,0,0,85,334,1,0,0,0,87,341,1,0,0,0,89,345,1,0,0,0,91,349,1,0,0,0,93,355,1,0,0,0,95,359,1,0,0,0,97,380,1,0,0,0,99,382,1,0,0,0,101,386,1,0,0,0,103,389,1,0,0,0,105,393,1,0,0,0,107,399,1,0,0,0,109,407,1,0,0,0,111,426,1,0,0,0,113,454,1,0,0,0,115,456,1,0,0,0,117,463,1,0,0,0,119,465,1,0,0,0,121,473,1,0,0,0,123,477,1,0,0,0,125,480,1,0,0,0,127,502,1,0,0,0,129,504,1,0,0,0,131,511,1,0,0,0,133,515,1,0,0,0,135,526,1,0,0,0,137,535,1,0,0,0,139,539,1,0,0,0,141,550,1,0,0,0,143,552,1,0,0,0,145,569,1,0,0,0,147,573,1,0,0,0,149,578,1,0,0,0,151,582,1,0,0,0,153,154,7,0,0,0,154,4,1,0,0,0,155,157,3,3,0,0,156,155,1,0,0,0,157,158,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,160,1,0,0,0,160,161,6,1,0,0,161,6,1,0,0,0,162,163,5,99,0,0,163,164,5,111,0,0,164,165,5,110,0,0,165,166,5,115,0,0,166,167,5,116,0,0,167,168,1,0,0,0,168,169,6,2,1,0,169,8,1,0,0,0,170,171,5,114,0,0,171,172,5,101,0,0,172,173,5,97,0,0,173,174,5,100,0,0,174,175,5,111,0,0,175,176,5,110,0,0,176,177,5,108,0,0,177,178,5,121,0,0,178,179,1,0,0,0,179,180,6,3,1,0,180,10,1,0,0,0,181,182,5,115,0,0,182,183,5,116,0,0,183,184,5,97,0,0,184,185,5,116,0,0,185,186,5,105,0,0,186,187,5,99,0,0,187,188,1,0,0,0,188,189,6,4,1,0,189,12,1,0,0,0,190,191,5,97,0,0,191,192,5,119,0,0,192,193,5,97,0,0,193,194,5,105,0,0,194,195,5,116,0,0,195,196,1,0,0,0,196,197,6,5,1,0,197,14,1,0,0,0,198,199,4,6,0,0,199,200,5,116,0,0,200,201,5,105,0,0,201,202,5,116,0,0,202,203,5,108,0,0,203,204,5,101,0,0,204,205,1,0,0,0,205,206,6,6,2,0,206,16,1,0,0,0,207,208,5,58,0,0,208,209,1,0,0,0,209,210,6,7,3,0,210,18,1,0,0,0,211,212,5,60,0,0,212,213,5,60,0,0,213,20,1,0,0,0,214,215,5,62,0,0,215,216,5,62,0,0,216,22,1,0,0,0,217,218,5,45,0,0,218,219,5,62,0,0,219,24,1,0,0,0,220,221,7,1,0,0,221,26,1,0,0,0,222,224,5,35,0,0,223,225,3,25,11,0,224,223,1,0,0,0,225,226,1,0,0,0,226,224,1,0,0,0,226,227,1,0,0,0,227,28,1,0,0,0,228,229,5,124,0,0,229,230,5,124,0,0,230,30,1,0,0,0,231,232,5,38,0,0,232,233,5,38,0,0,233,32,1,0,0,0,234,235,5,61,0,0,235,236,5,61,0,0,236,34,1,0,0,0,237,238,5,33,0,0,238,239,5,61,0,0,239,36,1,0,0,0,240,241,5,62,0,0,241,38,1,0,0,0,242,243,5,60,0,0,243,40,1,0,0,0,244,245,5,62,0,0,245,246,5,61,0,0,246,42,1,0,0,0,247,248,5,60,0,0,248,249,5,61,0,0,249,44,1,0,0,0,250,251,5,43,0,0,251,46,1,0,0,0,252,253,5,45,0,0,253,48,1,0,0,0,254,255,5,42,0,0,255,50,1,0,0,0,256,257,5,47,0,0,257,52,1,0,0,0,258,259,5,37,0,0,259,54,1,0,0,0,260,261,5,94,0,0,261,56,1,0,0,0,262,263,5,33,0,0,263,58,1,0,0,0,264,265,5,59,0,0,265,60,1,0,0,0,266,267,5,44,0,0,267,62,1,0,0,0,268,269,5,61,0,0,269,64,1,0,0,0,270,271,5,40,0,0,271,66,1,0,0,0,272,273,5,41,0,0,273,68,1,0,0,0,274,275,5,123,0,0,275,70,1,0,0,0,276,277,5,125,0,0,277,72,1,0,0,0,278,279,5,116,0,0,279,280,5,114,0,0,280,281,5,117,0,0,281,282,5,101,0,0,282,74,1,0,0,0,283,284,5,102,0,0,284,285,5,97,0,0,285,286,5,108,0,0,286,287,5,115,0,0,287,288,5,101,0,0,288,76,1,0,0,0,289,290,5,110,0,0,290,291,5,105,0,0,291,297,5,108,0,0,292,293,5,110,0,0,293,294,5,117,0,0,294,295,5,108,0,0,295,297,5,108,0,0,296,289,1,0,0,0,296,292,1,0,0,0,297,78,1,0,0,0,298,299,5,105,0,0,299,300,5,102,0,0,300,80,1,0,0,0,301,302,5,101,0,0,302,303,5,108,0,0,303,304,5,115,0,0,304,305,5,101,0,0,305,82,1,0,0,0,306,307,5,119,0,0,307,308,5,104,0,0,308,309,5,105,0,0,309,310,5,108,0,0,310,333,5,101,0,0,311,312,5,102,0,0,312,313,5,111,0,0,313,333,5,114,0,0,314,315,5,102,0,0,315,316,5,111,0,0,316,317,5,114,0,0,317,318,5,101,0,0,318,319,5,97,0,0,319,320,5,99,0,0,320,333,5,104,0,0,321,322,5,102,0,0,322,323,5,111,0,0,323,324,5,114,0,0,324,325,5,69,0,0,325,326,5,97,0,0,326,327,5,99,0,0,327,333,5,104,0,0,328,329,5,108,0,0,329,330,5,111,0,0,330,331,5,111,0,0,331,333,5,112,0,0,332,306,1,0,0,0,332,311,1,0,0,0,332,314,1,0,0,0,332,321,1,0,0,0,332,328,1,0,0,0,333,84,1,0,0,0,334,335,5,114,0,0,335,336,5,101,0,0,336,337,5,116,0,0,337,338,5,117,0,0,338,339,5,114,0,0,339,340,5,110,0,0,340,86,1,0,0,0,341,342,5,110,0,0,342,343,5,101,0,0,343,344,5,119,0,0,344,88,1,0,0,0,345,346,5,112,0,0,346,347,5,97,0,0,347,348,5,114,0,0,348,90,1,0,0,0,349,350,5,103,0,0,350,351,5,114,0,0,351,352,5,111,0,0,352,353,5,117,0,0,353,354,5,112,0,0,354,92,1,0,0,0,355,356,5,111,0,0,356,357,5,112,0,0,357,358,5,116,0,0,358,94,1,0,0,0,359,360,5,99,0,0,360,361,5,114,0,0,361,362,5,105,0,0,362,363,5,116,0,0,363,364,5,105,0,0,364,365,5,99,0,0,365,366,5,97,0,0,366,367,5,108,0,0,367,96,1,0,0,0,368,369,5,115,0,0,369,370,5,101,0,0,370,371,5,99,0,0,371,372,5,116,0,0,372,373,5,105,0,0,373,374,5,111,0,0,374,381,5,110,0,0,375,376,5,102,0,0,376,377,5,114,0,0,377,378,5,97,0,0,378,379,5,109,0,0,379,381,5,101,0,0,380,368,1,0,0,0,380,375,1,0,0,0,381,98,1,0,0,0,382,383,5,114,0,0,383,384,5,101,0,0,384,385,5,102,0,0,385,100,1,0,0,0,386,387,5,97,0,0,387,388,5,115,0,0,388,102,1,0,0,0,389,390,5,116,0,0,390,391,5,114,0,0,391,392,5,121,0,0,392,104,1,0,0,0,393,394,5,99,0,0,394,395,5,97,0,0,395,396,5,116,0,0,396,397,5,99,0,0,397,398,5,104,0,0,398,106,1,0,0,0,399,400,5,102,0,0,400,401,5,105,0,0,401,402,5,110,0,0,402,403,5,97,0,0,403,404,5,108,0,0,404,405,5,108,0,0,405,406,5,121,0,0,406,108,1,0,0,0,407,408,5,105,0,0,408,409,5,110,0,0,409,110,1,0,0,0,410,411,5,64,0,0,411,412,5,83,0,0,412,413,5,116,0,0,413,414,5,97,0,0,414,415,5,114,0,0,415,416,5,116,0,0,416,417,5,101,0,0,417,427,5,114,0,0,418,419,5,64,0,0,419,420,5,115,0,0,420,421,5,116,0,0,421,422,5,97,0,0,422,423,5,114,0,0,423,424,5,116,0,0,424,425,5,101,0,0,425,427,5,114,0,0,426,410,1,0,0,0,426,418,1,0,0,0,427,112,1,0,0,0,428,429,5,64,0,0,429,430,5,82,0,0,430,431,5,101,0,0,431,432,5,116,0,0,432,433,5,117,0,0,433,434,5,114,0,0,434,455,5,110,0,0,435,436,5,64,0,0,436,437,5,114,0,0,437,438,5,101,0,0,438,439,5,116,0,0,439,440,5,117,0,0,440,441,5,114,0,0,441,455,5,110,0,0,442,443,5,64,0,0,443,444,5,82,0,0,444,445,5,101,0,0,445,446,5,112,0,0,446,447,5,108,0,0,447,455,5,121,0,0,448,449,5,64,0,0,449,450,5,114,0,0,450,451,5,101,0,0,451,452,5,112,0,0,452,453,5,108,0,0,453,455,5,121,0,0,454,428,1,0,0,0,454,435,1,0,0,0,454,442,1,0,0,0,454,448,1,0,0,0,455,114,1,0,0,0,456,460,5,64,0,0,457,459,7,2,0,0,458,457,1,0,0,0,459,462,1,0,0,0,460,458,1,0,0,0,460,461,1,0,0,0,461,116,1,0,0,0,462,460,1,0,0,0,463,464,5,46,0,0,464,118,1,0,0,0,465,469,7,3,0,0,466,468,7,4,0,0,467,466,1,0,0,0,468,471,1,0,0,0,469,467,1,0,0,0,469,470,1,0,0,0,470,120,1,0,0,0,471,469,1,0,0,0,472,474,7,5,0,0,473,472,1,0,0,0,474,475,1,0,0,0,475,473,1,0,0,0,475,476,1,0,0,0,476,122,1,0,0,0,477,478,7,6,0,0,478,124,1,0,0,0,479,481,3,123,60,0,480,479,1,0,0,0,481,482,1,0,0,0,482,480,1,0,0,0,482,483,1,0,0,0,483,126,1,0,0,0,484,486,3,123,60,0,485,484,1,0,0,0,486,487,1,0,0,0,487,485,1,0,0,0,487,488,1,0,0,0,488,489,1,0,0,0,489,493,5,46,0,0,490,492,3,123,60,0,491,490,1,0,0,0,492,495,1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0,494,503,1,0,0,0,495,493,1,0,0,0,496,498,5,46,0,0,497,499,3,123,60,0,498,497,1,0,0,0,499,500,1,0,0,0,500,498,1,0,0,0,500,501,1,0,0,0,501,503,1,0,0,0,502,485,1,0,0,0,502,496,1,0,0,0,503,128,1,0,0,0,504,507,5,36,0,0,505,508,3,125,61,0,506,508,3,127,62,0,507,505,1,0,0,0,507,506,1,0,0,0,508,130,1,0,0,0,509,512,3,125,61,0,510,512,3,127,62,0,511,509,1,0,0,0,511,510,1,0,0,0,512,513,1,0,0,0,513,514,3,121,59,0,514,132,1,0,0,0,515,521,5,34,0,0,516,517,5,34,0,0,517,520,5,34,0,0,518,520,8,7,0,0,519,516,1,0,0,0,519,518,1,0,0,0,520,523,1,0,0,0,521,519,1,0,0,0,521,522,1,0,0,0,522,524,1,0,0,0,523,521,1,0,0,0,524,525,5,34,0,0,525,134,1,0,0,0,526,532,5,34,0,0,527,528,5,34,0,0,528,531,5,34,0,0,529,531,8,7,0,0,530,527,1,0,0,0,530,529,1,0,0,0,531,534,1,0,0,0,532,530,1,0,0,0,532,533,1,0,0,0,533,136,1,0,0,0,534,532,1,0,0,0,535,536,7,8,0,0,536,537,1,0,0,0,537,538,6,67,0,0,538,138,1,0,0,0,539,540,5,47,0,0,540,541,5,47,0,0,541,545,1,0,0,0,542,544,8,8,0,0,543,542,1,0,0,0,544,547,1,0,0,0,545,543,1,0,0,0,545,546,1,0,0,0,546,548,1,0,0,0,547,545,1,0,0,0,548,549,6,68,4,0,549,140,1,0,0,0,550,551,9,0,0,0,551,142,1,0,0,0,552,556,4,70,1,0,553,555,3,3,0,0,554,553,1,0,0,0,555,558,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,559,1,0,0,0,558,556,1,0,0,0,559,560,5,61,0,0,560,561,5,61,0,0,561,565,1,0,0,0,562,564,8,8,0,0,563,562,1,0,0,0,564,567,1,0,0,0,565,563,1,0,0,0,565,566,1,0,0,0,566,144,1,0,0,0,567,565,1,0,0,0,568,570,8,8,0,0,569,568,1,0,0,0,570,571,1,0,0,0,571,569,1,0,0,0,571,572,1,0,0,0,572,146,1,0,0,0,573,574,7,8,0,0,574,575,1,0,0,0,575,576,6,72,5,0,576,148,1,0,0,0,577,579,8,8,0,0,578,577,1,0,0,0,579,580,1,0,0,0,580,578,1,0,0,0,580,581,1,0,0,0,581,150,1,0,0,0,582,583,7,8,0,0,583,584,1,0,0,0,584,585,6,74,5,0,585,152,1,0,0,0,29,0,1,2,158,226,296,332,380,426,454,460,469,475,482,487,493,500,502,507,511,519,521,530,532,545,556,565,571,580,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],Qn=new j.atn.ATNDeserializer().deserialize(d_),h_=Qn.decisionToState.map((o,e)=>new j.dfa.DFA(o,e));class g2 extends j.Lexer{constructor(e){super(e),this._interp=new j.atn.LexerATNSimulator(this,Qn,h_,new j.PredictionContextCache),this.isTitle=function(){const t=this._tokenStartCharIndex;if(this._input.getText(0,t-1).replace(/\/\/[^\n]*(?:\n|$)/g,"").trim().length)return!1;const r=32,L=9,c=-1,u=46,d=61,f=40;let g=6,p=this._input.LA(g);for(;p===r||p===L;)++g,p=this._input.LA(g);return p===c||p!==u&&p!==d&&p!==f}}get atn(){return Qn}}c2(g2,"grammarFileName","sequenceLexer.g4"),c2(g2,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),c2(g2,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),c2(g2,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),c2(g2,"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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),c2(g2,"ruleNames",["HWS","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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","UNIT","DIGIT","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),g2.EOF=j.Token.EOF,g2.WS=1,g2.CONSTANT=2,g2.READONLY=3,g2.STATIC=4,g2.AWAIT=5,g2.TITLE=6,g2.COL=7,g2.SOPEN=8,g2.SCLOSE=9,g2.ARROW=10,g2.COLOR=11,g2.OR=12,g2.AND=13,g2.EQ=14,g2.NEQ=15,g2.GT=16,g2.LT=17,g2.GTEQ=18,g2.LTEQ=19,g2.PLUS=20,g2.MINUS=21,g2.MULT=22,g2.DIV=23,g2.MOD=24,g2.POW=25,g2.NOT=26,g2.SCOL=27,g2.COMMA=28,g2.ASSIGN=29,g2.OPAR=30,g2.CPAR=31,g2.OBRACE=32,g2.CBRACE=33,g2.TRUE=34,g2.FALSE=35,g2.NIL=36,g2.IF=37,g2.ELSE=38,g2.WHILE=39,g2.RETURN=40,g2.NEW=41,g2.PAR=42,g2.GROUP=43,g2.OPT=44,g2.CRITICAL=45,g2.SECTION=46,g2.REF=47,g2.AS=48,g2.TRY=49,g2.CATCH=50,g2.FINALLY=51,g2.IN=52,g2.STARTER_LXR=53,g2.ANNOTATION_RET=54,g2.ANNOTATION=55,g2.DOT=56,g2.ID=57,g2.INT=58,g2.FLOAT=59,g2.MONEY=60,g2.NUMBER_UNIT=61,g2.CSTRING=62,g2.USTRING=63,g2.CR=64,g2.COMMENT=65,g2.OTHER=66,g2.DIVIDER=67,g2.EVENT_PAYLOAD_LXR=68,g2.EVENT_END=69,g2.TITLE_CONTENT=70,g2.TITLE_END=71,g2.COMMENT_CHANNEL=2,g2.MODIFIER_CHANNEL=3,g2.EVENT=1,g2.TITLE_MODE=2,g2.prototype.sempred=function(o,e,t){switch(e){case 6:return this.TITLE_sempred(o,t);case 70:return this.DIVIDER_sempred(o,t);default:throw"No registered predicate for:"+e}},g2.prototype.TITLE_sempred=function(o,e){switch(e){case 0:return this.isTitle();default:throw"No predicate with index:"+e}},g2.prototype.DIVIDER_sempred=function(o,e){switch(e){case 1:return this.column===0;default:throw"No predicate with index:"+e}};class q extends j.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCritical(e){}exitCritical(e){}enterSection(e){}exitSection(e){}enterCreation(e){}exitCreation(e){}enterRef(e){}exitRef(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFromTo(e){}exitFromTo(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterNamedParameter(e){}exitNamedParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterNumberUnitAtom(e){}exitNumberUnitAtom(e){}enterMoneyAtom(e){}exitMoneyAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}enterTextExpr(e){}exitTextExpr(e){}}const f_=[4,1,71,613,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,1,0,3,0,120,8,0,1,0,1,0,3,0,124,8,0,1,0,1,0,1,0,1,0,3,0,130,8,0,1,0,3,0,133,8,0,1,0,1,0,1,0,3,0,138,8,0,1,1,1,1,3,1,142,8,1,1,1,3,1,145,8,1,1,2,1,2,4,2,149,8,2,11,2,12,2,150,1,2,1,2,5,2,155,8,2,10,2,12,2,158,9,2,1,2,3,2,161,8,2,1,3,1,3,3,3,165,8,3,1,3,1,3,5,3,169,8,3,10,3,12,3,172,9,3,1,3,3,3,175,8,3,3,3,177,8,3,1,4,1,4,1,4,3,4,182,8,4,1,4,3,4,185,8,4,1,4,3,4,188,8,4,1,5,1,5,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,1,6,3,6,200,8,6,1,6,3,6,203,8,6,1,6,3,6,206,8,6,1,6,1,6,3,6,210,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,219,8,7,1,7,1,7,3,7,223,8,7,3,7,225,8,7,1,8,1,8,1,8,3,8,230,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,239,8,12,11,12,12,12,240,1,13,1,13,3,13,245,8,13,1,13,3,13,248,8,13,1,13,1,13,1,13,3,13,253,8,13,3,13,255,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,1,16,1,16,1,16,3,16,272,8,16,1,16,1,16,1,16,3,16,277,8,16,1,17,1,17,3,17,281,8,17,1,17,1,17,3,17,285,8,17,1,18,1,18,3,18,289,8,18,1,18,1,18,3,18,293,8,18,1,19,1,19,3,19,297,8,19,1,19,1,19,3,19,301,8,19,1,20,1,20,1,20,3,20,306,8,20,1,20,3,20,309,8,20,1,20,1,20,1,20,3,20,314,8,20,1,21,1,21,1,21,3,21,319,8,21,1,22,1,22,1,22,1,22,1,22,5,22,326,8,22,10,22,12,22,329,9,22,5,22,331,8,22,10,22,12,22,334,9,22,1,22,1,22,3,22,338,8,22,1,23,3,23,341,8,23,1,23,1,23,1,23,1,23,3,23,347,8,23,1,23,3,23,350,8,23,1,23,3,23,353,8,23,1,23,3,23,356,8,23,1,24,1,24,1,24,3,24,361,8,24,1,25,1,25,1,25,3,25,366,8,25,1,25,3,25,369,8,25,1,25,1,25,3,25,373,8,25,1,25,3,25,376,8,25,1,26,1,26,1,26,3,26,381,8,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,389,8,27,10,27,12,27,392,9,27,1,28,1,28,1,29,1,29,1,30,1,30,3,30,400,8,30,1,31,1,31,3,31,404,8,31,1,31,1,31,1,32,3,32,409,8,32,1,32,1,32,1,32,1,33,1,33,1,33,3,33,417,8,33,1,33,1,33,1,33,3,33,422,8,33,1,33,1,33,1,33,3,33,427,8,33,3,33,429,8,33,1,34,1,34,1,35,1,35,1,36,1,36,1,37,1,37,1,37,1,37,5,37,441,8,37,10,37,12,37,444,9,37,1,37,1,37,1,37,3,37,449,8,37,1,38,1,38,1,39,1,39,1,39,5,39,456,8,39,10,39,12,39,459,9,39,1,39,3,39,462,8,39,1,40,1,40,1,40,3,40,467,8,40,1,41,1,41,1,41,3,41,472,8,41,1,42,1,42,1,42,1,43,1,43,5,43,479,8,43,10,43,12,43,482,9,43,1,43,3,43,485,8,43,1,44,1,44,1,44,1,45,1,45,3,45,492,8,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,5,47,501,8,47,10,47,12,47,504,9,47,1,47,3,47,507,8,47,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,3,51,523,8,51,1,51,1,51,1,52,1,52,3,52,529,8,52,1,52,3,52,532,8,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,543,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,554,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,5,53,577,8,53,10,53,12,53,580,9,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,589,8,54,1,55,1,55,3,55,593,8,55,1,55,3,55,596,8,55,1,56,1,56,1,56,1,56,3,56,602,8,56,1,57,1,57,1,57,1,57,1,58,4,58,609,8,58,11,58,12,58,610,1,58,0,1,106,59,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,106,108,110,112,114,116,0,11,2,0,8,8,17,17,2,0,9,9,16,16,2,0,57,57,62,63,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,58,59,1,0,34,35,1,0,62,63,684,0,137,1,0,0,0,2,139,1,0,0,0,4,160,1,0,0,0,6,162,1,0,0,0,8,187,1,0,0,0,10,189,1,0,0,0,12,209,1,0,0,0,14,224,1,0,0,0,16,229,1,0,0,0,18,231,1,0,0,0,20,233,1,0,0,0,22,235,1,0,0,0,24,238,1,0,0,0,26,254,1,0,0,0,28,256,1,0,0,0,30,258,1,0,0,0,32,276,1,0,0,0,34,284,1,0,0,0,36,292,1,0,0,0,38,300,1,0,0,0,40,313,1,0,0,0,42,315,1,0,0,0,44,320,1,0,0,0,46,355,1,0,0,0,48,357,1,0,0,0,50,375,1,0,0,0,52,380,1,0,0,0,54,385,1,0,0,0,56,393,1,0,0,0,58,395,1,0,0,0,60,397,1,0,0,0,62,401,1,0,0,0,64,408,1,0,0,0,66,428,1,0,0,0,68,430,1,0,0,0,70,432,1,0,0,0,72,434,1,0,0,0,74,448,1,0,0,0,76,450,1,0,0,0,78,452,1,0,0,0,80,466,1,0,0,0,82,468,1,0,0,0,84,473,1,0,0,0,86,476,1,0,0,0,88,486,1,0,0,0,90,489,1,0,0,0,92,495,1,0,0,0,94,498,1,0,0,0,96,508,1,0,0,0,98,512,1,0,0,0,100,517,1,0,0,0,102,520,1,0,0,0,104,526,1,0,0,0,106,553,1,0,0,0,108,588,1,0,0,0,110,590,1,0,0,0,112,601,1,0,0,0,114,603,1,0,0,0,116,608,1,0,0,0,118,120,3,2,1,0,119,118,1,0,0,0,119,120,1,0,0,0,120,121,1,0,0,0,121,138,5,0,0,1,122,124,3,2,1,0,123,122,1,0,0,0,123,124,1,0,0,0,124,125,1,0,0,0,125,126,3,4,2,0,126,127,5,0,0,1,127,138,1,0,0,0,128,130,3,2,1,0,129,128,1,0,0,0,129,130,1,0,0,0,130,132,1,0,0,0,131,133,3,4,2,0,132,131,1,0,0,0,132,133,1,0,0,0,133,134,1,0,0,0,134,135,3,24,12,0,135,136,5,0,0,1,136,138,1,0,0,0,137,119,1,0,0,0,137,123,1,0,0,0,137,129,1,0,0,0,138,1,1,0,0,0,139,141,5,6,0,0,140,142,5,70,0,0,141,140,1,0,0,0,141,142,1,0,0,0,142,144,1,0,0,0,143,145,5,71,0,0,144,143,1,0,0,0,144,145,1,0,0,0,145,3,1,0,0,0,146,149,3,6,3,0,147,149,3,12,6,0,148,146,1,0,0,0,148,147,1,0,0,0,149,150,1,0,0,0,150,148,1,0,0,0,150,151,1,0,0,0,151,161,1,0,0,0,152,155,3,6,3,0,153,155,3,12,6,0,154,152,1,0,0,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,161,3,8,4,0,160,148,1,0,0,0,160,156,1,0,0,0,161,5,1,0,0,0,162,164,5,43,0,0,163,165,3,20,10,0,164,163,1,0,0,0,164,165,1,0,0,0,165,176,1,0,0,0,166,170,5,32,0,0,167,169,3,12,6,0,168,167,1,0,0,0,169,172,1,0,0,0,170,168,1,0,0,0,170,171,1,0,0,0,171,174,1,0,0,0,172,170,1,0,0,0,173,175,5,33,0,0,174,173,1,0,0,0,174,175,1,0,0,0,175,177,1,0,0,0,176,166,1,0,0,0,176,177,1,0,0,0,177,7,1,0,0,0,178,184,5,53,0,0,179,181,5,30,0,0,180,182,3,10,5,0,181,180,1,0,0,0,181,182,1,0,0,0,182,183,1,0,0,0,183,185,5,31,0,0,184,179,1,0,0,0,184,185,1,0,0,0,185,188,1,0,0,0,186,188,5,55,0,0,187,178,1,0,0,0,187,186,1,0,0,0,188,9,1,0,0,0,189,190,3,20,10,0,190,11,1,0,0,0,191,193,3,18,9,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,14,7,0,195,194,1,0,0,0,195,196,1,0,0,0,196,197,1,0,0,0,197,199,3,20,10,0,198,200,3,22,11,0,199,198,1,0,0,0,199,200,1,0,0,0,200,202,1,0,0,0,201,203,3,16,8,0,202,201,1,0,0,0,202,203,1,0,0,0,203,205,1,0,0,0,204,206,5,11,0,0,205,204,1,0,0,0,205,206,1,0,0,0,206,210,1,0,0,0,207,210,3,14,7,0,208,210,3,18,9,0,209,192,1,0,0,0,209,207,1,0,0,0,209,208,1,0,0,0,210,13,1,0,0,0,211,212,5,8,0,0,212,213,3,20,10,0,213,214,5,9,0,0,214,225,1,0,0,0,215,216,5,8,0,0,216,218,3,20,10,0,217,219,5,16,0,0,218,217,1,0,0,0,218,219,1,0,0,0,219,225,1,0,0,0,220,222,7,0,0,0,221,223,7,1,0,0,222,221,1,0,0,0,222,223,1,0,0,0,223,225,1,0,0,0,224,211,1,0,0,0,224,215,1,0,0,0,224,220,1,0,0,0,225,15,1,0,0,0,226,227,5,48,0,0,227,230,3,20,10,0,228,230,5,48,0,0,229,226,1,0,0,0,229,228,1,0,0,0,230,17,1,0,0,0,231,232,5,55,0,0,232,19,1,0,0,0,233,234,7,2,0,0,234,21,1,0,0,0,235,236,5,58,0,0,236,23,1,0,0,0,237,239,3,32,16,0,238,237,1,0,0,0,239,240,1,0,0,0,240,238,1,0,0,0,240,241,1,0,0,0,241,25,1,0,0,0,242,244,5,40,0,0,243,245,3,106,53,0,244,243,1,0,0,0,244,245,1,0,0,0,245,247,1,0,0,0,246,248,5,27,0,0,247,246,1,0,0,0,247,248,1,0,0,0,248,255,1,0,0,0,249,250,5,54,0,0,250,252,3,66,33,0,251,253,5,69,0,0,252,251,1,0,0,0,252,253,1,0,0,0,253,255,1,0,0,0,254,242,1,0,0,0,254,249,1,0,0,0,255,27,1,0,0,0,256,257,3,30,15,0,257,29,1,0,0,0,258,259,5,67,0,0,259,31,1,0,0,0,260,277,3,94,47,0,261,277,3,34,17,0,262,277,3,36,18,0,263,277,3,38,19,0,264,277,3,40,20,0,265,277,3,44,22,0,266,277,3,104,52,0,267,277,3,42,21,0,268,277,3,48,24,0,269,271,3,66,33,0,270,272,5,69,0,0,271,270,1,0,0,0,271,272,1,0,0,0,272,277,1,0,0,0,273,277,3,26,13,0,274,277,3,28,14,0,275,277,3,86,43,0,276,260,1,0,0,0,276,261,1,0,0,0,276,262,1,0,0,0,276,263,1,0,0,0,276,264,1,0,0,0,276,265,1,0,0,0,276,266,1,0,0,0,276,267,1,0,0,0,276,268,1,0,0,0,276,269,1,0,0,0,276,273,1,0,0,0,276,274,1,0,0,0,276,275,1,0,0,0,277,33,1,0,0,0,278,280,5,42,0,0,279,281,3,110,55,0,280,279,1,0,0,0,280,281,1,0,0,0,281,282,1,0,0,0,282,285,3,102,51,0,283,285,5,42,0,0,284,278,1,0,0,0,284,283,1,0,0,0,285,35,1,0,0,0,286,288,5,44,0,0,287,289,3,110,55,0,288,287,1,0,0,0,288,289,1,0,0,0,289,290,1,0,0,0,290,293,3,102,51,0,291,293,5,44,0,0,292,286,1,0,0,0,292,291,1,0,0,0,293,37,1,0,0,0,294,296,5,45,0,0,295,297,3,110,55,0,296,295,1,0,0,0,296,297,1,0,0,0,297,298,1,0,0,0,298,301,3,102,51,0,299,301,5,45,0,0,300,294,1,0,0,0,300,299,1,0,0,0,301,39,1,0,0,0,302,308,5,46,0,0,303,305,5,30,0,0,304,306,3,108,54,0,305,304,1,0,0,0,305,306,1,0,0,0,306,307,1,0,0,0,307,309,5,31,0,0,308,303,1,0,0,0,308,309,1,0,0,0,309,310,1,0,0,0,310,314,3,102,51,0,311,314,3,102,51,0,312,314,5,46,0,0,313,302,1,0,0,0,313,311,1,0,0,0,313,312,1,0,0,0,314,41,1,0,0,0,315,318,3,46,23,0,316,319,5,27,0,0,317,319,3,102,51,0,318,316,1,0,0,0,318,317,1,0,0,0,318,319,1,0,0,0,319,43,1,0,0,0,320,321,5,47,0,0,321,322,5,30,0,0,322,332,3,20,10,0,323,327,5,28,0,0,324,326,3,20,10,0,325,324,1,0,0,0,326,329,1,0,0,0,327,325,1,0,0,0,327,328,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,330,323,1,0,0,0,331,334,1,0,0,0,332,330,1,0,0,0,332,333,1,0,0,0,333,335,1,0,0,0,334,332,1,0,0,0,335,337,5,31,0,0,336,338,5,27,0,0,337,336,1,0,0,0,337,338,1,0,0,0,338,45,1,0,0,0,339,341,3,64,32,0,340,339,1,0,0,0,340,341,1,0,0,0,341,342,1,0,0,0,342,343,5,41,0,0,343,349,3,70,35,0,344,346,5,30,0,0,345,347,3,78,39,0,346,345,1,0,0,0,346,347,1,0,0,0,347,348,1,0,0,0,348,350,5,31,0,0,349,344,1,0,0,0,349,350,1,0,0,0,350,356,1,0,0,0,351,353,3,64,32,0,352,351,1,0,0,0,352,353,1,0,0,0,353,354,1,0,0,0,354,356,5,41,0,0,355,340,1,0,0,0,355,352,1,0,0,0,356,47,1,0,0,0,357,360,3,50,25,0,358,361,5,27,0,0,359,361,3,102,51,0,360,358,1,0,0,0,360,359,1,0,0,0,360,361,1,0,0,0,361,49,1,0,0,0,362,368,3,64,32,0,363,365,3,52,26,0,364,366,3,54,27,0,365,364,1,0,0,0,365,366,1,0,0,0,366,369,1,0,0,0,367,369,3,54,27,0,368,363,1,0,0,0,368,367,1,0,0,0,368,369,1,0,0,0,369,376,1,0,0,0,370,372,3,52,26,0,371,373,3,54,27,0,372,371,1,0,0,0,372,373,1,0,0,0,373,376,1,0,0,0,374,376,3,54,27,0,375,362,1,0,0,0,375,370,1,0,0,0,375,374,1,0,0,0,376,51,1,0,0,0,377,378,3,56,28,0,378,379,5,10,0,0,379,381,1,0,0,0,380,377,1,0,0,0,380,381,1,0,0,0,381,382,1,0,0,0,382,383,3,58,29,0,383,384,5,56,0,0,384,53,1,0,0,0,385,390,3,60,30,0,386,387,5,56,0,0,387,389,3,60,30,0,388,386,1,0,0,0,389,392,1,0,0,0,390,388,1,0,0,0,390,391,1,0,0,0,391,55,1,0,0,0,392,390,1,0,0,0,393,394,3,20,10,0,394,57,1,0,0,0,395,396,3,20,10,0,396,59,1,0,0,0,397,399,3,76,38,0,398,400,3,62,31,0,399,398,1,0,0,0,399,400,1,0,0,0,400,61,1,0,0,0,401,403,5,30,0,0,402,404,3,78,39,0,403,402,1,0,0,0,403,404,1,0,0,0,404,405,1,0,0,0,405,406,5,31,0,0,406,63,1,0,0,0,407,409,3,72,36,0,408,407,1,0,0,0,408,409,1,0,0,0,409,410,1,0,0,0,410,411,3,74,37,0,411,412,5,29,0,0,412,65,1,0,0,0,413,414,3,56,28,0,414,415,5,10,0,0,415,417,1,0,0,0,416,413,1,0,0,0,416,417,1,0,0,0,417,418,1,0,0,0,418,419,3,58,29,0,419,421,5,7,0,0,420,422,3,68,34,0,421,420,1,0,0,0,421,422,1,0,0,0,422,429,1,0,0,0,423,424,3,56,28,0,424,426,7,3,0,0,425,427,3,58,29,0,426,425,1,0,0,0,426,427,1,0,0,0,427,429,1,0,0,0,428,416,1,0,0,0,428,423,1,0,0,0,429,67,1,0,0,0,430,431,5,68,0,0,431,69,1,0,0,0,432,433,3,20,10,0,433,71,1,0,0,0,434,435,3,20,10,0,435,73,1,0,0,0,436,449,3,108,54,0,437,442,5,57,0,0,438,439,5,28,0,0,439,441,5,57,0,0,440,438,1,0,0,0,441,444,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,449,1,0,0,0,444,442,1,0,0,0,445,449,5,62,0,0,446,449,5,63,0,0,447,449,5,41,0,0,448,436,1,0,0,0,448,437,1,0,0,0,448,445,1,0,0,0,448,446,1,0,0,0,448,447,1,0,0,0,449,75,1,0,0,0,450,451,3,20,10,0,451,77,1,0,0,0,452,457,3,80,40,0,453,454,5,28,0,0,454,456,3,80,40,0,455,453,1,0,0,0,456,459,1,0,0,0,457,455,1,0,0,0,457,458,1,0,0,0,458,461,1,0,0,0,459,457,1,0,0,0,460,462,5,28,0,0,461,460,1,0,0,0,461,462,1,0,0,0,462,79,1,0,0,0,463,467,3,82,41,0,464,467,3,84,42,0,465,467,3,106,53,0,466,463,1,0,0,0,466,464,1,0,0,0,466,465,1,0,0,0,467,81,1,0,0,0,468,469,5,57,0,0,469,471,5,29,0,0,470,472,3,106,53,0,471,470,1,0,0,0,471,472,1,0,0,0,472,83,1,0,0,0,473,474,3,72,36,0,474,475,5,57,0,0,475,85,1,0,0,0,476,480,3,88,44,0,477,479,3,90,45,0,478,477,1,0,0,0,479,482,1,0,0,0,480,478,1,0,0,0,480,481,1,0,0,0,481,484,1,0,0,0,482,480,1,0,0,0,483,485,3,92,46,0,484,483,1,0,0,0,484,485,1,0,0,0,485,87,1,0,0,0,486,487,5,49,0,0,487,488,3,102,51,0,488,89,1,0,0,0,489,491,5,50,0,0,490,492,3,62,31,0,491,490,1,0,0,0,491,492,1,0,0,0,492,493,1,0,0,0,493,494,3,102,51,0,494,91,1,0,0,0,495,496,5,51,0,0,496,497,3,102,51,0,497,93,1,0,0,0,498,502,3,96,48,0,499,501,3,98,49,0,500,499,1,0,0,0,501,504,1,0,0,0,502,500,1,0,0,0,502,503,1,0,0,0,503,506,1,0,0,0,504,502,1,0,0,0,505,507,3,100,50,0,506,505,1,0,0,0,506,507,1,0,0,0,507,95,1,0,0,0,508,509,5,37,0,0,509,510,3,110,55,0,510,511,3,102,51,0,511,97,1,0,0,0,512,513,5,38,0,0,513,514,5,37,0,0,514,515,3,110,55,0,515,516,3,102,51,0,516,99,1,0,0,0,517,518,5,38,0,0,518,519,3,102,51,0,519,101,1,0,0,0,520,522,5,32,0,0,521,523,3,24,12,0,522,521,1,0,0,0,522,523,1,0,0,0,523,524,1,0,0,0,524,525,5,33,0,0,525,103,1,0,0,0,526,528,5,39,0,0,527,529,3,110,55,0,528,527,1,0,0,0,528,529,1,0,0,0,529,531,1,0,0,0,530,532,3,102,51,0,531,530,1,0,0,0,531,532,1,0,0,0,532,105,1,0,0,0,533,534,6,53,-1,0,534,554,3,108,54,0,535,536,5,21,0,0,536,554,3,106,53,13,537,538,5,26,0,0,538,554,3,106,53,12,539,540,3,58,29,0,540,541,5,56,0,0,541,543,1,0,0,0,542,539,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,554,3,54,27,0,545,554,3,42,21,0,546,547,5,30,0,0,547,548,3,106,53,0,548,549,5,31,0,0,549,554,1,0,0,0,550,551,3,64,32,0,551,552,3,106,53,1,552,554,1,0,0,0,553,533,1,0,0,0,553,535,1,0,0,0,553,537,1,0,0,0,553,542,1,0,0,0,553,545,1,0,0,0,553,546,1,0,0,0,553,550,1,0,0,0,554,578,1,0,0,0,555,556,10,11,0,0,556,557,7,4,0,0,557,577,3,106,53,12,558,559,10,10,0,0,559,560,7,5,0,0,560,577,3,106,53,11,561,562,10,9,0,0,562,563,7,6,0,0,563,577,3,106,53,10,564,565,10,8,0,0,565,566,7,7,0,0,566,577,3,106,53,9,567,568,10,7,0,0,568,569,5,13,0,0,569,577,3,106,53,8,570,571,10,6,0,0,571,572,5,12,0,0,572,577,3,106,53,7,573,574,10,5,0,0,574,575,5,20,0,0,575,577,3,106,53,6,576,555,1,0,0,0,576,558,1,0,0,0,576,561,1,0,0,0,576,564,1,0,0,0,576,567,1,0,0,0,576,570,1,0,0,0,576,573,1,0,0,0,577,580,1,0,0,0,578,576,1,0,0,0,578,579,1,0,0,0,579,107,1,0,0,0,580,578,1,0,0,0,581,589,7,8,0,0,582,589,5,61,0,0,583,589,5,60,0,0,584,589,7,9,0,0,585,589,5,57,0,0,586,589,7,10,0,0,587,589,5,36,0,0,588,581,1,0,0,0,588,582,1,0,0,0,588,583,1,0,0,0,588,584,1,0,0,0,588,585,1,0,0,0,588,586,1,0,0,0,588,587,1,0,0,0,589,109,1,0,0,0,590,592,5,30,0,0,591,593,3,112,56,0,592,591,1,0,0,0,592,593,1,0,0,0,593,595,1,0,0,0,594,596,5,31,0,0,595,594,1,0,0,0,595,596,1,0,0,0,596,111,1,0,0,0,597,602,3,108,54,0,598,602,3,106,53,0,599,602,3,114,57,0,600,602,3,116,58,0,601,597,1,0,0,0,601,598,1,0,0,0,601,599,1,0,0,0,601,600,1,0,0,0,602,113,1,0,0,0,603,604,5,57,0,0,604,605,5,52,0,0,605,606,5,57,0,0,606,115,1,0,0,0,607,609,5,57,0,0,608,607,1,0,0,0,609,610,1,0,0,0,610,608,1,0,0,0,610,611,1,0,0,0,611,117,1,0,0,0,91,119,123,129,132,137,141,144,148,150,154,156,160,164,170,174,176,181,184,187,192,195,199,202,205,209,218,222,224,229,240,244,247,252,254,271,276,280,284,288,292,296,300,305,308,313,318,327,332,337,340,346,349,352,355,360,365,368,372,375,380,390,399,403,408,416,421,426,428,442,448,457,461,466,471,480,484,491,502,506,522,528,531,542,553,576,578,588,592,595,601,610],Xn=new j.atn.ATNDeserializer().deserialize(f_),g_=Xn.decisionToState.map((o,e)=>new j.dfa.DFA(o,e)),p_=new j.PredictionContextCache,N=class N extends j.Parser{constructor(e){super(e),this._interp=new j.atn.ParserATNSimulator(this,Xn,g_,p_),this.ruleNames=N.ruleNames,this.literalNames=N.literalNames,this.symbolicNames=N.symbolicNames}get atn(){return Xn}sempred(e,t,n){switch(t){case 53:return this.expr_sempred(e,n);default:throw"No predicate with index:"+t}}expr_sempred(e,t){switch(t){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:"+t}}prog(){let e=new Aa(this,this._ctx,this.state);this.enterRule(e,0,N.RULE_prog);var t=0;try{this.state=137,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=119,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=118,this.title()),this.state=121,this.match(N.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=123,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=122,this.title()),this.state=125,this.head(),this.state=126,this.match(N.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=129,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=128,this.title()),this.state=132,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,3,this._ctx);n===1&&(this.state=131,this.head()),this.state=134,this.block(),this.state=135,this.match(N.EOF);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}title(){let e=new Kn(this,this._ctx,this.state);this.enterRule(e,2,N.RULE_title);var t=0;try{this.enterOuterAlt(e,1),this.state=139,this.match(N.TITLE),this.state=141,this._errHandler.sync(this),t=this._input.LA(1),t===70&&(this.state=140,this.match(N.TITLE_CONTENT)),this.state=144,this._errHandler.sync(this),t=this._input.LA(1),t===71&&(this.state=143,this.match(N.TITLE_END))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}head(){let e=new Jn(this,this._ctx,this.state);this.enterRule(e,4,N.RULE_head);try{this.state=160,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,11,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=148,this._errHandler.sync(this);var n=1;do{switch(n){case 1:switch(this.state=148,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=146,this.group();break;case 8:case 17:case 55:case 57:case 62:case 63:this.state=147,this.participant();break;default:throw new j.error.NoViableAltException(this)}break;default:throw new j.error.NoViableAltException(this)}this.state=150,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,8,this._ctx)}while(n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=156,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,10,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=154,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=152,this.group();break;case 8:case 17:case 55:case 57:case 62:case 63:this.state=153,this.participant();break;default:throw new j.error.NoViableAltException(this)}this.state=158,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=159,this.starterExp();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}group(){let e=new W7(this,this._ctx,this.state);this.enterRule(e,6,N.RULE_group);var t=0;try{this.enterOuterAlt(e,1),this.state=162,this.match(N.GROUP),this.state=164,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,12,this._ctx);n===1&&(this.state=163,this.name()),this.state=176,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,15,this._ctx);if(n===1){this.state=166,this.match(N.OBRACE),this.state=170,this._errHandler.sync(this);for(var r=this._interp.adaptivePredict(this._input,13,this._ctx);r!=2&&r!=j.atn.ATN.INVALID_ALT_NUMBER;)r===1&&(this.state=167,this.participant()),this.state=172,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,13,this._ctx);this.state=174,this._errHandler.sync(this),t=this._input.LA(1),t===33&&(this.state=173,this.match(N.CBRACE))}}catch(L){if(L instanceof j.error.RecognitionException)e.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return e}starterExp(){let e=new ei(this,this._ctx,this.state);this.enterRule(e,8,N.RULE_starterExp);var t=0;try{switch(this.state=187,this._errHandler.sync(this),this._input.LA(1)){case 53:this.enterOuterAlt(e,1),this.state=178,this.match(N.STARTER_LXR),this.state=184,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=179,this.match(N.OPAR),this.state=181,this._errHandler.sync(this),t=this._input.LA(1),(t-57&-32)==0&&(1<<t-57&97)!==0&&(this.state=180,this.starter()),this.state=183,this.match(N.CPAR));break;case 55:this.enterOuterAlt(e,2),this.state=186,this.match(N.ANNOTATION);break;default:throw new j.error.NoViableAltException(this)}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}starter(){let e=new ti(this,this._ctx,this.state);this.enterRule(e,10,N.RULE_starter);try{this.enterOuterAlt(e,1),this.state=189,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}participant(){let e=new D5(this,this._ctx,this.state);this.enterRule(e,12,N.RULE_participant);var t=0;try{this.state=209,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,24,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=192,this._errHandler.sync(this),t=this._input.LA(1),t===55&&(this.state=191,this.participantType()),this.state=195,this._errHandler.sync(this),t=this._input.LA(1),(t===8||t===17)&&(this.state=194,this.stereotype()),this.state=197,this.name(),this.state=199,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,21,this._ctx);n===1&&(this.state=198,this.width()),this.state=202,this._errHandler.sync(this),t=this._input.LA(1),t===48&&(this.state=201,this.label()),this.state=205,this._errHandler.sync(this),t=this._input.LA(1),t===11&&(this.state=204,this.match(N.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=207,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=208,this.participantType();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}stereotype(){let e=new ni(this,this._ctx,this.state);this.enterRule(e,14,N.RULE_stereotype);var t=0;try{this.state=224,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,27,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=211,this.match(N.SOPEN),this.state=212,this.name(),this.state=213,this.match(N.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=215,this.match(N.SOPEN),this.state=216,this.name(),this.state=218,this._errHandler.sync(this),t=this._input.LA(1),t===16&&(this.state=217,this.match(N.GT));break;case 3:this.enterOuterAlt(e,3),this.state=220,t=this._input.LA(1),t===8||t===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=222,this._errHandler.sync(this),t=this._input.LA(1),(t===9||t===16)&&(this.state=221,t=this._input.LA(1),t===9||t===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}label(){let e=new ii(this,this._ctx,this.state);this.enterRule(e,16,N.RULE_label);try{this.state=229,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,28,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=226,this.match(N.AS),this.state=227,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=228,this.match(N.AS);break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}participantType(){let e=new oi(this,this._ctx,this.state);this.enterRule(e,18,N.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=231,this.match(N.ANNOTATION)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}name(){let e=new J3(this,this._ctx,this.state);this.enterRule(e,20,N.RULE_name);var t=0;try{this.enterOuterAlt(e,1),this.state=233,t=this._input.LA(1),(t-57&-32)==0&&(1<<t-57&97)!==0?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}width(){let e=new si(this,this._ctx,this.state);this.enterRule(e,22,N.RULE_width);try{this.enterOuterAlt(e,1),this.state=235,this.match(N.INT)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}block(){let e=new U7(this,this._ctx,this.state);this.enterRule(e,24,N.RULE_block);var t=0;try{this.enterOuterAlt(e,1),this.state=238,this._errHandler.sync(this),t=this._input.LA(1);do this.state=237,this.stat(),this.state=240,this._errHandler.sync(this),t=this._input.LA(1);while((t-32&-32)==0&&(1<<t-32&4265801661)!==0||t===67)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ret(){let e=new ri(this,this._ctx,this.state);this.enterRule(e,26,N.RULE_ret);var t=0;try{switch(this.state=254,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=242,this.match(N.RETURN),this.state=244,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,30,this._ctx);n===1&&(this.state=243,this.expr(0)),this.state=247,this._errHandler.sync(this),t=this._input.LA(1),t===27&&(this.state=246,this.match(N.SCOL));break;case 54:this.enterOuterAlt(e,2),this.state=249,this.match(N.ANNOTATION_RET),this.state=250,this.asyncMessage(),this.state=252,this._errHandler.sync(this),t=this._input.LA(1),t===69&&(this.state=251,this.match(N.EVENT_END));break;default:throw new j.error.NoViableAltException(this)}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}divider(){let e=new li(this,this._ctx,this.state);this.enterRule(e,28,N.RULE_divider);try{this.enterOuterAlt(e,1),this.state=256,this.dividerNote()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}dividerNote(){let e=new ai(this,this._ctx,this.state);this.enterRule(e,30,N.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=258,this.match(N.DIVIDER)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}stat(){let e=new H7(this,this._ctx,this.state);this.enterRule(e,32,N.RULE_stat);var t=0;try{this.state=276,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,35,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=260,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=261,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=262,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=263,this.critical();break;case 5:this.enterOuterAlt(e,5),this.state=264,this.section();break;case 6:this.enterOuterAlt(e,6),this.state=265,this.ref();break;case 7:this.enterOuterAlt(e,7),this.state=266,this.loop();break;case 8:this.enterOuterAlt(e,8),this.state=267,this.creation();break;case 9:this.enterOuterAlt(e,9),this.state=268,this.message();break;case 10:this.enterOuterAlt(e,10),this.state=269,this.asyncMessage(),this.state=271,this._errHandler.sync(this),t=this._input.LA(1),t===69&&(this.state=270,this.match(N.EVENT_END));break;case 11:this.enterOuterAlt(e,11),this.state=273,this.ret();break;case 12:this.enterOuterAlt(e,12),this.state=274,this.divider();break;case 13:this.enterOuterAlt(e,13),this.state=275,this.tcf();break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}par(){let e=new Li(this,this._ctx,this.state);this.enterRule(e,34,N.RULE_par);var t=0;try{this.state=284,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=278,this.match(N.PAR),this.state=280,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=279,this.parExpr()),this.state=282,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=283,this.match(N.PAR);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}opt(){let e=new ci(this,this._ctx,this.state);this.enterRule(e,36,N.RULE_opt);var t=0;try{this.state=292,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,39,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=286,this.match(N.OPT),this.state=288,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=287,this.parExpr()),this.state=290,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=291,this.match(N.OPT);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}critical(){let e=new Ci(this,this._ctx,this.state);this.enterRule(e,38,N.RULE_critical);var t=0;try{this.state=300,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,41,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=294,this.match(N.CRITICAL),this.state=296,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=295,this.parExpr()),this.state=298,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=299,this.match(N.CRITICAL);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}section(){let e=new ui(this,this._ctx,this.state);this.enterRule(e,40,N.RULE_section);var t=0;try{this.state=313,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,44,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=302,this.match(N.SECTION),this.state=308,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=303,this.match(N.OPAR),this.state=305,this._errHandler.sync(this),t=this._input.LA(1),(t-34&-32)==0&&(1<<t-34&1065353223)!==0&&(this.state=304,this.atom()),this.state=307,this.match(N.CPAR)),this.state=310,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=311,this.braceBlock();break;case 3:this.enterOuterAlt(e,3),this.state=312,this.match(N.SECTION);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}creation(){let e=new $7(this,this._ctx,this.state);this.enterRule(e,42,N.RULE_creation);try{this.enterOuterAlt(e,1),this.state=315,this.creationBody(),this.state=318,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,45,this._ctx);t===1?(this.state=316,this.match(N.SCOL)):t===2&&(this.state=317,this.braceBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ref(){let e=new di(this,this._ctx,this.state);this.enterRule(e,44,N.RULE_ref);var t=0;try{for(this.enterOuterAlt(e,1),this.state=320,this.match(N.REF),this.state=321,this.match(N.OPAR),this.state=322,this.name(),this.state=332,this._errHandler.sync(this),t=this._input.LA(1);t===28;){for(this.state=323,this.match(N.COMMA),this.state=327,this._errHandler.sync(this),t=this._input.LA(1);(t-57&-32)==0&&(1<<t-57&97)!==0;)this.state=324,this.name(),this.state=329,this._errHandler.sync(this),t=this._input.LA(1);this.state=334,this._errHandler.sync(this),t=this._input.LA(1)}this.state=335,this.match(N.CPAR),this.state=337,this._errHandler.sync(this),t=this._input.LA(1),t===27&&(this.state=336,this.match(N.SCOL))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}creationBody(){let e=new hi(this,this._ctx,this.state);this.enterRule(e,46,N.RULE_creationBody);var t=0;try{this.state=355,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,53,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=340,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1&&(this.state=339,this.assignment()),this.state=342,this.match(N.NEW),this.state=343,this.construct(),this.state=349,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,51,this._ctx);n===1&&(this.state=344,this.match(N.OPAR),this.state=346,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=345,this.parameters()),this.state=348,this.match(N.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=352,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,52,this._ctx);n===1&&(this.state=351,this.assignment()),this.state=354,this.match(N.NEW);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}message(){let e=new fi(this,this._ctx,this.state);this.enterRule(e,48,N.RULE_message);try{this.enterOuterAlt(e,1),this.state=357,this.messageBody(),this.state=360,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,54,this._ctx);t===1?(this.state=358,this.match(N.SCOL)):t===2&&(this.state=359,this.braceBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}messageBody(){let e=new gi(this,this._ctx,this.state);this.enterRule(e,50,N.RULE_messageBody);try{this.state=375,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,58,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=362,this.assignment(),this.state=368,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,56,this._ctx);if(t===1){this.state=363,this.fromTo(),this.state=365,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,55,this._ctx);t===1&&(this.state=364,this.func())}else t===2&&(this.state=367,this.func());break;case 2:this.enterOuterAlt(e,2),this.state=370,this.fromTo(),this.state=372,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,57,this._ctx);t===1&&(this.state=371,this.func());break;case 3:this.enterOuterAlt(e,3),this.state=374,this.func();break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}fromTo(){let e=new pi(this,this._ctx,this.state);this.enterRule(e,52,N.RULE_fromTo);try{this.enterOuterAlt(e,1),this.state=380,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,59,this._ctx);t===1&&(this.state=377,this.from(),this.state=378,this.match(N.ARROW)),this.state=382,this.to(),this.state=383,this.match(N.DOT)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}func(){let e=new G7(this,this._ctx,this.state);this.enterRule(e,54,N.RULE_func);try{this.enterOuterAlt(e,1),this.state=385,this.signature(),this.state=390,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,60,this._ctx);t!=2&&t!=j.atn.ATN.INVALID_ALT_NUMBER;)t===1&&(this.state=386,this.match(N.DOT),this.state=387,this.signature()),this.state=392,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,60,this._ctx)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}from(){let e=new V7(this,this._ctx,this.state);this.enterRule(e,56,N.RULE_from);try{this.enterOuterAlt(e,1),this.state=393,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}to(){let e=new G8(this,this._ctx,this.state);this.enterRule(e,58,N.RULE_to);try{this.enterOuterAlt(e,1),this.state=395,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}signature(){let e=new q7(this,this._ctx,this.state);this.enterRule(e,60,N.RULE_signature);try{this.enterOuterAlt(e,1),this.state=397,this.methodName(),this.state=399,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,61,this._ctx);t===1&&(this.state=398,this.invocation())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}invocation(){let e=new Y7(this,this._ctx,this.state);this.enterRule(e,62,N.RULE_invocation);var t=0;try{this.enterOuterAlt(e,1),this.state=401,this.match(N.OPAR),this.state=403,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=402,this.parameters()),this.state=405,this.match(N.CPAR)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}assignment(){let e=new V8(this,this._ctx,this.state);this.enterRule(e,64,N.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=408,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,63,this._ctx);t===1&&(this.state=407,this.type()),this.state=410,this.assignee(),this.state=411,this.match(N.ASSIGN)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}asyncMessage(){let e=new Q7(this,this._ctx,this.state);this.enterRule(e,66,N.RULE_asyncMessage);var t=0;try{this.state=428,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,67,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=416,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,64,this._ctx);n===1&&(this.state=413,this.from(),this.state=414,this.match(N.ARROW)),this.state=418,this.to(),this.state=419,this.match(N.COL),this.state=421,this._errHandler.sync(this),t=this._input.LA(1),t===68&&(this.state=420,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=423,this.from(),this.state=424,t=this._input.LA(1),t===10||t===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=426,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,66,this._ctx);n===1&&(this.state=425,this.to());break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}content(){let e=new _i(this,this._ctx,this.state);this.enterRule(e,68,N.RULE_content);try{this.enterOuterAlt(e,1),this.state=430,this.match(N.EVENT_PAYLOAD_LXR)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}construct(){let e=new mi(this,this._ctx,this.state);this.enterRule(e,70,N.RULE_construct);try{this.enterOuterAlt(e,1),this.state=432,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}type(){let e=new X7(this,this._ctx,this.state);this.enterRule(e,72,N.RULE_type);try{this.enterOuterAlt(e,1),this.state=434,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}assignee(){let e=new vi(this,this._ctx,this.state);this.enterRule(e,74,N.RULE_assignee);var t=0;try{this.state=448,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,69,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=436,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=437,this.match(N.ID),this.state=442,this._errHandler.sync(this),t=this._input.LA(1);t===28;)this.state=438,this.match(N.COMMA),this.state=439,this.match(N.ID),this.state=444,this._errHandler.sync(this),t=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=445,this.match(N.CSTRING);break;case 4:this.enterOuterAlt(e,4),this.state=446,this.match(N.USTRING);break;case 5:this.enterOuterAlt(e,5),this.state=447,this.match(N.NEW);break}}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodName(){let e=new xi(this,this._ctx,this.state);this.enterRule(e,76,N.RULE_methodName);try{this.enterOuterAlt(e,1),this.state=450,this.name()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}parameters(){let e=new K7(this,this._ctx,this.state);this.enterRule(e,78,N.RULE_parameters);var t=0;try{this.enterOuterAlt(e,1),this.state=452,this.parameter(),this.state=457,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,70,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=453,this.match(N.COMMA),this.state=454,this.parameter()),this.state=459,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,70,this._ctx);this.state=461,this._errHandler.sync(this),t=this._input.LA(1),t===28&&(this.state=460,this.match(N.COMMA))}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}parameter(){let e=new J7(this,this._ctx,this.state);this.enterRule(e,80,N.RULE_parameter);try{this.state=466,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,72,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=463,this.namedParameter();break;case 2:this.enterOuterAlt(e,2),this.state=464,this.declaration();break;case 3:this.enterOuterAlt(e,3),this.state=465,this.expr(0);break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}namedParameter(){let e=new wi(this,this._ctx,this.state);this.enterRule(e,82,N.RULE_namedParameter);var t=0;try{this.enterOuterAlt(e,1),this.state=468,this.match(N.ID),this.state=469,this.match(N.ASSIGN),this.state=471,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&1065353351)!==0)&&(this.state=470,this.expr(0))}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}declaration(){let e=new Mi(this,this._ctx,this.state);this.enterRule(e,84,N.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=473,this.type(),this.state=474,this.match(N.ID)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}tcf(){let e=new Si(this,this._ctx,this.state);this.enterRule(e,86,N.RULE_tcf);var t=0;try{for(this.enterOuterAlt(e,1),this.state=476,this.tryBlock(),this.state=480,this._errHandler.sync(this),t=this._input.LA(1);t===50;)this.state=477,this.catchBlock(),this.state=482,this._errHandler.sync(this),t=this._input.LA(1);this.state=484,this._errHandler.sync(this),t=this._input.LA(1),t===51&&(this.state=483,this.finallyBlock())}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tryBlock(){let e=new yi(this,this._ctx,this.state);this.enterRule(e,88,N.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=486,this.match(N.TRY),this.state=487,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}catchBlock(){let e=new ee(this,this._ctx,this.state);this.enterRule(e,90,N.RULE_catchBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=489,this.match(N.CATCH),this.state=491,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=490,this.invocation()),this.state=493,this.braceBlock()}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}finallyBlock(){let e=new Ai(this,this._ctx,this.state);this.enterRule(e,92,N.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=495,this.match(N.FINALLY),this.state=496,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}alt(){let e=new Ri(this,this._ctx,this.state);this.enterRule(e,94,N.RULE_alt);var t=0;try{this.enterOuterAlt(e,1),this.state=498,this.ifBlock(),this.state=502,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,77,this._ctx);n!=2&&n!=j.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=499,this.elseIfBlock()),this.state=504,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,77,this._ctx);this.state=506,this._errHandler.sync(this),t=this._input.LA(1),t===38&&(this.state=505,this.elseBlock())}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}ifBlock(){let e=new bi(this,this._ctx,this.state);this.enterRule(e,96,N.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=508,this.match(N.IF),this.state=509,this.parExpr(),this.state=510,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseIfBlock(){let e=new te(this,this._ctx,this.state);this.enterRule(e,98,N.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=512,this.match(N.ELSE),this.state=513,this.match(N.IF),this.state=514,this.parExpr(),this.state=515,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseBlock(){let e=new Ti(this,this._ctx,this.state);this.enterRule(e,100,N.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=517,this.match(N.ELSE),this.state=518,this.braceBlock()}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}braceBlock(){let e=new j3(this,this._ctx,this.state);this.enterRule(e,102,N.RULE_braceBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=520,this.match(N.OBRACE),this.state=522,this._errHandler.sync(this),t=this._input.LA(1),((t-32&-32)==0&&(1<<t-32&4265801661)!==0||t===67)&&(this.state=521,this.block()),this.state=524,this.match(N.CBRACE)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}loop(){let e=new ki(this,this._ctx,this.state);this.enterRule(e,104,N.RULE_loop);var t=0;try{this.enterOuterAlt(e,1),this.state=526,this.match(N.WHILE),this.state=528,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=527,this.parExpr()),this.state=531,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,81,this._ctx);n===1&&(this.state=530,this.braceBlock())}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const t=this._ctx,n=this.state;let r=new V2(this,this._ctx,n),L=r;const c=106;this.enterRecursionRule(r,106,N.RULE_expr,e);var u=0;try{this.enterOuterAlt(r,1),this.state=553,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,83,this._ctx);switch(d){case 1:r=new Ta(this,r),this._ctx=r,L=r,this.state=534,this.atom();break;case 2:r=new za(this,r),this._ctx=r,L=r,this.state=535,this.match(N.MINUS),this.state=536,this.expr(13);break;case 3:r=new Oa(this,r),this._ctx=r,L=r,this.state=537,this.match(N.NOT),this.state=538,this.expr(12);break;case 4:r=new ba(this,r),this._ctx=r,L=r,this.state=542,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,82,this._ctx);d===1&&(this.state=539,this.to(),this.state=540,this.match(N.DOT)),this.state=544,this.func();break;case 5:r=new Pa(this,r),this._ctx=r,L=r,this.state=545,this.creation();break;case 6:r=new Da(this,r),this._ctx=r,L=r,this.state=546,this.match(N.OPAR),this.state=547,this.expr(0),this.state=548,this.match(N.CPAR);break;case 7:r=new Ra(this,r),this._ctx=r,L=r,this.state=550,this.assignment(),this.state=551,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=578,this._errHandler.sync(this);for(var f=this._interp.adaptivePredict(this._input,85,this._ctx);f!=2&&f!=j.atn.ATN.INVALID_ALT_NUMBER;){if(f===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),L=r,this.state=576,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,84,this._ctx);switch(d){case 1:if(r=new Na(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=555,!this.precpred(this._ctx,11))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=556,r.op=this._input.LT(1),u=this._input.LA(1),(u&-32)==0&&(1<<u&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=557,this.expr(12);break;case 2:if(r=new Za(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=558,!this.precpred(this._ctx,10))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=559,r.op=this._input.LT(1),u=this._input.LA(1),u===20||u===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=560,this.expr(11);break;case 3:if(r=new Ea(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=561,!this.precpred(this._ctx,9))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=562,r.op=this._input.LT(1),u=this._input.LA(1),(u&-32)==0&&(1<<u&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=563,this.expr(10);break;case 4:if(r=new Fa(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=564,!this.precpred(this._ctx,8))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=565,r.op=this._input.LT(1),u=this._input.LA(1),u===14||u===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=566,this.expr(9);break;case 5:if(r=new Ba(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=567,!this.precpred(this._ctx,7))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=568,this.match(N.AND),this.state=569,this.expr(8);break;case 6:if(r=new ka(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=570,!this.precpred(this._ctx,6))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=571,this.match(N.OR),this.state=572,this.expr(7);break;case 7:if(r=new Ia(this,new V2(this,t,n)),this.pushNewRecursionContext(r,c,N.RULE_expr),this.state=573,!this.precpred(this._ctx,5))throw new j.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=574,this.match(N.PLUS),this.state=575,this.expr(6);break}}this.state=580,this._errHandler.sync(this),f=this._interp.adaptivePredict(this._input,85,this._ctx)}}catch(g){if(g instanceof j.error.RecognitionException)r.exception=g,this._errHandler.reportError(this,g),this._errHandler.recover(this,g);else throw g}finally{this.unrollRecursionContexts(t)}return r}atom(){let e=new c4(this,this._ctx,this.state);this.enterRule(e,108,N.RULE_atom);var t=0;try{switch(this.state=588,this._errHandler.sync(this),this._input.LA(1)){case 58:case 59:e=new Ga(this,e),this.enterOuterAlt(e,1),this.state=581,t=this._input.LA(1),t===58||t===59?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 61:e=new Va(this,e),this.enterOuterAlt(e,2),this.state=582,this.match(N.NUMBER_UNIT);break;case 60:e=new Ua(this,e),this.enterOuterAlt(e,3),this.state=583,this.match(N.MONEY);break;case 34:case 35:e=new ja(this,e),this.enterOuterAlt(e,4),this.state=584,t=this._input.LA(1),t===34||t===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 57:e=new Wa(this,e),this.enterOuterAlt(e,5),this.state=585,this.match(N.ID);break;case 62:case 63:e=new Ha(this,e),this.enterOuterAlt(e,6),this.state=586,t=this._input.LA(1),t===62||t===63?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 36:e=new $a(this,e),this.enterOuterAlt(e,7),this.state=587,this.match(N.NIL);break;default:throw new j.error.NoViableAltException(this)}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}parExpr(){let e=new o0(this,this._ctx,this.state);this.enterRule(e,110,N.RULE_parExpr);var t=0;try{this.enterOuterAlt(e,1),this.state=590,this.match(N.OPAR),this.state=592,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,87,this._ctx);n===1&&(this.state=591,this.condition()),this.state=595,this._errHandler.sync(this),t=this._input.LA(1),t===31&&(this.state=594,this.match(N.CPAR))}catch(r){if(r instanceof j.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}condition(){let e=new Zi(this,this._ctx,this.state);this.enterRule(e,112,N.RULE_condition);try{this.state=601,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,89,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=597,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=598,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=599,this.inExpr();break;case 4:this.enterOuterAlt(e,4),this.state=600,this.textExpr();break}}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}inExpr(){let e=new Ei(this,this._ctx,this.state);this.enterRule(e,114,N.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=603,this.match(N.ID),this.state=604,this.match(N.IN),this.state=605,this.match(N.ID)}catch(t){if(t instanceof j.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}textExpr(){let e=new Ii(this,this._ctx,this.state);this.enterRule(e,116,N.RULE_textExpr);try{this.enterOuterAlt(e,1),this.state=608,this._errHandler.sync(this);var t=1;do{switch(t){case 1:this.state=607,this.match(N.ID);break;default:throw new j.error.NoViableAltException(this)}this.state=610,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,90,this._ctx)}while(t!=2&&t!=j.atn.ATN.INVALID_ALT_NUMBER)}catch(n){if(n instanceof j.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}};c2(N,"grammarFileName","java-escape"),c2(N,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),c2(N,"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","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),c2(N,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","critical","section","creation","ref","creationBody","message","messageBody","fromTo","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","namedParameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr","textExpr"]);let v=N;v.EOF=j.Token.EOF,v.WS=1,v.CONSTANT=2,v.READONLY=3,v.STATIC=4,v.AWAIT=5,v.TITLE=6,v.COL=7,v.SOPEN=8,v.SCLOSE=9,v.ARROW=10,v.COLOR=11,v.OR=12,v.AND=13,v.EQ=14,v.NEQ=15,v.GT=16,v.LT=17,v.GTEQ=18,v.LTEQ=19,v.PLUS=20,v.MINUS=21,v.MULT=22,v.DIV=23,v.MOD=24,v.POW=25,v.NOT=26,v.SCOL=27,v.COMMA=28,v.ASSIGN=29,v.OPAR=30,v.CPAR=31,v.OBRACE=32,v.CBRACE=33,v.TRUE=34,v.FALSE=35,v.NIL=36,v.IF=37,v.ELSE=38,v.WHILE=39,v.RETURN=40,v.NEW=41,v.PAR=42,v.GROUP=43,v.OPT=44,v.CRITICAL=45,v.SECTION=46,v.REF=47,v.AS=48,v.TRY=49,v.CATCH=50,v.FINALLY=51,v.IN=52,v.STARTER_LXR=53,v.ANNOTATION_RET=54,v.ANNOTATION=55,v.DOT=56,v.ID=57,v.INT=58,v.FLOAT=59,v.MONEY=60,v.NUMBER_UNIT=61,v.CSTRING=62,v.USTRING=63,v.CR=64,v.COMMENT=65,v.OTHER=66,v.DIVIDER=67,v.EVENT_PAYLOAD_LXR=68,v.EVENT_END=69,v.TITLE_CONTENT=70,v.TITLE_END=71,v.RULE_prog=0,v.RULE_title=1,v.RULE_head=2,v.RULE_group=3,v.RULE_starterExp=4,v.RULE_starter=5,v.RULE_participant=6,v.RULE_stereotype=7,v.RULE_label=8,v.RULE_participantType=9,v.RULE_name=10,v.RULE_width=11,v.RULE_block=12,v.RULE_ret=13,v.RULE_divider=14,v.RULE_dividerNote=15,v.RULE_stat=16,v.RULE_par=17,v.RULE_opt=18,v.RULE_critical=19,v.RULE_section=20,v.RULE_creation=21,v.RULE_ref=22,v.RULE_creationBody=23,v.RULE_message=24,v.RULE_messageBody=25,v.RULE_fromTo=26,v.RULE_func=27,v.RULE_from=28,v.RULE_to=29,v.RULE_signature=30,v.RULE_invocation=31,v.RULE_assignment=32,v.RULE_asyncMessage=33,v.RULE_content=34,v.RULE_construct=35,v.RULE_type=36,v.RULE_assignee=37,v.RULE_methodName=38,v.RULE_parameters=39,v.RULE_parameter=40,v.RULE_namedParameter=41,v.RULE_declaration=42,v.RULE_tcf=43,v.RULE_tryBlock=44,v.RULE_catchBlock=45,v.RULE_finallyBlock=46,v.RULE_alt=47,v.RULE_ifBlock=48,v.RULE_elseIfBlock=49,v.RULE_elseBlock=50,v.RULE_braceBlock=51,v.RULE_loop=52,v.RULE_expr=53,v.RULE_atom=54,v.RULE_parExpr=55,v.RULE_condition=56,v.RULE_inExpr=57,v.RULE_textExpr=58;let Aa=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_prog}EOF(){return this.getToken(v.EOF,0)}title(){return this.getTypedRuleContext(Kn,0)}head(){return this.getTypedRuleContext(Jn,0)}block(){return this.getTypedRuleContext(U7,0)}enterRule(e){e instanceof q&&e.enterProg(this)}exitRule(e){e instanceof q&&e.exitProg(this)}},Kn=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_title}TITLE(){return this.getToken(v.TITLE,0)}TITLE_CONTENT(){return this.getToken(v.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(v.TITLE_END,0)}enterRule(e){e instanceof q&&e.enterTitle(this)}exitRule(e){e instanceof q&&e.exitTitle(this)}};class Jn extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"group",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(W7):this.getTypedRuleContext(W7,t)});c2(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(D5):this.getTypedRuleContext(D5,t)});this.parser=t,this.ruleIndex=v.RULE_head}starterExp(){return this.getTypedRuleContext(ei,0)}enterRule(t){t instanceof q&&t.enterHead(this)}exitRule(t){t instanceof q&&t.exitHead(this)}}let W7=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(D5):this.getTypedRuleContext(D5,t)});this.parser=t,this.ruleIndex=v.RULE_group}GROUP(){return this.getToken(v.GROUP,0)}name(){return this.getTypedRuleContext(J3,0)}OBRACE(){return this.getToken(v.OBRACE,0)}CBRACE(){return this.getToken(v.CBRACE,0)}enterRule(t){t instanceof q&&t.enterGroup(this)}exitRule(t){t instanceof q&&t.exitGroup(this)}};class ei extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_starterExp}STARTER_LXR(){return this.getToken(v.STARTER_LXR,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}starter(){return this.getTypedRuleContext(ti,0)}ANNOTATION(){return this.getToken(v.ANNOTATION,0)}enterRule(e){e instanceof q&&e.enterStarterExp(this)}exitRule(e){e instanceof q&&e.exitStarterExp(this)}}class ti extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_starter}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterStarter(this)}exitRule(e){e instanceof q&&e.exitStarter(this)}}let D5=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_participant}name(){return this.getTypedRuleContext(J3,0)}participantType(){return this.getTypedRuleContext(oi,0)}stereotype(){return this.getTypedRuleContext(ni,0)}width(){return this.getTypedRuleContext(si,0)}label(){return this.getTypedRuleContext(ii,0)}COLOR(){return this.getToken(v.COLOR,0)}enterRule(e){e instanceof q&&e.enterParticipant(this)}exitRule(e){e instanceof q&&e.exitParticipant(this)}};class ni extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_stereotype}SOPEN(){return this.getToken(v.SOPEN,0)}name(){return this.getTypedRuleContext(J3,0)}SCLOSE(){return this.getToken(v.SCLOSE,0)}GT(){return this.getToken(v.GT,0)}LT(){return this.getToken(v.LT,0)}enterRule(e){e instanceof q&&e.enterStereotype(this)}exitRule(e){e instanceof q&&e.exitStereotype(this)}}class ii extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_label}AS(){return this.getToken(v.AS,0)}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterLabel(this)}exitRule(e){e instanceof q&&e.exitLabel(this)}}class oi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_participantType}ANNOTATION(){return this.getToken(v.ANNOTATION,0)}enterRule(e){e instanceof q&&e.enterParticipantType(this)}exitRule(e){e instanceof q&&e.exitParticipantType(this)}}class J3 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_name}ID(){return this.getToken(v.ID,0)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}enterRule(e){e instanceof q&&e.enterName(this)}exitRule(e){e instanceof q&&e.exitName(this)}}class si extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_width}INT(){return this.getToken(v.INT,0)}enterRule(e){e instanceof q&&e.enterWidth(this)}exitRule(e){e instanceof q&&e.exitWidth(this)}}class U7 extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"stat",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(H7):this.getTypedRuleContext(H7,t)});this.parser=t,this.ruleIndex=v.RULE_block}enterRule(t){t instanceof q&&t.enterBlock(this)}exitRule(t){t instanceof q&&t.exitBlock(this)}}let ri=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_ret}RETURN(){return this.getToken(v.RETURN,0)}expr(){return this.getTypedRuleContext(V2,0)}SCOL(){return this.getToken(v.SCOL,0)}ANNOTATION_RET(){return this.getToken(v.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Q7,0)}EVENT_END(){return this.getToken(v.EVENT_END,0)}enterRule(e){e instanceof q&&e.enterRet(this)}exitRule(e){e instanceof q&&e.exitRet(this)}},li=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_divider}dividerNote(){return this.getTypedRuleContext(ai,0)}enterRule(e){e instanceof q&&e.enterDivider(this)}exitRule(e){e instanceof q&&e.exitDivider(this)}};class ai extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_dividerNote}DIVIDER(){return this.getToken(v.DIVIDER,0)}enterRule(e){e instanceof q&&e.enterDividerNote(this)}exitRule(e){e instanceof q&&e.exitDividerNote(this)}}let H7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_stat}alt(){return this.getTypedRuleContext(Ri,0)}par(){return this.getTypedRuleContext(Li,0)}opt(){return this.getTypedRuleContext(ci,0)}critical(){return this.getTypedRuleContext(Ci,0)}section(){return this.getTypedRuleContext(ui,0)}ref(){return this.getTypedRuleContext(di,0)}loop(){return this.getTypedRuleContext(ki,0)}creation(){return this.getTypedRuleContext($7,0)}message(){return this.getTypedRuleContext(fi,0)}asyncMessage(){return this.getTypedRuleContext(Q7,0)}EVENT_END(){return this.getToken(v.EVENT_END,0)}ret(){return this.getTypedRuleContext(ri,0)}divider(){return this.getTypedRuleContext(li,0)}tcf(){return this.getTypedRuleContext(Si,0)}enterRule(e){e instanceof q&&e.enterStat(this)}exitRule(e){e instanceof q&&e.exitStat(this)}};class Li extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_par}PAR(){return this.getToken(v.PAR,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterPar(this)}exitRule(e){e instanceof q&&e.exitPar(this)}}class ci extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_opt}OPT(){return this.getToken(v.OPT,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterOpt(this)}exitRule(e){e instanceof q&&e.exitOpt(this)}}class Ci extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_critical}CRITICAL(){return this.getToken(v.CRITICAL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}parExpr(){return this.getTypedRuleContext(o0,0)}enterRule(e){e instanceof q&&e.enterCritical(this)}exitRule(e){e instanceof q&&e.exitCritical(this)}}class ui extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_section}SECTION(){return this.getToken(v.SECTION,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}atom(){return this.getTypedRuleContext(c4,0)}enterRule(e){e instanceof q&&e.enterSection(this)}exitRule(e){e instanceof q&&e.exitSection(this)}}let $7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_creation}creationBody(){return this.getTypedRuleContext(hi,0)}SCOL(){return this.getToken(v.SCOL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterCreation(this)}exitRule(e){e instanceof q&&e.exitCreation(this)}},di=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"name",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(J3):this.getTypedRuleContext(J3,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_ref}REF(){return this.getToken(v.REF,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}SCOL(){return this.getToken(v.SCOL,0)}enterRule(t){t instanceof q&&t.enterRef(this)}exitRule(t){t instanceof q&&t.exitRef(this)}};class hi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_creationBody}NEW(){return this.getToken(v.NEW,0)}construct(){return this.getTypedRuleContext(mi,0)}assignment(){return this.getTypedRuleContext(V8,0)}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}parameters(){return this.getTypedRuleContext(K7,0)}enterRule(e){e instanceof q&&e.enterCreationBody(this)}exitRule(e){e instanceof q&&e.exitCreationBody(this)}}let fi=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_message}messageBody(){return this.getTypedRuleContext(gi,0)}SCOL(){return this.getToken(v.SCOL,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterMessage(this)}exitRule(e){e instanceof q&&e.exitMessage(this)}};class gi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_messageBody}assignment(){return this.getTypedRuleContext(V8,0)}fromTo(){return this.getTypedRuleContext(pi,0)}func(){return this.getTypedRuleContext(G7,0)}enterRule(e){e instanceof q&&e.enterMessageBody(this)}exitRule(e){e instanceof q&&e.exitMessageBody(this)}}class pi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_fromTo}to(){return this.getTypedRuleContext(G8,0)}DOT(){return this.getToken(v.DOT,0)}from(){return this.getTypedRuleContext(V7,0)}ARROW(){return this.getToken(v.ARROW,0)}enterRule(e){e instanceof q&&e.enterFromTo(this)}exitRule(e){e instanceof q&&e.exitFromTo(this)}}class G7 extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"signature",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(q7):this.getTypedRuleContext(q7,t)});c2(this,"DOT",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.DOT):this.getToken(v.DOT,t)});this.parser=t,this.ruleIndex=v.RULE_func}enterRule(t){t instanceof q&&t.enterFunc(this)}exitRule(t){t instanceof q&&t.exitFunc(this)}}class V7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_from}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterFrom(this)}exitRule(e){e instanceof q&&e.exitFrom(this)}}class G8 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_to}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterTo(this)}exitRule(e){e instanceof q&&e.exitTo(this)}}class q7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_signature}methodName(){return this.getTypedRuleContext(xi,0)}invocation(){return this.getTypedRuleContext(Y7,0)}enterRule(e){e instanceof q&&e.enterSignature(this)}exitRule(e){e instanceof q&&e.exitSignature(this)}}class Y7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_invocation}OPAR(){return this.getToken(v.OPAR,0)}CPAR(){return this.getToken(v.CPAR,0)}parameters(){return this.getTypedRuleContext(K7,0)}enterRule(e){e instanceof q&&e.enterInvocation(this)}exitRule(e){e instanceof q&&e.exitInvocation(this)}}class V8 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_assignment}assignee(){return this.getTypedRuleContext(vi,0)}ASSIGN(){return this.getToken(v.ASSIGN,0)}type(){return this.getTypedRuleContext(X7,0)}enterRule(e){e instanceof q&&e.enterAssignment(this)}exitRule(e){e instanceof q&&e.exitAssignment(this)}}let Q7=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_asyncMessage}to(){return this.getTypedRuleContext(G8,0)}COL(){return this.getToken(v.COL,0)}from(){return this.getTypedRuleContext(V7,0)}ARROW(){return this.getToken(v.ARROW,0)}content(){return this.getTypedRuleContext(_i,0)}MINUS(){return this.getToken(v.MINUS,0)}enterRule(e){e instanceof q&&e.enterAsyncMessage(this)}exitRule(e){e instanceof q&&e.exitAsyncMessage(this)}};class _i extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(v.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof q&&e.enterContent(this)}exitRule(e){e instanceof q&&e.exitContent(this)}}class mi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_construct}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterConstruct(this)}exitRule(e){e instanceof q&&e.exitConstruct(this)}}class X7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_type}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterType(this)}exitRule(e){e instanceof q&&e.exitType(this)}}class vi extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_assignee}atom(){return this.getTypedRuleContext(c4,0)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}NEW(){return this.getToken(v.NEW,0)}enterRule(t){t instanceof q&&t.enterAssignee(this)}exitRule(t){t instanceof q&&t.exitAssignee(this)}}class xi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_methodName}name(){return this.getTypedRuleContext(J3,0)}enterRule(e){e instanceof q&&e.enterMethodName(this)}exitRule(e){e instanceof q&&e.exitMethodName(this)}}let K7=class extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"parameter",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(J7):this.getTypedRuleContext(J7,t)});c2(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.COMMA):this.getToken(v.COMMA,t)});this.parser=t,this.ruleIndex=v.RULE_parameters}enterRule(t){t instanceof q&&t.enterParameters(this)}exitRule(t){t instanceof q&&t.exitParameters(this)}};class J7 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_parameter}namedParameter(){return this.getTypedRuleContext(wi,0)}declaration(){return this.getTypedRuleContext(Mi,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterParameter(this)}exitRule(e){e instanceof q&&e.exitParameter(this)}}class wi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_namedParameter}ID(){return this.getToken(v.ID,0)}ASSIGN(){return this.getToken(v.ASSIGN,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterNamedParameter(this)}exitRule(e){e instanceof q&&e.exitNamedParameter(this)}}class Mi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_declaration}type(){return this.getTypedRuleContext(X7,0)}ID(){return this.getToken(v.ID,0)}enterRule(e){e instanceof q&&e.enterDeclaration(this)}exitRule(e){e instanceof q&&e.exitDeclaration(this)}}class Si extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"catchBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(ee):this.getTypedRuleContext(ee,t)});this.parser=t,this.ruleIndex=v.RULE_tcf}tryBlock(){return this.getTypedRuleContext(yi,0)}finallyBlock(){return this.getTypedRuleContext(Ai,0)}enterRule(t){t instanceof q&&t.enterTcf(this)}exitRule(t){t instanceof q&&t.exitTcf(this)}}class yi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_tryBlock}TRY(){return this.getToken(v.TRY,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterTryBlock(this)}exitRule(e){e instanceof q&&e.exitTryBlock(this)}}class ee extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_catchBlock}CATCH(){return this.getToken(v.CATCH,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}invocation(){return this.getTypedRuleContext(Y7,0)}enterRule(e){e instanceof q&&e.enterCatchBlock(this)}exitRule(e){e instanceof q&&e.exitCatchBlock(this)}}class Ai extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_finallyBlock}FINALLY(){return this.getToken(v.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterFinallyBlock(this)}exitRule(e){e instanceof q&&e.exitFinallyBlock(this)}}class Ri extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"elseIfBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(te):this.getTypedRuleContext(te,t)});this.parser=t,this.ruleIndex=v.RULE_alt}ifBlock(){return this.getTypedRuleContext(bi,0)}elseBlock(){return this.getTypedRuleContext(Ti,0)}enterRule(t){t instanceof q&&t.enterAlt(this)}exitRule(t){t instanceof q&&t.exitAlt(this)}}let bi=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_ifBlock}IF(){return this.getToken(v.IF,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterIfBlock(this)}exitRule(e){e instanceof q&&e.exitIfBlock(this)}};class te extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_elseIfBlock}ELSE(){return this.getToken(v.ELSE,0)}IF(){return this.getToken(v.IF,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterElseIfBlock(this)}exitRule(e){e instanceof q&&e.exitElseIfBlock(this)}}class Ti extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_elseBlock}ELSE(){return this.getToken(v.ELSE,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterElseBlock(this)}exitRule(e){e instanceof q&&e.exitElseBlock(this)}}class j3 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_braceBlock}OBRACE(){return this.getToken(v.OBRACE,0)}CBRACE(){return this.getToken(v.CBRACE,0)}block(){return this.getTypedRuleContext(U7,0)}enterRule(e){e instanceof q&&e.enterBraceBlock(this)}exitRule(e){e instanceof q&&e.exitBraceBlock(this)}}let ki=class extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_loop}WHILE(){return this.getToken(v.WHILE,0)}parExpr(){return this.getTypedRuleContext(o0,0)}braceBlock(){return this.getTypedRuleContext(j3,0)}enterRule(e){e instanceof q&&e.enterLoop(this)}exitRule(e){e instanceof q&&e.exitLoop(this)}};class V2 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_expr}copyFrom(e){super.copyFrom(e)}}class Ra extends V2{constructor(e,t){super(e),super.copyFrom(t)}assignment(){return this.getTypedRuleContext(V8,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof q&&e.exitAssignmentExpr(this)}}v.AssignmentExprContext=Ra;class ba extends V2{constructor(e,t){super(e),super.copyFrom(t)}func(){return this.getTypedRuleContext(G7,0)}to(){return this.getTypedRuleContext(G8,0)}DOT(){return this.getToken(v.DOT,0)}enterRule(e){e instanceof q&&e.enterFuncExpr(this)}exitRule(e){e instanceof q&&e.exitFuncExpr(this)}}v.FuncExprContext=ba;class Ta extends V2{constructor(e,t){super(e),super.copyFrom(t)}atom(){return this.getTypedRuleContext(c4,0)}enterRule(e){e instanceof q&&e.enterAtomExpr(this)}exitRule(e){e instanceof q&&e.exitAtomExpr(this)}}v.AtomExprContext=Ta;class ka extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}OR(){return this.getToken(v.OR,0)}enterRule(t){t instanceof q&&t.enterOrExpr(this)}exitRule(t){t instanceof q&&t.exitOrExpr(this)}}v.OrExprContext=ka;class Za extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}PLUS(){return this.getToken(v.PLUS,0)}MINUS(){return this.getToken(v.MINUS,0)}enterRule(t){t instanceof q&&t.enterAdditiveExpr(this)}exitRule(t){t instanceof q&&t.exitAdditiveExpr(this)}}v.AdditiveExprContext=Za;class Ea extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}LTEQ(){return this.getToken(v.LTEQ,0)}GTEQ(){return this.getToken(v.GTEQ,0)}LT(){return this.getToken(v.LT,0)}GT(){return this.getToken(v.GT,0)}enterRule(t){t instanceof q&&t.enterRelationalExpr(this)}exitRule(t){t instanceof q&&t.exitRelationalExpr(this)}}v.RelationalExprContext=Ea;class Ia extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}PLUS(){return this.getToken(v.PLUS,0)}enterRule(t){t instanceof q&&t.enterPlusExpr(this)}exitRule(t){t instanceof q&&t.exitPlusExpr(this)}}v.PlusExprContext=Ia;class Oa extends V2{constructor(e,t){super(e),super.copyFrom(t)}NOT(){return this.getToken(v.NOT,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterNotExpr(this)}exitRule(e){e instanceof q&&e.exitNotExpr(this)}}v.NotExprContext=Oa;class za extends V2{constructor(e,t){super(e),super.copyFrom(t)}MINUS(){return this.getToken(v.MINUS,0)}expr(){return this.getTypedRuleContext(V2,0)}enterRule(e){e instanceof q&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof q&&e.exitUnaryMinusExpr(this)}}v.UnaryMinusExprContext=za;class Pa extends V2{constructor(e,t){super(e),super.copyFrom(t)}creation(){return this.getTypedRuleContext($7,0)}enterRule(e){e instanceof q&&e.enterCreationExpr(this)}exitRule(e){e instanceof q&&e.exitCreationExpr(this)}}v.CreationExprContext=Pa;class Da extends V2{constructor(e,t){super(e),super.copyFrom(t)}OPAR(){return this.getToken(v.OPAR,0)}expr(){return this.getTypedRuleContext(V2,0)}CPAR(){return this.getToken(v.CPAR,0)}enterRule(e){e instanceof q&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof q&&e.exitParenthesizedExpr(this)}}v.ParenthesizedExprContext=Da;class Na extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}MULT(){return this.getToken(v.MULT,0)}DIV(){return this.getToken(v.DIV,0)}MOD(){return this.getToken(v.MOD,0)}enterRule(t){t instanceof q&&t.enterMultiplicationExpr(this)}exitRule(t){t instanceof q&&t.exitMultiplicationExpr(this)}}v.MultiplicationExprContext=Na;class Fa extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});this.op=null,super.copyFrom(n)}EQ(){return this.getToken(v.EQ,0)}NEQ(){return this.getToken(v.NEQ,0)}enterRule(t){t instanceof q&&t.enterEqualityExpr(this)}exitRule(t){t instanceof q&&t.exitEqualityExpr(this)}}v.EqualityExprContext=Fa;class Ba extends V2{constructor(t,n){super(t);c2(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(V2):this.getTypedRuleContext(V2,t)});super.copyFrom(n)}AND(){return this.getToken(v.AND,0)}enterRule(t){t instanceof q&&t.enterAndExpr(this)}exitRule(t){t instanceof q&&t.exitAndExpr(this)}}v.AndExprContext=Ba;class c4 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_atom}copyFrom(e){super.copyFrom(e)}}class ja extends c4{constructor(e,t){super(e),super.copyFrom(t)}TRUE(){return this.getToken(v.TRUE,0)}FALSE(){return this.getToken(v.FALSE,0)}enterRule(e){e instanceof q&&e.enterBooleanAtom(this)}exitRule(e){e instanceof q&&e.exitBooleanAtom(this)}}v.BooleanAtomContext=ja;class Wa extends c4{constructor(e,t){super(e),super.copyFrom(t)}ID(){return this.getToken(v.ID,0)}enterRule(e){e instanceof q&&e.enterIdAtom(this)}exitRule(e){e instanceof q&&e.exitIdAtom(this)}}v.IdAtomContext=Wa;class Ua extends c4{constructor(e,t){super(e),super.copyFrom(t)}MONEY(){return this.getToken(v.MONEY,0)}enterRule(e){e instanceof q&&e.enterMoneyAtom(this)}exitRule(e){e instanceof q&&e.exitMoneyAtom(this)}}v.MoneyAtomContext=Ua;class Ha extends c4{constructor(e,t){super(e),super.copyFrom(t)}CSTRING(){return this.getToken(v.CSTRING,0)}USTRING(){return this.getToken(v.USTRING,0)}enterRule(e){e instanceof q&&e.enterStringAtom(this)}exitRule(e){e instanceof q&&e.exitStringAtom(this)}}v.StringAtomContext=Ha;class $a extends c4{constructor(e,t){super(e),super.copyFrom(t)}NIL(){return this.getToken(v.NIL,0)}enterRule(e){e instanceof q&&e.enterNilAtom(this)}exitRule(e){e instanceof q&&e.exitNilAtom(this)}}v.NilAtomContext=$a;class Ga extends c4{constructor(e,t){super(e),super.copyFrom(t)}INT(){return this.getToken(v.INT,0)}FLOAT(){return this.getToken(v.FLOAT,0)}enterRule(e){e instanceof q&&e.enterNumberAtom(this)}exitRule(e){e instanceof q&&e.exitNumberAtom(this)}}v.NumberAtomContext=Ga;class Va extends c4{constructor(e,t){super(e),super.copyFrom(t)}NUMBER_UNIT(){return this.getToken(v.NUMBER_UNIT,0)}enterRule(e){e instanceof q&&e.enterNumberUnitAtom(this)}exitRule(e){e instanceof q&&e.exitNumberUnitAtom(this)}}v.NumberUnitAtomContext=Va;class o0 extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_parExpr}OPAR(){return this.getToken(v.OPAR,0)}condition(){return this.getTypedRuleContext(Zi,0)}CPAR(){return this.getToken(v.CPAR,0)}enterRule(e){e instanceof q&&e.enterParExpr(this)}exitRule(e){e instanceof q&&e.exitParExpr(this)}}class Zi extends j.ParserRuleContext{constructor(e,t,n){t===void 0&&(t=null),n==null&&(n=-1),super(t,n),this.parser=e,this.ruleIndex=v.RULE_condition}atom(){return this.getTypedRuleContext(c4,0)}expr(){return this.getTypedRuleContext(V2,0)}inExpr(){return this.getTypedRuleContext(Ei,0)}textExpr(){return this.getTypedRuleContext(Ii,0)}enterRule(e){e instanceof q&&e.enterCondition(this)}exitRule(e){e instanceof q&&e.exitCondition(this)}}class Ei extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});this.parser=t,this.ruleIndex=v.RULE_inExpr}IN(){return this.getToken(v.IN,0)}enterRule(t){t instanceof q&&t.enterInExpr(this)}exitRule(t){t instanceof q&&t.exitInExpr(this)}}class Ii extends j.ParserRuleContext{constructor(t,n,r){n===void 0&&(n=null),r==null&&(r=-1);super(n,r);c2(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(v.ID):this.getToken(v.ID,t)});this.parser=t,this.ruleIndex=v.RULE_textExpr}enterRule(t){t instanceof q&&t.enterTextExpr(this)}exitRule(t){t instanceof q&&t.exitTextExpr(this)}}v.ProgContext=Aa,v.TitleContext=Kn,v.HeadContext=Jn,v.GroupContext=W7,v.StarterExpContext=ei,v.StarterContext=ti,v.ParticipantContext=D5,v.StereotypeContext=ni,v.LabelContext=ii,v.ParticipantTypeContext=oi,v.NameContext=J3,v.WidthContext=si,v.BlockContext=U7,v.RetContext=ri,v.DividerContext=li,v.DividerNoteContext=ai,v.StatContext=H7,v.ParContext=Li,v.OptContext=ci,v.CriticalContext=Ci,v.SectionContext=ui,v.CreationContext=$7,v.RefContext=di,v.CreationBodyContext=hi,v.MessageContext=fi,v.MessageBodyContext=gi,v.FromToContext=pi,v.FuncContext=G7,v.FromContext=V7,v.ToContext=G8,v.SignatureContext=q7,v.InvocationContext=Y7,v.AssignmentContext=V8,v.AsyncMessageContext=Q7,v.ContentContext=_i,v.ConstructContext=mi,v.TypeContext=X7,v.AssigneeContext=vi,v.MethodNameContext=xi,v.ParametersContext=K7,v.ParameterContext=J7,v.NamedParameterContext=wi,v.DeclarationContext=Mi,v.TcfContext=Si,v.TryBlockContext=yi,v.CatchBlockContext=ee,v.FinallyBlockContext=Ai,v.AltContext=Ri,v.IfBlockContext=bi,v.ElseIfBlockContext=te,v.ElseBlockContext=Ti,v.BraceBlockContext=j3,v.LoopContext=ki,v.ExprContext=V2,v.AtomContext=c4,v.ParExprContext=o0,v.ConditionContext=Zi,v.InExprContext=Ei,v.TextExprContext=Ii;const qa={name:"",color:void 0,comment:void 0,explicit:void 0,groupId:void 0,isStarter:void 0,label:void 0,stereotype:void 0,type:void 0,width:void 0,assignee:void 0,positions:new Set,assigneePositions:new Set};let __=class{constructor(e,t){c2(this,"name");c2(this,"stereotype");c2(this,"width");c2(this,"groupId");c2(this,"explicit");c2(this,"isStarter");c2(this,"label");c2(this,"type");c2(this,"color");c2(this,"comment");c2(this,"assignee");c2(this,"positions",new Set);c2(this,"assigneePositions",new Set);this.name=e,this.mergeOptions(t)}mergeOptions(e){const{stereotype:t,width:n,groupId:r,label:L,explicit:c,isStarter:u,type:d,color:f,comment:g,assignee:p}=e;this.stereotype||(this.stereotype=t),this.width||(this.width=n),this.groupId||(this.groupId=r),this.explicit||(this.explicit=c),this.isStarter||(this.isStarter=u),this.label||(this.label=L),this.type||(this.type=d),this.color||(this.color=f),this.comment||(this.comment=g),this.assignee||(this.assignee=p)}AddPosition(e){this.positions.add(e)}ToValue(){return{name:this.name,stereotype:this.stereotype,width:this.width,groupId:this.groupId,explicit:this.explicit,isStarter:this.isStarter,label:this.label,type:this.type,color:this.color,comment:this.comment,assignee:this.assignee,positions:this.positions,assigneePositions:this.assigneePositions}}},m_=class{constructor(){c2(this,"participants",new Map)}Add(e,t={}){if(!e)throw new Error("Participant name is required");let n=this.Get(e);n?n==null||n.mergeOptions(t):(n=new __(e,t),this.participants.set(e,n));const{position:r,assigneePosition:L}=t;r&&n.AddPosition(r),L&&n.assigneePositions.add(L)}ImplicitArray(){return this.Array().filter(e=>{var t;return!((t=this.Get(e.name))!=null&&t.explicit)})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){for(const e of this.participants.values())if(e.isStarter)return e}GetPositions(e){var t;return(t=this.participants.get(e))==null?void 0:t.positions}GetAssigneePositions(e){var t;return(t=this.participants.get(e))==null?void 0:t.assigneePositions}},e4,Q0=!1,Oi;const v3=new q,v_=function(o){var w,A,y,Z,k,D;if(Q0)return;const e=(w=o==null?void 0:o.participantType())==null?void 0:w.getFormattedText().replace("@",""),t=((A=o==null?void 0:o.name())==null?void 0:A.getFormattedText())||"Missing `Participant`",n=(Z=(y=o.stereotype())==null?void 0:y.name())==null?void 0:Z.getFormattedText(),r=o.width&&o.width()&&Number.parseInt(o.width().getText())||void 0,L=o.label&&o.label(),c=(k=L==null?void 0:L.name())==null?void 0:k.getFormattedText(),u=!0,d=(D=o.COLOR())==null?void 0:D.getText(),f=o.getComment(),g=o.name();let p,m;if(L){const z=L.name();z&&(p=z.start.start,m=z.stop.stop+1)}else g&&(p=g.start.start,m=g.stop.stop+1);e4.Add(t,{isStarter:!1,type:e,stereotype:n,width:r,groupId:Oi,label:c,explicit:u,color:d,comment:f,position:[p,m]})};v3.enterParticipant=v_;const Ya=function(o){if(Q0)return;let e=o.getFormattedText();const t=e4.Get(e);if(t!=null&&t.label)e4.Add(e,{isStarter:!1});else if(t!=null&&t.assignee){const r=[o.start.start+t.assignee.length+2,o.stop.stop],L=[o.start.start+1,o.start.start+t.assignee.length+1];e4.Add(e,{isStarter:!1,position:r,assigneePosition:L})}else e4.Add(e,{isStarter:!1,position:[o.start.start,o.stop.stop+1]})};v3.enterFrom=Ya,v3.enterTo=Ya,v3.enterStarter=function(o){let e=o.getFormattedText();e4.Add(e,{isStarter:!0,position:[o.start.start,o.stop.stop+1]})},v3.enterCreation=function(o){var r;if(Q0)return;const e=o.Owner(),t=(r=o==null?void 0:o.creationBody())==null?void 0:r.construct(),n=e4.Get(e);if(t&&!(n!=null&&n.label)){const L=o.Assignee(),c=o.AssigneePosition();e4.Add(e,{isStarter:!1,position:[t.start.start,t.stop.stop+1],assignee:L,assigneePosition:c})}else e4.Add(e,{isStarter:!1})},v3.enterRef=function(o){o.Participants().forEach(e=>{e4.Add(e.getText(),{isStarter:!1,position:[e.start.start,e.stop.stop+1]})})},v3.enterParameters=function(){Q0=!0},v3.exitParameters=function(){Q0=!1},v3.enterCondition=function(){Q0=!0},v3.exitCondition=function(){Q0=!1},v3.enterGroup=function(o){var e;Oi=(e=o.name())==null?void 0:e.getFormattedText()},v3.exitGroup=function(){Oi=void 0},v3.enterRet=function(o){if(o.asyncMessage())return;const e=o.From();e&&e4.Add(e);const t=o.ReturnTo();t&&e4.Add(t)};const x_=j.tree.ParseTreeWalker.DEFAULT;v3.getParticipants=function(o){return e4=new m_,x_.walk(this,o),e4};const w_=j.tree.ParseTreeWalker.DEFAULT;let b3=new q,j1=0,T3=0;b3.enterTcf=function(){j1++},b3.enterOpt=function(){j1++},b3.enterPar=function(){j1++},b3.enterAlt=function(){j1++},b3.enterLoop=function(){j1++},b3.enterSection=function(){j1++},b3.enterCritical=function(){j1++},b3.exitTcf=function(){T3=Math.max(T3,j1),j1--},b3.exitOpt=function(){T3=Math.max(T3,j1),j1--},b3.exitPar=function(){T3=Math.max(T3,j1),j1--},b3.exitAlt=function(){T3=Math.max(T3,j1),j1--},b3.exitLoop=function(){T3=Math.max(T3,j1),j1--},b3.exitSection=function(){T3=Math.max(T3,j1),j1--},b3.exitCritical=function(){T3=Math.max(T3,j1),j1--},b3.depth=function(o){return function(e){return j1=0,T3=0,e.children.map(function(t){w_.walk(o,t)}),T3}};const M_=v.TitleContext;M_.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const Qa=v,zi=Qa.CreationContext;zi.prototype.Body=zi.prototype.creationBody,zi.prototype.isCurrent=function(o){return Xa.bind(this)(o)};const Pi=Qa.MessageContext;Pi.prototype.Body=Pi.prototype.messageBody,Pi.prototype.isCurrent=function(o){return Xa.bind(this)(o)};function Xa(o){try{if(o==null)return!1;const e=this.start.start,t=this.Body().stop.stop+1;return o>=e&&o<=t}catch{return!1}}const ne=v,N5=ne.CreationContext,Di=ne.MessageContext,Ka=ne.AsyncMessageContext,Ja=ne.RetContext;N5.prototype.Assignee=function(){var o,e,t;return(t=(e=(o=this.creationBody())==null?void 0:o.assignment())==null?void 0:e.assignee())==null?void 0:t.getFormattedText()},N5.prototype.AssigneePosition=function(){var e,t;const o=(t=(e=this.creationBody())==null?void 0:e.assignment())==null?void 0:t.assignee();if(o)return[o.start.start,o.stop.stop+1]},N5.prototype.Constructor=function(){var o,e;return(e=(o=this.creationBody())==null?void 0:o.construct())==null?void 0:e.getFormattedText()},N5.prototype.To=function(){return this.Constructor()},N5.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const o=this.Assignee(),e=this.Constructor();return o?`${o}:${e}`:e},Di.prototype.To=function(){var o,e,t;return(t=(e=(o=this.messageBody())==null?void 0:o.fromTo())==null?void 0:e.to())==null?void 0:t.getFormattedText()},Di.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)};function Ni(o){for(;o;){if(o instanceof N5||o instanceof Di)return o.Owner();o=o.parentCtx}}Ka.prototype.To=function(){var o;return(o=this.to())==null?void 0:o.getFormattedText()},Ka.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)},Ja.prototype.To=function(){return this.ReturnTo()},Ja.prototype.Owner=function(){return this.To()||Ni(this.parentCtx)};const S_=v.ProgContext;S_.prototype.Starter=function(){var o,e,t;return(t=(e=(o=this.head())==null?void 0:o.starterExp())==null?void 0:e.starter())==null?void 0:t.getFormattedText()};const ie=v,y_=ie.RetContext,eL=ie.ProgContext,tL=ie.MessageContext,A_=ie.CreationContext;y_.prototype.ReturnTo=function(){var n,r,L;const t=this.parentCtx.parentCtx.parentCtx;if(t instanceof eL)return t.Starter();{let c=t;for(;c&&!(c instanceof tL)&&!(c instanceof A_);){if(c instanceof eL)return c.Starter();c=c.parentCtx}return c instanceof tL&&((L=(r=(n=c.messageBody())==null?void 0:n.fromTo())==null?void 0:r.from())==null?void 0:L.getFormattedText())||c.ClosestAncestorStat().Origin()}};const nL=v.RefContext;nL.prototype.Content=function(){return this.name()[0]},nL.prototype.Participants=function(){return this.name().slice(1)??[]};const R_=j.ParserRuleContext,iL=v.StatContext,Fi=v.ProgContext,b_=v.MessageContext,T_=v.CreationContext;R_.prototype.Origin=function(){let o=this.parentCtx;for(;o&&!(o instanceof iL||o instanceof Fi);)o=this.parentCtx;return o.Origin()},iL.prototype.Origin=function(){let o=this.parentCtx;for(;o;){if(o instanceof Fi)return o.Starter();if(o instanceof b_||o instanceof T_){const e=o.Owner();if(e)return e}o=o.parentCtx}},Fi.prototype.Origin=function(){return this.Starter()};const k_=v.DividerContext;k_.prototype.Note=function(){var e;const o=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!o.startsWith("=="))throw new Error("Divider note must start with ==");return o==null?void 0:o.replace(/^=+|=+$/g,"")};function Z_(o){var e,t,n;if((e=o.namedParameter)!=null&&e.call(o)){const r=o.namedParameter();if(r){const L=r.expr(),c=L?L.getFormattedText():"";return`${r.ID().getText()}=${c}`}}if((t=o.declaration)!=null&&t.call(o)){const r=o.declaration();if(r)return`${r.type().getText()} ${r.ID().getText()}`}return(n=o.expr)!=null&&n.call(o)?o.expr().getFormattedText():o.getFormattedText()}function oL(o){return o.map(Z_).join(",")}const E_=v.MessageContext,I_=v.ParametersContext,O_=v.AsyncMessageContext,sL=v.CreationContext,z_=v.RetContext;E_.prototype.SignatureText=function(){var o,e,t;return((t=(e=(o=this.messageBody())==null?void 0:o.func())==null?void 0:e.signature())==null?void 0:t.map(n=>n==null?void 0:n.getFormattedText()).join("."))??""},O_.prototype.SignatureText=function(){var o;return((o=this.content())==null?void 0:o.getFormattedText())??""},sL.prototype.SignatureText=function(){var t;const o=this.creationBody().parameters();return`«${((t=o==null?void 0:o.parameter())==null?void 0:t.length)>0?oL(o.parameter()):"create"}»`},sL.prototype.isParamValid=function(){var o,e;return(((e=(o=this.creationBody().parameters())==null?void 0:o.parameter())==null?void 0:e.length)??0)>0},z_.prototype.SignatureText=function(){var o,e,t;return((e=(o=this.asyncMessage())==null?void 0:o.content())==null?void 0:e.getFormattedText())??((t=this.expr())==null?void 0:t.getFormattedText())??""},I_.prototype.getFormattedText=function(){const o=this.parameter();return!o||o.length===0?"":oL(o)};const oe=v,rL=oe.MessageContext,P_=oe.CreationContext,D_=oe.IfBlockContext,N_=oe.LoopContext;class F_{constructor(e,t){c2(this,"assignee");c2(this,"type");if(t&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=t||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}rL.prototype.Assignment=function(){var n,r;const o=this.messageBody().assignment(),e=(n=o==null?void 0:o.assignee())==null?void 0:n.getFormattedText(),t=(r=o==null?void 0:o.type())==null?void 0:r.getFormattedText();if(e)return new F_(e,t)},rL.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},P_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},D_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]},N_.prototype.Statements=function(){var o,e;return((e=(o=this.braceBlock())==null?void 0:o.block())==null?void 0:e.stat())||[]};const q8=v,B_=q8.CreationContext,j_=q8.StatContext,lL=q8.MessageContext,aL=q8.AsyncMessageContext,W_=q8.RetContext;B_.prototype.From=function(){if(this.parentCtx instanceof j_)return this.ClosestAncestorStat().Origin()},lL.prototype.ProvidedFrom=function(){var o,e,t;return(t=(e=(o=this.messageBody())==null?void 0:o.fromTo())==null?void 0:e.from())==null?void 0:t.getFormattedText()},lL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},aL.prototype.ProvidedFrom=function(){var o;return(o=this.from())==null?void 0:o.getFormattedText()},aL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},W_.prototype.From=function(){return this.ClosestAncestorStat().Origin()},j.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const LL=v,cL=LL.StatContext;j.ParserRuleContext.prototype.ClosestAncestorStat=function(){let o=this;for(;!(o instanceof cL);)o=o.parentCtx;if(o instanceof cL)return o},j.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const o=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(o instanceof LL.BlockContext)return o;console.warn("Cannot find closest ancestor block for context:",this)},j.ParserRuleContext.prototype.getAncestors=function(o){let e=this;const t=[];for(;e;)(!o||o(e))&&t.push(e),e=e.parentCtx;return t};var Bi,CL;function uL(){if(CL)return Bi;CL=1;function o(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(n){return t.apply(this,arguments)};case 2:return function(n,r){return t.apply(this,arguments)};case 3:return function(n,r,L){return t.apply(this,arguments)};case 4:return function(n,r,L,c){return t.apply(this,arguments)};case 5:return function(n,r,L,c,u){return t.apply(this,arguments)};case 6:return function(n,r,L,c,u,d){return t.apply(this,arguments)};case 7:return function(n,r,L,c,u,d,f){return t.apply(this,arguments)};case 8:return function(n,r,L,c,u,d,f,g){return t.apply(this,arguments)};case 9:return function(n,r,L,c,u,d,f,g,p){return t.apply(this,arguments)};case 10:return function(n,r,L,c,u,d,f,g,p,m){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}return Bi=o,Bi}var ji,dL;function U_(){if(dL)return ji;dL=1;function o(e,t){return function(){return t.call(this,e.apply(this,arguments))}}return ji=o,ji}var Wi,hL;function Ui(){if(hL)return Wi;hL=1;function o(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}return Wi=o,Wi}var Hi,fL;function se(){if(fL)return Hi;fL=1;var o=Ui();function e(t){return function n(r){return arguments.length===0||o(r)?n:t.apply(this,arguments)}}return Hi=e,Hi}var $i,gL;function pL(){if(gL)return $i;gL=1;var o=se(),e=Ui();function t(n){return function r(L,c){switch(arguments.length){case 0:return r;case 1:return e(L)?r:o(function(u){return n(L,u)});default:return e(L)&&e(c)?r:e(L)?o(function(u){return n(u,c)}):e(c)?o(function(u){return n(L,u)}):n(L,c)}}}return $i=t,$i}var Gi,_L;function Vi(){if(_L)return Gi;_L=1;var o=se(),e=pL(),t=Ui();function n(r){return function L(c,u,d){switch(arguments.length){case 0:return L;case 1:return t(c)?L:e(function(f,g){return r(c,f,g)});case 2:return t(c)&&t(u)?L:t(c)?e(function(f,g){return r(f,u,g)}):t(u)?e(function(f,g){return r(c,f,g)}):o(function(f){return r(c,u,f)});default:return t(c)&&t(u)&&t(d)?L:t(c)&&t(u)?e(function(f,g){return r(f,g,d)}):t(c)&&t(d)?e(function(f,g){return r(f,u,g)}):t(u)&&t(d)?e(function(f,g){return r(c,f,g)}):t(c)?o(function(f){return r(f,u,d)}):t(u)?o(function(f){return r(c,f,d)}):t(d)?o(function(f){return r(c,u,f)}):r(c,u,d)}}}return Gi=n,Gi}var qi,mL;function vL(){return mL||(mL=1,qi=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}),qi}var Yi,xL;function H_(){if(xL)return Yi;xL=1;function o(e){return Object.prototype.toString.call(e)==="[object String]"}return Yi=o,Yi}var Qi,wL;function $_(){if(wL)return Qi;wL=1;var o=se(),e=vL(),t=H_(),n=o(function(L){return e(L)?!0:!L||typeof L!="object"||t(L)?!1:L.length===0?!0:L.length>0?L.hasOwnProperty(0)&&L.hasOwnProperty(L.length-1):!1});return Qi=n,Qi}var Xi,ML;function G_(){if(ML)return Xi;ML=1;var o=(function(){function t(n){this.f=n}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(n){return n},t.prototype["@@transducer/step"]=function(n,r){return this.f(n,r)},t})();function e(t){return new o(t)}return Xi=e,Xi}var Ki,SL;function V_(){if(SL)return Ki;SL=1;var o=uL(),e=pL(),t=e(function(r,L){return o(r.length,function(){return r.apply(L,arguments)})});return Ki=t,Ki}var Ji,yL;function q_(){if(yL)return Ji;yL=1;var o=$_(),e=G_(),t=V_();function n(d,f,g){for(var p=0,m=g.length;p<m;){if(f=d["@@transducer/step"](f,g[p]),f&&f["@@transducer/reduced"]){f=f["@@transducer/value"];break}p+=1}return d["@@transducer/result"](f)}function r(d,f,g){for(var p=g.next();!p.done;){if(f=d["@@transducer/step"](f,p.value),f&&f["@@transducer/reduced"]){f=f["@@transducer/value"];break}p=g.next()}return d["@@transducer/result"](f)}function L(d,f,g,p){return d["@@transducer/result"](g[p](t(d["@@transducer/step"],d),f))}var c=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function u(d,f,g){if(typeof d=="function"&&(d=e(d)),o(g))return n(d,f,g);if(typeof g["fantasy-land/reduce"]=="function")return L(d,f,g,"fantasy-land/reduce");if(g[c]!=null)return r(d,f,g[c]());if(typeof g.next=="function")return r(d,f,g);if(typeof g.reduce=="function")return L(d,f,g,"reduce");throw new TypeError("reduce: list must be array or iterable")}return Ji=u,Ji}var eo,AL;function Y_(){if(AL)return eo;AL=1;var o=Vi(),e=q_(),t=o(e);return eo=t,eo}var to,RL;function bL(){if(RL)return to;RL=1;var o=vL();function e(t,n){return function(){var r=arguments.length;if(r===0)return n();var L=arguments[r-1];return o(L)||typeof L[t]!="function"?n.apply(this,arguments):L[t].apply(L,Array.prototype.slice.call(arguments,0,r-1))}}return to=e,to}var no,TL;function Q_(){if(TL)return no;TL=1;var o=bL(),e=Vi(),t=e(o("slice",function(r,L,c){return Array.prototype.slice.call(c,r,L)}));return no=t,no}var io,kL;function X_(){if(kL)return io;kL=1;var o=bL(),e=se(),t=Q_(),n=e(o("tail",t(1,1/0)));return io=n,io}var oo,ZL;function K_(){if(ZL)return oo;ZL=1;var o=uL(),e=U_(),t=Y_(),n=X_();function r(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return o(arguments[0].length,t(e,arguments[0],n(arguments)))}return oo=r,oo}var J_=K_();const em=Y1(J_);var so,EL;function tm(){if(EL)return so;EL=1;var o=Vi(),e=o(function(n,r,L){return L.replace(n,r)});return so=e,so}var nm=tm();const F5=Y1(nm),im=F5(/[\n\r]/g," "),om=F5(/\s+/g," "),sm=F5(/\s*([,;.])\s*/g,"$1"),rm=F5(/\s*(\()\s*|\s*(\))/g,"$1$2"),lm=F5(/\s+$/g,""),am=F5(/^"(.*)"$/,"$1"),IL=em(im,om,sm,rm,lm,am),ro=(o,e)=>{let t=e;for(o[t]===`
|
|
27
27
|
`&&t--;t>=0;){if(o[t]===`
|
|
28
28
|
`)return t+1;t--}return 0},OL=(o,e)=>{const t=ro(o,e);if(t===0)return 0;let n=t-2;for(;n>=0;){if(o[n]===`
|
|
29
|
-
`)return n+1;n--}return 0},Lm=(o,e)=>{const t=ro(o,e);if(t===0)return"";const n=OL(o,e);return o.slice(n,t)},zL=[],PL=[];class cm extends j.error.ErrorListener{syntaxError(e,t,n,r,L){zL.push(`${t} line ${n}, col ${r}: ${L}`),PL.push({line:n,column:r,msg:L})}}function DL(o){const e=new j.InputStream(o),t=new
|
|
29
|
+
`)return n+1;n--}return 0},Lm=(o,e)=>{const t=ro(o,e);if(t===0)return"";const n=OL(o,e);return o.slice(n,t)},zL=[],PL=[];class cm extends j.error.ErrorListener{syntaxError(e,t,n,r,L){zL.push(`${t} line ${n}, col ${r}: ${L}`),PL.push({line:n,column:r,msg:L})}}function DL(o){const e=new j.InputStream(o),t=new g2(e),n=new j.CommonTokenStream(t),r=new v(n);return r.addErrorListener(new cm),r._syntaxErrors?null:r.prog()}j.ParserRuleContext.prototype.getFormattedText=function(){const o=this.parser.getTokenStream().getText(this.getSourceInterval());return IL(o)},j.ParserRuleContext.prototype.getComment=function(){let o=this.start.tokenIndex,e=g2.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(o=this.stop.tokenIndex);let t=this.parser.getTokenStream().getHiddenTokensToLeft(o,e);return t&&t.map(n=>n.text.substring(2)).join(`
|
|
30
30
|
`)},j.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const Cm=DL,NL=v.GroupContext,FL=v.ParticipantContext,Y8=function(o){return v3.getParticipants(o)},Q8={RootContext:DL,ProgContext:v.ProgContext,GroupContext:v.GroupContext,ParticipantContext:v.ParticipantContext,Participants:function(o){return v3.getParticipants(o)},Errors:zL,ErrorDetails:PL,Depth:function(o){const e=b3;return e.depth(e)(o)}};var re=(o=>(o[o.MessageContent=0]="MessageContent",o[o.ParticipantName=1]="ParticipantName",o))(re||{});let lo={};const BL={},ao=o=>{if(o!=null){const e=lo[o]??BL[o];return e!==void 0?e:null}return null},Lo=(o,e,t=!1)=>{lo[o]=e,t&&(BL[o]=e)},jL=()=>{lo={}};function um(o,e){const t=`WidthProviderOnBrowser_${o}_${e}`,n=ao(t);if(n!=null)return n;let r=document.querySelector(".textarea-hidden-div");if(!r){const c=document.createElement("div");c.className="textarea-hidden-div ",c.style.fontSize=e===re.MessageContent?"0.875rem":"1rem",c.style.fontFamily="Helvetica, Verdana, serif",c.style.display="inline",c.style.whiteSpace="nowrap",c.style.visibility="hidden",c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.overflow="hidden",c.style.width="0px",c.style.paddingLeft="0px",c.style.paddingRight="0px",c.style.margin="0px",c.style.border="0px",document.body.appendChild(c),r=c}r.textContent=o;const L=r.scrollWidth;return Lo(t,L,!0),L}const WL=10,UL=100,dm=20,hm=10,HL=15,le=(HL-1)/2,fm=80,gm=70,$L=1;var B5=(o=>(o[o.SyncMessage=0]="SyncMessage",o[o.AsyncMessage=1]="AsyncMessage",o[o.CreationMessage=2]="CreationMessage",o[o.ReturnMessage=3]="ReturnMessage",o))(B5||{});class pm extends q{constructor(){super(...arguments);c2(this,"isBlind",!1);c2(this,"ownableMessages",[]);c2(this,"enterMessage",t=>this._addOwnedMessage(B5.SyncMessage)(t));c2(this,"enterAsyncMessage",t=>this._addOwnedMessage(B5.AsyncMessage)(t));c2(this,"enterCreation",t=>this._addOwnedMessage(B5.CreationMessage)(t));c2(this,"enterRet",t=>{t.asyncMessage()||this._addOwnedMessage(B5.ReturnMessage)(t)});c2(this,"_addOwnedMessage",t=>n=>{if(this.isBlind)return;const r=n.From(),L=n==null?void 0:n.Owner();let c=n==null?void 0:n.SignatureText();if(r===L&&n.Assignment){const u=n.Assignment();u&&(c=`${u.getText()} = ${c}`)}this.ownableMessages.push({from:r,signature:c,type:t,to:L})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function X8(o){const e=j.tree.ParseTreeWalker.DEFAULT,t=new pm;return e.walk(t,o),t.result()}const W1="_STARTER_";let _m=class{constructor(e,t,n,r){c2(this,"name");c2(this,"left");c2(this,"label");c2(this,"type");this.name=e,this.left=t,this.label=n,this.type=r}getDisplayName(){return this.label||this.name}hasIcon(){return this.type!==void 0}};function GL(o){const e=v3.getParticipants(o),t=Array.from(e.participants.entries()),n=X8(o),r=n.length===0&&t.length===0,L=n.some(u=>!u.from);return(r||L)&&t.unshift([W1,{...qa,name:W1,isStarter:!0}]),t.map((u,d,f)=>{const g=u[1],p=d>0?f[d-1][1].name:"";return new _m(g.name,p,g.label,g.type)})}function ae(o,e){return{position:o,velocity:e}}function VL(o,e){return ae(o.position+e.position,o.velocity+e.velocity)}const qL=Math.sqrt(Number.EPSILON);function mm(o,e){const t=o.position-e.position;return t<-qL||Math.abs(t)<=qL&&o.velocity<e.velocity}function vm(){return{delta:1/0,dualLessThan:function(o,e){const t=mm(o,e);return t&&([o,e]=[e,o]),o.velocity<e.velocity&&(this.delta=Math.min(this.delta,(o.position-e.position)/(e.velocity-o.velocity))),t}}}function xm(o,e){const t=Array();for(let n=0;n<o;n++){t.push([]);for(let r=0;r<n;r++)e[r][n]>0&&t[n].push({i:r,length:ae(e[r][n],0)})}return t}function wm(o,e){const t=vm();let n=ae(0,0);const r=[];for(let L=0;L<o.length;L++){let c=null;L>0&&(n=VL(n,e[L-1]));for(const u of o[L]){const d=VL(r[u.i].maximum,u.length);t.dualLessThan(n,d)&&(c=u.i,n=d)}r.push({argument:c,maximum:n})}return[t.delta,r]}function Mm(o,e,t){let n=o.length-1;for(;n>0;){const r=o[n].argument;r!==null?n=r:(n--,t[n].velocity=0)}}function Sm(o,e){for(let t=0;t<o.length;t++)o[t].position+=o[t].velocity*e}function ym(o){const e=[];for(const t of o)e.push(t.maximum.position);return e}function Am(o){const e=o.length,t=xm(e,o),n=[];for(let r=1;r<e;r++)n.push(ae(0,1));for(;;){const[r,L]=wm(t,n);if(r==1/0)return ym(L);L[e-1].maximum.velocity>0?Mm(L,t,n):Sm(n,r)}}class Rm{constructor(e,t){c2(this,"m",[]);c2(this,"widthProvider");c2(this,"participantModels");c2(this,"ownableMessages");jL(),this.participantModels=GL(e),this.ownableMessages=X8(e),this.widthProvider=t,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){if(!e)return 0;if(!this.getParticipantModel(e))return console.warn(`Participant ${e} not found`),0;const n=`getPosition_${e}`,r=ao(n);if(r!=null)return r;const L=this.participantModels.findIndex(d=>d.name===e),u=this.getParticipantGap(this.participantModels[0])+Am(this.m)[L];return Lo(n,u),console.debug(`Position of ${e} is ${u}`),u}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){const t=this.getParticipantModel(e);return t?this._getParticipantWidth(t)/2:0}left(e){return this.getPosition(e)-this.half(e)}right(e){return this.getPosition(e)+this.half(e)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,t=this.getPosition(e)+this.half(e);return Math.max(t,200)}distance(e,t){return this.getPosition(t)-this.getPosition(e)}getMessageWidth(e){const t=this.half(e.to);let n=this.widthProvider(e.signature,re.MessageContent);return e.type===B5.CreationMessage&&(n+=t),n}withMessageGaps(e,t){for(const n of e){n.from||(n.from=W1);const r=t.findIndex(d=>d.name===n.from),L=t.findIndex(d=>d.name===n.to);if(r===-1||L===-1){console.warn(`Participant ${n.from} or ${n.to} not found`);continue}const c=Math.min(r,L),u=Math.max(r,L);try{const d=this.getMessageWidth(n);this.m[c][u]=Math.max(d+hm+HL,this.m[c][u])}catch{console.warn(`Could not set message gap between ${n.from} and ${n.to}`)}}}withParticipantGaps(e){this.m=e.map((t,n)=>e.map((r,L)=>L-n===1?this.getParticipantGap(r):0))}getParticipantGap(e){return this.half(e.left)+this.half(e.name)}getParticipantModel(e){return this.participantModels.find(t=>t.name===e)}_getParticipantWidth(e){const t=`getParticipantWidth_${e.name}`,n=ao(t);if(n!=null)return n;const L=e.hasIcon()?40:0,c=this.widthProvider(e.getDisplayName(),re.ParticipantName),u=Math.max(c+L,fm)+dm;return Lo(t,u),console.debug(`Width of ${e.name} is ${u}; labelWidth: ${c}`),u}}const YL=o=>!(o!=null&&o.start)||!(o!=null&&o.stop)?"":`${o.start.start}-${o.stop.stop}`;class QL{constructor(e,t){this.context=e,this.runtime=t}layoutBlock(e,t,n,r){return e?new Ac(e,this.runtime).layout(t,n,r):n}}function X0(o){return[o.Origin()||W1,...Y8(o).Names()]}function XL(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let K0=XL();function bm(o){K0=o}const KL=/[&<>"']/,Tm=new RegExp(KL.source,"g"),JL=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,km=new RegExp(JL.source,"g"),Zm={"&":"&","<":"<",">":">",'"':""","'":"'"},ec=o=>Zm[o];function k3(o,e){if(e){if(KL.test(o))return o.replace(Tm,ec)}else if(JL.test(o))return o.replace(km,ec);return o}const Em=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function tc(o){return o.replace(Em,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Im=/(^|[^\[])\^/g;function A1(o,e){o=typeof o=="string"?o:o.source,e=e||"";const t={replace:(n,r)=>(r=r.source||r,r=r.replace(Im,"$1"),o=o.replace(n,r),t),getRegex:()=>new RegExp(o,e)};return t}const Om=/[^\w:]/g,zm=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function nc(o,e,t){if(o){let n;try{n=decodeURIComponent(tc(t)).replace(Om,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!zm.test(t)&&(t=Fm(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Le={},Pm=/^[^:]+:\/*[^/]*$/,Dm=/^([^:]+:)[\s\S]*$/,Nm=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Fm(o,e){Le[" "+o]||(Pm.test(o)?Le[" "+o]=o+"/":Le[" "+o]=Ce(o,"/",!0)),o=Le[" "+o];const t=o.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:o.replace(Dm,"$1")+e:e.charAt(0)==="/"?t?e:o.replace(Nm,"$1")+e:o+e}const ce={exec:function(){}};function ic(o,e){const t=o.replace(/\|/g,(L,c,u)=>{let d=!1,f=c;for(;--f>=0&&u[f]==="\\";)d=!d;return d?"|":" |"}),n=t.split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function Ce(o,e,t){const n=o.length;if(n===0)return"";let r=0;for(;r<n;){const L=o.charAt(n-r-1);if(L===e&&!t)r++;else if(L!==e&&t)r++;else break}return o.slice(0,n-r)}function Bm(o,e){if(o.indexOf(e[1])===-1)return-1;const t=o.length;let n=0,r=0;for(;r<t;r++)if(o[r]==="\\")r++;else if(o[r]===e[0])n++;else if(o[r]===e[1]&&(n--,n<0))return r;return-1}function jm(o){o&&o.sanitize&&!o.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 oc(o,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=o),e>>=1,o+=o;return t+o}function sc(o,e,t,n){const r=e.href,L=e.title?k3(e.title):null,c=o[1].replace(/\\([\[\]])/g,"$1");if(o[0].charAt(0)!=="!"){n.state.inLink=!0;const u={type:"link",raw:t,href:r,title:L,text:c,tokens:n.inlineTokens(c)};return n.state.inLink=!1,u}return{type:"image",raw:t,href:r,title:L,text:k3(c)}}function Wm(o,e){const t=o.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
|
|
31
31
|
`).map(r=>{const L=r.match(/^\s+/);if(L===null)return r;const[c]=L;return c.length>=n.length?r.slice(n.length):r}).join(`
|
|
32
32
|
`)}class co{constructor(e){this.options=e||K0}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Ce(n,`
|
|
@@ -72,13 +72,13 @@ ${e}</tr>
|
|
|
72
72
|
`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
|
|
73
73
|
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(e=nc(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(e=nc(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let r=`<img src="${e}" alt="${n}"`;return t&&(r+=` title="${t}"`),r+=this.options.xhtml?"/>":">",r}text(e){return e}}class lc{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class ac{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do r++,n=e+"-"+r;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class r0{constructor(e){this.options=e||K0,this.options.renderer=this.options.renderer||new Co,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new lc,this.slugger=new ac}static parse(e,t){return new r0(t).parse(e)}static parseInline(e,t){return new r0(t).parseInline(e)}parse(e,t=!0){let n="",r,L,c,u,d,f,g,p,m,w,A,y,Z,k,D,z,O,F,t2;const H=e.length;for(r=0;r<H;r++){if(w=e[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[w.type]&&(t2=this.options.extensions.renderers[w.type].call({parser:this},w),t2!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(w.type))){n+=t2||"";continue}switch(w.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(w.tokens),w.depth,tc(this.parseInline(w.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(w.text,w.lang,w.escaped);continue}case"table":{for(p="",g="",u=w.header.length,L=0;L<u;L++)g+=this.renderer.tablecell(this.parseInline(w.header[L].tokens),{header:!0,align:w.align[L]});for(p+=this.renderer.tablerow(g),m="",u=w.rows.length,L=0;L<u;L++){for(f=w.rows[L],g="",d=f.length,c=0;c<d;c++)g+=this.renderer.tablecell(this.parseInline(f[c].tokens),{header:!1,align:w.align[c]});m+=this.renderer.tablerow(g)}n+=this.renderer.table(p,m);continue}case"blockquote":{m=this.parse(w.tokens),n+=this.renderer.blockquote(m);continue}case"list":{for(A=w.ordered,y=w.start,Z=w.loose,u=w.items.length,m="",L=0;L<u;L++)D=w.items[L],z=D.checked,O=D.task,k="",D.task&&(F=this.renderer.checkbox(z),Z?D.tokens.length>0&&D.tokens[0].type==="paragraph"?(D.tokens[0].text=F+" "+D.tokens[0].text,D.tokens[0].tokens&&D.tokens[0].tokens.length>0&&D.tokens[0].tokens[0].type==="text"&&(D.tokens[0].tokens[0].text=F+" "+D.tokens[0].tokens[0].text)):D.tokens.unshift({type:"text",text:F}):k+=F),k+=this.parse(D.tokens,Z),m+=this.renderer.listitem(k,O,z);n+=this.renderer.list(m,A,y);continue}case"html":{n+=this.renderer.html(w.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(w.tokens));continue}case"text":{for(m=w.tokens?this.parseInline(w.tokens):w.text;r+1<H&&e[r+1].type==="text";)w=e[++r],m+=`
|
|
74
74
|
`+(w.tokens?this.parseInline(w.tokens):w.text);n+=t?this.renderer.paragraph(m):m;continue}default:{const Q='Token with "'+w.type+'" type was not found.';if(this.options.silent){console.error(Q);return}else throw new Error(Q)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",r,L,c;const u=e.length;for(r=0;r<u;r++){if(L=e[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[L.type]&&(c=this.options.extensions.renderers[L.type].call({parser:this},L),c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(L.type))){n+=c||"";continue}switch(L.type){case"escape":{n+=t.text(L.text);break}case"html":{n+=t.html(L.text);break}case"link":{n+=t.link(L.href,L.title,this.parseInline(L.tokens,t));break}case"image":{n+=t.image(L.href,L.title,L.text);break}case"strong":{n+=t.strong(this.parseInline(L.tokens,t));break}case"em":{n+=t.em(this.parseInline(L.tokens,t));break}case"codespan":{n+=t.codespan(L.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(L.tokens,t));break}case"text":{n+=t.text(L.text);break}default:{const d='Token with "'+L.type+'" type was not found.';if(this.options.silent){console.error(d);return}else throw new Error(d)}}}return n}}class ue{constructor(e){this.options=e||K0}preprocess(e){return e}postprocess(e){return e}}c2(ue,"passThroughHooks",new Set(["preprocess","postprocess"]));function Hm(o,e,t){return n=>{if(n.message+=`
|
|
75
|
-
Please report this to https://github.com/markedjs/marked.`,o){const r="<p>An error occurred:</p><pre>"+k3(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(r);if(t){t(null,r);return}return r}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function Lc(o,e){return(t,n,r)=>{typeof n=="function"&&(r=n,n=null);const L={...n};n={...P2.defaults,...L};const c=Hm(n.silent,n.async,r);if(typeof t>"u"||t===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(jm(n),n.hooks&&(n.hooks.options=n),r){const u=n.highlight;let d;try{n.hooks&&(t=n.hooks.preprocess(t)),d=o(t,n)}catch(p){return c(p)}const f=function(p){let m;if(!p)try{n.walkTokens&&P2.walkTokens(d,n.walkTokens),m=e(d,n),n.hooks&&(m=n.hooks.postprocess(m))}catch(w){p=w}return n.highlight=u,p?c(p):r(null,m)};if(!u||u.length<3||(delete n.highlight,!d.length))return f();let g=0;P2.walkTokens(d,function(p){p.type==="code"&&(g++,setTimeout(()=>{u(p.text,p.lang,function(m,w){if(m)return f(m);w!=null&&w!==p.text&&(p.text=w,p.escaped=!0),g--,g===0&&f()})},0))}),g===0&&f();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(u=>o(u,n)).then(u=>n.walkTokens?Promise.all(P2.walkTokens(u,n.walkTokens)).then(()=>u):u).then(u=>e(u,n)).then(u=>n.hooks?n.hooks.postprocess(u):u).catch(c);try{n.hooks&&(t=n.hooks.preprocess(t));const u=o(t,n);n.walkTokens&&P2.walkTokens(u,n.walkTokens);let d=e(u,n);return n.hooks&&(d=n.hooks.postprocess(d)),d}catch(u){return c(u)}}}function P2(o,e,t){return Lc(s0.lex,r0.parse)(o,e,t)}P2.options=P2.setOptions=function(o){return P2.defaults={...P2.defaults,...o},bm(P2.defaults),P2},P2.getDefaults=XL,P2.defaults=K0,P2.use=function(...o){const e=P2.defaults.extensions||{renderers:{},childTokens:{}};o.forEach(t=>{const n={...t};if(n.async=P2.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const L=e.renderers[r.name];L?e.renderers[r.name]=function(...c){let u=r.renderer.apply(this,c);return u===!1&&(u=L.apply(this,c)),u}:e.renderers[r.name]=r.renderer}if(r.tokenizer){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[r.level]?e[r.level].unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),n.extensions=e),t.renderer){const r=P2.defaults.renderer||new Co;for(const L in t.renderer){const c=r[L];r[L]=(...u)=>{let d=t.renderer[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.renderer=r}if(t.tokenizer){const r=P2.defaults.tokenizer||new co;for(const L in t.tokenizer){const c=r[L];r[L]=(...u)=>{let d=t.tokenizer[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.tokenizer=r}if(t.hooks){const r=P2.defaults.hooks||new ue;for(const L in t.hooks){const c=r[L];ue.passThroughHooks.has(L)?r[L]=u=>{if(P2.defaults.async)return Promise.resolve(t.hooks[L].call(r,u)).then(f=>c.call(r,f));const d=t.hooks[L].call(r,u);return c.call(r,d)}:r[L]=(...u)=>{let d=t.hooks[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.hooks=r}if(t.walkTokens){const r=P2.defaults.walkTokens;n.walkTokens=function(L){let c=[];return c.push(t.walkTokens.call(this,L)),r&&(c=c.concat(r.call(this,L))),c}}P2.setOptions(n)})},P2.walkTokens=function(o,e){let t=[];for(const n of o)switch(t=t.concat(e.call(P2,n)),n.type){case"table":{for(const r of n.header)t=t.concat(P2.walkTokens(r.tokens,e));for(const r of n.rows)for(const L of r)t=t.concat(P2.walkTokens(L.tokens,e));break}case"list":{t=t.concat(P2.walkTokens(n.items,e));break}default:P2.defaults.extensions&&P2.defaults.extensions.childTokens&&P2.defaults.extensions.childTokens[n.type]?P2.defaults.extensions.childTokens[n.type].forEach(function(r){t=t.concat(P2.walkTokens(n[r],e))}):n.tokens&&(t=t.concat(P2.walkTokens(n.tokens,e)))}return t},P2.parseInline=Lc(s0.lexInline,r0.parseInline),P2.Parser=r0,P2.parser=r0.parse,P2.Renderer=Co,P2.TextRenderer=lc,P2.Lexer=s0,P2.lexer=s0.lex,P2.Tokenizer=co,P2.Slugger=ac,P2.Hooks=ue,P2.parse=P2,P2.options,P2.setOptions,P2.use,P2.walkTokens,P2.parseInline,r0.parse,s0.lex;/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:cc,setPrototypeOf:Cc,isFrozen:$m,getPrototypeOf:Gm,getOwnPropertyDescriptor:Vm}=Object;let{freeze:W3,seal:T4,create:uc}=Object,{apply:uo,construct:ho}=typeof Reflect<"u"&&Reflect;W3||(W3=function(e){return e}),T4||(T4=function(e){return e}),uo||(uo=function(e,t,n){return e.apply(t,n)}),ho||(ho=function(e,t){return new e(...t)});const de=H3(Array.prototype.forEach),qm=H3(Array.prototype.lastIndexOf),dc=H3(Array.prototype.pop),K8=H3(Array.prototype.push),Ym=H3(Array.prototype.splice),he=H3(String.prototype.toLowerCase),fo=H3(String.prototype.toString),hc=H3(String.prototype.match),J8=H3(String.prototype.replace),Qm=H3(String.prototype.indexOf),Xm=H3(String.prototype.trim),Y4=H3(Object.prototype.hasOwnProperty),U3=H3(RegExp.prototype.test),e6=Km(TypeError);function H3(o){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return uo(o,e,n)}}function Km(o){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ho(o,t)}}function s1(o,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:he;Cc&&Cc(o,null);let n=e.length;for(;n--;){let r=e[n];if(typeof r=="string"){const L=t(r);L!==r&&($m(e)||(e[n]=L),r=L)}o[r]=!0}return o}function Jm(o){for(let e=0;e<o.length;e++)Y4(o,e)||(o[e]=null);return o}function R9(o){const e=uc(null);for(const[t,n]of cc(o))Y4(o,t)&&(Array.isArray(n)?e[t]=Jm(n):n&&typeof n=="object"&&n.constructor===Object?e[t]=R9(n):e[t]=n);return e}function t6(o,e){for(;o!==null;){const n=Vm(o,e);if(n){if(n.get)return H3(n.get);if(typeof n.value=="function")return H3(n.value)}o=Gm(o)}function t(){return null}return t}const fc=W3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),go=W3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),po=W3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ev=W3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_o=W3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),tv=W3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gc=W3(["#text"]),pc=W3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),mo=W3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_c=W3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=W3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),nv=T4(/\{\{[\w\W]*|[\w\W]*\}\}/gm),iv=T4(/<%[\w\W]*|[\w\W]*%>/gm),ov=T4(/\$\{[\w\W]*/gm),sv=T4(/^data-[\-\w.\u00B7-\uFFFF]+$/),rv=T4(/^aria-[\-\w]+$/),mc=T4(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),lv=T4(/^(?:\w+script|data):/i),av=T4(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vc=T4(/^html$/i),Lv=T4(/^[a-z][.\w]*(-[.\w]+)+$/i);var xc=Object.freeze({__proto__:null,ARIA_ATTR:rv,ATTR_WHITESPACE:av,CUSTOM_ELEMENT:Lv,DATA_ATTR:sv,DOCTYPE_NAME:vc,ERB_EXPR:iv,IS_ALLOWED_URI:mc,IS_SCRIPT_OR_DATA:lv,MUSTACHE_EXPR:nv,TMPLIT_EXPR:ov});const n6={element:1,text:3,progressingInstruction:7,comment:8,document:9},cv=function(){return typeof window>"u"?null:window},Cv=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const L="dompurify"+(n?"#"+n:"");try{return e.createPolicy(L,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},wc=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Mc(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cv();const e=I2=>Mc(I2);if(e.version="3.2.6",e.removed=[],!o||!o.document||o.document.nodeType!==n6.document||!o.Element)return e.isSupported=!1,e;let{document:t}=o;const n=t,r=n.currentScript,{DocumentFragment:L,HTMLTemplateElement:c,Node:u,Element:d,NodeFilter:f,NamedNodeMap:g=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:w}=o,A=d.prototype,y=t6(A,"cloneNode"),Z=t6(A,"remove"),k=t6(A,"nextSibling"),D=t6(A,"childNodes"),z=t6(A,"parentNode");if(typeof c=="function"){const I2=t.createElement("template");I2.content&&I2.content.ownerDocument&&(t=I2.content.ownerDocument)}let O,F="";const{implementation:t2,createNodeIterator:H,createDocumentFragment:Q,getElementsByTagName:n2}=t,{importNode:L2}=n;let r2=wc();e.isSupported=typeof cc=="function"&&typeof z=="function"&&t2&&t2.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:C2,ERB_EXPR:x2,TMPLIT_EXPR:D2,DATA_ATTR:$,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:U,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:g2}=xc;let{IS_ALLOWED_URI:R}=xc,J=null;const i2=s1({},[...fc,...go,...po,..._o,...gc]);let V=null;const e2=s1({},[...pc,...mo,..._c,...fe]);let _2=Object.seal(uc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v2=null,N2=null,Y2=!0,R1=!0,v1=!1,J1=!0,e3=!1,V3=!0,I3=!1,h9=!1,z4=!1,U1=!1,_0=!1,z9=!1,m0=!0,P9=!1;const T6="user-content-";let v0=!0,D9=!1,f9={},O3=null;const L3=s1({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let f4=null;const c3=s1({},["audio","video","img","source","image","track"]);let N9=null;const c5=s1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),C3="http://www.w3.org/1998/Math/MathML",g4="http://www.w3.org/2000/svg",x3="http://www.w3.org/1999/xhtml";let w3=x3,F9=!1,J4=null;const W=s1({},[C3,g4,x3],fo);let s2=s1({},["mi","mo","mn","ms","mtext"]),m2=s1({},["annotation-xml"]);const O2=s1({},["title","style","font","a","script"]);let Q2=null;const c1=["application/xhtml+xml","text/html"],I1="text/html";let h2=null,S2=null;const H2=t.createElement("form"),q2=function(I){return I instanceof RegExp||I instanceof Function},x1=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(S2&&S2===I)){if((!I||typeof I!="object")&&(I={}),I=R9(I),Q2=c1.indexOf(I.PARSER_MEDIA_TYPE)===-1?I1:I.PARSER_MEDIA_TYPE,h2=Q2==="application/xhtml+xml"?fo:he,J=Y4(I,"ALLOWED_TAGS")?s1({},I.ALLOWED_TAGS,h2):i2,V=Y4(I,"ALLOWED_ATTR")?s1({},I.ALLOWED_ATTR,h2):e2,J4=Y4(I,"ALLOWED_NAMESPACES")?s1({},I.ALLOWED_NAMESPACES,fo):W,N9=Y4(I,"ADD_URI_SAFE_ATTR")?s1(R9(c5),I.ADD_URI_SAFE_ATTR,h2):c5,f4=Y4(I,"ADD_DATA_URI_TAGS")?s1(R9(c3),I.ADD_DATA_URI_TAGS,h2):c3,O3=Y4(I,"FORBID_CONTENTS")?s1({},I.FORBID_CONTENTS,h2):L3,v2=Y4(I,"FORBID_TAGS")?s1({},I.FORBID_TAGS,h2):R9({}),N2=Y4(I,"FORBID_ATTR")?s1({},I.FORBID_ATTR,h2):R9({}),f9=Y4(I,"USE_PROFILES")?I.USE_PROFILES:!1,Y2=I.ALLOW_ARIA_ATTR!==!1,R1=I.ALLOW_DATA_ATTR!==!1,v1=I.ALLOW_UNKNOWN_PROTOCOLS||!1,J1=I.ALLOW_SELF_CLOSE_IN_ATTR!==!1,e3=I.SAFE_FOR_TEMPLATES||!1,V3=I.SAFE_FOR_XML!==!1,I3=I.WHOLE_DOCUMENT||!1,U1=I.RETURN_DOM||!1,_0=I.RETURN_DOM_FRAGMENT||!1,z9=I.RETURN_TRUSTED_TYPE||!1,z4=I.FORCE_BODY||!1,m0=I.SANITIZE_DOM!==!1,P9=I.SANITIZE_NAMED_PROPS||!1,v0=I.KEEP_CONTENT!==!1,D9=I.IN_PLACE||!1,R=I.ALLOWED_URI_REGEXP||mc,w3=I.NAMESPACE||x3,s2=I.MATHML_TEXT_INTEGRATION_POINTS||s2,m2=I.HTML_INTEGRATION_POINTS||m2,_2=I.CUSTOM_ELEMENT_HANDLING||{},I.CUSTOM_ELEMENT_HANDLING&&q2(I.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_2.tagNameCheck=I.CUSTOM_ELEMENT_HANDLING.tagNameCheck),I.CUSTOM_ELEMENT_HANDLING&&q2(I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_2.attributeNameCheck=I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),I.CUSTOM_ELEMENT_HANDLING&&typeof I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_2.allowCustomizedBuiltInElements=I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),e3&&(R1=!1),_0&&(U1=!0),f9&&(J=s1({},gc),V=[],f9.html===!0&&(s1(J,fc),s1(V,pc)),f9.svg===!0&&(s1(J,go),s1(V,mo),s1(V,fe)),f9.svgFilters===!0&&(s1(J,po),s1(V,mo),s1(V,fe)),f9.mathMl===!0&&(s1(J,_o),s1(V,_c),s1(V,fe))),I.ADD_TAGS&&(J===i2&&(J=R9(J)),s1(J,I.ADD_TAGS,h2)),I.ADD_ATTR&&(V===e2&&(V=R9(V)),s1(V,I.ADD_ATTR,h2)),I.ADD_URI_SAFE_ATTR&&s1(N9,I.ADD_URI_SAFE_ATTR,h2),I.FORBID_CONTENTS&&(O3===L3&&(O3=R9(O3)),s1(O3,I.FORBID_CONTENTS,h2)),v0&&(J["#text"]=!0),I3&&s1(J,["html","head","body"]),J.table&&(s1(J,["tbody"]),delete v2.tbody),I.TRUSTED_TYPES_POLICY){if(typeof I.TRUSTED_TYPES_POLICY.createHTML!="function")throw e6('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof I.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw e6('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=I.TRUSTED_TYPES_POLICY,F=O.createHTML("")}else O===void 0&&(O=Cv(w,r)),O!==null&&typeof F=="string"&&(F=O.createHTML(""));W3&&W3(I),S2=I}},t3=s1({},[...go,...po,...ev]),P1=s1({},[..._o,...tv]),n3=function(I){let d2=z(I);(!d2||!d2.tagName)&&(d2={namespaceURI:w3,tagName:"template"});const w2=he(I.tagName),a1=he(d2.tagName);return J4[I.namespaceURI]?I.namespaceURI===g4?d2.namespaceURI===x3?w2==="svg":d2.namespaceURI===C3?w2==="svg"&&(a1==="annotation-xml"||s2[a1]):!!t3[w2]:I.namespaceURI===C3?d2.namespaceURI===x3?w2==="math":d2.namespaceURI===g4?w2==="math"&&m2[a1]:!!P1[w2]:I.namespaceURI===x3?d2.namespaceURI===g4&&!m2[a1]||d2.namespaceURI===C3&&!s2[a1]?!1:!P1[w2]&&(O2[w2]||!t3[w2]):!!(Q2==="application/xhtml+xml"&&J4[I.namespaceURI]):!1},u3=function(I){K8(e.removed,{element:I});try{z(I).removeChild(I)}catch{Z(I)}},P4=function(I,d2){try{K8(e.removed,{attribute:d2.getAttributeNode(I),from:d2})}catch{K8(e.removed,{attribute:null,from:d2})}if(d2.removeAttribute(I),I==="is")if(U1||_0)try{u3(d2)}catch{}else try{d2.setAttribute(I,"")}catch{}},e8=function(I){let d2=null,w2=null;if(z4)I="<remove></remove>"+I;else{const k1=hc(I,/^[\r\n\t ]+/);w2=k1&&k1[0]}Q2==="application/xhtml+xml"&&w3===x3&&(I='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+I+"</body></html>");const a1=O?O.createHTML(I):I;if(w3===x3)try{d2=new m().parseFromString(a1,Q2)}catch{}if(!d2||!d2.documentElement){d2=t2.createDocument(w3,"template",null);try{d2.documentElement.innerHTML=F9?F:a1}catch{}}const $1=d2.body||d2.documentElement;return I&&w2&&$1.insertBefore(t.createTextNode(w2),$1.childNodes[0]||null),w3===x3?n2.call(d2,I3?"html":"body")[0]:I3?d2.documentElement:$1},t8=function(I){return H.call(I.ownerDocument||I,I,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},x0=function(I){return I instanceof p&&(typeof I.nodeName!="string"||typeof I.textContent!="string"||typeof I.removeChild!="function"||!(I.attributes instanceof g)||typeof I.removeAttribute!="function"||typeof I.setAttribute!="function"||typeof I.namespaceURI!="string"||typeof I.insertBefore!="function"||typeof I.hasChildNodes!="function")},p4=function(I){return typeof u=="function"&&I instanceof u};function q3(I2,I,d2){de(I2,w2=>{w2.call(e,I,d2,S2)})}const _4=function(I){let d2=null;if(q3(r2.beforeSanitizeElements,I,null),x0(I))return u3(I),!0;const w2=h2(I.nodeName);if(q3(r2.uponSanitizeElement,I,{tagName:w2,allowedTags:J}),V3&&I.hasChildNodes()&&!p4(I.firstElementChild)&&U3(/<[/\w!]/g,I.innerHTML)&&U3(/<[/\w!]/g,I.textContent)||I.nodeType===n6.progressingInstruction||V3&&I.nodeType===n6.comment&&U3(/<[/\w]/g,I.data))return u3(I),!0;if(!J[w2]||v2[w2]){if(!v2[w2]&&D4(w2)&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,w2)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(w2)))return!1;if(v0&&!O3[w2]){const a1=z(I)||I.parentNode,$1=D(I)||I.childNodes;if($1&&a1){const k1=$1.length;for(let g3=k1-1;g3>=0;--g3){const z3=y($1[g3],!0);z3.__removalCount=(I.__removalCount||0)+1,a1.insertBefore(z3,k(I))}}}return u3(I),!0}return I instanceof d&&!n3(I)||(w2==="noscript"||w2==="noembed"||w2==="noframes")&&U3(/<\/no(script|embed|frames)/i,I.innerHTML)?(u3(I),!0):(e3&&I.nodeType===n6.text&&(d2=I.textContent,de([C2,x2,D2],a1=>{d2=J8(d2,a1," ")}),I.textContent!==d2&&(K8(e.removed,{element:I.cloneNode()}),I.textContent=d2)),q3(r2.afterSanitizeElements,I,null),!1)},e9=function(I,d2,w2){if(m0&&(d2==="id"||d2==="name")&&(w2 in t||w2 in H2))return!1;if(!(R1&&!N2[d2]&&U3($,d2))){if(!(Y2&&U3(T,d2))){if(!V[d2]||N2[d2]){if(!(D4(I)&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,I)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(I))&&(_2.attributeNameCheck instanceof RegExp&&U3(_2.attributeNameCheck,d2)||_2.attributeNameCheck instanceof Function&&_2.attributeNameCheck(d2))||d2==="is"&&_2.allowCustomizedBuiltInElements&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,w2)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(w2))))return!1}else if(!N9[d2]){if(!U3(R,J8(w2,B,""))){if(!((d2==="src"||d2==="xlink:href"||d2==="href")&&I!=="script"&&Qm(w2,"data:")===0&&f4[I])){if(!(v1&&!U3(U,J8(w2,B,"")))){if(w2)return!1}}}}}}return!0},D4=function(I){return I!=="annotation-xml"&&hc(I,g2)},N4=function(I){q3(r2.beforeSanitizeAttributes,I,null);const{attributes:d2}=I;if(!d2||x0(I))return;const w2={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let a1=d2.length;for(;a1--;){const $1=d2[a1],{name:k1,namespaceURI:g3,value:z3}=$1,Y3=h2(k1),Q3=z3;let G1=k1==="value"?Q3:Xm(Q3);if(w2.attrName=Y3,w2.attrValue=G1,w2.keepAttr=!0,w2.forceKeepAttr=void 0,q3(r2.uponSanitizeAttribute,I,w2),G1=w2.attrValue,P9&&(Y3==="id"||Y3==="name")&&(P4(k1,I),G1=T6+G1),V3&&U3(/((--!?|])>)|<\/(style|title)/i,G1)){P4(k1,I);continue}if(w2.forceKeepAttr)continue;if(!w2.keepAttr){P4(k1,I);continue}if(!J1&&U3(/\/>/i,G1)){P4(k1,I);continue}e3&&de([C2,x2,D2],M2=>{G1=J8(G1,M2," ")});const u2=h2(I.nodeName);if(!e9(u2,Y3,G1)){P4(k1,I);continue}if(O&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!g3)switch(w.getAttributeType(u2,Y3)){case"TrustedHTML":{G1=O.createHTML(G1);break}case"TrustedScriptURL":{G1=O.createScriptURL(G1);break}}if(G1!==Q3)try{g3?I.setAttributeNS(g3,k1,G1):I.setAttribute(k1,G1),x0(I)?u3(I):dc(e.removed)}catch{P4(k1,I)}}q3(r2.afterSanitizeAttributes,I,null)},H1=function I2(I){let d2=null;const w2=t8(I);for(q3(r2.beforeSanitizeShadowDOM,I,null);d2=w2.nextNode();)q3(r2.uponSanitizeShadowNode,d2,null),_4(d2),N4(d2),d2.content instanceof L&&I2(d2.content);q3(r2.afterSanitizeShadowDOM,I,null)};return e.sanitize=function(I2){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d2=null,w2=null,a1=null,$1=null;if(F9=!I2,F9&&(I2="<!-->"),typeof I2!="string"&&!p4(I2))if(typeof I2.toString=="function"){if(I2=I2.toString(),typeof I2!="string")throw e6("dirty is not a string, aborting")}else throw e6("toString is not a function");if(!e.isSupported)return I2;if(h9||x1(I),e.removed=[],typeof I2=="string"&&(D9=!1),D9){if(I2.nodeName){const z3=h2(I2.nodeName);if(!J[z3]||v2[z3])throw e6("root node is forbidden and cannot be sanitized in-place")}}else if(I2 instanceof u)d2=e8("<!---->"),w2=d2.ownerDocument.importNode(I2,!0),w2.nodeType===n6.element&&w2.nodeName==="BODY"||w2.nodeName==="HTML"?d2=w2:d2.appendChild(w2);else{if(!U1&&!e3&&!I3&&I2.indexOf("<")===-1)return O&&z9?O.createHTML(I2):I2;if(d2=e8(I2),!d2)return U1?null:z9?F:""}d2&&z4&&u3(d2.firstChild);const k1=t8(D9?I2:d2);for(;a1=k1.nextNode();)_4(a1),N4(a1),a1.content instanceof L&&H1(a1.content);if(D9)return I2;if(U1){if(_0)for($1=Q.call(d2.ownerDocument);d2.firstChild;)$1.appendChild(d2.firstChild);else $1=d2;return(V.shadowroot||V.shadowrootmode)&&($1=L2.call(n,$1,!0)),$1}let g3=I3?d2.outerHTML:d2.innerHTML;return I3&&J["!doctype"]&&d2.ownerDocument&&d2.ownerDocument.doctype&&d2.ownerDocument.doctype.name&&U3(vc,d2.ownerDocument.doctype.name)&&(g3="<!DOCTYPE "+d2.ownerDocument.doctype.name+`>
|
|
75
|
+
Please report this to https://github.com/markedjs/marked.`,o){const r="<p>An error occurred:</p><pre>"+k3(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(r);if(t){t(null,r);return}return r}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function Lc(o,e){return(t,n,r)=>{typeof n=="function"&&(r=n,n=null);const L={...n};n={...P2.defaults,...L};const c=Hm(n.silent,n.async,r);if(typeof t>"u"||t===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(jm(n),n.hooks&&(n.hooks.options=n),r){const u=n.highlight;let d;try{n.hooks&&(t=n.hooks.preprocess(t)),d=o(t,n)}catch(p){return c(p)}const f=function(p){let m;if(!p)try{n.walkTokens&&P2.walkTokens(d,n.walkTokens),m=e(d,n),n.hooks&&(m=n.hooks.postprocess(m))}catch(w){p=w}return n.highlight=u,p?c(p):r(null,m)};if(!u||u.length<3||(delete n.highlight,!d.length))return f();let g=0;P2.walkTokens(d,function(p){p.type==="code"&&(g++,setTimeout(()=>{u(p.text,p.lang,function(m,w){if(m)return f(m);w!=null&&w!==p.text&&(p.text=w,p.escaped=!0),g--,g===0&&f()})},0))}),g===0&&f();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(u=>o(u,n)).then(u=>n.walkTokens?Promise.all(P2.walkTokens(u,n.walkTokens)).then(()=>u):u).then(u=>e(u,n)).then(u=>n.hooks?n.hooks.postprocess(u):u).catch(c);try{n.hooks&&(t=n.hooks.preprocess(t));const u=o(t,n);n.walkTokens&&P2.walkTokens(u,n.walkTokens);let d=e(u,n);return n.hooks&&(d=n.hooks.postprocess(d)),d}catch(u){return c(u)}}}function P2(o,e,t){return Lc(s0.lex,r0.parse)(o,e,t)}P2.options=P2.setOptions=function(o){return P2.defaults={...P2.defaults,...o},bm(P2.defaults),P2},P2.getDefaults=XL,P2.defaults=K0,P2.use=function(...o){const e=P2.defaults.extensions||{renderers:{},childTokens:{}};o.forEach(t=>{const n={...t};if(n.async=P2.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const L=e.renderers[r.name];L?e.renderers[r.name]=function(...c){let u=r.renderer.apply(this,c);return u===!1&&(u=L.apply(this,c)),u}:e.renderers[r.name]=r.renderer}if(r.tokenizer){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[r.level]?e[r.level].unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),n.extensions=e),t.renderer){const r=P2.defaults.renderer||new Co;for(const L in t.renderer){const c=r[L];r[L]=(...u)=>{let d=t.renderer[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.renderer=r}if(t.tokenizer){const r=P2.defaults.tokenizer||new co;for(const L in t.tokenizer){const c=r[L];r[L]=(...u)=>{let d=t.tokenizer[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.tokenizer=r}if(t.hooks){const r=P2.defaults.hooks||new ue;for(const L in t.hooks){const c=r[L];ue.passThroughHooks.has(L)?r[L]=u=>{if(P2.defaults.async)return Promise.resolve(t.hooks[L].call(r,u)).then(f=>c.call(r,f));const d=t.hooks[L].call(r,u);return c.call(r,d)}:r[L]=(...u)=>{let d=t.hooks[L].apply(r,u);return d===!1&&(d=c.apply(r,u)),d}}n.hooks=r}if(t.walkTokens){const r=P2.defaults.walkTokens;n.walkTokens=function(L){let c=[];return c.push(t.walkTokens.call(this,L)),r&&(c=c.concat(r.call(this,L))),c}}P2.setOptions(n)})},P2.walkTokens=function(o,e){let t=[];for(const n of o)switch(t=t.concat(e.call(P2,n)),n.type){case"table":{for(const r of n.header)t=t.concat(P2.walkTokens(r.tokens,e));for(const r of n.rows)for(const L of r)t=t.concat(P2.walkTokens(L.tokens,e));break}case"list":{t=t.concat(P2.walkTokens(n.items,e));break}default:P2.defaults.extensions&&P2.defaults.extensions.childTokens&&P2.defaults.extensions.childTokens[n.type]?P2.defaults.extensions.childTokens[n.type].forEach(function(r){t=t.concat(P2.walkTokens(n[r],e))}):n.tokens&&(t=t.concat(P2.walkTokens(n.tokens,e)))}return t},P2.parseInline=Lc(s0.lexInline,r0.parseInline),P2.Parser=r0,P2.parser=r0.parse,P2.Renderer=Co,P2.TextRenderer=lc,P2.Lexer=s0,P2.lexer=s0.lex,P2.Tokenizer=co,P2.Slugger=ac,P2.Hooks=ue,P2.parse=P2,P2.options,P2.setOptions,P2.use,P2.walkTokens,P2.parseInline,r0.parse,s0.lex;/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:cc,setPrototypeOf:Cc,isFrozen:$m,getPrototypeOf:Gm,getOwnPropertyDescriptor:Vm}=Object;let{freeze:W3,seal:T4,create:uc}=Object,{apply:uo,construct:ho}=typeof Reflect<"u"&&Reflect;W3||(W3=function(e){return e}),T4||(T4=function(e){return e}),uo||(uo=function(e,t,n){return e.apply(t,n)}),ho||(ho=function(e,t){return new e(...t)});const de=H3(Array.prototype.forEach),qm=H3(Array.prototype.lastIndexOf),dc=H3(Array.prototype.pop),K8=H3(Array.prototype.push),Ym=H3(Array.prototype.splice),he=H3(String.prototype.toLowerCase),fo=H3(String.prototype.toString),hc=H3(String.prototype.match),J8=H3(String.prototype.replace),Qm=H3(String.prototype.indexOf),Xm=H3(String.prototype.trim),Y4=H3(Object.prototype.hasOwnProperty),U3=H3(RegExp.prototype.test),e6=Km(TypeError);function H3(o){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return uo(o,e,n)}}function Km(o){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ho(o,t)}}function s1(o,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:he;Cc&&Cc(o,null);let n=e.length;for(;n--;){let r=e[n];if(typeof r=="string"){const L=t(r);L!==r&&($m(e)||(e[n]=L),r=L)}o[r]=!0}return o}function Jm(o){for(let e=0;e<o.length;e++)Y4(o,e)||(o[e]=null);return o}function R9(o){const e=uc(null);for(const[t,n]of cc(o))Y4(o,t)&&(Array.isArray(n)?e[t]=Jm(n):n&&typeof n=="object"&&n.constructor===Object?e[t]=R9(n):e[t]=n);return e}function t6(o,e){for(;o!==null;){const n=Vm(o,e);if(n){if(n.get)return H3(n.get);if(typeof n.value=="function")return H3(n.value)}o=Gm(o)}function t(){return null}return t}const fc=W3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),go=W3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),po=W3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ev=W3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_o=W3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),tv=W3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gc=W3(["#text"]),pc=W3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),mo=W3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_c=W3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=W3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),nv=T4(/\{\{[\w\W]*|[\w\W]*\}\}/gm),iv=T4(/<%[\w\W]*|[\w\W]*%>/gm),ov=T4(/\$\{[\w\W]*/gm),sv=T4(/^data-[\-\w.\u00B7-\uFFFF]+$/),rv=T4(/^aria-[\-\w]+$/),mc=T4(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),lv=T4(/^(?:\w+script|data):/i),av=T4(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vc=T4(/^html$/i),Lv=T4(/^[a-z][.\w]*(-[.\w]+)+$/i);var xc=Object.freeze({__proto__:null,ARIA_ATTR:rv,ATTR_WHITESPACE:av,CUSTOM_ELEMENT:Lv,DATA_ATTR:sv,DOCTYPE_NAME:vc,ERB_EXPR:iv,IS_ALLOWED_URI:mc,IS_SCRIPT_OR_DATA:lv,MUSTACHE_EXPR:nv,TMPLIT_EXPR:ov});const n6={element:1,text:3,progressingInstruction:7,comment:8,document:9},cv=function(){return typeof window>"u"?null:window},Cv=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const L="dompurify"+(n?"#"+n:"");try{return e.createPolicy(L,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},wc=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Mc(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cv();const e=I2=>Mc(I2);if(e.version="3.2.6",e.removed=[],!o||!o.document||o.document.nodeType!==n6.document||!o.Element)return e.isSupported=!1,e;let{document:t}=o;const n=t,r=n.currentScript,{DocumentFragment:L,HTMLTemplateElement:c,Node:u,Element:d,NodeFilter:f,NamedNodeMap:g=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:w}=o,A=d.prototype,y=t6(A,"cloneNode"),Z=t6(A,"remove"),k=t6(A,"nextSibling"),D=t6(A,"childNodes"),z=t6(A,"parentNode");if(typeof c=="function"){const I2=t.createElement("template");I2.content&&I2.content.ownerDocument&&(t=I2.content.ownerDocument)}let O,F="";const{implementation:t2,createNodeIterator:H,createDocumentFragment:Q,getElementsByTagName:n2}=t,{importNode:L2}=n;let r2=wc();e.isSupported=typeof cc=="function"&&typeof z=="function"&&t2&&t2.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:C2,ERB_EXPR:x2,TMPLIT_EXPR:D2,DATA_ATTR:$,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:U,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:p2}=xc;let{IS_ALLOWED_URI:R}=xc,J=null;const i2=s1({},[...fc,...go,...po,..._o,...gc]);let V=null;const e2=s1({},[...pc,...mo,..._c,...fe]);let _2=Object.seal(uc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v2=null,N2=null,Y2=!0,R1=!0,v1=!1,J1=!0,e3=!1,V3=!0,I3=!1,h9=!1,z4=!1,U1=!1,_0=!1,z9=!1,m0=!0,P9=!1;const T6="user-content-";let v0=!0,D9=!1,f9={},O3=null;const L3=s1({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let f4=null;const c3=s1({},["audio","video","img","source","image","track"]);let N9=null;const c5=s1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),C3="http://www.w3.org/1998/Math/MathML",g4="http://www.w3.org/2000/svg",x3="http://www.w3.org/1999/xhtml";let w3=x3,F9=!1,J4=null;const W=s1({},[C3,g4,x3],fo);let s2=s1({},["mi","mo","mn","ms","mtext"]),m2=s1({},["annotation-xml"]);const O2=s1({},["title","style","font","a","script"]);let Q2=null;const c1=["application/xhtml+xml","text/html"],I1="text/html";let h2=null,S2=null;const H2=t.createElement("form"),q2=function(I){return I instanceof RegExp||I instanceof Function},x1=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(S2&&S2===I)){if((!I||typeof I!="object")&&(I={}),I=R9(I),Q2=c1.indexOf(I.PARSER_MEDIA_TYPE)===-1?I1:I.PARSER_MEDIA_TYPE,h2=Q2==="application/xhtml+xml"?fo:he,J=Y4(I,"ALLOWED_TAGS")?s1({},I.ALLOWED_TAGS,h2):i2,V=Y4(I,"ALLOWED_ATTR")?s1({},I.ALLOWED_ATTR,h2):e2,J4=Y4(I,"ALLOWED_NAMESPACES")?s1({},I.ALLOWED_NAMESPACES,fo):W,N9=Y4(I,"ADD_URI_SAFE_ATTR")?s1(R9(c5),I.ADD_URI_SAFE_ATTR,h2):c5,f4=Y4(I,"ADD_DATA_URI_TAGS")?s1(R9(c3),I.ADD_DATA_URI_TAGS,h2):c3,O3=Y4(I,"FORBID_CONTENTS")?s1({},I.FORBID_CONTENTS,h2):L3,v2=Y4(I,"FORBID_TAGS")?s1({},I.FORBID_TAGS,h2):R9({}),N2=Y4(I,"FORBID_ATTR")?s1({},I.FORBID_ATTR,h2):R9({}),f9=Y4(I,"USE_PROFILES")?I.USE_PROFILES:!1,Y2=I.ALLOW_ARIA_ATTR!==!1,R1=I.ALLOW_DATA_ATTR!==!1,v1=I.ALLOW_UNKNOWN_PROTOCOLS||!1,J1=I.ALLOW_SELF_CLOSE_IN_ATTR!==!1,e3=I.SAFE_FOR_TEMPLATES||!1,V3=I.SAFE_FOR_XML!==!1,I3=I.WHOLE_DOCUMENT||!1,U1=I.RETURN_DOM||!1,_0=I.RETURN_DOM_FRAGMENT||!1,z9=I.RETURN_TRUSTED_TYPE||!1,z4=I.FORCE_BODY||!1,m0=I.SANITIZE_DOM!==!1,P9=I.SANITIZE_NAMED_PROPS||!1,v0=I.KEEP_CONTENT!==!1,D9=I.IN_PLACE||!1,R=I.ALLOWED_URI_REGEXP||mc,w3=I.NAMESPACE||x3,s2=I.MATHML_TEXT_INTEGRATION_POINTS||s2,m2=I.HTML_INTEGRATION_POINTS||m2,_2=I.CUSTOM_ELEMENT_HANDLING||{},I.CUSTOM_ELEMENT_HANDLING&&q2(I.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_2.tagNameCheck=I.CUSTOM_ELEMENT_HANDLING.tagNameCheck),I.CUSTOM_ELEMENT_HANDLING&&q2(I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_2.attributeNameCheck=I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),I.CUSTOM_ELEMENT_HANDLING&&typeof I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_2.allowCustomizedBuiltInElements=I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),e3&&(R1=!1),_0&&(U1=!0),f9&&(J=s1({},gc),V=[],f9.html===!0&&(s1(J,fc),s1(V,pc)),f9.svg===!0&&(s1(J,go),s1(V,mo),s1(V,fe)),f9.svgFilters===!0&&(s1(J,po),s1(V,mo),s1(V,fe)),f9.mathMl===!0&&(s1(J,_o),s1(V,_c),s1(V,fe))),I.ADD_TAGS&&(J===i2&&(J=R9(J)),s1(J,I.ADD_TAGS,h2)),I.ADD_ATTR&&(V===e2&&(V=R9(V)),s1(V,I.ADD_ATTR,h2)),I.ADD_URI_SAFE_ATTR&&s1(N9,I.ADD_URI_SAFE_ATTR,h2),I.FORBID_CONTENTS&&(O3===L3&&(O3=R9(O3)),s1(O3,I.FORBID_CONTENTS,h2)),v0&&(J["#text"]=!0),I3&&s1(J,["html","head","body"]),J.table&&(s1(J,["tbody"]),delete v2.tbody),I.TRUSTED_TYPES_POLICY){if(typeof I.TRUSTED_TYPES_POLICY.createHTML!="function")throw e6('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof I.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw e6('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=I.TRUSTED_TYPES_POLICY,F=O.createHTML("")}else O===void 0&&(O=Cv(w,r)),O!==null&&typeof F=="string"&&(F=O.createHTML(""));W3&&W3(I),S2=I}},t3=s1({},[...go,...po,...ev]),P1=s1({},[..._o,...tv]),n3=function(I){let d2=z(I);(!d2||!d2.tagName)&&(d2={namespaceURI:w3,tagName:"template"});const w2=he(I.tagName),a1=he(d2.tagName);return J4[I.namespaceURI]?I.namespaceURI===g4?d2.namespaceURI===x3?w2==="svg":d2.namespaceURI===C3?w2==="svg"&&(a1==="annotation-xml"||s2[a1]):!!t3[w2]:I.namespaceURI===C3?d2.namespaceURI===x3?w2==="math":d2.namespaceURI===g4?w2==="math"&&m2[a1]:!!P1[w2]:I.namespaceURI===x3?d2.namespaceURI===g4&&!m2[a1]||d2.namespaceURI===C3&&!s2[a1]?!1:!P1[w2]&&(O2[w2]||!t3[w2]):!!(Q2==="application/xhtml+xml"&&J4[I.namespaceURI]):!1},u3=function(I){K8(e.removed,{element:I});try{z(I).removeChild(I)}catch{Z(I)}},P4=function(I,d2){try{K8(e.removed,{attribute:d2.getAttributeNode(I),from:d2})}catch{K8(e.removed,{attribute:null,from:d2})}if(d2.removeAttribute(I),I==="is")if(U1||_0)try{u3(d2)}catch{}else try{d2.setAttribute(I,"")}catch{}},e8=function(I){let d2=null,w2=null;if(z4)I="<remove></remove>"+I;else{const k1=hc(I,/^[\r\n\t ]+/);w2=k1&&k1[0]}Q2==="application/xhtml+xml"&&w3===x3&&(I='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+I+"</body></html>");const a1=O?O.createHTML(I):I;if(w3===x3)try{d2=new m().parseFromString(a1,Q2)}catch{}if(!d2||!d2.documentElement){d2=t2.createDocument(w3,"template",null);try{d2.documentElement.innerHTML=F9?F:a1}catch{}}const $1=d2.body||d2.documentElement;return I&&w2&&$1.insertBefore(t.createTextNode(w2),$1.childNodes[0]||null),w3===x3?n2.call(d2,I3?"html":"body")[0]:I3?d2.documentElement:$1},t8=function(I){return H.call(I.ownerDocument||I,I,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},x0=function(I){return I instanceof p&&(typeof I.nodeName!="string"||typeof I.textContent!="string"||typeof I.removeChild!="function"||!(I.attributes instanceof g)||typeof I.removeAttribute!="function"||typeof I.setAttribute!="function"||typeof I.namespaceURI!="string"||typeof I.insertBefore!="function"||typeof I.hasChildNodes!="function")},p4=function(I){return typeof u=="function"&&I instanceof u};function q3(I2,I,d2){de(I2,w2=>{w2.call(e,I,d2,S2)})}const _4=function(I){let d2=null;if(q3(r2.beforeSanitizeElements,I,null),x0(I))return u3(I),!0;const w2=h2(I.nodeName);if(q3(r2.uponSanitizeElement,I,{tagName:w2,allowedTags:J}),V3&&I.hasChildNodes()&&!p4(I.firstElementChild)&&U3(/<[/\w!]/g,I.innerHTML)&&U3(/<[/\w!]/g,I.textContent)||I.nodeType===n6.progressingInstruction||V3&&I.nodeType===n6.comment&&U3(/<[/\w]/g,I.data))return u3(I),!0;if(!J[w2]||v2[w2]){if(!v2[w2]&&D4(w2)&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,w2)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(w2)))return!1;if(v0&&!O3[w2]){const a1=z(I)||I.parentNode,$1=D(I)||I.childNodes;if($1&&a1){const k1=$1.length;for(let g3=k1-1;g3>=0;--g3){const z3=y($1[g3],!0);z3.__removalCount=(I.__removalCount||0)+1,a1.insertBefore(z3,k(I))}}}return u3(I),!0}return I instanceof d&&!n3(I)||(w2==="noscript"||w2==="noembed"||w2==="noframes")&&U3(/<\/no(script|embed|frames)/i,I.innerHTML)?(u3(I),!0):(e3&&I.nodeType===n6.text&&(d2=I.textContent,de([C2,x2,D2],a1=>{d2=J8(d2,a1," ")}),I.textContent!==d2&&(K8(e.removed,{element:I.cloneNode()}),I.textContent=d2)),q3(r2.afterSanitizeElements,I,null),!1)},e9=function(I,d2,w2){if(m0&&(d2==="id"||d2==="name")&&(w2 in t||w2 in H2))return!1;if(!(R1&&!N2[d2]&&U3($,d2))){if(!(Y2&&U3(T,d2))){if(!V[d2]||N2[d2]){if(!(D4(I)&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,I)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(I))&&(_2.attributeNameCheck instanceof RegExp&&U3(_2.attributeNameCheck,d2)||_2.attributeNameCheck instanceof Function&&_2.attributeNameCheck(d2))||d2==="is"&&_2.allowCustomizedBuiltInElements&&(_2.tagNameCheck instanceof RegExp&&U3(_2.tagNameCheck,w2)||_2.tagNameCheck instanceof Function&&_2.tagNameCheck(w2))))return!1}else if(!N9[d2]){if(!U3(R,J8(w2,B,""))){if(!((d2==="src"||d2==="xlink:href"||d2==="href")&&I!=="script"&&Qm(w2,"data:")===0&&f4[I])){if(!(v1&&!U3(U,J8(w2,B,"")))){if(w2)return!1}}}}}}return!0},D4=function(I){return I!=="annotation-xml"&&hc(I,p2)},N4=function(I){q3(r2.beforeSanitizeAttributes,I,null);const{attributes:d2}=I;if(!d2||x0(I))return;const w2={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let a1=d2.length;for(;a1--;){const $1=d2[a1],{name:k1,namespaceURI:g3,value:z3}=$1,Y3=h2(k1),Q3=z3;let G1=k1==="value"?Q3:Xm(Q3);if(w2.attrName=Y3,w2.attrValue=G1,w2.keepAttr=!0,w2.forceKeepAttr=void 0,q3(r2.uponSanitizeAttribute,I,w2),G1=w2.attrValue,P9&&(Y3==="id"||Y3==="name")&&(P4(k1,I),G1=T6+G1),V3&&U3(/((--!?|])>)|<\/(style|title)/i,G1)){P4(k1,I);continue}if(w2.forceKeepAttr)continue;if(!w2.keepAttr){P4(k1,I);continue}if(!J1&&U3(/\/>/i,G1)){P4(k1,I);continue}e3&&de([C2,x2,D2],M2=>{G1=J8(G1,M2," ")});const u2=h2(I.nodeName);if(!e9(u2,Y3,G1)){P4(k1,I);continue}if(O&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!g3)switch(w.getAttributeType(u2,Y3)){case"TrustedHTML":{G1=O.createHTML(G1);break}case"TrustedScriptURL":{G1=O.createScriptURL(G1);break}}if(G1!==Q3)try{g3?I.setAttributeNS(g3,k1,G1):I.setAttribute(k1,G1),x0(I)?u3(I):dc(e.removed)}catch{P4(k1,I)}}q3(r2.afterSanitizeAttributes,I,null)},H1=function I2(I){let d2=null;const w2=t8(I);for(q3(r2.beforeSanitizeShadowDOM,I,null);d2=w2.nextNode();)q3(r2.uponSanitizeShadowNode,d2,null),_4(d2),N4(d2),d2.content instanceof L&&I2(d2.content);q3(r2.afterSanitizeShadowDOM,I,null)};return e.sanitize=function(I2){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d2=null,w2=null,a1=null,$1=null;if(F9=!I2,F9&&(I2="<!-->"),typeof I2!="string"&&!p4(I2))if(typeof I2.toString=="function"){if(I2=I2.toString(),typeof I2!="string")throw e6("dirty is not a string, aborting")}else throw e6("toString is not a function");if(!e.isSupported)return I2;if(h9||x1(I),e.removed=[],typeof I2=="string"&&(D9=!1),D9){if(I2.nodeName){const z3=h2(I2.nodeName);if(!J[z3]||v2[z3])throw e6("root node is forbidden and cannot be sanitized in-place")}}else if(I2 instanceof u)d2=e8("<!---->"),w2=d2.ownerDocument.importNode(I2,!0),w2.nodeType===n6.element&&w2.nodeName==="BODY"||w2.nodeName==="HTML"?d2=w2:d2.appendChild(w2);else{if(!U1&&!e3&&!I3&&I2.indexOf("<")===-1)return O&&z9?O.createHTML(I2):I2;if(d2=e8(I2),!d2)return U1?null:z9?F:""}d2&&z4&&u3(d2.firstChild);const k1=t8(D9?I2:d2);for(;a1=k1.nextNode();)_4(a1),N4(a1),a1.content instanceof L&&H1(a1.content);if(D9)return I2;if(U1){if(_0)for($1=Q.call(d2.ownerDocument);d2.firstChild;)$1.appendChild(d2.firstChild);else $1=d2;return(V.shadowroot||V.shadowrootmode)&&($1=L2.call(n,$1,!0)),$1}let g3=I3?d2.outerHTML:d2.innerHTML;return I3&&J["!doctype"]&&d2.ownerDocument&&d2.ownerDocument.doctype&&d2.ownerDocument.doctype.name&&U3(vc,d2.ownerDocument.doctype.name)&&(g3="<!DOCTYPE "+d2.ownerDocument.doctype.name+`>
|
|
76
76
|
`+g3),e3&&de([C2,x2,D2],z3=>{g3=J8(g3,z3," ")}),O&&z9?O.createHTML(g3):g3},e.setConfig=function(){let I2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};x1(I2),h9=!0},e.clearConfig=function(){S2=null,h9=!1},e.isValidAttribute=function(I2,I,d2){S2||x1({});const w2=h2(I2),a1=h2(I);return e9(w2,a1,d2)},e.addHook=function(I2,I){typeof I=="function"&&K8(r2[I2],I)},e.removeHook=function(I2,I){if(I!==void 0){const d2=qm(r2[I2],I);return d2===-1?void 0:Ym(r2[I2],d2,1)[0]}return dc(r2[I2])},e.removeHooks=function(I2){r2[I2]=[]},e.removeAllHooks=function(){r2=wc()},e}var Sc=Mc();const uv=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],dv=["italic","oblique"],hv=["bold","bolder","lighter"],fv=["underline","overline","line-through"],i6=o=>{const e={},t=[];return o.forEach(n=>{switch(!0){case uv.includes(n):e.color=n;break;case dv.includes(n):e.fontStyle=n;break;case hv.includes(n):e.fontWeight=n;break;case fv.includes(n):e.textDecoration=n;break;default:t.push(n)}}),{textStyle:e,classNames:t}};function gv(o){const e={"<>":new Set,"()":new Set,"[]":new Set},t=/<([^>]*)>|\(([^)]*)\)|\[([^\]]*)\]|([^<>()[\]\s]+)/g;let n,r;for(;n=t.exec(o);){if(n[4]){r!==void 0&&(r=n.index);break}r=n.index+n[0].length,n[1]&&n[1].split(",").forEach(L=>e["<>"].add(L.trim())),n[2]&&n[2].split(",").forEach(L=>e["()"].add(L.trim())),n[3]&&n[3].split(",").forEach(L=>e["[]"].add(L.trim()))}return[Array.from(e["<>"]),Array.from(e["()"]),Array.from(e["[]"]),o.slice(r)]}class yc{constructor(e){c2(this,"text","");c2(this,"classNames",[]);c2(this,"textStyle",{});c2(this,"commentStyle",{});c2(this,"messageStyle",{});c2(this,"commentClassNames",[]);c2(this,"messageClassNames",[]);const t=e.trim().split(`
|
|
77
77
|
`),n=t[t.length-1],[r,L,c,u]=gv(n),{textStyle:d,classNames:f}=i6(r),{textStyle:g,classNames:p}=i6(L),{textStyle:m,classNames:w}=i6(c);this.text=(t.slice(0,t.length-1).join(`
|
|
78
78
|
`)+`
|
|
79
79
|
`+u).trim(),this.textStyle={...m,...d,...g},this.classNames=[...w,...f,...p],this.commentStyle={...m,...d},this.messageStyle={...m,...g},this.commentClassNames=[...w,...f],this.messageClassNames=[...w,...p]}}const pv={gfm:!0,breaks:!0};class _v{measure(e){if(!e||!e.trim())return 0;const t=new yc(e),n=Sc.sanitize((t==null?void 0:t.text)&&P2.parse(t==null?void 0:t.text));return P2.lexer(n,pv).length?e.trim().split(`
|
|
80
80
|
`).length*20:0}}class J0 extends QL{get metrics(){return this.runtime.metrics}measureComment(e=this.context){return!(e!=null&&e.getComment)||!e.getComment()?0:new _v().measure(e.getComment())}resolveFragmentOrigin(e){try{return(X0(this.context)||[])[0]||e}catch(t){return console.warn("Failed to resolve fragment origin",t),e}}findLeftParticipant(e,t){if(!e)return;const n=X0(e)||[];return this.runtime.participants.find(L=>n.includes(L))||n[0]||t||void 0}measureOccurrence(e,t,n,r=24,L=1){var p,m,w;const c=(w=(m=(p=e==null?void 0:e.braceBlock)==null?void 0:p.call(e))==null?void 0:m.block)==null?void 0:w.call(m);if(!c)return r;const u=this.metrics.statementMarginY-L,d=t-u,g=this.layoutBlock(c,n||this.runtime.originParticipant,d)-d-u;return Math.max(r,g)}isRootLevelStatement(e){return(e==null?void 0:e.parentCtx)===this.runtime.rootBlock}isFirstStatement(e){var r;const t=e==null?void 0:e.parentCtx,n=((r=t==null?void 0:t.stat)==null?void 0:r.call(t))||[];return n.length>0&&n[0]===e}altHasMultipleBranches(e){var L,c;if(typeof(e==null?void 0:e.alt)!="function")return!1;const t=e.alt();if(!t)return!1;const n=((L=t==null?void 0:t.elseIfBlock)==null?void 0:L.call(t))||[],r=!!((c=t==null?void 0:t.elseBlock)!=null&&c.call(t));return n.length>0||r}}class mv extends J0{constructor(t,n,r){super(t,r);c2(this,"kind","async");this.asyncMessage=n}measure(t,n){var g,p,m,w,A,y,Z;const r=this.asyncMessage,L=this.measureComment(r),c=((g=r==null?void 0:r.From)==null?void 0:g.call(r))||((p=r==null?void 0:r.ProvidedFrom)==null?void 0:p.call(r))||((m=r==null?void 0:r.Origin)==null?void 0:m.call(r))||n,u=((w=r==null?void 0:r.Owner)==null?void 0:w.call(r))||((Z=(y=(A=r==null?void 0:r.to)==null?void 0:A.call(r))==null?void 0:y.getFormattedText)==null?void 0:Z.call(y))||c;return{top:t,height:L+(c===u?44:16),kind:this.kind}}}const vv=40;class xv extends J0{constructor(t,n,r){super(t,r);c2(this,"kind","creation");this.creation=n}measure(t,n){var g,p,m,w,A,y,Z,k,D,z;const r=((p=(g=this.creation)==null?void 0:g.Owner)==null?void 0:p.call(g))||n,L=this.measureComment(this.creation);r&&this.runtime.updateCreationTop(r,t+L);let c=t+L+vv;const u=(y=(A=(w=(m=this.creation)==null?void 0:m.braceBlock)==null?void 0:w.call(m))==null?void 0:A.block)==null?void 0:y.call(A);if(u){const O=this.findLeftParticipant(this.creation,origin)||origin;c=this.layoutBlock(u,O,c,this.kind),c+=2}else c+=22;((z=(D=(k=(Z=this.creation)==null?void 0:Z.creationBody)==null?void 0:k.call(Z))==null?void 0:D.assignment)==null?void 0:z.call(D))&&(console.info(`creation::assignment::${r}`),c+=16);const f=c-t;return{top:t,height:f,kind:this.kind}}}class wv extends J0{constructor(){super(...arguments);c2(this,"kind","divider")}measure(t){return{top:t,height:40,kind:this.kind}}}class Mv extends J0{constructor(){super(...arguments);c2(this,"kind","empty")}measure(t){return{top:t,height:0,kind:this.kind}}}class ge extends J0{beginFragment(e,t){const n=this.measureComment(e),r=this.metrics.fragmentHeaderHeight;return{cursor:t+n+r,commentHeight:n,headerHeight:r}}finalizeFragment(e,t){return t+=this.metrics.fragmentPaddingBottom,{top:e,height:t-e}}}class Sv extends ge{constructor(t,n,r){super(t,r);c2(this,"kind","alt");this.alt=n}measure(t,n){var f,g,p,m,w,A,y,Z,k,D,z,O;const r=this.findLeftParticipant(this.alt,n)||n,L=this.measureComment(this.alt);let c=t+1+this.metrics.fragmentHeaderHeight+L;const u=(g=(f=this.alt)==null?void 0:f.ifBlock)==null?void 0:g.call(f);u&&(c+=20,c=this.layoutBlock((p=u.braceBlock())==null?void 0:p.block(),r,c)),(A=(w=(m=this.alt)==null?void 0:m.elseIfBlock)==null?void 0:w.call(m))==null||A.forEach(F=>{var t2,H,Q;c+=20,c+=8,c+=1,c=this.layoutBlock((Q=(H=(t2=F==null?void 0:F.braceBlock)==null?void 0:t2.call(F))==null?void 0:H.block)==null?void 0:Q.call(H),r,c)});const d=(O=(z=(D=(k=(Z=(y=this.alt)==null?void 0:y.elseBlock)==null?void 0:Z.call(y))==null?void 0:k.braceBlock)==null?void 0:D.call(k))==null?void 0:z.block)==null?void 0:O.call(z);return d&&(c+=20,c+=8,c+=1,c=this.layoutBlock(d,r,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:t,height:c-t,kind:this.kind}}}class o6 extends ge{constructor(e,t,n){super(e,n),this.fragment=t}measure(e,t){var u,d,f,g,p,m,w,A;const n=this.measureComment(this.fragment);let r=e+1+this.metrics.fragmentHeaderHeight+n;!!((g=(f=(d=(u=this.fragment)==null?void 0:u.parExpr)==null?void 0:d.call(u))==null?void 0:f.condition)!=null&&g.call(f))&&(r+=20);const c=(A=(w=(m=(p=this.fragment)==null?void 0:p.braceBlock)==null?void 0:m.call(p))==null?void 0:w.block)==null?void 0:A.call(w);if(c){const y=this.findLeftParticipant(this.fragment,t)||t;r=this.layoutBlock(c,y,r,this.kind)}return r+=this.metrics.fragmentPaddingBottom+1,{top:e,height:r-e,kind:this.kind}}}class yv extends o6{constructor(){super(...arguments);c2(this,"kind","critical")}}class Av extends o6{constructor(){super(...arguments);c2(this,"kind","loop")}}class Rv extends o6{constructor(){super(...arguments);c2(this,"kind","opt")}}class bv extends o6{constructor(){super(...arguments);c2(this,"kind","par")}}class Tv extends ge{constructor(){super(...arguments);c2(this,"kind","ref")}measure(t){var u,d;const n=((d=(u=this.context)==null?void 0:u.ref)==null?void 0:d.call(u))||this.context,r=this.measureComment(n),L=this.metrics.fragmentHeaderHeight,c=r+L+this.metrics.fragmentPaddingBottom;return{top:t,height:c,kind:this.kind}}}class kv extends o6{constructor(){super(...arguments);c2(this,"kind","section")}}class Zv extends ge{constructor(t,n,r){super(t,r);c2(this,"kind","tcf");this.tcf=n}measure(t,n){var g,p,m,w,A,y,Z,k,D,z,O,F,t2,H;const r=this.findLeftParticipant(this.tcf,n)||n,L=this.measureComment(this.tcf);let c=t+1+this.metrics.fragmentHeaderHeight+L;const u=(y=(A=(w=(m=(p=(g=this.tcf)==null?void 0:g.tryBlock)==null?void 0:p.call(g))==null?void 0:m.braceBlock)==null?void 0:w.call(m))==null?void 0:A.block)==null?void 0:y.call(A);u&&(c=this.layoutBlock(u,r,c)),(((k=(Z=this.tcf)==null?void 0:Z.catchBlock)==null?void 0:k.call(Z))||[]).forEach(Q=>{var L2,r2,C2;c+=20,c+=8,c+=1;const n2=(C2=(r2=(L2=Q==null?void 0:Q.braceBlock)==null?void 0:L2.call(Q))==null?void 0:r2.block)==null?void 0:C2.call(r2);c=this.layoutBlock(n2,r,c)});const f=(H=(t2=(F=(O=(z=(D=this.tcf)==null?void 0:D.finallyBlock)==null?void 0:z.call(D))==null?void 0:O.braceBlock)==null?void 0:F.call(O))==null?void 0:t2.block)==null?void 0:H.call(t2);return f&&(c+=20,c+=8,c+=1,c=this.layoutBlock(f,r,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:t,height:c-t,kind:this.kind}}}class Ev extends J0{constructor(t,n){var r;super(t,n);c2(this,"kind","return");c2(this,"returnContext");this.returnContext=(r=t==null?void 0:t.ret)==null?void 0:r.call(t)}measure(t){var w,A,y,Z,k,D,z;const n=this.returnContext||this.context,r=this.measureComment(n);let L=t+r;const c=this.returnContext,u=(w=c==null?void 0:c.asyncMessage)==null?void 0:w.call(c),d=((A=u==null?void 0:u.From)==null?void 0:A.call(u))||((y=c==null?void 0:c.From)==null?void 0:y.call(c))||W1,f=((D=(k=(Z=u==null?void 0:u.to)==null?void 0:Z.call(u))==null?void 0:k.getFormattedText)==null?void 0:D.call(k))||((z=c==null?void 0:c.ReturnTo)==null?void 0:z.call(c))||W1;L+=d===f?20:0;const m=L-t;return{top:t,height:m,kind:this.kind}}}class Iv extends J0{constructor(t,n,r){super(t,r);c2(this,"kind","sync");this.message=n}measure(t){var m,w,A,y,Z,k,D,z,O,F,t2,H;const n=this.measureComment(this.message);let r=t+n;const L=((w=(m=this.message).From)==null?void 0:w.call(m))||W1,c=((y=(A=this.message).Owner)==null?void 0:y.call(A))||W1,u=(z=(D=(k=(Z=this.message).braceBlock)==null?void 0:k.call(Z))==null?void 0:D.block)==null?void 0:z.call(D),d=(H=(t2=(F=(O=this.message).Assignment)==null?void 0:F.call(O))==null?void 0:t2.getText)==null?void 0:H.call(t2),f=L===c;if(r+=f?30:16,u){const Q=this.findLeftParticipant(this.message,origin)||origin;r=this.layoutBlock(u,Q,r,this.kind),r+=2}else r+=22;d&&!f&&(r+=16);const p=r-t;return{top:t,height:p,kind:this.kind}}}const Ov=(o,e)=>{var m,w,A,y,Z,k,D,z,O,F,t2,H,Q;const t=(m=o.creation)==null?void 0:m.call(o);if(t)return new xv(o,t,e);const n=(w=o.message)==null?void 0:w.call(o);if(n)return new Iv(o,n,e);const r=(A=o.asyncMessage)==null?void 0:A.call(o);if(r)return new mv(o,r,e);if((y=o.ret)!=null&&y.call(o))return new Ev(o,e);if((Z=o.divider)!=null&&Z.call(o))return new wv(o,e);const L=(k=o.loop)==null?void 0:k.call(o);if(L)return new Av(o,L,e);const c=(D=o.opt)==null?void 0:D.call(o);if(c)return new Rv(o,c,e);const u=(z=o.par)==null?void 0:z.call(o);if(u)return new bv(o,u,e);const d=(O=o.section)==null?void 0:O.call(o);if(d)return new kv(o,d,e);const f=(F=o.critical)==null?void 0:F.call(o);if(f)return new yv(o,f,e);const g=(t2=o.tcf)==null?void 0:t2.call(o);if(g)return new Zv(o,g,e);const p=(H=o.alt)==null?void 0:H.call(o);return p?new Sv(o,p,e):(Q=o.ref)!=null&&Q.call(o)?new Tv(o,e):new Mv(o,e)};class Ac extends QL{constructor(t,n){var r;super(t,n);c2(this,"statements");this.statements=((r=t==null?void 0:t.stat)==null?void 0:r.call(t))||[]}layout(t,n,r){if(!this.statements.length)return n;const L=this.runtime.metrics;let c=n+L.statementMarginY;return this.statements.forEach((u,d)=>{r==="par"&&d!==0&&(c+=1);const g=Ov(u,this.runtime).measure(c,t);this.runtime.recordCoordinate(u,g),c=g.top+g.height+L.statementMarginY}),c}}const zv=4,Pv={statementMarginY:(o=>o*zv)(4),fragmentHeaderHeight:25,fragmentPaddingBottom:10};class Dv{constructor(e){c2(this,"statementMap",new Map);c2(this,"creationTops",new Map);var d;const t=((d=e==null?void 0:e.block)==null?void 0:d.call(e))??e,n=GL(e).map(f=>f.name),r=X8(e),L=r.length===0?W1:r[0].from||W1,c={metrics:Pv,rootBlock:t,participants:n,originParticipant:L,recordCoordinate:(f,g)=>{const p=YL(f);this.statementMap.set(p,g)},updateCreationTop:(f,g)=>{const p=g-8;this.creationTops.set(f,p)}};new Ac(t,c).layout(L,56)}getCreationTop(e){return this.creationTops.get(e)}}const Nv=()=>"server";var k4=(o=>(o.Static="static",o.Dynamic="dynamic",o))(k4||{});const e5=Z1(""),t5=Z1(o=>Cm(o(e5)));Z1(o=>{var t;const e=(t=o(t5))==null?void 0:t.title();if(!(!e||typeof e.content!="function"))return e.content()});const pe=Z1(o=>Y8(o(t5))),Z4=Z1(o=>new Rm(o(t5),um)),Rc=Z1(Nv()),Fv=Z1(o=>{if(o(Rc)==="browser")return null;const e=o(t5);return e?new Dv(e):null}),j5=Z1("theme-default"),vo=Z1(!1),Bv=ea(`${location.hostname}-zenuml-theme-icon-dot`,"1"),bc=Z1(!0),Tc=Z1(1),_e=Z1([]),jv=Z1(null,(o,e,t)=>{const n=o(_e);n.includes(t)?e(_e,n.filter(r=>r!==t)):e(_e,[...n,t])}),xo=Z1(null),kc=Z1(!1),b9=Z1("dynamic"),Zc=ea(`${location.hostname}-zenuml-numbering`,!0),Ec=Z1(0),wo=Z1(null),Mo=D8(o=>{console.log("Element clicked",o)}),So=D8(()=>{}),s6=D8(()=>{}),Ic=D8(()=>{}),Oc=D8(()=>{}),yo=Z1([]),zc=Z1(o=>{const e=o(yo),{participants:t}=o(pe);return e.length===Array.from(t).length});function Wv(o,e){if(o.match(/^[a-z]+:\/\//i))return o;if(o.match(/^\/\//))return window.location.protocol+o;if(o.match(/^[a-z]+:/i))return o;const t=document.implementation.createHTMLDocument(),n=t.createElement("base"),r=t.createElement("a");return t.head.appendChild(n),t.body.appendChild(r),e&&(n.href=e),r.href=o,r.href}const Uv=(()=>{let o=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(o+=1,`u${e()}${o}`)})();function l0(o){const e=[];for(let t=0,n=o.length;t<n;t++)e.push(o[t]);return e}let W5=null;function Pc(o={}){return W5||(o.includeStyleProperties?(W5=o.includeStyleProperties,W5):(W5=l0(window.getComputedStyle(document.documentElement)),W5))}function me(o,e){const n=(o.ownerDocument.defaultView||window).getComputedStyle(o).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function Hv(o){const e=me(o,"border-left-width"),t=me(o,"border-right-width");return o.clientWidth+e+t}function $v(o){const e=me(o,"border-top-width"),t=me(o,"border-bottom-width");return o.clientHeight+e+t}function Dc(o,e={}){const t=e.width||Hv(o),n=e.height||$v(o);return{width:t,height:n}}function Gv(){let o,e;try{e=process}catch{}const t=e&&e.env?e.env.devicePixelRatio:null;return t&&(o=parseInt(t,10),Number.isNaN(o)&&(o=1)),o||window.devicePixelRatio||1}const C4=16384;function Vv(o){(o.width>C4||o.height>C4)&&(o.width>C4&&o.height>C4?o.width>o.height?(o.height*=C4/o.width,o.width=C4):(o.width*=C4/o.height,o.height=C4):o.width>C4?(o.height*=C4/o.width,o.width=C4):(o.width*=C4/o.height,o.height=C4))}function qv(o,e={}){return o.toBlob?new Promise(t=>{o.toBlob(t,e.type?e.type:"image/png",e.quality?e.quality:1)}):new Promise(t=>{const n=window.atob(o.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),r=n.length,L=new Uint8Array(r);for(let c=0;c<r;c+=1)L[c]=n.charCodeAt(c);t(new Blob([L],{type:e.type?e.type:"image/png"}))})}function ve(o){return new Promise((e,t)=>{const n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=t,n.crossOrigin="anonymous",n.decoding="async",n.src=o})}async function Yv(o){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(o)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function Qv(o,e,t){const n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),L=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${e}`),r.setAttribute("height",`${t}`),r.setAttribute("viewBox",`0 0 ${e} ${t}`),L.setAttribute("width","100%"),L.setAttribute("height","100%"),L.setAttribute("x","0"),L.setAttribute("y","0"),L.setAttribute("externalResourcesRequired","true"),r.appendChild(L),L.appendChild(o),Yv(r)}const t4=(o,e)=>{if(o instanceof e)return!0;const t=Object.getPrototypeOf(o);return t===null?!1:t.constructor.name===e.name||t4(t,e)};function Xv(o){const e=o.getPropertyValue("content");return`${o.cssText} content: '${e.replace(/'|"/g,"")}';`}function Kv(o,e){return Pc(e).map(t=>{const n=o.getPropertyValue(t),r=o.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function Jv(o,e,t,n){const r=`.${o}:${e}`,L=t.cssText?Xv(t):Kv(t,n);return document.createTextNode(`${r}{${L}}`)}function Nc(o,e,t,n){const r=window.getComputedStyle(o,t),L=r.getPropertyValue("content");if(L===""||L==="none")return;const c=Uv();try{e.className=`${e.className} ${c}`}catch{return}const u=document.createElement("style");u.appendChild(Jv(c,t,r,n)),e.appendChild(u)}function ex(o,e,t){Nc(o,e,":before",t),Nc(o,e,":after",t)}const Fc="application/font-woff",Bc="image/jpeg",tx={woff:Fc,woff2:Fc,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Bc,jpeg:Bc,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function nx(o){const e=/\.([^./]*?)$/g.exec(o);return e?e[1]:""}function Ao(o){const e=nx(o).toLowerCase();return tx[e]||""}function ix(o){return o.split(/,/)[1]}function Ro(o){return o.search(/^(data:)/)!==-1}function ox(o,e){return`data:${e};base64,${o}`}async function jc(o,e,t){const n=await fetch(o,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);const r=await n.blob();return new Promise((L,c)=>{const u=new FileReader;u.onerror=c,u.onloadend=()=>{try{L(t({res:n,result:u.result}))}catch(d){c(d)}},u.readAsDataURL(r)})}const bo={};function sx(o,e,t){let n=o.replace(/\?.*/,"");return t&&(n=o),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function To(o,e,t){const n=sx(o,e,t.includeQueryParams);if(bo[n]!=null)return bo[n];t.cacheBust&&(o+=(/\?/.test(o)?"&":"?")+new Date().getTime());let r;try{const L=await jc(o,t.fetchRequestInit,({res:c,result:u})=>(e||(e=c.headers.get("Content-Type")||""),ix(u)));r=ox(L,e)}catch(L){r=t.imagePlaceholder||"";let c=`Failed to fetch resource: ${o}`;L&&(c=typeof L=="string"?L:L.message),c&&console.warn(c)}return bo[n]=r,r}async function rx(o){const e=o.toDataURL();return e==="data:,"?o.cloneNode(!1):ve(e)}async function lx(o,e){if(o.currentSrc){const L=document.createElement("canvas"),c=L.getContext("2d");L.width=o.clientWidth,L.height=o.clientHeight,c==null||c.drawImage(o,0,0,L.width,L.height);const u=L.toDataURL();return ve(u)}const t=o.poster,n=Ao(t),r=await To(t,n,e);return ve(r)}async function ax(o,e){var t;try{if(!((t=o==null?void 0:o.contentDocument)===null||t===void 0)&&t.body)return await xe(o.contentDocument.body,e,!0)}catch{}return o.cloneNode(!1)}async function Lx(o,e){return t4(o,HTMLCanvasElement)?rx(o):t4(o,HTMLVideoElement)?lx(o,e):t4(o,HTMLIFrameElement)?ax(o,e):o.cloneNode(Wc(o))}const cx=o=>o.tagName!=null&&o.tagName.toUpperCase()==="SLOT",Wc=o=>o.tagName!=null&&o.tagName.toUpperCase()==="SVG";async function Cx(o,e,t){var n,r;if(Wc(e))return e;let L=[];return cx(o)&&o.assignedNodes?L=l0(o.assignedNodes()):t4(o,HTMLIFrameElement)&&(!((n=o.contentDocument)===null||n===void 0)&&n.body)?L=l0(o.contentDocument.body.childNodes):L=l0(((r=o.shadowRoot)!==null&&r!==void 0?r:o).childNodes),L.length===0||t4(o,HTMLVideoElement)||await L.reduce((c,u)=>c.then(()=>xe(u,t)).then(d=>{d&&e.appendChild(d)}),Promise.resolve()),e}function ux(o,e,t){const n=e.style;if(!n)return;const r=window.getComputedStyle(o);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):Pc(t).forEach(L=>{let c=r.getPropertyValue(L);L==="font-size"&&c.endsWith("px")&&(c=`${Math.floor(parseFloat(c.substring(0,c.length-2)))-.1}px`),t4(o,HTMLIFrameElement)&&L==="display"&&c==="inline"&&(c="block"),L==="d"&&e.getAttribute("d")&&(c=`path(${e.getAttribute("d")})`),n.setProperty(L,c,r.getPropertyPriority(L))})}function dx(o,e){t4(o,HTMLTextAreaElement)&&(e.innerHTML=o.value),t4(o,HTMLInputElement)&&e.setAttribute("value",o.value)}function hx(o,e){if(t4(o,HTMLSelectElement)){const t=e,n=Array.from(t.children).find(r=>o.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function fx(o,e,t){return t4(e,Element)&&(ux(o,e,t),ex(o,e,t),dx(o,e),hx(o,e)),e}async function gx(o,e){const t=o.querySelectorAll?o.querySelectorAll("use"):[];if(t.length===0)return o;const n={};for(let L=0;L<t.length;L++){const u=t[L].getAttribute("xlink:href");if(u){const d=o.querySelector(u),f=document.querySelector(u);!d&&f&&!n[u]&&(n[u]=await xe(f,e,!0))}}const r=Object.values(n);if(r.length){const L="http://www.w3.org/1999/xhtml",c=document.createElementNS(L,"svg");c.setAttribute("xmlns",L),c.style.position="absolute",c.style.width="0",c.style.height="0",c.style.overflow="hidden",c.style.display="none";const u=document.createElementNS(L,"defs");c.appendChild(u);for(let d=0;d<r.length;d++)u.appendChild(r[d]);o.appendChild(c)}return o}async function xe(o,e,t){return!t&&e.filter&&!e.filter(o)?null:Promise.resolve(o).then(n=>Lx(n,e)).then(n=>Cx(o,n,e)).then(n=>fx(o,n,e)).then(n=>gx(n,e))}const Uc=/url\((['"]?)([^'"]+?)\1\)/g,px=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,_x=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function mx(o){const e=o.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function vx(o){const e=[];return o.replace(Uc,(t,n,r)=>(e.push(r),t)),e.filter(t=>!Ro(t))}async function xx(o,e,t,n,r){try{const L=t?Wv(e,t):e,c=Ao(e);let u;return r||(u=await To(L,c,n)),o.replace(mx(e),`$1${u}$3`)}catch{}return o}function wx(o,{preferredFontFormat:e}){return e?o.replace(_x,t=>{for(;;){const[n,,r]=px.exec(t)||[];if(!r)return"";if(r===e)return`src: ${n};`}}):o}function Hc(o){return o.search(Uc)!==-1}async function $c(o,e,t){if(!Hc(o))return o;const n=wx(o,t);return vx(n).reduce((L,c)=>L.then(u=>xx(u,c,e,t)),Promise.resolve(n))}async function U5(o,e,t){var n;const r=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(o);if(r){const L=await $c(r,null,t);return e.style.setProperty(o,L,e.style.getPropertyPriority(o)),!0}return!1}async function Mx(o,e){await U5("background",o,e)||await U5("background-image",o,e),await U5("mask",o,e)||await U5("-webkit-mask",o,e)||await U5("mask-image",o,e)||await U5("-webkit-mask-image",o,e)}async function Sx(o,e){const t=t4(o,HTMLImageElement);if(!(t&&!Ro(o.src))&&!(t4(o,SVGImageElement)&&!Ro(o.href.baseVal)))return;const n=t?o.src:o.href.baseVal,r=await To(n,Ao(n),e);await new Promise((L,c)=>{o.onload=L,o.onerror=e.onImageErrorHandler?(...d)=>{try{L(e.onImageErrorHandler(...d))}catch(f){c(f)}}:c;const u=o;u.decode&&(u.decode=L),u.loading==="lazy"&&(u.loading="eager"),t?(o.srcset="",o.src=r):o.href.baseVal=r})}async function yx(o,e){const n=l0(o.childNodes).map(r=>Gc(r,e));await Promise.all(n).then(()=>o)}async function Gc(o,e){t4(o,Element)&&(await Mx(o,e),await Sx(o,e),await yx(o,e))}function Ax(o,e){const{style:t}=o;e.backgroundColor&&(t.backgroundColor=e.backgroundColor),e.width&&(t.width=`${e.width}px`),e.height&&(t.height=`${e.height}px`);const n=e.style;return n!=null&&Object.keys(n).forEach(r=>{t[r]=n[r]}),o}const Vc={};async function qc(o){let e=Vc[o];if(e!=null)return e;const n=await(await fetch(o)).text();return e={url:o,cssText:n},Vc[o]=e,e}async function Yc(o,e){let t=o.cssText;const n=/url\(["']?([^"')]+)["']?\)/g,L=(t.match(/url\([^)]+\)/g)||[]).map(async c=>{let u=c.replace(n,"$1");return u.startsWith("https://")||(u=new URL(u,o.url).href),jc(u,e.fetchRequestInit,({result:d})=>(t=t.replace(c,`url(${d})`),[c,d]))});return Promise.all(L).then(()=>t)}function Qc(o){if(o==null)return[];const e=[],t=/(\/\*[\s\S]*?\*\/)/gi;let n=o.replace(t,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=r.exec(n);if(d===null)break;e.push(d[0])}n=n.replace(r,"");const L=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",u=new RegExp(c,"gi");for(;;){let d=L.exec(n);if(d===null){if(d=u.exec(n),d===null)break;L.lastIndex=u.lastIndex}else u.lastIndex=L.lastIndex;e.push(d[0])}return e}async function Rx(o,e){const t=[],n=[];return o.forEach(r=>{if("cssRules"in r)try{l0(r.cssRules||[]).forEach((L,c)=>{if(L.type===CSSRule.IMPORT_RULE){let u=c+1;const d=L.href,f=qc(d).then(g=>Yc(g,e)).then(g=>Qc(g).forEach(p=>{try{r.insertRule(p,p.startsWith("@import")?u+=1:r.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:p,error:m})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(f)}})}catch(L){const c=o.find(u=>u.href==null)||document.styleSheets[0];r.href!=null&&n.push(qc(r.href).then(u=>Yc(u,e)).then(u=>Qc(u).forEach(d=>{c.insertRule(d,c.cssRules.length)})).catch(u=>{console.error("Error loading remote stylesheet",u)})),console.error("Error inlining remote css file",L)}}),Promise.all(n).then(()=>(o.forEach(r=>{if("cssRules"in r)try{l0(r.cssRules||[]).forEach(L=>{t.push(L)})}catch(L){console.error(`Error while reading CSS rules from ${r.href}`,L)}}),t))}function bx(o){return o.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Hc(e.style.getPropertyValue("src")))}async function Tx(o,e){if(o.ownerDocument==null)throw new Error("Provided element is not within a Document");const t=l0(o.ownerDocument.styleSheets),n=await Rx(t,e);return bx(n)}function Xc(o){return o.trim().replace(/["']/g,"")}function kx(o){const e=new Set;function t(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(L=>{e.add(Xc(L))}),Array.from(n.children).forEach(L=>{L instanceof HTMLElement&&t(L)})}return t(o),e}async function Zx(o,e){const t=await Tx(o,e),n=kx(o);return(await Promise.all(t.filter(L=>n.has(Xc(L.style.fontFamily))).map(L=>{const c=L.parentStyleSheet?L.parentStyleSheet.href:null;return $c(L.cssText,c,e)}))).join(`
|
|
81
|
-
`)}async function Ex(o,e){const t=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await Zx(o,e);if(t){const n=document.createElement("style"),r=document.createTextNode(t);n.appendChild(r),o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n)}}async function ko(o,e={}){const{width:t,height:n}=Dc(o,e),r=await xe(o,e,!0);return await Ex(r,e),await Gc(r,e),Ax(r,e),await Qv(r,t,n)}async function Zo(o,e={}){const{width:t,height:n}=Dc(o,e),r=await ko(o,e),L=await ve(r),c=document.createElement("canvas"),u=c.getContext("2d"),d=e.pixelRatio||Gv(),f=e.canvasWidth||t,g=e.canvasHeight||n;return c.width=f*d,c.height=g*d,e.skipAutoScale||Vv(c),c.style.width=`${f}`,c.style.height=`${g}`,e.backgroundColor&&(u.fillStyle=e.backgroundColor,u.fillRect(0,0,c.width,c.height)),u.drawImage(L,0,0,c.width,c.height),c}async function Kc(o,e={}){return(await Zo(o,e)).toDataURL()}async function Ix(o,e={}){return(await Zo(o,e)).toDataURL("image/jpeg",e.quality||1)}async function Ox(o,e={}){const t=await Zo(o,e);return await qv(t)}function Jc(o){var e,t,n="";if(typeof o=="string"||typeof o=="number")n+=o;else if(typeof o=="object")if(Array.isArray(o)){var r=o.length;for(e=0;e<r;e++)o[e]&&(t=Jc(o[e]))&&(n&&(n+=" "),n+=t)}else for(t in o)o[t]&&(n&&(n+=" "),n+=t);return n}function zx(){for(var o,e,t=0,n="",r=arguments.length;t<r;t++)(o=arguments[t])&&(e=Jc(o))&&(n&&(n+=" "),n+=e);return n}const Eo="-",Px=o=>{const e=Nx(o),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=o;return{getClassGroupId:c=>{const u=c.split(Eo);return u[0]===""&&u.length!==1&&u.shift(),eC(u,e)||Dx(c)},getConflictingClassGroupIds:(c,u)=>{const d=t[c]||[];return u&&n[c]?[...d,...n[c]]:d}}},eC=(o,e)=>{var c;if(o.length===0)return e.classGroupId;const t=o[0],n=e.nextPart.get(t),r=n?eC(o.slice(1),n):void 0;if(r)return r;if(e.validators.length===0)return;const L=o.join(Eo);return(c=e.validators.find(({validator:u})=>u(L)))==null?void 0:c.classGroupId},tC=/^\[(.+)\]$/,Dx=o=>{if(tC.test(o)){const e=tC.exec(o)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},Nx=o=>{const{theme:e,classGroups:t}=o,n={nextPart:new Map,validators:[]};for(const r in t)Io(t[r],n,r,e);return n},Io=(o,e,t,n)=>{o.forEach(r=>{if(typeof r=="string"){const L=r===""?e:nC(e,r);L.classGroupId=t;return}if(typeof r=="function"){if(Fx(r)){Io(r(n),e,t,n);return}e.validators.push({validator:r,classGroupId:t});return}Object.entries(r).forEach(([L,c])=>{Io(c,nC(e,L),t,n)})})},nC=(o,e)=>{let t=o;return e.split(Eo).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},Fx=o=>o.isThemeGetter,Bx=o=>{if(o<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,n=new Map;const r=(L,c)=>{t.set(L,c),e++,e>o&&(e=0,n=t,t=new Map)};return{get(L){let c=t.get(L);if(c!==void 0)return c;if((c=n.get(L))!==void 0)return r(L,c),c},set(L,c){t.has(L)?t.set(L,c):r(L,c)}}},Oo="!",zo=":",jx=zo.length,Wx=o=>{const{prefix:e,experimentalParseClassName:t}=o;let n=r=>{const L=[];let c=0,u=0,d=0,f;for(let A=0;A<r.length;A++){let y=r[A];if(c===0&&u===0){if(y===zo){L.push(r.slice(d,A)),d=A+jx;continue}if(y==="/"){f=A;continue}}y==="["?c++:y==="]"?c--:y==="("?u++:y===")"&&u--}const g=L.length===0?r:r.substring(d),p=Ux(g),m=p!==g,w=f&&f>d?f-d:void 0;return{modifiers:L,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:w}};if(e){const r=e+zo,L=n;n=c=>c.startsWith(r)?L(c.substring(r.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(t){const r=n;n=L=>t({className:L,parseClassName:r})}return n},Ux=o=>o.endsWith(Oo)?o.substring(0,o.length-1):o.startsWith(Oo)?o.substring(1):o,Hx=o=>{const e=Object.fromEntries(o.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const r=[];let L=[];return n.forEach(c=>{c[0]==="["||e[c]?(r.push(...L.sort(),c),L=[]):L.push(c)}),r.push(...L.sort()),r}},$x=o=>({cache:Bx(o.cacheSize),parseClassName:Wx(o),sortModifiers:Hx(o),...Px(o)}),Gx=/\s+/,Vx=(o,e)=>{const{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:r,sortModifiers:L}=e,c=[],u=o.trim().split(Gx);let d="";for(let f=u.length-1;f>=0;f-=1){const g=u[f],{isExternal:p,modifiers:m,hasImportantModifier:w,baseClassName:A,maybePostfixModifierPosition:y}=t(g);if(p){d=g+(d.length>0?" "+d:d);continue}let Z=!!y,k=n(Z?A.substring(0,y):A);if(!k){if(!Z){d=g+(d.length>0?" "+d:d);continue}if(k=n(A),!k){d=g+(d.length>0?" "+d:d);continue}Z=!1}const D=L(m).join(":"),z=w?D+Oo:D,O=z+k;if(c.includes(O))continue;c.push(O);const F=r(k,Z);for(let t2=0;t2<F.length;++t2){const H=F[t2];c.push(z+H)}d=g+(d.length>0?" "+d:d)}return d};function qx(){let o=0,e,t,n="";for(;o<arguments.length;)(e=arguments[o++])&&(t=iC(e))&&(n&&(n+=" "),n+=t);return n}const iC=o=>{if(typeof o=="string")return o;let e,t="";for(let n=0;n<o.length;n++)o[n]&&(e=iC(o[n]))&&(t&&(t+=" "),t+=e);return t};function Yx(o,...e){let t,n,r,L=c;function c(d){const f=e.reduce((g,p)=>p(g),o());return t=$x(f),n=t.cache.get,r=t.cache.set,L=u,u(d)}function u(d){const f=n(d);if(f)return f;const g=Vx(d,t);return r(d,g),g}return function(){return L(qx.apply(null,arguments))}}const r3=o=>{const e=t=>t[o]||[];return e.isThemeGetter=!0,e},oC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qx=/^\d+\/\d+$/,Xx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Jx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ew=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H5=o=>Qx.test(o),t1=o=>!!o&&!Number.isNaN(Number(o)),a0=o=>!!o&&Number.isInteger(Number(o)),Po=o=>o.endsWith("%")&&t1(o.slice(0,-1)),T9=o=>Xx.test(o),nw=()=>!0,iw=o=>Kx.test(o)&&!Jx.test(o),rC=()=>!1,ow=o=>ew.test(o),sw=o=>tw.test(o),rw=o=>!b2(o)&&!T2(o),lw=o=>$5(o,CC,rC),b2=o=>oC.test(o),n5=o=>$5(o,uC,iw),Do=o=>$5(o,uw,t1),lC=o=>$5(o,LC,rC),aw=o=>$5(o,cC,sw),we=o=>$5(o,dC,ow),T2=o=>sC.test(o),r6=o=>G5(o,uC),Lw=o=>G5(o,dw),aC=o=>G5(o,LC),cw=o=>G5(o,CC),Cw=o=>G5(o,cC),Me=o=>G5(o,dC,!0),$5=(o,e,t)=>{const n=oC.exec(o);return n?n[1]?e(n[1]):t(n[2]):!1},G5=(o,e,t=!1)=>{const n=sC.exec(o);return n?n[1]?e(n[1]):t:!1},LC=o=>o==="position"||o==="percentage",cC=o=>o==="image"||o==="url",CC=o=>o==="length"||o==="size"||o==="bg-size",uC=o=>o==="length",uw=o=>o==="number",dw=o=>o==="family-name",dC=o=>o==="shadow",hw=Yx(()=>{const o=r3("color"),e=r3("font"),t=r3("text"),n=r3("font-weight"),r=r3("tracking"),L=r3("leading"),c=r3("breakpoint"),u=r3("container"),d=r3("spacing"),f=r3("radius"),g=r3("shadow"),p=r3("inset-shadow"),m=r3("text-shadow"),w=r3("drop-shadow"),A=r3("blur"),y=r3("perspective"),Z=r3("aspect"),k=r3("ease"),D=r3("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...O(),T2,b2],t2=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],Q=()=>[T2,b2,d],n2=()=>[H5,"full","auto",...Q()],L2=()=>[a0,"none","subgrid",T2,b2],r2=()=>["auto",{span:["full",a0,T2,b2]},a0,T2,b2],C2=()=>[a0,"auto",T2,b2],x2=()=>["auto","min","max","fr",T2,b2],D2=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...Q()],U=()=>[H5,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Q()],B=()=>[o,T2,b2],g2=()=>[...O(),aC,lC,{position:[T2,b2]}],R=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",cw,lw,{size:[T2,b2]}],i2=()=>[Po,r6,n5],V=()=>["","none","full",f,T2,b2],e2=()=>["",t1,r6,n5],_2=()=>["solid","dashed","dotted","double"],v2=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N2=()=>[t1,Po,aC,lC],Y2=()=>["","none",A,T2,b2],R1=()=>["none",t1,T2,b2],v1=()=>["none",t1,T2,b2],J1=()=>[t1,T2,b2],e3=()=>[H5,"full",...Q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[T9],breakpoint:[T9],color:[nw],container:[T9],"drop-shadow":[T9],ease:["in","out","in-out"],font:[rw],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[T9],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[T9],shadow:[T9],spacing:["px",t1],text:[T9],"text-shadow":[T9],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",H5,b2,T2,Z]}],container:["container"],columns:[{columns:[t1,b2,T2,u]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:t2()}],"overflow-x":[{"overflow-x":t2()}],"overflow-y":[{"overflow-y":t2()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:n2()}],"inset-x":[{"inset-x":n2()}],"inset-y":[{"inset-y":n2()}],start:[{start:n2()}],end:[{end:n2()}],top:[{top:n2()}],right:[{right:n2()}],bottom:[{bottom:n2()}],left:[{left:n2()}],visibility:["visible","invisible","collapse"],z:[{z:[a0,"auto",T2,b2]}],basis:[{basis:[H5,"full","auto",u,...Q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[t1,H5,"auto","initial","none",b2]}],grow:[{grow:["",t1,T2,b2]}],shrink:[{shrink:["",t1,T2,b2]}],order:[{order:[a0,"first","last","none",T2,b2]}],"grid-cols":[{"grid-cols":L2()}],"col-start-end":[{col:r2()}],"col-start":[{"col-start":C2()}],"col-end":[{"col-end":C2()}],"grid-rows":[{"grid-rows":L2()}],"row-start-end":[{row:r2()}],"row-start":[{"row-start":C2()}],"row-end":[{"row-end":C2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":x2()}],"auto-rows":[{"auto-rows":x2()}],gap:[{gap:Q()}],"gap-x":[{"gap-x":Q()}],"gap-y":[{"gap-y":Q()}],"justify-content":[{justify:[...D2(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...D2()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":D2()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:Q()}],px:[{px:Q()}],py:[{py:Q()}],ps:[{ps:Q()}],pe:[{pe:Q()}],pt:[{pt:Q()}],pr:[{pr:Q()}],pb:[{pb:Q()}],pl:[{pl:Q()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":Q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Q()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[u,"screen",...U()]}],"min-w":[{"min-w":[u,"screen","none",...U()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[c]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",t,r6,n5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,T2,Do]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Po,b2]}],"font-family":[{font:[Lw,b2,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,T2,b2]}],"line-clamp":[{"line-clamp":[t1,"none",T2,Do]}],leading:[{leading:[L,...Q()]}],"list-image":[{"list-image":["none",T2,b2]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T2,b2]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._2(),"wavy"]}],"text-decoration-thickness":[{decoration:[t1,"from-font","auto",T2,n5]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[t1,"auto",T2,b2]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T2,b2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T2,b2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:g2()}],"bg-repeat":[{bg:R()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},a0,T2,b2],radial:["",T2,b2],conic:[a0,T2,b2]},Cw,aw]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:i2()}],"gradient-via-pos":[{via:i2()}],"gradient-to-pos":[{to:i2()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:e2()}],"border-w-x":[{"border-x":e2()}],"border-w-y":[{"border-y":e2()}],"border-w-s":[{"border-s":e2()}],"border-w-e":[{"border-e":e2()}],"border-w-t":[{"border-t":e2()}],"border-w-r":[{"border-r":e2()}],"border-w-b":[{"border-b":e2()}],"border-w-l":[{"border-l":e2()}],"divide-x":[{"divide-x":e2()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":e2()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._2(),"hidden","none"]}],"divide-style":[{divide:[..._2(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[..._2(),"none","hidden"]}],"outline-offset":[{"outline-offset":[t1,T2,b2]}],"outline-w":[{outline:["",t1,r6,n5]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",g,Me,we]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",p,Me,we]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:e2()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[t1,n5]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":e2()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",m,Me,we]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[t1,T2,b2]}],"mix-blend":[{"mix-blend":[...v2(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":v2()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[t1]}],"mask-image-linear-from-pos":[{"mask-linear-from":N2()}],"mask-image-linear-to-pos":[{"mask-linear-to":N2()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":N2()}],"mask-image-t-to-pos":[{"mask-t-to":N2()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":N2()}],"mask-image-r-to-pos":[{"mask-r-to":N2()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":N2()}],"mask-image-b-to-pos":[{"mask-b-to":N2()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":N2()}],"mask-image-l-to-pos":[{"mask-l-to":N2()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":N2()}],"mask-image-x-to-pos":[{"mask-x-to":N2()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":N2()}],"mask-image-y-to-pos":[{"mask-y-to":N2()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[T2,b2]}],"mask-image-radial-from-pos":[{"mask-radial-from":N2()}],"mask-image-radial-to-pos":[{"mask-radial-to":N2()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[t1]}],"mask-image-conic-from-pos":[{"mask-conic-from":N2()}],"mask-image-conic-to-pos":[{"mask-conic-to":N2()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:g2()}],"mask-repeat":[{mask:R()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T2,b2]}],filter:[{filter:["","none",T2,b2]}],blur:[{blur:Y2()}],brightness:[{brightness:[t1,T2,b2]}],contrast:[{contrast:[t1,T2,b2]}],"drop-shadow":[{"drop-shadow":["","none",w,Me,we]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",t1,T2,b2]}],"hue-rotate":[{"hue-rotate":[t1,T2,b2]}],invert:[{invert:["",t1,T2,b2]}],saturate:[{saturate:[t1,T2,b2]}],sepia:[{sepia:["",t1,T2,b2]}],"backdrop-filter":[{"backdrop-filter":["","none",T2,b2]}],"backdrop-blur":[{"backdrop-blur":Y2()}],"backdrop-brightness":[{"backdrop-brightness":[t1,T2,b2]}],"backdrop-contrast":[{"backdrop-contrast":[t1,T2,b2]}],"backdrop-grayscale":[{"backdrop-grayscale":["",t1,T2,b2]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[t1,T2,b2]}],"backdrop-invert":[{"backdrop-invert":["",t1,T2,b2]}],"backdrop-opacity":[{"backdrop-opacity":[t1,T2,b2]}],"backdrop-saturate":[{"backdrop-saturate":[t1,T2,b2]}],"backdrop-sepia":[{"backdrop-sepia":["",t1,T2,b2]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Q()}],"border-spacing-x":[{"border-spacing-x":Q()}],"border-spacing-y":[{"border-spacing-y":Q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T2,b2]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[t1,"initial",T2,b2]}],ease:[{ease:["linear","initial",k,T2,b2]}],delay:[{delay:[t1,T2,b2]}],animate:[{animate:["none",D,T2,b2]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,T2,b2]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:R1()}],"rotate-x":[{"rotate-x":R1()}],"rotate-y":[{"rotate-y":R1()}],"rotate-z":[{"rotate-z":R1()}],scale:[{scale:v1()}],"scale-x":[{"scale-x":v1()}],"scale-y":[{"scale-y":v1()}],"scale-z":[{"scale-z":v1()}],"scale-3d":["scale-3d"],skew:[{skew:J1()}],"skew-x":[{"skew-x":J1()}],"skew-y":[{"skew-y":J1()}],transform:[{transform:[T2,b2,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:e3()}],"translate-x":[{"translate-x":e3()}],"translate-y":[{"translate-y":e3()}],"translate-z":[{"translate-z":e3()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T2,b2]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T2,b2]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[t1,r6,n5,Do]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function W2(...o){return hw(zx(o))}const fw={close:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",...o},M.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})),"collapse-expanded":o=>M.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"miter",...o},M.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),M.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("g",{id:"SVGRepo_iconCarrier"},M.createElement("line",{x1:14,y1:10,x2:21,y2:3}),M.createElement("polyline",{points:"20 10 14 10 14 4"}),M.createElement("line",{x1:3,y1:21,x2:10,y2:14}),M.createElement("polyline",{points:"4 14 10 14 10 20"}))),"collapse-unexpanded":o=>M.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...o},M.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),M.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("g",{id:"SVGRepo_iconCarrier"},M.createElement("title",null),M.createElement("g",{id:"Complete"},M.createElement("g",{id:"expand"},M.createElement("g",null,M.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-2",points:"3 17.3 3 21 6.7 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1}),M.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:10,x2:3.8,y1:14,y2:20.2}),M.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:14,x2:20.2,y1:10,y2:3.8}),M.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-3",points:"21 6.7 21 3 17.3 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1})))))),debug:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...o},M.createElement("line",{x1:6,y1:3,x2:6,y2:15}),M.createElement("circle",{cx:18,cy:6,r:3}),M.createElement("circle",{cx:6,cy:18,r:3}),M.createElement("path",{d:"M18 9a9 9 0 0 1-9 9"})),"non-selected-cycle":o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...o},M.createElement("circle",{cx:10,cy:10,r:10,fill:"#000",fillOpacity:.1})),numbering:o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M21.8864 32.0909V67H17.6591V36.5227H17.4545L8.93182 42.1818V37.8864L17.6591 32.0909H21.8864ZM33.5483 67.2159C32.8826 67.2159 32.3113 66.9775 31.8345 66.5007C31.3577 66.0239 31.1193 65.4527 31.1193 64.7869C31.1193 64.1212 31.3577 63.55 31.8345 63.0732C32.3113 62.5964 32.8826 62.358 33.5483 62.358C34.214 62.358 34.7853 62.5964 35.2621 63.0732C35.7389 63.55 35.9773 64.1212 35.9773 64.7869C35.9773 65.2277 35.8648 65.6326 35.6399 66.0014C35.424 66.3703 35.1316 66.6671 34.7628 66.892C34.4029 67.108 33.9981 67.2159 33.5483 67.2159ZM41.7887 67V64.4432L51.391 53.9318C52.5179 52.7008 53.4459 51.6307 54.1751 50.7216C54.9042 49.803 55.444 48.9413 55.7944 48.1364C56.1542 47.322 56.3342 46.4697 56.3342 45.5795C56.3342 44.5568 56.088 43.6714 55.5955 42.9233C55.1126 42.1752 54.4497 41.5975 53.6069 41.1903C52.7641 40.7831 51.8171 40.5795 50.766 40.5795C49.6486 40.5795 48.6732 40.8116 47.8398 41.2756C47.016 41.7301 46.3768 42.3693 45.9222 43.1932C45.4772 44.017 45.2546 44.983 45.2546 46.0909H41.9023C41.9023 44.3864 42.2953 42.8902 43.0813 41.6023C43.8673 40.3144 44.9374 39.3106 46.2915 38.5909C47.6552 37.8712 49.1845 37.5114 50.8796 37.5114C52.5842 37.5114 54.0946 37.8712 55.4109 38.5909C56.7272 39.3106 57.7594 40.2812 58.5075 41.5028C59.2556 42.7244 59.6296 44.0833 59.6296 45.5795C59.6296 46.6496 59.4355 47.696 59.0472 48.7188C58.6684 49.732 58.0056 50.8636 57.0586 52.1136C56.1211 53.3542 54.819 54.8693 53.1523 56.6591L46.6183 63.6477V63.875H60.141V67H41.7887ZM68.2319 67.2159C67.5662 67.2159 66.9949 66.9775 66.5181 66.5007C66.0413 66.0239 65.8029 65.4527 65.8029 64.7869C65.8029 64.1212 66.0413 63.55 66.5181 63.0732C66.9949 62.5964 67.5662 62.358 68.2319 62.358C68.8976 62.358 69.4689 62.5964 69.9457 63.0732C70.4225 63.55 70.6609 64.1212 70.6609 64.7869C70.6609 65.2277 70.5484 65.6326 70.3235 66.0014C70.1076 66.3703 69.8152 66.6671 69.4464 66.892C69.0865 67.108 68.6817 67.2159 68.2319 67.2159ZM83.7337 67.3182C82.2337 67.3182 80.8965 67.0606 79.7223 66.5455C78.5556 66.0303 77.6276 65.3144 76.9382 64.3977C76.2564 63.4735 75.8852 62.4015 75.8246 61.1818H78.6882C78.7488 61.9318 79.0064 62.5795 79.4609 63.125C79.9155 63.6629 80.5102 64.0795 81.245 64.375C81.9799 64.6705 82.7943 64.8182 83.6882 64.8182C84.6882 64.8182 85.5746 64.6439 86.3473 64.2955C87.12 63.947 87.7261 63.4621 88.1655 62.8409C88.6049 62.2197 88.8246 61.5 88.8246 60.6818C88.8246 59.8258 88.6125 59.072 88.1882 58.4205C87.764 57.7614 87.1428 57.2462 86.3246 56.875C85.5064 56.5038 84.5064 56.3182 83.3246 56.3182H81.4609V53.8182H83.3246C84.2488 53.8182 85.0594 53.6515 85.7564 53.3182C86.4609 52.9848 87.0102 52.5152 87.4041 51.9091C87.8056 51.303 88.0064 50.5909 88.0064 49.7727C88.0064 48.9848 87.8322 48.2992 87.4837 47.7159C87.1352 47.1326 86.6428 46.678 86.0064 46.3523C85.3776 46.0265 84.6352 45.8636 83.7791 45.8636C82.9761 45.8636 82.2185 46.0114 81.5064 46.3068C80.8018 46.5947 80.2261 47.0152 79.7791 47.5682C79.3321 48.1136 79.0897 48.7727 79.0518 49.5455H76.3246C76.37 48.3258 76.7375 47.2576 77.4268 46.3409C78.1162 45.4167 79.0178 44.697 80.1314 44.1818C81.2526 43.6667 82.4837 43.4091 83.8246 43.4091C85.264 43.4091 86.4988 43.7008 87.5291 44.2841C88.5594 44.8598 89.3511 45.6212 89.9041 46.5682C90.4572 47.5152 90.7337 48.5379 90.7337 49.6364C90.7337 50.947 90.389 52.0644 89.6996 52.9886C89.0178 53.9129 88.0897 54.553 86.9155 54.9091V55.0909C88.3852 55.3333 89.5329 55.9583 90.3587 56.9659C91.1844 57.9659 91.5973 59.2045 91.5973 60.6818C91.5973 61.947 91.2526 63.0833 90.5632 64.0909C89.8814 65.0909 88.9496 65.8788 87.7678 66.4545C86.5859 67.0303 85.2412 67.3182 83.7337 67.3182Z",fill:"black"}),M.createElement("path",{d:"M21.8864 32.0909H22.8864V31.0909H21.8864V32.0909ZM21.8864 67V68H22.8864V67H21.8864ZM17.6591 67H16.6591V68H17.6591V67ZM17.6591 36.5227H18.6591V35.5227H17.6591V36.5227ZM17.4545 36.5227V35.5227H17.1528L16.9014 35.6897L17.4545 36.5227ZM8.93182 42.1818H7.93182V44.0462L9.48498 43.0149L8.93182 42.1818ZM8.93182 37.8864L8.37862 37.0533L7.93182 37.35V37.8864H8.93182ZM17.6591 32.0909V31.0909H17.3573L17.1059 31.2579L17.6591 32.0909ZM20.8864 32.0909V67H22.8864V32.0909H20.8864ZM21.8864 66H17.6591V68H21.8864V66ZM18.6591 67V36.5227H16.6591V67H18.6591ZM17.6591 35.5227H17.4545V37.5227H17.6591V35.5227ZM16.9014 35.6897L8.37866 41.3487L9.48498 43.0149L18.0077 37.3558L16.9014 35.6897ZM9.93182 42.1818V37.8864H7.93182V42.1818H9.93182ZM9.48502 38.7194L18.2123 32.924L17.1059 31.2579L8.37862 37.0533L9.48502 38.7194ZM17.6591 33.0909H21.8864V31.0909H17.6591V33.0909ZM31.8345 66.5007L32.5416 65.7936L32.5416 65.7936L31.8345 66.5007ZM31.8345 63.0732L31.1274 62.366L31.8345 63.0732ZM35.2621 63.0732L35.9692 62.366L35.9692 62.366L35.2621 63.0732ZM35.6399 66.0014L34.7861 65.4808L34.7814 65.4885L34.7769 65.4962L35.6399 66.0014ZM34.7628 66.892L35.2773 67.7496L35.2834 67.7458L34.7628 66.892ZM33.5483 66.2159C33.1516 66.2159 32.8336 66.0856 32.5416 65.7936L31.1274 67.2078C31.789 67.8694 32.6135 68.2159 33.5483 68.2159V66.2159ZM32.5416 65.7936C32.2496 65.5016 32.1193 65.1836 32.1193 64.7869H30.1193C30.1193 65.7217 30.4658 66.5462 31.1274 67.2078L32.5416 65.7936ZM32.1193 64.7869C32.1193 64.3902 32.2496 64.0722 32.5416 63.7803L31.1274 62.366C30.4658 63.0277 30.1193 63.8522 30.1193 64.7869H32.1193ZM32.5416 63.7803C32.8336 63.4883 33.1516 63.358 33.5483 63.358V61.358C32.6135 61.358 31.789 61.7044 31.1274 62.366L32.5416 63.7803ZM33.5483 63.358C33.945 63.358 34.263 63.4883 34.555 63.7803L35.9692 62.366C35.3076 61.7044 34.483 61.358 33.5483 61.358V63.358ZM34.555 63.7803C34.8469 64.0722 34.9773 64.3902 34.9773 64.7869H36.9773C36.9773 63.8522 36.6308 63.0277 35.9692 62.366L34.555 63.7803ZM34.9773 64.7869C34.9773 65.048 34.9134 65.2721 34.7861 65.4808L36.4937 66.522C36.8163 65.993 36.9773 65.4075 36.9773 64.7869H34.9773ZM34.7769 65.4962C34.6455 65.7208 34.4714 65.8985 34.2422 66.0382L35.2834 67.7458C35.7919 67.4358 36.2025 67.0198 36.5029 66.5066L34.7769 65.4962ZM34.2483 66.0346C34.0551 66.1505 33.8304 66.2159 33.5483 66.2159V68.2159C34.1658 68.2159 34.7508 68.0654 35.2773 67.7495L34.2483 66.0346ZM41.7887 67H40.7887V68H41.7887V67ZM41.7887 64.4432L41.0504 63.7687L40.7887 64.0552V64.4432H41.7887ZM51.391 53.9318L50.6534 53.2566L50.6527 53.2574L51.391 53.9318ZM54.1751 50.7216L54.9552 51.3473L54.9583 51.3433L54.1751 50.7216ZM55.7944 48.1364L54.8797 47.7322L54.8775 47.7372L55.7944 48.1364ZM55.5955 42.9233L54.7554 43.4657L54.7602 43.4731L55.5955 42.9233ZM53.6069 41.1903L54.0419 40.2899L54.0419 40.2899L53.6069 41.1903ZM47.8398 41.2756L48.3229 42.1512L48.3263 42.1493L47.8398 41.2756ZM45.9222 43.1932L45.0466 42.7101L45.0424 42.7179L45.9222 43.1932ZM45.2546 46.0909V47.0909H46.2546V46.0909H45.2546ZM41.9023 46.0909H40.9023V47.0909H41.9023V46.0909ZM43.0813 41.6023L43.9349 42.1232L43.9349 42.1232L43.0813 41.6023ZM46.2915 38.5909L45.8248 37.7065L45.8222 37.7079L46.2915 38.5909ZM55.4109 38.5909L55.8906 37.7135L55.8906 37.7135L55.4109 38.5909ZM58.5075 41.5028L57.6547 42.0251L58.5075 41.5028ZM59.0472 48.7188L58.1123 48.3638L58.1105 48.3686L59.0472 48.7188ZM57.0586 52.1136L56.2615 51.5098L56.2608 51.5107L57.0586 52.1136ZM53.1523 56.6591L53.8828 57.342L53.8842 57.3406L53.1523 56.6591ZM46.6183 63.6477L45.8878 62.9648L45.6183 63.2531V63.6477H46.6183ZM46.6183 63.875H45.6183V64.875H46.6183V63.875ZM60.141 63.875H61.141V62.875H60.141V63.875ZM60.141 67V68H61.141V67H60.141ZM42.7887 67V64.4432H40.7887V67H42.7887ZM42.527 65.1176L52.1293 54.6063L50.6527 53.2574L41.0504 63.7687L42.527 65.1176ZM52.1286 54.607C53.2645 53.3661 54.208 52.2788 54.9551 51.3473L53.395 50.0959C52.6838 50.9825 51.7713 52.0354 50.6534 53.2566L52.1286 54.607ZM54.9583 51.3433C55.7246 50.3779 56.3168 49.4417 56.7113 48.5355L54.8775 47.7372C54.5712 48.4409 54.0838 49.2281 53.3918 50.0999L54.9583 51.3433ZM56.7091 48.5405C57.1252 47.5988 57.3342 46.6089 57.3342 45.5795H55.3342C55.3342 46.3305 55.1833 47.0451 54.8797 47.7322L56.7091 48.5405ZM57.3342 45.5795C57.3342 44.3899 57.0454 43.3071 56.4308 42.3735L54.7602 43.4731C55.1305 44.0357 55.3342 44.7237 55.3342 45.5795H57.3342ZM56.4357 42.3809C55.8479 41.4705 55.0412 40.7727 54.0419 40.2899L53.1719 42.0908C53.8582 42.4223 54.3772 42.8799 54.7554 43.4657L56.4357 42.3809ZM54.0419 40.2899C53.0476 39.8095 51.9491 39.5795 50.766 39.5795V41.5795C51.6851 41.5795 52.4806 41.7568 53.1719 42.0908L54.0419 40.2899ZM50.766 39.5795C49.5076 39.5795 48.3592 39.8418 47.3534 40.4019L48.3263 42.1493C48.9872 41.7813 49.7895 41.5795 50.766 41.5795V39.5795ZM47.3568 40.4C46.3677 40.9457 45.5924 41.721 45.0467 42.7101L46.7978 43.6763C47.1612 43.0176 47.6643 42.5145 48.3229 42.1511L47.3568 40.4ZM45.0424 42.7179C44.5052 43.7123 44.2546 44.8474 44.2546 46.0909H46.2546C46.2546 45.1185 46.4491 44.3218 46.8021 43.6685L45.0424 42.7179ZM45.2546 45.0909H41.9023V47.0909H45.2546V45.0909ZM42.9023 46.0909C42.9023 44.5457 43.2567 43.2346 43.9349 42.1232L42.2277 41.0813C41.334 42.5457 40.9023 44.227 40.9023 46.0909H42.9023ZM43.9349 42.1232C44.626 40.9909 45.5622 40.111 46.7609 39.4739L45.8222 37.7079C44.3126 38.5102 43.1087 39.6379 42.2277 41.0813L43.9349 42.1232ZM46.7583 39.4753C47.9642 38.8389 49.3307 38.5114 50.8796 38.5114V36.5114C49.0383 36.5114 47.3462 36.9036 45.8248 37.7065L46.7583 39.4753ZM50.8796 38.5114C52.4396 38.5114 53.781 38.8395 54.9311 39.4683L55.8906 37.7135C54.4082 36.903 52.7287 36.5114 50.8796 36.5114V38.5114ZM54.9311 39.4683C56.1017 40.1084 57.0022 40.9596 57.6547 42.0251L59.3602 40.9806C58.5166 39.6029 57.3526 38.5129 55.8906 37.7135L54.9311 39.4683ZM57.6547 42.0251C58.3021 43.0823 58.6296 44.2591 58.6296 45.5795H60.6296C60.6296 43.9076 60.209 42.3665 59.3602 40.9806L57.6547 42.0251ZM58.6296 45.5795C58.6296 46.5256 58.4585 47.4519 58.1123 48.3638L59.9821 49.0737C60.4124 47.9401 60.6296 46.7736 60.6296 45.5795H58.6296ZM58.1105 48.3686C57.7772 49.2602 57.1737 50.3056 56.2615 51.5098L57.8557 52.7175C58.8374 51.4216 59.5596 50.2038 59.9839 49.0689L58.1105 48.3686ZM56.2608 51.5107C55.3521 52.7131 54.0754 54.2005 52.4205 55.9776L53.8842 57.3406C55.5626 55.5382 56.8901 53.9952 57.8564 52.7166L56.2608 51.5107ZM52.4219 55.9761L45.8878 62.9648L47.3487 64.3307L53.8828 57.342L52.4219 55.9761ZM45.6183 63.6477V63.875H47.6183V63.6477H45.6183ZM46.6183 64.875H60.141V62.875H46.6183V64.875ZM59.141 63.875V67H61.141V63.875H59.141ZM60.141 66H41.7887V68H60.141V66ZM66.5181 66.5007L67.2252 65.7936L67.2252 65.7936L66.5181 66.5007ZM66.5181 63.0732L65.811 62.366L66.5181 63.0732ZM69.9457 63.0732L70.6528 62.366L70.6528 62.366L69.9457 63.0732ZM70.3235 66.0014L69.4697 65.4808L69.465 65.4885L69.4605 65.4962L70.3235 66.0014ZM69.4464 66.892L69.9609 67.7496L69.967 67.7458L69.4464 66.892ZM68.2319 66.2159C67.8352 66.2159 67.5172 66.0856 67.2252 65.7936L65.811 67.2078C66.4726 67.8694 67.2971 68.2159 68.2319 68.2159V66.2159ZM67.2252 65.7936C66.9332 65.5016 66.8029 65.1836 66.8029 64.7869H64.8029C64.8029 65.7217 65.1494 66.5462 65.811 67.2078L67.2252 65.7936ZM66.8029 64.7869C66.8029 64.3902 66.9332 64.0722 67.2252 63.7803L65.811 62.366C65.1494 63.0277 64.8029 63.8522 64.8029 64.7869H66.8029ZM67.2252 63.7803C67.5172 63.4883 67.8352 63.358 68.2319 63.358V61.358C67.2971 61.358 66.4726 61.7044 65.811 62.366L67.2252 63.7803ZM68.2319 63.358C68.6286 63.358 68.9466 63.4883 69.2386 63.7803L70.6528 62.366C69.9912 61.7044 69.1666 61.358 68.2319 61.358V63.358ZM69.2386 63.7803C69.5305 64.0722 69.6609 64.3902 69.6609 64.7869H71.6609C71.6609 63.8522 71.3144 63.0277 70.6528 62.366L69.2386 63.7803ZM69.6609 64.7869C69.6609 65.048 69.597 65.2721 69.4697 65.4808L71.1773 66.522C71.4999 65.993 71.6609 65.4075 71.6609 64.7869H69.6609ZM69.4605 65.4962C69.3291 65.7208 69.155 65.8985 68.9258 66.0382L69.967 67.7458C70.4754 67.4358 70.8861 67.0198 71.1865 66.5066L69.4605 65.4962ZM68.9319 66.0346C68.7386 66.1505 68.514 66.2159 68.2319 66.2159V68.2159C68.8494 68.2159 69.4344 68.0654 69.9609 67.7495L68.9319 66.0346ZM79.7223 66.5455L79.3184 67.4602L79.3206 67.4612L79.7223 66.5455ZM76.9382 64.3977L76.1335 64.9914L76.139 64.9988L76.9382 64.3977ZM75.8246 61.1818V60.1818H74.7737L74.8258 61.2314L75.8246 61.1818ZM78.6882 61.1818L79.685 61.1013L79.6107 60.1818H78.6882V61.1818ZM79.4609 63.125L78.6927 63.7652L78.6971 63.7705L79.4609 63.125ZM81.245 64.375L80.872 65.3028L80.872 65.3028L81.245 64.375ZM88.1655 62.8409L87.3491 62.2634L87.3491 62.2634L88.1655 62.8409ZM88.1882 58.4205L87.3473 58.9617L87.3502 58.9661L88.1882 58.4205ZM86.3246 56.875L85.9114 57.7857L85.9114 57.7857L86.3246 56.875ZM81.4609 56.3182H80.4609V57.3182H81.4609V56.3182ZM81.4609 53.8182V52.8182H80.4609V53.8182H81.4609ZM85.7564 53.3182L85.3287 52.4142L85.3249 52.416L85.7564 53.3182ZM87.4041 51.9091L86.5704 51.3568L86.5657 51.3641L87.4041 51.9091ZM87.4837 47.7159L88.3421 47.2031L88.3421 47.2031L87.4837 47.7159ZM86.0064 46.3523L85.5464 47.2402L85.5507 47.2424L86.0064 46.3523ZM81.5064 46.3068L81.8846 47.2325L81.8896 47.2305L81.5064 46.3068ZM79.7791 47.5682L80.5526 48.202L80.5569 48.1968L79.7791 47.5682ZM79.0518 49.5455V50.5455H80.004L80.0506 49.5944L79.0518 49.5455ZM76.3246 49.5455L75.3253 49.5082L75.2866 50.5455H76.3246V49.5455ZM77.4268 46.3409L78.2261 46.942L78.2284 46.9388L77.4268 46.3409ZM80.1314 44.1818L79.7139 43.2731L79.7116 43.2742L80.1314 44.1818ZM87.5291 44.2841L87.0364 45.1543L87.0413 45.157L87.5291 44.2841ZM89.9041 46.5682L89.0406 47.0725L89.0406 47.0725L89.9041 46.5682ZM89.6996 52.9886L88.898 52.3907L88.8948 52.395L89.6996 52.9886ZM86.9155 54.9091L86.6253 53.9521L85.9155 54.1674V54.9091H86.9155ZM86.9155 55.0909H85.9155V55.9395L86.7527 56.0776L86.9155 55.0909ZM90.3587 56.9659L89.5852 57.5998L89.5876 57.6026L90.3587 56.9659ZM90.5632 64.0909L89.7379 63.5262L89.737 63.5276L90.5632 64.0909ZM87.7678 66.4545L88.2057 67.3535L88.2057 67.3535L87.7678 66.4545ZM83.7337 66.3182C82.3487 66.3182 81.152 66.0807 80.124 65.6297L79.3206 67.4612C80.6411 68.0405 82.1186 68.3182 83.7337 68.3182V66.3182ZM80.1262 65.6307C79.0981 65.1767 78.3129 64.5619 77.7374 63.7967L76.139 64.9988C76.9423 66.0669 78.0132 66.8839 79.3184 67.4602L80.1262 65.6307ZM77.7429 63.8041C77.1854 63.0484 76.8748 62.1685 76.8233 61.1322L74.8258 61.2314C74.8955 62.6346 75.3274 63.8986 76.1335 64.9914L77.7429 63.8041ZM75.8246 62.1818H78.6882V60.1818H75.8246V62.1818ZM77.6915 61.2624C77.7676 62.205 78.098 63.0515 78.6927 63.7652L80.2292 62.4848C79.9148 62.1076 79.73 61.6586 79.685 61.1013L77.6915 61.2624ZM78.6971 63.7705C79.2695 64.4478 80.0049 64.9542 80.872 65.3028L81.6181 63.4472C81.0154 63.2049 80.5615 62.878 80.2247 62.4795L78.6971 63.7705ZM80.872 65.3028C81.7397 65.6517 82.6828 65.8182 83.6882 65.8182V63.8182C82.9057 63.8182 82.22 63.6892 81.6181 63.4472L80.872 65.3028ZM83.6882 65.8182C84.8048 65.8182 85.8353 65.6233 86.7584 65.207L85.9362 63.3839C85.3138 63.6645 84.5716 63.8182 83.6882 63.8182V65.8182ZM86.7584 65.207C87.6746 64.7939 88.4282 64.2012 88.9819 63.4184L87.3491 62.2634C87.024 62.723 86.5655 63.1001 85.9362 63.3839L86.7584 65.207ZM88.9819 63.4184C89.5499 62.6154 89.8246 61.6904 89.8246 60.6818H87.8246C87.8246 61.3096 87.6599 61.824 87.3491 62.2634L88.9819 63.4184ZM89.8246 60.6818C89.8246 59.6524 89.5668 58.7049 89.0262 57.8748L87.3502 58.9661C87.6582 59.439 87.8246 59.9992 87.8246 60.6818H89.8246ZM89.0291 57.8792C88.4862 57.0358 87.7048 56.4031 86.7377 55.9643L85.9114 57.7857C86.5807 58.0893 87.0418 58.487 87.3473 58.9617L89.0291 57.8792ZM86.7377 55.9643C85.7557 55.5188 84.606 55.3182 83.3246 55.3182V57.3182C84.4068 57.3182 85.2571 57.4888 85.9114 57.7857L86.7377 55.9643ZM83.3246 55.3182H81.4609V57.3182H83.3246V55.3182ZM82.4609 56.3182V53.8182H80.4609V56.3182H82.4609ZM81.4609 54.8182H83.3246V52.8182H81.4609V54.8182ZM83.3246 54.8182C84.3692 54.8182 85.3323 54.6295 86.1878 54.2203L85.3249 52.416C84.7866 52.6735 84.1284 52.8182 83.3246 52.8182V54.8182ZM86.1841 54.2221C87.0425 53.816 87.7397 53.2277 88.2426 52.4541L86.5657 51.3641C86.2807 51.8026 85.8794 52.1537 85.3287 52.4142L86.1841 54.2221ZM88.2378 52.4614C88.761 51.6715 89.0064 50.7619 89.0064 49.7727H87.0064C87.0064 50.4199 86.8502 50.9345 86.5705 51.3568L88.2378 52.4614ZM89.0064 49.7727C89.0064 48.8335 88.7972 47.9647 88.3421 47.2031L86.6252 48.2288C86.8671 48.6338 87.0064 49.1362 87.0064 49.7727H89.0064ZM88.3421 47.2031C87.8923 46.4501 87.2563 45.8687 86.4621 45.4621L85.5507 47.2424C86.0292 47.4874 86.378 47.8151 86.6252 48.2288L88.3421 47.2031ZM86.4664 45.4644C85.6687 45.0511 84.7622 44.8636 83.7791 44.8636V46.8636C84.5082 46.8636 85.0865 47.0019 85.5464 47.2402L86.4664 45.4644ZM83.7791 44.8636C82.8501 44.8636 81.9618 45.0352 81.1232 45.3832L81.8896 47.2305C82.4752 46.9875 83.102 46.8636 83.7791 46.8636V44.8636ZM81.1281 45.3811C80.2788 45.7281 79.5618 46.2462 79.0014 46.9396L80.5569 48.1968C80.8904 47.7841 81.3249 47.4612 81.8846 47.2325L81.1281 45.3811ZM79.0056 46.9344C78.4096 47.6618 78.1003 48.5316 78.053 49.4965L80.0506 49.5944C80.0791 49.0138 80.2547 48.5655 80.5526 48.202L79.0056 46.9344ZM79.0518 48.5455H76.3246V50.5455H79.0518V48.5455ZM77.3239 49.5827C77.3622 48.5531 77.6674 47.6848 78.2261 46.942L76.6276 45.7399C75.8075 46.8303 75.3778 48.0984 75.3253 49.5082L77.3239 49.5827ZM78.2284 46.9388C78.8119 46.1565 79.5786 45.5393 80.5512 45.0894L79.7116 43.2742C78.4569 43.8546 77.4205 44.6768 76.6253 45.743L78.2284 46.9388ZM80.5489 45.0905C81.5281 44.6406 82.6151 44.4091 83.8246 44.4091V42.4091C82.3522 42.4091 80.9771 42.6927 79.7139 43.2731L80.5489 45.0905ZM83.8246 44.4091C85.1284 44.4091 86.1857 44.6726 87.0364 45.1543L88.0218 43.4139C86.812 42.7289 85.3996 42.4091 83.8246 42.4091V44.4091ZM87.0413 45.157C87.928 45.6525 88.5845 46.2915 89.0406 47.0725L90.7676 46.0639C90.1177 44.9509 89.1908 44.0671 88.0169 43.4111L87.0413 45.157ZM89.0406 47.0725C89.5041 47.8661 89.7337 48.7148 89.7337 49.6364H91.7337C91.7337 48.361 91.4102 47.1642 90.7676 46.0639L89.0406 47.0725ZM89.7337 49.6364C89.7337 50.7623 89.4413 51.6623 88.898 52.3907L90.5011 53.5865C91.3366 52.4664 91.7337 51.1317 91.7337 49.6364H89.7337ZM88.8948 52.395C88.3499 53.1337 87.6084 53.654 86.6253 53.9521L87.2057 55.8661C88.5711 55.452 89.6856 54.6921 90.5043 53.5823L88.8948 52.395ZM85.9155 54.9091V55.0909H87.9155V54.9091H85.9155ZM86.7527 56.0776C88.0194 56.2865 88.9354 56.8069 89.5852 57.5998L91.1321 56.332C90.1304 55.1097 88.751 54.3802 87.0782 54.1042L86.7527 56.0776ZM89.5876 57.6026C90.245 58.3987 90.5973 59.4027 90.5973 60.6818H92.5973C92.5973 59.0063 92.1239 57.5331 91.1298 56.3292L89.5876 57.6026ZM90.5973 60.6818C90.5973 61.7532 90.3092 62.6913 89.7379 63.5262L91.3885 64.6556C92.196 63.4754 92.5973 62.1407 92.5973 60.6818H90.5973ZM89.737 63.5276C89.1615 64.3716 88.3691 65.0492 87.3298 65.5556L88.2057 67.3535C89.5301 66.7083 90.6013 65.8102 91.3894 64.6542L89.737 63.5276ZM87.3298 65.5556C86.3031 66.0557 85.1118 66.3182 83.7337 66.3182V68.3182C85.3707 68.3182 86.8687 68.0049 88.2057 67.3535L87.3298 65.5556Z",fill:"black"})),privacy:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 214.27 214.27",...o},M.createElement("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"}),M.createElement("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"})),"selected-cycle":o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...o},M.createElement("circle",{className:"text-base",cx:10,cy:10,r:10,fill:"#4f8cf7",fillOpacity:.2}),M.createElement("path",{d:"M6 10l3 3 5-5",stroke:"#4f8cf7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),theme:o=>M.createElement("svg",{className:"grayscale h-4 w-4",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{fill:"currentColor",d:"M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"})),tip:o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z",fill:"currentColor"})),"zoom-in":o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M945.066667 898.133333l-189.866667-189.866666c55.466667-64 87.466667-149.333333 87.466667-241.066667 0-204.8-168.533333-373.333333-373.333334-373.333333S96 264.533333 96 469.333333 264.533333 842.666667 469.333333 842.666667c91.733333 0 174.933333-34.133333 241.066667-87.466667l189.866667 189.866667c6.4 6.4 14.933333 8.533333 23.466666 8.533333s17.066667-2.133333 23.466667-8.533333c8.533333-12.8 8.533333-34.133333-2.133333-46.933334zM469.333333 778.666667C298.666667 778.666667 160 640 160 469.333333S298.666667 160 469.333333 160 778.666667 298.666667 778.666667 469.333333 640 778.666667 469.333333 778.666667z",fill:"currentColor"}),M.createElement("path",{d:"M597.333333 437.333333h-96V341.333333c0-17.066667-14.933333-32-32-32s-32 14.933333-32 32v96H341.333333c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h96V597.333333c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-96H597.333333c17.066667 0 32-14.933333 32-32s-14.933333-32-32-32z",fill:"currentColor"})),"zoom-out":o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"}),M.createElement("path",{fill:"currentColor",d:"M921 867L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"})),"alt-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M12 8L20 12L12 16L4 12L12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"critical-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M12 5L19 12L12 19L5 12L12 5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M12 9V13",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M12 15V15.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"loop-fragment":o=>M.createElement("svg",{fill:"currentColor",width:"24px",height:"24px",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M960 101.84l-896.002.002c-35.344 0-64 28.656-64 64v576c0 35.36 28.656 64 64 64h160c20.496 0 32-26.32 32-31.984v-.016c0-5.824-10.88-32.416-32-32.416h-120.96c-21.376 0-38.72-17.344-38.72-38.72V206.002c0-21.391 17.328-38.72 38.72-38.72l818.272-1.007c21.376 0 38.72 17.328 38.72 38.72V702.69c0 21.376-17.344 38.72-38.72 38.72H518.142l75.984-68.912c9.344-8.944 12.369-23.408 3.025-32.336l-5.472-8.064c-9.376-8.945-24.496-8.945-33.84 0L428.111 750.53c-.192.16-.368.224-.528.368l-8.48 8.096c-4.672 4.431-7.008 10.335-6.976 16.223-.032 5.904 2.288 11.777 6.977 16.288l8.48 8.096c.16.16.368.192.528.336L555.84 915.44c9.344 8.944 24.464 8.944 33.84 0l5.472-8.065c9.344-8.944 6.32-23.44-3.025-32.368l-77.135-69.168H960c35.343 0 64-28.64 64-64v-576c0-35.344-28.657-64-64-64z"})),"opt-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("circle",{cx:12,cy:12,r:7,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"3 2",strokeLinecap:"round"})),"ref-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M10 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M10 6L6 12L10 18",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"par-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M5 10H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M5 14H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"section-fragment":o=>M.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z",fill:"currentColor"})),"try-catch-fragment":o=>M.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 76 76",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",baseProfile:"full",enableBackground:"new 0 0 76.00 76.00",xmlSpace:"preserve",...o},M.createElement("path",{fill:"currentColor",fillOpacity:1,strokeWidth:.2,strokeLinejoin:"round",d:"M 26,22.0001L 27,21.9998L 27,27L 26.0001,27.0003C 23.2386,27.0003 21.0001,29.2389 21.0001,32.0003L 21,46.0002C 21,48.7616 23.2386,51.0002 25.9999,51.0002L 27,51.0002L 27,47L 33.75,53.5L 27,60L 27,56L 26,56C 20.4771,56 16,51.5229 16,46L 16,32.0001C 16,26.4773 20.4771,22.0001 26,22.0001 Z M 33,27L 59,27L 59,32L 33,32L 33,27 Z M 36,35L 59,35L 59,40L 36,40L 36,35 Z M 33,43L 59,43L 59,48L 33,48L 33,43 Z "}))},l3=o=>{const e=fw[o.name];return e?x.jsx("span",{className:W2("flex items-center justify-center w-5 h-4",o.className),onClick:o.onClick,children:x.jsx(e,{})}):null},gw=()=>{const[o,e]=M.useState(!1);return M.useEffect(()=>{const t=n=>{n.key==="F1"&&(n.preventDefault(),e(r=>!r))};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[]),o?x.jsxs("div",{className:"text-xs inline-flex items-center font-mono font-medium leading-sm mx-1 px-3 py-1 bg-slate-100 text-slate-500 rounded-sm",children:[x.jsx(l3,{name:"debug",className:"h-3 w-3"}),x.jsxs("span",{className:"inline-block px-2",children:["main",":","41c25e92"]})]}):null},hC={tooltip:"_tooltip_5kyas_1",bottom:"_bottom_5kyas_29"},pw=o=>x.jsx("div",{className:o.className,children:x.jsx("div",{className:W2(hC.tooltip,hC.bottom,"privacy whitespace-normal flex items-center"),"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser.",children:x.jsx(l3,{name:"privacy",className:"fill-current h-6 w-6 m-auto"})})}),_w=o=>{var t;const e=(t=o.context)==null?void 0:t.content();return x.jsx("div",{className:"title text-skin-title text-base font-semibold",children:e})},Se={actor:()=>Promise.resolve().then(()=>BR),boundary:()=>Promise.resolve().then(()=>jR),control:()=>Promise.resolve().then(()=>WR),database:()=>Promise.resolve().then(()=>UR),entity:()=>Promise.resolve().then(()=>HR),cognito:()=>Promise.resolve().then(()=>$R),elasticbeantalk:()=>Promise.resolve().then(()=>GR),kinesis:()=>Promise.resolve().then(()=>VR),lightsail:()=>Promise.resolve().then(()=>qR),sagemaker:()=>Promise.resolve().then(()=>YR),awsiotlora:()=>Promise.resolve().then(()=>QR),awsiotgreengrasscomponent:()=>Promise.resolve().then(()=>XR),awsiotthingcoffeepot:()=>Promise.resolve().then(()=>KR),awsiotlambda:()=>Promise.resolve().then(()=>JR),awsiotthingwindfarm:()=>Promise.resolve().then(()=>eb),awsiotthingvibrationsensor:()=>Promise.resolve().then(()=>tb),awsiotdevicedefenderjobs:()=>Promise.resolve().then(()=>nb),awsiotdevicemanagementfleethub:()=>Promise.resolve().then(()=>ib),awsiottopic:()=>Promise.resolve().then(()=>ob),awsiotcertificate:()=>Promise.resolve().then(()=>sb),awsiotthingrelay:()=>Promise.resolve().then(()=>rb),awsiotanalyticschannel:()=>Promise.resolve().then(()=>lb),awsiotthingcamera:()=>Promise.resolve().then(()=>ab),awsiotthingdoorlock:()=>Promise.resolve().then(()=>Lb),awsiotpolicy:()=>Promise.resolve().then(()=>cb),awsiotthingfreertos:()=>Promise.resolve().then(()=>Cb),awsiotsitewiseassetproperties:()=>Promise.resolve().then(()=>ub),awsiotthingtempvibrationsensor:()=>Promise.resolve().then(()=>db),awsiotthingplc:()=>Promise.resolve().then(()=>hb),awsiotaction:()=>Promise.resolve().then(()=>fb),awsiotalexavoice:()=>Promise.resolve().then(()=>gb),awsiotalexaenabled:()=>Promise.resolve().then(()=>pb),awsiotthingutility:()=>Promise.resolve().then(()=>_b),awsiotactuator:()=>Promise.resolve().then(()=>mb),awsiotthingtempsensor:()=>Promise.resolve().then(()=>vb),awsiothttpprotocol:()=>Promise.resolve().then(()=>xb),awsiotcoredevicelocation:()=>Promise.resolve().then(()=>wb),awsiotalexaskill:()=>Promise.resolve().then(()=>Mb),awsiotanalyticsnotebook:()=>Promise.resolve().then(()=>Sb),awsiothardwareboard:()=>Promise.resolve().then(()=>yb),awsiotthingcar:()=>Promise.resolve().then(()=>Ab),awsiotthinglightbulb:()=>Promise.resolve().then(()=>Rb),awsiotsitewiseasset:()=>Promise.resolve().then(()=>bb),awsiotsitewisedatastreams:()=>Promise.resolve().then(()=>Tb),awsiotgreengrasscomponentnucleus:()=>Promise.resolve().then(()=>kb),awsiotthinghouse:()=>Promise.resolve().then(()=>Zb),awsiotoverairupdate:()=>Promise.resolve().then(()=>Eb),awsiotthingbank:()=>Promise.resolve().then(()=>Ib),awsiotsensor:()=>Promise.resolve().then(()=>Ob),awsiotsitewiseassethierarchy:()=>Promise.resolve().then(()=>zb),awsiotgreengrassartifact:()=>Promise.resolve().then(()=>Pb),awsiotthingtravel:()=>Promise.resolve().then(()=>Db),awsiotmqttprotocol:()=>Promise.resolve().then(()=>Nb),awsiotshadow:()=>Promise.resolve().then(()=>Fb),awsiotfiretv:()=>Promise.resolve().then(()=>Bb),awsiotgreengrassconnector:()=>Promise.resolve().then(()=>jb),awsiotgreengrassipc:()=>Promise.resolve().then(()=>Wb),awsiothttp2protocol:()=>Promise.resolve().then(()=>Ub),awsiotfiretvstick:()=>Promise.resolve().then(()=>Hb),awsiotcoredeviceadvisor:()=>Promise.resolve().then(()=>$b),awsiotthingindustrialpc:()=>Promise.resolve().then(()=>Gb),awsiotdesiredstate:()=>Promise.resolve().then(()=>Vb),awsiotecho:()=>Promise.resolve().then(()=>qb),awsiotgreengrassrecipe:()=>Promise.resolve().then(()=>Yb),awsiotgreengrasscomponentprivate:()=>Promise.resolve().then(()=>Qb),awsiotgreengrassstreammanager:()=>Promise.resolve().then(()=>Xb),awsiotthingmedicalemergency:()=>Promise.resolve().then(()=>Kb),awsiotthingthermostat:()=>Promise.resolve().then(()=>Jb),awsiotsitewiseassetmodel:()=>Promise.resolve().then(()=>eT),awsiotthingstacklight:()=>Promise.resolve().then(()=>tT),awsiotthingtemphumiditysensor:()=>Promise.resolve().then(()=>nT),awsiotgreengrasscomponentpublic:()=>Promise.resolve().then(()=>iT),awsiotsailboat:()=>Promise.resolve().then(()=>oT),awsiotrule:()=>Promise.resolve().then(()=>sT),awsiotthingbicycle:()=>Promise.resolve().then(()=>rT),awsiotreportedstate:()=>Promise.resolve().then(()=>lT),awsiotsimulator:()=>Promise.resolve().then(()=>aT),awsiotthingpoliceemergency:()=>Promise.resolve().then(()=>LT),awsiotanalyticsdatastore:()=>Promise.resolve().then(()=>cT),awsiotdevicetester:()=>Promise.resolve().then(()=>CT),awsiotanalyticspipeline:()=>Promise.resolve().then(()=>uT),awsiotthingfactory:()=>Promise.resolve().then(()=>dT),awsiotthinghumiditysensor:()=>Promise.resolve().then(()=>hT),awsiotgreengrassprotocol:()=>Promise.resolve().then(()=>fT),awsiotservo:()=>Promise.resolve().then(()=>gT),awsiotanalyticsdataset:()=>Promise.resolve().then(()=>pT),awsiotgreengrassmachinelearning:()=>Promise.resolve().then(()=>_T),awsiotthinggeneric:()=>Promise.resolve().then(()=>mT),awsiotdevicegateway:()=>Promise.resolve().then(()=>vT),awsiotthingcart:()=>Promise.resolve().then(()=>xT),amazonrekognitionvideo:()=>Promise.resolve().then(()=>wT),amazonsagemakermodel:()=>Promise.resolve().then(()=>MT),amazonsagemakeranalyzelending:()=>Promise.resolve().then(()=>ST),amazonsagemakershadowtesting:()=>Promise.resolve().then(()=>yT),amazondevopsguruinsights:()=>Promise.resolve().then(()=>AT),amazonsagemakernotebook:()=>Promise.resolve().then(()=>RT),amazonsagemakercanvas:()=>Promise.resolve().then(()=>bT),amazonsagemakertrain:()=>Promise.resolve().then(()=>TT),amazonsagemakergeospatialml:()=>Promise.resolve().then(()=>kT),amazonrekognitionimage:()=>Promise.resolve().then(()=>ZT),amazonbraketsimulator:()=>Promise.resolve().then(()=>ET),amazonbraketnoisesimulator:()=>Promise.resolve().then(()=>IT),amazonbraketchip:()=>Promise.resolve().then(()=>OT),amazonbraketsimulator1:()=>Promise.resolve().then(()=>zT),amazonbraketmanagedsimulator:()=>Promise.resolve().then(()=>PT),amazonbraketsimulator3:()=>Promise.resolve().then(()=>DT),amazonbraketchandelier:()=>Promise.resolve().then(()=>NT),amazonbrakettensornetwork:()=>Promise.resolve().then(()=>FT),amazonbraketsimulator4:()=>Promise.resolve().then(()=>BT),amazonbraketqpu:()=>Promise.resolve().then(()=>jT),amazonbraketstatevector:()=>Promise.resolve().then(()=>WT),amazonbraketsimulator2:()=>Promise.resolve().then(()=>UT),amazonopensearchobservability:()=>Promise.resolve().then(()=>HT),amazonredshiftra3:()=>Promise.resolve().then(()=>$T),amazonredshiftstreaming:()=>Promise.resolve().then(()=>GT),amazonemrengine:()=>Promise.resolve().then(()=>VT),amazonredshiftqueryeditor:()=>Promise.resolve().then(()=>Ad),redshift:()=>Promise.resolve().then(()=>Ad),amazonehrhdfscluster:()=>Promise.resolve().then(()=>qT),amazonmskconnect:()=>Promise.resolve().then(()=>YT),awsgluedatacatalog:()=>Promise.resolve().then(()=>QT),amazondatzonedataportal:()=>Promise.resolve().then(()=>XT),amazondatzonebusinessdatacatalog:()=>Promise.resolve().then(()=>KT),amazondatzonedataprojects:()=>Promise.resolve().then(()=>JT),amazonredshiftdensestorage:()=>Promise.resolve().then(()=>ek),awsgluedataquality:()=>Promise.resolve().then(()=>tk),awsgluecrawler:()=>Promise.resolve().then(()=>nk),amazonquicksightreports:()=>Promise.resolve().then(()=>ik),awslakeformationdatalake:()=>Promise.resolve().then(()=>ok),amazonopensearchultrawarm:()=>Promise.resolve().then(()=>sk),amazoncloudsearchsearchdocuments:()=>Promise.resolve().then(()=>rk),amazonopensearchingestion:()=>Promise.resolve().then(()=>lk),amazonathenadatasource:()=>Promise.resolve().then(()=>ak),amazonopensearchadminnode:()=>Promise.resolve().then(()=>Lk),amazonopensearchdashboards:()=>Promise.resolve().then(()=>ck),amazonopensearchindex:()=>Promise.resolve().then(()=>Ck),awsglueray:()=>Promise.resolve().then(()=>uk),amazonredshiftdatasharing:()=>Promise.resolve().then(()=>dk),amazonredshiftautocopy:()=>Promise.resolve().then(()=>hk),amazonredshiftdensecompute:()=>Promise.resolve().then(()=>fk),amazonredshiftml:()=>Promise.resolve().then(()=>gk),amazonopensearchtraces:()=>Promise.resolve().then(()=>pk),amazonemrcluster:()=>Promise.resolve().then(()=>_k),amazonopensearchdatanode:()=>Promise.resolve().then(()=>mk),awsdataexchangeapi:()=>Promise.resolve().then(()=>vk),amazonworkspaces:()=>Promise.resolve().then(()=>xk),amazonworkspacescore:()=>Promise.resolve().then(()=>wk),amazonworkspacesweb:()=>Promise.resolve().then(()=>Mk),awsdirservicesimplead:()=>Promise.resolve().then(()=>Sk),awswafbadbot:()=>Promise.resolve().then(()=>yk),awsidentityaccesssts:()=>Promise.resolve().then(()=>Ak),awsidentityaccessaddon:()=>Promise.resolve().then(()=>Rk),amazoninspectoragent:()=>Promise.resolve().then(()=>bk),awsidentityaccessdataencryption:()=>Promise.resolve().then(()=>Tk),awsidentityaccessmfatoken:()=>Promise.resolve().then(()=>kk),awsdirserviceadconnector:()=>Promise.resolve().then(()=>Zk),awsidentityaccesspermissions:()=>Promise.resolve().then(()=>Ek),awswaflabels:()=>Promise.resolve().then(()=>Ik),awscertmgrca:()=>Promise.resolve().then(()=>Ok),awsidentityaccessstsalt:()=>Promise.resolve().then(()=>zk),awsdirservicemanagedmsad:()=>Promise.resolve().then(()=>Pk),awssecurityhubfinding:()=>Promise.resolve().then(()=>Dk),awswafrule:()=>Promise.resolve().then(()=>Nk),awsidentityaccessrole:()=>Promise.resolve().then(()=>Fk),awsidentityaccesslongtermcredential:()=>Promise.resolve().then(()=>Bk),awsidentityaccesstempcredential:()=>Promise.resolve().then(()=>jk),awswaffilteringrule:()=>Promise.resolve().then(()=>Wk),awswafbot:()=>Promise.resolve().then(()=>Uk),awsshieldadvanced:()=>Promise.resolve().then(()=>Hk),awsidentityaccessanalyzer:()=>Promise.resolve().then(()=>Rd),iam:()=>Promise.resolve().then(()=>Rd),awswafbotcontrol:()=>Promise.resolve().then(()=>$k),awsidentityaccessrolesanywhere:()=>Promise.resolve().then(()=>Gk),awsidentityaccessdataencryptionkey:()=>Promise.resolve().then(()=>Vk),awsnetworkfirewallendpoints:()=>Promise.resolve().then(()=>qk),awswafmanagedrule:()=>Promise.resolve().then(()=>Yk),awskeymanagementexternalkeystore:()=>Promise.resolve().then(()=>Qk),amazonblockchain:()=>Promise.resolve().then(()=>Xk),amazoneventbridgesaas:()=>Promise.resolve().then(()=>Kk),amazoneventbridgeschema:()=>Promise.resolve().then(()=>Jk),amazonmqbroker:()=>Promise.resolve().then(()=>eZ),amazoneventbridgeschemaregistry:()=>Promise.resolve().then(()=>tZ),amazoneventbridgedefaultbus:()=>Promise.resolve().then(()=>nZ),amazonsnsnotification:()=>Promise.resolve().then(()=>iZ),amazoneventbridgeevent:()=>Promise.resolve().then(()=>oZ),amazonnshttpnotification:()=>Promise.resolve().then(()=>sZ),amazoneventbridgepipes:()=>Promise.resolve().then(()=>rZ),amazoneventbridgerule:()=>Promise.resolve().then(()=>lZ),amazonapigatewayendpoint:()=>Promise.resolve().then(()=>aZ),amazoneventbridgescheduler:()=>Promise.resolve().then(()=>LZ),amazonsqsqueue:()=>Promise.resolve().then(()=>bd),sqs:()=>Promise.resolve().then(()=>bd),amazonsqsmessage:()=>Promise.resolve().then(()=>cZ),amazoneventbridgecustomeventbus:()=>Promise.resolve().then(()=>CZ),amazonsnstopic:()=>Promise.resolve().then(()=>Td),sns:()=>Promise.resolve().then(()=>Td),awsssmpatchmanager:()=>Promise.resolve().then(()=>uZ),awscloudformationtemplate:()=>Promise.resolve().then(()=>dZ),awsopsworkslayers:()=>Promise.resolve().then(()=>hZ),amazoncloudwatchmetricsinsights:()=>Promise.resolve().then(()=>fZ),amazoncloudwatchdataprotection:()=>Promise.resolve().then(()=>gZ),amazoncloudwatchalarm:()=>Promise.resolve().then(()=>pZ),awstrustedadvisorchecksecurity:()=>Promise.resolve().then(()=>_Z),awstrustedadvisorcheckperformance:()=>Promise.resolve().then(()=>mZ),amazoncloudwatchrule:()=>Promise.resolve().then(()=>vZ),awsopsworksresources:()=>Promise.resolve().then(()=>xZ),amazoncloudwatcheventtime:()=>Promise.resolve().then(()=>wZ),awsorgsmanagementaccount:()=>Promise.resolve().then(()=>MZ),awslicensemanagerlicenseblending:()=>Promise.resolve().then(()=>SZ),amazoncloudwatcheventevent:()=>Promise.resolve().then(()=>yZ),amazoncloudwatchsynthetics:()=>Promise.resolve().then(()=>AZ),awsssmstatemanager:()=>Promise.resolve().then(()=>RZ),awscloudformationstack:()=>Promise.resolve().then(()=>bZ),awsopsworksinstances:()=>Promise.resolve().then(()=>TZ),awsssmruncommand:()=>Promise.resolve().then(()=>kZ),awsopsworksdeployments:()=>Promise.resolve().then(()=>ZZ),awsssmautomation:()=>Promise.resolve().then(()=>EZ),awsssmchangecalendar:()=>Promise.resolve().then(()=>IZ),awsorgsorganizationalunit:()=>Promise.resolve().then(()=>OZ),awsssmsessionmanager:()=>Promise.resolve().then(()=>zZ),awstrustedadvisorcheckcost:()=>Promise.resolve().then(()=>PZ),awsopsworksstack2:()=>Promise.resolve().then(()=>DZ),awslicensemanagerapplicationdiscovery:()=>Promise.resolve().then(()=>NZ),awsssmopscenter:()=>Promise.resolve().then(()=>FZ),awsssminventory:()=>Promise.resolve().then(()=>BZ),awsopsworkspermissions:()=>Promise.resolve().then(()=>jZ),awsopsworksapps:()=>Promise.resolve().then(()=>WZ),awscloudformationchangeset:()=>Promise.resolve().then(()=>UZ),awsssmdocuments:()=>Promise.resolve().then(()=>HZ),awsssmapplicationmanager:()=>Promise.resolve().then(()=>$Z),awsorgsaccount:()=>Promise.resolve().then(()=>GZ),awscloudtrailcloudtraillake:()=>Promise.resolve().then(()=>VZ),awsssmmaintenancewindows:()=>Promise.resolve().then(()=>qZ),awssmmincidentmanager:()=>Promise.resolve().then(()=>YZ),amazoncloudwatchevidently:()=>Promise.resolve().then(()=>QZ),amazoncloudwatchrum:()=>Promise.resolve().then(()=>XZ),awsssmparameterstore:()=>Promise.resolve().then(()=>KZ),amazoncloudwatchlogs:()=>Promise.resolve().then(()=>kd),cloudwatch:()=>Promise.resolve().then(()=>kd),awsssmchangemanager:()=>Promise.resolve().then(()=>JZ),awsopsworksmonitoring:()=>Promise.resolve().then(()=>eE),awsssmcompliance:()=>Promise.resolve().then(()=>tE),awsssmdistributor:()=>Promise.resolve().then(()=>nE),amazoncloudwatchobservability:()=>Promise.resolve().then(()=>iE),awstrustedadvisorcheckfault:()=>Promise.resolve().then(()=>oE),awstrustedadvisorchecklist:()=>Promise.resolve().then(()=>sE),amazonroute53routetable:()=>Promise.resolve().then(()=>rE),amazoncloudfrontdistribution:()=>Promise.resolve().then(()=>lE),amazonroute53routingcontrols:()=>Promise.resolve().then(()=>aE),amazonroute53arc:()=>Promise.resolve().then(()=>LE),amazonvpctrafficmirroring:()=>Promise.resolve().then(()=>cE),amazonvpcreachabilityanalyzer:()=>Promise.resolve().then(()=>CE),awscloudmapnamespace:()=>Promise.resolve().then(()=>uE),awstransitgatewayattachment:()=>Promise.resolve().then(()=>dE),amazonvpcigw:()=>Promise.resolve().then(()=>hE),amazoncloudfrontedgelocation:()=>Promise.resolve().then(()=>fE),awscloudwansegmentnetwork:()=>Promise.resolve().then(()=>gE),awscloudmapservice:()=>Promise.resolve().then(()=>pE),awsappmeshvirtualrouter:()=>Promise.resolve().then(()=>_E),amazonvpcendpoints:()=>Promise.resolve().then(()=>mE),amazonvpcvpnconnection:()=>Promise.resolve().then(()=>vE),amazoncloudfrontstreaming:()=>Promise.resolve().then(()=>xE),amazonvpcpeering:()=>Promise.resolve().then(()=>wE),amazonroute53resolverdnsfirewall:()=>Promise.resolve().then(()=>ME),amazonroute53hostedzone:()=>Promise.resolve().then(()=>SE),amazonvpcvpngateway:()=>Promise.resolve().then(()=>yE),amazoncloudfrontfunctions:()=>Promise.resolve().then(()=>Zd),cloudfront:()=>Promise.resolve().then(()=>Zd),amazoneaelasticnetworkadapter:()=>Promise.resolve().then(()=>AE),awsappmeshvirtualgateway:()=>Promise.resolve().then(()=>RE),amazonroute53resolverlogging:()=>Promise.resolve().then(()=>bE),elasticlbclassic:()=>Promise.resolve().then(()=>TE),amazonroute53resolver:()=>Promise.resolve().then(()=>kE),awscloudwancorenetworkedge:()=>Promise.resolve().then(()=>ZE),awsappmeshvirtualservice:()=>Promise.resolve().then(()=>EE),amazonvpcflowlogs:()=>Promise.resolve().then(()=>IE),awscloudmapresource:()=>Promise.resolve().then(()=>OE),awsdirectconnectgateway:()=>Promise.resolve().then(()=>zE),amazonvpcnetworkaccessanalyzer:()=>Promise.resolve().then(()=>PE),elasticlbapp:()=>Promise.resolve().then(()=>DE),amazonvpcvpc:()=>Promise.resolve().then(()=>Ed),vpc:()=>Promise.resolve().then(()=>Ed),amazonvpccarriergateway:()=>Promise.resolve().then(()=>NE),amazoneaelasticnetworkinterface:()=>Promise.resolve().then(()=>FE),awscloudwanrouteattachment:()=>Promise.resolve().then(()=>BE),amazonroute53readiness:()=>Promise.resolve().then(()=>jE),awsappmeshvirtualnode:()=>Promise.resolve().then(()=>WE),elasticlbgateway:()=>Promise.resolve().then(()=>UE),amazonvpcrouter:()=>Promise.resolve().then(()=>HE),awsappmeshmesh:()=>Promise.resolve().then(()=>$E),amazonvpcnatgateway:()=>Promise.resolve().then(()=>GE),amazonvpcnetworkacl:()=>Promise.resolve().then(()=>VE),amazonvpccustomer:()=>Promise.resolve().then(()=>qE),elasticlbnetwork:()=>Promise.resolve().then(()=>YE),amazons3replication:()=>Promise.resolve().then(()=>QE),amazons3onezone:()=>Promise.resolve().then(()=>XE),awsbackuplegalhold:()=>Promise.resolve().then(()=>KE),awsstoragegateaway:()=>Promise.resolve().then(()=>JE),amazonefsstandard:()=>Promise.resolve().then(()=>zs),efs:()=>Promise.resolve().then(()=>zs),elasticfilesystem:()=>Promise.resolve().then(()=>zs),amazons3bucket:()=>Promise.resolve().then(()=>Id),s3:()=>Promise.resolve().then(()=>Id),awsstoragegateawayfile:()=>Promise.resolve().then(()=>eI),awsfsxfile:()=>Promise.resolve().then(()=>tI),amazons3glacierinstant:()=>Promise.resolve().then(()=>nI),amazonfilecache:()=>Promise.resolve().then(()=>iI),amazons3standardia:()=>Promise.resolve().then(()=>oI),amazons3generalaccess:()=>Promise.resolve().then(()=>sI),amazons3lambda:()=>Promise.resolve().then(()=>rI),amazons3objectlock:()=>Promise.resolve().then(()=>lI),awsbackupvirtualmachine:()=>Promise.resolve().then(()=>aI),amazonec2gp3:()=>Promise.resolve().then(()=>LI),amazonefsfilesys:()=>Promise.resolve().then(()=>cI),awssnowballimportexport:()=>Promise.resolve().then(()=>CI),amazons3object:()=>Promise.resolve().then(()=>uI),awsbackupcache:()=>Promise.resolve().then(()=>dI),amazons3lambdaobject:()=>Promise.resolve().then(()=>hI),awsbackupgateway:()=>Promise.resolve().then(()=>fI),awsbackuprto:()=>Promise.resolve().then(()=>gI),awsbackupvaultlock:()=>Promise.resolve().then(()=>pI),awsbackupvirtualtape:()=>Promise.resolve().then(()=>_I),amazonebsdatalifecycle:()=>Promise.resolve().then(()=>mI),awsbackupplan:()=>Promise.resolve().then(()=>vI),amazonfilecaches3:()=>Promise.resolve().then(()=>xI),awsbackupcloudformation:()=>Promise.resolve().then(()=>wI),awsbackuptapegateway:()=>Promise.resolve().then(()=>MI),awsbackupvmware:()=>Promise.resolve().then(()=>SI),amazonefsonezoneia:()=>Promise.resolve().then(()=>yI),amazons3replicationtime:()=>Promise.resolve().then(()=>AI),awsbackupstorage:()=>Promise.resolve().then(()=>RI),amazonefsintelligenttiering:()=>Promise.resolve().then(()=>bI),amazons3glacierdeep:()=>Promise.resolve().then(()=>TI),amazons3select:()=>Promise.resolve().then(()=>kI),amazons3outposts:()=>Promise.resolve().then(()=>ZI),awsfilegateway:()=>Promise.resolve().then(()=>EI),amazons3glacier:()=>Promise.resolve().then(()=>II),awsbackupvmmonitor:()=>Promise.resolve().then(()=>OI),amazons3multiregion:()=>Promise.resolve().then(()=>zI),awsbackupvault:()=>Promise.resolve().then(()=>PI),awsbackupauditmanager:()=>Promise.resolve().then(()=>DI),amazonfilecachehybridnfs:()=>Promise.resolve().then(()=>NI),amazonefselasticthroughput:()=>Promise.resolve().then(()=>FI),awsbackupawsbackupfors3:()=>Promise.resolve().then(()=>BI),amazons3standard:()=>Promise.resolve().then(()=>jI),amazonefsonezone:()=>Promise.resolve().then(()=>WI),awsstoragegateawayvolume:()=>Promise.resolve().then(()=>UI),awsbackuprestore:()=>Promise.resolve().then(()=>HI),amazonebsvolumes:()=>Promise.resolve().then(()=>$I),amazons3lens:()=>Promise.resolve().then(()=>GI),awsbackupcompute:()=>Promise.resolve().then(()=>VI),amazonvpclogs:()=>Promise.resolve().then(()=>qI),amazons3batch:()=>Promise.resolve().then(()=>YI),amazonefsinfrequent:()=>Promise.resolve().then(()=>QI),amazons3tiering:()=>Promise.resolve().then(()=>XI),awsbackuprpo:()=>Promise.resolve().then(()=>KI),awsbackupcompliance:()=>Promise.resolve().then(()=>JI),amazonebssnapshot:()=>Promise.resolve().then(()=>eO),awsbackupdatabase:()=>Promise.resolve().then(()=>tO),awsbackupfsx:()=>Promise.resolve().then(()=>nO),amazons3glacierflex:()=>Promise.resolve().then(()=>Ps),glacier:()=>Promise.resolve().then(()=>Ps),s3glacier:()=>Promise.resolve().then(()=>Ps),amazons3bucketobject:()=>Promise.resolve().then(()=>iO),amazonebsvolume:()=>Promise.resolve().then(()=>Od),ebs:()=>Promise.resolve().then(()=>Od),amazons3vault:()=>Promise.resolve().then(()=>oO),amazoneksoutposts:()=>Promise.resolve().then(()=>sO),amazonecscontainer2:()=>Promise.resolve().then(()=>rO),amazonecrimage:()=>Promise.resolve().then(()=>lO),amazonecstask:()=>Promise.resolve().then(()=>aO),amazonecsservice:()=>Promise.resolve().then(()=>LO),amazonecscontainer1:()=>Promise.resolve().then(()=>cO),amazonecrregistry:()=>Promise.resolve().then(()=>CO),amazonecscontainer3:()=>Promise.resolve().then(()=>zd),ecs:()=>Promise.resolve().then(()=>zd),amazonecscopilotcli:()=>Promise.resolve().then(()=>uO),amazonecsserviceconnect:()=>Promise.resolve().then(()=>dO),amazonec2extractor:()=>Promise.resolve().then(()=>hO),amazonec2ami:()=>Promise.resolve().then(()=>fO),awselasticbeanstalkdeployment:()=>Promise.resolve().then(()=>gO),awslambdafunction:()=>Promise.resolve().then(()=>Pd),lambda:()=>Promise.resolve().then(()=>Pd),amazonec2instance:()=>Promise.resolve().then(()=>Dd),ec2:()=>Promise.resolve().then(()=>Dd),amazonec2autoscaling:()=>Promise.resolve().then(()=>pO),amazonec2spotinstance:()=>Promise.resolve().then(()=>_O),awselasticbeanstalkapp:()=>Promise.resolve().then(()=>mO),amazonec2instancecloudwatch:()=>Promise.resolve().then(()=>vO),amazonec2rescue:()=>Promise.resolve().then(()=>xO),amazonec2instances:()=>Promise.resolve().then(()=>wO),amazonec2dbinstance:()=>Promise.resolve().then(()=>MO),amazonec2elasticip:()=>Promise.resolve().then(()=>SO),amazonrdsoptimizedwrites:()=>Promise.resolve().then(()=>yO),amazondynamodbtblclass:()=>Promise.resolve().then(()=>AO),amazonrdsinstancealternate:()=>Promise.resolve().then(()=>RO),amazondynamodbattributes:()=>Promise.resolve().then(()=>bO),amazonrdsauroramysqlalternative:()=>Promise.resolve().then(()=>TO),amazondynamodbitem:()=>Promise.resolve().then(()=>kO),amazonrdsaurorapgsqlalt:()=>Promise.resolve().then(()=>ZO),amazondynamodbitems:()=>Promise.resolve().then(()=>EO),amazonrdsauroraalternate:()=>Promise.resolve().then(()=>IO),amazonrdsaurorasqlalt:()=>Promise.resolve().then(()=>OO),amazonrdsinstance:()=>Promise.resolve().then(()=>Nd),rds:()=>Promise.resolve().then(()=>Nd),amazonrdsmultiaz:()=>Promise.resolve().then(()=>zO),amazondocdbelasticclusters:()=>Promise.resolve().then(()=>PO),amazonrdstrustedextpgsql:()=>Promise.resolve().then(()=>DO),amazonrdsaurorasql:()=>Promise.resolve().then(()=>NO),amazondynamodbglobal:()=>Promise.resolve().then(()=>FO),amazonrdsoracle:()=>Promise.resolve().then(()=>BO),amazonrdsoraclealternate:()=>Promise.resolve().then(()=>jO),amazondynamodbstream:()=>Promise.resolve().then(()=>WO),amazonrdstrustedpgsql:()=>Promise.resolve().then(()=>UO),amazondax:()=>Promise.resolve().then(()=>HO),amazonelasticache4redis:()=>Promise.resolve().then(()=>Fd),elasticache:()=>Promise.resolve().then(()=>Fd),amazonrdsproxy:()=>Promise.resolve().then(()=>$O),amazondynamodbaccesstable:()=>Promise.resolve().then(()=>GO),amazonrdsauroramysql:()=>Promise.resolve().then(()=>VO),amazonrdspiops:()=>Promise.resolve().then(()=>qO),awsdbmigrationserviceworkflow:()=>Promise.resolve().then(()=>YO),amazondynamodbattribute:()=>Promise.resolve().then(()=>QO),amazonrdsbluegreendeploy:()=>Promise.resolve().then(()=>XO),amazondynamodbtable:()=>Promise.resolve().then(()=>Bd),dynamodb:()=>Promise.resolve().then(()=>Bd),amazonrdsaurorainstance:()=>Promise.resolve().then(()=>KO),amazonrdsauroradbinstance:()=>Promise.resolve().then(()=>JO),amazonelasticache4memcached:()=>Promise.resolve().then(()=>ez),amazonrdsproxyalternate:()=>Promise.resolve().then(()=>tz),amazonrdsaurorapgsql:()=>Promise.resolve().then(()=>nz),amazonrdsauroradbinstancealternate:()=>Promise.resolve().then(()=>iz),amazonelasticachecachenode:()=>Promise.resolve().then(()=>oz),amazonrdsmultiazcluster:()=>Promise.resolve().then(()=>sz),awstransferfamilyftps:()=>Promise.resolve().then(()=>rz),awstransferfamilysftp:()=>Promise.resolve().then(()=>lz),awsmainframemodruntime:()=>Promise.resolve().then(()=>az),awstransferfamilyftp:()=>Promise.resolve().then(()=>Lz),awsmigrationhubrefactor:()=>Promise.resolve().then(()=>cz),awsmainframemoddeveloper:()=>Promise.resolve().then(()=>Cz),awsdiscoveryagent:()=>Promise.resolve().then(()=>uz),awsmainframemodcompiler:()=>Promise.resolve().then(()=>dz),awsmigrationhubrefactorapp:()=>Promise.resolve().then(()=>hz),awsdiscoveryagentlesscollector:()=>Promise.resolve().then(()=>fz),awsmainframemodanalyzer:()=>Promise.resolve().then(()=>gz),awsdatasyndiscovery:()=>Promise.resolve().then(()=>pz),awsmigrationhubrefactorservice:()=>Promise.resolve().then(()=>_z),awsdatasyngagent:()=>Promise.resolve().then(()=>mz),awsmainframemodconverter:()=>Promise.resolve().then(()=>vz),awstransferfamilyas2:()=>Promise.resolve().then(()=>xz),awsdiscoverymigrationevaluator:()=>Promise.resolve().then(()=>wz),awscloudinterface:()=>Promise.resolve().then(()=>Mz),awsmediaconnectgateway:()=>Promise.resolve().then(()=>Sz),awsrobomakercloudextensions:()=>Promise.resolve().then(()=>yz),awsrobomakersimulation:()=>Promise.resolve().then(()=>Az),awsrobomakerfleetmanagement:()=>Promise.resolve().then(()=>Rz),awsrobomakerdevenv:()=>Promise.resolve().then(()=>bz),awsamplifystudio:()=>Promise.resolve().then(()=>Tz),amazonlocationmap:()=>Promise.resolve().then(()=>kz),amazonlocationplace:()=>Promise.resolve().then(()=>Zz),amazonlocationtrack:()=>Promise.resolve().then(()=>Ez),amazonlocationgeofence:()=>Promise.resolve().then(()=>Iz),amazonlocationroutes:()=>Promise.resolve().then(()=>Oz),awscloud9:()=>Promise.resolve().then(()=>zz),amazonemailservice:()=>Promise.resolve().then(()=>Pz),amazonpinpointjourney:()=>Promise.resolve().then(()=>Dz),azureactivedirectory:()=>Promise.resolve().then(()=>Nz),azurebackup:()=>Promise.resolve().then(()=>Fz),azurecdn:()=>Promise.resolve().then(()=>Bz),azuredatafactory:()=>Promise.resolve().then(()=>jz),azuredevops:()=>Promise.resolve().then(()=>Wz),azurefunction:()=>Promise.resolve().then(()=>Uz),azuresql:()=>Promise.resolve().then(()=>Hz),cosmosdb:()=>Promise.resolve().then(()=>$z),logicapps:()=>Promise.resolve().then(()=>Gz),virtualmachine:()=>Promise.resolve().then(()=>Vz),bigtable:()=>Promise.resolve().then(()=>qz),bigquery:()=>Promise.resolve().then(()=>Yz),cloudcdn:()=>Promise.resolve().then(()=>Qz),clouddns:()=>Promise.resolve().then(()=>Xz),cloudinterconnect:()=>Promise.resolve().then(()=>Kz),cloudloadbalancing:()=>Promise.resolve().then(()=>Jz),cloudsql:()=>Promise.resolve().then(()=>eP),cloudstorage:()=>Promise.resolve().then(()=>tP),datalab:()=>Promise.resolve().then(()=>nP),dataproc:()=>Promise.resolve().then(()=>iP),googleiam:()=>Promise.resolve().then(()=>oP),googlesecurity:()=>Promise.resolve().then(()=>sP),googlevpc:()=>Promise.resolve().then(()=>rP),pubsub:()=>Promise.resolve().then(()=>lP),securityscanner:()=>Promise.resolve().then(()=>aP),stackdriver:()=>Promise.resolve().then(()=>LP),visionapi:()=>Promise.resolve().then(()=>cP),client:()=>Promise.resolve().then(()=>CP),server:()=>Promise.resolve().then(()=>uP),browser:()=>Promise.resolve().then(()=>dP),service:()=>Promise.resolve().then(()=>hP),controller:()=>Promise.resolve().then(()=>fP),api:()=>Promise.resolve().then(()=>gP),ui:()=>Promise.resolve().then(()=>pP),mobile:()=>Promise.resolve().then(()=>_P),externalsystem:()=>Promise.resolve().then(()=>mP),application:()=>Promise.resolve().then(()=>vP),loadbalancer:()=>Promise.resolve().then(()=>xP),network:()=>Promise.resolve().then(()=>wP),cache:()=>Promise.resolve().then(()=>MP),webserver:()=>Promise.resolve().then(()=>SP),messagequeue:()=>Promise.resolve().then(()=>yP),scheduler:()=>Promise.resolve().then(()=>AP),gateway:()=>Promise.resolve().then(()=>RP),authenticationservice:()=>Promise.resolve().then(()=>bP),mailserver:()=>Promise.resolve().then(()=>TP),github:()=>Promise.resolve().then(()=>kP),docker:()=>Promise.resolve().then(()=>ZP),gitlab:()=>Promise.resolve().then(()=>EP),jenkins:()=>Promise.resolve().then(()=>IP),postgresql:()=>Promise.resolve().then(()=>OP),mongodb:()=>Promise.resolve().then(()=>zP),kubernetes:()=>Promise.resolve().then(()=>PP),apachekafka:()=>Promise.resolve().then(()=>DP),elasticsearch:()=>Promise.resolve().then(()=>NP),auth0:()=>Promise.resolve().then(()=>FP),redis:()=>Promise.resolve().then(()=>BP)},fC=({iconKey:o,className:e,alt:t})=>{const[n,r]=M.useState(null);return M.useEffect(()=>{(async()=>{if(!o||!Se[o]){if(o&&Se[o.toLowerCase()]){const c=await Se[o.toLowerCase()]();r(c.default);return}return}try{const c=await Se[o]();r(c.default)}catch(c){console.error(`Failed to load icon: ${o}`,c)}})()},[o]),n?x.jsx("div",{className:e,"aria-description":t,dangerouslySetInnerHTML:{__html:n}}):x.jsx("div",{className:e})},ye=o=>x.jsx("ul",{role:"list",className:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",children:o.types.map(e=>x.jsxs("li",{className:"col-span-1 flex flex-col shadow-sm rounded-md",children:[x.jsx("div",{className:"h-12 flex items-center justify-center bg-gray-50 text-sm font-medium rounded-t-md",children:x.jsx(fC,{iconKey:e==null?void 0:e.toLowerCase(),className:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full"})}),x.jsx("div",{className:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md",children:x.jsx("div",{className:"px-2 py-2 text-xs",children:x.jsxs("span",{className:"text-gray-900 font-medium hover:text-gray-600",children:["@",e]})})})]},e))}),mw=["Actor","Boundary","Control","Database","Entity"],vw=["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"],xw=["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"],ww=["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"],Mw=`// Define a Starter (optional)
|
|
81
|
+
`)}async function Ex(o,e){const t=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await Zx(o,e);if(t){const n=document.createElement("style"),r=document.createTextNode(t);n.appendChild(r),o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n)}}async function ko(o,e={}){const{width:t,height:n}=Dc(o,e),r=await xe(o,e,!0);return await Ex(r,e),await Gc(r,e),Ax(r,e),await Qv(r,t,n)}async function Zo(o,e={}){const{width:t,height:n}=Dc(o,e),r=await ko(o,e),L=await ve(r),c=document.createElement("canvas"),u=c.getContext("2d"),d=e.pixelRatio||Gv(),f=e.canvasWidth||t,g=e.canvasHeight||n;return c.width=f*d,c.height=g*d,e.skipAutoScale||Vv(c),c.style.width=`${f}`,c.style.height=`${g}`,e.backgroundColor&&(u.fillStyle=e.backgroundColor,u.fillRect(0,0,c.width,c.height)),u.drawImage(L,0,0,c.width,c.height),c}async function Kc(o,e={}){return(await Zo(o,e)).toDataURL()}async function Ix(o,e={}){return(await Zo(o,e)).toDataURL("image/jpeg",e.quality||1)}async function Ox(o,e={}){const t=await Zo(o,e);return await qv(t)}function Jc(o){var e,t,n="";if(typeof o=="string"||typeof o=="number")n+=o;else if(typeof o=="object")if(Array.isArray(o)){var r=o.length;for(e=0;e<r;e++)o[e]&&(t=Jc(o[e]))&&(n&&(n+=" "),n+=t)}else for(t in o)o[t]&&(n&&(n+=" "),n+=t);return n}function zx(){for(var o,e,t=0,n="",r=arguments.length;t<r;t++)(o=arguments[t])&&(e=Jc(o))&&(n&&(n+=" "),n+=e);return n}const Eo="-",Px=o=>{const e=Nx(o),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=o;return{getClassGroupId:c=>{const u=c.split(Eo);return u[0]===""&&u.length!==1&&u.shift(),eC(u,e)||Dx(c)},getConflictingClassGroupIds:(c,u)=>{const d=t[c]||[];return u&&n[c]?[...d,...n[c]]:d}}},eC=(o,e)=>{var c;if(o.length===0)return e.classGroupId;const t=o[0],n=e.nextPart.get(t),r=n?eC(o.slice(1),n):void 0;if(r)return r;if(e.validators.length===0)return;const L=o.join(Eo);return(c=e.validators.find(({validator:u})=>u(L)))==null?void 0:c.classGroupId},tC=/^\[(.+)\]$/,Dx=o=>{if(tC.test(o)){const e=tC.exec(o)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},Nx=o=>{const{theme:e,classGroups:t}=o,n={nextPart:new Map,validators:[]};for(const r in t)Io(t[r],n,r,e);return n},Io=(o,e,t,n)=>{o.forEach(r=>{if(typeof r=="string"){const L=r===""?e:nC(e,r);L.classGroupId=t;return}if(typeof r=="function"){if(Fx(r)){Io(r(n),e,t,n);return}e.validators.push({validator:r,classGroupId:t});return}Object.entries(r).forEach(([L,c])=>{Io(c,nC(e,L),t,n)})})},nC=(o,e)=>{let t=o;return e.split(Eo).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},Fx=o=>o.isThemeGetter,Bx=o=>{if(o<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,n=new Map;const r=(L,c)=>{t.set(L,c),e++,e>o&&(e=0,n=t,t=new Map)};return{get(L){let c=t.get(L);if(c!==void 0)return c;if((c=n.get(L))!==void 0)return r(L,c),c},set(L,c){t.has(L)?t.set(L,c):r(L,c)}}},Oo="!",zo=":",jx=zo.length,Wx=o=>{const{prefix:e,experimentalParseClassName:t}=o;let n=r=>{const L=[];let c=0,u=0,d=0,f;for(let A=0;A<r.length;A++){let y=r[A];if(c===0&&u===0){if(y===zo){L.push(r.slice(d,A)),d=A+jx;continue}if(y==="/"){f=A;continue}}y==="["?c++:y==="]"?c--:y==="("?u++:y===")"&&u--}const g=L.length===0?r:r.substring(d),p=Ux(g),m=p!==g,w=f&&f>d?f-d:void 0;return{modifiers:L,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:w}};if(e){const r=e+zo,L=n;n=c=>c.startsWith(r)?L(c.substring(r.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(t){const r=n;n=L=>t({className:L,parseClassName:r})}return n},Ux=o=>o.endsWith(Oo)?o.substring(0,o.length-1):o.startsWith(Oo)?o.substring(1):o,Hx=o=>{const e=Object.fromEntries(o.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const r=[];let L=[];return n.forEach(c=>{c[0]==="["||e[c]?(r.push(...L.sort(),c),L=[]):L.push(c)}),r.push(...L.sort()),r}},$x=o=>({cache:Bx(o.cacheSize),parseClassName:Wx(o),sortModifiers:Hx(o),...Px(o)}),Gx=/\s+/,Vx=(o,e)=>{const{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:r,sortModifiers:L}=e,c=[],u=o.trim().split(Gx);let d="";for(let f=u.length-1;f>=0;f-=1){const g=u[f],{isExternal:p,modifiers:m,hasImportantModifier:w,baseClassName:A,maybePostfixModifierPosition:y}=t(g);if(p){d=g+(d.length>0?" "+d:d);continue}let Z=!!y,k=n(Z?A.substring(0,y):A);if(!k){if(!Z){d=g+(d.length>0?" "+d:d);continue}if(k=n(A),!k){d=g+(d.length>0?" "+d:d);continue}Z=!1}const D=L(m).join(":"),z=w?D+Oo:D,O=z+k;if(c.includes(O))continue;c.push(O);const F=r(k,Z);for(let t2=0;t2<F.length;++t2){const H=F[t2];c.push(z+H)}d=g+(d.length>0?" "+d:d)}return d};function qx(){let o=0,e,t,n="";for(;o<arguments.length;)(e=arguments[o++])&&(t=iC(e))&&(n&&(n+=" "),n+=t);return n}const iC=o=>{if(typeof o=="string")return o;let e,t="";for(let n=0;n<o.length;n++)o[n]&&(e=iC(o[n]))&&(t&&(t+=" "),t+=e);return t};function Yx(o,...e){let t,n,r,L=c;function c(d){const f=e.reduce((g,p)=>p(g),o());return t=$x(f),n=t.cache.get,r=t.cache.set,L=u,u(d)}function u(d){const f=n(d);if(f)return f;const g=Vx(d,t);return r(d,g),g}return function(){return L(qx.apply(null,arguments))}}const r3=o=>{const e=t=>t[o]||[];return e.isThemeGetter=!0,e},oC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qx=/^\d+\/\d+$/,Xx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Kx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Jx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ew=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H5=o=>Qx.test(o),t1=o=>!!o&&!Number.isNaN(Number(o)),a0=o=>!!o&&Number.isInteger(Number(o)),Po=o=>o.endsWith("%")&&t1(o.slice(0,-1)),T9=o=>Xx.test(o),nw=()=>!0,iw=o=>Kx.test(o)&&!Jx.test(o),rC=()=>!1,ow=o=>ew.test(o),sw=o=>tw.test(o),rw=o=>!b2(o)&&!T2(o),lw=o=>$5(o,CC,rC),b2=o=>oC.test(o),n5=o=>$5(o,uC,iw),Do=o=>$5(o,uw,t1),lC=o=>$5(o,LC,rC),aw=o=>$5(o,cC,sw),we=o=>$5(o,dC,ow),T2=o=>sC.test(o),r6=o=>G5(o,uC),Lw=o=>G5(o,dw),aC=o=>G5(o,LC),cw=o=>G5(o,CC),Cw=o=>G5(o,cC),Me=o=>G5(o,dC,!0),$5=(o,e,t)=>{const n=oC.exec(o);return n?n[1]?e(n[1]):t(n[2]):!1},G5=(o,e,t=!1)=>{const n=sC.exec(o);return n?n[1]?e(n[1]):t:!1},LC=o=>o==="position"||o==="percentage",cC=o=>o==="image"||o==="url",CC=o=>o==="length"||o==="size"||o==="bg-size",uC=o=>o==="length",uw=o=>o==="number",dw=o=>o==="family-name",dC=o=>o==="shadow",hw=Yx(()=>{const o=r3("color"),e=r3("font"),t=r3("text"),n=r3("font-weight"),r=r3("tracking"),L=r3("leading"),c=r3("breakpoint"),u=r3("container"),d=r3("spacing"),f=r3("radius"),g=r3("shadow"),p=r3("inset-shadow"),m=r3("text-shadow"),w=r3("drop-shadow"),A=r3("blur"),y=r3("perspective"),Z=r3("aspect"),k=r3("ease"),D=r3("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...O(),T2,b2],t2=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],Q=()=>[T2,b2,d],n2=()=>[H5,"full","auto",...Q()],L2=()=>[a0,"none","subgrid",T2,b2],r2=()=>["auto",{span:["full",a0,T2,b2]},a0,T2,b2],C2=()=>[a0,"auto",T2,b2],x2=()=>["auto","min","max","fr",T2,b2],D2=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...Q()],U=()=>[H5,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Q()],B=()=>[o,T2,b2],p2=()=>[...O(),aC,lC,{position:[T2,b2]}],R=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",cw,lw,{size:[T2,b2]}],i2=()=>[Po,r6,n5],V=()=>["","none","full",f,T2,b2],e2=()=>["",t1,r6,n5],_2=()=>["solid","dashed","dotted","double"],v2=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N2=()=>[t1,Po,aC,lC],Y2=()=>["","none",A,T2,b2],R1=()=>["none",t1,T2,b2],v1=()=>["none",t1,T2,b2],J1=()=>[t1,T2,b2],e3=()=>[H5,"full",...Q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[T9],breakpoint:[T9],color:[nw],container:[T9],"drop-shadow":[T9],ease:["in","out","in-out"],font:[rw],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[T9],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[T9],shadow:[T9],spacing:["px",t1],text:[T9],"text-shadow":[T9],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",H5,b2,T2,Z]}],container:["container"],columns:[{columns:[t1,b2,T2,u]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:t2()}],"overflow-x":[{"overflow-x":t2()}],"overflow-y":[{"overflow-y":t2()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:n2()}],"inset-x":[{"inset-x":n2()}],"inset-y":[{"inset-y":n2()}],start:[{start:n2()}],end:[{end:n2()}],top:[{top:n2()}],right:[{right:n2()}],bottom:[{bottom:n2()}],left:[{left:n2()}],visibility:["visible","invisible","collapse"],z:[{z:[a0,"auto",T2,b2]}],basis:[{basis:[H5,"full","auto",u,...Q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[t1,H5,"auto","initial","none",b2]}],grow:[{grow:["",t1,T2,b2]}],shrink:[{shrink:["",t1,T2,b2]}],order:[{order:[a0,"first","last","none",T2,b2]}],"grid-cols":[{"grid-cols":L2()}],"col-start-end":[{col:r2()}],"col-start":[{"col-start":C2()}],"col-end":[{"col-end":C2()}],"grid-rows":[{"grid-rows":L2()}],"row-start-end":[{row:r2()}],"row-start":[{"row-start":C2()}],"row-end":[{"row-end":C2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":x2()}],"auto-rows":[{"auto-rows":x2()}],gap:[{gap:Q()}],"gap-x":[{"gap-x":Q()}],"gap-y":[{"gap-y":Q()}],"justify-content":[{justify:[...D2(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...D2()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":D2()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:Q()}],px:[{px:Q()}],py:[{py:Q()}],ps:[{ps:Q()}],pe:[{pe:Q()}],pt:[{pt:Q()}],pr:[{pr:Q()}],pb:[{pb:Q()}],pl:[{pl:Q()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":Q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Q()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[u,"screen",...U()]}],"min-w":[{"min-w":[u,"screen","none",...U()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[c]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",t,r6,n5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,T2,Do]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Po,b2]}],"font-family":[{font:[Lw,b2,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,T2,b2]}],"line-clamp":[{"line-clamp":[t1,"none",T2,Do]}],leading:[{leading:[L,...Q()]}],"list-image":[{"list-image":["none",T2,b2]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T2,b2]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._2(),"wavy"]}],"text-decoration-thickness":[{decoration:[t1,"from-font","auto",T2,n5]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[t1,"auto",T2,b2]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T2,b2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T2,b2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:p2()}],"bg-repeat":[{bg:R()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},a0,T2,b2],radial:["",T2,b2],conic:[a0,T2,b2]},Cw,aw]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:i2()}],"gradient-via-pos":[{via:i2()}],"gradient-to-pos":[{to:i2()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:e2()}],"border-w-x":[{"border-x":e2()}],"border-w-y":[{"border-y":e2()}],"border-w-s":[{"border-s":e2()}],"border-w-e":[{"border-e":e2()}],"border-w-t":[{"border-t":e2()}],"border-w-r":[{"border-r":e2()}],"border-w-b":[{"border-b":e2()}],"border-w-l":[{"border-l":e2()}],"divide-x":[{"divide-x":e2()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":e2()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._2(),"hidden","none"]}],"divide-style":[{divide:[..._2(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[..._2(),"none","hidden"]}],"outline-offset":[{"outline-offset":[t1,T2,b2]}],"outline-w":[{outline:["",t1,r6,n5]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",g,Me,we]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",p,Me,we]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:e2()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[t1,n5]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":e2()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",m,Me,we]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[t1,T2,b2]}],"mix-blend":[{"mix-blend":[...v2(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":v2()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[t1]}],"mask-image-linear-from-pos":[{"mask-linear-from":N2()}],"mask-image-linear-to-pos":[{"mask-linear-to":N2()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":N2()}],"mask-image-t-to-pos":[{"mask-t-to":N2()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":N2()}],"mask-image-r-to-pos":[{"mask-r-to":N2()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":N2()}],"mask-image-b-to-pos":[{"mask-b-to":N2()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":N2()}],"mask-image-l-to-pos":[{"mask-l-to":N2()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":N2()}],"mask-image-x-to-pos":[{"mask-x-to":N2()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":N2()}],"mask-image-y-to-pos":[{"mask-y-to":N2()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[T2,b2]}],"mask-image-radial-from-pos":[{"mask-radial-from":N2()}],"mask-image-radial-to-pos":[{"mask-radial-to":N2()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[t1]}],"mask-image-conic-from-pos":[{"mask-conic-from":N2()}],"mask-image-conic-to-pos":[{"mask-conic-to":N2()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:p2()}],"mask-repeat":[{mask:R()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T2,b2]}],filter:[{filter:["","none",T2,b2]}],blur:[{blur:Y2()}],brightness:[{brightness:[t1,T2,b2]}],contrast:[{contrast:[t1,T2,b2]}],"drop-shadow":[{"drop-shadow":["","none",w,Me,we]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",t1,T2,b2]}],"hue-rotate":[{"hue-rotate":[t1,T2,b2]}],invert:[{invert:["",t1,T2,b2]}],saturate:[{saturate:[t1,T2,b2]}],sepia:[{sepia:["",t1,T2,b2]}],"backdrop-filter":[{"backdrop-filter":["","none",T2,b2]}],"backdrop-blur":[{"backdrop-blur":Y2()}],"backdrop-brightness":[{"backdrop-brightness":[t1,T2,b2]}],"backdrop-contrast":[{"backdrop-contrast":[t1,T2,b2]}],"backdrop-grayscale":[{"backdrop-grayscale":["",t1,T2,b2]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[t1,T2,b2]}],"backdrop-invert":[{"backdrop-invert":["",t1,T2,b2]}],"backdrop-opacity":[{"backdrop-opacity":[t1,T2,b2]}],"backdrop-saturate":[{"backdrop-saturate":[t1,T2,b2]}],"backdrop-sepia":[{"backdrop-sepia":["",t1,T2,b2]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Q()}],"border-spacing-x":[{"border-spacing-x":Q()}],"border-spacing-y":[{"border-spacing-y":Q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T2,b2]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[t1,"initial",T2,b2]}],ease:[{ease:["linear","initial",k,T2,b2]}],delay:[{delay:[t1,T2,b2]}],animate:[{animate:["none",D,T2,b2]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,T2,b2]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:R1()}],"rotate-x":[{"rotate-x":R1()}],"rotate-y":[{"rotate-y":R1()}],"rotate-z":[{"rotate-z":R1()}],scale:[{scale:v1()}],"scale-x":[{"scale-x":v1()}],"scale-y":[{"scale-y":v1()}],"scale-z":[{"scale-z":v1()}],"scale-3d":["scale-3d"],skew:[{skew:J1()}],"skew-x":[{"skew-x":J1()}],"skew-y":[{"skew-y":J1()}],transform:[{transform:[T2,b2,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:e3()}],"translate-x":[{"translate-x":e3()}],"translate-y":[{"translate-y":e3()}],"translate-z":[{"translate-z":e3()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T2,b2]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T2,b2]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[t1,r6,n5,Do]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function W2(...o){return hw(zx(o))}const fw={close:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",...o},M.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})),"collapse-expanded":o=>M.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"miter",...o},M.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),M.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("g",{id:"SVGRepo_iconCarrier"},M.createElement("line",{x1:14,y1:10,x2:21,y2:3}),M.createElement("polyline",{points:"20 10 14 10 14 4"}),M.createElement("line",{x1:3,y1:21,x2:10,y2:14}),M.createElement("polyline",{points:"4 14 10 14 10 20"}))),"collapse-unexpanded":o=>M.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...o},M.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),M.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("g",{id:"SVGRepo_iconCarrier"},M.createElement("title",null),M.createElement("g",{id:"Complete"},M.createElement("g",{id:"expand"},M.createElement("g",null,M.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-2",points:"3 17.3 3 21 6.7 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1}),M.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:10,x2:3.8,y1:14,y2:20.2}),M.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:14,x2:20.2,y1:10,y2:3.8}),M.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-3",points:"21 6.7 21 3 17.3 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1})))))),debug:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...o},M.createElement("line",{x1:6,y1:3,x2:6,y2:15}),M.createElement("circle",{cx:18,cy:6,r:3}),M.createElement("circle",{cx:6,cy:18,r:3}),M.createElement("path",{d:"M18 9a9 9 0 0 1-9 9"})),"non-selected-cycle":o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...o},M.createElement("circle",{cx:10,cy:10,r:10,fill:"#000",fillOpacity:.1})),numbering:o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M21.8864 32.0909V67H17.6591V36.5227H17.4545L8.93182 42.1818V37.8864L17.6591 32.0909H21.8864ZM33.5483 67.2159C32.8826 67.2159 32.3113 66.9775 31.8345 66.5007C31.3577 66.0239 31.1193 65.4527 31.1193 64.7869C31.1193 64.1212 31.3577 63.55 31.8345 63.0732C32.3113 62.5964 32.8826 62.358 33.5483 62.358C34.214 62.358 34.7853 62.5964 35.2621 63.0732C35.7389 63.55 35.9773 64.1212 35.9773 64.7869C35.9773 65.2277 35.8648 65.6326 35.6399 66.0014C35.424 66.3703 35.1316 66.6671 34.7628 66.892C34.4029 67.108 33.9981 67.2159 33.5483 67.2159ZM41.7887 67V64.4432L51.391 53.9318C52.5179 52.7008 53.4459 51.6307 54.1751 50.7216C54.9042 49.803 55.444 48.9413 55.7944 48.1364C56.1542 47.322 56.3342 46.4697 56.3342 45.5795C56.3342 44.5568 56.088 43.6714 55.5955 42.9233C55.1126 42.1752 54.4497 41.5975 53.6069 41.1903C52.7641 40.7831 51.8171 40.5795 50.766 40.5795C49.6486 40.5795 48.6732 40.8116 47.8398 41.2756C47.016 41.7301 46.3768 42.3693 45.9222 43.1932C45.4772 44.017 45.2546 44.983 45.2546 46.0909H41.9023C41.9023 44.3864 42.2953 42.8902 43.0813 41.6023C43.8673 40.3144 44.9374 39.3106 46.2915 38.5909C47.6552 37.8712 49.1845 37.5114 50.8796 37.5114C52.5842 37.5114 54.0946 37.8712 55.4109 38.5909C56.7272 39.3106 57.7594 40.2812 58.5075 41.5028C59.2556 42.7244 59.6296 44.0833 59.6296 45.5795C59.6296 46.6496 59.4355 47.696 59.0472 48.7188C58.6684 49.732 58.0056 50.8636 57.0586 52.1136C56.1211 53.3542 54.819 54.8693 53.1523 56.6591L46.6183 63.6477V63.875H60.141V67H41.7887ZM68.2319 67.2159C67.5662 67.2159 66.9949 66.9775 66.5181 66.5007C66.0413 66.0239 65.8029 65.4527 65.8029 64.7869C65.8029 64.1212 66.0413 63.55 66.5181 63.0732C66.9949 62.5964 67.5662 62.358 68.2319 62.358C68.8976 62.358 69.4689 62.5964 69.9457 63.0732C70.4225 63.55 70.6609 64.1212 70.6609 64.7869C70.6609 65.2277 70.5484 65.6326 70.3235 66.0014C70.1076 66.3703 69.8152 66.6671 69.4464 66.892C69.0865 67.108 68.6817 67.2159 68.2319 67.2159ZM83.7337 67.3182C82.2337 67.3182 80.8965 67.0606 79.7223 66.5455C78.5556 66.0303 77.6276 65.3144 76.9382 64.3977C76.2564 63.4735 75.8852 62.4015 75.8246 61.1818H78.6882C78.7488 61.9318 79.0064 62.5795 79.4609 63.125C79.9155 63.6629 80.5102 64.0795 81.245 64.375C81.9799 64.6705 82.7943 64.8182 83.6882 64.8182C84.6882 64.8182 85.5746 64.6439 86.3473 64.2955C87.12 63.947 87.7261 63.4621 88.1655 62.8409C88.6049 62.2197 88.8246 61.5 88.8246 60.6818C88.8246 59.8258 88.6125 59.072 88.1882 58.4205C87.764 57.7614 87.1428 57.2462 86.3246 56.875C85.5064 56.5038 84.5064 56.3182 83.3246 56.3182H81.4609V53.8182H83.3246C84.2488 53.8182 85.0594 53.6515 85.7564 53.3182C86.4609 52.9848 87.0102 52.5152 87.4041 51.9091C87.8056 51.303 88.0064 50.5909 88.0064 49.7727C88.0064 48.9848 87.8322 48.2992 87.4837 47.7159C87.1352 47.1326 86.6428 46.678 86.0064 46.3523C85.3776 46.0265 84.6352 45.8636 83.7791 45.8636C82.9761 45.8636 82.2185 46.0114 81.5064 46.3068C80.8018 46.5947 80.2261 47.0152 79.7791 47.5682C79.3321 48.1136 79.0897 48.7727 79.0518 49.5455H76.3246C76.37 48.3258 76.7375 47.2576 77.4268 46.3409C78.1162 45.4167 79.0178 44.697 80.1314 44.1818C81.2526 43.6667 82.4837 43.4091 83.8246 43.4091C85.264 43.4091 86.4988 43.7008 87.5291 44.2841C88.5594 44.8598 89.3511 45.6212 89.9041 46.5682C90.4572 47.5152 90.7337 48.5379 90.7337 49.6364C90.7337 50.947 90.389 52.0644 89.6996 52.9886C89.0178 53.9129 88.0897 54.553 86.9155 54.9091V55.0909C88.3852 55.3333 89.5329 55.9583 90.3587 56.9659C91.1844 57.9659 91.5973 59.2045 91.5973 60.6818C91.5973 61.947 91.2526 63.0833 90.5632 64.0909C89.8814 65.0909 88.9496 65.8788 87.7678 66.4545C86.5859 67.0303 85.2412 67.3182 83.7337 67.3182Z",fill:"black"}),M.createElement("path",{d:"M21.8864 32.0909H22.8864V31.0909H21.8864V32.0909ZM21.8864 67V68H22.8864V67H21.8864ZM17.6591 67H16.6591V68H17.6591V67ZM17.6591 36.5227H18.6591V35.5227H17.6591V36.5227ZM17.4545 36.5227V35.5227H17.1528L16.9014 35.6897L17.4545 36.5227ZM8.93182 42.1818H7.93182V44.0462L9.48498 43.0149L8.93182 42.1818ZM8.93182 37.8864L8.37862 37.0533L7.93182 37.35V37.8864H8.93182ZM17.6591 32.0909V31.0909H17.3573L17.1059 31.2579L17.6591 32.0909ZM20.8864 32.0909V67H22.8864V32.0909H20.8864ZM21.8864 66H17.6591V68H21.8864V66ZM18.6591 67V36.5227H16.6591V67H18.6591ZM17.6591 35.5227H17.4545V37.5227H17.6591V35.5227ZM16.9014 35.6897L8.37866 41.3487L9.48498 43.0149L18.0077 37.3558L16.9014 35.6897ZM9.93182 42.1818V37.8864H7.93182V42.1818H9.93182ZM9.48502 38.7194L18.2123 32.924L17.1059 31.2579L8.37862 37.0533L9.48502 38.7194ZM17.6591 33.0909H21.8864V31.0909H17.6591V33.0909ZM31.8345 66.5007L32.5416 65.7936L32.5416 65.7936L31.8345 66.5007ZM31.8345 63.0732L31.1274 62.366L31.8345 63.0732ZM35.2621 63.0732L35.9692 62.366L35.9692 62.366L35.2621 63.0732ZM35.6399 66.0014L34.7861 65.4808L34.7814 65.4885L34.7769 65.4962L35.6399 66.0014ZM34.7628 66.892L35.2773 67.7496L35.2834 67.7458L34.7628 66.892ZM33.5483 66.2159C33.1516 66.2159 32.8336 66.0856 32.5416 65.7936L31.1274 67.2078C31.789 67.8694 32.6135 68.2159 33.5483 68.2159V66.2159ZM32.5416 65.7936C32.2496 65.5016 32.1193 65.1836 32.1193 64.7869H30.1193C30.1193 65.7217 30.4658 66.5462 31.1274 67.2078L32.5416 65.7936ZM32.1193 64.7869C32.1193 64.3902 32.2496 64.0722 32.5416 63.7803L31.1274 62.366C30.4658 63.0277 30.1193 63.8522 30.1193 64.7869H32.1193ZM32.5416 63.7803C32.8336 63.4883 33.1516 63.358 33.5483 63.358V61.358C32.6135 61.358 31.789 61.7044 31.1274 62.366L32.5416 63.7803ZM33.5483 63.358C33.945 63.358 34.263 63.4883 34.555 63.7803L35.9692 62.366C35.3076 61.7044 34.483 61.358 33.5483 61.358V63.358ZM34.555 63.7803C34.8469 64.0722 34.9773 64.3902 34.9773 64.7869H36.9773C36.9773 63.8522 36.6308 63.0277 35.9692 62.366L34.555 63.7803ZM34.9773 64.7869C34.9773 65.048 34.9134 65.2721 34.7861 65.4808L36.4937 66.522C36.8163 65.993 36.9773 65.4075 36.9773 64.7869H34.9773ZM34.7769 65.4962C34.6455 65.7208 34.4714 65.8985 34.2422 66.0382L35.2834 67.7458C35.7919 67.4358 36.2025 67.0198 36.5029 66.5066L34.7769 65.4962ZM34.2483 66.0346C34.0551 66.1505 33.8304 66.2159 33.5483 66.2159V68.2159C34.1658 68.2159 34.7508 68.0654 35.2773 67.7495L34.2483 66.0346ZM41.7887 67H40.7887V68H41.7887V67ZM41.7887 64.4432L41.0504 63.7687L40.7887 64.0552V64.4432H41.7887ZM51.391 53.9318L50.6534 53.2566L50.6527 53.2574L51.391 53.9318ZM54.1751 50.7216L54.9552 51.3473L54.9583 51.3433L54.1751 50.7216ZM55.7944 48.1364L54.8797 47.7322L54.8775 47.7372L55.7944 48.1364ZM55.5955 42.9233L54.7554 43.4657L54.7602 43.4731L55.5955 42.9233ZM53.6069 41.1903L54.0419 40.2899L54.0419 40.2899L53.6069 41.1903ZM47.8398 41.2756L48.3229 42.1512L48.3263 42.1493L47.8398 41.2756ZM45.9222 43.1932L45.0466 42.7101L45.0424 42.7179L45.9222 43.1932ZM45.2546 46.0909V47.0909H46.2546V46.0909H45.2546ZM41.9023 46.0909H40.9023V47.0909H41.9023V46.0909ZM43.0813 41.6023L43.9349 42.1232L43.9349 42.1232L43.0813 41.6023ZM46.2915 38.5909L45.8248 37.7065L45.8222 37.7079L46.2915 38.5909ZM55.4109 38.5909L55.8906 37.7135L55.8906 37.7135L55.4109 38.5909ZM58.5075 41.5028L57.6547 42.0251L58.5075 41.5028ZM59.0472 48.7188L58.1123 48.3638L58.1105 48.3686L59.0472 48.7188ZM57.0586 52.1136L56.2615 51.5098L56.2608 51.5107L57.0586 52.1136ZM53.1523 56.6591L53.8828 57.342L53.8842 57.3406L53.1523 56.6591ZM46.6183 63.6477L45.8878 62.9648L45.6183 63.2531V63.6477H46.6183ZM46.6183 63.875H45.6183V64.875H46.6183V63.875ZM60.141 63.875H61.141V62.875H60.141V63.875ZM60.141 67V68H61.141V67H60.141ZM42.7887 67V64.4432H40.7887V67H42.7887ZM42.527 65.1176L52.1293 54.6063L50.6527 53.2574L41.0504 63.7687L42.527 65.1176ZM52.1286 54.607C53.2645 53.3661 54.208 52.2788 54.9551 51.3473L53.395 50.0959C52.6838 50.9825 51.7713 52.0354 50.6534 53.2566L52.1286 54.607ZM54.9583 51.3433C55.7246 50.3779 56.3168 49.4417 56.7113 48.5355L54.8775 47.7372C54.5712 48.4409 54.0838 49.2281 53.3918 50.0999L54.9583 51.3433ZM56.7091 48.5405C57.1252 47.5988 57.3342 46.6089 57.3342 45.5795H55.3342C55.3342 46.3305 55.1833 47.0451 54.8797 47.7322L56.7091 48.5405ZM57.3342 45.5795C57.3342 44.3899 57.0454 43.3071 56.4308 42.3735L54.7602 43.4731C55.1305 44.0357 55.3342 44.7237 55.3342 45.5795H57.3342ZM56.4357 42.3809C55.8479 41.4705 55.0412 40.7727 54.0419 40.2899L53.1719 42.0908C53.8582 42.4223 54.3772 42.8799 54.7554 43.4657L56.4357 42.3809ZM54.0419 40.2899C53.0476 39.8095 51.9491 39.5795 50.766 39.5795V41.5795C51.6851 41.5795 52.4806 41.7568 53.1719 42.0908L54.0419 40.2899ZM50.766 39.5795C49.5076 39.5795 48.3592 39.8418 47.3534 40.4019L48.3263 42.1493C48.9872 41.7813 49.7895 41.5795 50.766 41.5795V39.5795ZM47.3568 40.4C46.3677 40.9457 45.5924 41.721 45.0467 42.7101L46.7978 43.6763C47.1612 43.0176 47.6643 42.5145 48.3229 42.1511L47.3568 40.4ZM45.0424 42.7179C44.5052 43.7123 44.2546 44.8474 44.2546 46.0909H46.2546C46.2546 45.1185 46.4491 44.3218 46.8021 43.6685L45.0424 42.7179ZM45.2546 45.0909H41.9023V47.0909H45.2546V45.0909ZM42.9023 46.0909C42.9023 44.5457 43.2567 43.2346 43.9349 42.1232L42.2277 41.0813C41.334 42.5457 40.9023 44.227 40.9023 46.0909H42.9023ZM43.9349 42.1232C44.626 40.9909 45.5622 40.111 46.7609 39.4739L45.8222 37.7079C44.3126 38.5102 43.1087 39.6379 42.2277 41.0813L43.9349 42.1232ZM46.7583 39.4753C47.9642 38.8389 49.3307 38.5114 50.8796 38.5114V36.5114C49.0383 36.5114 47.3462 36.9036 45.8248 37.7065L46.7583 39.4753ZM50.8796 38.5114C52.4396 38.5114 53.781 38.8395 54.9311 39.4683L55.8906 37.7135C54.4082 36.903 52.7287 36.5114 50.8796 36.5114V38.5114ZM54.9311 39.4683C56.1017 40.1084 57.0022 40.9596 57.6547 42.0251L59.3602 40.9806C58.5166 39.6029 57.3526 38.5129 55.8906 37.7135L54.9311 39.4683ZM57.6547 42.0251C58.3021 43.0823 58.6296 44.2591 58.6296 45.5795H60.6296C60.6296 43.9076 60.209 42.3665 59.3602 40.9806L57.6547 42.0251ZM58.6296 45.5795C58.6296 46.5256 58.4585 47.4519 58.1123 48.3638L59.9821 49.0737C60.4124 47.9401 60.6296 46.7736 60.6296 45.5795H58.6296ZM58.1105 48.3686C57.7772 49.2602 57.1737 50.3056 56.2615 51.5098L57.8557 52.7175C58.8374 51.4216 59.5596 50.2038 59.9839 49.0689L58.1105 48.3686ZM56.2608 51.5107C55.3521 52.7131 54.0754 54.2005 52.4205 55.9776L53.8842 57.3406C55.5626 55.5382 56.8901 53.9952 57.8564 52.7166L56.2608 51.5107ZM52.4219 55.9761L45.8878 62.9648L47.3487 64.3307L53.8828 57.342L52.4219 55.9761ZM45.6183 63.6477V63.875H47.6183V63.6477H45.6183ZM46.6183 64.875H60.141V62.875H46.6183V64.875ZM59.141 63.875V67H61.141V63.875H59.141ZM60.141 66H41.7887V68H60.141V66ZM66.5181 66.5007L67.2252 65.7936L67.2252 65.7936L66.5181 66.5007ZM66.5181 63.0732L65.811 62.366L66.5181 63.0732ZM69.9457 63.0732L70.6528 62.366L70.6528 62.366L69.9457 63.0732ZM70.3235 66.0014L69.4697 65.4808L69.465 65.4885L69.4605 65.4962L70.3235 66.0014ZM69.4464 66.892L69.9609 67.7496L69.967 67.7458L69.4464 66.892ZM68.2319 66.2159C67.8352 66.2159 67.5172 66.0856 67.2252 65.7936L65.811 67.2078C66.4726 67.8694 67.2971 68.2159 68.2319 68.2159V66.2159ZM67.2252 65.7936C66.9332 65.5016 66.8029 65.1836 66.8029 64.7869H64.8029C64.8029 65.7217 65.1494 66.5462 65.811 67.2078L67.2252 65.7936ZM66.8029 64.7869C66.8029 64.3902 66.9332 64.0722 67.2252 63.7803L65.811 62.366C65.1494 63.0277 64.8029 63.8522 64.8029 64.7869H66.8029ZM67.2252 63.7803C67.5172 63.4883 67.8352 63.358 68.2319 63.358V61.358C67.2971 61.358 66.4726 61.7044 65.811 62.366L67.2252 63.7803ZM68.2319 63.358C68.6286 63.358 68.9466 63.4883 69.2386 63.7803L70.6528 62.366C69.9912 61.7044 69.1666 61.358 68.2319 61.358V63.358ZM69.2386 63.7803C69.5305 64.0722 69.6609 64.3902 69.6609 64.7869H71.6609C71.6609 63.8522 71.3144 63.0277 70.6528 62.366L69.2386 63.7803ZM69.6609 64.7869C69.6609 65.048 69.597 65.2721 69.4697 65.4808L71.1773 66.522C71.4999 65.993 71.6609 65.4075 71.6609 64.7869H69.6609ZM69.4605 65.4962C69.3291 65.7208 69.155 65.8985 68.9258 66.0382L69.967 67.7458C70.4754 67.4358 70.8861 67.0198 71.1865 66.5066L69.4605 65.4962ZM68.9319 66.0346C68.7386 66.1505 68.514 66.2159 68.2319 66.2159V68.2159C68.8494 68.2159 69.4344 68.0654 69.9609 67.7495L68.9319 66.0346ZM79.7223 66.5455L79.3184 67.4602L79.3206 67.4612L79.7223 66.5455ZM76.9382 64.3977L76.1335 64.9914L76.139 64.9988L76.9382 64.3977ZM75.8246 61.1818V60.1818H74.7737L74.8258 61.2314L75.8246 61.1818ZM78.6882 61.1818L79.685 61.1013L79.6107 60.1818H78.6882V61.1818ZM79.4609 63.125L78.6927 63.7652L78.6971 63.7705L79.4609 63.125ZM81.245 64.375L80.872 65.3028L80.872 65.3028L81.245 64.375ZM88.1655 62.8409L87.3491 62.2634L87.3491 62.2634L88.1655 62.8409ZM88.1882 58.4205L87.3473 58.9617L87.3502 58.9661L88.1882 58.4205ZM86.3246 56.875L85.9114 57.7857L85.9114 57.7857L86.3246 56.875ZM81.4609 56.3182H80.4609V57.3182H81.4609V56.3182ZM81.4609 53.8182V52.8182H80.4609V53.8182H81.4609ZM85.7564 53.3182L85.3287 52.4142L85.3249 52.416L85.7564 53.3182ZM87.4041 51.9091L86.5704 51.3568L86.5657 51.3641L87.4041 51.9091ZM87.4837 47.7159L88.3421 47.2031L88.3421 47.2031L87.4837 47.7159ZM86.0064 46.3523L85.5464 47.2402L85.5507 47.2424L86.0064 46.3523ZM81.5064 46.3068L81.8846 47.2325L81.8896 47.2305L81.5064 46.3068ZM79.7791 47.5682L80.5526 48.202L80.5569 48.1968L79.7791 47.5682ZM79.0518 49.5455V50.5455H80.004L80.0506 49.5944L79.0518 49.5455ZM76.3246 49.5455L75.3253 49.5082L75.2866 50.5455H76.3246V49.5455ZM77.4268 46.3409L78.2261 46.942L78.2284 46.9388L77.4268 46.3409ZM80.1314 44.1818L79.7139 43.2731L79.7116 43.2742L80.1314 44.1818ZM87.5291 44.2841L87.0364 45.1543L87.0413 45.157L87.5291 44.2841ZM89.9041 46.5682L89.0406 47.0725L89.0406 47.0725L89.9041 46.5682ZM89.6996 52.9886L88.898 52.3907L88.8948 52.395L89.6996 52.9886ZM86.9155 54.9091L86.6253 53.9521L85.9155 54.1674V54.9091H86.9155ZM86.9155 55.0909H85.9155V55.9395L86.7527 56.0776L86.9155 55.0909ZM90.3587 56.9659L89.5852 57.5998L89.5876 57.6026L90.3587 56.9659ZM90.5632 64.0909L89.7379 63.5262L89.737 63.5276L90.5632 64.0909ZM87.7678 66.4545L88.2057 67.3535L88.2057 67.3535L87.7678 66.4545ZM83.7337 66.3182C82.3487 66.3182 81.152 66.0807 80.124 65.6297L79.3206 67.4612C80.6411 68.0405 82.1186 68.3182 83.7337 68.3182V66.3182ZM80.1262 65.6307C79.0981 65.1767 78.3129 64.5619 77.7374 63.7967L76.139 64.9988C76.9423 66.0669 78.0132 66.8839 79.3184 67.4602L80.1262 65.6307ZM77.7429 63.8041C77.1854 63.0484 76.8748 62.1685 76.8233 61.1322L74.8258 61.2314C74.8955 62.6346 75.3274 63.8986 76.1335 64.9914L77.7429 63.8041ZM75.8246 62.1818H78.6882V60.1818H75.8246V62.1818ZM77.6915 61.2624C77.7676 62.205 78.098 63.0515 78.6927 63.7652L80.2292 62.4848C79.9148 62.1076 79.73 61.6586 79.685 61.1013L77.6915 61.2624ZM78.6971 63.7705C79.2695 64.4478 80.0049 64.9542 80.872 65.3028L81.6181 63.4472C81.0154 63.2049 80.5615 62.878 80.2247 62.4795L78.6971 63.7705ZM80.872 65.3028C81.7397 65.6517 82.6828 65.8182 83.6882 65.8182V63.8182C82.9057 63.8182 82.22 63.6892 81.6181 63.4472L80.872 65.3028ZM83.6882 65.8182C84.8048 65.8182 85.8353 65.6233 86.7584 65.207L85.9362 63.3839C85.3138 63.6645 84.5716 63.8182 83.6882 63.8182V65.8182ZM86.7584 65.207C87.6746 64.7939 88.4282 64.2012 88.9819 63.4184L87.3491 62.2634C87.024 62.723 86.5655 63.1001 85.9362 63.3839L86.7584 65.207ZM88.9819 63.4184C89.5499 62.6154 89.8246 61.6904 89.8246 60.6818H87.8246C87.8246 61.3096 87.6599 61.824 87.3491 62.2634L88.9819 63.4184ZM89.8246 60.6818C89.8246 59.6524 89.5668 58.7049 89.0262 57.8748L87.3502 58.9661C87.6582 59.439 87.8246 59.9992 87.8246 60.6818H89.8246ZM89.0291 57.8792C88.4862 57.0358 87.7048 56.4031 86.7377 55.9643L85.9114 57.7857C86.5807 58.0893 87.0418 58.487 87.3473 58.9617L89.0291 57.8792ZM86.7377 55.9643C85.7557 55.5188 84.606 55.3182 83.3246 55.3182V57.3182C84.4068 57.3182 85.2571 57.4888 85.9114 57.7857L86.7377 55.9643ZM83.3246 55.3182H81.4609V57.3182H83.3246V55.3182ZM82.4609 56.3182V53.8182H80.4609V56.3182H82.4609ZM81.4609 54.8182H83.3246V52.8182H81.4609V54.8182ZM83.3246 54.8182C84.3692 54.8182 85.3323 54.6295 86.1878 54.2203L85.3249 52.416C84.7866 52.6735 84.1284 52.8182 83.3246 52.8182V54.8182ZM86.1841 54.2221C87.0425 53.816 87.7397 53.2277 88.2426 52.4541L86.5657 51.3641C86.2807 51.8026 85.8794 52.1537 85.3287 52.4142L86.1841 54.2221ZM88.2378 52.4614C88.761 51.6715 89.0064 50.7619 89.0064 49.7727H87.0064C87.0064 50.4199 86.8502 50.9345 86.5705 51.3568L88.2378 52.4614ZM89.0064 49.7727C89.0064 48.8335 88.7972 47.9647 88.3421 47.2031L86.6252 48.2288C86.8671 48.6338 87.0064 49.1362 87.0064 49.7727H89.0064ZM88.3421 47.2031C87.8923 46.4501 87.2563 45.8687 86.4621 45.4621L85.5507 47.2424C86.0292 47.4874 86.378 47.8151 86.6252 48.2288L88.3421 47.2031ZM86.4664 45.4644C85.6687 45.0511 84.7622 44.8636 83.7791 44.8636V46.8636C84.5082 46.8636 85.0865 47.0019 85.5464 47.2402L86.4664 45.4644ZM83.7791 44.8636C82.8501 44.8636 81.9618 45.0352 81.1232 45.3832L81.8896 47.2305C82.4752 46.9875 83.102 46.8636 83.7791 46.8636V44.8636ZM81.1281 45.3811C80.2788 45.7281 79.5618 46.2462 79.0014 46.9396L80.5569 48.1968C80.8904 47.7841 81.3249 47.4612 81.8846 47.2325L81.1281 45.3811ZM79.0056 46.9344C78.4096 47.6618 78.1003 48.5316 78.053 49.4965L80.0506 49.5944C80.0791 49.0138 80.2547 48.5655 80.5526 48.202L79.0056 46.9344ZM79.0518 48.5455H76.3246V50.5455H79.0518V48.5455ZM77.3239 49.5827C77.3622 48.5531 77.6674 47.6848 78.2261 46.942L76.6276 45.7399C75.8075 46.8303 75.3778 48.0984 75.3253 49.5082L77.3239 49.5827ZM78.2284 46.9388C78.8119 46.1565 79.5786 45.5393 80.5512 45.0894L79.7116 43.2742C78.4569 43.8546 77.4205 44.6768 76.6253 45.743L78.2284 46.9388ZM80.5489 45.0905C81.5281 44.6406 82.6151 44.4091 83.8246 44.4091V42.4091C82.3522 42.4091 80.9771 42.6927 79.7139 43.2731L80.5489 45.0905ZM83.8246 44.4091C85.1284 44.4091 86.1857 44.6726 87.0364 45.1543L88.0218 43.4139C86.812 42.7289 85.3996 42.4091 83.8246 42.4091V44.4091ZM87.0413 45.157C87.928 45.6525 88.5845 46.2915 89.0406 47.0725L90.7676 46.0639C90.1177 44.9509 89.1908 44.0671 88.0169 43.4111L87.0413 45.157ZM89.0406 47.0725C89.5041 47.8661 89.7337 48.7148 89.7337 49.6364H91.7337C91.7337 48.361 91.4102 47.1642 90.7676 46.0639L89.0406 47.0725ZM89.7337 49.6364C89.7337 50.7623 89.4413 51.6623 88.898 52.3907L90.5011 53.5865C91.3366 52.4664 91.7337 51.1317 91.7337 49.6364H89.7337ZM88.8948 52.395C88.3499 53.1337 87.6084 53.654 86.6253 53.9521L87.2057 55.8661C88.5711 55.452 89.6856 54.6921 90.5043 53.5823L88.8948 52.395ZM85.9155 54.9091V55.0909H87.9155V54.9091H85.9155ZM86.7527 56.0776C88.0194 56.2865 88.9354 56.8069 89.5852 57.5998L91.1321 56.332C90.1304 55.1097 88.751 54.3802 87.0782 54.1042L86.7527 56.0776ZM89.5876 57.6026C90.245 58.3987 90.5973 59.4027 90.5973 60.6818H92.5973C92.5973 59.0063 92.1239 57.5331 91.1298 56.3292L89.5876 57.6026ZM90.5973 60.6818C90.5973 61.7532 90.3092 62.6913 89.7379 63.5262L91.3885 64.6556C92.196 63.4754 92.5973 62.1407 92.5973 60.6818H90.5973ZM89.737 63.5276C89.1615 64.3716 88.3691 65.0492 87.3298 65.5556L88.2057 67.3535C89.5301 66.7083 90.6013 65.8102 91.3894 64.6542L89.737 63.5276ZM87.3298 65.5556C86.3031 66.0557 85.1118 66.3182 83.7337 66.3182V68.3182C85.3707 68.3182 86.8687 68.0049 88.2057 67.3535L87.3298 65.5556Z",fill:"black"})),privacy:o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 214.27 214.27",...o},M.createElement("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"}),M.createElement("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"})),"selected-cycle":o=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...o},M.createElement("circle",{className:"text-base",cx:10,cy:10,r:10,fill:"#4f8cf7",fillOpacity:.2}),M.createElement("path",{d:"M6 10l3 3 5-5",stroke:"#4f8cf7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),theme:o=>M.createElement("svg",{className:"grayscale h-4 w-4",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{fill:"currentColor",d:"M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"})),tip:o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z",fill:"currentColor"})),"zoom-in":o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M945.066667 898.133333l-189.866667-189.866666c55.466667-64 87.466667-149.333333 87.466667-241.066667 0-204.8-168.533333-373.333333-373.333334-373.333333S96 264.533333 96 469.333333 264.533333 842.666667 469.333333 842.666667c91.733333 0 174.933333-34.133333 241.066667-87.466667l189.866667 189.866667c6.4 6.4 14.933333 8.533333 23.466666 8.533333s17.066667-2.133333 23.466667-8.533333c8.533333-12.8 8.533333-34.133333-2.133333-46.933334zM469.333333 778.666667C298.666667 778.666667 160 640 160 469.333333S298.666667 160 469.333333 160 778.666667 298.666667 778.666667 469.333333 640 778.666667 469.333333 778.666667z",fill:"currentColor"}),M.createElement("path",{d:"M597.333333 437.333333h-96V341.333333c0-17.066667-14.933333-32-32-32s-32 14.933333-32 32v96H341.333333c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h96V597.333333c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-96H597.333333c17.066667 0 32-14.933333 32-32s-14.933333-32-32-32z",fill:"currentColor"})),"zoom-out":o=>M.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"}),M.createElement("path",{fill:"currentColor",d:"M921 867L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"})),"alt-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M12 8L20 12L12 16L4 12L12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"critical-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M12 5L19 12L12 19L5 12L12 5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M12 9V13",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M12 15V15.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"loop-fragment":o=>M.createElement("svg",{fill:"currentColor",width:"24px",height:"24px",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M960 101.84l-896.002.002c-35.344 0-64 28.656-64 64v576c0 35.36 28.656 64 64 64h160c20.496 0 32-26.32 32-31.984v-.016c0-5.824-10.88-32.416-32-32.416h-120.96c-21.376 0-38.72-17.344-38.72-38.72V206.002c0-21.391 17.328-38.72 38.72-38.72l818.272-1.007c21.376 0 38.72 17.328 38.72 38.72V702.69c0 21.376-17.344 38.72-38.72 38.72H518.142l75.984-68.912c9.344-8.944 12.369-23.408 3.025-32.336l-5.472-8.064c-9.376-8.945-24.496-8.945-33.84 0L428.111 750.53c-.192.16-.368.224-.528.368l-8.48 8.096c-4.672 4.431-7.008 10.335-6.976 16.223-.032 5.904 2.288 11.777 6.977 16.288l8.48 8.096c.16.16.368.192.528.336L555.84 915.44c9.344 8.944 24.464 8.944 33.84 0l5.472-8.065c9.344-8.944 6.32-23.44-3.025-32.368l-77.135-69.168H960c35.343 0 64-28.64 64-64v-576c0-35.344-28.657-64-64-64z"})),"opt-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("circle",{cx:12,cy:12,r:7,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"3 2",strokeLinecap:"round"})),"ref-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M10 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M10 6L6 12L10 18",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"par-fragment":o=>M.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{d:"M5 10H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M5 14H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"section-fragment":o=>M.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z",fill:"currentColor"})),"try-catch-fragment":o=>M.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 76 76",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",baseProfile:"full",enableBackground:"new 0 0 76.00 76.00",xmlSpace:"preserve",...o},M.createElement("path",{fill:"currentColor",fillOpacity:1,strokeWidth:.2,strokeLinejoin:"round",d:"M 26,22.0001L 27,21.9998L 27,27L 26.0001,27.0003C 23.2386,27.0003 21.0001,29.2389 21.0001,32.0003L 21,46.0002C 21,48.7616 23.2386,51.0002 25.9999,51.0002L 27,51.0002L 27,47L 33.75,53.5L 27,60L 27,56L 26,56C 20.4771,56 16,51.5229 16,46L 16,32.0001C 16,26.4773 20.4771,22.0001 26,22.0001 Z M 33,27L 59,27L 59,32L 33,32L 33,27 Z M 36,35L 59,35L 59,40L 36,40L 36,35 Z M 33,43L 59,43L 59,48L 33,48L 33,43 Z "}))},l3=o=>{const e=fw[o.name];return e?x.jsx("span",{className:W2("flex items-center justify-center w-5 h-4",o.className),onClick:o.onClick,children:x.jsx(e,{})}):null},gw=()=>{const[o,e]=M.useState(!1);return M.useEffect(()=>{const t=n=>{n.key==="F1"&&(n.preventDefault(),e(r=>!r))};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[]),o?x.jsxs("div",{className:"text-xs inline-flex items-center font-mono font-medium leading-sm mx-1 px-3 py-1 bg-slate-100 text-slate-500 rounded-sm",children:[x.jsx(l3,{name:"debug",className:"h-3 w-3"}),x.jsxs("span",{className:"inline-block px-2",children:["main",":","f4266c0d"]})]}):null},hC={tooltip:"_tooltip_5kyas_1",bottom:"_bottom_5kyas_29"},pw=o=>x.jsx("div",{className:o.className,children:x.jsx("div",{className:W2(hC.tooltip,hC.bottom,"privacy whitespace-normal flex items-center"),"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser.",children:x.jsx(l3,{name:"privacy",className:"fill-current h-6 w-6 m-auto"})})}),_w=o=>{var t;const e=(t=o.context)==null?void 0:t.content();return x.jsx("div",{className:"title text-skin-title text-base font-semibold",children:e})},Se={actor:()=>Promise.resolve().then(()=>BR),boundary:()=>Promise.resolve().then(()=>jR),control:()=>Promise.resolve().then(()=>WR),database:()=>Promise.resolve().then(()=>UR),entity:()=>Promise.resolve().then(()=>HR),cognito:()=>Promise.resolve().then(()=>$R),elasticbeantalk:()=>Promise.resolve().then(()=>GR),kinesis:()=>Promise.resolve().then(()=>VR),lightsail:()=>Promise.resolve().then(()=>qR),sagemaker:()=>Promise.resolve().then(()=>YR),awsiotlora:()=>Promise.resolve().then(()=>QR),awsiotgreengrasscomponent:()=>Promise.resolve().then(()=>XR),awsiotthingcoffeepot:()=>Promise.resolve().then(()=>KR),awsiotlambda:()=>Promise.resolve().then(()=>JR),awsiotthingwindfarm:()=>Promise.resolve().then(()=>eb),awsiotthingvibrationsensor:()=>Promise.resolve().then(()=>tb),awsiotdevicedefenderjobs:()=>Promise.resolve().then(()=>nb),awsiotdevicemanagementfleethub:()=>Promise.resolve().then(()=>ib),awsiottopic:()=>Promise.resolve().then(()=>ob),awsiotcertificate:()=>Promise.resolve().then(()=>sb),awsiotthingrelay:()=>Promise.resolve().then(()=>rb),awsiotanalyticschannel:()=>Promise.resolve().then(()=>lb),awsiotthingcamera:()=>Promise.resolve().then(()=>ab),awsiotthingdoorlock:()=>Promise.resolve().then(()=>Lb),awsiotpolicy:()=>Promise.resolve().then(()=>cb),awsiotthingfreertos:()=>Promise.resolve().then(()=>Cb),awsiotsitewiseassetproperties:()=>Promise.resolve().then(()=>ub),awsiotthingtempvibrationsensor:()=>Promise.resolve().then(()=>db),awsiotthingplc:()=>Promise.resolve().then(()=>hb),awsiotaction:()=>Promise.resolve().then(()=>fb),awsiotalexavoice:()=>Promise.resolve().then(()=>gb),awsiotalexaenabled:()=>Promise.resolve().then(()=>pb),awsiotthingutility:()=>Promise.resolve().then(()=>_b),awsiotactuator:()=>Promise.resolve().then(()=>mb),awsiotthingtempsensor:()=>Promise.resolve().then(()=>vb),awsiothttpprotocol:()=>Promise.resolve().then(()=>xb),awsiotcoredevicelocation:()=>Promise.resolve().then(()=>wb),awsiotalexaskill:()=>Promise.resolve().then(()=>Mb),awsiotanalyticsnotebook:()=>Promise.resolve().then(()=>Sb),awsiothardwareboard:()=>Promise.resolve().then(()=>yb),awsiotthingcar:()=>Promise.resolve().then(()=>Ab),awsiotthinglightbulb:()=>Promise.resolve().then(()=>Rb),awsiotsitewiseasset:()=>Promise.resolve().then(()=>bb),awsiotsitewisedatastreams:()=>Promise.resolve().then(()=>Tb),awsiotgreengrasscomponentnucleus:()=>Promise.resolve().then(()=>kb),awsiotthinghouse:()=>Promise.resolve().then(()=>Zb),awsiotoverairupdate:()=>Promise.resolve().then(()=>Eb),awsiotthingbank:()=>Promise.resolve().then(()=>Ib),awsiotsensor:()=>Promise.resolve().then(()=>Ob),awsiotsitewiseassethierarchy:()=>Promise.resolve().then(()=>zb),awsiotgreengrassartifact:()=>Promise.resolve().then(()=>Pb),awsiotthingtravel:()=>Promise.resolve().then(()=>Db),awsiotmqttprotocol:()=>Promise.resolve().then(()=>Nb),awsiotshadow:()=>Promise.resolve().then(()=>Fb),awsiotfiretv:()=>Promise.resolve().then(()=>Bb),awsiotgreengrassconnector:()=>Promise.resolve().then(()=>jb),awsiotgreengrassipc:()=>Promise.resolve().then(()=>Wb),awsiothttp2protocol:()=>Promise.resolve().then(()=>Ub),awsiotfiretvstick:()=>Promise.resolve().then(()=>Hb),awsiotcoredeviceadvisor:()=>Promise.resolve().then(()=>$b),awsiotthingindustrialpc:()=>Promise.resolve().then(()=>Gb),awsiotdesiredstate:()=>Promise.resolve().then(()=>Vb),awsiotecho:()=>Promise.resolve().then(()=>qb),awsiotgreengrassrecipe:()=>Promise.resolve().then(()=>Yb),awsiotgreengrasscomponentprivate:()=>Promise.resolve().then(()=>Qb),awsiotgreengrassstreammanager:()=>Promise.resolve().then(()=>Xb),awsiotthingmedicalemergency:()=>Promise.resolve().then(()=>Kb),awsiotthingthermostat:()=>Promise.resolve().then(()=>Jb),awsiotsitewiseassetmodel:()=>Promise.resolve().then(()=>eT),awsiotthingstacklight:()=>Promise.resolve().then(()=>tT),awsiotthingtemphumiditysensor:()=>Promise.resolve().then(()=>nT),awsiotgreengrasscomponentpublic:()=>Promise.resolve().then(()=>iT),awsiotsailboat:()=>Promise.resolve().then(()=>oT),awsiotrule:()=>Promise.resolve().then(()=>sT),awsiotthingbicycle:()=>Promise.resolve().then(()=>rT),awsiotreportedstate:()=>Promise.resolve().then(()=>lT),awsiotsimulator:()=>Promise.resolve().then(()=>aT),awsiotthingpoliceemergency:()=>Promise.resolve().then(()=>LT),awsiotanalyticsdatastore:()=>Promise.resolve().then(()=>cT),awsiotdevicetester:()=>Promise.resolve().then(()=>CT),awsiotanalyticspipeline:()=>Promise.resolve().then(()=>uT),awsiotthingfactory:()=>Promise.resolve().then(()=>dT),awsiotthinghumiditysensor:()=>Promise.resolve().then(()=>hT),awsiotgreengrassprotocol:()=>Promise.resolve().then(()=>fT),awsiotservo:()=>Promise.resolve().then(()=>gT),awsiotanalyticsdataset:()=>Promise.resolve().then(()=>pT),awsiotgreengrassmachinelearning:()=>Promise.resolve().then(()=>_T),awsiotthinggeneric:()=>Promise.resolve().then(()=>mT),awsiotdevicegateway:()=>Promise.resolve().then(()=>vT),awsiotthingcart:()=>Promise.resolve().then(()=>xT),amazonrekognitionvideo:()=>Promise.resolve().then(()=>wT),amazonsagemakermodel:()=>Promise.resolve().then(()=>MT),amazonsagemakeranalyzelending:()=>Promise.resolve().then(()=>ST),amazonsagemakershadowtesting:()=>Promise.resolve().then(()=>yT),amazondevopsguruinsights:()=>Promise.resolve().then(()=>AT),amazonsagemakernotebook:()=>Promise.resolve().then(()=>RT),amazonsagemakercanvas:()=>Promise.resolve().then(()=>bT),amazonsagemakertrain:()=>Promise.resolve().then(()=>TT),amazonsagemakergeospatialml:()=>Promise.resolve().then(()=>kT),amazonrekognitionimage:()=>Promise.resolve().then(()=>ZT),amazonbraketsimulator:()=>Promise.resolve().then(()=>ET),amazonbraketnoisesimulator:()=>Promise.resolve().then(()=>IT),amazonbraketchip:()=>Promise.resolve().then(()=>OT),amazonbraketsimulator1:()=>Promise.resolve().then(()=>zT),amazonbraketmanagedsimulator:()=>Promise.resolve().then(()=>PT),amazonbraketsimulator3:()=>Promise.resolve().then(()=>DT),amazonbraketchandelier:()=>Promise.resolve().then(()=>NT),amazonbrakettensornetwork:()=>Promise.resolve().then(()=>FT),amazonbraketsimulator4:()=>Promise.resolve().then(()=>BT),amazonbraketqpu:()=>Promise.resolve().then(()=>jT),amazonbraketstatevector:()=>Promise.resolve().then(()=>WT),amazonbraketsimulator2:()=>Promise.resolve().then(()=>UT),amazonopensearchobservability:()=>Promise.resolve().then(()=>HT),amazonredshiftra3:()=>Promise.resolve().then(()=>$T),amazonredshiftstreaming:()=>Promise.resolve().then(()=>GT),amazonemrengine:()=>Promise.resolve().then(()=>VT),amazonredshiftqueryeditor:()=>Promise.resolve().then(()=>Ad),redshift:()=>Promise.resolve().then(()=>Ad),amazonehrhdfscluster:()=>Promise.resolve().then(()=>qT),amazonmskconnect:()=>Promise.resolve().then(()=>YT),awsgluedatacatalog:()=>Promise.resolve().then(()=>QT),amazondatzonedataportal:()=>Promise.resolve().then(()=>XT),amazondatzonebusinessdatacatalog:()=>Promise.resolve().then(()=>KT),amazondatzonedataprojects:()=>Promise.resolve().then(()=>JT),amazonredshiftdensestorage:()=>Promise.resolve().then(()=>ek),awsgluedataquality:()=>Promise.resolve().then(()=>tk),awsgluecrawler:()=>Promise.resolve().then(()=>nk),amazonquicksightreports:()=>Promise.resolve().then(()=>ik),awslakeformationdatalake:()=>Promise.resolve().then(()=>ok),amazonopensearchultrawarm:()=>Promise.resolve().then(()=>sk),amazoncloudsearchsearchdocuments:()=>Promise.resolve().then(()=>rk),amazonopensearchingestion:()=>Promise.resolve().then(()=>lk),amazonathenadatasource:()=>Promise.resolve().then(()=>ak),amazonopensearchadminnode:()=>Promise.resolve().then(()=>Lk),amazonopensearchdashboards:()=>Promise.resolve().then(()=>ck),amazonopensearchindex:()=>Promise.resolve().then(()=>Ck),awsglueray:()=>Promise.resolve().then(()=>uk),amazonredshiftdatasharing:()=>Promise.resolve().then(()=>dk),amazonredshiftautocopy:()=>Promise.resolve().then(()=>hk),amazonredshiftdensecompute:()=>Promise.resolve().then(()=>fk),amazonredshiftml:()=>Promise.resolve().then(()=>gk),amazonopensearchtraces:()=>Promise.resolve().then(()=>pk),amazonemrcluster:()=>Promise.resolve().then(()=>_k),amazonopensearchdatanode:()=>Promise.resolve().then(()=>mk),awsdataexchangeapi:()=>Promise.resolve().then(()=>vk),amazonworkspaces:()=>Promise.resolve().then(()=>xk),amazonworkspacescore:()=>Promise.resolve().then(()=>wk),amazonworkspacesweb:()=>Promise.resolve().then(()=>Mk),awsdirservicesimplead:()=>Promise.resolve().then(()=>Sk),awswafbadbot:()=>Promise.resolve().then(()=>yk),awsidentityaccesssts:()=>Promise.resolve().then(()=>Ak),awsidentityaccessaddon:()=>Promise.resolve().then(()=>Rk),amazoninspectoragent:()=>Promise.resolve().then(()=>bk),awsidentityaccessdataencryption:()=>Promise.resolve().then(()=>Tk),awsidentityaccessmfatoken:()=>Promise.resolve().then(()=>kk),awsdirserviceadconnector:()=>Promise.resolve().then(()=>Zk),awsidentityaccesspermissions:()=>Promise.resolve().then(()=>Ek),awswaflabels:()=>Promise.resolve().then(()=>Ik),awscertmgrca:()=>Promise.resolve().then(()=>Ok),awsidentityaccessstsalt:()=>Promise.resolve().then(()=>zk),awsdirservicemanagedmsad:()=>Promise.resolve().then(()=>Pk),awssecurityhubfinding:()=>Promise.resolve().then(()=>Dk),awswafrule:()=>Promise.resolve().then(()=>Nk),awsidentityaccessrole:()=>Promise.resolve().then(()=>Fk),awsidentityaccesslongtermcredential:()=>Promise.resolve().then(()=>Bk),awsidentityaccesstempcredential:()=>Promise.resolve().then(()=>jk),awswaffilteringrule:()=>Promise.resolve().then(()=>Wk),awswafbot:()=>Promise.resolve().then(()=>Uk),awsshieldadvanced:()=>Promise.resolve().then(()=>Hk),awsidentityaccessanalyzer:()=>Promise.resolve().then(()=>Rd),iam:()=>Promise.resolve().then(()=>Rd),awswafbotcontrol:()=>Promise.resolve().then(()=>$k),awsidentityaccessrolesanywhere:()=>Promise.resolve().then(()=>Gk),awsidentityaccessdataencryptionkey:()=>Promise.resolve().then(()=>Vk),awsnetworkfirewallendpoints:()=>Promise.resolve().then(()=>qk),awswafmanagedrule:()=>Promise.resolve().then(()=>Yk),awskeymanagementexternalkeystore:()=>Promise.resolve().then(()=>Qk),amazonblockchain:()=>Promise.resolve().then(()=>Xk),amazoneventbridgesaas:()=>Promise.resolve().then(()=>Kk),amazoneventbridgeschema:()=>Promise.resolve().then(()=>Jk),amazonmqbroker:()=>Promise.resolve().then(()=>eZ),amazoneventbridgeschemaregistry:()=>Promise.resolve().then(()=>tZ),amazoneventbridgedefaultbus:()=>Promise.resolve().then(()=>nZ),amazonsnsnotification:()=>Promise.resolve().then(()=>iZ),amazoneventbridgeevent:()=>Promise.resolve().then(()=>oZ),amazonnshttpnotification:()=>Promise.resolve().then(()=>sZ),amazoneventbridgepipes:()=>Promise.resolve().then(()=>rZ),amazoneventbridgerule:()=>Promise.resolve().then(()=>lZ),amazonapigatewayendpoint:()=>Promise.resolve().then(()=>aZ),amazoneventbridgescheduler:()=>Promise.resolve().then(()=>LZ),amazonsqsqueue:()=>Promise.resolve().then(()=>bd),sqs:()=>Promise.resolve().then(()=>bd),amazonsqsmessage:()=>Promise.resolve().then(()=>cZ),amazoneventbridgecustomeventbus:()=>Promise.resolve().then(()=>CZ),amazonsnstopic:()=>Promise.resolve().then(()=>Td),sns:()=>Promise.resolve().then(()=>Td),awsssmpatchmanager:()=>Promise.resolve().then(()=>uZ),awscloudformationtemplate:()=>Promise.resolve().then(()=>dZ),awsopsworkslayers:()=>Promise.resolve().then(()=>hZ),amazoncloudwatchmetricsinsights:()=>Promise.resolve().then(()=>fZ),amazoncloudwatchdataprotection:()=>Promise.resolve().then(()=>gZ),amazoncloudwatchalarm:()=>Promise.resolve().then(()=>pZ),awstrustedadvisorchecksecurity:()=>Promise.resolve().then(()=>_Z),awstrustedadvisorcheckperformance:()=>Promise.resolve().then(()=>mZ),amazoncloudwatchrule:()=>Promise.resolve().then(()=>vZ),awsopsworksresources:()=>Promise.resolve().then(()=>xZ),amazoncloudwatcheventtime:()=>Promise.resolve().then(()=>wZ),awsorgsmanagementaccount:()=>Promise.resolve().then(()=>MZ),awslicensemanagerlicenseblending:()=>Promise.resolve().then(()=>SZ),amazoncloudwatcheventevent:()=>Promise.resolve().then(()=>yZ),amazoncloudwatchsynthetics:()=>Promise.resolve().then(()=>AZ),awsssmstatemanager:()=>Promise.resolve().then(()=>RZ),awscloudformationstack:()=>Promise.resolve().then(()=>bZ),awsopsworksinstances:()=>Promise.resolve().then(()=>TZ),awsssmruncommand:()=>Promise.resolve().then(()=>kZ),awsopsworksdeployments:()=>Promise.resolve().then(()=>ZZ),awsssmautomation:()=>Promise.resolve().then(()=>EZ),awsssmchangecalendar:()=>Promise.resolve().then(()=>IZ),awsorgsorganizationalunit:()=>Promise.resolve().then(()=>OZ),awsssmsessionmanager:()=>Promise.resolve().then(()=>zZ),awstrustedadvisorcheckcost:()=>Promise.resolve().then(()=>PZ),awsopsworksstack2:()=>Promise.resolve().then(()=>DZ),awslicensemanagerapplicationdiscovery:()=>Promise.resolve().then(()=>NZ),awsssmopscenter:()=>Promise.resolve().then(()=>FZ),awsssminventory:()=>Promise.resolve().then(()=>BZ),awsopsworkspermissions:()=>Promise.resolve().then(()=>jZ),awsopsworksapps:()=>Promise.resolve().then(()=>WZ),awscloudformationchangeset:()=>Promise.resolve().then(()=>UZ),awsssmdocuments:()=>Promise.resolve().then(()=>HZ),awsssmapplicationmanager:()=>Promise.resolve().then(()=>$Z),awsorgsaccount:()=>Promise.resolve().then(()=>GZ),awscloudtrailcloudtraillake:()=>Promise.resolve().then(()=>VZ),awsssmmaintenancewindows:()=>Promise.resolve().then(()=>qZ),awssmmincidentmanager:()=>Promise.resolve().then(()=>YZ),amazoncloudwatchevidently:()=>Promise.resolve().then(()=>QZ),amazoncloudwatchrum:()=>Promise.resolve().then(()=>XZ),awsssmparameterstore:()=>Promise.resolve().then(()=>KZ),amazoncloudwatchlogs:()=>Promise.resolve().then(()=>kd),cloudwatch:()=>Promise.resolve().then(()=>kd),awsssmchangemanager:()=>Promise.resolve().then(()=>JZ),awsopsworksmonitoring:()=>Promise.resolve().then(()=>eE),awsssmcompliance:()=>Promise.resolve().then(()=>tE),awsssmdistributor:()=>Promise.resolve().then(()=>nE),amazoncloudwatchobservability:()=>Promise.resolve().then(()=>iE),awstrustedadvisorcheckfault:()=>Promise.resolve().then(()=>oE),awstrustedadvisorchecklist:()=>Promise.resolve().then(()=>sE),amazonroute53routetable:()=>Promise.resolve().then(()=>rE),amazoncloudfrontdistribution:()=>Promise.resolve().then(()=>lE),amazonroute53routingcontrols:()=>Promise.resolve().then(()=>aE),amazonroute53arc:()=>Promise.resolve().then(()=>LE),amazonvpctrafficmirroring:()=>Promise.resolve().then(()=>cE),amazonvpcreachabilityanalyzer:()=>Promise.resolve().then(()=>CE),awscloudmapnamespace:()=>Promise.resolve().then(()=>uE),awstransitgatewayattachment:()=>Promise.resolve().then(()=>dE),amazonvpcigw:()=>Promise.resolve().then(()=>hE),amazoncloudfrontedgelocation:()=>Promise.resolve().then(()=>fE),awscloudwansegmentnetwork:()=>Promise.resolve().then(()=>gE),awscloudmapservice:()=>Promise.resolve().then(()=>pE),awsappmeshvirtualrouter:()=>Promise.resolve().then(()=>_E),amazonvpcendpoints:()=>Promise.resolve().then(()=>mE),amazonvpcvpnconnection:()=>Promise.resolve().then(()=>vE),amazoncloudfrontstreaming:()=>Promise.resolve().then(()=>xE),amazonvpcpeering:()=>Promise.resolve().then(()=>wE),amazonroute53resolverdnsfirewall:()=>Promise.resolve().then(()=>ME),amazonroute53hostedzone:()=>Promise.resolve().then(()=>SE),amazonvpcvpngateway:()=>Promise.resolve().then(()=>yE),amazoncloudfrontfunctions:()=>Promise.resolve().then(()=>Zd),cloudfront:()=>Promise.resolve().then(()=>Zd),amazoneaelasticnetworkadapter:()=>Promise.resolve().then(()=>AE),awsappmeshvirtualgateway:()=>Promise.resolve().then(()=>RE),amazonroute53resolverlogging:()=>Promise.resolve().then(()=>bE),elasticlbclassic:()=>Promise.resolve().then(()=>TE),amazonroute53resolver:()=>Promise.resolve().then(()=>kE),awscloudwancorenetworkedge:()=>Promise.resolve().then(()=>ZE),awsappmeshvirtualservice:()=>Promise.resolve().then(()=>EE),amazonvpcflowlogs:()=>Promise.resolve().then(()=>IE),awscloudmapresource:()=>Promise.resolve().then(()=>OE),awsdirectconnectgateway:()=>Promise.resolve().then(()=>zE),amazonvpcnetworkaccessanalyzer:()=>Promise.resolve().then(()=>PE),elasticlbapp:()=>Promise.resolve().then(()=>DE),amazonvpcvpc:()=>Promise.resolve().then(()=>Ed),vpc:()=>Promise.resolve().then(()=>Ed),amazonvpccarriergateway:()=>Promise.resolve().then(()=>NE),amazoneaelasticnetworkinterface:()=>Promise.resolve().then(()=>FE),awscloudwanrouteattachment:()=>Promise.resolve().then(()=>BE),amazonroute53readiness:()=>Promise.resolve().then(()=>jE),awsappmeshvirtualnode:()=>Promise.resolve().then(()=>WE),elasticlbgateway:()=>Promise.resolve().then(()=>UE),amazonvpcrouter:()=>Promise.resolve().then(()=>HE),awsappmeshmesh:()=>Promise.resolve().then(()=>$E),amazonvpcnatgateway:()=>Promise.resolve().then(()=>GE),amazonvpcnetworkacl:()=>Promise.resolve().then(()=>VE),amazonvpccustomer:()=>Promise.resolve().then(()=>qE),elasticlbnetwork:()=>Promise.resolve().then(()=>YE),amazons3replication:()=>Promise.resolve().then(()=>QE),amazons3onezone:()=>Promise.resolve().then(()=>XE),awsbackuplegalhold:()=>Promise.resolve().then(()=>KE),awsstoragegateaway:()=>Promise.resolve().then(()=>JE),amazonefsstandard:()=>Promise.resolve().then(()=>zs),efs:()=>Promise.resolve().then(()=>zs),elasticfilesystem:()=>Promise.resolve().then(()=>zs),amazons3bucket:()=>Promise.resolve().then(()=>Id),s3:()=>Promise.resolve().then(()=>Id),awsstoragegateawayfile:()=>Promise.resolve().then(()=>eI),awsfsxfile:()=>Promise.resolve().then(()=>tI),amazons3glacierinstant:()=>Promise.resolve().then(()=>nI),amazonfilecache:()=>Promise.resolve().then(()=>iI),amazons3standardia:()=>Promise.resolve().then(()=>oI),amazons3generalaccess:()=>Promise.resolve().then(()=>sI),amazons3lambda:()=>Promise.resolve().then(()=>rI),amazons3objectlock:()=>Promise.resolve().then(()=>lI),awsbackupvirtualmachine:()=>Promise.resolve().then(()=>aI),amazonec2gp3:()=>Promise.resolve().then(()=>LI),amazonefsfilesys:()=>Promise.resolve().then(()=>cI),awssnowballimportexport:()=>Promise.resolve().then(()=>CI),amazons3object:()=>Promise.resolve().then(()=>uI),awsbackupcache:()=>Promise.resolve().then(()=>dI),amazons3lambdaobject:()=>Promise.resolve().then(()=>hI),awsbackupgateway:()=>Promise.resolve().then(()=>fI),awsbackuprto:()=>Promise.resolve().then(()=>gI),awsbackupvaultlock:()=>Promise.resolve().then(()=>pI),awsbackupvirtualtape:()=>Promise.resolve().then(()=>_I),amazonebsdatalifecycle:()=>Promise.resolve().then(()=>mI),awsbackupplan:()=>Promise.resolve().then(()=>vI),amazonfilecaches3:()=>Promise.resolve().then(()=>xI),awsbackupcloudformation:()=>Promise.resolve().then(()=>wI),awsbackuptapegateway:()=>Promise.resolve().then(()=>MI),awsbackupvmware:()=>Promise.resolve().then(()=>SI),amazonefsonezoneia:()=>Promise.resolve().then(()=>yI),amazons3replicationtime:()=>Promise.resolve().then(()=>AI),awsbackupstorage:()=>Promise.resolve().then(()=>RI),amazonefsintelligenttiering:()=>Promise.resolve().then(()=>bI),amazons3glacierdeep:()=>Promise.resolve().then(()=>TI),amazons3select:()=>Promise.resolve().then(()=>kI),amazons3outposts:()=>Promise.resolve().then(()=>ZI),awsfilegateway:()=>Promise.resolve().then(()=>EI),amazons3glacier:()=>Promise.resolve().then(()=>II),awsbackupvmmonitor:()=>Promise.resolve().then(()=>OI),amazons3multiregion:()=>Promise.resolve().then(()=>zI),awsbackupvault:()=>Promise.resolve().then(()=>PI),awsbackupauditmanager:()=>Promise.resolve().then(()=>DI),amazonfilecachehybridnfs:()=>Promise.resolve().then(()=>NI),amazonefselasticthroughput:()=>Promise.resolve().then(()=>FI),awsbackupawsbackupfors3:()=>Promise.resolve().then(()=>BI),amazons3standard:()=>Promise.resolve().then(()=>jI),amazonefsonezone:()=>Promise.resolve().then(()=>WI),awsstoragegateawayvolume:()=>Promise.resolve().then(()=>UI),awsbackuprestore:()=>Promise.resolve().then(()=>HI),amazonebsvolumes:()=>Promise.resolve().then(()=>$I),amazons3lens:()=>Promise.resolve().then(()=>GI),awsbackupcompute:()=>Promise.resolve().then(()=>VI),amazonvpclogs:()=>Promise.resolve().then(()=>qI),amazons3batch:()=>Promise.resolve().then(()=>YI),amazonefsinfrequent:()=>Promise.resolve().then(()=>QI),amazons3tiering:()=>Promise.resolve().then(()=>XI),awsbackuprpo:()=>Promise.resolve().then(()=>KI),awsbackupcompliance:()=>Promise.resolve().then(()=>JI),amazonebssnapshot:()=>Promise.resolve().then(()=>eO),awsbackupdatabase:()=>Promise.resolve().then(()=>tO),awsbackupfsx:()=>Promise.resolve().then(()=>nO),amazons3glacierflex:()=>Promise.resolve().then(()=>Ps),glacier:()=>Promise.resolve().then(()=>Ps),s3glacier:()=>Promise.resolve().then(()=>Ps),amazons3bucketobject:()=>Promise.resolve().then(()=>iO),amazonebsvolume:()=>Promise.resolve().then(()=>Od),ebs:()=>Promise.resolve().then(()=>Od),amazons3vault:()=>Promise.resolve().then(()=>oO),amazoneksoutposts:()=>Promise.resolve().then(()=>sO),amazonecscontainer2:()=>Promise.resolve().then(()=>rO),amazonecrimage:()=>Promise.resolve().then(()=>lO),amazonecstask:()=>Promise.resolve().then(()=>aO),amazonecsservice:()=>Promise.resolve().then(()=>LO),amazonecscontainer1:()=>Promise.resolve().then(()=>cO),amazonecrregistry:()=>Promise.resolve().then(()=>CO),amazonecscontainer3:()=>Promise.resolve().then(()=>zd),ecs:()=>Promise.resolve().then(()=>zd),amazonecscopilotcli:()=>Promise.resolve().then(()=>uO),amazonecsserviceconnect:()=>Promise.resolve().then(()=>dO),amazonec2extractor:()=>Promise.resolve().then(()=>hO),amazonec2ami:()=>Promise.resolve().then(()=>fO),awselasticbeanstalkdeployment:()=>Promise.resolve().then(()=>gO),awslambdafunction:()=>Promise.resolve().then(()=>Pd),lambda:()=>Promise.resolve().then(()=>Pd),amazonec2instance:()=>Promise.resolve().then(()=>Dd),ec2:()=>Promise.resolve().then(()=>Dd),amazonec2autoscaling:()=>Promise.resolve().then(()=>pO),amazonec2spotinstance:()=>Promise.resolve().then(()=>_O),awselasticbeanstalkapp:()=>Promise.resolve().then(()=>mO),amazonec2instancecloudwatch:()=>Promise.resolve().then(()=>vO),amazonec2rescue:()=>Promise.resolve().then(()=>xO),amazonec2instances:()=>Promise.resolve().then(()=>wO),amazonec2dbinstance:()=>Promise.resolve().then(()=>MO),amazonec2elasticip:()=>Promise.resolve().then(()=>SO),amazonrdsoptimizedwrites:()=>Promise.resolve().then(()=>yO),amazondynamodbtblclass:()=>Promise.resolve().then(()=>AO),amazonrdsinstancealternate:()=>Promise.resolve().then(()=>RO),amazondynamodbattributes:()=>Promise.resolve().then(()=>bO),amazonrdsauroramysqlalternative:()=>Promise.resolve().then(()=>TO),amazondynamodbitem:()=>Promise.resolve().then(()=>kO),amazonrdsaurorapgsqlalt:()=>Promise.resolve().then(()=>ZO),amazondynamodbitems:()=>Promise.resolve().then(()=>EO),amazonrdsauroraalternate:()=>Promise.resolve().then(()=>IO),amazonrdsaurorasqlalt:()=>Promise.resolve().then(()=>OO),amazonrdsinstance:()=>Promise.resolve().then(()=>Nd),rds:()=>Promise.resolve().then(()=>Nd),amazonrdsmultiaz:()=>Promise.resolve().then(()=>zO),amazondocdbelasticclusters:()=>Promise.resolve().then(()=>PO),amazonrdstrustedextpgsql:()=>Promise.resolve().then(()=>DO),amazonrdsaurorasql:()=>Promise.resolve().then(()=>NO),amazondynamodbglobal:()=>Promise.resolve().then(()=>FO),amazonrdsoracle:()=>Promise.resolve().then(()=>BO),amazonrdsoraclealternate:()=>Promise.resolve().then(()=>jO),amazondynamodbstream:()=>Promise.resolve().then(()=>WO),amazonrdstrustedpgsql:()=>Promise.resolve().then(()=>UO),amazondax:()=>Promise.resolve().then(()=>HO),amazonelasticache4redis:()=>Promise.resolve().then(()=>Fd),elasticache:()=>Promise.resolve().then(()=>Fd),amazonrdsproxy:()=>Promise.resolve().then(()=>$O),amazondynamodbaccesstable:()=>Promise.resolve().then(()=>GO),amazonrdsauroramysql:()=>Promise.resolve().then(()=>VO),amazonrdspiops:()=>Promise.resolve().then(()=>qO),awsdbmigrationserviceworkflow:()=>Promise.resolve().then(()=>YO),amazondynamodbattribute:()=>Promise.resolve().then(()=>QO),amazonrdsbluegreendeploy:()=>Promise.resolve().then(()=>XO),amazondynamodbtable:()=>Promise.resolve().then(()=>Bd),dynamodb:()=>Promise.resolve().then(()=>Bd),amazonrdsaurorainstance:()=>Promise.resolve().then(()=>KO),amazonrdsauroradbinstance:()=>Promise.resolve().then(()=>JO),amazonelasticache4memcached:()=>Promise.resolve().then(()=>ez),amazonrdsproxyalternate:()=>Promise.resolve().then(()=>tz),amazonrdsaurorapgsql:()=>Promise.resolve().then(()=>nz),amazonrdsauroradbinstancealternate:()=>Promise.resolve().then(()=>iz),amazonelasticachecachenode:()=>Promise.resolve().then(()=>oz),amazonrdsmultiazcluster:()=>Promise.resolve().then(()=>sz),awstransferfamilyftps:()=>Promise.resolve().then(()=>rz),awstransferfamilysftp:()=>Promise.resolve().then(()=>lz),awsmainframemodruntime:()=>Promise.resolve().then(()=>az),awstransferfamilyftp:()=>Promise.resolve().then(()=>Lz),awsmigrationhubrefactor:()=>Promise.resolve().then(()=>cz),awsmainframemoddeveloper:()=>Promise.resolve().then(()=>Cz),awsdiscoveryagent:()=>Promise.resolve().then(()=>uz),awsmainframemodcompiler:()=>Promise.resolve().then(()=>dz),awsmigrationhubrefactorapp:()=>Promise.resolve().then(()=>hz),awsdiscoveryagentlesscollector:()=>Promise.resolve().then(()=>fz),awsmainframemodanalyzer:()=>Promise.resolve().then(()=>gz),awsdatasyndiscovery:()=>Promise.resolve().then(()=>pz),awsmigrationhubrefactorservice:()=>Promise.resolve().then(()=>_z),awsdatasyngagent:()=>Promise.resolve().then(()=>mz),awsmainframemodconverter:()=>Promise.resolve().then(()=>vz),awstransferfamilyas2:()=>Promise.resolve().then(()=>xz),awsdiscoverymigrationevaluator:()=>Promise.resolve().then(()=>wz),awscloudinterface:()=>Promise.resolve().then(()=>Mz),awsmediaconnectgateway:()=>Promise.resolve().then(()=>Sz),awsrobomakercloudextensions:()=>Promise.resolve().then(()=>yz),awsrobomakersimulation:()=>Promise.resolve().then(()=>Az),awsrobomakerfleetmanagement:()=>Promise.resolve().then(()=>Rz),awsrobomakerdevenv:()=>Promise.resolve().then(()=>bz),awsamplifystudio:()=>Promise.resolve().then(()=>Tz),amazonlocationmap:()=>Promise.resolve().then(()=>kz),amazonlocationplace:()=>Promise.resolve().then(()=>Zz),amazonlocationtrack:()=>Promise.resolve().then(()=>Ez),amazonlocationgeofence:()=>Promise.resolve().then(()=>Iz),amazonlocationroutes:()=>Promise.resolve().then(()=>Oz),awscloud9:()=>Promise.resolve().then(()=>zz),amazonemailservice:()=>Promise.resolve().then(()=>Pz),amazonpinpointjourney:()=>Promise.resolve().then(()=>Dz),azureactivedirectory:()=>Promise.resolve().then(()=>Nz),azurebackup:()=>Promise.resolve().then(()=>Fz),azurecdn:()=>Promise.resolve().then(()=>Bz),azuredatafactory:()=>Promise.resolve().then(()=>jz),azuredevops:()=>Promise.resolve().then(()=>Wz),azurefunction:()=>Promise.resolve().then(()=>Uz),azuresql:()=>Promise.resolve().then(()=>Hz),cosmosdb:()=>Promise.resolve().then(()=>$z),logicapps:()=>Promise.resolve().then(()=>Gz),virtualmachine:()=>Promise.resolve().then(()=>Vz),bigtable:()=>Promise.resolve().then(()=>qz),bigquery:()=>Promise.resolve().then(()=>Yz),cloudcdn:()=>Promise.resolve().then(()=>Qz),clouddns:()=>Promise.resolve().then(()=>Xz),cloudinterconnect:()=>Promise.resolve().then(()=>Kz),cloudloadbalancing:()=>Promise.resolve().then(()=>Jz),cloudsql:()=>Promise.resolve().then(()=>eP),cloudstorage:()=>Promise.resolve().then(()=>tP),datalab:()=>Promise.resolve().then(()=>nP),dataproc:()=>Promise.resolve().then(()=>iP),googleiam:()=>Promise.resolve().then(()=>oP),googlesecurity:()=>Promise.resolve().then(()=>sP),googlevpc:()=>Promise.resolve().then(()=>rP),pubsub:()=>Promise.resolve().then(()=>lP),securityscanner:()=>Promise.resolve().then(()=>aP),stackdriver:()=>Promise.resolve().then(()=>LP),visionapi:()=>Promise.resolve().then(()=>cP),client:()=>Promise.resolve().then(()=>CP),server:()=>Promise.resolve().then(()=>uP),browser:()=>Promise.resolve().then(()=>dP),service:()=>Promise.resolve().then(()=>hP),controller:()=>Promise.resolve().then(()=>fP),api:()=>Promise.resolve().then(()=>gP),ui:()=>Promise.resolve().then(()=>pP),mobile:()=>Promise.resolve().then(()=>_P),externalsystem:()=>Promise.resolve().then(()=>mP),application:()=>Promise.resolve().then(()=>vP),loadbalancer:()=>Promise.resolve().then(()=>xP),network:()=>Promise.resolve().then(()=>wP),cache:()=>Promise.resolve().then(()=>MP),webserver:()=>Promise.resolve().then(()=>SP),messagequeue:()=>Promise.resolve().then(()=>yP),scheduler:()=>Promise.resolve().then(()=>AP),gateway:()=>Promise.resolve().then(()=>RP),authenticationservice:()=>Promise.resolve().then(()=>bP),mailserver:()=>Promise.resolve().then(()=>TP),github:()=>Promise.resolve().then(()=>kP),docker:()=>Promise.resolve().then(()=>ZP),gitlab:()=>Promise.resolve().then(()=>EP),jenkins:()=>Promise.resolve().then(()=>IP),postgresql:()=>Promise.resolve().then(()=>OP),mongodb:()=>Promise.resolve().then(()=>zP),kubernetes:()=>Promise.resolve().then(()=>PP),apachekafka:()=>Promise.resolve().then(()=>DP),elasticsearch:()=>Promise.resolve().then(()=>NP),auth0:()=>Promise.resolve().then(()=>FP),redis:()=>Promise.resolve().then(()=>BP)},fC=({iconKey:o,className:e,alt:t})=>{const[n,r]=M.useState(null);return M.useEffect(()=>{(async()=>{if(!o||!Se[o]){if(o&&Se[o.toLowerCase()]){const c=await Se[o.toLowerCase()]();r(c.default);return}return}try{const c=await Se[o]();r(c.default)}catch(c){console.error(`Failed to load icon: ${o}`,c)}})()},[o]),n?x.jsx("div",{className:e,"aria-description":t,dangerouslySetInnerHTML:{__html:n}}):x.jsx("div",{className:e})},ye=o=>x.jsx("ul",{role:"list",className:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",children:o.types.map(e=>x.jsxs("li",{className:"col-span-1 flex flex-col shadow-sm rounded-md",children:[x.jsx("div",{className:"h-12 flex items-center justify-center bg-gray-50 text-sm font-medium rounded-t-md",children:x.jsx(fC,{iconKey:e==null?void 0:e.toLowerCase(),className:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full"})}),x.jsx("div",{className:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md",children:x.jsx("div",{className:"px-2 py-2 text-xs",children:x.jsxs("span",{className:"text-gray-900 font-medium hover:text-gray-600",children:["@",e]})})})]},e))}),mw=["Actor","Boundary","Control","Database","Entity"],vw=["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"],xw=["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"],ww=["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"],Mw=`// Define a Starter (optional)
|
|
82
82
|
@Starter(A)
|
|
83
83
|
|
|
84
84
|
// Show icons
|
|
@@ -155,7 +155,7 @@ A.method() {
|
|
|
155
155
|
* This source code is licensed under the MIT license found in the
|
|
156
156
|
* LICENSE file in the root directory of this source tree.
|
|
157
157
|
*/var ou;function jM(){if(ou)return ns;ou=1;var o=T7();function e(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var t=typeof Object.is=="function"?Object.is:e,n=o.useSyncExternalStore,r=o.useRef,L=o.useEffect,c=o.useMemo,u=o.useDebugValue;return ns.useSyncExternalStoreWithSelector=function(d,f,g,p,m){var w=r(null);if(w.current===null){var A={hasValue:!1,value:null};w.current=A}else A=w.current;w=c(function(){function Z(F){if(!k){if(k=!0,D=F,F=p(F),m!==void 0&&A.hasValue){var t2=A.value;if(m(t2,F))return z=t2}return z=F}if(t2=z,t(D,F))return t2;var H=p(F);return m!==void 0&&m(t2,H)?(D=F,t2):(D=F,z=H)}var k=!1,D,z,O=g===void 0?null:g;return[function(){return Z(f())},O===null?void 0:function(){return Z(O())}]},[f,g,p,m]);var y=n(d,w[0],w[1]);return L(function(){A.hasValue=!0,A.value=y},[y]),u(y),y},ns}var su;function WM(){return su||(su=1,ts.exports=jM()),ts.exports}var UM=WM();function ru(o,e,t=eu){return UM.useSyncExternalStoreWithSelector(L1(n=>o.subscribe(HM,n)),L1(()=>o.state),L1(()=>o.state),L1(e),t)}function HM(o){return o}function d6(o,e){let t=M.useId(),n=iu.get(e),[r,L]=ru(n,M.useCallback(c=>[n.selectors.isTop(c,t),n.selectors.inStack(c,t)],[n,t]));return a3(()=>{if(o)return n.actions.push(t),()=>n.actions.pop(t)},[n,o,t]),o?L?r:!0:!1}let is=new Map,h6=new Map;function lu(o){var e;let t=(e=h6.get(o))!=null?e:0;return h6.set(o,t+1),t!==0?()=>au(o):(is.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0,()=>au(o))}function au(o){var e;let t=(e=h6.get(o))!=null?e:1;if(t===1?h6.delete(o):h6.set(o,t-1),t!==1)return;let n=is.get(o);n&&(n["aria-hidden"]===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",n["aria-hidden"]),o.inert=n.inert,is.delete(o))}function $M(o,{allowed:e,disallowed:t}={}){let n=d6(o,"inert-others");a3(()=>{var r,L;if(!n)return;let c=k9();for(let d of(r=t==null?void 0:t())!=null?r:[])d&&c.add(lu(d));let u=(L=e==null?void 0:e())!=null?L:[];for(let d of u){if(!d)continue;let f=L6(d);if(!f)continue;let g=d.parentElement;for(;g&&g!==f.body;){for(let p of g.children)u.some(m=>p.contains(m))||c.add(lu(p));g=g.parentElement}}return c.dispose},[n,e,t])}function GM(o,e,t){let n=Z9(r=>{let L=r.getBoundingClientRect();L.x===0&&L.y===0&&L.width===0&&L.height===0&&t()});M.useEffect(()=>{if(!o)return;let r=e===null?null:c9(e)?e:e.current;if(!r)return;let L=k9();if(typeof ResizeObserver<"u"){let c=new ResizeObserver(()=>n.current(r));c.observe(r),L.add(()=>c.disconnect())}if(typeof IntersectionObserver<"u"){let c=new IntersectionObserver(()=>n.current(r));c.observe(r),L.add(()=>c.disconnect())}return()=>L.dispose()},[e,n,o])}let ze=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(o=>`${o}:not([tabindex='-1'])`).join(","),VM=["[data-autofocus]"].map(o=>`${o}:not([tabindex='-1'])`).join(",");var u4=(o=>(o[o.First=1]="First",o[o.Previous=2]="Previous",o[o.Next=4]="Next",o[o.Last=8]="Last",o[o.WrapAround=16]="WrapAround",o[o.NoScroll=32]="NoScroll",o[o.AutoFocus=64]="AutoFocus",o))(u4||{}),f6=(o=>(o[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o))(f6||{}),qM=(o=>(o[o.Previous=-1]="Previous",o[o.Next=1]="Next",o))(qM||{});function YM(o=document.body){return o==null?[]:Array.from(o.querySelectorAll(ze)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function QM(o=document.body){return o==null?[]:Array.from(o.querySelectorAll(VM)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Lu=(o=>(o[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o))(Lu||{});function XM(o,e=0){var t;return o===((t=L6(o))==null?void 0:t.body)?!1:L9(e,{0(){return o.matches(ze)},1(){let n=o;for(;n!==null;){if(n.matches(ze))return!0;n=n.parentElement}return!1}})}var KM=(o=>(o[o.Keyboard=0]="Keyboard",o[o.Mouse=1]="Mouse",o))(KM||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",o=>{o.metaKey||o.altKey||o.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",o=>{o.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:o.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function I9(o){o==null||o.focus({preventScroll:!0})}let JM=["textarea","input"].join(",");function eS(o){var e,t;return(t=(e=o==null?void 0:o.matches)==null?void 0:e.call(o,JM))!=null?t:!1}function cu(o,e=t=>t){return o.slice().sort((t,n)=>{let r=e(t),L=e(n);if(r===null||L===null)return 0;let c=r.compareDocumentPosition(L);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function s5(o,e,{sorted:t=!0,relativeTo:n=null,skipElements:r=[]}={}){let L=Array.isArray(o)?o.length>0?o[0].ownerDocument:document:o.ownerDocument,c=Array.isArray(o)?t?cu(o):o:e&64?QM(o):YM(o);r.length>0&&c.length>1&&(c=c.filter(w=>!r.some(A=>A!=null&&"current"in A?(A==null?void 0:A.current)===w:A===w))),n=n??L.activeElement;let u=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,c.indexOf(n))-1;if(e&4)return Math.max(0,c.indexOf(n))+1;if(e&8)return c.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=e&32?{preventScroll:!0}:{},g=0,p=c.length,m;do{if(g>=p||g+p<=0)return 0;let w=d+g;if(e&16)w=(w+p)%p;else{if(w<0)return 3;if(w>=p)return 1}m=c[w],m==null||m.focus(f),g+=u}while(m!==L.activeElement);return e&6&&eS(m)&&m.select(),2}function Cu(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function tS(){return/Android/gi.test(window.navigator.userAgent)}function uu(){return Cu()||tS()}function Pe(o,e,t,n){let r=Z9(t);M.useEffect(()=>{if(!o)return;function L(c){r.current(c)}return document.addEventListener(e,L,n),()=>document.removeEventListener(e,L,n)},[o,e,n])}function du(o,e,t,n){let r=Z9(t);M.useEffect(()=>{if(!o)return;function L(c){r.current(c)}return window.addEventListener(e,L,n),()=>window.removeEventListener(e,L,n)},[o,e,n])}const hu=30;function nS(o,e,t){let n=Z9(t),r=M.useCallback(function(u,d){if(u.defaultPrevented)return;let f=d(u);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let g=(function p(m){return typeof m=="function"?p(m()):Array.isArray(m)||m instanceof Set?m:[m]})(e);for(let p of g)if(p!==null&&(p.contains(f)||u.composed&&u.composedPath().includes(p)))return;return!XM(f,Lu.Loose)&&f.tabIndex!==-1&&u.preventDefault(),n.current(u,f)},[n,e]),L=M.useRef(null);Pe(o,"pointerdown",u=>{var d,f;uu()||(L.current=((f=(d=u.composedPath)==null?void 0:d.call(u))==null?void 0:f[0])||u.target)},!0),Pe(o,"pointerup",u=>{if(uu()||!L.current)return;let d=L.current;return L.current=null,r(u,()=>d)},!0);let c=M.useRef({x:0,y:0});Pe(o,"touchstart",u=>{c.current.x=u.touches[0].clientX,c.current.y=u.touches[0].clientY},!0),Pe(o,"touchend",u=>{let d={x:u.changedTouches[0].clientX,y:u.changedTouches[0].clientY};if(!(Math.abs(d.x-c.current.x)>=hu||Math.abs(d.y-c.current.y)>=hu))return r(u,()=>u0(u.target)?u.target:null)},!0),du(o,"blur",u=>r(u,()=>gM(window.document.activeElement)?window.document.activeElement:null),!0)}function De(...o){return M.useMemo(()=>L6(...o),[...o])}function fu(o,e,t,n){let r=Z9(t);M.useEffect(()=>{o=o??window;function L(c){r.current(c)}return o.addEventListener(e,L,n),()=>o.removeEventListener(e,L,n)},[o,e,n])}function iS(o){return M.useSyncExternalStore(o.subscribe,o.getSnapshot,o.getSnapshot)}function oS(o,e){let t=o(),n=new Set;return{getSnapshot(){return t},subscribe(r){return n.add(r),()=>n.delete(r)},dispatch(r,...L){let c=e[r].call(t,...L);c&&(t=c,n.forEach(u=>u()))}}}function sS(){let o;return{before({doc:e}){var t;let n=e.documentElement,r=(t=e.defaultView)!=null?t:window;o=Math.max(0,r.innerWidth-n.clientWidth)},after({doc:e,d:t}){let n=e.documentElement,r=Math.max(0,n.clientWidth-n.offsetWidth),L=Math.max(0,o-r);t.style(n,"paddingRight",`${L}px`)}}}function rS(){return Cu()?{before({doc:o,d:e,meta:t}){function n(r){return t.containers.flatMap(L=>L()).some(L=>L.contains(r))}e.microTask(()=>{var r;if(window.getComputedStyle(o.documentElement).scrollBehavior!=="auto"){let u=k9();u.style(o.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>u.dispose()))}let L=(r=window.scrollY)!=null?r:window.pageYOffset,c=null;e.addEventListener(o,"click",u=>{if(u0(u.target))try{let d=u.target.closest("a");if(!d)return;let{hash:f}=new URL(d.href),g=o.querySelector(f);u0(g)&&!n(g)&&(c=g)}catch{}},!0),e.addEventListener(o,"touchstart",u=>{if(u0(u.target)&&fM(u.target))if(n(u.target)){let d=u.target;for(;d.parentElement&&n(d.parentElement);)d=d.parentElement;e.style(d,"overscrollBehavior","contain")}else e.style(u.target,"touchAction","none")}),e.addEventListener(o,"touchmove",u=>{if(u0(u.target)){if(jC(u.target))return;if(n(u.target)){let d=u.target;for(;d.parentElement&&d.dataset.headlessuiPortal!==""&&!(d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth);)d=d.parentElement;d.dataset.headlessuiPortal===""&&u.preventDefault()}else u.preventDefault()}},{passive:!1}),e.add(()=>{var u;let d=(u=window.scrollY)!=null?u:window.pageYOffset;L!==d&&window.scrollTo(0,L),c&&c.isConnected&&(c.scrollIntoView({block:"nearest"}),c=null)})})}}:{}}function lS(){return{before({doc:o,d:e}){e.style(o.documentElement,"overflow","hidden")}}}function aS(o){let e={};for(let t of o)Object.assign(e,t(e));return e}let r5=oS(()=>new Map,{PUSH(o,e){var t;let n=(t=this.get(o))!=null?t:{doc:o,count:0,d:k9(),meta:new Set};return n.count++,n.meta.add(e),this.set(o,n),this},POP(o,e){let t=this.get(o);return t&&(t.count--,t.meta.delete(e)),this},SCROLL_PREVENT({doc:o,d:e,meta:t}){let n={doc:o,d:e,meta:aS(t)},r=[rS(),sS(),lS()];r.forEach(({before:L})=>L==null?void 0:L(n)),r.forEach(({after:L})=>L==null?void 0:L(n))},SCROLL_ALLOW({d:o}){o.dispose()},TEARDOWN({doc:o}){this.delete(o)}});r5.subscribe(()=>{let o=r5.getSnapshot(),e=new Map;for(let[t]of o)e.set(t,t.documentElement.style.overflow);for(let t of o.values()){let n=e.get(t.doc)==="hidden",r=t.count!==0;(r&&!n||!r&&n)&&r5.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&r5.dispatch("TEARDOWN",t)}});function LS(o,e,t=()=>({containers:[]})){let n=iS(r5),r=e?n.get(e):void 0,L=r?r.count>0:!1;return a3(()=>{if(!(!e||!o))return r5.dispatch("PUSH",e,t),()=>r5.dispatch("POP",e,t)},[o,e]),L}function cS(o,e,t=()=>[document.body]){let n=d6(o,"scroll-lock");LS(n,e,r=>{var L;return{containers:[...(L=r.containers)!=null?L:[],t]}})}function CS(o=0){let[e,t]=M.useState(o),n=M.useCallback(d=>t(d),[e]),r=M.useCallback(d=>t(f=>f|d),[e]),L=M.useCallback(d=>(e&d)===d,[e]),c=M.useCallback(d=>t(f=>f&~d),[t]),u=M.useCallback(d=>t(f=>f^d),[t]);return{flags:e,setFlag:n,addFlag:r,hasFlag:L,removeFlag:c,toggleFlag:u}}var gu,pu;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((gu=process==null?void 0:process.env)==null?void 0:gu.NODE_ENV)==="test"&&typeof((pu=Element==null?void 0:Element.prototype)==null?void 0:pu.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
158
|
-
`)),[]});var uS=(o=>(o[o.None=0]="None",o[o.Closed=1]="Closed",o[o.Enter=2]="Enter",o[o.Leave=4]="Leave",o))(uS||{});function dS(o){let e={};for(let t in o)o[t]===!0&&(e[`data-${t}`]="");return e}function hS(o,e,t,n){let[r,L]=M.useState(t),{hasFlag:c,addFlag:u,removeFlag:d}=CS(o&&r?3:0),f=M.useRef(!1),g=M.useRef(!1),p=Te();return a3(()=>{var m;if(o){if(t&&L(!0),!e){t&&u(3);return}return(m=n==null?void 0:n.start)==null||m.call(n,t),fS(e,{inFlight:f,prepare(){g.current?g.current=!1:g.current=f.current,f.current=!0,!g.current&&(t?(u(3),d(4)):(u(4),d(2)))},run(){g.current?t?(d(3),u(4)):(d(4),u(3)):t?d(1):u(1)},done(){var w;g.current&&typeof e.getAnimations=="function"&&e.getAnimations().length>0||(f.current=!1,d(7),t||L(!1),(w=n==null?void 0:n.end)==null||w.call(n,t))}})}},[o,t,e,p]),o?[r,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[t,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function fS(o,{prepare:e,run:t,done:n,inFlight:r}){let L=k9();return pS(o,{prepare:e,inFlight:r}),L.nextFrame(()=>{t(),L.requestAnimationFrame(()=>{L.add(gS(o,n))})}),L.dispose}function gS(o,e){var t,n;let r=k9();if(!o)return r.dispose;let L=!1;r.add(()=>{L=!0});let c=(n=(t=o.getAnimations)==null?void 0:t.call(o).filter(u=>u instanceof CSSTransition))!=null?n:[];return c.length===0?(e(),r.dispose):(Promise.allSettled(c.map(u=>u.finished)).then(()=>{L||e()}),r.dispose)}function pS(o,{inFlight:e,prepare:t}){if(e!=null&&e.current){t();return}let n=o.style.transition;o.style.transition="none",t(),o.offsetHeight,o.style.transition=n}function os(o,e){let t=M.useRef([]),n=L1(o);M.useEffect(()=>{let r=[...t.current];for(let[L,c]of e.entries())if(t.current[L]!==c){let u=n(e,r);return t.current=e,u}},[n,...e])}function Ne(){return typeof window<"u"}function Y5(o){return _u(o)?(o.nodeName||"").toLowerCase():"#document"}function d4(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function O9(o){var e;return(e=(_u(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function _u(o){return Ne()?o instanceof Node||o instanceof d4(o).Node:!1}function $3(o){return Ne()?o instanceof Element||o instanceof d4(o).Element:!1}function u9(o){return Ne()?o instanceof HTMLElement||o instanceof d4(o).HTMLElement:!1}function mu(o){return!Ne()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof d4(o).ShadowRoot}const _S=new Set(["inline","contents"]);function g6(o){const{overflow:e,overflowX:t,overflowY:n,display:r}=Q4(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!_S.has(r)}const mS=new Set(["table","td","th"]);function vS(o){return mS.has(Y5(o))}const xS=[":popover-open",":modal"];function Fe(o){return xS.some(e=>{try{return o.matches(e)}catch{return!1}})}const wS=["transform","translate","scale","rotate","perspective"],MS=["transform","translate","scale","rotate","perspective","filter"],SS=["paint","layout","strict","content"];function ss(o){const e=rs(),t=$3(o)?Q4(o):o;return wS.some(n=>t[n]?t[n]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||MS.some(n=>(t.willChange||"").includes(n))||SS.some(n=>(t.contain||"").includes(n))}function yS(o){let e=h0(o);for(;u9(e)&&!Q5(e);){if(ss(e))return e;if(Fe(e))return null;e=h0(e)}return null}function rs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const AS=new Set(["html","body","#document"]);function Q5(o){return AS.has(Y5(o))}function Q4(o){return d4(o).getComputedStyle(o)}function Be(o){return $3(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function h0(o){if(Y5(o)==="html")return o;const e=o.assignedSlot||o.parentNode||mu(o)&&o.host||O9(o);return mu(e)?e.host:e}function vu(o){const e=h0(o);return Q5(e)?o.ownerDocument?o.ownerDocument.body:o.body:u9(e)&&g6(e)?e:vu(e)}function xu(o,e,t){var n;e===void 0&&(e=[]);const r=vu(o),L=r===((n=o.ownerDocument)==null?void 0:n.body),c=d4(r);return L?(ls(c),e.concat(c,c.visualViewport||[],g6(r)?r:[],[])):e.concat(r,xu(r,[]))}function ls(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}const wu=Math.min,p6=Math.max,je=Math.round,d9=o=>({x:o,y:o});function Mu(o){return o.split("-")[0]}function RS(o){return o.split("-")[1]}function bS(o){return o==="x"?"y":"x"}function TS(o){return o==="y"?"height":"width"}const kS=new Set(["top","bottom"]);function Su(o){return kS.has(Mu(o))?"y":"x"}function ZS(o){return bS(Su(o))}function yu(o){const{x:e,y:t,width:n,height:r}=o;return{width:n,height:r,top:t,left:e,right:e+n,bottom:t+r,x:e,y:t}}function Au(o,e,t){let{reference:n,floating:r}=o;const L=Su(e),c=ZS(e),u=TS(c),d=Mu(e),f=L==="y",g=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2,m=n[u]/2-r[u]/2;let w;switch(d){case"top":w={x:g,y:n.y-r.height};break;case"bottom":w={x:g,y:n.y+n.height};break;case"right":w={x:n.x+n.width,y:p};break;case"left":w={x:n.x-r.width,y:p};break;default:w={x:n.x,y:n.y}}switch(RS(e)){case"start":w[c]-=m*(t&&f?-1:1);break;case"end":w[c]+=m*(t&&f?-1:1);break}return w}const ES=async(o,e,t)=>{const{placement:n="bottom",strategy:r="absolute",middleware:L=[],platform:c}=t,u=L.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let f=await c.getElementRects({reference:o,floating:e,strategy:r}),{x:g,y:p}=Au(f,n,d),m=n,w={},A=0;for(let y=0;y<u.length;y++){const{name:Z,fn:k}=u[y],{x:D,y:z,data:O,reset:F}=await k({x:g,y:p,initialPlacement:n,placement:m,strategy:r,middlewareData:w,rects:f,platform:c,elements:{reference:o,floating:e}});g=D??g,p=z??p,w={...w,[Z]:{...w[Z],...O}},F&&A<=50&&(A++,typeof F=="object"&&(F.placement&&(m=F.placement),F.rects&&(f=F.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:r}):F.rects),{x:g,y:p}=Au(f,m,d)),y=-1)}return{x:g,y:p,placement:m,strategy:r,middlewareData:w}};function Ru(o){const e=Q4(o);let t=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const r=u9(o),L=r?o.offsetWidth:t,c=r?o.offsetHeight:n,u=je(t)!==L||je(n)!==c;return u&&(t=L,n=c),{width:t,height:n,$:u}}function bu(o){return $3(o)?o:o.contextElement}function X5(o){const e=bu(o);if(!u9(e))return d9(1);const t=e.getBoundingClientRect(),{width:n,height:r,$:L}=Ru(e);let c=(L?je(t.width):t.width)/n,u=(L?je(t.height):t.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!u||!Number.isFinite(u))&&(u=1),{x:c,y:u}}const IS=d9(0);function Tu(o){const e=d4(o);return!rs()||!e.visualViewport?IS:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function OS(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==d4(o)?!1:e}function _6(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);const r=o.getBoundingClientRect(),L=bu(o);let c=d9(1);e&&(n?$3(n)&&(c=X5(n)):c=X5(o));const u=OS(L,t,n)?Tu(L):d9(0);let d=(r.left+u.x)/c.x,f=(r.top+u.y)/c.y,g=r.width/c.x,p=r.height/c.y;if(L){const m=d4(L),w=n&&$3(n)?d4(n):n;let A=m,y=ls(A);for(;y&&n&&w!==A;){const Z=X5(y),k=y.getBoundingClientRect(),D=Q4(y),z=k.left+(y.clientLeft+parseFloat(D.paddingLeft))*Z.x,O=k.top+(y.clientTop+parseFloat(D.paddingTop))*Z.y;d*=Z.x,f*=Z.y,g*=Z.x,p*=Z.y,d+=z,f+=O,A=d4(y),y=ls(A)}}return yu({width:g,height:p,x:d,y:f})}function We(o,e){const t=Be(o).scrollLeft;return e?e.left+t:_6(O9(o)).left+t}function ku(o,e){const t=o.getBoundingClientRect(),n=t.left+e.scrollLeft-We(o,t),r=t.top+e.scrollTop;return{x:n,y:r}}function zS(o){let{elements:e,rect:t,offsetParent:n,strategy:r}=o;const L=r==="fixed",c=O9(n),u=e?Fe(e.floating):!1;if(n===c||u&&L)return t;let d={scrollLeft:0,scrollTop:0},f=d9(1);const g=d9(0),p=u9(n);if((p||!p&&!L)&&((Y5(n)!=="body"||g6(c))&&(d=Be(n)),u9(n))){const w=_6(n);f=X5(n),g.x=w.x+n.clientLeft,g.y=w.y+n.clientTop}const m=c&&!p&&!L?ku(c,d):d9(0);return{width:t.width*f.x,height:t.height*f.y,x:t.x*f.x-d.scrollLeft*f.x+g.x+m.x,y:t.y*f.y-d.scrollTop*f.y+g.y+m.y}}function PS(o){return Array.from(o.getClientRects())}function DS(o){const e=O9(o),t=Be(o),n=o.ownerDocument.body,r=p6(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),L=p6(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-t.scrollLeft+We(o);const u=-t.scrollTop;return Q4(n).direction==="rtl"&&(c+=p6(e.clientWidth,n.clientWidth)-r),{width:r,height:L,x:c,y:u}}const Zu=25;function NS(o,e){const t=d4(o),n=O9(o),r=t.visualViewport;let L=n.clientWidth,c=n.clientHeight,u=0,d=0;if(r){L=r.width,c=r.height;const g=rs();(!g||g&&e==="fixed")&&(u=r.offsetLeft,d=r.offsetTop)}const f=We(n);if(f<=0){const g=n.ownerDocument,p=g.body,m=getComputedStyle(p),w=g.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,A=Math.abs(n.clientWidth-p.clientWidth-w);A<=Zu&&(L-=A)}else f<=Zu&&(L+=f);return{width:L,height:c,x:u,y:d}}const FS=new Set(["absolute","fixed"]);function BS(o,e){const t=_6(o,!0,e==="fixed"),n=t.top+o.clientTop,r=t.left+o.clientLeft,L=u9(o)?X5(o):d9(1),c=o.clientWidth*L.x,u=o.clientHeight*L.y,d=r*L.x,f=n*L.y;return{width:c,height:u,x:d,y:f}}function Eu(o,e,t){let n;if(e==="viewport")n=NS(o,t);else if(e==="document")n=DS(O9(o));else if($3(e))n=BS(e,t);else{const r=Tu(o);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return yu(n)}function Iu(o,e){const t=h0(o);return t===e||!$3(t)||Q5(t)?!1:Q4(t).position==="fixed"||Iu(t,e)}function jS(o,e){const t=e.get(o);if(t)return t;let n=xu(o,[]).filter(u=>$3(u)&&Y5(u)!=="body"),r=null;const L=Q4(o).position==="fixed";let c=L?h0(o):o;for(;$3(c)&&!Q5(c);){const u=Q4(c),d=ss(c);!d&&u.position==="fixed"&&(r=null),(L?!d&&!r:!d&&u.position==="static"&&!!r&&FS.has(r.position)||g6(c)&&!d&&Iu(o,c))?n=n.filter(g=>g!==c):r=u,c=h0(c)}return e.set(o,n),n}function WS(o){let{element:e,boundary:t,rootBoundary:n,strategy:r}=o;const c=[...t==="clippingAncestors"?Fe(e)?[]:jS(e,this._c):[].concat(t),n],u=c[0],d=c.reduce((f,g)=>{const p=Eu(e,g,r);return f.top=p6(p.top,f.top),f.right=wu(p.right,f.right),f.bottom=wu(p.bottom,f.bottom),f.left=p6(p.left,f.left),f},Eu(e,u,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function US(o){const{width:e,height:t}=Ru(o);return{width:e,height:t}}function HS(o,e,t){const n=u9(e),r=O9(e),L=t==="fixed",c=_6(o,!0,L,e);let u={scrollLeft:0,scrollTop:0};const d=d9(0);function f(){d.x=We(r)}if(n||!n&&!L)if((Y5(e)!=="body"||g6(r))&&(u=Be(e)),n){const w=_6(e,!0,L,e);d.x=w.x+e.clientLeft,d.y=w.y+e.clientTop}else r&&f();L&&!n&&r&&f();const g=r&&!n&&!L?ku(r,u):d9(0),p=c.left+u.scrollLeft-d.x-g.x,m=c.top+u.scrollTop-d.y-g.y;return{x:p,y:m,width:c.width,height:c.height}}function as(o){return Q4(o).position==="static"}function Ou(o,e){if(!u9(o)||Q4(o).position==="fixed")return null;if(e)return e(o);let t=o.offsetParent;return O9(o)===t&&(t=t.ownerDocument.body),t}function zu(o,e){const t=d4(o);if(Fe(o))return t;if(!u9(o)){let r=h0(o);for(;r&&!Q5(r);){if($3(r)&&!as(r))return r;r=h0(r)}return t}let n=Ou(o,e);for(;n&&vS(n)&&as(n);)n=Ou(n,e);return n&&Q5(n)&&as(n)&&!ss(n)?t:n||yS(o)||t}const $S=async function(o){const e=this.getOffsetParent||zu,t=this.getDimensions,n=await t(o.floating);return{reference:HS(o.reference,await e(o.floating),o.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function GS(o){return Q4(o).direction==="rtl"}const VS={convertOffsetParentRelativeRectToViewportRelativeRect:zS,getDocumentElement:O9,getClippingRect:WS,getOffsetParent:zu,getElementRects:$S,getClientRects:PS,getDimensions:US,getScale:X5,isElement:$3,isRTL:GS},qS=(o,e,t)=>{const n=new Map,r={platform:VS,...t},L={...r.platform,_c:n};return ES(o,e,{...r,platform:L})};var YS=typeof document<"u",QS=function(){},Ue=YS?M.useLayoutEffect:QS;function He(o,e){if(o===e)return!0;if(typeof o!=typeof e)return!1;if(typeof o=="function"&&o.toString()===e.toString())return!0;let t,n,r;if(o&&e&&typeof o=="object"){if(Array.isArray(o)){if(t=o.length,t!==e.length)return!1;for(n=t;n--!==0;)if(!He(o[n],e[n]))return!1;return!0}if(r=Object.keys(o),t=r.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!{}.hasOwnProperty.call(e,r[n]))return!1;for(n=t;n--!==0;){const L=r[n];if(!(L==="_owner"&&o.$$typeof)&&!He(o[L],e[L]))return!1}return!0}return o!==o&&e!==e}function Pu(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function Du(o,e){const t=Pu(o);return Math.round(e*t)/t}function Ls(o){const e=M.useRef(o);return Ue(()=>{e.current=o}),e}function XS(o){o===void 0&&(o={});const{placement:e="bottom",strategy:t="absolute",middleware:n=[],platform:r,elements:{reference:L,floating:c}={},transform:u=!0,whileElementsMounted:d,open:f}=o,[g,p]=M.useState({x:0,y:0,strategy:t,placement:e,middlewareData:{},isPositioned:!1}),[m,w]=M.useState(n);He(m,n)||w(n);const[A,y]=M.useState(null),[Z,k]=M.useState(null),D=M.useCallback(B=>{B!==t2.current&&(t2.current=B,y(B))},[]),z=M.useCallback(B=>{B!==H.current&&(H.current=B,k(B))},[]),O=L||A,F=c||Z,t2=M.useRef(null),H=M.useRef(null),Q=M.useRef(g),n2=d!=null,L2=Ls(d),r2=Ls(r),C2=Ls(f),x2=M.useCallback(()=>{if(!t2.current||!H.current)return;const B={placement:e,strategy:t,middleware:m};r2.current&&(B.platform=r2.current),qS(t2.current,H.current,B).then(g2=>{const R={...g2,isPositioned:C2.current!==!1};D2.current&&!He(Q.current,R)&&(Q.current=R,Wo.flushSync(()=>{p(R)}))})},[m,e,t,r2,C2]);Ue(()=>{f===!1&&Q.current.isPositioned&&(Q.current.isPositioned=!1,p(B=>({...B,isPositioned:!1})))},[f]);const D2=M.useRef(!1);Ue(()=>(D2.current=!0,()=>{D2.current=!1}),[]),Ue(()=>{if(O&&(t2.current=O),F&&(H.current=F),O&&F){if(L2.current)return L2.current(O,F,x2);x2()}},[O,F,x2,L2,n2]);const $=M.useMemo(()=>({reference:t2,floating:H,setReference:D,setFloating:z}),[D,z]),T=M.useMemo(()=>({reference:O,floating:F}),[O,F]),U=M.useMemo(()=>{const B={position:t,left:0,top:0};if(!T.floating)return B;const g2=Du(T.floating,g.x),R=Du(T.floating,g.y);return u?{...B,transform:"translate("+g2+"px, "+R+"px)",...Pu(T.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:g2,top:R}},[t,u,T.floating,g.x,g.y]);return M.useMemo(()=>({...g,update:x2,refs:$,elements:T,floatingStyles:U}),[g,x2,$,T,U])}let $e=M.createContext(null);$e.displayName="OpenClosedContext";var X4=(o=>(o[o.Open=1]="Open",o[o.Closed=2]="Closed",o[o.Closing=4]="Closing",o[o.Opening=8]="Opening",o))(X4||{});function Ge(){return M.useContext($e)}function KS({value:o,children:e}){return R2.createElement($e.Provider,{value:o},e)}function JS({children:o}){return R2.createElement($e.Provider,{value:null},o)}function ey(o){function e(){document.readyState!=="loading"&&(o(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let f0=[];ey(()=>{function o(e){if(!u0(e.target)||e.target===document.body||f0[0]===e.target)return;let t=e.target;t=t.closest(ze),f0.unshift(t??e.target),f0=f0.filter(n=>n!=null&&n.isConnected),f0.splice(10)}window.addEventListener("click",o,{capture:!0}),window.addEventListener("mousedown",o,{capture:!0}),window.addEventListener("focus",o,{capture:!0}),document.body.addEventListener("click",o,{capture:!0}),document.body.addEventListener("mousedown",o,{capture:!0}),document.body.addEventListener("focus",o,{capture:!0})});function Nu(o){let e=L1(o),t=M.useRef(!1);M.useEffect(()=>(t.current=!1,()=>{t.current=!0,be(()=>{t.current&&e()})}),[e])}function ty(){let o=typeof document>"u";return"useSyncExternalStore"in k7?(e=>e.useSyncExternalStore)(k7)(()=>()=>{},()=>!1,()=>!o):!1}function m6(){let o=ty(),[e,t]=M.useState(a9.isHandoffComplete);return e&&a9.isHandoffComplete===!1&&t(!1),M.useEffect(()=>{e!==!0&&t(!0)},[e]),M.useEffect(()=>a9.handoff(),[]),o?!1:e}let Fu=M.createContext(!1);function ny(){return M.useContext(Fu)}function Bu(o){return R2.createElement(Fu.Provider,{value:o.force},o.children)}function iy(o){let e=ny(),t=M.useContext(Wu),[n,r]=M.useState(()=>{var L;if(!e&&t!==null)return(L=t.current)!=null?L:null;if(a9.isServer)return null;let c=o==null?void 0:o.getElementById("headlessui-portal-root");if(c)return c;if(o===null)return null;let u=o.createElement("div");return u.setAttribute("id","headlessui-portal-root"),o.body.appendChild(u)});return M.useEffect(()=>{n!==null&&(o!=null&&o.body.contains(n)||o==null||o.body.appendChild(n))},[n,o]),M.useEffect(()=>{e||t!==null&&r(t.current)},[t,r,e]),n}let ju=M.Fragment,oy=f3(function(o,e){let{ownerDocument:t=null,...n}=o,r=M.useRef(null),L=n4(vM(w=>{r.current=w}),e),c=De(r),u=t??c,d=iy(u),[f]=M.useState(()=>{var w;return a9.isServer?null:(w=u==null?void 0:u.createElement("div"))!=null?w:null}),g=M.useContext(cs),p=m6();a3(()=>{!d||!f||d.contains(f)||(f.setAttribute("data-headlessui-portal",""),d.appendChild(f))},[d,f]),a3(()=>{if(f&&g)return g.register(f)},[g,f]),Nu(()=>{var w;!d||!f||(BC(f)&&d.contains(f)&&d.removeChild(f),d.childNodes.length<=0&&((w=d.parentElement)==null||w.removeChild(d)))});let m=E3();return p?!d||!f?null:Wo.createPortal(m({ourProps:{ref:L},theirProps:n,slot:{},defaultTag:ju,name:"Portal"}),f):null});function sy(o,e){let t=n4(e),{enabled:n=!0,ownerDocument:r,...L}=o,c=E3();return n?R2.createElement(oy,{...L,ownerDocument:r,ref:t}):c({ourProps:{ref:t},theirProps:L,slot:{},defaultTag:ju,name:"Portal"})}let ry=M.Fragment,Wu=M.createContext(null);function ly(o,e){let{target:t,...n}=o,r={ref:n4(e)},L=E3();return R2.createElement(Wu.Provider,{value:t},L({ourProps:r,theirProps:n,defaultTag:ry,name:"Popover.Group"}))}let cs=M.createContext(null);function ay(){let o=M.useContext(cs),e=M.useRef([]),t=L1(L=>(e.current.push(L),o&&o.register(L),()=>n(L))),n=L1(L=>{let c=e.current.indexOf(L);c!==-1&&e.current.splice(c,1),o&&o.unregister(L)}),r=M.useMemo(()=>({register:t,unregister:n,portals:e}),[t,n,e]);return[e,M.useMemo(()=>function({children:L}){return R2.createElement(cs.Provider,{value:r},L)},[r])]}let Ly=f3(sy),Uu=f3(ly),cy=Object.assign(Ly,{Group:Uu});function Cy(o,e=typeof document<"u"?document.defaultView:null,t){let n=d6(o,"escape");fu(e,"keydown",r=>{n&&(r.defaultPrevented||r.key===d0.Escape&&t(r))})}function uy(){var o;let[e]=M.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[t,n]=M.useState((o=e==null?void 0:e.matches)!=null?o:!1);return a3(()=>{if(!e)return;function r(L){n(L.matches)}return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[e]),t}function dy({defaultContainers:o=[],portals:e,mainTreeNode:t}={}){let n=De(t),r=L1(()=>{var L,c;let u=[];for(let d of o)d!==null&&(E9(d)?u.push(d):"current"in d&&E9(d.current)&&u.push(d.current));if(e!=null&&e.current)for(let d of e.current)u.push(d);for(let d of(L=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?L:[])d!==document.body&&d!==document.head&&E9(d)&&d.id!=="headlessui-portal-root"&&(t&&(d.contains(t)||d.contains((c=t==null?void 0:t.getRootNode())==null?void 0:c.host))||u.some(f=>d.contains(f))||u.push(d));return u});return{resolveContainers:r,contains:L1(L=>r().some(c=>c.contains(L)))}}let Hu=M.createContext(null);function $u({children:o,node:e}){let[t,n]=M.useState(null),r=Gu(e??t);return R2.createElement(Hu.Provider,{value:r},o,r===null&&R2.createElement(c6,{features:q5.Hidden,ref:L=>{var c,u;if(L){for(let d of(u=(c=L6(L))==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?u:[])if(d!==document.body&&d!==document.head&&E9(d)&&d!=null&&d.contains(L)){n(d);break}}}}))}function Gu(o=null){var e;return(e=M.useContext(Hu))!=null?e:o}function Cs(){let o=M.useRef(!1);return a3(()=>(o.current=!0,()=>{o.current=!1}),[]),o}var v6=(o=>(o[o.Forwards=0]="Forwards",o[o.Backwards=1]="Backwards",o))(v6||{});function hy(){let o=M.useRef(0);return du(!0,"keydown",e=>{e.key==="Tab"&&(o.current=e.shiftKey?1:0)},!0),o}function Vu(o){if(!o)return new Set;if(typeof o=="function")return new Set(o());let e=new Set;for(let t of o.current)E9(t.current)&&e.add(t.current);return e}let fy="div";var l5=(o=>(o[o.None=0]="None",o[o.InitialFocus=1]="InitialFocus",o[o.TabLock=2]="TabLock",o[o.FocusLock=4]="FocusLock",o[o.RestoreFocus=8]="RestoreFocus",o[o.AutoFocus=16]="AutoFocus",o))(l5||{});function gy(o,e){let t=M.useRef(null),n=n4(t,e),{initialFocus:r,initialFocusFallback:L,containers:c,features:u=15,...d}=o;m6()||(u=0);let f=De(t);vy(u,{ownerDocument:f});let g=xy(u,{ownerDocument:f,container:t,initialFocus:r,initialFocusFallback:L});wy(u,{ownerDocument:f,container:t,containers:c,previousActiveElement:g});let p=hy(),m=L1(D=>{if(!c9(t.current))return;let z=t.current;(O=>O())(()=>{L9(p.current,{[v6.Forwards]:()=>{s5(z,u4.First,{skipElements:[D.relatedTarget,L]})},[v6.Backwards]:()=>{s5(z,u4.Last,{skipElements:[D.relatedTarget,L]})}})})}),w=d6(!!(u&2),"focus-trap#tab-lock"),A=Te(),y=M.useRef(!1),Z={ref:n,onKeyDown(D){D.key=="Tab"&&(y.current=!0,A.requestAnimationFrame(()=>{y.current=!1}))},onBlur(D){if(!(u&4))return;let z=Vu(c);c9(t.current)&&z.add(t.current);let O=D.relatedTarget;u0(O)&&O.dataset.headlessuiFocusGuard!=="true"&&(qu(z,O)||(y.current?s5(t.current,L9(p.current,{[v6.Forwards]:()=>u4.Next,[v6.Backwards]:()=>u4.Previous})|u4.WrapAround,{relativeTo:D.target}):u0(D.target)&&I9(D.target)))}},k=E3();return R2.createElement(R2.Fragment,null,w&&R2.createElement(c6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:q5.Focusable}),k({ourProps:Z,theirProps:d,defaultTag:fy,name:"FocusTrap"}),w&&R2.createElement(c6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:q5.Focusable}))}let py=f3(gy),_y=Object.assign(py,{features:l5});function my(o=!0){let e=M.useRef(f0.slice());return os(([t],[n])=>{n===!0&&t===!1&&be(()=>{e.current.splice(0)}),n===!1&&t===!0&&(e.current=f0.slice())},[o,f0,e]),L1(()=>{var t;return(t=e.current.find(n=>n!=null&&n.isConnected))!=null?t:null})}function vy(o,{ownerDocument:e}){let t=!!(o&8),n=my(t);os(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&I9(n())},[t]),Nu(()=>{t&&I9(n())})}function xy(o,{ownerDocument:e,container:t,initialFocus:n,initialFocusFallback:r}){let L=M.useRef(null),c=d6(!!(o&1),"focus-trap#initial-focus"),u=Cs();return os(()=>{if(o===0)return;if(!c){r!=null&&r.current&&I9(r.current);return}let d=t.current;d&&be(()=>{if(!u.current)return;let f=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===f){L.current=f;return}}else if(d.contains(f)){L.current=f;return}if(n!=null&&n.current)I9(n.current);else{if(o&16){if(s5(d,u4.First|u4.AutoFocus)!==f6.Error)return}else if(s5(d,u4.First)!==f6.Error)return;if(r!=null&&r.current&&(I9(r.current),(e==null?void 0:e.activeElement)===r.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}L.current=e==null?void 0:e.activeElement})},[r,c,o]),L}function wy(o,{ownerDocument:e,container:t,containers:n,previousActiveElement:r}){let L=Cs(),c=!!(o&4);fu(e==null?void 0:e.defaultView,"focus",u=>{if(!c||!L.current)return;let d=Vu(n);c9(t.current)&&d.add(t.current);let f=r.current;if(!f)return;let g=u.target;c9(g)?qu(d,g)?(r.current=g,I9(g)):(u.preventDefault(),u.stopPropagation(),I9(f)):I9(r.current)},!0)}function qu(o,e){for(let t of o)if(t.contains(e))return!0;return!1}function Yu(o){var e;return!!(o.enter||o.enterFrom||o.enterTo||o.leave||o.leaveFrom||o.leaveTo)||((e=o.as)!=null?e:Xu)!==M.Fragment||R2.Children.count(o.children)===1}let Ve=M.createContext(null);Ve.displayName="TransitionContext";var My=(o=>(o.Visible="visible",o.Hidden="hidden",o))(My||{});function Sy(){let o=M.useContext(Ve);if(o===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return o}function yy(){let o=M.useContext(qe);if(o===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return o}let qe=M.createContext(null);qe.displayName="NestingContext";function Ye(o){return"children"in o?Ye(o.children):o.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e==="visible").length>0}function Qu(o,e){let t=Z9(o),n=M.useRef([]),r=Cs(),L=Te(),c=L1((w,A=c0.Hidden)=>{let y=n.current.findIndex(({el:Z})=>Z===w);y!==-1&&(L9(A,{[c0.Unmount](){n.current.splice(y,1)},[c0.Hidden](){n.current[y].state="hidden"}}),L.microTask(()=>{var Z;!Ye(n)&&r.current&&((Z=t.current)==null||Z.call(t))}))}),u=L1(w=>{let A=n.current.find(({el:y})=>y===w);return A?A.state!=="visible"&&(A.state="visible"):n.current.push({el:w,state:"visible"}),()=>c(w,c0.Unmount)}),d=M.useRef([]),f=M.useRef(Promise.resolve()),g=M.useRef({enter:[],leave:[]}),p=L1((w,A,y)=>{d.current.splice(0),e&&(e.chains.current[A]=e.chains.current[A].filter(([Z])=>Z!==w)),e==null||e.chains.current[A].push([w,new Promise(Z=>{d.current.push(Z)})]),e==null||e.chains.current[A].push([w,new Promise(Z=>{Promise.all(g.current[A].map(([k,D])=>D)).then(()=>Z())})]),A==="enter"?f.current=f.current.then(()=>e==null?void 0:e.wait.current).then(()=>y(A)):y(A)}),m=L1((w,A,y)=>{Promise.all(g.current[A].splice(0).map(([Z,k])=>k)).then(()=>{var Z;(Z=d.current.shift())==null||Z()}).then(()=>y(A))});return M.useMemo(()=>({children:n,register:u,unregister:c,onStart:p,onStop:m,wait:f,chains:g}),[u,c,n,p,m,g,f])}let Xu=M.Fragment,Ku=Ze.RenderStrategy;function Ay(o,e){var t,n;let{transition:r=!0,beforeEnter:L,afterEnter:c,beforeLeave:u,afterLeave:d,enter:f,enterFrom:g,enterTo:p,entered:m,leave:w,leaveFrom:A,leaveTo:y,...Z}=o,[k,D]=M.useState(null),z=M.useRef(null),O=Yu(o),F=n4(...O?[z,e,D]:e===null?[]:[e]),t2=(t=Z.unmount)==null||t?c0.Unmount:c0.Hidden,{show:H,appear:Q,initial:n2}=Sy(),[L2,r2]=M.useState(H?"visible":"hidden"),C2=yy(),{register:x2,unregister:D2}=C2;a3(()=>x2(z),[x2,z]),a3(()=>{if(t2===c0.Hidden&&z.current){if(H&&L2!=="visible"){r2("visible");return}return L9(L2,{hidden:()=>D2(z),visible:()=>x2(z)})}},[L2,z,x2,D2,H,t2]);let $=m6();a3(()=>{if(O&&$&&L2==="visible"&&z.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[z,L2,$,O]);let T=n2&&!Q,U=Q&&H&&n2,B=M.useRef(!1),g2=Qu(()=>{B.current||(r2("hidden"),D2(z))},C2),R=L1(N2=>{B.current=!0;let Y2=N2?"enter":"leave";g2.onStart(z,Y2,R1=>{R1==="enter"?L==null||L():R1==="leave"&&(u==null||u())})}),J=L1(N2=>{let Y2=N2?"enter":"leave";B.current=!1,g2.onStop(z,Y2,R1=>{R1==="enter"?c==null||c():R1==="leave"&&(d==null||d())}),Y2==="leave"&&!Ye(g2)&&(r2("hidden"),D2(z))});M.useEffect(()=>{O&&r||(R(H),J(H))},[H,O,r]);let i2=!(!r||!O||!$||T),[,V]=hS(i2,k,H,{start:R,end:J}),e2=C0({ref:F,className:((n=Yo(Z.className,U&&f,U&&g,V.enter&&f,V.enter&&V.closed&&g,V.enter&&!V.closed&&p,V.leave&&w,V.leave&&!V.closed&&A,V.leave&&V.closed&&y,!V.transition&&H&&m))==null?void 0:n.trim())||void 0,...dS(V)}),_2=0;L2==="visible"&&(_2|=X4.Open),L2==="hidden"&&(_2|=X4.Closed),H&&L2==="hidden"&&(_2|=X4.Opening),!H&&L2==="visible"&&(_2|=X4.Closing);let v2=E3();return R2.createElement(qe.Provider,{value:g2},R2.createElement(KS,{value:_2},v2({ourProps:e2,theirProps:Z,defaultTag:Xu,features:Ku,visible:L2==="visible",name:"Transition.Child"})))}function Ry(o,e){let{show:t,appear:n=!1,unmount:r=!0,...L}=o,c=M.useRef(null),u=Yu(o),d=n4(...u?[c,e]:e===null?[]:[e]);m6();let f=Ge();if(t===void 0&&f!==null&&(t=(f&X4.Open)===X4.Open),t===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[g,p]=M.useState(t?"visible":"hidden"),m=Qu(()=>{t||p("hidden")}),[w,A]=M.useState(!0),y=M.useRef([t]);a3(()=>{w!==!1&&y.current[y.current.length-1]!==t&&(y.current.push(t),A(!1))},[y,t]);let Z=M.useMemo(()=>({show:t,appear:n,initial:w}),[t,n,w]);a3(()=>{t?p("visible"):!Ye(m)&&c.current!==null&&p("hidden")},[t,m]);let k={unmount:r},D=L1(()=>{var F;w&&A(!1),(F=o.beforeEnter)==null||F.call(o)}),z=L1(()=>{var F;w&&A(!1),(F=o.beforeLeave)==null||F.call(o)}),O=E3();return R2.createElement(qe.Provider,{value:m},R2.createElement(Ve.Provider,{value:Z},O({ourProps:{...k,as:M.Fragment,children:R2.createElement(Ju,{ref:d,...k,...L,beforeEnter:D,beforeLeave:z})},theirProps:{},defaultTag:M.Fragment,features:Ku,visible:g==="visible",name:"Transition"})))}function by(o,e){let t=M.useContext(Ve)!==null,n=Ge()!==null;return R2.createElement(R2.Fragment,null,!t&&n?R2.createElement(us,{ref:e,...o}):R2.createElement(Ju,{ref:e,...o}))}let us=f3(Ry),Ju=f3(Ay),x6=f3(by),ed=Object.assign(us,{Child:x6,Root:us});var Ty=(o=>(o[o.Open=0]="Open",o[o.Closed=1]="Closed",o))(Ty||{}),ky=(o=>(o[o.SetTitleId=0]="SetTitleId",o))(ky||{});let Zy={0(o,e){return o.titleId===e.id?o:{...o,titleId:e.id}}},ds=M.createContext(null);ds.displayName="DialogContext";function Qe(o){let e=M.useContext(ds);if(e===null){let t=new Error(`<${o} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qe),t}return e}function Ey(o,e){return L9(e.type,Zy,o,e)}let td=f3(function(o,e){let t=M.useId(),{id:n=`headlessui-dialog-${t}`,open:r,onClose:L,initialFocus:c,role:u="dialog",autoFocus:d=!0,__demoMode:f=!1,unmount:g=!1,...p}=o,m=M.useRef(!1);u=(function(){return u==="dialog"||u==="alertdialog"?u:(m.current||(m.current=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")})();let w=Ge();r===void 0&&w!==null&&(r=(w&X4.Open)===X4.Open);let A=M.useRef(null),y=n4(A,e),Z=De(A),k=r?0:1,[D,z]=M.useReducer(Ey,{titleId:null,descriptionId:null,panelRef:M.createRef()}),O=L1(()=>L(!1)),F=L1(V=>z({type:0,id:V})),t2=m6()?k===0:!1,[H,Q]=ay(),n2={get current(){var V;return(V=D.panelRef.current)!=null?V:A.current}},L2=Gu(),{resolveContainers:r2}=dy({mainTreeNode:L2,portals:H,defaultContainers:[n2]}),C2=w!==null?(w&X4.Closing)===X4.Closing:!1;$M(f||C2?!1:t2,{allowed:L1(()=>{var V,e2;return[(e2=(V=A.current)==null?void 0:V.closest("[data-headlessui-portal]"))!=null?e2:null]}),disallowed:L1(()=>{var V;return[(V=L2==null?void 0:L2.closest("body > *:not(#headlessui-portal-root)"))!=null?V:null]})});let x2=iu.get(null);a3(()=>{if(t2)return x2.actions.push(n),()=>x2.actions.pop(n)},[x2,n,t2]);let D2=ru(x2,M.useCallback(V=>x2.selectors.isTop(V,n),[x2,n]));nS(D2,r2,V=>{V.preventDefault(),O()}),Cy(D2,Z==null?void 0:Z.defaultView,V=>{V.preventDefault(),V.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),O()}),cS(f||C2?!1:t2,Z,r2),GM(t2,A,O);let[$,T]=Xo(),U=M.useMemo(()=>[{dialogState:k,close:O,setTitleId:F,unmount:g},D],[k,D,O,F,g]),B=M.useMemo(()=>({open:k===0}),[k]),g2={ref:y,id:n,role:u,tabIndex:-1,"aria-modal":f?void 0:k===0?!0:void 0,"aria-labelledby":D.titleId,"aria-describedby":$,unmount:g},R=!uy(),J=l5.None;t2&&!f&&(J|=l5.RestoreFocus,J|=l5.TabLock,d&&(J|=l5.AutoFocus),R&&(J|=l5.InitialFocus));let i2=E3();return R2.createElement(JS,null,R2.createElement(Bu,{force:!0},R2.createElement(cy,null,R2.createElement(ds.Provider,{value:U},R2.createElement(Uu,{target:A},R2.createElement(Bu,{force:!1},R2.createElement(T,{slot:B},R2.createElement(Q,null,R2.createElement(_y,{initialFocus:c,initialFocusFallback:A,containers:r2,features:J},R2.createElement(TM,{value:O},i2({ourProps:g2,theirProps:p,slot:B,defaultTag:Iy,features:Oy,visible:k===0,name:"Dialog"})))))))))))}),Iy="div",Oy=Ze.RenderStrategy|Ze.Static;function zy(o,e){let{transition:t=!1,open:n,...r}=o,L=Ge(),c=o.hasOwnProperty("open")||L!==null,u=o.hasOwnProperty("onClose");if(!c&&!u)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!c)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!L&&typeof o.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${o.open}`);if(typeof o.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o.onClose}`);return(n!==void 0||t)&&!r.static?R2.createElement($u,null,R2.createElement(ed,{show:n,transition:t,unmount:r.unmount},R2.createElement(td,{ref:e,...r}))):R2.createElement($u,null,R2.createElement(td,{ref:e,open:n,...r}))}let Py="div";function Dy(o,e){let t=M.useId(),{id:n=`headlessui-dialog-panel-${t}`,transition:r=!1,...L}=o,[{dialogState:c,unmount:u},d]=Qe("Dialog.Panel"),f=n4(e,d.panelRef),g=M.useMemo(()=>({open:c===0}),[c]),p=L1(Z=>{Z.stopPropagation()}),m={ref:f,id:n,onClick:p},w=r?x6:M.Fragment,A=r?{unmount:u}:{},y=E3();return R2.createElement(w,{...A},y({ourProps:m,theirProps:L,slot:g,defaultTag:Py,name:"Dialog.Panel"}))}let Ny="div";function Fy(o,e){let{transition:t=!1,...n}=o,[{dialogState:r,unmount:L}]=Qe("Dialog.Backdrop"),c=M.useMemo(()=>({open:r===0}),[r]),u={ref:e,"aria-hidden":!0},d=t?x6:M.Fragment,f=t?{unmount:L}:{},g=E3();return R2.createElement(d,{...f},g({ourProps:u,theirProps:n,slot:c,defaultTag:Ny,name:"Dialog.Backdrop"}))}let By="h2";function jy(o,e){let t=M.useId(),{id:n=`headlessui-dialog-title-${t}`,...r}=o,[{dialogState:L,setTitleId:c}]=Qe("Dialog.Title"),u=n4(e);M.useEffect(()=>(c(n),()=>c(null)),[n,c]);let d=M.useMemo(()=>({open:L===0}),[L]),f={ref:u,id:n};return E3()({ourProps:f,theirProps:r,slot:d,defaultTag:By,name:"Dialog.Title"})}let Wy=f3(zy),nd=f3(Dy);f3(Fy);let id=f3(jy),Uy=Object.assign(Wy,{Panel:nd,Title:id,Description:VC});var Hy=(o=>(o[o.RegisterOption=0]="RegisterOption",o[o.UnregisterOption=1]="UnregisterOption",o))(Hy||{});let $y={0(o,e){let t=[...o.options,{id:e.id,element:e.element,propsRef:e.propsRef}];return{...o,options:cu(t,n=>n.element.current)}},1(o,e){let t=o.options.slice(),n=o.options.findIndex(r=>r.id===e.id);return n===-1?o:(t.splice(n,1),{...o,options:t})}},hs=M.createContext(null);hs.displayName="RadioGroupDataContext";function fs(o){let e=M.useContext(hs);if(e===null){let t=new Error(`<${o} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fs),t}return e}let gs=M.createContext(null);gs.displayName="RadioGroupActionsContext";function ps(o){let e=M.useContext(gs);if(e===null){let t=new Error(`<${o} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ps),t}return e}function Gy(o,e){return L9(e.type,$y,o,e)}let Vy="div";function qy(o,e){let t=M.useId(),n=ke(),{id:r=`headlessui-radiogroup-${t}`,value:L,form:c,name:u,onChange:d,by:f,disabled:g=n||!1,defaultValue:p,tabIndex:m=0,...w}=o,A=ZM(f),[y,Z]=M.useReducer(Gy,{options:[]}),k=y.options,[D,z]=QC(),[O,F]=Xo(),t2=M.useRef(null),H=n4(t2,e),Q=rM(p),[n2,L2]=sM(L,d,Q),r2=M.useMemo(()=>k.find(i2=>!i2.propsRef.current.disabled),[k]),C2=M.useMemo(()=>k.some(i2=>A(i2.propsRef.current.value,n2)),[k,n2]),x2=L1(i2=>{var V;if(g||A(i2,n2))return!1;let e2=(V=k.find(_2=>A(_2.propsRef.current.value,i2)))==null?void 0:V.propsRef.current;return e2!=null&&e2.disabled?!1:(L2==null||L2(i2),!0)}),D2=L1(i2=>{let V=t2.current;if(!V)return;let e2=L6(V),_2=k.filter(v2=>v2.propsRef.current.disabled===!1).map(v2=>v2.element.current);switch(i2.key){case d0.Enter:lM(i2.currentTarget);break;case d0.ArrowLeft:case d0.ArrowUp:if(i2.preventDefault(),i2.stopPropagation(),s5(_2,u4.Previous|u4.WrapAround)===f6.Success){let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break;case d0.ArrowRight:case d0.ArrowDown:if(i2.preventDefault(),i2.stopPropagation(),s5(_2,u4.Next|u4.WrapAround)===f6.Success){let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break;case d0.Space:{i2.preventDefault(),i2.stopPropagation();let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break}}),$=L1(i2=>(Z({type:0,...i2}),()=>Z({type:1,id:i2.id}))),T=M.useMemo(()=>({value:n2,firstOption:r2,containsCheckedOption:C2,disabled:g,compare:A,tabIndex:m,...y}),[n2,r2,C2,g,A,m,y]),U=M.useMemo(()=>({registerOption:$,change:x2}),[$,x2]),B={ref:H,id:r,role:"radiogroup","aria-labelledby":D,"aria-describedby":O,onKeyDown:D2},g2=M.useMemo(()=>({value:n2}),[n2]),R=M.useCallback(()=>{if(Q!==void 0)return x2(Q)},[x2,Q]),J=E3();return R2.createElement(F,{name:"RadioGroup.Description"},R2.createElement(z,{name:"RadioGroup.Label"},R2.createElement(gs.Provider,{value:U},R2.createElement(hs.Provider,{value:T},u!=null&&R2.createElement(uM,{disabled:g,data:{[u]:n2||"on"},overrides:{type:"radio",checked:n2!=null},form:c,onReset:R}),J({ourProps:B,theirProps:w,slot:g2,defaultTag:Vy,name:"RadioGroup"})))))}let Yy="div";function Qy(o,e){var t;let n=fs("RadioGroup.Option"),r=ps("RadioGroup.Option"),L=M.useId(),{id:c=`headlessui-radiogroup-option-${L}`,value:u,disabled:d=n.disabled||!1,autoFocus:f=!1,...g}=o,p=M.useRef(null),m=n4(p,e),[w,A]=QC(),[y,Z]=Xo(),k=Z9({value:u,disabled:d});a3(()=>r.registerOption({id:c,element:p,propsRef:k}),[c,r,p,k]);let D=L1(C2=>{var x2;if(HC(C2.currentTarget))return C2.preventDefault();r.change(u)&&((x2=p.current)==null||x2.focus())}),z=((t=n.firstOption)==null?void 0:t.id)===c,{isFocusVisible:O,focusProps:F}=IC({autoFocus:f}),{isHovered:t2,hoverProps:H}=EC({isDisabled:d}),Q=n.compare(n.value,u),n2=zC({ref:m,id:c,role:"radio","aria-checked":Q?"true":"false","aria-labelledby":w,"aria-describedby":y,"aria-disabled":d?!0:void 0,tabIndex:d?-1:Q||!n.containsCheckedOption&&z?n.tabIndex:-1,onClick:d?void 0:D,autoFocus:f},F,H),L2=M.useMemo(()=>({checked:Q,disabled:d,active:O,hover:t2,focus:O,autofocus:f}),[Q,d,t2,O,f]),r2=E3();return R2.createElement(Z,{name:"RadioGroup.Description"},R2.createElement(A,{name:"RadioGroup.Label"},r2({ourProps:n2,theirProps:g,slot:L2,defaultTag:Yy,name:"RadioGroup.Option"})))}let Xy="span";function Ky(o,e){var t;let n=fs("Radio"),r=ps("Radio"),L=M.useId(),c=FC(),u=ke(),{id:d=c||`headlessui-radio-${L}`,value:f,disabled:g=n.disabled||u||!1,autoFocus:p=!1,...m}=o,w=M.useRef(null),A=n4(w,e),y=YC(),Z=xM(),k=Z9({value:f,disabled:g});a3(()=>r.registerOption({id:d,element:w,propsRef:k}),[d,r,w,k]);let D=L1(r2=>{var C2;if(HC(r2.currentTarget))return r2.preventDefault();r.change(f)&&((C2=w.current)==null||C2.focus())}),{isFocusVisible:z,focusProps:O}=IC({autoFocus:p}),{isHovered:F,hoverProps:t2}=EC({isDisabled:g}),H=((t=n.firstOption)==null?void 0:t.id)===d,Q=n.compare(n.value,f),n2=zC({ref:A,id:d,role:"radio","aria-checked":Q?"true":"false","aria-labelledby":y,"aria-describedby":Z,"aria-disabled":g?!0:void 0,tabIndex:g?-1:Q||!n.containsCheckedOption&&H?n.tabIndex:-1,autoFocus:p,onClick:g?void 0:D},O,t2),L2=M.useMemo(()=>({checked:Q,disabled:g,hover:F,focus:z,autofocus:p}),[Q,g,F,z,p]);return E3()({ourProps:n2,theirProps:m,slot:L2,defaultTag:Xy,name:"Radio"})}let Jy=f3(qy),eA=f3(Qy),od=f3(Ky),tA=Ko,nA=VC,iA=Object.assign(Jy,{Option:eA,Radio:od,Label:tA,Description:nA});class oA{constructor(){c2(this,"events",{})}on(e,t){this.events[e]||(this.events[e]=new Set),console.debug(`Event ${e} ${t} added`),console.debug(this.events),this.events[e].add(t)}off(e,t){var n;console.debug(`Event ${e} ${t} removed`),console.debug(this.events),(n=this.events[e])==null||n.delete(t)}emit(e,t){const n=this.events[e];n&&n.forEach(r=>r(t))}}const w6=new oA;function sA(o,e,t,n){const r={label:JSON.stringify(e),action:t,category:n};o.get(Oc)("eventEmit",{event:"trackEvent",data:r}),w6.emit("trackEvent",r)}const sd=[{name:"Legacy",id:"theme-default",icon:`<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
158
|
+
`)),[]});var uS=(o=>(o[o.None=0]="None",o[o.Closed=1]="Closed",o[o.Enter=2]="Enter",o[o.Leave=4]="Leave",o))(uS||{});function dS(o){let e={};for(let t in o)o[t]===!0&&(e[`data-${t}`]="");return e}function hS(o,e,t,n){let[r,L]=M.useState(t),{hasFlag:c,addFlag:u,removeFlag:d}=CS(o&&r?3:0),f=M.useRef(!1),g=M.useRef(!1),p=Te();return a3(()=>{var m;if(o){if(t&&L(!0),!e){t&&u(3);return}return(m=n==null?void 0:n.start)==null||m.call(n,t),fS(e,{inFlight:f,prepare(){g.current?g.current=!1:g.current=f.current,f.current=!0,!g.current&&(t?(u(3),d(4)):(u(4),d(2)))},run(){g.current?t?(d(3),u(4)):(d(4),u(3)):t?d(1):u(1)},done(){var w;g.current&&typeof e.getAnimations=="function"&&e.getAnimations().length>0||(f.current=!1,d(7),t||L(!1),(w=n==null?void 0:n.end)==null||w.call(n,t))}})}},[o,t,e,p]),o?[r,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[t,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function fS(o,{prepare:e,run:t,done:n,inFlight:r}){let L=k9();return pS(o,{prepare:e,inFlight:r}),L.nextFrame(()=>{t(),L.requestAnimationFrame(()=>{L.add(gS(o,n))})}),L.dispose}function gS(o,e){var t,n;let r=k9();if(!o)return r.dispose;let L=!1;r.add(()=>{L=!0});let c=(n=(t=o.getAnimations)==null?void 0:t.call(o).filter(u=>u instanceof CSSTransition))!=null?n:[];return c.length===0?(e(),r.dispose):(Promise.allSettled(c.map(u=>u.finished)).then(()=>{L||e()}),r.dispose)}function pS(o,{inFlight:e,prepare:t}){if(e!=null&&e.current){t();return}let n=o.style.transition;o.style.transition="none",t(),o.offsetHeight,o.style.transition=n}function os(o,e){let t=M.useRef([]),n=L1(o);M.useEffect(()=>{let r=[...t.current];for(let[L,c]of e.entries())if(t.current[L]!==c){let u=n(e,r);return t.current=e,u}},[n,...e])}function Ne(){return typeof window<"u"}function Y5(o){return _u(o)?(o.nodeName||"").toLowerCase():"#document"}function d4(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function O9(o){var e;return(e=(_u(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function _u(o){return Ne()?o instanceof Node||o instanceof d4(o).Node:!1}function $3(o){return Ne()?o instanceof Element||o instanceof d4(o).Element:!1}function u9(o){return Ne()?o instanceof HTMLElement||o instanceof d4(o).HTMLElement:!1}function mu(o){return!Ne()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof d4(o).ShadowRoot}const _S=new Set(["inline","contents"]);function g6(o){const{overflow:e,overflowX:t,overflowY:n,display:r}=Q4(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!_S.has(r)}const mS=new Set(["table","td","th"]);function vS(o){return mS.has(Y5(o))}const xS=[":popover-open",":modal"];function Fe(o){return xS.some(e=>{try{return o.matches(e)}catch{return!1}})}const wS=["transform","translate","scale","rotate","perspective"],MS=["transform","translate","scale","rotate","perspective","filter"],SS=["paint","layout","strict","content"];function ss(o){const e=rs(),t=$3(o)?Q4(o):o;return wS.some(n=>t[n]?t[n]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||MS.some(n=>(t.willChange||"").includes(n))||SS.some(n=>(t.contain||"").includes(n))}function yS(o){let e=h0(o);for(;u9(e)&&!Q5(e);){if(ss(e))return e;if(Fe(e))return null;e=h0(e)}return null}function rs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const AS=new Set(["html","body","#document"]);function Q5(o){return AS.has(Y5(o))}function Q4(o){return d4(o).getComputedStyle(o)}function Be(o){return $3(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function h0(o){if(Y5(o)==="html")return o;const e=o.assignedSlot||o.parentNode||mu(o)&&o.host||O9(o);return mu(e)?e.host:e}function vu(o){const e=h0(o);return Q5(e)?o.ownerDocument?o.ownerDocument.body:o.body:u9(e)&&g6(e)?e:vu(e)}function xu(o,e,t){var n;e===void 0&&(e=[]);const r=vu(o),L=r===((n=o.ownerDocument)==null?void 0:n.body),c=d4(r);return L?(ls(c),e.concat(c,c.visualViewport||[],g6(r)?r:[],[])):e.concat(r,xu(r,[]))}function ls(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}const wu=Math.min,p6=Math.max,je=Math.round,d9=o=>({x:o,y:o});function Mu(o){return o.split("-")[0]}function RS(o){return o.split("-")[1]}function bS(o){return o==="x"?"y":"x"}function TS(o){return o==="y"?"height":"width"}const kS=new Set(["top","bottom"]);function Su(o){return kS.has(Mu(o))?"y":"x"}function ZS(o){return bS(Su(o))}function yu(o){const{x:e,y:t,width:n,height:r}=o;return{width:n,height:r,top:t,left:e,right:e+n,bottom:t+r,x:e,y:t}}function Au(o,e,t){let{reference:n,floating:r}=o;const L=Su(e),c=ZS(e),u=TS(c),d=Mu(e),f=L==="y",g=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2,m=n[u]/2-r[u]/2;let w;switch(d){case"top":w={x:g,y:n.y-r.height};break;case"bottom":w={x:g,y:n.y+n.height};break;case"right":w={x:n.x+n.width,y:p};break;case"left":w={x:n.x-r.width,y:p};break;default:w={x:n.x,y:n.y}}switch(RS(e)){case"start":w[c]-=m*(t&&f?-1:1);break;case"end":w[c]+=m*(t&&f?-1:1);break}return w}const ES=async(o,e,t)=>{const{placement:n="bottom",strategy:r="absolute",middleware:L=[],platform:c}=t,u=L.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let f=await c.getElementRects({reference:o,floating:e,strategy:r}),{x:g,y:p}=Au(f,n,d),m=n,w={},A=0;for(let y=0;y<u.length;y++){const{name:Z,fn:k}=u[y],{x:D,y:z,data:O,reset:F}=await k({x:g,y:p,initialPlacement:n,placement:m,strategy:r,middlewareData:w,rects:f,platform:c,elements:{reference:o,floating:e}});g=D??g,p=z??p,w={...w,[Z]:{...w[Z],...O}},F&&A<=50&&(A++,typeof F=="object"&&(F.placement&&(m=F.placement),F.rects&&(f=F.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:r}):F.rects),{x:g,y:p}=Au(f,m,d)),y=-1)}return{x:g,y:p,placement:m,strategy:r,middlewareData:w}};function Ru(o){const e=Q4(o);let t=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const r=u9(o),L=r?o.offsetWidth:t,c=r?o.offsetHeight:n,u=je(t)!==L||je(n)!==c;return u&&(t=L,n=c),{width:t,height:n,$:u}}function bu(o){return $3(o)?o:o.contextElement}function X5(o){const e=bu(o);if(!u9(e))return d9(1);const t=e.getBoundingClientRect(),{width:n,height:r,$:L}=Ru(e);let c=(L?je(t.width):t.width)/n,u=(L?je(t.height):t.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!u||!Number.isFinite(u))&&(u=1),{x:c,y:u}}const IS=d9(0);function Tu(o){const e=d4(o);return!rs()||!e.visualViewport?IS:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function OS(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==d4(o)?!1:e}function _6(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);const r=o.getBoundingClientRect(),L=bu(o);let c=d9(1);e&&(n?$3(n)&&(c=X5(n)):c=X5(o));const u=OS(L,t,n)?Tu(L):d9(0);let d=(r.left+u.x)/c.x,f=(r.top+u.y)/c.y,g=r.width/c.x,p=r.height/c.y;if(L){const m=d4(L),w=n&&$3(n)?d4(n):n;let A=m,y=ls(A);for(;y&&n&&w!==A;){const Z=X5(y),k=y.getBoundingClientRect(),D=Q4(y),z=k.left+(y.clientLeft+parseFloat(D.paddingLeft))*Z.x,O=k.top+(y.clientTop+parseFloat(D.paddingTop))*Z.y;d*=Z.x,f*=Z.y,g*=Z.x,p*=Z.y,d+=z,f+=O,A=d4(y),y=ls(A)}}return yu({width:g,height:p,x:d,y:f})}function We(o,e){const t=Be(o).scrollLeft;return e?e.left+t:_6(O9(o)).left+t}function ku(o,e){const t=o.getBoundingClientRect(),n=t.left+e.scrollLeft-We(o,t),r=t.top+e.scrollTop;return{x:n,y:r}}function zS(o){let{elements:e,rect:t,offsetParent:n,strategy:r}=o;const L=r==="fixed",c=O9(n),u=e?Fe(e.floating):!1;if(n===c||u&&L)return t;let d={scrollLeft:0,scrollTop:0},f=d9(1);const g=d9(0),p=u9(n);if((p||!p&&!L)&&((Y5(n)!=="body"||g6(c))&&(d=Be(n)),u9(n))){const w=_6(n);f=X5(n),g.x=w.x+n.clientLeft,g.y=w.y+n.clientTop}const m=c&&!p&&!L?ku(c,d):d9(0);return{width:t.width*f.x,height:t.height*f.y,x:t.x*f.x-d.scrollLeft*f.x+g.x+m.x,y:t.y*f.y-d.scrollTop*f.y+g.y+m.y}}function PS(o){return Array.from(o.getClientRects())}function DS(o){const e=O9(o),t=Be(o),n=o.ownerDocument.body,r=p6(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),L=p6(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-t.scrollLeft+We(o);const u=-t.scrollTop;return Q4(n).direction==="rtl"&&(c+=p6(e.clientWidth,n.clientWidth)-r),{width:r,height:L,x:c,y:u}}const Zu=25;function NS(o,e){const t=d4(o),n=O9(o),r=t.visualViewport;let L=n.clientWidth,c=n.clientHeight,u=0,d=0;if(r){L=r.width,c=r.height;const g=rs();(!g||g&&e==="fixed")&&(u=r.offsetLeft,d=r.offsetTop)}const f=We(n);if(f<=0){const g=n.ownerDocument,p=g.body,m=getComputedStyle(p),w=g.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,A=Math.abs(n.clientWidth-p.clientWidth-w);A<=Zu&&(L-=A)}else f<=Zu&&(L+=f);return{width:L,height:c,x:u,y:d}}const FS=new Set(["absolute","fixed"]);function BS(o,e){const t=_6(o,!0,e==="fixed"),n=t.top+o.clientTop,r=t.left+o.clientLeft,L=u9(o)?X5(o):d9(1),c=o.clientWidth*L.x,u=o.clientHeight*L.y,d=r*L.x,f=n*L.y;return{width:c,height:u,x:d,y:f}}function Eu(o,e,t){let n;if(e==="viewport")n=NS(o,t);else if(e==="document")n=DS(O9(o));else if($3(e))n=BS(e,t);else{const r=Tu(o);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return yu(n)}function Iu(o,e){const t=h0(o);return t===e||!$3(t)||Q5(t)?!1:Q4(t).position==="fixed"||Iu(t,e)}function jS(o,e){const t=e.get(o);if(t)return t;let n=xu(o,[]).filter(u=>$3(u)&&Y5(u)!=="body"),r=null;const L=Q4(o).position==="fixed";let c=L?h0(o):o;for(;$3(c)&&!Q5(c);){const u=Q4(c),d=ss(c);!d&&u.position==="fixed"&&(r=null),(L?!d&&!r:!d&&u.position==="static"&&!!r&&FS.has(r.position)||g6(c)&&!d&&Iu(o,c))?n=n.filter(g=>g!==c):r=u,c=h0(c)}return e.set(o,n),n}function WS(o){let{element:e,boundary:t,rootBoundary:n,strategy:r}=o;const c=[...t==="clippingAncestors"?Fe(e)?[]:jS(e,this._c):[].concat(t),n],u=c[0],d=c.reduce((f,g)=>{const p=Eu(e,g,r);return f.top=p6(p.top,f.top),f.right=wu(p.right,f.right),f.bottom=wu(p.bottom,f.bottom),f.left=p6(p.left,f.left),f},Eu(e,u,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function US(o){const{width:e,height:t}=Ru(o);return{width:e,height:t}}function HS(o,e,t){const n=u9(e),r=O9(e),L=t==="fixed",c=_6(o,!0,L,e);let u={scrollLeft:0,scrollTop:0};const d=d9(0);function f(){d.x=We(r)}if(n||!n&&!L)if((Y5(e)!=="body"||g6(r))&&(u=Be(e)),n){const w=_6(e,!0,L,e);d.x=w.x+e.clientLeft,d.y=w.y+e.clientTop}else r&&f();L&&!n&&r&&f();const g=r&&!n&&!L?ku(r,u):d9(0),p=c.left+u.scrollLeft-d.x-g.x,m=c.top+u.scrollTop-d.y-g.y;return{x:p,y:m,width:c.width,height:c.height}}function as(o){return Q4(o).position==="static"}function Ou(o,e){if(!u9(o)||Q4(o).position==="fixed")return null;if(e)return e(o);let t=o.offsetParent;return O9(o)===t&&(t=t.ownerDocument.body),t}function zu(o,e){const t=d4(o);if(Fe(o))return t;if(!u9(o)){let r=h0(o);for(;r&&!Q5(r);){if($3(r)&&!as(r))return r;r=h0(r)}return t}let n=Ou(o,e);for(;n&&vS(n)&&as(n);)n=Ou(n,e);return n&&Q5(n)&&as(n)&&!ss(n)?t:n||yS(o)||t}const $S=async function(o){const e=this.getOffsetParent||zu,t=this.getDimensions,n=await t(o.floating);return{reference:HS(o.reference,await e(o.floating),o.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function GS(o){return Q4(o).direction==="rtl"}const VS={convertOffsetParentRelativeRectToViewportRelativeRect:zS,getDocumentElement:O9,getClippingRect:WS,getOffsetParent:zu,getElementRects:$S,getClientRects:PS,getDimensions:US,getScale:X5,isElement:$3,isRTL:GS},qS=(o,e,t)=>{const n=new Map,r={platform:VS,...t},L={...r.platform,_c:n};return ES(o,e,{...r,platform:L})};var YS=typeof document<"u",QS=function(){},Ue=YS?M.useLayoutEffect:QS;function He(o,e){if(o===e)return!0;if(typeof o!=typeof e)return!1;if(typeof o=="function"&&o.toString()===e.toString())return!0;let t,n,r;if(o&&e&&typeof o=="object"){if(Array.isArray(o)){if(t=o.length,t!==e.length)return!1;for(n=t;n--!==0;)if(!He(o[n],e[n]))return!1;return!0}if(r=Object.keys(o),t=r.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!{}.hasOwnProperty.call(e,r[n]))return!1;for(n=t;n--!==0;){const L=r[n];if(!(L==="_owner"&&o.$$typeof)&&!He(o[L],e[L]))return!1}return!0}return o!==o&&e!==e}function Pu(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function Du(o,e){const t=Pu(o);return Math.round(e*t)/t}function Ls(o){const e=M.useRef(o);return Ue(()=>{e.current=o}),e}function XS(o){o===void 0&&(o={});const{placement:e="bottom",strategy:t="absolute",middleware:n=[],platform:r,elements:{reference:L,floating:c}={},transform:u=!0,whileElementsMounted:d,open:f}=o,[g,p]=M.useState({x:0,y:0,strategy:t,placement:e,middlewareData:{},isPositioned:!1}),[m,w]=M.useState(n);He(m,n)||w(n);const[A,y]=M.useState(null),[Z,k]=M.useState(null),D=M.useCallback(B=>{B!==t2.current&&(t2.current=B,y(B))},[]),z=M.useCallback(B=>{B!==H.current&&(H.current=B,k(B))},[]),O=L||A,F=c||Z,t2=M.useRef(null),H=M.useRef(null),Q=M.useRef(g),n2=d!=null,L2=Ls(d),r2=Ls(r),C2=Ls(f),x2=M.useCallback(()=>{if(!t2.current||!H.current)return;const B={placement:e,strategy:t,middleware:m};r2.current&&(B.platform=r2.current),qS(t2.current,H.current,B).then(p2=>{const R={...p2,isPositioned:C2.current!==!1};D2.current&&!He(Q.current,R)&&(Q.current=R,Wo.flushSync(()=>{p(R)}))})},[m,e,t,r2,C2]);Ue(()=>{f===!1&&Q.current.isPositioned&&(Q.current.isPositioned=!1,p(B=>({...B,isPositioned:!1})))},[f]);const D2=M.useRef(!1);Ue(()=>(D2.current=!0,()=>{D2.current=!1}),[]),Ue(()=>{if(O&&(t2.current=O),F&&(H.current=F),O&&F){if(L2.current)return L2.current(O,F,x2);x2()}},[O,F,x2,L2,n2]);const $=M.useMemo(()=>({reference:t2,floating:H,setReference:D,setFloating:z}),[D,z]),T=M.useMemo(()=>({reference:O,floating:F}),[O,F]),U=M.useMemo(()=>{const B={position:t,left:0,top:0};if(!T.floating)return B;const p2=Du(T.floating,g.x),R=Du(T.floating,g.y);return u?{...B,transform:"translate("+p2+"px, "+R+"px)",...Pu(T.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:p2,top:R}},[t,u,T.floating,g.x,g.y]);return M.useMemo(()=>({...g,update:x2,refs:$,elements:T,floatingStyles:U}),[g,x2,$,T,U])}let $e=M.createContext(null);$e.displayName="OpenClosedContext";var X4=(o=>(o[o.Open=1]="Open",o[o.Closed=2]="Closed",o[o.Closing=4]="Closing",o[o.Opening=8]="Opening",o))(X4||{});function Ge(){return M.useContext($e)}function KS({value:o,children:e}){return R2.createElement($e.Provider,{value:o},e)}function JS({children:o}){return R2.createElement($e.Provider,{value:null},o)}function ey(o){function e(){document.readyState!=="loading"&&(o(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let f0=[];ey(()=>{function o(e){if(!u0(e.target)||e.target===document.body||f0[0]===e.target)return;let t=e.target;t=t.closest(ze),f0.unshift(t??e.target),f0=f0.filter(n=>n!=null&&n.isConnected),f0.splice(10)}window.addEventListener("click",o,{capture:!0}),window.addEventListener("mousedown",o,{capture:!0}),window.addEventListener("focus",o,{capture:!0}),document.body.addEventListener("click",o,{capture:!0}),document.body.addEventListener("mousedown",o,{capture:!0}),document.body.addEventListener("focus",o,{capture:!0})});function Nu(o){let e=L1(o),t=M.useRef(!1);M.useEffect(()=>(t.current=!1,()=>{t.current=!0,be(()=>{t.current&&e()})}),[e])}function ty(){let o=typeof document>"u";return"useSyncExternalStore"in k7?(e=>e.useSyncExternalStore)(k7)(()=>()=>{},()=>!1,()=>!o):!1}function m6(){let o=ty(),[e,t]=M.useState(a9.isHandoffComplete);return e&&a9.isHandoffComplete===!1&&t(!1),M.useEffect(()=>{e!==!0&&t(!0)},[e]),M.useEffect(()=>a9.handoff(),[]),o?!1:e}let Fu=M.createContext(!1);function ny(){return M.useContext(Fu)}function Bu(o){return R2.createElement(Fu.Provider,{value:o.force},o.children)}function iy(o){let e=ny(),t=M.useContext(Wu),[n,r]=M.useState(()=>{var L;if(!e&&t!==null)return(L=t.current)!=null?L:null;if(a9.isServer)return null;let c=o==null?void 0:o.getElementById("headlessui-portal-root");if(c)return c;if(o===null)return null;let u=o.createElement("div");return u.setAttribute("id","headlessui-portal-root"),o.body.appendChild(u)});return M.useEffect(()=>{n!==null&&(o!=null&&o.body.contains(n)||o==null||o.body.appendChild(n))},[n,o]),M.useEffect(()=>{e||t!==null&&r(t.current)},[t,r,e]),n}let ju=M.Fragment,oy=f3(function(o,e){let{ownerDocument:t=null,...n}=o,r=M.useRef(null),L=n4(vM(w=>{r.current=w}),e),c=De(r),u=t??c,d=iy(u),[f]=M.useState(()=>{var w;return a9.isServer?null:(w=u==null?void 0:u.createElement("div"))!=null?w:null}),g=M.useContext(cs),p=m6();a3(()=>{!d||!f||d.contains(f)||(f.setAttribute("data-headlessui-portal",""),d.appendChild(f))},[d,f]),a3(()=>{if(f&&g)return g.register(f)},[g,f]),Nu(()=>{var w;!d||!f||(BC(f)&&d.contains(f)&&d.removeChild(f),d.childNodes.length<=0&&((w=d.parentElement)==null||w.removeChild(d)))});let m=E3();return p?!d||!f?null:Wo.createPortal(m({ourProps:{ref:L},theirProps:n,slot:{},defaultTag:ju,name:"Portal"}),f):null});function sy(o,e){let t=n4(e),{enabled:n=!0,ownerDocument:r,...L}=o,c=E3();return n?R2.createElement(oy,{...L,ownerDocument:r,ref:t}):c({ourProps:{ref:t},theirProps:L,slot:{},defaultTag:ju,name:"Portal"})}let ry=M.Fragment,Wu=M.createContext(null);function ly(o,e){let{target:t,...n}=o,r={ref:n4(e)},L=E3();return R2.createElement(Wu.Provider,{value:t},L({ourProps:r,theirProps:n,defaultTag:ry,name:"Popover.Group"}))}let cs=M.createContext(null);function ay(){let o=M.useContext(cs),e=M.useRef([]),t=L1(L=>(e.current.push(L),o&&o.register(L),()=>n(L))),n=L1(L=>{let c=e.current.indexOf(L);c!==-1&&e.current.splice(c,1),o&&o.unregister(L)}),r=M.useMemo(()=>({register:t,unregister:n,portals:e}),[t,n,e]);return[e,M.useMemo(()=>function({children:L}){return R2.createElement(cs.Provider,{value:r},L)},[r])]}let Ly=f3(sy),Uu=f3(ly),cy=Object.assign(Ly,{Group:Uu});function Cy(o,e=typeof document<"u"?document.defaultView:null,t){let n=d6(o,"escape");fu(e,"keydown",r=>{n&&(r.defaultPrevented||r.key===d0.Escape&&t(r))})}function uy(){var o;let[e]=M.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[t,n]=M.useState((o=e==null?void 0:e.matches)!=null?o:!1);return a3(()=>{if(!e)return;function r(L){n(L.matches)}return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[e]),t}function dy({defaultContainers:o=[],portals:e,mainTreeNode:t}={}){let n=De(t),r=L1(()=>{var L,c;let u=[];for(let d of o)d!==null&&(E9(d)?u.push(d):"current"in d&&E9(d.current)&&u.push(d.current));if(e!=null&&e.current)for(let d of e.current)u.push(d);for(let d of(L=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?L:[])d!==document.body&&d!==document.head&&E9(d)&&d.id!=="headlessui-portal-root"&&(t&&(d.contains(t)||d.contains((c=t==null?void 0:t.getRootNode())==null?void 0:c.host))||u.some(f=>d.contains(f))||u.push(d));return u});return{resolveContainers:r,contains:L1(L=>r().some(c=>c.contains(L)))}}let Hu=M.createContext(null);function $u({children:o,node:e}){let[t,n]=M.useState(null),r=Gu(e??t);return R2.createElement(Hu.Provider,{value:r},o,r===null&&R2.createElement(c6,{features:q5.Hidden,ref:L=>{var c,u;if(L){for(let d of(u=(c=L6(L))==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?u:[])if(d!==document.body&&d!==document.head&&E9(d)&&d!=null&&d.contains(L)){n(d);break}}}}))}function Gu(o=null){var e;return(e=M.useContext(Hu))!=null?e:o}function Cs(){let o=M.useRef(!1);return a3(()=>(o.current=!0,()=>{o.current=!1}),[]),o}var v6=(o=>(o[o.Forwards=0]="Forwards",o[o.Backwards=1]="Backwards",o))(v6||{});function hy(){let o=M.useRef(0);return du(!0,"keydown",e=>{e.key==="Tab"&&(o.current=e.shiftKey?1:0)},!0),o}function Vu(o){if(!o)return new Set;if(typeof o=="function")return new Set(o());let e=new Set;for(let t of o.current)E9(t.current)&&e.add(t.current);return e}let fy="div";var l5=(o=>(o[o.None=0]="None",o[o.InitialFocus=1]="InitialFocus",o[o.TabLock=2]="TabLock",o[o.FocusLock=4]="FocusLock",o[o.RestoreFocus=8]="RestoreFocus",o[o.AutoFocus=16]="AutoFocus",o))(l5||{});function gy(o,e){let t=M.useRef(null),n=n4(t,e),{initialFocus:r,initialFocusFallback:L,containers:c,features:u=15,...d}=o;m6()||(u=0);let f=De(t);vy(u,{ownerDocument:f});let g=xy(u,{ownerDocument:f,container:t,initialFocus:r,initialFocusFallback:L});wy(u,{ownerDocument:f,container:t,containers:c,previousActiveElement:g});let p=hy(),m=L1(D=>{if(!c9(t.current))return;let z=t.current;(O=>O())(()=>{L9(p.current,{[v6.Forwards]:()=>{s5(z,u4.First,{skipElements:[D.relatedTarget,L]})},[v6.Backwards]:()=>{s5(z,u4.Last,{skipElements:[D.relatedTarget,L]})}})})}),w=d6(!!(u&2),"focus-trap#tab-lock"),A=Te(),y=M.useRef(!1),Z={ref:n,onKeyDown(D){D.key=="Tab"&&(y.current=!0,A.requestAnimationFrame(()=>{y.current=!1}))},onBlur(D){if(!(u&4))return;let z=Vu(c);c9(t.current)&&z.add(t.current);let O=D.relatedTarget;u0(O)&&O.dataset.headlessuiFocusGuard!=="true"&&(qu(z,O)||(y.current?s5(t.current,L9(p.current,{[v6.Forwards]:()=>u4.Next,[v6.Backwards]:()=>u4.Previous})|u4.WrapAround,{relativeTo:D.target}):u0(D.target)&&I9(D.target)))}},k=E3();return R2.createElement(R2.Fragment,null,w&&R2.createElement(c6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:q5.Focusable}),k({ourProps:Z,theirProps:d,defaultTag:fy,name:"FocusTrap"}),w&&R2.createElement(c6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:q5.Focusable}))}let py=f3(gy),_y=Object.assign(py,{features:l5});function my(o=!0){let e=M.useRef(f0.slice());return os(([t],[n])=>{n===!0&&t===!1&&be(()=>{e.current.splice(0)}),n===!1&&t===!0&&(e.current=f0.slice())},[o,f0,e]),L1(()=>{var t;return(t=e.current.find(n=>n!=null&&n.isConnected))!=null?t:null})}function vy(o,{ownerDocument:e}){let t=!!(o&8),n=my(t);os(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&I9(n())},[t]),Nu(()=>{t&&I9(n())})}function xy(o,{ownerDocument:e,container:t,initialFocus:n,initialFocusFallback:r}){let L=M.useRef(null),c=d6(!!(o&1),"focus-trap#initial-focus"),u=Cs();return os(()=>{if(o===0)return;if(!c){r!=null&&r.current&&I9(r.current);return}let d=t.current;d&&be(()=>{if(!u.current)return;let f=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===f){L.current=f;return}}else if(d.contains(f)){L.current=f;return}if(n!=null&&n.current)I9(n.current);else{if(o&16){if(s5(d,u4.First|u4.AutoFocus)!==f6.Error)return}else if(s5(d,u4.First)!==f6.Error)return;if(r!=null&&r.current&&(I9(r.current),(e==null?void 0:e.activeElement)===r.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}L.current=e==null?void 0:e.activeElement})},[r,c,o]),L}function wy(o,{ownerDocument:e,container:t,containers:n,previousActiveElement:r}){let L=Cs(),c=!!(o&4);fu(e==null?void 0:e.defaultView,"focus",u=>{if(!c||!L.current)return;let d=Vu(n);c9(t.current)&&d.add(t.current);let f=r.current;if(!f)return;let g=u.target;c9(g)?qu(d,g)?(r.current=g,I9(g)):(u.preventDefault(),u.stopPropagation(),I9(f)):I9(r.current)},!0)}function qu(o,e){for(let t of o)if(t.contains(e))return!0;return!1}function Yu(o){var e;return!!(o.enter||o.enterFrom||o.enterTo||o.leave||o.leaveFrom||o.leaveTo)||((e=o.as)!=null?e:Xu)!==M.Fragment||R2.Children.count(o.children)===1}let Ve=M.createContext(null);Ve.displayName="TransitionContext";var My=(o=>(o.Visible="visible",o.Hidden="hidden",o))(My||{});function Sy(){let o=M.useContext(Ve);if(o===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return o}function yy(){let o=M.useContext(qe);if(o===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return o}let qe=M.createContext(null);qe.displayName="NestingContext";function Ye(o){return"children"in o?Ye(o.children):o.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e==="visible").length>0}function Qu(o,e){let t=Z9(o),n=M.useRef([]),r=Cs(),L=Te(),c=L1((w,A=c0.Hidden)=>{let y=n.current.findIndex(({el:Z})=>Z===w);y!==-1&&(L9(A,{[c0.Unmount](){n.current.splice(y,1)},[c0.Hidden](){n.current[y].state="hidden"}}),L.microTask(()=>{var Z;!Ye(n)&&r.current&&((Z=t.current)==null||Z.call(t))}))}),u=L1(w=>{let A=n.current.find(({el:y})=>y===w);return A?A.state!=="visible"&&(A.state="visible"):n.current.push({el:w,state:"visible"}),()=>c(w,c0.Unmount)}),d=M.useRef([]),f=M.useRef(Promise.resolve()),g=M.useRef({enter:[],leave:[]}),p=L1((w,A,y)=>{d.current.splice(0),e&&(e.chains.current[A]=e.chains.current[A].filter(([Z])=>Z!==w)),e==null||e.chains.current[A].push([w,new Promise(Z=>{d.current.push(Z)})]),e==null||e.chains.current[A].push([w,new Promise(Z=>{Promise.all(g.current[A].map(([k,D])=>D)).then(()=>Z())})]),A==="enter"?f.current=f.current.then(()=>e==null?void 0:e.wait.current).then(()=>y(A)):y(A)}),m=L1((w,A,y)=>{Promise.all(g.current[A].splice(0).map(([Z,k])=>k)).then(()=>{var Z;(Z=d.current.shift())==null||Z()}).then(()=>y(A))});return M.useMemo(()=>({children:n,register:u,unregister:c,onStart:p,onStop:m,wait:f,chains:g}),[u,c,n,p,m,g,f])}let Xu=M.Fragment,Ku=Ze.RenderStrategy;function Ay(o,e){var t,n;let{transition:r=!0,beforeEnter:L,afterEnter:c,beforeLeave:u,afterLeave:d,enter:f,enterFrom:g,enterTo:p,entered:m,leave:w,leaveFrom:A,leaveTo:y,...Z}=o,[k,D]=M.useState(null),z=M.useRef(null),O=Yu(o),F=n4(...O?[z,e,D]:e===null?[]:[e]),t2=(t=Z.unmount)==null||t?c0.Unmount:c0.Hidden,{show:H,appear:Q,initial:n2}=Sy(),[L2,r2]=M.useState(H?"visible":"hidden"),C2=yy(),{register:x2,unregister:D2}=C2;a3(()=>x2(z),[x2,z]),a3(()=>{if(t2===c0.Hidden&&z.current){if(H&&L2!=="visible"){r2("visible");return}return L9(L2,{hidden:()=>D2(z),visible:()=>x2(z)})}},[L2,z,x2,D2,H,t2]);let $=m6();a3(()=>{if(O&&$&&L2==="visible"&&z.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[z,L2,$,O]);let T=n2&&!Q,U=Q&&H&&n2,B=M.useRef(!1),p2=Qu(()=>{B.current||(r2("hidden"),D2(z))},C2),R=L1(N2=>{B.current=!0;let Y2=N2?"enter":"leave";p2.onStart(z,Y2,R1=>{R1==="enter"?L==null||L():R1==="leave"&&(u==null||u())})}),J=L1(N2=>{let Y2=N2?"enter":"leave";B.current=!1,p2.onStop(z,Y2,R1=>{R1==="enter"?c==null||c():R1==="leave"&&(d==null||d())}),Y2==="leave"&&!Ye(p2)&&(r2("hidden"),D2(z))});M.useEffect(()=>{O&&r||(R(H),J(H))},[H,O,r]);let i2=!(!r||!O||!$||T),[,V]=hS(i2,k,H,{start:R,end:J}),e2=C0({ref:F,className:((n=Yo(Z.className,U&&f,U&&g,V.enter&&f,V.enter&&V.closed&&g,V.enter&&!V.closed&&p,V.leave&&w,V.leave&&!V.closed&&A,V.leave&&V.closed&&y,!V.transition&&H&&m))==null?void 0:n.trim())||void 0,...dS(V)}),_2=0;L2==="visible"&&(_2|=X4.Open),L2==="hidden"&&(_2|=X4.Closed),H&&L2==="hidden"&&(_2|=X4.Opening),!H&&L2==="visible"&&(_2|=X4.Closing);let v2=E3();return R2.createElement(qe.Provider,{value:p2},R2.createElement(KS,{value:_2},v2({ourProps:e2,theirProps:Z,defaultTag:Xu,features:Ku,visible:L2==="visible",name:"Transition.Child"})))}function Ry(o,e){let{show:t,appear:n=!1,unmount:r=!0,...L}=o,c=M.useRef(null),u=Yu(o),d=n4(...u?[c,e]:e===null?[]:[e]);m6();let f=Ge();if(t===void 0&&f!==null&&(t=(f&X4.Open)===X4.Open),t===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[g,p]=M.useState(t?"visible":"hidden"),m=Qu(()=>{t||p("hidden")}),[w,A]=M.useState(!0),y=M.useRef([t]);a3(()=>{w!==!1&&y.current[y.current.length-1]!==t&&(y.current.push(t),A(!1))},[y,t]);let Z=M.useMemo(()=>({show:t,appear:n,initial:w}),[t,n,w]);a3(()=>{t?p("visible"):!Ye(m)&&c.current!==null&&p("hidden")},[t,m]);let k={unmount:r},D=L1(()=>{var F;w&&A(!1),(F=o.beforeEnter)==null||F.call(o)}),z=L1(()=>{var F;w&&A(!1),(F=o.beforeLeave)==null||F.call(o)}),O=E3();return R2.createElement(qe.Provider,{value:m},R2.createElement(Ve.Provider,{value:Z},O({ourProps:{...k,as:M.Fragment,children:R2.createElement(Ju,{ref:d,...k,...L,beforeEnter:D,beforeLeave:z})},theirProps:{},defaultTag:M.Fragment,features:Ku,visible:g==="visible",name:"Transition"})))}function by(o,e){let t=M.useContext(Ve)!==null,n=Ge()!==null;return R2.createElement(R2.Fragment,null,!t&&n?R2.createElement(us,{ref:e,...o}):R2.createElement(Ju,{ref:e,...o}))}let us=f3(Ry),Ju=f3(Ay),x6=f3(by),ed=Object.assign(us,{Child:x6,Root:us});var Ty=(o=>(o[o.Open=0]="Open",o[o.Closed=1]="Closed",o))(Ty||{}),ky=(o=>(o[o.SetTitleId=0]="SetTitleId",o))(ky||{});let Zy={0(o,e){return o.titleId===e.id?o:{...o,titleId:e.id}}},ds=M.createContext(null);ds.displayName="DialogContext";function Qe(o){let e=M.useContext(ds);if(e===null){let t=new Error(`<${o} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qe),t}return e}function Ey(o,e){return L9(e.type,Zy,o,e)}let td=f3(function(o,e){let t=M.useId(),{id:n=`headlessui-dialog-${t}`,open:r,onClose:L,initialFocus:c,role:u="dialog",autoFocus:d=!0,__demoMode:f=!1,unmount:g=!1,...p}=o,m=M.useRef(!1);u=(function(){return u==="dialog"||u==="alertdialog"?u:(m.current||(m.current=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")})();let w=Ge();r===void 0&&w!==null&&(r=(w&X4.Open)===X4.Open);let A=M.useRef(null),y=n4(A,e),Z=De(A),k=r?0:1,[D,z]=M.useReducer(Ey,{titleId:null,descriptionId:null,panelRef:M.createRef()}),O=L1(()=>L(!1)),F=L1(V=>z({type:0,id:V})),t2=m6()?k===0:!1,[H,Q]=ay(),n2={get current(){var V;return(V=D.panelRef.current)!=null?V:A.current}},L2=Gu(),{resolveContainers:r2}=dy({mainTreeNode:L2,portals:H,defaultContainers:[n2]}),C2=w!==null?(w&X4.Closing)===X4.Closing:!1;$M(f||C2?!1:t2,{allowed:L1(()=>{var V,e2;return[(e2=(V=A.current)==null?void 0:V.closest("[data-headlessui-portal]"))!=null?e2:null]}),disallowed:L1(()=>{var V;return[(V=L2==null?void 0:L2.closest("body > *:not(#headlessui-portal-root)"))!=null?V:null]})});let x2=iu.get(null);a3(()=>{if(t2)return x2.actions.push(n),()=>x2.actions.pop(n)},[x2,n,t2]);let D2=ru(x2,M.useCallback(V=>x2.selectors.isTop(V,n),[x2,n]));nS(D2,r2,V=>{V.preventDefault(),O()}),Cy(D2,Z==null?void 0:Z.defaultView,V=>{V.preventDefault(),V.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),O()}),cS(f||C2?!1:t2,Z,r2),GM(t2,A,O);let[$,T]=Xo(),U=M.useMemo(()=>[{dialogState:k,close:O,setTitleId:F,unmount:g},D],[k,D,O,F,g]),B=M.useMemo(()=>({open:k===0}),[k]),p2={ref:y,id:n,role:u,tabIndex:-1,"aria-modal":f?void 0:k===0?!0:void 0,"aria-labelledby":D.titleId,"aria-describedby":$,unmount:g},R=!uy(),J=l5.None;t2&&!f&&(J|=l5.RestoreFocus,J|=l5.TabLock,d&&(J|=l5.AutoFocus),R&&(J|=l5.InitialFocus));let i2=E3();return R2.createElement(JS,null,R2.createElement(Bu,{force:!0},R2.createElement(cy,null,R2.createElement(ds.Provider,{value:U},R2.createElement(Uu,{target:A},R2.createElement(Bu,{force:!1},R2.createElement(T,{slot:B},R2.createElement(Q,null,R2.createElement(_y,{initialFocus:c,initialFocusFallback:A,containers:r2,features:J},R2.createElement(TM,{value:O},i2({ourProps:p2,theirProps:p,slot:B,defaultTag:Iy,features:Oy,visible:k===0,name:"Dialog"})))))))))))}),Iy="div",Oy=Ze.RenderStrategy|Ze.Static;function zy(o,e){let{transition:t=!1,open:n,...r}=o,L=Ge(),c=o.hasOwnProperty("open")||L!==null,u=o.hasOwnProperty("onClose");if(!c&&!u)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!c)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!L&&typeof o.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${o.open}`);if(typeof o.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o.onClose}`);return(n!==void 0||t)&&!r.static?R2.createElement($u,null,R2.createElement(ed,{show:n,transition:t,unmount:r.unmount},R2.createElement(td,{ref:e,...r}))):R2.createElement($u,null,R2.createElement(td,{ref:e,open:n,...r}))}let Py="div";function Dy(o,e){let t=M.useId(),{id:n=`headlessui-dialog-panel-${t}`,transition:r=!1,...L}=o,[{dialogState:c,unmount:u},d]=Qe("Dialog.Panel"),f=n4(e,d.panelRef),g=M.useMemo(()=>({open:c===0}),[c]),p=L1(Z=>{Z.stopPropagation()}),m={ref:f,id:n,onClick:p},w=r?x6:M.Fragment,A=r?{unmount:u}:{},y=E3();return R2.createElement(w,{...A},y({ourProps:m,theirProps:L,slot:g,defaultTag:Py,name:"Dialog.Panel"}))}let Ny="div";function Fy(o,e){let{transition:t=!1,...n}=o,[{dialogState:r,unmount:L}]=Qe("Dialog.Backdrop"),c=M.useMemo(()=>({open:r===0}),[r]),u={ref:e,"aria-hidden":!0},d=t?x6:M.Fragment,f=t?{unmount:L}:{},g=E3();return R2.createElement(d,{...f},g({ourProps:u,theirProps:n,slot:c,defaultTag:Ny,name:"Dialog.Backdrop"}))}let By="h2";function jy(o,e){let t=M.useId(),{id:n=`headlessui-dialog-title-${t}`,...r}=o,[{dialogState:L,setTitleId:c}]=Qe("Dialog.Title"),u=n4(e);M.useEffect(()=>(c(n),()=>c(null)),[n,c]);let d=M.useMemo(()=>({open:L===0}),[L]),f={ref:u,id:n};return E3()({ourProps:f,theirProps:r,slot:d,defaultTag:By,name:"Dialog.Title"})}let Wy=f3(zy),nd=f3(Dy);f3(Fy);let id=f3(jy),Uy=Object.assign(Wy,{Panel:nd,Title:id,Description:VC});var Hy=(o=>(o[o.RegisterOption=0]="RegisterOption",o[o.UnregisterOption=1]="UnregisterOption",o))(Hy||{});let $y={0(o,e){let t=[...o.options,{id:e.id,element:e.element,propsRef:e.propsRef}];return{...o,options:cu(t,n=>n.element.current)}},1(o,e){let t=o.options.slice(),n=o.options.findIndex(r=>r.id===e.id);return n===-1?o:(t.splice(n,1),{...o,options:t})}},hs=M.createContext(null);hs.displayName="RadioGroupDataContext";function fs(o){let e=M.useContext(hs);if(e===null){let t=new Error(`<${o} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fs),t}return e}let gs=M.createContext(null);gs.displayName="RadioGroupActionsContext";function ps(o){let e=M.useContext(gs);if(e===null){let t=new Error(`<${o} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ps),t}return e}function Gy(o,e){return L9(e.type,$y,o,e)}let Vy="div";function qy(o,e){let t=M.useId(),n=ke(),{id:r=`headlessui-radiogroup-${t}`,value:L,form:c,name:u,onChange:d,by:f,disabled:g=n||!1,defaultValue:p,tabIndex:m=0,...w}=o,A=ZM(f),[y,Z]=M.useReducer(Gy,{options:[]}),k=y.options,[D,z]=QC(),[O,F]=Xo(),t2=M.useRef(null),H=n4(t2,e),Q=rM(p),[n2,L2]=sM(L,d,Q),r2=M.useMemo(()=>k.find(i2=>!i2.propsRef.current.disabled),[k]),C2=M.useMemo(()=>k.some(i2=>A(i2.propsRef.current.value,n2)),[k,n2]),x2=L1(i2=>{var V;if(g||A(i2,n2))return!1;let e2=(V=k.find(_2=>A(_2.propsRef.current.value,i2)))==null?void 0:V.propsRef.current;return e2!=null&&e2.disabled?!1:(L2==null||L2(i2),!0)}),D2=L1(i2=>{let V=t2.current;if(!V)return;let e2=L6(V),_2=k.filter(v2=>v2.propsRef.current.disabled===!1).map(v2=>v2.element.current);switch(i2.key){case d0.Enter:lM(i2.currentTarget);break;case d0.ArrowLeft:case d0.ArrowUp:if(i2.preventDefault(),i2.stopPropagation(),s5(_2,u4.Previous|u4.WrapAround)===f6.Success){let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break;case d0.ArrowRight:case d0.ArrowDown:if(i2.preventDefault(),i2.stopPropagation(),s5(_2,u4.Next|u4.WrapAround)===f6.Success){let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break;case d0.Space:{i2.preventDefault(),i2.stopPropagation();let v2=k.find(N2=>N2.element.current===(e2==null?void 0:e2.activeElement));v2&&x2(v2.propsRef.current.value)}break}}),$=L1(i2=>(Z({type:0,...i2}),()=>Z({type:1,id:i2.id}))),T=M.useMemo(()=>({value:n2,firstOption:r2,containsCheckedOption:C2,disabled:g,compare:A,tabIndex:m,...y}),[n2,r2,C2,g,A,m,y]),U=M.useMemo(()=>({registerOption:$,change:x2}),[$,x2]),B={ref:H,id:r,role:"radiogroup","aria-labelledby":D,"aria-describedby":O,onKeyDown:D2},p2=M.useMemo(()=>({value:n2}),[n2]),R=M.useCallback(()=>{if(Q!==void 0)return x2(Q)},[x2,Q]),J=E3();return R2.createElement(F,{name:"RadioGroup.Description"},R2.createElement(z,{name:"RadioGroup.Label"},R2.createElement(gs.Provider,{value:U},R2.createElement(hs.Provider,{value:T},u!=null&&R2.createElement(uM,{disabled:g,data:{[u]:n2||"on"},overrides:{type:"radio",checked:n2!=null},form:c,onReset:R}),J({ourProps:B,theirProps:w,slot:p2,defaultTag:Vy,name:"RadioGroup"})))))}let Yy="div";function Qy(o,e){var t;let n=fs("RadioGroup.Option"),r=ps("RadioGroup.Option"),L=M.useId(),{id:c=`headlessui-radiogroup-option-${L}`,value:u,disabled:d=n.disabled||!1,autoFocus:f=!1,...g}=o,p=M.useRef(null),m=n4(p,e),[w,A]=QC(),[y,Z]=Xo(),k=Z9({value:u,disabled:d});a3(()=>r.registerOption({id:c,element:p,propsRef:k}),[c,r,p,k]);let D=L1(C2=>{var x2;if(HC(C2.currentTarget))return C2.preventDefault();r.change(u)&&((x2=p.current)==null||x2.focus())}),z=((t=n.firstOption)==null?void 0:t.id)===c,{isFocusVisible:O,focusProps:F}=IC({autoFocus:f}),{isHovered:t2,hoverProps:H}=EC({isDisabled:d}),Q=n.compare(n.value,u),n2=zC({ref:m,id:c,role:"radio","aria-checked":Q?"true":"false","aria-labelledby":w,"aria-describedby":y,"aria-disabled":d?!0:void 0,tabIndex:d?-1:Q||!n.containsCheckedOption&&z?n.tabIndex:-1,onClick:d?void 0:D,autoFocus:f},F,H),L2=M.useMemo(()=>({checked:Q,disabled:d,active:O,hover:t2,focus:O,autofocus:f}),[Q,d,t2,O,f]),r2=E3();return R2.createElement(Z,{name:"RadioGroup.Description"},R2.createElement(A,{name:"RadioGroup.Label"},r2({ourProps:n2,theirProps:g,slot:L2,defaultTag:Yy,name:"RadioGroup.Option"})))}let Xy="span";function Ky(o,e){var t;let n=fs("Radio"),r=ps("Radio"),L=M.useId(),c=FC(),u=ke(),{id:d=c||`headlessui-radio-${L}`,value:f,disabled:g=n.disabled||u||!1,autoFocus:p=!1,...m}=o,w=M.useRef(null),A=n4(w,e),y=YC(),Z=xM(),k=Z9({value:f,disabled:g});a3(()=>r.registerOption({id:d,element:w,propsRef:k}),[d,r,w,k]);let D=L1(r2=>{var C2;if(HC(r2.currentTarget))return r2.preventDefault();r.change(f)&&((C2=w.current)==null||C2.focus())}),{isFocusVisible:z,focusProps:O}=IC({autoFocus:p}),{isHovered:F,hoverProps:t2}=EC({isDisabled:g}),H=((t=n.firstOption)==null?void 0:t.id)===d,Q=n.compare(n.value,f),n2=zC({ref:A,id:d,role:"radio","aria-checked":Q?"true":"false","aria-labelledby":y,"aria-describedby":Z,"aria-disabled":g?!0:void 0,tabIndex:g?-1:Q||!n.containsCheckedOption&&H?n.tabIndex:-1,autoFocus:p,onClick:g?void 0:D},O,t2),L2=M.useMemo(()=>({checked:Q,disabled:g,hover:F,focus:z,autofocus:p}),[Q,g,F,z,p]);return E3()({ourProps:n2,theirProps:m,slot:L2,defaultTag:Xy,name:"Radio"})}let Jy=f3(qy),eA=f3(Qy),od=f3(Ky),tA=Ko,nA=VC,iA=Object.assign(Jy,{Option:eA,Radio:od,Label:tA,Description:nA});class oA{constructor(){c2(this,"events",{})}on(e,t){this.events[e]||(this.events[e]=new Set),console.debug(`Event ${e} ${t} added`),console.debug(this.events),this.events[e].add(t)}off(e,t){var n;console.debug(`Event ${e} ${t} removed`),console.debug(this.events),(n=this.events[e])==null||n.delete(t)}emit(e,t){const n=this.events[e];n&&n.forEach(r=>r(t))}}const w6=new oA;function sA(o,e,t,n){const r={label:JSON.stringify(e),action:t,category:n};o.get(Oc)("eventEmit",{event:"trackEvent",data:r}),w6.emit("trackEvent",r)}const sd=[{name:"Legacy",id:"theme-default",icon:`<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
159
159
|
<rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="white"/>
|
|
160
160
|
<rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
|
|
161
161
|
<rect x="4" y="6" width="16" height="6" fill="#F2F4F7"/>
|
|
@@ -215,10 +215,10 @@ A.method() {
|
|
|
215
215
|
<line x1="13" y1="16.75" x2="31" y2="16.75" stroke="#34D399" stroke-width="0.5"/>
|
|
216
216
|
<line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#34D399" stroke-width="0.5"/>
|
|
217
217
|
</svg>
|
|
218
|
-
`}],rA=()=>{const[o,e]=M.useState(!1),[t=sd[0].id,n]=q4(j5),[r,L]=q4(vo),[c,u]=q4(Bv),d=w=>{sA({theme:t,enableScopedTheming:r},w,"sequence")},f=()=>{e(!0),u(""),d("theme-open-modal")},g=()=>{e(!1),d("theme-close-modal")},p=w=>{n(w),d("theme-select")},m=w=>{L(w),d("theme-enable-scoped")};return x.jsxs(x.Fragment,{children:[x.jsxs("button",{type:"button",className:"flex items-center relative",onClick:f,children:[x.jsx(l3,{name:"theme"}),c&&x.jsx("span",{className:"dot absolute top-0 right-0 w-1 h-1 rounded-full bg-red-500"})]}),x.jsx(ed,{show:o,children:x.jsxs(Uy,{className:"relative z-10",onClick:g,onClose:g,children:[x.jsx(x6,{enter:"duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:x.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),x.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:x.jsx("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:x.jsx(x6,{enter:"duration-300 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:x.jsxs(nd,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all",children:[x.jsxs("div",{className:"px-6 w-[450px]",children:[x.jsx(id,{as:"h3",className:"text-lg font-semibold leading-6 text-gray-900",children:"Theme"}),x.jsx("p",{className:"text-gray-500 text-sm",children:"Customize your UI theme"}),x.jsx("div",{className:"mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto pb-4",children:x.jsxs(iA,{value:t,onChange:p,children:[x.jsx(Ko,{className:"sr-only",children:"Server size"}),x.jsx("div",{className:"space-y-2",children:sd.map(w=>x.jsx(od,{value:w.id,children:x.jsxs("div",{className:(W2(t===w.id?"border-2 text-gray-900 border-primary":"border-2 border-transparent"),"relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"),children:[x.jsxs("div",{className:"flex w-full items-center text-sm text-gray-900",children:[t===w.id?x.jsx(l3,{name:"selected-cycle",className:"h-5 w-5 fill-none"}):x.jsx(l3,{name:"non-selected-cycle",className:"h-5 w-5"}),x.jsx(Ko,{as:"p",className:W2((t===w.id,"text-gray-900"),"font-medium ml-2"),children:w.name})]}),x.jsx("span",{className:"inline-block w-20 border rounded-md overflow-hidden",dangerouslySetInnerHTML:{__html:w.icon}})]})},w.id))})]})})]}),x.jsxs("div",{className:"pt-6 px-6 border-t flex items-center gap-2",children:[x.jsx("input",{type:"checkbox",id:"scopeTheming",checked:r,onChange:w=>m(w.target.checked)}),x.jsx("label",{htmlFor:"scopeTheming",className:"select-none",children:"Apply to this diagram only"})]})]})})})})]})})]})},lA=j.tree.ParseTreeWalker.DEFAULT;class Xe extends q{constructor(t){super();c2(this,"_orderedParticipants");c2(this,"frameRoot",null);c2(this,"parents",[]);this._orderedParticipants=t}getLocalParticipants(t){return[t.Origin()||W1,...Y8(t).ImplicitArray().map(n=>n.name)]}getLeft(t){const n=X0(t);return this._orderedParticipants.find(r=>n.includes(r))||""}getRight(t){return this._orderedParticipants.slice().reverse().find(n=>X0(t).includes(n))||""}enterFragment(t,n){var L;const r={type:n,left:this.getLeft(t),right:this.getRight(t),children:[]};this.frameRoot||(this.frameRoot=r),this.parents.length>0&&((L=this.parents[this.parents.length-1].children)==null||L.push(r)),this.parents.push(r)}exitFragment(){this.parents.pop()}enterTcf(t){this.enterFragment(t,"tcf")}enterOpt(t){this.enterFragment(t,"opt")}enterPar(t){this.enterFragment(t,"par")}enterAlt(t){this.enterFragment(t,"alt")}enterLoop(t){this.enterFragment(t,"loop")}enterSection(t){this.enterFragment(t,"section")}enterCritical(t){this.enterFragment(t,"critical")}enterRef(t){this.enterFragment(t,"ref")}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}exitSection(){this.exitFragment()}exitCritical(){this.exitFragment()}exitRef(){this.exitFragment()}getFrame(t){return t.children.map(n=>{lA.walk(this,n)}),this.frameRoot}}function _s(o,e){if(!o.children||o.children.length===0)return 1;let t=0;for(const n of o.children)e==="LEFT"&&n.left!==o.left||e==="RIGHT"&&n.right!==o.right||(t=Math.max(t,_s(n,e)));return t+1}function Ke(o){return o?{type:o.type,left:WL*_s(o,"LEFT"),right:WL*_s(o,"RIGHT")}:{left:0,right:0}}function rd(o,e){const t=e.orderedParticipantNames(),n=X0(o),r=t.find(p=>n.includes(p))||"",L=t.slice().reverse().find(p=>n.includes(p))||"",u=new Xe(t).getFrame(o),d=Ke(u),f=aA(o,L,e),g=e.distance(r,L)+e.half(r)+e.half(L);return Math.max(g,UL)+d.left+d.right+f}function aA(o,e,t){const r=X8(o).filter(L=>L.from===L.to).map(L=>t.getMessageWidth(L)-t.distance(L.from||W1,e)-t.half(e));return Math.max.apply(null,[0,...r])}function LA(){const[o,e]=M.useState(0),[t,n]=M.useState(0),r=()=>{e(document.documentElement.scrollTop),n(document.documentElement.scrollLeft)};return M.useEffect(()=>{r();const L=new AbortController;return document.addEventListener("scroll",r,{signal:L.signal}),()=>{L.abort()}},[]),[o,t]}const ms=10,cA=1,ld=20;function CA(){let o=document.getElementById("zenuml-intersection-detector-container"),e=Array.from(document.getElementsByClassName("zenuml-intersection-detector"));return o&&e.length===ms?{detectorContainer:o,detectors:e}:(o=document.createElement("div"),o.id="zenuml-intersection-detector-container",Object.assign(o.style,{position:"absolute",top:"0",left:"0",opacity:"0",pointerEvents:"none"}),e=new Array(ms).fill(0).map(()=>{const t=document.createElement("div");return t.className="zenuml-intersection-detector",Object.assign(t.style,{position:"absolute",top:"0",left:"0",width:"100%"}),o==null||o.appendChild(t),t}),document.body.appendChild(o),{detectorContainer:o,detectors:e})}function uA(){const[o,e]=M.useState(0),t=M.useRef(null);return M.useEffect(()=>{const{detectorContainer:n,detectors:r}=CA(),L=document.documentElement.scrollHeight-ld,c=document.documentElement.scrollWidth-ld;n.style.height=L+"px",n.style.width=c+"px";const u=Math.ceil(document.documentElement.scrollHeight/ms),d=[...Array(u+1).keys()].map(f=>f/u).filter(f=>f>=0&&f<=1);return r.forEach((f,g)=>{f.style.top=g*u+"px",f.style.height=u+"px"}),t.current=new IntersectionObserver(([f])=>{(f.intersectionRect.top-f.boundingClientRect.top>cA||f.target===r[0])&&e(f.intersectionRect.top)},{threshold:d}),r.forEach(f=>{t.current&&t.current.observe(f)}),()=>{var f;(f=t.current)==null||f.disconnect()}},[]),o}const M6={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]},ad=Object.create(null);for(const o in M6)Object.hasOwn(M6,o)&&(ad[M6[o]]=o);const G3={to:{},get:{}};G3.get=function(o){const e=o.slice(0,3).toLowerCase();let t,n;switch(e){case"hsl":{t=G3.get.hsl(o),n="hsl";break}case"hwb":{t=G3.get.hwb(o),n="hwb";break}default:{t=G3.get.rgb(o),n="rgb";break}}return t?{model:n,value:t}:null},G3.get.rgb=function(o){if(!o)return null;const e=/^#([a-f\d]{3,4})$/i,t=/^#([a-f\d]{6})([a-f\d]{2})?$/i,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,L=/^(\w+)$/;let c=[0,0,0,1],u,d,f;if(u=o.match(t)){for(f=u[2],u=u[1],d=0;d<3;d++){const g=d*2;c[d]=Number.parseInt(u.slice(g,g+2),16)}f&&(c[3]=Number.parseInt(f,16)/255)}else if(u=o.match(e)){for(u=u[1],f=u[3],d=0;d<3;d++)c[d]=Number.parseInt(u[d]+u[d],16);f&&(c[3]=Number.parseInt(f+f,16)/255)}else if(u=o.match(n)){for(d=0;d<3;d++)c[d]=Number.parseInt(u[d+1],10);u[4]&&(c[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else if(u=o.match(r)){for(d=0;d<3;d++)c[d]=Math.round(Number.parseFloat(u[d+1])*2.55);u[4]&&(c[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else return(u=o.match(L))?u[1]==="transparent"?[0,0,0,0]:Object.hasOwn(M6,u[1])?(c=M6[u[1]],c[3]=1,c):null:null;for(d=0;d<3;d++)c[d]=g0(c[d],0,255);return c[3]=g0(c[3],0,1),c},G3.get.hsl=function(o){if(!o)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=o.match(e);if(t){const n=Number.parseFloat(t[4]),r=(Number.parseFloat(t[1])%360+360)%360,L=g0(Number.parseFloat(t[2]),0,100),c=g0(Number.parseFloat(t[3]),0,100),u=g0(Number.isNaN(n)?1:n,0,1);return[r,L,c,u]}return null},G3.get.hwb=function(o){if(!o)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=o.match(e);if(t){const n=Number.parseFloat(t[4]),r=(Number.parseFloat(t[1])%360+360)%360,L=g0(Number.parseFloat(t[2]),0,100),c=g0(Number.parseFloat(t[3]),0,100),u=g0(Number.isNaN(n)?1:n,0,1);return[r,L,c,u]}return null},G3.to.hex=function(...o){return"#"+Je(o[0])+Je(o[1])+Je(o[2])+(o[3]<1?Je(Math.round(o[3]*255)):"")},G3.to.rgb=function(...o){return o.length<4||o[3]===1?"rgb("+Math.round(o[0])+", "+Math.round(o[1])+", "+Math.round(o[2])+")":"rgba("+Math.round(o[0])+", "+Math.round(o[1])+", "+Math.round(o[2])+", "+o[3]+")"},G3.to.rgb.percent=function(...o){const e=Math.round(o[0]/255*100),t=Math.round(o[1]/255*100),n=Math.round(o[2]/255*100);return o.length<4||o[3]===1?"rgb("+e+"%, "+t+"%, "+n+"%)":"rgba("+e+"%, "+t+"%, "+n+"%, "+o[3]+")"},G3.to.hsl=function(...o){return o.length<4||o[3]===1?"hsl("+o[0]+", "+o[1]+"%, "+o[2]+"%)":"hsla("+o[0]+", "+o[1]+"%, "+o[2]+"%, "+o[3]+")"},G3.to.hwb=function(...o){let e="";return o.length>=4&&o[3]!==1&&(e=", "+o[3]),"hwb("+o[0]+", "+o[1]+"%, "+o[2]+"%"+e+")"},G3.to.keyword=function(...o){return ad[o.slice(0,3)]};function g0(o,e,t){return Math.min(Math.max(e,o),t)}function Je(o){const e=Math.round(o).toString(16).toUpperCase();return e.length<2?"0"+e:e}function dA(o){const e=G3.get.rgb(o)||[0,0,0],[t,n,r]=e;return(t*299+n*587+r*114)/1e3}function hA(o){const e=G3.get.rgb(o)||[0,0,0],[t,n,r]=e;return`rgb(${t}, ${n}, ${r})`}function fA(o){let e=0,t=o;for(;t;)e+=t.offsetTop,t=t.offsetParent;return e}const S6=/[!@#$%^&*()+-,.?''":{}|<>/\s]/,et=(o,e={})=>{const{singleClick:t=!1,clickDelay:n=300,showHoverHint:r=!0}=e,[L,c]=M.useState(!1),[u,d]=M.useState(!1),f=M.useRef(null),g=M.useRef(0),p=O=>{O.preventDefault(),O.stopPropagation(),c(!0),setTimeout(()=>{const F=O.target;if(!F)return;F.focus();const t2=document.createRange();t2.selectNodeContents(F),t2.collapse(!1);const H=window.getSelection();H&&(H.removeAllRanges(),H.addRange(t2))},0)};return{editing:L,isHovered:u,handleClick:t?O=>{L||t&&(g.current++,f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{g.current===1&&p(O),g.current=0},n))}:void 0,handleDoubleClick:O=>{L||(f.current&&(clearTimeout(f.current),g.current=0),p(O))},handleMouseEnter:()=>{r&&!L&&d(!0)},handleMouseLeave:()=>{d(!1)},handleBlur:O=>{setTimeout(()=>{L&&(c(!1),d(!1),o(O))},0)},handleKeydown:O=>{O.key==="Enter"&&(O.preventDefault(),O.stopPropagation())},handleKeyup:O=>{(O.key==="Enter"||O.key==="Escape"||O.key==="Tab")&&(c(!1),d(!1),o(O))},getEditableClasses:(O="")=>{const F=[O,"editable-label-base"];return L?F.push("editable-label-editing"):u&&r?F.push("editable-label-hover"):F.push("cursor-pointer"),F.filter(Boolean).join(" ")}}},gA=["Missing Constructor","ZenUML"],pA=o=>{const e=G2(b9),[t,n]=q4(e5),r=G2(s6),L=d=>function(f){f.preventDefault(),f.stopPropagation();const g=f.target;if(!(g instanceof HTMLElement))return;let p=g.innerText.trim()??"";if(p===""||p===o.labelText){g.innerText=o.labelText;return}if(p.includes(" ")&&(p=p.replace(/\s+/g," ")),S6.test(p)&&(p=p.replace(/"/g,""),p=`"${p}"`,S6.lastIndex=0),!d||d.length===0)return;let m=t;for(const w of d){const[A,y]=w;m=m.slice(0,A)+p+m.slice(y)}n(m),r(m)},c=et(L(o.labelPositions??[]),{singleClick:!0,showHoverHint:!0}),u=et(L(o.assigneePositions??[]),{singleClick:!0,showHoverHint:!0});return x.jsxs("div",{className:"flex items-center justify-center",children:[o.assignee&&x.jsxs(x.Fragment,{children:[x.jsx("label",{title:"Click to edit",className:u.getEditableClasses("name pl-1 leading-4 right"),contentEditable:u.editing&&e===k4.Dynamic,suppressContentEditableWarning:!0,onClick:u.handleClick,onDoubleClick:u.handleDoubleClick,onMouseEnter:u.handleMouseEnter,onMouseLeave:u.handleMouseLeave,onBlur:u.handleBlur,onKeyUp:u.handleKeyup,onKeyDown:u.handleKeydown,children:o.assignee}),x.jsx("span",{children:":"})]}),x.jsx("label",{title:"Click to edit",className:c.getEditableClasses(W2("name leading-4 right",o.assignee?"pr-1":"px-1")),contentEditable:c.editing&&e===k4.Dynamic&&gA.indexOf(o.labelText)===-1,suppressContentEditableWarning:!0,onClick:c.handleClick,onDoubleClick:c.handleDoubleClick,onMouseEnter:c.handleMouseEnter,onMouseLeave:c.handleMouseLeave,onBlur:c.handleBlur,onKeyUp:c.handleKeyup,onKeyDown:c.handleKeydown,children:o.labelText})]})},_A=10,mA=o=>{var D;const e=M.useRef(null),t=G2(b9),n=G2(pe),r=G2(wo),L=G2(Ec),c=G2(_e),u=T5(jv),d=uA(),[f]=LA(),g=o.entity.name===W1,p=Array.from(n.GetPositions(o.entity.name)??[]).sort((z,O)=>O[0]-z[0]),m=Array.from(n.GetAssigneePositions(o.entity.name)??[]).sort((z,O)=>O[0]-z[0]),w=()=>{const z=o.offsetTop2||0;let O=d+f;d>_A&&L&&(O+=L);const F=(r==null?void 0:r.clientHeight)||0,t2=r?fA(r):0;return O<z+t2?0:Math.min(O-t2,F-gm-50)-z},A=t===k4.Static?0:w(),y=o.entity.color?hA(o.entity.color):void 0,Z=M.useMemo(()=>{if(!o.entity.color)return;const z=e.current&&window.getComputedStyle(e.current).getPropertyValue("background-color");if(z)return dA(z)>128?"#000":"#fff"},[o.entity.color]),k=g?"actor":(D=o.entity.type)==null?void 0:D.toLowerCase();return x.jsx("div",{className:W2("participant bg-skin-participant shadow-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 top-8",{selected:c.includes(o.entity.name)}),ref:e,style:{backgroundColor:g?void 0:y,color:g?void 0:Z,transform:`translateY(${A}px)`},onClick:()=>u(o.entity.name),"data-participant-id":o.entity.name,children:x.jsxs("div",{className:"flex items-center justify-center",children:[k&&x.jsx(fC,{iconKey:k,className:"h-6 w-6 mr-1 flex-shrink-0 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o.entity.name}`}),!g&&x.jsxs("div",{className:"h-5 group flex flex-col justify-center",children:[o.entity.stereotype&&x.jsxs("label",{className:"interface leading-4",children:["«",o.entity.stereotype,"»"]}),x.jsx(pA,{labelText:o.entity.assignee?o.entity.name.split(":")[1]:o.entity.label||o.entity.name,labelPositions:p,assignee:o.entity.assignee,assigneePositions:m})]})]})})},I4=(o,e)=>{if(!e)return console.warn("[@zenuml/core] centerOf: entity is undefined"),0;try{return o.getPosition(e)||0}catch(t){return console.error(t),0}},vA=(o,e,t)=>!e||!t?0:I4(o,t)-I4(o,e),tt=o=>{var w;const e=M.useRef(null),t=G2(Z4),n=G2(Fv),r=G2(Rc),L=G2(wo),c=G2(Tc),u=T5(yo),d=20,[f,g]=M.useState(d),p=I4(t,o.entity.name)-(o.groupLeft||0),m=M.useCallback(()=>{var k;const A=o.entity.name.replace(/([ #;&,.+*~':"!^$\[\]()=>|\/@])/g,"\\$1"),y=L==null?void 0:L.querySelector(`[data-to="${A}"]`),Z=(y==null?void 0:y.offsetParent)!=null;if(y&&y.getAttribute("data-type")==="creation"&&Z){const D=((k=e.current)==null?void 0:k.getBoundingClientRect().y)||0,z=y.getBoundingClientRect().y;g((z-D)/(c||1))}else g(d)},[L,o.entity.name,c]);return M.useEffect(()=>{const A=()=>{if(!n)return!1;const y=n.getCreationTop(o.entity.name),Z=y!=null?Math.max(d,y):d;return g(Z),!0};if(r==="server")A();else{const y=()=>setTimeout(m,0);return setTimeout(m,0),w6.on("participant_set_top",y),()=>w6.off("participant_set_top",y)}o.entity.name!==W1&&setTimeout(()=>{u(y=>y.includes(o.entity.name)?y:[...y,o.entity.name])},0)},[o.entity.name,n,r,u,m]),x.jsxs("div",{id:o.entity.name,"entity-type":(w=o.entity.type)==null?void 0:w.toLowerCase(),className:W2("lifeline absolute flex flex-col h-full",{"transform -translate-x-1/2":o.renderParticipants},o.className),style:{paddingTop:f+"px",left:p+"px",translate:0},ref:e,children:[o.renderParticipants&&x.jsx(mA,{entity:o.entity,offsetTop2:f}),o.renderLifeLine&&x.jsx("div",{className:"line w0 mx-auto flex-grow w-px bg-[linear-gradient(to_bottom,transparent_50%,var(--color-border-base)_50%)] bg-[length:1px_10px]"})]})},Ld=2,xA=o=>{var c,u;const e=G2(Z4),t=Y8(o.context).Array();if(t.length<=0)return null;const n=e.left(t[0].name)+Ld,r=e.right(t[t.length-1].name)-Ld,L=(u=(c=o.context)==null?void 0:c.name())==null?void 0:u.getFormattedText();return x.jsxs("div",{className:W2("lifeline-group-container absolute flex flex-col flex-grow h-full",{"outline-dashed outline-skin-primary":o.renderLifeLine}),style:{left:`${n}px`,width:`${r-n}px`},children:[o.renderParticipants&&L&&x.jsx("div",{className:"z-10 absolute flex items-center justify-center w-full bg-skin-frame",children:x.jsx("span",{className:"font-semibold text-skin-lifeline-group-name",children:L})}),x.jsx("div",{className:"lifeline-group relative flex-grow",children:t.map(d=>x.jsx(tt,{entity:d,groupLeft:n,renderLifeLine:o.renderLifeLine,renderParticipants:o.renderParticipants},d.name))})]})},vs=o=>{var L;const e=G2(b9),t=G2(Z4),n=G2(pe),r=M.useMemo(()=>{const c=t.orderedParticipantNames();return c.length===0?null:c[0]===W1?{...qa,name:W1,explicit:!1,isStarter:!0}:null},[t]);return x.jsx("div",{className:"life-line-layer lifeline-layer z-30 absolute h-full flex flex-col top-0 pt-2","data-participant-names":"participantNames",style:{minWidth:e===k4.Dynamic?"200px":"auto",width:`calc(100% - ${o.leftGap}px)`,pointerEvents:o.renderParticipants?"none":"all"},children:x.jsxs("div",{className:"z-lifeline-container relative grow",children:[r&&!(r!=null&&r.explicit)&&x.jsx(tt,{entity:r,className:"starter",renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine}),(((L=o.context)==null?void 0:L.children)||[]).filter(c=>c instanceof NL||c instanceof FL).map((c,u)=>x.jsxs(M.Fragment,{children:[c instanceof NL&&x.jsx(xA,{context:c,renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},u),c instanceof FL&&x.jsx(tt,{entity:Y8(c).First(),renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},u)]},u)),n.ImplicitArray().map(c=>x.jsx(tt,{entity:c,renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},c.name))]})})},wA=o=>{const e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",section:"FragmentSection",critical:"FragmentCritical",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},t=Object.keys(e).find(n=>o[n]()!==null)||"";return e[t]},nt=o=>o&&o.stat()?o.stat().filter(e=>wA(e)!=="Divider").length:0,MA=(o,e)=>{if(o){const t=o.split(".");return t[t.length-1]=Number(t[t.length-1])+e,t.join(".")}else return String(e)};class y6{constructor(e,t){this.position=e,this.layers=t}centerToEdge(e){return e.rightEdgeOfRightWall()-this.centerOfRightWall()}centerToCenter(e){return e.centerOfRightWall()-this.centerOfRightWall()}edgeOffset(e){const t=e.position<this.position;let n,r;t?(n=e,r=this):(n=this,r=e);const L=n.rightEdgeOfRightWall(),u=r.leftEdgeOfRightWall()-L-$L;return t?u*-1:u}centerOfRightWall(){return this.layers<=1?this.position:this.position+le*(this.layers-1)}rightEdgeOfRightWall(){return this.position+le*this.layers}leftEdgeOfRightWall(){return this.layers===0?this.position:this.centerOfRightWall()-le}}const SA=(o,e)=>o==null?void 0:o.getAncestors(t=>(r=>{const L=r instanceof v.MessageContext,c=r instanceof v.CreationContext;return L||c})(t)?t.Owner()===e:!1).length,yA=(o,e)=>{const t=o.get(Z4).orderedParticipantNames(),n=X0(e);return t.find(r=>n.includes(r))},xs=(o,e)=>{const t=o.get(Z4).orderedParticipantNames(),r=new Xe(t).getFrame(e);return Ke(r)},AA=(o,e,t)=>{const n=o.get(Z4),r=yA(o,e)||"",L=n.half(r);if(r===t||!t)return console.debug(`left participant: ${r} ${L}`),xs(o,e).left+L;const c=SA(e,t),u=new y6(I4(n,t),c);return new y6(I4(n,r),0).centerToCenter(u)+xs(o,e).left+L},p0=(o,e)=>{const t=_n(),[n,r]=M.useState(!1),L=()=>{r(k=>!k)};M.useEffect(()=>{r(!1)},[o]);const c=t.get(Z4),u=c.orderedParticipantNames(),d=X0(o),f=u.find(k=>d.includes(k))||"",p=new Xe(u).getFrame(o),m=Ke(p),w=AA(t,o,e),A=c.half(f),y=xs(t,o).left+A,Z={transform:"translateX("+(w+1)*-1+"px)",width:rd(o,c)+"px",minWidth:UL+"px"};return{collapsed:n,toggleCollapse:L,offsetX:w,paddingLeft:y,fragmentStyle:Z,border:m,halfLeftParticipant:A,leftParticipant:f}};var ws,cd;function RA(){if(cd)return ws;cd=1;function o(W){return W instanceof Map?W.clear=W.delete=W.set=function(){throw new Error("map is read-only")}:W instanceof Set&&(W.add=W.clear=W.delete=function(){throw new Error("set is read-only")}),Object.freeze(W),Object.getOwnPropertyNames(W).forEach(function(s2){var m2=W[s2];typeof m2=="object"&&!Object.isFrozen(m2)&&o(m2)}),W}var e=o,t=o;e.default=t;class n{constructor(s2){s2.data===void 0&&(s2.data={}),this.data=s2.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(W){return W.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function L(W,...s2){const m2=Object.create(null);for(const O2 in W)m2[O2]=W[O2];return s2.forEach(function(O2){for(const Q2 in O2)m2[Q2]=O2[Q2]}),m2}const c="</span>",u=W=>!!W.kind;class d{constructor(s2,m2){this.buffer="",this.classPrefix=m2.classPrefix,s2.walk(this)}addText(s2){this.buffer+=r(s2)}openNode(s2){if(!u(s2))return;let m2=s2.kind;s2.sublanguage||(m2=`${this.classPrefix}${m2}`),this.span(m2)}closeNode(s2){u(s2)&&(this.buffer+=c)}value(){return this.buffer}span(s2){this.buffer+=`<span class="${s2}">`}}class f{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(s2){this.top.children.push(s2)}openNode(s2){const m2={kind:s2,children:[]};this.add(m2),this.stack.push(m2)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(s2){return this.constructor._walk(s2,this.rootNode)}static _walk(s2,m2){return typeof m2=="string"?s2.addText(m2):m2.children&&(s2.openNode(m2),m2.children.forEach(O2=>this._walk(s2,O2)),s2.closeNode(m2)),s2}static _collapse(s2){typeof s2!="string"&&s2.children&&(s2.children.every(m2=>typeof m2=="string")?s2.children=[s2.children.join("")]:s2.children.forEach(m2=>{f._collapse(m2)}))}}class g extends f{constructor(s2){super(),this.options=s2}addKeyword(s2,m2){s2!==""&&(this.openNode(m2),this.addText(s2),this.closeNode())}addText(s2){s2!==""&&this.add(s2)}addSublanguage(s2,m2){const O2=s2.root;O2.kind=m2,O2.sublanguage=!0,this.add(O2)}toHTML(){return new d(this,this.options).value()}finalize(){return!0}}function p(W){return new RegExp(W.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(W){return W?typeof W=="string"?W:W.source:null}function w(...W){return W.map(m2=>m(m2)).join("")}function A(...W){return"("+W.map(m2=>m(m2)).join("|")+")"}function y(W){return new RegExp(W.toString()+"|").exec("").length-1}function Z(W,s2){const m2=W&&W.exec(s2);return m2&&m2.index===0}const k=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D(W,s2="|"){let m2=0;return W.map(O2=>{m2+=1;const Q2=m2;let c1=m(O2),I1="";for(;c1.length>0;){const h2=k.exec(c1);if(!h2){I1+=c1;break}I1+=c1.substring(0,h2.index),c1=c1.substring(h2.index+h2[0].length),h2[0][0]==="\\"&&h2[1]?I1+="\\"+String(Number(h2[1])+Q2):(I1+=h2[0],h2[0]==="("&&m2++)}return I1}).map(O2=>`(${O2})`).join(s2)}const z=/\b\B/,O="[a-zA-Z]\\w*",F="[a-zA-Z_]\\w*",t2="\\b\\d+(\\.\\d+)?",H="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Q="\\b(0b[01]+)",n2="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",L2=(W={})=>{const s2=/^#![ ]*\//;return W.binary&&(W.begin=w(s2,/.*\b/,W.binary,/\b.*/)),L({className:"meta",begin:s2,end:/$/,relevance:0,"on:begin":(m2,O2)=>{m2.index!==0&&O2.ignoreMatch()}},W)},r2={begin:"\\\\[\\s\\S]",relevance:0},C2={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[r2]},x2={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[r2]},D2={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/},$=function(W,s2,m2={}){const O2=L({className:"comment",begin:W,end:s2,contains:[]},m2);return O2.contains.push(D2),O2.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),O2},T=$("//","$"),U=$("/\\*","\\*/"),B=$("#","$"),g2={className:"number",begin:t2,relevance:0},R={className:"number",begin:H,relevance:0},J={className:"number",begin:Q,relevance:0},i2={className:"number",begin:t2+"(%|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},V={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[r2,{begin:/\[/,end:/\]/,relevance:0,contains:[r2]}]}]},e2={className:"title",begin:O,relevance:0},_2={className:"title",begin:F,relevance:0},v2={begin:"\\.\\s*"+F,relevance:0};var Y2=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z,IDENT_RE:O,UNDERSCORE_IDENT_RE:F,NUMBER_RE:t2,C_NUMBER_RE:H,BINARY_NUMBER_RE:Q,RE_STARTERS_RE:n2,SHEBANG:L2,BACKSLASH_ESCAPE:r2,APOS_STRING_MODE:C2,QUOTE_STRING_MODE:x2,PHRASAL_WORDS_MODE:D2,COMMENT:$,C_LINE_COMMENT_MODE:T,C_BLOCK_COMMENT_MODE:U,HASH_COMMENT_MODE:B,NUMBER_MODE:g2,C_NUMBER_MODE:R,BINARY_NUMBER_MODE:J,CSS_NUMBER_MODE:i2,REGEXP_MODE:V,TITLE_MODE:e2,UNDERSCORE_TITLE_MODE:_2,METHOD_GUARD:v2,END_SAME_AS_BEGIN:function(W){return Object.assign(W,{"on:begin":(s2,m2)=>{m2.data._beginMatch=s2[1]},"on:end":(s2,m2)=>{m2.data._beginMatch!==s2[1]&&m2.ignoreMatch()}})}});function R1(W,s2){W.input[W.index-1]==="."&&s2.ignoreMatch()}function v1(W,s2){s2&&W.beginKeywords&&(W.begin="\\b("+W.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",W.__beforeBegin=R1,W.keywords=W.keywords||W.beginKeywords,delete W.beginKeywords,W.relevance===void 0&&(W.relevance=0))}function J1(W,s2){Array.isArray(W.illegal)&&(W.illegal=A(...W.illegal))}function e3(W,s2){if(W.match){if(W.begin||W.end)throw new Error("begin & end are not supported with match");W.begin=W.match,delete W.match}}function V3(W,s2){W.relevance===void 0&&(W.relevance=1)}const I3=["of","and","for","in","not","or","if","then","parent","list","value"],h9="keyword";function z4(W,s2,m2=h9){const O2={};return typeof W=="string"?Q2(m2,W.split(" ")):Array.isArray(W)?Q2(m2,W):Object.keys(W).forEach(function(c1){Object.assign(O2,z4(W[c1],s2,c1))}),O2;function Q2(c1,I1){s2&&(I1=I1.map(h2=>h2.toLowerCase())),I1.forEach(function(h2){const S2=h2.split("|");O2[S2[0]]=[c1,U1(S2[0],S2[1])]})}}function U1(W,s2){return s2?Number(s2):_0(W)?0:1}function _0(W){return I3.includes(W.toLowerCase())}function z9(W,{plugins:s2}){function m2(h2,S2){return new RegExp(m(h2),"m"+(W.case_insensitive?"i":"")+(S2?"g":""))}class O2{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(S2,H2){H2.position=this.position++,this.matchIndexes[this.matchAt]=H2,this.regexes.push([H2,S2]),this.matchAt+=y(S2)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const S2=this.regexes.map(H2=>H2[1]);this.matcherRe=m2(D(S2),!0),this.lastIndex=0}exec(S2){this.matcherRe.lastIndex=this.lastIndex;const H2=this.matcherRe.exec(S2);if(!H2)return null;const q2=H2.findIndex((t3,P1)=>P1>0&&t3!==void 0),x1=this.matchIndexes[q2];return H2.splice(0,q2),Object.assign(H2,x1)}}class Q2{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(S2){if(this.multiRegexes[S2])return this.multiRegexes[S2];const H2=new O2;return this.rules.slice(S2).forEach(([q2,x1])=>H2.addRule(q2,x1)),H2.compile(),this.multiRegexes[S2]=H2,H2}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(S2,H2){this.rules.push([S2,H2]),H2.type==="begin"&&this.count++}exec(S2){const H2=this.getMatcher(this.regexIndex);H2.lastIndex=this.lastIndex;let q2=H2.exec(S2);if(this.resumingScanAtSamePosition()&&!(q2&&q2.index===this.lastIndex)){const x1=this.getMatcher(0);x1.lastIndex=this.lastIndex+1,q2=x1.exec(S2)}return q2&&(this.regexIndex+=q2.position+1,this.regexIndex===this.count&&this.considerAll()),q2}}function c1(h2){const S2=new Q2;return h2.contains.forEach(H2=>S2.addRule(H2.begin,{rule:H2,type:"begin"})),h2.terminatorEnd&&S2.addRule(h2.terminatorEnd,{type:"end"}),h2.illegal&&S2.addRule(h2.illegal,{type:"illegal"}),S2}function I1(h2,S2){const H2=h2;if(h2.isCompiled)return H2;[e3].forEach(x1=>x1(h2,S2)),W.compilerExtensions.forEach(x1=>x1(h2,S2)),h2.__beforeBegin=null,[v1,J1,V3].forEach(x1=>x1(h2,S2)),h2.isCompiled=!0;let q2=null;if(typeof h2.keywords=="object"&&(q2=h2.keywords.$pattern,delete h2.keywords.$pattern),h2.keywords&&(h2.keywords=z4(h2.keywords,W.case_insensitive)),h2.lexemes&&q2)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return q2=q2||h2.lexemes||/\w+/,H2.keywordPatternRe=m2(q2,!0),S2&&(h2.begin||(h2.begin=/\B|\b/),H2.beginRe=m2(h2.begin),h2.endSameAsBegin&&(h2.end=h2.begin),!h2.end&&!h2.endsWithParent&&(h2.end=/\B|\b/),h2.end&&(H2.endRe=m2(h2.end)),H2.terminatorEnd=m(h2.end)||"",h2.endsWithParent&&S2.terminatorEnd&&(H2.terminatorEnd+=(h2.end?"|":"")+S2.terminatorEnd)),h2.illegal&&(H2.illegalRe=m2(h2.illegal)),h2.contains||(h2.contains=[]),h2.contains=[].concat(...h2.contains.map(function(x1){return P9(x1==="self"?h2:x1)})),h2.contains.forEach(function(x1){I1(x1,H2)}),h2.starts&&I1(h2.starts,S2),H2.matcher=c1(H2),H2}if(W.compilerExtensions||(W.compilerExtensions=[]),W.contains&&W.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return W.classNameAliases=L(W.classNameAliases||{}),I1(W)}function m0(W){return W?W.endsWithParent||m0(W.starts):!1}function P9(W){return W.variants&&!W.cachedVariants&&(W.cachedVariants=W.variants.map(function(s2){return L(W,{variants:null},s2)})),W.cachedVariants?W.cachedVariants:m0(W)?L(W,{starts:W.starts?L(W.starts):null}):Object.isFrozen(W)?L(W):W}var T6="10.7.3";function v0(W){return!!(W||W==="")}function D9(W){const s2={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!W.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,r(this.code);let O2={};return this.autoDetect?(O2=W.highlightAuto(this.code),this.detectedLanguage=O2.language):(O2=W.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),O2.value},autoDetect(){return!this.language||v0(this.autodetect)},ignoreIllegals(){return!0}},render(O2){return O2("pre",{},[O2("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s2,VuePlugin:{install(O2){O2.component("highlightjs",s2)}}}}const f9={"after:highlightElement":({el:W,result:s2,text:m2})=>{const O2=L3(W);if(!O2.length)return;const Q2=document.createElement("div");Q2.innerHTML=s2.value,s2.value=f4(O2,L3(Q2),m2)}};function O3(W){return W.nodeName.toLowerCase()}function L3(W){const s2=[];return(function m2(O2,Q2){for(let c1=O2.firstChild;c1;c1=c1.nextSibling)c1.nodeType===3?Q2+=c1.nodeValue.length:c1.nodeType===1&&(s2.push({event:"start",offset:Q2,node:c1}),Q2=m2(c1,Q2),O3(c1).match(/br|hr|img|input/)||s2.push({event:"stop",offset:Q2,node:c1}));return Q2})(W,0),s2}function f4(W,s2,m2){let O2=0,Q2="";const c1=[];function I1(){return!W.length||!s2.length?W.length?W:s2:W[0].offset!==s2[0].offset?W[0].offset<s2[0].offset?W:s2:s2[0].event==="start"?W:s2}function h2(q2){function x1(t3){return" "+t3.nodeName+'="'+r(t3.value)+'"'}Q2+="<"+O3(q2)+[].map.call(q2.attributes,x1).join("")+">"}function S2(q2){Q2+="</"+O3(q2)+">"}function H2(q2){(q2.event==="start"?h2:S2)(q2.node)}for(;W.length||s2.length;){let q2=I1();if(Q2+=r(m2.substring(O2,q2[0].offset)),O2=q2[0].offset,q2===W){c1.reverse().forEach(S2);do H2(q2.splice(0,1)[0]),q2=I1();while(q2===W&&q2.length&&q2[0].offset===O2);c1.reverse().forEach(h2)}else q2[0].event==="start"?c1.push(q2[0].node):c1.pop(),H2(q2.splice(0,1)[0])}return Q2+r(m2.substr(O2))}const c3={},N9=W=>{console.error(W)},c5=(W,...s2)=>{console.log(`WARN: ${W}`,...s2)},C3=(W,s2)=>{c3[`${W}/${s2}`]||(console.log(`Deprecated as of ${W}. ${s2}`),c3[`${W}/${s2}`]=!0)},g4=r,x3=L,w3=Symbol("nomatch");var J4=function(W){const s2=Object.create(null),m2=Object.create(null),O2=[];let Q2=!0;const c1=/(^(<[^>]+>|\t|)+|\n)/gm,I1="Could not find the language '{}', did you forget to load/include a language module?",h2={disableAutodetect:!0,name:"Plain text",contains:[]};let S2={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:g};function H2(u2){return S2.noHighlightRe.test(u2)}function q2(u2){let M2=u2.className+" ";M2+=u2.parentNode?u2.parentNode.className:"";const i1=S2.languageDetectRe.exec(M2);if(i1){const p1=a1(i1[1]);return p1||(c5(I1.replace("{}",i1[1])),c5("Falling back to no-highlight mode for this block.",u2)),p1?i1[1]:"no-highlight"}return M2.split(/\s+/).find(p1=>H2(p1)||a1(p1))}function x1(u2,M2,i1,p1){let i3="",g9="";typeof M2=="object"?(i3=u2,i1=M2.ignoreIllegals,g9=M2.language,p1=void 0):(C3("10.7.0","highlight(lang, code, ...args) has been deprecated."),C3("10.7.0",`Please use highlight(code, options) instead.
|
|
218
|
+
`}],rA=()=>{const[o,e]=M.useState(!1),[t=sd[0].id,n]=q4(j5),[r,L]=q4(vo),[c,u]=q4(Bv),d=w=>{sA({theme:t,enableScopedTheming:r},w,"sequence")},f=()=>{e(!0),u(""),d("theme-open-modal")},g=()=>{e(!1),d("theme-close-modal")},p=w=>{n(w),d("theme-select")},m=w=>{L(w),d("theme-enable-scoped")};return x.jsxs(x.Fragment,{children:[x.jsxs("button",{type:"button",className:"flex items-center relative",onClick:f,children:[x.jsx(l3,{name:"theme"}),c&&x.jsx("span",{className:"dot absolute top-0 right-0 w-1 h-1 rounded-full bg-red-500"})]}),x.jsx(ed,{show:o,children:x.jsxs(Uy,{className:"relative z-10",onClick:g,onClose:g,children:[x.jsx(x6,{enter:"duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:x.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),x.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:x.jsx("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:x.jsx(x6,{enter:"duration-300 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:x.jsxs(nd,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all",children:[x.jsxs("div",{className:"px-6 w-[450px]",children:[x.jsx(id,{as:"h3",className:"text-lg font-semibold leading-6 text-gray-900",children:"Theme"}),x.jsx("p",{className:"text-gray-500 text-sm",children:"Customize your UI theme"}),x.jsx("div",{className:"mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto pb-4",children:x.jsxs(iA,{value:t,onChange:p,children:[x.jsx(Ko,{className:"sr-only",children:"Server size"}),x.jsx("div",{className:"space-y-2",children:sd.map(w=>x.jsx(od,{value:w.id,children:x.jsxs("div",{className:(W2(t===w.id?"border-2 text-gray-900 border-primary":"border-2 border-transparent"),"relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"),children:[x.jsxs("div",{className:"flex w-full items-center text-sm text-gray-900",children:[t===w.id?x.jsx(l3,{name:"selected-cycle",className:"h-5 w-5 fill-none"}):x.jsx(l3,{name:"non-selected-cycle",className:"h-5 w-5"}),x.jsx(Ko,{as:"p",className:W2((t===w.id,"text-gray-900"),"font-medium ml-2"),children:w.name})]}),x.jsx("span",{className:"inline-block w-20 border rounded-md overflow-hidden",dangerouslySetInnerHTML:{__html:w.icon}})]})},w.id))})]})})]}),x.jsxs("div",{className:"pt-6 px-6 border-t flex items-center gap-2",children:[x.jsx("input",{type:"checkbox",id:"scopeTheming",checked:r,onChange:w=>m(w.target.checked)}),x.jsx("label",{htmlFor:"scopeTheming",className:"select-none",children:"Apply to this diagram only"})]})]})})})})]})})]})},lA=j.tree.ParseTreeWalker.DEFAULT;class Xe extends q{constructor(t){super();c2(this,"_orderedParticipants");c2(this,"frameRoot",null);c2(this,"parents",[]);this._orderedParticipants=t}getLocalParticipants(t){return[t.Origin()||W1,...Y8(t).ImplicitArray().map(n=>n.name)]}getLeft(t){const n=X0(t);return this._orderedParticipants.find(r=>n.includes(r))||""}getRight(t){return this._orderedParticipants.slice().reverse().find(n=>X0(t).includes(n))||""}enterFragment(t,n){var L;const r={type:n,left:this.getLeft(t),right:this.getRight(t),children:[]};this.frameRoot||(this.frameRoot=r),this.parents.length>0&&((L=this.parents[this.parents.length-1].children)==null||L.push(r)),this.parents.push(r)}exitFragment(){this.parents.pop()}enterTcf(t){this.enterFragment(t,"tcf")}enterOpt(t){this.enterFragment(t,"opt")}enterPar(t){this.enterFragment(t,"par")}enterAlt(t){this.enterFragment(t,"alt")}enterLoop(t){this.enterFragment(t,"loop")}enterSection(t){this.enterFragment(t,"section")}enterCritical(t){this.enterFragment(t,"critical")}enterRef(t){this.enterFragment(t,"ref")}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}exitSection(){this.exitFragment()}exitCritical(){this.exitFragment()}exitRef(){this.exitFragment()}getFrame(t){return t.children.map(n=>{lA.walk(this,n)}),this.frameRoot}}function _s(o,e){if(!o.children||o.children.length===0)return 1;let t=0;for(const n of o.children)e==="LEFT"&&n.left!==o.left||e==="RIGHT"&&n.right!==o.right||(t=Math.max(t,_s(n,e)));return t+1}function Ke(o){return o?{type:o.type,left:WL*_s(o,"LEFT"),right:WL*_s(o,"RIGHT")}:{left:0,right:0}}function rd(o,e){const t=e.orderedParticipantNames(),n=X0(o),r=t.find(p=>n.includes(p))||"",L=t.slice().reverse().find(p=>n.includes(p))||"",u=new Xe(t).getFrame(o),d=Ke(u),f=aA(o,L,e),g=e.distance(r,L)+e.half(r)+e.half(L);return Math.max(g,UL)+d.left+d.right+f}function aA(o,e,t){const r=X8(o).filter(L=>L.from===L.to).map(L=>t.getMessageWidth(L)-t.distance(L.from||W1,e)-t.half(e));return Math.max.apply(null,[0,...r])}function LA(){const[o,e]=M.useState(0),[t,n]=M.useState(0),r=()=>{e(document.documentElement.scrollTop),n(document.documentElement.scrollLeft)};return M.useEffect(()=>{r();const L=new AbortController;return document.addEventListener("scroll",r,{signal:L.signal}),()=>{L.abort()}},[]),[o,t]}const ms=10,cA=1,ld=20;function CA(){let o=document.getElementById("zenuml-intersection-detector-container"),e=Array.from(document.getElementsByClassName("zenuml-intersection-detector"));return o&&e.length===ms?{detectorContainer:o,detectors:e}:(o=document.createElement("div"),o.id="zenuml-intersection-detector-container",Object.assign(o.style,{position:"absolute",top:"0",left:"0",opacity:"0",pointerEvents:"none"}),e=new Array(ms).fill(0).map(()=>{const t=document.createElement("div");return t.className="zenuml-intersection-detector",Object.assign(t.style,{position:"absolute",top:"0",left:"0",width:"100%"}),o==null||o.appendChild(t),t}),document.body.appendChild(o),{detectorContainer:o,detectors:e})}function uA(){const[o,e]=M.useState(0),t=M.useRef(null);return M.useEffect(()=>{const{detectorContainer:n,detectors:r}=CA(),L=document.documentElement.scrollHeight-ld,c=document.documentElement.scrollWidth-ld;n.style.height=L+"px",n.style.width=c+"px";const u=Math.ceil(document.documentElement.scrollHeight/ms),d=[...Array(u+1).keys()].map(f=>f/u).filter(f=>f>=0&&f<=1);return r.forEach((f,g)=>{f.style.top=g*u+"px",f.style.height=u+"px"}),t.current=new IntersectionObserver(([f])=>{(f.intersectionRect.top-f.boundingClientRect.top>cA||f.target===r[0])&&e(f.intersectionRect.top)},{threshold:d}),r.forEach(f=>{t.current&&t.current.observe(f)}),()=>{var f;(f=t.current)==null||f.disconnect()}},[]),o}const M6={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]},ad=Object.create(null);for(const o in M6)Object.hasOwn(M6,o)&&(ad[M6[o]]=o);const G3={to:{},get:{}};G3.get=function(o){const e=o.slice(0,3).toLowerCase();let t,n;switch(e){case"hsl":{t=G3.get.hsl(o),n="hsl";break}case"hwb":{t=G3.get.hwb(o),n="hwb";break}default:{t=G3.get.rgb(o),n="rgb";break}}return t?{model:n,value:t}:null},G3.get.rgb=function(o){if(!o)return null;const e=/^#([a-f\d]{3,4})$/i,t=/^#([a-f\d]{6})([a-f\d]{2})?$/i,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,L=/^(\w+)$/;let c=[0,0,0,1],u,d,f;if(u=o.match(t)){for(f=u[2],u=u[1],d=0;d<3;d++){const g=d*2;c[d]=Number.parseInt(u.slice(g,g+2),16)}f&&(c[3]=Number.parseInt(f,16)/255)}else if(u=o.match(e)){for(u=u[1],f=u[3],d=0;d<3;d++)c[d]=Number.parseInt(u[d]+u[d],16);f&&(c[3]=Number.parseInt(f+f,16)/255)}else if(u=o.match(n)){for(d=0;d<3;d++)c[d]=Number.parseInt(u[d+1],10);u[4]&&(c[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else if(u=o.match(r)){for(d=0;d<3;d++)c[d]=Math.round(Number.parseFloat(u[d+1])*2.55);u[4]&&(c[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else return(u=o.match(L))?u[1]==="transparent"?[0,0,0,0]:Object.hasOwn(M6,u[1])?(c=M6[u[1]],c[3]=1,c):null:null;for(d=0;d<3;d++)c[d]=g0(c[d],0,255);return c[3]=g0(c[3],0,1),c},G3.get.hsl=function(o){if(!o)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=o.match(e);if(t){const n=Number.parseFloat(t[4]),r=(Number.parseFloat(t[1])%360+360)%360,L=g0(Number.parseFloat(t[2]),0,100),c=g0(Number.parseFloat(t[3]),0,100),u=g0(Number.isNaN(n)?1:n,0,1);return[r,L,c,u]}return null},G3.get.hwb=function(o){if(!o)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=o.match(e);if(t){const n=Number.parseFloat(t[4]),r=(Number.parseFloat(t[1])%360+360)%360,L=g0(Number.parseFloat(t[2]),0,100),c=g0(Number.parseFloat(t[3]),0,100),u=g0(Number.isNaN(n)?1:n,0,1);return[r,L,c,u]}return null},G3.to.hex=function(...o){return"#"+Je(o[0])+Je(o[1])+Je(o[2])+(o[3]<1?Je(Math.round(o[3]*255)):"")},G3.to.rgb=function(...o){return o.length<4||o[3]===1?"rgb("+Math.round(o[0])+", "+Math.round(o[1])+", "+Math.round(o[2])+")":"rgba("+Math.round(o[0])+", "+Math.round(o[1])+", "+Math.round(o[2])+", "+o[3]+")"},G3.to.rgb.percent=function(...o){const e=Math.round(o[0]/255*100),t=Math.round(o[1]/255*100),n=Math.round(o[2]/255*100);return o.length<4||o[3]===1?"rgb("+e+"%, "+t+"%, "+n+"%)":"rgba("+e+"%, "+t+"%, "+n+"%, "+o[3]+")"},G3.to.hsl=function(...o){return o.length<4||o[3]===1?"hsl("+o[0]+", "+o[1]+"%, "+o[2]+"%)":"hsla("+o[0]+", "+o[1]+"%, "+o[2]+"%, "+o[3]+")"},G3.to.hwb=function(...o){let e="";return o.length>=4&&o[3]!==1&&(e=", "+o[3]),"hwb("+o[0]+", "+o[1]+"%, "+o[2]+"%"+e+")"},G3.to.keyword=function(...o){return ad[o.slice(0,3)]};function g0(o,e,t){return Math.min(Math.max(e,o),t)}function Je(o){const e=Math.round(o).toString(16).toUpperCase();return e.length<2?"0"+e:e}function dA(o){const e=G3.get.rgb(o)||[0,0,0],[t,n,r]=e;return(t*299+n*587+r*114)/1e3}function hA(o){const e=G3.get.rgb(o)||[0,0,0],[t,n,r]=e;return`rgb(${t}, ${n}, ${r})`}function fA(o){let e=0,t=o;for(;t;)e+=t.offsetTop,t=t.offsetParent;return e}const S6=/[!@#$%^&*()+-,.?''":{}|<>/\s]/,et=(o,e={})=>{const{singleClick:t=!1,clickDelay:n=300,showHoverHint:r=!0}=e,[L,c]=M.useState(!1),[u,d]=M.useState(!1),f=M.useRef(null),g=M.useRef(0),p=O=>{O.preventDefault(),O.stopPropagation(),c(!0),setTimeout(()=>{const F=O.target;if(!F)return;F.focus();const t2=document.createRange();t2.selectNodeContents(F),t2.collapse(!1);const H=window.getSelection();H&&(H.removeAllRanges(),H.addRange(t2))},0)};return{editing:L,isHovered:u,handleClick:t?O=>{L||t&&(g.current++,f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{g.current===1&&p(O),g.current=0},n))}:void 0,handleDoubleClick:O=>{L||(f.current&&(clearTimeout(f.current),g.current=0),p(O))},handleMouseEnter:()=>{r&&!L&&d(!0)},handleMouseLeave:()=>{d(!1)},handleBlur:O=>{setTimeout(()=>{L&&(c(!1),d(!1),o(O))},0)},handleKeydown:O=>{O.key==="Enter"&&(O.preventDefault(),O.stopPropagation())},handleKeyup:O=>{(O.key==="Enter"||O.key==="Escape"||O.key==="Tab")&&(c(!1),d(!1),o(O))},getEditableClasses:(O="")=>{const F=[O,"editable-label-base"];return L?F.push("editable-label-editing"):u&&r?F.push("editable-label-hover"):F.push("cursor-pointer"),F.filter(Boolean).join(" ")}}},gA=["Missing Constructor","ZenUML"],pA=o=>{const e=G2(b9),[t,n]=q4(e5),r=G2(s6),L=d=>function(f){f.preventDefault(),f.stopPropagation();const g=f.target;if(!(g instanceof HTMLElement))return;let p=g.innerText.trim()??"";if(p===""||p===o.labelText){g.innerText=o.labelText;return}if(p.includes(" ")&&(p=p.replace(/\s+/g," ")),S6.test(p)&&(p=p.replace(/"/g,""),p=`"${p}"`,S6.lastIndex=0),!d||d.length===0)return;let m=t;for(const w of d){const[A,y]=w;m=m.slice(0,A)+p+m.slice(y)}n(m),r(m)},c=et(L(o.labelPositions??[]),{singleClick:!0,showHoverHint:!0}),u=et(L(o.assigneePositions??[]),{singleClick:!0,showHoverHint:!0});return x.jsxs("div",{className:"flex items-center justify-center",children:[o.assignee&&x.jsxs(x.Fragment,{children:[x.jsx("label",{title:"Click to edit",className:u.getEditableClasses("name pl-1 leading-4 right"),contentEditable:u.editing&&e===k4.Dynamic,suppressContentEditableWarning:!0,onClick:u.handleClick,onDoubleClick:u.handleDoubleClick,onMouseEnter:u.handleMouseEnter,onMouseLeave:u.handleMouseLeave,onBlur:u.handleBlur,onKeyUp:u.handleKeyup,onKeyDown:u.handleKeydown,children:o.assignee}),x.jsx("span",{children:":"})]}),x.jsx("label",{title:"Click to edit",className:c.getEditableClasses(W2("name leading-4 right",o.assignee?"pr-1":"px-1")),contentEditable:c.editing&&e===k4.Dynamic&&gA.indexOf(o.labelText)===-1,suppressContentEditableWarning:!0,onClick:c.handleClick,onDoubleClick:c.handleDoubleClick,onMouseEnter:c.handleMouseEnter,onMouseLeave:c.handleMouseLeave,onBlur:c.handleBlur,onKeyUp:c.handleKeyup,onKeyDown:c.handleKeydown,children:o.labelText})]})},_A=10,mA=o=>{var D;const e=M.useRef(null),t=G2(b9),n=G2(pe),r=G2(wo),L=G2(Ec),c=G2(_e),u=T5(jv),d=uA(),[f]=LA(),g=o.entity.name===W1,p=Array.from(n.GetPositions(o.entity.name)??[]).sort((z,O)=>O[0]-z[0]),m=Array.from(n.GetAssigneePositions(o.entity.name)??[]).sort((z,O)=>O[0]-z[0]),w=()=>{const z=o.offsetTop2||0;let O=d+f;d>_A&&L&&(O+=L);const F=(r==null?void 0:r.clientHeight)||0,t2=r?fA(r):0;return O<z+t2?0:Math.min(O-t2,F-gm-50)-z},A=t===k4.Static?0:w(),y=o.entity.color?hA(o.entity.color):void 0,Z=M.useMemo(()=>{if(!o.entity.color)return;const z=e.current&&window.getComputedStyle(e.current).getPropertyValue("background-color");if(z)return dA(z)>128?"#000":"#fff"},[o.entity.color]),k=g?"actor":(D=o.entity.type)==null?void 0:D.toLowerCase();return x.jsx("div",{className:W2("participant bg-skin-participant shadow-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 top-8",{selected:c.includes(o.entity.name)}),ref:e,style:{backgroundColor:g?void 0:y,color:g?void 0:Z,transform:`translateY(${A}px)`},onClick:()=>u(o.entity.name),"data-participant-id":o.entity.name,children:x.jsxs("div",{className:"flex items-center justify-center",children:[k&&x.jsx(fC,{iconKey:k,className:"h-6 w-6 mr-1 flex-shrink-0 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o.entity.name}`}),!g&&x.jsxs("div",{className:"h-5 group flex flex-col justify-center",children:[o.entity.stereotype&&x.jsxs("label",{className:"interface leading-4",children:["«",o.entity.stereotype,"»"]}),x.jsx(pA,{labelText:o.entity.assignee?o.entity.name.split(":")[1]:o.entity.label||o.entity.name,labelPositions:p,assignee:o.entity.assignee,assigneePositions:m})]})]})})},I4=(o,e)=>{if(!e)return console.warn("[@zenuml/core] centerOf: entity is undefined"),0;try{return o.getPosition(e)||0}catch(t){return console.error(t),0}},vA=(o,e,t)=>!e||!t?0:I4(o,t)-I4(o,e),tt=o=>{var w;const e=M.useRef(null),t=G2(Z4),n=G2(Fv),r=G2(Rc),L=G2(wo),c=G2(Tc),u=T5(yo),d=20,[f,g]=M.useState(d),p=I4(t,o.entity.name)-(o.groupLeft||0),m=M.useCallback(()=>{var k;const A=o.entity.name.replace(/([ #;&,.+*~':"!^$\[\]()=>|\/@])/g,"\\$1"),y=L==null?void 0:L.querySelector(`[data-to="${A}"]`),Z=(y==null?void 0:y.offsetParent)!=null;if(y&&y.getAttribute("data-type")==="creation"&&Z){const D=((k=e.current)==null?void 0:k.getBoundingClientRect().y)||0,z=y.getBoundingClientRect().y;g((z-D)/(c||1))}else g(d)},[L,o.entity.name,c]);return M.useEffect(()=>{const A=()=>{if(!n)return!1;const y=n.getCreationTop(o.entity.name),Z=y!=null?Math.max(d,y):d;return g(Z),!0};if(r==="server")A();else{const y=()=>setTimeout(m,0);return setTimeout(m,0),w6.on("participant_set_top",y),()=>w6.off("participant_set_top",y)}o.entity.name!==W1&&setTimeout(()=>{u(y=>y.includes(o.entity.name)?y:[...y,o.entity.name])},0)},[o.entity.name,n,r,u,m]),x.jsxs("div",{id:o.entity.name,"entity-type":(w=o.entity.type)==null?void 0:w.toLowerCase(),className:W2("lifeline absolute flex flex-col h-full",{"transform -translate-x-1/2":o.renderParticipants},o.className),style:{paddingTop:f+"px",left:p+"px",translate:0},ref:e,children:[o.renderParticipants&&x.jsx(mA,{entity:o.entity,offsetTop2:f}),o.renderLifeLine&&x.jsx("div",{className:"line w0 mx-auto flex-grow w-px bg-[linear-gradient(to_bottom,transparent_50%,var(--color-border-base)_50%)] bg-[length:1px_10px]"})]})},Ld=2,xA=o=>{var c,u;const e=G2(Z4),t=Y8(o.context).Array();if(t.length<=0)return null;const n=e.left(t[0].name)+Ld,r=e.right(t[t.length-1].name)-Ld,L=(u=(c=o.context)==null?void 0:c.name())==null?void 0:u.getFormattedText();return x.jsxs("div",{className:W2("lifeline-group-container absolute flex flex-col flex-grow h-full",{"outline-dashed outline-skin-primary":o.renderLifeLine}),style:{left:`${n}px`,width:`${r-n}px`},children:[o.renderParticipants&&L&&x.jsx("div",{className:"z-10 absolute flex items-center justify-center w-full bg-skin-frame",children:x.jsx("span",{className:"font-semibold text-skin-lifeline-group-name",children:L})}),x.jsx("div",{className:"lifeline-group relative flex-grow",children:t.map(d=>x.jsx(tt,{entity:d,groupLeft:n,renderLifeLine:o.renderLifeLine,renderParticipants:o.renderParticipants},d.name))})]})},vs=o=>{var L;const e=G2(b9),t=G2(Z4),n=G2(pe),r=M.useMemo(()=>{const c=t.orderedParticipantNames();return c.length===0?null:c[0]===W1?{...qa,name:W1,explicit:!1,isStarter:!0}:null},[t]);return x.jsx("div",{className:"life-line-layer lifeline-layer z-30 absolute h-full flex flex-col top-0 pt-2","data-participant-names":"participantNames",style:{minWidth:e===k4.Dynamic?"200px":"auto",width:`calc(100% - ${o.leftGap}px)`,pointerEvents:o.renderParticipants?"none":"all"},children:x.jsxs("div",{className:"z-lifeline-container relative grow",children:[r&&!(r!=null&&r.explicit)&&x.jsx(tt,{entity:r,className:"starter",renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine}),(((L=o.context)==null?void 0:L.children)||[]).filter(c=>c instanceof NL||c instanceof FL).map((c,u)=>x.jsxs(M.Fragment,{children:[c instanceof NL&&x.jsx(xA,{context:c,renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},u),c instanceof FL&&x.jsx(tt,{entity:Y8(c).First(),renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},u)]},u)),n.ImplicitArray().map(c=>x.jsx(tt,{entity:c,renderParticipants:o.renderParticipants,renderLifeLine:o.renderLifeLine},c.name))]})})},wA=o=>{const e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",section:"FragmentSection",critical:"FragmentCritical",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},t=Object.keys(e).find(n=>o[n]()!==null)||"";return e[t]},nt=o=>o&&o.stat()?o.stat().filter(e=>wA(e)!=="Divider").length:0,MA=(o,e)=>{if(o){const t=o.split(".");return t[t.length-1]=Number(t[t.length-1])+e,t.join(".")}else return String(e)};class y6{constructor(e,t){this.position=e,this.layers=t}centerToEdge(e){return e.rightEdgeOfRightWall()-this.centerOfRightWall()}centerToCenter(e){return e.centerOfRightWall()-this.centerOfRightWall()}edgeOffset(e){const t=e.position<this.position;let n,r;t?(n=e,r=this):(n=this,r=e);const L=n.rightEdgeOfRightWall(),u=r.leftEdgeOfRightWall()-L-$L;return t?u*-1:u}centerOfRightWall(){return this.layers<=1?this.position:this.position+le*(this.layers-1)}rightEdgeOfRightWall(){return this.position+le*this.layers}leftEdgeOfRightWall(){return this.layers===0?this.position:this.centerOfRightWall()-le}}const SA=(o,e)=>o==null?void 0:o.getAncestors(t=>(r=>{const L=r instanceof v.MessageContext,c=r instanceof v.CreationContext;return L||c})(t)?t.Owner()===e:!1).length,yA=(o,e)=>{const t=o.get(Z4).orderedParticipantNames(),n=X0(e);return t.find(r=>n.includes(r))},xs=(o,e)=>{const t=o.get(Z4).orderedParticipantNames(),r=new Xe(t).getFrame(e);return Ke(r)},AA=(o,e,t)=>{const n=o.get(Z4),r=yA(o,e)||"",L=n.half(r);if(r===t||!t)return console.debug(`left participant: ${r} ${L}`),xs(o,e).left+L;const c=SA(e,t),u=new y6(I4(n,t),c);return new y6(I4(n,r),0).centerToCenter(u)+xs(o,e).left+L},p0=(o,e)=>{const t=_n(),[n,r]=M.useState(!1),L=()=>{r(k=>!k)};M.useEffect(()=>{r(!1)},[o]);const c=t.get(Z4),u=c.orderedParticipantNames(),d=X0(o),f=u.find(k=>d.includes(k))||"",p=new Xe(u).getFrame(o),m=Ke(p),w=AA(t,o,e),A=c.half(f),y=xs(t,o).left+A,Z={transform:"translateX("+(w+1)*-1+"px)",width:rd(o,c)+"px",minWidth:UL+"px"};return{collapsed:n,toggleCollapse:L,offsetX:w,paddingLeft:y,fragmentStyle:Z,border:m,halfLeftParticipant:A,leftParticipant:f}};var ws,cd;function RA(){if(cd)return ws;cd=1;function o(W){return W instanceof Map?W.clear=W.delete=W.set=function(){throw new Error("map is read-only")}:W instanceof Set&&(W.add=W.clear=W.delete=function(){throw new Error("set is read-only")}),Object.freeze(W),Object.getOwnPropertyNames(W).forEach(function(s2){var m2=W[s2];typeof m2=="object"&&!Object.isFrozen(m2)&&o(m2)}),W}var e=o,t=o;e.default=t;class n{constructor(s2){s2.data===void 0&&(s2.data={}),this.data=s2.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(W){return W.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function L(W,...s2){const m2=Object.create(null);for(const O2 in W)m2[O2]=W[O2];return s2.forEach(function(O2){for(const Q2 in O2)m2[Q2]=O2[Q2]}),m2}const c="</span>",u=W=>!!W.kind;class d{constructor(s2,m2){this.buffer="",this.classPrefix=m2.classPrefix,s2.walk(this)}addText(s2){this.buffer+=r(s2)}openNode(s2){if(!u(s2))return;let m2=s2.kind;s2.sublanguage||(m2=`${this.classPrefix}${m2}`),this.span(m2)}closeNode(s2){u(s2)&&(this.buffer+=c)}value(){return this.buffer}span(s2){this.buffer+=`<span class="${s2}">`}}class f{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(s2){this.top.children.push(s2)}openNode(s2){const m2={kind:s2,children:[]};this.add(m2),this.stack.push(m2)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(s2){return this.constructor._walk(s2,this.rootNode)}static _walk(s2,m2){return typeof m2=="string"?s2.addText(m2):m2.children&&(s2.openNode(m2),m2.children.forEach(O2=>this._walk(s2,O2)),s2.closeNode(m2)),s2}static _collapse(s2){typeof s2!="string"&&s2.children&&(s2.children.every(m2=>typeof m2=="string")?s2.children=[s2.children.join("")]:s2.children.forEach(m2=>{f._collapse(m2)}))}}class g extends f{constructor(s2){super(),this.options=s2}addKeyword(s2,m2){s2!==""&&(this.openNode(m2),this.addText(s2),this.closeNode())}addText(s2){s2!==""&&this.add(s2)}addSublanguage(s2,m2){const O2=s2.root;O2.kind=m2,O2.sublanguage=!0,this.add(O2)}toHTML(){return new d(this,this.options).value()}finalize(){return!0}}function p(W){return new RegExp(W.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(W){return W?typeof W=="string"?W:W.source:null}function w(...W){return W.map(m2=>m(m2)).join("")}function A(...W){return"("+W.map(m2=>m(m2)).join("|")+")"}function y(W){return new RegExp(W.toString()+"|").exec("").length-1}function Z(W,s2){const m2=W&&W.exec(s2);return m2&&m2.index===0}const k=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D(W,s2="|"){let m2=0;return W.map(O2=>{m2+=1;const Q2=m2;let c1=m(O2),I1="";for(;c1.length>0;){const h2=k.exec(c1);if(!h2){I1+=c1;break}I1+=c1.substring(0,h2.index),c1=c1.substring(h2.index+h2[0].length),h2[0][0]==="\\"&&h2[1]?I1+="\\"+String(Number(h2[1])+Q2):(I1+=h2[0],h2[0]==="("&&m2++)}return I1}).map(O2=>`(${O2})`).join(s2)}const z=/\b\B/,O="[a-zA-Z]\\w*",F="[a-zA-Z_]\\w*",t2="\\b\\d+(\\.\\d+)?",H="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Q="\\b(0b[01]+)",n2="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",L2=(W={})=>{const s2=/^#![ ]*\//;return W.binary&&(W.begin=w(s2,/.*\b/,W.binary,/\b.*/)),L({className:"meta",begin:s2,end:/$/,relevance:0,"on:begin":(m2,O2)=>{m2.index!==0&&O2.ignoreMatch()}},W)},r2={begin:"\\\\[\\s\\S]",relevance:0},C2={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[r2]},x2={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[r2]},D2={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/},$=function(W,s2,m2={}){const O2=L({className:"comment",begin:W,end:s2,contains:[]},m2);return O2.contains.push(D2),O2.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),O2},T=$("//","$"),U=$("/\\*","\\*/"),B=$("#","$"),p2={className:"number",begin:t2,relevance:0},R={className:"number",begin:H,relevance:0},J={className:"number",begin:Q,relevance:0},i2={className:"number",begin:t2+"(%|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},V={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[r2,{begin:/\[/,end:/\]/,relevance:0,contains:[r2]}]}]},e2={className:"title",begin:O,relevance:0},_2={className:"title",begin:F,relevance:0},v2={begin:"\\.\\s*"+F,relevance:0};var Y2=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z,IDENT_RE:O,UNDERSCORE_IDENT_RE:F,NUMBER_RE:t2,C_NUMBER_RE:H,BINARY_NUMBER_RE:Q,RE_STARTERS_RE:n2,SHEBANG:L2,BACKSLASH_ESCAPE:r2,APOS_STRING_MODE:C2,QUOTE_STRING_MODE:x2,PHRASAL_WORDS_MODE:D2,COMMENT:$,C_LINE_COMMENT_MODE:T,C_BLOCK_COMMENT_MODE:U,HASH_COMMENT_MODE:B,NUMBER_MODE:p2,C_NUMBER_MODE:R,BINARY_NUMBER_MODE:J,CSS_NUMBER_MODE:i2,REGEXP_MODE:V,TITLE_MODE:e2,UNDERSCORE_TITLE_MODE:_2,METHOD_GUARD:v2,END_SAME_AS_BEGIN:function(W){return Object.assign(W,{"on:begin":(s2,m2)=>{m2.data._beginMatch=s2[1]},"on:end":(s2,m2)=>{m2.data._beginMatch!==s2[1]&&m2.ignoreMatch()}})}});function R1(W,s2){W.input[W.index-1]==="."&&s2.ignoreMatch()}function v1(W,s2){s2&&W.beginKeywords&&(W.begin="\\b("+W.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",W.__beforeBegin=R1,W.keywords=W.keywords||W.beginKeywords,delete W.beginKeywords,W.relevance===void 0&&(W.relevance=0))}function J1(W,s2){Array.isArray(W.illegal)&&(W.illegal=A(...W.illegal))}function e3(W,s2){if(W.match){if(W.begin||W.end)throw new Error("begin & end are not supported with match");W.begin=W.match,delete W.match}}function V3(W,s2){W.relevance===void 0&&(W.relevance=1)}const I3=["of","and","for","in","not","or","if","then","parent","list","value"],h9="keyword";function z4(W,s2,m2=h9){const O2={};return typeof W=="string"?Q2(m2,W.split(" ")):Array.isArray(W)?Q2(m2,W):Object.keys(W).forEach(function(c1){Object.assign(O2,z4(W[c1],s2,c1))}),O2;function Q2(c1,I1){s2&&(I1=I1.map(h2=>h2.toLowerCase())),I1.forEach(function(h2){const S2=h2.split("|");O2[S2[0]]=[c1,U1(S2[0],S2[1])]})}}function U1(W,s2){return s2?Number(s2):_0(W)?0:1}function _0(W){return I3.includes(W.toLowerCase())}function z9(W,{plugins:s2}){function m2(h2,S2){return new RegExp(m(h2),"m"+(W.case_insensitive?"i":"")+(S2?"g":""))}class O2{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(S2,H2){H2.position=this.position++,this.matchIndexes[this.matchAt]=H2,this.regexes.push([H2,S2]),this.matchAt+=y(S2)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const S2=this.regexes.map(H2=>H2[1]);this.matcherRe=m2(D(S2),!0),this.lastIndex=0}exec(S2){this.matcherRe.lastIndex=this.lastIndex;const H2=this.matcherRe.exec(S2);if(!H2)return null;const q2=H2.findIndex((t3,P1)=>P1>0&&t3!==void 0),x1=this.matchIndexes[q2];return H2.splice(0,q2),Object.assign(H2,x1)}}class Q2{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(S2){if(this.multiRegexes[S2])return this.multiRegexes[S2];const H2=new O2;return this.rules.slice(S2).forEach(([q2,x1])=>H2.addRule(q2,x1)),H2.compile(),this.multiRegexes[S2]=H2,H2}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(S2,H2){this.rules.push([S2,H2]),H2.type==="begin"&&this.count++}exec(S2){const H2=this.getMatcher(this.regexIndex);H2.lastIndex=this.lastIndex;let q2=H2.exec(S2);if(this.resumingScanAtSamePosition()&&!(q2&&q2.index===this.lastIndex)){const x1=this.getMatcher(0);x1.lastIndex=this.lastIndex+1,q2=x1.exec(S2)}return q2&&(this.regexIndex+=q2.position+1,this.regexIndex===this.count&&this.considerAll()),q2}}function c1(h2){const S2=new Q2;return h2.contains.forEach(H2=>S2.addRule(H2.begin,{rule:H2,type:"begin"})),h2.terminatorEnd&&S2.addRule(h2.terminatorEnd,{type:"end"}),h2.illegal&&S2.addRule(h2.illegal,{type:"illegal"}),S2}function I1(h2,S2){const H2=h2;if(h2.isCompiled)return H2;[e3].forEach(x1=>x1(h2,S2)),W.compilerExtensions.forEach(x1=>x1(h2,S2)),h2.__beforeBegin=null,[v1,J1,V3].forEach(x1=>x1(h2,S2)),h2.isCompiled=!0;let q2=null;if(typeof h2.keywords=="object"&&(q2=h2.keywords.$pattern,delete h2.keywords.$pattern),h2.keywords&&(h2.keywords=z4(h2.keywords,W.case_insensitive)),h2.lexemes&&q2)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return q2=q2||h2.lexemes||/\w+/,H2.keywordPatternRe=m2(q2,!0),S2&&(h2.begin||(h2.begin=/\B|\b/),H2.beginRe=m2(h2.begin),h2.endSameAsBegin&&(h2.end=h2.begin),!h2.end&&!h2.endsWithParent&&(h2.end=/\B|\b/),h2.end&&(H2.endRe=m2(h2.end)),H2.terminatorEnd=m(h2.end)||"",h2.endsWithParent&&S2.terminatorEnd&&(H2.terminatorEnd+=(h2.end?"|":"")+S2.terminatorEnd)),h2.illegal&&(H2.illegalRe=m2(h2.illegal)),h2.contains||(h2.contains=[]),h2.contains=[].concat(...h2.contains.map(function(x1){return P9(x1==="self"?h2:x1)})),h2.contains.forEach(function(x1){I1(x1,H2)}),h2.starts&&I1(h2.starts,S2),H2.matcher=c1(H2),H2}if(W.compilerExtensions||(W.compilerExtensions=[]),W.contains&&W.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return W.classNameAliases=L(W.classNameAliases||{}),I1(W)}function m0(W){return W?W.endsWithParent||m0(W.starts):!1}function P9(W){return W.variants&&!W.cachedVariants&&(W.cachedVariants=W.variants.map(function(s2){return L(W,{variants:null},s2)})),W.cachedVariants?W.cachedVariants:m0(W)?L(W,{starts:W.starts?L(W.starts):null}):Object.isFrozen(W)?L(W):W}var T6="10.7.3";function v0(W){return!!(W||W==="")}function D9(W){const s2={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!W.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,r(this.code);let O2={};return this.autoDetect?(O2=W.highlightAuto(this.code),this.detectedLanguage=O2.language):(O2=W.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),O2.value},autoDetect(){return!this.language||v0(this.autodetect)},ignoreIllegals(){return!0}},render(O2){return O2("pre",{},[O2("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s2,VuePlugin:{install(O2){O2.component("highlightjs",s2)}}}}const f9={"after:highlightElement":({el:W,result:s2,text:m2})=>{const O2=L3(W);if(!O2.length)return;const Q2=document.createElement("div");Q2.innerHTML=s2.value,s2.value=f4(O2,L3(Q2),m2)}};function O3(W){return W.nodeName.toLowerCase()}function L3(W){const s2=[];return(function m2(O2,Q2){for(let c1=O2.firstChild;c1;c1=c1.nextSibling)c1.nodeType===3?Q2+=c1.nodeValue.length:c1.nodeType===1&&(s2.push({event:"start",offset:Q2,node:c1}),Q2=m2(c1,Q2),O3(c1).match(/br|hr|img|input/)||s2.push({event:"stop",offset:Q2,node:c1}));return Q2})(W,0),s2}function f4(W,s2,m2){let O2=0,Q2="";const c1=[];function I1(){return!W.length||!s2.length?W.length?W:s2:W[0].offset!==s2[0].offset?W[0].offset<s2[0].offset?W:s2:s2[0].event==="start"?W:s2}function h2(q2){function x1(t3){return" "+t3.nodeName+'="'+r(t3.value)+'"'}Q2+="<"+O3(q2)+[].map.call(q2.attributes,x1).join("")+">"}function S2(q2){Q2+="</"+O3(q2)+">"}function H2(q2){(q2.event==="start"?h2:S2)(q2.node)}for(;W.length||s2.length;){let q2=I1();if(Q2+=r(m2.substring(O2,q2[0].offset)),O2=q2[0].offset,q2===W){c1.reverse().forEach(S2);do H2(q2.splice(0,1)[0]),q2=I1();while(q2===W&&q2.length&&q2[0].offset===O2);c1.reverse().forEach(h2)}else q2[0].event==="start"?c1.push(q2[0].node):c1.pop(),H2(q2.splice(0,1)[0])}return Q2+r(m2.substr(O2))}const c3={},N9=W=>{console.error(W)},c5=(W,...s2)=>{console.log(`WARN: ${W}`,...s2)},C3=(W,s2)=>{c3[`${W}/${s2}`]||(console.log(`Deprecated as of ${W}. ${s2}`),c3[`${W}/${s2}`]=!0)},g4=r,x3=L,w3=Symbol("nomatch");var J4=function(W){const s2=Object.create(null),m2=Object.create(null),O2=[];let Q2=!0;const c1=/(^(<[^>]+>|\t|)+|\n)/gm,I1="Could not find the language '{}', did you forget to load/include a language module?",h2={disableAutodetect:!0,name:"Plain text",contains:[]};let S2={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:g};function H2(u2){return S2.noHighlightRe.test(u2)}function q2(u2){let M2=u2.className+" ";M2+=u2.parentNode?u2.parentNode.className:"";const i1=S2.languageDetectRe.exec(M2);if(i1){const p1=a1(i1[1]);return p1||(c5(I1.replace("{}",i1[1])),c5("Falling back to no-highlight mode for this block.",u2)),p1?i1[1]:"no-highlight"}return M2.split(/\s+/).find(p1=>H2(p1)||a1(p1))}function x1(u2,M2,i1,p1){let i3="",g9="";typeof M2=="object"?(i3=u2,i1=M2.ignoreIllegals,g9=M2.language,p1=void 0):(C3("10.7.0","highlight(lang, code, ...args) has been deprecated."),C3("10.7.0",`Please use highlight(code, options) instead.
|
|
219
219
|
https://github.com/highlightjs/highlight.js/issues/2277`),g9=u2,i3=M2);const D1={code:i3,language:g9};Y3("before:highlight",D1);const m4=D1.result?D1.result:t3(D1.language,D1.code,i1,p1);return m4.code=D1.code,Y3("after:highlight",m4),m4}function t3(u2,M2,i1,p1){function i3(E2,F2){const K2=p9.case_insensitive?F2[0].toLowerCase():F2[0];return Object.prototype.hasOwnProperty.call(E2.keywords,K2)&&E2.keywords[K2]}function g9(){if(!e1.keywords){M3.addText(N1);return}let E2=0;e1.keywordPatternRe.lastIndex=0;let F2=e1.keywordPatternRe.exec(N1),K2="";for(;F2;){K2+=N1.substring(E2,F2.index);const C1=i3(e1,F2);if(C1){const[Q1,u5]=C1;if(M3.addText(K2),K2="",C5+=u5,Q1.startsWith("_"))K2+=F2[0];else{const I6=p9.classNameAliases[Q1]||Q1;M3.addKeyword(F2[0],I6)}}else K2+=F2[0];E2=e1.keywordPatternRe.lastIndex,F2=e1.keywordPatternRe.exec(N1)}K2+=N1.substr(E2),M3.addText(K2)}function D1(){if(N1==="")return;let E2=null;if(typeof e1.subLanguage=="string"){if(!s2[e1.subLanguage]){M3.addText(N1);return}E2=t3(e1.subLanguage,N1,!0,B9[e1.subLanguage]),B9[e1.subLanguage]=E2.top}else E2=n3(N1,e1.subLanguage.length?e1.subLanguage:null);e1.relevance>0&&(C5+=E2.relevance),M3.addSublanguage(E2.emitter,E2.language)}function m4(){e1.subLanguage!=null?D1():g9(),N1=""}function F4(E2){return E2.className&&M3.openNode(p9.classNameAliases[E2.className]||E2.className),e1=Object.create(E2,{parent:{value:e1}}),e1}function v4(E2,F2,K2){let C1=Z(E2.endRe,K2);if(C1){if(E2["on:end"]){const Q1=new n(E2);E2["on:end"](F2,Q1),Q1.isMatchIgnored&&(C1=!1)}if(C1){for(;E2.endsParent&&E2.parent;)E2=E2.parent;return E2}}if(E2.endsWithParent)return v4(E2.parent,F2,K2)}function rt(E2){return e1.matcher.regexIndex===0?(N1+=E2[0],1):(E6=!0,0)}function n8(E2){const F2=E2[0],K2=E2.rule,C1=new n(K2),Q1=[K2.__beforeBegin,K2["on:begin"]];for(const u5 of Q1)if(u5&&(u5(E2,C1),C1.isMatchIgnored))return rt(F2);return K2&&K2.endSameAsBegin&&(K2.endRe=p(F2)),K2.skip?N1+=F2:(K2.excludeBegin&&(N1+=F2),m4(),!K2.returnBegin&&!K2.excludeBegin&&(N1=F2)),F4(K2),K2.returnBegin?0:F2.length}function Ds(E2){const F2=E2[0],K2=M2.substr(E2.index),C1=v4(e1,E2,K2);if(!C1)return w3;const Q1=e1;Q1.skip?N1+=F2:(Q1.returnEnd||Q1.excludeEnd||(N1+=F2),m4(),Q1.excludeEnd&&(N1=F2));do e1.className&&M3.closeNode(),!e1.skip&&!e1.subLanguage&&(C5+=e1.relevance),e1=e1.parent;while(e1!==C1.parent);return C1.starts&&(C1.endSameAsBegin&&(C1.starts.endRe=C1.endRe),F4(C1.starts)),Q1.returnEnd?0:F2.length}function i4(){const E2=[];for(let F2=e1;F2!==p9;F2=F2.parent)F2.className&&E2.unshift(F2.className);E2.forEach(F2=>M3.openNode(F2))}let w0={};function k6(E2,F2){const K2=F2&&F2[0];if(N1+=E2,K2==null)return m4(),0;if(w0.type==="begin"&&F2.type==="end"&&w0.index===F2.index&&K2===""){if(N1+=M2.slice(F2.index,F2.index+1),!Q2){const C1=new Error("0 width match regex");throw C1.languageName=u2,C1.badRule=w0.rule,C1}return 1}if(w0=F2,F2.type==="begin")return n8(F2);if(F2.type==="illegal"&&!i1){const C1=new Error('Illegal lexeme "'+K2+'" for mode "'+(e1.className||"<unnamed>")+'"');throw C1.mode=e1,C1}else if(F2.type==="end"){const C1=Ds(F2);if(C1!==w3)return C1}if(F2.type==="illegal"&&K2==="")return 1;if(Z6>1e5&&Z6>F2.index*3)throw new Error("potential infinite loop, way more iterations than matches");return N1+=K2,K2.length}const p9=a1(u2);if(!p9)throw N9(I1.replace("{}",u2)),new Error('Unknown language: "'+u2+'"');const M0=z9(p9,{plugins:O2});let i8="",e1=p1||M0;const B9={},M3=new S2.__emitter(S2);i4();let N1="",C5=0,_9=0,Z6=0,E6=!1;try{for(e1.matcher.considerAll();;){Z6++,E6?E6=!1:e1.matcher.considerAll(),e1.matcher.lastIndex=_9;const E2=e1.matcher.exec(M2);if(!E2)break;const F2=M2.substring(_9,E2.index),K2=k6(F2,E2);_9=E2.index+K2}return k6(M2.substr(_9)),M3.closeAllNodes(),M3.finalize(),i8=M3.toHTML(),{relevance:Math.floor(C5),value:i8,language:u2,illegal:!1,emitter:M3,top:e1}}catch(E2){if(E2.message&&E2.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:E2.message,context:M2.slice(_9-100,_9+100),mode:E2.mode},sofar:i8,relevance:0,value:g4(M2),emitter:M3};if(Q2)return{illegal:!1,relevance:0,value:g4(M2),emitter:M3,language:u2,top:e1,errorRaised:E2};throw E2}}function P1(u2){const M2={relevance:0,emitter:new S2.__emitter(S2),value:g4(u2),illegal:!1,top:h2};return M2.emitter.addText(u2),M2}function n3(u2,M2){M2=M2||S2.languages||Object.keys(s2);const i1=P1(u2),p1=M2.filter(a1).filter(k1).map(F4=>t3(F4,u2,!1));p1.unshift(i1);const i3=p1.sort((F4,v4)=>{if(F4.relevance!==v4.relevance)return v4.relevance-F4.relevance;if(F4.language&&v4.language){if(a1(F4.language).supersetOf===v4.language)return 1;if(a1(v4.language).supersetOf===F4.language)return-1}return 0}),[g9,D1]=i3,m4=g9;return m4.second_best=D1,m4}function u3(u2){return S2.tabReplace||S2.useBR?u2.replace(c1,M2=>M2===`
|
|
220
220
|
`?S2.useBR?"<br>":M2:S2.tabReplace?M2.replace(/\t/g,S2.tabReplace):M2):u2}function P4(u2,M2,i1){const p1=M2?m2[M2]:i1;u2.classList.add("hljs"),p1&&u2.classList.add(p1)}const e8={"before:highlightElement":({el:u2})=>{S2.useBR&&(u2.innerHTML=u2.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
221
|
-
`))},"after:highlightElement":({result:u2})=>{S2.useBR&&(u2.value=u2.value.replace(/\n/g,"<br>"))}},t8=/^(<[^>]+>|\t)+/gm,x0={"after:highlightElement":({result:u2})=>{S2.tabReplace&&(u2.value=u2.value.replace(t8,M2=>M2.replace(/\t/g,S2.tabReplace)))}};function p4(u2){let M2=null;const i1=q2(u2);if(H2(i1))return;Y3("before:highlightElement",{el:u2,language:i1}),M2=u2;const p1=M2.textContent,i3=i1?x1(p1,{language:i1,ignoreIllegals:!0}):n3(p1);Y3("after:highlightElement",{el:u2,result:i3,text:p1}),u2.innerHTML=i3.value,P4(u2,i1,i3.language),u2.result={language:i3.language,re:i3.relevance,relavance:i3.relevance},i3.second_best&&(u2.second_best={language:i3.second_best.language,re:i3.second_best.relevance,relavance:i3.second_best.relevance})}function q3(u2){u2.useBR&&(C3("10.3.0","'useBR' will be removed entirely in v11.0"),C3("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),S2=x3(S2,u2)}const _4=()=>{if(_4.called)return;_4.called=!0,C3("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(p4)};function e9(){C3("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),D4=!0}let D4=!1;function N4(){if(document.readyState==="loading"){D4=!0;return}document.querySelectorAll("pre code").forEach(p4)}function H1(){D4&&N4()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",H1,!1);function I2(u2,M2){let i1=null;try{i1=M2(W)}catch(p1){if(N9("Language definition for '{}' could not be registered.".replace("{}",u2)),Q2)N9(p1);else throw p1;i1=h2}i1.name||(i1.name=u2),s2[u2]=i1,i1.rawDefinition=M2.bind(null,W),i1.aliases&&$1(i1.aliases,{languageName:u2})}function I(u2){delete s2[u2];for(const M2 of Object.keys(m2))m2[M2]===u2&&delete m2[M2]}function d2(){return Object.keys(s2)}function w2(u2){C3("10.4.0","requireLanguage will be removed entirely in v11."),C3("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const M2=a1(u2);if(M2)return M2;throw new Error("The '{}' language is required, but not loaded.".replace("{}",u2))}function a1(u2){return u2=(u2||"").toLowerCase(),s2[u2]||s2[m2[u2]]}function $1(u2,{languageName:M2}){typeof u2=="string"&&(u2=[u2]),u2.forEach(i1=>{m2[i1.toLowerCase()]=M2})}function k1(u2){const M2=a1(u2);return M2&&!M2.disableAutodetect}function g3(u2){u2["before:highlightBlock"]&&!u2["before:highlightElement"]&&(u2["before:highlightElement"]=M2=>{u2["before:highlightBlock"](Object.assign({block:M2.el},M2))}),u2["after:highlightBlock"]&&!u2["after:highlightElement"]&&(u2["after:highlightElement"]=M2=>{u2["after:highlightBlock"](Object.assign({block:M2.el},M2))})}function z3(u2){g3(u2),O2.push(u2)}function Y3(u2,M2){const i1=u2;O2.forEach(function(p1){p1[i1]&&p1[i1](M2)})}function Q3(u2){return C3("10.2.0","fixMarkup will be removed entirely in v11.0"),C3("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),u3(u2)}function G1(u2){return C3("10.7.0","highlightBlock will be removed entirely in v12.0"),C3("10.7.0","Please use highlightElement now."),p4(u2)}Object.assign(W,{highlight:x1,highlightAuto:n3,highlightAll:N4,fixMarkup:Q3,highlightElement:p4,highlightBlock:G1,configure:q3,initHighlighting:_4,initHighlightingOnLoad:e9,registerLanguage:I2,unregisterLanguage:I,listLanguages:d2,getLanguage:a1,registerAliases:$1,requireLanguage:w2,autoDetection:k1,inherit:x3,addPlugin:z3,vuePlugin:D9(W).VuePlugin}),W.debugMode=function(){Q2=!1},W.safeMode=function(){Q2=!0},W.versionString=T6;for(const u2 in Y2)typeof Y2[u2]=="object"&&e(Y2[u2]);return Object.assign(W,Y2),W.addPlugin(e8),W.addPlugin(f9),W.addPlugin(x0),W}({});return ws=J4,ws}var bA=RA();const a5=Y1(bA);var Ms,Cd;function TA(){if(Cd)return Ms;Cd=1;function o(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ms=o,Ms}var kA=TA();const ZA=Y1(kA);var Ss,ud;function EA(){if(ud)return Ss;ud=1;const o="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],t=["true","false","null","undefined","NaN","Infinity"],n=["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"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],L=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],u=[].concat(L,c,n,r);function d(m){return m?typeof m=="string"?m:m.source:null}function f(m){return g("(?=",m,")")}function g(...m){return m.map(A=>d(A)).join("")}function p(m){const w=(T,{after:U})=>{const B="</"+T[0].slice(1);return T.input.indexOf(B,U)!==-1},A=o,y={begin:"<>",end:"</>"},Z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,U)=>{const B=T[0].length+T.index,g2=T.input[B];if(g2==="<"){U.ignoreMatch();return}g2===">"&&(w(T,{after:B})||U.ignoreMatch())}},k={$pattern:o,keyword:e,literal:t,built_in:u},D="[0-9](_?[0-9])*",z=`\\.(${D})`,O="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",F={className:"number",variants:[{begin:`(\\b(${O})((${z})|\\.)?|(${z}))[eE][+-]?(${D})\\b`},{begin:`\\b(${O})\\b((${z})\\b|\\.)?|(${z})\\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},t2={className:"subst",begin:"\\$\\{",end:"\\}",keywords:k,contains:[]},H={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,t2],subLanguage:"xml"}},Q={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,t2],subLanguage:"css"}},n2={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,t2]},r2={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:A+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},C2=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,H,Q,n2,F,m.REGEXP_MODE];t2.contains=C2.concat({begin:/\{/,end:/\}/,keywords:k,contains:["self"].concat(C2)});const x2=[].concat(r2,t2.contains),D2=x2.concat([{begin:/\(/,end:/\)/,keywords:k,contains:["self"].concat(x2)}]),$={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:k,contains:D2};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:k,exports:{PARAMS_CONTAINS:D2},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,H,Q,n2,r2,F,{begin:g(/[{,\n]\s*/,f(g(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,A+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:A+f("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r2,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:k,contains:D2}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:y.begin,end:y.end},{begin:Z.begin,"on:begin":Z.isTrulyOpeningTag,end:Z.end}],subLanguage:"xml",contains:[{begin:Z.begin,end:Z.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:k,contains:["self",m.inherit(m.TITLE_MODE,{begin:A}),$],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[$,m.inherit(m.TITLE_MODE,{begin:A})]},{variants:[{begin:"\\."+A},{begin:"\\$"+A}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:A}),"self",$]},{begin:"(get|set)\\s+(?="+A+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:A}),{begin:/\(\)/},$]},{begin:/\$[(.]/}]}}return Ss=p,Ss}var IA=EA();const OA=Y1(IA);var ys,dd;function zA(){if(dd)return ys;dd=1;function o(n){return n?typeof n=="string"?n:n.source:null}function e(...n){return n.map(L=>o(L)).join("")}function t(n){const r={},L={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},L]});const c={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},u={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,r,c]};c.contains.push(d);const f={className:"",begin:/\\"/},g={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,r]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],w=n.SHEBANG({binary:`(${m.join("|")})`,relevance:10}),A={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:[w,n.SHEBANG(),A,p,n.HASH_COMMENT_MODE,u,d,f,g,r]}}return ys=t,ys}var PA=zA();const DA=Y1(PA);var As,hd;function NA(){if(hd)return As;hd=1;function o(e){var t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},L={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},c={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,L]},u=e.inherit(c,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d="[0-9]{4}(-[0-9][0-9]){0,2}",f="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",g="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",m={className:"number",begin:"\\b"+d+f+g+p+"\\b"},w={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},A={begin:/\{/,end:/\}/,contains:[w],illegal:"\\n",relevance:0},y={begin:"\\[",end:"\\]",contains:[w],illegal:"\\n",relevance:0},Z=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},m,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},A,y,c],k=[...Z];return k.pop(),k.push(u),w.contains=k,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:Z}}return As=o,As}var FA=NA();const BA=Y1(FA);a5.registerLanguage("plaintext",ZA),a5.registerLanguage("javascript",OA),a5.registerLanguage("bash",DA),a5.registerLanguage("yaml",BA);const jA={codespan(o){const t=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(o);return(t==null?void 0:t.length)===3?`
|
|
221
|
+
`))},"after:highlightElement":({result:u2})=>{S2.useBR&&(u2.value=u2.value.replace(/\n/g,"<br>"))}},t8=/^(<[^>]+>|\t)+/gm,x0={"after:highlightElement":({result:u2})=>{S2.tabReplace&&(u2.value=u2.value.replace(t8,M2=>M2.replace(/\t/g,S2.tabReplace)))}};function p4(u2){let M2=null;const i1=q2(u2);if(H2(i1))return;Y3("before:highlightElement",{el:u2,language:i1}),M2=u2;const p1=M2.textContent,i3=i1?x1(p1,{language:i1,ignoreIllegals:!0}):n3(p1);Y3("after:highlightElement",{el:u2,result:i3,text:p1}),u2.innerHTML=i3.value,P4(u2,i1,i3.language),u2.result={language:i3.language,re:i3.relevance,relavance:i3.relevance},i3.second_best&&(u2.second_best={language:i3.second_best.language,re:i3.second_best.relevance,relavance:i3.second_best.relevance})}function q3(u2){u2.useBR&&(C3("10.3.0","'useBR' will be removed entirely in v11.0"),C3("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),S2=x3(S2,u2)}const _4=()=>{if(_4.called)return;_4.called=!0,C3("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(p4)};function e9(){C3("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),D4=!0}let D4=!1;function N4(){if(document.readyState==="loading"){D4=!0;return}document.querySelectorAll("pre code").forEach(p4)}function H1(){D4&&N4()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",H1,!1);function I2(u2,M2){let i1=null;try{i1=M2(W)}catch(p1){if(N9("Language definition for '{}' could not be registered.".replace("{}",u2)),Q2)N9(p1);else throw p1;i1=h2}i1.name||(i1.name=u2),s2[u2]=i1,i1.rawDefinition=M2.bind(null,W),i1.aliases&&$1(i1.aliases,{languageName:u2})}function I(u2){delete s2[u2];for(const M2 of Object.keys(m2))m2[M2]===u2&&delete m2[M2]}function d2(){return Object.keys(s2)}function w2(u2){C3("10.4.0","requireLanguage will be removed entirely in v11."),C3("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const M2=a1(u2);if(M2)return M2;throw new Error("The '{}' language is required, but not loaded.".replace("{}",u2))}function a1(u2){return u2=(u2||"").toLowerCase(),s2[u2]||s2[m2[u2]]}function $1(u2,{languageName:M2}){typeof u2=="string"&&(u2=[u2]),u2.forEach(i1=>{m2[i1.toLowerCase()]=M2})}function k1(u2){const M2=a1(u2);return M2&&!M2.disableAutodetect}function g3(u2){u2["before:highlightBlock"]&&!u2["before:highlightElement"]&&(u2["before:highlightElement"]=M2=>{u2["before:highlightBlock"](Object.assign({block:M2.el},M2))}),u2["after:highlightBlock"]&&!u2["after:highlightElement"]&&(u2["after:highlightElement"]=M2=>{u2["after:highlightBlock"](Object.assign({block:M2.el},M2))})}function z3(u2){g3(u2),O2.push(u2)}function Y3(u2,M2){const i1=u2;O2.forEach(function(p1){p1[i1]&&p1[i1](M2)})}function Q3(u2){return C3("10.2.0","fixMarkup will be removed entirely in v11.0"),C3("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),u3(u2)}function G1(u2){return C3("10.7.0","highlightBlock will be removed entirely in v12.0"),C3("10.7.0","Please use highlightElement now."),p4(u2)}Object.assign(W,{highlight:x1,highlightAuto:n3,highlightAll:N4,fixMarkup:Q3,highlightElement:p4,highlightBlock:G1,configure:q3,initHighlighting:_4,initHighlightingOnLoad:e9,registerLanguage:I2,unregisterLanguage:I,listLanguages:d2,getLanguage:a1,registerAliases:$1,requireLanguage:w2,autoDetection:k1,inherit:x3,addPlugin:z3,vuePlugin:D9(W).VuePlugin}),W.debugMode=function(){Q2=!1},W.safeMode=function(){Q2=!0},W.versionString=T6;for(const u2 in Y2)typeof Y2[u2]=="object"&&e(Y2[u2]);return Object.assign(W,Y2),W.addPlugin(e8),W.addPlugin(f9),W.addPlugin(x0),W}({});return ws=J4,ws}var bA=RA();const a5=Y1(bA);var Ms,Cd;function TA(){if(Cd)return Ms;Cd=1;function o(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ms=o,Ms}var kA=TA();const ZA=Y1(kA);var Ss,ud;function EA(){if(ud)return Ss;ud=1;const o="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],t=["true","false","null","undefined","NaN","Infinity"],n=["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"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],L=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],u=[].concat(L,c,n,r);function d(m){return m?typeof m=="string"?m:m.source:null}function f(m){return g("(?=",m,")")}function g(...m){return m.map(A=>d(A)).join("")}function p(m){const w=(T,{after:U})=>{const B="</"+T[0].slice(1);return T.input.indexOf(B,U)!==-1},A=o,y={begin:"<>",end:"</>"},Z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,U)=>{const B=T[0].length+T.index,p2=T.input[B];if(p2==="<"){U.ignoreMatch();return}p2===">"&&(w(T,{after:B})||U.ignoreMatch())}},k={$pattern:o,keyword:e,literal:t,built_in:u},D="[0-9](_?[0-9])*",z=`\\.(${D})`,O="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",F={className:"number",variants:[{begin:`(\\b(${O})((${z})|\\.)?|(${z}))[eE][+-]?(${D})\\b`},{begin:`\\b(${O})\\b((${z})\\b|\\.)?|(${z})\\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},t2={className:"subst",begin:"\\$\\{",end:"\\}",keywords:k,contains:[]},H={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,t2],subLanguage:"xml"}},Q={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,t2],subLanguage:"css"}},n2={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,t2]},r2={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:A+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},C2=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,H,Q,n2,F,m.REGEXP_MODE];t2.contains=C2.concat({begin:/\{/,end:/\}/,keywords:k,contains:["self"].concat(C2)});const x2=[].concat(r2,t2.contains),D2=x2.concat([{begin:/\(/,end:/\)/,keywords:k,contains:["self"].concat(x2)}]),$={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:k,contains:D2};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:k,exports:{PARAMS_CONTAINS:D2},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,H,Q,n2,r2,F,{begin:g(/[{,\n]\s*/,f(g(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,A+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:A+f("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r2,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:k,contains:D2}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:y.begin,end:y.end},{begin:Z.begin,"on:begin":Z.isTrulyOpeningTag,end:Z.end}],subLanguage:"xml",contains:[{begin:Z.begin,end:Z.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:k,contains:["self",m.inherit(m.TITLE_MODE,{begin:A}),$],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[$,m.inherit(m.TITLE_MODE,{begin:A})]},{variants:[{begin:"\\."+A},{begin:"\\$"+A}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:A}),"self",$]},{begin:"(get|set)\\s+(?="+A+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:A}),{begin:/\(\)/},$]},{begin:/\$[(.]/}]}}return Ss=p,Ss}var IA=EA();const OA=Y1(IA);var ys,dd;function zA(){if(dd)return ys;dd=1;function o(n){return n?typeof n=="string"?n:n.source:null}function e(...n){return n.map(L=>o(L)).join("")}function t(n){const r={},L={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},L]});const c={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},u={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,r,c]};c.contains.push(d);const f={className:"",begin:/\\"/},g={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,r]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],w=n.SHEBANG({binary:`(${m.join("|")})`,relevance:10}),A={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:[w,n.SHEBANG(),A,p,n.HASH_COMMENT_MODE,u,d,f,g,r]}}return ys=t,ys}var PA=zA();const DA=Y1(PA);var As,hd;function NA(){if(hd)return As;hd=1;function o(e){var t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},L={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},c={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,L]},u=e.inherit(c,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d="[0-9]{4}(-[0-9][0-9]){0,2}",f="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",g="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",m={className:"number",begin:"\\b"+d+f+g+p+"\\b"},w={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},A={begin:/\{/,end:/\}/,contains:[w],illegal:"\\n",relevance:0},y={begin:"\\[",end:"\\]",contains:[w],illegal:"\\n",relevance:0},Z=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},m,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},A,y,c],k=[...Z];return k.pop(),k.push(u),w.contains=k,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:Z}}return As=o,As}var FA=NA();const BA=Y1(FA);a5.registerLanguage("plaintext",ZA),a5.registerLanguage("javascript",OA),a5.registerLanguage("bash",DA),a5.registerLanguage("yaml",BA);const jA={codespan(o){const t=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(o);return(t==null?void 0:t.length)===3?`
|
|
222
222
|
<code class="rest-api">
|
|
223
223
|
<span class="http-method-${t[1].toLowerCase()}">${t[1]}</span>
|
|
224
224
|
<span class="http-path">${t[2]}</span>
|
|
@@ -226,7 +226,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),g9=u2,i3=M2);const D1=
|
|
|
226
226
|
`:`<code>${o}</code>`}};P2.setOptions({highlight:function(o,e){if(!e)return a5.highlightAuto(o).value;const t=a5.getLanguage(e)?e:"plaintext";return a5.highlight(t,o).value},breaks:!0}),P2.use({renderer:jA});const O4=o=>{var t,n,r,L;const e=Sc.sanitize(((t=o.commentObj)==null?void 0:t.text)&&P2.parse((n=o.commentObj)==null?void 0:n.text)||o.comment&&P2.parse(o.comment));return x.jsx("div",{className:W2("comments text-skin-comment min-w-[100px] flex text-left opacity-50 hover:opacity-100",o.className),children:x.jsx("div",{dangerouslySetInnerHTML:{__html:e},className:W2((r=o.commentObj)==null?void 0:r.commentClassNames),style:(L=o.commentObj)==null?void 0:L.commentStyle})})},K4=o=>G2(Zc)?x.jsx("div",{className:"absolute text-xs right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 font-thin",children:o.number}):null,L5=o=>x.jsxs("div",{className:W2("collapsible-header flex w-full justify-between",o.className),style:o.style,children:[x.jsx("label",{className:"mb-0",children:o.label}),o.collapsed?x.jsx(l3,{name:"collapse-unexpanded",className:"w-4 h-4 cursor-pointer",onClick:o.onClick}):x.jsx(l3,{name:"collapse-expanded",className:W2("w-4 h-4 collapse-button cursor-pointer hidden group-[.fragment]:group-hover:inline-block",o.collapsed&&"inline-block"),onClick:o.onClick})]}),WA=/\b(\w+)\s*==\s*(\w+)\b/g,K5=o=>{var u;const e=G2(b9),[t,n]=q4(e5),r=G2(s6),L=((u=o.condition)==null?void 0:u.getFormattedText())??"",c=et(d=>{var A,y,Z,k;d.preventDefault(),d.stopPropagation();const f=d.target;if(!(f instanceof HTMLElement))return;let g=f.innerText.trim()??"";if(g===""){f.innerText=L;return}S6.test(g)&&!WA.test(g)&&(g=g.replace(/"/g,""),g=`"${g}"`);const[p,m]=[(y=(A=o.condition)==null?void 0:A.start)==null?void 0:y.start,(k=(Z=o.condition)==null?void 0:Z.stop)==null?void 0:k.stop];if(p===-1||m===-1){console.warn("labelPosition is not set");return}const w=t.slice(0,p)+g+t.slice(m+1);n(w),r(w)},{singleClick:!0,showHoverHint:!0});return x.jsxs(x.Fragment,{children:[x.jsx("label",{children:"["}),x.jsx("label",{title:"Click to edit",className:c.getEditableClasses("bg-skin-frame opacity-65 condition"),contentEditable:c.editing&&e===k4.Dynamic,suppressContentEditableWarning:!0,onClick:c.handleClick,onDoubleClick:c.handleDoubleClick,onMouseEnter:c.handleMouseEnter,onMouseLeave:c.handleMouseLeave,onBlur:c.handleBlur,onKeyUp:c.handleKeyup,onKeyDown:c.handleKeydown,children:L}),x.jsx("label",{children:"]"})]})},UA=o=>{var g,p,m,w,A;const{collapsed:e,toggleCollapse:t,paddingLeft:n,fragmentStyle:r,border:L,leftParticipant:c}=p0(o.context,o.origin),u=o.context.loop(),d=(g=u==null?void 0:u.braceBlock())==null?void 0:g.block(),f=(p=u==null?void 0:u.parExpr())==null?void 0:p.condition();return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-loop loop border-skin-fragment rounded",style:r,children:[((m=o.commentObj)==null?void 0:m.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header text-skin-fragment-header bg-skin-fragment-header leading-4 relative rounded-t",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"loop-fragment"}),x.jsx(L5,{label:"Loop",collapsed:e,onClick:t,style:(w=o.commentObj)==null?void 0:w.messageStyle,className:W2((A=o.commentObj)==null?void 0:A.messageClassNames)})]})})]}),x.jsx("div",{className:W2({hidden:e}),children:x.jsxs("div",{className:"segment",children:[x.jsx("div",{className:"text-skin-fragment",children:x.jsx(K5,{condition:f})}),x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:d,number:`${o.number}.1`,incremental:!0})]})})]})})},HA=o=>{var A,y,Z,k,D,z,O,F,t2,H,Q;const e=o.context.alt(),t=e==null?void 0:e.ifBlock(),n=e==null?void 0:e.elseIfBlock(),r=(y=(A=e==null?void 0:e.elseBlock())==null?void 0:A.braceBlock())==null?void 0:y.block(),L=(k=(Z=e==null?void 0:e.ifBlock())==null?void 0:Z.braceBlock())==null?void 0:k.block(),c=M.useMemo(()=>{const n2=[nt(L)];return e!=null&&e.elseIfBlock()&&e.elseIfBlock().forEach(L2=>{n2.push(n2[n2.length-1]+nt(d(L2)))}),n2},[e,L]);function u(n2){var L2;return(L2=n2==null?void 0:n2.parExpr())==null?void 0:L2.condition()}function d(n2){var L2;return(L2=n2==null?void 0:n2.braceBlock())==null?void 0:L2.block()}const{collapsed:f,toggleCollapse:g,paddingLeft:p,fragmentStyle:m,leftParticipant:w}=p0(o.context,o.origin);return x.jsxs("div",{"data-origin":o.origin,"data-left-participant":o.origin,"data-frame-padding-left":(z=(D=o.commentObj)==null?void 0:D.messageStyle)==null?void 0:z.paddingLeft,"data-frame-padding-right":(F=(O=o.commentObj)==null?void 0:O.messageStyle)==null?void 0:F.paddingRight,className:W2("group fragment fragment-alt alt border-skin-fragment rounded",o.className),style:m,children:[((t2=o.commentObj)==null?void 0:t2.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"alt-fragment"}),x.jsx(L5,{label:"Alt",collapsed:f,onClick:g,style:(H=o.commentObj)==null?void 0:H.messageStyle,className:W2((Q=o.commentObj)==null?void 0:Q.messageClassNames)})]})})]}),x.jsxs("div",{className:f?"hidden":"block",children:[x.jsxs("div",{className:"segment",children:[x.jsx("div",{className:"text-skin-fragment",children:x.jsx(K5,{condition:u(t)})}),L&&x.jsx(h4,{origin:w,style:{paddingLeft:`${p}px`},context:L,number:`${o.number}.1`,incremental:!0})]}),n.map((n2,L2)=>x.jsx(M.Fragment,{children:x.jsxs("div",{className:"segment border-t border-solid mt-2",children:[x.jsxs("div",{className:"text-skin-fragment",children:[x.jsx("label",{className:"else-if hidden",children:"else if"}),x.jsx(K5,{condition:u(n2)})]},L2+1e3),x.jsx(h4,{origin:w,style:{paddingLeft:`${p}px`},context:d(n2),number:`${o.number}.${c[L2]+1}`,incremental:!0},L2+2e3)]},L2+500)},L2)),r&&x.jsx(x.Fragment,{children:x.jsxs("div",{className:"segment border-t border-solid mt-2",children:[x.jsx("div",{className:"text-skin-fragment",children:x.jsx("label",{className:"p-1",children:"[else]"})}),x.jsx(h4,{origin:w,style:{paddingLeft:`${p}px`},context:r,number:`${o.number}.${c[c.length-1]+1}`,incremental:!0})]})})]})]})},$A=o=>{var f,g,p,m;const{collapsed:e,toggleCollapse:t,paddingLeft:n,fragmentStyle:r,border:L,leftParticipant:c}=p0(o.context,o.origin),u=o.context.par(),d=(f=u==null?void 0:u.parExpr())==null?void 0:f.condition();return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-par par border-skin-fragment rounded",style:r,children:[((g=o.commentObj)==null?void 0:g.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"par-fragment"}),x.jsx(L5,{label:"Par",collapsed:e,onClick:t,style:(p=o.commentObj)==null?void 0:p.messageStyle,className:W2((m=o.commentObj)==null?void 0:m.messageClassNames)})]})})]}),x.jsx("div",{className:W2({hidden:e}),children:x.jsxs("div",{className:"segment",children:[d&&x.jsx("div",{className:"text-skin-fragment",children:x.jsx(K5,{condition:d})}),!!u.braceBlock()&&x.jsx(h4,{origin:c,className:"[&>.statement-container:not(:first-child)]:border-t",style:{paddingLeft:`${n}px`},context:u.braceBlock().block(),number:`${o.number}.1`,incremental:!0})]})})]})})},GA=o=>{var f,g,p,m,w;const e=o.context.opt(),t=(f=e==null?void 0:e.parExpr())==null?void 0:f.condition(),{collapsed:n,toggleCollapse:r,paddingLeft:L,fragmentStyle:c,border:u,leftParticipant:d}=p0(o.context,o.origin);return x.jsxs("div",{"data-origin":origin,"data-left-participant":d,"data-frame-padding-left":u.left,"data-frame-padding-right":u.right,className:W2("group fragment opt border-skin-fragment rounded",o.className),style:c,children:[((g=o.commentObj)==null?void 0:g.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"opt-fragment"}),x.jsx(L5,{label:"Opt",collapsed:n,onClick:r,style:(p=o.commentObj)==null?void 0:p.textStyle,className:W2((m=o.commentObj)==null?void 0:m.classNames)})]})})]}),x.jsx("div",{className:W2({hidden:n}),children:x.jsxs("div",{className:"segment",children:[t&&x.jsx("div",{className:"text-skin-fragment",children:x.jsx(K5,{condition:t})}),x.jsx(h4,{origin:d,style:{paddingLeft:`${L}px`},context:(w=e==null?void 0:e.braceBlock())==null?void 0:w.block(),number:`${o.number}.1`,incremental:!0})]})})]})},VA=o=>{if(o.length===0)return"";const e=o.toLowerCase();return e.substring(0,1).toUpperCase()+e.substring(1,e.length)},qA=o=>{var m,w,A,y;const{collapsed:e,toggleCollapse:t,paddingLeft:n,fragmentStyle:r,border:L,leftParticipant:c}=p0(o.context,o.origin),u=o.context.section(),d=u==null?void 0:u.braceBlock(),f=(m=u==null?void 0:u.atom())==null?void 0:m.getFormattedText(),g=d==null?void 0:d.block(),p=f??VA("section");return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-section section border-skin-fragment rounded",style:r,children:[((w=o.commentObj)==null?void 0:w.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"section-fragment"}),x.jsx(L5,{label:p,collapsed:e,onClick:t,style:(A=o.commentObj)==null?void 0:A.messageStyle,className:W2((y=o.commentObj)==null?void 0:y.messageClassNames)})]})})]}),x.jsx("div",{className:e?"hidden":"",children:x.jsxs("div",{className:"segment",children:[x.jsx("div",{className:"text-skin-fragment flex"}),g&&x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:g,number:o.number})]})})]})})},YA=o=>{var p,m,w,A;const{collapsed:e,toggleCollapse:t,paddingLeft:n,fragmentStyle:r,border:L,leftParticipant:c}=p0(o.context,o.origin),u=o.context.critical(),d=u==null?void 0:u.braceBlock(),f=(p=u==null?void 0:u.parExpr())==null?void 0:p.condition(),g=d==null?void 0:d.block();return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-critical critical border-skin-fragment rounded",style:r,children:[((m=o.commentObj)==null?void 0:m.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"critical-fragment"}),x.jsx(L5,{label:"Critical",collapsed:e,onClick:t,style:(w=o.commentObj)==null?void 0:w.messageStyle,className:W2((A=o.commentObj)==null?void 0:A.messageClassNames)})]})})]}),x.jsx("div",{className:e?"hidden":"",children:x.jsxs("div",{className:"segment",children:[f&&x.jsx("div",{className:"text-skin-fragment",children:x.jsx(K5,{condition:f})}),g&&x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:g,number:`${o.number}.1`,incremental:!0})]})})]})})},QA=o=>{var w,A,y,Z,k,D,z;const{collapsed:e,toggleCollapse:t,paddingLeft:n,fragmentStyle:r,border:L,leftParticipant:c}=p0(o.context,o.origin),u=O=>{var F,t2;return(t2=(F=O==null?void 0:O.invocation())==null?void 0:F.parameters())==null?void 0:t2.getFormattedText()},d=O=>{var F;return(F=O==null?void 0:O.braceBlock())==null?void 0:F.block()},f=o.context.tcf(),g=(A=(w=f==null?void 0:f.tryBlock())==null?void 0:w.braceBlock())==null?void 0:A.block(),p=(Z=(y=f==null?void 0:f.finallyBlock())==null?void 0:y.braceBlock())==null?void 0:Z.block(),m=M.useMemo(()=>{const O=[nt(g)];return f!=null&&f.catchBlock()&&f.catchBlock().forEach(F=>{O.push(O[O.length-1]+nt(d(F)))}),O},[f,g]);return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":o.origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-tcf tcf border-skin-fragment rounded",style:r,children:[((k=o.commentObj)==null?void 0:k.text)&&x.jsx(O4,{comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[x.jsx(K4,{number:o.number}),x.jsx("div",{className:"name font-semibold p-1 border-b",children:x.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[x.jsx(l3,{name:"try-catch-fragment"}),x.jsx(L5,{label:"Try",collapsed:e,onClick:t,style:(D=o.commentObj)==null?void 0:D.messageStyle,className:W2((z=o.commentObj)==null?void 0:z.messageClassNames)})]})})]}),x.jsxs("div",{className:e?"hidden":"",children:[x.jsx("div",{className:"segment",children:g&&x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:g,number:`${o.number}.1`,incremental:!0})}),f.catchBlock().map((O,F)=>x.jsxs("div",{className:"segment border-t border-solid mt-2",children:[x.jsxs("div",{className:"header inline-block bg-skin-frame opacity-65",children:[x.jsx("label",{className:"keyword catch p-1",children:"catch"}),x.jsx("label",{className:"exception p-1",children:u(O)})]},F+1e3),x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:d(O),number:`${o.number}.${m[F]+1}`,incremental:!0},F+2e3)]},F+500)),p&&x.jsxs("div",{className:"segment border-t border-solid mt-2",children:[x.jsx("div",{className:"header flex text-skin-fragment finally",children:x.jsx("label",{className:"keyword finally bg-skin-frame opacity-65 px-1 inline-block",children:"finally"})}),x.jsx(h4,{origin:c,style:{paddingLeft:`${n}px`},context:p,number:`${o.number}.${m[m.length-1]+1}`,incremental:!0})]})]})]})})},it=o=>{const e=G2(b9),[t,n]=q4(e5),r=G2(s6),L=IL(o.labelText),u=et(d=>{d.preventDefault(),d.stopPropagation();const f=d.target;if(!(f instanceof HTMLElement))return;let g=f.innerText.trim()??"";if(g===""||g===o.labelText){f.innerText=o.labelText;return}g.includes(" ")&&(g=g.replace(/\s+/g," ")),!o.isAsync&&S6.test(g)&&(g=g.replace(/"/g,""),g=`"${g}"`,S6.lastIndex=0);const[p,m]=o.labelPosition;if(p===-1||m===-1){console.warn("labelPosition is not set");return}const w=t.slice(0,p)+g+t.slice(m+1);n(w),r(w)},{singleClick:!0,showHoverHint:!0});return x.jsx("label",{title:"Click to edit",className:u.getEditableClasses(W2("px-1 right",o.className)),style:o.style,contentEditable:u.editing&&e===k4.Dynamic,suppressContentEditableWarning:!0,onClick:u.handleClick,onDoubleClick:u.handleDoubleClick,onMouseEnter:u.handleMouseEnter,onMouseLeave:u.handleMouseLeave,onBlur:u.handleBlur,onKeyUp:u.handleKeyup,onKeyDown:u.handleKeydown,children:L})},XA=o=>{var d,f,g;const{paddingLeft:e,fragmentStyle:t,border:n,leftParticipant:r}=p0(o.context,o.origin),L=o.context.ref().Content(),c=L==null?void 0:L.getFormattedText(),u=[L==null?void 0:L.start.start,L==null?void 0:L.stop.stop];return x.jsx("div",{className:o.className,children:x.jsxs("div",{"data-origin":r,"data-left-participant":r,"data-frame-padding-left":n.left,"data-frame-padding-right":n.right,className:"group fragment fragment-ref bg-skin-frame border-skin-fragment relative rounded min-w-[140px] w-max py-4 px-2 flex justify-center items-center flex-col",style:{...t,paddingLeft:`${e}px`},children:[x.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t absolute top-0 left-0",children:[x.jsx(K4,{number:o.number}),((d=o.commentObj)==null?void 0:d.text)&&x.jsx(O4,{className:"absolute -top-4 left-0",comment:o.comment,commentObj:o.commentObj}),x.jsxs("div",{className:"text-skin-fragment relative w-9 h-8 -top-[1px] -left-[1px]",children:[x.jsx("div",{className:"polygon-border absolute inset-0"}),x.jsx("div",{className:"polygon-content bg-skin-frame text-skin-fragment-header absolute inset-[1px] flex flex-col items-center justify-center",children:x.jsx("span",{className:`flex items-center justify-center font-semibold ${((f=o.commentObj)==null?void 0:f.messageClassNames)||""}`,style:(g=o.commentObj)==null?void 0:g.messageStyle,children:"Ref"})})]})]}),x.jsx(it,{className:"text-skin-title mt-3 mb-2",labelText:c,labelPosition:u})]})})},Rs=o=>{const{fill:e,rtl:t}=o;return x.jsx("svg",{className:"stroke-2",height:"10",width:"7",viewBox:"0 0 7 9",children:x.jsx("g",{transform:t?"scale(-1, 1) translate(-7, 0)":void 0,children:x.jsx("path",{d:e?"M1 1.25 L6.15 4.5 L1 7.75 Z":"M1 1.25 L6.15 4.5 L1 7.75",stroke:"currentColor",strokeLinecap:"round",fill:e?"currentColor":"none"})})})},KA=(o,e,t)=>{var n;if(e===k4.Static)return!1;switch(t){case"sync":case"async":case"return":return!0;case"creation":return((n=o==null?void 0:o.isParamValid)==null?void 0:n.call(o))>0;default:return!1}},JA=(o,e)=>{var r,L,c,u;let t=-1,n=-1;switch(e){case"sync":{const d=(r=o==null?void 0:o.messageBody().func())==null?void 0:r.signature()[0];[t,n]=[d==null?void 0:d.start.start,d==null?void 0:d.stop.stop]}break;case"async":{const d=o==null?void 0:o.content();[t,n]=[d==null?void 0:d.start.start,d==null?void 0:d.stop.stop]}break;case"creation":{const d=(L=o==null?void 0:o.creationBody())==null?void 0:L.parameters();[t,n]=[d==null?void 0:d.start.start,d==null?void 0:d.stop.stop]}break;case"return":if(o instanceof v.MessageContext){const d=(u=(c=o.messageBody().func())==null?void 0:c.signature())==null?void 0:u[0];[t,n]=[d==null?void 0:d.start.start,d==null?void 0:d.stop.stop]}else if(o instanceof v.AtomExprContext){const d=o.atom();[t,n]=[d==null?void 0:d.start.start,d==null?void 0:d.stop.stop]}else if(o instanceof v.ContentContext)[t,n]=[o.start.start,o.stop.stop];else if(o instanceof v.AssignmentContext){const d=o.assignee();[t,n]=[d.start.start,d.stop.stop]}break}return[t,n]},J5=o=>{var z;const{context:e,content:t,rtl:n,type:r="",textStyle:L,className:c,style:u,number:d}=o,f=G2(b9),g=G2(So),p=M.useRef(null),m=r==="async",w=KA(e,f,r||""),A=f!==k4.Static&&["sync","async","return","creation"].includes(r),y=r==="creation"?((z=t.match(/«([^»]+)»/))==null?void 0:z[1])||"":t||"",Z=JA(e,r||""),k={sync:"solid",async:"solid",creation:"dashed",return:"dashed"}[r],D=()=>{!A||!p.current||g(e,p.current)};return x.jsxs("div",{className:W2("message leading-none border-skin-message-arrow border-b-2 flex items-end",{"flex-row-reverse":n,return:r==="return","right-to-left":n},c),style:{...u,borderBottomStyle:k},onClick:D,ref:p,children:[x.jsx("div",{className:"name group text-center flex-grow relative",children:x.jsx("div",{className:"inline-block static min-h-[1em]",children:x.jsx("div",{style:L,children:w?x.jsxs(x.Fragment,{children:[r==="creation"&&x.jsx("span",{children:"«"}),x.jsx(it,{labelText:y??"",labelPosition:Z,isAsync:m}),r==="creation"&&x.jsx("span",{children:"»"})]}):x.jsx(x.Fragment,{children:t})})})}),x.jsx("div",{className:W2("point text-skin-message-arrow translate-y-1/2 -my-px"),children:x.jsx(Rs,{fill:r==="sync",rtl:!!n})}),x.jsx(K4,{number:d})]})},eR=o=>x.jsxs("div",{className:"occurrence-collapsible-header w-auto",children:[x.jsxs("svg",{width:"20px",height:"20px",className:W2("collapse-button cursor-pointer",{hidden:o.collapsed,expanded:!o.collapsed}),onClick:o.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[x.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),x.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),x.jsxs("g",{id:"SVGRepo_iconCarrier",children:[x.jsx("line",{x1:"13",y1:"2",x2:"13",y2:"10"}),x.jsx("polyline",{points:"9 7 13 11 17 7"}),x.jsx("line",{x1:"13",y1:"23",x2:"13",y2:"15"}),x.jsx("polyline",{points:"9 19 13 15 17 19"})]})]}),x.jsxs("svg",{width:"20px",height:"20px",className:W2("cursor-pointer",{hidden:!o.collapsed}),onClick:o.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[x.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),x.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),x.jsxs("g",{id:"SVGRepo_iconCarrier",children:[x.jsx("line",{x1:"13",y1:"1",x2:"13",y2:"9"}),x.jsx("polyline",{points:"9 5 13 1 17 5"}),x.jsx("line",{x1:"13",y1:"13",x2:"13",y2:"13"}),x.jsx("line",{x1:"13",y1:"24",x2:"13",y2:"17"}),x.jsx("polyline",{points:"9 20 13 24 17 20"})]})]})]}),fd=o=>{const e=G2(Z4),[t,n]=M.useState(!1),r=localStorage.getItem("zenumlDebug"),L=()=>{try{return I4(e,o.participant)}catch(d){return console.error(d),0}},c=()=>{var p;const d=o.context.braceBlock();if(!d)return!1;const f=((p=d.block())==null?void 0:p.stat())||[],g=f.length;return g>1?!0:g===1&&f[0].ret()==null},u=()=>{n(!t),w6.emit("participant_set_top")};return M.useEffect(()=>{n(!1)},[o.context]),x.jsxs("div",{className:W2("occurrence min-h-6 shadow-occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full w-[15px] mt-[-2px] pl-[6px]",{"right-to-left left-[-14px]":o.rtl},o.className),"data-el-type":"occurrence","data-belongs-to":o.participant,"data-x-offset":0,"data-debug-center-of":L(),children:[r&&x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -top-1 flex justify-center items-center",children:x.jsx("div",{className:"w-px h-full bg-black"})}),x.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -bottom-1 flex justify-center items-center",children:x.jsx("div",{className:"w-px h-full bg-black"})})]}),c()&&x.jsx(eR,{collapsed:t,onClick:u}),o.context.braceBlock()&&x.jsx(h4,{origin:o.participant,context:o.context.braceBlock().block(),number:o.number,collapsed:t})]})};class A6{constructor(e,t,n,r){c2(this,"start");c2(this,"stop");this.start={line:e,col:t},this.stop={line:n,col:r}}static from(e){const t=e.start,n=e.stop;return new A6(t.line,t.column,n.line,n.column+n.text.length)}}const bs=(o,e)=>o==null?void 0:o.getAncestors(t=>(r=>{const L=r instanceof v.MessageContext,c=r instanceof v.CreationContext;return L||c})(t)?t.Owner()===e:!1).length,tR=(o,e)=>{var n;if(!(o instanceof v.StatContext))return 0;const t=(n=o==null?void 0:o.children)==null?void 0:n[0];return t?bs(t,e):0},ot=({context:o,origin:e,source:t,target:n})=>{const r=G2(Z4),L=t===n,c=bs(o,e),u=bs(o,t),d=tR(o,n),f=new y6(I4(r,e),c),g=new y6(I4(r,t),u),p=new y6(I4(r,n),d),m=Math.abs(g.edgeOffset(p)),w=vA(r,t,n)<0,A=f.centerToEdge(w?p:g);return{isSelf:L,originLayers:c,sourceLayers:u,targetLayers:d,anchor2Origin:f,anchor2Source:g,anchor2Target:p,interactionWidth:m,rightToLeft:w,translateX:A}},nR=o=>{var Z,k,D;const e=M.useRef(null),t=G2(xo),n=G2(Mo),[r,L]=M.useState(0),c=(Z=o.context)==null?void 0:Z.creation(),u=c==null?void 0:c.Owner(),d=c==null?void 0:c.isCurrent(t),{translateX:f,interactionWidth:g,rightToLeft:p}=ot({context:o.context,origin:o.origin,source:o.origin,target:c==null?void 0:c.Owner()}),m=(k=o.commentObj)==null?void 0:k.messageStyle,w=(D=o.commentObj)==null?void 0:D.messageClassNames,A=M.useMemo(()=>{function z(H){return H&&H.getFormattedText()||""}const O=c==null?void 0:c.creationBody().assignment();if(!O)return"";const F=z(O.assignee()),t2=z(O.type());return F+(t2?":"+t2:"")},[c]),y=r/2-le-$L;return M.useEffect(()=>{const z=document.querySelector(`[data-participant-id="${u}"]`);if(!z){console.warn(`Could not find participant element for ${u}`),L(0);return}L(z.getBoundingClientRect().width),console.debug(`Found participant element for ${u}, width: ${r}px`),w6.emit("participant_set_top"),console.debug(`Init or update message container for ${u}`)},[u,r]),x.jsxs("div",{"data-origin":o.origin,className:W2("interaction creation sync",{"right-to-left":p,highlight:d},o.className),onClick:()=>n(A6.from(o.context)),"data-signature":c==null?void 0:c.SignatureText(),style:{transform:"translateX("+f+"px)",width:g+"px"},children:[o.comment&&x.jsx(O4,{commentObj:o.commentObj}),x.jsx("div",{ref:e,"data-type":"creation",className:W2("message-container pointer-events-none flex items-center h-10 relative",{"flex-row-reverse":p}),"data-to":u,children:x.jsx(J5,{className:W2("invocation w-full transform -translate-y-1/2 pointer-events-auto",w),context:c,content:c==null?void 0:c.SignatureText(),rtl:p,type:"creation",number:o.number,textStyle:m,style:{width:`calc(100% - ${y}px)`,translate:0}})}),x.jsx(fd,{context:c,className:"pointer-events-auto",participant:u,number:o.number}),A&&x.jsx(J5,{className:W2("return transform -translate-y-full pointer-events-auto",w),style:{translate:0},textStyle:m,context:c.creationBody().assignment(),content:A,rtl:!p,type:"return",number:`${o.number}.${c.Statements().length+1}`})]})},iR=o=>{var c,u,d;const e=M.useRef(null),t=G2(So),n=((u=(c=o.context)==null?void 0:c.Assignment())==null?void 0:u.getText())||"",r=M.useMemo(()=>{var g;const f=(g=o.context)==null?void 0:g.messageBody().func();return f?[f.start.start,f.stop.stop]:[-1,-1]},[o.context]),L=()=>{t(o.context,e.current)};return x.jsxs("div",{ref:e,className:"self-invocation message leading-none self flex items-start flex-col border-none",onClick:L,children:[x.jsxs("label",{className:"name text-left group px-px relative min-h-[1em] w-full",children:[x.jsx(K4,{number:o.number}),x.jsxs("div",{className:"label",children:[n&&x.jsxs("span",{children:[x.jsx("span",{className:"assignee px-1",children:n}),x.jsx("span",{children:"="})]}),x.jsx(it,{style:o.textStyle,className:o.classNames,labelText:(d=o.context)==null?void 0:d.SignatureText(),labelPosition:r,isSelf:!0})]})]}),x.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[x.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L14,15"}),x.jsx("g",{transform:"translate(7, 10)",children:x.jsx(Rs,{fill:!0,rtl:!0})})]})]})},oR=o=>{var D,z,O,F,t2,H,Q;const e=G2(xo),t=(D=o.commentObj)==null?void 0:D.messageStyle,n=(z=o.commentObj)==null?void 0:z.messageClassNames,r=(O=o.context)==null?void 0:O.message(),L=r==null?void 0:r.Statements(),c=((F=r==null?void 0:r.Assignment())==null?void 0:F.getText())||"",u=r==null?void 0:r.SignatureText(),d=r==null?void 0:r.isCurrent(e),f=(r==null?void 0:r.From())||W1,g=((H=(t2=o.context)==null?void 0:t2.message())==null?void 0:H.Owner())||W1,p=f===g,{translateX:m,interactionWidth:w,originLayers:A,sourceLayers:y,targetLayers:Z,rightToLeft:k}=ot({context:o.context,origin:o.origin,source:f,target:g});return x.jsxs("div",{className:W2("interaction sync inline-block",{highlight:d,self:p,"right-to-left":k},o.className),onClick:n2=>n2.stopPropagation(),"data-to":g,"data-origin":o.origin,"data-source":f,"data-target":g,"data-origin-layers":A,"data-source-layers":y,"data-target-layers":Z,"data-type":"interaction","data-signature":u,style:{width:p?void 0:w+"px",transform:"translateX("+m+"px)"},children:[((Q=o.commentObj)==null?void 0:Q.text)&&x.jsx(O4,{commentObj:o.commentObj}),p?x.jsx(iR,{classNames:n,textStyle:t,context:r,number:o.number}):x.jsx(J5,{className:W2("text-center",n),textStyle:t,context:r,content:u,rtl:k,number:o.number,type:"sync"}),x.jsx(fd,{context:r,participant:g,rtl:k,number:o.number}),c&&!p&&x.jsx(J5,{className:W2("return transform -translate-y-full",n),context:r,content:c,rtl:!k,type:"return",number:`${o.number}.${L.length+1}`,textStyle:t})]})},sR=o=>{var n;const e=(n=o.context)==null?void 0:n.content(),t=()=>e?[e.start.start,e.stop.stop]:[-1,-1];return x.jsxs("div",{className:"message self flex items-start flex-col !border-none",children:[x.jsxs("label",{className:"name group px-px min-h-[1em]",children:[x.jsx(K4,{number:o.number}),x.jsx(it,{style:o.textStyle,className:o.classNames,labelText:e==null?void 0:e.getFormattedText(),labelPosition:t(),isAsync:!0,isSelf:!0})]}),x.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[x.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L1,15"}),x.jsx("g",{transform:"translate(0, 10)",children:x.jsx(Rs,{fill:!1,rtl:!0})})]})]})};function Ts(o){return o==null}const rR=o=>{var y,Z,k,D,z;const e=G2(xo),t=G2(Mo),n=(y=o.context)==null?void 0:y.asyncMessage(),r=(Z=n==null?void 0:n.content())==null?void 0:Z.getFormattedText(),c=(n==null?void 0:n.ProvidedFrom())||o.origin,u=(k=n==null?void 0:n.to())==null?void 0:k.getFormattedText(),d=c===u,{translateX:f,interactionWidth:g,rightToLeft:p}=ot({context:o.context,origin:o.origin,source:c,target:u}),m=(D=o.commentObj)==null?void 0:D.messageClassNames,w=(z=o.commentObj)==null?void 0:z.messageStyle,A=()=>{const O=n.start.start,F=n.stop.stop+1;return Ts(e)||Ts(O)||Ts(F)?!1:e>=O&&e<=F};return x.jsxs("div",{"data-origin":origin,"data-to":u,"data-source":c,"data-target":u,className:W2("interaction async",{"left-to-right":!p,"right-to-left":p,highlight:A(),"self-invocation":d},o.className),onClick:()=>t(A6.from(o.context)),"data-signature":r,style:{width:g+"px",transform:"translateX("+f+"px)"},children:[o.comment&&x.jsx(O4,{commentObj:o.commentObj}),d?x.jsx(sR,{classNames:W2(m),textStyle:w,context:n,number:o.number}):x.jsx(J5,{className:W2(m),textStyle:w,context:n,content:r,rtl:p,type:"async",number:o.number})]})},lR=o=>{const e=G2(pe),t=G2(Z4),n=M.useMemo(()=>{const u=e.Names().pop();return I4(t,u)+10},[e]),r=I4(t,o.origin),L=o.context.divider().Note(),c=M.useMemo(()=>{if(L.trim().indexOf("[")===0&&L.indexOf("]")!==-1){const u=L.indexOf("["),d=L.indexOf("]"),[f,g]=[L.slice(u+1,d),L.slice(d+1)];return{style:i6(f.split(",").map(p=>p.trim())),note:g}}return{style:i6([]),note:L}},[L]);return x.jsxs("div",{className:W2("divider",o.className),"data-origin":o.origin,style:{width:n+"px",transform:"translateX("+(-1*r+10)+"px)"},children:[x.jsx("div",{className:"left bg-skin-divider"}),x.jsx("div",{style:c.style.textStyle,className:W2("name",c.style.classNames),children:c.note}),x.jsx("div",{className:"right bg-skin-divider"})]})},aR=o=>{var w,A,y,Z,k,D,z,O,F,t2,H,Q;const e=G2(Mo),t=(w=o.context)==null?void 0:w.ret(),n=t==null?void 0:t.asyncMessage(),r=((A=n==null?void 0:n.content())==null?void 0:A.getFormattedText())||((k=(Z=(y=o.context)==null?void 0:y.ret())==null?void 0:Z.expr())==null?void 0:k.getFormattedText()),L=(n==null?void 0:n.From())||(t==null?void 0:t.From())||W1,c=((D=n==null?void 0:n.to())==null?void 0:D.getFormattedText())||((O=(z=o.context)==null?void 0:z.ret())==null?void 0:O.ReturnTo())||W1,u=(n==null?void 0:n.content())||((t2=(F=o.context)==null?void 0:F.ret())==null?void 0:t2.expr()),{translateX:d,interactionWidth:f,rightToLeft:g,isSelf:p}=ot({context:o.context,origin:o.origin,source:L,target:c}),m=n2=>{n2.stopPropagation(),e(A6.from(o.context))};return x.jsxs("div",{onClick:m,"data-type":"return","data-signature":r,"data-origin":origin,"data-to":c,"data-source":L,"data-target":c,className:W2("interaction return relative",{"right-to-left":g,highlight:!1},o.className),style:{width:f+"px",transform:"translateX("+d+"px)"},children:[o.comment&&x.jsx(O4,{commentObj:o.commentObj}),p&&x.jsxs("div",{className:"flex items-center",children:[x.jsxs("svg",{className:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512",children:[x.jsx("path",{className:"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"}),x.jsx("path",{className:"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"})]}),x.jsx("span",{className:"name",children:r})]}),!p&&x.jsx(J5,{className:W2((H=o.commentObj)==null?void 0:H.messageClassNames),textStyle:(Q=o.commentObj)==null?void 0:Q.messageStyle,context:u,content:r,rtl:g,type:"return",number:o.number})]})},LR=o=>{const e=o.context.getComment()||"",t=new yc(e),n={className:W2("text-left text-sm text-skin-message",{hidden:o.collapsed&&!o.context.ret()}),context:o.context,origin:o.origin,comment:e,commentObj:t,number:o.number};switch(!0){case!!o.context.loop():return x.jsx(UA,{...n});case!!o.context.alt():return x.jsx(HA,{...n});case!!o.context.par():return x.jsx($A,{...n});case!!o.context.opt():return x.jsx(GA,{...n});case!!o.context.section():return x.jsx(qA,{...n});case!!o.context.critical():return x.jsx(YA,{...n});case!!o.context.tcf():return x.jsx(QA,{...n});case!!o.context.ref():return x.jsx(XA,{...n});case!!o.context.creation():return x.jsx(nR,{...n});case!!o.context.message():return x.jsx(oR,{...n});case!!o.context.asyncMessage():return x.jsx(rR,{...n});case!!o.context.divider():return x.jsx(lR,{...n});case!!o.context.ret():return x.jsx(aR,{...n,className:"text-left text-sm text-skin-message"})}},h4=o=>{var n;const e=((n=o.context)==null?void 0:n.stat())||[],t=r=>o.number?o.incremental?MA(o.number,r):`${o.number}.${r+1}`:String(r+1);return x.jsx("div",{className:W2("block",o.className),style:o.style,"data-origin":o.origin,children:e.map((r,L)=>x.jsx("div",{className:W2("statement-container my-4 flex flex-col"),"data-origin":o.origin,"data-statement-key":YL(r),children:x.jsx(LR,{origin:o.origin||"",context:r,collapsed:!!o.collapsed,number:t(L)})},L))})};var cR=typeof document<"u",CR=function(){},ks=cR?M.useLayoutEffect:CR;const uR={...k7}.useInsertionEffect||(o=>o());function dR(o){const e=M.useRef(()=>{});return uR(()=>{e.current=o}),M.useCallback(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.current==null?void 0:e.current(...n)},[])}const hR={...k7};let gd=!1,fR=0;const pd=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+fR++;function gR(){const[o,e]=M.useState(()=>gd?pd():void 0);return ks(()=>{o==null&&e(pd())},[]),M.useEffect(()=>{gd=!0},[]),o}const pR=hR.useId||gR;function _R(){const o=new Map;return{emit(e,t){var n;(n=o.get(e))==null||n.forEach(r=>r(t))},on(e,t){o.has(e)||o.set(e,new Set),o.get(e).add(t)},off(e,t){var n;(n=o.get(e))==null||n.delete(t)}}}const mR=M.createContext(null),vR=M.createContext(null),xR=()=>{var o;return((o=M.useContext(mR))==null?void 0:o.id)||null},wR=()=>M.useContext(vR);function MR(o){const{open:e=!1,onOpenChange:t,elements:n}=o,r=pR(),L=M.useRef({}),[c]=M.useState(()=>_R()),u=xR()!=null,[d,f]=M.useState(n.reference),g=dR((w,A,y)=>{L.current.openEvent=w?A:void 0,c.emit("openchange",{open:w,event:A,reason:y,nested:u}),t==null||t(w,A,y)}),p=M.useMemo(()=>({setPositionReference:f}),[]),m=M.useMemo(()=>({reference:d||n.reference||null,floating:n.floating||null,domReference:n.reference}),[d,n.reference,n.floating]);return M.useMemo(()=>({dataRef:L,open:e,onOpenChange:g,elements:m,events:c,floatingId:r,refs:p}),[e,g,m,c,r,p])}function SR(o){o===void 0&&(o={});const{nodeId:e}=o,t=MR({...o,elements:{reference:null,floating:null,...o.elements}}),n=o.rootContext||t,r=n.elements,[L,c]=M.useState(null),[u,d]=M.useState(null),g=(r==null?void 0:r.domReference)||L,p=M.useRef(null),m=wR();ks(()=>{g&&(p.current=g)},[g]);const w=XS({...o,elements:{...r,...u&&{reference:u}}}),A=M.useCallback(z=>{const O=$3(z)?{getBoundingClientRect:()=>z.getBoundingClientRect(),getClientRects:()=>z.getClientRects(),contextElement:z}:z;d(O),w.refs.setReference(O)},[w.refs]),y=M.useCallback(z=>{($3(z)||z===null)&&(p.current=z,c(z)),($3(w.refs.reference.current)||w.refs.reference.current===null||z!==null&&!$3(z))&&w.refs.setReference(z)},[w.refs]),Z=M.useMemo(()=>({...w.refs,setReference:y,setPositionReference:A,domReference:p}),[w.refs,y,A]),k=M.useMemo(()=>({...w.elements,domReference:g}),[w.elements,g]),D=M.useMemo(()=>({...w,...n,refs:Z,elements:k,nodeId:e}),[w,Z,k,e,n]);return ks(()=>{n.dataRef.current.floatingContext=D;const z=m==null?void 0:m.nodesRef.current.find(O=>O.id===e);z&&(z.context=D)}),M.useMemo(()=>({...w,context:D,refs:Z,elements:k}),[w,Z,k,D])}function yR(o){const e=M.useRef(o);return M.useEffect(()=>{e.current=o},[o]),e}function AR(o,e,t){const n=yR(e);M.useEffect(()=>{function r(L){n.current(L)}return document.addEventListener(o,r,t),()=>document.removeEventListener(o,r,t)},[o,t,n])}const RR=(o,e)=>{AR("click",t=>{o&&(o.contains(t.target)||e(t))},{capture:!0})},bR=[{name:"bold",content:"B",class:"font-bold"},{name:"italic",content:"I",class:"italic"},{name:"underline",content:"U",class:"underline"},{name:"strikethrough",content:"S",class:"line-through"}],TR=()=>{const[o,e]=q4(e5),t=G2(s6),n=T5(So),[r,L]=M.useState(!1),[c,u]=M.useState([]),[d,f]=M.useState(""),g=y=>{e(y),t(y)},p=M.useRef({start:0,lineHead:0,prevLine:"",leadingSpaces:"",prevLineIsComment:!1,hasStyleBrackets:!1}),{refs:m,floatingStyles:w}=SR({open:r,onOpenChange:L}),A=y=>{var k;if(L(!1),!d)return;const Z=p.current;if(Z.prevLineIsComment){let D="";if(Z.hasStyleBrackets){let z;c.includes(y)?z=c.filter(O=>O!==y):z=[...c,y],D=`${Z.leadingSpaces}// [${z.filter(Boolean).join(", ")}] ${Z.prevLine.slice(Z.prevLine.indexOf("]")+1).trimStart()}`}else D=`${Z.leadingSpaces}// [${y}] ${Z.prevLine.slice((((k=Z.prevLine.match(/\/\/*/))==null?void 0:k.index)||-2)+2).trimStart()}`;D.endsWith(`
|
|
227
227
|
`)||(D+=`
|
|
228
228
|
`),g(o.slice(0,OL(o,Z.start))+D+o.slice(Z.lineHead))}else g(o.slice(0,Z.lineHead)+`${Z.leadingSpaces}// [${y}]
|
|
229
|
-
`+o.slice(Z.lineHead))};return RR(m.floating.current,()=>{L(!1)}),M.useEffect(()=>{n((y,Z)=>{setTimeout(()=>{var D;const k=p.current;if(k.start=y.start.start,k.lineHead=ro(o,k.start),k.prevLine=Lm(o,k.start),k.leadingSpaces=((D=o.slice(k.lineHead).match(/^\s*/))==null?void 0:D[0])||"",k.prevLineIsComment=k.prevLine.trim().startsWith("//"),k.prevLineIsComment){const z=k.prevLine.trimStart().slice(2).trimStart(),O=z.indexOf("["),F=z.indexOf("]");k.hasStyleBrackets=!!(O===0&&F),k.hasStyleBrackets?u(z.slice(O+1,F).split(",").map(t2=>t2.trim())):u([])}m.setReference(Z),f(y),L(!0)},0)})},[o,m,n]),x.jsx("div",{id:"style-panel",ref:m.setFloating,style:w,children:r&&x.jsx("div",{className:"flex bg-white shadow-md z-10 rounded-md p-1",children:bR.map(y=>x.jsx("div",{onClick:()=>A(y.class),children:x.jsx("div",{className:W2("w-6 mx-1 py-1 rounded-md text-black text-center cursor-pointer hover:bg-gray-200",[y.class,{"bg-gray-100":c.includes(y.class)}]),children:y.content})},y.name))})})},_d=Bl.child({name:"MessageLayer"}),md=o=>{const e=G2(t5),t=G2(Z4),n=M.useMemo(()=>{const u=X8(e);return u.length===0?W1:u[0].from||W1},[e]),r=I4(t,n)+1,[L,c]=M.useState(!1);return L&&_d.debug("MessageLayer updated"),M.useEffect(()=>{c(!0),_d.debug("MessageLayer mounted")},[]),x.jsxs("div",{className:"message-layer relative z-30 pt-14 pb-10",style:o.style,children:[x.jsx(h4,{context:o.context,style:{paddingLeft:`${r}px`},origin:n}),x.jsx(TR,{})]})},vd=o=>{const e=G2(j5),t=G2(b9),n=G2(t5),r=G2(Z4),L=T5(wo),c=M.useRef(null);M.useEffect(()=>{L(c.current)}),M.useImperativeHandle(o.ref,()=>c.current);const u=M.useMemo(()=>{const f=r.orderedParticipantNames(),p=new Xe(f).getFrame(n);return p?Ke(p).left:0},[r,n]),d=M.useMemo(()=>rd(n,r)-u,[n,r,u]);return x.jsx("div",{className:W2("zenuml sequence-diagram relative box-border text-left overflow-visible px-2.5",e,o.className),style:o.style,ref:c,children:x.jsx("div",{style:{paddingLeft:`${u}px`},className:"relative z-container",children:t===k4.Dynamic?x.jsxs(x.Fragment,{children:[x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderLifeLine:!0}),x.jsx(md,{context:n==null?void 0:n.block(),style:{width:`${d}px`}}),x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderParticipants:!0})]}):x.jsxs(x.Fragment,{children:[x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderParticipants:!0,renderLifeLine:!0}),x.jsx(md,{context:n==null?void 0:n.block(),style:{width:`${d}px`}})]})})})},st={backgroundColor:"white",filter:o=>{var e;return!((e=o==null?void 0:o.classList)!=null&&e.contains("hide-export"))}},kR=({ref:o,children:e})=>{const t=M.useRef(null),n=M.useRef(null),r=G2(t5),[L,c]=q4(kc),[u,d]=q4(Tc),[f,g]=q4(j5),[p,m]=q4(Zc),w=G2(bc),A=G2(b9),y=r==null?void 0:r.title(),Z=()=>{c(!0)},k=async()=>{if(t.current)return Kc(t.current,st)},D=async()=>{if(t.current)return ko(t.current,st)},z=async()=>{if(t.current)return Ox(t.current,st)},O=async()=>{if(t.current)return Ix(t.current,st)},F=()=>{const n2=Math.min(1,u+.1);d(n2)},t2=()=>{d(u-.1)},H=n2=>{const L2="zenuml-style";let r2;r2=document.createElement("style"),r2.id=L2,document.head.append(r2),r2.textContent=n2},Q=n2=>{const L2=new URL(n2).hostname;if(L2==="https://github.com"||L2==="https://githubusercontent.com"){fetch(n2.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(x2=>x2.text()).then(x2=>{H(x2)});return}const r2="zenuml-remote-css";let C2;C2=document.createElement("link"),C2.id=r2,C2.rel="stylesheet",document.head.append(C2),C2.href=n2};return M.useImperativeHandle(o,()=>({toPng:k,toSvg:D,toBlob:z,toJpeg:O,zoomIn:F,zoomOut:t2,setTheme:g,setRemoteCss:Q})),x.jsxs("div",{ref:t,className:W2("p-1 bg-skin-canvas inline-block",f),children:[x.jsx(gw,{}),x.jsxs("div",{className:"frame text-skin-base bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",children:[x.jsxs("div",{ref:n,children:[x.jsxs("div",{className:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t",children:[x.jsx("div",{className:"left hide-export",children:e}),x.jsxs("div",{className:"right flex-grow flex justify-between",children:[x.jsx(_w,{context:y}),x.jsx(pw,{className:"hide-export flex items-center"})]})]}),L&&x.jsx("div",{className:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:x.jsx(Rw,{})}),x.jsx(vd,{className:"origin-top-left",style:{transform:`scale(${u})`}})]}),x.jsx("div",{className:"footer rounded text-skin-control bg-skin-title px-4 py-1 flex justify-between items-center gap-3",children:A===k4.Dynamic&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"flex items-center gap-3 color-base",children:[x.jsx("button",{className:"bottom-1 flex items-center left-1 hide-export",onClick:Z,children:x.jsx(l3,{name:"tip",className:"filter grayscale w-4 h-4"})}),w&&x.jsx(rA,{}),x.jsxs("div",{className:"flex items-center",children:[x.jsx("input",{type:"checkbox",id:"order-display",className:"mr-1",checked:!!p,onChange:()=>m(!p)}),x.jsx("label",{htmlFor:"order-display",title:"Numbering the diagram",className:"select-none",children:x.jsx(l3,{name:"numbering",className:"w-6 h-6"})})]})]}),x.jsxs("div",{className:"zoom-controls flex hide-export gap-1",children:[x.jsx("button",{className:"zoom-in",onClick:F,children:x.jsx(l3,{name:"zoom-in",className:"w-4 h-4"})}),x.jsxs("label",{className:"w-12 block text-center",children:[Number(u*100).toFixed(0),"%"]}),x.jsx("button",{className:"zoom-out",onClick:t2,children:x.jsx(l3,{name:"zoom-out",className:"w-4 h-4"})})]}),x.jsx("a",{target:"_blank",href:"https://zenuml.com",className:"brand text-xs hover:underline",children:"ZenUML.com"})]})})]})]})},ZR="3.
|
|
229
|
+
`+o.slice(Z.lineHead))};return RR(m.floating.current,()=>{L(!1)}),M.useEffect(()=>{n((y,Z)=>{setTimeout(()=>{var D;const k=p.current;if(k.start=y.start.start,k.lineHead=ro(o,k.start),k.prevLine=Lm(o,k.start),k.leadingSpaces=((D=o.slice(k.lineHead).match(/^\s*/))==null?void 0:D[0])||"",k.prevLineIsComment=k.prevLine.trim().startsWith("//"),k.prevLineIsComment){const z=k.prevLine.trimStart().slice(2).trimStart(),O=z.indexOf("["),F=z.indexOf("]");k.hasStyleBrackets=!!(O===0&&F),k.hasStyleBrackets?u(z.slice(O+1,F).split(",").map(t2=>t2.trim())):u([])}m.setReference(Z),f(y),L(!0)},0)})},[o,m,n]),x.jsx("div",{id:"style-panel",ref:m.setFloating,style:w,children:r&&x.jsx("div",{className:"flex bg-white shadow-md z-10 rounded-md p-1",children:bR.map(y=>x.jsx("div",{onClick:()=>A(y.class),children:x.jsx("div",{className:W2("w-6 mx-1 py-1 rounded-md text-black text-center cursor-pointer hover:bg-gray-200",[y.class,{"bg-gray-100":c.includes(y.class)}]),children:y.content})},y.name))})})},_d=Bl.child({name:"MessageLayer"}),md=o=>{const e=G2(t5),t=G2(Z4),n=M.useMemo(()=>{const u=X8(e);return u.length===0?W1:u[0].from||W1},[e]),r=I4(t,n)+1,[L,c]=M.useState(!1);return L&&_d.debug("MessageLayer updated"),M.useEffect(()=>{c(!0),_d.debug("MessageLayer mounted")},[]),x.jsxs("div",{className:"message-layer relative z-30 pt-14 pb-10",style:o.style,children:[x.jsx(h4,{context:o.context,style:{paddingLeft:`${r}px`},origin:n}),x.jsx(TR,{})]})},vd=o=>{const e=G2(j5),t=G2(b9),n=G2(t5),r=G2(Z4),L=T5(wo),c=M.useRef(null);M.useEffect(()=>{L(c.current)}),M.useImperativeHandle(o.ref,()=>c.current);const u=M.useMemo(()=>{const f=r.orderedParticipantNames(),p=new Xe(f).getFrame(n);return p?Ke(p).left:0},[r,n]),d=M.useMemo(()=>rd(n,r)-u,[n,r,u]);return x.jsx("div",{className:W2("zenuml sequence-diagram relative box-border text-left overflow-visible px-2.5",e,o.className),style:o.style,ref:c,children:x.jsx("div",{style:{paddingLeft:`${u}px`},className:"relative z-container",children:t===k4.Dynamic?x.jsxs(x.Fragment,{children:[x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderLifeLine:!0}),x.jsx(md,{context:n==null?void 0:n.block(),style:{width:`${d}px`}}),x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderParticipants:!0})]}):x.jsxs(x.Fragment,{children:[x.jsx(vs,{leftGap:u,context:n==null?void 0:n.head(),renderParticipants:!0,renderLifeLine:!0}),x.jsx(md,{context:n==null?void 0:n.block(),style:{width:`${d}px`}})]})})})},st={backgroundColor:"white",filter:o=>{var e;return!((e=o==null?void 0:o.classList)!=null&&e.contains("hide-export"))}},kR=({ref:o,children:e})=>{const t=M.useRef(null),n=M.useRef(null),r=G2(t5),[L,c]=q4(kc),[u,d]=q4(Tc),[f,g]=q4(j5),[p,m]=q4(Zc),w=G2(bc),A=G2(b9),y=r==null?void 0:r.title(),Z=()=>{c(!0)},k=async()=>{if(t.current)return Kc(t.current,st)},D=async()=>{if(t.current)return ko(t.current,st)},z=async()=>{if(t.current)return Ox(t.current,st)},O=async()=>{if(t.current)return Ix(t.current,st)},F=()=>{const n2=Math.min(1,u+.1);d(n2)},t2=()=>{d(u-.1)},H=n2=>{const L2="zenuml-style";let r2;r2=document.createElement("style"),r2.id=L2,document.head.append(r2),r2.textContent=n2},Q=n2=>{const L2=new URL(n2).hostname;if(L2==="https://github.com"||L2==="https://githubusercontent.com"){fetch(n2.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(x2=>x2.text()).then(x2=>{H(x2)});return}const r2="zenuml-remote-css";let C2;C2=document.createElement("link"),C2.id=r2,C2.rel="stylesheet",document.head.append(C2),C2.href=n2};return M.useImperativeHandle(o,()=>({toPng:k,toSvg:D,toBlob:z,toJpeg:O,zoomIn:F,zoomOut:t2,setTheme:g,setRemoteCss:Q})),x.jsxs("div",{ref:t,className:W2("p-1 bg-skin-canvas inline-block",f),children:[x.jsx(gw,{}),x.jsxs("div",{className:"frame text-skin-base bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",children:[x.jsxs("div",{ref:n,children:[x.jsxs("div",{className:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t",children:[x.jsx("div",{className:"left hide-export",children:e}),x.jsxs("div",{className:"right flex-grow flex justify-between",children:[x.jsx(_w,{context:y}),x.jsx(pw,{className:"hide-export flex items-center"})]})]}),L&&x.jsx("div",{className:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:x.jsx(Rw,{})}),x.jsx(vd,{className:"origin-top-left",style:{transform:`scale(${u})`}})]}),x.jsx("div",{className:"footer rounded text-skin-control bg-skin-title px-4 py-1 flex justify-between items-center gap-3",children:A===k4.Dynamic&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"flex items-center gap-3 color-base",children:[x.jsx("button",{className:"bottom-1 flex items-center left-1 hide-export",onClick:Z,children:x.jsx(l3,{name:"tip",className:"filter grayscale w-4 h-4"})}),w&&x.jsx(rA,{}),x.jsxs("div",{className:"flex items-center",children:[x.jsx("input",{type:"checkbox",id:"order-display",className:"mr-1",checked:!!p,onChange:()=>m(!p)}),x.jsx("label",{htmlFor:"order-display",title:"Numbering the diagram",className:"select-none",children:x.jsx(l3,{name:"numbering",className:"w-6 h-6"})})]})]}),x.jsxs("div",{className:"zoom-controls flex hide-export gap-1",children:[x.jsx("button",{className:"zoom-in",onClick:F,children:x.jsx(l3,{name:"zoom-in",className:"w-4 h-4"})}),x.jsxs("label",{className:"w-12 block text-center",children:[Number(u*100).toFixed(0),"%"]}),x.jsx("button",{className:"zoom-out",onClick:t2,children:x.jsx(l3,{name:"zoom-out",className:"w-4 h-4"})})]}),x.jsx("a",{target:"_blank",href:"https://zenuml.com",className:"brand text-xs hover:underline",children:"ZenUML.com"})]})})]})]})},ZR="3.45.0";function ER(o){const e=Math.floor(o/1e3),t=Math.floor(o%1e3),n=Math.floor((o%1e3-t)*1e3);return e+"s "+t+"ms "+n+"μs"}const IR=(o,e)=>{const n=xd()-e;return console.debug(o+" cost: "+ER(n)),n},xd=()=>performance.now();var Zs={exports:{}},R6={},Es={exports:{}},Is={};/**
|
|
230
230
|
* @license React
|
|
231
231
|
* scheduler.production.js
|
|
232
232
|
*
|
|
@@ -234,7 +234,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),g9=u2,i3=M2);const D1=
|
|
|
234
234
|
*
|
|
235
235
|
* This source code is licensed under the MIT license found in the
|
|
236
236
|
* LICENSE file in the root directory of this source tree.
|
|
237
|
-
*/var wd;function OR(){return wd||(wd=1,(function(o){function e(T,U){var B=T.length;T.push(U);e:for(;0<B;){var
|
|
237
|
+
*/var wd;function OR(){return wd||(wd=1,(function(o){function e(T,U){var B=T.length;T.push(U);e:for(;0<B;){var p2=B-1>>>1,R=T[p2];if(0<r(R,U))T[p2]=U,T[B]=R,B=p2;else break e}}function t(T){return T.length===0?null:T[0]}function n(T){if(T.length===0)return null;var U=T[0],B=T.pop();if(B!==U){T[0]=B;e:for(var p2=0,R=T.length,J=R>>>1;p2<J;){var i2=2*(p2+1)-1,V=T[i2],e2=i2+1,_2=T[e2];if(0>r(V,B))e2<R&&0>r(_2,V)?(T[p2]=_2,T[e2]=B,p2=e2):(T[p2]=V,T[i2]=B,p2=i2);else if(e2<R&&0>r(_2,B))T[p2]=_2,T[e2]=B,p2=e2;else break e}}return U}function r(T,U){var B=T.sortIndex-U.sortIndex;return B!==0?B:T.id-U.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var L=performance;o.unstable_now=function(){return L.now()}}else{var c=Date,u=c.now();o.unstable_now=function(){return c.now()-u}}var d=[],f=[],g=1,p=null,m=3,w=!1,A=!1,y=!1,Z=!1,k=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function O(T){for(var U=t(f);U!==null;){if(U.callback===null)n(f);else if(U.startTime<=T)n(f),U.sortIndex=U.expirationTime,e(d,U);else break;U=t(f)}}function F(T){if(y=!1,O(T),!A)if(t(d)!==null)A=!0,t2||(t2=!0,C2());else{var U=t(f);U!==null&&$(F,U.startTime-T)}}var t2=!1,H=-1,Q=5,n2=-1;function L2(){return Z?!0:!(o.unstable_now()-n2<Q)}function r2(){if(Z=!1,t2){var T=o.unstable_now();n2=T;var U=!0;try{e:{A=!1,y&&(y=!1,D(H),H=-1),w=!0;var B=m;try{t:{for(O(T),p=t(d);p!==null&&!(p.expirationTime>T&&L2());){var p2=p.callback;if(typeof p2=="function"){p.callback=null,m=p.priorityLevel;var R=p2(p.expirationTime<=T);if(T=o.unstable_now(),typeof R=="function"){p.callback=R,O(T),U=!0;break t}p===t(d)&&n(d),O(T)}else n(d);p=t(d)}if(p!==null)U=!0;else{var J=t(f);J!==null&&$(F,J.startTime-T),U=!1}}break e}finally{p=null,m=B,w=!1}U=void 0}}finally{U?C2():t2=!1}}}var C2;if(typeof z=="function")C2=function(){z(r2)};else if(typeof MessageChannel<"u"){var x2=new MessageChannel,D2=x2.port2;x2.port1.onmessage=r2,C2=function(){D2.postMessage(null)}}else C2=function(){k(r2,0)};function $(T,U){H=k(function(){T(o.unstable_now())},U)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(T){T.callback=null},o.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<T?Math.floor(1e3/T):5},o.unstable_getCurrentPriorityLevel=function(){return m},o.unstable_next=function(T){switch(m){case 1:case 2:case 3:var U=3;break;default:U=m}var B=m;m=U;try{return T()}finally{m=B}},o.unstable_requestPaint=function(){Z=!0},o.unstable_runWithPriority=function(T,U){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var B=m;m=T;try{return U()}finally{m=B}},o.unstable_scheduleCallback=function(T,U,B){var p2=o.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?p2+B:p2):B=p2,T){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=B+R,T={id:g++,callback:U,priorityLevel:T,startTime:B,expirationTime:R,sortIndex:-1},B>p2?(T.sortIndex=B,e(f,T),t(d)===null&&T===t(f)&&(y?(D(H),H=-1):y=!0,$(F,B-p2))):(T.sortIndex=R,e(d,T),A||w||(A=!0,t2||(t2=!0,C2()))),T},o.unstable_shouldYield=L2,o.unstable_wrapCallback=function(T){var U=m;return function(){var B=m;m=U;try{return T.apply(this,arguments)}finally{m=B}}}})(Is)),Is}var Md;function zR(){return Md||(Md=1,Es.exports=OR()),Es.exports}/**
|
|
238
238
|
* @license React
|
|
239
239
|
* react-dom-client.production.js
|
|
240
240
|
*
|
|
@@ -242,7 +242,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),g9=u2,i3=M2);const D1=
|
|
|
242
242
|
*
|
|
243
243
|
* This source code is licensed under the MIT license found in the
|
|
244
244
|
* LICENSE file in the root directory of this source tree.
|
|
245
|
-
*/var Sd;function PR(){if(Sd)return R6;Sd=1;var o=zR(),e=T7(),t=MC();function n(i){var s="https://react.dev/errors/"+i;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+i+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function L(i){var s=i,l=i;if(i.alternate)for(;s.return;)s=s.return;else{i=s;do s=i,(s.flags&4098)!==0&&(l=s.return),i=s.return;while(i)}return s.tag===3?l:null}function c(i){if(i.tag===13){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}function u(i){if(L(i)!==i)throw Error(n(188))}function d(i){var s=i.alternate;if(!s){if(s=L(i),s===null)throw Error(n(188));return s!==i?null:i}for(var l=i,a=s;;){var C=l.return;if(C===null)break;var h=C.alternate;if(h===null){if(a=C.return,a!==null){l=a;continue}break}if(C.child===h.child){for(h=C.child;h;){if(h===l)return u(C),i;if(h===a)return u(C),s;h=h.sibling}throw Error(n(188))}if(l.return!==a.return)l=C,a=h;else{for(var _=!1,S=C.child;S;){if(S===l){_=!0,l=C,a=h;break}if(S===a){_=!0,a=C,l=h;break}S=S.sibling}if(!_){for(S=h.child;S;){if(S===l){_=!0,l=h,a=C;break}if(S===a){_=!0,a=h,l=C;break}S=S.sibling}if(!_)throw Error(n(189))}}if(l.alternate!==a)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?i:s}function f(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i;for(i=i.child;i!==null;){if(s=f(i),s!==null)return s;i=i.sibling}return null}var g=Object.assign,p=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),D=Symbol.for("react.consumer"),z=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),t2=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),n2=Symbol.for("react.activity"),L2=Symbol.for("react.memo_cache_sentinel"),r2=Symbol.iterator;function C2(i){return i===null||typeof i!="object"?null:(i=r2&&i[r2]||i["@@iterator"],typeof i=="function"?i:null)}var x2=Symbol.for("react.client.reference");function D2(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===x2?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case A:return"Fragment";case Z:return"Profiler";case y:return"StrictMode";case F:return"Suspense";case t2:return"SuspenseList";case n2:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case w:return"Portal";case z:return(i.displayName||"Context")+".Provider";case D:return(i._context.displayName||"Context")+".Consumer";case O:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case H:return s=i.displayName||null,s!==null?s:D2(i.type)||"Memo";case Q:s=i._payload,i=i._init;try{return D2(i(s))}catch{}}return null}var $=Array.isArray,T=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},g2=[],R=-1;function J(i){return{current:i}}function i2(i){0>R||(i.current=g2[R],g2[R]=null,R--)}function V(i,s){R++,g2[R]=i.current,i.current=s}var e2=J(null),_2=J(null),v2=J(null),N2=J(null);function Y2(i,s){switch(V(v2,s),V(_2,i),V(e2,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?Fg(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=Fg(s),i=Bg(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}i2(e2),V(e2,i)}function R1(){i2(e2),i2(_2),i2(v2)}function v1(i){i.memoizedState!==null&&V(N2,i);var s=e2.current,l=Bg(s,i.type);s!==l&&(V(_2,i),V(e2,l))}function J1(i){_2.current===i&&(i2(e2),i2(_2)),N2.current===i&&(i2(N2),x7._currentValue=B)}var e3=Object.prototype.hasOwnProperty,V3=o.unstable_scheduleCallback,I3=o.unstable_cancelCallback,h9=o.unstable_shouldYield,z4=o.unstable_requestPaint,U1=o.unstable_now,_0=o.unstable_getCurrentPriorityLevel,z9=o.unstable_ImmediatePriority,m0=o.unstable_UserBlockingPriority,P9=o.unstable_NormalPriority,T6=o.unstable_LowPriority,v0=o.unstable_IdlePriority,D9=o.log,f9=o.unstable_setDisableYieldValue,O3=null,L3=null;function f4(i){if(typeof D9=="function"&&f9(i),L3&&typeof L3.setStrictMode=="function")try{L3.setStrictMode(O3,i)}catch{}}var c3=Math.clz32?Math.clz32:C3,N9=Math.log,c5=Math.LN2;function C3(i){return i>>>=0,i===0?32:31-(N9(i)/c5|0)|0}var g4=256,x3=4194304;function w3(i){var s=i&42;if(s!==0)return s;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function F9(i,s,l){var a=i.pendingLanes;if(a===0)return 0;var C=0,h=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var S=a&134217727;return S!==0?(a=S&~h,a!==0?C=w3(a):(_&=S,_!==0?C=w3(_):l||(l=S&~i,l!==0&&(C=w3(l))))):(S=a&~h,S!==0?C=w3(S):_!==0?C=w3(_):l||(l=a&~i,l!==0&&(C=w3(l)))),C===0?0:s!==0&&s!==C&&(s&h)===0&&(h=C&-C,l=s&-s,h>=l||h===32&&(l&4194048)!==0)?s:C}function J4(i,s){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&s)===0}function W(i,s){switch(i){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function s2(){var i=g4;return g4<<=1,(g4&4194048)===0&&(g4=256),i}function m2(){var i=x3;return x3<<=1,(x3&62914560)===0&&(x3=4194304),i}function O2(i){for(var s=[],l=0;31>l;l++)s.push(i);return s}function Q2(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function c1(i,s,l,a,C,h){var _=i.pendingLanes;i.pendingLanes=l,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=l,i.entangledLanes&=l,i.errorRecoveryDisabledLanes&=l,i.shellSuspendCounter=0;var S=i.entanglements,b=i.expirationTimes,Y=i.hiddenUpdates;for(l=_&~l;0<l;){var o2=31-c3(l),a2=1<<o2;S[o2]=0,b[o2]=-1;var X=Y[o2];if(X!==null)for(Y[o2]=null,o2=0;o2<X.length;o2++){var K=X[o2];K!==null&&(K.lane&=-536870913)}l&=~a2}a!==0&&I1(i,a,0),h!==0&&C===0&&i.tag!==0&&(i.suspendedLanes|=h&~(_&~s))}function I1(i,s,l){i.pendingLanes|=s,i.suspendedLanes&=~s;var a=31-c3(s);i.entangledLanes|=s,i.entanglements[a]=i.entanglements[a]|1073741824|l&4194090}function h2(i,s){var l=i.entangledLanes|=s;for(i=i.entanglements;l;){var a=31-c3(l),C=1<<a;C&s|i[a]&s&&(i[a]|=s),l&=~C}}function S2(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function H2(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function q2(){var i=U.p;return i!==0?i:(i=window.event,i===void 0?32:sp(i.type))}function x1(i,s){var l=U.p;try{return U.p=i,s()}finally{U.p=l}}var t3=Math.random().toString(36).slice(2),P1="__reactFiber$"+t3,n3="__reactProps$"+t3,u3="__reactContainer$"+t3,P4="__reactEvents$"+t3,e8="__reactListeners$"+t3,t8="__reactHandles$"+t3,x0="__reactResources$"+t3,p4="__reactMarker$"+t3;function q3(i){delete i[P1],delete i[n3],delete i[P4],delete i[e8],delete i[t8]}function _4(i){var s=i[P1];if(s)return s;for(var l=i.parentNode;l;){if(s=l[u3]||l[P1]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(i=Hg(i);i!==null;){if(l=i[P1])return l;i=Hg(i)}return s}i=l,l=i.parentNode}return null}function e9(i){if(i=i[P1]||i[u3]){var s=i.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return i}return null}function D4(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i.stateNode;throw Error(n(33))}function N4(i){var s=i[x0];return s||(s=i[x0]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function H1(i){i[p4]=!0}var I2=new Set,I={};function d2(i,s){w2(i,s),w2(i+"Capture",s)}function w2(i,s){for(I[i]=s,i=0;i<s.length;i++)I2.add(s[i])}var a1=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$1={},k1={};function g3(i){return e3.call(k1,i)?!0:e3.call($1,i)?!1:a1.test(i)?k1[i]=!0:($1[i]=!0,!1)}function z3(i,s,l){if(g3(s))if(l===null)i.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":i.removeAttribute(s);return;case"boolean":var a=s.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){i.removeAttribute(s);return}}i.setAttribute(s,""+l)}}function Y3(i,s,l){if(l===null)i.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(s);return}i.setAttribute(s,""+l)}}function Q3(i,s,l,a){if(a===null)i.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttributeNS(s,l,""+a)}}var G1,u2;function M2(i){if(G1===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);G1=s&&s[1]||"",u2=-1<l.stack.indexOf(`
|
|
245
|
+
*/var Sd;function PR(){if(Sd)return R6;Sd=1;var o=zR(),e=T7(),t=MC();function n(i){var s="https://react.dev/errors/"+i;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+i+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function L(i){var s=i,l=i;if(i.alternate)for(;s.return;)s=s.return;else{i=s;do s=i,(s.flags&4098)!==0&&(l=s.return),i=s.return;while(i)}return s.tag===3?l:null}function c(i){if(i.tag===13){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}function u(i){if(L(i)!==i)throw Error(n(188))}function d(i){var s=i.alternate;if(!s){if(s=L(i),s===null)throw Error(n(188));return s!==i?null:i}for(var l=i,a=s;;){var C=l.return;if(C===null)break;var h=C.alternate;if(h===null){if(a=C.return,a!==null){l=a;continue}break}if(C.child===h.child){for(h=C.child;h;){if(h===l)return u(C),i;if(h===a)return u(C),s;h=h.sibling}throw Error(n(188))}if(l.return!==a.return)l=C,a=h;else{for(var _=!1,S=C.child;S;){if(S===l){_=!0,l=C,a=h;break}if(S===a){_=!0,a=C,l=h;break}S=S.sibling}if(!_){for(S=h.child;S;){if(S===l){_=!0,l=h,a=C;break}if(S===a){_=!0,a=h,l=C;break}S=S.sibling}if(!_)throw Error(n(189))}}if(l.alternate!==a)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?i:s}function f(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i;for(i=i.child;i!==null;){if(s=f(i),s!==null)return s;i=i.sibling}return null}var g=Object.assign,p=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),D=Symbol.for("react.consumer"),z=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),t2=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),n2=Symbol.for("react.activity"),L2=Symbol.for("react.memo_cache_sentinel"),r2=Symbol.iterator;function C2(i){return i===null||typeof i!="object"?null:(i=r2&&i[r2]||i["@@iterator"],typeof i=="function"?i:null)}var x2=Symbol.for("react.client.reference");function D2(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===x2?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case A:return"Fragment";case Z:return"Profiler";case y:return"StrictMode";case F:return"Suspense";case t2:return"SuspenseList";case n2:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case w:return"Portal";case z:return(i.displayName||"Context")+".Provider";case D:return(i._context.displayName||"Context")+".Consumer";case O:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case H:return s=i.displayName||null,s!==null?s:D2(i.type)||"Memo";case Q:s=i._payload,i=i._init;try{return D2(i(s))}catch{}}return null}var $=Array.isArray,T=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},p2=[],R=-1;function J(i){return{current:i}}function i2(i){0>R||(i.current=p2[R],p2[R]=null,R--)}function V(i,s){R++,p2[R]=i.current,i.current=s}var e2=J(null),_2=J(null),v2=J(null),N2=J(null);function Y2(i,s){switch(V(v2,s),V(_2,i),V(e2,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?Fg(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=Fg(s),i=Bg(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}i2(e2),V(e2,i)}function R1(){i2(e2),i2(_2),i2(v2)}function v1(i){i.memoizedState!==null&&V(N2,i);var s=e2.current,l=Bg(s,i.type);s!==l&&(V(_2,i),V(e2,l))}function J1(i){_2.current===i&&(i2(e2),i2(_2)),N2.current===i&&(i2(N2),x7._currentValue=B)}var e3=Object.prototype.hasOwnProperty,V3=o.unstable_scheduleCallback,I3=o.unstable_cancelCallback,h9=o.unstable_shouldYield,z4=o.unstable_requestPaint,U1=o.unstable_now,_0=o.unstable_getCurrentPriorityLevel,z9=o.unstable_ImmediatePriority,m0=o.unstable_UserBlockingPriority,P9=o.unstable_NormalPriority,T6=o.unstable_LowPriority,v0=o.unstable_IdlePriority,D9=o.log,f9=o.unstable_setDisableYieldValue,O3=null,L3=null;function f4(i){if(typeof D9=="function"&&f9(i),L3&&typeof L3.setStrictMode=="function")try{L3.setStrictMode(O3,i)}catch{}}var c3=Math.clz32?Math.clz32:C3,N9=Math.log,c5=Math.LN2;function C3(i){return i>>>=0,i===0?32:31-(N9(i)/c5|0)|0}var g4=256,x3=4194304;function w3(i){var s=i&42;if(s!==0)return s;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function F9(i,s,l){var a=i.pendingLanes;if(a===0)return 0;var C=0,h=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var S=a&134217727;return S!==0?(a=S&~h,a!==0?C=w3(a):(_&=S,_!==0?C=w3(_):l||(l=S&~i,l!==0&&(C=w3(l))))):(S=a&~h,S!==0?C=w3(S):_!==0?C=w3(_):l||(l=a&~i,l!==0&&(C=w3(l)))),C===0?0:s!==0&&s!==C&&(s&h)===0&&(h=C&-C,l=s&-s,h>=l||h===32&&(l&4194048)!==0)?s:C}function J4(i,s){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&s)===0}function W(i,s){switch(i){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function s2(){var i=g4;return g4<<=1,(g4&4194048)===0&&(g4=256),i}function m2(){var i=x3;return x3<<=1,(x3&62914560)===0&&(x3=4194304),i}function O2(i){for(var s=[],l=0;31>l;l++)s.push(i);return s}function Q2(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function c1(i,s,l,a,C,h){var _=i.pendingLanes;i.pendingLanes=l,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=l,i.entangledLanes&=l,i.errorRecoveryDisabledLanes&=l,i.shellSuspendCounter=0;var S=i.entanglements,b=i.expirationTimes,Y=i.hiddenUpdates;for(l=_&~l;0<l;){var o2=31-c3(l),a2=1<<o2;S[o2]=0,b[o2]=-1;var X=Y[o2];if(X!==null)for(Y[o2]=null,o2=0;o2<X.length;o2++){var K=X[o2];K!==null&&(K.lane&=-536870913)}l&=~a2}a!==0&&I1(i,a,0),h!==0&&C===0&&i.tag!==0&&(i.suspendedLanes|=h&~(_&~s))}function I1(i,s,l){i.pendingLanes|=s,i.suspendedLanes&=~s;var a=31-c3(s);i.entangledLanes|=s,i.entanglements[a]=i.entanglements[a]|1073741824|l&4194090}function h2(i,s){var l=i.entangledLanes|=s;for(i=i.entanglements;l;){var a=31-c3(l),C=1<<a;C&s|i[a]&s&&(i[a]|=s),l&=~C}}function S2(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function H2(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function q2(){var i=U.p;return i!==0?i:(i=window.event,i===void 0?32:sp(i.type))}function x1(i,s){var l=U.p;try{return U.p=i,s()}finally{U.p=l}}var t3=Math.random().toString(36).slice(2),P1="__reactFiber$"+t3,n3="__reactProps$"+t3,u3="__reactContainer$"+t3,P4="__reactEvents$"+t3,e8="__reactListeners$"+t3,t8="__reactHandles$"+t3,x0="__reactResources$"+t3,p4="__reactMarker$"+t3;function q3(i){delete i[P1],delete i[n3],delete i[P4],delete i[e8],delete i[t8]}function _4(i){var s=i[P1];if(s)return s;for(var l=i.parentNode;l;){if(s=l[u3]||l[P1]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(i=Hg(i);i!==null;){if(l=i[P1])return l;i=Hg(i)}return s}i=l,l=i.parentNode}return null}function e9(i){if(i=i[P1]||i[u3]){var s=i.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return i}return null}function D4(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i.stateNode;throw Error(n(33))}function N4(i){var s=i[x0];return s||(s=i[x0]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function H1(i){i[p4]=!0}var I2=new Set,I={};function d2(i,s){w2(i,s),w2(i+"Capture",s)}function w2(i,s){for(I[i]=s,i=0;i<s.length;i++)I2.add(s[i])}var a1=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$1={},k1={};function g3(i){return e3.call(k1,i)?!0:e3.call($1,i)?!1:a1.test(i)?k1[i]=!0:($1[i]=!0,!1)}function z3(i,s,l){if(g3(s))if(l===null)i.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":i.removeAttribute(s);return;case"boolean":var a=s.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){i.removeAttribute(s);return}}i.setAttribute(s,""+l)}}function Y3(i,s,l){if(l===null)i.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(s);return}i.setAttribute(s,""+l)}}function Q3(i,s,l,a){if(a===null)i.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttributeNS(s,l,""+a)}}var G1,u2;function M2(i){if(G1===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);G1=s&&s[1]||"",u2=-1<l.stack.indexOf(`
|
|
246
246
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
247
247
|
`+G1+i+u2}var i1=!1;function p1(i,s){if(!i||i1)return"";i1=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(s){var a2=function(){throw Error()};if(Object.defineProperty(a2.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a2,[])}catch(K){var X=K}Reflect.construct(i,[],a2)}else{try{a2.call()}catch(K){X=K}i.call(a2.prototype)}}else{try{throw Error()}catch(K){X=K}(a2=i())&&typeof a2.catch=="function"&&a2.catch(function(){})}}catch(K){if(K&&X&&typeof K.stack=="string")return[K.stack,X.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var C=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");C&&C.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=a.DetermineComponentFrameRoot(),_=h[0],S=h[1];if(_&&S){var b=_.split(`
|
|
248
248
|
`),Y=S.split(`
|