diff --git a/_app/immutable/chunks/0-62d4b193.js b/_app/immutable/chunks/0-62d4b193.js new file mode 100644 index 00000000..d8326553 --- /dev/null +++ b/_app/immutable/chunks/0-62d4b193.js @@ -0,0 +1 @@ +import{_ as r}from"./_layout-fd68092a.js";import{default as t}from"../components/pages/_layout.svelte-9ffb7de9.js";export{t as component,r as shared}; diff --git a/_app/immutable/chunks/1-357e8118.js b/_app/immutable/chunks/1-357e8118.js new file mode 100644 index 00000000..2371b3b0 --- /dev/null +++ b/_app/immutable/chunks/1-357e8118.js @@ -0,0 +1 @@ +import{default as t}from"../components/error.svelte-88af9983.js";export{t as component}; diff --git a/_app/immutable/chunks/2-63ca054c.js b/_app/immutable/chunks/2-63ca054c.js new file mode 100644 index 00000000..948482f6 --- /dev/null +++ b/_app/immutable/chunks/2-63ca054c.js @@ -0,0 +1 @@ +import{default as t}from"../components/pages/_page.svelte-08882bf4.js";export{t as component}; diff --git a/_app/immutable/chunks/3-0259d030.js b/_app/immutable/chunks/3-0259d030.js new file mode 100644 index 00000000..98f783cd --- /dev/null +++ b/_app/immutable/chunks/3-0259d030.js @@ -0,0 +1 @@ +import{default as t}from"../components/pages/edit/_page.svelte-5836836a.js";export{t as component}; diff --git a/_app/immutable/chunks/4-045c0d79.js b/_app/immutable/chunks/4-045c0d79.js new file mode 100644 index 00000000..e8c3a533 --- /dev/null +++ b/_app/immutable/chunks/4-045c0d79.js @@ -0,0 +1 @@ +import{default as t}from"../components/pages/view/_page.svelte-700ab5b2.js";export{t as component}; diff --git a/_app/immutable/chunks/index-85b2c4b8.js b/_app/immutable/chunks/index-85b2c4b8.js new file mode 100644 index 00000000..ffa59c72 --- /dev/null +++ b/_app/immutable/chunks/index-85b2c4b8.js @@ -0,0 +1,4 @@ +function m(){}const lt=t=>t;function ut(t,n){for(const e in n)t[e]=n[e];return t}function Q(t){return t()}function G(){return Object.create(null)}function b(t){t.forEach(Q)}function B(t){return typeof t=="function"}function at(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}function ft(t){return Object.keys(t).length===0}function F(t,...n){if(t==null)return m;const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function Tt(t){let n;return F(t,e=>n=e)(),n}function Bt(t,n,e){t.$$.on_destroy.push(F(n,e))}function Ft(t,n,e,i){if(t){const s=U(t,n,e,i);return t[0](s)}}function U(t,n,e,i){return t[1]&&i?ut(e.ctx.slice(),t[1](i(n))):e.ctx}function Ht(t,n,e,i){if(t[2]&&i){const s=t[2](i(e));if(n.dirty===void 0)return s;if(typeof s=="object"){const u=[],r=Math.max(n.dirty.length,s.length);for(let o=0;o32){const n=[],e=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),H=V?t=>requestAnimationFrame(t):m;const w=new Set;function X(t){w.forEach(n=>{n.c(t)||(w.delete(n),n.f())}),w.size!==0&&H(X)}function _t(t){let n;return w.size===0&&H(X),{promise:new Promise(e=>{w.add(n={c:t,f:e})}),abort(){w.delete(n)}}}let D=!1;function ht(){D=!0}function mt(){D=!1}function pt(t,n,e,i){for(;t>1);e(s)<=i?t=s+1:n=s}return t}function yt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c0&&n[e[s]].claim_order<=c?s+1:pt(1,s,a=>n[e[a]].claim_order,c))-1;i[l]=e[d]+1;const f=d+1;e[f]=l,s=Math.max(f,s)}const u=[],r=[];let o=n.length-1;for(let l=e[s]+1;l!=0;l=i[l-1]){for(u.push(n[l-1]);o>=l;o--)r.push(n[o]);o--}for(;o>=0;o--)r.push(n[o]);u.reverse(),r.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l=u[c].claim_order;)c++;const d=ct.removeEventListener(n,e,i)}function Yt(t){return function(n){return n.stopPropagation(),t.call(this,n)}}function Zt(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function tn(t){return t===""?null:+t}function vt(t){return Array.from(t.childNodes)}function Et(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function nt(t,n,e,i,s=!1){Et(t);const u=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const o=t[r];if(n(o)){const l=e(o);return l===void 0?t.splice(r,1):t[r]=l,s?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,o}}return i()})();return u.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,u}function et(t,n,e,i){return nt(t,s=>s.nodeName===n,s=>{const u=[];for(let r=0;rs.removeAttribute(r))},()=>i(n))}function nn(t,n,e){return et(t,n,e,tt)}function en(t,n,e){return et(t,n,e,wt)}function Nt(t,n){return nt(t,e=>e.nodeType===3,e=>{const i=""+n;if(e.data.startsWith(i)){if(e.data.length!==i.length)return e.splitText(i.length)}else e.data=i},()=>I(n),!0)}function rn(t){return Nt(t," ")}function sn(t,n){n=""+n,t.wholeText!==n&&(t.data=n)}function cn(t,n){t.value=n==null?"":n}function on(t,n,e,i){e===null?t.style.removeProperty(n):t.style.setProperty(n,e,i?"important":"")}function ln(t,n,e){t.classList[e?"add":"remove"](n)}function it(t,n,{bubbles:e=!1,cancelable:i=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(t,e,i,n),s}const M=new Map;let P=0;function kt(t){let n=5381,e=t.length;for(;e--;)n=(n<<5)-n^t.charCodeAt(e);return n>>>0}function At(t,n){const e={stylesheet:bt(n),rules:{}};return M.set(t,e),e}function J(t,n,e,i,s,u,r,o=0){const l=16.666/i;let c=`{ +`;for(let g=0;g<=1;g+=l){const x=n+(e-n)*u(g);c+=g*100+`%{${r(x,1-x)}} +`}const d=c+`100% {${r(e,1-e)}} +}`,f=`__svelte_${kt(d)}_${o}`,a=Y(t),{stylesheet:_,rules:h}=M.get(a)||At(a,t);h[f]||(h[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${i}ms linear ${s}ms 1 both`,P+=1,f}function St(t,n){const e=(t.style.animation||"").split(", "),i=e.filter(n?u=>u.indexOf(n)<0:u=>u.indexOf("__svelte")===-1),s=e.length-i.length;s&&(t.style.animation=i.join(", "),P-=s,P||Ct())}function Ct(){H(()=>{P||(M.forEach(t=>{const{ownerNode:n}=t.stylesheet;n&&Z(n)}),M.clear())})}let k;function N(t){k=t}function W(){if(!k)throw new Error("Function called outside component initialization");return k}function un(t){W().$$.on_mount.push(t)}function an(t){W().$$.after_update.push(t)}function fn(){const t=W();return(n,e,{cancelable:i=!1}={})=>{const s=t.$$.callbacks[n];if(s){const u=it(n,e,{cancelable:i});return s.slice().forEach(r=>{r.call(t,u)}),!u.defaultPrevented}return!0}}function dn(t,n){const e=t.$$.callbacks[n.type];e&&e.slice().forEach(i=>i.call(this,n))}const E=[],K=[],C=[],R=[],rt=Promise.resolve();let T=!1;function st(){T||(T=!0,rt.then(ct))}function _n(){return st(),rt}function z(t){C.push(t)}function hn(t){R.push(t)}const q=new Set;let S=0;function ct(){const t=k;do{for(;S{v=null})),v}function L(t,n,e){t.dispatchEvent(it(`${n?"intro":"outro"}${e}`))}const j=new Set;let p;function mn(){p={r:0,c:[],p}}function pn(){p.r||b(p.c),p=p.p}function Pt(t,n){t&&t.i&&(j.delete(t),t.i(n))}function yn(t,n,e,i){if(t&&t.o){if(j.has(t))return;j.add(t),p.c.push(()=>{j.delete(t),i&&(e&&t.d(1),i())}),t.o(n)}else i&&i()}const zt={duration:0};function gn(t,n,e,i){let s=n(t,e),u=i?0:1,r=null,o=null,l=null;function c(){l&&St(t,l)}function d(a,_){const h=a.b-u;return _*=Math.abs(h),{a:u,b:a.b,d:h,duration:_,start:a.start,end:a.start+_,group:a.group}}function f(a){const{delay:_=0,duration:h=300,easing:y=lt,tick:g=m,css:x}=s||zt,O={start:dt()+_,b:a};a||(O.group=p,p.r+=1),r||o?o=O:(x&&(c(),l=J(t,u,a,h,_,y,x)),a&&g(0,1),r=d(O,h),z(()=>L(t,a,"start")),_t(A=>{if(o&&A>o.start&&(r=d(o,h),o=null,L(t,r.b,"start"),x&&(c(),l=J(t,u,r.b,r.duration,0,y,s.css))),r){if(A>=r.end)g(u=r.b,1-u),L(t,r.b,"end"),o||(r.b?c():--r.group.r||b(r.group.c)),r=null;else if(A>=r.start){const ot=A-r.start;u=r.a+r.d*y(ot/r.duration),g(u,1-u)}}return!!(r||o)}))}return{run(a){B(s)?Mt().then(()=>{s=s(),f(a)}):f(a)},end(){c(),r=o=null}}}function bn(t,n,e){const i=t.$$.props[n];i!==void 0&&(t.$$.bound[i]=e,e(t.$$.ctx[i]))}function xn(t){t&&t.c()}function $n(t,n){t&&t.l(n)}function Dt(t,n,e,i){const{fragment:s,on_mount:u,on_destroy:r,after_update:o}=t.$$;s&&s.m(n,e),i||z(()=>{const l=u.map(Q).filter(B);r?r.push(...l):b(l),t.$$.on_mount=[]}),o.forEach(z)}function Ot(t,n){const e=t.$$;e.fragment!==null&&(b(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function qt(t,n){t.$$.dirty[0]===-1&&(E.push(t),st(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const h=_.length?_[0]:a;return c.ctx&&s(c.ctx[f],c.ctx[f]=h)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](h),d&&qt(t,f)),a}):[],c.update(),d=!0,b(c.before_update),c.fragment=i?i(c.ctx):!1,n.target){if(n.hydrate){ht();const f=vt(n.target);c.fragment&&c.fragment.l(f),f.forEach(Z)}else c.fragment&&c.fragment.c();n.intro&&Pt(t.$$.fragment),Dt(t,n.target,n.anchor,n.customElement),mt(),ct()}N(l)}class vn{$destroy(){Ot(this,1),this.$destroy=m}$on(n,e){const i=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return i.push(e),()=>{const s=i.indexOf(e);s!==-1&&i.splice(s,1)}}$set(n){this.$$set&&!ft(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}const $=[];function Lt(t,n){return{subscribe:Rt(t,n).subscribe}}function Rt(t,n=m){let e;const i=new Set;function s(o){if(at(t,o)&&(t=o,e)){const l=!$.length;for(const c of i)c[1](),$.push(c,t);if(l){for(let c=0;c<$.length;c+=2)$[c][0]($[c+1]);$.length=0}}}function u(o){s(o(t))}function r(o,l=m){const c=[o,l];return i.add(c),i.size===1&&(e=n(s)||m),o(t),()=>{i.delete(c),i.size===0&&(e(),e=null)}}return{set:s,update:u,subscribe:r}}function En(t,n,e){const i=!Array.isArray(t),s=i?[t]:t,u=n.length<2;return Lt(e,r=>{let o=!1;const l=[];let c=0,d=m;const f=()=>{if(c)return;d();const _=n(i?l[0]:l,r);u?r(_):d=B(_)?_:m},a=s.map((_,h)=>F(_,y=>{l[h]=y,c&=~(1<{c|=1<r[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var v={};function _(n,e,t){const r=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||location.protocol==="file:";if(!e.trackLocalhost&&r)return console.warn("[Plausible] Ignoring event because website is running locally");try{if(window.localStorage.plausible_ignore==="true")return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch{}const a={n,u:e.url,d:e.domain,r:e.referrer,w:e.deviceWidth,h:e.hashMode?1:0,p:t&&t.props?JSON.stringify(t.props):void 0},l=new XMLHttpRequest;l.open("POST",`${e.apiHost}/api/event`,!0),l.setRequestHeader("Content-Type","text/plain"),l.send(JSON.stringify(a)),l.onreadystatechange=()=>{l.readyState===4&&t&&t.callback&&t.callback()}}function k(n){const e=()=>({hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...n}),t=(i,s,c)=>{_(i,{...e(),...c},s)},r=(i,s)=>{t("pageview",s,i)};return{trackEvent:t,trackPageview:r,enableAutoPageviews:()=>{const i=()=>r(),s=history.pushState;return s&&(history.pushState=function(c,f,u){s.apply(this,[c,f,u]),i()},addEventListener("popstate",i)),n&&n.hashMode&&addEventListener("hashchange",i),r(),function(){s&&(history.pushState=s,removeEventListener("popstate",i)),n&&n.hashMode&&removeEventListener("hashchange",i)}},enableAutoOutboundTracking:(i=document,s={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function c(o){t("Outbound Link: Click",{props:{url:this.href}}),typeof process<"u"&&process,setTimeout(()=>{location.href=this.href},150),o.preventDefault()}const f=new Set;function u(o){o instanceof HTMLAnchorElement?o.host!==location.host&&(o.addEventListener("click",c),f.add(o)):"querySelectorAll"in o&&o.querySelectorAll("a").forEach(u)}function h(o){o instanceof HTMLAnchorElement?(o.removeEventListener("click",c),f.delete(o)):"querySelectorAll"in o&&o.querySelectorAll("a").forEach(h)}const g=new MutationObserver(o=>{o.forEach(p=>{p.type==="attributes"?(h(p.target),u(p.target)):p.type==="childList"&&(p.addedNodes.forEach(u),p.removedNodes.forEach(h))})});return i.querySelectorAll("a").forEach(u),g.observe(i,s),function(){f.forEach(p=>{p.removeEventListener("click",c)}),f.clear(),g.disconnect()}}}}const S=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"})),E=y(S);var d=b&&b.__assign||function(){return d=Object.assign||function(n){for(var e,t=1,r=arguments.length;tn)}function a(n){t=!1,e.set(n)}function o(n){let i;return e.subscribe(c=>{(i===void 0||t&&c!==i)&&n(i=c)})}return{notify:r,set:a,subscribe:o}}function p(){const{set:s,subscribe:e}=u(!1);let t;async function r(){clearTimeout(t);const a=await fetch(`${d}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(a.ok){const{version:o}=await a.json(),n=o!=="1662700968670";return n&&(s(!0),clearTimeout(t)),n}else throw new Error(`Version check failed: ${a.status}`)}return{subscribe:e,check:r}}let b;function v(s){b=s.client}const U={url:f({}),page:f({}),navigating:u(null),updated:p()};export{_ as a,b as c,k as f,g,v as i,U as s}; diff --git a/_app/immutable/chunks/state-54ce1bc7.js b/_app/immutable/chunks/state-54ce1bc7.js new file mode 100644 index 00000000..43ddb459 --- /dev/null +++ b/_app/immutable/chunks/state-54ce1bc7.js @@ -0,0 +1,1261 @@ +import{A as writable,H as derived,I as get_store_value}from"./index-85b2c4b8.js";import{_ as __vitePreload}from"./preload-helper-aa6bc0ce.js";const defaultLoading={loading:!1},loadingStateStore=writable(defaultLoading),initLoading=async(h,b)=>{loadingStateStore.set({loading:!0,message:h});const d=await b;return loadingStateStore.set({loading:!1}),d};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}function getAugmentedNamespace(h){var b=h.default;if(typeof b=="function"){var d=function(){return b.apply(this,arguments)};d.prototype=b.prototype}else d={};return Object.defineProperty(d,"__esModule",{value:!0}),Object.keys(h).forEach(function(m){var f=Object.getOwnPropertyDescriptor(h,m);Object.defineProperty(d,m,f.get?f:{enumerable:!0,get:function(){return h[m]}})}),d}var bundle={};(function(exports){(function(h,b){for(var d in b)h[d]=b[d];b.__esModule&&Object.defineProperty(h,"__esModule",{value:!0})})(exports,(()=>{var __webpack_modules__={607:(module,exports,__webpack_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0});var serializer_1=__webpack_require__(810),deserializer_1=__webpack_require__(496),Module;typeof process<"u"&&process.release.name==="node"&&(Module=eval("require")("module"));var ESSerializer=function(){function h(){}return h.throwErrorIfInNonNodeEnvironment=function(){if(!Module)throw new Error("Cannot intercept require in non-Node environment.")},h.interceptRequire=function(){this.isRequireIntercepted||(this.isRequireIntercepted=!0,this.throwErrorIfInNonNodeEnvironment(),h.originRequire=Module.prototype.require,Module.prototype.require=function(){var b=h.originRequire.apply(this,arguments),d=b.name;return h.requiredClasses[d]||(h.requiredClasses[d]=b),b})},h.stopInterceptRequire=function(){this.throwErrorIfInNonNodeEnvironment(),Module.prototype.require=h.originRequire,this.isRequireIntercepted=!1},h.isInterceptingRequire=function(){return this.isRequireIntercepted},h.getRequiredClasses=function(){return this.requiredClasses},h.clearRequiredClasses=function(){this.requiredClasses={}},h.registerClass=function(b){this.registeredClasses.push(b)},h.registerClasses=function(b){this.registeredClasses=this.registeredClasses.concat(b)},h.clearRegisteredClasses=function(){this.registeredClasses=[]},h.serialize=function(b,d){return d===void 0&&(d={}),JSON.stringify(serializer_1.getSerializeValueWithClassName(b,d))},h.deserialize=function(b,d,m){return d===void 0&&(d=[]),m===void 0&&(m={}),deserializer_1.deserializeFromParsedObj(JSON.parse(b),Object.values(this.requiredClasses).concat(this.registeredClasses).concat(d),m)},h.originRequire=null,h.isRequireIntercepted=!1,h.requiredClasses={},h.registeredClasses=[],h}();module.exports=ESSerializer},917:function(h,b){var d=this&&this.__spreadArrays||function(){for(var St=0,Lt=0,Wt=arguments.length;Lt0&&(mt=mt.concat(Array.from(Array(xt),function(){return{}}))),_.test(Tt.toString()))try{Ct=new(Tt.bind.apply(Tt,m([void 0],mt)))}catch{J(Tt.name),Ct={},Object.setPrototypeOf(Ct,Tt?Tt.prototype:Object.prototype)}else{Ct=Object.create(Tt.prototype.constructor.prototype);try{Tt.prototype.constructor.call(Ct,mt)}catch{J(Tt.name)}}return Ct}(_t[ot],Ut),K,_t,at)}function M(K,_t){return K.map(function(at){return S(at,_t)})}function E(K,_t){return new _t(K)}function D(K,_t){return new _t(K.map(function(at){return B(at[v.TO_STRING_FIELD])}))}function B(K){return BigInt(K)}function U(K,_t){var at=K[v.OPTIONS_FIELD],ot=at.locale;return delete at.locale,new _t(ot,at)}function H(K,_t){var at;return delete(at=K.message?new _t(K.message):new _t).stack,K.name&&(at.name=K.name),K.stack&&(at.stack=K.stack),_t===AggregateError&&(at.errors=S(K.errors,{})),at}function J(K){console.warn("Incorrect parameter type passed to constructor: "+K)}function rt(K,_t,at){for(var ot in _t){var bt=Object.getOwnPropertyDescriptor(K,ot);bt&&bt.writable!==!0&&typeof bt.set!="function"||(K[ot]=S(_t[ot],at))}}function dt(K){K===void 0&&(K=[]);var _t={};return K.forEach(function(at){if(f.isClass(at)){var ot=at.name,bt=_t[ot];bt&&bt!==at&&console.warn("WARNING: Found class definition with the same name: "+ot),_t[ot]=at}}),_t}b.deserializeFromParsedObj=function(K,_t,at){return S(K,dt(_t),at)},b.deserializeFromParsedObjWithClassMapping=S,b.getClassMappingFromClassArray=dt,b.getParentClassName=function(K){return K.prototype.__proto__.constructor.name}},821:(h,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isClass=b.notObject=b.getValueFromToStringResult=void 0,b.notObject=function(d){return d===null||typeof d!="object"},b.getValueFromToStringResult=function(d){switch(d){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN;default:return null}},b.isClass=function(d){if(function(m){return[Date].indexOf(m)>=0}(d))return!0;try{Reflect.construct(String,[],d)}catch{return!1}return!0}},810:(h,b,d)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSerializeValueWithClassName=void 0;var m=d(917),f=d(821);function v(S,M){M===void 0&&(M={});var E=function(H){var J,rt,dt;return H===void 0?((J={})[m.CLASS_NAME_FIELD]=m.BUILTIN_TYPE_UNDEFINED,J):typeof H!="number"||isFinite(H)?typeof H=="bigint"?((dt={})[m.CLASS_NAME_FIELD]=m.BUILTIN_TYPE_BIG_INT,dt[m.TO_STRING_FIELD]=H.toString(),dt):f.notObject(H)?H:m.ESSERIALIZER_NULL:((rt={})[m.CLASS_NAME_FIELD]=m.BUILTIN_TYPE_NOT_FINITE,rt[m.TO_STRING_FIELD]=H.toString(),rt)}(S);if(E!==m.ESSERIALIZER_NULL)return E;if(Array.isArray(S))return _(S);var D={};if(!function(H){var J=H.__proto__.constructor.name;return m.CLASSNAMES_WHOSE_ENUMERABLE_PROPERTIES_SHOULD_BE_IGNORED.includes(J)}(S)){if(M.ignoreProperties&&M.ignoreProperties.forEach(function(H){delete S[H]}),M.interceptProperties)for(var B in M.interceptProperties)S[B]=M.interceptProperties[B].call(S,S[B]);for(var U in S)D[U]=v(S[U])}return function(H,J){var rt=H.__proto__.constructor.name;return rt!=="Object"&&(J[m.CLASS_NAME_FIELD]=rt,rt===m.BUILTIN_CLASS_ARRAYBUFFER||rt===m.BUILTIN_CLASS_SHAREDARRAYBUFFER?J[m.ARRAY_FIELD]=_(Array.from(new Uint8Array(H))):rt===m.BUILTIN_CLASS_BOOLEAN?J[m.BOOLEAN_FIELD]=H.valueOf():rt===m.BUILTIN_CLASS_DATAVIEW?J[m.ARRAY_FIELD]=_(Array.from(new Uint8Array(H.buffer))):rt===m.BUILTIN_CLASS_DATE?J[m.TIMESTAMP_FIELD]=H.getTime():rt===m.BUILTIN_CLASS_INTL_LOCALE||rt===m.BUILTIN_CLASS_REGEXP?J[m.TO_STRING_FIELD]=H.toString():rt===m.BUILTIN_CLASS_SET?J[m.ARRAY_FIELD]=_(Array.from(H)):rt===m.BUILTIN_CLASS_STRING?J[m.TO_STRING_FIELD]=H.toString():m.ALL_BUILTIN_ARRAYS.includes(rt)?J[m.ARRAY_FIELD]=_(Array.from(H)):m.ALL_BUILTIN_ERRORS.includes(rt)?function(dt,K,_t){dt.name!=="Error"&&(K.name=dt.name),dt.message&&(K.message=dt.message),dt.stack&&(K.stack=dt.stack),_t===m.BUILTIN_CLASS_AGGREGATE_ERROR&&(K.errors=v(dt.errors))}(H,J,rt):m.ALL_BUILTIN_INTLS.includes(rt)&&(J[m.OPTIONS_FIELD]=H.resolvedOptions())),J}(S,D)}function _(S){return S.map(function(M){return v(M)})}b.getSerializeValueWithClassName=v}},__webpack_module_cache__={};function __webpack_require__(h){if(__webpack_module_cache__[h])return __webpack_module_cache__[h].exports;var b=__webpack_module_cache__[h]={exports:{}};return __webpack_modules__[h].call(b.exports,b,b.exports,__webpack_require__),b.exports}return __webpack_require__(607)})())})(bundle);const ESSerializer=getDefaultExportFromCjs(bundle),alreadyWarnFor=[],warnStorageNotFound=h=>{var d;const b=typeof process<"u"&&((d=process.env)==null?void 0:d.NODE_ENV)==="production";if(alreadyWarnFor.indexOf(h)===-1&&!b){let m=`Unable to find the ${h}. No data will be persisted.`;typeof window>"u"&&(m+=` +Are you running on a server? Most of storages are not available while running on a server.`),console.warn(m),alreadyWarnFor.push(h)}},allowedClasses=[],serialize=h=>ESSerializer.serialize(h),deserialize=h=>{if(h!=="undefined"){if(h!=null){try{return ESSerializer.deserialize(h,allowedClasses)}catch{}try{return JSON.parse(h)}catch{}}return h}};function persist(h,b,d){const m=b.getValue(d);return m!==null&&h.set(m),b.addListener&&b.addListener(d,f=>{h.set(f)}),h.subscribe(f=>{b.setValue(d,f)}),{...h,delete(){b.deleteValue(d)}}}function getBrowserStorage(h,b=!1){const d=[],m=_=>{const S=_.key;_.storageArea===h&&d.filter(({key:M})=>M===S).forEach(({listener:M})=>{M(deserialize(_.newValue))})},f=()=>{b&&typeof window<"u"&&(window==null?void 0:window.addEventListener)&&window.addEventListener("storage",m)},v=()=>{b&&typeof window<"u"&&(window==null?void 0:window.removeEventListener)&&window.removeEventListener("storage",m)};return{addListener(_,S){d.push({key:_,listener:S}),d.length===1&&f()},removeListener(_,S){const M=d.indexOf({key:_,listener:S});M!==-1&&d.splice(M,1),d.length===0&&v()},getValue(_){const S=h.getItem(_);return deserialize(S)},deleteValue(_){h.removeItem(_)},setValue(_,S){h.setItem(_,serialize(S))}}}function localStorage(h=!1){return typeof window<"u"&&(window==null?void 0:window.localStorage)?getBrowserStorage(window.localStorage,h):(warnStorageNotFound("window.localStorage"),noopStorage())}function noopStorage(){return{getValue(){return null},deleteValue(){},setValue(){}}}let analytics;const initAnalytics=async()=>{if(!analytics)try{const{Analytics:h}=await __vitePreload(()=>import("./analytics.browser.es-80770405.js"),[],import.meta.url),b=(await __vitePreload(()=>import("./analytics-plugin-ga.browser.es-594c52de.js"),[],import.meta.url)).default,d=(await __vitePreload(()=>import("./plausible-0f1c257a.js").then(m=>m.p),[],import.meta.url)).default;analytics=h({app:"mermaid-live-editor",plugins:[b({measurementIds:["UA-153180559-1"]}),d({domain:"mermaid.live",hashMode:!1,trackLocalhost:!1,apiHost:"https://plausible.io"})]})}catch(h){console.log(h),console.info("Analytics blocked ;)")}},detectType=h=>h.replace(/^\s*%%.*\n/g,` +`).trimStart().split(" ")[0];let timeout;const saveStatistics=h=>{analytics&&(clearTimeout(timeout),timeout=window.setTimeout(()=>{const b=detectType(h);console.debug(`ga: send event: render ${b}`),logEvent("render",{graphType:b})},5e3))},logEvent=async(h,b)=>{await(analytics==null?void 0:analytics.track(h,b))};/*! pako 2.0.4 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Z_FIXED$1=4,Z_BINARY=0,Z_TEXT=1,Z_UNKNOWN$1=2;function zero$1(h){let b=h.length;for(;--b>=0;)h[b]=0}const STORED_BLOCK=0,STATIC_TREES=1,DYN_TREES=2,MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,BL_CODES$1=19,HEAP_SIZE$1=2*L_CODES$1+1,MAX_BITS$1=15,Buf_size=16,MAX_BL_BITS=7,END_BLOCK=256,REP_3_6=16,REPZ_3_10=17,REPZ_11_138=18,extra_lbits=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),extra_dbits=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),extra_blbits=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),bl_order=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),DIST_CODE_LEN=512,static_ltree=new Array((L_CODES$1+2)*2);zero$1(static_ltree);const static_dtree=new Array(D_CODES$1*2);zero$1(static_dtree);const _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);const _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);const base_length=new Array(LENGTH_CODES$1);zero$1(base_length);const base_dist=new Array(D_CODES$1);zero$1(base_dist);function StaticTreeDesc(h,b,d,m,f){this.static_tree=h,this.extra_bits=b,this.extra_base=d,this.elems=m,this.max_length=f,this.has_stree=h&&h.length}let static_l_desc,static_d_desc,static_bl_desc;function TreeDesc(h,b){this.dyn_tree=h,this.max_code=0,this.stat_desc=b}const d_code=h=>h<256?_dist_code[h]:_dist_code[256+(h>>>7)],put_short=(h,b)=>{h.pending_buf[h.pending++]=b&255,h.pending_buf[h.pending++]=b>>>8&255},send_bits=(h,b,d)=>{h.bi_valid>Buf_size-d?(h.bi_buf|=b<>Buf_size-h.bi_valid,h.bi_valid+=d-Buf_size):(h.bi_buf|=b<{send_bits(h,d[b*2],d[b*2+1])},bi_reverse=(h,b)=>{let d=0;do d|=h&1,h>>>=1,d<<=1;while(--b>0);return d>>>1},bi_flush=h=>{h.bi_valid===16?(put_short(h,h.bi_buf),h.bi_buf=0,h.bi_valid=0):h.bi_valid>=8&&(h.pending_buf[h.pending++]=h.bi_buf&255,h.bi_buf>>=8,h.bi_valid-=8)},gen_bitlen=(h,b)=>{const d=b.dyn_tree,m=b.max_code,f=b.stat_desc.static_tree,v=b.stat_desc.has_stree,_=b.stat_desc.extra_bits,S=b.stat_desc.extra_base,M=b.stat_desc.max_length;let E,D,B,U,H,J,rt=0;for(U=0;U<=MAX_BITS$1;U++)h.bl_count[U]=0;for(d[h.heap[h.heap_max]*2+1]=0,E=h.heap_max+1;EM&&(U=M,rt++),d[D*2+1]=U,!(D>m)&&(h.bl_count[U]++,H=0,D>=S&&(H=_[D-S]),J=d[D*2],h.opt_len+=J*(U+H),v&&(h.static_len+=J*(f[D*2+1]+H)));if(rt!==0){do{for(U=M-1;h.bl_count[U]===0;)U--;h.bl_count[U]--,h.bl_count[U+1]+=2,h.bl_count[M]--,rt-=2}while(rt>0);for(U=M;U!==0;U--)for(D=h.bl_count[U];D!==0;)B=h.heap[--E],!(B>m)&&(d[B*2+1]!==U&&(h.opt_len+=(U-d[B*2+1])*d[B*2],d[B*2+1]=U),D--)}},gen_codes=(h,b,d)=>{const m=new Array(MAX_BITS$1+1);let f=0,v,_;for(v=1;v<=MAX_BITS$1;v++)m[v]=f=f+d[v-1]<<1;for(_=0;_<=b;_++){let S=h[_*2+1];S!==0&&(h[_*2]=bi_reverse(m[S]++,S))}},tr_static_init=()=>{let h,b,d,m,f;const v=new Array(MAX_BITS$1+1);for(d=0,m=0;m>=7;m{let b;for(b=0;b{h.bi_valid>8?put_short(h,h.bi_buf):h.bi_valid>0&&(h.pending_buf[h.pending++]=h.bi_buf),h.bi_buf=0,h.bi_valid=0},copy_block=(h,b,d,m)=>{bi_windup(h),m&&(put_short(h,d),put_short(h,~d)),h.pending_buf.set(h.window.subarray(b,b+d),h.pending),h.pending+=d},smaller=(h,b,d,m)=>{const f=b*2,v=d*2;return h[f]{const m=h.heap[d];let f=d<<1;for(;f<=h.heap_len&&(f{let m,f,v=0,_,S;if(h.last_lit!==0)do m=h.pending_buf[h.d_buf+v*2]<<8|h.pending_buf[h.d_buf+v*2+1],f=h.pending_buf[h.l_buf+v],v++,m===0?send_code(h,f,b):(_=_length_code[f],send_code(h,_+LITERALS$1+1,b),S=extra_lbits[_],S!==0&&(f-=base_length[_],send_bits(h,f,S)),m--,_=d_code(m),send_code(h,_,d),S=extra_dbits[_],S!==0&&(m-=base_dist[_],send_bits(h,m,S)));while(v{const d=b.dyn_tree,m=b.stat_desc.static_tree,f=b.stat_desc.has_stree,v=b.stat_desc.elems;let _,S,M=-1,E;for(h.heap_len=0,h.heap_max=HEAP_SIZE$1,_=0;_>1;_>=1;_--)pqdownheap(h,d,_);E=v;do _=h.heap[1],h.heap[1]=h.heap[h.heap_len--],pqdownheap(h,d,1),S=h.heap[1],h.heap[--h.heap_max]=_,h.heap[--h.heap_max]=S,d[E*2]=d[_*2]+d[S*2],h.depth[E]=(h.depth[_]>=h.depth[S]?h.depth[_]:h.depth[S])+1,d[_*2+1]=d[S*2+1]=E,h.heap[1]=E++,pqdownheap(h,d,1);while(h.heap_len>=2);h.heap[--h.heap_max]=h.heap[1],gen_bitlen(h,b),gen_codes(d,M,h.bl_count)},scan_tree=(h,b,d)=>{let m,f=-1,v,_=b[0*2+1],S=0,M=7,E=4;for(_===0&&(M=138,E=3),b[(d+1)*2+1]=65535,m=0;m<=d;m++)v=_,_=b[(m+1)*2+1],!(++S{let m,f=-1,v,_=b[0*2+1],S=0,M=7,E=4;for(_===0&&(M=138,E=3),m=0;m<=d;m++)if(v=_,_=b[(m+1)*2+1],!(++S{let b;for(scan_tree(h,h.dyn_ltree,h.l_desc.max_code),scan_tree(h,h.dyn_dtree,h.d_desc.max_code),build_tree(h,h.bl_desc),b=BL_CODES$1-1;b>=3&&h.bl_tree[bl_order[b]*2+1]===0;b--);return h.opt_len+=3*(b+1)+5+5+4,b},send_all_trees=(h,b,d,m)=>{let f;for(send_bits(h,b-257,5),send_bits(h,d-1,5),send_bits(h,m-4,4),f=0;f{let b=4093624447,d;for(d=0;d<=31;d++,b>>>=1)if(b&1&&h.dyn_ltree[d*2]!==0)return Z_BINARY;if(h.dyn_ltree[9*2]!==0||h.dyn_ltree[10*2]!==0||h.dyn_ltree[13*2]!==0)return Z_TEXT;for(d=32;d{static_init_done||(tr_static_init(),static_init_done=!0),h.l_desc=new TreeDesc(h.dyn_ltree,static_l_desc),h.d_desc=new TreeDesc(h.dyn_dtree,static_d_desc),h.bl_desc=new TreeDesc(h.bl_tree,static_bl_desc),h.bi_buf=0,h.bi_valid=0,init_block(h)},_tr_stored_block$1=(h,b,d,m)=>{send_bits(h,(STORED_BLOCK<<1)+(m?1:0),3),copy_block(h,b,d,!0)},_tr_align$1=h=>{send_bits(h,STATIC_TREES<<1,3),send_code(h,END_BLOCK,static_ltree),bi_flush(h)},_tr_flush_block$1=(h,b,d,m)=>{let f,v,_=0;h.level>0?(h.strm.data_type===Z_UNKNOWN$1&&(h.strm.data_type=detect_data_type(h)),build_tree(h,h.l_desc),build_tree(h,h.d_desc),_=build_bl_tree(h),f=h.opt_len+3+7>>>3,v=h.static_len+3+7>>>3,v<=f&&(f=v)):f=v=d+5,d+4<=f&&b!==-1?_tr_stored_block$1(h,b,d,m):h.strategy===Z_FIXED$1||v===f?(send_bits(h,(STATIC_TREES<<1)+(m?1:0),3),compress_block(h,static_ltree,static_dtree)):(send_bits(h,(DYN_TREES<<1)+(m?1:0),3),send_all_trees(h,h.l_desc.max_code+1,h.d_desc.max_code+1,_+1),compress_block(h,h.dyn_ltree,h.dyn_dtree)),init_block(h),m&&bi_windup(h)},_tr_tally$1=(h,b,d)=>(h.pending_buf[h.d_buf+h.last_lit*2]=b>>>8&255,h.pending_buf[h.d_buf+h.last_lit*2+1]=b&255,h.pending_buf[h.l_buf+h.last_lit]=d&255,h.last_lit++,b===0?h.dyn_ltree[d*2]++:(h.matches++,b--,h.dyn_ltree[(_length_code[d]+LITERALS$1+1)*2]++,h.dyn_dtree[d_code(b)*2]++),h.last_lit===h.lit_bufsize-1);var _tr_init_1=_tr_init$1,_tr_stored_block_1=_tr_stored_block$1,_tr_flush_block_1=_tr_flush_block$1,_tr_tally_1=_tr_tally$1,_tr_align_1=_tr_align$1,trees={_tr_init:_tr_init_1,_tr_stored_block:_tr_stored_block_1,_tr_flush_block:_tr_flush_block_1,_tr_tally:_tr_tally_1,_tr_align:_tr_align_1};const adler32=(h,b,d,m)=>{let f=h&65535|0,v=h>>>16&65535|0,_=0;for(;d!==0;){_=d>2e3?2e3:d,d-=_;do f=f+b[m++]|0,v=v+f|0;while(--_);f%=65521,v%=65521}return f|v<<16|0};var adler32_1=adler32;const makeTable=()=>{let h,b=[];for(var d=0;d<256;d++){h=d;for(var m=0;m<8;m++)h=h&1?3988292384^h>>>1:h>>>1;b[d]=h}return b},crcTable=new Uint32Array(makeTable()),crc32=(h,b,d,m)=>{const f=crcTable,v=m+d;h^=-1;for(let _=m;_>>8^f[(h^b[_])&255];return h^-1};var crc32_1=crc32,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},constants$2={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init,_tr_stored_block,_tr_flush_block,_tr_tally,_tr_align}=trees,{Z_NO_FLUSH:Z_NO_FLUSH$2,Z_PARTIAL_FLUSH,Z_FULL_FLUSH:Z_FULL_FLUSH$1,Z_FINISH:Z_FINISH$3,Z_BLOCK:Z_BLOCK$1,Z_OK:Z_OK$3,Z_STREAM_END:Z_STREAM_END$3,Z_STREAM_ERROR:Z_STREAM_ERROR$2,Z_DATA_ERROR:Z_DATA_ERROR$2,Z_BUF_ERROR:Z_BUF_ERROR$1,Z_DEFAULT_COMPRESSION:Z_DEFAULT_COMPRESSION$1,Z_FILTERED,Z_HUFFMAN_ONLY,Z_RLE,Z_FIXED,Z_DEFAULT_STRATEGY:Z_DEFAULT_STRATEGY$1,Z_UNKNOWN,Z_DEFLATED:Z_DEFLATED$2}=constants$2,MAX_MEM_LEVEL=9,MAX_WBITS$1=15,DEF_MEM_LEVEL=8,LENGTH_CODES=29,LITERALS=256,L_CODES=LITERALS+1+LENGTH_CODES,D_CODES=30,BL_CODES=19,HEAP_SIZE=2*L_CODES+1,MAX_BITS=15,MIN_MATCH=3,MAX_MATCH=258,MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1,PRESET_DICT=32,INIT_STATE=42,EXTRA_STATE=69,NAME_STATE=73,COMMENT_STATE=91,HCRC_STATE=103,BUSY_STATE=113,FINISH_STATE=666,BS_NEED_MORE=1,BS_BLOCK_DONE=2,BS_FINISH_STARTED=3,BS_FINISH_DONE=4,OS_CODE=3,err=(h,b)=>(h.msg=messages[b],b),rank=h=>(h<<1)-(h>4?9:0),zero=h=>{let b=h.length;for(;--b>=0;)h[b]=0};let HASH_ZLIB=(h,b,d)=>(b<{const b=h.state;let d=b.pending;d>h.avail_out&&(d=h.avail_out),d!==0&&(h.output.set(b.pending_buf.subarray(b.pending_out,b.pending_out+d),h.next_out),h.next_out+=d,b.pending_out+=d,h.total_out+=d,h.avail_out-=d,b.pending-=d,b.pending===0&&(b.pending_out=0))},flush_block_only=(h,b)=>{_tr_flush_block(h,h.block_start>=0?h.block_start:-1,h.strstart-h.block_start,b),h.block_start=h.strstart,flush_pending(h.strm)},put_byte=(h,b)=>{h.pending_buf[h.pending++]=b},putShortMSB=(h,b)=>{h.pending_buf[h.pending++]=b>>>8&255,h.pending_buf[h.pending++]=b&255},read_buf=(h,b,d,m)=>{let f=h.avail_in;return f>m&&(f=m),f===0?0:(h.avail_in-=f,b.set(h.input.subarray(h.next_in,h.next_in+f),d),h.state.wrap===1?h.adler=adler32_1(h.adler,b,f,d):h.state.wrap===2&&(h.adler=crc32_1(h.adler,b,f,d)),h.next_in+=f,h.total_in+=f,f)},longest_match=(h,b)=>{let d=h.max_chain_length,m=h.strstart,f,v,_=h.prev_length,S=h.nice_match;const M=h.strstart>h.w_size-MIN_LOOKAHEAD?h.strstart-(h.w_size-MIN_LOOKAHEAD):0,E=h.window,D=h.w_mask,B=h.prev,U=h.strstart+MAX_MATCH;let H=E[m+_-1],J=E[m+_];h.prev_length>=h.good_match&&(d>>=2),S>h.lookahead&&(S=h.lookahead);do if(f=b,!(E[f+_]!==J||E[f+_-1]!==H||E[f]!==E[m]||E[++f]!==E[m+1])){m+=2,f++;do;while(E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&E[++m]===E[++f]&&m_){if(h.match_start=b,_=v,v>=S)break;H=E[m+_-1],J=E[m+_]}}while((b=B[b&D])>M&&--d!==0);return _<=h.lookahead?_:h.lookahead},fill_window=h=>{const b=h.w_size;let d,m,f,v,_;do{if(v=h.window_size-h.lookahead-h.strstart,h.strstart>=b+(b-MIN_LOOKAHEAD)){h.window.set(h.window.subarray(b,b+b),0),h.match_start-=b,h.strstart-=b,h.block_start-=b,m=h.hash_size,d=m;do f=h.head[--d],h.head[d]=f>=b?f-b:0;while(--m);m=b,d=m;do f=h.prev[--d],h.prev[d]=f>=b?f-b:0;while(--m);v+=b}if(h.strm.avail_in===0)break;if(m=read_buf(h.strm,h.window,h.strstart+h.lookahead,v),h.lookahead+=m,h.lookahead+h.insert>=MIN_MATCH)for(_=h.strstart-h.insert,h.ins_h=h.window[_],h.ins_h=HASH(h,h.ins_h,h.window[_+1]);h.insert&&(h.ins_h=HASH(h,h.ins_h,h.window[_+MIN_MATCH-1]),h.prev[_&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=_,_++,h.insert--,!(h.lookahead+h.insert{let d=65535;for(d>h.pending_buf_size-5&&(d=h.pending_buf_size-5);;){if(h.lookahead<=1){if(fill_window(h),h.lookahead===0&&b===Z_NO_FLUSH$2)return BS_NEED_MORE;if(h.lookahead===0)break}h.strstart+=h.lookahead,h.lookahead=0;const m=h.block_start+d;if((h.strstart===0||h.strstart>=m)&&(h.lookahead=h.strstart-m,h.strstart=m,flush_block_only(h,!1),h.strm.avail_out===0)||h.strstart-h.block_start>=h.w_size-MIN_LOOKAHEAD&&(flush_block_only(h,!1),h.strm.avail_out===0))return BS_NEED_MORE}return h.insert=0,b===Z_FINISH$3?(flush_block_only(h,!0),h.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):(h.strstart>h.block_start&&(flush_block_only(h,!1),h.strm.avail_out===0),BS_NEED_MORE)},deflate_fast=(h,b)=>{let d,m;for(;;){if(h.lookahead=MIN_MATCH&&(h.ins_h=HASH(h,h.ins_h,h.window[h.strstart+MIN_MATCH-1]),d=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart),d!==0&&h.strstart-d<=h.w_size-MIN_LOOKAHEAD&&(h.match_length=longest_match(h,d)),h.match_length>=MIN_MATCH)if(m=_tr_tally(h,h.strstart-h.match_start,h.match_length-MIN_MATCH),h.lookahead-=h.match_length,h.match_length<=h.max_lazy_match&&h.lookahead>=MIN_MATCH){h.match_length--;do h.strstart++,h.ins_h=HASH(h,h.ins_h,h.window[h.strstart+MIN_MATCH-1]),d=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart;while(--h.match_length!==0);h.strstart++}else h.strstart+=h.match_length,h.match_length=0,h.ins_h=h.window[h.strstart],h.ins_h=HASH(h,h.ins_h,h.window[h.strstart+1]);else m=_tr_tally(h,0,h.window[h.strstart]),h.lookahead--,h.strstart++;if(m&&(flush_block_only(h,!1),h.strm.avail_out===0))return BS_NEED_MORE}return h.insert=h.strstart{let d,m,f;for(;;){if(h.lookahead=MIN_MATCH&&(h.ins_h=HASH(h,h.ins_h,h.window[h.strstart+MIN_MATCH-1]),d=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart),h.prev_length=h.match_length,h.prev_match=h.match_start,h.match_length=MIN_MATCH-1,d!==0&&h.prev_length4096)&&(h.match_length=MIN_MATCH-1)),h.prev_length>=MIN_MATCH&&h.match_length<=h.prev_length){f=h.strstart+h.lookahead-MIN_MATCH,m=_tr_tally(h,h.strstart-1-h.prev_match,h.prev_length-MIN_MATCH),h.lookahead-=h.prev_length-1,h.prev_length-=2;do++h.strstart<=f&&(h.ins_h=HASH(h,h.ins_h,h.window[h.strstart+MIN_MATCH-1]),d=h.prev[h.strstart&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=h.strstart);while(--h.prev_length!==0);if(h.match_available=0,h.match_length=MIN_MATCH-1,h.strstart++,m&&(flush_block_only(h,!1),h.strm.avail_out===0))return BS_NEED_MORE}else if(h.match_available){if(m=_tr_tally(h,0,h.window[h.strstart-1]),m&&flush_block_only(h,!1),h.strstart++,h.lookahead--,h.strm.avail_out===0)return BS_NEED_MORE}else h.match_available=1,h.strstart++,h.lookahead--}return h.match_available&&(m=_tr_tally(h,0,h.window[h.strstart-1]),h.match_available=0),h.insert=h.strstart{let d,m,f,v;const _=h.window;for(;;){if(h.lookahead<=MAX_MATCH){if(fill_window(h),h.lookahead<=MAX_MATCH&&b===Z_NO_FLUSH$2)return BS_NEED_MORE;if(h.lookahead===0)break}if(h.match_length=0,h.lookahead>=MIN_MATCH&&h.strstart>0&&(f=h.strstart-1,m=_[f],m===_[++f]&&m===_[++f]&&m===_[++f])){v=h.strstart+MAX_MATCH;do;while(m===_[++f]&&m===_[++f]&&m===_[++f]&&m===_[++f]&&m===_[++f]&&m===_[++f]&&m===_[++f]&&m===_[++f]&&fh.lookahead&&(h.match_length=h.lookahead)}if(h.match_length>=MIN_MATCH?(d=_tr_tally(h,1,h.match_length-MIN_MATCH),h.lookahead-=h.match_length,h.strstart+=h.match_length,h.match_length=0):(d=_tr_tally(h,0,h.window[h.strstart]),h.lookahead--,h.strstart++),d&&(flush_block_only(h,!1),h.strm.avail_out===0))return BS_NEED_MORE}return h.insert=0,b===Z_FINISH$3?(flush_block_only(h,!0),h.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):h.last_lit&&(flush_block_only(h,!1),h.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE},deflate_huff=(h,b)=>{let d;for(;;){if(h.lookahead===0&&(fill_window(h),h.lookahead===0)){if(b===Z_NO_FLUSH$2)return BS_NEED_MORE;break}if(h.match_length=0,d=_tr_tally(h,0,h.window[h.strstart]),h.lookahead--,h.strstart++,d&&(flush_block_only(h,!1),h.strm.avail_out===0))return BS_NEED_MORE}return h.insert=0,b===Z_FINISH$3?(flush_block_only(h,!0),h.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):h.last_lit&&(flush_block_only(h,!1),h.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE};function Config(h,b,d,m,f){this.good_length=h,this.max_lazy=b,this.nice_length=d,this.max_chain=m,this.func=f}const configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],lm_init=h=>{h.window_size=2*h.w_size,zero(h.head),h.max_lazy_match=configuration_table[h.level].max_lazy,h.good_match=configuration_table[h.level].good_length,h.nice_match=configuration_table[h.level].nice_length,h.max_chain_length=configuration_table[h.level].max_chain,h.strstart=0,h.block_start=0,h.lookahead=0,h.insert=0,h.match_length=h.prev_length=MIN_MATCH-1,h.match_available=0,h.ins_h=0};function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z_DEFLATED$2,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(HEAP_SIZE*2),this.dyn_dtree=new Uint16Array((2*D_CODES+1)*2),this.bl_tree=new Uint16Array((2*BL_CODES+1)*2),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(MAX_BITS+1),this.heap=new Uint16Array(2*L_CODES+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*L_CODES+1),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const deflateResetKeep=h=>{if(!h||!h.state)return err(h,Z_STREAM_ERROR$2);h.total_in=h.total_out=0,h.data_type=Z_UNKNOWN;const b=h.state;return b.pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=b.wrap?INIT_STATE:BUSY_STATE,h.adler=b.wrap===2?0:1,b.last_flush=Z_NO_FLUSH$2,_tr_init(b),Z_OK$3},deflateReset=h=>{const b=deflateResetKeep(h);return b===Z_OK$3&&lm_init(h.state),b},deflateSetHeader=(h,b)=>!h||!h.state||h.state.wrap!==2?Z_STREAM_ERROR$2:(h.state.gzhead=b,Z_OK$3),deflateInit2=(h,b,d,m,f,v)=>{if(!h)return Z_STREAM_ERROR$2;let _=1;if(b===Z_DEFAULT_COMPRESSION$1&&(b=6),m<0?(_=0,m=-m):m>15&&(_=2,m-=16),f<1||f>MAX_MEM_LEVEL||d!==Z_DEFLATED$2||m<8||m>15||b<0||b>9||v<0||v>Z_FIXED)return err(h,Z_STREAM_ERROR$2);m===8&&(m=9);const S=new DeflateState;return h.state=S,S.strm=h,S.wrap=_,S.gzhead=null,S.w_bits=m,S.w_size=1<deflateInit2(h,b,Z_DEFLATED$2,MAX_WBITS$1,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY$1),deflate$2=(h,b)=>{let d,m;if(!h||!h.state||b>Z_BLOCK$1||b<0)return h?err(h,Z_STREAM_ERROR$2):Z_STREAM_ERROR$2;const f=h.state;if(!h.output||!h.input&&h.avail_in!==0||f.status===FINISH_STATE&&b!==Z_FINISH$3)return err(h,h.avail_out===0?Z_BUF_ERROR$1:Z_STREAM_ERROR$2);f.strm=h;const v=f.last_flush;if(f.last_flush=b,f.status===INIT_STATE)if(f.wrap===2)h.adler=0,put_byte(f,31),put_byte(f,139),put_byte(f,8),f.gzhead?(put_byte(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),put_byte(f,f.gzhead.time&255),put_byte(f,f.gzhead.time>>8&255),put_byte(f,f.gzhead.time>>16&255),put_byte(f,f.gzhead.time>>24&255),put_byte(f,f.level===9?2:f.strategy>=Z_HUFFMAN_ONLY||f.level<2?4:0),put_byte(f,f.gzhead.os&255),f.gzhead.extra&&f.gzhead.extra.length&&(put_byte(f,f.gzhead.extra.length&255),put_byte(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=EXTRA_STATE):(put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,f.level===9?2:f.strategy>=Z_HUFFMAN_ONLY||f.level<2?4:0),put_byte(f,OS_CODE),f.status=BUSY_STATE);else{let _=Z_DEFLATED$2+(f.w_bits-8<<4)<<8,S=-1;f.strategy>=Z_HUFFMAN_ONLY||f.level<2?S=0:f.level<6?S=1:f.level===6?S=2:S=3,_|=S<<6,f.strstart!==0&&(_|=PRESET_DICT),_+=31-_%31,f.status=BUSY_STATE,putShortMSB(f,_),f.strstart!==0&&(putShortMSB(f,h.adler>>>16),putShortMSB(f,h.adler&65535)),h.adler=1}if(f.status===EXTRA_STATE)if(f.gzhead.extra){for(d=f.pending;f.gzindex<(f.gzhead.extra.length&65535)&&!(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>d&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),flush_pending(h),d=f.pending,f.pending===f.pending_buf_size));)put_byte(f,f.gzhead.extra[f.gzindex]&255),f.gzindex++;f.gzhead.hcrc&&f.pending>d&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=NAME_STATE)}else f.status=NAME_STATE;if(f.status===NAME_STATE)if(f.gzhead.name){d=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>d&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),flush_pending(h),d=f.pending,f.pending===f.pending_buf_size)){m=1;break}f.gzindexd&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),m===0&&(f.gzindex=0,f.status=COMMENT_STATE)}else f.status=COMMENT_STATE;if(f.status===COMMENT_STATE)if(f.gzhead.comment){d=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>d&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),flush_pending(h),d=f.pending,f.pending===f.pending_buf_size)){m=1;break}f.gzindexd&&(h.adler=crc32_1(h.adler,f.pending_buf,f.pending-d,d)),m===0&&(f.status=HCRC_STATE)}else f.status=HCRC_STATE;if(f.status===HCRC_STATE&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&flush_pending(h),f.pending+2<=f.pending_buf_size&&(put_byte(f,h.adler&255),put_byte(f,h.adler>>8&255),h.adler=0,f.status=BUSY_STATE)):f.status=BUSY_STATE),f.pending!==0){if(flush_pending(h),h.avail_out===0)return f.last_flush=-1,Z_OK$3}else if(h.avail_in===0&&rank(b)<=rank(v)&&b!==Z_FINISH$3)return err(h,Z_BUF_ERROR$1);if(f.status===FINISH_STATE&&h.avail_in!==0)return err(h,Z_BUF_ERROR$1);if(h.avail_in!==0||f.lookahead!==0||b!==Z_NO_FLUSH$2&&f.status!==FINISH_STATE){let _=f.strategy===Z_HUFFMAN_ONLY?deflate_huff(f,b):f.strategy===Z_RLE?deflate_rle(f,b):configuration_table[f.level].func(f,b);if((_===BS_FINISH_STARTED||_===BS_FINISH_DONE)&&(f.status=FINISH_STATE),_===BS_NEED_MORE||_===BS_FINISH_STARTED)return h.avail_out===0&&(f.last_flush=-1),Z_OK$3;if(_===BS_BLOCK_DONE&&(b===Z_PARTIAL_FLUSH?_tr_align(f):b!==Z_BLOCK$1&&(_tr_stored_block(f,0,0,!1),b===Z_FULL_FLUSH$1&&(zero(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),flush_pending(h),h.avail_out===0))return f.last_flush=-1,Z_OK$3}return b!==Z_FINISH$3?Z_OK$3:f.wrap<=0?Z_STREAM_END$3:(f.wrap===2?(put_byte(f,h.adler&255),put_byte(f,h.adler>>8&255),put_byte(f,h.adler>>16&255),put_byte(f,h.adler>>24&255),put_byte(f,h.total_in&255),put_byte(f,h.total_in>>8&255),put_byte(f,h.total_in>>16&255),put_byte(f,h.total_in>>24&255)):(putShortMSB(f,h.adler>>>16),putShortMSB(f,h.adler&65535)),flush_pending(h),f.wrap>0&&(f.wrap=-f.wrap),f.pending!==0?Z_OK$3:Z_STREAM_END$3)},deflateEnd=h=>{if(!h||!h.state)return Z_STREAM_ERROR$2;const b=h.state.status;return b!==INIT_STATE&&b!==EXTRA_STATE&&b!==NAME_STATE&&b!==COMMENT_STATE&&b!==HCRC_STATE&&b!==BUSY_STATE&&b!==FINISH_STATE?err(h,Z_STREAM_ERROR$2):(h.state=null,b===BUSY_STATE?err(h,Z_DATA_ERROR$2):Z_OK$3)},deflateSetDictionary=(h,b)=>{let d=b.length;if(!h||!h.state)return Z_STREAM_ERROR$2;const m=h.state,f=m.wrap;if(f===2||f===1&&m.status!==INIT_STATE||m.lookahead)return Z_STREAM_ERROR$2;if(f===1&&(h.adler=adler32_1(h.adler,b,d,0)),m.wrap=0,d>=m.w_size){f===0&&(zero(m.head),m.strstart=0,m.block_start=0,m.insert=0);let M=new Uint8Array(m.w_size);M.set(b.subarray(d-m.w_size,d),0),b=M,d=m.w_size}const v=h.avail_in,_=h.next_in,S=h.input;for(h.avail_in=d,h.next_in=0,h.input=b,fill_window(m);m.lookahead>=MIN_MATCH;){let M=m.strstart,E=m.lookahead-(MIN_MATCH-1);do m.ins_h=HASH(m,m.ins_h,m.window[M+MIN_MATCH-1]),m.prev[M&m.w_mask]=m.head[m.ins_h],m.head[m.ins_h]=M,M++;while(--E);m.strstart=M,m.lookahead=MIN_MATCH-1,fill_window(m)}return m.strstart+=m.lookahead,m.block_start=m.strstart,m.insert=m.lookahead,m.lookahead=0,m.match_length=m.prev_length=MIN_MATCH-1,m.match_available=0,h.next_in=_,h.input=S,h.avail_in=v,m.wrap=f,Z_OK$3};var deflateInit_1=deflateInit,deflateInit2_1=deflateInit2,deflateReset_1=deflateReset,deflateResetKeep_1=deflateResetKeep,deflateSetHeader_1=deflateSetHeader,deflate_2$1=deflate$2,deflateEnd_1=deflateEnd,deflateSetDictionary_1=deflateSetDictionary,deflateInfo="pako deflate (from Nodeca project)",deflate_1$2={deflateInit:deflateInit_1,deflateInit2:deflateInit2_1,deflateReset:deflateReset_1,deflateResetKeep:deflateResetKeep_1,deflateSetHeader:deflateSetHeader_1,deflate:deflate_2$1,deflateEnd:deflateEnd_1,deflateSetDictionary:deflateSetDictionary_1,deflateInfo};const _has=(h,b)=>Object.prototype.hasOwnProperty.call(h,b);var assign=function(h){const b=Array.prototype.slice.call(arguments,1);for(;b.length;){const d=b.shift();if(!!d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(const m in d)_has(d,m)&&(h[m]=d[m])}}return h},flattenChunks=h=>{let b=0;for(let m=0,f=h.length;m=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;_utf8len[254]=_utf8len[254]=1;var string2buf=h=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(h);let b,d,m,f,v,_=h.length,S=0;for(f=0;f<_;f++)d=h.charCodeAt(f),(d&64512)===55296&&f+1<_&&(m=h.charCodeAt(f+1),(m&64512)===56320&&(d=65536+(d-55296<<10)+(m-56320),f++)),S+=d<128?1:d<2048?2:d<65536?3:4;for(b=new Uint8Array(S),v=0,f=0;v>>6,b[v++]=128|d&63):d<65536?(b[v++]=224|d>>>12,b[v++]=128|d>>>6&63,b[v++]=128|d&63):(b[v++]=240|d>>>18,b[v++]=128|d>>>12&63,b[v++]=128|d>>>6&63,b[v++]=128|d&63);return b};const buf2binstring=(h,b)=>{if(b<65534&&h.subarray&&STR_APPLY_UIA_OK)return String.fromCharCode.apply(null,h.length===b?h:h.subarray(0,b));let d="";for(let m=0;m{const d=b||h.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(h.subarray(0,b));let m,f;const v=new Array(d*2);for(f=0,m=0;m4){v[f++]=65533,m+=S-1;continue}for(_&=S===2?31:S===3?15:7;S>1&&m1){v[f++]=65533;continue}_<65536?v[f++]=_:(_-=65536,v[f++]=55296|_>>10&1023,v[f++]=56320|_&1023)}return buf2binstring(v,f)},utf8border=(h,b)=>{b=b||h.length,b>h.length&&(b=h.length);let d=b-1;for(;d>=0&&(h[d]&192)===128;)d--;return d<0||d===0?b:d+_utf8len[h[d]]>b?d:b},strings={string2buf,buf2string,utf8border};function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var zstream=ZStream;const toString$1=Object.prototype.toString,{Z_NO_FLUSH:Z_NO_FLUSH$1,Z_SYNC_FLUSH,Z_FULL_FLUSH,Z_FINISH:Z_FINISH$2,Z_OK:Z_OK$2,Z_STREAM_END:Z_STREAM_END$2,Z_DEFAULT_COMPRESSION,Z_DEFAULT_STRATEGY,Z_DEFLATED:Z_DEFLATED$1}=constants$2;function Deflate$1(h){this.options=common.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED$1,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY},h||{});let b=this.options;b.raw&&b.windowBits>0?b.windowBits=-b.windowBits:b.gzip&&b.windowBits>0&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let d=deflate_1$2.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(d!==Z_OK$2)throw new Error(messages[d]);if(b.header&&deflate_1$2.deflateSetHeader(this.strm,b.header),b.dictionary){let m;if(typeof b.dictionary=="string"?m=strings.string2buf(b.dictionary):toString$1.call(b.dictionary)==="[object ArrayBuffer]"?m=new Uint8Array(b.dictionary):m=b.dictionary,d=deflate_1$2.deflateSetDictionary(this.strm,m),d!==Z_OK$2)throw new Error(messages[d]);this._dict_set=!0}}Deflate$1.prototype.push=function(h,b){const d=this.strm,m=this.options.chunkSize;let f,v;if(this.ended)return!1;for(b===~~b?v=b:v=b===!0?Z_FINISH$2:Z_NO_FLUSH$1,typeof h=="string"?d.input=strings.string2buf(h):toString$1.call(h)==="[object ArrayBuffer]"?d.input=new Uint8Array(h):d.input=h,d.next_in=0,d.avail_in=d.input.length;;){if(d.avail_out===0&&(d.output=new Uint8Array(m),d.next_out=0,d.avail_out=m),(v===Z_SYNC_FLUSH||v===Z_FULL_FLUSH)&&d.avail_out<=6){this.onData(d.output.subarray(0,d.next_out)),d.avail_out=0;continue}if(f=deflate_1$2.deflate(d,v),f===Z_STREAM_END$2)return d.next_out>0&&this.onData(d.output.subarray(0,d.next_out)),f=deflate_1$2.deflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===Z_OK$2;if(d.avail_out===0){this.onData(d.output);continue}if(v>0&&d.next_out>0){this.onData(d.output.subarray(0,d.next_out)),d.avail_out=0;continue}if(d.avail_in===0)break}return!0};Deflate$1.prototype.onData=function(h){this.chunks.push(h)};Deflate$1.prototype.onEnd=function(h){h===Z_OK$2&&(this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg};function deflate$1(h,b){const d=new Deflate$1(b);if(d.push(h,!0),d.err)throw d.msg||messages[d.err];return d.result}function deflateRaw$1(h,b){return b=b||{},b.raw=!0,deflate$1(h,b)}function gzip$1(h,b){return b=b||{},b.gzip=!0,deflate$1(h,b)}var Deflate_1$1=Deflate$1,deflate_2=deflate$1,deflateRaw_1$1=deflateRaw$1,gzip_1$1=gzip$1,constants$1=constants$2,deflate_1$1={Deflate:Deflate_1$1,deflate:deflate_2,deflateRaw:deflateRaw_1$1,gzip:gzip_1$1,constants:constants$1};const BAD$1=30,TYPE$1=12;var inffast=function h(b,d){let m,f,v,_,S,M,E,D,B,U,H,J,rt,dt,K,_t,at,ot,bt,Ut,Tt,mt,Ct,xt;const gt=b.state;m=b.next_in,Ct=b.input,f=m+(b.avail_in-5),v=b.next_out,xt=b.output,_=v-(d-b.avail_out),S=v+(b.avail_out-257),M=gt.dmax,E=gt.wsize,D=gt.whave,B=gt.wnext,U=gt.window,H=gt.hold,J=gt.bits,rt=gt.lencode,dt=gt.distcode,K=(1<>>24,H>>>=ot,J-=ot,ot=at>>>16&255,ot===0)xt[v++]=at&65535;else if(ot&16){bt=at&65535,ot&=15,ot&&(J>>=ot,J-=ot),J<15&&(H+=Ct[m++]<>>24,H>>>=ot,J-=ot,ot=at>>>16&255,ot&16){if(Ut=at&65535,ot&=15,JM){b.msg="invalid distance too far back",gt.mode=BAD$1;break t}if(H>>>=ot,J-=ot,ot=v-_,Ut>ot){if(ot=Ut-ot,ot>D&>.sane){b.msg="invalid distance too far back",gt.mode=BAD$1;break t}if(Tt=0,mt=U,B===0){if(Tt+=E-ot,ot2;)xt[v++]=mt[Tt++],xt[v++]=mt[Tt++],xt[v++]=mt[Tt++],bt-=3;bt&&(xt[v++]=mt[Tt++],bt>1&&(xt[v++]=mt[Tt++]))}else{Tt=v-Ut;do xt[v++]=xt[Tt++],xt[v++]=xt[Tt++],xt[v++]=xt[Tt++],bt-=3;while(bt>2);bt&&(xt[v++]=xt[Tt++],bt>1&&(xt[v++]=xt[Tt++]))}}else if((ot&64)===0){at=dt[(at&65535)+(H&(1<>3,m-=bt,J-=bt<<3,H&=(1<{const M=S.bits;let E=0,D=0,B=0,U=0,H=0,J=0,rt=0,dt=0,K=0,_t=0,at,ot,bt,Ut,Tt,mt=null,Ct=0,xt;const gt=new Uint16Array(MAXBITS+1),et=new Uint16Array(MAXBITS+1);let ft=null,q=0,wt,W,St;for(E=0;E<=MAXBITS;E++)gt[E]=0;for(D=0;D=1&>[U]===0;U--);if(H>U&&(H=U),U===0)return f[v++]=1<<24|64<<16|0,f[v++]=1<<24|64<<16|0,S.bits=1,0;for(B=1;B0&&(h===CODES$1||U!==1))return-1;for(et[1]=0,E=1;EENOUGH_LENS$1||h===DISTS$1&&K>ENOUGH_DISTS$1)return 1;for(;;){wt=E-rt,_[D]xt?(W=ft[q+_[D]],St=mt[Ct+_[D]]):(W=32+64,St=0),at=1<>rt)+ot]=wt<<24|W<<16|St|0;while(ot!==0);for(at=1<>=1;if(at!==0?(_t&=at-1,_t+=at):_t=0,D++,--gt[E]===0){if(E===U)break;E=b[d+_[D]]}if(E>H&&(_t&Ut)!==bt){for(rt===0&&(rt=H),Tt+=B,J=E-rt,dt=1<ENOUGH_LENS$1||h===DISTS$1&&K>ENOUGH_DISTS$1)return 1;bt=_t&Ut,f[bt]=H<<24|J<<16|Tt-v|0}}return _t!==0&&(f[Tt+_t]=E-rt<<24|64<<16|0),S.bits=H,0};var inftrees=inflate_table;const CODES=0,LENS=1,DISTS=2,{Z_FINISH:Z_FINISH$1,Z_BLOCK,Z_TREES,Z_OK:Z_OK$1,Z_STREAM_END:Z_STREAM_END$1,Z_NEED_DICT:Z_NEED_DICT$1,Z_STREAM_ERROR:Z_STREAM_ERROR$1,Z_DATA_ERROR:Z_DATA_ERROR$1,Z_MEM_ERROR:Z_MEM_ERROR$1,Z_BUF_ERROR,Z_DEFLATED}=constants$2,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS,zswap32=h=>(h>>>24&255)+(h>>>8&65280)+((h&65280)<<8)+((h&255)<<24);function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const inflateResetKeep=h=>{if(!h||!h.state)return Z_STREAM_ERROR$1;const b=h.state;return h.total_in=h.total_out=b.total=0,h.msg="",b.wrap&&(h.adler=b.wrap&1),b.mode=HEAD,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new Int32Array(ENOUGH_LENS),b.distcode=b.distdyn=new Int32Array(ENOUGH_DISTS),b.sane=1,b.back=-1,Z_OK$1},inflateReset=h=>{if(!h||!h.state)return Z_STREAM_ERROR$1;const b=h.state;return b.wsize=0,b.whave=0,b.wnext=0,inflateResetKeep(h)},inflateReset2=(h,b)=>{let d;if(!h||!h.state)return Z_STREAM_ERROR$1;const m=h.state;return b<0?(d=0,b=-b):(d=(b>>4)+1,b<48&&(b&=15)),b&&(b<8||b>15)?Z_STREAM_ERROR$1:(m.window!==null&&m.wbits!==b&&(m.window=null),m.wrap=d,m.wbits=b,inflateReset(h))},inflateInit2=(h,b)=>{if(!h)return Z_STREAM_ERROR$1;const d=new InflateState;h.state=d,d.window=null;const m=inflateReset2(h,b);return m!==Z_OK$1&&(h.state=null),m},inflateInit=h=>inflateInit2(h,DEF_WBITS);let virgin=!0,lenfix,distfix;const fixedtables=h=>{if(virgin){lenfix=new Int32Array(512),distfix=new Int32Array(32);let b=0;for(;b<144;)h.lens[b++]=8;for(;b<256;)h.lens[b++]=9;for(;b<280;)h.lens[b++]=7;for(;b<288;)h.lens[b++]=8;for(inftrees(LENS,h.lens,0,288,lenfix,0,h.work,{bits:9}),b=0;b<32;)h.lens[b++]=5;inftrees(DISTS,h.lens,0,32,distfix,0,h.work,{bits:5}),virgin=!1}h.lencode=lenfix,h.lenbits=9,h.distcode=distfix,h.distbits=5},updatewindow=(h,b,d,m)=>{let f;const v=h.state;return v.window===null&&(v.wsize=1<=v.wsize?(v.window.set(b.subarray(d-v.wsize,d),0),v.wnext=0,v.whave=v.wsize):(f=v.wsize-v.wnext,f>m&&(f=m),v.window.set(b.subarray(d-m,d-m+f),v.wnext),m-=f,m?(v.window.set(b.subarray(d-m,d),0),v.wnext=m,v.whave=v.wsize):(v.wnext+=f,v.wnext===v.wsize&&(v.wnext=0),v.whave{let d,m,f,v,_,S,M,E,D,B,U,H,J,rt,dt=0,K,_t,at,ot,bt,Ut,Tt,mt;const Ct=new Uint8Array(4);let xt,gt;const et=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!h||!h.state||!h.output||!h.input&&h.avail_in!==0)return Z_STREAM_ERROR$1;d=h.state,d.mode===TYPE&&(d.mode=TYPEDO),_=h.next_out,f=h.output,M=h.avail_out,v=h.next_in,m=h.input,S=h.avail_in,E=d.hold,D=d.bits,B=S,U=M,mt=Z_OK$1;t:for(;;)switch(d.mode){case HEAD:if(d.wrap===0){d.mode=TYPEDO;break}for(;D<16;){if(S===0)break t;S--,E+=m[v++]<>>8&255,d.check=crc32_1(d.check,Ct,2,0),E=0,D=0,d.mode=FLAGS;break}if(d.flags=0,d.head&&(d.head.done=!1),!(d.wrap&1)||(((E&255)<<8)+(E>>8))%31){h.msg="incorrect header check",d.mode=BAD;break}if((E&15)!==Z_DEFLATED){h.msg="unknown compression method",d.mode=BAD;break}if(E>>>=4,D-=4,Tt=(E&15)+8,d.wbits===0)d.wbits=Tt;else if(Tt>d.wbits){h.msg="invalid window size",d.mode=BAD;break}d.dmax=1<>8&1),d.flags&512&&(Ct[0]=E&255,Ct[1]=E>>>8&255,d.check=crc32_1(d.check,Ct,2,0)),E=0,D=0,d.mode=TIME;case TIME:for(;D<32;){if(S===0)break t;S--,E+=m[v++]<>>8&255,Ct[2]=E>>>16&255,Ct[3]=E>>>24&255,d.check=crc32_1(d.check,Ct,4,0)),E=0,D=0,d.mode=OS;case OS:for(;D<16;){if(S===0)break t;S--,E+=m[v++]<>8),d.flags&512&&(Ct[0]=E&255,Ct[1]=E>>>8&255,d.check=crc32_1(d.check,Ct,2,0)),E=0,D=0,d.mode=EXLEN;case EXLEN:if(d.flags&1024){for(;D<16;){if(S===0)break t;S--,E+=m[v++]<>>8&255,d.check=crc32_1(d.check,Ct,2,0)),E=0,D=0}else d.head&&(d.head.extra=null);d.mode=EXTRA;case EXTRA:if(d.flags&1024&&(H=d.length,H>S&&(H=S),H&&(d.head&&(Tt=d.head.extra_len-d.length,d.head.extra||(d.head.extra=new Uint8Array(d.head.extra_len)),d.head.extra.set(m.subarray(v,v+H),Tt)),d.flags&512&&(d.check=crc32_1(d.check,m,H,v)),S-=H,v+=H,d.length-=H),d.length))break t;d.length=0,d.mode=NAME;case NAME:if(d.flags&2048){if(S===0)break t;H=0;do Tt=m[v+H++],d.head&&Tt&&d.length<65536&&(d.head.name+=String.fromCharCode(Tt));while(Tt&&H>9&1,d.head.done=!0),h.adler=d.check=0,d.mode=TYPE;break;case DICTID:for(;D<32;){if(S===0)break t;S--,E+=m[v++]<>>=D&7,D-=D&7,d.mode=CHECK;break}for(;D<3;){if(S===0)break t;S--,E+=m[v++]<>>=1,D-=1,E&3){case 0:d.mode=STORED;break;case 1:if(fixedtables(d),d.mode=LEN_,b===Z_TREES){E>>>=2,D-=2;break t}break;case 2:d.mode=TABLE;break;case 3:h.msg="invalid block type",d.mode=BAD}E>>>=2,D-=2;break;case STORED:for(E>>>=D&7,D-=D&7;D<32;){if(S===0)break t;S--,E+=m[v++]<>>16^65535)){h.msg="invalid stored block lengths",d.mode=BAD;break}if(d.length=E&65535,E=0,D=0,d.mode=COPY_,b===Z_TREES)break t;case COPY_:d.mode=COPY;case COPY:if(H=d.length,H){if(H>S&&(H=S),H>M&&(H=M),H===0)break t;f.set(m.subarray(v,v+H),_),S-=H,v+=H,M-=H,_+=H,d.length-=H;break}d.mode=TYPE;break;case TABLE:for(;D<14;){if(S===0)break t;S--,E+=m[v++]<>>=5,D-=5,d.ndist=(E&31)+1,E>>>=5,D-=5,d.ncode=(E&15)+4,E>>>=4,D-=4,d.nlen>286||d.ndist>30){h.msg="too many length or distance symbols",d.mode=BAD;break}d.have=0,d.mode=LENLENS;case LENLENS:for(;d.have>>=3,D-=3}for(;d.have<19;)d.lens[et[d.have++]]=0;if(d.lencode=d.lendyn,d.lenbits=7,xt={bits:d.lenbits},mt=inftrees(CODES,d.lens,0,19,d.lencode,0,d.work,xt),d.lenbits=xt.bits,mt){h.msg="invalid code lengths set",d.mode=BAD;break}d.have=0,d.mode=CODELENS;case CODELENS:for(;d.have>>24,_t=dt>>>16&255,at=dt&65535,!(K<=D);){if(S===0)break t;S--,E+=m[v++]<>>=K,D-=K,d.lens[d.have++]=at;else{if(at===16){for(gt=K+2;D>>=K,D-=K,d.have===0){h.msg="invalid bit length repeat",d.mode=BAD;break}Tt=d.lens[d.have-1],H=3+(E&3),E>>>=2,D-=2}else if(at===17){for(gt=K+3;D>>=K,D-=K,Tt=0,H=3+(E&7),E>>>=3,D-=3}else{for(gt=K+7;D>>=K,D-=K,Tt=0,H=11+(E&127),E>>>=7,D-=7}if(d.have+H>d.nlen+d.ndist){h.msg="invalid bit length repeat",d.mode=BAD;break}for(;H--;)d.lens[d.have++]=Tt}}if(d.mode===BAD)break;if(d.lens[256]===0){h.msg="invalid code -- missing end-of-block",d.mode=BAD;break}if(d.lenbits=9,xt={bits:d.lenbits},mt=inftrees(LENS,d.lens,0,d.nlen,d.lencode,0,d.work,xt),d.lenbits=xt.bits,mt){h.msg="invalid literal/lengths set",d.mode=BAD;break}if(d.distbits=6,d.distcode=d.distdyn,xt={bits:d.distbits},mt=inftrees(DISTS,d.lens,d.nlen,d.ndist,d.distcode,0,d.work,xt),d.distbits=xt.bits,mt){h.msg="invalid distances set",d.mode=BAD;break}if(d.mode=LEN_,b===Z_TREES)break t;case LEN_:d.mode=LEN;case LEN:if(S>=6&&M>=258){h.next_out=_,h.avail_out=M,h.next_in=v,h.avail_in=S,d.hold=E,d.bits=D,inffast(h,U),_=h.next_out,f=h.output,M=h.avail_out,v=h.next_in,m=h.input,S=h.avail_in,E=d.hold,D=d.bits,d.mode===TYPE&&(d.back=-1);break}for(d.back=0;dt=d.lencode[E&(1<>>24,_t=dt>>>16&255,at=dt&65535,!(K<=D);){if(S===0)break t;S--,E+=m[v++]<>ot)],K=dt>>>24,_t=dt>>>16&255,at=dt&65535,!(ot+K<=D);){if(S===0)break t;S--,E+=m[v++]<>>=ot,D-=ot,d.back+=ot}if(E>>>=K,D-=K,d.back+=K,d.length=at,_t===0){d.mode=LIT;break}if(_t&32){d.back=-1,d.mode=TYPE;break}if(_t&64){h.msg="invalid literal/length code",d.mode=BAD;break}d.extra=_t&15,d.mode=LENEXT;case LENEXT:if(d.extra){for(gt=d.extra;D>>=d.extra,D-=d.extra,d.back+=d.extra}d.was=d.length,d.mode=DIST;case DIST:for(;dt=d.distcode[E&(1<>>24,_t=dt>>>16&255,at=dt&65535,!(K<=D);){if(S===0)break t;S--,E+=m[v++]<>ot)],K=dt>>>24,_t=dt>>>16&255,at=dt&65535,!(ot+K<=D);){if(S===0)break t;S--,E+=m[v++]<>>=ot,D-=ot,d.back+=ot}if(E>>>=K,D-=K,d.back+=K,_t&64){h.msg="invalid distance code",d.mode=BAD;break}d.offset=at,d.extra=_t&15,d.mode=DISTEXT;case DISTEXT:if(d.extra){for(gt=d.extra;D>>=d.extra,D-=d.extra,d.back+=d.extra}if(d.offset>d.dmax){h.msg="invalid distance too far back",d.mode=BAD;break}d.mode=MATCH;case MATCH:if(M===0)break t;if(H=U-M,d.offset>H){if(H=d.offset-H,H>d.whave&&d.sane){h.msg="invalid distance too far back",d.mode=BAD;break}H>d.wnext?(H-=d.wnext,J=d.wsize-H):J=d.wnext-H,H>d.length&&(H=d.length),rt=d.window}else rt=f,J=_-d.offset,H=d.length;H>M&&(H=M),M-=H,d.length-=H;do f[_++]=rt[J++];while(--H);d.length===0&&(d.mode=LEN);break;case LIT:if(M===0)break t;f[_++]=d.length,M--,d.mode=LEN;break;case CHECK:if(d.wrap){for(;D<32;){if(S===0)break t;S--,E|=m[v++]<{if(!h||!h.state)return Z_STREAM_ERROR$1;let b=h.state;return b.window&&(b.window=null),h.state=null,Z_OK$1},inflateGetHeader=(h,b)=>{if(!h||!h.state)return Z_STREAM_ERROR$1;const d=h.state;return(d.wrap&2)===0?Z_STREAM_ERROR$1:(d.head=b,b.done=!1,Z_OK$1)},inflateSetDictionary=(h,b)=>{const d=b.length;let m,f,v;return!h||!h.state||(m=h.state,m.wrap!==0&&m.mode!==DICT)?Z_STREAM_ERROR$1:m.mode===DICT&&(f=1,f=adler32_1(f,b,d,0),f!==m.check)?Z_DATA_ERROR$1:(v=updatewindow(h,b,d,d),v?(m.mode=MEM,Z_MEM_ERROR$1):(m.havedict=1,Z_OK$1))};var inflateReset_1=inflateReset,inflateReset2_1=inflateReset2,inflateResetKeep_1=inflateResetKeep,inflateInit_1=inflateInit,inflateInit2_1=inflateInit2,inflate_2$1=inflate$2,inflateEnd_1=inflateEnd,inflateGetHeader_1=inflateGetHeader,inflateSetDictionary_1=inflateSetDictionary,inflateInfo="pako inflate (from Nodeca project)",inflate_1$2={inflateReset:inflateReset_1,inflateReset2:inflateReset2_1,inflateResetKeep:inflateResetKeep_1,inflateInit:inflateInit_1,inflateInit2:inflateInit2_1,inflate:inflate_2$1,inflateEnd:inflateEnd_1,inflateGetHeader:inflateGetHeader_1,inflateSetDictionary:inflateSetDictionary_1,inflateInfo};function GZheader(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var gzheader=GZheader;const toString=Object.prototype.toString,{Z_NO_FLUSH,Z_FINISH,Z_OK,Z_STREAM_END,Z_NEED_DICT,Z_STREAM_ERROR,Z_DATA_ERROR,Z_MEM_ERROR}=constants$2;function Inflate$1(h){this.options=common.assign({chunkSize:1024*64,windowBits:15,to:""},h||{});const b=this.options;b.raw&&b.windowBits>=0&&b.windowBits<16&&(b.windowBits=-b.windowBits,b.windowBits===0&&(b.windowBits=-15)),b.windowBits>=0&&b.windowBits<16&&!(h&&h.windowBits)&&(b.windowBits+=32),b.windowBits>15&&b.windowBits<48&&(b.windowBits&15)===0&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let d=inflate_1$2.inflateInit2(this.strm,b.windowBits);if(d!==Z_OK)throw new Error(messages[d]);if(this.header=new gzheader,inflate_1$2.inflateGetHeader(this.strm,this.header),b.dictionary&&(typeof b.dictionary=="string"?b.dictionary=strings.string2buf(b.dictionary):toString.call(b.dictionary)==="[object ArrayBuffer]"&&(b.dictionary=new Uint8Array(b.dictionary)),b.raw&&(d=inflate_1$2.inflateSetDictionary(this.strm,b.dictionary),d!==Z_OK)))throw new Error(messages[d])}Inflate$1.prototype.push=function(h,b){const d=this.strm,m=this.options.chunkSize,f=this.options.dictionary;let v,_,S;if(this.ended)return!1;for(b===~~b?_=b:_=b===!0?Z_FINISH:Z_NO_FLUSH,toString.call(h)==="[object ArrayBuffer]"?d.input=new Uint8Array(h):d.input=h,d.next_in=0,d.avail_in=d.input.length;;){for(d.avail_out===0&&(d.output=new Uint8Array(m),d.next_out=0,d.avail_out=m),v=inflate_1$2.inflate(d,_),v===Z_NEED_DICT&&f&&(v=inflate_1$2.inflateSetDictionary(d,f),v===Z_OK?v=inflate_1$2.inflate(d,_):v===Z_DATA_ERROR&&(v=Z_NEED_DICT));d.avail_in>0&&v===Z_STREAM_END&&d.state.wrap>0&&h[d.next_in]!==0;)inflate_1$2.inflateReset(d),v=inflate_1$2.inflate(d,_);switch(v){case Z_STREAM_ERROR:case Z_DATA_ERROR:case Z_NEED_DICT:case Z_MEM_ERROR:return this.onEnd(v),this.ended=!0,!1}if(S=d.avail_out,d.next_out&&(d.avail_out===0||v===Z_STREAM_END))if(this.options.to==="string"){let M=strings.utf8border(d.output,d.next_out),E=d.next_out-M,D=strings.buf2string(d.output,M);d.next_out=E,d.avail_out=m-E,E&&d.output.set(d.output.subarray(M,M+E),0),this.onData(D)}else this.onData(d.output.length===d.next_out?d.output:d.output.subarray(0,d.next_out));if(!(v===Z_OK&&S===0)){if(v===Z_STREAM_END)return v=inflate_1$2.inflateEnd(this.strm),this.onEnd(v),this.ended=!0,!0;if(d.avail_in===0)break}}return!0};Inflate$1.prototype.onData=function(h){this.chunks.push(h)};Inflate$1.prototype.onEnd=function(h){h===Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg};function inflate$1(h,b){const d=new Inflate$1(b);if(d.push(h),d.err)throw d.msg||messages[d.err];return d.result}function inflateRaw$1(h,b){return b=b||{},b.raw=!0,inflate$1(h,b)}var Inflate_1$1=Inflate$1,inflate_2=inflate$1,inflateRaw_1$1=inflateRaw$1,ungzip$1=inflate$1,constants=constants$2,inflate_1$1={Inflate:Inflate_1$1,inflate:inflate_2,inflateRaw:inflateRaw_1$1,ungzip:ungzip$1,constants};const{Deflate,deflate,deflateRaw,gzip}=deflate_1$1,{Inflate,inflate,inflateRaw,ungzip}=inflate_1$1;var deflate_1=deflate,inflate_1=inflate;const _hasatob=typeof atob=="function",_hasbtoa=typeof btoa=="function",_hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0,_TE=typeof TextEncoder=="function"?new TextEncoder:void 0,b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(h=>{let b={};return h.forEach((d,m)=>b[d]=m),b})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):(h,b=d=>d)=>new Uint8Array(Array.prototype.slice.call(h,0).map(b)),_mkUriSafe=h=>h.replace(/=/g,"").replace(/[+\/]/g,b=>b=="+"?"-":"_"),_tidyB64=h=>h.replace(/[^A-Za-z0-9\+\/]/g,""),btoaPolyfill=h=>{let b,d,m,f,v="";const _=h.length%3;for(let S=0;S255||(m=h.charCodeAt(S++))>255||(f=h.charCodeAt(S++))>255)throw new TypeError("invalid character found");b=d<<16|m<<8|f,v+=b64chs[b>>18&63]+b64chs[b>>12&63]+b64chs[b>>6&63]+b64chs[b&63]}return _?v.slice(0,_-3)+"===".substring(_):v},_btoa=_hasbtoa?h=>btoa(h):_hasBuffer?h=>Buffer.from(h,"binary").toString("base64"):btoaPolyfill,_fromUint8Array=_hasBuffer?h=>Buffer.from(h).toString("base64"):h=>{let d=[];for(let m=0,f=h.length;mb?_mkUriSafe(_fromUint8Array(h)):_fromUint8Array(h),cb_utob=h=>{if(h.length<2){var b=h.charCodeAt(0);return b<128?h:b<2048?_fromCC(192|b>>>6)+_fromCC(128|b&63):_fromCC(224|b>>>12&15)+_fromCC(128|b>>>6&63)+_fromCC(128|b&63)}else{var b=65536+(h.charCodeAt(0)-55296)*1024+(h.charCodeAt(1)-56320);return _fromCC(240|b>>>18&7)+_fromCC(128|b>>>12&63)+_fromCC(128|b>>>6&63)+_fromCC(128|b&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=h=>h.replace(re_utob,cb_utob),_encode=_hasBuffer?h=>Buffer.from(h,"utf8").toString("base64"):_TE?h=>_fromUint8Array(_TE.encode(h)):h=>_btoa(utob(h)),encode=(h,b=!1)=>b?_mkUriSafe(_encode(h)):_encode(h),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=h=>{switch(h.length){case 4:var b=(7&h.charCodeAt(0))<<18|(63&h.charCodeAt(1))<<12|(63&h.charCodeAt(2))<<6|63&h.charCodeAt(3),d=b-65536;return _fromCC((d>>>10)+55296)+_fromCC((d&1023)+56320);case 3:return _fromCC((15&h.charCodeAt(0))<<12|(63&h.charCodeAt(1))<<6|63&h.charCodeAt(2));default:return _fromCC((31&h.charCodeAt(0))<<6|63&h.charCodeAt(1))}},btou=h=>h.replace(re_btou,cb_btou),atobPolyfill=h=>{if(h=h.replace(/\s+/g,""),!b64re.test(h))throw new TypeError("malformed base64.");h+="==".slice(2-(h.length&3));let b,d="",m,f;for(let v=0;v>16&255):f===64?_fromCC(b>>16&255,b>>8&255):_fromCC(b>>16&255,b>>8&255,b&255);return d},_atob=_hasatob?h=>atob(_tidyB64(h)):_hasBuffer?h=>Buffer.from(h,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?h=>_U8Afrom(Buffer.from(h,"base64")):h=>_U8Afrom(_atob(h),b=>b.charCodeAt(0)),toUint8Array=h=>_toUint8Array(_unURI(h)),_decode=_hasBuffer?h=>Buffer.from(h,"base64").toString("utf8"):_TD?h=>_TD.decode(_toUint8Array(h)):h=>btou(_atob(h)),_unURI=h=>_tidyB64(h.replace(/[-_]/g,b=>b=="-"?"+":"/")),decode=h=>_decode(_unURI(h)),base64Serde={serialize:h=>encode(h,!0),deserialize:h=>decode(h)},pakoSerde={serialize:h=>{const b=new TextEncoder().encode(h),d=deflate_1(b,{level:9});return fromUint8Array(d,!0)},deserialize:h=>{const b=toUint8Array(h);return inflate_1(b,{to:"string"})}},serdes={base64:base64Serde,pako:pakoSerde},serializeState=(h,b="pako")=>{if(serdes[b]===void 0)throw new Error(`Unknown serde type: ${b}`);const d=JSON.stringify(h),m=serdes[b].serialize(d);return`${b}:${m}`},deserializeState=h=>{let b,d;if(h.includes(":")){let f;if([f,d]=h.split(":"),f in serdes)b=f;else throw new Error(`Unknown serde type: ${f}`)}else b="base64",d=h;const m=serdes[b].deserialize(d);return JSON.parse(m)};var dist={},words={};(function(h){var b=commonjsGlobal&&commonjsGlobal.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&m[f],_=0;if(v)return v.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&_>=m.length&&(m=void 0),{value:m&&m[_++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.getWordsByCategory=h.wordList=void 0,h.wordList={noun:[{word:"accountant",categories:["profession"]},{word:"ability",categories:["thing"]},{word:"accident",categories:["thing"]},{word:"account",categories:["thing"]},{word:"action",categories:["thing"]},{word:"activity",categories:["thing"]},{word:"actor",categories:["profession"]},{word:"ad",categories:["media"]},{word:"addition",categories:["thing"]},{word:"address",categories:["thing"]},{word:"adult",categories:["people"]},{word:"advantage",categories:["thing"]},{word:"advertisement",categories:["media"]},{word:"afternoon",categories:["time"]},{word:"agency",categories:["thing"]},{word:"agent",categories:["people"]},{word:"air",categories:["thing"]},{word:"airline",categories:["transportation"]},{word:"airplane",categories:["transportation"]},{word:"airport",categories:["transportation","place"]},{word:"alarm",categories:["thing"]},{word:"alligator",categories:["animals"]},{word:"ambulance",categories:["health"]},{word:"analyst",categories:["profession"]},{word:"angle",categories:["thing"]},{word:"animal",categories:["animals"]},{word:"answer",categories:["thing"]},{word:"apartment",categories:["place"]},{word:"apple",categories:["food"]},{word:"application",categories:["thing"]},{word:"appointment",categories:["thing"]},{word:"architect",categories:["profession"]},{word:"argument",categories:["thing"]},{word:"area",categories:["thing"]},{word:"arm",categories:["thing"]},{word:"army",categories:["thing"]},{word:"art",categories:["thing"]},{word:"article",categories:["thing"]},{word:"artist",categories:["profession"]},{word:"australia",categories:["place"]},{word:"author",categories:["profession"]},{word:"autumn",categories:["time"]},{word:"baby",categories:["people","family"]},{word:"baker",categories:["profession"]},{word:"balloon",categories:["thing"]},{word:"banana",categories:["food"]},{word:"barista",categories:["profession"]},{word:"battery",categories:["thing"]},{word:"beach",categories:["place"]},{word:"bear",categories:["animals"]},{word:"beard",categories:["thing"]},{word:"bed",categories:["thing"]},{word:"belgium",categories:["place"]},{word:"bird",categories:["animals"]},{word:"bit",categories:["thing","technology"]},{word:"book",categories:["thing","education"]},{word:"boots",categories:["thing"]},{word:"boy",categories:["people"]},{word:"branch",categories:["thing"]},{word:"breakfast",categories:["thing"]},{word:"brother",categories:["family"]},{word:"businessperson",categories:["people","business"]},{word:"butcher",categories:["profession"]},{word:"byte",categories:["thing","technology"]},{word:"camera",categories:["thing"]},{word:"candle",categories:["thing"]},{word:"car",categories:["transportation"]},{word:"caravan",categories:["transportation"]},{word:"carpenter",categories:["profession"]},{word:"carpet",categories:["thing"]},{word:"cartoon",categories:["media"]},{word:"cat",categories:["animals"]},{word:"chef",categories:["profession"]},{word:"child",categories:["people","family"]},{word:"china",categories:["place"]},{word:"church",categories:["religion"]},{word:"city",categories:["place"]},{word:"coat",categories:["thing"]},{word:"coffeeshop",categories:["place"]},{word:"computer",categories:["thing","technology"]},{word:"continent",categories:["place"]},{word:"controller",categories:["thing","technology"]},{word:"country",categories:["place"]},{word:"cpu",categories:["thing","technology"]},{word:"crayon",categories:["thing"]},{word:"cricket",categories:["animals"]},{word:"crowd",categories:["people"]},{word:"daughter",categories:["family"]},{word:"dawn",categories:["time"]},{word:"daybreak",categories:["time"]},{word:"death",categories:["thing"]},{word:"denmark",categories:["place"]},{word:"dentist",categories:["profession"]},{word:"diamond",categories:["thing"]},{word:"dinner",categories:["food"]},{word:"disease",categories:["thing"]},{word:"doctor",categories:["profession"]},{word:"dog",categories:["animals"]},{word:"dream",categories:["thing"]},{word:"dress",categories:["thing"]},{word:"dusk",categories:["time"]},{word:"easter",categories:["religion"]},{word:"egg",categories:["food"]},{word:"eggplant",categories:["food"]},{word:"egypt",categories:["place"]},{word:"electrician",categories:["profession"]},{word:"elephant",categories:["animals"]},{word:"energy",categories:["thing"]},{word:"engine",categories:["transportation"]},{word:"engineer",categories:["profession"]},{word:"england",categories:["place"]},{word:"eve",categories:["time"]},{word:"evening",categories:["time"]},{word:"eventide",categories:["time"]},{word:"exabyte",categories:["thing","technology"]},{word:"eye",categories:["thing"]},{word:"fall",categories:["time"]},{word:"family",categories:["family"]},{word:"farmer",categories:["profession"]},{word:"father",categories:["people","family"]},{word:"finland",categories:["place"]},{word:"fireman",categories:["profession"]},{word:"fish",categories:["animals"]},{word:"flag",categories:["thing"]},{word:"florist",categories:["profession"]},{word:"flower",categories:["thing"]},{word:"football",categories:["sports"]},{word:"forest",categories:["place"]},{word:"fountain",categories:["thing"]},{word:"france",categories:["place"]},{word:"furniture",categories:["thing"]},{word:"garage",categories:["place"]},{word:"garden",categories:["food"]},{word:"gas",categories:["transportation"]},{word:"ghost",categories:["thing"]},{word:"gigabyte",categories:["thing","technology"]},{word:"girl",categories:["people"]},{word:"glass",categories:["thing"]},{word:"gold",categories:["thing"]},{word:"gpu",categories:["thing","technology"]},{word:"grandmother",categories:["people","family"]},{word:"grass",categories:["thing"]},{word:"greece",categories:["place"]},{word:"guitar",categories:["thing"]},{word:"hair",categories:["thing"]},{word:"hairdresser",categories:["profession"]},{word:"hamburger",categories:["food"]},{word:"helicopter",categories:["transportation"]},{word:"helmet",categories:["thing"]},{word:"holiday",categories:["thing"]},{word:"honey",categories:["food"]},{word:"horse",categories:["animals"]},{word:"hospital",categories:["place"]},{word:"house",categories:["place"]},{word:"hydrogen",categories:["science"]},{word:"ice",categories:["science"]},{word:"insect",categories:["animals"]},{word:"insurance",categories:["thing"]},{word:"intern",categories:["profession"]},{word:"iron",categories:["science"]},{word:"island",categories:["place"]},{word:"jackal",categories:["animals"]},{word:"jelly",categories:["food"]},{word:"jewellery",categories:["thing"]},{word:"jordan",categories:["place"]},{word:"journalist",categories:["profession"]},{word:"joystick",categories:["thing","technology"]},{word:"judge",categories:["profession"]},{word:"juice",categories:["food"]},{word:"kangaroo",categories:["animals"]},{word:"keyboard",categories:["thing","technology"]},{word:"kilobyte",categories:["thing","technology"]},{word:"king",categories:["people"]},{word:"kitchen",categories:["place"]},{word:"kite",categories:["thing"]},{word:"knife",categories:["thing"]},{word:"lamp",categories:["thing"]},{word:"laptop",categories:["thing","technology"]},{word:"lawyer",categories:["profession"]},{word:"leather",categories:["thing"]},{word:"librarian",categories:["profession"]},{word:"library",categories:["place"]},{word:"lifeguard",categories:["profession"]},{word:"lighter",categories:["thing"]},{word:"lion",categories:["animals"]},{word:"lizard",categories:["animals"]},{word:"lock",categories:["thing"]},{word:"london",categories:["place"]},{word:"lunch",categories:["food"]},{word:"machine",categories:["science"]},{word:"magazine",categories:["media"]},{word:"magician",categories:["people"]},{word:"man",categories:["people"]},{word:"manchester",categories:["place"]},{word:"market",categories:["place"]},{word:"match",categories:["thing"]},{word:"mechanic",categories:["profession"]},{word:"megabyte",categories:["thing","technology"]},{word:"memory",categories:["thing","technology"]},{word:"microphone",categories:["thing"]},{word:"midnight",categories:["time"]},{word:"minister",categories:["people","religion"]},{word:"monitor",categories:["thing","technology"]},{word:"monkey",categories:["animals"]},{word:"morn",categories:["time"]},{word:"morning",categories:["time"]},{word:"mother",categories:["people","family"]},{word:"motherboard",categories:["thing","technology"]},{word:"motorcycle",categories:["transportation"]},{word:"mouse",categories:["thing","technology","animals"]},{word:"musician",categories:["profession"]},{word:"nail",categories:["thing"]},{word:"napkin",categories:["thing"]},{word:"needle",categories:["thing"]},{word:"nest",categories:["thing"]},{word:"nigeria",categories:["place"]},{word:"night",categories:["time"]},{word:"nightfall",categories:["time"]},{word:"noon",categories:["time"]},{word:"notebook",categories:["thing"]},{word:"nurse",categories:["profession"]},{word:"ocean",categories:["place"]},{word:"oil",categories:["thing"]},{word:"optician",categories:["profession"]},{word:"orange",categories:["food"]},{word:"oxygen",categories:["science"]},{word:"oyster",categories:["animals"]},{word:"pager",categories:["thing","technology"]},{word:"painter",categories:["profession"]},{word:"painting",categories:["media"]},{word:"park",categories:["place"]},{word:"parrot",categories:["animals"]},{word:"pencil",categories:["thing","education"]},{word:"petabyte",categories:["thing","technology"]},{word:"pharmacist",categories:["profession"]},{word:"photographer",categories:["profession"]},{word:"piano",categories:["thing"]},{word:"pillow",categories:["thing"]},{word:"pilot",categories:["profession"]},{word:"pizza",categories:["food"]},{word:"planet",categories:["science"]},{word:"plastic",categories:["thing"]},{word:"plumber",categories:["profession"]},{word:"policeman",categories:["profession"]},{word:"portugal",categories:["place"]},{word:"postman",categories:["profession"]},{word:"potato",categories:["food"]},{word:"printer",categories:["thing","technology"]},{word:"processor",categories:["thing","technology"]},{word:"psychiatrist",categories:["profession"]},{word:"queen",categories:["people"]},{word:"quill",categories:["thing"]},{word:"rain",categories:["thing"]},{word:"rainbow",categories:["science"]},{word:"raincoat",categories:["thing"]},{word:"ram",categories:["thing","technology"]},{word:"receptionist",categories:["profession"]},{word:"refrigerator",categories:["food"]},{word:"restaurant",categories:["place"]},{word:"river",categories:["thing"]},{word:"rocket",categories:["science"]},{word:"room",categories:["place"]},{word:"rose",categories:["thing"]},{word:"russia",categories:["place"]},{word:"salesclerk",categories:["people","business"]},{word:"salesmen",categories:["profession"]},{word:"sandwich",categories:["food"]},{word:"school",categories:["education"]},{word:"scientist",categories:["profession"]},{word:"scooter",categories:["transportation"]},{word:"secretary",categories:["profession"]},{word:"shampoo",categories:["thing"]},{word:"shoe",categories:["thing"]},{word:"smartphone",categories:["thing","technology"]},{word:"soccer",categories:["sports"]},{word:"solstice",categories:["time"]},{word:"spoon",categories:["thing"]},{word:"spring",categories:["time"]},{word:"state",categories:["place"]},{word:"stone",categories:["thing"]},{word:"student",categories:["people","education"]},{word:"sugar",categories:["food"]},{word:"summer",categories:["time"]},{word:"sundown",categories:["time"]},{word:"sunset",categories:["time"]},{word:"sweden",categories:["place"]},{word:"table",categories:["thing"]},{word:"tailor",categories:["profession"]},{word:"teacher",categories:["people","education","profession"]},{word:"teenager",categories:["people","family"]},{word:"telephone",categories:["thing"]},{word:"television",categories:["media"]},{word:"tent",categories:["thing"]},{word:"terabyte",categories:["thing","technology"]},{word:"thailand",categories:["place"]},{word:"tiger",categories:["animals"]},{word:"toddler",categories:["people","family"]},{word:"tomato",categories:["food"]},{word:"toothbrush",categories:["thing"]},{word:"traffic",categories:["thing"]},{word:"train",categories:["transportation"]},{word:"translator",categories:["profession"]},{word:"truck",categories:["thing","transportation"]},{word:"twilight",categories:["time"]},{word:"uganda",categories:["place"]},{word:"umbrella",categories:["thing"]},{word:"van",categories:["transportation"]},{word:"vase",categories:["thing"]},{word:"vegetable",categories:["food"]},{word:"vr",categories:["thing","technology"]},{word:"vulture",categories:["animals"]},{word:"waiter",categories:["profession"]},{word:"waitress",categories:["profession"]},{word:"wall",categories:["thing"]},{word:"whale",categories:["animals"]},{word:"window",categories:["thing"]},{word:"winter",categories:["time"]},{word:"wire",categories:["thing"]},{word:"wolf",categories:["animals"]},{word:"woman",categories:["people"]},{word:"xylophone",categories:["thing"]},{word:"yacht",categories:["transportation"]},{word:"yak",categories:["animals"]},{word:"yottabyte",categories:["thing","technology"]},{word:"zebra",categories:["animals"]},{word:"zettabyte",categories:["thing","technology"]},{word:"zoo",categories:["animals"]}],adjective:[{word:"abandoned",categories:["condition"]},{word:"abiding",categories:["personality"]},{word:"able",categories:["condition"]},{word:"abrasive",categories:["condition","personality"]},{word:"abnormal",categories:["condition"]},{word:"absurd",categories:["condition"]},{word:"abundant",categories:["quantity"]},{word:"acceptable",categories:["condition"]},{word:"acidic",categories:["taste"]},{word:"acoustic",categories:["sounds"]},{word:"acrid",categories:["condition"]},{word:"adamant",categories:["personality"]},{word:"adorable",categories:["personality"]},{word:"adventurous",categories:["personality"]},{word:"aggressive",categories:["personality"]},{word:"agitated",categories:["personality"]},{word:"agreeable",categories:["personality"]},{word:"alert",categories:["condition"]},{word:"alive",categories:["condition"]},{word:"aloof",categories:["personality"]},{word:"ambitious",categories:["personality"]},{word:"ancient",categories:["time"]},{word:"angry",categories:["personality"]},{word:"annoyed",categories:["personality"]},{word:"antsy",categories:["personality"]},{word:"anxious",categories:["personality"]},{word:"appalling",categories:["personality"]},{word:"appetizing",categories:["taste"]},{word:"apprehensive",categories:["personality"]},{word:"arrogant",categories:["personality"]},{word:"ashamed",categories:["personality"]},{word:"astonishing",categories:["personality"]},{word:"attractive",categories:["appearance"]},{word:"average",categories:["appearance"]},{word:"bad",categories:["condition"]},{word:"bald",categories:["appearance"]},{word:"bashful",categories:["personality"]},{word:"beautiful",categories:["appearance"]},{word:"beefy",categories:["appearance"]},{word:"belligerent",categories:["personality"]},{word:"bent",categories:["condition"]},{word:"better",categories:["condition"]},{word:"best",categories:["condition"]},{word:"better",categories:["condition"]},{word:"bewildered",categories:["personality"]},{word:"big",categories:["size"]},{word:"billions",categories:["quantity"]},{word:"billowy",categories:["appearance"]},{word:"bitter",categories:["taste"]},{word:"black",categories:["color"]},{word:"bland",categories:["taste"]},{word:"blue",categories:["color"]},{word:"blushing",categories:["appearance"]},{word:"bored",categories:["personality"]},{word:"boring",categories:["personality"]},{word:"boundless",categories:["personality"]},{word:"brainy",categories:["personality"]},{word:"brash",categories:["personality"]},{word:"brave",categories:["personality"]},{word:"breezy",categories:["touch"]},{word:"brief",categories:["time"]},{word:"bright",categories:["appearance"]},{word:"broad",categories:["shapes"]},{word:"broken",categories:["condition"]},{word:"brown",categories:["color"]},{word:"bulky",categories:["appearance"]},{word:"bumpy",categories:["touch"]},{word:"burly",categories:["appearance"]},{word:"busy",categories:["personality"]},{word:"cagey",categories:["personality"]},{word:"calm",categories:["personality"]},{word:"callous",categories:["personality"]},{word:"careful",categories:["condition"]},{word:"chilly",categories:["touch"]},{word:"chubby",categories:["appearance"]},{word:"clean",categories:["appearance"]},{word:"clever",categories:["condition"]},{word:"clumsy",categories:["personality"]},{word:"cold",categories:["touch"]},{word:"colossal",categories:["size"]},{word:"cool",categories:["touch"]},{word:"crashing",categories:["sounds"]},{word:"creamy",categories:["taste"]},{word:"crooked",categories:["shapes"]},{word:"cuddly",categories:["touch"]},{word:"curved",categories:["shapes"]},{word:"damaged",categories:["touch"]},{word:"damp",categories:["touch"]},{word:"dazzling",categories:["appearance"]},{word:"dead",categories:["condition"]},{word:"deafening",categories:["sounds"]},{word:"deep",categories:["shapes"]},{word:"defeated",categories:["personality"]},{word:"delicious",categories:["taste"]},{word:"delightful",categories:["personality"]},{word:"dirty",categories:["touch"]},{word:"disgusting",categories:["taste"]},{word:"drab",categories:["appearance"]},{word:"dry",categories:["touch"]},{word:"eager",categories:["personality"]},{word:"early",categories:["time"]},{word:"easy",categories:["condition"]},{word:"echoing",categories:["sounds"]},{word:"elegant",categories:["appearance"]},{word:"embarrassed",categories:["personality"]},{word:"enough",categories:["quantity"]},{word:"faint",categories:["sounds"]},{word:"faithful",categories:["personality"]},{word:"famous",categories:["condition"]},{word:"fancy",categories:["appearance"]},{word:"fast",categories:["time"]},{word:"fat",categories:["size"]},{word:"few",categories:["quantity"]},{word:"fierce",categories:["personality"]},{word:"fit",categories:["appearance"]},{word:"flabby",categories:["appearance"]},{word:"flaky",categories:["touch"]},{word:"flat",categories:["shapes"]},{word:"fluffy",categories:["touch"]},{word:"freezing",categories:["touch"]},{word:"fresh",categories:["taste"]},{word:"full",categories:["quantity"]},{word:"future",categories:["time"]},{word:"gentle",categories:["personality"]},{word:"gifted",categories:["condition"]},{word:"gigantic",categories:["size"]},{word:"glamorous",categories:["appearance"]},{word:"gorgeous",categories:["appearance"]},{word:"gray",categories:["color"]},{word:"greasy",categories:["touch","taste"]},{word:"great",categories:["size"]},{word:"green",categories:["color"]},{word:"grumpy",categories:["personality"]},{word:"hallowed",categories:["condition"]},{word:"handsome",categories:["appearance"]},{word:"happy",categories:["personality"]},{word:"harsh",categories:["sounds"]},{word:"helpful",categories:["condition"]},{word:"helpless",categories:["personality"]},{word:"high",categories:["shapes"]},{word:"hissing",categories:["sounds"]},{word:"hollow",categories:["shapes"]},{word:"hot",categories:["touch","taste"]},{word:"howling",categories:["sounds"]},{word:"huge",categories:["size"]},{word:"hundreds",categories:["quantity"]},{word:"icy",categories:["touch"]},{word:"immense",categories:["size"]},{word:"important",categories:["condition"]},{word:"incalculable",categories:["quantity"]},{word:"inexpensive",categories:["condition"]},{word:"itchy",categories:["personality"]},{word:"jealous",categories:["personality"]},{word:"jolly",categories:["personality"]},{word:"juicy",categories:["taste"]},{word:"kind",categories:["personality"]},{word:"large",categories:["size"]},{word:"late",categories:["time"]},{word:"lazy",categories:["personality"]},{word:"lemon",categories:["color"]},{word:"limited",categories:["quantity"]},{word:"little",categories:["size","quantity"]},{word:"lively",categories:["personality"]},{word:"long",categories:["time","appearance"]},{word:"loose",categories:["touch"]},{word:"loud",categories:["sounds"]},{word:"low",categories:["shapes"]},{word:"magnificent",categories:["appearance"]},{word:"mammoth",categories:["size"]},{word:"mango",categories:["color"]},{word:"many",categories:["quantity"]},{word:"massive",categories:["size"]},{word:"mealy",categories:["condition"]},{word:"melodic",categories:["sounds"]},{word:"melted",categories:["touch"]},{word:"microscopic",categories:["size"]},{word:"millions",categories:["quantity"]},{word:"miniature",categories:["size"]},{word:"modern",categories:["time"]},{word:"moldy",categories:["taste"]},{word:"most",categories:["quantity"]},{word:"muscular",categories:["appearance"]},{word:"mushy",categories:["condition"]},{word:"mysterious",categories:["personality"]},{word:"narrow",categories:["shapes"]},{word:"nervous",categories:["personality"]},{word:"nice",categories:["personality"]},{word:"noisy",categories:["sounds"]},{word:"numerous",categories:["quantity"]},{word:"nutritious",categories:["taste"]},{word:"nutty",categories:["taste"]},{word:"obedient",categories:["personality"]},{word:"obnoxious",categories:["personality"]},{word:"odd",categories:["condition"]},{word:"old",categories:["time"]},{word:"orange",categories:["color"]},{word:"panicky",categories:["personality"]},{word:"petite",categories:["size"]},{word:"pitiful",categories:["personality"]},{word:"plain",categories:["appearance"]},{word:"plump",categories:["appearance"]},{word:"polite",categories:["personality"]},{word:"poor",categories:["condition"]},{word:"powerful",categories:["condition"]},{word:"prehistoric",categories:["time"]},{word:"prickly",categories:["touch"]},{word:"proud",categories:["personality"]},{word:"puny",categories:["size"]},{word:"purple",categories:["color"]},{word:"purring",categories:["sounds"]},{word:"putrid",categories:["taste"]},{word:"quaint",categories:["appearance"]},{word:"quick",categories:["time"]},{word:"quiet",categories:["sounds"]},{word:"rancid",categories:["taste"]},{word:"rapid",categories:["time"]},{word:"rapping",categories:["sounds"]},{word:"raspy",categories:["sounds"]},{word:"red",categories:["color"]},{word:"refined",categories:["shapes"]},{word:"repulsive",categories:["personality"]},{word:"rhythmic",categories:["sounds"]},{word:"rich",categories:["condition"]},{word:"ripe",categories:["taste"]},{word:"rotten",categories:["taste"]},{word:"rough",categories:["touch"]},{word:"round",categories:["shapes"]},{word:"salmon",categories:["color"]},{word:"salty",categories:["taste"]},{word:"savory",categories:["taste"]},{word:"scarce",categories:["quantity"]},{word:"scary",categories:["personality"]},{word:"scrawny",categories:["size"]},{word:"screeching",categories:["sounds"]},{word:"scruffy",categories:["appearance"]},{word:"shaggy",categories:["touch"]},{word:"shallow",categories:["shapes"]},{word:"shapely",categories:["appearance"]},{word:"sharp",categories:["touch"]},{word:"short",categories:["size","appearance","time"]},{word:"shrilling",categories:["sounds"]},{word:"shy",categories:["condition"]},{word:"silly",categories:["personality"]},{word:"skinny",categories:["appearance","shapes"]},{word:"slimy",categories:["touch"]},{word:"slow",categories:["time"]},{word:"small",categories:["size"]},{word:"some",categories:["quantity"]},{word:"sour",categories:["taste"]},{word:"sparse",categories:["quantity"]},{word:"spicy",categories:["taste"]},{word:"spoiled",categories:["taste"]},{word:"square",categories:["shapes"]},{word:"squeaking",categories:["sounds"]},{word:"stale",categories:["taste"]},{word:"steep",categories:["shapes"]},{word:"sticky",categories:["touch"]},{word:"stocky",categories:["appearance"]},{word:"straight",categories:["shapes"]},{word:"strong",categories:["touch"]},{word:"substantial",categories:["quantity"]},{word:"sweet",categories:["taste"]},{word:"swift",categories:["time"]},{word:"tall",categories:["size"]},{word:"tangy",categories:["taste"]},{word:"tart",categories:["taste"]},{word:"tasteless",categories:["taste"]},{word:"tasty",categories:["taste"]},{word:"teeny",categories:["size"]},{word:"tender",categories:["condition"]},{word:"thankful",categories:["personality"]},{word:"thoughtless",categories:["personality"]},{word:"thousands",categories:["quantity"]},{word:"thundering",categories:["sounds"]},{word:"tight",categories:["touch"]},{word:"tinkling",categories:["sounds"]},{word:"tiny",categories:["size"]},{word:"ugly",categories:["appearance"]},{word:"uneven",categories:["touch"]},{word:"unimportant",categories:["condition"]},{word:"uninterested",categories:["condition"]},{word:"unkempt",categories:["appearance"]},{word:"unsightly",categories:["appearance"]},{word:"uptight",categories:["personality"]},{word:"vast",categories:["condition"]},{word:"victorious",categories:["personality"]},{word:"wailing",categories:["sounds"]},{word:"warm",categories:["touch"]},{word:"weak",categories:["touch"]},{word:"wet",categories:["touch"]},{word:"whining",categories:["sounds"]},{word:"whispering",categories:["sounds"]},{word:"white",categories:["color"]},{word:"wide",categories:["shapes"]},{word:"witty",categories:["personality"]},{word:"wonderful",categories:["personality"]},{word:"wooden",categories:["touch"]},{word:"worried",categories:["personality"]},{word:"wrong",categories:["condition"]},{word:"yellow",categories:["color"]},{word:"young",categories:["time"]},{word:"yummy",categories:["taste"]},{word:"zealous",categories:["personality"]}]};function d(m,f){var v,_;f===void 0&&(f=[]);var S=new Set(f),M=[];try{for(var E=b(h.wordList[m]),D=E.next();!D.done;D=E.next()){var B=D.value;(f.length===0||B.categories.some(function(U){return S.has(U)}))&&M.push(B.word)}}catch(U){v={error:U}}finally{try{D&&!D.done&&(_=E.return)&&_.call(E)}finally{if(v)throw v.error}}return M}h.getWordsByCategory=d})(words);var __assign=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign=Object.assign||function(h){for(var b,d=1,m=arguments.length;d{f(h==="auto"?b:h==="manual"?d:h==="loader"?m:b)}),addHistoryEntry=h=>{const b={...h,id:v4()};if(b.type==="loader"){loaderHistoryStore.update(d=>[b,...d]);return}b.name||(b.name=generateSlug_1(2)),b.type==="auto"?autoHistoryStore.update(d=>(d.length>=MAX_AUTO_HISTORY_LENGTH&&(d=d.slice(0,MAX_AUTO_HISTORY_LENGTH-1)),[b,...d])):b.type==="manual"&&(manualHistoryStore.update(d=>[b,...d]),logEvent("history",{action:"save"}))},clearHistoryData=h=>{(get_store_value(historyModeStore)==="auto"?autoHistoryStore:manualHistoryStore).update(b=>(get_store_value(historyModeStore)!=="loader"&&(b=b.filter(({id:d})=>h&&d!=h),logEvent("history",{action:"clear",type:h?"single":"all"})),b))},getPreviousState=h=>{const b=get_store_value(h?autoHistoryStore:manualHistoryStore);return b.length>0?JSON.stringify(b[0].state):""},restoreHistory=h=>{const b=h.filter(validateEntry),d=h.length-b.length;if(d>0&&(console.error(`${d} invalid history entries were removed.`),console.error(h)),b.length>0){let m=0;(b[0].type==="auto"?autoHistoryStore:manualHistoryStore).update(f=>{const v=new Set(f.map(({id:M})=>M)),_=b.filter(({id:M})=>!v.has(M));m=_.length;const S=[...f,..._];return S.sort((M,E)=>E.time-M.time),S}),alert(`${m} entries restored. ${d} invalid, ${b.length-m} duplicates.`),logEvent("history",{action:"restore",success:m,invalid:d,duplicates:b.length-m})}else alert("No valid entries found.")},injectHistoryIDs=()=>{const h=b=>{for(const d of b)d.id||(d.id=v4());return b};autoHistoryStore.update(h),manualHistoryStore.update(h)},validateEntry=h=>h.type&&h.state&&h.time&&!0,codeFileName="code.mmd",configFileName="config.json",isValidGist=h=>codeFileName in h,getFileContent=async h=>h.truncated?await(await fetch(h.raw_url)).text():h.content,getGistData=async h=>{const[b,d,m,f]=h.split("github.com").pop().split("/"),{html_url:v,files:_,history:S}=await(await fetch(`https://api.github.com/gists/${m}${f?"/"+f:""}`)).json();if(isValidGist(_)){const M=await getFileContent(_[codeFileName]);let E;configFileName in _&&(E=await getFileContent(_[configFileName]));const D=S[0];return{url:`${v}/${D.version}`,code:M,config:E,author:D.user.login,time:new Date(D.committed_at).getTime(),version:D.version.slice(-7)}}else throw"Invalid gist provided"},getStateFromGist=(h,b=h.url)=>{const d={...defaultState,code:h.code,loader:{type:"gist",config:{url:b}}};return h.config&&(d.mermaid=h.config),d},loadGistData=async h=>{try{const[b,d,m,f]=h.split("github.com").pop().split("/"),{history:v}=await(await fetch(`https://api.github.com/gists/${m}${f?"/"+f:""}`)).json(),_=[];for(const M of v){const E=await getGistData(M.url).catch(()=>{});E&&_.push(E)}if(_.length===0)throw"Invalid gist provided";_.reverse();const S=getStateFromGist(_.slice(-1).pop(),h);for(const M of _)addHistoryEntry({state:getStateFromGist(M),time:M.time,type:"loader",url:M.url,name:`${M.author} v${M.version}`});return S}catch(b){console.error(b)}},loaders={gist:loadGistData},loadDataFromUrl=async()=>{const h=new URLSearchParams(window.location.search);let b=defaultState,d,m,f=!1;const v=h.get("code"),_=h.get("config");if(v&&(d=await(await fetch(v)).text(),f=!0),_?m=await(await fetch(_)).text():m=defaultState.mermaid,d)b={code:d,mermaid:m,loader:{type:"files",config:{codeURL:v,configURL:_}}};else for(const[S,M]of h.entries())if(S in loaders)try{b=await loaders[S](M),f=!0;break}catch(E){console.error(E)}f&&updateCodeStore({...b,autoSync:!0,updateDiagram:!0})},migrations={injectHistoryIDs},migrationStore=persist(writable({version:-1}),localStorage(),"migrations"),applyMigrations=()=>{const{version:h}=get_store_value(migrationStore),b=Object.entries(migrations);if(h!==b.length-1){console.log(`Current migration version: v${h}. Migrating to v${b.length-1}.`);for(let d=h+1;d{loadState(window.location.hash.slice(1))},syncDiagram=()=>{updateCodeStore({updateDiagram:!0})},initHandler=async()=>{applyMigrations(),loadStateFromURL(),await initLoading("Loading Gist...",loadDataFromUrl().catch(console.error)),syncDiagram(),initURLSubscription(),await initAnalytics(),analytics==null||analytics.page()},isMac=navigator.platform.toUpperCase().indexOf("MAC")>=0,cmdKey=isMac?"Cmd":"Ctrl";/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */var t={2536:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(Ne,Qe,rr,Se){for(rr=rr||{},Se=Ne.length;Se--;rr[Ne[Se]]=Qe);return rr},v=[1,6],_=[1,7],S=[1,8],M=[1,9],E=[1,16],D=[1,11],B=[1,12],U=[1,13],H=[1,14],J=[1,15],rt=[1,27],dt=[1,33],K=[1,34],_t=[1,35],at=[1,36],ot=[1,37],bt=[1,72],Ut=[1,73],Tt=[1,74],mt=[1,75],Ct=[1,76],xt=[1,77],gt=[1,78],et=[1,38],ft=[1,39],q=[1,40],wt=[1,41],W=[1,42],St=[1,43],Lt=[1,44],Wt=[1,45],ye=[1,46],Ve=[1,47],ke=[1,48],fe=[1,49],xe=[1,50],Me=[1,51],Oe=[1,52],ve=[1,53],Sr=[1,54],_e=[1,55],Je=[1,56],Dt=[1,57],he=[1,59],re=[1,60],At=[1,61],Ee=[1,62],Q=[1,63],ce=[1,64],st=[1,65],Te=[1,66],ge=[1,67],Pe=[1,68],ar=[1,69],Ze=[24,52],lr=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Ie=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Re=[1,94],Ue=[1,95],Fe=[1,96],be=[1,97],ae=[15,24,52],br=[7,8,9,10,18,22,25,26,27,28],qe=[15,24,43,52],sr=[15,24,43,52,86,87,89,90],$e=[15,43],Er=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Jr={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(Ne,Qe,rr,Se,Ar,Rt,vn){var Gt=Rt.length-1;switch(Ar){case 4:Se.setDirection("TB");break;case 5:Se.setDirection("BT");break;case 6:Se.setDirection("RL");break;case 7:Se.setDirection("LR");break;case 11:console.log("open_directive: ",Rt[Gt]),Se.parseDirective("%%{","open_directive");break;case 12:break;case 13:Rt[Gt]=Rt[Gt].trim().replace(/'/g,'"'),console.log("arg_directive: ",Rt[Gt]),Se.parseDirective(Rt[Gt],"arg_directive");break;case 14:console.log("close_directive: ",Rt[Gt]),Se.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:Se.setC4Type(Rt[Gt-3]);break;case 26:Se.setTitle(Rt[Gt].substring(6)),this.$=Rt[Gt].substring(6);break;case 27:Se.setAccDescription(Rt[Gt].substring(15)),this.$=Rt[Gt].substring(15);break;case 28:this.$=Rt[Gt].trim(),Se.setTitle(this.$);break;case 29:case 30:this.$=Rt[Gt].trim(),Se.setAccDescription(this.$);break;case 35:case 36:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Rt[Gt].splice(2,0,"ENTERPRISE"),Se.addPersonOrSystemBoundary(...Rt[Gt]),this.$=Rt[Gt];break;case 37:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystemBoundary(...Rt[Gt]),this.$=Rt[Gt];break;case 38:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Rt[Gt].splice(2,0,"CONTAINER"),Se.addContainerBoundary(...Rt[Gt]),this.$=Rt[Gt];break;case 39:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addDeploymentNode("node",...Rt[Gt]),this.$=Rt[Gt];break;case 40:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addDeploymentNode("nodeL",...Rt[Gt]),this.$=Rt[Gt];break;case 41:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addDeploymentNode("nodeR",...Rt[Gt]),this.$=Rt[Gt];break;case 42:Se.popBoundaryParseStack();break;case 46:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("person",...Rt[Gt]),this.$=Rt[Gt];break;case 47:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("external_person",...Rt[Gt]),this.$=Rt[Gt];break;case 48:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("system",...Rt[Gt]),this.$=Rt[Gt];break;case 49:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("system_db",...Rt[Gt]),this.$=Rt[Gt];break;case 50:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("system_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 51:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("external_system",...Rt[Gt]),this.$=Rt[Gt];break;case 52:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("external_system_db",...Rt[Gt]),this.$=Rt[Gt];break;case 53:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addPersonOrSystem("external_system_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 54:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("container",...Rt[Gt]),this.$=Rt[Gt];break;case 55:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("container_db",...Rt[Gt]),this.$=Rt[Gt];break;case 56:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("container_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 57:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("external_container",...Rt[Gt]),this.$=Rt[Gt];break;case 58:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("external_container_db",...Rt[Gt]),this.$=Rt[Gt];break;case 59:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addContainer("external_container_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 60:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("component",...Rt[Gt]),this.$=Rt[Gt];break;case 61:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("component_db",...Rt[Gt]),this.$=Rt[Gt];break;case 62:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("component_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 63:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("external_component",...Rt[Gt]),this.$=Rt[Gt];break;case 64:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("external_component_db",...Rt[Gt]),this.$=Rt[Gt];break;case 65:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addComponent("external_component_queue",...Rt[Gt]),this.$=Rt[Gt];break;case 67:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel",...Rt[Gt]),this.$=Rt[Gt];break;case 68:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("birel",...Rt[Gt]),this.$=Rt[Gt];break;case 69:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel_u",...Rt[Gt]),this.$=Rt[Gt];break;case 70:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel_d",...Rt[Gt]),this.$=Rt[Gt];break;case 71:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel_l",...Rt[Gt]),this.$=Rt[Gt];break;case 72:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel_r",...Rt[Gt]),this.$=Rt[Gt];break;case 73:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.addRel("rel_b",...Rt[Gt]),this.$=Rt[Gt];break;case 74:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Rt[Gt].splice(0,1),Se.addRel("rel",...Rt[Gt]),this.$=Rt[Gt];break;case 75:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.updateElStyle("update_el_style",...Rt[Gt]),this.$=Rt[Gt];break;case 76:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.updateRelStyle("update_rel_style",...Rt[Gt]),this.$=Rt[Gt];break;case 77:console.log(Rt[Gt-1],JSON.stringify(Rt[Gt])),Se.updateLayoutConfig("update_layout_config",...Rt[Gt]),this.$=Rt[Gt];break;case 78:console.log("PUSH ATTRIBUTE: ",Rt[Gt]),this.$=[Rt[Gt]];break;case 79:console.log("PUSH ATTRIBUTE: ",Rt[Gt-1]),Rt[Gt].unshift(Rt[Gt-1]),this.$=Rt[Gt];break;case 80:case 82:this.$=Rt[Gt].trim();break;case 81:console.log("kv: ",Rt[Gt-1],Rt[Gt]);let qr={};qr[Rt[Gt-1].trim()]=Rt[Gt].trim(),this.$=qr;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:v,8:_,9:S,10:M,11:5,12:10,18:E,22:D,25:B,26:U,27:H,28:J},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:v,8:_,9:S,10:M,11:5,12:10,18:E,22:D,25:B,26:U,27:H,28:J},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:rt},f([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:dt,33:K,34:_t,36:at,38:ot,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{23:79,29:29,30:30,31:31,32:dt,33:K,34:_t,36:at,38:ot,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{23:80,29:29,30:30,31:31,32:dt,33:K,34:_t,36:at,38:ot,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{23:81,29:29,30:30,31:31,32:dt,33:K,34:_t,36:at,38:ot,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{23:82,29:29,30:30,31:31,32:dt,33:K,34:_t,36:at,38:ot,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},f(Ze,[2,20],{53:32,39:58,40:70,42:71,30:87,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar}),f(Ze,[2,21]),f(lr,[2,23],{15:[1,88]}),f(Ze,[2,43],{15:[1,89]}),f(Ie,[2,26]),f(Ie,[2,27]),{35:[1,90]},{37:[1,91]},f(Ie,[2,30]),{45:92,85:93,86:Re,87:Ue,89:Fe,90:be},{45:98,85:93,86:Re,87:Ue,89:Fe,90:be},{45:99,85:93,86:Re,87:Ue,89:Fe,90:be},{45:100,85:93,86:Re,87:Ue,89:Fe,90:be},{45:101,85:93,86:Re,87:Ue,89:Fe,90:be},{45:102,85:93,86:Re,87:Ue,89:Fe,90:be},{45:103,85:93,86:Re,87:Ue,89:Fe,90:be},{45:104,85:93,86:Re,87:Ue,89:Fe,90:be},{45:105,85:93,86:Re,87:Ue,89:Fe,90:be},{45:106,85:93,86:Re,87:Ue,89:Fe,90:be},{45:107,85:93,86:Re,87:Ue,89:Fe,90:be},{45:108,85:93,86:Re,87:Ue,89:Fe,90:be},{45:109,85:93,86:Re,87:Ue,89:Fe,90:be},{45:110,85:93,86:Re,87:Ue,89:Fe,90:be},{45:111,85:93,86:Re,87:Ue,89:Fe,90:be},{45:112,85:93,86:Re,87:Ue,89:Fe,90:be},{45:113,85:93,86:Re,87:Ue,89:Fe,90:be},{45:114,85:93,86:Re,87:Ue,89:Fe,90:be},{45:115,85:93,86:Re,87:Ue,89:Fe,90:be},{45:116,85:93,86:Re,87:Ue,89:Fe,90:be},f(ae,[2,66]),{45:117,85:93,86:Re,87:Ue,89:Fe,90:be},{45:118,85:93,86:Re,87:Ue,89:Fe,90:be},{45:119,85:93,86:Re,87:Ue,89:Fe,90:be},{45:120,85:93,86:Re,87:Ue,89:Fe,90:be},{45:121,85:93,86:Re,87:Ue,89:Fe,90:be},{45:122,85:93,86:Re,87:Ue,89:Fe,90:be},{45:123,85:93,86:Re,87:Ue,89:Fe,90:be},{45:124,85:93,86:Re,87:Ue,89:Fe,90:be},{45:125,85:93,86:Re,87:Ue,89:Fe,90:be},{45:126,85:93,86:Re,87:Ue,89:Fe,90:be},{45:127,85:93,86:Re,87:Ue,89:Fe,90:be},{30:128,39:58,40:70,42:71,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,53:32,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar},{15:[1,130],43:[1,129]},{45:131,85:93,86:Re,87:Ue,89:Fe,90:be},{45:132,85:93,86:Re,87:Ue,89:Fe,90:be},{45:133,85:93,86:Re,87:Ue,89:Fe,90:be},{45:134,85:93,86:Re,87:Ue,89:Fe,90:be},{45:135,85:93,86:Re,87:Ue,89:Fe,90:be},{45:136,85:93,86:Re,87:Ue,89:Fe,90:be},{45:137,85:93,86:Re,87:Ue,89:Fe,90:be},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},f(br,[2,9]),{14:142,21:rt},{21:[2,13]},{1:[2,15]},f(Ze,[2,22]),f(lr,[2,24],{31:31,29:143,32:dt,33:K,34:_t,36:at,38:ot}),f(Ze,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:dt,33:K,34:_t,36:at,38:ot,44:bt,46:Ut,47:Tt,48:mt,49:Ct,50:xt,51:gt,54:et,55:ft,56:q,57:wt,58:W,59:St,60:Lt,61:Wt,62:ye,63:Ve,64:ke,65:fe,66:xe,67:Me,68:Oe,69:ve,70:Sr,71:_e,72:Je,73:Dt,74:he,75:re,76:At,77:Ee,78:Q,79:ce,80:st,81:Te,82:ge,83:Pe,84:ar}),f(Ie,[2,28]),f(Ie,[2,29]),f(ae,[2,46]),f(qe,[2,78],{85:93,45:145,86:Re,87:Ue,89:Fe,90:be}),f(sr,[2,80]),{88:[1,146]},f(sr,[2,82]),f(sr,[2,83]),f(ae,[2,47]),f(ae,[2,48]),f(ae,[2,49]),f(ae,[2,50]),f(ae,[2,51]),f(ae,[2,52]),f(ae,[2,53]),f(ae,[2,54]),f(ae,[2,55]),f(ae,[2,56]),f(ae,[2,57]),f(ae,[2,58]),f(ae,[2,59]),f(ae,[2,60]),f(ae,[2,61]),f(ae,[2,62]),f(ae,[2,63]),f(ae,[2,64]),f(ae,[2,65]),f(ae,[2,67]),f(ae,[2,68]),f(ae,[2,69]),f(ae,[2,70]),f(ae,[2,71]),f(ae,[2,72]),f(ae,[2,73]),f(ae,[2,74]),f(ae,[2,75]),f(ae,[2,76]),f(ae,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},f($e,[2,35]),f($e,[2,36]),f($e,[2,37]),f($e,[2,38]),f($e,[2,39]),f($e,[2,40]),f($e,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},f(lr,[2,25]),f(Ze,[2,45]),f(qe,[2,79]),f(sr,[2,81]),f(ae,[2,31]),f(ae,[2,42]),f(Er,[2,32]),f(Er,[2,33],{15:[1,152]}),f(br,[2,10]),f(Er,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(Ne,Qe){if(!Qe.recoverable){var rr=new Error(Ne);throw rr.hash=Qe,rr}this.trace(Ne)},parse:function(Ne){var Qe=this,rr=[0],Se=[],Ar=[null],Rt=[],vn=this.table,Gt="",qr=0,Yr=0,Gr=0,Dr=2,Vr=1,Ur=Rt.slice.call(arguments,1),Nr=Object.create(this.lexer),zr={yy:{}};for(var jr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,jr)&&(zr.yy[jr]=this.yy[jr]);Nr.setInput(Ne,zr.yy),zr.yy.lexer=Nr,zr.yy.parser=this,Nr.yylloc===void 0&&(Nr.yylloc={});var $r=Nr.yylloc;Rt.push($r);var ga=Nr.options&&Nr.options.ranges;function Mn(){var Zr;return typeof(Zr=Se.pop()||Nr.lex()||Vr)!="number"&&(Zr instanceof Array&&(Zr=(Se=Zr).pop()),Zr=Qe.symbols_[Zr]||Zr),Zr}typeof zr.yy.parseError=="function"?this.parseError=zr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var An,Lr,ui,Fr,xn,In,bn,Xn,Bt,Nn={};;){if(ui=rr[rr.length-1],this.defaultActions[ui]?Fr=this.defaultActions[ui]:(An==null&&(An=Mn()),Fr=vn[ui]&&vn[ui][An]),Fr===void 0||!Fr.length||!Fr[0]){var On="";for(In in Bt=[],vn[ui])this.terminals_[In]&&In>Dr&&Bt.push("'"+this.terminals_[In]+"'");On=Nr.showPosition?"Parse error on line "+(qr+1)+`: +`+Nr.showPosition()+` +Expecting `+Bt.join(", ")+", got '"+(this.terminals_[An]||An)+"'":"Parse error on line "+(qr+1)+": Unexpected "+(An==Vr?"end of input":"'"+(this.terminals_[An]||An)+"'"),this.parseError(On,{text:Nr.match,token:this.terminals_[An]||An,line:Nr.yylineno,loc:$r,expected:Bt})}if(Fr[0]instanceof Array&&Fr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ui+", token: "+An);switch(Fr[0]){case 1:rr.push(An),Ar.push(Nr.yytext),Rt.push(Nr.yylloc),rr.push(Fr[1]),An=null,Lr?(An=Lr,Lr=null):(Yr=Nr.yyleng,Gt=Nr.yytext,qr=Nr.yylineno,$r=Nr.yylloc,Gr>0);break;case 2:if(bn=this.productions_[Fr[1]][1],Nn.$=Ar[Ar.length-bn],Nn._$={first_line:Rt[Rt.length-(bn||1)].first_line,last_line:Rt[Rt.length-1].last_line,first_column:Rt[Rt.length-(bn||1)].first_column,last_column:Rt[Rt.length-1].last_column},ga&&(Nn._$.range=[Rt[Rt.length-(bn||1)].range[0],Rt[Rt.length-1].range[1]]),(xn=this.performAction.apply(Nn,[Gt,Yr,qr,zr.yy,Fr[1],Ar,Rt].concat(Ur)))!==void 0)return xn;bn&&(rr=rr.slice(0,-1*bn*2),Ar=Ar.slice(0,-1*bn),Rt=Rt.slice(0,-1*bn)),rr.push(this.productions_[Fr[1]][0]),Ar.push(Nn.$),Rt.push(Nn._$),Xn=vn[rr[rr.length-2]][rr[rr.length-1]],rr.push(Xn);break;case 3:return!0}}return!0}},Ir={EOF:1,parseError:function(Ne,Qe){if(!this.yy.parser)throw new Error(Ne);this.yy.parser.parseError(Ne,Qe)},setInput:function(Ne,Qe){return this.yy=Qe||this.yy||{},this._input=Ne,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ne=this._input[0];return this.yytext+=Ne,this.yyleng++,this.offset++,this.match+=Ne,this.matched+=Ne,Ne.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ne},unput:function(Ne){var Qe=Ne.length,rr=Ne.split(/(?:\r\n?|\n)/g);this._input=Ne+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Qe),this.offset-=Qe;var Se=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),rr.length-1&&(this.yylineno-=rr.length-1);var Ar=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:rr?(rr.length===Se.length?this.yylloc.first_column:0)+Se[Se.length-rr.length].length-rr[0].length:this.yylloc.first_column-Qe},this.options.ranges&&(this.yylloc.range=[Ar[0],Ar[0]+this.yyleng-Qe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Ne){this.unput(this.match.slice(Ne))},pastInput:function(){var Ne=this.matched.substr(0,this.matched.length-this.match.length);return(Ne.length>20?"...":"")+Ne.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ne=this.match;return Ne.length<20&&(Ne+=this._input.substr(0,20-Ne.length)),(Ne.substr(0,20)+(Ne.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ne=this.pastInput(),Qe=new Array(Ne.length+1).join("-");return Ne+this.upcomingInput()+` +`+Qe+"^"},test_match:function(Ne,Qe){var rr,Se,Ar;if(this.options.backtrack_lexer&&(Ar={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ar.yylloc.range=this.yylloc.range.slice(0))),(Se=Ne[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Se?Se[Se.length-1].length-Se[Se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ne[0].length},this.yytext+=Ne[0],this.match+=Ne[0],this.matches=Ne,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ne[0].length),this.matched+=Ne[0],rr=this.performAction.call(this,this.yy,this,Qe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),rr)return rr;if(this._backtrack){for(var Rt in Ar)this[Rt]=Ar[Rt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Ne,Qe,rr,Se;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Ar=this._currentRules(),Rt=0;RtQe[0].length)){if(Qe=rr,Se=Rt,this.options.backtrack_lexer){if((Ne=this.test_match(rr,Ar[Rt]))!==!1)return Ne;if(this._backtrack){Qe=!1;continue}return!1}if(!this.options.flex)break}return Qe?(Ne=this.test_match(Qe,Ar[Se]))!==!1&&Ne:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ne){this.conditionStack.push(Ne)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ne){return(Ne=this.conditionStack.length-1-Math.abs(Ne||0))>=0?this.conditionStack[Ne]:"INITIAL"},pushState:function(Ne){this.begin(Ne)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Ne,Qe,rr,Se){switch(rr){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),console.log("begin person_ext"),55;case 28:return this.begin("person"),console.log("begin person"),54;case 29:return this.begin("system_ext_queue"),console.log("begin system_ext_queue"),61;case 30:return this.begin("system_ext_db"),console.log("begin system_ext_db"),60;case 31:return this.begin("system_ext"),console.log("begin system_ext"),59;case 32:return this.begin("system_queue"),console.log("begin system_queue"),58;case 33:return this.begin("system_db"),console.log("begin system_db"),57;case 34:return this.begin("system"),console.log("begin system"),56;case 35:return this.begin("boundary"),console.log("begin boundary"),47;case 36:return this.begin("enterprise_boundary"),console.log("begin enterprise_boundary"),44;case 37:return this.begin("system_boundary"),console.log("begin system_boundary"),46;case 38:return this.begin("container_ext_queue"),console.log("begin container_ext_queue"),67;case 39:return this.begin("container_ext_db"),console.log("begin container_ext_db"),66;case 40:return this.begin("container_ext"),console.log("begin container_ext"),65;case 41:return this.begin("container_queue"),console.log("begin container_queue"),64;case 42:return this.begin("container_db"),console.log("begin container_db"),63;case 43:return this.begin("container"),console.log("begin container"),62;case 44:return this.begin("container_boundary"),console.log("begin container_boundary"),48;case 45:return this.begin("component_ext_queue"),console.log("begin component_ext_queue"),73;case 46:return this.begin("component_ext_db"),console.log("begin component_ext_db"),72;case 47:return this.begin("component_ext"),console.log("begin component_ext"),71;case 48:return this.begin("component_queue"),console.log("begin component_queue"),70;case 49:return this.begin("component_db"),console.log("begin component_db"),69;case 50:return this.begin("component"),console.log("begin component"),68;case 51:case 52:return this.begin("node"),console.log("begin node"),49;case 53:return this.begin("node_l"),console.log("begin node_l"),50;case 54:return this.begin("node_r"),console.log("begin node_r"),51;case 55:return this.begin("rel"),console.log("begin rel"),74;case 56:return this.begin("birel"),console.log("begin birel"),75;case 57:case 58:return this.begin("rel_u"),console.log("begin rel_u"),76;case 59:case 60:return this.begin("rel_d"),console.log("begin rel_d"),77;case 61:case 62:return this.begin("rel_l"),console.log("begin rel_l"),78;case 63:case 64:return this.begin("rel_r"),console.log("begin rel_r"),79;case 65:return this.begin("rel_b"),console.log("begin rel_b"),80;case 66:return this.begin("rel_index"),console.log("begin rel_index"),81;case 67:return this.begin("update_el_style"),console.log("begin update_el_style"),82;case 68:return this.begin("update_rel_style"),console.log("begin update_rel_style"),83;case 69:return this.begin("update_layout_config"),console.log("begin update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return console.log("begin attribute with ATTRIBUTE_EMPTY"),this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:console.log("begin attribute"),this.begin("attribute");break;case 73:console.log("STOP attribute"),this.popState(),console.log("STOP diagram"),this.popState();break;case 74:return console.log(",,"),90;case 75:console.log(",");break;case 76:return console.log("ATTRIBUTE_EMPTY"),90;case 77:console.log("begin string"),this.begin("string");break;case 78:console.log("STOP string"),this.popState();break;case 79:return console.log("STR"),"STR";case 80:console.log("begin string_kv"),this.begin("string_kv");break;case 81:return console.log("STR_KEY"),this.begin("string_kv_key"),"STR_KEY";case 82:console.log("begin string_kv_value"),this.popState(),this.begin("string_kv_value");break;case 83:return console.log("STR_VALUE"),"STR_VALUE";case 84:console.log("STOP string_kv_value"),this.popState(),this.popState();break;case 85:return console.log("not STR"),"STR";case 86:return console.log("begin boundary block"),"LBRACE";case 87:return console.log("STOP boundary block"),"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function Br(){this.yy={}}return Jr.lexer=Ir,Br.prototype=Jr,Jr.Parser=Br,new Br}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(555).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},1362:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(Dt,he,re,At){for(re=re||{},At=Dt.length;At--;re[Dt[At]]=he);return re},v=[1,3],_=[1,7],S=[1,8],M=[1,9],E=[1,10],D=[1,13],B=[1,12],U=[1,16,25],H=[1,20],J=[1,31],rt=[1,32],dt=[1,33],K=[1,35],_t=[1,38],at=[1,36],ot=[1,37],bt=[1,39],Ut=[1,40],Tt=[1,41],mt=[1,42],Ct=[1,45],xt=[1,46],gt=[1,47],et=[1,48],ft=[16,25],q=[1,62],wt=[1,63],W=[1,64],St=[1,65],Lt=[1,66],Wt=[1,67],ye=[16,25,32,44,45,53,56,57,58,59,60,61,66,68],Ve=[16,25,30,32,44,45,49,53,56,57,58,59,60,61,66,68,83,84,85,86],ke=[5,8,9,10,11,16,19,23,25],fe=[53,83,84,85,86],xe=[53,60,61,83,84,85,86],Me=[53,56,57,58,59,83,84,85,86],Oe=[16,25,32],ve=[1,99],Sr={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,CLASS:43,STYLE_SEPARATOR:44,STRUCT_START:45,members:46,STRUCT_STOP:47,ANNOTATION_START:48,ANNOTATION_END:49,MEMBER:50,SEPARATOR:51,relation:52,STR:53,relationType:54,lineType:55,AGGREGATION:56,EXTENSION:57,COMPOSITION:58,DEPENDENCY:59,LINE:60,DOTTED_LINE:61,CALLBACK:62,LINK:63,LINK_TARGET:64,CLICK:65,CALLBACK_NAME:66,CALLBACK_ARGS:67,HREF:68,CSSCLASS:69,commentToken:70,textToken:71,graphCodeTokens:72,textNoTagsToken:73,TAGSTART:74,TAGEND:75,"==":76,"--":77,PCT:78,DEFAULT:79,SPACE:80,MINUS:81,keywords:82,UNICODE_TEXT:83,NUM:84,ALPHA:85,BQUOTE_STR:86,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"CLASS",44:"STYLE_SEPARATOR",45:"STRUCT_START",47:"STRUCT_STOP",48:"ANNOTATION_START",49:"ANNOTATION_END",50:"MEMBER",51:"SEPARATOR",53:"STR",56:"AGGREGATION",57:"EXTENSION",58:"COMPOSITION",59:"DEPENDENCY",60:"LINE",61:"DOTTED_LINE",62:"CALLBACK",63:"LINK",64:"LINK_TARGET",65:"CLICK",66:"CALLBACK_NAME",67:"CALLBACK_ARGS",68:"HREF",69:"CSSCLASS",72:"graphCodeTokens",74:"TAGSTART",75:"TAGEND",76:"==",77:"--",78:"PCT",79:"DEFAULT",80:"SPACE",81:"MINUS",82:"keywords",83:"UNICODE_TEXT",84:"NUM",85:"ALPHA",86:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[46,1],[46,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[52,3],[52,2],[52,2],[52,1],[54,1],[54,1],[54,1],[54,1],[55,1],[55,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[70,1],[70,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[73,1],[73,1],[73,1],[73,1],[28,1],[28,1],[28,1],[29,1]],performAction:function(Dt,he,re,At,Ee,Q,ce){var st=Q.length-1;switch(Ee){case 5:At.setDirection("TB");break;case 6:At.setDirection("BT");break;case 7:At.setDirection("RL");break;case 8:At.setDirection("LR");break;case 12:At.parseDirective("%%{","open_directive");break;case 13:At.parseDirective(Q[st],"type_directive");break;case 14:Q[st]=Q[st].trim().replace(/'/g,'"'),At.parseDirective(Q[st],"arg_directive");break;case 15:At.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=Q[st];break;case 22:this.$=Q[st-1]+Q[st];break;case 23:case 24:this.$=Q[st-1]+"~"+Q[st];break;case 25:At.addRelation(Q[st]);break;case 26:Q[st-1].title=At.cleanupLabel(Q[st]),At.addRelation(Q[st-1]);break;case 34:this.$=Q[st].trim(),At.setAccTitle(this.$);break;case 35:case 36:this.$=Q[st].trim(),At.setAccDescription(this.$);break;case 37:At.addClass(Q[st]);break;case 38:At.addClass(Q[st-2]),At.setCssClass(Q[st-2],Q[st]);break;case 39:At.addClass(Q[st-3]),At.addMembers(Q[st-3],Q[st-1]);break;case 40:At.addClass(Q[st-5]),At.setCssClass(Q[st-5],Q[st-3]),At.addMembers(Q[st-5],Q[st-1]);break;case 41:At.addAnnotation(Q[st],Q[st-2]);break;case 42:this.$=[Q[st]];break;case 43:Q[st].push(Q[st-1]),this.$=Q[st];break;case 44:case 46:case 47:break;case 45:At.addMember(Q[st-1],At.cleanupLabel(Q[st]));break;case 48:this.$={id1:Q[st-2],id2:Q[st],relation:Q[st-1],relationTitle1:"none",relationTitle2:"none"};break;case 49:this.$={id1:Q[st-3],id2:Q[st],relation:Q[st-1],relationTitle1:Q[st-2],relationTitle2:"none"};break;case 50:this.$={id1:Q[st-3],id2:Q[st],relation:Q[st-2],relationTitle1:"none",relationTitle2:Q[st-1]};break;case 51:this.$={id1:Q[st-4],id2:Q[st],relation:Q[st-2],relationTitle1:Q[st-3],relationTitle2:Q[st-1]};break;case 52:this.$={type1:Q[st-2],type2:Q[st],lineType:Q[st-1]};break;case 53:this.$={type1:"none",type2:Q[st],lineType:Q[st-1]};break;case 54:this.$={type1:Q[st-1],type2:"none",lineType:Q[st]};break;case 55:this.$={type1:"none",type2:"none",lineType:Q[st]};break;case 56:this.$=At.relationType.AGGREGATION;break;case 57:this.$=At.relationType.EXTENSION;break;case 58:this.$=At.relationType.COMPOSITION;break;case 59:this.$=At.relationType.DEPENDENCY;break;case 60:this.$=At.lineType.LINE;break;case 61:this.$=At.lineType.DOTTED_LINE;break;case 62:case 68:this.$=Q[st-2],At.setClickEvent(Q[st-1],Q[st]);break;case 63:case 69:this.$=Q[st-3],At.setClickEvent(Q[st-2],Q[st-1]),At.setTooltip(Q[st-2],Q[st]);break;case 64:case 72:this.$=Q[st-2],At.setLink(Q[st-1],Q[st]);break;case 65:case 73:this.$=Q[st-3],At.setLink(Q[st-2],Q[st-1],Q[st]);break;case 66:case 74:this.$=Q[st-3],At.setLink(Q[st-2],Q[st-1]),At.setTooltip(Q[st-2],Q[st]);break;case 67:case 75:this.$=Q[st-4],At.setLink(Q[st-3],Q[st-2],Q[st]),At.setTooltip(Q[st-3],Q[st-1]);break;case 70:this.$=Q[st-3],At.setClickEvent(Q[st-2],Q[st-1],Q[st]);break;case 71:this.$=Q[st-4],At.setClickEvent(Q[st-3],Q[st-2],Q[st-1]),At.setTooltip(Q[st-3],Q[st]);break;case 76:At.setCssClass(Q[st-1],Q[st])}},table:[{3:1,4:2,5:v,6:4,7:5,8:_,9:S,10:M,11:E,12:6,13:11,19:D,23:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:v,6:4,7:5,8:_,9:S,10:M,11:E,12:6,13:11,19:D,23:B},{1:[2,9]},f(U,[2,5]),f(U,[2,6]),f(U,[2,7]),f(U,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:H},f([17,22],[2,13]),{6:30,7:29,8:_,9:S,10:M,11:E,13:11,19:D,24:21,26:22,27:34,28:43,29:44,31:23,33:24,34:25,35:26,36:27,37:28,38:J,40:rt,42:dt,43:K,48:_t,50:at,51:ot,62:bt,63:Ut,65:Tt,69:mt,83:Ct,84:xt,85:gt,86:et},{16:[1,49]},{18:50,21:[1,51]},{16:[2,15]},{25:[1,52]},{16:[1,53],25:[2,17]},f(ft,[2,25],{32:[1,54]}),f(ft,[2,27]),f(ft,[2,28]),f(ft,[2,29]),f(ft,[2,30]),f(ft,[2,31]),f(ft,[2,32]),f(ft,[2,33]),{39:[1,55]},{41:[1,56]},f(ft,[2,36]),f(ft,[2,44],{52:57,54:60,55:61,32:[1,59],53:[1,58],56:q,57:wt,58:W,59:St,60:Lt,61:Wt}),{27:68,28:43,29:44,83:Ct,84:xt,85:gt,86:et},f(ft,[2,46]),f(ft,[2,47]),{28:69,83:Ct,84:xt,85:gt},{27:70,28:43,29:44,83:Ct,84:xt,85:gt,86:et},{27:71,28:43,29:44,83:Ct,84:xt,85:gt,86:et},{27:72,28:43,29:44,83:Ct,84:xt,85:gt,86:et},{53:[1,73]},f(ye,[2,20],{28:43,29:44,27:74,30:[1,75],83:Ct,84:xt,85:gt,86:et}),f(ye,[2,21],{30:[1,76]}),f(Ve,[2,90]),f(Ve,[2,91]),f(Ve,[2,92]),f([16,25,30,32,44,45,53,56,57,58,59,60,61,66,68],[2,93]),f(ke,[2,10]),{15:77,22:H},{22:[2,14]},{1:[2,16]},{6:30,7:29,8:_,9:S,10:M,11:E,13:11,19:D,24:78,25:[2,18],26:22,27:34,28:43,29:44,31:23,33:24,34:25,35:26,36:27,37:28,38:J,40:rt,42:dt,43:K,48:_t,50:at,51:ot,62:bt,63:Ut,65:Tt,69:mt,83:Ct,84:xt,85:gt,86:et},f(ft,[2,26]),f(ft,[2,34]),f(ft,[2,35]),{27:79,28:43,29:44,53:[1,80],83:Ct,84:xt,85:gt,86:et},{52:81,54:60,55:61,56:q,57:wt,58:W,59:St,60:Lt,61:Wt},f(ft,[2,45]),{55:82,60:Lt,61:Wt},f(fe,[2,55],{54:83,56:q,57:wt,58:W,59:St}),f(xe,[2,56]),f(xe,[2,57]),f(xe,[2,58]),f(xe,[2,59]),f(Me,[2,60]),f(Me,[2,61]),f(ft,[2,37],{44:[1,84],45:[1,85]}),{49:[1,86]},{53:[1,87]},{53:[1,88]},{66:[1,89],68:[1,90]},{28:91,83:Ct,84:xt,85:gt},f(ye,[2,22]),f(ye,[2,23]),f(ye,[2,24]),{16:[1,92]},{25:[2,19]},f(Oe,[2,48]),{27:93,28:43,29:44,83:Ct,84:xt,85:gt,86:et},{27:94,28:43,29:44,53:[1,95],83:Ct,84:xt,85:gt,86:et},f(fe,[2,54],{54:96,56:q,57:wt,58:W,59:St}),f(fe,[2,53]),{28:97,83:Ct,84:xt,85:gt},{46:98,50:ve},{27:100,28:43,29:44,83:Ct,84:xt,85:gt,86:et},f(ft,[2,62],{53:[1,101]}),f(ft,[2,64],{53:[1,103],64:[1,102]}),f(ft,[2,68],{53:[1,104],67:[1,105]}),f(ft,[2,72],{53:[1,107],64:[1,106]}),f(ft,[2,76]),f(ke,[2,11]),f(Oe,[2,50]),f(Oe,[2,49]),{27:108,28:43,29:44,83:Ct,84:xt,85:gt,86:et},f(fe,[2,52]),f(ft,[2,38],{45:[1,109]}),{47:[1,110]},{46:111,47:[2,42],50:ve},f(ft,[2,41]),f(ft,[2,63]),f(ft,[2,65]),f(ft,[2,66],{64:[1,112]}),f(ft,[2,69]),f(ft,[2,70],{53:[1,113]}),f(ft,[2,73]),f(ft,[2,74],{64:[1,114]}),f(Oe,[2,51]),{46:115,50:ve},f(ft,[2,39]),{47:[2,43]},f(ft,[2,67]),f(ft,[2,71]),f(ft,[2,75]),{47:[1,116]},f(ft,[2,40])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],51:[2,14],52:[2,16],78:[2,19],111:[2,43]},parseError:function(Dt,he){if(!he.recoverable){var re=new Error(Dt);throw re.hash=he,re}this.trace(Dt)},parse:function(Dt){var he=this,re=[0],At=[],Ee=[null],Q=[],ce=this.table,st="",Te=0,ge=0,Pe=0,ar=2,Ze=1,lr=Q.slice.call(arguments,1),Ie=Object.create(this.lexer),Re={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(Re.yy[Ue]=this.yy[Ue]);Ie.setInput(Dt,Re.yy),Re.yy.lexer=Ie,Re.yy.parser=this,Ie.yylloc===void 0&&(Ie.yylloc={});var Fe=Ie.yylloc;Q.push(Fe);var be=Ie.options&&Ie.options.ranges;function ae(){var Se;return typeof(Se=At.pop()||Ie.lex()||Ze)!="number"&&(Se instanceof Array&&(Se=(At=Se).pop()),Se=he.symbols_[Se]||Se),Se}typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var br,qe,sr,$e,Er,Jr,Ir,Br,Ne,Qe={};;){if(sr=re[re.length-1],this.defaultActions[sr]?$e=this.defaultActions[sr]:(br==null&&(br=ae()),$e=ce[sr]&&ce[sr][br]),$e===void 0||!$e.length||!$e[0]){var rr="";for(Jr in Ne=[],ce[sr])this.terminals_[Jr]&&Jr>ar&&Ne.push("'"+this.terminals_[Jr]+"'");rr=Ie.showPosition?"Parse error on line "+(Te+1)+`: +`+Ie.showPosition()+` +Expecting `+Ne.join(", ")+", got '"+(this.terminals_[br]||br)+"'":"Parse error on line "+(Te+1)+": Unexpected "+(br==Ze?"end of input":"'"+(this.terminals_[br]||br)+"'"),this.parseError(rr,{text:Ie.match,token:this.terminals_[br]||br,line:Ie.yylineno,loc:Fe,expected:Ne})}if($e[0]instanceof Array&&$e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+sr+", token: "+br);switch($e[0]){case 1:re.push(br),Ee.push(Ie.yytext),Q.push(Ie.yylloc),re.push($e[1]),br=null,qe?(br=qe,qe=null):(ge=Ie.yyleng,st=Ie.yytext,Te=Ie.yylineno,Fe=Ie.yylloc,Pe>0);break;case 2:if(Ir=this.productions_[$e[1]][1],Qe.$=Ee[Ee.length-Ir],Qe._$={first_line:Q[Q.length-(Ir||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(Ir||1)].first_column,last_column:Q[Q.length-1].last_column},be&&(Qe._$.range=[Q[Q.length-(Ir||1)].range[0],Q[Q.length-1].range[1]]),(Er=this.performAction.apply(Qe,[st,ge,Te,Re.yy,$e[1],Ee,Q].concat(lr)))!==void 0)return Er;Ir&&(re=re.slice(0,-1*Ir*2),Ee=Ee.slice(0,-1*Ir),Q=Q.slice(0,-1*Ir)),re.push(this.productions_[$e[1]][0]),Ee.push(Qe.$),Q.push(Qe._$),Br=ce[re[re.length-2]][re[re.length-1]],re.push(Br);break;case 3:return!0}}return!0}},_e={EOF:1,parseError:function(Dt,he){if(!this.yy.parser)throw new Error(Dt);this.yy.parser.parseError(Dt,he)},setInput:function(Dt,he){return this.yy=he||this.yy||{},this._input=Dt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Dt=this._input[0];return this.yytext+=Dt,this.yyleng++,this.offset++,this.match+=Dt,this.matched+=Dt,Dt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Dt},unput:function(Dt){var he=Dt.length,re=Dt.split(/(?:\r\n?|\n)/g);this._input=Dt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-he),this.offset-=he;var At=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),re.length-1&&(this.yylineno-=re.length-1);var Ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:re?(re.length===At.length?this.yylloc.first_column:0)+At[At.length-re.length].length-re[0].length:this.yylloc.first_column-he},this.options.ranges&&(this.yylloc.range=[Ee[0],Ee[0]+this.yyleng-he]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Dt){this.unput(this.match.slice(Dt))},pastInput:function(){var Dt=this.matched.substr(0,this.matched.length-this.match.length);return(Dt.length>20?"...":"")+Dt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Dt=this.match;return Dt.length<20&&(Dt+=this._input.substr(0,20-Dt.length)),(Dt.substr(0,20)+(Dt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Dt=this.pastInput(),he=new Array(Dt.length+1).join("-");return Dt+this.upcomingInput()+` +`+he+"^"},test_match:function(Dt,he){var re,At,Ee;if(this.options.backtrack_lexer&&(Ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ee.yylloc.range=this.yylloc.range.slice(0))),(At=Dt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=At.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:At?At[At.length-1].length-At[At.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Dt[0].length},this.yytext+=Dt[0],this.match+=Dt[0],this.matches=Dt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Dt[0].length),this.matched+=Dt[0],re=this.performAction.call(this,this.yy,this,he,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),re)return re;if(this._backtrack){for(var Q in Ee)this[Q]=Ee[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;var Dt,he,re,At;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Ee=this._currentRules(),Q=0;Qhe[0].length)){if(he=re,At=Q,this.options.backtrack_lexer){if((Dt=this.test_match(re,Ee[Q]))!==!1)return Dt;if(this._backtrack){he=!1;continue}return!1}if(!this.options.flex)break}return he?(Dt=this.test_match(he,Ee[At]))!==!1&&Dt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Dt){this.conditionStack.push(Dt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Dt){return(Dt=this.conditionStack.length-1-Math.abs(Dt||0))>=0?this.conditionStack[Dt]:"INITIAL"},pushState:function(Dt){this.begin(Dt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Dt,he,re,At){switch(re){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 26:break;case 11:return this.begin("acc_title"),38;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),40;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 36:case 39:case 42:case 45:case 48:case 51:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),45;case 23:return"EOF_IN_STRUCT";case 24:return"OPEN_IN_STRUCT";case 25:return this.popState(),47;case 27:return"MEMBER";case 28:return 43;case 29:return 69;case 30:return 62;case 31:return 63;case 32:return 65;case 33:return 48;case 34:return 49;case 35:this.begin("generic");break;case 37:return"GENERICTYPE";case 38:this.begin("string");break;case 40:return"STR";case 41:this.begin("bqstring");break;case 43:return"BQUOTE_STR";case 44:this.begin("href");break;case 46:return 68;case 47:this.begin("callback_name");break;case 49:this.popState(),this.begin("callback_args");break;case 50:return 66;case 52:return 67;case 53:case 54:case 55:case 56:return 64;case 57:case 58:return 57;case 59:case 60:return 59;case 61:return 58;case 62:return 56;case 63:return 60;case 64:return 61;case 65:return 32;case 66:return 44;case 67:return 81;case 68:return"DOT";case 69:return"PLUS";case 70:return 78;case 71:case 72:return"EQUALS";case 73:return 85;case 74:return"PUNCTUATION";case 75:return 84;case 76:return 83;case 77:return 80;case 78:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[51,52],inclusive:!1},callback_name:{rules:[48,49,50],inclusive:!1},href:{rules:[45,46],inclusive:!1},struct:{rules:[23,24,25,26,27],inclusive:!1},generic:{rules:[36,37],inclusive:!1},bqstring:{rules:[42,43],inclusive:!1},string:{rules:[39,40],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,28,29,30,31,32,33,34,35,38,41,44,47,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78],inclusive:!0}}};function Je(){this.yy={}}return Sr.lexer=_e,Je.prototype=Sr,Sr.Parser=Je,new Je}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(8218).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},5890:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(et,ft,q,wt){for(q=q||{},wt=et.length;wt--;q[et[wt]]=ft);return q},v=[1,2],_=[1,5],S=[6,9,11,23,25,27,29,30,49],M=[1,17],E=[1,18],D=[1,19],B=[1,20],U=[1,21],H=[1,24],J=[1,29],rt=[1,30],dt=[1,31],K=[1,32],_t=[6,9,11,15,20,23,25,27,29,30,42,43,44,45,49],at=[1,45],ot=[30,46,47],bt=[4,6,9,11,23,25,27,29,30,49],Ut=[42,43,44,45],Tt=[22,37],mt=[1,64],Ct={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,".":31,attribute:32,attributeType:33,attributeName:34,attributeKeyType:35,attributeComment:36,ATTRIBUTE_WORD:37,ATTRIBUTE_KEY:38,COMMENT:39,cardinality:40,relType:41,ZERO_OR_ONE:42,ZERO_OR_MORE:43,ONE_OR_MORE:44,ONLY_ONE:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,open_directive:49,type_directive:50,arg_directive:51,close_directive:52,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:".",37:"ATTRIBUTE_WORD",38:"ATTRIBUTE_KEY",39:"COMMENT",42:"ZERO_OR_ONE",43:"ZERO_OR_MORE",44:"ONE_OR_MORE",45:"ONLY_ONE",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD",49:"open_directive",50:"type_directive",51:"arg_directive",52:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,3],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[36,1],[18,3],[40,1],[40,1],[40,1],[40,1],[41,1],[41,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(et,ft,q,wt,W,St,Lt){var Wt=St.length-1;switch(W){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:St[Wt-1].push(St[Wt]),this.$=St[Wt-1];break;case 5:case 6:case 20:case 28:case 29:case 30:case 40:this.$=St[Wt];break;case 12:wt.addEntity(St[Wt-4]),wt.addEntity(St[Wt-2]),wt.addRelationship(St[Wt-4],St[Wt],St[Wt-2],St[Wt-3]);break;case 13:wt.addEntity(St[Wt-3]),wt.addAttributes(St[Wt-3],St[Wt-1]);break;case 14:wt.addEntity(St[Wt-2]);break;case 15:wt.addEntity(St[Wt]);break;case 16:case 17:this.$=St[Wt].trim(),wt.setAccTitle(this.$);break;case 18:case 19:this.$=St[Wt].trim(),wt.setAccDescription(this.$);break;case 21:this.$=St[Wt-2]+St[Wt-1]+St[Wt];break;case 22:this.$=[St[Wt]];break;case 23:St[Wt].push(St[Wt-1]),this.$=St[Wt];break;case 24:this.$={attributeType:St[Wt-1],attributeName:St[Wt]};break;case 25:this.$={attributeType:St[Wt-2],attributeName:St[Wt-1],attributeKeyType:St[Wt]};break;case 26:this.$={attributeType:St[Wt-2],attributeName:St[Wt-1],attributeComment:St[Wt]};break;case 27:this.$={attributeType:St[Wt-3],attributeName:St[Wt-2],attributeKeyType:St[Wt-1],attributeComment:St[Wt]};break;case 31:case 39:this.$=St[Wt].replace(/"/g,"");break;case 32:this.$={cardA:St[Wt],relType:St[Wt-1],cardB:St[Wt-2]};break;case 33:this.$=wt.Cardinality.ZERO_OR_ONE;break;case 34:this.$=wt.Cardinality.ZERO_OR_MORE;break;case 35:this.$=wt.Cardinality.ONE_OR_MORE;break;case 36:this.$=wt.Cardinality.ONLY_ONE;break;case 37:this.$=wt.Identification.NON_IDENTIFYING;break;case 38:this.$=wt.Identification.IDENTIFYING;break;case 41:wt.parseDirective("%%{","open_directive");break;case 42:wt.parseDirective(St[Wt],"type_directive");break;case 43:St[Wt]=St[Wt].trim().replace(/'/g,'"'),wt.parseDirective(St[Wt],"arg_directive");break;case 44:wt.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:v,7:3,12:4,49:_},{1:[3]},f(S,[2,3],{5:6}),{3:7,4:v,7:3,12:4,49:_},{13:8,50:[1,9]},{50:[2,41]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:M,25:E,27:D,29:B,30:U,49:_},{1:[2,2]},{14:22,15:[1,23],52:H},f([15,52],[2,42]),f(S,[2,8],{1:[2,1]}),f(S,[2,4]),{7:15,10:25,12:4,17:16,23:M,25:E,27:D,29:B,30:U,49:_},f(S,[2,6]),f(S,[2,7]),f(S,[2,11]),f(S,[2,15],{18:26,40:28,20:[1,27],42:J,43:rt,44:dt,45:K}),{24:[1,33]},{26:[1,34]},{28:[1,35]},f(S,[2,19]),f(_t,[2,20],{31:[1,36]}),{11:[1,37]},{16:38,51:[1,39]},{11:[2,44]},f(S,[2,5]),{17:40,30:U},{21:41,22:[1,42],32:43,33:44,37:at},{41:46,46:[1,47],47:[1,48]},f(ot,[2,33]),f(ot,[2,34]),f(ot,[2,35]),f(ot,[2,36]),f(S,[2,16]),f(S,[2,17]),f(S,[2,18]),{17:49,30:U},f(bt,[2,9]),{14:50,52:H},{52:[2,43]},{15:[1,51]},{22:[1,52]},f(S,[2,14]),{21:53,22:[2,22],32:43,33:44,37:at},{34:54,37:[1,55]},{37:[2,28]},{40:56,42:J,43:rt,44:dt,45:K},f(Ut,[2,37]),f(Ut,[2,38]),f(_t,[2,21]),{11:[1,57]},{19:58,30:[1,60],48:[1,59]},f(S,[2,13]),{22:[2,23]},f(Tt,[2,24],{35:61,36:62,38:[1,63],39:mt}),f([22,37,38,39],[2,29]),{30:[2,32]},f(bt,[2,10]),f(S,[2,12]),f(S,[2,39]),f(S,[2,40]),f(Tt,[2,25],{36:65,39:mt}),f(Tt,[2,26]),f([22,37,39],[2,30]),f(Tt,[2,31]),f(Tt,[2,27])],defaultActions:{5:[2,41],7:[2,2],24:[2,44],39:[2,43],45:[2,28],53:[2,23],56:[2,32]},parseError:function(et,ft){if(!ft.recoverable){var q=new Error(et);throw q.hash=ft,q}this.trace(et)},parse:function(et){var ft=this,q=[0],wt=[],W=[null],St=[],Lt=this.table,Wt="",ye=0,Ve=0,ke=0,fe=2,xe=1,Me=St.slice.call(arguments,1),Oe=Object.create(this.lexer),ve={yy:{}};for(var Sr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Sr)&&(ve.yy[Sr]=this.yy[Sr]);Oe.setInput(et,ve.yy),ve.yy.lexer=Oe,ve.yy.parser=this,Oe.yylloc===void 0&&(Oe.yylloc={});var _e=Oe.yylloc;St.push(_e);var Je=Oe.options&&Oe.options.ranges;function Dt(){var Ze;return typeof(Ze=wt.pop()||Oe.lex()||xe)!="number"&&(Ze instanceof Array&&(Ze=(wt=Ze).pop()),Ze=ft.symbols_[Ze]||Ze),Ze}typeof ve.yy.parseError=="function"?this.parseError=ve.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var he,re,At,Ee,Q,ce,st,Te,ge,Pe={};;){if(At=q[q.length-1],this.defaultActions[At]?Ee=this.defaultActions[At]:(he==null&&(he=Dt()),Ee=Lt[At]&&Lt[At][he]),Ee===void 0||!Ee.length||!Ee[0]){var ar="";for(ce in ge=[],Lt[At])this.terminals_[ce]&&ce>fe&&ge.push("'"+this.terminals_[ce]+"'");ar=Oe.showPosition?"Parse error on line "+(ye+1)+`: +`+Oe.showPosition()+` +Expecting `+ge.join(", ")+", got '"+(this.terminals_[he]||he)+"'":"Parse error on line "+(ye+1)+": Unexpected "+(he==xe?"end of input":"'"+(this.terminals_[he]||he)+"'"),this.parseError(ar,{text:Oe.match,token:this.terminals_[he]||he,line:Oe.yylineno,loc:_e,expected:ge})}if(Ee[0]instanceof Array&&Ee.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+he);switch(Ee[0]){case 1:q.push(he),W.push(Oe.yytext),St.push(Oe.yylloc),q.push(Ee[1]),he=null,re?(he=re,re=null):(Ve=Oe.yyleng,Wt=Oe.yytext,ye=Oe.yylineno,_e=Oe.yylloc,ke>0);break;case 2:if(st=this.productions_[Ee[1]][1],Pe.$=W[W.length-st],Pe._$={first_line:St[St.length-(st||1)].first_line,last_line:St[St.length-1].last_line,first_column:St[St.length-(st||1)].first_column,last_column:St[St.length-1].last_column},Je&&(Pe._$.range=[St[St.length-(st||1)].range[0],St[St.length-1].range[1]]),(Q=this.performAction.apply(Pe,[Wt,Ve,ye,ve.yy,Ee[1],W,St].concat(Me)))!==void 0)return Q;st&&(q=q.slice(0,-1*st*2),W=W.slice(0,-1*st),St=St.slice(0,-1*st)),q.push(this.productions_[Ee[1]][0]),W.push(Pe.$),St.push(Pe._$),Te=Lt[q[q.length-2]][q[q.length-1]],q.push(Te);break;case 3:return!0}}return!0}},xt={EOF:1,parseError:function(et,ft){if(!this.yy.parser)throw new Error(et);this.yy.parser.parseError(et,ft)},setInput:function(et,ft){return this.yy=ft||this.yy||{},this._input=et,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var et=this._input[0];return this.yytext+=et,this.yyleng++,this.offset++,this.match+=et,this.matched+=et,et.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),et},unput:function(et){var ft=et.length,q=et.split(/(?:\r\n?|\n)/g);this._input=et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ft),this.offset-=ft;var wt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),q.length-1&&(this.yylineno-=q.length-1);var W=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:q?(q.length===wt.length?this.yylloc.first_column:0)+wt[wt.length-q.length].length-q[0].length:this.yylloc.first_column-ft},this.options.ranges&&(this.yylloc.range=[W[0],W[0]+this.yyleng-ft]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(et){this.unput(this.match.slice(et))},pastInput:function(){var et=this.matched.substr(0,this.matched.length-this.match.length);return(et.length>20?"...":"")+et.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var et=this.match;return et.length<20&&(et+=this._input.substr(0,20-et.length)),(et.substr(0,20)+(et.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var et=this.pastInput(),ft=new Array(et.length+1).join("-");return et+this.upcomingInput()+` +`+ft+"^"},test_match:function(et,ft){var q,wt,W;if(this.options.backtrack_lexer&&(W={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(W.yylloc.range=this.yylloc.range.slice(0))),(wt=et[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=wt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:wt?wt[wt.length-1].length-wt[wt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+et[0].length},this.yytext+=et[0],this.match+=et[0],this.matches=et,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(et[0].length),this.matched+=et[0],q=this.performAction.call(this,this.yy,this,ft,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),q)return q;if(this._backtrack){for(var St in W)this[St]=W[St];return!1}return!1},next:function(){if(this.done)return this.EOF;var et,ft,q,wt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var W=this._currentRules(),St=0;Stft[0].length)){if(ft=q,wt=St,this.options.backtrack_lexer){if((et=this.test_match(q,W[St]))!==!1)return et;if(this._backtrack){ft=!1;continue}return!1}if(!this.options.flex)break}return ft?(et=this.test_match(ft,W[wt]))!==!1&&et:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(et){this.conditionStack.push(et)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(et){return(et=this.conditionStack.length-1-Math.abs(et||0))>=0?this.conditionStack[et]:"INITIAL"},pushState:function(et){this.begin(et)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(et,ft,q,wt){switch(q){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),49;case 8:return this.begin("type_directive"),50;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),52;case 11:return 51;case 12:case 13:case 15:case 20:case 24:break;case 14:return 11;case 16:return 9;case 17:return 48;case 18:return 4;case 19:return this.begin("block"),20;case 21:return 38;case 22:return 37;case 23:return 39;case 25:return this.popState(),22;case 26:case 39:return ft.yytext[0];case 27:case 31:return 42;case 28:case 32:return 43;case 29:case 33:return 44;case 30:return 45;case 34:case 36:case 37:return 46;case 35:return 47;case 38:return 30;case 40:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK))\b)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[20,21,22,23,24,25,26],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,27,28,29,30,31,32,33,34,35,36,37,38,39,40],inclusive:!0}}};function gt(){this.yy={}}return Ct.lexer=xt,gt.prototype=Ct,Ct.Parser=gt,new gt}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(8009).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},3602:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(dr,yr,Xr,nr){for(Xr=Xr||{},nr=dr.length;nr--;Xr[dr[nr]]=yr);return Xr},v=[1,9],_=[1,7],S=[1,6],M=[1,8],E=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],D=[2,10],B=[1,20],U=[1,21],H=[1,22],J=[1,23],rt=[1,30],dt=[1,32],K=[1,33],_t=[1,34],at=[1,62],ot=[1,48],bt=[1,52],Ut=[1,36],Tt=[1,37],mt=[1,38],Ct=[1,39],xt=[1,40],gt=[1,56],et=[1,63],ft=[1,51],q=[1,53],wt=[1,55],W=[1,59],St=[1,60],Lt=[1,41],Wt=[1,42],ye=[1,43],Ve=[1,44],ke=[1,61],fe=[1,50],xe=[1,54],Me=[1,57],Oe=[1,58],ve=[1,49],Sr=[1,66],_e=[1,71],Je=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Dt=[1,75],he=[1,74],re=[1,76],At=[20,21,23,81,82],Ee=[1,99],Q=[1,104],ce=[1,107],st=[1,108],Te=[1,101],ge=[1,106],Pe=[1,109],ar=[1,102],Ze=[1,114],lr=[1,113],Ie=[1,103],Re=[1,105],Ue=[1,110],Fe=[1,111],be=[1,112],ae=[1,115],br=[20,21,22,23,81,82],qe=[20,21,22,23,53,81,82],sr=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],$e=[20,21,23],Er=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Jr=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Ir=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],Br=[1,149],Ne=[1,157],Qe=[1,158],rr=[1,159],Se=[1,160],Ar=[1,144],Rt=[1,145],vn=[1,141],Gt=[1,152],qr=[1,153],Yr=[1,154],Gr=[1,155],Dr=[1,156],Vr=[1,161],Ur=[1,162],Nr=[1,147],zr=[1,150],jr=[1,146],$r=[1,143],ga=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Mn=[1,165],An=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],Lr=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],ui=[12,21,22,24],Fr=[22,106],xn=[1,250],In=[1,245],bn=[1,246],Xn=[1,254],Bt=[1,251],Nn=[1,248],On=[1,247],Zr=[1,249],ei=[1,252],Hn=[1,253],Bn=[1,255],ri=[1,273],Ca=[20,21,23,106],dn=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],Si={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(dr,yr,Xr,nr,ln,Zt,zn){var te=Zt.length-1;switch(ln){case 5:nr.parseDirective("%%{","open_directive");break;case 6:nr.parseDirective(Zt[te],"type_directive");break;case 7:Zt[te]=Zt[te].trim().replace(/'/g,'"'),nr.parseDirective(Zt[te],"arg_directive");break;case 8:nr.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:Zt[te]!==[]&&Zt[te-1].push(Zt[te]),this.$=Zt[te-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=Zt[te];break;case 19:nr.setDirection("TB"),this.$="TB";break;case 20:nr.setDirection(Zt[te-1]),this.$=Zt[te-1];break;case 35:this.$=Zt[te-1].nodes;break;case 41:this.$=nr.addSubGraph(Zt[te-6],Zt[te-1],Zt[te-4]);break;case 42:this.$=nr.addSubGraph(Zt[te-3],Zt[te-1],Zt[te-3]);break;case 43:this.$=nr.addSubGraph(void 0,Zt[te-1],void 0);break;case 45:this.$=Zt[te].trim(),nr.setAccTitle(this.$);break;case 46:case 47:this.$=Zt[te].trim(),nr.setAccDescription(this.$);break;case 51:nr.addLink(Zt[te-2].stmt,Zt[te],Zt[te-1]),this.$={stmt:Zt[te],nodes:Zt[te].concat(Zt[te-2].nodes)};break;case 52:nr.addLink(Zt[te-3].stmt,Zt[te-1],Zt[te-2]),this.$={stmt:Zt[te-1],nodes:Zt[te-1].concat(Zt[te-3].nodes)};break;case 53:this.$={stmt:Zt[te-1],nodes:Zt[te-1]};break;case 54:this.$={stmt:Zt[te],nodes:Zt[te]};break;case 55:case 123:case 125:this.$=[Zt[te]];break;case 56:this.$=Zt[te-4].concat(Zt[te]);break;case 57:this.$=[Zt[te-2]],nr.setClass(Zt[te-2],Zt[te]);break;case 58:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"square");break;case 59:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"doublecircle");break;case 60:this.$=Zt[te-5],nr.addVertex(Zt[te-5],Zt[te-2],"circle");break;case 61:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"ellipse");break;case 62:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"stadium");break;case 63:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"subroutine");break;case 64:this.$=Zt[te-7],nr.addVertex(Zt[te-7],Zt[te-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Zt[te-5],Zt[te-3]]]));break;case 65:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"cylinder");break;case 66:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"round");break;case 67:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"diamond");break;case 68:this.$=Zt[te-5],nr.addVertex(Zt[te-5],Zt[te-2],"hexagon");break;case 69:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"odd");break;case 70:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"trapezoid");break;case 71:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"inv_trapezoid");break;case 72:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"lean_right");break;case 73:this.$=Zt[te-3],nr.addVertex(Zt[te-3],Zt[te-1],"lean_left");break;case 74:this.$=Zt[te],nr.addVertex(Zt[te]);break;case 75:Zt[te-1].text=Zt[te],this.$=Zt[te-1];break;case 76:case 77:Zt[te-2].text=Zt[te-1],this.$=Zt[te-2];break;case 79:var wn=nr.destructLink(Zt[te],Zt[te-2]);this.$={type:wn.type,stroke:wn.stroke,length:wn.length,text:Zt[te-1]};break;case 80:wn=nr.destructLink(Zt[te]),this.$={type:wn.type,stroke:wn.stroke,length:wn.length};break;case 81:this.$=Zt[te-1];break;case 83:case 97:case 153:case 151:this.$=Zt[te-1]+""+Zt[te];break;case 98:case 99:this.$=Zt[te-4],nr.addClass(Zt[te-2],Zt[te]);break;case 100:this.$=Zt[te-4],nr.setClass(Zt[te-2],Zt[te]);break;case 101:case 109:this.$=Zt[te-1],nr.setClickEvent(Zt[te-1],Zt[te]);break;case 102:case 110:this.$=Zt[te-3],nr.setClickEvent(Zt[te-3],Zt[te-2]),nr.setTooltip(Zt[te-3],Zt[te]);break;case 103:this.$=Zt[te-2],nr.setClickEvent(Zt[te-2],Zt[te-1],Zt[te]);break;case 104:this.$=Zt[te-4],nr.setClickEvent(Zt[te-4],Zt[te-3],Zt[te-2]),nr.setTooltip(Zt[te-4],Zt[te]);break;case 105:case 111:this.$=Zt[te-1],nr.setLink(Zt[te-1],Zt[te]);break;case 106:case 112:this.$=Zt[te-3],nr.setLink(Zt[te-3],Zt[te-2]),nr.setTooltip(Zt[te-3],Zt[te]);break;case 107:case 113:this.$=Zt[te-3],nr.setLink(Zt[te-3],Zt[te-2],Zt[te]);break;case 108:case 114:this.$=Zt[te-5],nr.setLink(Zt[te-5],Zt[te-4],Zt[te]),nr.setTooltip(Zt[te-5],Zt[te-2]);break;case 115:this.$=Zt[te-4],nr.addVertex(Zt[te-2],void 0,void 0,Zt[te]);break;case 116:case 118:this.$=Zt[te-4],nr.updateLink(Zt[te-2],Zt[te]);break;case 117:this.$=Zt[te-4],nr.updateLink([Zt[te-2]],Zt[te]);break;case 119:this.$=Zt[te-8],nr.updateLinkInterpolate([Zt[te-6]],Zt[te-2]),nr.updateLink([Zt[te-6]],Zt[te]);break;case 120:this.$=Zt[te-8],nr.updateLinkInterpolate(Zt[te-6],Zt[te-2]),nr.updateLink(Zt[te-6],Zt[te]);break;case 121:this.$=Zt[te-6],nr.updateLinkInterpolate([Zt[te-4]],Zt[te]);break;case 122:this.$=Zt[te-6],nr.updateLinkInterpolate(Zt[te-4],Zt[te]);break;case 124:case 126:Zt[te-2].push(Zt[te]),this.$=Zt[te-2];break;case 128:this.$=Zt[te-1]+Zt[te];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:v,16:4,21:_,22:S,24:M},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:v,16:4,21:_,22:S,24:M},f(E,D,{17:11}),{7:12,13:[1,13]},{16:14,21:_,22:S,24:M},{16:15,21:_,22:S,24:M},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:B,21:U,22:H,23:J,32:24,33:25,34:26,35:27,36:28,37:29,38:rt,43:31,44:dt,46:K,48:_t,50:35,51:45,52:at,54:46,66:ot,67:bt,86:Ut,87:Tt,88:mt,89:Ct,90:xt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,118:Lt,119:Wt,120:ye,121:Ve,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},{8:64,10:[1,65],15:Sr},f([10,15],[2,6]),f(E,[2,17]),f(E,[2,18]),f(E,[2,19]),{20:[1,68],21:[1,69],22:_e,27:67,30:70},f(Je,[2,11]),f(Je,[2,12]),f(Je,[2,13]),f(Je,[2,14]),f(Je,[2,15]),f(Je,[2,16]),{9:72,20:Dt,21:he,23:re,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:Dt,21:he,23:re},{9:81,20:Dt,21:he,23:re},{9:82,20:Dt,21:he,23:re},{9:83,20:Dt,21:he,23:re},{9:84,20:Dt,21:he,23:re},{9:86,20:Dt,21:he,22:[1,85],23:re},f(Je,[2,44]),{45:[1,87]},{47:[1,88]},f(Je,[2,47]),f(At,[2,54],{30:89,22:_e}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:Ee,52:Q,66:ce,67:st,84:[1,97],91:Te,97:96,98:[1,94],100:[1,95],105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(Je,[2,158]),f(Je,[2,159]),f(Je,[2,160]),f(Je,[2,161]),f(br,[2,55],{53:[1,116]}),f(qe,[2,74],{116:129,40:[1,117],52:at,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:ot,67:bt,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve}),f(sr,[2,150]),f(sr,[2,175]),f(sr,[2,176]),f(sr,[2,177]),f(sr,[2,178]),f(sr,[2,179]),f(sr,[2,180]),f(sr,[2,181]),f(sr,[2,182]),f(sr,[2,183]),f(sr,[2,184]),f(sr,[2,185]),f(sr,[2,186]),f(sr,[2,187]),f(sr,[2,188]),f(sr,[2,189]),f(sr,[2,190]),{9:130,20:Dt,21:he,23:re},{11:131,14:[1,132]},f($e,[2,8]),f(E,[2,20]),f(E,[2,26]),f(E,[2,27]),{21:[1,133]},f(Er,[2,34],{30:134,22:_e}),f(Je,[2,35]),{50:135,51:45,52:at,54:46,66:ot,67:bt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},f(Jr,[2,48]),f(Jr,[2,49]),f(Jr,[2,50]),f(Ir,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:Br,24:Ne,26:Qe,38:rr,39:139,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),f(Je,[2,36]),f(Je,[2,37]),f(Je,[2,38]),f(Je,[2,39]),f(Je,[2,40]),{22:Br,24:Ne,26:Qe,38:rr,39:163,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(ga,D,{17:164}),f(Je,[2,45]),f(Je,[2,46]),f(At,[2,53],{52:Mn}),{26:Ee,52:Q,66:ce,67:st,91:Te,97:166,102:[1,167],105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{95:[1,168],103:169,105:[1,170]},{26:Ee,52:Q,66:ce,67:st,91:Te,95:[1,171],97:172,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{26:Ee,52:Q,66:ce,67:st,91:Te,97:173,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f($e,[2,101],{22:[1,174],99:[1,175]}),f($e,[2,105],{22:[1,176]}),f($e,[2,109],{115:100,117:178,22:[1,177],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae}),f($e,[2,111],{22:[1,179]}),f(An,[2,152]),f(An,[2,154]),f(An,[2,155]),f(An,[2,156]),f(An,[2,157]),f(Lr,[2,162]),f(Lr,[2,163]),f(Lr,[2,164]),f(Lr,[2,165]),f(Lr,[2,166]),f(Lr,[2,167]),f(Lr,[2,168]),f(Lr,[2,169]),f(Lr,[2,170]),f(Lr,[2,171]),f(Lr,[2,172]),f(Lr,[2,173]),f(Lr,[2,174]),{52:at,54:180,66:ot,67:bt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},{22:Br,24:Ne,26:Qe,38:rr,39:181,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:182,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:184,42:Se,52:Q,57:[1,183],66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:185,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:186,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:187,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{66:[1,188]},{22:Br,24:Ne,26:Qe,38:rr,39:189,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:190,42:Se,52:Q,66:ce,67:st,71:[1,191],73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:192,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:193,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:194,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(sr,[2,151]),f(ui,[2,3]),{8:195,15:Sr},{15:[2,7]},f(E,[2,28]),f(Er,[2,33]),f(At,[2,51],{30:196,22:_e}),f(Ir,[2,75],{22:[1,197]}),{22:[1,198]},{22:Br,24:Ne,26:Qe,38:rr,39:199,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,82:[1,200],83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(Lr,[2,82]),f(Lr,[2,84]),f(Lr,[2,140]),f(Lr,[2,141]),f(Lr,[2,142]),f(Lr,[2,143]),f(Lr,[2,144]),f(Lr,[2,145]),f(Lr,[2,146]),f(Lr,[2,147]),f(Lr,[2,148]),f(Lr,[2,149]),f(Lr,[2,85]),f(Lr,[2,86]),f(Lr,[2,87]),f(Lr,[2,88]),f(Lr,[2,89]),f(Lr,[2,90]),f(Lr,[2,91]),f(Lr,[2,92]),f(Lr,[2,93]),f(Lr,[2,94]),f(Lr,[2,95]),{9:203,20:Dt,21:he,22:Br,23:re,24:Ne,26:Qe,38:rr,40:[1,202],42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{18:18,19:19,20:B,21:U,22:H,23:J,32:24,33:25,34:26,35:27,36:28,37:29,38:rt,42:[1,204],43:31,44:dt,46:K,48:_t,50:35,51:45,52:at,54:46,66:ot,67:bt,86:Ut,87:Tt,88:mt,89:Ct,90:xt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,118:Lt,119:Wt,120:ye,121:Ve,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},{22:_e,30:205},{22:[1,206],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:178,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},f(Fr,[2,123]),{22:[1,211]},{22:[1,212],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:178,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:[1,213],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:178,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{84:[1,214]},f($e,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},f(An,[2,153]),{84:[1,219],101:[1,220]},f(br,[2,57],{116:129,52:at,66:ot,67:bt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve}),{22:Br,24:Ne,26:Qe,38:rr,41:[1,221],42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,56:[1,222],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:223,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,58:[1,224],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,60:[1,225],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,62:[1,226],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,64:[1,227],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{67:[1,228]},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,70:[1,229],73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,72:[1,230],73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,39:231,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,41:[1,232],42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,73:Ar,75:[1,233],77:[1,234],81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,73:Ar,75:[1,236],77:[1,235],81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{9:237,20:Dt,21:he,23:re},f(At,[2,52],{52:Mn}),f(Ir,[2,77]),f(Ir,[2,76]),{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,68:[1,238],73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(Ir,[2,79]),f(Lr,[2,83]),{22:Br,24:Ne,26:Qe,38:rr,39:239,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(ga,D,{17:240}),f(Je,[2,43]),{51:241,52:at,54:46,66:ot,67:bt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},{22:xn,66:In,67:bn,86:Xn,96:242,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{22:xn,66:In,67:bn,86:Xn,96:256,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{22:xn,66:In,67:bn,86:Xn,96:257,102:Bt,104:[1,258],105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{22:xn,66:In,67:bn,86:Xn,96:259,102:Bt,104:[1,260],105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{105:[1,261]},{22:xn,66:In,67:bn,86:Xn,96:262,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{22:xn,66:In,67:bn,86:Xn,96:263,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{26:Ee,52:Q,66:ce,67:st,91:Te,97:264,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f($e,[2,102]),{84:[1,265]},f($e,[2,106],{22:[1,266]}),f($e,[2,107]),f($e,[2,110]),f($e,[2,112],{22:[1,267]}),f($e,[2,113]),f(qe,[2,58]),f(qe,[2,59]),{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,58:[1,268],66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(qe,[2,66]),f(qe,[2,61]),f(qe,[2,62]),f(qe,[2,63]),{66:[1,269]},f(qe,[2,65]),f(qe,[2,67]),{22:Br,24:Ne,26:Qe,38:rr,42:Se,52:Q,66:ce,67:st,72:[1,270],73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(qe,[2,69]),f(qe,[2,70]),f(qe,[2,72]),f(qe,[2,71]),f(qe,[2,73]),f(ui,[2,4]),f([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:Br,24:Ne,26:Qe,38:rr,41:[1,271],42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{18:18,19:19,20:B,21:U,22:H,23:J,32:24,33:25,34:26,35:27,36:28,37:29,38:rt,42:[1,272],43:31,44:dt,46:K,48:_t,50:35,51:45,52:at,54:46,66:ot,67:bt,86:Ut,87:Tt,88:mt,89:Ct,90:xt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,118:Lt,119:Wt,120:ye,121:Ve,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},f(br,[2,56]),f($e,[2,115],{106:ri}),f(Ca,[2,125],{108:274,22:xn,66:In,67:bn,86:Xn,102:Bt,105:Nn,109:On,110:Zr,111:ei,112:Hn,113:Bn}),f(dn,[2,127]),f(dn,[2,129]),f(dn,[2,130]),f(dn,[2,131]),f(dn,[2,132]),f(dn,[2,133]),f(dn,[2,134]),f(dn,[2,135]),f(dn,[2,136]),f(dn,[2,137]),f(dn,[2,138]),f(dn,[2,139]),f($e,[2,116],{106:ri}),f($e,[2,117],{106:ri}),{22:[1,275]},f($e,[2,118],{106:ri}),{22:[1,276]},f(Fr,[2,124]),f($e,[2,98],{106:ri}),f($e,[2,99],{106:ri}),f($e,[2,100],{115:100,117:178,26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae}),f($e,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:Dt,21:he,23:re},f(Je,[2,42]),{22:xn,66:In,67:bn,86:Xn,102:Bt,105:Nn,107:283,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},f(dn,[2,128]),{26:Ee,52:Q,66:ce,67:st,91:Te,97:284,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{26:Ee,52:Q,66:ce,67:st,91:Te,97:285,105:ge,106:Pe,109:ar,111:Ze,112:lr,115:100,117:98,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f($e,[2,108]),f($e,[2,114]),f(qe,[2,60]),{22:Br,24:Ne,26:Qe,38:rr,39:286,42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:140,84:vn,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},f(qe,[2,68]),f(ga,D,{17:287}),f(Ca,[2,126],{108:274,22:xn,66:In,67:bn,86:Xn,102:Bt,105:Nn,109:On,110:Zr,111:ei,112:Hn,113:Bn}),f($e,[2,121],{115:100,117:178,22:[1,288],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae}),f($e,[2,122],{115:100,117:178,22:[1,289],26:Ee,52:Q,66:ce,67:st,91:Te,105:ge,106:Pe,109:ar,111:Ze,112:lr,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae}),{22:Br,24:Ne,26:Qe,38:rr,41:[1,290],42:Se,52:Q,66:ce,67:st,73:Ar,81:Rt,83:201,85:151,86:Gt,87:qr,88:Yr,89:Gr,90:Dr,91:Vr,92:Ur,94:142,95:Nr,105:ge,106:Pe,109:zr,111:Ze,112:lr,113:jr,114:$r,115:148,122:Ie,123:Re,124:Ue,125:Fe,126:be,127:ae},{18:18,19:19,20:B,21:U,22:H,23:J,32:24,33:25,34:26,35:27,36:28,37:29,38:rt,42:[1,291],43:31,44:dt,46:K,48:_t,50:35,51:45,52:at,54:46,66:ot,67:bt,86:Ut,87:Tt,88:mt,89:Ct,90:xt,91:gt,95:et,105:ft,106:q,109:wt,111:W,112:St,116:47,118:Lt,119:Wt,120:ye,121:Ve,122:ke,123:fe,124:xe,125:Me,126:Oe,127:ve},{22:xn,66:In,67:bn,86:Xn,96:292,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},{22:xn,66:In,67:bn,86:Xn,96:293,102:Bt,105:Nn,107:243,108:244,109:On,110:Zr,111:ei,112:Hn,113:Bn},f(qe,[2,64]),f(Je,[2,41]),f($e,[2,119],{106:ri}),f($e,[2,120],{106:ri})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(dr,yr){if(!yr.recoverable){var Xr=new Error(dr);throw Xr.hash=yr,Xr}this.trace(dr)},parse:function(dr){var yr=this,Xr=[0],nr=[],ln=[null],Zt=[],zn=this.table,te="",wn=0,oi=0,hi=0,Ia=2,Bi=1,wr=Zt.slice.call(arguments,1),Yn=Object.create(this.lexer),Rr={yy:{}};for(var ya in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ya)&&(Rr.yy[ya]=this.yy[ya]);Yn.setInput(dr,Rr.yy),Rr.yy.lexer=Yn,Rr.yy.parser=this,Yn.yylloc===void 0&&(Yn.yylloc={});var Fn=Yn.yylloc;Zt.push(Fn);var Fi=Yn.options&&Yn.options.ranges;function jn(){var Pi;return typeof(Pi=nr.pop()||Yn.lex()||Bi)!="number"&&(Pi instanceof Array&&(Pi=(nr=Pi).pop()),Pi=yr.symbols_[Pi]||Pi),Pi}typeof Rr.yy.parseError=="function"?this.parseError=Rr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var yn,wi,qn,ni,Ji,Ci,ii,ma,Wn,Kn={};;){if(qn=Xr[Xr.length-1],this.defaultActions[qn]?ni=this.defaultActions[qn]:(yn==null&&(yn=jn()),ni=zn[qn]&&zn[qn][yn]),ni===void 0||!ni.length||!ni[0]){var si="";for(Ci in Wn=[],zn[qn])this.terminals_[Ci]&&Ci>Ia&&Wn.push("'"+this.terminals_[Ci]+"'");si=Yn.showPosition?"Parse error on line "+(wn+1)+`: +`+Yn.showPosition()+` +Expecting `+Wn.join(", ")+", got '"+(this.terminals_[yn]||yn)+"'":"Parse error on line "+(wn+1)+": Unexpected "+(yn==Bi?"end of input":"'"+(this.terminals_[yn]||yn)+"'"),this.parseError(si,{text:Yn.match,token:this.terminals_[yn]||yn,line:Yn.yylineno,loc:Fn,expected:Wn})}if(ni[0]instanceof Array&&ni.length>1)throw new Error("Parse Error: multiple actions possible at state: "+qn+", token: "+yn);switch(ni[0]){case 1:Xr.push(yn),ln.push(Yn.yytext),Zt.push(Yn.yylloc),Xr.push(ni[1]),yn=null,wi?(yn=wi,wi=null):(oi=Yn.yyleng,te=Yn.yytext,wn=Yn.yylineno,Fn=Yn.yylloc,hi>0);break;case 2:if(ii=this.productions_[ni[1]][1],Kn.$=ln[ln.length-ii],Kn._$={first_line:Zt[Zt.length-(ii||1)].first_line,last_line:Zt[Zt.length-1].last_line,first_column:Zt[Zt.length-(ii||1)].first_column,last_column:Zt[Zt.length-1].last_column},Fi&&(Kn._$.range=[Zt[Zt.length-(ii||1)].range[0],Zt[Zt.length-1].range[1]]),(Ji=this.performAction.apply(Kn,[te,oi,wn,Rr.yy,ni[1],ln,Zt].concat(wr)))!==void 0)return Ji;ii&&(Xr=Xr.slice(0,-1*ii*2),ln=ln.slice(0,-1*ii),Zt=Zt.slice(0,-1*ii)),Xr.push(this.productions_[ni[1]][0]),ln.push(Kn.$),Zt.push(Kn._$),ma=zn[Xr[Xr.length-2]][Xr[Xr.length-1]],Xr.push(ma);break;case 3:return!0}}return!0}},Ri={EOF:1,parseError:function(dr,yr){if(!this.yy.parser)throw new Error(dr);this.yy.parser.parseError(dr,yr)},setInput:function(dr,yr){return this.yy=yr||this.yy||{},this._input=dr,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var dr=this._input[0];return this.yytext+=dr,this.yyleng++,this.offset++,this.match+=dr,this.matched+=dr,dr.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),dr},unput:function(dr){var yr=dr.length,Xr=dr.split(/(?:\r\n?|\n)/g);this._input=dr+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-yr),this.offset-=yr;var nr=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Xr.length-1&&(this.yylineno-=Xr.length-1);var ln=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Xr?(Xr.length===nr.length?this.yylloc.first_column:0)+nr[nr.length-Xr.length].length-Xr[0].length:this.yylloc.first_column-yr},this.options.ranges&&(this.yylloc.range=[ln[0],ln[0]+this.yyleng-yr]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(dr){this.unput(this.match.slice(dr))},pastInput:function(){var dr=this.matched.substr(0,this.matched.length-this.match.length);return(dr.length>20?"...":"")+dr.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var dr=this.match;return dr.length<20&&(dr+=this._input.substr(0,20-dr.length)),(dr.substr(0,20)+(dr.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var dr=this.pastInput(),yr=new Array(dr.length+1).join("-");return dr+this.upcomingInput()+` +`+yr+"^"},test_match:function(dr,yr){var Xr,nr,ln;if(this.options.backtrack_lexer&&(ln={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ln.yylloc.range=this.yylloc.range.slice(0))),(nr=dr[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=nr.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:nr?nr[nr.length-1].length-nr[nr.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+dr[0].length},this.yytext+=dr[0],this.match+=dr[0],this.matches=dr,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(dr[0].length),this.matched+=dr[0],Xr=this.performAction.call(this,this.yy,this,yr,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Xr)return Xr;if(this._backtrack){for(var Zt in ln)this[Zt]=ln[Zt];return!1}return!1},next:function(){if(this.done)return this.EOF;var dr,yr,Xr,nr;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ln=this._currentRules(),Zt=0;Ztyr[0].length)){if(yr=Xr,nr=Zt,this.options.backtrack_lexer){if((dr=this.test_match(Xr,ln[Zt]))!==!1)return dr;if(this._backtrack){yr=!1;continue}return!1}if(!this.options.flex)break}return yr?(dr=this.test_match(yr,ln[nr]))!==!1&&dr:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(dr){this.conditionStack.push(dr)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(dr){return(dr=this.conditionStack.length-1-Math.abs(dr||0))>=0?this.conditionStack[dr]:"INITIAL"},pushState:function(dr){this.begin(dr)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(dr,yr,Xr,nr){switch(Xr){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:return dr.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 42;case 39:case 40:case 41:case 42:return 101;case 43:return this.popState(),25;case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:return this.popState(),26;case 54:return 118;case 55:return 119;case 56:return 120;case 57:return 121;case 58:return 105;case 59:return 111;case 60:return 53;case 61:return 67;case 62:return 52;case 63:return 20;case 64:return 106;case 65:return 126;case 66:case 67:case 68:return 82;case 69:case 70:case 71:return 81;case 72:return 59;case 73:return 60;case 74:return 61;case 75:return 62;case 76:return 63;case 77:return 64;case 78:return 65;case 79:return 69;case 80:return 70;case 81:return 55;case 82:return 56;case 83:return 109;case 84:return 112;case 85:return 127;case 86:return 124;case 87:return 113;case 88:case 89:return 125;case 90:return 114;case 91:return 73;case 92:return 92;case 93:return"SEP";case 94:return 91;case 95:return 66;case 96:return 75;case 97:return 74;case 98:return 77;case 99:return 76;case 100:return 122;case 101:return 123;case 102:return 68;case 103:return 57;case 104:return 58;case 105:return 40;case 106:return 41;case 107:return 71;case 108:return 72;case 109:return 133;case 110:return 21;case 111:return 22;case 112:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[43,44,45,46,47,48,49,50,51,52,53],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112],inclusive:!0}}};function Ai(){this.yy={}}return Si.lexer=Ri,Ai.prototype=Si,Si.Parser=Ai,new Ai}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(5354).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},9959:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(gt,et,ft,q){for(ft=ft||{},q=gt.length;q--;ft[gt[q]]=et);return ft},v=[1,3],_=[1,5],S=[7,9,11,12,13,14,15,16,17,18,19,20,22,24,25,27,34,39],M=[1,15],E=[1,16],D=[1,17],B=[1,18],U=[1,19],H=[1,20],J=[1,21],rt=[1,22],dt=[1,23],K=[1,24],_t=[1,25],at=[1,26],ot=[1,28],bt=[1,30],Ut=[1,33],Tt=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,24,25,27,34,39],mt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,clickStatement:26,taskTxt:27,taskData:28,openDirective:29,typeDirective:30,closeDirective:31,":":32,argDirective:33,click:34,callbackname:35,callbackargs:36,href:37,clickStatementDebug:38,open_directive:39,type_directive:40,arg_directive:41,close_directive:42,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"taskTxt",28:"taskData",32:":",34:"click",35:"callbackname",36:"callbackargs",37:"href",39:"open_directive",40:"type_directive",41:"arg_directive",42:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[26,2],[26,3],[26,3],[26,4],[26,3],[26,4],[26,2],[38,2],[38,3],[38,3],[38,4],[38,3],[38,4],[38,2],[29,1],[30,1],[33,1],[31,1]],performAction:function(gt,et,ft,q,wt,W,St){var Lt=W.length-1;switch(wt){case 2:return W[Lt-1];case 3:case 7:case 8:this.$=[];break;case 4:W[Lt-1].push(W[Lt]),this.$=W[Lt-1];break;case 5:case 6:this.$=W[Lt];break;case 9:q.setDateFormat(W[Lt].substr(11)),this.$=W[Lt].substr(11);break;case 10:q.enableInclusiveEndDates(),this.$=W[Lt].substr(18);break;case 11:q.TopAxis(),this.$=W[Lt].substr(8);break;case 12:q.setAxisFormat(W[Lt].substr(11)),this.$=W[Lt].substr(11);break;case 13:q.setExcludes(W[Lt].substr(9)),this.$=W[Lt].substr(9);break;case 14:q.setIncludes(W[Lt].substr(9)),this.$=W[Lt].substr(9);break;case 15:q.setTodayMarker(W[Lt].substr(12)),this.$=W[Lt].substr(12);break;case 16:q.setDiagramTitle(W[Lt].substr(6)),this.$=W[Lt].substr(6);break;case 17:this.$=W[Lt].trim(),q.setAccTitle(this.$);break;case 18:case 19:this.$=W[Lt].trim(),q.setAccDescription(this.$);break;case 20:q.addSection(W[Lt].substr(8)),this.$=W[Lt].substr(8);break;case 22:q.addTask(W[Lt-1],W[Lt]),this.$="task";break;case 26:this.$=W[Lt-1],q.setClickEvent(W[Lt-1],W[Lt],null);break;case 27:this.$=W[Lt-2],q.setClickEvent(W[Lt-2],W[Lt-1],W[Lt]);break;case 28:this.$=W[Lt-2],q.setClickEvent(W[Lt-2],W[Lt-1],null),q.setLink(W[Lt-2],W[Lt]);break;case 29:this.$=W[Lt-3],q.setClickEvent(W[Lt-3],W[Lt-2],W[Lt-1]),q.setLink(W[Lt-3],W[Lt]);break;case 30:this.$=W[Lt-2],q.setClickEvent(W[Lt-2],W[Lt],null),q.setLink(W[Lt-2],W[Lt-1]);break;case 31:this.$=W[Lt-3],q.setClickEvent(W[Lt-3],W[Lt-1],W[Lt]),q.setLink(W[Lt-3],W[Lt-2]);break;case 32:this.$=W[Lt-1],q.setLink(W[Lt-1],W[Lt]);break;case 33:case 39:this.$=W[Lt-1]+" "+W[Lt];break;case 34:case 35:case 37:this.$=W[Lt-2]+" "+W[Lt-1]+" "+W[Lt];break;case 36:case 38:this.$=W[Lt-3]+" "+W[Lt-2]+" "+W[Lt-1]+" "+W[Lt];break;case 40:q.parseDirective("%%{","open_directive");break;case 41:q.parseDirective(W[Lt],"type_directive");break;case 42:W[Lt]=W[Lt].trim().replace(/'/g,'"'),q.parseDirective(W[Lt],"arg_directive");break;case 43:q.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:v,29:4,39:_},{1:[3]},{3:6,4:2,5:v,29:4,39:_},f(S,[2,3],{6:7}),{30:8,40:[1,9]},{40:[2,40]},{1:[2,1]},{4:29,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:M,13:E,14:D,15:B,16:U,17:H,18:J,19:rt,20:dt,22:K,24:_t,25:at,26:27,27:ot,29:4,34:bt,39:_},{31:31,32:[1,32],42:Ut},f([32,42],[2,41]),f(S,[2,8],{1:[2,2]}),f(S,[2,4]),{4:29,10:34,12:M,13:E,14:D,15:B,16:U,17:H,18:J,19:rt,20:dt,22:K,24:_t,25:at,26:27,27:ot,29:4,34:bt,39:_},f(S,[2,6]),f(S,[2,7]),f(S,[2,9]),f(S,[2,10]),f(S,[2,11]),f(S,[2,12]),f(S,[2,13]),f(S,[2,14]),f(S,[2,15]),f(S,[2,16]),{21:[1,35]},{23:[1,36]},f(S,[2,19]),f(S,[2,20]),f(S,[2,21]),{28:[1,37]},f(S,[2,23]),{35:[1,38],37:[1,39]},{11:[1,40]},{33:41,41:[1,42]},{11:[2,43]},f(S,[2,5]),f(S,[2,17]),f(S,[2,18]),f(S,[2,22]),f(S,[2,26],{36:[1,43],37:[1,44]}),f(S,[2,32],{35:[1,45]}),f(Tt,[2,24]),{31:46,42:Ut},{42:[2,42]},f(S,[2,27],{37:[1,47]}),f(S,[2,28]),f(S,[2,30],{36:[1,48]}),{11:[1,49]},f(S,[2,29]),f(S,[2,31]),f(Tt,[2,25])],defaultActions:{5:[2,40],6:[2,1],33:[2,43],42:[2,42]},parseError:function(gt,et){if(!et.recoverable){var ft=new Error(gt);throw ft.hash=et,ft}this.trace(gt)},parse:function(gt){var et=this,ft=[0],q=[],wt=[null],W=[],St=this.table,Lt="",Wt=0,ye=0,Ve=0,ke=2,fe=1,xe=W.slice.call(arguments,1),Me=Object.create(this.lexer),Oe={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(Oe.yy[ve]=this.yy[ve]);Me.setInput(gt,Oe.yy),Oe.yy.lexer=Me,Oe.yy.parser=this,Me.yylloc===void 0&&(Me.yylloc={});var Sr=Me.yylloc;W.push(Sr);var _e=Me.options&&Me.options.ranges;function Je(){var ar;return typeof(ar=q.pop()||Me.lex()||fe)!="number"&&(ar instanceof Array&&(ar=(q=ar).pop()),ar=et.symbols_[ar]||ar),ar}typeof Oe.yy.parseError=="function"?this.parseError=Oe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Dt,he,re,At,Ee,Q,ce,st,Te,ge={};;){if(re=ft[ft.length-1],this.defaultActions[re]?At=this.defaultActions[re]:(Dt==null&&(Dt=Je()),At=St[re]&&St[re][Dt]),At===void 0||!At.length||!At[0]){var Pe="";for(Q in Te=[],St[re])this.terminals_[Q]&&Q>ke&&Te.push("'"+this.terminals_[Q]+"'");Pe=Me.showPosition?"Parse error on line "+(Wt+1)+`: +`+Me.showPosition()+` +Expecting `+Te.join(", ")+", got '"+(this.terminals_[Dt]||Dt)+"'":"Parse error on line "+(Wt+1)+": Unexpected "+(Dt==fe?"end of input":"'"+(this.terminals_[Dt]||Dt)+"'"),this.parseError(Pe,{text:Me.match,token:this.terminals_[Dt]||Dt,line:Me.yylineno,loc:Sr,expected:Te})}if(At[0]instanceof Array&&At.length>1)throw new Error("Parse Error: multiple actions possible at state: "+re+", token: "+Dt);switch(At[0]){case 1:ft.push(Dt),wt.push(Me.yytext),W.push(Me.yylloc),ft.push(At[1]),Dt=null,he?(Dt=he,he=null):(ye=Me.yyleng,Lt=Me.yytext,Wt=Me.yylineno,Sr=Me.yylloc,Ve>0);break;case 2:if(ce=this.productions_[At[1]][1],ge.$=wt[wt.length-ce],ge._$={first_line:W[W.length-(ce||1)].first_line,last_line:W[W.length-1].last_line,first_column:W[W.length-(ce||1)].first_column,last_column:W[W.length-1].last_column},_e&&(ge._$.range=[W[W.length-(ce||1)].range[0],W[W.length-1].range[1]]),(Ee=this.performAction.apply(ge,[Lt,ye,Wt,Oe.yy,At[1],wt,W].concat(xe)))!==void 0)return Ee;ce&&(ft=ft.slice(0,-1*ce*2),wt=wt.slice(0,-1*ce),W=W.slice(0,-1*ce)),ft.push(this.productions_[At[1]][0]),wt.push(ge.$),W.push(ge._$),st=St[ft[ft.length-2]][ft[ft.length-1]],ft.push(st);break;case 3:return!0}}return!0}},Ct={EOF:1,parseError:function(gt,et){if(!this.yy.parser)throw new Error(gt);this.yy.parser.parseError(gt,et)},setInput:function(gt,et){return this.yy=et||this.yy||{},this._input=gt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var gt=this._input[0];return this.yytext+=gt,this.yyleng++,this.offset++,this.match+=gt,this.matched+=gt,gt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),gt},unput:function(gt){var et=gt.length,ft=gt.split(/(?:\r\n?|\n)/g);this._input=gt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-et),this.offset-=et;var q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ft.length-1&&(this.yylineno-=ft.length-1);var wt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ft?(ft.length===q.length?this.yylloc.first_column:0)+q[q.length-ft.length].length-ft[0].length:this.yylloc.first_column-et},this.options.ranges&&(this.yylloc.range=[wt[0],wt[0]+this.yyleng-et]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(gt){this.unput(this.match.slice(gt))},pastInput:function(){var gt=this.matched.substr(0,this.matched.length-this.match.length);return(gt.length>20?"...":"")+gt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var gt=this.match;return gt.length<20&&(gt+=this._input.substr(0,20-gt.length)),(gt.substr(0,20)+(gt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var gt=this.pastInput(),et=new Array(gt.length+1).join("-");return gt+this.upcomingInput()+` +`+et+"^"},test_match:function(gt,et){var ft,q,wt;if(this.options.backtrack_lexer&&(wt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(wt.yylloc.range=this.yylloc.range.slice(0))),(q=gt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:q?q[q.length-1].length-q[q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+gt[0].length},this.yytext+=gt[0],this.match+=gt[0],this.matches=gt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(gt[0].length),this.matched+=gt[0],ft=this.performAction.call(this,this.yy,this,et,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ft)return ft;if(this._backtrack){for(var W in wt)this[W]=wt[W];return!1}return!1},next:function(){if(this.done)return this.EOF;var gt,et,ft,q;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var wt=this._currentRules(),W=0;Wet[0].length)){if(et=ft,q=W,this.options.backtrack_lexer){if((gt=this.test_match(ft,wt[W]))!==!1)return gt;if(this._backtrack){et=!1;continue}return!1}if(!this.options.flex)break}return et?(gt=this.test_match(et,wt[q]))!==!1&>:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(gt){this.conditionStack.push(gt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(gt){return(gt=this.conditionStack.length-1-Math.abs(gt||0))>=0?this.conditionStack[gt]:"INITIAL"},pushState:function(gt){this.begin(gt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(gt,et,ft,q){switch(ft){case 0:return this.begin("open_directive"),39;case 1:return this.begin("type_directive"),40;case 2:return this.popState(),this.begin("arg_directive"),32;case 3:return this.popState(),this.popState(),42;case 4:return 41;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 37;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 35;case 27:return 36;case 28:this.begin("click");break;case 30:return 34;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 17;case 37:return 16;case 38:return 18;case 39:return"date";case 40:return 19;case 41:return"accDescription";case 42:return 25;case 43:return 27;case 44:return 28;case 45:return 32;case 46:return 7;case 47:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],inclusive:!0}}};function xt(){this.yy={}}return mt.lexer=Ct,xt.prototype=mt,mt.Parser=xt,new xt}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(6878).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},2553:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(Ct,xt,gt,et){for(gt=gt||{},et=Ct.length;et--;gt[Ct[et]]=xt);return gt},v=[1,4],_=[1,7],S=[1,5],M=[1,9],E=[1,6],D=[2,6],B=[1,16],U=[6,8,14,20,22,24,25,27,29,32,35,37,49,53],H=[8,14,20,22,24,25,27,29,32,35,37],J=[8,13,14,20,22,24,25,27,29,32,35,37],rt=[1,26],dt=[6,8,14,49,53],K=[8,14,53],_t=[1,64],at=[1,65],ot=[1,66],bt=[8,14,33,36,41,53],Ut={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ID:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,MERGE:35,COMMIT_TAG:36,COMMIT:37,commit_arg:38,COMMIT_TYPE:39,commitType:40,COMMIT_MSG:41,NORMAL:42,REVERSE:43,HIGHLIGHT:44,openDirective:45,typeDirective:46,closeDirective:47,argDirective:48,open_directive:49,type_directive:50,arg_directive:51,close_directive:52,";":53,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",28:"ID",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"MERGE",36:"COMMIT_TAG",37:"COMMIT",39:"COMMIT_TYPE",41:"COMMIT_MSG",42:"NORMAL",43:"REVERSE",44:"HIGHLIGHT",49:"open_directive",50:"type_directive",51:"arg_directive",52:"close_directive",53:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[18,2],[18,4],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[38,0],[38,1],[40,1],[40,1],[40,1],[5,3],[5,5],[45,1],[46,1],[48,1],[47,1],[4,1],[4,1],[4,1]],performAction:function(Ct,xt,gt,et,ft,q,wt){var W=q.length-1;switch(ft){case 3:return q[W];case 4:return q[W-1];case 5:return et.setDirection(q[W-3]),q[W-1];case 7:et.setOptions(q[W-1]),this.$=q[W];break;case 8:q[W-1]+=q[W],this.$=q[W-1];break;case 10:this.$=[];break;case 11:q[W-1].push(q[W]),this.$=q[W-1];break;case 12:this.$=q[W-1];break;case 17:this.$=q[W].trim(),et.setAccTitle(this.$);break;case 18:case 19:this.$=q[W].trim(),et.setAccDescription(this.$);break;case 20:et.addSection(q[W].substr(8)),this.$=q[W].substr(8);break;case 22:et.checkout(q[W]);break;case 23:et.branch(q[W]);break;case 24:et.branch(q[W-2],q[W]);break;case 25:et.cherryPick(q[W]);break;case 26:et.merge(q[W]);break;case 27:et.merge(q[W-2],q[W]);break;case 28:et.commit(q[W]);break;case 29:et.commit("","",et.commitType.NORMAL,q[W]);break;case 30:et.commit("","",q[W],"");break;case 31:et.commit("","",q[W],q[W-2]);break;case 32:et.commit("","",q[W-2],q[W]);break;case 33:et.commit("",q[W],et.commitType.NORMAL,"");break;case 34:et.commit("",q[W-2],et.commitType.NORMAL,q[W]);break;case 35:et.commit("",q[W],et.commitType.NORMAL,q[W-2]);break;case 36:et.commit("",q[W-2],q[W],"");break;case 37:et.commit("",q[W],q[W-2],"");break;case 38:et.commit("",q[W-4],q[W-2],q[W]);break;case 39:et.commit("",q[W-4],q[W],q[W-2]);break;case 40:et.commit("",q[W-2],q[W-4],q[W]);break;case 41:et.commit("",q[W],q[W-4],q[W-2]);break;case 42:et.commit("",q[W],q[W-2],q[W-4]);break;case 43:et.commit("",q[W-2],q[W],q[W-4]);break;case 44:et.commit(q[W],"",et.commitType.NORMAL,"");break;case 45:et.commit(q[W],"",et.commitType.NORMAL,q[W-2]);break;case 46:et.commit(q[W-2],"",et.commitType.NORMAL,q[W]);break;case 47:et.commit(q[W-2],"",q[W],"");break;case 48:et.commit(q[W],"",q[W-2],"");break;case 49:et.commit(q[W],q[W-2],et.commitType.NORMAL,"");break;case 50:et.commit(q[W-2],q[W],et.commitType.NORMAL,"");break;case 51:et.commit(q[W-4],"",q[W-2],q[W]);break;case 52:et.commit(q[W-4],"",q[W],q[W-2]);break;case 53:et.commit(q[W-2],"",q[W-4],q[W]);break;case 54:et.commit(q[W],"",q[W-4],q[W-2]);break;case 55:et.commit(q[W],"",q[W-2],q[W-4]);break;case 56:et.commit(q[W-2],"",q[W],q[W-4]);break;case 57:et.commit(q[W-4],q[W],q[W-2],"");break;case 58:et.commit(q[W-4],q[W-2],q[W],"");break;case 59:et.commit(q[W-2],q[W],q[W-4],"");break;case 60:et.commit(q[W],q[W-2],q[W-4],"");break;case 61:et.commit(q[W],q[W-4],q[W-2],"");break;case 62:et.commit(q[W-2],q[W-4],q[W],"");break;case 63:et.commit(q[W-4],q[W],et.commitType.NORMAL,q[W-2]);break;case 64:et.commit(q[W-4],q[W-2],et.commitType.NORMAL,q[W]);break;case 65:et.commit(q[W-2],q[W],et.commitType.NORMAL,q[W-4]);break;case 66:et.commit(q[W],q[W-2],et.commitType.NORMAL,q[W-4]);break;case 67:et.commit(q[W],q[W-4],et.commitType.NORMAL,q[W-2]);break;case 68:et.commit(q[W-2],q[W-4],et.commitType.NORMAL,q[W]);break;case 69:et.commit(q[W-6],q[W-4],q[W-2],q[W]);break;case 70:et.commit(q[W-6],q[W-4],q[W],q[W-2]);break;case 71:et.commit(q[W-6],q[W-2],q[W-4],q[W]);break;case 72:et.commit(q[W-6],q[W],q[W-4],q[W-2]);break;case 73:et.commit(q[W-6],q[W-2],q[W],q[W-4]);break;case 74:et.commit(q[W-6],q[W],q[W-2],q[W-4]);break;case 75:et.commit(q[W-4],q[W-6],q[W-2],q[W]);break;case 76:et.commit(q[W-4],q[W-6],q[W],q[W-2]);break;case 77:et.commit(q[W-2],q[W-6],q[W-4],q[W]);break;case 78:et.commit(q[W],q[W-6],q[W-4],q[W-2]);break;case 79:et.commit(q[W-2],q[W-6],q[W],q[W-4]);break;case 80:et.commit(q[W],q[W-6],q[W-2],q[W-4]);break;case 81:et.commit(q[W],q[W-4],q[W-2],q[W-6]);break;case 82:et.commit(q[W-2],q[W-4],q[W],q[W-6]);break;case 83:et.commit(q[W],q[W-2],q[W-4],q[W-6]);break;case 84:et.commit(q[W-2],q[W],q[W-4],q[W-6]);break;case 85:et.commit(q[W-4],q[W-2],q[W],q[W-6]);break;case 86:et.commit(q[W-4],q[W],q[W-2],q[W-6]);break;case 87:et.commit(q[W-2],q[W-4],q[W-6],q[W]);break;case 88:et.commit(q[W],q[W-4],q[W-6],q[W-2]);break;case 89:et.commit(q[W-2],q[W],q[W-6],q[W-4]);break;case 90:et.commit(q[W],q[W-2],q[W-6],q[W-4]);break;case 91:et.commit(q[W-4],q[W-2],q[W-6],q[W]);break;case 92:et.commit(q[W-4],q[W],q[W-6],q[W-2]);break;case 93:this.$="";break;case 94:this.$=q[W];break;case 95:this.$=et.commitType.NORMAL;break;case 96:this.$=et.commitType.REVERSE;break;case 97:this.$=et.commitType.HIGHLIGHT;break;case 100:et.parseDirective("%%{","open_directive");break;case 101:et.parseDirective(q[W],"type_directive");break;case 102:q[W]=q[W].trim().replace(/'/g,'"'),et.parseDirective(q[W],"arg_directive");break;case 103:et.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:v,8:_,14:S,45:8,49:M,53:E},{1:[3]},{3:10,4:2,5:3,6:v,8:_,14:S,45:8,49:M,53:E},{3:11,4:2,5:3,6:v,8:_,14:S,45:8,49:M,53:E},{7:12,8:D,9:[1,13],10:[1,14],11:15,14:B},f(U,[2,104]),f(U,[2,105]),f(U,[2,106]),{46:17,50:[1,18]},{50:[2,100]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:D,11:15,14:B},{9:[1,21]},f(H,[2,10],{12:22,13:[1,23]}),f(J,[2,9]),{9:[1,25],47:24,52:rt},f([9,52],[2,101]),{1:[2,3]},{8:[1,27]},{7:28,8:D,11:15,14:B},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],35:[1,42],37:[1,41]},f(J,[2,8]),f(dt,[2,98]),{48:45,51:[1,46]},f(dt,[2,103]),{1:[2,4]},{8:[1,47]},f(H,[2,11]),{4:48,8:_,14:S,53:E},f(H,[2,13]),f(K,[2,14]),f(K,[2,15]),f(K,[2,16]),{21:[1,49]},{23:[1,50]},f(K,[2,19]),f(K,[2,20]),f(K,[2,21]),{28:[1,51]},f(K,[2,93],{38:52,33:[1,55],34:[1,57],36:[1,53],39:[1,54],41:[1,56]}),{28:[1,58]},{33:[1,59]},{28:[1,60]},{47:61,52:rt},{52:[2,102]},{1:[2,5]},f(H,[2,12]),f(K,[2,17]),f(K,[2,18]),f(K,[2,22]),f(K,[2,28]),{34:[1,62]},{40:63,42:_t,43:at,44:ot},{34:[1,67]},{34:[1,68]},f(K,[2,94]),f(K,[2,26],{36:[1,69]}),{34:[1,70]},f(K,[2,23],{30:[1,71]}),f(dt,[2,99]),f(K,[2,29],{33:[1,73],39:[1,72],41:[1,74]}),f(K,[2,30],{33:[1,76],36:[1,75],41:[1,77]}),f(bt,[2,95]),f(bt,[2,96]),f(bt,[2,97]),f(K,[2,33],{36:[1,78],39:[1,79],41:[1,80]}),f(K,[2,44],{33:[1,83],36:[1,81],39:[1,82]}),{34:[1,84]},f(K,[2,25]),{31:[1,85]},{40:86,42:_t,43:at,44:ot},{34:[1,87]},{34:[1,88]},{34:[1,89]},{34:[1,90]},{34:[1,91]},{34:[1,92]},{40:93,42:_t,43:at,44:ot},{34:[1,94]},{34:[1,95]},{40:96,42:_t,43:at,44:ot},{34:[1,97]},f(K,[2,27]),f(K,[2,24]),f(K,[2,31],{33:[1,98],41:[1,99]}),f(K,[2,35],{39:[1,100],41:[1,101]}),f(K,[2,45],{33:[1,103],39:[1,102]}),f(K,[2,32],{33:[1,104],41:[1,105]}),f(K,[2,37],{36:[1,106],41:[1,107]}),f(K,[2,48],{33:[1,109],36:[1,108]}),f(K,[2,34],{39:[1,110],41:[1,111]}),f(K,[2,36],{36:[1,112],41:[1,113]}),f(K,[2,49],{36:[1,115],39:[1,114]}),f(K,[2,46],{33:[1,117],39:[1,116]}),f(K,[2,47],{33:[1,119],36:[1,118]}),f(K,[2,50],{36:[1,121],39:[1,120]}),{34:[1,122]},{34:[1,123]},{40:124,42:_t,43:at,44:ot},{34:[1,125]},{40:126,42:_t,43:at,44:ot},{34:[1,127]},{34:[1,128]},{34:[1,129]},{34:[1,130]},{34:[1,131]},{34:[1,132]},{34:[1,133]},{40:134,42:_t,43:at,44:ot},{34:[1,135]},{34:[1,136]},{34:[1,137]},{40:138,42:_t,43:at,44:ot},{34:[1,139]},{40:140,42:_t,43:at,44:ot},{34:[1,141]},{34:[1,142]},{34:[1,143]},{40:144,42:_t,43:at,44:ot},{34:[1,145]},f(K,[2,42],{41:[1,146]}),f(K,[2,55],{33:[1,147]}),f(K,[2,43],{41:[1,148]}),f(K,[2,66],{39:[1,149]}),f(K,[2,56],{33:[1,150]}),f(K,[2,65],{39:[1,151]}),f(K,[2,41],{41:[1,152]}),f(K,[2,54],{33:[1,153]}),f(K,[2,40],{41:[1,154]}),f(K,[2,60],{36:[1,155]}),f(K,[2,53],{33:[1,156]}),f(K,[2,59],{36:[1,157]}),f(K,[2,39],{41:[1,158]}),f(K,[2,67],{39:[1,159]}),f(K,[2,38],{41:[1,160]}),f(K,[2,61],{36:[1,161]}),f(K,[2,62],{36:[1,162]}),f(K,[2,68],{39:[1,163]}),f(K,[2,52],{33:[1,164]}),f(K,[2,63],{39:[1,165]}),f(K,[2,51],{33:[1,166]}),f(K,[2,57],{36:[1,167]}),f(K,[2,58],{36:[1,168]}),f(K,[2,64],{39:[1,169]}),{34:[1,170]},{34:[1,171]},{34:[1,172]},{40:173,42:_t,43:at,44:ot},{34:[1,174]},{40:175,42:_t,43:at,44:ot},{34:[1,176]},{34:[1,177]},{34:[1,178]},{34:[1,179]},{34:[1,180]},{34:[1,181]},{34:[1,182]},{40:183,42:_t,43:at,44:ot},{34:[1,184]},{34:[1,185]},{34:[1,186]},{40:187,42:_t,43:at,44:ot},{34:[1,188]},{40:189,42:_t,43:at,44:ot},{34:[1,190]},{34:[1,191]},{34:[1,192]},{40:193,42:_t,43:at,44:ot},f(K,[2,83]),f(K,[2,84]),f(K,[2,81]),f(K,[2,82]),f(K,[2,86]),f(K,[2,85]),f(K,[2,90]),f(K,[2,89]),f(K,[2,88]),f(K,[2,87]),f(K,[2,92]),f(K,[2,91]),f(K,[2,80]),f(K,[2,79]),f(K,[2,78]),f(K,[2,77]),f(K,[2,75]),f(K,[2,76]),f(K,[2,74]),f(K,[2,73]),f(K,[2,72]),f(K,[2,71]),f(K,[2,69]),f(K,[2,70])],defaultActions:{9:[2,100],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,102],47:[2,5]},parseError:function(Ct,xt){if(!xt.recoverable){var gt=new Error(Ct);throw gt.hash=xt,gt}this.trace(Ct)},parse:function(Ct){var xt=this,gt=[0],et=[],ft=[null],q=[],wt=this.table,W="",St=0,Lt=0,Wt=0,ye=2,Ve=1,ke=q.slice.call(arguments,1),fe=Object.create(this.lexer),xe={yy:{}};for(var Me in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Me)&&(xe.yy[Me]=this.yy[Me]);fe.setInput(Ct,xe.yy),xe.yy.lexer=fe,xe.yy.parser=this,fe.yylloc===void 0&&(fe.yylloc={});var Oe=fe.yylloc;q.push(Oe);var ve=fe.options&&fe.options.ranges;function Sr(){var ge;return typeof(ge=et.pop()||fe.lex()||Ve)!="number"&&(ge instanceof Array&&(ge=(et=ge).pop()),ge=xt.symbols_[ge]||ge),ge}typeof xe.yy.parseError=="function"?this.parseError=xe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _e,Je,Dt,he,re,At,Ee,Q,ce,st={};;){if(Dt=gt[gt.length-1],this.defaultActions[Dt]?he=this.defaultActions[Dt]:(_e==null&&(_e=Sr()),he=wt[Dt]&&wt[Dt][_e]),he===void 0||!he.length||!he[0]){var Te="";for(At in ce=[],wt[Dt])this.terminals_[At]&&At>ye&&ce.push("'"+this.terminals_[At]+"'");Te=fe.showPosition?"Parse error on line "+(St+1)+`: +`+fe.showPosition()+` +Expecting `+ce.join(", ")+", got '"+(this.terminals_[_e]||_e)+"'":"Parse error on line "+(St+1)+": Unexpected "+(_e==Ve?"end of input":"'"+(this.terminals_[_e]||_e)+"'"),this.parseError(Te,{text:fe.match,token:this.terminals_[_e]||_e,line:fe.yylineno,loc:Oe,expected:ce})}if(he[0]instanceof Array&&he.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Dt+", token: "+_e);switch(he[0]){case 1:gt.push(_e),ft.push(fe.yytext),q.push(fe.yylloc),gt.push(he[1]),_e=null,Je?(_e=Je,Je=null):(Lt=fe.yyleng,W=fe.yytext,St=fe.yylineno,Oe=fe.yylloc,Wt>0);break;case 2:if(Ee=this.productions_[he[1]][1],st.$=ft[ft.length-Ee],st._$={first_line:q[q.length-(Ee||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(Ee||1)].first_column,last_column:q[q.length-1].last_column},ve&&(st._$.range=[q[q.length-(Ee||1)].range[0],q[q.length-1].range[1]]),(re=this.performAction.apply(st,[W,Lt,St,xe.yy,he[1],ft,q].concat(ke)))!==void 0)return re;Ee&&(gt=gt.slice(0,-1*Ee*2),ft=ft.slice(0,-1*Ee),q=q.slice(0,-1*Ee)),gt.push(this.productions_[he[1]][0]),ft.push(st.$),q.push(st._$),Q=wt[gt[gt.length-2]][gt[gt.length-1]],gt.push(Q);break;case 3:return!0}}return!0}},Tt={EOF:1,parseError:function(Ct,xt){if(!this.yy.parser)throw new Error(Ct);this.yy.parser.parseError(Ct,xt)},setInput:function(Ct,xt){return this.yy=xt||this.yy||{},this._input=Ct,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ct=this._input[0];return this.yytext+=Ct,this.yyleng++,this.offset++,this.match+=Ct,this.matched+=Ct,Ct.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ct},unput:function(Ct){var xt=Ct.length,gt=Ct.split(/(?:\r\n?|\n)/g);this._input=Ct+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-xt),this.offset-=xt;var et=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),gt.length-1&&(this.yylineno-=gt.length-1);var ft=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:gt?(gt.length===et.length?this.yylloc.first_column:0)+et[et.length-gt.length].length-gt[0].length:this.yylloc.first_column-xt},this.options.ranges&&(this.yylloc.range=[ft[0],ft[0]+this.yyleng-xt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Ct){this.unput(this.match.slice(Ct))},pastInput:function(){var Ct=this.matched.substr(0,this.matched.length-this.match.length);return(Ct.length>20?"...":"")+Ct.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ct=this.match;return Ct.length<20&&(Ct+=this._input.substr(0,20-Ct.length)),(Ct.substr(0,20)+(Ct.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ct=this.pastInput(),xt=new Array(Ct.length+1).join("-");return Ct+this.upcomingInput()+` +`+xt+"^"},test_match:function(Ct,xt){var gt,et,ft;if(this.options.backtrack_lexer&&(ft={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ft.yylloc.range=this.yylloc.range.slice(0))),(et=Ct[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=et.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:et?et[et.length-1].length-et[et.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ct[0].length},this.yytext+=Ct[0],this.match+=Ct[0],this.matches=Ct,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ct[0].length),this.matched+=Ct[0],gt=this.performAction.call(this,this.yy,this,xt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),gt)return gt;if(this._backtrack){for(var q in ft)this[q]=ft[q];return!1}return!1},next:function(){if(this.done)return this.EOF;var Ct,xt,gt,et;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ft=this._currentRules(),q=0;qxt[0].length)){if(xt=gt,et=q,this.options.backtrack_lexer){if((Ct=this.test_match(gt,ft[q]))!==!1)return Ct;if(this._backtrack){xt=!1;continue}return!1}if(!this.options.flex)break}return xt?(Ct=this.test_match(xt,ft[et]))!==!1&&Ct:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ct){this.conditionStack.push(Ct)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ct){return(Ct=this.conditionStack.length-1-Math.abs(Ct||0))>=0?this.conditionStack[Ct]:"INITIAL"},pushState:function(Ct){this.begin(Ct)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ct,xt,gt,et){switch(gt){case 0:return this.begin("open_directive"),49;case 1:return this.begin("type_directive"),50;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),52;case 4:return 51;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 35:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:case 15:break;case 16:return 6;case 17:return 37;case 18:return 33;case 19:return 39;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 36;case 25:return 29;case 26:return 30;case 27:return 35;case 28:return 32;case 29:return 27;case 30:case 31:return 10;case 32:return 9;case 33:return"CARET";case 34:this.begin("options");break;case 36:return 13;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 28;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch\b)/i,/^(?:order:)/i,/^(?:merge\b)/i,/^(?:cherry-pick\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+)/i,/^(?:[a-zA-Z][-_\./a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[35,36],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,40,41,42],inclusive:!0}}};function mt(){this.yy={}}return Ut.lexer=Tt,mt.prototype=Ut,Ut.Parser=mt,new mt}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(8183).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},6765:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(E,D,B,U){for(B=B||{},U=E.length;U--;B[E[U]]=D);return B},v=[6,9,10],_={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(E,D,B,U,H,J,rt){switch(J.length,H){case 1:return U;case 4:break;case 6:U.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},f(v,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},f(v,[2,3]),f(v,[2,4]),f(v,[2,5]),f(v,[2,6])],defaultActions:{4:[2,1]},parseError:function(E,D){if(!D.recoverable){var B=new Error(E);throw B.hash=D,B}this.trace(E)},parse:function(E){var D=this,B=[0],U=[],H=[null],J=[],rt=this.table,dt="",K=0,_t=0,at=0,ot=2,bt=1,Ut=J.slice.call(arguments,1),Tt=Object.create(this.lexer),mt={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(mt.yy[Ct]=this.yy[Ct]);Tt.setInput(E,mt.yy),mt.yy.lexer=Tt,mt.yy.parser=this,Tt.yylloc===void 0&&(Tt.yylloc={});var xt=Tt.yylloc;J.push(xt);var gt=Tt.options&&Tt.options.ranges;function et(){var xe;return typeof(xe=U.pop()||Tt.lex()||bt)!="number"&&(xe instanceof Array&&(xe=(U=xe).pop()),xe=D.symbols_[xe]||xe),xe}typeof mt.yy.parseError=="function"?this.parseError=mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ft,q,wt,W,St,Lt,Wt,ye,Ve,ke={};;){if(wt=B[B.length-1],this.defaultActions[wt]?W=this.defaultActions[wt]:(ft==null&&(ft=et()),W=rt[wt]&&rt[wt][ft]),W===void 0||!W.length||!W[0]){var fe="";for(Lt in Ve=[],rt[wt])this.terminals_[Lt]&&Lt>ot&&Ve.push("'"+this.terminals_[Lt]+"'");fe=Tt.showPosition?"Parse error on line "+(K+1)+`: +`+Tt.showPosition()+` +Expecting `+Ve.join(", ")+", got '"+(this.terminals_[ft]||ft)+"'":"Parse error on line "+(K+1)+": Unexpected "+(ft==bt?"end of input":"'"+(this.terminals_[ft]||ft)+"'"),this.parseError(fe,{text:Tt.match,token:this.terminals_[ft]||ft,line:Tt.yylineno,loc:xt,expected:Ve})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+wt+", token: "+ft);switch(W[0]){case 1:B.push(ft),H.push(Tt.yytext),J.push(Tt.yylloc),B.push(W[1]),ft=null,q?(ft=q,q=null):(_t=Tt.yyleng,dt=Tt.yytext,K=Tt.yylineno,xt=Tt.yylloc,at>0);break;case 2:if(Wt=this.productions_[W[1]][1],ke.$=H[H.length-Wt],ke._$={first_line:J[J.length-(Wt||1)].first_line,last_line:J[J.length-1].last_line,first_column:J[J.length-(Wt||1)].first_column,last_column:J[J.length-1].last_column},gt&&(ke._$.range=[J[J.length-(Wt||1)].range[0],J[J.length-1].range[1]]),(St=this.performAction.apply(ke,[dt,_t,K,mt.yy,W[1],H,J].concat(Ut)))!==void 0)return St;Wt&&(B=B.slice(0,-1*Wt*2),H=H.slice(0,-1*Wt),J=J.slice(0,-1*Wt)),B.push(this.productions_[W[1]][0]),H.push(ke.$),J.push(ke._$),ye=rt[B[B.length-2]][B[B.length-1]],B.push(ye);break;case 3:return!0}}return!0}},S={EOF:1,parseError:function(E,D){if(!this.yy.parser)throw new Error(E);this.yy.parser.parseError(E,D)},setInput:function(E,D){return this.yy=D||this.yy||{},this._input=E,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var E=this._input[0];return this.yytext+=E,this.yyleng++,this.offset++,this.match+=E,this.matched+=E,E.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),E},unput:function(E){var D=E.length,B=E.split(/(?:\r\n?|\n)/g);this._input=E+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var U=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var H=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:B?(B.length===U.length?this.yylloc.first_column:0)+U[U.length-B.length].length-B[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[H[0],H[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(E){this.unput(this.match.slice(E))},pastInput:function(){var E=this.matched.substr(0,this.matched.length-this.match.length);return(E.length>20?"...":"")+E.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var E=this.match;return E.length<20&&(E+=this._input.substr(0,20-E.length)),(E.substr(0,20)+(E.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var E=this.pastInput(),D=new Array(E.length+1).join("-");return E+this.upcomingInput()+` +`+D+"^"},test_match:function(E,D){var B,U,H;if(this.options.backtrack_lexer&&(H={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(H.yylloc.range=this.yylloc.range.slice(0))),(U=E[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=U.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:U?U[U.length-1].length-U[U.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+E[0].length},this.yytext+=E[0],this.match+=E[0],this.matches=E,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(E[0].length),this.matched+=E[0],B=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var J in H)this[J]=H[J];return!1}return!1},next:function(){if(this.done)return this.EOF;var E,D,B,U;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var H=this._currentRules(),J=0;JD[0].length)){if(D=B,U=J,this.options.backtrack_lexer){if((E=this.test_match(B,H[J]))!==!1)return E;if(this._backtrack){D=!1;continue}return!1}if(!this.options.flex)break}return D?(E=this.test_match(D,H[U]))!==!1&&E:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(E){this.conditionStack.push(E)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(E){return(E=this.conditionStack.length-1-Math.abs(E||0))>=0?this.conditionStack[E]:"INITIAL"},pushState:function(E){this.begin(E)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(E,D,B,U){switch(B){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function M(){this.yy={}}return _.lexer=S,M.prototype=_,_.Parser=M,new M}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(1428).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},7062:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(xt,gt,et,ft){for(et=et||{},ft=xt.length;ft--;et[xt[ft]]=gt);return et},v=[1,4],_=[1,5],S=[1,6],M=[1,7],E=[1,9],D=[1,11,13,15,17,19,20,26,27,28,29],B=[2,5],U=[1,6,11,13,15,17,19,20,26,27,28,29],H=[26,27,28],J=[2,8],rt=[1,18],dt=[1,19],K=[1,20],_t=[1,21],at=[1,22],ot=[1,23],bt=[1,28],Ut=[6,26,27,28,29],Tt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(xt,gt,et,ft,q,wt,W){var St=wt.length-1;switch(q){case 4:ft.setShowData(!0);break;case 7:this.$=wt[St-1];break;case 9:ft.addSection(wt[St-1],ft.cleanupValue(wt[St]));break;case 10:this.$=wt[St].trim(),ft.setDiagramTitle(this.$);break;case 11:this.$=wt[St].trim(),ft.setAccTitle(this.$);break;case 12:case 13:this.$=wt[St].trim(),ft.setAccDescription(this.$);break;case 14:ft.addSection(wt[St].substr(8)),this.$=wt[St].substr(8);break;case 21:ft.parseDirective("%%{","open_directive");break;case 22:ft.parseDirective(wt[St],"type_directive");break;case 23:wt[St]=wt[St].trim().replace(/'/g,'"'),ft.parseDirective(wt[St],"arg_directive");break;case 24:ft.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:v,21:8,26:_,27:S,28:M,29:E},{1:[3]},{3:10,4:2,5:3,6:v,21:8,26:_,27:S,28:M,29:E},{3:11,4:2,5:3,6:v,21:8,26:_,27:S,28:M,29:E},f(D,B,{7:12,8:[1,13]}),f(U,[2,18]),f(U,[2,19]),f(U,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},f(H,J,{21:8,9:16,10:17,5:24,1:[2,3],11:rt,13:dt,15:K,17:_t,19:at,20:ot,29:E}),f(D,B,{7:25}),{23:26,24:[1,27],32:bt},f([24,32],[2,22]),f(D,[2,6]),{4:29,26:_,27:S,28:M},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},f(H,[2,13]),f(H,[2,14]),f(H,[2,15]),f(H,J,{21:8,9:16,10:17,5:24,1:[2,4],11:rt,13:dt,15:K,17:_t,19:at,20:ot,29:E}),f(Ut,[2,16]),{25:34,31:[1,35]},f(Ut,[2,24]),f(D,[2,7]),f(H,[2,9]),f(H,[2,10]),f(H,[2,11]),f(H,[2,12]),{23:36,32:bt},{32:[2,23]},f(Ut,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(xt,gt){if(!gt.recoverable){var et=new Error(xt);throw et.hash=gt,et}this.trace(xt)},parse:function(xt){var gt=this,et=[0],ft=[],q=[null],wt=[],W=this.table,St="",Lt=0,Wt=0,ye=0,Ve=2,ke=1,fe=wt.slice.call(arguments,1),xe=Object.create(this.lexer),Me={yy:{}};for(var Oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Oe)&&(Me.yy[Oe]=this.yy[Oe]);xe.setInput(xt,Me.yy),Me.yy.lexer=xe,Me.yy.parser=this,xe.yylloc===void 0&&(xe.yylloc={});var ve=xe.yylloc;wt.push(ve);var Sr=xe.options&&xe.options.ranges;function _e(){var Pe;return typeof(Pe=ft.pop()||xe.lex()||ke)!="number"&&(Pe instanceof Array&&(Pe=(ft=Pe).pop()),Pe=gt.symbols_[Pe]||Pe),Pe}typeof Me.yy.parseError=="function"?this.parseError=Me.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Je,Dt,he,re,At,Ee,Q,ce,st,Te={};;){if(he=et[et.length-1],this.defaultActions[he]?re=this.defaultActions[he]:(Je==null&&(Je=_e()),re=W[he]&&W[he][Je]),re===void 0||!re.length||!re[0]){var ge="";for(Ee in st=[],W[he])this.terminals_[Ee]&&Ee>Ve&&st.push("'"+this.terminals_[Ee]+"'");ge=xe.showPosition?"Parse error on line "+(Lt+1)+`: +`+xe.showPosition()+` +Expecting `+st.join(", ")+", got '"+(this.terminals_[Je]||Je)+"'":"Parse error on line "+(Lt+1)+": Unexpected "+(Je==ke?"end of input":"'"+(this.terminals_[Je]||Je)+"'"),this.parseError(ge,{text:xe.match,token:this.terminals_[Je]||Je,line:xe.yylineno,loc:ve,expected:st})}if(re[0]instanceof Array&&re.length>1)throw new Error("Parse Error: multiple actions possible at state: "+he+", token: "+Je);switch(re[0]){case 1:et.push(Je),q.push(xe.yytext),wt.push(xe.yylloc),et.push(re[1]),Je=null,Dt?(Je=Dt,Dt=null):(Wt=xe.yyleng,St=xe.yytext,Lt=xe.yylineno,ve=xe.yylloc,ye>0);break;case 2:if(Q=this.productions_[re[1]][1],Te.$=q[q.length-Q],Te._$={first_line:wt[wt.length-(Q||1)].first_line,last_line:wt[wt.length-1].last_line,first_column:wt[wt.length-(Q||1)].first_column,last_column:wt[wt.length-1].last_column},Sr&&(Te._$.range=[wt[wt.length-(Q||1)].range[0],wt[wt.length-1].range[1]]),(At=this.performAction.apply(Te,[St,Wt,Lt,Me.yy,re[1],q,wt].concat(fe)))!==void 0)return At;Q&&(et=et.slice(0,-1*Q*2),q=q.slice(0,-1*Q),wt=wt.slice(0,-1*Q)),et.push(this.productions_[re[1]][0]),q.push(Te.$),wt.push(Te._$),ce=W[et[et.length-2]][et[et.length-1]],et.push(ce);break;case 3:return!0}}return!0}},mt={EOF:1,parseError:function(xt,gt){if(!this.yy.parser)throw new Error(xt);this.yy.parser.parseError(xt,gt)},setInput:function(xt,gt){return this.yy=gt||this.yy||{},this._input=xt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var xt=this._input[0];return this.yytext+=xt,this.yyleng++,this.offset++,this.match+=xt,this.matched+=xt,xt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xt},unput:function(xt){var gt=xt.length,et=xt.split(/(?:\r\n?|\n)/g);this._input=xt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-gt),this.offset-=gt;var ft=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),et.length-1&&(this.yylineno-=et.length-1);var q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:et?(et.length===ft.length?this.yylloc.first_column:0)+ft[ft.length-et.length].length-et[0].length:this.yylloc.first_column-gt},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-gt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(xt){this.unput(this.match.slice(xt))},pastInput:function(){var xt=this.matched.substr(0,this.matched.length-this.match.length);return(xt.length>20?"...":"")+xt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var xt=this.match;return xt.length<20&&(xt+=this._input.substr(0,20-xt.length)),(xt.substr(0,20)+(xt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var xt=this.pastInput(),gt=new Array(xt.length+1).join("-");return xt+this.upcomingInput()+` +`+gt+"^"},test_match:function(xt,gt){var et,ft,q;if(this.options.backtrack_lexer&&(q={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(q.yylloc.range=this.yylloc.range.slice(0))),(ft=xt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ft.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ft?ft[ft.length-1].length-ft[ft.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+xt[0].length},this.yytext+=xt[0],this.match+=xt[0],this.matches=xt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(xt[0].length),this.matched+=xt[0],et=this.performAction.call(this,this.yy,this,gt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),et)return et;if(this._backtrack){for(var wt in q)this[wt]=q[wt];return!1}return!1},next:function(){if(this.done)return this.EOF;var xt,gt,et,ft;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),wt=0;wtgt[0].length)){if(gt=et,ft=wt,this.options.backtrack_lexer){if((xt=this.test_match(et,q[wt]))!==!1)return xt;if(this._backtrack){gt=!1;continue}return!1}if(!this.options.flex)break}return gt?(xt=this.test_match(gt,q[ft]))!==!1&&xt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(xt){this.conditionStack.push(xt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(xt){return(xt=this.conditionStack.length-1-Math.abs(xt||0))>=0?this.conditionStack[xt]:"INITIAL"},pushState:function(xt){this.begin(xt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(xt,gt,et,ft){switch(et){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function Ct(){this.yy={}}return Tt.lexer=mt,Ct.prototype=Tt,Tt.Parser=Ct,new Ct}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(4551).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},3176:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(Dt,he,re,At){for(re=re||{},At=Dt.length;At--;re[Dt[At]]=he);return re},v=[1,3],_=[1,5],S=[1,6],M=[1,7],E=[1,8],D=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],B=[1,22],U=[2,13],H=[1,26],J=[1,27],rt=[1,28],dt=[1,29],K=[1,30],_t=[1,31],at=[1,24],ot=[1,32],bt=[1,33],Ut=[1,36],Tt=[71,72],mt=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],Ct=[1,56],xt=[1,57],gt=[1,58],et=[1,59],ft=[1,60],q=[1,61],wt=[1,62],W=[62,63],St=[1,74],Lt=[1,70],Wt=[1,71],ye=[1,72],Ve=[1,73],ke=[1,75],fe=[1,79],xe=[1,80],Me=[1,77],Oe=[1,78],ve=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],Sr={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(Dt,he,re,At,Ee,Q,ce){var st=Q.length-1;switch(Ee){case 6:this.$=Q[st].trim(),At.setAccTitle(this.$);break;case 7:case 8:this.$=Q[st].trim(),At.setAccDescription(this.$);break;case 9:At.parseDirective("%%{","open_directive");break;case 10:At.parseDirective(Q[st],"type_directive");break;case 11:Q[st]=Q[st].trim().replace(/'/g,'"'),At.parseDirective(Q[st],"arg_directive");break;case 12:At.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:At.addRequirement(Q[st-3],Q[st-4]);break;case 20:At.setNewReqId(Q[st-2]);break;case 21:At.setNewReqText(Q[st-2]);break;case 22:At.setNewReqRisk(Q[st-2]);break;case 23:At.setNewReqVerifyMethod(Q[st-2]);break;case 26:this.$=At.RequirementType.REQUIREMENT;break;case 27:this.$=At.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=At.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=At.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=At.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=At.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=At.RiskLevel.LOW_RISK;break;case 33:this.$=At.RiskLevel.MED_RISK;break;case 34:this.$=At.RiskLevel.HIGH_RISK;break;case 35:this.$=At.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=At.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=At.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=At.VerifyType.VERIFY_TEST;break;case 39:At.addElement(Q[st-3]);break;case 40:At.setNewElementType(Q[st-2]);break;case 41:At.setNewElementDocRef(Q[st-2]);break;case 44:At.addRelationship(Q[st-2],Q[st],Q[st-4]);break;case 45:At.addRelationship(Q[st-2],Q[st-4],Q[st]);break;case 46:this.$=At.Relationships.CONTAINS;break;case 47:this.$=At.Relationships.COPIES;break;case 48:this.$=At.Relationships.DERIVES;break;case 49:this.$=At.Relationships.SATISFIES;break;case 50:this.$=At.Relationships.VERIFIES;break;case 51:this.$=At.Relationships.REFINES;break;case 52:this.$=At.Relationships.TRACES}},table:[{3:1,4:2,6:v,9:4,14:_,16:S,18:M,19:E},{1:[3]},{3:10,4:2,5:[1,9],6:v,9:4,14:_,16:S,18:M,19:E},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},f(D,[2,8]),{20:[2,9]},{3:16,4:2,6:v,9:4,14:_,16:S,18:M,19:E},{1:[2,2]},{4:21,5:B,7:17,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{11:34,12:[1,35],22:Ut},f([12,22],[2,10]),f(D,[2,6]),f(D,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:B,7:38,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{4:21,5:B,7:39,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{4:21,5:B,7:40,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{4:21,5:B,7:41,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{4:21,5:B,7:42,8:U,9:4,14:_,16:S,18:M,19:E,23:18,24:19,25:20,26:23,32:25,40:H,41:J,42:rt,43:dt,44:K,45:_t,53:at,71:ot,72:bt},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},f(Tt,[2,26]),f(Tt,[2,27]),f(Tt,[2,28]),f(Tt,[2,29]),f(Tt,[2,30]),f(Tt,[2,31]),f(mt,[2,55]),f(mt,[2,56]),f(D,[2,4]),{13:51,21:[1,52]},f(D,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:Ct,65:xt,66:gt,67:et,68:ft,69:q,70:wt},{61:63,64:Ct,65:xt,66:gt,67:et,68:ft,69:q,70:wt},{11:64,22:Ut},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},f(W,[2,46]),f(W,[2,47]),f(W,[2,48]),f(W,[2,49]),f(W,[2,50]),f(W,[2,51]),f(W,[2,52]),{63:[1,68]},f(D,[2,5]),{5:St,29:69,30:Lt,33:Wt,35:ye,37:Ve,39:ke},{5:fe,39:xe,55:76,56:Me,58:Oe},{32:81,71:ot,72:bt},{32:82,71:ot,72:bt},f(ve,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:St,29:87,30:Lt,33:Wt,35:ye,37:Ve,39:ke},f(ve,[2,25]),f(ve,[2,39]),{31:[1,88]},{31:[1,89]},{5:fe,39:xe,55:90,56:Me,58:Oe},f(ve,[2,43]),f(ve,[2,44]),f(ve,[2,45]),{32:91,71:ot,72:bt},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},f(ve,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},f(ve,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:St,29:116,30:Lt,33:Wt,35:ye,37:Ve,39:ke},{5:St,29:117,30:Lt,33:Wt,35:ye,37:Ve,39:ke},{5:St,29:118,30:Lt,33:Wt,35:ye,37:Ve,39:ke},{5:St,29:119,30:Lt,33:Wt,35:ye,37:Ve,39:ke},{5:fe,39:xe,55:120,56:Me,58:Oe},{5:fe,39:xe,55:121,56:Me,58:Oe},f(ve,[2,20]),f(ve,[2,21]),f(ve,[2,22]),f(ve,[2,23]),f(ve,[2,40]),f(ve,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(Dt,he){if(!he.recoverable){var re=new Error(Dt);throw re.hash=he,re}this.trace(Dt)},parse:function(Dt){var he=this,re=[0],At=[],Ee=[null],Q=[],ce=this.table,st="",Te=0,ge=0,Pe=0,ar=2,Ze=1,lr=Q.slice.call(arguments,1),Ie=Object.create(this.lexer),Re={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(Re.yy[Ue]=this.yy[Ue]);Ie.setInput(Dt,Re.yy),Re.yy.lexer=Ie,Re.yy.parser=this,Ie.yylloc===void 0&&(Ie.yylloc={});var Fe=Ie.yylloc;Q.push(Fe);var be=Ie.options&&Ie.options.ranges;function ae(){var Se;return typeof(Se=At.pop()||Ie.lex()||Ze)!="number"&&(Se instanceof Array&&(Se=(At=Se).pop()),Se=he.symbols_[Se]||Se),Se}typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var br,qe,sr,$e,Er,Jr,Ir,Br,Ne,Qe={};;){if(sr=re[re.length-1],this.defaultActions[sr]?$e=this.defaultActions[sr]:(br==null&&(br=ae()),$e=ce[sr]&&ce[sr][br]),$e===void 0||!$e.length||!$e[0]){var rr="";for(Jr in Ne=[],ce[sr])this.terminals_[Jr]&&Jr>ar&&Ne.push("'"+this.terminals_[Jr]+"'");rr=Ie.showPosition?"Parse error on line "+(Te+1)+`: +`+Ie.showPosition()+` +Expecting `+Ne.join(", ")+", got '"+(this.terminals_[br]||br)+"'":"Parse error on line "+(Te+1)+": Unexpected "+(br==Ze?"end of input":"'"+(this.terminals_[br]||br)+"'"),this.parseError(rr,{text:Ie.match,token:this.terminals_[br]||br,line:Ie.yylineno,loc:Fe,expected:Ne})}if($e[0]instanceof Array&&$e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+sr+", token: "+br);switch($e[0]){case 1:re.push(br),Ee.push(Ie.yytext),Q.push(Ie.yylloc),re.push($e[1]),br=null,qe?(br=qe,qe=null):(ge=Ie.yyleng,st=Ie.yytext,Te=Ie.yylineno,Fe=Ie.yylloc,Pe>0);break;case 2:if(Ir=this.productions_[$e[1]][1],Qe.$=Ee[Ee.length-Ir],Qe._$={first_line:Q[Q.length-(Ir||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(Ir||1)].first_column,last_column:Q[Q.length-1].last_column},be&&(Qe._$.range=[Q[Q.length-(Ir||1)].range[0],Q[Q.length-1].range[1]]),(Er=this.performAction.apply(Qe,[st,ge,Te,Re.yy,$e[1],Ee,Q].concat(lr)))!==void 0)return Er;Ir&&(re=re.slice(0,-1*Ir*2),Ee=Ee.slice(0,-1*Ir),Q=Q.slice(0,-1*Ir)),re.push(this.productions_[$e[1]][0]),Ee.push(Qe.$),Q.push(Qe._$),Br=ce[re[re.length-2]][re[re.length-1]],re.push(Br);break;case 3:return!0}}return!0}},_e={EOF:1,parseError:function(Dt,he){if(!this.yy.parser)throw new Error(Dt);this.yy.parser.parseError(Dt,he)},setInput:function(Dt,he){return this.yy=he||this.yy||{},this._input=Dt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Dt=this._input[0];return this.yytext+=Dt,this.yyleng++,this.offset++,this.match+=Dt,this.matched+=Dt,Dt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Dt},unput:function(Dt){var he=Dt.length,re=Dt.split(/(?:\r\n?|\n)/g);this._input=Dt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-he),this.offset-=he;var At=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),re.length-1&&(this.yylineno-=re.length-1);var Ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:re?(re.length===At.length?this.yylloc.first_column:0)+At[At.length-re.length].length-re[0].length:this.yylloc.first_column-he},this.options.ranges&&(this.yylloc.range=[Ee[0],Ee[0]+this.yyleng-he]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Dt){this.unput(this.match.slice(Dt))},pastInput:function(){var Dt=this.matched.substr(0,this.matched.length-this.match.length);return(Dt.length>20?"...":"")+Dt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Dt=this.match;return Dt.length<20&&(Dt+=this._input.substr(0,20-Dt.length)),(Dt.substr(0,20)+(Dt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Dt=this.pastInput(),he=new Array(Dt.length+1).join("-");return Dt+this.upcomingInput()+` +`+he+"^"},test_match:function(Dt,he){var re,At,Ee;if(this.options.backtrack_lexer&&(Ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ee.yylloc.range=this.yylloc.range.slice(0))),(At=Dt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=At.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:At?At[At.length-1].length-At[At.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Dt[0].length},this.yytext+=Dt[0],this.match+=Dt[0],this.matches=Dt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Dt[0].length),this.matched+=Dt[0],re=this.performAction.call(this,this.yy,this,he,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),re)return re;if(this._backtrack){for(var Q in Ee)this[Q]=Ee[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;var Dt,he,re,At;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Ee=this._currentRules(),Q=0;Qhe[0].length)){if(he=re,At=Q,this.options.backtrack_lexer){if((Dt=this.test_match(re,Ee[Q]))!==!1)return Dt;if(this._backtrack){he=!1;continue}return!1}if(!this.options.flex)break}return he?(Dt=this.test_match(he,Ee[At]))!==!1&&Dt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Dt){this.conditionStack.push(Dt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Dt){return(Dt=this.conditionStack.length-1-Math.abs(Dt||0))>=0?this.conditionStack[Dt]:"INITIAL"},pushState:function(Dt){this.begin(Dt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Dt,he,re,At){switch(re){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return he.yytext=he.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function Je(){this.yy={}}return Sr.lexer=_e,Je.prototype=Sr,Sr.Parser=Je,new Je}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(8800).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},6876:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(Dt,he,re,At){for(re=re||{},At=Dt.length;At--;re[Dt[At]]=he);return re},v=[1,2],_=[1,3],S=[1,5],M=[1,7],E=[2,5],D=[1,15],B=[1,17],U=[1,18],H=[1,19],J=[1,21],rt=[1,22],dt=[1,23],K=[1,29],_t=[1,30],at=[1,31],ot=[1,32],bt=[1,33],Ut=[1,34],Tt=[1,35],mt=[1,36],Ct=[1,37],xt=[1,38],gt=[1,39],et=[1,40],ft=[1,43],q=[1,44],wt=[1,45],W=[1,46],St=[1,47],Lt=[1,48],Wt=[1,51],ye=[1,4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],Ve=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,53,58,59,60,61,69,79],ke=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,52,53,58,59,60,61,69,79],fe=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,51,53,58,59,60,61,69,79],xe=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,53,58,59,60,61,69,79],Me=[67,68,69],Oe=[1,121],ve=[1,4,5,7,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],Sr={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,NUM:23,off:24,activate:25,deactivate:26,note_statement:27,links_statement:28,link_statement:29,properties_statement:30,details_statement:31,title:32,legacy_title:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,loop:39,end:40,rect:41,opt:42,alt:43,else_sections:44,par:45,par_sections:46,critical:47,option_sections:48,break:49,option:50,and:51,else:52,note:53,placement:54,text2:55,over:56,actor_pair:57,links:58,link:59,properties:60,details:61,spaceList:62,",":63,left_of:64,right_of:65,signaltype:66,"+":67,"-":68,ACTOR:69,SOLID_OPEN_ARROW:70,DOTTED_OPEN_ARROW:71,SOLID_ARROW:72,DOTTED_ARROW:73,SOLID_CROSS:74,DOTTED_CROSS:75,SOLID_POINT:76,DOTTED_POINT:77,TXT:78,open_directive:79,type_directive:80,arg_directive:81,close_directive:82,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"NUM",24:"off",25:"activate",26:"deactivate",32:"title",33:"legacy_title",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",39:"loop",40:"end",41:"rect",42:"opt",43:"alt",45:"par",47:"critical",49:"break",50:"option",51:"and",52:"else",53:"note",56:"over",58:"links",59:"link",60:"properties",61:"details",63:",",64:"left_of",65:"right_of",67:"+",68:"-",69:"ACTOR",70:"SOLID_OPEN_ARROW",71:"DOTTED_OPEN_ARROW",72:"SOLID_ARROW",73:"DOTTED_ARROW",74:"SOLID_CROSS",75:"DOTTED_CROSS",76:"SOLID_POINT",77:"DOTTED_POINT",78:"TXT",79:"open_directive",80:"type_directive",81:"arg_directive",82:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[48,1],[48,4],[46,1],[46,4],[44,1],[44,4],[27,4],[27,4],[28,3],[29,3],[30,3],[31,3],[62,2],[62,1],[57,3],[57,1],[54,1],[54,1],[21,5],[21,5],[21,4],[17,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[55,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(Dt,he,re,At,Ee,Q,ce){var st=Q.length-1;switch(Ee){case 4:return At.apply(Q[st]),Q[st];case 5:case 9:this.$=[];break;case 6:Q[st-1].push(Q[st]),this.$=Q[st-1];break;case 7:case 8:case 56:this.$=Q[st];break;case 12:Q[st-3].type="addParticipant",Q[st-3].description=At.parseMessage(Q[st-1]),this.$=Q[st-3];break;case 13:Q[st-1].type="addParticipant",this.$=Q[st-1];break;case 14:Q[st-3].type="addActor",Q[st-3].description=At.parseMessage(Q[st-1]),this.$=Q[st-3];break;case 15:Q[st-1].type="addActor",this.$=Q[st-1];break;case 17:this.$={type:"sequenceIndex",sequenceIndex:Number(Q[st-2]),sequenceIndexStep:Number(Q[st-1]),sequenceVisible:!0,signalType:At.LINETYPE.AUTONUMBER};break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(Q[st-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:At.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:At.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:At.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"activeStart",signalType:At.LINETYPE.ACTIVE_START,actor:Q[st-1]};break;case 22:this.$={type:"activeEnd",signalType:At.LINETYPE.ACTIVE_END,actor:Q[st-1]};break;case 28:At.setDiagramTitle(Q[st].substring(6)),this.$=Q[st].substring(6);break;case 29:At.setDiagramTitle(Q[st].substring(7)),this.$=Q[st].substring(7);break;case 30:this.$=Q[st].trim(),At.setAccTitle(this.$);break;case 31:case 32:this.$=Q[st].trim(),At.setAccDescription(this.$);break;case 33:Q[st-1].unshift({type:"loopStart",loopText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.LOOP_START}),Q[st-1].push({type:"loopEnd",loopText:Q[st-2],signalType:At.LINETYPE.LOOP_END}),this.$=Q[st-1];break;case 34:Q[st-1].unshift({type:"rectStart",color:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.RECT_START}),Q[st-1].push({type:"rectEnd",color:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.RECT_END}),this.$=Q[st-1];break;case 35:Q[st-1].unshift({type:"optStart",optText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.OPT_START}),Q[st-1].push({type:"optEnd",optText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.OPT_END}),this.$=Q[st-1];break;case 36:Q[st-1].unshift({type:"altStart",altText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.ALT_START}),Q[st-1].push({type:"altEnd",signalType:At.LINETYPE.ALT_END}),this.$=Q[st-1];break;case 37:Q[st-1].unshift({type:"parStart",parText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.PAR_START}),Q[st-1].push({type:"parEnd",signalType:At.LINETYPE.PAR_END}),this.$=Q[st-1];break;case 38:Q[st-1].unshift({type:"criticalStart",criticalText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.CRITICAL_START}),Q[st-1].push({type:"criticalEnd",signalType:At.LINETYPE.CRITICAL_END}),this.$=Q[st-1];break;case 39:Q[st-1].unshift({type:"breakStart",breakText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.BREAK_START}),Q[st-1].push({type:"breakEnd",optText:At.parseMessage(Q[st-2]),signalType:At.LINETYPE.BREAK_END}),this.$=Q[st-1];break;case 42:this.$=Q[st-3].concat([{type:"option",optionText:At.parseMessage(Q[st-1]),signalType:At.LINETYPE.CRITICAL_OPTION},Q[st]]);break;case 44:this.$=Q[st-3].concat([{type:"and",parText:At.parseMessage(Q[st-1]),signalType:At.LINETYPE.PAR_AND},Q[st]]);break;case 46:this.$=Q[st-3].concat([{type:"else",altText:At.parseMessage(Q[st-1]),signalType:At.LINETYPE.ALT_ELSE},Q[st]]);break;case 47:this.$=[Q[st-1],{type:"addNote",placement:Q[st-2],actor:Q[st-1].actor,text:Q[st]}];break;case 48:Q[st-2]=[].concat(Q[st-1],Q[st-1]).slice(0,2),Q[st-2][0]=Q[st-2][0].actor,Q[st-2][1]=Q[st-2][1].actor,this.$=[Q[st-1],{type:"addNote",placement:At.PLACEMENT.OVER,actor:Q[st-2].slice(0,2),text:Q[st]}];break;case 49:this.$=[Q[st-1],{type:"addLinks",actor:Q[st-1].actor,text:Q[st]}];break;case 50:this.$=[Q[st-1],{type:"addALink",actor:Q[st-1].actor,text:Q[st]}];break;case 51:this.$=[Q[st-1],{type:"addProperties",actor:Q[st-1].actor,text:Q[st]}];break;case 52:this.$=[Q[st-1],{type:"addDetails",actor:Q[st-1].actor,text:Q[st]}];break;case 55:this.$=[Q[st-2],Q[st]];break;case 57:this.$=At.PLACEMENT.LEFTOF;break;case 58:this.$=At.PLACEMENT.RIGHTOF;break;case 59:this.$=[Q[st-4],Q[st-1],{type:"addMessage",from:Q[st-4].actor,to:Q[st-1].actor,signalType:Q[st-3],msg:Q[st]},{type:"activeStart",signalType:At.LINETYPE.ACTIVE_START,actor:Q[st-1]}];break;case 60:this.$=[Q[st-4],Q[st-1],{type:"addMessage",from:Q[st-4].actor,to:Q[st-1].actor,signalType:Q[st-3],msg:Q[st]},{type:"activeEnd",signalType:At.LINETYPE.ACTIVE_END,actor:Q[st-4]}];break;case 61:this.$=[Q[st-3],Q[st-1],{type:"addMessage",from:Q[st-3].actor,to:Q[st-1].actor,signalType:Q[st-2],msg:Q[st]}];break;case 62:this.$={type:"addParticipant",actor:Q[st]};break;case 63:this.$=At.LINETYPE.SOLID_OPEN;break;case 64:this.$=At.LINETYPE.DOTTED_OPEN;break;case 65:this.$=At.LINETYPE.SOLID;break;case 66:this.$=At.LINETYPE.DOTTED;break;case 67:this.$=At.LINETYPE.SOLID_CROSS;break;case 68:this.$=At.LINETYPE.DOTTED_CROSS;break;case 69:this.$=At.LINETYPE.SOLID_POINT;break;case 70:this.$=At.LINETYPE.DOTTED_POINT;break;case 71:this.$=At.parseMessage(Q[st].trim().substring(1));break;case 72:At.parseDirective("%%{","open_directive");break;case 73:At.parseDirective(Q[st],"type_directive");break;case 74:Q[st]=Q[st].trim().replace(/'/g,'"'),At.parseDirective(Q[st],"arg_directive");break;case 75:At.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:v,5:_,6:4,7:S,11:6,79:M},{1:[3]},{3:8,4:v,5:_,6:4,7:S,11:6,79:M},{3:9,4:v,5:_,6:4,7:S,11:6,79:M},{3:10,4:v,5:_,6:4,7:S,11:6,79:M},f([1,4,5,16,20,22,25,26,32,33,34,36,38,39,41,42,43,45,47,49,53,58,59,60,61,69,79],E,{8:11}),{12:12,80:[1,13]},{80:[2,72]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{13:49,14:[1,50],82:Wt},f([14,82],[2,73]),f(ye,[2,6]),{6:41,10:52,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},f(ye,[2,8]),f(ye,[2,9]),{17:53,69:Lt},{17:54,69:Lt},{5:[1,55]},{5:[1,58],23:[1,56],24:[1,57]},{17:59,69:Lt},{17:60,69:Lt},{5:[1,61]},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},f(ye,[2,28]),f(ye,[2,29]),{35:[1,66]},{37:[1,67]},f(ye,[2,32]),{19:[1,68]},{19:[1,69]},{19:[1,70]},{19:[1,71]},{19:[1,72]},{19:[1,73]},{19:[1,74]},f(ye,[2,40]),{66:75,70:[1,76],71:[1,77],72:[1,78],73:[1,79],74:[1,80],75:[1,81],76:[1,82],77:[1,83]},{54:84,56:[1,85],64:[1,86],65:[1,87]},{17:88,69:Lt},{17:89,69:Lt},{17:90,69:Lt},{17:91,69:Lt},f([5,18,63,70,71,72,73,74,75,76,77,78],[2,62]),{5:[1,92]},{15:93,81:[1,94]},{5:[2,75]},f(ye,[2,7]),{5:[1,96],18:[1,95]},{5:[1,98],18:[1,97]},f(ye,[2,16]),{5:[1,100],23:[1,99]},{5:[1,101]},f(ye,[2,20]),{5:[1,102]},{5:[1,103]},f(ye,[2,23]),f(ye,[2,24]),f(ye,[2,25]),f(ye,[2,26]),f(ye,[2,27]),f(ye,[2,30]),f(ye,[2,31]),f(Ve,E,{8:104}),f(Ve,E,{8:105}),f(Ve,E,{8:106}),f(ke,E,{44:107,8:108}),f(fe,E,{46:109,8:110}),f(xe,E,{48:111,8:112}),f(Ve,E,{8:113}),{17:116,67:[1,114],68:[1,115],69:Lt},f(Me,[2,63]),f(Me,[2,64]),f(Me,[2,65]),f(Me,[2,66]),f(Me,[2,67]),f(Me,[2,68]),f(Me,[2,69]),f(Me,[2,70]),{17:117,69:Lt},{17:119,57:118,69:Lt},{69:[2,57]},{69:[2,58]},{55:120,78:Oe},{55:122,78:Oe},{55:123,78:Oe},{55:124,78:Oe},f(ve,[2,10]),{13:125,82:Wt},{82:[2,74]},{19:[1,126]},f(ye,[2,13]),{19:[1,127]},f(ye,[2,15]),{5:[1,128]},f(ye,[2,18]),f(ye,[2,19]),f(ye,[2,21]),f(ye,[2,22]),{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[1,129],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[1,130],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[1,131],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{40:[1,132]},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[2,45],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,52:[1,133],53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{40:[1,134]},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[2,43],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,51:[1,135],53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{40:[1,136]},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[2,41],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,50:[1,137],53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{4:D,5:B,6:41,9:14,10:16,11:6,16:U,17:42,20:H,21:20,22:J,25:rt,26:dt,27:24,28:25,29:26,30:27,31:28,32:K,33:_t,34:at,36:ot,38:bt,39:Ut,40:[1,138],41:Tt,42:mt,43:Ct,45:xt,47:gt,49:et,53:ft,58:q,59:wt,60:W,61:St,69:Lt,79:M},{17:139,69:Lt},{17:140,69:Lt},{55:141,78:Oe},{55:142,78:Oe},{55:143,78:Oe},{63:[1,144],78:[2,56]},{5:[2,49]},{5:[2,71]},{5:[2,50]},{5:[2,51]},{5:[2,52]},{5:[1,145]},{5:[1,146]},{5:[1,147]},f(ye,[2,17]),f(ye,[2,33]),f(ye,[2,34]),f(ye,[2,35]),f(ye,[2,36]),{19:[1,148]},f(ye,[2,37]),{19:[1,149]},f(ye,[2,38]),{19:[1,150]},f(ye,[2,39]),{55:151,78:Oe},{55:152,78:Oe},{5:[2,61]},{5:[2,47]},{5:[2,48]},{17:153,69:Lt},f(ve,[2,11]),f(ye,[2,12]),f(ye,[2,14]),f(ke,E,{8:108,44:154}),f(fe,E,{8:110,46:155}),f(xe,E,{8:112,48:156}),{5:[2,59]},{5:[2,60]},{78:[2,55]},{40:[2,46]},{40:[2,44]},{40:[2,42]}],defaultActions:{7:[2,72],8:[2,1],9:[2,2],10:[2,3],51:[2,75],86:[2,57],87:[2,58],94:[2,74],120:[2,49],121:[2,71],122:[2,50],123:[2,51],124:[2,52],141:[2,61],142:[2,47],143:[2,48],151:[2,59],152:[2,60],153:[2,55],154:[2,46],155:[2,44],156:[2,42]},parseError:function(Dt,he){if(!he.recoverable){var re=new Error(Dt);throw re.hash=he,re}this.trace(Dt)},parse:function(Dt){var he=this,re=[0],At=[],Ee=[null],Q=[],ce=this.table,st="",Te=0,ge=0,Pe=0,ar=2,Ze=1,lr=Q.slice.call(arguments,1),Ie=Object.create(this.lexer),Re={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(Re.yy[Ue]=this.yy[Ue]);Ie.setInput(Dt,Re.yy),Re.yy.lexer=Ie,Re.yy.parser=this,Ie.yylloc===void 0&&(Ie.yylloc={});var Fe=Ie.yylloc;Q.push(Fe);var be=Ie.options&&Ie.options.ranges;function ae(){var Se;return typeof(Se=At.pop()||Ie.lex()||Ze)!="number"&&(Se instanceof Array&&(Se=(At=Se).pop()),Se=he.symbols_[Se]||Se),Se}typeof Re.yy.parseError=="function"?this.parseError=Re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var br,qe,sr,$e,Er,Jr,Ir,Br,Ne,Qe={};;){if(sr=re[re.length-1],this.defaultActions[sr]?$e=this.defaultActions[sr]:(br==null&&(br=ae()),$e=ce[sr]&&ce[sr][br]),$e===void 0||!$e.length||!$e[0]){var rr="";for(Jr in Ne=[],ce[sr])this.terminals_[Jr]&&Jr>ar&&Ne.push("'"+this.terminals_[Jr]+"'");rr=Ie.showPosition?"Parse error on line "+(Te+1)+`: +`+Ie.showPosition()+` +Expecting `+Ne.join(", ")+", got '"+(this.terminals_[br]||br)+"'":"Parse error on line "+(Te+1)+": Unexpected "+(br==Ze?"end of input":"'"+(this.terminals_[br]||br)+"'"),this.parseError(rr,{text:Ie.match,token:this.terminals_[br]||br,line:Ie.yylineno,loc:Fe,expected:Ne})}if($e[0]instanceof Array&&$e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+sr+", token: "+br);switch($e[0]){case 1:re.push(br),Ee.push(Ie.yytext),Q.push(Ie.yylloc),re.push($e[1]),br=null,qe?(br=qe,qe=null):(ge=Ie.yyleng,st=Ie.yytext,Te=Ie.yylineno,Fe=Ie.yylloc,Pe>0);break;case 2:if(Ir=this.productions_[$e[1]][1],Qe.$=Ee[Ee.length-Ir],Qe._$={first_line:Q[Q.length-(Ir||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(Ir||1)].first_column,last_column:Q[Q.length-1].last_column},be&&(Qe._$.range=[Q[Q.length-(Ir||1)].range[0],Q[Q.length-1].range[1]]),(Er=this.performAction.apply(Qe,[st,ge,Te,Re.yy,$e[1],Ee,Q].concat(lr)))!==void 0)return Er;Ir&&(re=re.slice(0,-1*Ir*2),Ee=Ee.slice(0,-1*Ir),Q=Q.slice(0,-1*Ir)),re.push(this.productions_[$e[1]][0]),Ee.push(Qe.$),Q.push(Qe._$),Br=ce[re[re.length-2]][re[re.length-1]],re.push(Br);break;case 3:return!0}}return!0}},_e={EOF:1,parseError:function(Dt,he){if(!this.yy.parser)throw new Error(Dt);this.yy.parser.parseError(Dt,he)},setInput:function(Dt,he){return this.yy=he||this.yy||{},this._input=Dt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Dt=this._input[0];return this.yytext+=Dt,this.yyleng++,this.offset++,this.match+=Dt,this.matched+=Dt,Dt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Dt},unput:function(Dt){var he=Dt.length,re=Dt.split(/(?:\r\n?|\n)/g);this._input=Dt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-he),this.offset-=he;var At=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),re.length-1&&(this.yylineno-=re.length-1);var Ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:re?(re.length===At.length?this.yylloc.first_column:0)+At[At.length-re.length].length-re[0].length:this.yylloc.first_column-he},this.options.ranges&&(this.yylloc.range=[Ee[0],Ee[0]+this.yyleng-he]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Dt){this.unput(this.match.slice(Dt))},pastInput:function(){var Dt=this.matched.substr(0,this.matched.length-this.match.length);return(Dt.length>20?"...":"")+Dt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Dt=this.match;return Dt.length<20&&(Dt+=this._input.substr(0,20-Dt.length)),(Dt.substr(0,20)+(Dt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Dt=this.pastInput(),he=new Array(Dt.length+1).join("-");return Dt+this.upcomingInput()+` +`+he+"^"},test_match:function(Dt,he){var re,At,Ee;if(this.options.backtrack_lexer&&(Ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ee.yylloc.range=this.yylloc.range.slice(0))),(At=Dt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=At.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:At?At[At.length-1].length-At[At.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Dt[0].length},this.yytext+=Dt[0],this.match+=Dt[0],this.matches=Dt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Dt[0].length),this.matched+=Dt[0],re=this.performAction.call(this,this.yy,this,he,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),re)return re;if(this._backtrack){for(var Q in Ee)this[Q]=Ee[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;var Dt,he,re,At;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Ee=this._currentRules(),Q=0;Qhe[0].length)){if(he=re,At=Q,this.options.backtrack_lexer){if((Dt=this.test_match(re,Ee[Q]))!==!1)return Dt;if(this._backtrack){he=!1;continue}return!1}if(!this.options.flex)break}return he?(Dt=this.test_match(he,Ee[At]))!==!1&&Dt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Dt){this.conditionStack.push(Dt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Dt){return(Dt=this.conditionStack.length-1-Math.abs(Dt||0))>=0?this.conditionStack[Dt]:"INITIAL"},pushState:function(Dt){this.begin(Dt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Dt,he,re,At){switch(re){case 0:return this.begin("open_directive"),79;case 1:return this.begin("type_directive"),80;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),82;case 4:return 81;case 5:case 52:case 65:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 23;case 12:return this.begin("ID"),16;case 13:return this.begin("ID"),20;case 14:return he.yytext=he.yytext.trim(),this.begin("ALIAS"),69;case 15:return this.popState(),this.popState(),this.begin("LINE"),18;case 16:return this.popState(),this.popState(),5;case 17:return this.begin("LINE"),39;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),52;case 22:return this.begin("LINE"),45;case 23:return this.begin("LINE"),51;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),50;case 26:return this.begin("LINE"),49;case 27:return this.popState(),19;case 28:return 40;case 29:return 64;case 30:return 65;case 31:return 58;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 56;case 36:return 53;case 37:return this.begin("ID"),25;case 38:return this.begin("ID"),26;case 39:return 32;case 40:return 33;case 41:return this.begin("acc_title"),34;case 42:return this.popState(),"acc_title_value";case 43:return this.begin("acc_descr"),36;case 44:return this.popState(),"acc_descr_value";case 45:this.begin("acc_descr_multiline");break;case 46:this.popState();break;case 47:return"acc_descr_multiline_value";case 48:return 7;case 49:return 22;case 50:return 24;case 51:return 63;case 53:return he.yytext=he.yytext.trim(),69;case 54:return 72;case 55:return 73;case 56:return 70;case 57:return 71;case 58:return 74;case 59:return 75;case 60:return 76;case 61:return 77;case 62:return 78;case 63:return 67;case 64:return 68;case 66:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[46,47],inclusive:!1},acc_descr:{rules:[44],inclusive:!1},acc_title:{rules:[42],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,14],inclusive:!1},ALIAS:{rules:[7,8,15,16],inclusive:!1},LINE:{rules:[7,8,27],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,45,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66],inclusive:!0}}};function Je(){this.yy={}}return Sr.lexer=_e,Je.prototype=Sr,Sr.Parser=Je,new Je}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(1993).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},3584:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(ke,fe,xe,Me){for(xe=xe||{},Me=ke.length;Me--;xe[ke[Me]]=fe);return xe},v=[1,2],_=[1,3],S=[1,5],M=[1,7],E=[2,5],D=[1,15],B=[1,17],U=[1,19],H=[1,20],J=[1,21],rt=[1,22],dt=[1,33],K=[1,23],_t=[1,24],at=[1,25],ot=[1,26],bt=[1,27],Ut=[1,30],Tt=[1,31],mt=[1,32],Ct=[1,35],xt=[1,36],gt=[1,37],et=[1,38],ft=[1,34],q=[1,41],wt=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],W=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],St=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],Lt=[4,5,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],Wt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"-->":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,openDirective:36,typeDirective:37,closeDirective:38,":":39,argDirective:40,direction_tb:41,direction_bt:42,direction_rl:43,direction_lr:44,eol:45,";":46,EDGE_STATE:47,left_of:48,right_of:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"-->",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",39:":",41:"direction_tb",42:"direction_bt",43:"direction_rl",44:"direction_lr",46:";",47:"EDGE_STATE",48:"left_of",49:"right_of",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[45,1],[45,1],[11,1],[11,1],[28,1],[28,1],[36,1],[37,1],[40,1],[38,1]],performAction:function(ke,fe,xe,Me,Oe,ve,Sr){var _e=ve.length-1;switch(Oe){case 4:return Me.setRootDoc(ve[_e]),ve[_e];case 5:this.$=[];break;case 6:ve[_e]!="nl"&&(ve[_e-1].push(ve[_e]),this.$=ve[_e-1]);break;case 7:case 8:case 39:case 40:this.$=ve[_e];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:ve[_e],type:"default",description:""};break;case 11:this.$={stmt:"state",id:ve[_e-1],type:"default",description:Me.trimColon(ve[_e])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:ve[_e-2],type:"default",description:""},state2:{stmt:"state",id:ve[_e],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:ve[_e-3],type:"default",description:""},state2:{stmt:"state",id:ve[_e-1],type:"default",description:""},description:ve[_e].substr(1).trim()};break;case 17:this.$={stmt:"state",id:ve[_e-3],type:"default",description:"",doc:ve[_e-1]};break;case 18:var Je=ve[_e],Dt=ve[_e-2].trim();if(ve[_e].match(":")){var he=ve[_e].split(":");Je=he[0],Dt=[Dt,he[1]]}this.$={stmt:"state",id:Je,type:"default",description:Dt};break;case 19:this.$={stmt:"state",id:ve[_e-3],type:"default",description:ve[_e-5],doc:ve[_e-1]};break;case 20:this.$={stmt:"state",id:ve[_e],type:"fork"};break;case 21:this.$={stmt:"state",id:ve[_e],type:"join"};break;case 22:this.$={stmt:"state",id:ve[_e],type:"choice"};break;case 23:this.$={stmt:"state",id:Me.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:ve[_e-1].trim(),note:{position:ve[_e-2].trim(),text:ve[_e].trim()}};break;case 28:this.$=ve[_e].trim(),Me.setAccTitle(this.$);break;case 29:case 30:this.$=ve[_e].trim(),Me.setAccDescription(this.$);break;case 33:Me.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 34:Me.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 35:Me.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 36:Me.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 43:Me.parseDirective("%%{","open_directive");break;case 44:Me.parseDirective(ve[_e],"type_directive");break;case 45:ve[_e]=ve[_e].trim().replace(/'/g,'"'),Me.parseDirective(ve[_e],"arg_directive");break;case 46:Me.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:v,5:_,6:4,7:S,36:6,50:M},{1:[3]},{3:8,4:v,5:_,6:4,7:S,36:6,50:M},{3:9,4:v,5:_,6:4,7:S,36:6,50:M},{3:10,4:v,5:_,6:4,7:S,36:6,50:M},f([1,4,5,14,15,17,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],E,{8:11}),{37:12,51:[1,13]},{51:[2,43]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:D,5:B,6:28,9:14,10:16,11:18,14:U,15:H,17:J,20:rt,22:dt,23:K,24:_t,25:at,26:ot,27:bt,30:29,31:Ut,33:Tt,35:mt,36:6,41:Ct,42:xt,43:gt,44:et,47:ft,50:M},{38:39,39:[1,40],53:q},f([39,53],[2,44]),f(wt,[2,6]),{6:28,10:42,11:18,14:U,15:H,17:J,20:rt,22:dt,23:K,24:_t,25:at,26:ot,27:bt,30:29,31:Ut,33:Tt,35:mt,36:6,41:Ct,42:xt,43:gt,44:et,47:ft,50:M},f(wt,[2,8]),f(wt,[2,9]),f(wt,[2,10],{12:[1,43],13:[1,44]}),f(wt,[2,14]),{16:[1,45]},f(wt,[2,16],{18:[1,46]}),{21:[1,47]},f(wt,[2,20]),f(wt,[2,21]),f(wt,[2,22]),f(wt,[2,23]),{28:48,29:[1,49],48:[1,50],49:[1,51]},f(wt,[2,26]),f(wt,[2,27]),{32:[1,52]},{34:[1,53]},f(wt,[2,30]),f(W,[2,39]),f(W,[2,40]),f(wt,[2,33]),f(wt,[2,34]),f(wt,[2,35]),f(wt,[2,36]),f(St,[2,31]),{40:54,52:[1,55]},f(St,[2,46]),f(wt,[2,7]),f(wt,[2,11]),{11:56,22:dt,47:ft},f(wt,[2,15]),f(Lt,E,{8:57}),{22:[1,58]},{22:[1,59]},{21:[1,60]},{22:[2,41]},{22:[2,42]},f(wt,[2,28]),f(wt,[2,29]),{38:61,53:q},{53:[2,45]},f(wt,[2,12],{12:[1,62]}),{4:D,5:B,6:28,9:14,10:16,11:18,14:U,15:H,17:J,19:[1,63],20:rt,22:dt,23:K,24:_t,25:at,26:ot,27:bt,30:29,31:Ut,33:Tt,35:mt,36:6,41:Ct,42:xt,43:gt,44:et,47:ft,50:M},f(wt,[2,18],{18:[1,64]}),{29:[1,65]},{22:[1,66]},f(St,[2,32]),f(wt,[2,13]),f(wt,[2,17]),f(Lt,E,{8:67}),f(wt,[2,24]),f(wt,[2,25]),{4:D,5:B,6:28,9:14,10:16,11:18,14:U,15:H,17:J,19:[1,68],20:rt,22:dt,23:K,24:_t,25:at,26:ot,27:bt,30:29,31:Ut,33:Tt,35:mt,36:6,41:Ct,42:xt,43:gt,44:et,47:ft,50:M},f(wt,[2,19])],defaultActions:{7:[2,43],8:[2,1],9:[2,2],10:[2,3],50:[2,41],51:[2,42],55:[2,45]},parseError:function(ke,fe){if(!fe.recoverable){var xe=new Error(ke);throw xe.hash=fe,xe}this.trace(ke)},parse:function(ke){var fe=this,xe=[0],Me=[],Oe=[null],ve=[],Sr=this.table,_e="",Je=0,Dt=0,he=0,re=2,At=1,Ee=ve.slice.call(arguments,1),Q=Object.create(this.lexer),ce={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(ce.yy[st]=this.yy[st]);Q.setInput(ke,ce.yy),ce.yy.lexer=Q,ce.yy.parser=this,Q.yylloc===void 0&&(Q.yylloc={});var Te=Q.yylloc;ve.push(Te);var ge=Q.options&&Q.options.ranges;function Pe(){var sr;return typeof(sr=Me.pop()||Q.lex()||At)!="number"&&(sr instanceof Array&&(sr=(Me=sr).pop()),sr=fe.symbols_[sr]||sr),sr}typeof ce.yy.parseError=="function"?this.parseError=ce.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ar,Ze,lr,Ie,Re,Ue,Fe,be,ae,br={};;){if(lr=xe[xe.length-1],this.defaultActions[lr]?Ie=this.defaultActions[lr]:(ar==null&&(ar=Pe()),Ie=Sr[lr]&&Sr[lr][ar]),Ie===void 0||!Ie.length||!Ie[0]){var qe="";for(Ue in ae=[],Sr[lr])this.terminals_[Ue]&&Ue>re&&ae.push("'"+this.terminals_[Ue]+"'");qe=Q.showPosition?"Parse error on line "+(Je+1)+`: +`+Q.showPosition()+` +Expecting `+ae.join(", ")+", got '"+(this.terminals_[ar]||ar)+"'":"Parse error on line "+(Je+1)+": Unexpected "+(ar==At?"end of input":"'"+(this.terminals_[ar]||ar)+"'"),this.parseError(qe,{text:Q.match,token:this.terminals_[ar]||ar,line:Q.yylineno,loc:Te,expected:ae})}if(Ie[0]instanceof Array&&Ie.length>1)throw new Error("Parse Error: multiple actions possible at state: "+lr+", token: "+ar);switch(Ie[0]){case 1:xe.push(ar),Oe.push(Q.yytext),ve.push(Q.yylloc),xe.push(Ie[1]),ar=null,Ze?(ar=Ze,Ze=null):(Dt=Q.yyleng,_e=Q.yytext,Je=Q.yylineno,Te=Q.yylloc,he>0);break;case 2:if(Fe=this.productions_[Ie[1]][1],br.$=Oe[Oe.length-Fe],br._$={first_line:ve[ve.length-(Fe||1)].first_line,last_line:ve[ve.length-1].last_line,first_column:ve[ve.length-(Fe||1)].first_column,last_column:ve[ve.length-1].last_column},ge&&(br._$.range=[ve[ve.length-(Fe||1)].range[0],ve[ve.length-1].range[1]]),(Re=this.performAction.apply(br,[_e,Dt,Je,ce.yy,Ie[1],Oe,ve].concat(Ee)))!==void 0)return Re;Fe&&(xe=xe.slice(0,-1*Fe*2),Oe=Oe.slice(0,-1*Fe),ve=ve.slice(0,-1*Fe)),xe.push(this.productions_[Ie[1]][0]),Oe.push(br.$),ve.push(br._$),be=Sr[xe[xe.length-2]][xe[xe.length-1]],xe.push(be);break;case 3:return!0}}return!0}},ye={EOF:1,parseError:function(ke,fe){if(!this.yy.parser)throw new Error(ke);this.yy.parser.parseError(ke,fe)},setInput:function(ke,fe){return this.yy=fe||this.yy||{},this._input=ke,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ke=this._input[0];return this.yytext+=ke,this.yyleng++,this.offset++,this.match+=ke,this.matched+=ke,ke.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ke},unput:function(ke){var fe=ke.length,xe=ke.split(/(?:\r\n?|\n)/g);this._input=ke+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-fe),this.offset-=fe;var Me=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),xe.length-1&&(this.yylineno-=xe.length-1);var Oe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:xe?(xe.length===Me.length?this.yylloc.first_column:0)+Me[Me.length-xe.length].length-xe[0].length:this.yylloc.first_column-fe},this.options.ranges&&(this.yylloc.range=[Oe[0],Oe[0]+this.yyleng-fe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(ke){this.unput(this.match.slice(ke))},pastInput:function(){var ke=this.matched.substr(0,this.matched.length-this.match.length);return(ke.length>20?"...":"")+ke.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ke=this.match;return ke.length<20&&(ke+=this._input.substr(0,20-ke.length)),(ke.substr(0,20)+(ke.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ke=this.pastInput(),fe=new Array(ke.length+1).join("-");return ke+this.upcomingInput()+` +`+fe+"^"},test_match:function(ke,fe){var xe,Me,Oe;if(this.options.backtrack_lexer&&(Oe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Oe.yylloc.range=this.yylloc.range.slice(0))),(Me=ke[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Me.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Me?Me[Me.length-1].length-Me[Me.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ke[0].length},this.yytext+=ke[0],this.match+=ke[0],this.matches=ke,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ke[0].length),this.matched+=ke[0],xe=this.performAction.call(this,this.yy,this,fe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),xe)return xe;if(this._backtrack){for(var ve in Oe)this[ve]=Oe[ve];return!1}return!1},next:function(){if(this.done)return this.EOF;var ke,fe,xe,Me;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Oe=this._currentRules(),ve=0;vefe[0].length)){if(fe=xe,Me=ve,this.options.backtrack_lexer){if((ke=this.test_match(xe,Oe[ve]))!==!1)return ke;if(this._backtrack){fe=!1;continue}return!1}if(!this.options.flex)break}return fe?(ke=this.test_match(fe,Oe[Me]))!==!1&&ke:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(ke){this.conditionStack.push(ke)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ke){return(ke=this.conditionStack.length-1-Math.abs(ke||0))>=0?this.conditionStack[ke]:"INITIAL"},pushState:function(ke){this.begin(ke)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ke,fe,xe,Me){switch(xe){case 0:case 33:return 41;case 1:case 34:return 42;case 2:case 35:return 43;case 3:case 36:return 44;case 4:return this.begin("open_directive"),50;case 5:return this.begin("type_directive"),51;case 6:return this.popState(),this.begin("arg_directive"),39;case 7:return this.popState(),this.popState(),53;case 8:return 52;case 9:case 10:case 12:case 13:case 14:case 15:case 46:case 52:break;case 11:case 66:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 24:case 40:case 43:this.popState();break;case 19:return this.begin("acc_title"),31;case 20:return this.popState(),"acc_title_value";case 21:return this.begin("acc_descr"),33;case 22:return this.popState(),"acc_descr_value";case 23:this.begin("acc_descr_multiline");break;case 25:return"acc_descr_multiline_value";case 26:this.pushState("STATE");break;case 27:case 30:return this.popState(),fe.yytext=fe.yytext.slice(0,-8).trim(),23;case 28:case 31:return this.popState(),fe.yytext=fe.yytext.slice(0,-8).trim(),24;case 29:case 32:return this.popState(),fe.yytext=fe.yytext.slice(0,-10).trim(),25;case 37:this.begin("STATE_STRING");break;case 38:return this.popState(),this.pushState("STATE_ID"),"AS";case 39:case 54:return this.popState(),"ID";case 41:return"STATE_DESCR";case 42:return 17;case 44:return this.popState(),this.pushState("struct"),18;case 45:return this.popState(),19;case 47:return this.begin("NOTE"),27;case 48:return this.popState(),this.pushState("NOTE_ID"),48;case 49:return this.popState(),this.pushState("NOTE_ID"),49;case 50:this.popState(),this.pushState("FLOATING_NOTE");break;case 51:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 53:return"NOTE_TEXT";case 55:return this.popState(),this.pushState("NOTE_TEXT"),22;case 56:return this.popState(),fe.yytext=fe.yytext.substr(2).trim(),29;case 57:return this.popState(),fe.yytext=fe.yytext.slice(0,-8).trim(),29;case 58:case 59:return 7;case 60:return 14;case 61:return 47;case 62:return 22;case 63:return fe.yytext=fe.yytext.trim(),12;case 64:return 13;case 65:return 26;case 67:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,26,33,34,35,36,45,46,47,61,62,63,64,65],inclusive:!1},FLOATING_NOTE_ID:{rules:[54],inclusive:!1},FLOATING_NOTE:{rules:[51,52,53],inclusive:!1},NOTE_TEXT:{rules:[56,57],inclusive:!1},NOTE_ID:{rules:[55],inclusive:!1},NOTE:{rules:[48,49,50],inclusive:!1},acc_descr_multiline:{rules:[24,25],inclusive:!1},acc_descr:{rules:[22],inclusive:!1},acc_title:{rules:[20],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[39],inclusive:!1},STATE_STRING:{rules:[40,41],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,27,28,29,30,31,32,37,38,42,43,44],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,21,23,26,44,47,58,59,60,61,62,63,64,66,67],inclusive:!0}}};function Ve(){this.yy={}}return Wt.lexer=ye,Ve.prototype=Wt,Wt.Parser=Ve,new Ve}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(3069).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},9763:(h,b,d)=>{h=d.nmd(h);var m=function(){var f=function(at,ot,bt,Ut){for(bt=bt||{},Ut=at.length;Ut--;bt[at[Ut]]=ot);return bt},v=[1,2],_=[1,5],S=[6,9,11,17,18,20,22,23,24,26],M=[1,15],E=[1,16],D=[1,17],B=[1,18],U=[1,19],H=[1,20],J=[1,24],rt=[4,6,9,11,17,18,20,22,23,24,26],dt={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(at,ot,bt,Ut,Tt,mt,Ct){var xt=mt.length-1;switch(Tt){case 1:return mt[xt-1];case 3:case 7:case 8:this.$=[];break;case 4:mt[xt-1].push(mt[xt]),this.$=mt[xt-1];break;case 5:case 6:this.$=mt[xt];break;case 11:Ut.setDiagramTitle(mt[xt].substr(6)),this.$=mt[xt].substr(6);break;case 12:this.$=mt[xt].trim(),Ut.setAccTitle(this.$);break;case 13:case 14:this.$=mt[xt].trim(),Ut.setAccDescription(this.$);break;case 15:Ut.addSection(mt[xt].substr(8)),this.$=mt[xt].substr(8);break;case 16:Ut.addTask(mt[xt-1],mt[xt]),this.$="task";break;case 18:Ut.parseDirective("%%{","open_directive");break;case 19:Ut.parseDirective(mt[xt],"type_directive");break;case 20:mt[xt]=mt[xt].trim().replace(/'/g,'"'),Ut.parseDirective(mt[xt],"arg_directive");break;case 21:Ut.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:v,7:3,12:4,26:_},{1:[3]},f(S,[2,3],{5:6}),{3:7,4:v,7:3,12:4,26:_},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:M,18:E,20:D,22:B,23:U,24:H,26:_},{1:[2,2]},{14:22,15:[1,23],29:J},f([15,29],[2,19]),f(S,[2,8],{1:[2,1]}),f(S,[2,4]),{7:21,10:25,12:4,17:M,18:E,20:D,22:B,23:U,24:H,26:_},f(S,[2,6]),f(S,[2,7]),f(S,[2,11]),{19:[1,26]},{21:[1,27]},f(S,[2,14]),f(S,[2,15]),{25:[1,28]},f(S,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},f(S,[2,5]),f(S,[2,12]),f(S,[2,13]),f(S,[2,16]),f(rt,[2,9]),{14:32,29:J},{29:[2,20]},{11:[1,33]},f(rt,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(at,ot){if(!ot.recoverable){var bt=new Error(at);throw bt.hash=ot,bt}this.trace(at)},parse:function(at){var ot=this,bt=[0],Ut=[],Tt=[null],mt=[],Ct=this.table,xt="",gt=0,et=0,ft=0,q=2,wt=1,W=mt.slice.call(arguments,1),St=Object.create(this.lexer),Lt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(Lt.yy[Wt]=this.yy[Wt]);St.setInput(at,Lt.yy),Lt.yy.lexer=St,Lt.yy.parser=this,St.yylloc===void 0&&(St.yylloc={});var ye=St.yylloc;mt.push(ye);var Ve=St.options&&St.options.ranges;function ke(){var At;return typeof(At=Ut.pop()||St.lex()||wt)!="number"&&(At instanceof Array&&(At=(Ut=At).pop()),At=ot.symbols_[At]||At),At}typeof Lt.yy.parseError=="function"?this.parseError=Lt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var fe,xe,Me,Oe,ve,Sr,_e,Je,Dt,he={};;){if(Me=bt[bt.length-1],this.defaultActions[Me]?Oe=this.defaultActions[Me]:(fe==null&&(fe=ke()),Oe=Ct[Me]&&Ct[Me][fe]),Oe===void 0||!Oe.length||!Oe[0]){var re="";for(Sr in Dt=[],Ct[Me])this.terminals_[Sr]&&Sr>q&&Dt.push("'"+this.terminals_[Sr]+"'");re=St.showPosition?"Parse error on line "+(gt+1)+`: +`+St.showPosition()+` +Expecting `+Dt.join(", ")+", got '"+(this.terminals_[fe]||fe)+"'":"Parse error on line "+(gt+1)+": Unexpected "+(fe==wt?"end of input":"'"+(this.terminals_[fe]||fe)+"'"),this.parseError(re,{text:St.match,token:this.terminals_[fe]||fe,line:St.yylineno,loc:ye,expected:Dt})}if(Oe[0]instanceof Array&&Oe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Me+", token: "+fe);switch(Oe[0]){case 1:bt.push(fe),Tt.push(St.yytext),mt.push(St.yylloc),bt.push(Oe[1]),fe=null,xe?(fe=xe,xe=null):(et=St.yyleng,xt=St.yytext,gt=St.yylineno,ye=St.yylloc,ft>0);break;case 2:if(_e=this.productions_[Oe[1]][1],he.$=Tt[Tt.length-_e],he._$={first_line:mt[mt.length-(_e||1)].first_line,last_line:mt[mt.length-1].last_line,first_column:mt[mt.length-(_e||1)].first_column,last_column:mt[mt.length-1].last_column},Ve&&(he._$.range=[mt[mt.length-(_e||1)].range[0],mt[mt.length-1].range[1]]),(ve=this.performAction.apply(he,[xt,et,gt,Lt.yy,Oe[1],Tt,mt].concat(W)))!==void 0)return ve;_e&&(bt=bt.slice(0,-1*_e*2),Tt=Tt.slice(0,-1*_e),mt=mt.slice(0,-1*_e)),bt.push(this.productions_[Oe[1]][0]),Tt.push(he.$),mt.push(he._$),Je=Ct[bt[bt.length-2]][bt[bt.length-1]],bt.push(Je);break;case 3:return!0}}return!0}},K={EOF:1,parseError:function(at,ot){if(!this.yy.parser)throw new Error(at);this.yy.parser.parseError(at,ot)},setInput:function(at,ot){return this.yy=ot||this.yy||{},this._input=at,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var at=this._input[0];return this.yytext+=at,this.yyleng++,this.offset++,this.match+=at,this.matched+=at,at.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),at},unput:function(at){var ot=at.length,bt=at.split(/(?:\r\n?|\n)/g);this._input=at+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ot),this.offset-=ot;var Ut=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),bt.length-1&&(this.yylineno-=bt.length-1);var Tt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:bt?(bt.length===Ut.length?this.yylloc.first_column:0)+Ut[Ut.length-bt.length].length-bt[0].length:this.yylloc.first_column-ot},this.options.ranges&&(this.yylloc.range=[Tt[0],Tt[0]+this.yyleng-ot]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(at){this.unput(this.match.slice(at))},pastInput:function(){var at=this.matched.substr(0,this.matched.length-this.match.length);return(at.length>20?"...":"")+at.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var at=this.match;return at.length<20&&(at+=this._input.substr(0,20-at.length)),(at.substr(0,20)+(at.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var at=this.pastInput(),ot=new Array(at.length+1).join("-");return at+this.upcomingInput()+` +`+ot+"^"},test_match:function(at,ot){var bt,Ut,Tt;if(this.options.backtrack_lexer&&(Tt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Tt.yylloc.range=this.yylloc.range.slice(0))),(Ut=at[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Ut.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ut?Ut[Ut.length-1].length-Ut[Ut.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+at[0].length},this.yytext+=at[0],this.match+=at[0],this.matches=at,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(at[0].length),this.matched+=at[0],bt=this.performAction.call(this,this.yy,this,ot,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),bt)return bt;if(this._backtrack){for(var mt in Tt)this[mt]=Tt[mt];return!1}return!1},next:function(){if(this.done)return this.EOF;var at,ot,bt,Ut;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Tt=this._currentRules(),mt=0;mtot[0].length)){if(ot=bt,Ut=mt,this.options.backtrack_lexer){if((at=this.test_match(bt,Tt[mt]))!==!1)return at;if(this._backtrack){ot=!1;continue}return!1}if(!this.options.flex)break}return ot?(at=this.test_match(ot,Tt[Ut]))!==!1&&at:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(at){this.conditionStack.push(at)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(at){return(at=this.conditionStack.length-1-Math.abs(at||0))>=0?this.conditionStack[at]:"INITIAL"},pushState:function(at){this.begin(at)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(at,ot,bt,Ut){switch(bt){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function _t(){this.yy={}}return dt.lexer=K,_t.prototype=dt,dt.Parser=_t,new _t}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)},b.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=d(9143).readFileSync(d(6470).normalize(f[1]),"utf8");return b.parser.parse(v)},d.c[d.s]===h&&b.main(process.argv.slice(1))},7967:(h,b)=>{b.N=void 0;var d=/^([^\w]*)(javascript|data|vbscript)/im,m=/&#(\w+)(^\w|;)?/g,f=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,v=/^([^:]+):/gm,_=[".","/"];b.N=function(S){var M,E=(M=S||"",M.replace(m,function(U,H){return String.fromCharCode(H)})).replace(f,"").trim();if(!E)return"about:blank";if(function(U){return _.indexOf(U[0])>-1}(E))return E;var D=E.match(v);if(!D)return E;var B=D[0];return d.test(B)?"about:blank":E}},3841:h=>{h.exports=function(b,d){return b.intersect(d)}},6359:(h,b,d)=>{d.d(b,{Z:()=>Mr});var m=d(1941),f=d.n(m),v={debug:1,info:2,warn:3,error:4,fatal:5},_={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},S=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"fatal";isNaN(l)&&(l=l.toLowerCase(),v[l]!==void 0&&(l=v[l])),_.trace=function(){},_.debug=function(){},_.info=function(){},_.warn=function(){},_.error=function(){},_.fatal=function(){},l<=v.fatal&&(_.fatal=console.error?console.error.bind(console,M("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",M("FATAL"))),l<=v.error&&(_.error=console.error?console.error.bind(console,M("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",M("ERROR"))),l<=v.warn&&(_.warn=console.warn?console.warn.bind(console,M("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",M("WARN"))),l<=v.info&&(_.info=console.info?console.info.bind(console,M("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",M("INFO"))),l<=v.debug&&(_.debug=console.debug?console.debug.bind(console,M("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",M("DEBUG")))},M=function(l){var o=f()().format("ss.SSS");return"%c".concat(o," : ").concat(l," : ")},E=d(7543),D="comm",B="rule",U="decl",H=Math.abs,J=String.fromCharCode;function rt(l){return l.trim()}function dt(l,o,y){return l.replace(o,y)}function K(l,o){return l.indexOf(o)}function _t(l,o){return 0|l.charCodeAt(o)}function at(l,o,y){return l.slice(o,y)}function ot(l){return l.length}function bt(l){return l.length}function Ut(l,o){return o.push(l),l}function Tt(l,o){for(var y="",k=bt(l),A=0;A0?_t(q,--et):0,xt--,ft===10&&(xt=1,Ct--),ft}function St(){return ft=et2||Ve(ft)>3?"":" "}function xe(l,o){for(;--o&&St()&&!(ft<48||ft>102||ft>57&&ft<65||ft>70&&ft<97););return ye(l,Wt()+(o<6&&Lt()==32&&St()==32))}function Me(l){for(;St();)switch(ft){case l:return et;case 34:case 39:l!==34&&l!==39&&Me(ft);break;case 40:l===41&&Me(l);break;case 92:St()}return et}function Oe(l,o){for(;St()&&l+ft!==57&&(l+ft!==84||Lt()!==47););return"/*"+ye(o,et-1)+"*"+J(l===47?l:St())}function ve(l){for(;!Ve(Lt());)St();return ye(l,et)}function Sr(l){return function(o){return q="",o}(_e("",null,null,null,[""],l=function(o){return Ct=xt=1,gt=ot(q=o),et=0,[]}(l),0,[0],l))}function _e(l,o,y,k,A,I,L,O,P){for(var Y=0,Z=0,nt=L,lt=0,ct=0,Mt=0,Nt=1,zt=1,Ht=1,It=0,Pt="",Ot=A,Qt=I,De=k,we=Pt;zt;)switch(Mt=It,It=St()){case 40:if(Mt!=108&&we.charCodeAt(nt-1)==58){K(we+=dt(ke(It),"&","&\f"),"&\f")!=-1&&(Ht=-1);break}case 34:case 39:case 91:we+=ke(It);break;case 9:case 10:case 13:case 32:we+=fe(Mt);break;case 92:we+=xe(Wt()-1,7);continue;case 47:switch(Lt()){case 42:case 47:Ut(Dt(Oe(St(),Wt()),o,y),P);break;default:we+="/"}break;case 123*Nt:O[Y++]=ot(we)*Ht;case 125*Nt:case 59:case 0:switch(It){case 0:case 125:zt=0;case 59+Z:ct>0&&ot(we)-nt&&Ut(ct>32?he(we+";",k,y,nt-1):he(dt(we," ","")+";",k,y,nt-2),P);break;case 59:we+=";";default:if(Ut(De=Je(we,o,y,Y,Z,A,O,Pt,Ot=[],Qt=[],nt),I),It===123)if(Z===0)_e(we,o,De,De,Ot,I,nt,O,Qt);else switch(lt){case 100:case 109:case 115:_e(l,De,De,k&&Ut(Je(l,De,De,0,0,A,O,Pt,A,Ot=[],nt),Qt),A,Qt,nt,O,k?Ot:Qt);break;default:_e(we,De,De,De,[""],Qt,0,O,Qt)}}Y=Z=ct=0,Nt=Ht=1,Pt=we="",nt=L;break;case 58:nt=1+ot(we),ct=Mt;default:if(Nt<1){if(It==123)--Nt;else if(It==125&&Nt++==0&&W()==125)continue}switch(we+=J(It),It*Nt){case 38:Ht=Z>0?1:(we+="\f",-1);break;case 44:O[Y++]=(ot(we)-1)*Ht,Ht=1;break;case 64:Lt()===45&&(we+=ke(St())),lt=Lt(),Z=nt=ot(Pt=we+=ve(Wt())),It++;break;case 45:Mt===45&&ot(we)==2&&(Nt=0)}}return I}function Je(l,o,y,k,A,I,L,O,P,Y,Z){for(var nt=A-1,lt=A===0?I:[""],ct=bt(lt),Mt=0,Nt=0,zt=0;Mt0?lt[Ht]+" "+It:dt(It,/&\f/g,lt[Ht])))&&(P[zt++]=Pt);return wt(l,o,y,A===0?B:O,P,Y,Z)}function Dt(l,o,y){return wt(l,o,y,D,J(ft),at(l,2,-2),0)}function he(l,o,y,k){return wt(l,o,y,U,at(l,0,k),at(l,k+1,-1),k)}const re="9.1.6";function At(l){return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},At(l)}const Ee=function l(o,y,k){var A=Object.assign({depth:2,clobber:!1},k),I=A.depth,L=A.clobber;return Array.isArray(y)&&!Array.isArray(o)?(y.forEach(function(O){return l(o,O,k)}),o):Array.isArray(y)&&Array.isArray(o)?(y.forEach(function(O){o.indexOf(O)===-1&&o.push(O)}),o):o===void 0||I<=0?o!=null&&At(o)==="object"&&At(y)==="object"?Object.assign(o,y):y:(y!==void 0&&At(o)==="object"&&At(y)==="object"&&Object.keys(y).forEach(function(O){At(y[O])!=="object"||o[O]!==void 0&&At(o[O])!=="object"?(L||At(o[O])!=="object"&&At(y[O])!=="object")&&(o[O]=y[O]):(o[O]===void 0&&(o[O]=Array.isArray(y[O])?[]:{}),o[O]=l(o[O],y[O],{depth:I-1,clobber:L}))}),o)},Q={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:l=>l>=255?255:l<0?0:l,g:l=>l>=255?255:l<0?0:l,b:l=>l>=255?255:l<0?0:l,h:l=>l%360,s:l=>l>=100?100:l<0?0:l,l:l=>l>=100?100:l<0?0:l,a:l=>l>=1?1:l<0?0:l},toLinear:l=>{const o=l/255;return l>.03928?Math.pow((o+.055)/1.055,2.4):o/12.92},hue2rgb:(l,o,y)=>(y<0&&(y+=1),y>1&&(y-=1),y<1/6?l+6*(o-l)*y:y<.5?o:y<2/3?l+(o-l)*(2/3-y)*6:l),hsl2rgb:({h:l,s:o,l:y},k)=>{if(!o)return 2.55*y;l/=360,o/=100;const A=(y/=100)<.5?y*(1+o):y+o-y*o,I=2*y-A;switch(k){case"r":return 255*Q.hue2rgb(I,A,l+1/3);case"g":return 255*Q.hue2rgb(I,A,l);case"b":return 255*Q.hue2rgb(I,A,l-1/3)}},rgb2hsl:({r:l,g:o,b:y},k)=>{l/=255,o/=255,y/=255;const A=Math.max(l,o,y),I=Math.min(l,o,y),L=(A+I)/2;if(k==="l")return 100*L;if(A===I)return 0;const O=A-I;if(k==="s")return 100*(L>.5?O/(2-A-I):O/(A+I));switch(A){case l:return 60*((o-y)/O+(oo>y?Math.min(o,Math.max(y,l)):Math.min(y,Math.max(o,l)),round:l=>Math.round(1e10*l)/1e10},unit:{dec2hex:l=>{const o=Math.round(l).toString(16);return o.length>1?o:`0${o}`}}},st={};for(let l=0;l<=255;l++)st[l]=ce.unit.dec2hex(l);const Te=new class{constructor(l,o){this.color=o,this.changed=!1,this.data=l,this.type=new class{constructor(){this.type=0}get(){return this.type}set(y){if(this.type&&this.type!==y)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=y}reset(){this.type=0}is(y){return this.type===y}}}set(l,o){return this.color=o,this.changed=!1,this.data=l,this.type.type=0,this}_ensureHSL(){const l=this.data,{h:o,s:y,l:k}=l;o===void 0&&(l.h=ce.channel.rgb2hsl(l,"h")),y===void 0&&(l.s=ce.channel.rgb2hsl(l,"s")),k===void 0&&(l.l=ce.channel.rgb2hsl(l,"l"))}_ensureRGB(){const l=this.data,{r:o,g:y,b:k}=l;o===void 0&&(l.r=ce.channel.hsl2rgb(l,"r")),y===void 0&&(l.g=ce.channel.hsl2rgb(l,"g")),k===void 0&&(l.b=ce.channel.hsl2rgb(l,"b"))}get r(){const l=this.data,o=l.r;return this.type.is(2)||o===void 0?(this._ensureHSL(),ce.channel.hsl2rgb(l,"r")):o}get g(){const l=this.data,o=l.g;return this.type.is(2)||o===void 0?(this._ensureHSL(),ce.channel.hsl2rgb(l,"g")):o}get b(){const l=this.data,o=l.b;return this.type.is(2)||o===void 0?(this._ensureHSL(),ce.channel.hsl2rgb(l,"b")):o}get h(){const l=this.data,o=l.h;return this.type.is(1)||o===void 0?(this._ensureRGB(),ce.channel.rgb2hsl(l,"h")):o}get s(){const l=this.data,o=l.s;return this.type.is(1)||o===void 0?(this._ensureRGB(),ce.channel.rgb2hsl(l,"s")):o}get l(){const l=this.data,o=l.l;return this.type.is(1)||o===void 0?(this._ensureRGB(),ce.channel.rgb2hsl(l,"l")):o}get a(){return this.data.a}set r(l){this.type.set(1),this.changed=!0,this.data.r=l}set g(l){this.type.set(1),this.changed=!0,this.data.g=l}set b(l){this.type.set(1),this.changed=!0,this.data.b=l}set h(l){this.type.set(2),this.changed=!0,this.data.h=l}set s(l){this.type.set(2),this.changed=!0,this.data.s=l}set l(l){this.type.set(2),this.changed=!0,this.data.l=l}set a(l){this.changed=!0,this.data.a=l}}({r:0,g:0,b:0,a:0},"transparent"),ge={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:l=>{if(l.charCodeAt(0)!==35)return;const o=l.match(ge.re);if(!o)return;const y=o[1],k=parseInt(y,16),A=y.length,I=A%4==0,L=A>4,O=L?1:17,P=L?8:4,Y=I?0:-1,Z=L?255:15;return Te.set({r:(k>>P*(Y+3)&Z)*O,g:(k>>P*(Y+2)&Z)*O,b:(k>>P*(Y+1)&Z)*O,a:I?(k&Z)*O/255:1},l)},stringify:l=>{const{r:o,g:y,b:k,a:A}=l;return A<1?`#${st[Math.round(o)]}${st[Math.round(y)]}${st[Math.round(k)]}${st[Math.round(255*A)]}`:`#${st[Math.round(o)]}${st[Math.round(y)]}${st[Math.round(k)]}`}},Pe=ge,ar={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:l=>{const o=l.match(ar.hueRe);if(o){const[,y,k]=o;switch(k){case"grad":return ce.channel.clamp.h(.9*parseFloat(y));case"rad":return ce.channel.clamp.h(180*parseFloat(y)/Math.PI);case"turn":return ce.channel.clamp.h(360*parseFloat(y))}}return ce.channel.clamp.h(parseFloat(l))},parse:l=>{const o=l.charCodeAt(0);if(o!==104&&o!==72)return;const y=l.match(ar.re);if(!y)return;const[,k,A,I,L,O]=y;return Te.set({h:ar._hue2deg(k),s:ce.channel.clamp.s(parseFloat(A)),l:ce.channel.clamp.l(parseFloat(I)),a:L?ce.channel.clamp.a(O?parseFloat(L)/100:parseFloat(L)):1},l)},stringify:l=>{const{h:o,s:y,l:k,a:A}=l;return A<1?`hsla(${ce.lang.round(o)}, ${ce.lang.round(y)}%, ${ce.lang.round(k)}%, ${A})`:`hsl(${ce.lang.round(o)}, ${ce.lang.round(y)}%, ${ce.lang.round(k)}%)`}},Ze=ar,lr={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:l=>{l=l.toLowerCase();const o=lr.colors[l];if(o)return Pe.parse(o)},stringify:l=>{const o=Pe.stringify(l);for(const y in lr.colors)if(lr.colors[y]===o)return y}},Ie=lr,Re={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:l=>{const o=l.charCodeAt(0);if(o!==114&&o!==82)return;const y=l.match(Re.re);if(!y)return;const[,k,A,I,L,O,P,Y,Z]=y;return Te.set({r:ce.channel.clamp.r(A?2.55*parseFloat(k):parseFloat(k)),g:ce.channel.clamp.g(L?2.55*parseFloat(I):parseFloat(I)),b:ce.channel.clamp.b(P?2.55*parseFloat(O):parseFloat(O)),a:Y?ce.channel.clamp.a(Z?parseFloat(Y)/100:parseFloat(Y)):1},l)},stringify:l=>{const{r:o,g:y,b:k,a:A}=l;return A<1?`rgba(${ce.lang.round(o)}, ${ce.lang.round(y)}, ${ce.lang.round(k)}, ${ce.lang.round(A)})`:`rgb(${ce.lang.round(o)}, ${ce.lang.round(y)}, ${ce.lang.round(k)})`}},Ue=Re,Fe={format:{keyword:Ie,hex:Pe,rgb:Ue,rgba:Ue,hsl:Ze,hsla:Ze},parse:l=>{if(typeof l!="string")return l;const o=Pe.parse(l)||Ue.parse(l)||Ze.parse(l)||Ie.parse(l);if(o)return o;throw new Error(`Unsupported color format: "${l}"`)},stringify:l=>!l.changed&&l.color?l.color:l.type.is(2)||l.data.r===void 0?Ze.stringify(l):l.a<1||!Number.isInteger(l.r)||!Number.isInteger(l.g)||!Number.isInteger(l.b)?Ue.stringify(l):Pe.stringify(l)},be=(l,o)=>{const y=Fe.parse(l);for(const k in o)y[k]=ce.channel.clamp[k](o[k]);return Fe.stringify(y)},ae=(l,o)=>{const y=Fe.parse(l),k={};for(const A in o)o[A]&&(k[A]=y[A]+o[A]);return be(l,k)},br=(l,o,y=0,k=1)=>{if(typeof l!="number")return be(l,{a:o});const A=Te.set({r:ce.channel.clamp.r(l),g:ce.channel.clamp.g(o),b:ce.channel.clamp.b(y),a:ce.channel.clamp.a(k)});return Fe.stringify(A)},qe=(l,o=100)=>{const y=Fe.parse(l);return y.r=255-y.r,y.g=255-y.g,y.b=255-y.b,((k,A,I=50)=>{const{r:L,g:O,b:P,a:Y}=Fe.parse(k),{r:Z,g:nt,b:lt,a:ct}=Fe.parse(A),Mt=I/100,Nt=2*Mt-1,zt=Y-ct,Ht=((Nt*zt==-1?Nt:(Nt+zt)/(1+Nt*zt))+1)/2,It=1-Ht;return br(L*Ht+Z*It,O*Ht+nt*It,P*Ht+lt*It,Y*Mt+ct*(1-Mt))})(y,l,o)},sr=(l,o,y)=>{const k=Fe.parse(l),A=k[o],I=ce.channel.clamp[o](A+y);return A!==I&&(k[o]=I),Fe.stringify(k)},$e=(l,o)=>sr(l,"l",-o),Er=(l,o)=>sr(l,"l",o);var Jr=function(l,o){return ae(l,o?{s:-40,l:10}:{s:-40,l:-10})};function Ir(l){return Ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Ir(l)}function Br(l,o){for(var y=0;yl.length)&&(o=l.length);for(var y=0,k=new Array(o);y1&&arguments[1]!==void 0?arguments[1]:"";return Object.keys(o).reduce(function(k,A){return Array.isArray(o[A])?k:jr(o[A])==="object"&&o[A]!==null?[].concat(Nr(k),[y+A],Nr(l(o[A],""))):[].concat(Nr(k),[y+A])},[])}($r,"");const Mn=$r;function An(l){return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},An(l)}var Lr,ui=Object.freeze(Mn),Fr=Ee({},ui),xn=[],In=Ee({},ui),bn=function(l,o){for(var y=Ee({},l),k={},A=0;A-1||o[y].indexOf(">")>-1||o[y].indexOf("url(data:")>-1)&&delete o[y],An(o[y])==="object"&&l(o[y])})},On=function(l){l.fontFamily&&(l.themeVariables&&l.themeVariables.fontFamily||(l.themeVariables={fontFamily:l.fontFamily})),xn.push(l),bn(Fr,xn)},Zr=function(){bn(Fr,xn=[])},ei=d(7856),Hn=d.n(ei),Bn=function(l){var o=l.replace(/\\u[\dA-F]{4}/gi,function(y){return String.fromCharCode(parseInt(y.replace(/\\u/g,""),16))});return o=(o=(o=o.replace(/\\x([0-9a-f]{2})/gi,function(y,k){return String.fromCharCode(parseInt(k,16))})).replace(/\\[\d\d\d]{3}/gi,function(y){return String.fromCharCode(parseInt(y.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(y){return String.fromCharCode(parseInt(y.replace(/\\/g,""),8))})},ri=function(l){for(var o="",y=0;y>=0;){if(!((y=l.indexOf("=0)){o+=l,y=-1;break}o+=l.substr(0,y),(y=(l=l.substr(y+1)).indexOf("<\/script>"))>=0&&(y+=9,l=l.substr(y))}var k=Bn(o);return(k=(k=(k=(k=k.replaceAll(/script>/gi,"#")).replaceAll(/javascript:/gi,"#")).replaceAll(/javascript&colon/gi,"#")).replaceAll(/onerror=/gi,"onerror:")).replaceAll(/`)}else L.securityLevel!=="loose"&&(ue=Hn().sanitize(ue,{ADD_TAGS:["foreignobject"],ADD_ATTR:["dominant-baseline"]}));if(y!==void 0)switch(Nt){case"flowchart":case"flowchart-v2":y(ue,no.bindFunctions);break;case"gantt":y(ue,E1.bindFunctions);break;case"class":case"classDiagram":y(ue,Mo.bindFunctions);break;default:y(ue)}else _.debug("CB = undefined!");Zs.forEach(function(ie){ie()}),Zs=[];var Yt=L.securityLevel==="sandbox"?"#i"+l:"#d"+l,se=(0,E.select)(Yt).node();return se!==null&&typeof se.remove=="function"&&(0,E.select)(Yt).node().remove(),ue},parse:function(l,o){rn||(Hl(),rn=!0);var y=!1;try{var k=o||new hh(l);return k.db.clear(),k.parse(l)}catch(A){if(y=!0,!Mr.parseError)throw A;A.str!=null?Mr.parseError(A.str,A.hash):Mr.parseError(A)}return!y},parseDirective:function(l,o,y,k){try{if(o!==void 0)switch(o=o.trim(),y){case"open_directive":Xo={};break;case"type_directive":Xo.type=o.toLowerCase();break;case"arg_directive":Xo.args=JSON.parse(o);break;case"close_directive":(function(A,I,L){switch(_.debug("Directive type=".concat(I.type," with args:"),I.args),I.type){case"init":case"initialize":["config"].forEach(function(O){I.args[O]!==void 0&&(L==="flowchart-v2"&&(L="flowchart"),I.args[L]=I.args[O],delete I.args[O])}),_.debug("sanitize in handleDirective",I.args),No(I.args),_.debug("sanitize in handleDirective (done)",I.args),On(I.args);break;case"wrap":case"nowrap":A&&A.setWrap&&A.setWrap(I.type==="wrap");break;case"themeCss":_.warn("themeCss encountered");break;default:_.warn("Unhandled directive: source: '%%{".concat(I.type,": ").concat(JSON.stringify(I.args?I.args:{}),"}%%"),I)}})(l,Xo,k),Xo=null}}catch(A){_.error("Error while rendering sequenceDiagram directive: ".concat(o," jison context: ").concat(y)),_.error(A.message)}},initialize:function(l){var o;l!=null&&l.fontFamily&&((o=l.themeVariables)!==null&&o!==void 0&&o.fontFamily||(l.themeVariables={fontFamily:l.fontFamily})),function(k){Lr=Ee({},k)}(l),l!=null&&l.theme&&Ur[l.theme]?l.themeVariables=Ur[l.theme].getThemeVariables(l.themeVariables):l&&(l.themeVariables=Ur.default.getThemeVariables(l.themeVariables));var y=ec(l)==="object"?function(k){return Fr=Ee({},ui),Fr=Ee(Fr,k),k.theme&&Ur[k.theme]&&(Fr.themeVariables=Ur[k.theme].getThemeVariables(k.themeVariables)),In=bn(Fr,xn),Fr}(l):Xn();Xi(y),S(y.logLevel),rn||(Hl(),rn=!0)},getConfig:Bt,setConfig:function(l){return Ee(In,l),Bt()},getSiteConfig:Xn,updateSiteConfig:function(l){return Fr=Ee(Fr,l),bn(Fr,xn),Fr},reset:function(){Zr()},globalReset:function(){Zr(),Xi(Bt())},defaultConfig:ui});S(Bt().logLevel),Zr(Bt());const xr=Un;var gn=function(){var l,o,y=xr.getConfig();arguments.length>=2?(arguments[0]!==void 0&&(Ln.sequenceConfig=arguments[0]),l=arguments[1]):l=arguments[0],typeof arguments[arguments.length-1]=="function"?(o=arguments[arguments.length-1],_.debug("Callback function found")):y.mermaid!==void 0&&(typeof y.mermaid.callback=="function"?(o=y.mermaid.callback,_.debug("Callback function found")):_.debug("No Callback function found")),l=l===void 0?document.querySelectorAll(".mermaid"):typeof l=="string"?document.querySelectorAll(l):l instanceof window.Node?[l]:l,_.debug("Start On Load before: "+Ln.startOnLoad),Ln.startOnLoad!==void 0&&(_.debug("Start On Load inner: "+Ln.startOnLoad),xr.updateSiteConfig({startOnLoad:Ln.startOnLoad})),Ln.ganttConfig!==void 0&&xr.updateSiteConfig({gantt:Ln.ganttConfig});for(var k,A=new en.initIdGenerator(y.deterministicIds,y.deterministicIDSeed),I=function(O){var P=l[O];if(P.getAttribute("data-processed"))return"continue";P.setAttribute("data-processed",!0);var Y="mermaid-".concat(A.next());k=P.innerHTML,k=en.entityDecode(k).trim().replace(//gi,"
");var Z=en.detectInit(k);Z&&_.debug("Detected early reinit: ",Z);try{xr.render(Y,k,function(nt,lt){P.innerHTML=nt,o!==void 0&&o(Y),lt&<(P)},P)}catch(nt){throw _.warn("Catching Error (bootstrap)"),{error:nt,message:nt.str}}},L=0;L{h.exports={graphlib:d(6614),dagre:d(6478),intersect:d(8114),render:d(5787),util:d(8355),version:d(5689)}},9144:(h,b,d)=>{var m=d(8355);function f(v,_,S,M){var E=v.append("marker").attr("id",_).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(E,S[M+"Style"]),S[M+"Class"]&&E.attr("class",S[M+"Class"])}h.exports={default:f,normal:f,vee:function(v,_,S,M){var E=v.append("marker").attr("id",_).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(E,S[M+"Style"]),S[M+"Class"]&&E.attr("class",S[M+"Class"])},undirected:function(v,_,S,M){var E=v.append("marker").attr("id",_).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");m.applyStyle(E,S[M+"Style"]),S[M+"Class"]&&E.attr("class",S[M+"Class"])}}},5632:(h,b,d)=>{var m=d(8355),f=d(4322),v=d(1322);h.exports=function(_,S){var M,E=S.nodes().filter(function(B){return m.isSubgraph(S,B)}),D=_.selectAll("g.cluster").data(E,function(B){return B});return D.selectAll("*").remove(),D.enter().append("g").attr("class","cluster").attr("id",function(B){return S.node(B).id}).style("opacity",0),D=_.selectAll("g.cluster"),m.applyTransition(D,S).style("opacity",1),D.each(function(B){var U=S.node(B),H=f.select(this);f.select(this).append("rect");var J=H.append("g").attr("class","label");v(J,U,U.clusterLabelPos)}),D.selectAll("rect").each(function(B){var U=S.node(B),H=f.select(this);m.applyStyle(H,U.style)}),M=D.exit?D.exit():D.selectAll(null),m.applyTransition(M,S).style("opacity",0).remove(),D}},6315:(h,b,d)=>{var m=d(1034),f=d(1322),v=d(8355),_=d(4322);h.exports=function(S,M){var E,D=S.selectAll("g.edgeLabel").data(M.edges(),function(B){return v.edgeToId(B)}).classed("update",!0);return D.exit().remove(),D.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(D=S.selectAll("g.edgeLabel")).each(function(B){var U=_.select(this);U.select(".label").remove();var H=M.edge(B),J=f(U,M.edge(B),0,0).classed("label",!0),rt=J.node().getBBox();H.labelId&&J.attr("id",H.labelId),m.has(H,"width")||(H.width=rt.width),m.has(H,"height")||(H.height=rt.height)}),E=D.exit?D.exit():D.selectAll(null),v.applyTransition(E,M).style("opacity",0).remove(),D}},940:(h,b,d)=>{var m=d(1034),f=d(3042),v=d(8355),_=d(4322);function S(M,E){var D=(_.line||_.svg.line)().x(function(B){return B.x}).y(function(B){return B.y});return(D.curve||D.interpolate)(M.curve),D(E)}h.exports=function(M,E,D){var B=M.selectAll("g.edgePath").data(E.edges(),function(J){return v.edgeToId(J)}).classed("update",!0),U=function(J,rt){var dt=J.enter().append("g").attr("class","edgePath").style("opacity",0);return dt.append("path").attr("class","path").attr("d",function(K){var _t=rt.edge(K),at=rt.node(K.v).elem;return S(_t,m.range(_t.points.length).map(function(){return bt=(ot=at).getBBox(),{x:(Ut=ot.ownerSVGElement.getScreenCTM().inverse().multiply(ot.getScreenCTM()).translate(bt.width/2,bt.height/2)).e,y:Ut.f};var ot,bt,Ut}))}),dt.append("defs"),dt}(B,E);(function(J,rt){var dt=J.exit();v.applyTransition(dt,rt).style("opacity",0).remove()})(B,E);var H=B.merge!==void 0?B.merge(U):B;return v.applyTransition(H,E).style("opacity",1),H.each(function(J){var rt=_.select(this),dt=E.edge(J);dt.elem=this,dt.id&&rt.attr("id",dt.id),v.applyClass(rt,dt.class,(rt.classed("update")?"update ":"")+"edgePath")}),H.selectAll("path.path").each(function(J){var rt=E.edge(J);rt.arrowheadId=m.uniqueId("arrowhead");var dt=_.select(this).attr("marker-end",function(){return"url("+(K=location.href,_t=rt.arrowheadId,K.split("#")[0]+"#"+_t+")");var K,_t}).style("fill","none");v.applyTransition(dt,E).attr("d",function(K){return function(_t,at){var ot=_t.edge(at),bt=_t.node(at.v),Ut=_t.node(at.w),Tt=ot.points.slice(1,ot.points.length-1);return Tt.unshift(f(bt,Tt[0])),Tt.push(f(Ut,Tt[Tt.length-1])),S(ot,Tt)}(E,K)}),v.applyStyle(dt,rt.style)}),H.selectAll("defs *").remove(),H.selectAll("defs").each(function(J){var rt=E.edge(J);(0,D[rt.arrowhead])(_.select(this),rt.arrowheadId,rt,"arrowhead")}),H}},607:(h,b,d)=>{var m=d(1034),f=d(1322),v=d(8355),_=d(4322);h.exports=function(S,M,E){var D,B=M.nodes().filter(function(H){return!v.isSubgraph(M,H)}),U=S.selectAll("g.node").data(B,function(H){return H}).classed("update",!0);return U.exit().remove(),U.enter().append("g").attr("class","node").style("opacity",0),(U=S.selectAll("g.node")).each(function(H){var J=M.node(H),rt=_.select(this);v.applyClass(rt,J.class,(rt.classed("update")?"update ":"")+"node"),rt.select("g.label").remove();var dt=rt.append("g").attr("class","label"),K=f(dt,J),_t=E[J.shape],at=m.pick(K.node().getBBox(),"width","height");J.elem=this,J.id&&rt.attr("id",J.id),J.labelId&&dt.attr("id",J.labelId),m.has(J,"width")&&(at.width=J.width),m.has(J,"height")&&(at.height=J.height),at.width+=J.paddingLeft+J.paddingRight,at.height+=J.paddingTop+J.paddingBottom,dt.attr("transform","translate("+(J.paddingLeft-J.paddingRight)/2+","+(J.paddingTop-J.paddingBottom)/2+")");var ot=_.select(this);ot.select(".label-container").remove();var bt=_t(ot,at,J).classed("label-container",!0);v.applyStyle(bt,J.style);var Ut=bt.node().getBBox();J.width=Ut.width,J.height=Ut.height}),D=U.exit?U.exit():U.selectAll(null),v.applyTransition(D,M).style("opacity",0).remove(),U}},4322:(h,b,d)=>{var m;if(!m)try{m=d(7543)}catch{}m||(m=window.d3),h.exports=m},6478:(h,b,d)=>{var m;try{m=d(681)}catch{}m||(m=window.dagre),h.exports=m},6614:(h,b,d)=>{var m;try{m=d(8282)}catch{}m||(m=window.graphlib),h.exports=m},8114:(h,b,d)=>{h.exports={node:d(3042),circle:d(6587),ellipse:d(3260),polygon:d(5337),rect:d(8049)}},6587:(h,b,d)=>{var m=d(3260);h.exports=function(f,v,_){return m(f,v,v,_)}},3260:h=>{h.exports=function(b,d,m,f){var v=b.x,_=b.y,S=v-f.x,M=_-f.y,E=Math.sqrt(d*d*M*M+m*m*S*S),D=Math.abs(d*m*S/E);f.x{function b(d,m){return d*m>0}h.exports=function(d,m,f,v){var _,S,M,E,D,B,U,H,J,rt,dt,K,_t;if(_=m.y-d.y,M=d.x-m.x,D=m.x*d.y-d.x*m.y,J=_*f.x+M*f.y+D,rt=_*v.x+M*v.y+D,!(J!==0&&rt!==0&&b(J,rt)||(S=v.y-f.y,E=f.x-v.x,B=v.x*f.y-f.x*v.y,U=S*d.x+E*d.y+B,H=S*m.x+E*m.y+B,U!==0&&H!==0&&b(U,H)||(dt=_*E-S*M)==0)))return K=Math.abs(dt/2),{x:(_t=M*B-E*D)<0?(_t-K)/dt:(_t+K)/dt,y:(_t=S*D-_*B)<0?(_t-K)/dt:(_t+K)/dt}}},3042:h=>{h.exports=function(b,d){return b.intersect(d)}},5337:(h,b,d)=>{var m=d(6808);h.exports=function(f,v,_){var S=f.x,M=f.y,E=[],D=Number.POSITIVE_INFINITY,B=Number.POSITIVE_INFINITY;v.forEach(function(_t){D=Math.min(D,_t.x),B=Math.min(B,_t.y)});for(var U=S-f.width/2-D,H=M-f.height/2-B,J=0;J1&&E.sort(function(_t,at){var ot=_t.x-_.x,bt=_t.y-_.y,Ut=Math.sqrt(ot*ot+bt*bt),Tt=at.x-_.x,mt=at.y-_.y,Ct=Math.sqrt(Tt*Tt+mt*mt);return Ut{h.exports=function(b,d){var m,f,v=b.x,_=b.y,S=d.x-v,M=d.y-_,E=b.width/2,D=b.height/2;return Math.abs(M)*E>Math.abs(S)*D?(M<0&&(D=-D),m=M===0?0:D*S/M,f=D):(S<0&&(E=-E),m=E,f=S===0?0:E*M/S),{x:v+m,y:_+f}}},8284:(h,b,d)=>{var m=d(8355);h.exports=function(f,v){var _=f.append("foreignObject").attr("width","100000"),S=_.append("xhtml:div");S.attr("xmlns","http://www.w3.org/1999/xhtml");var M=v.label;switch(typeof M){case"function":S.insert(M);break;case"object":S.insert(function(){return M});break;default:S.html(M)}m.applyStyle(S,v.labelStyle),S.style("display","inline-block"),S.style("white-space","nowrap");var E=S.node().getBoundingClientRect();return _.attr("width",E.width).attr("height",E.height),_}},1322:(h,b,d)=>{var m=d(7318),f=d(8284),v=d(8287);h.exports=function(_,S,M){var E=S.label,D=_.append("g");S.labelType==="svg"?v(D,S):typeof E!="string"||S.labelType==="html"?f(D,S):m(D,S);var B,U=D.node().getBBox();switch(M){case"top":B=-S.height/2;break;case"bottom":B=S.height/2-U.height;break;default:B=-U.height/2}return D.attr("transform","translate("+-U.width/2+","+B+")"),D}},8287:(h,b,d)=>{var m=d(8355);h.exports=function(f,v){var _=f;return _.node().appendChild(v.label),m.applyStyle(_,v.labelStyle),_}},7318:(h,b,d)=>{var m=d(8355);h.exports=function(f,v){for(var _=f.append("text"),S=function(E){for(var D,B="",U=!1,H=0;H{var m;try{m={defaults:d(1747),each:d(6073),isFunction:d(3560),isPlainObject:d(8630),pick:d(9722),has:d(8721),range:d(6026),uniqueId:d(3955)}}catch{}m||(m=window._),h.exports=m},6381:(h,b,d)=>{var m=d(8355),f=d(4322);h.exports=function(v,_){var S=v.filter(function(){return!f.select(this).classed("update")});function M(E){var D=_.node(E);return"translate("+D.x+","+D.y+")"}S.attr("transform",M),m.applyTransition(v,_).style("opacity",1).attr("transform",M),m.applyTransition(S.selectAll("rect"),_).attr("width",function(E){return _.node(E).width}).attr("height",function(E){return _.node(E).height}).attr("x",function(E){return-_.node(E).width/2}).attr("y",function(E){return-_.node(E).height/2})}},4577:(h,b,d)=>{var m=d(8355),f=d(4322),v=d(1034);h.exports=function(_,S){function M(E){var D=S.edge(E);return v.has(D,"x")?"translate("+D.x+","+D.y+")":""}_.filter(function(){return!f.select(this).classed("update")}).attr("transform",M),m.applyTransition(_,S).style("opacity",1).attr("transform",M)}},4849:(h,b,d)=>{var m=d(8355),f=d(4322);h.exports=function(v,_){function S(M){var E=_.node(M);return"translate("+E.x+","+E.y+")"}v.filter(function(){return!f.select(this).classed("update")}).attr("transform",S),m.applyTransition(v,_).style("opacity",1).attr("transform",S)}},5787:(h,b,d)=>{var m=d(1034),f=d(4322),v=d(6478).layout;h.exports=function(){var E=d(607),D=d(5632),B=d(6315),U=d(940),H=d(4849),J=d(4577),rt=d(6381),dt=d(4418),K=d(9144),_t=function(at,ot){(function(gt){gt.nodes().forEach(function(et){var ft=gt.node(et);m.has(ft,"label")||gt.children(et).length||(ft.label=et),m.has(ft,"paddingX")&&m.defaults(ft,{paddingLeft:ft.paddingX,paddingRight:ft.paddingX}),m.has(ft,"paddingY")&&m.defaults(ft,{paddingTop:ft.paddingY,paddingBottom:ft.paddingY}),m.has(ft,"padding")&&m.defaults(ft,{paddingLeft:ft.padding,paddingRight:ft.padding,paddingTop:ft.padding,paddingBottom:ft.padding}),m.defaults(ft,_),m.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(q){ft[q]=Number(ft[q])}),m.has(ft,"width")&&(ft._prevWidth=ft.width),m.has(ft,"height")&&(ft._prevHeight=ft.height)}),gt.edges().forEach(function(et){var ft=gt.edge(et);m.has(ft,"label")||(ft.label=""),m.defaults(ft,S)})})(ot);var bt=M(at,"output"),Ut=M(bt,"clusters"),Tt=M(bt,"edgePaths"),mt=B(M(bt,"edgeLabels"),ot),Ct=E(M(bt,"nodes"),ot,dt);v(ot),H(Ct,ot),J(mt,ot),U(Tt,ot,K);var xt=D(Ut,ot);rt(xt,ot),function(gt){m.each(gt.nodes(),function(et){var ft=gt.node(et);m.has(ft,"_prevWidth")?ft.width=ft._prevWidth:delete ft.width,m.has(ft,"_prevHeight")?ft.height=ft._prevHeight:delete ft.height,delete ft._prevWidth,delete ft._prevHeight})}(ot)};return _t.createNodes=function(at){return arguments.length?(E=at,_t):E},_t.createClusters=function(at){return arguments.length?(D=at,_t):D},_t.createEdgeLabels=function(at){return arguments.length?(B=at,_t):B},_t.createEdgePaths=function(at){return arguments.length?(U=at,_t):U},_t.shapes=function(at){return arguments.length?(dt=at,_t):dt},_t.arrows=function(at){return arguments.length?(K=at,_t):K},_t};var _={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},S={arrowhead:"normal",curve:f.curveLinear};function M(E,D){var B=E.select("g."+D);return B.empty()&&(B=E.append("g").attr("class",D)),B}},4418:(h,b,d)=>{var m=d(8049),f=d(3260),v=d(6587),_=d(5337);h.exports={rect:function(S,M,E){var D=S.insert("rect",":first-child").attr("rx",E.rx).attr("ry",E.ry).attr("x",-M.width/2).attr("y",-M.height/2).attr("width",M.width).attr("height",M.height);return E.intersect=function(B){return m(E,B)},D},ellipse:function(S,M,E){var D=M.width/2,B=M.height/2,U=S.insert("ellipse",":first-child").attr("x",-M.width/2).attr("y",-M.height/2).attr("rx",D).attr("ry",B);return E.intersect=function(H){return f(E,D,B,H)},U},circle:function(S,M,E){var D=Math.max(M.width,M.height)/2,B=S.insert("circle",":first-child").attr("x",-M.width/2).attr("y",-M.height/2).attr("r",D);return E.intersect=function(U){return v(E,D,U)},B},diamond:function(S,M,E){var D=M.width*Math.SQRT2/2,B=M.height*Math.SQRT2/2,U=[{x:0,y:-B},{x:-D,y:0},{x:0,y:B},{x:D,y:0}],H=S.insert("polygon",":first-child").attr("points",U.map(function(J){return J.x+","+J.y}).join(" "));return E.intersect=function(J){return _(E,U,J)},H}}},8355:(h,b,d)=>{var m=d(1034);h.exports={isSubgraph:function(_,S){return!!_.children(S).length},edgeToId:function(_){return v(_.v)+":"+v(_.w)+":"+v(_.name)},applyStyle:function(_,S){S&&_.attr("style",S)},applyClass:function(_,S,M){S&&_.attr("class",S).attr("class",M+" "+_.attr("class"))},applyTransition:function(_,S){var M=S.graph();if(m.isPlainObject(M)){var E=M.transition;if(m.isFunction(E))return E(_)}return _}};var f=/:/g;function v(_){return _?String(_).replace(f,"\\:"):""}},5689:h=>{h.exports="0.6.4"},681:(h,b,d)=>{h.exports={graphlib:d(574),layout:d(8123),debug:d(7570),util:{time:d(1138).time,notime:d(1138).notime},version:d(8177)}},2188:(h,b,d)=>{var m=d(8436),f=d(4079);h.exports={run:function(v){var _=v.graph().acyclicer==="greedy"?f(v,function(S){return function(M){return S.edge(M).weight}}(v)):function(S){var M=[],E={},D={};return m.forEach(S.nodes(),function B(U){m.has(D,U)||(D[U]=!0,E[U]=!0,m.forEach(S.outEdges(U),function(H){m.has(E,H.w)?M.push(H):B(H.w)}),delete E[U])}),M}(v);m.forEach(_,function(S){var M=v.edge(S);v.removeEdge(S),M.forwardName=S.name,M.reversed=!0,v.setEdge(S.w,S.v,M,m.uniqueId("rev"))})},undo:function(v){m.forEach(v.edges(),function(_){var S=v.edge(_);if(S.reversed){v.removeEdge(_);var M=S.forwardName;delete S.reversed,delete S.forwardName,v.setEdge(_.w,_.v,S,M)}})}}},1133:(h,b,d)=>{var m=d(8436),f=d(1138);function v(_,S,M,E,D,B){var U={width:0,height:0,rank:B,borderType:S},H=D[S][B-1],J=f.addDummyNode(_,"border",U,M);D[S][B]=J,_.setParent(J,E),H&&_.setEdge(H,J,{weight:1})}h.exports=function(_){m.forEach(_.children(),function S(M){var E=_.children(M),D=_.node(M);if(E.length&&m.forEach(E,S),m.has(D,"minRank")){D.borderLeft=[],D.borderRight=[];for(var B=D.minRank,U=D.maxRank+1;B{var m=d(8436);function f(M){m.forEach(M.nodes(),function(E){v(M.node(E))}),m.forEach(M.edges(),function(E){v(M.edge(E))})}function v(M){var E=M.width;M.width=M.height,M.height=E}function _(M){M.y=-M.y}function S(M){var E=M.x;M.x=M.y,M.y=E}h.exports={adjust:function(M){var E=M.graph().rankdir.toLowerCase();E!=="lr"&&E!=="rl"||f(M)},undo:function(M){var E=M.graph().rankdir.toLowerCase();E!=="bt"&&E!=="rl"||function(D){m.forEach(D.nodes(),function(B){_(D.node(B))}),m.forEach(D.edges(),function(B){var U=D.edge(B);m.forEach(U.points,_),m.has(U,"y")&&_(U)})}(M),E!=="lr"&&E!=="rl"||(function(D){m.forEach(D.nodes(),function(B){S(D.node(B))}),m.forEach(D.edges(),function(B){var U=D.edge(B);m.forEach(U.points,S),m.has(U,"x")&&S(U)})}(M),f(M))}}},7822:h=>{function b(){var f={};f._next=f._prev=f,this._sentinel=f}function d(f){f._prev._next=f._next,f._next._prev=f._prev,delete f._next,delete f._prev}function m(f,v){if(f!=="_next"&&f!=="_prev")return v}h.exports=b,b.prototype.dequeue=function(){var f=this._sentinel,v=f._prev;if(v!==f)return d(v),v},b.prototype.enqueue=function(f){var v=this._sentinel;f._prev&&f._next&&d(f),f._next=v._next,v._next._prev=f,v._next=f,f._prev=v},b.prototype.toString=function(){for(var f=[],v=this._sentinel,_=v._prev;_!==v;)f.push(JSON.stringify(_,m)),_=_._prev;return"["+f.join(", ")+"]"}},7570:(h,b,d)=>{var m=d(8436),f=d(1138),v=d(574).Graph;h.exports={debugOrdering:function(_){var S=f.buildLayerMatrix(_),M=new v({compound:!0,multigraph:!0}).setGraph({});return m.forEach(_.nodes(),function(E){M.setNode(E,{label:E}),M.setParent(E,"layer"+_.node(E).rank)}),m.forEach(_.edges(),function(E){M.setEdge(E.v,E.w,{},E.name)}),m.forEach(S,function(E,D){var B="layer"+D;M.setNode(B,{rank:"same"}),m.reduce(E,function(U,H){return M.setEdge(U,H,{style:"invis"}),H})}),M}}},574:(h,b,d)=>{var m;try{m=d(8282)}catch{}m||(m=window.graphlib),h.exports=m},4079:(h,b,d)=>{var m=d(8436),f=d(574).Graph,v=d(7822);h.exports=function(E,D){if(E.nodeCount()<=1)return[];var B=function(H,J){var rt=new f,dt=0,K=0;m.forEach(H.nodes(),function(ot){rt.setNode(ot,{v:ot,in:0,out:0})}),m.forEach(H.edges(),function(ot){var bt=rt.edge(ot.v,ot.w)||0,Ut=J(ot),Tt=bt+Ut;rt.setEdge(ot.v,ot.w,Tt),K=Math.max(K,rt.node(ot.v).out+=Ut),dt=Math.max(dt,rt.node(ot.w).in+=Ut)});var _t=m.range(K+dt+3).map(function(){return new v}),at=dt+1;return m.forEach(rt.nodes(),function(ot){M(_t,at,rt.node(ot))}),{graph:rt,buckets:_t,zeroIdx:at}}(E,D||_),U=function(H,J,rt){for(var dt,K=[],_t=J[J.length-1],at=J[0];H.nodeCount();){for(;dt=at.dequeue();)S(H,J,rt,dt);for(;dt=_t.dequeue();)S(H,J,rt,dt);if(H.nodeCount()){for(var ot=J.length-2;ot>0;--ot)if(dt=J[ot].dequeue()){K=K.concat(S(H,J,rt,dt,!0));break}}}return K}(B.graph,B.buckets,B.zeroIdx);return m.flatten(m.map(U,function(H){return E.outEdges(H.v,H.w)}),!0)};var _=m.constant(1);function S(E,D,B,U,H){var J=H?[]:void 0;return m.forEach(E.inEdges(U.v),function(rt){var dt=E.edge(rt),K=E.node(rt.v);H&&J.push({v:rt.v,w:rt.w}),K.out-=dt,M(D,B,K)}),m.forEach(E.outEdges(U.v),function(rt){var dt=E.edge(rt),K=rt.w,_t=E.node(K);_t.in-=dt,M(D,B,_t)}),E.removeNode(U.v),J}function M(E,D,B){B.out?B.in?E[B.out-B.in+D].enqueue(B):E[E.length-1].enqueue(B):E[0].enqueue(B)}},8123:(h,b,d)=>{var m=d(8436),f=d(2188),v=d(5995),_=d(8093),S=d(1138).normalizeRanks,M=d(4219),E=d(1138).removeEmptyRanks,D=d(2981),B=d(1133),U=d(3258),H=d(3408),J=d(7873),rt=d(1138),dt=d(574).Graph;h.exports=function(gt,et){var ft=et&&et.debugTiming?rt.time:rt.notime;ft("layout",function(){var q=ft(" buildLayoutGraph",function(){return function(wt){var W=new dt({multigraph:!0,compound:!0}),St=xt(wt.graph());return W.setGraph(m.merge({},_t,Ct(St,K),m.pick(St,at))),m.forEach(wt.nodes(),function(Lt){var Wt=xt(wt.node(Lt));W.setNode(Lt,m.defaults(Ct(Wt,ot),bt)),W.setParent(Lt,wt.parent(Lt))}),m.forEach(wt.edges(),function(Lt){var Wt=xt(wt.edge(Lt));W.setEdge(Lt,m.merge({},Tt,Ct(Wt,Ut),m.pick(Wt,mt)))}),W}(gt)});ft(" runLayout",function(){(function(wt,W){W(" makeSpaceForEdgeLabels",function(){(function(St){var Lt=St.graph();Lt.ranksep/=2,m.forEach(St.edges(),function(Wt){var ye=St.edge(Wt);ye.minlen*=2,ye.labelpos.toLowerCase()!=="c"&&(Lt.rankdir==="TB"||Lt.rankdir==="BT"?ye.width+=ye.labeloffset:ye.height+=ye.labeloffset)})})(wt)}),W(" removeSelfEdges",function(){(function(St){m.forEach(St.edges(),function(Lt){if(Lt.v===Lt.w){var Wt=St.node(Lt.v);Wt.selfEdges||(Wt.selfEdges=[]),Wt.selfEdges.push({e:Lt,label:St.edge(Lt)}),St.removeEdge(Lt)}})})(wt)}),W(" acyclic",function(){f.run(wt)}),W(" nestingGraph.run",function(){D.run(wt)}),W(" rank",function(){_(rt.asNonCompoundGraph(wt))}),W(" injectEdgeLabelProxies",function(){(function(St){m.forEach(St.edges(),function(Lt){var Wt=St.edge(Lt);if(Wt.width&&Wt.height){var ye=St.node(Lt.v),Ve={rank:(St.node(Lt.w).rank-ye.rank)/2+ye.rank,e:Lt};rt.addDummyNode(St,"edge-proxy",Ve,"_ep")}})})(wt)}),W(" removeEmptyRanks",function(){E(wt)}),W(" nestingGraph.cleanup",function(){D.cleanup(wt)}),W(" normalizeRanks",function(){S(wt)}),W(" assignRankMinMax",function(){(function(St){var Lt=0;m.forEach(St.nodes(),function(Wt){var ye=St.node(Wt);ye.borderTop&&(ye.minRank=St.node(ye.borderTop).rank,ye.maxRank=St.node(ye.borderBottom).rank,Lt=m.max(Lt,ye.maxRank))}),St.graph().maxRank=Lt})(wt)}),W(" removeEdgeLabelProxies",function(){(function(St){m.forEach(St.nodes(),function(Lt){var Wt=St.node(Lt);Wt.dummy==="edge-proxy"&&(St.edge(Wt.e).labelRank=Wt.rank,St.removeNode(Lt))})})(wt)}),W(" normalize.run",function(){v.run(wt)}),W(" parentDummyChains",function(){M(wt)}),W(" addBorderSegments",function(){B(wt)}),W(" order",function(){H(wt)}),W(" insertSelfEdges",function(){(function(St){var Lt=rt.buildLayerMatrix(St);m.forEach(Lt,function(Wt){var ye=0;m.forEach(Wt,function(Ve,ke){var fe=St.node(Ve);fe.order=ke+ye,m.forEach(fe.selfEdges,function(xe){rt.addDummyNode(St,"selfedge",{width:xe.label.width,height:xe.label.height,rank:fe.rank,order:ke+ ++ye,e:xe.e,label:xe.label},"_se")}),delete fe.selfEdges})})})(wt)}),W(" adjustCoordinateSystem",function(){U.adjust(wt)}),W(" position",function(){J(wt)}),W(" positionSelfEdges",function(){(function(St){m.forEach(St.nodes(),function(Lt){var Wt=St.node(Lt);if(Wt.dummy==="selfedge"){var ye=St.node(Wt.e.v),Ve=ye.x+ye.width/2,ke=ye.y,fe=Wt.x-Ve,xe=ye.height/2;St.setEdge(Wt.e,Wt.label),St.removeNode(Lt),Wt.label.points=[{x:Ve+2*fe/3,y:ke-xe},{x:Ve+5*fe/6,y:ke-xe},{x:Ve+fe,y:ke},{x:Ve+5*fe/6,y:ke+xe},{x:Ve+2*fe/3,y:ke+xe}],Wt.label.x=Wt.x,Wt.label.y=Wt.y}})})(wt)}),W(" removeBorderNodes",function(){(function(St){m.forEach(St.nodes(),function(Lt){if(St.children(Lt).length){var Wt=St.node(Lt),ye=St.node(Wt.borderTop),Ve=St.node(Wt.borderBottom),ke=St.node(m.last(Wt.borderLeft)),fe=St.node(m.last(Wt.borderRight));Wt.width=Math.abs(fe.x-ke.x),Wt.height=Math.abs(Ve.y-ye.y),Wt.x=ke.x+Wt.width/2,Wt.y=ye.y+Wt.height/2}}),m.forEach(St.nodes(),function(Lt){St.node(Lt).dummy==="border"&&St.removeNode(Lt)})})(wt)}),W(" normalize.undo",function(){v.undo(wt)}),W(" fixupEdgeLabelCoords",function(){(function(St){m.forEach(St.edges(),function(Lt){var Wt=St.edge(Lt);if(m.has(Wt,"x"))switch(Wt.labelpos!=="l"&&Wt.labelpos!=="r"||(Wt.width-=Wt.labeloffset),Wt.labelpos){case"l":Wt.x-=Wt.width/2+Wt.labeloffset;break;case"r":Wt.x+=Wt.width/2+Wt.labeloffset}})})(wt)}),W(" undoCoordinateSystem",function(){U.undo(wt)}),W(" translateGraph",function(){(function(St){var Lt=Number.POSITIVE_INFINITY,Wt=0,ye=Number.POSITIVE_INFINITY,Ve=0,ke=St.graph(),fe=ke.marginx||0,xe=ke.marginy||0;function Me(Oe){var ve=Oe.x,Sr=Oe.y,_e=Oe.width,Je=Oe.height;Lt=Math.min(Lt,ve-_e/2),Wt=Math.max(Wt,ve+_e/2),ye=Math.min(ye,Sr-Je/2),Ve=Math.max(Ve,Sr+Je/2)}m.forEach(St.nodes(),function(Oe){Me(St.node(Oe))}),m.forEach(St.edges(),function(Oe){var ve=St.edge(Oe);m.has(ve,"x")&&Me(ve)}),Lt-=fe,ye-=xe,m.forEach(St.nodes(),function(Oe){var ve=St.node(Oe);ve.x-=Lt,ve.y-=ye}),m.forEach(St.edges(),function(Oe){var ve=St.edge(Oe);m.forEach(ve.points,function(Sr){Sr.x-=Lt,Sr.y-=ye}),m.has(ve,"x")&&(ve.x-=Lt),m.has(ve,"y")&&(ve.y-=ye)}),ke.width=Wt-Lt+fe,ke.height=Ve-ye+xe})(wt)}),W(" assignNodeIntersects",function(){(function(St){m.forEach(St.edges(),function(Lt){var Wt,ye,Ve=St.edge(Lt),ke=St.node(Lt.v),fe=St.node(Lt.w);Ve.points?(Wt=Ve.points[0],ye=Ve.points[Ve.points.length-1]):(Ve.points=[],Wt=fe,ye=ke),Ve.points.unshift(rt.intersectRect(ke,Wt)),Ve.points.push(rt.intersectRect(fe,ye))})})(wt)}),W(" reversePoints",function(){(function(St){m.forEach(St.edges(),function(Lt){var Wt=St.edge(Lt);Wt.reversed&&Wt.points.reverse()})})(wt)}),W(" acyclic.undo",function(){f.undo(wt)})})(q,ft)}),ft(" updateInputGraph",function(){(function(wt,W){m.forEach(wt.nodes(),function(St){var Lt=wt.node(St),Wt=W.node(St);Lt&&(Lt.x=Wt.x,Lt.y=Wt.y,W.children(St).length&&(Lt.width=Wt.width,Lt.height=Wt.height))}),m.forEach(wt.edges(),function(St){var Lt=wt.edge(St),Wt=W.edge(St);Lt.points=Wt.points,m.has(Wt,"x")&&(Lt.x=Wt.x,Lt.y=Wt.y)}),wt.graph().width=W.graph().width,wt.graph().height=W.graph().height})(gt,q)})})};var K=["nodesep","edgesep","ranksep","marginx","marginy"],_t={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},at=["acyclicer","ranker","rankdir","align"],ot=["width","height"],bt={width:0,height:0},Ut=["minlen","weight","width","height","labeloffset"],Tt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},mt=["labelpos"];function Ct(gt,et){return m.mapValues(m.pick(gt,et),Number)}function xt(gt){var et={};return m.forEach(gt,function(ft,q){et[q.toLowerCase()]=ft}),et}},8436:(h,b,d)=>{var m;try{m={cloneDeep:d(361),constant:d(5703),defaults:d(1747),each:d(6073),filter:d(3105),find:d(3311),flatten:d(5564),forEach:d(4486),forIn:d(2620),has:d(8721),isUndefined:d(2353),last:d(928),map:d(5161),mapValues:d(6604),max:d(6162),merge:d(3857),min:d(3632),minBy:d(2762),now:d(7771),pick:d(9722),range:d(6026),reduce:d(4061),sortBy:d(9734),uniqueId:d(3955),values:d(2628),zipObject:d(7287)}}catch{}m||(m=window._),h.exports=m},2981:(h,b,d)=>{var m=d(8436),f=d(1138);function v(_,S,M,E,D,B,U){var H=_.children(U);if(H.length){var J=f.addBorderNode(_,"_bt"),rt=f.addBorderNode(_,"_bb"),dt=_.node(U);_.setParent(J,U),dt.borderTop=J,_.setParent(rt,U),dt.borderBottom=rt,m.forEach(H,function(K){v(_,S,M,E,D,B,K);var _t=_.node(K),at=_t.borderTop?_t.borderTop:K,ot=_t.borderBottom?_t.borderBottom:K,bt=_t.borderTop?E:2*E,Ut=at!==ot?1:D-B[U]+1;_.setEdge(J,at,{weight:bt,minlen:Ut,nestingEdge:!0}),_.setEdge(ot,rt,{weight:bt,minlen:Ut,nestingEdge:!0})}),_.parent(U)||_.setEdge(S,J,{weight:0,minlen:D+B[U]})}else U!==S&&_.setEdge(S,U,{weight:0,minlen:M})}h.exports={run:function(_){var S=f.addDummyNode(_,"root",{},"_root"),M=function(U){var H={};function J(rt,dt){var K=U.children(rt);K&&K.length&&m.forEach(K,function(_t){J(_t,dt+1)}),H[rt]=dt}return m.forEach(U.children(),function(rt){J(rt,1)}),H}(_),E=m.max(m.values(M))-1,D=2*E+1;_.graph().nestingRoot=S,m.forEach(_.edges(),function(U){_.edge(U).minlen*=D});var B=function(U){return m.reduce(U.edges(),function(H,J){return H+U.edge(J).weight},0)}(_)+1;m.forEach(_.children(),function(U){v(_,S,D,B,E,M,U)}),_.graph().nodeRankFactor=D},cleanup:function(_){var S=_.graph();_.removeNode(S.nestingRoot),delete S.nestingRoot,m.forEach(_.edges(),function(M){_.edge(M).nestingEdge&&_.removeEdge(M)})}}},5995:(h,b,d)=>{var m=d(8436),f=d(1138);h.exports={run:function(v){v.graph().dummyChains=[],m.forEach(v.edges(),function(_){(function(S,M){var E,D,B,U=M.v,H=S.node(U).rank,J=M.w,rt=S.node(J).rank,dt=M.name,K=S.edge(M),_t=K.labelRank;if(rt!==H+1){for(S.removeEdge(M),B=0,++H;H{var m=d(8436);h.exports=function(f,v,_){var S,M={};m.forEach(_,function(E){for(var D,B,U=f.parent(E);U;){if((D=f.parent(U))?(B=M[D],M[D]=U):(B=S,S=U),B&&B!==U)return void v.setEdge(B,U);U=D}})}},5439:(h,b,d)=>{var m=d(8436);h.exports=function(f,v){return m.map(v,function(_){var S=f.inEdges(_);if(S.length){var M=m.reduce(S,function(E,D){var B=f.edge(D),U=f.node(D.v);return{sum:E.sum+B.weight*U.order,weight:E.weight+B.weight}},{sum:0,weight:0});return{v:_,barycenter:M.sum/M.weight,weight:M.weight}}return{v:_}})}},3128:(h,b,d)=>{var m=d(8436),f=d(574).Graph;h.exports=function(v,_,S){var M=function(D){for(var B;D.hasNode(B=m.uniqueId("_root")););return B}(v),E=new f({compound:!0}).setGraph({root:M}).setDefaultNodeLabel(function(D){return v.node(D)});return m.forEach(v.nodes(),function(D){var B=v.node(D),U=v.parent(D);(B.rank===_||B.minRank<=_&&_<=B.maxRank)&&(E.setNode(D),E.setParent(D,U||M),m.forEach(v[S](D),function(H){var J=H.v===D?H.w:H.v,rt=E.edge(J,D),dt=m.isUndefined(rt)?0:rt.weight;E.setEdge(J,D,{weight:v.edge(H).weight+dt})}),m.has(B,"minRank")&&E.setNode(D,{borderLeft:B.borderLeft[_],borderRight:B.borderRight[_]}))}),E}},6630:(h,b,d)=>{var m=d(8436);function f(v,_,S){for(var M=m.zipObject(S,m.map(S,function(J,rt){return rt})),E=m.flatten(m.map(_,function(J){return m.sortBy(m.map(v.outEdges(J),function(rt){return{pos:M[rt.w],weight:v.edge(rt).weight}}),"pos")}),!0),D=1;D0;)rt%2&&(dt+=U[rt+1]),U[rt=rt-1>>1]+=J.weight;H+=J.weight*dt})),H}h.exports=function(v,_){for(var S=0,M=1;M<_.length;++M)S+=f(v,_[M-1],_[M]);return S}},3408:(h,b,d)=>{var m=d(8436),f=d(2588),v=d(6630),_=d(1026),S=d(3128),M=d(5093),E=d(574).Graph,D=d(1138);function B(J,rt,dt){return m.map(rt,function(K){return S(J,K,dt)})}function U(J,rt){var dt=new E;m.forEach(J,function(K){var _t=K.graph().root,at=_(K,_t,dt,rt);m.forEach(at.vs,function(ot,bt){K.node(ot).order=bt}),M(K,dt,at.vs)})}function H(J,rt){m.forEach(rt,function(dt){m.forEach(dt,function(K,_t){J.node(K).order=_t})})}h.exports=function(J){var rt=D.maxRank(J),dt=B(J,m.range(1,rt+1),"inEdges"),K=B(J,m.range(rt-1,-1,-1),"outEdges"),_t=f(J);H(J,_t);for(var at,ot=Number.POSITIVE_INFINITY,bt=0,Ut=0;Ut<4;++bt,++Ut){U(bt%2?dt:K,bt%4>=2),_t=D.buildLayerMatrix(J);var Tt=v(J,_t);Tt{var m=d(8436);h.exports=function(f){var v={},_=m.filter(f.nodes(),function(D){return!f.children(D).length}),S=m.max(m.map(_,function(D){return f.node(D).rank})),M=m.map(m.range(S+1),function(){return[]}),E=m.sortBy(_,function(D){return f.node(D).rank});return m.forEach(E,function D(B){if(!m.has(v,B)){v[B]=!0;var U=f.node(B);M[U.rank].push(B),m.forEach(f.successors(B),D)}}),M}},9567:(h,b,d)=>{var m=d(8436);h.exports=function(f,v){var _={};return m.forEach(f,function(S,M){var E=_[S.v]={indegree:0,in:[],out:[],vs:[S.v],i:M};m.isUndefined(S.barycenter)||(E.barycenter=S.barycenter,E.weight=S.weight)}),m.forEach(v.edges(),function(S){var M=_[S.v],E=_[S.w];m.isUndefined(M)||m.isUndefined(E)||(E.indegree++,M.out.push(_[S.w]))}),function(S){var M=[];function E(U){return function(H){var J,rt,dt,K;H.merged||(m.isUndefined(H.barycenter)||m.isUndefined(U.barycenter)||H.barycenter>=U.barycenter)&&(rt=H,dt=0,K=0,(J=U).weight&&(dt+=J.barycenter*J.weight,K+=J.weight),rt.weight&&(dt+=rt.barycenter*rt.weight,K+=rt.weight),J.vs=rt.vs.concat(J.vs),J.barycenter=dt/K,J.weight=K,J.i=Math.min(rt.i,J.i),rt.merged=!0)}}function D(U){return function(H){H.in.push(U),--H.indegree==0&&S.push(H)}}for(;S.length;){var B=S.pop();M.push(B),m.forEach(B.in.reverse(),E(B)),m.forEach(B.out,D(B))}return m.map(m.filter(M,function(U){return!U.merged}),function(U){return m.pick(U,["vs","i","barycenter","weight"])})}(m.filter(_,function(S){return!S.indegree}))}},1026:(h,b,d)=>{var m=d(8436),f=d(5439),v=d(9567),_=d(7304);h.exports=function S(M,E,D,B){var U=M.children(E),H=M.node(E),J=H?H.borderLeft:void 0,rt=H?H.borderRight:void 0,dt={};J&&(U=m.filter(U,function(Ut){return Ut!==J&&Ut!==rt}));var K=f(M,U);m.forEach(K,function(Ut){if(M.children(Ut.v).length){var Tt=S(M,Ut.v,D,B);dt[Ut.v]=Tt,m.has(Tt,"barycenter")&&(mt=Ut,Ct=Tt,m.isUndefined(mt.barycenter)?(mt.barycenter=Ct.barycenter,mt.weight=Ct.weight):(mt.barycenter=(mt.barycenter*mt.weight+Ct.barycenter*Ct.weight)/(mt.weight+Ct.weight),mt.weight+=Ct.weight))}var mt,Ct});var _t=v(K,D);(function(Ut,Tt){m.forEach(Ut,function(mt){mt.vs=m.flatten(mt.vs.map(function(Ct){return Tt[Ct]?Tt[Ct].vs:Ct}),!0)})})(_t,dt);var at=_(_t,B);if(J&&(at.vs=m.flatten([J,at.vs,rt],!0),M.predecessors(J).length)){var ot=M.node(M.predecessors(J)[0]),bt=M.node(M.predecessors(rt)[0]);m.has(at,"barycenter")||(at.barycenter=0,at.weight=0),at.barycenter=(at.barycenter*at.weight+ot.order+bt.order)/(at.weight+2),at.weight+=2}return at}},7304:(h,b,d)=>{var m=d(8436),f=d(1138);function v(_,S,M){for(var E;S.length&&(E=m.last(S)).i<=M;)S.pop(),_.push(E.vs),M++;return M}h.exports=function(_,S){var M,E=f.partition(_,function(K){return m.has(K,"barycenter")}),D=E.lhs,B=m.sortBy(E.rhs,function(K){return-K.i}),U=[],H=0,J=0,rt=0;D.sort((M=!!S,function(K,_t){return K.barycenter<_t.barycenter?-1:K.barycenter>_t.barycenter?1:M?_t.i-K.i:K.i-_t.i})),rt=v(U,B,rt),m.forEach(D,function(K){rt+=K.vs.length,U.push(K.vs),H+=K.barycenter*K.weight,J+=K.weight,rt=v(U,B,rt)});var dt={vs:m.flatten(U,!0)};return J&&(dt.barycenter=H/J,dt.weight=J),dt}},4219:(h,b,d)=>{var m=d(8436);h.exports=function(f){var v=function(_){var S={},M=0;return m.forEach(_.children(),function E(D){var B=M;m.forEach(_.children(D),E),S[D]={low:B,lim:M++}}),S}(f);m.forEach(f.graph().dummyChains,function(_){for(var S=f.node(_),M=S.edgeObj,E=function(rt,dt,K,_t){var at,ot,bt=[],Ut=[],Tt=Math.min(dt[K].low,dt[_t].low),mt=Math.max(dt[K].lim,dt[_t].lim);at=K;do at=rt.parent(at),bt.push(at);while(at&&(dt[at].low>Tt||mt>dt[at].lim));for(ot=at,at=_t;(at=rt.parent(at))!==ot;)Ut.push(at);return{path:bt.concat(Ut.reverse()),lca:ot}}(f,v,M.v,M.w),D=E.path,B=E.lca,U=0,H=D[U],J=!0;_!==M.w;){if(S=f.node(_),J){for(;(H=D[U])!==B&&f.node(H).maxRank{var m=d(8436),f=d(574).Graph,v=d(1138);function _(rt,dt){var K={};return m.reduce(dt,function(_t,at){var ot=0,bt=0,Ut=_t.length,Tt=m.last(at);return m.forEach(at,function(mt,Ct){var xt=function(et,ft){if(et.node(ft).dummy)return m.find(et.predecessors(ft),function(q){return et.node(q).dummy})}(rt,mt),gt=xt?rt.node(xt).order:Ut;(xt||mt===Tt)&&(m.forEach(at.slice(bt,Ct+1),function(et){m.forEach(rt.predecessors(et),function(ft){var q=rt.node(ft),wt=q.order;!(wtTt)&&M(K,xt,mt)})})}return m.reduce(dt,function(at,ot){var bt,Ut=-1,Tt=0;return m.forEach(ot,function(mt,Ct){if(rt.node(mt).dummy==="border"){var xt=rt.predecessors(mt);xt.length&&(bt=rt.node(xt[0]).order,_t(ot,Tt,Ct,Ut,bt),Tt=Ct,Ut=bt)}_t(ot,Tt,ot.length,bt,at.length)}),ot}),K}function M(rt,dt,K){if(dt>K){var _t=dt;dt=K,K=_t}var at=rt[dt];at||(rt[dt]=at={}),at[K]=!0}function E(rt,dt,K){if(dt>K){var _t=dt;dt=K,K=_t}return m.has(rt[dt],K)}function D(rt,dt,K,_t){var at={},ot={},bt={};return m.forEach(dt,function(Ut){m.forEach(Ut,function(Tt,mt){at[Tt]=Tt,ot[Tt]=Tt,bt[Tt]=mt})}),m.forEach(dt,function(Ut){var Tt=-1;m.forEach(Ut,function(mt){var Ct=_t(mt);if(Ct.length){Ct=m.sortBy(Ct,function(q){return bt[q]});for(var xt=(Ct.length-1)/2,gt=Math.floor(xt),et=Math.ceil(xt);gt<=et;++gt){var ft=Ct[gt];ot[mt]===mt&&Tt{var m=d(8436),f=d(1138),v=d(3573).positionX;h.exports=function(_){(function(S){var M=f.buildLayerMatrix(S),E=S.graph().ranksep,D=0;m.forEach(M,function(B){var U=m.max(m.map(B,function(H){return S.node(H).height}));m.forEach(B,function(H){S.node(H).y=D+U/2}),D+=U+E})})(_=f.asNonCompoundGraph(_)),m.forEach(v(_),function(S,M){_.node(M).x=S})}},300:(h,b,d)=>{var m=d(8436),f=d(574).Graph,v=d(6681).slack;function _(E,D){return m.forEach(E.nodes(),function B(U){m.forEach(D.nodeEdges(U),function(H){var J=H.v,rt=U===J?H.w:J;E.hasNode(rt)||v(D,H)||(E.setNode(rt,{}),E.setEdge(U,rt,{}),B(rt))})}),E.nodeCount()}function S(E,D){return m.minBy(D.edges(),function(B){if(E.hasNode(B.v)!==E.hasNode(B.w))return v(D,B)})}function M(E,D,B){m.forEach(E.nodes(),function(U){D.node(U).rank+=B})}h.exports=function(E){var D,B,U=new f({directed:!1}),H=E.nodes()[0],J=E.nodeCount();for(U.setNode(H,{});_(U,E){var m=d(6681).longestPath,f=d(300),v=d(2472);h.exports=function(S){switch(S.graph().ranker){case"network-simplex":default:(function(M){v(M)})(S);break;case"tight-tree":(function(M){m(M),f(M)})(S);break;case"longest-path":_(S)}};var _=m},2472:(h,b,d)=>{var m=d(8436),f=d(300),v=d(6681).slack,_=d(6681).longestPath,S=d(574).alg.preorder,M=d(574).alg.postorder,E=d(1138).simplify;function D(at){at=E(at),_(at);var ot,bt=f(at);for(H(bt),B(bt,at);ot=rt(bt);)K(bt,at,ot,dt(bt,at,ot))}function B(at,ot){var bt=M(at,at.nodes());bt=bt.slice(0,bt.length-1),m.forEach(bt,function(Ut){(function(Tt,mt,Ct){var xt=Tt.node(Ct).parent;Tt.edge(Ct,xt).cutvalue=U(Tt,mt,Ct)})(at,ot,Ut)})}function U(at,ot,bt){var Ut=at.node(bt).parent,Tt=!0,mt=ot.edge(bt,Ut),Ct=0;return mt||(Tt=!1,mt=ot.edge(Ut,bt)),Ct=mt.weight,m.forEach(ot.nodeEdges(bt),function(xt){var gt,et,ft=xt.v===bt,q=ft?xt.w:xt.v;if(q!==Ut){var wt=ft===Tt,W=ot.edge(xt).weight;if(Ct+=wt?W:-W,gt=bt,et=q,at.hasEdge(gt,et)){var St=at.edge(bt,q).cutvalue;Ct+=wt?-St:St}}}),Ct}function H(at,ot){arguments.length<2&&(ot=at.nodes()[0]),J(at,{},1,ot)}function J(at,ot,bt,Ut,Tt){var mt=bt,Ct=at.node(Ut);return ot[Ut]=!0,m.forEach(at.neighbors(Ut),function(xt){m.has(ot,xt)||(bt=J(at,ot,bt,xt,Ut))}),Ct.low=mt,Ct.lim=bt++,Tt?Ct.parent=Tt:delete Ct.parent,bt}function rt(at){return m.find(at.edges(),function(ot){return at.edge(ot).cutvalue<0})}function dt(at,ot,bt){var Ut=bt.v,Tt=bt.w;ot.hasEdge(Ut,Tt)||(Ut=bt.w,Tt=bt.v);var mt=at.node(Ut),Ct=at.node(Tt),xt=mt,gt=!1;mt.lim>Ct.lim&&(xt=Ct,gt=!0);var et=m.filter(ot.edges(),function(ft){return gt===_t(0,at.node(ft.v),xt)&>!==_t(0,at.node(ft.w),xt)});return m.minBy(et,function(ft){return v(ot,ft)})}function K(at,ot,bt,Ut){var Tt=bt.v,mt=bt.w;at.removeEdge(Tt,mt),at.setEdge(Ut.v,Ut.w,{}),H(at),B(at,ot),function(Ct,xt){var gt=m.find(Ct.nodes(),function(ft){return!xt.node(ft).parent}),et=S(Ct,gt);et=et.slice(1),m.forEach(et,function(ft){var q=Ct.node(ft).parent,wt=xt.edge(ft,q),W=!1;wt||(wt=xt.edge(q,ft),W=!0),xt.node(ft).rank=xt.node(q).rank+(W?wt.minlen:-wt.minlen)})}(at,ot)}function _t(at,ot,bt){return bt.low<=ot.lim&&ot.lim<=bt.lim}h.exports=D,D.initLowLimValues=H,D.initCutValues=B,D.calcCutValue=U,D.leaveEdge=rt,D.enterEdge=dt,D.exchangeEdges=K},6681:(h,b,d)=>{var m=d(8436);h.exports={longestPath:function(f){var v={};m.forEach(f.sources(),function _(S){var M=f.node(S);if(m.has(v,S))return M.rank;v[S]=!0;var E=m.min(m.map(f.outEdges(S),function(D){return _(D.w)-f.edge(D).minlen}));return E!==Number.POSITIVE_INFINITY&&E!=null||(E=0),M.rank=E})},slack:function(f,v){return f.node(v.w).rank-f.node(v.v).rank-f.edge(v).minlen}}},1138:(h,b,d)=>{var m=d(8436),f=d(574).Graph;function v(S,M,E,D){var B;do B=m.uniqueId(D);while(S.hasNode(B));return E.dummy=M,S.setNode(B,E),B}function _(S){return m.max(m.map(S.nodes(),function(M){var E=S.node(M).rank;if(!m.isUndefined(E))return E}))}h.exports={addDummyNode:v,simplify:function(S){var M=new f().setGraph(S.graph());return m.forEach(S.nodes(),function(E){M.setNode(E,S.node(E))}),m.forEach(S.edges(),function(E){var D=M.edge(E.v,E.w)||{weight:0,minlen:1},B=S.edge(E);M.setEdge(E.v,E.w,{weight:D.weight+B.weight,minlen:Math.max(D.minlen,B.minlen)})}),M},asNonCompoundGraph:function(S){var M=new f({multigraph:S.isMultigraph()}).setGraph(S.graph());return m.forEach(S.nodes(),function(E){S.children(E).length||M.setNode(E,S.node(E))}),m.forEach(S.edges(),function(E){M.setEdge(E,S.edge(E))}),M},successorWeights:function(S){var M=m.map(S.nodes(),function(E){var D={};return m.forEach(S.outEdges(E),function(B){D[B.w]=(D[B.w]||0)+S.edge(B).weight}),D});return m.zipObject(S.nodes(),M)},predecessorWeights:function(S){var M=m.map(S.nodes(),function(E){var D={};return m.forEach(S.inEdges(E),function(B){D[B.v]=(D[B.v]||0)+S.edge(B).weight}),D});return m.zipObject(S.nodes(),M)},intersectRect:function(S,M){var E,D,B=S.x,U=S.y,H=M.x-B,J=M.y-U,rt=S.width/2,dt=S.height/2;if(!H&&!J)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(J)*rt>Math.abs(H)*dt?(J<0&&(dt=-dt),E=dt*H/J,D=dt):(H<0&&(rt=-rt),E=rt,D=rt*J/H),{x:B+E,y:U+D}},buildLayerMatrix:function(S){var M=m.map(m.range(_(S)+1),function(){return[]});return m.forEach(S.nodes(),function(E){var D=S.node(E),B=D.rank;m.isUndefined(B)||(M[B][D.order]=E)}),M},normalizeRanks:function(S){var M=m.min(m.map(S.nodes(),function(E){return S.node(E).rank}));m.forEach(S.nodes(),function(E){var D=S.node(E);m.has(D,"rank")&&(D.rank-=M)})},removeEmptyRanks:function(S){var M=m.min(m.map(S.nodes(),function(U){return S.node(U).rank})),E=[];m.forEach(S.nodes(),function(U){var H=S.node(U).rank-M;E[H]||(E[H]=[]),E[H].push(U)});var D=0,B=S.graph().nodeRankFactor;m.forEach(E,function(U,H){m.isUndefined(U)&&H%B!=0?--D:D&&m.forEach(U,function(J){S.node(J).rank+=D})})},addBorderNode:function(S,M,E,D){var B={width:0,height:0};return arguments.length>=4&&(B.rank=E,B.order=D),v(S,"border",B,M)},maxRank:_,partition:function(S,M){var E={lhs:[],rhs:[]};return m.forEach(S,function(D){M(D)?E.lhs.push(D):E.rhs.push(D)}),E},time:function(S,M){var E=m.now();try{return M()}finally{console.log(S+" time: "+(m.now()-E)+"ms")}},notime:function(S,M){return M()}}},8177:h=>{h.exports="0.8.5"},7856:function(h){h.exports=function(){function b(st){return b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},b(st)}function d(st,Te){return d=Object.setPrototypeOf||function(ge,Pe){return ge.__proto__=Pe,ge},d(st,Te)}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(st,Te,ge){return f=m()?Reflect.construct:function(Pe,ar,Ze){var lr=[null];lr.push.apply(lr,ar);var Ie=new(Function.bind.apply(Pe,lr));return Ze&&d(Ie,Ze.prototype),Ie},f.apply(null,arguments)}function v(st){return function(Te){if(Array.isArray(Te))return _(Te)}(st)||function(Te){if(typeof Symbol<"u"&&Te[Symbol.iterator]!=null||Te["@@iterator"]!=null)return Array.from(Te)}(st)||function(Te,ge){if(Te){if(typeof Te=="string")return _(Te,ge);var Pe=Object.prototype.toString.call(Te).slice(8,-1);return Pe==="Object"&&Te.constructor&&(Pe=Te.constructor.name),Pe==="Map"||Pe==="Set"?Array.from(Te):Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe)?_(Te,ge):void 0}}(st)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _(st,Te){(Te==null||Te>st.length)&&(Te=st.length);for(var ge=0,Pe=new Array(Te);ge1?ge-1:0),ar=1;ar/gm),Je=H(/^data-[\-\w.\u00B7-\uFFFF]/),Dt=H(/^aria-[\-\w]+$/),he=H(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),re=H(/^(?:\w+script|data):/i),At=H(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ee=H(/^html$/i),Q=function(){return typeof window>"u"?null:window},ce=function(st,Te){if(b(st)!=="object"||typeof st.createPolicy!="function")return null;var ge=null,Pe="data-tt-policy-suffix";Te.currentScript&&Te.currentScript.hasAttribute(Pe)&&(ge=Te.currentScript.getAttribute(Pe));var ar="dompurify"+(ge?"#"+ge:"");try{return st.createPolicy(ar,{createHTML:function(Ze){return Ze},createScriptURL:function(Ze){return Ze}})}catch{return console.warn("TrustedTypes policy "+ar+" could not be created."),null}};return function st(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q(),ge=function(Jt){return st(Jt)};if(ge.version="2.3.10",ge.removed=[],!Te||!Te.document||Te.document.nodeType!==9)return ge.isSupported=!1,ge;var Pe=Te.document,ar=Te.document,Ze=Te.DocumentFragment,lr=Te.HTMLTemplateElement,Ie=Te.Node,Re=Te.Element,Ue=Te.NodeFilter,Fe=Te.NamedNodeMap,be=Fe===void 0?Te.NamedNodeMap||Te.MozNamedAttrMap:Fe,ae=Te.HTMLFormElement,br=Te.DOMParser,qe=Te.trustedTypes,sr=Re.prototype,$e=W(sr,"cloneNode"),Er=W(sr,"nextSibling"),Jr=W(sr,"childNodes"),Ir=W(sr,"parentNode");if(typeof lr=="function"){var Br=ar.createElement("template");Br.content&&Br.content.ownerDocument&&(ar=Br.content.ownerDocument)}var Ne=ce(qe,Pe),Qe=Ne?Ne.createHTML(""):"",rr=ar,Se=rr.implementation,Ar=rr.createNodeIterator,Rt=rr.createDocumentFragment,vn=rr.getElementsByTagName,Gt=Pe.importNode,qr={};try{qr=wt(ar).documentMode?ar.documentMode:{}}catch{}var Yr={};ge.isSupported=typeof Ir=="function"&&Se&&Se.createHTMLDocument!==void 0&&qr!==9;var Gr,Dr,Vr=Sr,Ur=_e,Nr=Je,zr=Dt,jr=re,$r=At,ga=he,Mn=null,An=q({},[].concat(v(St),v(Lt),v(Wt),v(Ve),v(fe))),Lr=null,ui=q({},[].concat(v(xe),v(Me),v(Oe),v(ve))),Fr=Object.seal(Object.create(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}})),xn=null,In=null,bn=!0,Xn=!0,Bt=!1,Nn=!1,On=!1,Zr=!1,ei=!1,Hn=!1,Bn=!1,ri=!1,Ca=!0,dn=!0,Si=!1,Ri={},Ai=null,dr=q({},["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"]),yr=null,Xr=q({},["audio","video","img","source","image","track"]),nr=null,ln=q({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Zt="http://www.w3.org/1998/Math/MathML",zn="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml",wn=te,oi=!1,hi=["application/xhtml+xml","text/html"],Ia="text/html",Bi=null,wr=ar.createElement("form"),Yn=function(Jt){return Jt instanceof RegExp||Jt instanceof Function},Rr=function(Jt){Bi&&Bi===Jt||(Jt&&b(Jt)==="object"||(Jt={}),Jt=wt(Jt),Gr=Gr=hi.indexOf(Jt.PARSER_MEDIA_TYPE)===-1?Ia:Jt.PARSER_MEDIA_TYPE,Dr=Gr==="application/xhtml+xml"?function(kr){return kr}:Ut,Mn="ALLOWED_TAGS"in Jt?q({},Jt.ALLOWED_TAGS,Dr):An,Lr="ALLOWED_ATTR"in Jt?q({},Jt.ALLOWED_ATTR,Dr):ui,nr="ADD_URI_SAFE_ATTR"in Jt?q(wt(ln),Jt.ADD_URI_SAFE_ATTR,Dr):ln,yr="ADD_DATA_URI_TAGS"in Jt?q(wt(Xr),Jt.ADD_DATA_URI_TAGS,Dr):Xr,Ai="FORBID_CONTENTS"in Jt?q({},Jt.FORBID_CONTENTS,Dr):dr,xn="FORBID_TAGS"in Jt?q({},Jt.FORBID_TAGS,Dr):{},In="FORBID_ATTR"in Jt?q({},Jt.FORBID_ATTR,Dr):{},Ri="USE_PROFILES"in Jt&&Jt.USE_PROFILES,bn=Jt.ALLOW_ARIA_ATTR!==!1,Xn=Jt.ALLOW_DATA_ATTR!==!1,Bt=Jt.ALLOW_UNKNOWN_PROTOCOLS||!1,Nn=Jt.SAFE_FOR_TEMPLATES||!1,On=Jt.WHOLE_DOCUMENT||!1,Hn=Jt.RETURN_DOM||!1,Bn=Jt.RETURN_DOM_FRAGMENT||!1,ri=Jt.RETURN_TRUSTED_TYPE||!1,ei=Jt.FORCE_BODY||!1,Ca=Jt.SANITIZE_DOM!==!1,dn=Jt.KEEP_CONTENT!==!1,Si=Jt.IN_PLACE||!1,ga=Jt.ALLOWED_URI_REGEXP||ga,wn=Jt.NAMESPACE||te,Jt.CUSTOM_ELEMENT_HANDLING&&Yn(Jt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Fr.tagNameCheck=Jt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Jt.CUSTOM_ELEMENT_HANDLING&&Yn(Jt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Fr.attributeNameCheck=Jt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Jt.CUSTOM_ELEMENT_HANDLING&&typeof Jt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Fr.allowCustomizedBuiltInElements=Jt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Nn&&(Xn=!1),Bn&&(Hn=!0),Ri&&(Mn=q({},v(fe)),Lr=[],Ri.html===!0&&(q(Mn,St),q(Lr,xe)),Ri.svg===!0&&(q(Mn,Lt),q(Lr,Me),q(Lr,ve)),Ri.svgFilters===!0&&(q(Mn,Wt),q(Lr,Me),q(Lr,ve)),Ri.mathMl===!0&&(q(Mn,Ve),q(Lr,Oe),q(Lr,ve))),Jt.ADD_TAGS&&(Mn===An&&(Mn=wt(Mn)),q(Mn,Jt.ADD_TAGS,Dr)),Jt.ADD_ATTR&&(Lr===ui&&(Lr=wt(Lr)),q(Lr,Jt.ADD_ATTR,Dr)),Jt.ADD_URI_SAFE_ATTR&&q(nr,Jt.ADD_URI_SAFE_ATTR,Dr),Jt.FORBID_CONTENTS&&(Ai===dr&&(Ai=wt(Ai)),q(Ai,Jt.FORBID_CONTENTS,Dr)),dn&&(Mn["#text"]=!0),On&&q(Mn,["html","head","body"]),Mn.table&&(q(Mn,["tbody"]),delete xn.tbody),U&&U(Jt),Bi=Jt)},ya=q({},["mi","mo","mn","ms","mtext"]),Fn=q({},["foreignobject","desc","title","annotation-xml"]),Fi=q({},["title","style","font","a","script"]),jn=q({},Lt);q(jn,Wt),q(jn,ye);var yn=q({},Ve);q(yn,ke);var wi=function(Jt){var kr=Ir(Jt);kr&&kr.tagName||(kr={namespaceURI:te,tagName:"template"});var or=Ut(Jt.tagName),an=Ut(kr.tagName);return Jt.namespaceURI===zn?kr.namespaceURI===te?or==="svg":kr.namespaceURI===Zt?or==="svg"&&(an==="annotation-xml"||ya[an]):Boolean(jn[or]):Jt.namespaceURI===Zt?kr.namespaceURI===te?or==="math":kr.namespaceURI===zn?or==="math"&&Fn[an]:Boolean(yn[or]):Jt.namespaceURI===te&&!(kr.namespaceURI===zn&&!Fn[an])&&!(kr.namespaceURI===Zt&&!ya[an])&&!yn[or]&&(Fi[or]||!jn[or])},qn=function(Jt){bt(ge.removed,{element:Jt});try{Jt.parentNode.removeChild(Jt)}catch{try{Jt.outerHTML=Qe}catch{Jt.remove()}}},ni=function(Jt,kr){try{bt(ge.removed,{attribute:kr.getAttributeNode(Jt),from:kr})}catch{bt(ge.removed,{attribute:null,from:kr})}if(kr.removeAttribute(Jt),Jt==="is"&&!Lr[Jt])if(Hn||Bn)try{qn(kr)}catch{}else try{kr.setAttribute(Jt,"")}catch{}},Ji=function(Jt){var kr,or;if(ei)Jt=""+Jt;else{var an=Tt(Jt,/^[\r\n\t ]+/);or=an&&an[0]}Gr==="application/xhtml+xml"&&(Jt=''+Jt+"");var $n=Ne?Ne.createHTML(Jt):Jt;if(wn===te)try{kr=new br().parseFromString($n,Gr)}catch{}if(!kr||!kr.documentElement){kr=Se.createDocument(wn,"template",null);try{kr.documentElement.innerHTML=oi?"":$n}catch{}}var pi=kr.body||kr.documentElement;return Jt&&or&&pi.insertBefore(ar.createTextNode(or),pi.childNodes[0]||null),wn===te?vn.call(kr,On?"html":"body")[0]:On?kr.documentElement:pi},Ci=function(Jt){return Ar.call(Jt.ownerDocument||Jt,Jt,Ue.SHOW_ELEMENT|Ue.SHOW_COMMENT|Ue.SHOW_TEXT,null,!1)},ii=function(Jt){return Jt instanceof ae&&(typeof Jt.nodeName!="string"||typeof Jt.textContent!="string"||typeof Jt.removeChild!="function"||!(Jt.attributes instanceof be)||typeof Jt.removeAttribute!="function"||typeof Jt.setAttribute!="function"||typeof Jt.namespaceURI!="string"||typeof Jt.insertBefore!="function")},ma=function(Jt){return b(Ie)==="object"?Jt instanceof Ie:Jt&&b(Jt)==="object"&&typeof Jt.nodeType=="number"&&typeof Jt.nodeName=="string"},Wn=function(Jt,kr,or){Yr[Jt]&&at(Yr[Jt],function(an){an.call(ge,kr,or,Bi)})},Kn=function(Jt){var kr;if(Wn("beforeSanitizeElements",Jt,null),ii(Jt)||gt(/[\u0080-\uFFFF]/,Jt.nodeName))return qn(Jt),!0;var or=Dr(Jt.nodeName);if(Wn("uponSanitizeElement",Jt,{tagName:or,allowedTags:Mn}),Jt.hasChildNodes()&&!ma(Jt.firstElementChild)&&(!ma(Jt.content)||!ma(Jt.content.firstElementChild))&>(/<[/\w]/g,Jt.innerHTML)&>(/<[/\w]/g,Jt.textContent)||or==="select"&>(/