projet-long/assets/index-b4b4a2ac.js
2023-06-25 20:09:16 +02:00

2807 lines
3.1 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const w=document.createElement("link").relList;if(w&&w.supports&&w.supports("modulepreload"))return;for(const H of document.querySelectorAll('link[rel="modulepreload"]'))D(H);new MutationObserver(H=>{for(const U of H)if(U.type==="childList")for(const Q of U.addedNodes)Q.tagName==="LINK"&&Q.rel==="modulepreload"&&D(Q)}).observe(document,{childList:!0,subtree:!0});function T(H){const U={};return H.integrity&&(U.integrity=H.integrity),H.referrerPolicy&&(U.referrerPolicy=H.referrerPolicy),H.crossOrigin==="use-credentials"?U.credentials="include":H.crossOrigin==="anonymous"?U.credentials="omit":U.credentials="same-origin",U}function D(H){if(H.ep)return;H.ep=!0;const U=T(H);fetch(H.href,U)}})();function aS(g,w){const T=Object.create(null),D=g.split(",");for(let H=0;H<D.length;H++)T[D[H]]=!0;return w?H=>!!T[H.toLowerCase()]:H=>!!T[H]}function im(g){if(to(g)){const w={};for(let T=0;T<g.length;T++){const D=g[T],H=hf(D)?SSn(D):im(D);if(H)for(const U in H)w[U]=H[U]}return w}else{if(hf(g))return g;if(Ju(g))return g}}const kSn=/;(?![^(]*\))/g,ESn=/:([^]+)/,TSn=/\/\*.*?\*\//gs;function SSn(g){const w={};return g.replace(TSn,"").split(kSn).forEach(T=>{if(T){const D=T.split(ESn);D.length>1&&(w[D[0].trim()]=D[1].trim())}}),w}function Xd(g){let w="";if(hf(g))w=g;else if(to(g))for(let T=0;T<g.length;T++){const D=Xd(g[T]);D&&(w+=D+" ")}else if(Ju(g))for(const T in g)g[T]&&(w+=T+" ");return w.trim()}function Ic(g){if(!g)return null;let{class:w,style:T}=g;return w&&!hf(w)&&(g.class=Xd(w)),T&&(g.style=im(T)),g}const CSn="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",ASn="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",ySt=aS(CSn),MSn=aS(ASn),LSn="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ISn=aS(LSn);function _St(g){return!!g||g===""}const p3=g=>hf(g)?g:g==null?"":to(g)||Ju(g)&&(g.toString===TSt||!ac(g.toString))?JSON.stringify(g,xSt,2):String(g),xSt=(g,w)=>w&&w.__v_isRef?xSt(g,w.value):YI(w)?{[`Map(${w.size})`]:[...w.entries()].reduce((T,[D,H])=>(T[`${D} =>`]=H,T),{})}:ESt(w)?{[`Set(${w.size})`]:[...w.values()]}:Ju(w)&&!to(w)&&!SSt(w)?String(w):w,Bh=Object.freeze({}),mF=Object.freeze([]),Bb=()=>{},kSt=()=>!1,OSn=/^on[^a-z]/,gQ=g=>OSn.test(g),vme=g=>g.startsWith("onUpdate:"),vd=Object.assign,nBe=(g,w)=>{const T=g.indexOf(w);T>-1&&g.splice(T,1)},DSn=Object.prototype.hasOwnProperty,Pl=(g,w)=>DSn.call(g,w),to=Array.isArray,YI=g=>pQ(g)==="[object Map]",ESt=g=>pQ(g)==="[object Set]",PSn=g=>pQ(g)==="[object RegExp]",ac=g=>typeof g=="function",hf=g=>typeof g=="string",rBe=g=>typeof g=="symbol",Ju=g=>g!==null&&typeof g=="object",iBe=g=>Ju(g)&&ac(g.then)&&ac(g.catch),TSt=Object.prototype.toString,pQ=g=>TSt.call(g),sBe=g=>pQ(g).slice(8,-1),SSt=g=>pQ(g)==="[object Object]",aBe=g=>hf(g)&&g!=="NaN"&&g[0]!=="-"&&""+parseInt(g,10)===g,sme=aS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),NSn=aS("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hme=g=>{const w=Object.create(null);return T=>w[T]||(w[T]=g(T))},RSn=/-(\w)/g,Q_=Hme(g=>g.replace(RSn,(w,T)=>T?T.toUpperCase():"")),BSn=/\B([A-Z])/g,K8=Hme(g=>g.replace(BSn,"-$1").toLowerCase()),nO=Hme(g=>g.charAt(0).toUpperCase()+g.slice(1)),HI=Hme(g=>g?`on${nO(g)}`:""),YX=(g,w)=>!Object.is(g,w),qT=(g,w)=>{for(let T=0;T<g.length;T++)g[T](w)},bme=(g,w,T)=>{Object.defineProperty(g,w,{configurable:!0,enumerable:!1,value:T})},sRe=g=>{const w=parseFloat(g);return isNaN(w)?g:w},FSn=g=>{const w=hf(g)?Number(g):NaN;return isNaN(w)?g:w};let JEt;const CSt=()=>JEt||(JEt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wme(g,...w){console.warn(`[Vue warn] ${g}`,...w)}let aw;class ASt{constructor(w=!1){this.detached=w,this._active=!0,this.effects=[],this.cleanups=[],this.parent=aw,!w&&aw&&(this.index=(aw.scopes||(aw.scopes=[])).push(this)-1)}get active(){return this._active}run(w){if(this._active){const T=aw;try{return aw=this,w()}finally{aw=T}}else wme("cannot run an inactive effect scope.")}on(){aw=this}off(){aw=this.parent}stop(w){if(this._active){let T,D;for(T=0,D=this.effects.length;T<D;T++)this.effects[T].stop();for(T=0,D=this.cleanups.length;T<D;T++)this.cleanups[T]();if(this.scopes)for(T=0,D=this.scopes.length;T<D;T++)this.scopes[T].stop(!0);if(!this.detached&&this.parent&&!w){const H=this.parent.scopes.pop();H&&H!==this&&(this.parent.scopes[this.index]=H,H.index=this.index)}this.parent=void 0,this._active=!1}}}function jSn(g){return new ASt(g)}function $Sn(g,w=aw){w&&w.active&&w.effects.push(g)}function oBe(){return aw}function MSt(g){aw?aw.cleanups.push(g):wme("onScopeDispose() is called when there is no active effect scope to be associated with.")}const cBe=g=>{const w=new Set(g);return w.w=0,w.n=0,w},LSt=g=>(g.w&tS)>0,ISt=g=>(g.n&tS)>0,HSn=({deps:g})=>{if(g.length)for(let w=0;w<g.length;w++)g[w].w|=tS},zSn=g=>{const{deps:w}=g;if(w.length){let T=0;for(let D=0;D<w.length;D++){const H=w[D];LSt(H)&&!ISt(H)?H.delete(g):w[T++]=H,H.w&=~tS,H.n&=~tS}w.length=T}},yme=new WeakMap;let DX=0,tS=1;const aRe=30;let av;const XI=Symbol("iterate"),oRe=Symbol("Map key iterate");class lBe{constructor(w,T=null,D){this.fn=w,this.scheduler=T,this.active=!0,this.deps=[],this.parent=void 0,$Sn(this,D)}run(){if(!this.active)return this.fn();let w=av,T=KT;for(;w;){if(w===this)return;w=w.parent}try{return this.parent=av,av=this,KT=!0,tS=1<<++DX,DX<=aRe?HSn(this):e9t(this),this.fn()}finally{DX<=aRe&&zSn(this),tS=1<<--DX,av=this.parent,KT=T,this.parent=void 0,this.deferStop&&this.stop()}}stop(){av===this?this.deferStop=!0:this.active&&(e9t(this),this.onStop&&this.onStop(),this.active=!1)}}function e9t(g){const{deps:w}=g;if(w.length){for(let T=0;T<w.length;T++)w[T].delete(g);w.length=0}}let KT=!0;const OSt=[];function iO(){OSt.push(KT),KT=!1}function sO(){const g=OSt.pop();KT=g===void 0?!0:g}function $b(g,w,T){if(KT&&av){let D=yme.get(g);D||yme.set(g,D=new Map);let H=D.get(T);H||D.set(T,H=cBe()),DSt(H,{effect:av,target:g,type:w,key:T})}}function DSt(g,w){let T=!1;DX<=aRe?ISt(g)||(g.n|=tS,T=!LSt(g)):T=!g.has(av),T&&(g.add(av),av.deps.push(g),av.onTrack&&av.onTrack(Object.assign({effect:av},w)))}function Y8(g,w,T,D,H,U){const Q=yme.get(g);if(!Q)return;let ie=[];if(w==="clear")ie=[...Q.values()];else if(T==="length"&&to(g)){const ne=Number(D);Q.forEach((Be,He)=>{(He==="length"||He>=ne)&&ie.push(Be)})}else switch(T!==void 0&&ie.push(Q.get(T)),w){case"add":to(g)?aBe(T)&&ie.push(Q.get("length")):(ie.push(Q.get(XI)),YI(g)&&ie.push(Q.get(oRe)));break;case"delete":to(g)||(ie.push(Q.get(XI)),YI(g)&&ie.push(Q.get(oRe)));break;case"set":YI(g)&&ie.push(Q.get(XI));break}const he={target:g,type:w,key:T,newValue:D,oldValue:H,oldTarget:U};if(ie.length===1)ie[0]&&cRe(ie[0],he);else{const ne=[];for(const Be of ie)Be&&ne.push(...Be);cRe(cBe(ne),he)}}function cRe(g,w){const T=to(g)?g:[...g];for(const D of T)D.computed&&t9t(D,w);for(const D of T)D.computed||t9t(D,w)}function t9t(g,w){(g!==av||g.allowRecurse)&&(g.onTrigger&&g.onTrigger(vd({effect:g},w)),g.scheduler?g.scheduler():g.run())}function VSn(g,w){var T;return(T=yme.get(g))===null||T===void 0?void 0:T.get(w)}const qSn=aS("__proto__,__v_isRef,__isVue"),PSt=new Set(Object.getOwnPropertyNames(Symbol).filter(g=>g!=="arguments"&&g!=="caller").map(g=>Symbol[g]).filter(rBe)),USn=zme(),GSn=zme(!1,!0),WSn=zme(!0),KSn=zme(!0,!0),n9t=YSn();function YSn(){const g={};return["includes","indexOf","lastIndexOf"].forEach(w=>{g[w]=function(...T){const D=fc(this);for(let U=0,Q=this.length;U<Q;U++)$b(D,"get",U+"");const H=D[w](...T);return H===-1||H===!1?D[w](...T.map(fc)):H}}),["push","pop","shift","unshift","splice"].forEach(w=>{g[w]=function(...T){iO();const D=fc(this)[w].apply(this,T);return sO(),D}}),g}function XSn(g){const w=fc(this);return $b(w,"has",g),w.hasOwnProperty(g)}function zme(g=!1,w=!1){return function(D,H,U){if(H==="__v_isReactive")return!g;if(H==="__v_isReadonly")return g;if(H==="__v_isShallow")return w;if(H==="__v_raw"&&U===(g?w?zSt:HSt:w?$St:jSt).get(D))return D;const Q=to(D);if(!g){if(Q&&Pl(n9t,H))return Reflect.get(n9t,H,U);if(H==="hasOwnProperty")return XSn}const ie=Reflect.get(D,H,U);return(rBe(H)?PSt.has(H):qSn(H))||(g||$b(D,"get",H),w)?ie:pu(ie)?Q&&aBe(H)?ie:ie.value:Ju(ie)?g?G8(ie):Ef(ie):ie}}const QSn=NSt(),ZSn=NSt(!0);function NSt(g=!1){return function(T,D,H,U){let Q=T[D];if(nS(Q)&&pu(Q)&&!pu(H))return!1;if(!g&&(!_me(H)&&!nS(H)&&(Q=fc(Q),H=fc(H)),!to(T)&&pu(Q)&&!pu(H)))return Q.value=H,!0;const ie=to(T)&&aBe(D)?Number(D)<T.length:Pl(T,D),he=Reflect.set(T,D,H,U);return T===fc(U)&&(ie?YX(H,Q)&&Y8(T,"set",D,H,Q):Y8(T,"add",D,H)),he}}function JSn(g,w){const T=Pl(g,w),D=g[w],H=Reflect.deleteProperty(g,w);return H&&T&&Y8(g,"delete",w,void 0,D),H}function eCn(g,w){const T=Reflect.has(g,w);return(!rBe(w)||!PSt.has(w))&&$b(g,"has",w),T}function tCn(g){return $b(g,"iterate",to(g)?"length":XI),Reflect.ownKeys(g)}const RSt={get:USn,set:QSn,deleteProperty:JSn,has:eCn,ownKeys:tCn},BSt={get:WSn,set(g,w){return wme(`Set operation on key "${String(w)}" failed: target is readonly.`,g),!0},deleteProperty(g,w){return wme(`Delete operation on key "${String(w)}" failed: target is readonly.`,g),!0}},nCn=vd({},RSt,{get:GSn,set:ZSn}),rCn=vd({},BSt,{get:KSn}),uBe=g=>g,Vme=g=>Reflect.getPrototypeOf(g);function Upe(g,w,T=!1,D=!1){g=g.__v_raw;const H=fc(g),U=fc(w);T||(w!==U&&$b(H,"get",w),$b(H,"get",U));const{has:Q}=Vme(H),ie=D?uBe:T?hBe:XX;if(Q.call(H,w))return ie(g.get(w));if(Q.call(H,U))return ie(g.get(U));g!==H&&g.get(w)}function Gpe(g,w=!1){const T=this.__v_raw,D=fc(T),H=fc(g);return w||(g!==H&&$b(D,"has",g),$b(D,"has",H)),g===H?T.has(g):T.has(g)||T.has(H)}function Wpe(g,w=!1){return g=g.__v_raw,!w&&$b(fc(g),"iterate",XI),Reflect.get(g,"size",g)}function r9t(g){g=fc(g);const w=fc(this);return Vme(w).has.call(w,g)||(w.add(g),Y8(w,"add",g,g)),this}function i9t(g,w){w=fc(w);const T=fc(this),{has:D,get:H}=Vme(T);let U=D.call(T,g);U?FSt(T,D,g):(g=fc(g),U=D.call(T,g));const Q=H.call(T,g);return T.set(g,w),U?YX(w,Q)&&Y8(T,"set",g,w,Q):Y8(T,"add",g,w),this}function s9t(g){const w=fc(this),{has:T,get:D}=Vme(w);let H=T.call(w,g);H?FSt(w,T,g):(g=fc(g),H=T.call(w,g));const U=D?D.call(w,g):void 0,Q=w.delete(g);return H&&Y8(w,"delete",g,void 0,U),Q}function a9t(){const g=fc(this),w=g.size!==0,T=YI(g)?new Map(g):new Set(g),D=g.clear();return w&&Y8(g,"clear",void 0,void 0,T),D}function Kpe(g,w){return function(D,H){const U=this,Q=U.__v_raw,ie=fc(Q),he=w?uBe:g?hBe:XX;return!g&&$b(ie,"iterate",XI),Q.forEach((ne,Be)=>D.call(H,he(ne),he(Be),U))}}function Ype(g,w,T){return function(...D){const H=this.__v_raw,U=fc(H),Q=YI(U),ie=g==="entries"||g===Symbol.iterator&&Q,he=g==="keys"&&Q,ne=H[g](...D),Be=T?uBe:w?hBe:XX;return!w&&$b(U,"iterate",he?oRe:XI),{next(){const{value:He,done:Ye}=ne.next();return Ye?{value:He,done:Ye}:{value:ie?[Be(He[0]),Be(He[1])]:Be(He),done:Ye}},[Symbol.iterator](){return this}}}}function BT(g){return function(...w){{const T=w[0]?`on key "${w[0]}" `:"";console.warn(`${nO(g)} operation ${T}failed: target is readonly.`,fc(this))}return g==="delete"?!1:this}}function iCn(){const g={get(U){return Upe(this,U)},get size(){return Wpe(this)},has:Gpe,add:r9t,set:i9t,delete:s9t,clear:a9t,forEach:Kpe(!1,!1)},w={get(U){return Upe(this,U,!1,!0)},get size(){return Wpe(this)},has:Gpe,add:r9t,set:i9t,delete:s9t,clear:a9t,forEach:Kpe(!1,!0)},T={get(U){return Upe(this,U,!0)},get size(){return Wpe(this,!0)},has(U){return Gpe.call(this,U,!0)},add:BT("add"),set:BT("set"),delete:BT("delete"),clear:BT("clear"),forEach:Kpe(!0,!1)},D={get(U){return Upe(this,U,!0,!0)},get size(){return Wpe(this,!0)},has(U){return Gpe.call(this,U,!0)},add:BT("add"),set:BT("set"),delete:BT("delete"),clear:BT("clear"),forEach:Kpe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(U=>{g[U]=Ype(U,!1,!1),T[U]=Ype(U,!0,!1),w[U]=Ype(U,!1,!0),D[U]=Ype(U,!0,!0)}),[g,T,w,D]}const[sCn,aCn,oCn,cCn]=iCn();function qme(g,w){const T=w?g?cCn:oCn:g?aCn:sCn;return(D,H,U)=>H==="__v_isReactive"?!g:H==="__v_isReadonly"?g:H==="__v_raw"?D:Reflect.get(Pl(T,H)&&H in D?T:D,H,U)}const lCn={get:qme(!1,!1)},uCn={get:qme(!1,!0)},hCn={get:qme(!0,!1)},fCn={get:qme(!0,!0)};function FSt(g,w,T){const D=fc(T);if(D!==T&&w.call(g,D)){const H=sBe(g);console.warn(`Reactive ${H} contains both the raw and reactive versions of the same object${H==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const jSt=new WeakMap,$St=new WeakMap,HSt=new WeakMap,zSt=new WeakMap;function dCn(g){switch(g){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gCn(g){return g.__v_skip||!Object.isExtensible(g)?0:dCn(sBe(g))}function Ef(g){return nS(g)?g:Ume(g,!1,RSt,lCn,jSt)}function pCn(g){return Ume(g,!1,nCn,uCn,$St)}function G8(g){return Ume(g,!0,BSt,hCn,HSt)}function gF(g){return Ume(g,!0,rCn,fCn,zSt)}function Ume(g,w,T,D,H){if(!Ju(g))return console.warn(`value cannot be made reactive: ${String(g)}`),g;if(g.__v_raw&&!(w&&g.__v_isReactive))return g;const U=H.get(g);if(U)return U;const Q=gCn(g);if(Q===0)return g;const ie=new Proxy(g,Q===2?D:T);return H.set(g,ie),ie}function QI(g){return nS(g)?QI(g.__v_raw):!!(g&&g.__v_isReactive)}function nS(g){return!!(g&&g.__v_isReadonly)}function _me(g){return!!(g&&g.__v_isShallow)}function xme(g){return QI(g)||nS(g)}function fc(g){const w=g&&g.__v_raw;return w?fc(w):g}function Gme(g){return bme(g,"__v_skip",!0),g}const XX=g=>Ju(g)?Ef(g):g,hBe=g=>Ju(g)?G8(g):g;function fBe(g){KT&&av&&(g=fc(g),DSt(g.dep||(g.dep=cBe()),{target:g,type:"get",key:"value"}))}function dBe(g,w){g=fc(g);const T=g.dep;T&&cRe(T,{target:g,type:"set",key:"value",newValue:w})}function pu(g){return!!(g&&g.__v_isRef===!0)}function Is(g){return VSt(g,!1)}function Z_(g){return VSt(g,!0)}function VSt(g,w){return pu(g)?g:new mCn(g,w)}class mCn{constructor(w,T){this.__v_isShallow=T,this.dep=void 0,this.__v_isRef=!0,this._rawValue=T?w:fc(w),this._value=T?w:XX(w)}get value(){return fBe(this),this._value}set value(w){const T=this.__v_isShallow||_me(w)||nS(w);w=T?w:fc(w),YX(w,this._rawValue)&&(this._rawValue=w,this._value=T?w:XX(w),dBe(this,w))}}function Hn(g){return pu(g)?g.value:g}const vCn={get:(g,w,T)=>Hn(Reflect.get(g,w,T)),set:(g,w,T,D)=>{const H=g[w];return pu(H)&&!pu(T)?(H.value=T,!0):Reflect.set(g,w,T,D)}};function qSt(g){return QI(g)?g:new Proxy(g,vCn)}class bCn{constructor(w){this.dep=void 0,this.__v_isRef=!0;const{get:T,set:D}=w(()=>fBe(this),()=>dBe(this));this._get=T,this._set=D}get value(){return this._get()}set value(w){this._set(w)}}function USt(g){return new bCn(g)}function wCn(g){xme(g)||console.warn("toRefs() expects a reactive object but received a plain one.");const w=to(g)?new Array(g.length):{};for(const T in g)w[T]=_Cn(g,T);return w}class yCn{constructor(w,T,D){this._object=w,this._key=T,this._defaultValue=D,this.__v_isRef=!0}get value(){const w=this._object[this._key];return w===void 0?this._defaultValue:w}set value(w){this._object[this._key]=w}get dep(){return VSn(fc(this._object),this._key)}}function _Cn(g,w,T){const D=g[w];return pu(D)?D:new yCn(g,w,T)}var GSt;class xCn{constructor(w,T,D,H){this._setter=T,this.dep=void 0,this.__v_isRef=!0,this[GSt]=!1,this._dirty=!0,this.effect=new lBe(w,()=>{this._dirty||(this._dirty=!0,dBe(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!H,this.__v_isReadonly=D}get value(){const w=fc(this);return fBe(w),(w._dirty||!w._cacheable)&&(w._dirty=!1,w._value=w.effect.run()),w._value}set value(w){this._setter(w)}}GSt="__v_isReadonly";function kCn(g,w,T=!1){let D,H;const U=ac(g);U?(D=g,H=()=>{console.warn("Write operation failed: computed value is readonly")}):(D=g.get,H=g.set);const Q=new xCn(D,H,U||!H,T);return w&&!T&&(Q.effect.onTrack=w.onTrack,Q.effect.onTrigger=w.onTrigger),Q}const ZI=[];function ame(g){ZI.push(g)}function ome(){ZI.pop()}function Di(g,...w){iO();const T=ZI.length?ZI[ZI.length-1].component:null,D=T&&T.appContext.config.warnHandler,H=ECn();if(D)W8(D,T,11,[g+w.join(""),T&&T.proxy,H.map(({vnode:U})=>`at <${tve(T,U.type)}>`).join(`
`),H]);else{const U=[`[Vue warn]: ${g}`,...w];H.length&&U.push(`
`,...TCn(H)),console.warn(...U)}sO()}function ECn(){let g=ZI[ZI.length-1];if(!g)return[];const w=[];for(;g;){const T=w[0];T&&T.vnode===g?T.recurseCount++:w.push({vnode:g,recurseCount:0});const D=g.component&&g.component.parent;g=D&&D.vnode}return w}function TCn(g){const w=[];return g.forEach((T,D)=>{w.push(...D===0?[]:[`
`],...SCn(T))}),w}function SCn({vnode:g,recurseCount:w}){const T=w>0?`... (${w} recursive calls)`:"",D=g.component?g.component.parent==null:!1,H=` at <${tve(g.component,g.type,D)}`,U=">"+T;return g.props?[H,...CCn(g.props),U]:[H+U]}function CCn(g){const w=[],T=Object.keys(g);return T.slice(0,3).forEach(D=>{w.push(...WSt(D,g[D]))}),T.length>3&&w.push(" ..."),w}function WSt(g,w,T){return hf(w)?(w=JSON.stringify(w),T?w:[`${g}=${w}`]):typeof w=="number"||typeof w=="boolean"||w==null?T?w:[`${g}=${w}`]:pu(w)?(w=WSt(g,fc(w.value),!0),T?w:[`${g}=Ref<`,w,">"]):ac(w)?[`${g}=fn${w.name?`<${w.name}>`:""}`]:(w=fc(w),T?w:[`${g}=`,w])}function ACn(g,w){g!==void 0&&(typeof g!="number"?Di(`${w} is not a valid number - got ${JSON.stringify(g)}.`):isNaN(g)&&Di(`${w} is NaN - the duration expression might be incorrect.`))}const gBe={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function W8(g,w,T,D){let H;try{H=D?g(...D):g()}catch(U){Wme(U,w,T)}return H}function g3(g,w,T,D){if(ac(g)){const U=W8(g,w,T,D);return U&&iBe(U)&&U.catch(Q=>{Wme(Q,w,T)}),U}const H=[];for(let U=0;U<g.length;U++)H.push(g3(g[U],w,T,D));return H}function Wme(g,w,T,D=!0){const H=w?w.vnode:null;if(w){let U=w.parent;const Q=w.proxy,ie=gBe[T];for(;U;){const ne=U.ec;if(ne){for(let Be=0;Be<ne.length;Be++)if(ne[Be](g,Q,ie)===!1)return}U=U.parent}const he=w.appContext.config.errorHandler;if(he){W8(he,null,10,[g,Q,ie]);return}}MCn(g,T,H,D)}function MCn(g,w,T,D=!0){{const H=gBe[w];if(T&&ame(T),Di(`Unhandled error${H?` during execution of ${H}`:""}`),T&&ome(),D)throw g;console.error(g)}}let QX=!1,lRe=!1;const rm=[];let W_=0;const vF=[];let G_=null,HT=0;const KSt=Promise.resolve();let pBe=null;const LCn=100;function vp(g){const w=pBe||KSt;return g?w.then(this?g.bind(this):g):w}function ICn(g){let w=W_+1,T=rm.length;for(;w<T;){const D=w+T>>>1;ZX(rm[D])<g?w=D+1:T=D}return w}function Kme(g){(!rm.length||!rm.includes(g,QX&&g.allowRecurse?W_+1:W_))&&(g.id==null?rm.push(g):rm.splice(ICn(g.id),0,g),YSt())}function YSt(){!QX&&!lRe&&(lRe=!0,pBe=KSt.then(ZSt))}function OCn(g){const w=rm.indexOf(g);w>W_&&rm.splice(w,1)}function XSt(g){to(g)?vF.push(...g):(!G_||!G_.includes(g,g.allowRecurse?HT+1:HT))&&vF.push(g),YSt()}function o9t(g,w=QX?W_+1:0){for(g=g||new Map;w<rm.length;w++){const T=rm[w];if(T&&T.pre){if(mBe(g,T))continue;rm.splice(w,1),w--,T()}}}function QSt(g){if(vF.length){const w=[...new Set(vF)];if(vF.length=0,G_){G_.push(...w);return}for(G_=w,g=g||new Map,G_.sort((T,D)=>ZX(T)-ZX(D)),HT=0;HT<G_.length;HT++)mBe(g,G_[HT])||G_[HT]();G_=null,HT=0}}const ZX=g=>g.id==null?1/0:g.id,DCn=(g,w)=>{const T=ZX(g)-ZX(w);if(T===0){if(g.pre&&!w.pre)return-1;if(w.pre&&!g.pre)return 1}return T};function ZSt(g){lRe=!1,QX=!0,g=g||new Map,rm.sort(DCn);const w=T=>mBe(g,T);try{for(W_=0;W_<rm.length;W_++){const T=rm[W_];if(T&&T.active!==!1){if(w(T))continue;W8(T,null,14)}}}finally{W_=0,rm.length=0,QSt(g),QX=!1,pBe=null,(rm.length||vF.length)&&ZSt(g)}}function mBe(g,w){if(!g.has(w))g.set(w,1);else{const T=g.get(w);if(T>LCn){const D=w.ownerInstance,H=D&&nQ(D.type);return Di(`Maximum recursive updates exceeded${H?` in component <${H}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else g.set(w,T+1)}}let YT=!1;const uF=new Set;CSt().__VUE_HMR_RUNTIME__={createRecord:CNe(JSt),rerender:CNe(RCn),reload:CNe(BCn)};const rO=new Map;function PCn(g){const w=g.type.__hmrId;let T=rO.get(w);T||(JSt(w,g.type),T=rO.get(w)),T.instances.add(g)}function NCn(g){rO.get(g.type.__hmrId).instances.delete(g)}function JSt(g,w){return rO.has(g)?!1:(rO.set(g,{initialDef:FX(w),instances:new Set}),!0)}function FX(g){return DCt(g)?g.__vccOpts:g}function RCn(g,w){const T=rO.get(g);T&&(T.initialDef.render=w,[...T.instances].forEach(D=>{w&&(D.render=w,FX(D.type).render=w),D.renderCache=[],YT=!0,D.update(),YT=!1}))}function BCn(g,w){const T=rO.get(g);if(!T)return;w=FX(w),c9t(T.initialDef,w);const D=[...T.instances];for(const H of D){const U=FX(H.type);uF.has(U)||(U!==T.initialDef&&c9t(U,w),uF.add(U)),H.appContext.optionsCache.delete(H.type),H.ceReload?(uF.add(U),H.ceReload(w.styles),uF.delete(U)):H.parent?Kme(H.parent.update):H.appContext.reload?H.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}XSt(()=>{for(const H of D)uF.delete(FX(H.type))})}function c9t(g,w){vd(g,w);for(const T in g)T!=="__file"&&!(T in w)&&delete g[T]}function CNe(g){return(w,T)=>{try{return g(w,T)}catch(D){console.error(D),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let K_,PX=[],uRe=!1;function mQ(g,...w){K_?K_.emit(g,...w):uRe||PX.push({event:g,args:w})}function eCt(g,w){var T,D;K_=g,K_?(K_.enabled=!0,PX.forEach(({event:H,args:U})=>K_.emit(H,...U)),PX=[]):typeof window<"u"&&window.HTMLElement&&!(!((D=(T=window.navigator)===null||T===void 0?void 0:T.userAgent)===null||D===void 0)&&D.includes("jsdom"))?((w.__VUE_DEVTOOLS_HOOK_REPLAY__=w.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(U=>{eCt(U,w)}),setTimeout(()=>{K_||(w.__VUE_DEVTOOLS_HOOK_REPLAY__=null,uRe=!0,PX=[])},3e3)):(uRe=!0,PX=[])}function FCn(g,w){mQ("app:init",g,w,{Fragment:zu,Text:yQ,Comment:Dg,Static:cme})}function jCn(g){mQ("app:unmount",g)}const hRe=vBe("component:added"),tCt=vBe("component:updated"),$Cn=vBe("component:removed"),HCn=g=>{K_&&typeof K_.cleanupBuffer=="function"&&!K_.cleanupBuffer(g)&&$Cn(g)};function vBe(g){return w=>{mQ(g,w.appContext.app,w.uid,w.parent?w.parent.uid:void 0,w)}}const zCn=nCt("perf:start"),VCn=nCt("perf:end");function nCt(g){return(w,T,D)=>{mQ(g,w.appContext.app,w.uid,w,T,D)}}function qCn(g,w,T){mQ("component:emit",g.appContext.app,g,w,T)}function UCn(g,w,...T){if(g.isUnmounted)return;const D=g.vnode.props||Bh;{const{emitsOptions:Be,propsOptions:[He]}=g;if(Be)if(!(w in Be))(!He||!(HI(w)in He))&&Di(`Component emitted event "${w}" but it is neither declared in the emits option nor as an "${HI(w)}" prop.`);else{const Ye=Be[w];ac(Ye)&&(Ye(...T)||Di(`Invalid event arguments: event validation failed for event "${w}".`))}}let H=T;const U=w.startsWith("update:"),Q=U&&w.slice(7);if(Q&&Q in D){const Be=`${Q==="modelValue"?"model":Q}Modifiers`,{number:He,trim:Ye}=D[Be]||Bh;Ye&&(H=T.map(xt=>hf(xt)?xt.trim():xt)),He&&(H=T.map(sRe))}qCn(g,w,H);{const Be=w.toLowerCase();Be!==w&&D[HI(Be)]&&Di(`Event "${Be}" is emitted in component ${tve(g,g.type)} but the handler is registered for "${w}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${K8(w)}" instead of "${w}".`)}let ie,he=D[ie=HI(w)]||D[ie=HI(Q_(w))];!he&&U&&(he=D[ie=HI(K8(w))]),he&&g3(he,g,6,H);const ne=D[ie+"Once"];if(ne){if(!g.emitted)g.emitted={};else if(g.emitted[ie])return;g.emitted[ie]=!0,g3(ne,g,6,H)}}function rCt(g,w,T=!1){const D=w.emitsCache,H=D.get(g);if(H!==void 0)return H;const U=g.emits;let Q={},ie=!1;if(!ac(g)){const he=ne=>{const Be=rCt(ne,w,!0);Be&&(ie=!0,vd(Q,Be))};!T&&w.mixins.length&&w.mixins.forEach(he),g.extends&&he(g.extends),g.mixins&&g.mixins.forEach(he)}return!U&&!ie?(Ju(g)&&D.set(g,null),null):(to(U)?U.forEach(he=>Q[he]=null):vd(Q,U),Ju(g)&&D.set(g,Q),Q)}function Yme(g,w){return!g||!gQ(w)?!1:(w=w.slice(2).replace(/Once$/,""),Pl(g,w[0].toLowerCase()+w.slice(1))||Pl(g,K8(w))||Pl(g,w))}let Y0=null,Xme=null;function kme(g){const w=Y0;return Y0=g,Xme=g&&g.type.__scopeId||null,w}function iCt(g){Xme=g}function sCt(){Xme=null}function no(g,w=Y0,T){if(!w||g._n)return g;const D=(...H)=>{D._d&&_9t(-1);const U=kme(w);let Q;try{Q=g(...H)}finally{kme(U),D._d&&_9t(1)}return tCt(w),Q};return D._n=!0,D._c=!0,D._d=!0,D}let fRe=!1;function Eme(){fRe=!0}function ANe(g){const{type:w,vnode:T,proxy:D,withProxy:H,props:U,propsOptions:[Q],slots:ie,attrs:he,emit:ne,render:Be,renderCache:He,data:Ye,setupState:xt,ctx:ft,inheritAttrs:Jt}=g;let Cn,lr;const Dn=kme(g);fRe=!1;try{if(T.shapeFlag&4){const ti=H||D;Cn=D5(Be.call(ti,ti,He,U,xt,Ye,ft)),lr=he}else{const ti=w;he===U&&Eme(),Cn=D5(ti.length>1?ti(U,{get attrs(){return Eme(),he},slots:ie,emit:ne}):ti(U,null)),lr=w.props?he:WCn(he)}}catch(ti){$X.length=0,Wme(ti,g,1),Cn=Pa(Dg)}let Vn=Cn,ur;if(Cn.patchFlag>0&&Cn.patchFlag&2048&&([Vn,ur]=GCn(Cn)),lr&&Jt!==!1){const ti=Object.keys(lr),{shapeFlag:xi}=Vn;if(ti.length){if(xi&7)Q&&ti.some(vme)&&(lr=KCn(lr,Q)),Vn=N5(Vn,lr);else if(!fRe&&Vn.type!==Dg){const gs=Object.keys(he),jr=[],ns=[];for(let Ks=0,Lo=gs.length;Ks<Lo;Ks++){const Ss=gs[Ks];gQ(Ss)?vme(Ss)||jr.push(Ss[2].toLowerCase()+Ss.slice(3)):ns.push(Ss)}ns.length&&Di(`Extraneous non-props attributes (${ns.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),jr.length&&Di(`Extraneous non-emits event listeners (${jr.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return T.dirs&&(l9t(Vn)||Di("Runtime directive used on component with non-element root node. The directives will not function as intended."),Vn=N5(Vn),Vn.dirs=Vn.dirs?Vn.dirs.concat(T.dirs):T.dirs),T.transition&&(l9t(Vn)||Di("Component inside <Transition> renders non-element root node that cannot be animated."),Vn.transition=T.transition),ur?ur(Vn):Cn=Vn,kme(Dn),Cn}const GCn=g=>{const w=g.children,T=g.dynamicChildren,D=aCt(w);if(!D)return[g,void 0];const H=w.indexOf(D),U=T?T.indexOf(D):-1,Q=ie=>{w[H]=ie,T&&(U>-1?T[U]=ie:ie.patchFlag>0&&(g.dynamicChildren=[...T,ie]))};return[D5(D),Q]};function aCt(g){let w;for(let T=0;T<g.length;T++){const D=g[T];if(iS(D)){if(D.type!==Dg||D.children==="v-if"){if(w)return;w=D}}else return}return w}const WCn=g=>{let w;for(const T in g)(T==="class"||T==="style"||gQ(T))&&((w||(w={}))[T]=g[T]);return w},KCn=(g,w)=>{const T={};for(const D in g)(!vme(D)||!(D.slice(9)in w))&&(T[D]=g[D]);return T},l9t=g=>g.shapeFlag&7||g.type===Dg;function YCn(g,w,T){const{props:D,children:H,component:U}=g,{props:Q,children:ie,patchFlag:he}=w,ne=U.emitsOptions;if((H||ie)&&YT||w.dirs||w.transition)return!0;if(T&&he>=0){if(he&1024)return!0;if(he&16)return D?u9t(D,Q,ne):!!Q;if(he&8){const Be=w.dynamicProps;for(let He=0;He<Be.length;He++){const Ye=Be[He];if(Q[Ye]!==D[Ye]&&!Yme(ne,Ye))return!0}}}else return(H||ie)&&(!ie||!ie.$stable)?!0:D===Q?!1:D?Q?u9t(D,Q,ne):!0:!!Q;return!1}function u9t(g,w,T){const D=Object.keys(w);if(D.length!==Object.keys(g).length)return!0;for(let H=0;H<D.length;H++){const U=D[H];if(w[U]!==g[U]&&!Yme(T,U))return!0}return!1}function XCn({vnode:g,parent:w},T){for(;w&&w.subTree===g;)(g=w.vnode).el=T,w=w.parent}const oCt=g=>g.__isSuspense;function QCn(g,w){w&&w.pendingBranch?to(g)?w.effects.push(...g):w.effects.push(g):XSt(g)}function ow(g,w){if(!Yd)Di("provide() can only be used inside setup().");else{let T=Yd.provides;const D=Yd.parent&&Yd.parent.provides;D===T&&(T=Yd.provides=Object.create(D)),T[g]=w}}function os(g,w,T=!1){const D=Yd||Y0;if(D){const H=D.parent==null?D.vnode.appContext&&D.vnode.appContext.provides:D.parent.provides;if(H&&g in H)return H[g];if(arguments.length>1)return T&&ac(w)?w.call(D.proxy):w;Di(`injection "${String(g)}" not found.`)}else Di("inject() can only be used inside setup() or functional components.")}function X8(g,w){return bBe(g,null,w)}const Xpe={};function jc(g,w,T){return ac(w)||Di("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),bBe(g,w,T)}function bBe(g,w,{immediate:T,deep:D,flush:H,onTrack:U,onTrigger:Q}=Bh){w||(T!==void 0&&Di('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),D!==void 0&&Di('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const ie=ur=>{Di("Invalid watch source: ",ur,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},he=oBe()===(Yd==null?void 0:Yd.scope)?Yd:null;let ne,Be=!1,He=!1;if(pu(g)?(ne=()=>g.value,Be=_me(g)):QI(g)?(ne=()=>g,D=!0):to(g)?(He=!0,Be=g.some(ur=>QI(ur)||_me(ur)),ne=()=>g.map(ur=>{if(pu(ur))return ur.value;if(QI(ur))return UI(ur);if(ac(ur))return W8(ur,he,2);ie(ur)})):ac(g)?w?ne=()=>W8(g,he,2):ne=()=>{if(!(he&&he.isUnmounted))return Ye&&Ye(),g3(g,he,3,[xt])}:(ne=Bb,ie(g)),w&&D){const ur=ne;ne=()=>UI(ur())}let Ye,xt=ur=>{Ye=Dn.onStop=()=>{W8(ur,he,4)}},ft;if(tQ)if(xt=Bb,w?T&&g3(w,he,3,[ne(),He?[]:void 0,xt]):ne(),H==="sync"){const ur=rMn();ft=ur.__watcherHandles||(ur.__watcherHandles=[])}else return Bb;let Jt=He?new Array(g.length).fill(Xpe):Xpe;const Cn=()=>{if(Dn.active)if(w){const ur=Dn.run();(D||Be||(He?ur.some((ti,xi)=>YX(ti,Jt[xi])):YX(ur,Jt)))&&(Ye&&Ye(),g3(w,he,3,[ur,Jt===Xpe?void 0:He&&Jt[0]===Xpe?[]:Jt,xt]),Jt=ur)}else Dn.run()};Cn.allowRecurse=!!w;let lr;H==="sync"?lr=Cn:H==="post"?lr=()=>mp(Cn,he&&he.suspense):(Cn.pre=!0,he&&(Cn.id=he.uid),lr=()=>Kme(Cn));const Dn=new lBe(ne,lr);Dn.onTrack=U,Dn.onTrigger=Q,w?T?Cn():Jt=Dn.run():H==="post"?mp(Dn.run.bind(Dn),he&&he.suspense):Dn.run();const Vn=()=>{Dn.stop(),he&&he.scope&&nBe(he.scope.effects,Dn)};return ft&&ft.push(Vn),Vn}function ZCn(g,w,T){const D=this.proxy,H=hf(g)?g.includes(".")?cCt(D,g):()=>D[g]:g.bind(D,D);let U;ac(w)?U=w:(U=w.handler,T=w);const Q=Yd;TF(this);const ie=bBe(H,U.bind(D),T);return Q?TF(Q):eO(),ie}function cCt(g,w){const T=w.split(".");return()=>{let D=g;for(let H=0;H<T.length&&D;H++)D=D[T[H]];return D}}function UI(g,w){if(!Ju(g)||g.__v_skip||(w=w||new Set,w.has(g)))return g;if(w.add(g),pu(g))UI(g.value,w);else if(to(g))for(let T=0;T<g.length;T++)UI(g[T],w);else if(ESt(g)||YI(g))g.forEach(T=>{UI(T,w)});else if(SSt(g))for(const T in g)UI(g[T],w);return g}function lCt(){const g={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return MF(()=>{g.isMounted=!0}),bQ(()=>{g.isUnmounting=!0}),g}const u3=[Function,Array],JCn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:u3,onEnter:u3,onAfterEnter:u3,onEnterCancelled:u3,onBeforeLeave:u3,onLeave:u3,onAfterLeave:u3,onLeaveCancelled:u3,onBeforeAppear:u3,onAppear:u3,onAfterAppear:u3,onAppearCancelled:u3},setup(g,{slots:w}){const T=hw(),D=lCt();let H;return()=>{const U=w.default&&wBe(w.default(),!0);if(!U||!U.length)return;let Q=U[0];if(U.length>1){let Jt=!1;for(const Cn of U)if(Cn.type!==Dg){if(Jt){Di("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}Q=Cn,Jt=!0}}const ie=fc(g),{mode:he}=ie;if(he&&he!=="in-out"&&he!=="out-in"&&he!=="default"&&Di(`invalid <transition> mode: ${he}`),D.isLeaving)return MNe(Q);const ne=h9t(Q);if(!ne)return MNe(Q);const Be=JX(ne,ie,D,T);kF(ne,Be);const He=T.subTree,Ye=He&&h9t(He);let xt=!1;const{getTransitionKey:ft}=ne.type;if(ft){const Jt=ft();H===void 0?H=Jt:Jt!==H&&(H=Jt,xt=!0)}if(Ye&&Ye.type!==Dg&&(!GT(ne,Ye)||xt)){const Jt=JX(Ye,ie,D,T);if(kF(Ye,Jt),he==="out-in")return D.isLeaving=!0,Jt.afterLeave=()=>{D.isLeaving=!1,T.update.active!==!1&&T.update()},MNe(Q);he==="in-out"&&ne.type!==Dg&&(Jt.delayLeave=(Cn,lr,Dn)=>{const Vn=uCt(D,Ye);Vn[String(Ye.key)]=Ye,Cn._leaveCb=()=>{lr(),Cn._leaveCb=void 0,delete Be.delayedLeave},Be.delayedLeave=Dn})}return Q}}},eAn=JCn;function uCt(g,w){const{leavingVNodes:T}=g;let D=T.get(w.type);return D||(D=Object.create(null),T.set(w.type,D)),D}function JX(g,w,T,D){const{appear:H,mode:U,persisted:Q=!1,onBeforeEnter:ie,onEnter:he,onAfterEnter:ne,onEnterCancelled:Be,onBeforeLeave:He,onLeave:Ye,onAfterLeave:xt,onLeaveCancelled:ft,onBeforeAppear:Jt,onAppear:Cn,onAfterAppear:lr,onAppearCancelled:Dn}=w,Vn=String(g.key),ur=uCt(T,g),ti=(jr,ns)=>{jr&&g3(jr,D,9,ns)},xi=(jr,ns)=>{const Ks=ns[1];ti(jr,ns),to(jr)?jr.every(Lo=>Lo.length<=1)&&Ks():jr.length<=1&&Ks()},gs={mode:U,persisted:Q,beforeEnter(jr){let ns=ie;if(!T.isMounted)if(H)ns=Jt||ie;else return;jr._leaveCb&&jr._leaveCb(!0);const Ks=ur[Vn];Ks&&GT(g,Ks)&&Ks.el._leaveCb&&Ks.el._leaveCb(),ti(ns,[jr])},enter(jr){let ns=he,Ks=ne,Lo=Be;if(!T.isMounted)if(H)ns=Cn||he,Ks=lr||ne,Lo=Dn||Be;else return;let Ss=!1;const Kc=jr._enterCb=Zl=>{Ss||(Ss=!0,Zl?ti(Lo,[jr]):ti(Ks,[jr]),gs.delayedLeave&&gs.delayedLeave(),jr._enterCb=void 0)};ns?xi(ns,[jr,Kc]):Kc()},leave(jr,ns){const Ks=String(g.key);if(jr._enterCb&&jr._enterCb(!0),T.isUnmounting)return ns();ti(He,[jr]);let Lo=!1;const Ss=jr._leaveCb=Kc=>{Lo||(Lo=!0,ns(),Kc?ti(ft,[jr]):ti(xt,[jr]),jr._leaveCb=void 0,ur[Ks]===g&&delete ur[Ks])};ur[Ks]=g,Ye?xi(Ye,[jr,Ss]):Ss()},clone(jr){return JX(jr,w,T,D)}};return gs}function MNe(g){if(vQ(g))return g=N5(g),g.children=null,g}function h9t(g){return vQ(g)?g.children?g.children[0]:void 0:g}function kF(g,w){g.shapeFlag&6&&g.component?kF(g.component.subTree,w):g.shapeFlag&128?(g.ssContent.transition=w.clone(g.ssContent),g.ssFallback.transition=w.clone(g.ssFallback)):g.transition=w}function wBe(g,w=!1,T){let D=[],H=0;for(let U=0;U<g.length;U++){let Q=g[U];const ie=T==null?Q.key:String(T)+String(Q.key!=null?Q.key:U);Q.type===zu?(Q.patchFlag&128&&H++,D=D.concat(wBe(Q.children,w,ie))):(w||Q.type!==Dg)&&D.push(ie!=null?N5(Q,{key:ie}):Q)}if(H>1)for(let U=0;U<D.length;U++)D[U].patchFlag=-2;return D}function mu(g){return ac(g)?{setup:g,name:g.name}:g}const bF=g=>!!g.type.__asyncLoader,vQ=g=>g.type.__isKeepAlive,tAn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(g,{slots:w}){const T=hw(),D=T.ctx;if(!D.renderer)return()=>{const Dn=w.default&&w.default();return Dn&&Dn.length===1?Dn[0]:Dn};const H=new Map,U=new Set;let Q=null;T.__v_cache=H;const ie=T.suspense,{renderer:{p:he,m:ne,um:Be,o:{createElement:He}}}=D,Ye=He("div");D.activate=(Dn,Vn,ur,ti,xi)=>{const gs=Dn.component;ne(Dn,Vn,ur,0,ie),he(gs.vnode,Dn,Vn,ur,gs,ie,ti,Dn.slotScopeIds,xi),mp(()=>{gs.isDeactivated=!1,gs.a&&qT(gs.a);const jr=Dn.props&&Dn.props.onVnodeMounted;jr&&h3(jr,gs.parent,Dn)},ie),hRe(gs)},D.deactivate=Dn=>{const Vn=Dn.component;ne(Dn,Ye,null,1,ie),mp(()=>{Vn.da&&qT(Vn.da);const ur=Dn.props&&Dn.props.onVnodeUnmounted;ur&&h3(ur,Vn.parent,Dn),Vn.isDeactivated=!0},ie),hRe(Vn)};function xt(Dn){LNe(Dn),Be(Dn,T,ie,!0)}function ft(Dn){H.forEach((Vn,ur)=>{const ti=nQ(Vn.type);ti&&(!Dn||!Dn(ti))&&Jt(ur)})}function Jt(Dn){const Vn=H.get(Dn);!Q||!GT(Vn,Q)?xt(Vn):Q&&LNe(Q),H.delete(Dn),U.delete(Dn)}jc(()=>[g.include,g.exclude],([Dn,Vn])=>{Dn&&ft(ur=>NX(Dn,ur)),Vn&&ft(ur=>!NX(Vn,ur))},{flush:"post",deep:!0});let Cn=null;const lr=()=>{Cn!=null&&H.set(Cn,INe(T.subTree))};return MF(lr),Zme(lr),bQ(()=>{H.forEach(Dn=>{const{subTree:Vn,suspense:ur}=T,ti=INe(Vn);if(Dn.type===ti.type&&Dn.key===ti.key){LNe(ti);const xi=ti.component.da;xi&&mp(xi,ur);return}xt(Dn)})}),()=>{if(Cn=null,!w.default)return null;const Dn=w.default(),Vn=Dn[0];if(Dn.length>1)return Di("KeepAlive should contain exactly one component child."),Q=null,Dn;if(!iS(Vn)||!(Vn.shapeFlag&4)&&!(Vn.shapeFlag&128))return Q=null,Vn;let ur=INe(Vn);const ti=ur.type,xi=nQ(bF(ur)?ur.type.__asyncResolved||{}:ti),{include:gs,exclude:jr,max:ns}=g;if(gs&&(!xi||!NX(gs,xi))||jr&&xi&&NX(jr,xi))return Q=ur,Vn;const Ks=ur.key==null?ti:ur.key,Lo=H.get(Ks);return ur.el&&(ur=N5(ur),Vn.shapeFlag&128&&(Vn.ssContent=ur)),Cn=Ks,Lo?(ur.el=Lo.el,ur.component=Lo.component,ur.transition&&kF(ur,ur.transition),ur.shapeFlag|=512,U.delete(Ks),U.add(Ks)):(U.add(Ks),ns&&U.size>parseInt(ns,10)&&Jt(U.values().next().value)),ur.shapeFlag|=256,Q=ur,oCt(Vn.type)?Vn:ur}}},hCt=tAn;function NX(g,w){return to(g)?g.some(T=>NX(T,w)):hf(g)?g.split(",").includes(w):PSn(g)?g.test(w):!1}function fCt(g,w){gCt(g,"a",w)}function dCt(g,w){gCt(g,"da",w)}function gCt(g,w,T=Yd){const D=g.__wdc||(g.__wdc=()=>{let H=T;for(;H;){if(H.isDeactivated)return;H=H.parent}return g()});if(Qme(w,D,T),T){let H=T.parent;for(;H&&H.parent;)vQ(H.parent.vnode)&&nAn(D,w,T,H),H=H.parent}}function nAn(g,w,T,D){const H=Qme(w,g,D,!0);yBe(()=>{nBe(D[w],H)},T)}function LNe(g){g.shapeFlag&=-257,g.shapeFlag&=-513}function INe(g){return g.shapeFlag&128?g.ssContent:g}function Qme(g,w,T=Yd,D=!1){if(T){const H=T[g]||(T[g]=[]),U=w.__weh||(w.__weh=(...Q)=>{if(T.isUnmounted)return;iO(),TF(T);const ie=g3(w,T,g,Q);return eO(),sO(),ie});return D?H.unshift(U):H.push(U),U}else{const H=HI(gBe[g].replace(/ hook$/,""));Di(`${H} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const J8=g=>(w,T=Yd)=>(!tQ||g==="sp")&&Qme(g,(...D)=>w(...D),T),rAn=J8("bm"),MF=J8("m"),iAn=J8("bu"),Zme=J8("u"),bQ=J8("bum"),yBe=J8("um"),sAn=J8("sp"),aAn=J8("rtg"),oAn=J8("rtc");function cAn(g,w=Yd){Qme("ec",g,w)}function pCt(g){NSn(g)&&Di("Do not use built-in directive ids as custom directive id: "+g)}function _Be(g,w){const T=Y0;if(T===null)return Di("withDirectives can only be used inside render functions."),g;const D=eve(T)||T.proxy,H=g.dirs||(g.dirs=[]);for(let U=0;U<w.length;U++){let[Q,ie,he,ne=Bh]=w[U];Q&&(ac(Q)&&(Q={mounted:Q,updated:Q}),Q.deep&&UI(ie),H.push({dir:Q,instance:D,value:ie,oldValue:void 0,arg:he,modifiers:ne}))}return g}function NI(g,w,T,D){const H=g.dirs,U=w&&w.dirs;for(let Q=0;Q<H.length;Q++){const ie=H[Q];U&&(ie.oldValue=U[Q].value);let he=ie.dir[D];he&&(iO(),g3(he,T,8,[g.el,ie,g,w]),sO())}}const dRe="components";function Tme(g,w){return uAn(dRe,g,!0,w)||g}const lAn=Symbol();function uAn(g,w,T=!0,D=!1){const H=Y0||Yd;if(H){const U=H.type;if(g===dRe){const ie=nQ(U,!1);if(ie&&(ie===w||ie===Q_(w)||ie===nO(Q_(w))))return U}const Q=f9t(H[g]||U[g],w)||f9t(H.appContext[g],w);if(!Q&&D)return U;if(T&&!Q){const ie=g===dRe?`
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";Di(`Failed to resolve ${g.slice(0,-1)}: ${w}${ie}`)}return Q}else Di(`resolve${nO(g.slice(0,-1))} can only be used in render() or setup().`)}function f9t(g,w){return g&&(g[w]||g[Q_(w)]||g[nO(Q_(w))])}function wQ(g,w,T,D){let H;const U=T&&T[D];if(to(g)||hf(g)){H=new Array(g.length);for(let Q=0,ie=g.length;Q<ie;Q++)H[Q]=w(g[Q],Q,void 0,U&&U[Q])}else if(typeof g=="number"){Number.isInteger(g)||Di(`The v-for range expect an integer value but got ${g}.`),H=new Array(g);for(let Q=0;Q<g;Q++)H[Q]=w(Q+1,Q,void 0,U&&U[Q])}else if(Ju(g))if(g[Symbol.iterator])H=Array.from(g,(Q,ie)=>w(Q,ie,void 0,U&&U[ie]));else{const Q=Object.keys(g);H=new Array(Q.length);for(let ie=0,he=Q.length;ie<he;ie++){const ne=Q[ie];H[ie]=w(g[ne],ne,ie,U&&U[ie])}}else H=[];return T&&(T[D]=H),H}function rS(g,w,T={},D,H){if(Y0.isCE||Y0.parent&&bF(Y0.parent)&&Y0.parent.isCE)return w!=="default"&&(T.name=w),Pa("slot",T,D&&D());let U=g[w];U&&U.length>1&&(Di("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),U=()=>[]),U&&U._c&&(U._d=!1),tr();const Q=U&&mCt(U(T)),ie=Ds(zu,{key:T.key||Q&&Q.key||`_${w}`},Q||(D?D():[]),Q&&g._===1?64:-2);return!H&&ie.scopeId&&(ie.slotScopeIds=[ie.scopeId+"-s"]),U&&U._c&&(U._d=!0),ie}function mCt(g){return g.some(w=>iS(w)?!(w.type===Dg||w.type===zu&&!mCt(w.children)):!0)?g:null}const gRe=g=>g?LCt(g)?eve(g)||g.proxy:gRe(g.parent):null,JI=vd(Object.create(null),{$:g=>g,$el:g=>g.vnode.el,$data:g=>g.data,$props:g=>gF(g.props),$attrs:g=>gF(g.attrs),$slots:g=>gF(g.slots),$refs:g=>gF(g.refs),$parent:g=>gRe(g.parent),$root:g=>gRe(g.root),$emit:g=>g.emit,$options:g=>kBe(g),$forceUpdate:g=>g.f||(g.f=()=>Kme(g.update)),$nextTick:g=>g.n||(g.n=vp.bind(g.proxy)),$watch:g=>ZCn.bind(g)}),xBe=g=>g==="_"||g==="$",ONe=(g,w)=>g!==Bh&&!g.__isScriptSetup&&Pl(g,w),vCt={get({_:g},w){const{ctx:T,setupState:D,data:H,props:U,accessCache:Q,type:ie,appContext:he}=g;if(w==="__isVue")return!0;let ne;if(w[0]!=="$"){const xt=Q[w];if(xt!==void 0)switch(xt){case 1:return D[w];case 2:return H[w];case 4:return T[w];case 3:return U[w]}else{if(ONe(D,w))return Q[w]=1,D[w];if(H!==Bh&&Pl(H,w))return Q[w]=2,H[w];if((ne=g.propsOptions[0])&&Pl(ne,w))return Q[w]=3,U[w];if(T!==Bh&&Pl(T,w))return Q[w]=4,T[w];pRe&&(Q[w]=0)}}const Be=JI[w];let He,Ye;if(Be)return w==="$attrs"&&($b(g,"get",w),Eme()),Be(g);if((He=ie.__cssModules)&&(He=He[w]))return He;if(T!==Bh&&Pl(T,w))return Q[w]=4,T[w];if(Ye=he.config.globalProperties,Pl(Ye,w))return Ye[w];Y0&&(!hf(w)||w.indexOf("__v")!==0)&&(H!==Bh&&xBe(w[0])&&Pl(H,w)?Di(`Property ${JSON.stringify(w)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):g===Y0&&Di(`Property ${JSON.stringify(w)} was accessed during render but is not defined on instance.`))},set({_:g},w,T){const{data:D,setupState:H,ctx:U}=g;return ONe(H,w)?(H[w]=T,!0):H.__isScriptSetup&&Pl(H,w)?(Di(`Cannot mutate <script setup> binding "${w}" from Options API.`),!1):D!==Bh&&Pl(D,w)?(D[w]=T,!0):Pl(g.props,w)?(Di(`Attempting to mutate prop "${w}". Props are readonly.`),!1):w[0]==="$"&&w.slice(1)in g?(Di(`Attempting to mutate public property "${w}". Properties starting with $ are reserved and readonly.`),!1):(w in g.appContext.config.globalProperties?Object.defineProperty(U,w,{enumerable:!0,configurable:!0,value:T}):U[w]=T,!0)},has({_:{data:g,setupState:w,accessCache:T,ctx:D,appContext:H,propsOptions:U}},Q){let ie;return!!T[Q]||g!==Bh&&Pl(g,Q)||ONe(w,Q)||(ie=U[0])&&Pl(ie,Q)||Pl(D,Q)||Pl(JI,Q)||Pl(H.config.globalProperties,Q)},defineProperty(g,w,T){return T.get!=null?g._.accessCache[w]=0:Pl(T,"value")&&this.set(g,w,T.value,null),Reflect.defineProperty(g,w,T)}};vCt.ownKeys=g=>(Di("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(g));function hAn(g){const w={};return Object.defineProperty(w,"_",{configurable:!0,enumerable:!1,get:()=>g}),Object.keys(JI).forEach(T=>{Object.defineProperty(w,T,{configurable:!0,enumerable:!1,get:()=>JI[T](g),set:Bb})}),w}function fAn(g){const{ctx:w,propsOptions:[T]}=g;T&&Object.keys(T).forEach(D=>{Object.defineProperty(w,D,{enumerable:!0,configurable:!0,get:()=>g.props[D],set:Bb})})}function dAn(g){const{ctx:w,setupState:T}=g;Object.keys(fc(T)).forEach(D=>{if(!T.__isScriptSetup){if(xBe(D[0])){Di(`setup() return property ${JSON.stringify(D)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(w,D,{enumerable:!0,configurable:!0,get:()=>T[D],set:Bb})}})}function gAn(){const g=Object.create(null);return(w,T)=>{g[T]?Di(`${w} property "${T}" is already defined in ${g[T]}.`):g[T]=w}}let pRe=!0;function pAn(g){const w=kBe(g),T=g.proxy,D=g.ctx;pRe=!1,w.beforeCreate&&d9t(w.beforeCreate,g,"bc");const{data:H,computed:U,methods:Q,watch:ie,provide:he,inject:ne,created:Be,beforeMount:He,mounted:Ye,beforeUpdate:xt,updated:ft,activated:Jt,deactivated:Cn,beforeDestroy:lr,beforeUnmount:Dn,destroyed:Vn,unmounted:ur,render:ti,renderTracked:xi,renderTriggered:gs,errorCaptured:jr,serverPrefetch:ns,expose:Ks,inheritAttrs:Lo,components:Ss,directives:Kc,filters:Zl}=w,xl=gAn();{const[Ns]=g.propsOptions;if(Ns)for(const Va in Ns)xl("Props",Va)}if(ne&&mAn(ne,D,xl,g.appContext.config.unwrapInjectedRef),Q)for(const Ns in Q){const Va=Q[Ns];ac(Va)?(Object.defineProperty(D,Ns,{value:Va.bind(T),configurable:!0,enumerable:!0,writable:!0}),xl("Methods",Ns)):Di(`Method "${Ns}" has type "${typeof Va}" in the component definition. Did you reference the function correctly?`)}if(H){ac(H)||Di("The data option must be a function. Plain object usage is no longer supported.");const Ns=H.call(T,T);if(iBe(Ns)&&Di("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ju(Ns))Di("data() should return an object.");else{g.data=Ef(Ns);for(const Va in Ns)xl("Data",Va),xBe(Va[0])||Object.defineProperty(D,Va,{configurable:!0,enumerable:!0,get:()=>Ns[Va],set:Bb})}}if(pRe=!0,U)for(const Ns in U){const Va=U[Ns],kc=ac(Va)?Va.bind(T,T):ac(Va.get)?Va.get.bind(T,T):Bb;kc===Bb&&Di(`Computed property "${Ns}" has no getter.`);const vu=!ac(Va)&&ac(Va.set)?Va.set.bind(T):()=>{Di(`Write operation failed: computed property "${Ns}" is readonly.`)},Ng=Fr({get:kc,set:vu});Object.defineProperty(D,Ns,{enumerable:!0,configurable:!0,get:()=>Ng.value,set:X0=>Ng.value=X0}),xl("Computed",Ns)}if(ie)for(const Ns in ie)bCt(ie[Ns],D,T,Ns);if(he){const Ns=ac(he)?he.call(T):he;Reflect.ownKeys(Ns).forEach(Va=>{ow(Va,Ns[Va])})}Be&&d9t(Be,g,"c");function eh(Ns,Va){to(Va)?Va.forEach(kc=>Ns(kc.bind(T))):Va&&Ns(Va.bind(T))}if(eh(rAn,He),eh(MF,Ye),eh(iAn,xt),eh(Zme,ft),eh(fCt,Jt),eh(dCt,Cn),eh(cAn,jr),eh(oAn,xi),eh(aAn,gs),eh(bQ,Dn),eh(yBe,ur),eh(sAn,ns),to(Ks))if(Ks.length){const Ns=g.exposed||(g.exposed={});Ks.forEach(Va=>{Object.defineProperty(Ns,Va,{get:()=>T[Va],set:kc=>T[Va]=kc})})}else g.exposed||(g.exposed={});ti&&g.render===Bb&&(g.render=ti),Lo!=null&&(g.inheritAttrs=Lo),Ss&&(g.components=Ss),Kc&&(g.directives=Kc)}function mAn(g,w,T=Bb,D=!1){to(g)&&(g=mRe(g));for(const H in g){const U=g[H];let Q;Ju(U)?"default"in U?Q=os(U.from||H,U.default,!0):Q=os(U.from||H):Q=os(U),pu(Q)?D?Object.defineProperty(w,H,{enumerable:!0,configurable:!0,get:()=>Q.value,set:ie=>Q.value=ie}):(Di(`injected property "${H}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),w[H]=Q):w[H]=Q,T("Inject",H)}}function d9t(g,w,T){g3(to(g)?g.map(D=>D.bind(w.proxy)):g.bind(w.proxy),w,T)}function bCt(g,w,T,D){const H=D.includes(".")?cCt(T,D):()=>T[D];if(hf(g)){const U=w[g];ac(U)?jc(H,U):Di(`Invalid watch handler specified by key "${g}"`,U)}else if(ac(g))jc(H,g.bind(T));else if(Ju(g))if(to(g))g.forEach(U=>bCt(U,w,T,D));else{const U=ac(g.handler)?g.handler.bind(T):w[g.handler];ac(U)?jc(H,U,g):Di(`Invalid watch handler specified by key "${g.handler}"`,U)}else Di(`Invalid watch option: "${D}"`,g)}function kBe(g){const w=g.type,{mixins:T,extends:D}=w,{mixins:H,optionsCache:U,config:{optionMergeStrategies:Q}}=g.appContext,ie=U.get(w);let he;return ie?he=ie:!H.length&&!T&&!D?he=w:(he={},H.length&&H.forEach(ne=>Sme(he,ne,Q,!0)),Sme(he,w,Q)),Ju(w)&&U.set(w,he),he}function Sme(g,w,T,D=!1){const{mixins:H,extends:U}=w;U&&Sme(g,U,T,!0),H&&H.forEach(Q=>Sme(g,Q,T,!0));for(const Q in w)if(D&&Q==="expose")Di('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const ie=vAn[Q]||T&&T[Q];g[Q]=ie?ie(g[Q],w[Q]):w[Q]}return g}const vAn={data:g9t,props:zI,emits:zI,methods:zI,computed:zI,beforeCreate:rv,created:rv,beforeMount:rv,mounted:rv,beforeUpdate:rv,updated:rv,beforeDestroy:rv,beforeUnmount:rv,destroyed:rv,unmounted:rv,activated:rv,deactivated:rv,errorCaptured:rv,serverPrefetch:rv,components:zI,directives:zI,watch:wAn,provide:g9t,inject:bAn};function g9t(g,w){return w?g?function(){return vd(ac(g)?g.call(this,this):g,ac(w)?w.call(this,this):w)}:w:g}function bAn(g,w){return zI(mRe(g),mRe(w))}function mRe(g){if(to(g)){const w={};for(let T=0;T<g.length;T++)w[g[T]]=g[T];return w}return g}function rv(g,w){return g?[...new Set([].concat(g,w))]:w}function zI(g,w){return g?vd(vd(Object.create(null),g),w):w}function wAn(g,w){if(!g)return w;if(!w)return g;const T=vd(Object.create(null),g);for(const D in w)T[D]=rv(g[D],w[D]);return T}function yAn(g,w,T,D=!1){const H={},U={};bme(U,Jme,1),g.propsDefaults=Object.create(null),wCt(g,w,H,U);for(const Q in g.propsOptions[0])Q in H||(H[Q]=void 0);_Ct(w||{},H,g),T?g.props=D?H:pCn(H):g.type.props?g.props=H:g.props=U,g.attrs=U}function _An(g){for(;g;){if(g.type.__hmrId)return!0;g=g.parent}}function xAn(g,w,T,D){const{props:H,attrs:U,vnode:{patchFlag:Q}}=g,ie=fc(H),[he]=g.propsOptions;let ne=!1;if(!_An(g)&&(D||Q>0)&&!(Q&16)){if(Q&8){const Be=g.vnode.dynamicProps;for(let He=0;He<Be.length;He++){let Ye=Be[He];if(Yme(g.emitsOptions,Ye))continue;const xt=w[Ye];if(he)if(Pl(U,Ye))xt!==U[Ye]&&(U[Ye]=xt,ne=!0);else{const ft=Q_(Ye);H[ft]=vRe(he,ie,ft,xt,g,!1)}else xt!==U[Ye]&&(U[Ye]=xt,ne=!0)}}}else{wCt(g,w,H,U)&&(ne=!0);let Be;for(const He in ie)(!w||!Pl(w,He)&&((Be=K8(He))===He||!Pl(w,Be)))&&(he?T&&(T[He]!==void 0||T[Be]!==void 0)&&(H[He]=vRe(he,ie,He,void 0,g,!0)):delete H[He]);if(U!==ie)for(const He in U)(!w||!Pl(w,He))&&(delete U[He],ne=!0)}ne&&Y8(g,"set","$attrs"),_Ct(w||{},H,g)}function wCt(g,w,T,D){const[H,U]=g.propsOptions;let Q=!1,ie;if(w)for(let he in w){if(sme(he))continue;const ne=w[he];let Be;H&&Pl(H,Be=Q_(he))?!U||!U.includes(Be)?T[Be]=ne:(ie||(ie={}))[Be]=ne:Yme(g.emitsOptions,he)||(!(he in D)||ne!==D[he])&&(D[he]=ne,Q=!0)}if(U){const he=fc(T),ne=ie||Bh;for(let Be=0;Be<U.length;Be++){const He=U[Be];T[He]=vRe(H,he,He,ne[He],g,!Pl(ne,He))}}return Q}function vRe(g,w,T,D,H,U){const Q=g[T];if(Q!=null){const ie=Pl(Q,"default");if(ie&&D===void 0){const he=Q.default;if(Q.type!==Function&&ac(he)){const{propsDefaults:ne}=H;T in ne?D=ne[T]:(TF(H),D=ne[T]=he.call(null,w),eO())}else D=he}Q[0]&&(U&&!ie?D=!1:Q[1]&&(D===""||D===K8(T))&&(D=!0))}return D}function yCt(g,w,T=!1){const D=w.propsCache,H=D.get(g);if(H)return H;const U=g.props,Q={},ie=[];let he=!1;if(!ac(g)){const Be=He=>{he=!0;const[Ye,xt]=yCt(He,w,!0);vd(Q,Ye),xt&&ie.push(...xt)};!T&&w.mixins.length&&w.mixins.forEach(Be),g.extends&&Be(g.extends),g.mixins&&g.mixins.forEach(Be)}if(!U&&!he)return Ju(g)&&D.set(g,mF),mF;if(to(U))for(let Be=0;Be<U.length;Be++){hf(U[Be])||Di("props must be strings when using array syntax.",U[Be]);const He=Q_(U[Be]);p9t(He)&&(Q[He]=Bh)}else if(U){Ju(U)||Di("invalid props options",U);for(const Be in U){const He=Q_(Be);if(p9t(He)){const Ye=U[Be],xt=Q[He]=to(Ye)||ac(Ye)?{type:Ye}:Object.assign({},Ye);if(xt){const ft=v9t(Boolean,xt.type),Jt=v9t(String,xt.type);xt[0]=ft>-1,xt[1]=Jt<0||ft<Jt,(ft>-1||Pl(xt,"default"))&&ie.push(He)}}}}const ne=[Q,ie];return Ju(g)&&D.set(g,ne),ne}function p9t(g){return g[0]!=="$"?!0:(Di(`Invalid prop name: "${g}" is a reserved property.`),!1)}function bRe(g){const w=g&&g.toString().match(/^\s*(function|class) (\w+)/);return w?w[2]:g===null?"null":""}function m9t(g,w){return bRe(g)===bRe(w)}function v9t(g,w){return to(w)?w.findIndex(T=>m9t(T,g)):ac(w)&&m9t(w,g)?0:-1}function _Ct(g,w,T){const D=fc(w),H=T.propsOptions[0];for(const U in H){let Q=H[U];Q!=null&&kAn(U,D[U],Q,!Pl(g,U)&&!Pl(g,K8(U)))}}function kAn(g,w,T,D){const{type:H,required:U,validator:Q}=T;if(U&&D){Di('Missing required prop: "'+g+'"');return}if(!(w==null&&!T.required)){if(H!=null&&H!==!0){let ie=!1;const he=to(H)?H:[H],ne=[];for(let Be=0;Be<he.length&&!ie;Be++){const{valid:He,expectedType:Ye}=TAn(w,he[Be]);ne.push(Ye||""),ie=He}if(!ie){Di(SAn(g,w,ne));return}}Q&&!Q(w)&&Di('Invalid prop: custom validator check failed for prop "'+g+'".')}}const EAn=aS("String,Number,Boolean,Function,Symbol,BigInt");function TAn(g,w){let T;const D=bRe(w);if(EAn(D)){const H=typeof g;T=H===D.toLowerCase(),!T&&H==="object"&&(T=g instanceof w)}else D==="Object"?T=Ju(g):D==="Array"?T=to(g):D==="null"?T=g===null:T=g instanceof w;return{valid:T,expectedType:D}}function SAn(g,w,T){let D=`Invalid prop: type check failed for prop "${g}". Expected ${T.map(nO).join(" | ")}`;const H=T[0],U=sBe(w),Q=b9t(w,H),ie=b9t(w,U);return T.length===1&&w9t(H)&&!CAn(H,U)&&(D+=` with value ${Q}`),D+=`, got ${U} `,w9t(U)&&(D+=`with value ${ie}.`),D}function b9t(g,w){return w==="String"?`"${g}"`:w==="Number"?`${Number(g)}`:`${g}`}function w9t(g){return["string","number","boolean"].some(T=>g.toLowerCase()===T)}function CAn(...g){return g.some(w=>w.toLowerCase()==="boolean")}const xCt=g=>g[0]==="_"||g==="$stable",EBe=g=>to(g)?g.map(D5):[D5(g)],AAn=(g,w,T)=>{if(w._n)return w;const D=no((...H)=>(Yd&&Di(`Slot "${g}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),EBe(w(...H))),T);return D._c=!1,D},kCt=(g,w,T)=>{const D=g._ctx;for(const H in g){if(xCt(H))continue;const U=g[H];if(ac(U))w[H]=AAn(H,U,D);else if(U!=null){Di(`Non-function value encountered for slot "${H}". Prefer function slots for better performance.`);const Q=EBe(U);w[H]=()=>Q}}},ECt=(g,w)=>{vQ(g.vnode)||Di("Non-function value encountered for default slot. Prefer function slots for better performance.");const T=EBe(w);g.slots.default=()=>T},MAn=(g,w)=>{if(g.vnode.shapeFlag&32){const T=w._;T?(g.slots=fc(w),bme(w,"_",T)):kCt(w,g.slots={})}else g.slots={},w&&ECt(g,w);bme(g.slots,Jme,1)},LAn=(g,w,T)=>{const{vnode:D,slots:H}=g;let U=!0,Q=Bh;if(D.shapeFlag&32){const ie=w._;ie?YT?vd(H,w):T&&ie===1?U=!1:(vd(H,w),!T&&ie===1&&delete H._):(U=!w.$stable,kCt(w,H)),Q=w}else w&&(ECt(g,w),Q={default:1});if(U)for(const ie in H)!xCt(ie)&&!(ie in Q)&&delete H[ie]};function TCt(){return{app:null,config:{isNativeTag:kSt,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let IAn=0;function OAn(g,w){return function(D,H=null){ac(D)||(D=Object.assign({},D)),H!=null&&!Ju(H)&&(Di("root props passed to app.mount() must be an object."),H=null);const U=TCt(),Q=new Set;let ie=!1;const he=U.app={_uid:IAn++,_component:D,_props:H,_container:null,_context:U,_instance:null,version:Ame,get config(){return U.config},set config(ne){Di("app.config cannot be replaced. Modify individual options instead.")},use(ne,...Be){return Q.has(ne)?Di("Plugin has already been applied to target app."):ne&&ac(ne.install)?(Q.add(ne),ne.install(he,...Be)):ac(ne)?(Q.add(ne),ne(he,...Be)):Di('A plugin must either be a function or an object with an "install" function.'),he},mixin(ne){return U.mixins.includes(ne)?Di("Mixin has already been applied to target app"+(ne.name?`: ${ne.name}`:"")):U.mixins.push(ne),he},component(ne,Be){return _Re(ne,U.config),Be?(U.components[ne]&&Di(`Component "${ne}" has already been registered in target app.`),U.components[ne]=Be,he):U.components[ne]},directive(ne,Be){return pCt(ne),Be?(U.directives[ne]&&Di(`Directive "${ne}" has already been registered in target app.`),U.directives[ne]=Be,he):U.directives[ne]},mount(ne,Be,He){if(ie)Di("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{ne.__vue_app__&&Di("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const Ye=Pa(D,H);return Ye.appContext=U,U.reload=()=>{g(N5(Ye),ne,He)},Be&&w?w(Ye,ne):g(Ye,ne,He),ie=!0,he._container=ne,ne.__vue_app__=he,he._instance=Ye.component,FCn(he,Ame),eve(Ye.component)||Ye.component.proxy}},unmount(){ie?(g(null,he._container),he._instance=null,jCn(he),delete he._container.__vue_app__):Di("Cannot unmount an app that is not mounted.")},provide(ne,Be){return ne in U.provides&&Di(`App already provides property with key "${String(ne)}". It will be overwritten with the new value.`),U.provides[ne]=Be,he}};return he}}function wRe(g,w,T,D,H=!1){if(to(g)){g.forEach((Ye,xt)=>wRe(Ye,w&&(to(w)?w[xt]:w),T,D,H));return}if(bF(D)&&!H)return;const U=D.shapeFlag&4?eve(D.component)||D.component.proxy:D.el,Q=H?null:U,{i:ie,r:he}=g;if(!ie){Di("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const ne=w&&w.r,Be=ie.refs===Bh?ie.refs={}:ie.refs,He=ie.setupState;if(ne!=null&&ne!==he&&(hf(ne)?(Be[ne]=null,Pl(He,ne)&&(He[ne]=null)):pu(ne)&&(ne.value=null)),ac(he))W8(he,ie,12,[Q,Be]);else{const Ye=hf(he),xt=pu(he);if(Ye||xt){const ft=()=>{if(g.f){const Jt=Ye?Pl(He,he)?He[he]:Be[he]:he.value;H?to(Jt)&&nBe(Jt,U):to(Jt)?Jt.includes(U)||Jt.push(U):Ye?(Be[he]=[U],Pl(He,he)&&(He[he]=Be[he])):(he.value=[U],g.k&&(Be[g.k]=he.value))}else Ye?(Be[he]=Q,Pl(He,he)&&(He[he]=Q)):xt?(he.value=Q,g.k&&(Be[g.k]=Q)):Di("Invalid template ref type:",he,`(${typeof he})`)};Q?(ft.id=-1,mp(ft,T)):ft()}else Di("Invalid template ref type:",he,`(${typeof he})`)}}let _X,UT;function j8(g,w){g.appContext.config.performance&&Cme()&&UT.mark(`vue-${w}-${g.uid}`),zCn(g,w,Cme()?UT.now():Date.now())}function $8(g,w){if(g.appContext.config.performance&&Cme()){const T=`vue-${w}-${g.uid}`,D=T+":end";UT.mark(D),UT.measure(`<${tve(g,g.type)}> ${w}`,T,D),UT.clearMarks(T),UT.clearMarks(D)}VCn(g,w,Cme()?UT.now():Date.now())}function Cme(){return _X!==void 0||(typeof window<"u"&&window.performance?(_X=!0,UT=window.performance):_X=!1),_X}function DAn(){const g=[];if(g.length){const w=g.length>1;console.warn(`Feature flag${w?"s":""} ${g.join(", ")} ${w?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
For more details, see https://link.vuejs.org/feature-flags.`)}}const mp=QCn;function PAn(g){return NAn(g)}function NAn(g,w){DAn();const T=CSt();T.__VUE__=!0,eCt(T.__VUE_DEVTOOLS_GLOBAL_HOOK__,T);const{insert:D,remove:H,patchProp:U,createElement:Q,createText:ie,createComment:he,setText:ne,setElementText:Be,parentNode:He,nextSibling:Ye,setScopeId:xt=Bb,insertStaticContent:ft}=g,Jt=(Et,cn,ar,vi=null,ii=null,Qi=null,Es=!1,Wi=null,fs=YT?!1:!!cn.dynamicChildren)=>{if(Et===cn)return;Et&&!GT(Et,cn)&&(vi=qs(Et),Rg(Et,ii,Qi,!0),Et=null),cn.patchFlag===-2&&(fs=!1,cn.dynamicChildren=null);const{type:Ci,ref:da,shapeFlag:oa}=cn;switch(Ci){case yQ:Cn(Et,cn,ar,vi);break;case Dg:lr(Et,cn,ar,vi);break;case cme:Et==null?Dn(cn,ar,vi,Es):Vn(Et,cn,ar,Es);break;case zu:Kc(Et,cn,ar,vi,ii,Qi,Es,Wi,fs);break;default:oa&1?xi(Et,cn,ar,vi,ii,Qi,Es,Wi,fs):oa&6?Zl(Et,cn,ar,vi,ii,Qi,Es,Wi,fs):oa&64||oa&128?Ci.process(Et,cn,ar,vi,ii,Qi,Es,Wi,fs,al):Di("Invalid VNode type:",Ci,`(${typeof Ci})`)}da!=null&&ii&&wRe(da,Et&&Et.ref,Qi,cn||Et,!cn)},Cn=(Et,cn,ar,vi)=>{if(Et==null)D(cn.el=ie(cn.children),ar,vi);else{const ii=cn.el=Et.el;cn.children!==Et.children&&ne(ii,cn.children)}},lr=(Et,cn,ar,vi)=>{Et==null?D(cn.el=he(cn.children||""),ar,vi):cn.el=Et.el},Dn=(Et,cn,ar,vi)=>{[Et.el,Et.anchor]=ft(Et.children,cn,ar,vi,Et.el,Et.anchor)},Vn=(Et,cn,ar,vi)=>{if(cn.children!==Et.children){const ii=Ye(Et.anchor);ti(Et),[cn.el,cn.anchor]=ft(cn.children,ar,ii,vi)}else cn.el=Et.el,cn.anchor=Et.anchor},ur=({el:Et,anchor:cn},ar,vi)=>{let ii;for(;Et&&Et!==cn;)ii=Ye(Et),D(Et,ar,vi),Et=ii;D(cn,ar,vi)},ti=({el:Et,anchor:cn})=>{let ar;for(;Et&&Et!==cn;)ar=Ye(Et),H(Et),Et=ar;H(cn)},xi=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs)=>{Es=Es||cn.type==="svg",Et==null?gs(cn,ar,vi,ii,Qi,Es,Wi,fs):Ks(Et,cn,ii,Qi,Es,Wi,fs)},gs=(Et,cn,ar,vi,ii,Qi,Es,Wi)=>{let fs,Ci;const{type:da,props:oa,shapeFlag:Na,transition:qo,dirs:Yc}=Et;if(fs=Et.el=Q(Et.type,Qi,oa&&oa.is,oa),Na&8?Be(fs,Et.children):Na&16&&ns(Et.children,fs,null,vi,ii,Qi&&da!=="foreignObject",Es,Wi),Yc&&NI(Et,null,vi,"created"),jr(fs,Et,Et.scopeId,Es,vi),oa){for(const cu in oa)cu!=="value"&&!sme(cu)&&U(fs,cu,null,oa[cu],Qi,Et.children,vi,ii,bs);"value"in oa&&U(fs,"value",null,oa.value),(Ci=oa.onVnodeBeforeMount)&&h3(Ci,vi,Et)}Object.defineProperty(fs,"__vnode",{value:Et,enumerable:!1}),Object.defineProperty(fs,"__vueParentComponent",{value:vi,enumerable:!1}),Yc&&NI(Et,null,vi,"beforeMount");const Vu=(!ii||ii&&!ii.pendingBranch)&&qo&&!qo.persisted;Vu&&qo.beforeEnter(fs),D(fs,cn,ar),((Ci=oa&&oa.onVnodeMounted)||Vu||Yc)&&mp(()=>{Ci&&h3(Ci,vi,Et),Vu&&qo.enter(fs),Yc&&NI(Et,null,vi,"mounted")},ii)},jr=(Et,cn,ar,vi,ii)=>{if(ar&&xt(Et,ar),vi)for(let Qi=0;Qi<vi.length;Qi++)xt(Et,vi[Qi]);if(ii){let Qi=ii.subTree;if(Qi.patchFlag>0&&Qi.patchFlag&2048&&(Qi=aCt(Qi.children)||Qi),cn===Qi){const Es=ii.vnode;jr(Et,Es,Es.scopeId,Es.slotScopeIds,ii.parent)}}},ns=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs=0)=>{for(let Ci=fs;Ci<Et.length;Ci++){const da=Et[Ci]=Wi?zT(Et[Ci]):D5(Et[Ci]);Jt(null,da,cn,ar,vi,ii,Qi,Es,Wi)}},Ks=(Et,cn,ar,vi,ii,Qi,Es)=>{const Wi=cn.el=Et.el;let{patchFlag:fs,dynamicChildren:Ci,dirs:da}=cn;fs|=Et.patchFlag&16;const oa=Et.props||Bh,Na=cn.props||Bh;let qo;ar&&RI(ar,!1),(qo=Na.onVnodeBeforeUpdate)&&h3(qo,ar,cn,Et),da&&NI(cn,Et,ar,"beforeUpdate"),ar&&RI(ar,!0),YT&&(fs=0,Es=!1,Ci=null);const Yc=ii&&cn.type!=="foreignObject";if(Ci?(Lo(Et.dynamicChildren,Ci,Wi,ar,vi,Yc,Qi),ar&&ar.type.__hmrId&&jX(Et,cn)):Es||kc(Et,cn,Wi,null,ar,vi,Yc,Qi,!1),fs>0){if(fs&16)Ss(Wi,cn,oa,Na,ar,vi,ii);else if(fs&2&&oa.class!==Na.class&&U(Wi,"class",null,Na.class,ii),fs&4&&U(Wi,"style",oa.style,Na.style,ii),fs&8){const Vu=cn.dynamicProps;for(let cu=0;cu<Vu.length;cu++){const bd=Vu[cu],Hb=oa[bd],J_=Na[bd];(J_!==Hb||bd==="value")&&U(Wi,bd,Hb,J_,ii,Et.children,ar,vi,bs)}}fs&1&&Et.children!==cn.children&&Be(Wi,cn.children)}else!Es&&Ci==null&&Ss(Wi,cn,oa,Na,ar,vi,ii);((qo=Na.onVnodeUpdated)||da)&&mp(()=>{qo&&h3(qo,ar,cn,Et),da&&NI(cn,Et,ar,"updated")},vi)},Lo=(Et,cn,ar,vi,ii,Qi,Es)=>{for(let Wi=0;Wi<cn.length;Wi++){const fs=Et[Wi],Ci=cn[Wi],da=fs.el&&(fs.type===zu||!GT(fs,Ci)||fs.shapeFlag&70)?He(fs.el):ar;Jt(fs,Ci,da,null,vi,ii,Qi,Es,!0)}},Ss=(Et,cn,ar,vi,ii,Qi,Es)=>{if(ar!==vi){if(ar!==Bh)for(const Wi in ar)!sme(Wi)&&!(Wi in vi)&&U(Et,Wi,ar[Wi],null,Es,cn.children,ii,Qi,bs);for(const Wi in vi){if(sme(Wi))continue;const fs=vi[Wi],Ci=ar[Wi];fs!==Ci&&Wi!=="value"&&U(Et,Wi,Ci,fs,Es,cn.children,ii,Qi,bs)}"value"in vi&&U(Et,"value",ar.value,vi.value)}},Kc=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs)=>{const Ci=cn.el=Et?Et.el:ie(""),da=cn.anchor=Et?Et.anchor:ie("");let{patchFlag:oa,dynamicChildren:Na,slotScopeIds:qo}=cn;(YT||oa&2048)&&(oa=0,fs=!1,Na=null),qo&&(Wi=Wi?Wi.concat(qo):qo),Et==null?(D(Ci,ar,vi),D(da,ar,vi),ns(cn.children,ar,da,ii,Qi,Es,Wi,fs)):oa>0&&oa&64&&Na&&Et.dynamicChildren?(Lo(Et.dynamicChildren,Na,ar,ii,Qi,Es,Wi),ii&&ii.type.__hmrId?jX(Et,cn):(cn.key!=null||ii&&cn===ii.subTree)&&jX(Et,cn,!0)):kc(Et,cn,ar,da,ii,Qi,Es,Wi,fs)},Zl=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs)=>{cn.slotScopeIds=Wi,Et==null?cn.shapeFlag&512?ii.ctx.activate(cn,ar,vi,Es,fs):xl(cn,ar,vi,ii,Qi,Es,fs):eh(Et,cn,fs)},xl=(Et,cn,ar,vi,ii,Qi,Es)=>{const Wi=Et.component=GAn(Et,vi,ii);if(Wi.type.__hmrId&&PCn(Wi),ame(Et),j8(Wi,"mount"),vQ(Et)&&(Wi.ctx.renderer=al),j8(Wi,"init"),KAn(Wi),$8(Wi,"init"),Wi.asyncDep){if(ii&&ii.registerDep(Wi,Ns),!Et.el){const fs=Wi.subTree=Pa(Dg);lr(null,fs,cn,ar)}return}Ns(Wi,Et,cn,ar,ii,Qi,Es),ome(),$8(Wi,"mount")},eh=(Et,cn,ar)=>{const vi=cn.component=Et.component;if(YCn(Et,cn,ar))if(vi.asyncDep&&!vi.asyncResolved){ame(cn),Va(vi,cn,ar),ome();return}else vi.next=cn,OCn(vi.update),vi.update();else cn.el=Et.el,vi.vnode=cn},Ns=(Et,cn,ar,vi,ii,Qi,Es)=>{const Wi=()=>{if(Et.isMounted){let{next:da,bu:oa,u:Na,parent:qo,vnode:Yc}=Et,Vu=da,cu;ame(da||Et.vnode),RI(Et,!1),da?(da.el=Yc.el,Va(Et,da,Es)):da=Yc,oa&&qT(oa),(cu=da.props&&da.props.onVnodeBeforeUpdate)&&h3(cu,qo,da,Yc),RI(Et,!0),j8(Et,"render");const bd=ANe(Et);$8(Et,"render");const Hb=Et.subTree;Et.subTree=bd,j8(Et,"patch"),Jt(Hb,bd,He(Hb.el),qs(Hb),Et,ii,Qi),$8(Et,"patch"),da.el=bd.el,Vu===null&&XCn(Et,bd.el),Na&&mp(Na,ii),(cu=da.props&&da.props.onVnodeUpdated)&&mp(()=>h3(cu,qo,da,Yc),ii),tCt(Et),ome()}else{let da;const{el:oa,props:Na}=cn,{bm:qo,m:Yc,parent:Vu}=Et,cu=bF(cn);if(RI(Et,!1),qo&&qT(qo),!cu&&(da=Na&&Na.onVnodeBeforeMount)&&h3(da,Vu,cn),RI(Et,!0),oa&&To){const bd=()=>{j8(Et,"render"),Et.subTree=ANe(Et),$8(Et,"render"),j8(Et,"hydrate"),To(oa,Et.subTree,Et,ii,null),$8(Et,"hydrate")};cu?cn.type.__asyncLoader().then(()=>!Et.isUnmounted&&bd()):bd()}else{j8(Et,"render");const bd=Et.subTree=ANe(Et);$8(Et,"render"),j8(Et,"patch"),Jt(null,bd,ar,vi,Et,ii,Qi),$8(Et,"patch"),cn.el=bd.el}if(Yc&&mp(Yc,ii),!cu&&(da=Na&&Na.onVnodeMounted)){const bd=cn;mp(()=>h3(da,Vu,bd),ii)}(cn.shapeFlag&256||Vu&&bF(Vu.vnode)&&Vu.vnode.shapeFlag&256)&&Et.a&&mp(Et.a,ii),Et.isMounted=!0,hRe(Et),cn=ar=vi=null}},fs=Et.effect=new lBe(Wi,()=>Kme(Ci),Et.scope),Ci=Et.update=()=>fs.run();Ci.id=Et.uid,RI(Et,!0),fs.onTrack=Et.rtc?da=>qT(Et.rtc,da):void 0,fs.onTrigger=Et.rtg?da=>qT(Et.rtg,da):void 0,Ci.ownerInstance=Et,Ci()},Va=(Et,cn,ar)=>{cn.component=Et;const vi=Et.vnode.props;Et.vnode=cn,Et.next=null,xAn(Et,cn.props,vi,ar),LAn(Et,cn.children,ar),iO(),o9t(),sO()},kc=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs=!1)=>{const Ci=Et&&Et.children,da=Et?Et.shapeFlag:0,oa=cn.children,{patchFlag:Na,shapeFlag:qo}=cn;if(Na>0){if(Na&128){Ng(Ci,oa,ar,vi,ii,Qi,Es,Wi,fs);return}else if(Na&256){vu(Ci,oa,ar,vi,ii,Qi,Es,Wi,fs);return}}qo&8?(da&16&&bs(Ci,ii,Qi),oa!==Ci&&Be(ar,oa)):da&16?qo&16?Ng(Ci,oa,ar,vi,ii,Qi,Es,Wi,fs):bs(Ci,ii,Qi,!0):(da&8&&Be(ar,""),qo&16&&ns(oa,ar,vi,ii,Qi,Es,Wi,fs))},vu=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs)=>{Et=Et||mF,cn=cn||mF;const Ci=Et.length,da=cn.length,oa=Math.min(Ci,da);let Na;for(Na=0;Na<oa;Na++){const qo=cn[Na]=fs?zT(cn[Na]):D5(cn[Na]);Jt(Et[Na],qo,ar,null,ii,Qi,Es,Wi,fs)}Ci>da?bs(Et,ii,Qi,!0,!1,oa):ns(cn,ar,vi,ii,Qi,Es,Wi,fs,oa)},Ng=(Et,cn,ar,vi,ii,Qi,Es,Wi,fs)=>{let Ci=0;const da=cn.length;let oa=Et.length-1,Na=da-1;for(;Ci<=oa&&Ci<=Na;){const qo=Et[Ci],Yc=cn[Ci]=fs?zT(cn[Ci]):D5(cn[Ci]);if(GT(qo,Yc))Jt(qo,Yc,ar,null,ii,Qi,Es,Wi,fs);else break;Ci++}for(;Ci<=oa&&Ci<=Na;){const qo=Et[oa],Yc=cn[Na]=fs?zT(cn[Na]):D5(cn[Na]);if(GT(qo,Yc))Jt(qo,Yc,ar,null,ii,Qi,Es,Wi,fs);else break;oa--,Na--}if(Ci>oa){if(Ci<=Na){const qo=Na+1,Yc=qo<da?cn[qo].el:vi;for(;Ci<=Na;)Jt(null,cn[Ci]=fs?zT(cn[Ci]):D5(cn[Ci]),ar,Yc,ii,Qi,Es,Wi,fs),Ci++}}else if(Ci>Na)for(;Ci<=oa;)Rg(Et[Ci],ii,Qi,!0),Ci++;else{const qo=Ci,Yc=Ci,Vu=new Map;for(Ci=Yc;Ci<=Na;Ci++){const Q0=cn[Ci]=fs?zT(cn[Ci]):D5(cn[Ci]);Q0.key!=null&&(Vu.has(Q0.key)&&Di("Duplicate keys found during update:",JSON.stringify(Q0.key),"Make sure keys are unique."),Vu.set(Q0.key,Ci))}let cu,bd=0;const Hb=Na-Yc+1;let J_=!1,TQ=0;const ex=new Array(Hb);for(Ci=0;Ci<Hb;Ci++)ex[Ci]=0;for(Ci=qo;Ci<=oa;Ci++){const Q0=Et[Ci];if(bd>=Hb){Rg(Q0,ii,Qi,!0);continue}let dw;if(Q0.key!=null)dw=Vu.get(Q0.key);else for(cu=Yc;cu<=Na;cu++)if(ex[cu-Yc]===0&&GT(Q0,cn[cu])){dw=cu;break}dw===void 0?Rg(Q0,ii,Qi,!0):(ex[dw-Yc]=Ci+1,dw>=TQ?TQ=dw:J_=!0,Jt(Q0,cn[dw],ar,null,ii,Qi,Es,Wi,fs),bd++)}const SQ=J_?RAn(ex):mF;for(cu=SQ.length-1,Ci=Hb-1;Ci>=0;Ci--){const Q0=Yc+Ci,dw=cn[Q0],OF=Q0+1<da?cn[Q0+1].el:vi;ex[Ci]===0?Jt(null,dw,ar,OF,ii,Qi,Es,Wi,fs):J_&&(cu<0||Ci!==SQ[cu]?X0(dw,ar,OF,2):cu--)}}},X0=(Et,cn,ar,vi,ii=null)=>{const{el:Qi,type:Es,transition:Wi,children:fs,shapeFlag:Ci}=Et;if(Ci&6){X0(Et.component.subTree,cn,ar,vi);return}if(Ci&128){Et.suspense.move(cn,ar,vi);return}if(Ci&64){Es.move(Et,cn,ar,al);return}if(Es===zu){D(Qi,cn,ar);for(let oa=0;oa<fs.length;oa++)X0(fs[oa],cn,ar,vi);D(Et.anchor,cn,ar);return}if(Es===cme){ur(Et,cn,ar);return}if(vi!==2&&Ci&1&&Wi)if(vi===0)Wi.beforeEnter(Qi),D(Qi,cn,ar),mp(()=>Wi.enter(Qi),ii);else{const{leave:oa,delayLeave:Na,afterLeave:qo}=Wi,Yc=()=>D(Qi,cn,ar),Vu=()=>{oa(Qi,()=>{Yc(),qo&&qo()})};Na?Na(Qi,Yc,Vu):Vu()}else D(Qi,cn,ar)},Rg=(Et,cn,ar,vi=!1,ii=!1)=>{const{type:Qi,props:Es,ref:Wi,children:fs,dynamicChildren:Ci,shapeFlag:da,patchFlag:oa,dirs:Na}=Et;if(Wi!=null&&wRe(Wi,null,ar,Et,!0),da&256){cn.ctx.deactivate(Et);return}const qo=da&1&&Na,Yc=!bF(Et);let Vu;if(Yc&&(Vu=Es&&Es.onVnodeBeforeUnmount)&&h3(Vu,cn,Et),da&6)Hs(Et.component,ar,vi);else{if(da&128){Et.suspense.unmount(ar,vi);return}qo&&NI(Et,null,cn,"beforeUnmount"),da&64?Et.type.remove(Et,cn,ar,ii,al,vi):Ci&&(Qi!==zu||oa>0&&oa&64)?bs(Ci,cn,ar,!1,!0):(Qi===zu&&oa&384||!ii&&da&16)&&bs(fs,cn,ar),vi&&fw(Et)}(Yc&&(Vu=Es&&Es.onVnodeUnmounted)||qo)&&mp(()=>{Vu&&h3(Vu,cn,Et),qo&&NI(Et,null,cn,"unmounted")},ar)},fw=Et=>{const{type:cn,el:ar,anchor:vi,transition:ii}=Et;if(cn===zu){Et.patchFlag>0&&Et.patchFlag&2048&&ii&&!ii.persisted?Et.children.forEach(Es=>{Es.type===Dg?H(Es.el):fw(Es)}):Lr(ar,vi);return}if(cn===cme){ti(Et);return}const Qi=()=>{H(ar),ii&&!ii.persisted&&ii.afterLeave&&ii.afterLeave()};if(Et.shapeFlag&1&&ii&&!ii.persisted){const{leave:Es,delayLeave:Wi}=ii,fs=()=>Es(ar,Qi);Wi?Wi(Et.el,Qi,fs):fs()}else Qi()},Lr=(Et,cn)=>{let ar;for(;Et!==cn;)ar=Ye(Et),H(Et),Et=ar;H(cn)},Hs=(Et,cn,ar)=>{Et.type.__hmrId&&NCn(Et);const{bum:vi,scope:ii,update:Qi,subTree:Es,um:Wi}=Et;vi&&qT(vi),ii.stop(),Qi&&(Qi.active=!1,Rg(Es,Et,cn,ar)),Wi&&mp(Wi,cn),mp(()=>{Et.isUnmounted=!0},cn),cn&&cn.pendingBranch&&!cn.isUnmounted&&Et.asyncDep&&!Et.asyncResolved&&Et.suspenseId===cn.pendingId&&(cn.deps--,cn.deps===0&&cn.resolve()),HCn(Et)},bs=(Et,cn,ar,vi=!1,ii=!1,Qi=0)=>{for(let Es=Qi;Es<Et.length;Es++)Rg(Et[Es],cn,ar,vi,ii)},qs=Et=>Et.shapeFlag&6?qs(Et.component.subTree):Et.shapeFlag&128?Et.suspense.next():Ye(Et.anchor||Et.el),Hc=(Et,cn,ar)=>{Et==null?cn._vnode&&Rg(cn._vnode,null,null,!0):Jt(cn._vnode||null,Et,cn,null,null,null,ar),o9t(),QSt(),cn._vnode=Et},al={p:Jt,um:Rg,m:X0,r:fw,mt:xl,mc:ns,pc:kc,pbc:Lo,n:qs,o:g};let Io,To;return w&&([Io,To]=w(al)),{render:Hc,hydrate:Io,createApp:OAn(Hc,Io)}}function RI({effect:g,update:w},T){g.allowRecurse=w.allowRecurse=T}function jX(g,w,T=!1){const D=g.children,H=w.children;if(to(D)&&to(H))for(let U=0;U<D.length;U++){const Q=D[U];let ie=H[U];ie.shapeFlag&1&&!ie.dynamicChildren&&((ie.patchFlag<=0||ie.patchFlag===32)&&(ie=H[U]=zT(H[U]),ie.el=Q.el),T||jX(Q,ie)),ie.type===yQ&&(ie.el=Q.el),ie.type===Dg&&!ie.el&&(ie.el=Q.el)}}function RAn(g){const w=g.slice(),T=[0];let D,H,U,Q,ie;const he=g.length;for(D=0;D<he;D++){const ne=g[D];if(ne!==0){if(H=T[T.length-1],g[H]<ne){w[D]=H,T.push(D);continue}for(U=0,Q=T.length-1;U<Q;)ie=U+Q>>1,g[T[ie]]<ne?U=ie+1:Q=ie;ne<g[T[U]]&&(U>0&&(w[D]=T[U-1]),T[U]=D)}}for(U=T.length,Q=T[U-1];U-- >0;)T[U]=Q,Q=w[Q];return T}const BAn=g=>g.__isTeleport,wF=g=>g&&(g.disabled||g.disabled===""),y9t=g=>typeof SVGElement<"u"&&g instanceof SVGElement,yRe=(g,w)=>{const T=g&&g.to;if(hf(T))if(w){const D=w(T);return D||Di(`Failed to locate Teleport target with selector "${T}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),D}else return Di("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!T&&!wF(g)&&Di(`Invalid Teleport target: ${T}`),T},FAn={__isTeleport:!0,process(g,w,T,D,H,U,Q,ie,he,ne){const{mc:Be,pc:He,pbc:Ye,o:{insert:xt,querySelector:ft,createText:Jt,createComment:Cn}}=ne,lr=wF(w.props);let{shapeFlag:Dn,children:Vn,dynamicChildren:ur}=w;if(YT&&(he=!1,ur=null),g==null){const ti=w.el=Cn("teleport start"),xi=w.anchor=Cn("teleport end");xt(ti,T,D),xt(xi,T,D);const gs=w.target=yRe(w.props,ft),jr=w.targetAnchor=Jt("");gs?(xt(jr,gs),Q=Q||y9t(gs)):lr||Di("Invalid Teleport target on mount:",gs,`(${typeof gs})`);const ns=(Ks,Lo)=>{Dn&16&&Be(Vn,Ks,Lo,H,U,Q,ie,he)};lr?ns(T,xi):gs&&ns(gs,jr)}else{w.el=g.el;const ti=w.anchor=g.anchor,xi=w.target=g.target,gs=w.targetAnchor=g.targetAnchor,jr=wF(g.props),ns=jr?T:xi,Ks=jr?ti:gs;if(Q=Q||y9t(xi),ur?(Ye(g.dynamicChildren,ur,ns,H,U,Q,ie),jX(g,w,!0)):he||He(g,w,ns,Ks,H,U,Q,ie,!1),lr)jr||Qpe(w,T,ti,ne,1);else if((w.props&&w.props.to)!==(g.props&&g.props.to)){const Lo=w.target=yRe(w.props,ft);Lo?Qpe(w,Lo,null,ne,0):Di("Invalid Teleport target on update:",xi,`(${typeof xi})`)}else jr&&Qpe(w,xi,gs,ne,1)}SCt(w)},remove(g,w,T,D,{um:H,o:{remove:U}},Q){const{shapeFlag:ie,children:he,anchor:ne,targetAnchor:Be,target:He,props:Ye}=g;if(He&&U(Be),(Q||!wF(Ye))&&(U(ne),ie&16))for(let xt=0;xt<he.length;xt++){const ft=he[xt];H(ft,w,T,!0,!!ft.dynamicChildren)}},move:Qpe,hydrate:jAn};function Qpe(g,w,T,{o:{insert:D},m:H},U=2){U===0&&D(g.targetAnchor,w,T);const{el:Q,anchor:ie,shapeFlag:he,children:ne,props:Be}=g,He=U===2;if(He&&D(Q,w,T),(!He||wF(Be))&&he&16)for(let Ye=0;Ye<ne.length;Ye++)H(ne[Ye],w,T,2);He&&D(ie,w,T)}function jAn(g,w,T,D,H,U,{o:{nextSibling:Q,parentNode:ie,querySelector:he}},ne){const Be=w.target=yRe(w.props,he);if(Be){const He=Be._lpa||Be.firstChild;if(w.shapeFlag&16)if(wF(w.props))w.anchor=ne(Q(g),w,ie(g),T,D,H,U),w.targetAnchor=He;else{w.anchor=Q(g);let Ye=He;for(;Ye;)if(Ye=Q(Ye),Ye&&Ye.nodeType===8&&Ye.data==="teleport anchor"){w.targetAnchor=Ye,Be._lpa=w.targetAnchor&&Q(w.targetAnchor);break}ne(He,w,Be,T,D,H,U)}SCt(w)}return w.anchor&&Q(w.anchor)}const $An=FAn;function SCt(g){const w=g.ctx;if(w&&w.ut){let T=g.children[0].el;for(;T!==g.targetAnchor;)T.nodeType===1&&T.setAttribute("data-v-owner",w.uid),T=T.nextSibling;w.ut()}}const zu=Symbol("Fragment"),yQ=Symbol("Text"),Dg=Symbol("Comment"),cme=Symbol("Static"),$X=[];let P5=null;function tr(g=!1){$X.push(P5=g?null:[])}function HAn(){$X.pop(),P5=$X[$X.length-1]||null}let eQ=1;function _9t(g){eQ+=g}function CCt(g){return g.dynamicChildren=eQ>0?P5||mF:null,HAn(),eQ>0&&P5&&P5.push(g),g}function Ls(g,w,T,D,H,U){return CCt(I(g,w,T,D,H,U,!0))}function Ds(g,w,T,D,H){return CCt(Pa(g,w,T,D,H,!0))}function iS(g){return g?g.__v_isVNode===!0:!1}function GT(g,w){return w.shapeFlag&6&&uF.has(w.type)?(g.shapeFlag&=-257,w.shapeFlag&=-513,!1):g.type===w.type&&g.key===w.key}const zAn=(...g)=>VAn(...g),Jme="__vInternal",ACt=({key:g})=>g??null,lme=({ref:g,ref_key:w,ref_for:T})=>g!=null?hf(g)||pu(g)||ac(g)?{i:Y0,r:g,k:w,f:!!T}:g:null;function I(g,w=null,T=null,D=0,H=null,U=g===zu?0:1,Q=!1,ie=!1){const he={__v_isVNode:!0,__v_skip:!0,type:g,props:w,key:w&&ACt(w),ref:w&&lme(w),scopeId:Xme,slotScopeIds:null,children:T,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:U,patchFlag:D,dynamicProps:H,dynamicChildren:null,appContext:null,ctx:Y0};return ie?(TBe(he,T),U&128&&g.normalize(he)):T&&(he.shapeFlag|=hf(T)?8:16),he.key!==he.key&&Di("VNode created with invalid key (NaN). VNode type:",he.type),eQ>0&&!Q&&P5&&(he.patchFlag>0||U&6)&&he.patchFlag!==32&&P5.push(he),he}const Pa=zAn;function VAn(g,w=null,T=null,D=0,H=null,U=!1){if((!g||g===lAn)&&(g||Di(`Invalid vnode type when creating vnode: ${g}.`),g=Dg),iS(g)){const ie=N5(g,w,!0);return T&&TBe(ie,T),eQ>0&&!U&&P5&&(ie.shapeFlag&6?P5[P5.indexOf(g)]=ie:P5.push(ie)),ie.patchFlag|=-2,ie}if(DCt(g)&&(g=g.__vccOpts),w){w=xc(w);let{class:ie,style:he}=w;ie&&!hf(ie)&&(w.class=Xd(ie)),Ju(he)&&(xme(he)&&!to(he)&&(he=vd({},he)),w.style=im(he))}const Q=hf(g)?1:oCt(g)?128:BAn(g)?64:Ju(g)?4:ac(g)?2:0;return Q&4&&xme(g)&&(g=fc(g),Di("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
Component that was made reactive: `,g)),I(g,w,T,D,H,Q,U,!0)}function xc(g){return g?xme(g)||Jme in g?vd({},g):g:null}function N5(g,w,T=!1){const{props:D,ref:H,patchFlag:U,children:Q}=g,ie=w?EF(D||{},w):D;return{__v_isVNode:!0,__v_skip:!0,type:g.type,props:ie,key:ie&&ACt(ie),ref:w&&w.ref?T&&H?to(H)?H.concat(lme(w)):[H,lme(w)]:lme(w):H,scopeId:g.scopeId,slotScopeIds:g.slotScopeIds,children:U===-1&&to(Q)?Q.map(MCt):Q,target:g.target,targetAnchor:g.targetAnchor,staticCount:g.staticCount,shapeFlag:g.shapeFlag,patchFlag:w&&g.type!==zu?U===-1?16:U|16:U,dynamicProps:g.dynamicProps,dynamicChildren:g.dynamicChildren,appContext:g.appContext,dirs:g.dirs,transition:g.transition,component:g.component,suspense:g.suspense,ssContent:g.ssContent&&N5(g.ssContent),ssFallback:g.ssFallback&&N5(g.ssFallback),el:g.el,anchor:g.anchor,ctx:g.ctx,ce:g.ce}}function MCt(g){const w=N5(g);return to(g.children)&&(w.children=g.children.map(MCt)),w}function Du(g=" ",w=0){return Pa(yQ,null,g,w)}function sl(g="",w=!1){return w?(tr(),Ds(Dg,null,g)):Pa(Dg,null,g)}function D5(g){return g==null||typeof g=="boolean"?Pa(Dg):to(g)?Pa(zu,null,g.slice()):typeof g=="object"?zT(g):Pa(yQ,null,String(g))}function zT(g){return g.el===null&&g.patchFlag!==-1||g.memo?g:N5(g)}function TBe(g,w){let T=0;const{shapeFlag:D}=g;if(w==null)w=null;else if(to(w))T=16;else if(typeof w=="object")if(D&65){const H=w.default;H&&(H._c&&(H._d=!1),TBe(g,H()),H._c&&(H._d=!0));return}else{T=32;const H=w._;!H&&!(Jme in w)?w._ctx=Y0:H===3&&Y0&&(Y0.slots._===1?w._=1:(w._=2,g.patchFlag|=1024))}else ac(w)?(w={default:w,_ctx:Y0},T=32):(w=String(w),D&64?(T=16,w=[Du(w)]):T=8);g.children=w,g.shapeFlag|=T}function EF(...g){const w={};for(let T=0;T<g.length;T++){const D=g[T];for(const H in D)if(H==="class")w.class!==D.class&&(w.class=Xd([w.class,D.class]));else if(H==="style")w.style=im([w.style,D.style]);else if(gQ(H)){const U=w[H],Q=D[H];Q&&U!==Q&&!(to(U)&&U.includes(Q))&&(w[H]=U?[].concat(U,Q):Q)}else H!==""&&(w[H]=D[H])}return w}function h3(g,w,T,D=null){g3(g,w,7,[T,D])}const qAn=TCt();let UAn=0;function GAn(g,w,T){const D=g.type,H=(w?w.appContext:g.appContext)||qAn,U={uid:UAn++,vnode:g,type:D,parent:w,appContext:H,root:null,next:null,subTree:null,effect:null,update:null,scope:new ASt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:w?w.provides:Object.create(H.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yCt(D,H),emitsOptions:rCt(D,H),emit:null,emitted:null,propsDefaults:Bh,inheritAttrs:D.inheritAttrs,ctx:Bh,data:Bh,props:Bh,attrs:Bh,slots:Bh,refs:Bh,setupState:Bh,setupContext:null,suspense:T,suspenseId:T?T.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return U.ctx=hAn(U),U.root=w?w.root:U,U.emit=UCn.bind(null,U),g.ce&&g.ce(U),U}let Yd=null;const hw=()=>Yd||Y0,TF=g=>{Yd=g,g.scope.on()},eO=()=>{Yd&&Yd.scope.off(),Yd=null},WAn=aS("slot,component");function _Re(g,w){const T=w.isNativeTag||kSt;(WAn(g)||T(g))&&Di("Do not use built-in or reserved HTML elements as component id: "+g)}function LCt(g){return g.vnode.shapeFlag&4}let tQ=!1;function KAn(g,w=!1){tQ=w;const{props:T,children:D}=g.vnode,H=LCt(g);yAn(g,T,H,w),MAn(g,D);const U=H?YAn(g,w):void 0;return tQ=!1,U}function YAn(g,w){var T;const D=g.type;{if(D.name&&_Re(D.name,g.appContext.config),D.components){const U=Object.keys(D.components);for(let Q=0;Q<U.length;Q++)_Re(U[Q],g.appContext.config)}if(D.directives){const U=Object.keys(D.directives);for(let Q=0;Q<U.length;Q++)pCt(U[Q])}D.compilerOptions&&XAn()&&Di('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}g.accessCache=Object.create(null),g.proxy=Gme(new Proxy(g.ctx,vCt)),fAn(g);const{setup:H}=D;if(H){const U=g.setupContext=H.length>1?OCt(g):null;TF(g),iO();const Q=W8(H,g,0,[gF(g.props),U]);if(sO(),eO(),iBe(Q)){if(Q.then(eO,eO),w)return Q.then(ie=>{x9t(g,ie,w)}).catch(ie=>{Wme(ie,g,0)});if(g.asyncDep=Q,!g.suspense){const ie=(T=D.name)!==null&&T!==void 0?T:"Anonymous";Di(`Component <${ie}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else x9t(g,Q,w)}else ICt(g,w)}function x9t(g,w,T){ac(w)?g.type.__ssrInlineRender?g.ssrRender=w:g.render=w:Ju(w)?(iS(w)&&Di("setup() should not return VNodes directly - return a render function instead."),g.devtoolsRawSetupState=w,g.setupState=qSt(w),dAn(g)):w!==void 0&&Di(`setup() should return an object. Received: ${w===null?"null":typeof w}`),ICt(g,T)}let xRe;const XAn=()=>!xRe;function ICt(g,w,T){const D=g.type;if(!g.render){if(!w&&xRe&&!D.render){const H=D.template||kBe(g).template;if(H){j8(g,"compile");const{isCustomElement:U,compilerOptions:Q}=g.appContext.config,{delimiters:ie,compilerOptions:he}=D,ne=vd(vd({isCustomElement:U,delimiters:ie},Q),he);D.render=xRe(H,ne),$8(g,"compile")}}g.render=D.render||Bb}TF(g),iO(),pAn(g),sO(),eO(),!D.render&&g.render===Bb&&!w&&(D.template?Di('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):Di("Component is missing template or render function."))}function QAn(g){return new Proxy(g.attrs,{get(w,T){return Eme(),$b(g,"get","$attrs"),w[T]},set(){return Di("setupContext.attrs is readonly."),!1},deleteProperty(){return Di("setupContext.attrs is readonly."),!1}})}function OCt(g){const w=D=>{if(g.exposed&&Di("expose() should be called only once per setup()."),D!=null){let H=typeof D;H==="object"&&(to(D)?H="array":pu(D)&&(H="ref")),H!=="object"&&Di(`expose() should be passed a plain object, received ${H}.`)}g.exposed=D||{}};let T;return Object.freeze({get attrs(){return T||(T=QAn(g))},get slots(){return gF(g.slots)},get emit(){return(D,...H)=>g.emit(D,...H)},expose:w})}function eve(g){if(g.exposed)return g.exposeProxy||(g.exposeProxy=new Proxy(qSt(Gme(g.exposed)),{get(w,T){if(T in w)return w[T];if(T in JI)return JI[T](g)},has(w,T){return T in w||T in JI}}))}const ZAn=/(?:^|[-_])(\w)/g,JAn=g=>g.replace(ZAn,w=>w.toUpperCase()).replace(/[-_]/g,"");function nQ(g,w=!0){return ac(g)?g.displayName||g.name:g.name||w&&g.__name}function tve(g,w,T=!1){let D=nQ(w);if(!D&&w.__file){const H=w.__file.match(/([^/\\]+)\.\w+$/);H&&(D=H[1])}if(!D&&g&&g.parent){const H=U=>{for(const Q in U)if(U[Q]===w)return Q};D=H(g.components||g.parent.type.components)||H(g.appContext.components)}return D?JAn(D):T?"App":"Anonymous"}function DCt(g){return ac(g)&&"__vccOpts"in g}const Fr=(g,w)=>kCn(g,w,tQ);function eMn(){return tMn().slots}function tMn(){const g=hw();return g||Di("useContext() called without active instance."),g.setupContext||(g.setupContext=OCt(g))}function jb(g,w,T){const D=arguments.length;return D===2?Ju(w)&&!to(w)?iS(w)?Pa(g,null,[w]):Pa(g,w):Pa(g,null,w):(D>3?T=Array.prototype.slice.call(arguments,2):D===3&&iS(T)&&(T=[T]),Pa(g,w,T))}const nMn=Symbol("ssrContext"),rMn=()=>{{const g=os(nMn);return g||Di("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),g}};function DNe(g){return!!(g&&g.__v_isShallow)}function iMn(){if(typeof window>"u")return;const g={style:"color:#3ba776"},w={style:"color:#0b1bc9"},T={style:"color:#b62e24"},D={style:"color:#9d288c"},H={header(He){return Ju(He)?He.__isVue?["div",g,"VueInstance"]:pu(He)?["div",{},["span",g,Be(He)],"<",ie(He.value),">"]:QI(He)?["div",{},["span",g,DNe(He)?"ShallowReactive":"Reactive"],"<",ie(He),`>${nS(He)?" (readonly)":""}`]:nS(He)?["div",{},["span",g,DNe(He)?"ShallowReadonly":"Readonly"],"<",ie(He),">"]:null:null},hasBody(He){return He&&He.__isVue},body(He){if(He&&He.__isVue)return["div",{},...U(He.$)]}};function U(He){const Ye=[];He.type.props&&He.props&&Ye.push(Q("props",fc(He.props))),He.setupState!==Bh&&Ye.push(Q("setup",He.setupState)),He.data!==Bh&&Ye.push(Q("data",fc(He.data)));const xt=he(He,"computed");xt&&Ye.push(Q("computed",xt));const ft=he(He,"inject");return ft&&Ye.push(Q("injected",ft)),Ye.push(["div",{},["span",{style:D.style+";opacity:0.66"},"$ (internal): "],["object",{object:He}]]),Ye}function Q(He,Ye){return Ye=vd({},Ye),Object.keys(Ye).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},He],["div",{style:"padding-left:1.25em"},...Object.keys(Ye).map(xt=>["div",{},["span",D,xt+": "],ie(Ye[xt],!1)])]]:["span",{}]}function ie(He,Ye=!0){return typeof He=="number"?["span",w,He]:typeof He=="string"?["span",T,JSON.stringify(He)]:typeof He=="boolean"?["span",D,He]:Ju(He)?["object",{object:Ye?fc(He):He}]:["span",T,String(He)]}function he(He,Ye){const xt=He.type;if(ac(xt))return;const ft={};for(const Jt in He.ctx)ne(xt,Jt,Ye)&&(ft[Jt]=He.ctx[Jt]);return ft}function ne(He,Ye,xt){const ft=He[xt];if(to(ft)&&ft.includes(Ye)||Ju(ft)&&Ye in ft||He.extends&&ne(He.extends,Ye,xt)||He.mixins&&He.mixins.some(Jt=>ne(Jt,Ye,xt)))return!0}function Be(He){return DNe(He)?"ShallowRef":He.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(H):window.devtoolsFormatters=[H]}const Ame="3.2.47",sMn="http://www.w3.org/2000/svg",VI=typeof document<"u"?document:null,k9t=VI&&VI.createElement("template"),aMn={insert:(g,w,T)=>{w.insertBefore(g,T||null)},remove:g=>{const w=g.parentNode;w&&w.removeChild(g)},createElement:(g,w,T,D)=>{const H=w?VI.createElementNS(sMn,g):VI.createElement(g,T?{is:T}:void 0);return g==="select"&&D&&D.multiple!=null&&H.setAttribute("multiple",D.multiple),H},createText:g=>VI.createTextNode(g),createComment:g=>VI.createComment(g),setText:(g,w)=>{g.nodeValue=w},setElementText:(g,w)=>{g.textContent=w},parentNode:g=>g.parentNode,nextSibling:g=>g.nextSibling,querySelector:g=>VI.querySelector(g),setScopeId(g,w){g.setAttribute(w,"")},insertStaticContent(g,w,T,D,H,U){const Q=T?T.previousSibling:w.lastChild;if(H&&(H===U||H.nextSibling))for(;w.insertBefore(H.cloneNode(!0),T),!(H===U||!(H=H.nextSibling)););else{k9t.innerHTML=D?`<svg>${g}</svg>`:g;const ie=k9t.content;if(D){const he=ie.firstChild;for(;he.firstChild;)ie.appendChild(he.firstChild);ie.removeChild(he)}w.insertBefore(ie,T)}return[Q?Q.nextSibling:w.firstChild,T?T.previousSibling:w.lastChild]}};function oMn(g,w,T){const D=g._vtc;D&&(w=(w?[w,...D]:[...D]).join(" ")),w==null?g.removeAttribute("class"):T?g.setAttribute("class",w):g.className=w}function cMn(g,w,T){const D=g.style,H=hf(T);if(T&&!H){if(w&&!hf(w))for(const U in w)T[U]==null&&kRe(D,U,"");for(const U in T)kRe(D,U,T[U])}else{const U=D.display;H?w!==T&&(D.cssText=T):w&&g.removeAttribute("style"),"_vod"in g&&(D.display=U)}}const lMn=/[^\\];\s*$/,E9t=/\s*!important$/;function kRe(g,w,T){if(to(T))T.forEach(D=>kRe(g,w,D));else if(T==null&&(T=""),lMn.test(T)&&Di(`Unexpected semicolon at the end of '${w}' style value: '${T}'`),w.startsWith("--"))g.setProperty(w,T);else{const D=uMn(g,w);E9t.test(T)?g.setProperty(K8(D),T.replace(E9t,""),"important"):g[D]=T}}const T9t=["Webkit","Moz","ms"],PNe={};function uMn(g,w){const T=PNe[w];if(T)return T;let D=Q_(w);if(D!=="filter"&&D in g)return PNe[w]=D;D=nO(D);for(let H=0;H<T9t.length;H++){const U=T9t[H]+D;if(U in g)return PNe[w]=U}return w}const S9t="http://www.w3.org/1999/xlink";function hMn(g,w,T,D,H){if(D&&w.startsWith("xlink:"))T==null?g.removeAttributeNS(S9t,w.slice(6,w.length)):g.setAttributeNS(S9t,w,T);else{const U=ISn(w);T==null||U&&!_St(T)?g.removeAttribute(w):g.setAttribute(w,U?"":T)}}function fMn(g,w,T,D,H,U,Q){if(w==="innerHTML"||w==="textContent"){D&&Q(D,H,U),g[w]=T??"";return}if(w==="value"&&g.tagName!=="PROGRESS"&&!g.tagName.includes("-")){g._value=T;const he=T??"";(g.value!==he||g.tagName==="OPTION")&&(g.value=he),T==null&&g.removeAttribute(w);return}let ie=!1;if(T===""||T==null){const he=typeof g[w];he==="boolean"?T=_St(T):T==null&&he==="string"?(T="",ie=!0):he==="number"&&(T=0,ie=!0)}try{g[w]=T}catch(he){ie||Di(`Failed setting prop "${w}" on <${g.tagName.toLowerCase()}>: value ${T} is invalid.`,he)}ie&&g.removeAttribute(w)}function hF(g,w,T,D){g.addEventListener(w,T,D)}function dMn(g,w,T,D){g.removeEventListener(w,T,D)}function gMn(g,w,T,D,H=null){const U=g._vei||(g._vei={}),Q=U[w];if(D&&Q)Q.value=D;else{const[ie,he]=pMn(w);if(D){const ne=U[w]=bMn(D,H);hF(g,ie,ne,he)}else Q&&(dMn(g,ie,Q,he),U[w]=void 0)}}const C9t=/(?:Once|Passive|Capture)$/;function pMn(g){let w;if(C9t.test(g)){w={};let D;for(;D=g.match(C9t);)g=g.slice(0,g.length-D[0].length),w[D[0].toLowerCase()]=!0}return[g[2]===":"?g.slice(3):K8(g.slice(2)),w]}let NNe=0;const mMn=Promise.resolve(),vMn=()=>NNe||(mMn.then(()=>NNe=0),NNe=Date.now());function bMn(g,w){const T=D=>{if(!D._vts)D._vts=Date.now();else if(D._vts<=T.attached)return;g3(wMn(D,T.value),w,5,[D])};return T.value=g,T.attached=vMn(),T}function wMn(g,w){if(to(w)){const T=g.stopImmediatePropagation;return g.stopImmediatePropagation=()=>{T.call(g),g._stopped=!0},w.map(D=>H=>!H._stopped&&D&&D(H))}else return w}const A9t=/^on[a-z]/,yMn=(g,w,T,D,H=!1,U,Q,ie,he)=>{w==="class"?oMn(g,D,H):w==="style"?cMn(g,T,D):gQ(w)?vme(w)||gMn(g,w,T,D,Q):(w[0]==="."?(w=w.slice(1),!0):w[0]==="^"?(w=w.slice(1),!1):_Mn(g,w,D,H))?fMn(g,w,D,U,Q,ie,he):(w==="true-value"?g._trueValue=D:w==="false-value"&&(g._falseValue=D),hMn(g,w,D,H))};function _Mn(g,w,T,D){return D?!!(w==="innerHTML"||w==="textContent"||w in g&&A9t.test(w)&&ac(T)):w==="spellcheck"||w==="draggable"||w==="translate"||w==="form"||w==="list"&&g.tagName==="INPUT"||w==="type"&&g.tagName==="TEXTAREA"||A9t.test(w)&&hf(T)?!1:w in g}const FT="transition",xX="animation",PCt={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},xMn=vd({},eAn.props,PCt),BI=(g,w=[])=>{to(g)?g.forEach(T=>T(...w)):g&&g(...w)},M9t=g=>g?to(g)?g.some(w=>w.length>1):g.length>1:!1;function kMn(g){const w={};for(const Ss in g)Ss in PCt||(w[Ss]=g[Ss]);if(g.css===!1)return w;const{name:T="v",type:D,duration:H,enterFromClass:U=`${T}-enter-from`,enterActiveClass:Q=`${T}-enter-active`,enterToClass:ie=`${T}-enter-to`,appearFromClass:he=U,appearActiveClass:ne=Q,appearToClass:Be=ie,leaveFromClass:He=`${T}-leave-from`,leaveActiveClass:Ye=`${T}-leave-active`,leaveToClass:xt=`${T}-leave-to`}=g,ft=EMn(H),Jt=ft&&ft[0],Cn=ft&&ft[1],{onBeforeEnter:lr,onEnter:Dn,onEnterCancelled:Vn,onLeave:ur,onLeaveCancelled:ti,onBeforeAppear:xi=lr,onAppear:gs=Dn,onAppearCancelled:jr=Vn}=w,ns=(Ss,Kc,Zl)=>{$T(Ss,Kc?Be:ie),$T(Ss,Kc?ne:Q),Zl&&Zl()},Ks=(Ss,Kc)=>{Ss._isLeaving=!1,$T(Ss,He),$T(Ss,xt),$T(Ss,Ye),Kc&&Kc()},Lo=Ss=>(Kc,Zl)=>{const xl=Ss?gs:Dn,eh=()=>ns(Kc,Ss,Zl);BI(xl,[Kc,eh]),L9t(()=>{$T(Kc,Ss?he:U),H8(Kc,Ss?Be:ie),M9t(xl)||I9t(Kc,D,Jt,eh)})};return vd(w,{onBeforeEnter(Ss){BI(lr,[Ss]),H8(Ss,U),H8(Ss,Q)},onBeforeAppear(Ss){BI(xi,[Ss]),H8(Ss,he),H8(Ss,ne)},onEnter:Lo(!1),onAppear:Lo(!0),onLeave(Ss,Kc){Ss._isLeaving=!0;const Zl=()=>Ks(Ss,Kc);H8(Ss,He),RCt(),H8(Ss,Ye),L9t(()=>{Ss._isLeaving&&($T(Ss,He),H8(Ss,xt),M9t(ur)||I9t(Ss,D,Cn,Zl))}),BI(ur,[Ss,Zl])},onEnterCancelled(Ss){ns(Ss,!1),BI(Vn,[Ss])},onAppearCancelled(Ss){ns(Ss,!0),BI(jr,[Ss])},onLeaveCancelled(Ss){Ks(Ss),BI(ti,[Ss])}})}function EMn(g){if(g==null)return null;if(Ju(g))return[RNe(g.enter),RNe(g.leave)];{const w=RNe(g);return[w,w]}}function RNe(g){const w=FSn(g);return ACn(w,"<transition> explicit duration"),w}function H8(g,w){w.split(/\s+/).forEach(T=>T&&g.classList.add(T)),(g._vtc||(g._vtc=new Set)).add(w)}function $T(g,w){w.split(/\s+/).forEach(D=>D&&g.classList.remove(D));const{_vtc:T}=g;T&&(T.delete(w),T.size||(g._vtc=void 0))}function L9t(g){requestAnimationFrame(()=>{requestAnimationFrame(g)})}let TMn=0;function I9t(g,w,T,D){const H=g._endId=++TMn,U=()=>{H===g._endId&&D()};if(T)return setTimeout(U,T);const{type:Q,timeout:ie,propCount:he}=NCt(g,w);if(!Q)return D();const ne=Q+"end";let Be=0;const He=()=>{g.removeEventListener(ne,Ye),U()},Ye=xt=>{xt.target===g&&++Be>=he&&He()};setTimeout(()=>{Be<he&&He()},ie+1),g.addEventListener(ne,Ye)}function NCt(g,w){const T=window.getComputedStyle(g),D=ft=>(T[ft]||"").split(", "),H=D(`${FT}Delay`),U=D(`${FT}Duration`),Q=O9t(H,U),ie=D(`${xX}Delay`),he=D(`${xX}Duration`),ne=O9t(ie,he);let Be=null,He=0,Ye=0;w===FT?Q>0&&(Be=FT,He=Q,Ye=U.length):w===xX?ne>0&&(Be=xX,He=ne,Ye=he.length):(He=Math.max(Q,ne),Be=He>0?Q>ne?FT:xX:null,Ye=Be?Be===FT?U.length:he.length:0);const xt=Be===FT&&/\b(transform|all)(,|$)/.test(D(`${FT}Property`).toString());return{type:Be,timeout:He,propCount:Ye,hasTransform:xt}}function O9t(g,w){for(;g.length<w.length;)g=g.concat(g);return Math.max(...w.map((T,D)=>D9t(T)+D9t(g[D])))}function D9t(g){return Number(g.slice(0,-1).replace(",","."))*1e3}function RCt(){return document.body.offsetHeight}const BCt=new WeakMap,FCt=new WeakMap,jCt={name:"TransitionGroup",props:vd({},xMn,{tag:String,moveClass:String}),setup(g,{slots:w}){const T=hw(),D=lCt();let H,U;return Zme(()=>{if(!H.length)return;const Q=g.moveClass||`${g.name||"v"}-move`;if(!IMn(H[0].el,T.vnode.el,Q))return;H.forEach(AMn),H.forEach(MMn);const ie=H.filter(LMn);RCt(),ie.forEach(he=>{const ne=he.el,Be=ne.style;H8(ne,Q),Be.transform=Be.webkitTransform=Be.transitionDuration="";const He=ne._moveCb=Ye=>{Ye&&Ye.target!==ne||(!Ye||/transform$/.test(Ye.propertyName))&&(ne.removeEventListener("transitionend",He),ne._moveCb=null,$T(ne,Q))};ne.addEventListener("transitionend",He)})}),()=>{const Q=fc(g),ie=kMn(Q);let he=Q.tag||zu;H=U,U=w.default?wBe(w.default()):[];for(let ne=0;ne<U.length;ne++){const Be=U[ne];Be.key!=null?kF(Be,JX(Be,ie,D,T)):Di("<TransitionGroup> children must be keyed.")}if(H)for(let ne=0;ne<H.length;ne++){const Be=H[ne];kF(Be,JX(Be,ie,D,T)),BCt.set(Be,Be.el.getBoundingClientRect())}return Pa(he,null,U)}}},SMn=g=>delete g.mode;jCt.props;const CMn=jCt;function AMn(g){const w=g.el;w._moveCb&&w._moveCb(),w._enterCb&&w._enterCb()}function MMn(g){FCt.set(g,g.el.getBoundingClientRect())}function LMn(g){const w=BCt.get(g),T=FCt.get(g),D=w.left-T.left,H=w.top-T.top;if(D||H){const U=g.el.style;return U.transform=U.webkitTransform=`translate(${D}px,${H}px)`,U.transitionDuration="0s",g}}function IMn(g,w,T){const D=g.cloneNode();g._vtc&&g._vtc.forEach(Q=>{Q.split(/\s+/).forEach(ie=>ie&&D.classList.remove(ie))}),T.split(/\s+/).forEach(Q=>Q&&D.classList.add(Q)),D.style.display="none";const H=w.nodeType===1?w:w.parentNode;H.appendChild(D);const{hasTransform:U}=NCt(D);return H.removeChild(D),U}const P9t=g=>{const w=g.props["onUpdate:modelValue"]||!1;return to(w)?T=>qT(w,T):w};function OMn(g){g.target.composing=!0}function N9t(g){const w=g.target;w.composing&&(w.composing=!1,w.dispatchEvent(new Event("input")))}const DMn={created(g,{modifiers:{lazy:w,trim:T,number:D}},H){g._assign=P9t(H);const U=D||H.props&&H.props.type==="number";hF(g,w?"change":"input",Q=>{if(Q.target.composing)return;let ie=g.value;T&&(ie=ie.trim()),U&&(ie=sRe(ie)),g._assign(ie)}),T&&hF(g,"change",()=>{g.value=g.value.trim()}),w||(hF(g,"compositionstart",OMn),hF(g,"compositionend",N9t),hF(g,"change",N9t))},mounted(g,{value:w}){g.value=w??""},beforeUpdate(g,{value:w,modifiers:{lazy:T,trim:D,number:H}},U){if(g._assign=P9t(U),g.composing||document.activeElement===g&&g.type!=="range"&&(T||D&&g.value.trim()===w||(H||g.type==="number")&&sRe(g.value)===w))return;const Q=w??"";g.value!==Q&&(g.value=Q)}},PMn={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},R9t=(g,w)=>T=>{if(!("key"in T))return;const D=K8(T.key);if(w.some(H=>H===D||PMn[H]===D))return g(T)},$Ct={beforeMount(g,{value:w},{transition:T}){g._vod=g.style.display==="none"?"":g.style.display,T&&w?T.beforeEnter(g):kX(g,w)},mounted(g,{value:w},{transition:T}){T&&w&&T.enter(g)},updated(g,{value:w,oldValue:T},{transition:D}){!w!=!T&&(D?w?(D.beforeEnter(g),kX(g,!0),D.enter(g)):D.leave(g,()=>{kX(g,!1)}):kX(g,w))},beforeUnmount(g,{value:w}){kX(g,w)}};function kX(g,w){g.style.display=w?g._vod:"none"}const NMn=vd({patchProp:yMn},aMn);let B9t;function RMn(){return B9t||(B9t=PAn(NMn))}const BMn=(...g)=>{const w=RMn().createApp(...g);FMn(w),jMn(w);const{mount:T}=w;return w.mount=D=>{const H=$Mn(D);if(!H)return;const U=w._component;!ac(U)&&!U.render&&!U.template&&(U.template=H.innerHTML),H.innerHTML="";const Q=T(H,!1,H instanceof SVGElement);return H instanceof Element&&(H.removeAttribute("v-cloak"),H.setAttribute("data-v-app","")),Q},w};function FMn(g){Object.defineProperty(g.config,"isNativeTag",{value:w=>ySt(w)||MSn(w),writable:!1})}function jMn(g){{const w=g.config.isCustomElement;Object.defineProperty(g.config,"isCustomElement",{get(){return w},set(){Di("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const T=g.config.compilerOptions,D='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(g.config,"compilerOptions",{get(){return Di(D),T},set(){Di(D)}})}}function $Mn(g){if(hf(g)){const w=document.querySelector(g);return w||Di(`Failed to mount app: mount target selector "${g}" returned null.`),w}return window.ShadowRoot&&g instanceof window.ShadowRoot&&g.mode==="closed"&&Di('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),g}function HMn(){iMn()}HMn();function ERe(g,w={},T){for(const D in g){const H=g[D],U=T?`${T}:${D}`:D;typeof H=="object"&&H!==null?ERe(H,w,U):typeof H=="function"&&(w[U]=H)}return w}function zMn(g,w){return g.reduce((T,D)=>T.then(()=>D.apply(void 0,w)),Promise.resolve())}function VMn(g,w){return Promise.all(g.map(T=>T.apply(void 0,w)))}function BNe(g,w){for(const T of g)T(w)}class qMn{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(w,T,D={}){if(!w||typeof T!="function")return()=>{};const H=w;let U;for(;this._deprecatedHooks[w];)U=this._deprecatedHooks[w],w=U.to;if(U&&!D.allowDeprecated){let Q=U.message;Q||(Q=`${H} hook has been deprecated`+(U.to?`, please use ${U.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(Q)||(console.warn(Q),this._deprecatedMessages.add(Q))}return this._hooks[w]=this._hooks[w]||[],this._hooks[w].push(T),()=>{T&&(this.removeHook(w,T),T=void 0)}}hookOnce(w,T){let D,H=(...U)=>(typeof D=="function"&&D(),D=void 0,H=void 0,T(...U));return D=this.hook(w,H),D}removeHook(w,T){if(this._hooks[w]){const D=this._hooks[w].indexOf(T);D!==-1&&this._hooks[w].splice(D,1),this._hooks[w].length===0&&delete this._hooks[w]}}deprecateHook(w,T){this._deprecatedHooks[w]=typeof T=="string"?{to:T}:T;const D=this._hooks[w]||[];this._hooks[w]=void 0;for(const H of D)this.hook(w,H)}deprecateHooks(w){Object.assign(this._deprecatedHooks,w);for(const T in w)this.deprecateHook(T,w[T])}addHooks(w){const T=ERe(w),D=Object.keys(T).map(H=>this.hook(H,T[H]));return()=>{for(const H of D.splice(0,D.length))H()}}removeHooks(w){const T=ERe(w);for(const D in T)this.removeHook(D,T[D])}callHook(w,...T){return this.callHookWith(zMn,w,...T)}callHookParallel(w,...T){return this.callHookWith(VMn,w,...T)}callHookWith(w,T,...D){const H=this._before||this._after?{name:T,args:D,context:{}}:void 0;this._before&&BNe(this._before,H);const U=w(this._hooks[T]||[],D);return U instanceof Promise?U.finally(()=>{this._after&&H&&BNe(this._after,H)}):(this._after&&H&&BNe(this._after,H),U)}beforeEach(w){return this._before=this._before||[],this._before.push(w),()=>{const T=this._before.indexOf(w);T!==-1&&this._before.splice(T,1)}}afterEach(w){return this._after=this._after||[],this._after.push(w),()=>{const T=this._after.indexOf(w);T!==-1&&this._after.splice(T,1)}}}function UMn(){return new qMn}function GMn(g){return Array.isArray(g)?g:[g]}const HCt=["title","script","style","noscript"],SBe=["base","meta","link","style","script","noscript"],WMn=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],KMn=["base","title","titleTemplate","bodyAttrs","htmlAttrs"],YMn=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function zCt(g){let w=9;for(let T=0;T<g.length;)w=Math.imul(w^g.charCodeAt(T++),9**9);return((w^w>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Mme(g){return zCt(`${g.tag}:${g.textContent||g.innerHTML||""}:${Object.entries(g.props).map(([w,T])=>`${w}:${String(T)}`).join(",")}`)}function XMn(g){let w=9;for(const T of g)for(let D=0;D<T.length;)w=Math.imul(w^T.charCodeAt(D++),9**9);return((w^w>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function VCt(g,w){const{props:T,tag:D}=g;if(KMn.includes(D))return D;if(D==="link"&&T.rel==="canonical")return"canonical";if(T.charset)return"charset";const H=["id"];D==="meta"&&H.push("name","property","http-equiv");for(const U of H)if(typeof T[U]<"u"){const Q=String(T[U]);return w&&!w(Q)?!1:`${D}:${U}:${Q}`}return!1}const F9t=(g,w)=>g==null?w||null:typeof g=="function"?g(w):g,Zpe=(g,w=!1,T)=>{const{tag:D,$el:H}=g;H&&(Object.entries(D.props).forEach(([U,Q])=>{Q=String(Q);const ie=`attr:${U}`;if(U==="class"){if(!Q)return;for(const he of Q.split(" ")){const ne=`${ie}:${he}`;T&&T(g,ne,()=>H.classList.remove(he)),H.classList.contains(he)||H.classList.add(he)}return}T&&!U.startsWith("data-h-")&&T(g,ie,()=>H.removeAttribute(U)),(w||H.getAttribute(U)!==Q)&&H.setAttribute(U,Q)}),HCt.includes(D.tag)&&(D.textContent&&D.textContent!==H.textContent?H.textContent=D.textContent:D.innerHTML&&D.innerHTML!==H.innerHTML&&(H.innerHTML=D.innerHTML)))};let EX=!1;async function qCt(g,w={}){var Ye,xt;const T={shouldRender:!0};if(await g.hooks.callHook("dom:beforeRender",T),!T.shouldRender)return;const D=w.document||g.resolvedOptions.document||window.document,H=(await g.resolveTags()).map(ie);if(g.resolvedOptions.experimentalHashHydration&&(EX=EX||g._hash||!1,EX)){const ft=XMn(H.map(Jt=>Jt.tag._h));if(EX===ft)return;EX=ft}const U=g._popSideEffectQueue();g.headEntries().map(ft=>ft._sde).forEach(ft=>{Object.entries(ft).forEach(([Jt,Cn])=>{U[Jt]=Cn})});const Q=(ft,Jt,Cn)=>{Jt=`${ft.renderId}:${Jt}`,ft.entry&&(ft.entry._sde[Jt]=Cn),delete U[Jt]};function ie(ft){const Jt=g.headEntries().find(lr=>lr._i===ft._e),Cn={renderId:ft._d||Mme(ft),$el:null,shouldRender:!0,tag:ft,entry:Jt,markSideEffect:(lr,Dn)=>Q(Cn,lr,Dn)};return Cn}const he=[],ne={body:[],head:[]},Be=ft=>{g._elMap[ft.renderId]=ft.$el,he.push(ft),Q(ft,"el",()=>{var Jt;(Jt=ft.$el)==null||Jt.remove(),delete g._elMap[ft.renderId]})};for(const ft of H){if(await g.hooks.callHook("dom:beforeRenderTag",ft),!ft.shouldRender)continue;const{tag:Jt}=ft;if(Jt.tag==="title"){D.title=Jt.textContent||"",he.push(ft);continue}if(Jt.tag==="htmlAttrs"||Jt.tag==="bodyAttrs"){ft.$el=D[Jt.tag==="htmlAttrs"?"documentElement":"body"],Zpe(ft,!1,Q),he.push(ft);continue}if(ft.$el=g._elMap[ft.renderId],!ft.$el&&Jt.key&&(ft.$el=D.querySelector(`${(Ye=Jt.tagPosition)!=null&&Ye.startsWith("body")?"body":"head"} > ${Jt.tag}[data-h-${Jt._h}]`)),ft.$el){ft.tag._d&&Zpe(ft),Be(ft);continue}ne[(xt=Jt.tagPosition)!=null&&xt.startsWith("body")?"body":"head"].push(ft)}const He={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(ne).forEach(([ft,Jt])=>{var lr;if(!Jt.length)return;const Cn=(lr=D==null?void 0:D[ft])==null?void 0:lr.children;if(Cn){for(const Dn of[...Cn].reverse()){const Vn=Dn.tagName.toLowerCase();if(!SBe.includes(Vn))continue;const ur=Dn.getAttributeNames().reduce((jr,ns)=>({...jr,[ns]:Dn.getAttribute(ns)}),{}),ti={tag:Vn,props:ur};Dn.innerHTML&&(ti.innerHTML=Dn.innerHTML);const xi=Mme(ti);let gs=Jt.findIndex(jr=>(jr==null?void 0:jr.renderId)===xi);if(gs===-1){const jr=VCt(ti);gs=Jt.findIndex(ns=>(ns==null?void 0:ns.tag._d)&&ns.tag._d===jr)}if(gs!==-1){const jr=Jt[gs];jr.$el=Dn,Zpe(jr),Be(jr),delete Jt[gs]}}Jt.forEach(Dn=>{const Vn=Dn.tag.tagPosition||"head";He[Vn]=He[Vn]||D.createDocumentFragment(),Dn.$el||(Dn.$el=D.createElement(Dn.tag.tag),Zpe(Dn,!0)),He[Vn].appendChild(Dn.$el),Be(Dn)})}}),He.head&&D.head.appendChild(He.head),He.bodyOpen&&D.body.insertBefore(He.bodyOpen,D.body.firstChild),He.bodyClose&&D.body.appendChild(He.bodyClose);for(const ft of he)await g.hooks.callHook("dom:renderTag",ft);Object.values(U).forEach(ft=>ft())}let FNe=null;async function UCt(g,w={}){function T(){return FNe=null,qCt(g,w)}const D=w.delayFn||(H=>setTimeout(H,10));return FNe=FNe||new Promise(H=>D(()=>H(T())))}const QMn=g=>({hooks:{"entries:updated":function(w){if(typeof(g==null?void 0:g.document)>"u"&&typeof window>"u")return;let T=g==null?void 0:g.delayFn;!T&&typeof requestAnimationFrame<"u"&&(T=requestAnimationFrame),UCt(w,{document:(g==null?void 0:g.document)||window.document,delayFn:T})}}});function ZMn(g){var w;return((w=g==null?void 0:g.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:w.getAttribute("content"))||!1}const j9t={critical:2,high:9,low:12,base:-1,title:1,meta:10};function $9t(g){if(typeof g.tagPriority=="number")return g.tagPriority;if(g.tag==="meta"){if(g.props.charset)return-2;if(g.props["http-equiv"]==="content-security-policy")return 0}const w=g.tagPriority||g.tag;return w in j9t?j9t[w]:10}const JMn=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function eLn(){return{hooks:{"tags:resolve":g=>{const w=T=>{var D;return(D=g.tags.find(H=>H._d===T))==null?void 0:D._p};for(const{prefix:T,offset:D}of JMn)for(const H of g.tags.filter(U=>typeof U.tagPriority=="string"&&U.tagPriority.startsWith(T))){const U=w(H.tagPriority.replace(T,""));typeof U<"u"&&(H._p=U+D)}g.tags.sort((T,D)=>T._p-D._p).sort((T,D)=>$9t(T)-$9t(D))}}}}const tLn=()=>({hooks:{"tags:resolve":g=>{const{tags:w}=g;let T=w.findIndex(H=>H.tag==="titleTemplate");const D=w.findIndex(H=>H.tag==="title");if(D!==-1&&T!==-1){const H=F9t(w[T].textContent,w[D].textContent);H!==null?w[D].textContent=H||w[D].textContent:delete w[D]}else if(T!==-1){const H=F9t(w[T].textContent);H!==null&&(w[T].textContent=H,w[T].tag="title",T=-1)}T!==-1&&delete w[T],g.tags=w.filter(Boolean)}}}),nLn=()=>({hooks:{"tag:normalise":function({tag:g}){typeof g.props.body<"u"&&(g.tagPosition="bodyClose",delete g.props.body)}}}),GCt=typeof window<"u",rLn=()=>({hooks:{"tag:normalise":g=>{var U,Q;const{tag:w,entry:T,resolvedOptions:D}=g;D.experimentalHashHydration===!0&&(w._h=Mme(w));const H=typeof w.props._dynamic<"u";!SBe.includes(w.tag)||!w.key||GCt||(Q=(U=KCt())==null?void 0:U.resolvedOptions)!=null&&Q.document||(T._m==="server"||H)&&(w._h=w._h||Mme(w),w.props[`data-h-${w._h}`]="")},"tags:resolve":g=>{g.tags=g.tags.map(w=>(delete w.props._dynamic,w))}}}),H9t=["script","link","bodyAttrs"],iLn=()=>{const g=(w,T)=>{const D={},H={};Object.entries(T.props).forEach(([Q,ie])=>{Q.startsWith("on")&&typeof ie=="function"?H[Q]=ie:D[Q]=ie});let U;return w==="dom"&&T.tag==="script"&&typeof D.src=="string"&&typeof H.onload<"u"&&(U=D.src,delete D.src),{props:D,eventHandlers:H,delayedSrc:U}};return{hooks:{"ssr:render":function(w){w.tags=w.tags.map(T=>(!H9t.includes(T.tag)||!Object.entries(T.props).find(([D,H])=>D.startsWith("on")&&typeof H=="function")||(T.props=g("ssr",T).props),T))},"dom:beforeRenderTag":function(w){if(!H9t.includes(w.tag.tag)||!Object.entries(w.tag.props).find(([U,Q])=>U.startsWith("on")&&typeof Q=="function"))return;const{props:T,eventHandlers:D,delayedSrc:H}=g("dom",w.tag);Object.keys(D).length&&(w.tag.props=T,w.tag._eventHandlers=D,w.tag._delayedSrc=H)},"dom:renderTag":function(w){const T=w.$el;if(!w.tag._eventHandlers||!T)return;const D=w.tag.tag==="bodyAttrs"&&typeof window<"u"?window:T;Object.entries(w.tag._eventHandlers).forEach(([H,U])=>{const Q=`${w.tag._d||w.tag._p}:${H}`,ie=H.slice(2).toLowerCase(),he=`data-h-${ie}`;if(w.markSideEffect(Q,()=>{}),T.hasAttribute(he))return;const ne=U;T.setAttribute(he,""),D.addEventListener(ie,ne),w.entry&&(w.entry._sde[Q]=()=>{D.removeEventListener(ie,ne),T.removeAttribute(he)})}),w.tag._delayedSrc&&T.setAttribute("src",w.tag._delayedSrc)}}}},sLn=["templateParams","htmlAttrs","bodyAttrs"],aLn=g=>{g=g||{};const w=g.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:T}){w.forEach(H=>{T.props[H]&&(T.key=T.props[H],delete T.props[H])});const D=T.key?`${T.tag}:${T.key}`:VCt(T);D&&(T._d=D)},"tags:resolve":function(T){const D={};T.tags.forEach(U=>{const Q=U._d||U._p,ie=D[Q];if(ie){let he=U==null?void 0:U.tagDuplicateStrategy;if(!he&&sLn.includes(U.tag)&&(he="merge"),he==="merge"){const Be=ie.props;["class","style"].forEach(He=>{U.props[He]&&Be[He]&&(He==="style"&&!Be[He].endsWith(";")&&(Be[He]+=";"),U.props[He]=`${Be[He]} ${U.props[He]}`)}),D[Q].props={...Be,...U.props};return}else if(U._e===ie._e){ie._duped=ie._duped||[],U._d=`${ie._d}:${ie._duped.length+1}`,ie._duped.push(U);return}const ne=Object.keys(U.props).length;if((ne===0||ne===1&&typeof U.props["data-h-key"]<"u")&&!U.innerHTML&&!U.textContent){delete D[Q];return}}D[Q]=U});const H=[];Object.values(D).forEach(U=>{const Q=U._duped;delete U._duped,H.push(U),Q&&H.push(...Q)}),T.tags=H}}}};function jNe(g,w){const T=(H,U)=>{let Q;return U==="pageTitle"||U==="s"?Q=w.pageTitle:U.includes(".")?Q=U.split(".").reduce((ie,he)=>ie[he]||"",w):Q=w[U],Q||""};let D=g.replace(/%(\w+\.+\w+)/g,T).replace(/%(\w+)/g,T).trim();return w.separator&&(D.endsWith(w.separator)&&(D=D.slice(0,-w.separator.length).trim()),D.startsWith(w.separator)&&(D=D.slice(w.separator.length).trim()),D=D.replace(new RegExp(`\\${w.separator}\\s*\\${w.separator}`,"g"),w.separator)),D}function oLn(){return{hooks:{"tags:resolve":g=>{var U;const{tags:w}=g,T=(U=w.find(Q=>Q.tag==="title"))==null?void 0:U.textContent,D=w.findIndex(Q=>Q.tag==="templateParams"),H=D!==-1?w[D].textContent:{};H.pageTitle=H.pageTitle||T||"";for(const Q of w)if(["titleTemplate","title"].includes(Q.tag)&&typeof Q.textContent=="string")Q.textContent=jNe(Q.textContent,H);else if(Q.tag==="meta"&&typeof Q.props.content=="string")Q.props.content=jNe(Q.props.content,H);else if(Q.tag==="script"&&["application/json","application/ld+json"].includes(Q.props.type)&&typeof Q.innerHTML=="string")try{Q.innerHTML=JSON.stringify(JSON.parse(Q.innerHTML),(ie,he)=>typeof he=="string"?jNe(he,H):he)}catch{}g.tags=w.filter(Q=>Q.tag!=="templateParams")}}}}let WCt;const cLn=g=>WCt=g,KCt=()=>WCt;async function lLn(g,w){const T={tag:g,props:{}};return["title","titleTemplate","templateParams"].includes(g)?(T.textContent=w instanceof Promise?await w:w,T):typeof w=="string"?["script","noscript","style"].includes(g)?(g==="script"&&(/^(https?:)?\/\//.test(w)||w.startsWith("/"))?T.props.src=w:(T.innerHTML=w,T.key=zCt(w)),T):!1:(T.props=await hLn(g,{...w}),T.props.children&&(T.props.innerHTML=T.props.children),delete T.props.children,Object.keys(T.props).filter(D=>YMn.includes(D)).forEach(D=>{(!["innerHTML","textContent"].includes(D)||HCt.includes(T.tag))&&(T[D]=T.props[D]),delete T.props[D]}),["innerHTML","textContent"].forEach(D=>{if(T.tag==="script"&&typeof T[D]=="string"&&["application/ld+json","application/json"].includes(T.props.type))try{T[D]=JSON.parse(T[D])}catch{T[D]=""}typeof T[D]=="object"&&(T[D]=JSON.stringify(T[D]))}),T.props.class&&(T.props.class=uLn(T.props.class)),T.props.content&&Array.isArray(T.props.content)?T.props.content.map(D=>({...T,props:{...T.props,content:D}})):T)}function uLn(g){return typeof g=="object"&&!Array.isArray(g)&&(g=Object.keys(g).filter(w=>g[w])),(Array.isArray(g)?g.join(" "):g).split(" ").filter(w=>w.trim()).filter(Boolean).join(" ")}async function hLn(g,w){for(const T of Object.keys(w)){const D=T.startsWith("data-");w[T]instanceof Promise&&(w[T]=await w[T]),String(w[T])==="true"?w[T]=D?"true":"":String(w[T])==="false"&&(D?w[T]="false":delete w[T])}return w}const fLn=10;async function dLn(g){const w=[];return Object.entries(g.resolvedInput).filter(([T,D])=>typeof D<"u"&&WMn.includes(T)).forEach(([T,D])=>{const H=GMn(D);w.push(...H.map(U=>lLn(T,U)).flat())}),(await Promise.all(w)).flat().filter(Boolean).map((T,D)=>(T._e=g._i,T._p=(g._i<<fLn)+D,T))}const gLn=()=>[aLn(),eLn(),oLn(),tLn(),rLn(),iLn(),nLn()],pLn=(g={})=>[QMn({document:g==null?void 0:g.document,delayFn:g==null?void 0:g.domDelayFn})];function mLn(g={}){const w=vLn({...g,plugins:[...pLn(g),...(g==null?void 0:g.plugins)||[]]});return g.experimentalHashHydration&&w.resolvedOptions.document&&(w._hash=ZMn(w.resolvedOptions.document)),cLn(w),w}function vLn(g={}){let w=[],T={},D=0;const H=UMn();g!=null&&g.hooks&&H.addHooks(g.hooks),g.plugins=[...gLn(),...(g==null?void 0:g.plugins)||[]],g.plugins.forEach(ie=>ie.hooks&&H.addHooks(ie.hooks)),g.document=g.document||(GCt?document:void 0);const U=()=>H.callHook("entries:updated",Q),Q={resolvedOptions:g,headEntries(){return w},get hooks(){return H},use(ie){ie.hooks&&H.addHooks(ie.hooks)},push(ie,he){const ne={_i:D++,input:ie,_sde:{}};return he!=null&&he.mode&&(ne._m=he==null?void 0:he.mode),he!=null&&he.transform&&(ne._t=he==null?void 0:he.transform),w.push(ne),U(),{dispose(){w=w.filter(Be=>Be._i!==ne._i?!0:(T={...T,...Be._sde||{}},Be._sde={},U(),!1))},patch(Be){w=w.map(He=>(He._i===ne._i&&(ne.input=He.input=Be,U()),He))}}},async resolveTags(){const ie={tags:[],entries:[...w]};await H.callHook("entries:resolve",ie);for(const he of ie.entries){const ne=he._t||(Be=>Be);he.resolvedInput=ne(he.resolvedInput||he.input);for(const Be of await dLn(he)){const He={tag:Be,entry:he,resolvedOptions:Q.resolvedOptions};await H.callHook("tag:normalise",He),ie.tags.push(He.tag)}}return await H.callHook("tags:resolve",ie),ie.tags},_popSideEffectQueue(){const ie={...T};return T={},ie},_elMap:{}};return Q.hooks.callHook("init",Q),Q}function bLn(g){return typeof g=="function"?g():Hn(g)}function Lme(g,w=""){if(g instanceof Promise)return g;const T=bLn(g);if(!g||!T)return T;if(Array.isArray(T))return T.map(D=>Lme(D,w));if(typeof T=="object"){let D=!1;const H=Object.fromEntries(Object.entries(T).map(([U,Q])=>U==="titleTemplate"||U.startsWith("on")?[U,Hn(Q)]:((typeof Q=="function"||pu(Q))&&(D=!0),[U,Lme(Q,U)])));return D&&SBe.includes(String(w))&&(H._dynamic=!0),H}return T}const wLn=Ame.startsWith("3"),yLn=typeof window<"u",YCt="usehead";function CBe(){return hw()&&os(YCt)||KCt()}function _Ln(g){return{install(T){wLn&&(T.config.globalProperties.$unhead=g,T.config.globalProperties.$head=g,T.provide(YCt,g))}}.install}function xLn(g={}){const w=mLn({...g,domDelayFn:T=>setTimeout(()=>vp(()=>T()),10),plugins:[kLn(),...(g==null?void 0:g.plugins)||[]]});return w.install=_Ln(w),w}const kLn=()=>({hooks:{"entries:resolve":function(g){for(const w of g.entries)w.resolvedInput=Lme(w.input)}}});function ELn(g,w={}){const T=CBe(),D=Is(!1),H=Is({});X8(()=>{H.value=D.value?{}:Lme(g)});const U=T.push(H.value,w);return jc(H,ie=>{U.patch(ie)}),hw()&&(bQ(()=>{U.dispose()}),dCt(()=>{D.value=!0}),fCt(()=>{D.value=!1})),U}function TLn(g,w={}){return CBe().push(g,w)}function ABe(g,w={}){var D;const T=CBe();if(T){const H=yLn||!!((D=T.resolvedOptions)!=null&&D.document);return w.mode==="server"&&H||w.mode==="client"&&!H?void 0:H?ELn(g,w):TLn(g,w)}}const SLn=g=>ABe({htmlAttrs:g});function CLn(g,w){const T=xLn(w||{}),D={unhead:T,install(H){Ame.startsWith("3")&&(H.config.globalProperties.$head=T,H.provide("usehead",T))},use(H){T.use(H)},resolveTags(){return T.resolveTags()},headEntries(){return T.headEntries()},headTags(){return T.resolveTags()},push(H,U){return T.push(H,U)},addEntry(H,U){return T.push(H,U)},addHeadObjs(H,U){return T.push(H,U)},addReactiveEntry(H,U){const Q=ABe(H,U);return typeof Q<"u"?Q.dispose:()=>{}},removeHeadObjs(){},updateDOM(H,U){U?qCt(T,{document:H}):UCt(T,{delayFn:Q=>setTimeout(()=>Q(),50),document:H})},internalHooks:T.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return T.addHeadObjs=D.addHeadObjs,T.updateDOM=D.updateDOM,T.hooks.hook("dom:beforeRender",H=>{for(const U of D.hooks["before:dom"])U()===!1&&(H.shouldRender=!1)}),g&&D.addHeadObjs(g),D}const ume=Symbol("v-click-clicks"),fF=Symbol("v-click-clicks-elements"),TRe=Symbol("v-click-clicks-order-map"),hme=Symbol("v-click-clicks-disabled"),XCt=Symbol("slidev-slide-scale"),Os=Symbol("slidev-slidev-context"),ALn=Symbol("slidev-route"),MLn=Symbol("slidev-slide-context"),sF="slidev-vclick-target",$Ne="slidev-vclick-hidden",LLn="slidev-vclick-fade",HNe="slidev-vclick-hidden-explicitly",TX="slidev-vclick-current",Jpe="slidev-vclick-prior",ILn=["localhost","127.0.0.1"];let OLn=g=>crypto.getRandomValues(new Uint8Array(g)),DLn=(g,w,T)=>{let D=(2<<Math.log(g.length-1)/Math.LN2)-1,H=-~(1.6*D*w/g.length);return(U=w)=>{let Q="";for(;;){let ie=T(H),he=H;for(;he--;)if(Q+=g[ie[he]&D]||"",Q.length===U)return Q}}},PLn=(g,w=21)=>DLn(g,w,OLn),NLn=(g=21)=>crypto.getRandomValues(new Uint8Array(g)).reduce((w,T)=>(T&=63,T<36?w+=T.toString(36):T<62?w+=(T-26).toString(36).toUpperCase():T>62?w+="-":w+="_",w),"");function z9t(g,w){if(!g)return!1;const T=g.indexOf(w);return T>=0?(g.splice(T,1),!0):!1}function RLn(g){return g!=null}function BLn(g,w){return Object.fromEntries(Object.entries(g).map(([T,D])=>w(T,D)).filter(RLn))}function V9t(g){return Object.keys(g).forEach(w=>g[w]===void 0?delete g[w]:{}),g}const RX={theme:"academic",title:"Projet Long",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:"dev",download:!1,export:{},info:!1,highlighter:"prism",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},fonts:{sans:['"Montserrat"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:['"Roboto Slab"',"ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Roboto Mono"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Montserrat","Roboto Slab","Roboto Mono"],provider:"google",local:[],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,record:"dev",css:"windicss",presenter:!0,htmlAttrs:{},hightlighter:"prism",class:"text-white",coverBackgroundUrl:"https://plus.unsplash.com/premium_photo-1673553304257-018c85e606f8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8",coverBackgroundSource:"unplash",coverBackgroundSourceUrl:"https://unsplash.com/photos/g4I556WCJT0",coverDate:""},gu=RX,XT=gu.aspectRatio??16/9,QT=gu.canvasWidth??980,MBe=Math.ceil(QT/XT),LBe=Fr(()=>BLn(gu.themeConfig||{},(g,w)=>[`--slidev-theme-${g}`,w]));function v3(g,w,T){Object.defineProperty(g,w,{value:T,writable:!0,enumerable:!1})}const aO=Ef({page:0,clicks:0});let FLn=[],jLn=[];v3(aO,"$syncUp",!0);v3(aO,"$syncDown",!0);v3(aO,"$paused",!1);v3(aO,"$onSet",g=>FLn.push(g));v3(aO,"$onPatch",g=>jLn.push(g));v3(aO,"$patch",async()=>!1);function QCt(g,w,T=!1){const D=[];let H=!1,U=!1,Q,ie;const he=Ef(w);function ne(xt){D.push(xt)}function Be(xt,ft){he[xt]!==ft&&(clearTimeout(Q),H=!0,he[xt]=ft,Q=setTimeout(()=>H=!1,0))}function He(xt){H||(clearTimeout(ie),U=!0,Object.entries(xt).forEach(([ft,Jt])=>{he[ft]=Jt}),ie=setTimeout(()=>U=!1,0))}function Ye(xt){let ft;T?T&&window.addEventListener("storage",Cn=>{Cn&&Cn.key===xt&&Cn.newValue&&He(JSON.parse(Cn.newValue))}):(ft=new BroadcastChannel(xt),ft.addEventListener("message",Cn=>He(Cn.data)));function Jt(){!T&&ft&&!U?ft.postMessage(fc(he)):T&&!U&&window.localStorage.setItem(xt,JSON.stringify(he)),H||D.forEach(Cn=>Cn(he))}if(jc(he,Jt,{deep:!0}),T){const Cn=window.localStorage.getItem(xt);Cn&&He(JSON.parse(Cn))}}return{init:Ye,onPatch:ne,patch:Be,state:he}}const{init:$Ln,onPatch:HLn,patch:SX,state:zNe}=QCt(aO,{page:1,clicks:0,viewerPage:1,viewerClicks:0}),oO=Ef({});let zLn=[],VLn=[];v3(oO,"$syncUp",!0);v3(oO,"$syncDown",!0);v3(oO,"$paused",!1);v3(oO,"$onSet",g=>zLn.push(g));v3(oO,"$onPatch",g=>VLn.push(g));v3(oO,"$patch",async()=>!1);const{init:qLn,onPatch:ULn,patch:ZCt,state:Ime}=QCt(oO,{},!1),GLn="modulepreload",WLn=function(g){return"/projet-long/"+g},q9t={},ZT=function(w,T,D){if(!T||T.length===0)return w();const H=document.getElementsByTagName("link");return Promise.all(T.map(U=>{if(U=WLn(U),U in q9t)return;q9t[U]=!0;const Q=U.endsWith(".css"),ie=Q?'[rel="stylesheet"]':"";if(!!D)for(let Be=H.length-1;Be>=0;Be--){const He=H[Be];if(He.href===U&&(!Q||He.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${U}"]${ie}`))return;const ne=document.createElement("link");if(ne.rel=Q?"stylesheet":GLn,Q||(ne.as="script",ne.crossOrigin=""),ne.href=U,document.head.appendChild(ne),Q)return new Promise((Be,He)=>{ne.addEventListener("load",Be),ne.addEventListener("error",()=>He(new Error(`Unable to preload CSS for ${U}`)))})})).then(()=>w())};var U9t;const Q8=typeof window<"u",KLn=g=>typeof g<"u",YLn=Object.prototype.toString,rQ=g=>typeof g=="function",XLn=g=>typeof g=="number",JCt=g=>typeof g=="string",SRe=g=>YLn.call(g)==="[object Object]",CRe=()=>+Date.now(),yF=()=>{},QLn=Q8&&((U9t=window==null?void 0:window.navigator)==null?void 0:U9t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Nb(g){return typeof g=="function"?g():Hn(g)}function ZLn(g,w){function T(...D){return new Promise((H,U)=>{Promise.resolve(g(()=>w.apply(this,D),{fn:w,thisArg:this,args:D})).then(H).catch(U)})}return T}const eAt=g=>g();function JLn(g=eAt){const w=Is(!0);function T(){w.value=!1}function D(){w.value=!0}const H=(...U)=>{w.value&&g(...U)};return{isActive:G8(w),pause:T,resume:D,eventFilter:H}}function eIn(g){return g}function tIn(g,w){var T;if(typeof g=="number")return g+w;const D=((T=g.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:T[0])||"",H=g.slice(D.length),U=parseFloat(D)+w;return Number.isNaN(U)?g:U+H}function nIn(g,w){let T,D,H;const U=Is(!0),Q=()=>{U.value=!0,H()};jc(g,Q,{flush:"sync"});const ie=rQ(w)?w:w.get,he=rQ(w)?void 0:w.set,ne=USt((Be,He)=>(D=Be,H=He,{get(){return U.value&&(T=ie(),U.value=!1),D(),T},set(Ye){he==null||he(Ye)}}));return Object.isExtensible(ne)&&(ne.trigger=Q),ne}function Z8(g){return oBe()?(MSt(g),!0):!1}function rIn(g){if(!pu(g))return Ef(g);const w=new Proxy({},{get(T,D,H){return Hn(Reflect.get(g.value,D,H))},set(T,D,H){return pu(g.value[D])&&!pu(H)?g.value[D].value=H:g.value[D]=H,!0},deleteProperty(T,D){return Reflect.deleteProperty(g.value,D)},has(T,D){return Reflect.has(g.value,D)},ownKeys(){return Object.keys(g.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ef(w)}function tAt(g){return typeof g=="function"?Fr(g):Is(g)}var iIn=Object.defineProperty,sIn=Object.defineProperties,aIn=Object.getOwnPropertyDescriptors,G9t=Object.getOwnPropertySymbols,oIn=Object.prototype.hasOwnProperty,cIn=Object.prototype.propertyIsEnumerable,W9t=(g,w,T)=>w in g?iIn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,lIn=(g,w)=>{for(var T in w||(w={}))oIn.call(w,T)&&W9t(g,T,w[T]);if(G9t)for(var T of G9t(w))cIn.call(w,T)&&W9t(g,T,w[T]);return g},uIn=(g,w)=>sIn(g,aIn(w));function hIn(g){if(!pu(g))return wCn(g);const w=Array.isArray(g.value)?new Array(g.value.length):{};for(const T in g.value)w[T]=USt(()=>({get(){return g.value[T]},set(D){if(Array.isArray(g.value)){const H=[...g.value];H[T]=D,g.value=H}else{const H=uIn(lIn({},g.value),{[T]:D});Object.setPrototypeOf(H,g.value),g.value=H}}}));return w}function IBe(g,w=!0){hw()?MF(g):w?g():vp(g)}function fIn(g){hw()&&yBe(g)}function dIn(g,w=1e3,T={}){const{immediate:D=!0,immediateCallback:H=!1}=T;let U=null;const Q=Is(!1);function ie(){U&&(clearInterval(U),U=null)}function he(){Q.value=!1,ie()}function ne(){const Be=Nb(w);Be<=0||(Q.value=!0,H&&g(),ie(),U=setInterval(g,Be))}if(D&&Q8&&ne(),pu(w)||rQ(w)){const Be=jc(w,()=>{Q.value&&Q8&&ne()});Z8(Be)}return Z8(he),{isActive:Q,pause:he,resume:ne}}function nAt(g=!1,w={}){const{truthyValue:T=!0,falsyValue:D=!1}=w,H=pu(g),U=Is(g);function Q(ie){if(arguments.length)return U.value=ie,U.value;{const he=Nb(T);return U.value=U.value===he?Nb(D):he,U.value}}return H?Q:[U,Q]}var K9t=Object.getOwnPropertySymbols,gIn=Object.prototype.hasOwnProperty,pIn=Object.prototype.propertyIsEnumerable,mIn=(g,w)=>{var T={};for(var D in g)gIn.call(g,D)&&w.indexOf(D)<0&&(T[D]=g[D]);if(g!=null&&K9t)for(var D of K9t(g))w.indexOf(D)<0&&pIn.call(g,D)&&(T[D]=g[D]);return T};function vIn(g,w,T={}){const D=T,{eventFilter:H=eAt}=D,U=mIn(D,["eventFilter"]);return jc(g,ZLn(H,w),U)}var bIn=Object.defineProperty,wIn=Object.defineProperties,yIn=Object.getOwnPropertyDescriptors,Ome=Object.getOwnPropertySymbols,rAt=Object.prototype.hasOwnProperty,iAt=Object.prototype.propertyIsEnumerable,Y9t=(g,w,T)=>w in g?bIn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,_In=(g,w)=>{for(var T in w||(w={}))rAt.call(w,T)&&Y9t(g,T,w[T]);if(Ome)for(var T of Ome(w))iAt.call(w,T)&&Y9t(g,T,w[T]);return g},xIn=(g,w)=>wIn(g,yIn(w)),kIn=(g,w)=>{var T={};for(var D in g)rAt.call(g,D)&&w.indexOf(D)<0&&(T[D]=g[D]);if(g!=null&&Ome)for(var D of Ome(g))w.indexOf(D)<0&&iAt.call(g,D)&&(T[D]=g[D]);return T};function EIn(g,w,T={}){const D=T,{eventFilter:H}=D,U=kIn(D,["eventFilter"]),{eventFilter:Q,pause:ie,resume:he,isActive:ne}=JLn(H);return{stop:vIn(g,w,xIn(_In({},U),{eventFilter:Q})),pause:ie,resume:he,isActive:ne}}function cw(g){var w;const T=Nb(g);return(w=T==null?void 0:T.$el)!=null?w:T}const Pg=Q8?window:void 0,sAt=Q8?window.document:void 0;function dl(...g){let w,T,D,H;if(JCt(g[0])||Array.isArray(g[0])?([T,D,H]=g,w=Pg):[w,T,D,H]=g,!w)return yF;Array.isArray(T)||(T=[T]),Array.isArray(D)||(D=[D]);const U=[],Q=()=>{U.forEach(Be=>Be()),U.length=0},ie=(Be,He,Ye,xt)=>(Be.addEventListener(He,Ye,xt),()=>Be.removeEventListener(He,Ye,xt)),he=jc(()=>[cw(w),Nb(H)],([Be,He])=>{Q(),Be&&U.push(...T.flatMap(Ye=>D.map(xt=>ie(Be,Ye,xt,He))))},{immediate:!0,flush:"post"}),ne=()=>{he(),Q()};return Z8(ne),ne}let X9t=!1;function TIn(g,w,T={}){const{window:D=Pg,ignore:H=[],capture:U=!0,detectIframe:Q=!1}=T;if(!D)return;QLn&&!X9t&&(X9t=!0,Array.from(D.document.body.children).forEach(Ye=>Ye.addEventListener("click",yF)));let ie=!0;const he=Ye=>H.some(xt=>{if(typeof xt=="string")return Array.from(D.document.querySelectorAll(xt)).some(ft=>ft===Ye.target||Ye.composedPath().includes(ft));{const ft=cw(xt);return ft&&(Ye.target===ft||Ye.composedPath().includes(ft))}}),Be=[dl(D,"click",Ye=>{const xt=cw(g);if(!(!xt||xt===Ye.target||Ye.composedPath().includes(xt))){if(Ye.detail===0&&(ie=!he(Ye)),!ie){ie=!0;return}w(Ye)}},{passive:!0,capture:U}),dl(D,"pointerdown",Ye=>{const xt=cw(g);xt&&(ie=!Ye.composedPath().includes(xt)&&!he(Ye))},{passive:!0}),Q&&dl(D,"blur",Ye=>{var xt;const ft=cw(g);((xt=D.document.activeElement)==null?void 0:xt.tagName)==="IFRAME"&&!(ft!=null&&ft.contains(D.document.activeElement))&&w(Ye)})].filter(Boolean);return()=>Be.forEach(Ye=>Ye())}const SIn=g=>typeof g=="function"?g:typeof g=="string"?w=>w.key===g:Array.isArray(g)?w=>g.includes(w.key):()=>!0;function CIn(...g){let w,T,D={};g.length===3?(w=g[0],T=g[1],D=g[2]):g.length===2?typeof g[1]=="object"?(w=!0,T=g[0],D=g[1]):(w=g[0],T=g[1]):(w=!0,T=g[0]);const{target:H=Pg,eventName:U="keydown",passive:Q=!1}=D,ie=SIn(w);return dl(H,U,ne=>{ie(ne)&&T(ne)},Q)}function AIn(g={}){var w;const{window:T=Pg}=g,D=(w=g.document)!=null?w:T==null?void 0:T.document,H=nIn(()=>null,()=>D==null?void 0:D.activeElement);return T&&(dl(T,"blur",U=>{U.relatedTarget===null&&H.trigger()},!0),dl(T,"focus",H.trigger,!0)),H}function nve(g,w=!1){const T=Is(),D=()=>T.value=Boolean(g());return D(),IBe(D,w),T}function dF(g,w={}){const{window:T=Pg}=w,D=nve(()=>T&&"matchMedia"in T&&typeof T.matchMedia=="function");let H;const U=Is(!1),Q=()=>{H&&("removeEventListener"in H?H.removeEventListener("change",ie):H.removeListener(ie))},ie=()=>{D.value&&(Q(),H=T.matchMedia(tAt(g).value),U.value=H.matches,"addEventListener"in H?H.addEventListener("change",ie):H.addListener(ie))};return X8(ie),Z8(()=>Q()),U}const MIn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var LIn=Object.defineProperty,Q9t=Object.getOwnPropertySymbols,IIn=Object.prototype.hasOwnProperty,OIn=Object.prototype.propertyIsEnumerable,Z9t=(g,w,T)=>w in g?LIn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,DIn=(g,w)=>{for(var T in w||(w={}))IIn.call(w,T)&&Z9t(g,T,w[T]);if(Q9t)for(var T of Q9t(w))OIn.call(w,T)&&Z9t(g,T,w[T]);return g};function PIn(g,w={}){function T(ie,he){let ne=g[ie];return he!=null&&(ne=tIn(ne,he)),typeof ne=="number"&&(ne=`${ne}px`),ne}const{window:D=Pg}=w;function H(ie){return D?D.matchMedia(ie).matches:!1}const U=ie=>dF(`(min-width: ${T(ie)})`,w),Q=Object.keys(g).reduce((ie,he)=>(Object.defineProperty(ie,he,{get:()=>U(he),enumerable:!0,configurable:!0}),ie),{});return DIn({greater(ie){return dF(`(min-width: ${T(ie,.1)})`,w)},greaterOrEqual:U,smaller(ie){return dF(`(max-width: ${T(ie,-.1)})`,w)},smallerOrEqual(ie){return dF(`(max-width: ${T(ie)})`,w)},between(ie,he){return dF(`(min-width: ${T(ie)}) and (max-width: ${T(he,-.1)})`,w)},isGreater(ie){return H(`(min-width: ${T(ie,.1)})`)},isGreaterOrEqual(ie){return H(`(min-width: ${T(ie)})`)},isSmaller(ie){return H(`(max-width: ${T(ie,-.1)})`)},isSmallerOrEqual(ie){return H(`(max-width: ${T(ie)})`)},isInBetween(ie,he){return H(`(min-width: ${T(ie)}) and (max-width: ${T(he,-.1)})`)}},Q)}function NIn(g){return JSON.parse(JSON.stringify(g))}const ARe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},MRe="__vueuse_ssr_handlers__";ARe[MRe]=ARe[MRe]||{};const RIn=ARe[MRe];function BIn(g,w){return RIn[g]||w}function FIn(g){return g==null?"any":g instanceof Set?"set":g instanceof Map?"map":g instanceof Date?"date":typeof g=="boolean"?"boolean":typeof g=="string"?"string":typeof g=="object"?"object":Number.isNaN(g)?"any":"number"}var jIn=Object.defineProperty,J9t=Object.getOwnPropertySymbols,$In=Object.prototype.hasOwnProperty,HIn=Object.prototype.propertyIsEnumerable,eTt=(g,w,T)=>w in g?jIn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,tTt=(g,w)=>{for(var T in w||(w={}))$In.call(w,T)&&eTt(g,T,w[T]);if(J9t)for(var T of J9t(w))HIn.call(w,T)&&eTt(g,T,w[T]);return g};const zIn={boolean:{read:g=>g==="true",write:g=>String(g)},object:{read:g=>JSON.parse(g),write:g=>JSON.stringify(g)},number:{read:g=>Number.parseFloat(g),write:g=>String(g)},any:{read:g=>g,write:g=>String(g)},string:{read:g=>g,write:g=>String(g)},map:{read:g=>new Map(JSON.parse(g)),write:g=>JSON.stringify(Array.from(g.entries()))},set:{read:g=>new Set(JSON.parse(g)),write:g=>JSON.stringify(Array.from(g))},date:{read:g=>new Date(g),write:g=>g.toISOString()}},nTt="vueuse-storage";function VIn(g,w,T,D={}){var H;const{flush:U="pre",deep:Q=!0,listenToStorageChanges:ie=!0,writeDefaults:he=!0,mergeDefaults:ne=!1,shallow:Be,window:He=Pg,eventFilter:Ye,onError:xt=jr=>{console.error(jr)}}=D,ft=(Be?Z_:Is)(w);if(!T)try{T=BIn("getDefaultStorage",()=>{var jr;return(jr=Pg)==null?void 0:jr.localStorage})()}catch(jr){xt(jr)}if(!T)return ft;const Jt=Nb(w),Cn=FIn(Jt),lr=(H=D.serializer)!=null?H:zIn[Cn],{pause:Dn,resume:Vn}=EIn(ft,()=>ur(ft.value),{flush:U,deep:Q,eventFilter:Ye});return He&&ie&&(dl(He,"storage",gs),dl(He,nTt,xi)),gs(),ft;function ur(jr){try{if(jr==null)T.removeItem(g);else{const ns=lr.write(jr),Ks=T.getItem(g);Ks!==ns&&(T.setItem(g,ns),He&&He.dispatchEvent(new CustomEvent(nTt,{detail:{key:g,oldValue:Ks,newValue:ns,storageArea:T}})))}}catch(ns){xt(ns)}}function ti(jr){const ns=jr?jr.newValue:T.getItem(g);if(ns==null)return he&&Jt!==null&&T.setItem(g,lr.write(Jt)),Jt;if(!jr&&ne){const Ks=lr.read(ns);return rQ(ne)?ne(Ks,Jt):Cn==="object"&&!Array.isArray(Ks)?tTt(tTt({},Jt),Ks):Ks}else return typeof ns!="string"?ns:lr.read(ns)}function xi(jr){gs(jr.detail)}function gs(jr){if(!(jr&&jr.storageArea!==T)){if(jr&&jr.key==null){ft.value=Jt;return}if(!(jr&&jr.key!==g)){Dn();try{ft.value=ti(jr)}catch(ns){xt(ns)}finally{jr?vp(Vn):Vn()}}}}}function qIn(g){return dF("(prefers-color-scheme: dark)",g)}var UIn=Object.defineProperty,GIn=Object.defineProperties,WIn=Object.getOwnPropertyDescriptors,rTt=Object.getOwnPropertySymbols,KIn=Object.prototype.hasOwnProperty,YIn=Object.prototype.propertyIsEnumerable,iTt=(g,w,T)=>w in g?UIn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,XIn=(g,w)=>{for(var T in w||(w={}))KIn.call(w,T)&&iTt(g,T,w[T]);if(rTt)for(var T of rTt(w))YIn.call(w,T)&&iTt(g,T,w[T]);return g},QIn=(g,w)=>GIn(g,WIn(w));function mZn(g,w={}){var T,D,H;const U=(T=w.draggingElement)!=null?T:Pg,Q=(D=w.handle)!=null?D:g,ie=Is((H=Nb(w.initialValue))!=null?H:{x:0,y:0}),he=Is(),ne=ft=>w.pointerTypes?w.pointerTypes.includes(ft.pointerType):!0,Be=ft=>{Nb(w.preventDefault)&&ft.preventDefault(),Nb(w.stopPropagation)&&ft.stopPropagation()},He=ft=>{var Jt;if(!ne(ft)||Nb(w.exact)&&ft.target!==Nb(g))return;const Cn=Nb(g).getBoundingClientRect(),lr={x:ft.clientX-Cn.left,y:ft.clientY-Cn.top};((Jt=w.onStart)==null?void 0:Jt.call(w,lr,ft))!==!1&&(he.value=lr,Be(ft))},Ye=ft=>{var Jt;ne(ft)&&he.value&&(ie.value={x:ft.clientX-he.value.x,y:ft.clientY-he.value.y},(Jt=w.onMove)==null||Jt.call(w,ie.value,ft),Be(ft))},xt=ft=>{var Jt;ne(ft)&&he.value&&(he.value=void 0,(Jt=w.onEnd)==null||Jt.call(w,ie.value,ft),Be(ft))};return Q8&&(dl(Q,"pointerdown",He,!0),dl(U,"pointermove",Ye,!0),dl(U,"pointerup",xt,!0)),QIn(XIn({},hIn(ie)),{position:ie,isDragging:Fr(()=>!!he.value),style:Fr(()=>`left:${ie.value.x}px;top:${ie.value.y}px;`)})}var sTt=Object.getOwnPropertySymbols,ZIn=Object.prototype.hasOwnProperty,JIn=Object.prototype.propertyIsEnumerable,eOn=(g,w)=>{var T={};for(var D in g)ZIn.call(g,D)&&w.indexOf(D)<0&&(T[D]=g[D]);if(g!=null&&sTt)for(var D of sTt(g))w.indexOf(D)<0&&JIn.call(g,D)&&(T[D]=g[D]);return T};function tOn(g,w,T={}){const D=T,{window:H=Pg}=D,U=eOn(D,["window"]);let Q;const ie=nve(()=>H&&"ResizeObserver"in H),he=()=>{Q&&(Q.disconnect(),Q=void 0)},ne=jc(()=>cw(g),He=>{he(),ie.value&&H&&He&&(Q=new ResizeObserver(w),Q.observe(He,U))},{immediate:!0,flush:"post"}),Be=()=>{he(),ne()};return Z8(Be),{isSupported:ie,stop:Be}}function nOn(g,w={}){const{immediate:T=!0,window:D=Pg}=w,H=Is(!1);let U=0,Q=null;function ie(Be){if(!H.value||!D)return;const He=Be-U;g({delta:He,timestamp:Be}),U=Be,Q=D.requestAnimationFrame(ie)}function he(){!H.value&&D&&(H.value=!0,Q=D.requestAnimationFrame(ie))}function ne(){H.value=!1,Q!=null&&D&&(D.cancelAnimationFrame(Q),Q=null)}return T&&he(),Z8(ne),{isActive:G8(H),pause:ne,resume:he}}function rOn(g,w={width:0,height:0},T={}){const{window:D=Pg,box:H="content-box"}=T,U=Fr(()=>{var he,ne;return(ne=(he=cw(g))==null?void 0:he.namespaceURI)==null?void 0:ne.includes("svg")}),Q=Is(w.width),ie=Is(w.height);return tOn(g,([he])=>{const ne=H==="border-box"?he.borderBoxSize:H==="content-box"?he.contentBoxSize:he.devicePixelContentBoxSize;if(D&&U.value){const Be=cw(g);if(Be){const He=D.getComputedStyle(Be);Q.value=parseFloat(He.width),ie.value=parseFloat(He.height)}}else if(ne){const Be=Array.isArray(ne)?ne:[ne];Q.value=Be.reduce((He,{inlineSize:Ye})=>He+Ye,0),ie.value=Be.reduce((He,{blockSize:Ye})=>He+Ye,0)}else Q.value=he.contentRect.width,ie.value=he.contentRect.height},T),jc(()=>cw(g),he=>{Q.value=he?w.width:0,ie.value=he?w.height:0}),{width:Q,height:ie}}const aTt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function iOn(g,w={}){const{document:T=sAt,autoExit:D=!1}=w,H=g||(T==null?void 0:T.querySelector("html")),U=Is(!1);let Q=aTt[0];const ie=nve(()=>{if(T){for(const Jt of aTt)if(Jt[1]in T)return Q=Jt,!0}else return!1;return!1}),[he,ne,Be,,He]=Q;async function Ye(){ie.value&&(T!=null&&T[Be]&&await T[ne](),U.value=!1)}async function xt(){if(!ie.value)return;await Ye();const Jt=cw(H);Jt&&(await Jt[he](),U.value=!0)}async function ft(){U.value?await Ye():await xt()}return T&&dl(T,He,()=>{U.value=!!(T!=null&&T[Be])},!1),D&&Z8(Ye),{isSupported:ie,isFullscreen:U,enter:xt,exit:Ye,toggle:ft}}function sOn(g,w,T={}){const{root:D,rootMargin:H="0px",threshold:U=.1,window:Q=Pg}=T,ie=nve(()=>Q&&"IntersectionObserver"in Q);let he=yF;const ne=ie.value?jc(()=>({el:cw(g),root:cw(D)}),({el:He,root:Ye})=>{if(he(),!He)return;const xt=new IntersectionObserver(w,{root:Ye,rootMargin:H,threshold:U});xt.observe(He),he=()=>{xt.disconnect(),he=yF}},{immediate:!0,flush:"post"}):yF,Be=()=>{he(),ne()};return Z8(Be),{isSupported:ie,stop:Be}}function R5(g,w,T={}){const{window:D=Pg}=T;return VIn(g,w,D==null?void 0:D.localStorage,T)}const aOn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function oOn(g={}){const{reactive:w=!1,target:T=Pg,aliasMap:D=aOn,passive:H=!0,onEventFired:U=yF}=g,Q=Ef(new Set),ie={toJSON(){return{}},current:Q},he=w?Ef(ie):ie,ne=new Set,Be=new Set;function He(Jt,Cn){Jt in he&&(w?he[Jt]=Cn:he[Jt].value=Cn)}function Ye(){Q.clear();for(const Jt of Be)He(Jt,!1)}function xt(Jt,Cn){var lr,Dn;const Vn=(lr=Jt.key)==null?void 0:lr.toLowerCase(),ti=[(Dn=Jt.code)==null?void 0:Dn.toLowerCase(),Vn].filter(Boolean);Vn&&(Cn?Q.add(Vn):Q.delete(Vn));for(const xi of ti)Be.add(xi),He(xi,Cn);Vn==="meta"&&!Cn?(ne.forEach(xi=>{Q.delete(xi),He(xi,!1)}),ne.clear()):typeof Jt.getModifierState=="function"&&Jt.getModifierState("Meta")&&Cn&&[...Q,...ti].forEach(xi=>ne.add(xi))}dl(T,"keydown",Jt=>(xt(Jt,!0),U(Jt)),{passive:H}),dl(T,"keyup",Jt=>(xt(Jt,!1),U(Jt)),{passive:H}),dl("blur",Ye,{passive:!0}),dl("focus",Ye,{passive:!0});const ft=new Proxy(he,{get(Jt,Cn,lr){if(typeof Cn!="string")return Reflect.get(Jt,Cn,lr);if(Cn=Cn.toLowerCase(),Cn in D&&(Cn=D[Cn]),!(Cn in he))if(/[+_-]/.test(Cn)){const Vn=Cn.split(/[+_-]/g).map(ur=>ur.trim());he[Cn]=Fr(()=>Vn.every(ur=>Hn(ft[ur])))}else he[Cn]=Is(!1);const Dn=Reflect.get(Jt,Cn,lr);return w?Hn(Dn):Dn}});return ft}function vZn(g={}){const{type:w="page",touch:T=!0,resetOnTouchEnds:D=!1,initialValue:H={x:0,y:0},window:U=Pg,eventFilter:Q}=g,ie=Is(H.x),he=Is(H.y),ne=Is(null),Be=Jt=>{w==="page"?(ie.value=Jt.pageX,he.value=Jt.pageY):w==="client"?(ie.value=Jt.clientX,he.value=Jt.clientY):w==="movement"&&(ie.value=Jt.movementX,he.value=Jt.movementY),ne.value="mouse"},He=()=>{ie.value=H.x,he.value=H.y},Ye=Jt=>{if(Jt.touches.length>0){const Cn=Jt.touches[0];w==="page"?(ie.value=Cn.pageX,he.value=Cn.pageY):w==="client"&&(ie.value=Cn.clientX,he.value=Cn.clientY),ne.value="touch"}},xt=Jt=>Q===void 0?Be(Jt):Q(()=>Be(Jt),{}),ft=Jt=>Q===void 0?Ye(Jt):Q(()=>Ye(Jt),{});return U&&(dl(U,"mousemove",xt,{passive:!0}),dl(U,"dragover",xt,{passive:!0}),T&&w!=="movement"&&(dl(U,"touchstart",ft,{passive:!0}),dl(U,"touchmove",ft,{passive:!0}),D&&dl(U,"touchend",He,{passive:!0}))),{x:ie,y:he,sourceType:ne}}var U8;(function(g){g.UP="UP",g.RIGHT="RIGHT",g.DOWN="DOWN",g.LEFT="LEFT",g.NONE="NONE"})(U8||(U8={}));function cOn(g,w={}){const T=tAt(g),{threshold:D=50,onSwipe:H,onSwipeEnd:U,onSwipeStart:Q}=w,ie=Ef({x:0,y:0}),he=(xi,gs)=>{ie.x=xi,ie.y=gs},ne=Ef({x:0,y:0}),Be=(xi,gs)=>{ne.x=xi,ne.y=gs},He=Fr(()=>ie.x-ne.x),Ye=Fr(()=>ie.y-ne.y),{max:xt,abs:ft}=Math,Jt=Fr(()=>xt(ft(He.value),ft(Ye.value))>=D),Cn=Is(!1),lr=Is(!1),Dn=Fr(()=>Jt.value?ft(He.value)>ft(Ye.value)?He.value>0?U8.LEFT:U8.RIGHT:Ye.value>0?U8.UP:U8.DOWN:U8.NONE),Vn=xi=>{var gs,jr,ns;const Ks=xi.buttons===0,Lo=xi.buttons===1;return(ns=(jr=(gs=w.pointerTypes)==null?void 0:gs.includes(xi.pointerType))!=null?jr:Ks||Lo)!=null?ns:!0},ur=[dl(g,"pointerdown",xi=>{var gs,jr;if(!Vn(xi))return;lr.value=!0,(jr=(gs=T.value)==null?void 0:gs.style)==null||jr.setProperty("touch-action","none");const ns=xi.target;ns==null||ns.setPointerCapture(xi.pointerId);const{clientX:Ks,clientY:Lo}=xi;he(Ks,Lo),Be(Ks,Lo),Q==null||Q(xi)}),dl(g,"pointermove",xi=>{if(!Vn(xi)||!lr.value)return;const{clientX:gs,clientY:jr}=xi;Be(gs,jr),!Cn.value&&Jt.value&&(Cn.value=!0),Cn.value&&(H==null||H(xi))}),dl(g,"pointerup",xi=>{var gs,jr;Vn(xi)&&(Cn.value&&(U==null||U(xi,Dn.value)),lr.value=!1,Cn.value=!1,(jr=(gs=T.value)==null?void 0:gs.style)==null||jr.setProperty("touch-action","initial"))})],ti=()=>ur.forEach(xi=>xi());return{isSwiping:G8(Cn),direction:G8(Dn),posStart:G8(ie),posEnd:G8(ne),distanceX:He,distanceY:Ye,stop:ti}}let lOn=0;function bZn(g,w={}){const T=Is(!1),{document:D=sAt,immediate:H=!0,manual:U=!1,id:Q=`vueuse_styletag_${++lOn}`}=w,ie=Is(g);let he=()=>{};const ne=()=>{if(!D)return;const He=D.getElementById(Q)||D.createElement("style");He.isConnected||(He.type="text/css",He.id=Q,w.media&&(He.media=w.media),D.head.appendChild(He)),!T.value&&(he=jc(ie,Ye=>{He.textContent=Ye},{immediate:!0}),T.value=!0)},Be=()=>{!D||!T.value||(he(),D.head.removeChild(D.getElementById(Q)),T.value=!1)};return H&&!U&&IBe(ne),U||Z8(Be),{id:Q,css:ie,unload:Be,load:ne,isLoaded:G8(T)}}var uOn=Object.defineProperty,oTt=Object.getOwnPropertySymbols,hOn=Object.prototype.hasOwnProperty,fOn=Object.prototype.propertyIsEnumerable,cTt=(g,w,T)=>w in g?uOn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,dOn=(g,w)=>{for(var T in w||(w={}))hOn.call(w,T)&&cTt(g,T,w[T]);if(oTt)for(var T of oTt(w))fOn.call(w,T)&&cTt(g,T,w[T]);return g};function wZn(g={}){const{controls:w=!1,offset:T=0,immediate:D=!0,interval:H="requestAnimationFrame",callback:U}=g,Q=Is(CRe()+T),ie=()=>Q.value=CRe()+T,he=U?()=>{ie(),U(Q.value)}:ie,ne=H==="requestAnimationFrame"?nOn(he,{immediate:D}):dIn(he,H,{immediate:D});return w?dOn({timestamp:Q},ne):Q}var gOn=Object.defineProperty,lTt=Object.getOwnPropertySymbols,pOn=Object.prototype.hasOwnProperty,mOn=Object.prototype.propertyIsEnumerable,uTt=(g,w,T)=>w in g?gOn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,vOn=(g,w)=>{for(var T in w||(w={}))pOn.call(w,T)&&uTt(g,T,w[T]);if(lTt)for(var T of lTt(w))mOn.call(w,T)&&uTt(g,T,w[T]);return g};const bOn={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};vOn({linear:eIn},bOn);function Y_(g,w,T,D={}){var H,U,Q;const{clone:ie=!1,passive:he=!1,eventName:ne,deep:Be=!1,defaultValue:He}=D,Ye=hw(),xt=T||(Ye==null?void 0:Ye.emit)||((H=Ye==null?void 0:Ye.$emit)==null?void 0:H.bind(Ye))||((Q=(U=Ye==null?void 0:Ye.proxy)==null?void 0:U.$emit)==null?void 0:Q.bind(Ye==null?void 0:Ye.proxy));let ft=ne;w||(w="modelValue"),ft=ne||ft||`update:${w.toString()}`;const Jt=lr=>ie?rQ(ie)?ie(lr):NIn(lr):lr,Cn=()=>KLn(g[w])?Jt(g[w]):He;if(he){const lr=Cn(),Dn=Is(lr);return jc(()=>g[w],Vn=>Dn.value=Jt(Vn)),jc(Dn,Vn=>{(Vn!==g[w]||Be)&&xt(ft,Vn)},{deep:Be}),Dn}else return Fr({get(){return Cn()},set(lr){xt(ft,lr)}})}function yZn({window:g=Pg}={}){if(!g)return Is(!1);const w=Is(g.document.hasFocus());return dl(g,"blur",()=>{w.value=!1}),dl(g,"focus",()=>{w.value=!0}),w}function wOn(g={}){const{window:w=Pg,initialWidth:T=1/0,initialHeight:D=1/0,listenOrientation:H=!0,includeScrollbar:U=!0}=g,Q=Is(T),ie=Is(D),he=()=>{w&&(U?(Q.value=w.innerWidth,ie.value=w.innerHeight):(Q.value=w.document.documentElement.clientWidth,ie.value=w.document.documentElement.clientHeight))};return he(),IBe(he),dl("resize",he,{passive:!0}),H&&dl("orientationchange",he,{passive:!0}),{width:Q,height:ie}}function yOn(){return aAt().__VUE_DEVTOOLS_GLOBAL_HOOK__}function aAt(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const _On=typeof Proxy=="function",xOn="devtools-plugin:setup",kOn="plugin:settings:set";let aF,LRe;function EOn(){var g;return aF!==void 0||(typeof window<"u"&&window.performance?(aF=!0,LRe=window.performance):typeof global<"u"&&(!((g=global.perf_hooks)===null||g===void 0)&&g.performance)?(aF=!0,LRe=global.perf_hooks.performance):aF=!1),aF}function TOn(){return EOn()?LRe.now():Date.now()}class SOn{constructor(w,T){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=w,this.hook=T;const D={};if(w.settings)for(const Q in w.settings){const ie=w.settings[Q];D[Q]=ie.defaultValue}const H=`__vue-devtools-plugin-settings__${w.id}`;let U=Object.assign({},D);try{const Q=localStorage.getItem(H),ie=JSON.parse(Q);Object.assign(U,ie)}catch{}this.fallbacks={getSettings(){return U},setSettings(Q){try{localStorage.setItem(H,JSON.stringify(Q))}catch{}U=Q},now(){return TOn()}},T&&T.on(kOn,(Q,ie)=>{Q===this.plugin.id&&this.fallbacks.setSettings(ie)}),this.proxiedOn=new Proxy({},{get:(Q,ie)=>this.target?this.target.on[ie]:(...he)=>{this.onQueue.push({method:ie,args:he})}}),this.proxiedTarget=new Proxy({},{get:(Q,ie)=>this.target?this.target[ie]:ie==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(ie)?(...he)=>(this.targetQueue.push({method:ie,args:he,resolve:()=>{}}),this.fallbacks[ie](...he)):(...he)=>new Promise(ne=>{this.targetQueue.push({method:ie,args:he,resolve:ne})})})}async setRealTarget(w){this.target=w;for(const T of this.onQueue)this.target.on[T.method](...T.args);for(const T of this.targetQueue)T.resolve(await this.target[T.method](...T.args))}}function COn(g,w){const T=g,D=aAt(),H=yOn(),U=_On&&T.enableEarlyProxy;if(H&&(D.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!U))H.emit(xOn,g,w);else{const Q=U?new SOn(T,H):null;(D.__VUE_DEVTOOLS_PLUGINS__=D.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:T,setupFn:w,proxy:Q}),Q&&w(Q.proxiedTarget)}}/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const V8=typeof window<"u";function AOn(g){return g.__esModule||g[Symbol.toStringTag]==="Module"}const Zu=Object.assign;function VNe(g,w){const T={};for(const D in w){const H=w[D];T[D]=uw(H)?H.map(g):g(H)}return T}const HX=()=>{},uw=Array.isArray;function ou(g){const w=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+g].concat(w))}const MOn=/\/$/,LOn=g=>g.replace(MOn,"");function qNe(g,w,T="/"){let D,H={},U="",Q="";const ie=w.indexOf("#");let he=w.indexOf("?");return ie<he&&ie>=0&&(he=-1),he>-1&&(D=w.slice(0,he),U=w.slice(he+1,ie>-1?ie:w.length),H=g(U)),ie>-1&&(D=D||w.slice(0,ie),Q=w.slice(ie,w.length)),D=DOn(D??w,T),{fullPath:D+(U&&"?")+U+Q,path:D,query:H,hash:Q}}function IOn(g,w){const T=w.query?g(w.query):"";return w.path+(T&&"?")+T+(w.hash||"")}function hTt(g,w){return!w||!g.toLowerCase().startsWith(w.toLowerCase())?g:g.slice(w.length)||"/"}function fTt(g,w,T){const D=w.matched.length-1,H=T.matched.length-1;return D>-1&&D===H&&sS(w.matched[D],T.matched[H])&&oAt(w.params,T.params)&&g(w.query)===g(T.query)&&w.hash===T.hash}function sS(g,w){return(g.aliasOf||g)===(w.aliasOf||w)}function oAt(g,w){if(Object.keys(g).length!==Object.keys(w).length)return!1;for(const T in g)if(!OOn(g[T],w[T]))return!1;return!0}function OOn(g,w){return uw(g)?dTt(g,w):uw(w)?dTt(w,g):g===w}function dTt(g,w){return uw(w)?g.length===w.length&&g.every((T,D)=>T===w[D]):g.length===1&&g[0]===w}function DOn(g,w){if(g.startsWith("/"))return g;if(!w.startsWith("/"))return ou(`Cannot resolve a relative location without an absolute path. Trying to resolve "${g}" from "${w}". It should look like "/${w}".`),g;if(!g)return w;const T=w.split("/"),D=g.split("/");let H=T.length-1,U,Q;for(U=0;U<D.length;U++)if(Q=D[U],Q!==".")if(Q==="..")H>1&&H--;else break;return T.slice(0,H).join("/")+"/"+D.slice(U-(U===D.length?1:0)).join("/")}var iQ;(function(g){g.pop="pop",g.push="push"})(iQ||(iQ={}));var zX;(function(g){g.back="back",g.forward="forward",g.unknown=""})(zX||(zX={}));function POn(g){if(!g)if(V8){const w=document.querySelector("base");g=w&&w.getAttribute("href")||"/",g=g.replace(/^\w+:\/\/[^\/]+/,"")}else g="/";return g[0]!=="/"&&g[0]!=="#"&&(g="/"+g),LOn(g)}const NOn=/^[^#]+#/;function ROn(g,w){return g.replace(NOn,"#")+w}function BOn(g,w){const T=document.documentElement.getBoundingClientRect(),D=g.getBoundingClientRect();return{behavior:w.behavior,left:D.left-T.left-(w.left||0),top:D.top-T.top-(w.top||0)}}const rve=()=>({left:window.pageXOffset,top:window.pageYOffset});function FOn(g){let w;if("el"in g){const T=g.el,D=typeof T=="string"&&T.startsWith("#");if(typeof g.el=="string"&&(!D||!document.getElementById(g.el.slice(1))))try{const U=document.querySelector(g.el);if(D&&U){ou(`The selector "${g.el}" should be passed as "el: document.querySelector('${g.el}')" because it starts with "#".`);return}}catch{ou(`The selector "${g.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const H=typeof T=="string"?D?document.getElementById(T.slice(1)):document.querySelector(T):T;if(!H){ou(`Couldn't find element using selector "${g.el}" returned by scrollBehavior.`);return}w=BOn(H,g)}else w=g;"scrollBehavior"in document.documentElement.style?window.scrollTo(w):window.scrollTo(w.left!=null?w.left:window.pageXOffset,w.top!=null?w.top:window.pageYOffset)}function gTt(g,w){return(history.state?history.state.position-w:-1)+g}const IRe=new Map;function jOn(g,w){IRe.set(g,w)}function $On(g){const w=IRe.get(g);return IRe.delete(g),w}let HOn=()=>location.protocol+"//"+location.host;function cAt(g,w){const{pathname:T,search:D,hash:H}=w,U=g.indexOf("#");if(U>-1){let ie=H.includes(g.slice(U))?g.slice(U).length:1,he=H.slice(ie);return he[0]!=="/"&&(he="/"+he),hTt(he,"")}return hTt(T,g)+D+H}function zOn(g,w,T,D){let H=[],U=[],Q=null;const ie=({state:Ye})=>{const xt=cAt(g,location),ft=T.value,Jt=w.value;let Cn=0;if(Ye){if(T.value=xt,w.value=Ye,Q&&Q===ft){Q=null;return}Cn=Jt?Ye.position-Jt.position:0}else D(xt);H.forEach(lr=>{lr(T.value,ft,{delta:Cn,type:iQ.pop,direction:Cn?Cn>0?zX.forward:zX.back:zX.unknown})})};function he(){Q=T.value}function ne(Ye){H.push(Ye);const xt=()=>{const ft=H.indexOf(Ye);ft>-1&&H.splice(ft,1)};return U.push(xt),xt}function Be(){const{history:Ye}=window;Ye.state&&Ye.replaceState(Zu({},Ye.state,{scroll:rve()}),"")}function He(){for(const Ye of U)Ye();U=[],window.removeEventListener("popstate",ie),window.removeEventListener("beforeunload",Be)}return window.addEventListener("popstate",ie),window.addEventListener("beforeunload",Be),{pauseListeners:he,listen:ne,destroy:He}}function pTt(g,w,T,D=!1,H=!1){return{back:g,current:w,forward:T,replaced:D,position:window.history.length,scroll:H?rve():null}}function VOn(g){const{history:w,location:T}=window,D={value:cAt(g,T)},H={value:w.state};H.value||U(D.value,{back:null,current:D.value,forward:null,position:w.length-1,replaced:!0,scroll:null},!0);function U(he,ne,Be){const He=g.indexOf("#"),Ye=He>-1?(T.host&&document.querySelector("base")?g:g.slice(He))+he:HOn()+g+he;try{w[Be?"replaceState":"pushState"](ne,"",Ye),H.value=ne}catch(xt){ou("Error with push/replace State",xt),T[Be?"replace":"assign"](Ye)}}function Q(he,ne){const Be=Zu({},w.state,pTt(H.value.back,he,H.value.forward,!0),ne,{position:H.value.position});U(he,Be,!0),D.value=he}function ie(he,ne){const Be=Zu({},H.value,w.state,{forward:he,scroll:rve()});w.state||ou(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
history.replaceState(history.state, '', url)
You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`),U(Be.current,Be,!0);const He=Zu({},pTt(D.value,he,null),{position:Be.position+1},ne);U(he,He,!1),D.value=he}return{location:D,state:H,push:ie,replace:Q}}function qOn(g){g=POn(g);const w=VOn(g),T=zOn(g,w.state,w.location,w.replace);function D(U,Q=!0){Q||T.pauseListeners(),history.go(U)}const H=Zu({location:"",base:g,go:D,createHref:ROn.bind(null,g)},w,T);return Object.defineProperty(H,"location",{enumerable:!0,get:()=>w.location.value}),Object.defineProperty(H,"state",{enumerable:!0,get:()=>w.state.value}),H}function UOn(g){return typeof g=="string"||g&&typeof g=="object"}function lAt(g){return typeof g=="string"||typeof g=="symbol"}const jT={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},uAt=Symbol("navigation failure");var mTt;(function(g){g[g.aborted=4]="aborted",g[g.cancelled=8]="cancelled",g[g.duplicated=16]="duplicated"})(mTt||(mTt={}));const GOn={[1]({location:g,currentLocation:w}){return`No match for
${JSON.stringify(g)}${w?`
while being at
`+JSON.stringify(w):""}`},[2]({from:g,to:w}){return`Redirected from "${g.fullPath}" to "${KOn(w)}" via a navigation guard.`},[4]({from:g,to:w}){return`Navigation aborted from "${g.fullPath}" to "${w.fullPath}" via a navigation guard.`},[8]({from:g,to:w}){return`Navigation cancelled from "${g.fullPath}" to "${w.fullPath}" with a new navigation.`},[16]({from:g,to:w}){return`Avoided redundant navigation to current location: "${g.fullPath}".`}};function SF(g,w){return Zu(new Error(GOn[g](w)),{type:g,[uAt]:!0},w)}function F8(g,w){return g instanceof Error&&uAt in g&&(w==null||!!(g.type&w))}const WOn=["params","query","hash"];function KOn(g){if(typeof g=="string")return g;if("path"in g)return g.path;const w={};for(const T of WOn)T in g&&(w[T]=g[T]);return JSON.stringify(w,null,2)}const vTt="[^/]+?",YOn={sensitive:!1,strict:!1,start:!0,end:!0},XOn=/[.+*?^${}()[\]/\\]/g;function QOn(g,w){const T=Zu({},YOn,w),D=[];let H=T.start?"^":"";const U=[];for(const ne of g){const Be=ne.length?[]:[90];T.strict&&!ne.length&&(H+="/");for(let He=0;He<ne.length;He++){const Ye=ne[He];let xt=40+(T.sensitive?.25:0);if(Ye.type===0)He||(H+="/"),H+=Ye.value.replace(XOn,"\\$&"),xt+=40;else if(Ye.type===1){const{value:ft,repeatable:Jt,optional:Cn,regexp:lr}=Ye;U.push({name:ft,repeatable:Jt,optional:Cn});const Dn=lr||vTt;if(Dn!==vTt){xt+=10;try{new RegExp(`(${Dn})`)}catch(ur){throw new Error(`Invalid custom RegExp for param "${ft}" (${Dn}): `+ur.message)}}let Vn=Jt?`((?:${Dn})(?:/(?:${Dn}))*)`:`(${Dn})`;He||(Vn=Cn&&ne.length<2?`(?:/${Vn})`:"/"+Vn),Cn&&(Vn+="?"),H+=Vn,xt+=20,Cn&&(xt+=-8),Jt&&(xt+=-20),Dn===".*"&&(xt+=-50)}Be.push(xt)}D.push(Be)}if(T.strict&&T.end){const ne=D.length-1;D[ne][D[ne].length-1]+=.7000000000000001}T.strict||(H+="/?"),T.end?H+="$":T.strict&&(H+="(?:/|$)");const Q=new RegExp(H,T.sensitive?"":"i");function ie(ne){const Be=ne.match(Q),He={};if(!Be)return null;for(let Ye=1;Ye<Be.length;Ye++){const xt=Be[Ye]||"",ft=U[Ye-1];He[ft.name]=xt&&ft.repeatable?xt.split("/"):xt}return He}function he(ne){let Be="",He=!1;for(const Ye of g){(!He||!Be.endsWith("/"))&&(Be+="/"),He=!1;for(const xt of Ye)if(xt.type===0)Be+=xt.value;else if(xt.type===1){const{value:ft,repeatable:Jt,optional:Cn}=xt,lr=ft in ne?ne[ft]:"";if(uw(lr)&&!Jt)throw new Error(`Provided param "${ft}" is an array but it is not repeatable (* or + modifiers)`);const Dn=uw(lr)?lr.join("/"):lr;if(!Dn)if(Cn)Ye.length<2&&(Be.endsWith("/")?Be=Be.slice(0,-1):He=!0);else throw new Error(`Missing required param "${ft}"`);Be+=Dn}}return Be||"/"}return{re:Q,score:D,keys:U,parse:ie,stringify:he}}function ZOn(g,w){let T=0;for(;T<g.length&&T<w.length;){const D=w[T]-g[T];if(D)return D;T++}return g.length<w.length?g.length===1&&g[0]===40+40?-1:1:g.length>w.length?w.length===1&&w[0]===40+40?1:-1:0}function JOn(g,w){let T=0;const D=g.score,H=w.score;for(;T<D.length&&T<H.length;){const U=ZOn(D[T],H[T]);if(U)return U;T++}if(Math.abs(H.length-D.length)===1){if(bTt(D))return 1;if(bTt(H))return-1}return H.length-D.length}function bTt(g){const w=g[g.length-1];return g.length>0&&w[w.length-1]<0}const eDn={type:0,value:""},tDn=/[a-zA-Z0-9_]/;function nDn(g){if(!g)return[[]];if(g==="/")return[[eDn]];if(!g.startsWith("/"))throw new Error(`Route paths should start with a "/": "${g}" should be "/${g}".`);function w(xt){throw new Error(`ERR (${T})/"${ne}": ${xt}`)}let T=0,D=T;const H=[];let U;function Q(){U&&H.push(U),U=[]}let ie=0,he,ne="",Be="";function He(){ne&&(T===0?U.push({type:0,value:ne}):T===1||T===2||T===3?(U.length>1&&(he==="*"||he==="+")&&w(`A repeatable param (${ne}) must be alone in its segment. eg: '/:ids+.`),U.push({type:1,value:ne,regexp:Be,repeatable:he==="*"||he==="+",optional:he==="*"||he==="?"})):w("Invalid state to consume buffer"),ne="")}function Ye(){ne+=he}for(;ie<g.length;){if(he=g[ie++],he==="\\"&&T!==2){D=T,T=4;continue}switch(T){case 0:he==="/"?(ne&&He(),Q()):he===":"?(He(),T=1):Ye();break;case 4:Ye(),T=D;break;case 1:he==="("?T=2:tDn.test(he)?Ye():(He(),T=0,he!=="*"&&he!=="?"&&he!=="+"&&ie--);break;case 2:he===")"?Be[Be.length-1]=="\\"?Be=Be.slice(0,-1)+he:T=3:Be+=he;break;case 3:He(),T=0,he!=="*"&&he!=="?"&&he!=="+"&&ie--,Be="";break;default:w("Unknown state");break}}return T===2&&w(`Unfinished custom RegExp for param "${ne}"`),He(),Q(),H}function rDn(g,w,T){const D=QOn(nDn(g.path),T);{const U=new Set;for(const Q of D.keys)U.has(Q.name)&&ou(`Found duplicated params with name "${Q.name}" for path "${g.path}". Only the last one will be available on "$route.params".`),U.add(Q.name)}const H=Zu(D,{record:g,parent:w,children:[],alias:[]});return w&&!H.record.aliasOf==!w.record.aliasOf&&w.children.push(H),H}function iDn(g,w){const T=[],D=new Map;w=_Tt({strict:!1,end:!0,sensitive:!1},w);function H(Be){return D.get(Be)}function U(Be,He,Ye){const xt=!Ye,ft=sDn(Be);lDn(ft,He),ft.aliasOf=Ye&&Ye.record;const Jt=_Tt(w,Be),Cn=[ft];if("alias"in Be){const Vn=typeof Be.alias=="string"?[Be.alias]:Be.alias;for(const ur of Vn)Cn.push(Zu({},ft,{components:Ye?Ye.record.components:ft.components,path:ur,aliasOf:Ye?Ye.record:ft}))}let lr,Dn;for(const Vn of Cn){const{path:ur}=Vn;if(He&&ur[0]!=="/"){const ti=He.record.path,xi=ti[ti.length-1]==="/"?"":"/";Vn.path=He.record.path+(ur&&xi+ur)}if(Vn.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);if(lr=rDn(Vn,He,Jt),He&&ur[0]==="/"&&uDn(lr,He),Ye?(Ye.alias.push(lr),cDn(Ye,lr)):(Dn=Dn||lr,Dn!==lr&&Dn.alias.push(lr),xt&&Be.name&&!yTt(lr)&&Q(Be.name)),ft.children){const ti=ft.children;for(let xi=0;xi<ti.length;xi++)U(ti[xi],lr,Ye&&Ye.children[xi])}Ye=Ye||lr,(lr.record.components&&Object.keys(lr.record.components).length||lr.record.name||lr.record.redirect)&&he(lr)}return Dn?()=>{Q(Dn)}:HX}function Q(Be){if(lAt(Be)){const He=D.get(Be);He&&(D.delete(Be),T.splice(T.indexOf(He),1),He.children.forEach(Q),He.alias.forEach(Q))}else{const He=T.indexOf(Be);He>-1&&(T.splice(He,1),Be.record.name&&D.delete(Be.record.name),Be.children.forEach(Q),Be.alias.forEach(Q))}}function ie(){return T}function he(Be){let He=0;for(;He<T.length&&JOn(Be,T[He])>=0&&(Be.record.path!==T[He].record.path||!hAt(Be,T[He]));)He++;T.splice(He,0,Be),Be.record.name&&!yTt(Be)&&D.set(Be.record.name,Be)}function ne(Be,He){let Ye,xt={},ft,Jt;if("name"in Be&&Be.name){if(Ye=D.get(Be.name),!Ye)throw SF(1,{location:Be});{const Dn=Object.keys(Be.params||{}).filter(Vn=>!Ye.keys.find(ur=>ur.name===Vn));Dn.length&&ou(`Discarded invalid param(s) "${Dn.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}Jt=Ye.record.name,xt=Zu(wTt(He.params,Ye.keys.filter(Dn=>!Dn.optional).map(Dn=>Dn.name)),Be.params&&wTt(Be.params,Ye.keys.map(Dn=>Dn.name))),ft=Ye.stringify(xt)}else if("path"in Be)ft=Be.path,ft.startsWith("/")||ou(`The Matcher cannot resolve relative paths but received "${ft}". Unless you directly called \`matcher.resolve("${ft}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/router.`),Ye=T.find(Dn=>Dn.re.test(ft)),Ye&&(xt=Ye.parse(ft),Jt=Ye.record.name);else{if(Ye=He.name?D.get(He.name):T.find(Dn=>Dn.re.test(He.path)),!Ye)throw SF(1,{location:Be,currentLocation:He});Jt=Ye.record.name,xt=Zu({},He.params,Be.params),ft=Ye.stringify(xt)}const Cn=[];let lr=Ye;for(;lr;)Cn.unshift(lr.record),lr=lr.parent;return{name:Jt,path:ft,params:xt,matched:Cn,meta:oDn(Cn)}}return g.forEach(Be=>U(Be)),{addRoute:U,resolve:ne,removeRoute:Q,getRoutes:ie,getRecordMatcher:H}}function wTt(g,w){const T={};for(const D of w)D in g&&(T[D]=g[D]);return T}function sDn(g){return{path:g.path,redirect:g.redirect,name:g.name,meta:g.meta||{},aliasOf:void 0,beforeEnter:g.beforeEnter,props:aDn(g),children:g.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in g?g.components||null:g.component&&{default:g.component}}}function aDn(g){const w={},T=g.props||!1;if("component"in g)w.default=T;else for(const D in g.components)w[D]=typeof T=="boolean"?T:T[D];return w}function yTt(g){for(;g;){if(g.record.aliasOf)return!0;g=g.parent}return!1}function oDn(g){return g.reduce((w,T)=>Zu(w,T.meta),{})}function _Tt(g,w){const T={};for(const D in g)T[D]=D in w?w[D]:g[D];return T}function ORe(g,w){return g.name===w.name&&g.optional===w.optional&&g.repeatable===w.repeatable}function cDn(g,w){for(const T of g.keys)if(!T.optional&&!w.keys.find(ORe.bind(null,T)))return ou(`Alias "${w.record.path}" and the original record: "${g.record.path}" must have the exact same param named "${T.name}"`);for(const T of w.keys)if(!T.optional&&!g.keys.find(ORe.bind(null,T)))return ou(`Alias "${w.record.path}" and the original record: "${g.record.path}" must have the exact same param named "${T.name}"`)}function lDn(g,w){w&&w.record.name&&!g.name&&!g.path&&ou(`The route named "${String(w.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function uDn(g,w){for(const T of w.keys)if(!g.keys.find(ORe.bind(null,T)))return ou(`Absolute path "${g.record.path}" must have the exact same param named "${T.name}" as its parent "${w.record.path}".`)}function hAt(g,w){return w.children.some(T=>T===g||hAt(g,T))}const fAt=/#/g,hDn=/&/g,fDn=/\//g,dDn=/=/g,gDn=/\?/g,dAt=/\+/g,pDn=/%5B/g,mDn=/%5D/g,gAt=/%5E/g,vDn=/%60/g,pAt=/%7B/g,bDn=/%7C/g,mAt=/%7D/g,wDn=/%20/g;function OBe(g){return encodeURI(""+g).replace(bDn,"|").replace(pDn,"[").replace(mDn,"]")}function yDn(g){return OBe(g).replace(pAt,"{").replace(mAt,"}").replace(gAt,"^")}function DRe(g){return OBe(g).replace(dAt,"%2B").replace(wDn,"+").replace(fAt,"%23").replace(hDn,"%26").replace(vDn,"`").replace(pAt,"{").replace(mAt,"}").replace(gAt,"^")}function _Dn(g){return DRe(g).replace(dDn,"%3D")}function xDn(g){return OBe(g).replace(fAt,"%23").replace(gDn,"%3F")}function kDn(g){return g==null?"":xDn(g).replace(fDn,"%2F")}function sQ(g){try{return decodeURIComponent(""+g)}catch{ou(`Error decoding "${g}". Using original value`)}return""+g}function EDn(g){const w={};if(g===""||g==="?")return w;const D=(g[0]==="?"?g.slice(1):g).split("&");for(let H=0;H<D.length;++H){const U=D[H].replace(dAt," "),Q=U.indexOf("="),ie=sQ(Q<0?U:U.slice(0,Q)),he=Q<0?null:sQ(U.slice(Q+1));if(ie in w){let ne=w[ie];uw(ne)||(ne=w[ie]=[ne]),ne.push(he)}else w[ie]=he}return w}function xTt(g){let w="";for(let T in g){const D=g[T];if(T=_Dn(T),D==null){D!==void 0&&(w+=(w.length?"&":"")+T);continue}(uw(D)?D.map(U=>U&&DRe(U)):[D&&DRe(D)]).forEach(U=>{U!==void 0&&(w+=(w.length?"&":"")+T,U!=null&&(w+="="+U))})}return w}function TDn(g){const w={};for(const T in g){const D=g[T];D!==void 0&&(w[T]=uw(D)?D.map(H=>H==null?null:""+H):D==null?D:""+D)}return w}const SDn=Symbol("router view location matched"),kTt=Symbol("router view depth"),DBe=Symbol("router"),vAt=Symbol("route location"),PRe=Symbol("router view location");function CX(){let g=[];function w(D){return g.push(D),()=>{const H=g.indexOf(D);H>-1&&g.splice(H,1)}}function T(){g=[]}return{add:w,list:()=>g,reset:T}}function VT(g,w,T,D,H){const U=D&&(D.enterCallbacks[H]=D.enterCallbacks[H]||[]);return()=>new Promise((Q,ie)=>{const he=He=>{He===!1?ie(SF(4,{from:T,to:w})):He instanceof Error?ie(He):UOn(He)?ie(SF(2,{from:w,to:He})):(U&&D.enterCallbacks[H]===U&&typeof He=="function"&&U.push(He),Q())},ne=g.call(D&&D.instances[H],w,T,CDn(he,w,T));let Be=Promise.resolve(ne);if(g.length<3&&(Be=Be.then(he)),g.length>2){const He=`The "next" callback was never called inside of ${g.name?'"'+g.name+'"':""}:
${g.toString()}
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof ne=="object"&&"then"in ne)Be=Be.then(Ye=>he._called?Ye:(ou(He),Promise.reject(new Error("Invalid navigation guard"))));else if(ne!==void 0&&!he._called){ou(He),ie(new Error("Invalid navigation guard"));return}}Be.catch(He=>ie(He))})}function CDn(g,w,T){let D=0;return function(){D++===1&&ou(`The "next" callback was called more than once in one navigation guard when going from "${T.fullPath}" to "${w.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),g._called=!0,D===1&&g.apply(null,arguments)}}function UNe(g,w,T,D){const H=[];for(const U of g){!U.components&&!U.children.length&&ou(`Record with path "${U.path}" is either missing a "component(s)" or "children" property.`);for(const Q in U.components){let ie=U.components[Q];{if(!ie||typeof ie!="object"&&typeof ie!="function")throw ou(`Component "${Q}" in record with path "${U.path}" is not a valid component. Received "${String(ie)}".`),new Error("Invalid route component");if("then"in ie){ou(`Component "${Q}" in record with path "${U.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const he=ie;ie=()=>he}else ie.__asyncLoader&&!ie.__warnedDefineAsync&&(ie.__warnedDefineAsync=!0,ou(`Component "${Q}" in record with path "${U.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(w!=="beforeRouteEnter"&&!U.instances[Q]))if(ADn(ie)){const ne=(ie.__vccOpts||ie)[w];ne&&H.push(VT(ne,T,D,U,Q))}else{let he=ie();"catch"in he||(ou(`Component "${Q}" in record with path "${U.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),he=Promise.resolve(he)),H.push(()=>he.then(ne=>{if(!ne)return Promise.reject(new Error(`Couldn't resolve component "${Q}" at "${U.path}"`));const Be=AOn(ne)?ne.default:ne;U.components[Q]=Be;const Ye=(Be.__vccOpts||Be)[w];return Ye&&VT(Ye,T,D,U,Q)()}))}}}return H}function ADn(g){return typeof g=="object"||"displayName"in g||"props"in g||"__vccOpts"in g}function ETt(g){const w=os(DBe),T=os(vAt),D=Fr(()=>w.resolve(Hn(g.to))),H=Fr(()=>{const{matched:he}=D.value,{length:ne}=he,Be=he[ne-1],He=T.matched;if(!Be||!He.length)return-1;const Ye=He.findIndex(sS.bind(null,Be));if(Ye>-1)return Ye;const xt=TTt(he[ne-2]);return ne>1&&TTt(Be)===xt&&He[He.length-1].path!==xt?He.findIndex(sS.bind(null,he[ne-2])):Ye}),U=Fr(()=>H.value>-1&&ODn(T.params,D.value.params)),Q=Fr(()=>H.value>-1&&H.value===T.matched.length-1&&oAt(T.params,D.value.params));function ie(he={}){return IDn(he)?w[Hn(g.replace)?"replace":"push"](Hn(g.to)).catch(HX):Promise.resolve()}if(V8){const he=hw();if(he){const ne={route:D.value,isActive:U.value,isExactActive:Q.value};he.__vrl_devtools=he.__vrl_devtools||[],he.__vrl_devtools.push(ne),X8(()=>{ne.route=D.value,ne.isActive=U.value,ne.isExactActive=Q.value},{flush:"post"})}}return{route:D,href:Fr(()=>D.value.href),isActive:U,isExactActive:Q,navigate:ie}}const MDn=mu({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ETt,setup(g,{slots:w}){const T=Ef(ETt(g)),{options:D}=os(DBe),H=Fr(()=>({[STt(g.activeClass,D.linkActiveClass,"router-link-active")]:T.isActive,[STt(g.exactActiveClass,D.linkExactActiveClass,"router-link-exact-active")]:T.isExactActive}));return()=>{const U=w.default&&w.default(T);return g.custom?U:jb("a",{"aria-current":T.isExactActive?g.ariaCurrentValue:null,href:T.href,onClick:T.navigate,class:H.value},U)}}}),LDn=MDn;function IDn(g){if(!(g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)&&!g.defaultPrevented&&!(g.button!==void 0&&g.button!==0)){if(g.currentTarget&&g.currentTarget.getAttribute){const w=g.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(w))return}return g.preventDefault&&g.preventDefault(),!0}}function ODn(g,w){for(const T in w){const D=w[T],H=g[T];if(typeof D=="string"){if(D!==H)return!1}else if(!uw(H)||H.length!==D.length||D.some((U,Q)=>U!==H[Q]))return!1}return!0}function TTt(g){return g?g.aliasOf?g.aliasOf.path:g.path:""}const STt=(g,w,T)=>g??w??T,DDn=mu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(g,{attrs:w,slots:T}){NDn();const D=os(PRe),H=Fr(()=>g.route||D.value),U=os(kTt,0),Q=Fr(()=>{let ne=Hn(U);const{matched:Be}=H.value;let He;for(;(He=Be[ne])&&!He.components;)ne++;return ne}),ie=Fr(()=>H.value.matched[Q.value]);ow(kTt,Fr(()=>Q.value+1)),ow(SDn,ie),ow(PRe,H);const he=Is();return jc(()=>[he.value,ie.value,g.name],([ne,Be,He],[Ye,xt,ft])=>{Be&&(Be.instances[He]=ne,xt&&xt!==Be&&ne&&ne===Ye&&(Be.leaveGuards.size||(Be.leaveGuards=xt.leaveGuards),Be.updateGuards.size||(Be.updateGuards=xt.updateGuards))),ne&&Be&&(!xt||!sS(Be,xt)||!Ye)&&(Be.enterCallbacks[He]||[]).forEach(Jt=>Jt(ne))},{flush:"post"}),()=>{const ne=H.value,Be=g.name,He=ie.value,Ye=He&&He.components[Be];if(!Ye)return CTt(T.default,{Component:Ye,route:ne});const xt=He.props[Be],ft=xt?xt===!0?ne.params:typeof xt=="function"?xt(ne):xt:null,Cn=jb(Ye,Zu({},ft,w,{onVnodeUnmounted:lr=>{lr.component.isUnmounted&&(He.instances[Be]=null)},ref:he}));if(V8&&Cn.ref){const lr={depth:Q.value,name:He.name,path:He.path,meta:He.meta};(uw(Cn.ref)?Cn.ref.map(Vn=>Vn.i):[Cn.ref.i]).forEach(Vn=>{Vn.__vrv_devtools=lr})}return CTt(T.default,{Component:Cn,route:ne})||Cn}}});function CTt(g,w){if(!g)return null;const T=g(w);return T.length===1?T[0]:T}const PDn=DDn;function NDn(){const g=hw(),w=g.parent&&g.parent.type.name;if(w&&(w==="KeepAlive"||w.includes("Transition"))){const T=w==="KeepAlive"?"keep-alive":"transition";ou(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
Use slot props instead:
<router-view v-slot="{ Component }">
<${T}>
<component :is="Component" />
</${T}>
</router-view>`)}}function AX(g,w){const T=Zu({},g,{matched:g.matched.map(D=>qDn(D,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:g.fullPath,tooltip:w,value:T}}}function eme(g){return{_custom:{display:g}}}let RDn=0;function BDn(g,w,T){if(w.__hasDevtools)return;w.__hasDevtools=!0;const D=RDn++;COn({id:"org.vuejs.router"+(D?"."+D:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:g},H=>{typeof H.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),H.on.inspectComponent((Be,He)=>{Be.instanceData&&Be.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:AX(w.currentRoute.value,"Current Route")})}),H.on.visitComponentTree(({treeNode:Be,componentInstance:He})=>{if(He.__vrv_devtools){const Ye=He.__vrv_devtools;Be.tags.push({label:(Ye.name?`${Ye.name.toString()}: `:"")+Ye.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:bAt})}uw(He.__vrl_devtools)&&(He.__devtoolsApi=H,He.__vrl_devtools.forEach(Ye=>{let xt=_At,ft="";Ye.isExactActive?(xt=yAt,ft="This is exactly active"):Ye.isActive&&(xt=wAt,ft="This link is active"),Be.tags.push({label:Ye.route.path,textColor:0,tooltip:ft,backgroundColor:xt})}))}),jc(w.currentRoute,()=>{he(),H.notifyComponentUpdate(),H.sendInspectorTree(ie),H.sendInspectorState(ie)});const U="router:navigations:"+D;H.addTimelineLayer({id:U,label:`Router${D?" "+D:""} Navigations`,color:4237508}),w.onError((Be,He)=>{H.addTimelineEvent({layerId:U,event:{title:"Error during Navigation",subtitle:He.fullPath,logType:"error",time:H.now(),data:{error:Be},groupId:He.meta.__navigationId}})});let Q=0;w.beforeEach((Be,He)=>{const Ye={guard:eme("beforeEach"),from:AX(He,"Current Location during this navigation"),to:AX(Be,"Target location")};Object.defineProperty(Be.meta,"__navigationId",{value:Q++}),H.addTimelineEvent({layerId:U,event:{time:H.now(),title:"Start of navigation",subtitle:Be.fullPath,data:Ye,groupId:Be.meta.__navigationId}})}),w.afterEach((Be,He,Ye)=>{const xt={guard:eme("afterEach")};Ye?(xt.failure={_custom:{type:Error,readOnly:!0,display:Ye?Ye.message:"",tooltip:"Navigation Failure",value:Ye}},xt.status=eme("❌")):xt.status=eme("✅"),xt.from=AX(He,"Current Location during this navigation"),xt.to=AX(Be,"Target location"),H.addTimelineEvent({layerId:U,event:{title:"End of navigation",subtitle:Be.fullPath,time:H.now(),data:xt,logType:Ye?"warning":"default",groupId:Be.meta.__navigationId}})});const ie="router-inspector:"+D;H.addInspector({id:ie,label:"Routes"+(D?" "+D:""),icon:"book",treeFilterPlaceholder:"Search routes"});function he(){if(!ne)return;const Be=ne;let He=T.getRoutes().filter(Ye=>!Ye.parent);He.forEach(EAt),Be.filter&&(He=He.filter(Ye=>NRe(Ye,Be.filter.toLowerCase()))),He.forEach(Ye=>kAt(Ye,w.currentRoute.value)),Be.rootNodes=He.map(xAt)}let ne;H.on.getInspectorTree(Be=>{ne=Be,Be.app===g&&Be.inspectorId===ie&&he()}),H.on.getInspectorState(Be=>{if(Be.app===g&&Be.inspectorId===ie){const Ye=T.getRoutes().find(xt=>xt.record.__vd_id===Be.nodeId);Ye&&(Be.state={options:jDn(Ye)})}}),H.sendInspectorTree(ie),H.sendInspectorState(ie)})}function FDn(g){return g.optional?g.repeatable?"*":"?":g.repeatable?"+":""}function jDn(g){const{record:w}=g,T=[{editable:!1,key:"path",value:w.path}];return w.name!=null&&T.push({editable:!1,key:"name",value:w.name}),T.push({editable:!1,key:"regexp",value:g.re}),g.keys.length&&T.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:g.keys.map(D=>`${D.name}${FDn(D)}`).join(" "),tooltip:"Param keys",value:g.keys}}}),w.redirect!=null&&T.push({editable:!1,key:"redirect",value:w.redirect}),g.alias.length&&T.push({editable:!1,key:"aliases",value:g.alias.map(D=>D.record.path)}),Object.keys(g.record.meta).length&&T.push({editable:!1,key:"meta",value:g.record.meta}),T.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:g.score.map(D=>D.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:g.score}}}),T}const bAt=15485081,wAt=2450411,yAt=8702998,$Dn=2282478,_At=16486972,HDn=6710886;function xAt(g){const w=[],{record:T}=g;T.name!=null&&w.push({label:String(T.name),textColor:0,backgroundColor:$Dn}),T.aliasOf&&w.push({label:"alias",textColor:0,backgroundColor:_At}),g.__vd_match&&w.push({label:"matches",textColor:0,backgroundColor:bAt}),g.__vd_exactActive&&w.push({label:"exact",textColor:0,backgroundColor:yAt}),g.__vd_active&&w.push({label:"active",textColor:0,backgroundColor:wAt}),T.redirect&&w.push({label:typeof T.redirect=="string"?`redirect: ${T.redirect}`:"redirects",textColor:16777215,backgroundColor:HDn});let D=T.__vd_id;return D==null&&(D=String(zDn++),T.__vd_id=D),{id:D,label:T.path,tags:w,children:g.children.map(xAt)}}let zDn=0;const VDn=/^\/(.*)\/([a-z]*)$/;function kAt(g,w){const T=w.matched.length&&sS(w.matched[w.matched.length-1],g.record);g.__vd_exactActive=g.__vd_active=T,T||(g.__vd_active=w.matched.some(D=>sS(D,g.record))),g.children.forEach(D=>kAt(D,w))}function EAt(g){g.__vd_match=!1,g.children.forEach(EAt)}function NRe(g,w){const T=String(g.re).match(VDn);if(g.__vd_match=!1,!T||T.length<3)return!1;if(new RegExp(T[1].replace(/\$$/,""),T[2]).test(w))return g.children.forEach(Q=>NRe(Q,w)),g.record.path!=="/"||w==="/"?(g.__vd_match=g.re.test(w),!0):!1;const H=g.record.path.toLowerCase(),U=sQ(H);return!w.startsWith("/")&&(U.includes(w)||H.includes(w))||U.startsWith(w)||H.startsWith(w)||g.record.name&&String(g.record.name).includes(w)?!0:g.children.some(Q=>NRe(Q,w))}function qDn(g,w){const T={};for(const D in g)w.includes(D)||(T[D]=g[D]);return T}function UDn(g){const w=iDn(g.routes,g),T=g.parseQuery||EDn,D=g.stringifyQuery||xTt,H=g.history;if(!H)throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.');const U=CX(),Q=CX(),ie=CX(),he=Z_(jT);let ne=jT;V8&&g.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Be=VNe.bind(null,Lr=>""+Lr),He=VNe.bind(null,kDn),Ye=VNe.bind(null,sQ);function xt(Lr,Hs){let bs,qs;return lAt(Lr)?(bs=w.getRecordMatcher(Lr),qs=Hs):qs=Lr,w.addRoute(qs,bs)}function ft(Lr){const Hs=w.getRecordMatcher(Lr);Hs?w.removeRoute(Hs):ou(`Cannot remove non-existent route "${String(Lr)}"`)}function Jt(){return w.getRoutes().map(Lr=>Lr.record)}function Cn(Lr){return!!w.getRecordMatcher(Lr)}function lr(Lr,Hs){if(Hs=Zu({},Hs||he.value),typeof Lr=="string"){const To=qNe(T,Lr,Hs.path),Et=w.resolve({path:To.path},Hs),cn=H.createHref(To.fullPath);return cn.startsWith("//")?ou(`Location "${Lr}" resolved to "${cn}". A resolved location cannot start with multiple slashes.`):Et.matched.length||ou(`No match found for location with path "${Lr}"`),Zu(To,Et,{params:Ye(Et.params),hash:sQ(To.hash),redirectedFrom:void 0,href:cn})}let bs;if("path"in Lr)"params"in Lr&&!("name"in Lr)&&Object.keys(Lr.params).length&&ou(`Path "${Lr.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),bs=Zu({},Lr,{path:qNe(T,Lr.path,Hs.path).path});else{const To=Zu({},Lr.params);for(const Et in To)To[Et]==null&&delete To[Et];bs=Zu({},Lr,{params:He(Lr.params)}),Hs.params=He(Hs.params)}const qs=w.resolve(bs,Hs),Hc=Lr.hash||"";Hc&&!Hc.startsWith("#")&&ou(`A \`hash\` should always start with the character "#". Replace "${Hc}" with "#${Hc}".`),qs.params=Be(Ye(qs.params));const al=IOn(D,Zu({},Lr,{hash:yDn(Hc),path:qs.path})),Io=H.createHref(al);return Io.startsWith("//")?ou(`Location "${Lr}" resolved to "${Io}". A resolved location cannot start with multiple slashes.`):qs.matched.length||ou(`No match found for location with path "${"path"in Lr?Lr.path:Lr}"`),Zu({fullPath:al,hash:Hc,query:D===xTt?TDn(Lr.query):Lr.query||{}},qs,{redirectedFrom:void 0,href:Io})}function Dn(Lr){return typeof Lr=="string"?qNe(T,Lr,he.value.path):Zu({},Lr)}function Vn(Lr,Hs){if(ne!==Lr)return SF(8,{from:Hs,to:Lr})}function ur(Lr){return gs(Lr)}function ti(Lr){return ur(Zu(Dn(Lr),{replace:!0}))}function xi(Lr){const Hs=Lr.matched[Lr.matched.length-1];if(Hs&&Hs.redirect){const{redirect:bs}=Hs;let qs=typeof bs=="function"?bs(Lr):bs;if(typeof qs=="string"&&(qs=qs.includes("?")||qs.includes("#")?qs=Dn(qs):{path:qs},qs.params={}),!("path"in qs)&&!("name"in qs))throw ou(`Invalid redirect found:
${JSON.stringify(qs,null,2)}
when navigating to "${Lr.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Zu({query:Lr.query,hash:Lr.hash,params:"path"in qs?{}:Lr.params},qs)}}function gs(Lr,Hs){const bs=ne=lr(Lr),qs=he.value,Hc=Lr.state,al=Lr.force,Io=Lr.replace===!0,To=xi(bs);if(To)return gs(Zu(Dn(To),{state:typeof To=="object"?Zu({},Hc,To.state):Hc,force:al,replace:Io}),Hs||bs);const Et=bs;Et.redirectedFrom=Hs;let cn;return!al&&fTt(D,qs,bs)&&(cn=SF(16,{to:Et,from:qs}),vu(qs,qs,!0,!1)),(cn?Promise.resolve(cn):ns(Et,qs)).catch(ar=>F8(ar)?F8(ar,2)?ar:kc(ar):Ns(ar,Et,qs)).then(ar=>{if(ar){if(F8(ar,2))return fTt(D,lr(ar.to),Et)&&Hs&&(Hs._count=Hs._count?Hs._count+1:1)>10?(ou(`Detected an infinite redirection in a navigation guard when going from "${qs.fullPath}" to "${Et.fullPath}". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):gs(Zu({replace:Io},Dn(ar.to),{state:typeof ar.to=="object"?Zu({},Hc,ar.to.state):Hc,force:al}),Hs||Et)}else ar=Lo(Et,qs,!0,Io,Hc);return Ks(Et,qs,ar),ar})}function jr(Lr,Hs){const bs=Vn(Lr,Hs);return bs?Promise.reject(bs):Promise.resolve()}function ns(Lr,Hs){let bs;const[qs,Hc,al]=GDn(Lr,Hs);bs=UNe(qs.reverse(),"beforeRouteLeave",Lr,Hs);for(const To of qs)To.leaveGuards.forEach(Et=>{bs.push(VT(Et,Lr,Hs))});const Io=jr.bind(null,Lr,Hs);return bs.push(Io),oF(bs).then(()=>{bs=[];for(const To of U.list())bs.push(VT(To,Lr,Hs));return bs.push(Io),oF(bs)}).then(()=>{bs=UNe(Hc,"beforeRouteUpdate",Lr,Hs);for(const To of Hc)To.updateGuards.forEach(Et=>{bs.push(VT(Et,Lr,Hs))});return bs.push(Io),oF(bs)}).then(()=>{bs=[];for(const To of Lr.matched)if(To.beforeEnter&&!Hs.matched.includes(To))if(uw(To.beforeEnter))for(const Et of To.beforeEnter)bs.push(VT(Et,Lr,Hs));else bs.push(VT(To.beforeEnter,Lr,Hs));return bs.push(Io),oF(bs)}).then(()=>(Lr.matched.forEach(To=>To.enterCallbacks={}),bs=UNe(al,"beforeRouteEnter",Lr,Hs),bs.push(Io),oF(bs))).then(()=>{bs=[];for(const To of Q.list())bs.push(VT(To,Lr,Hs));return bs.push(Io),oF(bs)}).catch(To=>F8(To,8)?To:Promise.reject(To))}function Ks(Lr,Hs,bs){for(const qs of ie.list())qs(Lr,Hs,bs)}function Lo(Lr,Hs,bs,qs,Hc){const al=Vn(Lr,Hs);if(al)return al;const Io=Hs===jT,To=V8?history.state:{};bs&&(qs||Io?H.replace(Lr.fullPath,Zu({scroll:Io&&To&&To.scroll},Hc)):H.push(Lr.fullPath,Hc)),he.value=Lr,vu(Lr,Hs,bs,Io),kc()}let Ss;function Kc(){Ss||(Ss=H.listen((Lr,Hs,bs)=>{if(!fw.listening)return;const qs=lr(Lr),Hc=xi(qs);if(Hc){gs(Zu(Hc,{replace:!0}),qs).catch(HX);return}ne=qs;const al=he.value;V8&&jOn(gTt(al.fullPath,bs.delta),rve()),ns(qs,al).catch(Io=>F8(Io,12)?Io:F8(Io,2)?(gs(Io.to,qs).then(To=>{F8(To,20)&&!bs.delta&&bs.type===iQ.pop&&H.go(-1,!1)}).catch(HX),Promise.reject()):(bs.delta&&H.go(-bs.delta,!1),Ns(Io,qs,al))).then(Io=>{Io=Io||Lo(qs,al,!1),Io&&(bs.delta&&!F8(Io,8)?H.go(-bs.delta,!1):bs.type===iQ.pop&&F8(Io,20)&&H.go(-1,!1)),Ks(qs,al,Io)}).catch(HX)}))}let Zl=CX(),xl=CX(),eh;function Ns(Lr,Hs,bs){kc(Lr);const qs=xl.list();return qs.length?qs.forEach(Hc=>Hc(Lr,Hs,bs)):(ou("uncaught error during route navigation:"),console.error(Lr)),Promise.reject(Lr)}function Va(){return eh&&he.value!==jT?Promise.resolve():new Promise((Lr,Hs)=>{Zl.add([Lr,Hs])})}function kc(Lr){return eh||(eh=!Lr,Kc(),Zl.list().forEach(([Hs,bs])=>Lr?bs(Lr):Hs()),Zl.reset()),Lr}function vu(Lr,Hs,bs,qs){const{scrollBehavior:Hc}=g;if(!V8||!Hc)return Promise.resolve();const al=!bs&&$On(gTt(Lr.fullPath,0))||(qs||!bs)&&history.state&&history.state.scroll||null;return vp().then(()=>Hc(Lr,Hs,al)).then(Io=>Io&&FOn(Io)).catch(Io=>Ns(Io,Lr,Hs))}const Ng=Lr=>H.go(Lr);let X0;const Rg=new Set,fw={currentRoute:he,listening:!0,addRoute:xt,removeRoute:ft,hasRoute:Cn,getRoutes:Jt,resolve:lr,options:g,push:ur,replace:ti,go:Ng,back:()=>Ng(-1),forward:()=>Ng(1),beforeEach:U.add,beforeResolve:Q.add,afterEach:ie.add,onError:xl.add,isReady:Va,install(Lr){const Hs=this;Lr.component("RouterLink",LDn),Lr.component("RouterView",PDn),Lr.config.globalProperties.$router=Hs,Object.defineProperty(Lr.config.globalProperties,"$route",{enumerable:!0,get:()=>Hn(he)}),V8&&!X0&&he.value===jT&&(X0=!0,ur(H.location).catch(Hc=>{ou("Unexpected error when starting the router:",Hc)}));const bs={};for(const Hc in jT)bs[Hc]=Fr(()=>he.value[Hc]);Lr.provide(DBe,Hs),Lr.provide(vAt,Ef(bs)),Lr.provide(PRe,he);const qs=Lr.unmount;Rg.add(Lr),Lr.unmount=function(){Rg.delete(Lr),Rg.size<1&&(ne=jT,Ss&&Ss(),Ss=null,he.value=jT,X0=!1,eh=!1),qs()},V8&&BDn(Lr,Hs,w)}};return fw}function oF(g){return g.reduce((w,T)=>w.then(()=>T()),Promise.resolve())}function GDn(g,w){const T=[],D=[],H=[],U=Math.max(w.matched.length,g.matched.length);for(let Q=0;Q<U;Q++){const ie=w.matched[Q];ie&&(g.matched.find(ne=>sS(ne,ie))?D.push(ie):T.push(ie));const he=g.matched[Q];he&&(w.matched.find(ne=>sS(ne,he))||H.push(he))}return[T,D,H]}const GNe=Is(!1),VX=Is(!1),pF=Is(!1),WDn=Is(!0),RRe=PIn({xs:460,...MIn}),tO=wOn(),TAt=oOn(),KDn=Fr(()=>tO.height.value-tO.width.value/XT>180),SAt=iOn(Q8?document.body:null),_F=AIn(),YDn=Fr(()=>{var g,w;return["INPUT","TEXTAREA"].includes(((g=_F.value)==null?void 0:g.tagName)||"")||((w=_F.value)==null?void 0:w.classList.contains("CodeMirror-code"))}),XDn=Fr(()=>{var g;return["BUTTON","A"].includes(((g=_F.value)==null?void 0:g.tagName)||"")});R5("slidev-camera","default");R5("slidev-mic","default");const fme=R5("slidev-scale",0),iv=R5("slidev-show-overview",!1),WNe=R5("slidev-presenter-cursor",!0),ATt=R5("slidev-show-editor",!1);R5("slidev-editor-width",Q8?window.innerWidth*.4:100);const CAt=nAt(iv);function MTt(g,w,T,D=H=>H){return g*D(.5-w*(.5-T))}function QDn(g){return[-g[0],-g[1]]}function O5(g,w){return[g[0]+w[0],g[1]+w[1]]}function f3(g,w){return[g[0]-w[0],g[1]-w[1]]}function I5(g,w){return[g[0]*w,g[1]*w]}function ZDn(g,w){return[g[0]/w,g[1]/w]}function MX(g){return[g[1],-g[0]]}function LTt(g,w){return g[0]*w[0]+g[1]*w[1]}function JDn(g,w){return g[0]===w[0]&&g[1]===w[1]}function ePn(g){return Math.hypot(g[0],g[1])}function tPn(g){return g[0]*g[0]+g[1]*g[1]}function ITt(g,w){return tPn(f3(g,w))}function AAt(g){return ZDn(g,ePn(g))}function nPn(g,w){return Math.hypot(g[1]-w[1],g[0]-w[0])}function LX(g,w,T){let D=Math.sin(T),H=Math.cos(T),U=g[0]-w[0],Q=g[1]-w[1],ie=U*H-Q*D,he=U*D+Q*H;return[ie+w[0],he+w[1]]}function BRe(g,w,T){return O5(g,I5(f3(w,g),T))}function OTt(g,w,T){return O5(g,I5(w,T))}var{min:cF,PI:rPn}=Math,DTt=.275,IX=rPn+1e-4;function iPn(g,w={}){let{size:T=16,smoothing:D=.5,thinning:H=.5,simulatePressure:U=!0,easing:Q=Ns=>Ns,start:ie={},end:he={},last:ne=!1}=w,{cap:Be=!0,easing:He=Ns=>Ns*(2-Ns)}=ie,{cap:Ye=!0,easing:xt=Ns=>--Ns*Ns*Ns+1}=he;if(g.length===0||T<=0)return[];let ft=g[g.length-1].runningLength,Jt=ie.taper===!1?0:ie.taper===!0?Math.max(T,ft):ie.taper,Cn=he.taper===!1?0:he.taper===!0?Math.max(T,ft):he.taper,lr=Math.pow(T*D,2),Dn=[],Vn=[],ur=g.slice(0,10).reduce((Ns,Va)=>{let kc=Va.pressure;if(U){let vu=cF(1,Va.distance/T),Ng=cF(1,1-vu);kc=cF(1,Ns+(Ng-Ns)*(vu*DTt))}return(Ns+kc)/2},g[0].pressure),ti=MTt(T,H,g[g.length-1].pressure,Q),xi,gs=g[0].vector,jr=g[0].point,ns=jr,Ks=jr,Lo=ns,Ss=!1;for(let Ns=0;Ns<g.length;Ns++){let{pressure:Va}=g[Ns],{point:kc,vector:vu,distance:Ng,runningLength:X0}=g[Ns];if(Ns<g.length-1&&ft-X0<3)continue;if(H){if(U){let al=cF(1,Ng/T),Io=cF(1,1-al);Va=cF(1,ur+(Io-ur)*(al*DTt))}ti=MTt(T,H,Va,Q)}else ti=T/2;xi===void 0&&(xi=ti);let Rg=X0<Jt?He(X0/Jt):1,fw=ft-X0<Cn?xt((ft-X0)/Cn):1;ti=Math.max(.01,ti*Math.min(Rg,fw));let Lr=(Ns<g.length-1?g[Ns+1]:g[Ns]).vector,Hs=Ns<g.length-1?LTt(vu,Lr):1,bs=LTt(vu,gs)<0&&!Ss,qs=Hs!==null&&Hs<0;if(bs||qs){let al=I5(MX(gs),ti);for(let Io=1/13,To=0;To<=1;To+=Io)Ks=LX(f3(kc,al),kc,IX*To),Dn.push(Ks),Lo=LX(O5(kc,al),kc,IX*-To),Vn.push(Lo);jr=Ks,ns=Lo,qs&&(Ss=!0);continue}if(Ss=!1,Ns===g.length-1){let al=I5(MX(vu),ti);Dn.push(f3(kc,al)),Vn.push(O5(kc,al));continue}let Hc=I5(MX(BRe(Lr,vu,Hs)),ti);Ks=f3(kc,Hc),(Ns<=1||ITt(jr,Ks)>lr)&&(Dn.push(Ks),jr=Ks),Lo=O5(kc,Hc),(Ns<=1||ITt(ns,Lo)>lr)&&(Vn.push(Lo),ns=Lo),ur=Va,gs=vu}let Kc=g[0].point.slice(0,2),Zl=g.length>1?g[g.length-1].point.slice(0,2):O5(g[0].point,[1,1]),xl=[],eh=[];if(g.length===1){if(!(Jt||Cn)||ne){let Ns=OTt(Kc,AAt(MX(f3(Kc,Zl))),-(xi||ti)),Va=[];for(let kc=1/13,vu=kc;vu<=1;vu+=kc)Va.push(LX(Ns,Kc,IX*2*vu));return Va}}else{if(!(Jt||Cn&&g.length===1))if(Be)for(let Va=1/13,kc=Va;kc<=1;kc+=Va){let vu=LX(Vn[0],Kc,IX*kc);xl.push(vu)}else{let Va=f3(Dn[0],Vn[0]),kc=I5(Va,.5),vu=I5(Va,.51);xl.push(f3(Kc,kc),f3(Kc,vu),O5(Kc,vu),O5(Kc,kc))}let Ns=MX(QDn(g[g.length-1].vector));if(Cn||Jt&&g.length===1)eh.push(Zl);else if(Ye){let Va=OTt(Zl,Ns,ti);for(let kc=1/29,vu=kc;vu<1;vu+=kc)eh.push(LX(Va,Zl,IX*3*vu))}else eh.push(O5(Zl,I5(Ns,ti)),O5(Zl,I5(Ns,ti*.99)),f3(Zl,I5(Ns,ti*.99)),f3(Zl,I5(Ns,ti)))}return Dn.concat(eh,Vn.reverse(),xl)}function sPn(g,w={}){var T;let{streamline:D=.5,size:H=16,last:U=!1}=w;if(g.length===0)return[];let Q=.15+(1-D)*.85,ie=Array.isArray(g[0])?g:g.map(({x:xt,y:ft,pressure:Jt=.5})=>[xt,ft,Jt]);if(ie.length===2){let xt=ie[1];ie=ie.slice(0,-1);for(let ft=1;ft<5;ft++)ie.push(BRe(ie[0],xt,ft/4))}ie.length===1&&(ie=[...ie,[...O5(ie[0],[1,1]),...ie[0].slice(2)]]);let he=[{point:[ie[0][0],ie[0][1]],pressure:ie[0][2]>=0?ie[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],ne=!1,Be=0,He=he[0],Ye=ie.length-1;for(let xt=1;xt<ie.length;xt++){let ft=U&&xt===Ye?ie[xt].slice(0,2):BRe(He.point,ie[xt],Q);if(JDn(He.point,ft))continue;let Jt=nPn(ft,He.point);if(Be+=Jt,xt<Ye&&!ne){if(Be<H)continue;ne=!0}He={point:ft,pressure:ie[xt][2]>=0?ie[xt][2]:.5,vector:AAt(f3(He.point,ft)),distance:Jt,runningLength:Be},he.push(He)}return he[0].vector=((T=he[1])==null?void 0:T.vector)||[0,0],he}function aPn(g,w={}){return iPn(sPn(g,w),w)}var oPn=()=>({events:{},emit(g,...w){let T=this.events[g]||[];for(let D=0,H=T.length;D<H;D++)T[D](...w)},on(g,w){var T;return(T=this.events[g])!=null&&T.push(w)||(this.events[g]=[w]),()=>{var D;this.events[g]=(D=this.events[g])==null?void 0:D.filter(H=>w!==H)}}});function Dme(g,w){return g-w}function cPn(g){return g<0?-1:1}function Pme(g){return[Math.abs(g),cPn(g)]}function MAt(){const g=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${g()+g()}-${g()}-${g()}-${g()}-${g()}${g()}${g()}`}var lPn=2,q8=lPn,LF=class{constructor(g){this.drauu=g,this.event=void 0,this.point=void 0,this.start=void 0,this.el=null}onSelected(g){}onUnselected(){}onStart(g){}onMove(g){return!1}onEnd(g){}get brush(){return this.drauu.brush}get shiftPressed(){return this.drauu.shiftPressed}get altPressed(){return this.drauu.altPressed}get svgElement(){return this.drauu.el}getMousePosition(g){var w;const T=this.drauu.el,D=this.drauu.options.coordinateScale??1;if(this.drauu.options.coordinateTransform===!1){const H=this.drauu.el.getBoundingClientRect();return{x:(g.pageX-H.left)*D,y:(g.pageY-H.top)*D,pressure:g.pressure}}else{const H=this.drauu.svgPoint;H.x=g.clientX,H.y=g.clientY;const U=H.matrixTransform((w=T.getScreenCTM())==null?void 0:w.inverse());return{x:U.x*D,y:U.y*D,pressure:g.pressure}}}createElement(g,w){const T=document.createElementNS("http://www.w3.org/2000/svg",g),D=w?{...this.brush,...w}:this.brush;return T.setAttribute("fill",D.fill??"transparent"),T.setAttribute("stroke",D.color),T.setAttribute("stroke-width",D.size.toString()),T.setAttribute("stroke-linecap","round"),D.dasharray&&T.setAttribute("stroke-dasharray",D.dasharray),T}attr(g,w){this.el.setAttribute(g,typeof w=="string"?w:w.toFixed(q8))}_setEvent(g){this.event=g,this.point=this.getMousePosition(g)}_eventDown(g){return this._setEvent(g),this.start=this.point,this.onStart(this.point)}_eventMove(g){return this._setEvent(g),this.onMove(this.point)}_eventUp(g){return this._setEvent(g),this.onEnd(this.point)}},uPn=class extends LF{constructor(){super(...arguments),this.points=[]}onStart(g){return this.el=document.createElementNS("http://www.w3.org/2000/svg","path"),this.points=[g],this.attr("fill",this.brush.color),this.attr("d",this.getSvgData(this.points)),this.el}onMove(g){return this.el||this.onStart(g),this.points[this.points.length-1]!==g&&this.points.push(g),this.attr("d",this.getSvgData(this.points)),!0}onEnd(){const g=this.el;return this.el=null,!!g}getSvgData(g){const w=aPn(g,{size:this.brush.size*2,thinning:.9,simulatePressure:!1,start:{taper:5},end:{taper:5},...this.brush.stylusOptions});if(!w.length)return"";const T=w.reduce((D,[H,U],Q,ie)=>{const[he,ne]=ie[(Q+1)%ie.length];return D.push(H,U,(H+he)/2,(U+ne)/2),D},["M",...w[0],"Q"]);return T.push("Z"),T.map(D=>typeof D=="number"?D.toFixed(2):D).join(" ")}},hPn=class extends LF{onStart(g){return this.el=this.createElement("ellipse"),this.attr("cx",g.x),this.attr("cy",g.y),this.el}onMove(g){if(!this.el||!this.start)return!1;let[w,T]=Pme(g.x-this.start.x),[D,H]=Pme(g.y-this.start.y);if(this.shiftPressed){const U=Math.min(w,D);w=U,D=U}if(this.altPressed)this.attr("cx",this.start.x),this.attr("cy",this.start.y),this.attr("rx",w),this.attr("ry",D);else{const[U,Q]=[this.start.x,this.start.x+w*T].sort(Dme),[ie,he]=[this.start.y,this.start.y+D*H].sort(Dme);this.attr("cx",(U+Q)/2),this.attr("cy",(ie+he)/2),this.attr("rx",(Q-U)/2),this.attr("ry",(he-ie)/2)}return!0}onEnd(){const g=this.el;return this.el=null,!(!g||!g.getTotalLength())}};function LAt(g,w){const T=document.createElementNS("http://www.w3.org/2000/svg","defs"),D=document.createElementNS("http://www.w3.org/2000/svg","marker"),H=document.createElementNS("http://www.w3.org/2000/svg","path");return H.setAttribute("fill",w),D.setAttribute("id",g),D.setAttribute("viewBox","0 -5 10 10"),D.setAttribute("refX","5"),D.setAttribute("refY","0"),D.setAttribute("markerWidth","4"),D.setAttribute("markerHeight","4"),D.setAttribute("orient","auto"),H.setAttribute("d","M0,-5L10,0L0,5"),D.appendChild(H),T.appendChild(D),T}var fPn=class extends LF{onStart(g){if(this.el=this.createElement("line",{fill:"transparent"}),this.attr("x1",g.x),this.attr("y1",g.y),this.attr("x2",g.x),this.attr("y2",g.y),this.brush.arrowEnd){const w=MAt(),T=document.createElementNS("http://www.w3.org/2000/svg","g");return T.append(LAt(w,this.brush.color)),T.append(this.el),this.attr("marker-end",`url(#${w})`),T}return this.el}onMove(g){if(!this.el)return!1;let{x:w,y:T}=g;if(this.shiftPressed){const D=g.x-this.start.x,H=g.y-this.start.y;if(H!==0){let U=D/H;U=Math.round(U),Math.abs(U)<=1?(w=this.start.x+H*U,T=this.start.y+H):(w=this.start.x+D,T=this.start.y)}}return this.altPressed?(this.attr("x1",this.start.x*2-w),this.attr("y1",this.start.y*2-T),this.attr("x2",w),this.attr("y2",T)):(this.attr("x1",this.start.x),this.attr("y1",this.start.y),this.attr("x2",w),this.attr("y2",T)),!0}onEnd(){const g=this.el;return this.el=null,!(!g||g.getTotalLength()<5)}},dPn=class extends LF{onStart(g){return this.el=this.createElement("rect"),this.brush.cornerRadius&&(this.attr("rx",this.brush.cornerRadius),this.attr("ry",this.brush.cornerRadius)),this.attr("x",g.x),this.attr("y",g.y),this.el}onMove(g){if(!this.el||!this.start)return!1;let[w,T]=Pme(g.x-this.start.x),[D,H]=Pme(g.y-this.start.y);if(this.shiftPressed){const U=Math.min(w,D);w=U,D=U}if(this.altPressed)this.attr("x",this.start.x-w),this.attr("y",this.start.y-D),this.attr("width",w*2),this.attr("height",D*2);else{const[U,Q]=[this.start.x,this.start.x+w*T].sort(Dme),[ie,he]=[this.start.y,this.start.y+D*H].sort(Dme);this.attr("x",U),this.attr("y",ie),this.attr("width",Q-U),this.attr("height",he-ie)}return!0}onEnd(){const g=this.el;return this.el=null,!(!g||!g.getTotalLength())}};function gPn(g,w){const T=g.x-w.x,D=g.y-w.y;return T*T+D*D}function pPn(g,w,T){let D=w.x,H=w.y,U=T.x-D,Q=T.y-H;if(U!==0||Q!==0){const ie=((g.x-D)*U+(g.y-H)*Q)/(U*U+Q*Q);ie>1?(D=T.x,H=T.y):ie>0&&(D+=U*ie,H+=Q*ie)}return U=g.x-D,Q=g.y-H,U*U+Q*Q}function mPn(g,w){let T=g[0];const D=[T];let H;for(let U=1,Q=g.length;U<Q;U++)H=g[U],gPn(H,T)>w&&(D.push(H),T=H);return T!==H&&H&&D.push(H),D}function FRe(g,w,T,D,H){let U=D,Q=0;for(let ie=w+1;ie<T;ie++){const he=pPn(g[ie],g[w],g[T]);he>U&&(Q=ie,U=he)}U>D&&(Q-w>1&&FRe(g,w,Q,D,H),H.push(g[Q]),T-Q>1&&FRe(g,Q,T,D,H))}function vPn(g,w){const T=g.length-1,D=[g[0]];return FRe(g,0,T,w,D),D.push(g[T]),D}function PTt(g,w,T=!1){if(g.length<=2)return g;const D=w!==void 0?w*w:1;return g=T?g:mPn(g,D),g=vPn(g,D),g}var bPn=class extends LF{constructor(){super(...arguments),this.points=[],this.count=0}onStart(g){if(this.el=this.createElement("path",{fill:"transparent"}),this.points=[g],this.brush.arrowEnd){this.arrowId=MAt();const w=LAt(this.arrowId,this.brush.color);this.el.appendChild(w)}return this.el}onMove(g){return this.el||this.onStart(g),this.points[this.points.length-1]!==g&&(this.points.push(g),this.count+=1),this.count>5&&(this.points=PTt(this.points,1,!0),this.count=0),this.attr("d",RTt(this.points)),!0}onEnd(){const g=this.el;return this.el=null,!(!g||(g.setAttribute("d",RTt(PTt(this.points,1,!0))),!g.getTotalLength()))}};function wPn(g,w){const T=w.x-g.x,D=w.y-g.y;return{length:Math.sqrt(T**2+D**2),angle:Math.atan2(D,T)}}function NTt(g,w,T,D){const H=w||g,U=T||g,Q=.2,ie=wPn(H,U),he=ie.angle+(D?Math.PI:0),ne=ie.length*Q,Be=g.x+Math.cos(he)*ne,He=g.y+Math.sin(he)*ne;return{x:Be,y:He}}function yPn(g,w,T){const D=NTt(T[w-1],T[w-2],g),H=NTt(g,T[w-1],T[w+1],!0);return`C ${D.x.toFixed(q8)},${D.y.toFixed(q8)} ${H.x.toFixed(q8)},${H.y.toFixed(q8)} ${g.x.toFixed(q8)},${g.y.toFixed(q8)}`}function RTt(g){return g.reduce((w,T,D,H)=>D===0?`M ${T.x.toFixed(q8)},${T.y.toFixed(q8)}`:`${w} ${yPn(T,D,H)}`,"")}var _Pn=class extends LF{constructor(){super(...arguments),this.pathSubFactor=20,this.pathFragments=[]}onSelected(g){const w=(T,D)=>{if(T&&T.length)for(let H=0;H<T.length;H++){const U=T[H];if(U.getTotalLength){const Q=U.getTotalLength();for(let ie=0;ie<this.pathSubFactor;ie++){const he=U.getPointAtLength(Q*ie/this.pathSubFactor),ne=U.getPointAtLength(Q*(ie+1)/this.pathSubFactor);this.pathFragments.push({x1:he.x,x2:ne.x,y1:he.y,y2:ne.y,segment:ie,element:D||U})}}else U.children&&w(U.children,U)}};g&&w(g.children)}onUnselected(){this.pathFragments=[]}onStart(g){this.svgPointPrevious=this.svgElement.createSVGPoint(),this.svgPointPrevious.x=g.x,this.svgPointPrevious.y=g.y}onMove(g){this.svgPointCurrent=this.svgElement.createSVGPoint(),this.svgPointCurrent.x=g.x,this.svgPointCurrent.y=g.y;const w=this.checkAndEraseElement();return this.svgPointPrevious=this.svgPointCurrent,w}onEnd(){return this.svgPointPrevious=void 0,this.svgPointCurrent=void 0,!0}checkAndEraseElement(){const g=[];if(this.pathFragments.length)for(let w=0;w<this.pathFragments.length;w++){const T=this.pathFragments[w],D={x1:this.svgPointPrevious.x,x2:this.svgPointCurrent.x,y1:this.svgPointPrevious.y,y2:this.svgPointCurrent.y};this.lineLineIntersect(T,D)&&(T.element.remove(),g.push(w))}return g.length&&(this.pathFragments=this.pathFragments.filter((w,T)=>!g.includes(T))),g.length>0}lineLineIntersect(g,w){const T=g.x1,D=g.x2,H=w.x1,U=w.x2,Q=g.y1,ie=g.y2,he=w.y1,ne=w.y2,Be=(T-D)*(he-ne)-(Q-ie)*(H-U),He=(T*ie-Q*D)*(H-U)-(T-D)*(H*ne-he*U),Ye=(T*ie-Q*D)*(he-ne)-(Q-ie)*(H*ne-he*U),xt=(ft,Jt,Cn)=>ft>=Jt&&ft<=Cn?!0:ft>=Cn&&ft<=Jt;if(Be===0)return!1;{const ft={x:He/Be,y:Ye/Be};return xt(ft.x,T,D)&&xt(ft.y,Q,ie)&&xt(ft.x,H,U)&&xt(ft.y,he,ne)}}};function xPn(g){return{draw:new bPn(g),stylus:new uPn(g),line:new fPn(g),rectangle:new dPn(g),ellipse:new hPn(g),eraseLine:new _Pn(g)}}var kPn=class{constructor(g={}){this.options=g,this.el=null,this.svgPoint=null,this.eventEl=null,this.shiftPressed=!1,this.altPressed=!1,this.drawing=!1,this._emitter=oPn(),this._models=xPn(this),this._undoStack=[],this._disposables=[],this.options.brush||(this.options.brush={color:"black",size:3,mode:"stylus"}),g.el&&this.mount(g.el,g.eventTarget)}get model(){return this._models[this.mode]}get mounted(){return!!this.el}get mode(){return this.options.brush.mode||"stylus"}set mode(g){this._models[this.mode].onUnselected(),this.options.brush.mode=g,this.model.onSelected(this.el)}get brush(){return this.options.brush}set brush(g){this.options.brush=g}resolveSelector(g){return typeof g=="string"?document.querySelector(g):g||null}mount(g,w){if(this.el)throw new Error("[drauu] already mounted, unmount previous target first");if(this.el=this.resolveSelector(g),!this.el)throw new Error("[drauu] target element not found");if(this.el.tagName.toLocaleLowerCase()!=="svg")throw new Error("[drauu] can only mount to a SVG element");if(!this.el.createSVGPoint)throw new Error("[drauu] SVG element must be create by document.createElementNS('http://www.w3.org/2000/svg', 'svg')");this.svgPoint=this.el.createSVGPoint();const T=this.resolveSelector(w)||this.el,D=this.eventStart.bind(this),H=this.eventMove.bind(this),U=this.eventEnd.bind(this),Q=this.eventKeyboard.bind(this);T.addEventListener("pointerdown",D,{passive:!1}),window.addEventListener("pointermove",H,{passive:!1}),window.addEventListener("pointerup",U,{passive:!1}),window.addEventListener("pointercancel",U,{passive:!1}),window.addEventListener("keydown",Q,!1),window.addEventListener("keyup",Q,!1),this._disposables.push(()=>{T.removeEventListener("pointerdown",D),window.removeEventListener("pointermove",H),window.removeEventListener("pointerup",U),window.removeEventListener("pointercancel",U),window.removeEventListener("keydown",Q,!1),window.removeEventListener("keyup",Q,!1)}),this._emitter.emit("mounted")}unmount(){this._disposables.forEach(g=>g()),this._disposables.length=0,this.el=null,this._emitter.emit("unmounted")}on(g,w){return this._emitter.on(g,w)}undo(){const g=this.el;return g.lastElementChild?(this._undoStack.push(g.lastElementChild.cloneNode(!0)),g.lastElementChild.remove(),this._emitter.emit("changed"),!0):!1}redo(){return this._undoStack.length?(this.el.appendChild(this._undoStack.pop()),this._emitter.emit("changed"),!0):!1}canRedo(){return!!this._undoStack.length}canUndo(){var g;return!!((g=this.el)!=null&&g.lastElementChild)}eventMove(g){!this.acceptsInput(g)||!this.drawing||this.model._eventMove(g)&&(g.stopPropagation(),g.preventDefault(),this._emitter.emit("changed"))}eventStart(g){this.acceptsInput(g)&&(g.stopPropagation(),g.preventDefault(),this._currentNode&&this.cancel(),this.drawing=!0,this._emitter.emit("start"),this._currentNode=this.model._eventDown(g),this._currentNode&&this.mode!=="eraseLine"&&this.el.appendChild(this._currentNode),this._emitter.emit("changed"))}eventEnd(g){if(!this.acceptsInput(g)||!this.drawing)return;const w=this.model._eventUp(g);w?(w instanceof Element&&w!==this._currentNode&&(this._currentNode=w),this.commit()):this.cancel(),this.drawing=!1,this._emitter.emit("end"),this._emitter.emit("changed")}acceptsInput(g){return!this.options.acceptsInputTypes||this.options.acceptsInputTypes.includes(g.pointerType)}eventKeyboard(g){this.shiftPressed===g.shiftKey&&this.altPressed===g.altKey||(this.shiftPressed=g.shiftKey,this.altPressed=g.altKey,this.model.point&&this.model.onMove(this.model.point)&&this._emitter.emit("changed"))}commit(){this._undoStack.length=0;const g=this._currentNode;this._currentNode=void 0,this._emitter.emit("committed",g)}clear(){this._undoStack.length=0,this.cancel(),this.el.innerHTML="",this._emitter.emit("changed")}cancel(){this._currentNode&&(this.el.removeChild(this._currentNode),this._currentNode=void 0,this._emitter.emit("canceled"))}dump(){return this.el.innerHTML}load(g){this.clear(),this.el.innerHTML=g}};function EPn(g){return new kPn(g)}const jRe=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],X_=R5("slidev-drawing-enabled",!1),_Zn=R5("slidev-drawing-pinned",!1),TPn=Is(!1),SPn=Is(!1),CPn=Is(!1),aQ=Is(!1),GI=rIn(R5("slidev-drawing-brush",{color:jRe[0],size:4,mode:"stylus"})),BTt=Is("stylus"),IAt=Fr(()=>gu.drawings.syncAll||Rb.value);let oQ=!1;const OX=Fr({get(){return BTt.value},set(g){BTt.value=g,g==="arrow"?(GI.mode="line",GI.arrowEnd=!0):(GI.mode=g,GI.arrowEnd=!1)}}),APn=Ef({brush:GI,acceptsInputTypes:Fr(()=>X_.value&&(!gu.drawings.presenterOnly||Rb.value)?void 0:["pen"]),coordinateTransform:!1}),ov=Gme(EPn(APn));function MPn(){ov.clear(),IAt.value&&ZCt(Qd.value,"")}function PBe(){var g;SPn.value=ov.canRedo(),TPn.value=ov.canUndo(),CPn.value=!!((g=ov.el)!=null&&g.children.length)}function LPn(g){oQ=!0;const w=Ime[g||Qd.value];w!=null?ov.load(w):ov.clear(),PBe(),oQ=!1}ov.on("changed",()=>{if(PBe(),!oQ){const g=ov.dump(),w=Qd.value;(Ime[w]||"")!==g&&IAt.value&&ZCt(w,ov.dump())}});ULn(g=>{oQ=!0,g[Qd.value]!=null&&ov.load(g[Qd.value]||""),oQ=!1,PBe()});vp(()=>{jc(Qd,()=>{ov.mounted&&LPn()},{immediate:!0})});ov.on("start",()=>aQ.value=!0);ov.on("end",()=>aQ.value=!1);window.addEventListener("keydown",g=>{if(!X_.value)return;const w=!g.ctrlKey&&!g.altKey&&!g.shiftKey&&!g.metaKey;let T=!0;g.code==="KeyZ"&&(g.ctrlKey||g.metaKey)?g.shiftKey?ov.redo():ov.undo():g.code==="Escape"?X_.value=!1:g.code==="KeyL"&&w?OX.value="line":g.code==="KeyA"&&w?OX.value="arrow":g.code==="KeyS"&&w?OX.value="stylus":g.code==="KeyR"&&w?OX.value="rectangle":g.code==="KeyE"&&w?OX.value="ellipse":g.code==="KeyC"&&w?MPn():g.code.startsWith("Digit")&&w&&+g.code[5]<=jRe.length?GI.color=jRe[+g.code[5]-1]:T=!1,T&&(g.preventDefault(),g.stopPropagation())},!1);function K0(...g){return Fr(()=>g.every(w=>Nb(w)))}function sw(g){return Fr(()=>!Nb(g))}const FTt=qIn(),KNe=R5("slidev-color-schema","auto"),$Re=Fr(()=>gu.colorSchema!=="auto"),ive=Fr({get(){return $Re.value?gu.colorSchema==="dark":KNe.value==="auto"?FTt.value:KNe.value==="dark"},set(g){$Re.value||(KNe.value=g===FTt.value?"auto":g?"dark":"light")}}),OAt=nAt(ive);Q8&&jc(ive,g=>{const w=document.querySelector("html");w.classList.toggle("dark",g),w.classList.toggle("light",!g)},{immediate:!0});const dme=Is(1),gme=Fr(()=>r0.length-1),lw=Is(0),NBe=Is(0);function IPn(){lw.value>dme.value&&(lw.value-=1)}function OPn(){lw.value<gme.value&&(lw.value+=1)}function DPn(){if(lw.value>dme.value){let g=lw.value-NBe.value;g<dme.value&&(g=dme.value),lw.value=g}}function PPn(){if(lw.value<gme.value){let g=lw.value+NBe.value;g>gme.value&&(g=gme.value),lw.value=g}}function NPn(){const{escape:g,space:w,shift:T,left:D,right:H,up:U,down:Q,enter:ie,d:he,g:ne,o:Be}=TAt;let He=[{name:"next_space",key:K0(w,sw(T)),fn:JT,autoRepeat:!0},{name:"prev_space",key:K0(w,T),fn:eS,autoRepeat:!0},{name:"next_right",key:K0(H,sw(T),sw(iv)),fn:JT,autoRepeat:!0},{name:"prev_left",key:K0(D,sw(T),sw(iv)),fn:eS,autoRepeat:!0},{name:"next_page_key",key:"pageDown",fn:JT,autoRepeat:!0},{name:"prev_page_key",key:"pageUp",fn:eS,autoRepeat:!0},{name:"next_down",key:K0(Q,sw(iv)),fn:lQ,autoRepeat:!0},{name:"prev_up",key:K0(U,sw(iv)),fn:()=>uQ(!1),autoRepeat:!0},{name:"next_shift",key:K0(H,T),fn:lQ,autoRepeat:!0},{name:"prev_shift",key:K0(D,T),fn:()=>uQ(!1),autoRepeat:!0},{name:"toggle_dark",key:K0(he,sw(X_)),fn:OAt},{name:"toggle_overview",key:K0(Be,sw(X_)),fn:CAt},{name:"hide_overview",key:K0(g,sw(X_)),fn:()=>iv.value=!1},{name:"goto",key:K0(ne,sw(X_)),fn:()=>pF.value=!pF.value},{name:"next_overview",key:K0(H,iv),fn:OPn},{name:"prev_overview",key:K0(D,iv),fn:IPn},{name:"up_overview",key:K0(U,iv),fn:DPn},{name:"down_overview",key:K0(Q,iv),fn:PPn},{name:"goto_from_overview",key:K0(ie,iv),fn:()=>{AF(lw.value),iv.value=!1}}];const Ye=new Set(He.map(ft=>ft.name));if(He.filter(ft=>ft.name&&Ye.has(ft.name)).length===0){const ft=["========== WARNING ==========","defineShortcutsSetup did not return any of the base shortcuts.","See https://sli.dev/custom/config-shortcuts.html for migration.",'If it is intentional, return at least one shortcut with one of the base names (e.g. name:"goto").'].join(`
`);alert(ft),console.warn(ft)}return He}const DAt=K0(sw(YDn),sw(XDn),WDn);function RPn(g,w,T=!1){typeof g=="string"&&(g=TAt[g]);const D=K0(g,DAt);let H=0,U;const Q=()=>{if(clearTimeout(U),!D.value){H=0;return}T&&(U=setTimeout(Q,Math.max(1e3-H*250,150)),H++),w()};return jc(D,Q,{flush:"sync"})}function BPn(g,w){return CIn(g,T=>{DAt.value&&(T.repeat||w())})}function FPn(){const g=NPn();new Map(g.map(T=>[T.key,T])).forEach(T=>{T.fn&&RPn(T.key,T.fn,T.autoRepeat)}),BPn("f",()=>SAt.toggle())}const jPn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},$Pn=I("path",{fill:"currentColor",d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z"},null,-1),HPn=[$Pn];function zPn(g,w){return tr(),Ls("svg",jPn,HPn)}const VPn={name:"carbon-close",render:zPn};function RBe(g,w=""){var H,U;const T=["slidev-page",w],D=(U=(H=g==null?void 0:g.meta)==null?void 0:H.slide)==null?void 0:U.no;return D!=null&&T.push(`slidev-page-${D}`),T.filter(Boolean).join(" ")}const qPn=mu({__name:"SlideContainer",props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(g){const w=g;os(Os);const T=Is(),D=rOn(T),H=Fr(()=>w.width?w.width:D.width.value),U=Fr(()=>w.width?w.width/XT:D.height.value);w.width&&X8(()=>{T.value&&(T.value.style.width=`${H.value}px`,T.value.style.height=`${U.value}px`)});const Q=Fr(()=>H.value/U.value),ie=Fr(()=>w.scale&&!CF.value?w.scale:Q.value<XT?H.value/QT:U.value*XT/QT),he=Fr(()=>({height:`${MBe}px`,width:`${QT}px`,transform:`translate(-50%, -50%) scale(${ie.value})`})),ne=Fr(()=>({"select-none":!gu.selectable,"slidev-code-line-numbers":gu.lineNumbers}));return ow(XCt,ie),(Be,He)=>(tr(),Ls("div",{id:"slide-container",ref_key:"root",ref:T,class:Xd(Hn(ne))},[I("div",{id:"slide-content",style:im(Hn(he))},[rS(Be.$slots,"default")],4),rS(Be.$slots,"controls")],2))}});const Ps=(g,w)=>{const T=g.__vccOpts||g;for(const[D,H]of w)T[D]=H;return T},PAt=Ps(qPn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/SlideContainer.vue"]]),BBe=mu({name:"SlideWrapper",props:{clicks:{type:[Number,String],default:0},clicksElements:{type:Array,default:()=>[]},clicksOrderMap:{type:Map,default:()=>new Map},clicksDisabled:{type:Boolean,default:!1},context:{type:String,default:"main"},is:{type:Object,default:void 0},route:{type:Object,default:void 0}},setup(g,{emit:w}){const T=Y_(g,"clicks",w),D=Y_(g,"clicksElements",w),H=Y_(g,"clicksDisabled",w),U=Y_(g,"clicksOrderMap",w);D.value.length=0,ow(ALn,g.route),ow(MLn,g.context),ow(ume,T),ow(hme,H),ow(fF,D),ow(TRe,U)},render(){var g,w;return this.$props.is?jb(this.$props.is):(w=(g=this.$slots)==null?void 0:g.default)==null?void 0:w.call(g)}}),UPn=["innerHTML"],GPn=mu({__name:"DrawingPreview",props:{page:{type:Number,required:!0}},setup(g){return os(Os),(w,T)=>Hn(Ime)[g.page]?(tr(),Ls("svg",{key:0,ref:"svg",class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:Hn(Ime)[g.page]},null,8,UPn)):sl("v-if",!0)}}),NAt=Ps(GPn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/DrawingPreview.vue"]]),WPn=Object.freeze(Object.defineProperty({__proto__:null,default:NAt},Symbol.toStringTag,{value:"Module"})),KPn={class:"slides-overview bg-main !bg-opacity-75 p-16 overflow-y-auto"},YPn=["onClick"],XPn=mu({__name:"SlidesOverview",props:{modelValue:{type:Boolean,required:!0}},emits:[],setup(g,{emit:w}){const T=g;os(Os);const D=Y_(T,"modelValue",w);function H(){D.value=!1}function U(xt){AF(xt),H()}function Q(xt){return xt===lw.value}const ie=RRe.smaller("xs"),he=RRe.smaller("sm"),ne=4*16*2,Be=2*16,He=Fr(()=>ie.value?tO.width.value-ne:he.value?(tO.width.value-ne-Be)/2:300),Ye=Fr(()=>Math.floor((tO.width.value-ne)/(He.value+Be)));return X8(()=>{lw.value=Qd.value,NBe.value=Ye.value}),(xt,ft)=>{const Jt=VPn;return tr(),Ls(zu,null,[_Be(I("div",KPn,[I("div",{class:"grid gap-y-4 gap-x-8 w-full",style:im(`grid-template-columns: repeat(auto-fit,minmax(${Hn(He)}px,1fr))`)},[(tr(!0),Ls(zu,null,wQ(Hn(r0).slice(0,-1),(Cn,lr)=>(tr(),Ls("div",{key:Cn.path,class:"relative"},[I("div",{class:Xd(["inline-block border rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary",{"border-$slidev-theme-primary":Q(lr+1),"border-gray-400":!Q(lr+1)}]),style:im(Hn(LBe)),onClick:Dn=>U(+Cn.path)},[(tr(),Ds(PAt,{key:Cn.path,width:Hn(He),"clicks-disabled":!0,class:"pointer-events-none"},{default:no(()=>[Pa(Hn(BBe),{is:Cn==null?void 0:Cn.component,"clicks-disabled":!0,class:Xd(Hn(RBe)(Cn)),route:Cn,context:"overview"},null,8,["is","class","route"]),Pa(NAt,{page:+Cn.path},null,8,["page"])]),_:2},1032,["width"]))],14,YPn),I("div",{class:"absolute top-0 opacity-50",style:im(`left: ${Hn(He)+5}px`)},p3(lr+1),5)]))),128))],4)],512),[[$Ct,Hn(D)]]),Hn(D)?(tr(),Ls("button",{key:0,class:"fixed text-2xl top-4 right-4 slidev-icon-btn text-gray-400",onClick:H},[Pa(Jt)])):sl("v-if",!0)],64)}}});const QPn=Ps(XPn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/SlidesOverview.vue"]]),ZPn="/projet-long/assets/logo-b72bde5d.png",JPn={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},eNn=mu({__name:"Modal",props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(g,{emit:w}){const T=g;os(Os);const D=Y_(T,"modelValue",w);function H(){D.value=!1}return(U,Q)=>(tr(),Ds(hCt,null,[Hn(D)?(tr(),Ls("div",JPn,[I("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:Q[0]||(Q[0]=ie=>H())}),I("div",{class:Xd(["m-auto rounded-md bg-main shadow",T.class]),"dark:border":"~ gray-400 opacity-10"},[rS(U.$slots,"default")],2)])):sl("v-if",!0)],1024))}}),tNn=Ps(eNn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Modal.vue"]]),nNn={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},rNn=["innerHTML"],iNn=I("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[I("div",{class:"flex gap-1 children:my-auto"},[I("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),I("img",{class:"w-5 h-5",src:ZPn,alt:"Slidev"}),I("div",{style:{color:"#2082A6"}},[I("b",null,"Sli"),Du("dev ")])])],-1),sNn=mu({__name:"InfoDialog",props:{modelValue:{default:!1}},emits:["modelValue"],setup(g,{emit:w}){const T=g;os(Os);const D=Y_(T,"modelValue",w),H=Fr(()=>typeof gu.info=="string");return(U,Q)=>(tr(),Ds(tNn,{modelValue:Hn(D),"onUpdate:modelValue":Q[0]||(Q[0]=ie=>pu(D)?D.value=ie:null),class:"px-6 py-4"},{default:no(()=>[I("div",nNn,[Hn(H)?(tr(),Ls("div",{key:0,class:"mb-4",innerHTML:Hn(gu).info},null,8,rNn)):sl("v-if",!0),iNn])]),_:1},8,["modelValue"]))}});const aNn=Ps(sNn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/InfoDialog.vue"]]),oNn=["disabled","onKeydown"],cNn=mu({__name:"Goto",setup(g){os(Os);const w=Is(),T=Is(""),D=Fr(()=>{if(T.value.startsWith("/"))return!!r0.find(Q=>Q.path===T.value.substring(1));{const Q=+T.value;return!isNaN(Q)&&Q>0&&Q<=QAt.value}});function H(){D.value&&(T.value.startsWith("/")?AF(T.value.substring(1)):AF(+T.value)),U()}function U(){pF.value=!1}return jc(pF,async Q=>{var ie,he;Q?(await vp(),T.value="",(ie=w.value)==null||ie.focus()):(he=w.value)==null||he.blur()}),jc(T,Q=>{Q.match(/^[^0-9/]/)&&(T.value=T.value.substring(1))}),(Q,ie)=>(tr(),Ls("div",{id:"slidev-goto-dialog",class:Xd(["fixed right-5 bg-main transform transition-all",Hn(pF)?"top-5":"-top-20"]),shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:gray-400 dark:opacity-25"},[_Be(I("input",{ref_key:"input",ref:w,"onUpdate:modelValue":ie[0]||(ie[0]=he=>T.value=he),type:"text",disabled:!Hn(pF),class:Xd(["outline-none bg-transparent",{"text-red-400":!Hn(D)&&T.value}]),placeholder:"Goto...",onKeydown:[R9t(H,["enter"]),R9t(U,["escape"])],onBlur:U},null,42,oNn),[[DMn,T.value]])],2))}}),lNn=Ps(cNn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Goto.vue"]]),uNn=mu({__name:"Controls",setup(g){os(Os);const w=Z_(),T=Z_();return(D,H)=>(tr(),Ls(zu,null,[Pa(QPn,{modelValue:Hn(iv),"onUpdate:modelValue":H[0]||(H[0]=U=>pu(iv)?iv.value=U:null)},null,8,["modelValue"]),Pa(lNn),Hn(w)?(tr(),Ds(Hn(w),{key:0})):sl("v-if",!0),Hn(T)?(tr(),Ds(Hn(T),{key:1,modelValue:Hn(GNe),"onUpdate:modelValue":H[1]||(H[1]=U=>pu(GNe)?GNe.value=U:null)},null,8,["modelValue"])):sl("v-if",!0),Hn(gu).info?(tr(),Ds(aNn,{key:2,modelValue:Hn(VX),"onUpdate:modelValue":H[2]||(H[2]=U=>pu(VX)?VX.value=U:null)},null,8,["modelValue"])):sl("v-if",!0)],64))}}),hNn=Ps(uNn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Controls.vue"]]),fNn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},dNn=I("path",{fill:"currentColor",d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30V8zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3zM2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3s-3-1.3-3-3s1.3-3 3-3z"},null,-1),gNn=[dNn];function pNn(g,w){return tr(),Ls("svg",fNn,gNn)}const mNn={name:"carbon-settings-adjust",render:pNn},vNn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},bNn=I("path",{fill:"currentColor",d:"M17 22v-8h-4v2h2v6h-3v2h8v-2h-3zM16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8z"},null,-1),wNn=I("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14Zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4Z"},null,-1),yNn=[bNn,wNn];function _Nn(g,w){return tr(),Ls("svg",vNn,yNn)}const xNn={name:"carbon-information",render:_Nn},kNn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ENn=I("path",{fill:"currentColor",d:"M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"},null,-1),TNn=[ENn];function SNn(g,w){return tr(),Ls("svg",kNn,TNn)}const CNn={name:"carbon-download",render:SNn},ANn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},MNn=I("path",{fill:"currentColor",d:"M29.415 19L27.7 17.285A2.97 2.97 0 0 0 28 16a3 3 0 1 0-3 3a2.97 2.97 0 0 0 1.286-.3L28 20.414V28h-6v-3a7.008 7.008 0 0 0-7-7H9a7.008 7.008 0 0 0-7 7v5h28v-9.586A1.988 1.988 0 0 0 29.415 19ZM4 25a5.006 5.006 0 0 1 5-5h6a5.006 5.006 0 0 1 5 5v3H4Z"},null,-1),LNn=I("path",{fill:"currentColor",d:"M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7Z"},null,-1),INn=[MNn,LNn];function ONn(g,w){return tr(),Ls("svg",ANn,INn)}const DNn={name:"carbon-user-speaker",render:ONn},PNn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},NNn=I("path",{fill:"currentColor",d:"M15 10h2v8h-2zm5 4h2v4h-2zm-10-2h2v6h-2z"},null,-1),RNn=I("path",{fill:"currentColor",d:"M25 4h-8V2h-2v2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8v6h-4v2h10v-2h-4v-6h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 16H7V6h18Z"},null,-1),BNn=[NNn,RNn];function FNn(g,w){return tr(),Ls("svg",PNn,BNn)}const jNn={name:"carbon-presentation-file",render:FNn},$Nn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},HNn=I("path",{fill:"currentColor",d:"M27.307 6.107L30 3.414L28.586 2l-2.693 2.693L24.8 3.6a1.933 1.933 0 0 0-2.8 0l-18 18V28h6.4l18-18a1.933 1.933 0 0 0 0-2.8ZM9.6 26H6v-3.6L23.4 5L27 8.6ZM9 11.586L16.586 4L18 5.414L10.414 13z"},null,-1),zNn=[HNn];function VNn(g,w){return tr(),Ls("svg",$Nn,zNn)}const qNn={name:"carbon-pen",render:VNn},UNn={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},GNn=I("g",{fill:"currentColor"},[I("path",{d:"M213.66 201L201 213.66a8 8 0 0 1-11.31 0L140 164a8 8 0 0 0-13 2.46l-19.46 44.77a8 8 0 0 1-14.85-.71L40.41 50.44a8 8 0 0 1 10-10l160.1 52.24a8 8 0 0 1 .71 14.85L166.45 127a8 8 0 0 0-2.45 13l49.67 49.67a8 8 0 0 1-.01 11.33Z",opacity:".2"}),I("path",{d:"m169.64 134.33l44.77-19.46a16 16 0 0 0-1.41-29.8L52.92 32.8A16 16 0 0 0 32.8 52.92L85.07 213a15.83 15.83 0 0 0 14.41 11h.78a15.83 15.83 0 0 0 14.61-9.59l19.46-44.77L184 219.31a16 16 0 0 0 22.63 0l12.68-12.68a16 16 0 0 0 0-22.63Zm-69.48 73.76l.06-.05Zm95.15-.09l-49.67-49.67a16 16 0 0 0-26 4.94l-19.42 44.65L48 48l159.87 52.21l-44.64 19.41a16 16 0 0 0-4.94 26L208 195.31Z"})],-1),WNn=[GNn];function KNn(g,w){return tr(),Ls("svg",UNn,WNn)}const YNn={name:"ph-cursor-duotone",render:KNn},XNn={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},QNn=I("path",{fill:"currentColor",d:"M219.31 192a16 16 0 0 1 0 22.63l-4.68 4.68a16 16 0 0 1-22.63 0l-55.25-55.24l-21.88 50.34a15.84 15.84 0 0 1-14.61 9.59h-.78a15.82 15.82 0 0 1-14.41-11L32.8 52.92A15.95 15.95 0 0 1 52.92 32.8L213 85.07a16 16 0 0 1 1.41 29.8l-50.34 21.88Z"},null,-1),ZNn=[QNn];function JNn(g,w){return tr(),Ls("svg",XNn,ZNn)}const RAt={name:"ph-cursor-fill",render:JNn},eRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},tRn=I("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6ZM5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1),nRn=[tRn];function rRn(g,w){return tr(),Ls("svg",eRn,nRn)}const iRn={name:"carbon-sun",render:rRn},sRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},aRn=I("path",{fill:"currentColor",d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3Z"},null,-1),oRn=[aRn];function cRn(g,w){return tr(),Ls("svg",sRn,oRn)}const lRn={name:"carbon-moon",render:cRn},uRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},hRn=I("path",{fill:"currentColor",d:"M8 4v4H4V4Zm2-2H2v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8ZM8 14v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8ZM8 24v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Z"},null,-1),fRn=[hRn];function dRn(g,w){return tr(),Ls("svg",uRn,fRn)}const gRn={name:"carbon-apps",render:dRn},pRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},mRn=I("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z"},null,-1),vRn=[mRn];function bRn(g,w){return tr(),Ls("svg",pRn,vRn)}const wRn={name:"carbon-arrow-right",render:bRn},yRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_Rn=I("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16l10 10z"},null,-1),xRn=[_Rn];function kRn(g,w){return tr(),Ls("svg",yRn,xRn)}const ERn={name:"carbon-arrow-left",render:kRn},TRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},SRn=I("path",{fill:"currentColor",d:"M20 2v2h6.586L18 12.582L19.414 14L28 5.414V12h2V2H20zm-6 17.416L12.592 18L4 26.586V20H2v10h10v-2H5.414L14 19.416z"},null,-1),CRn=[SRn];function ARn(g,w){return tr(),Ls("svg",TRn,CRn)}const MRn={name:"carbon-maximize",render:ARn},LRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},IRn=I("path",{fill:"currentColor",d:"M4 18v2h6.586L2 28.582L3.414 30L12 21.414V28h2V18H4zM30 3.416L28.592 2L20 10.586V4h-2v10h10v-2h-6.586L30 3.416z"},null,-1),ORn=[IRn];function DRn(g,w){return tr(),Ls("svg",LRn,ORn)}const PRn={name:"carbon-minimize",render:DRn},NRn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},RRn=I("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9L13 24z"},null,-1),BRn=[RRn];function FRn(g,w){return tr(),Ls("svg",NRn,BRn)}const jRn={name:"carbon-checkmark",render:FRn},$Rn={class:"select-list"},HRn={class:"title"},zRn={class:"items"},VRn=["onClick"],qRn=mu({__name:"SelectList",props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(g,{emit:w}){const T=g;os(Os);const D=Y_(T,"modelValue",w,{passive:!0});return(H,U)=>{const Q=jRn;return tr(),Ls("div",$Rn,[I("div",HRn,p3(g.title),1),I("div",zRn,[(tr(!0),Ls(zu,null,wQ(g.items,ie=>(tr(),Ls("div",{key:ie.value,class:Xd(["item",{active:Hn(D)===ie.value}]),onClick:()=>{var he;D.value=ie.value,(he=ie.onClick)==null||he.call(ie)}},[Pa(Q,{class:Xd(["text-green-500",{"opacity-0":Hn(D)!==ie.value}])},null,8,["class"]),Du(" "+p3(ie.display||ie.value),1)],10,VRn))),128))])])}}});const URn=Ps(qRn,[["__scopeId","data-v-3f89fa11"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/SelectList.vue"]]),GRn={class:"text-sm"},WRn=mu({__name:"Settings",setup(g){os(Os);const w=[{display:"Fit",value:0},{display:"1:1",value:1}];return(T,D)=>(tr(),Ls("div",GRn,[Pa(URn,{modelValue:Hn(fme),"onUpdate:modelValue":D[0]||(D[0]=H=>pu(fme)?fme.value=H:null),title:"Scale",items:w},null,8,["modelValue"])]))}}),KRn=Ps(WRn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Settings.vue"]]),YRn={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ gray-400 opacity-10"},XRn=mu({__name:"MenuButton",props:{modelValue:{default:!1},disabled:{default:!1}},setup(g,{emit:w}){const T=g;os(Os);const D=Y_(T,"modelValue",w,{passive:!0}),H=Is();return TIn(H,()=>{D.value=!1}),(U,Q)=>(tr(),Ls("div",{ref_key:"el",ref:H,class:"flex relative"},[I("button",{class:Xd({disabled:g.disabled}),onClick:Q[0]||(Q[0]=ie=>D.value=!Hn(D))},[rS(U.$slots,"button",{class:Xd({disabled:g.disabled})})],2),(tr(),Ds(hCt,null,[Hn(D)?(tr(),Ls("div",YRn,[rS(U.$slots,"menu")])):sl("v-if",!0)],1024))],512))}}),QRn=Ps(XRn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/MenuButton.vue"]]),ZRn={class:"w-1px opacity-10 bg-current m-1 lg:m-2"},JRn={__name:"VerticalDivider",setup(g){return os(Os),(w,T)=>(tr(),Ls("div",ZRn))}},tme=Ps(JRn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/VerticalDivider.vue"]]),eBn={render(){return[]}},tBn={class:"slidev-icon-btn"},nBn={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},rBn={class:"my-auto"},iBn={class:"opacity-50"},sBn=mu({__name:"NavControls",props:{persist:{default:!1}},setup(g){const w=g;os(Os);const T=RRe.smaller("md"),{isFullscreen:D,toggle:H}=SAt,U=Fr(()=>zRe.value?`?password=${zRe.value}`:""),Q=Fr(()=>`/presenter/${Qd.value}${U.value}`),ie=Fr(()=>`/${Qd.value}${U.value}`),he=Is(),ne=()=>{he.value&&_F.value&&he.value.contains(_F.value)&&_F.value.blur()},Be=Fr(()=>w.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10"),He=Z_(),Ye=Z_();return ZT(()=>import("./DrawingControls-f024b6c9.js"),[]).then(xt=>Ye.value=xt.default),(xt,ft)=>{const Jt=PRn,Cn=MRn,lr=ERn,Dn=wRn,Vn=gRn,ur=lRn,ti=iRn,xi=RAt,gs=YNn,jr=qNn,ns=jNn,Ks=Tme("RouterLink"),Lo=DNn,Ss=CNn,Kc=xNn,Zl=mNn;return tr(),Ls("nav",{ref_key:"root",ref:he,class:"flex flex-col"},[I("div",{class:Xd(["flex flex-wrap-reverse text-xl gap-0.5 p-1 lg:gap-1 lg:p-2",Hn(Be)]),onMouseleave:ne},[Hn(z8)?sl("v-if",!0):(tr(),Ls("button",{key:0,class:"slidev-icon-btn",onClick:ft[0]||(ft[0]=(...xl)=>Hn(H)&&Hn(H)(...xl))},[Hn(D)?(tr(),Ds(Jt,{key:0})):(tr(),Ds(Cn,{key:1}))])),I("button",{class:Xd(["slidev-icon-btn",{disabled:!Hn(nGn)}]),onClick:ft[1]||(ft[1]=(...xl)=>Hn(eS)&&Hn(eS)(...xl))},[Pa(lr)],2),I("button",{class:Xd(["slidev-icon-btn",{disabled:!Hn(tGn)}]),title:"Next",onClick:ft[2]||(ft[2]=(...xl)=>Hn(JT)&&Hn(JT)(...xl))},[Pa(Dn)],2),Hn(z8)?sl("v-if",!0):(tr(),Ls("button",{key:1,class:"slidev-icon-btn",title:"Slides overview",onClick:ft[3]||(ft[3]=xl=>Hn(CAt)())},[Pa(Vn)])),Hn($Re)?sl("v-if",!0):(tr(),Ls("button",{key:2,class:"slidev-icon-btn",title:"Toggle dark mode",onClick:ft[4]||(ft[4]=xl=>Hn(OAt)())},[Hn(ive)?(tr(),Ds(ur,{key:0})):(tr(),Ds(ti,{key:1}))])),Pa(tme),Hn(z8)?sl("v-if",!0):(tr(),Ls(zu,{key:3},[!Hn(Rb)&&!Hn(T)&&Hn(He)?(tr(),Ls(zu,{key:0},[Pa(Hn(He)),Pa(tme)],64)):sl("v-if",!0),Hn(Rb)?(tr(),Ls("button",{key:1,class:"slidev-icon-btn",title:"Show presenter cursor",onClick:ft[5]||(ft[5]=xl=>WNe.value=!Hn(WNe))},[Hn(WNe)?(tr(),Ds(xi,{key:0})):(tr(),Ds(gs,{key:1,class:"opacity-50"}))])):sl("v-if",!0)],64)),(!Hn(gu).drawings.presenterOnly||Hn(Rb))&&!Hn(z8)?(tr(),Ls(zu,{key:4},[I("button",{class:"slidev-icon-btn relative",title:"Drawing",onClick:ft[6]||(ft[6]=xl=>X_.value=!Hn(X_))},[Pa(jr),Hn(X_)?(tr(),Ls("div",{key:0,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:im({background:Hn(GI).color})},null,4)):sl("v-if",!0)]),Pa(tme)],64)):sl("v-if",!0),Hn(z8)?sl("v-if",!0):(tr(),Ls(zu,{key:5},[Hn(Rb)?(tr(),Ds(Ks,{key:0,to:Hn(ie),class:"slidev-icon-btn",title:"Play Mode"},{default:no(()=>[Pa(ns)]),_:1},8,["to"])):sl("v-if",!0),Hn(QUn)?(tr(),Ds(Ks,{key:1,to:Hn(Q),class:"slidev-icon-btn",title:"Presenter Mode"},{default:no(()=>[Pa(Lo)]),_:1},8,["to"])):sl("v-if",!0),sl("v-if",!0)],64)),(tr(),Ls(zu,{key:6},[Hn(gu).download?(tr(),Ls("button",{key:0,class:"slidev-icon-btn",onClick:ft[8]||(ft[8]=(...xl)=>Hn(VRe)&&Hn(VRe)(...xl))},[Pa(Ss)])):sl("v-if",!0)],64)),!Hn(Rb)&&Hn(gu).info&&!Hn(z8)?(tr(),Ls("button",{key:7,class:"slidev-icon-btn",onClick:ft[9]||(ft[9]=xl=>VX.value=!Hn(VX))},[Pa(Kc)])):sl("v-if",!0),!Hn(Rb)&&!Hn(z8)?(tr(),Ds(QRn,{key:8},{button:no(()=>[I("button",tBn,[Pa(Zl)])]),menu:no(()=>[Pa(KRn)]),_:1})):sl("v-if",!0),Hn(z8)?sl("v-if",!0):(tr(),Ds(tme,{key:9})),I("div",nBn,[I("div",rBn,[Du(p3(Hn(Qd))+" ",1),I("span",iBn,"/ "+p3(Hn(QAt)),1)])]),Pa(Hn(eBn))],34)],512)}}}),aBn=Ps(sBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/NavControls.vue"]]),oBn={__name:"SlidesTotal",setup(g){const w=os(Os);return(T,D)=>(tr(),Ls("span",null,p3(Hn(w).nav.total),1))}},cBn=Ps(oBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/builtin/SlidesTotal.vue"]]),lBn={__name:"SlideCurrentNo",setup(g){const w=os(Os);return(T,D)=>(tr(),Ls("span",null,p3(Hn(w).nav.currentPage),1))}},uBn=Ps(lBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/builtin/SlideCurrentNo.vue"]]),hBn=mu({__name:"Pagination",props:{classNames:{type:[Array,String]},x:{default:"r",type:String,validator:g=>g==="l"||g==="r"},y:{default:"t",type:String,validator:g=>g==="b"||g==="t"}},setup(g){const{classNames:w,x:T,y:D}=g;os(Os);const H=Fr(()=>[...w?Array.isArray(w)?w:[w]:[],T==="l"&&"left-0",T==="r"&&"right-0",D==="t"&&"top-0",D==="b"&&"bottom-0"]);return(U,Q)=>{const ie=uBn,he=cBn;return tr(),Ls("div",{class:Xd(["absolute p-2 text-xs",Hn(H)])},[Pa(ie),Du(" / "),Pa(he)],2)}}}),fBn=Ps(hBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/slidev-theme-academic/components/Pagination.vue"]]),dBn={__name:"global-top",setup(g){const w=os(Os);return(T,D)=>{var U;const H=fBn;return Hn(w).nav.currentPage!==Hn(w).nav.total+1&&!((U=Hn(w).themeConfigs.paginationPagesDisabled)!=null&&U.includes(Hn(w).nav.currentPage))&&(Hn(w).themeConfigs.paginationX||Hn(w).themeConfigs.paginationY)?(tr(),Ds(H,{key:0,x:Hn(w).themeConfigs.paginationX,y:Hn(w).themeConfigs.paginationY},null,8,["x","y"])):sl("v-if",!0)}}},gBn=Ps(dBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/slidev-theme-academic/global-top.vue"]]),BAt={render(){return[jb(gBn)]}},FAt={render(){return[]}},pBn={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},mBn=mu({__name:"PresenterMouse",setup(g){return os(Os),(w,T)=>{const D=RAt;return Hn(zNe).cursor?(tr(),Ls("div",pBn,[Pa(D,{class:"absolute",style:im({left:`${Hn(zNe).cursor.x}%`,top:`${Hn(zNe).cursor.y}%`})},null,8,["style"])])):sl("v-if",!0)}}}),vBn=Ps(mBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/PresenterMouse.vue"]]),bBn=mu({__name:"SlidesShow",props:{context:{type:String,required:!0}},setup(g){os(Os),jc(sv,()=>{var D,H;(D=sv.value)!=null&&D.meta&&sv.value.meta.preload!==!1&&(sv.value.meta.__preloaded=!0),(H=YNe.value)!=null&&H.meta&&YNe.value.meta.preload!==!1&&(YNe.value.meta.__preloaded=!0)},{immediate:!0});const w=Z_();ZT(()=>import("./DrawingLayer-dbba50eb.js"),[]).then(D=>w.value=D.default);const T=Fr(()=>r0.filter(D=>{var H;return((H=D.meta)==null?void 0:H.__preloaded)||D===sv.value}));return(D,H)=>(tr(),Ls(zu,null,[sl(" Global Bottom "),Pa(Hn(FAt)),sl(" Slides "),Pa(CMn,EF(Hn(sGn),{id:"slideshow",tag:"div"}),{default:no(()=>[(tr(!0),Ls(zu,null,wQ(Hn(T),U=>{var Q;return _Be((tr(),Ds(Hn(BBe),{key:U.path,is:U==null?void 0:U.component,clicks:U===Hn(sv)?Hn(d3):0,"clicks-elements":((Q=U.meta)==null?void 0:Q.__clicksElements)||[],"clicks-disabled":!1,class:Xd(Hn(RBe)(U)),route:U,context:g.context},null,8,["is","clicks","clicks-elements","class","route","context"])),[[$Ct,U===Hn(sv)]])}),128))]),_:1},16),sl(" Global Top "),Pa(Hn(BAt)),Hn(w)?(tr(),Ds(Hn(w),{key:0})):sl("v-if",!0),Hn(Rb)?sl("v-if",!0):(tr(),Ds(vBn,{key:1}))],64))}});const wBn=Ps(bBn,[["__scopeId","data-v-afb4231e"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/SlidesShow.vue"]]),yBn=mu({__name:"PrintStyle",setup(g){os(Os);function w(T,{slots:D}){if(D.default)return jb("style",D.default())}return(T,D)=>(tr(),Ds(w,null,{default:no(()=>[Du(" @page { size: "+p3(Hn(QT))+"px "+p3(Hn(MBe))+"px; margin: 0px; } ",1)]),_:1}))}}),jAt=Ps(yBn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/PrintStyle.vue"]]),_Bn=mu({__name:"Play",setup(g){os(Os),FPn();const w=Is();function T(U){var Q;ATt.value||((Q=U.target)==null?void 0:Q.id)==="slide-container"&&(U.screenX/window.innerWidth>.6?JT():eS())}aGn(w);const D=Fr(()=>KDn.value||ATt.value);Z_();const H=Z_();return ZT(()=>import("./DrawingControls-f024b6c9.js"),[]).then(U=>H.value=U.default),(U,Q)=>(tr(),Ls(zu,null,[Hn(CF)?(tr(),Ds(jAt,{key:0})):sl("v-if",!0),I("div",{id:"page-root",ref_key:"root",ref:w,class:"grid grid-cols-[1fr_max-content]",style:im(Hn(LBe))},[Pa(PAt,{class:"w-full h-full",style:im({background:"var(--slidev-slide-container-background, black)"}),width:Hn(CF)?Hn(tO).width.value:void 0,scale:Hn(fme),onPointerdown:T},{default:no(()=>[Pa(wBn,{context:"slide"})]),controls:no(()=>[I("div",{class:Xd(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[Hn(D)?"opacity-100 right-0":"opacity-0 p-2",Hn(aQ)?"pointer-events-none":""]])},[Pa(aBn,{class:"m-auto",persist:Hn(D)},null,8,["persist"])],2),!Hn(gu).drawings.presenterOnly&&!Hn(z8)&&Hn(H)?(tr(),Ds(Hn(H),{key:0,class:"ml-0"})):sl("v-if",!0)]),_:1},8,["style","width","scale"]),sl("v-if",!0)],4),Pa(hNn)],64))}}),xBn=Ps(_Bn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Play.vue"]]);/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function $At(g){return typeof g>"u"||g===null}function kBn(g){return typeof g=="object"&&g!==null}function EBn(g){return Array.isArray(g)?g:$At(g)?[]:[g]}function TBn(g,w){var T,D,H,U;if(w)for(U=Object.keys(w),T=0,D=U.length;T<D;T+=1)H=U[T],g[H]=w[H];return g}function SBn(g,w){var T="",D;for(D=0;D<w;D+=1)T+=g;return T}function CBn(g){return g===0&&Number.NEGATIVE_INFINITY===1/g}var ABn=$At,MBn=kBn,LBn=EBn,IBn=SBn,OBn=CBn,DBn=TBn,FBe={isNothing:ABn,isObject:MBn,toArray:LBn,repeat:IBn,isNegativeZero:OBn,extend:DBn};function HAt(g,w){var T="",D=g.reason||"(unknown reason)";return g.mark?(g.mark.name&&(T+='in "'+g.mark.name+'" '),T+="("+(g.mark.line+1)+":"+(g.mark.column+1)+")",!w&&g.mark.snippet&&(T+=`
`+g.mark.snippet),D+" "+T):D}function cQ(g,w){Error.call(this),this.name="YAMLException",this.reason=g,this.mark=w,this.message=HAt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}cQ.prototype=Object.create(Error.prototype);cQ.prototype.constructor=cQ;cQ.prototype.toString=function(w){return this.name+": "+HAt(this,w)};var qI=cQ,PBn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],NBn=["scalar","sequence","mapping"];function RBn(g){var w={};return g!==null&&Object.keys(g).forEach(function(T){g[T].forEach(function(D){w[String(D)]=T})}),w}function BBn(g,w){if(w=w||{},Object.keys(w).forEach(function(T){if(PBn.indexOf(T)===-1)throw new qI('Unknown option "'+T+'" is met in definition of "'+g+'" YAML type.')}),this.options=w,this.tag=g,this.kind=w.kind||null,this.resolve=w.resolve||function(){return!0},this.construct=w.construct||function(T){return T},this.instanceOf=w.instanceOf||null,this.predicate=w.predicate||null,this.represent=w.represent||null,this.representName=w.representName||null,this.defaultStyle=w.defaultStyle||null,this.multi=w.multi||!1,this.styleAliases=RBn(w.styleAliases||null),NBn.indexOf(this.kind)===-1)throw new qI('Unknown kind "'+this.kind+'" is specified for "'+g+'" YAML type.')}var sm=BBn;function jTt(g,w){var T=[];return g[w].forEach(function(D){var H=T.length;T.forEach(function(U,Q){U.tag===D.tag&&U.kind===D.kind&&U.multi===D.multi&&(H=Q)}),T[H]=D}),T}function FBn(){var g={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},w,T;function D(H){H.multi?(g.multi[H.kind].push(H),g.multi.fallback.push(H)):g[H.kind][H.tag]=g.fallback[H.tag]=H}for(w=0,T=arguments.length;w<T;w+=1)arguments[w].forEach(D);return g}function HRe(g){return this.extend(g)}HRe.prototype.extend=function(w){var T=[],D=[];if(w instanceof sm)D.push(w);else if(Array.isArray(w))D=D.concat(w);else if(w&&(Array.isArray(w.implicit)||Array.isArray(w.explicit)))w.implicit&&(T=T.concat(w.implicit)),w.explicit&&(D=D.concat(w.explicit));else throw new qI("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");T.forEach(function(U){if(!(U instanceof sm))throw new qI("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(U.loadKind&&U.loadKind!=="scalar")throw new qI("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(U.multi)throw new qI("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),D.forEach(function(U){if(!(U instanceof sm))throw new qI("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var H=Object.create(HRe.prototype);return H.implicit=(this.implicit||[]).concat(T),H.explicit=(this.explicit||[]).concat(D),H.compiledImplicit=jTt(H,"implicit"),H.compiledExplicit=jTt(H,"explicit"),H.compiledTypeMap=FBn(H.compiledImplicit,H.compiledExplicit),H};var jBn=HRe,$Bn=new sm("tag:yaml.org,2002:str",{kind:"scalar",construct:function(g){return g!==null?g:""}}),HBn=new sm("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(g){return g!==null?g:[]}}),zBn=new sm("tag:yaml.org,2002:map",{kind:"mapping",construct:function(g){return g!==null?g:{}}}),VBn=new jBn({explicit:[$Bn,HBn,zBn]});function qBn(g){if(g===null)return!0;var w=g.length;return w===1&&g==="~"||w===4&&(g==="null"||g==="Null"||g==="NULL")}function UBn(){return null}function GBn(g){return g===null}var WBn=new sm("tag:yaml.org,2002:null",{kind:"scalar",resolve:qBn,construct:UBn,predicate:GBn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function KBn(g){if(g===null)return!1;var w=g.length;return w===4&&(g==="true"||g==="True"||g==="TRUE")||w===5&&(g==="false"||g==="False"||g==="FALSE")}function YBn(g){return g==="true"||g==="True"||g==="TRUE"}function XBn(g){return Object.prototype.toString.call(g)==="[object Boolean]"}var QBn=new sm("tag:yaml.org,2002:bool",{kind:"scalar",resolve:KBn,construct:YBn,predicate:XBn,represent:{lowercase:function(g){return g?"true":"false"},uppercase:function(g){return g?"TRUE":"FALSE"},camelcase:function(g){return g?"True":"False"}},defaultStyle:"lowercase"});function ZBn(g){return 48<=g&&g<=57||65<=g&&g<=70||97<=g&&g<=102}function JBn(g){return 48<=g&&g<=55}function eFn(g){return 48<=g&&g<=57}function tFn(g){if(g===null)return!1;var w=g.length,T=0,D=!1,H;if(!w)return!1;if(H=g[T],(H==="-"||H==="+")&&(H=g[++T]),H==="0"){if(T+1===w)return!0;if(H=g[++T],H==="b"){for(T++;T<w;T++)if(H=g[T],H!=="_"){if(H!=="0"&&H!=="1")return!1;D=!0}return D&&H!=="_"}if(H==="x"){for(T++;T<w;T++)if(H=g[T],H!=="_"){if(!ZBn(g.charCodeAt(T)))return!1;D=!0}return D&&H!=="_"}if(H==="o"){for(T++;T<w;T++)if(H=g[T],H!=="_"){if(!JBn(g.charCodeAt(T)))return!1;D=!0}return D&&H!=="_"}}if(H==="_")return!1;for(;T<w;T++)if(H=g[T],H!=="_"){if(!eFn(g.charCodeAt(T)))return!1;D=!0}return!(!D||H==="_")}function nFn(g){var w=g,T=1,D;if(w.indexOf("_")!==-1&&(w=w.replace(/_/g,"")),D=w[0],(D==="-"||D==="+")&&(D==="-"&&(T=-1),w=w.slice(1),D=w[0]),w==="0")return 0;if(D==="0"){if(w[1]==="b")return T*parseInt(w.slice(2),2);if(w[1]==="x")return T*parseInt(w.slice(2),16);if(w[1]==="o")return T*parseInt(w.slice(2),8)}return T*parseInt(w,10)}function rFn(g){return Object.prototype.toString.call(g)==="[object Number]"&&g%1===0&&!FBe.isNegativeZero(g)}var iFn=new sm("tag:yaml.org,2002:int",{kind:"scalar",resolve:tFn,construct:nFn,predicate:rFn,represent:{binary:function(g){return g>=0?"0b"+g.toString(2):"-0b"+g.toString(2).slice(1)},octal:function(g){return g>=0?"0o"+g.toString(8):"-0o"+g.toString(8).slice(1)},decimal:function(g){return g.toString(10)},hexadecimal:function(g){return g>=0?"0x"+g.toString(16).toUpperCase():"-0x"+g.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),sFn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function aFn(g){return!(g===null||!sFn.test(g)||g[g.length-1]==="_")}function oFn(g){var w,T;return w=g.replace(/_/g,"").toLowerCase(),T=w[0]==="-"?-1:1,"+-".indexOf(w[0])>=0&&(w=w.slice(1)),w===".inf"?T===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:w===".nan"?NaN:T*parseFloat(w,10)}var cFn=/^[-+]?[0-9]+e/;function lFn(g,w){var T;if(isNaN(g))switch(w){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===g)switch(w){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===g)switch(w){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(FBe.isNegativeZero(g))return"-0.0";return T=g.toString(10),cFn.test(T)?T.replace("e",".e"):T}function uFn(g){return Object.prototype.toString.call(g)==="[object Number]"&&(g%1!==0||FBe.isNegativeZero(g))}var hFn=new sm("tag:yaml.org,2002:float",{kind:"scalar",resolve:aFn,construct:oFn,predicate:uFn,represent:lFn,defaultStyle:"lowercase"}),fFn=VBn.extend({implicit:[WBn,QBn,iFn,hFn]}),dFn=fFn,zAt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),VAt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function gFn(g){return g===null?!1:zAt.exec(g)!==null||VAt.exec(g)!==null}function pFn(g){var w,T,D,H,U,Q,ie,he=0,ne=null,Be,He,Ye;if(w=zAt.exec(g),w===null&&(w=VAt.exec(g)),w===null)throw new Error("Date resolve error");if(T=+w[1],D=+w[2]-1,H=+w[3],!w[4])return new Date(Date.UTC(T,D,H));if(U=+w[4],Q=+w[5],ie=+w[6],w[7]){for(he=w[7].slice(0,3);he.length<3;)he+="0";he=+he}return w[9]&&(Be=+w[10],He=+(w[11]||0),ne=(Be*60+He)*6e4,w[9]==="-"&&(ne=-ne)),Ye=new Date(Date.UTC(T,D,H,U,Q,ie,he)),ne&&Ye.setTime(Ye.getTime()-ne),Ye}function mFn(g){return g.toISOString()}var vFn=new sm("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:gFn,construct:pFn,instanceOf:Date,represent:mFn});function bFn(g){return g==="<<"||g===null}var wFn=new sm("tag:yaml.org,2002:merge",{kind:"scalar",resolve:bFn}),jBe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function yFn(g){if(g===null)return!1;var w,T,D=0,H=g.length,U=jBe;for(T=0;T<H;T++)if(w=U.indexOf(g.charAt(T)),!(w>64)){if(w<0)return!1;D+=6}return D%8===0}function _Fn(g){var w,T,D=g.replace(/[\r\n=]/g,""),H=D.length,U=jBe,Q=0,ie=[];for(w=0;w<H;w++)w%4===0&&w&&(ie.push(Q>>16&255),ie.push(Q>>8&255),ie.push(Q&255)),Q=Q<<6|U.indexOf(D.charAt(w));return T=H%4*6,T===0?(ie.push(Q>>16&255),ie.push(Q>>8&255),ie.push(Q&255)):T===18?(ie.push(Q>>10&255),ie.push(Q>>2&255)):T===12&&ie.push(Q>>4&255),new Uint8Array(ie)}function xFn(g){var w="",T=0,D,H,U=g.length,Q=jBe;for(D=0;D<U;D++)D%3===0&&D&&(w+=Q[T>>18&63],w+=Q[T>>12&63],w+=Q[T>>6&63],w+=Q[T&63]),T=(T<<8)+g[D];return H=U%3,H===0?(w+=Q[T>>18&63],w+=Q[T>>12&63],w+=Q[T>>6&63],w+=Q[T&63]):H===2?(w+=Q[T>>10&63],w+=Q[T>>4&63],w+=Q[T<<2&63],w+=Q[64]):H===1&&(w+=Q[T>>2&63],w+=Q[T<<4&63],w+=Q[64],w+=Q[64]),w}function kFn(g){return Object.prototype.toString.call(g)==="[object Uint8Array]"}var EFn=new sm("tag:yaml.org,2002:binary",{kind:"scalar",resolve:yFn,construct:_Fn,predicate:kFn,represent:xFn}),TFn=Object.prototype.hasOwnProperty,SFn=Object.prototype.toString;function CFn(g){if(g===null)return!0;var w=[],T,D,H,U,Q,ie=g;for(T=0,D=ie.length;T<D;T+=1){if(H=ie[T],Q=!1,SFn.call(H)!=="[object Object]")return!1;for(U in H)if(TFn.call(H,U))if(!Q)Q=!0;else return!1;if(!Q)return!1;if(w.indexOf(U)===-1)w.push(U);else return!1}return!0}function AFn(g){return g!==null?g:[]}var MFn=new sm("tag:yaml.org,2002:omap",{kind:"sequence",resolve:CFn,construct:AFn}),LFn=Object.prototype.toString;function IFn(g){if(g===null)return!0;var w,T,D,H,U,Q=g;for(U=new Array(Q.length),w=0,T=Q.length;w<T;w+=1){if(D=Q[w],LFn.call(D)!=="[object Object]"||(H=Object.keys(D),H.length!==1))return!1;U[w]=[H[0],D[H[0]]]}return!0}function OFn(g){if(g===null)return[];var w,T,D,H,U,Q=g;for(U=new Array(Q.length),w=0,T=Q.length;w<T;w+=1)D=Q[w],H=Object.keys(D),U[w]=[H[0],D[H[0]]];return U}var DFn=new sm("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:IFn,construct:OFn}),PFn=Object.prototype.hasOwnProperty;function NFn(g){if(g===null)return!0;var w,T=g;for(w in T)if(PFn.call(T,w)&&T[w]!==null)return!1;return!0}function RFn(g){return g!==null?g:{}}var BFn=new sm("tag:yaml.org,2002:set",{kind:"mapping",resolve:NFn,construct:RFn});dFn.extend({implicit:[vFn,wFn],explicit:[EFn,MFn,DFn,BFn]});function $Tt(g){return g===48?"\0":g===97?"\x07":g===98?"\b":g===116||g===9?" ":g===110?`
`:g===118?"\v":g===102?"\f":g===114?"\r":g===101?"\x1B":g===32?" ":g===34?'"':g===47?"/":g===92?"\\":g===78?"…":g===95?" ":g===76?"\u2028":g===80?"\u2029":""}var FFn=new Array(256),jFn=new Array(256);for(var lF=0;lF<256;lF++)FFn[lF]=$Tt(lF)?1:0,jFn[lF]=$Tt(lF);function $Fn(g){return Array.from(new Set(g))}function HTt(...g){let w,T,D;g.length===1?(w=0,D=1,[T]=g):[w,T,D=1]=g;const H=[];let U=w;for(;U<T;)H.push(U),U+=D||1;return H}function HFn(g,w){if(!w||w==="all"||w==="*")return HTt(1,g+1);const T=[];for(const D of w.split(/[,;]/g))if(!D.includes("-"))T.push(+D);else{const[H,U]=D.split("-",2);T.push(...HTt(+H,U?+U+1:g+1))}return $Fn(T).filter(D=>D<=g).sort((D,H)=>D-H)}function qAt(g){const w=Fr(()=>g.value.path),T=Fr(()=>r0.length-1),D=Fr(()=>parseInt(w.value.split(/\//g).slice(-1)[0])||1),H=Fr(()=>sve(D.value)),U=Fr(()=>r0.find(Ye=>Ye.path===`${D.value}`)),Q=Fr(()=>{var Ye,xt,ft;return(ft=(xt=(Ye=U.value)==null?void 0:Ye.meta)==null?void 0:xt.slide)==null?void 0:ft.id}),ie=Fr(()=>{var Ye,xt;return((xt=(Ye=U.value)==null?void 0:Ye.meta)==null?void 0:xt.layout)||(D.value===1?"cover":"default")}),he=Fr(()=>r0.find(Ye=>Ye.path===`${Math.min(r0.length,D.value+1)}`)),ne=Fr(()=>r0.filter(Ye=>{var xt,ft;return(ft=(xt=Ye.meta)==null?void 0:xt.slide)==null?void 0:ft.title}).reduce((Ye,xt)=>(HBe(Ye,xt),Ye),[])),Be=Fr(()=>zBe(ne.value,U.value)),He=Fr(()=>VBe(Be.value));return{route:g,path:w,total:T,currentPage:D,currentPath:H,currentRoute:U,currentSlideId:Q,currentLayout:ie,nextRoute:he,rawTree:ne,treeWithActiveStatuses:Be,tree:He}}function UAt(g,w,T){const D=Is(0);vp(()=>{Fb.afterEach(async()=>{await vp(),D.value+=1})});const H=Fr(()=>{var he,ne;return D.value,((ne=(he=w.value)==null?void 0:he.meta)==null?void 0:ne.__clicksElements)||[]}),U=Fr(()=>{var he,ne;return+(((ne=(he=w.value)==null?void 0:he.meta)==null?void 0:ne.clicks)??H.value.length)}),Q=Fr(()=>T.value<r0.length-1||g.value<U.value),ie=Fr(()=>T.value>1||g.value>0);return{clicks:g,clicksElements:H,clicksTotal:U,hasNext:Q,hasPrev:ie}}const zFn=["id"],VFn=mu({__name:"PrintSlideClick",props:{clicks:{type:Number,required:!0},clicksElements:{type:Array,required:!1},nav:{type:null,required:!0},route:{type:null,required:!0}},emits:["update:clicksElements"],setup(g,{emit:w}){const T=g,D=Y_(T,"clicksElements",w),H=Fr(()=>({height:`${MBe}px`,width:`${QT}px`})),U=Z_();ZT(()=>Promise.resolve().then(()=>WPn),void 0).then(ne=>U.value=ne.default);const Q=Fr(()=>T.clicks),ie=UAt(Q,T.nav.currentRoute,T.nav.currentPage),he=Fr(()=>`${T.route.path.toString().padStart(3,"0")}-${(Q.value+1).toString().padStart(2,"0")}`);return ow(Os,Ef({nav:{...T.nav,...ie},configs:gu,themeConfigs:Fr(()=>gu.themeConfig)})),(ne,Be)=>{var He;return tr(),Ls("div",{id:Hn(he),class:"print-slide-container",style:im(Hn(H))},[Pa(Hn(FAt)),Pa(Hn(BBe),{is:(He=g.route)==null?void 0:He.component,"clicks-elements":Hn(D),"onUpdate:clicksElements":Be[0]||(Be[0]=Ye=>pu(D)?D.value=Ye:null),clicks:Hn(Q),"clicks-disabled":!1,class:Xd(Hn(RBe)(g.route)),route:g.route},null,8,["is","clicks-elements","clicks","class","route"]),Hn(U)?(tr(),Ds(Hn(U),{key:0,page:+g.route.path},null,8,["page"])):sl("v-if",!0),Pa(Hn(BAt))],12,zFn)}}}),zTt=Ps(VFn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/PrintSlideClick.vue"]]),qFn=mu({__name:"PrintSlide",props:{route:{type:null,required:!0}},setup(g){var U;const w=g;os(Os);const T=Ef(((U=w.route.meta)==null?void 0:U.__clicksElements)||[]),D=Fr(()=>w.route),H=qAt(D);return(Q,ie)=>(tr(),Ls(zu,null,[Pa(zTt,{"clicks-elements":T,"onUpdate:clicksElements":ie[0]||(ie[0]=he=>T=he),clicks:0,nav:Hn(H),route:Hn(D)},null,8,["clicks-elements","nav","route"]),Hn(qX)?sl("v-if",!0):(tr(!0),Ls(zu,{key:0},wQ(T.length,he=>(tr(),Ds(zTt,{key:he,clicks:he,nav:Hn(H),route:Hn(D)},null,8,["clicks","nav","route"]))),128))],64))}}),UFn=Ps(qFn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/PrintSlide.vue"]]),GFn={id:"print-content"},WFn=mu({__name:"PrintContainer",props:{width:{type:Number,required:!0}},setup(g){const w=g;os(Os);const T=Fr(()=>w.width),D=Fr(()=>w.width/XT),H=Fr(()=>T.value/D.value),U=Fr(()=>H.value<XT?T.value/QT:D.value*XT/QT);let Q=r0.slice(0,-1);m3.value.query.range&&(Q=HFn(Q.length,m3.value.query.range).map(ne=>Q[ne-1]));const ie=Fr(()=>({"select-none":!gu.selectable,"slidev-code-line-numbers":gu.lineNumbers}));return ow(XCt,U),(he,ne)=>(tr(),Ls("div",{id:"print-container",class:Xd(Hn(ie))},[I("div",GFn,[(tr(!0),Ls(zu,null,wQ(Hn(Q),Be=>(tr(),Ds(UFn,{key:Be.path,route:Be},null,8,["route"]))),128))]),rS(he.$slots,"controls")],2))}});const KFn=Ps(WFn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/PrintContainer.vue"]]),YFn=mu({__name:"Print",setup(g){return os(Os),X8(()=>{CF?document.body.parentNode.classList.add("print"):document.body.parentNode.classList.remove("print")}),(w,T)=>(tr(),Ls(zu,null,[Hn(CF)?(tr(),Ds(jAt,{key:0})):sl("v-if",!0),I("div",{id:"page-root",class:"grid grid-cols-[1fr_max-content]",style:im(Hn(LBe))},[Pa(KFn,{class:"w-full h-full",style:im({background:"var(--slidev-slide-container-background, black)"}),width:Hn(tO).width.value},null,8,["style","width"])],4)],64))}});const XFn=Ps(YFn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/Print.vue"]]);const QFn={class:"slidev-layout end"},ZFn={__name:"end",setup(g){return os(Os),(w,T)=>(tr(),Ls("div",QFn," END "))}},JFn=Ps(ZFn,[["__scopeId","data-v-e532b98d"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/layouts/end.vue"]]),ejn={key:0},tjn=["href"],njn=mu({__name:"TextWithOptionalLink",props:{link:{type:String,required:!1},text:{type:String,required:!0}},setup(g){return os(Os),(w,T)=>g.link?(tr(),Ls("a",{key:1,href:g.link,rel:"noreferrer",target:"_blank"},p3(g.text),9,tjn)):(tr(),Ls("span",ejn,p3(g.text),1))}}),rjn=Ps(njn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/slidev-theme-academic/components/TextWithOptionalLink.vue"]]);function VTt(g){return g.startsWith("/")?"/projet-long/"+g.slice(1):g}function ijn(g,w=!1){const T=g&&["#","rgb","hsl"].some(H=>g.indexOf(H)===0),D={background:T?g:void 0,backgroundImage:T?void 0:g?w?`linear-gradient(#0009, #0009), url(${VTt(g)})`:`url("${VTt(g)}")`:void 0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"};return D.background||delete D.background,D}const sjn={class:"my-auto w-full"},ajn={key:0,class:"absolute bottom-12"},ojn={key:0},cjn={key:1,class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},ljn=mu({__name:"cover",props:{coverAuthor:{type:String,required:!1},coverAuthorUrl:{type:String,required:!1},coverBackgroundUrl:{type:String,required:!1},coverBackgroundSource:{type:String,required:!1},coverBackgroundSourceUrl:{type:String,required:!1},coverDate:{type:[String,Date],required:!1,default:new Date().toLocaleDateString()}},setup(g){const{coverBackgroundUrl:w}=g;os(Os);const T=Fr(()=>ijn(w,!0));return(D,H)=>{const U=rjn;return tr(),Ls("div",{class:"slidev-layout cover",style:im(Hn(T))},[I("div",sjn,[rS(D.$slots,"default")]),g.coverAuthor||g.coverDate?(tr(),Ls("div",ajn,[Pa(U,{link:g.coverAuthorUrl,text:g.coverAuthor},null,8,["link","text"]),g.coverDate?(tr(),Ls("span",ojn,p3(g.coverAuthor&&g.coverDate?`, ${g.coverDate}`:g.coverDate),1)):sl("v-if",!0)])):sl("v-if",!0),g.coverBackgroundSource?(tr(),Ls("div",cjn,[Pa(U,{link:g.coverBackgroundSourceUrl,text:g.coverBackgroundSource},null,8,["link","text"])])):sl("v-if",!0)],4)}}}),ujn=Ps(ljn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/slidev-theme-academic/layouts/cover.vue"]]),hjn=I("h1",{style:{"font-size":"2.3rem"}},"Sphere detection and multimedia applications",-1),fjn=I("span",{class:"absolute p-2 text-xs right-0 top-0 opacity-50"}," 2023-03-09 ",-1),djn=I("span",{class:"absolute bottom-12 opacity-50"}," Laurent Fainsin, Pierre-Eliot Jourdan, Raphaëlle Monville-Letu, Jade Neav ",-1),gjn={__name:"1",setup(g){const w={theme:"academic",class:"text-white",coverBackgroundUrl:"https://plus.unsplash.com/premium_photo-1673553304257-018c85e606f8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8",coverBackgroundSource:"unplash",coverBackgroundSourceUrl:"https://unsplash.com/photos/g4I556WCJT0",coverDate:"",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]}};return os(Os),(T,D)=>(tr(),Ds(ujn,Ic(xc(w)),{default:no(()=>[hjn,fjn,djn]),_:1},16))}},pjn=Ps(gjn,[["__file","/@slidev/slides/1.md"]]),mjn={class:"slidev-layout default"},vjn={__name:"default",setup(g){return os(Os),(w,T)=>(tr(),Ls("div",mjn,[rS(w.$slots,"default")]))}},$c=Ps(vjn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/layouts/default.vue"]]),bjn=I("h1",null,"Contents",-1),wjn=I("div",{class:"h-100 flex items-center text-2xl"},[I("ul",null,[I("li",null,"Types of spheres"),I("li",null,"Automatic sphere detection"),I("li",null,"Lighting intensity estimation"),I("li",null,"Lighting direction estimation")])],-1),yjn=I("figure",{class:"absolute top-15 right-25 w-35"},[I("img",{src:"https://images.pexels.com/photos/13849458/pexels-photo-13849458.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"}),I("figcaption",{class:"text-center"},"Architecture")],-1),_jn=I("figure",{class:"absolute top-40 right-75 w-50"},[I("img",{src:"https://images.pexels.com/photos/3945321/pexels-photo-3945321.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"}),I("figcaption",{class:"text-center"},"Cinema")],-1),xjn=I("figure",{class:"absolute top-72 right-30 w-45"},[I("img",{src:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTzg_yM_NbCIYXfZ55WdtFbAtaF7EUGSKSVBQ&usqp=CAU"}),I("figcaption",{class:"text-center"},"3D Reconstruction")],-1),kjn=I("p",null,[I("a",{href:"https://www.pexels.com",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"pexels")],-1),Ejn={__name:"2",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[bjn,wjn,yjn,_jn,xjn,kjn]),_:1},16))}},Tjn=Ps(Ejn,[["__file","/@slidev/slides/2.md"]]);const Sjn=I("h1",null,"Types of spheres",-1),Cjn={__name:"3",setup(g){const w={class:"text-white custombg"};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Sjn]),_:1},16))}},Ajn=Ps(Cjn,[["__file","/@slidev/slides/3.md"]]);const Mjn=I("h2",null,"Chrome sphere",-1),Ljn=I("p",null,[I("a",{href:"https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"CaveAcademy")],-1),Ijn={__name:"4",setup(g){const w={class:"text-white custombg2"};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Mjn,Ljn]),_:1},16))}},Ojn=Ps(Ijn,[["__file","/@slidev/slides/4.md"]]),Djn="/projet-long/assets/capture_hdri-558ee201.jpg",Pjn=I("h2",null,"Acquisition techniques",-1),Njn=I("div",{class:"h-full flex items-center"},[I("img",{src:Djn,class:"m-auto"})],-1),Rjn=I("p",null,[I("a",{href:"https://www.youtube.com/watch?v=kwGZa5qTeAI",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Louis du Mont")],-1),Bjn={__name:"5",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Pjn,Njn,Rjn]),_:1},16))}},Fjn=Ps(Bjn,[["__file","/@slidev/slides/5.md"]]),jjn="/projet-long/assets/image-026-cab891c1.png",$jn="/projet-long/assets/image-027-851016f1.png",Hjn=I("h2",null,"Realistic lighting",-1),zjn=I("div",{class:"grid grid-cols-2 col-auto m-auto h-100 gap-1"},[I("img",{src:jjn,class:"m-auto w-full"}),I("img",{src:$jn,class:"m-auto w-full"})],-1),Vjn=I("p",null,[I("a",{href:"https://dl.acm.org/doi/pdf/10.1145/1103900.1103914",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"High Dynamic Range Imaging, Paul Debevec")],-1),qjn={__name:"6",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Hjn,zjn,Vjn]),_:1},16))}},Ujn=Ps(qjn,[["__file","/@slidev/slides/6.md"]]);const Gjn=I("h2",null,"Shiny sphere",-1),Wjn=I("p",null,[I("a",{href:"https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"CaveAcademy")],-1),Kjn={__name:"7",setup(g){const w={class:"text-white custombg3"};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Gjn,Wjn]),_:1},16))}},Yjn=Ps(Kjn,[["__file","/@slidev/slides/7.md"]]);const Xjn=I("h2",null,"Matte sphere",-1),Qjn=I("p",null,[I("a",{href:"https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"CaveAcademy")],-1),Zjn={__name:"8",setup(g){const w={class:"text-white custombg4"};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Xjn,Qjn]),_:1},16))}},Jjn=Ps(Zjn,[["__file","/@slidev/slides/8.md"]]),e$n=I("h1",null,"Automatic sphere detection",-1),t$n=I("div",{class:"h-100 flex items-center text-2xl"},[I("ul",null,[I("li",null,"Model"),I("li",null,"Datasets"),I("li",null,"Results"),I("li",null,"Perspectives")])],-1),n$n={__name:"9",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[e$n,t$n]),_:1},16))}},r$n=Ps(n$n,[["__file","/@slidev/slides/9.md"]]),i$n="/projet-long/assets/DETR-502a1928.png",s$n=I("h2",null,"Model",-1),a$n=I("div",{class:"h-100 flex items-center"},[I("img",{src:i$n,class:"m-auto"})],-1),o$n=I("p",null,[I("a",{href:"https://arxiv.org/abs/2005.12872",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"End-to-End Object Detection with Transformers, arXiv:2005.12872")],-1),c$n={__name:"10",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[s$n,a$n,o$n]),_:1},16))}},l$n=Ps(c$n,[["__file","/@slidev/slides/10.md"]]),u$n="/projet-long/assets/antoine-9d7e060f.webp",h$n=I("h2",null,"Datasets (1/4)",-1),f$n=I("div",{class:"h-full flex items-center"},[I("img",{src:u$n,class:"m-auto h-100"})],-1),d$n=I("p",null,[I("span",{class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Antoine Laurent")],-1),g$n={__name:"11",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[h$n,f$n,d$n]),_:1},16))}},p$n=Ps(g$n,[["__file","/@slidev/slides/11.md"]]),m$n="/projet-long/assets/illumination-fa70816f.webp",v$n=I("h2",null,"Datasets (2/4)",-1),b$n=I("div",{class:"h-full flex items-center"},[I("img",{src:m$n,class:"m-auto h-100"})],-1),w$n=I("p",null,[I("a",{href:"https://projects.csail.mit.edu/illumination/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"A Dataset of Multi-Illumination Images in the Wild")],-1),y$n={__name:"12",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[v$n,b$n,w$n]),_:1},16))}},_$n=Ps(y$n,[["__file","/@slidev/slides/12.md"]]),x$n="/projet-long/assets/compositing-35894b78.webp",k$n=I("h2",null,"Datasets (3/4)",-1),E$n=I("div",{class:"h-full flex items-center"},[I("img",{src:x$n,class:"m-auto h-100"})],-1),T$n=I("p",null,[I("span",{class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},[I("a",{href:"https://cocodataset.org/#home"},"MS COCO"),Du(" compositing")])],-1),S$n={__name:"13",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[k$n,E$n,T$n]),_:1},16))}},C$n=Ps(S$n,[["__file","/@slidev/slides/13.md"]]),A$n="/projet-long/assets/render-ced76dae.webp",M$n=I("h2",null,"Datasets (4/4)",-1),L$n=I("div",{class:"h-full flex items-center"},[I("img",{src:A$n,class:"m-auto h-100"})],-1),I$n=I("span",{class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},[I("a",{href:"https://www.blender.org/"},"Blender"),Du(", "),I("a",{href:"https://polyhaven.com/"},"PolyHaven")],-1),O$n={__name:"14",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[M$n,L$n,I$n]),_:1},16))}},D$n=Ps(O$n,[["__file","/@slidev/slides/14.md"]]),P$n="/projet-long/assets/image2_0_0-48197acb.jpg",N$n=I("h2",null,"Results (1/8)",-1),R$n=I("div",{class:"h-full flex items-center"},[I("img",{src:P$n,class:"m-auto h-110"})],-1),B$n={__name:"15",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[N$n,R$n]),_:1},16))}},F$n=Ps(B$n,[["__file","/@slidev/slides/15.md"]]),j$n="/projet-long/assets/image2_0_2-f4dbe934.jpg",$$n=I("h2",null,"Results (2/8)",-1),H$n=I("div",{class:"h-full flex items-center"},[I("img",{src:j$n,class:"m-auto h-110"})],-1),z$n={__name:"16",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[$$n,H$n]),_:1},16))}},V$n=Ps(z$n,[["__file","/@slidev/slides/16.md"]]),q$n="/projet-long/assets/image2_0_3-c40b4b20.jpg",U$n=I("h2",null,"Results (3/8)",-1),G$n=I("div",{class:"h-full flex items-center"},[I("img",{src:q$n,class:"m-auto h-110"})],-1),W$n={__name:"17",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[U$n,G$n]),_:1},16))}},K$n=Ps(W$n,[["__file","/@slidev/slides/17.md"]]),Y$n="/projet-long/assets/image2_0_4-84f84004.jpg",X$n=I("h2",null,"Results (4/8)",-1),Q$n=I("div",{class:"h-full flex items-center"},[I("img",{src:Y$n,class:"m-auto h-110"})],-1),Z$n={__name:"18",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[X$n,Q$n]),_:1},16))}},J$n=Ps(Z$n,[["__file","/@slidev/slides/18.md"]]),eHn="/projet-long/assets/image2_0_5-f99d6af7.jpg",tHn=I("h2",null,"Results (5/8)",-1),nHn=I("div",{class:"h-full flex items-center"},[I("img",{src:eHn,class:"m-auto h-110"})],-1),rHn={__name:"19",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[tHn,nHn]),_:1},16))}},iHn=Ps(rHn,[["__file","/@slidev/slides/19.md"]]),sHn="/projet-long/assets/image2_1_0-24b24512.jpg",aHn=I("h2",null,"Results (6/8)",-1),oHn=I("div",{class:"h-full flex items-center"},[I("img",{src:sHn,class:"m-auto h-110"})],-1),cHn={__name:"20",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[aHn,oHn]),_:1},16))}},lHn=Ps(cHn,[["__file","/@slidev/slides/20.md"]]),uHn="/projet-long/assets/image2_1_1-139a72e8.jpg",hHn=I("h2",null,"Results (7/8)",-1),fHn=I("div",{class:"h-full flex items-center"},[I("img",{src:uHn,class:"m-auto h-110"})],-1),dHn={__name:"21",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[hHn,fHn]),_:1},16))}},gHn=Ps(dHn,[["__file","/@slidev/slides/21.md"]]),pHn="/projet-long/assets/image2_0_1-59644314.jpg",mHn=I("h2",null,"Results (8/8)",-1),vHn=I("div",{class:"h-full flex items-center"},[I("img",{src:pHn,class:"m-auto h-110"})],-1),bHn={__name:"22",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[mHn,vHn]),_:1},16))}},wHn=Ps(bHn,[["__file","/@slidev/slides/22.md"]]),yHn="/projet-long/assets/surface-imperfections-4aba3c98.png",_Hn=I("h2",null,"Perspectives",-1),xHn=I("div",{class:"h-full flex items-center"},[I("img",{src:yHn,class:"m-auto h-110"})],-1),kHn=I("p",null,[I("a",{href:"https://www.poliigon.com/textures/surface-imperfections",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Poliigon.com")],-1),EHn={__name:"23",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[_Hn,xHn,kHn]),_:1},16))}},THn=Ps(EHn,[["__file","/@slidev/slides/23.md"]]),SHn=I("h1",null,"Lighting intensity estimation",-1),CHn=I("div",{class:"h-100 flex items-center text-2xl"},[I("ul",null,[I("li",null,"Photometric Stereo"),I("li",null,"Lambert Law"),I("li",null,"Problem formulation"),I("li",null,"Algorithms"),I("li",null,"Generated images"),I("li",null,"Results"),I("li",null,"Perspectives")])],-1),AHn={__name:"24",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[SHn,CHn]),_:1},16))}},MHn=Ps(AHn,[["__file","/@slidev/slides/24.md"]]),LHn=I("h2",null,"Photometric Stereo",-1),IHn=I("div",{class:"h-100 flex items-center"},[I("img",{src:"https://upload.wikimedia.org/wikipedia/commons/b/b5/Photometric_stereo.png",class:"m-auto h-90"})],-1),OHn=I("ul",null,[I("li",null,"Estimate the surface normals of an object"),I("li",null,[Du("Shiny spheres "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(" direction of the lighting")])],-1),DHn=I("p",null,[I("a",{href:"https://en.wikipedia.org/wiki/Photometric_stereo",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Wikipedia")],-1),PHn={__name:"25",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[LHn,IHn,OHn,DHn]),_:1},16))}},NHn=Ps(PHn,[["__file","/@slidev/slides/25.md"]]),RHn="/projet-long/assets/stereo-3c5710f5.png",BHn=I("h2",null,"Lambert law",-1),FHn={class:"h-100 flex items-center"},jHn={class:"katex"},$Hn=I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"I"),I("mo",{stretchy:"false"},"("),I("mi",null,"q"),I("mo",{stretchy:"false"},")"),I("mo",null,"="),I("mi",null,"ρ"),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")"),I("mo",null,"×"),I("mover",{accent:"true"},[I("mi",null,"n"),I("mo",null,"⃗")]),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")"),I("mo",null,"⋅"),I("mover",{accent:"true"},[I("mi",null,"s"),I("mo",null,"⃗")]),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")")]),I("annotation",{encoding:"application/x-tex"},"I(q) = \\rho(Q) \\times \\vec{n}(Q) \\cdot \\vec{s}(Q)")])])],-1),HHn={class:"katex-html","aria-hidden":"true"},zHn=I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.03588em"}},"q"),I("span",{class:"mclose"},")"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})],-1),VHn=I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mord mathnormal"},"ρ"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal"},"Q"),I("span",{class:"mclose"},")"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},"×"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})],-1),qHn={class:"base"},UHn=I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}},null,-1),GHn={class:"mord accent"},WHn={class:"vlist-t"},KHn={class:"vlist-r"},YHn={class:"vlist",style:{height:"0.714em"}},XHn=I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord mathnormal"},"n")],-1),QHn={style:{top:"-3em"}},ZHn=I("span",{class:"pstrut",style:{height:"3em"}},null,-1),JHn={class:"accent-body",style:{left:"-0.2355em"}},ezn={class:"overlay",style:{height:"0.714em",width:"0.471em"}},tzn={xmlns:"http://www.w3.org/2000/svg",width:"0.471em",height:"0.714em",style:{width:"0.471em"},viewBox:"0 0 471 714",preserveAspectRatio:"xMinYMin"},nzn=I("path",{d:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`},null,-1),rzn=[nzn],izn=I("span",{class:"mopen"},"(",-1),szn=I("span",{class:"mord mathnormal"},"Q",-1),azn=I("span",{class:"mclose"},")",-1),ozn=I("span",{class:"mspace",style:{"margin-right":"0.2222em"}},null,-1),czn=I("span",{class:"mbin"},"⋅",-1),lzn=I("span",{class:"mspace",style:{"margin-right":"0.2222em"}},null,-1),uzn={class:"base"},hzn=I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}},null,-1),fzn={class:"mord accent"},dzn={class:"vlist-t"},gzn={class:"vlist-r"},pzn={class:"vlist",style:{height:"0.714em"}},mzn=I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord mathnormal"},"s")],-1),vzn={style:{top:"-3em"}},bzn=I("span",{class:"pstrut",style:{height:"3em"}},null,-1),wzn={class:"accent-body",style:{left:"-0.1799em"}},yzn={class:"overlay",style:{height:"0.714em",width:"0.471em"}},_zn={xmlns:"http://www.w3.org/2000/svg",width:"0.471em",height:"0.714em",style:{width:"0.471em"},viewBox:"0 0 471 714",preserveAspectRatio:"xMinYMin"},xzn=I("path",{d:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`},null,-1),kzn=[xzn],Ezn=I("span",{class:"mopen"},"(",-1),Tzn=I("span",{class:"mord mathnormal"},"Q",-1),Szn=I("span",{class:"mclose"},")",-1),Czn=I("li",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"ρ"),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")")]),I("annotation",{encoding:"application/x-tex"},"\\rho(Q)")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mord mathnormal"},"ρ"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal"},"Q"),I("span",{class:"mclose"},")")])])]),Du(" is the albedo")])],-1),Azn={class:"katex"},Mzn=I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mover",{accent:"true"},[I("mi",null,"n"),I("mo",null,"⃗")]),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")")]),I("annotation",{encoding:"application/x-tex"},"\\vec{n}(Q)")])])],-1),Lzn={class:"katex-html","aria-hidden":"true"},Izn={class:"base"},Ozn=I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}},null,-1),Dzn={class:"mord accent"},Pzn={class:"vlist-t"},Nzn={class:"vlist-r"},Rzn={class:"vlist",style:{height:"0.714em"}},Bzn=I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord mathnormal"},"n")],-1),Fzn={style:{top:"-3em"}},jzn=I("span",{class:"pstrut",style:{height:"3em"}},null,-1),$zn={class:"accent-body",style:{left:"-0.2355em"}},Hzn={class:"overlay",style:{height:"0.714em",width:"0.471em"}},zzn={xmlns:"http://www.w3.org/2000/svg",width:"0.471em",height:"0.714em",style:{width:"0.471em"},viewBox:"0 0 471 714",preserveAspectRatio:"xMinYMin"},Vzn=I("path",{d:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`},null,-1),qzn=[Vzn],Uzn=I("span",{class:"mopen"},"(",-1),Gzn=I("span",{class:"mord mathnormal"},"Q",-1),Wzn=I("span",{class:"mclose"},")",-1),Kzn={class:"katex"},Yzn=I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mover",{accent:"true"},[I("mi",null,"s"),I("mo",null,"⃗")]),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")"),I("mo",null,"="),I("mi",null,"ϕ"),I("mo",null,"×"),I("mover",{accent:"true"},[I("msub",null,[I("mi",null,"s"),I("mn",null,"0")]),I("mo",null,"⃗")]),I("mo",{stretchy:"false"},"("),I("mi",null,"Q"),I("mo",{stretchy:"false"},")")]),I("annotation",{encoding:"application/x-tex"},"\\vec{s}(Q) = \\phi \\times \\vec{s_0}(Q)")])])],-1),Xzn={class:"katex-html","aria-hidden":"true"},Qzn={class:"base"},Zzn=I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}},null,-1),Jzn={class:"mord accent"},eVn={class:"vlist-t"},tVn={class:"vlist-r"},nVn={class:"vlist",style:{height:"0.714em"}},rVn=I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord mathnormal"},"s")],-1),iVn={style:{top:"-3em"}},sVn=I("span",{class:"pstrut",style:{height:"3em"}},null,-1),aVn={class:"accent-body",style:{left:"-0.1799em"}},oVn={class:"overlay",style:{height:"0.714em",width:"0.471em"}},cVn={xmlns:"http://www.w3.org/2000/svg",width:"0.471em",height:"0.714em",style:{width:"0.471em"},viewBox:"0 0 471 714",preserveAspectRatio:"xMinYMin"},lVn=I("path",{d:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`},null,-1),uVn=[lVn],hVn=I("span",{class:"mopen"},"(",-1),fVn=I("span",{class:"mord mathnormal"},"Q",-1),dVn=I("span",{class:"mclose"},")",-1),gVn=I("span",{class:"mspace",style:{"margin-right":"0.2778em"}},null,-1),pVn=I("span",{class:"mrel"},"=",-1),mVn=I("span",{class:"mspace",style:{"margin-right":"0.2778em"}},null,-1),vVn=I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8889em","vertical-align":"-0.1944em"}}),I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},"×"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})],-1),bVn={class:"base"},wVn=I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}},null,-1),yVn={class:"mord accent"},_Vn={class:"vlist-t vlist-t2"},xVn={class:"vlist-r"},kVn={class:"vlist",style:{height:"0.714em"}},EVn=I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"s"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3011em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"0")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])])])])])],-1),TVn={style:{top:"-3em"}},SVn=I("span",{class:"pstrut",style:{height:"3em"}},null,-1),CVn={class:"accent-body",style:{left:"-0.2355em"}},AVn={class:"overlay",style:{height:"0.714em",width:"0.471em"}},MVn={xmlns:"http://www.w3.org/2000/svg",width:"0.471em",height:"0.714em",style:{width:"0.471em"},viewBox:"0 0 471 714",preserveAspectRatio:"xMinYMin"},LVn=I("path",{d:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`},null,-1),IVn=[LVn],OVn=I("span",{class:"vlist-s"},"",-1),DVn=I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])],-1),PVn=I("span",{class:"mopen"},"(",-1),NVn=I("span",{class:"mord mathnormal"},"Q",-1),RVn=I("span",{class:"mclose"},")",-1),BVn=I("img",{src:RHn,class:"h-100 absolute right-10 top-10"},null,-1),FVn=I("p",null,[I("a",{href:"https://www.laserfocusworld.com/lasers-sources/article/14035413/photometric-stereo-techniques-analyze-reflections-to-improve-image-contrast",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"LaserFocusWorld")],-1),jVn={__name:"26",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[BHn,I("div",FHn,[I("span",null,[I("p",null,[I("span",jHn,[$Hn,I("span",HHn,[zHn,VHn,I("span",qHn,[UHn,I("span",GHn,[I("span",WHn,[I("span",KHn,[I("span",YHn,[XHn,I("span",QHn,[ZHn,I("span",JHn,[I("span",ezn,[(tr(),Ls("svg",tzn,rzn))])])])])])])]),izn,szn,azn,ozn,czn,lzn]),I("span",uzn,[hzn,I("span",fzn,[I("span",dzn,[I("span",gzn,[I("span",pzn,[mzn,I("span",vzn,[bzn,I("span",wzn,[I("span",yzn,[(tr(),Ls("svg",_zn,kzn))])])])])])])]),Ezn,Tzn,Szn])])])]),I("ul",null,[Czn,I("li",null,[I("p",null,[I("span",Azn,[Mzn,I("span",Lzn,[I("span",Izn,[Ozn,I("span",Dzn,[I("span",Pzn,[I("span",Nzn,[I("span",Rzn,[Bzn,I("span",Fzn,[jzn,I("span",$zn,[I("span",Hzn,[(tr(),Ls("svg",zzn,qzn))])])])])])])]),Uzn,Gzn,Wzn])])]),Du(" is the normal vector")])]),I("li",null,[I("p",null,[I("span",Kzn,[Yzn,I("span",Xzn,[I("span",Qzn,[Zzn,I("span",Jzn,[I("span",eVn,[I("span",tVn,[I("span",nVn,[rVn,I("span",iVn,[sVn,I("span",aVn,[I("span",oVn,[(tr(),Ls("svg",cVn,uVn))])])])])])])]),hVn,fVn,dVn,gVn,pVn,mVn]),vVn,I("span",bVn,[wVn,I("span",yVn,[I("span",_Vn,[I("span",xVn,[I("span",kVn,[EVn,I("span",TVn,[SVn,I("span",CVn,[I("span",AVn,[(tr(),Ls("svg",MVn,IVn))])])])]),OVn]),DVn])]),PVn,NVn,RVn])])]),Du(" is the lighting direction")])])])])]),BVn,FVn]),_:1},16))}},$Vn=Ps(jVn,[["__file","/@slidev/slides/26.md"]]),HVn=I("h2",null,"Problem formulation",-1),zVn=I("div",{class:"h-100 flex items-center"},[I("span",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"N")]),I("annotation",{encoding:"application/x-tex"},"N")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"N")])])]),Du(" lightings, "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"P")]),I("annotation",{encoding:"application/x-tex"},"P")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.13889em"}},"P")])])]),Du(" pixels "),I("br"),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→"),I("mi",null,"I"),I("mo",null,"="),I("mi",null,"M"),I("mo",null,"×"),I("mi",null,"S"),I("mo",null,"×"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")])]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow I = M \\times S \\times D_{\\phi}")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.7667em","vertical-align":"-0.0833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"M"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},"×"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.7667em","vertical-align":"-0.0833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},"×"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.9694em","vertical-align":"-0.2861em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])])])])])]),I("ul",null,[I("li",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"I"),I("mo",null,"∈"),I("msup",null,[I("mi",{mathvariant:"double-struck"},"R"),I("mrow",null,[I("mi",null,"P"),I("mo",null,"×"),I("mi",null,"N")])]),I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"I \\in \\mathbb{R}^{P \\times N} \\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.7224em","vertical-align":"-0.0391em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"∈"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8413em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathbb"},"R"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8413em"}},[I("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"P"),I("span",{class:"mbin mtight"},"×"),I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N")])])])])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"→")])])]),Du(" gray scale levels "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(" known from image pixels")])]),I("li",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"M"),I("mo",null,"∈"),I("msup",null,[I("mi",{mathvariant:"double-struck"},"R"),I("mrow",null,[I("mi",null,"P"),I("mo",null,"×"),I("mn",null,"3")])]),I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"M \\in \\mathbb{R}^{P \\times 3} \\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.7224em","vertical-align":"-0.0391em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"M"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"∈"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8413em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathbb"},"R"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8413em"}},[I("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"P"),I("span",{class:"mbin mtight"},"×"),I("span",{class:"mord mtight"},"3")])])])])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"→")])])]),Du(" the albedo and the normals "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(),I("strong",null,"unknown")])]),I("li",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"S"),I("mo",null,"∈"),I("msup",null,[I("mi",{mathvariant:"double-struck"},"R"),I("mrow",null,[I("mn",null,"3"),I("mo",null,"×"),I("mi",null,"N")])]),I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"S \\in \\mathbb{R}^{3 \\times N} \\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.7224em","vertical-align":"-0.0391em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"∈"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8413em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathbb"},"R"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8413em"}},[I("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},"3"),I("span",{class:"mbin mtight"},"×"),I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N")])])])])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"→")])])]),Du(" direction of lightings "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(" known from shiny spheres")])]),I("li",null,[I("p",null,[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("msub",null,[I("mi",null,"D"),I("mrow",null,[I("mi",null,"p"),I("mi",null,"h"),I("mi",null,"i")])]),I("mo",null,"="),I("mi",null,"d"),I("mi",null,"i"),I("mi",null,"a"),I("mi",null,"g"),I("mo",{stretchy:"false"},"("),I("msub",null,[I("mi",null,"ϕ"),I("mn",null,"1")]),I("mo",{separator:"true"},","),I("mi",{mathvariant:"normal"},"."),I("mi",{mathvariant:"normal"},"."),I("mi",{mathvariant:"normal"},"."),I("mo",{separator:"true"},","),I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"N")]),I("mo",{stretchy:"false"},")"),I("mo",null,"∈"),I("msup",null,[I("mi",{mathvariant:"double-struck"},"R"),I("mrow",null,[I("mi",null,"N"),I("mo",null,"×"),I("mi",null,"N")])]),I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"D_{phi} = diag(\\phi_1,...,\\phi_{N}) \\in \\mathbb{R}^{ N \\times N} \\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.9694em","vertical-align":"-0.2861em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"p"),I("span",{class:"mord mathnormal mtight"},"hi")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mord mathnormal"},"d"),I("span",{class:"mord mathnormal"},"ia"),I("span",{class:"mord mathnormal",style:{"margin-right":"0.03588em"}},"g"),I("span",{class:"mopen"},"("),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3011em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"1")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])])])])]),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord"},"..."),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3283em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])])])])]),I("span",{class:"mclose"},")"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"∈"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8413em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathbb"},"R"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8413em"}},[I("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N"),I("span",{class:"mbin mtight"},"×"),I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N")])])])])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"→")])])]),Du(" intensities of lightings "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(),I("strong",null,"to be determined")])])])])],-1),VVn={__name:"27",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[HVn,zVn]),_:1},16))}},qVn=Ps(VVn,[["__file","/@slidev/slides/27.md"]]),UVn="/projet-long/assets/algo1-650821a6.svg",GVn=I("h2",null,"Algorithm 1",-1),WVn=I("div",{class:"h-100 flex items-center"},[I("img",{src:UVn,class:"m-auto h-72"}),I("span",null,[I("p",null,[Du("Intensities : "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",{stretchy:"false"},"["),I("msub",null,[I("mi",null,"ϕ"),I("mn",null,"1")]),I("mo",{separator:"true"},","),I("mi",{mathvariant:"normal"},"."),I("mi",{mathvariant:"normal"},"."),I("mi",{mathvariant:"normal"},"."),I("mo",{separator:"true"},","),I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"N")]),I("mo",{stretchy:"false"},"]")]),I("annotation",{encoding:"application/x-tex"},"[\\phi_1,...,\\phi_{N}]")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mopen"},"["),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3011em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"1")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])])])])]),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord"},"..."),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3283em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.10903em"}},"N")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.15em"}},[I("span")])])])])]),I("span",{class:"mclose"},"]")])])])]),I("p",null,[Du("New values : "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"j")]),I("mo",null,"±"),I("mi",null,"δ"),I("mo",{separator:"true"},","),I("mtext",null," "),I("mi",null,"j"),I("mo",null,"∈"),I("mo",{stretchy:"false"},"["),I("mn",null,"1"),I("mo",{separator:"true"},","),I("mi",{mathvariant:"normal"},"."),I("mi",{mathvariant:"normal"},"."),I("mo",{separator:"true"},","),I("mi",null,"N"),I("mo",{stretchy:"false"},"]")]),I("annotation",{encoding:"application/x-tex"},"\\phi_j \\plusmn \\delta, \\ j \\in [1,..,N]")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.9805em","vertical-align":"-0.2861em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3117em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.05724em"}},"j")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},"±"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.8889em","vertical-align":"-0.1944em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.03785em"}},"δ"),I("span",{class:"mpunct"},","),I("span",{class:"mspace"}," "),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05724em"}},"j"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"∈"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1em","vertical-align":"-0.25em"}}),I("span",{class:"mopen"},"["),I("span",{class:"mord"},"1"),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord"},".."),I("span",{class:"mpunct"},","),I("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"N"),I("span",{class:"mclose"},"]")])])])]),I("p",null,[Du("Estimation of the matrix "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,"M")]),I("annotation",{encoding:"application/x-tex"},"M")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"M")])])])]),I("p",null,[Du("Mean-squared error : "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mi",null,[I("munder",null,[I("mo",null,[I("mi",null,"min"),I("mo",null,"")]),I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"i")])])]),I("mi",{mathvariant:"normal"},""),I("mi",{mathvariant:"normal"},""),I("mi",null,"I"),I("mo",null,""),I("mi",null,"M"),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("mi",{mathvariant:"normal"},""),I("msubsup",null,[I("mi",{mathvariant:"normal"},""),I("mn",null,"2"),I("mn",null,"2")])]),I("annotation",{encoding:"application/x-tex"},"\\underset{\\phi_i}{\\min} || I - M S D_{\\phi} ||_2^2")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.6382em","vertical-align":"-0.8882em"}}),I("span",{class:"mord"},[I("span",{class:"mop op-limits"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.6679em"}},[I("span",{style:{top:"-2.3479em","margin-left":"0em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3281em"}},[I("span",{style:{top:"-2.357em","margin-left":"0em","margin-right":"0.0714em"}},[I("span",{class:"pstrut",style:{height:"2.5em"}}),I("span",{class:"sizing reset-size3 size1 mtight"},[I("span",{class:"mord mathnormal mtight"},"i")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.143em"}},[I("span")])])])])])])])]),I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",null,[I("span",{class:"mop"},[I("span",{class:"mop"},"min")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8882em"}},[I("span")])])])])]),I("span",{class:"mord"},""),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},""),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.1002em","vertical-align":"-0.2861em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"MS"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mord"},""),I("span",{class:"mord"},[I("span",{class:"mord"},""),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8141em"}},[I("span",{style:{top:"-2.4519em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"2")])]),I("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"2")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2481em"}},[I("span")])])])])])])])])]),I("p",null,[Du("Update the value of "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"j")])]),I("annotation",{encoding:"application/x-tex"},"\\phi_j")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.9805em","vertical-align":"-0.2861em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3117em"}},[I("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.05724em"}},"j")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])])])])])]),I("p",null,"Repeat previous steps")])],-1),KVn={__name:"28",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[GVn,WVn]),_:1},16))}},YVn=Ps(KVn,[["__file","/@slidev/slides/28.md"]]),XVn=I("h2",null,"Algorithm 2",-1),QVn=I("div",{class:"h-100 flex items-center"},[I("div",{class:"w-full"},[I("p",null,[Du("Algorithm 1 "),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(" too long")]),I("p",null,[I("span",{class:"katex-display"},[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[I("semantics",null,[I("mrow",null,[I("mi",null,"I"),I("mo",null,"="),I("mi",null,"M"),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("mtext",null,""),I("mo",null,"⟺"),I("mtext",null,""),I("mi",null,"M"),I("mo",null,"="),I("mi",null,"I"),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mo",{stretchy:"false"},")"),I("mo",null,"†")]),I("mo",null,"="),I("mi",null,"I"),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mo",{stretchy:"false"},")"),I("mi",null,"T")]),I("mo",{stretchy:"false"},"["),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("mo",{stretchy:"false"},")"),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mo",{stretchy:"false"},")"),I("mi",null,"T")]),I("msup",null,[I("mo",{stretchy:"false"},"]"),I("mrow",null,[I("mo",null,""),I("mn",null,"1")])])]),I("annotation",{encoding:"application/x-tex"},"I = M S D_{\\phi} \\iff M = I(S D_{\\phi})^\\dagger = I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1} ")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.9694em","vertical-align":"-0.2861em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"MS"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"⟺"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.6833em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.10903em"}},"M"),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.1852em","vertical-align":"-0.2861em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},")"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8991em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mbin mtight"},"†")])])])])])])]),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.1774em","vertical-align":"-0.2861em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},")"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mopen"},"[("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},")"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},")"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},"]"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"1")])])])])])])])])])])])])]),I("p",null,"Lambert law :"),I("p",null,[I("span",{class:"katex-display"},[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[I("semantics",null,[I("mtable",{rowspacing:"0.25em",columnalign:"right left",columnspacing:"0em"},[I("mtr",null,[I("mtd",null,[I("mstyle",{scriptlevel:"0",displaystyle:"true"},[I("mi",null,"I")])]),I("mtd",null,[I("mstyle",{scriptlevel:"0",displaystyle:"true"},[I("mrow",null,[I("mrow"),I("mo",null,"="),I("mi",null,"I"),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mo",{stretchy:"false"},")"),I("mi",null,"T")]),I("mo",{stretchy:"false"},"["),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("mo",{stretchy:"false"},")"),I("mo",{stretchy:"false"},"("),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mo",{stretchy:"false"},")"),I("mi",null,"T")]),I("msup",null,[I("mo",{stretchy:"false"},"]"),I("mrow",null,[I("mo",null,""),I("mn",null,"1")])]),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")])])])])]),I("mtr",null,[I("mtd",null,[I("mstyle",{scriptlevel:"0",displaystyle:"true"},[I("mrow")])]),I("mtd",null,[I("mstyle",{scriptlevel:"0",displaystyle:"true"},[I("mrow",null,[I("mrow"),I("mo",null,"="),I("mi",null,"I"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mi",null,"S"),I("mi",null,"T")]),I("msup",null,[I("mi",null,"S"),I("mrow",null,[I("mo",null,""),I("mi",null,"T")])]),I("msubsup",null,[I("mi",null,"D"),I("mi",null,"ϕ"),I("mrow",null,[I("mo",null,""),I("mn",null,"2")])]),I("msup",null,[I("mi",null,"S"),I("mrow",null,[I("mo",null,""),I("mn",null,"1")])]),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")])])])])])]),I("annotation",{encoding:"application/x-tex"},"\\begin{align*} I &= I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1} S D_{\\phi} \\\\ &= I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi} \\end{align*} ")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"3.1702em","vertical-align":"-1.3351em"}}),I("span",{class:"mord"},[I("span",{class:"mtable"},[I("span",{class:"col-align-r"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"1.8351em"}},[I("span",{style:{top:"-3.9438em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I")])]),I("span",{style:{top:"-2.3924em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord"})])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"1.3351em"}},[I("span")])])])]),I("span",{class:"col-align-l"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"1.8351em"}},[I("span",{style:{top:"-3.9438em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord"},[I("span",{class:"mord"}),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},")"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mopen"},"[("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},")"),I("span",{class:"mopen"},"("),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},")"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mclose"},[I("span",{class:"mclose"},"]"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"1")])])])])])])])]),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])])])]),I("span",{style:{top:"-2.3924em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"mord"},[I("span",{class:"mord"}),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mrel"},"="),I("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-2.4086em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])]),I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"2")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.4275em"}},[I("span")])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"1")])])])])])])])]),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"1.3351em"}},[I("span")])])])])])])])])])])]),I("p",null,"New residual :"),I("p",null,[I("span",{class:"katex-display"},[I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[I("semantics",null,[I("mrow",null,[I("mi",null,[I("munder",null,[I("mo",null,[I("mi",null,"min"),I("mo",null,"")]),I("msub",null,[I("mi",null,"ϕ"),I("mi",null,"i")])])]),I("mi",{mathvariant:"normal"},""),I("mi",{mathvariant:"normal"},""),I("mi",null,"I"),I("mo",null,""),I("mi",null,"I"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("msup",null,[I("mi",null,"S"),I("mi",null,"T")]),I("msup",null,[I("mi",null,"S"),I("mrow",null,[I("mo",null,""),I("mi",null,"T")])]),I("msubsup",null,[I("mi",null,"D"),I("mi",null,"ϕ"),I("mrow",null,[I("mo",null,""),I("mn",null,"2")])]),I("msup",null,[I("mi",null,"S"),I("mrow",null,[I("mo",null,""),I("mn",null,"1")])]),I("mi",null,"S"),I("msub",null,[I("mi",null,"D"),I("mi",null,"ϕ")]),I("mi",{mathvariant:"normal"},""),I("msubsup",null,[I("mi",{mathvariant:"normal"},""),I("mn",null,"2"),I("mn",null,"2")])]),I("annotation",{encoding:"application/x-tex"},"\\underset{\\phi_i}{\\min} || I - I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi} ||_2^2 ")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.6382em","vertical-align":"-0.8882em"}}),I("span",{class:"mord"},[I("span",{class:"mop op-limits"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.6679em"}},[I("span",{style:{top:"-2.3479em","margin-left":"0em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3281em"}},[I("span",{style:{top:"-2.357em","margin-left":"0em","margin-right":"0.0714em"}},[I("span",{class:"pstrut",style:{height:"2.5em"}}),I("span",{class:"sizing reset-size3 size1 mtight"},[I("span",{class:"mord mathnormal mtight"},"i")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.143em"}},[I("span")])])])])])])])]),I("span",{style:{top:"-3em"}},[I("span",{class:"pstrut",style:{height:"3em"}}),I("span",null,[I("span",{class:"mop"},[I("span",{class:"mop"},"min")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8882em"}},[I("span")])])])])]),I("span",{class:"mord"},""),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),I("span",{class:"mbin"},""),I("span",{class:"mspace",style:{"margin-right":"0.2222em"}})]),I("span",{class:"base"},[I("span",{class:"strut",style:{height:"1.3189em","vertical-align":"-0.4275em"}}),I("span",{class:"mord mathnormal",style:{"margin-right":"0.07847em"}},"I"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8913em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.13889em"}},"T")])])])])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-2.4086em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])]),I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"2")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.4275em"}},[I("span")])])])])]),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mtight"},""),I("span",{class:"mord mtight"},"1")])])])])])])])]),I("span",{class:"mord mathnormal",style:{"margin-right":"0.05764em"}},"S"),I("span",{class:"mord"},[I("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D"),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.3361em"}},[I("span",{style:{top:"-2.55em","margin-left":"-0.0278em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},[I("span",{class:"mord mathnormal mtight"},"ϕ")])])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.2861em"}},[I("span")])])])])]),I("span",{class:"mord"},""),I("span",{class:"mord"},[I("span",{class:"mord"},""),I("span",{class:"msupsub"},[I("span",{class:"vlist-t vlist-t2"},[I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.8641em"}},[I("span",{style:{top:"-2.453em","margin-left":"0em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"2")])]),I("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[I("span",{class:"pstrut",style:{height:"2.7em"}}),I("span",{class:"sizing reset-size6 size3 mtight"},[I("span",{class:"mord mtight"},"2")])])]),I("span",{class:"vlist-s"},"")]),I("span",{class:"vlist-r"},[I("span",{class:"vlist",style:{height:"0.247em"}},[I("span")])])])])])])])])])])])],-1),ZVn={__name:"29",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[XVn,QVn]),_:1},16))}},JVn=Ps(ZVn,[["__file","/@slidev/slides/29.md"]]),eqn="/projet-long/assets/im2-5ac3b010.jpg",tqn="/projet-long/assets/im3-d37a2ea1.jpg",nqn="/projet-long/assets/im4-50ae7e3f.jpg",rqn="/projet-long/assets/im5-907cc063.jpg",iqn="/projet-long/assets/im12-cb5945a7.jpg",sqn="/projet-long/assets/im13-304fe589.jpg",aqn="/projet-long/assets/im14-32ab0d89.jpg",oqn="/projet-long/assets/im15-179d6f0a.jpg",cqn=I("h2",null,"Generated images",-1),lqn=I("div",{class:"grid grid-cols-4 col-auto h-110 m-auto"},[I("img",{src:eqn,class:"m-auto h-50"}),I("img",{src:tqn,class:"m-auto h-50"}),I("img",{src:nqn,class:"m-auto h-50"}),I("img",{src:rqn,class:"m-auto h-50"}),I("img",{src:iqn,class:"m-auto h-50"}),I("img",{src:sqn,class:"m-auto h-50"}),I("img",{src:aqn,class:"m-auto h-50"}),I("img",{src:oqn,class:"m-auto h-50"})],-1),uqn={__name:"30",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[cqn,lqn]),_:1},16))}},hqn=Ps(uqn,[["__file","/@slidev/slides/30.md"]]),fqn="/projet-long/assets/residu_4-b5716e51.jpg",dqn="/projet-long/assets/residu2d_3-007916fe.jpg",gqn=I("h2",null,"Results (1/2)",-1),pqn=I("div",{class:"h-100 flex items-center"},[I("img",{src:fqn,class:"m-auto w-full"}),I("img",{src:dqn,class:"m-auto w-full"})],-1),mqn={__name:"31",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[gqn,pqn]),_:1},16))}},vqn=Ps(mqn,[["__file","/@slidev/slides/31.md"]]),bqn="/projet-long/assets/resultats_finaux-4f6a15e2.jpg",wqn=I("h2",null,"Results (2/2)",-1),yqn=I("div",{class:"h-100 flex items-center"},[I("img",{src:bqn,class:"m-auto h-110"})],-1),_qn={__name:"32",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[wqn,yqn]),_:1},16))}},xqn=Ps(_qn,[["__file","/@slidev/slides/32.md"]]),kqn="/projet-long/assets/real_images-b0494071.svg",Eqn=I("h2",null,"Real images",-1),Tqn=I("div",{class:"h-full flex items-center"},[I("img",{src:kqn,class:"m-auto h-full"})],-1),Sqn={__name:"33",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Eqn,Tqn]),_:1},16))}},Cqn=Ps(Sqn,[["__file","/@slidev/slides/33.md"]]),Aqn="/projet-long/assets/comete-29b731f4.svg",Mqn="/projet-long/assets/stsernin-24d0e641.svg",Lqn=I("h2",null,"Results",-1),Iqn=I("div",{class:"h-100 flex items-center"},[I("img",{src:Aqn,class:"m-auto w-full"}),I("img",{src:Mqn,class:"m-auto w-full"})],-1),Oqn={__name:"34",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Lqn,Iqn]),_:1},16))}},Dqn=Ps(Oqn,[["__file","/@slidev/slides/34.md"]]),Pqn="/projet-long/assets/3d_estimation-d1819573.svg",Nqn=I("h2",null,"Perspectives",-1),Rqn=I("p",null,"3D reconstruction",-1),Bqn=I("img",{src:Pqn,class:"m-auto w-full"},null,-1),Fqn={__name:"35",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[Nqn,Rqn,Bqn]),_:1},16))}},jqn=Ps(Fqn,[["__file","/@slidev/slides/35.md"]]),$qn=I("h1",null,"Lighting direction estimation",-1),Hqn=I("div",{class:"h-100 flex items-center text-2xl"},[I("ul",null,[I("li",null,"Estimation of lighting vector"),I("li",null,"Neural Network"),I("li",null,"Real data"),I("li",null,"Generated data"),I("li",null,"Results"),I("li",null,"Perspectives")])],-1),zqn={__name:"36",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[$qn,Hqn]),_:1},16))}},Vqn=Ps(zqn,[["__file","/@slidev/slides/36.md"]]);var FI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qqn(g){return g&&g.__esModule&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g}var Nme={},Uqn={get exports(){return Nme},set exports(g){Nme=g}};(function(g,w){(function(T,D){g.exports=D()})(FI,function(){function T(s){for(var o=[],f=1;f<arguments.length;f++)o[f-1]=arguments[f];var m=Array.from(typeof s=="string"?[s]:s);m[m.length-1]=m[m.length-1].replace(/\r?\n([\t ]*)$/,"");var y=m.reduce(function(A,O){var j=O.match(/\n([\t ]+|(?!\s).)/g);return j?A.concat(j.map(function(z){var V,Y;return(Y=(V=z.match(/[\t ]/g))===null||V===void 0?void 0:V.length)!==null&&Y!==void 0?Y:0})):A},[]);if(y.length){var k=new RegExp(`
[ ]{`+Math.min.apply(Math,y)+"}","g");m=m.map(function(A){return A.replace(k,`
`)})}m[0]=m[0].replace(/^\r?\n/,"");var v=m[0];return o.forEach(function(A,O){var j=v.match(/(?:^|\n)( *)$/),z=j?j[1]:"",V=A;typeof A=="string"&&A.includes(`
`)&&(V=String(A).split(`
`).map(function(Y,G){return G===0?Y:""+z+Y}).join(`
`)),v+=V+m[O+1]}),v}var D=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof FI<"u"?FI:typeof self<"u"?self:{};function H(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var U={},Q={get exports(){return U},set exports(s){U=s}};(function(s,o){(function(f,m){s.exports=m()})(D,function(){var f=1e3,m=6e4,y=36e5,k="millisecond",v="second",A="minute",O="hour",j="day",z="week",V="month",Y="quarter",G="year",J="date",ce="Invalid Date",me=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_e=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,we={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(qe){var ae=["th","st","nd","rd"],Qe=qe%100;return"["+qe+(ae[(Qe-20)%10]||ae[Qe]||ae[0])+"]"}},Se=function(qe,ae,Qe){var Ce=String(qe);return!Ce||Ce.length>=ae?qe:""+Array(ae+1-Ce.length).join(Qe)+qe},Oe={s:Se,z:function(qe){var ae=-qe.utcOffset(),Qe=Math.abs(ae),Ce=Math.floor(Qe/60),nt=Qe%60;return(ae<=0?"+":"-")+Se(Ce,2,"0")+":"+Se(nt,2,"0")},m:function qe(ae,Qe){if(ae.date()<Qe.date())return-qe(Qe,ae);var Ce=12*(Qe.year()-ae.year())+(Qe.month()-ae.month()),nt=ae.clone().add(Ce,V),Ee=Qe-nt<0,kt=ae.clone().add(Ce+(Ee?-1:1),V);return+(-(Ce+(Qe-nt)/(Ee?nt-kt:kt-nt))||0)},a:function(qe){return qe<0?Math.ceil(qe)||0:Math.floor(qe)},p:function(qe){return{M:V,y:G,w:z,d:j,D:J,h:O,m:A,s:v,ms:k,Q:Y}[qe]||String(qe||"").toLowerCase().replace(/s$/,"")},u:function(qe){return qe===void 0}},De="en",Ve={};Ve[De]=we;var ke=function(qe){return qe instanceof Ne},Ie=function qe(ae,Qe,Ce){var nt;if(!ae)return De;if(typeof ae=="string"){var Ee=ae.toLowerCase();Ve[Ee]&&(nt=Ee),Qe&&(Ve[Ee]=Qe,nt=Ee);var kt=ae.split("-");if(!nt&&kt.length>1)return qe(kt[0])}else{var Ot=ae.name;Ve[Ot]=ae,nt=Ot}return!Ce&&nt&&(De=nt),nt||!Ce&&De},ge=function(qe,ae){if(ke(qe))return qe.clone();var Qe=typeof ae=="object"?ae:{};return Qe.date=qe,Qe.args=arguments,new Ne(Qe)},Me=Oe;Me.l=Ie,Me.i=ke,Me.w=function(qe,ae){return ge(qe,{locale:ae.$L,utc:ae.$u,x:ae.$x,$offset:ae.$offset})};var Ne=function(){function qe(Qe){this.$L=Ie(Qe.locale,null,!0),this.parse(Qe)}var ae=qe.prototype;return ae.parse=function(Qe){this.$d=function(Ce){var nt=Ce.date,Ee=Ce.utc;if(nt===null)return new Date(NaN);if(Me.u(nt))return new Date;if(nt instanceof Date)return new Date(nt);if(typeof nt=="string"&&!/Z$/i.test(nt)){var kt=nt.match(me);if(kt){var Ot=kt[2]-1||0,Vt=(kt[7]||"0").substring(0,3);return Ee?new Date(Date.UTC(kt[1],Ot,kt[3]||1,kt[4]||0,kt[5]||0,kt[6]||0,Vt)):new Date(kt[1],Ot,kt[3]||1,kt[4]||0,kt[5]||0,kt[6]||0,Vt)}}return new Date(nt)}(Qe),this.$x=Qe.x||{},this.init()},ae.init=function(){var Qe=this.$d;this.$y=Qe.getFullYear(),this.$M=Qe.getMonth(),this.$D=Qe.getDate(),this.$W=Qe.getDay(),this.$H=Qe.getHours(),this.$m=Qe.getMinutes(),this.$s=Qe.getSeconds(),this.$ms=Qe.getMilliseconds()},ae.$utils=function(){return Me},ae.isValid=function(){return this.$d.toString()!==ce},ae.isSame=function(Qe,Ce){var nt=ge(Qe);return this.startOf(Ce)<=nt&&nt<=this.endOf(Ce)},ae.isAfter=function(Qe,Ce){return ge(Qe)<this.startOf(Ce)},ae.isBefore=function(Qe,Ce){return this.endOf(Ce)<ge(Qe)},ae.$g=function(Qe,Ce,nt){return Me.u(Qe)?this[Ce]:this.set(nt,Qe)},ae.unix=function(){return Math.floor(this.valueOf()/1e3)},ae.valueOf=function(){return this.$d.getTime()},ae.startOf=function(Qe,Ce){var nt=this,Ee=!!Me.u(Ce)||Ce,kt=Me.p(Qe),Ot=function(Ft,$t){var Pt=Me.w(nt.$u?Date.UTC(nt.$y,$t,Ft):new Date(nt.$y,$t,Ft),nt);return Ee?Pt:Pt.endOf(j)},Vt=function(Ft,$t){return Me.w(nt.toDate()[Ft].apply(nt.toDate("s"),(Ee?[0,0,0,0]:[23,59,59,999]).slice($t)),nt)},Rt=this.$W,Gt=this.$M,_n=this.$D,On="set"+(this.$u?"UTC":"");switch(kt){case G:return Ee?Ot(1,0):Ot(31,11);case V:return Ee?Ot(1,Gt):Ot(0,Gt+1);case z:var Dt=this.$locale().weekStart||0,ai=(Rt<Dt?Rt+7:Rt)-Dt;return Ot(Ee?_n-ai:_n+(6-ai),Gt);case j:case J:return Vt(On+"Hours",0);case O:return Vt(On+"Minutes",1);case A:return Vt(On+"Seconds",2);case v:return Vt(On+"Milliseconds",3);default:return this.clone()}},ae.endOf=function(Qe){return this.startOf(Qe,!1)},ae.$set=function(Qe,Ce){var nt,Ee=Me.p(Qe),kt="set"+(this.$u?"UTC":""),Ot=(nt={},nt[j]=kt+"Date",nt[J]=kt+"Date",nt[V]=kt+"Month",nt[G]=kt+"FullYear",nt[O]=kt+"Hours",nt[A]=kt+"Minutes",nt[v]=kt+"Seconds",nt[k]=kt+"Milliseconds",nt)[Ee],Vt=Ee===j?this.$D+(Ce-this.$W):Ce;if(Ee===V||Ee===G){var Rt=this.clone().set(J,1);Rt.$d[Ot](Vt),Rt.init(),this.$d=Rt.set(J,Math.min(this.$D,Rt.daysInMonth())).$d}else Ot&&this.$d[Ot](Vt);return this.init(),this},ae.set=function(Qe,Ce){return this.clone().$set(Qe,Ce)},ae.get=function(Qe){return this[Me.p(Qe)]()},ae.add=function(Qe,Ce){var nt,Ee=this;Qe=Number(Qe);var kt=Me.p(Ce),Ot=function(Gt){var _n=ge(Ee);return Me.w(_n.date(_n.date()+Math.round(Gt*Qe)),Ee)};if(kt===V)return this.set(V,this.$M+Qe);if(kt===G)return this.set(G,this.$y+Qe);if(kt===j)return Ot(1);if(kt===z)return Ot(7);var Vt=(nt={},nt[A]=m,nt[O]=y,nt[v]=f,nt)[kt]||1,Rt=this.$d.getTime()+Qe*Vt;return Me.w(Rt,this)},ae.subtract=function(Qe,Ce){return this.add(-1*Qe,Ce)},ae.format=function(Qe){var Ce=this,nt=this.$locale();if(!this.isValid())return nt.invalidDate||ce;var Ee=Qe||"YYYY-MM-DDTHH:mm:ssZ",kt=Me.z(this),Ot=this.$H,Vt=this.$m,Rt=this.$M,Gt=nt.weekdays,_n=nt.months,On=function($t,Pt,qt,et){return $t&&($t[Pt]||$t(Ce,Ee))||qt[Pt].slice(0,et)},Dt=function($t){return Me.s(Ot%12||12,$t,"0")},ai=nt.meridiem||function($t,Pt,qt){var et=$t<12?"AM":"PM";return qt?et.toLowerCase():et},Ft={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Rt+1,MM:Me.s(Rt+1,2,"0"),MMM:On(nt.monthsShort,Rt,_n,3),MMMM:On(_n,Rt),D:this.$D,DD:Me.s(this.$D,2,"0"),d:String(this.$W),dd:On(nt.weekdaysMin,this.$W,Gt,2),ddd:On(nt.weekdaysShort,this.$W,Gt,3),dddd:Gt[this.$W],H:String(Ot),HH:Me.s(Ot,2,"0"),h:Dt(1),hh:Dt(2),a:ai(Ot,Vt,!0),A:ai(Ot,Vt,!1),m:String(Vt),mm:Me.s(Vt,2,"0"),s:String(this.$s),ss:Me.s(this.$s,2,"0"),SSS:Me.s(this.$ms,3,"0"),Z:kt};return Ee.replace(_e,function($t,Pt){return Pt||Ft[$t]||kt.replace(":","")})},ae.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ae.diff=function(Qe,Ce,nt){var Ee,kt=Me.p(Ce),Ot=ge(Qe),Vt=(Ot.utcOffset()-this.utcOffset())*m,Rt=this-Ot,Gt=Me.m(this,Ot);return Gt=(Ee={},Ee[G]=Gt/12,Ee[V]=Gt,Ee[Y]=Gt/3,Ee[z]=(Rt-Vt)/6048e5,Ee[j]=(Rt-Vt)/864e5,Ee[O]=Rt/y,Ee[A]=Rt/m,Ee[v]=Rt/f,Ee)[kt]||Rt,nt?Gt:Me.a(Gt)},ae.daysInMonth=function(){return this.endOf(V).$D},ae.$locale=function(){return Ve[this.$L]},ae.locale=function(Qe,Ce){if(!Qe)return this.$L;var nt=this.clone(),Ee=Ie(Qe,Ce,!0);return Ee&&(nt.$L=Ee),nt},ae.clone=function(){return Me.w(this.$d,this)},ae.toDate=function(){return new Date(this.valueOf())},ae.toJSON=function(){return this.isValid()?this.toISOString():null},ae.toISOString=function(){return this.$d.toISOString()},ae.toString=function(){return this.$d.toUTCString()},qe}(),xe=Ne.prototype;return ge.prototype=xe,[["$ms",k],["$s",v],["$m",A],["$H",O],["$W",j],["$M",V],["$y",G],["$D",J]].forEach(function(qe){xe[qe[1]]=function(ae){return this.$g(ae,qe[0],qe[1])}}),ge.extend=function(qe,ae){return qe.$i||(qe(ae,Ne,ge),qe.$i=!0),ge},ge.locale=Ie,ge.isDayjs=ke,ge.unix=function(qe){return ge(1e3*qe)},ge.en=Ve[De],ge.Ls=Ve,ge.p={},ge})})(Q);const ie=U,he={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},ne={trace:(...s)=>{},debug:(...s)=>{},info:(...s)=>{},warn:(...s)=>{},error:(...s)=>{},fatal:(...s)=>{}},Be=function(s="fatal"){let o=he.fatal;typeof s=="string"?(s=s.toLowerCase(),s in he&&(o=he[s])):typeof s=="number"&&(o=s),ne.trace=()=>{},ne.debug=()=>{},ne.info=()=>{},ne.warn=()=>{},ne.error=()=>{},ne.fatal=()=>{},o<=he.fatal&&(ne.fatal=console.error?console.error.bind(console,He("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",He("FATAL"))),o<=he.error&&(ne.error=console.error?console.error.bind(console,He("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",He("ERROR"))),o<=he.warn&&(ne.warn=console.warn?console.warn.bind(console,He("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",He("WARN"))),o<=he.info&&(ne.info=console.info?console.info.bind(console,He("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",He("INFO"))),o<=he.debug&&(ne.debug=console.debug?console.debug.bind(console,He("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",He("DEBUG"))),o<=he.trace&&(ne.trace=console.debug?console.debug.bind(console,He("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",He("TRACE")))},He=s=>`%c${ie().format("ss.SSS")} : ${s} : `;var Ye={};Object.defineProperty(Ye,"__esModule",{value:!0});var xt=Ye.sanitizeUrl=void 0,ft=/^([^\w]*)(javascript|data|vbscript)/im,Jt=/&#(\w+)(^\w|;)?/g,Cn=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,lr=/^([^:]+):/gm,Dn=[".","/"];function Vn(s){return Dn.indexOf(s[0])>-1}function ur(s){return s.replace(Jt,function(o,f){return String.fromCharCode(f)})}function ti(s){var o=ur(s||"").replace(Cn,"").trim();if(!o)return"about:blank";if(Vn(o))return o;var f=o.match(lr);if(!f)return o;var m=f[0];return ft.test(m)?"about:blank":o}xt=Ye.sanitizeUrl=ti;function xi(s,o){return s==null||o==null?NaN:s<o?-1:s>o?1:s>=o?0:NaN}function gs(s,o){return s==null||o==null?NaN:o<s?-1:o>s?1:o>=s?0:NaN}function jr(s){let o,f,m;s.length!==2?(o=xi,f=(A,O)=>xi(s(A),O),m=(A,O)=>s(A)-O):(o=s===xi||s===gs?s:ns,f=s,m=s);function y(A,O,j=0,z=A.length){if(j<z){if(o(O,O)!==0)return z;do{const V=j+z>>>1;f(A[V],O)<0?j=V+1:z=V}while(j<z)}return j}function k(A,O,j=0,z=A.length){if(j<z){if(o(O,O)!==0)return z;do{const V=j+z>>>1;f(A[V],O)<=0?j=V+1:z=V}while(j<z)}return j}function v(A,O,j=0,z=A.length){const V=y(A,O,j,z-1);return V>j&&m(A[V-1],O)>-m(A[V],O)?V-1:V}return{left:y,center:v,right:k}}function ns(){return 0}function Ks(s){return s===null?NaN:+s}const Ss=jr(xi).right;jr(Ks).center;const Kc=Ss;class Zl extends Map{constructor(o,f=Va){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:f}}),o!=null)for(const[m,y]of o)this.set(m,y)}get(o){return super.get(xl(this,o))}has(o){return super.has(xl(this,o))}set(o,f){return super.set(eh(this,o),f)}delete(o){return super.delete(Ns(this,o))}}function xl({_intern:s,_key:o},f){const m=o(f);return s.has(m)?s.get(m):f}function eh({_intern:s,_key:o},f){const m=o(f);return s.has(m)?s.get(m):(s.set(m,f),f)}function Ns({_intern:s,_key:o},f){const m=o(f);return s.has(m)&&(f=s.get(m),s.delete(m)),f}function Va(s){return s!==null&&typeof s=="object"?s.valueOf():s}var kc=Math.sqrt(50),vu=Math.sqrt(10),Ng=Math.sqrt(2);function X0(s,o,f){var m,y=-1,k,v,A;if(o=+o,s=+s,f=+f,s===o&&f>0)return[s];if((m=o<s)&&(k=s,s=o,o=k),(A=Rg(s,o,f))===0||!isFinite(A))return[];if(A>0){let O=Math.round(s/A),j=Math.round(o/A);for(O*A<s&&++O,j*A>o&&--j,v=new Array(k=j-O+1);++y<k;)v[y]=(O+y)*A}else{A=-A;let O=Math.round(s*A),j=Math.round(o*A);for(O/A<s&&++O,j/A>o&&--j,v=new Array(k=j-O+1);++y<k;)v[y]=(O+y)/A}return m&&v.reverse(),v}function Rg(s,o,f){var m=(o-s)/Math.max(0,f),y=Math.floor(Math.log(m)/Math.LN10),k=m/Math.pow(10,y);return y>=0?(k>=kc?10:k>=vu?5:k>=Ng?2:1)*Math.pow(10,y):-Math.pow(10,-y)/(k>=kc?10:k>=vu?5:k>=Ng?2:1)}function fw(s,o,f){var m=Math.abs(o-s)/Math.max(0,f),y=Math.pow(10,Math.floor(Math.log(m)/Math.LN10)),k=m/y;return k>=kc?y*=10:k>=vu?y*=5:k>=Ng&&(y*=2),o<s?-y:y}function Lr(s,o){let f;if(o===void 0)for(const m of s)m!=null&&(f<m||f===void 0&&m>=m)&&(f=m);else{let m=-1;for(let y of s)(y=o(y,++m,s))!=null&&(f<y||f===void 0&&y>=y)&&(f=y)}return f}function Hs(s,o){let f;if(o===void 0)for(const m of s)m!=null&&(f>m||f===void 0&&m>=m)&&(f=m);else{let m=-1;for(let y of s)(y=o(y,++m,s))!=null&&(f>y||f===void 0&&y>=y)&&(f=y)}return f}function bs(s){return s}var qs=1,Hc=2,al=3,Io=4,To=1e-6;function Et(s){return"translate("+s+",0)"}function cn(s){return"translate(0,"+s+")"}function ar(s){return o=>+s(o)}function vi(s,o){return o=Math.max(0,s.bandwidth()-o*2)/2,s.round()&&(o=Math.round(o)),f=>+s(f)+o}function ii(){return!this.__axis}function Qi(s,o){var f=[],m=null,y=null,k=6,v=6,A=3,O=typeof window<"u"&&window.devicePixelRatio>1?0:.5,j=s===qs||s===Io?-1:1,z=s===Io||s===Hc?"x":"y",V=s===qs||s===al?Et:cn;function Y(G){var J=m??(o.ticks?o.ticks.apply(o,f):o.domain()),ce=y??(o.tickFormat?o.tickFormat.apply(o,f):bs),me=Math.max(k,0)+A,_e=o.range(),we=+_e[0]+O,Se=+_e[_e.length-1]+O,Oe=(o.bandwidth?vi:ar)(o.copy(),O),De=G.selection?G.selection():G,Ve=De.selectAll(".domain").data([null]),ke=De.selectAll(".tick").data(J,o).order(),Ie=ke.exit(),ge=ke.enter().append("g").attr("class","tick"),Me=ke.select("line"),Ne=ke.select("text");Ve=Ve.merge(Ve.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ke=ke.merge(ge),Me=Me.merge(ge.append("line").attr("stroke","currentColor").attr(z+"2",j*k)),Ne=Ne.merge(ge.append("text").attr("fill","currentColor").attr(z,j*me).attr("dy",s===qs?"0em":s===al?"0.71em":"0.32em")),G!==De&&(Ve=Ve.transition(G),ke=ke.transition(G),Me=Me.transition(G),Ne=Ne.transition(G),Ie=Ie.transition(G).attr("opacity",To).attr("transform",function(xe){return isFinite(xe=Oe(xe))?V(xe+O):this.getAttribute("transform")}),ge.attr("opacity",To).attr("transform",function(xe){var qe=this.parentNode.__axis;return V((qe&&isFinite(qe=qe(xe))?qe:Oe(xe))+O)})),Ie.remove(),Ve.attr("d",s===Io||s===Hc?v?"M"+j*v+","+we+"H"+O+"V"+Se+"H"+j*v:"M"+O+","+we+"V"+Se:v?"M"+we+","+j*v+"V"+O+"H"+Se+"V"+j*v:"M"+we+","+O+"H"+Se),ke.attr("opacity",1).attr("transform",function(xe){return V(Oe(xe)+O)}),Me.attr(z+"2",j*k),Ne.attr(z,j*me).text(ce),De.filter(ii).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",s===Hc?"start":s===Io?"end":"middle"),De.each(function(){this.__axis=Oe})}return Y.scale=function(G){return arguments.length?(o=G,Y):o},Y.ticks=function(){return f=Array.from(arguments),Y},Y.tickArguments=function(G){return arguments.length?(f=G==null?[]:Array.from(G),Y):f.slice()},Y.tickValues=function(G){return arguments.length?(m=G==null?null:Array.from(G),Y):m&&m.slice()},Y.tickFormat=function(G){return arguments.length?(y=G,Y):y},Y.tickSize=function(G){return arguments.length?(k=v=+G,Y):k},Y.tickSizeInner=function(G){return arguments.length?(k=+G,Y):k},Y.tickSizeOuter=function(G){return arguments.length?(v=+G,Y):v},Y.tickPadding=function(G){return arguments.length?(A=+G,Y):A},Y.offset=function(G){return arguments.length?(O=+G,Y):O},Y}function Es(s){return Qi(qs,s)}function Wi(s){return Qi(al,s)}var fs={value:()=>{}};function Ci(){for(var s=0,o=arguments.length,f={},m;s<o;++s){if(!(m=arguments[s]+"")||m in f||/[\s.]/.test(m))throw new Error("illegal type: "+m);f[m]=[]}return new da(f)}function da(s){this._=s}function oa(s,o){return s.trim().split(/^|\s+/).map(function(f){var m="",y=f.indexOf(".");if(y>=0&&(m=f.slice(y+1),f=f.slice(0,y)),f&&!o.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:m}})}da.prototype=Ci.prototype={constructor:da,on:function(s,o){var f=this._,m=oa(s+"",f),y,k=-1,v=m.length;if(arguments.length<2){for(;++k<v;)if((y=(s=m[k]).type)&&(y=Na(f[y],s.name)))return y;return}if(o!=null&&typeof o!="function")throw new Error("invalid callback: "+o);for(;++k<v;)if(y=(s=m[k]).type)f[y]=qo(f[y],s.name,o);else if(o==null)for(y in f)f[y]=qo(f[y],s.name,null);return this},copy:function(){var s={},o=this._;for(var f in o)s[f]=o[f].slice();return new da(s)},call:function(s,o){if((y=arguments.length-2)>0)for(var f=new Array(y),m=0,y,k;m<y;++m)f[m]=arguments[m+2];if(!this._.hasOwnProperty(s))throw new Error("unknown type: "+s);for(k=this._[s],m=0,y=k.length;m<y;++m)k[m].value.apply(o,f)},apply:function(s,o,f){if(!this._.hasOwnProperty(s))throw new Error("unknown type: "+s);for(var m=this._[s],y=0,k=m.length;y<k;++y)m[y].value.apply(o,f)}};function Na(s,o){for(var f=0,m=s.length,y;f<m;++f)if((y=s[f]).name===o)return y.value}function qo(s,o,f){for(var m=0,y=s.length;m<y;++m)if(s[m].name===o){s[m]=fs,s=s.slice(0,m).concat(s.slice(m+1));break}return f!=null&&s.push({name:o,value:f}),s}var Yc="http://www.w3.org/1999/xhtml";const Vu={svg:"http://www.w3.org/2000/svg",xhtml:Yc,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function cu(s){var o=s+="",f=o.indexOf(":");return f>=0&&(o=s.slice(0,f))!=="xmlns"&&(s=s.slice(f+1)),Vu.hasOwnProperty(o)?{space:Vu[o],local:s}:s}function bd(s){return function(){var o=this.ownerDocument,f=this.namespaceURI;return f===Yc&&o.documentElement.namespaceURI===Yc?o.createElement(s):o.createElementNS(f,s)}}function Hb(s){return function(){return this.ownerDocument.createElementNS(s.space,s.local)}}function J_(s){var o=cu(s);return(o.local?Hb:bd)(o)}function TQ(){}function ex(s){return s==null?TQ:function(){return this.querySelector(s)}}function SQ(s){typeof s!="function"&&(s=ex(s));for(var o=this._groups,f=o.length,m=new Array(f),y=0;y<f;++y)for(var k=o[y],v=k.length,A=m[y]=new Array(v),O,j,z=0;z<v;++z)(O=k[z])&&(j=s.call(O,O.__data__,z,k))&&("__data__"in O&&(j.__data__=O.__data__),A[z]=j);return new am(m,this._parents)}function Q0(s){return s==null?[]:Array.isArray(s)?s:Array.from(s)}function dw(){return[]}function OF(s){return s==null?dw:function(){return this.querySelectorAll(s)}}function VMt(s){return function(){return Q0(s.apply(this,arguments))}}function qMt(s){typeof s=="function"?s=VMt(s):s=OF(s);for(var o=this._groups,f=o.length,m=[],y=[],k=0;k<f;++k)for(var v=o[k],A=v.length,O,j=0;j<A;++j)(O=v[j])&&(m.push(s.call(O,O.__data__,j,v)),y.push(O));return new am(m,y)}function nFe(s){return function(){return this.matches(s)}}function rFe(s){return function(o){return o.matches(s)}}var UMt=Array.prototype.find;function GMt(s){return function(){return UMt.call(this.children,s)}}function WMt(){return this.firstElementChild}function KMt(s){return this.select(s==null?WMt:GMt(typeof s=="function"?s:rFe(s)))}var YMt=Array.prototype.filter;function XMt(){return Array.from(this.children)}function QMt(s){return function(){return YMt.call(this.children,s)}}function ZMt(s){return this.selectAll(s==null?XMt:QMt(typeof s=="function"?s:rFe(s)))}function JMt(s){typeof s!="function"&&(s=nFe(s));for(var o=this._groups,f=o.length,m=new Array(f),y=0;y<f;++y)for(var k=o[y],v=k.length,A=m[y]=[],O,j=0;j<v;++j)(O=k[j])&&s.call(O,O.__data__,j,k)&&A.push(O);return new am(m,this._parents)}function iFe(s){return new Array(s.length)}function eLt(){return new am(this._enter||this._groups.map(iFe),this._parents)}function CQ(s,o){this.ownerDocument=s.ownerDocument,this.namespaceURI=s.namespaceURI,this._next=null,this._parent=s,this.__data__=o}CQ.prototype={constructor:CQ,appendChild:function(s){return this._parent.insertBefore(s,this._next)},insertBefore:function(s,o){return this._parent.insertBefore(s,o)},querySelector:function(s){return this._parent.querySelector(s)},querySelectorAll:function(s){return this._parent.querySelectorAll(s)}};function tLt(s){return function(){return s}}function nLt(s,o,f,m,y,k){for(var v=0,A,O=o.length,j=k.length;v<j;++v)(A=o[v])?(A.__data__=k[v],m[v]=A):f[v]=new CQ(s,k[v]);for(;v<O;++v)(A=o[v])&&(y[v]=A)}function rLt(s,o,f,m,y,k,v){var A,O,j=new Map,z=o.length,V=k.length,Y=new Array(z),G;for(A=0;A<z;++A)(O=o[A])&&(Y[A]=G=v.call(O,O.__data__,A,o)+"",j.has(G)?y[A]=O:j.set(G,O));for(A=0;A<V;++A)G=v.call(s,k[A],A,k)+"",(O=j.get(G))?(m[A]=O,O.__data__=k[A],j.delete(G)):f[A]=new CQ(s,k[A]);for(A=0;A<z;++A)(O=o[A])&&j.get(Y[A])===O&&(y[A]=O)}function iLt(s){return s.__data__}function sLt(s,o){if(!arguments.length)return Array.from(this,iLt);var f=o?rLt:nLt,m=this._parents,y=this._groups;typeof s!="function"&&(s=tLt(s));for(var k=y.length,v=new Array(k),A=new Array(k),O=new Array(k),j=0;j<k;++j){var z=m[j],V=y[j],Y=V.length,G=aLt(s.call(z,z&&z.__data__,j,m)),J=G.length,ce=A[j]=new Array(J),me=v[j]=new Array(J),_e=O[j]=new Array(Y);f(z,V,ce,me,_e,G,o);for(var we=0,Se=0,Oe,De;we<J;++we)if(Oe=ce[we]){for(we>=Se&&(Se=we+1);!(De=me[Se])&&++Se<J;);Oe._next=De||null}}return v=new am(v,m),v._enter=A,v._exit=O,v}function aLt(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function oLt(){return new am(this._exit||this._groups.map(iFe),this._parents)}function cLt(s,o,f){var m=this.enter(),y=this,k=this.exit();return typeof s=="function"?(m=s(m),m&&(m=m.selection())):m=m.append(s+""),o!=null&&(y=o(y),y&&(y=y.selection())),f==null?k.remove():f(k),m&&y?m.merge(y).order():y}function lLt(s){for(var o=s.selection?s.selection():s,f=this._groups,m=o._groups,y=f.length,k=m.length,v=Math.min(y,k),A=new Array(y),O=0;O<v;++O)for(var j=f[O],z=m[O],V=j.length,Y=A[O]=new Array(V),G,J=0;J<V;++J)(G=j[J]||z[J])&&(Y[J]=G);for(;O<y;++O)A[O]=f[O];return new am(A,this._parents)}function uLt(){for(var s=this._groups,o=-1,f=s.length;++o<f;)for(var m=s[o],y=m.length-1,k=m[y],v;--y>=0;)(v=m[y])&&(k&&v.compareDocumentPosition(k)^4&&k.parentNode.insertBefore(v,k),k=v);return this}function hLt(s){s||(s=fLt);function o(V,Y){return V&&Y?s(V.__data__,Y.__data__):!V-!Y}for(var f=this._groups,m=f.length,y=new Array(m),k=0;k<m;++k){for(var v=f[k],A=v.length,O=y[k]=new Array(A),j,z=0;z<A;++z)(j=v[z])&&(O[z]=j);O.sort(o)}return new am(y,this._parents).order()}function fLt(s,o){return s<o?-1:s>o?1:s>=o?0:NaN}function dLt(){var s=arguments[0];return arguments[0]=this,s.apply(null,arguments),this}function gLt(){return Array.from(this)}function pLt(){for(var s=this._groups,o=0,f=s.length;o<f;++o)for(var m=s[o],y=0,k=m.length;y<k;++y){var v=m[y];if(v)return v}return null}function mLt(){let s=0;for(const o of this)++s;return s}function vLt(){return!this.node()}function bLt(s){for(var o=this._groups,f=0,m=o.length;f<m;++f)for(var y=o[f],k=0,v=y.length,A;k<v;++k)(A=y[k])&&s.call(A,A.__data__,k,y);return this}function wLt(s){return function(){this.removeAttribute(s)}}function yLt(s){return function(){this.removeAttributeNS(s.space,s.local)}}function _Lt(s,o){return function(){this.setAttribute(s,o)}}function xLt(s,o){return function(){this.setAttributeNS(s.space,s.local,o)}}function kLt(s,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttribute(s):this.setAttribute(s,f)}}function ELt(s,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,f)}}function TLt(s,o){var f=cu(s);if(arguments.length<2){var m=this.node();return f.local?m.getAttributeNS(f.space,f.local):m.getAttribute(f)}return this.each((o==null?f.local?yLt:wLt:typeof o=="function"?f.local?ELt:kLt:f.local?xLt:_Lt)(f,o))}function sFe(s){return s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView}function SLt(s){return function(){this.style.removeProperty(s)}}function CLt(s,o,f){return function(){this.style.setProperty(s,o,f)}}function ALt(s,o,f){return function(){var m=o.apply(this,arguments);m==null?this.style.removeProperty(s):this.style.setProperty(s,m,f)}}function MLt(s,o,f){return arguments.length>1?this.each((o==null?SLt:typeof o=="function"?ALt:CLt)(s,o,f??"")):cO(this.node(),s)}function cO(s,o){return s.style.getPropertyValue(o)||sFe(s).getComputedStyle(s,null).getPropertyValue(o)}function LLt(s){return function(){delete this[s]}}function ILt(s,o){return function(){this[s]=o}}function OLt(s,o){return function(){var f=o.apply(this,arguments);f==null?delete this[s]:this[s]=f}}function DLt(s,o){return arguments.length>1?this.each((o==null?LLt:typeof o=="function"?OLt:ILt)(s,o)):this.node()[s]}function aFe(s){return s.trim().split(/^|\s+/)}function lve(s){return s.classList||new oFe(s)}function oFe(s){this._node=s,this._names=aFe(s.getAttribute("class")||"")}oFe.prototype={add:function(s){var o=this._names.indexOf(s);o<0&&(this._names.push(s),this._node.setAttribute("class",this._names.join(" ")))},remove:function(s){var o=this._names.indexOf(s);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(s){return this._names.indexOf(s)>=0}};function cFe(s,o){for(var f=lve(s),m=-1,y=o.length;++m<y;)f.add(o[m])}function lFe(s,o){for(var f=lve(s),m=-1,y=o.length;++m<y;)f.remove(o[m])}function PLt(s){return function(){cFe(this,s)}}function NLt(s){return function(){lFe(this,s)}}function RLt(s,o){return function(){(o.apply(this,arguments)?cFe:lFe)(this,s)}}function BLt(s,o){var f=aFe(s+"");if(arguments.length<2){for(var m=lve(this.node()),y=-1,k=f.length;++y<k;)if(!m.contains(f[y]))return!1;return!0}return this.each((typeof o=="function"?RLt:o?PLt:NLt)(f,o))}function FLt(){this.textContent=""}function jLt(s){return function(){this.textContent=s}}function $Lt(s){return function(){var o=s.apply(this,arguments);this.textContent=o??""}}function HLt(s){return arguments.length?this.each(s==null?FLt:(typeof s=="function"?$Lt:jLt)(s)):this.node().textContent}function zLt(){this.innerHTML=""}function VLt(s){return function(){this.innerHTML=s}}function qLt(s){return function(){var o=s.apply(this,arguments);this.innerHTML=o??""}}function ULt(s){return arguments.length?this.each(s==null?zLt:(typeof s=="function"?qLt:VLt)(s)):this.node().innerHTML}function GLt(){this.nextSibling&&this.parentNode.appendChild(this)}function WLt(){return this.each(GLt)}function KLt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function YLt(){return this.each(KLt)}function XLt(s){var o=typeof s=="function"?s:J_(s);return this.select(function(){return this.appendChild(o.apply(this,arguments))})}function QLt(){return null}function ZLt(s,o){var f=typeof s=="function"?s:J_(s),m=o==null?QLt:typeof o=="function"?o:ex(o);return this.select(function(){return this.insertBefore(f.apply(this,arguments),m.apply(this,arguments)||null)})}function JLt(){var s=this.parentNode;s&&s.removeChild(this)}function eIt(){return this.each(JLt)}function tIt(){var s=this.cloneNode(!1),o=this.parentNode;return o?o.insertBefore(s,this.nextSibling):s}function nIt(){var s=this.cloneNode(!0),o=this.parentNode;return o?o.insertBefore(s,this.nextSibling):s}function rIt(s){return this.select(s?nIt:tIt)}function iIt(s){return arguments.length?this.property("__data__",s):this.node().__data__}function sIt(s){return function(o){s.call(this,o,this.__data__)}}function aIt(s){return s.trim().split(/^|\s+/).map(function(o){var f="",m=o.indexOf(".");return m>=0&&(f=o.slice(m+1),o=o.slice(0,m)),{type:o,name:f}})}function oIt(s){return function(){var o=this.__on;if(o){for(var f=0,m=-1,y=o.length,k;f<y;++f)k=o[f],(!s.type||k.type===s.type)&&k.name===s.name?this.removeEventListener(k.type,k.listener,k.options):o[++m]=k;++m?o.length=m:delete this.__on}}}function cIt(s,o,f){return function(){var m=this.__on,y,k=sIt(o);if(m){for(var v=0,A=m.length;v<A;++v)if((y=m[v]).type===s.type&&y.name===s.name){this.removeEventListener(y.type,y.listener,y.options),this.addEventListener(y.type,y.listener=k,y.options=f),y.value=o;return}}this.addEventListener(s.type,k,f),y={type:s.type,name:s.name,value:o,listener:k,options:f},m?m.push(y):this.__on=[y]}}function lIt(s,o,f){var m=aIt(s+""),y,k=m.length,v;if(arguments.length<2){var A=this.node().__on;if(A){for(var O=0,j=A.length,z;O<j;++O)for(y=0,z=A[O];y<k;++y)if((v=m[y]).type===z.type&&v.name===z.name)return z.value}return}for(A=o?cIt:oIt,y=0;y<k;++y)this.each(A(m[y],o,f));return this}function uFe(s,o,f){var m=sFe(s),y=m.CustomEvent;typeof y=="function"?y=new y(o,f):(y=m.document.createEvent("Event"),f?(y.initEvent(o,f.bubbles,f.cancelable),y.detail=f.detail):y.initEvent(o,!1,!1)),s.dispatchEvent(y)}function uIt(s,o){return function(){return uFe(this,s,o)}}function hIt(s,o){return function(){return uFe(this,s,o.apply(this,arguments))}}function fIt(s,o){return this.each((typeof o=="function"?hIt:uIt)(s,o))}function*dIt(){for(var s=this._groups,o=0,f=s.length;o<f;++o)for(var m=s[o],y=0,k=m.length,v;y<k;++y)(v=m[y])&&(yield v)}var uve=[null];function am(s,o){this._groups=s,this._parents=o}function DF(){return new am([[document.documentElement]],uve)}function gIt(){return this}am.prototype=DF.prototype={constructor:am,select:SQ,selectAll:qMt,selectChild:KMt,selectChildren:ZMt,filter:JMt,data:sLt,enter:eLt,exit:oLt,join:cLt,merge:lLt,selection:gIt,order:uLt,sort:hLt,call:dLt,nodes:gLt,node:pLt,size:mLt,empty:vLt,each:bLt,attr:TLt,style:MLt,property:DLt,classed:BLt,text:HLt,html:ULt,raise:WLt,lower:YLt,append:XLt,insert:ZLt,remove:eIt,clone:rIt,datum:iIt,on:lIt,dispatch:fIt,[Symbol.iterator]:dIt};function Or(s){return typeof s=="string"?new am([[document.querySelector(s)]],[document.documentElement]):new am([[s]],uve)}function hve(s){return typeof s=="string"?new am([document.querySelectorAll(s)],[document.documentElement]):new am([Q0(s)],uve)}function PF(s,o,f){s.prototype=o.prototype=f,f.constructor=s}function AQ(s,o){var f=Object.create(s.prototype);for(var m in o)f[m]=o[m];return f}function oS(){}var NF=.7,MQ=1/NF,lO="\\s*([+-]?\\d+)\\s*",RF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",B5="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pIt=/^#([0-9a-f]{3,8})$/,mIt=new RegExp(`^rgb\\(${lO},${lO},${lO}\\)$`),vIt=new RegExp(`^rgb\\(${B5},${B5},${B5}\\)$`),bIt=new RegExp(`^rgba\\(${lO},${lO},${lO},${RF}\\)$`),wIt=new RegExp(`^rgba\\(${B5},${B5},${B5},${RF}\\)$`),yIt=new RegExp(`^hsl\\(${RF},${B5},${B5}\\)$`),_It=new RegExp(`^hsla\\(${RF},${B5},${B5},${RF}\\)$`),hFe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};PF(oS,cS,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:fFe,formatHex:fFe,formatHex8:xIt,formatHsl:kIt,formatRgb:dFe,toString:dFe});function fFe(){return this.rgb().formatHex()}function xIt(){return this.rgb().formatHex8()}function kIt(){return wFe(this).formatHsl()}function dFe(){return this.rgb().formatRgb()}function cS(s){var o,f;return s=(s+"").trim().toLowerCase(),(o=pIt.exec(s))?(f=o[1].length,o=parseInt(o[1],16),f===6?gFe(o):f===3?new bp(o>>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):f===8?LQ(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):f===4?LQ(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=mIt.exec(s))?new bp(o[1],o[2],o[3],1):(o=vIt.exec(s))?new bp(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=bIt.exec(s))?LQ(o[1],o[2],o[3],o[4]):(o=wIt.exec(s))?LQ(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=yIt.exec(s))?bFe(o[1],o[2]/100,o[3]/100,1):(o=_It.exec(s))?bFe(o[1],o[2]/100,o[3]/100,o[4]):hFe.hasOwnProperty(s)?gFe(hFe[s]):s==="transparent"?new bp(NaN,NaN,NaN,0):null}function gFe(s){return new bp(s>>16&255,s>>8&255,s&255,1)}function LQ(s,o,f,m){return m<=0&&(s=o=f=NaN),new bp(s,o,f,m)}function pFe(s){return s instanceof oS||(s=cS(s)),s?(s=s.rgb(),new bp(s.r,s.g,s.b,s.opacity)):new bp}function fve(s,o,f,m){return arguments.length===1?pFe(s):new bp(s,o,f,m??1)}function bp(s,o,f,m){this.r=+s,this.g=+o,this.b=+f,this.opacity=+m}PF(bp,fve,AQ(oS,{brighter(s){return s=s==null?MQ:Math.pow(MQ,s),new bp(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=s==null?NF:Math.pow(NF,s),new bp(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new bp(lS(this.r),lS(this.g),lS(this.b),IQ(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:mFe,formatHex:mFe,formatHex8:EIt,formatRgb:vFe,toString:vFe}));function mFe(){return`#${uS(this.r)}${uS(this.g)}${uS(this.b)}`}function EIt(){return`#${uS(this.r)}${uS(this.g)}${uS(this.b)}${uS((isNaN(this.opacity)?1:this.opacity)*255)}`}function vFe(){const s=IQ(this.opacity);return`${s===1?"rgb(":"rgba("}${lS(this.r)}, ${lS(this.g)}, ${lS(this.b)}${s===1?")":`, ${s})`}`}function IQ(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function lS(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function uS(s){return s=lS(s),(s<16?"0":"")+s.toString(16)}function bFe(s,o,f,m){return m<=0?s=o=f=NaN:f<=0||f>=1?s=o=NaN:o<=0&&(s=NaN),new b3(s,o,f,m)}function wFe(s){if(s instanceof b3)return new b3(s.h,s.s,s.l,s.opacity);if(s instanceof oS||(s=cS(s)),!s)return new b3;if(s instanceof b3)return s;s=s.rgb();var o=s.r/255,f=s.g/255,m=s.b/255,y=Math.min(o,f,m),k=Math.max(o,f,m),v=NaN,A=k-y,O=(k+y)/2;return A?(o===k?v=(f-m)/A+(f<m)*6:f===k?v=(m-o)/A+2:v=(o-f)/A+4,A/=O<.5?k+y:2-k-y,v*=60):A=O>0&&O<1?0:v,new b3(v,A,O,s.opacity)}function TIt(s,o,f,m){return arguments.length===1?wFe(s):new b3(s,o,f,m??1)}function b3(s,o,f,m){this.h=+s,this.s=+o,this.l=+f,this.opacity=+m}PF(b3,TIt,AQ(oS,{brighter(s){return s=s==null?MQ:Math.pow(MQ,s),new b3(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=s==null?NF:Math.pow(NF,s),new b3(this.h,this.s,this.l*s,this.opacity)},rgb(){var s=this.h%360+(this.h<0)*360,o=isNaN(s)||isNaN(this.s)?0:this.s,f=this.l,m=f+(f<.5?f:1-f)*o,y=2*f-m;return new bp(dve(s>=240?s-240:s+120,y,m),dve(s,y,m),dve(s<120?s+240:s-120,y,m),this.opacity)},clamp(){return new b3(yFe(this.h),OQ(this.s),OQ(this.l),IQ(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const s=IQ(this.opacity);return`${s===1?"hsl(":"hsla("}${yFe(this.h)}, ${OQ(this.s)*100}%, ${OQ(this.l)*100}%${s===1?")":`, ${s})`}`}}));function yFe(s){return s=(s||0)%360,s<0?s+360:s}function OQ(s){return Math.max(0,Math.min(1,s||0))}function dve(s,o,f){return(s<60?o+(f-o)*s/60:s<180?f:s<240?o+(f-o)*(240-s)/60:o)*255}const SIt=Math.PI/180,CIt=180/Math.PI,DQ=18,_Fe=.96422,xFe=1,kFe=.82521,EFe=4/29,uO=6/29,TFe=3*uO*uO,AIt=uO*uO*uO;function SFe(s){if(s instanceof F5)return new F5(s.l,s.a,s.b,s.opacity);if(s instanceof tx)return CFe(s);s instanceof bp||(s=pFe(s));var o=vve(s.r),f=vve(s.g),m=vve(s.b),y=gve((.2225045*o+.7168786*f+.0606169*m)/xFe),k,v;return o===f&&f===m?k=v=y:(k=gve((.4360747*o+.3850649*f+.1430804*m)/_Fe),v=gve((.0139322*o+.0971045*f+.7141733*m)/kFe)),new F5(116*y-16,500*(k-y),200*(y-v),s.opacity)}function MIt(s,o,f,m){return arguments.length===1?SFe(s):new F5(s,o,f,m??1)}function F5(s,o,f,m){this.l=+s,this.a=+o,this.b=+f,this.opacity=+m}PF(F5,MIt,AQ(oS,{brighter(s){return new F5(this.l+DQ*(s??1),this.a,this.b,this.opacity)},darker(s){return new F5(this.l-DQ*(s??1),this.a,this.b,this.opacity)},rgb(){var s=(this.l+16)/116,o=isNaN(this.a)?s:s+this.a/500,f=isNaN(this.b)?s:s-this.b/200;return o=_Fe*pve(o),s=xFe*pve(s),f=kFe*pve(f),new bp(mve(3.1338561*o-1.6168667*s-.4906146*f),mve(-.9787684*o+1.9161415*s+.033454*f),mve(.0719453*o-.2289914*s+1.4052427*f),this.opacity)}}));function gve(s){return s>AIt?Math.pow(s,1/3):s/TFe+EFe}function pve(s){return s>uO?s*s*s:TFe*(s-EFe)}function mve(s){return 255*(s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055)}function vve(s){return(s/=255)<=.04045?s/12.92:Math.pow((s+.055)/1.055,2.4)}function LIt(s){if(s instanceof tx)return new tx(s.h,s.c,s.l,s.opacity);if(s instanceof F5||(s=SFe(s)),s.a===0&&s.b===0)return new tx(NaN,0<s.l&&s.l<100?0:NaN,s.l,s.opacity);var o=Math.atan2(s.b,s.a)*CIt;return new tx(o<0?o+360:o,Math.sqrt(s.a*s.a+s.b*s.b),s.l,s.opacity)}function bve(s,o,f,m){return arguments.length===1?LIt(s):new tx(s,o,f,m??1)}function tx(s,o,f,m){this.h=+s,this.c=+o,this.l=+f,this.opacity=+m}function CFe(s){if(isNaN(s.h))return new F5(s.l,0,0,s.opacity);var o=s.h*SIt;return new F5(s.l,Math.cos(o)*s.c,Math.sin(o)*s.c,s.opacity)}PF(tx,bve,AQ(oS,{brighter(s){return new tx(this.h,this.c,this.l+DQ*(s??1),this.opacity)},darker(s){return new tx(this.h,this.c,this.l-DQ*(s??1),this.opacity)},rgb(){return CFe(this).rgb()}}));const PQ=s=>()=>s;function AFe(s,o){return function(f){return s+f*o}}function IIt(s,o,f){return s=Math.pow(s,f),o=Math.pow(o,f)-s,f=1/f,function(m){return Math.pow(s+m*o,f)}}function OIt(s,o){var f=o-s;return f?AFe(s,f>180||f<-180?f-360*Math.round(f/360):f):PQ(isNaN(s)?o:s)}function DIt(s){return(s=+s)==1?BF:function(o,f){return f-o?IIt(o,f,s):PQ(isNaN(o)?f:o)}}function BF(s,o){var f=o-s;return f?AFe(s,f):PQ(isNaN(s)?o:s)}const NQ=function s(o){var f=DIt(o);function m(y,k){var v=f((y=fve(y)).r,(k=fve(k)).r),A=f(y.g,k.g),O=f(y.b,k.b),j=BF(y.opacity,k.opacity);return function(z){return y.r=v(z),y.g=A(z),y.b=O(z),y.opacity=j(z),y+""}}return m.gamma=s,m}(1);function PIt(s,o){o||(o=[]);var f=s?Math.min(o.length,s.length):0,m=o.slice(),y;return function(k){for(y=0;y<f;++y)m[y]=s[y]*(1-k)+o[y]*k;return m}}function NIt(s){return ArrayBuffer.isView(s)&&!(s instanceof DataView)}function RIt(s,o){var f=o?o.length:0,m=s?Math.min(f,s.length):0,y=new Array(m),k=new Array(f),v;for(v=0;v<m;++v)y[v]=_ve(s[v],o[v]);for(;v<f;++v)k[v]=o[v];return function(A){for(v=0;v<m;++v)k[v]=y[v](A);return k}}function BIt(s,o){var f=new Date;return s=+s,o=+o,function(m){return f.setTime(s*(1-m)+o*m),f}}function w3(s,o){return s=+s,o=+o,function(f){return s*(1-f)+o*f}}function FIt(s,o){var f={},m={},y;(s===null||typeof s!="object")&&(s={}),(o===null||typeof o!="object")&&(o={});for(y in o)y in s?f[y]=_ve(s[y],o[y]):m[y]=o[y];return function(k){for(y in f)m[y]=f[y](k);return m}}var wve=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yve=new RegExp(wve.source,"g");function jIt(s){return function(){return s}}function $It(s){return function(o){return s(o)+""}}function MFe(s,o){var f=wve.lastIndex=yve.lastIndex=0,m,y,k,v=-1,A=[],O=[];for(s=s+"",o=o+"";(m=wve.exec(s))&&(y=yve.exec(o));)(k=y.index)>f&&(k=o.slice(f,k),A[v]?A[v]+=k:A[++v]=k),(m=m[0])===(y=y[0])?A[v]?A[v]+=y:A[++v]=y:(A[++v]=null,O.push({i:v,x:w3(m,y)})),f=yve.lastIndex;return f<o.length&&(k=o.slice(f),A[v]?A[v]+=k:A[++v]=k),A.length<2?O[0]?$It(O[0].x):jIt(o):(o=O.length,function(j){for(var z=0,V;z<o;++z)A[(V=O[z]).i]=V.x(j);return A.join("")})}function _ve(s,o){var f=typeof o,m;return o==null||f==="boolean"?PQ(o):(f==="number"?w3:f==="string"?(m=cS(o))?(o=m,NQ):MFe:o instanceof cS?NQ:o instanceof Date?BIt:NIt(o)?PIt:Array.isArray(o)?RIt:typeof o.valueOf!="function"&&typeof o.toString!="function"||isNaN(o)?FIt:w3)(s,o)}function HIt(s,o){return s=+s,o=+o,function(f){return Math.round(s*(1-f)+o*f)}}var LFe=180/Math.PI,xve={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function IFe(s,o,f,m,y,k){var v,A,O;return(v=Math.sqrt(s*s+o*o))&&(s/=v,o/=v),(O=s*f+o*m)&&(f-=s*O,m-=o*O),(A=Math.sqrt(f*f+m*m))&&(f/=A,m/=A,O/=A),s*m<o*f&&(s=-s,o=-o,O=-O,v=-v),{translateX:y,translateY:k,rotate:Math.atan2(o,s)*LFe,skewX:Math.atan(O)*LFe,scaleX:v,scaleY:A}}var RQ;function zIt(s){const o=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(s+"");return o.isIdentity?xve:IFe(o.a,o.b,o.c,o.d,o.e,o.f)}function VIt(s){return s==null||(RQ||(RQ=document.createElementNS("http://www.w3.org/2000/svg","g")),RQ.setAttribute("transform",s),!(s=RQ.transform.baseVal.consolidate()))?xve:(s=s.matrix,IFe(s.a,s.b,s.c,s.d,s.e,s.f))}function OFe(s,o,f,m){function y(j){return j.length?j.pop()+" ":""}function k(j,z,V,Y,G,J){if(j!==V||z!==Y){var ce=G.push("translate(",null,o,null,f);J.push({i:ce-4,x:w3(j,V)},{i:ce-2,x:w3(z,Y)})}else(V||Y)&&G.push("translate("+V+o+Y+f)}function v(j,z,V,Y){j!==z?(j-z>180?z+=360:z-j>180&&(j+=360),Y.push({i:V.push(y(V)+"rotate(",null,m)-2,x:w3(j,z)})):z&&V.push(y(V)+"rotate("+z+m)}function A(j,z,V,Y){j!==z?Y.push({i:V.push(y(V)+"skewX(",null,m)-2,x:w3(j,z)}):z&&V.push(y(V)+"skewX("+z+m)}function O(j,z,V,Y,G,J){if(j!==V||z!==Y){var ce=G.push(y(G)+"scale(",null,",",null,")");J.push({i:ce-4,x:w3(j,V)},{i:ce-2,x:w3(z,Y)})}else(V!==1||Y!==1)&&G.push(y(G)+"scale("+V+","+Y+")")}return function(j,z){var V=[],Y=[];return j=s(j),z=s(z),k(j.translateX,j.translateY,z.translateX,z.translateY,V,Y),v(j.rotate,z.rotate,V,Y),A(j.skewX,z.skewX,V,Y),O(j.scaleX,j.scaleY,z.scaleX,z.scaleY,V,Y),j=z=null,function(G){for(var J=-1,ce=Y.length,me;++J<ce;)V[(me=Y[J]).i]=me.x(G);return V.join("")}}}var qIt=OFe(zIt,"px, ","px)","deg)"),UIt=OFe(VIt,", ",")",")");function GIt(s){return function(o,f){var m=s((o=bve(o)).h,(f=bve(f)).h),y=BF(o.c,f.c),k=BF(o.l,f.l),v=BF(o.opacity,f.opacity);return function(A){return o.h=m(A),o.c=y(A),o.l=k(A),o.opacity=v(A),o+""}}}const WIt=GIt(OIt);var hO=0,FF=0,jF=0,DFe=1e3,BQ,$F,FQ=0,hS=0,jQ=0,HF=typeof performance=="object"&&performance.now?performance:Date,PFe=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(s){setTimeout(s,17)};function kve(){return hS||(PFe(KIt),hS=HF.now()+jQ)}function KIt(){hS=0}function $Q(){this._call=this._time=this._next=null}$Q.prototype=NFe.prototype={constructor:$Q,restart:function(s,o,f){if(typeof s!="function")throw new TypeError("callback is not a function");f=(f==null?kve():+f)+(o==null?0:+o),!this._next&&$F!==this&&($F?$F._next=this:BQ=this,$F=this),this._call=s,this._time=f,Eve()},stop:function(){this._call&&(this._call=null,this._time=1/0,Eve())}};function NFe(s,o,f){var m=new $Q;return m.restart(s,o,f),m}function YIt(){kve(),++hO;for(var s=BQ,o;s;)(o=hS-s._time)>=0&&s._call.call(void 0,o),s=s._next;--hO}function RFe(){hS=(FQ=HF.now())+jQ,hO=FF=0;try{YIt()}finally{hO=0,QIt(),hS=0}}function XIt(){var s=HF.now(),o=s-FQ;o>DFe&&(jQ-=o,FQ=s)}function QIt(){for(var s,o=BQ,f,m=1/0;o;)o._call?(m>o._time&&(m=o._time),s=o,o=o._next):(f=o._next,o._next=null,o=s?s._next=f:BQ=f);$F=s,Eve(m)}function Eve(s){if(!hO){FF&&(FF=clearTimeout(FF));var o=s-hS;o>24?(s<1/0&&(FF=setTimeout(RFe,s-HF.now()-jQ)),jF&&(jF=clearInterval(jF))):(jF||(FQ=HF.now(),jF=setInterval(XIt,DFe)),hO=1,PFe(RFe))}}function BFe(s,o,f){var m=new $Q;return o=o==null?0:+o,m.restart(y=>{m.stop(),s(y+o)},o,f),m}var ZIt=Ci("start","end","cancel","interrupt"),JIt=[],FFe=0,jFe=1,Tve=2,HQ=3,$Fe=4,Sve=5,zQ=6;function VQ(s,o,f,m,y,k){var v=s.__transition;if(!v)s.__transition={};else if(f in v)return;eOt(s,f,{name:o,index:m,group:y,on:ZIt,tween:JIt,time:k.time,delay:k.delay,duration:k.duration,ease:k.ease,timer:null,state:FFe})}function Cve(s,o){var f=y3(s,o);if(f.state>FFe)throw new Error("too late; already scheduled");return f}function j5(s,o){var f=y3(s,o);if(f.state>HQ)throw new Error("too late; already running");return f}function y3(s,o){var f=s.__transition;if(!f||!(f=f[o]))throw new Error("transition not found");return f}function eOt(s,o,f){var m=s.__transition,y;m[o]=f,f.timer=NFe(k,0,f.time);function k(j){f.state=jFe,f.timer.restart(v,f.delay,f.time),f.delay<=j&&v(j-f.delay)}function v(j){var z,V,Y,G;if(f.state!==jFe)return O();for(z in m)if(G=m[z],G.name===f.name){if(G.state===HQ)return BFe(v);G.state===$Fe?(G.state=zQ,G.timer.stop(),G.on.call("interrupt",s,s.__data__,G.index,G.group),delete m[z]):+z<o&&(G.state=zQ,G.timer.stop(),G.on.call("cancel",s,s.__data__,G.index,G.group),delete m[z])}if(BFe(function(){f.state===HQ&&(f.state=$Fe,f.timer.restart(A,f.delay,f.time),A(j))}),f.state=Tve,f.on.call("start",s,s.__data__,f.index,f.group),f.state===Tve){for(f.state=HQ,y=new Array(Y=f.tween.length),z=0,V=-1;z<Y;++z)(G=f.tween[z].value.call(s,s.__data__,f.index,f.group))&&(y[++V]=G);y.length=V+1}}function A(j){for(var z=j<f.duration?f.ease.call(null,j/f.duration):(f.timer.restart(O),f.state=Sve,1),V=-1,Y=y.length;++V<Y;)y[V].call(s,z);f.state===Sve&&(f.on.call("end",s,s.__data__,f.index,f.group),O())}function O(){f.state=zQ,f.timer.stop(),delete m[o];for(var j in m)return;delete s.__transition}}function tOt(s,o){var f=s.__transition,m,y,k=!0,v;if(f){o=o==null?null:o+"";for(v in f){if((m=f[v]).name!==o){k=!1;continue}y=m.state>Tve&&m.state<Sve,m.state=zQ,m.timer.stop(),m.on.call(y?"interrupt":"cancel",s,s.__data__,m.index,m.group),delete f[v]}k&&delete s.__transition}}function nOt(s){return this.each(function(){tOt(this,s)})}function rOt(s,o){var f,m;return function(){var y=j5(this,s),k=y.tween;if(k!==f){m=f=k;for(var v=0,A=m.length;v<A;++v)if(m[v].name===o){m=m.slice(),m.splice(v,1);break}}y.tween=m}}function iOt(s,o,f){var m,y;if(typeof f!="function")throw new Error;return function(){var k=j5(this,s),v=k.tween;if(v!==m){y=(m=v).slice();for(var A={name:o,value:f},O=0,j=y.length;O<j;++O)if(y[O].name===o){y[O]=A;break}O===j&&y.push(A)}k.tween=y}}function sOt(s,o){var f=this._id;if(s+="",arguments.length<2){for(var m=y3(this.node(),f).tween,y=0,k=m.length,v;y<k;++y)if((v=m[y]).name===s)return v.value;return null}return this.each((o==null?rOt:iOt)(f,s,o))}function Ave(s,o,f){var m=s._id;return s.each(function(){var y=j5(this,m);(y.value||(y.value={}))[o]=f.apply(this,arguments)}),function(y){return y3(y,m).value[o]}}function HFe(s,o){var f;return(typeof o=="number"?w3:o instanceof cS?NQ:(f=cS(o))?(o=f,NQ):MFe)(s,o)}function aOt(s){return function(){this.removeAttribute(s)}}function oOt(s){return function(){this.removeAttributeNS(s.space,s.local)}}function cOt(s,o,f){var m,y=f+"",k;return function(){var v=this.getAttribute(s);return v===y?null:v===m?k:k=o(m=v,f)}}function lOt(s,o,f){var m,y=f+"",k;return function(){var v=this.getAttributeNS(s.space,s.local);return v===y?null:v===m?k:k=o(m=v,f)}}function uOt(s,o,f){var m,y,k;return function(){var v,A=f(this),O;return A==null?void this.removeAttribute(s):(v=this.getAttribute(s),O=A+"",v===O?null:v===m&&O===y?k:(y=O,k=o(m=v,A)))}}function hOt(s,o,f){var m,y,k;return function(){var v,A=f(this),O;return A==null?void this.removeAttributeNS(s.space,s.local):(v=this.getAttributeNS(s.space,s.local),O=A+"",v===O?null:v===m&&O===y?k:(y=O,k=o(m=v,A)))}}function fOt(s,o){var f=cu(s),m=f==="transform"?UIt:HFe;return this.attrTween(s,typeof o=="function"?(f.local?hOt:uOt)(f,m,Ave(this,"attr."+s,o)):o==null?(f.local?oOt:aOt)(f):(f.local?lOt:cOt)(f,m,o))}function dOt(s,o){return function(f){this.setAttribute(s,o.call(this,f))}}function gOt(s,o){return function(f){this.setAttributeNS(s.space,s.local,o.call(this,f))}}function pOt(s,o){var f,m;function y(){var k=o.apply(this,arguments);return k!==m&&(f=(m=k)&&gOt(s,k)),f}return y._value=o,y}function mOt(s,o){var f,m;function y(){var k=o.apply(this,arguments);return k!==m&&(f=(m=k)&&dOt(s,k)),f}return y._value=o,y}function vOt(s,o){var f="attr."+s;if(arguments.length<2)return(f=this.tween(f))&&f._value;if(o==null)return this.tween(f,null);if(typeof o!="function")throw new Error;var m=cu(s);return this.tween(f,(m.local?pOt:mOt)(m,o))}function bOt(s,o){return function(){Cve(this,s).delay=+o.apply(this,arguments)}}function wOt(s,o){return o=+o,function(){Cve(this,s).delay=o}}function yOt(s){var o=this._id;return arguments.length?this.each((typeof s=="function"?bOt:wOt)(o,s)):y3(this.node(),o).delay}function _Ot(s,o){return function(){j5(this,s).duration=+o.apply(this,arguments)}}function xOt(s,o){return o=+o,function(){j5(this,s).duration=o}}function kOt(s){var o=this._id;return arguments.length?this.each((typeof s=="function"?_Ot:xOt)(o,s)):y3(this.node(),o).duration}function EOt(s,o){if(typeof o!="function")throw new Error;return function(){j5(this,s).ease=o}}function TOt(s){var o=this._id;return arguments.length?this.each(EOt(o,s)):y3(this.node(),o).ease}function SOt(s,o){return function(){var f=o.apply(this,arguments);if(typeof f!="function")throw new Error;j5(this,s).ease=f}}function COt(s){if(typeof s!="function")throw new Error;return this.each(SOt(this._id,s))}function AOt(s){typeof s!="function"&&(s=nFe(s));for(var o=this._groups,f=o.length,m=new Array(f),y=0;y<f;++y)for(var k=o[y],v=k.length,A=m[y]=[],O,j=0;j<v;++j)(O=k[j])&&s.call(O,O.__data__,j,k)&&A.push(O);return new nx(m,this._parents,this._name,this._id)}function MOt(s){if(s._id!==this._id)throw new Error;for(var o=this._groups,f=s._groups,m=o.length,y=f.length,k=Math.min(m,y),v=new Array(m),A=0;A<k;++A)for(var O=o[A],j=f[A],z=O.length,V=v[A]=new Array(z),Y,G=0;G<z;++G)(Y=O[G]||j[G])&&(V[G]=Y);for(;A<m;++A)v[A]=o[A];return new nx(v,this._parents,this._name,this._id)}function LOt(s){return(s+"").trim().split(/^|\s+/).every(function(o){var f=o.indexOf(".");return f>=0&&(o=o.slice(0,f)),!o||o==="start"})}function IOt(s,o,f){var m,y,k=LOt(o)?Cve:j5;return function(){var v=k(this,s),A=v.on;A!==m&&(y=(m=A).copy()).on(o,f),v.on=y}}function OOt(s,o){var f=this._id;return arguments.length<2?y3(this.node(),f).on.on(s):this.each(IOt(f,s,o))}function DOt(s){return function(){var o=this.parentNode;for(var f in this.__transition)if(+f!==s)return;o&&o.removeChild(this)}}function POt(){return this.on("end.remove",DOt(this._id))}function NOt(s){var o=this._name,f=this._id;typeof s!="function"&&(s=ex(s));for(var m=this._groups,y=m.length,k=new Array(y),v=0;v<y;++v)for(var A=m[v],O=A.length,j=k[v]=new Array(O),z,V,Y=0;Y<O;++Y)(z=A[Y])&&(V=s.call(z,z.__data__,Y,A))&&("__data__"in z&&(V.__data__=z.__data__),j[Y]=V,VQ(j[Y],o,f,Y,j,y3(z,f)));return new nx(k,this._parents,o,f)}function ROt(s){var o=this._name,f=this._id;typeof s!="function"&&(s=OF(s));for(var m=this._groups,y=m.length,k=[],v=[],A=0;A<y;++A)for(var O=m[A],j=O.length,z,V=0;V<j;++V)if(z=O[V]){for(var Y=s.call(z,z.__data__,V,O),G,J=y3(z,f),ce=0,me=Y.length;ce<me;++ce)(G=Y[ce])&&VQ(G,o,f,ce,Y,J);k.push(Y),v.push(z)}return new nx(k,v,o,f)}var BOt=DF.prototype.constructor;function FOt(){return new BOt(this._groups,this._parents)}function jOt(s,o){var f,m,y;return function(){var k=cO(this,s),v=(this.style.removeProperty(s),cO(this,s));return k===v?null:k===f&&v===m?y:y=o(f=k,m=v)}}function zFe(s){return function(){this.style.removeProperty(s)}}function $Ot(s,o,f){var m,y=f+"",k;return function(){var v=cO(this,s);return v===y?null:v===m?k:k=o(m=v,f)}}function HOt(s,o,f){var m,y,k;return function(){var v=cO(this,s),A=f(this),O=A+"";return A==null&&(O=A=(this.style.removeProperty(s),cO(this,s))),v===O?null:v===m&&O===y?k:(y=O,k=o(m=v,A))}}function zOt(s,o){var f,m,y,k="style."+o,v="end."+k,A;return function(){var O=j5(this,s),j=O.on,z=O.value[k]==null?A||(A=zFe(o)):void 0;(j!==f||y!==z)&&(m=(f=j).copy()).on(v,y=z),O.on=m}}function VOt(s,o,f){var m=(s+="")=="transform"?qIt:HFe;return o==null?this.styleTween(s,jOt(s,m)).on("end.style."+s,zFe(s)):typeof o=="function"?this.styleTween(s,HOt(s,m,Ave(this,"style."+s,o))).each(zOt(this._id,s)):this.styleTween(s,$Ot(s,m,o),f).on("end.style."+s,null)}function qOt(s,o,f){return function(m){this.style.setProperty(s,o.call(this,m),f)}}function UOt(s,o,f){var m,y;function k(){var v=o.apply(this,arguments);return v!==y&&(m=(y=v)&&qOt(s,v,f)),m}return k._value=o,k}function GOt(s,o,f){var m="style."+(s+="");if(arguments.length<2)return(m=this.tween(m))&&m._value;if(o==null)return this.tween(m,null);if(typeof o!="function")throw new Error;return this.tween(m,UOt(s,o,f??""))}function WOt(s){return function(){this.textContent=s}}function KOt(s){return function(){var o=s(this);this.textContent=o??""}}function YOt(s){return this.tween("text",typeof s=="function"?KOt(Ave(this,"text",s)):WOt(s==null?"":s+""))}function XOt(s){return function(o){this.textContent=s.call(this,o)}}function QOt(s){var o,f;function m(){var y=s.apply(this,arguments);return y!==f&&(o=(f=y)&&XOt(y)),o}return m._value=s,m}function ZOt(s){var o="text";if(arguments.length<1)return(o=this.tween(o))&&o._value;if(s==null)return this.tween(o,null);if(typeof s!="function")throw new Error;return this.tween(o,QOt(s))}function JOt(){for(var s=this._name,o=this._id,f=VFe(),m=this._groups,y=m.length,k=0;k<y;++k)for(var v=m[k],A=v.length,O,j=0;j<A;++j)if(O=v[j]){var z=y3(O,o);VQ(O,s,f,j,v,{time:z.time+z.delay+z.duration,delay:0,duration:z.duration,ease:z.ease})}return new nx(m,this._parents,s,f)}function eDt(){var s,o,f=this,m=f._id,y=f.size();return new Promise(function(k,v){var A={value:v},O={value:function(){--y===0&&k()}};f.each(function(){var j=j5(this,m),z=j.on;z!==s&&(o=(s=z).copy(),o._.cancel.push(A),o._.interrupt.push(A),o._.end.push(O)),j.on=o}),y===0&&k()})}var tDt=0;function nx(s,o,f,m){this._groups=s,this._parents=o,this._name=f,this._id=m}function VFe(){return++tDt}var rx=DF.prototype;nx.prototype={constructor:nx,select:NOt,selectAll:ROt,selectChild:rx.selectChild,selectChildren:rx.selectChildren,filter:AOt,merge:MOt,selection:FOt,transition:JOt,call:rx.call,nodes:rx.nodes,node:rx.node,size:rx.size,empty:rx.empty,each:rx.each,on:OOt,attr:fOt,attrTween:vOt,style:VOt,styleTween:GOt,text:YOt,textTween:ZOt,remove:POt,tween:sOt,delay:yOt,duration:kOt,ease:TOt,easeVarying:COt,end:eDt,[Symbol.iterator]:rx[Symbol.iterator]};function nDt(s){return((s*=2)<=1?s*s*s:(s-=2)*s*s+2)/2}var rDt={time:null,delay:0,duration:250,ease:nDt};function iDt(s,o){for(var f;!(f=s.__transition)||!(f=f[o]);)if(!(s=s.parentNode))throw new Error(`transition ${o} not found`);return f}function sDt(s){var o,f;s instanceof nx?(o=s._id,s=s._name):(o=VFe(),(f=rDt).time=kve(),s=s==null?null:s+"");for(var m=this._groups,y=m.length,k=0;k<y;++k)for(var v=m[k],A=v.length,O,j=0;j<A;++j)(O=v[j])&&VQ(O,s,o,j,v,f||iDt(O,o));return new nx(m,this._parents,s,o)}DF.prototype.interrupt=nOt,DF.prototype.transition=sDt;const Mve=Math.PI,Lve=2*Mve,fS=1e-6,aDt=Lve-fS;function Ive(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ove(){return new Ive}Ive.prototype=Ove.prototype={constructor:Ive,moveTo:function(s,o){this._+="M"+(this._x0=this._x1=+s)+","+(this._y0=this._y1=+o)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(s,o){this._+="L"+(this._x1=+s)+","+(this._y1=+o)},quadraticCurveTo:function(s,o,f,m){this._+="Q"+ +s+","+ +o+","+(this._x1=+f)+","+(this._y1=+m)},bezierCurveTo:function(s,o,f,m,y,k){this._+="C"+ +s+","+ +o+","+ +f+","+ +m+","+(this._x1=+y)+","+(this._y1=+k)},arcTo:function(s,o,f,m,y){s=+s,o=+o,f=+f,m=+m,y=+y;var k=this._x1,v=this._y1,A=f-s,O=m-o,j=k-s,z=v-o,V=j*j+z*z;if(y<0)throw new Error("negative radius: "+y);if(this._x1===null)this._+="M"+(this._x1=s)+","+(this._y1=o);else if(V>fS)if(!(Math.abs(z*A-O*j)>fS)||!y)this._+="L"+(this._x1=s)+","+(this._y1=o);else{var Y=f-k,G=m-v,J=A*A+O*O,ce=Y*Y+G*G,me=Math.sqrt(J),_e=Math.sqrt(V),we=y*Math.tan((Mve-Math.acos((J+V-ce)/(2*me*_e)))/2),Se=we/_e,Oe=we/me;Math.abs(Se-1)>fS&&(this._+="L"+(s+Se*j)+","+(o+Se*z)),this._+="A"+y+","+y+",0,0,"+ +(z*Y>j*G)+","+(this._x1=s+Oe*A)+","+(this._y1=o+Oe*O)}},arc:function(s,o,f,m,y,k){s=+s,o=+o,f=+f,k=!!k;var v=f*Math.cos(m),A=f*Math.sin(m),O=s+v,j=o+A,z=1^k,V=k?m-y:y-m;if(f<0)throw new Error("negative radius: "+f);this._x1===null?this._+="M"+O+","+j:(Math.abs(this._x1-O)>fS||Math.abs(this._y1-j)>fS)&&(this._+="L"+O+","+j),f&&(V<0&&(V=V%Lve+Lve),V>aDt?this._+="A"+f+","+f+",0,1,"+z+","+(s-v)+","+(o-A)+"A"+f+","+f+",0,1,"+z+","+(this._x1=O)+","+(this._y1=j):V>fS&&(this._+="A"+f+","+f+",0,"+ +(V>=Mve)+","+z+","+(this._x1=s+f*Math.cos(y))+","+(this._y1=o+f*Math.sin(y))))},rect:function(s,o,f,m){this._+="M"+(this._x0=this._x1=+s)+","+(this._y0=this._y1=+o)+"h"+ +f+"v"+ +m+"h"+-f+"Z"},toString:function(){return this._}};function oDt(s){if(!s.ok)throw new Error(s.status+" "+s.statusText);return s.text()}function cDt(s,o){return fetch(s,o).then(oDt)}function lDt(s){return(o,f)=>cDt(o,f).then(m=>new DOMParser().parseFromString(m,s))}var uDt=lDt("image/svg+xml");function hDt(s){return Math.abs(s=Math.round(s))>=1e21?s.toLocaleString("en").replace(/,/g,""):s.toString(10)}function qQ(s,o){if((f=(s=o?s.toExponential(o-1):s.toExponential()).indexOf("e"))<0)return null;var f,m=s.slice(0,f);return[m.length>1?m[0]+m.slice(2):m,+s.slice(f+1)]}function fO(s){return s=qQ(Math.abs(s)),s?s[1]:NaN}function fDt(s,o){return function(f,m){for(var y=f.length,k=[],v=0,A=s[0],O=0;y>0&&A>0&&(O+A+1>m&&(A=Math.max(1,m-O)),k.push(f.substring(y-=A,y+A)),!((O+=A+1)>m));)A=s[v=(v+1)%s.length];return k.reverse().join(o)}}function dDt(s){return function(o){return o.replace(/[0-9]/g,function(f){return s[+f]})}}var gDt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function UQ(s){if(!(o=gDt.exec(s)))throw new Error("invalid format: "+s);var o;return new Dve({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10]})}UQ.prototype=Dve.prototype;function Dve(s){this.fill=s.fill===void 0?" ":s.fill+"",this.align=s.align===void 0?">":s.align+"",this.sign=s.sign===void 0?"-":s.sign+"",this.symbol=s.symbol===void 0?"":s.symbol+"",this.zero=!!s.zero,this.width=s.width===void 0?void 0:+s.width,this.comma=!!s.comma,this.precision=s.precision===void 0?void 0:+s.precision,this.trim=!!s.trim,this.type=s.type===void 0?"":s.type+""}Dve.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function pDt(s){e:for(var o=s.length,f=1,m=-1,y;f<o;++f)switch(s[f]){case".":m=y=f;break;case"0":m===0&&(m=f),y=f;break;default:if(!+s[f])break e;m>0&&(m=0);break}return m>0?s.slice(0,m)+s.slice(y+1):s}var qFe;function mDt(s,o){var f=qQ(s,o);if(!f)return s+"";var m=f[0],y=f[1],k=y-(qFe=Math.max(-8,Math.min(8,Math.floor(y/3)))*3)+1,v=m.length;return k===v?m:k>v?m+new Array(k-v+1).join("0"):k>0?m.slice(0,k)+"."+m.slice(k):"0."+new Array(1-k).join("0")+qQ(s,Math.max(0,o+k-1))[0]}function UFe(s,o){var f=qQ(s,o);if(!f)return s+"";var m=f[0],y=f[1];return y<0?"0."+new Array(-y).join("0")+m:m.length>y+1?m.slice(0,y+1)+"."+m.slice(y+1):m+new Array(y-m.length+2).join("0")}const GFe={"%":(s,o)=>(s*100).toFixed(o),b:s=>Math.round(s).toString(2),c:s=>s+"",d:hDt,e:(s,o)=>s.toExponential(o),f:(s,o)=>s.toFixed(o),g:(s,o)=>s.toPrecision(o),o:s=>Math.round(s).toString(8),p:(s,o)=>UFe(s*100,o),r:UFe,s:mDt,X:s=>Math.round(s).toString(16).toUpperCase(),x:s=>Math.round(s).toString(16)};function WFe(s){return s}var KFe=Array.prototype.map,YFe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function vDt(s){var o=s.grouping===void 0||s.thousands===void 0?WFe:fDt(KFe.call(s.grouping,Number),s.thousands+""),f=s.currency===void 0?"":s.currency[0]+"",m=s.currency===void 0?"":s.currency[1]+"",y=s.decimal===void 0?".":s.decimal+"",k=s.numerals===void 0?WFe:dDt(KFe.call(s.numerals,String)),v=s.percent===void 0?"%":s.percent+"",A=s.minus===void 0?"":s.minus+"",O=s.nan===void 0?"NaN":s.nan+"";function j(V){V=UQ(V);var Y=V.fill,G=V.align,J=V.sign,ce=V.symbol,me=V.zero,_e=V.width,we=V.comma,Se=V.precision,Oe=V.trim,De=V.type;De==="n"?(we=!0,De="g"):GFe[De]||(Se===void 0&&(Se=12),Oe=!0,De="g"),(me||Y==="0"&&G==="=")&&(me=!0,Y="0",G="=");var Ve=ce==="$"?f:ce==="#"&&/[boxX]/.test(De)?"0"+De.toLowerCase():"",ke=ce==="$"?m:/[%p]/.test(De)?v:"",Ie=GFe[De],ge=/[defgprs%]/.test(De);Se=Se===void 0?6:/[gprs]/.test(De)?Math.max(1,Math.min(21,Se)):Math.max(0,Math.min(20,Se));function Me(Ne){var xe=Ve,qe=ke,ae,Qe,Ce;if(De==="c")qe=Ie(Ne)+qe,Ne="";else{Ne=+Ne;var nt=Ne<0||1/Ne<0;if(Ne=isNaN(Ne)?O:Ie(Math.abs(Ne),Se),Oe&&(Ne=pDt(Ne)),nt&&+Ne==0&&J!=="+"&&(nt=!1),xe=(nt?J==="("?J:A:J==="-"||J==="("?"":J)+xe,qe=(De==="s"?YFe[8+qFe/3]:"")+qe+(nt&&J==="("?")":""),ge){for(ae=-1,Qe=Ne.length;++ae<Qe;)if(Ce=Ne.charCodeAt(ae),48>Ce||Ce>57){qe=(Ce===46?y+Ne.slice(ae+1):Ne.slice(ae))+qe,Ne=Ne.slice(0,ae);break}}}we&&!me&&(Ne=o(Ne,1/0));var Ee=xe.length+Ne.length+qe.length,kt=Ee<_e?new Array(_e-Ee+1).join(Y):"";switch(we&&me&&(Ne=o(kt+Ne,kt.length?_e-qe.length:1/0),kt=""),G){case"<":Ne=xe+Ne+qe+kt;break;case"=":Ne=xe+kt+Ne+qe;break;case"^":Ne=kt.slice(0,Ee=kt.length>>1)+xe+Ne+qe+kt.slice(Ee);break;default:Ne=kt+xe+Ne+qe;break}return k(Ne)}return Me.toString=function(){return V+""},Me}function z(V,Y){var G=j((V=UQ(V),V.type="f",V)),J=Math.max(-8,Math.min(8,Math.floor(fO(Y)/3)))*3,ce=Math.pow(10,-J),me=YFe[8+J/3];return function(_e){return G(ce*_e)+me}}return{format:j,formatPrefix:z}}var GQ,XFe,QFe;bDt({thousands:",",grouping:[3],currency:["$",""]});function bDt(s){return GQ=vDt(s),XFe=GQ.format,QFe=GQ.formatPrefix,GQ}function wDt(s){return Math.max(0,-fO(Math.abs(s)))}function yDt(s,o){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(fO(o)/3)))*3-fO(Math.abs(s)))}function _Dt(s,o){return s=Math.abs(s),o=Math.abs(o)-s,Math.max(0,fO(o)-fO(s))+1}function Pve(s,o){switch(arguments.length){case 0:break;case 1:this.range(s);break;default:this.range(o).domain(s);break}return this}const ZFe=Symbol("implicit");function JFe(){var s=new Zl,o=[],f=[],m=ZFe;function y(k){let v=s.get(k);if(v===void 0){if(m!==ZFe)return m;s.set(k,v=o.push(k)-1)}return f[v%f.length]}return y.domain=function(k){if(!arguments.length)return o.slice();o=[],s=new Zl;for(const v of k)s.has(v)||s.set(v,o.push(v)-1);return y},y.range=function(k){return arguments.length?(f=Array.from(k),y):f.slice()},y.unknown=function(k){return arguments.length?(m=k,y):m},y.copy=function(){return JFe(o,f).unknown(m)},Pve.apply(y,arguments),y}function xDt(s){return function(){return s}}function kDt(s){return+s}var eje=[0,1];function dO(s){return s}function Nve(s,o){return(o-=s=+s)?function(f){return(f-s)/o}:xDt(isNaN(o)?NaN:.5)}function EDt(s,o){var f;return s>o&&(f=s,s=o,o=f),function(m){return Math.max(s,Math.min(o,m))}}function TDt(s,o,f){var m=s[0],y=s[1],k=o[0],v=o[1];return y<m?(m=Nve(y,m),k=f(v,k)):(m=Nve(m,y),k=f(k,v)),function(A){return k(m(A))}}function SDt(s,o,f){var m=Math.min(s.length,o.length)-1,y=new Array(m),k=new Array(m),v=-1;for(s[m]<s[0]&&(s=s.slice().reverse(),o=o.slice().reverse());++v<m;)y[v]=Nve(s[v],s[v+1]),k[v]=f(o[v],o[v+1]);return function(A){var O=Kc(s,A,1,m)-1;return k[O](y[O](A))}}function tje(s,o){return o.domain(s.domain()).range(s.range()).interpolate(s.interpolate()).clamp(s.clamp()).unknown(s.unknown())}function CDt(){var s=eje,o=eje,f=_ve,m,y,k,v=dO,A,O,j;function z(){var Y=Math.min(s.length,o.length);return v!==dO&&(v=EDt(s[0],s[Y-1])),A=Y>2?SDt:TDt,O=j=null,V}function V(Y){return Y==null||isNaN(Y=+Y)?k:(O||(O=A(s.map(m),o,f)))(m(v(Y)))}return V.invert=function(Y){return v(y((j||(j=A(o,s.map(m),w3)))(Y)))},V.domain=function(Y){return arguments.length?(s=Array.from(Y,kDt),z()):s.slice()},V.range=function(Y){return arguments.length?(o=Array.from(Y),z()):o.slice()},V.rangeRound=function(Y){return o=Array.from(Y),f=HIt,z()},V.clamp=function(Y){return arguments.length?(v=Y?!0:dO,z()):v!==dO},V.interpolate=function(Y){return arguments.length?(f=Y,z()):f},V.unknown=function(Y){return arguments.length?(k=Y,V):k},function(Y,G){return m=Y,y=G,z()}}function nje(){return CDt()(dO,dO)}function ADt(s,o,f,m){var y=fw(s,o,f),k;switch(m=UQ(m??",f"),m.type){case"s":{var v=Math.max(Math.abs(s),Math.abs(o));return m.precision==null&&!isNaN(k=yDt(y,v))&&(m.precision=k),QFe(m,v)}case"":case"e":case"g":case"p":case"r":{m.precision==null&&!isNaN(k=_Dt(y,Math.max(Math.abs(s),Math.abs(o))))&&(m.precision=k-(m.type==="e"));break}case"f":case"%":{m.precision==null&&!isNaN(k=wDt(y))&&(m.precision=k-(m.type==="%")*2);break}}return XFe(m)}function MDt(s){var o=s.domain;return s.ticks=function(f){var m=o();return X0(m[0],m[m.length-1],f??10)},s.tickFormat=function(f,m){var y=o();return ADt(y[0],y[y.length-1],f??10,m)},s.nice=function(f){f==null&&(f=10);var m=o(),y=0,k=m.length-1,v=m[y],A=m[k],O,j,z=10;for(A<v&&(j=v,v=A,A=j,j=y,y=k,k=j);z-- >0;){if(j=Rg(v,A,f),j===O)return m[y]=v,m[k]=A,o(m);if(j>0)v=Math.floor(v/j)*j,A=Math.ceil(A/j)*j;else if(j<0)v=Math.ceil(v*j)/j,A=Math.floor(A*j)/j;else break;O=j}return s},s}function rje(){var s=nje();return s.copy=function(){return tje(s,rje())},Pve.apply(s,arguments),MDt(s)}function LDt(s,o){s=s.slice();var f=0,m=s.length-1,y=s[f],k=s[m],v;return k<y&&(v=f,f=m,m=v,v=y,y=k,k=v),s[f]=o.floor(y),s[m]=o.ceil(k),s}var Rve=new Date,Bve=new Date;function Z0(s,o,f,m){function y(k){return s(k=arguments.length===0?new Date:new Date(+k)),k}return y.floor=function(k){return s(k=new Date(+k)),k},y.ceil=function(k){return s(k=new Date(k-1)),o(k,1),s(k),k},y.round=function(k){var v=y(k),A=y.ceil(k);return k-v<A-k?v:A},y.offset=function(k,v){return o(k=new Date(+k),v==null?1:Math.floor(v)),k},y.range=function(k,v,A){var O=[],j;if(k=y.ceil(k),A=A==null?1:Math.floor(A),!(k<v)||!(A>0))return O;do O.push(j=new Date(+k)),o(k,A),s(k);while(j<k&&k<v);return O},y.filter=function(k){return Z0(function(v){if(v>=v)for(;s(v),!k(v);)v.setTime(v-1)},function(v,A){if(v>=v)if(A<0)for(;++A<=0;)for(;o(v,-1),!k(v););else for(;--A>=0;)for(;o(v,1),!k(v););})},f&&(y.count=function(k,v){return Rve.setTime(+k),Bve.setTime(+v),s(Rve),s(Bve),Math.floor(f(Rve,Bve))},y.every=function(k){return k=Math.floor(k),!isFinite(k)||!(k>0)?null:k>1?y.filter(m?function(v){return m(v)%k===0}:function(v){return y.count(0,v)%k===0}):y}),y}var WQ=Z0(function(){},function(s,o){s.setTime(+s+o)},function(s,o){return o-s});WQ.every=function(s){return s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?Z0(function(o){o.setTime(Math.floor(o/s)*s)},function(o,f){o.setTime(+o+f*s)},function(o,f){return(f-o)/s}):WQ};const IDt=WQ;WQ.range;const ix=1e3,gw=ix*60,sx=gw*60,dS=sx*24,Fve=dS*7,ije=dS*30,jve=dS*365;var sje=Z0(function(s){s.setTime(s-s.getMilliseconds())},function(s,o){s.setTime(+s+o*ix)},function(s,o){return(o-s)/ix},function(s){return s.getUTCSeconds()});const zF=sje;sje.range;var aje=Z0(function(s){s.setTime(s-s.getMilliseconds()-s.getSeconds()*ix)},function(s,o){s.setTime(+s+o*gw)},function(s,o){return(o-s)/gw},function(s){return s.getMinutes()});const KQ=aje;aje.range;var oje=Z0(function(s){s.setTime(s-s.getMilliseconds()-s.getSeconds()*ix-s.getMinutes()*gw)},function(s,o){s.setTime(+s+o*sx)},function(s,o){return(o-s)/sx},function(s){return s.getHours()});const YQ=oje;oje.range;var cje=Z0(s=>s.setHours(0,0,0,0),(s,o)=>s.setDate(s.getDate()+o),(s,o)=>(o-s-(o.getTimezoneOffset()-s.getTimezoneOffset())*gw)/dS,s=>s.getDate()-1);const gO=cje;cje.range;function gS(s){return Z0(function(o){o.setDate(o.getDate()-(o.getDay()+7-s)%7),o.setHours(0,0,0,0)},function(o,f){o.setDate(o.getDate()+f*7)},function(o,f){return(f-o-(f.getTimezoneOffset()-o.getTimezoneOffset())*gw)/Fve})}var pO=gS(0),XQ=gS(1),ODt=gS(2),DDt=gS(3),mO=gS(4),PDt=gS(5),NDt=gS(6);pO.range,XQ.range,ODt.range,DDt.range,mO.range,PDt.range,NDt.range;var lje=Z0(function(s){s.setDate(1),s.setHours(0,0,0,0)},function(s,o){s.setMonth(s.getMonth()+o)},function(s,o){return o.getMonth()-s.getMonth()+(o.getFullYear()-s.getFullYear())*12},function(s){return s.getMonth()});const QQ=lje;lje.range;var $ve=Z0(function(s){s.setMonth(0,1),s.setHours(0,0,0,0)},function(s,o){s.setFullYear(s.getFullYear()+o)},function(s,o){return o.getFullYear()-s.getFullYear()},function(s){return s.getFullYear()});$ve.every=function(s){return!isFinite(s=Math.floor(s))||!(s>0)?null:Z0(function(o){o.setFullYear(Math.floor(o.getFullYear()/s)*s),o.setMonth(0,1),o.setHours(0,0,0,0)},function(o,f){o.setFullYear(o.getFullYear()+f*s)})};const pS=$ve;$ve.range;var RDt=Z0(function(s){s.setUTCSeconds(0,0)},function(s,o){s.setTime(+s+o*gw)},function(s,o){return(o-s)/gw},function(s){return s.getUTCMinutes()});RDt.range;var BDt=Z0(function(s){s.setUTCMinutes(0,0,0)},function(s,o){s.setTime(+s+o*sx)},function(s,o){return(o-s)/sx},function(s){return s.getUTCHours()});BDt.range;var uje=Z0(function(s){s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCDate(s.getUTCDate()+o)},function(s,o){return(o-s)/dS},function(s){return s.getUTCDate()-1});const hje=uje;uje.range;function mS(s){return Z0(function(o){o.setUTCDate(o.getUTCDate()-(o.getUTCDay()+7-s)%7),o.setUTCHours(0,0,0,0)},function(o,f){o.setUTCDate(o.getUTCDate()+f*7)},function(o,f){return(f-o)/Fve})}var fje=mS(0),ZQ=mS(1),FDt=mS(2),jDt=mS(3),vO=mS(4),$Dt=mS(5),HDt=mS(6);fje.range,ZQ.range,FDt.range,jDt.range,vO.range,$Dt.range,HDt.range;var zDt=Z0(function(s){s.setUTCDate(1),s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCMonth(s.getUTCMonth()+o)},function(s,o){return o.getUTCMonth()-s.getUTCMonth()+(o.getUTCFullYear()-s.getUTCFullYear())*12},function(s){return s.getUTCMonth()});zDt.range;var Hve=Z0(function(s){s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},function(s,o){s.setUTCFullYear(s.getUTCFullYear()+o)},function(s,o){return o.getUTCFullYear()-s.getUTCFullYear()},function(s){return s.getUTCFullYear()});Hve.every=function(s){return!isFinite(s=Math.floor(s))||!(s>0)?null:Z0(function(o){o.setUTCFullYear(Math.floor(o.getUTCFullYear()/s)*s),o.setUTCMonth(0,1),o.setUTCHours(0,0,0,0)},function(o,f){o.setUTCFullYear(o.getUTCFullYear()+f*s)})};const VF=Hve;Hve.range;function VDt(s,o,f,m,y,k){const v=[[zF,1,ix],[zF,5,5*ix],[zF,15,15*ix],[zF,30,30*ix],[k,1,gw],[k,5,5*gw],[k,15,15*gw],[k,30,30*gw],[y,1,sx],[y,3,3*sx],[y,6,6*sx],[y,12,12*sx],[m,1,dS],[m,2,2*dS],[f,1,Fve],[o,1,ije],[o,3,3*ije],[s,1,jve]];function A(j,z,V){const Y=z<j;Y&&([j,z]=[z,j]);const G=V&&typeof V.range=="function"?V:O(j,z,V),J=G?G.range(j,+z+1):[];return Y?J.reverse():J}function O(j,z,V){const Y=Math.abs(z-j)/V,G=jr(([,,me])=>me).right(v,Y);if(G===v.length)return s.every(fw(j/jve,z/jve,V));if(G===0)return IDt.every(Math.max(fw(j,z,V),1));const[J,ce]=v[Y/v[G-1][2]<v[G][2]/Y?G-1:G];return J.every(ce)}return[A,O]}const[qDt,UDt]=VDt(pS,QQ,pO,gO,YQ,KQ);function zve(s){if(0<=s.y&&s.y<100){var o=new Date(-1,s.m,s.d,s.H,s.M,s.S,s.L);return o.setFullYear(s.y),o}return new Date(s.y,s.m,s.d,s.H,s.M,s.S,s.L)}function Vve(s){if(0<=s.y&&s.y<100){var o=new Date(Date.UTC(-1,s.m,s.d,s.H,s.M,s.S,s.L));return o.setUTCFullYear(s.y),o}return new Date(Date.UTC(s.y,s.m,s.d,s.H,s.M,s.S,s.L))}function qF(s,o,f){return{y:s,m:o,d:f,H:0,M:0,S:0,L:0}}function GDt(s){var o=s.dateTime,f=s.date,m=s.time,y=s.periods,k=s.days,v=s.shortDays,A=s.months,O=s.shortMonths,j=UF(y),z=GF(y),V=UF(k),Y=GF(k),G=UF(v),J=GF(v),ce=UF(A),me=GF(A),_e=UF(O),we=GF(O),Se={a:nt,A:Ee,b:kt,B:Ot,c:null,d:bje,e:bje,f:pPt,g:TPt,G:CPt,H:fPt,I:dPt,j:gPt,L:wje,m:mPt,M:vPt,p:Vt,q:Rt,Q:Tje,s:Sje,S:bPt,u:wPt,U:yPt,V:_Pt,w:xPt,W:kPt,x:null,X:null,y:EPt,Y:SPt,Z:APt,"%":Eje},Oe={a:Gt,A:_n,b:On,B:Dt,c:null,d:_je,e:_je,f:OPt,g:zPt,G:qPt,H:MPt,I:LPt,j:IPt,L:xje,m:DPt,M:PPt,p:ai,q:Ft,Q:Tje,s:Sje,S:NPt,u:RPt,U:BPt,V:FPt,w:jPt,W:$Pt,x:null,X:null,y:HPt,Y:VPt,Z:UPt,"%":Eje},De={a:Me,A:Ne,b:xe,B:qe,c:ae,d:mje,e:mje,f:cPt,g:pje,G:gje,H:vje,I:vje,j:iPt,L:oPt,m:rPt,M:sPt,p:ge,q:nPt,Q:uPt,s:hPt,S:aPt,u:QDt,U:ZDt,V:JDt,w:XDt,W:ePt,x:Qe,X:Ce,y:pje,Y:gje,Z:tPt,"%":lPt};Se.x=Ve(f,Se),Se.X=Ve(m,Se),Se.c=Ve(o,Se),Oe.x=Ve(f,Oe),Oe.X=Ve(m,Oe),Oe.c=Ve(o,Oe);function Ve($t,Pt){return function(qt){var et=[],ht=-1,Ut=0,it=$t.length,Zn,Ge,ws;for(qt instanceof Date||(qt=new Date(+qt));++ht<it;)$t.charCodeAt(ht)===37&&(et.push($t.slice(Ut,ht)),(Ge=dje[Zn=$t.charAt(++ht)])!=null?Zn=$t.charAt(++ht):Ge=Zn==="e"?" ":"0",(ws=Pt[Zn])&&(Zn=ws(qt,Ge)),et.push(Zn),Ut=ht+1);return et.push($t.slice(Ut,ht)),et.join("")}}function ke($t,Pt){return function(qt){var et=qF(1900,void 0,1),ht=Ie(et,$t,qt+="",0),Ut,it;if(ht!=qt.length)return null;if("Q"in et)return new Date(et.Q);if("s"in et)return new Date(et.s*1e3+("L"in et?et.L:0));if(Pt&&!("Z"in et)&&(et.Z=0),"p"in et&&(et.H=et.H%12+et.p*12),et.m===void 0&&(et.m="q"in et?et.q:0),"V"in et){if(et.V<1||et.V>53)return null;"w"in et||(et.w=1),"Z"in et?(Ut=Vve(qF(et.y,0,1)),it=Ut.getUTCDay(),Ut=it>4||it===0?ZQ.ceil(Ut):ZQ(Ut),Ut=hje.offset(Ut,(et.V-1)*7),et.y=Ut.getUTCFullYear(),et.m=Ut.getUTCMonth(),et.d=Ut.getUTCDate()+(et.w+6)%7):(Ut=zve(qF(et.y,0,1)),it=Ut.getDay(),Ut=it>4||it===0?XQ.ceil(Ut):XQ(Ut),Ut=gO.offset(Ut,(et.V-1)*7),et.y=Ut.getFullYear(),et.m=Ut.getMonth(),et.d=Ut.getDate()+(et.w+6)%7)}else("W"in et||"U"in et)&&("w"in et||(et.w="u"in et?et.u%7:"W"in et?1:0),it="Z"in et?Vve(qF(et.y,0,1)).getUTCDay():zve(qF(et.y,0,1)).getDay(),et.m=0,et.d="W"in et?(et.w+6)%7+et.W*7-(it+5)%7:et.w+et.U*7-(it+6)%7);return"Z"in et?(et.H+=et.Z/100|0,et.M+=et.Z%100,Vve(et)):zve(et)}}function Ie($t,Pt,qt,et){for(var ht=0,Ut=Pt.length,it=qt.length,Zn,Ge;ht<Ut;){if(et>=it)return-1;if(Zn=Pt.charCodeAt(ht++),Zn===37){if(Zn=Pt.charAt(ht++),Ge=De[Zn in dje?Pt.charAt(ht++):Zn],!Ge||(et=Ge($t,qt,et))<0)return-1}else if(Zn!=qt.charCodeAt(et++))return-1}return et}function ge($t,Pt,qt){var et=j.exec(Pt.slice(qt));return et?($t.p=z.get(et[0].toLowerCase()),qt+et[0].length):-1}function Me($t,Pt,qt){var et=G.exec(Pt.slice(qt));return et?($t.w=J.get(et[0].toLowerCase()),qt+et[0].length):-1}function Ne($t,Pt,qt){var et=V.exec(Pt.slice(qt));return et?($t.w=Y.get(et[0].toLowerCase()),qt+et[0].length):-1}function xe($t,Pt,qt){var et=_e.exec(Pt.slice(qt));return et?($t.m=we.get(et[0].toLowerCase()),qt+et[0].length):-1}function qe($t,Pt,qt){var et=ce.exec(Pt.slice(qt));return et?($t.m=me.get(et[0].toLowerCase()),qt+et[0].length):-1}function ae($t,Pt,qt){return Ie($t,o,Pt,qt)}function Qe($t,Pt,qt){return Ie($t,f,Pt,qt)}function Ce($t,Pt,qt){return Ie($t,m,Pt,qt)}function nt($t){return v[$t.getDay()]}function Ee($t){return k[$t.getDay()]}function kt($t){return O[$t.getMonth()]}function Ot($t){return A[$t.getMonth()]}function Vt($t){return y[+($t.getHours()>=12)]}function Rt($t){return 1+~~($t.getMonth()/3)}function Gt($t){return v[$t.getUTCDay()]}function _n($t){return k[$t.getUTCDay()]}function On($t){return O[$t.getUTCMonth()]}function Dt($t){return A[$t.getUTCMonth()]}function ai($t){return y[+($t.getUTCHours()>=12)]}function Ft($t){return 1+~~($t.getUTCMonth()/3)}return{format:function($t){var Pt=Ve($t+="",Se);return Pt.toString=function(){return $t},Pt},parse:function($t){var Pt=ke($t+="",!1);return Pt.toString=function(){return $t},Pt},utcFormat:function($t){var Pt=Ve($t+="",Oe);return Pt.toString=function(){return $t},Pt},utcParse:function($t){var Pt=ke($t+="",!0);return Pt.toString=function(){return $t},Pt}}}var dje={"-":"",_:" ",0:"0"},J0=/^\s*\d+/,WDt=/^%/,KDt=/[\\^$*+?|[\]().{}]/g;function bu(s,o,f){var m=s<0?"-":"",y=(m?-s:s)+"",k=y.length;return m+(k<f?new Array(f-k+1).join(o)+y:y)}function YDt(s){return s.replace(KDt,"\\$&")}function UF(s){return new RegExp("^(?:"+s.map(YDt).join("|")+")","i")}function GF(s){return new Map(s.map((o,f)=>[o.toLowerCase(),f]))}function XDt(s,o,f){var m=J0.exec(o.slice(f,f+1));return m?(s.w=+m[0],f+m[0].length):-1}function QDt(s,o,f){var m=J0.exec(o.slice(f,f+1));return m?(s.u=+m[0],f+m[0].length):-1}function ZDt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.U=+m[0],f+m[0].length):-1}function JDt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.V=+m[0],f+m[0].length):-1}function ePt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.W=+m[0],f+m[0].length):-1}function gje(s,o,f){var m=J0.exec(o.slice(f,f+4));return m?(s.y=+m[0],f+m[0].length):-1}function pje(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.y=+m[0]+(+m[0]>68?1900:2e3),f+m[0].length):-1}function tPt(s,o,f){var m=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(o.slice(f,f+6));return m?(s.Z=m[1]?0:-(m[2]+(m[3]||"00")),f+m[0].length):-1}function nPt(s,o,f){var m=J0.exec(o.slice(f,f+1));return m?(s.q=m[0]*3-3,f+m[0].length):-1}function rPt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.m=m[0]-1,f+m[0].length):-1}function mje(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.d=+m[0],f+m[0].length):-1}function iPt(s,o,f){var m=J0.exec(o.slice(f,f+3));return m?(s.m=0,s.d=+m[0],f+m[0].length):-1}function vje(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.H=+m[0],f+m[0].length):-1}function sPt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.M=+m[0],f+m[0].length):-1}function aPt(s,o,f){var m=J0.exec(o.slice(f,f+2));return m?(s.S=+m[0],f+m[0].length):-1}function oPt(s,o,f){var m=J0.exec(o.slice(f,f+3));return m?(s.L=+m[0],f+m[0].length):-1}function cPt(s,o,f){var m=J0.exec(o.slice(f,f+6));return m?(s.L=Math.floor(m[0]/1e3),f+m[0].length):-1}function lPt(s,o,f){var m=WDt.exec(o.slice(f,f+1));return m?f+m[0].length:-1}function uPt(s,o,f){var m=J0.exec(o.slice(f));return m?(s.Q=+m[0],f+m[0].length):-1}function hPt(s,o,f){var m=J0.exec(o.slice(f));return m?(s.s=+m[0],f+m[0].length):-1}function bje(s,o){return bu(s.getDate(),o,2)}function fPt(s,o){return bu(s.getHours(),o,2)}function dPt(s,o){return bu(s.getHours()%12||12,o,2)}function gPt(s,o){return bu(1+gO.count(pS(s),s),o,3)}function wje(s,o){return bu(s.getMilliseconds(),o,3)}function pPt(s,o){return wje(s,o)+"000"}function mPt(s,o){return bu(s.getMonth()+1,o,2)}function vPt(s,o){return bu(s.getMinutes(),o,2)}function bPt(s,o){return bu(s.getSeconds(),o,2)}function wPt(s){var o=s.getDay();return o===0?7:o}function yPt(s,o){return bu(pO.count(pS(s)-1,s),o,2)}function yje(s){var o=s.getDay();return o>=4||o===0?mO(s):mO.ceil(s)}function _Pt(s,o){return s=yje(s),bu(mO.count(pS(s),s)+(pS(s).getDay()===4),o,2)}function xPt(s){return s.getDay()}function kPt(s,o){return bu(XQ.count(pS(s)-1,s),o,2)}function EPt(s,o){return bu(s.getFullYear()%100,o,2)}function TPt(s,o){return s=yje(s),bu(s.getFullYear()%100,o,2)}function SPt(s,o){return bu(s.getFullYear()%1e4,o,4)}function CPt(s,o){var f=s.getDay();return s=f>=4||f===0?mO(s):mO.ceil(s),bu(s.getFullYear()%1e4,o,4)}function APt(s){var o=s.getTimezoneOffset();return(o>0?"-":(o*=-1,"+"))+bu(o/60|0,"0",2)+bu(o%60,"0",2)}function _je(s,o){return bu(s.getUTCDate(),o,2)}function MPt(s,o){return bu(s.getUTCHours(),o,2)}function LPt(s,o){return bu(s.getUTCHours()%12||12,o,2)}function IPt(s,o){return bu(1+hje.count(VF(s),s),o,3)}function xje(s,o){return bu(s.getUTCMilliseconds(),o,3)}function OPt(s,o){return xje(s,o)+"000"}function DPt(s,o){return bu(s.getUTCMonth()+1,o,2)}function PPt(s,o){return bu(s.getUTCMinutes(),o,2)}function NPt(s,o){return bu(s.getUTCSeconds(),o,2)}function RPt(s){var o=s.getUTCDay();return o===0?7:o}function BPt(s,o){return bu(fje.count(VF(s)-1,s),o,2)}function kje(s){var o=s.getUTCDay();return o>=4||o===0?vO(s):vO.ceil(s)}function FPt(s,o){return s=kje(s),bu(vO.count(VF(s),s)+(VF(s).getUTCDay()===4),o,2)}function jPt(s){return s.getUTCDay()}function $Pt(s,o){return bu(ZQ.count(VF(s)-1,s),o,2)}function HPt(s,o){return bu(s.getUTCFullYear()%100,o,2)}function zPt(s,o){return s=kje(s),bu(s.getUTCFullYear()%100,o,2)}function VPt(s,o){return bu(s.getUTCFullYear()%1e4,o,4)}function qPt(s,o){var f=s.getUTCDay();return s=f>=4||f===0?vO(s):vO.ceil(s),bu(s.getUTCFullYear()%1e4,o,4)}function UPt(){return"+0000"}function Eje(){return"%"}function Tje(s){return+s}function Sje(s){return Math.floor(+s/1e3)}var bO,JQ;GPt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function GPt(s){return bO=GDt(s),JQ=bO.format,bO.parse,bO.utcFormat,bO.utcParse,bO}function WPt(s){return new Date(s)}function KPt(s){return s instanceof Date?+s:+new Date(+s)}function Cje(s,o,f,m,y,k,v,A,O,j){var z=nje(),V=z.invert,Y=z.domain,G=j(".%L"),J=j(":%S"),ce=j("%I:%M"),me=j("%I %p"),_e=j("%a %d"),we=j("%b %d"),Se=j("%B"),Oe=j("%Y");function De(Ve){return(O(Ve)<Ve?G:A(Ve)<Ve?J:v(Ve)<Ve?ce:k(Ve)<Ve?me:m(Ve)<Ve?y(Ve)<Ve?_e:we:f(Ve)<Ve?Se:Oe)(Ve)}return z.invert=function(Ve){return new Date(V(Ve))},z.domain=function(Ve){return arguments.length?Y(Array.from(Ve,KPt)):Y().map(WPt)},z.ticks=function(Ve){var ke=Y();return s(ke[0],ke[ke.length-1],Ve??10)},z.tickFormat=function(Ve,ke){return ke==null?De:j(ke)},z.nice=function(Ve){var ke=Y();return(!Ve||typeof Ve.range!="function")&&(Ve=o(ke[0],ke[ke.length-1],Ve??10)),Ve?Y(LDt(ke,Ve)):z},z.copy=function(){return tje(z,Cje(s,o,f,m,y,k,v,A,O,j))},z}function YPt(){return Pve.apply(Cje(qDt,UDt,pS,QQ,pO,gO,YQ,KQ,zF,JQ).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Zd(s){return function(){return s}}const Aje=Math.abs,wp=Math.atan2,vS=Math.cos,XPt=Math.max,qve=Math.min,$5=Math.sin,wO=Math.sqrt,yp=1e-12,WF=Math.PI,eZ=WF/2,tZ=2*WF;function QPt(s){return s>1?0:s<-1?WF:Math.acos(s)}function Mje(s){return s>=1?eZ:s<=-1?-eZ:Math.asin(s)}function ZPt(s){return s.innerRadius}function JPt(s){return s.outerRadius}function eNt(s){return s.startAngle}function tNt(s){return s.endAngle}function nNt(s){return s&&s.padAngle}function rNt(s,o,f,m,y,k,v,A){var O=f-s,j=m-o,z=v-y,V=A-k,Y=V*O-z*j;if(!(Y*Y<yp))return Y=(z*(o-k)-V*(s-y))/Y,[s+Y*O,o+Y*j]}function nZ(s,o,f,m,y,k,v){var A=s-f,O=o-m,j=(v?k:-k)/wO(A*A+O*O),z=j*O,V=-j*A,Y=s+z,G=o+V,J=f+z,ce=m+V,me=(Y+J)/2,_e=(G+ce)/2,we=J-Y,Se=ce-G,Oe=we*we+Se*Se,De=y-k,Ve=Y*ce-J*G,ke=(Se<0?-1:1)*wO(XPt(0,De*De*Oe-Ve*Ve)),Ie=(Ve*Se-we*ke)/Oe,ge=(-Ve*we-Se*ke)/Oe,Me=(Ve*Se+we*ke)/Oe,Ne=(-Ve*we+Se*ke)/Oe,xe=Ie-me,qe=ge-_e,ae=Me-me,Qe=Ne-_e;return xe*xe+qe*qe>ae*ae+Qe*Qe&&(Ie=Me,ge=Ne),{cx:Ie,cy:ge,x01:-z,y01:-V,x11:Ie*(y/De-1),y11:ge*(y/De-1)}}function KF(){var s=ZPt,o=JPt,f=Zd(0),m=null,y=eNt,k=tNt,v=nNt,A=null;function O(){var j,z,V=+s.apply(this,arguments),Y=+o.apply(this,arguments),G=y.apply(this,arguments)-eZ,J=k.apply(this,arguments)-eZ,ce=Aje(J-G),me=J>G;if(A||(A=j=Ove()),Y<V&&(z=Y,Y=V,V=z),!(Y>yp))A.moveTo(0,0);else if(ce>tZ-yp)A.moveTo(Y*vS(G),Y*$5(G)),A.arc(0,0,Y,G,J,!me),V>yp&&(A.moveTo(V*vS(J),V*$5(J)),A.arc(0,0,V,J,G,me));else{var _e=G,we=J,Se=G,Oe=J,De=ce,Ve=ce,ke=v.apply(this,arguments)/2,Ie=ke>yp&&(m?+m.apply(this,arguments):wO(V*V+Y*Y)),ge=qve(Aje(Y-V)/2,+f.apply(this,arguments)),Me=ge,Ne=ge,xe,qe;if(Ie>yp){var ae=Mje(Ie/V*$5(ke)),Qe=Mje(Ie/Y*$5(ke));(De-=ae*2)>yp?(ae*=me?1:-1,Se+=ae,Oe-=ae):(De=0,Se=Oe=(G+J)/2),(Ve-=Qe*2)>yp?(Qe*=me?1:-1,_e+=Qe,we-=Qe):(Ve=0,_e=we=(G+J)/2)}var Ce=Y*vS(_e),nt=Y*$5(_e),Ee=V*vS(Oe),kt=V*$5(Oe);if(ge>yp){var Ot=Y*vS(we),Vt=Y*$5(we),Rt=V*vS(Se),Gt=V*$5(Se),_n;if(ce<WF&&(_n=rNt(Ce,nt,Rt,Gt,Ot,Vt,Ee,kt))){var On=Ce-_n[0],Dt=nt-_n[1],ai=Ot-_n[0],Ft=Vt-_n[1],$t=1/$5(QPt((On*ai+Dt*Ft)/(wO(On*On+Dt*Dt)*wO(ai*ai+Ft*Ft)))/2),Pt=wO(_n[0]*_n[0]+_n[1]*_n[1]);Me=qve(ge,(V-Pt)/($t-1)),Ne=qve(ge,(Y-Pt)/($t+1))}}Ve>yp?Ne>yp?(xe=nZ(Rt,Gt,Ce,nt,Y,Ne,me),qe=nZ(Ot,Vt,Ee,kt,Y,Ne,me),A.moveTo(xe.cx+xe.x01,xe.cy+xe.y01),Ne<ge?A.arc(xe.cx,xe.cy,Ne,wp(xe.y01,xe.x01),wp(qe.y01,qe.x01),!me):(A.arc(xe.cx,xe.cy,Ne,wp(xe.y01,xe.x01),wp(xe.y11,xe.x11),!me),A.arc(0,0,Y,wp(xe.cy+xe.y11,xe.cx+xe.x11),wp(qe.cy+qe.y11,qe.cx+qe.x11),!me),A.arc(qe.cx,qe.cy,Ne,wp(qe.y11,qe.x11),wp(qe.y01,qe.x01),!me))):(A.moveTo(Ce,nt),A.arc(0,0,Y,_e,we,!me)):A.moveTo(Ce,nt),!(V>yp)||!(De>yp)?A.lineTo(Ee,kt):Me>yp?(xe=nZ(Ee,kt,Ot,Vt,V,-Me,me),qe=nZ(Ce,nt,Rt,Gt,V,-Me,me),A.lineTo(xe.cx+xe.x01,xe.cy+xe.y01),Me<ge?A.arc(xe.cx,xe.cy,Me,wp(xe.y01,xe.x01),wp(qe.y01,qe.x01),!me):(A.arc(xe.cx,xe.cy,Me,wp(xe.y01,xe.x01),wp(xe.y11,xe.x11),!me),A.arc(0,0,V,wp(xe.cy+xe.y11,xe.cx+xe.x11),wp(qe.cy+qe.y11,qe.cx+qe.x11),me),A.arc(qe.cx,qe.cy,Me,wp(qe.y11,qe.x11),wp(qe.y01,qe.x01),!me))):A.arc(0,0,V,Oe,Se,me)}if(A.closePath(),j)return A=null,j+""||null}return O.centroid=function(){var j=(+s.apply(this,arguments)+ +o.apply(this,arguments))/2,z=(+y.apply(this,arguments)+ +k.apply(this,arguments))/2-WF/2;return[vS(z)*j,$5(z)*j]},O.innerRadius=function(j){return arguments.length?(s=typeof j=="function"?j:Zd(+j),O):s},O.outerRadius=function(j){return arguments.length?(o=typeof j=="function"?j:Zd(+j),O):o},O.cornerRadius=function(j){return arguments.length?(f=typeof j=="function"?j:Zd(+j),O):f},O.padRadius=function(j){return arguments.length?(m=j==null?null:typeof j=="function"?j:Zd(+j),O):m},O.startAngle=function(j){return arguments.length?(y=typeof j=="function"?j:Zd(+j),O):y},O.endAngle=function(j){return arguments.length?(k=typeof j=="function"?j:Zd(+j),O):k},O.padAngle=function(j){return arguments.length?(v=typeof j=="function"?j:Zd(+j),O):v},O.context=function(j){return arguments.length?(A=j??null,O):A},O}function Lje(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function Ije(s){this._context=s}Ije.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;default:this._context.lineTo(s,o);break}}};function Bg(s){return new Ije(s)}function iNt(s){return s[0]}function sNt(s){return s[1]}function bS(s,o){var f=Zd(!0),m=null,y=Bg,k=null;s=typeof s=="function"?s:s===void 0?iNt:Zd(s),o=typeof o=="function"?o:o===void 0?sNt:Zd(o);function v(A){var O,j=(A=Lje(A)).length,z,V=!1,Y;for(m==null&&(k=y(Y=Ove())),O=0;O<=j;++O)!(O<j&&f(z=A[O],O,A))===V&&((V=!V)?k.lineStart():k.lineEnd()),V&&k.point(+s(z,O,A),+o(z,O,A));if(Y)return k=null,Y+""||null}return v.x=function(A){return arguments.length?(s=typeof A=="function"?A:Zd(+A),v):s},v.y=function(A){return arguments.length?(o=typeof A=="function"?A:Zd(+A),v):o},v.defined=function(A){return arguments.length?(f=typeof A=="function"?A:Zd(!!A),v):f},v.curve=function(A){return arguments.length?(y=A,m!=null&&(k=y(m)),v):y},v.context=function(A){return arguments.length?(A==null?m=k=null:k=y(m=A),v):m},v}function aNt(s,o){return o<s?-1:o>s?1:o>=s?0:NaN}function oNt(s){return s}function cNt(){var s=oNt,o=aNt,f=null,m=Zd(0),y=Zd(tZ),k=Zd(0);function v(A){var O,j=(A=Lje(A)).length,z,V,Y=0,G=new Array(j),J=new Array(j),ce=+m.apply(this,arguments),me=Math.min(tZ,Math.max(-tZ,y.apply(this,arguments)-ce)),_e,we=Math.min(Math.abs(me)/j,k.apply(this,arguments)),Se=we*(me<0?-1:1),Oe;for(O=0;O<j;++O)(Oe=J[G[O]=O]=+s(A[O],O,A))>0&&(Y+=Oe);for(o!=null?G.sort(function(De,Ve){return o(J[De],J[Ve])}):f!=null&&G.sort(function(De,Ve){return f(A[De],A[Ve])}),O=0,V=Y?(me-j*Se)/Y:0;O<j;++O,ce=_e)z=G[O],Oe=J[z],_e=ce+(Oe>0?Oe*V:0)+Se,J[z]={data:A[z],index:O,value:Oe,startAngle:ce,endAngle:_e,padAngle:we};return J}return v.value=function(A){return arguments.length?(s=typeof A=="function"?A:Zd(+A),v):s},v.sortValues=function(A){return arguments.length?(o=A,f=null,v):o},v.sort=function(A){return arguments.length?(f=A,o=null,v):f},v.startAngle=function(A){return arguments.length?(m=typeof A=="function"?A:Zd(+A),v):m},v.endAngle=function(A){return arguments.length?(y=typeof A=="function"?A:Zd(+A),v):y},v.padAngle=function(A){return arguments.length?(k=typeof A=="function"?A:Zd(+A),v):k},v}class Oje{constructor(o,f){this._context=o,this._x=f}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(o,f){switch(o=+o,f=+f,this._point){case 0:{this._point=1,this._line?this._context.lineTo(o,f):this._context.moveTo(o,f);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+o)/2,this._y0,this._x0,f,o,f):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+f)/2,o,this._y0,o,f);break}}this._x0=o,this._y0=f}}function lNt(s){return new Oje(s,!0)}function uNt(s){return new Oje(s,!1)}function e7(){}function rZ(s,o,f){s._context.bezierCurveTo((2*s._x0+s._x1)/3,(2*s._y0+s._y1)/3,(s._x0+2*s._x1)/3,(s._y0+2*s._y1)/3,(s._x0+4*s._x1+o)/6,(s._y0+4*s._y1+f)/6)}function iZ(s){this._context=s}iZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:rZ(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:rZ(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function yO(s){return new iZ(s)}function Dje(s){this._context=s}Dje.prototype={areaStart:e7,areaEnd:e7,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._x2=s,this._y2=o;break;case 1:this._point=2,this._x3=s,this._y3=o;break;case 2:this._point=3,this._x4=s,this._y4=o,this._context.moveTo((this._x0+4*this._x1+s)/6,(this._y0+4*this._y1+o)/6);break;default:rZ(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function hNt(s){return new Dje(s)}function Pje(s){this._context=s}Pje.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var f=(this._x0+4*this._x1+s)/6,m=(this._y0+4*this._y1+o)/6;this._line?this._context.lineTo(f,m):this._context.moveTo(f,m);break;case 3:this._point=4;default:rZ(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o}};function fNt(s){return new Pje(s)}function Nje(s,o){this._basis=new iZ(s),this._beta=o}Nje.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var s=this._x,o=this._y,f=s.length-1;if(f>0)for(var m=s[0],y=o[0],k=s[f]-m,v=o[f]-y,A=-1,O;++A<=f;)O=A/f,this._basis.point(this._beta*s[A]+(1-this._beta)*(m+O*k),this._beta*o[A]+(1-this._beta)*(y+O*v));this._x=this._y=null,this._basis.lineEnd()},point:function(s,o){this._x.push(+s),this._y.push(+o)}};const dNt=function s(o){function f(m){return o===1?new iZ(m):new Nje(m,o)}return f.beta=function(m){return s(+m)},f}(.85);function sZ(s,o,f){s._context.bezierCurveTo(s._x1+s._k*(s._x2-s._x0),s._y1+s._k*(s._y2-s._y0),s._x2+s._k*(s._x1-o),s._y2+s._k*(s._y1-f),s._x2,s._y2)}function Uve(s,o){this._context=s,this._k=(1-o)/6}Uve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:sZ(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2,this._x1=s,this._y1=o;break;case 2:this._point=3;default:sZ(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const gNt=function s(o){function f(m){return new Uve(m,o)}return f.tension=function(m){return s(+m)},f}(0);function Gve(s,o){this._context=s,this._k=(1-o)/6}Gve.prototype={areaStart:e7,areaEnd:e7,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._x3=s,this._y3=o;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=o);break;case 2:this._point=3,this._x5=s,this._y5=o;break;default:sZ(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const pNt=function s(o){function f(m){return new Gve(m,o)}return f.tension=function(m){return s(+m)},f}(0);function Wve(s,o){this._context=s,this._k=(1-o)/6}Wve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:sZ(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const mNt=function s(o){function f(m){return new Wve(m,o)}return f.tension=function(m){return s(+m)},f}(0);function Kve(s,o,f){var m=s._x1,y=s._y1,k=s._x2,v=s._y2;if(s._l01_a>yp){var A=2*s._l01_2a+3*s._l01_a*s._l12_a+s._l12_2a,O=3*s._l01_a*(s._l01_a+s._l12_a);m=(m*A-s._x0*s._l12_2a+s._x2*s._l01_2a)/O,y=(y*A-s._y0*s._l12_2a+s._y2*s._l01_2a)/O}if(s._l23_a>yp){var j=2*s._l23_2a+3*s._l23_a*s._l12_a+s._l12_2a,z=3*s._l23_a*(s._l23_a+s._l12_a);k=(k*j+s._x1*s._l23_2a-o*s._l12_2a)/z,v=(v*j+s._y1*s._l23_2a-f*s._l12_2a)/z}s._context.bezierCurveTo(m,y,k,v,s._x2,s._y2)}function Rje(s,o){this._context=s,this._alpha=o}Rje.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,m=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+m*m,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3;default:Kve(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const vNt=function s(o){function f(m){return o?new Rje(m,o):new Uve(m,0)}return f.alpha=function(m){return s(+m)},f}(.5);function Bje(s,o){this._context=s,this._alpha=o}Bje.prototype={areaStart:e7,areaEnd:e7,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,m=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+m*m,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=s,this._y3=o;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=o);break;case 2:this._point=3,this._x5=s,this._y5=o;break;default:Kve(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const bNt=function s(o){function f(m){return o?new Bje(m,o):new Gve(m,0)}return f.alpha=function(m){return s(+m)},f}(.5);function Fje(s,o){this._context=s,this._alpha=o}Fje.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,m=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+m*m,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Kve(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o}};const wNt=function s(o){function f(m){return o?new Fje(m,o):new Wve(m,0)}return f.alpha=function(m){return s(+m)},f}(.5);function jje(s){this._context=s}jje.prototype={areaStart:e7,areaEnd:e7,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(s,o){s=+s,o=+o,this._point?this._context.lineTo(s,o):(this._point=1,this._context.moveTo(s,o))}};function yNt(s){return new jje(s)}function $je(s){return s<0?-1:1}function Hje(s,o,f){var m=s._x1-s._x0,y=o-s._x1,k=(s._y1-s._y0)/(m||y<0&&-0),v=(f-s._y1)/(y||m<0&&-0),A=(k*y+v*m)/(m+y);return($je(k)+$je(v))*Math.min(Math.abs(k),Math.abs(v),.5*Math.abs(A))||0}function zje(s,o){var f=s._x1-s._x0;return f?(3*(s._y1-s._y0)/f-o)/2:o}function Yve(s,o,f){var m=s._x0,y=s._y0,k=s._x1,v=s._y1,A=(k-m)/3;s._context.bezierCurveTo(m+A,y+A*o,k-A,v-A*f,k,v)}function aZ(s){this._context=s}aZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Yve(this,this._t0,zje(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,o){var f=NaN;if(s=+s,o=+o,!(s===this._x1&&o===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3,Yve(this,zje(this,f=Hje(this,s,o)),f);break;default:Yve(this,this._t0,f=Hje(this,s,o));break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o,this._t0=f}}};function Vje(s){this._context=new qje(s)}(Vje.prototype=Object.create(aZ.prototype)).point=function(s,o){aZ.prototype.point.call(this,o,s)};function qje(s){this._context=s}qje.prototype={moveTo:function(s,o){this._context.moveTo(o,s)},closePath:function(){this._context.closePath()},lineTo:function(s,o){this._context.lineTo(o,s)},bezierCurveTo:function(s,o,f,m,y,k){this._context.bezierCurveTo(o,s,m,f,k,y)}};function _Nt(s){return new aZ(s)}function xNt(s){return new Vje(s)}function Uje(s){this._context=s}Uje.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var s=this._x,o=this._y,f=s.length;if(f)if(this._line?this._context.lineTo(s[0],o[0]):this._context.moveTo(s[0],o[0]),f===2)this._context.lineTo(s[1],o[1]);else for(var m=Gje(s),y=Gje(o),k=0,v=1;v<f;++k,++v)this._context.bezierCurveTo(m[0][k],y[0][k],m[1][k],y[1][k],s[v],o[v]);(this._line||this._line!==0&&f===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(s,o){this._x.push(+s),this._y.push(+o)}};function Gje(s){var o,f=s.length-1,m,y=new Array(f),k=new Array(f),v=new Array(f);for(y[0]=0,k[0]=2,v[0]=s[0]+2*s[1],o=1;o<f-1;++o)y[o]=1,k[o]=4,v[o]=4*s[o]+2*s[o+1];for(y[f-1]=2,k[f-1]=7,v[f-1]=8*s[f-1]+s[f],o=1;o<f;++o)m=y[o]/k[o-1],k[o]-=m,v[o]-=m*v[o-1];for(y[f-1]=v[f-1]/k[f-1],o=f-2;o>=0;--o)y[o]=(v[o]-y[o+1])/k[o];for(k[f-1]=(s[f]+y[f-1])/2,o=0;o<f-1;++o)k[o]=2*s[o+1]-y[o+1];return[y,k]}function kNt(s){return new Uje(s)}function oZ(s,o){this._context=s,this._t=o}oZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,o),this._context.lineTo(s,o);else{var f=this._x*(1-this._t)+s*this._t;this._context.lineTo(f,this._y),this._context.lineTo(f,o)}break}}this._x=s,this._y=o}};function ENt(s){return new oZ(s,.5)}function TNt(s){return new oZ(s,0)}function SNt(s){return new oZ(s,1)}function YF(s,o,f){this.k=s,this.x=o,this.y=f}YF.prototype={constructor:YF,scale:function(s){return s===1?this:new YF(this.k*s,this.x,this.y)},translate:function(s,o){return s===0&o===0?this:new YF(this.k,this.x+this.k*s,this.y+this.k*o)},apply:function(s){return[s[0]*this.k+this.x,s[1]*this.k+this.y]},applyX:function(s){return s*this.k+this.x},applyY:function(s){return s*this.k+this.y},invert:function(s){return[(s[0]-this.x)/this.k,(s[1]-this.y)/this.k]},invertX:function(s){return(s-this.x)/this.k},invertY:function(s){return(s-this.y)/this.k},rescaleX:function(s){return s.copy().domain(s.range().map(this.invertX,this).map(s.invert,s))},rescaleY:function(s){return s.copy().domain(s.range().map(this.invertY,this).map(s.invert,s))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},YF.prototype;/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */function t7(s){return t7=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},t7(s)}function Xve(s,o){return Xve=Object.setPrototypeOf||function(m,y){return m.__proto__=y,m},Xve(s,o)}function CNt(){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 cZ(s,o,f){return CNt()?cZ=Reflect.construct:cZ=function(y,k,v){var A=[null];A.push.apply(A,k);var O=Function.bind.apply(y,A),j=new O;return v&&Xve(j,v.prototype),j},cZ.apply(null,arguments)}function _3(s){return ANt(s)||MNt(s)||LNt(s)||INt()}function ANt(s){if(Array.isArray(s))return Qve(s)}function MNt(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function LNt(s,o){if(s){if(typeof s=="string")return Qve(s,o);var f=Object.prototype.toString.call(s).slice(8,-1);if(f==="Object"&&s.constructor&&(f=s.constructor.name),f==="Map"||f==="Set")return Array.from(s);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return Qve(s,o)}}function Qve(s,o){(o==null||o>s.length)&&(o=s.length);for(var f=0,m=new Array(o);f<o;f++)m[f]=s[f];return m}function INt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ONt=Object.hasOwnProperty,Wje=Object.setPrototypeOf,DNt=Object.isFrozen,PNt=Object.getPrototypeOf,NNt=Object.getOwnPropertyDescriptor,om=Object.freeze,x3=Object.seal,RNt=Object.create,Kje=typeof Reflect<"u"&&Reflect,lZ=Kje.apply,Zve=Kje.construct;lZ||(lZ=function(o,f,m){return o.apply(f,m)}),om||(om=function(o){return o}),x3||(x3=function(o){return o}),Zve||(Zve=function(o,f){return cZ(o,_3(f))});var BNt=pw(Array.prototype.forEach),Yje=pw(Array.prototype.pop),XF=pw(Array.prototype.push),uZ=pw(String.prototype.toLowerCase),Jve=pw(String.prototype.toString),FNt=pw(String.prototype.match),k3=pw(String.prototype.replace),jNt=pw(String.prototype.indexOf),$Nt=pw(String.prototype.trim),cm=pw(RegExp.prototype.test),ebe=HNt(TypeError);function pw(s){return function(o){for(var f=arguments.length,m=new Array(f>1?f-1:0),y=1;y<f;y++)m[y-1]=arguments[y];return lZ(s,o,m)}}function HNt(s){return function(){for(var o=arguments.length,f=new Array(o),m=0;m<o;m++)f[m]=arguments[m];return Zve(s,f)}}function Xc(s,o,f){f=f||uZ,Wje&&Wje(s,null);for(var m=o.length;m--;){var y=o[m];if(typeof y=="string"){var k=f(y);k!==y&&(DNt(o)||(o[m]=k),y=k)}s[y]=!0}return s}function wS(s){var o=RNt(null),f;for(f in s)lZ(ONt,s,[f])===!0&&(o[f]=s[f]);return o}function hZ(s,o){for(;s!==null;){var f=NNt(s,o);if(f){if(f.get)return pw(f.get);if(typeof f.value=="function")return pw(f.value)}s=PNt(s)}function m(y){return console.warn("fallback value for",y),null}return m}var Xje=om(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tbe=om(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nbe=om(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zNt=om(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),rbe=om(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),VNt=om(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Qje=om(["#text"]),Zje=om(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ibe=om(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Jje=om(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fZ=om(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qNt=x3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),UNt=x3(/<%[\w\W]*|[\w\W]*%>/gm),GNt=x3(/\${[\w\W]*}/gm),WNt=x3(/^data-[\-\w.\u00B7-\uFFFF]/),KNt=x3(/^aria-[\-\w]+$/),YNt=x3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),XNt=x3(/^(?:\w+script|data):/i),QNt=x3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ZNt=x3(/^html$/i),JNt=function(){return typeof window>"u"?null:window},eRt=function(o,f){if(t7(o)!=="object"||typeof o.createPolicy!="function")return null;var m=null,y="data-tt-policy-suffix";f.currentScript&&f.currentScript.hasAttribute(y)&&(m=f.currentScript.getAttribute(y));var k="dompurify"+(m?"#"+m:"");try{return o.createPolicy(k,{createHTML:function(A){return A},createScriptURL:function(A){return A}})}catch{return console.warn("TrustedTypes policy "+k+" could not be created."),null}};function e$e(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:JNt(),o=function(rn){return e$e(rn)};if(o.version="2.4.3",o.removed=[],!s||!s.document||s.document.nodeType!==9)return o.isSupported=!1,o;var f=s.document,m=s.document,y=s.DocumentFragment,k=s.HTMLTemplateElement,v=s.Node,A=s.Element,O=s.NodeFilter,j=s.NamedNodeMap,z=j===void 0?s.NamedNodeMap||s.MozNamedAttrMap:j,V=s.HTMLFormElement,Y=s.DOMParser,G=s.trustedTypes,J=A.prototype,ce=hZ(J,"cloneNode"),me=hZ(J,"nextSibling"),_e=hZ(J,"childNodes"),we=hZ(J,"parentNode");if(typeof k=="function"){var Se=m.createElement("template");Se.content&&Se.content.ownerDocument&&(m=Se.content.ownerDocument)}var Oe=eRt(G,f),De=Oe?Oe.createHTML(""):"",Ve=m,ke=Ve.implementation,Ie=Ve.createNodeIterator,ge=Ve.createDocumentFragment,Me=Ve.getElementsByTagName,Ne=f.importNode,xe={};try{xe=wS(m).documentMode?m.documentMode:{}}catch{}var qe={};o.isSupported=typeof we=="function"&&ke&&typeof ke.createHTMLDocument<"u"&&xe!==9;var ae=qNt,Qe=UNt,Ce=GNt,nt=WNt,Ee=KNt,kt=XNt,Ot=QNt,Vt=YNt,Rt=null,Gt=Xc({},[].concat(_3(Xje),_3(tbe),_3(nbe),_3(rbe),_3(Qje))),_n=null,On=Xc({},[].concat(_3(Zje),_3(ibe),_3(Jje),_3(fZ))),Dt=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}})),ai=null,Ft=null,$t=!0,Pt=!0,qt=!1,et=!1,ht=!1,Ut=!1,it=!1,Zn=!1,Ge=!1,ws=!1,xn=!0,Zi=!1,gi="user-content-",Cr=!0,yr=!1,Sr={},or=null,Ar=Xc({},["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"]),bo=null,wo=Xc({},["audio","video","img","source","image","track"]),ra=null,Ys=Xc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yo="http://www.w3.org/1998/Math/MathML",Jl="http://www.w3.org/2000/svg",co="http://www.w3.org/1999/xhtml",Zs=co,Cs=!1,Gr=null,Wr=Xc({},[yo,Jl,co],Jve),Bi,_r=["application/xhtml+xml","text/html"],js="text/html",An,Qa=null,dr=m.createElement("form"),Ia=function(rn){return rn instanceof RegExp||rn instanceof Function},Do=function(rn){Qa&&Qa===rn||((!rn||t7(rn)!=="object")&&(rn={}),rn=wS(rn),Bi=_r.indexOf(rn.PARSER_MEDIA_TYPE)===-1?Bi=js:Bi=rn.PARSER_MEDIA_TYPE,An=Bi==="application/xhtml+xml"?Jve:uZ,Rt="ALLOWED_TAGS"in rn?Xc({},rn.ALLOWED_TAGS,An):Gt,_n="ALLOWED_ATTR"in rn?Xc({},rn.ALLOWED_ATTR,An):On,Gr="ALLOWED_NAMESPACES"in rn?Xc({},rn.ALLOWED_NAMESPACES,Jve):Wr,ra="ADD_URI_SAFE_ATTR"in rn?Xc(wS(Ys),rn.ADD_URI_SAFE_ATTR,An):Ys,bo="ADD_DATA_URI_TAGS"in rn?Xc(wS(wo),rn.ADD_DATA_URI_TAGS,An):wo,or="FORBID_CONTENTS"in rn?Xc({},rn.FORBID_CONTENTS,An):Ar,ai="FORBID_TAGS"in rn?Xc({},rn.FORBID_TAGS,An):{},Ft="FORBID_ATTR"in rn?Xc({},rn.FORBID_ATTR,An):{},Sr="USE_PROFILES"in rn?rn.USE_PROFILES:!1,$t=rn.ALLOW_ARIA_ATTR!==!1,Pt=rn.ALLOW_DATA_ATTR!==!1,qt=rn.ALLOW_UNKNOWN_PROTOCOLS||!1,et=rn.SAFE_FOR_TEMPLATES||!1,ht=rn.WHOLE_DOCUMENT||!1,Zn=rn.RETURN_DOM||!1,Ge=rn.RETURN_DOM_FRAGMENT||!1,ws=rn.RETURN_TRUSTED_TYPE||!1,it=rn.FORCE_BODY||!1,xn=rn.SANITIZE_DOM!==!1,Zi=rn.SANITIZE_NAMED_PROPS||!1,Cr=rn.KEEP_CONTENT!==!1,yr=rn.IN_PLACE||!1,Vt=rn.ALLOWED_URI_REGEXP||Vt,Zs=rn.NAMESPACE||co,rn.CUSTOM_ELEMENT_HANDLING&&Ia(rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Dt.tagNameCheck=rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&Ia(rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Dt.attributeNameCheck=rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),rn.CUSTOM_ELEMENT_HANDLING&&typeof rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Dt.allowCustomizedBuiltInElements=rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),et&&(Pt=!1),Ge&&(Zn=!0),Sr&&(Rt=Xc({},_3(Qje)),_n=[],Sr.html===!0&&(Xc(Rt,Xje),Xc(_n,Zje)),Sr.svg===!0&&(Xc(Rt,tbe),Xc(_n,ibe),Xc(_n,fZ)),Sr.svgFilters===!0&&(Xc(Rt,nbe),Xc(_n,ibe),Xc(_n,fZ)),Sr.mathMl===!0&&(Xc(Rt,rbe),Xc(_n,Jje),Xc(_n,fZ))),rn.ADD_TAGS&&(Rt===Gt&&(Rt=wS(Rt)),Xc(Rt,rn.ADD_TAGS,An)),rn.ADD_ATTR&&(_n===On&&(_n=wS(_n)),Xc(_n,rn.ADD_ATTR,An)),rn.ADD_URI_SAFE_ATTR&&Xc(ra,rn.ADD_URI_SAFE_ATTR,An),rn.FORBID_CONTENTS&&(or===Ar&&(or=wS(or)),Xc(or,rn.FORBID_CONTENTS,An)),Cr&&(Rt["#text"]=!0),ht&&Xc(Rt,["html","head","body"]),Rt.table&&(Xc(Rt,["tbody"]),delete ai.tbody),om&&om(rn),Qa=rn)},nc=Xc({},["mi","mo","mn","ms","mtext"]),Wo=Xc({},["foreignobject","desc","title","annotation-xml"]),Po=Xc({},["title","style","font","a","script"]),ia=Xc({},tbe);Xc(ia,nbe),Xc(ia,zNt);var io=Xc({},rbe);Xc(io,VNt);var Ko=function(rn){var oi=we(rn);(!oi||!oi.tagName)&&(oi={namespaceURI:Zs,tagName:"template"});var Ji=uZ(rn.tagName),Fo=uZ(oi.tagName);return Gr[rn.namespaceURI]?rn.namespaceURI===Jl?oi.namespaceURI===co?Ji==="svg":oi.namespaceURI===yo?Ji==="svg"&&(Fo==="annotation-xml"||nc[Fo]):Boolean(ia[Ji]):rn.namespaceURI===yo?oi.namespaceURI===co?Ji==="math":oi.namespaceURI===Jl?Ji==="math"&&Wo[Fo]:Boolean(io[Ji]):rn.namespaceURI===co?oi.namespaceURI===Jl&&!Wo[Fo]||oi.namespaceURI===yo&&!nc[Fo]?!1:!io[Ji]&&(Po[Ji]||!ia[Ji]):!!(Bi==="application/xhtml+xml"&&Gr[rn.namespaceURI]):!1},qa=function(rn){XF(o.removed,{element:rn});try{rn.parentNode.removeChild(rn)}catch{try{rn.outerHTML=De}catch{rn.remove()}}},mv=function(rn,oi){try{XF(o.removed,{attribute:oi.getAttributeNode(rn),from:oi})}catch{XF(o.removed,{attribute:null,from:oi})}if(oi.removeAttribute(rn),rn==="is"&&!_n[rn])if(Zn||Ge)try{qa(oi)}catch{}else try{oi.setAttribute(rn,"")}catch{}},kw=function(rn){var oi,Ji;if(it)rn="<remove></remove>"+rn;else{var Fo=FNt(rn,/^[\r\n\t ]+/);Ji=Fo&&Fo[0]}Bi==="application/xhtml+xml"&&Zs===co&&(rn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+rn+"</body></html>");var lu=Oe?Oe.createHTML(rn):rn;if(Zs===co)try{oi=new Y().parseFromString(lu,Bi)}catch{}if(!oi||!oi.documentElement){oi=ke.createDocument(Zs,"template",null);try{oi.documentElement.innerHTML=Cs?De:lu}catch{}}var wu=oi.body||oi.documentElement;return rn&&Ji&&wu.insertBefore(m.createTextNode(Ji),wu.childNodes[0]||null),Zs===co?Me.call(oi,ht?"html":"body")[0]:ht?oi.documentElement:wu},th=function(rn){return Ie.call(rn.ownerDocument||rn,rn,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT,null,!1)},lo=function(rn){return rn instanceof V&&(typeof rn.nodeName!="string"||typeof rn.textContent!="string"||typeof rn.removeChild!="function"||!(rn.attributes instanceof z)||typeof rn.removeAttribute!="function"||typeof rn.setAttribute!="function"||typeof rn.namespaceURI!="string"||typeof rn.insertBefore!="function"||typeof rn.hasChildNodes!="function")},jh=function(rn){return t7(v)==="object"?rn instanceof v:rn&&t7(rn)==="object"&&typeof rn.nodeType=="number"&&typeof rn.nodeName=="string"},r1=function(rn,oi,Ji){qe[rn]&&BNt(qe[rn],function(Fo){Fo.call(o,oi,Ji,Qa)})},$h=function(rn){var oi;if(r1("beforeSanitizeElements",rn,null),lo(rn)||cm(/[\u0080-\uFFFF]/,rn.nodeName))return qa(rn),!0;var Ji=An(rn.nodeName);if(r1("uponSanitizeElement",rn,{tagName:Ji,allowedTags:Rt}),rn.hasChildNodes()&&!jh(rn.firstElementChild)&&(!jh(rn.content)||!jh(rn.content.firstElementChild))&&cm(/<[/\w]/g,rn.innerHTML)&&cm(/<[/\w]/g,rn.textContent)||Ji==="select"&&cm(/<template/i,rn.innerHTML))return qa(rn),!0;if(!Rt[Ji]||ai[Ji]){if(!ai[Ji]&&nh(Ji)&&(Dt.tagNameCheck instanceof RegExp&&cm(Dt.tagNameCheck,Ji)||Dt.tagNameCheck instanceof Function&&Dt.tagNameCheck(Ji)))return!1;if(Cr&&!or[Ji]){var Fo=we(rn)||rn.parentNode,lu=_e(rn)||rn.childNodes;if(lu&&Fo)for(var wu=lu.length,rh=wu-1;rh>=0;--rh)Fo.insertBefore(ce(lu[rh],!0),me(rn))}return qa(rn),!0}return rn instanceof A&&!Ko(rn)||(Ji==="noscript"||Ji==="noembed")&&cm(/<\/no(script|embed)/i,rn.innerHTML)?(qa(rn),!0):(et&&rn.nodeType===3&&(oi=rn.textContent,oi=k3(oi,ae," "),oi=k3(oi,Qe," "),oi=k3(oi,Ce," "),rn.textContent!==oi&&(XF(o.removed,{element:rn.cloneNode()}),rn.textContent=oi)),r1("afterSanitizeElements",rn,null),!1)},Cf=function(rn,oi,Ji){if(xn&&(oi==="id"||oi==="name")&&(Ji in m||Ji in dr))return!1;if(!(Pt&&!Ft[oi]&&cm(nt,oi))){if(!($t&&cm(Ee,oi))){if(!_n[oi]||Ft[oi]){if(!(nh(rn)&&(Dt.tagNameCheck instanceof RegExp&&cm(Dt.tagNameCheck,rn)||Dt.tagNameCheck instanceof Function&&Dt.tagNameCheck(rn))&&(Dt.attributeNameCheck instanceof RegExp&&cm(Dt.attributeNameCheck,oi)||Dt.attributeNameCheck instanceof Function&&Dt.attributeNameCheck(oi))||oi==="is"&&Dt.allowCustomizedBuiltInElements&&(Dt.tagNameCheck instanceof RegExp&&cm(Dt.tagNameCheck,Ji)||Dt.tagNameCheck instanceof Function&&Dt.tagNameCheck(Ji))))return!1}else if(!ra[oi]){if(!cm(Vt,k3(Ji,Ot,""))){if(!((oi==="src"||oi==="xlink:href"||oi==="href")&&rn!=="script"&&jNt(Ji,"data:")===0&&bo[rn])){if(!(qt&&!cm(kt,k3(Ji,Ot,"")))){if(Ji)return!1}}}}}}return!0},nh=function(rn){return rn.indexOf("-")>0},_d=function(rn){var oi,Ji,Fo,lu;r1("beforeSanitizeAttributes",rn,null);var wu=rn.attributes;if(wu){var rh={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_n};for(lu=wu.length;lu--;){oi=wu[lu];var Xf=oi,Hh=Xf.name,Ew=Xf.namespaceURI;if(Ji=Hh==="value"?oi.value:$Nt(oi.value),Fo=An(Hh),rh.attrName=Fo,rh.attrValue=Ji,rh.keepAttr=!0,rh.forceKeepAttr=void 0,r1("uponSanitizeAttribute",rn,rh),Ji=rh.attrValue,!rh.forceKeepAttr&&(mv(Hh,rn),!!rh.keepAttr)){if(cm(/\/>/i,Ji)){mv(Hh,rn);continue}et&&(Ji=k3(Ji,ae," "),Ji=k3(Ji,Qe," "),Ji=k3(Ji,Ce," "));var F3=An(rn.nodeName);if(Cf(F3,Fo,Ji)){if(Zi&&(Fo==="id"||Fo==="name")&&(mv(Hh,rn),Ji=gi+Ji),Oe&&t7(G)==="object"&&typeof G.getAttributeType=="function"&&!Ew)switch(G.getAttributeType(F3,Fo)){case"TrustedHTML":Ji=Oe.createHTML(Ji);break;case"TrustedScriptURL":Ji=Oe.createScriptURL(Ji);break}try{Ew?rn.setAttributeNS(Ew,Hh,Ji):rn.setAttribute(Hh,Ji),Yje(o.removed)}catch{}}}}r1("afterSanitizeAttributes",rn,null)}},Yf=function ps(rn){var oi,Ji=th(rn);for(r1("beforeSanitizeShadowDOM",rn,null);oi=Ji.nextNode();)r1("uponSanitizeShadowNode",oi,null),!$h(oi)&&(oi.content instanceof y&&ps(oi.content),_d(oi));r1("afterSanitizeShadowDOM",rn,null)};return o.sanitize=function(ps){var rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oi,Ji,Fo,lu,wu;if(Cs=!ps,Cs&&(ps="<!-->"),typeof ps!="string"&&!jh(ps)){if(typeof ps.toString!="function")throw ebe("toString is not a function");if(ps=ps.toString(),typeof ps!="string")throw ebe("dirty is not a string, aborting")}if(!o.isSupported){if(t7(s.toStaticHTML)==="object"||typeof s.toStaticHTML=="function"){if(typeof ps=="string")return s.toStaticHTML(ps);if(jh(ps))return s.toStaticHTML(ps.outerHTML)}return ps}if(Ut||Do(rn),o.removed=[],typeof ps=="string"&&(yr=!1),yr){if(ps.nodeName){var rh=An(ps.nodeName);if(!Rt[rh]||ai[rh])throw ebe("root node is forbidden and cannot be sanitized in-place")}}else if(ps instanceof v)oi=kw("<!---->"),Ji=oi.ownerDocument.importNode(ps,!0),Ji.nodeType===1&&Ji.nodeName==="BODY"||Ji.nodeName==="HTML"?oi=Ji:oi.appendChild(Ji);else{if(!Zn&&!et&&!ht&&ps.indexOf("<")===-1)return Oe&&ws?Oe.createHTML(ps):ps;if(oi=kw(ps),!oi)return Zn?null:ws?De:""}oi&&it&&qa(oi.firstChild);for(var Xf=th(yr?ps:oi);Fo=Xf.nextNode();)Fo.nodeType===3&&Fo===lu||$h(Fo)||(Fo.content instanceof y&&Yf(Fo.content),_d(Fo),lu=Fo);if(lu=null,yr)return ps;if(Zn){if(Ge)for(wu=ge.call(oi.ownerDocument);oi.firstChild;)wu.appendChild(oi.firstChild);else wu=oi;return _n.shadowroot&&(wu=Ne.call(f,wu,!0)),wu}var Hh=ht?oi.outerHTML:oi.innerHTML;return ht&&Rt["!doctype"]&&oi.ownerDocument&&oi.ownerDocument.doctype&&oi.ownerDocument.doctype.name&&cm(ZNt,oi.ownerDocument.doctype.name)&&(Hh="<!DOCTYPE "+oi.ownerDocument.doctype.name+`>
`+Hh),et&&(Hh=k3(Hh,ae," "),Hh=k3(Hh,Qe," "),Hh=k3(Hh,Ce," ")),Oe&&ws?Oe.createHTML(Hh):Hh},o.setConfig=function(ps){Do(ps),Ut=!0},o.clearConfig=function(){Qa=null,Ut=!1},o.isValidAttribute=function(ps,rn,oi){Qa||Do({});var Ji=An(ps),Fo=An(rn);return Cf(Ji,Fo,oi)},o.addHook=function(ps,rn){typeof rn=="function"&&(qe[ps]=qe[ps]||[],XF(qe[ps],rn))},o.removeHook=function(ps){if(qe[ps])return Yje(qe[ps])},o.removeHooks=function(ps){qe[ps]&&(qe[ps]=[])},o.removeAllHooks=function(){qe={}},o}var QF=e$e();const tRt=s=>s?r$e(s).replace(/\\n/g,"#br#").split("#br#"):[""],t$e=s=>QF.sanitize(s),n$e=(s,o)=>{var f;if(((f=o.flowchart)==null?void 0:f.htmlLabels)!==!1){const m=o.securityLevel;m==="antiscript"||m==="strict"?s=t$e(s):m!=="loose"&&(s=r$e(s),s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;"),s=s.replace(/=/g,"&equals;"),s=sRt(s))}return s},zb=(s,o)=>s&&(o.dompurifyConfig?s=QF.sanitize(n$e(s,o),o.dompurifyConfig).toString():s=QF.sanitize(n$e(s,o),{FORBID_TAGS:["style"]}).toString(),s),nRt=(s,o)=>typeof s=="string"?zb(s,o):s.flat().map(f=>zb(f,o)),dZ=/<br\s*\/?>/gi,rRt=s=>dZ.test(s),iRt=s=>s.split(dZ),sRt=s=>s.replace(/#br#/g,"<br/>"),r$e=s=>s.replace(dZ,"#br#"),aRt=s=>{let o="";return s&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=o.replaceAll(/\(/g,"\\("),o=o.replaceAll(/\)/g,"\\)")),o},i0=s=>!(s===!1||["false","null","0"].includes(String(s).trim().toLowerCase())),n7=function(s){let o=s;if(s.split("~").length-1>=2){let f=o;do o=f,f=o.replace(/~([^\s,:;]+)~/,"<$1>");while(f!=o);return n7(f)}else return o},Oo={getRows:tRt,sanitizeText:zb,sanitizeTextOrArray:nRt,hasBreaks:rRt,splitBreaks:iRt,lineBreakRegex:dZ,removeScript:t$e,getUrl:aRt,evaluate:i0},gZ={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:s=>s>=255?255:s<0?0:s,g:s=>s>=255?255:s<0?0:s,b:s=>s>=255?255:s<0?0:s,h:s=>s%360,s:s=>s>=100?100:s<0?0:s,l:s=>s>=100?100:s<0?0:s,a:s=>s>=1?1:s<0?0:s},toLinear:s=>{const o=s/255;return s>.03928?Math.pow((o+.055)/1.055,2.4):o/12.92},hue2rgb:(s,o,f)=>(f<0&&(f+=1),f>1&&(f-=1),f<1/6?s+(o-s)*6*f:f<1/2?o:f<2/3?s+(o-s)*(2/3-f)*6:s),hsl2rgb:({h:s,s:o,l:f},m)=>{if(!o)return f*2.55;s/=360,o/=100,f/=100;const y=f<.5?f*(1+o):f+o-f*o,k=2*f-y;switch(m){case"r":return gZ.hue2rgb(k,y,s+1/3)*255;case"g":return gZ.hue2rgb(k,y,s)*255;case"b":return gZ.hue2rgb(k,y,s-1/3)*255}},rgb2hsl:({r:s,g:o,b:f},m)=>{s/=255,o/=255,f/=255;const y=Math.max(s,o,f),k=Math.min(s,o,f),v=(y+k)/2;if(m==="l")return v*100;if(y===k)return 0;const A=y-k,O=v>.5?A/(2-y-k):A/(y+k);if(m==="s")return O*100;switch(y){case s:return((o-f)/A+(o<f?6:0))*60;case o:return((f-s)/A+2)*60;case f:return((s-o)/A+4)*60;default:return-1}}},Uo={channel:gZ,lang:{clamp:(s,o,f)=>o>f?Math.min(o,Math.max(f,s)):Math.min(f,Math.max(o,s)),round:s=>Math.round(s*1e10)/1e10},unit:{dec2hex:s=>{const o=Math.round(s).toString(16);return o.length>1?o:`0${o}`}}},r7={};for(let s=0;s<=255;s++)r7[s]=Uo.unit.dec2hex(s);const _p={ALL:0,RGB:1,HSL:2};class oRt{constructor(){this.type=_p.ALL}get(){return this.type}set(o){if(this.type&&this.type!==o)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=o}reset(){this.type=_p.ALL}is(o){return this.type===o}}const cRt=oRt;class lRt{constructor(o,f){this.color=f,this.changed=!1,this.data=o,this.type=new cRt}set(o,f){return this.color=f,this.changed=!1,this.data=o,this.type.type=_p.ALL,this}_ensureHSL(){const o=this.data,{h:f,s:m,l:y}=o;f===void 0&&(o.h=Uo.channel.rgb2hsl(o,"h")),m===void 0&&(o.s=Uo.channel.rgb2hsl(o,"s")),y===void 0&&(o.l=Uo.channel.rgb2hsl(o,"l"))}_ensureRGB(){const o=this.data,{r:f,g:m,b:y}=o;f===void 0&&(o.r=Uo.channel.hsl2rgb(o,"r")),m===void 0&&(o.g=Uo.channel.hsl2rgb(o,"g")),y===void 0&&(o.b=Uo.channel.hsl2rgb(o,"b"))}get r(){const o=this.data,f=o.r;return!this.type.is(_p.HSL)&&f!==void 0?f:(this._ensureHSL(),Uo.channel.hsl2rgb(o,"r"))}get g(){const o=this.data,f=o.g;return!this.type.is(_p.HSL)&&f!==void 0?f:(this._ensureHSL(),Uo.channel.hsl2rgb(o,"g"))}get b(){const o=this.data,f=o.b;return!this.type.is(_p.HSL)&&f!==void 0?f:(this._ensureHSL(),Uo.channel.hsl2rgb(o,"b"))}get h(){const o=this.data,f=o.h;return!this.type.is(_p.RGB)&&f!==void 0?f:(this._ensureRGB(),Uo.channel.rgb2hsl(o,"h"))}get s(){const o=this.data,f=o.s;return!this.type.is(_p.RGB)&&f!==void 0?f:(this._ensureRGB(),Uo.channel.rgb2hsl(o,"s"))}get l(){const o=this.data,f=o.l;return!this.type.is(_p.RGB)&&f!==void 0?f:(this._ensureRGB(),Uo.channel.rgb2hsl(o,"l"))}get a(){return this.data.a}set r(o){this.type.set(_p.RGB),this.changed=!0,this.data.r=o}set g(o){this.type.set(_p.RGB),this.changed=!0,this.data.g=o}set b(o){this.type.set(_p.RGB),this.changed=!0,this.data.b=o}set h(o){this.type.set(_p.HSL),this.changed=!0,this.data.h=o}set s(o){this.type.set(_p.HSL),this.changed=!0,this.data.s=o}set l(o){this.type.set(_p.HSL),this.changed=!0,this.data.l=o}set a(o){this.changed=!0,this.data.a=o}}const uRt=lRt,pZ=new uRt({r:0,g:0,b:0,a:0},"transparent"),i$e={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:s=>{if(s.charCodeAt(0)!==35)return;const o=s.match(i$e.re);if(!o)return;const f=o[1],m=parseInt(f,16),y=f.length,k=y%4===0,v=y>4,A=v?1:17,O=v?8:4,j=k?0:-1,z=v?255:15;return pZ.set({r:(m>>O*(j+3)&z)*A,g:(m>>O*(j+2)&z)*A,b:(m>>O*(j+1)&z)*A,a:k?(m&z)*A/255:1},s)},stringify:s=>{const{r:o,g:f,b:m,a:y}=s;return y<1?`#${r7[Math.round(o)]}${r7[Math.round(f)]}${r7[Math.round(m)]}${r7[Math.round(y*255)]}`:`#${r7[Math.round(o)]}${r7[Math.round(f)]}${r7[Math.round(m)]}`}},ZF=i$e,mZ={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:s=>{const o=s.match(mZ.hueRe);if(o){const[,f,m]=o;switch(m){case"grad":return Uo.channel.clamp.h(parseFloat(f)*.9);case"rad":return Uo.channel.clamp.h(parseFloat(f)*180/Math.PI);case"turn":return Uo.channel.clamp.h(parseFloat(f)*360)}}return Uo.channel.clamp.h(parseFloat(s))},parse:s=>{const o=s.charCodeAt(0);if(o!==104&&o!==72)return;const f=s.match(mZ.re);if(!f)return;const[,m,y,k,v,A]=f;return pZ.set({h:mZ._hue2deg(m),s:Uo.channel.clamp.s(parseFloat(y)),l:Uo.channel.clamp.l(parseFloat(k)),a:v?Uo.channel.clamp.a(A?parseFloat(v)/100:parseFloat(v)):1},s)},stringify:s=>{const{h:o,s:f,l:m,a:y}=s;return y<1?`hsla(${Uo.lang.round(o)}, ${Uo.lang.round(f)}%, ${Uo.lang.round(m)}%, ${y})`:`hsl(${Uo.lang.round(o)}, ${Uo.lang.round(f)}%, ${Uo.lang.round(m)}%)`}},vZ=mZ,bZ={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:s=>{s=s.toLowerCase();const o=bZ.colors[s];if(o)return ZF.parse(o)},stringify:s=>{const o=ZF.stringify(s);for(const f in bZ.colors)if(bZ.colors[f]===o)return f}},s$e=bZ,a$e={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:s=>{const o=s.charCodeAt(0);if(o!==114&&o!==82)return;const f=s.match(a$e.re);if(!f)return;const[,m,y,k,v,A,O,j,z]=f;return pZ.set({r:Uo.channel.clamp.r(y?parseFloat(m)*2.55:parseFloat(m)),g:Uo.channel.clamp.g(v?parseFloat(k)*2.55:parseFloat(k)),b:Uo.channel.clamp.b(O?parseFloat(A)*2.55:parseFloat(A)),a:j?Uo.channel.clamp.a(z?parseFloat(j)/100:parseFloat(j)):1},s)},stringify:s=>{const{r:o,g:f,b:m,a:y}=s;return y<1?`rgba(${Uo.lang.round(o)}, ${Uo.lang.round(f)}, ${Uo.lang.round(m)}, ${Uo.lang.round(y)})`:`rgb(${Uo.lang.round(o)}, ${Uo.lang.round(f)}, ${Uo.lang.round(m)})`}},wZ=a$e,H5={format:{keyword:s$e,hex:ZF,rgb:wZ,rgba:wZ,hsl:vZ,hsla:vZ},parse:s=>{if(typeof s!="string")return s;const o=ZF.parse(s)||wZ.parse(s)||vZ.parse(s)||s$e.parse(s);if(o)return o;throw new Error(`Unsupported color format: "${s}"`)},stringify:s=>!s.changed&&s.color?s.color:s.type.is(_p.HSL)||s.data.r===void 0?vZ.stringify(s):s.a<1||!Number.isInteger(s.r)||!Number.isInteger(s.g)||!Number.isInteger(s.b)?wZ.stringify(s):ZF.stringify(s)},o$e=(s,o)=>{const f=H5.parse(s);for(const m in o)f[m]=Uo.channel.clamp[m](o[m]);return H5.stringify(f)},JF=(s,o,f=0,m=1)=>{if(typeof s!="number")return o$e(s,{a:o});const y=pZ.set({r:Uo.channel.clamp.r(s),g:Uo.channel.clamp.g(o),b:Uo.channel.clamp.b(f),a:Uo.channel.clamp.a(m)});return H5.stringify(y)},hRt=s=>{const{r:o,g:f,b:m}=H5.parse(s),y=.2126*Uo.channel.toLinear(o)+.7152*Uo.channel.toLinear(f)+.0722*Uo.channel.toLinear(m);return Uo.lang.round(y)},fRt=s=>hRt(s)>=.5,c$e=s=>!fRt(s),l$e=(s,o,f)=>{const m=H5.parse(s),y=m[o],k=Uo.channel.clamp[o](y+f);return y!==k&&(m[o]=k),H5.stringify(m)},ro=(s,o)=>l$e(s,"l",o),Bo=(s,o)=>l$e(s,"l",-o),pr=(s,o)=>{const f=H5.parse(s),m={};for(const y in o)o[y]&&(m[y]=f[y]+o[y]);return o$e(s,m)},dRt=(s,o,f=50)=>{const{r:m,g:y,b:k,a:v}=H5.parse(s),{r:A,g:O,b:j,a:z}=H5.parse(o),V=f/100,Y=V*2-1,G=v-z,ce=((Y*G===-1?Y:(Y+G)/(1+Y*G))+1)/2,me=1-ce,_e=m*ce+A*me,we=y*ce+O*me,Se=k*ce+j*me,Oe=v*V+z*(1-V);return JF(_e,we,Se,Oe)},Rs=(s,o=100)=>{const f=H5.parse(s);return f.r=255-f.r,f.g=255-f.g,f.b=255-f.b,dRt(f,s,o)},lm=(s,o)=>o?pr(s,{s:-40,l:10}):pr(s,{s:-40,l:-10}),yZ="#ffffff",_Z="#f2f2f2";let gRt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||pr(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||pr(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||lm(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||lm(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||lm(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||lm(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Rs(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Rs(this.tertiaryColor),this.lineColor=this.lineColor||Rs(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Bo(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Bo(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Rs(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ro(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||pr(this.primaryColor,{h:30}),this.cScale4=this.cScale4||pr(this.primaryColor,{h:60}),this.cScale5=this.cScale5||pr(this.primaryColor,{h:90}),this.cScale6=this.cScale6||pr(this.primaryColor,{h:120}),this.cScale7=this.cScale7||pr(this.primaryColor,{h:150}),this.cScale8=this.cScale8||pr(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||pr(this.primaryColor,{h:270}),this.cScale10=this.cScale10||pr(this.primaryColor,{h:300}),this.cScale11=this.cScale11||pr(this.primaryColor,{h:330}),this.darkMode)for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=Bo(this["cScale"+f],75);else for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=Bo(this["cScale"+f],25);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||Rs(this["cScale"+f]);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this.darkMode?this["cScalePeer"+f]=this["cScalePeer"+f]||ro(this["cScale"+f],10):this["cScalePeer"+f]=this["cScalePeer"+f]||Bo(this["cScale"+f],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;const o=this.darkMode?-4:-1;for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||pr(this.mainBkg,{h:180,s:-15,l:o*(5+f*3)}),this["surfacePeer"+f]=this["surfacePeer"+f]||pr(this.mainBkg,{h:180,s:-15,l:o*(8+f*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||pr(this.primaryColor,{h:64}),this.fillType3=this.fillType3||pr(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||pr(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||pr(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||pr(this.primaryColor,{h:128}),this.fillType7=this.fillType7||pr(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||pr(this.primaryColor,{l:-10}),this.pie5=this.pie5||pr(this.secondaryColor,{l:-10}),this.pie6=this.pie6||pr(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||pr(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||pr(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||pr(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||pr(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||pr(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||pr(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Bo(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||pr(this.primaryColor,{h:-30}),this.git4=this.git4||pr(this.primaryColor,{h:-60}),this.git5=this.git5||pr(this.primaryColor,{h:-90}),this.git6=this.git6||pr(this.primaryColor,{h:60}),this.git7=this.git7||pr(this.primaryColor,{h:120}),this.darkMode?(this.git0=ro(this.git0,25),this.git1=ro(this.git1,25),this.git2=ro(this.git2,25),this.git3=ro(this.git3,25),this.git4=ro(this.git4,25),this.git5=ro(this.git5,25),this.git6=ro(this.git6,25),this.git7=ro(this.git7,25)):(this.git0=Bo(this.git0,25),this.git1=Bo(this.git1,25),this.git2=Bo(this.git2,25),this.git3=Bo(this.git3,25),this.git4=Bo(this.git4,25),this.git5=Bo(this.git5,25),this.git6=Bo(this.git6,25),this.git7=Bo(this.git7,25)),this.gitInv0=this.gitInv0||Rs(this.git0),this.gitInv1=this.gitInv1||Rs(this.git1),this.gitInv2=this.gitInv2||Rs(this.git2),this.gitInv3=this.gitInv3||Rs(this.git3),this.gitInv4=this.gitInv4||Rs(this.git4),this.gitInv5=this.gitInv5||Rs(this.git5),this.gitInv6=this.gitInv6||Rs(this.git6),this.gitInv7=this.gitInv7||Rs(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yZ,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||_Z}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(m=>{this[m]=o[m]}),this.updateColors(),f.forEach(m=>{this[m]=o[m]})}};const pRt=s=>{const o=new gRt;return o.calculate(s),o};let mRt=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ro(this.primaryColor,16),this.tertiaryColor=pr(this.primaryColor,{h:-160}),this.primaryBorderColor=Rs(this.background),this.secondaryBorderColor=lm(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lm(this.tertiaryColor,this.darkMode),this.primaryTextColor=Rs(this.primaryColor),this.secondaryTextColor=Rs(this.secondaryColor),this.tertiaryTextColor=Rs(this.tertiaryColor),this.lineColor=Rs(this.background),this.textColor=Rs(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ro(Rs("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=JF(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Bo("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=JF(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=JF(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=ro(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ro(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=ro(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=pr(this.primaryColor,{h:64}),this.fillType3=pr(this.secondaryColor,{h:64}),this.fillType4=pr(this.primaryColor,{h:-64}),this.fillType5=pr(this.secondaryColor,{h:-64}),this.fillType6=pr(this.primaryColor,{h:128}),this.fillType7=pr(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||pr(this.primaryColor,{h:30}),this.cScale4=this.cScale4||pr(this.primaryColor,{h:60}),this.cScale5=this.cScale5||pr(this.primaryColor,{h:90}),this.cScale6=this.cScale6||pr(this.primaryColor,{h:120}),this.cScale7=this.cScale7||pr(this.primaryColor,{h:150}),this.cScale8=this.cScale8||pr(this.primaryColor,{h:210}),this.cScale9=this.cScale9||pr(this.primaryColor,{h:270}),this.cScale10=this.cScale10||pr(this.primaryColor,{h:300}),this.cScale11=this.cScale11||pr(this.primaryColor,{h:330});for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||Rs(this["cScale"+o]);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScalePeer"+o]=this["cScalePeer"+o]||ro(this["cScale"+o],10);for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||pr(this.mainBkg,{h:30,s:-30,l:-(-10+o*4)}),this["surfacePeer"+o]=this["surfacePeer"+o]||pr(this.mainBkg,{h:30,s:-30,l:-(-7+o*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["pie"+o]=this["cScale"+o];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Bo(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ro(this.secondaryColor,20),this.git1=ro(this.pie2||this.secondaryColor,20),this.git2=ro(this.pie3||this.tertiaryColor,20),this.git3=ro(this.pie4||pr(this.primaryColor,{h:-30}),20),this.git4=ro(this.pie5||pr(this.primaryColor,{h:-60}),20),this.git5=ro(this.pie6||pr(this.primaryColor,{h:-90}),10),this.git6=ro(this.pie7||pr(this.primaryColor,{h:60}),10),this.git7=ro(this.pie8||pr(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||Rs(this.git0),this.gitInv1=this.gitInv1||Rs(this.git1),this.gitInv2=this.gitInv2||Rs(this.git2),this.gitInv3=this.gitInv3||Rs(this.git3),this.gitInv4=this.gitInv4||Rs(this.git4),this.gitInv5=this.gitInv5||Rs(this.git5),this.gitInv6=this.gitInv6||Rs(this.git6),this.gitInv7=this.gitInv7||Rs(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ro(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ro(this.background,2)}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(m=>{this[m]=o[m]}),this.updateColors(),f.forEach(m=>{this[m]=o[m]})}};const vRt=s=>{const o=new mRt;return o.calculate(s),o};let bRt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=pr(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=pr(this.primaryColor,{h:-160}),this.primaryBorderColor=lm(this.primaryColor,this.darkMode),this.secondaryBorderColor=lm(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lm(this.tertiaryColor,this.darkMode),this.primaryTextColor=Rs(this.primaryColor),this.secondaryTextColor=Rs(this.secondaryColor),this.tertiaryTextColor=Rs(this.tertiaryColor),this.lineColor=Rs(this.background),this.textColor=Rs(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=JF(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||pr(this.primaryColor,{h:30}),this.cScale4=this.cScale4||pr(this.primaryColor,{h:60}),this.cScale5=this.cScale5||pr(this.primaryColor,{h:90}),this.cScale6=this.cScale6||pr(this.primaryColor,{h:120}),this.cScale7=this.cScale7||pr(this.primaryColor,{h:150}),this.cScale8=this.cScale8||pr(this.primaryColor,{h:210}),this.cScale9=this.cScale9||pr(this.primaryColor,{h:270}),this.cScale10=this.cScale10||pr(this.primaryColor,{h:300}),this.cScale11=this.cScale11||pr(this.primaryColor,{h:330}),this["cScalePeer"+1]=this["cScalePeer"+1]||Bo(this.secondaryColor,45),this["cScalePeer"+2]=this["cScalePeer"+2]||Bo(this.tertiaryColor,40);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScale"+o]=Bo(this["cScale"+o],10),this["cScalePeer"+o]=this["cScalePeer"+o]||Bo(this["cScale"+o],25);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||pr(this["cScale"+o],{h:180});for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||pr(this.mainBkg,{h:30,l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||pr(this.mainBkg,{h:30,l:-(7+o*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||Rs(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||Rs(this.labelTextColor);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=ro(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=pr(this.primaryColor,{h:64}),this.fillType3=pr(this.secondaryColor,{h:64}),this.fillType4=pr(this.primaryColor,{h:-64}),this.fillType5=pr(this.secondaryColor,{h:-64}),this.fillType6=pr(this.primaryColor,{h:128}),this.fillType7=pr(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||pr(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||pr(this.primaryColor,{l:-10}),this.pie5=this.pie5||pr(this.secondaryColor,{l:-30}),this.pie6=this.pie6||pr(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||pr(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||pr(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||pr(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||pr(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||pr(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||pr(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||pr(this.primaryColor,{h:-30}),this.git4=this.git4||pr(this.primaryColor,{h:-60}),this.git5=this.git5||pr(this.primaryColor,{h:-90}),this.git6=this.git6||pr(this.primaryColor,{h:60}),this.git7=this.git7||pr(this.primaryColor,{h:120}),this.darkMode?(this.git0=ro(this.git0,25),this.git1=ro(this.git1,25),this.git2=ro(this.git2,25),this.git3=ro(this.git3,25),this.git4=ro(this.git4,25),this.git5=ro(this.git5,25),this.git6=ro(this.git6,25),this.git7=ro(this.git7,25)):(this.git0=Bo(this.git0,25),this.git1=Bo(this.git1,25),this.git2=Bo(this.git2,25),this.git3=Bo(this.git3,25),this.git4=Bo(this.git4,25),this.git5=Bo(this.git5,25),this.git6=Bo(this.git6,25),this.git7=Bo(this.git7,25)),this.gitInv0=this.gitInv0||Bo(Rs(this.git0),25),this.gitInv1=this.gitInv1||Rs(this.git1),this.gitInv2=this.gitInv2||Rs(this.git2),this.gitInv3=this.gitInv3||Rs(this.git3),this.gitInv4=this.gitInv4||Rs(this.git4),this.gitInv5=this.gitInv5||Rs(this.git5),this.gitInv6=this.gitInv6||Rs(this.git6),this.gitInv7=this.gitInv7||Rs(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Rs(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Rs(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yZ,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||_Z}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(m=>{this[m]=o[m]}),this.updateColors(),f.forEach(m=>{this[m]=o[m]})}};const wRt=s=>{const o=new bRt;return o.calculate(s),o};let yRt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=ro("#cde498",10),this.primaryBorderColor=lm(this.primaryColor,this.darkMode),this.secondaryBorderColor=lm(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lm(this.tertiaryColor,this.darkMode),this.primaryTextColor=Rs(this.primaryColor),this.secondaryTextColor=Rs(this.secondaryColor),this.tertiaryTextColor=Rs(this.primaryColor),this.lineColor=Rs(this.background),this.textColor=Rs(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||pr(this.primaryColor,{h:30}),this.cScale4=this.cScale4||pr(this.primaryColor,{h:60}),this.cScale5=this.cScale5||pr(this.primaryColor,{h:90}),this.cScale6=this.cScale6||pr(this.primaryColor,{h:120}),this.cScale7=this.cScale7||pr(this.primaryColor,{h:150}),this.cScale8=this.cScale8||pr(this.primaryColor,{h:210}),this.cScale9=this.cScale9||pr(this.primaryColor,{h:270}),this.cScale10=this.cScale10||pr(this.primaryColor,{h:300}),this.cScale11=this.cScale11||pr(this.primaryColor,{h:330}),this["cScalePeer"+1]=this["cScalePeer"+1]||Bo(this.secondaryColor,45),this["cScalePeer"+2]=this["cScalePeer"+2]||Bo(this.tertiaryColor,40);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScale"+o]=Bo(this["cScale"+o],10),this["cScalePeer"+o]=this["cScalePeer"+o]||Bo(this["cScale"+o],25);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||pr(this["cScale"+o],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||pr(this.mainBkg,{h:30,s:-30,l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||pr(this.mainBkg,{h:30,s:-30,l:-(8+o*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=Bo(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=pr(this.primaryColor,{h:64}),this.fillType3=pr(this.secondaryColor,{h:64}),this.fillType4=pr(this.primaryColor,{h:-64}),this.fillType5=pr(this.secondaryColor,{h:-64}),this.fillType6=pr(this.primaryColor,{h:128}),this.fillType7=pr(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||pr(this.primaryColor,{l:-30}),this.pie5=this.pie5||pr(this.secondaryColor,{l:-30}),this.pie6=this.pie6||pr(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||pr(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||pr(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||pr(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||pr(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||pr(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||pr(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||pr(this.primaryColor,{h:-30}),this.git4=this.git4||pr(this.primaryColor,{h:-60}),this.git5=this.git5||pr(this.primaryColor,{h:-90}),this.git6=this.git6||pr(this.primaryColor,{h:60}),this.git7=this.git7||pr(this.primaryColor,{h:120}),this.darkMode?(this.git0=ro(this.git0,25),this.git1=ro(this.git1,25),this.git2=ro(this.git2,25),this.git3=ro(this.git3,25),this.git4=ro(this.git4,25),this.git5=ro(this.git5,25),this.git6=ro(this.git6,25),this.git7=ro(this.git7,25)):(this.git0=Bo(this.git0,25),this.git1=Bo(this.git1,25),this.git2=Bo(this.git2,25),this.git3=Bo(this.git3,25),this.git4=Bo(this.git4,25),this.git5=Bo(this.git5,25),this.git6=Bo(this.git6,25),this.git7=Bo(this.git7,25)),this.gitInv0=this.gitInv0||Rs(this.git0),this.gitInv1=this.gitInv1||Rs(this.git1),this.gitInv2=this.gitInv2||Rs(this.git2),this.gitInv3=this.gitInv3||Rs(this.git3),this.gitInv4=this.gitInv4||Rs(this.git4),this.gitInv5=this.gitInv5||Rs(this.git5),this.gitInv6=this.gitInv6||Rs(this.git6),this.gitInv7=this.gitInv7||Rs(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yZ,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||_Z}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(m=>{this[m]=o[m]}),this.updateColors(),f.forEach(m=>{this[m]=o[m]})}};const _Rt=s=>{const o=new yRt;return o.calculate(s),o};class xRt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ro(this.contrast,55),this.background="#ffffff",this.tertiaryColor=pr(this.primaryColor,{h:-160}),this.primaryBorderColor=lm(this.primaryColor,this.darkMode),this.secondaryBorderColor=lm(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lm(this.tertiaryColor,this.darkMode),this.primaryTextColor=Rs(this.primaryColor),this.secondaryTextColor=Rs(this.secondaryColor),this.tertiaryTextColor=Rs(this.tertiaryColor),this.lineColor=Rs(this.background),this.textColor=Rs(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=ro(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleInv"+o]=this["cScaleInv"+o]||Rs(this["cScale"+o]);for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this.darkMode?this["cScalePeer"+o]=this["cScalePeer"+o]||ro(this["cScale"+o],10):this["cScalePeer"+o]=this["cScalePeer"+o]||Bo(this["cScale"+o],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["cScaleLabel"+o]=this["cScaleLabel"+o]||this.scaleLabelColor;for(let o=0;o<5;o++)this["surface"+o]=this["surface"+o]||pr(this.mainBkg,{l:-(5+o*5)}),this["surfacePeer"+o]=this["surfacePeer"+o]||pr(this.mainBkg,{l:-(8+o*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=ro(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=ro(this.contrast,30),this.sectionBkgColor2=ro(this.contrast,30),this.taskBorderColor=Bo(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ro(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Bo(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=pr(this.primaryColor,{h:64}),this.fillType3=pr(this.secondaryColor,{h:64}),this.fillType4=pr(this.primaryColor,{h:-64}),this.fillType5=pr(this.secondaryColor,{h:-64}),this.fillType6=pr(this.primaryColor,{h:128}),this.fillType7=pr(this.secondaryColor,{h:128});for(let o=0;o<this.THEME_COLOR_LIMIT;o++)this["pie"+o]=this["cScale"+o];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Bo(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||pr(this.primaryColor,{h:-30}),this.git4=this.pie5||pr(this.primaryColor,{h:-60}),this.git5=this.pie6||pr(this.primaryColor,{h:-90}),this.git6=this.pie7||pr(this.primaryColor,{h:60}),this.git7=this.pie8||pr(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||Rs(this.git0),this.gitInv1=this.gitInv1||Rs(this.git1),this.gitInv2=this.gitInv2||Rs(this.git2),this.gitInv3=this.gitInv3||Rs(this.git3),this.gitInv4=this.gitInv4||Rs(this.git4),this.gitInv5=this.gitInv5||Rs(this.git5),this.gitInv6=this.gitInv6||Rs(this.git6),this.gitInv7=this.gitInv7||Rs(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yZ,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||_Z}calculate(o){if(typeof o!="object"){this.updateColors();return}const f=Object.keys(o);f.forEach(m=>{this[m]=o[m]}),this.updateColors(),f.forEach(m=>{this[m]=o[m]})}}const ax={base:{getThemeVariables:pRt},dark:{getThemeVariables:vRt},default:{getThemeVariables:wRt},forest:{getThemeVariables:_Rt},neutral:{getThemeVariables:s=>{const o=new xRt;return o.calculate(s),o}}},i7={theme:"default",themeVariables:ax.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};i7.class&&(i7.class.arrowMarkerAbsolute=i7.arrowMarkerAbsolute),i7.gitGraph&&(i7.gitGraph.arrowMarkerAbsolute=i7.arrowMarkerAbsolute);const u$e=(s,o="")=>Object.keys(s).reduce((f,m)=>Array.isArray(s[m])?f:typeof s[m]=="object"&&s[m]!==null?[...f,o+m,...u$e(s[m],"")]:[...f,o+m],[]),kRt=u$e(i7,""),ERt=i7;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function h$e(s){return typeof s>"u"||s===null}function TRt(s){return typeof s=="object"&&s!==null}function SRt(s){return Array.isArray(s)?s:h$e(s)?[]:[s]}function CRt(s,o){var f,m,y,k;if(o)for(k=Object.keys(o),f=0,m=k.length;f<m;f+=1)y=k[f],s[y]=o[y];return s}function ARt(s,o){var f="",m;for(m=0;m<o;m+=1)f+=s;return f}function MRt(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}var LRt=h$e,IRt=TRt,ORt=SRt,DRt=ARt,PRt=MRt,NRt=CRt,um={isNothing:LRt,isObject:IRt,toArray:ORt,repeat:DRt,isNegativeZero:PRt,extend:NRt};function f$e(s,o){var f="",m=s.reason||"(unknown reason)";return s.mark?(s.mark.name&&(f+='in "'+s.mark.name+'" '),f+="("+(s.mark.line+1)+":"+(s.mark.column+1)+")",!o&&s.mark.snippet&&(f+=`
`+s.mark.snippet),m+" "+f):m}function ej(s,o){Error.call(this),this.name="YAMLException",this.reason=s,this.mark=o,this.message=f$e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}ej.prototype=Object.create(Error.prototype),ej.prototype.constructor=ej,ej.prototype.toString=function(o){return this.name+": "+f$e(this,o)};var ox=ej;function sbe(s,o,f,m,y){var k="",v="",A=Math.floor(y/2)-1;return m-o>A&&(k=" ... ",o=m-A+k.length),f-m>A&&(v=" ...",f=m+A-v.length),{str:k+s.slice(o,f).replace(/\t/g,"→")+v,pos:m-o+k.length}}function abe(s,o){return um.repeat(" ",o-s.length)+s}function RRt(s,o){if(o=Object.create(o||null),!s.buffer)return null;o.maxLength||(o.maxLength=79),typeof o.indent!="number"&&(o.indent=1),typeof o.linesBefore!="number"&&(o.linesBefore=3),typeof o.linesAfter!="number"&&(o.linesAfter=2);for(var f=/\r?\n|\r|\0/g,m=[0],y=[],k,v=-1;k=f.exec(s.buffer);)y.push(k.index),m.push(k.index+k[0].length),s.position<=k.index&&v<0&&(v=m.length-2);v<0&&(v=m.length-1);var A="",O,j,z=Math.min(s.line+o.linesAfter,y.length).toString().length,V=o.maxLength-(o.indent+z+3);for(O=1;O<=o.linesBefore&&!(v-O<0);O++)j=sbe(s.buffer,m[v-O],y[v-O],s.position-(m[v]-m[v-O]),V),A=um.repeat(" ",o.indent)+abe((s.line-O+1).toString(),z)+" | "+j.str+`
`+A;for(j=sbe(s.buffer,m[v],y[v],s.position,V),A+=um.repeat(" ",o.indent)+abe((s.line+1).toString(),z)+" | "+j.str+`
`,A+=um.repeat("-",o.indent+z+3+j.pos)+`^
`,O=1;O<=o.linesAfter&&!(v+O>=y.length);O++)j=sbe(s.buffer,m[v+O],y[v+O],s.position-(m[v]-m[v+O]),V),A+=um.repeat(" ",o.indent)+abe((s.line+O+1).toString(),z)+" | "+j.str+`
`;return A.replace(/\n$/,"")}var BRt=RRt,FRt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],jRt=["scalar","sequence","mapping"];function $Rt(s){var o={};return s!==null&&Object.keys(s).forEach(function(f){s[f].forEach(function(m){o[String(m)]=f})}),o}function HRt(s,o){if(o=o||{},Object.keys(o).forEach(function(f){if(FRt.indexOf(f)===-1)throw new ox('Unknown option "'+f+'" is met in definition of "'+s+'" YAML type.')}),this.options=o,this.tag=s,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(f){return f},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=$Rt(o.styleAliases||null),jRt.indexOf(this.kind)===-1)throw new ox('Unknown kind "'+this.kind+'" is specified for "'+s+'" YAML type.')}var xp=HRt;function d$e(s,o){var f=[];return s[o].forEach(function(m){var y=f.length;f.forEach(function(k,v){k.tag===m.tag&&k.kind===m.kind&&k.multi===m.multi&&(y=v)}),f[y]=m}),f}function zRt(){var s={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},o,f;function m(y){y.multi?(s.multi[y.kind].push(y),s.multi.fallback.push(y)):s[y.kind][y.tag]=s.fallback[y.tag]=y}for(o=0,f=arguments.length;o<f;o+=1)arguments[o].forEach(m);return s}function obe(s){return this.extend(s)}obe.prototype.extend=function(o){var f=[],m=[];if(o instanceof xp)m.push(o);else if(Array.isArray(o))m=m.concat(o);else if(o&&(Array.isArray(o.implicit)||Array.isArray(o.explicit)))o.implicit&&(f=f.concat(o.implicit)),o.explicit&&(m=m.concat(o.explicit));else throw new ox("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.forEach(function(k){if(!(k instanceof xp))throw new ox("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(k.loadKind&&k.loadKind!=="scalar")throw new ox("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(k.multi)throw new ox("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),m.forEach(function(k){if(!(k instanceof xp))throw new ox("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var y=Object.create(obe.prototype);return y.implicit=(this.implicit||[]).concat(f),y.explicit=(this.explicit||[]).concat(m),y.compiledImplicit=d$e(y,"implicit"),y.compiledExplicit=d$e(y,"explicit"),y.compiledTypeMap=zRt(y.compiledImplicit,y.compiledExplicit),y};var VRt=obe,qRt=new xp("tag:yaml.org,2002:str",{kind:"scalar",construct:function(s){return s!==null?s:""}}),URt=new xp("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(s){return s!==null?s:[]}}),GRt=new xp("tag:yaml.org,2002:map",{kind:"mapping",construct:function(s){return s!==null?s:{}}}),g$e=new VRt({explicit:[qRt,URt,GRt]});function WRt(s){if(s===null)return!0;var o=s.length;return o===1&&s==="~"||o===4&&(s==="null"||s==="Null"||s==="NULL")}function KRt(){return null}function YRt(s){return s===null}var XRt=new xp("tag:yaml.org,2002:null",{kind:"scalar",resolve:WRt,construct:KRt,predicate:YRt,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function QRt(s){if(s===null)return!1;var o=s.length;return o===4&&(s==="true"||s==="True"||s==="TRUE")||o===5&&(s==="false"||s==="False"||s==="FALSE")}function ZRt(s){return s==="true"||s==="True"||s==="TRUE"}function JRt(s){return Object.prototype.toString.call(s)==="[object Boolean]"}var eBt=new xp("tag:yaml.org,2002:bool",{kind:"scalar",resolve:QRt,construct:ZRt,predicate:JRt,represent:{lowercase:function(s){return s?"true":"false"},uppercase:function(s){return s?"TRUE":"FALSE"},camelcase:function(s){return s?"True":"False"}},defaultStyle:"lowercase"});function tBt(s){return 48<=s&&s<=57||65<=s&&s<=70||97<=s&&s<=102}function nBt(s){return 48<=s&&s<=55}function rBt(s){return 48<=s&&s<=57}function iBt(s){if(s===null)return!1;var o=s.length,f=0,m=!1,y;if(!o)return!1;if(y=s[f],(y==="-"||y==="+")&&(y=s[++f]),y==="0"){if(f+1===o)return!0;if(y=s[++f],y==="b"){for(f++;f<o;f++)if(y=s[f],y!=="_"){if(y!=="0"&&y!=="1")return!1;m=!0}return m&&y!=="_"}if(y==="x"){for(f++;f<o;f++)if(y=s[f],y!=="_"){if(!tBt(s.charCodeAt(f)))return!1;m=!0}return m&&y!=="_"}if(y==="o"){for(f++;f<o;f++)if(y=s[f],y!=="_"){if(!nBt(s.charCodeAt(f)))return!1;m=!0}return m&&y!=="_"}}if(y==="_")return!1;for(;f<o;f++)if(y=s[f],y!=="_"){if(!rBt(s.charCodeAt(f)))return!1;m=!0}return!(!m||y==="_")}function sBt(s){var o=s,f=1,m;if(o.indexOf("_")!==-1&&(o=o.replace(/_/g,"")),m=o[0],(m==="-"||m==="+")&&(m==="-"&&(f=-1),o=o.slice(1),m=o[0]),o==="0")return 0;if(m==="0"){if(o[1]==="b")return f*parseInt(o.slice(2),2);if(o[1]==="x")return f*parseInt(o.slice(2),16);if(o[1]==="o")return f*parseInt(o.slice(2),8)}return f*parseInt(o,10)}function aBt(s){return Object.prototype.toString.call(s)==="[object Number]"&&s%1===0&&!um.isNegativeZero(s)}var oBt=new xp("tag:yaml.org,2002:int",{kind:"scalar",resolve:iBt,construct:sBt,predicate:aBt,represent:{binary:function(s){return s>=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0o"+s.toString(8):"-0o"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),cBt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function lBt(s){return!(s===null||!cBt.test(s)||s[s.length-1]==="_")}function uBt(s){var o,f;return o=s.replace(/_/g,"").toLowerCase(),f=o[0]==="-"?-1:1,"+-".indexOf(o[0])>=0&&(o=o.slice(1)),o===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:o===".nan"?NaN:f*parseFloat(o,10)}var hBt=/^[-+]?[0-9]+e/;function fBt(s,o){var f;if(isNaN(s))switch(o){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(o){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(o){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(um.isNegativeZero(s))return"-0.0";return f=s.toString(10),hBt.test(f)?f.replace("e",".e"):f}function dBt(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!==0||um.isNegativeZero(s))}var gBt=new xp("tag:yaml.org,2002:float",{kind:"scalar",resolve:lBt,construct:uBt,predicate:dBt,represent:fBt,defaultStyle:"lowercase"}),pBt=g$e.extend({implicit:[XRt,eBt,oBt,gBt]}),mBt=pBt,p$e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),m$e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function vBt(s){return s===null?!1:p$e.exec(s)!==null||m$e.exec(s)!==null}function bBt(s){var o,f,m,y,k,v,A,O=0,j=null,z,V,Y;if(o=p$e.exec(s),o===null&&(o=m$e.exec(s)),o===null)throw new Error("Date resolve error");if(f=+o[1],m=+o[2]-1,y=+o[3],!o[4])return new Date(Date.UTC(f,m,y));if(k=+o[4],v=+o[5],A=+o[6],o[7]){for(O=o[7].slice(0,3);O.length<3;)O+="0";O=+O}return o[9]&&(z=+o[10],V=+(o[11]||0),j=(z*60+V)*6e4,o[9]==="-"&&(j=-j)),Y=new Date(Date.UTC(f,m,y,k,v,A,O)),j&&Y.setTime(Y.getTime()-j),Y}function wBt(s){return s.toISOString()}var yBt=new xp("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:vBt,construct:bBt,instanceOf:Date,represent:wBt});function _Bt(s){return s==="<<"||s===null}var xBt=new xp("tag:yaml.org,2002:merge",{kind:"scalar",resolve:_Bt}),cbe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function kBt(s){if(s===null)return!1;var o,f,m=0,y=s.length,k=cbe;for(f=0;f<y;f++)if(o=k.indexOf(s.charAt(f)),!(o>64)){if(o<0)return!1;m+=6}return m%8===0}function EBt(s){var o,f,m=s.replace(/[\r\n=]/g,""),y=m.length,k=cbe,v=0,A=[];for(o=0;o<y;o++)o%4===0&&o&&(A.push(v>>16&255),A.push(v>>8&255),A.push(v&255)),v=v<<6|k.indexOf(m.charAt(o));return f=y%4*6,f===0?(A.push(v>>16&255),A.push(v>>8&255),A.push(v&255)):f===18?(A.push(v>>10&255),A.push(v>>2&255)):f===12&&A.push(v>>4&255),new Uint8Array(A)}function TBt(s){var o="",f=0,m,y,k=s.length,v=cbe;for(m=0;m<k;m++)m%3===0&&m&&(o+=v[f>>18&63],o+=v[f>>12&63],o+=v[f>>6&63],o+=v[f&63]),f=(f<<8)+s[m];return y=k%3,y===0?(o+=v[f>>18&63],o+=v[f>>12&63],o+=v[f>>6&63],o+=v[f&63]):y===2?(o+=v[f>>10&63],o+=v[f>>4&63],o+=v[f<<2&63],o+=v[64]):y===1&&(o+=v[f>>2&63],o+=v[f<<4&63],o+=v[64],o+=v[64]),o}function SBt(s){return Object.prototype.toString.call(s)==="[object Uint8Array]"}var CBt=new xp("tag:yaml.org,2002:binary",{kind:"scalar",resolve:kBt,construct:EBt,predicate:SBt,represent:TBt}),ABt=Object.prototype.hasOwnProperty,MBt=Object.prototype.toString;function LBt(s){if(s===null)return!0;var o=[],f,m,y,k,v,A=s;for(f=0,m=A.length;f<m;f+=1){if(y=A[f],v=!1,MBt.call(y)!=="[object Object]")return!1;for(k in y)if(ABt.call(y,k))if(!v)v=!0;else return!1;if(!v)return!1;if(o.indexOf(k)===-1)o.push(k);else return!1}return!0}function IBt(s){return s!==null?s:[]}var OBt=new xp("tag:yaml.org,2002:omap",{kind:"sequence",resolve:LBt,construct:IBt}),DBt=Object.prototype.toString;function PBt(s){if(s===null)return!0;var o,f,m,y,k,v=s;for(k=new Array(v.length),o=0,f=v.length;o<f;o+=1){if(m=v[o],DBt.call(m)!=="[object Object]"||(y=Object.keys(m),y.length!==1))return!1;k[o]=[y[0],m[y[0]]]}return!0}function NBt(s){if(s===null)return[];var o,f,m,y,k,v=s;for(k=new Array(v.length),o=0,f=v.length;o<f;o+=1)m=v[o],y=Object.keys(m),k[o]=[y[0],m[y[0]]];return k}var RBt=new xp("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:PBt,construct:NBt}),BBt=Object.prototype.hasOwnProperty;function FBt(s){if(s===null)return!0;var o,f=s;for(o in f)if(BBt.call(f,o)&&f[o]!==null)return!1;return!0}function jBt(s){return s!==null?s:{}}var $Bt=new xp("tag:yaml.org,2002:set",{kind:"mapping",resolve:FBt,construct:jBt}),HBt=mBt.extend({implicit:[yBt,xBt],explicit:[CBt,OBt,RBt,$Bt]}),s7=Object.prototype.hasOwnProperty,xZ=1,v$e=2,b$e=3,kZ=4,lbe=1,zBt=2,w$e=3,VBt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,qBt=/[\x85\u2028\u2029]/,UBt=/[,\[\]\{\}]/,y$e=/^(?:!|!!|![a-z\-]+!)$/i,_$e=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function x$e(s){return Object.prototype.toString.call(s)}function z5(s){return s===10||s===13}function yS(s){return s===9||s===32}function cv(s){return s===9||s===32||s===10||s===13}function _O(s){return s===44||s===91||s===93||s===123||s===125}function GBt(s){var o;return 48<=s&&s<=57?s-48:(o=s|32,97<=o&&o<=102?o-97+10:-1)}function WBt(s){return s===120?2:s===117?4:s===85?8:0}function KBt(s){return 48<=s&&s<=57?s-48:-1}function k$e(s){return s===48?"\0":s===97?"\x07":s===98?"\b":s===116||s===9?" ":s===110?`
`:s===118?"\v":s===102?"\f":s===114?"\r":s===101?"\x1B":s===32?" ":s===34?'"':s===47?"/":s===92?"\\":s===78?"…":s===95?" ":s===76?"\u2028":s===80?"\u2029":""}function YBt(s){return s<=65535?String.fromCharCode(s):String.fromCharCode((s-65536>>10)+55296,(s-65536&1023)+56320)}for(var E$e=new Array(256),T$e=new Array(256),xO=0;xO<256;xO++)E$e[xO]=k$e(xO)?1:0,T$e[xO]=k$e(xO);function XBt(s,o){this.input=s,this.filename=o.filename||null,this.schema=o.schema||HBt,this.onWarning=o.onWarning||null,this.legacy=o.legacy||!1,this.json=o.json||!1,this.listener=o.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=s.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function S$e(s,o){var f={name:s.filename,buffer:s.input.slice(0,-1),position:s.position,line:s.line,column:s.position-s.lineStart};return f.snippet=BRt(f),new ox(o,f)}function Ra(s,o){throw S$e(s,o)}function EZ(s,o){s.onWarning&&s.onWarning.call(null,S$e(s,o))}var C$e={YAML:function(o,f,m){var y,k,v;o.version!==null&&Ra(o,"duplication of %YAML directive"),m.length!==1&&Ra(o,"YAML directive accepts exactly one argument"),y=/^([0-9]+)\.([0-9]+)$/.exec(m[0]),y===null&&Ra(o,"ill-formed argument of the YAML directive"),k=parseInt(y[1],10),v=parseInt(y[2],10),k!==1&&Ra(o,"unacceptable YAML version of the document"),o.version=m[0],o.checkLineBreaks=v<2,v!==1&&v!==2&&EZ(o,"unsupported YAML version of the document")},TAG:function(o,f,m){var y,k;m.length!==2&&Ra(o,"TAG directive accepts exactly two arguments"),y=m[0],k=m[1],y$e.test(y)||Ra(o,"ill-formed tag handle (first argument) of the TAG directive"),s7.call(o.tagMap,y)&&Ra(o,'there is a previously declared suffix for "'+y+'" tag handle'),_$e.test(k)||Ra(o,"ill-formed tag prefix (second argument) of the TAG directive");try{k=decodeURIComponent(k)}catch{Ra(o,"tag prefix is malformed: "+k)}o.tagMap[y]=k}};function a7(s,o,f,m){var y,k,v,A;if(o<f){if(A=s.input.slice(o,f),m)for(y=0,k=A.length;y<k;y+=1)v=A.charCodeAt(y),v===9||32<=v&&v<=1114111||Ra(s,"expected valid JSON character");else VBt.test(A)&&Ra(s,"the stream contains non-printable characters");s.result+=A}}function A$e(s,o,f,m){var y,k,v,A;for(um.isObject(f)||Ra(s,"cannot merge mappings; the provided source object is unacceptable"),y=Object.keys(f),v=0,A=y.length;v<A;v+=1)k=y[v],s7.call(o,k)||(o[k]=f[k],m[k]=!0)}function kO(s,o,f,m,y,k,v,A,O){var j,z;if(Array.isArray(y))for(y=Array.prototype.slice.call(y),j=0,z=y.length;j<z;j+=1)Array.isArray(y[j])&&Ra(s,"nested arrays are not supported inside keys"),typeof y=="object"&&x$e(y[j])==="[object Object]"&&(y[j]="[object Object]");if(typeof y=="object"&&x$e(y)==="[object Object]"&&(y="[object Object]"),y=String(y),o===null&&(o={}),m==="tag:yaml.org,2002:merge")if(Array.isArray(k))for(j=0,z=k.length;j<z;j+=1)A$e(s,o,k[j],f);else A$e(s,o,k,f);else!s.json&&!s7.call(f,y)&&s7.call(o,y)&&(s.line=v||s.line,s.lineStart=A||s.lineStart,s.position=O||s.position,Ra(s,"duplicated mapping key")),y==="__proto__"?Object.defineProperty(o,y,{configurable:!0,enumerable:!0,writable:!0,value:k}):o[y]=k,delete f[y];return o}function ube(s){var o;o=s.input.charCodeAt(s.position),o===10?s.position++:o===13?(s.position++,s.input.charCodeAt(s.position)===10&&s.position++):Ra(s,"a line break is expected"),s.line+=1,s.lineStart=s.position,s.firstTabInLine=-1}function M1(s,o,f){for(var m=0,y=s.input.charCodeAt(s.position);y!==0;){for(;yS(y);)y===9&&s.firstTabInLine===-1&&(s.firstTabInLine=s.position),y=s.input.charCodeAt(++s.position);if(o&&y===35)do y=s.input.charCodeAt(++s.position);while(y!==10&&y!==13&&y!==0);if(z5(y))for(ube(s),y=s.input.charCodeAt(s.position),m++,s.lineIndent=0;y===32;)s.lineIndent++,y=s.input.charCodeAt(++s.position);else break}return f!==-1&&m!==0&&s.lineIndent<f&&EZ(s,"deficient indentation"),m}function TZ(s){var o=s.position,f;return f=s.input.charCodeAt(o),!!((f===45||f===46)&&f===s.input.charCodeAt(o+1)&&f===s.input.charCodeAt(o+2)&&(o+=3,f=s.input.charCodeAt(o),f===0||cv(f)))}function hbe(s,o){o===1?s.result+=" ":o>1&&(s.result+=um.repeat(`
`,o-1))}function QBt(s,o,f){var m,y,k,v,A,O,j,z,V=s.kind,Y=s.result,G;if(G=s.input.charCodeAt(s.position),cv(G)||_O(G)||G===35||G===38||G===42||G===33||G===124||G===62||G===39||G===34||G===37||G===64||G===96||(G===63||G===45)&&(y=s.input.charCodeAt(s.position+1),cv(y)||f&&_O(y)))return!1;for(s.kind="scalar",s.result="",k=v=s.position,A=!1;G!==0;){if(G===58){if(y=s.input.charCodeAt(s.position+1),cv(y)||f&&_O(y))break}else if(G===35){if(m=s.input.charCodeAt(s.position-1),cv(m))break}else{if(s.position===s.lineStart&&TZ(s)||f&&_O(G))break;if(z5(G))if(O=s.line,j=s.lineStart,z=s.lineIndent,M1(s,!1,-1),s.lineIndent>=o){A=!0,G=s.input.charCodeAt(s.position);continue}else{s.position=v,s.line=O,s.lineStart=j,s.lineIndent=z;break}}A&&(a7(s,k,v,!1),hbe(s,s.line-O),k=v=s.position,A=!1),yS(G)||(v=s.position+1),G=s.input.charCodeAt(++s.position)}return a7(s,k,v,!1),s.result?!0:(s.kind=V,s.result=Y,!1)}function ZBt(s,o){var f,m,y;if(f=s.input.charCodeAt(s.position),f!==39)return!1;for(s.kind="scalar",s.result="",s.position++,m=y=s.position;(f=s.input.charCodeAt(s.position))!==0;)if(f===39)if(a7(s,m,s.position,!0),f=s.input.charCodeAt(++s.position),f===39)m=s.position,s.position++,y=s.position;else return!0;else z5(f)?(a7(s,m,y,!0),hbe(s,M1(s,!1,o)),m=y=s.position):s.position===s.lineStart&&TZ(s)?Ra(s,"unexpected end of the document within a single quoted scalar"):(s.position++,y=s.position);Ra(s,"unexpected end of the stream within a single quoted scalar")}function JBt(s,o){var f,m,y,k,v,A;if(A=s.input.charCodeAt(s.position),A!==34)return!1;for(s.kind="scalar",s.result="",s.position++,f=m=s.position;(A=s.input.charCodeAt(s.position))!==0;){if(A===34)return a7(s,f,s.position,!0),s.position++,!0;if(A===92){if(a7(s,f,s.position,!0),A=s.input.charCodeAt(++s.position),z5(A))M1(s,!1,o);else if(A<256&&E$e[A])s.result+=T$e[A],s.position++;else if((v=WBt(A))>0){for(y=v,k=0;y>0;y--)A=s.input.charCodeAt(++s.position),(v=GBt(A))>=0?k=(k<<4)+v:Ra(s,"expected hexadecimal character");s.result+=YBt(k),s.position++}else Ra(s,"unknown escape sequence");f=m=s.position}else z5(A)?(a7(s,f,m,!0),hbe(s,M1(s,!1,o)),f=m=s.position):s.position===s.lineStart&&TZ(s)?Ra(s,"unexpected end of the document within a double quoted scalar"):(s.position++,m=s.position)}Ra(s,"unexpected end of the stream within a double quoted scalar")}function eFt(s,o){var f=!0,m,y,k,v=s.tag,A,O=s.anchor,j,z,V,Y,G,J=Object.create(null),ce,me,_e,we;if(we=s.input.charCodeAt(s.position),we===91)z=93,G=!1,A=[];else if(we===123)z=125,G=!0,A={};else return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=A),we=s.input.charCodeAt(++s.position);we!==0;){if(M1(s,!0,o),we=s.input.charCodeAt(s.position),we===z)return s.position++,s.tag=v,s.anchor=O,s.kind=G?"mapping":"sequence",s.result=A,!0;f?we===44&&Ra(s,"expected the node content, but found ','"):Ra(s,"missed comma between flow collection entries"),me=ce=_e=null,V=Y=!1,we===63&&(j=s.input.charCodeAt(s.position+1),cv(j)&&(V=Y=!0,s.position++,M1(s,!0,o))),m=s.line,y=s.lineStart,k=s.position,EO(s,o,xZ,!1,!0),me=s.tag,ce=s.result,M1(s,!0,o),we=s.input.charCodeAt(s.position),(Y||s.line===m)&&we===58&&(V=!0,we=s.input.charCodeAt(++s.position),M1(s,!0,o),EO(s,o,xZ,!1,!0),_e=s.result),G?kO(s,A,J,me,ce,_e,m,y,k):V?A.push(kO(s,null,J,me,ce,_e,m,y,k)):A.push(ce),M1(s,!0,o),we=s.input.charCodeAt(s.position),we===44?(f=!0,we=s.input.charCodeAt(++s.position)):f=!1}Ra(s,"unexpected end of the stream within a flow collection")}function tFt(s,o){var f,m,y=lbe,k=!1,v=!1,A=o,O=0,j=!1,z,V;if(V=s.input.charCodeAt(s.position),V===124)m=!1;else if(V===62)m=!0;else return!1;for(s.kind="scalar",s.result="";V!==0;)if(V=s.input.charCodeAt(++s.position),V===43||V===45)lbe===y?y=V===43?w$e:zBt:Ra(s,"repeat of a chomping mode identifier");else if((z=KBt(V))>=0)z===0?Ra(s,"bad explicit indentation width of a block scalar; it cannot be less than one"):v?Ra(s,"repeat of an indentation width identifier"):(A=o+z-1,v=!0);else break;if(yS(V)){do V=s.input.charCodeAt(++s.position);while(yS(V));if(V===35)do V=s.input.charCodeAt(++s.position);while(!z5(V)&&V!==0)}for(;V!==0;){for(ube(s),s.lineIndent=0,V=s.input.charCodeAt(s.position);(!v||s.lineIndent<A)&&V===32;)s.lineIndent++,V=s.input.charCodeAt(++s.position);if(!v&&s.lineIndent>A&&(A=s.lineIndent),z5(V)){O++;continue}if(s.lineIndent<A){y===w$e?s.result+=um.repeat(`
`,k?1+O:O):y===lbe&&k&&(s.result+=`
`);break}for(m?yS(V)?(j=!0,s.result+=um.repeat(`
`,k?1+O:O)):j?(j=!1,s.result+=um.repeat(`
`,O+1)):O===0?k&&(s.result+=" "):s.result+=um.repeat(`
`,O):s.result+=um.repeat(`
`,k?1+O:O),k=!0,v=!0,O=0,f=s.position;!z5(V)&&V!==0;)V=s.input.charCodeAt(++s.position);a7(s,f,s.position,!1)}return!0}function M$e(s,o){var f,m=s.tag,y=s.anchor,k=[],v,A=!1,O;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=k),O=s.input.charCodeAt(s.position);O!==0&&(s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,Ra(s,"tab characters must not be used in indentation")),!(O!==45||(v=s.input.charCodeAt(s.position+1),!cv(v))));){if(A=!0,s.position++,M1(s,!0,-1)&&s.lineIndent<=o){k.push(null),O=s.input.charCodeAt(s.position);continue}if(f=s.line,EO(s,o,b$e,!1,!0),k.push(s.result),M1(s,!0,-1),O=s.input.charCodeAt(s.position),(s.line===f||s.lineIndent>o)&&O!==0)Ra(s,"bad indentation of a sequence entry");else if(s.lineIndent<o)break}return A?(s.tag=m,s.anchor=y,s.kind="sequence",s.result=k,!0):!1}function nFt(s,o,f){var m,y,k,v,A,O,j=s.tag,z=s.anchor,V={},Y=Object.create(null),G=null,J=null,ce=null,me=!1,_e=!1,we;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=V),we=s.input.charCodeAt(s.position);we!==0;){if(!me&&s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,Ra(s,"tab characters must not be used in indentation")),m=s.input.charCodeAt(s.position+1),k=s.line,(we===63||we===58)&&cv(m))we===63?(me&&(kO(s,V,Y,G,J,null,v,A,O),G=J=ce=null),_e=!0,me=!0,y=!0):me?(me=!1,y=!0):Ra(s,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),s.position+=1,we=m;else{if(v=s.line,A=s.lineStart,O=s.position,!EO(s,f,v$e,!1,!0))break;if(s.line===k){for(we=s.input.charCodeAt(s.position);yS(we);)we=s.input.charCodeAt(++s.position);if(we===58)we=s.input.charCodeAt(++s.position),cv(we)||Ra(s,"a whitespace character is expected after the key-value separator within a block mapping"),me&&(kO(s,V,Y,G,J,null,v,A,O),G=J=ce=null),_e=!0,me=!1,y=!1,G=s.tag,J=s.result;else if(_e)Ra(s,"can not read an implicit mapping pair; a colon is missed");else return s.tag=j,s.anchor=z,!0}else if(_e)Ra(s,"can not read a block mapping entry; a multiline key may not be an implicit key");else return s.tag=j,s.anchor=z,!0}if((s.line===k||s.lineIndent>o)&&(me&&(v=s.line,A=s.lineStart,O=s.position),EO(s,o,kZ,!0,y)&&(me?J=s.result:ce=s.result),me||(kO(s,V,Y,G,J,ce,v,A,O),G=J=ce=null),M1(s,!0,-1),we=s.input.charCodeAt(s.position)),(s.line===k||s.lineIndent>o)&&we!==0)Ra(s,"bad indentation of a mapping entry");else if(s.lineIndent<o)break}return me&&kO(s,V,Y,G,J,null,v,A,O),_e&&(s.tag=j,s.anchor=z,s.kind="mapping",s.result=V),_e}function rFt(s){var o,f=!1,m=!1,y,k,v;if(v=s.input.charCodeAt(s.position),v!==33)return!1;if(s.tag!==null&&Ra(s,"duplication of a tag property"),v=s.input.charCodeAt(++s.position),v===60?(f=!0,v=s.input.charCodeAt(++s.position)):v===33?(m=!0,y="!!",v=s.input.charCodeAt(++s.position)):y="!",o=s.position,f){do v=s.input.charCodeAt(++s.position);while(v!==0&&v!==62);s.position<s.length?(k=s.input.slice(o,s.position),v=s.input.charCodeAt(++s.position)):Ra(s,"unexpected end of the stream within a verbatim tag")}else{for(;v!==0&&!cv(v);)v===33&&(m?Ra(s,"tag suffix cannot contain exclamation marks"):(y=s.input.slice(o-1,s.position+1),y$e.test(y)||Ra(s,"named tag handle cannot contain such characters"),m=!0,o=s.position+1)),v=s.input.charCodeAt(++s.position);k=s.input.slice(o,s.position),UBt.test(k)&&Ra(s,"tag suffix cannot contain flow indicator characters")}k&&!_$e.test(k)&&Ra(s,"tag name cannot contain such characters: "+k);try{k=decodeURIComponent(k)}catch{Ra(s,"tag name is malformed: "+k)}return f?s.tag=k:s7.call(s.tagMap,y)?s.tag=s.tagMap[y]+k:y==="!"?s.tag="!"+k:y==="!!"?s.tag="tag:yaml.org,2002:"+k:Ra(s,'undeclared tag handle "'+y+'"'),!0}function iFt(s){var o,f;if(f=s.input.charCodeAt(s.position),f!==38)return!1;for(s.anchor!==null&&Ra(s,"duplication of an anchor property"),f=s.input.charCodeAt(++s.position),o=s.position;f!==0&&!cv(f)&&!_O(f);)f=s.input.charCodeAt(++s.position);return s.position===o&&Ra(s,"name of an anchor node must contain at least one character"),s.anchor=s.input.slice(o,s.position),!0}function sFt(s){var o,f,m;if(m=s.input.charCodeAt(s.position),m!==42)return!1;for(m=s.input.charCodeAt(++s.position),o=s.position;m!==0&&!cv(m)&&!_O(m);)m=s.input.charCodeAt(++s.position);return s.position===o&&Ra(s,"name of an alias node must contain at least one character"),f=s.input.slice(o,s.position),s7.call(s.anchorMap,f)||Ra(s,'unidentified alias "'+f+'"'),s.result=s.anchorMap[f],M1(s,!0,-1),!0}function EO(s,o,f,m,y){var k,v,A,O=1,j=!1,z=!1,V,Y,G,J,ce,me;if(s.listener!==null&&s.listener("open",s),s.tag=null,s.anchor=null,s.kind=null,s.result=null,k=v=A=kZ===f||b$e===f,m&&M1(s,!0,-1)&&(j=!0,s.lineIndent>o?O=1:s.lineIndent===o?O=0:s.lineIndent<o&&(O=-1)),O===1)for(;rFt(s)||iFt(s);)M1(s,!0,-1)?(j=!0,A=k,s.lineIndent>o?O=1:s.lineIndent===o?O=0:s.lineIndent<o&&(O=-1)):A=!1;if(A&&(A=j||y),(O===1||kZ===f)&&(xZ===f||v$e===f?ce=o:ce=o+1,me=s.position-s.lineStart,O===1?A&&(M$e(s,me)||nFt(s,me,ce))||eFt(s,ce)?z=!0:(v&&tFt(s,ce)||ZBt(s,ce)||JBt(s,ce)?z=!0:sFt(s)?(z=!0,(s.tag!==null||s.anchor!==null)&&Ra(s,"alias node should not have any properties")):QBt(s,ce,xZ===f)&&(z=!0,s.tag===null&&(s.tag="?")),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):O===0&&(z=A&&M$e(s,me))),s.tag===null)s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);else if(s.tag==="?"){for(s.result!==null&&s.kind!=="scalar"&&Ra(s,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+s.kind+'"'),V=0,Y=s.implicitTypes.length;V<Y;V+=1)if(J=s.implicitTypes[V],J.resolve(s.result)){s.result=J.construct(s.result),s.tag=J.tag,s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);break}}else if(s.tag!=="!"){if(s7.call(s.typeMap[s.kind||"fallback"],s.tag))J=s.typeMap[s.kind||"fallback"][s.tag];else for(J=null,G=s.typeMap.multi[s.kind||"fallback"],V=0,Y=G.length;V<Y;V+=1)if(s.tag.slice(0,G[V].tag.length)===G[V].tag){J=G[V];break}J||Ra(s,"unknown tag !<"+s.tag+">"),s.result!==null&&J.kind!==s.kind&&Ra(s,"unacceptable node kind for !<"+s.tag+'> tag; it should be "'+J.kind+'", not "'+s.kind+'"'),J.resolve(s.result,s.tag)?(s.result=J.construct(s.result,s.tag),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):Ra(s,"cannot resolve a node with !<"+s.tag+"> explicit tag")}return s.listener!==null&&s.listener("close",s),s.tag!==null||s.anchor!==null||z}function aFt(s){var o=s.position,f,m,y,k=!1,v;for(s.version=null,s.checkLineBreaks=s.legacy,s.tagMap=Object.create(null),s.anchorMap=Object.create(null);(v=s.input.charCodeAt(s.position))!==0&&(M1(s,!0,-1),v=s.input.charCodeAt(s.position),!(s.lineIndent>0||v!==37));){for(k=!0,v=s.input.charCodeAt(++s.position),f=s.position;v!==0&&!cv(v);)v=s.input.charCodeAt(++s.position);for(m=s.input.slice(f,s.position),y=[],m.length<1&&Ra(s,"directive name must not be less than one character in length");v!==0;){for(;yS(v);)v=s.input.charCodeAt(++s.position);if(v===35){do v=s.input.charCodeAt(++s.position);while(v!==0&&!z5(v));break}if(z5(v))break;for(f=s.position;v!==0&&!cv(v);)v=s.input.charCodeAt(++s.position);y.push(s.input.slice(f,s.position))}v!==0&&ube(s),s7.call(C$e,m)?C$e[m](s,m,y):EZ(s,'unknown document directive "'+m+'"')}if(M1(s,!0,-1),s.lineIndent===0&&s.input.charCodeAt(s.position)===45&&s.input.charCodeAt(s.position+1)===45&&s.input.charCodeAt(s.position+2)===45?(s.position+=3,M1(s,!0,-1)):k&&Ra(s,"directives end mark is expected"),EO(s,s.lineIndent-1,kZ,!1,!0),M1(s,!0,-1),s.checkLineBreaks&&qBt.test(s.input.slice(o,s.position))&&EZ(s,"non-ASCII line breaks are interpreted as content"),s.documents.push(s.result),s.position===s.lineStart&&TZ(s)){s.input.charCodeAt(s.position)===46&&(s.position+=3,M1(s,!0,-1));return}if(s.position<s.length-1)Ra(s,"end of the stream or a document separator is expected");else return}function L$e(s,o){s=String(s),o=o||{},s.length!==0&&(s.charCodeAt(s.length-1)!==10&&s.charCodeAt(s.length-1)!==13&&(s+=`
`),s.charCodeAt(0)===65279&&(s=s.slice(1)));var f=new XBt(s,o),m=s.indexOf("\0");for(m!==-1&&(f.position=m,Ra(f,"null byte is not allowed in input")),f.input+="\0";f.input.charCodeAt(f.position)===32;)f.lineIndent+=1,f.position+=1;for(;f.position<f.length-1;)aFt(f);return f.documents}function oFt(s,o,f){o!==null&&typeof o=="object"&&typeof f>"u"&&(f=o,o=null);var m=L$e(s,f);if(typeof o!="function")return m;for(var y=0,k=m.length;y<k;y+=1)o(m[y])}function cFt(s,o){var f=L$e(s,o);if(f.length!==0){if(f.length===1)return f[0];throw new ox("expected a single document in the stream, but found more")}}var lFt=oFt,uFt=cFt,hFt={loadAll:lFt,load:uFt},fFt=g$e,dFt=hFt.load;const I$e=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function gFt(s,o){var f;const m=s.match(I$e);if(m){const y=dFt(m[1],{schema:fFt});return y!=null&&y.title&&((f=o.setDiagramTitle)==null||f.call(o,y.title)),s.slice(m[0].length)}else return s}const pFt=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,mFt=/\s*%%.*\n/gm,SZ={},fbe=function(s,o){s=s.replace(I$e,"").replace(pFt,"").replace(mFt,`
`);for(const[f,{detector:m}]of Object.entries(SZ))if(m(s,o))return f;throw new Error(`No diagram type detected for text: ${s}`)},O$e=(...s)=>{for(const{id:o,detector:f,loader:m}of s)D$e(o,f,m)},D$e=(s,o,f)=>{SZ[s]?ne.error(`Detector with key ${s} already exists`):SZ[s]={detector:o,loader:f},ne.debug(`Detector with key ${s} added${f?" with loader":""}`)},vFt=s=>SZ[s].loader,dbe=function(s,o,f){const{depth:m,clobber:y}=Object.assign({depth:2,clobber:!1},f);return Array.isArray(o)&&!Array.isArray(s)?(o.forEach(k=>dbe(s,k,f)),s):Array.isArray(o)&&Array.isArray(s)?(o.forEach(k=>{s.includes(k)||s.push(k)}),s):s===void 0||m<=0?s!=null&&typeof s=="object"&&typeof o=="object"?Object.assign(s,o):o:(o!==void 0&&typeof s=="object"&&typeof o=="object"&&Object.keys(o).forEach(k=>{typeof o[k]=="object"&&(s[k]===void 0||typeof s[k]=="object")?(s[k]===void 0&&(s[k]=Array.isArray(o[k])?[]:{}),s[k]=dbe(s[k],o[k],{depth:m-1,clobber:y})):(y||typeof s[k]!="object"&&typeof o[k]!="object")&&(s[k]=o[k])}),s)},eg=dbe;var bFt=typeof FI=="object"&&FI&&FI.Object===Object&&FI;const P$e=bFt;var wFt=typeof self=="object"&&self&&self.Object===Object&&self,yFt=P$e||wFt||Function("return this")();const E3=yFt;var _Ft=E3.Symbol;const mw=_Ft;var N$e=Object.prototype,xFt=N$e.hasOwnProperty,kFt=N$e.toString,tj=mw?mw.toStringTag:void 0;function EFt(s){var o=xFt.call(s,tj),f=s[tj];try{s[tj]=void 0;var m=!0}catch{}var y=kFt.call(s);return m&&(o?s[tj]=f:delete s[tj]),y}var TFt=Object.prototype,SFt=TFt.toString;function CFt(s){return SFt.call(s)}var AFt="[object Null]",MFt="[object Undefined]",R$e=mw?mw.toStringTag:void 0;function _S(s){return s==null?s===void 0?MFt:AFt:R$e&&R$e in Object(s)?EFt(s):CFt(s)}function Vb(s){var o=typeof s;return s!=null&&(o=="object"||o=="function")}var LFt="[object AsyncFunction]",IFt="[object Function]",OFt="[object GeneratorFunction]",DFt="[object Proxy]";function TO(s){if(!Vb(s))return!1;var o=_S(s);return o==IFt||o==OFt||o==LFt||o==DFt}var PFt=E3["__core-js_shared__"];const gbe=PFt;var B$e=function(){var s=/[^.]+$/.exec(gbe&&gbe.keys&&gbe.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function NFt(s){return!!B$e&&B$e in s}var RFt=Function.prototype,BFt=RFt.toString;function xS(s){if(s!=null){try{return BFt.call(s)}catch{}try{return s+""}catch{}}return""}var FFt=/[\\^$.*+?()[\]{}|]/g,jFt=/^\[object .+?Constructor\]$/,$Ft=Function.prototype,HFt=Object.prototype,zFt=$Ft.toString,VFt=HFt.hasOwnProperty,qFt=RegExp("^"+zFt.call(VFt).replace(FFt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function UFt(s){if(!Vb(s)||NFt(s))return!1;var o=TO(s)?qFt:jFt;return o.test(xS(s))}function GFt(s,o){return s==null?void 0:s[o]}function kS(s,o){var f=GFt(s,o);return UFt(f)?f:void 0}var WFt=kS(Object,"create");const nj=WFt;function KFt(){this.__data__=nj?nj(null):{},this.size=0}function YFt(s){var o=this.has(s)&&delete this.__data__[s];return this.size-=o?1:0,o}var XFt="__lodash_hash_undefined__",QFt=Object.prototype,ZFt=QFt.hasOwnProperty;function JFt(s){var o=this.__data__;if(nj){var f=o[s];return f===XFt?void 0:f}return ZFt.call(o,s)?o[s]:void 0}var ejt=Object.prototype,tjt=ejt.hasOwnProperty;function njt(s){var o=this.__data__;return nj?o[s]!==void 0:tjt.call(o,s)}var rjt="__lodash_hash_undefined__";function ijt(s,o){var f=this.__data__;return this.size+=this.has(s)?0:1,f[s]=nj&&o===void 0?rjt:o,this}function ES(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var m=s[o];this.set(m[0],m[1])}}ES.prototype.clear=KFt,ES.prototype.delete=YFt,ES.prototype.get=JFt,ES.prototype.has=njt,ES.prototype.set=ijt;function sjt(){this.__data__=[],this.size=0}function SO(s,o){return s===o||s!==s&&o!==o}function CZ(s,o){for(var f=s.length;f--;)if(SO(s[f][0],o))return f;return-1}var ajt=Array.prototype,ojt=ajt.splice;function cjt(s){var o=this.__data__,f=CZ(o,s);if(f<0)return!1;var m=o.length-1;return f==m?o.pop():ojt.call(o,f,1),--this.size,!0}function ljt(s){var o=this.__data__,f=CZ(o,s);return f<0?void 0:o[f][1]}function ujt(s){return CZ(this.__data__,s)>-1}function hjt(s,o){var f=this.__data__,m=CZ(f,s);return m<0?(++this.size,f.push([s,o])):f[m][1]=o,this}function cx(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var m=s[o];this.set(m[0],m[1])}}cx.prototype.clear=sjt,cx.prototype.delete=cjt,cx.prototype.get=ljt,cx.prototype.has=ujt,cx.prototype.set=hjt;var fjt=kS(E3,"Map");const rj=fjt;function djt(){this.size=0,this.__data__={hash:new ES,map:new(rj||cx),string:new ES}}function gjt(s){var o=typeof s;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?s!=="__proto__":s===null}function AZ(s,o){var f=s.__data__;return gjt(o)?f[typeof o=="string"?"string":"hash"]:f.map}function pjt(s){var o=AZ(this,s).delete(s);return this.size-=o?1:0,o}function mjt(s){return AZ(this,s).get(s)}function vjt(s){return AZ(this,s).has(s)}function bjt(s,o){var f=AZ(this,s),m=f.size;return f.set(s,o),this.size+=f.size==m?0:1,this}function lx(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o<f;){var m=s[o];this.set(m[0],m[1])}}lx.prototype.clear=djt,lx.prototype.delete=pjt,lx.prototype.get=mjt,lx.prototype.has=vjt,lx.prototype.set=bjt;var wjt="Expected a function";function CO(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new TypeError(wjt);var f=function(){var m=arguments,y=o?o.apply(this,m):m[0],k=f.cache;if(k.has(y))return k.get(y);var v=s.apply(this,m);return f.cache=k.set(y,v)||k,v};return f.cache=new(CO.Cache||lx),f}CO.Cache=lx;const yjt={curveBasis:yO,curveBasisClosed:hNt,curveBasisOpen:fNt,curveBumpX:lNt,curveBumpY:uNt,curveBundle:dNt,curveCardinalClosed:pNt,curveCardinalOpen:mNt,curveCardinal:gNt,curveCatmullRomClosed:bNt,curveCatmullRomOpen:wNt,curveCatmullRom:vNt,curveLinear:Bg,curveLinearClosed:yNt,curveMonotoneX:_Nt,curveMonotoneY:xNt,curveNatural:kNt,curveStep:ENt,curveStepAfter:SNt,curveStepBefore:TNt},pbe=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,_jt=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,xjt=function(s,o){const f=F$e(s,/(?:init\b)|(?:initialize\b)/);let m={};if(Array.isArray(f)){const y=f.map(k=>k.args);TS(y),m=eg(m,[...y])}else m=f.args;if(m){let y=fbe(s,o);["config"].forEach(k=>{m[k]!==void 0&&(y==="flowchart-v2"&&(y="flowchart"),m[y]=m[k],delete m[k])})}return m},F$e=function(s,o=null){try{const f=new RegExp(`[%]{2}(?![{]${_jt.source})(?=[}][%]{2}).*
`,"ig");s=s.trim().replace(f,"").replace(/'/gm,'"'),ne.debug(`Detecting diagram directive${o!==null?" type:"+o:""} based on the text:${s}`);let m;const y=[];for(;(m=pbe.exec(s))!==null;)if(m.index===pbe.lastIndex&&pbe.lastIndex++,m&&!o||o&&m[1]&&m[1].match(o)||o&&m[2]&&m[2].match(o)){const k=m[1]?m[1]:m[2],v=m[3]?m[3].trim():m[4]?JSON.parse(m[4].trim()):null;y.push({type:k,args:v})}return y.length===0&&y.push({type:s,args:null}),y.length===1?y[0]:y}catch(f){return ne.error(`ERROR: ${f.message} - Unable to parse directive
${o!==null?" type:"+o:""} based on the text:${s}`),{type:null,args:null}}},kjt=function(s,o){for(const[f,m]of o.entries())if(m.match(s))return f;return-1};function lv(s,o){if(!s)return o;const f=`curve${s.charAt(0).toUpperCase()+s.slice(1)}`;return yjt[f]||o}function Ejt(s,o){const f=s.trim();if(f)return o.securityLevel!=="loose"?xt(f):f}const Tjt=(s,...o)=>{const f=s.split("."),m=f.length-1,y=f[m];let k=window;for(let v=0;v<m;v++)if(k=k[f[v]],!k)return;k[y](...o)};function MZ(s,o){return s&&o?Math.sqrt(Math.pow(o.x-s.x,2)+Math.pow(o.y-s.y,2)):0}function Sjt(s){let o,f=0;s.forEach(k=>{f+=MZ(k,o),o=k});let m=f/2,y;return o=void 0,s.forEach(k=>{if(o&&!y){const v=MZ(k,o);if(v<m)m-=v;else{const A=m/v;A<=0&&(y=o),A>=1&&(y={x:k.x,y:k.y}),A>0&&A<1&&(y={x:(1-A)*o.x+A*k.x,y:(1-A)*o.y+A*k.y})}}o=k}),y}function Cjt(s){return s.length===1?s[0]:Sjt(s)}const Ajt=(s,o,f)=>{let m;ne.info(`our points ${JSON.stringify(o)}`),o[0]!==f&&(o=o.reverse());let k=25,v;m=void 0,o.forEach(z=>{if(m&&!v){const V=MZ(z,m);if(V<k)k-=V;else{const Y=k/V;Y<=0&&(v=m),Y>=1&&(v={x:z.x,y:z.y}),Y>0&&Y<1&&(v={x:(1-Y)*m.x+Y*z.x,y:(1-Y)*m.y+Y*z.y})}}m=z});const A=s?10:5,O=Math.atan2(o[0].y-v.y,o[0].x-v.x),j={x:0,y:0};return j.x=Math.sin(O)*A+(o[0].x+v.x)/2,j.y=-Math.cos(O)*A+(o[0].y+v.y)/2,j};function Mjt(s,o,f){let m=JSON.parse(JSON.stringify(f)),y;ne.info("our points",m),o!=="start_left"&&o!=="start_right"&&(m=m.reverse()),m.forEach(V=>{y=V});let v=25+s,A;y=void 0,m.forEach(V=>{if(y&&!A){const Y=MZ(V,y);if(Y<v)v-=Y;else{const G=v/Y;G<=0&&(A=y),G>=1&&(A={x:V.x,y:V.y}),G>0&&G<1&&(A={x:(1-G)*y.x+G*V.x,y:(1-G)*y.y+G*V.y})}}y=V});const O=10+s*.5,j=Math.atan2(m[0].y-A.y,m[0].x-A.x),z={x:0,y:0};return z.x=Math.sin(j)*O+(m[0].x+A.x)/2,z.y=-Math.cos(j)*O+(m[0].y+A.y)/2,o==="start_left"&&(z.x=Math.sin(j+Math.PI)*O+(m[0].x+A.x)/2,z.y=-Math.cos(j+Math.PI)*O+(m[0].y+A.y)/2),o==="end_right"&&(z.x=Math.sin(j-Math.PI)*O+(m[0].x+A.x)/2-5,z.y=-Math.cos(j-Math.PI)*O+(m[0].y+A.y)/2-5),o==="end_left"&&(z.x=Math.sin(j)*O+(m[0].x+A.x)/2-5,z.y=-Math.cos(j)*O+(m[0].y+A.y)/2-5),z}function T3(s){let o="",f="";for(const m of s)m!==void 0&&(m.startsWith("color:")||m.startsWith("text-align:")?f=f+m+";":o=o+m+";");return{style:o,labelStyle:f}}let j$e=0;const $$e=()=>(j$e++,"id-"+Math.random().toString(36).substr(2,12)+"-"+j$e);function Ljt(s){let o="";const f="0123456789abcdef",m=f.length;for(let y=0;y<s;y++)o+=f.charAt(Math.floor(Math.random()*m));return o}const H$e=s=>Ljt(s.length),Ijt=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},Ojt=function(s,o){const f=o.text.replace(Oo.lineBreakRegex," "),[,m]=ij(o.fontSize),y=s.append("text");y.attr("x",o.x),y.attr("y",o.y),y.style("text-anchor",o.anchor),y.style("font-family",o.fontFamily),y.style("font-size",m),y.style("font-weight",o.fontWeight),y.attr("fill",o.fill),o.class!==void 0&&y.attr("class",o.class);const k=y.append("tspan");return k.attr("x",o.x+o.textMargin*2),k.attr("fill",o.fill),k.text(f),y},z$e=CO((s,o,f)=>{if(!s||(f=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},f),Oo.lineBreakRegex.test(s)))return s;const m=s.split(" "),y=[];let k="";return m.forEach((v,A)=>{const O=V5(`${v} `,f),j=V5(k,f);if(O>o){const{hyphenatedStrings:Y,remainingWord:G}=Djt(v,o,"-",f);y.push(k,...Y),k=G}else j+O>=o?(y.push(k),k=v):k=[k,v].filter(Boolean).join(" ");A+1===m.length&&y.push(k)}),y.filter(v=>v!=="").join(f.joinWith)},(s,o,f)=>`${s}${o}${f.fontSize}${f.fontWeight}${f.fontFamily}${f.joinWith}`),Djt=CO((s,o,f="-",m)=>{m=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},m);const y=[...s],k=[];let v="";return y.forEach((A,O)=>{const j=`${v}${A}`;if(V5(j,m)>=o){const V=O+1,Y=y.length===V,G=`${j}${f}`;k.push(Y?j:G),v=""}else v=j}),{hyphenatedStrings:k,remainingWord:v}},(s,o,f="-",m)=>`${s}${o}${f}${m.fontSize}${m.fontWeight}${m.fontFamily}`);function mbe(s,o){return o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},o),vbe(s,o).height}function V5(s,o){return o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},o),vbe(s,o).width}const vbe=CO((s,o)=>{o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},o);const{fontSize:f,fontFamily:m,fontWeight:y}=o;if(!s)return{width:0,height:0};const[,k]=ij(f),v=["sans-serif",m],A=s.split(Oo.lineBreakRegex),O=[],j=Or("body");if(!j.remove)return{width:0,height:0,lineHeight:0};const z=j.append("svg");for(const Y of v){let G=0;const J={width:0,height:0,lineHeight:0};for(const ce of A){const me=Ijt();me.text=ce;const _e=Ojt(z,me).style("font-size",k).style("font-weight",y).style("font-family",Y),we=(_e._groups||_e)[0][0].getBBox();J.width=Math.round(Math.max(J.width,we.width)),G=Math.round(we.height),J.height+=G,J.lineHeight=Math.round(Math.max(J.lineHeight,G))}O.push(J)}z.remove();const V=isNaN(O[1].height)||isNaN(O[1].width)||isNaN(O[1].lineHeight)||O[0].height>O[1].height&&O[0].width>O[1].width&&O[0].lineHeight>O[1].lineHeight?0:1;return O[V]},(s,o)=>`${s}${o.fontSize}${o.fontWeight}${o.fontFamily}`),Pjt=class{constructor(o,f){this.deterministic=o,this.seed=f,this.count=f?f.length:0}next(){return this.deterministic?this.count++:Date.now()}};let LZ;const Njt=function(s){return LZ=LZ||document.createElement("div"),s=escape(s).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),LZ.innerHTML=s,unescape(LZ.textContent)},TS=s=>{if(ne.debug("directiveSanitizer called with",s),typeof s=="object"&&(s.length?s.forEach(o=>TS(o)):Object.keys(s).forEach(o=>{ne.debug("Checking key",o),o.startsWith("__")&&(ne.debug("sanitize deleting __ option",o),delete s[o]),o.includes("proto")&&(ne.debug("sanitize deleting proto option",o),delete s[o]),o.includes("constr")&&(ne.debug("sanitize deleting constr option",o),delete s[o]),o.includes("themeCSS")&&(ne.debug("sanitizing themeCss option"),s[o]=IZ(s[o])),o.includes("fontFamily")&&(ne.debug("sanitizing fontFamily option"),s[o]=IZ(s[o])),o.includes("altFontFamily")&&(ne.debug("sanitizing altFontFamily option"),s[o]=IZ(s[o])),kRt.includes(o)?typeof s[o]=="object"&&(ne.debug("sanitize deleting object",o),TS(s[o])):(ne.debug("sanitize deleting option",o),delete s[o])})),s.themeVariables){const o=Object.keys(s.themeVariables);for(const f of o){const m=s.themeVariables[f];m&&m.match&&!m.match(/^[\d "#%(),.;A-Za-z]+$/)&&(s.themeVariables[f]="")}}ne.debug("After sanitization",s)},IZ=s=>{let o=0,f=0;for(const m of s){if(o<f)return"{ /* ERROR: Unbalanced CSS */ }";m==="{"?o++:m==="}"&&f++}return o!==f?"{ /* ERROR: Unbalanced CSS */ }":s};function bbe(s){return"str"in s}function Rjt(s){return s instanceof Error?s.message:String(s)}const Bjt=(s,o,f,m)=>{if(!m)return;const y=s.node().getBBox();s.append("text").text(m).attr("x",y.x+y.width/2).attr("y",-f).attr("class",o)},ij=s=>{if(typeof s=="number")return[s,s+"px"];const o=parseInt(s,10);return Number.isNaN(o)?[void 0,void 0]:s===String(o)?[o,s+"px"]:[o,s]},Go={assignWithDepth:eg,wrapLabel:z$e,calculateTextHeight:mbe,calculateTextWidth:V5,calculateTextDimensions:vbe,detectInit:xjt,detectDirective:F$e,isSubstringInArray:kjt,interpolateToCurve:lv,calcLabelPosition:Cjt,calcCardinalityPosition:Ajt,calcTerminalLabelPosition:Mjt,formatUrl:Ejt,getStylesFromArray:T3,generateId:$$e,random:H$e,runFunc:Tjt,entityDecode:Njt,initIdGenerator:Pjt,directiveSanitizer:TS,sanitizeCss:IZ,insertTitle:Bjt,parseFontSize:ij};var V$e="comm",q$e="rule",U$e="decl",Fjt="@import",jjt="@keyframes",$jt=Math.abs,wbe=String.fromCharCode;function G$e(s){return s.trim()}function ybe(s,o,f){return s.replace(o,f)}function Hjt(s,o){return s.indexOf(o)}function OZ(s,o){return s.charCodeAt(o)|0}function sj(s,o,f){return s.slice(o,f)}function o7(s){return s.length}function W$e(s){return s.length}function DZ(s,o){return o.push(s),s}var PZ=1,AO=1,K$e=0,vw=0,L1=0,MO="";function _be(s,o,f,m,y,k,v){return{value:s,root:o,parent:f,type:m,props:y,children:k,line:PZ,column:AO,length:v,return:""}}function zjt(){return L1}function Vjt(){return L1=vw>0?OZ(MO,--vw):0,AO--,L1===10&&(AO=1,PZ--),L1}function S3(){return L1=vw<K$e?OZ(MO,vw++):0,AO++,L1===10&&(AO=1,PZ++),L1}function SS(){return OZ(MO,vw)}function NZ(){return vw}function RZ(s,o){return sj(MO,s,o)}function xbe(s){switch(s){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qjt(s){return PZ=AO=1,K$e=o7(MO=s),vw=0,[]}function Ujt(s){return MO="",s}function kbe(s){return G$e(RZ(vw-1,Ebe(s===91?s+2:s===40?s+1:s)))}function Gjt(s){for(;(L1=SS())&&L1<33;)S3();return xbe(s)>2||xbe(L1)>3?"":" "}function Wjt(s,o){for(;--o&&S3()&&!(L1<48||L1>102||L1>57&&L1<65||L1>70&&L1<97););return RZ(s,NZ()+(o<6&&SS()==32&&S3()==32))}function Ebe(s){for(;S3();)switch(L1){case s:return vw;case 34:case 39:s!==34&&s!==39&&Ebe(L1);break;case 40:s===41&&Ebe(s);break;case 92:S3();break}return vw}function Kjt(s,o){for(;S3()&&s+L1!==47+10;)if(s+L1===42+42&&SS()===47)break;return"/*"+RZ(o,vw-1)+"*"+wbe(s===47?s:S3())}function Yjt(s){for(;!xbe(SS());)S3();return RZ(s,vw)}function Xjt(s){return Ujt(BZ("",null,null,null,[""],s=qjt(s),0,[0],s))}function BZ(s,o,f,m,y,k,v,A,O){for(var j=0,z=0,V=v,Y=0,G=0,J=0,ce=1,me=1,_e=1,we=0,Se="",Oe=y,De=k,Ve=m,ke=Se;me;)switch(J=we,we=S3()){case 40:if(J!=108&&OZ(ke,V-1)==58){Hjt(ke+=ybe(kbe(we),"&","&\f"),"&\f")!=-1&&(_e=-1);break}case 34:case 39:case 91:ke+=kbe(we);break;case 9:case 10:case 13:case 32:ke+=Gjt(J);break;case 92:ke+=Wjt(NZ()-1,7);continue;case 47:switch(SS()){case 42:case 47:DZ(Qjt(Kjt(S3(),NZ()),o,f),O);break;default:ke+="/"}break;case 123*ce:A[j++]=o7(ke)*_e;case 125*ce:case 59:case 0:switch(we){case 0:case 125:me=0;case 59+z:G>0&&o7(ke)-V&&DZ(G>32?X$e(ke+";",m,f,V-1):X$e(ybe(ke," ","")+";",m,f,V-2),O);break;case 59:ke+=";";default:if(DZ(Ve=Y$e(ke,o,f,j,z,y,A,Se,Oe=[],De=[],V),k),we===123)if(z===0)BZ(ke,o,Ve,Ve,Oe,k,V,A,De);else switch(Y){case 100:case 109:case 115:BZ(s,Ve,Ve,m&&DZ(Y$e(s,Ve,Ve,0,0,y,A,Se,y,Oe=[],V),De),y,De,V,A,m?Oe:De);break;default:BZ(ke,Ve,Ve,Ve,[""],De,0,A,De)}}j=z=G=0,ce=_e=1,Se=ke="",V=v;break;case 58:V=1+o7(ke),G=J;default:if(ce<1){if(we==123)--ce;else if(we==125&&ce++==0&&Vjt()==125)continue}switch(ke+=wbe(we),we*ce){case 38:_e=z>0?1:(ke+="\f",-1);break;case 44:A[j++]=(o7(ke)-1)*_e,_e=1;break;case 64:SS()===45&&(ke+=kbe(S3())),Y=SS(),z=V=o7(Se=ke+=Yjt(NZ())),we++;break;case 45:J===45&&o7(ke)==2&&(ce=0)}}return k}function Y$e(s,o,f,m,y,k,v,A,O,j,z){for(var V=y-1,Y=y===0?k:[""],G=W$e(Y),J=0,ce=0,me=0;J<m;++J)for(var _e=0,we=sj(s,V+1,V=$jt(ce=v[J])),Se=s;_e<G;++_e)(Se=G$e(ce>0?Y[_e]+" "+we:ybe(we,/&\f/g,Y[_e])))&&(O[me++]=Se);return _be(s,o,f,y===0?q$e:A,O,j,z)}function Qjt(s,o,f){return _be(s,o,f,V$e,wbe(zjt()),sj(s,2,-2),0)}function X$e(s,o,f,m){return _be(s,o,f,U$e,sj(s,0,m),sj(s,m+1,-1),m)}function Tbe(s,o){for(var f="",m=W$e(s),y=0;y<m;y++)f+=o(s[y],y,s,o)||"";return f}function Zjt(s,o,f,m){switch(s.type){case Fjt:case U$e:return s.return=s.return||s.value;case V$e:return"";case jjt:return s.return=s.value+"{"+Tbe(s.children,m)+"}";case q$e:s.value=s.props.join(",")}return o7(f=Tbe(s.children,m))?s.return=s.value+"{"+f+"}":""}const FZ="9.4.3",LO=Object.freeze(ERt);let uv=eg({},LO),Q$e,IO=[],aj=eg({},LO);const jZ=(s,o)=>{let f=eg({},s),m={};for(const y of o)eHe(y),m=eg(m,y);if(f=eg(f,m),m.theme&&m.theme in ax){const y=eg({},Q$e),k=eg(y.themeVariables||{},m.themeVariables);f.theme&&f.theme in ax&&(f.themeVariables=ax[f.theme].getThemeVariables(k))}return aj=f,rHe(aj),aj},Jjt=s=>(uv=eg({},LO),uv=eg(uv,s),s.theme&&ax[s.theme]&&(uv.themeVariables=ax[s.theme].getThemeVariables(s.themeVariables)),jZ(uv,IO),uv),e$t=s=>{Q$e=eg({},s)},t$t=s=>(uv=eg(uv,s),jZ(uv,IO),uv),Z$e=()=>eg({},uv),J$e=s=>(rHe(s),eg(aj,s),Qt()),Qt=()=>eg({},aj),eHe=s=>{["secure",...uv.secure??[]].forEach(o=>{s[o]!==void 0&&(ne.debug(`Denied attempt to modify a secure key ${o}`,s[o]),delete s[o])}),Object.keys(s).forEach(o=>{o.indexOf("__")===0&&delete s[o]}),Object.keys(s).forEach(o=>{typeof s[o]=="string"&&(s[o].includes("<")||s[o].includes(">")||s[o].includes("url(data:"))&&delete s[o],typeof s[o]=="object"&&eHe(s[o])})},Sbe=s=>{s.fontFamily&&(s.themeVariables?s.themeVariables.fontFamily||(s.themeVariables={fontFamily:s.fontFamily}):s.themeVariables={fontFamily:s.fontFamily}),IO.push(s),jZ(uv,IO)},oj=(s=uv)=>{IO=[],jZ(s,IO)};var tHe=(s=>(s.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",s))(tHe||{});const nHe={},n$t=s=>{nHe[s]||(ne.warn(tHe[s]),nHe[s]=!0)},rHe=s=>{s&&(s.lazyLoadedDiagrams||s.loadExternalDiagramsAtStartup)&&n$t("LAZY_LOAD_DEPRECATED")},r$t=function(s,o){for(let f of o)s.attr(f[0],f[1])},i$t=function(s,o,f){let m=new Map;return f?(m.set("width","100%"),m.set("style",`max-width: ${o}px;`)):(m.set("height",s),m.set("width",o)),m},C3=function(s,o,f,m){const y=i$t(o,f,m);r$t(s,y)},CS=function(s,o,f,m){const y=o.node().getBBox(),k=y.width,v=y.height;ne.info(`SVG bounds: ${k}x${v}`,y);let A=0,O=0;ne.info(`Graph bounds: ${A}x${O}`,s),A=k+f*2,O=v+f*2,ne.info(`Calculated bounds: ${A}x${O}`),C3(o,O,A,m);const j=`${y.x-f} ${y.y-f} ${y.width+2*f} ${y.height+2*f}`;o.attr("viewBox",j)},cj=s=>`g.classGroup text {
fill: ${s.nodeBorder};
fill: ${s.classText};
stroke: none;
font-family: ${s.fontFamily};
font-size: 10px;
.title {
font-weight: bolder;
}
}
.nodeLabel, .edgeLabel {
color: ${s.classText};
}
.edgeLabel .label rect {
fill: ${s.mainBkg};
}
.label text {
fill: ${s.classText};
}
.edgeLabel .label span {
background: ${s.mainBkg};
}
.classTitle {
font-weight: bolder;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.divider {
stroke: ${s.nodeBorder};
stroke: 1;
}
g.clickable {
cursor: pointer;
}
g.classGroup rect {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
}
g.classGroup line {
stroke: ${s.nodeBorder};
stroke-width: 1;
}
.classLabel .box {
stroke: none;
stroke-width: 0;
fill: ${s.mainBkg};
opacity: 0.5;
}
.classLabel .label {
fill: ${s.nodeBorder};
font-size: 10px;
}
.relation {
stroke: ${s.lineColor};
stroke-width: 1;
fill: none;
}
.dashed-line{
stroke-dasharray: 3;
}
.dotted-line{
stroke-dasharray: 1 2;
}
#compositionStart, .composition {
fill: ${s.lineColor} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#compositionEnd, .composition {
fill: ${s.lineColor} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${s.lineColor} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${s.lineColor} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#extensionStart, .extension {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#extensionEnd, .extension {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#aggregationStart, .aggregation {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#aggregationEnd, .aggregation {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#lollipopStart, .lollipop {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
#lollipopEnd, .lollipop {
fill: ${s.mainBkg} !important;
stroke: ${s.lineColor} !important;
stroke-width: 1;
}
.edgeTerminals {
font-size: 11px;
}
.classTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,iHe=s=>`
.entityBox {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
}
.attributeBoxOdd {
fill: ${s.attributeBackgroundColorOdd};
stroke: ${s.nodeBorder};
}
.attributeBoxEven {
fill: ${s.attributeBackgroundColorEven};
stroke: ${s.nodeBorder};
}
.relationshipLabelBox {
fill: ${s.tertiaryColor};
opacity: 0.7;
background-color: ${s.tertiaryColor};
rect {
opacity: 0.5;
}
}
.relationshipLine {
stroke: ${s.lineColor};
}
.entityTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,Cbe=()=>"",$Z=s=>`.label {
font-family: ${s.fontFamily};
color: ${s.nodeTextColor||s.textColor};
}
.cluster-label text {
fill: ${s.titleColor};
}
.cluster-label span {
color: ${s.titleColor};
}
.label text,span {
fill: ${s.nodeTextColor||s.textColor};
color: ${s.nodeTextColor||s.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
background-color: ${s.edgeLabelBackground};
fill: ${s.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${s.clusterBkg};
stroke: ${s.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${s.titleColor};
}
.cluster span {
color: ${s.titleColor};
}
/* .cluster div {
color: ${s.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${s.fontFamily};
font-size: 12px;
background: ${s.tertiaryColor};
border: 1px solid ${s.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,sHe=s=>`
.mermaid-main-font {
font-family: "trebuchet ms", verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.exclude-range {
fill: ${s.excludeBkgColor};
}
.section {
stroke: none;
opacity: 0.2;
}
.section0 {
fill: ${s.sectionBkgColor};
}
.section2 {
fill: ${s.sectionBkgColor2};
}
.section1,
.section3 {
fill: ${s.altSectionBkgColor};
opacity: 0.2;
}
.sectionTitle0 {
fill: ${s.titleColor};
}
.sectionTitle1 {
fill: ${s.titleColor};
}
.sectionTitle2 {
fill: ${s.titleColor};
}
.sectionTitle3 {
fill: ${s.titleColor};
}
.sectionTitle {
text-anchor: start;
// font-size: ${s.ganttFontSize};
// text-height: 14px;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
/* Grid and axis */
.grid .tick {
stroke: ${s.gridColor};
opacity: 0.8;
shape-rendering: crispEdges;
text {
font-family: ${s.fontFamily};
fill: ${s.textColor};
}
}
.grid path {
stroke-width: 0;
}
/* Today line */
.today {
fill: none;
stroke: ${s.todayLineColor};
stroke-width: 2px;
}
/* Task styling */
/* Default task */
.task {
stroke-width: 2;
}
.taskText {
text-anchor: middle;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
// .taskText:not([font-size]) {
// font-size: ${s.ganttFontSize};
// }
.taskTextOutsideRight {
fill: ${s.taskTextDarkColor};
text-anchor: start;
// font-size: ${s.ganttFontSize};
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
.taskTextOutsideLeft {
fill: ${s.taskTextDarkColor};
text-anchor: end;
// font-size: ${s.ganttFontSize};
}
/* Special case clickable */
.task.clickable {
cursor: pointer;
}
.taskText.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideLeft.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideRight.clickable {
cursor: pointer;
fill: ${s.taskTextClickableColor} !important;
font-weight: bold;
}
/* Specific task settings for the sections*/
.taskText0,
.taskText1,
.taskText2,
.taskText3 {
fill: ${s.taskTextColor};
}
.task0,
.task1,
.task2,
.task3 {
fill: ${s.taskBkgColor};
stroke: ${s.taskBorderColor};
}
.taskTextOutside0,
.taskTextOutside2
{
fill: ${s.taskTextOutsideColor};
}
.taskTextOutside1,
.taskTextOutside3 {
fill: ${s.taskTextOutsideColor};
}
/* Active task */
.active0,
.active1,
.active2,
.active3 {
fill: ${s.activeTaskBkgColor};
stroke: ${s.activeTaskBorderColor};
}
.activeText0,
.activeText1,
.activeText2,
.activeText3 {
fill: ${s.taskTextDarkColor} !important;
}
/* Completed task */
.done0,
.done1,
.done2,
.done3 {
stroke: ${s.doneTaskBorderColor};
fill: ${s.doneTaskBkgColor};
stroke-width: 2;
}
.doneText0,
.doneText1,
.doneText2,
.doneText3 {
fill: ${s.taskTextDarkColor} !important;
}
/* Tasks on the critical line */
.crit0,
.crit1,
.crit2,
.crit3 {
stroke: ${s.critBorderColor};
fill: ${s.critBkgColor};
stroke-width: 2;
}
.activeCrit0,
.activeCrit1,
.activeCrit2,
.activeCrit3 {
stroke: ${s.critBorderColor};
fill: ${s.activeTaskBkgColor};
stroke-width: 2;
}
.doneCrit0,
.doneCrit1,
.doneCrit2,
.doneCrit3 {
stroke: ${s.critBorderColor};
fill: ${s.doneTaskBkgColor};
stroke-width: 2;
cursor: pointer;
shape-rendering: crispEdges;
}
.milestone {
transform: rotate(45deg) scale(0.8,0.8);
}
.milestoneText {
font-style: italic;
}
.doneCritText0,
.doneCritText1,
.doneCritText2,
.doneCritText3 {
fill: ${s.taskTextDarkColor} !important;
}
.activeCritText0,
.activeCritText1,
.activeCritText2,
.activeCritText3 {
fill: ${s.taskTextDarkColor} !important;
}
.titleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor} ;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
`,aHe=()=>"",oHe=s=>`
.pieCircle{
stroke: ${s.pieStrokeColor};
stroke-width : ${s.pieStrokeWidth};
opacity : ${s.pieOpacity};
}
.pieTitleText {
text-anchor: middle;
font-size: ${s.pieTitleTextSize};
fill: ${s.pieTitleTextColor};
font-family: ${s.fontFamily};
}
.slice {
font-family: ${s.fontFamily};
fill: ${s.pieSectionTextColor};
font-size:${s.pieSectionTextSize};
// fill: white;
}
.legend text {
fill: ${s.pieLegendTextColor};
font-family: ${s.fontFamily};
font-size: ${s.pieLegendTextSize};
}
`,cHe=s=>`
marker {
fill: ${s.relationColor};
stroke: ${s.relationColor};
}
marker.cross {
stroke: ${s.lineColor};
}
svg {
font-family: ${s.fontFamily};
font-size: ${s.fontSize};
}
.reqBox {
fill: ${s.requirementBackground};
fill-opacity: 100%;
stroke: ${s.requirementBorderColor};
stroke-width: ${s.requirementBorderSize};
}
.reqTitle, .reqLabel{
fill: ${s.requirementTextColor};
}
.reqLabelBox {
fill: ${s.relationLabelBackground};
fill-opacity: 100%;
}
.req-title-line {
stroke: ${s.requirementBorderColor};
stroke-width: ${s.requirementBorderSize};
}
.relationshipLine {
stroke: ${s.relationColor};
stroke-width: 1;
}
.relationshipLabel {
fill: ${s.relationLabelColor};
}
`,lHe=s=>`.actor {
stroke: ${s.actorBorder};
fill: ${s.actorBkg};
}
text.actor > tspan {
fill: ${s.actorTextColor};
stroke: none;
}
.actor-line {
stroke: ${s.actorLineColor};
}
.messageLine0 {
stroke-width: 1.5;
stroke-dasharray: none;
stroke: ${s.signalColor};
}
.messageLine1 {
stroke-width: 1.5;
stroke-dasharray: 2, 2;
stroke: ${s.signalColor};
}
#arrowhead path {
fill: ${s.signalColor};
stroke: ${s.signalColor};
}
.sequenceNumber {
fill: ${s.sequenceNumberColor};
}
#sequencenumber {
fill: ${s.signalColor};
}
#crosshead path {
fill: ${s.signalColor};
stroke: ${s.signalColor};
}
.messageText {
fill: ${s.signalTextColor};
stroke: none;
}
.labelBox {
stroke: ${s.labelBoxBorderColor};
fill: ${s.labelBoxBkgColor};
}
.labelText, .labelText > tspan {
fill: ${s.labelTextColor};
stroke: none;
}
.loopText, .loopText > tspan {
fill: ${s.loopTextColor};
stroke: none;
}
.loopLine {
stroke-width: 2px;
stroke-dasharray: 2, 2;
stroke: ${s.labelBoxBorderColor};
fill: ${s.labelBoxBorderColor};
}
.note {
//stroke: #decc93;
stroke: ${s.noteBorderColor};
fill: ${s.noteBkgColor};
}
.noteText, .noteText > tspan {
fill: ${s.noteTextColor};
stroke: none;
}
.activation0 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.activation1 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.activation2 {
fill: ${s.activationBkgColor};
stroke: ${s.activationBorderColor};
}
.actorPopupMenu {
position: absolute;
}
.actorPopupMenuPanel {
position: absolute;
fill: ${s.actorBkg};
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}
.actor-man line {
stroke: ${s.actorBorder};
fill: ${s.actorBkg};
}
.actor-man circle, line {
stroke: ${s.actorBorder};
fill: ${s.actorBkg};
stroke-width: 2px;
}
`,HZ=s=>`
defs #statediagram-barbEnd {
fill: ${s.transitionColor};
stroke: ${s.transitionColor};
}
g.stateGroup text {
fill: ${s.nodeBorder};
stroke: none;
font-size: 10px;
}
g.stateGroup text {
fill: ${s.textColor};
stroke: none;
font-size: 10px;
}
g.stateGroup .state-title {
font-weight: bolder;
fill: ${s.stateLabelColor};
}
g.stateGroup rect {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
}
g.stateGroup line {
stroke: ${s.lineColor};
stroke-width: 1;
}
.transition {
stroke: ${s.transitionColor};
stroke-width: 1;
fill: none;
}
.stateGroup .composit {
fill: ${s.background};
border-bottom: 1px
}
.stateGroup .alt-composit {
fill: #e0e0e0;
border-bottom: 1px
}
.state-note {
stroke: ${s.noteBorderColor};
fill: ${s.noteBkgColor};
text {
fill: ${s.noteTextColor};
stroke: none;
font-size: 10px;
}
}
.stateLabel .box {
stroke: none;
stroke-width: 0;
fill: ${s.mainBkg};
opacity: 0.5;
}
.edgeLabel .label rect {
fill: ${s.labelBackgroundColor};
opacity: 0.5;
}
.edgeLabel .label text {
fill: ${s.transitionLabelColor||s.tertiaryTextColor};
}
.label div .edgeLabel {
color: ${s.transitionLabelColor||s.tertiaryTextColor};
}
.stateLabel text {
fill: ${s.stateLabelColor};
font-size: 10px;
font-weight: bold;
}
.node circle.state-start {
fill: ${s.specialStateColor};
stroke: ${s.specialStateColor};
}
.node .fork-join {
fill: ${s.specialStateColor};
stroke: ${s.specialStateColor};
}
.node circle.state-end {
fill: ${s.innerEndBackground};
stroke: ${s.background};
stroke-width: 1.5
}
.end-state-inner {
fill: ${s.compositeBackground||s.background};
// stroke: ${s.background};
stroke-width: 1.5
}
.node rect {
fill: ${s.stateBkg||s.mainBkg};
stroke: ${s.stateBorder||s.nodeBorder};
stroke-width: 1px;
}
.node polygon {
fill: ${s.mainBkg};
stroke: ${s.stateBorder||s.nodeBorder};;
stroke-width: 1px;
}
#statediagram-barbEnd {
fill: ${s.lineColor};
}
.statediagram-cluster rect {
fill: ${s.compositeTitleBackground};
stroke: ${s.stateBorder||s.nodeBorder};
stroke-width: 1px;
}
.cluster-label, .nodeLabel {
color: ${s.stateLabelColor};
}
.statediagram-cluster rect.outer {
rx: 5px;
ry: 5px;
}
.statediagram-state .divider {
stroke: ${s.stateBorder||s.nodeBorder};
}
.statediagram-state .title-state {
rx: 5px;
ry: 5px;
}
.statediagram-cluster.statediagram-cluster .inner {
fill: ${s.compositeBackground||s.background};
}
.statediagram-cluster.statediagram-cluster-alt .inner {
fill: ${s.altBackground?s.altBackground:"#efefef"};
}
.statediagram-cluster .inner {
rx:0;
ry:0;
}
.statediagram-state rect.basic {
rx: 5px;
ry: 5px;
}
.statediagram-state rect.divider {
stroke-dasharray: 10,10;
fill: ${s.altBackground?s.altBackground:"#efefef"};
}
.note-edge {
stroke-dasharray: 5;
}
.statediagram-note rect {
fill: ${s.noteBkgColor};
stroke: ${s.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note rect {
fill: ${s.noteBkgColor};
stroke: ${s.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note text {
fill: ${s.noteTextColor};
}
.statediagram-note .nodeLabel {
color: ${s.noteTextColor};
}
.statediagram .edgeLabel {
color: red; // ${s.noteTextColor};
}
#dependencyStart, #dependencyEnd {
fill: ${s.lineColor};
stroke: ${s.lineColor};
stroke-width: 1;
}
.statediagramTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
`,uHe=s=>`.label {
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
color: ${s.textColor};
}
.mouth {
stroke: #666;
}
line {
stroke: ${s.textColor}
}
.legend {
fill: ${s.textColor};
}
.label text {
fill: #333;
}
.label {
color: ${s.textColor}
}
.face {
${s.faceColor?`fill: ${s.faceColor}`:"fill: #FFF8DC"};
stroke: #999;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 1.5px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
}
text-align: center;
}
.cluster rect {
}
.cluster text {
fill: ${s.titleColor};
}
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
font-size: 12px;
background: ${s.tertiaryColor};
border: 1px solid ${s.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.task-type-0, .section-type-0 {
${s.fillType0?`fill: ${s.fillType0}`:""};
}
.task-type-1, .section-type-1 {
${s.fillType0?`fill: ${s.fillType1}`:""};
}
.task-type-2, .section-type-2 {
${s.fillType0?`fill: ${s.fillType2}`:""};
}
.task-type-3, .section-type-3 {
${s.fillType0?`fill: ${s.fillType3}`:""};
}
.task-type-4, .section-type-4 {
${s.fillType0?`fill: ${s.fillType4}`:""};
}
.task-type-5, .section-type-5 {
${s.fillType0?`fill: ${s.fillType5}`:""};
}
.task-type-6, .section-type-6 {
${s.fillType0?`fill: ${s.fillType6}`:""};
}
.task-type-7, .section-type-7 {
${s.fillType0?`fill: ${s.fillType7}`:""};
}
.actor-0 {
${s.actor0?`fill: ${s.actor0}`:""};
}
.actor-1 {
${s.actor1?`fill: ${s.actor1}`:""};
}
.actor-2 {
${s.actor2?`fill: ${s.actor2}`:""};
}
.actor-3 {
${s.actor3?`fill: ${s.actor3}`:""};
}
.actor-4 {
${s.actor4?`fill: ${s.actor4}`:""};
}
.actor-5 {
${s.actor5?`fill: ${s.actor5}`:""};
}
`,hHe=s=>`.person {
stroke: ${s.personBorder};
fill: ${s.personBkg};
}
`,zZ={flowchart:$Z,"flowchart-v2":$Z,sequence:lHe,gantt:sHe,classDiagram:cj,"classDiagram-v2":cj,class:cj,stateDiagram:HZ,state:HZ,info:aHe,pie:oHe,er:iHe,error:Cbe,journey:uHe,requirement:cHe,c4:hHe},s$t=(s,o,f)=>{let m="";return s in zZ&&zZ[s]?m=zZ[s](f):ne.warn(`No theme found for ${s}`),` & {
font-family: ${f.fontFamily};
font-size: ${f.fontSize};
fill: ${f.textColor}
}
/* Classes common for multiple diagrams */
& .error-icon {
fill: ${f.errorBkgColor};
}
& .error-text {
fill: ${f.errorTextColor};
stroke: ${f.errorTextColor};
}
& .edge-thickness-normal {
stroke-width: 2px;
}
& .edge-thickness-thick {
stroke-width: 3.5px
}
& .edge-pattern-solid {
stroke-dasharray: 0;
}
& .edge-pattern-dashed{
stroke-dasharray: 3;
}
.edge-pattern-dotted {
stroke-dasharray: 2;
}
& .marker {
fill: ${f.lineColor};
stroke: ${f.lineColor};
}
& .marker.cross {
stroke: ${f.lineColor};
}
& svg {
font-family: ${f.fontFamily};
font-size: ${f.fontSize};
}
${m}
${o}
`},a$t=(s,o)=>{zZ[s]=o},o$t=s$t;let Abe="",VZ="",Mbe="";const Lbe=s=>zb(s,Qt()),hv=function(){Abe="",Mbe="",VZ=""},fv=function(s){Abe=Lbe(s).replace(/^\s+/g,"")},qb=function(){return Abe||VZ},Ub=function(s){Mbe=Lbe(s).replace(/\n\s+/g,`
`)},Gb=function(){return Mbe},A3=function(s){VZ=Lbe(s)},M3=function(){return VZ},fHe=Object.freeze(Object.defineProperty({__proto__:null,clear:hv,default:{setAccTitle:fv,getAccTitle:qb,setDiagramTitle:A3,getDiagramTitle:M3,getAccDescription:Gb,setAccDescription:Ub,clear:hv},getAccDescription:Gb,getAccTitle:qb,getDiagramTitle:M3,setAccDescription:Ub,setAccTitle:fv,setDiagramTitle:A3},Symbol.toStringTag,{value:"Module"}));let AS={};const Ibe=function(s,o,f,m){ne.debug("parseDirective is being called",o,f,m);try{if(o!==void 0)switch(o=o.trim(),f){case"open_directive":AS={};break;case"type_directive":if(!AS)throw new Error("currentDirective is undefined");AS.type=o.toLowerCase();break;case"arg_directive":if(!AS)throw new Error("currentDirective is undefined");AS.args=JSON.parse(o);break;case"close_directive":c$t(s,AS,m),AS=void 0;break}}catch(y){ne.error(`Error while rendering sequenceDiagram directive: ${o} jison context: ${f}`),ne.error(y.message)}},c$t=function(s,o,f){switch(ne.info(`Directive type=${o.type} with args:`,o.args),o.type){case"init":case"initialize":{["config"].forEach(m=>{o.args[m]!==void 0&&(f==="flowchart-v2"&&(f="flowchart"),o.args[f]=o.args[m],delete o.args[m])}),ne.info("sanitize in handleDirective",o.args),TS(o.args),ne.info("sanitize in handleDirective (done)",o.args),Sbe(o.args);break}case"wrap":case"nowrap":s&&s.setWrap&&s.setWrap(o.type==="wrap");break;case"themeCss":ne.warn("themeCss encountered");break;default:ne.warn(`Unhandled directive: source: '%%{${o.type}: ${JSON.stringify(o.args?o.args:{})}}%%`,o);break}},l$t=ne,u$t=Be,lj=Qt,h$t=s=>zb(s,lj()),dHe=CS,f$t=()=>fHe,d$t=(s,o,f,m)=>Ibe(s,o,f,m),qZ={},s0=(s,o,f)=>{if(qZ[s])throw new Error(`Diagram ${s} already registered.`);qZ[s]=o,f&&D$e(s,f),a$t(s,o.styles),o.injectUtils&&o.injectUtils(l$t,u$t,lj,h$t,dHe,f$t(),d$t)},gHe=s=>{if(s in qZ)return qZ[s];throw new Error(`Diagram ${s} not found.`)};var Obe=function(){var s=function(Ie,ge,Me,Ne){for(Me=Me||{},Ne=Ie.length;Ne--;Me[Ie[Ne]]=ge);return Me},o=[1,4],f=[1,7],m=[1,5],y=[1,9],k=[1,6],v=[2,6],A=[1,16],O=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],j=[8,14,20,22,24,25,27,29,32,37,40],z=[8,13,14,20,22,24,25,27,29,32,37,40],V=[1,26],Y=[6,8,14,50,55],G=[8,14,55],J=[1,53],ce=[1,52],me=[8,14,30,33,35,38,55],_e=[1,67],we=[1,68],Se=[1,69],Oe=[8,14,33,35,42,55],De={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,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$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",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},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],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[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],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(ge,Me,Ne,xe,qe,ae,Qe){var Ce=ae.length-1;switch(qe){case 3:return ae[Ce];case 4:return ae[Ce-1];case 5:return xe.setDirection(ae[Ce-3]),ae[Ce-1];case 7:xe.setOptions(ae[Ce-1]),this.$=ae[Ce];break;case 8:ae[Ce-1]+=ae[Ce],this.$=ae[Ce-1];break;case 10:this.$=[];break;case 11:ae[Ce-1].push(ae[Ce]),this.$=ae[Ce-1];break;case 12:this.$=ae[Ce-1];break;case 17:this.$=ae[Ce].trim(),xe.setAccTitle(this.$);break;case 18:case 19:this.$=ae[Ce].trim(),xe.setAccDescription(this.$);break;case 20:xe.addSection(ae[Ce].substr(8)),this.$=ae[Ce].substr(8);break;case 22:xe.checkout(ae[Ce]);break;case 23:xe.branch(ae[Ce]);break;case 24:xe.branch(ae[Ce-2],ae[Ce]);break;case 25:xe.cherryPick(ae[Ce],"",void 0);break;case 26:xe.cherryPick(ae[Ce-2],"",ae[Ce]);break;case 27:case 29:xe.cherryPick(ae[Ce-2],"","");break;case 28:xe.cherryPick(ae[Ce],"",ae[Ce-2]);break;case 30:xe.merge(ae[Ce],"","","");break;case 31:xe.merge(ae[Ce-2],ae[Ce],"","");break;case 32:xe.merge(ae[Ce-2],"",ae[Ce],"");break;case 33:xe.merge(ae[Ce-2],"","",ae[Ce]);break;case 34:xe.merge(ae[Ce-4],ae[Ce],"",ae[Ce-2]);break;case 35:xe.merge(ae[Ce-4],"",ae[Ce],ae[Ce-2]);break;case 36:xe.merge(ae[Ce-4],"",ae[Ce-2],ae[Ce]);break;case 37:xe.merge(ae[Ce-4],ae[Ce-2],ae[Ce],"");break;case 38:xe.merge(ae[Ce-4],ae[Ce-2],"",ae[Ce]);break;case 39:xe.merge(ae[Ce-4],ae[Ce],ae[Ce-2],"");break;case 40:xe.merge(ae[Ce-6],ae[Ce-4],ae[Ce-2],ae[Ce]);break;case 41:xe.merge(ae[Ce-6],ae[Ce],ae[Ce-4],ae[Ce-2]);break;case 42:xe.merge(ae[Ce-6],ae[Ce-4],ae[Ce],ae[Ce-2]);break;case 43:xe.merge(ae[Ce-6],ae[Ce-2],ae[Ce-4],ae[Ce]);break;case 44:xe.merge(ae[Ce-6],ae[Ce],ae[Ce-2],ae[Ce-4]);break;case 45:xe.merge(ae[Ce-6],ae[Ce-2],ae[Ce],ae[Ce-4]);break;case 46:xe.commit(ae[Ce]);break;case 47:xe.commit("","",xe.commitType.NORMAL,ae[Ce]);break;case 48:xe.commit("","",ae[Ce],"");break;case 49:xe.commit("","",ae[Ce],ae[Ce-2]);break;case 50:xe.commit("","",ae[Ce-2],ae[Ce]);break;case 51:xe.commit("",ae[Ce],xe.commitType.NORMAL,"");break;case 52:xe.commit("",ae[Ce-2],xe.commitType.NORMAL,ae[Ce]);break;case 53:xe.commit("",ae[Ce],xe.commitType.NORMAL,ae[Ce-2]);break;case 54:xe.commit("",ae[Ce-2],ae[Ce],"");break;case 55:xe.commit("",ae[Ce],ae[Ce-2],"");break;case 56:xe.commit("",ae[Ce-4],ae[Ce-2],ae[Ce]);break;case 57:xe.commit("",ae[Ce-4],ae[Ce],ae[Ce-2]);break;case 58:xe.commit("",ae[Ce-2],ae[Ce-4],ae[Ce]);break;case 59:xe.commit("",ae[Ce],ae[Ce-4],ae[Ce-2]);break;case 60:xe.commit("",ae[Ce],ae[Ce-2],ae[Ce-4]);break;case 61:xe.commit("",ae[Ce-2],ae[Ce],ae[Ce-4]);break;case 62:xe.commit(ae[Ce],"",xe.commitType.NORMAL,"");break;case 63:xe.commit(ae[Ce],"",xe.commitType.NORMAL,ae[Ce-2]);break;case 64:xe.commit(ae[Ce-2],"",xe.commitType.NORMAL,ae[Ce]);break;case 65:xe.commit(ae[Ce-2],"",ae[Ce],"");break;case 66:xe.commit(ae[Ce],"",ae[Ce-2],"");break;case 67:xe.commit(ae[Ce],ae[Ce-2],xe.commitType.NORMAL,"");break;case 68:xe.commit(ae[Ce-2],ae[Ce],xe.commitType.NORMAL,"");break;case 69:xe.commit(ae[Ce-4],"",ae[Ce-2],ae[Ce]);break;case 70:xe.commit(ae[Ce-4],"",ae[Ce],ae[Ce-2]);break;case 71:xe.commit(ae[Ce-2],"",ae[Ce-4],ae[Ce]);break;case 72:xe.commit(ae[Ce],"",ae[Ce-4],ae[Ce-2]);break;case 73:xe.commit(ae[Ce],"",ae[Ce-2],ae[Ce-4]);break;case 74:xe.commit(ae[Ce-2],"",ae[Ce],ae[Ce-4]);break;case 75:xe.commit(ae[Ce-4],ae[Ce],ae[Ce-2],"");break;case 76:xe.commit(ae[Ce-4],ae[Ce-2],ae[Ce],"");break;case 77:xe.commit(ae[Ce-2],ae[Ce],ae[Ce-4],"");break;case 78:xe.commit(ae[Ce],ae[Ce-2],ae[Ce-4],"");break;case 79:xe.commit(ae[Ce],ae[Ce-4],ae[Ce-2],"");break;case 80:xe.commit(ae[Ce-2],ae[Ce-4],ae[Ce],"");break;case 81:xe.commit(ae[Ce-4],ae[Ce],xe.commitType.NORMAL,ae[Ce-2]);break;case 82:xe.commit(ae[Ce-4],ae[Ce-2],xe.commitType.NORMAL,ae[Ce]);break;case 83:xe.commit(ae[Ce-2],ae[Ce],xe.commitType.NORMAL,ae[Ce-4]);break;case 84:xe.commit(ae[Ce],ae[Ce-2],xe.commitType.NORMAL,ae[Ce-4]);break;case 85:xe.commit(ae[Ce],ae[Ce-4],xe.commitType.NORMAL,ae[Ce-2]);break;case 86:xe.commit(ae[Ce-2],ae[Ce-4],xe.commitType.NORMAL,ae[Ce]);break;case 87:xe.commit(ae[Ce-6],ae[Ce-4],ae[Ce-2],ae[Ce]);break;case 88:xe.commit(ae[Ce-6],ae[Ce-4],ae[Ce],ae[Ce-2]);break;case 89:xe.commit(ae[Ce-6],ae[Ce-2],ae[Ce-4],ae[Ce]);break;case 90:xe.commit(ae[Ce-6],ae[Ce],ae[Ce-4],ae[Ce-2]);break;case 91:xe.commit(ae[Ce-6],ae[Ce-2],ae[Ce],ae[Ce-4]);break;case 92:xe.commit(ae[Ce-6],ae[Ce],ae[Ce-2],ae[Ce-4]);break;case 93:xe.commit(ae[Ce-4],ae[Ce-6],ae[Ce-2],ae[Ce]);break;case 94:xe.commit(ae[Ce-4],ae[Ce-6],ae[Ce],ae[Ce-2]);break;case 95:xe.commit(ae[Ce-2],ae[Ce-6],ae[Ce-4],ae[Ce]);break;case 96:xe.commit(ae[Ce],ae[Ce-6],ae[Ce-4],ae[Ce-2]);break;case 97:xe.commit(ae[Ce-2],ae[Ce-6],ae[Ce],ae[Ce-4]);break;case 98:xe.commit(ae[Ce],ae[Ce-6],ae[Ce-2],ae[Ce-4]);break;case 99:xe.commit(ae[Ce],ae[Ce-4],ae[Ce-2],ae[Ce-6]);break;case 100:xe.commit(ae[Ce-2],ae[Ce-4],ae[Ce],ae[Ce-6]);break;case 101:xe.commit(ae[Ce],ae[Ce-2],ae[Ce-4],ae[Ce-6]);break;case 102:xe.commit(ae[Ce-2],ae[Ce],ae[Ce-4],ae[Ce-6]);break;case 103:xe.commit(ae[Ce-4],ae[Ce-2],ae[Ce],ae[Ce-6]);break;case 104:xe.commit(ae[Ce-4],ae[Ce],ae[Ce-2],ae[Ce-6]);break;case 105:xe.commit(ae[Ce-2],ae[Ce-4],ae[Ce-6],ae[Ce]);break;case 106:xe.commit(ae[Ce],ae[Ce-4],ae[Ce-6],ae[Ce-2]);break;case 107:xe.commit(ae[Ce-2],ae[Ce],ae[Ce-6],ae[Ce-4]);break;case 108:xe.commit(ae[Ce],ae[Ce-2],ae[Ce-6],ae[Ce-4]);break;case 109:xe.commit(ae[Ce-4],ae[Ce-2],ae[Ce-6],ae[Ce]);break;case 110:xe.commit(ae[Ce-4],ae[Ce],ae[Ce-6],ae[Ce-2]);break;case 111:this.$="";break;case 112:this.$=ae[Ce];break;case 113:this.$=xe.commitType.NORMAL;break;case 114:this.$=xe.commitType.REVERSE;break;case 115:this.$=xe.commitType.HIGHLIGHT;break;case 118:xe.parseDirective("%%{","open_directive");break;case 119:xe.parseDirective(ae[Ce],"type_directive");break;case 120:ae[Ce]=ae[Ce].trim().replace(/'/g,'"'),xe.parseDirective(ae[Ce],"arg_directive");break;case 121:xe.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:o,8:f,14:m,46:8,50:y,55:k},{1:[3]},{3:10,4:2,5:3,6:o,8:f,14:m,46:8,50:y,55:k},{3:11,4:2,5:3,6:o,8:f,14:m,46:8,50:y,55:k},{7:12,8:v,9:[1,13],10:[1,14],11:15,14:A},s(O,[2,124]),s(O,[2,125]),s(O,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:v,11:15,14:A},{9:[1,21]},s(j,[2,10],{12:22,13:[1,23]}),s(z,[2,9]),{9:[1,25],48:24,53:V},s([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:v,11:15,14:A},{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],37:[1,42],40:[1,41]},s(z,[2,8]),s(Y,[2,116]),{49:45,52:[1,46]},s(Y,[2,121]),{1:[2,4]},{8:[1,47]},s(j,[2,11]),{4:48,8:f,14:m,55:k},s(j,[2,13]),s(G,[2,14]),s(G,[2,15]),s(G,[2,16]),{21:[1,49]},{23:[1,50]},s(G,[2,19]),s(G,[2,20]),s(G,[2,21]),{28:51,34:J,54:ce},s(G,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:J,54:ce},{33:[1,61],35:[1,62]},{28:63,34:J,54:ce},{48:64,53:V},{53:[2,120]},{1:[2,5]},s(j,[2,12]),s(G,[2,17]),s(G,[2,18]),s(G,[2,22]),s(me,[2,122]),s(me,[2,123]),s(G,[2,46]),{34:[1,65]},{39:66,43:_e,44:we,45:Se},{34:[1,70]},{34:[1,71]},s(G,[2,112]),s(G,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},s(G,[2,23],{30:[1,78]}),s(Y,[2,117]),s(G,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),s(G,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),s(Oe,[2,113]),s(Oe,[2,114]),s(Oe,[2,115]),s(G,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),s(G,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:_e,44:we,45:Se},{34:[1,93]},s(G,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:_e,44:we,45:Se},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:_e,44:we,45:Se},{34:[1,106]},{34:[1,107]},{39:108,43:_e,44:we,45:Se},{34:[1,109]},s(G,[2,31],{35:[1,111],38:[1,110]}),s(G,[2,32],{33:[1,113],35:[1,112]}),s(G,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},s(G,[2,24]),s(G,[2,49],{33:[1,120],42:[1,121]}),s(G,[2,53],{38:[1,122],42:[1,123]}),s(G,[2,63],{33:[1,125],38:[1,124]}),s(G,[2,50],{33:[1,126],42:[1,127]}),s(G,[2,55],{35:[1,128],42:[1,129]}),s(G,[2,66],{33:[1,131],35:[1,130]}),s(G,[2,52],{38:[1,132],42:[1,133]}),s(G,[2,54],{35:[1,134],42:[1,135]}),s(G,[2,67],{35:[1,137],38:[1,136]}),s(G,[2,64],{33:[1,139],38:[1,138]}),s(G,[2,65],{33:[1,141],35:[1,140]}),s(G,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:_e,44:we,45:Se},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:_e,44:we,45:Se},s(G,[2,26]),s(G,[2,27]),s(G,[2,28]),s(G,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:_e,44:we,45:Se},{34:[1,153]},{39:154,43:_e,44:we,45:Se},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:_e,44:we,45:Se},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:_e,44:we,45:Se},{34:[1,167]},{39:168,43:_e,44:we,45:Se},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:_e,44:we,45:Se},{34:[1,173]},s(G,[2,37],{35:[1,174]}),s(G,[2,38],{38:[1,175]}),s(G,[2,36],{33:[1,176]}),s(G,[2,39],{35:[1,177]}),s(G,[2,34],{38:[1,178]}),s(G,[2,35],{33:[1,179]}),s(G,[2,60],{42:[1,180]}),s(G,[2,73],{33:[1,181]}),s(G,[2,61],{42:[1,182]}),s(G,[2,84],{38:[1,183]}),s(G,[2,74],{33:[1,184]}),s(G,[2,83],{38:[1,185]}),s(G,[2,59],{42:[1,186]}),s(G,[2,72],{33:[1,187]}),s(G,[2,58],{42:[1,188]}),s(G,[2,78],{35:[1,189]}),s(G,[2,71],{33:[1,190]}),s(G,[2,77],{35:[1,191]}),s(G,[2,57],{42:[1,192]}),s(G,[2,85],{38:[1,193]}),s(G,[2,56],{42:[1,194]}),s(G,[2,79],{35:[1,195]}),s(G,[2,80],{35:[1,196]}),s(G,[2,86],{38:[1,197]}),s(G,[2,70],{33:[1,198]}),s(G,[2,81],{38:[1,199]}),s(G,[2,69],{33:[1,200]}),s(G,[2,75],{35:[1,201]}),s(G,[2,76],{35:[1,202]}),s(G,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:_e,44:we,45:Se},{34:[1,206]},{34:[1,207]},{39:208,43:_e,44:we,45:Se},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:_e,44:we,45:Se},{34:[1,214]},{39:215,43:_e,44:we,45:Se},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:_e,44:we,45:Se},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:_e,44:we,45:Se},{34:[1,228]},{39:229,43:_e,44:we,45:Se},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:_e,44:we,45:Se},s(G,[2,40]),s(G,[2,42]),s(G,[2,41]),s(G,[2,43]),s(G,[2,45]),s(G,[2,44]),s(G,[2,101]),s(G,[2,102]),s(G,[2,99]),s(G,[2,100]),s(G,[2,104]),s(G,[2,103]),s(G,[2,108]),s(G,[2,107]),s(G,[2,106]),s(G,[2,105]),s(G,[2,110]),s(G,[2,109]),s(G,[2,98]),s(G,[2,97]),s(G,[2,96]),s(G,[2,95]),s(G,[2,93]),s(G,[2,94]),s(G,[2,92]),s(G,[2,91]),s(G,[2,90]),s(G,[2,89]),s(G,[2,87]),s(G,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(ge,Me){if(Me.recoverable)this.trace(ge);else{var Ne=new Error(ge);throw Ne.hash=Me,Ne}},parse:function(ge){var Me=this,Ne=[0],xe=[],qe=[null],ae=[],Qe=this.table,Ce="",nt=0,Ee=0,kt=2,Ot=1,Vt=ae.slice.call(arguments,1),Rt=Object.create(this.lexer),Gt={yy:{}};for(var _n in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_n)&&(Gt.yy[_n]=this.yy[_n]);Rt.setInput(ge,Gt.yy),Gt.yy.lexer=Rt,Gt.yy.parser=this,typeof Rt.yylloc>"u"&&(Rt.yylloc={});var On=Rt.yylloc;ae.push(On);var Dt=Rt.options&&Rt.options.ranges;typeof Gt.yy.parseError=="function"?this.parseError=Gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ai(){var ws;return ws=xe.pop()||Rt.lex()||Ot,typeof ws!="number"&&(ws instanceof Array&&(xe=ws,ws=xe.pop()),ws=Me.symbols_[ws]||ws),ws}for(var Ft,$t,Pt,qt,et={},ht,Ut,it,Zn;;){if($t=Ne[Ne.length-1],this.defaultActions[$t]?Pt=this.defaultActions[$t]:((Ft===null||typeof Ft>"u")&&(Ft=ai()),Pt=Qe[$t]&&Qe[$t][Ft]),typeof Pt>"u"||!Pt.length||!Pt[0]){var Ge="";Zn=[];for(ht in Qe[$t])this.terminals_[ht]&&ht>kt&&Zn.push("'"+this.terminals_[ht]+"'");Rt.showPosition?Ge="Parse error on line "+(nt+1)+`:
`+Rt.showPosition()+`
Expecting `+Zn.join(", ")+", got '"+(this.terminals_[Ft]||Ft)+"'":Ge="Parse error on line "+(nt+1)+": Unexpected "+(Ft==Ot?"end of input":"'"+(this.terminals_[Ft]||Ft)+"'"),this.parseError(Ge,{text:Rt.match,token:this.terminals_[Ft]||Ft,line:Rt.yylineno,loc:On,expected:Zn})}if(Pt[0]instanceof Array&&Pt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$t+", token: "+Ft);switch(Pt[0]){case 1:Ne.push(Ft),qe.push(Rt.yytext),ae.push(Rt.yylloc),Ne.push(Pt[1]),Ft=null,Ee=Rt.yyleng,Ce=Rt.yytext,nt=Rt.yylineno,On=Rt.yylloc;break;case 2:if(Ut=this.productions_[Pt[1]][1],et.$=qe[qe.length-Ut],et._$={first_line:ae[ae.length-(Ut||1)].first_line,last_line:ae[ae.length-1].last_line,first_column:ae[ae.length-(Ut||1)].first_column,last_column:ae[ae.length-1].last_column},Dt&&(et._$.range=[ae[ae.length-(Ut||1)].range[0],ae[ae.length-1].range[1]]),qt=this.performAction.apply(et,[Ce,Ee,nt,Gt.yy,Pt[1],qe,ae].concat(Vt)),typeof qt<"u")return qt;Ut&&(Ne=Ne.slice(0,-1*Ut*2),qe=qe.slice(0,-1*Ut),ae=ae.slice(0,-1*Ut)),Ne.push(this.productions_[Pt[1]][0]),qe.push(et.$),ae.push(et._$),it=Qe[Ne[Ne.length-2]][Ne[Ne.length-1]],Ne.push(it);break;case 3:return!0}}return!0}},Ve=function(){var Ie={EOF:1,parseError:function(Me,Ne){if(this.yy.parser)this.yy.parser.parseError(Me,Ne);else throw new Error(Me)},setInput:function(ge,Me){return this.yy=Me||this.yy||{},this._input=ge,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 ge=this._input[0];this.yytext+=ge,this.yyleng++,this.offset++,this.match+=ge,this.matched+=ge;var Me=ge.match(/(?:\r\n?|\n).*/g);return Me?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ge},unput:function(ge){var Me=ge.length,Ne=ge.split(/(?:\r\n?|\n)/g);this._input=ge+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Me),this.offset-=Me;var xe=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),Ne.length-1&&(this.yylineno-=Ne.length-1);var qe=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:Ne?(Ne.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-Ne.length].length-Ne[0].length:this.yylloc.first_column-Me},this.options.ranges&&(this.yylloc.range=[qe[0],qe[0]+this.yyleng-Me]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(ge){this.unput(this.match.slice(ge))},pastInput:function(){var ge=this.matched.substr(0,this.matched.length-this.match.length);return(ge.length>20?"...":"")+ge.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ge=this.match;return ge.length<20&&(ge+=this._input.substr(0,20-ge.length)),(ge.substr(0,20)+(ge.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ge=this.pastInput(),Me=new Array(ge.length+1).join("-");return ge+this.upcomingInput()+`
`+Me+"^"},test_match:function(ge,Me){var Ne,xe,qe;if(this.options.backtrack_lexer&&(qe={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&&(qe.yylloc.range=this.yylloc.range.slice(0))),xe=ge[0].match(/(?:\r\n?|\n).*/g),xe&&(this.yylineno+=xe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xe?xe[xe.length-1].length-xe[xe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ge[0].length},this.yytext+=ge[0],this.match+=ge[0],this.matches=ge,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(ge[0].length),this.matched+=ge[0],Ne=this.performAction.call(this,this.yy,this,Me,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ne)return Ne;if(this._backtrack){for(var ae in qe)this[ae]=qe[ae];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ge,Me,Ne,xe;this._more||(this.yytext="",this.match="");for(var qe=this._currentRules(),ae=0;ae<qe.length;ae++)if(Ne=this._input.match(this.rules[qe[ae]]),Ne&&(!Me||Ne[0].length>Me[0].length)){if(Me=Ne,xe=ae,this.options.backtrack_lexer){if(ge=this.test_match(Ne,qe[ae]),ge!==!1)return ge;if(this._backtrack){Me=!1;continue}else return!1}else if(!this.options.flex)break}return Me?(ge=this.test_match(Me,qe[xe]),ge!==!1?ge:!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(){var Me=this.next();return Me||this.lex()},begin:function(Me){this.conditionStack.push(Me)},popState:function(){var Me=this.conditionStack.length-1;return Me>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(Me){return Me=this.conditionStack.length-1-Math.abs(Me||0),Me>=0?this.conditionStack[Me]:"INITIAL"},pushState:function(Me){this.begin(Me)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Me,Ne,xe,qe){switch(xe){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;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:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:break;case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:return 10;case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 34:this.popState();break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 38:this.popState();break;case 39:return 34;case 40:return 31;case 41:return 54;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,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/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,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/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:[34,35],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,36,37,40,41,42,43],inclusive:!0}}};return Ie}();De.lexer=Ve;function ke(){this.yy={}}return ke.prototype=De,De.Parser=ke,new ke}();Obe.parser=Obe;const g$t=Obe,p$t=s=>s.match(/^\s*gitGraph/)!==null;let UZ=Qt().gitGraph.mainBranchName,m$t=Qt().gitGraph.mainBranchOrder,a0={},hm=null,uj={};uj[UZ]={name:UZ,order:m$t};let I1={};I1[UZ]=hm;let tg=UZ,pHe="LR",MS=0;function Dbe(){return H$e({length:7})}const v$t=function(s,o,f){Sf.parseDirective(this,s,o,f)};function b$t(s,o){const f=Object.create(null);return s.reduce((m,y)=>{const k=o(y);return f[k]||(f[k]=!0,m.push(y)),m},[])}const w$t=function(s){pHe=s};let mHe={};const y$t=function(s){ne.debug("options str",s),s=s&&s.trim(),s=s||"{}";try{mHe=JSON.parse(s)}catch(o){ne.error("error while parsing gitGraph options",o.message)}},_$t=function(){return mHe},x$t=function(s,o,f,m){ne.debug("Entering commit:",s,o,f,m),o=Oo.sanitizeText(o,Qt()),s=Oo.sanitizeText(s,Qt()),m=Oo.sanitizeText(m,Qt());const y={id:o||MS+"-"+Dbe(),message:s,seq:MS++,type:f||hj.NORMAL,tag:m||"",parents:hm==null?[]:[hm.id],branch:tg};hm=y,a0[y.id]=y,I1[tg]=y.id,ne.debug("in pushCommit "+y.id)},k$t=function(s,o){if(s=Oo.sanitizeText(s,Qt()),I1[s]===void 0)I1[s]=hm!=null?hm.id:null,uj[s]={name:s,order:o?parseInt(o,10):null},vHe(s),ne.debug("in createBranch");else{let f=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+s+'")');throw f.hash={text:"branch "+s,token:"branch "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+s+'"']},f}},E$t=function(s,o,f,m){s=Oo.sanitizeText(s,Qt()),o=Oo.sanitizeText(o,Qt());const y=a0[I1[tg]],k=a0[I1[s]];if(tg===s){let A=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw A.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},A}else if(y===void 0||!y){let A=new Error('Incorrect usage of "merge". Current branch ('+tg+")has no commits");throw A.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},A}else if(I1[s]===void 0){let A=new Error('Incorrect usage of "merge". Branch to be merged ('+s+") does not exist");throw A.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+s]},A}else if(k===void 0||!k){let A=new Error('Incorrect usage of "merge". Branch to be merged ('+s+") has no commits");throw A.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},A}else if(y===k){let A=new Error('Incorrect usage of "merge". Both branches have same head');throw A.hash={text:"merge "+s,token:"merge "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},A}else if(o&&a0[o]!==void 0){let A=new Error('Incorrect usage of "merge". Commit with id:'+o+" already exists, use different custom Id");throw A.hash={text:"merge "+s+o+f+m,token:"merge "+s+o+f+m,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+s+" "+o+"_UNIQUE "+f+" "+m]},A}const v={id:o||MS+"-"+Dbe(),message:"merged branch "+s+" into "+tg,seq:MS++,parents:[hm==null?null:hm.id,I1[s]],branch:tg,type:hj.MERGE,customType:f,customId:!!o,tag:m||""};hm=v,a0[v.id]=v,I1[tg]=v.id,ne.debug(I1),ne.debug("in mergeBranch")},T$t=function(s,o,f){if(ne.debug("Entering cherryPick:",s,o,f),s=Oo.sanitizeText(s,Qt()),o=Oo.sanitizeText(o,Qt()),f=Oo.sanitizeText(f,Qt()),!s||a0[s]===void 0){let k=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw k.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},k}let m=a0[s],y=m.branch;if(m.type===hj.MERGE){let k=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw k.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},k}if(!o||a0[o]===void 0){if(y===tg){let A=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw A.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},A}const k=a0[I1[tg]];if(k===void 0||!k){let A=new Error('Incorrect usage of "cherry-pick". Current branch ('+tg+")has no commits");throw A.hash={text:"cherryPick "+s+" "+o,token:"cherryPick "+s+" "+o,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},A}const v={id:MS+"-"+Dbe(),message:"cherry-picked "+m+" into "+tg,seq:MS++,parents:[hm==null?null:hm.id,m.id],branch:tg,type:hj.CHERRY_PICK,tag:f??"cherry-pick:"+m.id};hm=v,a0[v.id]=v,I1[tg]=v.id,ne.debug(I1),ne.debug("in cherryPick")}},vHe=function(s){if(s=Oo.sanitizeText(s,Qt()),I1[s]===void 0){let o=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+s+'")');throw o.hash={text:"checkout "+s,token:"checkout "+s,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+s+'"']},o}else{tg=s;const o=I1[tg];hm=a0[o]}};function bHe(s,o,f){const m=s.indexOf(o);m===-1?s.push(f):s.splice(m,1,f)}function wHe(s){const o=s.reduce((y,k)=>y.seq>k.seq?y:k,s[0]);let f="";s.forEach(function(y){y===o?f+=" *":f+=" |"});const m=[f,o.id,o.seq];for(let y in I1)I1[y]===o.id&&m.push(y);if(ne.debug(m.join(" ")),o.parents&&o.parents.length==2){const y=a0[o.parents[0]];bHe(s,o,y),s.push(a0[o.parents[1]])}else{if(o.parents.length==0)return;{const y=a0[o.parents];bHe(s,o,y)}}s=b$t(s,y=>y.id),wHe(s)}const S$t=function(){ne.debug(a0);const s=yHe()[0];wHe([s])},C$t=function(){a0={},hm=null;let s=Qt().gitGraph.mainBranchName,o=Qt().gitGraph.mainBranchOrder;I1={},I1[s]=null,uj={},uj[s]={name:s,order:o},tg=s,MS=0,hv()},A$t=function(){return Object.values(uj).map((o,f)=>o.order!==null?o:{...o,order:parseFloat(`0.${f}`,10)}).sort((o,f)=>o.order-f.order).map(({name:o})=>({name:o}))},M$t=function(){return I1},L$t=function(){return a0},yHe=function(){const s=Object.keys(a0).map(function(o){return a0[o]});return s.forEach(function(o){ne.debug(o.id)}),s.sort((o,f)=>o.seq-f.seq),s},I$t=function(){return tg},O$t=function(){return pHe},D$t=function(){return hm},hj={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},P$t={parseDirective:v$t,getConfig:()=>Qt().gitGraph,setDirection:w$t,setOptions:y$t,getOptions:_$t,commit:x$t,branch:k$t,merge:E$t,cherryPick:T$t,checkout:vHe,prettyPrint:S$t,clear:C$t,getBranchesAsObjArray:A$t,getBranches:M$t,getCommits:L$t,getCommitsArray:yHe,getCurrentBranch:I$t,getDirection:O$t,getHead:D$t,setAccTitle:fv,getAccTitle:qb,getAccDescription:Gb,setAccDescription:Ub,setDiagramTitle:A3,getDiagramTitle:M3,commitType:hj};let fj={};const Wb={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},LS=8;let dv={},GZ={},WZ=[],KZ=0;const N$t=()=>{dv={},GZ={},fj={},KZ=0,WZ=[]},R$t=s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","text");let f=[];typeof s=="string"?f=s.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(s)?f=s:f=[];for(const m of f){const y=document.createElementNS("http://www.w3.org/2000/svg","tspan");y.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),y.setAttribute("dy","1em"),y.setAttribute("x","0"),y.setAttribute("class","row"),y.textContent=m.trim(),o.appendChild(y)}return o},_He=(s,o,f)=>{const m=lj().gitGraph,y=s.append("g").attr("class","commit-bullets"),k=s.append("g").attr("class","commit-labels");let v=0;Object.keys(o).sort((j,z)=>o[j].seq-o[z].seq).forEach(j=>{const z=o[j],V=dv[z.branch].pos,Y=v+10;if(f){let G,J=z.customType!==void 0&&z.customType!==""?z.customType:z.type;switch(J){case Wb.NORMAL:G="commit-normal";break;case Wb.REVERSE:G="commit-reverse";break;case Wb.HIGHLIGHT:G="commit-highlight";break;case Wb.MERGE:G="commit-merge";break;case Wb.CHERRY_PICK:G="commit-cherry-pick";break;default:G="commit-normal"}if(J===Wb.HIGHLIGHT){const ce=y.append("rect");ce.attr("x",Y-10),ce.attr("y",V-10),ce.attr("height",20),ce.attr("width",20),ce.attr("class",`commit ${z.id} commit-highlight${dv[z.branch].index%LS} ${G}-outer`),y.append("rect").attr("x",Y-6).attr("y",V-6).attr("height",12).attr("width",12).attr("class",`commit ${z.id} commit${dv[z.branch].index%LS} ${G}-inner`)}else if(J===Wb.CHERRY_PICK)y.append("circle").attr("cx",Y).attr("cy",V).attr("r",10).attr("class",`commit ${z.id} ${G}`),y.append("circle").attr("cx",Y-3).attr("cy",V+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${z.id} ${G}`),y.append("circle").attr("cx",Y+3).attr("cy",V+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${z.id} ${G}`),y.append("line").attr("x1",Y+3).attr("y1",V+1).attr("x2",Y).attr("y2",V-5).attr("stroke","#fff").attr("class",`commit ${z.id} ${G}`),y.append("line").attr("x1",Y-3).attr("y1",V+1).attr("x2",Y).attr("y2",V-5).attr("stroke","#fff").attr("class",`commit ${z.id} ${G}`);else{const ce=y.append("circle");if(ce.attr("cx",Y),ce.attr("cy",V),ce.attr("r",z.type===Wb.MERGE?9:10),ce.attr("class",`commit ${z.id} commit${dv[z.branch].index%LS}`),J===Wb.MERGE){const me=y.append("circle");me.attr("cx",Y),me.attr("cy",V),me.attr("r",6),me.attr("class",`commit ${G} ${z.id} commit${dv[z.branch].index%LS}`)}J===Wb.REVERSE&&y.append("path").attr("d",`M ${Y-5},${V-5}L${Y+5},${V+5}M${Y-5},${V+5}L${Y+5},${V-5}`).attr("class",`commit ${G} ${z.id} commit${dv[z.branch].index%LS}`)}}if(GZ[z.id]={x:v+10,y:V},f){if(z.type!==Wb.CHERRY_PICK&&(z.customId&&z.type===Wb.MERGE||z.type!==Wb.MERGE)&&m.showCommitLabel){const ce=k.append("g"),me=ce.insert("rect").attr("class","commit-label-bkg"),_e=ce.append("text").attr("x",v).attr("y",V+25).attr("class","commit-label").text(z.id);let we=_e.node().getBBox();if(me.attr("x",v+10-we.width/2-2).attr("y",V+13.5).attr("width",we.width+2*2).attr("height",we.height+2*2),_e.attr("x",v+10-we.width/2),m.rotateCommitLabel){let Se=-7.5-(we.width+10)/25*9.5,Oe=10+we.width/25*8.5;ce.attr("transform","translate("+Se+", "+Oe+") rotate("+-45+", "+v+", "+V+")")}}if(z.tag){const ce=k.insert("polygon"),me=k.append("circle"),_e=k.append("text").attr("y",V-16).attr("class","tag-label").text(z.tag);let we=_e.node().getBBox();_e.attr("x",v+10-we.width/2);const Se=we.height/2,Oe=V-19.2;ce.attr("class","tag-label-bkg").attr("points",`
${v-we.width/2-4/2},${Oe+2}
${v-we.width/2-4/2},${Oe-2}
${v+10-we.width/2-4},${Oe-Se-2}
${v+10+we.width/2+4},${Oe-Se-2}
${v+10+we.width/2+4},${Oe+Se+2}
${v+10-we.width/2-4},${Oe+Se+2}`),me.attr("cx",v-we.width/2+4/2).attr("cy",Oe).attr("r",1.5).attr("class","tag-hole")}}v+=50,v>KZ&&(KZ=v)})},B$t=(s,o,f)=>Object.keys(f).filter(k=>f[k].branch===o.branch&&f[k].seq>s.seq&&f[k].seq<o.seq).length>0,Pbe=(s,o,f=0)=>{const m=s+Math.abs(s-o)/2;if(f>5)return m;if(WZ.every(v=>Math.abs(v-m)>=10))return WZ.push(m),m;const k=Math.abs(s-o);return Pbe(s,o-k/5,f+1)},F$t=(s,o,f,m)=>{const y=GZ[o.id],k=GZ[f.id],v=B$t(o,f,m);let A="",O="",j=0,z=0,V=dv[f.branch].index,Y;if(v){A="A 10 10, 0, 0, 0,",O="A 10 10, 0, 0, 1,",j=10,z=10,V=dv[f.branch].index;const G=y.y<k.y?Pbe(y.y,k.y):Pbe(k.y,y.y);y.y<k.y?Y=`M ${y.x} ${y.y} L ${y.x} ${G-j} ${A} ${y.x+z} ${G} L ${k.x-j} ${G} ${O} ${k.x} ${G+z} L ${k.x} ${k.y}`:Y=`M ${y.x} ${y.y} L ${y.x} ${G+j} ${O} ${y.x+z} ${G} L ${k.x-j} ${G} ${A} ${k.x} ${G-z} L ${k.x} ${k.y}`}else y.y<k.y&&(A="A 20 20, 0, 0, 0,",j=20,z=20,V=dv[f.branch].index,Y=`M ${y.x} ${y.y} L ${y.x} ${k.y-j} ${A} ${y.x+z} ${k.y} L ${k.x} ${k.y}`),y.y>k.y&&(A="A 20 20, 0, 0, 0,",j=20,z=20,V=dv[o.branch].index,Y=`M ${y.x} ${y.y} L ${k.x-j} ${y.y} ${A} ${k.x} ${y.y-z} L ${k.x} ${k.y}`),y.y===k.y&&(V=dv[o.branch].index,Y=`M ${y.x} ${y.y} L ${y.x} ${k.y-j} ${A} ${y.x+z} ${k.y} L ${k.x} ${k.y}`);s.append("path").attr("d",Y).attr("class","arrow arrow"+V%LS)},j$t=(s,o)=>{const f=s.append("g").attr("class","commit-arrows");Object.keys(o).forEach(m=>{const y=o[m];y.parents&&y.parents.length>0&&y.parents.forEach(k=>{F$t(f,o[k],y,o)})})},$$t=(s,o)=>{const f=lj().gitGraph,m=s.append("g");o.forEach((y,k)=>{const v=k%LS,A=dv[y.name].pos,O=m.append("line");O.attr("x1",0),O.attr("y1",A),O.attr("x2",KZ),O.attr("y2",A),O.attr("class","branch branch"+v),WZ.push(A);let j=y.name;const z=R$t(j),V=m.insert("rect"),G=m.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+v);G.node().appendChild(z);let J=z.getBBox();V.attr("class","branchLabelBkg label"+v).attr("rx",4).attr("ry",4).attr("x",-J.width-4-(f.rotateCommitLabel===!0?30:0)).attr("y",-J.height/2+8).attr("width",J.width+18).attr("height",J.height+4),G.attr("transform","translate("+(-J.width-14-(f.rotateCommitLabel===!0?30:0))+", "+(A-J.height/2-1)+")"),V.attr("transform","translate("+-19+", "+(A-J.height/2)+")")})},H$t={draw:function(s,o,f,m){N$t();const y=lj(),k=y.gitGraph;ne.debug("in gitgraph renderer",s+`
`,"id:",o,f),fj=m.db.getCommits();const v=m.db.getBranchesAsObjArray();let A=0;v.forEach((j,z)=>{dv[j.name]={pos:A,index:z},A+=50+(k.rotateCommitLabel?40:0)});const O=Or(`[id="${o}"]`);_He(O,fj,!1),k.showBranches&&$$t(O,v),j$t(O,fj),_He(O,fj,!0),Go.insertTitle(O,"gitTitleText",k.titleTopMargin,m.db.getDiagramTitle()),dHe(void 0,O,k.diagramPadding,k.useMaxWidth??y.useMaxWidth)}},z$t=s=>`
.commit-id,
.commit-msg,
.branch-label {
fill: lightgrey;
color: lightgrey;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
${[0,1,2,3,4,5,6,7].map(o=>`
.branch-label${o} { fill: ${s["gitBranchLabel"+o]}; }
.commit${o} { stroke: ${s["git"+o]}; fill: ${s["git"+o]}; }
.commit-highlight${o} { stroke: ${s["gitInv"+o]}; fill: ${s["gitInv"+o]}; }
.label${o} { fill: ${s["git"+o]}; }
.arrow${o} { stroke: ${s["git"+o]}; }
`).join(`
`)}
.branch {
stroke-width: 1;
stroke: ${s.lineColor};
stroke-dasharray: 2;
}
.commit-label { font-size: ${s.commitLabelFontSize}; fill: ${s.commitLabelColor};}
.commit-label-bkg { font-size: ${s.commitLabelFontSize}; fill: ${s.commitLabelBackground}; opacity: 0.5; }
.tag-label { font-size: ${s.tagLabelFontSize}; fill: ${s.tagLabelColor};}
.tag-label-bkg { fill: ${s.tagLabelBackground}; stroke: ${s.tagLabelBorder}; }
.tag-hole { fill: ${s.textColor}; }
.commit-merge {
stroke: ${s.primaryColor};
fill: ${s.primaryColor};
}
.commit-reverse {
stroke: ${s.primaryColor};
fill: ${s.primaryColor};
stroke-width: 3;
}
.commit-highlight-outer {
}
.commit-highlight-inner {
stroke: ${s.primaryColor};
fill: ${s.primaryColor};
}
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
.gitTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
}
`;var YZ=function(){var s=function(Cs,Gr,Wr,Bi){for(Wr=Wr||{},Bi=Cs.length;Bi--;Wr[Cs[Bi]]=Gr);return Wr},o=[1,6],f=[1,7],m=[1,8],y=[1,9],k=[1,16],v=[1,11],A=[1,12],O=[1,13],j=[1,14],z=[1,15],V=[1,27],Y=[1,33],G=[1,34],J=[1,35],ce=[1,36],me=[1,37],_e=[1,72],we=[1,73],Se=[1,74],Oe=[1,75],De=[1,76],Ve=[1,77],ke=[1,78],Ie=[1,38],ge=[1,39],Me=[1,40],Ne=[1,41],xe=[1,42],qe=[1,43],ae=[1,44],Qe=[1,45],Ce=[1,46],nt=[1,47],Ee=[1,48],kt=[1,49],Ot=[1,50],Vt=[1,51],Rt=[1,52],Gt=[1,53],_n=[1,54],On=[1,55],Dt=[1,56],ai=[1,57],Ft=[1,59],$t=[1,60],Pt=[1,61],qt=[1,62],et=[1,63],ht=[1,64],Ut=[1,65],it=[1,66],Zn=[1,67],Ge=[1,68],ws=[1,69],xn=[24,52],Zi=[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],gi=[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],Cr=[1,94],yr=[1,95],Sr=[1,96],or=[1,97],Ar=[15,24,52],bo=[7,8,9,10,18,22,25,26,27,28],wo=[15,24,43,52],ra=[15,24,43,52,86,87,89,90],Ys=[15,43],yo=[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],Jl={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(Gr,Wr,Bi,_r,js,An,Qa){var dr=An.length-1;switch(js){case 4:_r.setDirection("TB");break;case 5:_r.setDirection("BT");break;case 6:_r.setDirection("RL");break;case 7:_r.setDirection("LR");break;case 11:_r.parseDirective("%%{","open_directive");break;case 12:break;case 13:An[dr]=An[dr].trim().replace(/'/g,'"'),_r.parseDirective(An[dr],"arg_directive");break;case 14:_r.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:_r.setC4Type(An[dr-3]);break;case 26:_r.setTitle(An[dr].substring(6)),this.$=An[dr].substring(6);break;case 27:_r.setAccDescription(An[dr].substring(15)),this.$=An[dr].substring(15);break;case 28:this.$=An[dr].trim(),_r.setTitle(this.$);break;case 29:case 30:this.$=An[dr].trim(),_r.setAccDescription(this.$);break;case 35:case 36:An[dr].splice(2,0,"ENTERPRISE"),_r.addPersonOrSystemBoundary(...An[dr]),this.$=An[dr];break;case 37:_r.addPersonOrSystemBoundary(...An[dr]),this.$=An[dr];break;case 38:An[dr].splice(2,0,"CONTAINER"),_r.addContainerBoundary(...An[dr]),this.$=An[dr];break;case 39:_r.addDeploymentNode("node",...An[dr]),this.$=An[dr];break;case 40:_r.addDeploymentNode("nodeL",...An[dr]),this.$=An[dr];break;case 41:_r.addDeploymentNode("nodeR",...An[dr]),this.$=An[dr];break;case 42:_r.popBoundaryParseStack();break;case 46:_r.addPersonOrSystem("person",...An[dr]),this.$=An[dr];break;case 47:_r.addPersonOrSystem("external_person",...An[dr]),this.$=An[dr];break;case 48:_r.addPersonOrSystem("system",...An[dr]),this.$=An[dr];break;case 49:_r.addPersonOrSystem("system_db",...An[dr]),this.$=An[dr];break;case 50:_r.addPersonOrSystem("system_queue",...An[dr]),this.$=An[dr];break;case 51:_r.addPersonOrSystem("external_system",...An[dr]),this.$=An[dr];break;case 52:_r.addPersonOrSystem("external_system_db",...An[dr]),this.$=An[dr];break;case 53:_r.addPersonOrSystem("external_system_queue",...An[dr]),this.$=An[dr];break;case 54:_r.addContainer("container",...An[dr]),this.$=An[dr];break;case 55:_r.addContainer("container_db",...An[dr]),this.$=An[dr];break;case 56:_r.addContainer("container_queue",...An[dr]),this.$=An[dr];break;case 57:_r.addContainer("external_container",...An[dr]),this.$=An[dr];break;case 58:_r.addContainer("external_container_db",...An[dr]),this.$=An[dr];break;case 59:_r.addContainer("external_container_queue",...An[dr]),this.$=An[dr];break;case 60:_r.addComponent("component",...An[dr]),this.$=An[dr];break;case 61:_r.addComponent("component_db",...An[dr]),this.$=An[dr];break;case 62:_r.addComponent("component_queue",...An[dr]),this.$=An[dr];break;case 63:_r.addComponent("external_component",...An[dr]),this.$=An[dr];break;case 64:_r.addComponent("external_component_db",...An[dr]),this.$=An[dr];break;case 65:_r.addComponent("external_component_queue",...An[dr]),this.$=An[dr];break;case 67:_r.addRel("rel",...An[dr]),this.$=An[dr];break;case 68:_r.addRel("birel",...An[dr]),this.$=An[dr];break;case 69:_r.addRel("rel_u",...An[dr]),this.$=An[dr];break;case 70:_r.addRel("rel_d",...An[dr]),this.$=An[dr];break;case 71:_r.addRel("rel_l",...An[dr]),this.$=An[dr];break;case 72:_r.addRel("rel_r",...An[dr]),this.$=An[dr];break;case 73:_r.addRel("rel_b",...An[dr]),this.$=An[dr];break;case 74:An[dr].splice(0,1),_r.addRel("rel",...An[dr]),this.$=An[dr];break;case 75:_r.updateElStyle("update_el_style",...An[dr]),this.$=An[dr];break;case 76:_r.updateRelStyle("update_rel_style",...An[dr]),this.$=An[dr];break;case 77:_r.updateLayoutConfig("update_layout_config",...An[dr]),this.$=An[dr];break;case 78:this.$=[An[dr]];break;case 79:An[dr].unshift(An[dr-1]),this.$=An[dr];break;case 80:case 82:this.$=An[dr].trim();break;case 81:let Ia={};Ia[An[dr-1].trim()]=An[dr].trim(),this.$=Ia;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:o,8:f,9:m,10:y,11:5,12:10,18:k,22:v,25:A,26:O,27:j,28:z},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:o,8:f,9:m,10:y,11:5,12:10,18:k,22:v,25:A,26:O,27:j,28:z},{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:V},s([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:Y,33:G,34:J,36:ce,38:me,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{23:79,29:29,30:30,31:31,32:Y,33:G,34:J,36:ce,38:me,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{23:80,29:29,30:30,31:31,32:Y,33:G,34:J,36:ce,38:me,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{23:81,29:29,30:30,31:31,32:Y,33:G,34:J,36:ce,38:me,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{23:82,29:29,30:30,31:31,32:Y,33:G,34:J,36:ce,38:me,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},s(xn,[2,20],{53:32,39:58,40:70,42:71,30:87,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws}),s(xn,[2,21]),s(Zi,[2,23],{15:[1,88]}),s(xn,[2,43],{15:[1,89]}),s(gi,[2,26]),s(gi,[2,27]),{35:[1,90]},{37:[1,91]},s(gi,[2,30]),{45:92,85:93,86:Cr,87:yr,89:Sr,90:or},{45:98,85:93,86:Cr,87:yr,89:Sr,90:or},{45:99,85:93,86:Cr,87:yr,89:Sr,90:or},{45:100,85:93,86:Cr,87:yr,89:Sr,90:or},{45:101,85:93,86:Cr,87:yr,89:Sr,90:or},{45:102,85:93,86:Cr,87:yr,89:Sr,90:or},{45:103,85:93,86:Cr,87:yr,89:Sr,90:or},{45:104,85:93,86:Cr,87:yr,89:Sr,90:or},{45:105,85:93,86:Cr,87:yr,89:Sr,90:or},{45:106,85:93,86:Cr,87:yr,89:Sr,90:or},{45:107,85:93,86:Cr,87:yr,89:Sr,90:or},{45:108,85:93,86:Cr,87:yr,89:Sr,90:or},{45:109,85:93,86:Cr,87:yr,89:Sr,90:or},{45:110,85:93,86:Cr,87:yr,89:Sr,90:or},{45:111,85:93,86:Cr,87:yr,89:Sr,90:or},{45:112,85:93,86:Cr,87:yr,89:Sr,90:or},{45:113,85:93,86:Cr,87:yr,89:Sr,90:or},{45:114,85:93,86:Cr,87:yr,89:Sr,90:or},{45:115,85:93,86:Cr,87:yr,89:Sr,90:or},{45:116,85:93,86:Cr,87:yr,89:Sr,90:or},s(Ar,[2,66]),{45:117,85:93,86:Cr,87:yr,89:Sr,90:or},{45:118,85:93,86:Cr,87:yr,89:Sr,90:or},{45:119,85:93,86:Cr,87:yr,89:Sr,90:or},{45:120,85:93,86:Cr,87:yr,89:Sr,90:or},{45:121,85:93,86:Cr,87:yr,89:Sr,90:or},{45:122,85:93,86:Cr,87:yr,89:Sr,90:or},{45:123,85:93,86:Cr,87:yr,89:Sr,90:or},{45:124,85:93,86:Cr,87:yr,89:Sr,90:or},{45:125,85:93,86:Cr,87:yr,89:Sr,90:or},{45:126,85:93,86:Cr,87:yr,89:Sr,90:or},{45:127,85:93,86:Cr,87:yr,89:Sr,90:or},{30:128,39:58,40:70,42:71,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,53:32,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws},{15:[1,130],43:[1,129]},{45:131,85:93,86:Cr,87:yr,89:Sr,90:or},{45:132,85:93,86:Cr,87:yr,89:Sr,90:or},{45:133,85:93,86:Cr,87:yr,89:Sr,90:or},{45:134,85:93,86:Cr,87:yr,89:Sr,90:or},{45:135,85:93,86:Cr,87:yr,89:Sr,90:or},{45:136,85:93,86:Cr,87:yr,89:Sr,90:or},{45:137,85:93,86:Cr,87:yr,89:Sr,90:or},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},s(bo,[2,9]),{14:142,21:V},{21:[2,13]},{1:[2,15]},s(xn,[2,22]),s(Zi,[2,24],{31:31,29:143,32:Y,33:G,34:J,36:ce,38:me}),s(xn,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:Y,33:G,34:J,36:ce,38:me,44:_e,46:we,47:Se,48:Oe,49:De,50:Ve,51:ke,54:Ie,55:ge,56:Me,57:Ne,58:xe,59:qe,60:ae,61:Qe,62:Ce,63:nt,64:Ee,65:kt,66:Ot,67:Vt,68:Rt,69:Gt,70:_n,71:On,72:Dt,73:ai,74:Ft,75:$t,76:Pt,77:qt,78:et,79:ht,80:Ut,81:it,82:Zn,83:Ge,84:ws}),s(gi,[2,28]),s(gi,[2,29]),s(Ar,[2,46]),s(wo,[2,78],{85:93,45:145,86:Cr,87:yr,89:Sr,90:or}),s(ra,[2,80]),{88:[1,146]},s(ra,[2,82]),s(ra,[2,83]),s(Ar,[2,47]),s(Ar,[2,48]),s(Ar,[2,49]),s(Ar,[2,50]),s(Ar,[2,51]),s(Ar,[2,52]),s(Ar,[2,53]),s(Ar,[2,54]),s(Ar,[2,55]),s(Ar,[2,56]),s(Ar,[2,57]),s(Ar,[2,58]),s(Ar,[2,59]),s(Ar,[2,60]),s(Ar,[2,61]),s(Ar,[2,62]),s(Ar,[2,63]),s(Ar,[2,64]),s(Ar,[2,65]),s(Ar,[2,67]),s(Ar,[2,68]),s(Ar,[2,69]),s(Ar,[2,70]),s(Ar,[2,71]),s(Ar,[2,72]),s(Ar,[2,73]),s(Ar,[2,74]),s(Ar,[2,75]),s(Ar,[2,76]),s(Ar,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},s(Ys,[2,35]),s(Ys,[2,36]),s(Ys,[2,37]),s(Ys,[2,38]),s(Ys,[2,39]),s(Ys,[2,40]),s(Ys,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},s(Zi,[2,25]),s(xn,[2,45]),s(wo,[2,79]),s(ra,[2,81]),s(Ar,[2,31]),s(Ar,[2,42]),s(yo,[2,32]),s(yo,[2,33],{15:[1,152]}),s(bo,[2,10]),s(yo,[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(Gr,Wr){if(Wr.recoverable)this.trace(Gr);else{var Bi=new Error(Gr);throw Bi.hash=Wr,Bi}},parse:function(Gr){var Wr=this,Bi=[0],_r=[],js=[null],An=[],Qa=this.table,dr="",Ia=0,Do=0,nc=2,Wo=1,Po=An.slice.call(arguments,1),ia=Object.create(this.lexer),io={yy:{}};for(var Ko in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ko)&&(io.yy[Ko]=this.yy[Ko]);ia.setInput(Gr,io.yy),io.yy.lexer=ia,io.yy.parser=this,typeof ia.yylloc>"u"&&(ia.yylloc={});var qa=ia.yylloc;An.push(qa);var mv=ia.options&&ia.options.ranges;typeof io.yy.parseError=="function"?this.parseError=io.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function kw(){var rn;return rn=_r.pop()||ia.lex()||Wo,typeof rn!="number"&&(rn instanceof Array&&(_r=rn,rn=_r.pop()),rn=Wr.symbols_[rn]||rn),rn}for(var th,lo,jh,r1,$h={},Cf,nh,_d,Yf;;){if(lo=Bi[Bi.length-1],this.defaultActions[lo]?jh=this.defaultActions[lo]:((th===null||typeof th>"u")&&(th=kw()),jh=Qa[lo]&&Qa[lo][th]),typeof jh>"u"||!jh.length||!jh[0]){var ps="";Yf=[];for(Cf in Qa[lo])this.terminals_[Cf]&&Cf>nc&&Yf.push("'"+this.terminals_[Cf]+"'");ia.showPosition?ps="Parse error on line "+(Ia+1)+`:
`+ia.showPosition()+`
Expecting `+Yf.join(", ")+", got '"+(this.terminals_[th]||th)+"'":ps="Parse error on line "+(Ia+1)+": Unexpected "+(th==Wo?"end of input":"'"+(this.terminals_[th]||th)+"'"),this.parseError(ps,{text:ia.match,token:this.terminals_[th]||th,line:ia.yylineno,loc:qa,expected:Yf})}if(jh[0]instanceof Array&&jh.length>1)throw new Error("Parse Error: multiple actions possible at state: "+lo+", token: "+th);switch(jh[0]){case 1:Bi.push(th),js.push(ia.yytext),An.push(ia.yylloc),Bi.push(jh[1]),th=null,Do=ia.yyleng,dr=ia.yytext,Ia=ia.yylineno,qa=ia.yylloc;break;case 2:if(nh=this.productions_[jh[1]][1],$h.$=js[js.length-nh],$h._$={first_line:An[An.length-(nh||1)].first_line,last_line:An[An.length-1].last_line,first_column:An[An.length-(nh||1)].first_column,last_column:An[An.length-1].last_column},mv&&($h._$.range=[An[An.length-(nh||1)].range[0],An[An.length-1].range[1]]),r1=this.performAction.apply($h,[dr,Do,Ia,io.yy,jh[1],js,An].concat(Po)),typeof r1<"u")return r1;nh&&(Bi=Bi.slice(0,-1*nh*2),js=js.slice(0,-1*nh),An=An.slice(0,-1*nh)),Bi.push(this.productions_[jh[1]][0]),js.push($h.$),An.push($h._$),_d=Qa[Bi[Bi.length-2]][Bi[Bi.length-1]],Bi.push(_d);break;case 3:return!0}}return!0}},co=function(){var Cs={EOF:1,parseError:function(Wr,Bi){if(this.yy.parser)this.yy.parser.parseError(Wr,Bi);else throw new Error(Wr)},setInput:function(Gr,Wr){return this.yy=Wr||this.yy||{},this._input=Gr,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 Gr=this._input[0];this.yytext+=Gr,this.yyleng++,this.offset++,this.match+=Gr,this.matched+=Gr;var Wr=Gr.match(/(?:\r\n?|\n).*/g);return Wr?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Gr},unput:function(Gr){var Wr=Gr.length,Bi=Gr.split(/(?:\r\n?|\n)/g);this._input=Gr+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Wr),this.offset-=Wr;var _r=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),Bi.length-1&&(this.yylineno-=Bi.length-1);var js=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:Bi?(Bi.length===_r.length?this.yylloc.first_column:0)+_r[_r.length-Bi.length].length-Bi[0].length:this.yylloc.first_column-Wr},this.options.ranges&&(this.yylloc.range=[js[0],js[0]+this.yyleng-Wr]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(Gr){this.unput(this.match.slice(Gr))},pastInput:function(){var Gr=this.matched.substr(0,this.matched.length-this.match.length);return(Gr.length>20?"...":"")+Gr.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Gr=this.match;return Gr.length<20&&(Gr+=this._input.substr(0,20-Gr.length)),(Gr.substr(0,20)+(Gr.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Gr=this.pastInput(),Wr=new Array(Gr.length+1).join("-");return Gr+this.upcomingInput()+`
`+Wr+"^"},test_match:function(Gr,Wr){var Bi,_r,js;if(this.options.backtrack_lexer&&(js={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&&(js.yylloc.range=this.yylloc.range.slice(0))),_r=Gr[0].match(/(?:\r\n?|\n).*/g),_r&&(this.yylineno+=_r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_r?_r[_r.length-1].length-_r[_r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Gr[0].length},this.yytext+=Gr[0],this.match+=Gr[0],this.matches=Gr,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(Gr[0].length),this.matched+=Gr[0],Bi=this.performAction.call(this,this.yy,this,Wr,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Bi)return Bi;if(this._backtrack){for(var An in js)this[An]=js[An];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Gr,Wr,Bi,_r;this._more||(this.yytext="",this.match="");for(var js=this._currentRules(),An=0;An<js.length;An++)if(Bi=this._input.match(this.rules[js[An]]),Bi&&(!Wr||Bi[0].length>Wr[0].length)){if(Wr=Bi,_r=An,this.options.backtrack_lexer){if(Gr=this.test_match(Bi,js[An]),Gr!==!1)return Gr;if(this._backtrack){Wr=!1;continue}else return!1}else if(!this.options.flex)break}return Wr?(Gr=this.test_match(Wr,js[_r]),Gr!==!1?Gr:!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(){var Wr=this.next();return Wr||this.lex()},begin:function(Wr){this.conditionStack.push(Wr)},popState:function(){var Wr=this.conditionStack.length-1;return Wr>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(Wr){return Wr=this.conditionStack.length-1-Math.abs(Wr||0),Wr>=0?this.conditionStack[Wr]:"INITIAL"},pushState:function(Wr){this.begin(Wr)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Wr,Bi,_r,js){switch(_r){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:break;case 19:c;break;case 20:return 15;case 21:break;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"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:return this.begin("node"),49;case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:return this.begin("rel_u"),76;case 58:return this.begin("rel_u"),76;case 59:return this.begin("rel_d"),77;case 60:return this.begin("rel_d"),77;case 61:return this.begin("rel_l"),78;case 62:return this.begin("rel_l"),78;case 63:return this.begin("rel_r"),79;case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:this.popState(),this.popState();break;case 74:return 90;case 75:break;case 76:return 90;case 77:this.begin("string");break;case 78:this.popState();break;case 79:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 84:this.popState(),this.popState();break;case 85:return"STR";case 86:return"LBRACE";case 87:return"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}}};return Cs}();Jl.lexer=co;function Zs(){this.yy={}}return Zs.prototype=Jl,Jl.Parser=Zs,new Zs}();YZ.parser=YZ;const V$t=YZ,q$t=s=>s.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/)!==null;let L3=[],c7=[""],fm="global",I3="",q5=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],dj=[],Nbe="",Rbe=!1,XZ=4,QZ=2;var xHe;const U$t=function(){return xHe},G$t=function(s){xHe=zb(s,Qt())},W$t=function(s,o,f){Sf.parseDirective(this,s,o,f)},K$t=function(s,o,f,m,y,k,v,A,O){if(s==null||o===void 0||o===null||f===void 0||f===null||m===void 0||m===null)return;let j={};const z=dj.find(V=>V.from===o&&V.to===f);if(z?j=z:dj.push(j),j.type=s,j.from=o,j.to=f,j.label={text:m},y==null)j.techn={text:""};else if(typeof y=="object"){let[V,Y]=Object.entries(y)[0];j[V]={text:Y}}else j.techn={text:y};if(k==null)j.descr={text:""};else if(typeof k=="object"){let[V,Y]=Object.entries(k)[0];j[V]={text:Y}}else j.descr={text:k};if(typeof v=="object"){let[V,Y]=Object.entries(v)[0];j[V]=Y}else j.sprite=v;if(typeof A=="object"){let[V,Y]=Object.entries(A)[0];j[V]=Y}else j.tags=A;if(typeof O=="object"){let[V,Y]=Object.entries(O)[0];j[V]=Y}else j.link=O;j.wrap=l7()},Y$t=function(s,o,f,m,y,k,v){if(o===null||f===null)return;let A={};const O=L3.find(j=>j.alias===o);if(O&&o===O.alias?A=O:(A.alias=o,L3.push(A)),f==null?A.label={text:""}:A.label={text:f},m==null)A.descr={text:""};else if(typeof m=="object"){let[j,z]=Object.entries(m)[0];A[j]={text:z}}else A.descr={text:m};if(typeof y=="object"){let[j,z]=Object.entries(y)[0];A[j]=z}else A.sprite=y;if(typeof k=="object"){let[j,z]=Object.entries(k)[0];A[j]=z}else A.tags=k;if(typeof v=="object"){let[j,z]=Object.entries(v)[0];A[j]=z}else A.link=v;A.typeC4Shape={text:s},A.parentBoundary=fm,A.wrap=l7()},X$t=function(s,o,f,m,y,k,v,A){if(o===null||f===null)return;let O={};const j=L3.find(z=>z.alias===o);if(j&&o===j.alias?O=j:(O.alias=o,L3.push(O)),f==null?O.label={text:""}:O.label={text:f},m==null)O.techn={text:""};else if(typeof m=="object"){let[z,V]=Object.entries(m)[0];O[z]={text:V}}else O.techn={text:m};if(y==null)O.descr={text:""};else if(typeof y=="object"){let[z,V]=Object.entries(y)[0];O[z]={text:V}}else O.descr={text:y};if(typeof k=="object"){let[z,V]=Object.entries(k)[0];O[z]=V}else O.sprite=k;if(typeof v=="object"){let[z,V]=Object.entries(v)[0];O[z]=V}else O.tags=v;if(typeof A=="object"){let[z,V]=Object.entries(A)[0];O[z]=V}else O.link=A;O.wrap=l7(),O.typeC4Shape={text:s},O.parentBoundary=fm},Q$t=function(s,o,f,m,y,k,v,A){if(o===null||f===null)return;let O={};const j=L3.find(z=>z.alias===o);if(j&&o===j.alias?O=j:(O.alias=o,L3.push(O)),f==null?O.label={text:""}:O.label={text:f},m==null)O.techn={text:""};else if(typeof m=="object"){let[z,V]=Object.entries(m)[0];O[z]={text:V}}else O.techn={text:m};if(y==null)O.descr={text:""};else if(typeof y=="object"){let[z,V]=Object.entries(y)[0];O[z]={text:V}}else O.descr={text:y};if(typeof k=="object"){let[z,V]=Object.entries(k)[0];O[z]=V}else O.sprite=k;if(typeof v=="object"){let[z,V]=Object.entries(v)[0];O[z]=V}else O.tags=v;if(typeof A=="object"){let[z,V]=Object.entries(A)[0];O[z]=V}else O.link=A;O.wrap=l7(),O.typeC4Shape={text:s},O.parentBoundary=fm},Z$t=function(s,o,f,m,y){if(s===null||o===null)return;let k={};const v=q5.find(A=>A.alias===s);if(v&&s===v.alias?k=v:(k.alias=s,q5.push(k)),o==null?k.label={text:""}:k.label={text:o},f==null)k.type={text:"system"};else if(typeof f=="object"){let[A,O]=Object.entries(f)[0];k[A]={text:O}}else k.type={text:f};if(typeof m=="object"){let[A,O]=Object.entries(m)[0];k[A]=O}else k.tags=m;if(typeof y=="object"){let[A,O]=Object.entries(y)[0];k[A]=O}else k.link=y;k.parentBoundary=fm,k.wrap=l7(),I3=fm,fm=s,c7.push(I3)},J$t=function(s,o,f,m,y){if(s===null||o===null)return;let k={};const v=q5.find(A=>A.alias===s);if(v&&s===v.alias?k=v:(k.alias=s,q5.push(k)),o==null?k.label={text:""}:k.label={text:o},f==null)k.type={text:"container"};else if(typeof f=="object"){let[A,O]=Object.entries(f)[0];k[A]={text:O}}else k.type={text:f};if(typeof m=="object"){let[A,O]=Object.entries(m)[0];k[A]=O}else k.tags=m;if(typeof y=="object"){let[A,O]=Object.entries(y)[0];k[A]=O}else k.link=y;k.parentBoundary=fm,k.wrap=l7(),I3=fm,fm=s,c7.push(I3)},eHt=function(s,o,f,m,y,k,v,A){if(o===null||f===null)return;let O={};const j=q5.find(z=>z.alias===o);if(j&&o===j.alias?O=j:(O.alias=o,q5.push(O)),f==null?O.label={text:""}:O.label={text:f},m==null)O.type={text:"node"};else if(typeof m=="object"){let[z,V]=Object.entries(m)[0];O[z]={text:V}}else O.type={text:m};if(y==null)O.descr={text:""};else if(typeof y=="object"){let[z,V]=Object.entries(y)[0];O[z]={text:V}}else O.descr={text:y};if(typeof v=="object"){let[z,V]=Object.entries(v)[0];O[z]=V}else O.tags=v;if(typeof A=="object"){let[z,V]=Object.entries(A)[0];O[z]=V}else O.link=A;O.nodeType=s,O.parentBoundary=fm,O.wrap=l7(),I3=fm,fm=o,c7.push(I3)},tHt=function(){fm=I3,c7.pop(),I3=c7.pop(),c7.push(I3)},nHt=function(s,o,f,m,y,k,v,A,O,j,z){let V=L3.find(Y=>Y.alias===o);if(!(V===void 0&&(V=q5.find(Y=>Y.alias===o),V===void 0))){if(f!=null)if(typeof f=="object"){let[Y,G]=Object.entries(f)[0];V[Y]=G}else V.bgColor=f;if(m!=null)if(typeof m=="object"){let[Y,G]=Object.entries(m)[0];V[Y]=G}else V.fontColor=m;if(y!=null)if(typeof y=="object"){let[Y,G]=Object.entries(y)[0];V[Y]=G}else V.borderColor=y;if(k!=null)if(typeof k=="object"){let[Y,G]=Object.entries(k)[0];V[Y]=G}else V.shadowing=k;if(v!=null)if(typeof v=="object"){let[Y,G]=Object.entries(v)[0];V[Y]=G}else V.shape=v;if(A!=null)if(typeof A=="object"){let[Y,G]=Object.entries(A)[0];V[Y]=G}else V.sprite=A;if(O!=null)if(typeof O=="object"){let[Y,G]=Object.entries(O)[0];V[Y]=G}else V.techn=O;if(j!=null)if(typeof j=="object"){let[Y,G]=Object.entries(j)[0];V[Y]=G}else V.legendText=j;if(z!=null)if(typeof z=="object"){let[Y,G]=Object.entries(z)[0];V[Y]=G}else V.legendSprite=z}},rHt=function(s,o,f,m,y,k,v){const A=dj.find(O=>O.from===o&&O.to===f);if(A!==void 0){if(m!=null)if(typeof m=="object"){let[O,j]=Object.entries(m)[0];A[O]=j}else A.textColor=m;if(y!=null)if(typeof y=="object"){let[O,j]=Object.entries(y)[0];A[O]=j}else A.lineColor=y;if(k!=null)if(typeof k=="object"){let[O,j]=Object.entries(k)[0];A[O]=parseInt(j)}else A.offsetX=parseInt(k);if(v!=null)if(typeof v=="object"){let[O,j]=Object.entries(v)[0];A[O]=parseInt(j)}else A.offsetY=parseInt(v)}},iHt=function(s,o,f){let m=XZ,y=QZ;if(typeof o=="object"){const k=Object.values(o)[0];m=parseInt(k)}else m=parseInt(o);if(typeof f=="object"){const k=Object.values(f)[0];y=parseInt(k)}else y=parseInt(f);m>=1&&(XZ=m),y>=1&&(QZ=y)},sHt=function(){return XZ},aHt=function(){return QZ},oHt=function(){return fm},cHt=function(){return I3},kHe=function(s){return s==null?L3:L3.filter(o=>o.parentBoundary===s)},lHt=function(s){return L3.find(o=>o.alias===s)},uHt=function(s){return Object.keys(kHe(s))},hHt=function(s){return s==null?q5:q5.filter(o=>o.parentBoundary===s)},fHt=function(){return dj},dHt=function(){return Nbe},gHt=function(s){Rbe=s},l7=function(){return Rbe},EHe={addPersonOrSystem:Y$t,addPersonOrSystemBoundary:Z$t,addContainer:X$t,addContainerBoundary:J$t,addComponent:Q$t,addDeploymentNode:eHt,popBoundaryParseStack:tHt,addRel:K$t,updateElStyle:nHt,updateRelStyle:rHt,updateLayoutConfig:iHt,autoWrap:l7,setWrap:gHt,getC4ShapeArray:kHe,getC4Shape:lHt,getC4ShapeKeys:uHt,getBoundarys:hHt,getCurrentBoundaryParse:oHt,getParentBoundaryParse:cHt,getRels:fHt,getTitle:dHt,getC4Type:U$t,getC4ShapeInRow:sHt,getC4BoundaryInRow:aHt,setAccTitle:fv,getAccTitle:qb,getAccDescription:Gb,setAccDescription:Ub,parseDirective:W$t,getConfig:()=>Qt().c4,clear:function(){L3=[],q5=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],I3="",fm="global",c7=[""],dj=[],c7=[""],Nbe="",Rbe=!1,XZ=4,QZ=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(s){Nbe=zb(s,Qt())},setC4Type:G$t},Bbe=function(s,o){const f=s.append("rect");if(f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.attrs!=="undefined"&&o.attrs!==null)for(let m in o.attrs)f.attr(m,o.attrs[m]);return o.class!=="undefined"&&f.attr("class",o.class),f},THe=function(s,o,f,m,y,k){const v=s.append("image");v.attr("width",o),v.attr("height",f),v.attr("x",m),v.attr("y",y);let A=k.startsWith("data:image/png;base64")?k:xt(k);v.attr("xlink:href",A)},pHt=(s,o,f)=>{const m=s.append("g");let y=0;for(let k of o){let v=k.textColor?k.textColor:"#444444",A=k.lineColor?k.lineColor:"#444444",O=k.offsetX?parseInt(k.offsetX):0,j=k.offsetY?parseInt(k.offsetY):0,z="";if(y===0){let Y=m.append("line");Y.attr("x1",k.startPoint.x),Y.attr("y1",k.startPoint.y),Y.attr("x2",k.endPoint.x),Y.attr("y2",k.endPoint.y),Y.attr("stroke-width","1"),Y.attr("stroke",A),Y.style("fill","none"),k.type!=="rel_b"&&Y.attr("marker-end","url("+z+"#arrowhead)"),(k.type==="birel"||k.type==="rel_b")&&Y.attr("marker-start","url("+z+"#arrowend)"),y=-1}else{let Y=m.append("path");Y.attr("fill","none").attr("stroke-width","1").attr("stroke",A).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",k.startPoint.x).replaceAll("starty",k.startPoint.y).replaceAll("controlx",k.startPoint.x+(k.endPoint.x-k.startPoint.x)/2-(k.endPoint.x-k.startPoint.x)/4).replaceAll("controly",k.startPoint.y+(k.endPoint.y-k.startPoint.y)/2).replaceAll("stopx",k.endPoint.x).replaceAll("stopy",k.endPoint.y)),k.type!=="rel_b"&&Y.attr("marker-end","url("+z+"#arrowhead)"),(k.type==="birel"||k.type==="rel_b")&&Y.attr("marker-start","url("+z+"#arrowend)")}let V=f.messageFont();ux(f)(k.label.text,m,Math.min(k.startPoint.x,k.endPoint.x)+Math.abs(k.endPoint.x-k.startPoint.x)/2+O,Math.min(k.startPoint.y,k.endPoint.y)+Math.abs(k.endPoint.y-k.startPoint.y)/2+j,k.label.width,k.label.height,{fill:v},V),k.techn&&k.techn.text!==""&&(V=f.messageFont(),ux(f)("["+k.techn.text+"]",m,Math.min(k.startPoint.x,k.endPoint.x)+Math.abs(k.endPoint.x-k.startPoint.x)/2+O,Math.min(k.startPoint.y,k.endPoint.y)+Math.abs(k.endPoint.y-k.startPoint.y)/2+f.messageFontSize+5+j,Math.max(k.label.width,k.techn.width),k.techn.height,{fill:v,"font-style":"italic"},V))}},mHt=function(s,o,f){const m=s.append("g");let y=o.bgColor?o.bgColor:"none",k=o.borderColor?o.borderColor:"#444444",v=o.fontColor?o.fontColor:"black",A={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};o.nodeType&&(A={"stroke-width":1});let O={x:o.x,y:o.y,fill:y,stroke:k,width:o.width,height:o.height,rx:2.5,ry:2.5,attrs:A};Bbe(m,O);let j=f.boundaryFont();j.fontWeight="bold",j.fontSize=j.fontSize+2,j.fontColor=v,ux(f)(o.label.text,m,o.x,o.y+o.label.Y,o.width,o.height,{fill:"#444444"},j),o.type&&o.type.text!==""&&(j=f.boundaryFont(),j.fontColor=v,ux(f)(o.type.text,m,o.x,o.y+o.type.Y,o.width,o.height,{fill:"#444444"},j)),o.descr&&o.descr.text!==""&&(j=f.boundaryFont(),j.fontSize=j.fontSize-2,j.fontColor=v,ux(f)(o.descr.text,m,o.x,o.y+o.descr.Y,o.width,o.height,{fill:"#444444"},j))},vHt=function(s,o,f){var m;let y=o.bgColor?o.bgColor:f[o.typeC4Shape.text+"_bg_color"],k=o.borderColor?o.borderColor:f[o.typeC4Shape.text+"_border_color"],v=o.fontColor?o.fontColor:"#FFFFFF",A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(o.typeC4Shape.text){case"person":A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const O=s.append("g");O.attr("class","person-man");const j=SHe();switch(o.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":j.x=o.x,j.y=o.y,j.fill=y,j.width=o.width,j.height=o.height,j.stroke=k,j.rx=2.5,j.ry=2.5,j.attrs={"stroke-width":.5},Bbe(O,j);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":O.append("path").attr("fill",y).attr("stroke-width","0.5").attr("stroke",k).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",o.x).replaceAll("starty",o.y).replaceAll("half",o.width/2).replaceAll("height",o.height)),O.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",k).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",o.x).replaceAll("starty",o.y).replaceAll("half",o.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":O.append("path").attr("fill",y).attr("stroke-width","0.5").attr("stroke",k).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",o.x).replaceAll("starty",o.y).replaceAll("width",o.width).replaceAll("half",o.height/2)),O.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",k).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",o.x+o.width).replaceAll("starty",o.y).replaceAll("half",o.height/2));break}let z=SHt(f,o.typeC4Shape.text);switch(O.append("text").attr("fill",v).attr("font-family",z.fontFamily).attr("font-size",z.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",o.typeC4Shape.width).attr("x",o.x+o.width/2-o.typeC4Shape.width/2).attr("y",o.y+o.typeC4Shape.Y).text("<<"+o.typeC4Shape.text+">>"),o.typeC4Shape.text){case"person":case"external_person":THe(O,48,48,o.x+o.width/2-24,o.y+o.image.Y,A);break}let V=f[o.typeC4Shape.text+"Font"]();return V.fontWeight="bold",V.fontSize=V.fontSize+2,V.fontColor=v,ux(f)(o.label.text,O,o.x,o.y+o.label.Y,o.width,o.height,{fill:v},V),V=f[o.typeC4Shape.text+"Font"](),V.fontColor=v,o.techn&&((m=o.techn)==null?void 0:m.text)!==""?ux(f)(o.techn.text,O,o.x,o.y+o.techn.Y,o.width,o.height,{fill:v,"font-style":"italic"},V):o.type&&o.type.text!==""&&ux(f)(o.type.text,O,o.x,o.y+o.type.Y,o.width,o.height,{fill:v,"font-style":"italic"},V),o.descr&&o.descr.text!==""&&(V=f.personFont(),V.fontColor=v,ux(f)(o.descr.text,O,o.x,o.y+o.descr.Y,o.width,o.height,{fill:v},V)),o.height},bHt=function(s){s.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},wHt=function(s){s.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},yHt=function(s){s.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},_Ht=function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},xHt=function(s){s.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},kHt=function(s){s.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},EHt=function(s){s.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},THt=function(s){const f=s.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);f.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),f.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},SHe=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},SHt=(s,o)=>({fontFamily:s[o+"FontFamily"],fontSize:s[o+"FontSize"],fontWeight:s[o+"FontWeight"]}),ux=function(){function s(y,k,v,A,O,j,z){const V=k.append("text").attr("x",v+O/2).attr("y",A+j/2+5).style("text-anchor","middle").text(y);m(V,z)}function o(y,k,v,A,O,j,z,V){const{fontSize:Y,fontFamily:G,fontWeight:J}=V,ce=y.split(Oo.lineBreakRegex);for(let me=0;me<ce.length;me++){const _e=me*Y-Y*(ce.length-1)/2,we=k.append("text").attr("x",v+O/2).attr("y",A).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",Y).style("font-weight",J).style("font-family",G);we.append("tspan").attr("dy",_e).text(ce[me]).attr("alignment-baseline","mathematical"),m(we,z)}}function f(y,k,v,A,O,j,z,V){const Y=k.append("switch"),J=Y.append("foreignObject").attr("x",v).attr("y",A).attr("width",O).attr("height",j).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");J.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(y),o(y,Y,v,A,O,j,z,V),m(J,z)}function m(y,k){for(const v in k)k.hasOwnProperty(v)&&y.attr(v,k[v])}return function(y){return y.textPlacement==="fo"?f:y.textPlacement==="old"?s:o}}(),U5={drawRect:Bbe,drawBoundary:mHt,drawC4Shape:vHt,drawRels:pHt,drawImage:THe,insertArrowHead:_Ht,insertArrowEnd:xHt,insertArrowFilledHead:kHt,insertDynamicNumber:EHt,insertArrowCrossHead:THt,insertDatabaseIcon:bHt,insertComputerIcon:wHt,insertClockIcon:yHt,getNoteRect:SHe,sanitizeUrl:xt};let ZZ=0,JZ=0,CHe=4,Fbe=2;YZ.yy=EHe;let ka={};class AHe{constructor(o){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,jbe(o.db.getConfig())}setData(o,f,m,y){this.nextData.startx=this.data.startx=o,this.nextData.stopx=this.data.stopx=f,this.nextData.starty=this.data.starty=m,this.nextData.stopy=this.data.stopy=y}updateVal(o,f,m,y){o[f]===void 0?o[f]=m:o[f]=y(m,o[f])}insert(o){this.nextData.cnt=this.nextData.cnt+1;let f=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+o.margin:this.nextData.stopx+o.margin*2,m=f+o.width,y=this.nextData.starty+o.margin*2,k=y+o.height;(f>=this.data.widthLimit||m>=this.data.widthLimit||this.nextData.cnt>CHe)&&(f=this.nextData.startx+o.margin+ka.nextLinePaddingX,y=this.nextData.stopy+o.margin*2,this.nextData.stopx=m=f+o.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=k=y+o.height,this.nextData.cnt=1),o.x=f,o.y=y,this.updateVal(this.data,"startx",f,Math.min),this.updateVal(this.data,"starty",y,Math.min),this.updateVal(this.data,"stopx",m,Math.max),this.updateVal(this.data,"stopy",k,Math.max),this.updateVal(this.nextData,"startx",f,Math.min),this.updateVal(this.nextData,"starty",y,Math.min),this.updateVal(this.nextData,"stopx",m,Math.max),this.updateVal(this.nextData,"stopy",k,Math.max)}init(o){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},jbe(o.db.getConfig())}bumpLastMargin(o){this.data.stopx+=o,this.data.stopy+=o}}const jbe=function(s){eg(ka,s),s.fontFamily&&(ka.personFontFamily=ka.systemFontFamily=ka.messageFontFamily=s.fontFamily),s.fontSize&&(ka.personFontSize=ka.systemFontSize=ka.messageFontSize=s.fontSize),s.fontWeight&&(ka.personFontWeight=ka.systemFontWeight=ka.messageFontWeight=s.fontWeight)},gj=(s,o)=>({fontFamily:s[o+"FontFamily"],fontSize:s[o+"FontSize"],fontWeight:s[o+"FontWeight"]}),eJ=s=>({fontFamily:s.boundaryFontFamily,fontSize:s.boundaryFontSize,fontWeight:s.boundaryFontWeight}),CHt=s=>({fontFamily:s.messageFontFamily,fontSize:s.messageFontSize,fontWeight:s.messageFontWeight});function O3(s,o,f,m,y){if(!o[s].width)if(f)o[s].text=z$e(o[s].text,y,m),o[s].textLines=o[s].text.split(Oo.lineBreakRegex).length,o[s].width=y,o[s].height=mbe(o[s].text,m);else{let k=o[s].text.split(Oo.lineBreakRegex);o[s].textLines=k.length;let v=0;o[s].height=0,o[s].width=0;for(const A of k)o[s].width=Math.max(V5(A,m),o[s].width),v=mbe(A,m),o[s].height=o[s].height+v}}const MHe=function(s,o,f){o.x=f.data.startx,o.y=f.data.starty,o.width=f.data.stopx-f.data.startx,o.height=f.data.stopy-f.data.starty,o.label.y=ka.c4ShapeMargin-35;let m=o.wrap&&ka.wrap,y=eJ(ka);y.fontSize=y.fontSize+2,y.fontWeight="bold";let k=V5(o.label.text,y);O3("label",o,m,y,k),U5.drawBoundary(s,o,ka)},LHe=function(s,o,f,m){let y=0;for(const k of m){y=0;const v=f[k];let A=gj(ka,v.typeC4Shape.text);switch(A.fontSize=A.fontSize-2,v.typeC4Shape.width=V5("<<"+v.typeC4Shape.text+">>",A),v.typeC4Shape.height=A.fontSize+2,v.typeC4Shape.Y=ka.c4ShapePadding,y=v.typeC4Shape.Y+v.typeC4Shape.height-4,v.image={width:0,height:0,Y:0},v.typeC4Shape.text){case"person":case"external_person":v.image.width=48,v.image.height=48,v.image.Y=y,y=v.image.Y+v.image.height;break}v.sprite&&(v.image.width=48,v.image.height=48,v.image.Y=y,y=v.image.Y+v.image.height);let O=v.wrap&&ka.wrap,j=ka.width-ka.c4ShapePadding*2,z=gj(ka,v.typeC4Shape.text);if(z.fontSize=z.fontSize+2,z.fontWeight="bold",O3("label",v,O,z,j),v.label.Y=y+8,y=v.label.Y+v.label.height,v.type&&v.type.text!==""){v.type.text="["+v.type.text+"]";let G=gj(ka,v.typeC4Shape.text);O3("type",v,O,G,j),v.type.Y=y+5,y=v.type.Y+v.type.height}else if(v.techn&&v.techn.text!==""){v.techn.text="["+v.techn.text+"]";let G=gj(ka,v.techn.text);O3("techn",v,O,G,j),v.techn.Y=y+5,y=v.techn.Y+v.techn.height}let V=y,Y=v.label.width;if(v.descr&&v.descr.text!==""){let G=gj(ka,v.typeC4Shape.text);O3("descr",v,O,G,j),v.descr.Y=y+20,y=v.descr.Y+v.descr.height,Y=Math.max(v.label.width,v.descr.width),V=y-v.descr.textLines*5}Y=Y+ka.c4ShapePadding,v.width=Math.max(v.width||ka.width,Y,ka.width),v.height=Math.max(v.height||ka.height,V,ka.height),v.margin=v.margin||ka.c4ShapeMargin,s.insert(v),U5.drawC4Shape(o,v,ka)}s.bumpLastMargin(ka.c4ShapeMargin)};let bw=class{constructor(o,f){this.x=o,this.y=f}},IHe=function(s,o){let f=s.x,m=s.y,y=o.x,k=o.y,v=f+s.width/2,A=m+s.height/2,O=Math.abs(f-y),j=Math.abs(m-k),z=j/O,V=s.height/s.width,Y=null;return m==k&&f<y?Y=new bw(f+s.width,A):m==k&&f>y?Y=new bw(f,A):f==y&&m<k?Y=new bw(v,m+s.height):f==y&&m>k&&(Y=new bw(v,m)),f>y&&m<k?V>=z?Y=new bw(f,A+z*s.width/2):Y=new bw(v-O/j*s.height/2,m+s.height):f<y&&m<k?V>=z?Y=new bw(f+s.width,A+z*s.width/2):Y=new bw(v+O/j*s.height/2,m+s.height):f<y&&m>k?V>=z?Y=new bw(f+s.width,A-z*s.width/2):Y=new bw(v+s.height/2*O/j,m):f>y&&m>k&&(V>=z?Y=new bw(f,A-s.width/2*z):Y=new bw(v-s.height/2*O/j,m)),Y},AHt=function(s,o){let f={x:0,y:0};f.x=o.x+o.width/2,f.y=o.y+o.height/2;let m=IHe(s,f);f.x=s.x+s.width/2,f.y=s.y+s.height/2;let y=IHe(o,f);return{startPoint:m,endPoint:y}};const MHt=function(s,o,f,m){let y=0;for(let k of o){y=y+1;let v=k.wrap&&ka.wrap,A=CHt(ka);m.db.getC4Type()==="C4Dynamic"&&(k.label.text=y+": "+k.label.text);let j=V5(k.label.text,A);O3("label",k,v,A,j),k.techn&&k.techn.text!==""&&(j=V5(k.techn.text,A),O3("techn",k,v,A,j)),k.descr&&k.descr.text!==""&&(j=V5(k.descr.text,A),O3("descr",k,v,A,j));let z=f(k.from),V=f(k.to),Y=AHt(z,V);k.startPoint=Y.startPoint,k.endPoint=Y.endPoint}U5.drawRels(s,o,ka)};function OHe(s,o,f,m,y){let k=new AHe(y);k.data.widthLimit=f.data.widthLimit/Math.min(Fbe,m.length);for(let[v,A]of m.entries()){let O=0;A.image={width:0,height:0,Y:0},A.sprite&&(A.image.width=48,A.image.height=48,A.image.Y=O,O=A.image.Y+A.image.height);let j=A.wrap&&ka.wrap,z=eJ(ka);if(z.fontSize=z.fontSize+2,z.fontWeight="bold",O3("label",A,j,z,k.data.widthLimit),A.label.Y=O+8,O=A.label.Y+A.label.height,A.type&&A.type.text!==""){A.type.text="["+A.type.text+"]";let J=eJ(ka);O3("type",A,j,J,k.data.widthLimit),A.type.Y=O+5,O=A.type.Y+A.type.height}if(A.descr&&A.descr.text!==""){let J=eJ(ka);J.fontSize=J.fontSize-2,O3("descr",A,j,J,k.data.widthLimit),A.descr.Y=O+20,O=A.descr.Y+A.descr.height}if(v==0||v%Fbe===0){let J=f.data.startx+ka.diagramMarginX,ce=f.data.stopy+ka.diagramMarginY+O;k.setData(J,J,ce,ce)}else{let J=k.data.stopx!==k.data.startx?k.data.stopx+ka.diagramMarginX:k.data.startx,ce=k.data.starty;k.setData(J,J,ce,ce)}k.name=A.alias;let V=y.db.getC4ShapeArray(A.alias),Y=y.db.getC4ShapeKeys(A.alias);Y.length>0&&LHe(k,s,V,Y),o=A.alias;let G=y.db.getBoundarys(o);G.length>0&&OHe(s,o,k,G,y),A.alias!=="global"&&MHe(s,A,k),f.data.stopy=Math.max(k.data.stopy+ka.c4ShapeMargin,f.data.stopy),f.data.stopx=Math.max(k.data.stopx+ka.c4ShapeMargin,f.data.stopx),ZZ=Math.max(ZZ,f.data.stopx),JZ=Math.max(JZ,f.data.stopy)}}const DHe={drawPersonOrSystemArray:LHe,drawBoundary:MHe,setConf:jbe,draw:function(s,o,f,m){ka=Qt().c4;const y=Qt().securityLevel;let k;y==="sandbox"&&(k=Or("#i"+o));const v=Or(y==="sandbox"?k.nodes()[0].contentDocument.body:"body");let A=m.db;m.db.setWrap(ka.wrap),CHe=A.getC4ShapeInRow(),Fbe=A.getC4BoundaryInRow(),ne.debug(`C:${JSON.stringify(ka,null,2)}`);const O=y==="sandbox"?v.select(`[id="${o}"]`):Or(`[id="${o}"]`);U5.insertComputerIcon(O),U5.insertDatabaseIcon(O),U5.insertClockIcon(O);let j=new AHe(m);j.setData(ka.diagramMarginX,ka.diagramMarginX,ka.diagramMarginY,ka.diagramMarginY),j.data.widthLimit=screen.availWidth,ZZ=ka.diagramMarginX,JZ=ka.diagramMarginY;const z=m.db.getTitle();let V=m.db.getBoundarys("");OHe(O,"",j,V,m),U5.insertArrowHead(O),U5.insertArrowEnd(O),U5.insertArrowCrossHead(O),U5.insertArrowFilledHead(O),MHt(O,m.db.getRels(),m.db.getC4Shape,m),j.data.stopx=ZZ,j.data.stopy=JZ;const Y=j.data;let J=Y.stopy-Y.starty+2*ka.diagramMarginY;const me=Y.stopx-Y.startx+2*ka.diagramMarginX;z&&O.append("text").text(z).attr("x",(Y.stopx-Y.startx)/2-4*ka.diagramMarginX).attr("y",Y.starty+ka.diagramMarginY),C3(O,J,me,ka.useMaxWidth);const _e=z?60:0;O.attr("viewBox",Y.startx-ka.diagramMarginX+" -"+(ka.diagramMarginY+_e)+" "+me+" "+(J+_e)),ne.debug("models:",Y)}};var $be=function(){var s=function(qt,et,ht,Ut){for(ht=ht||{},Ut=qt.length;Ut--;ht[qt[Ut]]=et);return ht},o=[1,3],f=[1,7],m=[1,8],y=[1,9],k=[1,10],v=[1,13],A=[1,12],O=[1,16,25],j=[1,20],z=[1,32],V=[1,33],Y=[1,34],G=[1,36],J=[1,39],ce=[1,37],me=[1,38],_e=[1,44],we=[1,45],Se=[1,40],Oe=[1,41],De=[1,42],Ve=[1,43],ke=[1,48],Ie=[1,49],ge=[1,50],Me=[1,51],Ne=[16,25],xe=[1,65],qe=[1,66],ae=[1,67],Qe=[1,68],Ce=[1,69],nt=[1,70],Ee=[1,71],kt=[1,80],Ot=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],Vt=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],Rt=[5,8,9,10,11,16,19,23,25],Gt=[54,88,89,90,91],_n=[54,65,66,88,89,90,91],On=[54,60,61,62,63,64,88,89,90,91],Dt=[16,25,32],ai=[1,107],Ft={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,noteStatement: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:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$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",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"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,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,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],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(et,ht,Ut,it,Zn,Ge,ws){var xn=Ge.length-1;switch(Zn){case 5:it.setDirection("TB");break;case 6:it.setDirection("BT");break;case 7:it.setDirection("RL");break;case 8:it.setDirection("LR");break;case 12:it.parseDirective("%%{","open_directive");break;case 13:it.parseDirective(Ge[xn],"type_directive");break;case 14:Ge[xn]=Ge[xn].trim().replace(/'/g,'"'),it.parseDirective(Ge[xn],"arg_directive");break;case 15:it.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=Ge[xn];break;case 22:this.$=Ge[xn-1]+Ge[xn];break;case 23:case 24:this.$=Ge[xn-1]+"~"+Ge[xn];break;case 25:it.addRelation(Ge[xn]);break;case 26:Ge[xn-1].title=it.cleanupLabel(Ge[xn]),it.addRelation(Ge[xn-1]);break;case 35:this.$=Ge[xn].trim(),it.setAccTitle(this.$);break;case 36:case 37:this.$=Ge[xn].trim(),it.setAccDescription(this.$);break;case 38:it.addClass(Ge[xn]);break;case 39:it.addClass(Ge[xn-2]),it.setCssClass(Ge[xn-2],Ge[xn]);break;case 40:it.addClass(Ge[xn-3]),it.addMembers(Ge[xn-3],Ge[xn-1]);break;case 41:it.addClass(Ge[xn-5]),it.setCssClass(Ge[xn-5],Ge[xn-3]),it.addMembers(Ge[xn-5],Ge[xn-1]);break;case 42:it.addAnnotation(Ge[xn],Ge[xn-2]);break;case 43:this.$=[Ge[xn]];break;case 44:Ge[xn].push(Ge[xn-1]),this.$=Ge[xn];break;case 45:break;case 46:it.addMember(Ge[xn-1],it.cleanupLabel(Ge[xn]));break;case 47:break;case 48:break;case 49:this.$={id1:Ge[xn-2],id2:Ge[xn],relation:Ge[xn-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:Ge[xn-3],id2:Ge[xn],relation:Ge[xn-1],relationTitle1:Ge[xn-2],relationTitle2:"none"};break;case 51:this.$={id1:Ge[xn-3],id2:Ge[xn],relation:Ge[xn-2],relationTitle1:"none",relationTitle2:Ge[xn-1]};break;case 52:this.$={id1:Ge[xn-4],id2:Ge[xn],relation:Ge[xn-2],relationTitle1:Ge[xn-3],relationTitle2:Ge[xn-1]};break;case 53:it.addNote(Ge[xn],Ge[xn-1]);break;case 54:it.addNote(Ge[xn]);break;case 55:this.$={type1:Ge[xn-2],type2:Ge[xn],lineType:Ge[xn-1]};break;case 56:this.$={type1:"none",type2:Ge[xn],lineType:Ge[xn-1]};break;case 57:this.$={type1:Ge[xn-1],type2:"none",lineType:Ge[xn]};break;case 58:this.$={type1:"none",type2:"none",lineType:Ge[xn]};break;case 59:this.$=it.relationType.AGGREGATION;break;case 60:this.$=it.relationType.EXTENSION;break;case 61:this.$=it.relationType.COMPOSITION;break;case 62:this.$=it.relationType.DEPENDENCY;break;case 63:this.$=it.relationType.LOLLIPOP;break;case 64:this.$=it.lineType.LINE;break;case 65:this.$=it.lineType.DOTTED_LINE;break;case 66:case 72:this.$=Ge[xn-2],it.setClickEvent(Ge[xn-1],Ge[xn]);break;case 67:case 73:this.$=Ge[xn-3],it.setClickEvent(Ge[xn-2],Ge[xn-1]),it.setTooltip(Ge[xn-2],Ge[xn]);break;case 68:case 76:this.$=Ge[xn-2],it.setLink(Ge[xn-1],Ge[xn]);break;case 69:this.$=Ge[xn-3],it.setLink(Ge[xn-2],Ge[xn-1],Ge[xn]);break;case 70:case 78:this.$=Ge[xn-3],it.setLink(Ge[xn-2],Ge[xn-1]),it.setTooltip(Ge[xn-2],Ge[xn]);break;case 71:case 79:this.$=Ge[xn-4],it.setLink(Ge[xn-3],Ge[xn-2],Ge[xn]),it.setTooltip(Ge[xn-3],Ge[xn-1]);break;case 74:this.$=Ge[xn-3],it.setClickEvent(Ge[xn-2],Ge[xn-1],Ge[xn]);break;case 75:this.$=Ge[xn-4],it.setClickEvent(Ge[xn-3],Ge[xn-2],Ge[xn-1]),it.setTooltip(Ge[xn-3],Ge[xn]);break;case 77:this.$=Ge[xn-3],it.setLink(Ge[xn-2],Ge[xn-1],Ge[xn]);break;case 80:it.setCssClass(Ge[xn-1],Ge[xn]);break}},table:[{3:1,4:2,5:o,6:4,7:5,8:f,9:m,10:y,11:k,12:6,13:11,19:v,23:A},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:o,6:4,7:5,8:f,9:m,10:y,11:k,12:6,13:11,19:v,23:A},{1:[2,9]},s(O,[2,5]),s(O,[2,6]),s(O,[2,7]),s(O,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:j},s([17,22],[2,13]),{6:31,7:30,8:f,9:m,10:y,11:k,13:11,19:v,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:z,41:V,43:Y,44:G,49:J,51:ce,52:me,55:_e,57:we,67:Se,68:Oe,70:De,74:Ve,88:ke,89:Ie,90:ge,91:Me},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},s(Ne,[2,25],{32:[1,57]}),s(Ne,[2,27]),s(Ne,[2,28]),s(Ne,[2,29]),s(Ne,[2,30]),s(Ne,[2,31]),s(Ne,[2,32]),s(Ne,[2,33]),s(Ne,[2,34]),{40:[1,58]},{42:[1,59]},s(Ne,[2,37]),s(Ne,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:xe,61:qe,62:ae,63:Qe,64:Ce,65:nt,66:Ee}),{27:72,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},s(Ne,[2,47]),s(Ne,[2,48]),{28:73,88:ke,89:Ie,90:ge},{27:74,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},{27:75,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},{27:76,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},{54:[1,77]},{27:78,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},{54:kt,56:79},s(Ot,[2,20],{28:46,29:47,27:81,30:[1,82],88:ke,89:Ie,90:ge,91:Me}),s(Ot,[2,21],{30:[1,83]}),s(Vt,[2,94]),s(Vt,[2,95]),s(Vt,[2,96]),s([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),s(Rt,[2,10]),{15:84,22:j},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:f,9:m,10:y,11:k,13:11,19:v,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:z,41:V,43:Y,44:G,49:J,51:ce,52:me,55:_e,57:we,67:Se,68:Oe,70:De,74:Ve,88:ke,89:Ie,90:ge,91:Me},s(Ne,[2,26]),s(Ne,[2,35]),s(Ne,[2,36]),{27:86,28:46,29:47,54:[1,87],88:ke,89:Ie,90:ge,91:Me},{53:88,58:63,59:64,60:xe,61:qe,62:ae,63:Qe,64:Ce,65:nt,66:Ee},s(Ne,[2,46]),{59:89,65:nt,66:Ee},s(Gt,[2,58],{58:90,60:xe,61:qe,62:ae,63:Qe,64:Ce}),s(_n,[2,59]),s(_n,[2,60]),s(_n,[2,61]),s(_n,[2,62]),s(_n,[2,63]),s(On,[2,64]),s(On,[2,65]),s(Ne,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:ke,89:Ie,90:ge},{54:kt,56:99},s(Ne,[2,54]),s(Ne,[2,98]),s(Ot,[2,22]),s(Ot,[2,23]),s(Ot,[2,24]),{16:[1,100]},{25:[2,19]},s(Dt,[2,49]),{27:101,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},{27:102,28:46,29:47,54:[1,103],88:ke,89:Ie,90:ge,91:Me},s(Gt,[2,57],{58:104,60:xe,61:qe,62:ae,63:Qe,64:Ce}),s(Gt,[2,56]),{28:105,88:ke,89:Ie,90:ge},{47:106,51:ai},{27:108,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},s(Ne,[2,66],{54:[1,109]}),s(Ne,[2,68],{54:[1,111],69:[1,110]}),s(Ne,[2,72],{54:[1,112],72:[1,113]}),s(Ne,[2,76],{54:[1,115],69:[1,114]}),s(Ne,[2,80]),s(Ne,[2,53]),s(Rt,[2,11]),s(Dt,[2,51]),s(Dt,[2,50]),{27:116,28:46,29:47,88:ke,89:Ie,90:ge,91:Me},s(Gt,[2,55]),s(Ne,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:ai},s(Ne,[2,42]),s(Ne,[2,67]),s(Ne,[2,69]),s(Ne,[2,70],{69:[1,120]}),s(Ne,[2,73]),s(Ne,[2,74],{54:[1,121]}),s(Ne,[2,77]),s(Ne,[2,78],{69:[1,122]}),s(Dt,[2,52]),{47:123,51:ai},s(Ne,[2,40]),{48:[2,44]},s(Ne,[2,71]),s(Ne,[2,75]),s(Ne,[2,79]),{48:[1,124]},s(Ne,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(et,ht){if(ht.recoverable)this.trace(et);else{var Ut=new Error(et);throw Ut.hash=ht,Ut}},parse:function(et){var ht=this,Ut=[0],it=[],Zn=[null],Ge=[],ws=this.table,xn="",Zi=0,gi=0,Cr=2,yr=1,Sr=Ge.slice.call(arguments,1),or=Object.create(this.lexer),Ar={yy:{}};for(var bo in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bo)&&(Ar.yy[bo]=this.yy[bo]);or.setInput(et,Ar.yy),Ar.yy.lexer=or,Ar.yy.parser=this,typeof or.yylloc>"u"&&(or.yylloc={});var wo=or.yylloc;Ge.push(wo);var ra=or.options&&or.options.ranges;typeof Ar.yy.parseError=="function"?this.parseError=Ar.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ys(){var An;return An=it.pop()||or.lex()||yr,typeof An!="number"&&(An instanceof Array&&(it=An,An=it.pop()),An=ht.symbols_[An]||An),An}for(var yo,Jl,co,Zs,Cs={},Gr,Wr,Bi,_r;;){if(Jl=Ut[Ut.length-1],this.defaultActions[Jl]?co=this.defaultActions[Jl]:((yo===null||typeof yo>"u")&&(yo=Ys()),co=ws[Jl]&&ws[Jl][yo]),typeof co>"u"||!co.length||!co[0]){var js="";_r=[];for(Gr in ws[Jl])this.terminals_[Gr]&&Gr>Cr&&_r.push("'"+this.terminals_[Gr]+"'");or.showPosition?js="Parse error on line "+(Zi+1)+`:
`+or.showPosition()+`
Expecting `+_r.join(", ")+", got '"+(this.terminals_[yo]||yo)+"'":js="Parse error on line "+(Zi+1)+": Unexpected "+(yo==yr?"end of input":"'"+(this.terminals_[yo]||yo)+"'"),this.parseError(js,{text:or.match,token:this.terminals_[yo]||yo,line:or.yylineno,loc:wo,expected:_r})}if(co[0]instanceof Array&&co.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Jl+", token: "+yo);switch(co[0]){case 1:Ut.push(yo),Zn.push(or.yytext),Ge.push(or.yylloc),Ut.push(co[1]),yo=null,gi=or.yyleng,xn=or.yytext,Zi=or.yylineno,wo=or.yylloc;break;case 2:if(Wr=this.productions_[co[1]][1],Cs.$=Zn[Zn.length-Wr],Cs._$={first_line:Ge[Ge.length-(Wr||1)].first_line,last_line:Ge[Ge.length-1].last_line,first_column:Ge[Ge.length-(Wr||1)].first_column,last_column:Ge[Ge.length-1].last_column},ra&&(Cs._$.range=[Ge[Ge.length-(Wr||1)].range[0],Ge[Ge.length-1].range[1]]),Zs=this.performAction.apply(Cs,[xn,gi,Zi,Ar.yy,co[1],Zn,Ge].concat(Sr)),typeof Zs<"u")return Zs;Wr&&(Ut=Ut.slice(0,-1*Wr*2),Zn=Zn.slice(0,-1*Wr),Ge=Ge.slice(0,-1*Wr)),Ut.push(this.productions_[co[1]][0]),Zn.push(Cs.$),Ge.push(Cs._$),Bi=ws[Ut[Ut.length-2]][Ut[Ut.length-1]],Ut.push(Bi);break;case 3:return!0}}return!0}},$t=function(){var qt={EOF:1,parseError:function(ht,Ut){if(this.yy.parser)this.yy.parser.parseError(ht,Ut);else throw new Error(ht)},setInput:function(et,ht){return this.yy=ht||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];this.yytext+=et,this.yyleng++,this.offset++,this.match+=et,this.matched+=et;var ht=et.match(/(?:\r\n?|\n).*/g);return ht?(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 ht=et.length,Ut=et.split(/(?:\r\n?|\n)/g);this._input=et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ht),this.offset-=ht;var it=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),Ut.length-1&&(this.yylineno-=Ut.length-1);var Zn=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:Ut?(Ut.length===it.length?this.yylloc.first_column:0)+it[it.length-Ut.length].length-Ut[0].length:this.yylloc.first_column-ht},this.options.ranges&&(this.yylloc.range=[Zn[0],Zn[0]+this.yyleng-ht]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},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(),ht=new Array(et.length+1).join("-");return et+this.upcomingInput()+`
`+ht+"^"},test_match:function(et,ht){var Ut,it,Zn;if(this.options.backtrack_lexer&&(Zn={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&&(Zn.yylloc.range=this.yylloc.range.slice(0))),it=et[0].match(/(?:\r\n?|\n).*/g),it&&(this.yylineno+=it.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:it?it[it.length-1].length-it[it.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],Ut=this.performAction.call(this,this.yy,this,ht,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ut)return Ut;if(this._backtrack){for(var Ge in Zn)this[Ge]=Zn[Ge];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var et,ht,Ut,it;this._more||(this.yytext="",this.match="");for(var Zn=this._currentRules(),Ge=0;Ge<Zn.length;Ge++)if(Ut=this._input.match(this.rules[Zn[Ge]]),Ut&&(!ht||Ut[0].length>ht[0].length)){if(ht=Ut,it=Ge,this.options.backtrack_lexer){if(et=this.test_match(Ut,Zn[Ge]),et!==!1)return et;if(this._backtrack){ht=!1;continue}else return!1}else if(!this.options.flex)break}return ht?(et=this.test_match(ht,Zn[it]),et!==!1?et:!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(){var ht=this.next();return ht||this.lex()},begin:function(ht){this.conditionStack.push(ht)},popState:function(){var ht=this.conditionStack.length-1;return ht>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(ht){return ht=this.conditionStack.length-1-Math.abs(ht||0),ht>=0?this.conditionStack[ht]:"INITIAL"},pushState:function(ht){this.begin(ht)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(ht,Ut,it,Zn){switch(it){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:break;case 10:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;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:return 16;case 19:break;case 20:return 23;case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 27:break;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 39:this.popState();break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 42:this.popState();break;case 43:return"STR";case 44:this.begin("bqstring");break;case 45:this.popState();break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 48:this.popState();break;case 49:return 73;case 50:this.begin("callback_name");break;case 51:this.popState();break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 54:this.popState();break;case 55:return 72;case 56:return 69;case 57:return 69;case 58:return 69;case 59:return 69;case 60:return 61;case 61:return 61;case 62:return 63;case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:return"EQUALS";case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82: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)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{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:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,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],inclusive:!0}}};return qt}();Ft.lexer=$t;function Pt(){this.yy={}}return Pt.prototype=Ft,Ft.Parser=Pt,new Pt}();$be.parser=$be;const PHe=$be,LHt=(s,o)=>{var f;return((f=o==null?void 0:o.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:s.match(/^\s*classDiagram/)!==null},IHt=(s,o)=>{var f;return s.match(/^\s*classDiagram/)!==null&&((f=o==null?void 0:o.class)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!0:s.match(/^\s*classDiagram-v2/)!==null},Hbe="classid-";let zbe=[],Jd={},tJ=[],NHe=0,pj=[];const mj=s=>Oo.sanitizeText(s,Qt()),OHt=function(s,o,f){Sf.parseDirective(this,s,o,f)},vj=function(s){let o="",f=s;if(s.indexOf("~")>0){let m=s.split("~");f=m[0],o=Oo.sanitizeText(m[1],Qt())}return{className:f,type:o}},Vbe=function(s){let o=vj(s);Jd[o.className]===void 0&&(Jd[o.className]={id:o.className,type:o.type,cssClasses:[],methods:[],members:[],annotations:[],domId:Hbe+o.className+"-"+NHe},NHe++)},RHe=function(s){const o=Object.keys(Jd);for(const f of o)if(Jd[f].id===s)return Jd[f].domId},DHt=function(){zbe=[],Jd={},tJ=[],pj=[],pj.push(FHe),hv()},PHt=function(s){return Jd[s]},NHt=function(){return Jd},RHt=function(){return zbe},BHt=function(){return tJ},FHt=function(s){ne.debug("Adding relation: "+JSON.stringify(s)),Vbe(s.id1),Vbe(s.id2),s.id1=vj(s.id1).className,s.id2=vj(s.id2).className,s.relationTitle1=Oo.sanitizeText(s.relationTitle1.trim(),Qt()),s.relationTitle2=Oo.sanitizeText(s.relationTitle2.trim(),Qt()),zbe.push(s)},jHt=function(s,o){const f=vj(s).className;Jd[f].annotations.push(o)},BHe=function(s,o){const f=vj(s).className,m=Jd[f];if(typeof o=="string"){const y=o.trim();y.startsWith("<<")&&y.endsWith(">>")?m.annotations.push(mj(y.substring(2,y.length-2))):y.indexOf(")")>0?m.methods.push(mj(y)):y&&m.members.push(mj(y))}},$Ht=function(s,o){Array.isArray(o)&&(o.reverse(),o.forEach(f=>BHe(s,f)))},HHt=function(s,o){const f={id:`note${tJ.length}`,class:o,text:s};tJ.push(f)},zHt=function(s){return s.substring(0,1)===":"?Oo.sanitizeText(s.substr(1).trim(),Qt()):mj(s.trim())},qbe=function(s,o){s.split(",").forEach(function(f){let m=f;f[0].match(/\d/)&&(m=Hbe+m),Jd[m]!==void 0&&Jd[m].cssClasses.push(o)})},VHt=function(s,o){const f=Qt();s.split(",").forEach(function(m){o!==void 0&&(Jd[m].tooltip=Oo.sanitizeText(o,f))})},qHt=function(s){return Jd[s].tooltip},UHt=function(s,o,f){const m=Qt();s.split(",").forEach(function(y){let k=y;y[0].match(/\d/)&&(k=Hbe+k),Jd[k]!==void 0&&(Jd[k].link=Go.formatUrl(o,m),m.securityLevel==="sandbox"?Jd[k].linkTarget="_top":typeof f=="string"?Jd[k].linkTarget=mj(f):Jd[k].linkTarget="_blank")}),qbe(s,"clickable")},GHt=function(s,o,f){s.split(",").forEach(function(m){WHt(m,o,f),Jd[m].haveCallback=!0}),qbe(s,"clickable")},WHt=function(s,o,f){const m=Qt();let y=s,k=RHe(y);if(m.securityLevel==="loose"&&o!==void 0&&Jd[y]!==void 0){let v=[];if(typeof f=="string"){v=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let A=0;A<v.length;A++){let O=v[A].trim();O.charAt(0)==='"'&&O.charAt(O.length-1)==='"'&&(O=O.substr(1,O.length-2)),v[A]=O}}v.length===0&&v.push(k),pj.push(function(){const A=document.querySelector(`[id="${k}"]`);A!==null&&A.addEventListener("click",function(){Go.runFunc(o,...v)},!1)})}},KHt=function(s){pj.forEach(function(o){o(s)})},YHt={LINE:0,DOTTED_LINE:1},XHt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},FHe=function(s){let o=Or(".mermaidTooltip");(o._groups||o)[0][0]===null&&(o=Or("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),Or(s).select("svg").selectAll("g.node").on("mouseover",function(){const y=Or(this);if(y.attr("title")===null)return;const v=this.getBoundingClientRect();o.transition().duration(200).style("opacity",".9"),o.text(y.attr("title")).style("left",window.scrollX+v.left+(v.right-v.left)/2+"px").style("top",window.scrollY+v.top-14+document.body.scrollTop+"px"),o.html(o.html().replace(/&lt;br\/&gt;/g,"<br/>")),y.classed("hover",!0)}).on("mouseout",function(){o.transition().duration(500).style("opacity",0),Or(this).classed("hover",!1)})};pj.push(FHe);let jHe="TB";const OO={parseDirective:OHt,setAccTitle:fv,getAccTitle:qb,getAccDescription:Gb,setAccDescription:Ub,getConfig:()=>Qt().class,addClass:Vbe,bindFunctions:KHt,clear:DHt,getClass:PHt,getClasses:NHt,getNotes:BHt,addAnnotation:jHt,addNote:HHt,getRelations:RHt,addRelation:FHt,getDirection:()=>jHe,setDirection:s=>{jHe=s},addMember:BHe,addMembers:$Ht,cleanupLabel:zHt,lineType:YHt,relationType:XHt,setClickEvent:GHt,setCssClass:qbe,setLink:UHt,getTooltip:qHt,setTooltip:VHt,lookUpDomId:RHe,setDiagramTitle:A3,getDiagramTitle:M3};function G5(s){return s!=null&&typeof s=="object"}var QHt="[object Symbol]";function IS(s){return typeof s=="symbol"||G5(s)&&_S(s)==QHt}function DO(s,o){for(var f=-1,m=s==null?0:s.length,y=Array(m);++f<m;)y[f]=o(s[f],f,s);return y}var ZHt=Array.isArray;const O1=ZHt;var JHt=1/0,$He=mw?mw.prototype:void 0,HHe=$He?$He.toString:void 0;function zHe(s){if(typeof s=="string")return s;if(O1(s))return DO(s,zHe)+"";if(IS(s))return HHe?HHe.call(s):"";var o=s+"";return o=="0"&&1/s==-JHt?"-0":o}var ezt=/\s/;function tzt(s){for(var o=s.length;o--&&ezt.test(s.charAt(o)););return o}var nzt=/^\s+/;function rzt(s){return s&&s.slice(0,tzt(s)+1).replace(nzt,"")}var VHe=0/0,izt=/^[-+]0x[0-9a-f]+$/i,szt=/^0b[01]+$/i,azt=/^0o[0-7]+$/i,ozt=parseInt;function czt(s){if(typeof s=="number")return s;if(IS(s))return VHe;if(Vb(s)){var o=typeof s.valueOf=="function"?s.valueOf():s;s=Vb(o)?o+"":o}if(typeof s!="string")return s===0?s:+s;s=rzt(s);var f=szt.test(s);return f||azt.test(s)?ozt(s.slice(2),f?2:8):izt.test(s)?VHe:+s}var qHe=1/0,lzt=17976931348623157e292;function nJ(s){if(!s)return s===0?s:0;if(s=czt(s),s===qHe||s===-qHe){var o=s<0?-1:1;return o*lzt}return s===s?s:0}function uzt(s){var o=nJ(s),f=o%1;return o===o?f?o-f:o:0}function OS(s){return s}var hzt=kS(E3,"WeakMap");const Ube=hzt;var UHe=Object.create,fzt=function(){function s(){}return function(o){if(!Vb(o))return{};if(UHe)return UHe(o);s.prototype=o;var f=new s;return s.prototype=void 0,f}}();const dzt=fzt;function gzt(s,o,f){switch(f.length){case 0:return s.call(o);case 1:return s.call(o,f[0]);case 2:return s.call(o,f[0],f[1]);case 3:return s.call(o,f[0],f[1],f[2])}return s.apply(o,f)}function pzt(){}function GHe(s,o){var f=-1,m=s.length;for(o||(o=Array(m));++f<m;)o[f]=s[f];return o}var mzt=800,vzt=16,bzt=Date.now;function wzt(s){var o=0,f=0;return function(){var m=bzt(),y=vzt-(m-f);if(f=m,y>0){if(++o>=mzt)return arguments[0]}else o=0;return s.apply(void 0,arguments)}}function PO(s){return function(){return s}}var yzt=function(){try{var s=kS(Object,"defineProperty");return s({},"",{}),s}catch{}}();const rJ=yzt;var _zt=rJ?function(s,o){return rJ(s,"toString",{configurable:!0,enumerable:!1,value:PO(o),writable:!0})}:OS,xzt=wzt(_zt);const WHe=xzt;function KHe(s,o){for(var f=-1,m=s==null?0:s.length;++f<m&&o(s[f],f,s)!==!1;);return s}function YHe(s,o,f,m){for(var y=s.length,k=f+(m?1:-1);m?k--:++k<y;)if(o(s[k],k,s))return k;return-1}function kzt(s){return s!==s}function Ezt(s,o,f){for(var m=f-1,y=s.length;++m<y;)if(s[m]===o)return m;return-1}function Tzt(s,o,f){return o===o?Ezt(s,o,f):YHe(s,kzt,f)}function Szt(s,o){var f=s==null?0:s.length;return!!f&&Tzt(s,o,0)>-1}var Czt=9007199254740991,Azt=/^(?:0|[1-9]\d*)$/;function iJ(s,o){var f=typeof s;return o=o??Czt,!!o&&(f=="number"||f!="symbol"&&Azt.test(s))&&s>-1&&s%1==0&&s<o}function sJ(s,o,f){o=="__proto__"&&rJ?rJ(s,o,{configurable:!0,enumerable:!0,value:f,writable:!0}):s[o]=f}var Mzt=Object.prototype,Lzt=Mzt.hasOwnProperty;function aJ(s,o,f){var m=s[o];(!(Lzt.call(s,o)&&SO(m,f))||f===void 0&&!(o in s))&&sJ(s,o,f)}function bj(s,o,f,m){var y=!f;f||(f={});for(var k=-1,v=o.length;++k<v;){var A=o[k],O=m?m(f[A],s[A],A,f,s):void 0;O===void 0&&(O=s[A]),y?sJ(f,A,O):aJ(f,A,O)}return f}var XHe=Math.max;function QHe(s,o,f){return o=XHe(o===void 0?s.length-1:o,0),function(){for(var m=arguments,y=-1,k=XHe(m.length-o,0),v=Array(k);++y<k;)v[y]=m[o+y];y=-1;for(var A=Array(o+1);++y<o;)A[y]=m[y];return A[o]=f(v),gzt(s,this,A)}}function oJ(s,o){return WHe(QHe(s,o,OS),s+"")}var Izt=9007199254740991;function Gbe(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=Izt}function u7(s){return s!=null&&Gbe(s.length)&&!TO(s)}function wj(s,o,f){if(!Vb(f))return!1;var m=typeof o;return(m=="number"?u7(f)&&iJ(o,f.length):m=="string"&&o in f)?SO(f[o],s):!1}function Ozt(s){return oJ(function(o,f){var m=-1,y=f.length,k=y>1?f[y-1]:void 0,v=y>2?f[2]:void 0;for(k=s.length>3&&typeof k=="function"?(y--,k):void 0,v&&wj(f[0],f[1],v)&&(k=y<3?void 0:k,y=1),o=Object(o);++m<y;){var A=f[m];A&&s(o,A,m,k)}return o})}var Dzt=Object.prototype;function cJ(s){var o=s&&s.constructor,f=typeof o=="function"&&o.prototype||Dzt;return s===f}function Pzt(s,o){for(var f=-1,m=Array(s);++f<s;)m[f]=o(f);return m}var Nzt="[object Arguments]";function ZHe(s){return G5(s)&&_S(s)==Nzt}var JHe=Object.prototype,Rzt=JHe.hasOwnProperty,Bzt=JHe.propertyIsEnumerable,Fzt=ZHe(function(){return arguments}())?ZHe:function(s){return G5(s)&&Rzt.call(s,"callee")&&!Bzt.call(s,"callee")};const NO=Fzt;function jzt(){return!1}var eze=w&&!w.nodeType&&w,tze=eze&&!0&&g&&!g.nodeType&&g,$zt=tze&&tze.exports===eze,nze=$zt?E3.Buffer:void 0,Hzt=nze?nze.isBuffer:void 0,zzt=Hzt||jzt;const RO=zzt;var Vzt="[object Arguments]",qzt="[object Array]",Uzt="[object Boolean]",Gzt="[object Date]",Wzt="[object Error]",Kzt="[object Function]",Yzt="[object Map]",Xzt="[object Number]",Qzt="[object Object]",Zzt="[object RegExp]",Jzt="[object Set]",eVt="[object String]",tVt="[object WeakMap]",nVt="[object ArrayBuffer]",rVt="[object DataView]",iVt="[object Float32Array]",sVt="[object Float64Array]",aVt="[object Int8Array]",oVt="[object Int16Array]",cVt="[object Int32Array]",lVt="[object Uint8Array]",uVt="[object Uint8ClampedArray]",hVt="[object Uint16Array]",fVt="[object Uint32Array]",ff={};ff[iVt]=ff[sVt]=ff[aVt]=ff[oVt]=ff[cVt]=ff[lVt]=ff[uVt]=ff[hVt]=ff[fVt]=!0,ff[Vzt]=ff[qzt]=ff[nVt]=ff[Uzt]=ff[rVt]=ff[Gzt]=ff[Wzt]=ff[Kzt]=ff[Yzt]=ff[Xzt]=ff[Qzt]=ff[Zzt]=ff[Jzt]=ff[eVt]=ff[tVt]=!1;function dVt(s){return G5(s)&&Gbe(s.length)&&!!ff[_S(s)]}function lJ(s){return function(o){return s(o)}}var rze=w&&!w.nodeType&&w,yj=rze&&!0&&g&&!g.nodeType&&g,gVt=yj&&yj.exports===rze,Wbe=gVt&&P$e.process,pVt=function(){try{var s=yj&&yj.require&&yj.require("util").types;return s||Wbe&&Wbe.binding&&Wbe.binding("util")}catch{}}();const BO=pVt;var ize=BO&&BO.isTypedArray,mVt=ize?lJ(ize):dVt;const uJ=mVt;var vVt=Object.prototype,bVt=vVt.hasOwnProperty;function sze(s,o){var f=O1(s),m=!f&&NO(s),y=!f&&!m&&RO(s),k=!f&&!m&&!y&&uJ(s),v=f||m||y||k,A=v?Pzt(s.length,String):[],O=A.length;for(var j in s)(o||bVt.call(s,j))&&!(v&&(j=="length"||y&&(j=="offset"||j=="parent")||k&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||iJ(j,O)))&&A.push(j);return A}function aze(s,o){return function(f){return s(o(f))}}var wVt=aze(Object.keys,Object);const yVt=wVt;var _Vt=Object.prototype,xVt=_Vt.hasOwnProperty;function oze(s){if(!cJ(s))return yVt(s);var o=[];for(var f in Object(s))xVt.call(s,f)&&f!="constructor"&&o.push(f);return o}function Kb(s){return u7(s)?sze(s):oze(s)}function kVt(s){var o=[];if(s!=null)for(var f in Object(s))o.push(f);return o}var EVt=Object.prototype,TVt=EVt.hasOwnProperty;function SVt(s){if(!Vb(s))return kVt(s);var o=cJ(s),f=[];for(var m in s)m=="constructor"&&(o||!TVt.call(s,m))||f.push(m);return f}function DS(s){return u7(s)?sze(s,!0):SVt(s)}var CVt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,AVt=/^\w*$/;function Kbe(s,o){if(O1(s))return!1;var f=typeof s;return f=="number"||f=="symbol"||f=="boolean"||s==null||IS(s)?!0:AVt.test(s)||!CVt.test(s)||o!=null&&s in Object(o)}var MVt=500;function LVt(s){var o=CO(s,function(m){return f.size===MVt&&f.clear(),m}),f=o.cache;return o}var IVt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OVt=/\\(\\)?/g,DVt=LVt(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(IVt,function(f,m,y,k){o.push(y?k.replace(OVt,"$1"):m||f)}),o});const PVt=DVt;function cze(s){return s==null?"":zHe(s)}function hJ(s,o){return O1(s)?s:Kbe(s,o)?[s]:PVt(cze(s))}var NVt=1/0;function _j(s){if(typeof s=="string"||IS(s))return s;var o=s+"";return o=="0"&&1/s==-NVt?"-0":o}function fJ(s,o){o=hJ(o,s);for(var f=0,m=o.length;s!=null&&f<m;)s=s[_j(o[f++])];return f&&f==m?s:void 0}function RVt(s,o,f){var m=s==null?void 0:fJ(s,o);return m===void 0?f:m}function Ybe(s,o){for(var f=-1,m=o.length,y=s.length;++f<m;)s[y+f]=o[f];return s}var lze=mw?mw.isConcatSpreadable:void 0;function BVt(s){return O1(s)||NO(s)||!!(lze&&s&&s[lze])}function dJ(s,o,f,m,y){var k=-1,v=s.length;for(f||(f=BVt),y||(y=[]);++k<v;){var A=s[k];o>0&&f(A)?o>1?dJ(A,o-1,f,m,y):Ybe(y,A):m||(y[y.length]=A)}return y}function FO(s){var o=s==null?0:s.length;return o?dJ(s,1):[]}function FVt(s){return WHe(QHe(s,void 0,FO),s+"")}var jVt=aze(Object.getPrototypeOf,Object);const Xbe=jVt;var $Vt="[object Object]",HVt=Function.prototype,zVt=Object.prototype,uze=HVt.toString,VVt=zVt.hasOwnProperty,qVt=uze.call(Object);function hze(s){if(!G5(s)||_S(s)!=$Vt)return!1;var o=Xbe(s);if(o===null)return!0;var f=VVt.call(o,"constructor")&&o.constructor;return typeof f=="function"&&f instanceof f&&uze.call(f)==qVt}function UVt(s,o,f,m){var y=-1,k=s==null?0:s.length;for(m&&k&&(f=s[++y]);++y<k;)f=o(f,s[y],y,s);return f}function GVt(){this.__data__=new cx,this.size=0}function WVt(s){var o=this.__data__,f=o.delete(s);return this.size=o.size,f}function KVt(s){return this.__data__.get(s)}function YVt(s){return this.__data__.has(s)}var XVt=200;function QVt(s,o){var f=this.__data__;if(f instanceof cx){var m=f.__data__;if(!rj||m.length<XVt-1)return m.push([s,o]),this.size=++f.size,this;f=this.__data__=new lx(m)}return f.set(s,o),this.size=f.size,this}function D3(s){var o=this.__data__=new cx(s);this.size=o.size}D3.prototype.clear=GVt,D3.prototype.delete=WVt,D3.prototype.get=KVt,D3.prototype.has=YVt,D3.prototype.set=QVt;function ZVt(s,o){return s&&bj(o,Kb(o),s)}function JVt(s,o){return s&&bj(o,DS(o),s)}var fze=w&&!w.nodeType&&w,dze=fze&&!0&&g&&!g.nodeType&&g,eqt=dze&&dze.exports===fze,gze=eqt?E3.Buffer:void 0,pze=gze?gze.allocUnsafe:void 0;function mze(s,o){if(o)return s.slice();var f=s.length,m=pze?pze(f):new s.constructor(f);return s.copy(m),m}function vze(s,o){for(var f=-1,m=s==null?0:s.length,y=0,k=[];++f<m;){var v=s[f];o(v,f,s)&&(k[y++]=v)}return k}function bze(){return[]}var tqt=Object.prototype,nqt=tqt.propertyIsEnumerable,wze=Object.getOwnPropertySymbols,rqt=wze?function(s){return s==null?[]:(s=Object(s),vze(wze(s),function(o){return nqt.call(s,o)}))}:bze;const Qbe=rqt;function iqt(s,o){return bj(s,Qbe(s),o)}var sqt=Object.getOwnPropertySymbols,aqt=sqt?function(s){for(var o=[];s;)Ybe(o,Qbe(s)),s=Xbe(s);return o}:bze;const yze=aqt;function oqt(s,o){return bj(s,yze(s),o)}function _ze(s,o,f){var m=o(s);return O1(s)?m:Ybe(m,f(s))}function Zbe(s){return _ze(s,Kb,Qbe)}function cqt(s){return _ze(s,DS,yze)}var lqt=kS(E3,"DataView");const Jbe=lqt;var uqt=kS(E3,"Promise");const e2e=uqt;var hqt=kS(E3,"Set");const jO=hqt;var xze="[object Map]",fqt="[object Object]",kze="[object Promise]",Eze="[object Set]",Tze="[object WeakMap]",Sze="[object DataView]",dqt=xS(Jbe),gqt=xS(rj),pqt=xS(e2e),mqt=xS(jO),vqt=xS(Ube),PS=_S;(Jbe&&PS(new Jbe(new ArrayBuffer(1)))!=Sze||rj&&PS(new rj)!=xze||e2e&&PS(e2e.resolve())!=kze||jO&&PS(new jO)!=Eze||Ube&&PS(new Ube)!=Tze)&&(PS=function(s){var o=_S(s),f=o==fqt?s.constructor:void 0,m=f?xS(f):"";if(m)switch(m){case dqt:return Sze;case gqt:return xze;case pqt:return kze;case mqt:return Eze;case vqt:return Tze}return o});const $O=PS;var bqt=Object.prototype,wqt=bqt.hasOwnProperty;function yqt(s){var o=s.length,f=new s.constructor(o);return o&&typeof s[0]=="string"&&wqt.call(s,"index")&&(f.index=s.index,f.input=s.input),f}var _qt=E3.Uint8Array;const gJ=_qt;function t2e(s){var o=new s.constructor(s.byteLength);return new gJ(o).set(new gJ(s)),o}function xqt(s,o){var f=o?t2e(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.byteLength)}var kqt=/\w*$/;function Eqt(s){var o=new s.constructor(s.source,kqt.exec(s));return o.lastIndex=s.lastIndex,o}var Cze=mw?mw.prototype:void 0,Aze=Cze?Cze.valueOf:void 0;function Tqt(s){return Aze?Object(Aze.call(s)):{}}function Mze(s,o){var f=o?t2e(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.length)}var Sqt="[object Boolean]",Cqt="[object Date]",Aqt="[object Map]",Mqt="[object Number]",Lqt="[object RegExp]",Iqt="[object Set]",Oqt="[object String]",Dqt="[object Symbol]",Pqt="[object ArrayBuffer]",Nqt="[object DataView]",Rqt="[object Float32Array]",Bqt="[object Float64Array]",Fqt="[object Int8Array]",jqt="[object Int16Array]",$qt="[object Int32Array]",Hqt="[object Uint8Array]",zqt="[object Uint8ClampedArray]",Vqt="[object Uint16Array]",qqt="[object Uint32Array]";function Uqt(s,o,f){var m=s.constructor;switch(o){case Pqt:return t2e(s);case Sqt:case Cqt:return new m(+s);case Nqt:return xqt(s,f);case Rqt:case Bqt:case Fqt:case jqt:case $qt:case Hqt:case zqt:case Vqt:case qqt:return Mze(s,f);case Aqt:return new m;case Mqt:case Oqt:return new m(s);case Lqt:return Eqt(s);case Iqt:return new m;case Dqt:return Tqt(s)}}function Lze(s){return typeof s.constructor=="function"&&!cJ(s)?dzt(Xbe(s)):{}}var Gqt="[object Map]";function Wqt(s){return G5(s)&&$O(s)==Gqt}var Ize=BO&&BO.isMap,Kqt=Ize?lJ(Ize):Wqt;const Yqt=Kqt;var Xqt="[object Set]";function Qqt(s){return G5(s)&&$O(s)==Xqt}var Oze=BO&&BO.isSet,Zqt=Oze?lJ(Oze):Qqt;const Jqt=Zqt;var eUt=1,tUt=2,nUt=4,Dze="[object Arguments]",rUt="[object Array]",iUt="[object Boolean]",sUt="[object Date]",aUt="[object Error]",Pze="[object Function]",oUt="[object GeneratorFunction]",cUt="[object Map]",lUt="[object Number]",Nze="[object Object]",uUt="[object RegExp]",hUt="[object Set]",fUt="[object String]",dUt="[object Symbol]",gUt="[object WeakMap]",pUt="[object ArrayBuffer]",mUt="[object DataView]",vUt="[object Float32Array]",bUt="[object Float64Array]",wUt="[object Int8Array]",yUt="[object Int16Array]",_Ut="[object Int32Array]",xUt="[object Uint8Array]",kUt="[object Uint8ClampedArray]",EUt="[object Uint16Array]",TUt="[object Uint32Array]",Qh={};Qh[Dze]=Qh[rUt]=Qh[pUt]=Qh[mUt]=Qh[iUt]=Qh[sUt]=Qh[vUt]=Qh[bUt]=Qh[wUt]=Qh[yUt]=Qh[_Ut]=Qh[cUt]=Qh[lUt]=Qh[Nze]=Qh[uUt]=Qh[hUt]=Qh[fUt]=Qh[dUt]=Qh[xUt]=Qh[kUt]=Qh[EUt]=Qh[TUt]=!0,Qh[aUt]=Qh[Pze]=Qh[gUt]=!1;function xj(s,o,f,m,y,k){var v,A=o&eUt,O=o&tUt,j=o&nUt;if(f&&(v=y?f(s,m,y,k):f(s)),v!==void 0)return v;if(!Vb(s))return s;var z=O1(s);if(z){if(v=yqt(s),!A)return GHe(s,v)}else{var V=$O(s),Y=V==Pze||V==oUt;if(RO(s))return mze(s,A);if(V==Nze||V==Dze||Y&&!y){if(v=O||Y?{}:Lze(s),!A)return O?oqt(s,JVt(v,s)):iqt(s,ZVt(v,s))}else{if(!Qh[V])return y?s:{};v=Uqt(s,V,A)}}k||(k=new D3);var G=k.get(s);if(G)return G;k.set(s,v),Jqt(s)?s.forEach(function(me){v.add(xj(me,o,f,me,s,k))}):Yqt(s)&&s.forEach(function(me,_e){v.set(_e,xj(me,o,f,_e,s,k))});var J=j?O?cqt:Zbe:O?DS:Kb,ce=z?void 0:J(s);return KHe(ce||s,function(me,_e){ce&&(_e=me,me=s[_e]),aJ(v,_e,xj(me,o,f,_e,s,k))}),v}var SUt=4;function CUt(s){return xj(s,SUt)}var AUt=1,MUt=4;function LUt(s){return xj(s,AUt|MUt)}var IUt="__lodash_hash_undefined__";function OUt(s){return this.__data__.set(s,IUt),this}function DUt(s){return this.__data__.has(s)}function kj(s){var o=-1,f=s==null?0:s.length;for(this.__data__=new lx;++o<f;)this.add(s[o])}kj.prototype.add=kj.prototype.push=OUt,kj.prototype.has=DUt;function PUt(s,o){for(var f=-1,m=s==null?0:s.length;++f<m;)if(o(s[f],f,s))return!0;return!1}function Rze(s,o){return s.has(o)}var NUt=1,RUt=2;function Bze(s,o,f,m,y,k){var v=f&NUt,A=s.length,O=o.length;if(A!=O&&!(v&&O>A))return!1;var j=k.get(s),z=k.get(o);if(j&&z)return j==o&&z==s;var V=-1,Y=!0,G=f&RUt?new kj:void 0;for(k.set(s,o),k.set(o,s);++V<A;){var J=s[V],ce=o[V];if(m)var me=v?m(ce,J,V,o,s,k):m(J,ce,V,s,o,k);if(me!==void 0){if(me)continue;Y=!1;break}if(G){if(!PUt(o,function(_e,we){if(!Rze(G,we)&&(J===_e||y(J,_e,f,m,k)))return G.push(we)})){Y=!1;break}}else if(!(J===ce||y(J,ce,f,m,k))){Y=!1;break}}return k.delete(s),k.delete(o),Y}function BUt(s){var o=-1,f=Array(s.size);return s.forEach(function(m,y){f[++o]=[y,m]}),f}function n2e(s){var o=-1,f=Array(s.size);return s.forEach(function(m){f[++o]=m}),f}var FUt=1,jUt=2,$Ut="[object Boolean]",HUt="[object Date]",zUt="[object Error]",VUt="[object Map]",qUt="[object Number]",UUt="[object RegExp]",GUt="[object Set]",WUt="[object String]",KUt="[object Symbol]",YUt="[object ArrayBuffer]",XUt="[object DataView]",Fze=mw?mw.prototype:void 0,r2e=Fze?Fze.valueOf:void 0;function QUt(s,o,f,m,y,k,v){switch(f){case XUt:if(s.byteLength!=o.byteLength||s.byteOffset!=o.byteOffset)return!1;s=s.buffer,o=o.buffer;case YUt:return!(s.byteLength!=o.byteLength||!k(new gJ(s),new gJ(o)));case $Ut:case HUt:case qUt:return SO(+s,+o);case zUt:return s.name==o.name&&s.message==o.message;case UUt:case WUt:return s==o+"";case VUt:var A=BUt;case GUt:var O=m&FUt;if(A||(A=n2e),s.size!=o.size&&!O)return!1;var j=v.get(s);if(j)return j==o;m|=jUt,v.set(s,o);var z=Bze(A(s),A(o),m,y,k,v);return v.delete(s),z;case KUt:if(r2e)return r2e.call(s)==r2e.call(o)}return!1}var ZUt=1,JUt=Object.prototype,eGt=JUt.hasOwnProperty;function tGt(s,o,f,m,y,k){var v=f&ZUt,A=Zbe(s),O=A.length,j=Zbe(o),z=j.length;if(O!=z&&!v)return!1;for(var V=O;V--;){var Y=A[V];if(!(v?Y in o:eGt.call(o,Y)))return!1}var G=k.get(s),J=k.get(o);if(G&&J)return G==o&&J==s;var ce=!0;k.set(s,o),k.set(o,s);for(var me=v;++V<O;){Y=A[V];var _e=s[Y],we=o[Y];if(m)var Se=v?m(we,_e,Y,o,s,k):m(_e,we,Y,s,o,k);if(!(Se===void 0?_e===we||y(_e,we,f,m,k):Se)){ce=!1;break}me||(me=Y=="constructor")}if(ce&&!me){var Oe=s.constructor,De=o.constructor;Oe!=De&&"constructor"in s&&"constructor"in o&&!(typeof Oe=="function"&&Oe instanceof Oe&&typeof De=="function"&&De instanceof De)&&(ce=!1)}return k.delete(s),k.delete(o),ce}var nGt=1,jze="[object Arguments]",$ze="[object Array]",pJ="[object Object]",rGt=Object.prototype,Hze=rGt.hasOwnProperty;function iGt(s,o,f,m,y,k){var v=O1(s),A=O1(o),O=v?$ze:$O(s),j=A?$ze:$O(o);O=O==jze?pJ:O,j=j==jze?pJ:j;var z=O==pJ,V=j==pJ,Y=O==j;if(Y&&RO(s)){if(!RO(o))return!1;v=!0,z=!1}if(Y&&!z)return k||(k=new D3),v||uJ(s)?Bze(s,o,f,m,y,k):QUt(s,o,O,f,m,y,k);if(!(f&nGt)){var G=z&&Hze.call(s,"__wrapped__"),J=V&&Hze.call(o,"__wrapped__");if(G||J){var ce=G?s.value():s,me=J?o.value():o;return k||(k=new D3),y(ce,me,f,m,k)}}return Y?(k||(k=new D3),tGt(s,o,f,m,y,k)):!1}function i2e(s,o,f,m,y){return s===o?!0:s==null||o==null||!G5(s)&&!G5(o)?s!==s&&o!==o:iGt(s,o,f,m,i2e,y)}var sGt=1,aGt=2;function oGt(s,o,f,m){var y=f.length,k=y,v=!m;if(s==null)return!k;for(s=Object(s);y--;){var A=f[y];if(v&&A[2]?A[1]!==s[A[0]]:!(A[0]in s))return!1}for(;++y<k;){A=f[y];var O=A[0],j=s[O],z=A[1];if(v&&A[2]){if(j===void 0&&!(O in s))return!1}else{var V=new D3;if(m)var Y=m(j,z,O,s,o,V);if(!(Y===void 0?i2e(z,j,sGt|aGt,m,V):Y))return!1}}return!0}function zze(s){return s===s&&!Vb(s)}function cGt(s){for(var o=Kb(s),f=o.length;f--;){var m=o[f],y=s[m];o[f]=[m,y,zze(y)]}return o}function Vze(s,o){return function(f){return f==null?!1:f[s]===o&&(o!==void 0||s in Object(f))}}function lGt(s){var o=cGt(s);return o.length==1&&o[0][2]?Vze(o[0][0],o[0][1]):function(f){return f===s||oGt(f,s,o)}}function uGt(s,o){return s!=null&&o in Object(s)}function qze(s,o,f){o=hJ(o,s);for(var m=-1,y=o.length,k=!1;++m<y;){var v=_j(o[m]);if(!(k=s!=null&&f(s,v)))break;s=s[v]}return k||++m!=y?k:(y=s==null?0:s.length,!!y&&Gbe(y)&&iJ(v,y)&&(O1(s)||NO(s)))}function Uze(s,o){return s!=null&&qze(s,o,uGt)}var hGt=1,fGt=2;function dGt(s,o){return Kbe(s)&&zze(o)?Vze(_j(s),o):function(f){var m=RVt(f,s);return m===void 0&&m===o?Uze(f,s):i2e(o,m,hGt|fGt)}}function gGt(s){return function(o){return o==null?void 0:o[s]}}function pGt(s){return function(o){return fJ(o,s)}}function mGt(s){return Kbe(s)?gGt(_j(s)):pGt(s)}function h7(s){return typeof s=="function"?s:s==null?OS:typeof s=="object"?O1(s)?dGt(s[0],s[1]):lGt(s):mGt(s)}function vGt(s){return function(o,f,m){for(var y=-1,k=Object(o),v=m(o),A=v.length;A--;){var O=v[s?A:++y];if(f(k[O],O,k)===!1)break}return o}}var bGt=vGt();const s2e=bGt;function Gze(s,o){return s&&s2e(s,o,Kb)}function wGt(s,o){return function(f,m){if(f==null)return f;if(!u7(f))return s(f,m);for(var y=f.length,k=o?y:-1,v=Object(f);(o?k--:++k<y)&&m(v[k],k,v)!==!1;);return f}}var yGt=wGt(Gze);const mJ=yGt;var _Gt=function(){return E3.Date.now()};const Wze=_Gt;var Kze=Object.prototype,xGt=Kze.hasOwnProperty,kGt=oJ(function(s,o){s=Object(s);var f=-1,m=o.length,y=m>2?o[2]:void 0;for(y&&wj(o[0],o[1],y)&&(m=1);++f<m;)for(var k=o[f],v=DS(k),A=-1,O=v.length;++A<O;){var j=v[A],z=s[j];(z===void 0||SO(z,Kze[j])&&!xGt.call(s,j))&&(s[j]=k[j])}return s});const HO=kGt;function a2e(s,o,f){(f!==void 0&&!SO(s[o],f)||f===void 0&&!(o in s))&&sJ(s,o,f)}function Yze(s){return G5(s)&&u7(s)}function o2e(s,o){if(!(o==="constructor"&&typeof s[o]=="function")&&o!="__proto__")return s[o]}function EGt(s){return bj(s,DS(s))}function TGt(s,o,f,m,y,k,v){var A=o2e(s,f),O=o2e(o,f),j=v.get(O);if(j){a2e(s,f,j);return}var z=k?k(A,O,f+"",s,o,v):void 0,V=z===void 0;if(V){var Y=O1(O),G=!Y&&RO(O),J=!Y&&!G&&uJ(O);z=O,Y||G||J?O1(A)?z=A:Yze(A)?z=GHe(A):G?(V=!1,z=mze(O,!0)):J?(V=!1,z=Mze(O,!0)):z=[]:hze(O)||NO(O)?(z=A,NO(A)?z=EGt(A):(!Vb(A)||TO(A))&&(z=Lze(O))):V=!1}V&&(v.set(O,z),y(z,O,m,k,v),v.delete(O)),a2e(s,f,z)}function Xze(s,o,f,m,y){s!==o&&s2e(o,function(k,v){if(y||(y=new D3),Vb(k))TGt(s,o,v,f,Xze,m,y);else{var A=m?m(o2e(s,v),k,v+"",s,o,y):void 0;A===void 0&&(A=k),a2e(s,v,A)}},DS)}function SGt(s,o,f){for(var m=-1,y=s==null?0:s.length;++m<y;)if(f(o,s[m]))return!0;return!1}function vJ(s){var o=s==null?0:s.length;return o?s[o-1]:void 0}function Qze(s){return typeof s=="function"?s:OS}function $r(s,o){var f=O1(s)?KHe:mJ;return f(s,Qze(o))}function CGt(s,o){var f=[];return mJ(s,function(m,y,k){o(m,y,k)&&f.push(m)}),f}function hx(s,o){var f=O1(s)?vze:CGt;return f(s,h7(o))}function AGt(s){return function(o,f,m){var y=Object(o);if(!u7(o)){var k=h7(f);o=Kb(o),f=function(A){return k(y[A],A,y)}}var v=s(o,f,m);return v>-1?y[k?o[v]:v]:void 0}}var MGt=Math.max;function LGt(s,o,f){var m=s==null?0:s.length;if(!m)return-1;var y=f==null?0:uzt(f);return y<0&&(y=MGt(m+y,0)),YHe(s,h7(o),y)}var IGt=AGt(LGt);const c2e=IGt;function Zze(s,o){var f=-1,m=u7(s)?Array(s.length):[];return mJ(s,function(y,k,v){m[++f]=o(y,k,v)}),m}function D1(s,o){var f=O1(s)?DO:Zze;return f(s,h7(o))}function OGt(s,o){return s==null?s:s2e(s,Qze(o),DS)}function DGt(s,o){return s>o}var PGt=Object.prototype,NGt=PGt.hasOwnProperty;function RGt(s,o){return s!=null&&NGt.call(s,o)}function dc(s,o){return s!=null&&qze(s,o,RGt)}function BGt(s,o){return DO(o,function(f){return s[f]})}function fx(s){return s==null?[]:BGt(s,Kb(s))}var FGt="[object Map]",jGt="[object Set]",$Gt=Object.prototype,HGt=$Gt.hasOwnProperty;function zO(s){if(s==null)return!0;if(u7(s)&&(O1(s)||typeof s=="string"||typeof s.splice=="function"||RO(s)||uJ(s)||NO(s)))return!s.length;var o=$O(s);if(o==FGt||o==jGt)return!s.size;if(cJ(s))return!oze(s).length;for(var f in s)if(HGt.call(s,f))return!1;return!0}function e1(s){return s===void 0}function Jze(s,o){return s<o}function bJ(s,o){var f={};return o=h7(o),Gze(s,function(m,y,k){sJ(f,y,o(m,y,k))}),f}function l2e(s,o,f){for(var m=-1,y=s.length;++m<y;){var k=s[m],v=o(k);if(v!=null&&(A===void 0?v===v&&!IS(v):f(v,A)))var A=v,O=k}return O}function NS(s){return s&&s.length?l2e(s,OS,DGt):void 0}var zGt=Ozt(function(s,o,f){Xze(s,o,f)});const u2e=zGt;function Ej(s){return s&&s.length?l2e(s,OS,Jze):void 0}function h2e(s,o){return s&&s.length?l2e(s,h7(o),Jze):void 0}function VGt(s,o,f,m){if(!Vb(s))return s;o=hJ(o,s);for(var y=-1,k=o.length,v=k-1,A=s;A!=null&&++y<k;){var O=_j(o[y]),j=f;if(O==="__proto__"||O==="constructor"||O==="prototype")return s;if(y!=v){var z=A[O];j=m?m(z,O,A):void 0,j===void 0&&(j=Vb(z)?z:iJ(o[y+1])?[]:{})}aJ(A,O,j),A=A[O]}return s}function qGt(s,o,f){for(var m=-1,y=o.length,k={};++m<y;){var v=o[m],A=fJ(s,v);f(A,v)&&VGt(k,hJ(v,s),A)}return k}function UGt(s,o){var f=s.length;for(s.sort(o);f--;)s[f]=s[f].value;return s}function GGt(s,o){if(s!==o){var f=s!==void 0,m=s===null,y=s===s,k=IS(s),v=o!==void 0,A=o===null,O=o===o,j=IS(o);if(!A&&!j&&!k&&s>o||k&&v&&O&&!A&&!j||m&&v&&O||!f&&O||!y)return 1;if(!m&&!k&&!j&&s<o||j&&f&&y&&!m&&!k||A&&f&&y||!v&&y||!O)return-1}return 0}function WGt(s,o,f){for(var m=-1,y=s.criteria,k=o.criteria,v=y.length,A=f.length;++m<v;){var O=GGt(y[m],k[m]);if(O){if(m>=A)return O;var j=f[m];return O*(j=="desc"?-1:1)}}return s.index-o.index}function KGt(s,o,f){o.length?o=DO(o,function(k){return O1(k)?function(v){return fJ(v,k.length===1?k[0]:k)}:k}):o=[OS];var m=-1;o=DO(o,lJ(h7));var y=Zze(s,function(k,v,A){var O=DO(o,function(j){return j(k)});return{criteria:O,index:++m,value:k}});return UGt(y,function(k,v){return WGt(k,v,f)})}function YGt(s,o){return qGt(s,o,function(f,m){return Uze(s,m)})}var XGt=FVt(function(s,o){return s==null?{}:YGt(s,o)});const Tj=XGt;var QGt=Math.ceil,ZGt=Math.max;function JGt(s,o,f,m){for(var y=-1,k=ZGt(QGt((o-s)/(f||1)),0),v=Array(k);k--;)v[m?k:++y]=s,s+=f;return v}function eWt(s){return function(o,f,m){return m&&typeof m!="number"&&wj(o,f,m)&&(f=m=void 0),o=nJ(o),f===void 0?(f=o,o=0):f=nJ(f),m=m===void 0?o<f?1:-1:nJ(m),JGt(o,f,m,s)}}var tWt=eWt();const RS=tWt;function nWt(s,o,f,m,y){return y(s,function(k,v,A){f=m?(m=!1,k):o(f,k,v,A)}),f}function Sj(s,o,f){var m=O1(s)?UVt:nWt,y=arguments.length<3;return m(s,h7(o),f,y,mJ)}var rWt=oJ(function(s,o){if(s==null)return[];var f=o.length;return f>1&&wj(s,o[0],o[1])?o=[]:f>2&&wj(o[0],o[1],o[2])&&(o=[o[0]]),KGt(s,dJ(o,1),[])});const Cj=rWt;var iWt=1/0,sWt=jO&&1/n2e(new jO([,-0]))[1]==iWt?function(s){return new jO(s)}:pzt;const aWt=sWt;var oWt=200;function cWt(s,o,f){var m=-1,y=Szt,k=s.length,v=!0,A=[],O=A;if(f)v=!1,y=SGt;else if(k>=oWt){var j=o?null:aWt(s);if(j)return n2e(j);v=!1,y=Rze,O=new kj}else O=o?[]:A;e:for(;++m<k;){var z=s[m],V=o?o(z):z;if(z=f||z!==0?z:0,v&&V===V){for(var Y=O.length;Y--;)if(O[Y]===V)continue e;o&&O.push(V),A.push(z)}else y(O,V,f)||(O!==A&&O.push(V),A.push(z))}return A}var lWt=oJ(function(s){return cWt(dJ(s,1,Yze,!0))});const uWt=lWt;var hWt=0;function wJ(s){var o=++hWt;return cze(s)+o}function fWt(s,o,f){for(var m=-1,y=s.length,k=o.length,v={};++m<y;){var A=m<k?o[m]:void 0;f(v,s[m],A)}return v}function dWt(s,o){return fWt(s||[],o||[],aJ)}var gWt="\0",BS="\0",eVe="";class P1{constructor(o={}){this._isDirected=dc(o,"directed")?o.directed:!0,this._isMultigraph=dc(o,"multigraph")?o.multigraph:!1,this._isCompound=dc(o,"compound")?o.compound:!1,this._label=void 0,this._defaultNodeLabelFn=PO(void 0),this._defaultEdgeLabelFn=PO(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[BS]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(o){return this._label=o,this}graph(){return this._label}setDefaultNodeLabel(o){return TO(o)||(o=PO(o)),this._defaultNodeLabelFn=o,this}nodeCount(){return this._nodeCount}nodes(){return Kb(this._nodes)}sources(){var o=this;return hx(this.nodes(),function(f){return zO(o._in[f])})}sinks(){var o=this;return hx(this.nodes(),function(f){return zO(o._out[f])})}setNodes(o,f){var m=arguments,y=this;return $r(o,function(k){m.length>1?y.setNode(k,f):y.setNode(k)}),this}setNode(o,f){return dc(this._nodes,o)?(arguments.length>1&&(this._nodes[o]=f),this):(this._nodes[o]=arguments.length>1?f:this._defaultNodeLabelFn(o),this._isCompound&&(this._parent[o]=BS,this._children[o]={},this._children[BS][o]=!0),this._in[o]={},this._preds[o]={},this._out[o]={},this._sucs[o]={},++this._nodeCount,this)}node(o){return this._nodes[o]}hasNode(o){return dc(this._nodes,o)}removeNode(o){var f=this;if(dc(this._nodes,o)){var m=function(y){f.removeEdge(f._edgeObjs[y])};delete this._nodes[o],this._isCompound&&(this._removeFromParentsChildList(o),delete this._parent[o],$r(this.children(o),function(y){f.setParent(y)}),delete this._children[o]),$r(Kb(this._in[o]),m),delete this._in[o],delete this._preds[o],$r(Kb(this._out[o]),m),delete this._out[o],delete this._sucs[o],--this._nodeCount}return this}setParent(o,f){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(e1(f))f=BS;else{f+="";for(var m=f;!e1(m);m=this.parent(m))if(m===o)throw new Error("Setting "+f+" as parent of "+o+" would create a cycle");this.setNode(f)}return this.setNode(o),this._removeFromParentsChildList(o),this._parent[o]=f,this._children[f][o]=!0,this}_removeFromParentsChildList(o){delete this._children[this._parent[o]][o]}parent(o){if(this._isCompound){var f=this._parent[o];if(f!==BS)return f}}children(o){if(e1(o)&&(o=BS),this._isCompound){var f=this._children[o];if(f)return Kb(f)}else{if(o===BS)return this.nodes();if(this.hasNode(o))return[]}}predecessors(o){var f=this._preds[o];if(f)return Kb(f)}successors(o){var f=this._sucs[o];if(f)return Kb(f)}neighbors(o){var f=this.predecessors(o);if(f)return uWt(f,this.successors(o))}isLeaf(o){var f;return this.isDirected()?f=this.successors(o):f=this.neighbors(o),f.length===0}filterNodes(o){var f=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});f.setGraph(this.graph());var m=this;$r(this._nodes,function(v,A){o(A)&&f.setNode(A,v)}),$r(this._edgeObjs,function(v){f.hasNode(v.v)&&f.hasNode(v.w)&&f.setEdge(v,m.edge(v))});var y={};function k(v){var A=m.parent(v);return A===void 0||f.hasNode(A)?(y[v]=A,A):A in y?y[A]:k(A)}return this._isCompound&&$r(f.nodes(),function(v){f.setParent(v,k(v))}),f}setDefaultEdgeLabel(o){return TO(o)||(o=PO(o)),this._defaultEdgeLabelFn=o,this}edgeCount(){return this._edgeCount}edges(){return fx(this._edgeObjs)}setPath(o,f){var m=this,y=arguments;return Sj(o,function(k,v){return y.length>1?m.setEdge(k,v,f):m.setEdge(k,v),v}),this}setEdge(){var o,f,m,y,k=!1,v=arguments[0];typeof v=="object"&&v!==null&&"v"in v?(o=v.v,f=v.w,m=v.name,arguments.length===2&&(y=arguments[1],k=!0)):(o=v,f=arguments[1],m=arguments[3],arguments.length>2&&(y=arguments[2],k=!0)),o=""+o,f=""+f,e1(m)||(m=""+m);var A=Aj(this._isDirected,o,f,m);if(dc(this._edgeLabels,A))return k&&(this._edgeLabels[A]=y),this;if(!e1(m)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(o),this.setNode(f),this._edgeLabels[A]=k?y:this._defaultEdgeLabelFn(o,f,m);var O=pWt(this._isDirected,o,f,m);return o=O.v,f=O.w,Object.freeze(O),this._edgeObjs[A]=O,tVe(this._preds[f],o),tVe(this._sucs[o],f),this._in[f][A]=O,this._out[o][A]=O,this._edgeCount++,this}edge(o,f,m){var y=arguments.length===1?f2e(this._isDirected,arguments[0]):Aj(this._isDirected,o,f,m);return this._edgeLabels[y]}hasEdge(o,f,m){var y=arguments.length===1?f2e(this._isDirected,arguments[0]):Aj(this._isDirected,o,f,m);return dc(this._edgeLabels,y)}removeEdge(o,f,m){var y=arguments.length===1?f2e(this._isDirected,arguments[0]):Aj(this._isDirected,o,f,m),k=this._edgeObjs[y];return k&&(o=k.v,f=k.w,delete this._edgeLabels[y],delete this._edgeObjs[y],nVe(this._preds[f],o),nVe(this._sucs[o],f),delete this._in[f][y],delete this._out[o][y],this._edgeCount--),this}inEdges(o,f){var m=this._in[o];if(m){var y=fx(m);return f?hx(y,function(k){return k.v===f}):y}}outEdges(o,f){var m=this._out[o];if(m){var y=fx(m);return f?hx(y,function(k){return k.w===f}):y}}nodeEdges(o,f){var m=this.inEdges(o,f);if(m)return m.concat(this.outEdges(o,f))}}P1.prototype._nodeCount=0,P1.prototype._edgeCount=0;function tVe(s,o){s[o]?s[o]++:s[o]=1}function nVe(s,o){--s[o]||delete s[o]}function Aj(s,o,f,m){var y=""+o,k=""+f;if(!s&&y>k){var v=y;y=k,k=v}return y+eVe+k+eVe+(e1(m)?gWt:m)}function pWt(s,o,f,m){var y=""+o,k=""+f;if(!s&&y>k){var v=y;y=k,k=v}var A={v:y,w:k};return m&&(A.name=m),A}function f2e(s,o){return Aj(s,o.v,o.w,o.name)}class mWt{constructor(){var o={};o._next=o._prev=o,this._sentinel=o}dequeue(){var o=this._sentinel,f=o._prev;if(f!==o)return rVe(f),f}enqueue(o){var f=this._sentinel;o._prev&&o._next&&rVe(o),o._next=f._next,f._next._prev=o,f._next=o,o._prev=f}toString(){for(var o=[],f=this._sentinel,m=f._prev;m!==f;)o.push(JSON.stringify(m,vWt)),m=m._prev;return"["+o.join(", ")+"]"}}function rVe(s){s._prev._next=s._next,s._next._prev=s._prev,delete s._next,delete s._prev}function vWt(s,o){if(s!=="_next"&&s!=="_prev")return o}var bWt=PO(1);function wWt(s,o){if(s.nodeCount()<=1)return[];var f=_Wt(s,o||bWt),m=yWt(f.graph,f.buckets,f.zeroIdx);return FO(D1(m,function(y){return s.outEdges(y.v,y.w)}))}function yWt(s,o,f){for(var m=[],y=o[o.length-1],k=o[0],v;s.nodeCount();){for(;v=k.dequeue();)d2e(s,o,f,v);for(;v=y.dequeue();)d2e(s,o,f,v);if(s.nodeCount()){for(var A=o.length-2;A>0;--A)if(v=o[A].dequeue(),v){m=m.concat(d2e(s,o,f,v,!0));break}}}return m}function d2e(s,o,f,m,y){var k=y?[]:void 0;return $r(s.inEdges(m.v),function(v){var A=s.edge(v),O=s.node(v.v);y&&k.push({v:v.v,w:v.w}),O.out-=A,g2e(o,f,O)}),$r(s.outEdges(m.v),function(v){var A=s.edge(v),O=v.w,j=s.node(O);j.in-=A,g2e(o,f,j)}),s.removeNode(m.v),k}function _Wt(s,o){var f=new P1,m=0,y=0;$r(s.nodes(),function(A){f.setNode(A,{v:A,in:0,out:0})}),$r(s.edges(),function(A){var O=f.edge(A.v,A.w)||0,j=o(A),z=O+j;f.setEdge(A.v,A.w,z),y=Math.max(y,f.node(A.v).out+=j),m=Math.max(m,f.node(A.w).in+=j)});var k=RS(y+m+3).map(function(){return new mWt}),v=m+1;return $r(f.nodes(),function(A){g2e(k,v,f.node(A))}),{graph:f,buckets:k,zeroIdx:v}}function g2e(s,o,f){f.out?f.in?s[f.out-f.in+o].enqueue(f):s[s.length-1].enqueue(f):s[0].enqueue(f)}function xWt(s){var o=s.graph().acyclicer==="greedy"?wWt(s,f(s)):kWt(s);$r(o,function(m){var y=s.edge(m);s.removeEdge(m),y.forwardName=m.name,y.reversed=!0,s.setEdge(m.w,m.v,y,wJ("rev"))});function f(m){return function(y){return m.edge(y).weight}}}function kWt(s){var o=[],f={},m={};function y(k){dc(m,k)||(m[k]=!0,f[k]=!0,$r(s.outEdges(k),function(v){dc(f,v.w)?o.push(v):y(v.w)}),delete f[k])}return $r(s.nodes(),y),o}function EWt(s){$r(s.edges(),function(o){var f=s.edge(o);if(f.reversed){s.removeEdge(o);var m=f.forwardName;delete f.reversed,delete f.forwardName,s.setEdge(o.w,o.v,f,m)}})}function VO(s,o,f,m){var y;do y=wJ(m);while(s.hasNode(y));return f.dummy=o,s.setNode(y,f),y}function TWt(s){var o=new P1().setGraph(s.graph());return $r(s.nodes(),function(f){o.setNode(f,s.node(f))}),$r(s.edges(),function(f){var m=o.edge(f.v,f.w)||{weight:0,minlen:1},y=s.edge(f);o.setEdge(f.v,f.w,{weight:m.weight+y.weight,minlen:Math.max(m.minlen,y.minlen)})}),o}function iVe(s){var o=new P1({multigraph:s.isMultigraph()}).setGraph(s.graph());return $r(s.nodes(),function(f){s.children(f).length||o.setNode(f,s.node(f))}),$r(s.edges(),function(f){o.setEdge(f,s.edge(f))}),o}function sVe(s,o){var f=s.x,m=s.y,y=o.x-f,k=o.y-m,v=s.width/2,A=s.height/2;if(!y&&!k)throw new Error("Not possible to find intersection inside of the rectangle");var O,j;return Math.abs(k)*v>Math.abs(y)*A?(k<0&&(A=-A),O=A*y/k,j=A):(y<0&&(v=-v),O=v,j=v*k/y),{x:f+O,y:m+j}}function yJ(s){var o=D1(RS(oVe(s)+1),function(){return[]});return $r(s.nodes(),function(f){var m=s.node(f),y=m.rank;e1(y)||(o[y][m.order]=f)}),o}function SWt(s){var o=Ej(D1(s.nodes(),function(f){return s.node(f).rank}));$r(s.nodes(),function(f){var m=s.node(f);dc(m,"rank")&&(m.rank-=o)})}function CWt(s){var o=Ej(D1(s.nodes(),function(k){return s.node(k).rank})),f=[];$r(s.nodes(),function(k){var v=s.node(k).rank-o;f[v]||(f[v]=[]),f[v].push(k)});var m=0,y=s.graph().nodeRankFactor;$r(f,function(k,v){e1(k)&&v%y!==0?--m:m&&$r(k,function(A){s.node(A).rank+=m})})}function aVe(s,o,f,m){var y={width:0,height:0};return arguments.length>=4&&(y.rank=f,y.order=m),VO(s,"border",y,o)}function oVe(s){return NS(D1(s.nodes(),function(o){var f=s.node(o).rank;if(!e1(f))return f}))}function AWt(s,o){var f={lhs:[],rhs:[]};return $r(s,function(m){o(m)?f.lhs.push(m):f.rhs.push(m)}),f}function MWt(s,o){var f=Wze();try{return o()}finally{console.log(s+" time: "+(Wze()-f)+"ms")}}function LWt(s,o){return o()}function IWt(s){function o(f){var m=s.children(f),y=s.node(f);if(m.length&&$r(m,o),dc(y,"minRank")){y.borderLeft=[],y.borderRight=[];for(var k=y.minRank,v=y.maxRank+1;k<v;++k)cVe(s,"borderLeft","_bl",f,y,k),cVe(s,"borderRight","_br",f,y,k)}}$r(s.children(),o)}function cVe(s,o,f,m,y,k){var v={width:0,height:0,rank:k,borderType:o},A=y[o][k-1],O=VO(s,"border",v,f);y[o][k]=O,s.setParent(O,m),A&&s.setEdge(A,O,{weight:1})}function OWt(s){var o=s.graph().rankdir.toLowerCase();(o==="lr"||o==="rl")&&lVe(s)}function DWt(s){var o=s.graph().rankdir.toLowerCase();(o==="bt"||o==="rl")&&PWt(s),(o==="lr"||o==="rl")&&(NWt(s),lVe(s))}function lVe(s){$r(s.nodes(),function(o){uVe(s.node(o))}),$r(s.edges(),function(o){uVe(s.edge(o))})}function uVe(s){var o=s.width;s.width=s.height,s.height=o}function PWt(s){$r(s.nodes(),function(o){p2e(s.node(o))}),$r(s.edges(),function(o){var f=s.edge(o);$r(f.points,p2e),dc(f,"y")&&p2e(f)})}function p2e(s){s.y=-s.y}function NWt(s){$r(s.nodes(),function(o){m2e(s.node(o))}),$r(s.edges(),function(o){var f=s.edge(o);$r(f.points,m2e),dc(f,"x")&&m2e(f)})}function m2e(s){var o=s.x;s.x=s.y,s.y=o}function RWt(s){s.graph().dummyChains=[],$r(s.edges(),function(o){BWt(s,o)})}function BWt(s,o){var f=o.v,m=s.node(f).rank,y=o.w,k=s.node(y).rank,v=o.name,A=s.edge(o),O=A.labelRank;if(k!==m+1){s.removeEdge(o);var j,z,V;for(V=0,++m;m<k;++V,++m)A.points=[],z={width:0,height:0,edgeLabel:A,edgeObj:o,rank:m},j=VO(s,"edge",z,"_d"),m===O&&(z.width=A.width,z.height=A.height,z.dummy="edge-label",z.labelpos=A.labelpos),s.setEdge(f,j,{weight:A.weight},v),V===0&&s.graph().dummyChains.push(j),f=j;s.setEdge(f,y,{weight:A.weight},v)}}function FWt(s){$r(s.graph().dummyChains,function(o){var f=s.node(o),m=f.edgeLabel,y;for(s.setEdge(f.edgeObj,m);f.dummy;)y=s.successors(o)[0],s.removeNode(o),m.points.push({x:f.x,y:f.y}),f.dummy==="edge-label"&&(m.x=f.x,m.y=f.y,m.width=f.width,m.height=f.height),o=y,f=s.node(o)})}function v2e(s){var o={};function f(m){var y=s.node(m);if(dc(o,m))return y.rank;o[m]=!0;var k=Ej(D1(s.outEdges(m),function(v){return f(v.w)-s.edge(v).minlen}));return(k===Number.POSITIVE_INFINITY||k===void 0||k===null)&&(k=0),y.rank=k}$r(s.sources(),f)}function Mj(s,o){return s.node(o.w).rank-s.node(o.v).rank-s.edge(o).minlen}function hVe(s){var o=new P1({directed:!1}),f=s.nodes()[0],m=s.nodeCount();o.setNode(f,{});for(var y,k;jWt(o,s)<m;)y=$Wt(o,s),k=o.hasNode(y.v)?Mj(s,y):-Mj(s,y),HWt(o,s,k);return o}function jWt(s,o){function f(m){$r(o.nodeEdges(m),function(y){var k=y.v,v=m===k?y.w:k;!s.hasNode(v)&&!Mj(o,y)&&(s.setNode(v,{}),s.setEdge(m,v,{}),f(v))})}return $r(s.nodes(),f),s.nodeCount()}function $Wt(s,o){return h2e(o.edges(),function(f){if(s.hasNode(f.v)!==s.hasNode(f.w))return Mj(o,f)})}function HWt(s,o,f){$r(s.nodes(),function(m){o.node(m).rank+=f})}function fVe(s,o,f){O1(o)||(o=[o]);var m=(s.isDirected()?s.successors:s.neighbors).bind(s),y=[],k={};return $r(o,function(v){if(!s.hasNode(v))throw new Error("Graph does not have node: "+v);dVe(s,v,f==="post",k,m,y)}),y}function dVe(s,o,f,m,y,k){dc(m,o)||(m[o]=!0,f||k.push(o),$r(y(o),function(v){dVe(s,v,f,m,y,k)}),f&&k.push(o))}function zWt(s,o){return fVe(s,o,"post")}function VWt(s,o){return fVe(s,o,"pre")}FS.initLowLimValues=w2e,FS.initCutValues=b2e,FS.calcCutValue=gVe,FS.leaveEdge=mVe,FS.enterEdge=vVe,FS.exchangeEdges=bVe;function FS(s){s=TWt(s),v2e(s);var o=hVe(s);w2e(o),b2e(o,s);for(var f,m;f=mVe(o);)m=vVe(o,s,f),bVe(o,s,f,m)}function b2e(s,o){var f=zWt(s,s.nodes());f=f.slice(0,f.length-1),$r(f,function(m){qWt(s,o,m)})}function qWt(s,o,f){var m=s.node(f),y=m.parent;s.edge(f,y).cutvalue=gVe(s,o,f)}function gVe(s,o,f){var m=s.node(f),y=m.parent,k=!0,v=o.edge(f,y),A=0;return v||(k=!1,v=o.edge(y,f)),A=v.weight,$r(o.nodeEdges(f),function(O){var j=O.v===f,z=j?O.w:O.v;if(z!==y){var V=j===k,Y=o.edge(O).weight;if(A+=V?Y:-Y,GWt(s,f,z)){var G=s.edge(f,z).cutvalue;A+=V?-G:G}}}),A}function w2e(s,o){arguments.length<2&&(o=s.nodes()[0]),pVe(s,{},1,o)}function pVe(s,o,f,m,y){var k=f,v=s.node(m);return o[m]=!0,$r(s.neighbors(m),function(A){dc(o,A)||(f=pVe(s,o,f,A,m))}),v.low=k,v.lim=f++,y?v.parent=y:delete v.parent,f}function mVe(s){return c2e(s.edges(),function(o){return s.edge(o).cutvalue<0})}function vVe(s,o,f){var m=f.v,y=f.w;o.hasEdge(m,y)||(m=f.w,y=f.v);var k=s.node(m),v=s.node(y),A=k,O=!1;k.lim>v.lim&&(A=v,O=!0);var j=hx(o.edges(),function(z){return O===wVe(s,s.node(z.v),A)&&O!==wVe(s,s.node(z.w),A)});return h2e(j,function(z){return Mj(o,z)})}function bVe(s,o,f,m){var y=f.v,k=f.w;s.removeEdge(y,k),s.setEdge(m.v,m.w,{}),w2e(s),b2e(s,o),UWt(s,o)}function UWt(s,o){var f=c2e(s.nodes(),function(y){return!o.node(y).parent}),m=VWt(s,f);m=m.slice(1),$r(m,function(y){var k=s.node(y).parent,v=o.edge(y,k),A=!1;v||(v=o.edge(k,y),A=!0),o.node(y).rank=o.node(k).rank+(A?v.minlen:-v.minlen)})}function GWt(s,o,f){return s.hasEdge(o,f)}function wVe(s,o,f){return f.low<=o.lim&&o.lim<=f.lim}function WWt(s){switch(s.graph().ranker){case"network-simplex":yVe(s);break;case"tight-tree":YWt(s);break;case"longest-path":KWt(s);break;default:yVe(s)}}var KWt=v2e;function YWt(s){v2e(s),hVe(s)}function yVe(s){FS(s)}function XWt(s){var o=VO(s,"root",{},"_root"),f=QWt(s),m=NS(fx(f))-1,y=2*m+1;s.graph().nestingRoot=o,$r(s.edges(),function(v){s.edge(v).minlen*=y});var k=ZWt(s)+1;$r(s.children(),function(v){_Ve(s,o,y,k,m,f,v)}),s.graph().nodeRankFactor=y}function _Ve(s,o,f,m,y,k,v){var A=s.children(v);if(!A.length){v!==o&&s.setEdge(o,v,{weight:0,minlen:f});return}var O=aVe(s,"_bt"),j=aVe(s,"_bb"),z=s.node(v);s.setParent(O,v),z.borderTop=O,s.setParent(j,v),z.borderBottom=j,$r(A,function(V){_Ve(s,o,f,m,y,k,V);var Y=s.node(V),G=Y.borderTop?Y.borderTop:V,J=Y.borderBottom?Y.borderBottom:V,ce=Y.borderTop?m:2*m,me=G!==J?1:y-k[v]+1;s.setEdge(O,G,{weight:ce,minlen:me,nestingEdge:!0}),s.setEdge(J,j,{weight:ce,minlen:me,nestingEdge:!0})}),s.parent(v)||s.setEdge(o,O,{weight:0,minlen:y+k[v]})}function QWt(s){var o={};function f(m,y){var k=s.children(m);k&&k.length&&$r(k,function(v){f(v,y+1)}),o[m]=y}return $r(s.children(),function(m){f(m,1)}),o}function ZWt(s){return Sj(s.edges(),function(o,f){return o+s.edge(f).weight},0)}function JWt(s){var o=s.graph();s.removeNode(o.nestingRoot),delete o.nestingRoot,$r(s.edges(),function(f){var m=s.edge(f);m.nestingEdge&&s.removeEdge(f)})}function eKt(s,o,f){var m={},y;$r(f,function(k){for(var v=s.parent(k),A,O;v;){if(A=s.parent(v),A?(O=m[A],m[A]=v):(O=y,y=v),O&&O!==v){o.setEdge(O,v);return}v=A}})}function tKt(s,o,f){var m=nKt(s),y=new P1({compound:!0}).setGraph({root:m}).setDefaultNodeLabel(function(k){return s.node(k)});return $r(s.nodes(),function(k){var v=s.node(k),A=s.parent(k);(v.rank===o||v.minRank<=o&&o<=v.maxRank)&&(y.setNode(k),y.setParent(k,A||m),$r(s[f](k),function(O){var j=O.v===k?O.w:O.v,z=y.edge(j,k),V=e1(z)?0:z.weight;y.setEdge(j,k,{weight:s.edge(O).weight+V})}),dc(v,"minRank")&&y.setNode(k,{borderLeft:v.borderLeft[o],borderRight:v.borderRight[o]}))}),y}function nKt(s){for(var o;s.hasNode(o=wJ("_root")););return o}function rKt(s,o){for(var f=0,m=1;m<o.length;++m)f+=iKt(s,o[m-1],o[m]);return f}function iKt(s,o,f){for(var m=dWt(f,D1(f,function(j,z){return z})),y=FO(D1(o,function(j){return Cj(D1(s.outEdges(j),function(z){return{pos:m[z.w],weight:s.edge(z).weight}}),"pos")})),k=1;k<f.length;)k<<=1;var v=2*k-1;k-=1;var A=D1(new Array(v),function(){return 0}),O=0;return $r(y.forEach(function(j){var z=j.pos+k;A[z]+=j.weight;for(var V=0;z>0;)z%2&&(V+=A[z+1]),z=z-1>>1,A[z]+=j.weight;O+=j.weight*V})),O}function sKt(s){var o={},f=hx(s.nodes(),function(A){return!s.children(A).length}),m=NS(D1(f,function(A){return s.node(A).rank})),y=D1(RS(m+1),function(){return[]});function k(A){if(!dc(o,A)){o[A]=!0;var O=s.node(A);y[O.rank].push(A),$r(s.successors(A),k)}}var v=Cj(f,function(A){return s.node(A).rank});return $r(v,k),y}function aKt(s,o){return D1(o,function(f){var m=s.inEdges(f);if(m.length){var y=Sj(m,function(k,v){var A=s.edge(v),O=s.node(v.v);return{sum:k.sum+A.weight*O.order,weight:k.weight+A.weight}},{sum:0,weight:0});return{v:f,barycenter:y.sum/y.weight,weight:y.weight}}else return{v:f}})}function oKt(s,o){var f={};$r(s,function(y,k){var v=f[y.v]={indegree:0,in:[],out:[],vs:[y.v],i:k};e1(y.barycenter)||(v.barycenter=y.barycenter,v.weight=y.weight)}),$r(o.edges(),function(y){var k=f[y.v],v=f[y.w];!e1(k)&&!e1(v)&&(v.indegree++,k.out.push(f[y.w]))});var m=hx(f,function(y){return!y.indegree});return cKt(m)}function cKt(s){var o=[];function f(k){return function(v){v.merged||(e1(v.barycenter)||e1(k.barycenter)||v.barycenter>=k.barycenter)&&lKt(k,v)}}function m(k){return function(v){v.in.push(k),--v.indegree===0&&s.push(v)}}for(;s.length;){var y=s.pop();o.push(y),$r(y.in.reverse(),f(y)),$r(y.out,m(y))}return D1(hx(o,function(k){return!k.merged}),function(k){return Tj(k,["vs","i","barycenter","weight"])})}function lKt(s,o){var f=0,m=0;s.weight&&(f+=s.barycenter*s.weight,m+=s.weight),o.weight&&(f+=o.barycenter*o.weight,m+=o.weight),s.vs=o.vs.concat(s.vs),s.barycenter=f/m,s.weight=m,s.i=Math.min(o.i,s.i),o.merged=!0}function uKt(s,o){var f=AWt(s,function(z){return dc(z,"barycenter")}),m=f.lhs,y=Cj(f.rhs,function(z){return-z.i}),k=[],v=0,A=0,O=0;m.sort(hKt(!!o)),O=xVe(k,y,O),$r(m,function(z){O+=z.vs.length,k.push(z.vs),v+=z.barycenter*z.weight,A+=z.weight,O=xVe(k,y,O)});var j={vs:FO(k)};return A&&(j.barycenter=v/A,j.weight=A),j}function xVe(s,o,f){for(var m;o.length&&(m=vJ(o)).i<=f;)o.pop(),s.push(m.vs),f++;return f}function hKt(s){return function(o,f){return o.barycenter<f.barycenter?-1:o.barycenter>f.barycenter?1:s?f.i-o.i:o.i-f.i}}function kVe(s,o,f,m){var y=s.children(o),k=s.node(o),v=k?k.borderLeft:void 0,A=k?k.borderRight:void 0,O={};v&&(y=hx(y,function(J){return J!==v&&J!==A}));var j=aKt(s,y);$r(j,function(J){if(s.children(J.v).length){var ce=kVe(s,J.v,f,m);O[J.v]=ce,dc(ce,"barycenter")&&dKt(J,ce)}});var z=oKt(j,f);fKt(z,O);var V=uKt(z,m);if(v&&(V.vs=FO([v,V.vs,A]),s.predecessors(v).length)){var Y=s.node(s.predecessors(v)[0]),G=s.node(s.predecessors(A)[0]);dc(V,"barycenter")||(V.barycenter=0,V.weight=0),V.barycenter=(V.barycenter*V.weight+Y.order+G.order)/(V.weight+2),V.weight+=2}return V}function fKt(s,o){$r(s,function(f){f.vs=FO(f.vs.map(function(m){return o[m]?o[m].vs:m}))})}function dKt(s,o){e1(s.barycenter)?(s.barycenter=o.barycenter,s.weight=o.weight):(s.barycenter=(s.barycenter*s.weight+o.barycenter*o.weight)/(s.weight+o.weight),s.weight+=o.weight)}function gKt(s){var o=oVe(s),f=EVe(s,RS(1,o+1),"inEdges"),m=EVe(s,RS(o-1,-1,-1),"outEdges"),y=sKt(s);TVe(s,y);for(var k=Number.POSITIVE_INFINITY,v,A=0,O=0;O<4;++A,++O){pKt(A%2?f:m,A%4>=2),y=yJ(s);var j=rKt(s,y);j<k&&(O=0,v=LUt(y),k=j)}TVe(s,v)}function EVe(s,o,f){return D1(o,function(m){return tKt(s,m,f)})}function pKt(s,o){var f=new P1;$r(s,function(m){var y=m.graph().root,k=kVe(m,y,f,o);$r(k.vs,function(v,A){m.node(v).order=A}),eKt(m,f,k.vs)})}function TVe(s,o){$r(o,function(f){$r(f,function(m,y){s.node(m).order=y})})}function mKt(s){var o=bKt(s);$r(s.graph().dummyChains,function(f){for(var m=s.node(f),y=m.edgeObj,k=vKt(s,o,y.v,y.w),v=k.path,A=k.lca,O=0,j=v[O],z=!0;f!==y.w;){if(m=s.node(f),z){for(;(j=v[O])!==A&&s.node(j).maxRank<m.rank;)O++;j===A&&(z=!1)}if(!z){for(;O<v.length-1&&s.node(j=v[O+1]).minRank<=m.rank;)O++;j=v[O]}s.setParent(f,j),f=s.successors(f)[0]}})}function vKt(s,o,f,m){var y=[],k=[],v=Math.min(o[f].low,o[m].low),A=Math.max(o[f].lim,o[m].lim),O,j;O=f;do O=s.parent(O),y.push(O);while(O&&(o[O].low>v||A>o[O].lim));for(j=O,O=m;(O=s.parent(O))!==j;)k.push(O);return{path:y.concat(k.reverse()),lca:j}}function bKt(s){var o={},f=0;function m(y){var k=f;$r(s.children(y),m),o[y]={low:k,lim:f++}}return $r(s.children(),m),o}function wKt(s,o){var f={};function m(y,k){var v=0,A=0,O=y.length,j=vJ(k);return $r(k,function(z,V){var Y=_Kt(s,z),G=Y?s.node(Y).order:O;(Y||z===j)&&($r(k.slice(A,V+1),function(J){$r(s.predecessors(J),function(ce){var me=s.node(ce),_e=me.order;(_e<v||G<_e)&&!(me.dummy&&s.node(J).dummy)&&SVe(f,ce,J)})}),A=V+1,v=G)}),k}return Sj(o,m),f}function yKt(s,o){var f={};function m(k,v,A,O,j){var z;$r(RS(v,A),function(V){z=k[V],s.node(z).dummy&&$r(s.predecessors(z),function(Y){var G=s.node(Y);G.dummy&&(G.order<O||G.order>j)&&SVe(f,Y,z)})})}function y(k,v){var A=-1,O,j=0;return $r(v,function(z,V){if(s.node(z).dummy==="border"){var Y=s.predecessors(z);Y.length&&(O=s.node(Y[0]).order,m(v,j,V,A,O),j=V,A=O)}m(v,j,v.length,O,k.length)}),v}return Sj(o,y),f}function _Kt(s,o){if(s.node(o).dummy)return c2e(s.predecessors(o),function(f){return s.node(f).dummy})}function SVe(s,o,f){if(o>f){var m=o;o=f,f=m}var y=s[o];y||(s[o]=y={}),y[f]=!0}function xKt(s,o,f){if(o>f){var m=o;o=f,f=m}return dc(s[o],f)}function kKt(s,o,f,m){var y={},k={},v={};return $r(o,function(A){$r(A,function(O,j){y[O]=O,k[O]=O,v[O]=j})}),$r(o,function(A){var O=-1;$r(A,function(j){var z=m(j);if(z.length){z=Cj(z,function(ce){return v[ce]});for(var V=(z.length-1)/2,Y=Math.floor(V),G=Math.ceil(V);Y<=G;++Y){var J=z[Y];k[j]===j&&O<v[J]&&!xKt(f,j,J)&&(k[J]=j,k[j]=y[j]=y[J],O=v[J])}}})}),{root:y,align:k}}function EKt(s,o,f,m,y){var k={},v=TKt(s,o,f,y),A=y?"borderLeft":"borderRight";function O(V,Y){for(var G=v.nodes(),J=G.pop(),ce={};J;)ce[J]?V(J):(ce[J]=!0,G.push(J),G=G.concat(Y(J))),J=G.pop()}function j(V){k[V]=v.inEdges(V).reduce(function(Y,G){return Math.max(Y,k[G.v]+v.edge(G))},0)}function z(V){var Y=v.outEdges(V).reduce(function(J,ce){return Math.min(J,k[ce.w]-v.edge(ce))},Number.POSITIVE_INFINITY),G=s.node(V);Y!==Number.POSITIVE_INFINITY&&G.borderType!==A&&(k[V]=Math.max(k[V],Y))}return O(j,v.predecessors.bind(v)),O(z,v.successors.bind(v)),$r(m,function(V){k[V]=k[f[V]]}),k}function TKt(s,o,f,m){var y=new P1,k=s.graph(),v=LKt(k.nodesep,k.edgesep,m);return $r(o,function(A){var O;$r(A,function(j){var z=f[j];if(y.setNode(z),O){var V=f[O],Y=y.edge(V,z);y.setEdge(V,z,Math.max(v(s,j,O),Y||0))}O=j})}),y}function SKt(s,o){return h2e(fx(o),function(f){var m=Number.NEGATIVE_INFINITY,y=Number.POSITIVE_INFINITY;return OGt(f,function(k,v){var A=IKt(s,v)/2;m=Math.max(k+A,m),y=Math.min(k-A,y)}),m-y})}function CKt(s,o){var f=fx(o),m=Ej(f),y=NS(f);$r(["u","d"],function(k){$r(["l","r"],function(v){var A=k+v,O=s[A],j;if(O!==o){var z=fx(O);j=v==="l"?m-Ej(z):y-NS(z),j&&(s[A]=bJ(O,function(V){return V+j}))}})})}function AKt(s,o){return bJ(s.ul,function(f,m){if(o)return s[o.toLowerCase()][m];var y=Cj(D1(s,m));return(y[1]+y[2])/2})}function MKt(s){var o=yJ(s),f=u2e(wKt(s,o),yKt(s,o)),m={},y;$r(["u","d"],function(v){y=v==="u"?o:fx(o).reverse(),$r(["l","r"],function(A){A==="r"&&(y=D1(y,function(V){return fx(V).reverse()}));var O=(v==="u"?s.predecessors:s.successors).bind(s),j=kKt(s,y,f,O),z=EKt(s,y,j.root,j.align,A==="r");A==="r"&&(z=bJ(z,function(V){return-V})),m[v+A]=z})});var k=SKt(s,m);return CKt(m,k),AKt(m,s.graph().align)}function LKt(s,o,f){return function(m,y,k){var v=m.node(y),A=m.node(k),O=0,j;if(O+=v.width/2,dc(v,"labelpos"))switch(v.labelpos.toLowerCase()){case"l":j=-v.width/2;break;case"r":j=v.width/2;break}if(j&&(O+=f?j:-j),j=0,O+=(v.dummy?o:s)/2,O+=(A.dummy?o:s)/2,O+=A.width/2,dc(A,"labelpos"))switch(A.labelpos.toLowerCase()){case"l":j=A.width/2;break;case"r":j=-A.width/2;break}return j&&(O+=f?j:-j),j=0,O}}function IKt(s,o){return s.node(o).width}function OKt(s){s=iVe(s),DKt(s),$r(MKt(s),function(o,f){s.node(f).x=o})}function DKt(s){var o=yJ(s),f=s.graph().ranksep,m=0;$r(o,function(y){var k=NS(D1(y,function(v){return s.node(v).height}));$r(y,function(v){s.node(v).y=m+k/2}),m+=k+f})}function qO(s,o){var f=o&&o.debugTiming?MWt:LWt;f("layout",function(){var m=f(" buildLayoutGraph",function(){return qKt(s)});f(" runLayout",function(){PKt(m,f)}),f(" updateInputGraph",function(){NKt(s,m)})})}function PKt(s,o){o(" makeSpaceForEdgeLabels",function(){UKt(s)}),o(" removeSelfEdges",function(){eYt(s)}),o(" acyclic",function(){xWt(s)}),o(" nestingGraph.run",function(){XWt(s)}),o(" rank",function(){WWt(iVe(s))}),o(" injectEdgeLabelProxies",function(){GKt(s)}),o(" removeEmptyRanks",function(){CWt(s)}),o(" nestingGraph.cleanup",function(){JWt(s)}),o(" normalizeRanks",function(){SWt(s)}),o(" assignRankMinMax",function(){WKt(s)}),o(" removeEdgeLabelProxies",function(){KKt(s)}),o(" normalize.run",function(){RWt(s)}),o(" parentDummyChains",function(){mKt(s)}),o(" addBorderSegments",function(){IWt(s)}),o(" order",function(){gKt(s)}),o(" insertSelfEdges",function(){tYt(s)}),o(" adjustCoordinateSystem",function(){OWt(s)}),o(" position",function(){OKt(s)}),o(" positionSelfEdges",function(){nYt(s)}),o(" removeBorderNodes",function(){JKt(s)}),o(" normalize.undo",function(){FWt(s)}),o(" fixupEdgeLabelCoords",function(){QKt(s)}),o(" undoCoordinateSystem",function(){DWt(s)}),o(" translateGraph",function(){YKt(s)}),o(" assignNodeIntersects",function(){XKt(s)}),o(" reversePoints",function(){ZKt(s)}),o(" acyclic.undo",function(){EWt(s)})}function NKt(s,o){$r(s.nodes(),function(f){var m=s.node(f),y=o.node(f);m&&(m.x=y.x,m.y=y.y,o.children(f).length&&(m.width=y.width,m.height=y.height))}),$r(s.edges(),function(f){var m=s.edge(f),y=o.edge(f);m.points=y.points,dc(y,"x")&&(m.x=y.x,m.y=y.y)}),s.graph().width=o.graph().width,s.graph().height=o.graph().height}var RKt=["nodesep","edgesep","ranksep","marginx","marginy"],BKt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},FKt=["acyclicer","ranker","rankdir","align"],jKt=["width","height"],$Kt={width:0,height:0},HKt=["minlen","weight","width","height","labeloffset"],zKt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},VKt=["labelpos"];function qKt(s){var o=new P1({multigraph:!0,compound:!0}),f=_2e(s.graph());return o.setGraph(u2e({},BKt,y2e(f,RKt),Tj(f,FKt))),$r(s.nodes(),function(m){var y=_2e(s.node(m));o.setNode(m,HO(y2e(y,jKt),$Kt)),o.setParent(m,s.parent(m))}),$r(s.edges(),function(m){var y=_2e(s.edge(m));o.setEdge(m,u2e({},zKt,y2e(y,HKt),Tj(y,VKt)))}),o}function UKt(s){var o=s.graph();o.ranksep/=2,$r(s.edges(),function(f){var m=s.edge(f);m.minlen*=2,m.labelpos.toLowerCase()!=="c"&&(o.rankdir==="TB"||o.rankdir==="BT"?m.width+=m.labeloffset:m.height+=m.labeloffset)})}function GKt(s){$r(s.edges(),function(o){var f=s.edge(o);if(f.width&&f.height){var m=s.node(o.v),y=s.node(o.w),k={rank:(y.rank-m.rank)/2+m.rank,e:o};VO(s,"edge-proxy",k,"_ep")}})}function WKt(s){var o=0;$r(s.nodes(),function(f){var m=s.node(f);m.borderTop&&(m.minRank=s.node(m.borderTop).rank,m.maxRank=s.node(m.borderBottom).rank,o=NS(o,m.maxRank))}),s.graph().maxRank=o}function KKt(s){$r(s.nodes(),function(o){var f=s.node(o);f.dummy==="edge-proxy"&&(s.edge(f.e).labelRank=f.rank,s.removeNode(o))})}function YKt(s){var o=Number.POSITIVE_INFINITY,f=0,m=Number.POSITIVE_INFINITY,y=0,k=s.graph(),v=k.marginx||0,A=k.marginy||0;function O(j){var z=j.x,V=j.y,Y=j.width,G=j.height;o=Math.min(o,z-Y/2),f=Math.max(f,z+Y/2),m=Math.min(m,V-G/2),y=Math.max(y,V+G/2)}$r(s.nodes(),function(j){O(s.node(j))}),$r(s.edges(),function(j){var z=s.edge(j);dc(z,"x")&&O(z)}),o-=v,m-=A,$r(s.nodes(),function(j){var z=s.node(j);z.x-=o,z.y-=m}),$r(s.edges(),function(j){var z=s.edge(j);$r(z.points,function(V){V.x-=o,V.y-=m}),dc(z,"x")&&(z.x-=o),dc(z,"y")&&(z.y-=m)}),k.width=f-o+v,k.height=y-m+A}function XKt(s){$r(s.edges(),function(o){var f=s.edge(o),m=s.node(o.v),y=s.node(o.w),k,v;f.points?(k=f.points[0],v=f.points[f.points.length-1]):(f.points=[],k=y,v=m),f.points.unshift(sVe(m,k)),f.points.push(sVe(y,v))})}function QKt(s){$r(s.edges(),function(o){var f=s.edge(o);if(dc(f,"x"))switch((f.labelpos==="l"||f.labelpos==="r")&&(f.width-=f.labeloffset),f.labelpos){case"l":f.x-=f.width/2+f.labeloffset;break;case"r":f.x+=f.width/2+f.labeloffset;break}})}function ZKt(s){$r(s.edges(),function(o){var f=s.edge(o);f.reversed&&f.points.reverse()})}function JKt(s){$r(s.nodes(),function(o){if(s.children(o).length){var f=s.node(o),m=s.node(f.borderTop),y=s.node(f.borderBottom),k=s.node(vJ(f.borderLeft)),v=s.node(vJ(f.borderRight));f.width=Math.abs(v.x-k.x),f.height=Math.abs(y.y-m.y),f.x=k.x+f.width/2,f.y=m.y+f.height/2}}),$r(s.nodes(),function(o){s.node(o).dummy==="border"&&s.removeNode(o)})}function eYt(s){$r(s.edges(),function(o){if(o.v===o.w){var f=s.node(o.v);f.selfEdges||(f.selfEdges=[]),f.selfEdges.push({e:o,label:s.edge(o)}),s.removeEdge(o)}})}function tYt(s){var o=yJ(s);$r(o,function(f){var m=0;$r(f,function(y,k){var v=s.node(y);v.order=k+m,$r(v.selfEdges,function(A){VO(s,"selfedge",{width:A.label.width,height:A.label.height,rank:v.rank,order:k+ ++m,e:A.e,label:A.label},"_se")}),delete v.selfEdges})})}function nYt(s){$r(s.nodes(),function(o){var f=s.node(o);if(f.dummy==="selfedge"){var m=s.node(f.e.v),y=m.x+m.width/2,k=m.y,v=f.x-y,A=m.height/2;s.setEdge(f.e,f.label),s.removeNode(o),f.label.points=[{x:y+2*v/3,y:k-A},{x:y+5*v/6,y:k-A},{x:y+v,y:k},{x:y+5*v/6,y:k+A},{x:y+2*v/3,y:k+A}],f.label.x=f.x,f.label.y=f.y}})}function y2e(s,o){return bJ(Tj(s,o),Number)}function _2e(s){var o={};return $r(s,function(f,m){o[m.toLowerCase()]=f}),o}let CVe=0;const rYt=function(s,o,f,m,y){const k=function(we){switch(we){case y.db.relationType.AGGREGATION:return"aggregation";case y.db.relationType.EXTENSION:return"extension";case y.db.relationType.COMPOSITION:return"composition";case y.db.relationType.DEPENDENCY:return"dependency";case y.db.relationType.LOLLIPOP:return"lollipop"}};o.points=o.points.filter(we=>!Number.isNaN(we.y));const v=o.points,A=bS().x(function(we){return we.x}).y(function(we){return we.y}).curve(yO),O=s.append("path").attr("d",A(v)).attr("id","edge"+CVe).attr("class","relation");let j="";m.arrowMarkerAbsolute&&(j=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,j=j.replace(/\(/g,"\\("),j=j.replace(/\)/g,"\\)")),f.relation.lineType==1&&O.attr("class","relation dashed-line"),f.relation.lineType==10&&O.attr("class","relation dotted-line"),f.relation.type1!=="none"&&O.attr("marker-start","url("+j+"#"+k(f.relation.type1)+"Start)"),f.relation.type2!=="none"&&O.attr("marker-end","url("+j+"#"+k(f.relation.type2)+"End)");let z,V;const Y=o.points.length;let G=Go.calcLabelPosition(o.points);z=G.x,V=G.y;let J,ce,me,_e;if(Y%2!==0&&Y>1){let we=Go.calcCardinalityPosition(f.relation.type1!=="none",o.points,o.points[0]),Se=Go.calcCardinalityPosition(f.relation.type2!=="none",o.points,o.points[Y-1]);ne.debug("cardinality_1_point "+JSON.stringify(we)),ne.debug("cardinality_2_point "+JSON.stringify(Se)),J=we.x,ce=we.y,me=Se.x,_e=Se.y}if(f.title!==void 0){const we=s.append("g").attr("class","classLabel"),Se=we.append("text").attr("class","label").attr("x",z).attr("y",V).attr("fill","red").attr("text-anchor","middle").text(f.title);window.label=Se;const Oe=Se.node().getBBox();we.insert("rect",":first-child").attr("class","box").attr("x",Oe.x-m.padding/2).attr("y",Oe.y-m.padding/2).attr("width",Oe.width+m.padding).attr("height",Oe.height+m.padding)}ne.info("Rendering relation "+JSON.stringify(f)),f.relationTitle1!==void 0&&f.relationTitle1!=="none"&&s.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",J).attr("y",ce).attr("fill","black").attr("font-size","6").text(f.relationTitle1),f.relationTitle2!==void 0&&f.relationTitle2!=="none"&&s.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",me).attr("y",_e).attr("fill","black").attr("font-size","6").text(f.relationTitle2),CVe++},iYt=function(s,o,f,m){ne.debug("Rendering class ",o,f);const y=o.id,k={id:y,label:o.id,width:0,height:0},v=s.append("g").attr("id",m.db.lookUpDomId(y)).attr("class","classGroup");let A;o.link?A=v.append("svg:a").attr("xlink:href",o.link).attr("target",o.linkTarget).append("text").attr("y",f.textHeight+f.padding).attr("x",0):A=v.append("text").attr("y",f.textHeight+f.padding).attr("x",0);let O=!0;o.annotations.forEach(function(De){const Ve=A.append("tspan").text("«"+De+"»");O||Ve.attr("dy",f.textHeight),O=!1});let j=o.id;o.type!==void 0&&o.type!==""&&(j+="<"+o.type+">");const z=A.append("tspan").text(j).attr("class","title");O||z.attr("dy",f.textHeight);const V=A.node().getBBox().height,Y=v.append("line").attr("x1",0).attr("y1",f.padding+V+f.dividerMargin/2).attr("y2",f.padding+V+f.dividerMargin/2),G=v.append("text").attr("x",f.padding).attr("y",V+f.dividerMargin+f.textHeight).attr("fill","white").attr("class","classText");O=!0,o.members.forEach(function(De){AVe(G,De,O,f),O=!1});const J=G.node().getBBox(),ce=v.append("line").attr("x1",0).attr("y1",f.padding+V+f.dividerMargin+J.height).attr("y2",f.padding+V+f.dividerMargin+J.height),me=v.append("text").attr("x",f.padding).attr("y",V+2*f.dividerMargin+J.height+f.textHeight).attr("fill","white").attr("class","classText");O=!0,o.methods.forEach(function(De){AVe(me,De,O,f),O=!1});const _e=v.node().getBBox();var we=" ";o.cssClasses.length>0&&(we=we+o.cssClasses.join(" "));const Oe=v.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",_e.width+2*f.padding).attr("height",_e.height+f.padding+.5*f.dividerMargin).attr("class",we).node().getBBox().width;return A.node().childNodes.forEach(function(De){De.setAttribute("x",(Oe-De.getBBox().width)/2)}),o.tooltip&&A.insert("title").text(o.tooltip),Y.attr("x2",Oe),ce.attr("x2",Oe),k.width=Oe,k.height=_e.height+f.padding+.5*f.dividerMargin,k},sYt=function(s,o,f,m){ne.debug("Rendering note ",o,f);const y=o.id,k={id:y,text:o.text,width:0,height:0},v=s.append("g").attr("id",y).attr("class","classGroup");let A=v.append("text").attr("y",f.textHeight+f.padding).attr("x",0);const O=JSON.parse(`"${o.text}"`).split(`
`);O.forEach(function(Y){ne.debug(`Adding line: ${Y}`),A.append("tspan").text(Y).attr("class","title").attr("dy",f.textHeight)});const j=v.node().getBBox(),V=v.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",j.width+2*f.padding).attr("height",j.height+O.length*f.textHeight+f.padding+.5*f.dividerMargin).node().getBBox().width;return A.node().childNodes.forEach(function(Y){Y.setAttribute("x",(V-Y.getBBox().width)/2)}),k.width=V,k.height=j.height+O.length*f.textHeight+f.padding+.5*f.dividerMargin,k},_J=function(s){const o=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,f=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let m=s.match(o),y=s.match(f);return m&&!y?aYt(m):y?oYt(y):cYt(s)},aYt=function(s){let o="",f="";try{let m=s[1]?s[1].trim():"",y=s[2]?s[2].trim():"",k=s[3]?n7(s[3].trim()):"",v=s[4]?s[4].trim():"",A=s[5]?s[5].trim():"";f=m+y+k+" "+v,o=x2e(A)}catch{f=s}return{displayText:f,cssStyle:o}},oYt=function(s){let o="",f="";try{let m=s[1]?s[1].trim():"",y=s[2]?s[2].trim():"",k=s[3]?n7(s[3].trim()):"",v=s[4]?s[4].trim():"",A=s[5]?" : "+n7(s[5]).trim():"";f=m+y+"("+k+")"+A,o=x2e(v)}catch{f=s}return{displayText:f,cssStyle:o}},cYt=function(s){let o="",f="",m="",y=s.indexOf("("),k=s.indexOf(")");if(y>1&&k>y&&k<=s.length){let v="",A="",O=s.substring(0,1);O.match(/\w/)?A=s.substring(0,y).trim():(O.match(/[#+~-]/)&&(v=O),A=s.substring(1,y).trim());const j=s.substring(y+1,k);s.substring(k+1,1),f=x2e(s.substring(k+1,k+2)),o=v+A+"("+n7(j.trim())+")",k<s.length&&(m=s.substring(k+2).trim(),m!==""&&(m=" : "+n7(m),o+=m))}else o=n7(s);return{displayText:o,cssStyle:f}},AVe=function(s,o,f,m){let y=_J(o);const k=s.append("tspan").attr("x",m.padding).text(y.displayText);y.cssStyle!==""&&k.attr("style",y.cssStyle),f||k.attr("dy",m.textHeight)},x2e=function(s){switch(s){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},k2e={drawClass:iYt,drawEdge:rYt,drawNote:sYt,parseMember:_J};let xJ={};const kJ=20,Lj=function(s){const o=Object.entries(xJ).find(f=>f[1].label===s);if(o)return o[0]},lYt=function(s){s.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),s.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),s.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},uYt={draw:function(s,o,f,m){const y=Qt().class;xJ={},ne.info("Rendering diagram "+s);const k=Qt().securityLevel;let v;k==="sandbox"&&(v=Or("#i"+o));const A=Or(k==="sandbox"?v.nodes()[0].contentDocument.body:"body"),O=A.select(`[id='${o}']`);lYt(O);const j=new P1({multigraph:!0});j.setGraph({isMultiGraph:!0}),j.setDefaultEdgeLabel(function(){return{}});const z=m.db.getClasses(),V=Object.keys(z);for(const we of V){const Se=z[we],Oe=k2e.drawClass(O,Se,y,m);xJ[Oe.id]=Oe,j.setNode(Oe.id,Oe),ne.info("Org height: "+Oe.height)}m.db.getRelations().forEach(function(we){ne.info("tjoho"+Lj(we.id1)+Lj(we.id2)+JSON.stringify(we)),j.setEdge(Lj(we.id1),Lj(we.id2),{relation:we},we.title||"DEFAULT")}),m.db.getNotes().forEach(function(we){ne.debug(`Adding note: ${JSON.stringify(we)}`);const Se=k2e.drawNote(O,we,y,m);xJ[Se.id]=Se,j.setNode(Se.id,Se),we.class&&we.class in z&&j.setEdge(we.id,Lj(we.class),{relation:{id1:we.id,id2:we.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),qO(j),j.nodes().forEach(function(we){we!==void 0&&j.node(we)!==void 0&&(ne.debug("Node "+we+": "+JSON.stringify(j.node(we))),A.select("#"+(m.db.lookUpDomId(we)||we)).attr("transform","translate("+(j.node(we).x-j.node(we).width/2)+","+(j.node(we).y-j.node(we).height/2)+" )"))}),j.edges().forEach(function(we){we!==void 0&&j.edge(we)!==void 0&&(ne.debug("Edge "+we.v+" -> "+we.w+": "+JSON.stringify(j.edge(we))),k2e.drawEdge(O,j.edge(we),j.edge(we).relation,y,m))});const J=O.node().getBBox(),ce=J.width+kJ*2,me=J.height+kJ*2;C3(O,me,ce,y.useMaxWidth);const _e=`${J.x-kJ} ${J.y-kJ} ${ce} ${me}`;ne.debug(`viewBox ${_e}`),O.attr("viewBox",_e)}};function dx(s){var o={options:{directed:s.isDirected(),multigraph:s.isMultigraph(),compound:s.isCompound()},nodes:hYt(s),edges:fYt(s)};return e1(s.graph())||(o.value=CUt(s.graph())),o}function hYt(s){return D1(s.nodes(),function(o){var f=s.node(o),m=s.parent(o),y={v:o};return e1(f)||(y.value=f),e1(m)||(y.parent=m),y})}function fYt(s){return D1(s.edges(),function(o){var f=s.edge(o),m={v:o.v,w:o.w};return e1(o.name)||(m.name=o.name),e1(f)||(m.value=f),m})}const dYt=(s,o,f,m)=>{o.forEach(y=>{gYt[y](s,f,m)})},gYt={extension:(s,o,f)=>{ne.trace("Making markers for ",f),s.append("defs").append("marker").attr("id",o+"-extensionStart").attr("class","marker extension "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),s.append("defs").append("marker").attr("id",o+"-extensionEnd").attr("class","marker extension "+o).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-compositionStart").attr("class","marker composition "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",o+"-compositionEnd").attr("class","marker composition "+o).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-aggregationStart").attr("class","marker aggregation "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",o+"-aggregationEnd").attr("class","marker aggregation "+o).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-dependencyStart").attr("class","marker dependency "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",o+"-dependencyEnd").attr("class","marker dependency "+o).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-lollipopStart").attr("class","marker lollipop "+o).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(s,o)=>{s.append("marker").attr("id",o+"-pointEnd").attr("class","marker "+o).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),s.append("marker").attr("id",o+"-pointStart").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(s,o)=>{s.append("marker").attr("id",o+"-circleEnd").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),s.append("marker").attr("id",o+"-circleStart").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(s,o)=>{s.append("marker").attr("id",o+"-crossEnd").attr("class","marker cross "+o).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),s.append("marker").attr("id",o+"-crossStart").attr("class","marker cross "+o).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(s,o)=>{s.append("defs").append("marker").attr("id",o+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},MVe=dYt;function pYt(s,o){o&&s.attr("style",o)}function mYt(s){const o=Or(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),f=o.append("xhtml:div"),m=s.label,y=s.isNode?"nodeLabel":"edgeLabel";return f.html('<span class="'+y+'" '+(s.labelStyle?'style="'+s.labelStyle+'"':"")+">"+m+"</span>"),pYt(f,s.labelStyle),f.style("display","inline-block"),f.style("white-space","nowrap"),f.attr("xmlns","http://www.w3.org/1999/xhtml"),o.node()}const gv=(s,o,f,m)=>{let y=s||"";if(typeof y=="object"&&(y=y[0]),i0(Qt().flowchart.htmlLabels)){y=y.replace(/\\n|\n/g,"<br />"),ne.info("vertexText"+y);const k={isNode:m,label:jwe(y).replace(/fa[blrs]?:fa-[\w-]+/g,A=>`<i class='${A.replace(":"," ")}'></i>`),labelStyle:o.replace("fill:","color:")};return mYt(k)}else{const k=document.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",o.replace("color:","fill:"));let v=[];typeof y=="string"?v=y.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(y)?v=y:v=[];for(const A of v){const O=document.createElementNS("http://www.w3.org/2000/svg","tspan");O.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),O.setAttribute("dy","1em"),O.setAttribute("x","0"),f?O.setAttribute("class","title-row"):O.setAttribute("class","row"),O.textContent=A.trim(),k.appendChild(O)}return k}},kp=(s,o,f,m)=>{let y;f?y=f:y="node default";const k=s.insert("g").attr("class",y).attr("id",o.domId||o.id),v=k.insert("g").attr("class","label").attr("style",o.labelStyle);let A;o.labelText===void 0?A="":A=typeof o.labelText=="string"?o.labelText:o.labelText[0];const O=v.node().appendChild(gv(zb(jwe(A),Qt()),o.labelStyle,!1,m));let j=O.getBBox();if(i0(Qt().flowchart.htmlLabels)){const V=O.children[0],Y=Or(O);j=V.getBoundingClientRect(),Y.attr("width",j.width),Y.attr("height",j.height)}const z=o.padding/2;return v.attr("transform","translate("+-j.width/2+", "+-j.height/2+")"),{shapeSvg:k,bbox:j,halfPadding:z,label:v}},t1=(s,o)=>{const f=o.node().getBBox();s.width=f.width,s.height=f.height};function gx(s,o,f,m){return s.insert("polygon",":first-child").attr("points",m.map(function(y){return y.x+","+y.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-o/2+","+f/2+")")}let kl={},P3={},LVe={};const vYt=()=>{P3={},LVe={},kl={}},EJ=(s,o)=>(ne.trace("In isDecendant",o," ",s," = ",P3[o].includes(s)),!!P3[o].includes(s)),bYt=(s,o)=>(ne.info("Decendants of ",o," is ",P3[o]),ne.info("Edge is ",s),s.v===o||s.w===o?!1:P3[o]?P3[o].includes(s.v)||EJ(s.v,o)||EJ(s.w,o)||P3[o].includes(s.w):(ne.debug("Tilt, ",o,",not in decendants"),!1)),IVe=(s,o,f,m)=>{ne.warn("Copying children of ",s,"root",m,"data",o.node(s),m);const y=o.children(s)||[];s!==m&&y.push(s),ne.warn("Copying (nodes) clusterId",s,"nodes",y),y.forEach(k=>{if(o.children(k).length>0)IVe(k,o,f,m);else{const v=o.node(k);ne.info("cp ",k," to ",m," with parent ",s),f.setNode(k,v),m!==o.parent(k)&&(ne.warn("Setting parent",k,o.parent(k)),f.setParent(k,o.parent(k))),s!==m&&k!==s?(ne.debug("Setting parent",k,s),f.setParent(k,s)):(ne.info("In copy ",s,"root",m,"data",o.node(s),m),ne.debug("Not Setting parent for node=",k,"cluster!==rootId",s!==m,"node!==clusterId",k!==s));const A=o.edges(k);ne.debug("Copying Edges",A),A.forEach(O=>{ne.info("Edge",O);const j=o.edge(O.v,O.w,O.name);ne.info("Edge data",j,m);try{bYt(O,m)?(ne.info("Copying as ",O.v,O.w,j,O.name),f.setEdge(O.v,O.w,j,O.name),ne.info("newGraph edges ",f.edges(),f.edge(f.edges()[0]))):ne.info("Skipping copy of edge ",O.v,"-->",O.w," rootId: ",m," clusterId:",s)}catch(z){ne.error(z)}})}ne.debug("Removing node",k),o.removeNode(k)})},OVe=(s,o)=>{const f=o.children(s);let m=[...f];for(const y of f)LVe[y]=s,m=[...m,...OVe(y,o)];return m},Ij=(s,o)=>{ne.trace("Searching",s);const f=o.children(s);if(ne.trace("Searching children of id ",s,f),f.length<1)return ne.trace("This is a valid node",s),s;for(const m of f){const y=Ij(m,o);if(y)return ne.trace("Found replacement for",s," => ",y),y}},TJ=s=>!kl[s]||!kl[s].externalConnections?s:kl[s]?kl[s].id:s,wYt=(s,o)=>{if(!s||o>10){ne.debug("Opting out, no graph ");return}else ne.debug("Opting in, graph ");s.nodes().forEach(function(f){s.children(f).length>0&&(ne.warn("Cluster identified",f," Replacement id in edges: ",Ij(f,s)),P3[f]=OVe(f,s),kl[f]={id:Ij(f,s),clusterData:s.node(f)})}),s.nodes().forEach(function(f){const m=s.children(f),y=s.edges();m.length>0?(ne.debug("Cluster identified",f,P3),y.forEach(k=>{if(k.v!==f&&k.w!==f){const v=EJ(k.v,f),A=EJ(k.w,f);v^A&&(ne.warn("Edge: ",k," leaves cluster ",f),ne.warn("Decendants of XXX ",f,": ",P3[f]),kl[f].externalConnections=!0)}})):ne.debug("Not a cluster ",f,P3)}),s.edges().forEach(function(f){const m=s.edge(f);ne.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(f)),ne.warn("Edge "+f.v+" -> "+f.w+": "+JSON.stringify(s.edge(f)));let y=f.v,k=f.w;if(ne.warn("Fix XXX",kl,"ids:",f.v,f.w,"Translating: ",kl[f.v]," --- ",kl[f.w]),kl[f.v]&&kl[f.w]&&kl[f.v]===kl[f.w]){ne.warn("Fixing and trixing link to self - removing XXX",f.v,f.w,f.name),ne.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),y=TJ(f.v),k=TJ(f.w),s.removeEdge(f.v,f.w,f.name);const v=f.w+"---"+f.v;s.setNode(v,{domId:v,id:v,labelStyle:"",labelText:m.label,padding:0,shape:"labelRect",style:""});const A=JSON.parse(JSON.stringify(m)),O=JSON.parse(JSON.stringify(m));A.label="",A.arrowTypeEnd="none",O.label="",A.fromCluster=f.v,O.toCluster=f.v,s.setEdge(y,v,A,f.name+"-cyclic-special"),s.setEdge(v,k,O,f.name+"-cyclic-special")}else(kl[f.v]||kl[f.w])&&(ne.warn("Fixing and trixing - removing XXX",f.v,f.w,f.name),y=TJ(f.v),k=TJ(f.w),s.removeEdge(f.v,f.w,f.name),y!==f.v&&(m.fromCluster=f.v),k!==f.w&&(m.toCluster=f.w),ne.warn("Fix Replacing with XXX",y,k,f.name),s.setEdge(y,k,m,f.name))}),ne.warn("Adjusted Graph",dx(s)),DVe(s,0),ne.trace(kl)},DVe=(s,o)=>{if(ne.warn("extractor - ",o,dx(s),s.children("D")),o>10){ne.error("Bailing out");return}let f=s.nodes(),m=!1;for(const y of f){const k=s.children(y);m=m||k.length>0}if(!m){ne.debug("Done, no node has children",s.nodes());return}ne.debug("Nodes = ",f,o);for(const y of f)if(ne.debug("Extracting node",y,kl,kl[y]&&!kl[y].externalConnections,!s.parent(y),s.node(y),s.children("D")," Depth ",o),!kl[y])ne.debug("Not a cluster",y,o);else if(!kl[y].externalConnections&&s.children(y)&&s.children(y).length>0){ne.warn("Cluster without external connections, without a parent and with children",y,o);let v=s.graph().rankdir==="TB"?"LR":"TB";kl[y]&&kl[y].clusterData&&kl[y].clusterData.dir&&(v=kl[y].clusterData.dir,ne.warn("Fixing dir",kl[y].clusterData.dir,v));const A=new P1({multigraph:!0,compound:!0}).setGraph({rankdir:v,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});ne.warn("Old graph before copy",dx(s)),IVe(y,s,A,y),s.setNode(y,{clusterNode:!0,id:y,clusterData:kl[y].clusterData,labelText:kl[y].labelText,graph:A}),ne.warn("New graph after copy node: (",y,")",dx(A)),ne.debug("Old graph after copy",dx(s))}else ne.warn("Cluster ** ",y," **not meeting the criteria !externalConnections:",!kl[y].externalConnections," no parent: ",!s.parent(y)," children ",s.children(y)&&s.children(y).length>0,s.children("D"),o),ne.debug(kl);f=s.nodes(),ne.warn("New list of nodes",f);for(const y of f){const k=s.node(y);ne.warn(" Now next level",y,k),k.clusterNode&&DVe(k.graph,o+1)}},PVe=(s,o)=>{if(o.length===0)return[];let f=Object.assign(o);return o.forEach(m=>{const y=s.children(m),k=PVe(s,y);f=[...f,...k]}),f},yYt=s=>PVe(s,s.children());function _Yt(s,o){return s.intersect(o)}function NVe(s,o,f,m){var y=s.x,k=s.y,v=y-m.x,A=k-m.y,O=Math.sqrt(o*o*A*A+f*f*v*v),j=Math.abs(o*f*v/O);m.x<y&&(j=-j);var z=Math.abs(o*f*A/O);return m.y<k&&(z=-z),{x:y+j,y:k+z}}function xYt(s,o,f){return NVe(s,o,o,f)}function kYt(s,o,f,m){var y,k,v,A,O,j,z,V,Y,G,J,ce,me,_e,we;if(y=o.y-s.y,v=s.x-o.x,O=o.x*s.y-s.x*o.y,Y=y*f.x+v*f.y+O,G=y*m.x+v*m.y+O,!(Y!==0&&G!==0&&RVe(Y,G))&&(k=m.y-f.y,A=f.x-m.x,j=m.x*f.y-f.x*m.y,z=k*s.x+A*s.y+j,V=k*o.x+A*o.y+j,!(z!==0&&V!==0&&RVe(z,V))&&(J=y*A-k*v,J!==0)))return ce=Math.abs(J/2),me=v*j-A*O,_e=me<0?(me-ce)/J:(me+ce)/J,me=k*O-y*j,we=me<0?(me-ce)/J:(me+ce)/J,{x:_e,y:we}}function RVe(s,o){return s*o>0}function EYt(s,o,f){var m=s.x,y=s.y,k=[],v=Number.POSITIVE_INFINITY,A=Number.POSITIVE_INFINITY;typeof o.forEach=="function"?o.forEach(function(J){v=Math.min(v,J.x),A=Math.min(A,J.y)}):(v=Math.min(v,o.x),A=Math.min(A,o.y));for(var O=m-s.width/2-v,j=y-s.height/2-A,z=0;z<o.length;z++){var V=o[z],Y=o[z<o.length-1?z+1:0],G=kYt(s,f,{x:O+V.x,y:j+V.y},{x:O+Y.x,y:j+Y.y});G&&k.push(G)}return k.length?(k.length>1&&k.sort(function(J,ce){var me=J.x-f.x,_e=J.y-f.y,we=Math.sqrt(me*me+_e*_e),Se=ce.x-f.x,Oe=ce.y-f.y,De=Math.sqrt(Se*Se+Oe*Oe);return we<De?-1:we===De?0:1}),k[0]):s}const Oj=(s,o)=>{var f=s.x,m=s.y,y=o.x-f,k=o.y-m,v=s.width/2,A=s.height/2,O,j;return Math.abs(k)*v>Math.abs(y)*A?(k<0&&(A=-A),O=k===0?0:A*y/k,j=A):(y<0&&(v=-v),O=v,j=y===0?0:v*k/y),{x:f+O,y:m+j}},wd={node:_Yt,circle:xYt,ellipse:NVe,polygon:EYt,rect:Oj},TYt=(s,o)=>{const{shapeSvg:f,bbox:m,halfPadding:y}=kp(s,o,"node "+o.classes,!0);ne.info("Classes = ",o.classes);const k=f.insert("rect",":first-child");return k.attr("rx",o.rx).attr("ry",o.ry).attr("x",-m.width/2-y).attr("y",-m.height/2-y).attr("width",m.width+o.padding).attr("height",m.height+o.padding),t1(o,k),o.intersect=function(v){return wd.rect(o,v)},f},BVe=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=y+k,A=[{x:v/2,y:0},{x:v,y:-v/2},{x:v/2,y:-v},{x:0,y:-v/2}];ne.info("Question main (Circle)");const O=gx(f,v,v,A);return O.attr("style",o.style),t1(o,O),o.intersect=function(j){return ne.warn("Intersect called"),wd.polygon(o,A,j)},f},SYt=(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),m=28,y=[{x:0,y:m/2},{x:m/2,y:0},{x:0,y:-m/2},{x:-m/2,y:0}];return f.insert("polygon",":first-child").attr("points",y.map(function(v){return v.x+","+v.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),o.width=28,o.height=28,o.intersect=function(v){return wd.circle(o,14,v)},f},CYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=4,k=m.height+o.padding,v=k/y,A=m.width+2*v+o.padding,O=[{x:v,y:0},{x:A-v,y:0},{x:A,y:-k/2},{x:A-v,y:-k},{x:v,y:-k},{x:0,y:-k/2}],j=gx(f,A,k,O);return j.attr("style",o.style),t1(o,j),o.intersect=function(z){return wd.polygon(o,O,z)},f},AYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:-k/2,y:0},{x:y,y:0},{x:y,y:-k},{x:-k/2,y:-k},{x:0,y:-k/2}];return gx(f,y,k,v).attr("style",o.style),o.width=y+k,o.height=k,o.intersect=function(O){return wd.polygon(o,v,O)},f},MYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:-2*k/6,y:0},{x:y-k/6,y:0},{x:y+2*k/6,y:-k},{x:k/6,y:-k}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},LYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:2*k/6,y:0},{x:y+k/6,y:0},{x:y-2*k/6,y:-k},{x:-k/6,y:-k}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},IYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:-2*k/6,y:0},{x:y+2*k/6,y:0},{x:y-k/6,y:-k},{x:k/6,y:-k}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},OYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:k/6,y:0},{x:y-k/6,y:0},{x:y+2*k/6,y:-k},{x:-2*k/6,y:-k}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},DYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:0,y:0},{x:y+k/2,y:0},{x:y,y:-k/2},{x:y+k/2,y:-k},{x:0,y:-k}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},PYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=y/2,v=k/(2.5+y/50),A=m.height+v+o.padding,O="M 0,"+v+" a "+k+","+v+" 0,0,0 "+y+" 0 a "+k+","+v+" 0,0,0 "+-y+" 0 l 0,"+A+" a "+k+","+v+" 0,0,0 "+y+" 0 l 0,"+-A,j=f.attr("label-offset-y",v).insert("path",":first-child").attr("style",o.style).attr("d",O).attr("transform","translate("+-y/2+","+-(A/2+v)+")");return t1(o,j),o.intersect=function(z){const V=wd.rect(o,z),Y=V.x-o.x;if(k!=0&&(Math.abs(Y)<o.width/2||Math.abs(Y)==o.width/2&&Math.abs(V.y-o.y)>o.height/2-v)){let G=v*v*(1-Y*Y/(k*k));G!=0&&(G=Math.sqrt(G)),G=v-G,z.y-o.y>0&&(G=-G),V.y+=G}return V},f},NYt=(s,o)=>{const{shapeSvg:f,bbox:m,halfPadding:y}=kp(s,o,"node "+o.classes,!0);ne.trace("Classes = ",o.classes);const k=f.insert("rect",":first-child"),v=m.width+o.padding,A=m.height+o.padding;if(k.attr("class","basic label-container").attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("x",-m.width/2-y).attr("y",-m.height/2-y).attr("width",v).attr("height",A),o.props){const O=new Set(Object.keys(o.props));o.props.borders&&(FVe(k,o.props.borders,v,A),O.delete("borders")),O.forEach(j=>{ne.warn(`Unknown node property ${j}`)})}return t1(o,k),o.intersect=function(O){return wd.rect(o,O)},f},RYt=(s,o)=>{const{shapeSvg:f}=kp(s,o,"label",!0);ne.trace("Classes = ",o.classes);const m=f.insert("rect",":first-child"),y=0,k=0;if(m.attr("width",y).attr("height",k),f.attr("class","label edgeLabel"),o.props){const v=new Set(Object.keys(o.props));o.props.borders&&(FVe(m,o.props.borders,y,k),v.delete("borders")),v.forEach(A=>{ne.warn(`Unknown node property ${A}`)})}return t1(o,m),o.intersect=function(v){return wd.rect(o,v)},f};function FVe(s,o,f,m){const y=[],k=A=>{y.push(A,0)},v=A=>{y.push(0,A)};o.includes("t")?(ne.debug("add top border"),k(f)):v(f),o.includes("r")?(ne.debug("add right border"),k(m)):v(m),o.includes("b")?(ne.debug("add bottom border"),k(f)):v(f),o.includes("l")?(ne.debug("add left border"),k(m)):v(m),s.attr("stroke-dasharray",y.join(" "))}const BYt=(s,o)=>{let f;o.classes?f="node "+o.classes:f="node default";const m=s.insert("g").attr("class",f).attr("id",o.domId||o.id),y=m.insert("rect",":first-child"),k=m.insert("line"),v=m.insert("g").attr("class","label"),A=o.labelText.flat?o.labelText.flat():o.labelText;let O="";typeof A=="object"?O=A[0]:O=A,ne.info("Label text abc79",O,A,typeof A=="object");const j=v.node().appendChild(gv(O,o.labelStyle,!0,!0));let z={width:0,height:0};if(i0(Qt().flowchart.htmlLabels)){const ce=j.children[0],me=Or(j);z=ce.getBoundingClientRect(),me.attr("width",z.width),me.attr("height",z.height)}ne.info("Text 2",A);const V=A.slice(1,A.length);let Y=j.getBBox();const G=v.node().appendChild(gv(V.join?V.join("<br/>"):V,o.labelStyle,!0,!0));if(i0(Qt().flowchart.htmlLabels)){const ce=G.children[0],me=Or(G);z=ce.getBoundingClientRect(),me.attr("width",z.width),me.attr("height",z.height)}const J=o.padding/2;return Or(G).attr("transform","translate( "+(z.width>Y.width?0:(Y.width-z.width)/2)+", "+(Y.height+J+5)+")"),Or(j).attr("transform","translate( "+(z.width<Y.width?0:-(Y.width-z.width)/2)+", "+0+")"),z=v.node().getBBox(),v.attr("transform","translate("+-z.width/2+", "+(-z.height/2-J+3)+")"),y.attr("class","outer title-state").attr("x",-z.width/2-J).attr("y",-z.height/2-J).attr("width",z.width+o.padding).attr("height",z.height+o.padding),k.attr("class","divider").attr("x1",-z.width/2-J).attr("x2",z.width/2+J).attr("y1",-z.height/2-J+Y.height+J).attr("y2",-z.height/2-J+Y.height+J),t1(o,y),o.intersect=function(ce){return wd.rect(o,ce)},m},FYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.height+o.padding,k=m.width+y/4+o.padding,v=f.insert("rect",":first-child").attr("style",o.style).attr("rx",y/2).attr("ry",y/2).attr("x",-k/2).attr("y",-y/2).attr("width",k).attr("height",y);return t1(o,v),o.intersect=function(A){return wd.rect(o,A)},f},jYt=(s,o)=>{const{shapeSvg:f,bbox:m,halfPadding:y}=kp(s,o,void 0,!0),k=f.insert("circle",":first-child");return k.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",m.width/2+y).attr("width",m.width+o.padding).attr("height",m.height+o.padding),ne.info("Circle main"),t1(o,k),o.intersect=function(v){return ne.info("Circle intersect",o,m.width/2+y,v),wd.circle(o,m.width/2+y,v)},f},$Yt=(s,o)=>{const{shapeSvg:f,bbox:m,halfPadding:y}=kp(s,o,void 0,!0),k=5,v=f.insert("g",":first-child"),A=v.insert("circle"),O=v.insert("circle");return A.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",m.width/2+y+k).attr("width",m.width+o.padding+k*2).attr("height",m.height+o.padding+k*2),O.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("r",m.width/2+y).attr("width",m.width+o.padding).attr("height",m.height+o.padding),ne.info("DoubleCircle main"),t1(o,A),o.intersect=function(j){return ne.info("DoubleCircle intersect",o,m.width/2+y+k,j),wd.circle(o,m.width/2+y+k,j)},f},HYt=(s,o)=>{const{shapeSvg:f,bbox:m}=kp(s,o,void 0,!0),y=m.width+o.padding,k=m.height+o.padding,v=[{x:0,y:0},{x:y,y:0},{x:y,y:-k},{x:0,y:-k},{x:0,y:0},{x:-8,y:0},{x:y+8,y:0},{x:y+8,y:-k},{x:-8,y:-k},{x:-8,y:0}],A=gx(f,y,k,v);return A.attr("style",o.style),t1(o,A),o.intersect=function(O){return wd.polygon(o,v,O)},f},zYt=(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),m=f.insert("circle",":first-child");return m.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),t1(o,m),o.intersect=function(y){return wd.circle(o,7,y)},f},jVe=(s,o,f)=>{const m=s.insert("g").attr("class","node default").attr("id",o.domId||o.id);let y=70,k=10;f==="LR"&&(y=10,k=70);const v=m.append("rect").attr("x",-1*y/2).attr("y",-1*k/2).attr("width",y).attr("height",k).attr("class","fork-join");return t1(o,v),o.height=o.height+o.padding/2,o.width=o.width+o.padding/2,o.intersect=function(A){return wd.rect(o,A)},m},$Ve={rhombus:BVe,question:BVe,rect:NYt,labelRect:RYt,rectWithTitle:BYt,choice:SYt,circle:jYt,doublecircle:$Yt,stadium:FYt,hexagon:CYt,rect_left_inv_arrow:AYt,lean_right:MYt,lean_left:LYt,trapezoid:IYt,inv_trapezoid:OYt,rect_right_inv_arrow:DYt,cylinder:PYt,start:zYt,end:(s,o)=>{const f=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),m=f.insert("circle",":first-child"),y=f.insert("circle",":first-child");return y.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),t1(o,y),o.intersect=function(k){return wd.circle(o,7,k)},f},note:TYt,subroutine:HYt,fork:jVe,join:jVe,class_box:(s,o)=>{const f=o.padding/2,m=4,y=8;let k;o.classes?k="node "+o.classes:k="node default";const v=s.insert("g").attr("class",k).attr("id",o.domId||o.id),A=v.insert("rect",":first-child"),O=v.insert("line"),j=v.insert("line");let z=0,V=m;const Y=v.insert("g").attr("class","label");let G=0;const J=o.classData.annotations&&o.classData.annotations[0],ce=o.classData.annotations[0]?"«"+o.classData.annotations[0]+"»":"",me=Y.node().appendChild(gv(ce,o.labelStyle,!0,!0));let _e=me.getBBox();if(i0(Qt().flowchart.htmlLabels)){const Ie=me.children[0],ge=Or(me);_e=Ie.getBoundingClientRect(),ge.attr("width",_e.width),ge.attr("height",_e.height)}o.classData.annotations[0]&&(V+=_e.height+m,z+=_e.width);let we=o.classData.id;o.classData.type!==void 0&&o.classData.type!==""&&(Qt().flowchart.htmlLabels?we+="&lt;"+o.classData.type+"&gt;":we+="<"+o.classData.type+">");const Se=Y.node().appendChild(gv(we,o.labelStyle,!0,!0));Or(Se).attr("class","classTitle");let Oe=Se.getBBox();if(i0(Qt().flowchart.htmlLabels)){const Ie=Se.children[0],ge=Or(Se);Oe=Ie.getBoundingClientRect(),ge.attr("width",Oe.width),ge.attr("height",Oe.height)}V+=Oe.height+m,Oe.width>z&&(z=Oe.width);const De=[];o.classData.members.forEach(Ie=>{const ge=_J(Ie);let Me=ge.displayText;Qt().flowchart.htmlLabels&&(Me=Me.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const Ne=Y.node().appendChild(gv(Me,ge.cssStyle?ge.cssStyle:o.labelStyle,!0,!0));let xe=Ne.getBBox();if(i0(Qt().flowchart.htmlLabels)){const qe=Ne.children[0],ae=Or(Ne);xe=qe.getBoundingClientRect(),ae.attr("width",xe.width),ae.attr("height",xe.height)}xe.width>z&&(z=xe.width),V+=xe.height+m,De.push(Ne)}),V+=y;const Ve=[];if(o.classData.methods.forEach(Ie=>{const ge=_J(Ie);let Me=ge.displayText;Qt().flowchart.htmlLabels&&(Me=Me.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const Ne=Y.node().appendChild(gv(Me,ge.cssStyle?ge.cssStyle:o.labelStyle,!0,!0));let xe=Ne.getBBox();if(i0(Qt().flowchart.htmlLabels)){const qe=Ne.children[0],ae=Or(Ne);xe=qe.getBoundingClientRect(),ae.attr("width",xe.width),ae.attr("height",xe.height)}xe.width>z&&(z=xe.width),V+=xe.height+m,Ve.push(Ne)}),V+=y,J){let Ie=(z-_e.width)/2;Or(me).attr("transform","translate( "+(-1*z/2+Ie)+", "+-1*V/2+")"),G=_e.height+m}let ke=(z-Oe.width)/2;return Or(Se).attr("transform","translate( "+(-1*z/2+ke)+", "+(-1*V/2+G)+")"),G+=Oe.height+m,O.attr("class","divider").attr("x1",-z/2-f).attr("x2",z/2+f).attr("y1",-V/2-f+y+G).attr("y2",-V/2-f+y+G),G+=y,De.forEach(Ie=>{Or(Ie).attr("transform","translate( "+-z/2+", "+(-1*V/2+G+y/2)+")"),G+=Oe.height+m}),G+=y,j.attr("class","divider").attr("x1",-z/2-f).attr("x2",z/2+f).attr("y1",-V/2-f+y+G).attr("y2",-V/2-f+y+G),G+=y,Ve.forEach(Ie=>{Or(Ie).attr("transform","translate( "+-z/2+", "+(-1*V/2+G)+")"),G+=Oe.height+m}),A.attr("class","outer title-state").attr("x",-z/2-f).attr("y",-(V/2)-f).attr("width",z+o.padding).attr("height",V+o.padding),t1(o,A),o.intersect=function(Ie){return wd.rect(o,Ie)},v}};let UO={};const HVe=(s,o,f)=>{let m,y;if(o.link){let k;Qt().securityLevel==="sandbox"?k="_top":o.linkTarget&&(k=o.linkTarget||"_blank"),m=s.insert("svg:a").attr("xlink:href",o.link).attr("target",k),y=$Ve[o.shape](m,o,f)}else y=$Ve[o.shape](s,o,f),m=y;return o.tooltip&&y.attr("title",o.tooltip),o.class&&y.attr("class","node default "+o.class),UO[o.id]=m,o.haveCallback&&UO[o.id].attr("class",UO[o.id].attr("class")+" clickable"),m},VYt=(s,o)=>{UO[o.id]=s},qYt=()=>{UO={}},zVe=s=>{const o=UO[s.id];ne.trace("Transforming node",s.diff,s,"translate("+(s.x-s.width/2-5)+", "+s.width/2+")");const f=8,m=s.diff||0;return s.clusterNode?o.attr("transform","translate("+(s.x+m-s.width/2)+", "+(s.y-s.height/2-f)+")"):o.attr("transform","translate("+s.x+", "+s.y+")"),m},UYt={rect:(s,o)=>{ne.trace("Creating subgraph rect for ",o.id,o);const f=s.insert("g").attr("class","cluster"+(o.class?" "+o.class:"")).attr("id",o.id),m=f.insert("rect",":first-child"),y=f.insert("g").attr("class","cluster-label"),k=y.node().appendChild(gv(o.labelText,o.labelStyle,void 0,!0));let v=k.getBBox();if(i0(Qt().flowchart.htmlLabels)){const V=k.children[0],Y=Or(k);v=V.getBoundingClientRect(),Y.attr("width",v.width),Y.attr("height",v.height)}const A=0*o.padding,O=A/2,j=o.width<=v.width+A?v.width+A:o.width;o.width<=v.width+A?o.diff=(v.width-o.width)/2-o.padding/2:o.diff=-o.padding/2,ne.trace("Data ",o,JSON.stringify(o)),m.attr("style",o.style).attr("rx",o.rx).attr("ry",o.ry).attr("x",o.x-j/2).attr("y",o.y-o.height/2-O).attr("width",j).attr("height",o.height+A),y.attr("transform","translate("+(o.x-v.width/2)+", "+(o.y-o.height/2)+")");const z=m.node().getBBox();return o.width=z.width,o.height=z.height,o.intersect=function(V){return Oj(o,V)},f},roundedWithTitle:(s,o)=>{const f=s.insert("g").attr("class",o.classes).attr("id",o.id),m=f.insert("rect",":first-child"),y=f.insert("g").attr("class","cluster-label"),k=f.append("rect"),v=y.node().appendChild(gv(o.labelText,o.labelStyle,void 0,!0));let A=v.getBBox();if(i0(Qt().flowchart.htmlLabels)){const Y=v.children[0],G=Or(v);A=Y.getBoundingClientRect(),G.attr("width",A.width),G.attr("height",A.height)}A=v.getBBox();const O=0*o.padding,j=O/2,z=o.width<=A.width+o.padding?A.width+o.padding:o.width;o.width<=A.width+o.padding?o.diff=(A.width+o.padding*0-o.width)/2:o.diff=-o.padding/2,m.attr("class","outer").attr("x",o.x-z/2-j).attr("y",o.y-o.height/2-j).attr("width",z+O).attr("height",o.height+O),k.attr("class","inner").attr("x",o.x-z/2-j).attr("y",o.y-o.height/2-j+A.height-1).attr("width",z+O).attr("height",o.height+O-A.height-3),y.attr("transform","translate("+(o.x-A.width/2)+", "+(o.y-o.height/2-o.padding/3+(i0(Qt().flowchart.htmlLabels)?5:3))+")");const V=m.node().getBBox();return o.height=V.height,o.intersect=function(Y){return Oj(o,Y)},f},noteGroup:(s,o)=>{const f=s.insert("g").attr("class","note-cluster").attr("id",o.id),m=f.insert("rect",":first-child"),y=0*o.padding,k=y/2;m.attr("rx",o.rx).attr("ry",o.ry).attr("x",o.x-o.width/2-k).attr("y",o.y-o.height/2-k).attr("width",o.width+y).attr("height",o.height+y).attr("fill","none");const v=m.node().getBBox();return o.width=v.width,o.height=v.height,o.intersect=function(A){return Oj(o,A)},f},divider:(s,o)=>{const f=s.insert("g").attr("class",o.classes).attr("id",o.id),m=f.insert("rect",":first-child"),y=0*o.padding,k=y/2;m.attr("class","divider").attr("x",o.x-o.width/2-k).attr("y",o.y-o.height/2).attr("width",o.width+y).attr("height",o.height+y);const v=m.node().getBBox();return o.width=v.width,o.height=v.height,o.diff=-o.padding/2,o.intersect=function(A){return Oj(o,A)},f}};let VVe={};const GYt=(s,o)=>{ne.trace("Inserting cluster");const f=o.shape||"rect";VVe[o.id]=UYt[f](s,o)},WYt=()=>{VVe={}};let SJ={},Fg={};const KYt=()=>{SJ={},Fg={}},qVe=(s,o)=>{const f=gv(o.label,o.labelStyle),m=s.insert("g").attr("class","edgeLabel"),y=m.insert("g").attr("class","label");y.node().appendChild(f);let k=f.getBBox();if(i0(Qt().flowchart.htmlLabels)){const A=f.children[0],O=Or(f);k=A.getBoundingClientRect(),O.attr("width",k.width),O.attr("height",k.height)}y.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"),SJ[o.id]=m,o.width=k.width,o.height=k.height;let v;if(o.startLabelLeft){const A=gv(o.startLabelLeft,o.labelStyle),O=s.insert("g").attr("class","edgeTerminals"),j=O.insert("g").attr("class","inner");v=j.node().appendChild(A);const z=A.getBBox();j.attr("transform","translate("+-z.width/2+", "+-z.height/2+")"),Fg[o.id]||(Fg[o.id]={}),Fg[o.id].startLeft=O,CJ(v,o.startLabelLeft)}if(o.startLabelRight){const A=gv(o.startLabelRight,o.labelStyle),O=s.insert("g").attr("class","edgeTerminals"),j=O.insert("g").attr("class","inner");v=O.node().appendChild(A),j.node().appendChild(A);const z=A.getBBox();j.attr("transform","translate("+-z.width/2+", "+-z.height/2+")"),Fg[o.id]||(Fg[o.id]={}),Fg[o.id].startRight=O,CJ(v,o.startLabelRight)}if(o.endLabelLeft){const A=gv(o.endLabelLeft,o.labelStyle),O=s.insert("g").attr("class","edgeTerminals"),j=O.insert("g").attr("class","inner");v=j.node().appendChild(A);const z=A.getBBox();j.attr("transform","translate("+-z.width/2+", "+-z.height/2+")"),O.node().appendChild(A),Fg[o.id]||(Fg[o.id]={}),Fg[o.id].endLeft=O,CJ(v,o.endLabelLeft)}if(o.endLabelRight){const A=gv(o.endLabelRight,o.labelStyle),O=s.insert("g").attr("class","edgeTerminals"),j=O.insert("g").attr("class","inner");v=j.node().appendChild(A);const z=A.getBBox();j.attr("transform","translate("+-z.width/2+", "+-z.height/2+")"),O.node().appendChild(A),Fg[o.id]||(Fg[o.id]={}),Fg[o.id].endRight=O,CJ(v,o.endLabelRight)}return f};function CJ(s,o){Qt().flowchart.htmlLabels&&s&&(s.style.width=o.length*9+"px",s.style.height="12px")}const YYt=(s,o)=>{ne.info("Moving label abc78 ",s.id,s.label,SJ[s.id]);let f=o.updatedPath?o.updatedPath:o.originalPath;if(s.label){const m=SJ[s.id];let y=s.x,k=s.y;if(f){const v=Go.calcLabelPosition(f);ne.info("Moving label "+s.label+" from (",y,",",k,") to (",v.x,",",v.y,") abc78"),o.updatedPath&&(y=v.x,k=v.y)}m.attr("transform","translate("+y+", "+k+")")}if(s.startLabelLeft){const m=Fg[s.id].startLeft;let y=s.x,k=s.y;if(f){const v=Go.calcTerminalLabelPosition(s.arrowTypeStart?10:0,"start_left",f);y=v.x,k=v.y}m.attr("transform","translate("+y+", "+k+")")}if(s.startLabelRight){const m=Fg[s.id].startRight;let y=s.x,k=s.y;if(f){const v=Go.calcTerminalLabelPosition(s.arrowTypeStart?10:0,"start_right",f);y=v.x,k=v.y}m.attr("transform","translate("+y+", "+k+")")}if(s.endLabelLeft){const m=Fg[s.id].endLeft;let y=s.x,k=s.y;if(f){const v=Go.calcTerminalLabelPosition(s.arrowTypeEnd?10:0,"end_left",f);y=v.x,k=v.y}m.attr("transform","translate("+y+", "+k+")")}if(s.endLabelRight){const m=Fg[s.id].endRight;let y=s.x,k=s.y;if(f){const v=Go.calcTerminalLabelPosition(s.arrowTypeEnd?10:0,"end_right",f);y=v.x,k=v.y}m.attr("transform","translate("+y+", "+k+")")}},XYt=(s,o)=>{const f=s.x,m=s.y,y=Math.abs(o.x-f),k=Math.abs(o.y-m),v=s.width/2,A=s.height/2;return y>=v||k>=A},QYt=(s,o,f)=>{ne.warn(`intersection calc abc89:
outsidePoint: ${JSON.stringify(o)}
insidePoint : ${JSON.stringify(f)}
node : x:${s.x} y:${s.y} w:${s.width} h:${s.height}`);const m=s.x,y=s.y,k=Math.abs(m-f.x),v=s.width/2;let A=f.x<o.x?v-k:v+k;const O=s.height/2,j=Math.abs(o.y-f.y),z=Math.abs(o.x-f.x);if(Math.abs(y-o.y)*v>Math.abs(m-o.x)*O){let V=f.y<o.y?o.y-O-y:y-O-o.y;A=z*V/j;const Y={x:f.x<o.x?f.x+A:f.x-z+A,y:f.y<o.y?f.y+j-V:f.y-j+V};return A===0&&(Y.x=o.x,Y.y=o.y),z===0&&(Y.x=o.x),j===0&&(Y.y=o.y),ne.warn(`abc89 topp/bott calc, Q ${j}, q ${V}, R ${z}, r ${A}`,Y),Y}else{f.x<o.x?A=o.x-v-m:A=m-v-o.x;let V=j*A/z,Y=f.x<o.x?f.x+z-A:f.x-z+A,G=f.y<o.y?f.y+V:f.y-V;return ne.warn(`sides calc abc89, Q ${j}, q ${V}, R ${z}, r ${A}`,{_x:Y,_y:G}),A===0&&(Y=o.x,G=o.y),z===0&&(Y=o.x),j===0&&(G=o.y),{x:Y,y:G}}},UVe=(s,o)=>{ne.warn("abc88 cutPathAtIntersect",s,o);let f=[],m=s[0],y=!1;return s.forEach(k=>{if(ne.info("abc88 checking point",k,o),!XYt(o,k)&&!y){const v=QYt(o,m,k);ne.warn("abc88 inside",k,m,v),ne.warn("abc88 intersection",v);let A=!1;f.forEach(O=>{A=A||O.x===v.x&&O.y===v.y}),f.some(O=>O.x===v.x&&O.y===v.y)?ne.warn("abc88 no intersect",v,f):f.push(v),y=!0}else ne.warn("abc88 outside",k,m),m=k,y||f.push(k)}),ne.warn("abc88 returning points",f),f},ZYt=function(s,o,f,m,y,k){let v=f.points,A=!1;const O=k.node(o.v);var j=k.node(o.w);ne.info("abc88 InsertEdge: ",f),j.intersect&&O.intersect&&(v=v.slice(1,f.points.length-1),v.unshift(O.intersect(v[0])),ne.info("Last point",v[v.length-1],j,j.intersect(v[v.length-1])),v.push(j.intersect(v[v.length-1]))),f.toCluster&&(ne.info("to cluster abc88",m[f.toCluster]),v=UVe(f.points,m[f.toCluster].node),A=!0),f.fromCluster&&(ne.info("from cluster abc88",m[f.fromCluster]),v=UVe(v.reverse(),m[f.fromCluster].node).reverse(),A=!0);const z=v.filter(_e=>!Number.isNaN(_e.y));let V;y==="graph"||y==="flowchart"?V=f.curve||yO:V=yO;const Y=bS().x(function(_e){return _e.x}).y(function(_e){return _e.y}).curve(V);let G;switch(f.thickness){case"normal":G="edge-thickness-normal";break;case"thick":G="edge-thickness-thick";break;default:G=""}switch(f.pattern){case"solid":G+=" edge-pattern-solid";break;case"dotted":G+=" edge-pattern-dotted";break;case"dashed":G+=" edge-pattern-dashed";break}const J=s.append("path").attr("d",Y(z)).attr("id",f.id).attr("class"," "+G+(f.classes?" "+f.classes:"")).attr("style",f.style);let ce="";switch((Qt().flowchart.arrowMarkerAbsolute||Qt().state.arrowMarkerAbsolute)&&(ce=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,ce=ce.replace(/\(/g,"\\("),ce=ce.replace(/\)/g,"\\)")),ne.info("arrowTypeStart",f.arrowTypeStart),ne.info("arrowTypeEnd",f.arrowTypeEnd),f.arrowTypeStart){case"arrow_cross":J.attr("marker-start","url("+ce+"#"+y+"-crossStart)");break;case"arrow_point":J.attr("marker-start","url("+ce+"#"+y+"-pointStart)");break;case"arrow_barb":J.attr("marker-start","url("+ce+"#"+y+"-barbStart)");break;case"arrow_circle":J.attr("marker-start","url("+ce+"#"+y+"-circleStart)");break;case"aggregation":J.attr("marker-start","url("+ce+"#"+y+"-aggregationStart)");break;case"extension":J.attr("marker-start","url("+ce+"#"+y+"-extensionStart)");break;case"composition":J.attr("marker-start","url("+ce+"#"+y+"-compositionStart)");break;case"dependency":J.attr("marker-start","url("+ce+"#"+y+"-dependencyStart)");break;case"lollipop":J.attr("marker-start","url("+ce+"#"+y+"-lollipopStart)");break}switch(f.arrowTypeEnd){case"arrow_cross":J.attr("marker-end","url("+ce+"#"+y+"-crossEnd)");break;case"arrow_point":J.attr("marker-end","url("+ce+"#"+y+"-pointEnd)");break;case"arrow_barb":J.attr("marker-end","url("+ce+"#"+y+"-barbEnd)");break;case"arrow_circle":J.attr("marker-end","url("+ce+"#"+y+"-circleEnd)");break;case"aggregation":J.attr("marker-end","url("+ce+"#"+y+"-aggregationEnd)");break;case"extension":J.attr("marker-end","url("+ce+"#"+y+"-extensionEnd)");break;case"composition":J.attr("marker-end","url("+ce+"#"+y+"-compositionEnd)");break;case"dependency":J.attr("marker-end","url("+ce+"#"+y+"-dependencyEnd)");break;case"lollipop":J.attr("marker-end","url("+ce+"#"+y+"-lollipopEnd)");break}let me={};return A&&(me.updatedPath=v),me.originalPath=f.points,me},GVe=(s,o,f,m)=>{ne.info("Graph in recursive render: XXX",dx(o),m);const y=o.graph().rankdir;ne.trace("Dir in recursive render - dir:",y);const k=s.insert("g").attr("class","root");o.nodes()?ne.info("Recursive render XXX",o.nodes()):ne.info("No nodes found for",o),o.edges().length>0&&ne.trace("Recursive edges",o.edge(o.edges()[0]));const v=k.insert("g").attr("class","clusters"),A=k.insert("g").attr("class","edgePaths"),O=k.insert("g").attr("class","edgeLabels"),j=k.insert("g").attr("class","nodes");o.nodes().forEach(function(V){const Y=o.node(V);if(m!==void 0){const G=JSON.parse(JSON.stringify(m.clusterData));ne.info("Setting data for cluster XXX (",V,") ",G,m),o.setNode(m.id,G),o.parent(V)||(ne.trace("Setting parent",V,m.id),o.setParent(V,m.id,G))}if(ne.info("(Insert) Node XXX"+V+": "+JSON.stringify(o.node(V))),Y&&Y.clusterNode){ne.info("Cluster identified",V,Y.width,o.node(V));const G=GVe(j,Y.graph,f,o.node(V)),J=G.elem;t1(Y,J),Y.diff=G.diff||0,ne.info("Node bounds (abc123)",V,Y,Y.width,Y.x,Y.y),VYt(J,Y),ne.warn("Recursive render complete ",J,Y)}else o.children(V).length>0?(ne.info("Cluster - the non recursive path XXX",V,Y.id,Y,o),ne.info(Ij(Y.id,o)),kl[Y.id]={id:Ij(Y.id,o),node:Y}):(ne.info("Node - the non recursive path",V,Y.id,Y),HVe(j,o.node(V),y))}),o.edges().forEach(function(V){const Y=o.edge(V.v,V.w,V.name);ne.info("Edge "+V.v+" -> "+V.w+": "+JSON.stringify(V)),ne.info("Edge "+V.v+" -> "+V.w+": ",V," ",JSON.stringify(o.edge(V))),ne.info("Fix",kl,"ids:",V.v,V.w,"Translateing: ",kl[V.v],kl[V.w]),qVe(O,Y)}),o.edges().forEach(function(V){ne.info("Edge "+V.v+" -> "+V.w+": "+JSON.stringify(V))}),ne.info("#############################################"),ne.info("### Layout ###"),ne.info("#############################################"),ne.info(o),qO(o),ne.info("Graph after layout:",dx(o));let z=0;return yYt(o).forEach(function(V){const Y=o.node(V);ne.info("Position "+V+": "+JSON.stringify(o.node(V))),ne.info("Position "+V+": ("+Y.x,","+Y.y,") width: ",Y.width," height: ",Y.height),Y&&Y.clusterNode?zVe(Y):o.children(V).length>0?(GYt(v,Y),kl[Y.id].node=Y):zVe(Y)}),o.edges().forEach(function(V){const Y=o.edge(V);ne.info("Edge "+V.v+" -> "+V.w+": "+JSON.stringify(Y),Y);const G=ZYt(A,V,Y,kl,f,o);YYt(Y,G)}),o.nodes().forEach(function(V){const Y=o.node(V);ne.info(V,Y.type,Y.diff),Y.type==="group"&&(z=Y.diff)}),{elem:k,diff:z}},E2e=(s,o,f,m,y)=>{MVe(s,f,m,y),qYt(),KYt(),WYt(),vYt(),ne.warn("Graph at first:",dx(o)),wYt(o),ne.warn("Graph after:",dx(o)),GVe(s,o,m)},WVe=s=>Oo.sanitizeText(s,Qt());let KVe={dividerMargin:10,padding:5,textHeight:10};const JYt=function(s,o,f,m){const y=Object.keys(s);ne.info("keys:",y),ne.info(s),y.forEach(function(k){const v=s[k];let A="";v.cssClasses.length>0&&(A=A+" "+v.cssClasses.join(" "));const O={labelStyle:""};let j=v.text!==void 0?v.text:v.id,z=0,V="";switch(v.type){case"class":V="class_box";break;default:V="class_box"}o.setNode(v.id,{labelStyle:O.labelStyle,shape:V,labelText:WVe(j),classData:v,rx:z,ry:z,class:A,style:O.style,id:v.id,domId:v.domId,tooltip:m.db.getTooltip(v.id)||"",haveCallback:v.haveCallback,link:v.link,width:v.type==="group"?500:void 0,type:v.type,padding:Qt().flowchart.padding}),ne.info("setNode",{labelStyle:O.labelStyle,shape:V,labelText:j,rx:z,ry:z,class:A,style:O.style,id:v.id,width:v.type==="group"?500:void 0,type:v.type,padding:Qt().flowchart.padding})})},eXt=function(s,o,f,m){ne.info(s),s.forEach(function(y,k){const v=y;let A="";const O={labelStyle:"",style:""};let j=v.text,z=0,V="note";if(o.setNode(v.id,{labelStyle:O.labelStyle,shape:V,labelText:WVe(j),noteData:v,rx:z,ry:z,class:A,style:O.style,id:v.id,domId:v.id,tooltip:"",type:"note",padding:Qt().flowchart.padding}),ne.info("setNode",{labelStyle:O.labelStyle,shape:V,labelText:j,rx:z,ry:z,style:O.style,id:v.id,type:"note",padding:Qt().flowchart.padding}),!v.class||!(v.class in m))return;const Y=f+k,G={};G.classes="relation",G.pattern="dotted",G.id=`edgeNote${Y}`,G.arrowhead="none",ne.info(`Note edge: ${JSON.stringify(G)}, ${JSON.stringify(v)}`),G.startLabelRight="",G.endLabelLeft="",G.arrowTypeStart="none",G.arrowTypeEnd="none";let J="fill:none",ce="";G.style=J,G.labelStyle=ce,G.curve=lv(KVe.curve,Bg),o.setEdge(v.id,v.class,G,Y)})},tXt=function(s,o){const f=Qt().flowchart;let m=0;s.forEach(function(y){m++;const k={};k.classes="relation",k.pattern=y.relation.lineType==1?"dashed":"solid",k.id="id"+m,y.type==="arrow_open"?k.arrowhead="none":k.arrowhead="normal",ne.info(k,y),k.startLabelRight=y.relationTitle1==="none"?"":y.relationTitle1,k.endLabelLeft=y.relationTitle2==="none"?"":y.relationTitle2,k.arrowTypeStart=YVe(y.relation.type1),k.arrowTypeEnd=YVe(y.relation.type2);let v="",A="";if(y.style!==void 0){const O=T3(y.style);v=O.style,A=O.labelStyle}else v="fill:none";k.style=v,k.labelStyle=A,y.interpolate!==void 0?k.curve=lv(y.interpolate,Bg):s.defaultInterpolate!==void 0?k.curve=lv(s.defaultInterpolate,Bg):k.curve=lv(f.curve,Bg),y.text=y.title,y.text===void 0?y.style!==void 0&&(k.arrowheadStyle="fill: #333"):(k.arrowheadStyle="fill: #333",k.labelpos="c",Qt().flowchart.htmlLabels?(k.labelType="html",k.label='<span class="edgeLabel">'+y.text+"</span>"):(k.labelType="text",k.label=y.text.replace(Oo.lineBreakRegex,`
`),y.style===void 0&&(k.style=k.style||"stroke: #333; stroke-width: 1.5px;fill:none"),k.labelStyle=k.labelStyle.replace("color:","fill:"))),o.setEdge(y.id1,y.id2,k,m)})},nXt=function(s){Object.keys(s).forEach(function(f){KVe[f]=s[f]})},rXt=function(s,o,f,m){ne.info("Drawing class - ",o);const y=Qt().flowchart,k=Qt().securityLevel;ne.info("config:",y);const v=y.nodeSpacing||50,A=y.rankSpacing||50,O=new P1({multigraph:!0,compound:!0}).setGraph({rankdir:m.db.getDirection(),nodesep:v,ranksep:A,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),j=m.db.getClasses(),z=m.db.getRelations(),V=m.db.getNotes();ne.info(z),JYt(j,O,o,m),tXt(z,O),eXt(V,O,z.length+1,j);let Y;k==="sandbox"&&(Y=Or("#i"+o));const G=Or(k==="sandbox"?Y.nodes()[0].contentDocument.body:"body"),J=G.select(`[id="${o}"]`),ce=G.select("#"+o+" g");if(E2e(ce,O,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),Go.insertTitle(J,"classTitleText",y.titleTopMargin,m.db.getDiagramTitle()),CS(O,J,y.diagramPadding,y.useMaxWidth),!y.htmlLabels){const me=k==="sandbox"?Y.nodes()[0].contentDocument:document,_e=me.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const we of _e){const Se=we.getBBox(),Oe=me.createElementNS("http://www.w3.org/2000/svg","rect");Oe.setAttribute("rx",0),Oe.setAttribute("ry",0),Oe.setAttribute("width",Se.width),Oe.setAttribute("height",Se.height),we.insertBefore(Oe,we.firstChild)}}};function YVe(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const iXt={setConf:nXt,draw:rXt};var T2e=function(){var s=function(Ne,xe,qe,ae){for(qe=qe||{},ae=Ne.length;ae--;qe[Ne[ae]]=xe);return qe},o=[1,2],f=[1,5],m=[6,9,11,23,25,27,29,30,31,51],y=[1,17],k=[1,18],v=[1,19],A=[1,20],O=[1,21],j=[1,22],z=[1,25],V=[1,30],Y=[1,31],G=[1,32],J=[1,33],ce=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],me=[1,45],_e=[30,31,48,49],we=[4,6,9,11,23,25,27,29,30,31,51],Se=[44,45,46,47],Oe=[22,37],De=[1,65],Ve=[1,64],ke=[22,37,39,41],Ie={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,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$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:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"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,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(xe,qe,ae,Qe,Ce,nt,Ee){var kt=nt.length-1;switch(Ce){case 1:break;case 3:this.$=[];break;case 4:nt[kt-1].push(nt[kt]),this.$=nt[kt-1];break;case 5:case 6:this.$=nt[kt];break;case 7:case 8:this.$=[];break;case 12:Qe.addEntity(nt[kt-4]),Qe.addEntity(nt[kt-2]),Qe.addRelationship(nt[kt-4],nt[kt],nt[kt-2],nt[kt-3]);break;case 13:Qe.addEntity(nt[kt-3]),Qe.addAttributes(nt[kt-3],nt[kt-1]);break;case 14:Qe.addEntity(nt[kt-2]);break;case 15:Qe.addEntity(nt[kt]);break;case 16:case 17:this.$=nt[kt].trim(),Qe.setAccTitle(this.$);break;case 18:case 19:this.$=nt[kt].trim(),Qe.setAccDescription(this.$);break;case 20:case 43:this.$=nt[kt];break;case 21:case 41:case 42:this.$=nt[kt].replace(/"/g,"");break;case 22:case 30:this.$=[nt[kt]];break;case 23:nt[kt].push(nt[kt-1]),this.$=nt[kt];break;case 24:this.$={attributeType:nt[kt-1],attributeName:nt[kt]};break;case 25:this.$={attributeType:nt[kt-2],attributeName:nt[kt-1],attributeKeyTypeList:nt[kt]};break;case 26:this.$={attributeType:nt[kt-2],attributeName:nt[kt-1],attributeComment:nt[kt]};break;case 27:this.$={attributeType:nt[kt-3],attributeName:nt[kt-2],attributeKeyTypeList:nt[kt-1],attributeComment:nt[kt]};break;case 28:case 29:case 32:this.$=nt[kt];break;case 31:nt[kt-2].push(nt[kt]),this.$=nt[kt-2];break;case 33:this.$=nt[kt].replace(/"/g,"");break;case 34:this.$={cardA:nt[kt],relType:nt[kt-1],cardB:nt[kt-2]};break;case 35:this.$=Qe.Cardinality.ZERO_OR_ONE;break;case 36:this.$=Qe.Cardinality.ZERO_OR_MORE;break;case 37:this.$=Qe.Cardinality.ONE_OR_MORE;break;case 38:this.$=Qe.Cardinality.ONLY_ONE;break;case 39:this.$=Qe.Identification.NON_IDENTIFYING;break;case 40:this.$=Qe.Identification.IDENTIFYING;break;case 44:Qe.parseDirective("%%{","open_directive");break;case 45:Qe.parseDirective(nt[kt],"type_directive");break;case 46:nt[kt]=nt[kt].trim().replace(/'/g,'"'),Qe.parseDirective(nt[kt],"arg_directive");break;case 47:Qe.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:o,7:3,12:4,51:f},{1:[3]},s(m,[2,3],{5:6}),{3:7,4:o,7:3,12:4,51:f},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:y,25:k,27:v,29:A,30:O,31:j,51:f},{1:[2,2]},{14:23,15:[1,24],54:z},s([15,54],[2,45]),s(m,[2,8],{1:[2,1]}),s(m,[2,4]),{7:15,10:26,12:4,17:16,23:y,25:k,27:v,29:A,30:O,31:j,51:f},s(m,[2,6]),s(m,[2,7]),s(m,[2,11]),s(m,[2,15],{18:27,42:29,20:[1,28],44:V,45:Y,46:G,47:J}),{24:[1,34]},{26:[1,35]},{28:[1,36]},s(m,[2,19]),s(ce,[2,20]),s(ce,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},s(m,[2,5]),{17:40,30:O,31:j},{21:41,22:[1,42],32:43,33:44,37:me},{43:46,48:[1,47],49:[1,48]},s(_e,[2,35]),s(_e,[2,36]),s(_e,[2,37]),s(_e,[2,38]),s(m,[2,16]),s(m,[2,17]),s(m,[2,18]),s(we,[2,9]),{14:49,54:z},{54:[2,46]},{15:[1,50]},{22:[1,51]},s(m,[2,14]),{21:52,22:[2,22],32:43,33:44,37:me},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:V,45:Y,46:G,47:J},s(Se,[2,39]),s(Se,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},s(m,[2,13]),{22:[2,23]},s(Oe,[2,24],{35:61,36:62,38:63,40:De,41:Ve}),s([22,37,40,41],[2,29]),s([30,31],[2,34]),s(we,[2,10]),s(m,[2,12]),s(m,[2,41]),s(m,[2,42]),s(m,[2,43]),s(Oe,[2,25],{36:66,39:[1,67],41:Ve}),s(Oe,[2,26]),s(ke,[2,30]),s(Oe,[2,33]),s(ke,[2,32]),s(Oe,[2,27]),{38:68,40:De},s(ke,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(xe,qe){if(qe.recoverable)this.trace(xe);else{var ae=new Error(xe);throw ae.hash=qe,ae}},parse:function(xe){var qe=this,ae=[0],Qe=[],Ce=[null],nt=[],Ee=this.table,kt="",Ot=0,Vt=0,Rt=2,Gt=1,_n=nt.slice.call(arguments,1),On=Object.create(this.lexer),Dt={yy:{}};for(var ai in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ai)&&(Dt.yy[ai]=this.yy[ai]);On.setInput(xe,Dt.yy),Dt.yy.lexer=On,Dt.yy.parser=this,typeof On.yylloc>"u"&&(On.yylloc={});var Ft=On.yylloc;nt.push(Ft);var $t=On.options&&On.options.ranges;typeof Dt.yy.parseError=="function"?this.parseError=Dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var gi;return gi=Qe.pop()||On.lex()||Gt,typeof gi!="number"&&(gi instanceof Array&&(Qe=gi,gi=Qe.pop()),gi=qe.symbols_[gi]||gi),gi}for(var qt,et,ht,Ut,it={},Zn,Ge,ws,xn;;){if(et=ae[ae.length-1],this.defaultActions[et]?ht=this.defaultActions[et]:((qt===null||typeof qt>"u")&&(qt=Pt()),ht=Ee[et]&&Ee[et][qt]),typeof ht>"u"||!ht.length||!ht[0]){var Zi="";xn=[];for(Zn in Ee[et])this.terminals_[Zn]&&Zn>Rt&&xn.push("'"+this.terminals_[Zn]+"'");On.showPosition?Zi="Parse error on line "+(Ot+1)+`:
`+On.showPosition()+`
Expecting `+xn.join(", ")+", got '"+(this.terminals_[qt]||qt)+"'":Zi="Parse error on line "+(Ot+1)+": Unexpected "+(qt==Gt?"end of input":"'"+(this.terminals_[qt]||qt)+"'"),this.parseError(Zi,{text:On.match,token:this.terminals_[qt]||qt,line:On.yylineno,loc:Ft,expected:xn})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+et+", token: "+qt);switch(ht[0]){case 1:ae.push(qt),Ce.push(On.yytext),nt.push(On.yylloc),ae.push(ht[1]),qt=null,Vt=On.yyleng,kt=On.yytext,Ot=On.yylineno,Ft=On.yylloc;break;case 2:if(Ge=this.productions_[ht[1]][1],it.$=Ce[Ce.length-Ge],it._$={first_line:nt[nt.length-(Ge||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(Ge||1)].first_column,last_column:nt[nt.length-1].last_column},$t&&(it._$.range=[nt[nt.length-(Ge||1)].range[0],nt[nt.length-1].range[1]]),Ut=this.performAction.apply(it,[kt,Vt,Ot,Dt.yy,ht[1],Ce,nt].concat(_n)),typeof Ut<"u")return Ut;Ge&&(ae=ae.slice(0,-1*Ge*2),Ce=Ce.slice(0,-1*Ge),nt=nt.slice(0,-1*Ge)),ae.push(this.productions_[ht[1]][0]),Ce.push(it.$),nt.push(it._$),ws=Ee[ae[ae.length-2]][ae[ae.length-1]],ae.push(ws);break;case 3:return!0}}return!0}},ge=function(){var Ne={EOF:1,parseError:function(qe,ae){if(this.yy.parser)this.yy.parser.parseError(qe,ae);else throw new Error(qe)},setInput:function(xe,qe){return this.yy=qe||this.yy||{},this._input=xe,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 xe=this._input[0];this.yytext+=xe,this.yyleng++,this.offset++,this.match+=xe,this.matched+=xe;var qe=xe.match(/(?:\r\n?|\n).*/g);return qe?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xe},unput:function(xe){var qe=xe.length,ae=xe.split(/(?:\r\n?|\n)/g);this._input=xe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-qe),this.offset-=qe;var Qe=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),ae.length-1&&(this.yylineno-=ae.length-1);var Ce=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:ae?(ae.length===Qe.length?this.yylloc.first_column:0)+Qe[Qe.length-ae.length].length-ae[0].length:this.yylloc.first_column-qe},this.options.ranges&&(this.yylloc.range=[Ce[0],Ce[0]+this.yyleng-qe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(xe){this.unput(this.match.slice(xe))},pastInput:function(){var xe=this.matched.substr(0,this.matched.length-this.match.length);return(xe.length>20?"...":"")+xe.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var xe=this.match;return xe.length<20&&(xe+=this._input.substr(0,20-xe.length)),(xe.substr(0,20)+(xe.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var xe=this.pastInput(),qe=new Array(xe.length+1).join("-");return xe+this.upcomingInput()+`
`+qe+"^"},test_match:function(xe,qe){var ae,Qe,Ce;if(this.options.backtrack_lexer&&(Ce={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&&(Ce.yylloc.range=this.yylloc.range.slice(0))),Qe=xe[0].match(/(?:\r\n?|\n).*/g),Qe&&(this.yylineno+=Qe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Qe?Qe[Qe.length-1].length-Qe[Qe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+xe[0].length},this.yytext+=xe[0],this.match+=xe[0],this.matches=xe,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(xe[0].length),this.matched+=xe[0],ae=this.performAction.call(this,this.yy,this,qe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ae)return ae;if(this._backtrack){for(var nt in Ce)this[nt]=Ce[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var xe,qe,ae,Qe;this._more||(this.yytext="",this.match="");for(var Ce=this._currentRules(),nt=0;nt<Ce.length;nt++)if(ae=this._input.match(this.rules[Ce[nt]]),ae&&(!qe||ae[0].length>qe[0].length)){if(qe=ae,Qe=nt,this.options.backtrack_lexer){if(xe=this.test_match(ae,Ce[nt]),xe!==!1)return xe;if(this._backtrack){qe=!1;continue}else return!1}else if(!this.options.flex)break}return qe?(xe=this.test_match(qe,Ce[Qe]),xe!==!1?xe:!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(){var qe=this.next();return qe||this.lex()},begin:function(qe){this.conditionStack.push(qe)},popState:function(){var qe=this.conditionStack.length-1;return qe>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(qe){return qe=this.conditionStack.length-1-Math.abs(qe||0),qe>=0?this.conditionStack[qe]:"INITIAL"},pushState:function(qe){this.begin(qe)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(qe,ae,Qe,Ce){switch(Qe){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"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:break;case 13:break;case 14:return 11;case 15:break;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 22:break;case 23:return 40;case 24:return 37;case 25:return 37;case 26:return 41;case 27:break;case 28:return this.popState(),22;case 29:return ae.yytext[0];case 30:return 44;case 31:return 46;case 32:return 46;case 33:return 46;case 34:return 44;case 35:return 44;case 36:return 45;case 37:return 45;case 38:return 45;case 39:return 45;case 40:return 45;case 41:return 46;case 42:return 45;case 43:return 46;case 44:return 47;case 45:return 47;case 46:return 47;case 47:return 47;case 48:return 44;case 49:return 45;case 50:return 46;case 51:return 48;case 52:return 49;case 53:return 49;case 54:return 48;case 55:return 48;case 56:return 48;case 57:return 30;case 58:return ae.yytext[0];case 59: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,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/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:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,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],inclusive:!0}}};return Ne}();Ie.lexer=ge;function Me(){this.yy={}}return Me.prototype=Ie,Ie.Parser=Me,new Me}();T2e.parser=T2e;const sXt=T2e,aXt=s=>s.match(/^\s*erDiagram/)!==null;let Dj={},S2e=[];const oXt={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},cXt={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},lXt=function(s,o,f){Sf.parseDirective(this,s,o,f)},XVe=function(s){return Dj[s]===void 0&&(Dj[s]={attributes:[]},ne.info("Added new entity :",s)),Dj[s]},uXt={Cardinality:oXt,Identification:cXt,parseDirective:lXt,getConfig:()=>Qt().er,addEntity:XVe,addAttributes:function(s,o){let f=XVe(s),m;for(m=o.length-1;m>=0;m--)f.attributes.push(o[m]),ne.debug("Added attribute ",o[m].attributeName)},getEntities:()=>Dj,addRelationship:function(s,o,f,m){let y={entityA:s,roleA:o,entityB:f,relSpec:m};S2e.push(y),ne.debug("Added new relationship :",y)},getRelationships:()=>S2e,clear:function(){Dj={},S2e=[],hv()},setAccTitle:fv,getAccTitle:qb,setAccDescription:Ub,getAccDescription:Gb,setDiagramTitle:A3,getDiagramTitle:M3},px={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},mx={ERMarkers:px,insertMarkers:function(s,o){let f;s.append("defs").append("marker").attr("id",px.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),s.append("defs").append("marker").attr("id",px.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),f=s.append("defs").append("marker").attr("id",px.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M9,0 L9,18"),f=s.append("defs").append("marker").attr("id",px.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M21,0 L21,18"),s.append("defs").append("marker").attr("id",px.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),s.append("defs").append("marker").attr("id",px.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),f=s.append("defs").append("marker").attr("id",px.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),f=s.append("defs").append("marker").attr("id",px.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),f.append("circle").attr("stroke",o.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),f.append("path").attr("stroke",o.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},hXt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function fXt(s){return typeof s=="string"&&hXt.test(s)}const jg=[];for(let s=0;s<256;++s)jg.push((s+256).toString(16).slice(1));function dXt(s,o=0){return(jg[s[o+0]]+jg[s[o+1]]+jg[s[o+2]]+jg[s[o+3]]+"-"+jg[s[o+4]]+jg[s[o+5]]+"-"+jg[s[o+6]]+jg[s[o+7]]+"-"+jg[s[o+8]]+jg[s[o+9]]+"-"+jg[s[o+10]]+jg[s[o+11]]+jg[s[o+12]]+jg[s[o+13]]+jg[s[o+14]]+jg[s[o+15]]).toLowerCase()}function gXt(s){if(!fXt(s))throw TypeError("Invalid UUID");let o;const f=new Uint8Array(16);return f[0]=(o=parseInt(s.slice(0,8),16))>>>24,f[1]=o>>>16&255,f[2]=o>>>8&255,f[3]=o&255,f[4]=(o=parseInt(s.slice(9,13),16))>>>8,f[5]=o&255,f[6]=(o=parseInt(s.slice(14,18),16))>>>8,f[7]=o&255,f[8]=(o=parseInt(s.slice(19,23),16))>>>8,f[9]=o&255,f[10]=(o=parseInt(s.slice(24,36),16))/1099511627776&255,f[11]=o/4294967296&255,f[12]=o>>>24&255,f[13]=o>>>16&255,f[14]=o>>>8&255,f[15]=o&255,f}function pXt(s){s=unescape(encodeURIComponent(s));const o=[];for(let f=0;f<s.length;++f)o.push(s.charCodeAt(f));return o}const mXt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",vXt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function bXt(s,o,f){function m(y,k,v,A){var O;if(typeof y=="string"&&(y=pXt(y)),typeof k=="string"&&(k=gXt(k)),((O=k)===null||O===void 0?void 0:O.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let j=new Uint8Array(16+y.length);if(j.set(k),j.set(y,k.length),j=f(j),j[6]=j[6]&15|o,j[8]=j[8]&63|128,v){A=A||0;for(let z=0;z<16;++z)v[A+z]=j[z];return v}return dXt(j)}try{m.name=s}catch{}return m.DNS=mXt,m.URL=vXt,m}function wXt(s,o,f,m){switch(s){case 0:return o&f^~o&m;case 1:return o^f^m;case 2:return o&f^o&m^f&m;case 3:return o^f^m}}function C2e(s,o){return s<<o|s>>>32-o}function yXt(s){const o=[1518500249,1859775393,2400959708,3395469782],f=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){const v=unescape(encodeURIComponent(s));s=[];for(let A=0;A<v.length;++A)s.push(v.charCodeAt(A))}else Array.isArray(s)||(s=Array.prototype.slice.call(s));s.push(128);const m=s.length/4+2,y=Math.ceil(m/16),k=new Array(y);for(let v=0;v<y;++v){const A=new Uint32Array(16);for(let O=0;O<16;++O)A[O]=s[v*64+O*4]<<24|s[v*64+O*4+1]<<16|s[v*64+O*4+2]<<8|s[v*64+O*4+3];k[v]=A}k[y-1][14]=(s.length-1)*8/Math.pow(2,32),k[y-1][14]=Math.floor(k[y-1][14]),k[y-1][15]=(s.length-1)*8&4294967295;for(let v=0;v<y;++v){const A=new Uint32Array(80);for(let G=0;G<16;++G)A[G]=k[v][G];for(let G=16;G<80;++G)A[G]=C2e(A[G-3]^A[G-8]^A[G-14]^A[G-16],1);let O=f[0],j=f[1],z=f[2],V=f[3],Y=f[4];for(let G=0;G<80;++G){const J=Math.floor(G/20),ce=C2e(O,5)+wXt(J,j,z,V)+Y+o[J]+A[G]>>>0;Y=V,V=z,z=C2e(j,30)>>>0,j=O,O=ce}f[0]=f[0]+O>>>0,f[1]=f[1]+j>>>0,f[2]=f[2]+z>>>0,f[3]=f[3]+V>>>0,f[4]=f[4]+Y>>>0}return[f[0]>>24&255,f[0]>>16&255,f[0]>>8&255,f[0]&255,f[1]>>24&255,f[1]>>16&255,f[1]>>8&255,f[1]&255,f[2]>>24&255,f[2]>>16&255,f[2]>>8&255,f[2]&255,f[3]>>24&255,f[3]>>16&255,f[3]>>8&255,f[3]&255,f[4]>>24&255,f[4]>>16&255,f[4]>>8&255,f[4]&255]}const _Xt=bXt("v5",80,yXt),xXt=/[^\dA-Za-z](\W)*/g;let o0={},Pj=new Map;const kXt=function(s){const o=Object.keys(s);for(const f of o)o0[f]=s[f]},EXt=(s,o,f)=>{const m=o0.entityPadding/3,y=o0.entityPadding/3,k=o0.fontSize*.85,v=o.node().getBBox(),A=[];let O=!1,j=!1,z=0,V=0,Y=0,G=0,J=v.height+m*2,ce=1;f.forEach(Se=>{Se.attributeKeyTypeList!==void 0&&Se.attributeKeyTypeList.length>0&&(O=!0),Se.attributeComment!==void 0&&(j=!0)}),f.forEach(Se=>{const Oe=`${o.node().id}-attr-${ce}`;let De=0;const Ve=n7(Se.attributeType),ke=s.append("text").classed("er entityLabel",!0).attr("id",`${Oe}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Qt().fontFamily).style("font-size",k+"px").text(Ve),Ie=s.append("text").classed("er entityLabel",!0).attr("id",`${Oe}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Qt().fontFamily).style("font-size",k+"px").text(Se.attributeName),ge={};ge.tn=ke,ge.nn=Ie;const Me=ke.node().getBBox(),Ne=Ie.node().getBBox();if(z=Math.max(z,Me.width),V=Math.max(V,Ne.width),De=Math.max(Me.height,Ne.height),O){const xe=Se.attributeKeyTypeList!==void 0?Se.attributeKeyTypeList.join(","):"",qe=s.append("text").classed("er entityLabel",!0).attr("id",`${Oe}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Qt().fontFamily).style("font-size",k+"px").text(xe);ge.kn=qe;const ae=qe.node().getBBox();Y=Math.max(Y,ae.width),De=Math.max(De,ae.height)}if(j){const xe=s.append("text").classed("er entityLabel",!0).attr("id",`${Oe}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Qt().fontFamily).style("font-size",k+"px").text(Se.attributeComment||"");ge.cn=xe;const qe=xe.node().getBBox();G=Math.max(G,qe.width),De=Math.max(De,qe.height)}ge.height=De,A.push(ge),J+=De+m*2,ce+=1});let me=4;O&&(me+=2),j&&(me+=2);const _e=z+V+Y+G,we={width:Math.max(o0.minEntityWidth,Math.max(v.width+o0.entityPadding*2,_e+y*me)),height:f.length>0?J:Math.max(o0.minEntityHeight,v.height+o0.entityPadding*2)};if(f.length>0){const Se=Math.max(0,(we.width-_e-y*me)/(me/2));o.attr("transform","translate("+we.width/2+","+(m+v.height/2)+")");let Oe=v.height+m*2,De="attributeBoxOdd";A.forEach(Ve=>{const ke=Oe+m+Ve.height/2;Ve.tn.attr("transform","translate("+y+","+ke+")");const Ie=s.insert("rect","#"+Ve.tn.node().id).classed(`er ${De}`,!0).attr("x",0).attr("y",Oe).attr("width",z+y*2+Se).attr("height",Ve.height+m*2),ge=parseFloat(Ie.attr("x"))+parseFloat(Ie.attr("width"));Ve.nn.attr("transform","translate("+(ge+y)+","+ke+")");const Me=s.insert("rect","#"+Ve.nn.node().id).classed(`er ${De}`,!0).attr("x",ge).attr("y",Oe).attr("width",V+y*2+Se).attr("height",Ve.height+m*2);let Ne=parseFloat(Me.attr("x"))+parseFloat(Me.attr("width"));if(O){Ve.kn.attr("transform","translate("+(Ne+y)+","+ke+")");const xe=s.insert("rect","#"+Ve.kn.node().id).classed(`er ${De}`,!0).attr("x",Ne).attr("y",Oe).attr("width",Y+y*2+Se).attr("height",Ve.height+m*2);Ne=parseFloat(xe.attr("x"))+parseFloat(xe.attr("width"))}j&&(Ve.cn.attr("transform","translate("+(Ne+y)+","+ke+")"),s.insert("rect","#"+Ve.cn.node().id).classed(`er ${De}`,"true").attr("x",Ne).attr("y",Oe).attr("width",G+y*2+Se).attr("height",Ve.height+m*2)),Oe+=Ve.height+m*2,De=De==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else we.height=Math.max(o0.minEntityHeight,J),o.attr("transform","translate("+we.width/2+","+we.height/2+")");return we},TXt=function(s,o,f){const m=Object.keys(o);let y;return m.forEach(function(k){const v=IXt(k,"entity");Pj.set(k,v);const A=s.append("g").attr("id",v);y=y===void 0?v:y;const O="text-"+v,j=A.append("text").classed("er entityLabel",!0).attr("id",O).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",Qt().fontFamily).style("font-size",o0.fontSize+"px").text(k),{width:z,height:V}=EXt(A,j,o[k].attributes),G=A.insert("rect","#"+O).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",z).attr("height",V).node().getBBox();f.setNode(v,{width:G.width,height:G.height,shape:"rect",id:v})}),y},SXt=function(s,o){o.nodes().forEach(function(f){f!==void 0&&o.node(f)!==void 0&&s.select("#"+f).attr("transform","translate("+(o.node(f).x-o.node(f).width/2)+","+(o.node(f).y-o.node(f).height/2)+" )")})},QVe=function(s){return(s.entityA+s.roleA+s.entityB).replace(/\s/g,"")},CXt=function(s,o){return s.forEach(function(f){o.setEdge(Pj.get(f.entityA),Pj.get(f.entityB),{relationship:f},QVe(f))}),s};let ZVe=0;const AXt=function(s,o,f,m,y){ZVe++;const k=f.edge(Pj.get(o.entityA),Pj.get(o.entityB),QVe(o)),v=bS().x(function(J){return J.x}).y(function(J){return J.y}).curve(yO),A=s.insert("path","#"+m).classed("er relationshipLine",!0).attr("d",v(k.points)).style("stroke",o0.stroke).style("fill","none");o.relSpec.relType===y.db.Identification.NON_IDENTIFYING&&A.attr("stroke-dasharray","8,8");let O="";switch(o0.arrowMarkerAbsolute&&(O=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,O=O.replace(/\(/g,"\\("),O=O.replace(/\)/g,"\\)")),o.relSpec.cardA){case y.db.Cardinality.ZERO_OR_ONE:A.attr("marker-end","url("+O+"#"+mx.ERMarkers.ZERO_OR_ONE_END+")");break;case y.db.Cardinality.ZERO_OR_MORE:A.attr("marker-end","url("+O+"#"+mx.ERMarkers.ZERO_OR_MORE_END+")");break;case y.db.Cardinality.ONE_OR_MORE:A.attr("marker-end","url("+O+"#"+mx.ERMarkers.ONE_OR_MORE_END+")");break;case y.db.Cardinality.ONLY_ONE:A.attr("marker-end","url("+O+"#"+mx.ERMarkers.ONLY_ONE_END+")");break}switch(o.relSpec.cardB){case y.db.Cardinality.ZERO_OR_ONE:A.attr("marker-start","url("+O+"#"+mx.ERMarkers.ZERO_OR_ONE_START+")");break;case y.db.Cardinality.ZERO_OR_MORE:A.attr("marker-start","url("+O+"#"+mx.ERMarkers.ZERO_OR_MORE_START+")");break;case y.db.Cardinality.ONE_OR_MORE:A.attr("marker-start","url("+O+"#"+mx.ERMarkers.ONE_OR_MORE_START+")");break;case y.db.Cardinality.ONLY_ONE:A.attr("marker-start","url("+O+"#"+mx.ERMarkers.ONLY_ONE_START+")");break}const j=A.node().getTotalLength(),z=A.node().getPointAtLength(j*.5),V="rel"+ZVe,G=s.append("text").classed("er relationshipLabel",!0).attr("id",V).attr("x",z.x).attr("y",z.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",Qt().fontFamily).style("font-size",o0.fontSize+"px").text(o.roleA).node().getBBox();s.insert("rect","#"+V).classed("er relationshipLabelBox",!0).attr("x",z.x-G.width/2).attr("y",z.y-G.height/2).attr("width",G.width).attr("height",G.height)},MXt=function(s,o,f,m){o0=Qt().er,ne.info("Drawing ER diagram");const y=Qt().securityLevel;let k;y==="sandbox"&&(k=Or("#i"+o));const A=Or(y==="sandbox"?k.nodes()[0].contentDocument.body:"body").select(`[id='${o}']`);mx.insertMarkers(A,o0);let O;O=new P1({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:o0.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const j=TXt(A,m.db.getEntities(),O),z=CXt(m.db.getRelationships(),O);qO(O),SXt(A,O),z.forEach(function(ce){AXt(A,ce,O,j,m)});const V=o0.diagramPadding;Go.insertTitle(A,"entityTitleText",o0.titleTopMargin,m.db.getDiagramTitle());const Y=A.node().getBBox(),G=Y.width+V*2,J=Y.height+V*2;C3(A,J,G,o0.useMaxWidth),A.attr("viewBox",`${Y.x-V} ${Y.y-V} ${G} ${J}`)},LXt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function IXt(s="",o=""){const f=s.replace(xXt,"");return`${JVe(o)}${JVe(f)}${_Xt(s,LXt)}`}function JVe(s=""){return s.length>0?`${s}-`:""}const OXt={setConf:kXt,draw:MXt};var A2e=function(){var s=function($g,ca,Ea,oc){for(Ea=Ea||{},oc=$g.length;oc--;Ea[$g[oc]]=ca);return Ea},o=[1,9],f=[1,7],m=[1,6],y=[1,8],k=[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],v=[2,10],A=[1,20],O=[1,21],j=[1,22],z=[1,23],V=[1,30],Y=[1,32],G=[1,33],J=[1,34],ce=[1,62],me=[1,48],_e=[1,52],we=[1,36],Se=[1,37],Oe=[1,38],De=[1,39],Ve=[1,40],ke=[1,56],Ie=[1,63],ge=[1,51],Me=[1,53],Ne=[1,55],xe=[1,59],qe=[1,60],ae=[1,41],Qe=[1,42],Ce=[1,43],nt=[1,44],Ee=[1,61],kt=[1,50],Ot=[1,54],Vt=[1,57],Rt=[1,58],Gt=[1,49],_n=[1,66],On=[1,71],Dt=[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],ai=[1,75],Ft=[1,74],$t=[1,76],Pt=[20,21,23,81,82],qt=[1,99],et=[1,104],ht=[1,107],Ut=[1,108],it=[1,101],Zn=[1,106],Ge=[1,109],ws=[1,102],xn=[1,114],Zi=[1,113],gi=[1,103],Cr=[1,105],yr=[1,110],Sr=[1,111],or=[1,112],Ar=[1,115],bo=[20,21,22,23,81,82],wo=[20,21,22,23,53,81,82],ra=[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],Ys=[20,21,23],yo=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Jl=[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],co=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],Zs=[1,149],Cs=[1,157],Gr=[1,158],Wr=[1,159],Bi=[1,160],_r=[1,144],js=[1,145],An=[1,141],Qa=[1,152],dr=[1,153],Ia=[1,154],Do=[1,155],nc=[1,156],Wo=[1,161],Po=[1,162],ia=[1,147],io=[1,150],Ko=[1,146],qa=[1,143],mv=[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],kw=[1,165],th=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],lo=[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],jh=[12,21,22,24],r1=[22,106],$h=[1,250],Cf=[1,245],nh=[1,246],_d=[1,254],Yf=[1,251],ps=[1,248],rn=[1,247],oi=[1,249],Ji=[1,252],Fo=[1,253],lu=[1,255],wu=[1,273],rh=[20,21,23,106],Xf=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],Hh={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(ca,Ea,oc,cs,Nl,Yt,j3){var fn=Yt.length-1;switch(Nl){case 5:cs.parseDirective("%%{","open_directive");break;case 6:cs.parseDirective(Yt[fn],"type_directive");break;case 7:Yt[fn]=Yt[fn].trim().replace(/'/g,'"'),cs.parseDirective(Yt[fn],"arg_directive");break;case 8:cs.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(Yt[fn])||Yt[fn].length>0)&&Yt[fn-1].push(Yt[fn]),this.$=Yt[fn-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:this.$=Yt[fn];break;case 19:cs.setDirection("TB"),this.$="TB";break;case 20:cs.setDirection(Yt[fn-1]),this.$=Yt[fn-1];break;case 35:this.$=Yt[fn-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=cs.addSubGraph(Yt[fn-6],Yt[fn-1],Yt[fn-4]);break;case 42:this.$=cs.addSubGraph(Yt[fn-3],Yt[fn-1],Yt[fn-3]);break;case 43:this.$=cs.addSubGraph(void 0,Yt[fn-1],void 0);break;case 45:this.$=Yt[fn].trim(),cs.setAccTitle(this.$);break;case 46:case 47:this.$=Yt[fn].trim(),cs.setAccDescription(this.$);break;case 51:cs.addLink(Yt[fn-2].stmt,Yt[fn],Yt[fn-1]),this.$={stmt:Yt[fn],nodes:Yt[fn].concat(Yt[fn-2].nodes)};break;case 52:cs.addLink(Yt[fn-3].stmt,Yt[fn-1],Yt[fn-2]),this.$={stmt:Yt[fn-1],nodes:Yt[fn-1].concat(Yt[fn-3].nodes)};break;case 53:this.$={stmt:Yt[fn-1],nodes:Yt[fn-1]};break;case 54:this.$={stmt:Yt[fn],nodes:Yt[fn]};break;case 55:this.$=[Yt[fn]];break;case 56:this.$=Yt[fn-4].concat(Yt[fn]);break;case 57:this.$=[Yt[fn-2]],cs.setClass(Yt[fn-2],Yt[fn]);break;case 58:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"square");break;case 59:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"doublecircle");break;case 60:this.$=Yt[fn-5],cs.addVertex(Yt[fn-5],Yt[fn-2],"circle");break;case 61:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"ellipse");break;case 62:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"stadium");break;case 63:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"subroutine");break;case 64:this.$=Yt[fn-7],cs.addVertex(Yt[fn-7],Yt[fn-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Yt[fn-5],Yt[fn-3]]]));break;case 65:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"cylinder");break;case 66:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"round");break;case 67:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"diamond");break;case 68:this.$=Yt[fn-5],cs.addVertex(Yt[fn-5],Yt[fn-2],"hexagon");break;case 69:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"odd");break;case 70:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"trapezoid");break;case 71:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"inv_trapezoid");break;case 72:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"lean_right");break;case 73:this.$=Yt[fn-3],cs.addVertex(Yt[fn-3],Yt[fn-1],"lean_left");break;case 74:this.$=Yt[fn],cs.addVertex(Yt[fn]);break;case 75:Yt[fn-1].text=Yt[fn],this.$=Yt[fn-1];break;case 76:case 77:Yt[fn-2].text=Yt[fn-1],this.$=Yt[fn-2];break;case 78:this.$=Yt[fn];break;case 79:var ng=cs.destructLink(Yt[fn],Yt[fn-2]);this.$={type:ng.type,stroke:ng.stroke,length:ng.length,text:Yt[fn-1]};break;case 80:var ng=cs.destructLink(Yt[fn]);this.$={type:ng.type,stroke:ng.stroke,length:ng.length};break;case 81:this.$=Yt[fn-1];break;case 83:case 97:case 153:this.$=Yt[fn-1]+""+Yt[fn];break;case 98:case 99:this.$=Yt[fn-4],cs.addClass(Yt[fn-2],Yt[fn]);break;case 100:this.$=Yt[fn-4],cs.setClass(Yt[fn-2],Yt[fn]);break;case 101:case 109:this.$=Yt[fn-1],cs.setClickEvent(Yt[fn-1],Yt[fn]);break;case 102:case 110:this.$=Yt[fn-3],cs.setClickEvent(Yt[fn-3],Yt[fn-2]),cs.setTooltip(Yt[fn-3],Yt[fn]);break;case 103:this.$=Yt[fn-2],cs.setClickEvent(Yt[fn-2],Yt[fn-1],Yt[fn]);break;case 104:this.$=Yt[fn-4],cs.setClickEvent(Yt[fn-4],Yt[fn-3],Yt[fn-2]),cs.setTooltip(Yt[fn-4],Yt[fn]);break;case 105:case 111:this.$=Yt[fn-1],cs.setLink(Yt[fn-1],Yt[fn]);break;case 106:case 112:this.$=Yt[fn-3],cs.setLink(Yt[fn-3],Yt[fn-2]),cs.setTooltip(Yt[fn-3],Yt[fn]);break;case 107:case 113:this.$=Yt[fn-3],cs.setLink(Yt[fn-3],Yt[fn-2],Yt[fn]);break;case 108:case 114:this.$=Yt[fn-5],cs.setLink(Yt[fn-5],Yt[fn-4],Yt[fn]),cs.setTooltip(Yt[fn-5],Yt[fn-2]);break;case 115:this.$=Yt[fn-4],cs.addVertex(Yt[fn-2],void 0,void 0,Yt[fn]);break;case 116:case 118:this.$=Yt[fn-4],cs.updateLink(Yt[fn-2],Yt[fn]);break;case 117:this.$=Yt[fn-4],cs.updateLink([Yt[fn-2]],Yt[fn]);break;case 119:this.$=Yt[fn-8],cs.updateLinkInterpolate([Yt[fn-6]],Yt[fn-2]),cs.updateLink([Yt[fn-6]],Yt[fn]);break;case 120:this.$=Yt[fn-8],cs.updateLinkInterpolate(Yt[fn-6],Yt[fn-2]),cs.updateLink(Yt[fn-6],Yt[fn]);break;case 121:this.$=Yt[fn-6],cs.updateLinkInterpolate([Yt[fn-4]],Yt[fn]);break;case 122:this.$=Yt[fn-6],cs.updateLinkInterpolate(Yt[fn-4],Yt[fn]);break;case 123:case 125:this.$=[Yt[fn]];break;case 124:case 126:Yt[fn-2].push(Yt[fn]),this.$=Yt[fn-2];break;case 128:this.$=Yt[fn-1]+Yt[fn];break;case 150:this.$=Yt[fn];break;case 151:this.$=Yt[fn-1]+""+Yt[fn];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"};break}},table:[{3:1,4:2,5:3,6:5,12:o,16:4,21:f,22:m,24:y},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:o,16:4,21:f,22:m,24:y},s(k,v,{17:11}),{7:12,13:[1,13]},{16:14,21:f,22:m,24:y},{16:15,21:f,22:m,24:y},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:A,21:O,22:j,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:V,43:31,44:Y,46:G,48:J,50:35,51:45,52:ce,54:46,66:me,67:_e,86:we,87:Se,88:Oe,89:De,90:Ve,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,118:ae,119:Qe,120:Ce,121:nt,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},{8:64,10:[1,65],15:_n},s([10,15],[2,6]),s(k,[2,17]),s(k,[2,18]),s(k,[2,19]),{20:[1,68],21:[1,69],22:On,27:67,30:70},s(Dt,[2,11]),s(Dt,[2,12]),s(Dt,[2,13]),s(Dt,[2,14]),s(Dt,[2,15]),s(Dt,[2,16]),{9:72,20:ai,21:Ft,23:$t,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:ai,21:Ft,23:$t},{9:81,20:ai,21:Ft,23:$t},{9:82,20:ai,21:Ft,23:$t},{9:83,20:ai,21:Ft,23:$t},{9:84,20:ai,21:Ft,23:$t},{9:86,20:ai,21:Ft,22:[1,85],23:$t},s(Dt,[2,44]),{45:[1,87]},{47:[1,88]},s(Dt,[2,47]),s(Pt,[2,54],{30:89,22:On}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:qt,52:et,66:ht,67:Ut,84:[1,97],91:it,97:96,98:[1,94],100:[1,95],105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(Dt,[2,158]),s(Dt,[2,159]),s(Dt,[2,160]),s(Dt,[2,161]),s(bo,[2,55],{53:[1,116]}),s(wo,[2,74],{116:129,40:[1,117],52:ce,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:me,67:_e,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt}),s(ra,[2,150]),s(ra,[2,175]),s(ra,[2,176]),s(ra,[2,177]),s(ra,[2,178]),s(ra,[2,179]),s(ra,[2,180]),s(ra,[2,181]),s(ra,[2,182]),s(ra,[2,183]),s(ra,[2,184]),s(ra,[2,185]),s(ra,[2,186]),s(ra,[2,187]),s(ra,[2,188]),s(ra,[2,189]),s(ra,[2,190]),{9:130,20:ai,21:Ft,23:$t},{11:131,14:[1,132]},s(Ys,[2,8]),s(k,[2,20]),s(k,[2,26]),s(k,[2,27]),{21:[1,133]},s(yo,[2,34],{30:134,22:On}),s(Dt,[2,35]),{50:135,51:45,52:ce,54:46,66:me,67:_e,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},s(Jl,[2,48]),s(Jl,[2,49]),s(Jl,[2,50]),s(co,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:Zs,24:Cs,26:Gr,38:Wr,39:139,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),s(Dt,[2,36]),s(Dt,[2,37]),s(Dt,[2,38]),s(Dt,[2,39]),s(Dt,[2,40]),{22:Zs,24:Cs,26:Gr,38:Wr,39:163,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(mv,v,{17:164}),s(Dt,[2,45]),s(Dt,[2,46]),s(Pt,[2,53],{52:kw}),{26:qt,52:et,66:ht,67:Ut,91:it,97:166,102:[1,167],105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{95:[1,168],103:169,105:[1,170]},{26:qt,52:et,66:ht,67:Ut,91:it,95:[1,171],97:172,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{26:qt,52:et,66:ht,67:Ut,91:it,97:173,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(Ys,[2,101],{22:[1,174],99:[1,175]}),s(Ys,[2,105],{22:[1,176]}),s(Ys,[2,109],{115:100,117:178,22:[1,177],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar}),s(Ys,[2,111],{22:[1,179]}),s(th,[2,152]),s(th,[2,154]),s(th,[2,155]),s(th,[2,156]),s(th,[2,157]),s(lo,[2,162]),s(lo,[2,163]),s(lo,[2,164]),s(lo,[2,165]),s(lo,[2,166]),s(lo,[2,167]),s(lo,[2,168]),s(lo,[2,169]),s(lo,[2,170]),s(lo,[2,171]),s(lo,[2,172]),s(lo,[2,173]),s(lo,[2,174]),{52:ce,54:180,66:me,67:_e,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},{22:Zs,24:Cs,26:Gr,38:Wr,39:181,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:182,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:184,42:Bi,52:et,57:[1,183],66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:185,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:186,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:187,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{66:[1,188]},{22:Zs,24:Cs,26:Gr,38:Wr,39:189,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:190,42:Bi,52:et,66:ht,67:Ut,71:[1,191],73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:192,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:193,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:194,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(ra,[2,151]),s(jh,[2,3]),{8:195,15:_n},{15:[2,7]},s(k,[2,28]),s(yo,[2,33]),s(Pt,[2,51],{30:196,22:On}),s(co,[2,75],{22:[1,197]}),{22:[1,198]},{22:Zs,24:Cs,26:Gr,38:Wr,39:199,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,82:[1,200],83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(lo,[2,82]),s(lo,[2,84]),s(lo,[2,140]),s(lo,[2,141]),s(lo,[2,142]),s(lo,[2,143]),s(lo,[2,144]),s(lo,[2,145]),s(lo,[2,146]),s(lo,[2,147]),s(lo,[2,148]),s(lo,[2,149]),s(lo,[2,85]),s(lo,[2,86]),s(lo,[2,87]),s(lo,[2,88]),s(lo,[2,89]),s(lo,[2,90]),s(lo,[2,91]),s(lo,[2,92]),s(lo,[2,93]),s(lo,[2,94]),s(lo,[2,95]),{9:203,20:ai,21:Ft,22:Zs,23:$t,24:Cs,26:Gr,38:Wr,40:[1,202],42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{18:18,19:19,20:A,21:O,22:j,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,204],43:31,44:Y,46:G,48:J,50:35,51:45,52:ce,54:46,66:me,67:_e,86:we,87:Se,88:Oe,89:De,90:Ve,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,118:ae,119:Qe,120:Ce,121:nt,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},{22:On,30:205},{22:[1,206],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:178,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},s(r1,[2,123]),{22:[1,211]},{22:[1,212],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:178,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:[1,213],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:178,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{84:[1,214]},s(Ys,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},s(th,[2,153]),{84:[1,219],101:[1,220]},s(bo,[2,57],{116:129,52:ce,66:me,67:_e,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt}),{22:Zs,24:Cs,26:Gr,38:Wr,41:[1,221],42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,56:[1,222],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:223,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,58:[1,224],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,60:[1,225],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,62:[1,226],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,64:[1,227],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{67:[1,228]},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,70:[1,229],73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,72:[1,230],73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,39:231,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,41:[1,232],42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,73:_r,75:[1,233],77:[1,234],81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,73:_r,75:[1,236],77:[1,235],81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{9:237,20:ai,21:Ft,23:$t},s(Pt,[2,52],{52:kw}),s(co,[2,77]),s(co,[2,76]),{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,68:[1,238],73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(co,[2,79]),s(lo,[2,83]),{22:Zs,24:Cs,26:Gr,38:Wr,39:239,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(mv,v,{17:240}),s(Dt,[2,43]),{51:241,52:ce,54:46,66:me,67:_e,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},{22:$h,66:Cf,67:nh,86:_d,96:242,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{22:$h,66:Cf,67:nh,86:_d,96:256,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{22:$h,66:Cf,67:nh,86:_d,96:257,102:Yf,104:[1,258],105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{22:$h,66:Cf,67:nh,86:_d,96:259,102:Yf,104:[1,260],105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{105:[1,261]},{22:$h,66:Cf,67:nh,86:_d,96:262,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{22:$h,66:Cf,67:nh,86:_d,96:263,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{26:qt,52:et,66:ht,67:Ut,91:it,97:264,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(Ys,[2,102]),{84:[1,265]},s(Ys,[2,106],{22:[1,266]}),s(Ys,[2,107]),s(Ys,[2,110]),s(Ys,[2,112],{22:[1,267]}),s(Ys,[2,113]),s(wo,[2,58]),s(wo,[2,59]),{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,58:[1,268],66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(wo,[2,66]),s(wo,[2,61]),s(wo,[2,62]),s(wo,[2,63]),{66:[1,269]},s(wo,[2,65]),s(wo,[2,67]),{22:Zs,24:Cs,26:Gr,38:Wr,42:Bi,52:et,66:ht,67:Ut,72:[1,270],73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(wo,[2,69]),s(wo,[2,70]),s(wo,[2,72]),s(wo,[2,71]),s(wo,[2,73]),s(jh,[2,4]),s([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:Zs,24:Cs,26:Gr,38:Wr,41:[1,271],42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{18:18,19:19,20:A,21:O,22:j,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,272],43:31,44:Y,46:G,48:J,50:35,51:45,52:ce,54:46,66:me,67:_e,86:we,87:Se,88:Oe,89:De,90:Ve,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,118:ae,119:Qe,120:Ce,121:nt,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},s(bo,[2,56]),s(Ys,[2,115],{106:wu}),s(rh,[2,125],{108:274,22:$h,66:Cf,67:nh,86:_d,102:Yf,105:ps,109:rn,110:oi,111:Ji,112:Fo,113:lu}),s(Xf,[2,127]),s(Xf,[2,129]),s(Xf,[2,130]),s(Xf,[2,131]),s(Xf,[2,132]),s(Xf,[2,133]),s(Xf,[2,134]),s(Xf,[2,135]),s(Xf,[2,136]),s(Xf,[2,137]),s(Xf,[2,138]),s(Xf,[2,139]),s(Ys,[2,116],{106:wu}),s(Ys,[2,117],{106:wu}),{22:[1,275]},s(Ys,[2,118],{106:wu}),{22:[1,276]},s(r1,[2,124]),s(Ys,[2,98],{106:wu}),s(Ys,[2,99],{106:wu}),s(Ys,[2,100],{115:100,117:178,26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar}),s(Ys,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:ai,21:Ft,23:$t},s(Dt,[2,42]),{22:$h,66:Cf,67:nh,86:_d,102:Yf,105:ps,107:283,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},s(Xf,[2,128]),{26:qt,52:et,66:ht,67:Ut,91:it,97:284,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{26:qt,52:et,66:ht,67:Ut,91:it,97:285,105:Zn,106:Ge,109:ws,111:xn,112:Zi,115:100,117:98,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(Ys,[2,108]),s(Ys,[2,114]),s(wo,[2,60]),{22:Zs,24:Cs,26:Gr,38:Wr,39:286,42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:140,84:An,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},s(wo,[2,68]),s(mv,v,{17:287}),s(rh,[2,126],{108:274,22:$h,66:Cf,67:nh,86:_d,102:Yf,105:ps,109:rn,110:oi,111:Ji,112:Fo,113:lu}),s(Ys,[2,121],{115:100,117:178,22:[1,288],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar}),s(Ys,[2,122],{115:100,117:178,22:[1,289],26:qt,52:et,66:ht,67:Ut,91:it,105:Zn,106:Ge,109:ws,111:xn,112:Zi,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar}),{22:Zs,24:Cs,26:Gr,38:Wr,41:[1,290],42:Bi,52:et,66:ht,67:Ut,73:_r,81:js,83:201,85:151,86:Qa,87:dr,88:Ia,89:Do,90:nc,91:Wo,92:Po,94:142,95:ia,105:Zn,106:Ge,109:io,111:xn,112:Zi,113:Ko,114:qa,115:148,122:gi,123:Cr,124:yr,125:Sr,126:or,127:Ar},{18:18,19:19,20:A,21:O,22:j,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,291],43:31,44:Y,46:G,48:J,50:35,51:45,52:ce,54:46,66:me,67:_e,86:we,87:Se,88:Oe,89:De,90:Ve,91:ke,95:Ie,105:ge,106:Me,109:Ne,111:xe,112:qe,116:47,118:ae,119:Qe,120:Ce,121:nt,122:Ee,123:kt,124:Ot,125:Vt,126:Rt,127:Gt},{22:$h,66:Cf,67:nh,86:_d,96:292,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},{22:$h,66:Cf,67:nh,86:_d,96:293,102:Yf,105:ps,107:243,108:244,109:rn,110:oi,111:Ji,112:Fo,113:lu},s(wo,[2,64]),s(Dt,[2,41]),s(Ys,[2,119],{106:wu}),s(Ys,[2,120],{106:wu})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(ca,Ea){if(Ea.recoverable)this.trace(ca);else{var oc=new Error(ca);throw oc.hash=Ea,oc}},parse:function(ca){var Ea=this,oc=[0],cs=[],Nl=[null],Yt=[],j3=this.table,fn="",ng=0,$3=0,J5=2,p7=1,Xb=Yt.slice.call(arguments,1),Zh=Object.create(this.lexer),Tw={yy:{}};for(var vv in this.yy)Object.prototype.hasOwnProperty.call(this.yy,vv)&&(Tw.yy[vv]=this.yy[vv]);Zh.setInput(ca,Tw.yy),Tw.yy.lexer=Zh,Tw.yy.parser=this,typeof Zh.yylloc>"u"&&(Zh.yylloc={});var Sx=Zh.yylloc;Yt.push(Sx);var GS=Zh.options&&Zh.options.ranges;typeof Tw.yy.parseError=="function"?this.parseError=Tw.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function WS(){var wv;return wv=cs.pop()||Zh.lex()||p7,typeof wv!="number"&&(wv instanceof Array&&(cs=wv,wv=cs.pop()),wv=Ea.symbols_[wv]||wv),wv}for(var l0,Sw,u0,Cx,bv={},e6,Tp,xh,t6;;){if(Sw=oc[oc.length-1],this.defaultActions[Sw]?u0=this.defaultActions[Sw]:((l0===null||typeof l0>"u")&&(l0=WS()),u0=j3[Sw]&&j3[Sw][l0]),typeof u0>"u"||!u0.length||!u0[0]){var El="";t6=[];for(e6 in j3[Sw])this.terminals_[e6]&&e6>J5&&t6.push("'"+this.terminals_[e6]+"'");Zh.showPosition?El="Parse error on line "+(ng+1)+`:
`+Zh.showPosition()+`
Expecting `+t6.join(", ")+", got '"+(this.terminals_[l0]||l0)+"'":El="Parse error on line "+(ng+1)+": Unexpected "+(l0==p7?"end of input":"'"+(this.terminals_[l0]||l0)+"'"),this.parseError(El,{text:Zh.match,token:this.terminals_[l0]||l0,line:Zh.yylineno,loc:Sx,expected:t6})}if(u0[0]instanceof Array&&u0.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Sw+", token: "+l0);switch(u0[0]){case 1:oc.push(l0),Nl.push(Zh.yytext),Yt.push(Zh.yylloc),oc.push(u0[1]),l0=null,$3=Zh.yyleng,fn=Zh.yytext,ng=Zh.yylineno,Sx=Zh.yylloc;break;case 2:if(Tp=this.productions_[u0[1]][1],bv.$=Nl[Nl.length-Tp],bv._$={first_line:Yt[Yt.length-(Tp||1)].first_line,last_line:Yt[Yt.length-1].last_line,first_column:Yt[Yt.length-(Tp||1)].first_column,last_column:Yt[Yt.length-1].last_column},GS&&(bv._$.range=[Yt[Yt.length-(Tp||1)].range[0],Yt[Yt.length-1].range[1]]),Cx=this.performAction.apply(bv,[fn,$3,ng,Tw.yy,u0[1],Nl,Yt].concat(Xb)),typeof Cx<"u")return Cx;Tp&&(oc=oc.slice(0,-1*Tp*2),Nl=Nl.slice(0,-1*Tp),Yt=Yt.slice(0,-1*Tp)),oc.push(this.productions_[u0[1]][0]),Nl.push(bv.$),Yt.push(bv._$),xh=j3[oc[oc.length-2]][oc[oc.length-1]],oc.push(xh);break;case 3:return!0}}return!0}},Ew=function(){var $g={EOF:1,parseError:function(Ea,oc){if(this.yy.parser)this.yy.parser.parseError(Ea,oc);else throw new Error(Ea)},setInput:function(ca,Ea){return this.yy=Ea||this.yy||{},this._input=ca,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 ca=this._input[0];this.yytext+=ca,this.yyleng++,this.offset++,this.match+=ca,this.matched+=ca;var Ea=ca.match(/(?:\r\n?|\n).*/g);return Ea?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ca},unput:function(ca){var Ea=ca.length,oc=ca.split(/(?:\r\n?|\n)/g);this._input=ca+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ea),this.offset-=Ea;var cs=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),oc.length-1&&(this.yylineno-=oc.length-1);var Nl=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:oc?(oc.length===cs.length?this.yylloc.first_column:0)+cs[cs.length-oc.length].length-oc[0].length:this.yylloc.first_column-Ea},this.options.ranges&&(this.yylloc.range=[Nl[0],Nl[0]+this.yyleng-Ea]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(ca){this.unput(this.match.slice(ca))},pastInput:function(){var ca=this.matched.substr(0,this.matched.length-this.match.length);return(ca.length>20?"...":"")+ca.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ca=this.match;return ca.length<20&&(ca+=this._input.substr(0,20-ca.length)),(ca.substr(0,20)+(ca.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ca=this.pastInput(),Ea=new Array(ca.length+1).join("-");return ca+this.upcomingInput()+`
`+Ea+"^"},test_match:function(ca,Ea){var oc,cs,Nl;if(this.options.backtrack_lexer&&(Nl={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&&(Nl.yylloc.range=this.yylloc.range.slice(0))),cs=ca[0].match(/(?:\r\n?|\n).*/g),cs&&(this.yylineno+=cs.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:cs?cs[cs.length-1].length-cs[cs.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ca[0].length},this.yytext+=ca[0],this.match+=ca[0],this.matches=ca,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(ca[0].length),this.matched+=ca[0],oc=this.performAction.call(this,this.yy,this,Ea,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),oc)return oc;if(this._backtrack){for(var Yt in Nl)this[Yt]=Nl[Yt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ca,Ea,oc,cs;this._more||(this.yytext="",this.match="");for(var Nl=this._currentRules(),Yt=0;Yt<Nl.length;Yt++)if(oc=this._input.match(this.rules[Nl[Yt]]),oc&&(!Ea||oc[0].length>Ea[0].length)){if(Ea=oc,cs=Yt,this.options.backtrack_lexer){if(ca=this.test_match(oc,Nl[Yt]),ca!==!1)return ca;if(this._backtrack){Ea=!1;continue}else return!1}else if(!this.options.flex)break}return Ea?(ca=this.test_match(Ea,Nl[cs]),ca!==!1?ca:!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(){var Ea=this.next();return Ea||this.lex()},begin:function(Ea){this.conditionStack.push(Ea)},popState:function(){var Ea=this.conditionStack.length-1;return Ea>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(Ea){return Ea=this.conditionStack.length-1-Math.abs(Ea||0),Ea>=0?this.conditionStack[Ea]:"INITIAL"},pushState:function(Ea){this.begin(Ea)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Ea,oc,cs,Nl){switch(cs){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:break;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:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 15:this.popState();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 24:this.popState();break;case 25:return 100;case 26:this.begin("callbackname");break;case 27:this.popState();break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 30:this.popState();break;case 31:return 99;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 90;case 35:return Ea.lex.firstGraph()&&this.begin("dir"),24;case 36:return Ea.lex.firstGraph()&&this.begin("dir"),24;case 37:return Ea.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),25;case 45:return this.popState(),26;case 46:return this.popState(),26;case 47:return this.popState(),26;case 48:return this.popState(),26;case 49:return this.popState(),26;case 50:return this.popState(),26;case 51:return this.popState(),26;case 52:return this.popState(),26;case 53:return this.popState(),26;case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:return 82;case 68:return 82;case 69:return 82;case 70:return 81;case 71:return 81;case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:return 125;case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return"SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113: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]*)/,/^(?:flowchart-elk\b)/,/^(?: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:[44,45,46,47,48,49,50,51,52,53,54],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,43,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,113],inclusive:!0}}};return $g}();Hh.lexer=Ew;function F3(){this.yy={}}return F3.prototype=Hh,Hh.Parser=F3,new F3}();A2e.parser=A2e;const M2e=A2e,DXt=(s,o)=>{var f,m;return((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="dagre-wrapper"||((m=o==null?void 0:o.flowchart)==null?void 0:m.defaultRenderer)==="elk"?!1:s.match(/^\s*graph/)!==null},PXt=(s,o)=>{var f,m;return((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="dagre-d3"||((m=o==null?void 0:o.flowchart)==null?void 0:m.defaultRenderer)==="elk"?!1:s.match(/^\s*graph/)!==null?!0:s.match(/^\s*flowchart/)!==null},NXt="flowchart-";let eqe=0,L2e=Qt(),Tf={},jS=[],GO={},vx=[],AJ={},I2e={},MJ=0,O2e=!0,ww,LJ,IJ=[];const OJ=s=>Oo.sanitizeText(s,L2e),tqe=function(s,o,f){Sf.parseDirective(this,s,o,f)},Nj=function(s){const o=Object.keys(Tf);for(const f of o)if(Tf[f].id===s)return Tf[f].domId;return s},nqe=function(s,o,f,m,y,k,v={}){let A,O=s;O!==void 0&&O.trim().length!==0&&(Tf[O]===void 0&&(Tf[O]={id:O,domId:NXt+O+"-"+eqe,styles:[],classes:[]}),eqe++,o!==void 0?(L2e=Qt(),A=OJ(o.trim()),A[0]==='"'&&A[A.length-1]==='"'&&(A=A.substring(1,A.length-1)),Tf[O].text=A):Tf[O].text===void 0&&(Tf[O].text=s),f!==void 0&&(Tf[O].type=f),m!=null&&m.forEach(function(j){Tf[O].styles.push(j)}),y!=null&&y.forEach(function(j){Tf[O].classes.push(j)}),k!==void 0&&(Tf[O].dir=k),Tf[O].props===void 0?Tf[O].props=v:v!==void 0&&Object.assign(Tf[O].props,v))},rqe=function(s,o,f,m){const v={start:s,end:o,type:void 0,text:""};m=f.text,m!==void 0&&(v.text=OJ(m.trim()),v.text[0]==='"'&&v.text[v.text.length-1]==='"'&&(v.text=v.text.substring(1,v.text.length-1))),f!==void 0&&(v.type=f.type,v.stroke=f.stroke,v.length=f.length),jS.push(v)},iqe=function(s,o,f,m){let y,k;for(y=0;y<s.length;y++)for(k=0;k<o.length;k++)rqe(s[y],o[k],f,m)},sqe=function(s,o){s.forEach(function(f){f==="default"?jS.defaultInterpolate=o:jS[f].interpolate=o})},aqe=function(s,o){s.forEach(function(f){f==="default"?jS.defaultStyle=o:(Go.isSubstringInArray("fill",o)===-1&&o.push("fill:none"),jS[f].style=o)})},oqe=function(s,o){GO[s]===void 0&&(GO[s]={id:s,styles:[],textStyles:[]}),o!=null&&o.forEach(function(f){if(f.match("color")){const y=f.replace("fill","bgFill").replace("color","fill");GO[s].textStyles.push(y)}GO[s].styles.push(f)})},cqe=function(s){ww=s,ww.match(/.*</)&&(ww="RL"),ww.match(/.*\^/)&&(ww="BT"),ww.match(/.*>/)&&(ww="LR"),ww.match(/.*v/)&&(ww="TB"),ww==="TD"&&(ww="TB")},DJ=function(s,o){s.split(",").forEach(function(f){let m=f;Tf[m]!==void 0&&Tf[m].classes.push(o),AJ[m]!==void 0&&AJ[m].classes.push(o)})},RXt=function(s,o){s.split(",").forEach(function(f){o!==void 0&&(I2e[LJ==="gen-1"?Nj(f):f]=OJ(o))})},BXt=function(s,o,f){let m=Nj(s);if(Qt().securityLevel!=="loose"||o===void 0)return;let y=[];if(typeof f=="string"){y=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<y.length;k++){let v=y[k].trim();v.charAt(0)==='"'&&v.charAt(v.length-1)==='"'&&(v=v.substr(1,v.length-2)),y[k]=v}}y.length===0&&y.push(s),Tf[s]!==void 0&&(Tf[s].haveCallback=!0,IJ.push(function(){const k=document.querySelector(`[id="${m}"]`);k!==null&&k.addEventListener("click",function(){Go.runFunc(o,...y)},!1)}))},lqe=function(s,o,f){s.split(",").forEach(function(m){Tf[m]!==void 0&&(Tf[m].link=Go.formatUrl(o,L2e),Tf[m].linkTarget=f)}),DJ(s,"clickable")},uqe=function(s){return I2e[s]},hqe=function(s,o,f){s.split(",").forEach(function(m){BXt(m,o,f)}),DJ(s,"clickable")},fqe=function(s){IJ.forEach(function(o){o(s)})},dqe=function(){return ww.trim()},gqe=function(){return Tf},pqe=function(){return jS},mqe=function(){return GO},vqe=function(s){let o=Or(".mermaidTooltip");(o._groups||o)[0][0]===null&&(o=Or("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),Or(s).select("svg").selectAll("g.node").on("mouseover",function(){const y=Or(this);if(y.attr("title")===null)return;const v=this.getBoundingClientRect();o.transition().duration(200).style("opacity",".9"),o.text(y.attr("title")).style("left",window.scrollX+v.left+(v.right-v.left)/2+"px").style("top",window.scrollY+v.top-14+document.body.scrollTop+"px"),o.html(o.html().replace(/&lt;br\/&gt;/g,"<br/>")),y.classed("hover",!0)}).on("mouseout",function(){o.transition().duration(500).style("opacity",0),Or(this).classed("hover",!1)})};IJ.push(vqe);const bqe=function(s="gen-1"){Tf={},GO={},jS=[],IJ=[vqe],vx=[],AJ={},MJ=0,I2e=[],O2e=!0,LJ=s,hv()},wqe=s=>{LJ=s||"gen-2"},yqe=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},_qe=function(s,o,f){let m=s.trim(),y=f;s===f&&f.match(/\s/)&&(m=void 0);function k(z){const V={boolean:{},number:{},string:{}},Y=[];let G;return{nodeList:z.filter(function(ce){const me=typeof ce;return ce.stmt&&ce.stmt==="dir"?(G=ce.value,!1):ce.trim()===""?!1:me in V?V[me].hasOwnProperty(ce)?!1:V[me][ce]=!0:Y.includes(ce)?!1:Y.push(ce)}),dir:G}}let v=[];const{nodeList:A,dir:O}=k(v.concat.apply(v,o));if(v=A,LJ==="gen-1")for(let z=0;z<v.length;z++)v[z]=Nj(v[z]);m=m||"subGraph"+MJ,y=y||"",y=OJ(y),MJ=MJ+1;const j={id:m,nodes:v,title:y.trim(),classes:[],dir:O};return ne.info("Adding",j.id,j.nodes,j.dir),j.nodes=Lqe(j,vx).nodes,vx.push(j),AJ[m]=j,m},FXt=function(s){for(const[o,f]of vx.entries())if(f.id===s)return o;return-1};let Rj=-1;const xqe=[],kqe=function(s,o){const f=vx[o].nodes;if(Rj=Rj+1,Rj>2e3)return;if(xqe[Rj]=o,vx[o].id===s)return{result:!0,count:0};let m=0,y=1;for(;m<f.length;){const k=FXt(f[m]);if(k>=0){const v=kqe(s,k);if(v.result)return{result:!0,count:y+v.count};y=y+v.count}m=m+1}return{result:!1,count:y}},Eqe=function(s){return xqe[s]},Tqe=function(){Rj=-1,vx.length>0&&kqe("none",vx.length-1)},Sqe=function(){return vx},Cqe=()=>O2e?(O2e=!1,!0):!1,jXt=s=>{let o=s.trim(),f="arrow_open";switch(o[0]){case"<":f="arrow_point",o=o.slice(1);break;case"x":f="arrow_cross",o=o.slice(1);break;case"o":f="arrow_circle",o=o.slice(1);break}let m="normal";return o.includes("=")&&(m="thick"),o.includes(".")&&(m="dotted"),{type:f,stroke:m}},$Xt=(s,o)=>{const f=o.length;let m=0;for(let y=0;y<f;++y)o[y]===s&&++m;return m},HXt=s=>{const o=s.trim();let f=o.slice(0,-1),m="arrow_open";switch(o.slice(-1)){case"x":m="arrow_cross",o[0]==="x"&&(m="double_"+m,f=f.slice(1));break;case">":m="arrow_point",o[0]==="<"&&(m="double_"+m,f=f.slice(1));break;case"o":m="arrow_circle",o[0]==="o"&&(m="double_"+m,f=f.slice(1));break}let y="normal",k=f.length-1;f[0]==="="&&(y="thick");let v=$Xt(".",f);return v&&(y="dotted",k=v),{type:m,stroke:y,length:k}},Aqe=(s,o)=>{const f=HXt(s);let m;if(o){if(m=jXt(o),m.stroke!==f.stroke)return{type:"INVALID",stroke:"INVALID"};if(m.type==="arrow_open")m.type=f.type;else{if(m.type!==f.type)return{type:"INVALID",stroke:"INVALID"};m.type="double_"+m.type}return m.type==="double_arrow"&&(m.type="double_arrow_point"),m.length=f.length,m}return f},Mqe=(s,o)=>{let f=!1;return s.forEach(m=>{m.nodes.indexOf(o)>=0&&(f=!0)}),f},Lqe=(s,o)=>{const f=[];return s.nodes.forEach((m,y)=>{Mqe(o,m)||f.push(s.nodes[y])}),{nodes:f}},Iqe={firstGraph:Cqe},W5={parseDirective:tqe,defaultConfig:()=>LO.flowchart,setAccTitle:fv,getAccTitle:qb,getAccDescription:Gb,setAccDescription:Ub,addVertex:nqe,lookUpDomId:Nj,addLink:iqe,updateLinkInterpolate:sqe,updateLink:aqe,addClass:oqe,setDirection:cqe,setClass:DJ,setTooltip:RXt,getTooltip:uqe,setClickEvent:hqe,setLink:lqe,bindFunctions:fqe,getDirection:dqe,getVertices:gqe,getEdges:pqe,getClasses:mqe,clear:bqe,setGen:wqe,defaultStyle:yqe,addSubGraph:_qe,getDepthFirstPos:Eqe,indexNodes:Tqe,getSubGraphs:Sqe,destructLink:Aqe,lex:Iqe,exists:Mqe,makeUniq:Lqe,setDiagramTitle:A3,getDiagramTitle:M3},zXt=Object.freeze(Object.defineProperty({__proto__:null,addClass:oqe,addLink:iqe,addSingleLink:rqe,addSubGraph:_qe,addVertex:nqe,bindFunctions:fqe,clear:bqe,default:W5,defaultStyle:yqe,destructLink:Aqe,firstGraph:Cqe,getClasses:mqe,getDepthFirstPos:Eqe,getDirection:dqe,getEdges:pqe,getSubGraphs:Sqe,getTooltip:uqe,getVertices:gqe,indexNodes:Tqe,lex:Iqe,lookUpDomId:Nj,parseDirective:tqe,setClass:DJ,setClickEvent:hqe,setDirection:cqe,setGen:wqe,setLink:lqe,updateLink:aqe,updateLinkInterpolate:sqe},Symbol.toStringTag,{value:"Module"}));function Oqe(s,o){return!!s.children(o).length}function Dqe(s){return D2e(s.v)+":"+D2e(s.w)+":"+D2e(s.name)}var VXt=/:/g;function D2e(s){return s?String(s).replace(VXt,"\\:"):""}function K5(s,o){o&&s.attr("style",o)}function Pqe(s,o,f){o&&s.attr("class",o).attr("class",f+" "+s.attr("class"))}function N3(s,o){var f=o.graph();if(hze(f)){var m=f.transition;if(TO(m))return m(s)}return s}var P2e={normal:UXt,vee:GXt,undirected:WXt};function qXt(s){P2e=s}function UXt(s,o,f,m){var y=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=y.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");K5(k,f[m+"Style"]),f[m+"Class"]&&k.attr("class",f[m+"Class"])}function GXt(s,o,f,m){var y=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=y.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");K5(k,f[m+"Style"]),f[m+"Class"]&&k.attr("class",f[m+"Class"])}function WXt(s,o,f,m){var y=s.append("marker").attr("id",o).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),k=y.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");K5(k,f[m+"Style"]),f[m+"Class"]&&k.attr("class",f[m+"Class"])}function PJ(s,o){var f=s.append("foreignObject").attr("width","100000"),m=f.append("xhtml:div");m.attr("xmlns","http://www.w3.org/1999/xhtml");var y=o.label;switch(typeof y){case"function":m.insert(y);break;case"object":m.insert(function(){return y});break;default:m.html(y)}K5(m,o.labelStyle),m.style("display","inline-block"),m.style("white-space","nowrap");var k=m.node().getBoundingClientRect();return f.attr("width",k.width).attr("height",k.height),f}function KXt(s,o){var f=s;return f.node().appendChild(o.label),K5(f,o.labelStyle),f}function YXt(s,o){for(var f=s.append("text"),m=XXt(o.label).split(`
`),y=0;y<m.length;y++)f.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(m[y]);return K5(f,o.labelStyle),f}function XXt(s){for(var o="",f=!1,m,y=0;y<s.length;++y)if(m=s[y],f){switch(m){case"n":o+=`
`;break;default:o+=m}f=!1}else m==="\\"?f=!0:o+=m;return o}function N2e(s,o,f){var m=o.label,y=s.append("g");o.labelType==="svg"?KXt(y,o):typeof m!="string"||o.labelType==="html"?PJ(y,o):YXt(y,o);var k=y.node().getBBox(),v;switch(f){case"top":v=-o.height/2;break;case"bottom":v=o.height/2-k.height;break;default:v=-k.height/2}return y.attr("transform","translate("+-k.width/2+","+v+")"),y}var R2e=function(s,o){var f=o.nodes().filter(function(k){return Oqe(o,k)}),m=s.selectAll("g.cluster").data(f,function(k){return k});N3(m.exit(),o).style("opacity",0).remove();var y=m.enter().append("g").attr("class","cluster").attr("id",function(k){var v=o.node(k);return v.id}).style("opacity",0).each(function(k){var v=o.node(k),A=Or(this);Or(this).append("rect");var O=A.append("g").attr("class","label");N2e(O,v,v.clusterLabelPos)});return m=m.merge(y),m=N3(m,o).style("opacity",1),m.selectAll("rect").each(function(k){var v=o.node(k),A=Or(this);K5(A,v.style)}),m};function QXt(s){R2e=s}let B2e=function(s,o){var f=s.selectAll("g.edgeLabel").data(o.edges(),function(y){return Dqe(y)}).classed("update",!0);f.exit().remove(),f.enter().append("g").classed("edgeLabel",!0).style("opacity",0),f=s.selectAll("g.edgeLabel"),f.each(function(y){var k=Or(this);k.select(".label").remove();var v=o.edge(y),A=N2e(k,o.edge(y),0).classed("label",!0),O=A.node().getBBox();v.labelId&&A.attr("id",v.labelId),dc(v,"width")||(v.width=O.width),dc(v,"height")||(v.height=O.height)});var m;return f.exit?m=f.exit():m=f.selectAll(null),N3(m,o).style("opacity",0).remove(),f};function ZXt(s){B2e=s}function Nqe(s,o){return s.intersect(o)}var F2e=function(s,o,f){var m=s.selectAll("g.edgePath").data(o.edges(),function(v){return Dqe(v)}).classed("update",!0),y=rQt(m,o);iQt(m,o);var k=m.merge!==void 0?m.merge(y):m;return N3(k,o).style("opacity",1),k.each(function(v){var A=Or(this),O=o.edge(v);O.elem=this,O.id&&A.attr("id",O.id),Pqe(A,O.class,(A.classed("update")?"update ":"")+"edgePath")}),k.selectAll("path.path").each(function(v){var A=o.edge(v);A.arrowheadId=wJ("arrowhead");var O=Or(this).attr("marker-end",function(){return"url("+eQt(location.href,A.arrowheadId)+")"}).style("fill","none");N3(O,o).attr("d",function(j){return tQt(o,j)}),K5(O,A.style)}),k.selectAll("defs *").remove(),k.selectAll("defs").each(function(v){var A=o.edge(v),O=f[A.arrowhead];O(Or(this),A.arrowheadId,A,"arrowhead")}),k};function JXt(s){F2e=s}function eQt(s,o){var f=s.split("#")[0];return f+"#"+o}function tQt(s,o){var f=s.edge(o),m=s.node(o.v),y=s.node(o.w),k=f.points.slice(1,f.points.length-1);return k.unshift(Nqe(m,k[0])),k.push(Nqe(y,k[k.length-1])),Rqe(f,k)}function Rqe(s,o){var f=(bS||uDt.line)().x(function(m){return m.x}).y(function(m){return m.y});return(f.curve||f.interpolate)(s.curve),f(o)}function nQt(s){var o=s.getBBox(),f=s.ownerSVGElement.getScreenCTM().inverse().multiply(s.getScreenCTM()).translate(o.width/2,o.height/2);return{x:f.e,y:f.f}}function rQt(s,o){var f=s.enter().append("g").attr("class","edgePath").style("opacity",0);return f.append("path").attr("class","path").attr("d",function(m){var y=o.edge(m),k=o.node(m.v).elem,v=RS(y.points.length).map(function(){return nQt(k)});return Rqe(y,v)}),f.append("defs"),f}function iQt(s,o){var f=s.exit();N3(f,o).style("opacity",0).remove()}var j2e=function(s,o,f){var m=o.nodes().filter(function(v){return!Oqe(o,v)}),y=s.selectAll("g.node").data(m,function(v){return v}).classed("update",!0);y.exit().remove(),y.enter().append("g").attr("class","node").style("opacity",0),y=s.selectAll("g.node"),y.each(function(v){var A=o.node(v),O=Or(this);Pqe(O,A.class,(O.classed("update")?"update ":"")+"node"),O.select("g.label").remove();var j=O.append("g").attr("class","label"),z=N2e(j,A),V=f[A.shape],Y=Tj(z.node().getBBox(),"width","height");A.elem=this,A.id&&O.attr("id",A.id),A.labelId&&j.attr("id",A.labelId),dc(A,"width")&&(Y.width=A.width),dc(A,"height")&&(Y.height=A.height),Y.width+=A.paddingLeft+A.paddingRight,Y.height+=A.paddingTop+A.paddingBottom,j.attr("transform","translate("+(A.paddingLeft-A.paddingRight)/2+","+(A.paddingTop-A.paddingBottom)/2+")");var G=Or(this);G.select(".label-container").remove();var J=V(G,Y,A).classed("label-container",!0);K5(J,A.style);var ce=J.node().getBBox();A.width=ce.width,A.height=ce.height});var k;return y.exit?k=y.exit():k=y.selectAll(null),N3(k,o).style("opacity",0).remove(),y};function sQt(s){j2e=s}function aQt(s,o){var f=s.filter(function(){return!Or(this).classed("update")});function m(y){var k=o.node(y);return"translate("+k.x+","+k.y+")"}f.attr("transform",m),N3(s,o).style("opacity",1).attr("transform",m),N3(f.selectAll("rect"),o).attr("width",function(y){return o.node(y).width}).attr("height",function(y){return o.node(y).height}).attr("x",function(y){var k=o.node(y);return-k.width/2}).attr("y",function(y){var k=o.node(y);return-k.height/2})}function oQt(s,o){var f=s.filter(function(){return!Or(this).classed("update")});function m(y){var k=o.edge(y);return dc(k,"x")?"translate("+k.x+","+k.y+")":""}f.attr("transform",m),N3(s,o).style("opacity",1).attr("transform",m)}function cQt(s,o){var f=s.filter(function(){return!Or(this).classed("update")});function m(y){var k=o.node(y);return"translate("+k.x+","+k.y+")"}f.attr("transform",m),N3(s,o).style("opacity",1).attr("transform",m)}function Bqe(s,o,f,m){var y=s.x,k=s.y,v=y-m.x,A=k-m.y,O=Math.sqrt(o*o*A*A+f*f*v*v),j=Math.abs(o*f*v/O);m.x<y&&(j=-j);var z=Math.abs(o*f*A/O);return m.y<k&&(z=-z),{x:y+j,y:k+z}}function lQt(s,o,f){return Bqe(s,o,o,f)}function uQt(s,o,f,m){var y,k,v,A,O,j,z,V,Y,G,J,ce,me,_e,we;if(y=o.y-s.y,v=s.x-o.x,O=o.x*s.y-s.x*o.y,Y=y*f.x+v*f.y+O,G=y*m.x+v*m.y+O,!(Y!==0&&G!==0&&Fqe(Y,G))&&(k=m.y-f.y,A=f.x-m.x,j=m.x*f.y-f.x*m.y,z=k*s.x+A*s.y+j,V=k*o.x+A*o.y+j,!(z!==0&&V!==0&&Fqe(z,V))&&(J=y*A-k*v,J!==0)))return ce=Math.abs(J/2),me=v*j-A*O,_e=me<0?(me-ce)/J:(me+ce)/J,me=k*O-y*j,we=me<0?(me-ce)/J:(me+ce)/J,{x:_e,y:we}}function Fqe(s,o){return s*o>0}function Y5(s,o,f){var m=s.x,y=s.y,k=[],v=Number.POSITIVE_INFINITY,A=Number.POSITIVE_INFINITY;o.forEach(function(J){v=Math.min(v,J.x),A=Math.min(A,J.y)});for(var O=m-s.width/2-v,j=y-s.height/2-A,z=0;z<o.length;z++){var V=o[z],Y=o[z<o.length-1?z+1:0],G=uQt(s,f,{x:O+V.x,y:j+V.y},{x:O+Y.x,y:j+Y.y});G&&k.push(G)}return k.length?(k.length>1&&k.sort(function(J,ce){var me=J.x-f.x,_e=J.y-f.y,we=Math.sqrt(me*me+_e*_e),Se=ce.x-f.x,Oe=ce.y-f.y,De=Math.sqrt(Se*Se+Oe*Oe);return we<De?-1:we===De?0:1}),k[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",s),s)}function $2e(s,o){var f=s.x,m=s.y,y=o.x-f,k=o.y-m,v=s.width/2,A=s.height/2,O,j;return Math.abs(k)*v>Math.abs(y)*A?(k<0&&(A=-A),O=k===0?0:A*y/k,j=A):(y<0&&(v=-v),O=v,j=y===0?0:v*k/y),{x:f+O,y:m+j}}var H2e={rect:fQt,ellipse:dQt,circle:gQt,diamond:pQt};function hQt(s){H2e=s}function fQt(s,o,f){var m=s.insert("rect",":first-child").attr("rx",f.rx).attr("ry",f.ry).attr("x",-o.width/2).attr("y",-o.height/2).attr("width",o.width).attr("height",o.height);return f.intersect=function(y){return $2e(f,y)},m}function dQt(s,o,f){var m=o.width/2,y=o.height/2,k=s.insert("ellipse",":first-child").attr("x",-o.width/2).attr("y",-o.height/2).attr("rx",m).attr("ry",y);return f.intersect=function(v){return Bqe(f,m,y,v)},k}function gQt(s,o,f){var m=Math.max(o.width,o.height)/2,y=s.insert("circle",":first-child").attr("x",-o.width/2).attr("y",-o.height/2).attr("r",m);return f.intersect=function(k){return lQt(f,m,k)},y}function pQt(s,o,f){var m=o.width*Math.SQRT2/2,y=o.height*Math.SQRT2/2,k=[{x:0,y:-y},{x:-m,y:0},{x:0,y},{x:m,y:0}],v=s.insert("polygon",":first-child").attr("points",k.map(function(A){return A.x+","+A.y}).join(" "));return f.intersect=function(A){return Y5(f,k,A)},v}function mQt(){var s=function(o,f){wQt(f);var m=Bj(o,"output"),y=Bj(m,"clusters"),k=Bj(m,"edgePaths"),v=B2e(Bj(m,"edgeLabels"),f),A=j2e(Bj(m,"nodes"),f,H2e);qO(f),cQt(A,f),oQt(v,f),F2e(k,f,P2e);var O=R2e(y,f);aQt(O,f),yQt(f)};return s.createNodes=function(o){return arguments.length?(sQt(o),s):j2e},s.createClusters=function(o){return arguments.length?(QXt(o),s):R2e},s.createEdgeLabels=function(o){return arguments.length?(ZXt(o),s):B2e},s.createEdgePaths=function(o){return arguments.length?(JXt(o),s):F2e},s.shapes=function(o){return arguments.length?(hQt(o),s):H2e},s.arrows=function(o){return arguments.length?(qXt(o),s):P2e},s}var vQt={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},bQt={arrowhead:"normal",curve:Bg};function wQt(s){s.nodes().forEach(function(o){var f=s.node(o);!dc(f,"label")&&!s.children(o).length&&(f.label=o),dc(f,"paddingX")&&HO(f,{paddingLeft:f.paddingX,paddingRight:f.paddingX}),dc(f,"paddingY")&&HO(f,{paddingTop:f.paddingY,paddingBottom:f.paddingY}),dc(f,"padding")&&HO(f,{paddingLeft:f.padding,paddingRight:f.padding,paddingTop:f.padding,paddingBottom:f.padding}),HO(f,vQt),$r(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(m){f[m]=Number(f[m])}),dc(f,"width")&&(f._prevWidth=f.width),dc(f,"height")&&(f._prevHeight=f.height)}),s.edges().forEach(function(o){var f=s.edge(o);dc(f,"label")||(f.label=""),HO(f,bQt)})}function yQt(s){$r(s.nodes(),function(o){var f=s.node(o);dc(f,"_prevWidth")?f.width=f._prevWidth:delete f.width,dc(f,"_prevHeight")?f.height=f._prevHeight:delete f.height,delete f._prevWidth,delete f._prevHeight})}function Bj(s,o){var f=s.select("g."+o);return f.empty()&&(f=s.append("g").attr("class",o)),f}function jqe(s,o,f){const m=o.width,y=o.height,k=(m+y)*.9,v=[{x:k/2,y:0},{x:k,y:-k/2},{x:k/2,y:-k},{x:0,y:-k/2}],A=bx(s,k,k,v);return f.intersect=function(O){return Y5(f,v,O)},A}function $qe(s,o,f){const y=o.height,k=y/4,v=o.width+2*k,A=[{x:k,y:0},{x:v-k,y:0},{x:v,y:-y/2},{x:v-k,y:-y},{x:k,y:-y},{x:0,y:-y/2}],O=bx(s,v,y,A);return f.intersect=function(j){return Y5(f,A,j)},O}function Hqe(s,o,f){const m=o.width,y=o.height,k=[{x:-y/2,y:0},{x:m,y:0},{x:m,y:-y},{x:-y/2,y:-y},{x:0,y:-y/2}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function zqe(s,o,f){const m=o.width,y=o.height,k=[{x:-2*y/6,y:0},{x:m-y/6,y:0},{x:m+2*y/6,y:-y},{x:y/6,y:-y}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function Vqe(s,o,f){const m=o.width,y=o.height,k=[{x:2*y/6,y:0},{x:m+y/6,y:0},{x:m-2*y/6,y:-y},{x:-y/6,y:-y}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function qqe(s,o,f){const m=o.width,y=o.height,k=[{x:-2*y/6,y:0},{x:m+2*y/6,y:0},{x:m-y/6,y:-y},{x:y/6,y:-y}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function Uqe(s,o,f){const m=o.width,y=o.height,k=[{x:y/6,y:0},{x:m-y/6,y:0},{x:m+2*y/6,y:-y},{x:-2*y/6,y:-y}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function Gqe(s,o,f){const m=o.width,y=o.height,k=[{x:0,y:0},{x:m+y/2,y:0},{x:m,y:-y/2},{x:m+y/2,y:-y},{x:0,y:-y}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function Wqe(s,o,f){const m=o.height,y=o.width+m/4,k=s.insert("rect",":first-child").attr("rx",m/2).attr("ry",m/2).attr("x",-y/2).attr("y",-m/2).attr("width",y).attr("height",m);return f.intersect=function(v){return $2e(f,v)},k}function Kqe(s,o,f){const m=o.width,y=o.height,k=[{x:0,y:0},{x:m,y:0},{x:m,y:-y},{x:0,y:-y},{x:0,y:0},{x:-8,y:0},{x:m+8,y:0},{x:m+8,y:-y},{x:-8,y:-y},{x:-8,y:0}],v=bx(s,m,y,k);return f.intersect=function(A){return Y5(f,k,A)},v}function Yqe(s,o,f){const m=o.width,y=m/2,k=y/(2.5+m/50),v=o.height+k,A="M 0,"+k+" a "+y+","+k+" 0,0,0 "+m+" 0 a "+y+","+k+" 0,0,0 "+-m+" 0 l 0,"+v+" a "+y+","+k+" 0,0,0 "+m+" 0 l 0,"+-v,O=s.attr("label-offset-y",k).insert("path",":first-child").attr("d",A).attr("transform","translate("+-m/2+","+-(v/2+k)+")");return f.intersect=function(j){const z=$2e(f,j),V=z.x-f.x;if(y!=0&&(Math.abs(V)<f.width/2||Math.abs(V)==f.width/2&&Math.abs(z.y-f.y)>f.height/2-k)){let Y=k*k*(1-V*V/(y*y));Y!=0&&(Y=Math.sqrt(Y)),Y=k-Y,j.y-f.y>0&&(Y=-Y),z.y+=Y}return z},O}function _Qt(s){s.shapes().question=jqe,s.shapes().hexagon=$qe,s.shapes().stadium=Wqe,s.shapes().subroutine=Kqe,s.shapes().cylinder=Yqe,s.shapes().rect_left_inv_arrow=Hqe,s.shapes().lean_right=zqe,s.shapes().lean_left=Vqe,s.shapes().trapezoid=qqe,s.shapes().inv_trapezoid=Uqe,s.shapes().rect_right_inv_arrow=Gqe}function xQt(s){s({question:jqe}),s({hexagon:$qe}),s({stadium:Wqe}),s({subroutine:Kqe}),s({cylinder:Yqe}),s({rect_left_inv_arrow:Hqe}),s({lean_right:zqe}),s({lean_left:Vqe}),s({trapezoid:qqe}),s({inv_trapezoid:Uqe}),s({rect_right_inv_arrow:Gqe})}function bx(s,o,f,m){return s.insert("polygon",":first-child").attr("points",m.map(function(y){return y.x+","+y.y}).join(" ")).attr("transform","translate("+-o/2+","+f/2+")")}const kQt={addToRender:_Qt,addToRenderV2:xQt},Xqe={},EQt=function(s){const o=Object.keys(s);for(const f of o)Xqe[f]=s[f]},Qqe=function(s,o,f,m,y,k){const v=m?m.select(`[id="${f}"]`):Or(`[id="${f}"]`),A=y||document;Object.keys(s).forEach(function(j){const z=s[j];let V="default";z.classes.length>0&&(V=z.classes.join(" "));const Y=T3(z.styles);let G=z.text!==void 0?z.text:z.id,J;if(i0(Qt().flowchart.htmlLabels)){const _e={label:G.replace(/fa[blrs]?:fa-[\w-]+/g,we=>`<i class='${we.replace(":"," ")}'></i>`)};J=PJ(v,_e).node(),J.parentNode.removeChild(J)}else{const _e=A.createElementNS("http://www.w3.org/2000/svg","text");_e.setAttribute("style",Y.labelStyle.replace("color:","fill:"));const we=G.split(Oo.lineBreakRegex);for(const Se of we){const Oe=A.createElementNS("http://www.w3.org/2000/svg","tspan");Oe.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Oe.setAttribute("dy","1em"),Oe.setAttribute("x","1"),Oe.textContent=Se,_e.appendChild(Oe)}J=_e}let ce=0,me="";switch(z.type){case"round":ce=5,me="rect";break;case"square":me="rect";break;case"diamond":me="question";break;case"hexagon":me="hexagon";break;case"odd":me="rect_left_inv_arrow";break;case"lean_right":me="lean_right";break;case"lean_left":me="lean_left";break;case"trapezoid":me="trapezoid";break;case"inv_trapezoid":me="inv_trapezoid";break;case"odd_right":me="rect_left_inv_arrow";break;case"circle":me="circle";break;case"ellipse":me="ellipse";break;case"stadium":me="stadium";break;case"subroutine":me="subroutine";break;case"cylinder":me="cylinder";break;case"group":me="rect";break;default:me="rect"}ne.warn("Adding node",z.id,z.domId),o.setNode(k.db.lookUpDomId(z.id),{labelType:"svg",labelStyle:Y.labelStyle,shape:me,label:J,rx:ce,ry:ce,class:V,style:Y.style,id:k.db.lookUpDomId(z.id)})})},Zqe=function(s,o,f){let m=0,y,k;if(s.defaultStyle!==void 0){const v=T3(s.defaultStyle);y=v.style,k=v.labelStyle}s.forEach(function(v){m++;var A="L-"+v.start+"-"+v.end,O="LS-"+v.start,j="LE-"+v.end;const z={};v.type==="arrow_open"?z.arrowhead="none":z.arrowhead="normal";let V="",Y="";if(v.style!==void 0){const G=T3(v.style);V=G.style,Y=G.labelStyle}else switch(v.stroke){case"normal":V="fill:none",y!==void 0&&(V=y),k!==void 0&&(Y=k);break;case"dotted":V="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":V=" stroke-width: 3.5px;fill:none";break}z.style=V,z.labelStyle=Y,v.interpolate!==void 0?z.curve=lv(v.interpolate,Bg):s.defaultInterpolate!==void 0?z.curve=lv(s.defaultInterpolate,Bg):z.curve=lv(Xqe.curve,Bg),v.text===void 0?v.style!==void 0&&(z.arrowheadStyle="fill: #333"):(z.arrowheadStyle="fill: #333",z.labelpos="c",i0(Qt().flowchart.htmlLabels)?(z.labelType="html",z.label=`<span id="L-${A}" class="edgeLabel L-${O}' L-${j}" style="${z.labelStyle}">${v.text.replace(/fa[blrs]?:fa-[\w-]+/g,G=>`<i class='${G.replace(":"," ")}'></i>`)}</span>`):(z.labelType="text",z.label=v.text.replace(Oo.lineBreakRegex,`
`),v.style===void 0&&(z.style=z.style||"stroke: #333; stroke-width: 1.5px;fill:none"),z.labelStyle=z.labelStyle.replace("color:","fill:"))),z.id=A,z.class=O+" "+j,z.minlen=v.length||1,o.setEdge(f.db.lookUpDomId(v.start),f.db.lookUpDomId(v.end),z,m)})},TQt={setConf:EQt,addVertices:Qqe,addEdges:Zqe,getClasses:function(s,o){ne.info("Extracting classes"),o.db.clear();try{return o.parse(s),o.db.getClasses()}catch(f){return ne.error(f),{}}},draw:function(s,o,f,m){ne.info("Drawing flowchart"),m.db.clear();const{securityLevel:y,flowchart:k}=Qt();let v;y==="sandbox"&&(v=Or("#i"+o));const A=Or(y==="sandbox"?v.nodes()[0].contentDocument.body:"body"),O=y==="sandbox"?v.nodes()[0].contentDocument:document;try{m.parser.parse(s)}catch{ne.debug("Parsing failed")}let j=m.db.getDirection();j===void 0&&(j="TD");const z=k.nodeSpacing||50,V=k.rankSpacing||50,Y=new P1({multigraph:!0,compound:!0}).setGraph({rankdir:j,nodesep:z,ranksep:V,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let G;const J=m.db.getSubGraphs();for(let Ve=J.length-1;Ve>=0;Ve--)G=J[Ve],m.db.addVertex(G.id,G.title,"group",void 0,G.classes);const ce=m.db.getVertices();ne.warn("Get vertices",ce);const me=m.db.getEdges();let _e=0;for(_e=J.length-1;_e>=0;_e--){G=J[_e],hve("cluster").append("text");for(let Ve=0;Ve<G.nodes.length;Ve++)ne.warn("Setting subgraph",G.nodes[Ve],m.db.lookUpDomId(G.nodes[Ve]),m.db.lookUpDomId(G.id)),Y.setParent(m.db.lookUpDomId(G.nodes[Ve]),m.db.lookUpDomId(G.id))}Qqe(ce,Y,o,A,O,m),Zqe(me,Y,m);const we=new mQt;kQt.addToRender(we),we.arrows().none=function(ke,Ie,ge,Me){const xe=ke.append("marker").attr("id",Ie).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 0 0 L 0 0 z");K5(xe,ge[Me+"Style"])},we.arrows().normal=function(ke,Ie){ke.append("marker").attr("id",Ie).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").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const Se=A.select(`[id="${o}"]`),Oe=A.select("#"+o+" g");for(we(Oe,Y),Oe.selectAll("g.node").attr("title",function(){return m.db.getTooltip(this.id)}),m.db.indexNodes("subGraph"+_e),_e=0;_e<J.length;_e++)if(G=J[_e],G.title!=="undefined"){const Ve=O.querySelectorAll("#"+o+' [id="'+m.db.lookUpDomId(G.id)+'"] rect'),ke=O.querySelectorAll("#"+o+' [id="'+m.db.lookUpDomId(G.id)+'"]'),Ie=Ve[0].x.baseVal.value,ge=Ve[0].y.baseVal.value,Me=Ve[0].width.baseVal.value,xe=Or(ke[0]).select(".label");xe.attr("transform",`translate(${Ie+Me/2}, ${ge+14})`),xe.attr("id",o+"Text");for(let qe=0;qe<G.classes.length;qe++)ke[0].classList.add(G.classes[qe])}if(!k.htmlLabels){const Ve=O.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const ke of Ve){const Ie=ke.getBBox(),ge=O.createElementNS("http://www.w3.org/2000/svg","rect");ge.setAttribute("rx",0),ge.setAttribute("ry",0),ge.setAttribute("width",Ie.width),ge.setAttribute("height",Ie.height),ke.insertBefore(ge,ke.firstChild)}}CS(Y,Se,k.diagramPadding,k.useMaxWidth),Object.keys(ce).forEach(function(Ve){const ke=ce[Ve];if(ke.link){const Ie=A.select("#"+o+' [id="'+m.db.lookUpDomId(Ve)+'"]');if(Ie){const ge=O.createElementNS("http://www.w3.org/2000/svg","a");ge.setAttributeNS("http://www.w3.org/2000/svg","class",ke.classes.join(" ")),ge.setAttributeNS("http://www.w3.org/2000/svg","href",ke.link),ge.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),y==="sandbox"?ge.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):ke.linkTarget&&ge.setAttributeNS("http://www.w3.org/2000/svg","target",ke.linkTarget);const Me=Ie.insert(function(){return ge},":first-child"),Ne=Ie.select(".label-container");Ne&&Me.append(function(){return Ne.node()});const xe=Ie.select(".label");xe&&Me.append(function(){return xe.node()})}}})}},Jqe={},SQt=function(s){const o=Object.keys(s);for(const f of o)Jqe[f]=s[f]},eUe=function(s,o,f,m,y,k){const v=m.select(`[id="${f}"]`);Object.keys(s).forEach(function(O){const j=s[O];let z="default";j.classes.length>0&&(z=j.classes.join(" "));const V=T3(j.styles);let Y=j.text!==void 0?j.text:j.id,G;if(i0(Qt().flowchart.htmlLabels)){const me={label:Y.replace(/fa[blrs]?:fa-[\w-]+/g,_e=>`<i class='${_e.replace(":"," ")}'></i>`)};G=PJ(v,me).node(),G.parentNode.removeChild(G)}else{const me=y.createElementNS("http://www.w3.org/2000/svg","text");me.setAttribute("style",V.labelStyle.replace("color:","fill:"));const _e=Y.split(Oo.lineBreakRegex);for(const we of _e){const Se=y.createElementNS("http://www.w3.org/2000/svg","tspan");Se.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Se.setAttribute("dy","1em"),Se.setAttribute("x","1"),Se.textContent=we,me.appendChild(Se)}G=me}let J=0,ce="";switch(j.type){case"round":J=5,ce="rect";break;case"square":ce="rect";break;case"diamond":ce="question";break;case"hexagon":ce="hexagon";break;case"odd":ce="rect_left_inv_arrow";break;case"lean_right":ce="lean_right";break;case"lean_left":ce="lean_left";break;case"trapezoid":ce="trapezoid";break;case"inv_trapezoid":ce="inv_trapezoid";break;case"odd_right":ce="rect_left_inv_arrow";break;case"circle":ce="circle";break;case"ellipse":ce="ellipse";break;case"stadium":ce="stadium";break;case"subroutine":ce="subroutine";break;case"cylinder":ce="cylinder";break;case"group":ce="rect";break;case"doublecircle":ce="doublecircle";break;default:ce="rect"}o.setNode(j.id,{labelStyle:V.labelStyle,shape:ce,labelText:Y,rx:J,ry:J,class:z,style:V.style,id:j.id,link:j.link,linkTarget:j.linkTarget,tooltip:k.db.getTooltip(j.id)||"",domId:k.db.lookUpDomId(j.id),haveCallback:j.haveCallback,width:j.type==="group"?500:void 0,dir:j.dir,type:j.type,props:j.props,padding:Qt().flowchart.padding}),ne.info("setNode",{labelStyle:V.labelStyle,shape:ce,labelText:Y,rx:J,ry:J,class:z,style:V.style,id:j.id,domId:k.db.lookUpDomId(j.id),width:j.type==="group"?500:void 0,type:j.type,dir:j.dir,props:j.props,padding:Qt().flowchart.padding})})},tUe=function(s,o,f){ne.info("abc78 edges = ",s);let m=0,y={},k,v;if(s.defaultStyle!==void 0){const A=T3(s.defaultStyle);k=A.style,v=A.labelStyle}s.forEach(function(A){m++;var O="L-"+A.start+"-"+A.end;y[O]===void 0?(y[O]=0,ne.info("abc78 new entry",O,y[O])):(y[O]++,ne.info("abc78 new entry",O,y[O]));let j=O+"-"+y[O];ne.info("abc78 new link id to be used is",O,j,y[O]);var z="LS-"+A.start,V="LE-"+A.end;const Y={style:"",labelStyle:""};switch(Y.minlen=A.length||1,A.type==="arrow_open"?Y.arrowhead="none":Y.arrowhead="normal",Y.arrowTypeStart="arrow_open",Y.arrowTypeEnd="arrow_open",A.type){case"double_arrow_cross":Y.arrowTypeStart="arrow_cross";case"arrow_cross":Y.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":Y.arrowTypeStart="arrow_point";case"arrow_point":Y.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":Y.arrowTypeStart="arrow_circle";case"arrow_circle":Y.arrowTypeEnd="arrow_circle";break}let G="",J="";switch(A.stroke){case"normal":G="fill:none;",k!==void 0&&(G=k),v!==void 0&&(J=v),Y.thickness="normal",Y.pattern="solid";break;case"dotted":Y.thickness="normal",Y.pattern="dotted",Y.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":Y.thickness="thick",Y.pattern="solid",Y.style="stroke-width: 3.5px;fill:none;";break}if(A.style!==void 0){const ce=T3(A.style);G=ce.style,J=ce.labelStyle}Y.style=Y.style+=G,Y.labelStyle=Y.labelStyle+=J,A.interpolate!==void 0?Y.curve=lv(A.interpolate,Bg):s.defaultInterpolate!==void 0?Y.curve=lv(s.defaultInterpolate,Bg):Y.curve=lv(Jqe.curve,Bg),A.text===void 0?A.style!==void 0&&(Y.arrowheadStyle="fill: #333"):(Y.arrowheadStyle="fill: #333",Y.labelpos="c"),Y.labelType="text",Y.label=A.text.replace(Oo.lineBreakRegex,`
`),A.style===void 0&&(Y.style=Y.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),Y.labelStyle=Y.labelStyle.replace("color:","fill:"),Y.id=j,Y.classes="flowchart-link "+z+" "+V,o.setEdge(A.start,A.end,Y,m)})},z2e={setConf:SQt,addVertices:eUe,addEdges:tUe,getClasses:function(s,o){ne.info("Extracting classes"),o.db.clear();try{return o.parse(s),o.db.getClasses()}catch{return}},draw:function(s,o,f,m){ne.info("Drawing flowchart"),m.db.clear(),W5.setGen("gen-2"),m.parser.parse(s);let y=m.db.getDirection();y===void 0&&(y="TD");const{securityLevel:k,flowchart:v}=Qt(),A=v.nodeSpacing||50,O=v.rankSpacing||50;let j;k==="sandbox"&&(j=Or("#i"+o));const z=Or(k==="sandbox"?j.nodes()[0].contentDocument.body:"body"),V=k==="sandbox"?j.nodes()[0].contentDocument:document,Y=new P1({multigraph:!0,compound:!0}).setGraph({rankdir:y,nodesep:A,ranksep:O,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let G;const J=m.db.getSubGraphs();ne.info("Subgraphs - ",J);for(let De=J.length-1;De>=0;De--)G=J[De],ne.info("Subgraph - ",G),m.db.addVertex(G.id,G.title,"group",void 0,G.classes,G.dir);const ce=m.db.getVertices(),me=m.db.getEdges();ne.info("Edges",me);let _e=0;for(_e=J.length-1;_e>=0;_e--){G=J[_e],hve("cluster").append("text");for(let De=0;De<G.nodes.length;De++)ne.info("Setting up subgraphs",G.nodes[De],G.id),Y.setParent(G.nodes[De],G.id)}eUe(ce,Y,o,z,V,m),tUe(me,Y);const we=z.select(`[id="${o}"]`),Se=z.select("#"+o+" g");if(E2e(Se,Y,["point","circle","cross"],"flowchart",o),Go.insertTitle(we,"flowchartTitleText",v.titleTopMargin,m.db.getDiagramTitle()),CS(Y,we,v.diagramPadding,v.useMaxWidth),m.db.indexNodes("subGraph"+_e),!v.htmlLabels){const De=V.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const Ve of De){const ke=Ve.getBBox(),Ie=V.createElementNS("http://www.w3.org/2000/svg","rect");Ie.setAttribute("rx",0),Ie.setAttribute("ry",0),Ie.setAttribute("width",ke.width),Ie.setAttribute("height",ke.height),Ve.insertBefore(Ie,Ve.firstChild)}}Object.keys(ce).forEach(function(De){const Ve=ce[De];if(Ve.link){const ke=Or("#"+o+' [id="'+De+'"]');if(ke){const Ie=V.createElementNS("http://www.w3.org/2000/svg","a");Ie.setAttributeNS("http://www.w3.org/2000/svg","class",Ve.classes.join(" ")),Ie.setAttributeNS("http://www.w3.org/2000/svg","href",Ve.link),Ie.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),k==="sandbox"?Ie.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):Ve.linkTarget&&Ie.setAttributeNS("http://www.w3.org/2000/svg","target",Ve.linkTarget);const ge=ke.insert(function(){return Ie},":first-child"),Me=ke.select(".label-container");Me&&ge.append(function(){return Me.node()});const Ne=ke.select(".label");Ne&&ge.append(function(){return Ne.node()})}}})}};var V2e=function(){var s=function(Ie,ge,Me,Ne){for(Me=Me||{},Ne=Ie.length;Ne--;Me[Ie[Ne]]=ge);return Me},o=[1,3],f=[1,5],m=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],y=[1,15],k=[1,16],v=[1,17],A=[1,18],O=[1,19],j=[1,20],z=[1,21],V=[1,22],Y=[1,23],G=[1,24],J=[1,25],ce=[1,26],me=[1,27],_e=[1,29],we=[1,31],Se=[1,34],Oe=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],De={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,tickInterval: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:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"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,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(ge,Me,Ne,xe,qe,ae,Qe){var Ce=ae.length-1;switch(qe){case 2:return ae[Ce-1];case 3:this.$=[];break;case 4:ae[Ce-1].push(ae[Ce]),this.$=ae[Ce-1];break;case 5:case 6:this.$=ae[Ce];break;case 7:case 8:this.$=[];break;case 9:xe.setDateFormat(ae[Ce].substr(11)),this.$=ae[Ce].substr(11);break;case 10:xe.enableInclusiveEndDates(),this.$=ae[Ce].substr(18);break;case 11:xe.TopAxis(),this.$=ae[Ce].substr(8);break;case 12:xe.setAxisFormat(ae[Ce].substr(11)),this.$=ae[Ce].substr(11);break;case 13:xe.setTickInterval(ae[Ce].substr(13)),this.$=ae[Ce].substr(13);break;case 14:xe.setExcludes(ae[Ce].substr(9)),this.$=ae[Ce].substr(9);break;case 15:xe.setIncludes(ae[Ce].substr(9)),this.$=ae[Ce].substr(9);break;case 16:xe.setTodayMarker(ae[Ce].substr(12)),this.$=ae[Ce].substr(12);break;case 17:xe.setDiagramTitle(ae[Ce].substr(6)),this.$=ae[Ce].substr(6);break;case 18:this.$=ae[Ce].trim(),xe.setAccTitle(this.$);break;case 19:case 20:this.$=ae[Ce].trim(),xe.setAccDescription(this.$);break;case 21:xe.addSection(ae[Ce].substr(8)),this.$=ae[Ce].substr(8);break;case 23:xe.addTask(ae[Ce-1],ae[Ce]),this.$="task";break;case 27:this.$=ae[Ce-1],xe.setClickEvent(ae[Ce-1],ae[Ce],null);break;case 28:this.$=ae[Ce-2],xe.setClickEvent(ae[Ce-2],ae[Ce-1],ae[Ce]);break;case 29:this.$=ae[Ce-2],xe.setClickEvent(ae[Ce-2],ae[Ce-1],null),xe.setLink(ae[Ce-2],ae[Ce]);break;case 30:this.$=ae[Ce-3],xe.setClickEvent(ae[Ce-3],ae[Ce-2],ae[Ce-1]),xe.setLink(ae[Ce-3],ae[Ce]);break;case 31:this.$=ae[Ce-2],xe.setClickEvent(ae[Ce-2],ae[Ce],null),xe.setLink(ae[Ce-2],ae[Ce-1]);break;case 32:this.$=ae[Ce-3],xe.setClickEvent(ae[Ce-3],ae[Ce-1],ae[Ce]),xe.setLink(ae[Ce-3],ae[Ce-2]);break;case 33:this.$=ae[Ce-1],xe.setLink(ae[Ce-1],ae[Ce]);break;case 34:case 40:this.$=ae[Ce-1]+" "+ae[Ce];break;case 35:case 36:case 38:this.$=ae[Ce-2]+" "+ae[Ce-1]+" "+ae[Ce];break;case 37:case 39:this.$=ae[Ce-3]+" "+ae[Ce-2]+" "+ae[Ce-1]+" "+ae[Ce];break;case 41:xe.parseDirective("%%{","open_directive");break;case 42:xe.parseDirective(ae[Ce],"type_directive");break;case 43:ae[Ce]=ae[Ce].trim().replace(/'/g,'"'),xe.parseDirective(ae[Ce],"arg_directive");break;case 44:xe.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:o,30:4,40:f},{1:[3]},{3:6,4:2,5:o,30:4,40:f},s(m,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:y,13:k,14:v,15:A,16:O,17:j,18:z,19:V,20:Y,21:G,23:J,25:ce,26:me,27:28,28:_e,30:4,35:we,40:f},{32:32,33:[1,33],43:Se},s([33,43],[2,42]),s(m,[2,8],{1:[2,2]}),s(m,[2,4]),{4:30,10:35,12:y,13:k,14:v,15:A,16:O,17:j,18:z,19:V,20:Y,21:G,23:J,25:ce,26:me,27:28,28:_e,30:4,35:we,40:f},s(m,[2,6]),s(m,[2,7]),s(m,[2,9]),s(m,[2,10]),s(m,[2,11]),s(m,[2,12]),s(m,[2,13]),s(m,[2,14]),s(m,[2,15]),s(m,[2,16]),s(m,[2,17]),{22:[1,36]},{24:[1,37]},s(m,[2,20]),s(m,[2,21]),s(m,[2,22]),{29:[1,38]},s(m,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},s(m,[2,5]),s(m,[2,18]),s(m,[2,19]),s(m,[2,23]),s(m,[2,27],{37:[1,44],38:[1,45]}),s(m,[2,33],{36:[1,46]}),s(Oe,[2,25]),{32:47,43:Se},{43:[2,43]},s(m,[2,28],{38:[1,48]}),s(m,[2,29]),s(m,[2,31],{37:[1,49]}),{11:[1,50]},s(m,[2,30]),s(m,[2,32]),s(Oe,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(ge,Me){if(Me.recoverable)this.trace(ge);else{var Ne=new Error(ge);throw Ne.hash=Me,Ne}},parse:function(ge){var Me=this,Ne=[0],xe=[],qe=[null],ae=[],Qe=this.table,Ce="",nt=0,Ee=0,kt=2,Ot=1,Vt=ae.slice.call(arguments,1),Rt=Object.create(this.lexer),Gt={yy:{}};for(var _n in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_n)&&(Gt.yy[_n]=this.yy[_n]);Rt.setInput(ge,Gt.yy),Gt.yy.lexer=Rt,Gt.yy.parser=this,typeof Rt.yylloc>"u"&&(Rt.yylloc={});var On=Rt.yylloc;ae.push(On);var Dt=Rt.options&&Rt.options.ranges;typeof Gt.yy.parseError=="function"?this.parseError=Gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ai(){var ws;return ws=xe.pop()||Rt.lex()||Ot,typeof ws!="number"&&(ws instanceof Array&&(xe=ws,ws=xe.pop()),ws=Me.symbols_[ws]||ws),ws}for(var Ft,$t,Pt,qt,et={},ht,Ut,it,Zn;;){if($t=Ne[Ne.length-1],this.defaultActions[$t]?Pt=this.defaultActions[$t]:((Ft===null||typeof Ft>"u")&&(Ft=ai()),Pt=Qe[$t]&&Qe[$t][Ft]),typeof Pt>"u"||!Pt.length||!Pt[0]){var Ge="";Zn=[];for(ht in Qe[$t])this.terminals_[ht]&&ht>kt&&Zn.push("'"+this.terminals_[ht]+"'");Rt.showPosition?Ge="Parse error on line "+(nt+1)+`:
`+Rt.showPosition()+`
Expecting `+Zn.join(", ")+", got '"+(this.terminals_[Ft]||Ft)+"'":Ge="Parse error on line "+(nt+1)+": Unexpected "+(Ft==Ot?"end of input":"'"+(this.terminals_[Ft]||Ft)+"'"),this.parseError(Ge,{text:Rt.match,token:this.terminals_[Ft]||Ft,line:Rt.yylineno,loc:On,expected:Zn})}if(Pt[0]instanceof Array&&Pt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$t+", token: "+Ft);switch(Pt[0]){case 1:Ne.push(Ft),qe.push(Rt.yytext),ae.push(Rt.yylloc),Ne.push(Pt[1]),Ft=null,Ee=Rt.yyleng,Ce=Rt.yytext,nt=Rt.yylineno,On=Rt.yylloc;break;case 2:if(Ut=this.productions_[Pt[1]][1],et.$=qe[qe.length-Ut],et._$={first_line:ae[ae.length-(Ut||1)].first_line,last_line:ae[ae.length-1].last_line,first_column:ae[ae.length-(Ut||1)].first_column,last_column:ae[ae.length-1].last_column},Dt&&(et._$.range=[ae[ae.length-(Ut||1)].range[0],ae[ae.length-1].range[1]]),qt=this.performAction.apply(et,[Ce,Ee,nt,Gt.yy,Pt[1],qe,ae].concat(Vt)),typeof qt<"u")return qt;Ut&&(Ne=Ne.slice(0,-1*Ut*2),qe=qe.slice(0,-1*Ut),ae=ae.slice(0,-1*Ut)),Ne.push(this.productions_[Pt[1]][0]),qe.push(et.$),ae.push(et._$),it=Qe[Ne[Ne.length-2]][Ne[Ne.length-1]],Ne.push(it);break;case 3:return!0}}return!0}},Ve=function(){var Ie={EOF:1,parseError:function(Me,Ne){if(this.yy.parser)this.yy.parser.parseError(Me,Ne);else throw new Error(Me)},setInput:function(ge,Me){return this.yy=Me||this.yy||{},this._input=ge,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 ge=this._input[0];this.yytext+=ge,this.yyleng++,this.offset++,this.match+=ge,this.matched+=ge;var Me=ge.match(/(?:\r\n?|\n).*/g);return Me?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ge},unput:function(ge){var Me=ge.length,Ne=ge.split(/(?:\r\n?|\n)/g);this._input=ge+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Me),this.offset-=Me;var xe=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),Ne.length-1&&(this.yylineno-=Ne.length-1);var qe=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:Ne?(Ne.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-Ne.length].length-Ne[0].length:this.yylloc.first_column-Me},this.options.ranges&&(this.yylloc.range=[qe[0],qe[0]+this.yyleng-Me]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(ge){this.unput(this.match.slice(ge))},pastInput:function(){var ge=this.matched.substr(0,this.matched.length-this.match.length);return(ge.length>20?"...":"")+ge.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ge=this.match;return ge.length<20&&(ge+=this._input.substr(0,20-ge.length)),(ge.substr(0,20)+(ge.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ge=this.pastInput(),Me=new Array(ge.length+1).join("-");return ge+this.upcomingInput()+`
`+Me+"^"},test_match:function(ge,Me){var Ne,xe,qe;if(this.options.backtrack_lexer&&(qe={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&&(qe.yylloc.range=this.yylloc.range.slice(0))),xe=ge[0].match(/(?:\r\n?|\n).*/g),xe&&(this.yylineno+=xe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xe?xe[xe.length-1].length-xe[xe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ge[0].length},this.yytext+=ge[0],this.match+=ge[0],this.matches=ge,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(ge[0].length),this.matched+=ge[0],Ne=this.performAction.call(this,this.yy,this,Me,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ne)return Ne;if(this._backtrack){for(var ae in qe)this[ae]=qe[ae];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ge,Me,Ne,xe;this._more||(this.yytext="",this.match="");for(var qe=this._currentRules(),ae=0;ae<qe.length;ae++)if(Ne=this._input.match(this.rules[qe[ae]]),Ne&&(!Me||Ne[0].length>Me[0].length)){if(Me=Ne,xe=ae,this.options.backtrack_lexer){if(ge=this.test_match(Ne,qe[ae]),ge!==!1)return ge;if(this._backtrack){Me=!1;continue}else return!1}else if(!this.options.flex)break}return Me?(ge=this.test_match(Me,qe[xe]),ge!==!1?ge:!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(){var Me=this.next();return Me||this.lex()},begin:function(Me){this.conditionStack.push(Me)},popState:function(){var Me=this.conditionStack.length-1;return Me>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(Me){return Me=this.conditionStack.length-1-Math.abs(Me||0),Me>=0?this.conditionStack[Me]:"INITIAL"},pushState:function(Me){this.begin(Me)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Me,Ne,xe,qe){switch(xe){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:break;case 13:break;case 14:break;case 15:return 11;case 16:break;case 17:break;case 18:break;case 19:this.begin("href");break;case 20:this.popState();break;case 21:return 38;case 22:this.begin("callbackname");break;case 23:this.popState();break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 26:this.popState();break;case 27:return 37;case 28:this.begin("click");break;case 29:this.popState();break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48: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,/^(?:tickInterval\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,48],inclusive:!0}}};return Ie}();De.lexer=Ve;function ke(){this.yy={}}return ke.prototype=De,De.Parser=ke,new ke}();V2e.parser=V2e;const CQt=V2e,AQt=s=>s.match(/^\s*gantt/)!==null;var q2e={},MQt={get exports(){return q2e},set exports(s){q2e=s}};(function(s,o){(function(f,m){s.exports=m()})(D,function(){var f="day";return function(m,y,k){var v=function(j){return j.add(4-j.isoWeekday(),f)},A=y.prototype;A.isoWeekYear=function(){return v(this).year()},A.isoWeek=function(j){if(!this.$utils().u(j))return this.add(7*(j-this.isoWeek()),f);var z,V,Y,G,J=v(this),ce=(z=this.isoWeekYear(),V=this.$u,Y=(V?k.utc:k)().year(z).startOf("year"),G=4-Y.isoWeekday(),Y.isoWeekday()>4&&(G+=7),Y.add(G,f));return J.diff(ce,"week")+1},A.isoWeekday=function(j){return this.$utils().u(j)?this.day()||7:this.day(this.day()%7?j:j-7)};var O=A.startOf;A.startOf=function(j,z){var V=this.$utils(),Y=!!V.u(z)||z;return V.p(j)==="isoweek"?Y?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):O.bind(this)(j,z)}}})})(MQt);const LQt=q2e;var U2e={},IQt={get exports(){return U2e},set exports(s){U2e=s}};(function(s,o){(function(f,m){s.exports=m()})(D,function(){var f={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},m=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,y=/\d\d/,k=/\d\d?/,v=/\d*[^-_:/,()\s\d]+/,A={},O=function(ce){return(ce=+ce)+(ce>68?1900:2e3)},j=function(ce){return function(me){this[ce]=+me}},z=[/[+-]\d\d:?(\d\d)?|Z/,function(ce){(this.zone||(this.zone={})).offset=function(me){if(!me||me==="Z")return 0;var _e=me.match(/([+-]|\d\d)/g),we=60*_e[1]+(+_e[2]||0);return we===0?0:_e[0]==="+"?-we:we}(ce)}],V=function(ce){var me=A[ce];return me&&(me.indexOf?me:me.s.concat(me.f))},Y=function(ce,me){var _e,we=A.meridiem;if(we){for(var Se=1;Se<=24;Se+=1)if(ce.indexOf(we(Se,0,me))>-1){_e=Se>12;break}}else _e=ce===(me?"pm":"PM");return _e},G={A:[v,function(ce){this.afternoon=Y(ce,!1)}],a:[v,function(ce){this.afternoon=Y(ce,!0)}],S:[/\d/,function(ce){this.milliseconds=100*+ce}],SS:[y,function(ce){this.milliseconds=10*+ce}],SSS:[/\d{3}/,function(ce){this.milliseconds=+ce}],s:[k,j("seconds")],ss:[k,j("seconds")],m:[k,j("minutes")],mm:[k,j("minutes")],H:[k,j("hours")],h:[k,j("hours")],HH:[k,j("hours")],hh:[k,j("hours")],D:[k,j("day")],DD:[y,j("day")],Do:[v,function(ce){var me=A.ordinal,_e=ce.match(/\d+/);if(this.day=_e[0],me)for(var we=1;we<=31;we+=1)me(we).replace(/\[|\]/g,"")===ce&&(this.day=we)}],M:[k,j("month")],MM:[y,j("month")],MMM:[v,function(ce){var me=V("months"),_e=(V("monthsShort")||me.map(function(we){return we.slice(0,3)})).indexOf(ce)+1;if(_e<1)throw new Error;this.month=_e%12||_e}],MMMM:[v,function(ce){var me=V("months").indexOf(ce)+1;if(me<1)throw new Error;this.month=me%12||me}],Y:[/[+-]?\d+/,j("year")],YY:[y,function(ce){this.year=O(ce)}],YYYY:[/\d{4}/,j("year")],Z:z,ZZ:z};function J(ce){var me,_e;me=ce,_e=A&&A.formats;for(var we=(ce=me.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ge,Me,Ne){var xe=Ne&&Ne.toUpperCase();return Me||_e[Ne]||f[Ne]||_e[xe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(qe,ae,Qe){return ae||Qe.slice(1)})})).match(m),Se=we.length,Oe=0;Oe<Se;Oe+=1){var De=we[Oe],Ve=G[De],ke=Ve&&Ve[0],Ie=Ve&&Ve[1];we[Oe]=Ie?{regex:ke,parser:Ie}:De.replace(/^\[|\]$/g,"")}return function(ge){for(var Me={},Ne=0,xe=0;Ne<Se;Ne+=1){var qe=we[Ne];if(typeof qe=="string")xe+=qe.length;else{var ae=qe.regex,Qe=qe.parser,Ce=ge.slice(xe),nt=ae.exec(Ce)[0];Qe.call(Me,nt),ge=ge.replace(nt,"")}}return function(Ee){var kt=Ee.afternoon;if(kt!==void 0){var Ot=Ee.hours;kt?Ot<12&&(Ee.hours+=12):Ot===12&&(Ee.hours=0),delete Ee.afternoon}}(Me),Me}}return function(ce,me,_e){_e.p.customParseFormat=!0,ce&&ce.parseTwoDigitYear&&(O=ce.parseTwoDigitYear);var we=me.prototype,Se=we.parse;we.parse=function(Oe){var De=Oe.date,Ve=Oe.utc,ke=Oe.args;this.$u=Ve;var Ie=ke[1];if(typeof Ie=="string"){var ge=ke[2]===!0,Me=ke[3]===!0,Ne=ge||Me,xe=ke[2];Me&&(xe=ke[2]),A=this.$locale(),!ge&&xe&&(A=_e.Ls[xe]),this.$d=function(Ce,nt,Ee){try{if(["x","X"].indexOf(nt)>-1)return new Date((nt==="X"?1e3:1)*Ce);var kt=J(nt)(Ce),Ot=kt.year,Vt=kt.month,Rt=kt.day,Gt=kt.hours,_n=kt.minutes,On=kt.seconds,Dt=kt.milliseconds,ai=kt.zone,Ft=new Date,$t=Rt||(Ot||Vt?1:Ft.getDate()),Pt=Ot||Ft.getFullYear(),qt=0;Ot&&!Vt||(qt=Vt>0?Vt-1:Ft.getMonth());var et=Gt||0,ht=_n||0,Ut=On||0,it=Dt||0;return ai?new Date(Date.UTC(Pt,qt,$t,et,ht,Ut,it+60*ai.offset*1e3)):Ee?new Date(Date.UTC(Pt,qt,$t,et,ht,Ut,it)):new Date(Pt,qt,$t,et,ht,Ut,it)}catch{return new Date("")}}(De,Ie,Ve),this.init(),xe&&xe!==!0&&(this.$L=this.locale(xe).$L),Ne&&De!=this.format(Ie)&&(this.$d=new Date("")),A={}}else if(Ie instanceof Array)for(var qe=Ie.length,ae=1;ae<=qe;ae+=1){ke[1]=Ie[ae-1];var Qe=_e.apply(this,ke);if(Qe.isValid()){this.$d=Qe.$d,this.$L=Qe.$L,this.init();break}ae===qe&&(this.$d=new Date(""))}else Se.call(this,Oe)}}})})(IQt);const OQt=U2e;var G2e={},DQt={get exports(){return G2e},set exports(s){G2e=s}};(function(s,o){(function(f,m){s.exports=m()})(D,function(){return function(f,m){var y=m.prototype,k=y.format;y.format=function(v){var A=this,O=this.$locale();if(!this.isValid())return k.bind(this)(v);var j=this.$utils(),z=(v||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(V){switch(V){case"Q":return Math.ceil((A.$M+1)/3);case"Do":return O.ordinal(A.$D);case"gggg":return A.weekYear();case"GGGG":return A.isoWeekYear();case"wo":return O.ordinal(A.week(),"W");case"w":case"ww":return j.s(A.week(),V==="w"?1:2,"0");case"W":case"WW":return j.s(A.isoWeek(),V==="W"?1:2,"0");case"k":case"kk":return j.s(String(A.$H===0?24:A.$H),V==="k"?1:2,"0");case"X":return Math.floor(A.$d.getTime()/1e3);case"x":return A.$d.getTime();case"z":return"["+A.offsetName()+"]";case"zzz":return"["+A.offsetName("long")+"]";default:return V}});return k.bind(this)(z)}}})})(DQt);const PQt=G2e;ie.extend(LQt),ie.extend(OQt),ie.extend(PQt);let X5="",W2e="",K2e,Y2e="",Fj=[],jj=[],X2e={},Q2e=[],NJ=[],WO="";const nUe=["active","done","crit","milestone"];let Z2e=[],$j=!1,J2e=!1,ewe=0;const NQt=function(s,o,f){Sf.parseDirective(this,s,o,f)},RQt=function(){Q2e=[],NJ=[],WO="",Z2e=[],RJ=0,nwe=void 0,BJ=void 0,c0=[],X5="",W2e="",K2e=void 0,Y2e="",Fj=[],jj=[],$j=!1,J2e=!1,ewe=0,X2e={},hv()},BQt=function(s){W2e=s},FQt=function(){return W2e},jQt=function(s){K2e=s},$Qt=function(){return K2e},HQt=function(s){Y2e=s},zQt=function(){return Y2e},VQt=function(s){X5=s},qQt=function(){$j=!0},UQt=function(){return $j},GQt=function(){J2e=!0},WQt=function(){return J2e},KQt=function(){return X5},YQt=function(s){Fj=s.toLowerCase().split(/[\s,]+/)},XQt=function(){return Fj},QQt=function(s){jj=s.toLowerCase().split(/[\s,]+/)},ZQt=function(){return jj},JQt=function(){return X2e},eZt=function(s){WO=s,Q2e.push(s)},tZt=function(){return Q2e},nZt=function(){let s=cUe();const o=10;let f=0;for(;!s&&f<o;)s=cUe(),f++;return NJ=c0,NJ},rUe=function(s,o,f,m){return m.includes(s.format(o.trim()))?!1:s.isoWeekday()>=6&&f.includes("weekends")||f.includes(s.format("dddd").toLowerCase())?!0:f.includes(s.format(o.trim()))},iUe=function(s,o,f,m){if(!f.length||s.manualEndTime)return;let y;s.startTime instanceof Date?y=ie(s.startTime):y=ie(s.startTime,o,!0),y=y.add(1,"d");let k;s.endTime instanceof Date?k=ie(s.endTime):k=ie(s.endTime,o,!0);const[v,A]=rZt(y,k,o,f,m);s.endTime=v.toDate(),s.renderEndTime=A},rZt=function(s,o,f,m,y){let k=!1,v=null;for(;s<=o;)k||(v=o.toDate()),k=rUe(s,f,m,y),k&&(o=o.add(1,"d")),s=s.add(1,"d");return[o,v]},twe=function(s,o,f){f=f.trim();const y=/^after\s+([\d\w- ]+)/.exec(f.trim());if(y!==null){let v=null;if(y[1].split(" ").forEach(function(A){let O=YO(A);O!==void 0&&(v?O.endTime>v.endTime&&(v=O):v=O)}),v)return v.endTime;{const A=new Date;return A.setHours(0,0,0,0),A}}let k=ie(f,o.trim(),!0);if(k.isValid())return k.toDate();{ne.debug("Invalid date:"+f),ne.debug("With date format:"+o.trim());const v=new Date(f);if(v===void 0||isNaN(v.getTime()))throw new Error("Invalid date:"+f);return v}},sUe=function(s){const o=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(s.trim());return o!==null?[Number.parseFloat(o[1]),o[2]]:[NaN,"ms"]},aUe=function(s,o,f,m=!1){f=f.trim();let y=ie(f,o.trim(),!0);if(y.isValid())return m&&(y=y.add(1,"d")),y.toDate();let k=ie(s);const[v,A]=sUe(f);if(!Number.isNaN(v)){const O=k.add(v,A);O.isValid()&&(k=O)}return k.toDate()};let RJ=0;const KO=function(s){return s===void 0?(RJ=RJ+1,"task"+RJ):s},iZt=function(s,o){let f;o.substr(0,1)===":"?f=o.substr(1,o.length):f=o;const m=f.split(","),y={};hUe(m,y,nUe);for(let v=0;v<m.length;v++)m[v]=m[v].trim();let k="";switch(m.length){case 1:y.id=KO(),y.startTime=s.endTime,k=m[0];break;case 2:y.id=KO(),y.startTime=twe(void 0,X5,m[0]),k=m[1];break;case 3:y.id=KO(m[0]),y.startTime=twe(void 0,X5,m[1]),k=m[2];break}return k&&(y.endTime=aUe(y.startTime,X5,k,$j),y.manualEndTime=ie(k,"YYYY-MM-DD",!0).isValid(),iUe(y,X5,jj,Fj)),y},sZt=function(s,o){let f;o.substr(0,1)===":"?f=o.substr(1,o.length):f=o;const m=f.split(","),y={};hUe(m,y,nUe);for(let k=0;k<m.length;k++)m[k]=m[k].trim();switch(m.length){case 1:y.id=KO(),y.startTime={type:"prevTaskEnd",id:s},y.endTime={data:m[0]};break;case 2:y.id=KO(),y.startTime={type:"getStartDate",startData:m[0]},y.endTime={data:m[1]};break;case 3:y.id=KO(m[0]),y.startTime={type:"getStartDate",startData:m[1]},y.endTime={data:m[2]};break}return y};let nwe,BJ,c0=[];const oUe={},aZt=function(s,o){const f={section:WO,type:WO,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:o},task:s,classes:[]},m=sZt(BJ,o);f.raw.startTime=m.startTime,f.raw.endTime=m.endTime,f.id=m.id,f.prevTaskId=BJ,f.active=m.active,f.done=m.done,f.crit=m.crit,f.milestone=m.milestone,f.order=ewe,ewe++;const y=c0.push(f);BJ=f.id,oUe[f.id]=y-1},YO=function(s){const o=oUe[s];return c0[o]},oZt=function(s,o){const f={section:WO,type:WO,description:s,task:s,classes:[]},m=iZt(nwe,o);f.startTime=m.startTime,f.endTime=m.endTime,f.id=m.id,f.active=m.active,f.done=m.done,f.crit=m.crit,f.milestone=m.milestone,nwe=f,NJ.push(f)},cUe=function(){const s=function(f){const m=c0[f];let y="";switch(c0[f].raw.startTime.type){case"prevTaskEnd":{const k=YO(m.prevTaskId);m.startTime=k.endTime;break}case"getStartDate":y=twe(void 0,X5,c0[f].raw.startTime.startData),y&&(c0[f].startTime=y);break}return c0[f].startTime&&(c0[f].endTime=aUe(c0[f].startTime,X5,c0[f].raw.endTime.data,$j),c0[f].endTime&&(c0[f].processed=!0,c0[f].manualEndTime=ie(c0[f].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),iUe(c0[f],X5,jj,Fj))),c0[f].processed};let o=!0;for(const[f,m]of c0.entries())s(f),o=o&&m.processed;return o},cZt=function(s,o){let f=o;Qt().securityLevel!=="loose"&&(f=xt(o)),s.split(",").forEach(function(m){YO(m)!==void 0&&(uUe(m,()=>{window.open(f,"_self")}),X2e[m]=f)}),lUe(s,"clickable")},lUe=function(s,o){s.split(",").forEach(function(f){let m=YO(f);m!==void 0&&m.classes.push(o)})},lZt=function(s,o,f){if(Qt().securityLevel!=="loose"||o===void 0)return;let m=[];if(typeof f=="string"){m=f.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<m.length;k++){let v=m[k].trim();v.charAt(0)==='"'&&v.charAt(v.length-1)==='"'&&(v=v.substr(1,v.length-2)),m[k]=v}}m.length===0&&m.push(s),YO(s)!==void 0&&uUe(s,()=>{Go.runFunc(o,...m)})},uUe=function(s,o){Z2e.push(function(){const f=document.querySelector(`[id="${s}"]`);f!==null&&f.addEventListener("click",function(){o()})},function(){const f=document.querySelector(`[id="${s}-text"]`);f!==null&&f.addEventListener("click",function(){o()})})},rwe={parseDirective:NQt,getConfig:()=>Qt().gantt,clear:RQt,setDateFormat:VQt,getDateFormat:KQt,enableInclusiveEndDates:qQt,endDatesAreInclusive:UQt,enableTopAxis:GQt,topAxisEnabled:WQt,setAxisFormat:BQt,getAxisFormat:FQt,setTickInterval:jQt,getTickInterval:$Qt,setTodayMarker:HQt,getTodayMarker:zQt,setAccTitle:fv,getAccTitle:qb,setDiagramTitle:A3,getDiagramTitle:M3,setAccDescription:Ub,getAccDescription:Gb,addSection:eZt,getSections:tZt,getTasks:nZt,addTask:aZt,findTaskById:YO,addTaskOrg:oZt,setIncludes:YQt,getIncludes:XQt,setExcludes:QQt,getExcludes:ZQt,setClickEvent:function(s,o,f){s.split(",").forEach(function(m){lZt(m,o,f)}),lUe(s,"clickable")},setLink:cZt,getLinks:JQt,bindFunctions:function(s){Z2e.forEach(function(o){o(s)})},parseDuration:sUe,isInvalidDate:rUe};function hUe(s,o,f){let m=!0;for(;m;)m=!1,f.forEach(function(y){const k="^\\s*"+y+"\\s*$",v=new RegExp(k);s[0].match(v)&&(o[y]=!0,s.shift(1),m=!0)})}const uZt=function(){ne.debug("Something is calling, setConf, remove the call")};let wx;const hZt={setConf:uZt,draw:function(s,o,f,m){const y=Qt().gantt,k=Qt().securityLevel;let v;k==="sandbox"&&(v=Or("#i"+o));const A=Or(k==="sandbox"?v.nodes()[0].contentDocument.body:"body"),O=k==="sandbox"?v.nodes()[0].contentDocument:document,j=O.getElementById(o);wx=j.parentElement.offsetWidth,wx===void 0&&(wx=1200),y.useWidth!==void 0&&(wx=y.useWidth);const z=m.db.getTasks(),V=z.length*(y.barHeight+y.barGap)+2*y.topPadding;j.setAttribute("viewBox","0 0 "+wx+" "+V);const Y=A.select(`[id="${o}"]`),G=YPt().domain([Hs(z,function(Me){return Me.startTime}),Lr(z,function(Me){return Me.endTime})]).rangeRound([0,wx-y.leftPadding-y.rightPadding]);let J=[];for(const Me of z)J.push(Me.type);const ce=J;J=ke(J);function me(Me,Ne){const xe=Me.startTime,qe=Ne.startTime;let ae=0;return xe>qe?ae=1:xe<qe&&(ae=-1),ae}z.sort(me),_e(z,wx,V),C3(Y,V,wx,y.useMaxWidth),Y.append("text").text(m.db.getDiagramTitle()).attr("x",wx/2).attr("y",y.titleTopMargin).attr("class","titleText");function _e(Me,Ne,xe){const qe=y.barHeight,ae=qe+y.barGap,Qe=y.topPadding,Ce=y.leftPadding,nt=rje().domain([0,J.length]).range(["#00B9FA","#F95002"]).interpolate(WIt);Se(ae,Qe,Ce,Ne,xe,Me,m.db.getExcludes(),m.db.getIncludes()),Oe(Ce,Qe,Ne,xe),we(Me,ae,Qe,Ce,qe,nt,Ne),De(ae,Qe),Ve(Ce,Qe,Ne,xe)}function we(Me,Ne,xe,qe,ae,Qe,Ce){Y.append("g").selectAll("rect").data(Me).enter().append("rect").attr("x",0).attr("y",function(Ot,Vt){return Vt=Ot.order,Vt*Ne+xe-2}).attr("width",function(){return Ce-y.rightPadding/2}).attr("height",Ne).attr("class",function(Ot){for(const[Vt,Rt]of J.entries())if(Ot.type===Rt)return"section section"+Vt%y.numberSectionStyles;return"section section0"});const nt=Y.append("g").selectAll("rect").data(Me).enter(),Ee=m.db.getLinks();if(nt.append("rect").attr("id",function(Ot){return Ot.id}).attr("rx",3).attr("ry",3).attr("x",function(Ot){return Ot.milestone?G(Ot.startTime)+qe+.5*(G(Ot.endTime)-G(Ot.startTime))-.5*ae:G(Ot.startTime)+qe}).attr("y",function(Ot,Vt){return Vt=Ot.order,Vt*Ne+xe}).attr("width",function(Ot){return Ot.milestone?ae:G(Ot.renderEndTime||Ot.endTime)-G(Ot.startTime)}).attr("height",ae).attr("transform-origin",function(Ot,Vt){return Vt=Ot.order,(G(Ot.startTime)+qe+.5*(G(Ot.endTime)-G(Ot.startTime))).toString()+"px "+(Vt*Ne+xe+.5*ae).toString()+"px"}).attr("class",function(Ot){const Vt="task";let Rt="";Ot.classes.length>0&&(Rt=Ot.classes.join(" "));let Gt=0;for(const[On,Dt]of J.entries())Ot.type===Dt&&(Gt=On%y.numberSectionStyles);let _n="";return Ot.active?Ot.crit?_n+=" activeCrit":_n=" active":Ot.done?Ot.crit?_n=" doneCrit":_n=" done":Ot.crit&&(_n+=" crit"),_n.length===0&&(_n=" task"),Ot.milestone&&(_n=" milestone "+_n),_n+=Gt,_n+=" "+Rt,Vt+_n}),nt.append("text").attr("id",function(Ot){return Ot.id+"-text"}).text(function(Ot){return Ot.task}).attr("font-size",y.fontSize).attr("x",function(Ot){let Vt=G(Ot.startTime),Rt=G(Ot.renderEndTime||Ot.endTime);Ot.milestone&&(Vt+=.5*(G(Ot.endTime)-G(Ot.startTime))-.5*ae),Ot.milestone&&(Rt=Vt+ae);const Gt=this.getBBox().width;return Gt>Rt-Vt?Rt+Gt+1.5*y.leftPadding>Ce?Vt+qe-5:Rt+qe+5:(Rt-Vt)/2+Vt+qe}).attr("y",function(Ot,Vt){return Vt=Ot.order,Vt*Ne+y.barHeight/2+(y.fontSize/2-2)+xe}).attr("text-height",ae).attr("class",function(Ot){const Vt=G(Ot.startTime);let Rt=G(Ot.endTime);Ot.milestone&&(Rt=Vt+ae);const Gt=this.getBBox().width;let _n="";Ot.classes.length>0&&(_n=Ot.classes.join(" "));let On=0;for(const[ai,Ft]of J.entries())Ot.type===Ft&&(On=ai%y.numberSectionStyles);let Dt="";return Ot.active&&(Ot.crit?Dt="activeCritText"+On:Dt="activeText"+On),Ot.done?Ot.crit?Dt=Dt+" doneCritText"+On:Dt=Dt+" doneText"+On:Ot.crit&&(Dt=Dt+" critText"+On),Ot.milestone&&(Dt+=" milestoneText"),Gt>Rt-Vt?Rt+Gt+1.5*y.leftPadding>Ce?_n+" taskTextOutsideLeft taskTextOutside"+On+" "+Dt:_n+" taskTextOutsideRight taskTextOutside"+On+" "+Dt+" width-"+Gt:_n+" taskText taskText"+On+" "+Dt+" width-"+Gt}),Qt().securityLevel==="sandbox"){let Ot;Ot=Or("#i"+o);const Vt=Ot.nodes()[0].contentDocument;nt.filter(function(Rt){return Ee[Rt.id]!==void 0}).each(function(Rt){var Gt=Vt.querySelector("#"+Rt.id),_n=Vt.querySelector("#"+Rt.id+"-text");const On=Gt.parentNode;var Dt=Vt.createElement("a");Dt.setAttribute("xlink:href",Ee[Rt.id]),Dt.setAttribute("target","_top"),On.appendChild(Dt),Dt.appendChild(Gt),Dt.appendChild(_n)})}}function Se(Me,Ne,xe,qe,ae,Qe,Ce,nt){const Ee=Qe.reduce((On,{startTime:Dt})=>On?Math.min(On,Dt):Dt,0),kt=Qe.reduce((On,{endTime:Dt})=>On?Math.max(On,Dt):Dt,0),Ot=m.db.getDateFormat();if(!Ee||!kt)return;const Vt=[];let Rt=null,Gt=ie(Ee);for(;Gt.valueOf()<=kt;)m.db.isInvalidDate(Gt,Ot,Ce,nt)?Rt?Rt.end=Gt:Rt={start:Gt,end:Gt}:Rt&&(Vt.push(Rt),Rt=null),Gt=Gt.add(1,"d");Y.append("g").selectAll("rect").data(Vt).enter().append("rect").attr("id",function(On){return"exclude-"+On.start.format("YYYY-MM-DD")}).attr("x",function(On){return G(On.start)+xe}).attr("y",y.gridLineStartPadding).attr("width",function(On){const Dt=On.end.add(1,"day");return G(Dt)-G(On.start)}).attr("height",ae-Ne-y.gridLineStartPadding).attr("transform-origin",function(On,Dt){return(G(On.start)+xe+.5*(G(On.end)-G(On.start))).toString()+"px "+(Dt*Me+.5*ae).toString()+"px"}).attr("class","exclude-range")}function Oe(Me,Ne,xe,qe){let ae=Wi(G).tickSize(-qe+Ne+y.gridLineStartPadding).tickFormat(JQ(m.db.getAxisFormat()||y.axisFormat||"%Y-%m-%d"));const Ce=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(m.db.getTickInterval()||y.tickInterval);if(Ce!==null){const nt=Ce[1];switch(Ce[2]){case"minute":ae.ticks(KQ.every(nt));break;case"hour":ae.ticks(YQ.every(nt));break;case"day":ae.ticks(gO.every(nt));break;case"week":ae.ticks(pO.every(nt));break;case"month":ae.ticks(QQ.every(nt));break}}if(Y.append("g").attr("class","grid").attr("transform","translate("+Me+", "+(qe-50)+")").call(ae).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),m.db.topAxisEnabled()||y.topAxis){let nt=Es(G).tickSize(-qe+Ne+y.gridLineStartPadding).tickFormat(JQ(m.db.getAxisFormat()||y.axisFormat||"%Y-%m-%d"));if(Ce!==null){const Ee=Ce[1];switch(Ce[2]){case"minute":nt.ticks(KQ.every(Ee));break;case"hour":nt.ticks(YQ.every(Ee));break;case"day":nt.ticks(gO.every(Ee));break;case"week":nt.ticks(pO.every(Ee));break;case"month":nt.ticks(QQ.every(Ee));break}}Y.append("g").attr("class","grid").attr("transform","translate("+Me+", "+Ne+")").call(nt).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function De(Me,Ne){const xe=[];let qe=0;for(const[ae,Qe]of J.entries())xe[ae]=[Qe,ge(Qe,ce)];Y.append("g").selectAll("text").data(xe).enter().append(function(ae){const Qe=ae[0].split(Oo.lineBreakRegex),Ce=-(Qe.length-1)/2,nt=O.createElementNS("http://www.w3.org/2000/svg","text");nt.setAttribute("dy",Ce+"em");for(const[Ee,kt]of Qe.entries()){const Ot=O.createElementNS("http://www.w3.org/2000/svg","tspan");Ot.setAttribute("alignment-baseline","central"),Ot.setAttribute("x","10"),Ee>0&&Ot.setAttribute("dy","1em"),Ot.textContent=kt,nt.appendChild(Ot)}return nt}).attr("x",10).attr("y",function(ae,Qe){if(Qe>0)for(let Ce=0;Ce<Qe;Ce++)return qe+=xe[Qe-1][1],ae[1]*Me/2+qe*Me+Ne;else return ae[1]*Me/2+Ne}).attr("font-size",y.sectionFontSize).attr("font-size",y.sectionFontSize).attr("class",function(ae){for(const[Qe,Ce]of J.entries())if(ae[0]===Ce)return"sectionTitle sectionTitle"+Qe%y.numberSectionStyles;return"sectionTitle"})}function Ve(Me,Ne,xe,qe){const ae=m.db.getTodayMarker();if(ae==="off")return;const Qe=Y.append("g").attr("class","today"),Ce=new Date,nt=Qe.append("line");nt.attr("x1",G(Ce)+Me).attr("x2",G(Ce)+Me).attr("y1",y.titleTopMargin).attr("y2",qe-y.titleTopMargin).attr("class","today"),ae!==""&&nt.attr("style",ae.replace(/,/g,";"))}function ke(Me){const Ne={},xe=[];for(let qe=0,ae=Me.length;qe<ae;++qe)Object.prototype.hasOwnProperty.call(Ne,Me[qe])||(Ne[Me[qe]]=!0,xe.push(Me[qe]));return xe}function Ie(Me){let Ne=Me.length;const xe={};for(;Ne;)xe[Me[--Ne]]=(xe[Me[Ne]]||0)+1;return xe}function ge(Me,Ne){return Ie(Ne)[Me]||0}}};var iwe=function(){var s=function(k,v,A,O){for(A=A||{},O=k.length;O--;A[k[O]]=v);return A},o=[6,9,10],f={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(v,A,O,j,z,V,Y){switch(V.length-1,z){case 1:return j;case 4:break;case 6:j.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},s(o,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},s(o,[2,3]),s(o,[2,4]),s(o,[2,5]),s(o,[2,6])],defaultActions:{4:[2,1]},parseError:function(v,A){if(A.recoverable)this.trace(v);else{var O=new Error(v);throw O.hash=A,O}},parse:function(v){var A=this,O=[0],j=[],z=[null],V=[],Y=this.table,G="",J=0,ce=0,me=2,_e=1,we=V.slice.call(arguments,1),Se=Object.create(this.lexer),Oe={yy:{}};for(var De in this.yy)Object.prototype.hasOwnProperty.call(this.yy,De)&&(Oe.yy[De]=this.yy[De]);Se.setInput(v,Oe.yy),Oe.yy.lexer=Se,Oe.yy.parser=this,typeof Se.yylloc>"u"&&(Se.yylloc={});var Ve=Se.yylloc;V.push(Ve);var ke=Se.options&&Se.options.ranges;typeof Oe.yy.parseError=="function"?this.parseError=Oe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var kt;return kt=j.pop()||Se.lex()||_e,typeof kt!="number"&&(kt instanceof Array&&(j=kt,kt=j.pop()),kt=A.symbols_[kt]||kt),kt}for(var ge,Me,Ne,xe,qe={},ae,Qe,Ce,nt;;){if(Me=O[O.length-1],this.defaultActions[Me]?Ne=this.defaultActions[Me]:((ge===null||typeof ge>"u")&&(ge=Ie()),Ne=Y[Me]&&Y[Me][ge]),typeof Ne>"u"||!Ne.length||!Ne[0]){var Ee="";nt=[];for(ae in Y[Me])this.terminals_[ae]&&ae>me&&nt.push("'"+this.terminals_[ae]+"'");Se.showPosition?Ee="Parse error on line "+(J+1)+`:
`+Se.showPosition()+`
Expecting `+nt.join(", ")+", got '"+(this.terminals_[ge]||ge)+"'":Ee="Parse error on line "+(J+1)+": Unexpected "+(ge==_e?"end of input":"'"+(this.terminals_[ge]||ge)+"'"),this.parseError(Ee,{text:Se.match,token:this.terminals_[ge]||ge,line:Se.yylineno,loc:Ve,expected:nt})}if(Ne[0]instanceof Array&&Ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Me+", token: "+ge);switch(Ne[0]){case 1:O.push(ge),z.push(Se.yytext),V.push(Se.yylloc),O.push(Ne[1]),ge=null,ce=Se.yyleng,G=Se.yytext,J=Se.yylineno,Ve=Se.yylloc;break;case 2:if(Qe=this.productions_[Ne[1]][1],qe.$=z[z.length-Qe],qe._$={first_line:V[V.length-(Qe||1)].first_line,last_line:V[V.length-1].last_line,first_column:V[V.length-(Qe||1)].first_column,last_column:V[V.length-1].last_column},ke&&(qe._$.range=[V[V.length-(Qe||1)].range[0],V[V.length-1].range[1]]),xe=this.performAction.apply(qe,[G,ce,J,Oe.yy,Ne[1],z,V].concat(we)),typeof xe<"u")return xe;Qe&&(O=O.slice(0,-1*Qe*2),z=z.slice(0,-1*Qe),V=V.slice(0,-1*Qe)),O.push(this.productions_[Ne[1]][0]),z.push(qe.$),V.push(qe._$),Ce=Y[O[O.length-2]][O[O.length-1]],O.push(Ce);break;case 3:return!0}}return!0}},m=function(){var k={EOF:1,parseError:function(A,O){if(this.yy.parser)this.yy.parser.parseError(A,O);else throw new Error(A)},setInput:function(v,A){return this.yy=A||this.yy||{},this._input=v,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 v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var A=v.match(/(?:\r\n?|\n).*/g);return A?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),v},unput:function(v){var A=v.length,O=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var j=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),O.length-1&&(this.yylineno-=O.length-1);var z=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:O?(O.length===j.length?this.yylloc.first_column:0)+j[j.length-O.length].length-O[0].length:this.yylloc.first_column-A},this.options.ranges&&(this.yylloc.range=[z[0],z[0]+this.yyleng-A]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(v){this.unput(this.match.slice(v))},pastInput:function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var v=this.match;return v.length<20&&(v+=this._input.substr(0,20-v.length)),(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var v=this.pastInput(),A=new Array(v.length+1).join("-");return v+this.upcomingInput()+`
`+A+"^"},test_match:function(v,A){var O,j,z;if(this.options.backtrack_lexer&&(z={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&&(z.yylloc.range=this.yylloc.range.slice(0))),j=v[0].match(/(?:\r\n?|\n).*/g),j&&(this.yylineno+=j.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:j?j[j.length-1].length-j[j.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,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(v[0].length),this.matched+=v[0],O=this.performAction.call(this,this.yy,this,A,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),O)return O;if(this._backtrack){for(var V in z)this[V]=z[V];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var v,A,O,j;this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),V=0;V<z.length;V++)if(O=this._input.match(this.rules[z[V]]),O&&(!A||O[0].length>A[0].length)){if(A=O,j=V,this.options.backtrack_lexer){if(v=this.test_match(O,z[V]),v!==!1)return v;if(this._backtrack){A=!1;continue}else return!1}else if(!this.options.flex)break}return A?(v=this.test_match(A,z[j]),v!==!1?v:!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(){var A=this.next();return A||this.lex()},begin:function(A){this.conditionStack.push(A)},popState:function(){var A=this.conditionStack.length-1;return A>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(A){return A=this.conditionStack.length-1-Math.abs(A||0),A>=0?this.conditionStack[A]:"INITIAL"},pushState:function(A){this.begin(A)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(A,O,j,z){switch(j){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}}};return k}();f.lexer=m;function y(){this.yy={}}return y.prototype=f,f.Parser=y,new y}();iwe.parser=iwe;const fZt=iwe;var fUe="",dUe=!1;const dZt={setMessage:s=>{ne.debug("Setting message to: "+s),fUe=s},getMessage:()=>fUe,setInfo:s=>{dUe=s},getInfo:()=>dUe,clear:hv},gZt={draw:(s,o,f)=>{try{ne.debug(`Rendering info diagram
`+s);const m=Qt().securityLevel;let y;m==="sandbox"&&(y=Or("#i"+o));const v=Or(m==="sandbox"?y.nodes()[0].contentDocument.body:"body").select("#"+o);v.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+f),v.attr("height",100),v.attr("width",400)}catch(m){ne.error("Error while rendering info diagram"),ne.error(m.message)}}},pZt=s=>s.match(/^\s*info/)!==null;var swe=function(){var s=function(Ve,ke,Ie,ge){for(Ie=Ie||{},ge=Ve.length;ge--;Ie[Ve[ge]]=ke);return Ie},o=[1,4],f=[1,5],m=[1,6],y=[1,7],k=[1,9],v=[1,11,13,15,17,19,20,26,27,28,29],A=[2,5],O=[1,6,11,13,15,17,19,20,26,27,28,29],j=[26,27,28],z=[2,8],V=[1,18],Y=[1,19],G=[1,20],J=[1,21],ce=[1,22],me=[1,23],_e=[1,28],we=[6,26,27,28,29],Se={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(ke,Ie,ge,Me,Ne,xe,qe){var ae=xe.length-1;switch(Ne){case 4:Me.setShowData(!0);break;case 7:this.$=xe[ae-1];break;case 9:Me.addSection(xe[ae-1],Me.cleanupValue(xe[ae]));break;case 10:this.$=xe[ae].trim(),Me.setDiagramTitle(this.$);break;case 11:this.$=xe[ae].trim(),Me.setAccTitle(this.$);break;case 12:case 13:this.$=xe[ae].trim(),Me.setAccDescription(this.$);break;case 14:Me.addSection(xe[ae].substr(8)),this.$=xe[ae].substr(8);break;case 21:Me.parseDirective("%%{","open_directive");break;case 22:Me.parseDirective(xe[ae],"type_directive");break;case 23:xe[ae]=xe[ae].trim().replace(/'/g,'"'),Me.parseDirective(xe[ae],"arg_directive");break;case 24:Me.parseDirective("}%%","close_directive","pie");break}},table:[{3:1,4:2,5:3,6:o,21:8,26:f,27:m,28:y,29:k},{1:[3]},{3:10,4:2,5:3,6:o,21:8,26:f,27:m,28:y,29:k},{3:11,4:2,5:3,6:o,21:8,26:f,27:m,28:y,29:k},s(v,A,{7:12,8:[1,13]}),s(O,[2,18]),s(O,[2,19]),s(O,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},s(j,z,{21:8,9:16,10:17,5:24,1:[2,3],11:V,13:Y,15:G,17:J,19:ce,20:me,29:k}),s(v,A,{7:25}),{23:26,24:[1,27],32:_e},s([24,32],[2,22]),s(v,[2,6]),{4:29,26:f,27:m,28:y},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},s(j,[2,13]),s(j,[2,14]),s(j,[2,15]),s(j,z,{21:8,9:16,10:17,5:24,1:[2,4],11:V,13:Y,15:G,17:J,19:ce,20:me,29:k}),s(we,[2,16]),{25:34,31:[1,35]},s(we,[2,24]),s(v,[2,7]),s(j,[2,9]),s(j,[2,10]),s(j,[2,11]),s(j,[2,12]),{23:36,32:_e},{32:[2,23]},s(we,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(ke,Ie){if(Ie.recoverable)this.trace(ke);else{var ge=new Error(ke);throw ge.hash=Ie,ge}},parse:function(ke){var Ie=this,ge=[0],Me=[],Ne=[null],xe=[],qe=this.table,ae="",Qe=0,Ce=0,nt=2,Ee=1,kt=xe.slice.call(arguments,1),Ot=Object.create(this.lexer),Vt={yy:{}};for(var Rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rt)&&(Vt.yy[Rt]=this.yy[Rt]);Ot.setInput(ke,Vt.yy),Vt.yy.lexer=Ot,Vt.yy.parser=this,typeof Ot.yylloc>"u"&&(Ot.yylloc={});var Gt=Ot.yylloc;xe.push(Gt);var _n=Ot.options&&Ot.options.ranges;typeof Vt.yy.parseError=="function"?this.parseError=Vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function On(){var Zn;return Zn=Me.pop()||Ot.lex()||Ee,typeof Zn!="number"&&(Zn instanceof Array&&(Me=Zn,Zn=Me.pop()),Zn=Ie.symbols_[Zn]||Zn),Zn}for(var Dt,ai,Ft,$t,Pt={},qt,et,ht,Ut;;){if(ai=ge[ge.length-1],this.defaultActions[ai]?Ft=this.defaultActions[ai]:((Dt===null||typeof Dt>"u")&&(Dt=On()),Ft=qe[ai]&&qe[ai][Dt]),typeof Ft>"u"||!Ft.length||!Ft[0]){var it="";Ut=[];for(qt in qe[ai])this.terminals_[qt]&&qt>nt&&Ut.push("'"+this.terminals_[qt]+"'");Ot.showPosition?it="Parse error on line "+(Qe+1)+`:
`+Ot.showPosition()+`
Expecting `+Ut.join(", ")+", got '"+(this.terminals_[Dt]||Dt)+"'":it="Parse error on line "+(Qe+1)+": Unexpected "+(Dt==Ee?"end of input":"'"+(this.terminals_[Dt]||Dt)+"'"),this.parseError(it,{text:Ot.match,token:this.terminals_[Dt]||Dt,line:Ot.yylineno,loc:Gt,expected:Ut})}if(Ft[0]instanceof Array&&Ft.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ai+", token: "+Dt);switch(Ft[0]){case 1:ge.push(Dt),Ne.push(Ot.yytext),xe.push(Ot.yylloc),ge.push(Ft[1]),Dt=null,Ce=Ot.yyleng,ae=Ot.yytext,Qe=Ot.yylineno,Gt=Ot.yylloc;break;case 2:if(et=this.productions_[Ft[1]][1],Pt.$=Ne[Ne.length-et],Pt._$={first_line:xe[xe.length-(et||1)].first_line,last_line:xe[xe.length-1].last_line,first_column:xe[xe.length-(et||1)].first_column,last_column:xe[xe.length-1].last_column},_n&&(Pt._$.range=[xe[xe.length-(et||1)].range[0],xe[xe.length-1].range[1]]),$t=this.performAction.apply(Pt,[ae,Ce,Qe,Vt.yy,Ft[1],Ne,xe].concat(kt)),typeof $t<"u")return $t;et&&(ge=ge.slice(0,-1*et*2),Ne=Ne.slice(0,-1*et),xe=xe.slice(0,-1*et)),ge.push(this.productions_[Ft[1]][0]),Ne.push(Pt.$),xe.push(Pt._$),ht=qe[ge[ge.length-2]][ge[ge.length-1]],ge.push(ht);break;case 3:return!0}}return!0}},Oe=function(){var Ve={EOF:1,parseError:function(Ie,ge){if(this.yy.parser)this.yy.parser.parseError(Ie,ge);else throw new Error(Ie)},setInput:function(ke,Ie){return this.yy=Ie||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];this.yytext+=ke,this.yyleng++,this.offset++,this.match+=ke,this.matched+=ke;var Ie=ke.match(/(?:\r\n?|\n).*/g);return Ie?(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 Ie=ke.length,ge=ke.split(/(?:\r\n?|\n)/g);this._input=ke+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ie),this.offset-=Ie;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),ge.length-1&&(this.yylineno-=ge.length-1);var Ne=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:ge?(ge.length===Me.length?this.yylloc.first_column:0)+Me[Me.length-ge.length].length-ge[0].length:this.yylloc.first_column-Ie},this.options.ranges&&(this.yylloc.range=[Ne[0],Ne[0]+this.yyleng-Ie]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},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(),Ie=new Array(ke.length+1).join("-");return ke+this.upcomingInput()+`
`+Ie+"^"},test_match:function(ke,Ie){var ge,Me,Ne;if(this.options.backtrack_lexer&&(Ne={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&&(Ne.yylloc.range=this.yylloc.range.slice(0))),Me=ke[0].match(/(?:\r\n?|\n).*/g),Me&&(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],ge=this.performAction.call(this,this.yy,this,Ie,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ge)return ge;if(this._backtrack){for(var xe in Ne)this[xe]=Ne[xe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ke,Ie,ge,Me;this._more||(this.yytext="",this.match="");for(var Ne=this._currentRules(),xe=0;xe<Ne.length;xe++)if(ge=this._input.match(this.rules[Ne[xe]]),ge&&(!Ie||ge[0].length>Ie[0].length)){if(Ie=ge,Me=xe,this.options.backtrack_lexer){if(ke=this.test_match(ge,Ne[xe]),ke!==!1)return ke;if(this._backtrack){Ie=!1;continue}else return!1}else if(!this.options.flex)break}return Ie?(ke=this.test_match(Ie,Ne[Me]),ke!==!1?ke:!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(){var Ie=this.next();return Ie||this.lex()},begin:function(Ie){this.conditionStack.push(Ie)},popState:function(){var Ie=this.conditionStack.length-1;return Ie>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(Ie){return Ie=this.conditionStack.length-1-Math.abs(Ie||0),Ie>=0?this.conditionStack[Ie]:"INITIAL"},pushState:function(Ie){this.begin(Ie)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ie,ge,Me,Ne){switch(Me){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:break;case 6:break;case 7:return 26;case 8:break;case 9:break;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:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 20:this.popState();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}}};return Ve}();Se.lexer=Oe;function De(){this.yy={}}return De.prototype=Se,Se.Parser=De,new De}();swe.parser=swe;const mZt=swe,vZt=s=>s.match(/^\s*pie/)!==null||s.match(/^\s*bar/)!==null;let FJ={},awe=!1;const bZt={parseDirective:function(s,o,f){Sf.parseDirective(this,s,o,f)},getConfig:()=>Qt().pie,addSection:function(s,o){s=Oo.sanitizeText(s,Qt()),FJ[s]===void 0&&(FJ[s]=o,ne.debug("Added new section :",s))},getSections:()=>FJ,cleanupValue:function(s){return s.substring(0,1)===":"&&(s=s.substring(1).trim()),Number(s.trim())},clear:function(){FJ={},awe=!1,hv()},setAccTitle:fv,getAccTitle:qb,setDiagramTitle:A3,getDiagramTitle:M3,setShowData:function(s){awe=s},getShowData:function(){return awe},getAccDescription:Gb,setAccDescription:Ub};let yx=Qt(),_x;const Hj=450,wZt={draw:(s,o,f,m)=>{try{yx=Qt(),ne.debug(`Rendering info diagram
`+s);const we=Qt().securityLevel;let Se;we==="sandbox"&&(Se=Or("#i"+o));const Oe=Or(we==="sandbox"?Se.nodes()[0].contentDocument.body:"body"),De=we==="sandbox"?Se.nodes()[0].contentDocument:document;m.db.clear(),m.parser.parse(s),ne.debug("Parsed info diagram");const Ve=De.getElementById(o);_x=Ve.parentElement.offsetWidth,_x===void 0&&(_x=1200),yx.useWidth!==void 0&&(_x=yx.useWidth),yx.pie.useWidth!==void 0&&(_x=yx.pie.useWidth);const ke=Oe.select("#"+o);C3(ke,Hj,_x,yx.pie.useMaxWidth),Ve.setAttribute("viewBox","0 0 "+_x+" "+Hj);var y=40,k=18,v=4,A=Math.min(_x,Hj)/2-y,O=ke.append("g").attr("transform","translate("+_x/2+","+Hj/2+")"),j=m.db.getSections(),z=0;Object.keys(j).forEach(function(ge){z+=j[ge]});const Ie=yx.themeVariables;var V=[Ie.pie1,Ie.pie2,Ie.pie3,Ie.pie4,Ie.pie5,Ie.pie6,Ie.pie7,Ie.pie8,Ie.pie9,Ie.pie10,Ie.pie11,Ie.pie12],Y=JFe().range(V),G=Object.entries(j).map(function(ge,Me){return{order:Me,name:ge[0],value:ge[1]}}),J=cNt().value(function(ge){return ge.value}).sort(function(ge,Me){return ge.order-Me.order}),ce=J(G),me=KF().innerRadius(0).outerRadius(A);O.selectAll("mySlices").data(ce).enter().append("path").attr("d",me).attr("fill",function(ge){return Y(ge.data.name)}).attr("class","pieCircle"),O.selectAll("mySlices").data(ce).enter().append("text").text(function(ge){return(ge.data.value/z*100).toFixed(0)+"%"}).attr("transform",function(ge){return"translate("+me.centroid(ge)+")"}).style("text-anchor","middle").attr("class","slice"),O.append("text").text(m.db.getDiagramTitle()).attr("x",0).attr("y",-(Hj-50)/2).attr("class","pieTitleText");var _e=O.selectAll(".legend").data(Y.domain()).enter().append("g").attr("class","legend").attr("transform",function(ge,Me){const Ne=k+v,xe=Ne*Y.domain().length/2,qe=12*k,ae=Me*Ne-xe;return"translate("+qe+","+ae+")"});_e.append("rect").attr("width",k).attr("height",k).style("fill",Y).style("stroke",Y),_e.data(ce).append("text").attr("x",k+v).attr("y",k-v).text(function(ge){return m.db.getShowData()||yx.showData||yx.pie.showData?ge.data.name+" ["+ge.data.value+"]":ge.data.name})}catch(we){ne.error("Error while rendering info diagram"),ne.error(we)}}};var owe=function(){var s=function(ai,Ft,$t,Pt){for($t=$t||{},Pt=ai.length;Pt--;$t[ai[Pt]]=Ft);return $t},o=[1,3],f=[1,5],m=[1,6],y=[1,7],k=[1,8],v=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],A=[1,22],O=[2,13],j=[1,26],z=[1,27],V=[1,28],Y=[1,29],G=[1,30],J=[1,31],ce=[1,24],me=[1,32],_e=[1,33],we=[1,36],Se=[71,72],Oe=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],De=[1,56],Ve=[1,57],ke=[1,58],Ie=[1,59],ge=[1,60],Me=[1,61],Ne=[1,62],xe=[62,63],qe=[1,74],ae=[1,70],Qe=[1,71],Ce=[1,72],nt=[1,73],Ee=[1,75],kt=[1,79],Ot=[1,80],Vt=[1,77],Rt=[1,78],Gt=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],_n={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(Ft,$t,Pt,qt,et,ht,Ut){var it=ht.length-1;switch(et){case 6:this.$=ht[it].trim(),qt.setAccTitle(this.$);break;case 7:case 8:this.$=ht[it].trim(),qt.setAccDescription(this.$);break;case 9:qt.parseDirective("%%{","open_directive");break;case 10:qt.parseDirective(ht[it],"type_directive");break;case 11:ht[it]=ht[it].trim().replace(/'/g,'"'),qt.parseDirective(ht[it],"arg_directive");break;case 12:qt.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:qt.addRequirement(ht[it-3],ht[it-4]);break;case 20:qt.setNewReqId(ht[it-2]);break;case 21:qt.setNewReqText(ht[it-2]);break;case 22:qt.setNewReqRisk(ht[it-2]);break;case 23:qt.setNewReqVerifyMethod(ht[it-2]);break;case 26:this.$=qt.RequirementType.REQUIREMENT;break;case 27:this.$=qt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=qt.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=qt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=qt.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=qt.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=qt.RiskLevel.LOW_RISK;break;case 33:this.$=qt.RiskLevel.MED_RISK;break;case 34:this.$=qt.RiskLevel.HIGH_RISK;break;case 35:this.$=qt.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=qt.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=qt.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=qt.VerifyType.VERIFY_TEST;break;case 39:qt.addElement(ht[it-3]);break;case 40:qt.setNewElementType(ht[it-2]);break;case 41:qt.setNewElementDocRef(ht[it-2]);break;case 44:qt.addRelationship(ht[it-2],ht[it],ht[it-4]);break;case 45:qt.addRelationship(ht[it-2],ht[it-4],ht[it]);break;case 46:this.$=qt.Relationships.CONTAINS;break;case 47:this.$=qt.Relationships.COPIES;break;case 48:this.$=qt.Relationships.DERIVES;break;case 49:this.$=qt.Relationships.SATISFIES;break;case 50:this.$=qt.Relationships.VERIFIES;break;case 51:this.$=qt.Relationships.REFINES;break;case 52:this.$=qt.Relationships.TRACES;break}},table:[{3:1,4:2,6:o,9:4,14:f,16:m,18:y,19:k},{1:[3]},{3:10,4:2,5:[1,9],6:o,9:4,14:f,16:m,18:y,19:k},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},s(v,[2,8]),{20:[2,9]},{3:16,4:2,6:o,9:4,14:f,16:m,18:y,19:k},{1:[2,2]},{4:21,5:A,7:17,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{11:34,12:[1,35],22:we},s([12,22],[2,10]),s(v,[2,6]),s(v,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:A,7:38,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{4:21,5:A,7:39,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{4:21,5:A,7:40,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{4:21,5:A,7:41,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{4:21,5:A,7:42,8:O,9:4,14:f,16:m,18:y,19:k,23:18,24:19,25:20,26:23,32:25,40:j,41:z,42:V,43:Y,44:G,45:J,53:ce,71:me,72:_e},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},s(Se,[2,26]),s(Se,[2,27]),s(Se,[2,28]),s(Se,[2,29]),s(Se,[2,30]),s(Se,[2,31]),s(Oe,[2,55]),s(Oe,[2,56]),s(v,[2,4]),{13:51,21:[1,52]},s(v,[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:De,65:Ve,66:ke,67:Ie,68:ge,69:Me,70:Ne},{61:63,64:De,65:Ve,66:ke,67:Ie,68:ge,69:Me,70:Ne},{11:64,22:we},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},s(xe,[2,46]),s(xe,[2,47]),s(xe,[2,48]),s(xe,[2,49]),s(xe,[2,50]),s(xe,[2,51]),s(xe,[2,52]),{63:[1,68]},s(v,[2,5]),{5:qe,29:69,30:ae,33:Qe,35:Ce,37:nt,39:Ee},{5:kt,39:Ot,55:76,56:Vt,58:Rt},{32:81,71:me,72:_e},{32:82,71:me,72:_e},s(Gt,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:qe,29:87,30:ae,33:Qe,35:Ce,37:nt,39:Ee},s(Gt,[2,25]),s(Gt,[2,39]),{31:[1,88]},{31:[1,89]},{5:kt,39:Ot,55:90,56:Vt,58:Rt},s(Gt,[2,43]),s(Gt,[2,44]),s(Gt,[2,45]),{32:91,71:me,72:_e},{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]},s(Gt,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},s(Gt,[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:qe,29:116,30:ae,33:Qe,35:Ce,37:nt,39:Ee},{5:qe,29:117,30:ae,33:Qe,35:Ce,37:nt,39:Ee},{5:qe,29:118,30:ae,33:Qe,35:Ce,37:nt,39:Ee},{5:qe,29:119,30:ae,33:Qe,35:Ce,37:nt,39:Ee},{5:kt,39:Ot,55:120,56:Vt,58:Rt},{5:kt,39:Ot,55:121,56:Vt,58:Rt},s(Gt,[2,20]),s(Gt,[2,21]),s(Gt,[2,22]),s(Gt,[2,23]),s(Gt,[2,40]),s(Gt,[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(Ft,$t){if($t.recoverable)this.trace(Ft);else{var Pt=new Error(Ft);throw Pt.hash=$t,Pt}},parse:function(Ft){var $t=this,Pt=[0],qt=[],et=[null],ht=[],Ut=this.table,it="",Zn=0,Ge=0,ws=2,xn=1,Zi=ht.slice.call(arguments,1),gi=Object.create(this.lexer),Cr={yy:{}};for(var yr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yr)&&(Cr.yy[yr]=this.yy[yr]);gi.setInput(Ft,Cr.yy),Cr.yy.lexer=gi,Cr.yy.parser=this,typeof gi.yylloc>"u"&&(gi.yylloc={});var Sr=gi.yylloc;ht.push(Sr);var or=gi.options&&gi.options.ranges;typeof Cr.yy.parseError=="function"?this.parseError=Cr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ar(){var Wr;return Wr=qt.pop()||gi.lex()||xn,typeof Wr!="number"&&(Wr instanceof Array&&(qt=Wr,Wr=qt.pop()),Wr=$t.symbols_[Wr]||Wr),Wr}for(var bo,wo,ra,Ys,yo={},Jl,co,Zs,Cs;;){if(wo=Pt[Pt.length-1],this.defaultActions[wo]?ra=this.defaultActions[wo]:((bo===null||typeof bo>"u")&&(bo=Ar()),ra=Ut[wo]&&Ut[wo][bo]),typeof ra>"u"||!ra.length||!ra[0]){var Gr="";Cs=[];for(Jl in Ut[wo])this.terminals_[Jl]&&Jl>ws&&Cs.push("'"+this.terminals_[Jl]+"'");gi.showPosition?Gr="Parse error on line "+(Zn+1)+`:
`+gi.showPosition()+`
Expecting `+Cs.join(", ")+", got '"+(this.terminals_[bo]||bo)+"'":Gr="Parse error on line "+(Zn+1)+": Unexpected "+(bo==xn?"end of input":"'"+(this.terminals_[bo]||bo)+"'"),this.parseError(Gr,{text:gi.match,token:this.terminals_[bo]||bo,line:gi.yylineno,loc:Sr,expected:Cs})}if(ra[0]instanceof Array&&ra.length>1)throw new Error("Parse Error: multiple actions possible at state: "+wo+", token: "+bo);switch(ra[0]){case 1:Pt.push(bo),et.push(gi.yytext),ht.push(gi.yylloc),Pt.push(ra[1]),bo=null,Ge=gi.yyleng,it=gi.yytext,Zn=gi.yylineno,Sr=gi.yylloc;break;case 2:if(co=this.productions_[ra[1]][1],yo.$=et[et.length-co],yo._$={first_line:ht[ht.length-(co||1)].first_line,last_line:ht[ht.length-1].last_line,first_column:ht[ht.length-(co||1)].first_column,last_column:ht[ht.length-1].last_column},or&&(yo._$.range=[ht[ht.length-(co||1)].range[0],ht[ht.length-1].range[1]]),Ys=this.performAction.apply(yo,[it,Ge,Zn,Cr.yy,ra[1],et,ht].concat(Zi)),typeof Ys<"u")return Ys;co&&(Pt=Pt.slice(0,-1*co*2),et=et.slice(0,-1*co),ht=ht.slice(0,-1*co)),Pt.push(this.productions_[ra[1]][0]),et.push(yo.$),ht.push(yo._$),Zs=Ut[Pt[Pt.length-2]][Pt[Pt.length-1]],Pt.push(Zs);break;case 3:return!0}}return!0}},On=function(){var ai={EOF:1,parseError:function($t,Pt){if(this.yy.parser)this.yy.parser.parseError($t,Pt);else throw new Error($t)},setInput:function(Ft,$t){return this.yy=$t||this.yy||{},this._input=Ft,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 Ft=this._input[0];this.yytext+=Ft,this.yyleng++,this.offset++,this.match+=Ft,this.matched+=Ft;var $t=Ft.match(/(?:\r\n?|\n).*/g);return $t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ft},unput:function(Ft){var $t=Ft.length,Pt=Ft.split(/(?:\r\n?|\n)/g);this._input=Ft+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-$t),this.offset-=$t;var qt=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),Pt.length-1&&(this.yylineno-=Pt.length-1);var et=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:Pt?(Pt.length===qt.length?this.yylloc.first_column:0)+qt[qt.length-Pt.length].length-Pt[0].length:this.yylloc.first_column-$t},this.options.ranges&&(this.yylloc.range=[et[0],et[0]+this.yyleng-$t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(Ft){this.unput(this.match.slice(Ft))},pastInput:function(){var Ft=this.matched.substr(0,this.matched.length-this.match.length);return(Ft.length>20?"...":"")+Ft.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ft=this.match;return Ft.length<20&&(Ft+=this._input.substr(0,20-Ft.length)),(Ft.substr(0,20)+(Ft.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ft=this.pastInput(),$t=new Array(Ft.length+1).join("-");return Ft+this.upcomingInput()+`
`+$t+"^"},test_match:function(Ft,$t){var Pt,qt,et;if(this.options.backtrack_lexer&&(et={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&&(et.yylloc.range=this.yylloc.range.slice(0))),qt=Ft[0].match(/(?:\r\n?|\n).*/g),qt&&(this.yylineno+=qt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:qt?qt[qt.length-1].length-qt[qt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ft[0].length},this.yytext+=Ft[0],this.match+=Ft[0],this.matches=Ft,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(Ft[0].length),this.matched+=Ft[0],Pt=this.performAction.call(this,this.yy,this,$t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Pt)return Pt;if(this._backtrack){for(var ht in et)this[ht]=et[ht];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ft,$t,Pt,qt;this._more||(this.yytext="",this.match="");for(var et=this._currentRules(),ht=0;ht<et.length;ht++)if(Pt=this._input.match(this.rules[et[ht]]),Pt&&(!$t||Pt[0].length>$t[0].length)){if($t=Pt,qt=ht,this.options.backtrack_lexer){if(Ft=this.test_match(Pt,et[ht]),Ft!==!1)return Ft;if(this._backtrack){$t=!1;continue}else return!1}else if(!this.options.flex)break}return $t?(Ft=this.test_match($t,et[qt]),Ft!==!1?Ft:!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(){var $t=this.next();return $t||this.lex()},begin:function($t){this.conditionStack.push($t)},popState:function(){var $t=this.conditionStack.length-1;return $t>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($t){return $t=this.conditionStack.length-1-Math.abs($t||0),$t>=0?this.conditionStack[$t]:"INITIAL"},pushState:function($t){this.begin($t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function($t,Pt,qt,et){switch(qt){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:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:break;case 15:break;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 53:this.popState();break;case 54:return"qString";case 55:return Pt.yytext=Pt.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}}};return ai}();_n.lexer=On;function Dt(){this.yy={}}return Dt.prototype=_n,_n.Parser=Dt,new Dt}();owe.parser=owe;const yZt=owe,_Zt=s=>s.match(/^\s*requirement(Diagram)?/)!==null;let cwe=[],pv={},zj={},f7={},Vj={};const xZt={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(s,o,f){Sf.parseDirective(this,s,o,f)},getConfig:()=>Qt().req,addRequirement:(s,o)=>(zj[s]===void 0&&(zj[s]={name:s,type:o,id:pv.id,text:pv.text,risk:pv.risk,verifyMethod:pv.verifyMethod}),pv={},zj[s]),getRequirements:()=>zj,setNewReqId:s=>{pv!==void 0&&(pv.id=s)},setNewReqText:s=>{pv!==void 0&&(pv.text=s)},setNewReqRisk:s=>{pv!==void 0&&(pv.risk=s)},setNewReqVerifyMethod:s=>{pv!==void 0&&(pv.verifyMethod=s)},setAccTitle:fv,getAccTitle:qb,setAccDescription:Ub,getAccDescription:Gb,addElement:s=>(Vj[s]===void 0&&(Vj[s]={name:s,type:f7.type,docRef:f7.docRef},ne.info("Added new requirement: ",s)),f7={},Vj[s]),getElements:()=>Vj,setNewElementType:s=>{f7!==void 0&&(f7.type=s)},setNewElementDocRef:s=>{f7!==void 0&&(f7.docRef=s)},addRelationship:(s,o,f)=>{cwe.push({type:s,src:o,dst:f})},getRelationships:()=>cwe,clear:()=>{cwe=[],pv={},zj={},f7={},Vj={},hv()}},lwe={CONTAINS:"contains",ARROW:"arrow"},gUe={ReqMarkers:lwe,insertLineEndings:(s,o)=>{let f=s.append("defs").append("marker").attr("id",lwe.CONTAINS+"_line_ending").attr("refX",0).attr("refY",o.line_height/2).attr("markerWidth",o.line_height).attr("markerHeight",o.line_height).attr("orient","auto").append("g");f.append("circle").attr("cx",o.line_height/2).attr("cy",o.line_height/2).attr("r",o.line_height/2).attr("fill","none"),f.append("line").attr("x1",0).attr("x2",o.line_height).attr("y1",o.line_height/2).attr("y2",o.line_height/2).attr("stroke-width",1),f.append("line").attr("y1",0).attr("y2",o.line_height).attr("x1",o.line_height/2).attr("x2",o.line_height/2).attr("stroke-width",1),s.append("defs").append("marker").attr("id",lwe.ARROW+"_line_ending").attr("refX",o.line_height).attr("refY",.5*o.line_height).attr("markerWidth",o.line_height).attr("markerHeight",o.line_height).attr("orient","auto").append("path").attr("d",`M0,0
L${o.line_height},${o.line_height/2}
M${o.line_height},${o.line_height/2}
L0,${o.line_height}`).attr("stroke-width",1)}};let yd={},pUe=0;const mUe=(s,o)=>s.insert("rect","#"+o).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",yd.rect_min_width+"px").attr("height",yd.rect_min_height+"px"),vUe=(s,o,f)=>{let m=yd.rect_min_width/2,y=s.append("text").attr("class","req reqLabel reqTitle").attr("id",o).attr("x",m).attr("y",yd.rect_padding).attr("dominant-baseline","hanging"),k=0;f.forEach(j=>{k==0?y.append("tspan").attr("text-anchor","middle").attr("x",yd.rect_min_width/2).attr("dy",0).text(j):y.append("tspan").attr("text-anchor","middle").attr("x",yd.rect_min_width/2).attr("dy",yd.line_height*.75).text(j),k++});let v=1.5*yd.rect_padding,A=k*yd.line_height*.75,O=v+A;return s.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",yd.rect_min_width).attr("y1",O).attr("y2",O),{titleNode:y,y:O}},bUe=(s,o,f,m)=>{let y=s.append("text").attr("class","req reqLabel").attr("id",o).attr("x",yd.rect_padding).attr("y",m).attr("dominant-baseline","hanging"),k=0;const v=30;let A=[];return f.forEach(O=>{let j=O.length;for(;j>v&&k<3;){let z=O.substring(0,v);O=O.substring(v,O.length),j=O.length,A[A.length]=z,k++}if(k==3){let z=A[A.length-1];A[A.length-1]=z.substring(0,z.length-4)+"..."}else A[A.length]=O;k=0}),A.forEach(O=>{y.append("tspan").attr("x",yd.rect_padding).attr("dy",yd.line_height).text(O)}),y},kZt=(s,o,f,m)=>{const y=o.node().getTotalLength(),k=o.node().getPointAtLength(y*.5),v="rel"+pUe;pUe++;const O=s.append("text").attr("class","req relationshipLabel").attr("id",v).attr("x",k.x).attr("y",k.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(m).node().getBBox();s.insert("rect","#"+v).attr("class","req reqLabelBox").attr("x",k.x-O.width/2).attr("y",k.y-O.height/2).attr("width",O.width).attr("height",O.height).attr("fill","white").attr("fill-opacity","85%")},EZt=function(s,o,f,m,y){const k=f.edge(XO(o.src),XO(o.dst)),v=bS().x(function(O){return O.x}).y(function(O){return O.y}),A=s.insert("path","#"+m).attr("class","er relationshipLine").attr("d",v(k.points)).attr("fill","none");o.type==y.db.Relationships.CONTAINS?A.attr("marker-start","url("+Oo.getUrl(yd.arrowMarkerAbsolute)+"#"+o.type+"_line_ending)"):(A.attr("stroke-dasharray","10,7"),A.attr("marker-end","url("+Oo.getUrl(yd.arrowMarkerAbsolute)+"#"+gUe.ReqMarkers.ARROW+"_line_ending)")),kZt(s,A,yd,`<<${o.type}>>`)},TZt=(s,o,f)=>{Object.keys(s).forEach(m=>{let y=s[m];m=XO(m),ne.info("Added new requirement: ",m);const k=f.append("g").attr("id",m),v="req-"+m,A=mUe(k,v);let O=vUe(k,m+"_title",[`<<${y.type}>>`,`${y.name}`]);bUe(k,m+"_body",[`Id: ${y.id}`,`Text: ${y.text}`,`Risk: ${y.risk}`,`Verification: ${y.verifyMethod}`],O.y);const j=A.node().getBBox();o.setNode(m,{width:j.width,height:j.height,shape:"rect",id:m})})},SZt=(s,o,f)=>{Object.keys(s).forEach(m=>{let y=s[m];const k=XO(m),v=f.append("g").attr("id",k),A="element-"+k,O=mUe(v,A);let j=vUe(v,A+"_title",["<<Element>>",`${m}`]);bUe(v,A+"_body",[`Type: ${y.type||"Not Specified"}`,`Doc Ref: ${y.docRef||"None"}`],j.y);const z=O.node().getBBox();o.setNode(k,{width:z.width,height:z.height,shape:"rect",id:k})})},CZt=(s,o)=>(s.forEach(function(f){let m=XO(f.src),y=XO(f.dst);o.setEdge(m,y,{relationship:f})}),s),AZt=function(s,o){o.nodes().forEach(function(f){f!==void 0&&o.node(f)!==void 0&&(s.select("#"+f),s.select("#"+f).attr("transform","translate("+(o.node(f).x-o.node(f).width/2)+","+(o.node(f).y-o.node(f).height/2)+" )"))})},XO=s=>s.replace(/\s/g,"").replace(/\./g,"_"),MZt={draw:(s,o,f,m)=>{yd=Qt().requirement,m.db.clear(),m.parser.parse(s);const y=yd.securityLevel;let k;y==="sandbox"&&(k=Or("#i"+o));const A=Or(y==="sandbox"?k.nodes()[0].contentDocument.body:"body").select(`[id='${o}']`);gUe.insertLineEndings(A,yd);const O=new P1({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:yd.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let j=m.db.getRequirements(),z=m.db.getElements(),V=m.db.getRelationships();TZt(j,O,A),SZt(z,O,A),CZt(V,O),qO(O),AZt(A,O),V.forEach(function(me){EZt(A,me,O,o,m)});const Y=yd.rect_padding,G=A.node().getBBox(),J=G.width+Y*2,ce=G.height+Y*2;C3(A,ce,J,yd.useMaxWidth),A.attr("viewBox",`${G.x-Y} ${G.y-Y} ${J} ${ce}`)}};var uwe=function(){var s=function($t,Pt,qt,et){for(qt=qt||{},et=$t.length;et--;qt[$t[et]]=Pt);return qt},o=[1,2],f=[1,3],m=[1,5],y=[1,7],k=[2,5],v=[1,15],A=[1,17],O=[1,19],j=[1,21],z=[1,22],V=[1,23],Y=[1,29],G=[1,30],J=[1,31],ce=[1,32],me=[1,33],_e=[1,34],we=[1,35],Se=[1,36],Oe=[1,37],De=[1,38],Ve=[1,39],ke=[1,40],Ie=[1,42],ge=[1,43],Me=[1,45],Ne=[1,46],xe=[1,47],qe=[1,48],ae=[1,49],Qe=[1,50],Ce=[1,53],nt=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Ee=[4,5,21,54,56],kt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],Ot=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],Vt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],Rt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],Gt=[71,72,73],_n=[1,125],On=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Dt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[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],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(Pt,qt,et,ht,Ut,it,Zn){var Ge=it.length-1;switch(Ut){case 4:return ht.apply(it[Ge]),it[Ge];case 5:case 10:this.$=[];break;case 6:case 11:it[Ge-1].push(it[Ge]),this.$=it[Ge-1];break;case 7:case 8:case 12:case 13:this.$=it[Ge];break;case 9:case 14:this.$=[];break;case 18:it[Ge-1].unshift({type:"boxStart",boxData:ht.parseBoxData(it[Ge-2])}),it[Ge-1].push({type:"boxEnd",boxText:it[Ge-2]}),this.$=it[Ge-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(it[Ge-2]),sequenceIndexStep:Number(it[Ge-1]),sequenceVisible:!0,signalType:ht.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(it[Ge-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:ht.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:ht.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:ht.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:ht.LINETYPE.ACTIVE_START,actor:it[Ge-1]};break;case 25:this.$={type:"activeEnd",signalType:ht.LINETYPE.ACTIVE_END,actor:it[Ge-1]};break;case 31:ht.setDiagramTitle(it[Ge].substring(6)),this.$=it[Ge].substring(6);break;case 32:ht.setDiagramTitle(it[Ge].substring(7)),this.$=it[Ge].substring(7);break;case 33:this.$=it[Ge].trim(),ht.setAccTitle(this.$);break;case 34:case 35:this.$=it[Ge].trim(),ht.setAccDescription(this.$);break;case 36:it[Ge-1].unshift({type:"loopStart",loopText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.LOOP_START}),it[Ge-1].push({type:"loopEnd",loopText:it[Ge-2],signalType:ht.LINETYPE.LOOP_END}),this.$=it[Ge-1];break;case 37:it[Ge-1].unshift({type:"rectStart",color:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.RECT_START}),it[Ge-1].push({type:"rectEnd",color:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.RECT_END}),this.$=it[Ge-1];break;case 38:it[Ge-1].unshift({type:"optStart",optText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.OPT_START}),it[Ge-1].push({type:"optEnd",optText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.OPT_END}),this.$=it[Ge-1];break;case 39:it[Ge-1].unshift({type:"altStart",altText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.ALT_START}),it[Ge-1].push({type:"altEnd",signalType:ht.LINETYPE.ALT_END}),this.$=it[Ge-1];break;case 40:it[Ge-1].unshift({type:"parStart",parText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.PAR_START}),it[Ge-1].push({type:"parEnd",signalType:ht.LINETYPE.PAR_END}),this.$=it[Ge-1];break;case 41:it[Ge-1].unshift({type:"criticalStart",criticalText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.CRITICAL_START}),it[Ge-1].push({type:"criticalEnd",signalType:ht.LINETYPE.CRITICAL_END}),this.$=it[Ge-1];break;case 42:it[Ge-1].unshift({type:"breakStart",breakText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.BREAK_START}),it[Ge-1].push({type:"breakEnd",optText:ht.parseMessage(it[Ge-2]),signalType:ht.LINETYPE.BREAK_END}),this.$=it[Ge-1];break;case 45:this.$=it[Ge-3].concat([{type:"option",optionText:ht.parseMessage(it[Ge-1]),signalType:ht.LINETYPE.CRITICAL_OPTION},it[Ge]]);break;case 47:this.$=it[Ge-3].concat([{type:"and",parText:ht.parseMessage(it[Ge-1]),signalType:ht.LINETYPE.PAR_AND},it[Ge]]);break;case 49:this.$=it[Ge-3].concat([{type:"else",altText:ht.parseMessage(it[Ge-1]),signalType:ht.LINETYPE.ALT_ELSE},it[Ge]]);break;case 50:it[Ge-3].type="addParticipant",it[Ge-3].description=ht.parseMessage(it[Ge-1]),this.$=it[Ge-3];break;case 51:it[Ge-1].type="addParticipant",this.$=it[Ge-1];break;case 52:it[Ge-3].type="addActor",it[Ge-3].description=ht.parseMessage(it[Ge-1]),this.$=it[Ge-3];break;case 53:it[Ge-1].type="addActor",this.$=it[Ge-1];break;case 54:this.$=[it[Ge-1],{type:"addNote",placement:it[Ge-2],actor:it[Ge-1].actor,text:it[Ge]}];break;case 55:it[Ge-2]=[].concat(it[Ge-1],it[Ge-1]).slice(0,2),it[Ge-2][0]=it[Ge-2][0].actor,it[Ge-2][1]=it[Ge-2][1].actor,this.$=[it[Ge-1],{type:"addNote",placement:ht.PLACEMENT.OVER,actor:it[Ge-2].slice(0,2),text:it[Ge]}];break;case 56:this.$=[it[Ge-1],{type:"addLinks",actor:it[Ge-1].actor,text:it[Ge]}];break;case 57:this.$=[it[Ge-1],{type:"addALink",actor:it[Ge-1].actor,text:it[Ge]}];break;case 58:this.$=[it[Ge-1],{type:"addProperties",actor:it[Ge-1].actor,text:it[Ge]}];break;case 59:this.$=[it[Ge-1],{type:"addDetails",actor:it[Ge-1].actor,text:it[Ge]}];break;case 62:this.$=[it[Ge-2],it[Ge]];break;case 63:this.$=it[Ge];break;case 64:this.$=ht.PLACEMENT.LEFTOF;break;case 65:this.$=ht.PLACEMENT.RIGHTOF;break;case 66:this.$=[it[Ge-4],it[Ge-1],{type:"addMessage",from:it[Ge-4].actor,to:it[Ge-1].actor,signalType:it[Ge-3],msg:it[Ge]},{type:"activeStart",signalType:ht.LINETYPE.ACTIVE_START,actor:it[Ge-1]}];break;case 67:this.$=[it[Ge-4],it[Ge-1],{type:"addMessage",from:it[Ge-4].actor,to:it[Ge-1].actor,signalType:it[Ge-3],msg:it[Ge]},{type:"activeEnd",signalType:ht.LINETYPE.ACTIVE_END,actor:it[Ge-4]}];break;case 68:this.$=[it[Ge-3],it[Ge-1],{type:"addMessage",from:it[Ge-3].actor,to:it[Ge-1].actor,signalType:it[Ge-2],msg:it[Ge]}];break;case 69:this.$={type:"addParticipant",actor:it[Ge]};break;case 70:this.$=ht.LINETYPE.SOLID_OPEN;break;case 71:this.$=ht.LINETYPE.DOTTED_OPEN;break;case 72:this.$=ht.LINETYPE.SOLID;break;case 73:this.$=ht.LINETYPE.DOTTED;break;case 74:this.$=ht.LINETYPE.SOLID_CROSS;break;case 75:this.$=ht.LINETYPE.DOTTED_CROSS;break;case 76:this.$=ht.LINETYPE.SOLID_POINT;break;case 77:this.$=ht.LINETYPE.DOTTED_POINT;break;case 78:this.$=ht.parseMessage(it[Ge].trim().substring(1));break;case 79:ht.parseDirective("%%{","open_directive");break;case 80:ht.parseDirective(it[Ge],"type_directive");break;case 81:it[Ge]=it[Ge].trim().replace(/'/g,'"'),ht.parseDirective(it[Ge],"arg_directive");break;case 82:ht.parseDirective("}%%","close_directive","sequence");break}},table:[{3:1,4:o,5:f,6:4,7:m,14:6,83:y},{1:[3]},{3:8,4:o,5:f,6:4,7:m,14:6,83:y},{3:9,4:o,5:f,6:4,7:m,14:6,83:y},{3:10,4:o,5:f,6:4,7:m,14:6,83:y},s([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],k,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{16:51,17:[1,52],86:Ce},s([17,86],[2,80]),s(nt,[2,6]),{6:41,10:54,13:18,14:6,19:O,22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},s(nt,[2,8]),s(nt,[2,9]),s(nt,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:Qe},{27:61,73:Qe},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},s(nt,[2,31]),s(nt,[2,32]),{37:[1,67]},{39:[1,68]},s(nt,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},s(nt,[2,43]),{27:76,73:Qe},{27:77,73:Qe},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:Qe},{27:92,73:Qe},{27:93,73:Qe},{27:94,73:Qe},s([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},s(nt,[2,7]),s(Ee,[2,10],{11:98}),s(nt,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},s(nt,[2,23]),{5:[1,102]},{5:[1,103]},s(nt,[2,26]),s(nt,[2,27]),s(nt,[2,28]),s(nt,[2,29]),s(nt,[2,30]),s(nt,[2,33]),s(nt,[2,34]),s(kt,k,{8:104}),s(kt,k,{8:105}),s(kt,k,{8:106}),s(Ot,k,{45:107,8:108}),s(Vt,k,{47:109,8:110}),s(Rt,k,{49:111,8:112}),s(kt,k,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:Qe},s(Gt,[2,70]),s(Gt,[2,71]),s(Gt,[2,72]),s(Gt,[2,73]),s(Gt,[2,74]),s(Gt,[2,75]),s(Gt,[2,76]),s(Gt,[2,77]),{27:121,73:Qe},{27:123,61:122,73:Qe},{73:[2,64]},{73:[2,65]},{59:124,82:_n},{59:126,82:_n},{59:127,82:_n},{59:128,82:_n},s(On,[2,15]),{16:129,86:Ce},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:Ie,56:ge},{5:[1,135]},s(nt,[2,21]),s(nt,[2,22]),s(nt,[2,24]),s(nt,[2,25]),{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[1,136],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[1,137],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[1,138],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{21:[1,139]},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[2,48],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,53:[1,140],54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{21:[1,141]},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[2,46],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,52:[1,142],54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{21:[1,143]},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[2,44],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,51:[1,144],54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{4:v,5:A,6:41,9:14,10:16,13:18,14:6,19:O,21:[1,145],22:20,23:j,26:z,27:44,28:V,29:24,30:25,31:26,32:27,33:28,34:Y,35:G,36:J,38:ce,40:me,41:_e,42:we,43:Se,44:Oe,46:De,48:Ve,50:ke,54:Ie,56:ge,57:Me,62:Ne,63:xe,64:qe,65:ae,73:Qe,83:y},{20:[1,146]},s(nt,[2,51]),{20:[1,147]},s(nt,[2,53]),{27:148,73:Qe},{27:149,73:Qe},{59:150,82:_n},{59:151,82:_n},{59:152,82:_n},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},s(nt,[2,18]),s(Ee,[2,11]),{13:155,54:Ie,56:ge},s(Ee,[2,13]),s(Ee,[2,14]),s(nt,[2,20]),s(nt,[2,36]),s(nt,[2,37]),s(nt,[2,38]),s(nt,[2,39]),{20:[1,156]},s(nt,[2,40]),{20:[1,157]},s(nt,[2,41]),{20:[1,158]},s(nt,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:_n},{59:162,82:_n},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:Qe},s(On,[2,16]),s(Ee,[2,12]),s(Ot,k,{8:108,45:164}),s(Vt,k,{8:110,47:165}),s(Rt,k,{8:112,49:166}),s(nt,[2,50]),s(nt,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(Pt,qt){if(qt.recoverable)this.trace(Pt);else{var et=new Error(Pt);throw et.hash=qt,et}},parse:function(Pt){var qt=this,et=[0],ht=[],Ut=[null],it=[],Zn=this.table,Ge="",ws=0,xn=0,Zi=2,gi=1,Cr=it.slice.call(arguments,1),yr=Object.create(this.lexer),Sr={yy:{}};for(var or in this.yy)Object.prototype.hasOwnProperty.call(this.yy,or)&&(Sr.yy[or]=this.yy[or]);yr.setInput(Pt,Sr.yy),Sr.yy.lexer=yr,Sr.yy.parser=this,typeof yr.yylloc>"u"&&(yr.yylloc={});var Ar=yr.yylloc;it.push(Ar);var bo=yr.options&&yr.options.ranges;typeof Sr.yy.parseError=="function"?this.parseError=Sr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function wo(){var _r;return _r=ht.pop()||yr.lex()||gi,typeof _r!="number"&&(_r instanceof Array&&(ht=_r,_r=ht.pop()),_r=qt.symbols_[_r]||_r),_r}for(var ra,Ys,yo,Jl,co={},Zs,Cs,Gr,Wr;;){if(Ys=et[et.length-1],this.defaultActions[Ys]?yo=this.defaultActions[Ys]:((ra===null||typeof ra>"u")&&(ra=wo()),yo=Zn[Ys]&&Zn[Ys][ra]),typeof yo>"u"||!yo.length||!yo[0]){var Bi="";Wr=[];for(Zs in Zn[Ys])this.terminals_[Zs]&&Zs>Zi&&Wr.push("'"+this.terminals_[Zs]+"'");yr.showPosition?Bi="Parse error on line "+(ws+1)+`:
`+yr.showPosition()+`
Expecting `+Wr.join(", ")+", got '"+(this.terminals_[ra]||ra)+"'":Bi="Parse error on line "+(ws+1)+": Unexpected "+(ra==gi?"end of input":"'"+(this.terminals_[ra]||ra)+"'"),this.parseError(Bi,{text:yr.match,token:this.terminals_[ra]||ra,line:yr.yylineno,loc:Ar,expected:Wr})}if(yo[0]instanceof Array&&yo.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ys+", token: "+ra);switch(yo[0]){case 1:et.push(ra),Ut.push(yr.yytext),it.push(yr.yylloc),et.push(yo[1]),ra=null,xn=yr.yyleng,Ge=yr.yytext,ws=yr.yylineno,Ar=yr.yylloc;break;case 2:if(Cs=this.productions_[yo[1]][1],co.$=Ut[Ut.length-Cs],co._$={first_line:it[it.length-(Cs||1)].first_line,last_line:it[it.length-1].last_line,first_column:it[it.length-(Cs||1)].first_column,last_column:it[it.length-1].last_column},bo&&(co._$.range=[it[it.length-(Cs||1)].range[0],it[it.length-1].range[1]]),Jl=this.performAction.apply(co,[Ge,xn,ws,Sr.yy,yo[1],Ut,it].concat(Cr)),typeof Jl<"u")return Jl;Cs&&(et=et.slice(0,-1*Cs*2),Ut=Ut.slice(0,-1*Cs),it=it.slice(0,-1*Cs)),et.push(this.productions_[yo[1]][0]),Ut.push(co.$),it.push(co._$),Gr=Zn[et[et.length-2]][et[et.length-1]],et.push(Gr);break;case 3:return!0}}return!0}},ai=function(){var $t={EOF:1,parseError:function(qt,et){if(this.yy.parser)this.yy.parser.parseError(qt,et);else throw new Error(qt)},setInput:function(Pt,qt){return this.yy=qt||this.yy||{},this._input=Pt,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 Pt=this._input[0];this.yytext+=Pt,this.yyleng++,this.offset++,this.match+=Pt,this.matched+=Pt;var qt=Pt.match(/(?:\r\n?|\n).*/g);return qt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Pt},unput:function(Pt){var qt=Pt.length,et=Pt.split(/(?:\r\n?|\n)/g);this._input=Pt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-qt),this.offset-=qt;var ht=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 Ut=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===ht.length?this.yylloc.first_column:0)+ht[ht.length-et.length].length-et[0].length:this.yylloc.first_column-qt},this.options.ranges&&(this.yylloc.range=[Ut[0],Ut[0]+this.yyleng-qt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(Pt){this.unput(this.match.slice(Pt))},pastInput:function(){var Pt=this.matched.substr(0,this.matched.length-this.match.length);return(Pt.length>20?"...":"")+Pt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Pt=this.match;return Pt.length<20&&(Pt+=this._input.substr(0,20-Pt.length)),(Pt.substr(0,20)+(Pt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Pt=this.pastInput(),qt=new Array(Pt.length+1).join("-");return Pt+this.upcomingInput()+`
`+qt+"^"},test_match:function(Pt,qt){var et,ht,Ut;if(this.options.backtrack_lexer&&(Ut={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&&(Ut.yylloc.range=this.yylloc.range.slice(0))),ht=Pt[0].match(/(?:\r\n?|\n).*/g),ht&&(this.yylineno+=ht.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ht?ht[ht.length-1].length-ht[ht.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Pt[0].length},this.yytext+=Pt[0],this.match+=Pt[0],this.matches=Pt,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(Pt[0].length),this.matched+=Pt[0],et=this.performAction.call(this,this.yy,this,qt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),et)return et;if(this._backtrack){for(var it in Ut)this[it]=Ut[it];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Pt,qt,et,ht;this._more||(this.yytext="",this.match="");for(var Ut=this._currentRules(),it=0;it<Ut.length;it++)if(et=this._input.match(this.rules[Ut[it]]),et&&(!qt||et[0].length>qt[0].length)){if(qt=et,ht=it,this.options.backtrack_lexer){if(Pt=this.test_match(et,Ut[it]),Pt!==!1)return Pt;if(this._backtrack){qt=!1;continue}else return!1}else if(!this.options.flex)break}return qt?(Pt=this.test_match(qt,Ut[ht]),Pt!==!1?Pt:!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(){var qt=this.next();return qt||this.lex()},begin:function(qt){this.conditionStack.push(qt)},popState:function(){var qt=this.conditionStack.length-1;return qt>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(qt){return qt=this.conditionStack.length-1-Math.abs(qt||0),qt>=0?this.conditionStack[qt]:"INITIAL"},pushState:function(qt){this.begin(qt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(qt,et,ht,Ut){switch(ht){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:return 5;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return et.yytext=et.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;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"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 53:return 5;case 54:return et.yytext=et.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 66:return 5;case 67: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,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\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:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],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,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};return $t}();Dt.lexer=ai;function Ft(){this.yy={}}return Ft.prototype=Dt,Dt.Parser=Ft,new Ft}();uwe.parser=uwe;const LZt=uwe,IZt=s=>s.match(/^\s*sequenceDiagram/)!==null;let qj,d7={},QO=[],R3=[],jJ=!1,hwe,xx;const OZt=function(s,o,f){Sf.parseDirective(this,s,o,f)},DZt=function(s){QO.push({name:s.text,wrap:s.wrap===void 0&&$S()||!!s.wrap,fill:s.color,actorKeys:[]}),xx=QO.slice(-1)[0]},fwe=function(s,o,f,m){let y=xx;const k=d7[s];if(k){if(xx&&k.box&&xx!==k.box)throw new Error("A same participant should only be defined in one Box: "+k.name+" can't be in '"+k.box.name+"' and in '"+xx.name+"' at the same time.");if(y=k.box?k.box:xx,k.box=y,k&&o===k.name&&f==null)return}(f==null||f.text==null)&&(f={text:o,wrap:null,type:m}),(m==null||f.text==null)&&(f={text:o,wrap:null,type:m}),d7[s]={box:y,name:o,description:f.text,wrap:f.wrap===void 0&&$S()||!!f.wrap,prevActor:qj,links:{},properties:{},actorCnt:null,rectData:null,type:m||"participant"},qj&&d7[qj]&&(d7[qj].nextActor=s),xx&&xx.actorKeys.push(s),qj=s},PZt=s=>{let o,f=0;for(o=0;o<R3.length;o++)R3[o].type===Gj.ACTIVE_START&&R3[o].from.actor===s&&f++,R3[o].type===Gj.ACTIVE_END&&R3[o].from.actor===s&&f--;return f},NZt=function(s,o,f,m){R3.push({from:s,to:o,message:f.text,wrap:f.wrap===void 0&&$S()||!!f.wrap,answer:m})},n1=function(s,o,f={text:void 0,wrap:void 0},m){if(m===Gj.ACTIVE_END&&PZt(s.actor)<1){let k=new Error("Trying to inactivate an inactive participant ("+s.actor+")");throw k.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},k}return R3.push({from:s,to:o,message:f.text,wrap:f.wrap===void 0&&$S()||!!f.wrap,type:m}),!0},RZt=function(){return QO.length>0},BZt=function(){return QO.some(s=>s.name)},FZt=function(){return R3},jZt=function(){return QO},$Zt=function(){return d7},Uj=function(s){return d7[s]},HZt=function(){return Object.keys(d7)},zZt=function(){jJ=!0},VZt=function(){jJ=!1},qZt=()=>jJ,UZt=function(s){hwe=s},$S=()=>hwe!==void 0?hwe:Qt().sequence.wrap,GZt=function(){d7={},QO=[],R3=[],jJ=!1,hv()},WZt=function(s){const o=s.trim(),f={text:o.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:o.match(/^:?wrap:/)!==null?!0:o.match(/^:?nowrap:/)!==null?!1:void 0};return ne.debug("parseMessage:",f),f},KZt=function(s){const o=s.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let f=o!=null&&o[1]?o[1].trim():"transparent",m=o!=null&&o[2]?o[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",f)||(f="transparent",m=s.trim());else{const k=new Option().style;k.color=f,k.color!==f&&(f="transparent",m=s.trim())}return{color:f,text:m!==void 0?zb(m.replace(/^:?(?:no)?wrap:/,""),Qt()):void 0,wrap:m!==void 0?m.match(/^:?wrap:/)!==null?!0:m.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},Gj={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},YZt={FILLED:0,OPEN:1},XZt={LEFTOF:0,RIGHTOF:1,OVER:2},wUe=function(s,o,f){f.text,f.wrap===void 0&&$S()||f.wrap;const m=[].concat(s,s);R3.push({from:m[0],to:m[1],message:f.text,wrap:f.wrap===void 0&&$S()||!!f.wrap,type:Gj.NOTE,placement:o})},yUe=function(s,o){const f=Uj(s);try{let m=zb(o.text,Qt());m=m.replace(/&amp;/g,"&"),m=m.replace(/&equals;/g,"=");const y=JSON.parse(m);dwe(f,y)}catch(m){ne.error("error while parsing actor link text",m)}},QZt=function(s,o){const f=Uj(s);try{const v={};let A=zb(o.text,Qt());var m=A.indexOf("@");A=A.replace(/&amp;/g,"&"),A=A.replace(/&equals;/g,"=");var y=A.slice(0,m-1).trim(),k=A.slice(m+1).trim();v[y]=k,dwe(f,v)}catch(v){ne.error("error while parsing actor link text",v)}};function dwe(s,o){if(s.links==null)s.links=o;else for(let f in o)s.links[f]=o[f]}const _Ue=function(s,o){const f=Uj(s);try{let m=zb(o.text,Qt());const y=JSON.parse(m);xUe(f,y)}catch(m){ne.error("error while parsing actor properties text",m)}};function xUe(s,o){if(s.properties==null)s.properties=o;else for(let f in o)s.properties[f]=o[f]}function ZZt(){xx=void 0}const kUe=function(s,o){const f=Uj(s),m=document.getElementById(o.text);try{const y=m.innerHTML,k=JSON.parse(y);k.properties&&xUe(f,k.properties),k.links&&dwe(f,k.links)}catch(y){ne.error("error while parsing actor details text",y)}},JZt=function(s,o){if(s!==void 0&&s.properties!==void 0)return s.properties[o]},EUe=function(s){if(Array.isArray(s))s.forEach(function(o){EUe(o)});else switch(s.type){case"sequenceIndex":R3.push({from:void 0,to:void 0,message:{start:s.sequenceIndex,step:s.sequenceIndexStep,visible:s.sequenceVisible},wrap:!1,type:s.signalType});break;case"addParticipant":fwe(s.actor,s.actor,s.description,"participant");break;case"addActor":fwe(s.actor,s.actor,s.description,"actor");break;case"activeStart":n1(s.actor,void 0,void 0,s.signalType);break;case"activeEnd":n1(s.actor,void 0,void 0,s.signalType);break;case"addNote":wUe(s.actor,s.placement,s.text);break;case"addLinks":yUe(s.actor,s.text);break;case"addALink":QZt(s.actor,s.text);break;case"addProperties":_Ue(s.actor,s.text);break;case"addDetails":kUe(s.actor,s.text);break;case"addMessage":n1(s.from,s.to,s.msg,s.signalType);break;case"boxStart":DZt(s.boxData);break;case"boxEnd":ZZt();break;case"loopStart":n1(void 0,void 0,s.loopText,s.signalType);break;case"loopEnd":n1(void 0,void 0,void 0,s.signalType);break;case"rectStart":n1(void 0,void 0,s.color,s.signalType);break;case"rectEnd":n1(void 0,void 0,void 0,s.signalType);break;case"optStart":n1(void 0,void 0,s.optText,s.signalType);break;case"optEnd":n1(void 0,void 0,void 0,s.signalType);break;case"altStart":n1(void 0,void 0,s.altText,s.signalType);break;case"else":n1(void 0,void 0,s.altText,s.signalType);break;case"altEnd":n1(void 0,void 0,void 0,s.signalType);break;case"setAccTitle":fv(s.text);break;case"parStart":n1(void 0,void 0,s.parText,s.signalType);break;case"and":n1(void 0,void 0,s.parText,s.signalType);break;case"parEnd":n1(void 0,void 0,void 0,s.signalType);break;case"criticalStart":n1(void 0,void 0,s.criticalText,s.signalType);break;case"option":n1(void 0,void 0,s.optionText,s.signalType);break;case"criticalEnd":n1(void 0,void 0,void 0,s.signalType);break;case"breakStart":n1(void 0,void 0,s.breakText,s.signalType);break;case"breakEnd":n1(void 0,void 0,void 0,s.signalType);break}},TUe={addActor:fwe,addMessage:NZt,addSignal:n1,addLinks:yUe,addDetails:kUe,addProperties:_Ue,autoWrap:$S,setWrap:UZt,enableSequenceNumbers:zZt,disableSequenceNumbers:VZt,showSequenceNumbers:qZt,getMessages:FZt,getActors:$Zt,getActor:Uj,getActorKeys:HZt,getActorProperty:JZt,getAccTitle:qb,getBoxes:jZt,getDiagramTitle:M3,setDiagramTitle:A3,parseDirective:OZt,getConfig:()=>Qt().sequence,clear:GZt,parseMessage:WZt,parseBoxData:KZt,LINETYPE:Gj,ARROWTYPE:YZt,PLACEMENT:XZt,addNote:wUe,setAccTitle:fv,apply:EUe,setAccDescription:Ub,getAccDescription:Gb,hasAtLeastOneBox:RZt,hasAtLeastOneBoxWithTitle:BZt};let gwe=[];const eJt=s=>{gwe.push(s)},SUe=()=>{gwe.forEach(s=>{s()}),gwe=[]},$J=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},CUe=(s,o)=>{eJt(()=>{const f=document.querySelectorAll(s);f.length!==0&&(f[0].addEventListener("mouseover",function(){iJt("actor"+o+"_popup")}),f[0].addEventListener("mouseout",function(){sJt("actor"+o+"_popup")}))})},tJt=function(s,o,f,m,y){if(o.links===void 0||o.links===null||Object.keys(o.links).length===0)return{height:0,width:0};const k=o.links,v=o.actorCnt,A=o.rectData;var O="none";y&&(O="block !important");const j=s.append("g");j.attr("id","actor"+v+"_popup"),j.attr("class","actorPopupMenu"),j.attr("display",O),CUe("#actor"+v+"_popup",v);var z="";A.class!==void 0&&(z=" "+A.class);let V=A.width>f?A.width:f;const Y=j.append("rect");if(Y.attr("class","actorPopupMenuPanel"+z),Y.attr("x",A.x),Y.attr("y",A.height),Y.attr("fill",A.fill),Y.attr("stroke",A.stroke),Y.attr("width",V),Y.attr("height",A.height),Y.attr("rx",A.rx),Y.attr("ry",A.ry),k!=null){var G=20;for(let me in k){var J=j.append("a"),ce=xt(k[me]);J.attr("xlink:href",ce),J.attr("target","_blank"),yJt(m)(me,J,A.x+10,A.height+G,V,20,{class:"actor"},m),G+=30}}return Y.attr("height",G),{height:A.height+G,width:V}},AUe=function(s,o,f,m){const y=s.append("image");y.attr("x",o),y.attr("y",f);var k=xt(m);y.attr("xlink:href",k)},MUe=function(s,o,f,m){const y=s.append("use");y.attr("x",o),y.attr("y",f);var k=xt(m);y.attr("xlink:href","#"+k)},nJt=function(s){return"var pu = document.getElementById('"+s+"'); if (pu != null) { pu.style.display = 'block'; }"},rJt=function(s){return"var pu = document.getElementById('"+s+"'); if (pu != null) { pu.style.display = 'none'; }"},iJt=function(s){var o=document.getElementById(s);o!=null&&(o.style.display="block")},sJt=function(s){var o=document.getElementById(s);o!=null&&(o.style.display="none")},ZO=function(s,o){let f=0,m=0;const y=o.text.split(Oo.lineBreakRegex),[k,v]=ij(o.fontSize);let A=[],O=0,j=()=>o.y;if(o.valign!==void 0&&o.textMargin!==void 0&&o.textMargin>0)switch(o.valign){case"top":case"start":j=()=>Math.round(o.y+o.textMargin);break;case"middle":case"center":j=()=>Math.round(o.y+(f+m+o.textMargin)/2);break;case"bottom":case"end":j=()=>Math.round(o.y+(f+m+2*o.textMargin)-o.textMargin);break}if(o.anchor!==void 0&&o.textMargin!==void 0&&o.width!==void 0)switch(o.anchor){case"left":case"start":o.x=Math.round(o.x+o.textMargin),o.anchor="start",o.dominantBaseline="middle",o.alignmentBaseline="middle";break;case"middle":case"center":o.x=Math.round(o.x+o.width/2),o.anchor="middle",o.dominantBaseline="middle",o.alignmentBaseline="middle";break;case"right":case"end":o.x=Math.round(o.x+o.width-o.textMargin),o.anchor="end",o.dominantBaseline="middle",o.alignmentBaseline="middle";break}for(let[z,V]of y.entries()){o.textMargin!==void 0&&o.textMargin===0&&k!==void 0&&(O=z*k);const Y=s.append("text");if(Y.attr("x",o.x),Y.attr("y",j()),o.anchor!==void 0&&Y.attr("text-anchor",o.anchor).attr("dominant-baseline",o.dominantBaseline).attr("alignment-baseline",o.alignmentBaseline),o.fontFamily!==void 0&&Y.style("font-family",o.fontFamily),v!==void 0&&Y.style("font-size",v),o.fontWeight!==void 0&&Y.style("font-weight",o.fontWeight),o.fill!==void 0&&Y.attr("fill",o.fill),o.class!==void 0&&Y.attr("class",o.class),o.dy!==void 0?Y.attr("dy",o.dy):O!==0&&Y.attr("dy",O),o.tspan){const G=Y.append("tspan");G.attr("x",o.x),o.fill!==void 0&&G.attr("fill",o.fill),G.text(V)}else Y.text(V);o.valign!==void 0&&o.textMargin!==void 0&&o.textMargin>0&&(m+=(Y._groups||Y)[0][0].getBBox().height,f=m),A.push(Y)}return A},LUe=function(s,o){function f(y,k,v,A,O){return y+","+k+" "+(y+v)+","+k+" "+(y+v)+","+(k+A-O)+" "+(y+v-O*1.2)+","+(k+A)+" "+y+","+(k+A)}const m=s.append("polygon");return m.attr("points",f(o.x,o.y,o.width,o.height,7)),m.attr("class","labelBox"),o.y=o.y+o.height/2,ZO(s,o),m};let Q5=-1;const IUe=(s,o)=>{s.selectAll&&s.selectAll(".actor-line").attr("class","200").attr("y2",o-55)},aJt=function(s,o,f,m){const y=o.x+o.width/2,k=o.y+5,v=s.append("g");var A=v;m||(Q5++,A.append("line").attr("id","actor"+Q5).attr("x1",y).attr("y1",k).attr("x2",y).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),A=v.append("g"),o.actorCnt=Q5,o.links!=null&&(A.attr("id","root-"+Q5),CUe("#root-"+Q5,Q5)));const O=HJ();var j="actor";o.properties!=null&&o.properties.class?j=o.properties.class:O.fill="#eaeaea",O.x=o.x,O.y=o.y,O.width=o.width,O.height=o.height,O.class=j,O.rx=3,O.ry=3;const z=$J(A,O);if(o.rectData=O,o.properties!=null&&o.properties.icon){const Y=o.properties.icon.trim();Y.charAt(0)==="@"?MUe(A,O.x+O.width-20,O.y+10,Y.substr(1)):AUe(A,O.x+O.width-20,O.y+10,Y)}mwe(f)(o.description,A,O.x,O.y,O.width,O.height,{class:"actor"},f);let V=o.height;if(z.node){const Y=z.node().getBBox();o.height=Y.height,V=Y.height}return V},oJt=function(s,o,f,m){const y=o.x+o.width/2,k=o.y+80;m||(Q5++,s.append("line").attr("id","actor"+Q5).attr("x1",y).attr("y1",k).attr("x2",y).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const v=s.append("g");v.attr("class","actor-man");const A=HJ();A.x=o.x,A.y=o.y,A.fill="#eaeaea",A.width=o.width,A.height=o.height,A.class="actor",A.rx=3,A.ry=3,v.append("line").attr("id","actor-man-torso"+Q5).attr("x1",y).attr("y1",o.y+25).attr("x2",y).attr("y2",o.y+45),v.append("line").attr("id","actor-man-arms"+Q5).attr("x1",y-18).attr("y1",o.y+33).attr("x2",y+18).attr("y2",o.y+33),v.append("line").attr("x1",y-18).attr("y1",o.y+60).attr("x2",y).attr("y2",o.y+45),v.append("line").attr("x1",y).attr("y1",o.y+45).attr("x2",y+16).attr("y2",o.y+60);const O=v.append("circle");O.attr("cx",o.x+o.width/2),O.attr("cy",o.y+10),O.attr("r",15),O.attr("width",o.width),O.attr("height",o.height);const j=v.node().getBBox();return o.height=j.height,mwe(f)(o.description,v,A.x,A.y+35,A.width,A.height,{class:"actor"},f),o.height},cJt=function(s,o,f,m){switch(o.type){case"actor":return oJt(s,o,f,m);case"participant":return aJt(s,o,f,m)}},lJt=function(s,o,f){const y=s.append("g");OUe(y,o),o.name&&mwe(f)(o.name,y,o.x,o.y+(o.textMaxHeight||0)/2,o.width,0,{class:"text"},f),y.lower()},uJt=function(s){return s.append("g")},hJt=function(s,o,f,m,y){const k=HJ(),v=o.anchored;k.x=o.startx,k.y=o.starty,k.class="activation"+y%3,k.width=o.stopx-o.startx,k.height=f-o.starty,$J(v,k)},fJt=function(s,o,f,m){const{boxMargin:y,boxTextMargin:k,labelBoxHeight:v,labelBoxWidth:A,messageFontFamily:O,messageFontSize:j,messageFontWeight:z}=m,V=s.append("g"),Y=function(ce,me,_e,we){return V.append("line").attr("x1",ce).attr("y1",me).attr("x2",_e).attr("y2",we).attr("class","loopLine")};Y(o.startx,o.starty,o.stopx,o.starty),Y(o.stopx,o.starty,o.stopx,o.stopy),Y(o.startx,o.stopy,o.stopx,o.stopy),Y(o.startx,o.starty,o.startx,o.stopy),o.sections!==void 0&&o.sections.forEach(function(ce){Y(o.startx,ce.y,o.stopx,ce.y).style("stroke-dasharray","3, 3")});let G=pwe();G.text=f,G.x=o.startx,G.y=o.starty,G.fontFamily=O,G.fontSize=j,G.fontWeight=z,G.anchor="middle",G.valign="middle",G.tspan=!1,G.width=A||50,G.height=v||20,G.textMargin=k,G.class="labelText",LUe(V,G),G=pwe(),G.text=o.title,G.x=o.startx+A/2+(o.stopx-o.startx)/2,G.y=o.starty+y+k,G.anchor="middle",G.valign="middle",G.textMargin=k,G.class="loopText",G.fontFamily=O,G.fontSize=j,G.fontWeight=z,G.wrap=!0;let J=ZO(V,G);return o.sectionTitles!==void 0&&o.sectionTitles.forEach(function(ce,me){if(ce.message){G.text=ce.message,G.x=o.startx+(o.stopx-o.startx)/2,G.y=o.sections[me].y+y+k,G.class="loopText",G.anchor="middle",G.valign="middle",G.tspan=!1,G.fontFamily=O,G.fontSize=j,G.fontWeight=z,G.wrap=o.wrap,J=ZO(V,G);let _e=Math.round(J.map(we=>(we._groups||we)[0][0].getBBox().height).reduce((we,Se)=>we+Se));o.sections[me].height+=_e-(y+k)}}),o.height=Math.round(o.stopy-o.starty),V},OUe=function(s,o){$J(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,stroke:o.stroke,class:"rect"}).lower()},dJt=function(s){s.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},gJt=function(s){s.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},pJt=function(s){s.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},mJt=function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},vJt=function(s){s.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},bJt=function(s){s.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},wJt=function(s){s.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},pwe=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},HJ=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},mwe=function(){function s(y,k,v,A,O,j,z){const V=k.append("text").attr("x",v+O/2).attr("y",A+j/2+5).style("text-anchor","middle").text(y);m(V,z)}function o(y,k,v,A,O,j,z,V){const{actorFontSize:Y,actorFontFamily:G,actorFontWeight:J}=V,[ce,me]=ij(Y),_e=y.split(Oo.lineBreakRegex);for(let we=0;we<_e.length;we++){const Se=we*ce-ce*(_e.length-1)/2,Oe=k.append("text").attr("x",v+O/2).attr("y",A).style("text-anchor","middle").style("font-size",me).style("font-weight",J).style("font-family",G);Oe.append("tspan").attr("x",v+O/2).attr("dy",Se).text(_e[we]),Oe.attr("y",A+j/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),m(Oe,z)}}function f(y,k,v,A,O,j,z,V){const Y=k.append("switch"),J=Y.append("foreignObject").attr("x",v).attr("y",A).attr("width",O).attr("height",j).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");J.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(y),o(y,Y,v,A,O,j,z,V),m(J,z)}function m(y,k){for(const v in k)k.hasOwnProperty(v)&&y.attr(v,k[v])}return function(y){return y.textPlacement==="fo"?f:y.textPlacement==="old"?s:o}}(),yJt=function(){function s(y,k,v,A,O,j,z){const V=k.append("text").attr("x",v).attr("y",A).style("text-anchor","start").text(y);m(V,z)}function o(y,k,v,A,O,j,z,V){const{actorFontSize:Y,actorFontFamily:G,actorFontWeight:J}=V,ce=y.split(Oo.lineBreakRegex);for(let me=0;me<ce.length;me++){const _e=me*Y-Y*(ce.length-1)/2,we=k.append("text").attr("x",v).attr("y",A).style("text-anchor","start").style("font-size",Y).style("font-weight",J).style("font-family",G);we.append("tspan").attr("x",v).attr("dy",_e).text(ce[me]),we.attr("y",A+j/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),m(we,z)}}function f(y,k,v,A,O,j,z,V){const Y=k.append("switch"),J=Y.append("foreignObject").attr("x",v).attr("y",A).attr("width",O).attr("height",j).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");J.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(y),o(y,Y,v,A,O,j,z,V),m(J,z)}function m(y,k){for(const v in k)k.hasOwnProperty(v)&&y.attr(v,k[v])}return function(y){return y.textPlacement==="fo"?f:y.textPlacement==="old"?s:o}}(),Kf={drawRect:$J,drawText:ZO,drawLabel:LUe,drawActor:cJt,drawBox:lJt,drawPopup:tJt,drawImage:AUe,drawEmbeddedImage:MUe,anchorElement:uJt,drawActivation:hJt,drawLoop:fJt,drawBackgroundRect:OUe,insertArrowHead:mJt,insertArrowFilledHead:vJt,insertSequenceNumber:bJt,insertArrowCrossHead:wJt,insertDatabaseIcon:dJt,insertComputerIcon:gJt,insertClockIcon:pJt,getTextObj:pwe,getNoteRect:HJ,popupMenu:nJt,popdownMenu:rJt,fixLifeLineHeights:IUe,sanitizeUrl:xt};let Ln={};const Hi={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(s=>s.height||0))+(this.loops.length===0?0:this.loops.map(s=>s.height||0).reduce((s,o)=>s+o))+(this.messages.length===0?0:this.messages.map(s=>s.height||0).reduce((s,o)=>s+o))+(this.notes.length===0?0:this.notes.map(s=>s.height||0).reduce((s,o)=>s+o))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(s){this.boxes.push(s)},addActor:function(s){this.actors.push(s)},addLoop:function(s){this.loops.push(s)},addMessage:function(s){this.messages.push(s)},addNote:function(s){this.notes.push(s)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,PUe(Qt())},updateVal:function(s,o,f,m){s[o]===void 0?s[o]=f:s[o]=m(f,s[o])},updateBounds:function(s,o,f,m){const y=this;let k=0;function v(A){return function(j){k++;const z=y.sequenceItems.length-k+1;y.updateVal(j,"starty",o-z*Ln.boxMargin,Math.min),y.updateVal(j,"stopy",m+z*Ln.boxMargin,Math.max),y.updateVal(Hi.data,"startx",s-z*Ln.boxMargin,Math.min),y.updateVal(Hi.data,"stopx",f+z*Ln.boxMargin,Math.max),A!=="activation"&&(y.updateVal(j,"startx",s-z*Ln.boxMargin,Math.min),y.updateVal(j,"stopx",f+z*Ln.boxMargin,Math.max),y.updateVal(Hi.data,"starty",o-z*Ln.boxMargin,Math.min),y.updateVal(Hi.data,"stopy",m+z*Ln.boxMargin,Math.max))}}this.sequenceItems.forEach(v()),this.activations.forEach(v("activation"))},insert:function(s,o,f,m){const y=Math.min(s,f),k=Math.max(s,f),v=Math.min(o,m),A=Math.max(o,m);this.updateVal(Hi.data,"startx",y,Math.min),this.updateVal(Hi.data,"starty",v,Math.min),this.updateVal(Hi.data,"stopx",k,Math.max),this.updateVal(Hi.data,"stopy",A,Math.max),this.updateBounds(y,v,k,A)},newActivation:function(s,o,f){const m=f[s.from.actor],y=zJ(s.from.actor).length||0,k=m.x+m.width/2+(y-1)*Ln.activationWidth/2;this.activations.push({startx:k,starty:this.verticalPos+2,stopx:k+Ln.activationWidth,stopy:void 0,actor:s.from.actor,anchored:Kf.anchorElement(o)})},endActivation:function(s){const o=this.activations.map(function(f){return f.actor}).lastIndexOf(s.from.actor);return this.activations.splice(o,1)[0]},createLoop:function(s={message:void 0,wrap:!1,width:void 0},o){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:s.message,wrap:s.wrap,width:s.width,height:0,fill:o}},newLoop:function(s={message:void 0,wrap:!1,width:void 0},o){this.sequenceItems.push(this.createLoop(s,o))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(s){const o=this.sequenceItems.pop();o.sections=o.sections||[],o.sectionTitles=o.sectionTitles||[],o.sections.push({y:Hi.getVerticalPos(),height:0}),o.sectionTitles.push(s),this.sequenceItems.push(o)},bumpVerticalPos:function(s){this.verticalPos=this.verticalPos+s,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},_Jt=function(s,o){Hi.bumpVerticalPos(Ln.boxMargin),o.height=Ln.boxMargin,o.starty=Hi.getVerticalPos();const f=Kf.getNoteRect();f.x=o.startx,f.y=o.starty,f.width=o.width||Ln.width,f.class="note";const m=s.append("g"),y=Kf.drawRect(m,f),k=Kf.getTextObj();k.x=o.startx,k.y=o.starty,k.width=f.width,k.dy="1em",k.text=o.message,k.class="noteText",k.fontFamily=Ln.noteFontFamily,k.fontSize=Ln.noteFontSize,k.fontWeight=Ln.noteFontWeight,k.anchor=Ln.noteAlign,k.textMargin=Ln.noteMargin,k.valign="center";const v=ZO(m,k),A=Math.round(v.map(O=>(O._groups||O)[0][0].getBBox().height).reduce((O,j)=>O+j));y.attr("height",A+2*Ln.noteMargin),o.height+=A+2*Ln.noteMargin,Hi.bumpVerticalPos(A+2*Ln.noteMargin),o.stopy=o.starty+A+2*Ln.noteMargin,o.stopx=o.startx+f.width,Hi.insert(o.startx,o.starty,o.stopx,o.stopy),Hi.models.addNote(o)},HS=s=>({fontFamily:s.messageFontFamily,fontSize:s.messageFontSize,fontWeight:s.messageFontWeight}),JO=s=>({fontFamily:s.noteFontFamily,fontSize:s.noteFontSize,fontWeight:s.noteFontWeight}),vwe=s=>({fontFamily:s.actorFontFamily,fontSize:s.actorFontSize,fontWeight:s.actorFontWeight});function xJt(s,o){Hi.bumpVerticalPos(10);const{startx:f,stopx:m,message:y}=o,k=Oo.splitBreaks(y).length,v=Go.calculateTextDimensions(y,HS(Ln)),A=v.height/k;o.height+=A,Hi.bumpVerticalPos(A);let O,j=v.height-10;const z=v.width;if(f===m){O=Hi.getVerticalPos()+j,Ln.rightAngles||(j+=Ln.boxMargin,O=Hi.getVerticalPos()+j),j+=30;const V=Math.max(z/2,Ln.width/2);Hi.insert(f-V,Hi.getVerticalPos()-10+j,m+V,Hi.getVerticalPos()+30+j)}else j+=Ln.boxMargin,O=Hi.getVerticalPos()+j,Hi.insert(f,O-10,m,O);return Hi.bumpVerticalPos(j),o.height+=j,o.stopy=o.starty+o.height,Hi.insert(o.fromBounds,o.starty,o.toBounds,o.stopy),O}const kJt=function(s,o,f,m){const{startx:y,stopx:k,starty:v,message:A,type:O,sequenceIndex:j,sequenceVisible:z}=o,V=Go.calculateTextDimensions(A,HS(Ln)),Y=Kf.getTextObj();Y.x=y,Y.y=v+10,Y.width=k-y,Y.class="messageText",Y.dy="1em",Y.text=A,Y.fontFamily=Ln.messageFontFamily,Y.fontSize=Ln.messageFontSize,Y.fontWeight=Ln.messageFontWeight,Y.anchor=Ln.messageAlign,Y.valign="center",Y.textMargin=Ln.wrapPadding,Y.tspan=!1,ZO(s,Y);const G=V.width;let J;y===k?Ln.rightAngles?J=s.append("path").attr("d",`M ${y},${f} H ${y+Math.max(Ln.width/2,G/2)} V ${f+25} H ${y}`):J=s.append("path").attr("d","M "+y+","+f+" C "+(y+60)+","+(f-10)+" "+(y+60)+","+(f+30)+" "+y+","+(f+20)):(J=s.append("line"),J.attr("x1",y),J.attr("y1",f),J.attr("x2",k),J.attr("y2",f)),O===m.db.LINETYPE.DOTTED||O===m.db.LINETYPE.DOTTED_CROSS||O===m.db.LINETYPE.DOTTED_POINT||O===m.db.LINETYPE.DOTTED_OPEN?(J.style("stroke-dasharray","3, 3"),J.attr("class","messageLine1")):J.attr("class","messageLine0");let ce="";Ln.arrowMarkerAbsolute&&(ce=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,ce=ce.replace(/\(/g,"\\("),ce=ce.replace(/\)/g,"\\)")),J.attr("stroke-width",2),J.attr("stroke","none"),J.style("fill","none"),(O===m.db.LINETYPE.SOLID||O===m.db.LINETYPE.DOTTED)&&J.attr("marker-end","url("+ce+"#arrowhead)"),(O===m.db.LINETYPE.SOLID_POINT||O===m.db.LINETYPE.DOTTED_POINT)&&J.attr("marker-end","url("+ce+"#filled-head)"),(O===m.db.LINETYPE.SOLID_CROSS||O===m.db.LINETYPE.DOTTED_CROSS)&&J.attr("marker-end","url("+ce+"#crosshead)"),(z||Ln.showSequenceNumbers)&&(J.attr("marker-start","url("+ce+"#sequencenumber)"),s.append("text").attr("x",y).attr("y",f+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(j))},bwe=function(s,o,f,m,y,k,v){if(y.hideUnusedParticipants===!0){const V=new Set;k.forEach(Y=>{V.add(Y.from),V.add(Y.to)}),f=f.filter(Y=>V.has(Y))}let A=0,O=0,j=0,z;for(const V of f){const Y=o[V],G=Y.box;z&&z!=G&&(v||Hi.models.addBox(z),O+=Ln.boxMargin+z.margin),G&&G!=z&&(v||(G.x=A+O,G.y=m),O+=G.margin),Y.width=Y.width||Ln.width,Y.height=Math.max(Y.height||Ln.height,Ln.height),Y.margin=Y.margin||Ln.actorMargin,Y.x=A+O,Y.y=Hi.getVerticalPos();const J=Kf.drawActor(s,Y,Ln,v);j=Math.max(j,J),Hi.insert(Y.x,m,Y.x+Y.width,Y.height),A+=Y.width+O,Y.box&&(Y.box.width=A+G.margin-Y.box.x),O=Y.margin,z=Y.box,Hi.models.addActor(Y)}z&&!v&&Hi.models.addBox(z),Hi.bumpVerticalPos(j)},DUe=function(s,o,f,m){let y=0,k=0;for(const v of f){const A=o[v],O=SJt(A),j=Kf.drawPopup(s,A,O,Ln,Ln.forceMenus,m);j.height>y&&(y=j.height),j.width+A.x>k&&(k=j.width+A.x)}return{maxHeight:y,maxWidth:k}},PUe=function(s){eg(Ln,s),s.fontFamily&&(Ln.actorFontFamily=Ln.noteFontFamily=Ln.messageFontFamily=s.fontFamily),s.fontSize&&(Ln.actorFontSize=Ln.noteFontSize=Ln.messageFontSize=s.fontSize),s.fontWeight&&(Ln.actorFontWeight=Ln.noteFontWeight=Ln.messageFontWeight=s.fontWeight)},zJ=function(s){return Hi.activations.filter(function(o){return o.actor===s})},NUe=function(s,o){const f=o[s],m=zJ(s),y=m.reduce(function(v,A){return Math.min(v,A.startx)},f.x+f.width/2),k=m.reduce(function(v,A){return Math.max(v,A.stopx)},f.x+f.width/2);return[y,k]};function Z5(s,o,f,m,y){Hi.bumpVerticalPos(f);let k=m;if(o.id&&o.message&&s[o.id]){const v=s[o.id].width,A=HS(Ln);o.message=Go.wrapLabel(`[${o.message}]`,v-2*Ln.wrapPadding,A),o.width=v,o.wrap=!0;const O=Go.calculateTextDimensions(o.message,A),j=Math.max(O.height,Ln.labelBoxHeight);k=m+j,ne.debug(`${j} - ${o.message}`)}y(o),Hi.bumpVerticalPos(k)}const EJt=function(s,o,f,m){const{securityLevel:y,sequence:k}=Qt();Ln=k,m.db.clear(),m.parser.parse(s);let v;y==="sandbox"&&(v=Or("#i"+o));const A=Or(y==="sandbox"?v.nodes()[0].contentDocument.body:"body"),O=y==="sandbox"?v.nodes()[0].contentDocument:document;Hi.init(),ne.debug(m.db);const j=y==="sandbox"?A.select(`[id="${o}"]`):Or(`[id="${o}"]`),z=m.db.getActors(),V=m.db.getBoxes(),Y=m.db.getActorKeys(),G=m.db.getMessages(),J=m.db.getDiagramTitle(),ce=m.db.hasAtLeastOneBox(),me=m.db.hasAtLeastOneBoxWithTitle(),_e=TJt(z,G,m);Ln.height=CJt(z,_e,V),Kf.insertComputerIcon(j),Kf.insertDatabaseIcon(j),Kf.insertClockIcon(j),ce&&(Hi.bumpVerticalPos(Ln.boxMargin),me&&Hi.bumpVerticalPos(V[0].textMaxHeight)),bwe(j,z,Y,0,Ln,G,!1);const we=LJt(G,z,_e,m);Kf.insertArrowHead(j),Kf.insertArrowCrossHead(j),Kf.insertArrowFilledHead(j),Kf.insertSequenceNumber(j);function Se(Qe,Ce){const nt=Hi.endActivation(Qe);nt.starty+18>Ce&&(nt.starty=Ce-6,Ce+=12),Kf.drawActivation(j,nt,Ce,Ln,zJ(Qe.from.actor).length),Hi.insert(nt.startx,Ce-10,nt.stopx,Ce)}let Oe=1,De=1;const Ve=[];G.forEach(function(Qe){let Ce,nt,Ee;switch(Qe.type){case m.db.LINETYPE.NOTE:nt=Qe.noteModel,_Jt(j,nt);break;case m.db.LINETYPE.ACTIVE_START:Hi.newActivation(Qe,j,z);break;case m.db.LINETYPE.ACTIVE_END:Se(Qe,Hi.getVerticalPos());break;case m.db.LINETYPE.LOOP_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.LOOP_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"loop",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;case m.db.LINETYPE.RECT_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin,kt=>Hi.newLoop(void 0,kt.message));break;case m.db.LINETYPE.RECT_END:Ce=Hi.endLoop(),Kf.drawBackgroundRect(j,Ce),Hi.models.addLoop(Ce),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos());break;case m.db.LINETYPE.OPT_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.OPT_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"opt",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;case m.db.LINETYPE.ALT_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.ALT_ELSE:Z5(we,Qe,Ln.boxMargin+Ln.boxTextMargin,Ln.boxMargin,kt=>Hi.addSectionToLoop(kt));break;case m.db.LINETYPE.ALT_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"alt",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;case m.db.LINETYPE.PAR_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.PAR_AND:Z5(we,Qe,Ln.boxMargin+Ln.boxTextMargin,Ln.boxMargin,kt=>Hi.addSectionToLoop(kt));break;case m.db.LINETYPE.PAR_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"par",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;case m.db.LINETYPE.AUTONUMBER:Oe=Qe.message.start||Oe,De=Qe.message.step||De,Qe.message.visible?m.db.enableSequenceNumbers():m.db.disableSequenceNumbers();break;case m.db.LINETYPE.CRITICAL_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.CRITICAL_OPTION:Z5(we,Qe,Ln.boxMargin+Ln.boxTextMargin,Ln.boxMargin,kt=>Hi.addSectionToLoop(kt));break;case m.db.LINETYPE.CRITICAL_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"critical",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;case m.db.LINETYPE.BREAK_START:Z5(we,Qe,Ln.boxMargin,Ln.boxMargin+Ln.boxTextMargin,kt=>Hi.newLoop(kt));break;case m.db.LINETYPE.BREAK_END:Ce=Hi.endLoop(),Kf.drawLoop(j,Ce,"break",Ln),Hi.bumpVerticalPos(Ce.stopy-Hi.getVerticalPos()),Hi.models.addLoop(Ce);break;default:try{Ee=Qe.msgModel,Ee.starty=Hi.getVerticalPos(),Ee.sequenceIndex=Oe,Ee.sequenceVisible=m.db.showSequenceNumbers();const kt=xJt(j,Ee);Ve.push({messageModel:Ee,lineStartY:kt}),Hi.models.addMessage(Ee)}catch(kt){ne.error("error while drawing message",kt)}}[m.db.LINETYPE.SOLID_OPEN,m.db.LINETYPE.DOTTED_OPEN,m.db.LINETYPE.SOLID,m.db.LINETYPE.DOTTED,m.db.LINETYPE.SOLID_CROSS,m.db.LINETYPE.DOTTED_CROSS,m.db.LINETYPE.SOLID_POINT,m.db.LINETYPE.DOTTED_POINT].includes(Qe.type)&&(Oe=Oe+De)}),Ve.forEach(Qe=>kJt(j,Qe.messageModel,Qe.lineStartY,m)),Ln.mirrorActors&&(Hi.bumpVerticalPos(Ln.boxMargin*2),bwe(j,z,Y,Hi.getVerticalPos(),Ln,G,!0),Hi.bumpVerticalPos(Ln.boxMargin),IUe(j,Hi.getVerticalPos())),Hi.models.boxes.forEach(function(Qe){Qe.height=Hi.getVerticalPos()-Qe.y,Hi.insert(Qe.x,Qe.y,Qe.x+Qe.width,Qe.height),Qe.startx=Qe.x,Qe.starty=Qe.y,Qe.stopx=Qe.startx+Qe.width,Qe.stopy=Qe.starty+Qe.height,Qe.stroke="rgb(0,0,0, 0.5)",Kf.drawBox(j,Qe,Ln)}),ce&&Hi.bumpVerticalPos(Ln.boxMargin);const ke=DUe(j,z,Y,O),{bounds:Ie}=Hi.getBounds();ne.debug("For line height fix Querying: #"+o+" .actor-line"),hve("#"+o+" .actor-line").attr("y2",Ie.stopy);let Me=Ie.stopy-Ie.starty;Me<ke.maxHeight&&(Me=ke.maxHeight);let Ne=Me+2*Ln.diagramMarginY;Ln.mirrorActors&&(Ne=Ne-Ln.boxMargin+Ln.bottomMarginAdj);let xe=Ie.stopx-Ie.startx;xe<ke.maxWidth&&(xe=ke.maxWidth);const qe=xe+2*Ln.diagramMarginX;J&&j.append("text").text(J).attr("x",(Ie.stopx-Ie.startx)/2-2*Ln.diagramMarginX).attr("y",-25),C3(j,Ne,qe,Ln.useMaxWidth);const ae=J?40:0;j.attr("viewBox",Ie.startx-Ln.diagramMarginX+" -"+(Ln.diagramMarginY+ae)+" "+qe+" "+(Ne+ae)),ne.debug("models:",Hi.models)};function TJt(s,o,f){const m={};return o.forEach(function(y){if(s[y.to]&&s[y.from]){const k=s[y.to];if(y.placement===f.db.PLACEMENT.LEFTOF&&!k.prevActor||y.placement===f.db.PLACEMENT.RIGHTOF&&!k.nextActor)return;const v=y.placement!==void 0,A=!v,O=v?JO(Ln):HS(Ln),j=y.wrap?Go.wrapLabel(y.message,Ln.width-2*Ln.wrapPadding,O):y.message,V=Go.calculateTextDimensions(j,O).width+2*Ln.wrapPadding;A&&y.from===k.nextActor?m[y.to]=Math.max(m[y.to]||0,V):A&&y.from===k.prevActor?m[y.from]=Math.max(m[y.from]||0,V):A&&y.from===y.to?(m[y.from]=Math.max(m[y.from]||0,V/2),m[y.to]=Math.max(m[y.to]||0,V/2)):y.placement===f.db.PLACEMENT.RIGHTOF?m[y.from]=Math.max(m[y.from]||0,V):y.placement===f.db.PLACEMENT.LEFTOF?m[k.prevActor]=Math.max(m[k.prevActor]||0,V):y.placement===f.db.PLACEMENT.OVER&&(k.prevActor&&(m[k.prevActor]=Math.max(m[k.prevActor]||0,V/2)),k.nextActor&&(m[y.from]=Math.max(m[y.from]||0,V/2)))}}),ne.debug("maxMessageWidthPerActor:",m),m}const SJt=function(s){let o=0;const f=vwe(Ln);for(const m in s.links){const k=Go.calculateTextDimensions(m,f).width+2*Ln.wrapPadding+2*Ln.boxMargin;o<k&&(o=k)}return o};function CJt(s,o,f){let m=0;Object.keys(s).forEach(k=>{const v=s[k];v.wrap&&(v.description=Go.wrapLabel(v.description,Ln.width-2*Ln.wrapPadding,vwe(Ln)));const A=Go.calculateTextDimensions(v.description,vwe(Ln));v.width=v.wrap?Ln.width:Math.max(Ln.width,A.width+2*Ln.wrapPadding),v.height=v.wrap?Math.max(A.height,Ln.height):Ln.height,m=Math.max(m,v.height)});for(const k in o){const v=s[k];if(!v)continue;const A=s[v.nextActor];if(!A){const V=o[k]+Ln.actorMargin-v.width/2;v.margin=Math.max(V,Ln.actorMargin);continue}const j=o[k]+Ln.actorMargin-v.width/2-A.width/2;v.margin=Math.max(j,Ln.actorMargin)}let y=0;return f.forEach(k=>{const v=HS(Ln);let A=k.actorKeys.reduce((z,V)=>z+=s[V].width+(s[V].margin||0),0);A-=2*Ln.boxTextMargin,k.wrap&&(k.name=Go.wrapLabel(k.name,A-2*Ln.wrapPadding,v));const O=Go.calculateTextDimensions(k.name,v);y=Math.max(O.height,y);const j=Math.max(A,O.width+2*Ln.wrapPadding);if(k.margin=Ln.boxTextMargin,A<j){const z=(j-A)/2;k.margin+=z}}),f.forEach(k=>k.textMaxHeight=y),Math.max(m,Ln.height)}const AJt=function(s,o,f){const m=o[s.from].x,y=o[s.to].x,k=s.wrap&&s.message;let v=Go.calculateTextDimensions(k?Go.wrapLabel(s.message,Ln.width,JO(Ln)):s.message,JO(Ln));const A={width:k?Ln.width:Math.max(Ln.width,v.width+2*Ln.noteMargin),height:0,startx:o[s.from].x,stopx:0,starty:0,stopy:0,message:s.message};return s.placement===f.db.PLACEMENT.RIGHTOF?(A.width=k?Math.max(Ln.width,v.width):Math.max(o[s.from].width/2+o[s.to].width/2,v.width+2*Ln.noteMargin),A.startx=m+(o[s.from].width+Ln.actorMargin)/2):s.placement===f.db.PLACEMENT.LEFTOF?(A.width=Math.max(k?Ln.width:o[s.from].width/2+o[s.to].width/2,v.width+2*Ln.noteMargin),A.startx=m-A.width+(o[s.from].width-Ln.actorMargin)/2):s.to===s.from?(v=Go.calculateTextDimensions(k?Go.wrapLabel(s.message,Math.max(Ln.width,o[s.from].width),JO(Ln)):s.message,JO(Ln)),A.width=k?Math.max(Ln.width,o[s.from].width):Math.max(o[s.from].width,Ln.width,v.width+2*Ln.noteMargin),A.startx=m+(o[s.from].width-A.width)/2):(A.width=Math.abs(m+o[s.from].width/2-(y+o[s.to].width/2))+Ln.actorMargin,A.startx=m<y?m+o[s.from].width/2-Ln.actorMargin/2:y+o[s.to].width/2-Ln.actorMargin/2),k&&(A.message=Go.wrapLabel(s.message,A.width-2*Ln.wrapPadding,JO(Ln))),ne.debug(`NM:[${A.startx},${A.stopx},${A.starty},${A.stopy}:${A.width},${A.height}=${s.message}]`),A},MJt=function(s,o,f){let m=!1;if([f.db.LINETYPE.SOLID_OPEN,f.db.LINETYPE.DOTTED_OPEN,f.db.LINETYPE.SOLID,f.db.LINETYPE.DOTTED,f.db.LINETYPE.SOLID_CROSS,f.db.LINETYPE.DOTTED_CROSS,f.db.LINETYPE.SOLID_POINT,f.db.LINETYPE.DOTTED_POINT].includes(s.type)&&(m=!0),!m)return{};const y=NUe(s.from,o),k=NUe(s.to,o),v=y[0]<=k[0]?1:0,A=y[0]<k[0]?0:1,O=[...y,...k],j=Math.abs(k[A]-y[v]);s.wrap&&s.message&&(s.message=Go.wrapLabel(s.message,Math.max(j+2*Ln.wrapPadding,Ln.width),HS(Ln)));const z=Go.calculateTextDimensions(s.message,HS(Ln));return{width:Math.max(s.wrap?0:z.width+2*Ln.wrapPadding,j+2*Ln.wrapPadding,Ln.width),height:0,startx:y[v],stopx:k[A],starty:0,stopy:0,message:s.message,type:s.type,wrap:s.wrap,fromBounds:Math.min.apply(null,O),toBounds:Math.max.apply(null,O)}},LJt=function(s,o,f,m){const y={},k=[];let v,A,O;return s.forEach(function(j){switch(j.id=Go.random({length:10}),j.type){case m.db.LINETYPE.LOOP_START:case m.db.LINETYPE.ALT_START:case m.db.LINETYPE.OPT_START:case m.db.LINETYPE.PAR_START:case m.db.LINETYPE.CRITICAL_START:case m.db.LINETYPE.BREAK_START:k.push({id:j.id,msg:j.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case m.db.LINETYPE.ALT_ELSE:case m.db.LINETYPE.PAR_AND:case m.db.LINETYPE.CRITICAL_OPTION:j.message&&(v=k.pop(),y[v.id]=v,y[j.id]=v,k.push(v));break;case m.db.LINETYPE.LOOP_END:case m.db.LINETYPE.ALT_END:case m.db.LINETYPE.OPT_END:case m.db.LINETYPE.PAR_END:case m.db.LINETYPE.CRITICAL_END:case m.db.LINETYPE.BREAK_END:v=k.pop(),y[v.id]=v;break;case m.db.LINETYPE.ACTIVE_START:{const V=o[j.from?j.from.actor:j.to.actor],Y=zJ(j.from?j.from.actor:j.to.actor).length,G=V.x+V.width/2+(Y-1)*Ln.activationWidth/2,J={startx:G,stopx:G+Ln.activationWidth,actor:j.from.actor,enabled:!0};Hi.activations.push(J)}break;case m.db.LINETYPE.ACTIVE_END:{const V=Hi.activations.map(Y=>Y.actor).lastIndexOf(j.from.actor);delete Hi.activations.splice(V,1)[0]}break}j.placement!==void 0?(A=AJt(j,o,m),j.noteModel=A,k.forEach(V=>{v=V,v.from=Math.min(v.from,A.startx),v.to=Math.max(v.to,A.startx+A.width),v.width=Math.max(v.width,Math.abs(v.from-v.to))-Ln.labelBoxWidth})):(O=MJt(j,o,m),j.msgModel=O,O.startx&&O.stopx&&k.length>0&&k.forEach(V=>{if(v=V,O.startx===O.stopx){const Y=o[j.from],G=o[j.to];v.from=Math.min(Y.x-O.width/2,Y.x-Y.width/2,v.from),v.to=Math.max(G.x+O.width/2,G.x+Y.width/2,v.to),v.width=Math.max(v.width,Math.abs(v.to-v.from))-Ln.labelBoxWidth}else v.from=Math.min(O.startx,v.from),v.to=Math.max(O.stopx,v.to),v.width=Math.max(v.width,O.width)-Ln.labelBoxWidth}))}),Hi.activations=[],ne.debug("Loop type widths:",y),y},RUe={bounds:Hi,drawActors:bwe,drawActorsPopup:DUe,setConf:PUe,draw:EJt};var wwe=function(){var s=function(Ot,Vt,Rt,Gt){for(Rt=Rt||{},Gt=Ot.length;Gt--;Rt[Ot[Gt]]=Vt);return Rt},o=[1,2],f=[1,3],m=[1,5],y=[1,7],k=[2,5],v=[1,15],A=[1,17],O=[1,21],j=[1,22],z=[1,23],V=[1,24],Y=[1,37],G=[1,25],J=[1,26],ce=[1,27],me=[1,28],_e=[1,29],we=[1,32],Se=[1,33],Oe=[1,34],De=[1,35],Ve=[1,36],ke=[1,39],Ie=[1,40],ge=[1,41],Me=[1,42],Ne=[1,38],xe=[1,45],qe=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ae=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Qe=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Ce=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],nt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"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,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],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(Vt,Rt,Gt,_n,On,Dt,ai){var Ft=Dt.length-1;switch(On){case 4:return _n.setRootDoc(Dt[Ft]),Dt[Ft];case 5:this.$=[];break;case 6:Dt[Ft]!="nl"&&(Dt[Ft-1].push(Dt[Ft]),this.$=Dt[Ft-1]);break;case 7:case 8:this.$=Dt[Ft];break;case 9:this.$="nl";break;case 12:this.$=Dt[Ft];break;case 13:const et=Dt[Ft-1];et.description=_n.trimColon(Dt[Ft]),this.$=et;break;case 14:this.$={stmt:"relation",state1:Dt[Ft-2],state2:Dt[Ft]};break;case 15:const ht=_n.trimColon(Dt[Ft]);this.$={stmt:"relation",state1:Dt[Ft-3],state2:Dt[Ft-1],description:ht};break;case 19:this.$={stmt:"state",id:Dt[Ft-3],type:"default",description:"",doc:Dt[Ft-1]};break;case 20:var $t=Dt[Ft],Pt=Dt[Ft-2].trim();if(Dt[Ft].match(":")){var qt=Dt[Ft].split(":");$t=qt[0],Pt=[Pt,qt[1]]}this.$={stmt:"state",id:$t,type:"default",description:Pt};break;case 21:this.$={stmt:"state",id:Dt[Ft-3],type:"default",description:Dt[Ft-5],doc:Dt[Ft-1]};break;case 22:this.$={stmt:"state",id:Dt[Ft],type:"fork"};break;case 23:this.$={stmt:"state",id:Dt[Ft],type:"join"};break;case 24:this.$={stmt:"state",id:Dt[Ft],type:"choice"};break;case 25:this.$={stmt:"state",id:_n.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:Dt[Ft-1].trim(),note:{position:Dt[Ft-2].trim(),text:Dt[Ft].trim()}};break;case 30:this.$=Dt[Ft].trim(),_n.setAccTitle(this.$);break;case 31:case 32:this.$=Dt[Ft].trim(),_n.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:Dt[Ft-1].trim(),classes:Dt[Ft].trim()};break;case 35:this.$={stmt:"applyClass",id:Dt[Ft-1].trim(),styleClass:Dt[Ft].trim()};break;case 38:_n.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:_n.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:_n.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:_n.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:Dt[Ft].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:Dt[Ft-2].trim(),classes:[Dt[Ft].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:Dt[Ft-2].trim(),classes:[Dt[Ft].trim()],type:"default",description:""};break;case 50:_n.parseDirective("%%{","open_directive");break;case 51:_n.parseDirective(Dt[Ft],"type_directive");break;case 52:Dt[Ft]=Dt[Ft].trim().replace(/'/g,'"'),_n.parseDirective(Dt[Ft],"arg_directive");break;case 53:_n.parseDirective("}%%","close_directive","state");break}},table:[{3:1,4:o,5:f,6:4,7:m,45:6,60:y},{1:[3]},{3:8,4:o,5:f,6:4,7:m,45:6,60:y},{3:9,4:o,5:f,6:4,7:m,45:6,60:y},{3:10,4:o,5:f,6:4,7:m,45:6,60:y},s([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],k,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:v,5:A,6:30,9:14,10:16,11:18,12:19,13:20,16:O,17:j,19:z,22:V,24:Y,25:G,26:J,27:ce,28:me,29:_e,32:31,33:we,35:Se,37:Oe,38:De,42:Ve,45:6,50:ke,51:Ie,52:ge,53:Me,56:Ne,60:y},{47:43,48:[1,44],63:xe},s([48,63],[2,51]),s(qe,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:O,17:j,19:z,22:V,24:Y,25:G,26:J,27:ce,28:me,29:_e,32:31,33:we,35:Se,37:Oe,38:De,42:Ve,45:6,50:ke,51:Ie,52:ge,53:Me,56:Ne,60:y},s(qe,[2,8]),s(qe,[2,9]),s(qe,[2,10]),s(qe,[2,11]),s(qe,[2,12],{14:[1,47],15:[1,48]}),s(qe,[2,16]),{18:[1,49]},s(qe,[2,18],{20:[1,50]}),{23:[1,51]},s(qe,[2,22]),s(qe,[2,23]),s(qe,[2,24]),s(qe,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},s(qe,[2,28]),s(qe,[2,29]),{34:[1,56]},{36:[1,57]},s(qe,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},s(ae,[2,44],{57:[1,61]}),s(ae,[2,45],{57:[1,62]}),s(qe,[2,38]),s(qe,[2,39]),s(qe,[2,40]),s(qe,[2,41]),s(Qe,[2,36]),{49:63,62:[1,64]},s(Qe,[2,53]),s(qe,[2,7]),s(qe,[2,13]),{13:65,24:Y,56:Ne},s(qe,[2,17]),s(Ce,k,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},s(qe,[2,30]),s(qe,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:xe},{63:[2,52]},s(qe,[2,14],{14:[1,76]}),{4:v,5:A,6:30,9:14,10:16,11:18,12:19,13:20,16:O,17:j,19:z,21:[1,77],22:V,24:Y,25:G,26:J,27:ce,28:me,29:_e,32:31,33:we,35:Se,37:Oe,38:De,42:Ve,45:6,50:ke,51:Ie,52:ge,53:Me,56:Ne,60:y},s(qe,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},s(qe,[2,33]),s(qe,[2,34]),s(qe,[2,35]),s(ae,[2,46]),s(ae,[2,47]),s(Qe,[2,37]),s(qe,[2,15]),s(qe,[2,19]),s(Ce,k,{8:81}),s(qe,[2,26]),s(qe,[2,27]),{4:v,5:A,6:30,9:14,10:16,11:18,12:19,13:20,16:O,17:j,19:z,21:[1,82],22:V,24:Y,25:G,26:J,27:ce,28:me,29:_e,32:31,33:we,35:Se,37:Oe,38:De,42:Ve,45:6,50:ke,51:Ie,52:ge,53:Me,56:Ne,60:y},s(qe,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(Vt,Rt){if(Rt.recoverable)this.trace(Vt);else{var Gt=new Error(Vt);throw Gt.hash=Rt,Gt}},parse:function(Vt){var Rt=this,Gt=[0],_n=[],On=[null],Dt=[],ai=this.table,Ft="",$t=0,Pt=0,qt=2,et=1,ht=Dt.slice.call(arguments,1),Ut=Object.create(this.lexer),it={yy:{}};for(var Zn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Zn)&&(it.yy[Zn]=this.yy[Zn]);Ut.setInput(Vt,it.yy),it.yy.lexer=Ut,it.yy.parser=this,typeof Ut.yylloc>"u"&&(Ut.yylloc={});var Ge=Ut.yylloc;Dt.push(Ge);var ws=Ut.options&&Ut.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xn(){var Ys;return Ys=_n.pop()||Ut.lex()||et,typeof Ys!="number"&&(Ys instanceof Array&&(_n=Ys,Ys=_n.pop()),Ys=Rt.symbols_[Ys]||Ys),Ys}for(var Zi,gi,Cr,yr,Sr={},or,Ar,bo,wo;;){if(gi=Gt[Gt.length-1],this.defaultActions[gi]?Cr=this.defaultActions[gi]:((Zi===null||typeof Zi>"u")&&(Zi=xn()),Cr=ai[gi]&&ai[gi][Zi]),typeof Cr>"u"||!Cr.length||!Cr[0]){var ra="";wo=[];for(or in ai[gi])this.terminals_[or]&&or>qt&&wo.push("'"+this.terminals_[or]+"'");Ut.showPosition?ra="Parse error on line "+($t+1)+`:
`+Ut.showPosition()+`
Expecting `+wo.join(", ")+", got '"+(this.terminals_[Zi]||Zi)+"'":ra="Parse error on line "+($t+1)+": Unexpected "+(Zi==et?"end of input":"'"+(this.terminals_[Zi]||Zi)+"'"),this.parseError(ra,{text:Ut.match,token:this.terminals_[Zi]||Zi,line:Ut.yylineno,loc:Ge,expected:wo})}if(Cr[0]instanceof Array&&Cr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+gi+", token: "+Zi);switch(Cr[0]){case 1:Gt.push(Zi),On.push(Ut.yytext),Dt.push(Ut.yylloc),Gt.push(Cr[1]),Zi=null,Pt=Ut.yyleng,Ft=Ut.yytext,$t=Ut.yylineno,Ge=Ut.yylloc;break;case 2:if(Ar=this.productions_[Cr[1]][1],Sr.$=On[On.length-Ar],Sr._$={first_line:Dt[Dt.length-(Ar||1)].first_line,last_line:Dt[Dt.length-1].last_line,first_column:Dt[Dt.length-(Ar||1)].first_column,last_column:Dt[Dt.length-1].last_column},ws&&(Sr._$.range=[Dt[Dt.length-(Ar||1)].range[0],Dt[Dt.length-1].range[1]]),yr=this.performAction.apply(Sr,[Ft,Pt,$t,it.yy,Cr[1],On,Dt].concat(ht)),typeof yr<"u")return yr;Ar&&(Gt=Gt.slice(0,-1*Ar*2),On=On.slice(0,-1*Ar),Dt=Dt.slice(0,-1*Ar)),Gt.push(this.productions_[Cr[1]][0]),On.push(Sr.$),Dt.push(Sr._$),bo=ai[Gt[Gt.length-2]][Gt[Gt.length-1]],Gt.push(bo);break;case 3:return!0}}return!0}},Ee=function(){var Ot={EOF:1,parseError:function(Rt,Gt){if(this.yy.parser)this.yy.parser.parseError(Rt,Gt);else throw new Error(Rt)},setInput:function(Vt,Rt){return this.yy=Rt||this.yy||{},this._input=Vt,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 Vt=this._input[0];this.yytext+=Vt,this.yyleng++,this.offset++,this.match+=Vt,this.matched+=Vt;var Rt=Vt.match(/(?:\r\n?|\n).*/g);return Rt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Vt},unput:function(Vt){var Rt=Vt.length,Gt=Vt.split(/(?:\r\n?|\n)/g);this._input=Vt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Rt),this.offset-=Rt;var _n=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 On=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===_n.length?this.yylloc.first_column:0)+_n[_n.length-Gt.length].length-Gt[0].length:this.yylloc.first_column-Rt},this.options.ranges&&(this.yylloc.range=[On[0],On[0]+this.yyleng-Rt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(Vt){this.unput(this.match.slice(Vt))},pastInput:function(){var Vt=this.matched.substr(0,this.matched.length-this.match.length);return(Vt.length>20?"...":"")+Vt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Vt=this.match;return Vt.length<20&&(Vt+=this._input.substr(0,20-Vt.length)),(Vt.substr(0,20)+(Vt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Vt=this.pastInput(),Rt=new Array(Vt.length+1).join("-");return Vt+this.upcomingInput()+`
`+Rt+"^"},test_match:function(Vt,Rt){var Gt,_n,On;if(this.options.backtrack_lexer&&(On={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&&(On.yylloc.range=this.yylloc.range.slice(0))),_n=Vt[0].match(/(?:\r\n?|\n).*/g),_n&&(this.yylineno+=_n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_n?_n[_n.length-1].length-_n[_n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Vt[0].length},this.yytext+=Vt[0],this.match+=Vt[0],this.matches=Vt,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(Vt[0].length),this.matched+=Vt[0],Gt=this.performAction.call(this,this.yy,this,Rt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Gt)return Gt;if(this._backtrack){for(var Dt in On)this[Dt]=On[Dt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Vt,Rt,Gt,_n;this._more||(this.yytext="",this.match="");for(var On=this._currentRules(),Dt=0;Dt<On.length;Dt++)if(Gt=this._input.match(this.rules[On[Dt]]),Gt&&(!Rt||Gt[0].length>Rt[0].length)){if(Rt=Gt,_n=Dt,this.options.backtrack_lexer){if(Vt=this.test_match(Gt,On[Dt]),Vt!==!1)return Vt;if(this._backtrack){Rt=!1;continue}else return!1}else if(!this.options.flex)break}return Rt?(Vt=this.test_match(Rt,On[_n]),Vt!==!1?Vt:!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(){var Rt=this.next();return Rt||this.lex()},begin:function(Rt){this.conditionStack.push(Rt)},popState:function(){var Rt=this.conditionStack.length-1;return Rt>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(Rt){return Rt=this.conditionStack.length-1-Math.abs(Rt||0),Rt>=0?this.conditionStack[Rt]:"INITIAL"},pushState:function(Rt){this.begin(Rt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Rt,Gt,_n,On){switch(_n){case 0:return 41;case 1:return 50;case 2:return 51;case 3:return 52;case 4:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:break;case 11:break;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:break;case 17:return this.pushState("SCALE"),17;case 18:return 18;case 19:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 25:this.popState();break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 34:return this.pushState("SCALE"),17;case 35:return 18;case 36:this.popState();break;case 37:this.pushState("STATE");break;case 38:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),25;case 39:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),26;case 40:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-10).trim(),27;case 41:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),25;case 42:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),26;case 43:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-10).trim(),27;case 44:return 50;case 45:return 51;case 46:return 52;case 47:return 53;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:return this.popState(),"ID";case 51:this.popState();break;case 52:return"STATE_DESCR";case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;case 56:break;case 57:return this.popState(),21;case 58:break;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 64:break;case 65:return"NOTE_TEXT";case 66:return this.popState(),"ID";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),Gt.yytext=Gt.yytext.substr(2).trim(),31;case 69:return this.popState(),Gt.yytext=Gt.yytext.slice(0,-8).trim(),31;case 70:return 7;case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return Gt.yytext=Gt.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 79:return 5;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*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,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/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,/^(?:%%(?!\{)[^\n]*)/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,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};return Ot}();nt.lexer=Ee;function kt(){this.yy={}}return kt.prototype=nt,nt.Parser=kt,new kt}();wwe.parser=wwe;const BUe=wwe,IJt=(s,o)=>{var f;return((f=o==null?void 0:o.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper"?!1:s.match(/^\s*stateDiagram/)!==null},OJt=(s,o)=>{var f;return!!(s.match(/^\s*stateDiagram-v2/)!==null||s.match(/^\s*stateDiagram/)&&((f=o==null?void 0:o.state)==null?void 0:f.defaultRenderer)==="dagre-wrapper")},DJt="LR",PJt="TB",VJ="state",ywe="relation",NJt="classDef",RJt="applyClass",Wj="default",FUe="divider",_we="[*]",jUe="start",$Ue=_we,HUe="end",zUe="color",VUe="fill",BJt="bgFill",FJt=",";function qUe(){return{}}let UUe=DJt,qJ=[],Kj=qUe();const GUe=()=>({relations:[],states:{},documents:{}});let UJ={root:GUe()},Ep=UJ.root,Yj=0,WUe=0;const jJt={LINE:0,DOTTED_LINE:1},$Jt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},GJ=s=>JSON.parse(JSON.stringify(s)),HJt=function(s,o,f){Sf.parseDirective(this,s,o,f)},zJt=s=>{ne.info("Setting root doc",s),qJ=s},VJt=()=>qJ,WJ=(s,o,f)=>{if(o.stmt===ywe)WJ(s,o.state1,!0),WJ(s,o.state2,!1);else if(o.stmt===VJ&&(o.id==="[*]"?(o.id=f?s.id+"_start":s.id+"_end",o.start=f):o.id=o.id.trim()),o.doc){const m=[];let y=[],k;for(k=0;k<o.doc.length;k++)if(o.doc[k].type===FUe){const v=GJ(o.doc[k]);v.doc=GJ(y),m.push(v),y=[]}else y.push(o.doc[k]);if(m.length>0&&y.length>0){const v={stmt:VJ,id:$$e(),type:"divider",doc:GJ(y)};m.push(GJ(v)),o.doc=m}o.doc.forEach(v=>WJ(o,v,!0))}},qJt=()=>(WJ({id:"root"},{id:"root",doc:qJ},!0),{id:"root",doc:qJ}),UJt=s=>{let o;s.doc?o=s.doc:o=s,ne.info(o),KUe(!0),ne.info("Extract",o),o.forEach(f=>{switch(f.stmt){case VJ:zS(f.id.trim(),f.type,f.doc,f.description,f.note,f.classes,f.styles,f.textStyles);break;case ywe:YUe(f.state1,f.state2,f.description);break;case NJt:XUe(f.id.trim(),f.classes);break;case RJt:Twe(f.id.trim(),f.styleClass);break}})},zS=function(s,o=Wj,f=null,m=null,y=null,k=null,v=null,A=null){const O=s==null?void 0:s.trim();Ep.states[O]===void 0?(ne.info("Adding state ",O,m),Ep.states[O]={id:O,descriptions:[],type:o,doc:f,note:y,classes:[],styles:[],textStyles:[]}):(Ep.states[O].doc||(Ep.states[O].doc=f),Ep.states[O].type||(Ep.states[O].type=o)),m&&(ne.info("Setting state description",O,m),typeof m=="string"&&Ewe(O,m.trim()),typeof m=="object"&&m.forEach(j=>Ewe(O,j.trim()))),y&&(Ep.states[O].note=y,Ep.states[O].note.text=Oo.sanitizeText(Ep.states[O].note.text,Qt())),k&&(ne.info("Setting state classes",O,k),(typeof k=="string"?[k]:k).forEach(z=>Twe(O,z.trim()))),v&&(ne.info("Setting state styles",O,v),(typeof v=="string"?[v]:v).forEach(z=>ten(O,z.trim()))),A&&(ne.info("Setting state styles",O,v),(typeof A=="string"?[A]:A).forEach(z=>nen(O,z.trim())))},KUe=function(s){UJ={root:GUe()},Ep=UJ.root,Yj=0,Kj=qUe(),s||hv()},Xj=function(s){return Ep.states[s]},GJt=function(){return Ep.states},WJt=function(){ne.info("Documents = ",UJ)},KJt=function(){return Ep.relations};function xwe(s=""){let o=s;return s===_we&&(Yj++,o=`${jUe}${Yj}`),o}function kwe(s="",o=Wj){return s===_we?jUe:o}function YJt(s=""){let o=s;return s===$Ue&&(Yj++,o=`${HUe}${Yj}`),o}function XJt(s="",o=Wj){return s===$Ue?HUe:o}function QJt(s,o,f){let m=xwe(s.id.trim()),y=kwe(s.id.trim(),s.type),k=xwe(o.id.trim()),v=kwe(o.id.trim(),o.type);zS(m,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),zS(k,v,o.doc,o.description,o.note,o.classes,o.styles,o.textStyles),Ep.relations.push({id1:m,id2:k,relationTitle:Oo.sanitizeText(f,Qt())})}const YUe=function(s,o,f){if(typeof s=="object")QJt(s,o,f);else{const m=xwe(s.trim()),y=kwe(s),k=YJt(o.trim()),v=XJt(o);zS(m,y),zS(k,v),Ep.relations.push({id1:m,id2:k,title:Oo.sanitizeText(f,Qt())})}},Ewe=function(s,o){const f=Ep.states[s],m=o.startsWith(":")?o.replace(":","").trim():o;f.descriptions.push(Oo.sanitizeText(m,Qt()))},ZJt=function(s){return s.substring(0,1)===":"?s.substr(2).trim():s.trim()},JJt=()=>(WUe++,"divider-id-"+WUe),XUe=function(s,o=""){Kj[s]===void 0&&(Kj[s]={id:s,styles:[],textStyles:[]});const f=Kj[s];o!=null&&o.split(FJt).forEach(m=>{const y=m.replace(/([^;]*);/,"$1").trim();if(m.match(zUe)){const v=y.replace(VUe,BJt).replace(zUe,VUe);f.textStyles.push(v)}f.styles.push(y)})},een=function(){return Kj},Twe=function(s,o){s.split(",").forEach(function(f){let m=Xj(f);if(m===void 0){const y=f.trim();zS(y),m=Xj(y)}m.classes.push(o)})},ten=function(s,o){const f=Xj(s);f!==void 0&&f.textStyles.push(o)},nen=function(s,o){const f=Xj(s);f!==void 0&&f.textStyles.push(o)},kx={parseDirective:HJt,getConfig:()=>Qt().state,addState:zS,clear:KUe,getState:Xj,getStates:GJt,getRelations:KJt,getClasses:een,getDirection:()=>UUe,addRelation:YUe,getDividerId:JJt,setDirection:s=>{UUe=s},cleanupLabel:ZJt,lineType:jJt,relationType:$Jt,logDocuments:WJt,getRootDoc:VJt,setRootDoc:zJt,getRootDocV2:qJt,extract:UJt,trimColon:s=>s&&s[0]===":"?s.substr(1).trim():s.trim(),getAccTitle:qb,setAccTitle:fv,getAccDescription:Gb,setAccDescription:Ub,addStyleClass:XUe,setCssClass:Twe,addDescription:Ewe,setDiagramTitle:A3,getDiagramTitle:M3},ren=s=>s.append("circle").attr("class","start-state").attr("r",Qt().state.sizeUnit).attr("cx",Qt().state.padding+Qt().state.sizeUnit).attr("cy",Qt().state.padding+Qt().state.sizeUnit),ien=s=>s.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",Qt().state.textHeight).attr("class","divider").attr("x2",Qt().state.textHeight*2).attr("y1",0).attr("y2",0),sen=(s,o)=>{const f=s.append("text").attr("x",2*Qt().state.padding).attr("y",Qt().state.textHeight+2*Qt().state.padding).attr("font-size",Qt().state.fontSize).attr("class","state-title").text(o.id),m=f.node().getBBox();return s.insert("rect",":first-child").attr("x",Qt().state.padding).attr("y",Qt().state.padding).attr("width",m.width+2*Qt().state.padding).attr("height",m.height+2*Qt().state.padding).attr("rx",Qt().state.radius),f},aen=(s,o)=>{const f=function(Y,G,J){const ce=Y.append("tspan").attr("x",2*Qt().state.padding).text(G);J||ce.attr("dy",Qt().state.textHeight)},y=s.append("text").attr("x",2*Qt().state.padding).attr("y",Qt().state.textHeight+1.3*Qt().state.padding).attr("font-size",Qt().state.fontSize).attr("class","state-title").text(o.descriptions[0]).node().getBBox(),k=y.height,v=s.append("text").attr("x",Qt().state.padding).attr("y",k+Qt().state.padding*.4+Qt().state.dividerMargin+Qt().state.textHeight).attr("class","state-description");let A=!0,O=!0;o.descriptions.forEach(function(Y){A||(f(v,Y,O),O=!1),A=!1});const j=s.append("line").attr("x1",Qt().state.padding).attr("y1",Qt().state.padding+k+Qt().state.dividerMargin/2).attr("y2",Qt().state.padding+k+Qt().state.dividerMargin/2).attr("class","descr-divider"),z=v.node().getBBox(),V=Math.max(z.width,y.width);return j.attr("x2",V+3*Qt().state.padding),s.insert("rect",":first-child").attr("x",Qt().state.padding).attr("y",Qt().state.padding).attr("width",V+2*Qt().state.padding).attr("height",z.height+k+2*Qt().state.padding).attr("rx",Qt().state.radius),s},oen=(s,o,f)=>{const m=Qt().state.padding,y=2*Qt().state.padding,k=s.node().getBBox(),v=k.width,A=k.x,O=s.append("text").attr("x",0).attr("y",Qt().state.titleShift).attr("font-size",Qt().state.fontSize).attr("class","state-title").text(o.id),z=O.node().getBBox().width+y;let V=Math.max(z,v);V===v&&(V=V+y);let Y;const G=s.node().getBBox();o.doc,Y=A-m,z>v&&(Y=(v-V)/2+m),Math.abs(A-G.x)<m&&z>v&&(Y=A-(z-v)/2);const J=1-Qt().state.textHeight;return s.insert("rect",":first-child").attr("x",Y).attr("y",J).attr("class",f?"alt-composit":"composit").attr("width",V).attr("height",G.height+Qt().state.textHeight+Qt().state.titleShift+1).attr("rx","0"),O.attr("x",Y+m),z<=v&&O.attr("x",A+(V-y)/2-z/2+m),s.insert("rect",":first-child").attr("x",Y).attr("y",Qt().state.titleShift-Qt().state.textHeight-Qt().state.padding).attr("width",V).attr("height",Qt().state.textHeight*3).attr("rx",Qt().state.radius),s.insert("rect",":first-child").attr("x",Y).attr("y",Qt().state.titleShift-Qt().state.textHeight-Qt().state.padding).attr("width",V).attr("height",G.height+3+2*Qt().state.textHeight).attr("rx",Qt().state.radius),s},cen=s=>(s.append("circle").attr("class","end-state-outer").attr("r",Qt().state.sizeUnit+Qt().state.miniPadding).attr("cx",Qt().state.padding+Qt().state.sizeUnit+Qt().state.miniPadding).attr("cy",Qt().state.padding+Qt().state.sizeUnit+Qt().state.miniPadding),s.append("circle").attr("class","end-state-inner").attr("r",Qt().state.sizeUnit).attr("cx",Qt().state.padding+Qt().state.sizeUnit+2).attr("cy",Qt().state.padding+Qt().state.sizeUnit+2)),len=(s,o)=>{let f=Qt().state.forkWidth,m=Qt().state.forkHeight;if(o.parentId){let y=f;f=m,m=y}return s.append("rect").style("stroke","black").style("fill","black").attr("width",f).attr("height",m).attr("x",Qt().state.padding).attr("y",Qt().state.padding)},uen=(s,o,f,m)=>{let y=0;const k=m.append("text");k.style("text-anchor","start"),k.attr("class","noteText");let v=s.replace(/\r\n/g,"<br/>");v=v.replace(/\n/g,"<br/>");const A=v.split(Oo.lineBreakRegex);let O=1.25*Qt().state.noteMargin;for(const j of A){const z=j.trim();if(z.length>0){const V=k.append("tspan");if(V.text(z),O===0){const Y=V.node().getBBox();O+=Y.height}y+=O,V.attr("x",o+Qt().state.noteMargin),V.attr("y",f+y+1.25*Qt().state.noteMargin)}}return{textWidth:k.node().getBBox().width,textHeight:y}},hen=(s,o)=>{o.attr("class","state-note");const f=o.append("rect").attr("x",0).attr("y",Qt().state.padding),m=o.append("g"),{textWidth:y,textHeight:k}=uen(s,0,0,m);return f.attr("height",k+2*Qt().state.noteMargin),f.attr("width",y+Qt().state.noteMargin*2),f},QUe=function(s,o){const f=o.id,m={id:f,label:o.id,width:0,height:0},y=s.append("g").attr("id",f).attr("class","stateGroup");o.type==="start"&&ren(y),o.type==="end"&&cen(y),(o.type==="fork"||o.type==="join")&&len(y,o),o.type==="note"&&hen(o.note.text,y),o.type==="divider"&&ien(y),o.type==="default"&&o.descriptions.length===0&&sen(y,o),o.type==="default"&&o.descriptions.length>0&&aen(y,o);const k=y.node().getBBox();return m.width=k.width+2*Qt().state.padding,m.height=k.height+2*Qt().state.padding,m};let ZUe=0;const fen=function(s,o,f){const m=function(O){switch(O){case kx.relationType.AGGREGATION:return"aggregation";case kx.relationType.EXTENSION:return"extension";case kx.relationType.COMPOSITION:return"composition";case kx.relationType.DEPENDENCY:return"dependency"}};o.points=o.points.filter(O=>!Number.isNaN(O.y));const y=o.points,k=bS().x(function(O){return O.x}).y(function(O){return O.y}).curve(yO),v=s.append("path").attr("d",k(y)).attr("id","edge"+ZUe).attr("class","transition");let A="";if(Qt().state.arrowMarkerAbsolute&&(A=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,A=A.replace(/\(/g,"\\("),A=A.replace(/\)/g,"\\)")),v.attr("marker-end","url("+A+"#"+m(kx.relationType.DEPENDENCY)+"End)"),f.title!==void 0){const O=s.append("g").attr("class","stateLabel"),{x:j,y:z}=Go.calcLabelPosition(o.points),V=Oo.getRows(f.title);let Y=0;const G=[];let J=0,ce=0;for(let we=0;we<=V.length;we++){const Se=O.append("text").attr("text-anchor","middle").text(V[we]).attr("x",j).attr("y",z+Y),Oe=Se.node().getBBox();J=Math.max(J,Oe.width),ce=Math.min(ce,Oe.x),ne.info(Oe.x,j,z+Y),Y===0&&(Y=Se.node().getBBox().height,ne.info("Title height",Y,z)),G.push(Se)}let me=Y*V.length;if(V.length>1){const we=(V.length-1)*Y*.5;G.forEach((Se,Oe)=>Se.attr("y",z+Oe*Y-we)),me=Y*V.length}const _e=O.node().getBBox();O.insert("rect",":first-child").attr("class","box").attr("x",j-J/2-Qt().state.padding/2).attr("y",z-me/2-Qt().state.padding/2-3.5).attr("width",J+Qt().state.padding).attr("height",me+Qt().state.padding),ne.info(_e)}ZUe++};let Yb;const Swe={},den=function(){},gen=function(s){s.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},pen=function(s,o,f,m){Yb=Qt().state;const y=Qt().securityLevel;let k;y==="sandbox"&&(k=Or("#i"+o));const v=Or(y==="sandbox"?k.nodes()[0].contentDocument.body:"body"),A=y==="sandbox"?k.nodes()[0].contentDocument:document;ne.debug("Rendering diagram "+s);const O=v.select(`[id='${o}']`);gen(O),new P1({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const z=m.db.getRootDoc();JUe(z,O,void 0,!1,v,A,m);const V=Yb.padding,Y=O.node().getBBox(),G=Y.width+V*2,J=Y.height+V*2,ce=G*1.75;C3(O,J,ce,Yb.useMaxWidth),O.attr("viewBox",`${Y.x-Yb.padding} ${Y.y-Yb.padding} `+G+" "+J)},men=s=>s?s.length*Yb.fontSizeFactor:1,JUe=(s,o,f,m,y,k,v)=>{const A=new P1({compound:!0,multigraph:!0});let O,j=!0;for(O=0;O<s.length;O++)if(s[O].stmt==="relation"){j=!1;break}f?A.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:j?1:Yb.edgeLengthFactor,nodeSep:j?1:50,isMultiGraph:!0}):A.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:j?1:Yb.edgeLengthFactor,nodeSep:j?1:50,ranker:"tight-tree",isMultiGraph:!0}),A.setDefaultEdgeLabel(function(){return{}}),v.db.extract(s);const z=v.db.getStates(),V=v.db.getRelations(),Y=Object.keys(z);for(const _e of Y){const we=z[_e];f&&(we.parentId=f);let Se;if(we.doc){let Oe=o.append("g").attr("id",we.id).attr("class","stateGroup");Se=JUe(we.doc,Oe,we.id,!m,y,k,v);{Oe=oen(Oe,we,m);let De=Oe.node().getBBox();Se.width=De.width,Se.height=De.height+Yb.padding/2,Swe[we.id]={y:Yb.compositTitleSize}}}else Se=QUe(o,we);if(we.note){const Oe={descriptions:[],id:we.id+"-note",note:we.note,type:"note"},De=QUe(o,Oe);we.note.position==="left of"?(A.setNode(Se.id+"-note",De),A.setNode(Se.id,Se)):(A.setNode(Se.id,Se),A.setNode(Se.id+"-note",De)),A.setParent(Se.id,Se.id+"-group"),A.setParent(Se.id+"-note",Se.id+"-group")}else A.setNode(Se.id,Se)}ne.debug("Count=",A.nodeCount(),A);let G=0;V.forEach(function(_e){G++,ne.debug("Setting edge",_e),A.setEdge(_e.id1,_e.id2,{relation:_e,width:men(_e.title),height:Yb.labelHeight*Oo.getRows(_e.title).length,labelpos:"c"},"id"+G)}),qO(A),ne.debug("Graph after layout",A.nodes());const J=o.node();A.nodes().forEach(function(_e){_e!==void 0&&A.node(_e)!==void 0?(ne.warn("Node "+_e+": "+JSON.stringify(A.node(_e))),y.select("#"+J.id+" #"+_e).attr("transform","translate("+(A.node(_e).x-A.node(_e).width/2)+","+(A.node(_e).y+(Swe[_e]?Swe[_e].y:0)-A.node(_e).height/2)+" )"),y.select("#"+J.id+" #"+_e).attr("data-x-shift",A.node(_e).x-A.node(_e).width/2),k.querySelectorAll("#"+J.id+" #"+_e+" .divider").forEach(Se=>{const Oe=Se.parentElement;let De=0,Ve=0;Oe&&(Oe.parentElement&&(De=Oe.parentElement.getBBox().width),Ve=parseInt(Oe.getAttribute("data-x-shift"),10),Number.isNaN(Ve)&&(Ve=0)),Se.setAttribute("x1",0-Ve+8),Se.setAttribute("x2",De-Ve-8)})):ne.debug("No Node "+_e+": "+JSON.stringify(A.node(_e)))});let ce=J.getBBox();A.edges().forEach(function(_e){_e!==void 0&&A.edge(_e)!==void 0&&(ne.debug("Edge "+_e.v+" -> "+_e.w+": "+JSON.stringify(A.edge(_e))),fen(o,A.edge(_e),A.edge(_e).relation))}),ce=J.getBBox();const me={id:f||"root",label:f||"root",width:0,height:0};return me.width=ce.width+2*Yb.padding,me.height=ce.height+2*Yb.padding,ne.debug("Doc rendered",me,A),me},ven={setConf:den,draw:pen},KJ="rect",Cwe="rectWithTitle",ben="start",wen="end",yen="divider",_en="roundedWithTitle",xen="note",ken="noteGroup",eD="statediagram",Een=`${eD}-state`,eGe="transition",Ten="note",Sen=`${eGe} note-edge`,Cen=`${eD}-${Ten}`,Aen=`${eD}-cluster`,Men=`${eD}-cluster-alt`,tGe="parent",nGe="note",Len="state",Awe="----",Ien=`${Awe}${nGe}`,rGe=`${Awe}${tGe}`,iGe="fill:none",sGe="fill: #333",aGe="c",oGe="text",cGe="normal";let YJ={},g7=0;const Oen=function(s){const o=Object.keys(s);for(const f of o)s[f]},Den=function(s,o){ne.trace("Extracting classes"),o.db.clear();try{return o.parser.parse(s),o.db.extract(o.db.getRootDocV2()),o.db.getClasses()}catch(f){return f}};function Pen(s){return s==null?"":s.classes?s.classes.join(" "):""}function Mwe(s="",o=0,f="",m=Awe){const y=f!==null&&f.length>0?`${m}${f}`:"";return`${Len}-${s}${y}-${o}`}const Qj=(s,o,f,m,y,k)=>{const v=f.id,A=Pen(m[v]);if(v!=="root"){let O=KJ;f.start===!0&&(O=ben),f.start===!1&&(O=wen),f.type!==Wj&&(O=f.type),YJ[v]||(YJ[v]={id:v,shape:O,description:Oo.sanitizeText(v,Qt()),classes:`${A} ${Een}`});const j=YJ[v];f.description&&(Array.isArray(j.description)?(j.shape=Cwe,j.description.push(f.description)):j.description.length>0?(j.shape=Cwe,j.description===v?j.description=[f.description]:j.description=[j.description,f.description]):(j.shape=KJ,j.description=f.description),j.description=Oo.sanitizeTextOrArray(j.description,Qt())),j.description.length===1&&j.shape===Cwe&&(j.shape=KJ),!j.type&&f.doc&&(ne.info("Setting cluster for ",v,Lwe(f)),j.type="group",j.dir=Lwe(f),j.shape=f.type===FUe?yen:_en,j.classes=j.classes+" "+Aen+" "+(k?Men:""));const z={labelStyle:"",shape:j.shape,labelText:j.description,classes:j.classes,style:"",id:v,dir:j.dir,domId:Mwe(v,g7),type:j.type,padding:15};if(f.note){const V={labelStyle:"",shape:xen,labelText:f.note.text,classes:Cen,style:"",id:v+Ien+"-"+g7,domId:Mwe(v,g7,nGe),type:j.type,padding:15},Y={labelStyle:"",shape:ken,labelText:f.note.text,classes:j.classes,style:"",id:v+rGe,domId:Mwe(v,g7,tGe),type:"group",padding:0};g7++;const G=v+rGe;s.setNode(G,Y),s.setNode(V.id,V),s.setNode(v,z),s.setParent(v,G),s.setParent(V.id,G);let J=v,ce=V.id;f.note.position==="left of"&&(J=V.id,ce=v),s.setEdge(J,ce,{arrowhead:"none",arrowType:"",style:iGe,labelStyle:"",classes:Sen,arrowheadStyle:sGe,labelpos:aGe,labelType:oGe,thickness:cGe})}else s.setNode(v,z)}o&&o.id!=="root"&&(ne.trace("Setting node ",v," to be child of its parent ",o.id),s.setParent(v,o.id)),f.doc&&(ne.trace("Adding nodes children "),Nen(s,f,f.doc,m,y,!k))},Nen=(s,o,f,m,y,k)=>{ne.trace("items",f),f.forEach(v=>{switch(v.stmt){case VJ:Qj(s,o,v,m,y,k);break;case Wj:Qj(s,o,v,m,y,k);break;case ywe:{Qj(s,o,v.state1,m,y,k),Qj(s,o,v.state2,m,y,k);const A={id:"edge"+g7,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:iGe,labelStyle:"",label:Oo.sanitizeText(v.description,Qt()),arrowheadStyle:sGe,labelpos:aGe,labelType:oGe,thickness:cGe,classes:eGe};s.setEdge(v.state1.id,v.state2.id,A,g7),g7++}break}})},Lwe=(s,o=PJt)=>{let f=o;if(s.doc)for(let m=0;m<s.doc.length;m++){const y=s.doc[m];y.stmt==="dir"&&(f=y.value)}return f},Ren={setConf:Oen,getClasses:Den,draw:function(s,o,f,m){ne.info("Drawing state diagram (v2)",o),YJ={},m.db.getDirection();const{securityLevel:y,state:k}=Qt(),v=k.nodeSpacing||50,A=k.rankSpacing||50;ne.info(m.db.getRootDocV2()),m.db.extract(m.db.getRootDocV2()),ne.info(m.db.getRootDocV2());const O=m.db.getStates(),j=new P1({multigraph:!0,compound:!0}).setGraph({rankdir:Lwe(m.db.getRootDocV2()),nodesep:v,ranksep:A,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Qj(j,void 0,m.db.getRootDocV2(),O,m.db,!0);let z;y==="sandbox"&&(z=Or("#i"+o));const V=Or(y==="sandbox"?z.nodes()[0].contentDocument.body:"body"),Y=V.select(`[id="${o}"]`),G=V.select("#"+o+" g");E2e(G,j,["barb"],eD,o);const J=8;Go.insertTitle(Y,"statediagramTitleText",k.titleTopMargin,m.db.getDiagramTitle());const ce=Y.node().getBBox(),me=ce.width+J*2,_e=ce.height+J*2;Y.attr("class",eD);const we=Y.node().getBBox();C3(Y,_e,me,k.useMaxWidth);const Se=`${we.x-J} ${we.y-J} ${me} ${_e}`;ne.debug(`viewBox ${Se}`),Y.attr("viewBox",Se);const Oe=document.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const De of Oe){const Ve=De.getBBox(),ke=document.createElementNS("http://www.w3.org/2000/svg",KJ);ke.setAttribute("rx",0),ke.setAttribute("ry",0),ke.setAttribute("width",Ve.width),ke.setAttribute("height",Ve.height),De.insertBefore(ke,De.firstChild)}}};var Iwe=function(){var s=function(ce,me,_e,we){for(_e=_e||{},we=ce.length;we--;_e[ce[we]]=me);return _e},o=[1,2],f=[1,5],m=[6,9,11,17,18,20,22,23,24,26],y=[1,15],k=[1,16],v=[1,17],A=[1,18],O=[1,19],j=[1,20],z=[1,24],V=[4,6,9,11,17,18,20,22,23,24,26],Y={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(me,_e,we,Se,Oe,De,Ve){var ke=De.length-1;switch(Oe){case 1:return De[ke-1];case 3:this.$=[];break;case 4:De[ke-1].push(De[ke]),this.$=De[ke-1];break;case 5:case 6:this.$=De[ke];break;case 7:case 8:this.$=[];break;case 11:Se.setDiagramTitle(De[ke].substr(6)),this.$=De[ke].substr(6);break;case 12:this.$=De[ke].trim(),Se.setAccTitle(this.$);break;case 13:case 14:this.$=De[ke].trim(),Se.setAccDescription(this.$);break;case 15:Se.addSection(De[ke].substr(8)),this.$=De[ke].substr(8);break;case 16:Se.addTask(De[ke-1],De[ke]),this.$="task";break;case 18:Se.parseDirective("%%{","open_directive");break;case 19:Se.parseDirective(De[ke],"type_directive");break;case 20:De[ke]=De[ke].trim().replace(/'/g,'"'),Se.parseDirective(De[ke],"arg_directive");break;case 21:Se.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:o,7:3,12:4,26:f},{1:[3]},s(m,[2,3],{5:6}),{3:7,4:o,7:3,12:4,26:f},{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:y,18:k,20:v,22:A,23:O,24:j,26:f},{1:[2,2]},{14:22,15:[1,23],29:z},s([15,29],[2,19]),s(m,[2,8],{1:[2,1]}),s(m,[2,4]),{7:21,10:25,12:4,17:y,18:k,20:v,22:A,23:O,24:j,26:f},s(m,[2,6]),s(m,[2,7]),s(m,[2,11]),{19:[1,26]},{21:[1,27]},s(m,[2,14]),s(m,[2,15]),{25:[1,28]},s(m,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},s(m,[2,5]),s(m,[2,12]),s(m,[2,13]),s(m,[2,16]),s(V,[2,9]),{14:32,29:z},{29:[2,20]},{11:[1,33]},s(V,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(me,_e){if(_e.recoverable)this.trace(me);else{var we=new Error(me);throw we.hash=_e,we}},parse:function(me){var _e=this,we=[0],Se=[],Oe=[null],De=[],Ve=this.table,ke="",Ie=0,ge=0,Me=2,Ne=1,xe=De.slice.call(arguments,1),qe=Object.create(this.lexer),ae={yy:{}};for(var Qe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qe)&&(ae.yy[Qe]=this.yy[Qe]);qe.setInput(me,ae.yy),ae.yy.lexer=qe,ae.yy.parser=this,typeof qe.yylloc>"u"&&(qe.yylloc={});var Ce=qe.yylloc;De.push(Ce);var nt=qe.options&&qe.options.ranges;typeof ae.yy.parseError=="function"?this.parseError=ae.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ee(){var $t;return $t=Se.pop()||qe.lex()||Ne,typeof $t!="number"&&($t instanceof Array&&(Se=$t,$t=Se.pop()),$t=_e.symbols_[$t]||$t),$t}for(var kt,Ot,Vt,Rt,Gt={},_n,On,Dt,ai;;){if(Ot=we[we.length-1],this.defaultActions[Ot]?Vt=this.defaultActions[Ot]:((kt===null||typeof kt>"u")&&(kt=Ee()),Vt=Ve[Ot]&&Ve[Ot][kt]),typeof Vt>"u"||!Vt.length||!Vt[0]){var Ft="";ai=[];for(_n in Ve[Ot])this.terminals_[_n]&&_n>Me&&ai.push("'"+this.terminals_[_n]+"'");qe.showPosition?Ft="Parse error on line "+(Ie+1)+`:
`+qe.showPosition()+`
Expecting `+ai.join(", ")+", got '"+(this.terminals_[kt]||kt)+"'":Ft="Parse error on line "+(Ie+1)+": Unexpected "+(kt==Ne?"end of input":"'"+(this.terminals_[kt]||kt)+"'"),this.parseError(Ft,{text:qe.match,token:this.terminals_[kt]||kt,line:qe.yylineno,loc:Ce,expected:ai})}if(Vt[0]instanceof Array&&Vt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ot+", token: "+kt);switch(Vt[0]){case 1:we.push(kt),Oe.push(qe.yytext),De.push(qe.yylloc),we.push(Vt[1]),kt=null,ge=qe.yyleng,ke=qe.yytext,Ie=qe.yylineno,Ce=qe.yylloc;break;case 2:if(On=this.productions_[Vt[1]][1],Gt.$=Oe[Oe.length-On],Gt._$={first_line:De[De.length-(On||1)].first_line,last_line:De[De.length-1].last_line,first_column:De[De.length-(On||1)].first_column,last_column:De[De.length-1].last_column},nt&&(Gt._$.range=[De[De.length-(On||1)].range[0],De[De.length-1].range[1]]),Rt=this.performAction.apply(Gt,[ke,ge,Ie,ae.yy,Vt[1],Oe,De].concat(xe)),typeof Rt<"u")return Rt;On&&(we=we.slice(0,-1*On*2),Oe=Oe.slice(0,-1*On),De=De.slice(0,-1*On)),we.push(this.productions_[Vt[1]][0]),Oe.push(Gt.$),De.push(Gt._$),Dt=Ve[we[we.length-2]][we[we.length-1]],we.push(Dt);break;case 3:return!0}}return!0}},G=function(){var ce={EOF:1,parseError:function(_e,we){if(this.yy.parser)this.yy.parser.parseError(_e,we);else throw new Error(_e)},setInput:function(me,_e){return this.yy=_e||this.yy||{},this._input=me,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 me=this._input[0];this.yytext+=me,this.yyleng++,this.offset++,this.match+=me,this.matched+=me;var _e=me.match(/(?:\r\n?|\n).*/g);return _e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),me},unput:function(me){var _e=me.length,we=me.split(/(?:\r\n?|\n)/g);this._input=me+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_e),this.offset-=_e;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),we.length-1&&(this.yylineno-=we.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:we?(we.length===Se.length?this.yylloc.first_column:0)+Se[Se.length-we.length].length-we[0].length:this.yylloc.first_column-_e},this.options.ranges&&(this.yylloc.range=[Oe[0],Oe[0]+this.yyleng-_e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(me){this.unput(this.match.slice(me))},pastInput:function(){var me=this.matched.substr(0,this.matched.length-this.match.length);return(me.length>20?"...":"")+me.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var me=this.match;return me.length<20&&(me+=this._input.substr(0,20-me.length)),(me.substr(0,20)+(me.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var me=this.pastInput(),_e=new Array(me.length+1).join("-");return me+this.upcomingInput()+`
`+_e+"^"},test_match:function(me,_e){var we,Se,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))),Se=me[0].match(/(?:\r\n?|\n).*/g),Se&&(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+me[0].length},this.yytext+=me[0],this.match+=me[0],this.matches=me,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(me[0].length),this.matched+=me[0],we=this.performAction.call(this,this.yy,this,_e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),we)return we;if(this._backtrack){for(var De in Oe)this[De]=Oe[De];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var me,_e,we,Se;this._more||(this.yytext="",this.match="");for(var Oe=this._currentRules(),De=0;De<Oe.length;De++)if(we=this._input.match(this.rules[Oe[De]]),we&&(!_e||we[0].length>_e[0].length)){if(_e=we,Se=De,this.options.backtrack_lexer){if(me=this.test_match(we,Oe[De]),me!==!1)return me;if(this._backtrack){_e=!1;continue}else return!1}else if(!this.options.flex)break}return _e?(me=this.test_match(_e,Oe[Se]),me!==!1?me:!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(){var _e=this.next();return _e||this.lex()},begin:function(_e){this.conditionStack.push(_e)},popState:function(){var _e=this.conditionStack.length-1;return _e>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),_e>=0?this.conditionStack[_e]:"INITIAL"},pushState:function(_e){this.begin(_e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(_e,we,Se,Oe){switch(Se){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:break;case 6:break;case 7:return 11;case 8:break;case 9:break;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}}};return ce}();Y.lexer=G;function J(){this.yy={}}return J.prototype=Y,Y.Parser=J,new J}();Iwe.parser=Iwe;const Ben=Iwe,Fen=s=>s.match(/^\s*journey/)!==null;let tD="";const Owe=[],Zj=[],Jj=[],jen=function(s,o,f){Sf.parseDirective(this,s,o,f)},$en=function(){Owe.length=0,Zj.length=0,tD="",Jj.length=0,hv()},Hen=function(s){tD=s,Owe.push(s)},zen=function(){return Owe},Ven=function(){let s=lGe();const o=100;let f=0;for(;!s&&f<o;)s=lGe(),f++;return Zj.push(...Jj),Zj},qen=function(){const s=[];return Zj.forEach(f=>{f.people&&s.push(...f.people)}),[...new Set(s)].sort()},Uen=function(s,o){const f=o.substr(1).split(":");let m=0,y=[];f.length===1?(m=Number(f[0]),y=[]):(m=Number(f[0]),y=f[1].split(","));const k=y.map(A=>A.trim()),v={section:tD,type:tD,people:k,task:s,score:m};Jj.push(v)},Gen=function(s){const o={section:tD,type:tD,description:s,task:s,classes:[]};Zj.push(o)},lGe=function(){const s=function(f){return Jj[f].processed};let o=!0;for(const[f,m]of Jj.entries())s(f),o=o&&m.processed;return o},uGe={parseDirective:jen,getConfig:()=>Qt().journey,clear:$en,setDiagramTitle:A3,getDiagramTitle:M3,setAccTitle:fv,getAccTitle:qb,setAccDescription:Ub,getAccDescription:Gb,addSection:Hen,getSections:zen,getTasks:Ven,addTask:Uen,addTaskOrg:Gen,getActors:function(){return qen()}},XJ=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},Wen=function(s,o){const m=s.append("circle").attr("cx",o.cx).attr("cy",o.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),y=s.append("g");y.append("circle").attr("cx",o.cx-15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),y.append("circle").attr("cx",o.cx+15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function k(O){const j=KF().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);O.append("path").attr("class","mouth").attr("d",j).attr("transform","translate("+o.cx+","+(o.cy+2)+")")}function v(O){const j=KF().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);O.append("path").attr("class","mouth").attr("d",j).attr("transform","translate("+o.cx+","+(o.cy+7)+")")}function A(O){O.append("line").attr("class","mouth").attr("stroke",2).attr("x1",o.cx-5).attr("y1",o.cy+7).attr("x2",o.cx+5).attr("y2",o.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o.score>3?k(y):o.score<3?v(y):A(y),m},hGe=function(s,o){const f=s.append("circle");return f.attr("cx",o.cx),f.attr("cy",o.cy),f.attr("class","actor-"+o.pos),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("r",o.r),f.class!==void 0&&f.attr("class",f.class),o.title!==void 0&&f.append("title").text(o.title),f},fGe=function(s,o){const f=o.text.replace(/<br\s*\/?>/gi," "),m=s.append("text");m.attr("x",o.x),m.attr("y",o.y),m.attr("class","legend"),m.style("text-anchor",o.anchor),o.class!==void 0&&m.attr("class",o.class);const y=m.append("tspan");return y.attr("x",o.x+o.textMargin*2),y.text(f),m},Ken=function(s,o){function f(y,k,v,A,O){return y+","+k+" "+(y+v)+","+k+" "+(y+v)+","+(k+A-O)+" "+(y+v-O*1.2)+","+(k+A)+" "+y+","+(k+A)}const m=s.append("polygon");m.attr("points",f(o.x,o.y,50,20,7)),m.attr("class","labelBox"),o.y=o.y+o.labelMargin,o.x=o.x+.5*o.labelMargin,fGe(s,o)},Yen=function(s,o,f){const m=s.append("g"),y=Dwe();y.x=o.x,y.y=o.y,y.fill=o.fill,y.width=f.width,y.height=f.height,y.class="journey-section section-type-"+o.num,y.rx=3,y.ry=3,XJ(m,y),gGe(f)(o.text,m,y.x,y.y,y.width,y.height,{class:"journey-section section-type-"+o.num},f,o.colour)};let dGe=-1;const Xen=function(s,o,f){const m=o.x+f.width/2,y=s.append("g");dGe++;const k=300+5*30;y.append("line").attr("id","task"+dGe).attr("x1",m).attr("y1",o.y).attr("x2",m).attr("y2",k).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Wen(y,{cx:m,cy:300+(5-o.score)*30,score:o.score});const v=Dwe();v.x=o.x,v.y=o.y,v.fill=o.fill,v.width=f.width,v.height=f.height,v.class="task task-type-"+o.num,v.rx=3,v.ry=3,XJ(y,v);let A=o.x+14;o.people.forEach(O=>{const j=o.actors[O].color,z={cx:A,cy:o.y,r:7,fill:j,stroke:"#000",title:O,pos:o.actors[O].position};hGe(y,z),A+=10}),gGe(f)(o.task,y,v.x,v.y,v.width,v.height,{class:"task"},f,o.colour)},Qen=function(s,o){XJ(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,class:"rect"}).lower()},Zen=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},Dwe=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},gGe=function(){function s(y,k,v,A,O,j,z,V){const Y=k.append("text").attr("x",v+O/2).attr("y",A+j/2+5).style("font-color",V).style("text-anchor","middle").text(y);m(Y,z)}function o(y,k,v,A,O,j,z,V,Y){const{taskFontSize:G,taskFontFamily:J}=V,ce=y.split(/<br\s*\/?>/gi);for(let me=0;me<ce.length;me++){const _e=me*G-G*(ce.length-1)/2,we=k.append("text").attr("x",v+O/2).attr("y",A).attr("fill",Y).style("text-anchor","middle").style("font-size",G).style("font-family",J);we.append("tspan").attr("x",v+O/2).attr("dy",_e).text(ce[me]),we.attr("y",A+j/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),m(we,z)}}function f(y,k,v,A,O,j,z,V){const Y=k.append("switch"),J=Y.append("foreignObject").attr("x",v).attr("y",A).attr("width",O).attr("height",j).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");J.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(y),o(y,Y,v,A,O,j,z,V),m(J,z)}function m(y,k){for(const v in k)v in k&&y.attr(v,k[v])}return function(y){return y.textPlacement==="fo"?f:y.textPlacement==="old"?s:o}}(),e$={drawRect:XJ,drawCircle:hGe,drawSection:Yen,drawText:fGe,drawLabel:Ken,drawTask:Xen,drawBackgroundRect:Qen,getTextObj:Zen,getNoteRect:Dwe,initGraphics:function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},Jen=function(s){Object.keys(s).forEach(function(f){QJ[f]=s[f]})},Ex={};function etn(s){const o=Qt().journey;let f=60;Object.keys(Ex).forEach(m=>{const y=Ex[m].color,k={cx:20,cy:f,r:7,fill:y,stroke:"#000",pos:Ex[m].position};e$.drawCircle(s,k);const v={x:40,y:f+7,fill:"#666",text:m,textMargin:o.boxTextMargin|5};e$.drawText(s,v),f+=20})}const QJ=Qt().journey,VS=QJ.leftMargin,ttn=function(s,o,f,m){const y=Qt().journey;m.db.clear(),m.parser.parse(s+`
`);const k=Qt().securityLevel;let v;k==="sandbox"&&(v=Or("#i"+o));const A=Or(k==="sandbox"?v.nodes()[0].contentDocument.body:"body");yw.init();const O=A.select("#"+o);e$.initGraphics(O);const j=m.db.getTasks(),z=m.db.getDiagramTitle(),V=m.db.getActors();for(const _e in Ex)delete Ex[_e];let Y=0;V.forEach(_e=>{Ex[_e]={color:y.actorColours[Y%y.actorColours.length],position:Y},Y++}),etn(O),yw.insert(0,0,VS,Object.keys(Ex).length*50),ntn(O,j,0);const G=yw.getBounds();z&&O.append("text").text(z).attr("x",VS).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const J=G.stopy-G.starty+2*y.diagramMarginY,ce=VS+G.stopx+2*y.diagramMarginX;C3(O,J,ce,y.useMaxWidth),O.append("line").attr("x1",VS).attr("y1",y.height*4).attr("x2",ce-VS-4).attr("y2",y.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const me=z?70:0;O.attr("viewBox",`${G.startx} -25 ${ce} ${J+me}`),O.attr("preserveAspectRatio","xMinYMin meet"),O.attr("height",J+me+25)},yw={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(s,o,f,m){s[o]===void 0?s[o]=f:s[o]=m(f,s[o])},updateBounds:function(s,o,f,m){const y=Qt().journey,k=this;let v=0;function A(O){return function(z){v++;const V=k.sequenceItems.length-v+1;k.updateVal(z,"starty",o-V*y.boxMargin,Math.min),k.updateVal(z,"stopy",m+V*y.boxMargin,Math.max),k.updateVal(yw.data,"startx",s-V*y.boxMargin,Math.min),k.updateVal(yw.data,"stopx",f+V*y.boxMargin,Math.max),O!=="activation"&&(k.updateVal(z,"startx",s-V*y.boxMargin,Math.min),k.updateVal(z,"stopx",f+V*y.boxMargin,Math.max),k.updateVal(yw.data,"starty",o-V*y.boxMargin,Math.min),k.updateVal(yw.data,"stopy",m+V*y.boxMargin,Math.max))}}this.sequenceItems.forEach(A())},insert:function(s,o,f,m){const y=Math.min(s,f),k=Math.max(s,f),v=Math.min(o,m),A=Math.max(o,m);this.updateVal(yw.data,"startx",y,Math.min),this.updateVal(yw.data,"starty",v,Math.min),this.updateVal(yw.data,"stopx",k,Math.max),this.updateVal(yw.data,"stopy",A,Math.max),this.updateBounds(y,v,k,A)},bumpVerticalPos:function(s){this.verticalPos=this.verticalPos+s,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Pwe=QJ.sectionFills,pGe=QJ.sectionColours,ntn=function(s,o,f){const m=Qt().journey;let y="";const k=m.height*2+m.diagramMarginY,v=f+k;let A=0,O="#CCC",j="black",z=0;for(const[V,Y]of o.entries()){if(y!==Y.section){O=Pwe[A%Pwe.length],z=A%Pwe.length,j=pGe[A%pGe.length];const J={x:V*m.taskMargin+V*m.width+VS,y:50,text:Y.section,fill:O,num:z,colour:j};e$.drawSection(s,J,m),y=Y.section,A++}const G=Y.people.reduce((J,ce)=>(Ex[ce]&&(J[ce]=Ex[ce]),J),{});Y.x=V*m.taskMargin+V*m.width+VS,Y.y=v,Y.width=m.diagramMarginX,Y.height=m.diagramMarginY,Y.colour=j,Y.fill=O,Y.num=z,Y.actors=G,e$.drawTask(s,Y,m),yw.insert(Y.x,Y.y,Y.x+Y.width+m.taskMargin,300+5*30)}},mGe={setConf:Jen,draw:ttn};let vGe={};const ZJ={setConf:function(s){vGe={...vGe,...s}},draw:(s,o,f)=>{try{ne.debug(`Renering svg for syntax error
`);const m=Or("#"+o),y=m.append("g");y.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),y.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),y.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),y.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),y.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),y.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),y.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),y.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+f),m.attr("height",100),m.attr("width",500),m.attr("viewBox","768 0 912 512")}catch(m){ne.error("Error while rendering info diagram"),ne.error(Rjt(m))}}},bGe="flowchart-elk",rtn={id:bGe,detector:(s,o)=>{var f;return!!(s.match(/^\s*flowchart-elk/)||s.match(/^\s*flowchart|graph/)&&((f=o==null?void 0:o.flowchart)==null?void 0:f.defaultRenderer)==="elk")},loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>Gtn);return{id:bGe,diagram:s}}},wGe="timeline",itn={id:wGe,detector:s=>s.match(/^\s*timeline/)!==null,loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>fnn);return{id:wGe,diagram:s}}},yGe="mindmap",stn={id:yGe,detector:s=>s.match(/^\s*mindmap/)!==null,loader:async()=>{const{diagram:s}=await Promise.resolve().then(()=>Unn);return{id:yGe,diagram:s}}};let _Ge=!1;const t$=()=>{_Ge||(_Ge=!0,O$e(rtn,itn,stn),s0("error",{db:{clear:()=>{}},styles:Cbe,renderer:ZJ,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},s=>s.toLowerCase().trim()==="error"),s0("---",{db:{clear:()=>{}},styles:Cbe,renderer:ZJ,parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with unindented `---` blocks")}},init:()=>null},s=>s.toLowerCase().trimStart().startsWith("---")),s0("c4",{parser:V$t,db:EHe,renderer:DHe,styles:hHe,init:s=>{DHe.setConf(s.c4)}},q$t),s0("class",{parser:PHe,db:OO,renderer:uYt,styles:cj,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,OO.clear()}},LHt),s0("classDiagram",{parser:PHe,db:OO,renderer:iXt,styles:cj,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,OO.clear()}},IHt),s0("er",{parser:sXt,db:uXt,renderer:OXt,styles:iHe},aXt),s0("gantt",{parser:CQt,db:rwe,renderer:hZt,styles:sHe},AQt),s0("info",{parser:fZt,db:dZt,renderer:gZt,styles:aHe},pZt),s0("pie",{parser:mZt,db:bZt,renderer:wZt,styles:oHe},vZt),s0("requirement",{parser:yZt,db:xZt,renderer:MZt,styles:cHe},_Zt),s0("sequence",{parser:LZt,db:TUe,renderer:RUe,styles:lHe,init:s=>{if(s.sequence||(s.sequence={}),s.sequence.arrowMarkerAbsolute=s.arrowMarkerAbsolute,"sequenceDiagram"in s)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");TUe.setWrap(s.wrap),RUe.setConf(s.sequence)}},IZt),s0("state",{parser:BUe,db:kx,renderer:ven,styles:HZ,init:s=>{s.state||(s.state={}),s.state.arrowMarkerAbsolute=s.arrowMarkerAbsolute,kx.clear()}},IJt),s0("stateDiagram",{parser:BUe,db:kx,renderer:Ren,styles:HZ,init:s=>{s.state||(s.state={}),s.state.arrowMarkerAbsolute=s.arrowMarkerAbsolute,kx.clear()}},OJt),s0("journey",{parser:Ben,db:uGe,renderer:mGe,styles:uHe,init:s=>{mGe.setConf(s.journey),uGe.clear()}},Fen),s0("flowchart",{parser:M2e,db:W5,renderer:z2e,styles:$Z,init:s=>{s.flowchart||(s.flowchart={}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,TQt.setConf(s.flowchart),W5.clear(),W5.setGen("gen-1")}},DXt),s0("flowchart-v2",{parser:M2e,db:W5,renderer:z2e,styles:$Z,init:s=>{s.flowchart||(s.flowchart={}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,J$e({flowchart:{arrowMarkerAbsolute:s.arrowMarkerAbsolute}}),z2e.setConf(s.flowchart),W5.clear(),W5.setGen("gen-2")}},PXt),s0("gitGraph",{parser:g$t,db:P$t,renderer:H$t,styles:z$t},p$t))};class Nwe{constructor(o,f){var m,y;this.txt=o,this.type="graph",this.detectTypeFailed=!1;const k=Qt();this.txt=o;try{this.type=fbe(o,k)}catch(O){this.handleError(O,f),this.type="error",this.detectTypeFailed=!0}const v=gHe(this.type);ne.debug("Type "+this.type),this.db=v.db,(y=(m=this.db).clear)==null||y.call(m),this.renderer=v.renderer,this.parser=v.parser;const A=this.parser.parse.bind(this.parser);this.parser.parse=O=>A(gFt(O,this.db)),this.parser.parser.yy=this.db,v.init&&(v.init(k),ne.info("Initialized diagram "+this.type,k)),this.txt+=`
`,this.parse(this.txt,f)}parse(o,f){var m,y;if(this.detectTypeFailed)return!1;try{return o=o+`
`,(y=(m=this.db).clear)==null||y.call(m),this.parser.parse(o),!0}catch(k){this.handleError(k,f)}return!1}handleError(o,f){if(f===void 0)throw o;if(bbe(o)){f(o.str,o.hash);return}f(o)}getParser(){return this.parser}getType(){return this.type}}const Rwe=(s,o)=>{const f=fbe(s,Qt());try{gHe(f)}catch{const y=vFt(f);if(!y)throw new Error(`Diagram ${f} not found.`);return y().then(({diagram:k})=>(s0(f,k,void 0),new Nwe(s,o)))}return new Nwe(s,o)},Bwe=Nwe,atn="graphics-document document";function otn(s,o){s.attr("role",atn),zO(o)||s.attr("aria-roledescription",o)}function ctn(s,o,f,m){if(s.insert!==void 0)if(o||f){if(f){const y="chart-desc-"+m;s.attr("aria-describedby",y),s.insert("desc",":first-child").attr("id",y).text(f)}if(o){const y="chart-title-"+m;s.attr("aria-labelledby",y),s.insert("title",":first-child").attr("id",y).text(o)}}else return}const Fwe=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],xGe="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",kGe="sandbox",EGe="loose",ltn="http://www.w3.org/2000/svg",TGe="http://www.w3.org/1999/xlink",SGe="http://www.w3.org/1999/xhtml",utn="100%",htn="100%",ftn="border:0;margin:0;",dtn="margin:0",gtn="allow-top-navigation-by-user-activation allow-popups",ptn='The "iframe" tag is not supported by your browser.',CGe=["foreignobject"],AGe=["dominant-baseline"];function mtn(s,o){return t$(),new Bwe(s,o).parse(s,o)}async function vtn(s,o){return t$(),(await Rwe(s,o)).parse(s,o)}const MGe=function(s){let o=s;return o=o.replace(/style.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),o=o.replace(/classDef.*:\S*#.*;/g,function(f){return f.substring(0,f.length-1)}),o=o.replace(/#\w+;/g,function(f){const m=f.substring(1,f.length-1);return/^\+?\d+$/.test(m)?"fl°°"+m+"¶ß":"fl°"+m+"¶ß"}),o},jwe=function(s){let o=s;return o=o.replace(/fl°°/g,"&#"),o=o.replace(/fl°/g,"&"),o=o.replace(/¶ß/g,";"),o},LGe=(s,o,f=[])=>`
.${s} ${o} { ${f.join(" !important; ")} !important; }`,btn=(s,o,f={})=>{var m;let y="";if(s.themeCSS!==void 0&&(y+=`
${s.themeCSS}`),s.fontFamily!==void 0&&(y+=`
:root { --mermaid-font-family: ${s.fontFamily}}`),s.altFontFamily!==void 0&&(y+=`
:root { --mermaid-alt-font-family: ${s.altFontFamily}}`),!zO(f)&&Fwe.includes(o)){const O=s.htmlLabels||((m=s.flowchart)==null?void 0:m.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const j in f){const z=f[j];zO(z.styles)||O.forEach(V=>{y+=LGe(z.id,V,z.styles)}),zO(z.textStyles)||(y+=LGe(z.id,"tspan",z.textStyles))}}return y},IGe=(s,o,f,m)=>{const y=btn(s,o,f),k=o$t(o,y,s.themeVariables);return Tbe(Xjt(`${m}{${k}}`),Zjt)},OGe=(s="",o,f)=>{let m=s;return!f&&!o&&(m=m.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),m=jwe(m),m=m.replace(/<br>/g,"<br/>"),m},DGe=(s="",o)=>{const f=o?o.viewBox.baseVal.height+"px":htn,m=btoa('<body style="'+dtn+'">'+s+"</body>");return`<iframe style="width:${utn};height:${f};${ftn}" src="data:text/html;base64,${m}" sandbox="${gtn}">
${ptn}
</iframe>`},JJ=(s,o,f,m,y)=>{const k=s.append("div");k.attr("id",f),m&&k.attr("style",m);const v=k.append("svg").attr("id",o).attr("width","100%").attr("xmlns",ltn);return y&&v.attr("xmlns:xlink",y),v.append("g"),s};function eee(s,o){return s.append("iframe").attr("id",o).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const PGe=(s,o,f,m)=>{var y,k,v;(y=s.getElementById(o))==null||y.remove(),(k=s.getElementById(f))==null||k.remove(),(v=s.getElementById(m))==null||v.remove()},wtn=function(s,o,f,m){var y,k,v,A;t$(),oj();const O=Go.detectInit(o);O&&(TS(O),Sbe(O));const j=Qt();ne.debug(j),o.length>((j==null?void 0:j.maxTextSize)??5e4)&&(o=xGe),o=o.replace(/\r\n?/g,`
`);const z="#"+s,V="i"+s,Y="#"+V,G="d"+s,J="#"+G;let ce=Or("body");const me=j.securityLevel===kGe,_e=j.securityLevel===EGe,we=j.fontFamily;if(m!==void 0){if(m&&(m.innerHTML=""),me){const Ee=eee(Or(m),V);ce=Or(Ee.nodes()[0].contentDocument.body),ce.node().style.margin=0}else ce=Or(m);JJ(ce,s,G,`font-family: ${we}`,TGe)}else{if(PGe(document,s,G,V),me){const Ee=eee(Or("body"),V);ce=Or(Ee.nodes()[0].contentDocument.body),ce.node().style.margin=0}else ce=Or("body");JJ(ce,s,G)}o=MGe(o);let Se,Oe;try{if(Se=Rwe(o),"then"in Se)throw new Error("Diagram is a promise. Use renderAsync.")}catch(Ee){Se=new Bwe("error"),Oe=Ee}const De=ce.select(J).node(),Ve=Se.type,ke=De.firstChild,Ie=ke.firstChild,ge=Fwe.includes(Ve)?Se.renderer.getClasses(o,Se):{},Me=IGe(j,Ve,ge,z),Ne=document.createElement("style");Ne.innerHTML=Me,ke.insertBefore(Ne,Ie);try{Se.renderer.draw(o,s,FZ,Se)}catch(Ee){throw ZJ.draw(o,s,FZ),Ee}const xe=ce.select(`${J} svg`),qe=(k=(y=Se.db).getAccTitle)==null?void 0:k.call(y),ae=(A=(v=Se.db).getAccDescription)==null?void 0:A.call(v);NGe(Ve,xe,qe,ae),ce.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",SGe);let Qe=ce.select(J).node().innerHTML;if(ne.debug("config.arrowMarkerAbsolute",j.arrowMarkerAbsolute),Qe=OGe(Qe,me,i0(j.arrowMarkerAbsolute)),me){const Ee=ce.select(J+" svg").node();Qe=DGe(Qe,Ee)}else _e||(Qe=QF.sanitize(Qe,{ADD_TAGS:CGe,ADD_ATTR:AGe}));if(f!==void 0)switch(Ve){case"flowchart":case"flowchart-v2":f(Qe,W5.bindFunctions);break;case"gantt":f(Qe,rwe.bindFunctions);break;case"class":case"classDiagram":f(Qe,OO.bindFunctions);break;default:f(Qe)}else ne.debug("CB = undefined!");SUe();const nt=Or(me?Y:J).node();if(nt&&"remove"in nt&&nt.remove(),Oe)throw Oe;return Qe},ytn=async function(s,o,f,m){var y,k,v,A;t$(),oj();const O=Go.detectInit(o);O&&(TS(O),Sbe(O));const j=Qt();ne.debug(j),o.length>((j==null?void 0:j.maxTextSize)??5e4)&&(o=xGe),o=o.replace(/\r\n?/g,`
`);const z="#"+s,V="i"+s,Y="#"+V,G="d"+s,J="#"+G;let ce=Or("body");const me=j.securityLevel===kGe,_e=j.securityLevel===EGe,we=j.fontFamily;if(m!==void 0){if(m&&(m.innerHTML=""),me){const Ee=eee(Or(m),V);ce=Or(Ee.nodes()[0].contentDocument.body),ce.node().style.margin=0}else ce=Or(m);JJ(ce,s,G,`font-family: ${we}`,TGe)}else{if(PGe(document,s,G,V),me){const Ee=eee(Or("body"),V);ce=Or(Ee.nodes()[0].contentDocument.body),ce.node().style.margin=0}else ce=Or("body");JJ(ce,s,G)}o=MGe(o);let Se,Oe;try{Se=await Rwe(o)}catch(Ee){Se=new Bwe("error"),Oe=Ee}const De=ce.select(J).node(),Ve=Se.type,ke=De.firstChild,Ie=ke.firstChild,ge=Fwe.includes(Ve)?Se.renderer.getClasses(o,Se):{},Me=IGe(j,Ve,ge,z),Ne=document.createElement("style");Ne.innerHTML=Me,ke.insertBefore(Ne,Ie);try{await Se.renderer.draw(o,s,FZ,Se)}catch(Ee){throw ZJ.draw(o,s,FZ),Ee}const xe=ce.select(`${J} svg`),qe=(k=(y=Se.db).getAccTitle)==null?void 0:k.call(y),ae=(A=(v=Se.db).getAccDescription)==null?void 0:A.call(v);NGe(Ve,xe,qe,ae),ce.select(`[id="${s}"]`).selectAll("foreignobject > *").attr("xmlns",SGe);let Qe=ce.select(J).node().innerHTML;if(ne.debug("config.arrowMarkerAbsolute",j.arrowMarkerAbsolute),Qe=OGe(Qe,me,i0(j.arrowMarkerAbsolute)),me){const Ee=ce.select(J+" svg").node();Qe=DGe(Qe,Ee)}else _e||(Qe=QF.sanitize(Qe,{ADD_TAGS:CGe,ADD_ATTR:AGe}));if(f!==void 0)switch(Ve){case"flowchart":case"flowchart-v2":f(Qe,W5.bindFunctions);break;case"gantt":f(Qe,rwe.bindFunctions);break;case"class":case"classDiagram":f(Qe,OO.bindFunctions);break;default:f(Qe)}else ne.debug("CB = undefined!");SUe();const nt=Or(me?Y:J).node();if(nt&&"remove"in nt&&nt.remove(),Oe)throw Oe;return Qe};function _tn(s={}){var o;s!=null&&s.fontFamily&&!((o=s.themeVariables)!=null&&o.fontFamily)&&(s.themeVariables={fontFamily:s.fontFamily}),e$t(s),s!=null&&s.theme&&s.theme in ax?s.themeVariables=ax[s.theme].getThemeVariables(s.themeVariables):s&&(s.themeVariables=ax.default.getThemeVariables(s.themeVariables));const f=typeof s=="object"?Jjt(s):Z$e();Be(f.logLevel),t$()}function NGe(s,o,f,m){otn(o,s),ctn(o,f,m,o.attr("id"))}const Sf=Object.freeze({render:wtn,renderAsync:ytn,parse:mtn,parseAsync:vtn,parseDirective:Ibe,initialize:_tn,getConfig:Qt,setConfig:J$e,getSiteConfig:Z$e,updateSiteConfig:t$t,reset:()=>{oj()},globalReset:()=>{oj(LO)},defaultConfig:LO});Be(Qt().logLevel),oj(Qt());const xtn=async function(s,o,f){try{await BGe(s,o,f)}catch(m){ne.warn("Syntax Error rendering"),bbe(m)&&ne.warn(m.str),_w.parseError&&_w.parseError(m)}},RGe=(s,o,f)=>{ne.warn(s),bbe(s)?(f&&f(s.str,s.hash),o.push({...s,message:s.str,error:s})):(f&&f(s),s instanceof Error&&o.push({str:s.message,message:s.message,hash:s.name,error:s}))},ktn=function(s,o,f){const m=Sf.getConfig();s&&(_w.sequenceConfig=s),ne.debug(`${f?"":"No "}Callback function found`);let y;if(o===void 0)y=document.querySelectorAll(".mermaid");else if(typeof o=="string")y=document.querySelectorAll(o);else if(o instanceof HTMLElement)y=[o];else if(o instanceof NodeList)y=o;else throw new Error("Invalid argument nodes for mermaid.init");ne.debug(`Found ${y.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(ne.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Sf.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Go.initIdGenerator(m.deterministicIds,m.deterministicIDSeed);let v;const A=[];for(const O of Array.from(y)){ne.info("Rendering diagram: "+O.id);/*! Check if previously processed */if(O.getAttribute("data-processed"))continue;O.setAttribute("data-processed","true");const j=`mermaid-${k.next()}`;v=O.innerHTML,v=T(Go.entityDecode(v)).trim().replace(/<br\s*\/?>/gi,"<br/>");const z=Go.detectInit(v);z&&ne.debug("Detected early reinit: ",z);try{Sf.render(j,v,(V,Y)=>{O.innerHTML=V,f!==void 0&&f(j),Y&&Y(O)},O)}catch(V){RGe(V,A,_w.parseError)}}if(A.length>0)throw A[0]},Etn=async(...s)=>{ne.debug(`Loading ${s.length} external diagrams`);const f=(await Promise.allSettled(s.map(async({id:m,detector:y,loader:k})=>{const{diagram:v}=await k();s0(m,v,y)}))).filter(m=>m.status==="rejected");if(f.length>0){ne.error(`Failed to load ${f.length} external diagrams`);for(const m of f)ne.error(m);throw new Error(`Failed to load ${f.length} external diagrams`)}},BGe=async function(s,o,f){const m=Sf.getConfig();s&&(_w.sequenceConfig=s),ne.debug(`${f?"":"No "}Callback function found`);let y;if(o===void 0)y=document.querySelectorAll(".mermaid");else if(typeof o=="string")y=document.querySelectorAll(o);else if(o instanceof HTMLElement)y=[o];else if(o instanceof NodeList)y=o;else throw new Error("Invalid argument nodes for mermaid.init");ne.debug(`Found ${y.length} diagrams`),(s==null?void 0:s.startOnLoad)!==void 0&&(ne.debug("Start On Load: "+(s==null?void 0:s.startOnLoad)),Sf.updateSiteConfig({startOnLoad:s==null?void 0:s.startOnLoad}));const k=new Go.initIdGenerator(m.deterministicIds,m.deterministicIDSeed);let v;const A=[];for(const O of Array.from(y)){ne.info("Rendering diagram: "+O.id);/*! Check if previously processed */if(O.getAttribute("data-processed"))continue;O.setAttribute("data-processed","true");const j=`mermaid-${k.next()}`;v=O.innerHTML,v=T(Go.entityDecode(v)).trim().replace(/<br\s*\/?>/gi,"<br/>");const z=Go.detectInit(v);z&&ne.debug("Detected early reinit: ",z);try{await Sf.renderAsync(j,v,(V,Y)=>{O.innerHTML=V,f!==void 0&&f(j),Y&&Y(O)},O)}catch(V){RGe(V,A,_w.parseError)}}if(A.length>0)throw A[0]},Ttn=function(s){Sf.initialize(s)},Stn=async(s,{lazyLoad:o=!0}={})=>{o?O$e(...s):await Etn(...s)},FGe=function(){if(_w.startOnLoad){const{startOnLoad:s}=Sf.getConfig();s&&_w.init().catch(o=>ne.error("Mermaid failed to initialize",o))}};if(typeof document<"u"){/*!
* Wait for document loaded before starting the execution
*/window.addEventListener("load",FGe,!1)}const Ctn=function(s){_w.parseError=s},Atn=s=>Sf.parse(s,_w.parseError),tee=[];let $we=!1;const jGe=async()=>{if(!$we){for($we=!0;tee.length>0;){const s=tee.shift();if(s)try{await s()}catch(o){ne.error("Error executing queue",o)}}$we=!1}},Mtn=s=>new Promise((o,f)=>{const m=()=>new Promise((y,k)=>{Sf.parseAsync(s,_w.parseError).then(v=>{y(v),o(v)},v=>{ne.error("Error parsing",v),k(v),f(v)})});tee.push(m),jGe().catch(f)}),Ltn=(s,o,f,m)=>new Promise((y,k)=>{const v=()=>new Promise((A,O)=>{Sf.renderAsync(s,o,f,m).then(j=>{A(j),y(j)},j=>{ne.error("Error parsing",j),O(j),k(j)})});tee.push(v),jGe().catch(k)}),_w={startOnLoad:!0,diagrams:{},mermaidAPI:Sf,parse:Atn,parseAsync:Mtn,render:Sf.render,renderAsync:Ltn,init:xtn,initThrowsErrors:ktn,initThrowsErrorsAsync:BGe,registerExternalDiagrams:Stn,initialize:Ttn,parseError:void 0,contentLoaded:FGe,setParseErrorHandler:Ctn},Itn=(s,o,f)=>{const{parentById:m}=f,y=new Set;let k=s;for(;k;){if(y.add(k),k===o)return k;k=m[k]}for(k=o;k;){if(y.has(k))return k;k=m[k]}return"root"};function nee(s){throw new Error('Could not dynamically require "'+s+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Hwe={},Otn={get exports(){return Hwe},set exports(s){Hwe=s}};(function(s,o){(function(f){s.exports=f()})(function(){return function(){function f(m,y,k){function v(j,z){if(!y[j]){if(!m[j]){var V=typeof nee=="function"&&nee;if(!z&&V)return V(j,!0);if(A)return A(j,!0);var Y=new Error("Cannot find module '"+j+"'");throw Y.code="MODULE_NOT_FOUND",Y}var G=y[j]={exports:{}};m[j][0].call(G.exports,function(J){var ce=m[j][1][J];return v(ce||J)},G,G.exports,f,m,y,k)}return y[j].exports}for(var A=typeof nee=="function"&&nee,O=0;O<k.length;O++)v(k[O]);return v}return f}()({1:[function(f,m,y){Object.defineProperty(y,"__esModule",{value:!0});var k=function(){function j(z,V){for(var Y=0;Y<V.length;Y++){var G=V[Y];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(z,G.key,G)}}return function(z,V,Y){return V&&j(z.prototype,V),Y&&j(z,Y),z}}();function v(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}var A=function(){function j(){var z=this,V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=V.defaultLayoutOptions,G=Y===void 0?{}:Y,J=V.algorithms,ce=J===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:J,me=V.workerFactory,_e=V.workerUrl;if(v(this,j),this.defaultLayoutOptions=G,this.initialized=!1,typeof _e>"u"&&typeof me>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var we=me;typeof _e<"u"&&typeof me>"u"&&(we=function(De){return new Worker(De)});var Se=we(_e);if(typeof Se.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new O(Se),this.worker.postMessage({cmd:"register",algorithms:ce}).then(function(Oe){return z.initialized=!0}).catch(console.err)}return k(j,[{key:"layout",value:function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=Y.layoutOptions,J=G===void 0?this.defaultLayoutOptions:G,ce=Y.logging,me=ce===void 0?!1:ce,_e=Y.measureExecutionTime,we=_e===void 0?!1:_e;return V?this.worker.postMessage({cmd:"layout",graph:V,layoutOptions:J,options:{logging:me,measureExecutionTime:we}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),j}();y.default=A;var O=function(){function j(z){var V=this;if(v(this,j),z===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=z,this.worker.onmessage=function(Y){setTimeout(function(){V.receive(V,Y)},0)}}return k(j,[{key:"postMessage",value:function(V){var Y=this.id||0;this.id=Y+1,V.id=Y;var G=this;return new Promise(function(J,ce){G.resolvers[Y]=function(me,_e){me?(G.convertGwtStyleError(me),ce(me)):J(_e)},G.worker.postMessage(V)})}},{key:"receive",value:function(V,Y){var G=Y.data,J=V.resolvers[G.id];J&&(delete V.resolvers[G.id],G.error?J(G.error):J(null,G.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(V){if(V){var Y=V.__java$exception;Y&&(Y.cause&&Y.cause.backingJsObject&&(V.cause=Y.cause.backingJsObject,this.convertGwtStyleError(V.cause)),delete V.__java$exception)}}}]),j}()},{}],2:[function(f,m,y){(function(k){(function(){var v;typeof window<"u"?v=window:typeof k<"u"?v=k:typeof self<"u"&&(v=self);var A;function O(){}function j(){}function z(){}function V(){}function Y(){}function G(){}function J(){}function ce(){}function me(){}function _e(){}function we(){}function Se(){}function Oe(){}function De(){}function Ve(){}function ke(){}function Ie(){}function ge(){}function Me(){}function Ne(){}function xe(){}function qe(){}function ae(){}function Qe(){}function Ce(){}function nt(){}function Ee(){}function kt(){}function Ot(){}function Vt(){}function Rt(){}function Gt(){}function _n(){}function On(){}function Dt(){}function ai(){}function Ft(){}function $t(){}function Pt(){}function qt(){}function et(){}function ht(){}function Ut(){}function it(){}function Zn(){}function Ge(){}function ws(){}function xn(){}function Zi(){}function gi(){}function Cr(){}function yr(){}function Sr(){}function or(){}function Ar(){}function bo(){}function wo(){}function ra(){}function Ys(){}function yo(){}function Jl(){}function co(){}function Zs(){}function Cs(){}function Gr(){}function Wr(){}function Bi(){}function _r(){}function js(){}function An(){}function Qa(){}function dr(){}function Ia(){}function Do(){}function nc(){}function Wo(){}function Po(){}function ia(){}function io(){}function Ko(){}function qa(){}function mv(){}function kw(){}function th(){}function lo(){}function jh(){}function r1(){}function $h(){}function Cf(){}function nh(){}function _d(){}function Yf(){}function ps(){}function rn(){}function oi(){}function Ji(){}function Fo(){}function lu(){}function wu(){}function rh(){}function Xf(){}function Hh(){}function Ew(){}function F3(){}function $g(){}function ca(){}function Ea(){}function oc(){}function cs(){}function Nl(){}function Yt(){}function j3(){}function fn(){}function ng(){}function $3(){}function J5(){}function p7(){}function Xb(){}function Zh(){}function Tw(){}function vv(){}function Sx(){}function GS(){}function WS(){}function l0(){}function Sw(){}function u0(){}function Cx(){}function bv(){}function e6(){}function Tp(){}function xh(){}function t6(){}function El(){}function wv(){}function Qb(){}function oee(){}function KS(){}function cee(){}function r$(){}function N1(){}function H3(){}function iD(){}function i$(){}function yv(){}function z3(){}function lee(){}function Zb(){}function uee(){}function hee(){}function Ax(){}function YS(){}function s$(){}function m7(){}function fee(){}function v7(){}function dee(){}function gee(){}function pee(){}function mee(){}function vee(){}function bee(){}function wee(){}function yee(){}function _ee(){}function xee(){}function kee(){}function sD(){}function Eee(){}function Tee(){}function XS(){}function a$(){}function Mx(){}function See(){}function Cee(){}function Aee(){}function Mee(){}function Lee(){}function QS(){}function aD(){}function o$(){}function n6(){}function r6(){}function Iee(){}function i1(){}function Lx(){}function Oee(){}function b7(){}function Hg(){}function Dee(){}function Pee(){}function Nee(){}function Ree(){}function ZS(){}function oD(){}function c$(){}function cD(){}function Ix(){}function Bee(){}function l$(){}function u$(){}function Fee(){}function jee(){}function $ee(){}function Hee(){}function zee(){}function Vee(){}function zg(){}function Cw(){}function qee(){}function h$(){}function f$(){}function Uee(){}function i6(){}function w7(){}function lD(){}function V3(){}function y7(){}function Gee(){}function JS(){}function rg(){}function d$(){}function uD(){}function _7(){}function hD(){}function g$(){}function Wee(){}function fD(){}function Kee(){}function Yee(){}function p$(){}function Ox(){}function m$(){}function Dx(){}function Xee(){}function dD(){}function Qee(){}function Zee(){}function Jee(){}function ete(){}function v$(){}function tte(){}function nte(){}function rte(){}function b$(){}function ite(){}function ste(){}function ate(){}function w$(){}function ote(){}function cte(){}function y$(){}function _$(){}function x$(){}function lte(){}function ute(){}function x7(){}function Px(){}function eC(){}function hte(){}function gD(){}function tC(){}function pD(){}function k$(){}function E$(){}function fte(){}function dte(){}function gte(){}function T$(){}function S$(){}function pte(){}function mte(){}function vte(){}function bte(){}function wte(){}function C$(){}function yte(){}function _te(){}function xte(){}function kte(){}function A$(){}function nC(){}function Ete(){}function Tte(){}function M$(){}function Ste(){}function Cte(){}function Ate(){}function Mte(){}function Lte(){}function Ite(){}function L$(){}function Ote(){}function I$(){}function Dte(){}function Pte(){}function Nte(){}function rC(){}function Rte(){}function iC(){}function Bte(){}function O$(){}function D$(){}function P$(){}function N$(){}function Aw(){}function R$(){}function B$(){}function F$(){}function j$(){}function Fte(){}function Nx(){}function sC(){}function s6(){}function jte(){}function $te(){}function aC(){}function Hte(){}function zte(){}function Vte(){}function qte(){}function Ute(){}function Gte(){}function Wte(){}function Kte(){}function Yte(){}function Xte(){}function Qte(){}function mD(){}function $$(){}function Zte(){}function Jte(){}function ene(){}function H$(){}function tne(){}function nne(){}function rne(){}function ine(){}function sne(){}function ane(){}function z$(){}function V$(){}function one(){}function q$(){}function U$(){}function cne(){}function lne(){}function une(){}function vD(){}function hne(){}function k7(){}function fne(){}function dne(){}function gne(){}function G$(){}function pne(){}function mne(){}function vne(){}function bne(){}function wne(){}function yne(){}function _ne(){}function xne(){}function kne(){}function Ene(){}function Tne(){}function Sne(){}function Rx(){}function W$(){}function Cne(){}function Ane(){}function Mne(){}function K$(){}function Lne(){}function oC(){}function Ine(){}function One(){}function Dne(){}function Pne(){}function Nne(){}function Rne(){}function Bne(){}function Fne(){}function jne(){}function $ne(){}function Bx(){}function Hne(){}function zne(){}function Vne(){}function qne(){}function Une(){}function Gne(){}function Wne(){}function Kne(){}function cC(){}function Yne(){}function Xne(){}function Qne(){}function Zne(){}function Jne(){}function ere(){}function tre(){}function nre(){}function Fx(){}function Y$(){}function rre(){}function bD(){}function ire(){}function sre(){}function are(){}function ore(){}function cre(){}function lre(){}function ure(){}function X$(){}function hre(){}function Q$(){}function fre(){}function Z$(){}function J$(){}function eH(){}function dre(){}function gre(){}function lC(){}function wD(){}function uC(){}function pre(){}function mre(){}function yD(){}function vre(){}function bre(){}function tH(){}function wre(){}function yre(){}function _re(){}function xre(){}function kre(){}function Ere(){}function Tre(){}function Sre(){}function Cre(){}function Are(){}function dm(){}function Mre(){}function q3(){}function nH(){}function Lre(){}function Ire(){}function Ore(){}function Dre(){}function Pre(){}function Nre(){}function Rre(){}function Bre(){}function Fre(){}function uu(){}function jre(){}function hC(){}function Rl(){}function Pu(){}function Us(){}function _D(){}function $re(){}function Hre(){}function zre(){}function jx(){}function U3(){}function an(){}function Vre(){}function qre(){}function Ure(){}function Gre(){}function Wre(){}function rH(){}function Kre(){}function Yre(){}function xD(){}function Xre(){}function zh(){}function kh(){}function Qre(){}function Zre(){}function Jre(){}function G3(){}function Mw(){}function _v(){}function ig(){}function $x(){}function fC(){}function E7(){}function iH(){}function eie(){}function T7(){}function sH(){}function tie(){}function dC(){}function Hx(){}function zx(){}function xv(){}function aH(){}function S7(){}function oH(){}function cH(){}function Vx(){}function Jb(){}function Sp(){}function kv(){}function a6(){}function C7(){}function gC(){}function lH(){}function nie(){}function uH(){}function hH(){}function fH(){}function A7(){}function dH(){}function gH(){}function rie(){}function M7(){}function L7(){}function W3(){}function kD(){}function iie(){}function sie(){}function aie(){}function oie(){}function cie(){}function lie(){}function uie(){}function hie(){}function pH(){}function fie(){}function die(){}function gie(){}function mH(){}function I7(){}function pC(){}function vH(){}function pie(){}function bH(){}function wH(){}function mie(){}function mC(){}function K3(){}function yH(){}function _H(){}function vie(){}function bie(){}function vC(){}function xH(){}function kH(){}function Ul(){}function wie(){}function EH(){}function bC(){}function yie(){}function _ie(){}function wC(){}function TH(){}function yC(){}function _C(){}function R1(){}function ED(){}function TD(){}function qx(){}function xie(){}function kie(){}function Eie(){}function Tie(){}function Y3(){}function SH(){}function Ux(){}function h0(){}function CH(){}function AH(){}function MH(){}function LH(){}function IH(){}function OH(){}function B1(){}function ih(){}function Sie(){}function Cie(){}function Aie(){}function sh(){}function xC(){}function DH(){}function PH(){}function Gx(){}function Mie(){}function O7(){}function Lie(){}function NH(){}function Iie(){}function Oie(){}function kC(){}function RH(){}function SD(){}function EC(){}function Die(){}function Pie(){}function CD(){}function TC(){}function f0(){}function D7(){}function Nie(){}function P7(){}function AD(){}function e2(){}function SC(){}function MD(){}function F1(){}function CC(){}function d0(){}function g0(){}function Rie(){}function Bie(){}function o6(){}function N7(){}function R7(){}function AC(){}function Fie(){}function Wx(){}function LD(){}function BH(){}function jie(){}function MC(){KC()}function $ie(){Ple()}function FH(){_M()}function ID(){rG()}function Hie(){L8e()}function LC(){X1()}function zie(){Hke()}function Vie(){FN()}function qie(){rP()}function Uie(){nP()}function Gie(){MP()}function jH(){CQe()}function Wie(){Bk()}function Kie(){Fz()}function Yie(){$at()}function $H(){Jct()}function Xie(){bot()}function Qie(){Nit()}function IC(){JE()}function Zie(){nb()}function Jie(){elt()}function ese(){Ast()}function tse(){kEe()}function nse(){Hft()}function rse(){Rit()}function HH(){Nt()}function ise(){Pit()}function zH(){tlt()}function sse(){iut()}function OD(){Fit()}function ase(){kot()}function VH(){AQe()}function ose(){h7e()}function qH(){O4()}function cse(){Alt()}function UH(){zN()}function GH(){lhe()}function WH(){mue()}function DD(){Ay()}function c6(){oxe()}function OC(){Bit()}function sg(){Ygt()}function KH(){c7e()}function B7(){the()}function PD(){zq()}function lse(){uG()}function Ev(){Yi()}function YH(){TU()}function XH(){pke()}function QH(){MG()}function Qf(){Ett()}function ND(){ble()}function ZH(){Y7e()}function F7(e){Xn(e)}function DC(e){this.a=e}function j7(e){this.a=e}function JH(e){this.a=e}function Kx(e){this.a=e}function Lw(e){this.a=e}function $7(e){this.a=e}function ez(e){this.a=e}function use(e){this.a=e}function RD(e){this.a=e}function l6(e){this.a=e}function BD(e){this.a=e}function PC(e){this.a=e}function hse(e){this.a=e}function NC(e){this.a=e}function RC(e){this.a=e}function Yx(e){this.a=e}function FD(e){this.a=e}function jD(e){this.a=e}function fse(e){this.a=e}function dse(e){this.a=e}function gse(e){this.a=e}function tz(e){this.b=e}function pse(e){this.c=e}function mse(e){this.a=e}function vse(e){this.a=e}function bse(e){this.a=e}function wse(e){this.a=e}function yse(e){this.a=e}function _se(e){this.a=e}function xse(e){this.a=e}function kse(e){this.a=e}function Xx(e){this.a=e}function Ese(e){this.a=e}function H7(e){this.a=e}function xd(e){this.a=e}function Tse(e){this.a=e}function Qx(e){this.a=e}function z7(e){this.a=e}function BC(e){this.a=e}function V7(e){this.a=e}function gm(){this.a=[]}function Sse(e,t){e.a=t}function Xwe(e,t){e.a=t}function Qwe(e,t){e.b=t}function Zwe(e,t){e.b=t}function Jwe(e,t){e.b=t}function $D(e,t){e.j=t}function eye(e,t){e.g=t}function tye(e,t){e.i=t}function Cse(e,t){e.c=t}function p0(e,t){e.d=t}function Ase(e,t){e.d=t}function nye(e,t){e.c=t}function Cp(e,t){e.k=t}function Mse(e,t){e.c=t}function nz(e,t){e.c=t}function rz(e,t){e.a=t}function Lse(e,t){e.a=t}function rye(e,t){e.f=t}function iye(e,t){e.a=t}function Iw(e,t){e.b=t}function HD(e,t){e.d=t}function FC(e,t){e.i=t}function iz(e,t){e.o=t}function sye(e,t){e.r=t}function aye(e,t){e.a=t}function sz(e,t){e.b=t}function Ow(e,t){e.e=t}function Ise(e,t){e.f=t}function jC(e,t){e.g=t}function Zx(e,t){e.e=t}function oye(e,t){e.f=t}function q7(e,t){e.f=t}function Ose(e,t){e.n=t}function pm(e,t){e.a=t}function cye(e,t){e.a=t}function u6(e,t){e.c=t}function Dse(e,t){e.c=t}function Pse(e,t){e.d=t}function az(e,t){e.e=t}function oz(e,t){e.g=t}function Nse(e,t){e.a=t}function U7(e,t){e.c=t}function $C(e,t){e.d=t}function lye(e,t){e.e=t}function Rse(e,t){e.f=t}function Bse(e,t){e.j=t}function Fse(e,t){e.a=t}function uye(e,t){e.b=t}function eu(e,t){e.a=t}function cz(e){e.b=e.a}function jse(e){e.c=e.d.d}function Jx(e){this.d=e}function mm(e){this.a=e}function X3(e){this.a=e}function zD(e){this.a=e}function m0(e){this.a=e}function ek(e){this.a=e}function $se(e){this.a=e}function lz(e){this.a=e}function h6(e){this.a=e}function VD(e){this.a=e}function Q3(e){this.a=e}function uz(e){this.a=e}function v0(e){this.a=e}function _(e){this.a=e}function p(e){this.a=e}function x(e){this.b=e}function S(e){this.b=e}function L(e){this.b=e}function R(e){this.a=e}function B(e){this.a=e}function q(e){this.a=e}function W(e){this.c=e}function M(e){this.c=e}function X(e){this.c=e}function ee(e){this.a=e}function le(e){this.a=e}function fe(e){this.a=e}function ve(e){this.a=e}function be(e){this.a=e}function Fe(e){this.a=e}function Ae(e){this.a=e}function $e(e){this.a=e}function ze(e){this.a=e}function Xe(e){this.a=e}function lt(e){this.a=e}function st(e){this.a=e}function Ze(e){this.a=e}function gt(e){this.a=e}function tt(e){this.a=e}function Tt(e){this.a=e}function Ct(e){this.a=e}function pt(e){this.a=e}function Wt(e){this.a=e}function At(e){this.a=e}function Mn(e){this.a=e}function tn(e){this.a=e}function sn(e){this.a=e}function Fn(e){this.a=e}function Yn(e){this.a=e}function wr(e){this.a=e}function qn(e){this.a=e}function br(e){this.a=e}function Dr(e){this.a=e}function Qr(e){this.a=e}function Hr(e){this.a=e}function Mr(e){this.a=e}function Pn(e){this.a=e}function Kr(e){this.a=e}function qr(e){this.a=e}function Fi(e){this.a=e}function ls(e){this.a=e}function uo(e){this.a=e}function Yo(e){this.a=e}function ms(e){this.a=e}function es(e){this.a=e}function Ta(e){this.a=e}function Gs(e){this.a=e}function ys(e){this.a=e}function Js(e){this.a=e}function gc(e){this.e=e}function ho(e){this.a=e}function Za(e){this.a=e}function ni(e){this.a=e}function ct(e){this.a=e}function ir(e){this.a=e}function ci(e){this.a=e}function Pr(e){this.a=e}function Nr(e){this.a=e}function rc(e){this.a=e}function ki(e){this.a=e}function ta(e){this.a=e}function gl(e){this.a=e}function yu(e){this.a=e}function Ec(e){this.a=e}function tu(e){this.a=e}function Xo(e){this.a=e}function Tc(e){this.a=e}function df(e){this.a=e}function j1(e){this.a=e}function Tv(e){this.a=e}function Sv(e){this.a=e}function $1(e){this.a=e}function vm(e){this.a=e}function ag(e){this.a=e}function Dw(e){this.a=e}function Z3(e){this.a=e}function tk(e){this.a=e}function f6(e){this.a=e}function nk(e){this.a=e}function HC(e){this.a=e}function d6(e){this.a=e}function Vg(e){this.a=e}function b0(e){this.a=e}function qg(e){this.a=e}function zC(e){this.a=e}function t2(e){this.a=e}function hz(e){this.a=e}function Hse(e){this.a=e}function zse(e){this.a=e}function Vse(e){this.a=e}function qse(e){this.a=e}function Use(e){this.a=e}function Gse(e){this.a=e}function Wse(e){this.a=e}function G7(e){this.a=e}function qD(e){this.a=e}function VC(e){this.a=e}function fz(e){this.a=e}function dz(e){this.a=e}function Kse(e){this.a=e}function Cv(e){this.a=e}function UD(e){this.a=e}function gz(e){this.a=e}function W7(e){this.c=e}function Av(e){this.b=e}function Yse(e){this.a=e}function vWe(e){this.a=e}function bWe(e){this.a=e}function wWe(e){this.a=e}function yWe(e){this.a=e}function _We(e){this.a=e}function xWe(e){this.a=e}function kWe(e){this.a=e}function EWe(e){this.a=e}function TWe(e){this.a=e}function SWe(e){this.a=e}function CWe(e){this.a=e}function AWe(e){this.a=e}function MWe(e){this.a=e}function LWe(e){this.a=e}function IWe(e){this.a=e}function OWe(e){this.a=e}function DWe(e){this.a=e}function PWe(e){this.a=e}function NWe(e){this.a=e}function RWe(e){this.a=e}function BWe(e){this.a=e}function FWe(e){this.a=e}function jWe(e){this.a=e}function Mv(e){this.a=e}function rk(e){this.a=e}function $We(e){this.a=e}function HWe(e){this.a=e}function zWe(e){this.a=e}function VWe(e){this.a=e}function qWe(e){this.a=e}function UWe(e){this.a=e}function GWe(e){this.a=e}function WWe(e){this.a=e}function KWe(e){this.a=e}function YWe(e){this.a=e}function XWe(e){this.a=e}function QWe(e){this.a=e}function ZWe(e){this.a=e}function JWe(e){this.a=e}function eKe(e){this.a=e}function tKe(e){this.a=e}function pz(e){this.a=e}function nKe(e){this.a=e}function rKe(e){this.a=e}function iKe(e){this.a=e}function sKe(e){this.a=e}function aKe(e){this.a=e}function oKe(e){this.a=e}function cKe(e){this.a=e}function lKe(e){this.a=e}function uKe(e){this.a=e}function hKe(e){this.a=e}function fKe(e){this.a=e}function dKe(e){this.a=e}function gKe(e){this.a=e}function pKe(e){this.a=e}function mKe(e){this.a=e}function vKe(e){this.a=e}function bKe(e){this.a=e}function wKe(e){this.a=e}function yKe(e){this.a=e}function _Ke(e){this.a=e}function xKe(e){this.a=e}function kKe(e){this.a=e}function EKe(e){this.a=e}function TKe(e){this.a=e}function SKe(e){this.a=e}function CKe(e){this.a=e}function AKe(e){this.a=e}function MKe(e){this.a=e}function hye(e){this.a=e}function Xs(e){this.b=e}function LKe(e){this.f=e}function fye(e){this.a=e}function IKe(e){this.a=e}function OKe(e){this.a=e}function DKe(e){this.a=e}function PKe(e){this.a=e}function NKe(e){this.a=e}function RKe(e){this.a=e}function BKe(e){this.a=e}function FKe(e){this.a=e}function GD(e){this.a=e}function jKe(e){this.a=e}function $Ke(e){this.b=e}function dye(e){this.c=e}function mz(e){this.e=e}function HKe(e){this.a=e}function vz(e){this.a=e}function bz(e){this.a=e}function Xse(e){this.a=e}function zKe(e){this.a=e}function VKe(e){this.d=e}function gye(e){this.a=e}function pye(e){this.a=e}function Pw(e){this.e=e}function Gnn(){this.a=0}function g6(){xJe(this)}function yt(){noe(this)}function si(){qh(this)}function Qse(){Art(this)}function qKe(){}function Nw(){this.c=XPe}function Wnn(e,t){t.Wb(e)}function UKe(e,t){e.b+=t}function GKe(e){e.b=new gae}function ue(e){return e.e}function Knn(e){return e.a}function Ynn(e){return e.a}function Xnn(e){return e.a}function Qnn(e){return e.a}function Znn(e){return e.a}function Jnn(){return null}function ern(){return null}function trn(){t3e(),fTn()}function nrn(e){e.b.tf(e.e)}function qC(e,t){e.b=t-e.b}function UC(e,t){e.a=t-e.a}function WKe(e,t){t.ad(e.a)}function rrn(e,t){Ka(t,e)}function irn(e,t,n){e.Od(n,t)}function WD(e,t){e.e=t,t.b=e}function mye(e){fg(),this.a=e}function KKe(e){fg(),this.a=e}function YKe(e){fg(),this.a=e}function vye(e){m4(),this.a=e}function XKe(e){EE(),A1e.be(e)}function n2(){set.call(this)}function bye(){set.call(this)}function wye(){n2.call(this)}function Zse(){n2.call(this)}function QKe(){n2.call(this)}function KD(){n2.call(this)}function Eh(){n2.call(this)}function GC(){n2.call(this)}function pi(){n2.call(this)}function Zf(){n2.call(this)}function ZKe(){n2.call(this)}function Gl(){n2.call(this)}function JKe(){n2.call(this)}function eYe(){this.a=this}function wz(){this.Bb|=256}function tYe(){this.b=new rJe}function yye(){yye=Ee,new si}function _ye(){wye.call(this)}function nYe(e,t){e.length=t}function yz(e,t){wt(e.a,t)}function srn(e,t){O8e(e.c,t)}function arn(e,t){Ga(e.b,t)}function orn(e,t){QU(e.a,t)}function crn(e,t){Vle(e.a,t)}function K7(e,t){us(e.e,t)}function ik(e){dG(e.c,e.b)}function lrn(e,t){e.kc().Nb(t)}function xye(e){this.a=ovn(e)}function Ja(){this.a=new si}function rYe(){this.a=new si}function _z(){this.a=new yt}function Jse(){this.a=new yt}function kye(){this.a=new yt}function kd(){this.a=new Qa}function r2(){this.a=new Rat}function Eye(){this.a=new p7}function Tye(){this.a=new wQe}function iYe(){this.a=new lst}function Sye(){this.a=new Tit}function Cye(){this.a=new Yet}function sYe(){this.a=new yt}function Aye(){this.a=new yt}function aYe(){this.a=new yt}function oYe(){this.a=new yt}function cYe(){this.d=new yt}function lYe(){this.a=new Ja}function uYe(){this.a=new si}function hYe(){this.b=new si}function fYe(){this.b=new yt}function Mye(){this.e=new yt}function dYe(){this.d=new yt}function gYe(){this.a=new Zie}function pYe(){yt.call(this)}function Lye(){_z.call(this)}function mYe(){LV.call(this)}function vYe(){Aye.call(this)}function eae(){WC.call(this)}function WC(){qKe.call(this)}function sk(){qKe.call(this)}function Iye(){sk.call(this)}function bYe(){nit.call(this)}function wYe(){nit.call(this)}function yYe(){Fye.call(this)}function _Ye(){Fye.call(this)}function xYe(){Fye.call(this)}function kYe(){jye.call(this)}function Th(){sa.call(this)}function Oye(){G3.call(this)}function Dye(){G3.call(this)}function EYe(){$Ye.call(this)}function TYe(){$Ye.call(this)}function SYe(){si.call(this)}function CYe(){si.call(this)}function AYe(){si.call(this)}function MYe(){Ja.call(this)}function tae(){Xct.call(this)}function LYe(){wz.call(this)}function nae(){l4e.call(this)}function rae(){l4e.call(this)}function Pye(){si.call(this)}function iae(){si.call(this)}function IYe(){si.call(this)}function Nye(){S7.call(this)}function OYe(){S7.call(this)}function DYe(){Nye.call(this)}function PYe(){LD.call(this)}function NYe(e){_ct.call(this,e)}function RYe(e){_ct.call(this,e)}function Rye(e){RD.call(this,e)}function Bye(e){lQe.call(this,e)}function urn(e){Bye.call(this,e)}function hrn(e){lQe.call(this,e)}function Y7(){this.a=new sa}function Fye(){this.a=new Ja}function jye(){this.a=new si}function BYe(){this.a=new yt}function FYe(){this.j=new yt}function $ye(){this.a=new eH}function jYe(){this.a=new PXe}function $Ye(){this.a=new aH}function sae(){sae=Ee,k1e=new iXe}function aae(){aae=Ee,x1e=new rXe}function KC(){KC=Ee,_1e=new j}function xz(){xz=Ee,S1e=new ret}function frn(e){Bye.call(this,e)}function drn(e){Bye.call(this,e)}function HYe(e){Rce.call(this,e)}function zYe(e){Rce.call(this,e)}function VYe(e){vtt.call(this,e)}function oae(e){D3n.call(this,e)}function Rw(e){n4.call(this,e)}function YC(e){Pz.call(this,e)}function Hye(e){Pz.call(this,e)}function qYe(e){Pz.call(this,e)}function Tl(e){Int.call(this,e)}function UYe(e){Tl.call(this,e)}function ak(){V7.call(this,{})}function kz(e){lE(),this.a=e}function XC(e){e.b=null,e.c=0}function grn(e,t){e.e=t,K0t(e,t)}function prn(e,t){e.a=t,w4n(e)}function cae(e,t,n){e.a[t.g]=n}function mrn(e,t,n){Nwn(n,e,t)}function vrn(e,t){zan(t.i,e.n)}function GYe(e,t){Vpn(e).td(t)}function brn(e,t){return e*e/t}function WYe(e,t){return e.g-t.g}function wrn(e){return new BC(e)}function yrn(e){return new p4(e)}function Ez(e){Tl.call(this,e)}function Qc(e){Tl.call(this,e)}function KYe(e){Tl.call(this,e)}function lae(e){Int.call(this,e)}function uae(e){sxe(),this.a=e}function YYe(e){ktt(),this.a=e}function J3(e){$oe(),this.f=e}function hae(e){$oe(),this.f=e}function X7(e){Tl.call(this,e)}function Jn(e){Tl.call(this,e)}function pl(e){Tl.call(this,e)}function XYe(e){Tl.call(this,e)}function ok(e){Tl.call(this,e)}function Zt(e){return Xn(e),e}function ot(e){return Xn(e),e}function YD(e){return Xn(e),e}function zye(e){return Xn(e),e}function _rn(e){return Xn(e),e}function QC(e){return e.b==e.c}function e4(e){return!!e&&e.b}function xrn(e){return!!e&&e.k}function krn(e){return!!e&&e.j}function gf(e){Xn(e),this.a=e}function Vye(e){return _2(e),e}function ZC(e){t6e(e,e.length)}function bm(e){Tl.call(this,e)}function og(e){Tl.call(this,e)}function fae(e){Tl.call(this,e)}function p6(e){Tl.call(this,e)}function JC(e){Tl.call(this,e)}function bi(e){Tl.call(this,e)}function dae(e){C4e.call(this,e,0)}function gae(){N6e.call(this,12,3)}function qye(){qye=Ee,GSe=new Me}function QYe(){QYe=Ee,qSe=new O}function Tz(){Tz=Ee,xL=new Oe}function ZYe(){ZYe=Ee,Myt=new Ve}function JYe(){throw ue(new pi)}function Uye(){throw ue(new pi)}function eXe(){throw ue(new pi)}function Ern(){throw ue(new pi)}function Trn(){throw ue(new pi)}function Srn(){throw ue(new pi)}function pae(){this.a=wi(ui(bc))}function ck(e){fg(),this.a=ui(e)}function tXe(e,t){e.Td(t),t.Sd(e)}function Crn(e,t){e.a.ec().Mc(t)}function Arn(e,t,n){e.c.lf(t,n)}function Gye(e){Qc.call(this,e)}function cg(e){Jn.call(this,e)}function wm(){ek.call(this,"")}function eA(){ek.call(this,"")}function Lv(){ek.call(this,"")}function t4(){ek.call(this,"")}function Wye(e){Qc.call(this,e)}function Q7(e){S.call(this,e)}function mae(e){_V.call(this,e)}function nXe(e){Q7.call(this,e)}function rXe(){NC.call(this,null)}function iXe(){NC.call(this,null)}function Sz(){Sz=Ee,EE()}function sXe(){sXe=Ee,jyt=cyn()}function aXe(e){return e.a?e.b:0}function Mrn(e){return e.a?e.b:0}function Lrn(e,t){return e.a-t.a}function Irn(e,t){return e.a-t.a}function Orn(e,t){return e.a-t.a}function Cz(e,t){return T_e(e,t)}function de(e,t){return Ait(e,t)}function Drn(e,t){return t in e.a}function oXe(e,t){return e.f=t,e}function Prn(e,t){return e.b=t,e}function cXe(e,t){return e.c=t,e}function Nrn(e,t){return e.g=t,e}function Kye(e,t){return e.a=t,e}function Yye(e,t){return e.f=t,e}function Rrn(e,t){return e.k=t,e}function Xye(e,t){return e.a=t,e}function Brn(e,t){return e.e=t,e}function Qye(e,t){return e.e=t,e}function Frn(e,t){return e.f=t,e}function jrn(e,t){e.b=!0,e.d=t}function $rn(e,t){e.b=new Zc(t)}function Hrn(e,t,n){t.td(e.a[n])}function zrn(e,t,n){t.we(e.a[n])}function Vrn(e,t){return e.b-t.b}function qrn(e,t){return e.g-t.g}function Urn(e,t){return e.s-t.s}function Grn(e,t){return e?0:t-1}function lXe(e,t){return e?0:t-1}function Wrn(e,t){return e?t-1:0}function Krn(e,t){return t.Yf(e)}function Bw(e,t){return e.b=t,e}function Az(e,t){return e.a=t,e}function Fw(e,t){return e.c=t,e}function jw(e,t){return e.d=t,e}function $w(e,t){return e.e=t,e}function Zye(e,t){return e.f=t,e}function tA(e,t){return e.a=t,e}function Z7(e,t){return e.b=t,e}function J7(e,t){return e.c=t,e}function dn(e,t){return e.c=t,e}function Bn(e,t){return e.b=t,e}function gn(e,t){return e.d=t,e}function pn(e,t){return e.e=t,e}function Yrn(e,t){return e.f=t,e}function mn(e,t){return e.g=t,e}function vn(e,t){return e.a=t,e}function bn(e,t){return e.i=t,e}function wn(e,t){return e.j=t,e}function uXe(e,t){return e.k=t,e}function Xrn(e,t){return e.j=t,e}function Qrn(e,t){nb(),Cl(t,e)}function Zrn(e,t,n){Gln(e.a,t,n)}function hXe(e){Lrt.call(this,e)}function Jye(e){Lrt.call(this,e)}function Mz(e){koe.call(this,e)}function fXe(e){pvn.call(this,e)}function Iv(e){hy.call(this,e)}function dXe(e){hce.call(this,e)}function gXe(e){hce.call(this,e)}function pXe(){i4e.call(this,"")}function Qo(){this.a=0,this.b=0}function mXe(){this.b=0,this.a=0}function vXe(e,t){e.b=0,S4(e,t)}function Jrn(e,t){e.c=t,e.b=!0}function bXe(e,t){return e.c._b(t)}function H1(e){return e.e&&e.e()}function vae(e){return e?e.d:null}function wXe(e,t){return Wut(e.b,t)}function ein(e){return e?e.g:null}function tin(e){return e?e.i:null}function Ov(e){return Lp(e),e.o}function Hw(){Hw=Ee,B7t=wwn()}function yXe(){yXe=Ee,vo=Iyn()}function eE(){eE=Ee,YPe=_wn()}function _Xe(){_Xe=Ee,_Et=ywn()}function e3e(){e3e=Ee,Ql=m4n()}function t3e(){t3e=Ee,Ab=HE()}function xXe(){throw ue(new pi)}function kXe(){throw ue(new pi)}function EXe(){throw ue(new pi)}function TXe(){throw ue(new pi)}function SXe(){throw ue(new pi)}function CXe(){throw ue(new pi)}function Lz(e){this.a=new lk(e)}function n3e(e){Emt(),TTn(this,e)}function Dv(e){this.a=new qoe(e)}function m6(e,t){for(;e.ye(t););}function r3e(e,t){for(;e.sd(t););}function v6(e,t){return e.a+=t,e}function bae(e,t){return e.a+=t,e}function ym(e,t){return e.a+=t,e}function zw(e,t){return e.a+=t,e}function nA(e){return qv(e),e.a}function Iz(e){return e.b!=e.d.c}function AXe(e){return e.l|e.m<<22}function i3e(e,t){return e.d[t.p]}function MXe(e,t){return sxn(e,t)}function s3e(e,t,n){e.splice(t,n)}function LXe(e){e.c?pgt(e):mgt(e)}function Oz(e){this.a=0,this.b=e}function IXe(){this.a=new ZN(cOe)}function OXe(){this.b=new ZN(KIe)}function DXe(){this.b=new ZN(Wge)}function PXe(){this.b=new ZN(Wge)}function NXe(){throw ue(new pi)}function RXe(){throw ue(new pi)}function BXe(){throw ue(new pi)}function FXe(){throw ue(new pi)}function jXe(){throw ue(new pi)}function $Xe(){throw ue(new pi)}function HXe(){throw ue(new pi)}function zXe(){throw ue(new pi)}function VXe(){throw ue(new pi)}function qXe(){throw ue(new pi)}function nin(){throw ue(new Gl)}function rin(){throw ue(new Gl)}function XD(e){this.a=new UXe(e)}function UXe(e){ggn(this,e,gyn())}function QD(e){return!e||grt(e)}function ZD(e){return G0[e]!=-1}function iin(){XW!=0&&(XW=0),QW=-1}function GXe(){y1e==null&&(y1e=[])}function sin(e,t){Xue(rt(e.a),t)}function ain(e,t){Xue(rt(e.a),t)}function JD(e,t){S6.call(this,e,t)}function tE(e,t){JD.call(this,e,t)}function a3e(e,t){this.b=e,this.c=t}function WXe(e,t){this.b=e,this.a=t}function KXe(e,t){this.a=e,this.b=t}function YXe(e,t){this.a=e,this.b=t}function XXe(e,t){this.a=e,this.b=t}function QXe(e,t){this.a=e,this.b=t}function ZXe(e,t){this.a=e,this.b=t}function JXe(e,t){this.a=e,this.b=t}function eQe(e,t){this.a=e,this.b=t}function tQe(e,t){this.a=e,this.b=t}function nQe(e,t){this.b=e,this.a=t}function rQe(e,t){this.b=e,this.a=t}function iQe(e,t){this.b=e,this.a=t}function sQe(e,t){this.b=e,this.a=t}function Ai(e,t){this.f=e,this.g=t}function nE(e,t){this.e=e,this.d=t}function Vw(e,t){this.g=e,this.i=t}function wae(e,t){this.a=e,this.b=t}function aQe(e,t){this.a=e,this.f=t}function oQe(e,t){this.b=e,this.c=t}function oin(e,t){this.a=e,this.b=t}function cQe(e,t){this.a=e,this.b=t}function yae(e,t){this.a=e,this.b=t}function lQe(e){m4e(e.dc()),this.c=e}function Dz(e){this.b=l(ui(e),83)}function uQe(e){this.a=l(ui(e),83)}function n4(e){this.a=l(ui(e),15)}function hQe(e){this.a=l(ui(e),15)}function Pz(e){this.b=l(ui(e),47)}function Nz(){this.q=new v.Date}function Ug(){Ug=Ee,oCe=new kt}function rE(){rE=Ee,Z9=new Qe}function rA(e){return e.f.c+e.g.c}function eP(e,t){return e.b.Hc(t)}function fQe(e,t){return e.b.Ic(t)}function dQe(e,t){return e.b.Qc(t)}function gQe(e,t){return e.b.Hc(t)}function pQe(e,t){return e.c.uc(t)}function Ap(e,t){return e.a._b(t)}function mQe(e,t){return hs(e.c,t)}function vQe(e,t){return bf(e.b,t)}function bQe(e,t){return e>t&&t<UM}function cin(e,t){return e.Gc(t),e}function lin(e,t){return mc(e,t),e}function uin(e){return lrt(),e?Ayt:Cyt}function lk(e){sut.call(this,e,0)}function wQe(){qoe.call(this,null)}function o3e(){Gce.call(this,null)}function uk(e){this.c=e,ect(this)}function sa(){LJe(this),Sd(this)}function ya(e,t){qv(e),e.a.Nb(t)}function yQe(e,t){return e.Gc(t),e}function hin(e,t){return e.a.f=t,e}function _Qe(e,t){return e.a.d=t,e}function xQe(e,t){return e.a.g=t,e}function kQe(e,t){return e.a.j=t,e}function s1(e,t){return e.a.a=t,e}function a1(e,t){return e.a.d=t,e}function o1(e,t){return e.a.e=t,e}function c1(e,t){return e.a.g=t,e}function tP(e,t){return e.a.f=t,e}function fin(e){return e.b=!1,e}function iE(){iE=Ee,wCe=new iJe}function Rz(){Rz=Ee,Hyt=new sJe}function sE(){sE=Ee,TCe=new Ut}function EQe(){EQe=Ee,H4t=new H3}function Bz(){Bz=Ee,q1e=new vet}function i2(){i2=Ee,J9=new yo}function iA(){iA=Ee,V4t=new iD}function TQe(){TQe=Ee,Qyt=new Gr}function c3e(){c3e=Ee,L4t=new WS}function nP(){nP=Ee,G4t=new Qo}function SQe(){SQe=Ee,I4t=new Tp}function l3e(){l3e=Ee,O4t=new knt}function u3e(){u3e=Ee,xAe=new bv}function rP(){rP=Ee,W4t=new XS}function CQe(){CQe=Ee,Q4t=new Cw}function sA(){sA=Ee,r5t=new Rte}function Fz(){Fz=Ee,y_=new Wte}function AQe(){AQe=Ee,Tkt=new eo}function jz(){jz=Ee,Kge=new LQe}function $z(){$z=Ee,Yge=new Oet}function aA(){aA=Ee,EB=new xrt}function Hz(){Hz=Ee,W_t=new Yre}function MQe(){Zct(),this.c=new gae}function LQe(){Ai.call(this,ybt,0)}function qw(e,t){S2(e.c.b,t.c,t)}function oA(e,t){S2(e.c.c,t.b,t)}function din(e,t,n){Jc(e.d,t.f,n)}function gin(e,t,n,r){qbn(e,r,t,n)}function pin(e,t,n,r){f_n(r,e,t,n)}function min(e,t,n,r){M9n(r,e,t,n)}function zz(e,t){return e.a=t.g,e}function IQe(e,t){return J2n(e.a,t)}function vin(e){return e.b?e.b:e.a}function bin(e){return(e.c+e.a)/2}function r4(){r4=Ee,N7t=new Jre}function OQe(){OQe=Ee,V7t=new eie}function DQe(){DQe=Ee,nEt=new CYe}function PQe(){PQe=Ee,rEt=new AYe}function Pv(){Pv=Ee,Gd=new Pye}function h3e(){h3e=Ee,KPe=new IYe}function cA(){cA=Ee,Dpe=new RJe}function _m(){_m=Ee,XB=new BJe}function _ae(){_ae=Ee,vEt=new Eie}function Sc(){Sc=Ee,wEt=new Tie}function Vz(){Vz=Ee,hX=new si}function f3e(){f3e=Ee,sNe=new yt}function Nv(){Nv=Ee,Ob=new jie}function win(e){v.clearTimeout(e)}function d3e(e){this.a=l(ui(e),224)}function qz(e){return l(e,42).cd()}function iP(e){return e.b<e.d.gc()}function NQe(e,t){return Boe(e.a,t)}function RQe(e,t){return nu(e,t)>0}function xae(e,t){return nu(e,t)<0}function lA(e,t){return e.a.get(t)}function yin(e,t){return t.split(e)}function BQe(e,t){return bf(e.e,t)}function g3e(e){return Xn(e),!1}function Uz(e){zn.call(this,e,21)}function _in(e,t){mit.call(this,e,t)}function Gz(e,t){Ai.call(this,e,t)}function kae(e,t){Ai.call(this,e,t)}function p3e(e){rce(),vtt.call(this,e)}function m3e(e,t){ynt(e,e.length,t)}function sP(e,t){Ynt(e,e.length,t)}function xin(e,t,n){t.ud(e.a.Ge(n))}function kin(e,t,n){t.we(e.a.Fe(n))}function Ein(e,t,n){t.td(e.a.Kb(n))}function Tin(e,t,n){e.Mb(n)&&t.td(n)}function uA(e,t,n){e.splice(t,0,n)}function Sin(e,t){return Ch(e.e,t)}function Wz(e,t){this.d=e,this.e=t}function FQe(e,t){this.b=e,this.a=t}function jQe(e,t){this.b=e,this.a=t}function v3e(e,t){this.b=e,this.a=t}function $Qe(e,t){this.a=e,this.b=t}function HQe(e,t){this.a=e,this.b=t}function zQe(e,t){this.a=e,this.b=t}function VQe(e,t){this.a=e,this.b=t}function hk(e,t){this.a=e,this.b=t}function b3e(e,t){this.b=e,this.a=t}function w3e(e,t){this.b=e,this.a=t}function Kz(e,t){Ai.call(this,e,t)}function Yz(e,t){Ai.call(this,e,t)}function y3e(e,t){Ai.call(this,e,t)}function _3e(e,t){Ai.call(this,e,t)}function b6(e,t){Ai.call(this,e,t)}function Eae(e,t){Ai.call(this,e,t)}function Tae(e,t){Ai.call(this,e,t)}function Sae(e,t){Ai.call(this,e,t)}function Xz(e,t){Ai.call(this,e,t)}function x3e(e,t){Ai.call(this,e,t)}function Cae(e,t){Ai.call(this,e,t)}function aP(e,t){Ai.call(this,e,t)}function Qz(e,t){Ai.call(this,e,t)}function Aae(e,t){Ai.call(this,e,t)}function hA(e,t){Ai.call(this,e,t)}function k3e(e,t){Ai.call(this,e,t)}function Ca(e,t){Ai.call(this,e,t)}function Zz(e,t){Ai.call(this,e,t)}function qQe(e,t){this.a=e,this.b=t}function UQe(e,t){this.a=e,this.b=t}function GQe(e,t){this.a=e,this.b=t}function WQe(e,t){this.a=e,this.b=t}function KQe(e,t){this.a=e,this.b=t}function YQe(e,t){this.a=e,this.b=t}function XQe(e,t){this.a=e,this.b=t}function QQe(e,t){this.a=e,this.b=t}function ZQe(e,t){this.a=e,this.b=t}function E3e(e,t){this.b=e,this.a=t}function JQe(e,t){this.b=e,this.a=t}function eZe(e,t){this.b=e,this.a=t}function tZe(e,t){this.b=e,this.a=t}function aE(e,t){this.c=e,this.d=t}function nZe(e,t){this.e=e,this.d=t}function rZe(e,t){this.a=e,this.b=t}function iZe(e,t){this.b=t,this.c=e}function Jz(e,t){Ai.call(this,e,t)}function oP(e,t){Ai.call(this,e,t)}function Mae(e,t){Ai.call(this,e,t)}function fA(e,t){Ai.call(this,e,t)}function T3e(e,t){Ai.call(this,e,t)}function Lae(e,t){Ai.call(this,e,t)}function Iae(e,t){Ai.call(this,e,t)}function cP(e,t){Ai.call(this,e,t)}function S3e(e,t){Ai.call(this,e,t)}function Oae(e,t){Ai.call(this,e,t)}function dA(e,t){Ai.call(this,e,t)}function C3e(e,t){Ai.call(this,e,t)}function gA(e,t){Ai.call(this,e,t)}function pA(e,t){Ai.call(this,e,t)}function i4(e,t){Ai.call(this,e,t)}function Dae(e,t){Ai.call(this,e,t)}function Pae(e,t){Ai.call(this,e,t)}function A3e(e,t){Ai.call(this,e,t)}function mA(e,t){Ai.call(this,e,t)}function Nae(e,t){Ai.call(this,e,t)}function eV(e,t){Ai.call(this,e,t)}function lP(e,t){Ai.call(this,e,t)}function uP(e,t){Ai.call(this,e,t)}function fk(e,t){Ai.call(this,e,t)}function Rae(e,t){Ai.call(this,e,t)}function M3e(e,t){Ai.call(this,e,t)}function Bae(e,t){Ai.call(this,e,t)}function Fae(e,t){Ai.call(this,e,t)}function L3e(e,t){Ai.call(this,e,t)}function jae(e,t){Ai.call(this,e,t)}function $ae(e,t){Ai.call(this,e,t)}function Hae(e,t){Ai.call(this,e,t)}function zae(e,t){Ai.call(this,e,t)}function I3e(e,t){Ai.call(this,e,t)}function sZe(e,t){this.b=e,this.a=t}function aZe(e,t){this.a=e,this.b=t}function oZe(e,t){this.a=e,this.b=t}function cZe(e,t){this.a=e,this.b=t}function lZe(e,t){this.a=e,this.b=t}function O3e(e,t){Ai.call(this,e,t)}function D3e(e,t){Ai.call(this,e,t)}function uZe(e,t){this.b=e,this.d=t}function P3e(e,t){Ai.call(this,e,t)}function N3e(e,t){Ai.call(this,e,t)}function hZe(e,t){this.a=e,this.b=t}function fZe(e,t){this.a=e,this.b=t}function tV(e,t){Ai.call(this,e,t)}function vA(e,t){Ai.call(this,e,t)}function R3e(e,t){Ai.call(this,e,t)}function B3e(e,t){Ai.call(this,e,t)}function F3e(e,t){Ai.call(this,e,t)}function Vae(e,t){Ai.call(this,e,t)}function j3e(e,t){Ai.call(this,e,t)}function qae(e,t){Ai.call(this,e,t)}function nV(e,t){Ai.call(this,e,t)}function Uae(e,t){Ai.call(this,e,t)}function Gae(e,t){Ai.call(this,e,t)}function hP(e,t){Ai.call(this,e,t)}function Wae(e,t){Ai.call(this,e,t)}function $3e(e,t){Ai.call(this,e,t)}function fP(e,t){Ai.call(this,e,t)}function H3e(e,t){Ai.call(this,e,t)}function Cin(e,t){return Ch(e.c,t)}function Ain(e,t){return Ch(t.b,e)}function Min(e,t){return-e.b.Je(t)}function z3e(e,t){return Ch(e.g,t)}function dP(e,t){Ai.call(this,e,t)}function dk(e,t){Ai.call(this,e,t)}function dZe(e,t){this.a=e,this.b=t}function gZe(e,t){this.a=e,this.b=t}function en(e,t){this.a=e,this.b=t}function bA(e,t){Ai.call(this,e,t)}function wA(e,t){Ai.call(this,e,t)}function gP(e,t){Ai.call(this,e,t)}function Kae(e,t){Ai.call(this,e,t)}function rV(e,t){Ai.call(this,e,t)}function yA(e,t){Ai.call(this,e,t)}function Yae(e,t){Ai.call(this,e,t)}function iV(e,t){Ai.call(this,e,t)}function w6(e,t){Ai.call(this,e,t)}function pP(e,t){Ai.call(this,e,t)}function _A(e,t){Ai.call(this,e,t)}function xA(e,t){Ai.call(this,e,t)}function mP(e,t){Ai.call(this,e,t)}function sV(e,t){Ai.call(this,e,t)}function y6(e,t){Ai.call(this,e,t)}function aV(e,t){Ai.call(this,e,t)}function pZe(e,t){this.a=e,this.b=t}function mZe(e,t){this.a=e,this.b=t}function vZe(e,t){this.a=e,this.b=t}function bZe(e,t){this.a=e,this.b=t}function wZe(e,t){this.a=e,this.b=t}function yZe(e,t){this.a=e,this.b=t}function No(e,t){this.a=e,this.b=t}function oV(e,t){Ai.call(this,e,t)}function _Ze(e,t){this.a=e,this.b=t}function xZe(e,t){this.a=e,this.b=t}function kZe(e,t){this.a=e,this.b=t}function EZe(e,t){this.a=e,this.b=t}function TZe(e,t){this.a=e,this.b=t}function SZe(e,t){this.a=e,this.b=t}function CZe(e,t){this.b=e,this.a=t}function AZe(e,t){this.b=e,this.a=t}function MZe(e,t){this.b=e,this.a=t}function LZe(e,t){this.b=e,this.a=t}function IZe(e,t){this.a=e,this.b=t}function OZe(e,t){this.a=e,this.b=t}function Lin(e,t){a_n(e.a,l(t,56))}function DZe(e,t){b0n(e.a,l(t,11))}function Iin(e,t){return gE(),t!=e}function PZe(){return sXe(),new jyt}function NZe(){xce(),this.b=new Ja}function RZe(){yG(),this.a=new Ja}function BZe(){P6e(),V5e.call(this)}function gk(e,t){Ai.call(this,e,t)}function FZe(e,t){this.a=e,this.b=t}function jZe(e,t){this.a=e,this.b=t}function cV(e,t){this.a=e,this.b=t}function $Ze(e,t){this.a=e,this.b=t}function HZe(e,t){this.a=e,this.b=t}function zZe(e,t){this.a=e,this.b=t}function VZe(e,t){this.d=e,this.b=t}function V3e(e,t){this.d=e,this.e=t}function qZe(e,t){this.f=e,this.c=t}function vP(e,t){this.b=e,this.c=t}function q3e(e,t){this.i=e,this.g=t}function UZe(e,t){this.e=e,this.a=t}function GZe(e,t){this.a=e,this.b=t}function U3e(e,t){e.i=null,uU(e,t)}function Oin(e,t){e&&ds(WB,e,t)}function WZe(e,t){return eue(e.a,t)}function lV(e){return LN(e.c,e.b)}function Bl(e){return e?e.dd():null}function Je(e){return e??null}function s4(e){return typeof e===Xk}function a4(e){return typeof e===EEe}function _o(e){return typeof e===$he}function Rv(e,t){return e.Hd().Xb(t)}function uV(e,t){return Kgn(e.Kc(),t)}function Uw(e,t){return nu(e,t)==0}function Din(e,t){return nu(e,t)>=0}function kA(e,t){return nu(e,t)!=0}function Pin(e){return""+(Xn(e),e)}function bP(e,t){return e.substr(t)}function KZe(e){return nf(e),e.d.gc()}function Xae(e){return L5n(e,e.c),e}function hV(e){return RA(e==null),e}function EA(e,t){return e.a+=""+t,e}function zc(e,t){return e.a+=""+t,e}function TA(e,t){return e.a+=""+t,e}function Wl(e,t){return e.a+=""+t,e}function Mi(e,t){return e.a+=""+t,e}function G3e(e,t){return e.a+=""+t,e}function YZe(e,t){xa(e,t,e.a,e.a.a)}function s2(e,t){xa(e,t,e.c.b,e.c)}function Nin(e,t,n){adt(t,Vue(e,n))}function Rin(e,t,n){adt(t,Vue(e,n))}function Bin(e,t){M0n(new Ir(e),t)}function XZe(e,t){e.q.setTime(cy(t))}function QZe(e,t){Z5e.call(this,e,t)}function ZZe(e,t){Z5e.call(this,e,t)}function Qae(e,t){Z5e.call(this,e,t)}function JZe(e){qh(this),cM(this,e)}function W3e(e){return Un(e,0),null}function z1(e){return e.a=0,e.b=0,e}function eJe(e,t){return e.a=t.g+1,e}function Fin(e,t){return e.j[t.p]==2}function K3e(e){return yun(l(e,79))}function tJe(){tJe=Ee,D3t=Ii(aue())}function nJe(){nJe=Ee,X4t=Ii($0t())}function rJe(){this.b=new lk(k4(12))}function iJe(){this.b=0,this.a=!1}function sJe(){this.b=0,this.a=!1}function SA(e){this.a=e,MC.call(this)}function aJe(e){this.a=e,MC.call(this)}function Nn(e,t){Ua.call(this,e,t)}function Zae(e,t){h4.call(this,e,t)}function _6(e,t){q3e.call(this,e,t)}function Jae(e,t){GE.call(this,e,t)}function oJe(e,t){wP.call(this,e,t)}function Vi(e,t){Vz(),ds(hX,e,t)}function eoe(e,t){return Mf(e.a,0,t)}function cJe(e,t){return e.a.a.a.cc(t)}function lJe(e,t){return Je(e)===Je(t)}function jin(e,t){return ja(e.a,t.a)}function $in(e,t){return ah(e.a,t.a)}function Hin(e,t){return Gnt(e.a,t.a)}function lg(e,t){return e.indexOf(t)}function Gw(e,t){return e==t?0:e?1:-1}function fV(e){return e<10?"0"+e:""+e}function zin(e){return ui(e),new SA(e)}function uJe(e){return qu(e.l,e.m,e.h)}function oE(e){return Sa((Xn(e),e))}function Vin(e){return Sa((Xn(e),e))}function hJe(e,t){return ah(e.g,t.g)}function ml(e){return typeof e===EEe}function qin(e){return e==Vy||e==i5}function Uin(e){return e==Vy||e==r5}function Y3e(e){return vl(e.b.b,e,0)}function fJe(e){this.a=PZe(),this.b=e}function dJe(e){this.a=PZe(),this.b=e}function Gin(e,t){return wt(e.a,t),t}function Win(e,t){return wt(e.c,t),e}function gJe(e,t){return Nf(e.a,t),e}function Kin(e,t){return u1(),t.a+=e}function Yin(e,t){return u1(),t.a+=e}function Xin(e,t){return u1(),t.c+=e}function X3e(e,t){OE(e,0,e.length,t)}function Mp(){Ae.call(this,new d2)}function pJe(){UV.call(this,0,0,0,0)}function pk(){td.call(this,0,0,0,0)}function Zc(e){this.a=e.a,this.b=e.b}function Bv(e){return e==jd||e==x1}function cE(e){return e==Jp||e==Zp}function mJe(e){return e==D_||e==O_}function x6(e){return e!=V0&&e!=Eb}function pf(e){return e.Lg()&&e.Mg()}function vJe(e){return oq(l(e,118))}function dV(e){return Nf(new eo,e)}function bJe(e,t){return new GE(t,e)}function Qin(e,t){return new GE(t,e)}function Q3e(e,t,n){nU(e,t),rU(e,n)}function gV(e,t,n){gy(e,t),dy(e,n)}function w0(e,t,n){dh(e,t),gh(e,n)}function pV(e,t,n){RE(e,t),FE(e,n)}function mV(e,t,n){BE(e,t),jE(e,n)}function toe(e,t){ZE(e,t),$E(e,e.D)}function Z3e(e){qZe.call(this,e,!0)}function wJe(e,t,n){H4e.call(this,e,t,n)}function Fv(e){rb(),Zgn.call(this,e)}function yJe(){Gz.call(this,"Head",1)}function _Je(){Gz.call(this,"Tail",3)}function noe(e){e.c=Ue(xr,Ht,1,0,5,1)}function xJe(e){e.a=Ue(xr,Ht,1,8,5,1)}function kJe(e){fh(e.xf(),new Hr(e))}function k6(e){return e!=null?Ws(e):0}function Zin(e,t){return E4(t,x0(e))}function Jin(e,t){return E4(t,x0(e))}function esn(e,t){return e[e.length]=t}function tsn(e,t){return e[e.length]=t}function J3e(e){return eln(e.b.Kc(),e.a)}function nsn(e,t){return lU(tce(e.d),t)}function rsn(e,t){return lU(tce(e.g),t)}function isn(e,t){return lU(tce(e.j),t)}function Cc(e,t){Ua.call(this,e.b,t)}function Ww(e){UV.call(this,e,e,e,e)}function e4e(e){return e.b&&khe(e),e.a}function t4e(e){return e.b&&khe(e),e.c}function ssn(e,t){F0||(e.b=t)}function roe(e,t,n){return la(e,t,n),n}function EJe(e,t,n){la(e.c[t.g],t.g,n)}function asn(e,t,n){l(e.c,69).Xh(t,n)}function osn(e,t,n){w0(n,n.i+e,n.j+t)}function csn(e,t){fi(hu(e.a),$it(t))}function lsn(e,t){fi(ef(e.a),Hit(t))}function CA(e){rs(),Pw.call(this,e)}function usn(e){return e==null?0:Ws(e)}function TJe(){TJe=Ee,Sge=new bM(_pe)}function mi(){mi=Ee,new SJe,new yt}function SJe(){new si,new si,new si}function n4e(){n4e=Ee,yye(),WSe=new si}function y0(){y0=Ee,v.Math.log(2)}function Jf(){Jf=Ee,pp=(OQe(),V7t)}function hsn(){throw ue(new bm(gyt))}function fsn(){throw ue(new bm(gyt))}function dsn(){throw ue(new bm(pyt))}function gsn(){throw ue(new bm(pyt))}function CJe(e){this.a=e,y5e.call(this,e)}function ioe(e){this.a=e,Dz.call(this,e)}function soe(e){this.a=e,Dz.call(this,e)}function fo(e,t){Roe(e.c,e.c.length,t)}function Sl(e){return e.a<e.c.c.length}function r4e(e){return e.a<e.c.a.length}function AJe(e,t){return e.a?e.b:t.De()}function ah(e,t){return e<t?-1:e>t?1:0}function MJe(e,t){return nu(e,t)>0?e:t}function qu(e,t,n){return{l:e,m:t,h:n}}function psn(e,t){e.a!=null&&DZe(t,e.a)}function LJe(e){e.a=new Ot,e.c=new Ot}function vV(e){this.b=e,this.a=new yt}function IJe(e){this.b=new ca,this.a=e}function i4e(e){X4e.call(this),this.a=e}function OJe(){Gz.call(this,"Range",2)}function DJe(){Zke(),this.a=new ZN(_Ae)}function msn(e,t){ui(t),A6(e).Jc(new _e)}function vsn(e,t){return Lf(),t.n.b+=e}function bsn(e,t,n){return ds(e.g,n,t)}function wsn(e,t,n){return ds(e.k,n,t)}function ysn(e,t){return ds(e.a,t.a,t)}function E6(e,t,n){return bke(t,n,e.c)}function s4e(e){return new en(e.c,e.d)}function _sn(e){return new en(e.c,e.d)}function Fl(e){return new en(e.a,e.b)}function PJe(e,t){return qEn(e.a,t,null)}function xsn(e){ic(e,null),So(e,null)}function NJe(e){Ece(e,null),Tce(e,null)}function RJe(){wP.call(this,null,null)}function BJe(){TV.call(this,null,null)}function a4e(e){this.a=e,si.call(this)}function ksn(e){this.b=(In(),new W(e))}function bV(e){e.j=Ue(aCe,dt,310,0,0,1)}function Esn(e,t,n){e.c.Vc(t,l(n,133))}function Tsn(e,t,n){e.c.ji(t,l(n,133))}function FJe(e,t){ei(e),e.Gc(l(t,15))}function AA(e,t){return aEn(e.c,e.b,t)}function Ssn(e,t){return new aet(e.Kc(),t)}function aoe(e,t){return Tpn(e.Kc(),t)!=-1}function o4e(e,t){return e.a.Bc(t)!=null}function wV(e){return e.Ob()?e.Pb():null}function jJe(e){return Ad(e,0,e.length)}function Le(e,t){return e!=null&&uue(e,t)}function Csn(e,t){e.q.setHours(t),BM(e,t)}function $Je(e,t){e.c&&(I5e(t),git(t))}function Asn(e,t,n){l(e.Kb(n),164).Nb(t)}function Msn(e,t,n){return BEn(e,t,n),n}function HJe(e,t,n){e.a=t^1502,e.b=n^wfe}function ooe(e,t,n){return e.a[t.g][n.g]}function _0(e,t){return e.a[t.c.p][t.p]}function Lsn(e,t){return e.e[t.c.p][t.p]}function Isn(e,t){return e.c[t.c.p][t.p]}function Osn(e,t){return e.j[t.p]=H6n(t)}function Dsn(e,t){return u_e(e.f,t.tg())}function Psn(e,t){return u_e(e.b,t.tg())}function Nsn(e,t){return e.a<o5e(t)?-1:1}function Rsn(e,t,n){return n?t!=0:t!=e-1}function Bsn(e,t,n){return e.a=t,e.b=n,e}function ug(e,t){return e.a*=t,e.b*=t,e}function MA(e,t,n){return la(e.g,t,n),n}function Fsn(e,t,n,r){la(e.a[t.g],n.g,r)}function jsn(e,t){c4(t,e.a.a.a,e.a.a.b)}function zJe(e){e.a=l(Kn(e.b.a,4),126)}function VJe(e){e.a=l(Kn(e.b.a,4),126)}function $sn(e){jP(e,z2t),rhe(e,H9n(e))}function lE(){lE=Ee,nK=new kz(null)}function c4e(){c4e=Ee,c4e(),zyt=new ht}function l4e(){this.Bb|=256,this.Bb|=512}function Ir(e){this.i=e,this.f=this.i.j}function Ba(e,t,n){OP.call(this,e,t,n)}function yV(e,t,n){Ba.call(this,e,t,n)}function Sh(e,t,n){Ba.call(this,e,t,n)}function qJe(e,t,n){yV.call(this,e,t,n)}function u4e(e,t,n){OP.call(this,e,t,n)}function T6(e,t,n){OP.call(this,e,t,n)}function h4e(e,t,n){RV.call(this,e,t,n)}function UJe(e,t,n){RV.call(this,e,t,n)}function GJe(e,t,n){h4e.call(this,e,t,n)}function WJe(e,t,n){u4e.call(this,e,t,n)}function S6(e,t){this.a=e,Dz.call(this,t)}function KJe(e,t){this.a=e,dae.call(this,t)}function YJe(e,t){this.a=e,dae.call(this,t)}function XJe(e,t){this.a=e,dae.call(this,t)}function f4e(e){this.a=e,pse.call(this,e.d)}function jv(e){this.c=e,this.a=this.c.a}function d4e(e,t){this.a=t,dae.call(this,e)}function QJe(e,t){this.a=t,Rce.call(this,e)}function ZJe(e,t){this.a=e,Rce.call(this,t)}function Hsn(e,t){return X5e(Hoe(e.c)).Xb(t)}function g4e(e,t){return nvn(e,new Lv,t).a}function zr(e,t){return ui(t),new JJe(e,t)}function JJe(e,t){this.a=t,Pz.call(this,e)}function p4e(e){this.b=e,this.a=this.b.a.e}function eet(e){e.b.Qb(),--e.d.f.d,WV(e.d)}function tet(e){NC.call(this,l(ui(e),35))}function net(e){NC.call(this,l(ui(e),35))}function ret(){Ai.call(this,"INSTANCE",0)}function m4e(e){if(!e)throw ue(new KD)}function v4e(e){if(!e)throw ue(new Eh)}function b4e(e){if(!e)throw ue(new Gl)}function iet(){iet=Ee,_ae(),bEt=new ZH}function er(){er=Ee,z2=!1,Y9=!0}function Ed(e){ek.call(this,(Xn(e),e))}function Af(e){ek.call(this,(Xn(e),e))}function _V(e){S.call(this,e),this.a=e}function w4e(e){L.call(this,e),this.a=e}function y4e(e){Q7.call(this,e),this.a=e}function set(){bV(this),hq(this),this._d()}function aet(e,t){this.a=t,Pz.call(this,e)}function oet(e,t){return new r1t(e.a,e.b,t)}function xV(e,t){return e.lastIndexOf(t)}function _4e(e,t,n){return e.indexOf(t,n)}function LA(e){return e==null?vh:wl(e)}function zsn(e){return e==null?null:e.name}function x4e(e){return e.a!=null?e.a:null}function Vsn(e){return Iz(e.a)?Uit(e):null}function coe(e,t){return KA(e.a,t)!=null}function Ch(e,t){return!!t&&e.b[t.g]==t}function Kw(e){return e.$H||(e.$H=++nSn)}function qsn(e){return e.l+e.m*Jk+e.h*O2}function cet(e,t){return wt(t.a,e.a),e.a}function uet(e,t){return wt(t.b,e.a),e.a}function Yw(e,t){return wt(t.a,e.a),e.a}function Xw(e){return kr(e.a!=null),e.a}function loe(e){Ae.call(this,new b_e(e))}function k4e(e,t){Eke.call(this,e,t,null)}function IA(e){this.a=e,x.call(this,e)}function kV(){kV=Ee,oK=new Ua(zvt,0)}function EV(e,t){return++e.b,wt(e.a,t)}function E4e(e,t){return++e.b,uh(e.a,t)}function Usn(e,t){return ja(e.n.a,t.n.a)}function Gsn(e,t){return ja(e.c.d,t.c.d)}function Wsn(e,t){return ja(e.c.c,t.c.c)}function oh(e,t){return l(_s(e.b,t),15)}function Ksn(e,t){return e.n.b=(Xn(t),t)}function Ysn(e,t){return e.n.b=(Xn(t),t)}function OA(e){return Sl(e.a)||Sl(e.b)}function Xsn(e,t,n){return Fst(e,t,n,e.b)}function T4e(e,t,n){return Fst(e,t,n,e.c)}function S4e(e,t,n){l(rN(e,t),21).Fc(n)}function Qsn(e,t,n){Vle(e.a,n),QU(e.a,t)}function wP(e,t){cA(),this.a=e,this.b=t}function TV(e,t){_m(),this.b=e,this.c=t}function uoe(e,t){$oe(),this.f=t,this.d=e}function C4e(e,t){h_e(t,e),this.d=e,this.c=t}function xm(e){var t;t=e.a,e.a=e.b,e.b=t}function Zsn(e){return u1(),!!e&&!e.dc()}function Jsn(e){return new w4(3,e)}function A4e(e,t){return new ctt(e,e.gc(),t)}function ean(e){return xz(),Li((Dit(),kyt),e)}function mk(e){this.d=e,Ir.call(this,e)}function vk(e){this.c=e,Ir.call(this,e)}function yP(e){this.c=e,mk.call(this,e)}function het(){sA(),this.b=new b0(this)}function Gg(e){return Pf(e,U4),new Nu(e)}function fet(e){return EE(),parseInt(e)||-1}function Mf(e,t,n){return e.substr(t,n-t)}function uE(e,t,n){return _4e(e,mh(t),n)}function hoe(e){return c6e(e.c,e.c.length)}function tan(e){return e.f!=null?e.f:""+e.g}function foe(e){return e.f!=null?e.f:""+e.g}function doe(e){return kr(e.b!=0),e.a.a.c}function SV(e){return kr(e.b!=0),e.c.b.c}function _P(e){Le(e,150)&&l(e,150).Gh()}function CV(e){return e.b=l(qrt(e.a),42)}function M4e(e){iE(),this.b=e,this.a=!0}function det(e){Rz(),this.b=e,this.a=!0}function get(e){e.d=new met(e),e.e=new si}function pet(e){if(!e)throw ue(new Zf)}function L4e(e){if(!e)throw ue(new KD)}function o4(e){if(!e)throw ue(new Eh)}function nan(e){if(!e)throw ue(new Zse)}function kr(e){if(!e)throw ue(new Gl)}function met(e){_5e.call(this,e,null,null)}function vet(){Ai.call(this,"POLYOMINO",0)}function bet(e,t,n,r){Y5e.call(this,e,t,n,r)}function ran(e,t){return nb(),En(e,t.e,t)}function ian(e,t,n){return Hz(),n.qg(e,t)}function so(e,t){return!!e.q&&bf(e.q,t)}function san(e,t){return e>0?t*t/e:t*t*100}function aan(e,t){return e>0?t/(e*e):t*100}function oan(e,t,n){return wt(t,fht(e,n))}function can(e,t,n){zq(),e.Xe(t)&&n.td(e)}function hE(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function c4(e,t,n){return e.a+=t,e.b+=n,e}function lan(e,t,n){return e.a*=t,e.b*=n,e}function xP(e,t,n){return e.a-=t,e.b-=n,e}function I4e(e,t){return e.a=t.a,e.b=t.b,e}function AV(e){return e.a=-e.a,e.b=-e.b,e}function wet(e){this.c=e,this.a=1,this.b=1}function yet(e){this.c=e,dh(e,0),gh(e,0)}function _et(e){sa.call(this),iM(this,e)}function xet(e){Fhe(),GKe(this),this.mf(e)}function ket(e,t){cA(),wP.call(this,e,t)}function O4e(e,t){_m(),TV.call(this,e,t)}function Eet(e,t){_m(),TV.call(this,e,t)}function Tet(e,t){_m(),O4e.call(this,e,t)}function mf(e,t,n){yf.call(this,e,t,n,2)}function goe(e,t){Jf(),qV.call(this,e,t)}function Cet(e,t){Jf(),goe.call(this,e,t)}function D4e(e,t){Jf(),goe.call(this,e,t)}function Aet(e,t){Jf(),D4e.call(this,e,t)}function P4e(e,t){Jf(),qV.call(this,e,t)}function Met(e,t){Jf(),P4e.call(this,e,t)}function Let(e,t){Jf(),qV.call(this,e,t)}function uan(e,t){return e.c.Fc(l(t,133))}function N4e(e,t,n){return OG(iN(e,t),n)}function han(e,t,n){return t.Qk(e.e,e.c,n)}function fan(e,t,n){return t.Rk(e.e,e.c,n)}function poe(e,t){return Zv(e.e,l(t,49))}function dan(e,t,n){mM(ef(e.a),t,Hit(n))}function gan(e,t,n){mM(hu(e.a),t,$it(n))}function R4e(e,t){t.$modCount=e.$modCount}function DA(){DA=Ee,rI=new Xs("root")}function fE(){fE=Ee,YB=new EYe,new TYe}function Iet(){this.a=new ay,this.b=new ay}function B4e(){Xct.call(this),this.Bb|=wc}function Oet(){Ai.call(this,"GROW_TREE",0)}function pan(e){return e==null?null:D9n(e)}function man(e){return e==null?null:H3n(e)}function van(e){return e==null?null:wl(e)}function ban(e){return e==null?null:wl(e)}function Lp(e){e.o==null&&p6n(e)}function Xt(e){return RA(e==null||s4(e)),e}function Lt(e){return RA(e==null||a4(e)),e}function wi(e){return RA(e==null||_o(e)),e}function F4e(e){this.q=new v.Date(cy(e))}function kP(e,t){this.c=e,nE.call(this,e,t)}function MV(e,t){this.a=e,kP.call(this,e,t)}function wan(e,t){this.d=e,jse(this),this.b=t}function j4e(e,t){Gce.call(this,e),this.a=t}function $4e(e,t){Gce.call(this,e),this.a=t}function yan(e){dke.call(this,0,0),this.f=e}function H4e(e,t,n){$q.call(this,e,t,n,null)}function Det(e,t,n){$q.call(this,e,t,n,null)}function _an(e,t,n){return e.ue(t,n)<=0?n:t}function xan(e,t,n){return e.ue(t,n)<=0?t:n}function kan(e,t){return l(uy(e.b,t),149)}function Ean(e,t){return l(uy(e.c,t),229)}function moe(e){return l(Kt(e.a,e.b),287)}function Pet(e){return new en(e.c,e.d+e.a)}function Net(e){return Lf(),mJe(l(e,197))}function l4(){l4=Ee,XCe=kn((xf(),nw))}function Tan(e,t){t.a?uxn(e,t):coe(e.a,t.b)}function Ret(e,t){F0||wt(e.a,t)}function San(e,t){return nP(),UE(t.d.i,e)}function Can(e,t){return Bk(),new Fgt(t,e)}function hg(e,t){return jP(t,qEe),e.f=t,e}function z4e(e,t,n){return n=Ff(e,t,3,n),n}function V4e(e,t,n){return n=Ff(e,t,6,n),n}function q4e(e,t,n){return n=Ff(e,t,9,n),n}function EP(e,t,n){++e.j,e.Ki(),qce(e,t,n)}function Bet(e,t,n){++e.j,e.Hi(t,e.oi(t,n))}function Fet(e,t,n){var r;r=e.Zc(t),r.Rb(n)}function jet(e,t,n){return iEe(e.c,e.b,t,n)}function U4e(e,t){return(t&as)%e.d.length}function Ua(e,t){Xs.call(this,e),this.a=t}function G4e(e,t){dye.call(this,e),this.a=t}function voe(e,t){dye.call(this,e),this.a=t}function $et(e,t){this.c=e,hy.call(this,t)}function Het(e,t){this.a=e,$Ke.call(this,t)}function TP(e,t){this.a=e,$Ke.call(this,t)}function zet(e){this.a=(Pf(e,U4),new Nu(e))}function Vet(e){this.a=(Pf(e,U4),new Nu(e))}function SP(e){return!e.a&&(e.a=new we),e.a}function qet(e){return e>8?0:e+1}function Aan(e,t){return er(),e==t?0:e?1:-1}function W4e(e,t,n){return _k(e,l(t,22),n)}function Man(e,t,n){return e.apply(t,n)}function Uet(e,t,n){return e.a+=Ad(t,0,n),e}function K4e(e,t){var n;return n=e.e,e.e=t,n}function Lan(e,t){var n;n=e[bfe],n.call(e,t)}function Ian(e,t){var n;n=e[bfe],n.call(e,t)}function u4(e,t){e.a.Vc(e.b,t),++e.b,e.c=-1}function Get(e){qh(e.e),e.d.b=e.d,e.d.a=e.d}function CP(e){e.b?CP(e.b):e.f.c.zc(e.e,e.d)}function Oan(e,t,n){i2(),Sse(e,t.Ce(e.a,n))}function Dan(e,t){return vae(Aht(e.a,t,!0))}function Pan(e,t){return vae(Mht(e.a,t,!0))}function l1(e,t){return Cz(new Array(t),e)}function boe(e){return String.fromCharCode(e)}function Nan(e){return e==null?null:e.message}function Wet(){this.a=new yt,this.b=new yt}function Ket(){this.a=new p7,this.b=new tYe}function Yet(){this.b=new Qo,this.c=new yt}function Y4e(){this.d=new Qo,this.e=new Qo}function X4e(){this.n=new Qo,this.o=new Qo}function LV(){this.n=new sk,this.i=new pk}function Xet(){this.a=new Kie,this.b=new Xte}function Qet(){this.a=new yt,this.d=new yt}function Zet(){this.b=new Ja,this.a=new Ja}function Jet(){this.b=new si,this.a=new si}function ett(){this.b=new OXe,this.a=new Vne}function ttt(){LV.call(this),this.a=new Qo}function PA(e){apn.call(this,e,(qq(),P1e))}function Q4e(e,t,n,r){UV.call(this,e,t,n,r)}function Ran(e,t,n){n!=null&&oU(t,_ue(e,n))}function Ban(e,t,n){n!=null&&cU(t,_ue(e,n))}function Z4e(e,t,n){return n=Ff(e,t,11,n),n}function xs(e,t){return e.a+=t.a,e.b+=t.b,e}function xo(e,t){return e.a-=t.a,e.b-=t.b,e}function Fan(e,t){return e.n.a=(Xn(t),t+10)}function jan(e,t){return e.n.a=(Xn(t),t+10)}function $an(e,t){return t==e||f9(vG(t),e)}function ntt(e,t){return ds(e.a,t,"")==null}function Han(e,t){return nP(),!UE(t.d.i,e)}function zan(e,t){Bv(e.f)?s6n(e,t):Vyn(e,t)}function Van(e,t){var n;return n=t.Hh(e.a),n}function h4(e,t){Qc.call(this,dL+e+F2+t)}function bk(e,t,n,r){_t.call(this,e,t,n,r)}function J4e(e,t,n,r){_t.call(this,e,t,n,r)}function rtt(e,t,n,r){J4e.call(this,e,t,n,r)}function itt(e,t,n,r){tq.call(this,e,t,n,r)}function woe(e,t,n,r){tq.call(this,e,t,n,r)}function e5e(e,t,n,r){tq.call(this,e,t,n,r)}function stt(e,t,n,r){woe.call(this,e,t,n,r)}function t5e(e,t,n,r){woe.call(this,e,t,n,r)}function $n(e,t,n,r){e5e.call(this,e,t,n,r)}function att(e,t,n,r){t5e.call(this,e,t,n,r)}function ott(e,t,n,r){J5e.call(this,e,t,n,r)}function ctt(e,t,n){this.a=e,C4e.call(this,t,n)}function ltt(e,t,n){this.c=t,this.b=n,this.a=e}function qan(e,t,n){return e.d=l(t.Kb(n),164)}function n5e(e,t){return e.Aj().Nh().Kh(e,t)}function r5e(e,t){return e.Aj().Nh().Ih(e,t)}function utt(e,t){return Xn(e),Je(e)===Je(t)}function Tn(e,t){return Xn(e),Je(e)===Je(t)}function yoe(e,t){return vae(Aht(e.a,t,!1))}function _oe(e,t){return vae(Mht(e.a,t,!1))}function Uan(e,t){return e.b.sd(new HQe(e,t))}function Gan(e,t){return e.b.sd(new zQe(e,t))}function htt(e,t){return e.b.sd(new VQe(e,t))}function i5e(e,t,n){return e.lastIndexOf(t,n)}function Wan(e,t,n){return ja(e[t.b],e[n.b])}function Kan(e,t){return ut(t,(Nt(),hB),e)}function Yan(e,t){return ah(t.a.d.p,e.a.d.p)}function Xan(e,t){return ah(e.a.d.p,t.a.d.p)}function Qan(e,t){return ja(e.c-e.s,t.c-t.s)}function ftt(e){return e.c?vl(e.c.a,e,0):-1}function Zan(e){return e<100?null:new Iv(e)}function wk(e){return e==tw||e==gp||e==Iu}function dtt(e,t){return Le(t,15)&&wgt(e.c,t)}function Jan(e,t){F0||t&&(e.d=t)}function xoe(e,t){var n;return n=t,!!Cxe(e,n)}function s5e(e,t){this.c=e,Yoe.call(this,e,t)}function gtt(e){this.c=e,Qae.call(this,$G,0)}function ptt(e,t){iln.call(this,e,e.length,t)}function eon(e,t,n){return l(e.c,69).lk(t,n)}function IV(e,t,n){return l(e.c,69).mk(t,n)}function ton(e,t,n){return han(e,l(t,332),n)}function a5e(e,t,n){return fan(e,l(t,332),n)}function non(e,t,n){return ddt(e,l(t,332),n)}function mtt(e,t,n){return e3n(e,l(t,332),n)}function NA(e,t){return t==null?null:A4(e.b,t)}function o5e(e){return a4(e)?(Xn(e),e):e.ke()}function OV(e){return!isNaN(e)&&!isFinite(e)}function vtt(e){fg(),this.a=(In(),new Q7(e))}function AP(e){gE(),this.d=e,this.a=new g6}function ed(e,t,n){this.a=e,this.b=t,this.c=n}function btt(e,t,n){this.a=e,this.b=t,this.c=n}function wtt(e,t,n){this.d=e,this.b=n,this.a=t}function koe(e){LJe(this),Sd(this),mc(this,e)}function Ah(e){noe(this),x5e(this.c,0,e.Pc())}function ytt(e){wf(e.a),vot(e.c,e.b),e.b=null}function _tt(e){this.a=e,Ug(),ph(Date.now())}function xtt(){xtt=Ee,CCe=new O,iK=new O}function Eoe(){Eoe=Ee,bCe=new Vt,$yt=new Rt}function ktt(){ktt=Ee,K7t=Ue(xr,Ht,1,0,5,1)}function Ett(){Ett=Ee,fEt=Ue(xr,Ht,1,0,5,1)}function c5e(){c5e=Ee,dEt=Ue(xr,Ht,1,0,5,1)}function fg(){fg=Ee,new mye((In(),In(),Lc))}function ron(e){return qq(),Li((Aot(),Vyt),e)}function ion(e){return I0(),Li((Wat(),Yyt),e)}function son(e){return VU(),Li((eat(),t3t),e)}function aon(e){return Yq(),Li((tat(),n3t),e)}function oon(e){return kG(),Li((Hlt(),r3t),e)}function con(e){return G1(),Li((qat(),a3t),e)}function lon(e){return Uh(),Li((Uat(),c3t),e)}function uon(e){return hh(),Li((Gat(),u3t),e)}function hon(e){return FG(),Li((tJe(),D3t),e)}function fon(e){return vy(),Li((Lot(),N3t),e)}function don(e){return Vk(),Li((Iot(),B3t),e)}function gon(e){return xM(),Li((Oot(),$3t),e)}function pon(e){return Bz(),Li((Ost(),H3t),e)}function mon(e){return Xq(),Li((nat(),i4t),e)}function von(e){return nM(),Li((Kat(),T4t),e)}function bon(e){return vc(),Li((cct(),M4t),e)}function won(e){return KE(),Li((Mot(),P4t),e)}function yon(e){return by(),Li((Yat(),$4t),e)}function l5e(e,t){if(!e)throw ue(new Jn(t))}function _on(e){return gr(),Li((Mct(),q4t),e)}function u5e(e){UV.call(this,e.d,e.c,e.a,e.b)}function Toe(e){UV.call(this,e.d,e.c,e.a,e.b)}function h5e(e,t,n){this.b=e,this.c=t,this.a=n}function DV(e,t,n){this.b=e,this.a=t,this.c=n}function Ttt(e,t,n){this.a=e,this.b=t,this.c=n}function f5e(e,t,n){this.a=e,this.b=t,this.c=n}function Stt(e,t,n){this.a=e,this.b=t,this.c=n}function d5e(e,t,n){this.a=e,this.b=t,this.c=n}function Ctt(e,t,n){this.b=e,this.a=t,this.c=n}function PV(e,t,n){this.e=t,this.b=e,this.d=n}function xon(e,t,n){return i2(),e.a.Od(t,n),t}function Soe(e){var t;return t=new dr,t.e=e,t}function g5e(e){var t;return t=new cYe,t.b=e,t}function MP(){MP=Ee,vK=new Nee,bK=new Ree}function u1(){u1=Ee,i5t=new Tte,s5t=new M$}function kon(e){return xU(),Li((Pot(),J4t),e)}function Eon(e){return L0(),Li((Rot(),c5t),e)}function Ton(e){return _G(),Li((Llt(),m5t),e)}function Son(e){return Uk(),Li((Oct(),v5t),e)}function Con(e){return Hq(),Li((cat(),b5t),e)}function Aon(e){return Rk(),Li((Xat(),w5t),e)}function Mon(e){return W6(),Li((rct(),u5t),e)}function Lon(e){return my(),Li((Jat(),p5t),e)}function Ion(e){return sU(),Li((Qat(),y5t),e)}function Oon(e){return A2(),Li((tct(),_5t),e)}function Don(e){return lN(),Li((iat(),x5t),e)}function Pon(e){return y2(),Li((Zat(),E5t),e)}function Non(e){return hG(),Li((Rct(),T5t),e)}function Ron(e){return tN(),Li((sat(),S5t),e)}function Bon(e){return HN(),Li((Pct(),C5t),e)}function Fon(e){return g9(),Li((Dct(),A5t),e)}function jon(e){return Pc(),Li((nut(),M5t),e)}function $on(e){return WE(),Li((tot(),L5t),e)}function Hon(e){return Fp(),Li((eot(),O5t),e)}function zon(e){return Lq(),Li((lat(),D5t),e)}function Von(e){return cd(),Li((ict(),P5t),e)}function qon(e){return oG(),Li((Nct(),Y_t),e)}function Uon(e){return fM(),Li((not(),X_t),e)}function Gon(e){return I4(),Li((Bot(),Q_t),e)}function Won(e){return Oc(),Li((sot(),rxt),e)}function Kon(e){return Q6(),Li((Mlt(),J_t),e)}function Yon(e){return $p(),Li((iot(),ext),e)}function Xon(e){return sN(),Li((oat(),txt),e)}function Qon(e){return bU(),Li((rot(),ixt),e)}function Zon(e){return kM(),Li((nct(),Z_t),e)}function Jon(e){return YP(),Li((aat(),sxt),e)}function ecn(e){return e9(),Li((oot(),axt),e)}function tcn(e){return mU(),Li((cot(),oxt),e)}function ncn(e){return kU(),Li((aot(),cxt),e)}function rcn(e){return py(),Li((lot(),_xt),e)}function icn(e){return eM(),Li((hat(),Sxt),e)}function scn(e){return gg(),Li((fat(),Dxt),e)}function acn(e){return k0(),Li((dat(),Nxt),e)}function ocn(e){return V1(),Li((uat(),Xxt),e)}function ccn(e){return sy(),Li((gat(),rkt),e)}function lcn(e){return l9(),Li((Dot(),ikt),e)}function ucn(e){return MM(),Li((Bct(),akt),e)}function hcn(e){return xq(),Li((vat(),ykt),e)}function fcn(e){return dU(),Li((mat(),Skt),e)}function dcn(e){return Sq(),Li((pat(),_kt),e)}function gcn(e){return PU(),Li((uot(),Akt),e)}function pcn(e){return Vq(),Li((bat(),Mkt),e)}function mcn(e){return kN(),Li((hot(),Lkt),e)}function vcn(e){return JU(),Li((Not(),Ukt),e)}function bcn(e){return vU(),Li((dot(),Gkt),e)}function wcn(e){return DU(),Li((fot(),Wkt),e)}function ycn(e){return y9(),Li((oct(),d8t),e)}function _cn(e){return MN(),Li((got(),g8t),e)}function xcn(e){return jz(),Li((Lst(),p8t),e)}function kcn(e){return $z(),Li((Mst(),v8t),e)}function Ecn(e){return XP(),Li((yat(),b8t),e)}function Tcn(e){return VN(),Li((sct(),w8t),e)}function Scn(e){return aA(),Li((Ist(),N8t),e)}function Ccn(e){return wN(),Li((wat(),R8t),e)}function Acn(e){return K1(),Li((act(),z8t),e)}function Mcn(e){return Bm(),Li((Ilt(),q8t),e)}function Lcn(e){return ep(),Li((Ict(),U8t),e)}function Icn(e){return P4(),Li((Lct(),Q8t),e)}function Ocn(e){return Mc(),Li((nJe(),X4t),e)}function Dcn(e){return zE(),Li((rat(),Y4t),e)}function Pcn(e){return Dc(),Li((lct(),f7t),e)}function Ncn(e){return A0(),Li((mot(),d7t),e)}function Rcn(e){return Vp(),Li(($ot(),g7t),e)}function Bcn(e){return lG(),Li((jct(),p7t),e)}function Fcn(e){return Hp(),Li((pot(),v7t),e)}function jcn(e){return Rf(),Li((jot(),w7t),e)}function $cn(e){return F4(),Li(($lt(),y7t),e)}function Hcn(e){return H6(),Li((uct(),_7t),e)}function zcn(e){return Ao(),Li((Tct(),x7t),e)}function Vcn(e){return Gh(),Li((Fct(),k7t),e)}function qcn(e){return xf(),Li((zot(),M7t),e)}function Ucn(e){return sf(),Li((rut(),L7t),e)}function Gcn(e){return Mt(),Li((hct(),E7t),e)}function Wcn(e){return BU(),Li((Hot(),I7t),e)}function Kcn(e){return _f(),Li((Fot(),P7t),e)}function Ycn(e){return v9(),Li((Olt(),W7t),e)}function Xcn(e,t){return Xn(e),e+(Xn(t),t)}function Qcn(e,t){return Ug(),fi(rt(e.a),t)}function Zcn(e,t){return Ug(),fi(rt(e.a),t)}function Coe(e,t){this.c=e,this.a=t,this.b=t-e}function Att(e,t,n){this.a=e,this.b=t,this.c=n}function p5e(e,t,n){this.a=e,this.b=t,this.c=n}function m5e(e,t,n){this.a=e,this.b=t,this.c=n}function Mtt(e,t,n){this.a=e,this.b=t,this.c=n}function Ltt(e,t,n){this.a=e,this.b=t,this.c=n}function km(e,t,n){this.e=e,this.a=t,this.c=n}function Itt(e,t,n){Jf(),A6e.call(this,e,t,n)}function Aoe(e,t,n){Jf(),f6e.call(this,e,t,n)}function v5e(e,t,n){Jf(),f6e.call(this,e,t,n)}function b5e(e,t,n){Jf(),f6e.call(this,e,t,n)}function Ott(e,t,n){Jf(),Aoe.call(this,e,t,n)}function w5e(e,t,n){Jf(),Aoe.call(this,e,t,n)}function Dtt(e,t,n){Jf(),w5e.call(this,e,t,n)}function Ptt(e,t,n){Jf(),v5e.call(this,e,t,n)}function Ntt(e,t,n){Jf(),b5e.call(this,e,t,n)}function LP(e,t){return ui(e),ui(t),new eQe(e,t)}function yk(e,t){return ui(e),ui(t),new Ktt(e,t)}function Jcn(e,t){return ui(e),ui(t),new Ytt(e,t)}function eln(e,t){return ui(e),ui(t),new nQe(e,t)}function l(e,t){return RA(e==null||uue(e,t)),e}function dE(e){var t;return t=new yt,rle(t,e),t}function tln(e){var t;return t=new Ja,rle(t,e),t}function Rtt(e){var t;return t=new Tye,vle(t,e),t}function IP(e){var t;return t=new sa,vle(t,e),t}function nln(e){return!e.e&&(e.e=new yt),e.e}function rln(e){return!e.c&&(e.c=new W3),e.c}function wt(e,t){return e.c[e.c.length]=t,!0}function Btt(e,t){this.c=e,this.b=t,this.a=!1}function y5e(e){this.d=e,jse(this),this.b=Yln(e.d)}function Ftt(){this.a=";,;",this.b="",this.c=""}function iln(e,t,n){jnt.call(this,t,n),this.a=e}function jtt(e,t,n){this.b=e,QZe.call(this,t,n)}function _5e(e,t,n){this.c=e,Wz.call(this,t,n)}function x5e(e,t,n){q8e(n,0,e,t,n.length,!1)}function Wg(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function sln(e,t){t&&(e.b=t,e.a=(qv(t),t.a))}function k5e(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function E5e(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function T5e(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function S5e(e){return Yv(hun(ml(e)?Cd(e):e))}function aln(e,t){return ah(tnt(e.d),tnt(t.d))}function oln(e,t){return t==(Mt(),nr)?e.c:e.d}function gE(){gE=Ee,GIe=(Mt(),nr),kY=fr}function $tt(){this.b=ot(Lt(zt((X1(),Q1e))))}function Htt(e){return i2(),Ue(xr,Ht,1,e,5,1)}function cln(e){return new en(e.c+e.b,e.d+e.a)}function lln(e,t){return Fz(),ah(e.d.p,t.d.p)}function Moe(e){return kr(e.b!=0),sd(e,e.a.a)}function uln(e){return kr(e.b!=0),sd(e,e.c.b)}function C5e(e,t){if(!e)throw ue(new KYe(t))}function NV(e,t){if(!e)throw ue(new Jn(t))}function A5e(e,t,n){aE.call(this,e,t),this.b=n}function OP(e,t,n){V3e.call(this,e,t),this.c=n}function ztt(e,t,n){wct.call(this,t,n),this.d=e}function M5e(e){c5e(),S7.call(this),this.th(e)}function Vtt(e,t,n){this.a=e,_6.call(this,t,n)}function qtt(e,t,n){this.a=e,_6.call(this,t,n)}function RV(e,t,n){V3e.call(this,e,t),this.c=n}function Utt(){ME(),Mun.call(this,(Pv(),Gd))}function Gtt(e){return e!=null&&!Xle(e,_I,xI)}function hln(e,t){return(tht(e)<<4|tht(t))&Aa}function fln(e,t){return aq(),bue(e,t),new wrt(e,t)}function a2(e,t){var n;e.n&&(n=t,wt(e.f,n))}function pE(e,t,n){var r;r=new p4(n),U1(e,t,r)}function dln(e,t){var n;return n=e.c,W_e(e,t),n}function L5e(e,t){return t<0?e.g=-1:e.g=t,e}function BV(e,t){return Q0n(e),e.a*=t,e.b*=t,e}function Wtt(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function zi(e,t){return xa(e,t,e.c.b,e.c),!0}function I5e(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Loe(e){this.b=e,this.a=Zw(this.b.a).Ed()}function Ktt(e,t){this.b=e,this.a=t,MC.call(this)}function Ytt(e,t){this.a=e,this.b=t,MC.call(this)}function Xtt(e,t){jnt.call(this,t,1040),this.a=e}function DP(e){return e==0||isNaN(e)?e:e<0?-1:1}function gln(e){return Sk(),tp(e)==ua(eb(e))}function pln(e){return Sk(),eb(e)==ua(tp(e))}function Qw(e,t){return CM(e,new aE(t.a,t.b))}function mln(e){return!pc(e)&&e.c.i.c==e.d.i.c}function FV(e){var t;return t=e.n,e.a.b+t.d+t.a}function Qtt(e){var t;return t=e.n,e.e.b+t.d+t.a}function O5e(e){var t;return t=e.n,e.e.a+t.b+t.c}function Ztt(e){return rs(),new Kg(0,e)}function vln(e){return e.a?e.a:uce(e)}function RA(e){if(!e)throw ue(new X7(null))}function Jtt(){Jtt=Ee,Npe=(In(),new R(h1e))}function jV(){jV=Ee,new Mke((sae(),k1e),(aae(),x1e))}function ent(){ent=Ee,tCe=Ue(hc,dt,19,256,0,1)}function Ioe(e,t,n,r){ike.call(this,e,t,n,r,0,0)}function bln(e,t,n){return ds(e.b,l(n.b,17),t)}function wln(e,t,n){return ds(e.b,l(n.b,17),t)}function yln(e,t){return wt(e,new en(t.a,t.b))}function _ln(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function Ooe(e){return e.e.c.length+e.g.c.length}function tnt(e){return e.e.c.length-e.g.c.length}function nnt(e){return e.b.c.length-e.e.c.length}function xln(e){return Lf(),(Mt(),Xu).Hc(e.j)}function rnt(e){c5e(),M5e.call(this,e),this.a=-1}function $V(e,t){vP.call(this,e,t),this.a=this}function na(e,t){var n;return n=Joe(e,t),n.i=2,n}function HV(e,t){var n;return++e.j,n=e.Ti(t),n}function ss(e,t,n){return e.a=-1,S4e(e,t.g,n),e}function kln(e,t,n){g9n(e.a,e.b,e.c,l(t,202),n)}function Eln(e,t){Y_e(e,t==null?null:(Xn(t),t))}function Tln(e,t){G_e(e,t==null?null:(Xn(t),t))}function Sln(e,t){G_e(e,t==null?null:(Xn(t),t))}function Doe(e,t,n){return new ltt(Lun(e).Ie(),n,t)}function o2(e,t,n,r,i,a){return odt(e,t,n,r,i,0,a)}function int(){int=Ee,ZSe=Ue(u8,dt,217,256,0,1)}function snt(){snt=Ee,nCe=Ue(Hy,dt,162,256,0,1)}function ant(){ant=Ee,sCe=Ue(zy,dt,184,256,0,1)}function ont(){ont=Ee,eCe=Ue(kL,dt,172,128,0,1)}function D5e(){Wg(this,!1,!1,!1,!1)}function Poe(e){m4(),this.a=(In(),new R(ui(e)))}function zV(e){for(ui(e);e.Ob();)e.Pb(),e.Qb()}function Cln(e){e.a.cd(),l(e.a.dd(),14).gc(),Uye()}function P5e(e){this.c=e,this.b=this.c.d.vc().Kc()}function cnt(e){this.c=e,this.a=new uk(this.c.a)}function BA(e){this.a=new lk(e.gc()),mc(this,e)}function N5e(e){Ae.call(this,new d2),mc(this,e)}function lnt(e,t){return e.a+=Ad(t,0,t.length),e}function Kt(e,t){return Un(t,e.c.length),e.c[t]}function unt(e,t){return Un(t,e.a.length),e.a[t]}function jn(e,t){i2(),Gce.call(this,e),this.a=t}function Aln(e,t){return T2(sc(T2(e.a).a,t.a))}function Mln(e,t){return Xn(e),fN(e,(Xn(t),t))}function Lln(e,t){return Xn(t),fN(t,(Xn(e),e))}function Iln(e,t){return la(t,0,R5e(t[0],T2(1)))}function R5e(e,t){return Aln(l(e,162),l(t,162))}function hnt(e){return e.c-l(Kt(e.a,e.b),287).b}function fnt(e){return e.q?e.q:(In(),In(),lp)}function dnt(e){return e.e.Hd().gc()*e.c.Hd().gc()}function Oln(e,t,n){return ah(t.d[e.g],n.d[e.g])}function Dln(e,t,n){return ah(e.d[t.p],e.d[n.p])}function Pln(e,t,n){return ah(e.d[t.p],e.d[n.p])}function Nln(e,t,n){return ah(e.d[t.p],e.d[n.p])}function Rln(e,t,n){return ah(e.d[t.p],e.d[n.p])}function B5e(e,t,n){return v.Math.min(n/e,1/t)}function gnt(e,t){return e?0:v.Math.max(0,t-1)}function Bln(e,t){var n;for(n=0;n<t;++n)e[n]=-1}function pnt(e){var t;return t=ldt(e),t?pnt(t):e}function Fln(e,t){return e.a==null&&Egt(e),e.a[t]}function vf(e){return e.c?e.c.f:e.e.b}function Mh(e){return e.c?e.c.g:e.e.a}function VV(e){hy.call(this,e.gc()),ga(this,e)}function qV(e,t){Jf(),mz.call(this,t),this.a=e}function FA(e,t,n){this.a=e,Ba.call(this,t,n,2)}function UV(e,t,n,r){k5e(this,e,t,n,r)}function Kg(e,t){rs(),Pw.call(this,e),this.a=t}function mnt(e){this.b=new sa,this.a=e,this.c=-1}function vnt(){this.d=new en(0,0),this.e=new Ja}function bnt(e){C4e.call(this,0,0),this.a=e,this.b=0}function wnt(e){this.a=e,this.c=new si,Mpn(this)}function F5e(e){if(e.e.c!=e.b)throw ue(new Zf)}function j5e(e){if(e.c.e!=e.a)throw ue(new Zf)}function li(e){return ml(e)?e|0:AXe(e)}function GV(e,t){return rs(),new o6e(e,t)}function Noe(e,t){return e==null?t==null:Tn(e,t)}function jln(e,t){return e==null?t==null:zU(e,t)}function _k(e,t,n){return p1(e.a,t),r6e(e,t.g,n)}function Roe(e,t,n){Mut(0,t,e.length),OE(e,0,t,n)}function f4(e,t,n){b4(t,e.c.length),uA(e.c,t,n)}function ynt(e,t,n){var r;for(r=0;r<t;++r)e[r]=n}function zs(e,t){var n;return n=kn(e),_xe(n,t),n}function $ln(e,t){return!e&&(e=[]),e[e.length]=t,e}function Hln(e,t){return e.a.get(t)!==void 0}function _nt(e,t){return pgn(new Cr,new st(e),t)}function zln(e){return e==null?nK:new kz(Xn(e))}function Boe(e,t){return Le(t,22)&&Ch(e,l(t,22))}function xnt(e,t){return Le(t,22)&&U0n(e,l(t,22))}function $5e(e){return rf(e,26)*GM+rf(e,27)*WM}function H5e(e){return Array.isArray(e)&&e.im===nt}function WV(e){e.b?WV(e.b):e.d.dc()&&e.f.c.Bc(e.e)}function Foe(e,t){xs(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function Vln(e,t){Foe(e,xo(new en(t.a,t.b),e.c))}function joe(e,t){this.b=new sa,this.a=e,this.c=t}function knt(){this.b=new El,this.c=new eit(this)}function z5e(){this.d=new js,this.e=new Jrt(this)}function V5e(){P6e(),this.f=new sa,this.e=new sa}function Ent(){Lf(),this.k=new si,this.d=new Ja}function $oe(){$oe=Ee,R7t=new Cc((Yi(),cf),0)}function Tnt(){Tnt=Ee,_yt=new bnt(Ue(xr,Ht,1,0,5,1))}function qln(e,t,n){v0t(n,e,1),wt(t,new WQe(n,e))}function Uln(e,t,n){TM(n,e,1),wt(t,new eZe(n,e))}function Gln(e,t,n){return Ga(e,new hk(t.a,n.a))}function Wln(e,t,n){return-ah(e.f[t.p],e.f[n.p])}function KV(e,t,n){var r;e&&(r=e.i,r.c=t,r.b=n)}function YV(e,t,n){var r;e&&(r=e.i,r.d=t,r.a=n)}function Vh(e,t,n){return e.a=-1,S4e(e,t.g+1,n),e}function q5e(e,t,n){return n=Ff(e,l(t,49),7,n),n}function U5e(e,t,n){return n=Ff(e,l(t,49),3,n),n}function Snt(e,t,n){this.a=e,yV.call(this,t,n,22)}function Cnt(e,t,n){this.a=e,yV.call(this,t,n,14)}function Ant(e,t,n,r){Jf(),cst.call(this,e,t,n,r)}function Mnt(e,t,n,r){Jf(),cst.call(this,e,t,n,r)}function Kln(e,t){t.Bb&Yl&&!e.a.o&&(e.a.o=t)}function Lnt(e){return e!=null&&Koe(e)&&e.im!==nt}function G5e(e){return!Array.isArray(e)&&e.im===nt}function Yln(e){return Le(e,15)?l(e,15).Yc():e.Kc()}function W5e(e){return e.Qc(Ue(xr,Ht,1,e.gc(),5,1))}function jA(e,t){return lbn(iN(e,t))?t.Qh():null}function K5e(e){e?Fke(e,(Ug(),oCe)):Ug()}function Rr(e){this.a=(Tnt(),_yt),this.d=l(ui(e),47)}function Y5e(e,t,n,r){this.a=e,$q.call(this,e,t,n,r)}function c2(e){Nv(),this.a=0,this.b=e-1,this.c=1}function Int(e){bV(this),this.g=e,hq(this),this._d()}function Zw(e){return e.c?e.c:e.c=e.Id()}function Hoe(e){return e.d?e.d:e.d=e.Jd()}function X5e(e){var t;return t=e.c,t||(e.c=e.Dd())}function Ont(e){var t;return t=e.f,t||(e.f=e.Dc())}function xk(e){var t;return t=e.i,t||(e.i=e.bc())}function Dnt(e){return rs(),new bce(10,e,0)}function $A(e){return ml(e)?""+e:bgt(e)}function XV(e){if(e.e.j!=e.d)throw ue(new Zf)}function Ip(e,t){return Yv(jdt(ml(e)?Cd(e):e,t))}function $v(e,t){return Yv(a7e(ml(e)?Cd(e):e,t))}function d4(e,t){return Yv(Q3n(ml(e)?Cd(e):e,t))}function Xln(e,t){return Aan((Xn(e),e),(Xn(t),t))}function zoe(e,t){return ja((Xn(e),e),(Xn(t),t))}function Pnt(e,t){return ui(t),e.a.Ad(t)&&!e.b.Ad(t)}function Qln(e,t){return qu(e.l&t.l,e.m&t.m,e.h&t.h)}function Zln(e,t){return qu(e.l|t.l,e.m|t.m,e.h|t.h)}function Jln(e,t){return qu(e.l^t.l,e.m^t.m,e.h^t.h)}function QV(e,t){return CN(e,(Xn(t),new ze(t)))}function ZV(e,t){return CN(e,(Xn(t),new Xe(t)))}function Nnt(e){return Lh(),l(e,11).e.c.length!=0}function Rnt(e){return Lh(),l(e,11).g.c.length!=0}function eun(e,t){return Bk(),ja(t.a.o.a,e.a.o.a)}function Bnt(e,t,n){return B9n(e,l(t,11),l(n,11))}function tun(e){return e.e?d_e(e.e):null}function Q5e(e){e.d||(e.d=e.b.Kc(),e.c=e.b.gc())}function nun(e,t,n){e.a.Mb(n)&&(e.b=!0,t.td(n))}function mE(e,t){if(e<0||e>=t)throw ue(new _ye)}function run(e,t,n){return la(t,0,R5e(t[0],n[0])),t}function iun(e,t,n){t.Ye(n,ot(Lt(Tr(e.b,n)))*e.a)}function Fnt(e,t,n){return J6(),VE(e,t)&&VE(e,n)}function HA(e){return Gh(),!e.Hc(tm)&&!e.Hc(Tb)}function JV(e){return new en(e.c+e.b/2,e.d+e.a/2)}function Voe(e,t){return t.kh()?Zv(e.b,l(t,49)):t}function Z5e(e,t){this.e=e,this.d=t&64?t|vg:t}function jnt(e,t){this.c=0,this.d=e,this.b=t|64|vg}function eq(e){this.b=new Nu(11),this.a=(M6(),e)}function qoe(e){this.b=null,this.a=(M6(),e||pCe)}function $nt(e){this.a=lft(e.a),this.b=new Ah(e.b)}function Hnt(e){this.b=e,mk.call(this,e),zJe(this)}function znt(e){this.b=e,yP.call(this,e),VJe(this)}function g4(e,t,n){this.a=e,bk.call(this,t,n,5,6)}function J5e(e,t,n,r){this.b=e,Ba.call(this,t,n,r)}function go(e,t,n,r,i){Yce.call(this,e,t,n,r,i,-1)}function zA(e,t,n,r,i){JP.call(this,e,t,n,r,i,-1)}function _t(e,t,n,r){Ba.call(this,e,t,n),this.b=r}function tq(e,t,n,r){OP.call(this,e,t,n),this.b=r}function Vnt(e){qZe.call(this,e,!1),this.a=!1}function qnt(e,t){this.b=e,pse.call(this,e.b),this.a=t}function Unt(e,t){m4(),oin.call(this,e,MU(new gf(t)))}function nq(e,t){return rs(),new d6e(e,t,0)}function Uoe(e,t){return rs(),new d6e(6,e,t)}function sun(e,t){return Tn(e.substr(0,t.length),t)}function bf(e,t){return _o(t)?dce(e,t):!!cl(e.f,t)}function jo(e,t){for(Xn(t);e.Ob();)t.td(e.Pb())}function C6(e,t,n){rb(),this.e=e,this.d=t,this.a=n}function Em(e,t,n,r){var i;i=e.i,i.i=t,i.a=n,i.b=r}function e6e(e){var t;for(t=e;t.f;)t=t.f;return t}function kk(e){var t;return t=hM(e),kr(t!=null),t}function aun(e){var t;return t=Umn(e),kr(t!=null),t}function vE(e,t){var n;return n=e.a.gc(),h_e(t,n),n-t}function t6e(e,t){var n;for(n=0;n<t;++n)e[n]=!1}function oun(e,t,n,r){var i;for(i=t;i<n;++i)e[i]=r}function Ke(e,t,n,r){Mut(t,n,e.length),oun(e,t,n,r)}function cun(e,t,n){mE(n,e.a.c.length),rd(e.a,n,t)}function n6e(e,t,n){this.c=e,this.a=t,In(),this.b=n}function r6e(e,t,n){var r;return r=e.b[t],e.b[t]=n,r}function Ga(e,t){var n;return n=e.a.zc(t,e),n==null}function lun(e){if(!e)throw ue(new Gl);return e.d}function i6e(e,t){if(e==null)throw ue(new ok(t))}function s6e(e,t){return t?mc(e,t):!1}function Yg(e,t,n){return rmn(e,t.g,n),p1(e.c,t),e}function uun(e){return r_(e,(Dc(),jd)),e.d=!0,e}function Goe(e){return!e.j&&Bse(e,Mkn(e.g,e.b)),e.j}function VA(e){o4(e.b!=-1),Sm(e.c,e.a=e.b),e.b=-1}function qh(e){e.f=new fJe(e),e.g=new dJe(e),pq(e)}function Woe(e){return new jn(null,pun(e,e.length))}function Hv(e){return new Rr(new d4e(e.a.length,e.a))}function hun(e){return qu(~e.l&af,~e.m&af,~e.h&Kp)}function Koe(e){return typeof e===uR||typeof e===Hhe}function fun(e){return e==ma?HR:e==Oa?"-INF":""+e}function dun(e){return e==ma?HR:e==Oa?"-INF":""+e}function gun(e,t){return e>0?v.Math.log(e/t):-100}function Gnt(e,t){return nu(e,t)<0?-1:nu(e,t)>0?1:0}function a6e(e,t,n){return Bpt(e,l(t,46),l(n,167))}function Wnt(e,t){return l(X5e(Zw(e.a)).Xb(t),42).cd()}function pun(e,t){return F0n(t,e.length),new Xtt(e,t)}function Yoe(e,t){this.d=e,Ir.call(this,e),this.e=t}function Jw(e){this.d=(Xn(e),e),this.a=0,this.c=$G}function o6e(e,t){Pw.call(this,1),this.a=e,this.b=t}function Knt(e,t){return e.c?Knt(e.c,t):wt(e.b,t),e}function mun(e,t,n){var r;return r=x4(e,t),Dce(e,t,n),r}function c6e(e,t){var n;return n=e.slice(0,t),T_e(n,e)}function Ynt(e,t,n){var r;for(r=0;r<t;++r)la(e,r,n)}function Xnt(e,t,n,r,i){for(;t<n;)r[i++]=$o(e,t++)}function vun(e,t){return ja(e.c.c+e.c.b,t.c.c+t.c.b)}function PP(e,t){return EU(e.a,t,(er(),z2))==null}function NP(e,t){xa(e.d,t,e.b.b,e.b),++e.a,e.c=null}function RP(e,t){FJe(e,Le(t,153)?t:l(t,1937).gl())}function ey(e,t){ya(ch(e.Oc(),new aC),new Use(t))}function bE(e,t,n,r,i){Oue(e,l(_s(t.k,n),15),n,r,i)}function rq(e){e.s=NaN,e.c=NaN,r0t(e,e.e),r0t(e,e.j)}function Qnt(e){e.a=null,e.e=null,qh(e.b),e.d=0,++e.c}function Xoe(e){return v.Math.abs(e.d.e-e.e.e)-e.a}function bun(e,t,n){return l(e.c._c(t,l(n,133)),42)}function wun(){return xz(),pe(de(xyt,1),vt,538,0,[S1e])}function yun(e){return Sk(),ua(tp(e))==ua(eb(e))}function Znt(e){Y4e.call(this),this.a=e,wt(e.a,this)}function Qoe(e,t){this.d=Gmn(e),this.c=t,this.a=.5*t}function Jnt(){d2.call(this),this.a=!0,this.b=!0}function Er(e){return(e.i==null&&mg(e),e.i).length}function ert(e){return Le(e,99)&&(l(e,18).Bb&Yl)!=0}function _un(e,t){++e.j,Pue(e,e.i,t),l5n(e,l(t,332))}function Zoe(e,t){return t=e.nk(null,t),_dt(e,null,t)}function ga(e,t){return e.hi()&&(t=kit(e,t)),e.Wh(t)}function F(e,t,n){var r;return r=Joe(e,t),Vct(n,r),r}function Joe(e,t){var n;return n=new vxe,n.j=e,n.d=t,n}function ui(e){if(e==null)throw ue(new GC);return e}function ece(e){var t;return t=e.j,t||(e.j=new wse(e))}function trt(e){var t;return t=e.f,t||(e.f=new f4e(e))}function l6e(e){var t;return t=e.k,t||(e.k=new l6(e))}function iq(e){var t;return t=e.k,t||(e.k=new l6(e))}function qA(e){var t;return t=e.g,t||(e.g=new RD(e))}function xun(e){var t;return t=e.i,t||(e.i=new hse(e))}function tce(e){var t;return t=e.d,t||(e.d=new Yx(e))}function nrt(e){return ui(e),Le(e,475)?l(e,475):wl(e)}function u6e(e){return Le(e,607)?e:new hit(e)}function rrt(e,t){return GP(t,e.c.b.c.gc()),new JXe(e,t)}function irt(e,t,n){return rs(),new Jit(e,t,n)}function la(e,t,n){return nan(n==null||h8n(e,n)),e[t]=n}function h6e(e,t){var n;return n=e.a.gc(),GP(t,n),n-1-t}function wE(e,t){return e.a+=String.fromCharCode(t),e}function zv(e,t){return e.a+=String.fromCharCode(t),e}function nce(e,t){for(Xn(t);e.c<e.d;)e.ze(t,e.c++)}function Tr(e,t){return _o(t)?xu(e,t):Bl(cl(e.f,t))}function kun(e,t){return Sk(),e==tp(t)?eb(t):tp(t)}function Eun(e,t){Ek(e,new p4(t.f!=null?t.f:""+t.g))}function Tun(e,t){Ek(e,new p4(t.f!=null?t.f:""+t.g))}function srt(e){this.b=new yt,this.a=new yt,this.c=e}function Td(e){this.c=new Qo,this.a=new yt,this.b=e}function art(e){Y4e.call(this),this.a=new Qo,this.c=e}function p4(e){if(e==null)throw ue(new GC);this.a=e}function ort(e){yye(),this.b=new yt,this.a=e,xEn(this,e)}function crt(e){this.c=e,this.a=new sa,this.b=new sa}function lrt(){lrt=Ee,Cyt=new z7(!1),Ayt=new z7(!0)}function m4(){m4=Ee,fg(),E1e=new gce((In(),In(),Lc))}function rce(){rce=Ee,fg(),VSe=new p3e((In(),In(),tK))}function Vv(){Vv=Ee,Gn=c5n(),Sn(),S5&&pwn()}function Sun(e,t){return Bk(),l(Vc(e,t.d),15).Fc(t)}function Cun(e,t,n,r){return n==0||(n-r)/n<e.e||t>=e.g}function ice(e,t,n){var r;return r=ple(e,t,n),R7e(e,r)}function Ek(e,t){var n;n=e.a.length,x4(e,n),Dce(e,n,t)}function urt(e,t){var n;n=console[e],n.call(console,t)}function hrt(e,t){var n;++e.j,n=e.Vi(),e.Ii(e.oi(n,t))}function Aun(e,t,n){l(t.b,65),fh(t.a,new p5e(e,n,t))}function f6e(e,t,n){mz.call(this,t),this.a=e,this.b=n}function d6e(e,t,n){Pw.call(this,e),this.a=t,this.b=n}function g6e(e,t,n){this.a=e,dye.call(this,t),this.b=n}function frt(e,t,n){this.a=e,q6e.call(this,8,t,null,n)}function Mun(e){this.a=(Xn(Oi),Oi),this.b=e,new Pye}function drt(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function p6e(e){this.c=e,this.b=e.a.d.a,R4e(e.a.e,this)}function wf(e){o4(e.c!=-1),e.d.$c(e.c),e.b=e.c,e.c=-1}function UA(e){return v.Math.sqrt(e.a*e.a+e.b*e.b)}function ty(e,t){return mE(t,e.a.c.length),Kt(e.a,t)}function dg(e,t){return Je(e)===Je(t)||e!=null&&hs(e,t)}function Lun(e){return 0>=e?new o3e:mgn(e-1)}function Iun(e){return A5?dce(A5,e):!1}function grt(e){return e?e.dc():!e.Kc().Ob()}function cc(e){return!e.a&&e.c?e.c.b:e.a}function Oun(e){return!e.a&&(e.a=new Ba(Sb,e,4)),e.a}function ny(e){return!e.d&&(e.d=new Ba(Fc,e,1)),e.d}function Xn(e){if(e==null)throw ue(new GC);return e}function GA(e){e.c?e.c.He():(e.d=!0,B_n(e))}function qv(e){e.c?qv(e.c):(E2(e),e.d=!0)}function prt(e){w6e(e.a),e.b=Ue(xr,Ht,1,e.b.length,5,1)}function Dun(e,t){return ah(t.j.c.length,e.j.c.length)}function Pun(e,t){e.c<0||e.b.b<e.c?s2(e.b,t):e.a._e(t)}function Nun(e,t){var n;n=e.Yg(t),n>=0?e.Bh(n):G8e(e,t)}function mrt(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function Run(e){if(e.p!=4)throw ue(new Eh);return e.e}function Bun(e){if(e.p!=3)throw ue(new Eh);return e.e}function Fun(e){if(e.p!=6)throw ue(new Eh);return e.f}function jun(e){if(e.p!=6)throw ue(new Eh);return e.k}function $un(e){if(e.p!=3)throw ue(new Eh);return e.j}function Hun(e){if(e.p!=4)throw ue(new Eh);return e.j}function m6e(e){return!e.b&&(e.b=new vz(new iae)),e.b}function ry(e){return e.c==-2&&U7(e,s3n(e.g,e.b)),e.c}function yE(e,t){var n;return n=Joe("",e),n.n=t,n.i=1,n}function zun(e,t){Foe(l(t.b,65),e),fh(t.a,new Fi(e))}function Vun(e,t){fi((!e.a&&(e.a=new TP(e,e)),e.a),t)}function vrt(e,t){this.b=e,Yoe.call(this,e,t),zJe(this)}function brt(e,t){this.b=e,s5e.call(this,e,t),VJe(this)}function v6e(e,t,n,r){Vw.call(this,e,t),this.d=n,this.a=r}function sq(e,t,n,r){Vw.call(this,e,n),this.a=t,this.f=r}function wrt(e,t){ksn.call(this,vgn(ui(e),ui(t))),this.a=t}function yrt(){E8e.call(this,$2,(_Xe(),_Et)),hEn(this)}function _rt(){E8e.call(this,Nd,(eE(),YPe)),y7n(this)}function xrt(){Ai.call(this,"DELAUNAY_TRIANGULATION",0)}function qun(e){return String.fromCharCode.apply(null,e)}function ds(e,t,n){return _o(t)?Jc(e,t,n):Gu(e.f,t,n)}function b6e(e){return In(),e?e.ve():(M6(),M6(),vCe)}function Uun(e,t,n){return Fk(),n.pg(e,l(t.cd(),146))}function krt(e,t){return jV(),new Mke(new net(e),new tet(t))}function Gun(e){return Pf(e,qhe),Qq(sc(sc(5,e),e/10|0))}function aq(){aq=Ee,yyt=new oae(pe(de(H2,1),HG,42,0,[]))}function Ert(e){return!e.d&&(e.d=new S(e.c.Cc())),e.d}function _E(e){return!e.a&&(e.a=new nXe(e.c.vc())),e.a}function Trt(e){return!e.b&&(e.b=new Q7(e.c.ec())),e.b}function Xg(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function _u(e,t){return Je(e)===Je(t)||e!=null&&hs(e,t)}function Wun(e,t){return er(),l(t.b,19).a<e}function Kun(e,t){return er(),l(t.a,19).a<e}function Vc(e,t){return Boe(e.a,t)?e.b[l(t,22).g]:null}function Yun(e,t,n,r){e.a=Mf(e.a,0,t)+(""+r)+bP(e.a,n)}function Srt(e,t){e.u.Hc((Gh(),tm))&&J4n(e,t),N1n(e,t)}function $o(e,t){return yi(t,e.length),e.charCodeAt(t)}function Crt(){Tl.call(this,"There is no more element.")}function WA(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function Art(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function Ui(e,t,n,r){return Clt(e,t,n,!1),LU(e,r),e}function Xun(e){return e.j.c=Ue(xr,Ht,1,0,5,1),e.a=-1,e}function Qun(e){return!e.c&&(e.c=new $n(Xr,e,5,8)),e.c}function Zun(e){return!e.b&&(e.b=new $n(Xr,e,4,7)),e.b}function oq(e){return!e.n&&(e.n=new _t(_l,e,1,7)),e.n}function sce(e){return!e.c&&(e.c=new _t(lf,e,9,9)),e.c}function xE(e){return e.e==G9&&lye(e,mbn(e.g,e.b)),e.e}function BP(e){return e.f==G9&&Rse(e,rwn(e.g,e.b)),e.f}function A6(e){var t;return t=e.b,!t&&(e.b=t=new BD(e)),t}function w6e(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function kE(e){if(nf(e.d),e.d.d!=e.c)throw ue(new Zf)}function y6e(e,t){this.b=e,this.c=t,this.a=new uk(this.b)}function ace(e,t,n){this.a=MEe,this.d=e,this.b=t,this.c=n}function Mrt(e,t){this.d=(Xn(e),e),this.a=16449,this.c=t}function Jun(e,t){oht(e,ot(jp(t,"x")),ot(jp(t,"y")))}function ehn(e,t){oht(e,ot(jp(t,"x")),ot(jp(t,"y")))}function $s(e,t){return E2(e),new jn(e,new E_e(t,e.a))}function ch(e,t){return E2(e),new jn(e,new f_e(t,e.a))}function cq(e,t){return E2(e),new j4e(e,new Fat(t,e.a))}function lq(e,t){return E2(e),new $4e(e,new jat(t,e.a))}function thn(e,t){return new rit(l(ui(e),62),l(ui(t),62))}function nhn(e,t){return u3e(),ja((Xn(e),e),(Xn(t),t))}function rhn(){return Bz(),pe(de(JCe,1),vt,481,0,[q1e])}function ihn(){return jz(),pe(de(qOe,1),vt,482,0,[Kge])}function shn(){return $z(),pe(de(m8t,1),vt,551,0,[Yge])}function ahn(){return aA(),pe(de(hDe,1),vt,530,0,[EB])}function Lrt(e){this.a=new yt,this.e=Ue(ri,dt,48,e,0,2)}function oce(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function uq(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function _6e(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function Irt(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function td(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function Ort(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function Tk(e,t,n,r){Ai.call(this,e,t),this.a=n,this.b=r}function Drt(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function ohn(e,t,n){v7n(e.a,n),gpn(n),q5n(e.b,n),N7n(t,n)}function cce(e,t,n){var r,i;return r=bEe(e),i=t.Kh(n,r),i}function Prt(e,t){var n,r;return n=e/t,r=Sa(n),n>r&&++r,r}function Op(e){var t,n;return n=(t=new Nw,t),NE(n,e),n}function lce(e){var t,n;return n=(t=new Nw,t),C8e(n,e),n}function chn(e,t){var n;return n=Tr(e.f,t),ixe(t,n),null}function uce(e){var t;return t=wgn(e),t||null}function Nrt(e){return!e.b&&(e.b=new _t(oo,e,12,3)),e.b}function lhn(e){return e!=null&&eP(fX,e.toLowerCase())}function uhn(e,t){return ja(Mh(e)*vf(e),Mh(t)*vf(t))}function hhn(e,t){return ja(Mh(e)*vf(e),Mh(t)*vf(t))}function fhn(e,t){return ja(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function dhn(e,t){return ja(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function Rrt(e,t,n){n.a?gh(e,t.b-e.f/2):dh(e,t.a-e.g/2)}function Brt(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function Frt(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function l2(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function jrt(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function $rt(e,t,n,r){Jf(),Oat.call(this,t,n,r),this.a=e}function Hrt(e,t,n,r){Jf(),Oat.call(this,t,n,r),this.a=e}function zrt(e,t){this.a=e,wan.call(this,e,l(e.d,15).Zc(t))}function hce(e){this.f=e,this.c=this.f.e,e.f>0&&edt(this)}function Vrt(e,t,n,r){this.b=e,this.c=r,Qae.call(this,t,n)}function qrt(e){return kr(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function Sd(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function x6e(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function hq(e){return e.n&&(e.e!==uvt&&e._d(),e.j=null),e}function Urt(e){return RA(e==null||Koe(e)&&e.im!==nt),e}function Grt(e){this.b=new yt,Fa(this.b,this.b),this.a=e}function Sk(){Sk=Ee,hK=new yt,K1e=new si,W1e=new yt}function In(){In=Ee,Lc=new ae,lp=new Ce,tK=new qe}function M6(){M6=Ee,pCe=new On,mCe=new On,vCe=new Dt}function k6e(){k6e=Ee,Zyt=new Wr,e3t=new z5e,Jyt=new Bi}function ghn(){ACe==256&&(CCe=iK,iK=new O,ACe=0),++ACe}function Ck(e){var t;return t=e.f,t||(e.f=new nE(e,e.c))}function phn(e){return Sy(e)&&Zt(Xt(nn(e,(Nt(),G2))))}function mhn(e,t){return En(e,l(re(t,(Nt(),mT)),19),t)}function Wrt(e,t){return j6(e.j,t.s,t.c)+j6(t.e,e.s,e.c)}function Krt(e,t){e.e&&!e.e.a&&(UKe(e.e,t),Krt(e.e,t))}function Yrt(e,t){e.d&&!e.d.a&&(UKe(e.d,t),Yrt(e.d,t))}function vhn(e,t){return-ja(Mh(e)*vf(e),Mh(t)*vf(t))}function bhn(e){return l(e.cd(),146).tg()+":"+wl(e.dd())}function whn(e){u1();var t;t=l(e.g,10),t.n.a=e.d.c+t.d.b}function yhn(e,t,n){return sA(),hvn(l(Tr(e.e,t),522),n)}function _hn(e,t){return tf(e),tf(t),WYe(l(e,22),l(t,22))}function xhn(e,t,n){e.i=0,e.e=0,t!=n&&mut(e,t,n)}function khn(e,t,n){e.i=0,e.e=0,t!=n&&vut(e,t,n)}function u2(e,t,n){var r,i;r=o5e(n),i=new BC(r),U1(e,t,i)}function fce(e,t,n,r,i,a){JP.call(this,e,t,n,r,i,a?-2:-1)}function Xrt(e,t,n,r){V3e.call(this,t,n),this.b=e,this.a=r}function E6e(e,t){new sa,this.a=new Th,this.b=e,this.c=t}function Ehn(e,t){return l(re(e,(mt(),b8)),15).Fc(t),t}function fq(e,t){if(e==null)throw ue(new ok(t));return e}function ks(e){return!e.q&&(e.q=new _t(Ud,e,11,10)),e.q}function rt(e){return!e.s&&(e.s=new _t(_h,e,21,17)),e.s}function dq(e){return!e.a&&(e.a=new _t(fa,e,10,11)),e.a}function gq(e){return Le(e,14)?new BA(l(e,14)):tln(e.Kc())}function Thn(e){return new KJe(e,e.e.Hd().gc()*e.c.Hd().gc())}function Shn(e){return new YJe(e,e.e.Hd().gc()*e.c.Hd().gc())}function T6e(e){return e&&e.hashCode?e.hashCode():Kw(e)}function dce(e,t){return t==null?!!cl(e.f,null):Hln(e.g,t)}function Chn(e){return ui(e),bft(new Rr(zr(e.a.Kc(),new J)))}function FP(e){return In(),Le(e,54)?new mae(e):new _V(e)}function Qrt(e,t,n){return e.f?e.f.Ne(t,n):!1}function Ahn(e,t){return e.a=Mf(e.a,0,t)+""+bP(e.a,t+1),e}function Mhn(e,t){var n;return n=o4e(e.a,t),n&&(t.d=null),n}function pq(e){var t,n;n=e,t=n.$modCount|0,n.$modCount=t+1}function S6e(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function Zrt(e){this.b=e,this.a=new Dv(l(ui(new $g),62))}function Jrt(e){this.c=e,this.b=new Dv(l(ui(new _r),62))}function eit(e){this.c=e,this.b=new Dv(l(ui(new t6),62))}function tit(){this.a=new Aye,this.b=new vYe,this.d=new r$}function iy(){this.a=new Th,this.b=(Pf(3,U4),new Nu(3))}function nit(){this.b=new Ja,this.d=new sa,this.e=new Lye}function mq(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function rit(e,t){urn.call(this,new qoe(e)),this.a=e,this.b=t}function iit(){jue(this,new QH),this.wb=(Vv(),Gn),eE()}function Lhn(e){Zr(e,"No crossing minimization",1),Br(e)}function Ihn(e){Sz(),v.setTimeout(function(){throw e},0)}function ol(e){return e.u||(Jh(e),e.u=new Het(e,e)),e.u}function lh(e){var t;return t=l(Kn(e,16),26),t||e.zh()}function sit(e,t){return Le(t,146)&&Tn(e.b,l(t,146).tg())}function Ohn(e,t){return e.a?t.Wg().Kc():l(t.Wg(),69).Zh()}function Dhn(e){return e.k==(gr(),za)&&so(e,(mt(),RL))}function gce(e){this.a=(In(),Le(e,54)?new mae(e):new _V(e))}function EE(){EE=Ee;var e,t;t=!ebn(),e=new Se,A1e=t?new Ne:e}function pce(e,t){var n;return n=Ov(e.gm),t==null?n:n+": "+t}function ait(e,t){var n;return n=e.b.Qc(t),Qst(n,e.b.gc()),n}function jP(e,t){if(e==null)throw ue(new ok(t));return e}function cl(e,t){return Iut(e,t,pfn(e,t==null?0:e.b.se(t)))}function Phn(e,t,n){return n>=0&&Tn(e.substr(n,t.length),t)}function Uv(e,t,n,r,i,a,h){return new Nce(e.e,t,n,r,i,a,h)}function oit(e,t,n,r,i,a){this.a=e,cle.call(this,t,n,r,i,a)}function cit(e,t,n,r,i,a){this.a=e,cle.call(this,t,n,r,i,a)}function lit(e,t){this.g=e,this.d=pe(de(up,1),jm,10,0,[t])}function Tm(e,t){this.e=e,this.a=xr,this.b=Ogt(t),this.c=t}function uit(e,t){LV.call(this),D_e(this),this.a=e,this.c=t}function $P(e,t,n,r){la(e.c[t.g],n.g,r),la(e.c[n.g],t.g,r)}function mce(e,t,n,r){la(e.c[t.g],t.g,n),la(e.b[t.g],t.g,r)}function Nhn(){return YP(),pe(de(BIe,1),vt,376,0,[xge,vB])}function Rhn(){return tN(),pe(de(MMe,1),vt,479,0,[AMe,UK])}function Bhn(){return lN(),pe(de(SMe,1),vt,419,0,[VK,TMe])}function Fhn(){return Hq(),pe(de(bMe,1),vt,422,0,[vMe,k0e])}function jhn(){return Lq(),pe(de(zMe,1),vt,420,0,[F0e,HMe])}function $hn(){return sN(),pe(de(DIe,1),vt,421,0,[wge,yge])}function Hhn(){return eM(),pe(de(Txt,1),vt,523,0,[QL,XL])}function zhn(){return V1(),pe(de(Yxt,1),vt,520,0,[b5,wb])}function Vhn(){return gg(),pe(de(Oxt,1),vt,516,0,[t3,Gm])}function qhn(){return k0(),pe(de(Pxt,1),vt,515,0,[X2,H0])}function Uhn(){return sy(),pe(de(nkt,1),vt,455,0,[yb,P_])}function Ghn(){return Sq(),pe(de(oOe,1),vt,425,0,[Bge,aOe])}function Whn(){return xq(),pe(de(sOe,1),vt,480,0,[Rge,iOe])}function Khn(){return dU(),pe(de(cOe,1),vt,495,0,[DY,kT])}function Yhn(){return Vq(),pe(de(uOe,1),vt,426,0,[lOe,Hge])}function Xhn(){return wN(),pe(de(dDe,1),vt,429,0,[zY,fDe])}function Qhn(){return XP(),pe(de(UOe,1),vt,430,0,[Xge,$Y])}function Zhn(){return VU(),pe(de(LCe,1),vt,428,0,[B1e,MCe])}function Jhn(){return Yq(),pe(de(OCe,1),vt,427,0,[ICe,F1e])}function efn(){return Xq(),pe(de(aAe,1),vt,424,0,[Y1e,fK])}function tfn(){return zE(),pe(de(K4t,1),vt,511,0,[eB,c0e])}function vq(e,t,n,r){return n>=0?e.jh(t,n,r):e.Sg(null,n,r)}function vce(e){return e.b.b==0?e.a.$e():Moe(e.b)}function nfn(e){if(e.p!=5)throw ue(new Eh);return li(e.f)}function rfn(e){if(e.p!=5)throw ue(new Eh);return li(e.k)}function C6e(e){return Je(e.a)===Je((ble(),Ope))&&iEn(e),e.a}function hit(e){this.a=l(ui(e),271),this.b=(In(),new y4e(e))}function fit(e,t){aye(this,new en(e.a,e.b)),sz(this,IP(t))}function sy(){sy=Ee,yb=new N3e(e8,0),P_=new N3e(t8,1)}function gg(){gg=Ee,t3=new D3e(t8,0),Gm=new D3e(e8,1)}function ay(){drn.call(this,new lk(k4(12))),m4e(!0),this.a=2}function bce(e,t,n){rs(),Pw.call(this,e),this.b=t,this.a=n}function A6e(e,t,n){Jf(),mz.call(this,t),this.a=e,this.b=n}function dit(e){LV.call(this),D_e(this),this.a=e,this.c=!0}function git(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function bq(e){var t;ugn(e.a),kJe(e.a),t=new Mr(e.a),rke(t)}function ifn(e,t){kgt(e,!0),fh(e.e.wf(),new h5e(e,!0,t))}function wq(e,t){return Wst(t),ogn(e,Ue(ri,Pi,25,t,15,1),t)}function sfn(e,t){return Sk(),e==ua(tp(t))||e==ua(eb(t))}function xu(e,t){return t==null?Bl(cl(e.f,null)):lA(e.g,t)}function afn(e){return e.b==0?null:(kr(e.b!=0),sd(e,e.a.a))}function Sa(e){return Math.max(Math.min(e,as),-2147483648)|0}function ofn(e,t){var n=USe[e.charCodeAt(0)];return n??e}function yq(e,t){return fq(e,"set1"),fq(t,"set2"),new cQe(e,t)}function cfn(e,t){var n;return n=ngn(e.f,t),xs(AV(n),e.f.d)}function KA(e,t){var n,r;return n=t,r=new qt,hmt(e,n,r),r.d}function wce(e,t,n,r){var i;i=new ttt,t.a[n.g]=i,_k(e.b,r,i)}function M6e(e,t,n){var r;r=e.Yg(t),r>=0?e.sh(r,n):b7e(e,t,n)}function L6(e,t,n){kq(),e&&ds(Mpe,e,t),e&&ds(WB,e,n)}function pit(e,t,n){this.i=new yt,this.b=e,this.g=t,this.a=n}function _q(e,t,n){this.c=new yt,this.e=e,this.f=t,this.b=n}function L6e(e,t,n){this.a=new yt,this.e=e,this.f=t,this.c=n}function mit(e,t){bV(this),this.f=t,this.g=e,hq(this),this._d()}function HP(e,t){var n;n=e.q.getHours(),e.q.setDate(t),BM(e,n)}function vit(e,t){var n;for(ui(t),n=e.a;n;n=n.c)t.Od(n.g,n.i)}function bit(e){var t;return t=new Lz(k4(e.length)),_xe(t,e),t}function lfn(e){function t(){}return t.prototype=e||{},new t}function ufn(e,t){return Wlt(e,t)?(Uct(e),!0):!1}function Dp(e,t){if(t==null)throw ue(new GC);return obn(e,t)}function hfn(e){if(e.qe())return null;var t=e.n;return YW[t]}function zP(e){return e.Db>>16!=3?null:l(e.Cb,33)}function x0(e){return e.Db>>16!=9?null:l(e.Cb,33)}function wit(e){return e.Db>>16!=6?null:l(e.Cb,79)}function yit(e){return e.Db>>16!=7?null:l(e.Cb,235)}function _it(e){return e.Db>>16!=7?null:l(e.Cb,160)}function ua(e){return e.Db>>16!=11?null:l(e.Cb,33)}function xit(e,t){var n;return n=e.Yg(t),n>=0?e.lh(n):Kue(e,t)}function kit(e,t){var n;return n=new N5e(t),Edt(n,e),new Ah(n)}function I6e(e){var t;return t=e.d,t=e.si(e.f),fi(e,t),t.Ob()}function Eit(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function yce(e,t){return v.Math.abs(e)<v.Math.abs(t)?e:t}function ffn(e){return!e.a&&(e.a=new _t(fa,e,10,11)),e.a.i>0}function Tit(){this.a=new Mp,this.e=new Ja,this.g=0,this.i=0}function Sit(e){this.a=e,this.b=Ue(xxt,dt,1944,e.e.length,0,2)}function _ce(e,t,n){var r;r=dut(e,t,n),e.b=new fU(r.c.length)}function k0(){k0=Ee,X2=new O3e(Cfe,0),H0=new O3e("UP",1)}function xq(){xq=Ee,Rge=new R3e($bt,0),iOe=new R3e("FAN",1)}function kq(){kq=Ee,Mpe=new si,WB=new si,Oin(Fyt,new dC)}function dfn(e){if(e.p!=0)throw ue(new Eh);return kA(e.f,0)}function gfn(e){if(e.p!=0)throw ue(new Eh);return kA(e.k,0)}function Cit(e){return e.Db>>16!=3?null:l(e.Cb,147)}function TE(e){return e.Db>>16!=6?null:l(e.Cb,235)}function v4(e){return e.Db>>16!=17?null:l(e.Cb,26)}function Ait(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.le(t))}function pfn(e,t){var n;return n=e.a.get(t),n??new Array}function mfn(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),BM(e,n)}function Jc(e,t,n){return t==null?Gu(e.f,null,n):wy(e.g,t,n)}function YA(e,t,n,r,i,a){return new Bp(e.e,t,e.aj(),n,r,i,a)}function VP(e,t,n){return e.a=Mf(e.a,0,t)+(""+n)+bP(e.a,t),e}function vfn(e,t,n){return wt(e.a,(aq(),bue(t,n),new Vw(t,n))),e}function O6e(e){return b4e(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function Mit(e){return b4e(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function So(e,t){e.d&&uh(e.d.e,e),e.d=t,e.d&&wt(e.d.e,e)}function ic(e,t){e.c&&uh(e.c.g,e),e.c=t,e.c&&wt(e.c.g,e)}function el(e,t){e.c&&uh(e.c.a,e),e.c=t,e.c&&wt(e.c.a,e)}function Cl(e,t){e.i&&uh(e.i.j,e),e.i=t,e.i&&wt(e.i.j,e)}function Lit(e,t,n){this.a=t,this.c=e,this.b=(ui(n),new Ah(n))}function Iit(e,t,n){this.a=t,this.c=e,this.b=(ui(n),new Ah(n))}function Oit(e,t){this.a=e,this.c=Fl(this.a),this.b=new mq(t)}function bfn(e){var t;return E2(e),t=new Ja,$s(e,new sn(t))}function b4(e,t){if(e<0||e>t)throw ue(new Qc(BEe+e+FEe+t))}function D6e(e,t){return xnt(e.a,t)?r6e(e,l(t,22).g,null):null}function wfn(e){return Fle(),er(),l(e.a,81).d.e!=0}function Dit(){Dit=Ee,kyt=Ii((xz(),pe(de(xyt,1),vt,538,0,[S1e])))}function Pit(){Pit=Ee,lxt=Vh(new eo,(vc(),hl),(Mc(),tB))}function P6e(){P6e=Ee,uxt=Vh(new eo,(vc(),hl),(Mc(),tB))}function Nit(){Nit=Ee,fxt=Vh(new eo,(vc(),hl),(Mc(),tB))}function Rit(){Rit=Ee,Cxt=ss(new eo,(vc(),hl),(Mc(),ML))}function Lf(){Lf=Ee,Lxt=ss(new eo,(vc(),hl),(Mc(),ML))}function Bit(){Bit=Ee,Ixt=ss(new eo,(vc(),hl),(Mc(),ML))}function xce(){xce=Ee,Rxt=ss(new eo,(vc(),hl),(Mc(),ML))}function Fit(){Fit=Ee,xkt=Vh(new eo,(l9(),JL),(MM(),Cge))}function h2(e,t,n,r){this.c=e,this.d=r,Ece(this,t),Tce(this,n)}function Ak(e){this.c=new sa,this.b=e.b,this.d=e.c,this.a=e.a}function kce(e){this.a=v.Math.cos(e),this.b=v.Math.sin(e)}function Ece(e,t){e.a&&uh(e.a.k,e),e.a=t,e.a&&wt(e.a.k,e)}function Tce(e,t){e.b&&uh(e.b.f,e),e.b=t,e.b&&wt(e.b.f,e)}function jit(e,t){Aun(e,e.b,e.c),l(e.b.b,65),t&&l(t.b,65).b}function yfn(e,t){Xxe(e,t),Le(e.Cb,88)&&B4(Jh(l(e.Cb,88)),2)}function Sce(e,t){Le(e.Cb,88)&&B4(Jh(l(e.Cb,88)),4),Ru(e,t)}function Eq(e,t){Le(e.Cb,179)&&(l(e.Cb,179).tb=null),Ru(e,t)}function ku(e,t){return Sc(),nle(t)?new $V(t,e):new vP(t,e)}function _fn(e,t){var n,r;n=t.c,r=n!=null,r&&Ek(e,new p4(t.c))}function $it(e){var t,n;return n=(eE(),t=new Nw,t),NE(n,e),n}function Hit(e){var t,n;return n=(eE(),t=new Nw,t),NE(n,e),n}function zit(e,t){var n;return n=new Td(e),t.c[t.c.length]=n,n}function Vit(e,t){var n;return n=l(A4(Ck(e.a),t),14),n?n.gc():0}function qit(e){var t;return E2(e),t=(M6(),M6(),mCe),Jq(e,t)}function Uit(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function N6e(e,t){hrn.call(this,new lk(k4(e))),Pf(t,ivt),this.a=t}function Qg(e,t,n){Zut(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function Git(e,t,n){var r;Zut(t,n,e.c.length),r=n-t,s3e(e.c,t,r)}function xfn(e,t){HJe(e,li(Wa($v(t,24),qG)),li(Wa(t,qG)))}function Un(e,t){if(e<0||e>=t)throw ue(new Qc(BEe+e+FEe+t))}function yi(e,t){if(e<0||e>=t)throw ue(new Wye(BEe+e+FEe+t))}function zn(e,t){this.b=(Xn(e),e),this.a=t&G4?t:t|64|vg}function Wit(e){xJe(this),nYe(this.a,wxe(v.Math.max(8,e))<<1)}function E0(e){return Ml(pe(de(ao,1),dt,8,0,[e.i.n,e.n,e.a]))}function kfn(){return I0(),pe(de(of,1),vt,132,0,[SCe,Hf,t5])}function Efn(){return G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])}function Tfn(){return Uh(),pe(de(o3t,1),vt,461,0,[Ag,fb,w1])}function Sfn(){return hh(),pe(de(l3t,1),vt,462,0,[J1,db,y1])}function Cfn(){return by(),pe(de(EAe,1),vt,423,0,[w_,kAe,s0e])}function Afn(){return nM(),pe(de(yAe,1),vt,379,0,[J1e,Z1e,e0e])}function Mfn(){return fM(),pe(de(kIe,1),vt,378,0,[dge,xIe,bY])}function Lfn(){return Rk(),pe(de(yMe,1),vt,314,0,[g8,rB,wMe])}function Ifn(){return sU(),pe(de(xMe,1),vt,337,0,[_Me,zK,E0e])}function Ofn(){return y2(),pe(de(k5t,1),vt,450,0,[C0e,lT,k_])}function Dfn(){return my(),pe(de(g0e,1),vt,361,0,[Uy,pb,qy])}function Pfn(){return Fp(),pe(de(I5t,1),vt,303,0,[sB,T_,p8])}function Nfn(){return WE(),pe(de(B0e,1),vt,292,0,[N0e,R0e,iB])}function Rfn(){return Oc(),pe(de(nxt,1),vt,452,0,[WL,Kh,Hu])}function Bfn(){return $p(),pe(de(OIe,1),vt,339,0,[bb,IIe,bge])}function Ffn(){return bU(),pe(de(RIe,1),vt,375,0,[PIe,_ge,NIe])}function jfn(){return kU(),pe(de(VIe,1),vt,377,0,[Tge,_T,v5])}function $fn(){return e9(),pe(de(jIe,1),vt,336,0,[kge,FIe,KL])}function Hfn(){return mU(),pe(de(zIe,1),vt,338,0,[HIe,Ege,$Ie])}function zfn(){return py(),pe(de(yxt,1),vt,454,0,[bB,YL,xY])}function Vfn(){return PU(),pe(de(Ckt,1),vt,442,0,[$ge,Fge,jge])}function qfn(){return kN(),pe(de(dOe,1),vt,380,0,[PY,hOe,fOe])}function Ufn(){return DU(),pe(de(IOe,1),vt,381,0,[LOe,Gge,MOe])}function Gfn(){return vU(),pe(de(COe,1),vt,293,0,[Uge,SOe,TOe])}function Wfn(){return MN(),pe(de(Wge,1),vt,437,0,[BY,FY,jY])}function Kfn(){return Hp(),pe(de(yPe,1),vt,334,0,[ZY,Xm,fI])}function Yfn(){return A0(),pe(de(cPe,1),vt,272,0,[ST,_5,CT])}function Xfn(e,t){return v6n(e,t,Le(t,99)&&(l(t,18).Bb&wc)!=0)}function Qfn(e,t,n){var r;return r=$M(e,t,!1),r.b<=t&&r.a<=n}function Kit(e,t,n){var r;r=new Pne,r.b=t,r.a=n,++t.b,wt(e.d,r)}function Zfn(e,t){var n;return n=(Xn(e),e).g,L4e(!!n),Xn(t),n(t)}function R6e(e,t){var n,r;return r=vE(e,t),n=e.a.Zc(r),new oQe(e,n)}function Jfn(e){return e.Db>>16!=6?null:l(Que(e),235)}function edn(e){if(e.p!=2)throw ue(new Eh);return li(e.f)&Aa}function tdn(e){if(e.p!=2)throw ue(new Eh);return li(e.k)&Aa}function ndn(e){return e.a==(ME(),mX)&&Nse(e,D6n(e.g,e.b)),e.a}function Mk(e){return e.d==(ME(),mX)&&$C(e,Skn(e.g,e.b)),e.d}function se(e){return kr(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function rdn(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function Wa(e,t){return Yv(Qln(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function T0(e,t){return Yv(Zln(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function Cce(e,t){return Yv(Jln(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function idn(e){return sc(Ip(ph(rf(e,32)),32),ph(rf(e,32)))}function oy(e){return ui(e),Le(e,14)?new Ah(l(e,14)):dE(e.Kc())}function sdn(e,t){return rM(),e.c==t.c?ja(t.d,e.d):ja(e.c,t.c)}function adn(e,t){return rM(),e.c==t.c?ja(e.d,t.d):ja(e.c,t.c)}function odn(e,t){return rM(),e.c==t.c?ja(e.d,t.d):ja(t.c,e.c)}function cdn(e,t){return rM(),e.c==t.c?ja(t.d,e.d):ja(t.c,e.c)}function ldn(e,t){var n;n=ot(Lt(e.a.We((Yi(),QY)))),Rmt(e,t,n)}function udn(e,t){var n;n=l(Tr(e.g,t),57),fh(t.d,new XQe(e,n))}function hdn(e,t){var n,r;return n=Pft(e),r=Pft(t),n<r?-1:n>r?1:0}function Yit(e,t){var n,r;return n=Qce(t),r=n,l(Tr(e.c,r),19).a}function Xit(e,t){var n;for(n=e+"";n.length<t;)n="0"+n;return n}function Tq(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function B6e(e){return e.c==null||e.c.length==0?"n_"+e.b:"n_"+e.c}function F6e(e,t){return e&&e.equals?e.equals(t):Je(e)===Je(t)}function j6e(e,t){return t==0?!!e.o&&e.o.f!=0:cue(e,t)}function h1(e,t,n){var r;e.n&&t&&n&&(r=new Qre,wt(e.e,r))}function Ace(e,t,n){var r;r=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=r}function Qit(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function Zit(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function Jit(e,t,n){Pw.call(this,25),this.b=e,this.a=t,this.c=n}function If(e){rs(),Pw.call(this,e),this.c=!1,this.a=!1}function est(e,t,n,r,i,a){R_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function tst(e,t,n,r,i,a){B_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function nst(e,t,n,r,i,a){o_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function rst(e,t,n,r,i,a){$_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function ist(e,t,n,r,i,a){c_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function sst(e,t,n,r,i,a){F_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function ast(e,t,n,r,i,a){j_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function ost(e,t,n,r,i,a){l_e.call(this,e,t,n,r,i),a&&(this.o=-2)}function cst(e,t,n,r){mz.call(this,n),this.b=e,this.c=t,this.d=r}function $6e(e,t){this.a=new yt,this.d=new yt,this.f=e,this.c=t}function lst(){this.c=new DJe,this.a=new tit,this.b=new hYe,EQe()}function ust(){Fk(),this.b=new si,this.a=new si,this.c=new yt}function hst(e,t){this.g=e,this.d=(ME(),mX),this.a=mX,this.b=t}function fst(e,t){this.f=e,this.a=(ME(),pX),this.c=pX,this.b=t}function H6e(e,t){!e.c&&(e.c=new pa(e,0)),IG(e.c,(Ts(),EI),t)}function Sq(){Sq=Ee,Bge=new B3e("DFS",0),aOe=new B3e("BFS",1)}function fdn(e,t,n){var r;return r=l(e.Zb().xc(t),14),!!r&&r.Hc(n)}function dst(e,t,n){var r;return r=l(e.Zb().xc(t),14),!!r&&r.Mc(n)}function gst(e,t,n,r){return e.a+=""+Mf(t==null?vh:wl(t),n,r),e}function jl(e,t,n,r,i,a){return Clt(e,t,n,a),Uxe(e,r),Gxe(e,i),e}function Mce(e){return kr(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function XA(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function pst(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function ddn(e){return!!e.a&&ef(e.a.a).i!=0&&!(e.b&&pue(e.b))}function gdn(e){return!!e.u&&hu(e.u.a).i!=0&&!(e.n&&gue(e.n))}function mst(e){return Doe(e.e.Hd().gc()*e.c.Hd().gc(),16,new Kx(e))}function pdn(e,t){return Gnt(ph(e.q.getTime()),ph(t.q.getTime()))}function pg(e){return l(O0(e,Ue(a0e,Vfe,17,e.c.length,0,1)),474)}function qP(e){return l(O0(e,Ue(up,jm,10,e.c.length,0,1)),193)}function mdn(e){return Lf(),!pc(e)&&!(!pc(e)&&e.c.i.c==e.d.i.c)}function vst(e,t,n){var r;r=(ui(e),new Ah(e)),G2n(new Lit(r,t,n))}function UP(e,t,n){var r;r=(ui(e),new Ah(e)),W2n(new Iit(r,t,n))}function bst(e,t){var n;return n=1-t,e.a[n]=hU(e.a[n],n),hU(e,t)}function wst(e,t){var n;e.e=new $ye,n=$4(t),fo(n,e.c),fgt(e,n,0)}function Co(e,t,n,r){var i;i=new nH,i.a=t,i.b=n,i.c=r,zi(e.a,i)}function It(e,t,n,r){var i;i=new nH,i.a=t,i.b=n,i.c=r,zi(e.b,i)}function f1(e){var t,n,r;return t=new Jnt,n=mhe(t,e),t9n(t),r=n,r}function z6e(){var e,t,n;return t=(n=(e=new Nw,e),n),wt(sNe,t),t}function Cq(e){return e.j.c=Ue(xr,Ht,1,0,5,1),w6e(e.c),Xun(e.a),e}function I6(e){return sA(),Le(e.g,10)?l(e.g,10):null}function vdn(e){return A6(e).dc()?!1:(msn(e,new ke),!0)}function bdn(e){if(!("stack"in e))try{throw e}catch{}return e}function GP(e,t){if(e<0||e>=t)throw ue(new Qc(I4n(e,t)));return e}function yst(e,t,n){if(e<0||t<e||t>n)throw ue(new Qc(n4n(e,t,n)))}function Lce(e,t){if(Ga(e.a,t),t.d)throw ue(new Tl(Svt));t.d=e}function Ice(e,t){if(t.$modCount!=e.$modCount)throw ue(new Zf)}function _st(e,t){return Le(t,42)?yue(e.a,l(t,42)):!1}function xst(e,t){return Le(t,42)?yue(e.a,l(t,42)):!1}function kst(e,t){return Le(t,42)?yue(e.a,l(t,42)):!1}function wdn(e,t){return e.a<=e.b?(t.ud(e.a++),!0):!1}function cy(e){var t;return ml(e)?(t=e,t==-0?0:t):A0n(e)}function Aq(e){var t;return qv(e),t=new Ft,m6(e.a,new Mn(t)),t}function Est(e){var t;return qv(e),t=new ai,m6(e.a,new At(t)),t}function Ro(e,t){this.a=e,Jx.call(this,e),b4(t,e.gc()),this.b=t}function V6e(e){this.e=e,this.b=this.e.a.entries(),this.a=new Array}function ydn(e){return Doe(e.e.Hd().gc()*e.c.Hd().gc(),273,new JH(e))}function Mq(e){return new Nu((Pf(e,qhe),Qq(sc(sc(5,e),e/10|0))))}function Tst(e){return l(O0(e,Ue(U4t,rbt,11,e.c.length,0,1)),1943)}function _dn(e,t,n){return n.f.c.length>0?a6e(e.a,t,n):a6e(e.b,t,n)}function xdn(e,t,n){e.d&&uh(e.d.e,e),e.d=t,e.d&&f4(e.d.e,n,e)}function Oce(e,t){pTn(t,e),T5e(e.d),T5e(l(re(e,(Nt(),hY)),207))}function QA(e,t){gTn(t,e),E5e(e.d),E5e(l(re(e,(Nt(),hY)),207))}function ly(e,t){var n,r;return n=Dp(e,t),r=null,n&&(r=n.fe()),r}function SE(e,t){var n,r;return n=x4(e,t),r=null,n&&(r=n.ie()),r}function ZA(e,t){var n,r;return n=Dp(e,t),r=null,n&&(r=n.ie()),r}function Pp(e,t){var n,r;return n=Dp(e,t),r=null,n&&(r=P8e(n)),r}function kdn(e,t,n){var r;return r=o9(n),SG(e.g,r,t),SG(e.i,t,n),t}function Edn(e,t,n){var r;r=Zvn();try{return Man(e,t,n)}finally{Ndn(r)}}function Sst(e){var t;t=e.Wg(),this.a=Le(t,69)?l(t,69).Zh():t.Kc()}function eo(){FYe.call(this),this.j.c=Ue(xr,Ht,1,0,5,1),this.a=-1}function q6e(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function Cst(e,t,n,r){this.e=r,this.d=null,this.c=e,this.a=t,this.b=n}function U6e(e,t,n){this.d=new gz(this),this.e=e,this.i=t,this.f=n}function Lq(){Lq=Ee,F0e=new A3e(P9,0),HMe=new A3e("TOP_LEFT",1)}function Ast(){Ast=Ee,UIe=krt(St(1),St(4)),qIe=krt(St(1),St(2))}function Mst(){Mst=Ee,v8t=Ii(($z(),pe(de(m8t,1),vt,551,0,[Yge])))}function Lst(){Lst=Ee,p8t=Ii((jz(),pe(de(qOe,1),vt,482,0,[Kge])))}function Ist(){Ist=Ee,N8t=Ii((aA(),pe(de(hDe,1),vt,530,0,[EB])))}function Ost(){Ost=Ee,H3t=Ii((Bz(),pe(de(JCe,1),vt,481,0,[q1e])))}function Tdn(){return vy(),pe(de(P3t,1),vt,406,0,[UR,qR,z1e,V1e])}function Sdn(){return qq(),pe(de(rK,1),vt,297,0,[P1e,xCe,kCe,ECe])}function Cdn(){return xM(),pe(de(j3t,1),vt,394,0,[XR,cK,lK,QR])}function Adn(){return Vk(),pe(de(R3t,1),vt,323,0,[WR,GR,KR,YR])}function Mdn(){return KE(),pe(de(D4t,1),vt,405,0,[Vy,i5,r5,b_])}function Ldn(){return xU(),pe(de(Z4t,1),vt,360,0,[f0e,NK,RK,nB])}function Dst(e,t,n,r){return Le(n,54)?new bet(e,t,n,r):new Y5e(e,t,n,r)}function Idn(){return L0(),pe(de(o5t,1),vt,411,0,[d8,iT,sT,d0e])}function Odn(e){var t;return e.j==(Mt(),Jr)&&(t=t0t(e),Ch(t,fr))}function Ddn(e,t){var n;n=t.a,ic(n,t.c.d),So(n,t.d.d),T4(n.a,e.n)}function Pst(e,t){return l(Xw(QV(l(_s(e.k,t),15).Oc(),y_)),113)}function Nst(e,t){return l(Xw(ZV(l(_s(e.k,t),15).Oc(),y_)),113)}function Pdn(e){return new zn(Ign(l(e.a.dd(),14).gc(),e.a.cd()),16)}function CE(e){return Le(e,14)?l(e,14).dc():!e.Kc().Ob()}function Lk(e){return sA(),Le(e.g,145)?l(e.g,145):null}function Rst(e){if(e.e.g!=e.b)throw ue(new Zf);return!!e.c&&e.d>0}function ji(e){return kr(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function G6e(e,t){Xn(t),la(e.a,e.c,t),e.c=e.c+1&e.a.length-1,Bft(e)}function Gv(e,t){Xn(t),e.b=e.b-1&e.a.length-1,la(e.a,e.b,t),Bft(e)}function Bst(e,t){var n;for(n=e.j.c.length;n<t;n++)wt(e.j,e.rg())}function Fst(e,t,n,r){var i;return i=r[t.g][n.g],ot(Lt(re(e.a,i)))}function W6e(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function jst(e,t,n,r,i){this.a=e,this.e=t,this.f=n,this.b=r,this.g=i}function Ndn(e){e&&I0n((qye(),GSe)),--XW,e&&QW!=-1&&(win(QW),QW=-1)}function Rdn(){return I4(),pe(de(pge,1),vt,197,0,[wY,gge,D_,O_])}function Bdn(){return l9(),pe(de(KIe,1),vt,393,0,[SY,ZL,yB,JL])}function Fdn(){return JU(),pe(de(EOe,1),vt,340,0,[qge,xOe,kOe,_Oe])}function jdn(){return xf(),pe(de(vI,1),vt,374,0,[HB,nw,$B,x5])}function $dn(){return Rf(),pe(de(b7t,1),vt,285,0,[BB,fp,xb,RB])}function Hdn(){return Vp(),pe(de(_pe,1),vt,218,0,[ype,NB,AT,L8])}function zdn(){return BU(),pe(de(MPe,1),vt,311,0,[Epe,SPe,APe,CPe])}function Vdn(){return _f(),pe(de(D7t,1),vt,396,0,[Gf,IPe,LPe,OPe])}function qdn(e){return kq(),bf(Mpe,e)?l(Tr(Mpe,e),331).ug():null}function nd(e,t,n){return t<0?Kue(e,n):l(n,66).Nj().Sj(e,e.yh(),t)}function Udn(e,t,n){var r;return r=o9(n),SG(e.d,r,t),ds(e.e,t,n),t}function Gdn(e,t,n){var r;return r=o9(n),SG(e.j,r,t),ds(e.k,t,n),t}function $st(e){var t,n;return t=(Hw(),n=new Mw,n),e&&rhe(t,e),t}function K6e(e){var t;return t=e.ri(e.i),e.i>0&&du(e.g,0,t,0,e.i),t}function Hst(e,t){Vz();var n;return n=l(Tr(hX,e),55),!n||n.wj(t)}function Wdn(e){if(e.p!=1)throw ue(new Eh);return li(e.f)<<24>>24}function Kdn(e){if(e.p!=1)throw ue(new Eh);return li(e.k)<<24>>24}function Ydn(e){if(e.p!=7)throw ue(new Eh);return li(e.k)<<16>>16}function Xdn(e){if(e.p!=7)throw ue(new Eh);return li(e.f)<<16>>16}function Np(e){var t;for(t=0;e.Ob();)e.Pb(),t=sc(t,1);return Qq(t)}function zst(e,t){var n;return n=new t4,e.xd(n),n.a+="..",t.yd(n),n.a}function Qdn(e,t,n){var r;r=l(Tr(e.g,n),57),wt(e.a.c,new No(t,r))}function Zdn(e,t,n){return zoe(Lt(Bl(cl(e.f,t))),Lt(Bl(cl(e.f,n))))}function Iq(e,t,n){return AG(e,t,n,Le(t,99)&&(l(t,18).Bb&wc)!=0)}function Jdn(e,t,n){return k9(e,t,n,Le(t,99)&&(l(t,18).Bb&wc)!=0)}function e1n(e,t,n){return k6n(e,t,n,Le(t,99)&&(l(t,18).Bb&wc)!=0)}function Y6e(e,t){return e==(gr(),za)&&t==za?4:e==za||t==za?8:32}function Vst(e,t){return Je(t)===Je(e)?"(this Map)":t==null?vh:wl(t)}function t1n(e,t){return l(t==null?Bl(cl(e.f,null)):lA(e.g,t),281)}function qst(e,t,n){var r;return r=o9(n),ds(e.b,r,t),ds(e.c,t,n),t}function Ust(e,t){var n;for(n=t;n;)c4(e,n.i,n.j),n=ua(n);return e}function X6e(e,t){var n;return n=FP(dE(new Zce(e,t))),zV(new Zce(e,t)),n}function Zg(e,t){Sc();var n;return n=l(e,66).Mj(),N3n(n,t),n.Ok(t)}function n1n(e,t,n,r,i){var a;a=A6n(i,n,r),wt(t,S4n(i,a)),v3n(e,i,t)}function Gst(e,t,n){e.i=0,e.e=0,t!=n&&(vut(e,t,n),mut(e,t,n))}function Q6e(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+ab),BM(e,n)}function r1n(e,t,n){if(n){var r=n.ee();e.a[t]=r(n)}else delete e.a[t]}function Dce(e,t,n){if(n){var r=n.ee();n=r(n)}else n=void 0;e.a[t]=n}function Wst(e){if(e<0)throw ue(new XYe("Negative array size: "+e))}function hu(e){return e.n||(Jh(e),e.n=new Snt(e,Fc,e),ol(e)),e.n}function JA(e){return kr(e.a<e.c.a.length),e.b=e.a,ect(e),e.c.b[e.b]}function Z6e(e){e.b!=e.c&&(e.a=Ue(xr,Ht,1,8,5,1),e.b=0,e.c=0)}function Kst(e){this.b=new si,this.c=new si,this.d=new si,this.a=e}function w4(e,t){rs(),Pw.call(this,e),this.a=t,this.c=-1,this.b=-1}function y4(e,t,n,r){Qit.call(this,1,n,r),this.c=e,this.b=t}function Pce(e,t,n,r){Zit.call(this,1,n,r),this.c=e,this.b=t}function Nce(e,t,n,r,i,a,h){cle.call(this,t,r,i,a,h),this.c=e,this.a=n}function f2(e,t,n){this.e=e,this.a=xr,this.b=Ogt(t),this.c=t,this.d=n}function Rce(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function Yst(e){this.c=e,this.a=l(Md(e),148),this.b=this.a.Aj().Nh()}function J6e(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function d2(){si.call(this),get(this),this.d.b=this.d,this.d.a=this.d}function Xst(e,t){Y4e.call(this),this.a=e,this.b=t,wt(this.a.b,this)}function i1n(e,t){var n;return n=t!=null?xu(e,t):Bl(cl(e.f,t)),hV(n)}function s1n(e,t){var n;return n=t!=null?xu(e,t):Bl(cl(e.f,t)),hV(n)}function Qst(e,t){var n;for(n=0;n<t;++n)la(e,n,new q(l(e[n],42)))}function a1n(e,t){var n;for(n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}function Zst(e,t){JE();var n;return n=e.j.g-t.j.g,n!=0?n:0}function Jst(e,t){return Xn(t),e.a!=null?zln(t.Kb(e.a)):nK}function Oq(e){var t;return e?new N5e(e):(t=new Mp,vle(t,e),t)}function Of(e,t){var n;return t.b.Kb(Uot(e,t.c.Ee(),(n=new Yn(t),n)))}function Dq(e){b8e(),HJe(this,li(Wa($v(e,24),qG)),li(Wa(e,qG)))}function eat(){eat=Ee,t3t=Ii((VU(),pe(de(LCe,1),vt,428,0,[B1e,MCe])))}function tat(){tat=Ee,n3t=Ii((Yq(),pe(de(OCe,1),vt,427,0,[ICe,F1e])))}function nat(){nat=Ee,i4t=Ii((Xq(),pe(de(aAe,1),vt,424,0,[Y1e,fK])))}function rat(){rat=Ee,Y4t=Ii((zE(),pe(de(K4t,1),vt,511,0,[eB,c0e])))}function iat(){iat=Ee,x5t=Ii((lN(),pe(de(SMe,1),vt,419,0,[VK,TMe])))}function sat(){sat=Ee,S5t=Ii((tN(),pe(de(MMe,1),vt,479,0,[AMe,UK])))}function aat(){aat=Ee,sxt=Ii((YP(),pe(de(BIe,1),vt,376,0,[xge,vB])))}function oat(){oat=Ee,txt=Ii((sN(),pe(de(DIe,1),vt,421,0,[wge,yge])))}function cat(){cat=Ee,b5t=Ii((Hq(),pe(de(bMe,1),vt,422,0,[vMe,k0e])))}function lat(){lat=Ee,D5t=Ii((Lq(),pe(de(zMe,1),vt,420,0,[F0e,HMe])))}function uat(){uat=Ee,Xxt=Ii((V1(),pe(de(Yxt,1),vt,520,0,[b5,wb])))}function hat(){hat=Ee,Sxt=Ii((eM(),pe(de(Txt,1),vt,523,0,[QL,XL])))}function fat(){fat=Ee,Dxt=Ii((gg(),pe(de(Oxt,1),vt,516,0,[t3,Gm])))}function dat(){dat=Ee,Nxt=Ii((k0(),pe(de(Pxt,1),vt,515,0,[X2,H0])))}function gat(){gat=Ee,rkt=Ii((sy(),pe(de(nkt,1),vt,455,0,[yb,P_])))}function pat(){pat=Ee,_kt=Ii((Sq(),pe(de(oOe,1),vt,425,0,[Bge,aOe])))}function mat(){mat=Ee,Skt=Ii((dU(),pe(de(cOe,1),vt,495,0,[DY,kT])))}function vat(){vat=Ee,ykt=Ii((xq(),pe(de(sOe,1),vt,480,0,[Rge,iOe])))}function bat(){bat=Ee,Mkt=Ii((Vq(),pe(de(uOe,1),vt,426,0,[lOe,Hge])))}function wat(){wat=Ee,R8t=Ii((wN(),pe(de(dDe,1),vt,429,0,[zY,fDe])))}function yat(){yat=Ee,b8t=Ii((XP(),pe(de(UOe,1),vt,430,0,[Xge,$Y])))}function eM(){eM=Ee,QL=new I3e("UPPER",0),XL=new I3e("LOWER",1)}function o1n(e,t){var n;n=new ak,u2(n,"x",t.a),u2(n,"y",t.b),Ek(e,n)}function c1n(e,t){var n;n=new ak,u2(n,"x",t.a),u2(n,"y",t.b),Ek(e,n)}function l1n(e,t){var n,r;r=!1;do n=cut(e,t),r=r|n;while(n);return r}function e_e(e,t){var n,r;for(n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function _at(e,t){var n;for(n=t;n;)c4(e,-n.i,-n.j),n=ua(n);return e}function Ho(e,t){var n,r;for(Xn(t),r=e.Kc();r.Ob();)n=r.Pb(),t.td(n)}function xat(e,t){var n;return n=t.cd(),new Vw(n,e.e.pc(n,l(t.dd(),14)))}function xa(e,t,n,r){var i;i=new Ot,i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function rd(e,t,n){var r;return r=(Un(t,e.c.length),e.c[t]),e.c[t]=n,r}function u1n(e,t,n){return l(t==null?Gu(e.f,null,n):wy(e.g,t,n),281)}function Bce(e){return e.c&&e.d?B6e(e.c)+"->"+B6e(e.d):"e_"+Kw(e)}function AE(e,t){return(E2(e),nA(new jn(e,new E_e(t,e.a)))).sd(J9)}function h1n(){return vc(),pe(de(_Ae,1),vt,356,0,[Mg,gb,Ku,Au,hl])}function f1n(){return Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])}function d1n(e){return Sz(),function(){return Edn(e,this,arguments)}}function g1n(){return Date.now?Date.now():new Date().getTime()}function pc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function kat(e){if(!e.c.Sb())throw ue(new Gl);return e.a=!0,e.c.Ub()}function WP(e){e.i=0,sP(e.b,null),sP(e.c,null),e.a=null,e.e=null,++e.g}function t_e(e){_in.call(this,e==null?vh:wl(e),Le(e,78)?l(e,78):null)}function Eat(e){Ymt(),GKe(this),this.a=new sa,Axe(this,e),zi(this.a,e)}function Tat(){noe(this),this.b=new en(ma,ma),this.a=new en(Oa,Oa)}function Sat(e,t){this.c=0,this.b=t,ZZe.call(this,e,17493),this.a=this.c}function Fce(e){Pq(),!F0&&(this.c=e,this.e=!0,this.a=new yt)}function Pq(){Pq=Ee,F0=!0,Uyt=!1,Gyt=!1,Kyt=!1,Wyt=!1}function n_e(e,t){return Le(t,149)?Tn(e.c,l(t,149).c):!1}function r_e(e,t){var n;return n=0,e&&(n+=e.f.a/2),t&&(n+=t.f.a/2),n}function jce(e,t){var n;return n=l(uy(e.d,t),23),n||l(uy(e.e,t),23)}function Cat(e){this.b=e,Ir.call(this,e),this.a=l(Kn(this.b.a,4),126)}function Aat(e){this.b=e,vk.call(this,e),this.a=l(Kn(this.b.a,4),126)}function Jh(e){return e.t||(e.t=new RKe(e),mM(new YYe(e),0,e.t)),e.t}function p1n(){return Dc(),pe(de(uI,1),vt,103,0,[hp,x1,jd,Zp,Jp])}function m1n(){return H6(),pe(de(gI,1),vt,249,0,[kb,FB,_Pe,dI,xPe])}function v1n(){return K1(),pe(de(Ym,1),vt,175,0,[hr,mo,Og,Q2,Km])}function b1n(){return VN(),pe(de(YOe,1),vt,316,0,[GOe,Qge,KOe,Zge,WOe])}function w1n(){return kM(),pe(de(TIe,1),vt,315,0,[EIe,mge,vge,UL,GL])}function y1n(){return A2(),pe(de(EMe,1),vt,335,0,[T0e,kMe,S0e,OL,IL])}function _1n(){return y9(),pe(de(f8t,1),vt,355,0,[N_,T8,sI,iI,aI])}function x1n(){return W6(),pe(de(l5t,1),vt,363,0,[FK,$K,HK,jK,BK])}function k1n(){return cd(),pe(de(tLe,1),vt,163,0,[uB,BL,mb,FL,c5])}function ME(){ME=Ee;var e,t;pX=(eE(),t=new wz,t),mX=(e=new tae,e)}function Mat(e){var t;return e.c||(t=e.r,Le(t,88)&&(e.c=l(t,26))),e.c}function E1n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function $ce(e){var t,n,r;return t=e&af,n=e>>22&af,r=e<0?Kp:0,qu(t,n,r)}function T1n(e){var t,n,r,i;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],GA(t)}function S1n(e,t){var n,r;n=l(xmn(e.c,t),14),n&&(r=n.gc(),n.$b(),e.d-=r)}function Lat(e,t){var n,r;return n=t.cd(),r=Cxe(e,n),!!r&&_u(r.e,t.dd())}function Ik(e,t){return t==0||e.e==0?e:t>0?Cht(e,t):Y0t(e,-t)}function i_e(e,t){return t==0||e.e==0?e:t>0?Y0t(e,t):Cht(e,-t)}function hi(e){if(Ei(e))return e.c=e.a,e.a.Pb();throw ue(new Gl)}function Iat(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(gr(),La)&&n.k==La}function Hce(e){var t;return t=new iy,ll(t,e),ut(t,(Nt(),il),null),t}function zce(e,t,n){var r;return r=e.Yg(t),r>=0?e._g(r,n,!0):Cy(e,t,n)}function s_e(e,t,n,r){var i;for(i=0;i<$1e;i++)YV(e.a[t.g][i],n,r[t.g])}function a_e(e,t,n,r){var i;for(i=0;i<aK;i++)KV(e.a[i][t.g],n,r[t.g])}function o_e(e,t,n,r,i){Qit.call(this,t,r,i),this.c=e,this.a=n}function c_e(e,t,n,r,i){Zit.call(this,t,r,i),this.c=e,this.a=n}function l_e(e,t,n,r,i){Dat.call(this,t,r,i),this.c=e,this.a=n}function d1(e,t,n,r,i){Dat.call(this,t,r,i),this.c=e,this.b=n}function Oat(e,t,n){mz.call(this,n),this.b=e,this.c=t,this.d=(Jle(),Ppe)}function Dat(e,t,n){this.d=e,this.k=t?1:0,this.f=n?1:0,this.o=-1,this.p=0}function Pat(e,t,n){var r;r=new a4e(e.a),cM(r,e.a.a),Gu(r.f,t,n),e.a.a=r}function KP(e,t){e.qi(e.i+1),MA(e,e.i,e.oi(e.i,t)),e.bi(e.i++,t),e.ci()}function tM(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.di(n,t),e.ci()}function S0(e){var t,n;return ui(e),t=Gun(e.length),n=new Nu(t),_xe(n,e),n}function Ok(e){var t;return t=(ui(e),e?new Ah(e):dE(e.Kc())),que(t),MU(t)}function Sm(e,t){var n;return n=(Un(t,e.c.length),e.c[t]),s3e(e.c,t,1),n}function _s(e,t){var n;return n=l(e.c.xc(t),14),!n&&(n=e.ic(t)),e.pc(t,n)}function u_e(e,t){var n,r;return n=(Xn(e),e),r=(Xn(t),t),n==r?0:n<r?-1:1}function Nat(e){var t;return t=e.e+e.f,isNaN(t)&&OV(e.d)?e.d:t}function Rp(e,t){return e.a?Mi(e.a,e.b):e.a=new Af(e.d),TA(e.a,t),e}function h_e(e,t){if(e<0||e>t)throw ue(new Qc(H8e(e,t,"index")));return e}function Vce(e,t,n,r){var i;return i=Ue(ri,Pi,25,t,15,1),Fyn(i,e,t,n,r),i}function C1n(e,t){var n;n=e.q.getHours()+(t/60|0),e.q.setMinutes(t),BM(e,n)}function A1n(e,t){return v.Math.min(Wv(t.a,e.d.d.c),Wv(t.b,e.d.d.c))}function Dk(e,t){return _o(t)?t==null?i7e(e.f,null):qlt(e.g,t):i7e(e.f,t)}function C0(e){this.c=e,this.a=new M(this.c.a),this.b=new M(this.c.b)}function Nq(){this.e=new yt,this.c=new yt,this.d=new yt,this.b=new yt}function Rat(){this.g=new kye,this.b=new kye,this.a=new yt,this.k=new yt}function Bat(e,t,n){this.a=e,this.c=t,this.d=n,wt(t.e,this),wt(n.b,this)}function Fat(e,t){QZe.call(this,t.rd(),t.qd()&-6),Xn(e),this.a=e,this.b=t}function jat(e,t){ZZe.call(this,t.rd(),t.qd()&-6),Xn(e),this.a=e,this.b=t}function f_e(e,t){Qae.call(this,t.rd(),t.qd()&-6),Xn(e),this.a=e,this.b=t}function Rq(e,t,n){this.a=e,this.b=t,this.c=n,wt(e.t,this),wt(t.i,this)}function Bq(){this.b=new sa,this.a=new sa,this.b=new sa,this.a=new sa}function Fq(){Fq=Ee,oI=new Xs("org.eclipse.elk.labels.labelManager")}function $at(){$at=Ee,fMe=new Ua("separateLayerConnections",(xU(),f0e))}function V1(){V1=Ee,b5=new P3e("REGULAR",0),wb=new P3e("CRITICAL",1)}function YP(){YP=Ee,xge=new L3e("STACKED",0),vB=new L3e("SEQUENCED",1)}function XP(){XP=Ee,Xge=new $3e("FIXED",0),$Y=new $3e("CENTER_NODE",1)}function M1n(e,t){var n;return n=DEn(e,t),e.b=new fU(n.c.length),U7n(e,n)}function L1n(e,t,n){var r;return++e.e,--e.f,r=l(e.d[t].$c(n),133),r.dd()}function Hat(e){var t;return e.a||(t=e.r,Le(t,148)&&(e.a=l(t,148))),e.a}function d_e(e){if(e.a){if(e.e)return d_e(e.e)}else return e;return null}function I1n(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function jq(e,t){return Xn(t),e.c<e.d?(e.ze(t,e.c++),!0):!1}function zat(e,t){return bf(e.a,t)?(Dk(e.a,t),!0):!1}function O1n(e){var t,n;return t=e.cd(),n=l(e.dd(),14),LP(n.Nc(),new use(t))}function D1n(e){var t;return t=l(c6e(e.b,e.b.length),9),new ed(e.a,t,e.c)}function P1n(e){var t;return E2(e),t=new jtt(e,e.a.e,e.a.d|4),new j4e(e,t)}function Vat(e){var t;for(qv(e),t=0;e.a.sd(new Jl);)t=sc(t,1);return t}function g_e(e,t,n){var r,i;for(r=0,i=0;i<t.length;i++)r+=e.$f(t[i],r,n)}function N1n(e,t){var n;e.C&&(n=l(Vc(e.b,t),124).n,n.d=e.C.d,n.a=e.C.a)}function Pk(e,t,n){return GP(t,e.e.Hd().gc()),GP(n,e.c.Hd().gc()),e.a[t][n]}function Cm(e,t){rb(),this.e=e,this.d=1,this.a=pe(de(ri,1),Pi,25,15,[t])}function $q(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function p_e(e){var t,n,r,i;i=e.d,t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function R1n(e,t,n,r){ppt(e,t,n,k9(e,t,r,Le(t,99)&&(l(t,18).Bb&wc)!=0))}function B1n(e,t){Zr(t,"Label management",1),hV(re(e,(Fq(),oI))),Br(t)}function Nu(e){noe(this),NV(e>=0,"Initial capacity must not be negative")}function qat(){qat=Ee,a3t=Ii((G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])))}function Uat(){Uat=Ee,c3t=Ii((Uh(),pe(de(o3t,1),vt,461,0,[Ag,fb,w1])))}function Gat(){Gat=Ee,u3t=Ii((hh(),pe(de(l3t,1),vt,462,0,[J1,db,y1])))}function Wat(){Wat=Ee,Yyt=Ii((I0(),pe(de(of,1),vt,132,0,[SCe,Hf,t5])))}function Kat(){Kat=Ee,T4t=Ii((nM(),pe(de(yAe,1),vt,379,0,[J1e,Z1e,e0e])))}function Yat(){Yat=Ee,$4t=Ii((by(),pe(de(EAe,1),vt,423,0,[w_,kAe,s0e])))}function Xat(){Xat=Ee,w5t=Ii((Rk(),pe(de(yMe,1),vt,314,0,[g8,rB,wMe])))}function Qat(){Qat=Ee,y5t=Ii((sU(),pe(de(xMe,1),vt,337,0,[_Me,zK,E0e])))}function Zat(){Zat=Ee,E5t=Ii((y2(),pe(de(k5t,1),vt,450,0,[C0e,lT,k_])))}function Jat(){Jat=Ee,p5t=Ii((my(),pe(de(g0e,1),vt,361,0,[Uy,pb,qy])))}function eot(){eot=Ee,O5t=Ii((Fp(),pe(de(I5t,1),vt,303,0,[sB,T_,p8])))}function tot(){tot=Ee,L5t=Ii((WE(),pe(de(B0e,1),vt,292,0,[N0e,R0e,iB])))}function not(){not=Ee,X_t=Ii((fM(),pe(de(kIe,1),vt,378,0,[dge,xIe,bY])))}function rot(){rot=Ee,ixt=Ii((bU(),pe(de(RIe,1),vt,375,0,[PIe,_ge,NIe])))}function iot(){iot=Ee,ext=Ii(($p(),pe(de(OIe,1),vt,339,0,[bb,IIe,bge])))}function sot(){sot=Ee,rxt=Ii((Oc(),pe(de(nxt,1),vt,452,0,[WL,Kh,Hu])))}function aot(){aot=Ee,cxt=Ii((kU(),pe(de(VIe,1),vt,377,0,[Tge,_T,v5])))}function oot(){oot=Ee,axt=Ii((e9(),pe(de(jIe,1),vt,336,0,[kge,FIe,KL])))}function cot(){cot=Ee,oxt=Ii((mU(),pe(de(zIe,1),vt,338,0,[HIe,Ege,$Ie])))}function lot(){lot=Ee,_xt=Ii((py(),pe(de(yxt,1),vt,454,0,[bB,YL,xY])))}function uot(){uot=Ee,Akt=Ii((PU(),pe(de(Ckt,1),vt,442,0,[$ge,Fge,jge])))}function hot(){hot=Ee,Lkt=Ii((kN(),pe(de(dOe,1),vt,380,0,[PY,hOe,fOe])))}function fot(){fot=Ee,Wkt=Ii((DU(),pe(de(IOe,1),vt,381,0,[LOe,Gge,MOe])))}function dot(){dot=Ee,Gkt=Ii((vU(),pe(de(COe,1),vt,293,0,[Uge,SOe,TOe])))}function got(){got=Ee,g8t=Ii((MN(),pe(de(Wge,1),vt,437,0,[BY,FY,jY])))}function pot(){pot=Ee,v7t=Ii((Hp(),pe(de(yPe,1),vt,334,0,[ZY,Xm,fI])))}function mot(){mot=Ee,d7t=Ii((A0(),pe(de(cPe,1),vt,272,0,[ST,_5,CT])))}function F1n(){return Ao(),pe(de(kPe,1),vt,98,0,[Eb,V0,MT,tw,gp,Iu])}function g2(e,t){return!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),eue(e.o,t)}function j1n(e){return!e.g&&(e.g=new E7),!e.g.d&&(e.g.d=new DKe(e)),e.g.d}function $1n(e){return!e.g&&(e.g=new E7),!e.g.a&&(e.g.a=new PKe(e)),e.g.a}function H1n(e){return!e.g&&(e.g=new E7),!e.g.b&&(e.g.b=new OKe(e)),e.g.b}function QP(e){return!e.g&&(e.g=new E7),!e.g.c&&(e.g.c=new NKe(e)),e.g.c}function z1n(e,t,n){var r,i;for(i=new GE(t,e),r=0;r<n;++r)YU(i);return i}function qce(e,t,n){var r,i;if(n!=null)for(r=0;r<t;++r)i=n[r],e.fi(r,i)}function Uce(e,t,n,r){var i;return i=Ue(ri,Pi,25,t+1,15,1),E8n(i,e,t,n,r),i}function Ue(e,t,n,r,i,a){var h;return h=Aft(i,r),i!=10&&pe(de(e,a),t,n,i,h),h}function V1n(e,t,n,r){return n&&(r=n.gh(t,Qs(n.Tg(),e.c.Lj()),null,r)),r}function q1n(e,t,n,r){return n&&(r=n.ih(t,Qs(n.Tg(),e.c.Lj()),null,r)),r}function m_e(e,t,n){l(e.b,65),l(e.b,65),l(e.b,65),fh(e.a,new Ttt(n,t,e))}function v_e(e,t,n){if(e<0||t>n||t<e)throw ue(new Wye(UG+e+REe+t+PEe+n))}function LE(e){if(!e)throw ue(new pl("Unable to add element to queue"))}function Gce(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new yt)}function Wce(e,t){Wz.call(this,e,t),this.a=Ue(JTn,HG,436,2,0,1),this.b=!0}function b_e(e){sut.call(this,e,0),get(this),this.d.b=this.d,this.d.a=this.d}function Kce(e){var t;return t=e.b,t.b==0?null:l(Y1(t,0),188).b}function vot(e,t){var n;return n=new qt,n.c=!0,n.d=t.dd(),hmt(e,t.cd(),n)}function U1n(e,t){var n;n=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),BM(e,n)}function w_e(e,t,n){var r;r=e.b[n.c.p][n.p],r.b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function Wv(e,t){var n,r;return n=e.a-t.a,r=e.b-t.b,v.Math.sqrt(n*n+r*r)}function Hq(){Hq=Ee,vMe=new T3e("QUADRATIC",0),k0e=new T3e("SCANLINE",1)}function bot(){bot=Ee,hxt=Vh(ss(new eo,(vc(),Mg),(Mc(),l0e)),hl,tB)}function G1n(){return P4(),pe(de(cpe,1),vt,291,0,[ope,LB,MB,ape,CB,AB])}function W1n(){return ep(),pe(de(bDe,1),vt,248,0,[ipe,TB,SB,UY,VY,qY])}function K1n(){return Uk(),pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__])}function Y1n(){return g9(),pe(de($Me,1),vt,275,0,[DL,RMe,jMe,FMe,BMe,NMe])}function X1n(){return HN(),pe(de(PMe,1),vt,274,0,[GK,IMe,DMe,LMe,OMe,D0e])}function Q1n(){return oG(),pe(de(_Ie,1),vt,313,0,[fge,wIe,hge,bIe,yIe,vY])}function Z1n(){return hG(),pe(de(CMe,1),vt,276,0,[M0e,A0e,I0e,L0e,O0e,qK])}function J1n(){return MM(),pe(de(skt,1),vt,327,0,[CY,Age,Lge,Mge,Ige,Cge])}function e0n(){return Gh(),pe(de(JY,1),vt,273,0,[Tb,tm,jB,mI,pI,I8])}function t0n(){return lG(),pe(de(gPe,1),vt,312,0,[xpe,hPe,dPe,lPe,fPe,uPe])}function n0n(){return gr(),pe(de(o0e,1),vt,267,0,[za,po,La,Mu,kf,j0])}function wot(e){o4(!!e.c),Ice(e.e,e),e.c.Qb(),e.c=null,e.b=lxe(e),R4e(e.e,e)}function yot(e){return Ice(e.c.a.e,e),kr(e.b!=e.c.a.d),e.a=e.b,e.b=e.b.a,e.a}function y_e(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Tg(),e.a=Rn(t,e.b)),e.a}function fi(e,t){return e.hi()&&e.Hc(t)?!1:(e.Yh(t),!0)}function q1(e,t){return jP(t,"Horizontal alignment cannot be null"),e.b=t,e}function _ot(e,t,n){rs();var r;return r=ib(e,t),n&&r&&Iun(e)&&(r=null),r}function Am(e,t,n){var r,i;for(i=e.Kc();i.Ob();)r=l(i.Pb(),37),NM(r,t,n)}function __e(e,t){var n,r;for(r=t.Kc();r.Ob();)n=l(r.Pb(),37),Vgt(e,n,0,0)}function x_e(e,t,n){var r;e.d[t.g]=n,r=e.g.c,r[t.g]=v.Math.max(r[t.g],n+1)}function ZP(e,t){var n,r,i;return i=e.r,r=e.d,n=$M(e,t,!0),n.b!=i||n.a!=r}function xot(e,t){return BQe(e.e,t)||S2(e.e,t,new Jht(t)),l(uy(e.e,t),113)}function p2(e,t,n,r){return Xn(e),Xn(t),Xn(n),Xn(r),new n6e(e,t,new et)}function yf(e,t,n,r){this.rj(),this.a=t,this.b=e,this.c=new J5e(this,t,n,r)}function Yce(e,t,n,r,i,a){q6e.call(this,t,r,i,a),this.c=e,this.b=n}function JP(e,t,n,r,i,a){q6e.call(this,t,r,i,a),this.c=e,this.a=n}function r0n(e,t,n){var r,i,a;r=Dp(e,n),i=null,r&&(i=P8e(r)),a=i,Xht(t,n,a)}function i0n(e,t,n){var r,i,a;r=Dp(e,n),i=null,r&&(i=P8e(r)),a=i,Xht(t,n,a)}function eN(e,t,n){var r,i;return i=(r=b9(e.b,t),r),i?OG(iN(e,i),n):null}function IE(e,t){var n;return n=e.Yg(t),n>=0?e._g(n,!0,!0):Cy(e,t,!0)}function s0n(e,t){return ja(ot(Lt(re(e,(mt(),Yy)))),ot(Lt(re(t,Yy))))}function kot(){kot=Ee,kkt=ky(ky(zz(new eo,(l9(),ZL)),(MM(),CY)),Age)}function a0n(e,t,n){var r;return r=dut(e,t,n),e.b=new fU(r.c.length),M7e(e,r)}function o0n(e){if(e.b<=0)throw ue(new Gl);return--e.b,e.a-=e.c.c,St(e.a)}function c0n(e){var t;if(!e.a)throw ue(new Crt);return t=e.a,e.a=ua(e.a),t}function l0n(e){for(;!e.a;)if(!htt(e.c,new tn(e)))return!1;return!0}function Nk(e){var t;return ui(e),Le(e,198)?(t=l(e,198),t):new gse(e)}function u0n(e){zq(),l(e.We((Yi(),y5)),174).Fc((Gh(),jB)),e.Ye(vpe,null)}function zq(){zq=Ee,j8t=new Cre,H8t=new Are,$8t=Kpn((Yi(),vpe),j8t,_b,H8t)}function Vq(){Vq=Ee,lOe=new j3e("LEAF_NUMBER",0),Hge=new j3e("NODE_SIZE",1)}function h0n(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Sd(e.d),e.e.a.c=Ue(xr,Ht,1,0,5,1)}function Xce(e){e.a=Ue(ri,Pi,25,e.b+1,15,1),e.c=Ue(ri,Pi,25,e.b,15,1),e.d=0}function f0n(e,t){e.a.ue(t.d,e.b)>0&&(wt(e.c,new A5e(t.c,t.d,e.d)),e.b=t.d)}function k_e(e,t){if(e.g==null||t>=e.i)throw ue(new Zae(t,e.i));return e.g[t]}function Eot(e,t,n){if(QE(e,n),n!=null&&!e.wj(n))throw ue(new Zse);return n}function Tot(e){var t;if(e.Ek())for(t=e.i-1;t>=0;--t)Re(e,t);return K6e(e)}function d0n(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function g0n(e,t){var n,r;return Wst(t),n=(r=e.slice(0,t),T_e(r,e)),n.length=t,n}function OE(e,t,n,r){var i;r=(M6(),r||pCe),i=e.slice(t,n),z8e(i,e,t,n,-t,r)}function id(e,t,n,r,i){return t<0?Cy(e,n,r):l(n,66).Nj().Pj(e,e.yh(),t,r,i)}function p0n(e){return Le(e,172)?""+l(e,172).a:e==null?null:wl(e)}function m0n(e){return Le(e,172)?""+l(e,172).a:e==null?null:wl(e)}function Sot(e,t){if(t.a)throw ue(new Tl(Svt));Ga(e.a,t),t.a=e,!e.j&&(e.j=t)}function E_e(e,t){Qae.call(this,t.rd(),t.qd()&-16449),Xn(e),this.a=e,this.c=t}function Cot(e,t){var n,r;return r=t/e.c.Hd().gc()|0,n=t%e.c.Hd().gc(),Pk(e,r,n)}function Uh(){Uh=Ee,Ag=new Tae(e8,0),fb=new Tae(P9,1),w1=new Tae(t8,2)}function qq(){qq=Ee,P1e=new Gz("All",0),xCe=new yJe,kCe=new OJe,ECe=new _Je}function Aot(){Aot=Ee,Vyt=Ii((qq(),pe(de(rK,1),vt,297,0,[P1e,xCe,kCe,ECe])))}function Mot(){Mot=Ee,P4t=Ii((KE(),pe(de(D4t,1),vt,405,0,[Vy,i5,r5,b_])))}function Lot(){Lot=Ee,N3t=Ii((vy(),pe(de(P3t,1),vt,406,0,[UR,qR,z1e,V1e])))}function Iot(){Iot=Ee,B3t=Ii((Vk(),pe(de(R3t,1),vt,323,0,[WR,GR,KR,YR])))}function Oot(){Oot=Ee,$3t=Ii((xM(),pe(de(j3t,1),vt,394,0,[XR,cK,lK,QR])))}function Dot(){Dot=Ee,ikt=Ii((l9(),pe(de(KIe,1),vt,393,0,[SY,ZL,yB,JL])))}function Pot(){Pot=Ee,J4t=Ii((xU(),pe(de(Z4t,1),vt,360,0,[f0e,NK,RK,nB])))}function Not(){Not=Ee,Ukt=Ii((JU(),pe(de(EOe,1),vt,340,0,[qge,xOe,kOe,_Oe])))}function Rot(){Rot=Ee,c5t=Ii((L0(),pe(de(o5t,1),vt,411,0,[d8,iT,sT,d0e])))}function Bot(){Bot=Ee,Q_t=Ii((I4(),pe(de(pge,1),vt,197,0,[wY,gge,D_,O_])))}function Fot(){Fot=Ee,P7t=Ii((_f(),pe(de(D7t,1),vt,396,0,[Gf,IPe,LPe,OPe])))}function jot(){jot=Ee,w7t=Ii((Rf(),pe(de(b7t,1),vt,285,0,[BB,fp,xb,RB])))}function $ot(){$ot=Ee,g7t=Ii((Vp(),pe(de(_pe,1),vt,218,0,[ype,NB,AT,L8])))}function Hot(){Hot=Ee,I7t=Ii((BU(),pe(de(MPe,1),vt,311,0,[Epe,SPe,APe,CPe])))}function zot(){zot=Ee,M7t=Ii((xf(),pe(de(vI,1),vt,374,0,[HB,nw,$B,x5])))}function Vot(){Vot=Ee,MG(),dNe=ma,REt=Oa,gNe=new h6(ma),BEt=new h6(Oa)}function tN(){tN=Ee,AMe=new C3e(Yp,0),UK=new C3e("IMPROVE_STRAIGHTNESS",1)}function v0n(e,t){return gE(),wt(e,new No(t,St(t.e.c.length+t.g.c.length)))}function b0n(e,t){return gE(),wt(e,new No(t,St(t.e.c.length+t.g.c.length)))}function T_e(e,t){return aN(t)!=10&&pe(tf(t),t.hm,t.__elementTypeId$,aN(t),e),e}function uh(e,t){var n;return n=vl(e,t,0),n==-1?!1:(Sm(e,n),!0)}function qot(e,t){var n;return n=l(Dk(e.e,t),387),n?(I5e(n),n.e):null}function DE(e){var t;return ml(e)&&(t=0-e,!isNaN(t))?t:Yv(YE(e))}function vl(e,t,n){for(;n<e.c.length;++n)if(_u(t,e.c[n]))return n;return-1}function Uot(e,t,n){var r;return qv(e),r=new Ys,r.a=t,e.a.Nb(new jQe(r,n)),r.a}function w0n(e){var t;return qv(e),t=Ue(Eo,Gc,25,0,15,1),m6(e.a,new Wt(t)),t}function Qce(e){var t,n;return n=l(Kt(e.j,0),11),t=l(re(n,(mt(),vs)),11),t}function S_e(e){var t;if(!fle(e))throw ue(new Gl);return e.e=1,t=e.d,e.d=null,t}function Zce(e,t){var n;this.f=e,this.b=t,n=l(Tr(e.b,t),283),this.c=n?n.b:null}function Got(){u1(),this.b=new si,this.f=new si,this.g=new si,this.e=new si}function Wot(e,t){this.a=Ue(up,jm,10,e.a.c.length,0,1),O0(e.a,this.a),this.b=t}function nN(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--l(Kt(e.c.a,t),10).p}function Jce(e){var t;t=e.Ai(),t!=null&&e.d!=-1&&l(t,92).Ng(e),e.i&&e.i.Fi()}function Uq(e){bV(this),this.g=e?pce(e,e.$d()):null,this.f=e,hq(this),this._d()}function Bp(e,t,n,r,i,a,h){cle.call(this,t,r,i,a,h),this.c=e,this.b=n}function _4(e,t,n,r,i){return Xn(e),Xn(t),Xn(n),Xn(r),Xn(i),new n6e(e,t,r)}function rN(e,t){if(t<0)throw ue(new Qc(Qbt+t));return Bst(e,t+1),Kt(e.j,t)}function Kot(e,t,n,r){if(!e)throw ue(new Jn(PM(t,pe(de(xr,1),Ht,1,5,[n,r]))))}function Gq(e,t){return _u(t,Kt(e.f,0))||_u(t,Kt(e.f,1))||_u(t,Kt(e.f,2))}function y0n(e,t){wk(l(l(e.f,33).We((Yi(),lI)),98))&&yvn(sce(l(e.f,33)),t)}function iN(e,t){var n,r;return n=l(t,675),r=n.Oh(),!r&&n.Rh(r=new UZe(e,t)),r}function tl(e,t){var n,r;return n=l(t,677),r=n.pk(),!r&&n.tk(r=new hst(e,t)),r}function ef(e){return e.b||(e.b=new Cnt(e,Fc,e),!e.a&&(e.a=new TP(e,e))),e.b}function nM(){nM=Ee,J1e=new Cae("XY",0),Z1e=new Cae("X",1),e0e=new Cae("Y",2)}function hh(){hh=Ee,J1=new Sae("TOP",0),db=new Sae(P9,1),y1=new Sae(UEe,2)}function Fp(){Fp=Ee,sB=new Pae(Yp,0),T_=new Pae("TOP",1),p8=new Pae(UEe,2)}function sN(){sN=Ee,wge=new M3e("INPUT_ORDER",0),yge=new M3e("PORT_DEGREE",1)}function PE(){PE=Ee,KSe=qu(af,af,524287),Lyt=qu(0,0,mR),YSe=$ce(1),$ce(2),XSe=$ce(0)}function C_e(e,t,n){e.a.c=Ue(xr,Ht,1,0,5,1),uEn(e,t,n),e.a.c.length==0||zkn(e,t)}function Wq(e){var t,n;return n=e.length,t=Ue(md,bg,25,n,15,1),Xnt(e,0,n,t,0),t}function A_e(e){var t;return e.dh()||(t=Er(e.Tg())-e.Ah(),e.ph().bk(t)),e.Pg()}function M_e(e){var t;return t=m2(Kn(e,32)),t==null&&(Uu(e),t=m2(Kn(e,32))),t}function ele(e,t){var n;return n=Qs(e.d,t),n>=0?KU(e,n,!0,!0):Cy(e,t,!0)}function L_e(e,t){sA();var n,r;return n=Lk(e),r=Lk(t),!!n&&!!r&&!aft(n.k,r.k)}function _0n(e,t){dh(e,t==null||OV((Xn(t),t))||isNaN((Xn(t),t))?0:(Xn(t),t))}function x0n(e,t){gh(e,t==null||OV((Xn(t),t))||isNaN((Xn(t),t))?0:(Xn(t),t))}function k0n(e,t){gy(e,t==null||OV((Xn(t),t))||isNaN((Xn(t),t))?0:(Xn(t),t))}function E0n(e,t){dy(e,t==null||OV((Xn(t),t))||isNaN((Xn(t),t))?0:(Xn(t),t))}function Yot(e){(this.q?this.q:(In(),In(),lp)).Ac(e.q?e.q:(In(),In(),lp))}function T0n(e,t){return Le(t,99)&&l(t,18).Bb&wc?new Jae(t,e):new GE(t,e)}function S0n(e,t){return Le(t,99)&&l(t,18).Bb&wc?new Jae(t,e):new GE(t,e)}function Xot(e,t){QCe=new Ea,F3t=t,TL=e,l(TL.b,65),m_e(TL,QCe,null),Vpt(TL)}function tle(e,t,n){var r;return r=e.g[t],MA(e,t,e.oi(t,n)),e.gi(t,n,r),e.ci(),r}function Kq(e,t){var n;return n=e.Xc(t),n>=0?(e.$c(n),!0):!1}function nle(e){var t;return e.d!=e.r&&(t=Md(e),e.e=!!t&&t.Cj()==Iwt,e.d=t),e.e}function rle(e,t){var n;for(ui(e),ui(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function uy(e,t){var n;return n=l(Tr(e.e,t),387),n?($Je(e,n),n.e):null}function Qot(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function Al(e,t){var n,r;return E2(e),r=new f_e(t,e.a),n=new gtt(r),new jn(e,n)}function x4(e,t){var n=e.a[t],r=(xle(),M1e)[typeof n];return r?r(n):Pxe(typeof n)}function C0n(e){switch(e.g){case 0:return as;case 1:return-1;default:return 0}}function A0n(e){return Qke(e,(PE(),XSe))<0?-qsn(YE(e)):e.l+e.m*Jk+e.h*O2}function aN(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function ile(e){var t;return t=e.b.c.length==0?null:Kt(e.b,0),t!=null&&gle(e,0),t}function Zot(e,t){for(;t[0]<e.length&&lg(` \r
`,mh($o(e,t[0])))>=0;)++t[0]}function oN(e,t){this.e=t,this.a=Ult(e),this.a<54?this.f=cy(e):this.c=DN(e)}function Jot(e,t,n,r){rs(),Pw.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function Jg(e,t,n){var r,i;for(r=10,i=0;i<n-1;i++)t<r&&(e.a+="0"),r*=10;e.a+=t}function M0n(e,t){var n;for(n=0;e.e!=e.i.gc();)kln(t,Ur(e),St(n)),n!=as&&++n}function I_e(e,t){var n;for(++e.d,++e.c[t],n=t+1;n<e.a.length;)++e.a[n],n+=n&-n}function L0n(e,t){var n,r,i;i=t.c.i,n=l(Tr(e.f,i),57),r=n.d.c-n.e.c,txe(t.a,r,0)}function cN(e){var t,n;return t=e+128,n=(int(),ZSe)[t],!n&&(n=ZSe[t]=new $se(e)),n}function Li(e,t){var n;return Xn(t),n=e[":"+t],N0n(!!n,pe(de(xr,1),Ht,1,5,[t])),n}function I0n(e){var t,n;if(e.b){n=null;do t=e.b,e.b=null,n=Xdt(t,n);while(e.b);e.b=n}}function O0n(e){var t,n;if(e.a){n=null;do t=e.a,e.a=null,n=Xdt(t,n);while(e.a);e.a=n}}function ect(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function D0n(e,t){var n,r;for(r=t.c,n=r+1;n<=t.f;n++)e.a[n]>e.a[r]&&(r=n);return r}function P0n(e,t){var n;return n=yy(e.e.c,t.e.c),n==0?ja(e.e.d,t.e.d):n}function O6(e,t){return t.e==0||e.e==0?Q9:(m9(),she(e,t))}function N0n(e,t){if(!e)throw ue(new Jn(F_n("Enum constant undefined: %s",t)))}function rM(){rM=Ee,B4t=new e6,F4t=new Cx,N4t=new wv,R4t=new Qb,j4t=new oee}function Yq(){Yq=Ee,ICe=new _3e("BY_SIZE",0),F1e=new _3e("BY_SIZE_AND_SHAPE",1)}function Xq(){Xq=Ee,Y1e=new x3e("EADES",0),fK=new x3e("FRUCHTERMAN_REINGOLD",1)}function lN(){lN=Ee,VK=new S3e("READING_DIRECTION",0),TMe=new S3e("ROTATION",1)}function tct(){tct=Ee,_5t=Ii((A2(),pe(de(EMe,1),vt,335,0,[T0e,kMe,S0e,OL,IL])))}function nct(){nct=Ee,Z_t=Ii((kM(),pe(de(TIe,1),vt,315,0,[EIe,mge,vge,UL,GL])))}function rct(){rct=Ee,u5t=Ii((W6(),pe(de(l5t,1),vt,363,0,[FK,$K,HK,jK,BK])))}function ict(){ict=Ee,P5t=Ii((cd(),pe(de(tLe,1),vt,163,0,[uB,BL,mb,FL,c5])))}function sct(){sct=Ee,w8t=Ii((VN(),pe(de(YOe,1),vt,316,0,[GOe,Qge,KOe,Zge,WOe])))}function act(){act=Ee,z8t=Ii((K1(),pe(de(Ym,1),vt,175,0,[hr,mo,Og,Q2,Km])))}function oct(){oct=Ee,d8t=Ii((y9(),pe(de(f8t,1),vt,355,0,[N_,T8,sI,iI,aI])))}function cct(){cct=Ee,M4t=Ii((vc(),pe(de(_Ae,1),vt,356,0,[Mg,gb,Ku,Au,hl])))}function lct(){lct=Ee,f7t=Ii((Dc(),pe(de(uI,1),vt,103,0,[hp,x1,jd,Zp,Jp])))}function uct(){uct=Ee,_7t=Ii((H6(),pe(de(gI,1),vt,249,0,[kb,FB,_Pe,dI,xPe])))}function hct(){hct=Ee,E7t=Ii((Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])))}function sle(e,t){var n;return n=l(Tr(e.a,t),134),n||(n=new Ew,ds(e.a,t,n)),n}function fct(e){var t;return t=l(re(e,(mt(),Gy)),305),t?t.a==e:!1}function dct(e){var t;return t=l(re(e,(mt(),Gy)),305),t?t.i==e:!1}function gct(e,t){return Xn(t),Q5e(e),e.d.Ob()?(t.td(e.d.Pb()),!0):!1}function Qq(e){return nu(e,as)>0?as:nu(e,Jo)<0?Jo:li(e)}function k4(e){return e<3?(Pf(e,cvt),e+1):e<UM?Sa(e/.75+1):as}function Rn(e,t){var n;return n=(e.i==null&&mg(e),e.i),t>=0&&t<n.length?n[t]:null}function U1(e,t,n){var r;if(t==null)throw ue(new GC);return r=Dp(e,t),r1n(e,t,n),r}function pct(e){return e.a>=-.01&&e.a<=N0&&(e.a=0),e.b>=-.01&&e.b<=N0&&(e.b=0),e}function mct(e,t){return t==(Eoe(),Eoe(),$yt)?e.toLocaleLowerCase():e.toLowerCase()}function O_e(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(Lp(e),e.o)}function nl(e){var t,n;n=(t=new nae,t),fi((!e.q&&(e.q=new _t(Ud,e,11,10)),e.q),n)}function R0n(e,t){var n;return n=t>0?t-1:t,uXe(Xrn(Hct(L5e(new Y7,n),e.n),e.j),e.k)}function B0n(e,t,n,r){var i;e.j=-1,t7e(e,N8e(e,t,n),(Sc(),i=l(t,66).Mj(),i.Ok(r)))}function vct(e){this.g=e,this.f=new yt,this.a=v.Math.min(this.g.c.c,this.g.d.c)}function bct(e){this.b=new yt,this.a=new yt,this.c=new yt,this.d=new yt,this.e=e}function wct(e,t){this.a=new si,this.e=new si,this.b=(fM(),bY),this.c=e,this.b=t}function yct(e,t,n){LV.call(this),D_e(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function _ct(e){this.d=e,this.c=e.c.vc().Kc(),this.b=null,this.a=null,this.e=(xz(),S1e)}function hy(e){if(e<0)throw ue(new Jn("Illegal Capacity: "+e));this.g=this.ri(e)}function F0n(e,t){if(0>e||e>t)throw ue(new Gye("fromIndex: 0, toIndex: "+e+PEe+t))}function j0n(e){var t;if(e.a==e.b.a)throw ue(new Gl);return t=e.a,e.c=t,e.a=e.a.e,t}function Zq(e){var t;o4(!!e.c),t=e.c.a,sd(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function Jq(e,t){var n;return E2(e),n=new Vrt(e,e.a.rd(),e.a.qd()|4,t),new jn(e,n)}function $0n(e,t){var n,r;return n=l(A4(e.d,t),14),n?(r=t,e.e.pc(r,n)):null}function eU(e,t){var n,r;for(r=e.Kc();r.Ob();)n=l(r.Pb(),70),ut(n,(mt(),w8),t)}function H0n(e){var t;return t=ot(Lt(re(e,(Nt(),qm)))),t<0&&(t=0,ut(e,qm,t)),t}function z0n(e,t,n){var r;r=v.Math.max(0,e.b/2-.5),TM(n,r,1),wt(t,new UQe(n,r))}function V0n(e,t,n){var r;return r=e.a.e[l(t.a,10).p]-e.a.e[l(n.a,10).p],Sa(DP(r))}function xct(e,t,n,r,i,a){var h;h=Hce(r),ic(h,i),So(h,a),En(e.a,r,new DV(h,t,n.f))}function kct(e,t){var n;if(n=JN(e.Tg(),t),!n)throw ue(new Jn(ub+t+Vde));return n}function E4(e,t){var n;for(n=e;ua(n);)if(n=ua(n),n==t)return!0;return!1}function q0n(e,t){var n,r,i;for(r=t.a.cd(),n=l(t.a.dd(),14).gc(),i=0;i<n;i++)e.td(r)}function fh(e,t){var n,r,i,a;for(Xn(t),r=e.c,i=0,a=r.length;i<a;++i)n=r[i],t.td(n)}function sd(e,t){var n;return n=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function U0n(e,t){return t&&e.b[t.g]==t?(la(e.b,t.g,null),--e.c,!0):!1}function Ect(e,t){return!!oM(e,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))))}function G0n(e,t){wk(l(re(l(e.e,10),(Nt(),ba)),98))&&(In(),fo(l(e.e,10).j,t))}function D_e(e){e.b=(Uh(),fb),e.f=(hh(),db),e.d=(Pf(2,U4),new Nu(2)),e.e=new Qo}function G1(){G1=Ee,Hl=new Eae("BEGIN",0),$u=new Eae(P9,1),zl=new Eae("END",2)}function A0(){A0=Ee,ST=new Kae(P9,0),_5=new Kae("HEAD",1),CT=new Kae("TAIL",2)}function W0n(){return v9(),pe(de(uX,1),vt,237,0,[Ape,cX,lX,oX,Cpe,aX,sX,Spe])}function K0n(){return Bm(),pe(de(V8t,1),vt,277,0,[pDe,tc,Xl,ET,fl,wa,S8,z0])}function Y0n(){return _G(),pe(de(mMe,1),vt,270,0,[m0e,w0e,p0e,x0e,b0e,v0e,_0e,y0e])}function X0n(){return Q6(),pe(de(LIe,1),vt,260,0,[yY,pB,mB,CIe,AIe,SIe,MIe,_Y])}function Tct(){Tct=Ee,x7t=Ii((Ao(),pe(de(kPe,1),vt,98,0,[Eb,V0,MT,tw,gp,Iu])))}function Sct(){Sct=Ee,aK=(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])).length,$1e=aK}function tU(e){this.b=(ui(e),new Ah(e)),this.a=new yt,this.d=new yt,this.e=new Qo}function Q0n(e){var t;return t=v.Math.sqrt(e.a*e.a+e.b*e.b),t>0&&(e.a/=t,e.b/=t),e}function Df(e){var t;return e.w?e.w:(t=Jfn(e),t&&!t.kh()&&(e.w=t),t)}function Z0n(e){var t;return e==null?null:(t=l(e,190),Jyn(t,t.length))}function Re(e,t){if(e.g==null||t>=e.i)throw ue(new Zae(t,e.i));return e.li(t,e.g[t])}function J0n(e){var t,n;for(t=e.a.d.j,n=e.c.d.j;t!=n;)p1(e.b,t),t=IU(t);p1(e.b,t)}function egn(e){var t;for(t=0;t<e.c.length;t++)(Un(t,e.c.length),l(e.c[t],11)).p=t}function tgn(e,t,n){var r,i,a;for(i=t[n],r=0;r<i.length;r++)a=i[r],e.e[a.c.p][a.p]=r}function ale(e,t){var n,r,i,a;for(r=e.d,i=0,a=r.length;i<a;++i)n=r[i],_0(e.g,n).a=t}function T4(e,t){var n,r;for(r=$i(e,0);r.b!=r.d.c;)n=l(ji(r),8),xs(n,t);return e}function ngn(e,t){var n;return n=xo(Fl(l(Tr(e.g,t),8)),s4e(l(Tr(e.f,t),460).b)),n}function fy(e){var t;return Ice(e.e,e),kr(e.b),e.c=e.a,t=l(e.a.Pb(),42),e.b=lxe(e),t}function m2(e){var t;return RA(e==null||Array.isArray(e)&&(t=aN(e),!(t>=14&&t<=16))),e}function Cct(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function Act(e,t,n){var r,i;r=t;do i=ot(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function NE(e,t){var n,r;r=e.a,n=Pmn(e,t,null),r!=t&&!e.e&&(n=S9(e,t,n)),n&&n.Fi()}function P_e(e,t){return y0(),g1(sb),v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)}function N_e(e,t){return y0(),g1(sb),v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)}function rgn(e,t){return nb(),ah(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function D6(e,t){return tin(aM(e,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))))}function Mct(){Mct=Ee,q4t=Ii((gr(),pe(de(o0e,1),vt,267,0,[za,po,La,Mu,kf,j0])))}function Lct(){Lct=Ee,Q8t=Ii((P4(),pe(de(cpe,1),vt,291,0,[ope,LB,MB,ape,CB,AB])))}function Ict(){Ict=Ee,U8t=Ii((ep(),pe(de(bDe,1),vt,248,0,[ipe,TB,SB,UY,VY,qY])))}function Oct(){Oct=Ee,v5t=Ii((Uk(),pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__])))}function Dct(){Dct=Ee,A5t=Ii((g9(),pe(de($Me,1),vt,275,0,[DL,RMe,jMe,FMe,BMe,NMe])))}function Pct(){Pct=Ee,C5t=Ii((HN(),pe(de(PMe,1),vt,274,0,[GK,IMe,DMe,LMe,OMe,D0e])))}function Nct(){Nct=Ee,Y_t=Ii((oG(),pe(de(_Ie,1),vt,313,0,[fge,wIe,hge,bIe,yIe,vY])))}function Rct(){Rct=Ee,T5t=Ii((hG(),pe(de(CMe,1),vt,276,0,[M0e,A0e,I0e,L0e,O0e,qK])))}function Bct(){Bct=Ee,akt=Ii((MM(),pe(de(skt,1),vt,327,0,[CY,Age,Lge,Mge,Ige,Cge])))}function Fct(){Fct=Ee,k7t=Ii((Gh(),pe(de(JY,1),vt,273,0,[Tb,tm,jB,mI,pI,I8])))}function jct(){jct=Ee,p7t=Ii((lG(),pe(de(gPe,1),vt,312,0,[xpe,hPe,dPe,lPe,fPe,uPe])))}function ign(){return F4(),pe(de(Bc,1),vt,93,0,[k1,em,E1,S1,dp,Hd,Vf,T1,$d])}function nU(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,0,n,e.a))}function rU(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,1,n,e.b))}function RE(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,3,n,e.b))}function dy(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,3,n,e.f))}function gy(e,t){var n;n=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,4,n,e.g))}function dh(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,5,n,e.i))}function gh(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,6,n,e.j))}function BE(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,1,n,e.j))}function FE(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,4,n,e.c))}function jE(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&us(e,new y4(e,2,n,e.k))}function ole(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&us(e,new Pce(e,2,n,e.d))}function Mm(e,t){var n;n=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&us(e,new Pce(e,4,n,e.s))}function S4(e,t){var n;n=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&us(e,new Pce(e,5,n,e.t))}function $E(e,t){var n;n=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,5,n,t))}function uN(e,t){var n;return n=l(Tr((Vz(),hX),e),55),n?n.xj(t):Ue(xr,Ht,1,t,5,1)}function jp(e,t){var n,r;return n=t in e.a,n&&(r=Dp(e,t).he(),r)?r.a:null}function sgn(e,t){var n,r,i;return n=(r=(Hw(),i=new fC,i),t&&k7e(r,t),r),q_e(n,e),n}function $ct(e,t,n){if(QE(e,n),!e.Bk()&&n!=null&&!e.wj(n))throw ue(new Zse);return n}function Hct(e,t){return e.n=t,e.n?(e.f=new yt,e.e=new yt):(e.f=null,e.e=null),e}function _i(e,t,n,r,i,a){var h;return h=Joe(e,t),Vct(n,h),h.i=i?8:0,h.f=r,h.e=i,h.g=a,h}function R_e(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function B_e(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function F_e(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function j_e(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function $_e(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function zct(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],Sot(e.a,n);return e}function M0(e){var t,n,r,i;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],ui(t);return new aJe(e)}function agn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,n=t.exec(e);return n&&n[1]||Uhe}function Vct(e,t){if(e){t.n=e;var n=hfn(t);if(!n){YW[e]=[t];return}n.gm=t}}function ogn(e,t,n){var r,i;return i=e.length,r=v.Math.min(n,i),q8e(e,0,t,0,r,!0),t}function qct(e,t,n){var r,i;for(i=t.Kc();i.Ob();)r=l(i.Pb(),79),Ga(e,l(n.Kb(r),33))}function cgn(){GXe();for(var e=y1e,t=0;t<arguments.length;t++)e.push(arguments[t])}function iM(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],xa(e,n,e.c.b,e.c)}function iU(e,t){e.b=v.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),wt(e.a,t)}function Uct(e){o4(e.c>=0),sbn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function H_e(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=EN(e.f)),e.c).e}function g1(e){if(!(e>=0))throw ue(new Jn("tolerance ("+e+") must be >= 0"));return e}function HE(){return npe||(npe=new Igt,F6(npe,pe(de(v_,1),Ht,130,0,[new Ev]))),npe}function Oc(){Oc=Ee,WL=new Bae(XM,0),Kh=new Bae("INPUT",1),Hu=new Bae("OUTPUT",2)}function sU(){sU=Ee,_Me=new Iae("ARD",0),zK=new Iae("MSD",1),E0e=new Iae("MANUAL",2)}function py(){py=Ee,bB=new zae("BARYCENTER",0),YL=new zae(pbt,1),xY=new zae(mbt,2)}function hN(e,t){var n;if(n=e.gc(),t<0||t>n)throw ue(new h4(t,n));return new s5e(e,t)}function Gct(e,t){var n;return Le(t,42)?e.c.Mc(t):(n=eue(e,t),$U(e,t),n)}function qc(e,t,n){return k2(e,t),Ru(e,n),Mm(e,0),S4(e,1),Dm(e,!0),Om(e,!0),e}function Pf(e,t){if(e<0)throw ue(new Jn(t+" cannot be negative but was: "+e));return e}function Wct(e,t){var n,r;for(n=0,r=e.gc();n<r;++n)if(_u(t,e.Xb(n)))return n;return-1}function aU(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=l(n.Pb(),14),t.$b();e.c.$b(),e.d=0}function lgn(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],Ynt(t,t.length,null)}function z_e(e){var t,n;if(e==0)return 32;for(n=0,t=1;!(t&e);t<<=1)++n;return n}function ugn(e){var t,n;for(n=new M(Dft(e));n.a<n.c.c.length;)t=l(se(n),680),t.Gf()}function Kct(e){c3e(),this.g=new si,this.f=new si,this.b=new si,this.c=new ay,this.i=e}function V_e(){this.f=new Qo,this.d=new Iye,this.c=new Qo,this.a=new yt,this.b=new yt}function Yct(e,t,n,r){this.rj(),this.a=t,this.b=e,this.c=null,this.c=new ott(this,t,n,r)}function cle(e,t,n,r,i){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function Xct(){l4e.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=b1}function hgn(){return sf(),pe(de(TPe,1),vt,259,0,[LT,VB,eX,bI,tX,rX,nX,kpe,zB])}function fgn(){return kG(),pe(de(KCe,1),vt,250,0,[WCe,VCe,qCe,zCe,j1e,GCe,UCe,HCe,$Ce])}function Qct(){Qct=Ee,Iyt=pe(de(ri,1),Pi,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Zct(){Zct=Ee,dxt=ss(ss(ss(new eo,(vc(),Mg),(Mc(),AL)),gb,rT),Ku,nT)}function Jct(){Jct=Ee,gxt=ss(ss(ss(new eo,(vc(),Mg),(Mc(),AL)),gb,rT),Ku,nT)}function elt(){elt=Ee,pxt=ss(ss(ss(new eo,(vc(),Mg),(Mc(),AL)),gb,rT),Ku,nT)}function tlt(){tlt=Ee,bxt=Vh(ss(ss(new eo,(vc(),Ku),(Mc(),CK)),Au,xK),hl,SK)}function Rk(){Rk=Ee,g8=new Lae("LAYER_SWEEP",0),rB=new Lae(Gfe,1),wMe=new Lae(Yp,2)}function dgn(e,t){var n,r;return n=e.c,r=t.e[e.p],r>0?l(Kt(n.a,r-1),10):null}function sM(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,2,n,e.k))}function oU(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,8,n,e.f))}function cU(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,7,n,e.i))}function q_e(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,8,n,e.a))}function U_e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,0,n,e.b))}function G_e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,0,n,e.b))}function W_e(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,1,n,e.c))}function K_e(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,1,n,e.c))}function lle(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,4,n,e.c))}function Y_e(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,1,n,e.d))}function ule(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,2,n,e.D))}function hle(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&hle(e.i,t/e.r*e.i.d))}function ggn(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new PYe:new LD,e.c=Lxn(r,e.b,e.a)}function nlt(e,t){return Gp(e.e,t)?(Sc(),nle(t)?new $V(t,e):new vP(t,e)):new GZe(t,e)}function lU(e,t){return ein(oM(e.a,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))))}function pgn(e,t,n){return _4(e,new Tt(t),new wo,new Ct(n),pe(de(of,1),vt,132,0,[]))}function mgn(e){var t,n;return 0>e?new o3e:(t=e+1,n=new Sat(t,e),new $4e(null,n))}function vgn(e,t){In();var n;return n=new lk(1),_o(e)?Jc(n,e,t):Gu(n.f,e,t),new W(n)}function bgn(e,t){var n,r;return n=e.o+e.p,r=t.o+t.p,n<r?-1:n==r?0:1}function wgn(e){var t;return t=re(e,(mt(),vs)),Le(t,160)?pht(l(t,160)):null}function rlt(e){var t;return e=v.Math.max(e,2),t=wxe(e),e>t?(t<<=1,t>0?t:UM):t}function fle(e){switch(v4e(e.e!=3),e.e){case 2:return!1;case 0:return!0}return E1n(e)}function ilt(e,t){var n;return Le(t,8)?(n=l(t,8),e.a==n.a&&e.b==n.b):!1}function dle(e,t,n){var r,i,a;return a=t>>5,i=t&31,r=Wa(d4(e.n[n][a],li(Ip(i,1))),3),r}function ygn(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=l(r.Pb(),42),iG(e,n.cd(),n.dd())}function _gn(e,t){var n;n=new Ea,l(t.b,65),l(t.b,65),l(t.b,65),fh(t.a,new m5e(e,n,t))}function X_e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,21,n,e.b))}function Q_e(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,11,n,e.d))}function uU(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,13,n,e.j))}function slt(e,t,n){var r,i,a;for(a=e.a.length-1,i=e.b,r=0;r<n;i=i+1&a,++r)la(t,r,e.a[i])}function p1(e,t){var n;return Xn(t),n=t.g,e.b[n]?!1:(la(e.b,n,t),++e.c,!0)}function alt(e,t){var n;return n=t==null?-1:vl(e.b,t,0),n<0?!1:(gle(e,n),!0)}function gle(e,t){var n;n=Sm(e.b,e.b.c.length-1),t<e.b.c.length&&(rd(e.b,t,n),y1t(e,t))}function xgn(e,t){(Pq(),F0?null:t.c).length==0&&Ret(t,new it),Jc(e.a,F0?null:t.c,t)}function kgn(e,t){Zr(t,"Hierarchical port constraint processing",1),Ibn(e),OTn(e),Br(t)}function Egn(e,t){var n,r;for(r=t.Kc();r.Ob();)n=l(r.Pb(),266),e.b=!0,Ga(e.e,n),n.b=e}function hU(e,t){var n,r;return n=1-t,r=e.a[n],e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function Tgn(e,t){var n,r;return n=l(re(e,(Nt(),p5)),8),r=l(re(t,p5),8),ja(n.b,r.b)}function olt(e){z5e.call(this),this.b=ot(Lt(re(e,(Nt(),_1)))),this.a=l(re(e,Qp),218)}function clt(e,t,n){U6e.call(this,e,t,n),this.a=new si,this.b=new si,this.d=new _We(this)}function llt(e){this.e=e,this.d=new Lz(k4(xk(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function fU(e){this.b=e,this.a=Ue(ri,Pi,25,e+1,15,1),this.c=Ue(ri,Pi,25,e,15,1),this.d=0}function ple(e,t,n){var r;return r=new yt,S7e(e,t,r,n,!0,!0),e.b=new fU(r.c.length),r}function ult(e,t){var n;return n=l(Tr(e.c,t),458),n||(n=new dYe,n.c=t,ds(e.c,n.c,n)),n}function mle(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function Z_e(e){var t;return e.b==null?(_m(),_m(),XB):(t=e.Lk()?e.Kk():e.Jk(),t)}function hlt(e){var t,n;for(n=new Ir(e);n.e!=n.i.gc();)t=l(Ur(n),33),dh(t,0),gh(t,0)}function Kv(){Kv=Ee,f8=new Xs(s9e),pK=new Xs(Xvt),CL=new Xs(Qvt),ZR=new Xs(Zvt)}function zE(){zE=Ee,eB=new k3e("TO_INTERNAL_LTR",0),c0e=new k3e("TO_INPUT_DIRECTION",1)}function dU(){dU=Ee,DY=new F3e("P1_NODE_PLACEMENT",0),kT=new F3e("P2_EDGE_ROUTING",1)}function my(){my=Ee,Uy=new Mae("START",0),pb=new Mae("MIDDLE",1),qy=new Mae("END",2)}function Bk(){Bk=Ee,h0e=new Ua("edgelabelcenterednessanalysis.includelabel",(er(),z2))}function Sgn(e,t){ya($s(new jn(null,new zn(new X3(e.b),1)),new pZe(e,t)),new vZe(e,t))}function flt(){this.c=new Oz(0),this.b=new Oz(Fbt),this.d=new Oz(Bbt),this.a=new Oz(Bfe)}function J_e(e){var t,n;for(n=e.c.a.ec().Kc();n.Ob();)t=l(n.Pb(),214),rye(t,new Pdt(t.e))}function dlt(e){var t,n;for(n=e.c.a.ec().Kc();n.Ob();)t=l(n.Pb(),214),Lse(t,new $nt(t.f))}function Ru(e,t){var n;n=e.zb,e.zb=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,1,n,e.zb))}function gU(e,t){var n;n=e.xb,e.xb=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,3,n,e.xb))}function pU(e,t){var n;n=e.yb,e.yb=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,2,n,e.yb))}function ha(e,t){var n,r;n=(r=new tae,r),n.n=t,fi((!e.s&&(e.s=new _t(_h,e,21,17)),e.s),n)}function Bs(e,t){var n,r;r=(n=new B4e,n),r.n=t,fi((!e.s&&(e.s=new _t(_h,e,21,17)),e.s),r)}function P6(e,t){var n,r;for(n=e.Pc(),OE(n,0,n.length,t),r=0;r<n.length;r++)e._c(r,n[r])}function mc(e,t){var n,r,i;for(Xn(t),n=!1,i=t.Kc();i.Ob();)r=i.Pb(),n=n|e.Fc(r);return n}function glt(e){var t,n,r;for(t=0,r=e.Kc();r.Ob();)n=r.Pb(),t+=n!=null?Ws(n):0,t=~~t;return t}function plt(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+Qot(e))}function vle(e,t){var n;return Le(t,14)?(n=l(t,14),e.Gc(n)):rle(e,l(ui(t),20).Kc())}function mlt(e,t,n){wct.call(this,t,n),this.d=Ue(up,jm,10,e.a.c.length,0,1),O0(e.a,this.d)}function Cgn(e){e.a=null,e.e=null,e.b.c=Ue(xr,Ht,1,0,5,1),e.f.c=Ue(xr,Ht,1,0,5,1),e.c=null}function vlt(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function blt(e,t){return ot(Lt(Xw(CN(ch(new jn(null,new zn(e.c.b,16)),new fz(e)),t))))}function exe(e,t){return ot(Lt(Xw(CN(ch(new jn(null,new zn(e.c.b,16)),new VC(e)),t))))}function Agn(e,t){Zr(t,gbt,1),ya(Al(new jn(null,new zn(e.b,16)),new dee),new gee),Br(t)}function Mgn(e,t){var n,r;return n=l(nn(e,(O4(),NY)),19),r=l(nn(t,NY),19),ah(n.a,r.a)}function txe(e,t,n){var r,i;for(i=$i(e,0);i.b!=i.d.c;)r=l(ji(i),8),r.a+=t,r.b+=n;return e}function aM(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&dg(t,r.g))return r;return null}function oM(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&dg(t,r.i))return r;return null}function Lgn(e,t,n){var r,i,a;for(r=0,i=0;i<n;i++)a=t[i],e[i]=a<<1|r,r=a>>>31;r!=0&&(e[n]=r)}function Ign(e,t){In();var n,r;for(r=new yt,n=0;n<e;++n)r.c[r.c.length]=t;return new mae(r)}function wlt(e){var t;return t=Est(e),Uw(t.a,0)?(iE(),iE(),wCe):(iE(),new M4e(t.b))}function ylt(e){var t;return t=Est(e),Uw(t.a,0)?(iE(),iE(),wCe):(iE(),new M4e(t.c))}function Ogn(e){var t;return t=Aq(e),Uw(t.a,0)?(Rz(),Rz(),Hyt):(Rz(),new det(t.b))}function Dgn(e){return e.b.c.i.k==(gr(),La)?l(re(e.b.c.i,(mt(),vs)),11):e.b.c}function _lt(e){return e.b.d.i.k==(gr(),La)?l(re(e.b.d.i,(mt(),vs)),11):e.b.d}function _a(e,t,n,r,i,a,h,d,b,E,C,P,$){return d1t(e,t,n,r,i,a,h,d,b,E,C,P,$),Ule(e,!1),e}function ad(e,t,n,r,i,a,h){Ai.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=S0(h)}function Pgn(e,t){typeof window===uR&&typeof window.$gwt===uR&&(window.$gwt[e]=t)}function Ngn(e,t){return KE(),e==Vy&&t==i5||e==i5&&t==Vy||e==b_&&t==r5||e==r5&&t==b_}function Rgn(e,t){return KE(),e==Vy&&t==r5||e==Vy&&t==b_||e==i5&&t==b_||e==i5&&t==r5}function xlt(e,t){return y0(),g1(N0),v.Math.abs(0-t)<=N0||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Bgn(){return Pc(),pe(de(P0e,1),vt,256,0,[WK,dd,PL,KK,fT,E_,NL,uT,hT,YK])}function ble(){ble=Ee,kI=new MYe,Ope=pe(de(_h,1),g_,170,0,[]),gEt=pe(de(Ud,1),ASe,59,0,[])}function mU(){mU=Ee,HIe=new $ae("NO",0),Ege=new $ae("GREEDY",1),$Ie=new $ae("LOOK_BACK",2)}function Lh(){Lh=Ee,LAe=new z3,AAe=new yv,MAe=new lee,CAe=new Zb,IAe=new uee,OAe=new hee}function Fgn(e){var t,n,r;for(r=0,n=new M(e.b);n.a<n.c.c.length;)t=l(se(n),29),t.p=r,++r}function jgn(e,t){var n;return n=y8e(e),Y8e(new en(n.c,n.d),new en(n.b,n.a),e.rf(),t,e.Hf())}function Eu(e,t){var n;return e.b?null:(n=R0n(e,e.g),zi(e.a,n),n.i=e,e.d=t,n)}function $gn(e,t,n){Zr(n,"DFS Treeifying phase",1),Yvn(e,t),U_n(e,t),e.a=null,e.b=null,Br(n)}function klt(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new yt,F4n(this),In(),fo(this.a,null)}function nxe(e){this.i=e.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),e.Qc(this.g))}function pa(e,t){RV.call(this,pEt,e,t),this.b=this,this.a=Wu(e.Tg(),Rn(this.e.Tg(),this.c))}function cM(e,t){var n,r;for(Xn(t),r=t.vc().Kc();r.Ob();)n=l(r.Pb(),42),e.zc(n.cd(),n.dd())}function Hgn(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!Iq(e,t,r.Pb()))return!1;return!0}function zgn(e,t,n,r,i){var a;return n&&(a=Qs(t.Tg(),e.c),i=n.gh(t,-1-(a==-1?r:a),null,i)),i}function Vgn(e,t,n,r,i){var a;return n&&(a=Qs(t.Tg(),e.c),i=n.ih(t,-1-(a==-1?r:a),null,i)),i}function Elt(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function Tlt(e){switch(e.g){case 2:return Mt(),nr;case 4:return Mt(),fr;default:return e}}function Slt(e){switch(e.g){case 1:return Mt(),Jr;case 3:return Mt(),Qn;default:return e}}function qgn(e){var t,n,r;return e.j==(Mt(),Qn)&&(t=t0t(e),n=Ch(t,fr),r=Ch(t,nr),r||r&&n)}function Ugn(e){var t,n;return t=l(e.e&&e.e(),9),n=l(c6e(t,t.length),9),new ed(t,n,t.length)}function Ggn(e,t){Zr(t,gbt,1),rke(fin(new Mr((iA(),new oce(e,!1,!1,new i$))))),Br(t)}function fN(e,t){return er(),_o(e)?u_e(e,wi(t)):a4(e)?zoe(e,Lt(t)):s4(e)?Xln(e,Xt(t)):e.wd(t)}function rxe(e,t){t.q=e,e.d=v.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),wt(e.a,t)}function VE(e,t){var n,r,i,a;return i=e.c,n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.a<n&&t.b>a&&t.b<r}function Clt(e,t,n,r){Le(e.Cb,179)&&(l(e.Cb,179).tb=null),Ru(e,n),t&&a5n(e,t),r&&e.xk(!0)}function ixe(e,t){var n;n=l(t,183),u2(n,"x",e.i),u2(n,"y",e.j),u2(n,Kde,e.g),u2(n,Wde,e.f)}function sxe(){sxe=Ee,wxt=ky(eJe(ss(ss(new eo,(vc(),Ku),(Mc(),CK)),Au,xK),hl),SK)}function Alt(){Alt=Ee,kxt=ky(eJe(ss(ss(new eo,(vc(),Ku),(Mc(),CK)),Au,xK),hl),SK)}function vU(){vU=Ee,Uge=new Uae(Yp,0),SOe=new Uae("POLAR_COORDINATE",1),TOe=new Uae("ID",2)}function bU(){bU=Ee,PIe=new Fae("EQUALLY",0),_ge=new Fae(WG,1),NIe=new Fae("NORTH_SOUTH",2)}function Mlt(){Mlt=Ee,J_t=Ii((Q6(),pe(de(LIe,1),vt,260,0,[yY,pB,mB,CIe,AIe,SIe,MIe,_Y])))}function Llt(){Llt=Ee,m5t=Ii((_G(),pe(de(mMe,1),vt,270,0,[m0e,w0e,p0e,x0e,b0e,v0e,_0e,y0e])))}function Ilt(){Ilt=Ee,q8t=Ii((Bm(),pe(de(V8t,1),vt,277,0,[pDe,tc,Xl,ET,fl,wa,S8,z0])))}function Olt(){Olt=Ee,W7t=Ii((v9(),pe(de(uX,1),vt,237,0,[Ape,cX,lX,oX,Cpe,aX,sX,Spe])))}function qE(){qE=Ee,SL=new Ua("debugSVG",(er(),!1)),ZCe=new Ua("overlapsExisted",!0)}function Dlt(e,t){return _4(new Ze(e),new gt(t),new tt(t),new yr,pe(de(of,1),vt,132,0,[]))}function Wgn(){var e;return N1e||(N1e=new rYe,e=new Fce(""),ssn(e,(sE(),TCe)),xgn(N1e,e)),N1e}function Kgn(e,t){var n;for(ui(t);e.Ob();)if(n=e.Pb(),!cxe(l(n,10)))return!1;return!0}function Plt(e,t){var n;return n=fhe(HE(),e),n?(Uc(t,(Yi(),TT),n),!0):!1}function Nf(e,t){var n;for(n=0;n<t.j.c.length;n++)l(rN(e,n),21).Gc(l(rN(t,n),14));return e}function Ygn(e,t){var n,r;for(r=new M(t.b);r.a<r.c.c.length;)n=l(se(r),29),e.a[n.p]=w3n(n)}function lM(e,t){var n,r;for(Xn(t),r=e.vc().Kc();r.Ob();)n=l(r.Pb(),42),t.Od(n.cd(),n.dd())}function wU(e,t){var n;Le(t,83)?(l(e.c,76).Xj(),n=l(t,83),ygn(e,n)):l(e.c,76).Wb(t)}function v2(e){return Le(e,152)?Ok(l(e,152)):Le(e,131)?l(e,131).a:Le(e,54)?new Rw(e):new n4(e)}function Xgn(e,t){return t<e.b.gc()?l(e.b.Xb(t),10):t==e.b.gc()?e.a:l(Kt(e.e,t-e.b.gc()-1),10)}function Nlt(e,t){e.a=sc(e.a,1),e.c=v.Math.min(e.c,t),e.b=v.Math.max(e.b,t),e.d=sc(e.d,t)}function Qgn(e,t){var n;Zr(t,"Edge and layer constraint edge reversal",1),n=ekn(e),m9n(n),Br(t)}function Rlt(e){var t;e.d==null?(++e.e,e.f=0,Uut(null)):(++e.e,t=e.d,e.d=null,e.f=0,Uut(t))}function Yv(e){var t;return t=e.h,t==0?e.l+e.m*Jk:t==Kp?e.l+e.m*Jk-O2:e}function Blt(e){return l4(),e.A.Hc((xf(),x5))&&!e.B.Hc((sf(),VB))?wht(e):null}function Zgn(e){if(Xn(e),e.length==0)throw ue(new cg("Zero length BigInteger"));hkn(this,e)}function N6(e){if(!e)throw ue(new pl("no calls to next() since the last call to remove()"))}function ph(e){return vR<e&&e<O2?e<0?v.Math.ceil(e):v.Math.floor(e):Yv(b_n(e))}function Jgn(e,t){var n,r,i;for(n=e.c.Ee(),i=t.Kc();i.Ob();)r=i.Pb(),e.a.Od(n,r);return e.b.Kb(n)}function us(e,t){var n,r,i;if(n=e.Jg(),n!=null&&e.Mg())for(r=0,i=n.length;r<i;++r)n[r].ui(t)}function UE(e,t){var n,r;for(n=e,r=cc(n).e;r;){if(n=r,n==t)return!0;r=cc(n).e}return!1}function epn(e,t,n){var r,i;return r=e.a.f[t.p],i=e.a.f[n.p],r<i?-1:r==i?0:1}function b2(e,t,n){var r,i;return i=l(NA(e.d,t),19),r=l(NA(e.b,n),19),!i||!r?null:Pk(e,i.a,r.a)}function tpn(e,t){var n,r;for(r=new Ir(e);r.e!=r.i.gc();)n=l(Ur(r),33),w0(n,n.i+t.b,n.j+t.d)}function npn(e,t){var n,r;for(r=new M(t);r.a<r.c.c.length;)n=l(se(r),70),wt(e.d,n),f3n(e,n)}function rpn(e,t){var n,r;r=new yt,n=t;do r.c[r.c.length]=n,n=l(Tr(e.k,n),17);while(n);return r}function Kn(e,t){var n;return e.Db&t?(n=kue(e,t),n==-1?e.Eb:m2(e.Eb)[n]):null}function $l(e,t){var n,r;return n=(r=new ND,r),n.G=t,!e.rb&&(e.rb=new g4(e,n0,e)),fi(e.rb,n),n}function Gi(e,t){var n,r;return n=(r=new wz,r),n.G=t,!e.rb&&(e.rb=new g4(e,n0,e)),fi(e.rb,n),n}function axe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return j6e(e,t)}function Flt(e){switch(e.a.g){case 1:return new RZe;case 3:return new Rft;default:return new sg}}function yU(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw ue(new Gl)}function ipn(e){TJe();var t;return NQe(Sge,e)||(t=new Rne,t.a=e,W4e(Sge,e,t)),l(Vc(Sge,e),635)}function Cd(e){var t,n,r,i;return i=e,r=0,i<0&&(i+=O2,r=Kp),n=Sa(i/Jk),t=Sa(i-n*Jk),qu(t,n,r)}function dN(e){var t,n,r;for(r=0,n=new uk(e.a);n.a<n.c.a.length;)t=JA(n),e.b.Hc(t)&&++r;return r}function spn(e){var t,n,r;for(t=1,r=e.Kc();r.Ob();)n=r.Pb(),t=31*t+(n==null?0:Ws(n)),t=~~t;return t}function apn(e,t){var n;this.c=e,n=new yt,Rke(e,n,t,e.b,null,!1,null,!1),this.a=new Ro(n,0)}function GE(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(Sc(),l(e,66).Oj()),this.k=Wu(t.e.Tg(),e)}function w2(e,t,n){this.b=(Xn(e),e),this.d=(Xn(t),t),this.e=(Xn(n),n),this.c=this.d+(""+this.e)}function jlt(){this.a=l(zt((X1(),dK)),19).a,this.c=ot(Lt(zt(gK))),this.b=ot(Lt(zt(X1e)))}function $lt(){$lt=Ee,y7t=Ii((F4(),pe(de(Bc,1),vt,93,0,[k1,em,E1,S1,dp,Hd,Vf,T1,$d])))}function Hlt(){Hlt=Ee,r3t=Ii((kG(),pe(de(KCe,1),vt,250,0,[WCe,VCe,qCe,zCe,j1e,GCe,UCe,HCe,$Ce])))}function vy(){vy=Ee,UR=new Xz("UP",0),qR=new Xz(Cfe,1),z1e=new Xz(e8,2),V1e=new Xz(t8,3)}function oxe(){oxe=Ee,ZIe=(xq(),Rge),ukt=new Nn(ITe,ZIe),QIe=(Sq(),Bge),lkt=new Nn(OTe,QIe)}function WE(){WE=Ee,N0e=new Dae("ONE_SIDED",0),R0e=new Dae("TWO_SIDED",1),iB=new Dae("OFF",2)}function zlt(e){e.r=new Ja,e.w=new Ja,e.t=new yt,e.i=new yt,e.d=new Ja,e.a=new pk,e.c=new si}function gN(e){this.n=new yt,this.e=new sa,this.j=new sa,this.k=new yt,this.f=new yt,this.p=e}function Vlt(e,t){e.c&&(Ggt(e,t,!0),ya(new jn(null,new zn(t,16)),new Yse(e))),Ggt(e,t,!1)}function opn(e,t,n){return e==(py(),xY)?new lne:rf(t,1)!=0?new Jye(n.length):new hXe(n.length)}function ll(e,t){var n;return t&&(n=t.Ve(),n.dc()||(e.q?cM(e.q,n):e.q=new JZe(n))),e}function qlt(e,t){var n;return n=e.a.get(t),n===void 0?++e.d:(Ian(e.a,t),--e.c,pq(e.b)),n}function cpn(e,t){var n,r,i;return n=t.p-e.p,n==0?(r=e.f.a*e.f.b,i=t.f.a*t.f.b,ja(r,i)):n}function lpn(e,t){var n,r;return n=e.f.c.length,r=t.f.c.length,n<r?-1:n==r?0:1}function upn(e){return e.b.c.length!=0&&l(Kt(e.b,0),70).a?l(Kt(e.b,0),70).a:uce(e)}function hpn(e){var t;if(e){if(t=e,t.dc())throw ue(new Gl);return t.Xb(t.gc()-1)}return Uit(e.Kc())}function Ult(e){var t;return nu(e,0)<0&&(e=S5e(e)),t=li($v(e,32)),64-(t!=0?YN(t):YN(li(e))+32)}function cxe(e){var t;return t=l(re(e,(mt(),Vl)),61),e.k==(gr(),La)&&(t==(Mt(),nr)||t==fr)}function fpn(e,t,n){var r,i;i=l(re(e,(Nt(),il)),74),i&&(r=new Th,Nle(r,0,i),T4(r,n),mc(t,r))}function _U(e,t,n){var r,i,a,h;h=cc(e),r=h.d,i=h.c,a=e.n,t&&(a.a=a.a-r.b-i.a),n&&(a.b=a.b-r.d-i.b)}function dpn(e,t){var n,r;return n=e.j,r=t.j,n!=r?n.g-r.g:e.p==t.p?0:n==(Mt(),Qn)?e.p-t.p:t.p-e.p}function gpn(e){var t,n;for(j9n(e),n=new M(e.d);n.a<n.c.c.length;)t=l(se(n),101),t.i&&K3n(t)}function uM(e,t,n,r,i){la(e.c[t.g],n.g,r),la(e.c[n.g],t.g,r),la(e.b[t.g],n.g,i),la(e.b[n.g],t.g,i)}function ppn(e,t,n,r){l(n.b,65),l(n.b,65),l(r.b,65),l(r.b,65),l(r.b,65),fh(r.a,new p5e(e,t,r))}function mpn(e,t){e.d==(Dc(),jd)||e.d==Jp?l(t.a,57).c.Fc(l(t.b,57)):l(t.b,57).c.Fc(l(t.a,57))}function wle(e,t,n,r){return n==1?(!e.n&&(e.n=new _t(_l,e,1,7)),lc(e.n,t,r)):A8e(e,t,n,r)}function pN(e,t){var n,r;return r=(n=new kD,n),Ru(r,t),fi((!e.A&&(e.A=new Sh(Qu,e,7)),e.A),r),r}function vpn(e,t,n){var r,i,a,h;return a=null,h=t,i=ly(h,Qde),r=new _Ze(e,n),a=(Rwn(r.a,r.b,i),i),a}function yle(e){var t;return(!e.a||!(e.Bb&1)&&e.a.kh())&&(t=Md(e),Le(t,148)&&(e.a=l(t,148))),e.a}function mN(e,t){var n,r;for(Xn(t),r=t.Kc();r.Ob();)if(n=r.Pb(),!e.Hc(n))return!1;return!0}function bpn(e,t){var n,r,i;return n=e.l+t.l,r=e.m+t.m+(n>>22),i=e.h+t.h+(r>>22),qu(n&af,r&af,i&Kp)}function Glt(e,t){var n,r,i;return n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22),qu(n&af,r&af,i&Kp)}function vN(e){var t;return e<128?(t=(ont(),eCe)[e],!t&&(t=eCe[e]=new lz(e)),t):new lz(e)}function ea(e){var t;return Le(e,78)?e:(t=e&&e.__java$exception,t||(t=new Nut(e),XKe(t)),t)}function bN(e){if(Le(e,186))return l(e,118);if(e)return null;throw ue(new ok(H2t))}function Wlt(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(hs(t,AU(e)))return!0;return!1}function lxe(e){return e.a.Ob()?!0:e.a!=e.d?!1:(e.a=new V6e(e.e.f),e.a.Ob())}function Fa(e,t){var n,r;return n=t.Pc(),r=n.length,r==0?!1:(x5e(e.c,e.c.length,n),!0)}function wpn(e,t,n){var r,i;for(i=t.vc().Kc();i.Ob();)r=l(i.Pb(),42),e.yc(r.cd(),r.dd(),n);return e}function Klt(e,t){var n,r;for(r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),70),ut(n,(mt(),w8),t)}function ypn(e,t,n){var r,i;for(i=new M(e.b);i.a<i.c.c.length;)r=l(se(i),33),w0(r,r.i+t,r.j+n)}function Ylt(e,t){if(!e)throw ue(new Jn(PM("value already present: %s",pe(de(xr,1),Ht,1,5,[t]))))}function Xlt(e,t){return!e||!t||e==t?!1:Oht(e.d.c,t.d.c+t.d.b)&&Oht(t.d.c,e.d.c+e.d.b)}function _pn(){return Pq(),F0?new Fce(null):J1t(Wgn(),"com.google.common.base.Strings")}function Qlt(e,t){var n;return n=Gg(t.a.gc()),ya(Jq(new jn(null,new zn(t,1)),e.i),new gZe(e,n)),n}function Zlt(e){var t,n;return n=(t=new kD,t),Ru(n,"T"),fi((!e.d&&(e.d=new Sh(Qu,e,11)),e.d),n),n}function uxe(e){var t,n,r,i;for(t=1,n=0,i=e.gc();n<i;++n)r=e.ki(n),t=31*t+(r==null?0:Ws(r));return t}function Jlt(e,t,n,r){var i;return GP(t,e.e.Hd().gc()),GP(n,e.c.Hd().gc()),i=e.a[t][n],la(e.a[t],n,r),i}function pe(e,t,n,r,i){return i.gm=e,i.hm=t,i.im=nt,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function xpn(e,t,n,r,i){return J6(),v.Math.min(lmt(e,t,n,r,i),lmt(n,r,e,t,AV(new en(i.a,i.b))))}function xU(){xU=Ee,f0e=new Zz(Yp,0),NK=new Zz(vbt,1),RK=new Zz(bbt,2),nB=new Zz("BOTH",3)}function L0(){L0=Ee,d8=new Jz(P9,0),iT=new Jz(e8,1),sT=new Jz(t8,2),d0e=new Jz("TOP",3)}function KE(){KE=Ee,Vy=new Qz("Q1",0),i5=new Qz("Q4",1),r5=new Qz("Q2",2),b_=new Qz("Q3",3)}function kU(){kU=Ee,Tge=new Hae("OFF",0),_T=new Hae("SINGLE_EDGE",1),v5=new Hae("MULTI_EDGE",2)}function wN(){wN=Ee,zY=new H3e("MINIMUM_SPANNING_TREE",0),fDe=new H3e("MAXIMUM_SPANNING_TREE",1)}function Fk(){Fk=Ee,F8t=new xre,B8t=new yre}function hxe(e){var t,n,r;for(t=new sa,r=$i(e.d,0);r.b!=r.d.c;)n=l(ji(r),188),zi(t,n.c);return t}function _le(e){var t,n,r,i;for(i=new yt,r=e.Kc();r.Ob();)n=l(r.Pb(),33),t=$4(n),Fa(i,t);return i}function kpn(e){var t;Ly(e,!0),t=Fm,so(e,(Nt(),bT))&&(t+=l(re(e,bT),19).a),ut(e,bT,St(t))}function eut(e,t,n){var r;qh(e.a),fh(n.i,new WWe(e)),r=new vV(l(Tr(e.a,t.b),65)),Hht(e,r,t),n.f=r}function Epn(e,t){var n,r;return n=e.c,r=t.e[e.p],r<n.a.c.length-1?l(Kt(n.a,r+1),10):null}function Tpn(e,t){var n,r;for(fq(t,"predicate"),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}function jk(e,t){var n,r;if(r=0,e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=T0(r,Ip(1,n));return r}function fxe(e){In();var t,n,r;for(r=0,n=e.Kc();n.Ob();)t=n.Pb(),r=r+(t!=null?Ws(t):0),r=r|0;return r}function dxe(e){var t,n;return n=(Hw(),t=new ig,t),e&&fi((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),n),n}function Spn(e){var t;return t=new De,t.a=e,t.b=Dpn(e),t.c=Ue(jt,dt,2,2,6,1),t.c[0]=plt(e),t.c[1]=plt(e),t}function gxe(e,t){switch(t){case 0:!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),e.o.c.$b();return}Hue(e,t)}function yN(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function tut(e){switch(e.g){case 1:return xb;case 2:return fp;case 3:return RB;default:return BB}}function Cpn(e){switch(l(re(e,(Nt(),Yu)),163).g){case 2:case 4:return!0;default:return!1}}function nut(){nut=Ee,M5t=Ii((Pc(),pe(de(P0e,1),vt,256,0,[WK,dd,PL,KK,fT,E_,NL,uT,hT,YK])))}function rut(){rut=Ee,L7t=Ii((sf(),pe(de(TPe,1),vt,259,0,[LT,VB,eX,bI,tX,rX,nX,kpe,zB])))}function iut(){iut=Ee,Ekt=ss(ky(ky(zz(ss(new eo,(l9(),ZL),(MM(),CY)),yB),Mge),Lge),JL,Ige)}function y2(){y2=Ee,C0e=new Oae(Yp,0),lT=new Oae("INCOMING_ONLY",1),k_=new Oae("OUTGOING_ONLY",2)}function xle(){xle=Ee,M1e={boolean:uin,number:wrn,string:yrn,object:v1t,function:v1t,undefined:Jnn}}function sut(e,t){NV(e>=0,"Negative initial capacity"),NV(t>=0,"Non-positive load factor"),qh(this)}function kle(e,t,n){return e>=128?!1:e<64?kA(Wa(Ip(1,e),n),0):kA(Wa(Ip(1,e-64),t),0)}function Apn(e,t){return!e||!t||e==t?!1:yy(e.b.c,t.b.c+t.b.b)<0&&yy(t.b.c,e.b.c+e.b.b)<0}function aut(e){var t,n,r;return n=e.n,r=e.o,t=e.d,new td(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function Mpn(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],fut(e,t,(Mt(),Jr)),fut(e,t,Qn)}function Lpn(e){var t,n,r,i;for(t=(e.j==null&&(e.j=(EE(),i=A1e.ce(e),zwn(i))),e.j),n=0,r=t.length;n<r;++n);}function YE(e){var t,n,r;return t=~e.l+1&af,n=~e.m+(t==0?1:0)&af,r=~e.h+(t==0&&n==0?1:0)&Kp,qu(t,n,r)}function Ipn(e,t){var n,r;return n=l(l(Tr(e.g,t.a),46).a,65),r=l(l(Tr(e.g,t.b),46).a,65),bpt(n,r)}function pxe(e,t,n){var r;if(r=e.gc(),t>r)throw ue(new h4(t,r));return e.hi()&&(n=kit(e,n)),e.Vh(t,n)}function _N(e,t,n){return n==null?(!e.q&&(e.q=new si),Dk(e.q,t)):(!e.q&&(e.q=new si),ds(e.q,t,n)),e}function ut(e,t,n){return n==null?(!e.q&&(e.q=new si),Dk(e.q,t)):(!e.q&&(e.q=new si),ds(e.q,t,n)),e}function out(e){var t,n;return n=new Nq,ll(n,e),ut(n,(Kv(),f8),e),t=new si,D8n(e,n,t),s9n(e,n,t),n}function Opn(e){J6();var t,n,r;for(n=Ue(ao,dt,8,2,0,1),r=0,t=0;t<2;t++)r+=.5,n[t]=d2n(r,e);return n}function cut(e,t){var n,r,i,a;for(n=!1,r=e.a[t].length,a=0;a<r-1;a++)i=a+1,n=n|Xvn(e,t,a,i);return n}function XE(e,t,n,r,i){var a,h;for(h=n;h<=i;h++)for(a=t;a<=r;a++)V6(e,a,h)||TG(e,a,h,!0,!1)}function lut(e,t){this.b=e,_6.call(this,(l(Re(rt((Vv(),Gn).o),10),18),t.i),t.g),this.a=(ble(),Ope)}function mxe(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function vxe(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function bxe(e,t,n){this.q=new v.Date,this.q.setFullYear(e+ab,t,n),this.q.setHours(0,0,0,0),BM(this,0)}function $p(){$p=Ee,bb=new Rae(Yp,0),IIe=new Rae("NODES_AND_EDGES",1),bge=new Rae("PREFER_EDGES",2)}function Dpn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+Qot(e))}function wxe(e){var t;if(e<0)return Jo;if(e==0)return 0;for(t=UM;!(t&e);t>>=1);return t}function uut(e){var t,n;return n=YN(e.h),n==32?(t=YN(e.m),t==32?YN(e.l)+32:t+20-10):n-12}function hM(e){var t;return t=e.a[e.b],t==null?null:(la(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function hut(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function EU(e,t,n){var r,i;return r=new Wce(t,n),i=new qt,e.b=ngt(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function fut(e,t,n){var r,i,a,h;for(h=gM(t,n),a=0,i=h.Kc();i.Ob();)r=l(i.Pb(),11),ds(e.c,r,St(a++))}function Xv(e){var t,n;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),81),t.g.c=-t.g.c-t.g.b;bG(e)}function Qv(e){var t,n;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),57),t.d.c=-t.d.c-t.d.b;x7e(e)}function yxe(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=Md(e),Le(t,88)&&(e.c=l(t,26))),e.c}function Ele(e){var t,n,r;t=~e.l+1&af,n=~e.m+(t==0?1:0)&af,r=~e.h+(t==0&&n==0?1:0)&Kp,e.l=t,e.m=n,e.h=r}function Ml(e){var t,n,r,i,a;for(t=new Qo,r=e,i=0,a=r.length;i<a;++i)n=r[i],t.a+=n.a,t.b+=n.b;return t}function _xe(e,t){In();var n,r,i,a,h;for(h=!1,r=t,i=0,a=r.length;i<a;++i)n=r[i],h=h|e.Fc(n);return h}function R6(e){J6();var t,n;for(n=-17976931348623157e292,t=0;t<e.length;t++)e[t]>n&&(n=e[t]);return n}function dut(e,t,n){var r;return r=new yt,S7e(e,t,r,(Mt(),fr),!0,!1),S7e(e,n,r,nr,!1,!1),r}function Tle(e,t,n){var r,i,a,h;return a=null,h=t,i=ly(h,"labels"),r=new IZe(e,n),a=(Q5n(r.a,r.b,i),i),a}function Ppn(e,t,n,r){var i;return i=d7e(e,t,n,r),!i&&(i=Nmn(e,n,r),i&&!n_(e,t,i))?null:i}function Npn(e,t,n,r){var i;return i=g7e(e,t,n,r),!i&&(i=zle(e,n,r),i&&!n_(e,t,i))?null:i}function gut(e,t){var n;for(n=0;n<e.a.a.length;n++)if(!l(unt(e.a,n),169).Lb(t))return!1;return!0}function Rpn(e,t,n){if(ui(t),n.Ob())for(G3e(t,nrt(n.Pb()));n.Ob();)G3e(t,e.a),G3e(t,nrt(n.Pb()));return t}function xxe(e){In();var t,n,r;for(r=1,n=e.Kc();n.Ob();)t=n.Pb(),r=31*r+(t!=null?Ws(t):0),r=r|0;return r}function Bpn(e,t,n,r,i){var a;return a=a7e(e,t),n&&Ele(a),i&&(e=w2n(e,t),r?hb=YE(e):hb=qu(e.l,e.m,e.h)),a}function Fpn(e,t){var n;try{t.Vd()}catch(r){if(r=ea(r),Le(r,78))n=r,e.c[e.c.length]=n;else throw ue(r)}}function put(e,t,n){var r,i;return Le(t,144)&&n?(r=l(t,144),i=n,e.a[r.b][i.b]+e.a[i.b][r.b]):0}function kxe(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return oke(e,t)}function jpn(e,t){switch(t.g){case 0:Le(e.b,631)||(e.b=new jlt);break;case 1:Le(e.b,632)||(e.b=new $tt)}}function $pn(e,t){for(;e.g==null&&!e.c?I6e(e):e.g==null||e.i!=0&&l(e.g[e.i-1],47).Ob();)Lin(t,pG(e))}function mut(e,t,n){e.g=zue(e,t,(Mt(),fr),e.b),e.d=zue(e,n,fr,e.b),!(e.g.c==0||e.d.c==0)&&Ndt(e)}function vut(e,t,n){e.g=zue(e,t,(Mt(),nr),e.j),e.d=zue(e,n,nr,e.j),!(e.g.c==0||e.d.c==0)&&Ndt(e)}function Hpn(e,t,n){return!nA($s(new jn(null,new zn(e.c,16)),new lt(new mZe(t,n)))).sd((i2(),J9))}function Sle(e){var t;return qv(e),t=new Ys,e.a.sd(t)?(lE(),new kz(Xn(t.a))):(lE(),lE(),nK)}function Exe(e){var t;return e.b<=0?!1:(t=lg("MLydhHmsSDkK",mh($o(e.c,0))),t>1||t>=0&&e.b<3)}function xN(e){var t,n,r;for(t=new Th,r=$i(e,0);r.b!=r.d.c;)n=l(ji(r),8),hE(t,0,new Zc(n));return t}function _2(e){var t,n;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),81),t.f.$b();prn(e.b,e),V0t(e)}function Ws(e){return _o(e)?Nm(e):a4(e)?oE(e):s4(e)?(Xn(e),e?1231:1237):G5e(e)?e.Hb():H5e(e)?Kw(e):T6e(e)}function tf(e){return _o(e)?jt:a4(e)?Mo:s4(e)?Ya:G5e(e)||H5e(e)?e.gm:e.gm||Array.isArray(e)&&de(Tyt,1)||Tyt}function but(e){switch(e.g){case 0:return new wre;default:throw ue(new Jn(EW+(e.f!=null?e.f:""+e.g)))}}function wut(e){switch(e.g){case 0:return new bre;default:throw ue(new Jn(EW+(e.f!=null?e.f:""+e.g)))}}function Txe(e,t,n){switch(t){case 0:!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),wU(e.o,n);return}Gue(e,t,n)}function Cle(e,t,n){this.g=e,this.e=new Qo,this.f=new Qo,this.d=new sa,this.b=new sa,this.a=t,this.c=n}function Ale(e,t,n,r){this.b=new yt,this.n=new yt,this.i=r,this.j=n,this.s=e,this.t=t,this.r=0,this.d=0}function x2(e){this.e=e,this.d=new J6e(this.e.g),this.a=this.d,this.b=lxe(this),this.$modCount=e.$modCount}function zpn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!QC(e.b))e.d=l(kk(e.b),47);else return null;return e.d}function Vpn(e){return wt(e.c,(Fk(),F8t)),N_e(e.a,ot(Lt(zt((Zle(),mY)))))?new Ure:new JWe(e)}function Sxe(e){switch(e.g){case 1:return Bbt;default:case 2:return 0;case 3:return Bfe;case 4:return Fbt}}function qpn(){rs();var e;return Fpe||(e=Jsn(ib("M",!0)),e=GV(ib("M",!1),e),Fpe=e,Fpe)}function Cxe(e,t){var n,r,i;for(i=e.b;i;){if(n=e.a.ue(t,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function Upn(e,t,n){var r,i;r=(er(),!!K3e(n)),i=l(t.xc(r),15),i||(i=new yt,t.zc(r,i)),i.Fc(n)}function Gpn(e,t){var n,r;return n=l(nn(e,(the(),kB)),19).a,r=l(nn(t,kB),19).a,n==r||n<r?-1:n>r?1:0}function Axe(e,t){return F0t(e,t)?(En(e.b,l(re(t,(mt(),a5)),21),t),zi(e.a,t),!0):!1}function Wpn(e){var t,n;t=l(re(e,(mt(),Wh)),10),t&&(n=t.c,uh(n.a,t),n.a.c.length==0&&uh(cc(t).b,n))}function yut(e){return F0?Ue(qyt,xvt,572,0,0,1):l(O0(e.a,Ue(qyt,xvt,572,e.a.c.length,0,1)),842)}function Kpn(e,t,n,r){return aq(),new oae(pe(de(H2,1),HG,42,0,[(bue(e,t),new Vw(e,t)),(bue(n,r),new Vw(n,r))]))}function B6(e,t,n){var r,i;return i=(r=new nae,r),qc(i,t,n),fi((!e.q&&(e.q=new _t(Ud,e,11,10)),e.q),i),i}function Mle(e){var t,n,r,i;for(i=yin(q7t,e),n=i.length,r=Ue(jt,dt,2,n,6,1),t=0;t<n;++t)r[t]=i[t];return r}function F6(e,t){var n,r,i,a,h;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],h=new crt(e),n.Qe(h),Z8n(h);qh(e.f)}function Lle(e,t){var n;return t===e?!0:Le(t,224)?(n=l(t,224),hs(e.Zb(),n.Zb())):!1}function Mxe(e,t){var n;t*2+1>=e.b.c.length||(Mxe(e,2*t+1),n=2*t+2,n<e.b.c.length&&Mxe(e,n),y1t(e,t))}function _ut(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=rlt(n),r=Ue(Eyt,gR,330,i,0,1),this.b=r}function Lxe(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:xae(Wa(e[r],Nc),Wa(t[r],Nc))?-1:1}function Ypn(e,t){var n,r;for(r=$i(e,0);r.b!=r.d.c;)n=l(ji(r),214),n.e.length>0&&(t.td(n),n.i&&Vmn(n))}function Ile(e,t){var n,r;return r=l(Kn(e.a,4),126),n=Ue(Lpe,a1e,415,t,0,1),r!=null&&du(r,0,n,0,r.length),n}function xut(e,t){var n;return n=new che((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(n.c=e),n}function Xpn(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=l(r.Pb(),14),n.Hc(t))return!0;return!1}function Ole(e,t,n,r,i){var a,h;for(h=n;h<=i;h++)for(a=t;a<=r;a++)if(V6(e,a,h))return!0;return!1}function kut(e,t,n){var r,i,a,h;for(Xn(n),h=!1,a=e.Zc(t),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),h=!0;return h}function Qpn(e,t){var n;return e===t?!0:Le(t,83)?(n=l(t,83),I8e(Zw(e),n.vc())):!1}function Eut(e,t,n){var r,i;for(i=n.Kc();i.Ob();)if(r=l(i.Pb(),42),e.re(t,r.dd()))return!0;return!1}function Tut(e,t,n){return e.d[t.p][n.p]||(Wbn(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function QE(e,t){if(!e.ai()&&t==null)throw ue(new Jn("The 'no null' constraint is violated"));return t}function ZE(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),ule(e,t==null?null:(Xn(t),t)),e.C&&e.yk(null)}function Zpn(e,t){var n;return!e||e==t||!so(t,(mt(),Ky))?!1:(n=l(re(t,(mt(),Ky)),10),n!=e)}function Dle(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.pl()}}function Sut(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.ql()}}function Cut(e){mit.call(this,"The given string does not match the expected format for individual spacings.",e)}function _f(){_f=Ee,Gf=new oV("ELK",0),IPe=new oV("JSON",1),LPe=new oV("DOT",2),OPe=new oV("SVG",3)}function kN(){kN=Ee,PY=new qae(Yp,0),hOe=new qae("RADIAL_COMPACTION",1),fOe=new qae("WEDGE_COMPACTION",2)}function I0(){I0=Ee,SCe=new kae("CONCURRENT",0),Hf=new kae("IDENTITY_FINISH",1),t5=new kae("UNORDERED",2)}function Ple(){Ple=Ee,tAe=(Bz(),q1e),eAe=new Nn(YEe,tAe),z3t=new Xs(XEe),V3t=new Xs(QEe),q3t=new Xs(ZEe)}function JE(){JE=Ee,gMe=new Dx,pMe=new Xee,n5t=new dD,t5t=new Qee,e5t=new Zee,dMe=(Xn(e5t),new _n)}function e9(){e9=Ee,kge=new jae("CONSERVATIVE",0),FIe=new jae("CONSERVATIVE_SOFT",1),KL=new jae("SLOPPY",2)}function TU(){TU=Ee,wPe=new Ww(15),m7t=new Cc((Yi(),J2),wPe),hI=A8,pPe=J8t,mPe=Z2,bPe=j_,vPe=KY}function Nle(e,t,n){var r,i,a;for(r=new sa,a=$i(n,0);a.b!=a.d.c;)i=l(ji(a),8),zi(r,new Zc(i));kut(e,t,r)}function Jpn(e){var t,n,r;for(t=0,r=Ue(ao,dt,8,e.b,0,1),n=$i(e,0);n.b!=n.d.c;)r[t++]=l(ji(n),8);return r}function Ixe(e){var t;return t=(!e.a&&(e.a=new _t(nm,e,9,5)),e.a),t.i!=0?vin(l(Re(t,0),678)):null}function emn(e,t){var n;return n=sc(e,t),xae(Cce(e,t),0)|Din(Cce(e,n),0)?n:sc($G,Cce(d4(n,63),1))}function tmn(e,t){var n;n=zt((Zle(),mY))!=null&&t.wg()!=null?ot(Lt(t.wg()))/ot(Lt(zt(mY))):1,ds(e.b,t,n)}function nmn(e,t){var n,r;return n=l(e.d.Bc(t),14),n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function Oxe(e,t){var n,r;if(r=e.c[t],r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n<e.a.length;)e.a[n]-=r,n+=n&-n}function Aut(e){var t;if(t=e.a.c.length,t>0)return mE(t-1,e.a.c.length),Sm(e.a,t-1);throw ue(new ZKe)}function rmn(e,t,n){if(t<0)throw ue(new Qc(Qbt+t));t<e.j.c.length?rd(e.j,t,n):(Bst(e,t),wt(e.j,n))}function Mut(e,t,n){if(e>t)throw ue(new Jn(UG+e+kvt+t));if(e<0||t>n)throw ue(new Gye(UG+e+REe+t+PEe+n))}function Lut(e){if(!e.a||!(e.a.i&8))throw ue(new pl("Enumeration class expected for layout option "+e.f))}function C4(e){var t;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.ri(e.i),du(t,0,e.g,0,e.i))}function imn(e,t){var n,r;for(n=e.a.length-1,e.c=e.c-1&n;t!=e.c;)r=t+1&n,la(e.a,t,e.a[r]),t=r;la(e.a,e.c,null)}function smn(e,t){var n,r;for(n=e.a.length-1;t!=e.b;)r=t-1&n,la(e.a,t,e.a[r]),t=r;la(e.a,e.b,null),e.b=e.b+1&n}function Dxe(e,t,n){var r,i;return b4(t,e.c.length),r=n.Pc(),i=r.length,i==0?!1:(x5e(e.c,t,r),!0)}function amn(e){var t,n;if(e==null)return null;for(t=0,n=e.length;t<n;t++)if(!Gtt(e[t]))return e[t];return null}function Iut(e,t,n){var r,i,a,h;for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],e.b.re(t,r.cd()))return r;return null}function SU(e){var t,n,r,i,a;for(a=1,n=e,r=0,i=n.length;r<i;++r)t=n[r],a=31*a+(t!=null?Ws(t):0),a=a|0;return a}function Ii(e){var t,n,r,i,a;for(t={},r=e,i=0,a=r.length;i<a;++i)n=r[i],t[":"+(n.f!=null?n.f:""+n.g)]=n;return t}function omn(e){var t;for(ui(e),l5e(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&Ei(e);t++)hi(e);return t}function Out(e){var t,n,r;for(r=0,n=new Rr(zr(e.a.Kc(),new J));Ei(n);)t=l(hi(n),17),t.c.i==t.d.i||++r;return r}function Dut(e,t){var n,r,i;n=e,i=0;do{if(n==t)return i;if(r=n.e,!r)throw ue(new KD);n=cc(r),++i}while(!0)}function Put(e,t){var n,r,i;for(i=t-e.f,r=new M(e.d);r.a<r.c.c.length;)n=l(se(r),443),Sht(n,n.e,n.f+i);e.f=t}function Rle(e,t,n){return v.Math.abs(t-e)<yW||v.Math.abs(n-e)<yW?!0:t-e>yW?e-n>yW:n-e>yW}function Ble(e,t){return!e||t&&!e.j||Le(e,124)&&l(e,124).a.b==0?0:e.Re()}function CU(e,t){return!e||t&&!e.k||Le(e,124)&&l(e,124).a.a==0?0:e.Se()}function EN(e){return rb(),e<0?e!=-1?new Cke(-1,-e):O1e:e<=10?gCe[Sa(e)]:new Cke(1,e)}function Pxe(e){throw xle(),ue(new UYe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function Nut(e){QYe(),bV(this),hq(this),this.e=e,K0t(this,e),this.g=e==null?vh:wl(e),this.a="",this.b=e,this.a=""}function Nxe(){this.a=new mre,this.f=new $We(this),this.b=new HWe(this),this.i=new zWe(this),this.e=new VWe(this)}function Rut(){frn.call(this,new b_e(k4(16))),Pf(2,ivt),this.b=2,this.a=new v6e(null,null,0,null),WD(this.a,this.a)}function fM(){fM=Ee,dge=new Nae("DUMMY_NODE_OVER",0),xIe=new Nae("DUMMY_NODE_UNDER",1),bY=new Nae("EQUAL",2)}function Fle(){Fle=Ee,n0e=bit(pe(de(uI,1),vt,103,0,[(Dc(),jd),x1])),r0e=bit(pe(de(uI,1),vt,103,0,[Jp,Zp]))}function jle(e){return(Mt(),wh).Hc(e.j)?ot(Lt(re(e,(mt(),gT)))):Ml(pe(de(ao,1),dt,8,0,[e.i.n,e.n,e.a])).b}function cmn(e){var t,n,r,i;for(r=e.b.a,n=r.a.ec().Kc();n.Ob();)t=l(n.Pb(),561),i=new A0t(t,e.e,e.f),wt(e.g,i)}function k2(e,t){var n,r,i;r=e.nk(t,null),i=null,t&&(i=(eE(),n=new Nw,n),NE(i,e.r)),r=D0(e,i,r),r&&r.Fi()}function lmn(e,t){var n,r;for(r=rf(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.Tf(t.e,r),n=n|eR(e,t,r,!1),r=!r;J_e(e)}function Rxe(e,t){var n,r,i;return r=!1,n=t.q.d,t.d<e.b&&(i=j0t(t.q,e.b),t.q.d>i&&(cdt(t.q,i),r=n!=t.q.d)),r}function But(e,t){var n,r,i,a,h,d,b,E;return b=t.i,E=t.j,r=e.f,i=r.i,a=r.j,h=b-i,d=E-a,n=v.Math.sqrt(h*h+d*d),n}function Bxe(e,t){var n,r;return r=HU(e),r||(n=(Ihe(),l1t(t)),r=new VKe(n),fi(r.Vk(),e)),r}function TN(e,t){var n,r;return n=l(e.c.Bc(t),14),n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function Fut(e,t){var n;for(n=0;n<t.length;n++)if(e==(yi(n,t.length),t.charCodeAt(n)))return!0;return!1}function jut(e,t){var n;for(n=0;n<t.length;n++)if(e==(yi(n,t.length),t.charCodeAt(n)))return!0;return!1}function umn(e){var t,n;if(e==null)return!1;for(t=0,n=e.length;t<n;t++)if(!Gtt(e[t]))return!1;return!0}function $ut(e){var t;if(e.c!=0)return e.c;for(t=0;t<e.a.length;t++)e.c=e.c*33+(e.a[t]&-1);return e.c=e.c*e.e,e.c}function AU(e){var t;return kr(e.a!=e.b),t=e.d.a[e.a],pet(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function hmn(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw ue(new Gl);return t=e.a,e.a+=e.c.c,++e.b,St(t)}function fmn(e){var t;return t=new vct(e),UP(e.a,j4t,new gf(pe(de(JR,1),Ht,369,0,[t]))),t.d&&wt(t.f,t.d),t.f}function $le(e){var t;return t=new i4e(e.a),ll(t,e),ut(t,(mt(),vs),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function dmn(e,t,n,r){var i,a;for(a=e.Kc();a.Ob();)i=l(a.Pb(),70),i.n.a=t.a+(r.a-i.o.a)/2,i.n.b=t.b,t.b+=i.o.b+n}function gmn(e,t,n){var r,i;for(i=t.a.a.ec().Kc();i.Ob();)if(r=l(i.Pb(),57),Qrt(e,r,n))return!0;return!1}function pmn(e){var t,n;for(n=new M(e.r);n.a<n.c.c.length;)if(t=l(se(n),10),e.n[t.p]<=0)return t;return null}function Hut(e){var t,n,r,i;for(i=new Ja,r=new M(e);r.a<r.c.c.length;)n=l(se(r),33),t=Exn(n),mc(i,t);return i}function mmn(e){var t;return t=dV(bxt),l(re(e,(mt(),Lu)),21).Hc((Pc(),fT))&&ss(t,(vc(),Ku),(Mc(),LK)),t}function vmn(e,t,n){var r;r=new G1t(e,t),En(e.r,t.Hf(),r),n&&!HA(e.u)&&(r.c=new dit(e.d),fh(t.wf(),new Pn(r)))}function nu(e,t){var n;return ml(e)&&ml(t)&&(n=e-t,!isNaN(n))?n:Qke(ml(e)?Cd(e):e,ml(t)?Cd(t):t)}function bmn(e,t){return t<e.length&&(yi(t,e.length),e.charCodeAt(t)!=63)&&(yi(t,e.length),e.charCodeAt(t)!=35)}function zut(e,t,n,r){var i,a;e.a=t,a=r?0:1,e.f=(i=new Udt(e.c,e.a,n,a),new xgt(n,e.a,i,e.e,e.b,e.c==(py(),YL)))}function Fxe(e,t,n){var r,i;return i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,1,i,t),n?n.Ei(r):n=r),n}function Vut(e,t,n){var r,i;return i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,3,i,t),n?n.Ei(r):n=r),n}function qut(e,t,n){var r,i;return i=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,0,i,t),n?n.Ei(r):n=r),n}function Zv(e,t){var n,r,i,a;return a=(i=e?HU(e):null,p1t((r=t,i&&i.Xk(),r))),a==t&&(n=HU(e),n&&n.Xk()),a}function jxe(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function wmn(e,t){var n,r,i;for(i=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return t<0?1/i:i}function Uut(e){var t,n;if(e!=null)for(n=0;n<e.length;++n)t=e[n],t&&(l(t.g,367),t.i)}function ymn(e){var t,n,r;for(r=0,n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),187),r=v.Math.max(r,t.g);return r}function _mn(e){var t,n,r;for(r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),214),t=n.c.Rf()?n.f:n.a,t&&$7n(t,n.j)}function Hp(){Hp=Ee,ZY=new Yae("INHERIT",0),Xm=new Yae("INCLUDE_CHILDREN",1),fI=new Yae("SEPARATE_CHILDREN",2)}function $xe(e,t){switch(t){case 1:!e.n&&(e.n=new _t(_l,e,1,7)),ei(e.n);return;case 2:sM(e,null);return}gxe(e,t)}function MU(e){var t;switch(e.gc()){case 0:return E1e;case 1:return new Poe(ui(e.Xb(0)));default:return t=e,new gce(t)}}function Gut(e){switch(fg(),e.gc()){case 0:return rce(),VSe;case 1:return new ck(e.Kc().Pb());default:return new p3e(e)}}function Lm(e){switch(fg(),e.c){case 0:return rce(),VSe;case 1:return new ck(E1t(new uk(e)));default:return new VYe(e)}}function A4(e,t){ui(e);try{return e.xc(t)}catch(n){if(n=ea(n),Le(n,205)||Le(n,173))return null;throw ue(n)}}function xmn(e,t){ui(e);try{return e.Bc(t)}catch(n){if(n=ea(n),Le(n,205)||Le(n,173))return null;throw ue(n)}}function Hxe(e,t){ui(e);try{return e.Hc(t)}catch(n){if(n=ea(n),Le(n,205)||Le(n,173))return!1;throw ue(n)}}function kmn(e,t){ui(e);try{return e.Mc(t)}catch(n){if(n=ea(n),Le(n,205)||Le(n,173))return!1;throw ue(n)}}function Wut(e,t){ui(e);try{return e._b(t)}catch(n){if(n=ea(n),Le(n,205)||Le(n,173))return!1;throw ue(n)}}function Kut(e,t){var n;e.a.c.length>0&&(n=l(Kt(e.a,e.a.c.length-1),570),Axe(n,t))||wt(e.a,new Eat(t))}function Emn(e){u1();var t,n;t=e.d.c-e.e.c,n=l(e.g,145),fh(n.b,new zC(t)),fh(n.c,new t2(t)),Ho(n.i,new hz(t))}function Yut(e){var t;return t=new Lv,t.a+="VerticalSegment ",Wl(t,e.e),t.a+=" ",Mi(t,g4e(new pae,new M(e.k))),t.a}function Tmn(e){var t;return t=l(uy(e.c.c,""),229),t||(t=new Ak(J7(Z7(new q3,""),"Other")),S2(e.c.c,"",t)),t}function dM(e){var t;return e.Db&64?m1(e):(t=new Ed(m1(e)),t.a+=" (name: ",zc(t,e.zb),t.a+=")",t.a)}function zxe(e,t,n){var r,i;return i=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,4,i,t),n?n.Ei(r):n=r),n}function Hle(e,t){var n,r,i;for(n=0,i=Ll(e,t).Kc();i.Ob();)r=l(i.Pb(),11),n+=re(r,(mt(),Wh))!=null?1:0;return n}function j6(e,t,n){var r,i,a;for(r=0,a=$i(e,0);a.b!=a.d.c&&(i=ot(Lt(ji(a))),!(i>n));)i>=t&&++r;return r}function Smn(e,t,n){var r,i;return r=new Bp(e.e,3,13,null,(i=t.c,i||(Sn(),U0)),Pm(e,t),!1),n?n.Ei(r):n=r,n}function Cmn(e,t,n){var r,i;return r=new Bp(e.e,4,13,(i=t.c,i||(Sn(),U0)),null,Pm(e,t),!1),n?n.Ei(r):n=r,n}function Vxe(e,t,n){var r,i;return i=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,8,i,e.r),n?n.Ei(r):n=r),n}function Im(e,t){var n,r;return n=l(t,676),r=n.vk(),!r&&n.wk(r=Le(t,88)?new VZe(e,l(t,26)):new fst(e,l(t,148))),r}function SN(e,t,n){var r;e.qi(e.i+1),r=e.oi(t,n),t!=e.i&&du(e.g,t,e.g,t+1,e.i-t),la(e.g,t,r),++e.i,e.bi(t,n),e.ci()}function Amn(e,t){var n;return t.a&&(n=t.a.a.length,e.a?Mi(e.a,e.b):e.a=new Af(e.d),gst(e.a,t.a,t.d.length,n)),e}function Mmn(e,t){var n,r,i,a;if(t.vi(e.a),a=l(Kn(e.a,8),1936),a!=null)for(n=a,r=0,i=n.length;r<i;++r)null.jm()}function CN(e,t){var n;return n=new Ys,e.a.sd(n)?(lE(),new kz(Xn(Uot(e,n.a,t)))):(qv(e),lE(),lE(),nK)}function gM(e,t){switch(t.g){case 2:case 1:return Ll(e,t);case 3:case 4:return v2(Ll(e,t))}return In(),In(),Lc}function hs(e,t){return _o(e)?Tn(e,t):a4(e)?utt(e,t):s4(e)?(Xn(e),Je(e)===Je(t)):G5e(e)?e.Fb(t):H5e(e)?lJe(e,t):F6e(e,t)}function Lmn(e){return e?e.i&1?e==uf?Ya:e==ri?hc:e==M5?X9:e==Eo?Mo:e==Db?Hy:e==U_?zy:e==Rh?u8:kL:e:null}function Imn(e,t,n,r,i){t==0||r==0||(t==1?i[r]=Lke(i,n,r,e[0]):r==1?i[t]=Lke(i,e,t,n[0]):D5n(e,n,i,t,r))}function Xut(e,t){var n;e.c.length!=0&&(n=l(O0(e,Ue(up,jm,10,e.c.length,0,1)),193),X3e(n,new b7),B1t(n,t))}function Qut(e,t){var n;e.c.length!=0&&(n=l(O0(e,Ue(up,jm,10,e.c.length,0,1)),193),X3e(n,new Hg),B1t(n,t))}function qxe(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new _t(_l,e,1,7)),e.n;case 2:return e.k}return $ke(e,t,n,r)}function Dc(){Dc=Ee,hp=new gP(XM,0),x1=new gP(t8,1),jd=new gP(e8,2),Zp=new gP(Cfe,3),Jp=new gP("UP",4)}function by(){by=Ee,w_=new Aae(Yp,0),kAe=new Aae("INSIDE_PORT_SIDE_GROUPS",1),s0e=new Aae("FORCE_MODEL_ORDER",2)}function Zut(e,t,n){if(e<0||t>n)throw ue(new Qc(UG+e+REe+t+", size: "+n));if(e>t)throw ue(new Jn(UG+e+kvt+t))}function od(e,t,n){if(t<0)G8e(e,n);else{if(!n.Ij())throw ue(new Jn(ub+n.ne()+uL));l(n,66).Nj().Vj(e,e.yh(),t)}}function Omn(e,t,n,r,i,a,h,d){var b;for(b=n;a<h;)b>=r||t<n&&d.ue(e[t],e[b])<=0?la(i,a++,e[t++]):la(i,a++,e[b++])}function Jut(e,t,n,r,i,a){this.e=new yt,this.f=(Oc(),WL),wt(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function eht(e,t){var n,r;for(r=new Ir(e);r.e!=r.i.gc();)if(n=l(Ur(r),26),Je(t)===Je(n))return!0;return!1}function Dmn(e){FG();var t,n,r,i;for(n=aue(),r=0,i=n.length;r<i;++r)if(t=n[r],vl(t.a,e,0)!=-1)return t;return H1e}function tht(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function nht(e){var t;return e.Db&64?m1(e):(t=new Ed(m1(e)),t.a+=" (source: ",zc(t,e.d),t.a+=")",t.a)}function Pmn(e,t,n){var r,i;return i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,5,i,e.a),n?f8e(n,r):n=r),n}function Om(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,2,n,t))}function Uxe(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,8,n,t))}function LU(e,t){var n;n=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,8,n,t))}function Dm(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,3,n,t))}function Gxe(e,t){var n;n=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,9,n,t))}function pM(e,t){var n;return e.b==-1&&e.a&&(n=e.a.Gj(),e.b=n?e.c.Xg(e.a.aj(),n):Qs(e.c.Tg(),e.a)),e.c.Og(e.b,t)}function St(e){var t,n;return e>-129&&e<128?(t=e+128,n=(ent(),tCe)[t],!n&&(n=tCe[t]=new VD(e)),n):new VD(e)}function t9(e){var t,n;return e>-129&&e<128?(t=e+128,n=(ant(),sCe)[t],!n&&(n=sCe[t]=new uz(e)),n):new uz(e)}function Wxe(e){var t,n;return t=e.k,t==(gr(),La)?(n=l(re(e,(mt(),Vl)),61),n==(Mt(),Qn)||n==Jr):!1}function Nmn(e,t,n){var r,i,a;return a=(i=b9(e.b,t),i),a&&(r=l(OG(iN(e,a),""),26),r)?d7e(e,r,t,n):null}function zle(e,t,n){var r,i,a;return a=(i=b9(e.b,t),i),a&&(r=l(OG(iN(e,a),""),26),r)?g7e(e,r,t,n):null}function rht(e,t){var n,r;for(r=new Ir(e);r.e!=r.i.gc();)if(n=l(Ur(r),138),Je(t)===Je(n))return!0;return!1}function mM(e,t,n){var r;if(r=e.gc(),t>r)throw ue(new h4(t,r));if(e.hi()&&e.Hc(n))throw ue(new Jn(NR));e.Xh(t,n)}function Rmn(e,t){var n;if(n=D6(e.i,t),n==null)throw ue(new og("Node did not exist in input."));return ixe(t,n),null}function Bmn(e,t){var n;if(n=JN(e,t),Le(n,322))return l(n,34);throw ue(new Jn(ub+t+"' is not a valid attribute"))}function Fmn(e,t,n){var r,i;for(i=Le(t,99)&&l(t,18).Bb&wc?new Jae(t,e):new GE(t,e),r=0;r<n;++r)YU(i);return i}function jmn(e){var t,n,r;for(r=0,n=e.length,t=0;t<n;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[r++]=e[t]);return r}function $mn(e){var t,n,r;for(t=new yt,r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),594),Fa(t,l(n.jf(),14));return t}function Hmn(e){var t,n,r;for(t=l(re(e,(Kl(),YIe)),15),r=t.Kc();r.Ob();)n=l(r.Pb(),188),zi(n.b.d,n),zi(n.c.b,n)}function zmn(e){switch(l(re(e,(mt(),q2)),303).g){case 1:ut(e,q2,(Fp(),p8));break;case 2:ut(e,q2,(Fp(),T_))}}function Vmn(e){var t;e.g&&(t=e.c.Rf()?e.f:e.a,C7e(t.a,e.o,!0),C7e(t.a,e.o,!1),ut(e.o,(Nt(),ba),(Ao(),tw)))}function qmn(e){var t;if(!e.a)throw ue(new pl("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,Yrt(e,t),Krt(e,t)}function Umn(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,la(e.a,e.c,null),t)}function iht(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=l(n.Pb(),213),t.f&&e.b[t.c]<-1e-10)return t;return null}function Kxe(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new td(t.d,0,t.a,t.b);default:return null}}function sht(e){switch(e.g){case 2:return x1;case 1:return jd;case 4:return Zp;case 3:return Jp;default:return hp}}function Yxe(e){switch(e.g){case 1:return nr;case 2:return Qn;case 3:return fr;case 4:return Jr;default:return Dl}}function AN(e){switch(e.g){case 1:return Jr;case 2:return nr;case 3:return Qn;case 4:return fr;default:return Dl}}function IU(e){switch(e.g){case 1:return fr;case 2:return Jr;case 3:return nr;case 4:return Qn;default:return Dl}}function Gmn(e){switch(e){case 0:return new xYe;case 1:return new yYe;case 2:return new _Ye;default:throw ue(new KD)}}function ja(e,t){return e<t?-1:e>t?1:e==t?e==0?ja(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function Wmn(e,t){Zr(t,"Sort end labels",1),ya($s(Al(new jn(null,new zn(e.b,16)),new a$),new Mx),new See),Br(t)}function vM(e,t,n){var r,i;return e.ej()?(i=e.fj(),r=Yue(e,t,n),e.$i(e.Zi(7,St(n),r,t,i)),r):Yue(e,t,n)}function Vle(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.cd(),n=t.Sh(),r=(n&as)%e.d.length,L1n(e,r,_0t(e,r,n,i)))}function n9(e,t){var n;n=(e.Bb&b1)!=0,t?e.Bb|=b1:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,10,n,t))}function r9(e,t){var n;n=(e.Bb&G4)!=0,t?e.Bb|=G4:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,12,n,t))}function i9(e,t){var n;n=(e.Bb&Ph)!=0,t?e.Bb|=Ph:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,15,n,t))}function s9(e,t){var n;n=(e.Bb&e5)!=0,t?e.Bb|=e5:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,11,n,t))}function Kmn(e,t){var n;return n=ja(e.b.c,t.b.c),n!=0||(n=ja(e.a.a,t.a.a),n!=0)?n:ja(e.a.b,t.a.b)}function Ymn(e,t){var n;if(n=Tr(e.k,t),n==null)throw ue(new og("Port did not exist in input."));return ixe(t,n),null}function Xmn(e){var t,n;for(n=S0t(Df(e)).Kc();n.Ob();)if(t=wi(n.Pb()),RM(e,t))return i1n((DQe(),nEt),t);return null}function Qmn(e,t){var n,r,i,a,h;for(h=Wu(e.e.Tg(),t),a=0,n=l(e.g,119),i=0;i<e.i;++i)r=n[i],h.rl(r.ak())&&++a;return a}function Zmn(e,t,n){var r,i;return r=l(t.We(e.a),35),i=l(n.We(e.a),35),r!=null&&i!=null?fN(r,i):r!=null?-1:i!=null?1:0}function aht(e,t,n){var r,i;if(e.c)k8e(e.c,t,n);else for(i=new M(e.b);i.a<i.c.c.length;)r=l(se(i),157),aht(r,t,n)}function qle(e,t){var n,r;for(r=new M(t);r.a<r.c.c.length;)n=l(se(r),46),uh(e.b.b,n.b),Mhn(l(n.a,189),l(n.b,81))}function Jmn(e){var t,n;for(n=zv(new Lv,91),t=!0;e.Ob();)t||(n.a+=bc),t=!1,Wl(n,e.Pb());return(n.a+="]",n).a}function a9(e,t){var n;n=(e.Bb&vg)!=0,t?e.Bb|=vg:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,16,n,t))}function Ule(e,t){var n;n=(e.Bb&Yl)!=0,t?e.Bb|=Yl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,18,n,t))}function Xxe(e,t){var n;n=(e.Bb&Yl)!=0,t?e.Bb|=Yl:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,18,n,t))}function Qxe(e,t){var n;n=(e.Bb&wc)!=0,t?e.Bb|=wc:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&us(e,new d1(e,1,20,n,t))}function Zxe(e){var t;return t=Ue(md,bg,25,2,15,1),e-=wc,t[0]=(e>>10)+bR&Aa,t[1]=(e&1023)+56320&Aa,Ad(t,0,t.length)}function OU(e){var t,n;return n=l(re(e,(Nt(),zf)),103),n==(Dc(),hp)?(t=ot(Lt(re(e,tY))),t>=1?x1:Zp):n}function evn(e){switch(l(re(e,(Nt(),Qp)),218).g){case 1:return new Gte;case 3:return new Qte;default:return new Ute}}function E2(e){if(e.c)E2(e.c);else if(e.d)throw ue(new pl("Stream already terminated, can't be modified or used"))}function Gle(e){var t;return e.Db&64?m1(e):(t=new Ed(m1(e)),t.a+=" (identifier: ",zc(t,e.k),t.a+=")",t.a)}function oht(e,t,n){var r,i;return r=(Hw(),i=new _v,i),nU(r,t),rU(r,n),e&&fi((!e.a&&(e.a=new Ba(Vd,e,5)),e.a),r),r}function Wle(e,t,n,r){var i,a;return Xn(r),Xn(n),i=e.xc(t),a=i==null?n:yQe(l(i,15),l(n,14)),a==null?e.Bc(t):e.zc(t,a),a}function kn(e){var t,n,r,i;return n=(t=l(H1((r=e.gm,i=r.f,i==Si?r:i)),9),new ed(t,l(l1(t,t.length),9),0)),p1(n,e),n}function tvn(e,t,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)if(r=l(i.Pb(),10),mN(n,l(Kt(t,r.p),14)))return r;return null}function nvn(e,t,n){var r;try{Rpn(e,t,n)}catch(i){throw i=ea(i),Le(i,597)?(r=i,ue(new t_e(r))):ue(i)}return t}function Jv(e,t){var n;return ml(e)&&ml(t)&&(n=e-t,vR<n&&n<O2)?n:Yv(Glt(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function sc(e,t){var n;return ml(e)&&ml(t)&&(n=e+t,vR<n&&n<O2)?n:Yv(bpn(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function Zo(e,t){var n;return ml(e)&&ml(t)&&(n=e*t,vR<n&&n<O2)?n:Yv(j7n(ml(e)?Cd(e):e,ml(t)?Cd(t):t))}function Ll(e,t){var n;return e.i||U8e(e),n=l(Vc(e.g,t),46),n?new Qg(e.j,l(n.a,19).a,l(n.b,19).a):(In(),In(),Lc)}function wy(e,t,n){var r;return r=e.a.get(t),e.a.set(t,n===void 0?null:n),r===void 0?(++e.c,pq(e.b)):++e.d,r}function rvn(e,t,n){e.n=o2(Db,[dt,dfe],[364,25],14,[n,Sa(v.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function Kle(){b8e();var e,t,n;n=ZTn+++Date.now(),e=Sa(v.Math.floor(n*yR))&qG,t=Sa(n-e*DEe),this.a=e^1502,this.b=t^wfe}function zp(e){var t,n,r;for(t=new yt,r=new M(e.j);r.a<r.c.c.length;)n=l(se(r),11),wt(t,n.b);return ui(t),new SA(t)}function bl(e){var t,n,r;for(t=new yt,r=new M(e.j);r.a<r.c.c.length;)n=l(se(r),11),wt(t,n.e);return ui(t),new SA(t)}function $a(e){var t,n,r;for(t=new yt,r=new M(e.j);r.a<r.c.c.length;)n=l(se(r),11),wt(t,n.g);return ui(t),new SA(t)}function ivn(e){var t,n;for(n=t6n(Df(v4(e))).Kc();n.Ob();)if(t=wi(n.Pb()),RM(e,t))return s1n((PQe(),rEt),t);return null}function svn(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(e[n]==null)throw ue(new ok("at index "+n));return t=e,new gf(t)}function avn(e,t){var n;if(n=JN(e.Tg(),t),Le(n,99))return l(n,18);throw ue(new Jn(ub+t+"' is not a valid reference"))}function ovn(e){var t;return t=R4(e),t>34028234663852886e22?ma:t<-34028234663852886e22?Oa:t}function cht(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function lht(e){var t,n,r,i;for(t=new Vet(e.Hd().gc()),i=0,r=Nk(e.Hd().Kc());r.Ob();)n=r.Pb(),vfn(t,n,St(i++));return z3n(t.a)}function cvn(e,t){var n,r,i;for(i=new si,r=t.vc().Kc();r.Ob();)n=l(r.Pb(),42),ds(i,n.cd(),Jgn(e,l(n.dd(),15)));return i}function Jxe(e,t){e.n.c.length==0&&wt(e.n,new _q(e.s,e.t,e.i)),wt(e.b,t),Nke(l(Kt(e.n,e.n.c.length-1),211),t),wpt(e,t)}function $6(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(e.a.c=Ue(xr,Ht,1,0,5,1),Fa(e.a,e.b),Fa(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function Yle(e,t){var n,r,i;for(i=0,r=l(t.Kb(e),20).Kc();r.Ob();)n=l(r.Pb(),17),Zt(Xt(re(n,(mt(),$0))))||++i;return i}function lvn(e,t){var n,r,i;r=I6(t),i=ot(Lt(L4(r,(Nt(),_1)))),n=v.Math.max(0,i/2-.5),TM(t,n,1),wt(e,new JQe(t,n))}function cd(){cd=Ee,uB=new uP(Yp,0),BL=new uP("FIRST",1),mb=new uP(vbt,2),FL=new uP("LAST",3),c5=new uP(bbt,4)}function Vp(){Vp=Ee,ype=new rV(XM,0),NB=new rV("POLYLINE",1),AT=new rV("ORTHOGONAL",2),L8=new rV("SPLINES",3)}function DU(){DU=Ee,LOe=new Gae("ASPECT_RATIO_DRIVEN",0),Gge=new Gae("MAX_SCALE_DRIVEN",1),MOe=new Gae("AREA_DRIVEN",2)}function MN(){MN=Ee,BY=new Wae("P1_STRUCTURE",0),FY=new Wae("P2_PROCESSING_ORDER",1),jY=new Wae("P3_EXECUTION",2)}function PU(){PU=Ee,$ge=new Vae("OVERLAP_REMOVAL",0),Fge=new Vae("COMPACTION",1),jge=new Vae("GRAPH_SIZE_CALCULATION",2)}function yy(e,t){return y0(),g1(sb),v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:Gw(isNaN(e),isNaN(t))}function uht(e,t){var n,r;for(n=$i(e,0);n.b!=n.d.c;){if(r=YD(Lt(ji(n))),r==t)return;if(r>t){Mce(n);break}}NP(n,t)}function yn(e,t){var n,r,i,a,h;if(n=t.f,S2(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,h=i.length;a<h;++a)r=i[a],S2(e.c.e,r,t)}function uvn(e,t,n,r){var i,a,h;for(i=t+1;i<n;++i)for(a=i;a>t&&r.ue(e[a-1],e[a])>0;--a)h=e[a],la(e,a,e[a-1]),la(e,a-1,h)}function ld(e,t,n,r){if(t<0)b7e(e,n,r);else{if(!n.Ij())throw ue(new Jn(ub+n.ne()+uL));l(n,66).Nj().Tj(e,e.yh(),t,r)}}function NU(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw ue(new Jn("Node "+t+" not part of edge "+e))}function hvn(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function hht(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function eke(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return qxe(e,t,n,r)}function fvn(e){return e.k!=(gr(),za)?!1:AE(new jn(null,new Jw(new Rr(zr($a(e).a.Kc(),new J)))),new F$)}function dvn(e){return e.e==null?e:(!e.c&&(e.c=new che((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function gvn(e,t){return e.h==mR&&e.m==0&&e.l==0?(t&&(hb=qu(0,0,0)),uJe((PE(),YSe))):(t&&(hb=qu(e.l,e.m,e.h)),qu(0,0,0))}function wl(e){var t;return Array.isArray(e)&&e.im===nt?Ov(tf(e))+"@"+(t=Ws(e)>>>0,t.toString(16)):e.toString()}function bM(e){var t;this.a=(t=l(e.e&&e.e(),9),new ed(t,l(l1(t,t.length),9),0)),this.b=Ue(xr,Ht,1,this.a.a.length,5,1)}function pvn(e){var t,n,r;for(this.a=new Mp,r=new M(e);r.a<r.c.c.length;)n=l(se(r),14),t=new vnt,Egn(t,n),Ga(this.a,t)}function mvn(e){l4();var t,n,r,i;for(t=e.o.b,r=l(l(_s(e.r,(Mt(),Jr)),21),84).Kc();r.Ob();)n=l(r.Pb(),111),i=n.e,i.b+=t}function nf(e){var t;if(e.b){if(nf(e.b),e.b.d!=e.c)throw ue(new Zf)}else e.d.dc()&&(t=l(e.f.c.xc(e.e),14),t&&(e.d=t))}function vvn(e){var t;return e==null?!0:(t=e.length,t>0&&(yi(t-1,e.length),e.charCodeAt(t-1)==58)&&!Xle(e,_I,xI))}function Xle(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(kle((yi(r,e.length),e.charCodeAt(r)),t,n))return!0;return!1}function bvn(e,t){var n,r;for(r=e.e.a.ec().Kc();r.Ob();)if(n=l(r.Pb(),266),x3n(t,n.d)||M4n(t,n.d))return!0;return!1}function wvn(e,t){var n,r,i;for(r=ikn(e,t),i=r[r.length-1]/2,n=0;n<r.length;n++)if(r[n]>=i)return t.c+n;return t.c+t.b.gc()}function yvn(e,t){fE();var n,r,i,a;for(r=Tot(e),i=t,OE(r,0,r.length,i),n=0;n<r.length;n++)a=nwn(e,r[n],n),n!=a&&vM(e,n,a)}function tke(e,t){var n,r,i,a,h,d;for(r=0,n=0,a=t,h=0,d=a.length;h<d;++h)i=a[h],i>0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function nke(e){var t,n,r;for(r=new wm,r.a+="[",t=0,n=e.gc();t<n;)zc(r,LA(e.ki(t))),++t<n&&(r.a+=bc);return r.a+="]",r.a}function _vn(e){var t,n,r,i,a;return a=w8e(e),n=QD(e.c),r=!n,r&&(i=new gm,U1(a,"knownLayouters",i),t=new AKe(i),Ho(e.c,t)),a}function xvn(e,t){var n,r,i;for(Xn(t),n=!1,r=new M(e);r.a<r.c.c.length;)i=se(r),M4(t,i,!1)&&(VA(r),n=!0);return n}function rke(e){var t,n,r;for(r=ot(Lt(e.a.We((Yi(),QY)))),n=new M(e.a.xf());n.a<n.c.c.length;)t=l(se(n),680),Rmt(e,t,r)}function Qle(e,t){var n,r;for(r=new M(t);r.a<r.c.c.length;)n=l(se(r),46),wt(e.b.b,l(n.b,81)),Lce(l(n.a,189),l(n.b,81))}function kvn(e,t,n){var r,i;for(i=e.a.b,r=i.c.length;r<n;r++)f4(i,0,new Td(e.a));el(t,l(Kt(i,i.c.length-n),29)),e.b[t.p]=n}function Evn(e,t,n){var r;r=n,!r&&(r=L5e(new Y7,0)),Zr(r,ebt,2),fft(e.b,t,Eu(r,1)),sEn(e,t,Eu(r,1)),Q9n(t,Eu(r,1)),Br(r)}function Tvn(e,t,n,r,i){Lf(),v1(o1(a1(s1(c1(new kd,0),i.d.e-e),t),i.d)),v1(o1(a1(s1(c1(new kd,0),n-i.a.e),i.a),r))}function ike(e,t,n,r,i,a){this.a=e,this.c=t,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&B5e(this.c,this.b,this.a)}function ske(e){Zle(),this.c=S0(pe(de(mSn,1),Ht,831,0,[W_t])),this.b=new si,this.a=e,ds(this.b,mY,1),fh(K_t,new ZWe(this))}function fht(e,t){var n;return e.d?bf(e.b,t)?l(Tr(e.b,t),51):(n=t.Kf(),ds(e.b,t,n),n):t.Kf()}function ake(e,t){var n;return Je(e)===Je(t)?!0:Le(t,91)?(n=l(t,91),e.e==n.e&&e.d==n.d&&a1n(e,n.a)):!1}function $k(e){switch(Mt(),e.g){case 4:return Qn;case 1:return fr;case 3:return Jr;case 2:return nr;default:return Dl}}function oke(e,t){switch(t){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return axe(e,t)}function Svn(e){switch(e.g){case 0:return new fre;case 1:return new Z$;default:throw ue(new Jn(Ade+(e.f!=null?e.f:""+e.g)))}}function dht(e){switch(e.g){case 0:return new Q$;case 1:return new J$;default:throw ue(new Jn(qfe+(e.f!=null?e.f:""+e.g)))}}function ght(e){switch(e.g){case 0:return new jye;case 1:return new kYe;default:throw ue(new Jn(EW+(e.f!=null?e.f:""+e.g)))}}function Cvn(e){switch(e.g){case 1:return new ore;case 2:return new Iet;default:throw ue(new Jn(Ade+(e.f!=null?e.f:""+e.g)))}}function Avn(e){var t,n;if(e.b)return e.b;for(n=F0?null:e.d;n;){if(t=F0?null:n.b,t)return t;n=F0?null:n.d}return sE(),TCe}function Mvn(e){var t,n,r;return e.e==0?0:(t=e.d<<5,n=e.a[e.d-1],e.e<0&&(r=Elt(e),r==e.d-1&&(--n,n=n|0)),t-=YN(n),t)}function Lvn(e){var t,n,r;return e<eK.length?eK[e]:(n=e>>5,t=e&31,r=Ue(ri,Pi,25,n+1,15,1),r[n]=1<<t,new C6(1,n+1,r))}function pht(e){var t,n,r;return n=e.zg(),n?(t=e.Ug(),Le(t,160)&&(r=pht(l(t,160)),r!=null)?r+"."+n:n):null}function M4(e,t,n){var r,i;for(i=e.Kc();i.Ob();)if(r=i.Pb(),Je(t)===Je(r)||t!=null&&hs(t,r))return n&&i.Qb(),!0;return!1}function cke(e,t,n){var r,i;if(++e.j,n.dc())return!1;for(i=n.Kc();i.Ob();)r=i.Pb(),e.Hi(t,e.oi(t,r)),++t;return!0}function Ivn(e,t,n,r){var i,a;if(a=n-t,a<3)for(;a<3;)e*=10,++a;else{for(i=1;a>3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function Ovn(e){return Fle(),er(),!!(hht(l(e.a,81).j,l(e.b,103))||l(e.a,81).d.e!=0&&hht(l(e.a,81).j,l(e.b,103)))}function Dvn(e){zq(),l(e.We((Yi(),_b)),174).Hc((sf(),nX))&&(l(e.We(y5),174).Fc((Gh(),I8)),l(e.We(_b),174).Mc(nX))}function mht(e,t){var n,r;if(t){for(n=0;n<e.i;++n)if(r=l(e.g[n],366),r.Di(t))return!1;return fi(e,t)}else return!1}function lke(e){var t,n,r,i;for(t=new gm,i=new L(e.b.Kc());i.b.Ob();)r=l(i.b.Pb(),686),n=Y3n(r),mun(t,t.a.length,n);return t.a}function uke(e){var t;return!e.c&&(e.c=new th),fo(e.d,new jh),Nkn(e),t=kxn(e),ya(new jn(null,new zn(e.d,16)),new Kr(e)),t}function RU(e){var t;return e.Db&64?dM(e):(t=new Ed(dM(e)),t.a+=" (instanceClassName: ",zc(t,e.D),t.a+=")",t.a)}function Pvn(e,t){var n,r,i,a;t&&(i=jp(t,"x"),n=new kKe(e),RE(n.a,(Xn(i),i)),a=jp(t,"y"),r=new EKe(e),FE(r.a,(Xn(a),a)))}function Nvn(e,t){var n,r,i,a;t&&(i=jp(t,"x"),n=new wKe(e),BE(n.a,(Xn(i),i)),a=jp(t,"y"),r=new _Ke(e),jE(r.a,(Xn(a),a)))}function Qs(e,t){var n,r,i;if(n=(e.i==null&&mg(e),e.i),r=t.aj(),r!=-1){for(i=n.length;r<i;++r)if(n[r]==t)return r}return-1}function Rvn(e){var t,n,r,i,a;for(n=l(e.g,674),r=e.i-1;r>=0;--r)for(t=n[r],i=0;i<r;++i)if(a=n[i],gpt(e,t,a)){qk(e,r);break}}function Bvn(e){var t=e.e;function n(r){return!r||r.length==0?"":" "+r.join(`
`)}return t&&(t.stack||n(e[Ghe]))}function hke(e){m4();var t;switch(t=e.Pc(),t.length){case 0:return E1e;case 1:return new Poe(ui(t[0]));default:return new gce(svn(t))}}function _y(e,t){switch(t.g){case 1:return yk(e.j,(Lh(),AAe));case 2:return yk(e.j,(Lh(),LAe));default:return In(),In(),Lc}}function fke(e,t){switch(t){case 3:dy(e,0);return;case 4:gy(e,0);return;case 5:dh(e,0);return;case 6:gh(e,0);return}$xe(e,t)}function Zle(){Zle=Ee,Hz(),mY=(Nt(),e3),K_t=S0(pe(de(rpe,1),MTe,146,0,[dB,_1,E8,Jy,m5,age,wT,yT,oge,VL,L_,Y2,I_]))}function vht(e){var t,n;t=e.d==(Uk(),aT),n=h8e(e),t&&!n||!t&&n?ut(e.a,(Nt(),Lg),(ep(),SB)):ut(e.a,(Nt(),Lg),(ep(),TB))}function Fvn(e,t){var n;return n=l(Of(e,p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),n.Qc(Htt(n.gc()))}function BU(){BU=Ee,Epe=new aV("SIMPLE",0),SPe=new aV("GROUP_DEC",1),APe=new aV("GROUP_MIXED",2),CPe=new aV("GROUP_INC",3)}function Jle(){Jle=Ee,Ppe=new uH,QPe=new hH,ZPe=new fH,JPe=new A7,eNe=new dH,tNe=new gH,nNe=new rie,rNe=new M7,iNe=new L7}function bht(e,t,n){Sct(),mYe.call(this),this.a=o2(s3t,[dt,VEe],[595,212],0,[aK,$1e],2),this.c=new pk,this.g=e,this.f=t,this.d=n}function dke(e,t){this.n=o2(Db,[dt,dfe],[364,25],14,[t,Sa(v.Math.ceil(e/32))],2),this.o=e,this.p=t,this.j=e-1>>1,this.k=t-1>>1}function jvn(e,t){Zr(t,"End label post-processing",1),ya($s(Al(new jn(null,new zn(e.b,16)),new yee),new _ee),new xee),Br(t)}function $vn(e,t,n){var r,i;return r=ot(e.p[t.i.p])+ot(e.d[t.i.p])+t.n.b+t.a.b,i=ot(e.p[n.i.p])+ot(e.d[n.i.p])+n.n.b+n.a.b,i-r}function Hvn(e,t,n){var r,i;for(r=Wa(n,Nc),i=0;nu(r,0)!=0&&i<t;i++)r=sc(r,Wa(e[i],Nc)),e[i]=li(r),r=$v(r,32);return li(r)}function FU(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)t=(yi(n,e.length),e.charCodeAt(n)),t<64&&(i=T0(i,Ip(1,t)));return i}function zvn(e){var t;return e==null?null:new Fv((t=Su(e,!0),t.length>0&&(yi(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function Vvn(e){var t;return e==null?null:new Fv((t=Su(e,!0),t.length>0&&(yi(0,t.length),t.charCodeAt(0)==43)?t.substr(1):t))}function gke(e,t){var n;return e.i>0&&(t.length<e.i&&(n=uN(tf(t).c,e.i),t=n),du(e.g,0,t,0,e.i)),t.length>e.i&&la(t,e.i,null),t}function Bu(e,t,n){var r,i,a;return e.ej()?(r=e.i,a=e.fj(),SN(e,r,t),i=e.Zi(3,null,t,r,a),n?n.Ei(i):n=i):SN(e,e.i,t),n}function qvn(e,t,n){var r,i;return r=new Bp(e.e,4,10,(i=t.c,Le(i,88)?l(i,26):(Sn(),Wd)),null,Pm(e,t),!1),n?n.Ei(r):n=r,n}function Uvn(e,t,n){var r,i;return r=new Bp(e.e,3,10,null,(i=t.c,Le(i,88)?l(i,26):(Sn(),Wd)),Pm(e,t),!1),n?n.Ei(r):n=r,n}function wht(e){l4();var t;return t=new Zc(l(e.e.We((Yi(),j_)),8)),e.B.Hc((sf(),LT))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function yht(e){I4();var t;return(e.q?e.q:(In(),In(),lp))._b((Nt(),Qy))?t=l(re(e,Qy),197):t=l(re(cc(e),zL),197),t}function L4(e,t){var n,r;return r=null,so(e,(Nt(),gY))&&(n=l(re(e,gY),94),n.Xe(t)&&(r=n.We(t))),r==null&&(r=re(cc(e),t)),r}function _ht(e,t){var n,r,i;return Le(t,42)?(n=l(t,42),r=n.cd(),i=A4(e.Rc(),r),dg(i,n.dd())&&(i!=null||e.Rc()._b(r))):!1}function eue(e,t){var n,r,i;return e.f>0?(e.qj(),r=t==null?0:Ws(t),i=(r&as)%e.d.length,n=_0t(e,i,r,t),n!=-1):!1}function W1(e,t){var n,r,i;return e.f>0&&(e.qj(),r=t==null?0:Ws(t),i=(r&as)%e.d.length,n=Z8e(e,i,r,t),n)?n.dd():null}function LN(e,t){var n,r,i,a;for(a=Wu(e.e.Tg(),t),n=l(e.g,119),i=0;i<e.i;++i)if(r=n[i],a.rl(r.ak()))return!1;return!0}function xht(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!l(e.b,49).Zg())return!0;return e.b=null,!1}else return!0}function kht(e,t){e.mj();try{e.d.Vc(e.e++,t),e.f=e.d.j,e.g=-1}catch(n){throw n=ea(n),Le(n,73)?ue(new Zf):ue(n)}}function jU(e,t){n4e();var n,r;return n=SP((Tz(),Tz(),xL)),r=null,t==n&&(r=l(xu(WSe,e),615)),r||(r=new ort(e),t==n&&Jc(WSe,e,r)),r}function Eht(e,t){var n,r;e.a=sc(e.a,1),e.c=v.Math.min(e.c,t),e.b=v.Math.max(e.b,t),e.d+=t,n=t-e.f,r=e.e+n,e.f=r-e.e-n,e.e=r}function Gvn(e,t){var n;e.c=t,e.a=Mvn(t),e.a<54&&(e.f=(n=t.d>1?T0(Ip(t.a[1],32),Wa(t.a[0],Nc)):Wa(t.a[0],Nc),cy(Zo(t.e,n))))}function IN(e,t){var n;return ml(e)&&ml(t)&&(n=e%t,vR<n&&n<O2)?n:Yv((cEe(ml(e)?Cd(e):e,ml(t)?Cd(t):t,!0),hb))}function wM(e,t){var n;f9n(t),n=l(re(e,(Nt(),oY)),276),n&&ut(e,oY,U2n(n)),xm(e.c),xm(e.f),p_e(e.d),p_e(l(re(e,hY),207))}function Tht(e){this.e=Ue(ri,Pi,25,e.length,15,1),this.c=Ue(uf,op,25,e.length,16,1),this.b=Ue(uf,op,25,e.length,16,1),this.f=0}function Wvn(e){var t,n;for(e.j=Ue(Eo,Gc,25,e.p.c.length,15,1),n=new M(e.p);n.a<n.c.c.length;)t=l(se(n),10),e.j[t.p]=t.o.b/e.i}function tue(e){var t;e.c!=0&&(t=l(Kt(e.a,e.b),287),t.b==1?(++e.b,e.b<e.a.c.length&&cz(l(Kt(e.a,e.b),287))):--t.b,--e.c)}function Kvn(e){var t;t=e.a;do t=l(hi(new Rr(zr($a(t).a.Kc(),new J))),17).d.i,t.k==(gr(),po)&&wt(e.e,t);while(t.k==(gr(),po))}function pke(){pke=Ee,EPe=new Ww(15),S7t=new Cc((Yi(),J2),EPe),A7t=new Cc(ew,15),C7t=new Cc(bpe,St(0)),T7t=new Cc(C8,B9)}function xf(){xf=Ee,HB=new sV("PORTS",0),nw=new sV("PORT_LABELS",1),$B=new sV("NODE_LABELS",2),x5=new sV("MINIMUM_SIZE",3)}function ON(e,t){var n,r;for(r=t.length,n=0;n<r;n+=2)Tu(e,(yi(n,t.length),t.charCodeAt(n)),(yi(n+1,t.length),t.charCodeAt(n+1)))}function Sht(e,t,n){var r,i,a,h;for(a=t-e.e,h=n-e.f,i=new M(e.a);i.a<i.c.c.length;)r=l(se(i),187),PN(r,r.s+a,r.t+h);e.e=t,e.f=n}function Yvn(e,t){var n,r,i,a;for(a=t.b.b,e.a=new sa,e.b=Ue(ri,Pi,25,a,15,1),n=0,i=$i(t.b,0);i.b!=i.d.c;)r=l(ji(i),86),r.g=n++}function Cht(e,t){var n,r,i,a;return n=t>>5,t&=31,i=e.d+n+(t==0?0:1),r=Ue(ri,Pi,25,i,15,1),Gyn(r,e.a,n,t),a=new C6(e.e,i,r),XA(a),a}function mke(e,t,n){var r,i;r=l(xu(DT,t),117),i=l(xu(AI,t),117),n?(Jc(DT,e,r),Jc(AI,e,i)):(Jc(AI,e,r),Jc(DT,e,i))}function Aht(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function Mht(e,t,n){var r,i,a;for(i=null,a=e.b;a;){if(r=e.a.ue(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function Xvn(e,t,n,r){var i,a,h;return i=!1,IEn(e.f,n,r)&&(_bn(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],h=a[r],a[r]=a[n],a[n]=h,i=!0),i}function vke(e,t,n,r,i){var a,h,d;for(h=i;t.b!=t.c;)a=l(kk(t),10),d=l(Ll(a,r).Xb(0),11),e.d[d.p]=h++,n.c[n.c.length]=d;return h}function bke(e,t,n){var r,i,a,h,d;return h=e.k,d=t.k,r=n[h.g][d.g],i=Lt(L4(e,r)),a=Lt(L4(t,r)),v.Math.max((Xn(i),i),(Xn(a),a))}function Qvn(e,t,n){var r,i,a,h;for(r=n/e.c.length,i=0,h=new M(e);h.a<h.c.c.length;)a=l(se(h),200),Put(a,a.f+r*i),Lwn(a,t,r),++i}function Lht(e,t,n){var r,i,a,h;for(i=l(Tr(e.b,n),177),r=0,h=new M(t.j);h.a<h.c.c.length;)a=l(se(h),113),i[a.d.p]&&++r;return r}function Iht(e){var t,n;return t=l(Kn(e.a,4),126),t!=null?(n=Ue(Lpe,a1e,415,t.length,0,1),du(t,0,n,0,t.length),n):K7t}function Zvn(){var e;return XW!=0&&(e=g1n(),e-Syt>2e3&&(Syt=e,QW=v.setTimeout(iin,10))),XW++==0?(O0n((qye(),GSe)),!0):!1}function Jvn(e,t){var n,r,i;for(r=new Rr(zr($a(e).a.Kc(),new J));Ei(r);)if(n=l(hi(r),17),i=n.d.i,i.c==t)return!1;return!0}function wke(e,t){var n,r;if(Le(t,245)){r=l(t,245);try{return n=e.vd(r),n==0}catch(i){if(i=ea(i),!Le(i,205))throw ue(i)}}return!1}function ebn(){return Error.stackTraceLimit>0?(v.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function tbn(e,t){return y0(),y0(),g1(sb),(v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:Gw(isNaN(e),isNaN(t)))>0}function yke(e,t){return y0(),y0(),g1(sb),(v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:Gw(isNaN(e),isNaN(t)))<0}function Oht(e,t){return y0(),y0(),g1(sb),(v.Math.abs(e-t)<=sb||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:Gw(isNaN(e),isNaN(t)))<=0}function nue(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var r=t[n++];n<t.length;n++)!t[n]||t[n]==""||(r+=e+t[n]);return r}function Ad(e,t,n){var r,i,a,h;for(a=t+n,v_e(t,a,e.length),h="",i=t;i<a;)r=v.Math.min(i+1e4,a),h+=qun(e.slice(i,r)),i=r;return h}function Dht(e){var t,n,r,i,a;if(e==null)return null;for(a=new yt,n=Mle(e),r=0,i=n.length;r<i;++r)t=n[r],wt(a,Su(t,!0));return a}function Pht(e){var t,n,r,i,a;if(e==null)return null;for(a=new yt,n=Mle(e),r=0,i=n.length;r<i;++r)t=n[r],wt(a,Su(t,!0));return a}function Nht(e){var t,n,r,i,a;if(e==null)return null;for(a=new yt,n=Mle(e),r=0,i=n.length;r<i;++r)t=n[r],wt(a,Su(t,!0));return a}function Rht(e,t){var n,r,i;if(e.c)gy(e.c,t);else for(n=t-Mh(e),i=new M(e.d);i.a<i.c.c.length;)r=l(se(i),157),Rht(r,Mh(r)+n)}function Bht(e,t){var n,r,i;if(e.c)dy(e.c,t);else for(n=t-vf(e),i=new M(e.a);i.a<i.c.c.length;)r=l(se(i),157),Bht(r,vf(r)+n)}function nbn(e,t){var n,r,i,a;for(i=new Nu(t.gc()),r=t.Kc();r.Ob();)n=r.Pb(),a=mhe(e,l(n,56)),a&&(i.c[i.c.length]=a);return i}function $U(e,t){var n,r,i;return e.qj(),r=t==null?0:Ws(t),i=(r&as)%e.d.length,n=Z8e(e,i,r,t),n?(Gct(e,n),n.dd()):null}function xy(e){var t,n;for(n=Ydt(e),t=null;e.c==2;)ts(e),t||(t=(rs(),rs(),new CA(2)),L2(t,n),n=t),n.$l(Ydt(e));return n}function o9(e){var t,n,r;if(r=null,t=Sg in e.a,n=!t,n)throw ue(new og("Every element must have an id."));return r=Gk(Dp(e,Sg)),r}function HU(e){var t,n,r;if(r=e.Zg(),!r)for(t=0,n=e.eh();n;n=n.eh()){if(++t>gfe)return n.fh();if(r=n.Zg(),r||n==e)break}return r}function _ke(e){return kq(),Le(e,156)?l(Tr(WB,Fyt),288).vg(e):bf(WB,tf(e))?l(Tr(WB,tf(e)),288).vg(e):null}function rbn(e){if(zU(z9,e))return er(),Y9;if(zU($de,e))return er(),z2;throw ue(new Jn("Expecting true or false"))}function ibn(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw ue(new Jn("Input edge is not connected to the input port."))}function Fht(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*Lxe(e.a,t.a,e.d)}function jht(e){return e>=48&&e<48+v.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function $ht(e,t){var n;return Je(t)===Je(e)?!0:!Le(t,21)||(n=l(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function sbn(e,t){var n,r,i,a;return r=e.a.length-1,n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,pet(n<i),n>=a?(imn(e,t),-1):(smn(e,t),1)}function abn(e,t){var n,r;for(n=(yi(t,e.length),e.charCodeAt(t)),r=t+1;r<e.length&&(yi(r,e.length),e.charCodeAt(r)==n);)++r;return r-t}function xke(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function obn(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(xle(),M1e)[typeof r],a=i?i(r):Pxe(typeof r);return a}function ky(e,t){if(e.a<0)throw ue(new pl("Did not call before(...) or after(...) before calling add(...)."));return S4e(e,e.a,t),e}function cbn(e,t,n,r){var i,a;t.c.length!=0&&(i=G6n(n,r),a=U4n(t),ya(Jq(new jn(null,new zn(a,1)),new Yne),new Ort(e,n,i,r)))}function Hk(e,t,n){var r;e.Db&t?n==null?I5n(e,t):(r=kue(e,t),r==-1?e.Eb=n:la(m2(e.Eb),r,n)):n!=null&&nxn(e,t,n)}function Uu(e){var t,n;return e.Db&32||(n=(t=l(Kn(e,16),26),Er(t||e.zh())-Er(e.zh())),n!=0&&Hk(e,32,Ue(xr,Ht,1,n,5,1))),e}function lbn(e){var t;return e.b||Jrn(e,(t=Van(e.e,e.a),!t||!Tn($de,W1((!t.b&&(t.b=new mf((Sn(),_c),ql,t)),t.b),"qualified")))),e.c}function ubn(e,t,n){var r,i,a;return r=l(Re(ef(e.a),t),87),a=(i=r.c,i||(Sn(),U0)),(a.kh()?Zv(e.b,l(a,49)):a)==n?CG(r):NE(r,n),a}function hbn(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function fbn(e,t,n,r){r==e,l(n.b,65),l(n.b,65),l(r.b,65),l(r.b,65).c.b,m_e(r,t,e)}function dbn(e){var t,n;for(t=new M(e.g);t.a<t.c.c.length;)l(se(t),562);n=new U0t(e.g,ot(e.a),e.c),y9n(n),e.g=n.b,e.d=n.a}function kke(e,t,n){t.b=v.Math.max(t.b,-n.a),t.c=v.Math.max(t.c,n.a-e.a),t.d=v.Math.max(t.d,-n.b),t.a=v.Math.max(t.a,n.b-e.b)}function gbn(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Ws(e)-Ws(t)}function zU(e,t){return Xn(e),t==null?!1:Tn(e,t)?!0:e.length==t.length&&Tn(e.toLowerCase(),t.toLowerCase())}function pbn(e,t){var n,r,i,a;for(r=0,i=t.gc();r<i;++r)n=t.il(r),Le(n,99)&&l(n,18).Bb&Yl&&(a=t.jl(r),a!=null&&mhe(e,l(a,56)))}function Hht(e,t,n){var r,i,a;for(a=new M(n.a);a.a<a.c.c.length;)i=l(se(a),221),r=new vV(l(Tr(e.a,i.b),65)),wt(t.a,r),Hht(e,r,i)}function T2(e){var t,n;return nu(e,-129)>0&&nu(e,128)<0?(t=li(e)+128,n=(snt(),nCe)[t],!n&&(n=nCe[t]=new Q3(e)),n):new Q3(e)}function zht(e,t){var n,r;return n=t.Hh(e.a),n&&(r=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),Ki)),r!=null)?r:t.ne()}function mbn(e,t){var n,r;return n=t.Hh(e.a),n&&(r=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),Ki)),r!=null)?r:t.ne()}function vbn(e,t){xce();var n,r;for(r=new Rr(zr(zp(e).a.Kc(),new J));Ei(r);)if(n=l(hi(r),17),n.d.i==t||n.c.i==t)return n;return null}function Eke(e,t,n){this.c=e,this.f=new yt,this.e=new Qo,this.j=new D5e,this.n=new D5e,this.b=t,this.g=new td(t.c,t.d,t.b,t.a),this.a=n}function rue(e){var t,n,r,i;for(this.a=new Mp,this.d=new Ja,this.e=0,n=e,r=0,i=n.length;r<i;++r)t=n[r],!this.f&&(this.f=t),Lce(this,t)}function Vht(e){rb(),e.length==0?(this.e=0,this.d=1,this.a=pe(de(ri,1),Pi,25,15,[0])):(this.e=1,this.d=e.length,this.a=e,XA(this))}function yM(e,t,n){mYe.call(this),this.a=Ue(s3t,VEe,212,(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])).length,0,1),this.b=e,this.d=t,this.c=n}function qht(e){this.d=new yt,this.e=new d2,this.c=Ue(ri,Pi,25,(Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])).length,15,1),this.b=e}function bbn(e){var t,n,r,i,a,h;for(h=l(re(e,(mt(),vs)),11),ut(h,gT,e.i.n.b),t=pg(e.e),r=t,i=0,a=r.length;i<a;++i)n=r[i],So(n,h)}function wbn(e){var t,n,r,i,a,h;for(n=l(re(e,(mt(),vs)),11),ut(n,gT,e.i.n.b),t=pg(e.g),i=t,a=0,h=i.length;a<h;++a)r=i[a],ic(r,n)}function ybn(e){var t,n;return so(e.d.i,(Nt(),mT))?(t=l(re(e.c.i,mT),19),n=l(re(e.d.i,mT),19),ah(t.a,n.a)>0):!1}function Uht(e){var t;Je(nn(e,(Yi(),R_)))===Je((Hp(),ZY))&&(ua(e)?(t=l(nn(ua(e),R_),334),Uc(e,R_,t)):Uc(e,R_,fI))}function _bn(e,t,n){var r,i;Fue(e.e,t,n,(Mt(),nr)),Fue(e.i,t,n,fr),e.a&&(i=l(re(t,(mt(),vs)),11),r=l(re(n,vs),11),Ace(e.g,i,r))}function Ght(e,t,n){var r,i,a;r=t.c.p,a=t.p,e.b[r][a]=new lit(e,t),n&&(e.a[r][a]=new W7(t),i=l(re(t,(mt(),Ky)),10),i&&En(e.d,i,t))}function Wht(e,t){var n,r,i;if(wt(hK,e),t.Fc(e),n=l(Tr(K1e,e),21),n)for(i=n.Kc();i.Ob();)r=l(i.Pb(),33),vl(hK,r,0)!=-1||Wht(r,t)}function xbn(e,t,n){var r;(Uyt?(Avn(e),!0):Gyt||Kyt?(sE(),!0):Wyt&&(sE(),!1))&&(r=new _tt(t),r.b=n,T3n(e,r))}function iue(e,t){var n;n=!e.A.Hc((xf(),nw))||e.q==(Ao(),Iu),e.u.Hc((Gh(),tm))?n?q9n(e,t):kmt(e,t):e.u.Hc(Tb)&&(n?l9n(e,t):Bmt(e,t))}function c9(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,Le(r,97)?l(r,97).Jg():null),v5n(t,n))){Hk(e.a,4,n);return}Hk(e.a,4,l(t,126))}function Kht(e,t,n){return new td(v.Math.min(e.a,t.a)-n/2,v.Math.min(e.b,t.b)-n/2,v.Math.abs(e.a-t.a)+n,v.Math.abs(e.b-t.b)+n)}function kbn(e,t){var n,r;return n=ah(e.a.c.p,t.a.c.p),n!=0?n:(r=ah(e.a.d.i.p,t.a.d.i.p),r!=0?r:ah(t.a.d.p,e.a.d.p))}function Ebn(e,t,n){var r,i,a,h;return a=t.j,h=n.j,a!=h?a.g-h.g:(r=e.f[t.p],i=e.f[n.p],r==0&&i==0?0:r==0?-1:i==0?1:ja(r,i))}function Yht(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new M($6(t));i.a<i.c.c.length;)r=l(se(i),213),a=NU(r,t),Yht(e,a,n)}function Tke(e,t,n){var r;switch(r=n[e.g][t],e.g){case 1:case 3:return new en(0,r);case 2:case 4:return new en(r,0);default:return null}}function Tbn(e,t,n){var r,i;i=l(vce(t.f),209);try{i.Ze(e,n),Pun(t.f,i)}catch(a){throw a=ea(a),Le(a,102)?(r=a,ue(r)):ue(a)}}function Xht(e,t,n){var r,i,a,h,d,b;return r=null,d=hEe(HE(),t),a=null,d&&(i=null,b=lEe(d,n),h=null,b!=null&&(h=e.Ye(d,b)),i=h,a=i),r=a,r}function Sbn(e,t,n,r){var i,a,h;return i=new Bp(e.e,1,13,(h=t.c,h||(Sn(),U0)),(a=n.c,a||(Sn(),U0)),Pm(e,t),!1),r?r.Ei(i):r=i,r}function sue(e,t,n,r){var i;if(i=e.length,t>=i)return i;for(t=t>0?t:0;t<i&&!kle((yi(t,e.length),e.charCodeAt(t)),n,r);t++);return t}function O0(e,t){var n,r;for(r=e.c.length,t.length<r&&(t=Cz(new Array(r),t)),n=0;n<r;++n)la(t,n,e.c[n]);return t.length>r&&la(t,r,null),t}function Qht(e,t){var n,r;for(r=e.a.length,t.length<r&&(t=Cz(new Array(r),t)),n=0;n<r;++n)la(t,n,e.a[n]);return t.length>r&&la(t,r,null),t}function S2(e,t,n){var r,i,a;return i=l(Tr(e.e,t),387),i?(a=K4e(i,n),$Je(e,i),a):(r=new _5e(e,t,n),ds(e.e,t,r),git(r),null)}function Cbn(e){var t;if(e==null)return null;if(t=_6n(Su(e,!0)),t==null)throw ue(new fae("Invalid hexBinary value: '"+e+"'"));return t}function DN(e){return rb(),nu(e,0)<0?nu(e,-1)!=0?new l8e(-1,DE(e)):O1e:nu(e,10)<=0?gCe[li(e)]:new l8e(1,e)}function aue(){return FG(),pe(de(O3t,1),vt,159,0,[L3t,M3t,I3t,_3t,y3t,x3t,T3t,E3t,k3t,A3t,C3t,S3t,b3t,v3t,w3t,p3t,g3t,m3t,f3t,h3t,d3t,H1e])}function Zht(e){var t;this.d=new yt,this.j=new Qo,this.g=new Qo,t=e.g.b,this.f=l(re(cc(t),(Nt(),zf)),103),this.e=ot(Lt(UU(t,m5)))}function Jht(e){this.b=new yt,this.e=new yt,this.d=e,this.a=!nA($s(new jn(null,new Jw(new C0(e.b))),new lt(new j$))).sd((i2(),J9))}function K1(){K1=Ee,hr=new dP("PARENTS",0),mo=new dP("NODES",1),Og=new dP("EDGES",2),Q2=new dP("PORTS",3),Km=new dP("LABELS",4)}function H6(){H6=Ee,kb=new pP("DISTRIBUTED",0),FB=new pP("JUSTIFIED",1),_Pe=new pP("BEGIN",2),dI=new pP(P9,3),xPe=new pP("END",4)}function Abn(e){var t;switch(t=e.yi(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function oue(e){switch(e.g){case 1:return Dc(),Jp;case 4:return Dc(),jd;case 2:return Dc(),x1;case 3:return Dc(),Zp}return Dc(),hp}function Mbn(e,t,n){var r;switch(r=n.q.getFullYear()-ab+ab,r<0&&(r=-r),t){case 1:e.a+=r;break;case 2:Jg(e,r%100,2);break;default:Jg(e,r,t)}}function $i(e,t){var n,r;if(b4(t,e.b),t>=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n<t;++n)r=r.a;return new wtt(e,t,r)}function VU(){VU=Ee,B1e=new y3e("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),MCe=new y3e("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function Lbn(e){var t,n,r,i;for(r=y4n(e),fo(r,W4t),i=e.d,i.c=Ue(xr,Ht,1,0,5,1),n=new M(r);n.a<n.c.c.length;)t=l(se(n),456),Fa(i,t.b)}function eft(e){var t,n,r;for(r=(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),e.o),n=r.c.Kc();n.e!=n.i.gc();)t=l(n.nj(),42),t.dd();return QP(r)}function Ibn(e){var t;wk(l(re(e,(Nt(),ba)),98))&&(t=e.b,j1t((Un(0,t.c.length),l(t.c[0],29))),j1t(l(Kt(t,t.c.length-1),29)))}function tft(e,t){var n,r,i,a;for(n=0,i=new M(t.a);i.a<i.c.c.length;)r=l(se(i),10),a=r.o.a+r.d.c+r.d.b+e.j,n=v.Math.max(n,a);return n}function qU(e){var t,n,r,i;for(i=0,n=0,r=e.length;n<r;n++)t=(yi(n,e.length),e.charCodeAt(n)),t>=64&&t<128&&(i=T0(i,Ip(1,t-64)));return i}function UU(e,t){var n,r;return r=null,so(e,(Yi(),M8))&&(n=l(re(e,M8),94),n.Xe(t)&&(r=n.We(t))),r==null&&cc(e)&&(r=re(cc(e),t)),r}function nft(e,t){var n,r,i;i=t.d.i,r=i.k,!(r==(gr(),za)||r==j0)&&(n=new Rr(zr($a(i).a.Kc(),new J)),Ei(n)&&ds(e.k,t,l(hi(n),17)))}function cue(e,t){var n,r,i;return r=Rn(e.Tg(),t),n=t-e.Ah(),n<0?(i=e.Yg(r),i>=0?e.lh(i):Kue(e,r)):n<0?Kue(e,r):l(r,66).Nj().Sj(e,e.yh(),n)}function zt(e){var t;if(Le(e.a,4)){if(t=_ke(e.a),t==null)throw ue(new pl(Jbt+e.b+"'. "+Zbt+(Lp(KB),KB.k)+tSe));return t}else return e.a}function Obn(e){var t;if(e==null)return null;if(t=Z9n(Su(e,!0)),t==null)throw ue(new fae("Invalid base64Binary value: '"+e+"'"));return t}function Ur(e){var t;try{return t=e.i.Xb(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ea(n),Le(n,73)?(e.mj(),ue(new Gl)):ue(n)}}function lue(e){var t;try{return t=e.c.ki(e.e),e.mj(),e.g=e.e++,t}catch(n){throw n=ea(n),Le(n,73)?(e.mj(),ue(new Gl)):ue(n)}}function _M(){_M=Ee,iAe=(Yi(),ePe),G1e=ODe,U3t=C8,rAe=J2,Y3t=(rG(),RCe),K3t=PCe,X3t=FCe,W3t=DCe,G3t=(Ple(),eAe),U1e=z3t,nAe=V3t,uK=q3t}function GU(e){switch(u3e(),this.c=new yt,this.d=e,e.g){case 0:case 2:this.a=b6e(xAe),this.b=ma;break;case 3:case 1:this.a=xAe,this.b=Oa}}function rft(e,t,n){var r,i;if(e.c)dh(e.c,e.c.i+t),gh(e.c,e.c.j+n);else for(i=new M(e.b);i.a<i.c.c.length;)r=l(se(i),157),rft(r,t,n)}function Dbn(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n<r;n++)if(!Tn(e.j[n],t.j[n]))return!1;return!0}function WU(e,t,n){var r;t.a.length>0&&(wt(e.b,new Btt(t.a,n)),r=t.a.length,0<r?t.a=t.a.substr(0,0):0>r&&(t.a+=jJe(Ue(md,bg,25,-r,15,1))))}function ift(e,t){var n,r,i;for(n=e.o,i=l(l(_s(e.r,t),21),84).Kc();i.Ob();)r=l(i.Pb(),111),r.e.a=N2n(r,n.a),r.e.b=n.b*ot(Lt(r.b.We(oK)))}function Pbn(e,t){var n,r,i,a;return i=e.k,n=ot(Lt(re(e,(mt(),Yy)))),a=t.k,r=ot(Lt(re(t,Yy))),a!=(gr(),La)?-1:i!=La?1:n==r?0:n<r?-1:1}function Nbn(e,t){var n,r;return n=l(l(Tr(e.g,t.a),46).a,65),r=l(l(Tr(e.g,t.b),46).a,65),Wv(t.a,t.b)-Wv(t.a,s4e(n.b))-Wv(t.b,s4e(r.b))}function Rbn(e,t){var n;return n=l(re(e,(Nt(),il)),74),aoe(t,H4t)?n?Sd(n):(n=new Th,ut(e,il,n)):n&&ut(e,il,null),n}function sft(e){var t;return t=new Lv,t.a+="n",e.k!=(gr(),za)&&Mi(Mi((t.a+="(",t),foe(e.k).toLowerCase()),")"),Mi((t.a+="_",t),BN(e)),t.a}function Bbn(e,t){Zr(t,"Self-Loop post-processing",1),ya($s($s(Al(new jn(null,new zn(e.b,16)),new ste),new ate),new w$),new ote),Br(t)}function zk(e,t,n,r){var i;return n>=0?e.hh(t,n,r):(e.eh()&&(r=(i=e.Vg(),i>=0?e.Qg(r):e.eh().ih(e,-1-i,null,r))),e.Sg(t,n,r))}function Ske(e,t){switch(t){case 7:!e.e&&(e.e=new $n(oo,e,7,4)),ei(e.e);return;case 8:!e.d&&(e.d=new $n(oo,e,8,5)),ei(e.d);return}fke(e,t)}function Y1(e,t){var n;n=e.Zc(t);try{return n.Pb()}catch(r){throw r=ea(r),Le(r,109)?ue(new Qc("Can't get element "+t)):ue(r)}}function Cke(e,t){this.e=e,t<pfe?(this.d=1,this.a=pe(de(ri,1),Pi,25,15,[t|0])):(this.d=2,this.a=pe(de(ri,1),Pi,25,15,[t%pfe|0,t/pfe|0]))}function aft(e,t){In();var n,r,i,a;for(n=e,a=t,Le(e,21)&&!Le(t,21)&&(n=t,a=e),i=n.Kc();i.Ob();)if(r=i.Pb(),a.Hc(r))return!1;return!0}function lc(e,t,n){var r,i,a,h;return r=e.Xc(t),r!=-1&&(e.ej()?(a=e.fj(),h=qk(e,r),i=e.Zi(4,h,null,r,a),n?n.Ei(i):n=i):qk(e,r)),n}function Fbn(e,t,n){var r,i,a,h;return r=e.Xc(t),r!=-1&&(e.ej()?(a=e.fj(),h=HV(e,r),i=e.Zi(4,h,null,r,a),n?n.Ei(i):n=i):HV(e,r)),n}function oft(e,t){var n;switch(n=l(Vc(e.b,t),124).n,t.g){case 1:e.t>=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function Vk(){Vk=Ee,WR=new Yz(WG,0),GR=new Yz(Afe,1),KR=new Yz(Mfe,2),YR=new Yz(Lfe,3),WR.a=!1,GR.a=!0,KR.a=!1,YR.a=!0}function xM(){xM=Ee,XR=new Kz(WG,0),cK=new Kz(Afe,1),lK=new Kz(Mfe,2),QR=new Kz(Lfe,3),XR.a=!1,cK.a=!0,lK.a=!1,QR.a=!0}function jbn(e){var t;t=e.a;do t=l(hi(new Rr(zr(bl(t).a.Kc(),new J))),17).c.i,t.k==(gr(),po)&&e.b.Fc(t);while(t.k==(gr(),po));e.b=v2(e.b)}function $bn(e){var t,n,r;for(r=e.c.a,e.p=(ui(r),new Ah(r)),n=new M(r);n.a<n.c.c.length;)t=l(se(n),10),t.p=k4n(t).a;In(),fo(e.p,new hne)}function cft(e){var t,n,r,i;if(r=0,i=$4(e),i.c.length==0)return 1;for(n=new M(i);n.a<n.c.c.length;)t=l(se(n),33),r+=cft(t);return r}function Hbn(e,t){var n,r,i;for(i=0,r=l(l(_s(e.r,t),21),84).Kc();r.Ob();)n=l(r.Pb(),111),i+=n.d.b+n.b.rf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function zbn(e,t){var n,r,i;for(i=0,r=l(l(_s(e.r,t),21),84).Kc();r.Ob();)n=l(r.Pb(),111),i+=n.d.d+n.b.rf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function Vbn(e,t,n,r){if(t.a<r.a)return!0;if(t.a==r.a){if(t.b<r.b)return!0;if(t.b==r.b&&e.b>n.b)return!0}return!1}function uue(e,t){return _o(e)?!!wyt[t]:e.hm?!!e.hm[t]:a4(e)?!!byt[t]:s4(e)?!!vyt[t]:!1}function Uc(e,t,n){return n==null?(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),$U(e.o,t)):(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),iG(e.o,t,n)),e}function qbn(e,t,n,r){var i,a;a=t.Xe((Yi(),F_))?l(t.We(F_),21):e.j,i=Dmn(a),i!=(FG(),H1e)&&(n&&!xke(i)||O8e(x6n(e,i,r),t))}function KU(e,t,n,r){var i,a,h;return a=Rn(e.Tg(),t),i=t-e.Ah(),i<0?(h=e.Yg(a),h>=0?e._g(h,n,!0):Cy(e,a,n)):l(a,66).Nj().Pj(e,e.yh(),i,n,r)}function Ubn(e,t,n,r){var i,a,h;n.mh(t)&&(Sc(),nle(t)?(i=l(n.ah(t),153),pbn(e,i)):(a=(h=t,h?l(r,49).xh(h):null),a&&Wnn(n.ah(t),a)))}function Gbn(e){switch(e.g){case 1:return vy(),UR;case 3:return vy(),qR;case 2:return vy(),V1e;case 4:return vy(),z1e;default:return null}}function Ake(e){switch(typeof e){case $he:return Nm(e);case EEe:return Sa(e);case Xk:return er(),e?1231:1237;default:return e==null?0:Kw(e)}}function Wbn(e,t,n){if(e.e)switch(e.b){case 1:xhn(e.c,t,n);break;case 0:khn(e.c,t,n)}else Gst(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function lft(e){var t,n;if(e==null)return null;for(n=Ue(up,dt,193,e.length,0,2),t=0;t<n.length;t++)n[t]=l(g0n(e[t],e[t].length),193);return n}function YU(e){var t;if(Dle(e))return XV(e),e.Lk()&&(t=LM(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw ue(new Gl)}function Kbn(e,t){var n,r,i,a;return a=e.o,n=e.p,a<n?a*=a:n*=n,r=a+n,a=t.o,n=t.p,a<n?a*=a:n*=n,i=a+n,r<i?-1:r==i?0:1}function Pm(e,t){var n,r,i;if(i=zft(e,t),i>=0)return i;if(e.Fk()){for(r=0;r<e.i;++r)if(n=e.Gk(l(e.g[r],56)),Je(n)===Je(t))return r}return-1}function z6(e,t,n){var r,i;if(i=e.gc(),t>=i)throw ue(new h4(t,i));if(e.hi()&&(r=e.Xc(n),r>=0&&r!=t))throw ue(new Jn(NR));return e.mi(t,n)}function Mke(e,t){if(this.a=l(ui(e),245),this.b=l(ui(t),245),e.vd(t)>0||e==(aae(),x1e)||t==(sae(),k1e))throw ue(new Jn("Invalid range: "+zst(e,t)))}function uft(e){var t,n;for(this.b=new yt,this.c=e,this.a=!1,n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),10),this.a=this.a|t.k==(gr(),za)}function Ybn(e,t){var n,r,i;for(n=Yw(new r2,e),i=new M(t);i.a<i.c.c.length;)r=l(se(i),121),v1(o1(a1(c1(s1(new kd,0),0),n),r));return n}function hft(e,t,n){var r,i,a;for(i=new Rr(zr((t?bl(e):$a(e)).a.Kc(),new J));Ei(i);)r=l(hi(i),17),a=t?r.c.i:r.d.i,a.k==(gr(),kf)&&el(a,n)}function I4(){I4=Ee,wY=new eV(Yp,0),gge=new eV("PORT_POSITION",1),D_=new eV("NODE_SIZE_WHERE_SPACE_PERMITS",2),O_=new eV("NODE_SIZE",3)}function ep(){ep=Ee,ipe=new bA("AUTOMATIC",0),TB=new bA(e8,1),SB=new bA(t8,2),UY=new bA("TOP",3),VY=new bA(UEe,4),qY=new bA(P9,5)}function Lke(e,t,n,r){m9();var i,a;for(i=0,a=0;a<n;a++)i=sc(Zo(Wa(t[a],Nc),Wa(r,Nc)),Wa(li(i),Nc)),e[a]=li(i),i=d4(i,32);return li(i)}function Ike(e,t,n){var r,i;for(i=0,r=0;r<$1e;r++)i=v.Math.max(i,Ble(e.a[t.g][r],n));return t==(G1(),$u)&&e.b&&(i=v.Math.max(i,e.b.b)),i}function XU(e,t){var n,r;if(L4e(t>0),(t&-t)==t)return Sa(t*rf(e,31)*4656612873077393e-25);do n=rf(e,31),r=n%t;while(n-r+(t-1)<0);return Sa(r)}function Nm(e){xtt();var t,n,r;return n=":"+e,r=iK[n],r!=null?Sa((Xn(r),r)):(r=CCe[n],t=r==null?j_n(e):Sa((Xn(r),r)),ghn(),iK[n]=t,t)}function fft(e,t,n){Zr(n,"Compound graph preprocessor",1),e.a=new ay,bmt(e,t,null),S7n(e,t),c_n(e),ut(t,(mt(),GMe),e.a),e.a=null,qh(e.b),Br(n)}function Xbn(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function Qbn(e){var t,n,r;for(r=l(_s(e.a,(W6(),$K)),15).Kc();r.Ob();)n=l(r.Pb(),101),t=zke(n),bE(e,n,t[0],(my(),qy),0),bE(e,n,t[1],Uy,1)}function Zbn(e){var t,n,r;for(r=l(_s(e.a,(W6(),HK)),15).Kc();r.Ob();)n=l(r.Pb(),101),t=zke(n),bE(e,n,t[0],(my(),qy),0),bE(e,n,t[1],Uy,1)}function hue(e){switch(e.g){case 0:return null;case 1:return new flt;case 2:return new $ye;default:throw ue(new Jn(Ade+(e.f!=null?e.f:""+e.g)))}}function PN(e,t,n){var r,i;for(ypn(e,t-e.s,n-e.t),i=new M(e.n);i.a<i.c.c.length;)r=l(se(i),211),Zx(r,r.e+t-e.s),oye(r,r.f+n-e.t);e.s=t,e.t=n}function Jbn(e){var t,n,r,i,a;for(n=0,i=new M(e.a);i.a<i.c.c.length;)r=l(se(i),121),r.d=n++;return t=L3n(e),a=null,t.c.length>1&&(a=Ybn(e,t)),a}function fue(e){var t;return e.f&&e.f.kh()&&(t=l(e.f,49),e.f=l(Zv(e,t),82),e.f!=t&&e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,8,t,e.f))),e.f}function due(e){var t;return e.i&&e.i.kh()&&(t=l(e.i,49),e.i=l(Zv(e,t),82),e.i!=t&&e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,7,t,e.i))),e.i}function Ac(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=l(Zv(e,t),18),e.b!=t&&e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,21,t,e.b))),e.b}function QU(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.Sh(),p_n(e,e.f+1),i=(r&as)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.uj()),n.Fc(t),++e.f)}function Oke(e,t,n){var r;return t.Kj()?!1:t.Zj()!=-2?(r=t.zj(),r==null?n==null:hs(r,n)):t.Hj()==e.e.Tg()&&n==null}function ZU(){var e;Pf(16,cvt),e=rlt(16),this.b=Ue(T1e,gR,317,e,0,1),this.c=Ue(T1e,gR,317,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function qp(e){X4e.call(this),this.k=(gr(),za),this.j=(Pf(6,U4),new Nu(6)),this.b=(Pf(2,U4),new Nu(2)),this.d=new eae,this.f=new Iye,this.a=e}function e2n(e){var t,n;e.c.length<=1||(t=ugt(e,(Mt(),Jr)),Zdt(e,l(t.a,19).a,l(t.b,19).a),n=ugt(e,nr),Zdt(e,l(n.a,19).a,l(n.b,19).a))}function kM(){kM=Ee,EIe=new lP("SIMPLE",0),mge=new lP(Gfe,1),vge=new lP("LINEAR_SEGMENTS",2),UL=new lP("BRANDES_KOEPF",3),GL=new lP(Pbt,4)}function Dke(e,t,n){wk(l(re(t,(Nt(),ba)),98))||(C_e(e,t,Rm(t,n)),C_e(e,t,Rm(t,(Mt(),Jr))),C_e(e,t,Rm(t,Qn)),In(),fo(t.j,new UD(e)))}function dft(e,t,n,r){var i,a,h;for(i=l(_s(r?e.a:e.b,t),21),h=i.Kc();h.Ob();)if(a=l(h.Pb(),33),xG(e,n,a))return!0;return!1}function gue(e){var t,n;for(n=new Ir(e);n.e!=n.i.gc();)if(t=l(Ur(n),87),t.e||(!t.d&&(t.d=new Ba(Fc,t,1)),t.d).i!=0)return!0;return!1}function pue(e){var t,n;for(n=new Ir(e);n.e!=n.i.gc();)if(t=l(Ur(n),87),t.e||(!t.d&&(t.d=new Ba(Fc,t,1)),t.d).i!=0)return!0;return!1}function t2n(e){var t,n,r;for(t=0,r=new M(e.c.a);r.a<r.c.c.length;)n=l(se(r),10),t+=Np(new Rr(zr($a(n).a.Kc(),new J)));return t/e.c.a.c.length}function gft(e){var t,n;for(e.c||lEn(e),n=new Th,t=new M(e.a),se(t);t.a<t.c.c.length;)zi(n,l(se(t),407).a);return kr(n.b!=0),sd(n,n.c.b),n}function mue(){mue=Ee,uDe=(lhe(),aDe),lDe=new Ww(8),new Cc((Yi(),J2),lDe),new Cc(ew,8),P8t=iDe,oDe=S8t,cDe=C8t,D8t=new Cc(IB,(er(),!1))}function Pke(e,t,n,r){switch(t){case 7:return!e.e&&(e.e=new $n(oo,e,7,4)),e.e;case 8:return!e.d&&(e.d=new $n(oo,e,8,5)),e.d}return eke(e,t,n,r)}function vue(e){var t;return e.a&&e.a.kh()&&(t=l(e.a,49),e.a=l(Zv(e,t),138),e.a!=t&&e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,5,t,e.a))),e.a}function C2(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function bue(e,t){if(e==null)throw ue(new ok("null key in entry: null="+t));if(t==null)throw ue(new ok("null value in entry: "+e+"=null"))}function n2n(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!(Je(n)===Je(r)||n!=null&&hs(n,r))))return!1;return!t.Ob()}function pft(e,t){var n;return n=pe(de(Eo,1),Gc,25,15,[Ble(e.a[0],t),Ble(e.a[1],t),Ble(e.a[2],t)]),e.d&&(n[0]=v.Math.max(n[0],n[2]),n[2]=n[0]),n}function mft(e,t){var n;return n=pe(de(Eo,1),Gc,25,15,[CU(e.a[0],t),CU(e.a[1],t),CU(e.a[2],t)]),e.d&&(n[0]=v.Math.max(n[0],n[2]),n[2]=n[0]),n}function A2(){A2=Ee,T0e=new cP("GREEDY",0),kMe=new cP(ybt,1),S0e=new cP(Gfe,2),OL=new cP("MODEL_ORDER",3),IL=new cP("GREEDY_MODEL_ORDER",4)}function vft(e,t){var n,r,i;for(e.b[t.g]=1,r=$i(t.d,0);r.b!=r.d.c;)n=l(ji(r),188),i=n.c,e.b[i.g]==1?zi(e.a,n):e.b[i.g]==2?e.b[i.g]=1:vft(e,i)}function r2n(e,t){var n,r,i;for(i=new Nu(t.gc()),r=t.Kc();r.Ob();)n=l(r.Pb(),286),n.c==n.f?p9(e,n,n.c):t4n(e,n)||(i.c[i.c.length]=n);return i}function i2n(e,t,n){var r,i,a,h,d;for(d=e.r+t,e.r+=t,e.d+=n,r=n/e.n.c.length,i=0,h=new M(e.n);h.a<h.c.c.length;)a=l(se(h),211),d6n(a,d,r,i),++i}function s2n(e){var t,n,r;for(XC(e.b.a),e.a=Ue(sK,Ht,57,e.c.c.a.b.c.length,0,1),t=0,r=new M(e.c.c.a.b);r.a<r.c.c.length;)n=l(se(r),57),n.f=t++}function a2n(e){var t,n,r;for(XC(e.b.a),e.a=Ue(t0e,Ht,81,e.c.a.a.b.c.length,0,1),t=0,r=new M(e.c.a.a.b);r.a<r.c.c.length;)n=l(se(r),81),n.i=t++}function o2n(e,t,n){var r;Zr(n,"Shrinking tree compaction",1),Zt(Xt(re(t,(qE(),SL))))?(_gn(e,t.f),Xot(t.f,(r=t.c,r))):Xot(t.f,t.c),Br(n)}function bft(e){var t;if(t=omn(e),!Ei(e))throw ue(new Qc("position (0) must be less than the number of elements that remained ("+t+")"));return hi(e)}function wft(e,t,n){var r;try{return V6(e,t+e.j,n+e.k)}catch(i){throw i=ea(i),Le(i,73)?(r=i,ue(new Qc(r.g+YG+t+bc+n+")."))):ue(i)}}function c2n(e,t,n){var r;try{return xft(e,t+e.j,n+e.k)}catch(i){throw i=ea(i),Le(i,73)?(r=i,ue(new Qc(r.g+YG+t+bc+n+")."))):ue(i)}}function l2n(e,t,n){var r;try{return kft(e,t+e.j,n+e.k)}catch(i){throw i=ea(i),Le(i,73)?(r=i,ue(new Qc(r.g+YG+t+bc+n+")."))):ue(i)}}function yft(e){switch(e.g){case 1:return Mt(),nr;case 4:return Mt(),Qn;case 3:return Mt(),fr;case 2:return Mt(),Jr;default:return Mt(),Dl}}function u2n(e,t,n){t.k==(gr(),za)&&n.k==po&&(e.d=Hle(t,(Mt(),Jr)),e.b=Hle(t,Qn)),n.k==za&&t.k==po&&(e.d=Hle(n,(Mt(),Qn)),e.b=Hle(n,Jr))}function wue(e,t){var n,r,i;for(i=Ll(e,t),r=i.Kc();r.Ob();)if(n=l(r.Pb(),11),re(n,(mt(),Wh))!=null||OA(new C0(n.b)))return!0;return!1}function Nke(e,t){return dh(t,e.e+e.d+(e.c.c.length==0?0:e.b)),gh(t,e.f),e.a=v.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),wt(e.c,t),!0}function h2n(e,t,n){var r,i,a,h;for(h=0,r=n/e.a.c.length,a=new M(e.a);a.a<a.c.c.length;)i=l(se(a),187),PN(i,i.s,i.t+h*r),i2n(i,e.d-i.r+t,r),++h}function f2n(e){var t,n,r,i,a;for(r=new M(e.b);r.a<r.c.c.length;)for(n=l(se(r),29),t=0,a=new M(n.a);a.a<a.c.c.length;)i=l(se(a),10),i.p=t++}function d2n(e,t){var n,r,i,a,h,d;for(i=t.length-1,h=0,d=0,r=0;r<=i;r++)a=t[r],n=O3n(i,r)*jxe(1-e,i-r)*jxe(e,r),h+=a.a*n,d+=a.b*n;return new en(h,d)}function _ft(e,t){var n,r,i,a,h;for(n=t.gc(),e.qi(e.i+n),a=t.Kc(),h=e.i,e.i+=n,r=h;r<e.i;++r)i=a.Pb(),MA(e,r,e.oi(r,i)),e.bi(r,i),e.ci();return n!=0}function g2n(e,t,n){var r,i,a;return e.ej()?(r=e.Vi(),a=e.fj(),++e.j,e.Hi(r,e.oi(r,t)),i=e.Zi(3,null,t,r,a),n?n.Ei(i):n=i):Bet(e,e.Vi(),t),n}function p2n(e,t,n){var r,i,a;return r=l(Re(hu(e.a),t),87),a=(i=r.c,Le(i,88)?l(i,26):(Sn(),Wd)),(a.Db&64?Zv(e.b,a):a)==n?CG(r):NE(r,n),a}function Rke(e,t,n,r,i,a,h,d){var b,E;r&&(b=r.a[0],b&&Rke(e,t,n,b,i,a,h,d),V2n(e,n,r.d,i,a,h,d)&&t.Fc(r),E=r.a[1],E&&Rke(e,t,n,E,i,a,h,d))}function m2n(e,t){var n;return e.a||(n=Ue(Eo,Gc,25,0,15,1),m6(e.b.a,new pt(n)),n.sort(Cct(xe.prototype.te,xe,[])),e.a=new ptt(n,e.d)),jq(e.a,t)}function V6(e,t,n){try{return Uw(dle(e,t,n),1)}catch(r){throw r=ea(r),Le(r,320)?ue(new Qc(Ife+e.o+"*"+e.p+Ofe+t+bc+n+Dfe)):ue(r)}}function xft(e,t,n){try{return Uw(dle(e,t,n),0)}catch(r){throw r=ea(r),Le(r,320)?ue(new Qc(Ife+e.o+"*"+e.p+Ofe+t+bc+n+Dfe)):ue(r)}}function kft(e,t,n){try{return Uw(dle(e,t,n),2)}catch(r){throw r=ea(r),Le(r,320)?ue(new Qc(Ife+e.o+"*"+e.p+Ofe+t+bc+n+Dfe)):ue(r)}}function Eft(e,t){if(e.g==-1)throw ue(new Eh);e.mj();try{e.d._c(e.g,t),e.f=e.d.j}catch(n){throw n=ea(n),Le(n,73)?ue(new Zf):ue(n)}}function v2n(e,t,n){Zr(n,"Linear segments node placement",1),e.b=l(re(t,(mt(),A_)),304),ITn(e,t),g7n(e,t),L7n(e,t),uTn(e),e.a=null,e.b=null,Br(n)}function NN(e,t){var n,r,i,a;for(a=e.gc(),t.length<a&&(t=Cz(new Array(a),t)),i=t,r=e.Kc(),n=0;n<a;++n)la(i,n,r.Pb());return t.length>a&&la(t,a,null),t}function b2n(e,t){var n,r;if(r=e.gc(),t==null){for(n=0;n<r;n++)if(e.Xb(n)==null)return n}else for(n=0;n<r;n++)if(hs(t,e.Xb(n)))return n;return-1}function yue(e,t){var n,r,i;return n=t.cd(),i=t.dd(),r=e.xc(n),!(!(Je(i)===Je(r)||i!=null&&hs(i,r))||r==null&&!e._b(n))}function w2n(e,t){var n,r,i;return t<=22?(n=e.l&(1<<t)-1,r=i=0):t<=44?(n=e.l,r=e.m&(1<<t-22)-1,i=0):(n=e.l,r=e.m,i=e.h&(1<<t-44)-1),qu(n,r,i)}function y2n(e,t){switch(t.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function _2n(e,t){var n,r;switch(r=t.c,n=t.a,e.b.g){case 0:n.d=e.e-r.a-r.d;break;case 1:n.d+=e.e;break;case 2:n.c=e.e-r.a-r.d;break;case 3:n.c=e.e+r.d}}function Bke(e,t,n,r){var i,a;this.a=t,this.c=r,i=e.a,Zwe(this,new en(-i.c,-i.d)),xs(this.b,n),a=r/2,t.a?xP(this.b,0,a):xP(this.b,a,0),wt(e.c,this)}function JU(){JU=Ee,qge=new nV(Yp,0),xOe=new nV(_bt,1),kOe=new nV("EDGE_LENGTH_BY_POSITION",2),_Oe=new nV("CROSSING_MINIMIZATION_BY_POSITION",3)}function _ue(e,t){var n,r;if(n=l(D6(e.g,t),33),n)return n;if(r=l(D6(e.j,t),118),r)return r;throw ue(new og("Referenced shape does not exist: "+t))}function x2n(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw ue(new Jn("Node 'one' must be either source or target of edge 'edge'."))}function k2n(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw ue(new Jn("Node "+t+" is neither source nor target of edge "+e))}function E2n(e,t){var n;switch(t.g){case 2:case 4:n=e.a,e.c.d.n.b<n.d.n.b&&(n=e.c),Em(e,t,(L0(),d0e),n);break;case 1:case 3:Em(e,t,(L0(),d8),null)}}function xue(e,t,n,r,i,a){var h,d,b,E,C;for(h=Cwn(t,n,a),d=n==(Mt(),Qn)||n==nr?-1:1,E=e[n.g],C=0;C<E.length;C++)b=E[C],b>0&&(b+=i),E[C]=h,h+=d*(b+r)}function Tft(e){var t,n,r;for(r=e.f,e.n=Ue(Eo,Gc,25,r,15,1),e.d=Ue(Eo,Gc,25,r,15,1),t=0;t<r;t++)n=l(Kt(e.c.b,t),29),e.n[t]=tft(e,n),e.d[t]=R0t(e,n)}function kue(e,t){var n,r,i;for(i=0,r=2;r<t;r<<=1)e.Db&r&&++i;if(i==0){for(n=t<<=1;n<=128;n<<=1)if(e.Db&n)return 0;return-1}else return i}function Sft(e,t){var n,r,i,a,h;for(h=Wu(e.e.Tg(),t),a=null,n=l(e.g,119),i=0;i<e.i;++i)r=n[i],h.rl(r.ak())&&(!a&&(a=new Hx),fi(a,r));a&&Fmt(e,a)}function Cft(e){var t,n,r;if(!e)return null;if(e.dc())return"";for(r=new wm,n=e.Kc();n.Ob();)t=n.Pb(),zc(r,wi(t)),r.a+=" ";return eoe(r,r.a.length-1)}function Fke(e,t,n){var r,i,a,h,d;for(Lpn(e),i=(e.k==null&&(e.k=Ue(C1e,dt,78,0,0,1)),e.k),a=0,h=i.length;a<h;++a)r=i[a],Fke(r);d=e.f,d&&Fke(d)}function Aft(e,t){var n=new Array(t),r;switch(e){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var i=0;i<t;++i)n[i]=r;return n}function Ey(e){var t,n,r;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),57),t.c.$b();Bv(e.d)?r=e.a.c:r=e.a.d,fh(r,new Qr(e)),e.c.Me(e),J0t(e)}function Mft(e){var t,n,r,i;for(n=new M(e.e.c);n.a<n.c.c.length;){for(t=l(se(n),282),i=new M(t.b);i.a<i.c.c.length;)r=l(se(i),447),tEe(r);_1t(t)}}function eG(e){var t,n,r,i,a;for(r=0,a=0,i=0,n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),187),a=v.Math.max(a,t.r),r+=t.d+(i>0?e.c:0),++i;e.b=r,e.d=a}function T2n(e,t){var n,r,i,a,h;for(r=0,i=0,n=0,h=new M(t);h.a<h.c.c.length;)a=l(se(h),200),r=v.Math.max(r,a.e),i+=a.b+(n>0?e.g:0),++n;e.c=i,e.d=r}function Lft(e,t){var n;return n=pe(de(Eo,1),Gc,25,15,[Ike(e,(G1(),Hl),t),Ike(e,$u,t),Ike(e,zl,t)]),e.f&&(n[0]=v.Math.max(n[0],n[2]),n[2]=n[0]),n}function S2n(e,t,n){var r;try{TG(e,t+e.j,n+e.k,!1,!0)}catch(i){throw i=ea(i),Le(i,73)?(r=i,ue(new Qc(r.g+YG+t+bc+n+")."))):ue(i)}}function C2n(e,t,n){var r;try{TG(e,t+e.j,n+e.k,!0,!1)}catch(i){throw i=ea(i),Le(i,73)?(r=i,ue(new Qc(r.g+YG+t+bc+n+")."))):ue(i)}}function Ift(e){var t;so(e,(Nt(),Xy))&&(t=l(re(e,Xy),21),t.Hc((F4(),k1))?(t.Mc(k1),t.Fc(E1)):t.Hc(E1)&&(t.Mc(E1),t.Fc(k1)))}function Oft(e){var t;so(e,(Nt(),Xy))&&(t=l(re(e,Xy),21),t.Hc((F4(),S1))?(t.Mc(S1),t.Fc(Hd)):t.Hc(Hd)&&(t.Mc(Hd),t.Fc(S1)))}function A2n(e,t,n){Zr(n,"Self-Loop ordering",1),ya(ch($s($s(Al(new jn(null,new zn(t.b,16)),new v$),new tte),new nte),new rte),new Z3(e)),Br(n)}function RN(e,t,n,r){var i,a;for(i=t;i<e.c.length;i++)if(a=(Un(i,e.c.length),l(e.c[i],11)),n.Mb(a))r.c[r.c.length]=a;else return i;return e.c.length}function Eue(e,t,n,r){var i,a,h,d;return e.a==null&&I3n(e,t),h=t.b.j.c.length,a=n.d.p,d=r.d.p,i=d-1,i<0&&(i=h-1),a<=i?e.a[i]-e.a[a]:e.a[h-1]-e.a[a]+e.a[i]}function M2n(e){var t,n;if(!e.b)for(e.b=Mq(l(e.f,33).Ag().i),n=new Ir(l(e.f,33).Ag());n.e!=n.i.gc();)t=l(Ur(n),137),wt(e.b,new hae(t));return e.b}function L2n(e){var t,n;if(!e.e)for(e.e=Mq(sce(l(e.f,33)).i),n=new Ir(sce(l(e.f,33)));n.e!=n.i.gc();)t=l(Ur(n),118),wt(e.e,new LKe(t));return e.e}function Dft(e){var t,n;if(!e.a)for(e.a=Mq(dq(l(e.f,33)).i),n=new Ir(dq(l(e.f,33)));n.e!=n.i.gc();)t=l(Ur(n),33),wt(e.a,new uoe(e,t));return e.a}function Ty(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=QEn(e),t)e.yk(t);else try{e.yk(null)}catch(n){if(n=ea(n),!Le(n,60))throw ue(n)}return e.C}function I2n(e){switch(e.q.g){case 5:rdt(e,(Mt(),Qn)),rdt(e,Jr);break;case 4:Ypt(e,(Mt(),Qn)),Ypt(e,Jr);break;default:i1t(e,(Mt(),Qn)),i1t(e,Jr)}}function O2n(e){switch(e.q.g){case 5:idt(e,(Mt(),fr)),idt(e,nr);break;case 4:Xpt(e,(Mt(),fr)),Xpt(e,nr);break;default:s1t(e,(Mt(),fr)),s1t(e,nr)}}function q6(e,t){var n,r,i;for(i=new Qo,r=e.Kc();r.Ob();)n=l(r.Pb(),37),NM(n,i.a,0),i.a+=n.f.a+t,i.b=v.Math.max(i.b,n.f.b);return i.b>0&&(i.b+=t),i}function tG(e,t){var n,r,i;for(i=new Qo,r=e.Kc();r.Ob();)n=l(r.Pb(),37),NM(n,0,i.b),i.b+=n.f.b+t,i.a=v.Math.max(i.a,n.f.a);return i.a>0&&(i.a+=t),i}function Pft(e){var t,n,r;for(r=as,n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),10),so(t,(mt(),au))&&(r=v.Math.min(r,l(re(t,au),19).a));return r}function Nft(e,t){var n,r;if(t.length==0)return 0;for(n=ice(e.a,t[0],(Mt(),nr)),n+=ice(e.a,t[t.length-1],fr),r=0;r<t.length;r++)n+=p3n(e,r,t);return n}function Rft(){DM(),this.c=new yt,this.i=new yt,this.e=new Mp,this.f=new Mp,this.g=new Mp,this.j=new yt,this.a=new yt,this.b=new si,this.k=new si}function Tue(e,t){var n,r;return e.Db>>16==6?e.Cb.ih(e,5,t0,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function D2n(e){EE();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+`
`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(`
`)}return[]}function P2n(e){var t;return t=(Qct(),Iyt),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function Bft(e){var t,n,r;e.b==e.c&&(r=e.a.length,n=wxe(v.Math.max(8,r))<<1,e.b!=0?(t=l1(e.a,n),slt(e,t,r),e.a=t,e.b=0):nYe(e.a,n),e.c=r)}function N2n(e,t){var n;return n=e.b,n.Xe((Yi(),cf))?n.Hf()==(Mt(),nr)?-n.rf().a-ot(Lt(n.We(cf))):t+ot(Lt(n.We(cf))):n.Hf()==(Mt(),nr)?-n.rf().a:t}function BN(e){var t;return e.b.c.length!=0&&l(Kt(e.b,0),70).a?l(Kt(e.b,0),70).a:(t=uce(e),t??""+(e.c?vl(e.c.a,e,0):-1))}function nG(e){var t;return e.f.c.length!=0&&l(Kt(e.f,0),70).a?l(Kt(e.f,0),70).a:(t=uce(e),t??""+(e.i?vl(e.i.j,e,0):-1))}function R2n(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n<e.gc();++n)if(r=l(e.Xb(n),128),n==e.gc()-1||!r.o)return new No(St(n),r);return null}function B2n(e,t,n){var r,i,a,h,d;for(a=e.c,d=n?t:e,r=n?e:t,i=d.p+1;i<r.p;++i)if(h=l(Kt(a.a,i),10),!(h.k==(gr(),j0)||hwn(h)))return!1;return!0}function jke(e){var t,n,r,i,a;for(a=0,i=Oa,r=0,n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),187),a+=t.r+(r>0?e.c:0),i=v.Math.max(i,t.d),++r;e.e=a,e.b=i}function F2n(e){var t,n;if(!e.b)for(e.b=Mq(l(e.f,118).Ag().i),n=new Ir(l(e.f,118).Ag());n.e!=n.i.gc();)t=l(Ur(n),137),wt(e.b,new hae(t));return e.b}function j2n(e,t){var n,r,i;if(t.dc())return fE(),fE(),YB;for(n=new $et(e,t.gc()),i=new Ir(e);i.e!=i.i.gc();)r=Ur(i),t.Hc(r)&&fi(n,r);return n}function $ke(e,t,n,r){return t==0?r?(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),e.o):(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),QP(e.o)):KU(e,t,n,r)}function Sue(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t<n;++t)_P(Re(e.rb,t));if(e.vb)for(t=0,n=e.vb.i;t<n;++t)_P(Re(e.vb,t));jA((Ih(),Vo),e),e.Bb|=1}function Fs(e,t,n,r,i,a,h,d,b,E,C,P,$,K){return d1t(e,t,r,null,i,a,h,d,b,E,$,!0,K),Xxe(e,C),Le(e.Cb,88)&&B4(Jh(l(e.Cb,88)),2),n&&X_e(e,n),Qxe(e,P),e}function $2n(e){var t,n;if(e==null)return null;n=0;try{n=Bf(e,Jo,as)&Aa}catch(r){if(r=ea(r),Le(r,127))t=Wq(e),n=t[0];else throw ue(r)}return vN(n)}function H2n(e){var t,n;if(e==null)return null;n=0;try{n=Bf(e,Jo,as)&Aa}catch(r){if(r=ea(r),Le(r,127))t=Wq(e),n=t[0];else throw ue(r)}return vN(n)}function z2n(e,t){var n,r,i;return i=e.h-t.h,i<0||(n=e.l-t.l,r=e.m-t.m+(n>>22),i+=r>>22,i<0)?!1:(e.l=n&af,e.m=r&af,e.h=i&Kp,!0)}function V2n(e,t,n,r,i,a,h){var d,b;return!(t.Ae()&&(b=e.a.ue(n,r),b<0||!i&&b==0)||t.Be()&&(d=e.a.ue(n,a),d>0||!h&&d==0))}function q2n(e,t){JE();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return Yle(t,pMe)-Yle(e,pMe);case 4:return Yle(e,gMe)-Yle(t,gMe)}return 0}function U2n(e){switch(e.g){case 0:return A0e;case 1:return M0e;case 2:return L0e;case 3:return I0e;case 4:return qK;case 5:return O0e;default:return null}}function rl(e,t,n){var r,i;return r=(i=new rae,k2(i,t),Ru(i,n),fi((!e.c&&(e.c=new _t(i3,e,12,10)),e.c),i),i),Mm(r,0),S4(r,1),Dm(r,!0),Om(r,!0),r}function qk(e,t){var n,r;if(t>=e.i)throw ue(new Zae(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&du(e.g,t+1,e.g,t,r),la(e.g,--e.i,null),e.fi(t,n),e.ci(),n}function Fft(e,t){var n,r;return e.Db>>16==17?e.Cb.ih(e,21,qd,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||e.zh()),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function G2n(e){var t,n,r,i;for(In(),fo(e.c,e.a),i=new M(e.c);i.a<i.c.c.length;)for(r=se(i),n=new M(e.b);n.a<n.c.c.length;)t=l(se(n),679),t.Ke(r)}function W2n(e){var t,n,r,i;for(In(),fo(e.c,e.a),i=new M(e.c);i.a<i.c.c.length;)for(r=se(i),n=new M(e.b);n.a<n.c.c.length;)t=l(se(n),369),t.Ke(r)}function K2n(e){var t,n,r,i,a;for(i=as,a=null,r=new M(e.d);r.a<r.c.c.length;)n=l(se(r),213),n.d.j^n.e.j&&(t=n.e.e-n.d.e-n.a,t<i&&(i=t,a=n));return a}function Hke(){Hke=Ee,b4t=new Nn(a9e,(er(),!1)),p4t=new Nn(o9e,100),dAe=(nM(),J1e),m4t=new Nn(c9e,dAe),v4t=new Nn(l9e,_g),w4t=new Nn(u9e,St(as))}function jft(e,t,n){var r,i,a,h,d,b,E,C;for(E=0,i=e.a[t],a=0,h=i.length;a<h;++a)for(r=i[a],C=gM(r,n),b=C.Kc();b.Ob();)d=l(b.Pb(),11),ds(e.f,d,St(E++))}function Y2n(e,t,n){var r,i,a,h;if(n)for(i=n.a.length,r=new c2(i),h=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);h.Ob();)a=l(h.Pb(),19),En(e,t,Gk(x4(n,a.a)))}function X2n(e,t,n){var r,i,a,h;if(n)for(i=n.a.length,r=new c2(i),h=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);h.Ob();)a=l(h.Pb(),19),En(e,t,Gk(x4(n,a.a)))}function zke(e){nb();var t;return t=l(NN(xk(e.k),Ue(yc,ru,61,2,0,1)),122),OE(t,0,t.length,null),t[0]==(Mt(),Qn)&&t[1]==nr&&(la(t,0,nr),la(t,1,Qn)),t}function $ft(e,t,n){var r,i,a;return i=N_n(e,t,n),a=M7e(e,i),Xce(e.b),Ace(e,t,n),In(),fo(i,new xWe(e)),r=M7e(e,i),Xce(e.b),Ace(e,n,t),new No(St(a),St(r))}function Hft(){Hft=Ee,Axt=ss(new eo,(vc(),hl),(Mc(),ML)),EY=new Ua("linearSegments.inputPrio",St(0)),TY=new Ua("linearSegments.outputPrio",St(0))}function l9(){l9=Ee,SY=new tV("P1_TREEIFICATION",0),ZL=new tV("P2_NODE_ORDERING",1),yB=new tV("P3_NODE_PLACEMENT",2),JL=new tV("P4_EDGE_ROUTING",3)}function O4(){O4=Ee,Vkt=(Yi(),A8),qkt=ew,jkt=Z2,$kt=j_,Hkt=_b,Fkt=F_,bOe=PB,zkt=y5,zge=(h7e(),Ikt),Vge=Okt,wOe=Dkt,NY=Pkt,RY=Nkt,xB=Rkt,yOe=Bkt}function Rf(){Rf=Ee,BB=new iV("UNKNOWN",0),fp=new iV("ABOVE",1),xb=new iV("BELOW",2),RB=new iV("INLINE",3),new Ua("org.eclipse.elk.labelSide",BB)}function zft(e,t){var n;if(e.ni()&&t!=null){for(n=0;n<e.i;++n)if(hs(t,e.g[n]))return n}else for(n=0;n<e.i;++n)if(Je(e.g[n])===Je(t))return n;return-1}function Q2n(e,t,n){var r,i;return t.c==(Oc(),Hu)&&n.c==Kh?-1:t.c==Kh&&n.c==Hu?1:(r=Dut(t.a,e.a),i=Dut(n.a,e.a),t.c==Hu?i-r:r-i)}function D4(e,t,n){if(n&&(t<0||t>n.a.c.length))throw ue(new Jn("index must be >= 0 and <= layer node count"));e.c&&uh(e.c.a,e),e.c=n,n&&f4(n.a,t,e)}function Vft(e,t){var n,r,i;for(r=new Rr(zr(zp(e).a.Kc(),new J));Ei(r);)return n=l(hi(r),17),i=l(t.Kb(n),10),new j7(ui(i.n.b+i.o.b/2));return KC(),KC(),_1e}function qft(e,t){this.c=new si,this.a=e,this.b=t,this.d=l(re(e,(mt(),A_)),304),Je(re(e,(Nt(),eIe)))===Je((tN(),UK))?this.e=new wYe:this.e=new bYe}function Z2n(e,t){var n,r,i,a;for(a=0,r=new M(e);r.a<r.c.c.length;)n=l(se(r),33),a+=v.Math.pow(n.g*n.f-t,2);return i=v.Math.sqrt(a/(e.c.length-1)),i}function EM(e,t){var n,r;return r=null,e.Xe((Yi(),M8))&&(n=l(e.We(M8),94),n.Xe(t)&&(r=n.We(t))),r==null&&e.yf()&&(r=e.yf().We(t)),r==null&&(r=zt(t)),r}function Cue(e,t){var n,r;n=e.Zc(t);try{return r=n.Pb(),n.Qb(),r}catch(i){throw i=ea(i),Le(i,109)?ue(new Qc("Can't remove element "+t)):ue(i)}}function J2n(e,t){var n,r,i;if(r=new Nz,i=new bxe(r.q.getFullYear()-ab,r.q.getMonth(),r.q.getDate()),n=e7n(e,t,i),n==0||n<t.length)throw ue(new Jn(t));return i}function Vke(e,t){var n,r,i;for(Xn(t),L4e(t!=e),i=e.b.c.length,r=t.Kc();r.Ob();)n=r.Pb(),wt(e.b,Xn(n));return i!=e.b.c.length?(Mxe(e,0),!0):!1}function FN(){FN=Ee,vAe=(Yi(),WY),new Cc(lpe,(er(),!0)),_4t=Z2,x4t=j_,k4t=_b,y4t=F_,wAe=PB,E4t=y5,mAe=(Hke(),b4t),gAe=m4t,pAe=v4t,bAe=w4t,mK=p4t}function ewn(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw ue(new Jn("'port' must be either the source port or target port of the edge."))}function twn(e,t,n){var r,i;switch(i=e.o,r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function qke(e,t,n,r){var i,a,h,d;for(el(t,l(r.Xb(0),29)),d=r.bd(1,r.gc()),a=l(n.Kb(t),20).Kc();a.Ob();)i=l(a.Pb(),17),h=i.c.i==t?i.d.i:i.c.i,qke(e,h,n,d)}function Uft(e){var t;return t=new si,so(e,(mt(),U0e))?l(re(e,U0e),83):(ya($s(new jn(null,new zn(e.j,16)),new dte),new nk(t)),ut(e,U0e,t),t)}function Uke(e,t){var n,r;return e.Db>>16==6?e.Cb.ih(e,6,oo,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Fu(),iX)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Gke(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,1,qB,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Fu(),PPe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Wke(e,t){var n,r;return e.Db>>16==9?e.Cb.ih(e,9,fa,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Fu(),RPe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Gft(e,t){var n,r;return e.Db>>16==5?e.Cb.ih(e,9,dX,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Sn(),Zm)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Kke(e,t){var n,r;return e.Db>>16==3?e.Cb.ih(e,0,GB,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Sn(),Qm)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Wft(e,t){var n,r;return e.Db>>16==7?e.Cb.ih(e,6,t0,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Sn(),ev)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Kft(){this.a=new sH,this.g=new ZU,this.j=new ZU,this.b=new si,this.d=new ZU,this.i=new ZU,this.k=new si,this.c=new si,this.e=new si,this.f=new si}function nwn(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;i<a;i++)if(r=Re(e,i),t==null){if(r==null)return i}else if(Je(t)===Je(r)||hs(t,r))return i;return-1}function rwn(e,t){var n,r;return n=t.Hh(e.a),n?(r=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),zW)),Tn(jR,r)?jA(e,Df(t.Hj())):r):null}function u9(e,t){var n,r;if(t){if(t==e)return!0;for(n=0,r=l(t,49).eh();r&&r!=t;r=r.eh()){if(++n>gfe)return u9(e,r);if(r==e)return!0}}return!1}function iwn(e){switch(kV(),e.q.g){case 5:O1t(e,(Mt(),Qn)),O1t(e,Jr);break;case 4:C0t(e,(Mt(),Qn)),C0t(e,Jr);break;default:Cmt(e,(Mt(),Qn)),Cmt(e,Jr)}}function swn(e){switch(kV(),e.q.g){case 5:W1t(e,(Mt(),fr)),W1t(e,nr);break;case 4:ift(e,(Mt(),fr)),ift(e,nr);break;default:Amt(e,(Mt(),fr)),Amt(e,nr)}}function awn(e){var t,n;t=l(re(e,(X1(),f4t)),19),t?(n=t.a,n==0?ut(e,(Kv(),pK),new Kle):ut(e,(Kv(),pK),new Dq(n))):ut(e,(Kv(),pK),new Dq(1))}function own(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function cwn(e,t){switch(e.g){case 0:return t==(cd(),mb)?NK:RK;case 1:return t==(cd(),mb)?NK:nB;case 2:return t==(cd(),mb)?nB:RK;default:return nB}}function jN(e,t){var n,r,i;for(uh(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),i=PTe,r=new M(e.a);r.a<r.c.c.length;)n=l(se(r),187),i=v.Math.max(i,n.d);e.b=i}function Yke(e,t){var n,r;return e.Db>>16==3?e.Cb.ih(e,12,fa,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Fu(),DPe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Xke(e,t){var n,r;return e.Db>>16==11?e.Cb.ih(e,10,fa,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Fu(),NPe)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Yft(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,11,qd,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Sn(),Jm)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Xft(e,t){var n,r;return e.Db>>16==10?e.Cb.ih(e,12,Ud,t):(r=Ac(l(Rn((n=l(Kn(e,16),26),n||(Sn(),C5)),e.Db>>16),18)),e.Cb.ih(e,r.n,r.f,t))}function Md(e){var t;return!(e.Bb&1)&&e.r&&e.r.kh()&&(t=l(e.r,49),e.r=l(Zv(e,t),138),e.r!=t&&e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,8,t,e.r))),e.r}function Aue(e,t,n){var r;return r=pe(de(Eo,1),Gc,25,15,[_8e(e,(G1(),Hl),t,n),_8e(e,$u,t,n),_8e(e,zl,t,n)]),e.f&&(r[0]=v.Math.max(r[0],r[2]),r[2]=r[0]),r}function lwn(e,t){var n,r,i;if(i=r2n(e,t),i.c.length!=0)for(fo(i,new Uee),n=i.c.length,r=0;r<n;r++)p9(e,(Un(r,i.c.length),l(i.c[r],286)),Mxn(e,i,r))}function uwn(e){var t,n,r,i;for(i=l(_s(e.a,(W6(),BK)),15).Kc();i.Ob();)for(r=l(i.Pb(),101),n=xk(r.k).Kc();n.Ob();)t=l(n.Pb(),61),bE(e,r,t,(my(),pb),1)}function hwn(e){var t,n;if(e.k==(gr(),po)){for(n=new Rr(zr(zp(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),17),!pc(t)&&e.c==r8e(t,e).c)return!0}return!1}function fwn(e){var t,n;if(e.k==(gr(),po)){for(n=new Rr(zr(zp(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),17),!pc(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function dwn(e,t){var n,r,i,a;for(Zr(t,"Dull edge routing",1),a=$i(e.b,0);a.b!=a.d.c;)for(i=l(ji(a),86),r=$i(i.d,0);r.b!=r.d.c;)n=l(ji(r),188),Sd(n.a)}function gwn(e,t){var n,r,i,a,h;if(t)for(i=t.a.length,n=new c2(i),h=(n.b-n.a)*n.c<0?(Nv(),Ob):new jv(n);h.Ob();)a=l(h.Pb(),19),r=SE(t,a.a),r&&y0t(e,r)}function pwn(){f3e();var e,t;for(PTn((Vv(),Gn)),STn(Gn),Sue(Gn),XPe=(Sn(),U0),t=new M(sNe);t.a<t.c.c.length;)e=l(se(t),241),S9(e,U0,null);return!0}function Qke(e,t){var n,r,i,a,h,d,b,E;return b=e.h>>19,E=t.h>>19,b!=E?E-b:(i=e.h,d=t.h,i!=d?i-d:(r=e.m,h=t.m,r!=h?r-h:(n=e.l,a=t.l,n-a)))}function rG(){rG=Ee,jCe=(kG(),j1e),FCe=new Nn(jEe,jCe),BCe=(Yq(),F1e),RCe=new Nn($Ee,BCe),NCe=(VU(),B1e),PCe=new Nn(HEe,NCe),DCe=new Nn(zEe,(er(),!0))}function TM(e,t,n){var r,i;r=t*n,Le(e.g,145)?(i=Lk(e),i.f.d?i.f.a||(e.d.a+=r+N0):(e.d.d-=r+N0,e.d.a+=r+N0)):Le(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function Qft(e,t,n){var r,i,a,h,d;for(i=e[n.g],d=new M(t.d);d.a<d.c.c.length;)h=l(se(d),101),a=h.i,a&&a.i==n&&(r=h.d[n.g],i[r]=v.Math.max(i[r],a.j.b))}function mwn(e,t){var n,r,i,a,h;for(r=0,i=0,n=0,h=new M(t.d);h.a<h.c.c.length;)a=l(se(h),443),eG(a),r=v.Math.max(r,a.b),i+=a.d+(n>0?e.g:0),++n;t.b=r,t.e=i}function Zft(e){var t,n,r;if(r=e.b,bQe(e.i,r.length)){for(n=r.length*2,e.b=Ue(T1e,gR,317,n,0,1),e.c=Ue(T1e,gR,317,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)GN(e,t,t);++e.g}}function vwn(e,t,n,r){var i,a,h,d;for(i=0;i<t.o;i++)for(a=i-t.j+n,h=0;h<t.p;h++)d=h-t.k+r,V6(t,i,h)?l2n(e,a,d)||S2n(e,a,d):kft(t,i,h)&&(wft(e,a,d)||C2n(e,a,d))}function bwn(e,t,n){var r;r=t.c.i,r.k==(gr(),po)?(ut(e,(mt(),e0),l(re(r,e0),11)),ut(e,Fd,l(re(r,Fd),11))):(ut(e,(mt(),e0),t.c),ut(e,Fd,n.d))}function h9(e,t,n){J6();var r,i,a,h,d,b;return h=t/2,a=n/2,r=v.Math.abs(e.a),i=v.Math.abs(e.b),d=1,b=1,r>h&&(d=h/r),i>a&&(b=a/i),ug(e,v.Math.min(d,b)),e}function wwn(){MG();var e,t;try{if(t=l(o8e((Pv(),Gd),q9),2014),t)return t}catch(n){if(n=ea(n),Le(n,102))e=n,K5e((mi(),e));else throw ue(n)}return new $x}function ywn(){Vot();var e,t;try{if(t=l(o8e((Pv(),Gd),$2),2024),t)return t}catch(n){if(n=ea(n),Le(n,102))e=n,K5e((mi(),e));else throw ue(n)}return new Y3}function _wn(){MG();var e,t;try{if(t=l(o8e((Pv(),Gd),Nd),1941),t)return t}catch(n){if(n=ea(n),Le(n,102))e=n,K5e((mi(),e));else throw ue(n)}return new iie}function xwn(e,t,n){var r,i;return i=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(r=new go(e,1,4,i,t),n?n.Ei(r):n=r),i!=t&&(t?n=S9(e,mG(e,t),n):n=S9(e,e.a,n)),n}function Jft(){Nz.call(this),this.e=-1,this.a=!1,this.p=Jo,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Jo}function kwn(e,t){var n,r,i;if(r=e.b.d.d,e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=ja(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Ewn(e,t){var n,r,i;if(r=e.b.b.d,e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=ja(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Twn(e,t){var n,r,i;if(r=e.b.g.d,e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=ja(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Zke(){Zke=Ee,S4t=Vh(ss(ss(ss(new eo,(vc(),Au),(Mc(),eMe)),Au,tMe),hl,nMe),hl,VAe),A4t=ss(ss(new eo,Au,RAe),Au,qAe),C4t=Vh(new eo,hl,GAe)}function Swn(e){var t,n,r,i,a;for(t=l(re(e,(mt(),RL)),83),a=e.n,r=t.Cc().Kc();r.Ob();)n=l(r.Pb(),306),i=n.i,i.c+=a.a,i.d+=a.b,n.c?pgt(n):mgt(n);ut(e,RL,null)}function Cwn(e,t,n){var r,i;switch(i=e.b,r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function Awn(e){var t,n,r,i,a;if(r=0,i=R9,e.b)for(t=0;t<360;t++)n=t*.017453292519943295,z7e(e,e.d,0,0,u_,n),a=e.b.ig(e.d),a<i&&(r=n,i=a);z7e(e,e.d,0,0,u_,r)}function Mwn(e,t){var n,r,i,a;for(a=new si,t.e=null,t.f=null,r=new M(t.i);r.a<r.c.c.length;)n=l(se(r),65),i=l(Tr(e.g,n.a),46),n.a=JV(n.b),ds(a,n.a,i);e.g=a}function Lwn(e,t,n){var r,i,a,h,d,b;for(i=t-e.e,a=i/e.d.c.length,h=0,b=new M(e.d);b.a<b.c.c.length;)d=l(se(b),443),r=e.b-d.b+n,Sht(d,d.e+h*a,d.f),h2n(d,a,r),++h}function edt(e){var t;if(e.f.qj(),e.b!=-1){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if(t=e.f.d[e.a],t&&t.i!=0){e.b=0;return}e.b=-1}function Iwn(e,t){var n,r,i;for(i=t.c.length,n=L4n(e,i==0?"":(Un(0,t.c.length),wi(t.c[0]))),r=1;r<i&&n;++r)n=l(n,49).oh((Un(r,t.c.length),wi(t.c[r])));return n}function tdt(e,t){var n,r;for(r=new M(t);r.a<r.c.c.length;)n=l(se(r),10),e.c[n.c.p][n.p].a=$5e(e.i),e.c[n.c.p][n.p].d=ot(e.c[n.c.p][n.p].a),e.c[n.c.p][n.p].b=1}function Own(e,t){var n,r,i,a;for(a=0,r=new M(e);r.a<r.c.c.length;)n=l(se(r),157),a+=v.Math.pow(Mh(n)*vf(n)-t,2);return i=v.Math.sqrt(a/(e.c.length-1)),i}function ndt(e,t,n,r){var i,a,h;return a=skn(e,t,n,r),h=R7e(e,a),Fue(e,t,n,r),Xce(e.b),In(),fo(a,new kWe(e)),i=R7e(e,a),Fue(e,n,t,r),Xce(e.b),new No(St(h),St(i))}function Dwn(e,t,n){var r,i;for(Zr(n,"Interactive node placement",1),e.a=l(re(t,(mt(),A_)),304),i=new M(t.b);i.a<i.c.c.length;)r=l(se(i),29),vxn(e,r);Br(n)}function Pwn(e,t){var n;Zr(t,"General Compactor",1),t.n&&e&&h1(t,f1(e),(_f(),Gf)),n=Cvn(l(nn(e,(O4(),Vge)),380)),n.hg(e),t.n&&e&&h1(t,f1(e),(_f(),Gf))}function Nwn(e,t,n){var r,i;for(mV(e,e.j+t,e.k+n),i=new Ir((!e.a&&(e.a=new Ba(Vd,e,5)),e.a));i.e!=i.i.gc();)r=l(Ur(i),469),Q3e(r,r.a+t,r.b+n);pV(e,e.b+t,e.c+n)}function Jke(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new $n(oo,e,7,4)),Bu(e.e,t,r);case 8:return!e.d&&(e.d=new $n(oo,e,8,5)),Bu(e.d,t,r)}return Nue(e,t,n,r)}function e8e(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new $n(oo,e,7,4)),lc(e.e,t,r);case 8:return!e.d&&(e.d=new $n(oo,e,8,5)),lc(e.d,t,r)}return wle(e,t,n,r)}function Rwn(e,t,n){var r,i,a,h,d;if(n)for(a=n.a.length,r=new c2(a),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),i=SE(n,h.a),i&&I1t(e,i,t)}function iG(e,t,n){var r,i,a,h,d;return e.qj(),a=t==null?0:Ws(t),e.f>0&&(h=(a&as)%e.d.length,i=Z8e(e,h,a,t),i)?(d=i.ed(n),d):(r=e.tj(a,t,n),e.c.Fc(r),null)}function t8e(e,t){var n,r,i,a;switch(Im(e,t)._k()){case 3:case 2:{for(n=t_(t),i=0,a=n.i;i<a;++i)if(r=l(Re(n,i),34),ry(tl(e,r))==5)return r;break}}return null}function Bwn(e){var t,n,r,i,a;if(bQe(e.f,e.b.length))for(r=Ue(Eyt,gR,330,e.b.length*2,0,1),e.b=r,i=r.length-1,n=e.a;n!=e;n=n.Rd())a=l(n,330),t=a.d&i,a.a=r[t],r[t]=a}function rdt(e,t){var n,r,i,a;for(a=0,i=l(l(_s(e.r,t),21),84).Kc();i.Ob();)r=l(i.Pb(),111),a=v.Math.max(a,r.e.a+r.b.rf().a);n=l(Vc(e.b,t),124),n.n.b=0,n.a.a=a}function idt(e,t){var n,r,i,a;for(n=0,a=l(l(_s(e.r,t),21),84).Kc();a.Ob();)i=l(a.Pb(),111),n=v.Math.max(n,i.e.b+i.b.rf().b);r=l(Vc(e.b,t),124),r.n.d=0,r.a.b=n}function Fwn(e){var t,n;return n=l(re(e,(mt(),Lu)),21),t=dV(qxt),n.Hc((Pc(),E_))&&Nf(t,Wxt),n.Hc(NL)&&Nf(t,Kxt),n.Hc(uT)&&Nf(t,Uxt),n.Hc(hT)&&Nf(t,Gxt),t}function jwn(e,t){var n;Zr(t,"Delaunay triangulation",1),n=new yt,fh(e.i,new UWe(n)),Zt(Xt(re(e,(qE(),SL)))),e.e?mc(e.e,Vmt(n)):e.e=Vmt(n),Br(t)}function n8e(e){if(e<0)throw ue(new Jn("The input must be positive"));return e<mDe.length?cy(mDe[e]):v.Math.sqrt(u_*e)*(wmn(e,e)/jxe(2.718281828459045,e))}function f9(e,t){var n;if(e.ni()&&t!=null){for(n=0;n<e.i;++n)if(hs(t,e.g[n]))return!0}else for(n=0;n<e.i;++n)if(Je(e.g[n])===Je(t))return!0;return!1}function $wn(e,t){if(t==null){for(;e.a.Ob();)if(l(e.a.Pb(),42).dd()==null)return!0}else for(;e.a.Ob();)if(hs(t,l(e.a.Pb(),42).dd()))return!0;return!1}function Hwn(e,t){var n,r,i;return t===e?!0:Le(t,664)?(i=l(t,1947),$ht((r=e.g,r||(e.g=new PC(e))),(n=i.g,n||(i.g=new PC(i))))):!1}function zwn(e){var t,n,r,i;for(t="Sz",n="ez",i=v.Math.min(e.length,5),r=i-1;r>=0;r--)if(Tn(e[r].d,t)||Tn(e[r].d,n)){e.length>=r+1&&e.splice(0,r+1);break}return e}function $N(e,t){var n;return ml(e)&&ml(t)&&(n=e/t,vR<n&&n<O2)?n<0?v.Math.ceil(n):v.Math.floor(n):Yv(cEe(ml(e)?Cd(e):e,ml(t)?Cd(t):t,!1))}function r8e(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw ue(new Jn("'node' must either be the source node or target node of the edge."))}function Vwn(e){var t,n,r,i;if(i=l(re(e,(mt(),UMe)),37),i){for(r=new Qo,t=cc(e.c.i);t!=i;)n=t.e,t=cc(n),c4(xs(xs(r,n.n),t.c),t.d.b,t.d.d);return r}return G4t}function qwn(e){var t;t=l(re(e,(mt(),dT)),403),ya(Al(new jn(null,new zn(t.d,16)),new cte),new tk(e)),ya($s(new jn(null,new zn(t.d,16)),new y$),new f6(e))}function Mue(e,t){var n,r,i,a;for(i=t?$a(e):bl(e),r=new Rr(zr(i.a.Kc(),new J));Ei(r);)if(n=l(hi(r),17),a=r8e(n,e),a.k==(gr(),po)&&a.c!=e.c)return a;return null}function Uwn(e){var t,n,r;for(n=new M(e.p);n.a<n.c.c.length;)t=l(se(n),10),t.k==(gr(),za)&&(r=t.o.b,e.i=v.Math.min(e.i,r),e.g=v.Math.max(e.g,r))}function sdt(e,t,n){var r,i,a;for(a=new M(t);a.a<a.c.c.length;)r=l(se(a),10),e.c[r.c.p][r.p].e=!1;for(i=new M(t);i.a<i.c.c.length;)r=l(se(i),10),gEe(e,r,n)}function Lue(e,t,n){var r,i;r=j6(t.j,n.s,n.c)+j6(n.e,t.s,t.c),i=j6(n.j,t.s,t.c)+j6(t.e,n.s,n.c),r==i?r>0&&(e.b+=2,e.a+=r):(e.b+=1,e.a+=v.Math.min(r,i))}function adt(e,t){var n,r;if(r=!1,_o(t)&&(r=!0,Ek(e,new p4(wi(t)))),r||Le(t,236)&&(r=!0,Ek(e,(n=o5e(l(t,236)),new BC(n)))),!r)throw ue(new lae(mSe))}function Gwn(e,t,n,r){var i,a,h;return i=new Bp(e.e,1,10,(h=t.c,Le(h,88)?l(h,26):(Sn(),Wd)),(a=n.c,Le(a,88)?l(a,26):(Sn(),Wd)),Pm(e,t),!1),r?r.Ei(i):r=i,r}function i8e(e){var t,n;switch(l(re(cc(e),(Nt(),GLe)),420).g){case 0:return t=e.n,n=e.o,new en(t.a+n.a/2,t.b+n.b/2);case 1:return new Zc(e.n);default:return null}}function HN(){HN=Ee,GK=new gA(Yp,0),IMe=new gA("LEFTUP",1),DMe=new gA("RIGHTUP",2),LMe=new gA("LEFTDOWN",3),OMe=new gA("RIGHTDOWN",4),D0e=new gA("BALANCED",5)}function Wwn(e,t,n){var r,i,a;if(r=ja(e.a[t.p],e.a[n.p]),r==0){if(i=l(re(t,(mt(),b8)),15),a=l(re(n,b8),15),i.Hc(n))return-1;if(a.Hc(t))return 1}return r}function Kwn(e){switch(e.g){case 1:return new lre;case 2:return new ure;case 3:return new cre;case 0:return null;default:throw ue(new Jn(Ade+(e.f!=null?e.f:""+e.g)))}}function s8e(e,t,n){switch(t){case 1:!e.n&&(e.n=new _t(_l,e,1,7)),ei(e.n),!e.n&&(e.n=new _t(_l,e,1,7)),ga(e.n,l(n,14));return;case 2:sM(e,wi(n));return}Txe(e,t,n)}function a8e(e,t,n){switch(t){case 3:dy(e,ot(Lt(n)));return;case 4:gy(e,ot(Lt(n)));return;case 5:dh(e,ot(Lt(n)));return;case 6:gh(e,ot(Lt(n)));return}s8e(e,t,n)}function sG(e,t,n){var r,i,a;a=(r=new rae,r),i=D0(a,t,null),i&&i.Fi(),Ru(a,n),fi((!e.c&&(e.c=new _t(i3,e,12,10)),e.c),a),Mm(a,0),S4(a,1),Dm(a,!0),Om(a,!0)}function o8e(e,t){var n,r,i;return n=lA(e.g,t),Le(n,235)?(i=l(n,235),i.Qh()==null,i.Nh()):Le(n,498)?(r=l(n,1938),i=r.b,i):null}function Ywn(e,t,n,r){var i,a;return ui(t),ui(n),a=l(NA(e.d,t),19),Kot(!!a,"Row %s not in %s",t,e.e),i=l(NA(e.b,n),19),Kot(!!i,"Column %s not in %s",n,e.c),Jlt(e,a.a,i.a,r)}function odt(e,t,n,r,i,a,h){var d,b,E,C,P;if(C=i[a],E=a==h-1,d=E?r:0,P=Aft(d,C),r!=10&&pe(de(e,h-a),t[a],n[a],d,P),!E)for(++a,b=0;b<C;++b)P[b]=odt(e,t,n,r,i,a,h);return P}function SM(e){if(e.g==-1)throw ue(new Eh);e.mj();try{e.i.$c(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(t){throw t=ea(t),Le(t,73)?ue(new Zf):ue(t)}}function CM(e,t){return e.b.a=v.Math.min(e.b.a,t.c),e.b.b=v.Math.min(e.b.b,t.d),e.a.a=v.Math.max(e.a.a,t.c),e.a.b=v.Math.max(e.a.b,t.d),e.c[e.c.length]=t,!0}function Xwn(e){var t,n,r,i;for(i=-1,r=0,n=new M(e);n.a<n.c.c.length;){if(t=l(se(n),243),t.c==(Oc(),Kh)){i=r==0?0:r-1;break}else r==e.c.length-1&&(i=r);r+=1}return i}function Qwn(e){var t,n,r,i;for(i=0,t=0,r=new M(e.c);r.a<r.c.c.length;)n=l(se(r),33),dh(n,e.e+i),gh(n,e.f),i+=n.g+e.b,t=v.Math.max(t,n.f+e.b);e.d=i-e.b,e.a=t-e.b}function U6(e){var t,n,r;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),57),r=t.d.c,t.d.c=t.d.d,t.d.d=r,r=t.d.b,t.d.b=t.d.a,t.d.a=r,r=t.b.a,t.b.a=t.b.b,t.b.b=r;x7e(e)}function G6(e){var t,n,r;for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),81),r=t.g.c,t.g.c=t.g.d,t.g.d=r,r=t.g.b,t.g.b=t.g.a,t.g.a=r,r=t.e.a,t.e.a=t.e.b,t.e.b=r;bG(e)}function Zwn(e){var t,n,r,i,a;for(a=xk(e.k),n=(Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])),r=0,i=n.length;r<i;++r)if(t=n[r],t!=Dl&&!a.Hc(t))return t;return null}function Iue(e,t){var n,r;return r=l(x4e(Sle($s(new jn(null,new zn(t.j,16)),new ene))),11),r&&(n=l(Kt(r.e,0),17),n)?l(re(n,(mt(),au)),19).a:C0n(e.b)}function Jwn(e,t){var n,r,i,a;for(a=new M(t.a);a.a<a.c.c.length;)for(i=l(se(a),10),ZC(e.d),r=new Rr(zr($a(i).a.Kc(),new J));Ei(r);)n=l(hi(r),17),n0t(e,i,n.d.i)}function eyn(e,t){var n,r;for(uh(e.b,t),r=new M(e.n);r.a<r.c.c.length;)if(n=l(se(r),211),vl(n.c,t,0)!=-1){uh(n.c,t),Qwn(n),n.c.c.length==0&&uh(e.n,n);break}f7n(e)}function cdt(e,t){var n,r,i,a,h;for(h=e.f,i=0,a=0,r=new M(e.a);r.a<r.c.c.length;)n=l(se(r),187),PN(n,e.e,h),ZP(n,t),a=v.Math.max(a,n.r),h+=n.d+e.c,i=h;e.d=a,e.b=i}function ldt(e){var t,n;return n=QN(e),CE(n)?null:(t=(ui(n),l(bft(new Rr(zr(n.a.Kc(),new J))),79)),ul(l(Re((!t.b&&(t.b=new $n(Xr,t,4,7)),t.b),0),82)))}function aG(e){var t;return e.o||(t=e.Lj(),t?e.o=new g6e(e,e,null):e.rk()?e.o=new G4e(e,null):ry(tl((Ih(),Vo),e))==1?e.o=new Yst(e):e.o=new voe(e,null)),e.o}function tyn(e,t,n,r){var i,a,h,d,b;n.mh(t)&&(i=(h=t,h?l(r,49).xh(h):null),i&&(b=n.ah(t),d=t.t,d>1||d==-1?(a=l(b,15),i.Wb(nbn(e,a))):i.Wb(mhe(e,l(b,56)))))}function nyn(e,t,n,r){GXe();var i=y1e;function a(){for(var h=0;h<i.length;h++)i[h]()}if(e)try{KEt(a)()}catch(h){e(t,h)}else KEt(a)()}function ryn(e){var t,n,r,i,a;for(r=new x2(new mm(e.b).a);r.b;)n=fy(r),t=l(n.cd(),10),a=l(l(n.dd(),46).a,10),i=l(l(n.dd(),46).b,8),xs(z1(t.n),xs(Fl(a.n),i))}function iyn(e){switch(l(re(e.b,(Nt(),jLe)),375).g){case 1:ya(ch(Al(new jn(null,new zn(e.d,16)),new N$),new Aw),new R$);break;case 2:Wxn(e);break;case 0:A4n(e)}}function syn(e,t,n){var r;Zr(n,"Straight Line Edge Routing",1),n.n&&t&&h1(n,f1(t),(_f(),Gf)),r=l(nn(t,(DA(),rI)),33),Npt(e,r),n.n&&t&&h1(n,f1(t),(_f(),Gf))}function P4(){P4=Ee,ope=new wA("V_TOP",0),LB=new wA("V_CENTER",1),MB=new wA("V_BOTTOM",2),ape=new wA("H_LEFT",3),CB=new wA("H_CENTER",4),AB=new wA("H_RIGHT",5)}function c8e(e){var t;return e.Db&64?RU(e):(t=new Ed(RU(e)),t.a+=" (abstract: ",ym(t,(e.Bb&256)!=0),t.a+=", interface: ",ym(t,(e.Bb&512)!=0),t.a+=")",t.a)}function ayn(e,t,n,r){var i,a,h,d;return pf(e.e)&&(i=t.ak(),d=t.dd(),a=n.dd(),h=Uv(e,1,i,d,a,i.$j()?k9(e,i,a,Le(i,99)&&(l(i,18).Bb&wc)!=0):-1,!0),r?r.Ei(h):r=h),r}function oyn(e){var t;e.c==null&&(t=Je(e.b)===Je(qSe)?null:e.b,e.d=t==null?vh:Lnt(t)?zsn(Urt(t)):_o(t)?CEe:Ov(tf(t)),e.a=e.a+": "+(Lnt(t)?Nan(Urt(t)):t+""),e.c="("+e.d+") "+e.a)}function l8e(e,t){this.e=e,Uw(Wa(t,-4294967296),0)?(this.d=1,this.a=pe(de(ri,1),Pi,25,15,[li(t)])):(this.d=2,this.a=pe(de(ri,1),Pi,25,15,[li(t),li($v(t,32))]))}function cyn(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===Hhe&&Map.prototype.entries&&e()?Map:O9n()}function lyn(e,t){var n,r,i,a;for(a=new Ro(e.e,0),n=0;a.b<a.d.gc();){if(r=ot((kr(a.b<a.d.gc()),Lt(a.d.Xb(a.c=a.b++)))),i=r-t,i>Tde)return n;i>-1e-6&&++n}return n}function u8e(e,t){var n;t!=e.b?(n=null,e.b&&(n=vq(e.b,e,-4,n)),t&&(n=zk(t,e,-4,n)),n=Vut(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,3,t,t))}function udt(e,t){var n;t!=e.f?(n=null,e.f&&(n=vq(e.f,e,-1,n)),t&&(n=zk(t,e,-1,n)),n=qut(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,0,t,t))}function hdt(e){var t,n,r;if(e==null)return null;if(n=l(e,15),n.dc())return"";for(r=new wm,t=n.Kc();t.Ob();)zc(r,(Ts(),wi(t.Pb()))),r.a+=" ";return eoe(r,r.a.length-1)}function fdt(e){var t,n,r;if(e==null)return null;if(n=l(e,15),n.dc())return"";for(r=new wm,t=n.Kc();t.Ob();)zc(r,(Ts(),wi(t.Pb()))),r.a+=" ";return eoe(r,r.a.length-1)}function uyn(e,t,n){var r,i;return r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],r.a!=null&&i.a!=null?zoe(r.a,i.a):r.a!=null?-1:i.a!=null?1:0}function hyn(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new c2(a),d=(n.b-n.a)*n.c<0?(Nv(),Ob):new jv(n);d.Ob();)h=l(d.Pb(),19),i=SE(t,h.a),r=new hKe(e),ehn(r.a,i)}function fyn(e,t){var n,r,i,a,h,d;if(t)for(a=t.a.length,n=new c2(a),d=(n.b-n.a)*n.c<0?(Nv(),Ob):new jv(n);d.Ob();)h=l(d.Pb(),19),i=SE(t,h.a),r=new nKe(e),Jun(r.a,i)}function dyn(e){var t;if(e!=null&&e.length>0&&$o(e,e.length-1)==33)try{return t=l1t(Mf(e,0,e.length-1)),t.e==null}catch(n){if(n=ea(n),!Le(n,32))throw ue(n)}return!1}function ddt(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Uv(e,3,r,null,a,k9(e,r,a,Le(r,99)&&(l(r,18).Bb&wc)!=0),!0):Uv(e,1,r,r.zj(),a,-1,!0),n?n.Ei(i):n=i,n}function gyn(){var e,t,n;for(t=0,e=0;e<1;e++){if(n=n7e((yi(e,1),"X".charCodeAt(e))),n==0)throw ue(new bi("Unknown Option: "+"X".substr(e)));t|=n}return t}function pyn(e,t,n){var r,i,a;switch(r=cc(t),i=OU(r),a=new fu,Cl(a,t),n.g){case 1:Ka(a,AN($k(i)));break;case 2:Ka(a,$k(i))}return ut(a,(Nt(),d5),Lt(re(e,d5))),a}function h8e(e){var t,n;return t=l(hi(new Rr(zr(bl(e.a).a.Kc(),new J))),17),n=l(hi(new Rr(zr($a(e.a).a.Kc(),new J))),17),Zt(Xt(re(t,(mt(),$0))))||Zt(Xt(re(n,$0)))}function W6(){W6=Ee,FK=new oP("ONE_SIDE",0),$K=new oP("TWO_SIDES_CORNER",1),HK=new oP("TWO_SIDES_OPPOSING",2),jK=new oP("THREE_SIDES",3),BK=new oP("FOUR_SIDES",4)}function Oue(e,t,n,r,i){var a,h;a=l(Of($s(t.Oc(),new zte),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),h=l(b2(e.b,n,r),15),i==0?h.Wc(0,a):h.Gc(a)}function myn(e,t){var n,r,i,a,h;for(a=new M(t.a);a.a<a.c.c.length;)for(i=l(se(a),10),r=new Rr(zr(bl(i).a.Kc(),new J));Ei(r);)n=l(hi(r),17),h=n.c.i.p,e.n[h]=e.n[h]-1}function vyn(e,t){var n,r,i,a,h;for(a=new M(t.d);a.a<a.c.c.length;)for(i=l(se(a),101),h=l(Tr(e.c,i),112).o,r=new uk(i.b);r.a<r.c.a.length;)n=l(JA(r),61),x_e(i,n,h)}function byn(e){var t,n;for(n=new M(e.e.b);n.a<n.c.c.length;)t=l(se(n),29),KEn(e,t);ya($s(Al(Al(new jn(null,new zn(e.e.b,16)),new Sne),new K$),new Lne),new BWe(e))}function f8e(e,t){return t?e.Di(t)?!1:e.i?e.i.Ei(t):Le(t,143)?(e.i=l(t,143),!0):(e.i=new zx,e.i.Ei(t)):!1}function wyn(e){if(e=Su(e,!0),Tn(z9,e)||Tn("1",e))return er(),Y9;if(Tn($de,e)||Tn("0",e))return er(),z2;throw ue(new fae("Invalid boolean value: '"+e+"'"))}function d8e(e,t,n){var r,i,a;for(i=e.vc().Kc();i.Ob();)if(r=l(i.Pb(),42),a=r.cd(),Je(t)===Je(a)||t!=null&&hs(t,a))return n&&(r=new Wz(r.cd(),r.dd()),i.Qb()),r;return null}function yyn(e){l4();var t,n,r;e.B.Hc((sf(),eX))&&(r=e.f.i,t=new mq(e.a.c),n=new sk,n.b=t.c-r.c,n.d=t.d-r.d,n.c=r.c+r.b-(t.c+t.b),n.a=r.d+r.a-(t.d+t.a),e.e.Ff(n))}function gdt(e,t,n,r){var i,a,h;for(h=v.Math.min(n,xpt(l(e.b,65),t,n,r)),a=new M(e.a);a.a<a.c.c.length;)i=l(se(a),221),i!=t&&(h=v.Math.min(h,gdt(i,t,h,r)));return h}function g8e(e){var t,n,r,i;for(i=Ue(up,dt,193,e.b.c.length,0,2),r=new Ro(e.b,0);r.b<r.d.gc();)t=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),29)),n=r.b-1,i[n]=qP(t.a);return i}function Due(e,t,n,r,i){var a,h,d,b;for(h=Brn(Xye(g5e(Gbn(n)),r),twn(e,n,i)),b=Rm(e,n).Kc();b.Ob();)d=l(b.Pb(),11),t[d.p]&&(a=t[d.p].i,wt(h.d,new joe(a,Kxe(h,a))));uke(h)}function p8e(e,t){this.f=new si,this.b=new si,this.j=new si,this.a=e,this.c=t,this.c>0&&jft(this,this.c-1,(Mt(),fr)),this.c<this.a.length-1&&jft(this,this.c+1,(Mt(),nr))}function m8e(e){e.length>0&&e[0].length>0&&(this.c=Zt(Xt(re(cc(e[0][0]),(mt(),KMe))))),this.a=Ue(mxt,dt,2018,e.length,0,2),this.b=Ue(vxt,dt,2019,e.length,0,2),this.d=new Rut}function _yn(e){return e.c.length==0?!1:(Un(0,e.c.length),l(e.c[0],17)).c.i.k==(gr(),po)?!0:AE(ch(new jn(null,new zn(e,16)),new vne),new bne)}function xyn(e,t,n){return Zr(n,"Tree layout",1),Cq(e.b),Yg(e.b,(l9(),SY),SY),Yg(e.b,ZL,ZL),Yg(e.b,yB,yB),Yg(e.b,JL,JL),e.a=DG(e.b,t),Q_n(e,t,Eu(n,1)),Br(n),t}function pdt(e,t){var n,r,i,a,h,d,b;for(d=$4(t),a=t.f,b=t.g,h=v.Math.sqrt(a*a+b*b),i=0,r=new M(d);r.a<r.c.c.length;)n=l(se(r),33),i+=pdt(e,n);return v.Math.max(i,h)}function Ao(){Ao=Ee,Eb=new _A(XM,0),V0=new _A("FREE",1),MT=new _A("FIXED_SIDE",2),tw=new _A("FIXED_ORDER",3),gp=new _A("FIXED_RATIO",4),Iu=new _A("FIXED_POS",5)}function kyn(e,t){var n,r,i;if(n=t.Hh(e.a),n){for(i=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),Rd)),r=1;r<(Ih(),lNe).length;++r)if(Tn(lNe[r],i))return r}return 0}function Eyn(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],Rp(a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function Tyn(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],Rp(a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function mdt(e){var t,n,r;for(r=new w2(bc,"{","}"),n=e.vc().Kc();n.Ob();)t=l(n.Pb(),42),Rp(r,Vst(e,t.cd())+"="+Vst(e,t.dd()));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function Syn(e){for(var t,n,r,i;!QC(e.o);)n=l(kk(e.o),46),r=l(n.a,121),t=l(n.b,213),i=NU(t,r),t.e==r?(EV(i.g,t),r.e=i.e+t.a):(EV(i.b,t),r.e=i.e-t.a),wt(e.e.a,r)}function v8e(e,t){var n,r,i;for(n=null,i=l(t.Kb(e),20).Kc();i.Ob();)if(r=l(i.Pb(),17),!n)n=r.c.i==e?r.d.i:r.c.i;else if((r.c.i==e?r.d.i:r.c.i)!=n)return!1;return!0}function vdt(e,t){var n,r,i,a,h;for(n=B0t(e,!1,t),i=new M(n);i.a<i.c.c.length;)r=l(se(i),129),r.d==0?(Ece(r,null),Tce(r,null)):(a=r.a,h=r.b,Ece(r,h),Tce(r,a))}function Cyn(e){var t,n;return t=new eo,Nf(t,Qxt),n=l(re(e,(mt(),Lu)),21),n.Hc((Pc(),NL))&&Nf(t,tkt),n.Hc(uT)&&Nf(t,Zxt),n.Hc(E_)&&Nf(t,ekt),n.Hc(hT)&&Nf(t,Jxt),t}function Ayn(e){var t,n,r,i;for(X7n(e),n=new Rr(zr(zp(e).a.Kc(),new J));Ei(n);)t=l(hi(n),17),r=t.c.i==e,i=r?t.d:t.c,r?So(t,null):ic(t,null),ut(t,(mt(),ZMe),i),B5n(e,i.i)}function Myn(e,t,n,r){var i,a;switch(a=t.i,i=n[a.g][e.d[a.g]],a.g){case 1:i-=r+t.j.b,t.g.b=i;break;case 3:i+=r,t.g.b=i;break;case 4:i-=r+t.j.a,t.g.a=i;break;case 2:i+=r,t.g.a=i}}function Lyn(e){var t,n,r;for(n=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));n.e!=n.i.gc();)if(t=l(Ur(n),33),r=QN(t),!Ei(new Rr(zr(r.a.Kc(),new J))))return t;return null}function Iyn(){var e;return U7t?l(b9((Pv(),Gd),q9),2016):(e=l(Le(xu((Pv(),Gd),q9),555)?xu(Gd,q9):new a0t,555),U7t=!0,NEn(e),VTn(e),Sue(e),Jc(Gd,q9,e),e)}function Pue(e,t,n){var r,i;if(e.j==0)return n;if(i=l($ct(e,t,n),72),r=n.ak(),!r.Ij()||!e.a.rl(r))throw ue(new Tl("Invalid entry feature '"+r.Hj().zb+"."+r.ne()+"'"));return i}function Oyn(e,t){var n,r,i,a,h,d,b,E;for(d=e.a,b=0,E=d.length;b<E;++b)for(h=d[b],r=h,i=0,a=r.length;i<a;++i)if(n=r[i],Je(t)===Je(n)||t!=null&&hs(t,n))return!0;return!1}function Dyn(e){var t,n,r;return nu(e,0)>=0?(n=$N(e,VG),r=IN(e,VG)):(t=d4(e,1),n=$N(t,5e8),r=IN(t,5e8),r=sc(Ip(r,1),Wa(e,1))),T0(Ip(r,32),Wa(n,Nc))}function bdt(e,t,n){var r,i;switch(r=(kr(t.b!=0),l(sd(t,t.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return i=$i(t,0),NP(i,r),t}function wdt(e,t,n,r){var i,a,h,d,b;switch(b=e.b,a=t.d,h=a.j,d=Tke(h,b.d[h.g],n),i=xs(Fl(a.n),a.a),a.j.g){case 1:case 3:d.a+=i.a;break;case 2:case 4:d.b+=i.b}xa(r,d,r.c.b,r.c)}function Pyn(e,t,n){var r,i,a,h;for(h=vl(e.e,t,0),a=new Mye,a.b=n,r=new Ro(e.e,h);r.b<r.d.gc();)i=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),10)),i.p=n,wt(a.e,i),wf(r);return a}function Nyn(e,t,n,r){var i,a,h,d,b;for(i=null,a=0,d=new M(t);d.a<d.c.c.length;)h=l(se(d),33),b=h.i+h.g,e<h.j+h.f+r&&(i?n.i-b<n.i-a&&(i=h):i=h,a=i.i+i.g);return i?a+r:0}function Ryn(e,t,n,r){var i,a,h,d,b;for(a=null,i=0,d=new M(t);d.a<d.c.c.length;)h=l(se(d),33),b=h.j+h.f,e<h.i+h.g+r&&(a?n.j-b<n.j-i&&(a=h):a=h,i=a.j+a.f);return a?i+r:0}function Byn(e){var t,n,r;for(t=!1,r=e.b.c.length,n=0;n<r;n++)Exe(l(Kt(e.b,n),434))?!t&&n+1<r&&Exe(l(Kt(e.b,n+1),434))&&(t=!0,l(Kt(e.b,n),434).a=!0):t=!1}function Fyn(e,t,n,r,i){var a,h;for(a=0,h=0;h<i;h++)a=sc(a,Jv(Wa(t[h],Nc),Wa(r[h],Nc))),e[h]=li(a),a=$v(a,32);for(;h<n;h++)a=sc(a,Wa(t[h],Nc)),e[h]=li(a),a=$v(a,32)}function jyn(e,t){m9();var n,r;for(r=(rb(),JW),n=e;t>1;t>>=1)t&1&&(r=O6(r,n)),n.d==1?n=O6(n,n):n=new Vht(Zgt(n.a,n.d,Ue(ri,Pi,25,n.d<<1,15,1)));return r=O6(r,n),r}function b8e(){b8e=Ee;var e,t,n,r;for(yCe=Ue(Eo,Gc,25,25,15,1),_Ce=Ue(Eo,Gc,25,33,15,1),r=152587890625e-16,t=32;t>=0;t--)_Ce[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)yCe[e]=n,n*=.5}function $yn(e){var t,n;if(Zt(Xt(nn(e,(Nt(),f5))))){for(n=new Rr(zr(Up(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),79),Sy(t)&&Zt(Xt(nn(t,G2))))return!0}return!1}function ydt(e,t){var n,r,i;Ga(e.f,t)&&(t.b=e,r=t.c,vl(e.j,r,0)!=-1||wt(e.j,r),i=t.d,vl(e.j,i,0)!=-1||wt(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new Zht(e)),npn(e.i,n)))}function Hyn(e){var t,n,r,i,a;return n=e.c.d,r=n.j,i=e.d.d,a=i.j,r==a?n.p<i.p?0:1:IU(r)==a?0:Yxe(r)==a?1:(t=e.b,Ch(t.b,IU(r))?0:1)}function oG(){oG=Ee,fge=new mA(Pbt,0),wIe=new mA("LONGEST_PATH",1),hge=new mA("COFFMAN_GRAHAM",2),bIe=new mA(Gfe,3),yIe=new mA("STRETCH_WIDTH",4),vY=new mA("MIN_WIDTH",5)}function M2(e){var t;this.d=new si,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new mnt(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=l(H1(uX),9),new ed(t,l(l1(t,t.length),9),0))}function cG(e,t){var n,r,i,a,h,d;i=e,h=ZA(i,"layoutOptions"),!h&&(h=ZA(i,O2t)),h&&(d=h,r=null,d&&(r=(a=mle(d,Ue(jt,dt,2,0,6,1)),new yae(d,a))),r&&(n=new MZe(d,t),Ho(r,n)))}function ul(e){if(Le(e,239))return l(e,33);if(Le(e,186))return x0(l(e,118));throw ue(e?new bm("Only support nodes and ports."):new ok(H2t))}function zyn(e,t,n,r){return(t>=0&&Tn(e.substr(t,3),"GMT")||t>=0&&Tn(e.substr(t,3),"UTC"))&&(n[0]=t+3),U7e(e,n,r)}function Vyn(e,t){var n,r,i,a,h;for(a=e.g.a,h=e.g.b,r=new M(e.d);r.a<r.c.c.length;)n=l(se(r),70),i=n.n,i.a=a,e.i==(Mt(),Qn)?i.b=h+e.j.b-n.o.b:i.b=h,xs(i,t),a+=n.o.a+e.e}function Zr(e,t,n){if(e.b)throw ue(new pl("The task is already done."));return e.p!=null?!1:(e.p=t,e.r=n,e.k&&(e.o=(Ug(),Zo(ph(Date.now()),Fm))),!0)}function w8e(e){var t,n,r,i,a,h,d;return d=new ak,n=e.tg(),i=n!=null,i&&pE(d,Sg,e.tg()),r=e.ne(),a=r!=null,a&&pE(d,Ki,e.ne()),t=e.sg(),h=t!=null,h&&pE(d,"description",e.sg()),d}function _dt(e,t,n){var r,i,a;return a=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(i=new go(e,1,9,a,t),n?n.Ei(i):n=i),t?(r=t.c,r!=e.r&&(n=e.nk(r,n))):e.r&&(n=e.nk(null,n)),n}function qyn(e,t,n){var r,i,a,h,d;for(n=(d=t,zk(d,e.e,-1-e.c,n)),h=m6e(e.a),a=(r=new x2(new mm(h.a).a),new bz(r));a.a.b;)i=l(fy(a.a).cd(),87),n=S9(i,mG(i,e.a),n);return n}function Uyn(e,t,n){var r,i,a,h,d;for(n=(d=t,vq(d,e.e,-1-e.c,n)),h=m6e(e.a),a=(r=new x2(new mm(h.a).a),new bz(r));a.a.b;)i=l(fy(a.a).cd(),87),n=S9(i,mG(i,e.a),n);return n}function Gyn(e,t,n,r){var i,a,h;if(r==0)du(t,0,e,n,e.length-n);else for(h=32-r,e[e.length-1]=0,a=e.length-1;a>n;a--)e[a]|=t[a-n-1]>>>h,e[a-1]=t[a-n-1]<<r;for(i=0;i<n;i++)e[i]=0}function Wyn(e){var t,n,r,i,a;for(t=0,n=0,a=e.Kc();a.Ob();)r=l(a.Pb(),111),t=v.Math.max(t,r.d.b),n=v.Math.max(n,r.d.c);for(i=e.Kc();i.Ob();)r=l(i.Pb(),111),r.d.b=t,r.d.c=n}function Kyn(e){var t,n,r,i,a;for(n=0,t=0,a=e.Kc();a.Ob();)r=l(a.Pb(),111),n=v.Math.max(n,r.d.d),t=v.Math.max(t,r.d.a);for(i=e.Kc();i.Ob();)r=l(i.Pb(),111),r.d.d=n,r.d.a=t}function xdt(e,t){var n,r,i,a;for(a=new yt,i=0,r=t.Kc();r.Ob();){for(n=St(l(r.Pb(),19).a+i);n.a<e.f&&!Fln(e,n.a);)n=St(n.a+1),++i;if(n.a>=e.f)break;a.c[a.c.length]=n}return a}function y8e(e){var t,n,r,i;for(t=null,i=new M(e.wf());i.a<i.c.c.length;)r=l(se(i),181),n=new td(r.qf().a,r.qf().b,r.rf().a,r.rf().b),t?AM(t,n):t=n;return!t&&(t=new pk),t}function Nue(e,t,n,r){var i,a;return n==1?(!e.n&&(e.n=new _t(_l,e,1,7)),Bu(e.n,t,r)):(a=l(Rn((i=l(Kn(e,16),26),i||e.zh()),n),66),a.Nj().Qj(e,Uu(e),n-Er(e.zh()),t,r))}function Rue(e,t,n){var r,i,a,h,d;for(r=n.gc(),e.qi(e.i+r),d=e.i-t,d>0&&du(e.g,t,e.g,t+r,d),h=n.Kc(),e.i+=r,i=0;i<r;++i)a=h.Pb(),MA(e,t,e.oi(t,a)),e.bi(t,a),e.ci(),++t;return r!=0}function D0(e,t,n){var r;return t!=e.q?(e.q&&(n=vq(e.q,e,-10,n)),t&&(n=zk(t,e,-10,n)),n=_dt(e,t,n)):e.Db&4&&!(e.Db&1)&&(r=new go(e,1,9,t,t),n?n.Ei(r):n=r),n}function Bue(e,t,n,r){return l5e((n&vg)==0,"flatMap does not support SUBSIZED characteristic"),l5e((n&4)==0,"flatMap does not support SORTED characteristic"),ui(e),ui(t),new Cst(e,n,r,t)}function Yyn(e,t){i6e(t,"Cannot suppress a null exception."),NV(t!=e,"Exception can not suppress itself."),!e.i&&(e.k==null?e.k=pe(de(C1e,1),dt,78,0,[t]):e.k[e.k.length]=t)}function K6(e,t,n,r){var i,a,h,d,b,E;for(h=n.length,a=0,i=-1,E=mct(e.substr(t),(Eoe(),bCe)),d=0;d<h;++d)b=n[d].length,b>a&&sun(E,mct(n[d],bCe))&&(i=d,a=b);return i>=0&&(r[0]=t+a),i}function Xyn(e,t){var n;if(n=hJe(e.b.Hf(),t.b.Hf()),n!=0)return n;switch(e.b.Hf().g){case 1:case 2:return ah(e.b.sf(),t.b.sf());case 3:case 4:return ah(t.b.sf(),e.b.sf())}return 0}function Qyn(e){var t,n,r;for(r=e.e.c.length,e.a=o2(ri,[dt,Pi],[48,25],15,[r,r],2),n=new M(e.c);n.a<n.c.c.length;)t=l(se(n),282),e.a[t.c.b][t.d.b]+=l(re(t,(X1(),eT)),19).a}function Zyn(e,t,n){Zr(n,"Grow Tree",1),e.b=t.f,Zt(Xt(re(t,(qE(),SL))))?(e.c=new Ea,jit(e,null)):e.c=new Ea,e.a=!1,z0t(e,t.f),ut(t,ZCe,(er(),!!e.a)),Br(n)}function Jyn(e,t){var n,r,i,a,h;if(e==null)return null;for(h=Ue(md,bg,25,2*t,15,1),r=0,i=0;r<t;++r)n=e[r]>>4&15,a=e[r]&15,h[i++]=BPe[n],h[i++]=BPe[a];return Ad(h,0,h.length)}function e3n(e,t,n){var r,i,a;return r=t.ak(),a=t.dd(),i=r.$j()?Uv(e,4,r,a,null,k9(e,r,a,Le(r,99)&&(l(r,18).Bb&wc)!=0),!0):Uv(e,r.Kj()?2:1,r,a,r.zj(),-1,!0),n?n.Ei(i):n=i,n}function mh(e){var t,n;return e>=wc?(t=bR+(e-wc>>10&1023)&Aa,n=56320+(e-wc&1023)&Aa,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&Aa)}function t3n(e,t){l4();var n,r,i,a;return i=l(l(_s(e.r,t),21),84),i.gc()>=2?(r=l(i.Kc().Pb(),111),n=e.u.Hc((Gh(),mI)),a=e.u.Hc(I8),!r.a&&!n&&(i.gc()==2||a)):!1}function kdt(e,t,n,r,i){var a,h,d;for(a=agt(e,t,n,r,i),d=!1;!a;)gG(e,i,!0),d=!0,a=agt(e,t,n,r,i);d&&gG(e,i,!1),h=_le(i),h.c.length!=0&&(e.d&&e.d.lg(h),kdt(e,i,n,r,h))}function lG(){lG=Ee,xpe=new yA(Yp,0),hPe=new yA("DIRECTED",1),dPe=new yA("UNDIRECTED",2),lPe=new yA("ASSOCIATION",3),fPe=new yA("GENERALIZATION",4),uPe=new yA("DEPENDENCY",5)}function n3n(e,t){var n;if(!x0(e))throw ue(new pl(b2t));switch(n=x0(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function d9(e,t){var n,r;for(Xn(t),r=e.b.c.length,wt(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.ue(Kt(e.b,r),t)<=0)return rd(e.b,n,t),!0;rd(e.b,n,Kt(e.b,r))}return rd(e.b,r,t),!0}function _8e(e,t,n,r){var i,a;if(i=0,n)i=CU(e.a[n.g][t.g],r);else for(a=0;a<aK;a++)i=v.Math.max(i,CU(e.a[a][t.g],r));return t==(G1(),$u)&&e.b&&(i=v.Math.max(i,e.b.a)),i}function r3n(e,t){var n,r,i,a,h,d;return i=e.i,a=t.i,!i||!a||i.i!=a.i||i.i==(Mt(),fr)||i.i==(Mt(),nr)?!1:(h=i.g.a,n=h+i.j.a,d=a.g.a,r=d+a.j.a,h<=r&&n>=d)}function x8e(e,t,n,r){var i;if(i=!1,_o(r)&&(i=!0,pE(t,n,wi(r))),i||s4(r)&&(i=!0,x8e(e,t,n,r)),i||Le(r,236)&&(i=!0,u2(t,n,l(r,236))),!i)throw ue(new lae(mSe))}function i3n(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),Pd),i!=null)){for(r=1;r<(Ih(),oNe).length;++r)if(Tn(oNe[r],i))return r}return 0}function s3n(e,t){var n,r,i;if(n=t.Hh(e.a),n&&(i=W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),Pd),i!=null)){for(r=1;r<(Ih(),cNe).length;++r)if(Tn(cNe[r],i))return r}return 0}function Edt(e,t){var n,r,i,a;if(Xn(t),a=e.a.gc(),a<t.gc())for(n=e.a.ec().Kc();n.Ob();)r=n.Pb(),t.Hc(r)&&n.Qb();else for(i=t.Kc();i.Ob();)r=i.Pb(),e.a.Bc(r)!=null;return a!=e.a.gc()}function Tdt(e){var t,n;switch(n=Fl(Ml(pe(de(ao,1),dt,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:n.b-=t.d;break;case 2:n.a+=t.c;break;case 3:n.b+=t.a;break;case 4:n.a-=t.b}return n}function a3n(e){var t;for(t=(Bk(),l(hi(new Rr(zr(bl(e).a.Kc(),new J))),17).c.i);t.k==(gr(),po);)ut(t,(mt(),cB),(er(),!0)),t=l(hi(new Rr(zr(bl(t).a.Kc(),new J))),17).c.i}function Fue(e,t,n,r){var i,a,h,d;for(d=gM(t,r),h=d.Kc();h.Ob();)i=l(h.Pb(),11),e.d[i.p]=e.d[i.p]+e.c[n.p];for(d=gM(n,r),a=d.Kc();a.Ob();)i=l(a.Pb(),11),e.d[i.p]=e.d[i.p]-e.c[t.p]}function k8e(e,t,n){var r,i;for(i=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));i.e!=i.i.gc();)r=l(Ur(i),33),w0(r,r.i+t,r.j+n);Ho((!e.b&&(e.b=new _t(oo,e,12,3)),e.b),new bZe(t,n))}function o3n(e,t,n,r){var i,a;for(a=t,i=a.d==null||e.a.ue(n.d,a.d)>0?1:0;a.a[i]!=n;)a=a.a[i],i=e.a.ue(n.d,a.d)>0?1:0;a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function c3n(e){Gh();var t,n;return t=zs(tm,pe(de(JY,1),vt,273,0,[Tb])),!(dN(yq(t,e))>1||(n=zs(mI,pe(de(JY,1),vt,273,0,[pI,I8])),dN(yq(n,e))>1))}function E8e(e,t){var n;n=xu((Pv(),Gd),e),Le(n,498)?Jc(Gd,e,new HZe(this,t)):Jc(Gd,e,this),jue(this,t),t==(eE(),YPe)?(this.wb=l(this,1939),l(t,1941)):this.wb=(Vv(),Gn)}function l3n(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n<yI.length;++n)try{return IQe(yI[n],e)}catch(i){if(i=ea(i),Le(i,32))r=i,t=r;else throw ue(i)}throw ue(new Uq(t))}function Sdt(){Sdt=Ee,Ryt=pe(de(jt,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),Byt=pe(de(jt,1),dt,2,6,["Jan","Feb","Mar","Apr",Qk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Cdt(e){var t,n,r;t=Tn(typeof t,xfe)?null:new co,t&&(sE(),n=(r=900,r>=Fm?"error":r>=900?"warn":r>=800?"info":"log"),urt(n,e.a),e.b&&E7e(t,n,e.b,"Exception: ",!0))}function re(e,t){var n,r;return r=(!e.q&&(e.q=new si),Tr(e.q,t)),r??(n=t.wg(),Le(n,4)&&(n==null?(!e.q&&(e.q=new si),Dk(e.q,t)):(!e.q&&(e.q=new si),ds(e.q,t,n))),n)}function vc(){vc=Ee,Mg=new aP("P1_CYCLE_BREAKING",0),gb=new aP("P2_LAYERING",1),Ku=new aP("P3_NODE_ORDERING",2),Au=new aP("P4_NODE_PLACEMENT",3),hl=new aP("P5_EDGE_ROUTING",4)}function Adt(e,t){var n,r,i,a,h;for(i=t==1?r0e:n0e,r=i.a.ec().Kc();r.Ob();)for(n=l(r.Pb(),103),h=l(_s(e.f.c,n),21).Kc();h.Ob();)a=l(h.Pb(),46),uh(e.b.b,a.b),uh(e.b.a,l(a.b,81).d)}function u3n(e,t){rM();var n;if(e.c==t.c){if(e.b==t.b||Ngn(e.b,t.b)){if(n=qin(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return ah(e.b.g,t.b.g)}else return ja(e.c,t.c)}function h3n(e,t){var n;Zr(t,"Hierarchical port position processing",1),n=e.b,n.c.length>0&&Wgt((Un(0,n.c.length),l(n.c[0],29)),e),n.c.length>1&&Wgt(l(Kt(n,n.c.length-1),29),e),Br(t)}function Mdt(e,t){var n,r,i;if(S8e(e,t))return!0;for(r=new M(t);r.a<r.c.c.length;)if(n=l(se(r),33),i=ldt(n),xG(e,n,i)||But(e,n)-e.g<=e.a)return!0;return!1}function zN(){zN=Ee,HY=(lhe(),aDe),tpe=O8t,epe=I8t,JOe=A8t,Jge=L8t,ZOe=new Ww(8),_8t=new Cc((Yi(),J2),ZOe),x8t=new Cc(ew,8),k8t=iDe,XOe=E8t,QOe=T8t,y8t=new Cc(IB,(er(),!1))}function uG(){uG=Ee,kDe=new Ww(15),Y8t=new Cc((Yi(),J2),kDe),X8t=new Cc(ew,15),EDe=new Cc(XY,St(0)),yDe=PDe,W8t=Z2,K8t=_b,wDe=new Cc(C8,e2t),_De=WY,xDe=j_,spe=e7t,G8t=GY}function tp(e){if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i!=1)throw ue(new Jn(Jde));return ul(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82))}function Ldt(e){if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i!=1)throw ue(new Jn(Jde));return bN(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82))}function Idt(e){if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i!=1)throw ue(new Jn(Jde));return bN(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82))}function eb(e){if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i!=1)throw ue(new Jn(Jde));return ul(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82))}function T8e(e,t,n){var r,i,a;if(++e.j,i=e.Vi(),t>=i||t<0)throw ue(new Qc(e1e+t+F2+i));if(n>=i||n<0)throw ue(new Qc(t1e+n+F2+i));return t!=n?r=(a=e.Ti(n),e.Hi(t,a),a):r=e.Oi(n),r}function Odt(e){var t,n,r;if(r=e,e)for(t=0,n=e.Ug();n;n=n.Ug()){if(++t>gfe)return Odt(n);if(r=n,n==e)throw ue(new pl("There is a cycle in the containment hierarchy of "+e))}return r}function tb(e){var t,n,r;for(r=new w2(bc,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),Rp(r,Je(t)===Je(e)?"(this Collection)":t==null?vh:wl(t));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function S8e(e,t){var n,r;if(r=!1,t.gc()<2)return!1;for(n=0;n<t.gc();n++)n<t.gc()-1?r=r|xG(e,l(t.Xb(n),33),l(t.Xb(n+1),33)):r=r|xG(e,l(t.Xb(n),33),l(t.Xb(0),33));return r}function Ddt(e,t){var n;t!=e.a?(n=null,e.a&&(n=l(e.a,49).ih(e,4,t0,n)),t&&(n=l(t,49).gh(e,4,t0,n)),n=Fxe(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,1,t,t))}function C8e(e,t){var n;t!=e.e?(e.e&&zat(m6e(e.e),e),t&&(!t.b&&(t.b=new vz(new iae)),ntt(t.b,e)),n=xwn(e,t,null),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,4,t,t))}function N4(e){var t,n,r;for(n=e.length,r=0;r<n&&(yi(r,e.length),e.charCodeAt(r)<=32);)++r;for(t=n;t>r&&(yi(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||t<n?e.substr(r,t-r):e}function f3n(e,t){var n;n=t.o,Bv(e.f)?(e.j.a=v.Math.max(e.j.a,n.a),e.j.b+=n.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=v.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function nb(){nb=Ee,f5t=pe(de(yc,1),ru,61,0,[(Mt(),Qn),fr,Jr]),h5t=pe(de(yc,1),ru,61,0,[fr,Jr,nr]),d5t=pe(de(yc,1),ru,61,0,[Jr,nr,Qn]),g5t=pe(de(yc,1),ru,61,0,[nr,Qn,fr])}function d3n(e,t,n,r){var i,a,h,d,b,E,C;if(h=e.c.d,d=e.d.d,h.j!=d.j)for(C=e.b,i=h.j,b=null;i!=d.j;)b=t==0?IU(i):Yxe(i),a=Tke(i,C.d[i.g],n),E=Tke(b,C.d[b.g],n),zi(r,xs(a,E)),i=b}function g3n(e,t,n,r){var i,a,h,d,b;return h=$ft(e.a,t,n),d=l(h.a,19).a,a=l(h.b,19).a,r&&(b=l(re(t,(mt(),Wh)),10),i=l(re(n,Wh),10),b&&i&&(Gst(e.b,b,i),d+=e.b.i,a+=e.b.e)),d>a}function Pdt(e){var t,n,r,i,a,h,d,b,E;for(this.a=lft(e),this.b=new yt,n=e,r=0,i=n.length;r<i;++r)for(t=n[r],a=new yt,wt(this.b,a),d=t,b=0,E=d.length;b<E;++b)h=d[b],wt(a,new Ah(h.j))}function p3n(e,t,n){var r,i,a;return a=0,r=n[t],t<n.length-1&&(i=n[t+1],e.b[t]?(a=$Tn(e.d,r,i),a+=ice(e.a,r,(Mt(),fr)),a+=ice(e.a,i,nr)):a=a0n(e.a,r,i)),e.c[t]&&(a+=M1n(e.a,r)),a}function m3n(e,t,n,r,i){var a,h,d,b;for(b=null,d=new M(r);d.a<d.c.c.length;)if(h=l(se(d),441),h!=n&&vl(h.e,i,0)!=-1){b=h;break}a=Hce(i),ic(a,n.b),So(a,b.b),En(e.a,i,new DV(a,t,n.f))}function Ndt(e){for(;e.g.c!=0&&e.d.c!=0;)moe(e.g).c>moe(e.d).c?(e.i+=e.g.c,tue(e.d)):moe(e.d).c>moe(e.g).c?(e.e+=e.d.c,tue(e.g)):(e.i+=hnt(e.g),e.e+=hnt(e.d),tue(e.g),tue(e.d))}function v3n(e,t,n){var r,i,a,h;for(a=t.q,h=t.r,new h2((V1(),wb),t,a,1),new h2(wb,a,h,1),i=new M(n);i.a<i.c.c.length;)r=l(se(i),112),r!=a&&r!=t&&r!=h&&(sEe(e.a,r,t),sEe(e.a,r,h))}function Rdt(e,t,n,r){e.a.d=v.Math.min(t,n),e.a.a=v.Math.max(t,r)-e.a.d,t<n?(e.b=.5*(t+n),e.g=Sde*e.b+.9*t,e.f=Sde*e.b+.9*n):(e.b=.5*(t+r),e.g=Sde*e.b+.9*r,e.f=Sde*e.b+.9*t)}function b3n(){YW={},!Array.isArray&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"});function e(){return new Date().getTime()}!Date.now&&(Date.now=e)}function Bdt(e,t){var n,r;r=l(re(t,(Nt(),ba)),98),ut(t,(mt(),JMe),r),n=t.e,n&&(ya(new jn(null,new zn(n.a,16)),new Ta(e)),ya(Al(new jn(null,new zn(n.b,16)),new GS),new Gs(e)))}function w3n(e){var t,n,r,i;if(cE(l(re(e.b,(Nt(),zf)),103)))return 0;for(t=0,r=new M(e.a);r.a<r.c.c.length;)n=l(se(r),10),n.k==(gr(),za)&&(i=n.o.a,t=v.Math.max(t,i));return t}function y3n(e){switch(l(re(e,(Nt(),Yu)),163).g){case 1:ut(e,Yu,(cd(),FL));break;case 2:ut(e,Yu,(cd(),c5));break;case 3:ut(e,Yu,(cd(),BL));break;case 4:ut(e,Yu,(cd(),mb))}}function g9(){g9=Ee,DL=new pA(Yp,0),RMe=new pA(e8,1),jMe=new pA(t8,2),FMe=new pA("LEFT_RIGHT_CONSTRAINT_LOCKING",3),BMe=new pA("LEFT_RIGHT_CONNECTION_LOCKING",4),NMe=new pA(_bt,5)}function Fdt(e,t,n){var r,i,a,h,d,b,E;d=n.a/2,a=n.b/2,r=v.Math.abs(t.a-e.a),i=v.Math.abs(t.b-e.b),b=1,E=1,r>d&&(b=d/r),i>a&&(E=a/i),h=v.Math.min(b,E),e.a+=h*(t.a-e.a),e.b+=h*(t.b-e.b)}function _3n(e,t,n,r,i){var a,h;for(h=!1,a=l(Kt(n.b,0),33);R8n(e,t,a,r,i)&&(h=!0,eyn(n,a),n.b.c.length!=0);)a=l(Kt(n.b,0),33);return n.b.c.length==0&&jN(n.j,n),h&&eG(t.q),h}function x3n(e,t){J6();var n,r,i,a;if(t.b<2)return!1;for(a=$i(t,0),n=l(ji(a),8),r=n;a.b!=a.d.c;){if(i=l(ji(a),8),ihe(e,r,i))return!0;r=i}return!!ihe(e,r,n)}function A8e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),IV(e.o,t,r)):(a=l(Rn((i=l(Kn(e,16),26),i||e.zh()),n),66),a.Nj().Rj(e,Uu(e),n-Er(e.zh()),t,r))}function jue(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=l(e.sb,49).ih(e,1,wI,n)),t&&(n=l(t,49).gh(e,1,wI,n)),n=zxe(e,t,n),n&&n.Fi()):e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,4,t,t))}function k3n(e,t){var n,r,i,a;if(t)i=jp(t,"x"),n=new cKe(e),RE(n.a,(Xn(i),i)),a=jp(t,"y"),r=new lKe(e),FE(r.a,(Xn(a),a));else throw ue(new og("All edge sections need an end point."))}function E3n(e,t){var n,r,i,a;if(t)i=jp(t,"x"),n=new sKe(e),BE(n.a,(Xn(i),i)),a=jp(t,"y"),r=new aKe(e),jE(r.a,(Xn(a),a));else throw ue(new og("All edge sections need a start point."))}function T3n(e,t){var n,r,i,a,h,d,b;for(r=yut(e),a=0,d=r.length;a<d;++a)Cdt(t);for(b=!F0&&e.e?F0?null:e.d:null;b;){for(n=yut(b),i=0,h=n.length;i<h;++i)Cdt(t);b=!F0&&b.e?F0?null:b.d:null}}function gr(){gr=Ee,za=new hA("NORMAL",0),po=new hA("LONG_EDGE",1),La=new hA("EXTERNAL_PORT",2),Mu=new hA("NORTH_SOUTH_PORT",3),kf=new hA("LABEL",4),j0=new hA("BREAKING_POINT",5)}function S3n(e){var t,n,r,i;if(t=!1,so(e,(mt(),RL)))for(n=l(re(e,RL),83),i=new M(e.j);i.a<i.c.c.length;)r=l(se(i),11),M6n(r)&&(t||(q4n(cc(e)),t=!0),Lbn(l(n.xc(r),306)))}function C3n(e,t,n){var r;Zr(n,"Self-Loop routing",1),r=evn(t),hV(re(t,(Fq(),oI))),ya(ch($s($s(Al(new jn(null,new zn(t.b,16)),new x7),new Px),new eC),new hte),new qQe(e,r)),Br(n)}function A3n(e){var t,n,r,i,a,h,d,b,E;return E=w8e(e),n=e.e,a=n!=null,a&&pE(E,AW,e.e),d=e.k,h=!!d,h&&pE(E,"type",foe(e.k)),r=QD(e.j),i=!r,i&&(b=new gm,U1(E,Zde,b),t=new MKe(b),Ho(e.j,t)),E}function M3n(e){var t,n,r,i;for(i=zv((Pf(e.gc(),"size"),new t4),123),r=!0,n=Zw(e).Kc();n.Ob();)t=l(n.Pb(),42),r||(i.a+=bc),r=!1,Wl(zv(Wl(i,t.cd()),61),t.dd());return(i.a+="}",i).a}function jdt(e,t){var n,r,i;return t&=63,t<22?(n=e.l<<t,r=e.m<<t|e.l>>22-t,i=e.h<<t|e.m>>22-t):t<44?(n=0,r=e.l<<t-22,i=e.m<<t-22|e.l>>44-t):(n=0,r=0,i=e.l<<t-44),qu(n&af,r&af,i&Kp)}function R4(e){if(QSe==null&&(QSe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!QSe.test(e))throw ue(new cg(Py+e+'"'));return parseFloat(e)}function L3n(e){var t,n,r,i;for(t=new yt,n=Ue(uf,op,25,e.a.c.length,16,1),t6e(n,n.length),i=new M(e.a);i.a<i.c.c.length;)r=l(se(i),121),n[r.d]||(t.c[t.c.length]=r,Yht(e,r,n));return t}function I3n(e,t){var n,r,i,a;for(a=t.b.j,e.a=Ue(ri,Pi,25,a.c.length,15,1),i=0,r=0;r<a.c.length;r++)n=(Un(r,a.c.length),l(a.c[r],11)),n.e.c.length==0&&n.g.c.length==0?i+=1:i+=3,e.a[r]=i}function hG(){hG=Ee,M0e=new dA("ALWAYS_UP",0),A0e=new dA("ALWAYS_DOWN",1),I0e=new dA("DIRECTION_UP",2),L0e=new dA("DIRECTION_DOWN",3),O0e=new dA("SMART_UP",4),qK=new dA("SMART_DOWN",5)}function O3n(e,t){if(e<0||t<0)throw ue(new Jn("k and n must be positive"));if(t>e)throw ue(new Jn("k must be smaller than n"));return t==0||t==e?1:e==0?0:n8e(e)/(n8e(t)*n8e(e-t))}function M8e(e,t){var n,r,i,a;for(n=new Z3e(e);n.g==null&&!n.c?I6e(n):n.g==null||n.i!=0&&l(n.g[n.i-1],47).Ob();)if(a=l(pG(n),56),Le(a,160))for(r=l(a,160),i=0;i<t.length;i++)t[i].og(r)}function $ue(e){var t;return e.Db&64?Gle(e):(t=new Ed(Gle(e)),t.a+=" (height: ",v6(t,e.f),t.a+=", width: ",v6(t,e.g),t.a+=", x: ",v6(t,e.i),t.a+=", y: ",v6(t,e.j),t.a+=")",t.a)}function D3n(e){var t,n,r,i,a,h,d;for(t=new d2,r=e,i=0,a=r.length;i<a;++i)if(n=r[i],h=ui(n.cd()),d=S2(t,h,ui(n.dd())),d!=null)throw ue(new Jn("duplicate key: "+h));this.b=(In(),new W(t))}function P3n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],Rp(a,String.fromCharCode(t));return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function L8e(){L8e=Ee,sAe=(Xq(),fK),Z3t=new Nn(QG,sAe),St(1),Q3t=new Nn(r9e,St(300)),St(0),t4t=new Nn(i9e,St(0)),n4t=new Nn(Ffe,_g),J3t=new Nn(jfe,5),r4t=fK,e4t=Y1e}function $dt(e,t){var n,r,i,a,h;for(i=t==1?r0e:n0e,r=i.a.ec().Kc();r.Ob();)for(n=l(r.Pb(),103),h=l(_s(e.f.c,n),21).Kc();h.Ob();)a=l(h.Pb(),46),wt(e.b.b,l(a.b,81)),wt(e.b.a,l(a.b,81).d)}function N3n(e,t){var n;if(t!=null&&!e.c.Yj().wj(t))throw n=Le(t,56)?l(t,56).Tg().zb:Ov(tf(t)),ue(new X7(ub+e.c.ne()+"'s type '"+e.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function R3n(e,t,n){var r,i;for(i=new Ro(e.b,0);i.b<i.d.gc();)r=(kr(i.b<i.d.gc()),l(i.d.Xb(i.c=i.b++),70)),Je(re(r,(mt(),QMe)))===Je(t)&&(R8e(r.n,cc(e.c.i),n),wf(i),wt(t.b,r))}function B3n(e,t){if(t.a)switch(l(re(t.b,(mt(),JMe)),98).g){case 0:case 1:iyn(t);case 2:ya(new jn(null,new zn(t.d,16)),new b$),F5n(e.a,t)}else ya(new jn(null,new zn(t.d,16)),new b$)}function Hdt(e){var t,n;return n=v.Math.sqrt((e.k==null&&(e.k=exe(e,new one)),ot(e.k)/(e.b*(e.g==null&&(e.g=blt(e,new V$)),ot(e.g))))),t=li(ph(v.Math.round(n))),t=v.Math.min(t,e.f),t}function fu(){Lh(),X4e.call(this),this.j=(Mt(),Dl),this.a=new Qo,new eae,this.f=(Pf(2,U4),new Nu(2)),this.e=(Pf(4,U4),new Nu(4)),this.g=(Pf(4,U4),new Nu(4)),this.b=new ZQe(this.e,this.g)}function F3n(e,t){var n,r;return!(Zt(Xt(re(t,(mt(),$0))))||(r=t.c.i,e==(cd(),BL)&&r.k==(gr(),kf))||(n=l(re(r,(Nt(),Yu)),163),n==mb))}function j3n(e,t){var n,r;return!(Zt(Xt(re(t,(mt(),$0))))||(r=t.d.i,e==(cd(),FL)&&r.k==(gr(),kf))||(n=l(re(r,(Nt(),Yu)),163),n==c5))}function $3n(e,t){var n,r,i,a,h,d,b;for(h=e.d,b=e.o,d=new td(-h.b,-h.d,h.b+b.a+h.c,h.d+b.b+h.a),r=t,i=0,a=r.length;i<a;++i)n=r[i],n&&AM(d,n.i);h.b=-d.c,h.d=-d.d,h.c=d.b-h.b-b.a,h.a=d.a-h.d-b.b}function VN(){VN=Ee,GOe=new fP("CENTER_DISTANCE",0),Qge=new fP("CIRCLE_UNDERLAP",1),KOe=new fP("RECTANGLE_UNDERLAP",2),Zge=new fP("INVERTED_OVERLAP",3),WOe=new fP("MINIMUM_ROOT_DISTANCE",4)}function H3n(e){L7e();var t,n,r,i,a;if(e==null)return null;for(r=e.length,i=r*2,t=Ue(md,bg,25,i,15,1),n=0;n<r;n++)a=e[n],a<0&&(a+=256),t[n*2]=bX[a>>4],t[n*2+1]=bX[a&15];return Ad(t,0,t.length)}function z3n(e){aq();var t,n,r;switch(r=e.c.length,r){case 0:return yyt;case 1:return t=l(E1t(new M(e)),42),fln(t.cd(),t.dd());default:return n=l(O0(e,Ue(H2,HG,42,e.c.length,0,1)),165),new oae(n)}}function V3n(e){var t,n,r,i,a,h;for(t=new g6,n=new g6,Gv(t,e),Gv(n,e);n.b!=n.c;)for(i=l(kk(n),37),h=new M(i.a);h.a<h.c.c.length;)a=l(se(h),10),a.e&&(r=a.e,Gv(t,r),Gv(n,r));return t}function Rm(e,t){switch(t.g){case 1:return yk(e.j,(Lh(),MAe));case 2:return yk(e.j,(Lh(),CAe));case 3:return yk(e.j,(Lh(),IAe));case 4:return yk(e.j,(Lh(),OAe));default:return In(),In(),Lc}}function q3n(e,t){var n,r,i;n=oln(t,e.e),r=l(Tr(e.g.f,n),19).a,i=e.a.c.length-1,e.a.c.length!=0&&l(Kt(e.a,i),287).c==r?(++l(Kt(e.a,i),287).a,++l(Kt(e.a,i),287).b):wt(e.a,new wet(r))}function U3n(e,t,n){var r,i;return r=Qxn(e,t,n),r!=0?r:so(t,(mt(),au))&&so(n,au)?(i=ah(l(re(t,au),19).a,l(re(n,au),19).a),i<0?nR(e,t,n):i>0&&nR(e,n,t),i):T5n(e,t,n)}function zdt(e,t,n){var r,i,a,h;if(t.b!=0){for(r=new sa,h=$i(t,0);h.b!=h.d.c;)a=l(ji(h),86),mc(r,hxe(a)),i=a.e,i.a=l(re(a,(Kl(),Nge)),19).a,i.b=l(re(a,XIe),19).a;zdt(e,r,Eu(n,r.b/e.a|0))}}function Vdt(e,t){var n,r,i,a,h;if(e.e<=t||Qfn(e,e.g,t))return e.g;for(a=e.r,r=e.g,h=e.r,i=(a-r)/2+r;r+1<a;)n=$M(e,i,!1),n.b<=i&&n.a<=t?(h=i,a=i):r=i,i=(a-r)/2+r;return h}function G3n(e,t,n){var r;r=cgt(e,t,!0),Zr(n,"Recursive Graph Layout",r),M8e(t,pe(de(gDe,1),Ht,527,0,[new PD])),g2(t,(Yi(),TT))||M8e(t,pe(de(gDe,1),Ht,527,0,[new Mre])),wEe(e,t,null,n),Br(n)}function Br(e){var t;if(e.p==null)throw ue(new pl("The task has not begun yet."));e.b||(e.k&&(t=(Ug(),Zo(ph(Date.now()),Fm)),e.q=cy(Jv(t,e.o))*1e-9),e.c<e.r&&hle(e,e.r-e.c),e.b=!0)}function qN(e){var t,n,r;for(r=new Th,zi(r,new en(e.j,e.k)),n=new Ir((!e.a&&(e.a=new Ba(Vd,e,5)),e.a));n.e!=n.i.gc();)t=l(Ur(n),469),zi(r,new en(t.a,t.b));return zi(r,new en(e.b,e.c)),r}function W3n(e,t,n,r,i){var a,h,d,b,E,C;if(i)for(b=i.a.length,a=new c2(b),C=(a.b-a.a)*a.c<0?(Nv(),Ob):new jv(a);C.Ob();)E=l(C.Pb(),19),d=SE(i,E.a),h=new Brt(e,t,n,r),r8n(h.a,h.b,h.c,h.d,d)}function I8e(e,t){var n;if(Je(e)===Je(t))return!0;if(Le(t,21)){n=l(t,21);try{return e.gc()==n.gc()&&e.Ic(n)}catch(r){if(r=ea(r),Le(r,173)||Le(r,205))return!1;throw ue(r)}}return!1}function O8e(e,t){var n;wt(e.d,t),n=t.rf(),e.c?(e.e.a=v.Math.max(e.e.a,n.a),e.e.b+=n.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=v.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function K3n(e){var t,n,r,i;switch(i=e.i,t=i.b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function qdt(e,t,n,r,i){if(r<t||i<n)throw ue(new Jn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>r&&(e.a=r),e.b<n?e.b=n:e.b>i&&(e.b=i),e}function Y3n(e){if(Le(e,149))return E_n(l(e,149));if(Le(e,229))return _vn(l(e,229));if(Le(e,23))return A3n(l(e,23));throw ue(new Jn(vSe+tb(new gf(pe(de(xr,1),Ht,1,5,[e])))))}function X3n(e,t,n,r,i){var a,h,d;for(a=!0,h=0;h<r;h++)a=a&n[h]==0;if(i==0)du(n,r,e,0,t),h=t;else{for(d=32-i,a=a&n[h]<<d==0,h=0;h<t-1;h++)e[h]=n[h+r]>>>i|n[h+r+1]<<d;e[h]=n[h+r]>>>i,++h}return a}function D8e(e,t,n,r){var i,a,h;if(t.k==(gr(),po)){for(a=new Rr(zr(bl(t).a.Kc(),new J));Ei(a);)if(i=l(hi(a),17),h=i.c.i.k,h==po&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function Q3n(e,t){var n,r,i,a;return t&=63,n=e.h&Kp,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),qu(r&af,i&af,a&Kp)}function Udt(e,t,n,r){var i;this.b=r,this.e=e==(py(),YL),i=t[n],this.d=o2(uf,[dt,op],[177,25],16,[i.length,i.length],2),this.a=o2(ri,[dt,Pi],[48,25],15,[i.length,i.length],2),this.c=new p8e(t,n)}function Z3n(e){var t,n,r;for(e.k=new N6e((Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])).length,e.j.c.length),r=new M(e.j);r.a<r.c.c.length;)n=l(se(r),113),t=n.d.j,En(e.k,t,n);e.e=u_n(xk(e.k))}function Gdt(e,t){var n,r,i;Ga(e.d,t),n=new cC,ds(e.c,t,n),n.f=jle(t.c),n.a=jle(t.d),n.d=(DM(),i=t.c.i.k,i==(gr(),za)||i==j0),n.e=(r=t.d.i.k,r==za||r==j0),n.b=t.c.j==(Mt(),nr),n.c=t.d.j==fr}function J3n(e){var t,n,r,i,a;for(a=as,i=as,r=new M($6(e));r.a<r.c.c.length;)n=l(se(r),213),t=n.e.e-n.d.e,n.e==e&&t<i?i=t:t<a&&(a=t);return i==as&&(i=-1),a==as&&(a=-1),new No(St(i),St(a))}function e4n(e,t){var n,r,i;return i=R9,r=(xM(),XR),i=v.Math.abs(e.b),n=v.Math.abs(t.f-e.b),n<i&&(i=n,r=lK),n=v.Math.abs(e.a),n<i&&(i=n,r=QR),n=v.Math.abs(t.g-e.a),n<i&&(i=n,r=cK),r}function t4n(e,t){var n,r,i,a;for(n=t.a.o.a,a=new Qg(cc(t.a).b,t.c,t.f+1),i=new Jx(a);i.b<i.d.gc();)if(r=(kr(i.b<i.d.gc()),l(i.d.Xb(i.c=i.b++),29)),r.c.a>=n)return p9(e,t,r.p),!0;return!1}function Wdt(e){var t;return e.Db&64?$ue(e):(t=new Af(aSe),!e.a||Mi(Mi((t.a+=' "',t),e.a),'"'),Mi(zw(Mi(zw(Mi(zw(Mi(zw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Kdt(e,t,n){var r,i,a,h,d;for(d=Wu(e.e.Tg(),t),i=l(e.g,119),r=0,h=0;h<e.i;++h)if(a=i[h],d.rl(a.ak())){if(r==n)return j4(e,h),Sc(),l(t,66).Oj()?a:a.dd();++r}throw ue(new Qc(dL+n+F2+r))}function Ydt(e){var t,n,r;if(t=e.c,t==2||t==7||t==1)return rs(),rs(),MI;for(r=yEe(e),n=null;(t=e.c)!=2&&t!=7&&t!=1;)n||(n=(rs(),rs(),new CA(1)),L2(n,r),r=n),L2(n,yEe(e));return r}function n4n(e,t,n){return e<0||e>n?H8e(e,n,"start index"):t<0||t>n?H8e(t,n,"end index"):PM("end index (%s) must not be less than start index (%s)",pe(de(xr,1),Ht,1,5,[St(t),St(e)]))}function Xdt(e,t){var n,r,i,a;for(r=0,i=e.length;r<i;r++){a=e[r];try{a[1]?a[0].jm()&&(t=$ln(t,a)):a[0].jm()}catch(h){if(h=ea(h),Le(h,78))n=h,Sz(),Ihn(Le(n,477)?l(n,477).ae():n);else throw ue(h)}}return t}function p9(e,t,n){var r,i,a;for(n!=t.c+t.b.gc()&&d7n(t.a,Xgn(t,n-t.c)),a=t.a.c.p,e.a[a]=v.Math.max(e.a[a],t.a.o.a),i=l(re(t.a,(mt(),lB)),15).Kc();i.Ob();)r=l(i.Pb(),70),ut(r,h0e,(er(),!0))}function r4n(e,t){var n,r,i;i=O_n(t),ut(t,(mt(),z0e),i),i&&(r=as,cl(e.f,i)&&(r=l(Bl(cl(e.f,i)),19).a),n=l(Kt(t.g,0),17),Zt(Xt(re(n,$0)))||ds(e,i,St(v.Math.min(l(re(n,au),19).a,r))))}function Qdt(e,t,n){var r,i,a,h,d;for(t.p=-1,d=_y(t,(Oc(),Hu)).Kc();d.Ob();)for(h=l(d.Pb(),11),i=new M(h.g);i.a<i.c.c.length;)r=l(se(i),17),a=r.d.i,t!=a&&(a.p<0?n.Fc(r):a.p>0&&Qdt(e,a,n));t.p=0}function un(e){var t;this.c=new sa,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(t=l(H1(Ym),9),new ed(t,l(l1(t,t.length),9),0)),this.g=e.f}function i4n(e){var t,n,r,i;for(t=zv(Mi(new Af("Predicates."),"and"),40),n=!0,i=new Jx(e);i.b<i.d.gc();)r=(kr(i.b<i.d.gc()),i.d.Xb(i.c=i.b++)),n||(t.a+=","),t.a+=""+r,n=!1;return(t.a+=")",t).a}function Zdt(e,t,n){var r,i,a;if(!(n<=t+2))for(i=(n-t)/2|0,r=0;r<i;++r)a=(Un(t+r,e.c.length),l(e.c[t+r],11)),rd(e,t+r,(Un(n-r-1,e.c.length),l(e.c[n-r-1],11))),Un(n-r-1,e.c.length),e.c[n-r-1]=a}function s4n(e,t,n){var r,i,a,h,d,b,E,C;a=e.d.p,d=a.e,b=a.r,e.g=new AP(b),h=e.d.o.c.p,r=h>0?d[h-1]:Ue(up,jm,10,0,0,1),i=d[h],E=h<d.length-1?d[h+1]:Ue(up,jm,10,0,0,1),C=t==n-1,C?_ce(e.g,i,E):_ce(e.g,r,i)}function Jdt(e){var t;this.j=new yt,this.f=new Ja,this.b=(t=l(H1(yc),9),new ed(t,l(l1(t,t.length),9),0)),this.d=Ue(ri,Pi,25,(Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])).length,15,1),this.g=e}function e1t(e,t){var n,r,i;if(t.c.length!=0){for(n=Mdt(e,t),i=!1;!n;)gG(e,t,!0),i=!0,n=Mdt(e,t);i&&gG(e,t,!1),r=_le(t),e.b&&e.b.lg(r),e.a=But(e,(Un(0,t.c.length),l(t.c[0],33))),e1t(e,r)}}function Hue(e,t){var n,r,i;if(r=Rn(e.Tg(),t),n=t-e.Ah(),n<0)if(r)if(r.Ij())i=e.Yg(r),i>=0?e.Bh(i):G8e(e,r);else throw ue(new Jn(ub+r.ne()+uL));else throw ue(new Jn(M2t+t+L2t));else od(e,n,r)}function P8e(e){var t,n;if(n=null,t=!1,Le(e,204)&&(t=!0,n=l(e,204).a),t||Le(e,258)&&(t=!0,n=""+l(e,258).a),t||Le(e,483)&&(t=!0,n=""+l(e,483).a),!t)throw ue(new lae(mSe));return n}function t1t(e,t){var n,r;if(e.f){for(;t.Ob();)if(n=l(t.Pb(),72),r=n.ak(),Le(r,99)&&l(r,18).Bb&Yl&&(!e.e||r.Gj()!=IT||r.aj()!=0)&&n.dd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function n1t(e,t){var n,r;if(e.f){for(;t.Sb();)if(n=l(t.Ub(),72),r=n.ak(),Le(r,99)&&l(r,18).Bb&Yl&&(!e.e||r.Gj()!=IT||r.aj()!=0)&&n.dd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function N8e(e,t,n){var r,i,a,h,d,b;for(b=Wu(e.e.Tg(),t),r=0,d=e.i,i=l(e.g,119),h=0;h<e.i;++h)if(a=i[h],b.rl(a.ak())){if(n==r)return h;++r,d=h+1}if(n==r)return d;throw ue(new Qc(dL+n+F2+r))}function a4n(e,t){var n,r,i,a;if(e.f.c.length==0)return null;for(a=new pk,r=new M(e.f);r.a<r.c.c.length;)n=l(se(r),70),i=n.o,a.b=v.Math.max(a.b,i.a),a.a+=i.b;return a.a+=(e.f.c.length-1)*t,a}function o4n(e,t,n){var r,i,a;for(i=new Rr(zr(zp(n).a.Kc(),new J));Ei(i);)r=l(hi(i),17),!pc(r)&&!(!pc(r)&&r.c.i.c==r.d.i.c)&&(a=N0t(e,r,n,new pYe),a.c.length>1&&(t.c[t.c.length]=a))}function c4n(e){var t,n,r,i;for(n=new sa,mc(n,e.o),r=new Lye;n.b!=0;)t=l(n.b==0?null:(kr(n.b!=0),sd(n,n.a.a)),508),i=Nmt(e,t,!0),i&&wt(r.a,t);for(;r.a.c.length!=0;)t=l(Aut(r),508),Nmt(e,t,!1)}function Bm(){Bm=Ee,pDe=new dk(XM,0),tc=new dk("BOOLEAN",1),Xl=new dk("INT",2),ET=new dk("STRING",3),fl=new dk("DOUBLE",4),wa=new dk("ENUM",5),S8=new dk("ENUMSET",6),z0=new dk("OBJECT",7)}function AM(e,t){var n,r,i,a,h;r=v.Math.min(e.c,t.c),a=v.Math.min(e.d,t.d),i=v.Math.max(e.c+e.b,t.c+t.b),h=v.Math.max(e.d+e.a,t.d+t.a),i<r&&(n=r,r=i,i=n),h<a&&(n=a,a=h,h=n),Wtt(e,r,a,i-r,h-a)}function Ih(){Ih=Ee,cNe=pe(de(jt,1),dt,2,6,[ISe,FR,$W,Gwt,HW,l1e,AW]),oNe=pe(de(jt,1),dt,2,6,[ISe,"empty",FR,BR,"elementOnly"]),lNe=pe(de(jt,1),dt,2,6,[ISe,"preserve","replace",Z1]),Vo=new Utt}function R8e(e,t,n){var r,i,a;if(t!=n){r=t;do xs(e,r.c),i=r.e,i&&(a=r.d,c4(e,a.b,a.d),xs(e,i.n),r=cc(i));while(i);r=n;do xo(e,r.c),i=r.e,i&&(a=r.d,xP(e,a.b,a.d),xo(e,i.n),r=cc(i));while(i)}}function zue(e,t,n,r){var i,a,h,d,b;if(r.f.c+r.g.c==0)for(h=e.a[e.c],d=0,b=h.length;d<b;++d)a=h[d],ds(r,a,new klt(e,a,n));return i=l(Bl(cl(r.f,t)),663),i.b=0,i.c=i.f,i.c==0||cz(l(Kt(i.a,i.b),287)),i}function Uk(){Uk=Ee,oT=new fA("MEDIAN_LAYER",0),LL=new fA("TAIL_LAYER",1),aT=new fA("HEAD_LAYER",2),s5=new fA("SPACE_EFFICIENT_LAYER",3),x_=new fA("WIDEST_LAYER",4),__=new fA("CENTER_LAYER",5)}function l4n(e){switch(e.g){case 0:case 1:case 2:return Mt(),Qn;case 3:case 4:case 5:return Mt(),Jr;case 6:case 7:case 8:return Mt(),nr;case 9:case 10:case 11:return Mt(),fr;default:return Mt(),Dl}}function u4n(e,t){var n;return e.c.length==0?!1:(n=yht((Un(0,e.c.length),l(e.c[0],17)).c.i),Lf(),n==(I4(),D_)||n==O_?!0:AE(ch(new jn(null,new zn(e,16)),new wne),new LWe(t)))}function B8e(e,t,n){var r,i,a;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new Bq),zi(r.b,t),a=e.a[t.g].Kc();a.Ob();)i=l(a.Pb(),188),i.b!=t&&B8e(e,i.b,r),i.c!=t&&B8e(e,i.c,r),zi(r.a,i);return r}return null}function MM(){MM=Ee,CY=new vA("ROOT_PROC",0),Age=new vA("FAN_PROC",1),Lge=new vA("NEIGHBORS_PROC",2),Mge=new vA("LEVEL_HEIGHT",3),Ige=new vA("NODE_POSITION_PROC",4),Cge=new vA("DETREEIFYING_PROC",5)}function Vue(e,t){if(Le(t,239))return rsn(e,l(t,33));if(Le(t,186))return isn(e,l(t,118));if(Le(t,439))return nsn(e,l(t,202));throw ue(new Jn(vSe+tb(new gf(pe(de(xr,1),Ht,1,5,[t])))))}function r1t(e,t,n){var r,i;if(this.f=e,r=l(Tr(e.b,t),283),i=r?r.a:0,h_e(n,i),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)Mit(this);else for(this.c=r?r.b:null;n-- >0;)O6e(this);this.b=t,this.a=null}function h4n(e,t){var n,r;t.a?P_n(e,t):(n=l(_oe(e.b,t.b),57),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=l(yoe(e.b,t.b),57),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),coe(e.b,t.b))}function i1t(e,t){var n,r;if(n=l(Vc(e.b,t),124),l(l(_s(e.r,t),21),84).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((xf(),nw))&&Agt(e,t),r=Hbn(e,t),ahe(e,t)==(H6(),kb)&&(r+=2*e.w),n.a.a=r}function s1t(e,t){var n,r;if(n=l(Vc(e.b,t),124),l(l(_s(e.r,t),21),84).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((xf(),nw))&&Mgt(e,t),r=zbn(e,t),ahe(e,t)==(H6(),kb)&&(r+=2*e.w),n.a.b=r}function f4n(e,t){var n,r,i,a;for(a=new yt,r=new M(t);r.a<r.c.c.length;)n=l(se(r),65),wt(a,new w3e(n,!0)),wt(a,new w3e(n,!1));i=new Zrt(e),XC(i.a.a),vst(a,e.b,new gf(pe(de(Xyt,1),Ht,679,0,[i])))}function a1t(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;return b=e.a,K=e.b,E=t.a,Z=t.b,C=n.a,te=n.b,P=r.a,oe=r.b,a=b*Z-K*E,h=C*oe-te*P,i=(b-E)*(te-oe)-(K-Z)*(C-P),d=(a*(C-P)-h*(b-E))/i,$=(a*(te-oe)-h*(K-Z))/i,new en(d,$)}function F8e(e,t){var n,r,i;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,r=new Rr(zr($a(t).a.Kc(),new J));Ei(r);)n=l(hi(r),17),!pc(n)&&(i=n.d.i,e.a[i.p]?wt(e.b,n):F8e(e,i));e.a[t.p]=!1}}function o1t(e,t,n){var r;switch(r=0,l(re(t,(Nt(),Yu)),163).g){case 2:r=2*-n+e.a,++e.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+e.b,++e.b}return so(t,(mt(),au))&&(r+=l(re(t,au),19).a),r}function c1t(e,t,n){var r,i,a;for(n.zc(t,e),wt(e.n,t),a=e.p.eg(t),t.j==e.p.fg()?uht(e.e,a):uht(e.j,a),rq(e),i=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(t),new ni(t)])));Ei(i);)r=l(hi(i),11),n._b(r)||c1t(e,r,n)}function j8e(e){var t,n,r;return n=l(nn(e,(Yi(),Z2)),21),n.Hc((xf(),x5))?(r=l(nn(e,_b),21),t=new Zc(l(nn(e,j_),8)),r.Hc((sf(),LT))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new Qo}function $8e(e){var t,n,r;if(!e.b){for(r=new C7,n=new vk(jM(e));n.e!=n.i.gc();)t=l(lue(n),18),t.Bb&Yl&&fi(r,t);C4(r),e.b=new _6((l(Re(rt((Vv(),Gn).o),8),18),r.i),r.g),Jh(e).b&=-9}return e.b}function d4n(e,t){var n,r,i,a,h,d,b,E;b=l(NN(xk(t.k),Ue(yc,ru,61,2,0,1)),122),E=t.g,n=Nst(t,b[0]),i=Pst(t,b[1]),r=Eue(e,E,n,i),a=Nst(t,b[1]),d=Pst(t,b[0]),h=Eue(e,E,a,d),r<=h?(t.a=n,t.c=i):(t.a=a,t.c=d)}function g4n(e,t,n){var r,i,a;for(Zr(n,"Processor set neighbors",1),e.a=t.b.b==0?1:t.b.b,i=null,r=$i(t.b,0);!i&&r.b!=r.d.c;)a=l(ji(r),86),Zt(Xt(re(a,(Kl(),w5))))&&(i=a);i&&ggt(e,new Mv(i),n),Br(n)}function l1t(e){Ihe();var t,n,r,i;return r=lg(e,mh(35)),t=r==-1?e:e.substr(0,r),n=r==-1?null:e.substr(r+1),i=t1n(WPe,t),i?n!=null&&(i=xut(i,(Xn(n),n))):(i=LTn(t),u1n(WPe,t,i),n!=null&&(i=xut(i,n))),i}function que(e){var t;In();var n,r,i,a,h,d;if(Le(e,54))for(a=0,i=e.gc()-1;a<i;++a,--i)t=e.Xb(a),e._c(a,e.Xb(i)),e._c(i,t);else for(n=e.Yc(),h=e.Zc(e.gc());n.Tb()<h.Vb();)r=n.Pb(),d=h.Ub(),n.Wb(d),h.Wb(r)}function p4n(e,t){var n,r,i;Zr(t,"End label pre-processing",1),n=ot(Lt(re(e,(Nt(),E8)))),r=ot(Lt(re(e,m5))),i=cE(l(re(e,zf),103)),ya(Al(new jn(null,new zn(e.b,16)),new sD),new Stt(n,r,i)),Br(t)}function Uue(e,t){var n,r,i,a,h,d;for(d=0,a=new g6,Gv(a,t);a.b!=a.c;)for(h=l(kk(a),214),d+=Nft(h.d,h.e),i=new M(h.b);i.a<i.c.c.length;)r=l(se(i),37),n=l(Kt(e.b,r.p),214),n.s||(d+=Uue(e,n));return d}function u1t(e,t,n){var r,i;zlt(this),t==(sy(),yb)?Ga(this.r,e.c):Ga(this.w,e.c),n==yb?Ga(this.r,e.d):Ga(this.w,e.d),Gdt(this,e),r=jle(e.c),i=jle(e.d),Rdt(this,r,i,i),this.o=(DM(),v.Math.abs(r-i)<.2)}function h1t(e,t,n){var r,i,a,h,d,b;if(d=l(Kn(e.a,8),1936),d!=null)for(i=d,a=0,h=i.length;a<h;++a)null.jm();r=n,e.a.Db&1||(b=new frt(e,n,t),r.ui(b)),Le(r,672)?l(r,672).wi(e.a):r.ti()==e.a&&r.vi(null)}function m4n(){var e;return FEt?l(b9((Pv(),Gd),$2),1945):(L9n(),e=l(Le(xu((Pv(),Gd),$2),586)?xu(Gd,$2):new yrt,586),FEt=!0,dTn(e),HTn(e),ds((h3e(),KPe),e,new Ux),Sue(e),Jc(Gd,$2,e),e)}function v4n(e,t,n,r){var i;return i=K6(e,n,pe(de(jt,1),dt,2,6,[ife,sfe,afe,ofe,cfe,lfe,ufe]),t),i<0&&(i=K6(e,n,pe(de(jt,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),i<0?!1:(r.d=i,!0)}function b4n(e,t,n,r){var i;return i=K6(e,n,pe(de(jt,1),dt,2,6,[ife,sfe,afe,ofe,cfe,lfe,ufe]),t),i<0&&(i=K6(e,n,pe(de(jt,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),i<0?!1:(r.d=i,!0)}function w4n(e){var t,n,r;for(T6n(e),r=new yt,n=new M(e.a.a.b);n.a<n.c.c.length;)t=l(se(n),81),wt(r,new E3e(t,!0)),wt(r,new E3e(t,!1));a2n(e.c),UP(r,e.b,new gf(pe(de(JR,1),Ht,369,0,[e.c]))),$5n(e)}function y4n(e){var t,n,r,i;for(n=new si,i=new M(e.d);i.a<i.c.c.length;)r=l(se(i),181),t=l(r.We((mt(),v8)),17),cl(n.f,t)||ds(n,t,new Grt(t)),wt(l(Bl(cl(n.f,t)),456).b,r);return new Ah(new m0(n))}function _4n(e,t){var n,r,i,a,h;for(r=new Wit(e.j.c.length),n=null,a=new M(e.j);a.a<a.c.c.length;)i=l(se(a),11),i.j!=n&&(r.b==r.c||E0t(r,n,t),Z6e(r),n=i.j),h=c0t(i),h&&G6e(r,h);r.b==r.c||E0t(r,n,t)}function x4n(e,t){var n,r,i;for(r=new Ro(e.b,0);r.b<r.d.gc();)n=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),70)),i=l(re(n,(Nt(),Ig)),272),i==(A0(),_5)&&(wf(r),wt(t.b,n),so(n,(mt(),v8))||ut(n,v8,e))}function k4n(e){var t,n,r,i,a;for(t=Np(new Rr(zr($a(e).a.Kc(),new J))),i=new Rr(zr(bl(e).a.Kc(),new J));Ei(i);)r=l(hi(i),17),n=r.c.i,a=Np(new Rr(zr($a(n).a.Kc(),new J))),t=v.Math.max(t,a);return St(t)}function E4n(e,t,n){var r,i,a,h;for(Zr(n,"Processor arrange node",1),i=null,a=new sa,r=$i(t.b,0);!i&&r.b!=r.d.c;)h=l(ji(r),86),Zt(Xt(re(h,(Kl(),w5))))&&(i=h);xa(a,i,a.c.b,a.c),_mt(e,a,Eu(n,1)),Br(n)}function f1t(e,t,n){var r,i,a;r=l(nn(e,(Yi(),GY)),21),i=0,a=0,t.a>n.a&&(r.Hc((P4(),CB))?i=(t.a-n.a)/2:r.Hc(AB)&&(i=t.a-n.a)),t.b>n.b&&(r.Hc((P4(),LB))?a=(t.b-n.b)/2:r.Hc(MB)&&(a=t.b-n.b)),k8e(e,i,a)}function d1t(e,t,n,r,i,a,h,d,b,E,C,P,$){Le(e.Cb,88)&&B4(Jh(l(e.Cb,88)),4),Ru(e,n),e.f=h,r9(e,d),s9(e,b),n9(e,E),i9(e,C),Dm(e,P),a9(e,$),Om(e,!0),Mm(e,i),e.ok(a),k2(e,t),r!=null&&(e.i=null,uU(e,r))}function g1t(e){var t,n;if(e.f){for(;e.n>0;){if(t=l(e.k.Xb(e.n-1),72),n=t.ak(),Le(n,99)&&l(n,18).Bb&Yl&&(!e.e||n.Gj()!=IT||n.aj()!=0)&&t.dd()!=null)return!0;--e.n}return!1}else return e.n>0}function H8e(e,t,n){if(e<0)return PM(Zmt,pe(de(xr,1),Ht,1,5,[n,St(e)]));if(t<0)throw ue(new Jn(Jmt+t));return PM("%s (%s) must not be greater than size (%s)",pe(de(xr,1),Ht,1,5,[n,St(e),St(t)]))}function z8e(e,t,n,r,i,a){var h,d,b,E;if(h=r-n,h<7){uvn(t,n,r,a);return}if(b=n+i,d=r+i,E=b+(d-b>>1),z8e(t,e,b,E,-i,a),z8e(t,e,E,d,-i,a),a.ue(e[E-1],e[E])<=0){for(;n<r;)la(t,n++,e[b++]);return}Omn(e,b,E,d,t,n,r,a)}function UN(e,t){var n,r,i;for(i=new yt,r=new M(e.c.a.b);r.a<r.c.c.length;)n=l(se(r),57),t.Lb(n)&&(wt(i,new v3e(n,!0)),wt(i,new v3e(n,!1)));s2n(e.e),vst(i,e.d,new gf(pe(de(Xyt,1),Ht,679,0,[e.e])))}function T4n(e,t){var n,r,i,a,h,d,b;for(b=t.d,i=t.b.j,d=new M(b);d.a<d.c.c.length;)for(h=l(se(d),101),a=Ue(uf,op,25,i.c.length,16,1),ds(e.b,h,a),n=h.a.d.p-1,r=h.c.d.p;n!=r;)n=(n+1)%i.c.length,a[n]=!0}function S4n(e,t){for(e.r=new gN(e.p),sye(e.r,e),mc(e.r.j,e.j),Sd(e.j),zi(e.j,t),zi(e.r.e,t),rq(e),rq(e.r);e.f.c.length!=0;)NJe(l(Kt(e.f,0),129));for(;e.k.c.length!=0;)NJe(l(Kt(e.k,0),129));return e.r}function Gue(e,t,n){var r,i,a;if(i=Rn(e.Tg(),t),r=t-e.Ah(),r<0)if(i)if(i.Ij())a=e.Yg(i),a>=0?e.sh(a,n):b7e(e,i,n);else throw ue(new Jn(ub+i.ne()+uL));else throw ue(new Jn(M2t+t+L2t));else ld(e,r,i,n)}function p1t(e){var t,n,r,i;if(n=l(e,49).qh(),n)try{if(r=null,t=b9((Pv(),Gd),Qgt(dvn(n))),t&&(i=t.rh(),i&&(r=i.Wk(_rn(n.e)))),r&&r!=e)return p1t(r)}catch(a){if(a=ea(a),!Le(a,60))throw ue(a)}return e}function Gu(e,t,n){var r,i,a,h;if(h=t==null?0:e.b.se(t),i=(r=e.a.get(h),r??new Array),i.length==0)e.a.set(h,i);else if(a=Iut(e,t,i),a)return a.ed(n);return la(i,i.length,new Wz(t,n)),++e.c,pq(e.b),null}function m1t(e,t){var n,r;return Cq(e.a),Yg(e.a,(dU(),DY),DY),Yg(e.a,kT,kT),r=new eo,ss(r,kT,(PU(),$ge)),Je(nn(t,(O4(),Vge)))!==Je((kN(),PY))&&ss(r,kT,Fge),ss(r,kT,jge),gJe(e.a,r),n=DG(e.a,t),n}function v1t(e){if(!e)return ZYe(),Myt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=M1e[typeof t];return n?n(t):Pxe(typeof t)}else return e instanceof Array||e instanceof v.Array?new Qx(e):new V7(e)}function b1t(e,t,n){var r,i,a;switch(a=e.o,r=l(Vc(e.p,n),244),i=r.i,i.b=KN(r),i.a=WN(r),i.b=v.Math.max(i.b,a.a),i.b>a.a&&!t&&(i.b=a.a),i.c=-(i.b-a.a)/2,n.g){case 1:i.d=-i.a;break;case 3:i.d=a.b}whe(r),yhe(r)}function w1t(e,t,n){var r,i,a;switch(a=e.o,r=l(Vc(e.p,n),244),i=r.i,i.b=KN(r),i.a=WN(r),i.a=v.Math.max(i.a,a.b),i.a>a.b&&!t&&(i.a=a.b),i.d=-(i.a-a.b)/2,n.g){case 4:i.c=-i.b;break;case 2:i.c=a.a}whe(r),yhe(r)}function C4n(e,t){var n,r,i,a,h;if(!t.dc()){if(i=l(t.Xb(0),128),t.gc()==1){G0t(e,i,i,1,0,t);return}for(n=1;n<t.gc();)(i.j||!i.o)&&(a=R2n(t,n),a&&(r=l(a.a,19).a,h=l(a.b,128),G0t(e,i,h,n,r,t),n=r+1,i=h))}}function A4n(e){var t,n,r,i,a,h;for(h=new Ah(e.d),fo(h,new Fte),t=(_G(),pe(de(mMe,1),vt,270,0,[m0e,w0e,p0e,x0e,b0e,v0e,_0e,y0e])),n=0,a=new M(h);a.a<a.c.c.length;)i=l(se(a),101),r=t[n%t.length],E5n(i,r),++n}function M4n(e,t){J6();var n,r,i,a;if(t.b<2)return!1;for(a=$i(t,0),n=l(ji(a),8),r=n;a.b!=a.d.c;){if(i=l(ji(a),8),!(VE(e,r)&&VE(e,i)))return!1;r=i}return!!(VE(e,r)&&VE(e,n))}function V8e(e,t){var n,r,i,a,h,d,b,E,C,P;return C=null,P=e,h=jp(P,"x"),n=new dKe(t),_0n(n.a,h),d=jp(P,"y"),r=new gKe(t),x0n(r.a,d),b=jp(P,Kde),i=new pKe(t),k0n(i.a,b),E=jp(P,Wde),a=new mKe(t),C=(E0n(a.a,E),E),C}function B4(e,t){Tgt(e,t),e.b&1&&(e.a.a=null),e.b&2&&(e.a.f=null),e.b&4&&(e.a.g=null,e.a.i=null),e.b&16&&(e.a.d=null,e.a.e=null),e.b&8&&(e.a.b=null),e.b&32&&(e.a.j=null,e.a.c=null)}function L4n(e,t){var n,r,i;if(i=0,t.length>0)try{i=Bf(t,Jo,as)}catch(a){throw a=ea(a),Le(a,127)?(r=a,ue(new Uq(r))):ue(a)}return n=(!e.a&&(e.a=new Xse(e)),e.a),i<n.i&&i>=0?l(Re(n,i),56):null}function I4n(e,t){if(e<0)return PM(Zmt,pe(de(xr,1),Ht,1,5,["index",St(e)]));if(t<0)throw ue(new Jn(Jmt+t));return PM("%s (%s) must be less than size (%s)",pe(de(xr,1),Ht,1,5,["index",St(e),St(t)]))}function O4n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Mi(a.a,a.b):a.a=new Af(a.d),TA(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function D4n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Mi(a.a,a.b):a.a=new Af(a.d),TA(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function P4n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Mi(a.a,a.b):a.a=new Af(a.d),TA(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function N4n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Mi(a.a,a.b):a.a=new Af(a.d),TA(a.a,""+t);return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function y1t(e,t){var n,r,i,a,h,d;for(n=e.b.c.length,i=Kt(e.b,t);t*2+1<n&&(r=(a=2*t+1,h=a+1,d=a,h<n&&e.a.ue(Kt(e.b,h),Kt(e.b,a))<0&&(d=h),d),!(e.a.ue(i,Kt(e.b,r))<0));)rd(e.b,t,Kt(e.b,r)),t=r;rd(e.b,t,i)}function q8e(e,t,n,r,i,a){var h,d,b,E,C;for(Je(e)===Je(n)&&(e=e.slice(t,t+i),t=0),b=n,d=t,E=t+i;d<E;)h=v.Math.min(d+1e4,E),i=h-d,C=e.slice(d,h),C.splice(0,0,r,a?i:0),Array.prototype.splice.apply(b,C),d=h,r+=i}function Wue(e,t,n){var r,i;return r=n.d,i=n.e,e.g[r.d]<=e.i[t.d]&&e.i[t.d]<=e.i[r.d]&&e.g[i.d]<=e.i[t.d]&&e.i[t.d]<=e.i[i.d]?!(e.i[r.d]<e.i[i.d]):e.i[r.d]<e.i[i.d]}function _1t(e){var t,n,r,i,a,h,d;if(r=e.a.c.length,r>0)for(h=e.c.d,d=e.d.d,i=ug(xo(new en(d.a,d.b),h),1/(r+1)),a=new en(h.a,h.b),n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),559),t.d.a=a.a,t.d.b=a.b,xs(a,i)}function x1t(e,t,n){var r,i,a,h,d,b;for(b=ma,a=new M(P0t(e.b));a.a<a.c.c.length;)for(i=l(se(a),168),d=new M(P0t(t.b));d.a<d.c.c.length;)h=l(se(d),168),r=xpn(i.a,i.b,h.a,h.b,n),b=v.Math.min(b,r);return b}function Ka(e,t){if(!t)throw ue(new GC);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function R4n(e,t){var n,r,i;return Le(t.g,10)&&l(t.g,10).k==(gr(),La)?ma:(i=Lk(t),i?v.Math.max(0,e.b/2-.5):(n=I6(t),n?(r=ot(Lt(L4(n,(Nt(),e3)))),v.Math.max(0,r/2-.5)):ma))}function B4n(e,t){var n,r,i;return Le(t.g,10)&&l(t.g,10).k==(gr(),La)?ma:(i=Lk(t),i?v.Math.max(0,e.b/2-.5):(n=I6(t),n?(r=ot(Lt(L4(n,(Nt(),e3)))),v.Math.max(0,r/2-.5)):ma))}function F4n(e){var t,n,r,i,a,h;for(h=gM(e.d,e.e),a=h.Kc();a.Ob();)for(i=l(a.Pb(),11),r=e.e==(Mt(),nr)?i.e:i.g,n=new M(r);n.a<n.c.c.length;)t=l(se(n),17),!pc(t)&&t.c.i.c!=t.d.i.c&&(q3n(e,t),++e.f,++e.c)}function k1t(e,t){var n,r;if(t.dc())return In(),In(),Lc;for(r=new yt,wt(r,St(Jo)),n=1;n<e.f;++n)e.a==null&&Egt(e),e.a[n]&&wt(r,St(n));return r.c.length==1?(In(),In(),Lc):(wt(r,St(as)),j8n(t,r))}function j4n(e,t){var n,r,i,a,h,d,b;h=t.c.i.k!=(gr(),za),b=h?t.d:t.c,n=ewn(t,b).i,i=l(Tr(e.k,b),121),r=e.i[n.p].a,ftt(b.i)<(n.c?vl(n.c.a,n,0):-1)?(a=i,d=r):(a=r,d=i),v1(o1(a1(c1(s1(new kd,0),4),a),d))}function $4n(e,t,n){var r,i,a,h,d,b;if(n)for(i=n.a.length,r=new c2(i),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),b=_ue(e,Gk(x4(n,h.a))),b&&(a=(!t.b&&(t.b=new $n(Xr,t,4,7)),t.b),fi(a,b))}function H4n(e,t,n){var r,i,a,h,d,b;if(n)for(i=n.a.length,r=new c2(i),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),b=_ue(e,Gk(x4(n,h.a))),b&&(a=(!t.c&&(t.c=new $n(Xr,t,5,8)),t.c),fi(a,b))}function GN(e,t,n){var r,i;r=t.a&e.f,t.b=e.b[r],e.b[r]=t,i=t.f&e.f,t.d=e.c[i],e.c[i]=t,n?(t.e=n.e,t.e?t.e.c=t:e.a=t,t.c=n.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function E1t(e){var t,n,r;if(t=e.Pb(),!e.Ob())return t;for(r=Wl(Mi(new Lv,"expected one element but was: <"),t),n=0;n<4&&e.Ob();n++)Wl((r.a+=bc,r),e.Pb());throw e.Ob()&&(r.a+=", ..."),r.a+=">",ue(new Jn(r.a))}function z4n(e,t){var n;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(n=l(Dk(e.b,t.a),283),n.a=0,++e.c):(n=l(Tr(e.b,t.a),283),--n.a,t.e?t.e.c=t.c:n.b=t.c,t.c?t.c.e=t.e:n.c=t.e),--e.d}function V4n(e){var t,n;return n=-e.a,t=pe(de(md,1),bg,25,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&Aa,t[2]=t[2]+(n/60|0)%10&Aa,t[3]=t[3]+(n%60/10|0)&Aa,t[4]=t[4]+n%10&Aa,Ad(t,0,t.length)}function T1t(e,t,n){var r,i;for(r=t.d,i=n.d;r.a-i.a==0&&r.b-i.b==0;)r.a+=rf(e,26)*GM+rf(e,27)*WM-.5,r.b+=rf(e,26)*GM+rf(e,27)*WM-.5,i.a+=rf(e,26)*GM+rf(e,27)*WM-.5,i.b+=rf(e,26)*GM+rf(e,27)*WM-.5}function U8e(e){var t,n,r,i;for(e.g=new bM(l(ui(yc),290)),r=0,n=(Mt(),Qn),t=0;t<e.j.c.length;t++)i=l(Kt(e.j,t),11),i.j!=n&&(r!=t&&_k(e.g,n,new No(St(r),St(t))),n=i.j,r=t);_k(e.g,n,new No(St(r),St(t)))}function q4n(e){var t,n,r,i,a,h,d;for(r=0,n=new M(e.b);n.a<n.c.c.length;)for(t=l(se(n),29),a=new M(t.a);a.a<a.c.c.length;)for(i=l(se(a),10),i.p=r++,d=new M(i.j);d.a<d.c.c.length;)h=l(se(d),11),h.p=r++}function S1t(e,t,n,r,i){var a,h,d,b,E;if(t)for(d=t.Kc();d.Ob();)for(h=l(d.Pb(),10),E=P7e(h,(Oc(),Hu),n).Kc();E.Ob();)b=l(E.Pb(),11),a=l(Bl(cl(i.f,b)),112),a||(a=new gN(e.d),r.c[r.c.length]=a,c1t(a,b,i))}function G8e(e,t){var n,r,i;if(i=n_((Ih(),Vo),e.Tg(),t),i)Sc(),l(i,66).Oj()||(i=Mk(tl(Vo,i))),r=(n=e.Yg(i),l(n>=0?e._g(n,!0,!0):Cy(e,i,!0),153)),l(r,215).ol(t);else throw ue(new Jn(ub+t.ne()+uL))}function W8e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Sa(v.Math.floor(v.Math.log(e)/.6931471805599453)),(!t||e!=v.Math.pow(2,n))&&++n,n):Ult(ph(e))}function U4n(e){var t,n,r,i,a,h,d;for(a=new Mp,n=new M(e);n.a<n.c.c.length;)t=l(se(n),129),h=t.a,d=t.b,!(a.a._b(h)||a.a._b(d))&&(i=h,r=d,h.e.b+h.j.b>2&&d.e.b+d.j.b<=2&&(i=d,r=h),a.a.zc(i,a),i.q=r);return a}function C1t(e,t){var n,r,i;return r=new qp(e),ll(r,t),ut(r,(mt(),JK),t),ut(r,(Nt(),ba),(Ao(),Iu)),ut(r,Lg,(ep(),qY)),Cp(r,(gr(),La)),n=new fu,Cl(n,r),Ka(n,(Mt(),nr)),i=new fu,Cl(i,r),Ka(i,fr),r}function A1t(e){switch(e.g){case 0:return new uae((py(),bB));case 1:return new zH;case 2:return new cse;default:throw ue(new Jn("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function M1t(e,t){var n,r,i,a,h;for(e.c[t.p]=!0,wt(e.a,t),h=new M(t.j);h.a<h.c.c.length;)for(a=l(se(h),11),r=new C0(a.b);Sl(r.a)||Sl(r.b);)n=l(Sl(r.a)?se(r.a):se(r.b),17),i=ibn(a,n).i,e.c[i.p]||M1t(e,i)}function L1t(e){var t,n,r,i,a,h,d;for(h=0,n=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));n.e!=n.i.gc();)t=l(Ur(n),33),d=t.g,i=t.f,r=v.Math.sqrt(d*d+i*i),h=v.Math.max(r,h),a=L1t(t),h=v.Math.max(a,h);return h}function Gh(){Gh=Ee,Tb=new xA("OUTSIDE",0),tm=new xA("INSIDE",1),jB=new xA("NEXT_TO_PORT_IF_POSSIBLE",2),mI=new xA("ALWAYS_SAME_SIDE",3),pI=new xA("ALWAYS_OTHER_SAME_SIDE",4),I8=new xA("SPACE_EFFICIENT",5)}function I1t(e,t,n){var r,i,a,h,d,b;return r=kdn(e,(i=(Hw(),a=new Oye,a),n&&y7e(i,n),i),t),sM(r,Pp(t,Sg)),cG(t,r),c6n(t,r),V8e(t,r),h=t,d=ly(h,"ports"),b=new OZe(e,r),K6n(b.a,b.b,d),Tle(e,t,r),vpn(e,t,r),r}function G4n(e){var t,n;return n=-e.a,t=pe(de(md,1),bg,25,15,[43,48,48,58,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&Aa,t[2]=t[2]+(n/60|0)%10&Aa,t[4]=t[4]+(n%60/10|0)&Aa,t[5]=t[5]+n%10&Aa,Ad(t,0,t.length)}function W4n(e){var t;return t=pe(de(md,1),bg,25,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&Aa,t[5]=t[5]+(e/60|0)%10&Aa,t[7]=t[7]+(e%60/10|0)&Aa,t[8]=t[8]+e%10&Aa,Ad(t,0,t.length)}function K4n(e){var t,n,r,i,a;if(e==null)return vh;for(a=new w2(bc,"[","]"),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Mi(a.a,a.b):a.a=new Af(a.d),TA(a.a,""+$A(t));return a.a?a.e.length==0?a.a.a:a.a.a+(""+a.e):a.c}function K8e(e,t){var n,r,i;for(i=as,r=new M($6(t));r.a<r.c.c.length;)n=l(se(r),213),n.f&&!e.c[n.c]&&(e.c[n.c]=!0,i=v.Math.min(i,K8e(e,NU(n,t))));return e.i[t.d]=e.j,e.g[t.d]=v.Math.min(i,e.j++),e.g[t.d]}function O1t(e,t){var n,r,i;for(i=l(l(_s(e.r,t),21),84).Kc();i.Ob();)r=l(i.Pb(),111),r.e.b=(n=r.b,n.Xe((Yi(),cf))?n.Hf()==(Mt(),Qn)?-n.rf().b-ot(Lt(n.We(cf))):ot(Lt(n.We(cf))):n.Hf()==(Mt(),Qn)?-n.rf().b:0)}function Y4n(e){var t,n,r,i,a,h,d;for(n=t4e(e.e),a=ug(xP(Fl(e4e(e.e)),e.d*e.a,e.c*e.b),-.5),t=n.a-a.a,i=n.b-a.b,d=0;d<e.c;d++){for(r=t,h=0;h<e.d;h++)bvn(e.e,new td(r,i,e.a,e.b))&&TG(e,h,d,!1,!0),r+=e.a;i+=e.b}}function X4n(e){var t,n,r;if(Zt(Xt(nn(e,(Yi(),OB))))){for(r=new yt,n=new Rr(zr(Up(e).a.Kc(),new J));Ei(n);)t=l(hi(n),79),Sy(t)&&Zt(Xt(nn(t,hpe)))&&(r.c[r.c.length]=t);return r}else return In(),In(),Lc}function Gk(e){var t,n;if(n=!1,Le(e,204))return n=!0,l(e,204).a;if(!n&&Le(e,258)&&(t=l(e,258).a%1==0,t))return n=!0,St(Vin(l(e,258).a));throw ue(new og("Id must be a string or an integer: '"+e+"'."))}function Q4n(e,t){var n,r,i,a,h,d;for(a=null,i=new Vnt((!e.a&&(e.a=new Xse(e)),e.a));J8e(i);)if(n=l(pG(i),56),r=(h=n.Tg(),d=(t_(h),h.o),!d||!n.mh(d)?null:r5e(yle(d),n.ah(d))),r!=null&&Tn(r,t)){a=n;break}return a}function D1t(e,t,n){var r,i,a,h,d;if(Pf(n,"occurrences"),n==0)return d=l(A4(Ck(e.a),t),14),d?d.gc():0;if(h=l(A4(Ck(e.a),t),14),!h)return 0;if(a=h.gc(),n>=a)h.$b();else for(i=h.Kc(),r=0;r<n;r++)i.Pb(),i.Qb();return a}function Z4n(e,t,n){var r,i,a,h;return Pf(n,"oldCount"),Pf(0,"newCount"),r=l(A4(Ck(e.a),t),14),(r?r.gc():0)==n?(Pf(0,"count"),i=(a=l(A4(Ck(e.a),t),14),a?a.gc():0),h=-i,h>0?Uye():h<0&&D1t(e,t,-h),!0):!1}function WN(e){var t,n,r,i,a,h,d;if(d=0,e.b==0){for(h=pft(e,!0),t=0,r=h,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}else d=aXe(wlt(cq($s(Woe(e.a),new nc),new Wo)));return d>0?d+e.n.d+e.n.a:0}function KN(e){var t,n,r,i,a,h,d;if(d=0,e.b==0)d=aXe(wlt(cq($s(Woe(e.a),new Ia),new Do)));else{for(h=mft(e,!0),t=0,r=h,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(d+=n,++t);t>1&&(d+=e.c*(t-1))}return d>0?d+e.n.b+e.n.c:0}function J4n(e,t){var n,r,i,a;for(a=l(Vc(e.b,t),124),n=a.a,i=l(l(_s(e.r,t),21),84).Kc();i.Ob();)r=l(i.Pb(),111),r.c&&(n.a=v.Math.max(n.a,O5e(r.c)));if(n.a>0)switch(t.g){case 2:a.n.c=e.s;break;case 4:a.n.b=e.s}}function e5n(e,t){var n,r,i;return n=l(re(t,(X1(),eT)),19).a-l(re(e,eT),19).a,n==0?(r=xo(Fl(l(re(e,(Kv(),ZR)),8)),l(re(e,CL),8)),i=xo(Fl(l(re(t,ZR),8)),l(re(t,CL),8)),ja(r.a*r.b,i.a*i.b)):n}function t5n(e,t){var n,r,i;return n=l(re(t,(Ay(),OY)),19).a-l(re(e,OY),19).a,n==0?(r=xo(Fl(l(re(e,(Kl(),_B)),8)),l(re(e,eI),8)),i=xo(Fl(l(re(t,_B),8)),l(re(t,eI),8)),ja(r.a*r.b,i.a*i.b)):n}function P1t(e){var t,n;return n=new Lv,n.a+="e_",t=upn(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(Mi((n.a+=" ",n),nG(e.c)),Mi(Wl((n.a+="[",n),e.c.i),"]"),Mi((n.a+=zfe,n),nG(e.d)),Mi(Wl((n.a+="[",n),e.d.i),"]")),n.a}function N1t(e){switch(e.g){case 0:return new OD;case 1:return new ase;case 2:return new sse;case 3:return new VH;default:throw ue(new Jn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Y8e(e,t,n,r,i){var a;switch(a=0,i.g){case 1:a=v.Math.max(0,t.b+e.b-(n.b+r));break;case 3:a=v.Math.max(0,-e.b-r);break;case 2:a=v.Math.max(0,-e.a-r);break;case 4:a=v.Math.max(0,t.a+e.a-(n.a+r))}return a}function n5n(e,t,n){var r,i,a,h,d;if(n)for(i=n.a.length,r=new c2(i),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),a=SE(n,h.a),uSe in a.a||Zde in a.a?dkn(e,a,t):wTn(e,a,t),$sn(l(Tr(e.b,o9(a)),79))}function X8e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=Md(e),t&&(Sc(),t.Cj()==Iwt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function r5n(e,t){var n,r,i,a,h;for(r=(!t.s&&(t.s=new _t(_h,t,21,17)),t.s),a=null,i=0,h=r.i;i<h;++i)switch(n=l(Re(r,i),170),ry(tl(e,n))){case 2:case 3:!a&&(a=new yt),a.c[a.c.length]=n}return a||(In(),In(),Lc)}function Q8e(e,t){var n,r,i,a;if(ts(e),e.c!=0||e.a!=123)throw ue(new bi(Ti((mi(),J2t))));if(a=t==112,r=e.d,n=uE(e.i,125,r),n<0)throw ue(new bi(Ti((mi(),ewt))));return i=Mf(e.i,r,n),e.d=n+1,_ot(i,a,(e.e&512)==512)}function i5n(e){var t;if(t=l(re(e,(Nt(),$L)),314),t==(Rk(),g8))throw ue(new JC("The hierarchy aware processor "+t+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}function s5n(e,t){u1();var n,r,i,a,h,d;for(n=null,h=t.Kc();h.Ob();)a=l(h.Pb(),128),!a.o&&(r=_sn(a.a),i=cln(a.a),d=new FM(r,i,null,l(a.d.a.ec().Kc().Pb(),17)),wt(d.c,a.a),e.c[e.c.length]=d,n&&wt(n.d,d),n=d)}function a5n(e,t){var n,r,i;if(!t)ule(e,null),$E(e,null);else if(t.i&4)for(r="[]",n=t.c;;n=n.c){if(!(n.i&4)){i=zye((Lp(n),n.o+r)),ule(e,i),$E(e,i);break}r+="[]"}else i=zye((Lp(t),t.o)),ule(e,i),$E(e,i);e.yk(t)}function LM(e,t,n,r,i){var a,h,d,b;return b=poe(e,l(i,56)),Je(b)!==Je(i)?(d=l(e.g[n],72),a=Zg(t,b),MA(e,n,Pue(e,n,a)),pf(e.e)&&(h=Uv(e,9,a.ak(),i,b,r,!1),f8e(h,new Bp(e.e,9,e.c,d,a,r,!1)),Jce(h)),b):i}function o5n(e,t,n){var r,i,a,h,d,b;for(r=l(_s(e.c,t),15),i=l(_s(e.c,n),15),a=r.Zc(r.gc()),h=i.Zc(i.gc());a.Sb()&&h.Sb();)if(d=l(a.Ub(),19),b=l(h.Ub(),19),d!=b)return ah(d.a,b.a);return!a.Ob()&&!h.Ob()?0:a.Ob()?1:-1}function R1t(e,t){var n,r,i;try{return i=Zfn(e.a,t),i}catch(a){if(a=ea(a),Le(a,32)){try{if(r=Bf(t,Jo,as),n=H1(e.a),r>=0&&r<n.length)return n[r]}catch(h){if(h=ea(h),!Le(h,127))throw ue(h)}return null}else throw ue(a)}}function Kue(e,t){var n,r,i;if(i=n_((Ih(),Vo),e.Tg(),t),i)return Sc(),l(i,66).Oj()||(i=Mk(tl(Vo,i))),r=(n=e.Yg(i),l(n>=0?e._g(n,!0,!0):Cy(e,i,!0),153)),l(r,215).ll(t);throw ue(new Jn(ub+t.ne()+Vde))}function c5n(){f3e();var e;return mEt?l(b9((Pv(),Gd),Nd),1939):(Vi(H2,new R1),VEn(),e=l(Le(xu((Pv(),Gd),Nd),547)?xu(Gd,Nd):new _rt,547),mEt=!0,jTn(e),qTn(e),ds((h3e(),KPe),e,new sie),Jc(Gd,Nd,e),e)}function l5n(e,t){var n,r,i,a;e.j=-1,pf(e.e)?(n=e.i,a=e.i!=0,KP(e,t),r=new Bp(e.e,3,e.c,null,t,n,a),i=t.Qk(e.e,e.c,null),i=ddt(e,t,i),i?(i.Ei(r),i.Fi()):us(e.e,r)):(KP(e,t),i=t.Qk(e.e,e.c,null),i&&i.Fi())}function fG(e,t){var n,r,i;if(i=0,r=t[0],r>=e.length)return-1;for(n=(yi(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(yi(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function u5n(e){var t,n,r,i,a;return i=l(e.a,19).a,a=l(e.b,19).a,n=i,r=a,t=v.Math.max(v.Math.abs(i),v.Math.abs(a)),i<=0&&i==a?(n=0,r=a-1):i==-t&&a!=t?(n=a,r=i,a>=0&&++n):(n=-a,r=i),new No(St(n),St(r))}function h5n(e,t,n,r){var i,a,h,d,b,E;for(i=0;i<t.o;i++)for(a=i-t.j+n,h=0;h<t.p;h++)if(d=h-t.k+r,b=a,E=d,b+=e.j,E+=e.k,b>=0&&E>=0&&b<e.o&&E<e.p&&(!xft(t,i,h)&&wft(e,a,d)||V6(t,i,h)&&!c2n(e,a,d)))return!0;return!1}function f5n(e,t,n){var r,i,a,h,d;h=e.c,d=e.d,a=Ml(pe(de(ao,1),dt,8,0,[h.i.n,h.n,h.a])).b,i=(a+Ml(pe(de(ao,1),dt,8,0,[d.i.n,d.n,d.a])).b)/2,r=null,h.j==(Mt(),fr)?r=new en(t+h.i.c.c.a+n,i):r=new en(t-n,i),hE(e.a,0,r)}function Sy(e){var t,n,r,i;for(t=null,r=Hv(M0(pe(de(B0,1),Ht,20,0,[(!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c)])));Ei(r);)if(n=l(hi(r),82),i=ul(n),!t)t=i;else if(t!=i)return!1;return!0}function Yue(e,t,n){var r;if(++e.j,t>=e.i)throw ue(new Qc(e1e+t+F2+e.i));if(n>=e.i)throw ue(new Qc(t1e+n+F2+e.i));return r=e.g[n],t!=n&&(t<n?du(e.g,t,e.g,t+1,n-t):du(e.g,n+1,e.g,n,t-n),la(e.g,t,r),e.ei(t,r,n),e.ci()),r}function En(e,t,n){var r;if(r=l(e.c.xc(t),14),r)return r.Fc(n)?(++e.d,!0):!1;if(r=e.ic(t),r.Fc(n))return++e.d,e.c.zc(t,r),!0;throw ue(new t_e("New Collection violated the Collection spec"))}function YN(e){var t,n,r;return e<0?0:e==0?32:(r=-(e>>16),t=r>>16&16,n=16-t,e=e>>t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-G4,t=r>>16&4,n+=t,e<<=t,r=e-vg,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function d5n(e){Sk();var t,n,r,i;for(hK=new yt,K1e=new si,W1e=new yt,t=(!e.a&&(e.a=new _t(fa,e,10,11)),e.a),U9n(t),i=new Ir(t);i.e!=i.i.gc();)r=l(Ur(i),33),vl(hK,r,0)==-1&&(n=new yt,wt(W1e,n),Wht(r,n));return W1e}function g5n(e,t,n){var r,i,a,h;e.a=n.b.d,Le(t,352)?(i=Z6(l(t,79),!1,!1),a=qN(i),r=new Yo(e),Ho(a,r),sR(a,i),t.We((Yi(),B_))!=null&&Ho(l(t.We(B_),74),r)):(h=l(t,470),h.Hg(h.Dg()+e.a.a),h.Ig(h.Eg()+e.a.b))}function B1t(e,t){var n,r,i,a,h,d,b,E;for(E=ot(Lt(re(t,(Nt(),VL)))),b=e[0].n.a+e[0].o.a+e[0].d.c+E,d=1;d<e.length;d++)r=e[d].n,i=e[d].o,n=e[d].d,a=r.a-n.b-b,a<0&&(r.a-=a),h=t.f,h.a=v.Math.max(h.a,r.a+i.a),b=r.a+i.a+n.c+E}function p5n(e,t){var n,r,i,a,h,d;return r=l(l(Tr(e.g,t.a),46).a,65),i=l(l(Tr(e.g,t.b),46).a,65),a=r.b,h=i.b,n=D7n(a,h),n>=0?n:(d=UA(xo(new en(h.c+h.b/2,h.d+h.a/2),new en(a.c+a.b/2,a.d+a.a/2))),-(spt(a,h)-1)*d)}function m5n(e,t,n){var r;ya(new jn(null,(!n.a&&(n.a=new _t(aa,n,6,6)),new zn(n.a,16))),new wZe(e,t)),ya(new jn(null,(!n.n&&(n.n=new _t(_l,n,1,7)),new zn(n.n,16))),new yZe(e,t)),r=l(nn(n,(Yi(),B_)),74),r&&txe(r,e,t)}function Cy(e,t,n){var r,i,a;if(a=n_((Ih(),Vo),e.Tg(),t),a)return Sc(),l(a,66).Oj()||(a=Mk(tl(Vo,a))),i=(r=e.Yg(a),l(r>=0?e._g(r,!0,!0):Cy(e,a,!0),153)),l(i,215).hl(t,n);throw ue(new Jn(ub+t.ne()+Vde))}function Z8e(e,t,n,r){var i,a,h,d,b;if(i=e.d[t],i){if(a=i.g,b=i.i,r!=null){for(d=0;d<b;++d)if(h=l(a[d],133),h.Sh()==n&&hs(r,h.cd()))return h}else for(d=0;d<b;++d)if(h=l(a[d],133),Je(h.cd())===Je(r))return h}return null}function XN(e,t){var n;if(t<0)throw ue(new Ez("Negative exponent"));if(t==0)return JW;if(t==1||ake(e,JW)||ake(e,Q9))return e;if(!o0t(e,0)){for(n=1;!o0t(e,n);)++n;return O6(Lvn(n*t),XN(i_e(e,n),t))}return jyn(e,t)}function v5n(e,t){var n,r,i;if(Je(e)===Je(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(n=0;n<e.length;++n)if(r=e[n],i=t[n],!(Je(r)===Je(i)||r!=null&&hs(r,i)))return!1;return!0}function F1t(e){l3e();var t,n,r;for(this.b=O4t,this.c=(Dc(),hp),this.f=(SQe(),I4t),this.a=e,Qye(this,new xh),bG(this),r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),81),n.d||(t=new rue(pe(de(t0e,1),Ht,81,0,[n])),wt(e.a,t))}function b5n(e,t,n){var r,i,a,h,d,b;if(!e||e.c.length==0)return null;for(a=new uit(t,!n),i=new M(e);i.a<i.c.c.length;)r=l(se(i),70),O8e(a,(iA(),new gc(r)));return h=a.i,h.a=(b=a.n,a.e.b+b.d+b.a),h.b=(d=a.n,a.e.a+d.b+d.c),a}function j1t(e){var t,n,r,i,a,h,d;for(d=qP(e.a),X3e(d,new i1),n=null,i=d,a=0,h=i.length;a<h&&(r=i[a],r.k==(gr(),La));++a)t=l(re(r,(mt(),Vl)),61),!(t!=(Mt(),nr)&&t!=fr)&&(n&&l(re(n,b8),15).Fc(r),n=r)}function w5n(e,t,n){var r,i,a,h,d,b,E;b=(Un(t,e.c.length),l(e.c[t],329)),Sm(e,t),b.b/2>=n&&(r=t,E=(b.c+b.a)/2,h=E-n,b.c<=E-n&&(i=new Coe(b.c,h),f4(e,r++,i)),d=E+n,d<=b.a&&(a=new Coe(d,b.a),b4(r,e.c.length),uA(e.c,r,a)))}function J8e(e){var t;if(!e.c&&e.g==null)e.d=e.si(e.f),fi(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=l(e.g[e.i-1],47)}return t==e.b&&null.km>=null.jm()?(pG(e),J8e(e)):t.Ob()}function y5n(e,t,n){var r,i,a,h,d;if(d=n,!d&&(d=L5e(new Y7,0)),Zr(d,ebt,1),smt(e.c,t),h=PEn(e.a,t),h.gc()==1)Hpt(l(h.Xb(0),37),d);else for(a=1/h.gc(),i=h.Kc();i.Ob();)r=l(i.Pb(),37),Hpt(r,Eu(d,a));Arn(e.a,h,t),Pxn(t),Br(d)}function $1t(e){if(this.a=e,e.c.i.k==(gr(),La))this.c=e.c,this.d=l(re(e.c.i,(mt(),Vl)),61);else if(e.d.i.k==La)this.c=e.d,this.d=l(re(e.d.i,(mt(),Vl)),61);else throw ue(new Jn("Edge "+e+" is not an external edge."))}function H1t(e,t){var n,r,i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,3,i,e.b)),t?t!=e&&(Ru(e,t.zb),ole(e,t.d),n=(r=t.c,r??t.zb),lle(e,n==null||Tn(n,t.zb)?null:n)):(Ru(e,null),ole(e,0),lle(e,null))}function z1t(e){var t,n;if(e.f){for(;e.n<e.o;){if(t=l(e.j?e.j.pi(e.n):e.k.Xb(e.n),72),n=t.ak(),Le(n,99)&&l(n,18).Bb&Yl&&(!e.e||n.Gj()!=IT||n.aj()!=0)&&t.dd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function V1t(e,t){var n;this.e=(m4(),ui(e),m4(),hke(e)),this.c=(ui(t),hke(t)),m4e(this.e.Hd().dc()==this.c.Hd().dc()),this.d=lht(this.e),this.b=lht(this.c),n=o2(xr,[dt,Ht],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,lgn(this)}function q1t(e){!USe&&(USe=eTn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(n){return ofn(n)});return'"'+t+'"'}function U1t(e){k6e();var t,n;for(this.b=Zyt,this.c=e3t,this.g=(TQe(),Qyt),this.d=(Dc(),hp),this.a=e,x7e(this),n=new M(e.b);n.a<n.c.c.length;)t=l(se(n),57),!t.a&&cet(zct(new Sye,pe(de(sK,1),Ht,57,0,[t])),e),t.e=new mq(t.d)}function _5n(e){var t,n,r,i,a,h;for(i=e.e.c.length,r=Ue(fd,W4,15,i,0,1),h=new M(e.e);h.a<h.c.c.length;)a=l(se(h),144),r[a.b]=new sa;for(n=new M(e.c);n.a<n.c.c.length;)t=l(se(n),282),r[t.c.b].Fc(t),r[t.d.b].Fc(t);return r}function x5n(e){var t,n,r,i,a,h,d;for(d=Gg(e.c.length),i=new M(e);i.a<i.c.c.length;){for(r=l(se(i),10),h=new Ja,a=$a(r),n=new Rr(zr(a.a.Kc(),new J));Ei(n);)t=l(hi(n),17),t.c.i==t.d.i||Ga(h,t.d.i);d.c[d.c.length]=h}return d}function k5n(e,t){var n,r,i,a,h;if(n=l(Kn(e.a,4),126),h=n==null?0:n.length,t>=h)throw ue(new h4(t,h));return i=n[t],h==1?r=null:(r=Ue(Lpe,a1e,415,h-1,0,1),du(n,0,r,0,t),a=h-t-1,a>0&&du(n,t+1,r,t,a)),c9(e,r),h1t(e,t,i),i}function Wk(){Wk=Ee,P8=l(Re(rt((e3e(),Ql).qb),6),34),D8=l(Re(rt(Ql.qb),3),34),Rpe=l(Re(rt(Ql.qb),4),34),Bpe=l(Re(rt(Ql.qb),5),18),aG(P8),aG(D8),aG(Rpe),aG(Bpe),yEt=new gf(pe(de(_h,1),g_,170,0,[P8,D8]))}function G1t(e,t){var n;this.d=new WC,this.b=t,this.e=new Zc(t.qf()),n=e.u.Hc((Gh(),jB)),e.u.Hc(tm)?e.D?this.a=n&&!t.If():this.a=!0:e.u.Hc(Tb)?n?this.a=!(t.zf().Kc().Ob()||t.Bf().Kc().Ob()):this.a=!1:this.a=!1}function W1t(e,t){var n,r,i,a;for(n=e.o.a,a=l(l(_s(e.r,t),21),84).Kc();a.Ob();)i=l(a.Pb(),111),i.e.a=(r=i.b,r.Xe((Yi(),cf))?r.Hf()==(Mt(),nr)?-r.rf().a-ot(Lt(r.We(cf))):n+ot(Lt(r.We(cf))):r.Hf()==(Mt(),nr)?-r.rf().a:n)}function K1t(e,t){var n,r,i,a;n=l(re(e,(Nt(),zf)),103),a=l(nn(t,vT),61),i=l(re(e,ba),98),i!=(Ao(),V0)&&i!=Eb?a==(Mt(),Dl)&&(a=Q7e(t,n),a==Dl&&(a=$k(n))):(r=$pt(t),r>0?a=$k(n):a=AN($k(n))),Uc(t,vT,a)}function E5n(e,t){var n,r,i,a,h;for(h=e.j,t.a!=t.b&&fo(h,new Nx),i=h.c.length/2|0,r=0;r<i;r++)a=(Un(r,h.c.length),l(h.c[r],113)),a.c&&Ka(a.d,t.a);for(n=i;n<h.c.length;n++)a=(Un(n,h.c.length),l(h.c[n],113)),a.c&&Ka(a.d,t.b)}function T5n(e,t,n){var r,i,a;return r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],r.a!=null&&i.a!=null?(a=zoe(r.a,i.a),a<0?nR(e,t,n):a>0&&nR(e,n,t),a):r.a!=null?(nR(e,t,n),-1):i.a!=null?(nR(e,n,t),1):0}function Y1t(e,t){var n,r,i,a;e.ej()?(n=e.Vi(),a=e.fj(),++e.j,e.Hi(n,e.oi(n,t)),r=e.Zi(3,null,t,n,a),e.bj()?(i=e.cj(t,null),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(hrt(e,t),e.bj()&&(i=e.cj(t,null),i&&i.Fi()))}function dG(e,t){var n,r,i,a,h;for(h=Wu(e.e.Tg(),t),i=new Hx,n=l(e.g,119),a=e.i;--a>=0;)r=n[a],h.rl(r.ak())&&fi(i,r);!Fmt(e,i)&&pf(e.e)&&K7(e,t.$j()?Uv(e,6,t,(In(),Lc),null,-1,!1):Uv(e,t.Kj()?2:1,t,null,null,-1,!1))}function m9(){m9=Ee;var e,t;for(h8=Ue(m_,dt,91,32,0,1),EL=Ue(m_,dt,91,32,0,1),e=1,t=0;t<=18;t++)h8[t]=DN(e),EL[t]=DN(Ip(e,t)),e=Zo(e,5);for(;t<EL.length;t++)h8[t]=O6(h8[t-1],h8[1]),EL[t]=O6(EL[t-1],(rb(),D1e))}function S5n(e,t){var n,r,i,a,h;return e.a==(g9(),DL)?!0:(a=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,h=r.c.c.a-r.o.a/2,i=a-(r.n.a+r.o.a),i>h)||t.q&&(r=t.C,h=r.c.c.a-r.o.a/2,i=r.n.a-n,i>h)))}function C5n(e,t){var n;Zr(t,"Partition preprocessing",1),n=l(Of($s(Al($s(new jn(null,new zn(e.a,16)),new Yee),new p$),new Ox),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),ya(n.Oc(),new m$),Br(t)}function X1t(e){xce();var t,n,r,i,a,h,d;for(n=new d2,i=new M(e.e.b);i.a<i.c.c.length;)for(r=l(se(i),29),h=new M(r.a);h.a<h.c.c.length;)a=l(se(h),10),d=e.g[a.p],t=l(uy(n,d),15),t||(t=new yt,S2(n,d,t)),t.Fc(a);return n}function A5n(e,t){var n,r,i,a,h;for(i=t.b.b,e.a=Ue(fd,W4,15,i,0,1),e.b=Ue(uf,op,25,i,16,1),h=$i(t.b,0);h.b!=h.d.c;)a=l(ji(h),86),e.a[a.g]=new sa;for(r=$i(t.a,0);r.b!=r.d.c;)n=l(ji(r),188),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function Q1t(e){var t;return e.Db&64?m1(e):(t=new Ed(m1(e)),t.a+=" (startX: ",v6(t,e.j),t.a+=", startY: ",v6(t,e.k),t.a+=", endX: ",v6(t,e.b),t.a+=", endY: ",v6(t,e.c),t.a+=", identifier: ",zc(t,e.d),t.a+=")",t.a)}function e7e(e){var t;return e.Db&64?dM(e):(t=new Ed(dM(e)),t.a+=" (ordered: ",ym(t,(e.Bb&256)!=0),t.a+=", unique: ",ym(t,(e.Bb&512)!=0),t.a+=", lowerBound: ",bae(t,e.s),t.a+=", upperBound: ",bae(t,e.t),t.a+=")",t.a)}function Z1t(e,t,n,r,i,a,h,d){var b;return Le(e.Cb,88)&&B4(Jh(l(e.Cb,88)),4),Ru(e,n),e.f=r,r9(e,i),s9(e,a),n9(e,h),i9(e,!1),Dm(e,!0),a9(e,d),Om(e,!0),Mm(e,0),e.b=0,S4(e,1),b=D0(e,t,null),b&&b.Fi(),Ule(e,!1),e}function J1t(e,t){var n,r,i,a;return n=l(xu(e.a,t),512),n||(r=new Fce(t),i=(Pq(),F0?null:r.c),a=Mf(i,0,v.Math.max(0,xV(i,mh(46)))),Jan(r,J1t(e,a)),(F0?null:r.c).length==0&&Ret(r,new it),Jc(e.a,F0?null:r.c,r),r)}function M5n(e,t){var n;e.b=t,e.g=new yt,n=P5n(e.b),e.e=n,e.f=n,e.c=Zt(Xt(re(e.b,(rG(),DCe)))),e.a=Lt(re(e.b,(Yi(),C8))),e.a==null&&(e.a=1),ot(e.a)>1?e.e*=ot(e.a):e.f/=ot(e.a),cmn(e),dbn(e),Yxn(e),ut(e.b,(_M(),uK),e.g)}function e0t(e,t,n){var r,i,a,h,d,b;for(r=0,b=n,t||(r=n*(e.c.length-1),b*=-1),a=new M(e);a.a<a.c.c.length;){for(i=l(se(a),10),ut(i,(Nt(),Lg),(ep(),qY)),i.o.a=r,d=Rm(i,(Mt(),fr)).Kc();d.Ob();)h=l(d.Pb(),11),h.n.a=r;r+=b}}function t7e(e,t,n){var r,i,a;e.ej()?(a=e.fj(),SN(e,t,n),r=e.Zi(3,null,n,t,a),e.bj()?(i=e.cj(n,null),e.ij()&&(i=e.jj(n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(SN(e,t,n),e.bj()&&(i=e.cj(n,null),i&&i.Fi()))}function Kk(e,t,n){var r,i,a,h,d,b;return d=e.Gk(n),d!=n?(h=e.g[t],b=d,MA(e,t,e.oi(t,b)),a=h,e.gi(t,b,a),e.rk()&&(r=n,i=e.dj(r,null),!l(d,49).eh()&&(i=e.cj(b,i)),i&&i.Fi()),pf(e.e)&&K7(e,e.Zi(9,n,d,t,!1)),d):n}function L5n(e,t){var n,r,i,a;for(r=new M(e.a.a);r.a<r.c.c.length;)n=l(se(r),189),n.g=!0;for(a=new M(e.a.b);a.a<a.c.c.length;)i=l(se(a),81),i.k=Zt(Xt(e.e.Kb(new No(i,t)))),i.d.g=i.d.g&Zt(Xt(e.e.Kb(new No(i,t))));return e}function t0t(e){var t,n,r,i,a;if(n=(t=l(H1(yc),9),new ed(t,l(l1(t,t.length),9),0)),a=l(re(e,(mt(),Wh)),10),a)for(i=new M(a.j);i.a<i.c.c.length;)r=l(se(i),11),Je(re(r,vs))===Je(e)&&OA(new C0(r.b))&&p1(n,r.j);return n}function n0t(e,t,n){var r,i,a,h,d;if(!e.d[n.p]){for(i=new Rr(zr($a(n).a.Kc(),new J));Ei(i);){for(r=l(hi(i),17),d=r.d.i,h=new Rr(zr(bl(d).a.Kc(),new J));Ei(h);)a=l(hi(h),17),a.c.i==t&&(e.a[a.p]=!0);n0t(e,t,d)}e.d[n.p]=!0}}function I5n(e,t){var n,r,i,a,h,d,b;if(r=cht(e.Db&254),r==1)e.Eb=null;else if(a=m2(e.Eb),r==2)i=kue(e,t),e.Eb=a[i==0?1:0];else{for(h=Ue(xr,Ht,1,r-1,5,1),n=2,d=0,b=0;n<=128;n<<=1)n==t?++d:e.Db&n&&(h[b++]=a[d++]);e.Eb=h}e.Db&=~t}function O5n(e,t){var n,r,i,a,h;for(r=(!t.s&&(t.s=new _t(_h,t,21,17)),t.s),a=null,i=0,h=r.i;i<h;++i)switch(n=l(Re(r,i),170),ry(tl(e,n))){case 4:case 5:case 6:{!a&&(a=new yt),a.c[a.c.length]=n;break}}return a||(In(),In(),Lc)}function n7e(e){var t;switch(t=0,e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=b1}return t}function D5n(e,t,n,r,i){var a,h,d,b;if(Je(e)===Je(t)&&r==i){Zgt(e,r,n);return}for(d=0;d<r;d++){for(h=0,a=e[d],b=0;b<i;b++)h=sc(sc(Zo(Wa(a,Nc),Wa(t[b],Nc)),Wa(n[d+b],Nc)),Wa(li(h),Nc)),n[d+b]=li(h),h=d4(h,32);n[d+i]=li(h)}}function P5n(e){var t,n,r,i,a,h,d,b,E,C,P;for(C=0,E=0,i=e.a,d=i.a.gc(),r=i.a.ec().Kc();r.Ob();)n=l(r.Pb(),561),t=(n.b&&khe(n),n.a),P=t.a,h=t.b,C+=P+h,E+=P*h;return b=v.Math.sqrt(400*d*E-4*E+C*C)+C,a=2*(100*d-1),a==0?b:b/a}function r0t(e,t){t.b!=0&&(isNaN(e.s)?e.s=ot((kr(t.b!=0),Lt(t.a.a.c))):e.s=v.Math.min(e.s,ot((kr(t.b!=0),Lt(t.a.a.c)))),isNaN(e.c)?e.c=ot((kr(t.b!=0),Lt(t.c.b.c))):e.c=v.Math.max(e.c,ot((kr(t.b!=0),Lt(t.c.b.c)))))}function IM(e){var t,n,r,i;for(t=null,r=Hv(M0(pe(de(B0,1),Ht,20,0,[(!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c)])));Ei(r);)if(n=l(hi(r),82),i=ul(n),!t)t=ua(i);else if(t!=ua(i))return!0;return!1}function Xue(e,t){var n,r,i,a;e.ej()?(n=e.i,a=e.fj(),KP(e,t),r=e.Zi(3,null,t,n,a),e.bj()?(i=e.cj(t,null),e.ij()&&(i=e.jj(t,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(KP(e,t),e.bj()&&(i=e.cj(t,null),i&&i.Fi()))}function i0t(e,t,n){var r,i,a;e.ej()?(a=e.fj(),++e.j,e.Hi(t,e.oi(t,n)),r=e.Zi(3,null,n,t,a),e.bj()?(i=e.cj(n,null),i?(i.Ei(r),i.Fi()):e.$i(r)):e.$i(r)):(++e.j,e.Hi(t,e.oi(t,n)),e.bj()&&(i=e.cj(n,null),i&&i.Fi()))}function N5n(e){var t,n,r,i;for(i=e.length,t=null,r=0;r<i;r++)n=(yi(r,e.length),e.charCodeAt(r)),lg(".*+?{[()|\\^$",mh(n))>=0?(t||(t=new eA,r>0&&zc(t,e.substr(0,r))),t.a+="\\",wE(t,n&Aa)):t&&wE(t,n&Aa);return t?t.a:e}function R5n(e){var t;if(!e.a)throw ue(new pl("IDataType class expected for layout option "+e.f));if(t=qdn(e.a),t==null)throw ue(new pl("Couldn't create new instance of property '"+e.f+"'. "+Zbt+(Lp(KB),KB.k)+tSe));return l(t,414)}function Que(e){var t,n,r,i,a;return a=e.eh(),a&&a.kh()&&(i=Zv(e,a),i!=a)?(n=e.Vg(),r=(t=e.Vg(),t>=0?e.Qg(null):e.eh().ih(e,-1-t,null,null)),e.Rg(l(i,49),n),r&&r.Fi(),e.Lg()&&e.Mg()&&n>-1&&us(e,new go(e,9,n,a,i)),i):a}function s0t(e){var t,n,r,i,a,h,d,b;for(h=0,a=e.f.e,r=0;r<a.c.length;++r)for(d=(Un(r,a.c.length),l(a.c[r],144)),i=r+1;i<a.c.length;++i)b=(Un(i,a.c.length),l(a.c[i],144)),n=Wv(d.d,b.d),t=n-e.a[d.b][b.b],h+=e.i[d.b][b.b]*t*t;return h}function B5n(e,t){var n;if(!so(t,(Nt(),Yu))&&(n=cwn(l(re(t,fMe),360),l(re(e,Yu),163)),ut(t,fMe,n),!Ei(new Rr(zr(zp(t).a.Kc(),new J)))))switch(n.g){case 1:ut(t,Yu,(cd(),BL));break;case 2:ut(t,Yu,(cd(),FL))}}function F5n(e,t){var n;Kxn(e),e.a=(n=new gae,ya(new jn(null,new zn(t.d,16)),new Gse(n)),n),ixn(e,l(re(t.b,(Nt(),J0e)),376)),Qbn(e),V5n(e),uwn(e),Zbn(e),W7n(e,t),ya(Al(new jn(null,mst(xun(e.b).a)),new s6),new jte),t.a=!1,e.a=null}function a0t(){E8e.call(this,q9,(Hw(),B7t)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function v9(){v9=Ee,Ape=new gk(xbt,0),cX=new gk("INSIDE_SELF_LOOPS",1),lX=new gk("MULTI_EDGES",2),oX=new gk("EDGE_LABELS",3),Cpe=new gk("PORTS",4),aX=new gk("COMPOUND",5),sX=new gk("CLUSTERS",6),Spe=new gk("DISCONNECTED",7)}function o0t(e,t){var n,r,i;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw ue(new Ez("Negative bit address"));if(i=t>>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=Elt(e),i<r)return!1;r==i?n=-n:n=~n}return(n&t)!=0}function j5n(e,t,n,r){var i;l(n.b,65),l(n.b,65),l(r.b,65),l(r.b,65),i=xo(Fl(l(n.b,65).c),l(r.b,65).c),BV(i,x1t(l(n.b,65),l(r.b,65),i)),l(r.b,65),l(r.b,65),l(r.b,65).c.a+i.a,l(r.b,65).c.b+i.b,l(r.b,65),fh(r.a,new m5e(e,t,r))}function r7e(e,t){var n,r,i,a,h,d,b;if(a=t.e,a){for(n=Que(a),r=l(e.g,674),h=0;h<e.i;++h)if(b=r[h],vue(b)==n&&(i=(!b.d&&(b.d=new Ba(Fc,b,1)),b.d),d=l(n.ah(dhe(a,a.Cb,a.Db>>16)),15).Xc(a),d<i.i))return r7e(e,l(Re(i,d),87))}return t}function N(e,t,n){var r=YW,i,a=r[e],h=a instanceof Array?a[0]:null;a&&!h?u=a:(u=(i=t&&t.prototype,!i&&(i=YW[t]),lfn(i)),u.hm=n,!t&&(u.im=nt),r[e]=u);for(var d=3;d<arguments.length;++d)arguments[d].prototype=u;h&&(u.gm=h)}function Ei(e){for(var t;!l(ui(e.a),47).Ob();){if(e.d=zpn(e),!e.d)return!1;if(e.a=l(e.d.Pb(),47),Le(e.a,39)){if(t=l(e.a,39),e.a=t.a,!e.b&&(e.b=new g6),Gv(e.b,e.d),t.b)for(;!QC(t.b);)Gv(e.b,l(aun(t.b),47));e.d=t.d}}return!0}function i7e(e,t){var n,r,i,a,h;for(a=t==null?0:e.b.se(t),r=(n=e.a.get(a),n??new Array),h=0;h<r.length;h++)if(i=r[h],e.b.re(t,i.cd()))return r.length==1?(r.length=0,Lan(e.a,a)):r.splice(h,1),--e.c,pq(e.b),i.dd();return null}function s7e(e,t){var n,r,i,a;for(i=1,t.j=!0,a=null,r=new M($6(t));r.a<r.c.c.length;)n=l(se(r),213),e.c[n.c]||(e.c[n.c]=!0,a=NU(n,t),n.f?i+=s7e(e,a):!a.j&&n.a==n.e.e-n.d.e&&(n.f=!0,Ga(e.p,n),i+=s7e(e,a)));return i}function $5n(e){var t,n,r;for(n=new M(e.a.a.b);n.a<n.c.c.length;)t=l(se(n),81),r=(Xn(0),0),r>0&&(!(Bv(e.a.c)&&t.n.d)&&!(cE(e.a.c)&&t.n.b)&&(t.g.d+=v.Math.max(0,r/2-.5)),!(Bv(e.a.c)&&t.n.a)&&!(cE(e.a.c)&&t.n.c)&&(t.g.a-=r-1))}function c0t(e){var t,n,r,i,a;if(i=new yt,a=tpt(e,i),t=l(re(e,(mt(),Wh)),10),t)for(r=new M(t.j);r.a<r.c.c.length;)n=l(se(r),11),Je(re(n,vs))===Je(e)&&(a=v.Math.max(a,tpt(n,i)));return i.c.length==0||ut(e,S_,a),a!=-1?i:null}function l0t(e,t,n){var r,i,a,h,d,b;a=l(Kt(t.e,0),17).c,r=a.i,i=r.k,b=l(Kt(n.g,0),17).d,h=b.i,d=h.k,i==(gr(),po)?ut(e,(mt(),e0),l(re(r,e0),11)):ut(e,(mt(),e0),a),d==po?ut(e,(mt(),Fd),l(re(h,Fd),11)):ut(e,(mt(),Fd),b)}function u0t(e,t){var n,r,i,a;for(a=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&dg(r.i,t))return i?i.a=r.a:e.b[n]=r.a,tXe(r.c,r.f),WD(r.b,r.e),--e.f,++e.e,!0;return!1}function a7e(e,t){var n,r,i,a,h;return t&=63,n=e.h,r=(n&mR)!=0,r&&(n|=-1048576),t<22?(h=n>>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(h=r?Kp:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(h=r?Kp:0,a=r?af:0,i=n>>t-44),qu(i&af,a&af,h&Kp)}function Zue(e){var t,n,r,i,a,h;for(this.c=new yt,this.d=e,r=ma,i=ma,t=Oa,n=Oa,h=$i(e,0);h.b!=h.d.c;)a=l(ji(h),8),r=v.Math.min(r,a.a),i=v.Math.min(i,a.b),t=v.Math.max(t,a.a),n=v.Math.max(n,a.b);this.a=new td(r,i,t-r,n-i)}function h0t(e,t){var n,r,i,a,h,d;for(a=new M(e.b);a.a<a.c.c.length;)for(i=l(se(a),29),d=new M(i.a);d.a<d.c.c.length;)for(h=l(se(d),10),h.k==(gr(),kf)&&Yk(h,t),r=new Rr(zr($a(h).a.Kc(),new J));Ei(r);)n=l(hi(r),17),Klt(n,t)}function o7e(e){var t,n,r;this.c=e,r=l(re(e,(Nt(),zf)),103),t=ot(Lt(re(e,tY))),n=ot(Lt(re(e,hIe))),r==(Dc(),jd)||r==x1||r==hp?this.b=t*n:this.b=1/(t*n),this.j=ot(Lt(re(e,I_))),this.e=ot(Lt(re(e,e3))),this.f=e.b.c.length}function H5n(e){var t,n;for(e.e=Ue(ri,Pi,25,e.p.c.length,15,1),e.k=Ue(ri,Pi,25,e.p.c.length,15,1),n=new M(e.p);n.a<n.c.c.length;)t=l(se(n),10),e.e[t.p]=Np(new Rr(zr(bl(t).a.Kc(),new J))),e.k[t.p]=Np(new Rr(zr($a(t).a.Kc(),new J)))}function z5n(e){var t,n,r,i,a,h;for(i=0,e.q=new yt,t=new Ja,h=new M(e.p);h.a<h.c.c.length;){for(a=l(se(h),10),a.p=i,r=new Rr(zr($a(a).a.Kc(),new J));Ei(r);)n=l(hi(r),17),Ga(t,n.d.i);t.a.Bc(a)!=null,wt(e.q,new BA(t)),t.a.$b(),++i}}function Ay(){Ay=Ee,tOe=new Ww(20),mkt=new Cc((Yi(),J2),tOe),rOe=new Cc(ew,20),hkt=new Cc(C8,B9),OY=new Cc(XY,St(1)),bkt=new Cc(wpe,(er(),!0)),JIe=IB,dkt=Z2,gkt=j_,pkt=_b,fkt=F_,eOe=PB,vkt=y5,wkt=(oxe(),ukt),nOe=lkt}function f0t(e,t){var n,r,i,a,h,d,b,E,C;if(e.a.f>0&&Le(t,42)&&(e.a.qj(),E=l(t,42),b=E.cd(),a=b==null?0:Ws(b),h=U4e(e.a,a),n=e.a.d[h],n)){for(r=l(n.g,367),C=n.i,d=0;d<C;++d)if(i=r[d],i.Sh()==a&&i.Fb(E))return f0t(e,E),!0}return!1}function V5n(e){var t,n,r,i;for(i=l(_s(e.a,(W6(),jK)),15).Kc();i.Ob();)r=l(i.Pb(),101),n=(t=xk(r.k),t.Hc((Mt(),Qn))?t.Hc(fr)?t.Hc(Jr)?t.Hc(nr)?null:f5t:g5t:d5t:h5t),bE(e,r,n[0],(my(),qy),0),bE(e,r,n[1],pb,1),bE(e,r,n[2],Uy,1)}function q5n(e,t){var n,r;n=bkn(t),mxn(e,t,n),vdt(e.a,l(re(cc(t.b),(mt(),y8)),230)),Vkn(e),vyn(e,t),r=Ue(ri,Pi,25,t.b.j.c.length,15,1),Phe(e,t,(Mt(),Qn),r,n),Phe(e,t,fr,r,n),Phe(e,t,Jr,r,n),Phe(e,t,nr,r,n),e.a=null,e.c=null,e.b=null}function c7e(){c7e=Ee,OOe=(DU(),Gge),Jkt=new Nn(zTe,OOe),Qkt=new Nn(VTe,(er(),!0)),St(-1),Kkt=new Nn(qTe,St(-1)),St(-1),Ykt=new Nn(UTe,St(-1)),Zkt=new Nn(GTe,!1),e8t=new Nn(WTe,!0),Xkt=new Nn(Ode,!1),t8t=new Nn(KTe,-1)}function l7e(e,t,n){switch(t){case 7:!e.e&&(e.e=new $n(oo,e,7,4)),ei(e.e),!e.e&&(e.e=new $n(oo,e,7,4)),ga(e.e,l(n,14));return;case 8:!e.d&&(e.d=new $n(oo,e,8,5)),ei(e.d),!e.d&&(e.d=new $n(oo,e,8,5)),ga(e.d,l(n,14));return}a8e(e,t,n)}function u7e(e,t){var n,r,i,a,h;if(Je(t)===Je(e))return!0;if(!Le(t,15)||(h=l(t,15),e.gc()!=h.gc()))return!1;for(a=h.Kc(),r=e.Kc();r.Ob();)if(n=r.Pb(),i=a.Pb(),!(Je(n)===Je(i)||n!=null&&hs(n,i)))return!1;return!0}function U5n(e,t){var n,r,i,a;for(a=l(Of(Al(Al(new jn(null,new zn(t.b,16)),new oD),new c$),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),a.Jc(new cD),n=0,i=a.Kc();i.Ob();)r=l(i.Pb(),11),r.p==-1&&f7e(e,r,n++)}function d0t(e){switch(e.g){case 0:return new OC;case 1:return new rse;case 2:return new nse;case 3:return new NZe;case 4:return new Ent;default:throw ue(new Jn("No implementation is available for the node placer "+(e.f!=null?e.f:""+e.g)))}}function g0t(e){switch(e.g){case 0:return new V5e;case 1:return new ise;case 2:return new Xie;case 3:return new Qie;case 4:return new BZe;default:throw ue(new Jn("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function h7e(){h7e=Ee,Pkt=new Nn(RTe,St(0)),Nkt=new Nn(BTe,0),gOe=(kN(),PY),Okt=new Nn(Mde,gOe),St(0),Ikt=new Nn(Lde,St(1)),mOe=(vU(),Uge),Rkt=new Nn(FTe,mOe),vOe=(Vq(),Hge),Bkt=new Nn(jTe,vOe),pOe=(JU(),qge),Dkt=new Nn($Te,pOe)}function G5n(e,t,n){var r;r=null,t&&(r=t.d),CM(e,new aE(t.n.a-r.b+n.a,t.n.b-r.d+n.b)),CM(e,new aE(t.n.a-r.b+n.a,t.n.b+t.o.b+r.a+n.b)),CM(e,new aE(t.n.a+t.o.a+r.c+n.a,t.n.b-r.d+n.b)),CM(e,new aE(t.n.a+t.o.a+r.c+n.a,t.n.b+t.o.b+r.a+n.b))}function f7e(e,t,n){var r,i,a;for(t.p=n,a=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(t),new ni(t)])));Ei(a);)r=l(hi(a),11),r.p==-1&&f7e(e,r,n);if(t.i.k==(gr(),po))for(i=new M(t.i.j);i.a<i.c.c.length;)r=l(se(i),11),r!=t&&r.p==-1&&f7e(e,r,n)}function p0t(e){var t,n,r,i,a;if(i=l(Of(bfn(qit(e)),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),r=R9,i.gc()>=2)for(n=i.Kc(),t=Lt(n.Pb());n.Ob();)a=t,t=Lt(n.Pb()),r=v.Math.min(r,(Xn(t),t-(Xn(a),a)));return r}function W5n(e,t){var n,r,i,a,h;r=new sa,xa(r,t,r.c.b,r.c);do for(n=(kr(r.b!=0),l(sd(r,r.a.a),86)),e.b[n.g]=1,a=$i(n.d,0);a.b!=a.d.c;)i=l(ji(a),188),h=i.c,e.b[h.g]==1?zi(e.a,i):e.b[h.g]==2?e.b[h.g]=1:xa(r,h,r.c.b,r.c);while(r.b!=0)}function K5n(e,t){var n,r,i;if(Je(t)===Je(ui(e)))return!0;if(!Le(t,15)||(r=l(t,15),i=e.gc(),i!=r.gc()))return!1;if(Le(r,54)){for(n=0;n<i;n++)if(!dg(e.Xb(n),r.Xb(n)))return!1;return!0}else return n2n(e.Kc(),r.Kc())}function m0t(e,t){var n,r;if(e.c.length!=0){if(e.c.length==2)Yk((Un(0,e.c.length),l(e.c[0],10)),(Rf(),fp)),Yk((Un(1,e.c.length),l(e.c[1],10)),xb);else for(r=new M(e);r.a<r.c.c.length;)n=l(se(r),10),Yk(n,t);e.c=Ue(xr,Ht,1,0,5,1)}}function Y5n(e){var t,n;if(e.c.length!=2)throw ue(new pl("Order only allowed for two paths."));t=(Un(0,e.c.length),l(e.c[0],17)),n=(Un(1,e.c.length),l(e.c[1],17)),t.d.i!=n.c.i&&(e.c=Ue(xr,Ht,1,0,5,1),e.c[e.c.length]=n,e.c[e.c.length]=t)}function X5n(e,t){var n,r,i,a,h,d;for(r=new d2,h=Oq(new gf(e.g)),a=h.a.ec().Kc();a.Ob();){if(i=l(a.Pb(),10),!i){a2(t,"There are no classes in a balanced layout.");break}d=e.j[i.p],n=l(uy(r,d),15),n||(n=new yt,S2(r,d,n)),n.Fc(i)}return r}function Q5n(e,t,n){var r,i,a,h,d,b,E;if(n)for(a=n.a.length,r=new c2(a),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),b=SE(n,h.a),b&&(E=sgn(Pp(b,Xde),t),ds(e.f,E,b),i=Sg in b.a,i&&sM(E,Pp(b,Sg)),cG(b,E),V8e(b,E))}function Z5n(e,t){var n,r,i,a,h;for(Zr(t,"Port side processing",1),h=new M(e.a);h.a<h.c.c.length;)i=l(se(h),10),Tpt(i);for(r=new M(e.b);r.a<r.c.c.length;)for(n=l(se(r),29),a=new M(n.a);a.a<a.c.c.length;)i=l(se(a),10),Tpt(i);Br(t)}function v0t(e,t,n){var r,i,a,h,d;if(i=e.f,!i&&(i=l(e.a.a.ec().Kc().Pb(),57)),TM(i,t,n),e.a.a.gc()!=1)for(r=t*n,h=e.a.a.ec().Kc();h.Ob();)a=l(h.Pb(),57),a!=i&&(d=Lk(a),d.f.d?(a.d.d+=r+N0,a.d.a-=r+N0):d.f.a&&(a.d.a-=r+N0))}function Jue(e,t,n,r,i){var a,h,d,b,E,C,P,$,K;return h=n-e,d=r-t,a=v.Math.atan2(h,d),b=a+Bfe,E=a-Bfe,C=i*v.Math.sin(b)+e,$=i*v.Math.cos(b)+t,P=i*v.Math.sin(E)+e,K=i*v.Math.cos(E)+t,S0(pe(de(ao,1),dt,8,0,[new en(C,$),new en(P,K)]))}function J5n(e,t,n,r){var i,a,h,d,b,E,C,P;i=n,C=t,a=C;do a=e.a[a.p],d=(P=e.g[a.p],ot(e.p[P.p])+ot(e.d[a.p])-a.d.d),b=dgn(a,r),b&&(h=(E=e.g[b.p],ot(e.p[E.p])+ot(e.d[b.p])+b.o.b+b.d.a),i=v.Math.min(i,d-(h+E6(e.k,a,b))));while(C!=a);return i}function e6n(e,t,n,r){var i,a,h,d,b,E,C,P;i=n,C=t,a=C;do a=e.a[a.p],h=(P=e.g[a.p],ot(e.p[P.p])+ot(e.d[a.p])+a.o.b+a.d.a),b=Epn(a,r),b&&(d=(E=e.g[b.p],ot(e.p[E.p])+ot(e.d[b.p])-b.d.d),i=v.Math.min(i,d-(h+E6(e.k,a,b))));while(C!=a);return i}function nn(e,t){var n,r;return r=(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),W1(e.o,t)),r??(n=t.wg(),Le(n,4)&&(n==null?(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),$U(e.o,t)):(!e.o&&(e.o=new yf((Fu(),Cb),r3,e,0)),iG(e.o,t,n))),n)}function F4(){F4=Ee,k1=new w6("H_LEFT",0),em=new w6("H_CENTER",1),E1=new w6("H_RIGHT",2),S1=new w6("V_TOP",3),dp=new w6("V_CENTER",4),Hd=new w6("V_BOTTOM",5),Vf=new w6("INSIDE",6),T1=new w6("OUTSIDE",7),$d=new w6("H_PRIORITY",8)}function t6n(e){var t,n,r,i,a,h,d;if(t=e.Hh(Nd),t&&(d=wi(W1((!t.b&&(t.b=new mf((Sn(),_c),ql,t)),t.b),"settingDelegates")),d!=null)){for(n=new yt,i=H4(d,"\\w+"),a=0,h=i.length;a<h;++a)r=i[a],n.c[n.c.length]=r;return n}return In(),In(),Lc}function n6n(e,t){var n,r,i,a,h,d,b;if(!t.f)throw ue(new Jn("The input edge is not a tree edge."));for(a=null,i=as,r=new M(e.d);r.a<r.c.c.length;)n=l(se(r),213),d=n.d,b=n.e,Wue(e,d,t)&&!Wue(e,b,t)&&(h=b.e-d.e-n.a,h<i&&(i=h,a=n));return a}function r6n(e){var t,n,r,i,a,h;if(!(e.f.e.c.length<=1)){t=0,i=s0t(e),n=ma;do{for(t>0&&(i=n),h=new M(e.f.e);h.a<h.c.c.length;)a=l(se(h),144),!Zt(Xt(re(a,(FN(),mAe))))&&(r=f8n(e,a),xs(z1(a.d),r));n=s0t(e)}while(!Cun(e,t++,i,n))}}function i6n(e,t){var n,r,i;for(Zr(t,"Layer constraint preprocessing",1),n=new yt,i=new Ro(e.a,0);i.b<i.d.gc();)r=(kr(i.b<i.d.gc()),l(i.d.Xb(i.c=i.b++),10)),Cpn(r)&&(Ayn(r),n.c[n.c.length]=r,wf(i));n.c.length==0||ut(e,(mt(),$0e),n),Br(t)}function s6n(e,t){var n,r,i,a,h;for(a=e.g.a,h=e.g.b,r=new M(e.d);r.a<r.c.c.length;)n=l(se(r),70),i=n.n,e.a==(L0(),iT)||e.i==(Mt(),fr)?i.a=a:e.a==sT||e.i==(Mt(),nr)?i.a=a+e.j.a-n.o.a:i.a=a+(e.j.a-n.o.a)/2,i.b=h,xs(i,t),h+=n.o.b+e.e}function a6n(e,t,n){var r,i,a,h;for(Zr(n,"Processor set coordinates",1),e.a=t.b.b==0?1:t.b.b,a=null,r=$i(t.b,0);!a&&r.b!=r.d.c;)h=l(ji(r),86),Zt(Xt(re(h,(Kl(),w5))))&&(a=h,i=h.e,i.a=l(re(h,Nge),19).a,i.b=0);zdt(e,hxe(a),Eu(n,1)),Br(n)}function o6n(e,t,n){var r,i,a;for(Zr(n,"Processor determine the height for each level",1),e.a=t.b.b==0?1:t.b.b,i=null,r=$i(t.b,0);!i&&r.b!=r.d.c;)a=l(ji(r),86),Zt(Xt(re(a,(Kl(),w5))))&&(i=a);i&&sgt(e,S0(pe(de(gSn,1),JEe,86,0,[i])),n),Br(n)}function c6n(e,t){var n,r,i,a,h,d,b,E,C,P;E=e,b=ZA(E,"individualSpacings"),b&&(r=g2(t,(Yi(),M8)),h=!r,h&&(i=new zh,Uc(t,M8,i)),d=l(nn(t,M8),373),P=b,a=null,P&&(a=(C=mle(P,Ue(jt,dt,2,0,6,1)),new yae(P,C))),a&&(n=new LZe(P,d),Ho(a,n)))}function l6n(e,t){var n,r,i,a,h,d,b,E,C,P,$;return b=null,P=e,C=null,(j2t in P.a||$2t in P.a||CW in P.a)&&(E=null,$=dxe(t),h=ZA(P,j2t),n=new fKe($),Nvn(n.a,h),d=ZA(P,$2t),r=new xKe($),Pvn(r.a,d),a=ly(P,CW),i=new TKe($),E=(fyn(i.a,a),a),C=E),b=C,b}function u6n(e,t){var n,r,i;if(t===e)return!0;if(Le(t,543)){if(i=l(t,835),e.a.d!=i.a.d||A6(e).gc()!=A6(i).gc())return!1;for(r=A6(i).Kc();r.Ob();)if(n=l(r.Pb(),416),Vit(e,n.a.cd())!=l(n.a.dd(),14).gc())return!1;return!0}return!1}function h6n(e){var t,n,r,i;return r=l(e.a,19).a,i=l(e.b,19).a,t=r,n=i,r==0&&i==0?n-=1:r==-1&&i<=0?(t=0,n-=2):r<=0&&i>0?(t-=1,n-=1):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(t-=1,n+=1):(t+=1,n-=1),new No(St(t),St(n))}function f6n(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a!=t.a?Ws(e.a)-Ws(t.a):e.d==(eM(),QL)&&t.d==XL?-1:e.d==XL&&t.d==QL?1:0}function b0t(e,t){var n,r,i,a,h;return a=t.a,a.c.i==t.b?h=a.d:h=a.c,a.c.i==t.b?r=a.c:r=a.d,i=$vn(e.a,h,r),i>0&&i<R9?(n=J5n(e.a,r.i,i,e.c),Act(e.a,r.i,-n),n>0):i<0&&-i<R9?(n=e6n(e.a,r.i,-i,e.c),Act(e.a,r.i,n),n>0):!1}function d6n(e,t,n,r){var i,a,h,d,b,E,C,P;for(i=(t-e.d)/e.c.c.length,a=0,e.a+=n,e.d=t,P=new M(e.c);P.a<P.c.c.length;)C=l(se(P),33),E=C.g,b=C.f,dh(C,C.i+a*i),gh(C,C.j+r*n),gy(C,C.g+i),dy(C,e.a),++a,d=C.g,h=C.f,f1t(C,new en(d,h),new en(E,b))}function g6n(e){var t,n,r,i,a,h,d;if(e==null)return null;for(d=e.length,i=(d+1)/2|0,h=Ue(Rh,d_,25,i,15,1),d%2!=0&&(h[--i]=D7e((yi(d-1,e.length),e.charCodeAt(d-1)))),n=0,r=0;n<i;++n)t=D7e($o(e,r++)),a=D7e($o(e,r++)),h[n]=(t<<4|a)<<24>>24;return h}function p6n(e){if(e.pe()){var t=e.c;t.qe()?e.o="["+t.n:t.pe()?e.o="["+t.ne():e.o="[L"+t.ne()+";",e.b=t.me()+"[]",e.k=t.oe()+"[]";return}var n=e.j,r=e.d;r=r.split("/"),e.o=nue(".",[n,nue("$",r)]),e.b=nue(".",[n,nue(".",r)]),e.k=r[r.length-1]}function m6n(e,t){var n,r,i,a,h;for(h=null,a=new M(e.e.a);a.a<a.c.c.length;)if(i=l(se(a),121),i.b.a.c.length==i.g.a.c.length){for(r=i.e,h=J3n(i),n=i.e-l(h.a,19).a+1;n<i.e+l(h.b,19).a;n++)t[n]<t[r]&&(r=n);t[r]<t[i.e]&&(--t[i.e],++t[r],i.e=r)}}function ehe(e){var t,n,r,i,a,h,d,b;for(i=ma,r=Oa,n=new M(e.e.b);n.a<n.c.c.length;)for(t=l(se(n),29),h=new M(t.a);h.a<h.c.c.length;)a=l(se(h),10),b=ot(e.p[a.p]),d=b+ot(e.b[e.g[a.p].p]),i=v.Math.min(i,b),r=v.Math.max(r,d);return r-i}function d7e(e,t,n,r){var i,a,h,d,b;for(i=$7e(e,t),d=0,b=i.gc();d<b;++d)if(a=l(i.Xb(d),170),Tn(r,xE(tl(e,a)))){if(h=BP(tl(e,a)),n==null){if(h==null)return a}else if(Tn(n,h))return a}return null}function g7e(e,t,n,r){var i,a,h,d,b;for(i=ghe(e,t),d=0,b=i.gc();d<b;++d)if(a=l(i.Xb(d),170),Tn(r,xE(tl(e,a)))){if(h=BP(tl(e,a)),n==null){if(h==null)return a}else if(Tn(n,h))return a}return null}function v6n(e,t,n){var r,i,a,h,d,b;if(h=new Hx,d=Wu(e.e.Tg(),t),r=l(e.g,119),Sc(),l(t,66).Oj())for(a=0;a<e.i;++a)i=r[a],d.rl(i.ak())&&fi(h,i);else for(a=0;a<e.i;++a)i=r[a],d.rl(i.ak())&&(b=i.dd(),fi(h,n?LM(e,t,a,h.i,b):b));return K6e(h)}function b6n(e,t){var n,r,i,a,h;for(n=new bM(cT),i=(Uk(),pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__])),a=0,h=i.length;a<h;++a)r=i[a],W4e(n,r,new yt);return ya(ch($s(Al(new jn(null,new zn(e.b,16)),new h$),new f$),new vm(t)),new ag(n)),n}function gG(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(a=t.Kc();a.Ob();)i=l(a.Pb(),33),C=i.i+i.g/2,$=i.j+i.f/2,b=e.f,h=b.i+b.g/2,d=b.j+b.f/2,E=C-h,P=$-d,r=v.Math.sqrt(E*E+P*P),E*=e.e/r,P*=e.e/r,n?(C-=E,$-=P):(C+=E,$+=P),dh(i,C-i.g/2),gh(i,$-i.f/2)}function Y6(e){var t,n,r;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function w0t(e,t){var n,r,i,a,h,d,b,E;for(h=t==1?r0e:n0e,a=h.a.ec().Kc();a.Ob();)for(i=l(a.Pb(),103),b=l(_s(e.f.c,i),21).Kc();b.Ob();)switch(d=l(b.Pb(),46),r=l(d.b,81),E=l(d.a,189),n=E.c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function w6n(e,t){var n,r,i,a,h,d,b,E,C;for(E=-1,C=0,h=e,d=0,b=h.length;d<b;++d){for(a=h[d],n=new ztt(E==-1?e[0]:e[E],t,(fM(),bY)),r=0;r<a.length;r++)for(i=r+1;i<a.length;i++)so(a[r],(mt(),au))&&so(a[i],au)&&$mt(n,a[r],a[i])>0&&++C;++E}return C}function m1(e){var t,n;return n=new Af(Ov(e.gm)),n.a+="@",Mi(n,(t=Ws(e)>>>0,t.toString(16))),e.kh()?(n.a+=" (eProxyURI: ",Wl(n,e.qh()),e.$g()&&(n.a+=" eClass: ",Wl(n,e.$g())),n.a+=")"):e.$g()&&(n.a+=" (eClass: ",Wl(n,e.$g()),n.a+=")"),n.a}function OM(e){var t,n,r,i;if(e.e)throw ue(new pl((Lp(R1e),kfe+R1e.k+Efe)));for(e.d==(Dc(),hp)&&NG(e,jd),n=new M(e.a.a);n.a<n.c.c.length;)t=l(se(n),307),t.g=t.i;for(i=new M(e.a.b);i.a<i.c.c.length;)r=l(se(i),57),r.i=Oa;return e.b.Le(e),e}function y6n(e,t){var n,r,i,a,h;if(t<2*e.b)throw ue(new Jn("The knot vector must have at least two time the dimension elements."));for(e.f=1,i=0;i<e.b;i++)wt(e.e,0);for(h=t+1-2*e.b,n=h,a=1;a<h;a++)wt(e.e,a/n);if(e.d)for(r=0;r<e.b;r++)wt(e.e,1)}function y0t(e,t){var n,r,i,a,h,d,b,E,C;if(E=t,C=l(lU(tce(e.i),E),33),!C)throw i=Pp(E,Sg),d="Unable to find elk node for json object '"+i,b=d+"' Panic!",ue(new og(b));a=ly(E,"edges"),n=new xZe(e,C),n5n(n.a,n.b,a),h=ly(E,Qde),r=new iKe(e),gwn(r.a,h)}function _0t(e,t,n,r){var i,a,h,d,b;if(r!=null){if(i=e.d[t],i){for(a=i.g,b=i.i,d=0;d<b;++d)if(h=l(a[d],133),h.Sh()==n&&hs(r,h.cd()))return d}}else if(i=e.d[t],i){for(a=i.g,b=i.i,d=0;d<b;++d)if(h=l(a[d],133),Je(h.cd())===Je(r))return d}return-1}function b9(e,t){var n,r,i;return n=t==null?Bl(cl(e.f,null)):lA(e.g,t),Le(n,235)?(i=l(n,235),i.Qh()==null,i):Le(n,498)?(r=l(n,1938),i=r.a,i&&(i.yb==null||(t==null?Gu(e.f,null,i):wy(e.g,t,i))),i):null}function _6n(e){L7e();var t,n,r,i,a,h,d;if(e==null||(i=e.length,i%2!=0))return null;for(t=Wq(e),a=i/2|0,n=Ue(Rh,d_,25,a,15,1),r=0;r<a;r++){if(h=CI[t[r*2]],h==-1||(d=CI[t[r*2+1]],d==-1))return null;n[r]=(h<<4|d)<<24>>24}return n}function x6n(e,t,n){var r,i,a;if(i=l(Vc(e.i,t),306),!i)if(i=new yct(e.d,t,n),_k(e.i,t,i),xke(t))Fsn(e.a,t.c,t.b,i);else switch(a=l4n(t),r=l(Vc(e.p,a),244),a.g){case 1:case 3:i.j=!0,cae(r,t.b,i);break;case 4:case 2:i.k=!0,cae(r,t.c,i)}return i}function k6n(e,t,n,r){var i,a,h,d,b,E;if(d=new Hx,b=Wu(e.e.Tg(),t),i=l(e.g,119),Sc(),l(t,66).Oj())for(h=0;h<e.i;++h)a=i[h],b.rl(a.ak())&&fi(d,a);else for(h=0;h<e.i;++h)a=i[h],b.rl(a.ak())&&(E=a.dd(),fi(d,r?LM(e,t,h,d.i,E):E));return gke(d,n)}function x0t(e,t){var n,r,i,a,h,d,b,E;if(i=e.b[t.p],i>=0)return i;for(a=1,d=new M(t.j);d.a<d.c.c.length;)for(h=l(se(d),11),r=new M(h.g);r.a<r.c.c.length;)n=l(se(r),17),E=n.d.i,t!=E&&(b=x0t(e,E),a=v.Math.max(a,b+1));return kvn(e,t,a),a}function k0t(e,t,n){var r,i,a;for(r=1;r<e.c.length;r++){for(a=(Un(r,e.c.length),l(e.c[r],10)),i=r;i>0&&t.ue((Un(i-1,e.c.length),l(e.c[i-1],10)),a)>0;)rd(e,i,(Un(i-1,e.c.length),l(e.c[i-1],10))),--i;Un(i,e.c.length),e.c[i]=a}n.a=new si,n.b=new si}function E6n(e,t,n){var r,i,a,h,d,b,E,C;for(C=(r=l(t.e&&t.e(),9),new ed(r,l(l1(r,r.length),9),0)),b=H4(n,"[\\[\\]\\s,]+"),a=b,h=0,d=a.length;h<d;++h)if(i=a[h],N4(i).length!=0){if(E=R1t(e,i),E==null)return null;p1(C,l(E,22))}return C}function T6n(e){var t,n,r;for(n=new M(e.a.a.b);n.a<n.c.c.length;)t=l(se(n),81),r=(Xn(0),0),r>0&&(!(Bv(e.a.c)&&t.n.d)&&!(cE(e.a.c)&&t.n.b)&&(t.g.d-=v.Math.max(0,r/2-.5)),!(Bv(e.a.c)&&t.n.a)&&!(cE(e.a.c)&&t.n.c)&&(t.g.a+=v.Math.max(0,r-1)))}function E0t(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(Mt(),Qn)||t==fr?(eU(l(hM(e),15),(Rf(),fp)),eU(l(hM(e),15),xb)):(eU(l(hM(e),15),(Rf(),xb)),eU(l(hM(e),15),fp));else for(i=new WA(e);i.a!=i.b;)r=l(AU(i),15),eU(r,n)}function S6n(e,t){var n,r,i,a,h,d,b;for(i=dE(new fye(e)),d=new Ro(i,i.c.length),a=dE(new fye(t)),b=new Ro(a,a.c.length),h=null;d.b>0&&b.b>0&&(n=(kr(d.b>0),l(d.a.Xb(d.c=--d.b),33)),r=(kr(b.b>0),l(b.a.Xb(b.c=--b.b),33)),n==r);)h=n;return h}function rf(e,t){var n,r,i,a,h,d;return a=e.a*wfe+e.b*1502,d=e.b*wfe+11,n=v.Math.floor(d*yR),a+=n,d-=n*DEe,a%=DEe,e.a=a,e.b=d,t<=24?v.Math.floor(e.a*yCe[t]):(i=e.a*(1<<t-24),h=v.Math.floor(e.b*_Ce[t]),r=i+h,r>=2147483648&&(r-=pfe),r)}function T0t(e,t,n){var r,i,a,h;Yit(e,t)>Yit(e,n)?(r=Ll(n,(Mt(),fr)),e.d=r.dc()?0:Ooe(l(r.Xb(0),11)),h=Ll(t,nr),e.b=h.dc()?0:Ooe(l(h.Xb(0),11))):(i=Ll(n,(Mt(),nr)),e.d=i.dc()?0:Ooe(l(i.Xb(0),11)),a=Ll(t,fr),e.b=a.dc()?0:Ooe(l(a.Xb(0),11)))}function S0t(e){var t,n,r,i,a,h,d;if(e&&(t=e.Hh(Nd),t&&(h=wi(W1((!t.b&&(t.b=new mf((Sn(),_c),ql,t)),t.b),"conversionDelegates")),h!=null))){for(d=new yt,r=H4(h,"\\w+"),i=0,a=r.length;i<a;++i)n=r[i],d.c[d.c.length]=n;return d}return In(),In(),Lc}function C0t(e,t){var n,r,i,a;for(n=e.o.a,a=l(l(_s(e.r,t),21),84).Kc();a.Ob();)i=l(a.Pb(),111),i.e.a=n*ot(Lt(i.b.We(oK))),i.e.b=(r=i.b,r.Xe((Yi(),cf))?r.Hf()==(Mt(),Qn)?-r.rf().b-ot(Lt(r.We(cf))):ot(Lt(r.We(cf))):r.Hf()==(Mt(),Qn)?-r.rf().b:0)}function C6n(e){var t,n,r,i,a,h,d,b;t=!0,i=null,a=null;e:for(b=new M(e.a);b.a<b.c.c.length;)for(d=l(se(b),10),r=new Rr(zr(bl(d).a.Kc(),new J));Ei(r);){if(n=l(hi(r),17),i&&i!=d){t=!1;break e}if(i=d,h=n.c.i,a&&a!=h){t=!1;break e}a=h}return t}function A6n(e,t,n){var r,i,a,h,d,b;for(a=-1,d=-1,h=0;h<t.c.length&&(i=(Un(h,t.c.length),l(t.c[h],329)),!(i.c>e.c));h++)i.a>=e.s&&(a<0&&(a=h),d=h);return b=(e.s+e.c)/2,a>=0&&(r=lkn(e,t,a,d),b=bin((Un(r,t.c.length),l(t.c[r],329))),w5n(t,r,n)),b}function the(){the=Ee,n8t=new Cc((Yi(),C8),1.3),POe=PDe,HOe=new Ww(15),l8t=new Cc(J2,HOe),h8t=new Cc(ew,15),r8t=GY,a8t=Z2,o8t=j_,c8t=_b,s8t=F_,FOe=PB,u8t=y5,$Oe=(c7e(),Jkt),BOe=Qkt,jOe=Zkt,zOe=e8t,NOe=Xkt,ROe=WY,i8t=RDe,kB=Ykt,DOe=Kkt,VOe=t8t}function di(e,t,n){var r,i,a,h,d,b,E;for(h=(a=new cH,a),Y_e(h,(Xn(t),t)),E=(!h.b&&(h.b=new mf((Sn(),_c),ql,h)),h.b),b=1;b<n.length;b+=2)iG(E,n[b-1],n[b]);for(r=(!e.Ab&&(e.Ab=new _t(Ri,e,0,3)),e.Ab),d=0;d<0;++d)i=Oun(l(Re(r,r.i-1),590)),r=i;fi(r,h)}function A0t(e,t,n){var r,i,a;for(yan.call(this,new yt),this.a=t,this.b=n,this.e=e,r=(e.b&&khe(e),e.a),this.d=Prt(r.a,this.a),this.c=Prt(r.b,this.b),rvn(this,this.d,this.c),Y4n(this),a=this.e.e.a.ec().Kc();a.Ob();)i=l(a.Pb(),266),i.c.c.length>0&&nEn(this,i)}function p7e(e,t,n,r,i,a){var h,d,b;if(!i[t.b]){for(i[t.b]=!0,h=r,!h&&(h=new Nq),wt(h.e,t),b=a[t.b].Kc();b.Ob();)d=l(b.Pb(),282),!(d.d==n||d.c==n)&&(d.c!=t&&p7e(e,d.c,t,h,i,a),d.d!=t&&p7e(e,d.d,t,h,i,a),wt(h.c,d),Fa(h.d,d.b));return h}return null}function M6n(e){var t,n,r,i,a,h,d;for(t=0,i=new M(e.e);i.a<i.c.c.length;)r=l(se(i),17),n=AE(new jn(null,new zn(r.b,16)),new Cee),n&&++t;for(h=new M(e.g);h.a<h.c.c.length;)a=l(se(h),17),d=AE(new jn(null,new zn(a.b,16)),new Aee),d&&++t;return t>=2}function L6n(e,t){var n,r,i,a;for(Zr(t,"Self-Loop pre-processing",1),r=new M(e.a);r.a<r.c.c.length;)n=l(se(r),10),fvn(n)&&(i=(a=new qht(n),ut(n,(mt(),dT),a),Kkn(a),a),ya(ch(Al(new jn(null,new zn(i.d,16)),new x$),new lte),new ute),V_n(i));Br(t)}function I6n(e,t,n,r,i){var a,h,d,b,E,C;for(a=e.c.d.j,h=l(Y1(n,0),8),C=1;C<n.b;C++)E=l(Y1(n,C),8),xa(r,h,r.c.b,r.c),d=ug(xs(new Zc(h),E),.5),b=ug(new kce(Sxe(a)),i),xs(d,b),xa(r,d,r.c.b,r.c),h=E,a=t==0?IU(a):Yxe(a);zi(r,(kr(n.b!=0),l(n.c.b.c,8)))}function O6n(e){F4();var t,n,r;return n=zs(Vf,pe(de(Bc,1),vt,93,0,[T1])),!(dN(yq(n,e))>1||(t=zs(k1,pe(de(Bc,1),vt,93,0,[em,E1])),dN(yq(t,e))>1)||(r=zs(S1,pe(de(Bc,1),vt,93,0,[dp,Hd])),dN(yq(r,e))>1))}function D6n(e,t){var n,r,i;return n=t.Hh(e.a),n&&(i=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),"affiliation")),i!=null)?(r=xV(i,mh(35)),r==-1?zle(e,jA(e,Df(t.Hj())),i):r==0?zle(e,null,i.substr(1)):zle(e,i.substr(0,r),i.substr(r+1))):null}function P6n(e){var t,n,r;try{return e==null?vh:wl(e)}catch(i){if(i=ea(i),Le(i,102))return t=i,r=Ov(tf(e))+"@"+(n=(Ug(),Ake(e)>>>0),n.toString(16)),xbn(_pn(),(sE(),"Exception during lenientFormat for "+r),t),"<"+r+" threw "+Ov(t.gm)+">";throw ue(i)}}function M0t(e){switch(e.g){case 0:return new Jie;case 1:return new $H;case 2:return new MQe;case 3:return new vD;case 4:return new Zet;case 5:return new ese;default:throw ue(new Jn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function m7e(e,t,n){var r,i,a;for(a=new M(e.t);a.a<a.c.c.length;)r=l(se(a),268),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&zi(t,r.b));for(i=new M(e.i);i.a<i.c.c.length;)r=l(se(i),268),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&zi(n,r.a))}function pG(e){var t,n,r,i,a;if(e.g==null&&(e.d=e.si(e.f),fi(e,e.d),e.c))return a=e.f,a;if(t=l(e.g[e.i-1],47),i=t.Pb(),e.e=t,n=e.si(i),n.Ob())e.d=n,fi(e,n);else for(e.d=null;!t.Ob()&&(la(e.g,--e.i,null),e.i!=0);)r=l(e.g[e.i-1],47),t=r;return i}function N6n(e,t){var n,r,i,a,h,d;if(r=t,i=r.ak(),Gp(e.e,i)){if(i.hi()&&Iq(e,i,r.dd()))return!1}else for(d=Wu(e.e.Tg(),i),n=l(e.g,119),a=0;a<e.i;++a)if(h=n[a],d.rl(h.ak()))return hs(h,r)?!1:(l(z6(e,a,t),72),!0);return fi(e,t)}function R6n(e,t,n,r){var i,a,h,d;for(i=new qp(e),Cp(i,(gr(),kf)),ut(i,(mt(),vs),t),ut(i,lB,r),ut(i,(Nt(),ba),(Ao(),Iu)),ut(i,e0,t.c),ut(i,Fd,t.d),tgt(t,i),d=v.Math.floor(n/2),h=new M(i.j);h.a<h.c.c.length;)a=l(se(h),11),a.n.b=d;return i}function B6n(e,t){var n,r,i,a,h,d,b,E,C;for(b=Gg(e.c-e.b&e.a.length-1),E=null,C=null,a=new WA(e);a.a!=a.b;)i=l(AU(a),10),n=(d=l(re(i,(mt(),e0)),11),d?d.i:null),r=(h=l(re(i,Fd),11),h?h.i:null),(E!=n||C!=r)&&(m0t(b,t),E=n,C=r),b.c[b.c.length]=i;m0t(b,t)}function L0t(e){var t,n,r,i,a,h,d;for(t=0,r=new M(e.a);r.a<r.c.c.length;)for(n=l(se(r),10),a=new Rr(zr($a(n).a.Kc(),new J));Ei(a);)i=l(hi(a),17),e==i.d.i.c&&i.c.j==(Mt(),nr)&&(h=E0(i.c).b,d=E0(i.d).b,t=v.Math.max(t,v.Math.abs(d-h)));return t}function F6n(e,t,n){var r,i,a;Zr(n,"Remove overlaps",1),n.n&&t&&h1(n,f1(t),(_f(),Gf)),r=l(nn(t,(DA(),rI)),33),e.f=r,e.a=hue(l(nn(t,(O4(),xB)),293)),i=Lt(nn(t,(Yi(),ew))),jC(e,(Xn(i),i)),a=$4(r),ymt(e,t,a,n),n.n&&t&&h1(n,f1(t),(_f(),Gf))}function v7e(e,t,n){switch(n.g){case 1:return new en(t.a,v.Math.min(e.d.b,t.b));case 2:return new en(v.Math.max(e.c.a,t.a),t.b);case 3:return new en(t.a,v.Math.max(e.c.b,t.b));case 4:return new en(v.Math.min(t.a,e.d.a),t.b)}return new en(t.a,t.b)}function j6n(e,t,n,r){var i,a,h,d,b,E,C,P,$;for(P=r?(Mt(),nr):(Mt(),fr),i=!1,b=t[n],E=0,C=b.length;E<C;++E)d=b[E],!wk(l(re(d,(Nt(),ba)),98))&&(h=d.e,$=!Ll(d,P).dc()&&!!h,$&&(a=g8e(h),e.b=new p8e(a,r?0:a.length-1)),i=i|Bkn(e,d,P,$));return i}function QN(e){var t,n,r;for(t=Gg(1+(!e.c&&(e.c=new _t(lf,e,9,9)),e.c).i),wt(t,(!e.d&&(e.d=new $n(oo,e,8,5)),e.d)),r=new Ir((!e.c&&(e.c=new _t(lf,e,9,9)),e.c));r.e!=r.i.gc();)n=l(Ur(r),118),wt(t,(!n.d&&(n.d=new $n(oo,n,8,5)),n.d));return ui(t),new SA(t)}function Up(e){var t,n,r;for(t=Gg(1+(!e.c&&(e.c=new _t(lf,e,9,9)),e.c).i),wt(t,(!e.e&&(e.e=new $n(oo,e,7,4)),e.e)),r=new Ir((!e.c&&(e.c=new _t(lf,e,9,9)),e.c));r.e!=r.i.gc();)n=l(Ur(r),118),wt(t,(!n.e&&(n.e=new $n(oo,n,7,4)),n.e));return ui(t),new SA(t)}function $6n(e){var t,n,r,i;if(e==null)return null;if(r=Su(e,!0),i=HR.length,Tn(r.substr(r.length-i,i),HR)){if(n=r.length,n==4){if(t=(yi(0,r.length),r.charCodeAt(0)),t==43)return dNe;if(t==45)return REt}else if(n==3)return dNe}return R4(r)}function H6n(e){var t,n,r,i;for(t=0,n=0,i=new M(e.j);i.a<i.c.c.length;)if(r=l(se(i),11),t=li(sc(t,Vat($s(new jn(null,new zn(r.e,16)),new Ane)))),n=li(sc(n,Vat($s(new jn(null,new zn(r.g,16)),new Mne)))),t>1||n>1)return 2;return t+n==1?2:0}function I0t(e,t,n){var r,i,a,h,d;for(Zr(n,"ELK Force",1),Zt(Xt(nn(t,(X1(),lAe))))||bq((r=new Dr((r4(),new J3(t))),r)),d=out(t),awn(d),jpn(e,l(re(d,cAe),424)),h=ypt(e.a,d),a=h.Kc();a.Ob();)i=l(a.Pb(),231),_kn(e.b,i,Eu(n,1/h.gc()));d=Dmt(h),Lmt(d),Br(n)}function z6n(e,t){var n,r,i,a,h;if(Zr(t,"Breaking Point Processor",1),c9n(e),Zt(Xt(re(e,(Nt(),mIe))))){for(i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),n=0,h=new M(r.a);h.a<h.c.c.length;)a=l(se(h),10),a.p=n++;u7n(e),egt(e,!0),egt(e,!1)}Br(t)}function V6n(e,t,n){var r,i,a,h,d,b;for(d=e.c,h=(n.q?n.q:(In(),In(),lp)).vc().Kc();h.Ob();)a=l(h.Pb(),42),r=!nA($s(new jn(null,new zn(d,16)),new lt(new dZe(t,a)))).sd((i2(),J9)),r&&(b=a.dd(),Le(b,4)&&(i=_ke(b),i!=null&&(b=i)),t.Ye(l(a.cd(),146),b))}function mG(e,t){var n,r,i,a,h;if(t){for(a=Le(e.Cb,88)||Le(e.Cb,99),h=!a&&Le(e.Cb,322),r=new Ir((!t.a&&(t.a=new FA(t,Fc,t)),t.a));r.e!=r.i.gc();)if(n=l(Ur(r),87),i=CG(n),a?Le(i,88):h?Le(i,148):i)return i;return a?(Sn(),Wd):(Sn(),U0)}else return null}function q6n(e,t){var n,r,i,a,h,d;for(Zr(t,"Constraints Postprocessor",1),h=0,a=new M(e.b);a.a<a.c.c.length;){for(i=l(se(a),29),d=0,r=new M(i.a);r.a<r.c.c.length;)n=l(se(r),10),n.k==(gr(),za)&&(ut(n,(Nt(),lY),St(h)),ut(n,sY,St(d)),++d);++h}Br(t)}function U6n(e,t,n,r){var i,a,h,d,b,E,C;for(b=new en(n,r),xo(b,l(re(t,(Kl(),eI)),8)),C=$i(t.b,0);C.b!=C.d.c;)E=l(ji(C),86),xs(E.e,b),zi(e.b,E);for(d=$i(t.a,0);d.b!=d.d.c;){for(h=l(ji(d),188),a=$i(h.a,0);a.b!=a.d.c;)i=l(ji(a),8),xs(i,b);zi(e.a,h)}}function b7e(e,t,n){var r,i,a;if(a=n_((Ih(),Vo),e.Tg(),t),a){if(Sc(),!l(a,66).Oj()&&(a=Mk(tl(Vo,a)),!a))throw ue(new Jn(ub+t.ne()+uL));i=(r=e.Yg(a),l(r>=0?e._g(r,!0,!0):Cy(e,a,!0),153)),l(i,215).ml(t,n)}else throw ue(new Jn(ub+t.ne()+uL))}function G6n(e,t){var n,r,i,a,h;for(n=new yt,i=Al(new jn(null,new zn(e,16)),new Xne),a=Al(new jn(null,new zn(e,16)),new Qne),h=w0n(P1n(cq(T_n(pe(de(tSn,1),Ht,833,0,[i,a])),new Zne))),r=1;r<h.length;r++)h[r]-h[r-1]>=2*t&&wt(n,new Coe(h[r-1]+t,h[r]-t));return n}function W6n(e,t,n){Zr(n,"Eades radial",1),n.n&&t&&h1(n,f1(t),(_f(),Gf)),e.d=l(nn(t,(DA(),rI)),33),e.c=ot(Lt(nn(t,(O4(),RY)))),e.e=hue(l(nn(t,xB),293)),e.a=Svn(l(nn(t,yOe),426)),e.b=Kwn(l(nn(t,wOe),340)),Awn(e),n.n&&t&&h1(n,f1(t),(_f(),Gf))}function K6n(e,t,n){var r,i,a,h,d,b,E,C;if(n)for(a=n.a.length,r=new c2(a),d=(r.b-r.a)*r.c<0?(Nv(),Ob):new jv(r);d.Ob();)h=l(d.Pb(),19),i=SE(n,h.a),i&&(b=Gdn(e,(E=(Hw(),C=new Dye,C),t&&w7e(E,t),E),i),sM(b,Pp(i,Sg)),cG(i,b),V8e(i,b),Tle(e,i,b))}function vG(e){var t,n,r,i,a,h;if(!e.j){if(h=new gC,t=kI,a=t.a.zc(e,t),a==null){for(r=new Ir(ol(e));r.e!=r.i.gc();)n=l(Ur(r),26),i=vG(n),ga(h,i),fi(h,n);t.a.Bc(e)!=null}C4(h),e.j=new _6((l(Re(rt((Vv(),Gn).o),11),18),h.i),h.g),Jh(e).b&=-33}return e.j}function Y6n(e){var t,n,r,i;if(e==null)return null;if(r=Su(e,!0),i=HR.length,Tn(r.substr(r.length-i,i),HR)){if(n=r.length,n==4){if(t=(yi(0,r.length),r.charCodeAt(0)),t==43)return gNe;if(t==45)return BEt}else if(n==3)return gNe}return new xye(r)}function X6n(e){var t,n,r;return n=e.l,n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?z_e(n):t==0&&r!=0&&n==0?z_e(r)+22:t!=0&&r==0&&n==0?z_e(t)+44:-1}function Q6n(e,t){var n,r,i,a,h;for(Zr(t,"Edge joining",1),n=Zt(Xt(re(e,(Nt(),cge)))),i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),h=new Ro(r.a,0);h.b<h.d.gc();)a=(kr(h.b<h.d.gc()),l(h.d.Xb(h.c=h.b++),10)),a.k==(gr(),po)&&(Dhe(a,n),wf(h));Br(t)}function Z6n(e,t,n){var r,i;if(Cq(e.b),Yg(e.b,(MN(),BY),(aA(),EB)),Yg(e.b,FY,t.g),Yg(e.b,jY,t.a),e.a=DG(e.b,t),Zr(n,"Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(i=new M(e.a);i.a<i.c.c.length;)r=l(se(i),51),r.pf(t,Eu(n,1));Br(n)}function X6(e,t){var n,r,i,a,h;for(i=t.a&e.f,a=null,r=e.b[i];;r=r.b){if(r==t){a?a.b=t.b:e.b[i]=t.b;break}a=r}for(h=t.f&e.f,a=null,n=e.c[h];;n=n.d){if(n==t){a?a.d=t.d:e.c[h]=t.d;break}a=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function J6n(e){var t,n,r,i,a,h,d,b,E,C;for(n=e.o,t=e.p,h=as,i=Jo,d=as,a=Jo,E=0;E<n;++E)for(C=0;C<t;++C)V6(e,E,C)&&(h=v.Math.min(h,E),i=v.Math.max(i,E),d=v.Math.min(d,C),a=v.Math.max(a,C));return b=i-h+1,r=a-d+1,new Drt(St(h),St(d),St(b),St(r))}function nhe(e,t){var n,r,i,a;for(a=new Ro(e,0),n=(kr(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),140));a.b<a.d.gc();)r=(kr(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),140)),i=new A5e(r.c,n.d,t),kr(a.b>0),a.a.Xb(a.c=--a.b),u4(a,i),kr(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),i.a=!1,n=r}function O0t(e){var t,n,r,i,a,h;for(i=l(re(e,(mt(),XK)),11),h=new M(e.j);h.a<h.c.c.length;){for(a=l(se(h),11),r=new M(a.g);r.a<r.c.c.length;)return t=l(se(r),17),So(t,i),a;for(n=new M(a.e);n.a<n.c.c.length;)return t=l(se(n),17),ic(t,i),a}return null}function e_n(e,t,n){var r,i;r=ph(n.q.getTime()),nu(r,0)<0?(i=Fm-li(IN(DE(r),Fm)),i==Fm&&(i=0)):i=li(IN(r,Fm)),t==1?(i=v.Math.min((i+50)/100|0,9),zv(e,48+i&Aa)):t==2?(i=v.Math.min((i+5)/10|0,99),Jg(e,i,2)):(Jg(e,i,3),t>3&&Jg(e,0,t-3))}function t_n(e){var t,n,r,i;return Je(re(e,(Nt(),h5)))===Je((Hp(),Xm))?!e.e&&Je(re(e,hB))!==Je((WE(),iB)):(r=l(re(e,X0e),292),i=Zt(Xt(re(e,Q0e)))||Je(re(e,$L))===Je((Rk(),rB)),t=l(re(e,DLe),19).a,n=e.a.c.length,!i&&r!=(WE(),iB)&&(t==0||t>n))}function n_n(e){var t,n;for(n=0;n<e.c.length&&!(nnt((Un(n,e.c.length),l(e.c[n],113)))>0);n++);if(n>0&&n<e.c.length-1)return n;for(t=0;t<e.c.length&&!(nnt((Un(t,e.c.length),l(e.c[t],113)))>0);t++);return t>0&&n<e.c.length-1?t:e.c.length/2|0}function D0t(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=6&&t){if(u9(e,t))throw ue(new Jn(hL+Q1t(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Uke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=zk(t,e,6,r)),r=V4e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,6,t,t))}function w7e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(u9(e,t))throw ue(new Jn(hL+Dgt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Wke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=zk(t,e,9,r)),r=q4e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,9,t,t))}function rhe(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(u9(e,t))throw ue(new Jn(hL+Opt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Yke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=zk(t,e,12,r)),r=z4e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,3,t,t))}function w9(e){var t,n,r,i,a;if(r=Md(e),a=e.j,a==null&&r)return e.$j()?null:r.zj();if(Le(r,148)){if(n=r.Aj(),n&&(i=n.Nh(),i!=e.i)){if(t=l(r,148),t.Ej())try{e.g=i.Kh(t,a)}catch(h){if(h=ea(h),Le(h,78))e.g=null;else throw ue(h)}e.i=i}return e.g}return null}function P0t(e){var t;return t=new yt,wt(t,new hk(new en(e.c,e.d),new en(e.c+e.b,e.d))),wt(t,new hk(new en(e.c,e.d),new en(e.c,e.d+e.a))),wt(t,new hk(new en(e.c+e.b,e.d+e.a),new en(e.c+e.b,e.d))),wt(t,new hk(new en(e.c+e.b,e.d+e.a),new en(e.c,e.d+e.a))),t}function N0t(e,t,n,r){var i,a,h;if(h=r8e(t,n),r.c[r.c.length]=t,e.j[h.p]==-1||e.j[h.p]==2||e.a[t.p])return r;for(e.j[h.p]=-1,a=new Rr(zr(zp(h).a.Kc(),new J));Ei(a);)if(i=l(hi(a),17),!(!(!pc(i)&&!(!pc(i)&&i.c.i.c==i.d.i.c))||i==t))return N0t(e,i,h,r);return r}function r_n(e,t,n){var r,i,a;for(a=t.a.ec().Kc();a.Ob();)i=l(a.Pb(),79),r=l(Tr(e.b,i),266),!r&&(ua(tp(i))==ua(eb(i))?bxn(e,i,n):tp(i)==ua(eb(i))?Tr(e.c,i)==null&&Tr(e.b,eb(i))!=null&&gmt(e,i,n,!1):Tr(e.d,i)==null&&Tr(e.b,tp(i))!=null&&gmt(e,i,n,!0))}function i_n(e,t){var n,r,i,a,h,d,b;for(i=e.Kc();i.Ob();)for(r=l(i.Pb(),10),d=new fu,Cl(d,r),Ka(d,(Mt(),fr)),ut(d,(mt(),eY),(er(),!0)),h=t.Kc();h.Ob();)a=l(h.Pb(),10),b=new fu,Cl(b,a),Ka(b,nr),ut(b,eY,!0),n=new iy,ut(n,eY,!0),ic(n,d),So(n,b)}function s_n(e,t,n,r){var i,a,h,d;i=Lht(e,t,n),a=Lht(e,n,t),h=l(Tr(e.c,t),112),d=l(Tr(e.c,n),112),i<a?new h2((V1(),b5),h,d,a-i):a<i?new h2((V1(),b5),d,h,i-a):(i!=0||!(!t.i||!n.i)&&r[t.i.c][n.i.c])&&(new h2((V1(),b5),h,d,0),new h2(b5,d,h,0))}function R0t(e,t){var n,r,i,a,h,d,b;for(i=0,h=new M(t.a);h.a<h.c.c.length;)for(a=l(se(h),10),i+=a.o.b+a.d.a+a.d.d+e.e,r=new Rr(zr(bl(a).a.Kc(),new J));Ei(r);)n=l(hi(r),17),n.c.i.k==(gr(),Mu)&&(b=n.c.i,d=l(re(b,(mt(),vs)),10),i+=d.o.b+d.d.a+d.d.d);return i}function B0t(e,t,n){var r,i,a,h,d,b,E;for(a=new yt,E=new sa,h=new sa,K8n(e,E,h,t),i9n(e,E,h,t,n),b=new M(e);b.a<b.c.c.length;)for(d=l(se(b),112),i=new M(d.k);i.a<i.c.c.length;)r=l(se(i),129),(!t||r.c==(V1(),wb))&&d.g>r.b.g&&(a.c[a.c.length]=r);return a}function y9(){y9=Ee,N_=new hP("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),T8=new hP("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),sI=new hP("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),iI=new hP("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),aI=new hP("WHOLE_DRAWING",4)}function a_n(e,t){if(Le(t,239))return Rmn(e,l(t,33));if(Le(t,186))return Ymn(e,l(t,118));if(Le(t,354))return chn(e,l(t,137));if(Le(t,352))return O8n(e,l(t,79));if(t)return null;throw ue(new Jn(vSe+tb(new gf(pe(de(xr,1),Ht,1,5,[t])))))}function o_n(e){var t,n,r,i,a,h,d;for(a=new sa,i=new M(e.d.a);i.a<i.c.c.length;)r=l(se(i),121),r.b.a.c.length==0&&xa(a,r,a.c.b,a.c);if(a.b>1)for(t=Yw((n=new r2,++e.b,n),e.d),d=$i(a,0);d.b!=d.d.c;)h=l(ji(d),121),v1(o1(a1(c1(s1(new kd,1),0),t),h))}function y7e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(u9(e,t))throw ue(new Jn(hL+F7e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Xke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=zk(t,e,10,r)),r=Z4e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,11,t,t))}function c_n(e){var t,n,r,i;for(r=new x2(new mm(e.b).a);r.b;)n=fy(r),i=l(n.cd(),11),t=l(n.dd(),10),ut(t,(mt(),vs),i),ut(i,Wh,t),ut(i,oB,(er(),!0)),Ka(i,l(re(t,Vl),61)),re(t,Vl),ut(i.i,(Nt(),ba),(Ao(),MT)),l(re(cc(i.i),Lu),21).Fc((Pc(),fT))}function l_n(e,t,n){var r,i,a,h,d,b;if(a=0,h=0,e.c)for(b=new M(e.d.i.j);b.a<b.c.c.length;)d=l(se(b),11),a+=d.e.c.length;else a=1;if(e.d)for(b=new M(e.c.i.j);b.a<b.c.c.length;)d=l(se(b),11),h+=d.g.c.length;else h=1;return i=Sa(DP(h-a)),r=(n+t)/2+(n-t)*(.4*i),r}function u_n(e){W6();var t,n;if(e.Hc((Mt(),Dl)))throw ue(new Jn("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return FK;case 2:return t=e.Hc(fr)&&e.Hc(nr),n=e.Hc(Qn)&&e.Hc(Jr),t||n?HK:$K;case 3:return jK;case 4:return BK;default:return null}}function h_n(e,t,n){var r,i,a,h,d;for(Zr(n,"Breaking Point Removing",1),e.a=l(re(t,(Nt(),Qp)),218),a=new M(t.b);a.a<a.c.c.length;)for(i=l(se(a),29),d=new M(oy(i.a));d.a<d.c.c.length;)h=l(se(d),10),fct(h)&&(r=l(re(h,(mt(),Gy)),305),!r.d&&Pmt(e,r));Br(n)}function ihe(e,t,n){return J6(),VE(e,t)&&VE(e,n)?!1:Nhe(new en(e.c,e.d),new en(e.c+e.b,e.d),t,n)||Nhe(new en(e.c+e.b,e.d),new en(e.c+e.b,e.d+e.a),t,n)||Nhe(new en(e.c+e.b,e.d+e.a),new en(e.c,e.d+e.a),t,n)||Nhe(new en(e.c,e.d+e.a),new en(e.c,e.d),t,n)}function _7e(e,t){var n,r,i,a;if(!e.dc()){for(n=0,r=e.gc();n<r;++n)if(a=wi(e.Xb(n)),a==null?t==null:Tn(a.substr(0,3),"!##")?t!=null&&(i=t.length,!Tn(a.substr(a.length-i,i),t)||a.length!=t.length+3)&&!Tn($2,t):Tn(a,h1e)&&!Tn($2,t)||Tn(a,t))return!0}return!1}function f_n(e,t,n,r){var i,a,h,d,b,E;for(h=e.j.c.length,b=Ue(iSn,VEe,306,h,0,1),d=0;d<h;d++)a=l(Kt(e.j,d),11),a.p=d,b[d]=b5n(c0t(a),n,r);for(R_n(e,b,n,t,r),E=new si,i=0;i<b.length;i++)b[i]&&ds(E,l(Kt(e.j,i),11),b[i]);E.f.c+E.g.c!=0&&(ut(e,(mt(),RL),E),$3n(e,b))}function d_n(e,t,n){var r,i,a;for(i=new M(e.a.b);i.a<i.c.c.length;)if(r=l(se(i),57),a=I6(r),a&&a.k==(gr(),La))switch(l(re(a,(mt(),Vl)),61).g){case 4:a.n.a=t.a;break;case 2:a.n.a=n.a-(a.o.a+a.d.c);break;case 1:a.n.b=t.b;break;case 3:a.n.b=n.b-(a.o.b+a.d.a)}}function Q6(){Q6=Ee,yY=new fk(Yp,0),pB=new fk("NIKOLOV",1),mB=new fk("NIKOLOV_PIXEL",2),CIe=new fk("NIKOLOV_IMPROVED",3),AIe=new fk("NIKOLOV_IMPROVED_PIXEL",4),SIe=new fk("DUMMYNODE_PERCENTAGE",5),MIe=new fk("NODECOUNT_PERCENTAGE",6),_Y=new fk("NO_BOUNDARY",7)}function g_n(e,t,n){var r,i,a,h,d;return i=l(nn(t,(uG(),EDe)),19),!i&&(i=St(0)),a=l(nn(n,EDe),19),!a&&(a=St(0)),i.a>a.a?-1:i.a<a.a?1:e.a&&(r=ja(t.j,n.j),r!=0||(r=ja(t.i,n.i),r!=0))?r:(h=t.g*t.f,d=n.g*n.f,ja(h,d))}function p_n(e,t){var n,r,i,a,h,d,b,E,C,P;if(++e.e,b=e.d==null?0:e.d.length,t>b){for(C=e.d,e.d=Ue(jPe,SSe,63,2*b+4,0,1),a=0;a<b;++a)if(E=C[a],E)for(r=E.g,P=E.i,d=0;d<P;++d)i=l(r[d],133),h=U4e(e,i.Sh()),n=e.d[h],!n&&(n=e.d[h]=e.uj()),n.Fc(i);return!0}else return!1}function m_n(e,t,n){var r,i,a,h,d,b;if(i=n,a=i.ak(),Gp(e.e,a)){if(a.hi()){for(r=l(e.g,119),h=0;h<e.i;++h)if(d=r[h],hs(d,i)&&h!=t)throw ue(new Jn(NR))}}else for(b=Wu(e.e.Tg(),a),r=l(e.g,119),h=0;h<e.i;++h)if(d=r[h],b.rl(d.ak()))throw ue(new Jn($R));mM(e,t,n)}function F0t(e,t){var n,r,i,a,h,d;for(n=l(re(t,(mt(),a5)),21),h=l(_s((Fhe(),Ms),n),21),d=l(_s(Ni,n),21),a=h.Kc();a.Ob();)if(r=l(a.Pb(),21),!l(_s(e.b,r),15).dc())return!1;for(i=d.Kc();i.Ob();)if(r=l(i.Pb(),21),!l(_s(e.b,r),15).dc())return!1;return!0}function v_n(e,t){var n,r,i,a,h,d;for(Zr(t,"Partition postprocessing",1),r=new M(e.b);r.a<r.c.c.length;)for(n=l(se(r),29),a=new M(n.a);a.a<a.c.c.length;)for(i=l(se(a),10),d=new M(i.j);d.a<d.c.c.length;)h=l(se(d),11),Zt(Xt(re(h,(mt(),eY))))&&VA(d);Br(t)}function j0t(e,t){var n,r,i,a,h,d,b,E,C;if(e.a.c.length==1)return Vdt(l(Kt(e.a,0),187),t);for(h=ymn(e),b=0,E=e.d,a=h,C=e.d,d=(E-a)/2+a;a+1<E;){for(b=0,r=new M(e.a);r.a<r.c.c.length;)n=l(se(r),187),b+=(i=$M(n,d,!1),i.a);b<t?(C=d,E=d):a=d,d=(E-a)/2+a}return C}function b_n(e){var t,n,r,i,a;return isNaN(e)?(PE(),XSe):e<-9223372036854776e3?(PE(),Lyt):e>=9223372036854776e3?(PE(),KSe):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=O2&&(r=Sa(e/O2),e-=r*O2),n=0,e>=Jk&&(n=Sa(e/Jk),e-=n*Jk),t=Sa(e),a=qu(t,n,r),i&&Ele(a),a)}function w_n(e,t){var n,r,i,a;for(n=!t||!e.u.Hc((Gh(),tm)),a=0,i=new M(e.e.Cf());i.a<i.c.c.length;){if(r=l(se(i),838),r.Hf()==(Mt(),Dl))throw ue(new Jn("Label and node size calculator can only be used with ports that have port sides assigned."));r.vf(a++),vmn(e,r,n)}}function y_n(e,t){var n,r,i,a,h;return i=t.Hh(e.a),i&&(r=(!i.b&&(i.b=new mf((Sn(),_c),ql,i)),i.b),n=wi(W1(r,ec)),n!=null&&(a=n.lastIndexOf("#"),h=a==-1?N4e(e,t.Aj(),n):a==0?eN(e,null,n.substr(1)):eN(e,n.substr(0,a),n.substr(a+1)),Le(h,148)))?l(h,148):null}function __n(e,t){var n,r,i,a,h;return r=t.Hh(e.a),r&&(n=(!r.b&&(r.b=new mf((Sn(),_c),ql,r)),r.b),a=wi(W1(n,u1e)),a!=null&&(i=a.lastIndexOf("#"),h=i==-1?N4e(e,t.Aj(),a):i==0?eN(e,null,a.substr(1)):eN(e,a.substr(0,i),a.substr(i+1)),Le(h,148)))?l(h,148):null}function x7e(e){var t,n,r,i,a;for(n=new M(e.a.a);n.a<n.c.c.length;){for(t=l(se(n),307),t.j=null,a=t.a.a.ec().Kc();a.Ob();)r=l(a.Pb(),57),z1(r.b),(!t.j||r.d.c<t.j.d.c)&&(t.j=r);for(i=t.a.a.ec().Kc();i.Ob();)r=l(i.Pb(),57),r.b.a=r.d.c-t.j.d.c,r.b.b=r.d.d-t.j.d.d}return e}function bG(e){var t,n,r,i,a;for(n=new M(e.a.a);n.a<n.c.c.length;){for(t=l(se(n),189),t.f=null,a=t.a.a.ec().Kc();a.Ob();)r=l(a.Pb(),81),z1(r.e),(!t.f||r.g.c<t.f.g.c)&&(t.f=r);for(i=t.a.a.ec().Kc();i.Ob();)r=l(i.Pb(),81),r.e.a=r.g.c-t.f.g.c,r.e.b=r.g.d-t.f.g.d}return e}function x_n(e){var t,n,r;return n=l(e.a,19).a,r=l(e.b,19).a,t=v.Math.max(v.Math.abs(n),v.Math.abs(r)),n<t&&r==-t?new No(St(n+1),St(r)):n==t&&r<t?new No(St(n),St(r+1)):n>=-t&&r==t?new No(St(n-1),St(r)):new No(St(n),St(r-1))}function $0t(){return Mc(),pe(de(lSn,1),vt,77,0,[zAe,jAe,AL,l0e,oMe,kK,DK,rT,sMe,XAe,rMe,nT,aMe,WAe,cMe,DAe,CK,u0e,_K,LK,uMe,MK,PAe,iMe,hMe,IK,lMe,xK,qAe,tMe,eMe,PK,BAe,yK,TK,RAe,tT,ZAe,KAe,nMe,ML,$Ae,FAe,JAe,YAe,SK,OK,NAe,AK,QAe,EK,UAe,VAe,tB,wK,GAe,HAe])}function k_n(e,t,n){e.d=0,e.b=0,t.k==(gr(),Mu)&&n.k==Mu&&l(re(t,(mt(),vs)),10)==l(re(n,vs),10)&&(Qce(t).j==(Mt(),Qn)?T0t(e,t,n):T0t(e,n,t)),t.k==Mu&&n.k==po?Qce(t).j==(Mt(),Qn)?e.d=1:e.b=1:n.k==Mu&&t.k==po&&(Qce(n).j==(Mt(),Qn)?e.b=1:e.d=1),u2n(e,t,n)}function E_n(e){var t,n,r,i,a,h,d,b,E,C,P;return P=w8e(e),t=e.a,b=t!=null,b&&pE(P,"category",e.a),i=QD(new X3(e.d)),h=!i,h&&(E=new gm,U1(P,"knownOptions",E),n=new SKe(E),Ho(new X3(e.d),n)),a=QD(e.g),d=!a,d&&(C=new gm,U1(P,"supportedFeatures",C),r=new CKe(C),Ho(e.g,r)),P}function T_n(e){var t,n,r,i,a,h,d,b,E;for(r=!1,t=336,n=0,a=new zet(e.length),d=e,b=0,E=d.length;b<E;++b)h=d[b],r=r|(E2(h),!1),i=(qv(h),h.a),wt(a.a,ui(i)),t&=i.qd(),n=emn(n,i.rd());return l(l(Knt(new jn(null,Bue(new zn((m4(),hke(a.a)),16),new ge,t,n)),new Tse(e)),670),833)}function S_n(e,t){var n;e.d&&(t.c!=e.e.c||Rgn(e.e.b,t.b))&&(wt(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),Uin(t.b)?e.c=t:e.b=t,(t.b==(KE(),Vy)&&!t.a||t.b==r5&&t.a||t.b==b_&&t.a||t.b==i5&&!t.a)&&e.c&&e.b&&(n=new td(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=n,e.e=t)}function ZN(e){var t;if(FYe.call(this),this.i=new Sre,this.g=e,this.f=l(e.e&&e.e(),9).length,this.f==0)throw ue(new Jn("There must be at least one phase in the phase enumeration."));this.c=(t=l(H1(this.g),9),new ed(t,l(l1(t,t.length),9),0)),this.a=new eo,this.b=new si}function k7e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=7&&t){if(u9(e,t))throw ue(new Jn(hL+Wdt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Gke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=l(t,49).gh(e,1,qB,r)),r=q5e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,7,t,t))}function H0t(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(u9(e,t))throw ue(new Jn(hL+nht(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Kke(e,r):e.Cb.ih(e,-1-n,null,r))),t&&(r=l(t,49).gh(e,0,GB,r)),r=U5e(e,t,r),r&&r.Fi()}else e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,3,t,t))}function she(e,t){m9();var n,r,i,a,h,d,b,E,C;return t.d>e.d&&(d=e,e=t,t=d),t.d<63?pxn(e,t):(h=(e.d&-2)<<4,E=i_e(e,h),C=i_e(t,h),r=_he(e,Ik(E,h)),i=_he(t,Ik(C,h)),b=she(E,C),n=she(r,i),a=she(_he(E,r),_he(i,C)),a=Mhe(Mhe(a,b),n),a=Ik(a,h),b=Ik(b,h<<1),Mhe(Mhe(b,a),n))}function C_n(e,t,n){var r,i,a,h,d;for(h=gM(e,n),d=Ue(up,jm,10,t.length,0,1),r=0,a=h.Kc();a.Ob();)i=l(a.Pb(),11),Zt(Xt(re(i,(mt(),oB))))&&(d[r++]=l(re(i,Wh),10));if(r<t.length)throw ue(new pl("Expected "+t.length+" hierarchical ports, but found only "+r+"."));return d}function A_n(e,t){var n,r,i,a,h,d;if(!e.tb){for(a=(!e.rb&&(e.rb=new g4(e,n0,e)),e.rb),d=new lk(a.i),i=new Ir(a);i.e!=i.i.gc();)r=l(Ur(i),138),h=r.ne(),n=l(h==null?Gu(d.f,null,r):wy(d.g,h,r),138),n&&(h==null?Gu(d.f,null,n):wy(d.g,h,n));e.tb=d}return l(xu(e.tb,t),138)}function JN(e,t){var n,r,i,a,h;if((e.i==null&&mg(e),e.i).length,!e.p){for(h=new lk((3*e.g.i/2|0)+1),i=new vk(e.g);i.e!=i.i.gc();)r=l(lue(i),170),a=r.ne(),n=l(a==null?Gu(h.f,null,r):wy(h.g,a,r),170),n&&(a==null?Gu(h.f,null,n):wy(h.g,a,n));e.p=h}return l(xu(e.p,t),170)}function E7e(e,t,n,r,i){var a,h,d,b,E;for(hbn(r+pce(n,n.$d()),i),urt(t,Bvn(n)),a=n.f,a&&E7e(e,t,a,"Caused by: ",!1),d=(n.k==null&&(n.k=Ue(C1e,dt,78,0,0,1)),n.k),b=0,E=d.length;b<E;++b)h=d[b],E7e(e,t,h,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function eR(e,t,n,r){var i,a,h,d,b;for(b=t.e,d=b.length,h=t.q._f(b,n?0:d-1,n),i=b[n?0:d-1],h=h|Sgt(e,i,n,r),a=n?1:d-2;n?a<d:a>=0;a+=n?1:-1)h=h|t.c.Sf(b,a,n,r&&!Zt(Xt(re(t.j,(mt(),Wy))))&&!Zt(Xt(re(t.j,(mt(),C_))))),h=h|t.q._f(b,a,n),h=h|Sgt(e,b[a],n,r);return Ga(e.c,t),h}function wG(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(C=Tst(e.j),P=0,$=C.length;P<$;++P){if(E=C[P],n==(Oc(),Kh)||n==WL)for(b=pg(E.g),i=b,a=0,h=i.length;a<h;++a)r=i[a],j3n(t,r)&&Ly(r,!0);if(n==Hu||n==WL)for(d=pg(E.e),i=d,a=0,h=i.length;a<h;++a)r=i[a],F3n(t,r)&&Ly(r,!0)}}function M_n(e){var t,n;switch(t=null,n=null,Zwn(e).g){case 1:t=(Mt(),fr),n=nr;break;case 2:t=(Mt(),Jr),n=Qn;break;case 3:t=(Mt(),nr),n=fr;break;case 4:t=(Mt(),Qn),n=Jr}rz(e,l(Xw(ZV(l(_s(e.k,t),15).Oc(),y_)),113)),nz(e,l(Xw(QV(l(_s(e.k,n),15).Oc(),y_)),113))}function L_n(e){var t,n,r,i,a,h;if(i=l(Kt(e.j,0),11),i.e.c.length+i.g.c.length==0)e.n.a=0;else{for(h=0,r=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(i),new ni(i)])));Ei(r);)n=l(hi(r),11),h+=n.i.n.a+n.n.a+n.a.a;t=l(re(e,(Nt(),Zy)),8),a=t?t.a:0,e.n.a=h/(i.e.c.length+i.g.c.length)-a}}function z0t(e,t){var n,r,i;for(r=new M(t.a);r.a<r.c.c.length;)n=l(se(r),221),Foe(l(n.b,65),xo(Fl(l(t.b,65).c),l(t.b,65).a)),i=spt(l(t.b,65).b,l(n.b,65).b),i>1&&(e.a=!0),Vln(l(n.b,65),xs(Fl(l(t.b,65).c),ug(xo(Fl(l(n.b,65).a),l(t.b,65).a),i))),jit(e,t),z0t(e,n)}function V0t(e){var t,n,r,i,a,h,d;for(a=new M(e.a.a);a.a<a.c.c.length;)r=l(se(a),189),r.e=0,r.d.a.$b();for(i=new M(e.a.a);i.a<i.c.c.length;)for(r=l(se(i),189),n=r.a.a.ec().Kc();n.Ob();)for(t=l(n.Pb(),81),d=t.f.Kc();d.Ob();)h=l(d.Pb(),81),h.d!=r&&(Ga(r.d,h),++h.d.e)}function I_n(e){var t,n,r,i,a,h,d,b;for(b=e.j.c.length,n=0,t=b,i=2*b,d=new M(e.j);d.a<d.c.c.length;)switch(h=l(se(d),11),h.j.g){case 2:case 4:h.p=-1;break;case 1:case 3:r=h.e.c.length,a=h.g.c.length,r>0&&a>0?h.p=t++:r>0?h.p=n++:a>0?h.p=i++:h.p=n++}In(),fo(e.j,new hD)}function O_n(e){var t,n;n=null,t=l(Kt(e.g,0),17);do{if(n=t.d.i,so(n,(mt(),Fd)))return l(re(n,Fd),11).i;if(n.k!=(gr(),za)&&Ei(new Rr(zr($a(n).a.Kc(),new J))))t=l(hi(new Rr(zr($a(n).a.Kc(),new J))),17);else if(n.k!=za)return null}while(n&&n.k!=(gr(),za));return n}function D_n(e,t){var n,r,i,a,h,d,b,E,C;for(d=t.j,h=t.g,b=l(Kt(d,d.c.length-1),113),C=(Un(0,d.c.length),l(d.c[0],113)),E=Eue(e,h,b,C),a=1;a<d.c.length;a++)n=(Un(a-1,d.c.length),l(d.c[a-1],113)),i=(Un(a,d.c.length),l(d.c[a],113)),r=Eue(e,h,n,i),r>E&&(b=n,C=i,E=r);t.a=C,t.c=b}function P_n(e,t){var n,r;if(r=PP(e.b,t.b),!r)throw ue(new pl("Invalid hitboxes for scanline constraint calculation."));(Xlt(t.b,l(Pan(e.b,t.b),57))||Xlt(t.b,l(Dan(e.b,t.b),57)))&&(Ug(),t.b+""),e.a[t.b.f]=l(_oe(e.b,t.b),57),n=l(yoe(e.b,t.b),57),n&&(e.a[n.f]=t.b)}function v1(e){if(!e.a.d||!e.a.e)throw ue(new pl((Lp(i3t),i3t.k+" must have a source and target "+(Lp(YCe),YCe.k)+" specified.")));if(e.a.d==e.a.e)throw ue(new pl("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return EV(e.a.d.g,e.a),EV(e.a.e.b,e.a),e.a}function N_n(e,t,n){var r,i,a,h,d,b,E;for(E=new Dv(new TWe(e)),h=pe(de(U4t,1),rbt,11,0,[t,n]),d=0,b=h.length;d<b;++d)for(a=h[d],EU(E.a,a,(er(),z2))==null,i=new C0(a.b);Sl(i.a)||Sl(i.b);)r=l(Sl(i.a)?se(i.a):se(i.b),17),r.c==r.d||PP(E,a==r.c?r.d:r.c);return ui(E),new Ah(E)}function q0t(e,t,n){var r,i,a,h,d,b;if(r=0,t.b!=0&&n.b!=0){a=$i(t,0),h=$i(n,0),d=ot(Lt(ji(a))),b=ot(Lt(ji(h))),i=!0;do{if(d>b-e.b&&d<b+e.b)return-1;d>b-e.a&&d<b+e.a&&++r,d<=b&&a.b!=a.d.c?d=ot(Lt(ji(a))):b<=d&&h.b!=h.d.c?b=ot(Lt(ji(h))):i=!1}while(i)}return r}function R_n(e,t,n,r,i){var a,h,d,b;for(b=(a=l(H1(yc),9),new ed(a,l(l1(a,a.length),9),0)),d=new M(e.j);d.a<d.c.c.length;)h=l(se(d),11),t[h.p]&&(Y9n(h,t[h.p],r),p1(b,h.j));i?(Due(e,t,(Mt(),fr),2*n,r),Due(e,t,nr,2*n,r)):(Due(e,t,(Mt(),Qn),2*n,r),Due(e,t,Jr,2*n,r))}function B_n(e){var t,n,r,i,a;if(a=new yt,fh(e.b,new wr(a)),e.b.c=Ue(xr,Ht,1,0,5,1),a.c.length!=0){for(t=(Un(0,a.c.length),l(a.c[0],78)),n=1,r=a.c.length;n<r;++n)i=(Un(n,a.c.length),l(a.c[n],78)),i!=t&&Yyn(t,i);if(Le(t,60))throw ue(l(t,60));if(Le(t,289))throw ue(l(t,289))}}function F_n(e,t){var n,r,i,a;for(e=e==null?vh:(Xn(e),e),n=new t4,a=0,r=0;r<t.length&&(i=e.indexOf("%s",a),i!=-1);)Mi(n,e.substr(a,i-a)),Wl(n,t[r++]),a=i+2;if(Mi(n,e.substr(a)),r<t.length){for(n.a+=" [",Wl(n,t[r++]);r<t.length;)n.a+=bc,Wl(n,t[r++]);n.a+="]"}return n.a}function j_n(e){var t,n,r,i;for(t=0,r=e.length,i=r-4,n=0;n<i;)t=(yi(n+3,e.length),e.charCodeAt(n+3)+(yi(n+2,e.length),31*(e.charCodeAt(n+2)+(yi(n+1,e.length),31*(e.charCodeAt(n+1)+(yi(n,e.length),31*(e.charCodeAt(n)+31*t))))))),t=t|0,n+=4;for(;n<r;)t=t*31+$o(e,n++);return t=t|0,t}function $_n(e){var t,n;for(n=new Rr(zr($a(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),17),t.d.i.k!=(gr(),kf))throw ue(new p6(Ufe+BN(e)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function H_n(e,t,n,r){var i,a,h,d,b,E,C,P,$;for(b=0,C=new M(e.a);C.a<C.c.c.length;){for(E=l(se(C),10),d=0,a=new Rr(zr(bl(E).a.Kc(),new J));Ei(a);)i=l(hi(a),17),P=E0(i.c).b,$=E0(i.d).b,d=v.Math.max(d,v.Math.abs($-P));b=v.Math.max(b,d)}return h=r*v.Math.min(1,t/n)*b,h}function T7e(e){var t;return t=new eA,e&256&&(t.a+="F"),e&128&&(t.a+="H"),e&512&&(t.a+="X"),e&2&&(t.a+="i"),e&8&&(t.a+="m"),e&4&&(t.a+="s"),e&32&&(t.a+="u"),e&64&&(t.a+="w"),e&16&&(t.a+="x"),e&b1&&(t.a+=","),zye(t.a)}function z_n(e,t){var n,r,i,a;for(Zr(t,"Resize child graph to fit parent.",1),r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),29),Fa(e.a,n.a),n.a.c=Ue(xr,Ht,1,0,5,1);for(a=new M(e.a);a.a<a.c.c.length;)i=l(se(a),10),el(i,null);e.b.c=Ue(xr,Ht,1,0,5,1),hxn(e),e.e&&Qkn(e.e,e),Br(t)}function V_n(e){var t,n,r,i,a,h,d,b,E;if(r=e.b,a=r.e,h=wk(l(re(r,(Nt(),ba)),98)),n=!!a&&l(re(a,(mt(),Lu)),21).Hc((Pc(),dd)),!(h||n))for(E=(d=new m0(e.e).a.vc().Kc(),new v0(d));E.a.Ob();)b=(t=l(E.a.Pb(),42),l(t.dd(),113)),b.a&&(i=b.d,Cl(i,null),b.c=!0,e.a=!0)}function q_n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;for($=-1,K=0,E=e,C=0,P=E.length;C<P;++C){for(b=E[C],a=b,h=0,d=a.length;h<d;++h)for(i=a[h],t=new rZe($==-1?e[0]:e[$],Uft(i)),n=0;n<i.j.c.length;n++)for(r=n+1;r<i.j.c.length;r++)Bnt(t,l(Kt(i.j,n),11),l(Kt(i.j,r),11))>0&&++K;++$}return K}function U_n(e,t){var n,r,i,a,h;for(h=l(re(t,(Ay(),nOe)),425),a=$i(t.b,0);a.b!=a.d.c;)if(i=l(ji(a),86),e.b[i.g]==0){switch(h.g){case 0:vft(e,i);break;case 1:W5n(e,i)}e.b[i.g]=2}for(r=$i(e.a,0);r.b!=r.d.c;)n=l(ji(r),188),M4(n.b.d,n,!0),M4(n.c.b,n,!0);ut(t,(Kl(),YIe),e.a)}function Wu(e,t){Sc();var n,r,i,a;return t?t==(Ts(),NEt)||(t==kEt||t==rw||t==xEt)&&e!=fNe?new mEe(e,t):(r=l(t,677),n=r.pk(),n||(xE(tl((Ih(),Vo),t)),n=r.pk()),a=(!n.i&&(n.i=new si),n.i),i=l(Bl(cl(a.f,e)),1942),!i&&ds(a,e,i=new mEe(e,t)),i):wEt}function G_n(e,t){var n,r,i,a,h,d,b,E,C;for(b=l(re(e,(mt(),vs)),11),E=Ml(pe(de(ao,1),dt,8,0,[b.i.n,b.n,b.a])).a,C=e.i.n.b,n=pg(e.e),i=n,a=0,h=i.length;a<h;++a)r=i[a],So(r,b),s2(r.a,new en(E,C)),t&&(d=l(re(r,(Nt(),il)),74),d||(d=new Th,ut(r,il,d)),zi(d,new en(E,C)))}function W_n(e,t){var n,r,i,a,h,d,b,E,C;for(i=l(re(e,(mt(),vs)),11),E=Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])).a,C=e.i.n.b,n=pg(e.g),h=n,d=0,b=h.length;d<b;++d)a=h[d],ic(a,i),YZe(a.a,new en(E,C)),t&&(r=l(re(a,(Nt(),il)),74),r||(r=new Th,ut(a,il,r)),zi(r,new en(E,C)))}function K_n(e,t){var n,r,i,a,h,d;for(e.b=new yt,e.d=l(re(t,(mt(),y8)),230),e.e=idn(e.d),a=new sa,i=S0(pe(de(z4t,1),tbt,37,0,[t])),h=0;h<i.c.length;)r=(Un(h,i.c.length),l(i.c[h],37)),r.p=h++,n=new rmt(r,e.a,e.b),Fa(i,n.b),wt(e.b,n),n.s&&(d=$i(a,0),NP(d,n));return e.c=new Ja,a}function Y_n(e,t){var n,r,i,a,h,d;for(h=l(l(_s(e.r,t),21),84).Kc();h.Ob();)a=l(h.Pb(),111),n=a.c?O5e(a.c):0,n>0?a.a?(d=a.b.rf().a,n>d&&(i=(n-d)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:HA(e.u)&&(r=y8e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.rf().a&&(a.d.c=r.c+r.b-a.b.rf().a))}function X_n(e,t){var n,r,i,a;for(Zr(t,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new M(e.b);i.a<i.c.c.length;)r=l(se(i),29),a=CN(Jq($s($s(new jn(null,new zn(r.a,16)),new tC),new pD),new k$),new E$),n=n|a.a!=null;n&&ut(e,(mt(),KMe),(er(),!0)),Br(t)}function Q_n(e,t,n){var r,i,a,h,d;if(i=n,!i&&(i=new Y7),Zr(i,"Layout",e.a.c.length),Zt(Xt(re(t,(Ay(),JIe)))))for(Ug(),r=0;r<e.a.c.length;r++)d=(r<10?"0":"")+r++,""+d+Ov(tf(l(Kt(e.a,r),51)));for(h=new M(e.a);h.a<h.c.c.length;)a=l(se(h),51),a.pf(t,Eu(i,1));Br(i)}function Z_n(e){var t,n;if(t=l(e.a,19).a,n=l(e.b,19).a,t>=0){if(t==n)return new No(St(-t-1),St(-t-1));if(t==-n)return new No(St(-t),St(n+1))}return v.Math.abs(t)>v.Math.abs(n)?t<0?new No(St(-t),St(n)):new No(St(-t),St(n+1)):new No(St(t+1),St(n))}function J_n(e){var t,n;n=l(re(e,(Nt(),Yu)),163),t=l(re(e,(mt(),q2)),303),n==(cd(),mb)?(ut(e,Yu,uB),ut(e,q2,(Fp(),T_))):n==c5?(ut(e,Yu,uB),ut(e,q2,(Fp(),p8))):t==(Fp(),T_)?(ut(e,Yu,mb),ut(e,q2,sB)):t==p8&&(ut(e,Yu,c5),ut(e,q2,sB))}function yG(){yG=Ee,wB=new Bne,qxt=ss(new eo,(vc(),Ku),(Mc(),_K)),Wxt=Vh(ss(new eo,Ku,MK),hl,AK),Kxt=ky(ky(zz(Vh(ss(new eo,Mg,DK),hl,OK),Au),IK),PK),Uxt=Vh(ss(ss(ss(new eo,gb,kK),Au,TK),Au,tT),hl,EK),Gxt=Vh(ss(ss(new eo,Au,tT),Au,yK),hl,wK)}function DM(){DM=Ee,Qxt=ss(Vh(new eo,(vc(),hl),(Mc(),UAe)),Ku,_K),tkt=ky(ky(zz(Vh(ss(new eo,Mg,DK),hl,OK),Au),IK),PK),Zxt=Vh(ss(ss(ss(new eo,gb,kK),Au,TK),Au,tT),hl,EK),ekt=ss(ss(new eo,Ku,MK),hl,AK),Jxt=Vh(ss(ss(new eo,Au,tT),Au,yK),hl,wK)}function exn(e,t,n,r,i){var a,h;(!pc(t)&&t.c.i.c==t.d.i.c||!ilt(Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])),n))&&!pc(t)&&(t.c==i?hE(t.a,0,new Zc(n)):zi(t.a,new Zc(n)),r&&!Ap(e.a,n)&&(h=l(re(t,(Nt(),il)),74),h||(h=new Th,ut(t,il,h)),a=new Zc(n),xa(h,a,h.c.b,h.c),Ga(e.a,a)))}function txn(e){var t,n;for(n=new Rr(zr(bl(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),17),t.c.i.k!=(gr(),kf))throw ue(new p6(Ufe+BN(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function nxn(e,t,n){var r,i,a,h,d,b,E;if(i=cht(e.Db&254),i==0)e.Eb=n;else{if(i==1)d=Ue(xr,Ht,1,2,5,1),a=kue(e,t),a==0?(d[0]=n,d[1]=e.Eb):(d[0]=e.Eb,d[1]=n);else for(d=Ue(xr,Ht,1,i+1,5,1),h=m2(e.Eb),r=2,b=0,E=0;r<=128;r<<=1)r==t?d[E++]=n:e.Db&r&&(d[E++]=h[b++]);e.Eb=d}e.Db|=t}function U0t(e,t,n){var r,i,a,h;for(this.b=new yt,i=0,r=0,h=new M(e);h.a<h.c.c.length;)a=l(se(h),167),n&&t7n(a),wt(this.b,a),i+=a.o,r+=a.p;this.b.c.length>0&&(a=l(Kt(this.b,0),167),i+=a.o,r+=a.p),i*=2,r*=2,t>1?i=Sa(v.Math.ceil(i*t)):r=Sa(v.Math.ceil(r/t)),this.a=new dke(i,r)}function G0t(e,t,n,r,i,a){var h,d,b,E,C,P,$,K,Z,te,oe,ye;for(C=r,t.j&&t.o?(K=l(Tr(e.f,t.A),57),te=K.d.c+K.d.b,--C):te=t.a.c+t.a.b,P=i,n.q&&n.o?(K=l(Tr(e.f,n.C),57),E=K.d.c,++P):E=n.a.c,oe=E-te,b=v.Math.max(2,P-C),d=oe/b,Z=te+d,$=C;$<P;++$)h=l(a.Xb($),128),ye=h.a.b,h.a.c=Z-ye/2,Z+=d}function S7e(e,t,n,r,i,a){var h,d,b,E,C,P;for(E=n.c.length,a&&(e.c=Ue(ri,Pi,25,t.length,15,1)),h=i?0:t.length-1;i?h<t.length:h>=0;h+=i?1:-1){for(d=t[h],b=r==(Mt(),fr)?i?Ll(d,r):v2(Ll(d,r)):i?v2(Ll(d,r)):Ll(d,r),a&&(e.c[d.p]=b.gc()),P=b.Kc();P.Ob();)C=l(P.Pb(),11),e.d[C.p]=E++;Fa(n,b)}}function W0t(e,t,n){var r,i,a,h,d,b,E,C;for(a=ot(Lt(e.b.Kc().Pb())),E=ot(Lt(hpn(t.b))),r=ug(Fl(e.a),E-n),i=ug(Fl(t.a),n-a),C=xs(r,i),ug(C,1/(E-a)),this.a=C,this.b=new yt,d=!0,h=e.b.Kc(),h.Pb();h.Ob();)b=ot(Lt(h.Pb())),d&&b-n>Tde&&(this.b.Fc(n),d=!1),this.b.Fc(b);d&&this.b.Fc(n)}function rxn(e){var t,n,r,i;if(gkn(e,e.n),e.d.c.length>0){for(ZC(e.c);s7e(e,l(se(new M(e.e.a)),121))<e.e.a.c.length;){for(t=K2n(e),i=t.e.e-t.d.e-t.a,t.e.j&&(i=-i),r=new M(e.e.a);r.a<r.c.c.length;)n=l(se(r),121),n.j&&(n.e+=i);ZC(e.c)}ZC(e.c),K8e(e,l(se(new M(e.e.a)),121)),emt(e)}}function ixn(e,t){var n,r,i,a,h;for(i=l(_s(e.a,(W6(),FK)),15).Kc();i.Ob();)switch(r=l(i.Pb(),101),n=l(Kt(r.j,0),113).d.j,a=new Ah(r.j),fo(a,new Hte),t.g){case 1:Oue(e,a,n,(my(),pb),1);break;case 0:h=n_n(a),Oue(e,new Qg(a,0,h),n,(my(),pb),0),Oue(e,new Qg(a,h,a.c.length),n,pb,1)}}function sxn(e,t){Fk();var n,r;if(n=jce(HE(),t.tg()),n){if(r=n.j,Le(e,239))return ffn(l(e,33))?Ch(r,(K1(),mo))||Ch(r,hr):Ch(r,(K1(),mo));if(Le(e,352))return Ch(r,(K1(),Og));if(Le(e,186))return Ch(r,(K1(),Q2));if(Le(e,354))return Ch(r,(K1(),Km))}return!0}function axn(e,t,n){var r,i,a,h,d,b;if(i=n,a=i.ak(),Gp(e.e,a)){if(a.hi()){for(r=l(e.g,119),h=0;h<e.i;++h)if(d=r[h],hs(d,i)&&h!=t)throw ue(new Jn(NR))}}else for(b=Wu(e.e.Tg(),a),r=l(e.g,119),h=0;h<e.i;++h)if(d=r[h],b.rl(d.ak())&&h!=t)throw ue(new Jn($R));return l(z6(e,t,n),72)}function K0t(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var n=e;Object.defineProperties(t,{cause:{get:function(){var r=n.Zd();return r&&r.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch{}}function Y0t(e,t){var n,r,i,a,h;if(r=t>>5,t&=31,r>=e.d)return e.e<0?(rb(),O1e):(rb(),Q9);if(a=e.d-r,i=Ue(ri,Pi,25,a+1,15,1),X3n(i,a,e.a,r,t),e.e<0){for(n=0;n<r&&e.a[n]==0;n++);if(n<r||t>0&&e.a[n]<<32-t){for(n=0;n<a&&i[n]==-1;n++)i[n]=0;n==a&&++a,++i[n]}}return h=new C6(e.e,a,i),XA(h),h}function X0t(e){var t,n,r,i;return i=x0(e),n=new ls(i),r=new uo(i),t=new yt,Fa(t,(!e.d&&(e.d=new $n(oo,e,8,5)),e.d)),Fa(t,(!e.e&&(e.e=new $n(oo,e,7,4)),e.e)),l(Of(ch($s(new jn(null,new zn(t,16)),n),r),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[(I0(),t5),Hf]))),21)}function Q0t(e,t,n,r){var i,a,h,d,b;if(d=(Sc(),l(t,66).Oj()),Gp(e.e,t)){if(t.hi()&&AG(e,t,r,Le(t,99)&&(l(t,18).Bb&wc)!=0))throw ue(new Jn(NR))}else for(b=Wu(e.e.Tg(),t),i=l(e.g,119),h=0;h<e.i;++h)if(a=i[h],b.rl(a.ak()))throw ue(new Jn($R));mM(e,N8e(e,t,n),d?l(r,72):Zg(t,r))}function Gp(e,t){Sc();var n,r,i;return t.$j()?!0:t.Zj()==-2?t==(Wk(),P8)||t==D8||t==Rpe||t==Bpe?!0:(i=e.Tg(),Qs(i,t)>=0?!1:(n=n_((Ih(),Vo),i,t),n?(r=n.Zj(),(r>1||r==-1)&&ry(tl(Vo,n))!=3):!0)):!1}function oxn(e,t,n,r){var i,a,h,d,b;return d=ul(l(Re((!t.b&&(t.b=new $n(Xr,t,4,7)),t.b),0),82)),b=ul(l(Re((!t.c&&(t.c=new $n(Xr,t,5,8)),t.c),0),82)),ua(d)==ua(b)||E4(b,d)?null:(h=zP(t),h==n?r:(a=l(Tr(e.a,h),10),a&&(i=a.e,i)?i:null))}function cxn(e,t){var n;switch(n=l(re(e,(Nt(),oY)),276),Zr(t,"Label side selection ("+n+")",1),n.g){case 0:h0t(e,(Rf(),fp));break;case 1:h0t(e,(Rf(),xb));break;case 2:Spt(e,(Rf(),fp));break;case 3:Spt(e,(Rf(),xb));break;case 4:ogt(e,(Rf(),fp));break;case 5:ogt(e,(Rf(),xb))}Br(t)}function C7e(e,t,n){var r,i,a,h,d,b;if(r=Wrn(n,e.length),h=e[r],h[0].k==(gr(),La))for(a=lXe(n,h.length),b=t.j,i=0;i<b.c.length;i++)d=(Un(i,b.c.length),l(b.c[i],11)),(n?d.j==(Mt(),fr):d.j==(Mt(),nr))&&Zt(Xt(re(d,(mt(),oB))))&&(rd(b,i,l(re(h[a],(mt(),vs)),11)),a+=n?1:-1)}function lxn(e,t){var n,r,i,a,h;h=new yt,n=t;do a=l(Tr(e.b,n),128),a.B=n.c,a.D=n.d,h.c[h.c.length]=a,n=l(Tr(e.k,n),17);while(n);return r=(Un(0,h.c.length),l(h.c[0],128)),r.j=!0,r.A=l(r.d.a.ec().Kc().Pb(),17).c.i,i=l(Kt(h,h.c.length-1),128),i.q=!0,i.C=l(i.d.a.ec().Kc().Pb(),17).d.i,h}function Z0t(e){if(e.g==null)switch(e.p){case 0:e.g=dfn(e)?(er(),Y9):(er(),z2);break;case 1:e.g=cN(Wdn(e));break;case 2:e.g=vN(edn(e));break;case 3:e.g=Bun(e);break;case 4:e.g=new h6(Run(e));break;case 6:e.g=T2(Fun(e));break;case 5:e.g=St(nfn(e));break;case 7:e.g=t9(Xdn(e))}return e.g}function A7e(e){if(e.n==null)switch(e.p){case 0:e.n=gfn(e)?(er(),Y9):(er(),z2);break;case 1:e.n=cN(Kdn(e));break;case 2:e.n=vN(tdn(e));break;case 3:e.n=$un(e);break;case 4:e.n=new h6(Hun(e));break;case 6:e.n=T2(jun(e));break;case 5:e.n=St(rfn(e));break;case 7:e.n=t9(Ydn(e))}return e.n}function J0t(e){var t,n,r,i,a,h,d;for(a=new M(e.a.a);a.a<a.c.c.length;)r=l(se(a),307),r.g=0,r.i=0,r.e.a.$b();for(i=new M(e.a.a);i.a<i.c.c.length;)for(r=l(se(i),307),n=r.a.a.ec().Kc();n.Ob();)for(t=l(n.Pb(),57),d=t.c.Kc();d.Ob();)h=l(d.Pb(),57),h.a!=r&&(Ga(r.e,h),++h.a.g,++h.a.i)}function uxn(e,t){var n,r,i,a,h,d;if(d=PP(e.a,t.b),!d)throw ue(new pl("Invalid hitboxes for scanline overlap calculation."));for(h=!1,a=(r=new PA(new IA(new _(e.a.a).a).b),new p(r));iP(a.a.a);)if(i=(n=CV(a.a),l(n.cd(),65)),Apn(t.b,i))Zrn(e.b.a,t.b,i),h=!0;else if(h)break}function hxn(e){var t,n,r,i,a;i=l(re(e,(Nt(),W2)),21),a=l(re(e,dY),21),n=new en(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Zc(n),i.Hc((xf(),x5))&&(r=l(re(e,pT),8),a.Hc((sf(),LT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),t.a=v.Math.max(n.a,r.a),t.b=v.Math.max(n.b,r.b)),i7n(e,n,t)}function egt(e,t){var n,r,i,a,h,d,b,E,C,P,$;i=t?new rne:new ine,a=!1;do for(a=!1,E=t?v2(e.b):e.b,b=E.Kc();b.Ob();)for(d=l(b.Pb(),29),$=oy(d.a),t||new Rw($),P=new M($);P.a<P.c.c.length;)C=l(se(P),10),i.Mb(C)&&(r=C,n=l(re(C,(mt(),Gy)),305),h=t?n.b:n.k,a=_gt(r,h,t,!1));while(a)}function fxn(e,t,n){var r,i,a,h,d;for(Zr(n,"Longest path layering",1),e.a=t,d=e.a.a,e.b=Ue(ri,Pi,25,d.c.length,15,1),r=0,h=new M(d);h.a<h.c.c.length;)i=l(se(h),10),i.p=r,e.b[r]=-1,++r;for(a=new M(d);a.a<a.c.c.length;)i=l(se(a),10),x0t(e,i);d.c=Ue(xr,Ht,1,0,5,1),e.a=null,e.b=null,Br(n)}function dxn(e,t){var n,r,i;t.a?(PP(e.b,t.b),e.a[t.b.i]=l(_oe(e.b,t.b),81),n=l(yoe(e.b,t.b),81),n&&(e.a[n.i]=t.b)):(r=l(_oe(e.b,t.b),81),r&&r==e.a[t.b.i]&&r.d&&r.d!=t.b.d&&r.f.Fc(t.b),i=l(yoe(e.b,t.b),81),i&&e.a[i.i]==t.b&&i.d&&i.d!=t.b.d&&t.b.f.Fc(i),coe(e.b,t.b))}function tgt(e,t){var n,r,i,a,h,d;return a=e.d,d=ot(Lt(re(e,(Nt(),qm)))),d<0&&(d=0,ut(e,qm,d)),t.o.b=d,h=v.Math.floor(d/2),r=new fu,Ka(r,(Mt(),nr)),Cl(r,t),r.n.b=h,i=new fu,Ka(i,fr),Cl(i,t),i.n.b=h,So(e,r),n=new iy,ll(n,e),ut(n,il,null),ic(n,i),So(n,a),w8n(t,e,n),x4n(e,n),n}function gxn(e){var t,n;return n=l(re(e,(mt(),Lu)),21),t=new eo,n.Hc((Pc(),PL))&&(Nf(t,$xt),Nf(t,WIe)),(n.Hc(fT)||Zt(Xt(re(e,(Nt(),tge)))))&&(Nf(t,WIe),n.Hc(E_)&&Nf(t,zxt)),n.Hc(dd)&&Nf(t,jxt),n.Hc(NL)&&Nf(t,Vxt),n.Hc(KK)&&Nf(t,Hxt),n.Hc(uT)&&Nf(t,Bxt),n.Hc(hT)&&Nf(t,Fxt),t}function pxn(e,t){var n,r,i,a,h,d,b,E,C,P,$;return r=e.d,a=t.d,d=r+a,b=e.e!=t.e?-1:1,d==2?(C=Zo(Wa(e.a[0],Nc),Wa(t.a[0],Nc)),$=li(C),P=li(d4(C,32)),P==0?new Cm(b,$):new C6(b,2,pe(de(ri,1),Pi,25,15,[$,P]))):(n=e.a,i=t.a,h=Ue(ri,Pi,25,d,15,1),Imn(n,r,i,a,h),E=new C6(b,d,h),XA(E),E)}function ngt(e,t,n,r){var i,a;if(t){if(i=e.a.ue(n.d,t.d),i==0)return r.d=K4e(t,n.e),r.b=!0,t;a=i<0?0:1,t.a[a]=ngt(e,t.a[a],n,r),e4(t.a[a])&&(e4(t.a[1-a])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):e4(t.a[a].a[a])?t=hU(t,1-a):e4(t.a[a].a[1-a])&&(t=bst(t,1-a)))}else return n;return t}function rgt(e,t,n){var r,i,a,h;i=e.i,r=e.n,a_e(e,(G1(),Hl),i.c+r.b,n),a_e(e,zl,i.c+i.b-r.c-n[2],n),h=i.b-r.b-r.c,n[0]>0&&(n[0]+=e.d,h-=n[0]),n[2]>0&&(n[2]+=e.d,h-=n[2]),a=v.Math.max(0,h),n[1]=v.Math.max(n[1],h),a_e(e,$u,i.c+r.b+n[0]-(n[1]-h)/2,n),t==$u&&(e.c.b=a,e.c.c=i.c+r.b+(a-h)/2)}function igt(){this.c=Ue(Eo,Gc,25,(Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])).length,15,1),this.b=Ue(Eo,Gc,25,pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr]).length,15,1),this.a=Ue(Eo,Gc,25,pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr]).length,15,1),m3e(this.c,ma),m3e(this.b,Oa),m3e(this.a,Oa)}function Tu(e,t,n){var r,i,a,h;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=Ue(ri,Pi,25,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}h=Ue(ri,Pi,25,r+2,15,1),du(e.b,0,h,0,r),e.b=h,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||Y6(e)}}function mxn(e,t,n){var r,i,a,h,d,b,E;for(E=t.d,e.a=new Nu(E.c.length),e.c=new si,d=new M(E);d.a<d.c.c.length;)h=l(se(d),101),a=new gN(null),wt(e.a,a),ds(e.c,h,a);for(e.b=new si,T4n(e,t),r=0;r<E.c.length-1;r++)for(b=l(Kt(t.d,r),101),i=r+1;i<E.c.length;i++)s_n(e,b,l(Kt(t.d,i),101),n)}function sgt(e,t,n){var r,i,a,h,d,b;if(!CE(t)){for(b=Eu(n,(Le(t,14)?l(t,14).gc():Np(t.Kc()))/e.a|0),Zr(b,jbt,1),d=new nre,h=0,a=t.Kc();a.Ob();)r=l(a.Pb(),86),d=M0(pe(de(B0,1),Ht,20,0,[d,new Mv(r)])),h<r.f.b&&(h=r.f.b);for(i=t.Kc();i.Ob();)r=l(i.Pb(),86),ut(r,(Kl(),LY),h);Br(b),sgt(e,d,n)}}function vxn(e,t){var n,r,i,a,h,d,b;for(n=Oa,d=(gr(),za),i=new M(t.a);i.a<i.c.c.length;)r=l(se(i),10),a=r.k,a!=za&&(h=Lt(re(r,(mt(),XMe))),h==null?(n=v.Math.max(n,0),r.n.b=n+T4e(e.a,a,d)):r.n.b=(Xn(h),h)),b=T4e(e.a,a,d),r.n.b<n+b+r.d.d&&(r.n.b=n+b+r.d.d),n=r.n.b+r.o.b+r.d.a,d=a}function bxn(e,t,n){var r,i,a,h,d,b,E,C,P;for(a=Z6(t,!1,!1),E=qN(a),P=ot(Lt(nn(t,(_M(),G1e)))),i=Wmt(E,P+e.a),C=new Zue(i),ll(C,t),ds(e.b,t,C),n.c[n.c.length]=C,b=(!t.n&&(t.n=new _t(_l,t,1,7)),t.n),d=new Ir(b);d.e!=d.i.gc();)h=l(Ur(d),137),r=tR(e,h,!0,0,0),n.c[n.c.length]=r;return C}function agt(e,t,n,r,i){var a,h,d,b,E,C;if(e.d&&e.d.lg(i),a=l(i.Xb(0),33),dft(e,n,a,!1)||(h=l(i.Xb(i.gc()-1),33),dft(e,r,h,!0))||S8e(e,i))return!0;for(C=i.Kc();C.Ob();)for(E=l(C.Pb(),33),b=t.Kc();b.Ob();)if(d=l(b.Pb(),33),xG(e,E,d))return!0;return!1}function wxn(e,t,n){var r,i,a,h,d,b,E,C,P,$;$=t.c.length,P=(E=e.Yg(n),l(E>=0?e._g(E,!1,!0):Cy(e,n,!1),58));e:for(a=P.Kc();a.Ob();){for(i=l(a.Pb(),56),C=0;C<$;++C)if(h=(Un(C,t.c.length),l(t.c[C],72)),b=h.dd(),d=h.ak(),r=i.bh(d,!1),b==null?r!=null:!hs(b,r))continue e;return i}return null}function yxn(e,t,n,r){var i,a,h,d;for(i=l(Rm(t,(Mt(),nr)).Kc().Pb(),11),a=l(Rm(t,fr).Kc().Pb(),11),d=new M(e.j);d.a<d.c.c.length;){for(h=l(se(d),11);h.e.c.length!=0;)So(l(Kt(h.e,0),17),i);for(;h.g.c.length!=0;)ic(l(Kt(h.g,0),17),a)}n||ut(t,(mt(),e0),null),r||ut(t,(mt(),Fd),null)}function Z6(e,t,n){var r,i;if((!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i==0)return dxe(e);if(r=l(Re((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),0),202),t&&(ei((!r.a&&(r.a=new Ba(Vd,r,5)),r.a)),BE(r,0),jE(r,0),RE(r,0),FE(r,0)),n)for(i=(!e.a&&(e.a=new _t(aa,e,6,6)),e.a);i.i>1;)j4(i,i.i-1);return r}function _xn(e,t){var n,r,i,a,h,d,b;for(Zr(t,"Comment post-processing",1),a=new M(e.b);a.a<a.c.c.length;){for(i=l(se(a),29),r=new yt,d=new M(i.a);d.a<d.c.c.length;)h=l(se(d),10),b=l(re(h,(mt(),_8)),15),n=l(re(h,m8),15),(b||n)&&(x9n(h,b,n),b&&Fa(r,b),n&&Fa(r,n));Fa(i.a,r)}Br(t)}function ogt(e,t){var n,r,i,a,h,d,b;for(n=new g6,a=new M(e.b);a.a<a.c.c.length;){for(i=l(se(a),29),b=!0,r=0,d=new M(i.a);d.a<d.c.c.length;)switch(h=l(se(d),10),h.k.g){case 4:++r;case 1:G6e(n,h);break;case 0:_4n(h,t);default:n.b==n.c||Xgt(n,r,b,!1,t),b=!1,r=0}n.b==n.c||Xgt(n,r,b,!0,t)}}function xxn(e,t){var n,r,i,a,h,d,b;for(i=new yt,n=0;n<=e.i;n++)r=new Td(t),r.p=e.i-n,i.c[i.c.length]=r;for(d=new M(e.o);d.a<d.c.c.length;)h=l(se(d),10),el(h,l(Kt(i,e.i-e.f[h.p]),29));for(a=new M(i);a.a<a.c.c.length;)b=l(se(a),29),b.a.c.length==0&&VA(a);t.b.c=Ue(xr,Ht,1,0,5,1),Fa(t.b,i)}function M7e(e,t){var n,r,i,a,h,d;for(n=0,d=new M(t);d.a<d.c.c.length;){for(h=l(se(d),11),Oxe(e.b,e.d[h.p]),i=new C0(h.b);Sl(i.a)||Sl(i.b);)r=l(Sl(i.a)?se(i.a):se(i.b),17),a=i3e(e,h==r.c?r.d:r.c),a>e.d[h.p]&&(n+=e_e(e.b,a),Gv(e.a,St(a)));for(;!QC(e.a);)I_e(e.b,l(kk(e.a),19).a)}return n}function cgt(e,t,n){var r,i,a,h;for(a=(!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i,i=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));i.e!=i.i.gc();)r=l(Ur(i),33),(!r.a&&(r.a=new _t(fa,r,10,11)),r.a).i==0||(a+=cgt(e,r,!1));if(n)for(h=ua(t);h;)a+=(!h.a&&(h.a=new _t(fa,h,10,11)),h.a).i,h=ua(h);return a}function j4(e,t){var n,r,i,a;return e.ej()?(r=null,i=e.fj(),e.ij()&&(r=e.kj(e.pi(t),null)),n=e.Zi(4,a=qk(e,t),null,t,i),e.bj()&&a!=null&&(r=e.dj(a,r)),r?(r.Ei(n),r.Fi()):e.$i(n),a):(a=qk(e,t),e.bj()&&a!=null&&(r=e.dj(a,null),r&&r.Fi()),a)}function kxn(e){var t,n,r,i,a,h,d,b,E,C;for(E=e.a,t=new Ja,b=0,r=new M(e.d);r.a<r.c.c.length;){for(n=l(se(r),222),C=0,P6(n.b,new mv),h=$i(n.b,0);h.b!=h.d.c;)a=l(ji(h),222),t.a._b(a)&&(i=n.c,d=a.c,C<d.d+d.a+E&&C+i.a+E>d.d&&(C=d.d+d.a+E));n.c.d=C,t.a.zc(n,t),b=v.Math.max(b,n.c.d+n.c.a)}return b}function Pc(){Pc=Ee,WK=new i4("COMMENTS",0),dd=new i4("EXTERNAL_PORTS",1),PL=new i4("HYPEREDGES",2),KK=new i4("HYPERNODES",3),fT=new i4("NON_FREE_PORTS",4),E_=new i4("NORTH_SOUTH_PORTS",5),NL=new i4(xbt,6),uT=new i4("CENTER_LABELS",7),hT=new i4("END_LABELS",8),YK=new i4("PARTITIONS",9)}function $4(e){var t,n,r,i,a;for(i=new yt,t=new BA((!e.a&&(e.a=new _t(fa,e,10,11)),e.a)),r=new Rr(zr(Up(e).a.Kc(),new J));Ei(r);)n=l(hi(r),79),Le(Re((!n.b&&(n.b=new $n(Xr,n,4,7)),n.b),0),186)||(a=ul(l(Re((!n.c&&(n.c=new $n(Xr,n,5,8)),n.c),0),82)),t.a._b(a)||(i.c[i.c.length]=a));return i}function Exn(e){var t,n,r,i,a,h;for(a=new Ja,t=new BA((!e.a&&(e.a=new _t(fa,e,10,11)),e.a)),i=new Rr(zr(Up(e).a.Kc(),new J));Ei(i);)r=l(hi(i),79),Le(Re((!r.b&&(r.b=new $n(Xr,r,4,7)),r.b),0),186)||(h=ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82)),t.a._b(h)||(n=a.a.zc(h,a),n==null));return a}function Txn(e,t,n,r,i){return r<0?(r=K6(e,i,pe(de(jt,1),dt,2,6,[Whe,Khe,Yhe,Xhe,Qk,Qhe,Zhe,Jhe,efe,tfe,nfe,rfe]),t),r<0&&(r=K6(e,i,pe(de(jt,1),dt,2,6,["Jan","Feb","Mar","Apr",Qk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function Sxn(e,t,n,r,i){return r<0?(r=K6(e,i,pe(de(jt,1),dt,2,6,[Whe,Khe,Yhe,Xhe,Qk,Qhe,Zhe,Jhe,efe,tfe,nfe,rfe]),t),r<0&&(r=K6(e,i,pe(de(jt,1),dt,2,6,["Jan","Feb","Mar","Apr",Qk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function Cxn(e,t,n,r,i,a){var h,d,b,E;if(d=32,r<0){if(t[0]>=e.length||(d=$o(e,t[0]),d!=43&&d!=45)||(++t[0],r=fG(e,t),r<0))return!1;d==45&&(r=-r)}return d==32&&t[0]-n==2&&i.b==2&&(b=new Nz,E=b.q.getFullYear()-ab+ab-80,h=E%100,a.a=r==h,r+=(E/100|0)*100+(r<h?100:0)),a.p=r,!0}function lgt(e,t){var n,r,i,a,h;ua(e)&&(h=l(re(t,(Nt(),W2)),174),Je(nn(e,ba))===Je((Ao(),Eb))&&Uc(e,ba,V0),r=(r4(),new J3(ua(e))),a=new uoe(ua(e)?new J3(ua(e)):null,e),i=wmt(r,a,!1,!0),p1(h,(xf(),x5)),n=l(re(t,pT),8),n.a=v.Math.max(i.a,n.a),n.b=v.Math.max(i.b,n.b))}function Axn(e,t,n){var r,i,a,h,d,b;for(h=l(re(e,(mt(),$0e)),15).Kc();h.Ob();){switch(a=l(h.Pb(),10),l(re(a,(Nt(),Yu)),163).g){case 2:el(a,t);break;case 4:el(a,n)}for(i=new Rr(zr(zp(a).a.Kc(),new J));Ei(i);)r=l(hi(i),17),!(r.c&&r.d)&&(d=!r.d,b=l(re(r,ZMe),11),d?So(r,b):ic(r,b))}}function _G(){_G=Ee,m0e=new Tk(WG,0,(Mt(),Qn),Qn),w0e=new Tk(Mfe,1,Jr,Jr),p0e=new Tk(Afe,2,fr,fr),x0e=new Tk(Lfe,3,nr,nr),b0e=new Tk("NORTH_WEST_CORNER",4,nr,Qn),v0e=new Tk("NORTH_EAST_CORNER",5,Qn,fr),_0e=new Tk("SOUTH_WEST_CORNER",6,Jr,nr),y0e=new Tk("SOUTH_EAST_CORNER",7,fr,Jr)}function J6(){J6=Ee,mDe=pe(de(Db,1),dfe,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),v.Math.pow(2,-65)}function ugt(e,t){var n,r,i,a,h;if(e.c.length==0)return new No(St(0),St(0));for(n=(Un(0,e.c.length),l(e.c[0],11)).j,h=0,a=t.g,r=t.g+1;h<e.c.length-1&&n.g<a;)++h,n=(Un(h,e.c.length),l(e.c[h],11)).j;for(i=h;i<e.c.length-1&&n.g<r;)++i,n=(Un(h,e.c.length),l(e.c[h],11)).j;return new No(St(h),St(i))}function Mxn(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(a=t.c.length,h=(Un(n,t.c.length),l(t.c[n],286)),d=h.a.o.a,P=h.c,$=0,E=h.c;E<=h.f;E++){if(d<=e.a[E])return E;for(C=e.a[E],b=null,i=n+1;i<a;i++)r=(Un(i,t.c.length),l(t.c[i],286)),r.c<=E&&r.f>=E&&(b=r);b&&(C=v.Math.max(C,b.a.o.a)),C>$&&(P=E,$=C)}return P}function Lxn(e,t,n){var r,i,a;if(e.e=n,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=mkn(e.i)),e.j=e.i.length,ts(e),a=xy(e),e.d!=e.j)throw ue(new bi(Ti((mi(),q2t))));if(e.g){for(r=0;r<e.g.a.c.length;r++)if(i=l(ty(e.g,r),584),e.f<=i.a)throw ue(new bi(Ti((mi(),U2t))));e.g.a.c=Ue(xr,Ht,1,0,5,1)}return a}function Ixn(e,t){var n,r,i;if(t==null){for(r=(!e.a&&(e.a=new _t(nm,e,9,5)),new Ir(e.a));r.e!=r.i.gc();)if(n=l(Ur(r),678),i=n.c,(i??n.zb)==null)return n}else for(r=(!e.a&&(e.a=new _t(nm,e,9,5)),new Ir(e.a));r.e!=r.i.gc();)if(n=l(Ur(r),678),Tn(t,(i=n.c,i??n.zb)))return n;return null}function ahe(e,t){var n;switch(n=null,t.g){case 1:e.e.Xe((Yi(),dpe))&&(n=l(e.e.We(dpe),249));break;case 3:e.e.Xe((Yi(),gpe))&&(n=l(e.e.We(gpe),249));break;case 2:e.e.Xe((Yi(),fpe))&&(n=l(e.e.We(fpe),249));break;case 4:e.e.Xe((Yi(),ppe))&&(n=l(e.e.We(ppe),249))}return!n&&(n=l(e.e.We((Yi(),WDe)),249)),n}function hgt(e,t,n){var r,i,a,h,d,b,E,C,P;for(t.p=1,a=t.c,P=_y(t,(Oc(),Hu)).Kc();P.Ob();)for(C=l(P.Pb(),11),i=new M(C.g);i.a<i.c.c.length;)r=l(se(i),17),E=r.d.i,t!=E&&(h=E.c,h.p<=a.p&&(d=a.p+1,d==n.b.c.length?(b=new Td(n),b.p=d,wt(n.b,b),el(E,b)):(b=l(Kt(n.b,d),29),el(E,b)),hgt(e,E,n)))}function fgt(e,t,n){var r,i,a,h,d,b;for(i=n,a=0,d=new M(t);d.a<d.c.c.length;)h=l(se(d),33),Uc(h,(O4(),NY),St(i++)),b=$4(h),r=v.Math.atan2(h.j+h.f/2,h.i+h.g/2),r+=r<0?u_:0,r<.7853981633974483||r>Ubt?fo(b,e.b):r<=Ubt&&r>Gbt?fo(b,e.d):r<=Gbt&&r>Wbt?fo(b,e.c):r<=Wbt&&fo(b,e.a),a=fgt(e,b,a);return i}function rb(){rb=Ee;var e;for(JW=new Cm(1,1),D1e=new Cm(1,10),Q9=new Cm(0,0),O1e=new Cm(-1,1),gCe=pe(de(m_,1),dt,91,0,[Q9,JW,new Cm(1,2),new Cm(1,3),new Cm(1,4),new Cm(1,5),new Cm(1,6),new Cm(1,7),new Cm(1,8),new Cm(1,9),D1e]),eK=Ue(m_,dt,91,32,0,1),e=0;e<eK.length;e++)eK[e]=DN(Ip(1,e))}function Oxn(e,t,n,r,i,a){var h,d,b,E;for(d=!nA($s(e.Oc(),new lt(new qee))).sd((i2(),J9)),h=e,a==(Dc(),Jp)&&(h=Le(h,152)?Ok(l(h,152)):Le(h,131)?l(h,131).a:Le(h,54)?new Rw(h):new n4(h)),E=h.Kc();E.Ob();)b=l(E.Pb(),70),b.n.a=t.a,d?b.n.b=t.b+(r.b-b.o.b)/2:i?b.n.b=t.b:b.n.b=t.b+r.b-b.o.b,t.a+=b.o.a+n}function dgt(e,t,n,r){var i,a,h,d,b,E;for(i=(r.c+r.a)/2,Sd(t.j),zi(t.j,i),Sd(n.e),zi(n.e,i),E=new mXe,d=new M(e.f);d.a<d.c.c.length;)a=l(se(d),129),b=a.a,Lue(E,t,b),Lue(E,n,b);for(h=new M(e.k);h.a<h.c.c.length;)a=l(se(h),129),b=a.b,Lue(E,t,b),Lue(E,n,b);return E.b+=2,E.a+=Wrt(t,e.q),E.a+=Wrt(e.q,n),E}function ggt(e,t,n){var r,i,a,h,d;if(!CE(t)){for(d=Eu(n,(Le(t,14)?l(t,14).gc():Np(t.Kc()))/e.a|0),Zr(d,jbt,1),h=new Y$,a=null,i=t.Kc();i.Ob();)r=l(i.Pb(),86),h=M0(pe(de(B0,1),Ht,20,0,[h,new Mv(r)])),a&&(ut(a,(Kl(),ckt),r),ut(r,Dge,a),Kce(r)==Kce(a)&&(ut(a,Pge,r),ut(r,MY,a))),a=r;Br(d),ggt(e,h,n)}}function pgt(e){var t,n,r,i,a,h,d;for(n=e.i,t=e.n,d=n.d,e.f==(hh(),db)?d+=(n.a-e.e.b)/2:e.f==y1&&(d+=n.a-e.e.b),i=new M(e.d);i.a<i.c.c.length;){switch(r=l(se(i),181),h=r.rf(),a=new Qo,a.b=d,d+=h.b+e.a,e.b.g){case 0:a.a=n.c+t.b;break;case 1:a.a=n.c+t.b+(n.b-h.a)/2;break;case 2:a.a=n.c+n.b-t.c-h.a}r.tf(a)}}function mgt(e){var t,n,r,i,a,h,d;for(n=e.i,t=e.n,d=n.c,e.b==(Uh(),fb)?d+=(n.b-e.e.a)/2:e.b==w1&&(d+=n.b-e.e.a),i=new M(e.d);i.a<i.c.c.length;){switch(r=l(se(i),181),h=r.rf(),a=new Qo,a.a=d,d+=h.a+e.a,e.f.g){case 0:a.b=n.d+t.d;break;case 1:a.b=n.d+t.d+(n.a-h.b)/2;break;case 2:a.b=n.d+n.a-t.a-h.b}r.tf(a)}}function Dxn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;C=n.a.c,h=n.a.c+n.a.b,a=l(Tr(n.c,t),459),K=a.f,Z=a.a,b=new en(C,K),P=new en(h,Z),i=C,n.p||(i+=e.c),i+=n.F+n.v*e.b,E=new en(i,K),$=new en(i,Z),iM(t.a,pe(de(ao,1),dt,8,0,[b,E])),d=n.d.a.gc()>1,d&&(r=new en(i,n.b),zi(t.a,r)),iM(t.a,pe(de(ao,1),dt,8,0,[$,P]))}function vgt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,SW),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Xre))),It(e,SW,Ny,EPe),It(e,SW,K4,15),It(e,SW,ZG,St(0)),It(e,SW,r8,B9)}function L7e(){L7e=Ee;var e,t,n,r,i,a;for(CI=Ue(Rh,d_,25,255,15,1),bX=Ue(md,bg,25,16,15,1),t=0;t<255;t++)CI[t]=-1;for(n=57;n>=48;n--)CI[n]=n-48<<24>>24;for(r=70;r>=65;r--)CI[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)CI[i]=i-97+10<<24>>24;for(a=0;a<10;a++)bX[a]=48+a&Aa;for(e=10;e<=15;e++)bX[e]=65+e-10&Aa}function xG(e,t,n){var r,i,a,h,d,b,E,C;return d=t.i-e.g/2,b=n.i-e.g/2,E=t.j-e.g/2,C=n.j-e.g/2,a=t.g+e.g/2,h=n.g+e.g/2,r=t.f+e.g/2,i=n.f+e.g/2,d<b+h&&b<d&&E<C+i&&C<E||b<d+a&&d<b&&C<E+r&&E<C||d<b+h&&b<d&&E<C&&C<E+r?!0:b<d+a&&d<b&&E<C+i&&C<E}function Pxn(e){var t,n,r,i,a;i=l(re(e,(Nt(),W2)),21),a=l(re(e,dY),21),n=new en(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Zc(n),i.Hc((xf(),x5))&&(r=l(re(e,pT),8),a.Hc((sf(),LT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),t.a=v.Math.max(n.a,r.a),t.b=v.Math.max(n.b,r.b)),Zt(Xt(re(e,ige)))||r7n(e,n,t)}function Nxn(e,t){var n,r,i,a;for(a=Ll(t,(Mt(),Jr)).Kc();a.Ob();)r=l(a.Pb(),11),n=l(re(r,(mt(),Wh)),10),n&&v1(o1(a1(c1(s1(new kd,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=Ll(t,Qn).Kc();i.Ob();)r=l(i.Pb(),11),n=l(re(r,(mt(),Wh)),10),n&&v1(o1(a1(c1(s1(new kd,0),.1),e.i[n.p].d),e.i[t.p].a))}function ohe(e){var t,n,r,i,a,h;if(!e.c){if(h=new Vx,t=kI,a=t.a.zc(e,t),a==null){for(r=new Ir(hu(e));r.e!=r.i.gc();)n=l(Ur(r),87),i=CG(n),Le(i,88)&&ga(h,ohe(l(i,26))),fi(h,n);t.a.Bc(e)!=null,t.a.gc()==0}Rvn(h),C4(h),e.c=new _6((l(Re(rt((Vv(),Gn).o),15),18),h.i),h.g),Jh(e).b&=-33}return e.c}function I7e(e){var t;if(e.c!=10)throw ue(new bi(Ti((mi(),IW))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw ue(new bi(Ti((mi(),hd))))}return t}function bgt(e){var t,n,r,i,a;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==mR&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+bgt(YE(e));for(n=e,r="";!(n.l==0&&n.m==0&&n.h==0);){if(i=$ce(VG),n=cEe(n,i,!0),t=""+AXe(hb),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t="0"+t;r=t+r}return r}function Rxn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var n=Object.getOwnPropertyNames(t);return!(n.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function Bxn(e){var t,n,r,i,a,h,d;for(t=!1,n=0,i=new M(e.d.b);i.a<i.c.c.length;)for(r=l(se(i),29),r.p=n++,h=new M(r.a);h.a<h.c.c.length;)a=l(se(h),10),!t&&!CE(zp(a))&&(t=!0);d=zs((Dc(),hp),pe(de(uI,1),vt,103,0,[jd,x1])),t||(p1(d,Jp),p1(d,Zp)),e.a=new bct(d),qh(e.f),qh(e.b),qh(e.e),qh(e.g)}function Fxn(e,t,n){var r,i,a,h,d,b,E,C,P;for(r=n.c,i=n.d,d=E0(t.c),b=E0(t.d),r==t.c?(d=v7e(e,d,i),b=Tdt(t.d)):(d=Tdt(t.c),b=v7e(e,b,i)),E=new Mz(t.a),xa(E,d,E.a,E.a.a),xa(E,b,E.c.b,E.c),h=t.c==r,P=new oYe,a=0;a<E.b-1;++a)C=new No(l(Y1(E,a),8),l(Y1(E,a+1),8)),h&&a==0||!h&&a==E.b-2?P.b=C:wt(P.a,C);return P}function jxn(e,t){var n,r,i,a;if(a=e.j.g-t.j.g,a!=0)return a;if(n=l(re(e,(Nt(),Um)),19),r=l(re(t,Um),19),n&&r&&(i=n.a-r.a,i!=0))return i;switch(e.j.g){case 1:return ja(e.n.a,t.n.a);case 2:return ja(e.n.b,t.n.b);case 3:return ja(t.n.a,e.n.a);case 4:return ja(t.n.b,e.n.b);default:throw ue(new pl(h9e))}}function O7e(e,t,n,r){var i,a,h,d,b;if(Np((MP(),new Rr(zr(zp(t).a.Kc(),new J))))>=e.a||!v8e(t,n))return-1;if(CE(l(r.Kb(t),20)))return 1;for(i=0,h=l(r.Kb(t),20).Kc();h.Ob();)if(a=l(h.Pb(),17),b=a.c.i==t?a.d.i:a.c.i,d=O7e(e,b,n,r),d==-1||(i=v.Math.max(i,d),i>e.c-1))return-1;return i+1}function wgt(e,t){var n,r,i,a,h,d;if(Je(t)===Je(e))return!0;if(!Le(t,15)||(r=l(t,15),d=e.gc(),r.gc()!=d))return!1;if(h=r.Kc(),e.ni()){for(n=0;n<d;++n)if(i=e.ki(n),a=h.Pb(),i==null?a!=null:!hs(i,a))return!1}else for(n=0;n<d;++n)if(i=e.ki(n),a=h.Pb(),Je(i)!==Je(a))return!1;return!0}function ygt(e,t){var n,r,i,a,h,d;if(e.f>0){if(e.qj(),t!=null){for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=l(n.g,367),d=n.i,h=0;h<d;++h)if(i=r[h],hs(t,i.dd()))return!0}}else for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=l(n.g,367),d=n.i,h=0;h<d;++h)if(i=r[h],Je(t)===Je(i.dd()))return!0}}return!1}function $xn(e,t,n){var r,i,a,h;Zr(n,"Orthogonally routing hierarchical port edges",1),e.a=0,r=A7n(t),OEn(t,r),dEn(e,t,r),I9n(t),i=l(re(t,(Nt(),ba)),98),a=t.b,vmt((Un(0,a.c.length),l(a.c[0],29)),i,t),vmt(l(Kt(a,a.c.length-1),29),i,t),h=t.b,Mpt((Un(0,h.c.length),l(h.c[0],29))),Mpt(l(Kt(h,h.c.length-1),29)),Br(n)}function D7e(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw ue(new cg("Invalid hexadecimal"))}}function Hxn(e,t,n){var r,i,a,h;for(Zr(n,"Processor order nodes",2),e.a=ot(Lt(re(t,(Ay(),rOe)))),i=new sa,h=$i(t.b,0);h.b!=h.d.c;)a=l(ji(h),86),Zt(Xt(re(a,(Kl(),w5))))&&xa(i,a,i.c.b,i.c);r=(kr(i.b!=0),l(i.a.a.c,86)),jpt(e,r),!n.b&&hle(n,1),B7e(e,r,0-ot(Lt(re(r,(Kl(),LY))))/2,0),!n.b&&hle(n,1),Br(n)}function kG(){kG=Ee,WCe=new b6("SPIRAL",0),VCe=new b6("LINE_BY_LINE",1),qCe=new b6("MANHATTAN",2),zCe=new b6("JITTER",3),j1e=new b6("QUADRANTS_LINE_BY_LINE",4),GCe=new b6("QUADRANTS_MANHATTAN",5),UCe=new b6("QUADRANTS_JITTER",6),HCe=new b6("COMBINE_LINE_BY_LINE_MANHATTAN",7),$Ce=new b6("COMBINE_JITTER_MANHATTAN",8)}function _gt(e,t,n,r){var i,a,h,d,b,E;for(b=Mue(e,n),E=Mue(t,n),i=!1;b&&E&&(r||B2n(b,E,n));)h=Mue(b,n),d=Mue(E,n),nN(t),nN(e),a=b.c,Dhe(b,!1),Dhe(E,!1),n?(D4(t,E.p,a),t.p=E.p,D4(e,b.p+1,a),e.p=b.p):(D4(e,b.p,a),e.p=b.p,D4(t,E.p+1,a),t.p=E.p),el(b,null),el(E,null),b=h,E=d,i=!0;return i}function zxn(e,t,n,r){var i,a,h,d,b;for(i=!1,a=!1,d=new M(r.j);d.a<d.c.c.length;)h=l(se(d),11),Je(re(h,(mt(),vs)))===Je(n)&&(h.g.c.length==0?h.e.c.length==0||(i=!0):a=!0);return b=0,i&&i^a?b=n.j==(Mt(),Qn)?-e.e[r.c.p][r.p]:t-e.e[r.c.p][r.p]:a&&i^a?b=e.e[r.c.p][r.p]+1:i&&a&&(b=n.j==(Mt(),Qn)?0:t/2),b}function che(e,t,n,r,i,a,h,d){var b,E,C;for(b=0,t!=null&&(b^=Nm(t.toLowerCase())),n!=null&&(b^=Nm(n)),r!=null&&(b^=Nm(r)),h!=null&&(b^=Nm(h)),d!=null&&(b^=Nm(d)),E=0,C=a.length;E<C;E++)b^=Nm(a[E]);e?b|=256:b&=-257,i?b|=16:b&=-17,this.f=b,this.i=t==null?null:(Xn(t),t),this.a=n,this.d=r,this.j=a,this.g=h,this.e=d}function P7e(e,t,n){var r,i;switch(i=null,t.g){case 1:i=(Lh(),AAe);break;case 2:i=(Lh(),LAe)}switch(r=null,n.g){case 1:r=(Lh(),MAe);break;case 2:r=(Lh(),CAe);break;case 3:r=(Lh(),IAe);break;case 4:r=(Lh(),OAe)}return i&&r?yk(e.j,new DC(new gf(pe(de(WTn,1),Ht,169,0,[l(ui(i),169),l(ui(r),169)])))):(In(),In(),Lc)}function Vxn(e){var t,n,r;switch(t=l(re(e,(Nt(),pT)),8),ut(e,pT,new en(t.b,t.a)),l(re(e,Lg),248).g){case 1:ut(e,Lg,(ep(),UY));break;case 2:ut(e,Lg,(ep(),VY));break;case 3:ut(e,Lg,(ep(),TB));break;case 4:ut(e,Lg,(ep(),SB))}(e.q?e.q:(In(),In(),lp))._b(p5)&&(n=l(re(e,p5),8),r=n.a,n.a=n.b,n.b=r)}function xgt(e,t,n,r,i,a){if(this.b=n,this.d=i,e>=t.length)throw ue(new Qc("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new AP(r),ple(this.e,this.c,(Mt(),nr)),this.i=new AP(r),ple(this.i,this.c,fr),this.f=new wnt(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(gr(),La),this.a&&s4n(this,e,t.length)}function kgt(e,t){var n,r,i,a,h,d;a=!e.B.Hc((sf(),zB)),h=e.B.Hc(kpe),e.a=new bht(h,a,e.c),e.n&&x6e(e.a.n,e.n),cae(e.g,(G1(),$u),e.a),t||(r=new yM(1,a,e.c),r.n.a=e.k,_k(e.p,(Mt(),Qn),r),i=new yM(1,a,e.c),i.n.d=e.k,_k(e.p,Jr,i),d=new yM(0,a,e.c),d.n.c=e.k,_k(e.p,nr,d),n=new yM(0,a,e.c),n.n.b=e.k,_k(e.p,fr,n))}function qxn(e){var t,n,r;switch(t=l(re(e.d,(Nt(),Qp)),218),t.g){case 2:n=yTn(e);break;case 3:n=(r=new yt,ya($s(ch(Al(Al(new jn(null,new zn(e.d.b,16)),new Pte),new Nte),new rC),new Ete),new qse(r)),r);break;default:throw ue(new pl("Compaction not supported for "+t+" edges."))}z7n(e,n),Ho(new X3(e.g),new zse(e))}function Uxn(e,t){var n;return n=new Ew,t&&ll(n,l(Tr(e.a,qB),94)),Le(t,470)&&ll(n,l(Tr(e.a,UB),94)),Le(t,354)?(ll(n,l(Tr(e.a,_l),94)),n):(Le(t,82)&&ll(n,l(Tr(e.a,Xr),94)),Le(t,239)?(ll(n,l(Tr(e.a,fa),94)),n):Le(t,186)?(ll(n,l(Tr(e.a,lf),94)),n):(Le(t,352)&&ll(n,l(Tr(e.a,oo),94)),n))}function X1(){X1=Ee,eT=new Cc((Yi(),XY),St(1)),gK=new Cc(ew,80),g4t=new Cc(tPe,5),s4t=new Cc(C8,B9),f4t=new Cc(bpe,St(1)),d4t=new Cc(wpe,(er(),!0)),uAe=new Ww(50),u4t=new Cc(J2,uAe),oAe=WY,hAe=lI,a4t=new Cc(lpe,!1),lAe=PB,l4t=_b,c4t=Z2,o4t=F_,h4t=y5,cAe=(L8e(),Z3t),Q1e=n4t,dK=Q3t,X1e=J3t,fAe=t4t}function Gxn(e){var t,n,r,i,a,h,d,b;for(b=new Tat,d=new M(e.a);d.a<d.c.c.length;)if(h=l(se(d),10),h.k!=(gr(),La)){for(G5n(b,h,new Qo),a=new Rr(zr($a(h).a.Kc(),new J));Ei(a);)if(i=l(hi(a),17),!(i.c.i.k==La||i.d.i.k==La))for(r=$i(i.a,0);r.b!=r.d.c;)n=l(ji(r),8),t=n,CM(b,new aE(t.a,t.b))}return b}function lhe(){lhe=Ee,aDe=new Xs(Dde),sDe=(aA(),EB),iDe=new Nn(Rde,sDe),rDe=(wN(),zY),O8t=new Nn(YTe,rDe),nDe=(VN(),Qge),I8t=new Nn(XTe,nDe),A8t=new Nn(Pde,null),tDe=(XP(),$Y),L8t=new Nn(Nde,tDe),eDe=(jz(),Kge),E8t=new Nn(QTe,eDe),T8t=new Nn(ZTe,(er(),!1)),S8t=new Nn(JTe,St(64)),C8t=new Nn(eSe,!0),M8t=Xge}function Egt(e){var t,n,r,i,a,h;if(e.a==null)if(e.a=Ue(uf,op,25,e.c.b.c.length,16,1),e.a[0]=!1,so(e.c,(Nt(),uge)))for(r=l(re(e.c,uge),15),n=r.Kc();n.Ob();)t=l(n.Pb(),19).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(h=new M(e.c.b),h.a<h.c.c.length&&se(h),i=1;h.a<h.c.c.length;)a=l(se(h),29),e.a[i++]=C6n(a)}function Tgt(e,t){var n,r,i,a;switch(i=e.b,t){case 1:{e.b|=1,e.b|=4,e.b|=8;break}case 2:{e.b|=2,e.b|=4,e.b|=8;break}case 4:{e.b|=1,e.b|=2,e.b|=4,e.b|=8;break}case 3:{e.b|=16,e.b|=8;break}case 0:{e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4;break}}if(e.b!=i&&e.c)for(r=new Ir(e.c);r.e!=r.i.gc();)a=l(Ur(r),473),n=Jh(a),B4(n,t)}function Sgt(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;for(i=!1,h=t,d=0,b=h.length;d<b;++d)a=h[d],Zt((er(),!!a.e))&&!l(Kt(e.b,a.e.p),214).s&&(i=i|(E=a.e,C=l(Kt(e.b,E.p),214),P=C.e,$=lXe(n,P.length),K=P[$][0],K.k==(gr(),La)?P[$]=C_n(a,P[$],n?(Mt(),nr):(Mt(),fr)):C.c.Tf(P,n),Z=eR(e,C,n,r),C7e(C.e,C.o,n),Z));return i}function Cgt(e,t){var n,r,i,a,h;for(a=(!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i,i=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));i.e!=i.i.gc();)r=l(Ur(i),33),Je(nn(r,(Yi(),R_)))!==Je((Hp(),fI))&&(h=l(nn(t,TT),149),n=l(nn(r,TT),149),(h==n||h&&n_e(h,n))&&(!r.a&&(r.a=new _t(fa,r,10,11)),r.a).i!=0&&(a+=Cgt(e,r)));return a}function Wxn(e){var t,n,r,i,a,h,d;for(r=0,d=0,h=new M(e.d);h.a<h.c.c.length;)a=l(se(h),101),i=l(Of($s(new jn(null,new zn(a.j,16)),new sC),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),n=null,r<=d?(n=(Mt(),Qn),r+=i.gc()):d<r&&(n=(Mt(),Jr),d+=i.gc()),t=n,ya(ch(i.Oc(),new B$),new Wse(t))}function Kxn(e){var t,n,r,i,a,h,d,b;for(e.b=new V1t(new gf((Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr]))),new gf((my(),pe(de(g0e,1),vt,361,0,[Uy,pb,qy])))),h=pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr]),d=0,b=h.length;d<b;++d)for(a=h[d],n=pe(de(g0e,1),vt,361,0,[Uy,pb,qy]),r=0,i=n.length;r<i;++r)t=n[r],Ywn(e.b,a,t,new yt)}function Agt(e,t){var n,r,i,a,h,d,b,E,C,P;if(h=l(l(_s(e.r,t),21),84),d=e.u.Hc((Gh(),Tb)),n=e.u.Hc(mI),r=e.u.Hc(pI),E=e.u.Hc(I8),P=e.B.Hc((sf(),rX)),C=!n&&!r&&(E||h.gc()==2),Y_n(e,t),i=null,b=null,d){for(a=h.Kc(),i=l(a.Pb(),111),b=i;a.Ob();)b=l(a.Pb(),111);i.d.b=0,b.d.c=0,C&&!i.a&&(i.d.c=0)}P&&(Wyn(h),d&&(i.d.b=0,b.d.c=0))}function Mgt(e,t){var n,r,i,a,h,d,b,E,C,P;if(h=l(l(_s(e.r,t),21),84),d=e.u.Hc((Gh(),Tb)),n=e.u.Hc(mI),r=e.u.Hc(pI),b=e.u.Hc(I8),P=e.B.Hc((sf(),rX)),E=!n&&!r&&(b||h.gc()==2),u8n(e,t),C=null,i=null,d){for(a=h.Kc(),C=l(a.Pb(),111),i=C;a.Ob();)i=l(a.Pb(),111);C.d.d=0,i.d.a=0,E&&!C.a&&(C.d.a=0)}P&&(Kyn(h),d&&(C.d.d=0,i.d.a=0))}function Lgt(e,t,n){var r,i,a,h,d,b,E,C;if(i=t.k,t.p>=0)return!1;if(t.p=n.b,wt(n.e,t),i==(gr(),po)||i==Mu){for(h=new M(t.j);h.a<h.c.c.length;)for(a=l(se(h),11),C=(r=new M(new ni(a).a.g),new ct(r));Sl(C.a);)if(E=l(se(C.a),17).d,d=E.i,b=d.k,t.c!=d.c&&(b==po||b==Mu)&&Lgt(e,d,n))return!0}return!0}function EG(e){var t;return e.Db&64?e7e(e):(t=new Ed(e7e(e)),t.a+=" (changeable: ",ym(t,(e.Bb&b1)!=0),t.a+=", volatile: ",ym(t,(e.Bb&e5)!=0),t.a+=", transient: ",ym(t,(e.Bb&G4)!=0),t.a+=", defaultValueLiteral: ",zc(t,e.j),t.a+=", unsettable: ",ym(t,(e.Bb&Ph)!=0),t.a+=", derived: ",ym(t,(e.Bb&vg)!=0),t.a+=")",t.a)}function Yxn(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(i=J6n(e.d),h=l(re(e.b,(_M(),rAe)),116),d=h.b+h.c,b=h.d+h.a,C=i.d.a*e.e+d,E=i.b.a*e.f+b,Jwe(e.b,new en(C,E)),$=new M(e.g);$.a<$.c.c.length;)P=l(se($),562),t=P.g-i.a.a,n=P.i-i.c.a,r=xs(lan(new en(t,n),P.a,P.b),ug(xP(Fl(e4e(P.e)),P.d*P.a,P.c*P.b),-.5)),a=t4e(P.e),jrn(P.e,xo(r,a))}function Xxn(e,t,n,r){var i,a,h,d,b;for(b=Ue(Eo,dt,104,(Mt(),pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr])).length,0,2),a=pe(de(yc,1),ru,61,0,[Dl,Qn,fr,Jr,nr]),h=0,d=a.length;h<d;++h)i=a[h],b[i.g]=Ue(Eo,Gc,25,e.c[i.g],15,1);return Qft(b,e,Qn),Qft(b,e,Jr),xue(b,e,Qn,t,n,r),xue(b,e,fr,t,n,r),xue(b,e,Jr,t,n,r),xue(b,e,nr,t,n,r),b}function Qxn(e,t,n){if(bf(e.a,t)){if(Ap(l(Tr(e.a,t),53),n))return 1}else ds(e.a,t,new Ja);if(bf(e.a,n)){if(Ap(l(Tr(e.a,n),53),t))return-1}else ds(e.a,n,new Ja);if(bf(e.b,t)){if(Ap(l(Tr(e.b,t),53),n))return-1}else ds(e.b,t,new Ja);if(bf(e.b,n)){if(Ap(l(Tr(e.b,n),53),t))return 1}else ds(e.b,n,new Ja);return 0}function N7e(e,t,n,r){var i,a,h,d,b,E;if(n==null){for(i=l(e.g,119),d=0;d<e.i;++d)if(h=i[d],h.ak()==t)return lc(e,h,r)}return a=(Sc(),l(t,66).Oj()?l(n,72):Zg(t,n)),pf(e.e)?(E=!LN(e,t),r=Bu(e,a,r),b=t.$j()?Uv(e,3,t,null,n,k9(e,t,n,Le(t,99)&&(l(t,18).Bb&wc)!=0),E):Uv(e,1,t,t.zj(),n,-1,E),r?r.Ei(b):r=b):r=Bu(e,a,r),r}function Zxn(e){var t,n,r,i,a,h;e.q==(Ao(),gp)||e.q==Iu||(i=e.f.n.d+FV(l(Vc(e.b,(Mt(),Qn)),124))+e.c,t=e.f.n.a+FV(l(Vc(e.b,Jr),124))+e.c,r=l(Vc(e.b,fr),124),h=l(Vc(e.b,nr),124),a=v.Math.max(0,r.n.d-i),a=v.Math.max(a,h.n.d-i),n=v.Math.max(0,r.n.a-t),n=v.Math.max(n,h.n.a-t),r.n.d=a,h.n.d=a,r.n.a=n,h.n.a=n)}function Jxn(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(Zr(t,"Restoring reversed edges",1),b=new M(e.b);b.a<b.c.c.length;)for(d=l(se(b),29),C=new M(d.a);C.a<C.c.c.length;)for(E=l(se(C),10),$=new M(E.j);$.a<$.c.c.length;)for(P=l(se($),11),h=pg(P.g),r=h,i=0,a=r.length;i<a;++i)n=r[i],Zt(Xt(re(n,(mt(),$0))))&&Ly(n,!1);Br(t)}function Igt(){this.b=new d2,this.d=new d2,this.e=new d2,this.c=new d2,this.a=new si,this.f=new si,L6(ao,new Lre,new Ire),L6(vDe,new Rl,new Pu),L6(TAe,new Us,new _D),L6(SAe,new Hre,new zre),L6(O7t,new jx,new U3),L6(KTn,new Ore,new Dre),L6(QTn,new Pre,new Nre),L6(YTn,new Rre,new Bre),L6(XTn,new Fre,new uu),L6(eSn,new jre,new hC)}function Ogt(e){var t,n,r,i,a,h;return a=0,t=Md(e),t.Bj()&&(a|=4),e.Bb&Ph&&(a|=2),Le(e,99)?(n=l(e,18),i=Ac(n),n.Bb&Yl&&(a|=32),i&&(Er(v4(i)),a|=8,h=i.t,(h>1||h==-1)&&(a|=16),i.Bb&Yl&&(a|=64)),n.Bb&wc&&(a|=e5),a|=b1):Le(t,457)?a|=512:(r=t.Bj(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function PM(e,t){var n,r,i,a,h;for(e=e==null?vh:(Xn(e),e),i=0;i<t.length;i++)t[i]=P6n(t[i]);for(n=new t4,h=0,r=0;r<t.length&&(a=e.indexOf("%s",h),a!=-1);)n.a+=""+Mf(e==null?vh:(Xn(e),e),h,a),Wl(n,t[r++]),h=a+2;if(gst(n,e,h,e.length),r<t.length){for(n.a+=" [",Wl(n,t[r++]);r<t.length;)n.a+=bc,Wl(n,t[r++]);n.a+="]"}return n.a}function ekn(e){var t,n,r,i,a;for(a=new Nu(e.a.c.length),i=new M(e.a);i.a<i.c.c.length;){switch(r=l(se(i),10),n=l(re(r,(Nt(),Yu)),163),t=null,n.g){case 1:case 2:t=(y2(),k_);break;case 3:case 4:t=(y2(),lT)}t?(ut(r,(mt(),ZK),(y2(),k_)),t==lT?wG(r,n,(Oc(),Kh)):t==k_&&wG(r,n,(Oc(),Hu))):a.c[a.c.length]=r}return a}function R7e(e,t){var n,r,i,a,h,d,b;for(n=0,b=new M(t);b.a<b.c.c.length;){for(d=l(se(b),11),Oxe(e.b,e.d[d.p]),h=0,i=new C0(d.b);Sl(i.a)||Sl(i.b);)r=l(Sl(i.a)?se(i.a):se(i.b),17),mrt(r)?(a=i3e(e,d==r.c?r.d:r.c),a>e.d[d.p]&&(n+=e_e(e.b,a),Gv(e.a,St(a)))):++h;for(n+=e.b.d*h;!QC(e.a);)I_e(e.b,l(kk(e.a),19).a)}return n}function tkn(e,t){var n;return e.f==Npe?(n=ry(tl((Ih(),Vo),t)),e.e?n==4&&t!=(Wk(),P8)&&t!=(Wk(),D8)&&t!=(Wk(),Rpe)&&t!=(Wk(),Bpe):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(Mk(tl((Ih(),Vo),t)))||e.d.Hc(n_((Ih(),Vo),e.b,t)))?!0:e.f&&_7e((Ih(),e.f),BP(tl(Vo,t)))?(n=ry(tl(Vo,t)),e.e?n==4:n==2):!1}function nkn(e,t,n,r){var i,a,h,d,b,E,C,P;return h=l(nn(n,(Yi(),A8)),8),b=h.a,C=h.b+e,i=v.Math.atan2(C,b),i<0&&(i+=u_),i+=t,i>u_&&(i-=u_),d=l(nn(r,A8),8),E=d.a,P=d.b+e,a=v.Math.atan2(P,E),a<0&&(a+=u_),a+=t,a>u_&&(a-=u_),y0(),g1(1e-10),v.Math.abs(i-a)<=1e-10||i==a||isNaN(i)&&isNaN(a)?0:i<a?-1:i>a?1:Gw(isNaN(i),isNaN(a))}function uhe(e){var t,n,r,i,a,h,d;for(d=new si,r=new M(e.a.b);r.a<r.c.c.length;)t=l(se(r),57),ds(d,t,new yt);for(i=new M(e.a.b);i.a<i.c.c.length;)for(t=l(se(i),57),t.i=Oa,h=t.c.Kc();h.Ob();)a=l(h.Pb(),57),l(Bl(cl(d.f,a)),15).Fc(t);for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),57),t.c.$b(),t.c=l(Bl(cl(d.f,t)),15);J0t(e)}function hhe(e){var t,n,r,i,a,h,d;for(d=new si,r=new M(e.a.b);r.a<r.c.c.length;)t=l(se(r),81),ds(d,t,new yt);for(i=new M(e.a.b);i.a<i.c.c.length;)for(t=l(se(i),81),t.o=Oa,h=t.f.Kc();h.Ob();)a=l(h.Pb(),81),l(Bl(cl(d.f,a)),15).Fc(t);for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),81),t.f.$b(),t.f=l(Bl(cl(d.f,t)),15);V0t(e)}function rkn(e,t,n,r){var i,a;for(vwn(e,t,n,r),eye(t,e.j-t.j+n),tye(t,e.k-t.k+r),a=new M(t.f);a.a<a.c.c.length;)switch(i=l(se(a),324),i.a.g){case 0:XE(e,t.g+i.b.a,0,t.g+i.c.a,t.i-1);break;case 1:XE(e,t.g+t.o,t.i+i.b.a,e.o-1,t.i+i.c.a);break;case 2:XE(e,t.g+i.b.a,t.i+t.p,t.g+i.c.a,e.p-1);break;default:XE(e,0,t.i+i.b.a,t.g-1,t.i+i.c.a)}}function TG(e,t,n,r,i){var a,h,d;try{if(t>=e.o)throw ue(new _ye);d=t>>5,h=t&31,a=Ip(1,li(Ip(h,1))),i?e.n[n][d]=T0(e.n[n][d],a):e.n[n][d]=Wa(e.n[n][d],S5e(a)),a=Ip(a,1),r?e.n[n][d]=T0(e.n[n][d],a):e.n[n][d]=Wa(e.n[n][d],S5e(a))}catch(b){throw b=ea(b),Le(b,320)?ue(new Qc(Ife+e.o+"*"+e.p+Ofe+t+bc+n+Dfe)):ue(b)}}function B7e(e,t,n,r){var i,a,h;t&&(a=ot(Lt(re(t,(Kl(),Wm))))+r,h=n+ot(Lt(re(t,LY)))/2,ut(t,Nge,St(li(ph(v.Math.round(a))))),ut(t,XIe,St(li(ph(v.Math.round(h))))),t.d.b==0||B7e(e,l(wV((i=$i(new Mv(t).a.d,0),new rk(i))),86),n+ot(Lt(re(t,LY)))+e.a,r+ot(Lt(re(t,xT)))),re(t,Pge)!=null&&B7e(e,l(re(t,Pge),86),n,r))}function ikn(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(b=cc(t.a),i=ot(Lt(re(b,(Nt(),Y2))))*2,C=ot(Lt(re(b,I_))),E=v.Math.max(i,C),a=Ue(Eo,Gc,25,t.f-t.c+1,15,1),r=-E,n=0,d=t.b.Kc();d.Ob();)h=l(d.Pb(),10),r+=e.a[h.c.p]+E,a[n++]=r;for(r+=e.a[t.a.c.p]+E,a[n++]=r,$=new M(t.e);$.a<$.c.c.length;)P=l(se($),10),r+=e.a[P.c.p]+E,a[n++]=r;return a}function skn(e,t,n,r){var i,a,h,d,b,E,C,P,$;for($=new Dv(new EWe(e)),d=pe(de(up,1),jm,10,0,[t,n]),b=0,E=d.length;b<E;++b)for(h=d[b],P=gM(h,r).Kc();P.Ob();)for(C=l(P.Pb(),11),a=new C0(C.b);Sl(a.a)||Sl(a.b);)i=l(Sl(a.a)?se(a.a):se(a.b),17),pc(i)||(EU($.a,C,(er(),z2))==null,mrt(i)&&PP($,C==i.c?i.d:i.c));return ui($),new Ah($)}function akn(e,t){var n,r,i,a;if(a=l(nn(e,(Yi(),$_)),61).g-l(nn(t,$_),61).g,a!=0)return a;if(n=l(nn(e,mpe),19),r=l(nn(t,mpe),19),n&&r&&(i=n.a-r.a,i!=0))return i;switch(l(nn(e,$_),61).g){case 1:return ja(e.i,t.i);case 2:return ja(e.j,t.j);case 3:return ja(t.i,e.i);case 4:return ja(t.j,e.j);default:throw ue(new pl(h9e))}}function F7e(e){var t,n,r;return e.Db&64?$ue(e):(t=new Af(oSe),n=e.k,n?Mi(Mi((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new _t(_l,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new _t(_l,e,1,7)),l(Re(e.n,0),137)).a,!r||Mi(Mi((t.a+=' "',t),r),'"'))),Mi(zw(Mi(zw(Mi(zw(Mi(zw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Dgt(e){var t,n,r;return e.Db&64?$ue(e):(t=new Af(cSe),n=e.k,n?Mi(Mi((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new _t(_l,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new _t(_l,e,1,7)),l(Re(e.n,0),137)).a,!r||Mi(Mi((t.a+=' "',t),r),'"'))),Mi(zw(Mi(zw(Mi(zw(Mi(zw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function fhe(e,t){var n,r,i,a,h,d,b;if(t==null||t.length==0)return null;if(i=l(xu(e.a,t),149),!i){for(r=(d=new m0(e.b).a.vc().Kc(),new v0(d));r.a.Ob();)if(n=(a=l(r.a.Pb(),42),l(a.dd(),149)),h=n.c,b=t.length,Tn(h.substr(h.length-b,b),t)&&(t.length==h.length||$o(h,h.length-t.length-1)==46)){if(i)return null;i=n}i&&Jc(e.a,t,i)}return i}function okn(e,t){var n,r,i,a;return n=new lo,r=l(Of(ch(new jn(null,new zn(e.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[(I0(),t5),Hf]))),21),i=r.gc(),r=l(Of(ch(new jn(null,new zn(t.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[t5,Hf]))),21),a=r.gc(),i<a?-1:i==a?0:1}function Pgt(e){var t,n,r;so(e,(Nt(),Xy))&&(r=l(re(e,Xy),21),!r.dc()&&(n=(t=l(H1(Bc),9),new ed(t,l(l1(t,t.length),9),0)),r.Hc((F4(),Vf))?p1(n,Vf):p1(n,T1),r.Hc($d)||p1(n,$d),r.Hc(k1)?p1(n,S1):r.Hc(em)?p1(n,dp):r.Hc(E1)&&p1(n,Hd),r.Hc(S1)?p1(n,k1):r.Hc(dp)?p1(n,em):r.Hc(Hd)&&p1(n,E1),ut(e,Xy,n)))}function ckn(e){var t,n,r,i,a,h,d;for(i=l(re(e,(mt(),Ky)),10),r=e.j,n=(Un(0,r.c.length),l(r.c[0],11)),h=new M(i.j);h.a<h.c.c.length;)if(a=l(se(h),11),Je(a)===Je(re(n,vs))){a.j==(Mt(),Qn)&&e.p>i.p?(Ka(a,Jr),a.d&&(d=a.o.b,t=a.a.b,a.a.b=d-t)):a.j==Jr&&i.p>e.p&&(Ka(a,Qn),a.d&&(d=a.o.b,t=a.a.b,a.a.b=-(d-t)));break}return i}function lkn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;if(a=n,n<r)for($=(K=new gN(e.p),Z=new gN(e.p),mc(K.e,e.e),K.q=e.q,K.r=Z,rq(K),mc(Z.j,e.j),Z.r=K,rq(Z),new No(K,Z)),P=l($.a,112),C=l($.b,112),i=(Un(a,t.c.length),l(t.c[a],329)),h=dgt(e,P,C,i),E=n+1;E<=r;E++)d=(Un(E,t.c.length),l(t.c[E],329)),b=dgt(e,P,C,d),Vbn(d,b,i,h)&&(i=d,h=b);return a}function tR(e,t,n,r,i){var a,h,d,b,E,C,P;if(!(Le(t,239)||Le(t,354)||Le(t,186)))throw ue(new Jn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return h=e.a/2,b=t.i+r-h,C=t.j+i-h,E=b+t.g+e.a,P=C+t.f+e.a,a=new Th,zi(a,new en(b,C)),zi(a,new en(b,P)),zi(a,new en(E,P)),zi(a,new en(E,C)),d=new Zue(a),ll(d,t),n&&ds(e.b,t,d),d}function NM(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(a=new en(t,n),C=new M(e.a);C.a<C.c.c.length;)for(E=l(se(C),10),xs(E.n,a),$=new M(E.j);$.a<$.c.c.length;)for(P=l(se($),11),i=new M(P.g);i.a<i.c.c.length;)for(r=l(se(i),17),T4(r.a,a),h=l(re(r,(Nt(),il)),74),h&&T4(h,a),b=new M(r.b);b.a<b.c.c.length;)d=l(se(b),70),xs(d.n,a)}function ukn(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(a=new en(t,n),C=new M(e.a);C.a<C.c.c.length;)for(E=l(se(C),10),xs(E.n,a),$=new M(E.j);$.a<$.c.c.length;)for(P=l(se($),11),i=new M(P.g);i.a<i.c.c.length;)for(r=l(se(i),17),T4(r.a,a),h=l(re(r,(Nt(),il)),74),h&&T4(h,a),b=new M(r.b);b.a<b.c.c.length;)d=l(se(b),70),xs(d.n,a)}function Ngt(e){if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i==0)throw ue(new JC("Edges must have a source."));if((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i==0)throw ue(new JC("Edges must have a target."));if(!e.b&&(e.b=new $n(Xr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c.i<=1)))throw ue(new JC("Hyperedges are not supported."))}function Rgt(e,t){var n,r,i,a,h,d,b,E,C,P;for(P=0,a=new g6,Gv(a,t);a.b!=a.c;)for(b=l(kk(a),214),E=0,C=l(re(t.j,(Nt(),vb)),339),h=ot(Lt(re(t.j,iY))),d=ot(Lt(re(t.j,ILe))),C!=($p(),bb)&&(E+=h*w6n(b.e,C),E+=d*q_n(b.e)),P+=Nft(b.d,b.e)+E,i=new M(b.b);i.a<i.c.c.length;)r=l(se(i),37),n=l(Kt(e.b,r.p),214),n.s||(P+=Uue(e,n));return P}function hkn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(K=t.length,b=K,yi(0,t.length),t.charCodeAt(0)==45?(P=-1,$=1,--K):(P=1,$=0),a=(The(),Nyt)[10],i=K/a|0,oe=K%a,oe!=0&&++i,d=Ue(ri,Pi,25,i,15,1),n=Pyt[8],h=0,Z=$+(oe==0?a:oe),te=$;te<b;te=Z,Z=te+a)r=Bf(t.substr(te,Z-te),Jo,as),E=(m9(),Lke(d,d,h,n)),E+=Hvn(d,h,r),d[h++]=E;C=h,e.e=P,e.d=C,e.a=d,XA(e)}function Bgt(e,t,n,r,i,a,h){if(e.c=r.qf().a,e.d=r.qf().b,i&&(e.c+=i.qf().a,e.d+=i.qf().b),e.b=t.rf().a,e.a=t.rf().b,!i)n?e.c-=h+t.rf().a:e.c+=r.rf().a+h;else switch(i.Hf().g){case 0:case 2:e.c+=i.rf().a+h+a.a+h;break;case 4:e.c-=h+a.a+h+t.rf().a;break;case 1:e.c+=i.rf().a+h,e.d-=h+a.b+h+t.rf().b;break;case 3:e.c+=i.rf().a+h,e.d+=i.rf().b+h+a.b+h}}function Fgt(e,t){var n,r;for(this.b=new yt,this.e=new yt,this.a=e,this.d=t,jbn(this),Kvn(this),this.b.dc()?this.c=e.c.p:this.c=l(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=e.c.p:this.f=l(Kt(this.e,this.e.c.length-1),10).c.p,r=l(re(e,(mt(),lB)),15).Kc();r.Ob();)if(n=l(r.Pb(),70),so(n,(Nt(),aY))){this.d=l(re(n,aY),227);break}}function _9(e,t,n){var r,i,a,h,d,b,E,C;for(r=l(Tr(e.a,t),53),a=l(Tr(e.a,n),53),i=l(Tr(e.e,t),53),h=l(Tr(e.e,n),53),r.a.zc(n,r),h.a.zc(t,h),C=a.a.ec().Kc();C.Ob();)E=l(C.Pb(),10),r.a.zc(E,r),Ga(l(Tr(e.e,E),53),t),mc(l(Tr(e.e,E),53),i);for(b=i.a.ec().Kc();b.Ob();)d=l(b.Pb(),10),h.a.zc(d,h),Ga(l(Tr(e.a,d),53),n),mc(l(Tr(e.a,d),53),a)}function nR(e,t,n){var r,i,a,h,d,b,E,C;for(r=l(Tr(e.a,t),53),a=l(Tr(e.a,n),53),i=l(Tr(e.b,t),53),h=l(Tr(e.b,n),53),r.a.zc(n,r),h.a.zc(t,h),C=a.a.ec().Kc();C.Ob();)E=l(C.Pb(),10),r.a.zc(E,r),Ga(l(Tr(e.b,E),53),t),mc(l(Tr(e.b,E),53),i);for(b=i.a.ec().Kc();b.Ob();)d=l(b.Pb(),10),h.a.zc(d,h),Ga(l(Tr(e.a,d),53),n),mc(l(Tr(e.a,d),53),a)}function fkn(e,t){var n,r,i;switch(Zr(t,"Breaking Point Insertion",1),r=new o7e(e),l(re(e,(Nt(),lge)),337).g){case 2:i=new q$;case 0:i=new H$;break;default:i=new U$}if(n=i.Vf(e,r),Zt(Xt(re(e,pIe)))&&(n=rEn(e,n)),!i.Wf()&&so(e,pY))switch(l(re(e,pY),338).g){case 2:n=k1t(r,n);break;case 1:n=xdt(r,n)}if(n.dc()){Br(t);return}rTn(e,n),Br(t)}function dkn(e,t,n){var r,i,a,h,d,b,E,C,P,$;if(C=null,$=t,P=qst(e,$st(n),$),sM(P,Pp($,Sg)),h=ly($,uSe),r=new kZe(e,P),$4n(r.a,r.b,h),d=ly($,Zde),i=new EZe(e,P),H4n(i.a,i.b,d),(!P.b&&(P.b=new $n(Xr,P,4,7)),P.b).i==0||(!P.c&&(P.c=new $n(Xr,P,5,8)),P.c).i==0)throw a=Pp($,Sg),b=R2t+a,E=b+U9,ue(new og(E));return cG($,P),lTn(e,$,P),C=Tle(e,$,P),C}function gkn(e,t){var n,r,i,a,h,d,b;for(i=Ue(ri,Pi,25,e.e.a.c.length,15,1),h=new M(e.e.a);h.a<h.c.c.length;)a=l(se(h),121),i[a.d]+=a.b.a.c.length;for(d=IP(t);d.b!=0;)for(a=l(d.b==0?null:(kr(d.b!=0),sd(d,d.a.a)),121),r=Nk(new M(a.g.a));r.Ob();)n=l(r.Pb(),213),b=n.e,b.e=v.Math.max(b.e,a.e+n.a),--i[b.d],i[b.d]==0&&xa(d,b,d.c.b,d.c)}function jgt(e){var t,n,r,i,a,h,d,b,E,C,P;for(n=Jo,i=as,d=new M(e.e.a);d.a<d.c.c.length;)a=l(se(d),121),i=v.Math.min(i,a.e),n=v.Math.max(n,a.e);for(t=Ue(ri,Pi,25,n-i+1,15,1),h=new M(e.e.a);h.a<h.c.c.length;)a=l(se(h),121),a.e-=i,++t[a.e];if(r=0,e.k!=null)for(E=e.k,C=0,P=E.length;C<P&&(b=E[C],t[r++]+=b,t.length!=r);++C);return t}function $gt(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return l(A7e(e),19).a==e.o;case 1:case 2:{if(e.o==-2)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return Uw(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:hs(e.n,e.g)}}default:return!1}}function Hgt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,cL),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new xD))),It(e,cL,Ny,wPe),It(e,cL,bW,zt(hI)),It(e,cL,rSe,zt(pPe)),It(e,cL,c_,zt(mPe)),It(e,cL,s8,zt(bPe)),It(e,cL,wde,zt(vPe))}function SG(e,t,n){var r,i,a,h,d;if(r=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),d=li(Zo(ip,Xg(li(Zo(n==null?0:Ws(n),sp)),15))),a=aM(e,t,r),a&&d==a.f&&dg(n,a.i))return n;if(h=oM(e,n,d),h)throw ue(new Jn("value already present: "+n));return i=new sq(t,r,n,d),a?(X6(e,a),GN(e,i,a),a.e=null,a.c=null,a.i):(GN(e,i,null),Zft(e),null)}function pkn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;C=n.a.c,h=n.a.c+n.a.b,a=l(Tr(n.c,t),459),K=a.f,Z=a.a,a.b?b=new en(h,K):b=new en(C,K),a.c?P=new en(C,Z):P=new en(h,Z),i=C,n.p||(i+=e.c),i+=n.F+n.v*e.b,E=new en(i,K),$=new en(i,Z),iM(t.a,pe(de(ao,1),dt,8,0,[b,E])),d=n.d.a.gc()>1,d&&(r=new en(i,n.b),zi(t.a,r)),iM(t.a,pe(de(ao,1),dt,8,0,[$,P]))}function dhe(e,t,n){var r,i,a,h,d,b;if(t)if(n<=-1){if(r=Rn(t.Tg(),-1-n),Le(r,99))return l(r,18);for(h=l(t.ah(r),153),d=0,b=h.gc();d<b;++d)if(Je(h.jl(d))===Je(e)&&(i=h.il(d),Le(i,99)&&(a=l(i,18),a.Bb&Yl)))return a;throw ue(new pl("The containment feature could not be located"))}else return Ac(l(Rn(e.Tg(),n),18));else return null}function mkn(e){var t,n,r,i,a;for(r=e.length,t=new eA,a=0;a<r;)if(n=$o(e,a++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;a<r&&(n=$o(e,a++),!(n==13||n==10)););continue}n==92&&a<r?(i=(yi(a,e.length),e.charCodeAt(a)))==35||i==9||i==10||i==12||i==13||i==32?(wE(t,i&Aa),++a):(t.a+="\\",wE(t,i&Aa),++a):wE(t,n&Aa)}return t.a}function vkn(e,t){var n,r,i;for(r=new M(t);r.a<r.c.c.length;)if(n=l(se(r),33),En(e.a,n,n),En(e.b,n,n),i=$4(n),i.c.length!=0)for(e.d&&e.d.lg(i),En(e.a,n,(Un(0,i.c.length),l(i.c[0],33))),En(e.b,n,l(Kt(i,i.c.length-1),33));_le(i).c.length!=0;)i=_le(i),e.d&&e.d.lg(i),En(e.a,n,(Un(0,i.c.length),l(i.c[0],33))),En(e.b,n,l(Kt(i,i.c.length-1),33))}function bkn(e){var t,n,r,i,a,h,d,b,E,C;for(n=0,d=new M(e.d);d.a<d.c.c.length;)h=l(se(d),101),h.i&&(h.i.c=n++);for(t=o2(uf,[dt,op],[177,25],16,[n,n],2),C=e.d,i=0;i<C.c.length;i++)if(b=(Un(i,C.c.length),l(C.c[i],101)),b.i)for(a=i+1;a<C.c.length;a++)E=(Un(a,C.c.length),l(C.c[a],101)),E.i&&(r=r3n(b,E),t[b.i.c][E.i.c]=r,t[E.i.c][b.i.c]=r);return t}function j7e(e,t,n,r){var i,a,h;return h=new aQe(t,n),e.a?r?(i=l(Tr(e.b,t),283),++i.a,h.d=r.d,h.e=r.e,h.b=r,h.c=r,r.e?r.e.c=h:l(Tr(e.b,t),283).b=h,r.d?r.d.b=h:e.a=h,r.d=h,r.e=h):(e.e.b=h,h.d=e.e,e.e=h,i=l(Tr(e.b,t),283),i?(++i.a,a=i.c,a.c=h,h.e=a,i.c=h):(ds(e.b,t,i=new S6e(h)),++e.c)):(e.a=e.e=h,ds(e.b,t,new S6e(h)),++e.c),++e.d,h}function H4(e,t){var n,r,i,a,h,d,b,E;for(n=new RegExp(t,"g"),b=Ue(jt,dt,2,0,6,1),r=0,E=e,a=null;;)if(d=n.exec(E),d==null||E==""){b[r]=E;break}else h=d.index,b[r]=E.substr(0,h),E=Mf(E,h+d[0].length,E.length),n.lastIndex=0,a==E&&(b[r]=E.substr(0,1),E=E.substr(1)),a=E,++r;if(e.length>0){for(i=b.length;i>0&&b[i-1]=="";)--i;i<b.length&&(b.length=i)}return b}function $7e(e,t){var n,r,i,a,h,d,b,E,C,P;for(P=ol(t),E=null,i=!1,d=0,C=hu(P.a).i;d<C;++d)h=l(cR(P,d,(a=l(Re(hu(P.a),d),87),b=a.c,Le(b,88)?l(b,26):(Sn(),Wd))),26),n=$7e(e,h),n.dc()||(E?(i||(i=!0,E=new VV(E)),E.Gc(n)):E=n);return r=r5n(e,t),r.dc()?E||(In(),In(),Lc):E?(i||(E=new VV(E)),E.Gc(r),E):r}function ghe(e,t){var n,r,i,a,h,d,b,E,C,P;for(P=ol(t),E=null,r=!1,d=0,C=hu(P.a).i;d<C;++d)a=l(cR(P,d,(i=l(Re(hu(P.a),d),87),b=i.c,Le(b,88)?l(b,26):(Sn(),Wd))),26),n=ghe(e,a),n.dc()||(E?(r||(r=!0,E=new VV(E)),E.Gc(n)):E=n);return h=O5n(e,t),h.dc()?E||(In(),In(),Lc):E?(r||(E=new VV(E)),E.Gc(h),E):h}function rR(e,t,n){var r,i,a,h,d,b;if(Le(t,72))return lc(e,t,n);for(d=null,a=null,r=l(e.g,119),h=0;h<e.i;++h)if(i=r[h],hs(t,i.dd())&&(a=i.ak(),Le(a,99)&&l(a,18).Bb&Yl)){d=i;break}return d&&(pf(e.e)&&(b=a.$j()?Uv(e,4,a,t,null,k9(e,a,t,Le(a,99)&&(l(a,18).Bb&wc)!=0),!0):Uv(e,a.Kj()?2:1,a,t,a.zj(),-1,!0),n?n.Ei(b):n=b),n=rR(e,d,n)),n}function wkn(e){var t,n,r,i;r=e.o,l4(),e.A.dc()||hs(e.A,XCe)?i=r.a:(i=KN(e.f),e.A.Hc((xf(),$B))&&!e.B.Hc((sf(),bI))&&(i=v.Math.max(i,KN(l(Vc(e.p,(Mt(),Qn)),244))),i=v.Math.max(i,KN(l(Vc(e.p,Jr),244)))),t=Blt(e),t&&(i=v.Math.max(i,t.a))),Zt(Xt(e.e.yf().We((Yi(),KY))))?r.a=v.Math.max(r.a,i):r.a=i,n=e.f.i,n.c=0,n.b=i,whe(e.f)}function ykn(e,t){var n,r,i,a,h,d,b,E,C;if(n=t.Hh(e.a),n&&(b=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),"memberTypes")),b!=null)){for(E=new yt,a=H4(b,"\\w"),h=0,d=a.length;h<d;++h)i=a[h],r=i.lastIndexOf("#"),C=r==-1?N4e(e,t.Aj(),i):r==0?eN(e,null,i.substr(1)):eN(e,i.substr(0,r),i.substr(r+1)),Le(C,148)&&wt(E,l(C,148));return E}return In(),In(),Lc}function _kn(e,t,n){var r,i,a,h,d,b,E,C;for(Zr(n,Yvt,1),e.bf(t),a=0;e.df(a);){for(C=new M(t.e);C.a<C.c.c.length;)for(b=l(se(C),144),d=Hv(M0(pe(de(B0,1),Ht,20,0,[t.e,t.d,t.b])));Ei(d);)h=l(hi(d),357),h!=b&&(i=e.af(h,b),i&&xs(b.a,i));for(E=new M(t.e);E.a<E.c.c.length;)b=l(se(E),144),r=b.a,qdt(r,-e.d,-e.d,e.d,e.d),xs(b.d,r),z1(r);e.cf(),++a}Br(n)}function xkn(e,t,n){var r,i,a,h;if(h=Wu(e.e.Tg(),t),r=l(e.g,119),Sc(),l(t,66).Oj()){for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&hs(i,n))return j4(e,a),!0}else if(n!=null){for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&hs(n,i.dd()))return j4(e,a),!0}else for(a=0;a<e.i;++a)if(i=r[a],h.rl(i.ak())&&i.dd()==null)return j4(e,a),!0;return!1}function kkn(e,t){var n,r,i,a,h;for(e.c==null||e.c.length<t.c.length?e.c=Ue(uf,op,25,t.c.length,16,1):ZC(e.c),e.a=new yt,r=0,h=new M(t);h.a<h.c.c.length;)i=l(se(h),10),i.p=r++;for(n=new sa,a=new M(t);a.a<a.c.c.length;)i=l(se(a),10),e.c[i.p]||(M1t(e,i),n.b==0||(kr(n.b!=0),l(n.a.a.c,15)).gc()<e.a.c.length?YZe(n,e.a):s2(n,e.a),e.a=new yt);return n}function Ekn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;for(h=l(Re(t,0),33),dh(h,0),gh(h,0),$=new yt,$.c[$.c.length]=h,d=h,a=new Ioe(e.a,h.g,h.f,(y9(),aI)),K=1;K<t.i;K++)Z=l(Re(t,K),33),b=Ehe(e,N_,Z,d,a,$,n),E=Ehe(e,T8,Z,d,a,$,n),C=Ehe(e,sI,Z,d,a,$,n),P=Ehe(e,iI,Z,d,a,$,n),i=B7n(e,b,E,C,P,Z,d,r),dh(Z,i.d),gh(Z,i.e),q7(i,aI),a=i,d=Z,$.c[$.c.length]=Z;return a}function zgt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,$9),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new vre))),It(e,$9,Dde,zt(uDe)),It(e,$9,Ny,lDe),It(e,$9,K4,8),It(e,$9,Rde,zt(P8t)),It(e,$9,JTe,zt(oDe)),It(e,$9,eSe,zt(cDe)),It(e,$9,DR,(er(),!1))}function Vgt(e,t,n,r){var i,a,h,d,b,E,C,P,$,K;for(h=c4(t.c,n,r),P=new M(t.a);P.a<P.c.c.length;){for(C=l(se(P),10),xs(C.n,h),K=new M(C.j);K.a<K.c.c.length;)for($=l(se(K),11),a=new M($.g);a.a<a.c.c.length;)for(i=l(se(a),17),T4(i.a,h),d=l(re(i,(Nt(),il)),74),d&&T4(d,h),E=new M(i.b);E.a<E.c.c.length;)b=l(se(E),70),xs(b.n,h);wt(e.a,C),C.a=e}}function Tkn(e,t){var n,r,i,a,h;if(Zr(t,"Node and Port Label Placement and Node Sizing",1),kJe((iA(),new oce(e,!0,!0,new Vee))),l(re(e,(mt(),Lu)),21).Hc((Pc(),dd)))for(a=l(re(e,(Nt(),g5)),21),i=a.Hc((Gh(),jB)),h=Zt(Xt(re(e,aIe))),r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),29),ya($s(new jn(null,new zn(n.a,16)),new zg),new Ctt(a,i,h));Br(t)}function Skn(e,t){var n,r,i,a,h,d;if(n=t.Hh(e.a),n&&(d=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),AW)),d!=null))switch(i=xV(d,mh(35)),r=t.Hj(),i==-1?(h=jA(e,Df(r)),a=d):i==0?(h=null,a=d.substr(1)):(h=d.substr(0,i),a=d.substr(i+1)),ry(tl(e,t))){case 2:case 3:return Ppn(e,r,h,a);case 0:case 4:case 5:case 6:return Npn(e,r,h,a)}return null}function H7e(e,t,n){var r,i,a,h,d;if(h=(Sc(),l(t,66).Oj()),Gp(e.e,t)){if(t.hi()&&AG(e,t,n,Le(t,99)&&(l(t,18).Bb&wc)!=0))return!1}else for(d=Wu(e.e.Tg(),t),r=l(e.g,119),a=0;a<e.i;++a)if(i=r[a],d.rl(i.ak()))return(h?hs(i,n):n==null?i.dd()==null:hs(n,i.dd()))?!1:(l(z6(e,a,h?l(n,72):Zg(t,n)),72),!0);return fi(e,h?l(n,72):Zg(t,n))}function iR(e){var t,n,r,i,a,h,d,b;if(e.d)throw ue(new pl((Lp(i0e),kfe+i0e.k+Efe)));for(e.c==(Dc(),hp)&&r_(e,jd),n=new M(e.a.a);n.a<n.c.c.length;)t=l(se(n),189),t.e=0;for(h=new M(e.a.b);h.a<h.c.c.length;)for(a=l(se(h),81),a.o=Oa,i=a.f.Kc();i.Ob();)r=l(i.Pb(),81),++r.d.e;for(w9n(e),b=new M(e.a.b);b.a<b.c.c.length;)d=l(se(b),81),d.k=!0;return e}function Ckn(e,t){var n,r,i,a,h,d,b,E;for(d=new Jdt(e),n=new sa,xa(n,t,n.c.b,n.c);n.b!=0;){for(r=l(n.b==0?null:(kr(n.b!=0),sd(n,n.a.a)),113),r.d.p=1,h=new M(r.e);h.a<h.c.c.length;)i=l(se(h),409),ydt(d,i),E=i.d,E.d.p==0&&xa(n,E,n.c.b,n.c);for(a=new M(r.b);a.a<a.c.c.length;)i=l(se(a),409),ydt(d,i),b=i.c,b.d.p==0&&xa(n,b,n.c.b,n.c)}return d}function qgt(e){var t,n,r,i,a;if(r=ot(Lt(nn(e,(Yi(),a7t)))),r!=1)for(gV(e,r*e.g,r*e.f),n=zin(Jcn((!e.c&&(e.c=new _t(lf,e,9,9)),e.c),new Vre)),a=Hv(M0(pe(de(B0,1),Ht,20,0,[(!e.n&&(e.n=new _t(_l,e,1,7)),e.n),(!e.c&&(e.c=new _t(lf,e,9,9)),e.c),n])));Ei(a);)i=l(hi(a),470),i.Gg(r*i.Dg(),r*i.Eg()),i.Fg(r*i.Cg(),r*i.Bg()),t=l(i.We(YDe),8),t&&(t.a*=r,t.b*=r)}function Akn(e,t,n,r,i){var a,h,d,b,E,C,P,$;for(h=new M(e.b);h.a<h.c.c.length;)for(a=l(se(h),29),$=qP(a.a),E=$,C=0,P=E.length;C<P;++C)switch(b=E[C],l(re(b,(Nt(),Yu)),163).g){case 1:txn(b),el(b,t),hft(b,!0,r);break;case 3:$_n(b),el(b,n),hft(b,!1,i)}for(d=new Ro(e.b,0);d.b<d.d.gc();)(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),29)).a.c.length==0&&wf(d)}function Mkn(e,t){var n,r,i,a,h,d,b;if(n=t.Hh(e.a),n&&(b=wi(W1((!n.b&&(n.b=new mf((Sn(),_c),ql,n)),n.b),OSe)),b!=null)){for(r=new yt,a=H4(b,"\\w"),h=0,d=a.length;h<d;++h)i=a[h],Tn(i,"##other")?wt(r,"!##"+jA(e,Df(t.Hj()))):Tn(i,"##local")?r.c[r.c.length]=null:Tn(i,jR)?wt(r,jA(e,Df(t.Hj()))):r.c[r.c.length]=i;return r}return In(),In(),Lc}function Lkn(e,t){var n,r,i,a;return n=new Fo,r=l(Of(ch(new jn(null,new zn(e.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[(I0(),t5),Hf]))),21),i=r.gc(),r=l(Of(ch(new jn(null,new zn(t.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[t5,Hf]))),21),a=r.gc(),i=i==1?1:0,a=a==1?1:0,i<a?-1:i==a?0:1}function Ikn(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(d=e.i,i=Zt(Xt(re(d,(Nt(),f5)))),C=0,r=0,E=new M(e.g);E.a<E.c.c.length;)b=l(se(E),17),h=pc(b),a=h&&i&&Zt(Xt(re(b,G2))),$=b.d.i,h&&a?++r:h&&!a?++C:cc($).e==d?++r:++C;for(n=new M(e.e);n.a<n.c.c.length;)t=l(se(n),17),h=pc(t),a=h&&i&&Zt(Xt(re(t,G2))),P=t.c.i,h&&a?++C:h&&!a?++r:cc(P).e==d?++C:++r;return C-r}function e_(e,t,n,r){this.e=e,this.k=l(re(e,(mt(),A_)),304),this.g=Ue(up,jm,10,t,0,1),this.b=Ue(Mo,dt,333,t,7,1),this.a=Ue(up,jm,10,t,0,1),this.d=Ue(Mo,dt,333,t,7,1),this.j=Ue(up,jm,10,t,0,1),this.i=Ue(Mo,dt,333,t,7,1),this.p=Ue(Mo,dt,333,t,7,1),this.n=Ue(Ya,dt,476,t,8,1),sP(this.n,(er(),!1)),this.f=Ue(Ya,dt,476,t,8,1),sP(this.f,!0),this.o=n,this.c=r}function Ugt(e,t){var n,r,i,a,h,d;if(!t.dc())if(l(t.Xb(0),286).d==(Uk(),s5))lwn(e,t);else for(r=t.Kc();r.Ob();){switch(n=l(r.Pb(),286),n.d.g){case 5:p9(e,n,wvn(e,n));break;case 0:p9(e,n,(h=n.f-n.c+1,d=(h-1)/2|0,n.c+d));break;case 4:p9(e,n,D0n(e,n));break;case 2:vht(n),p9(e,n,(a=h8e(n),a?n.c:n.f));break;case 1:vht(n),p9(e,n,(i=h8e(n),i?n.f:n.c))}a3n(n.a)}}function Okn(e,t){var n,r,i,a,h,d,b;if(!t.e){for(t.e=!0,r=t.d.a.ec().Kc();r.Ob();){if(n=l(r.Pb(),17),t.o&&t.d.a.gc()<=1){h=t.a.c,d=t.a.c+t.a.b,b=new en(h+(d-h)/2,t.b),zi(l(t.d.a.ec().Kc().Pb(),17).a,b);continue}if(i=l(Tr(t.c,n),459),i.b||i.c){pkn(e,n,t);continue}a=e.d==(e9(),KL)&&(i.d||i.e)&&S5n(e,t)&&t.d.a.gc()<=1,a?ZEn(n,t):Dxn(e,n,t)}t.k&&Ho(t.d,new n6)}}function z7e(e,t,n,r,i,a){var h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for($=a,d=(r+i)/2+$,oe=n*v.Math.cos(d),ye=n*v.Math.sin(d),je=oe-t.g/2,Pe=ye-t.f/2,dh(t,je),gh(t,Pe),P=e.a.jg(t),te=2*v.Math.acos(n/n+e.c),te<i-r?(K=te/P,h=(r+i-te)/2):(K=(i-r)/P,h=r),Z=$4(t),e.e&&(e.e.kg(e.d),e.e.lg(Z)),E=new M(Z);E.a<E.c.c.length;)b=l(se(E),33),C=e.a.jg(b),z7e(e,b,n+e.c,h,h+K*C,a),h+=K*C}function Dkn(e,t,n){var r;switch(r=n.q.getMonth(),t){case 5:Mi(e,pe(de(jt,1),dt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:Mi(e,pe(de(jt,1),dt,2,6,[Whe,Khe,Yhe,Xhe,Qk,Qhe,Zhe,Jhe,efe,tfe,nfe,rfe])[r]);break;case 3:Mi(e,pe(de(jt,1),dt,2,6,["Jan","Feb","Mar","Apr",Qk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:Jg(e,r+1,t)}}function phe(e,t){var n,r,i,a,h;if(Zr(t,"Network simplex",1),e.e.a.c.length<1){Br(t);return}for(a=new M(e.e.a);a.a<a.c.c.length;)i=l(se(a),121),i.e=0;for(h=e.e.a.c.length>=40,h&&y8n(e),E7n(e),rxn(e),n=iht(e),r=0;n&&r<e.f;)Rkn(e,n,n6n(e,n)),n=iht(e),++r;h&&Syn(e),e.a?m6n(e,jgt(e)):jgt(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,Br(t)}function Pkn(e,t,n,r){var i,a,h,d,b,E,C,P,$;for(b=new en(n,r),xo(b,l(re(t,(Kv(),CL)),8)),$=new M(t.e);$.a<$.c.c.length;)P=l(se($),144),xs(P.d,b),wt(e.e,P);for(d=new M(t.c);d.a<d.c.c.length;){for(h=l(se(d),282),a=new M(h.a);a.a<a.c.c.length;)i=l(se(a),559),xs(i.d,b);wt(e.c,h)}for(C=new M(t.d);C.a<C.c.c.length;)E=l(se(C),447),xs(E.d,b),wt(e.d,E)}function V7e(e,t){var n,r,i,a,h,d,b,E;for(b=new M(t.j);b.a<b.c.c.length;)for(d=l(se(b),11),i=new C0(d.b);Sl(i.a)||Sl(i.b);)r=l(Sl(i.a)?se(i.a):se(i.b),17),n=r.c==d?r.d:r.c,a=n.i,t!=a&&(E=l(re(r,(Nt(),bT)),19).a,E<0&&(E=0),h=a.p,e.b[h]==0&&(r.d==n?(e.a[h]-=E+1,e.a[h]<=0&&e.c[h]>0&&zi(e.f,a)):(e.c[h]-=E+1,e.c[h]<=0&&e.a[h]>0&&zi(e.e,a))))}function Nkn(e){var t,n,r,i,a,h,d,b,E;for(d=new Dv(l(ui(new r1),62)),E=Oa,n=new M(e.d);n.a<n.c.c.length;){for(t=l(se(n),222),E=t.c.c;d.a.c!=0&&(b=l(lun(d0n(d.a)),222),b.c.c+b.c.b<E);)KA(d.a,b)!=null;for(h=(i=new PA(new IA(new _(d.a).a).b),new p(i));iP(h.a.a);)a=(r=CV(h.a),l(r.cd(),222)),zi(a.b,t),zi(t.b,a);EU(d.a,t,(er(),z2))==null}}function Ggt(e,t,n){var r,i,a,h,d,b,E,C,P;for(a=new Nu(t.c.length),E=new M(t);E.a<E.c.c.length;)h=l(se(E),10),wt(a,e.b[h.c.p][h.p]);for(q7n(e,a,n),P=null;P=UEn(a);)N8n(e,l(P.a,233),l(P.b,233),a);for(t.c=Ue(xr,Ht,1,0,5,1),i=new M(a);i.a<i.c.c.length;)for(r=l(se(i),233),d=r.d,b=0,C=d.length;b<C;++b)h=d[b],t.c[t.c.length]=h,e.a[h.c.p][h.p].a=_0(r.g,r.d[0]).a}function q7e(e,t){var n,r,i,a;if(0<(Le(e,14)?l(e,14).gc():Np(e.Kc()))){if(i=t,1<i){for(--i,a=new Une,r=e.Kc();r.Ob();)n=l(r.Pb(),86),a=M0(pe(de(B0,1),Ht,20,0,[a,new Mv(n)]));return q7e(a,i)}if(i<0){for(a=new Gne,r=e.Kc();r.Ob();)n=l(r.Pb(),86),a=M0(pe(de(B0,1),Ht,20,0,[a,new Mv(n)]));if(0<(Le(a,14)?l(a,14).gc():Np(a.Kc())))return q7e(a,i)}}return l(wV(e.Kc()),86)}function sf(){sf=Ee,LT=new y6("DEFAULT_MINIMUM_SIZE",0),VB=new y6("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),eX=new y6("COMPUTE_PADDING",2),bI=new y6("OUTSIDE_NODE_LABELS_OVERHANG",3),tX=new y6("PORTS_OVERHANG",4),rX=new y6("UNIFORM_PORT_SPACING",5),nX=new y6("SPACE_EFFICIENT_PORT_LABELS",6),kpe=new y6("FORCE_TABULAR_NODE_LABELS",7),zB=new y6("ASYMMETRICAL",8)}function mhe(e,t){var n,r,i,a,h,d,b,E;if(t){if(n=(a=t.Tg(),a?Df(a).Nh().Jh(a):null),n){for(S2(e,t,n),i=t.Tg(),b=0,E=(i.i==null&&mg(i),i.i).length;b<E;++b)d=(r=(i.i==null&&mg(i),i.i),b>=0&&b<r.length?r[b]:null),d.Ij()&&!d.Jj()&&(Le(d,322)?Ubn(e,l(d,34),t,n):(h=l(d,18),h.Bb&Yl&&tyn(e,h,t,n)));t.kh()&&l(n,49).vh(l(t,49).qh())}return n}else return null}function Rkn(e,t,n){var r,i,a;if(!t.f)throw ue(new Jn("Given leave edge is no tree edge."));if(n.f)throw ue(new Jn("Given enter edge is a tree edge already."));for(t.f=!1,o4e(e.p,t),n.f=!0,Ga(e.p,n),r=n.e.e-n.d.e-n.a,Wue(e,n.e,t)||(r=-r),a=new M(e.e.a);a.a<a.c.c.length;)i=l(se(a),121),Wue(e,i,t)||(i.e+=r);e.j=1,ZC(e.c),K8e(e,l(se(new M(e.e.a)),121)),emt(e)}function Wgt(e,t){var n,r,i,a,h,d;if(d=l(re(t,(Nt(),ba)),98),d==(Ao(),gp)||d==Iu)for(i=new en(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,h=new M(e.a);h.a<h.c.c.length;)a=l(se(h),10),a.k==(gr(),La)&&(n=l(re(a,(mt(),Vl)),61),!(n!=(Mt(),fr)&&n!=nr)&&(r=ot(Lt(re(a,Yy))),d==gp&&(r*=i),a.n.b=r-l(re(a,Zy),8).b,_U(a,!1,!0)))}function Kgt(e,t,n,r){var i,a,h,d,b,E,C,P,$,K;if(tgn(e,t,n),a=t[n],K=r?(Mt(),nr):(Mt(),fr),Rsn(t.length,n,r)){for(i=t[r?n-1:n+1],g_e(e,i,r?(Oc(),Hu):(Oc(),Kh)),b=a,C=0,$=b.length;C<$;++C)h=b[C],Dke(e,h,K);for(g_e(e,a,r?(Oc(),Kh):(Oc(),Hu)),d=i,E=0,P=d.length;E<P;++E)h=d[E],h.e||Dke(e,h,AN(K))}else for(d=a,E=0,P=d.length;E<P;++E)h=d[E],Dke(e,h,K);return!1}function Bkn(e,t,n,r){var i,a,h,d,b,E,C;b=Ll(t,n),(n==(Mt(),Jr)||n==nr)&&(b=Le(b,152)?Ok(l(b,152)):Le(b,131)?l(b,131).a:Le(b,54)?new Rw(b):new n4(b)),h=!1;do for(i=!1,a=0;a<b.gc()-1;a++)E=l(b.Xb(a),11),d=l(b.Xb(a+1),11),g3n(e,E,d,r)&&(h=!0,Ace(e.a,l(b.Xb(a),11),l(b.Xb(a+1),11)),C=l(b.Xb(a+1),11),b._c(a+1,l(b.Xb(a),11)),b._c(a,C),i=!0);while(i);return h}function Fkn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;if(pf(e.e)){if(t!=n&&(i=l(e.g,119),K=i[n],h=K.ak(),Gp(e.e,h))){for(Z=Wu(e.e.Tg(),h),b=-1,d=-1,r=0,E=0,P=t>n?t:n;E<=P;++E)E==n?d=r++:(a=i[E],C=Z.rl(a.ak()),E==t&&(b=E==P&&!C?r-1:r),C&&++r);return $=l(vM(e,t,n),72),d!=b&&K7(e,new JP(e.e,7,h,St(d),K.dd(),b)),$}}else return l(Yue(e,t,n),72);return l(vM(e,t,n),72)}function jkn(e,t){var n,r,i,a,h,d,b;for(Zr(t,"Port order processing",1),b=l(re(e,(Nt(),oIe)),421),r=new M(e.b);r.a<r.c.c.length;)for(n=l(se(r),29),a=new M(n.a);a.a<a.c.c.length;)i=l(se(a),10),h=l(re(i,ba),98),d=i.j,h==(Ao(),tw)||h==gp||h==Iu?(In(),fo(d,dMe)):h!=V0&&h!=Eb&&(In(),fo(d,n5t),e2n(d),b==(sN(),yge)&&fo(d,t5t)),i.i=!0,U8e(i);Br(t)}function $kn(e){var t,n,r,i,a,h,d,b;for(b=new si,t=new Jse,h=e.Kc();h.Ob();)i=l(h.Pb(),10),d=Yw(tP(new r2,i),t),Gu(b.f,i,d);for(a=e.Kc();a.Ob();)for(i=l(a.Pb(),10),r=new Rr(zr($a(i).a.Kc(),new J));Ei(r);)n=l(hi(r),17),!pc(n)&&v1(o1(a1(s1(c1(new kd,v.Math.max(1,l(re(n,(Nt(),cIe)),19).a)),1),l(Tr(b,n.c.i),121)),l(Tr(b,n.d.i),121)));return t}function Ygt(){Ygt=Ee,$xt=ss(new eo,(vc(),Au),(Mc(),ZAe)),WIe=ss(new eo,Ku,_K),zxt=Vh(ss(new eo,Ku,MK),hl,AK),jxt=Vh(ss(ss(new eo,Ku,WAe),Au,KAe),hl,YAe),Vxt=ky(ky(zz(Vh(ss(new eo,Mg,DK),hl,OK),Au),IK),PK),Hxt=Vh(new eo,hl,JAe),Bxt=Vh(ss(ss(ss(new eo,gb,kK),Au,TK),Au,tT),hl,EK),Fxt=Vh(ss(ss(new eo,Au,tT),Au,yK),hl,wK)}function Hkn(e,t,n,r,i,a){var h,d,b,E,C,P,$;for(E=uut(t)-uut(e),h=jdt(t,E),b=qu(0,0,0);E>=0&&(d=z2n(e,h),!(d&&(E<22?b.l|=1<<E:E<44?b.m|=1<<E-22:b.h|=1<<E-44,e.l==0&&e.m==0&&e.h==0)));)C=h.m,P=h.h,$=h.l,h.h=P>>>1,h.m=C>>>1|(P&1)<<21,h.l=$>>>1|(C&1)<<21,--E;return n&&Ele(b),a&&(r?(hb=YE(e),i&&(hb=Glt(hb,(PE(),YSe)))):hb=qu(e.l,e.m,e.h)),b}function zkn(e,t){var n,r,i,a,h,d,b,E,C,P;for(E=e.e[t.c.p][t.p]+1,b=t.c.a.c.length+1,d=new M(e.a);d.a<d.c.c.length;){for(h=l(se(d),11),P=0,a=0,i=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(h),new ni(h)])));Ei(i);)r=l(hi(i),11),r.i.c==t.c&&(P+=Lsn(e,r.i)+1,++a);n=P/a,C=h.j,C==(Mt(),fr)?n<E?e.f[h.p]=e.c-n:e.f[h.p]=e.b+(b-n):C==nr&&(n<E?e.f[h.p]=e.b+n:e.f[h.p]=e.c-(b-n))}}function Bf(e,t,n){var r,i,a,h,d;if(e==null)throw ue(new cg(vh));for(a=e.length,h=a>0&&(yi(0,e.length),e.charCodeAt(0)==45||(yi(0,e.length),e.charCodeAt(0)==43))?1:0,r=h;r<a;r++)if(jht((yi(r,e.length),e.charCodeAt(r)))==-1)throw ue(new cg(Py+e+'"'));if(d=parseInt(e,10),i=d<t,isNaN(d))throw ue(new cg(Py+e+'"'));if(i||d>n)throw ue(new cg(Py+e+'"'));return d}function Vkn(e){var t,n,r,i,a,h,d;for(h=new sa,a=new M(e.a);a.a<a.c.c.length;)i=l(se(a),112),HD(i,i.f.c.length),FC(i,i.k.c.length),i.i==0&&(i.o=0,xa(h,i,h.c.b,h.c));for(;h.b!=0;)for(i=l(h.b==0?null:(kr(h.b!=0),sd(h,h.a.a)),112),r=i.o+1,n=new M(i.f);n.a<n.c.c.length;)t=l(se(n),129),d=t.a,iz(d,v.Math.max(d.o,r)),FC(d,d.i-1),d.i==0&&xa(h,d,h.c.b,h.c)}function qkn(e){var t,n,r,i,a,h,d,b;for(h=new M(e);h.a<h.c.c.length;){for(a=l(se(h),79),r=ul(l(Re((!a.b&&(a.b=new $n(Xr,a,4,7)),a.b),0),82)),d=r.i,b=r.j,i=l(Re((!a.a&&(a.a=new _t(aa,a,6,6)),a.a),0),202),mV(i,i.j+d,i.k+b),pV(i,i.b+d,i.c+b),n=new Ir((!i.a&&(i.a=new Ba(Vd,i,5)),i.a));n.e!=n.i.gc();)t=l(Ur(n),469),Q3e(t,t.a+d,t.b+b);txe(l(nn(a,(Yi(),B_)),74),d,b)}}function x9(e){var t;switch(e){case 100:return i_(_L,!0);case 68:return i_(_L,!1);case 119:return i_(g1e,!0);case 87:return i_(g1e,!1);case 115:return i_(p1e,!0);case 83:return i_(p1e,!1);case 99:return i_(m1e,!0);case 67:return i_(m1e,!1);case 105:return i_(v1e,!0);case 73:return i_(v1e,!1);default:throw ue(new Tl((t=e,lyt+t.toString(16))))}}function Ukn(e){var t,n,r,i,a;switch(i=l(Kt(e.a,0),10),t=new qp(e),wt(e.a,t),t.o.a=v.Math.max(1,i.o.a),t.o.b=v.Math.max(1,i.o.b),t.n.a=i.n.a,t.n.b=i.n.b,l(re(i,(mt(),Vl)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return r=new fu,Cl(r,t),n=new iy,a=l(Kt(i.j,0),11),ic(n,a),So(n,r),xs(z1(r.n),a.n),xs(z1(r.a),a.a),t}function Xgt(e,t,n,r,i){n&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.b],10).k==(gr(),kf)?Yk(l(e.a[e.b],10),(Rf(),fp)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.c-1&e.a.length-1],10).k==(gr(),kf)?Yk(l(e.a[e.c-1&e.a.length-1],10),(Rf(),xb)):(e.c-e.b&e.a.length-1)==2?(Yk(l(hM(e),10),(Rf(),fp)),Yk(l(hM(e),10),xb)):B6n(e,i),Z6e(e)}function Gkn(e,t,n){var r,i,a,h,d;for(a=0,i=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));i.e!=i.i.gc();)r=l(Ur(i),33),h="",(!r.n&&(r.n=new _t(_l,r,1,7)),r.n).i==0||(h=l(Re((!r.n&&(r.n=new _t(_l,r,1,7)),r.n),0),137).a),d=new Cle(a++,t,h),ll(d,r),ut(d,(Kl(),nI),r),d.e.b=r.j+r.f/2,d.f.a=v.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=v.Math.max(r.f,1),zi(t.b,d),Gu(n.f,r,d)}function Wkn(e){var t,n,r,i,a;r=l(re(e,(mt(),vs)),33),a=l(nn(r,(Nt(),W2)),174).Hc((xf(),nw)),e.e||(i=l(re(e,Lu),21),t=new en(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Hc((Pc(),dd))?(Uc(r,ba,(Ao(),Iu)),Iy(r,t.a,t.b,!1,!0)):Zt(Xt(nn(r,ige)))||Iy(r,t.a,t.b,!0,!0)),a?Uc(r,W2,kn(nw)):Uc(r,W2,(n=l(H1(vI),9),new ed(n,l(l1(n,n.length),9),0)))}function U7e(e,t,n){var r,i,a,h;if(t[0]>=e.length)return n.o=0,!0;switch($o(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],h=fG(e,t),h==0&&t[0]==a)return!1;if(t[0]<e.length&&$o(e,t[0])==58){if(r=h*60,++t[0],a=t[0],h=fG(e,t),h==0&&t[0]==a)return!1;r+=h}else r=h,r<24&&t[0]-a<=2?r*=60:r=r%100+(r/100|0)*60;return r*=i,n.o=-r,!0}function Kkn(e){var t,n,r,i,a,h,d,b,E;for(h=new yt,r=new Rr(zr($a(e.b).a.Kc(),new J));Ei(r);)n=l(hi(r),17),pc(n)&&wt(h,new Bat(n,xot(e,n.c),xot(e,n.d)));for(E=(a=new m0(e.e).a.vc().Kc(),new v0(a));E.a.Ob();)d=(t=l(E.a.Pb(),42),l(t.dd(),113)),d.d.p=0;for(b=(i=new m0(e.e).a.vc().Kc(),new v0(i));b.a.Ob();)d=(t=l(b.a.Pb(),42),l(t.dd(),113)),d.d.p==0&&wt(e.d,Ckn(e,d))}function Ykn(e){var t,n,r,i,a,h,d;for(a=x0(e),i=new Ir((!e.e&&(e.e=new $n(oo,e,7,4)),e.e));i.e!=i.i.gc();)if(r=l(Ur(i),79),d=ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82)),!E4(d,a))return!0;for(n=new Ir((!e.d&&(e.d=new $n(oo,e,8,5)),e.d));n.e!=n.i.gc();)if(t=l(Ur(n),79),h=ul(l(Re((!t.b&&(t.b=new $n(Xr,t,4,7)),t.b),0),82)),!E4(h,a))return!0;return!1}function Xkn(e){var t,n,r,i,a,h,d,b;for(b=new Th,t=$i(e,0),d=null,n=l(ji(t),8),i=l(ji(t),8);t.b!=t.d.c;)d=n,n=i,i=l(ji(t),8),a=pct(xo(new en(d.a,d.b),n)),h=pct(xo(new en(i.a,i.b),n)),r=10,r=v.Math.min(r,v.Math.abs(a.a+a.b)/2),r=v.Math.min(r,v.Math.abs(h.a+h.b)/2),a.a=DP(a.a)*r,a.b=DP(a.b)*r,h.a=DP(h.a)*r,h.b=DP(h.b)*r,zi(b,xs(a,n)),zi(b,xs(h,n));return b}function Ff(e,t,n,r){var i,a,h,d,b;return h=e.eh(),b=e.Zg(),i=null,b?t&&!(dhe(e,t,n).Bb&wc)?(r=lc(b.Vk(),e,r),e.uh(null),i=t.fh()):b=null:(h&&(b=h.fh()),t&&(i=t.fh())),b!=i&&b&&b.Zk(e),d=e.Vg(),e.Rg(t,n),b!=i&&i&&i.Yk(e),e.Lg()&&e.Mg()&&(h&&d>=0&&d!=n&&(a=new go(e,1,d,h,null),r?r.Ei(a):r=a),n>=0&&(a=new go(e,1,n,d==n?h:null,t),r?r.Ei(a):r=a)),r}function Qgt(e){var t,n,r;if(e.b==null){if(r=new wm,e.i!=null&&(zc(r,e.i),r.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(lhn(e.i)||(r.a+="//"),zc(r,e.a)),e.d!=null&&(r.a+="/",zc(r,e.d)),e.f&16&&(r.a+="/"),t=0,n=e.j.length;t<n;t++)t!=0&&(r.a+="/"),zc(r,e.j[t]);e.g!=null&&(r.a+="?",zc(r,e.g))}else zc(r,e.a);e.e!=null&&(r.a+="#",zc(r,e.e)),e.b=r.a}return e.b}function Qkn(e,t){var n,r,i,a,h,d;for(i=new M(t.a);i.a<i.c.c.length;)r=l(se(i),10),a=re(r,(mt(),vs)),Le(a,11)&&(h=l(a,11),d=mpt(t,r,h.o.a,h.o.b),h.n.a=d.a,h.n.b=d.b,Ka(h,l(re(r,Vl),61)));n=new en(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),l(re(t,(mt(),Lu)),21).Hc((Pc(),dd))?(ut(e,(Nt(),ba),(Ao(),Iu)),l(re(cc(e),Lu),21).Fc(fT),Jpt(e,n,!1)):Jpt(e,n,!0)}function Zkn(e,t,n){var r,i,a,h,d,b;if(Zr(n,"Minimize Crossings "+e.a,1),r=t.b.c.length==0||!nA($s(new jn(null,new zn(t.b,16)),new lt(new k7))).sd((i2(),J9)),b=t.b.c.length==1&&l(Kt(t.b,0),29).a.c.length==1,a=Je(re(t,(Nt(),h5)))===Je((Hp(),Xm)),r||b&&!a){Br(n);return}i=K_n(e,t),h=(d=l(Y1(i,0),214),d.c.Rf()?d.c.Lf()?new wWe(e):new yWe(e):new bWe(e)),Ypn(i,h),_mn(e),Br(n)}function Jkn(e,t,n,r){var i,a,h,d,b;if(b=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),i=li(Zo(ip,Xg(li(Zo(n==null?0:Ws(n),sp)),15))),d=oM(e,t,b),h=aM(e,n,i),d&&i==d.a&&dg(n,d.g))return n;if(h&&!r)throw ue(new Jn("key already present: "+n));return d&&X6(e,d),h&&X6(e,h),a=new sq(n,i,t,b),GN(e,a,h),h&&(h.e=null,h.c=null),d&&(d.e=null,d.c=null),Zft(e),d?d.g:null}function Zgt(e,t,n){var r,i,a,h,d;for(a=0;a<t;a++){for(r=0,d=a+1;d<t;d++)r=sc(sc(Zo(Wa(e[a],Nc),Wa(e[d],Nc)),Wa(n[a+d],Nc)),Wa(li(r),Nc)),n[a+d]=li(r),r=d4(r,32);n[a+t]=li(r)}for(Lgn(n,n,t<<1),r=0,i=0,h=0;i<t;++i,h++)r=sc(sc(Zo(Wa(e[i],Nc),Wa(e[i],Nc)),Wa(n[h],Nc)),Wa(li(r),Nc)),n[h]=li(r),r=d4(r,32),++h,r=sc(r,Wa(n[h],Nc)),n[h]=li(r),r=d4(r,32);return n}function Jgt(e,t,n){var r,i,a,h,d,b,E,C;if(!CE(t)){for(b=ot(Lt(L4(n.c,(Nt(),VL)))),E=l(L4(n.c,gB),142),!E&&(E=new WC),r=n.a,i=null,d=t.Kc();d.Ob();)h=l(d.Pb(),11),C=0,i?(C=b,C+=i.o.b):C=E.d,a=Yw(tP(new r2,h),e.f),ds(e.k,h,a),v1(o1(a1(s1(c1(new kd,0),Sa(v.Math.ceil(C))),r),a)),i=h,r=a;v1(o1(a1(s1(c1(new kd,0),Sa(v.Math.ceil(E.a+i.o.b))),r),n.d))}}function e8n(e,t,n,r,i,a,h,d){var b,E,C,P,$,K;return K=!1,$=a-n.s,C=n.t-t.f+(E=$M(n,$,!1),E.a),r.g+d>$?!1:(P=(b=$M(r,$,!1),b.a),C+d+P<=t.b&&(ZP(n,a-n.s),n.c=!0,ZP(r,a-n.s),PN(r,n.s,n.t+n.d+d),r.k=!0,rxe(n.q,r),K=!0,i&&(iU(t,r),r.j=t,e.c.length>h&&(jN((Un(h,e.c.length),l(e.c[h],200)),r),(Un(h,e.c.length),l(e.c[h],200)).a.c.length==0&&Sm(e,h)))),K)}function t8n(e,t){var n,r,i,a,h,d;if(Zr(t,"Partition midprocessing",1),i=new ay,ya($s(new jn(null,new zn(e.a,16)),new Wee),new Dw(i)),i.d!=0){for(d=l(Of(qit((a=i.i,new jn(null,(a||(i.i=new S6(i,i.c))).Nc()))),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),r=d.Kc(),n=l(r.Pb(),19);r.Ob();)h=l(r.Pb(),19),i_n(l(_s(i,n),21),l(_s(i,h),21)),n=h;Br(t)}}function ept(e,t,n){var r,i,a,h,d,b,E,C;if(t.p==0){for(t.p=1,h=n,h||(i=new yt,a=(r=l(H1(yc),9),new ed(r,l(l1(r,r.length),9),0)),h=new No(i,a)),l(h.a,15).Fc(t),t.k==(gr(),La)&&l(h.b,21).Fc(l(re(t,(mt(),Vl)),61)),b=new M(t.j);b.a<b.c.c.length;)for(d=l(se(b),11),C=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(d),new ni(d)])));Ei(C);)E=l(hi(C),11),ept(e,E.i,h);return h}return null}function RM(e,t){var n,r,i,a,h;if(e.Ab){if(e.Ab){if(h=e.Ab.i,h>0){if(i=l(e.Ab.g,1934),t==null){for(a=0;a<h;++a)if(n=i[a],n.d==null)return n}else for(a=0;a<h;++a)if(n=i[a],Tn(t,n.d))return n}}else if(t==null){for(r=new Ir(e.Ab);r.e!=r.i.gc();)if(n=l(Ur(r),590),n.d==null)return n}else for(r=new Ir(e.Ab);r.e!=r.i.gc();)if(n=l(Ur(r),590),Tn(t,n.d))return n}return null}function n8n(e,t){var n,r,i,a,h,d,b,E;if(E=Xt(re(t,(Ay(),bkt))),E==null||(Xn(E),E)){for(A5n(e,t),i=new yt,b=$i(t.b,0);b.b!=b.d.c;)h=l(ji(b),86),n=B8e(e,h,null),n&&(ll(n,t),i.c[i.c.length]=n);if(e.a=null,e.b=null,i.c.length>1)for(r=new M(i);r.a<r.c.c.length;)for(n=l(se(r),135),a=0,d=$i(n.b,0);d.b!=d.d.c;)h=l(ji(d),86),h.g=a++;return i}return S0(pe(de(dSn,1),JEe,135,0,[t]))}function r8n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;K=Udn(e,dxe(t),i),Q_e(K,Pp(i,Sg)),A=null,Z=i,te=ZA(Z,N2t),oe=new rKe(K),E3n(oe.a,te),ye=ZA(Z,"endPoint"),je=new oKe(K),k3n(je.a,ye),Pe=ly(Z,CW),We=new uKe(K),hyn(We.a,Pe),P=Pp(i,dSe),a=new TZe(e,K),Ran(a.a,a.b,P),$=Pp(i,fSe),h=new SZe(e,K),Ban(h.a,h.b,$),E=ly(i,pSe),d=new CZe(n,K),Y2n(d.b,d.a,E),C=ly(i,gSe),b=new AZe(r,K),X2n(b.b,b.a,C)}function G7e(e,t,n){var r,i,a,h,d;switch(d=null,t.g){case 1:for(i=new M(e.j);i.a<i.c.c.length;)if(r=l(se(i),11),Zt(Xt(re(r,(mt(),H0e)))))return r;d=new fu,ut(d,(mt(),H0e),(er(),!0));break;case 2:for(h=new M(e.j);h.a<h.c.c.length;)if(a=l(se(h),11),Zt(Xt(re(a,(mt(),V0e)))))return a;d=new fu,ut(d,(mt(),V0e),(er(),!0))}return d&&(Cl(d,e),Ka(d,n),Xbn(d.n,e.o,n)),d}function tpt(e,t){var n,r,i,a,h,d;for(d=-1,h=new sa,r=new C0(e.b);Sl(r.a)||Sl(r.b);){for(n=l(Sl(r.a)?se(r.a):se(r.b),17),d=v.Math.max(d,ot(Lt(re(n,(Nt(),qm))))),n.c==e?ya($s(new jn(null,new zn(n.b,16)),new Eee),new yu(h)):ya($s(new jn(null,new zn(n.b,16)),new Tee),new Ec(h)),a=$i(h,0);a.b!=a.d.c;)i=l(ji(a),70),so(i,(mt(),v8))||ut(i,v8,n);Fa(t,h),Sd(h)}return d}function i8n(e,t,n,r,i){var a,h,d,b;a=new qp(e),Cp(a,(gr(),Mu)),ut(a,(Nt(),ba),(Ao(),Iu)),ut(a,(mt(),vs),t.c.i),h=new fu,ut(h,vs,t.c),Ka(h,i),Cl(h,a),ut(t.c,Wh,a),d=new qp(e),Cp(d,Mu),ut(d,ba,Iu),ut(d,vs,t.d.i),b=new fu,ut(b,vs,t.d),Ka(b,i),Cl(b,d),ut(t.d,Wh,d),ic(t,h),So(t,b),b4(0,n.c.length),uA(n.c,0,a),r.c[r.c.length]=d,ut(a,QK,St(1)),ut(d,QK,St(1))}function My(e,t,n,r,i){var a,h,d,b,E;d=i?r.b:r.a,!Ap(e.a,r)&&(E=d>n.s&&d<n.c,b=!1,n.e.b!=0&&n.j.b!=0&&(b=b|(v.Math.abs(d-ot(Lt(doe(n.e))))<_g&&v.Math.abs(d-ot(Lt(doe(n.j))))<_g),b=b|(v.Math.abs(d-ot(Lt(SV(n.e))))<_g&&v.Math.abs(d-ot(Lt(SV(n.j))))<_g)),(E||b)&&(h=l(re(t,(Nt(),il)),74),h||(h=new Th,ut(t,il,h)),a=new Zc(r),xa(h,a,h.c.b,h.c),Ga(e.a,a)))}function s8n(e,t,n,r){var i,a,h,d,b,E,C;if(h5n(e,t,n,r))return!0;for(h=new M(t.f);h.a<h.c.c.length;){switch(a=l(se(h),324),d=!1,b=e.j-t.j+n,E=b+t.o,C=e.k-t.k+r,i=C+t.p,a.a.g){case 0:d=Ole(e,b+a.b.a,0,b+a.c.a,C-1);break;case 1:d=Ole(e,E,C+a.b.a,e.o-1,C+a.c.a);break;case 2:d=Ole(e,b+a.b.a,i,b+a.c.a,e.p-1);break;default:d=Ole(e,0,C+a.b.a,b-1,C+a.c.a)}if(d)return!0}return!1}function a8n(e,t){var n,r,i,a,h,d,b,E,C;for(h=new M(t.b);h.a<h.c.c.length;)for(a=l(se(h),29),E=new M(a.a);E.a<E.c.c.length;){for(b=l(se(E),10),C=new yt,d=0,r=new Rr(zr(bl(b).a.Kc(),new J));Ei(r);)n=l(hi(r),17),!(pc(n)||!pc(n)&&n.c.i.c==n.d.i.c)&&(i=l(re(n,(Nt(),k8)),19).a,i>d&&(d=i,C.c=Ue(xr,Ht,1,0,5,1)),i==d&&wt(C,new No(n.c.i,n)));In(),fo(C,e.c),f4(e.b,b.p,C)}}function o8n(e,t){var n,r,i,a,h,d,b,E,C;for(h=new M(t.b);h.a<h.c.c.length;)for(a=l(se(h),29),E=new M(a.a);E.a<E.c.c.length;){for(b=l(se(E),10),C=new yt,d=0,r=new Rr(zr($a(b).a.Kc(),new J));Ei(r);)n=l(hi(r),17),!(pc(n)||!pc(n)&&n.c.i.c==n.d.i.c)&&(i=l(re(n,(Nt(),k8)),19).a,i>d&&(d=i,C.c=Ue(xr,Ht,1,0,5,1)),i==d&&wt(C,new No(n.d.i,n)));In(),fo(C,e.c),f4(e.f,b.p,C)}}function npt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,Fy),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new $re))),It(e,Fy,Ny,kDe),It(e,Fy,K4,15),It(e,Fy,ER,St(0)),It(e,Fy,kW,zt(yDe)),It(e,Fy,c_,zt(W8t)),It(e,Fy,i8,zt(K8t)),It(e,Fy,r8,e2t),It(e,Fy,TR,zt(_De)),It(e,Fy,s8,zt(xDe)),It(e,Fy,nSe,zt(spe)),It(e,Fy,vW,zt(G8t))}function rpt(e,t){var n,r,i,a,h,d,b,E,C;if(i=e.i,h=i.o.a,a=i.o.b,h<=0&&a<=0)return Mt(),Dl;switch(E=e.n.a,C=e.n.b,d=e.o.a,n=e.o.b,t.g){case 2:case 1:if(E<0)return Mt(),nr;if(E+d>h)return Mt(),fr;break;case 4:case 3:if(C<0)return Mt(),Qn;if(C+n>a)return Mt(),Jr}return b=(E+d/2)/h,r=(C+n/2)/a,b+r<=1&&b-r<=0?(Mt(),nr):b+r>=1&&b-r>=0?(Mt(),fr):r<.5?(Mt(),Qn):(Mt(),Jr)}function c8n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(n=!1,C=ot(Lt(re(t,(Nt(),e3)))),Z=sb*C,i=new M(t.b);i.a<i.c.c.length;)for(r=l(se(i),29),E=new M(r.a),a=l(se(E),10),P=e6e(e.a[a.p]);E.a<E.c.c.length;)d=l(se(E),10),$=e6e(e.a[d.p]),P!=$&&(K=E6(e.b,a,d),h=a.n.b+a.o.b+a.d.a+P.a+K,b=d.n.b-d.d.d+$.a,h>b+Z&&(te=P.g+$.g,$.a=($.g*$.a+P.g*P.a)/te,$.g=te,P.f=$,n=!0)),a=d,P=$;return n}function ipt(e,t,n,r,i,a,h){var d,b,E,C,P,$;for($=new pk,E=t.Kc();E.Ob();)for(d=l(E.Pb(),839),P=new M(d.wf());P.a<P.c.c.length;)C=l(se(P),181),Je(C.We((Yi(),upe)))===Je((A0(),CT))&&(Bgt($,C,!1,r,i,a,h),AM(e,$));for(b=n.Kc();b.Ob();)for(d=l(b.Pb(),839),P=new M(d.wf());P.a<P.c.c.length;)C=l(se(P),181),Je(C.We((Yi(),upe)))===Je((A0(),_5))&&(Bgt($,C,!0,r,i,a,h),AM(e,$))}function l8n(e,t,n){var r,i,a,h,d,b,E;for(h=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));h.e!=h.i.gc();)for(a=l(Ur(h),33),i=new Rr(zr(Up(a).a.Kc(),new J));Ei(i);)r=l(hi(i),79),!IM(r)&&!IM(r)&&!Sy(r)&&(b=l(Bl(cl(n.f,a)),86),E=l(Tr(n,ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82))),86),b&&E&&(d=new E6e(b,E),ut(d,(Kl(),nI),r),ll(d,r),zi(b.d,d),zi(E.b,d),zi(t.a,d)))}function u8n(e,t){var n,r,i,a,h,d,b,E;for(b=l(l(_s(e.r,t),21),84).Kc();b.Ob();)d=l(b.Pb(),111),i=d.c?Qtt(d.c):0,i>0?d.a?(E=d.b.rf().b,i>E&&(e.v||d.c.d.c.length==1?(h=(i-E)/2,d.d.d=h,d.d.a=h):(n=l(Kt(d.c.d,0),181).rf().b,r=(n-E)/2,d.d.d=v.Math.max(0,r),d.d.a=i-r-E))):d.d.a=e.t+i:HA(e.u)&&(a=y8e(d.b),a.d<0&&(d.d.d=-a.d),a.d+a.a>d.b.rf().b&&(d.d.a=a.d+a.a-d.b.rf().b))}function h8n(e,t){var n;switch(aN(e)){case 6:return _o(t);case 7:return a4(t);case 8:return s4(t);case 3:return Array.isArray(t)&&(n=aN(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===Hhe;case 12:return t!=null&&(typeof t===uR||typeof t==Hhe);case 0:return uue(t,e.__elementTypeId$);case 2:return Koe(t)&&t.im!==nt;case 1:return Koe(t)&&t.im!==nt||uue(t,e.__elementTypeId$);default:return!0}}function spt(e,t){var n,r,i,a;return r=v.Math.min(v.Math.abs(e.c-(t.c+t.b)),v.Math.abs(e.c+e.b-t.c)),a=v.Math.min(v.Math.abs(e.d-(t.d+t.a)),v.Math.abs(e.d+e.a-t.d)),n=v.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(i=v.Math.abs(e.d+e.a/2-(t.d+t.a/2)),i>e.a/2+t.a/2)?1:n==0&&i==0?0:n==0?a/i+1:i==0?r/n+1:v.Math.min(r/n,a/i)+1}function apt(e,t){var n,r,i,a,h,d;return i=H_e(e),d=H_e(t),i==d?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(r=e.e-t.e,n=(e.d>0?e.d:v.Math.floor((e.a-1)*vvt)+1)-(t.d>0?t.d:v.Math.floor((t.a-1)*vvt)+1),n>r+1?i:n<r-1?-i:(a=(!e.c&&(e.c=EN(e.f)),e.c),h=(!t.c&&(t.c=EN(t.f)),t.c),r<0?a=O6(a,Apt(-r)):r>0&&(h=O6(h,Apt(r))),Fht(a,h))):i<d?-1:1}function f8n(e,t){var n,r,i,a,h,d,b;for(a=0,d=0,b=0,i=new M(e.f.e);i.a<i.c.c.length;)r=l(se(i),144),t!=r&&(h=e.i[t.b][r.b],a+=h,n=Wv(t.d,r.d),n>0&&e.d!=(nM(),e0e)&&(d+=h*(r.d.a+e.a[t.b][r.b]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(nM(),Z1e)&&(b+=h*(r.d.b+e.a[t.b][r.b]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new en(d/a,t.d.b);case 2:return new en(t.d.a,b/a);default:return new en(d/a,b/a)}}function opt(e,t){JE();var n,r,i,a,h;if(h=l(re(e.i,(Nt(),ba)),98),a=e.j.g-t.j.g,a!=0||!(h==(Ao(),tw)||h==gp||h==Iu))return 0;if(h==(Ao(),tw)&&(n=l(re(e,Um),19),r=l(re(t,Um),19),n&&r&&(i=n.a-r.a,i!=0)))return i;switch(e.j.g){case 1:return ja(e.n.a,t.n.a);case 2:return ja(e.n.b,t.n.b);case 3:return ja(t.n.a,e.n.a);case 4:return ja(t.n.b,e.n.b);default:throw ue(new pl(h9e))}}function cpt(e){var t,n,r,i,a,h;for(n=(!e.a&&(e.a=new Ba(Vd,e,5)),e.a).i+2,h=new Nu(n),wt(h,new en(e.j,e.k)),ya(new jn(null,(!e.a&&(e.a=new Ba(Vd,e,5)),new zn(e.a,16))),new eKe(h)),wt(h,new en(e.b,e.c)),t=1;t<h.c.length-1;)r=(Un(t-1,h.c.length),l(h.c[t-1],8)),i=(Un(t,h.c.length),l(h.c[t],8)),a=(Un(t+1,h.c.length),l(h.c[t+1],8)),r.a==i.a&&i.a==a.a||r.b==i.b&&i.b==a.b?Sm(h,t):++t;return h}function lpt(e,t){var n,r,i,a,h,d,b;for(n=uet(kQe(_Qe(xQe(new Cye,t),new mq(t.e)),s5t),e.a),t.j.c.length==0||Sot(l(Kt(t.j,0),57).a,n),b=new Qse,ds(e.e,n,b),h=new Ja,d=new Ja,a=new M(t.k);a.a<a.c.c.length;)i=l(se(a),17),Ga(h,i.c),Ga(d,i.d);r=h.a.gc()-d.a.gc(),r<0?(yN(b,!0,(Dc(),jd)),yN(b,!1,x1)):r>0&&(yN(b,!1,(Dc(),jd)),yN(b,!0,x1)),fh(t.g,new QQe(e,n)),ds(e.g,t,n)}function upt(){upt=Ee;var e;for(rCe=pe(de(ri,1),Pi,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),L1e=Ue(ri,Pi,25,37,15,1),Oyt=pe(de(ri,1),Pi,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),iCe=Ue(Db,dfe,25,37,14,1),e=2;e<=36;e++)L1e[e]=Sa(v.Math.pow(e,rCe[e])),iCe[e]=$N($G,L1e[e])}function d8n(e){var t;if((!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i!=1)throw ue(new Jn(w2t+(!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i));return t=new Th,bN(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82))&&mc(t,Gmt(e,bN(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82)),!1)),bN(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82))&&mc(t,Gmt(e,bN(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82)),!0)),t}function hpt(e,t){var n,r,i,a,h;for(t.d?i=e.a.c==(gg(),t3)?bl(t.b):$a(t.b):i=e.a.c==(gg(),Gm)?bl(t.b):$a(t.b),a=!1,r=new Rr(zr(i.a.Kc(),new J));Ei(r);)if(n=l(hi(r),17),h=Zt(e.a.f[e.a.g[t.b.p].p]),!(!h&&!pc(n)&&n.c.i.c==n.d.i.c)&&!(Zt(e.a.n[e.a.g[t.b.p].p])||Zt(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,Ap(e.b,e.a.g[k2n(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function g8n(e,t,n,r,i){var a,h,d,b,E,C,P;for(In(),fo(e,new Kre),d=new Ro(e,0),P=new yt,a=0;d.b<d.d.gc();)h=(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),157)),P.c.length!=0&&Mh(h)*vf(h)>a*2?(C=new tU(P),E=Mh(h)/vf(h),b=Bhe(C,t,new sk,n,r,i,E),xs(z1(C.e),b),P.c=Ue(xr,Ht,1,0,5,1),a=0,P.c[P.c.length]=C,P.c[P.c.length]=h,a=Mh(C)*vf(C)+Mh(h)*vf(h)):(P.c[P.c.length]=h,a+=Mh(h)*vf(h));return P}function W7e(e,t,n){var r,i,a,h,d,b,E;if(r=n.gc(),r==0)return!1;if(e.ej())if(b=e.fj(),cke(e,t,n),h=r==1?e.Zi(3,null,n.Kc().Pb(),t,b):e.Zi(5,null,n,t,b),e.bj()){for(d=r<100?null:new Iv(r),a=t+r,i=t;i<a;++i)E=e.Oi(i),d=e.cj(E,d),d=d;d?(d.Ei(h),d.Fi()):e.$i(h)}else e.$i(h);else if(cke(e,t,n),e.bj()){for(d=r<100?null:new Iv(r),a=t+r,i=t;i<a;++i)d=e.cj(e.Oi(i),d);d&&d.Fi()}return!0}function fpt(e,t,n){var r,i,a,h,d;return e.ej()?(i=null,a=e.fj(),r=e.Zi(1,d=(h=e.Ui(t,e.oi(t,n)),h),n,t,a),e.bj()&&!(e.ni()&&d?hs(d,n):Je(d)===Je(n))&&(d&&(i=e.dj(d,i)),i=e.cj(n,i)),i?(i.Ei(r),i.Fi()):e.$i(r),d):(d=(h=e.Ui(t,e.oi(t,n)),h),e.bj()&&!(e.ni()&&d?hs(d,n):Je(d)===Je(n))&&(i=null,d&&(i=e.dj(d,null)),i=e.cj(n,i),i&&i.Fi()),d)}function K7e(e,t){var n,r,i,a,h,d,b,E,C;if(e.e=t,e.f=l(re(t,(Kv(),pK)),230),Qyn(t),e.d=v.Math.max(t.e.c.length*16+t.c.c.length,256),!Zt(Xt(re(t,(X1(),oAe)))))for(C=e.e.e.c.length,b=new M(t.e);b.a<b.c.c.length;)d=l(se(b),144),E=d.d,E.a=$5e(e.f)*C,E.b=$5e(e.f)*C;for(n=t.b,a=new M(t.c);a.a<a.c.c.length;)if(i=l(se(a),282),r=l(re(i,fAe),19).a,r>0){for(h=0;h<r;h++)wt(n,new Znt(i));_1t(i)}}function Yk(e,t){var n,r,i,a,h,d;if(e.k==(gr(),kf)&&(n=nA($s(l(re(e,(mt(),lB)),15).Oc(),new lt(new lD))).sd((i2(),J9))?t:(Rf(),RB),ut(e,w8,n),n!=(Rf(),xb)))for(r=l(re(e,vs),17),d=ot(Lt(re(r,(Nt(),qm)))),h=0,n==fp?h=e.o.b-v.Math.ceil(d/2):n==RB&&(e.o.b-=ot(Lt(re(cc(e),E8))),h=(e.o.b-v.Math.ceil(d))/2),a=new M(e.j);a.a<a.c.c.length;)i=l(se(a),11),i.n.b=h}function Y7e(){Y7e=Ee,_ae(),WEt=new BH,pe(de(O8,2),dt,368,0,[pe(de(O8,1),UW,592,0,[new XD(Jwt)])]),pe(de(O8,2),dt,368,0,[pe(de(O8,1),UW,592,0,[new XD(RSe)])]),pe(de(O8,2),dt,368,0,[pe(de(O8,1),UW,592,0,[new XD(eyt)]),pe(de(O8,1),UW,592,0,[new XD(RSe)])]),new Fv("-1"),pe(de(O8,2),dt,368,0,[pe(de(O8,1),UW,592,0,[new XD("\\c+")])]),new Fv("0"),new Fv("0"),new Fv("1"),new Fv("0"),new Fv(ayt)}function CG(e){var t,n;return e.c&&e.c.kh()&&(n=l(e.c,49),e.c=l(Zv(e,n),138),e.c!=n&&(e.Db&4&&!(e.Db&1)&&us(e,new go(e,9,2,n,e.c)),Le(e.Cb,399)?e.Db>>16==-15&&e.Cb.nh()&&Jce(new Yce(e.Cb,9,13,n,e.c,Pm(ef(l(e.Cb,59)),e))):Le(e.Cb,88)&&e.Db>>16==-23&&e.Cb.nh()&&(t=e.c,Le(t,88)||(t=(Sn(),Wd)),Le(n,88)||(n=(Sn(),Wd)),Jce(new Yce(e.Cb,9,10,n,t,Pm(hu(l(e.Cb,26)),e)))))),e.c}function p8n(e,t){var n,r,i,a,h,d,b,E,C,P;for(Zr(t,"Hypernodes processing",1),i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),d=new M(r.a);d.a<d.c.c.length;)if(h=l(se(d),10),Zt(Xt(re(h,(Nt(),cY))))&&h.j.c.length<=2){for(P=0,C=0,n=0,a=0,E=new M(h.j);E.a<E.c.c.length;)switch(b=l(se(E),11),b.j.g){case 1:++P;break;case 2:++C;break;case 3:++n;break;case 4:++a}P==0&&n==0&&bTn(e,h,a<=C)}Br(t)}function m8n(e,t){var n,r,i,a,h,d,b,E,C;for(Zr(t,"Layer constraint edge reversal",1),h=new M(e.b);h.a<h.c.c.length;){for(a=l(se(h),29),C=-1,n=new yt,E=qP(a.a),i=0;i<E.length;i++)r=l(re(E[i],(mt(),q2)),303),C==-1?r!=(Fp(),T_)&&(C=i):r==(Fp(),T_)&&(el(E[i],null),D4(E[i],C++,a)),r==(Fp(),p8)&&wt(n,E[i]);for(b=new M(n);b.a<b.c.c.length;)d=l(se(b),10),el(d,null),el(d,a)}Br(t)}function v8n(e,t,n){var r,i,a,h,d,b,E,C,P;for(Zr(n,"Hyperedge merging",1),U5n(e,t),b=new Ro(t.b,0);b.b<b.d.gc();)if(d=(kr(b.b<b.d.gc()),l(b.d.Xb(b.c=b.b++),29)),C=d.a,C.c.length!=0)for(r=null,i=null,a=null,h=null,E=0;E<C.c.length;E++)r=(Un(E,C.c.length),l(C.c[E],10)),i=r.k,i==(gr(),po)&&h==po&&(P=h7n(r,a),P.a&&(yxn(r,a,P.b,P.c),Un(E,C.c.length),s3e(C.c,E,1),--E,r=a,i=h)),a=r,h=i;Br(n)}function b8n(e,t){var n,r,i;r=rf(e.d,1)!=0,!Zt(Xt(re(t.j,(mt(),Wy))))&&!Zt(Xt(re(t.j,C_)))||Je(re(t.j,(Nt(),vb)))===Je(($p(),bb))?t.c.Tf(t.e,r):r=Zt(Xt(re(t.j,Wy))),eR(e,t,r,!0),Zt(Xt(re(t.j,C_)))&&ut(t.j,C_,(er(),!1)),Zt(Xt(re(t.j,Wy)))&&(ut(t.j,Wy,(er(),!1)),ut(t.j,C_,!0)),n=Rgt(e,t);do{if(J_e(e),n==0)return 0;r=!r,i=n,eR(e,t,r,!1),n=Rgt(e,t)}while(i>n);return i}function dpt(e,t){var n,r,i;r=rf(e.d,1)!=0,!Zt(Xt(re(t.j,(mt(),Wy))))&&!Zt(Xt(re(t.j,C_)))||Je(re(t.j,(Nt(),vb)))===Je(($p(),bb))?t.c.Tf(t.e,r):r=Zt(Xt(re(t.j,Wy))),eR(e,t,r,!0),Zt(Xt(re(t.j,C_)))&&ut(t.j,C_,(er(),!1)),Zt(Xt(re(t.j,Wy)))&&(ut(t.j,Wy,(er(),!1)),ut(t.j,C_,!0)),n=Uue(e,t);do{if(J_e(e),n==0)return 0;r=!r,i=n,eR(e,t,r,!1),n=Uue(e,t)}while(i>n);return i}function gpt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;if(t==n)return!0;if(t=r7e(e,t),n=r7e(e,n),r=vue(t),r){if(C=vue(n),C!=r)return C?(b=r.Dj(),Z=C.Dj(),b==Z&&b!=null):!1;if(h=(!t.d&&(t.d=new Ba(Fc,t,1)),t.d),a=h.i,$=(!n.d&&(n.d=new Ba(Fc,n,1)),n.d),a==$.i){for(E=0;E<a;++E)if(i=l(Re(h,E),87),P=l(Re($,E),87),!gpt(e,i,P))return!1}return!0}else return d=t.e,K=n.e,d==K}function ppt(e,t,n,r){var i,a,h,d,b,E,C,P;if(Gp(e.e,t)){for(P=Wu(e.e.Tg(),t),a=l(e.g,119),C=null,b=-1,d=-1,i=0,E=0;E<e.i;++E)h=a[E],P.rl(h.ak())&&(i==n&&(b=E),i==r&&(d=E,C=h.dd()),++i);if(b==-1)throw ue(new Qc(e1e+n+F2+i));if(d==-1)throw ue(new Qc(t1e+r+F2+i));return vM(e,b,d),pf(e.e)&&K7(e,Uv(e,7,t,St(r),C,n,!0)),C}else throw ue(new Jn("The feature must be many-valued to support move"))}function mpt(e,t,n,r){var i,a,h,d,b;switch(b=new Zc(t.n),b.a+=t.o.a/2,b.b+=t.o.b/2,d=ot(Lt(re(t,(Nt(),d5)))),a=e.f,h=e.d,i=e.c,l(re(t,(mt(),Vl)),61).g){case 1:b.a+=h.b+i.a-n/2,b.b=-r-d,t.n.b=-(h.d+d+i.b);break;case 2:b.a=a.a+h.b+h.c+d,b.b+=h.d+i.b-r/2,t.n.a=a.a+h.c+d-i.a;break;case 3:b.a+=h.b+i.a-n/2,b.b=a.b+h.d+h.a+d,t.n.b=a.b+h.a+d-i.b;break;case 4:b.a=-n-d,b.b+=h.d+i.b-r/2,t.n.a=-(h.b+d+i.a)}return b}function vpt(e){var t,n,r,i,a,h;return r=new V_e,ll(r,e),Je(re(r,(Nt(),zf)))===Je((Dc(),hp))&&ut(r,zf,OU(r)),re(r,(Fq(),oI))==null&&(h=l(Odt(e),160),ut(r,oI,hV(h.We(oI)))),ut(r,(mt(),vs),e),ut(r,Lu,(t=l(H1(P0e),9),new ed(t,l(l1(t,t.length),9),0))),i=a9n((ua(e)&&(r4(),new J3(ua(e))),r4(),new uoe(ua(e)?new J3(ua(e)):null,e)),x1),a=l(re(r,nIe),116),n=r.d,Eit(n,a),Eit(n,i),r}function w8n(e,t,n){var r,i;r=t.c.i,i=n.d.i,r.k==(gr(),po)?(ut(e,(mt(),e0),l(re(r,e0),11)),ut(e,Fd,l(re(r,Fd),11)),ut(e,o5,Xt(re(r,o5)))):r.k==kf?(ut(e,(mt(),e0),l(re(r,e0),11)),ut(e,Fd,l(re(r,Fd),11)),ut(e,o5,(er(),!0))):i.k==kf?(ut(e,(mt(),e0),l(re(i,e0),11)),ut(e,Fd,l(re(i,Fd),11)),ut(e,o5,(er(),!0))):(ut(e,(mt(),e0),t.c),ut(e,Fd,n.d))}function y8n(e){var t,n,r,i,a,h,d;for(e.o=new g6,r=new sa,h=new M(e.e.a);h.a<h.c.c.length;)a=l(se(h),121),$6(a).c.length==1&&xa(r,a,r.c.b,r.c);for(;r.b!=0;)a=l(r.b==0?null:(kr(r.b!=0),sd(r,r.a.a)),121),$6(a).c.length!=0&&(t=l(Kt($6(a),0),213),n=a.g.a.c.length>0,d=NU(t,a),E4e(n?d.b:d.g,t),$6(d).c.length==1&&xa(r,d,r.c.b,r.c),i=new No(a,t),Gv(e.o,i),uh(e.e.a,a))}function bpt(e,t){var n,r,i,a,h,d,b;return r=v.Math.abs(JV(e.b).a-JV(t.b).a),d=v.Math.abs(JV(e.b).b-JV(t.b).b),i=0,b=0,n=1,h=1,r>e.b.b/2+t.b.b/2&&(i=v.Math.min(v.Math.abs(e.b.c-(t.b.c+t.b.b)),v.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-i/r),d>e.b.a/2+t.b.a/2&&(b=v.Math.min(v.Math.abs(e.b.d-(t.b.d+t.b.a)),v.Math.abs(e.b.d+e.b.a-t.b.d)),h=1-b/d),a=v.Math.min(n,h),(1-a)*v.Math.sqrt(r*r+d*d)}function _8n(e){var t,n,r,i;for(Rhe(e,e.e,e.f,(sy(),yb),!0,e.c,e.i),Rhe(e,e.e,e.f,yb,!1,e.c,e.i),Rhe(e,e.e,e.f,P_,!0,e.c,e.i),Rhe(e,e.e,e.f,P_,!1,e.c,e.i),k8n(e,e.c,e.e,e.f,e.i),r=new Ro(e.i,0);r.b<r.d.gc();)for(t=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),128)),i=new Ro(e.i,r.b);i.b<i.d.gc();)n=(kr(i.b<i.d.gc()),l(i.d.Xb(i.c=i.b++),128)),tEn(t,n);kTn(e.i,l(re(e.d,(mt(),y8)),230)),FEn(e.i)}function vhe(e,t){var n,r;if(t!=null){if(r=Ty(e),r)if(r.i&1){if(r==uf)return s4(t);if(r==ri)return Le(t,19);if(r==M5)return Le(t,155);if(r==Rh)return Le(t,217);if(r==md)return Le(t,172);if(r==Eo)return a4(t);if(r==U_)return Le(t,184);if(r==Db)return Le(t,162)}else return Vz(),n=l(Tr(hX,r),55),!n||n.wj(t);else if(Le(t,56))return e.uk(l(t,56))}return!1}function X7e(){X7e=Ee;var e,t,n,r,i,a,h,d,b;for(G0=Ue(Rh,d_,25,255,15,1),tv=Ue(md,bg,25,64,15,1),t=0;t<255;t++)G0[t]=-1;for(n=90;n>=65;n--)G0[n]=n-65<<24>>24;for(r=122;r>=97;r--)G0[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)G0[i]=i-48+52<<24>>24;for(G0[43]=62,G0[47]=63,a=0;a<=25;a++)tv[a]=65+a&Aa;for(h=26,b=0;h<=51;++h,b++)tv[h]=97+b&Aa;for(e=52,d=0;e<=61;++e,d++)tv[e]=48+d&Aa;tv[62]=43,tv[63]=47}function x8n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(e.dc())return new Qo;for(E=0,P=0,i=e.Kc();i.Ob();)r=l(i.Pb(),37),a=r.f,E=v.Math.max(E,a.a),P+=a.a*a.b;for(E=v.Math.max(E,v.Math.sqrt(P)*ot(Lt(re(l(e.Kc().Pb(),37),(Nt(),tY))))),$=0,K=0,b=0,n=t,d=e.Kc();d.Ob();)h=l(d.Pb(),37),C=h.f,$+C.a>E&&($=0,K+=b+t,b=0),NM(h,$,K),n=v.Math.max(n,$+C.a),b=v.Math.max(b,C.b),$+=C.a+t;return new en(n+t,K+b+t)}function k8n(e,t,n,r,i){var a,h,d,b,E,C,P;for(h=new M(t);h.a<h.c.c.length;){if(a=l(se(h),17),b=a.c,n.a._b(b))E=(sy(),yb);else if(r.a._b(b))E=(sy(),P_);else throw ue(new Jn("Source port must be in one of the port sets."));if(C=a.d,n.a._b(C))P=(sy(),yb);else if(r.a._b(C))P=(sy(),P_);else throw ue(new Jn("Target port must be in one of the port sets."));d=new u1t(a,E,P),ds(e.b,a,d),i.c[i.c.length]=d}}function Q7e(e,t){var n,r,i,a,h,d,b;if(!x0(e))throw ue(new pl(b2t));if(r=x0(e),a=r.g,i=r.f,a<=0&&i<=0)return Mt(),Dl;switch(d=e.i,b=e.j,t.g){case 2:case 1:if(d<0)return Mt(),nr;if(d+e.g>a)return Mt(),fr;break;case 4:case 3:if(b<0)return Mt(),Qn;if(b+e.f>i)return Mt(),Jr}return h=(d+e.g/2)/a,n=(b+e.f/2)/i,h+n<=1&&h-n<=0?(Mt(),nr):h+n>=1&&h-n>=0?(Mt(),fr):n<.5?(Mt(),Qn):(Mt(),Jr)}function E8n(e,t,n,r,i){var a,h;if(a=sc(Wa(t[0],Nc),Wa(r[0],Nc)),e[0]=li(a),a=$v(a,32),n>=i){for(h=1;h<i;h++)a=sc(a,sc(Wa(t[h],Nc),Wa(r[h],Nc))),e[h]=li(a),a=$v(a,32);for(;h<n;h++)a=sc(a,Wa(t[h],Nc)),e[h]=li(a),a=$v(a,32)}else{for(h=1;h<n;h++)a=sc(a,sc(Wa(t[h],Nc),Wa(r[h],Nc))),e[h]=li(a),a=$v(a,32);for(;h<i;h++)a=sc(a,Wa(r[h],Nc)),e[h]=li(a),a=$v(a,32)}nu(a,0)!=0&&(e[h]=li(a))}function z4(e){rs();var t,n,r,i,a,h;if(e.e!=4&&e.e!=5)throw ue(new Jn("Token#complementRanges(): must be RANGE: "+e.e));for(a=e,Y6(a),HM(a),r=a.b.length+2,a.b[0]==0&&(r-=2),n=a.b[a.b.length-1],n==W9&&(r-=2),i=new If(4),i.b=Ue(ri,Pi,25,r,15,1),h=0,a.b[0]>0&&(i.b[h++]=0,i.b[h++]=a.b[0]-1),t=1;t<a.b.length-2;t+=2)i.b[h++]=a.b[t]+1,i.b[h++]=a.b[t+1]-1;return n!=W9&&(i.b[h++]=n+1,i.b[h]=W9),i.a=!0,i}function bhe(e,t,n){var r,i,a,h,d,b,E,C;if(r=n.gc(),r==0)return!1;if(e.ej())if(E=e.fj(),Rue(e,t,n),h=r==1?e.Zi(3,null,n.Kc().Pb(),t,E):e.Zi(5,null,n,t,E),e.bj()){for(d=r<100?null:new Iv(r),a=t+r,i=t;i<a;++i)C=e.g[i],d=e.cj(C,d),d=e.jj(C,d);d?(d.Ei(h),d.Fi()):e.$i(h)}else e.$i(h);else if(Rue(e,t,n),e.bj()){for(d=r<100?null:new Iv(r),a=t+r,i=t;i<a;++i)b=e.g[i],d=e.cj(b,d);d&&d.Fi()}return!0}function Z7e(e,t,n,r){var i,a,h,d,b;for(h=new M(e.k);h.a<h.c.c.length;)i=l(se(h),129),(!r||i.c==(V1(),wb))&&(b=i.b,b.g<0&&i.d>0&&(HD(b,b.d-i.d),i.c==(V1(),wb)&&iye(b,b.a-i.d),b.d<=0&&b.i>0&&xa(t,b,t.c.b,t.c)));for(a=new M(e.f);a.a<a.c.c.length;)i=l(se(a),129),(!r||i.c==(V1(),wb))&&(d=i.a,d.g<0&&i.d>0&&(FC(d,d.i-i.d),i.c==(V1(),wb)&&Iw(d,d.b-i.d),d.i<=0&&d.d>0&&xa(n,d,n.c.b,n.c)))}function T8n(e,t,n){var r,i,a,h,d,b,E,C;for(Zr(n,"Processor compute fanout",1),qh(e.b),qh(e.a),d=null,a=$i(t.b,0);!d&&a.b!=a.d.c;)E=l(ji(a),86),Zt(Xt(re(E,(Kl(),w5))))&&(d=E);for(b=new sa,xa(b,d,b.c.b,b.c),Mmt(e,b),C=$i(t.b,0);C.b!=C.d.c;)E=l(ji(C),86),h=wi(re(E,(Kl(),tI))),i=xu(e.b,h)!=null?l(xu(e.b,h),19).a:0,ut(E,AY,St(i)),r=1+(xu(e.a,h)!=null?l(xu(e.a,h),19).a:0),ut(E,okt,St(r));Br(n)}function S8n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z;for($=lyn(e,n),b=0;b<t;b++){for(u4(i,n),K=new yt,Z=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),407)),C=$+b;C<e.b;C++)d=Z,Z=(kr(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),407)),wt(K,new W0t(d,Z,n));for(P=$+b;P<e.b;P++)kr(r.b>0),r.a.Xb(r.c=--r.b),P>$+b&&wf(r);for(h=new M(K);h.a<h.c.c.length;)a=l(se(h),407),u4(r,a);if(b<t-1)for(E=$+b;E<e.b;E++)kr(r.b>0),r.a.Xb(r.c=--r.b)}}function C8n(){rs();var e,t,n,r,i,a;if(jpe)return jpe;for(e=new If(4),V4(e,ib(b1e,!0)),VM(e,ib("M",!0)),VM(e,ib("C",!0)),a=new If(4),r=0;r<11;r++)Tu(a,r,r);return t=new If(4),V4(t,ib("M",!0)),Tu(t,4448,4607),Tu(t,65438,65439),i=new CA(2),L2(i,e),L2(i,MI),n=new CA(2),n.$l(GV(a,ib("L",!0))),n.$l(t),n=new w4(3,n),n=new o6e(i,n),jpe=n,jpe}function A8n(e){var t,n;if(t=wi(nn(e,(Yi(),cI))),!Plt(t,e)&&!g2(e,TT)&&((!e.a&&(e.a=new _t(fa,e,10,11)),e.a).i!=0||Zt(Xt(nn(e,OB)))))if(t==null||N4(t).length==0){if(!Plt(mr,e))throw n=Mi(Mi(new Af("Unable to load default layout algorithm "),mr)," for unconfigured node "),PG(e,n),ue(new p6(n.a))}else throw n=Mi(Mi(new Af("Layout algorithm '"),t),"' not found for "),PG(e,n),ue(new p6(n.a))}function whe(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;if(n=e.i,t=e.n,e.b==0)for(K=n.c+t.b,$=n.b-t.b-t.c,h=e.a,b=0,C=h.length;b<C;++b)i=h[b],KV(i,K,$);else r=mft(e,!1),KV(e.a[0],n.c+t.b,r[0]),KV(e.a[2],n.c+n.b-t.c-r[2],r[2]),P=n.b-t.b-t.c,r[0]>0&&(P-=r[0]+e.c,r[0]+=e.c),r[2]>0&&(P-=r[2]+e.c),r[1]=v.Math.max(r[1],P),KV(e.a[1],n.c+t.b+r[0]-(r[1]-P)/2,r[1]);for(a=e.a,d=0,E=a.length;d<E;++d)i=a[d],Le(i,326)&&l(i,326).Te()}function M8n(e){var t,n,r,i,a,h,d,b,E,C,P;for(P=new Nne,P.d=0,h=new M(e.b);h.a<h.c.c.length;)a=l(se(h),29),P.d+=a.a.c.length;for(r=0,i=0,P.a=Ue(ri,Pi,25,e.b.c.length,15,1),E=0,C=0,P.e=Ue(ri,Pi,25,P.d,15,1),n=new M(e.b);n.a<n.c.c.length;)for(t=l(se(n),29),t.p=r++,P.a[t.p]=i++,C=0,b=new M(t.a);b.a<b.c.c.length;)d=l(se(b),10),d.p=E++,P.e[d.p]=C++;return P.c=new FWe(P),P.b=Gg(P.d),a8n(P,e),P.f=Gg(P.d),o8n(P,e),P}function wpt(e,t){var n,r,i,a;for(a=l(Kt(e.n,e.n.c.length-1),211).d,e.p=v.Math.min(e.p,t.g),e.r=v.Math.max(e.r,a),e.g=v.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=v.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=v.Math.max(e.f,t.f),i=e.n.c.length>0?(e.n.c.length-1)*e.i:0,r=new M(e.n);r.a<r.c.c.length;)n=l(se(r),211),i+=n.a;e.d=i,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),jke(e.j)}function ypt(e,t){var n,r,i,a,h,d,b,E,C,P;if(C=Xt(re(t,(X1(),d4t))),C==null||(Xn(C),C)){for(P=Ue(uf,op,25,t.e.c.length,16,1),h=_5n(t),i=new sa,E=new M(t.e);E.a<E.c.c.length;)d=l(se(E),144),n=p7e(e,d,null,null,P,h),n&&(ll(n,t),xa(i,n,i.c.b,i.c));if(i.b>1)for(r=$i(i,0);r.b!=r.d.c;)for(n=l(ji(r),231),a=0,b=new M(n.e);b.a<b.c.c.length;)d=l(se(b),144),d.b=a++;return i}return S0(pe(de(aSn,1),JEe,231,0,[t]))}function mg(e){var t,n,r,i,a,h,d;if(!e.g){if(d=new Jb,t=kI,h=t.a.zc(e,t),h==null){for(r=new Ir(ol(e));r.e!=r.i.gc();)n=l(Ur(r),26),ga(d,mg(n));t.a.Bc(e)!=null,t.a.gc()==0}for(i=d.i,a=(!e.s&&(e.s=new _t(_h,e,21,17)),new Ir(e.s));a.e!=a.i.gc();++i)Ose(l(Ur(a),449),i);ga(d,(!e.s&&(e.s=new _t(_h,e,21,17)),e.s)),C4(d),e.g=new lut(e,d),e.i=l(d.g,247),e.i==null&&(e.i=Ope),e.p=null,Jh(e).b&=-5}return e.g}function yhe(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z;if(r=e.i,n=e.n,e.b==0)t=pft(e,!1),YV(e.a[0],r.d+n.d,t[0]),YV(e.a[2],r.d+r.a-n.a-t[2],t[2]),$=r.a-n.d-n.a,P=$,t[0]>0&&(t[0]+=e.c,P-=t[0]),t[2]>0&&(P-=t[2]+e.c),t[1]=v.Math.max(t[1],P),YV(e.a[1],r.d+n.d+t[0]-(t[1]-P)/2,t[1]);else for(Z=r.d+n.d,K=r.a-n.d-n.a,h=e.a,b=0,C=h.length;b<C;++b)i=h[b],YV(i,Z,K);for(a=e.a,d=0,E=a.length;d<E;++d)i=a[d],Le(i,326)&&l(i,326).Ue()}function L8n(e){var t,n,r,i,a,h,d,b,E,C;for(C=Ue(ri,Pi,25,e.b.c.length+1,15,1),E=new Ja,r=0,a=new M(e.b);a.a<a.c.c.length;){for(i=l(se(a),29),C[r++]=E.a.gc(),b=new M(i.a);b.a<b.c.c.length;)for(h=l(se(b),10),n=new Rr(zr($a(h).a.Kc(),new J));Ei(n);)t=l(hi(n),17),E.a.zc(t,E);for(d=new M(i.a);d.a<d.c.c.length;)for(h=l(se(d),10),n=new Rr(zr(bl(h).a.Kc(),new J));Ei(n);)t=l(hi(n),17),E.a.Bc(t)!=null}return C}function AG(e,t,n,r){var i,a,h,d,b;if(b=Wu(e.e.Tg(),t),i=l(e.g,119),Sc(),l(t,66).Oj()){for(h=0;h<e.i;++h)if(a=i[h],b.rl(a.ak())&&hs(a,n))return!0}else if(n!=null){for(d=0;d<e.i;++d)if(a=i[d],b.rl(a.ak())&&hs(n,a.dd()))return!0;if(r){for(h=0;h<e.i;++h)if(a=i[h],b.rl(a.ak())&&Je(n)===Je(poe(e,l(a.dd(),56))))return!0}}else for(h=0;h<e.i;++h)if(a=i[h],b.rl(a.ak())&&a.dd()==null)return!1;return!1}function _pt(e,t,n,r){var i,a,h,d,b,E;if(E=Wu(e.e.Tg(),t),h=l(e.g,119),Gp(e.e,t)){if(t.hi()&&(a=k9(e,t,r,Le(t,99)&&(l(t,18).Bb&wc)!=0),a>=0&&a!=n))throw ue(new Jn(NR));for(i=0,b=0;b<e.i;++b)if(d=h[b],E.rl(d.ak())){if(i==n)return l(z6(e,b,(Sc(),l(t,66).Oj()?l(r,72):Zg(t,r))),72);++i}throw ue(new Qc(dL+n+F2+i))}else{for(b=0;b<e.i;++b)if(d=h[b],E.rl(d.ak()))return Sc(),l(t,66).Oj()?d:d.dd();return null}}function xpt(e,t,n,r){var i,a,h,d;for(d=n,h=new M(t.a);h.a<h.c.c.length;){if(a=l(se(h),221),i=l(a.b,65),yy(e.b.c,i.b.c+i.b.b)<=0&&yy(i.b.c,e.b.c+e.b.b)<=0&&yy(e.b.d,i.b.d+i.b.a)<=0&&yy(i.b.d,e.b.d+e.b.a)<=0){if(yy(i.b.c,e.b.c+e.b.b)==0&&r.a<0||yy(i.b.c+i.b.b,e.b.c)==0&&r.a>0||yy(i.b.d,e.b.d+e.b.a)==0&&r.b<0||yy(i.b.d+i.b.a,e.b.d)==0&&r.b>0){d=0;break}}else d=v.Math.min(d,x1t(e,i,r));d=v.Math.min(d,xpt(e,a,d,r))}return d}function sR(e,t){var n,r,i,a,h,d,b;if(e.b<2)throw ue(new Jn("The vector chain must contain at least a source and a target point."));for(i=(kr(e.b!=0),l(e.a.a.c,8)),mV(t,i.a,i.b),b=new mk((!t.a&&(t.a=new Ba(Vd,t,5)),t.a)),h=$i(e,1);h.a<e.b-1;)d=l(ji(h),8),b.e!=b.i.gc()?n=l(Ur(b),469):(n=(Hw(),r=new _v,r),kht(b,n)),Q3e(n,d.a,d.b);for(;b.e!=b.i.gc();)Ur(b),SM(b);a=(kr(e.b!=0),l(e.c.b.c,8)),pV(t,a.a,a.b)}function kpt(e,t){var n,r,i,a,h,d,b,E,C;for(n=0,i=new M((Un(0,e.c.length),l(e.c[0],101)).g.b.j);i.a<i.c.c.length;)r=l(se(i),11),r.p=n++;for(t==(Mt(),Qn)?fo(e,new Vte):fo(e,new qte),d=0,C=e.c.length-1;d<C;)h=(Un(d,e.c.length),l(e.c[d],101)),E=(Un(C,e.c.length),l(e.c[C],101)),a=t==Qn?h.c:h.a,b=t==Qn?E.a:E.c,Em(h,t,(L0(),sT),a),Em(E,t,iT,b),++d,--C;d==C&&Em((Un(d,e.c.length),l(e.c[d],101)),t,(L0(),d8),null)}function I8n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;return P=e.a.i+e.a.g/2,$=e.a.i+e.a.g/2,Z=t.i+t.g/2,oe=t.j+t.f/2,d=new en(Z,oe),E=l(nn(t,(Yi(),A8)),8),E.a=E.a+P,E.b=E.b+$,a=(d.b-E.b)/(d.a-E.a),r=d.b-a*d.a,te=n.i+n.g/2,ye=n.j+n.f/2,b=new en(te,ye),C=l(nn(n,A8),8),C.a=C.a+P,C.b=C.b+$,h=(b.b-C.b)/(b.a-C.a),i=b.b-h*b.a,K=(r-i)/(h-a),E.a<K&&d.a<K||K<E.a&&K<d.a?!1:!(C.a<K&&b.a<K||K<C.a&&K<b.a)}function O8n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if($=l(Tr(e.c,t),183),!$)throw ue(new og("Edge did not exist in input."));return E=o9($),a=QD((!t.a&&(t.a=new _t(aa,t,6,6)),t.a)),d=!a,d&&(K=new gm,n=new Mtt(e,E,K),Bin((!t.a&&(t.a=new _t(aa,t,6,6)),t.a),n),U1($,hSe,K)),i=g2(t,(Yi(),B_)),i&&(C=l(nn(t,B_),74),h=!C||grt(C),b=!h,b&&(P=new gm,r=new yKe(P),Ho(C,r),U1($,"junctionPoints",P))),pE($,"container",zP(t).k),null}function J7e(e,t,n){var r,i,a,h,d,b,E,C;this.a=e,this.b=t,this.c=n,this.e=S0(pe(de(rSn,1),Ht,168,0,[new hk(e,t),new hk(t,n),new hk(n,e)])),this.f=S0(pe(de(ao,1),dt,8,0,[e,t,n])),this.d=(r=xo(Fl(this.b),this.a),i=xo(Fl(this.c),this.a),a=xo(Fl(this.c),this.b),h=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),d=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),b=2*(r.a*a.b-r.b*a.a),E=(i.b*h-r.b*d)/b,C=(r.a*d-i.a*h)/b,new en(E,C))}function Ept(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;if($=new p4(e.p),U1(t,Ki,$),n&&!(e.f?FP(e.f):null).a.dc())for(C=new gm,U1(t,"logs",C),d=0,Z=new L((e.f?FP(e.f):null).b.Kc());Z.b.Ob();)K=wi(Z.b.Pb()),P=new p4(K),x4(C,d),Dce(C,d,P),++d;if(r&&(E=new BC(e.q),U1(t,"executionTime",E)),!FP(e.a).a.dc())for(h=new gm,U1(t,Qde,h),d=0,a=new L(FP(e.a).b.Kc());a.b.Ob();)i=l(a.b.Pb(),1949),b=new ak,x4(h,d),Dce(h,d,b),Ept(i,b,n,r),++d}function Ly(e,t){var n,r,i,a,h,d;for(a=e.c,h=e.d,ic(e,null),So(e,null),t&&Zt(Xt(re(h,(mt(),H0e))))?ic(e,G7e(h.i,(Oc(),Hu),(Mt(),fr))):ic(e,h),t&&Zt(Xt(re(a,(mt(),V0e))))?So(e,G7e(a.i,(Oc(),Kh),(Mt(),nr))):So(e,a),r=new M(e.b);r.a<r.c.c.length;)n=l(se(r),70),i=l(re(n,(Nt(),Ig)),272),i==(A0(),CT)?ut(n,Ig,_5):i==_5&&ut(n,Ig,CT);d=Zt(Xt(re(e,(mt(),$0)))),ut(e,$0,(er(),!d)),e.a=xN(e.a)}function D8n(e,t,n){var r,i,a,h,d,b;for(r=0,a=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));a.e!=a.i.gc();)i=l(Ur(a),33),h="",(!i.n&&(i.n=new _t(_l,i,1,7)),i.n).i==0||(h=l(Re((!i.n&&(i.n=new _t(_l,i,1,7)),i.n),0),137).a),d=new art(h),ll(d,i),ut(d,(Kv(),f8),i),d.b=r++,d.d.a=i.i+i.g/2,d.d.b=i.j+i.f/2,d.e.a=v.Math.max(i.g,1),d.e.b=v.Math.max(i.f,1),wt(t.e,d),Gu(n.f,i,d),b=l(nn(i,(X1(),hAe)),98),b==(Ao(),Eb)&&(b=V0)}function P8n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;n=Yw(new r2,e.f),E=e.i[t.c.i.p],K=e.i[t.d.i.p],b=t.c,$=t.d,d=b.a.b,P=$.a.b,E.b||(d+=b.n.b),K.b||(P+=$.n.b),C=Sa(v.Math.max(0,d-P)),h=Sa(v.Math.max(0,P-d)),Z=(te=v.Math.max(1,l(re(t,(Nt(),k8)),19).a),oe=Y6e(t.c.i.k,t.d.i.k),te*oe),i=v1(o1(a1(s1(c1(new kd,Z),h),n),l(Tr(e.k,t.c),121))),a=v1(o1(a1(s1(c1(new kd,Z),C),n),l(Tr(e.k,t.d),121))),r=new aZe(i,a),e.c[t.p]=r}function N8n(e,t,n,r){var i,a,h,d,b,E;for(h=new Qpt(e,t,n),b=new Ro(r,0),i=!1;b.b<b.d.gc();)d=(kr(b.b<b.d.gc()),l(b.d.Xb(b.c=b.b++),233)),d==t||d==n?wf(b):!i&&ot(_0(d.g,d.d[0]).a)>ot(_0(h.g,h.d[0]).a)?(kr(b.b>0),b.a.Xb(b.c=--b.b),u4(b,h),i=!0):d.e&&d.e.gc()>0&&(a=(!d.e&&(d.e=new yt),d.e).Mc(t),E=(!d.e&&(d.e=new yt),d.e).Mc(n),(a||E)&&((!d.e&&(d.e=new yt),d.e).Fc(h),++h.c));i||(r.c[r.c.length]=h)}function Tpt(e){var t,n,r;if(x6(l(re(e,(Nt(),ba)),98)))for(n=new M(e.j);n.a<n.c.c.length;)t=l(se(n),11),t.j==(Mt(),Dl)&&(r=l(re(t,(mt(),Wh)),10),r?Ka(t,l(re(r,Vl),61)):t.e.c.length-t.g.c.length<0?Ka(t,fr):Ka(t,nr));else{for(n=new M(e.j);n.a<n.c.c.length;)t=l(se(n),11),r=l(re(t,(mt(),Wh)),10),r?Ka(t,l(re(r,Vl),61)):t.e.c.length-t.g.c.length<0?Ka(t,(Mt(),fr)):Ka(t,(Mt(),nr));ut(e,ba,(Ao(),MT))}}function aR(e){var t,n,r;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:r="\\"+String.fromCharCode(e&Aa);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:e<32?(n=(t=e>>>0,"0"+t.toString(16)),r="\\x"+Mf(n,n.length-2,n.length)):e>=wc?(n=(t=e>>>0,"0"+t.toString(16)),r="\\v"+Mf(n,n.length-6,n.length)):r=""+String.fromCharCode(e&Aa)}return r}function _he(e,t){var n,r,i,a,h,d,b,E,C,P;if(h=e.e,b=t.e,b==0)return e;if(h==0)return t.e==0?t:new C6(-t.e,t.d,t.a);if(a=e.d,d=t.d,a+d==2)return n=Wa(e.a[0],Nc),r=Wa(t.a[0],Nc),h<0&&(n=DE(n)),b<0&&(r=DE(r)),DN(Jv(n,r));if(i=a!=d?a>d?1:-1:Lxe(e.a,t.a,a),i==-1)P=-b,C=h==b?Vce(t.a,d,e.a,a):Uce(t.a,d,e.a,a);else if(P=h,h==b){if(i==0)return rb(),Q9;C=Vce(e.a,a,t.a,d)}else C=Uce(e.a,a,t.a,d);return E=new C6(P,C.length,C),XA(E),E}function eEe(e){var t,n,r,i,a,h;for(this.e=new yt,this.a=new yt,n=e.b-1;n<3;n++)hE(e,0,l(Y1(e,0),8));if(e.b<4)throw ue(new Jn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,y6n(this,e.b+this.b-1),h=new yt,a=new M(this.e),t=0;t<this.b-1;t++)wt(h,Lt(se(a)));for(i=$i(e,0);i.b!=i.d.c;)r=l(ji(i),8),wt(h,Lt(se(a))),wt(this.a,new fit(r,h)),Un(0,h.c.length),h.c.splice(0,1)}function Spt(e,t){var n,r,i,a,h,d,b,E,C;for(a=new M(e.b);a.a<a.c.c.length;)for(i=l(se(a),29),d=new M(i.a);d.a<d.c.c.length;)for(h=l(se(d),10),h.k==(gr(),kf)&&(b=(E=l(hi(new Rr(zr(bl(h).a.Kc(),new J))),17),C=l(hi(new Rr(zr($a(h).a.Kc(),new J))),17),!Zt(Xt(re(E,(mt(),$0))))||!Zt(Xt(re(C,$0)))?t:tut(t)),Yk(h,b)),r=new Rr(zr($a(h).a.Kc(),new J));Ei(r);)n=l(hi(r),17),b=Zt(Xt(re(n,(mt(),$0))))?tut(t):t,Klt(n,b)}function R8n(e,t,n,r,i){var a,h,d;if(n.f>=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(h=l(Kt(t.n,t.n.c.length-1),211),h.e+h.d+n.g+i<=r&&(a=l(Kt(t.n,t.n.c.length-1),211),a.f-e.f+n.f<=e.b||e.a.c.length==1))return Jxe(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+i<=e.b||e.a.c.length==1))return wt(t.b,n),d=l(Kt(t.n,t.n.c.length-1),211),wt(t.n,new _q(t.s,d.f+d.a+t.i,t.i)),Nke(l(Kt(t.n,t.n.c.length-1),211),n),wpt(t,n),!0}return!1}function Cpt(e,t,n){var r,i,a,h;return e.ej()?(i=null,a=e.fj(),r=e.Zi(1,h=tle(e,t,n),n,t,a),e.bj()&&!(e.ni()&&h!=null?hs(h,n):Je(h)===Je(n))?(h!=null&&(i=e.dj(h,i)),i=e.cj(n,i),e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)):(e.ij()&&(i=e.lj(h,n,i)),i?(i.Ei(r),i.Fi()):e.$i(r)),h):(h=tle(e,t,n),e.bj()&&!(e.ni()&&h!=null?hs(h,n):Je(h)===Je(n))&&(i=null,h!=null&&(i=e.dj(h,null)),i=e.cj(n,i),i&&i.Fi()),h)}function BM(e,t){var n,r,i,a,h,d,b,E;t%=24,e.q.getHours()!=t&&(r=new v.Date(e.q.getTime()),r.setDate(r.getDate()+1),d=e.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(b=d/60|0,E=d%60,i=e.q.getDate(),n=e.q.getHours(),n+b>=24&&++i,a=new v.Date(e.q.getFullYear(),e.q.getMonth(),i,t+b,e.q.getMinutes()+E,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(a.getTime()))),h=e.q.getTime(),e.q.setTime(h+36e5),e.q.getHours()!=t&&e.q.setTime(h)}function B8n(e,t){var n,r,i,a,h;if(Zr(t,"Path-Like Graph Wrapping",1),e.b.c.length==0){Br(t);return}if(i=new o7e(e),h=(i.i==null&&(i.i=exe(i,new z$)),ot(i.i)*i.f),n=h/(i.i==null&&(i.i=exe(i,new z$)),ot(i.i)),i.b>n){Br(t);return}switch(l(re(e,(Nt(),lge)),337).g){case 2:a=new q$;break;case 0:a=new H$;break;default:a=new U$}if(r=a.Vf(e,i),!a.Wf())switch(l(re(e,pY),338).g){case 2:r=k1t(i,r);break;case 1:r=xdt(i,r)}P7n(e,i,r),Br(t)}function F8n(e,t){var n,r,i,a;if(xfn(e.d,e.e),e.c.a.$b(),ot(Lt(re(t.j,(Nt(),iY))))!=0||ot(Lt(re(t.j,iY)))!=0)for(n=R9,Je(re(t.j,vb))!==Je(($p(),bb))&&ut(t.j,(mt(),Wy),(er(),!0)),a=l(re(t.j,qL),19).a,i=0;i<a&&(r=b8n(e,t),!(r<n&&(n=r,dlt(e),n==0)));i++);else for(n=as,Je(re(t.j,vb))!==Je(($p(),bb))&&ut(t.j,(mt(),Wy),(er(),!0)),a=l(re(t.j,qL),19).a,i=0;i<a&&(r=dpt(e,t),!(r<n&&(n=r,dlt(e),n==0)));i++);}function j8n(e,t){var n,r,i,a,h,d,b,E;for(h=new yt,d=0,n=0,b=0;d<t.c.length-1&&n<e.gc();){for(r=l(e.Xb(n),19).a+b;(Un(d+1,t.c.length),l(t.c[d+1],19)).a<r;)++d;for(E=0,a=r-(Un(d,t.c.length),l(t.c[d],19)).a,i=(Un(d+1,t.c.length),l(t.c[d+1],19)).a-r,a>i&&++E,wt(h,(Un(d+E,t.c.length),l(t.c[d+E],19))),b+=(Un(d+E,t.c.length),l(t.c[d+E],19)).a-r,++n;n<e.gc()&&l(e.Xb(n),19).a+b<=(Un(d+E,t.c.length),l(t.c[d+E],19)).a;)++n;d+=1+E}return h}function xhe(e){var t,n,r,i,a,h,d;if(!e.d){if(d=new a6,t=kI,a=t.a.zc(e,t),a==null){for(r=new Ir(ol(e));r.e!=r.i.gc();)n=l(Ur(r),26),ga(d,xhe(n));t.a.Bc(e)!=null,t.a.gc()==0}for(h=d.i,i=(!e.q&&(e.q=new _t(Ud,e,11,10)),new Ir(e.q));i.e!=i.i.gc();++h)l(Ur(i),399);ga(d,(!e.q&&(e.q=new _t(Ud,e,11,10)),e.q)),C4(d),e.d=new _6((l(Re(rt((Vv(),Gn).o),9),18),d.i),d.g),e.e=l(d.g,673),e.e==null&&(e.e=gEt),Jh(e).b&=-17}return e.d}function k9(e,t,n,r){var i,a,h,d,b,E;if(E=Wu(e.e.Tg(),t),b=0,i=l(e.g,119),Sc(),l(t,66).Oj()){for(h=0;h<e.i;++h)if(a=i[h],E.rl(a.ak())){if(hs(a,n))return b;++b}}else if(n!=null){for(d=0;d<e.i;++d)if(a=i[d],E.rl(a.ak())){if(hs(n,a.dd()))return b;++b}if(r){for(b=0,h=0;h<e.i;++h)if(a=i[h],E.rl(a.ak())){if(Je(n)===Je(poe(e,l(a.dd(),56))))return b;++b}}}else for(h=0;h<e.i;++h)if(a=i[h],E.rl(a.ak())){if(a.dd()==null)return b;++b}return-1}function $8n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K;for(In(),fo(e,new Wre),h=IP(e),K=new yt,$=new yt,d=null,b=0;h.b!=0;)a=l(h.b==0?null:(kr(h.b!=0),sd(h,h.a.a)),157),!d||Mh(d)*vf(d)/2<Mh(a)*vf(a)?(d=a,K.c[K.c.length]=a):(b+=Mh(a)*vf(a),$.c[$.c.length]=a,$.c.length>1&&(b>Mh(d)*vf(d)/2||h.b==0)&&(P=new tU($),C=Mh(d)/vf(d),E=Bhe(P,t,new sk,n,r,i,C),xs(z1(P.e),E),d=P,K.c[K.c.length]=P,b=0,$.c=Ue(xr,Ht,1,0,5,1)));return Fa(K,$),K}function H8n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te;if(n.mh(t)&&(C=(K=t,K?l(r,49).xh(K):null),C))if(te=n.bh(t,e.a),Z=t.t,Z>1||Z==-1)if(P=l(te,69),$=l(C,69),P.dc())$.$b();else for(h=!!Ac(t),a=0,d=e.a?P.Kc():P.Zh();d.Ob();)E=l(d.Pb(),56),i=l(uy(e,E),56),i?(h?(b=$.Xc(i),b==-1?$.Xh(a,i):a!=b&&$.ji(a,i)):$.Xh(a,i),++a):e.b&&!h&&($.Xh(a,E),++a);else te==null?C.Wb(null):(i=uy(e,te),i==null?e.b&&!Ac(t)&&C.Wb(te):C.Wb(i))}function z8n(e,t){var n,r,i,a,h,d,b,E;for(n=new Pee,i=new Rr(zr(bl(t).a.Kc(),new J));Ei(i);)if(r=l(hi(i),17),!pc(r)&&(d=r.c.i,v8e(d,bK))){if(E=O7e(e,d,bK,vK),E==-1)continue;n.b=v.Math.max(n.b,E),!n.a&&(n.a=new yt),wt(n.a,d)}for(h=new Rr(zr($a(t).a.Kc(),new J));Ei(h);)if(a=l(hi(h),17),!pc(a)&&(b=a.d.i,v8e(b,vK))){if(E=O7e(e,b,vK,bK),E==-1)continue;n.d=v.Math.max(n.d,E),!n.c&&(n.c=new yt),wt(n.c,b)}return n}function Apt(e){m9();var t,n,r,i;if(t=Sa(e),e<EL.length)return EL[t];if(e<=50)return XN((rb(),D1e),t);if(e<=Fm)return Ik(XN(h8[1],t),t);if(e>1e6)throw ue(new Ez("power of ten too big"));if(e<=as)return Ik(XN(h8[1],t),t);for(r=XN(h8[1],as),i=r,n=ph(e-as),t=Sa(e%as);nu(n,as)>0;)i=O6(i,r),n=Jv(n,as);for(i=O6(i,XN(h8[1],t)),i=Ik(i,as),n=ph(e-as);nu(n,as)>0;)i=Ik(i,as),n=Jv(n,as);return i=Ik(i,t),i}function V8n(e,t){var n,r,i,a,h,d,b,E,C;for(Zr(t,"Hierarchical port dummy size processing",1),b=new yt,C=new yt,r=ot(Lt(re(e,(Nt(),L_)))),n=r*2,a=new M(e.b);a.a<a.c.c.length;){for(i=l(se(a),29),b.c=Ue(xr,Ht,1,0,5,1),C.c=Ue(xr,Ht,1,0,5,1),d=new M(i.a);d.a<d.c.c.length;)h=l(se(d),10),h.k==(gr(),La)&&(E=l(re(h,(mt(),Vl)),61),E==(Mt(),Qn)?b.c[b.c.length]=h:E==Jr&&(C.c[C.c.length]=h));e0t(b,!0,n),e0t(C,!1,n)}Br(t)}function q8n(e,t){var n,r,i,a,h,d,b;Zr(t,"Layer constraint postprocessing",1),b=e.b,b.c.length!=0&&(r=(Un(0,b.c.length),l(b.c[0],29)),h=l(Kt(b,b.c.length-1),29),n=new Td(e),a=new Td(e),Akn(e,r,h,n,a),n.a.c.length==0||(b4(0,b.c.length),uA(b.c,0,n)),a.a.c.length==0||(b.c[b.c.length]=a)),so(e,(mt(),$0e))&&(i=new Td(e),d=new Td(e),Axn(e,i,d),i.a.c.length==0||(b4(0,b.c.length),uA(b.c,0,i)),d.a.c.length==0||(b.c[b.c.length]=d)),Br(t)}function Mpt(e){var t,n,r,i,a,h,d,b,E,C;for(b=new M(e.a);b.a<b.c.c.length;)if(d=l(se(b),10),d.k==(gr(),La)&&(i=l(re(d,(mt(),Vl)),61),i==(Mt(),fr)||i==nr))for(r=new Rr(zr(zp(d).a.Kc(),new J));Ei(r);)n=l(hi(r),17),t=n.a,t.b!=0&&(E=n.c,E.i==d&&(a=(kr(t.b!=0),l(t.a.a.c,8)),a.b=Ml(pe(de(ao,1),dt,8,0,[E.i.n,E.n,E.a])).b),C=n.d,C.i==d&&(h=(kr(t.b!=0),l(t.c.b.c,8)),h.b=Ml(pe(de(ao,1),dt,8,0,[C.i.n,C.n,C.a])).b))}function U8n(e,t){var n,r,i,a,h,d,b;for(Zr(t,"Sort By Input Model "+re(e,(Nt(),vb)),1),i=0,r=new M(e.b);r.a<r.c.c.length;){for(n=l(se(r),29),b=i==0?0:i-1,d=l(Kt(e.b,b),29),h=new M(n.a);h.a<h.c.c.length;)a=l(se(h),10),Je(re(a,ba))!==Je((Ao(),tw))&&Je(re(a,ba))!==Je(Iu)&&(In(),fo(a.j,new Wot(d,Uft(a))),a2(t,"Node "+a+" ports: "+a.j));In(),fo(n.a,new mlt(d,l(re(e,vb),339),l(re(e,OLe),378))),a2(t,"Layer "+i+": "+n),++i}Br(t)}function G8n(e,t){var n,r,i,a;if(a=vpt(t),ya(new jn(null,(!t.c&&(t.c=new _t(lf,t,9,9)),new zn(t.c,16))),new ir(a)),i=l(re(a,(mt(),Lu)),21),WEn(t,i),i.Hc((Pc(),dd)))for(r=new Ir((!t.c&&(t.c=new _t(lf,t,9,9)),t.c));r.e!=r.i.gc();)n=l(Ur(r),118),E9n(e,t,a,n);return l(nn(t,(Nt(),W2)),174).gc()!=0&&lgt(t,a),Zt(Xt(re(a,iIe)))&&i.Fc(YK),so(a,fB)&&GYe(new ske(ot(Lt(re(a,fB)))),a),Je(nn(t,h5))===Je((Hp(),Xm))?BTn(e,t,a):iTn(e,t,a),a}function FM(e,t,n,r){var i,a,h;if(this.j=new yt,this.k=new yt,this.b=new yt,this.c=new yt,this.e=new pk,this.i=new Th,this.f=new Qse,this.d=new yt,this.g=new yt,wt(this.b,e),wt(this.b,t),this.e.c=v.Math.min(e.a,t.a),this.e.d=v.Math.min(e.b,t.b),this.e.b=v.Math.abs(e.a-t.a),this.e.a=v.Math.abs(e.b-t.b),i=l(re(r,(Nt(),il)),74),i)for(h=$i(i,0);h.b!=h.d.c;)a=l(ji(h),8),P_e(a.a,e.a)&&zi(this.i,a);n&&wt(this.j,n),wt(this.k,r)}function W8n(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(C=new eq(new ms(n)),d=Ue(uf,op,25,e.f.e.c.length,16,1),t6e(d,d.length),n[t.b]=0,E=new M(e.f.e);E.a<E.c.c.length;)b=l(se(E),144),b.b!=t.b&&(n[b.b]=as),LE(d9(C,b));for(;C.b.c.length!=0;)for(P=l(ile(C),144),d[P.b]=!0,a=oet(new wae(e.b,P),0);a.c;)i=l(O6e(a),282),$=x2n(i,P),!d[$.b]&&(so(i,(FN(),mK))?h=ot(Lt(re(i,mK))):h=e.c,r=n[P.b]+h,r<n[$.b]&&(n[$.b]=r,alt(C,$),LE(d9(C,$))))}function Lpt(e,t,n){var r,i,a,h,d,b,E,C,P;for(i=!0,h=new M(e.b);h.a<h.c.c.length;){for(a=l(se(h),29),E=Oa,C=null,b=new M(a.a);b.a<b.c.c.length;)if(d=l(se(b),10),P=ot(t.p[d.p])+ot(t.d[d.p])-d.d.d,r=ot(t.p[d.p])+ot(t.d[d.p])+d.o.b+d.d.a,P>E&&r>E)C=d,E=ot(t.p[d.p])+ot(t.d[d.p])+d.o.b+d.d.a;else{i=!1,n.n&&a2(n,"bk node placement breaks on "+d+" which should have been after "+C);break}if(!i)break}return n.n&&a2(n,t+" is feasible: "+i),i}function K8n(e,t,n,r){var i,a,h,d,b,E,C;for(d=-1,C=new M(e);C.a<C.c.c.length;)E=l(se(C),112),E.g=d--,i=li(Aq(lq($s(new jn(null,new zn(E.f,16)),new Fne),new jne)).d),a=li(Aq(lq($s(new jn(null,new zn(E.k,16)),new $ne),new Bx)).d),h=i,b=a,r||(h=li(Aq(lq(new jn(null,new zn(E.f,16)),new Hne)).d),b=li(Aq(lq(new jn(null,new zn(E.k,16)),new zne)).d)),E.d=h,E.a=i,E.i=b,E.b=a,b==0?xa(n,E,n.c.b,n.c):h==0&&xa(t,E,t.c.b,t.c)}function Y8n(e,t,n,r){var i,a,h,d,b,E,C;if(n.d.i!=t.i){for(i=new qp(e),Cp(i,(gr(),po)),ut(i,(mt(),vs),n),ut(i,(Nt(),ba),(Ao(),Iu)),r.c[r.c.length]=i,h=new fu,Cl(h,i),Ka(h,(Mt(),nr)),d=new fu,Cl(d,i),Ka(d,fr),C=n.d,So(n,h),a=new iy,ll(a,n),ut(a,il,null),ic(a,d),So(a,C),E=new Ro(n.b,0);E.b<E.d.gc();)b=(kr(E.b<E.d.gc()),l(E.d.Xb(E.c=E.b++),70)),Je(re(b,Ig))===Je((A0(),_5))&&(ut(b,v8,n),wf(E),wt(a.b,b));l0t(i,h,d)}}function X8n(e,t,n,r){var i,a,h,d,b,E,C;if(n.c.i!=t.i)for(i=new qp(e),Cp(i,(gr(),po)),ut(i,(mt(),vs),n),ut(i,(Nt(),ba),(Ao(),Iu)),r.c[r.c.length]=i,h=new fu,Cl(h,i),Ka(h,(Mt(),nr)),d=new fu,Cl(d,i),Ka(d,fr),So(n,h),a=new iy,ll(a,n),ut(a,il,null),ic(a,d),So(a,t),l0t(i,h,d),E=new Ro(n.b,0);E.b<E.d.gc();)b=(kr(E.b<E.d.gc()),l(E.d.Xb(E.c=E.b++),70)),C=l(re(b,Ig),272),C==(A0(),_5)&&(so(b,v8)||ut(b,v8,n),wf(E),wt(a.b,b))}function Q8n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for($=new yt,ye=Oq(r),oe=t*e.a,P=0,Z=0,a=new Ja,h=new Ja,d=new yt,je=0,Pe=0,K=0,te=0,E=0,C=0;ye.a.gc()!=0;)b=tvn(ye,i,h),b&&(ye.a.Bc(b)!=null,d.c[d.c.length]=b,a.a.zc(b,a),Z=e.f[b.p],je+=e.e[b.p]-Z*e.b,P=e.c[b.p],Pe+=P*e.b,C+=Z*e.b,te+=e.e[b.p]),(!b||ye.a.gc()==0||je>=oe&&e.e[b.p]>Z*e.b||Pe>=n*oe)&&($.c[$.c.length]=d,d=new yt,mc(h,a),a.a.$b(),E-=C,K=v.Math.max(K,E*e.b+te),E+=Pe,je=Pe,Pe=0,C=0,te=0);return new No(K,$)}function Z8n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;for(n=(E=new m0(e.c.b).a.vc().Kc(),new v0(E));n.a.Ob();)t=(d=l(n.a.Pb(),42),l(d.dd(),149)),i=t.a,i==null&&(i=""),r=Ean(e.c,i),!r&&i.length==0&&(r=Tmn(e)),r&&!M4(r.c,t,!1)&&zi(r.c,t);for(h=$i(e.a,0);h.b!=h.d.c;)a=l(ji(h),478),C=jce(e.c,a.a),K=jce(e.c,a.b),C&&K&&zi(C.c,new No(K,a.c));for(Sd(e.a),$=$i(e.b,0);$.b!=$.d.c;)P=l(ji($),478),t=kan(e.c,P.a),b=jce(e.c,P.b),t&&b&&din(t,b,P.c);Sd(e.b)}function J8n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;a=new V7(e),h=new Kft,i=(WP(h.g),WP(h.j),qh(h.b),WP(h.d),WP(h.i),qh(h.k),qh(h.c),qh(h.e),K=I1t(h,a,null),y0t(h,a),K),t&&(E=new V7(t),d=l7n(E),M8e(i,pe(de(gDe,1),Ht,527,0,[d]))),$=!1,P=!1,n&&(E=new V7(n),LW in E.a&&($=Dp(E,LW).ge().a),V2t in E.a&&(P=Dp(E,V2t).ge().a)),C=uXe(Hct(new Y7,$),P),G3n(new kre,i,C),LW in a.a&&U1(a,LW,null),($||P)&&(b=new ak,Ept(C,b,$,P),U1(a,LW,b)),r=new vKe(h),$pn(new Z3e(i),r)}function e7n(e,t,n){var r,i,a,h,d,b,E,C,P;for(h=new Jft,E=pe(de(ri,1),Pi,25,15,[0]),i=-1,a=0,r=0,b=0;b<e.b.c.length;++b)if(C=l(Kt(e.b,b),434),C.b>0){if(i<0&&C.a&&(i=b,a=E[0],r=0),i>=0){if(d=C.b,b==i&&(d-=r++,d==0))return 0;if(!Imt(t,E,C,d,h)){b=i-1,E[0]=a;continue}}else if(i=-1,!Imt(t,E,C,0,h))return 0}else{if(i=-1,$o(C.c,0)==32){if(P=E[0],Zot(t,E),E[0]>P)continue}else if(Phn(t,C.c,E[0])){E[0]+=C.c.length;continue}return 0}return P9n(h,n)?E[0]:0}function jM(e){var t,n,r,i,a,h,d,b;if(!e.f){if(b=new Sp,d=new Sp,t=kI,h=t.a.zc(e,t),h==null){for(a=new Ir(ol(e));a.e!=a.i.gc();)i=l(Ur(a),26),ga(b,jM(i));t.a.Bc(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new _t(_h,e,21,17)),new Ir(e.s));r.e!=r.i.gc();)n=l(Ur(r),170),Le(n,99)&&fi(d,l(n,18));C4(d),e.r=new qtt(e,(l(Re(rt((Vv(),Gn).o),6),18),d.i),d.g),ga(b,e.r),C4(b),e.f=new _6((l(Re(rt(Gn.o),5),18),b.i),b.g),Jh(e).b&=-3}return e.f}function t7n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z;for(h=e.o,r=Ue(ri,Pi,25,h,15,1),i=Ue(ri,Pi,25,h,15,1),n=e.p,t=Ue(ri,Pi,25,n,15,1),a=Ue(ri,Pi,25,n,15,1),E=0;E<h;E++){for(P=0;P<n&&!V6(e,E,P);)++P;r[E]=P}for(C=0;C<h;C++){for(P=n-1;P>=0&&!V6(e,C,P);)--P;i[C]=P}for(K=0;K<n;K++){for(d=0;d<h&&!V6(e,d,K);)++d;t[K]=d}for(Z=0;Z<n;Z++){for(d=h-1;d>=0&&!V6(e,d,Z);)--d;a[Z]=d}for(b=0;b<h;b++)for($=0;$<n;$++)b<a[$]&&b>t[$]&&$<i[b]&&$>r[b]&&TG(e,b,$,!1,!0)}function tEe(e){var t,n,r,i,a,h,d,b;n=Zt(Xt(re(e,(X1(),a4t)))),a=e.a.c.d,d=e.a.d.d,n?(h=ug(xo(new en(d.a,d.b),a),.5),b=ug(Fl(e.e),.5),t=xo(xs(new en(a.a,a.b),h),b),I4e(e.d,t)):(i=ot(Lt(re(e.a,g4t))),r=e.d,a.a>=d.a?a.b>=d.b?(r.a=d.a+(a.a-d.a)/2+i,r.b=d.b+(a.b-d.b)/2-i-e.e.b):(r.a=d.a+(a.a-d.a)/2+i,r.b=a.b+(d.b-a.b)/2+i):a.b>=d.b?(r.a=a.a+(d.a-a.a)/2+i,r.b=d.b+(a.b-d.b)/2+i):(r.a=a.a+(d.a-a.a)/2+i,r.b=a.b+(d.b-a.b)/2-i-e.e.b))}function Su(e,t){var n,r,i,a,h,d,b;if(e==null)return null;if(a=e.length,a==0)return"";for(b=Ue(md,bg,25,a,15,1),v_e(0,a,e.length),v_e(0,a,b.length),Xnt(e,0,a,b,0),n=null,d=t,i=0,h=0;i<a;i++)r=b[i],Qmt(),r<=32&&Te[r]&2?d?(!n&&(n=new Ed(e)),Ahn(n,i-h++)):(d=t,r!=32&&(!n&&(n=new Ed(e)),Yun(n,i-h,i-h+1,String.fromCharCode(32)))):d=!1;return d?n?(a=n.a.length,a>0?Mf(n.a,0,a-1):""):e.substr(0,a-1):n?n.a:e}function Ipt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,N2),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Nl))),It(e,N2,Nfe,zt(iAe)),It(e,N2,Rfe,zt(G1e)),It(e,N2,r8,zt(U3t)),It(e,N2,Ny,zt(rAe)),It(e,N2,$Ee,zt(Y3t)),It(e,N2,HEe,zt(K3t)),It(e,N2,jEe,zt(X3t)),It(e,N2,zEe,zt(W3t)),It(e,N2,YEe,zt(G3t)),It(e,N2,XEe,zt(U1e)),It(e,N2,QEe,zt(nAe)),It(e,N2,ZEe,zt(uK))}function nEe(e,t,n,r){var i,a,h,d,b,E,C,P,$;if(a=new qp(e),Cp(a,(gr(),Mu)),ut(a,(Nt(),ba),(Ao(),Iu)),i=0,t){for(h=new fu,ut(h,(mt(),vs),t),ut(a,vs,t.i),Ka(h,(Mt(),nr)),Cl(h,a),$=pg(t.e),E=$,C=0,P=E.length;C<P;++C)b=E[C],So(b,h);ut(t,Wh,a),++i}if(n){for(d=new fu,ut(a,(mt(),vs),n.i),ut(d,vs,n),Ka(d,(Mt(),fr)),Cl(d,a),$=pg(n.g),E=$,C=0,P=E.length;C<P;++C)b=E[C],ic(b,d);ut(n,Wh,a),++i}return ut(a,(mt(),QK),St(i)),r.c[r.c.length]=a,a}function MG(){MG=Ee,BPe=pe(de(md,1),bg,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),q7t=new RegExp(`[
\r\f]+`);try{yI=pe(de(ySn,1),Ht,2015,0,[new GD((n4e(),jU("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",SP((Tz(),Tz(),xL))))),new GD(jU("yyyy-MM-dd'T'HH:mm:ss'.'SSS",SP(xL))),new GD(jU("yyyy-MM-dd'T'HH:mm:ss",SP(xL))),new GD(jU("yyyy-MM-dd'T'HH:mm",SP(xL))),new GD(jU("yyyy-MM-dd",SP(xL)))])}catch(e){if(e=ea(e),!Le(e,78))throw ue(e)}}function n7n(e){var t,n,r,i;if(r=jhe((!e.c&&(e.c=EN(e.f)),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return r;if(t=H_e(e)<0?1:0,n=e.e,i=(r.length+1+v.Math.abs(Sa(e.e)),new t4),t==1&&(i.a+="-"),e.e>0)if(n-=r.length-t,n>=0){for(i.a+="0.";n>V2.length;n-=V2.length)lnt(i,V2);Uet(i,V2,Sa(n)),Mi(i,r.substr(t))}else n=t-n,Mi(i,Mf(r,t,Sa(n))),i.a+=".",Mi(i,bP(r,Sa(n)));else{for(Mi(i,r.substr(t));n<-V2.length;n+=V2.length)lnt(i,V2);Uet(i,V2,Sa(-n))}return i.a}function rEe(e,t,n,r){var i,a,h,d,b,E,C,P,$;return b=xo(new en(n.a,n.b),e),E=b.a*t.b-b.b*t.a,C=t.a*r.b-t.b*r.a,P=(b.a*r.b-b.b*r.a)/C,$=E/C,C==0?E==0?(i=xs(new en(n.a,n.b),ug(new en(r.a,r.b),.5)),a=Wv(e,i),h=Wv(xs(new en(e.a,e.b),t),i),d=v.Math.sqrt(r.a*r.a+r.b*r.b)*.5,a<h&&a<=d?new en(e.a,e.b):h<=d?xs(new en(e.a,e.b),t):null):null:P>=0&&P<=1&&$>=0&&$<=1?xs(new en(e.a,e.b),ug(new en(t.a,t.b),P)):null}function r7n(e,t,n){var r,i,a,h,d;if(r=l(re(e,(Nt(),Y0e)),21),n.a>t.a&&(r.Hc((P4(),CB))?e.c.a+=(n.a-t.a)/2:r.Hc(AB)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((P4(),LB))?e.c.b+=(n.b-t.b)/2:r.Hc(MB)&&(e.c.b+=n.b-t.b)),l(re(e,(mt(),Lu)),21).Hc((Pc(),dd))&&(n.a>t.a||n.b>t.b))for(d=new M(e.a);d.a<d.c.c.length;)h=l(se(d),10),h.k==(gr(),La)&&(i=l(re(h,Vl),61),i==(Mt(),fr)?h.n.a+=n.a-t.a:i==Jr&&(h.n.b+=n.b-t.b));a=e.d,e.f.a=n.a-a.b-a.c,e.f.b=n.b-a.d-a.a}function i7n(e,t,n){var r,i,a,h,d;if(r=l(re(e,(Nt(),Y0e)),21),n.a>t.a&&(r.Hc((P4(),CB))?e.c.a+=(n.a-t.a)/2:r.Hc(AB)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((P4(),LB))?e.c.b+=(n.b-t.b)/2:r.Hc(MB)&&(e.c.b+=n.b-t.b)),l(re(e,(mt(),Lu)),21).Hc((Pc(),dd))&&(n.a>t.a||n.b>t.b))for(h=new M(e.a);h.a<h.c.c.length;)a=l(se(h),10),a.k==(gr(),La)&&(i=l(re(a,Vl),61),i==(Mt(),fr)?a.n.a+=n.a-t.a:i==Jr&&(a.n.b+=n.b-t.b));d=e.d,e.f.a=n.a-d.b-d.c,e.f.b=n.b-d.d-d.a}function s7n(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(t=X1t(e),C=(d=new X3(t).a.vc().Kc(),new zD(d));C.a.Ob();){for(E=(i=l(C.a.Pb(),42),l(i.cd(),10)),P=0,$=0,P=E.d.d,$=E.o.b+E.d.a,e.d[E.p]=0,n=E;(a=e.a[n.p])!=E;)r=vbn(n,a),b=0,e.c==(gg(),Gm)?b=r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:b=r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,h=ot(e.d[n.p])+b,e.d[a.p]=h,P=v.Math.max(P,a.d.d-h),$=v.Math.max($,h+a.o.b+a.d.a),n=a;n=E;do e.d[n.p]=ot(e.d[n.p])+P,n=e.a[n.p];while(n!=E);e.b[E.p]=P+$}}function khe(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(e.b=!1,P=ma,b=Oa,$=ma,E=Oa,r=e.e.a.ec().Kc();r.Ob();)for(n=l(r.Pb(),266),i=n.a,P=v.Math.min(P,i.c),b=v.Math.max(b,i.c+i.b),$=v.Math.min($,i.d),E=v.Math.max(E,i.d+i.a),h=new M(n.c);h.a<h.c.c.length;)a=l(se(h),395),t=a.a,t.a?(C=i.d+a.b.b,d=C+a.c,$=v.Math.min($,C),E=v.Math.max(E,d)):(C=i.c+a.b.a,d=C+a.c,P=v.Math.min(P,C),b=v.Math.max(b,d));e.a=new en(b-P,E-$),e.c=new en(P+e.d.a,$+e.d.b)}function a7n(e,t,n){var r,i,a,h,d,b,E,C,P;for(P=new yt,C=new $6e(0,n),a=0,iU(C,new Ale(0,0,C,n)),i=0,E=new Ir(e);E.e!=E.i.gc();)b=l(Ur(E),33),r=l(Kt(C.a,C.a.c.length-1),187),d=i+b.g+(l(Kt(C.a,0),187).b.c.length==0?0:n),d>t&&(i=0,a+=C.b+n,P.c[P.c.length]=C,C=new $6e(a,n),r=new Ale(0,C.f,C,n),iU(C,r),i=0),r.b.c.length==0||b.f>=r.o&&b.f<=r.f||r.a*.5<=b.f&&r.a*1.5>=b.f?Jxe(r,b):(h=new Ale(r.s+r.r+n,C.f,C,n),iU(C,h),Jxe(h,b)),i=b.i+b.g;return P.c[P.c.length]=C,P}function t_(e){var t,n,r,i,a,h,d,b;if(!e.a){if(e.o=null,b=new BKe(e),t=new kv,n=kI,d=n.a.zc(e,n),d==null){for(h=new Ir(ol(e));h.e!=h.i.gc();)a=l(Ur(h),26),ga(b,t_(a));n.a.Bc(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new _t(_h,e,21,17)),new Ir(e.s));i.e!=i.i.gc();)r=l(Ur(i),170),Le(r,322)&&fi(t,l(r,34));C4(t),e.k=new Vtt(e,(l(Re(rt((Vv(),Gn).o),7),18),t.i),t.g),ga(b,e.k),C4(b),e.a=new _6((l(Re(rt(Gn.o),4),18),b.i),b.g),Jh(e).b&=-2}return e.a}function o7n(e,t,n,r,i,a,h){var d,b,E,C,P,$;return P=!1,b=j0t(n.q,t.f+t.b-n.q.f),$=i-(n.q.e+b-h),$<r.g||(E=a==e.c.length-1&&$>=(Un(a,e.c.length),l(e.c[a],200)).e,C=(d=$M(r,$,!1),d.a),C>t.b&&!E)?!1:((E||C<=t.b)&&(E&&C>t.b?(n.d=C,ZP(n,Vdt(n,C))):(cdt(n.q,b),n.c=!0),ZP(r,i-(n.s+n.r)),PN(r,n.q.e+n.q.d,t.f),iU(t,r),e.c.length>a&&(jN((Un(a,e.c.length),l(e.c[a],200)),r),(Un(a,e.c.length),l(e.c[a],200)).a.c.length==0&&Sm(e,a)),P=!0),P)}function iEe(e,t,n,r){var i,a,h,d,b,E,C;if(C=Wu(e.e.Tg(),t),i=0,a=l(e.g,119),b=null,Sc(),l(t,66).Oj()){for(d=0;d<e.i;++d)if(h=a[d],C.rl(h.ak())){if(hs(h,n)){b=h;break}++i}}else if(n!=null){for(d=0;d<e.i;++d)if(h=a[d],C.rl(h.ak())){if(hs(n,h.dd())){b=h;break}++i}}else for(d=0;d<e.i;++d)if(h=a[d],C.rl(h.ak())){if(h.dd()==null){b=h;break}++i}return b&&(pf(e.e)&&(E=t.$j()?new Nce(e.e,4,t,n,null,i,!0):Uv(e,t.Kj()?2:1,t,n,t.zj(),-1,!0),r?r.Ei(E):r=E),r=rR(e,b,r)),r}function Ehe(e,t,n,r,i,a,h){var d,b,E,C,P,$,K,Z,te;switch(Z=0,te=0,b=i.c,d=i.b,C=n.f,K=n.g,t.g){case 0:Z=r.i+r.g+h,e.c?te=Ryn(Z,a,r,h):te=r.j,$=v.Math.max(b,Z+K),E=v.Math.max(d,te+C);break;case 1:te=r.j+r.f+h,e.c?Z=Nyn(te,a,r,h):Z=r.i,$=v.Math.max(b,Z+K),E=v.Math.max(d,te+C);break;case 2:Z=b+h,te=0,$=b+h+K,E=v.Math.max(d,C);break;case 3:Z=0,te=d+h,$=v.Math.max(b,K),E=d+h+C;break;default:throw ue(new Jn("IllegalPlacementOption."))}return P=new ike(e.a,$,E,t,Z,te),P}function c7n(e){var t,n,r,i,a,h,d,b,E,C,P,$;if(d=e.d,P=l(re(e,(mt(),_8)),15),t=l(re(e,m8),15),!(!P&&!t)){if(a=ot(Lt(L4(e,(Nt(),sge)))),h=ot(Lt(L4(e,lIe))),$=0,P){for(E=0,i=P.Kc();i.Ob();)r=l(i.Pb(),10),E=v.Math.max(E,r.o.b),$+=r.o.a;$+=a*(P.gc()-1),d.d+=E+h}if(n=0,t){for(E=0,i=t.Kc();i.Ob();)r=l(i.Pb(),10),E=v.Math.max(E,r.o.b),n+=r.o.a;n+=a*(t.gc()-1),d.a+=E+h}b=v.Math.max($,n),b>e.o.a&&(C=(b-e.o.a)/2,d.b=v.Math.max(d.b,C),d.c=v.Math.max(d.c,C))}}function l7n(e){var t,n,r,i,a,h,d,b;for(a=new ust,Win(a,(Fk(),B8t)),r=(i=mle(e,Ue(jt,dt,2,0,6,1)),new Jx(new gf(new yae(e,i).b)));r.b<r.d.gc();)n=(kr(r.b<r.d.gc()),wi(r.d.Xb(r.c=r.b++))),h=hEe(Ab,n),h&&(t=Dp(e,n),t.je()?d=t.je().a:t.ge()?d=""+t.ge().a:t.he()?d=""+t.he().a:d=t.Ib(),b=lEe(h,d),b!=null&&((Ch(h.j,(K1(),mo))||Ch(h.j,hr))&&_N(sle(a,fa),h,b),Ch(h.j,Og)&&_N(sle(a,oo),h,b),Ch(h.j,Q2)&&_N(sle(a,lf),h,b),Ch(h.j,Km)&&_N(sle(a,_l),h,b)));return a}function LG(e,t,n,r){var i,a,h,d,b,E;if(b=Wu(e.e.Tg(),t),a=l(e.g,119),Gp(e.e,t)){for(i=0,d=0;d<e.i;++d)if(h=a[d],b.rl(h.ak())){if(i==n)return Sc(),l(t,66).Oj()?h:(E=h.dd(),E!=null&&r&&Le(t,99)&&l(t,18).Bb&wc&&(E=LM(e,t,d,i,E)),E);++i}throw ue(new Qc(dL+n+F2+i))}else{for(i=0,d=0;d<e.i;++d){if(h=a[d],b.rl(h.ak()))return Sc(),l(t,66).Oj()?h:(E=h.dd(),E!=null&&r&&Le(t,99)&&l(t,18).Bb&wc&&(E=LM(e,t,d,i,E)),E);++i}return t.zj()}}function oR(e,t,n){var r,i,a,h,d,b,E,C;if(i=l(e.g,119),Gp(e.e,t))return Sc(),l(t,66).Oj()?new $V(t,e):new vP(t,e);for(E=Wu(e.e.Tg(),t),r=0,d=0;d<e.i;++d){if(a=i[d],h=a.ak(),E.rl(h)){if(Sc(),l(t,66).Oj())return a;if(h==(Wk(),P8)||h==D8){for(b=new Af(wl(a.dd()));++d<e.i;)a=i[d],h=a.ak(),(h==P8||h==D8)&&Mi(b,wl(a.dd()));return n5e(l(t.Yj(),148),b.a)}else return C=a.dd(),C!=null&&n&&Le(t,99)&&l(t,18).Bb&wc&&(C=LM(e,t,d,r,C)),C}++r}return t.zj()}function $M(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(a=0,h=e.t,i=0,r=0,b=0,$=0,P=0,n&&(e.n.c=Ue(xr,Ht,1,0,5,1),wt(e.n,new _q(e.s,e.t,e.i))),d=0,C=new M(e.b);C.a<C.c.c.length;)E=l(se(C),33),a+E.g+(d>0?e.i:0)>t&&b>0&&(a=0,h+=b+e.i,i=v.Math.max(i,$),r+=b+e.i,b=0,$=0,n&&(++P,wt(e.n,new _q(e.s,h,e.i))),d=0),$+=E.g+(d>0?e.i:0),b=v.Math.max(b,E.f),n&&Nke(l(Kt(e.n,P),211),E),a+=E.g+(d>0?e.i:0),++d;return i=v.Math.max(i,$),r+=b,n&&(e.r=i,e.d=r,jke(e.j)),new td(e.s,e.t,i,r)}function du(e,t,n,r,i){Ug();var a,h,d,b,E,C,P,$,K;if(i6e(e,"src"),i6e(n,"dest"),$=tf(e),b=tf(n),C5e(($.i&4)!=0,"srcType is not an array"),C5e((b.i&4)!=0,"destType is not an array"),P=$.c,h=b.c,C5e(P.i&1?P==h:(h.i&1)==0,"Array types don't match"),K=e.length,E=n.length,t<0||r<0||i<0||t+i>K||r+i>E)throw ue(new wye);if(!(P.i&1)&&$!=b)if(C=m2(e),a=m2(n),Je(e)===Je(n)&&t<r)for(t+=i,d=r+i;d-- >r;)la(a,d,C[--t]);else for(d=r+i;r<d;)la(a,r++,C[t++]);else i>0&&q8e(e,t,n,r,i,!0)}function The(){The=Ee,Pyt=pe(de(ri,1),Pi,25,15,[Jo,1162261467,UM,1220703125,362797056,1977326743,UM,387420489,VG,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,UM,1291467969,1544804416,1838265625,60466176]),Nyt=pe(de(ri,1),Pi,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function u7n(e){var t,n,r,i,a,h,d,b;for(i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),h=new M(oy(r.a));h.a<h.c.c.length;)if(a=l(se(h),10),dct(a)&&(n=l(re(a,(mt(),Gy)),305),!n.g&&n.d))for(t=n,b=n.d;b;)_gt(b.i,b.k,!1,!0),nN(t.a),nN(b.i),nN(b.k),nN(b.b),So(b.c,t.c.d),So(t.c,null),el(t.a,null),el(b.i,null),el(b.k,null),el(b.b,null),d=new W6e(t.i,b.a,t.e,b.j,b.f),d.k=t.k,d.n=t.n,d.b=t.b,d.c=b.c,d.g=t.g,d.d=b.d,ut(t.i,Gy,d),ut(b.a,Gy,d),b=b.d,t=d}function V4(e,t){var n,r,i,a,h;if(h=l(t,136),Y6(e),Y6(h),h.b!=null){if(e.c=!0,e.b==null){e.b=Ue(ri,Pi,25,h.b.length,15,1),du(h.b,0,e.b,0,h.b.length);return}for(a=Ue(ri,Pi,25,e.b.length+h.b.length,15,1),n=0,r=0,i=0;n<e.b.length||r<h.b.length;)n>=e.b.length?(a[i++]=h.b[r++],a[i++]=h.b[r++]):r>=h.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):h.b[r]<e.b[n]||h.b[r]===e.b[n]&&h.b[r+1]<e.b[n+1]?(a[i++]=h.b[r++],a[i++]=h.b[r++]):(a[i++]=e.b[n++],a[i++]=e.b[n++]);e.b=a}}function h7n(e,t){var n,r,i,a,h,d,b,E,C,P;return n=Zt(Xt(re(e,(mt(),o5)))),d=Zt(Xt(re(t,o5))),r=l(re(e,e0),11),b=l(re(t,e0),11),i=l(re(e,Fd),11),E=l(re(t,Fd),11),C=!!r&&r==b,P=!!i&&i==E,!n&&!d?new d5e(l(se(new M(e.j)),11).p==l(se(new M(t.j)),11).p,C,P):(a=(!Zt(Xt(re(e,o5)))||Zt(Xt(re(e,cB))))&&(!Zt(Xt(re(t,o5)))||Zt(Xt(re(t,cB)))),h=(!Zt(Xt(re(e,o5)))||!Zt(Xt(re(e,cB))))&&(!Zt(Xt(re(t,o5)))||!Zt(Xt(re(t,cB)))),new d5e(C&&a||P&&h,C,P))}function f7n(e){var t,n,r,i,a,h,d,b;for(r=0,n=0,b=new sa,t=0,d=new M(e.n);d.a<d.c.c.length;)h=l(se(d),211),h.c.c.length==0?xa(b,h,b.c.b,b.c):(r=v.Math.max(r,h.d),n+=h.a+(t>0?e.i:0)),++t;for(xvn(e.n,b),e.d=n,e.r=r,e.g=0,e.f=0,e.e=0,e.o=ma,e.p=ma,a=new M(e.b);a.a<a.c.c.length;)i=l(se(a),33),e.p=v.Math.min(e.p,i.g),e.g=v.Math.max(e.g,i.g),e.f=v.Math.max(e.f,i.f),e.o=v.Math.min(e.o,i.f),e.e+=i.f+e.i;e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),jke(e.j)}function Opt(e){var t,n,r,i;return e.Db&64?Gle(e):(t=new Af(sSe),r=e.k,r?Mi(Mi((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new _t(_l,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new _t(_l,e,1,7)),l(Re(e.n,0),137)).a,!i||Mi(Mi((t.a+=' "',t),i),'"'))),n=(!e.b&&(e.b=new $n(Xr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",Mi(t,g4e(new pae,new Ir(e.b))),n&&(t.a+="]"),t.a+=zfe,n&&(t.a+="["),Mi(t,g4e(new pae,new Ir(e.c))),n&&(t.a+="]"),t.a)}function She(e,t){var n,r,i,a,h,d,b;if(e.a){if(d=e.a.ne(),b=null,d!=null?t.a+=""+d:(h=e.a.Dj(),h!=null&&(a=lg(h,mh(91)),a!=-1?(b=h.substr(a),t.a+=""+Mf(h==null?vh:(Xn(h),h),0,a)):t.a+=""+h)),e.d&&e.d.i!=0){for(i=!0,t.a+="<",r=new Ir(e.d);r.e!=r.i.gc();)n=l(Ur(r),87),i?i=!1:t.a+=bc,She(n,t);t.a+=">"}b!=null&&(t.a+=""+b)}else e.e?(d=e.e.zb,d!=null&&(t.a+=""+d)):(t.a+="?",e.b?(t.a+=" super ",She(e.b,t)):e.f&&(t.a+=" extends ",She(e.f,t)))}function d7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;for(at=e.c,bt=t.c,n=vl(at.a,e,0),r=vl(bt.a,t,0),Pe=l(_y(e,(Oc(),Kh)).Kc().Pb(),11),hn=l(_y(e,Hu).Kc().Pb(),11),We=l(_y(t,Kh).Kc().Pb(),11),rr=l(_y(t,Hu).Kc().Pb(),11),ye=pg(Pe.e),Bt=pg(hn.g),je=pg(We.e),on=pg(rr.g),D4(e,r,bt),h=je,C=0,Z=h.length;C<Z;++C)i=h[C],So(i,Pe);for(d=on,P=0,te=d.length;P<te;++P)i=d[P],ic(i,hn);for(D4(t,n,at),b=ye,$=0,oe=b.length;$<oe;++$)i=b[$],So(i,We);for(a=Bt,E=0,K=a.length;E<K;++E)i=a[E],ic(i,rr)}function Dpt(e,t,n,r){var i,a,h,d,b,E,C;if(a=OU(r),d=Zt(Xt(re(r,(Nt(),ZLe)))),(d||Zt(Xt(re(e,cY))))&&!x6(l(re(e,ba),98)))i=$k(a),b=G7e(e,n,n==(Oc(),Hu)?i:AN(i));else switch(b=new fu,Cl(b,e),t?(C=b.n,C.a=t.a-e.n.a,C.b=t.b-e.n.b,qdt(C,0,0,e.o.a,e.o.b),Ka(b,rpt(b,a))):(i=$k(a),Ka(b,n==(Oc(),Hu)?i:AN(i))),h=l(re(r,(mt(),Lu)),21),E=b.j,a.g){case 2:case 1:(E==(Mt(),Qn)||E==Jr)&&h.Fc((Pc(),E_));break;case 4:case 3:(E==(Mt(),fr)||E==nr)&&h.Fc((Pc(),E_))}return b}function sEe(e,t,n){var r,i,a,h,d,b,E,C;return v.Math.abs(t.s-t.c)<_g||v.Math.abs(n.s-n.c)<_g?0:(r=q0t(e,t.j,n.e),i=q0t(e,n.j,t.e),a=r==-1||i==-1,h=0,a?(r==-1&&(new h2((V1(),wb),n,t,1),++h),i==-1&&(new h2((V1(),wb),t,n,1),++h)):(d=j6(t.j,n.s,n.c),d+=j6(n.e,t.s,t.c),b=j6(n.j,t.s,t.c),b+=j6(t.e,n.s,n.c),E=r+16*d,C=i+16*b,E<C?new h2((V1(),b5),t,n,C-E):E>C?new h2((V1(),b5),n,t,E-C):E>0&&C>0&&(new h2((V1(),b5),t,n,0),new h2(b5,n,t,0))),h)}function Ppt(e,t){var n,r,i,a,h,d;for(h=new x2(new mm(e.f.b).a);h.b;){if(a=fy(h),i=l(a.cd(),594),t==1){if(i.gf()!=(Dc(),Jp)&&i.gf()!=Zp)continue}else if(i.gf()!=(Dc(),jd)&&i.gf()!=x1)continue;switch(r=l(l(a.dd(),46).b,81),d=l(l(a.dd(),46).a,189),n=d.c,i.gf().g){case 2:r.g.c=e.e.a,r.g.b=v.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=v.Math.max(1,r.g.b-n);break;case 4:r.g.d=e.e.b,r.g.a=v.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=v.Math.max(1,r.g.a-n)}}}function g7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(d=Ue(ri,Pi,25,t.b.c.length,15,1),E=Ue(o0e,vt,267,t.b.c.length,0,1),b=Ue(up,jm,10,t.b.c.length,0,1),P=e.a,$=0,K=P.length;$<K;++$){for(C=P[$],te=0,h=new M(C.e);h.a<h.c.c.length;)i=l(se(h),10),r=Y3e(i.c),++d[r],Z=ot(Lt(re(t,(Nt(),_1)))),d[r]>0&&b[r]&&(Z=E6(e.b,b[r],i)),te=v.Math.max(te,i.c.c.b+Z);for(a=new M(C.e);a.a<a.c.c.length;)i=l(se(a),10),i.n.b=te+i.d.d,n=i.c,n.c.b=te+i.d.d+i.o.b+i.d.a,E[vl(n.b.b,n,0)]=i.k,b[vl(n.b.b,n,0)]=i}}function Npt(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(r=new Rr(zr(Up(t).a.Kc(),new J));Ei(r);)n=l(hi(r),79),Le(Re((!n.b&&(n.b=new $n(Xr,n,4,7)),n.b),0),186)||(b=ul(l(Re((!n.c&&(n.c=new $n(Xr,n,5,8)),n.c),0),82)),IM(n)||(h=t.i+t.g/2,d=t.j+t.f/2,C=b.i+b.g/2,P=b.j+b.f/2,$=new Qo,$.a=C-h,$.b=P-d,a=new en($.a,$.b),h9(a,t.g,t.f),$.a-=a.a,$.b-=a.b,h=C-$.a,d=P-$.b,E=new en($.a,$.b),h9(E,b.g,b.f),$.a-=E.a,$.b-=E.b,C=h+$.a,P=d+$.b,i=Z6(n,!0,!0),BE(i,h),jE(i,d),RE(i,C),FE(i,P),Npt(e,b)))}function Rpt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,Ry),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new yD))),It(e,Ry,Dde,zt(HY)),It(e,Ry,YTe,zt(tpe)),It(e,Ry,XTe,zt(epe)),It(e,Ry,Pde,zt(JOe)),It(e,Ry,Nde,zt(Jge)),It(e,Ry,Ny,ZOe),It(e,Ry,K4,8),It(e,Ry,Rde,zt(k8t)),It(e,Ry,QTe,zt(XOe)),It(e,Ry,ZTe,zt(QOe)),It(e,Ry,DR,(er(),!1))}function p7n(e,t){var n,r,i,a,h,d,b,E,C,P;for(Zr(t,"Simple node placement",1),P=l(re(e,(mt(),A_)),304),d=0,a=new M(e.b);a.a<a.c.c.length;){for(r=l(se(a),29),h=r.c,h.b=0,n=null,E=new M(r.a);E.a<E.c.c.length;)b=l(se(E),10),n&&(h.b+=bke(b,n,P.c)),h.b+=b.d.d+b.o.b+b.d.a,n=b;d=v.Math.max(d,h.b)}for(i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),h=r.c,C=(d-h.b)/2,n=null,E=new M(r.a);E.a<E.c.c.length;)b=l(se(E),10),n&&(C+=bke(b,n,P.c)),C+=b.d.d,b.n.b=C,C+=b.o.b+b.d.a,n=b;Br(t)}function m7n(e,t,n,r){var i,a,h,d,b,E,C,P;if(r.gc()==0)return!1;if(b=(Sc(),l(t,66).Oj()),h=b?r:new hy(r.gc()),Gp(e.e,t)){if(t.hi())for(C=r.Kc();C.Ob();)E=C.Pb(),AG(e,t,E,Le(t,99)&&(l(t,18).Bb&wc)!=0)||(a=Zg(t,E),h.Fc(a));else if(!b)for(C=r.Kc();C.Ob();)E=C.Pb(),a=Zg(t,E),h.Fc(a)}else{for(P=Wu(e.e.Tg(),t),i=l(e.g,119),d=0;d<e.i;++d)if(a=i[d],P.rl(a.ak()))throw ue(new Jn($R));if(r.gc()>1)throw ue(new Jn($R));b||(a=Zg(t,r.Kc().Pb()),h.Fc(a))}return pxe(e,N8e(e,t,n),h)}function v7n(e,t){var n,r,i,a;for(egn(t.b.j),ya(ch(new jn(null,new zn(t.d,16)),new Kte),new Yte),a=new M(t.d);a.a<a.c.c.length;){switch(i=l(se(a),101),i.e.g){case 0:n=l(Kt(i.j,0),113).d.j,rz(i,l(Xw(ZV(l(_s(i.k,n),15).Oc(),y_)),113)),nz(i,l(Xw(QV(l(_s(i.k,n),15).Oc(),y_)),113));break;case 1:r=zke(i),rz(i,l(Xw(ZV(l(_s(i.k,r[0]),15).Oc(),y_)),113)),nz(i,l(Xw(QV(l(_s(i.k,r[1]),15).Oc(),y_)),113));break;case 2:d4n(e,i);break;case 3:M_n(i);break;case 4:D_n(e,i)}J0n(i)}e.a=null}function Che(e,t,n){var r,i,a,h,d,b,E,C;return r=e.a.o==(k0(),H0)?ma:Oa,d=hpt(e,new uZe(t,n)),!d.a&&d.c?(zi(e.d,d),r):d.a?(i=d.a.c,b=d.a.d,n?(E=e.a.c==(gg(),t3)?b:i,a=e.a.c==t3?i:b,h=e.a.g[a.i.p],C=ot(e.a.p[h.p])+ot(e.a.d[a.i.p])+a.n.b+a.a.b-ot(e.a.d[E.i.p])-E.n.b-E.a.b):(E=e.a.c==(gg(),Gm)?b:i,a=e.a.c==Gm?i:b,C=ot(e.a.p[e.a.g[a.i.p].p])+ot(e.a.d[a.i.p])+a.n.b+a.a.b-ot(e.a.d[E.i.p])-E.n.b-E.a.b),e.a.n[e.a.g[i.i.p].p]=(er(),!0),e.a.n[e.a.g[b.i.p].p]=!0,C):r}function IG(e,t,n){var r,i,a,h,d,b,E,C;if(Gp(e.e,t))b=(Sc(),l(t,66).Oj()?new $V(t,e):new vP(t,e)),dG(b.c,b.b),AA(b,l(n,14));else{for(C=Wu(e.e.Tg(),t),r=l(e.g,119),h=0;h<e.i;++h)if(i=r[h],a=i.ak(),C.rl(a)){if(a==(Wk(),P8)||a==D8){for(E=Oke(e,t,n),d=h,E?j4(e,h):++h;h<e.i;)i=r[h],a=i.ak(),a==P8||a==D8?j4(e,h):++h;E||l(z6(e,d,Zg(t,n)),72)}else Oke(e,t,n)?j4(e,h):l(z6(e,h,(Sc(),l(t,66).Oj()?l(n,72):Zg(t,n))),72);return}Oke(e,t,n)||fi(e,(Sc(),l(t,66).Oj()?l(n,72):Zg(t,n)))}}function Bpt(e,t,n){var r,i,a,h,d,b,E,C;return hs(n,e.b)||(e.b=n,a=new Hh,h=l(Of(ch(new jn(null,new zn(n.f,16)),a),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[(I0(),t5),Hf]))),21),e.e=!0,e.f=!0,e.c=!0,e.d=!0,i=h.Hc((Vk(),WR)),r=h.Hc(KR),i&&!r&&(e.f=!1),!i&&r&&(e.d=!1),i=h.Hc(GR),r=h.Hc(YR),i&&!r&&(e.c=!1),!i&&r&&(e.e=!1)),C=l(e.a.Ce(t,n),46),b=l(C.a,19).a,E=l(C.b,19).a,d=!1,b<0?e.c||(d=!0):e.e||(d=!0),E<0?e.d||(d=!0):e.f||(d=!0),d?Bpt(e,C,n):C}function b7n(e){var t,n,r,i;i=e.o,l4(),e.A.dc()||hs(e.A,XCe)?t=i.b:(t=WN(e.f),e.A.Hc((xf(),$B))&&!e.B.Hc((sf(),bI))&&(t=v.Math.max(t,WN(l(Vc(e.p,(Mt(),fr)),244))),t=v.Math.max(t,WN(l(Vc(e.p,nr),244)))),n=Blt(e),n&&(t=v.Math.max(t,n.b)),e.A.Hc(HB)&&(e.q==(Ao(),gp)||e.q==Iu)&&(t=v.Math.max(t,FV(l(Vc(e.b,(Mt(),fr)),124))),t=v.Math.max(t,FV(l(Vc(e.b,nr),124))))),Zt(Xt(e.e.yf().We((Yi(),KY))))?i.b=v.Math.max(i.b,t):i.b=t,r=e.f.i,r.d=0,r.a=t,yhe(e.f)}function Fpt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(P=0;P<t.length;P++){for(d=e.Kc();d.Ob();)a=l(d.Pb(),225),a.Of(P,t);for($=0;$<t[P].length;$++){for(b=e.Kc();b.Ob();)a=l(b.Pb(),225),a.Pf(P,$,t);for(te=t[P][$].j,K=0;K<te.c.length;K++){for(E=e.Kc();E.Ob();)a=l(E.Pb(),225),a.Qf(P,$,K,t);for(Z=(Un(K,te.c.length),l(te.c[K],11)),n=0,i=new C0(Z.b);Sl(i.a)||Sl(i.b);)for(r=l(Sl(i.a)?se(i.a):se(i.b),17),C=e.Kc();C.Ob();)a=l(C.Pb(),225),a.Nf(P,$,K,n++,r,t)}}}for(h=e.Kc();h.Ob();)a=l(h.Pb(),225),a.Mf()}function w7n(e,t){var n,r,i,a,h,d,b;for(e.b=ot(Lt(re(t,(Nt(),L_)))),e.c=ot(Lt(re(t,Y2))),e.d=l(re(t,ege),336),e.a=l(re(t,rY),275),f2n(t),d=l(Of($s($s(Al(Al(new jn(null,new zn(t.b,16)),new Lee),new QS),new aD),new o$),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),i=d.Kc();i.Ob();)n=l(i.Pb(),17),h=l(re(n,(mt(),U2)),15),h.Jc(new tu(e)),ut(n,U2,null);for(r=d.Kc();r.Ob();)n=l(r.Pb(),17),b=l(re(n,(mt(),eLe)),17),a=l(re(n,M_),15),CTn(e,a,b),ut(n,M_,null)}function y7n(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function Ahe(e){var t,n,r,i,a,h,d,b,E;return!(e.k!=(gr(),za)||e.j.c.length<=1||(a=l(re(e,(Nt(),ba)),98),a==(Ao(),Iu))||(i=(I4(),(e.q?e.q:(In(),In(),lp))._b(Qy)?r=l(re(e,Qy),197):r=l(re(cc(e),zL),197),r),i==wY)||!(i==D_||i==O_)&&(h=ot(Lt(L4(e,VL))),t=l(re(e,gB),142),!t&&(t=new Q4e(h,h,h,h)),E=Ll(e,(Mt(),nr)),b=t.d+t.a+(E.gc()-1)*h,b>e.o.b||(n=Ll(e,fr),d=t.d+t.a+(n.gc()-1)*h,d>e.o.b)))}function Mhe(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(h=e.e,b=t.e,h==0)return t;if(b==0)return e;if(a=e.d,d=t.d,a+d==2)return n=Wa(e.a[0],Nc),r=Wa(t.a[0],Nc),h==b?(C=sc(n,r),Z=li(C),K=li(d4(C,32)),K==0?new Cm(h,Z):new C6(h,2,pe(de(ri,1),Pi,25,15,[Z,K]))):DN(h<0?Jv(r,n):Jv(n,r));if(h==b)$=h,P=a>=d?Uce(e.a,a,t.a,d):Uce(t.a,d,e.a,a);else{if(i=a!=d?a>d?1:-1:Lxe(e.a,t.a,a),i==0)return rb(),Q9;i==1?($=h,P=Vce(e.a,a,t.a,d)):($=b,P=Vce(t.a,d,e.a,a))}return E=new C6($,P.length,P),XA(E),E}function Lhe(e,t,n,r,i,a,h){var d,b,E,C,P,$,K;return P=Zt(Xt(re(t,(Nt(),JLe)))),$=null,a==(Oc(),Kh)&&r.c.i==n?$=r.c:a==Hu&&r.d.i==n&&($=r.d),E=h,!E||!P||$?(C=(Mt(),Dl),$?C=$.j:x6(l(re(n,ba),98))&&(C=a==Kh?nr:fr),b=_7n(e,t,n,a,C,r),d=Hce((cc(n),r)),a==Kh?(ic(d,l(Kt(b.j,0),11)),So(d,i)):(ic(d,i),So(d,l(Kt(b.j,0),11))),E=new Jut(r,d,b,l(re(b,(mt(),vs)),11),a,!$)):(wt(E.e,r),K=v.Math.max(ot(Lt(re(E.d,qm))),ot(Lt(re(r,qm)))),ut(E.d,qm,K)),En(e.a,r,new DV(E.d,t,a)),E}function OG(e,t){var n,r,i,a,h,d,b,E,C,P;if(C=null,e.d&&(C=l(xu(e.d,t),138)),!C){if(a=e.a.Mh(),P=a.i,!e.d||rA(e.d)!=P){for(b=new si,e.d&&cM(b,e.d),E=b.f.c+b.g.c,d=E;d<P;++d)r=l(Re(a,d),138),i=Im(e.e,r).ne(),n=l(i==null?Gu(b.f,null,r):wy(b.g,i,r),138),n&&n!=r&&(i==null?Gu(b.f,null,n):wy(b.g,i,n));if(b.f.c+b.g.c!=P)for(h=0;h<E;++h)r=l(Re(a,h),138),i=Im(e.e,r).ne(),n=l(i==null?Gu(b.f,null,r):wy(b.g,i,r),138),n&&n!=r&&(i==null?Gu(b.f,null,n):wy(b.g,i,n));e.d=b}C=l(xu(e.d,t),138)}return C}function _7n(e,t,n,r,i,a){var h,d,b,E,C,P;return h=null,E=r==(Oc(),Kh)?a.c:a.d,b=OU(t),E.i==n?(h=l(Tr(e.b,E),10),h||(h=lR(E,l(re(n,(Nt(),ba)),98),i,Ikn(E),null,E.n,E.o,b,t),ut(h,(mt(),vs),E),ds(e.b,E,h))):(h=lR((C=new Ew,P=ot(Lt(re(t,(Nt(),_1))))/2,_N(C,d5,P),C),l(re(n,ba),98),i,r==Kh?-1:1,null,new Qo,new en(0,0),b,t),d=pyn(h,n,r),ut(h,(mt(),vs),d),ds(e.b,d,h)),l(re(t,(mt(),Lu)),21).Fc((Pc(),dd)),x6(l(re(t,(Nt(),ba)),98))?ut(t,ba,(Ao(),MT)):ut(t,ba,(Ao(),V0)),h}function x7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;Zr(t,"Orthogonal edge routing",1),E=ot(Lt(re(e,(Nt(),I_)))),n=ot(Lt(re(e,L_))),r=ot(Lt(re(e,Y2))),$=new Qoe(0,n),oe=0,h=new Ro(e.b,0),d=null,C=null,b=null,P=null;do C=h.b<h.d.gc()?(kr(h.b<h.d.gc()),l(h.d.Xb(h.c=h.b++),29)):null,P=C?C.a:null,d&&(oEe(d,oe),oe+=d.c.a),te=d?oe+r:oe,Z=fEe($,e,b,P,te),i=!d||uV(b,(yG(),wB)),a=!C||uV(P,(yG(),wB)),Z>0?(K=(Z-1)*n,d&&(K+=r),C&&(K+=r),K<E&&!i&&!a&&(K=E),oe+=K):!i&&!a&&(oe+=E),d=C,b=P;while(C);e.f.a=oe,Br(t)}function Ihe(){Ihe=Ee;var e;WPe=new SYe,J7t=Ue(jt,dt,2,0,6,1),Q7t=T0(jk(33,58),jk(1,26)),Z7t=T0(jk(97,122),jk(65,90)),zPe=jk(48,57),Y7t=T0(Q7t,0),X7t=T0(Z7t,zPe),VPe=T0(T0(0,jk(1,6)),jk(33,38)),qPe=T0(T0(zPe,jk(65,70)),jk(97,102)),eEt=T0(Y7t,qU("-_.!~*'()")),tEt=T0(X7t,FU("-_.!~*'()")),qU(bwt),FU(bwt),T0(eEt,qU(";:@&=+$,")),T0(tEt,FU(";:@&=+$,")),UPe=qU(":/?#"),GPe=FU(":/?#"),_I=qU("/?#"),xI=FU("/?#"),e=new Ja,e.a.zc("jar",e),e.a.zc("zip",e),e.a.zc("archive",e),fX=(In(),new Q7(e))}function jpt(e,t){var n,r,i,a,h,d,b,E,C,P;if(ut(t,(Kl(),xT),0),b=l(re(t,MY),86),t.d.b==0)b?(C=ot(Lt(re(b,Wm)))+e.a+r_e(b,t),ut(t,Wm,C)):ut(t,Wm,0);else{for(r=(a=$i(new Mv(t).a.d,0),new rk(a));Iz(r.a);)n=l(ji(r.a),188).c,jpt(e,n);d=l(wV((h=$i(new Mv(t).a.d,0),new rk(h))),86),P=l(Vsn((i=$i(new Mv(t).a.d,0),new rk(i))),86),E=(ot(Lt(re(P,Wm)))+ot(Lt(re(d,Wm))))/2,b?(C=ot(Lt(re(b,Wm)))+e.a+r_e(b,t),ut(t,Wm,C),ut(t,xT,ot(Lt(re(t,Wm)))-E),LEn(e,t)):ut(t,Wm,E)}}function E9(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;d=0,Z=0,b=wq(e.f,e.f.length),a=e.d,h=e.i,r=e.a,i=e.b;do{for(K=0,C=new M(e.p);C.a<C.c.c.length;)E=l(se(C),10),$=imt(e,E),n=!0,(e.q==(Q6(),pB)||e.q==mB)&&(n=Zt(Xt($.b))),l($.a,19).a<0&&n?(++K,b=wq(e.f,e.f.length),e.d=e.d+l($.a,19).a,Z+=a-e.d,a=e.d+l($.a,19).a,h=e.i,r=oy(e.a),i=oy(e.b)):(e.f=wq(b,b.length),e.d=a,e.a=(ui(r),r?new Ah(r):dE(new M(r))),e.b=(ui(i),i?new Ah(i):dE(new M(i))),e.i=h);++d,P=K!=0&&Zt(Xt(t.Kb(new No(St(Z),St(d)))))}while(P)}function k7n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn;return h=e.f,$=t.f,d=h==(y9(),T8)||h==iI,K=$==T8||$==iI,b=h==N_||h==sI,Z=$==N_||$==sI,E=h==N_||h==T8,te=$==N_||$==T8,d&&K?e.f==iI?e:t:b&&Z?e.f==sI?e:t:E&&te?(h==N_?(P=e,C=t):(P=t,C=e),a=(oe=n.j+n.f,ye=P.e+r.f,je=v.Math.max(oe,ye),Pe=je-v.Math.min(n.j,P.e),We=P.d+r.g-n.i,We*Pe),i=(at=n.i+n.g,bt=C.d+r.g,Bt=v.Math.max(at,bt),on=Bt-v.Math.min(n.i,C.d),hn=C.e+r.f-n.j,on*hn),a<=i?e.f==N_?e:t:e.f==T8?e:t):e}function E7n(e){var t,n,r,i,a,h,d,b,E,C,P;for(C=e.e.a.c.length,h=new M(e.e.a);h.a<h.c.c.length;)a=l(se(h),121),a.j=!1;for(e.i=Ue(ri,Pi,25,C,15,1),e.g=Ue(ri,Pi,25,C,15,1),e.n=new yt,i=0,P=new yt,b=new M(e.e.a);b.a<b.c.c.length;)d=l(se(b),121),d.d=i++,d.b.a.c.length==0&&wt(e.n,d),Fa(P,d.g);for(t=0,r=new M(P);r.a<r.c.c.length;)n=l(se(r),213),n.c=t++,n.f=!1;E=P.c.length,e.b==null||e.b.length<E?(e.b=Ue(Eo,Gc,25,E,15,1),e.c=Ue(uf,op,25,E,16,1)):ZC(e.c),e.d=P,e.p=new loe(k4(e.d.c.length)),e.j=1}function T7n(e,t){var n,r,i,a,h,d,b,E,C;if(!(t.e.c.length<=1)){for(e.f=t,e.d=l(re(e.f,(FN(),gAe)),379),e.g=l(re(e.f,bAe),19).a,e.e=ot(Lt(re(e.f,pAe))),e.c=ot(Lt(re(e.f,mK))),Qnt(e.b),i=new M(e.f.c);i.a<i.c.c.length;)r=l(se(i),282),j7e(e.b,r.c,r,null),j7e(e.b,r.d,r,null);for(d=e.f.e.c.length,e.a=o2(Eo,[dt,Gc],[104,25],15,[d,d],2),E=new M(e.f.e);E.a<E.c.c.length;)b=l(se(E),144),W8n(e,b,e.a[b.b]);for(e.i=o2(Eo,[dt,Gc],[104,25],15,[d,d],2),a=0;a<d;++a)for(h=0;h<d;++h)n=e.a[a][h],C=1/(n*n),e.i[a][h]=C}}function HM(e){var t,n,r,i;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,i=0;i<e.b.length;){for(t!=i?(e.b[t]=e.b[i++],e.b[t+1]=e.b[i++]):i+=2,n=e.b[t+1];i<e.b.length&&!(n+1<e.b[i]);)if(n+1==e.b[i])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else if(n>=e.b[i+1])i+=2;else if(n<e.b[i+1])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else throw ue(new Tl("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[i]+","+e.b[i+1]+"]"));t+=2}t!=e.b.length&&(r=Ue(ri,Pi,25,t,15,1),du(e.b,0,r,0,t),e.b=r),e.a=!0}}function S7n(e,t){var n,r,i,a,h,d,b;for(h=xk(e.a).Kc();h.Ob();){if(a=l(h.Pb(),17),a.b.c.length>0)for(r=new Ah(l(_s(e.a,a),21)),In(),fo(r,new ys(t)),i=new Ro(a.b,0);i.b<i.d.gc();){switch(n=(kr(i.b<i.d.gc()),l(i.d.Xb(i.c=i.b++),70)),d=-1,l(re(n,(Nt(),Ig)),272).g){case 1:d=r.c.length-1;break;case 0:d=Xwn(r);break;case 2:d=0}d!=-1&&(b=(Un(d,r.c.length),l(r.c[d],243)),wt(b.b.b,n),l(re(cc(b.b.c.i),(mt(),Lu)),21).Fc((Pc(),hT)),l(re(cc(b.b.c.i),Lu),21).Fc(uT),wf(i),ut(n,QMe,a))}ic(a,null),So(a,null)}}function C7n(e,t){var n,r,i,a;return n=new Cf,r=l(Of(ch(new jn(null,new zn(e.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[(I0(),t5),Hf]))),21),i=r.gc(),i=i==2?1:0,i==1&&Uw(IN(l(Of($s(r.Lc(),new nh),Dlt(T2(0),new Sr)),162).a,2),0)&&(i=0),r=l(Of(ch(new jn(null,new zn(t.f,16)),n),_4(new ws,new xn,new Ar,new bo,pe(de(of,1),vt,132,0,[t5,Hf]))),21),a=r.gc(),a=a==2?1:0,a==1&&Uw(IN(l(Of($s(r.Lc(),new _d),Dlt(T2(0),new Sr)),162).a,2),0)&&(a=0),i<a?-1:i==a?0:1}function A7n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;if(E=new yt,!so(e,(mt(),j0e)))return E;for(r=l(re(e,j0e),15).Kc();r.Ob();)t=l(r.Pb(),10),H7n(t,e),E.c[E.c.length]=t;for(a=new M(e.b);a.a<a.c.c.length;)for(i=l(se(a),29),d=new M(i.a);d.a<d.c.c.length;)h=l(se(d),10),h.k==(gr(),La)&&(b=l(re(h,JK),10),b&&(C=new fu,Cl(C,h),P=l(re(h,Vl),61),Ka(C,P),$=l(Kt(b.j,0),11),K=new iy,ic(K,C),So(K,$)));for(n=new M(E);n.a<n.c.c.length;)t=l(se(n),10),el(t,l(Kt(e.b,e.b.c.length-1),29));return E}function $pt(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(t=x0(e),a=Zt(Xt(nn(t,(Nt(),f5)))),C=0,i=0,E=new Ir((!e.e&&(e.e=new $n(oo,e,7,4)),e.e));E.e!=E.i.gc();)b=l(Ur(E),79),d=Sy(b),h=d&&a&&Zt(Xt(nn(b,G2))),$=ul(l(Re((!b.c&&(b.c=new $n(Xr,b,5,8)),b.c),0),82)),d&&h?++i:d&&!h?++C:ua($)==t||$==t?++i:++C;for(r=new Ir((!e.d&&(e.d=new $n(oo,e,8,5)),e.d));r.e!=r.i.gc();)n=l(Ur(r),79),d=Sy(n),h=d&&a&&Zt(Xt(nn(n,G2))),P=ul(l(Re((!n.b&&(n.b=new $n(Xr,n,4,7)),n.b),0),82)),d&&h?++C:d&&!h?++i:ua(P)==t||P==t?++C:++i;return C-i}function M7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(Zr(t,"Edge splitting",1),e.b.c.length<=2){Br(t);return}for(a=new Ro(e.b,0),h=(kr(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),29));a.b<a.d.gc();)for(i=h,h=(kr(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),29)),b=new M(i.a);b.a<b.c.c.length;)for(d=l(se(b),10),C=new M(d.j);C.a<C.c.c.length;)for(E=l(se(C),11),r=new M(E.g);r.a<r.c.c.length;)n=l(se(r),17),$=n.d,P=$.i.c,P!=i&&P!=h&&tgt(n,(K=new qp(e),Cp(K,(gr(),po)),ut(K,(mt(),vs),n),ut(K,(Nt(),ba),(Ao(),Iu)),el(K,h),K));Br(t)}function Hpt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(d=t.p!=null&&!t.b,d||Zr(t,Yvt,1),n=l(re(e,(mt(),q0e)),15),h=1/n.gc(),t.n)for(a2(t,"ELK Layered uses the following "+n.gc()+" modules:"),K=0,$=n.Kc();$.Ob();)C=l($.Pb(),51),r=(K<10?"0":"")+K++,a2(t," Slot "+r+": "+Ov(tf(C)));for(P=n.Kc();P.Ob();)C=l(P.Pb(),51),C.pf(e,Eu(t,h));for(a=new M(e.b);a.a<a.c.c.length;)i=l(se(a),29),Fa(e.a,i.a),i.a.c=Ue(xr,Ht,1,0,5,1);for(E=new M(e.a);E.a<E.c.c.length;)b=l(se(E),10),el(b,null);e.b.c=Ue(xr,Ht,1,0,5,1),d||Br(t)}function L7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;r=ot(Lt(re(t,(Nt(),tIe)))),at=l(re(t,qL),19).a,$=4,i=3,bt=20/at,K=!1,b=0,h=as;do{for(a=b!=1,P=b!=0,Bt=0,oe=e.a,je=0,We=oe.length;je<We;++je)Z=oe[je],Z.f=null,v9n(e,Z,a,P,r),Bt+=v.Math.abs(Z.a);do d=c8n(e,t);while(d);for(te=e.a,ye=0,Pe=te.length;ye<Pe;++ye)if(Z=te[ye],n=e6e(Z).a,n!=0)for(C=new M(Z.e);C.a<C.c.c.length;)E=l(se(C),10),E.n.b+=n;b==0||b==1?(--$,$<=0&&(Bt<h||-$>at)?(b=2,h=as):b==0?(b=1,h=Bt):(b=0,h=Bt)):(K=Bt>=h||h-Bt<bt,h=Bt,K&&--i)}while(!(K&&i<=0))}function Ohe(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;for(Z=new si,a=e.a.ec().Kc();a.Ob();)r=l(a.Pb(),168),ds(Z,r,n.Je(r));for(h=(ui(e),e?new Ah(e):dE(e.a.ec().Kc())),fo(h,new br(Z)),d=Oq(h),b=new vV(t),K=new si,Gu(K.f,t,b);d.a.gc()!=0;){for(E=null,C=null,P=null,i=d.a.ec().Kc();i.Ob();)if(r=l(i.Pb(),168),ot(Lt(Bl(cl(Z.f,r))))<=ma){if(bf(K,r.a)&&!bf(K,r.b)){C=r.b,P=r.a,E=r;break}if(bf(K,r.b)&&!bf(K,r.a)){C=r.a,P=r.b,E=r;break}}if(!E)break;$=new vV(C),wt(l(Bl(cl(K.f,P)),221).a,$),Gu(K.f,C,$),d.a.Bc(E)!=null}return b}function I7n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;for(Zr(n,"Depth-first cycle removal",1),P=t.a,C=P.c.length,e.c=new yt,e.d=Ue(uf,op,25,C,16,1),e.a=Ue(uf,op,25,C,16,1),e.b=new yt,h=0,E=new M(P);E.a<E.c.c.length;)b=l(se(E),10),b.p=h,CE(bl(b))&&wt(e.c,b),++h;for(K=new M(e.c);K.a<K.c.c.length;)$=l(se(K),10),F8e(e,$);for(a=0;a<C;a++)e.d[a]||(d=(Un(a,P.c.length),l(P.c[a],10)),F8e(e,d));for(i=new M(e.b);i.a<i.c.c.length;)r=l(se(i),17),Ly(r,!0),ut(t,(mt(),aB),(er(),!0));e.c=null,e.d=null,e.a=null,e.b=null,Br(n)}function O7n(e,t){var n,r,i,a,h,d,b;for(e.a.c=Ue(xr,Ht,1,0,5,1),r=$i(t.b,0);r.b!=r.d.c;)n=l(ji(r),86),n.b.b==0&&(ut(n,(Kl(),w5),(er(),!0)),wt(e.a,n));switch(e.a.c.length){case 0:i=new Cle(0,t,"DUMMY_ROOT"),ut(i,(Kl(),w5),(er(),!0)),ut(i,Oge,!0),zi(t.b,i);break;case 1:break;default:for(a=new Cle(0,t,"SUPER_ROOT"),d=new M(e.a);d.a<d.c.c.length;)h=l(se(d),86),b=new E6e(a,h),ut(b,(Kl(),Oge),(er(),!0)),zi(a.a.a,b),zi(a.d,b),zi(h.b,b),ut(h,w5,!1);ut(a,(Kl(),w5),(er(),!0)),ut(a,Oge,!0),zi(t.b,a)}}function D7n(e,t){J6();var n,r,i,a,h,d;return a=t.c-(e.c+e.b),i=e.c-(t.c+t.b),h=e.d-(t.d+t.a),n=t.d-(e.d+e.a),r=v.Math.max(i,a),d=v.Math.max(h,n),y0(),g1(Eg),(v.Math.abs(r)<=Eg||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:Gw(isNaN(r),isNaN(0)))>=0^(g1(Eg),(v.Math.abs(d)<=Eg||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:Gw(isNaN(d),isNaN(0)))>=0)?v.Math.max(d,r):(g1(Eg),(v.Math.abs(r)<=Eg||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:Gw(isNaN(r),isNaN(0)))>0?v.Math.sqrt(d*d+r*r):-v.Math.sqrt(d*d+r*r))}function L2(e,t){var n,r,i,a,h,d;if(t){if(!e.a&&(e.a=new _z),e.e==2){yz(e.a,t);return}if(t.e==1){for(i=0;i<t.em();i++)L2(e,t.am(i));return}if(d=e.a.a.c.length,d==0){yz(e.a,t);return}if(h=l(ty(e.a,d-1),117),!((h.e==0||h.e==10)&&(t.e==0||t.e==10))){yz(e.a,t);return}a=t.e==0?2:t.bm().length,h.e==0?(n=new eA,r=h._l(),r>=wc?zc(n,Zxe(r)):wE(n,r&Aa),h=new bce(10,null,0),cun(e.a,h,d-1)):(n=(h.bm().length+a,new eA),zc(n,h.bm())),t.e==0?(r=t._l(),r>=wc?zc(n,Zxe(r)):wE(n,r&Aa)):zc(n,t.bm()),l(h,521).b=n.a}}function zpt(e){var t,n,r,i,a;return e.g!=null?e.g:e.a<32?(e.g=G9n(ph(e.f),Sa(e.e)),e.g):(i=jhe((!e.c&&(e.c=EN(e.f)),e.c),0),e.e==0?i:(t=(!e.c&&(e.c=EN(e.f)),e.c).e<0?2:1,n=i.length,r=-e.e+n-t,a=new Lv,a.a+=""+i,e.e>0&&r>=-6?r>=0?VP(a,n-Sa(e.e),String.fromCharCode(46)):(a.a=Mf(a.a,0,t-1)+"0."+bP(a.a,t-1),VP(a,t+1,Ad(V2,0,-Sa(r)-1))):(n-t>=1&&(VP(a,t,String.fromCharCode(46)),++n),VP(a,n,String.fromCharCode(69)),r>0&&VP(a,++n,String.fromCharCode(43)),VP(a,++n,""+$A(ph(r)))),e.g=a.a,e.g))}function P7n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(!n.dc()){for(d=0,$=0,r=n.Kc(),Z=l(r.Pb(),19).a;d<t.f;){if(d==Z&&($=0,r.Ob()?Z=l(r.Pb(),19).a:Z=t.f+1),d!=$){for(oe=l(Kt(e.b,d),29),K=l(Kt(e.b,$),29),te=oy(oe.a),P=new M(te);P.a<P.c.c.length;)if(C=l(se(P),10),D4(C,K.a.c.length,K),$==0)for(h=oy(bl(C)),a=new M(h);a.a<a.c.c.length;)i=l(se(a),17),Ly(i,!0),ut(e,(mt(),aB),(er(),!0)),Kpt(e,i,1)}++$,++d}for(b=new Ro(e.b,0);b.b<b.d.gc();)E=(kr(b.b<b.d.gc()),l(b.d.Xb(b.c=b.b++),29)),E.a.c.length==0&&wf(b)}}function N7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(h=t.b,C=h.o,b=h.d,r=ot(Lt(UU(h,(Nt(),_1)))),i=ot(Lt(UU(h,E8))),E=ot(Lt(UU(h,oge))),d=new eae,k5e(d,b.d,b.c,b.a,b.b),$=Xxn(t,r,i,E),ye=new M(t.d);ye.a<ye.c.c.length;){for(oe=l(se(ye),101),Z=oe.f.a.ec().Kc();Z.Ob();)K=l(Z.Pb(),409),a=K.a,P=Hyn(K),n=(je=new Th,wdt(K,K.c,$,je),d3n(K,P,$,je),wdt(K,K.d,$,je),je),n=e.Uf(K,P,n),Sd(a.a),mc(a.a,n),ya(new jn(null,new zn(n,16)),new tZe(C,d));te=oe.i,te&&(Myn(oe,te,$,i),Pe=new Zc(te.g),kke(C,d,Pe),xs(Pe,te.j),kke(C,d,Pe))}k5e(b,d.d,d.c,d.a,d.b)}function R7n(e,t,n){var r,i,a;if(i=l(re(t,(Nt(),rY)),275),i!=(g9(),DL)){switch(Zr(n,"Horizontal Compaction",1),e.a=t,a=new Got,r=new U1t((a.d=t,a.c=l(re(a.d,Qp),218),Bxn(a),AEn(a),qxn(a),a.a)),Nrn(r,e.b),l(re(t,LLe),422).g){case 1:cXe(r,new olt(e.a));break;default:cXe(r,(k6e(),Jyt))}switch(i.g){case 1:OM(r);break;case 2:OM(NG(r,(Dc(),x1)));break;case 3:OM(oXe(NG(OM(r),(Dc(),x1)),new nC));break;case 4:OM(oXe(NG(OM(r),(Dc(),x1)),new qg(a)));break;case 5:OM(Prn(r,r5t))}NG(r,(Dc(),jd)),r.e=!0,h9n(a),Br(n)}}function B7n(e,t,n,r,i,a,h,d){var b,E,C,P;switch(b=S0(pe(de(pSn,1),Ht,220,0,[t,n,r,i])),P=null,e.b.g){case 1:P=S0(pe(de(AOe,1),Ht,526,0,[new uC,new lC,new wD]));break;case 0:P=S0(pe(de(AOe,1),Ht,526,0,[new wD,new lC,new uC]));break;case 2:P=S0(pe(de(AOe,1),Ht,526,0,[new lC,new uC,new wD]))}for(C=new M(P);C.a<C.c.c.length;)E=l(se(C),526),b.c.length>1&&(b=E.mg(b,e.a,d));return b.c.length==1?l(Kt(b,b.c.length-1),220):b.c.length==2?k7n((Un(0,b.c.length),l(b.c[0],220)),(Un(1,b.c.length),l(b.c[1],220)),h,a):null}function Vpt(e){var t,n,r,i,a,h;for(fh(e.a,new F3),n=new M(e.a);n.a<n.c.c.length;)t=l(se(n),221),r=xo(Fl(l(e.b,65).c),l(t.b,65).c),F3t?(h=l(e.b,65).b,a=l(t.b,65).b,v.Math.abs(r.a)>=v.Math.abs(r.b)?(r.b=0,a.d+a.a>h.d&&a.d<h.d+h.a&&BV(r,v.Math.max(h.c-(a.c+a.b),a.c-(h.c+h.b)))):(r.a=0,a.c+a.b>h.c&&a.c<h.c+h.b&&BV(r,v.Math.max(h.d-(a.d+a.a),a.d-(h.d+h.a))))):BV(r,bpt(l(e.b,65),l(t.b,65))),i=v.Math.sqrt(r.a*r.a+r.b*r.b),i=gdt(TL,t,i,r),BV(r,i),Foe(l(t.b,65),r),fh(t.a,new Fi(r)),l(TL.b,65),m_e(TL,QCe,t)}function F7n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z;for(e.f=new Jse,E=0,i=0,h=new M(e.e.b);h.a<h.c.c.length;)for(a=l(se(h),29),b=new M(a.a);b.a<b.c.c.length;){for(d=l(se(b),10),d.p=E++,r=new Rr(zr($a(d).a.Kc(),new J));Ei(r);)n=l(hi(r),17),n.p=i++;for(t=Ahe(d),$=new M(d.j);$.a<$.c.c.length;)P=l(se($),11),t&&(Z=P.a.b,Z!=v.Math.floor(Z)&&(C=Z-cy(ph(v.Math.round(Z))),P.a.b-=C)),K=P.n.b+P.a.b,K!=v.Math.floor(K)&&(C=K-cy(ph(v.Math.round(K))),P.n.b-=C)}e.g=E,e.b=i,e.i=Ue(fSn,Ht,401,E,0,1),e.c=Ue(hSn,Ht,649,i,0,1),e.d.a.$b()}function ei(e){var t,n,r,i,a,h,d,b,E;if(e.ej())if(b=e.fj(),e.i>0){if(t=new q3e(e.i,e.g),n=e.i,a=n<100?null:new Iv(n),e.ij())for(r=0;r<e.i;++r)h=e.g[r],a=e.kj(h,a);if(tM(e),i=n==1?e.Zi(4,Re(t,0),null,0,b):e.Zi(6,t,null,-1,b),e.bj()){for(r=new vk(t);r.e!=r.i.gc();)a=e.dj(lue(r),a);a?(a.Ei(i),a.Fi()):e.$i(i)}else a?(a.Ei(i),a.Fi()):e.$i(i)}else tM(e),e.$i(e.Zi(6,(In(),Lc),null,-1,b));else if(e.bj())if(e.i>0){for(d=e.g,E=e.i,tM(e),a=E<100?null:new Iv(E),r=0;r<E;++r)h=d[r],a=e.dj(h,a);a&&a.Fi()}else tM(e);else tM(e)}function aEe(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(zlt(this),n==(sy(),yb)?Ga(this.r,e):Ga(this.w,e),C=ma,E=Oa,h=t.a.ec().Kc();h.Ob();)i=l(h.Pb(),46),d=l(i.a,455),r=l(i.b,17),b=r.c,b==e&&(b=r.d),d==yb?Ga(this.r,b):Ga(this.w,b),$=(Mt(),wh).Hc(b.j)?ot(Lt(re(b,(mt(),gT)))):Ml(pe(de(ao,1),dt,8,0,[b.i.n,b.n,b.a])).b,C=v.Math.min(C,$),E=v.Math.max(E,$);for(P=(Mt(),wh).Hc(e.j)?ot(Lt(re(e,(mt(),gT)))):Ml(pe(de(ao,1),dt,8,0,[e.i.n,e.n,e.a])).b,Rdt(this,P,C,E),a=t.a.ec().Kc();a.Ob();)i=l(a.Pb(),46),Gdt(this,l(i.b,17));this.o=!1}function j7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;return n=e.l&8191,r=e.l>>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,h=(e.h&1048320)>>8,d=t.l&8191,b=t.l>>13|(t.m&15)<<9,E=t.m>>4&8191,C=t.m>>17|(t.h&255)<<5,P=(t.h&1048320)>>8,on=n*d,hn=r*d,rr=i*d,cr=a*d,Vr=h*d,b!=0&&(hn+=n*b,rr+=r*b,cr+=i*b,Vr+=a*b),E!=0&&(rr+=n*E,cr+=r*E,Vr+=i*E),C!=0&&(cr+=n*C,Vr+=r*C),P!=0&&(Vr+=n*P),K=on&af,Z=(hn&511)<<13,$=K+Z,oe=on>>22,ye=hn>>9,je=(rr&262143)<<4,Pe=(cr&31)<<17,te=oe+ye+je+Pe,at=rr>>18,bt=cr>>5,Bt=(Vr&4095)<<8,We=at+bt+Bt,te+=$>>22,$&=af,We+=te>>22,te&=af,We&=Kp,qu($,te,We)}function qpt(e){var t,n,r,i,a,h,d;if(d=l(Kt(e.j,0),11),d.g.c.length!=0&&d.e.c.length!=0)throw ue(new pl("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(a=ma,n=new M(d.g);n.a<n.c.c.length;)t=l(se(n),17),h=t.d.i,r=l(re(h,(Nt(),uY)),142),a=v.Math.min(a,h.n.a-r.b);return new j7(ui(a))}if(d.e.c.length!=0){for(i=Oa,n=new M(d.e);n.a<n.c.c.length;)t=l(se(n),17),h=t.c.i,r=l(re(h,(Nt(),uY)),142),i=v.Math.max(i,h.n.a+h.o.a+r.c);return new j7(ui(i))}return KC(),KC(),_1e}function Upt(e,t){var n,r,i,a,h,d,b;if(e.Fk()){if(e.i>4)if(e.wj(t)){if(e.rk()){if(i=l(t,49),r=i.Ug(),b=r==e.e&&(e.Dk()?i.Og(i.Vg(),e.zk())==e.Ak():-1-i.Vg()==e.aj()),e.Ek()&&!b&&!r&&i.Zg()){for(a=0;a<e.i;++a)if(n=e.Gk(l(e.g[a],56)),Je(n)===Je(t))return!0}return b}else if(e.Dk()&&!e.Ck()){if(h=l(t,56).ah(Ac(l(e.ak(),18))),Je(h)===Je(e.e))return!0;if(h==null||!l(h,56).kh())return!1}}else return!1;if(d=f9(e,t),e.Ek()&&!d){for(a=0;a<e.i;++a)if(i=e.Gk(l(e.g[a],56)),Je(i)===Je(t))return!0}return d}else return f9(e,t)}function $7n(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(C=new yt,$=new Ja,h=t.b,i=0;i<h.c.length;i++){for(E=(Un(i,h.c.length),l(h.c[i],29)).a,C.c=Ue(xr,Ht,1,0,5,1),a=0;a<E.c.length;a++)d=e.a[i][a],d.p=a,d.k==(gr(),Mu)&&(C.c[C.c.length]=d),rd(l(Kt(t.b,i),29).a,a,d),d.j.c=Ue(xr,Ht,1,0,5,1),Fa(d.j,l(l(Kt(e.b,i),15).Xb(a),14)),wk(l(re(d,(Nt(),ba)),98))||ut(d,ba,(Ao(),tw));for(r=new M(C);r.a<r.c.c.length;)n=l(se(r),10),P=ckn(n),$.a.zc(P,$),$.a.zc(n,$)}for(b=$.a.ec().Kc();b.Ob();)d=l(b.Pb(),10),In(),fo(d.j,(JE(),dMe)),d.i=!0,U8e(d)}function H7n(e,t){var n,r,i,a,h,d,b,E,C,P;if(C=l(re(e,(mt(),Vl)),61),r=l(Kt(e.j,0),11),C==(Mt(),Qn)?Ka(r,Jr):C==Jr&&Ka(r,Qn),l(re(t,(Nt(),W2)),174).Hc((xf(),nw))){if(b=ot(Lt(re(e,wT))),E=ot(Lt(re(e,yT))),h=ot(Lt(re(e,m5))),d=l(re(t,g5),21),d.Hc((Gh(),tm)))for(n=E,P=e.o.a/2-r.n.a,a=new M(r.f);a.a<a.c.c.length;)i=l(se(a),70),i.n.b=n,i.n.a=P-i.o.a/2,n+=i.o.b+h;else if(d.Hc(Tb))for(a=new M(r.f);a.a<a.c.c.length;)i=l(se(a),70),i.n.a=b+e.o.a-r.n.a;ldn(new Mr((iA(),new oce(t,!1,!1,new i$))),new PV(null,e,!1))}}function z7n(e,t){var n,r,i,a,h,d,b,E,C;if(t.c.length!=0){for(In(),Roe(t.c,t.c.length,null),i=new M(t),r=l(se(i),145);i.a<i.c.c.length;)n=l(se(i),145),P_e(r.e.c,n.e.c)&&!(yke(Pet(r.e).b,n.e.d)||yke(Pet(n.e).b,r.e.d))?r=(Fa(r.k,n.k),Fa(r.b,n.b),Fa(r.c,n.c),mc(r.i,n.i),Fa(r.d,n.d),Fa(r.j,n.j),a=v.Math.min(r.e.c,n.e.c),h=v.Math.min(r.e.d,n.e.d),d=v.Math.max(r.e.c+r.e.b,n.e.c+n.e.b),b=d-a,E=v.Math.max(r.e.d+r.e.a,n.e.d+n.e.a),C=E-h,Wtt(r.e,a,h,b,C),rdn(r.f,n.f),!r.a&&(r.a=n.a),Fa(r.g,n.g),wt(r.g,n),r):(lpt(e,r),r=n);lpt(e,r)}}function V7n(e,t,n,r){var i,a,h,d,b,E;if(d=e.j,d==(Mt(),Dl)&&t!=(Ao(),V0)&&t!=(Ao(),Eb)&&(d=rpt(e,n),Ka(e,d),!(e.q?e.q:(In(),In(),lp))._b((Nt(),d5))&&d!=Dl&&(e.n.a!=0||e.n.b!=0)&&ut(e,d5,own(e,d))),t==(Ao(),gp)){switch(E=0,d.g){case 1:case 3:a=e.i.o.a,a>0&&(E=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(E=e.n.b/i)}ut(e,(mt(),Yy),E)}if(b=e.o,h=e.a,r)h.a=r.a,h.b=r.b,e.d=!0;else if(t!=V0&&t!=Eb&&d!=Dl)switch(d.g){case 1:h.a=b.a/2;break;case 2:h.a=b.a,h.b=b.b/2;break;case 3:h.a=b.a/2,h.b=b.b;break;case 4:h.b=b.b/2}else h.a=b.a/2,h.b=b.b/2}function zM(e){var t,n,r,i,a,h,d,b,E,C;if(e.ej())if(C=e.Vi(),b=e.fj(),C>0)if(t=new nxe(e.Gi()),n=C,a=n<100?null:new Iv(n),EP(e,n,t.g),i=n==1?e.Zi(4,Re(t,0),null,0,b):e.Zi(6,t,null,-1,b),e.bj()){for(r=new Ir(t);r.e!=r.i.gc();)a=e.dj(Ur(r),a);a?(a.Ei(i),a.Fi()):e.$i(i)}else a?(a.Ei(i),a.Fi()):e.$i(i);else EP(e,e.Vi(),e.Wi()),e.$i(e.Zi(6,(In(),Lc),null,-1,b));else if(e.bj())if(C=e.Vi(),C>0){for(d=e.Wi(),E=C,EP(e,C,d),a=E<100?null:new Iv(E),r=0;r<E;++r)h=d[r],a=e.dj(h,a);a&&a.Fi()}else EP(e,e.Vi(),e.Wi());else EP(e,e.Vi(),e.Wi())}function q7n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;for(d=new M(t);d.a<d.c.c.length;)a=l(se(d),233),a.e=null,a.c=0;for(b=null,h=new M(t);h.a<h.c.c.length;)if(a=l(se(h),233),P=a.d[0],!(n&&P.k!=(gr(),za))){for(K=l(re(P,(mt(),b8)),15).Kc();K.Ob();)$=l(K.Pb(),10),(!n||$.k==(gr(),za))&&((!a.e&&(a.e=new yt),a.e).Fc(e.b[$.c.p][$.p]),++e.b[$.c.p][$.p].c);if(!n&&P.k==(gr(),za)){if(b)for(C=l(_s(e.d,b),21).Kc();C.Ob();)for(E=l(C.Pb(),10),i=l(_s(e.d,P),21).Kc();i.Ob();)r=l(i.Pb(),10),nln(e.b[E.c.p][E.p]).Fc(e.b[r.c.p][r.p]),++e.b[r.c.p][r.p].c;b=P}}}function U7n(e,t){var n,r,i,a,h,d,b,E,C;for(n=0,C=new yt,d=new M(t);d.a<d.c.c.length;){switch(h=l(se(d),11),Oxe(e.b,e.d[h.p]),C.c=Ue(xr,Ht,1,0,5,1),h.i.k.g){case 0:r=l(re(h,(mt(),Wh)),10),fh(r.j,new SWe(C));break;case 1:psn(Sle($s(new jn(null,new zn(h.i.j,16)),new CWe(h))),new AWe(C));break;case 3:i=l(re(h,(mt(),vs)),11),wt(C,new No(i,St(h.e.c.length+h.g.c.length)))}for(E=new M(C);E.a<E.c.c.length;)b=l(se(E),46),a=i3e(e,l(b.a,11)),a>e.d[h.p]&&(n+=e_e(e.b,a)*l(b.b,19).a,Gv(e.a,St(a)));for(;!QC(e.a);)I_e(e.b,l(kk(e.a),19).a)}return n}function G7n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(P=new Zc(l(nn(e,(uG(),xDe)),8)),P.a=v.Math.max(P.a-n.b-n.c,0),P.b=v.Math.max(P.b-n.d-n.a,0),i=Lt(nn(e,wDe)),(i==null||(Xn(i),i<=0))&&(i=1.3),d=new yt,Z=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));Z.e!=Z.i.gc();)K=l(Ur(Z),33),h=new yet(K),d.c[d.c.length]=h;switch($=l(nn(e,spe),311),$.g){case 3:oe=g8n(d,t,P.a,P.b,(E=r,Xn(i),E));break;case 1:oe=$8n(d,t,P.a,P.b,(C=r,Xn(i),C));break;default:oe=Y7n(d,t,P.a,P.b,(b=r,Xn(i),b))}a=new tU(oe),te=Bhe(a,t,n,P.a,P.b,r,(Xn(i),i)),Iy(e,te.a,te.b,!1,!0)}function W7n(e,t){var n,r,i,a;n=t.b,a=new Ah(n.j),i=0,r=n.j,r.c=Ue(xr,Ht,1,0,5,1),ey(l(b2(e.b,(Mt(),Qn),(my(),Uy)),15),n),i=RN(a,i,new Bte,r),ey(l(b2(e.b,Qn,pb),15),n),i=RN(a,i,new iC,r),ey(l(b2(e.b,Qn,qy),15),n),ey(l(b2(e.b,fr,Uy),15),n),ey(l(b2(e.b,fr,pb),15),n),i=RN(a,i,new O$,r),ey(l(b2(e.b,fr,qy),15),n),ey(l(b2(e.b,Jr,Uy),15),n),i=RN(a,i,new D$,r),ey(l(b2(e.b,Jr,pb),15),n),i=RN(a,i,new P$,r),ey(l(b2(e.b,Jr,qy),15),n),ey(l(b2(e.b,nr,Uy),15),n),i=RN(a,i,new $te,r),ey(l(b2(e.b,nr,pb),15),n),ey(l(b2(e.b,nr,qy),15),n)}function K7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(Zr(t,"Layer size calculation",1),C=ma,E=Oa,i=!1,d=new M(e.b);d.a<d.c.c.length;)if(h=l(se(d),29),b=h.c,b.a=0,b.b=0,h.a.c.length!=0){for(i=!0,$=new M(h.a);$.a<$.c.c.length;)P=l(se($),10),Z=P.o,K=P.d,b.a=v.Math.max(b.a,Z.a+K.b+K.c);r=l(Kt(h.a,0),10),te=r.n.b-r.d.d,r.k==(gr(),La)&&(te-=l(re(e,(Nt(),gB)),142).d),a=l(Kt(h.a,h.a.c.length-1),10),n=a.n.b+a.o.b+a.d.a,a.k==La&&(n+=l(re(e,(Nt(),gB)),142).a),b.b=n-te,C=v.Math.min(C,te),E=v.Math.max(E,n)}i||(C=0,E=0),e.f.b=E-C,e.c.b-=C,Br(t)}function oEe(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(a=0,h=0,E=new M(e.a);E.a<E.c.c.length;)d=l(se(E),10),a=v.Math.max(a,d.d.b),h=v.Math.max(h,d.d.c);for(b=new M(e.a);b.a<b.c.c.length;){switch(d=l(se(b),10),n=l(re(d,(Nt(),Lg)),248),n.g){case 1:Z=0;break;case 2:Z=1;break;case 5:Z=.5;break;default:for(r=0,P=0,K=new M(d.j);K.a<K.c.c.length;)$=l(se(K),11),$.e.c.length==0||++r,$.g.c.length==0||++P;r+P==0?Z=.5:Z=P/(r+P)}oe=e.c,C=d.o.a,ye=(oe.a-C)*Z,Z>.5?ye-=h*2*(Z-.5):Z<.5&&(ye+=a*2*(.5-Z)),i=d.d.b,ye<i&&(ye=i),te=d.d.c,ye>oe.a-te-C&&(ye=oe.a-te-C),d.n.a=t+ye}}function Y7n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe;for(d=Ue(Eo,Gc,25,e.c.length,15,1),$=new eq(new rH),Vke($,e),E=0,te=new yt;$.b.c.length!=0;)if(h=l($.b.c.length==0?null:Kt($.b,0),157),E>1&&Mh(h)*vf(h)/2>d[0]){for(a=0;a<te.c.length-1&&Mh(h)*vf(h)/2>d[a];)++a;Z=new Qg(te,0,a+1),P=new tU(Z),C=Mh(h)/vf(h),b=Bhe(P,t,new sk,n,r,i,C),xs(z1(P.e),b),LE(d9($,P)),K=new Qg(te,a+1,te.c.length),Vke($,K),te.c=Ue(xr,Ht,1,0,5,1),E=0,ynt(d,d.length,0)}else oe=$.b.c.length==0?null:Kt($.b,0),oe!=null&&gle($,0),E>0&&(d[E]=d[E-1]),d[E]+=Mh(h)*vf(h),++E,te.c[te.c.length]=h;return te}function X7n(e){var t,n,r,i,a;if(r=l(re(e,(Nt(),Yu)),163),r==(cd(),mb)){for(n=new Rr(zr(bl(e).a.Kc(),new J));Ei(n);)if(t=l(hi(n),17),!Iat(t))throw ue(new p6(Ufe+BN(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(r==c5){for(a=new Rr(zr($a(e).a.Kc(),new J));Ei(a);)if(i=l(hi(a),17),!Iat(i))throw ue(new p6(Ufe+BN(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function Q7n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;for(Zr(t,"Label dummy removal",1),r=ot(Lt(re(e,(Nt(),E8)))),i=ot(Lt(re(e,m5))),E=l(re(e,zf),103),b=new M(e.b);b.a<b.c.c.length;)for(d=l(se(b),29),P=new Ro(d.a,0);P.b<P.d.gc();)C=(kr(P.b<P.d.gc()),l(P.d.Xb(P.c=P.b++),10)),C.k==(gr(),kf)&&($=l(re(C,(mt(),vs)),17),Z=ot(Lt(re($,qm))),h=Je(re(C,w8))===Je((Rf(),xb)),n=new Zc(C.n),h&&(n.b+=Z+r),a=new en(C.o.a,C.o.b-Z-r),K=l(re(C,lB),15),E==(Dc(),Jp)||E==Zp?Oxn(K,n,i,a,h,E):dmn(K,n,i,a),Fa($.b,K),Dhe(C,Je(re(e,Qp))===Je((Vp(),NB))),wf(P));Br(t)}function Z7n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(b=new yt,a=new M(t.a);a.a<a.c.c.length;)for(i=l(se(a),10),d=new M(i.j);d.a<d.c.c.length;){for(h=l(se(d),11),C=null,Pe=pg(h.g),We=0,at=Pe.length;We<at;++We)je=Pe[We],UE(je.d.i,n)||(ye=Lhe(e,t,n,je,je.c,(Oc(),Hu),C),ye!=C&&(b.c[b.c.length]=ye),ye.c&&(C=ye));for(E=null,Z=pg(h.e),te=0,oe=Z.length;te<oe;++te)K=Z[te],UE(K.c.i,n)||(ye=Lhe(e,t,n,K,K.d,(Oc(),Kh),E),ye!=E&&(b.c[b.c.length]=ye),ye.c&&(E=ye))}for($=new M(b);$.a<$.c.c.length;)P=l(se($),441),vl(t.a,P.a,0)!=-1||wt(t.a,P.a),P.c&&(r.c[r.c.length]=P)}function J7n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(Zr(n,"Interactive cycle breaking",1),P=new yt,K=new M(t.a);K.a<K.c.c.length;)for($=l(se(K),10),$.p=1,Z=i8e($).a,C=_y($,(Oc(),Hu)).Kc();C.Ob();)for(E=l(C.Pb(),11),a=new M(E.g);a.a<a.c.c.length;)r=l(se(a),17),te=r.d.i,te!=$&&(oe=i8e(te).a,oe<Z&&(P.c[P.c.length]=r));for(h=new M(P);h.a<h.c.c.length;)r=l(se(h),17),Ly(r,!0);for(P.c=Ue(xr,Ht,1,0,5,1),b=new M(t.a);b.a<b.c.c.length;)d=l(se(b),10),d.p>0&&Qdt(e,d,P);for(i=new M(P);i.a<i.c.c.length;)r=l(se(i),17),Ly(r,!0);P.c=Ue(xr,Ht,1,0,5,1),Br(n)}function Gpt(e,t){var n,r,i,a,h,d,b,E,C;return E="",t.length==0?e.de(MEe,Uhe,-1,-1):(C=N4(t),Tn(C.substr(0,3),"at ")&&(C=C.substr(3)),C=C.replace(/\[.*?\]/g,""),h=C.indexOf("("),h==-1?(h=C.indexOf("@"),h==-1?(E=C,C=""):(E=N4(C.substr(h+1)),C=N4(C.substr(0,h)))):(n=C.indexOf(")",h),E=C.substr(h+1,n-(h+1)),C=N4(C.substr(0,h))),h=lg(C,mh(46)),h!=-1&&(C=C.substr(h+1)),(C.length==0||Tn(C,"Anonymous function"))&&(C=Uhe),d=xV(E,mh(58)),i=i5e(E,mh(58),d-1),b=-1,r=-1,a=MEe,d!=-1&&i!=-1&&(a=E.substr(0,i),b=fet(E.substr(i+1,d-(i+1))),r=fet(E.substr(d+1))),e.de(a,C,b,r))}function cEe(e,t,n){var r,i,a,h,d,b;if(t.l==0&&t.m==0&&t.h==0)throw ue(new Ez("divide by zero"));if(e.l==0&&e.m==0&&e.h==0)return n&&(hb=qu(0,0,0)),qu(0,0,0);if(t.h==mR&&t.m==0&&t.l==0)return gvn(e,n);if(b=!1,t.h>>19&&(t=YE(t),b=!b),h=X6n(t),a=!1,i=!1,r=!1,e.h==mR&&e.m==0&&e.l==0)if(i=!0,a=!0,h==-1)e=uJe((PE(),KSe)),r=!0,b=!b;else return d=a7e(e,h),b&&Ele(d),n&&(hb=qu(0,0,0)),d;else e.h>>19&&(a=!0,e=YE(e),r=!0,b=!b);return h!=-1?Bpn(e,h,b,a,n):Qke(e,t)<0?(n&&(a?hb=YE(e):hb=qu(e.l,e.m,e.h)),qu(0,0,0)):Hkn(r?e:qu(e.l,e.m,e.h),t,b,a,i,n)}function DG(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(e.e&&e.c.c<e.f)throw ue(new pl("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(C=l(H1(e.g),9),K=Gg(e.f),a=C,d=0,E=a.length;d<E;++d)r=a[d],P=l(rN(e,r.g),246),P?wt(K,l(fht(e,P),123)):K.c[K.c.length]=null;for(Z=new eo,ya($s(ch($s(new jn(null,new zn(K,16)),new Ere),new KWe(t)),new Tre),new YWe(Z)),Nf(Z,e.a),n=new yt,i=C,h=0,b=i.length;h<b;++h)r=i[h],Fa(n,Qlt(e,gq(l(rN(Z,r.g),20)))),$=l(Kt(K,r.g),123),$&&(n.c[n.c.length]=$);return Fa(n,Qlt(e,gq(l(rN(Z,C[C.length-1].g+1),20)))),n}function eEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(Zr(n,"Model order cycle breaking",1),e.a=0,e.b=0,K=new yt,C=t.a.c.length,E=new M(t.a);E.a<E.c.c.length;)b=l(se(E),10),so(b,(mt(),au))&&(C=v.Math.max(C,l(re(b,au),19).a+1));for(te=new M(t.a);te.a<te.c.c.length;)for(Z=l(se(te),10),h=o1t(e,Z,C),$=_y(Z,(Oc(),Hu)).Kc();$.Ob();)for(P=l($.Pb(),11),a=new M(P.g);a.a<a.c.c.length;)r=l(se(a),17),oe=r.d.i,d=o1t(e,oe,C),d<h&&(K.c[K.c.length]=r);for(i=new M(K);i.a<i.c.c.length;)r=l(se(i),17),Ly(r,!0),ut(t,(mt(),aB),(er(),!0));K.c=Ue(xr,Ht,1,0,5,1),Br(n)}function tEn(e,t){var n,r,i,a,h,d,b;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,h=e.w.a.ec().Kc();h.Ob();)i=l(h.Pb(),11),Rle(Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(d=e.r.a.ec().Kc();d.Ob();)i=l(d.Pb(),11),Rle(Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(b=t.w.a.ec().Kc();b.Ob();)i=l(b.Pb(),11),Rle(Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Kc();a.Ob();)i=l(a.Pb(),11),Rle(Ml(pe(de(ao,1),dt,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n<r?new Rq(e,t,r-n):r<n?new Rq(t,e,n-r):(new Rq(t,e,0),new Rq(e,t,0))}}function nEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;for(E=t.c,i=t4e(e.e),P=ug(xP(Fl(e4e(e.e)),e.d*e.a,e.c*e.b),-.5),n=i.a-P.a,r=i.b-P.b,h=t.a,n=h.c-n,r=h.d-r,b=new M(E);b.a<b.c.c.length;){switch(d=l(se(b),395),$=d.b,K=n+$.a,oe=r+$.b,Z=Sa(K/e.a),ye=Sa(oe/e.b),a=d.a,a.g){case 0:C=(Vk(),WR);break;case 1:C=(Vk(),GR);break;case 2:C=(Vk(),KR);break;default:C=(Vk(),YR)}a.a?(je=Sa((oe+d.c)/e.b),wt(e.f,new f5e(C,St(ye),St(je))),a==(xM(),QR)?XE(e,0,ye,Z,je):XE(e,Z,ye,e.d-1,je)):(te=Sa((K+d.c)/e.a),wt(e.f,new f5e(C,St(Z),St(te))),a==(xM(),XR)?XE(e,Z,0,te,ye):XE(e,Z,ye,te,e.c-1))}}function rEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;for($=new yt,i=new yt,te=null,d=t.Kc();d.Ob();)h=l(d.Pb(),19),a=new Av(h.a),i.c[i.c.length]=a,te&&(a.d=te,te.e=a),te=a;for(Pe=L8n(e),C=0;C<i.c.length;++C){for(K=null,oe=d_e((Un(0,i.c.length),l(i.c[0],652))),n=null,r=ma,P=1;P<e.b.c.length;++P)ye=oe?v.Math.abs(oe.b-P):v.Math.abs(P-K.b)+1,Z=K?v.Math.abs(P-K.b):ye+1,Z<ye?(E=K,b=Z):(E=oe,b=ye),je=(We=ot(Lt(re(e,(Nt(),gIe)))),Pe[P]+v.Math.pow(b,We)),je<r&&(r=je,n=E,n.c=P),oe&&P==oe.b&&(K=oe,oe=tun(oe));n&&(wt($,St(n.c)),n.a=!0,qmn(n))}return In(),Roe($.c,$.c.length,null),$}function iEn(e){var t,n,r,i,a,h,d,b,E,C;for(t=new Jb,n=new Jb,E=Tn(BR,(i=RM(e.b,Oi),i?wi(W1((!i.b&&(i.b=new mf((Sn(),_c),ql,i)),i.b),Pd)):null)),b=0;b<e.i;++b)d=l(e.g[b],170),Le(d,99)?(h=l(d,18),h.Bb&Yl?(!(h.Bb&vg)||!E&&(a=RM(h,Oi),(a?wi(W1((!a.b&&(a.b=new mf((Sn(),_c),ql,a)),a.b),AW)):null)==null))&&fi(t,h):(C=Ac(h),C&&C.Bb&Yl||(!(h.Bb&vg)||!E&&(r=RM(h,Oi),(r?wi(W1((!r.b&&(r.b=new mf((Sn(),_c),ql,r)),r.b),AW)):null)==null))&&fi(n,h))):(Sc(),l(d,66).Oj()&&(d.Jj()||(fi(t,d),fi(n,d))));C4(t),C4(n),e.a=l(t.g,247),l(n.g,247)}function sEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(E=V3n(t),te=l(re(t,(Nt(),$L)),314),te!=(Rk(),g8)&&Ho(E,new Sx),oe=l(re(t,hB),292),Ho(E,new es(oe)),Z=0,C=new yt,a=new WA(E);a.a!=a.b;)i=l(AU(a),37),smt(e.c,i),$=l(re(i,(mt(),q0e)),15),Z+=$.gc(),r=$.Kc(),wt(C,new No(i,r));for(Zr(n,"Recursive hierarchical layout",Z),K=l(l(Kt(C,C.c.length-1),46).b,47);K.Ob();)for(b=new M(C);b.a<b.c.c.length;)for(d=l(se(b),46),$=l(d.b,47),h=l(d.a,37);$.Ob();)if(P=l($.Pb(),51),Le(P,507)){if(h.e)break;P.pf(h,Eu(n,1));break}else P.pf(h,Eu(n,1));Br(n)}function Wpt(e,t){var n,r,i,a,h,d,b,E,C,P;if(b=t.length-1,d=(yi(b,t.length),t.charCodeAt(b)),d==93){if(h=lg(t,mh(91)),h>=0)return i=avn(e,t.substr(1,h-1)),C=t.substr(h+1,b-(h+1)),tTn(e,C,i)}else{if(n=-1,JSe==null&&(JSe=new RegExp("\\d")),JSe.test(String.fromCharCode(d))&&(n=i5e(t,mh(46),b-1),n>=0)){r=l(zce(e,kct(e,t.substr(1,n-1)),!1),58),E=0;try{E=Bf(t.substr(n+1),Jo,as)}catch($){throw $=ea($),Le($,127)?(a=$,ue(new Uq(a))):ue($)}if(E<r.gc())return P=r.Xb(E),Le(P,72)&&(P=l(P,72).dd()),l(P,56)}if(n<0)return l(zce(e,kct(e,t.substr(1)),!1),56)}return null}function n_(e,t,n){var r,i,a,h,d,b,E,C,P;if(Qs(t,n)>=0)return n;switch(ry(tl(e,n))){case 2:{if(Tn("",Im(e,n.Hj()).ne())){if(b=BP(tl(e,n)),d=xE(tl(e,n)),C=d7e(e,t,b,d),C)return C;for(i=$7e(e,t),h=0,P=i.gc();h<P;++h)if(C=l(i.Xb(h),170),_7e(Goe(tl(e,C)),b))return C}return null}case 4:{if(Tn("",Im(e,n.Hj()).ne())){for(r=n;r;r=ndn(tl(e,r)))if(E=BP(tl(e,r)),d=xE(tl(e,r)),C=g7e(e,t,E,d),C)return C;if(b=BP(tl(e,n)),Tn($2,b))return t8e(e,t);for(a=ghe(e,t),h=0,P=a.gc();h<P;++h)if(C=l(a.Xb(h),170),_7e(Goe(tl(e,C)),b))return C}return null}default:return null}}function aEn(e,t,n){var r,i,a,h,d,b,E,C;if(n.gc()==0)return!1;if(d=(Sc(),l(t,66).Oj()),a=d?n:new hy(n.gc()),Gp(e.e,t)){if(t.hi())for(E=n.Kc();E.Ob();)b=E.Pb(),AG(e,t,b,Le(t,99)&&(l(t,18).Bb&wc)!=0)||(i=Zg(t,b),a.Hc(i)||a.Fc(i));else if(!d)for(E=n.Kc();E.Ob();)b=E.Pb(),i=Zg(t,b),a.Fc(i)}else{if(n.gc()>1)throw ue(new Jn($R));for(C=Wu(e.e.Tg(),t),r=l(e.g,119),h=0;h<e.i;++h)if(i=r[h],C.rl(i.ak())){if(n.Hc(d?i:i.dd()))return!1;for(E=n.Kc();E.Ob();)b=E.Pb(),l(z6(e,h,d?l(b,72):Zg(t,b)),72);return!0}d||(i=Zg(t,n.Kc().Pb()),a.Fc(i))}return ga(e,a)}function oEn(e,t){var n,r,i,a,h,d,b,E,C;for(C=new sa,d=(E=new m0(e.c).a.vc().Kc(),new v0(E));d.a.Ob();)a=(i=l(d.a.Pb(),42),l(i.dd(),458)),a.b==0&&xa(C,a,C.c.b,C.c);for(;C.b!=0;)for(a=l(C.b==0?null:(kr(C.b!=0),sd(C,C.a.a)),458),a.a==null&&(a.a=0),r=new M(a.d);r.a<r.c.c.length;)n=l(se(r),654),n.b.a==null?n.b.a=ot(a.a)+n.a:t.o==(k0(),X2)?n.b.a=v.Math.min(ot(n.b.a),ot(a.a)+n.a):n.b.a=v.Math.max(ot(n.b.a),ot(a.a)+n.a),--n.b.b,n.b.b==0&&zi(C,n.b);for(h=(b=new m0(e.c).a.vc().Kc(),new v0(b));h.a.Ob();)a=(i=l(h.a.Pb(),42),l(i.dd(),458)),t.i[a.c.p]=a.a}function Kl(){Kl=Ee,nI=new Xs(s9e),new Ua("DEPTH",St(0)),AY=new Ua("FAN",St(0)),okt=new Ua($bt,St(0)),w5=new Ua("ROOT",(er(),!1)),Dge=new Ua("LEFTNEIGHBOR",null),ckt=new Ua("RIGHTNEIGHBOR",null),MY=new Ua("LEFTSIBLING",null),Pge=new Ua("RIGHTSIBLING",null),Oge=new Ua("DUMMY",!1),new Ua("LEVEL",St(0)),YIe=new Ua("REMOVABLE_EDGES",new sa),Nge=new Ua("XCOOR",St(0)),XIe=new Ua("YCOOR",St(0)),LY=new Ua("LEVELHEIGHT",0),tI=new Ua("ID",""),IY=new Ua("POSITION",St(0)),Wm=new Ua("PRELIM",0),xT=new Ua("MODIFIER",0),eI=new Xs(Qvt),_B=new Xs(Zvt)}function cEn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;for(C=n+t.c.c.a,K=new M(t.j);K.a<K.c.c.length;){if($=l(se(K),11),i=Ml(pe(de(ao,1),dt,8,0,[$.i.n,$.n,$.a])),t.k==(gr(),Mu)&&(d=l(re($,(mt(),vs)),11),i.a=Ml(pe(de(ao,1),dt,8,0,[d.i.n,d.n,d.a])).a,t.n.a=i.a),h=new en(0,i.b),$.j==(Mt(),fr))h.a=C;else if($.j==nr)h.a=n;else continue;if(Z=v.Math.abs(i.a-h.a),!(Z<=r&&!fwn(t)))for(a=$.g.c.length+$.e.c.length>1,E=new C0($.b);Sl(E.a)||Sl(E.b);)b=l(Sl(E.a)?se(E.a):se(E.b),17),P=b.c==$?b.d:b.c,v.Math.abs(Ml(pe(de(ao,1),dt,8,0,[P.i.n,P.n,P.a])).b-h.b)>1&&exn(e,b,h,a,$)}}function lEn(e){var t,n,r,i,a,h;if(i=new Ro(e.e,0),r=new Ro(e.a,0),e.d)for(n=0;n<e.b;n++)kr(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);else for(n=0;n<e.b-1;n++)kr(i.b<i.d.gc()),i.d.Xb(i.c=i.b++),wf(i);for(t=ot((kr(i.b<i.d.gc()),Lt(i.d.Xb(i.c=i.b++))));e.f-t>Tde;){for(a=t,h=0;v.Math.abs(t-a)<Tde;)++h,t=ot((kr(i.b<i.d.gc()),Lt(i.d.Xb(i.c=i.b++)))),kr(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);h<e.b&&(kr(i.b>0),i.a.Xb(i.c=--i.b),S8n(e,e.b-h,a,r,i),kr(i.b<i.d.gc()),i.d.Xb(i.c=i.b++)),kr(r.b>0),r.a.Xb(r.c=--r.b)}if(!e.d)for(n=0;n<e.b-1;n++)kr(i.b<i.d.gc()),i.d.Xb(i.c=i.b++),wf(i);e.d=!0,e.c=!0}function Ts(){Ts=Ee,fNe=(e3e(),Ql).b,kEt=l(Re(rt(Ql.b),0),34),rw=l(Re(rt(Ql.b),1),34),xEt=l(Re(rt(Ql.b),2),34),z_=Ql.bb,l(Re(rt(Ql.bb),0),34),l(Re(rt(Ql.bb),1),34),V_=Ql.fb,EI=l(Re(rt(Ql.fb),0),34),l(Re(rt(Ql.fb),1),34),l(Re(rt(Ql.fb),2),18),o3=Ql.qb,NEt=l(Re(rt(Ql.qb),0),34),l(Re(rt(Ql.qb),1),18),l(Re(rt(Ql.qb),2),18),JB=l(Re(rt(Ql.qb),3),34),eF=l(Re(rt(Ql.qb),4),34),SI=l(Re(rt(Ql.qb),6),34),TI=l(Re(rt(Ql.qb),5),18),EEt=Ql.j,TEt=Ql.k,SEt=Ql.q,CEt=Ql.w,AEt=Ql.B,MEt=Ql.A,LEt=Ql.C,IEt=Ql.D,OEt=Ql._,DEt=Ql.cb,PEt=Ql.hb}function uEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;e.c=0,e.b=0,r=2*t.c.a.c.length+1;e:for(P=n.Kc();P.Ob();){if(C=l(P.Pb(),11),d=C.j==(Mt(),Qn)||C.j==Jr,K=0,d){if($=l(re(C,(mt(),Wh)),10),!$)continue;K+=zxn(e,r,C,$)}else{for(E=new M(C.g);E.a<E.c.c.length;)if(b=l(se(E),17),i=b.d,i.i.c==t.c){wt(e.a,C);continue e}else K+=e.g[i.p];for(h=new M(C.e);h.a<h.c.c.length;)if(a=l(se(h),17),i=a.c,i.i.c==t.c){wt(e.a,C);continue e}else K-=e.g[i.p]}C.e.c.length+C.g.c.length>0?(e.f[C.p]=K/(C.e.c.length+C.g.c.length),e.c=v.Math.min(e.c,e.f[C.p]),e.b=v.Math.max(e.b,e.f[C.p])):d&&(e.f[C.p]=K)}}function hEn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function fEn(e,t,n){var r,i,a,h;for(Zr(n,"Graph transformation ("+e.a+")",1),h=oy(t.a),a=new M(t.b);a.a<a.c.c.length;)i=l(se(a),29),Fa(h,i.a);if(r=l(re(t,(Nt(),NLe)),419),r==(lN(),VK))switch(l(re(t,zf),103).g){case 2:QA(t,h);break;case 3:wM(t,h);break;case 4:e.a==(zE(),eB)?(wM(t,h),Oce(t,h)):(Oce(t,h),wM(t,h))}else if(e.a==(zE(),eB))switch(l(re(t,zf),103).g){case 2:QA(t,h),Oce(t,h);break;case 3:wM(t,h),QA(t,h);break;case 4:QA(t,h),wM(t,h)}else switch(l(re(t,zf),103).g){case 2:QA(t,h),Oce(t,h);break;case 3:QA(t,h),wM(t,h);break;case 4:wM(t,h),QA(t,h)}Br(n)}function dEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te;for(E=new Mp,C=new Mp,Z=new Mp,te=new Mp,b=ot(Lt(re(t,(Nt(),e3)))),a=ot(Lt(re(t,_1))),d=new M(n);d.a<d.c.c.length;)if(h=l(se(d),10),P=l(re(h,(mt(),Vl)),61),P==(Mt(),Qn))for(C.a.zc(h,C),i=new Rr(zr(bl(h).a.Kc(),new J));Ei(i);)r=l(hi(i),17),Ga(E,r.c.i);else if(P==Jr)for(te.a.zc(h,te),i=new Rr(zr(bl(h).a.Kc(),new J));Ei(i);)r=l(hi(i),17),Ga(Z,r.c.i);E.a.gc()!=0&&($=new Qoe(2,a),K=fEe($,t,E,C,-b-t.c.b),K>0&&(e.a=b+(K-1)*a,t.c.b+=e.a,t.f.b+=e.a)),Z.a.gc()!=0&&($=new Qoe(1,a),K=fEe($,t,Z,te,t.f.b+b-t.c.b),K>0&&(t.f.b+=b+(K-1)*a))}function T9(e,t){var n,r,i,a;a=e.F,t==null?(e.F=null,ZE(e,null)):(e.F=(Xn(t),t),r=lg(t,mh(60)),r!=-1?(i=t.substr(0,r),lg(t,mh(46))==-1&&!Tn(i,Xk)&&!Tn(i,gL)&&!Tn(i,DW)&&!Tn(i,pL)&&!Tn(i,mL)&&!Tn(i,vL)&&!Tn(i,bL)&&!Tn(i,wL)&&(i=Owt),n=xV(t,mh(62)),n!=-1&&(i+=""+t.substr(n+1)),ZE(e,i)):(i=t,lg(t,mh(46))==-1&&(r=lg(t,mh(91)),r!=-1&&(i=t.substr(0,r)),!Tn(i,Xk)&&!Tn(i,gL)&&!Tn(i,DW)&&!Tn(i,pL)&&!Tn(i,mL)&&!Tn(i,vL)&&!Tn(i,bL)&&!Tn(i,wL)?(i=Owt,r!=-1&&(i+=""+t.substr(r))):i=t),ZE(e,i),i==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&us(e,new go(e,1,5,a,t))}function gEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;if(te=t.b.c.length,!(te<3)){for(K=Ue(ri,Pi,25,te,15,1),P=0,C=new M(t.b);C.a<C.c.c.length;)E=l(se(C),29),K[P++]=E.a.c.length;for($=new Ro(t.b,2),r=1;r<te-1;r++)for(n=(kr($.b<$.d.gc()),l($.d.Xb($.c=$.b++),29)),Z=new M(n.a),a=0,d=0,b=0;b<K[r+1];b++)if(Pe=l(se(Z),10),b==K[r+1]-1||D8e(e,Pe,r+1,r)){for(h=K[r]-1,D8e(e,Pe,r+1,r)&&(h=e.c.e[l(l(l(Kt(e.c.b,Pe.p),15).Xb(0),46).a,10).p]);d<=b;){if(je=l(Kt(n.a,d),10),!D8e(e,je,r+1,r))for(ye=l(Kt(e.c.b,je.p),15).Kc();ye.Ob();)oe=l(ye.Pb(),46),i=e.c.e[l(oe.a,10).p],(i<a||i>h)&&Ga(e.b,l(oe.b,17));++d}a=h}}}function lEe(e,t){var n;if(t==null||Tn(t,vh)||t.length==0&&e.k!=(Bm(),S8))return null;switch(e.k.g){case 1:return zU(t,z9)?(er(),Y9):zU(t,$de)?(er(),z2):null;case 2:try{return St(Bf(t,Jo,as))}catch(r){if(r=ea(r),Le(r,127))return null;throw ue(r)}case 4:try{return R4(t)}catch(r){if(r=ea(r),Le(r,127))return null;throw ue(r)}case 3:return t;case 5:return Lut(e),R1t(e,t);case 6:return Lut(e),E6n(e,e.a,t);case 7:try{return n=R5n(e),n.Jf(t),n}catch(r){if(r=ea(r),Le(r,32))return null;throw ue(r)}default:throw ue(new pl("Invalid type set for this layout option."))}}function pEn(e){rM();var t,n,r,i,a,h,d;for(d=new sYe,n=new M(e);n.a<n.c.c.length;)t=l(se(n),140),(!d.b||t.c>=d.b.c)&&(d.b=t),(!d.c||t.c<=d.c.c)&&(d.d=d.c,d.c=t),(!d.e||t.d>=d.e.d)&&(d.e=t),(!d.f||t.d<=d.f.d)&&(d.f=t);return r=new GU((KE(),Vy)),UP(e,F4t,new gf(pe(de(JR,1),Ht,369,0,[r]))),h=new GU(i5),UP(e,B4t,new gf(pe(de(JR,1),Ht,369,0,[h]))),i=new GU(r5),UP(e,R4t,new gf(pe(de(JR,1),Ht,369,0,[i]))),a=new GU(b_),UP(e,N4t,new gf(pe(de(JR,1),Ht,369,0,[a]))),nhe(r.c,Vy),nhe(i.c,r5),nhe(a.c,b_),nhe(h.c,i5),d.a.c=Ue(xr,Ht,1,0,5,1),Fa(d.a,r.c),Fa(d.a,v2(i.c)),Fa(d.a,a.c),Fa(d.a,v2(h.c)),d}function uEe(e){var t;switch(e.d){case 1:{if(e.hj())return e.o!=-2;break}case 2:{if(e.hj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.gj(),e.p){case 0:return t!=null&&Zt(Xt(t))!=kA(e.k,0);case 1:return t!=null&&l(t,217).a!=li(e.k)<<24>>24;case 2:return t!=null&&l(t,172).a!=(li(e.k)&Aa);case 6:return t!=null&&kA(l(t,162).a,e.k);case 5:return t!=null&&l(t,19).a!=li(e.k);case 7:return t!=null&&l(t,184).a!=li(e.k)<<16>>16;case 3:return t!=null&&ot(Lt(t))!=e.j;case 4:return t!=null&&l(t,155).a!=e.j;default:return t==null?e.n!=null:!hs(t,e.n)}}function cR(e,t,n){var r,i,a,h;return e.Fk()&&e.Ek()&&(h=Voe(e,l(n,56)),Je(h)!==Je(n))?(e.Oi(t),e.Ui(t,Eot(e,t,h)),e.rk()&&(a=(i=l(n,49),e.Dk()?e.Bk()?i.ih(e.b,Ac(l(Rn(lh(e.b),e.aj()),18)).n,l(Rn(lh(e.b),e.aj()).Yj(),26).Bj(),null):i.ih(e.b,Qs(i.Tg(),Ac(l(Rn(lh(e.b),e.aj()),18))),null,null):i.ih(e.b,-1-e.aj(),null,null)),!l(h,49).eh()&&(a=(r=l(h,49),e.Dk()?e.Bk()?r.gh(e.b,Ac(l(Rn(lh(e.b),e.aj()),18)).n,l(Rn(lh(e.b),e.aj()).Yj(),26).Bj(),a):r.gh(e.b,Qs(r.Tg(),Ac(l(Rn(lh(e.b),e.aj()),18))),null,a):r.gh(e.b,-1-e.aj(),null,a))),a&&a.Fi()),pf(e.b)&&e.$i(e.Zi(9,n,h,t,!1)),h):n}function Kpt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;for(C=ot(Lt(re(e,(Nt(),Jy)))),r=ot(Lt(re(e,uIe))),$=new zh,ut($,Jy,C+r),E=t,ye=E.d,te=E.c.i,je=E.d.i,oe=Y3e(te.c),Pe=Y3e(je.c),i=new yt,P=oe;P<=Pe;P++)d=new qp(e),Cp(d,(gr(),po)),ut(d,(mt(),vs),E),ut(d,ba,(Ao(),Iu)),ut(d,gY,$),K=l(Kt(e.b,P),29),P==oe?D4(d,K.a.c.length-n,K):el(d,K),We=ot(Lt(re(E,qm))),We<0&&(We=0,ut(E,qm,We)),d.o.b=We,Z=v.Math.floor(We/2),h=new fu,Ka(h,(Mt(),nr)),Cl(h,d),h.n.b=Z,b=new fu,Ka(b,fr),Cl(b,d),b.n.b=Z,So(E,h),a=new iy,ll(a,E),ut(a,il,null),ic(a,b),So(a,ye),bwn(d,E,a),i.c[i.c.length]=a,E=a;return i}function Dhe(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(b=l(Rm(e,(Mt(),nr)).Kc().Pb(),11).e,K=l(Rm(e,fr).Kc().Pb(),11).g,d=b.c.length,Pe=E0(l(Kt(e.j,0),11));d-- >0;){for(te=(Un(0,b.c.length),l(b.c[0],17)),i=(Un(0,K.c.length),l(K.c[0],17)),je=i.d.e,a=vl(je,i,0),xdn(te,i.d,a),ic(i,null),So(i,null),Z=te.a,t&&zi(Z,new Zc(Pe)),r=$i(i.a,0);r.b!=r.d.c;)n=l(ji(r),8),zi(Z,new Zc(n));for(ye=te.b,$=new M(i.b);$.a<$.c.c.length;)P=l(se($),70),ye.c[ye.c.length]=P;if(oe=l(re(te,(Nt(),il)),74),h=l(re(i,il),74),h)for(oe||(oe=new Th,ut(te,il,oe)),C=$i(h,0);C.b!=C.d.c;)E=l(ji(C),8),zi(oe,new Zc(E))}}function Ypt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(n=l(Vc(e.b,t),124),b=l(l(_s(e.r,t),21),84),b.dc()){n.n.b=0,n.n.c=0;return}for(E=e.u.Hc((Gh(),tm)),h=0,d=b.Kc(),C=null,P=0,$=0;d.Ob();)r=l(d.Pb(),111),i=ot(Lt(r.b.We((kV(),oK)))),a=r.b.rf().a,e.A.Hc((xf(),nw))&&Agt(e,t),C?(K=$+C.d.c+e.w+r.d.b,h=v.Math.max(h,(y0(),g1(N0),v.Math.abs(P-i)<=N0||P==i||isNaN(P)&&isNaN(i)?0:K/(i-P)))):e.C&&e.C.b>0&&(h=v.Math.max(h,xlt(e.C.b+r.d.b,i))),C=r,P=i,$=a;e.C&&e.C.c>0&&(K=$+e.C.c,E&&(K+=C.d.c),h=v.Math.max(h,(y0(),g1(N0),v.Math.abs(P-1)<=N0||P==1||isNaN(P)&&isNaN(1)?0:K/(1-P)))),n.n.b=0,n.a.a=h}function Xpt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(n=l(Vc(e.b,t),124),b=l(l(_s(e.r,t),21),84),b.dc()){n.n.d=0,n.n.a=0;return}for(E=e.u.Hc((Gh(),tm)),h=0,e.A.Hc((xf(),nw))&&Mgt(e,t),d=b.Kc(),C=null,$=0,P=0;d.Ob();)r=l(d.Pb(),111),a=ot(Lt(r.b.We((kV(),oK)))),i=r.b.rf().b,C?(K=P+C.d.a+e.w+r.d.d,h=v.Math.max(h,(y0(),g1(N0),v.Math.abs($-a)<=N0||$==a||isNaN($)&&isNaN(a)?0:K/(a-$)))):e.C&&e.C.d>0&&(h=v.Math.max(h,xlt(e.C.d+r.d.d,a))),C=r,$=a,P=i;e.C&&e.C.a>0&&(K=P+e.C.a,E&&(K+=C.d.a),h=v.Math.max(h,(y0(),g1(N0),v.Math.abs($-1)<=N0||$==1||isNaN($)&&isNaN(1)?0:K/(1-$)))),n.n.d=0,n.a.b=h}function Qpt(e,t,n){var r,i,a,h,d,b;for(this.g=e,d=t.d.length,b=n.d.length,this.d=Ue(up,jm,10,d+b,0,1),h=0;h<d;h++)this.d[h]=t.d[h];for(a=0;a<b;a++)this.d[d+a]=n.d[a];if(t.e){if(this.e=IP(t.e),this.e.Mc(n),n.e)for(i=n.e.Kc();i.Ob();)r=l(i.Pb(),233),r!=t&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=IP(n.e),this.e.Mc(t));this.f=t.f+n.f,this.a=t.a+n.a,this.a>0?ale(this,this.f/this.a):_0(t.g,t.d[0]).a!=null&&_0(n.g,n.d[0]).a!=null?ale(this,(ot(_0(t.g,t.d[0]).a)+ot(_0(n.g,n.d[0]).a))/2):_0(t.g,t.d[0]).a!=null?ale(this,_0(t.g,t.d[0]).a):_0(n.g,n.d[0]).a!=null&&ale(this,_0(n.g,n.d[0]).a)}function mEn(e,t){var n,r,i,a,h,d,b,E,C,P;for(e.a=new srt(Ugn(uI)),r=new M(t.a);r.a<r.c.c.length;){for(n=l(se(r),841),d=new rue(pe(de(t0e,1),Ht,81,0,[])),wt(e.a.a,d),E=new M(n.d);E.a<E.c.c.length;)b=l(se(E),110),C=new k4e(e,b),dEe(C,l(re(n.c,(mt(),a5)),21)),bf(e.g,n)||(ds(e.g,n,new en(b.c,b.d)),ds(e.f,n,C)),wt(e.a.b,C),Lce(d,C);for(h=new M(n.b);h.a<h.c.c.length;)a=l(se(h),594),C=new k4e(e,a.kf()),ds(e.b,a,new No(d,C)),dEe(C,l(re(n.c,(mt(),a5)),21)),a.hf()&&(P=new Eke(e,a.hf(),1),dEe(P,l(re(n.c,a5),21)),i=new rue(pe(de(t0e,1),Ht,81,0,[])),Lce(i,P),En(e.c,a.gf(),new No(d,P)))}return e.a}function Zpt(e){var t;this.a=e,t=(gr(),pe(de(o0e,1),vt,267,0,[za,po,La,Mu,kf,j0])).length,this.b=o2(rpe,[dt,MTe],[593,146],0,[t,t],2),this.c=o2(rpe,[dt,MTe],[593,146],0,[t,t],2),mce(this,za,(Nt(),e3),I_),uM(this,za,po,Jy,Y2),$P(this,za,Mu,Jy),$P(this,za,La,Jy),uM(this,za,kf,e3,I_),mce(this,po,_1,L_),$P(this,po,Mu,_1),$P(this,po,La,_1),uM(this,po,kf,Jy,Y2),EJe(this,Mu,_1),$P(this,Mu,La,_1),$P(this,Mu,kf,age),EJe(this,La,VL),uM(this,La,kf,yT,wT),mce(this,kf,_1,_1),mce(this,j0,_1,L_),uM(this,j0,za,Jy,Y2),uM(this,j0,kf,Jy,Y2),uM(this,j0,po,Jy,Y2)}function vEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(h=n.ak(),Le(h,99)&&l(h,18).Bb&wc&&($=l(n.dd(),49),te=Zv(e.e,$),te!=$)){if(C=Zg(h,te),MA(e,t,Pue(e,t,C)),P=null,pf(e.e)&&(r=n_((Ih(),Vo),e.e.Tg(),h),r!=Rn(e.e.Tg(),e.c))){for(oe=Wu(e.e.Tg(),h),d=0,a=l(e.g,119),b=0;b<t;++b)i=a[b],oe.rl(i.ak())&&++d;P=new Nce(e.e,9,r,$,te,d,!1),P.Ei(new Bp(e.e,9,e.c,n,C,t,!1))}return Z=l(h,18),K=Ac(Z),K?(P=$.ih(e.e,Qs($.Tg(),K),null,P),P=l(te,49).gh(e.e,Qs(te.Tg(),K),null,P)):Z.Bb&Yl&&(E=-1-Qs(e.e.Tg(),Z),P=$.ih(e.e,E,null,null),!l(te,49).eh()&&(P=l(te,49).gh(e.e,E,null,P))),P&&P.Fi(),C}return n}function bEn(e){var t,n,r,i,a,h,d,b;for(a=new M(e.a.b);a.a<a.c.c.length;)i=l(se(a),81),i.b.c=i.g.c,i.b.d=i.g.d;for(b=new en(ma,ma),t=new en(Oa,Oa),r=new M(e.a.b);r.a<r.c.c.length;)n=l(se(r),81),b.a=v.Math.min(b.a,n.g.c),b.b=v.Math.min(b.b,n.g.d),t.a=v.Math.max(t.a,n.g.c+n.g.b),t.b=v.Math.max(t.b,n.g.d+n.g.a);for(d=iq(e.c).a.nc();d.Ob();)h=l(d.Pb(),46),n=l(h.b,81),b.a=v.Math.min(b.a,n.g.c),b.b=v.Math.min(b.b,n.g.d),t.a=v.Math.max(t.a,n.g.c+n.g.b),t.b=v.Math.max(t.b,n.g.d+n.g.a);e.d=AV(new en(b.a,b.b)),e.e=xo(new en(t.a,t.b),b),e.a.a.c=Ue(xr,Ht,1,0,5,1),e.a.b.c=Ue(xr,Ht,1,0,5,1)}function wEn(e){var t,n,r;for(F6(Ab,pe(de(v_,1),Ht,130,0,[new Ev])),n=new Qx(e),r=0;r<n.a.length;++r)t=x4(n,r).je().a,Tn(t,"layered")?F6(Ab,pe(de(v_,1),Ht,130,0,[new tse])):Tn(t,"force")?F6(Ab,pe(de(v_,1),Ht,130,0,[new Hie])):Tn(t,"stress")?F6(Ab,pe(de(v_,1),Ht,130,0,[new zie])):Tn(t,"mrtree")?F6(Ab,pe(de(v_,1),Ht,130,0,[new c6])):Tn(t,"radial")?F6(Ab,pe(de(v_,1),Ht,130,0,[new ose])):Tn(t,"disco")?F6(Ab,pe(de(v_,1),Ht,130,0,[new ID,new $ie])):Tn(t,"sporeOverlap")||Tn(t,"sporeCompaction")?F6(Ab,pe(de(v_,1),Ht,130,0,[new GH])):Tn(t,"rectpacking")&&F6(Ab,pe(de(v_,1),Ht,130,0,[new KH]))}function Jpt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;if($=new Zc(e.o),ye=t.a/$.a,d=t.b/$.b,te=t.a-$.a,a=t.b-$.b,n)for(i=Je(re(e,(Nt(),ba)))===Je((Ao(),Iu)),Z=new M(e.j);Z.a<Z.c.c.length;)switch(K=l(se(Z),11),K.j.g){case 1:i||(K.n.a*=ye);break;case 2:K.n.a+=te,i||(K.n.b*=d);break;case 3:i||(K.n.a*=ye),K.n.b+=a;break;case 4:i||(K.n.b*=d)}for(E=new M(e.b);E.a<E.c.c.length;)b=l(se(E),70),C=b.n.a+b.o.a/2,P=b.n.b+b.o.b/2,oe=C/$.a,h=P/$.b,oe+h>=1&&(oe-h>0&&P>=0?(b.n.a+=te,b.n.b+=a*h):oe-h<0&&C>=0&&(b.n.a+=te*oe,b.n.b+=a));e.o.a=t.a,e.o.b=t.b,ut(e,(Nt(),W2),(xf(),r=l(H1(vI),9),new ed(r,l(l1(r,r.length),9),0)))}function yEn(e,t,n,r,i,a){var h;if(!(t==null||!Xle(t,UPe,GPe)))throw ue(new Jn("invalid scheme: "+t));if(!e&&!(n!=null&&lg(n,mh(35))==-1&&n.length>0&&(yi(0,n.length),n.charCodeAt(0)!=47)))throw ue(new Jn("invalid opaquePart: "+n));if(e&&!(t!=null&&eP(fX,t.toLowerCase()))&&!(n==null||!Xle(n,_I,xI)))throw ue(new Jn(wwt+n));if(e&&t!=null&&eP(fX,t.toLowerCase())&&!dyn(n))throw ue(new Jn(wwt+n));if(!vvn(r))throw ue(new Jn("invalid device: "+r));if(!umn(i))throw h=i==null?"invalid segments: null":"invalid segment: "+amn(i),ue(new Jn(h));if(!(a==null||lg(a,mh(35))==-1))throw ue(new Jn("invalid query: "+a))}function _En(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(Zr(t,"Calculate Graph Size",1),t.n&&e&&h1(t,f1(e),(_f(),Gf)),d=R9,b=R9,a=PTe,h=PTe,P=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));P.e!=P.i.gc();)E=l(Ur(P),33),Z=E.i,te=E.j,ye=E.g,r=E.f,i=l(nn(E,(Yi(),DB)),142),d=v.Math.min(d,Z-i.b),b=v.Math.min(b,te-i.d),a=v.Math.max(a,Z+ye+i.c),h=v.Math.max(h,te+r+i.a);for(K=l(nn(e,(Yi(),J2)),116),$=new en(d-K.b,b-K.d),C=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));C.e!=C.i.gc();)E=l(Ur(C),33),dh(E,E.i-$.a),gh(E,E.j-$.b);oe=a-d+(K.b+K.c),n=h-b+(K.d+K.a),gy(e,oe),dy(e,n),t.n&&e&&h1(t,f1(e),(_f(),Gf))}function emt(e){var t,n,r,i,a,h,d,b,E,C;for(r=new yt,h=new M(e.e.a);h.a<h.c.c.length;){for(i=l(se(h),121),C=0,i.k.c=Ue(xr,Ht,1,0,5,1),n=new M($6(i));n.a<n.c.c.length;)t=l(se(n),213),t.f&&(wt(i.k,t),++C);C==1&&(r.c[r.c.length]=i)}for(a=new M(r);a.a<a.c.c.length;)for(i=l(se(a),121);i.k.c.length==1;){for(E=l(se(new M(i.k)),213),e.b[E.c]=E.g,d=E.d,b=E.e,n=new M($6(i));n.a<n.c.c.length;)t=l(se(n),213),hs(t,E)||(t.f?d==t.d||b==t.e?e.b[E.c]-=e.b[t.c]-t.g:e.b[E.c]+=e.b[t.c]-t.g:i==d?t.d==i?e.b[E.c]+=t.g:e.b[E.c]-=t.g:t.d==i?e.b[E.c]-=t.g:e.b[E.c]+=t.g);uh(d.k,E),uh(b.k,E),d==i?i=E.e:i=E.d}}function hEe(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(t==null||t.length==0)return null;if(a=l(xu(e.f,t),23),!a){for(i=(K=new m0(e.d).a.vc().Kc(),new v0(K));i.a.Ob();)if(n=(h=l(i.a.Pb(),42),l(h.dd(),23)),d=n.f,Z=t.length,Tn(d.substr(d.length-Z,Z),t)&&(t.length==d.length||$o(d,d.length-t.length-1)==46)){if(a)return null;a=n}if(!a){for(r=($=new m0(e.d).a.vc().Kc(),new v0($));r.a.Ob();)if(n=(h=l(r.a.Pb(),42),l(h.dd(),23)),P=n.g,P!=null){for(b=P,E=0,C=b.length;E<C;++E)if(d=b[E],Z=t.length,Tn(d.substr(d.length-Z,Z),t)&&(t.length==d.length||$o(d,d.length-t.length-1)==46)){if(a)return null;a=n}}}a&&Jc(e.f,t,a)}return a}function xEn(e,t){var n,r,i,a,h;for(n=new t4,h=!1,a=0;a<t.length;a++){if(r=(yi(a,t.length),t.charCodeAt(a)),r==32){for(WU(e,n,0),n.a+=" ",WU(e,n,0);a+1<t.length&&(yi(a+1,t.length),t.charCodeAt(a+1)==32);)++a;continue}if(h){r==39?a+1<t.length&&(yi(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+=String.fromCharCode(r),++a):h=!1:n.a+=String.fromCharCode(r);continue}if(lg("GyMLdkHmsSEcDahKzZv",mh(r))>0){WU(e,n,0),n.a+=String.fromCharCode(r),i=abn(t,a),WU(e,n,i),a+=i-1;continue}r==39?a+1<t.length&&(yi(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+="'",++a):h=!0:n.a+=String.fromCharCode(r)}WU(e,n,0),Byn(e)}function kEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;if(Zr(n,"Network simplex layering",1),e.b=t,ye=l(re(t,(Nt(),qL)),19).a*4,oe=e.b.a,oe.c.length<1){Br(n);return}for(a=kkn(e,oe),te=null,i=$i(a,0);i.b!=i.d.c;){for(r=l(ji(i),15),d=ye*Sa(v.Math.sqrt(r.gc())),h=$kn(r),phe(Kye(Rrn(Yye(Soe(h),d),te),!0),Eu(n,1)),$=e.b.b,Z=new M(h.a);Z.a<Z.c.c.length;){for(K=l(se(Z),121);$.c.length<=K.e;)f4($,$.c.length,new Td(e.b));C=l(K.f,10),el(C,l(Kt($,K.e),29))}if(a.b>1)for(te=Ue(ri,Pi,25,e.b.b.c.length,15,1),P=0,E=new M(e.b.b);E.a<E.c.c.length;)b=l(se(E),29),te[P++]=b.a.c.length}oe.c=Ue(xr,Ht,1,0,5,1),e.a=null,e.b=null,e.c=null,Br(n)}function tmt(e){var t,n,r,i,a,h,d;for(t=0,a=new M(e.b.a);a.a<a.c.c.length;)r=l(se(a),189),r.b=0,r.c=0;for($dt(e,0),Qle(e,e.g),bG(e.c),Vye(e.c),n=(Dc(),jd),iR(Xae(r_(iR(Xae(r_(iR(r_(e.c,n)),sht(n)))),n))),r_(e.c,jd),qle(e,e.g),Adt(e,0),Ppt(e,0),w0t(e,1),$dt(e,1),Qle(e,e.d),bG(e.c),h=new M(e.b.a);h.a<h.c.c.length;)r=l(se(h),189),t+=v.Math.abs(r.c);for(d=new M(e.b.a);d.a<d.c.c.length;)r=l(se(d),189),r.b=0,r.c=0;for(n=Jp,iR(Xae(r_(iR(Xae(r_(iR(Vye(r_(e.c,n))),sht(n)))),n))),r_(e.c,jd),qle(e,e.d),Adt(e,1),Ppt(e,1),w0t(e,0),Vye(e.c),i=new M(e.b.a);i.a<i.c.c.length;)r=l(se(i),189),t+=v.Math.abs(r.c);return t}function nmt(e,t){var n,r,i,a,h,d,b,E,C;if(E=t,!(E.b==null||e.b==null)){for(Y6(e),HM(e),Y6(E),HM(E),n=Ue(ri,Pi,25,e.b.length+E.b.length,15,1),C=0,r=0,h=0;r<e.b.length&&h<E.b.length;)if(i=e.b[r],a=e.b[r+1],d=E.b[h],b=E.b[h+1],a<d)r+=2;else if(a>=d&&i<=b)d<=i&&a<=b?(n[C++]=i,n[C++]=a,r+=2):d<=i?(n[C++]=i,n[C++]=b,e.b[r]=b+1,h+=2):a<=b?(n[C++]=d,n[C++]=a,r+=2):(n[C++]=d,n[C++]=b,e.b[r]=b+1);else if(b<i)h+=2;else throw ue(new Tl("Token#intersectRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] & ["+E.b[h]+","+E.b[h+1]+"]"));for(;r<e.b.length;)n[C++]=e.b[r++],n[C++]=e.b[r++];e.b=Ue(ri,Pi,25,C,15,1),du(n,0,e.b,0,C)}}function EEn(e){var t,n,r,i,a,h,d;for(t=new yt,e.g=new yt,e.d=new yt,h=new x2(new mm(e.f.b).a);h.b;)a=fy(h),wt(t,l(l(a.dd(),46).b,81)),Bv(l(a.cd(),594).gf())?wt(e.d,l(a.dd(),46)):wt(e.g,l(a.dd(),46));for(Qle(e,e.d),Qle(e,e.g),e.c=new F1t(e.b),Frn(e.c,(c3e(),L4t)),qle(e,e.d),qle(e,e.g),Fa(t,e.c.a.b),e.e=new en(ma,ma),e.a=new en(Oa,Oa),r=new M(t);r.a<r.c.c.length;)n=l(se(r),81),e.e.a=v.Math.min(e.e.a,n.g.c),e.e.b=v.Math.min(e.e.b,n.g.d),e.a.a=v.Math.max(e.a.a,n.g.c+n.g.b),e.a.b=v.Math.max(e.a.b,n.g.d+n.g.a);Qye(e.c,new Sw),d=0;do i=tmt(e),++d;while((d<2||i>sb)&&d<10);Qye(e.c,new u0),tmt(e),uun(e.c),bEn(e.f)}function TEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(Zt(Xt(re(n,(Nt(),f5)))))for(d=new M(n.j);d.a<d.c.c.length;)for(h=l(se(d),11),$=pg(h.g),E=$,C=0,P=E.length;C<P;++C)b=E[C],a=b.d.i==n,i=a&&Zt(Xt(re(b,G2))),i&&(Z=b.c,K=l(Tr(e.b,Z),10),K||(K=lR(Z,(Ao(),V0),Z.j,-1,null,null,Z.o,l(re(t,zf),103),t),ut(K,(mt(),vs),Z),ds(e.b,Z,K),wt(t.a,K)),oe=b.d,te=l(Tr(e.b,oe),10),te||(te=lR(oe,(Ao(),V0),oe.j,1,null,null,oe.o,l(re(t,zf),103),t),ut(te,(mt(),vs),oe),ds(e.b,oe,te),wt(t.a,te)),r=Hce(b),ic(r,l(Kt(K.j,0),11)),So(r,l(Kt(te.j,0),11)),En(e.a,b,new DV(r,t,(Oc(),Hu))),l(re(t,(mt(),Lu)),21).Fc((Pc(),dd)))}function SEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;for(Zr(n,"Label dummy switching",1),r=l(re(t,(Nt(),aY)),227),Fgn(t),i=b6n(t,r),e.a=Ue(Eo,Gc,25,t.b.c.length,15,1),d=(Uk(),pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__])),C=0,K=d.length;C<K;++C)if(a=d[C],(a==x_||a==__||a==s5)&&!l(Ch(i.a,a)?i.b[a.g]:null,15).dc()){Ygn(e,t);break}for(b=pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__]),P=0,Z=b.length;P<Z;++P)a=b[P],a==x_||a==__||a==s5||Ugt(e,l(Ch(i.a,a)?i.b[a.g]:null,15));for(h=pe(de(cT,1),vt,227,0,[oT,LL,aT,s5,x_,__]),E=0,$=h.length;E<$;++E)a=h[E],(a==x_||a==__||a==s5)&&Ugt(e,l(Ch(i.a,a)?i.b[a.g]:null,15));e.a=null,Br(n)}function CEn(e,t){var n,r,i,a,h,d,b,E,C,P,$;switch(e.k.g){case 1:if(r=l(re(e,(mt(),vs)),17),n=l(re(r,YMe),74),n?Zt(Xt(re(r,$0)))&&(n=xN(n)):n=new Th,E=l(re(e,e0),11),E){if(C=Ml(pe(de(ao,1),dt,8,0,[E.i.n,E.n,E.a])),t<=C.a)return C.b;xa(n,C,n.a,n.a.a)}if(P=l(re(e,Fd),11),P){if($=Ml(pe(de(ao,1),dt,8,0,[P.i.n,P.n,P.a])),$.a<=t)return $.b;xa(n,$,n.c.b,n.c)}if(n.b>=2){for(b=$i(n,0),h=l(ji(b),8),d=l(ji(b),8);d.a<t&&b.b!=b.d.c;)h=d,d=l(ji(b),8);return h.b+(t-h.a)/(d.a-h.a)*(d.b-h.b)}break;case 3:switch(a=l(re(l(Kt(e.j,0),11),(mt(),vs)),11),i=a.i,a.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return i8e(e).b}function AEn(e){var t,n,r,i,a,h,d,b,E,C,P;for(h=new M(e.d.b);h.a<h.c.c.length;)for(a=l(se(h),29),b=new M(a.a);b.a<b.c.c.length;){if(d=l(se(b),10),Zt(Xt(re(d,(Nt(),jL))))&&!CE(zp(d))){r=l(Chn(zp(d)),17),C=r.c.i,C==d&&(C=r.d.i),P=new No(C,xo(Fl(d.n),C.n)),ds(e.b,d,P);continue}i=new td(d.n.a-d.d.b,d.n.b-d.d.d,d.o.a+d.d.b+d.d.c,d.o.b+d.d.d+d.d.a),t=uet(kQe(_Qe(xQe(new Cye,d),i),i5t),e.a),cet(hin(zct(new Sye,pe(de(sK,1),Ht,57,0,[t])),t),e.a),E=new Qse,ds(e.e,t,E),n=Np(new Rr(zr(bl(d).a.Kc(),new J)))-Np(new Rr(zr($a(d).a.Kc(),new J))),n<0?yN(E,!0,(Dc(),jd)):n>0&&yN(E,!0,(Dc(),x1)),d.k==(gr(),La)&&Art(E),ds(e.f,d,t)}}function MEn(e,t,n){var r,i,a,h,d,b,E,C,P,$;switch(Zr(n,"Node promotion heuristic",1),e.g=t,N9n(e),e.q=l(re(t,(Nt(),nge)),260),C=l(re(e.g,XLe),19).a,a=new d$,e.q.g){case 2:case 1:E9(e,a);break;case 3:for(e.q=(Q6(),_Y),E9(e,a),b=0,d=new M(e.a);d.a<d.c.c.length;)h=l(se(d),19),b=v.Math.max(b,h.a);b>e.j&&(e.q=pB,E9(e,a));break;case 4:for(e.q=(Q6(),_Y),E9(e,a),E=0,i=new M(e.b);i.a<i.c.c.length;)r=Lt(se(i)),E=v.Math.max(E,(Xn(r),r));E>e.k&&(e.q=mB,E9(e,a));break;case 6:$=Sa(v.Math.ceil(e.f.length*C/100)),E9(e,new Sv($));break;case 5:P=Sa(v.Math.ceil(e.d*C/100)),E9(e,new $1(P));break;default:E9(e,a)}xxn(e,t),Br(n)}function rmt(e,t,n){var r,i,a,h;this.j=e,this.e=g8e(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?l(Kt(n,cc(this.o).p),214):null,i=l(re(e,(mt(),Lu)),21),this.g=i.Hc((Pc(),dd)),this.b=new yt,this.d=new Tht(this.e),h=l(re(this.j,y8),230),this.q=opn(t,h,this.e),this.k=new Sit(this),a=S0(pe(de(a5t,1),Ht,225,0,[this,this.d,this.k,this.q])),t==(py(),bB)&&!Zt(Xt(re(e,(Nt(),l5))))?(r=new m8e(this.e),a.c[a.c.length]=r,this.c=new U6e(r,h,l(this.q,402))):t==bB&&Zt(Xt(re(e,(Nt(),l5))))?(r=new m8e(this.e),a.c[a.c.length]=r,this.c=new clt(r,h,l(this.q,402))):this.c=new iZe(t,this),wt(a,this.c),Fpt(a,this.e),this.s=hTn(this.k)}function LEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;for(P=l(wV((h=$i(new Mv(t).a.d,0),new rk(h))),86),Z=P?l(re(P,(Kl(),Dge)),86):null,i=1;P&&Z;){for(b=0,We=0,n=P,r=Z,d=0;d<i;d++)n=Kce(n),r=Kce(r),We+=ot(Lt(re(n,(Kl(),xT)))),b+=ot(Lt(re(r,xT)));if(Pe=ot(Lt(re(Z,(Kl(),Wm)))),je=ot(Lt(re(P,Wm))),$=r_e(P,Z),K=Pe+b+e.a+$-je-We,0<K){for(E=t,C=0;E&&E!=r;)++C,E=l(re(E,MY),86);if(E)for(ye=K/C,E=t;E!=r;)oe=ot(Lt(re(E,Wm)))+K,ut(E,Wm,oe),te=ot(Lt(re(E,xT)))+K,ut(E,xT,te),K-=ye,E=l(re(E,MY),86);else return}++i,P.d.b==0?P=q7e(new Mv(t),i):P=l(wV((a=$i(new Mv(P).a.d,0),new rk(a))),86),Z=P?l(re(P,Dge),86):null}}function imt(e,t){var n,r,i,a,h,d,b,E,C,P;for(b=!0,i=0,E=e.f[t.p],C=t.o.b+e.n,n=e.c[t.p][2],rd(e.a,E,St(l(Kt(e.a,E),19).a-1+n)),rd(e.b,E,ot(Lt(Kt(e.b,E)))-C+n*e.e),++E,E>=e.i?(++e.i,wt(e.a,St(1)),wt(e.b,C)):(r=e.c[t.p][1],rd(e.a,E,St(l(Kt(e.a,E),19).a+1-r)),rd(e.b,E,ot(Lt(Kt(e.b,E)))+C-r*e.e)),(e.q==(Q6(),pB)&&(l(Kt(e.a,E),19).a>e.j||l(Kt(e.a,E-1),19).a>e.j)||e.q==mB&&(ot(Lt(Kt(e.b,E)))>e.k||ot(Lt(Kt(e.b,E-1)))>e.k))&&(b=!1),h=new Rr(zr(bl(t).a.Kc(),new J));Ei(h);)a=l(hi(h),17),d=a.c.i,e.f[d.p]==E&&(P=imt(e,d),i=i+l(P.a,19).a,b=b&&Zt(Xt(P.b)));return e.f[t.p]=E,i=i+e.c[t.p][0],new No(St(i),(er(),!!b))}function fEe(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(P=new si,h=new yt,S1t(e,n,e.d.fg(),h,P),S1t(e,r,e.d.gg(),h,P),e.b=.2*(te=p0t(Al(new jn(null,new zn(h,16)),new Jne)),oe=p0t(Al(new jn(null,new zn(h,16)),new ere)),v.Math.min(te,oe)),a=0,d=0;d<h.c.length-1;d++)for(b=(Un(d,h.c.length),l(h.c[d],112)),Z=d+1;Z<h.c.length;Z++)a+=sEe(e,b,(Un(Z,h.c.length),l(h.c[Z],112)));for($=l(re(t,(mt(),y8)),230),a>=2&&(ye=B0t(h,!0,$),!e.e&&(e.e=new jWe(e)),cbn(e.e,ye,h,e.b)),vdt(h,$),GEn(h),K=-1,C=new M(h);C.a<C.c.c.length;)E=l(se(C),112),!(v.Math.abs(E.s-E.c)<_g)&&(K=v.Math.max(K,E.o),e.d.dg(E,i,e.c));return e.d.a.a.$b(),K+1}function smt(e,t){var n,r,i,a,h;n=ot(Lt(re(t,(Nt(),_1)))),n<2&&ut(t,_1,2),r=l(re(t,zf),103),r==(Dc(),hp)&&ut(t,zf,OU(t)),i=l(re(t,U_t),19),i.a==0?ut(t,(mt(),y8),new Kle):ut(t,(mt(),y8),new Dq(i.a)),a=Xt(re(t,HL)),a==null&&ut(t,HL,(er(),Je(re(t,Qp))===Je((Vp(),AT)))),ya(new jn(null,new zn(t.a,16)),new Ta(e)),ya(Al(new jn(null,new zn(t.b,16)),new GS),new Gs(e)),h=new Zpt(t),ut(t,(mt(),A_),h),Cq(e.a),Yg(e.a,(vc(),Mg),l(re(t,u5),246)),Yg(e.a,gb,l(re(t,QLe),246)),Yg(e.a,Ku,l(re(t,$L),246)),Yg(e.a,Au,l(re(t,fY),246)),Yg(e.a,hl,ipn(l(re(t,Qp),218))),gJe(e.a,ETn(t)),ut(t,q0e,DG(e.a,t))}function IEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;return $=e.c[t],K=e.c[n],Z=l(re($,(mt(),b8)),15),!!Z&&Z.gc()!=0&&Z.Hc(K)||(te=$.k!=(gr(),po)&&K.k!=po,oe=l(re($,Ky),10),ye=l(re(K,Ky),10),je=oe!=ye,Pe=!!oe&&oe!=$||!!ye&&ye!=K,We=wue($,(Mt(),Qn)),at=wue(K,Jr),Pe=Pe|(wue($,Jr)||wue(K,Qn)),bt=Pe&&je||We||at,te&&bt)||$.k==(gr(),Mu)&&K.k==za||K.k==(gr(),Mu)&&$.k==za?!1:(C=e.c[t],a=e.c[n],i=ndt(e.e,C,a,(Mt(),nr)),b=ndt(e.i,C,a,fr),k_n(e.f,C,a),E=Tut(e.b,C,a)+l(i.a,19).a+l(b.a,19).a+e.f.d,d=Tut(e.b,a,C)+l(i.b,19).a+l(b.b,19).a+e.f.b,e.a&&(P=l(re(C,vs),11),h=l(re(a,vs),11),r=$ft(e.g,P,h),E+=l(r.a,19).a,d+=l(r.b,19).a),E>d)}function OEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(n=l(re(e,(Nt(),ba)),98),h=e.f,a=e.d,d=h.a+a.b+a.c,b=0-a.d-e.c.b,C=h.b+a.d+a.a-e.c.b,E=new yt,P=new yt,i=new M(t);i.a<i.c.c.length;){switch(r=l(se(i),10),n.g){case 1:case 2:case 3:L_n(r);break;case 4:$=l(re(r,Zy),8),K=$?$.a:0,r.n.a=d*ot(Lt(re(r,(mt(),Yy))))-K,_U(r,!0,!1);break;case 5:Z=l(re(r,Zy),8),te=Z?Z.a:0,r.n.a=ot(Lt(re(r,(mt(),Yy))))-te,_U(r,!0,!1),h.a=v.Math.max(h.a,r.n.a+r.o.a/2)}switch(l(re(r,(mt(),Vl)),61).g){case 1:r.n.b=b,E.c[E.c.length]=r;break;case 3:r.n.b=C,P.c[P.c.length]=r}}switch(n.g){case 1:case 2:Xut(E,e),Xut(P,e);break;case 3:Qut(E,e),Qut(P,e)}}function DEn(e,t){var n,r,i,a,h,d,b,E,C,P;for(C=new yt,P=new g6,a=null,i=0,r=0;r<t.length;++r)switch(n=t[r],Zpn(a,n)&&(i=vke(e,P,C,kY,i)),so(n,(mt(),Ky))&&(a=l(re(n,Ky),10)),n.k.g){case 0:for(b=J3e(yk(Ll(n,(Mt(),Qn)),new G$));fle(b);)h=l(S_e(b),11),e.d[h.p]=i++,C.c[C.c.length]=h;for(i=vke(e,P,C,kY,i),E=J3e(yk(Ll(n,Jr),new G$));fle(E);)h=l(S_e(E),11),e.d[h.p]=i++,C.c[C.c.length]=h;break;case 3:Ll(n,GIe).dc()||(h=l(Ll(n,GIe).Xb(0),11),e.d[h.p]=i++,C.c[C.c.length]=h),Ll(n,kY).dc()||Gv(P,n);break;case 1:for(d=Ll(n,(Mt(),nr)).Kc();d.Ob();)h=l(d.Pb(),11),e.d[h.p]=i++,C.c[C.c.length]=h;Ll(n,fr).Jc(new sZe(P,n))}return vke(e,P,C,kY,i),C}function amt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;for(E=ma,C=ma,d=Oa,b=Oa,$=new M(t.i);$.a<$.c.c.length;)P=l(se($),65),i=l(l(Tr(e.g,P.a),46).b,33),w0(i,P.b.c,P.b.d),E=v.Math.min(E,i.i),C=v.Math.min(C,i.j),d=v.Math.max(d,i.i+i.g),b=v.Math.max(b,i.j+i.f);for(K=l(nn(e.c,(zN(),_8t)),116),Iy(e.c,d-E+(K.b+K.c),b-C+(K.d+K.a),!0,!0),k8e(e.c,-E+K.b,-C+K.d),r=new Ir(Nrt(e.c));r.e!=r.i.gc();)n=l(Ur(r),79),h=Z6(n,!0,!0),Z=tp(n),oe=eb(n),te=new en(Z.i+Z.g/2,Z.j+Z.f/2),a=new en(oe.i+oe.g/2,oe.j+oe.f/2),ye=xo(new en(a.a,a.b),te),h9(ye,Z.g,Z.f),xs(te,ye),je=xo(new en(te.a,te.b),a),h9(je,oe.g,oe.f),xs(a,je),mV(h,te.a,te.b),pV(h,a.a,a.b)}function PEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(e.c=e.d,Z=Xt(re(t,(Nt(),G_t))),K=Z==null||(Xn(Z),Z),a=l(re(t,(mt(),Lu)),21).Hc((Pc(),dd)),i=l(re(t,ba),98),n=!(i==(Ao(),tw)||i==gp||i==Iu),K&&(n||!a)){for(P=new M(t.a);P.a<P.c.c.length;)E=l(se(P),10),E.p=0;for($=new yt,C=new M(t.a);C.a<C.c.c.length;)if(E=l(se(C),10),r=ept(e,E,null),r){for(b=new V_e,ll(b,t),ut(b,a5,l(r.b,21)),x6e(b.d,t.d),ut(b,pT,null),d=l(r.a,15).Kc();d.Ob();)h=l(d.Pb(),10),wt(b.a,h),h.a=b;$.Fc(b)}a&&(Je(re(t,x8))===Je((by(),s0e))?e.c=e.b:e.c=e.a)}else $=new gf(pe(de(z4t,1),tbt,37,0,[t]));return Je(re(t,x8))!==Je((by(),w_))&&(In(),$.ad(new cee)),$}function omt(e){qw(e,new M2(Zye(Az($w(Bw(jw(Fw(new dm,Hm),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new ire),Hbt),kn((v9(),Spe))))),It(e,Hm,Ny,tOe),It(e,Hm,K4,20),It(e,Hm,r8,B9),It(e,Hm,ER,St(1)),It(e,Hm,ZM,(er(),!0)),It(e,Hm,DR,zt(JIe)),It(e,Hm,c_,zt(dkt)),It(e,Hm,s8,zt(gkt)),It(e,Hm,i8,zt(pkt)),It(e,Hm,F9,zt(fkt)),It(e,Hm,JM,zt(eOe)),It(e,Hm,j9,zt(vkt)),It(e,Hm,ITe,zt(wkt)),It(e,Hm,OTe,zt(nOe))}function NEn(e){e.q||(e.q=!0,e.p=$l(e,0),e.a=$l(e,1),Bs(e.a,0),e.f=$l(e,2),Bs(e.f,1),ha(e.f,2),e.n=$l(e,3),ha(e.n,3),ha(e.n,4),ha(e.n,5),ha(e.n,6),e.g=$l(e,4),Bs(e.g,7),ha(e.g,8),e.c=$l(e,5),Bs(e.c,7),Bs(e.c,8),e.i=$l(e,6),Bs(e.i,9),Bs(e.i,10),Bs(e.i,11),Bs(e.i,12),ha(e.i,13),e.j=$l(e,7),Bs(e.j,9),e.d=$l(e,8),Bs(e.d,3),Bs(e.d,4),Bs(e.d,5),Bs(e.d,6),ha(e.d,7),ha(e.d,8),ha(e.d,9),ha(e.d,10),e.b=$l(e,9),ha(e.b,0),ha(e.b,1),e.e=$l(e,10),ha(e.e,1),ha(e.e,2),ha(e.e,3),ha(e.e,4),Bs(e.e,5),Bs(e.e,6),Bs(e.e,7),Bs(e.e,8),Bs(e.e,9),Bs(e.e,10),ha(e.e,11),e.k=$l(e,11),ha(e.k,0),ha(e.k,1),e.o=Gi(e,12),e.s=Gi(e,13))}function dEe(e,t){t.dc()&&Wg(e.j,!0,!0,!0,!0),hs(t,(Mt(),C1))&&Wg(e.j,!0,!0,!0,!1),hs(t,gd)&&Wg(e.j,!1,!0,!0,!0),hs(t,qf)&&Wg(e.j,!0,!0,!1,!0),hs(t,zd)&&Wg(e.j,!0,!1,!0,!0),hs(t,Yh)&&Wg(e.j,!1,!0,!0,!1),hs(t,pd)&&Wg(e.j,!1,!0,!1,!0),hs(t,Uf)&&Wg(e.j,!0,!1,!1,!0),hs(t,A1)&&Wg(e.j,!0,!1,!0,!1),hs(t,wh)&&Wg(e.j,!0,!0,!0,!0),hs(t,Xu)&&Wg(e.j,!0,!0,!0,!0),hs(t,wh)&&Wg(e.j,!0,!0,!0,!0),hs(t,bh)&&Wg(e.j,!0,!0,!0,!0),hs(t,yh)&&Wg(e.j,!0,!0,!0,!0),hs(t,Xh)&&Wg(e.j,!0,!0,!0,!0),hs(t,Ou)&&Wg(e.j,!0,!0,!0,!0)}function REn(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe;for(a=new yt,E=new M(r);E.a<E.c.c.length;)if(d=l(se(E),441),h=null,d.f==(Oc(),Hu))for(Z=new M(d.e);Z.a<Z.c.c.length;)K=l(se(Z),17),oe=K.d.i,cc(oe)==t?xct(e,t,d,K,d.b,K.d):!n||UE(oe,n)?m3n(e,t,d,r,K):($=Lhe(e,t,n,K,d.b,Hu,h),$!=h&&(a.c[a.c.length]=$),$.c&&(h=$));else for(P=new M(d.e);P.a<P.c.c.length;)if(C=l(se(P),17),te=C.c.i,cc(te)==t)xct(e,t,d,C,C.c,d.b);else{if(!n||UE(te,n))continue;$=Lhe(e,t,n,C,d.b,Kh,h),$!=h&&(a.c[a.c.length]=$),$.c&&(h=$)}for(b=new M(a);b.a<b.c.c.length;)d=l(se(b),441),vl(t.a,d.a,0)!=-1||wt(t.a,d.a),d.c&&(i.c[i.c.length]=d)}function BEn(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(E=new yt,b=new M(t.a);b.a<b.c.c.length;)for(h=l(se(b),10),$=Ll(h,(Mt(),fr)).Kc();$.Ob();)for(P=l($.Pb(),11),i=new M(P.g);i.a<i.c.c.length;)r=l(se(i),17),!(!pc(r)&&r.c.i.c==r.d.i.c||pc(r)||r.d.i.c!=n)&&(E.c[E.c.length]=r);for(d=v2(n.a).Kc();d.Ob();)for(h=l(d.Pb(),10),$=Ll(h,(Mt(),nr)).Kc();$.Ob();)for(P=l($.Pb(),11),i=new M(P.e);i.a<i.c.c.length;)if(r=l(se(i),17),!(!pc(r)&&r.c.i.c==r.d.i.c||pc(r)||r.c.i.c!=t)){for(C=new Ro(E,E.c.length),a=(kr(C.b>0),l(C.a.Xb(C.c=--C.b),17));a!=r&&C.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(kr(C.b>0),l(C.a.Xb(C.c=--C.b),17));C.b>0&&wf(C)}}function cmt(e,t,n){var r,i,a,h,d,b,E,C,P;if(e.a!=t.Aj())throw ue(new Jn(V9+t.ne()+jy));if(r=Im((Ih(),Vo),t).$k(),r)return r.Aj().Nh().Ih(r,n);if(h=Im(Vo,t).al(),h){if(n==null)return null;if(d=l(n,15),d.dc())return"";for(P=new wm,a=d.Kc();a.Ob();)i=a.Pb(),zc(P,h.Aj().Nh().Ih(h,i)),P.a+=" ";return eoe(P,P.a.length-1)}if(C=Im(Vo,t).bl(),!C.dc()){for(E=C.Kc();E.Ob();)if(b=l(E.Pb(),148),b.wj(n))try{if(P=b.Aj().Nh().Ih(b,n),P!=null)return P}catch($){if($=ea($),!Le($,102))throw ue($)}throw ue(new Jn("Invalid value: '"+n+"' for datatype :"+t.ne()))}return l(t,834).Fj(),n==null?null:Le(n,172)?""+l(n,172).a:tf(n)==ZW?PJe(yI[0],l(n,199)):wl(n)}function FEn(e){var t,n,r,i,a,h,d,b,E,C;for(E=new sa,d=new sa,a=new M(e);a.a<a.c.c.length;)r=l(se(a),128),r.v=0,r.n=r.i.c.length,r.u=r.t.c.length,r.n==0&&xa(E,r,E.c.b,E.c),r.u==0&&r.r.a.gc()==0&&xa(d,r,d.c.b,d.c);for(h=-1;E.b!=0;)for(r=l(Cue(E,0),128),n=new M(r.t);n.a<n.c.c.length;)t=l(se(n),268),C=t.b,C.v=v.Math.max(C.v,r.v+1),h=v.Math.max(h,C.v),--C.n,C.n==0&&xa(E,C,E.c.b,E.c);if(h>-1){for(i=$i(d,0);i.b!=i.d.c;)r=l(ji(i),128),r.v=h;for(;d.b!=0;)for(r=l(Cue(d,0),128),n=new M(r.i);n.a<n.c.c.length;)t=l(se(n),268),b=t.a,b.r.a.gc()==0&&(b.v=v.Math.min(b.v,r.v-1),--b.u,b.u==0&&xa(d,b,d.c.b,d.c))}}function lmt(e,t,n,r,i){var a,h,d,b;return b=ma,h=!1,d=rEe(e,xo(new en(t.a,t.b),e),xs(new en(n.a,n.b),i),xo(new en(r.a,r.b),n)),a=!!d&&!(v.Math.abs(d.a-e.a)<=By&&v.Math.abs(d.b-e.b)<=By||v.Math.abs(d.a-t.a)<=By&&v.Math.abs(d.b-t.b)<=By),d=rEe(e,xo(new en(t.a,t.b),e),n,i),d&&((v.Math.abs(d.a-e.a)<=By&&v.Math.abs(d.b-e.b)<=By)==(v.Math.abs(d.a-t.a)<=By&&v.Math.abs(d.b-t.b)<=By)||a?b=v.Math.min(b,UA(xo(d,n))):h=!0),d=rEe(e,xo(new en(t.a,t.b),e),r,i),d&&(h||(v.Math.abs(d.a-e.a)<=By&&v.Math.abs(d.b-e.b)<=By)==(v.Math.abs(d.a-t.a)<=By&&v.Math.abs(d.b-t.b)<=By)||a)&&(b=v.Math.min(b,UA(xo(d,r)))),b}function umt(e){qw(e,new M2(Az($w(Bw(jw(Fw(new dm,ob),Jvt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new Tw),jf))),It(e,ob,TR,zt(vAe)),It(e,ob,JG,(er(),!0)),It(e,ob,c_,zt(_4t)),It(e,ob,s8,zt(x4t)),It(e,ob,i8,zt(k4t)),It(e,ob,F9,zt(y4t)),It(e,ob,JM,zt(wAe)),It(e,ob,j9,zt(E4t)),It(e,ob,a9e,zt(mAe)),It(e,ob,c9e,zt(gAe)),It(e,ob,l9e,zt(pAe)),It(e,ob,u9e,zt(bAe)),It(e,ob,o9e,zt(mK))}function jEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(Zr(t,"Interactive crossing minimization",1),h=0,a=new M(e.b);a.a<a.c.c.length;)r=l(se(a),29),r.p=h++;for($=g8e(e),oe=new Jye($.length),Fpt(new gf(pe(de(a5t,1),Ht,225,0,[oe])),$),te=0,h=0,i=new M(e.b);i.a<i.c.c.length;){for(r=l(se(i),29),n=0,P=0,C=new M(r.a);C.a<C.c.c.length;)for(b=l(se(C),10),b.n.a>0&&(n+=b.n.a+b.o.a/2,++P),Z=new M(b.j);Z.a<Z.c.c.length;)K=l(se(Z),11),K.p=te++;for(P>0&&(n/=P),ye=Ue(Eo,Gc,25,r.a.c.length,15,1),d=0,E=new M(r.a);E.a<E.c.c.length;)b=l(se(E),10),b.p=d++,ye[b.p]=CEn(b,n),b.k==(gr(),po)&&ut(b,(mt(),XMe),ye[b.p]);In(),fo(r.a,new vWe(ye)),Kgt(oe,$,h,!0),++h}Br(t)}function VM(e,t){var n,r,i,a,h,d,b,E,C;if(t.e==5){nmt(e,t);return}if(E=t,!(E.b==null||e.b==null)){for(Y6(e),HM(e),Y6(E),HM(E),n=Ue(ri,Pi,25,e.b.length+E.b.length,15,1),C=0,r=0,h=0;r<e.b.length&&h<E.b.length;)if(i=e.b[r],a=e.b[r+1],d=E.b[h],b=E.b[h+1],a<d)n[C++]=e.b[r++],n[C++]=e.b[r++];else if(a>=d&&i<=b)d<=i&&a<=b?r+=2:d<=i?(e.b[r]=b+1,h+=2):a<=b?(n[C++]=i,n[C++]=d-1,r+=2):(n[C++]=i,n[C++]=d-1,e.b[r]=b+1,h+=2);else if(b<i)h+=2;else throw ue(new Tl("Token#subtractRanges(): Internal Error: ["+e.b[r]+","+e.b[r+1]+"] - ["+E.b[h]+","+E.b[h+1]+"]"));for(;r<e.b.length;)n[C++]=e.b[r++],n[C++]=e.b[r++];e.b=Ue(ri,Pi,25,C,15,1),du(n,0,e.b,0,C)}}function $En(e){var t,n,r,i,a,h,d;if(!e.A.dc()){if(e.A.Hc((xf(),HB))&&(l(Vc(e.b,(Mt(),Qn)),124).k=!0,l(Vc(e.b,Jr),124).k=!0,t=e.q!=(Ao(),gp)&&e.q!=Iu,$D(l(Vc(e.b,fr),124),t),$D(l(Vc(e.b,nr),124),t),$D(e.g,t),e.A.Hc(nw)&&(l(Vc(e.b,Qn),124).j=!0,l(Vc(e.b,Jr),124).j=!0,l(Vc(e.b,fr),124).k=!0,l(Vc(e.b,nr),124).k=!0,e.g.k=!0)),e.A.Hc($B))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,d=e.B.Hc((sf(),bI)),i=aue(),a=0,h=i.length;a<h;++a)r=i[a],n=l(Vc(e.i,r),306),n&&(xke(r)?(n.j=!0,n.k=!0):(n.j=!d,n.k=!d));e.A.Hc(x5)&&e.B.Hc((sf(),VB))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function HEn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(r=new M(e.e.b);r.a<r.c.c.length;)for(n=l(se(r),29),a=new M(n.a);a.a<a.c.c.length;)if(i=l(se(a),10),K=e.i[i.p],E=K.a.e,b=K.d.e,i.n.b=E,ye=b-E-i.o.b,t=Ahe(i),$=(I4(),(i.q?i.q:(In(),In(),lp))._b((Nt(),Qy))?P=l(re(i,Qy),197):P=l(re(cc(i),zL),197),P),t&&($==D_||$==O_)&&(i.o.b+=ye),t&&($==gge||$==D_||$==O_)){for(te=new M(i.j);te.a<te.c.c.length;)Z=l(se(te),11),(Mt(),Xu).Hc(Z.j)&&(C=l(Tr(e.k,Z),121),Z.n.b=C.e-E);for(d=new M(i.b);d.a<d.c.c.length;)h=l(se(d),70),oe=l(re(i,Xy),21),oe.Hc((F4(),Hd))?h.n.b+=ye:oe.Hc(dp)&&(h.n.b+=ye/2);($==D_||$==O_)&&Ll(i,(Mt(),Jr)).Jc(new DWe(ye))}}function hmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;if(!e.b)return!1;for(h=null,$=null,b=new Wce(null,null),i=1,b.a[1]=e.b,P=b;P.a[i];)E=i,d=$,$=P,P=P.a[i],r=e.a.ue(t,P.d),i=r<0?0:1,r==0&&(!n.c||_u(P.e,n.d))&&(h=P),!(P&&P.b)&&!e4(P.a[i])&&(e4(P.a[1-i])?$=$.a[E]=hU(P,i):e4(P.a[1-i])||(K=$.a[1-E],K&&(!e4(K.a[1-E])&&!e4(K.a[E])?($.b=!1,K.b=!0,P.b=!0):(a=d.a[1]==$?1:0,e4(K.a[E])?d.a[a]=bst($,E):e4(K.a[1-E])&&(d.a[a]=hU($,E)),P.b=d.a[a].b=!0,d.a[a].a[0].b=!1,d.a[a].a[1].b=!1))));return h&&(n.b=!0,n.d=h.e,P!=h&&(C=new Wce(P.d,P.e),o3n(e,b,h,C),$==h&&($=C)),$.a[$.a[1]==P?1:0]=P.a[P.a[0]?0:1],--e.c),e.b=b.a[1],e.b&&(e.b.b=!1),n.b}function zEn(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(i=new M(e.a.a.b);i.a<i.c.c.length;)for(r=l(se(i),57),b=r.c.Kc();b.Ob();)d=l(b.Pb(),57),r.a!=d.a&&(Bv(e.a.d)?P=e.a.g.Oe(r,d):P=e.a.g.Pe(r,d),a=r.b.a+r.d.b+P-d.b.a,a=v.Math.ceil(a),a=v.Math.max(0,a),L_e(r,d)?(h=Yw(new r2,e.d),E=Sa(v.Math.ceil(d.b.a-r.b.a)),t=E-(d.b.a-r.b.a),C=Lk(r).a,n=r,C||(C=Lk(d).a,t=-t,n=d),C&&(n.b.a-=t,C.n.a-=t),v1(o1(a1(c1(s1(new kd,v.Math.max(0,E)),1),h),e.c[r.a.d])),v1(o1(a1(c1(s1(new kd,v.Math.max(0,-E)),1),h),e.c[d.a.d]))):($=1,(Le(r.g,145)&&Le(d.g,10)||Le(d.g,145)&&Le(r.g,10))&&($=2),v1(o1(a1(c1(s1(new kd,Sa(a)),$),e.c[r.a.d]),e.c[d.a.d]))))}function fmt(e,t,n){var r,i,a,h,d,b,E,C,P,$;if(n)for(r=-1,C=new Ro(t,0);C.b<C.d.gc();){if(d=(kr(C.b<C.d.gc()),l(C.d.Xb(C.c=C.b++),10)),P=e.c[d.c.p][d.p].a,P==null){for(h=r+1,a=new Ro(t,C.b);a.b<a.d.gc();)if($=Isn(e,(kr(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),10))).a,$!=null){h=(Xn($),$);break}P=(r+h)/2,e.c[d.c.p][d.p].a=P,e.c[d.c.p][d.p].d=(Xn(P),P),e.c[d.c.p][d.p].b=1}r=(Xn(P),P)}else{for(i=0,E=new M(t);E.a<E.c.c.length;)d=l(se(E),10),e.c[d.c.p][d.p].a!=null&&(i=v.Math.max(i,ot(e.c[d.c.p][d.p].a)));for(i+=2,b=new M(t);b.a<b.c.c.length;)d=l(se(b),10),e.c[d.c.p][d.p].a==null&&(P=rf(e.i,24)*yR*i-1,e.c[d.c.p][d.p].a=P,e.c[d.c.p][d.p].d=P,e.c[d.c.p][d.p].b=1)}}function VEn(){Vi(E5,new mH),Vi(Ri,new _H),Vi(qd,new _ie),Vi(n0,new ED),Vi(Ipe,new TD),Vi(dX,new qx),Vi(nm,new xie),Vi(wI,new kie),Vi(GB,new aie),Vi(Tpe,new oie),Vi(Sb,new cie),Vi(Ud,new lie),Vi(t0,new uie),Vi(i3,new hie),Vi(T5,new pH),Vi(_h,new fie),Vi(k5,new die),Vi(ql,new gie),Vi(Fc,new I7),Vi(Qu,new pC),Vi(Ya,new vH),Vi(de(Rh,1),new pie),Vi(u8,new bH),Vi(kL,new wH),Vi(ZW,new mie),Vi(kNe,new mC),Vi(Mo,new K3),Vi(FPe,new yH),Vi(HPe,new vie),Vi(uNe,new bie),Vi(gX,new vC),Vi(X9,new xH),Vi(hc,new kH),Vi(HSe,new Ul),Vi(Hy,new wie),Vi(zSe,new EH),Vi(aNe,new bC),Vi(ENe,new yie),Vi(zy,new wC),Vi(jt,new TH),Vi($Pe,new yC),Vi(TNe,new _C)}function qEn(e,t,n){var r,i,a,h,d,b,E,C,P;for(!n&&(n=Spn(t.q.getTimezoneOffset())),i=(t.q.getTimezoneOffset()-n.a)*6e4,d=new F4e(sc(ph(t.q.getTime()),i)),b=d,d.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,b=new F4e(sc(ph(t.q.getTime()),i))),C=new t4,E=e.a.length,a=0;a<E;)if(r=$o(e.a,a),r>=97&&r<=122||r>=65&&r<=90){for(h=a+1;h<E&&$o(e.a,h)==r;++h);FTn(C,r,h-a,d,b,n),a=h}else if(r==39){if(++a,a<E&&$o(e.a,a)==39){C.a+="'",++a;continue}for(P=!1;!P;){for(h=a;h<E&&$o(e.a,h)!=39;)++h;if(h>=E)throw ue(new Jn("Missing trailing '"));h+1<E&&$o(e.a,h+1)==39?++h:P=!0,Mi(C,Mf(e.a,a,h)),a=h+1}}else C.a+=String.fromCharCode(r),++a;return C.a}function UEn(e){var t,n,r,i,a,h,d,b;for(t=null,r=new M(e);r.a<r.c.c.length;)n=l(se(r),233),ot(_0(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!t&&(t=new yt),t.c[t.c.length]=n);if(t)for(;t.c.length!=0;){if(n=l(Sm(t,0),233),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new yt),new M(n.b));a.a<a.c.c.length;)if(i=l(se(a),233),YD(_0(i.g,i.d[0]).a)==YD(_0(n.g,n.d[0]).a)){if(vl(e,i,0)>vl(e,n,0))return new No(i,n)}else if(ot(_0(i.g,i.d[0]).a)>ot(_0(n.g,n.d[0]).a))return new No(i,n)}for(d=(!n.e&&(n.e=new yt),n.e).Kc();d.Ob();)h=l(d.Pb(),233),b=(!h.b&&(h.b=new yt),h.b),b4(0,b.c.length),uA(b.c,0,n),h.c==b.c.length&&(t.c[t.c.length]=h)}return null}function dmt(e,t){var n,r,i,a,h,d,b,E,C;if(e==null)return vh;if(b=t.a.zc(e,t),b!=null)return"[...]";for(n=new w2(bc,"[","]"),i=e,a=0,h=i.length;a<h;++a)r=i[a],r!=null&&tf(r).i&4?Array.isArray(r)&&(C=aN(r),!(C>=14&&C<=16))?t.a._b(r)?(n.a?Mi(n.a,n.b):n.a=new Af(n.d),TA(n.a,"[...]")):(d=m2(r),E=new BA(t),Rp(n,dmt(d,E))):Le(r,177)?Rp(n,N4n(l(r,177))):Le(r,190)?Rp(n,Eyn(l(r,190))):Le(r,195)?Rp(n,P3n(l(r,195))):Le(r,2012)?Rp(n,Tyn(l(r,2012))):Le(r,48)?Rp(n,P4n(l(r,48))):Le(r,364)?Rp(n,K4n(l(r,364))):Le(r,832)?Rp(n,D4n(l(r,832))):Le(r,104)&&Rp(n,O4n(l(r,104))):Rp(n,r==null?vh:wl(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function gmt(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(d=Z6(t,!1,!1),ye=qN(d),r&&(ye=xN(ye)),Pe=ot(Lt(nn(t,(_M(),G1e)))),oe=(kr(ye.b!=0),l(ye.a.a.c,8)),P=l(Y1(ye,1),8),ye.b>2?(C=new yt,Fa(C,new Qg(ye,1,ye.b)),a=Wmt(C,Pe+e.a),je=new Zue(a),ll(je,t),n.c[n.c.length]=je):r?je=l(Tr(e.b,tp(t)),266):je=l(Tr(e.b,eb(t)),266),b=tp(t),r&&(b=eb(t)),h=e4n(oe,b),E=Pe+e.a,h.a?(E+=v.Math.abs(oe.b-P.b),te=new en(P.a,(P.b+oe.b)/2)):(E+=v.Math.abs(oe.a-P.a),te=new en((P.a+oe.a)/2,P.b)),r?ds(e.d,t,new Bke(je,h,te,E)):ds(e.c,t,new Bke(je,h,te,E)),ds(e.b,t,je),Z=(!t.n&&(t.n=new _t(_l,t,1,7)),t.n),K=new Ir(Z);K.e!=K.i.gc();)$=l(Ur(K),137),i=tR(e,$,!0,0,0),n.c[n.c.length]=i}function GEn(e){var t,n,r,i,a,h,d,b,E,C;for(E=new yt,d=new yt,h=new M(e);h.a<h.c.c.length;)i=l(se(h),112),HD(i,i.f.c.length),FC(i,i.k.c.length),i.d==0&&(E.c[E.c.length]=i),i.i==0&&i.e.b==0&&(d.c[d.c.length]=i);for(r=-1;E.c.length!=0;)for(i=l(Sm(E,0),112),n=new M(i.k);n.a<n.c.c.length;)t=l(se(n),129),C=t.b,iz(C,v.Math.max(C.o,i.o+1)),r=v.Math.max(r,C.o),HD(C,C.d-1),C.d==0&&(E.c[E.c.length]=C);if(r>-1){for(a=new M(d);a.a<a.c.c.length;)i=l(se(a),112),i.o=r;for(;d.c.length!=0;)for(i=l(Sm(d,0),112),n=new M(i.f);n.a<n.c.c.length;)t=l(se(n),129),b=t.a,!(b.e.b>0)&&(iz(b,v.Math.min(b.o,i.o-1)),FC(b,b.i-1),b.i==0&&(d.c[d.c.length]=b))}}function S9(e,t,n){var r,i,a,h,d,b,E;if(E=e.c,!t&&(t=XPe),e.c=t,e.Db&4&&!(e.Db&1)&&(b=new go(e,1,2,E,e.c),n?n.Ei(b):n=b),E!=t){if(Le(e.Cb,284))e.Db>>16==-10?n=l(e.Cb,284).nk(t,n):e.Db>>16==-15&&(!t&&(t=(Sn(),U0)),!E&&(E=(Sn(),U0)),e.Cb.nh()&&(b=new Bp(e.Cb,1,13,E,t,Pm(ef(l(e.Cb,59)),e),!1),n?n.Ei(b):n=b));else if(Le(e.Cb,88))e.Db>>16==-23&&(Le(t,88)||(t=(Sn(),Wd)),Le(E,88)||(E=(Sn(),Wd)),e.Cb.nh()&&(b=new Bp(e.Cb,1,10,E,t,Pm(hu(l(e.Cb,26)),e),!1),n?n.Ei(b):n=b));else if(Le(e.Cb,444))for(d=l(e.Cb,836),h=(!d.b&&(d.b=new vz(new iae)),d.b),a=(r=new x2(new mm(h.a).a),new bz(r));a.a.b;)i=l(fy(a.a).cd(),87),n=S9(i,mG(i,d),n)}return n}function WEn(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(h=Zt(Xt(nn(e,(Nt(),f5)))),$=l(nn(e,g5),21),b=!1,E=!1,P=new Ir((!e.c&&(e.c=new _t(lf,e,9,9)),e.c));P.e!=P.i.gc()&&(!b||!E);){for(a=l(Ur(P),118),d=0,i=Hv(M0(pe(de(B0,1),Ht,20,0,[(!a.d&&(a.d=new $n(oo,a,8,5)),a.d),(!a.e&&(a.e=new $n(oo,a,7,4)),a.e)])));Ei(i)&&(r=l(hi(i),79),C=h&&Sy(r)&&Zt(Xt(nn(r,G2))),n=Upt((!r.b&&(r.b=new $n(Xr,r,4,7)),r.b),a)?e==ua(ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82))):e==ua(ul(l(Re((!r.b&&(r.b=new $n(Xr,r,4,7)),r.b),0),82))),!((C||n)&&(++d,d>1))););(d>0||$.Hc((Gh(),tm))&&(!a.n&&(a.n=new _t(_l,a,1,7)),a.n).i>0)&&(b=!0),d>1&&(E=!0)}b&&t.Fc((Pc(),dd)),E&&t.Fc((Pc(),PL))}function pmt(e){var t,n,r,i,a,h,d,b,E,C,P,$;if($=l(nn(e,(Yi(),Z2)),21),$.dc())return null;if(d=0,h=0,$.Hc((xf(),HB))){for(C=l(nn(e,lI),98),r=2,n=2,i=2,a=2,t=ua(e)?l(nn(ua(e),n3),103):l(nn(e,n3),103),E=new Ir((!e.c&&(e.c=new _t(lf,e,9,9)),e.c));E.e!=E.i.gc();)if(b=l(Ur(E),118),P=l(nn(b,$_),61),P==(Mt(),Dl)&&(P=Q7e(b,t),Uc(b,$_,P)),C==(Ao(),Iu))switch(P.g){case 1:r=v.Math.max(r,b.i+b.g);break;case 2:n=v.Math.max(n,b.j+b.f);break;case 3:i=v.Math.max(i,b.i+b.g);break;case 4:a=v.Math.max(a,b.j+b.f)}else switch(P.g){case 1:r+=b.g+2;break;case 2:n+=b.f+2;break;case 3:i+=b.g+2;break;case 4:a+=b.f+2}d=v.Math.max(r,i),h=v.Math.max(n,a)}return Iy(e,d,h,!0,!0)}function Phe(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;for(je=l(Of(Jq($s(new jn(null,new zn(t.d,16)),new G7(n)),new qD(n)),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)]))),15),P=as,C=Jo,b=new M(t.b.j);b.a<b.c.c.length;)d=l(se(b),11),d.j==n&&(P=v.Math.min(P,d.p),C=v.Math.max(C,d.p));if(P==as)for(h=0;h<je.gc();h++)x_e(l(je.Xb(h),101),n,h);else for(Pe=Ue(ri,Pi,25,i.length,15,1),Bln(Pe,Pe.length),ye=je.Kc();ye.Ob();){for(oe=l(ye.Pb(),101),a=l(Tr(e.b,oe),177),E=0,te=P;te<=C;te++)a[te]&&(E=v.Math.max(E,r[te]));if(oe.i){for(K=oe.i.c,We=new Ja,$=0;$<i.length;$++)i[K][$]&&Ga(We,St(Pe[$]));for(;Ap(We,St(E));)++E}for(x_e(oe,n,E),Z=P;Z<=C;Z++)a[Z]&&(r[Z]=E+1);oe.i&&(Pe[oe.i.c]=E)}}function KEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(i=null,r=new M(t.a);r.a<r.c.c.length;)n=l(se(r),10),Ahe(n)?a=(d=Yw(tP(new r2,n),e.f),b=Yw(tP(new r2,n),e.f),E=new _6e(n,!0,d,b),C=n.o.b,P=(I4(),(n.q?n.q:(In(),In(),lp))._b((Nt(),Qy))?$=l(re(n,Qy),197):$=l(re(cc(n),zL),197),$),K=1e4,P==O_&&(K=1),Z=v1(o1(a1(s1(c1(new kd,K),Sa(v.Math.ceil(C))),d),b)),P==D_&&Ga(e.d,Z),Jgt(e,v2(Ll(n,(Mt(),nr))),E),Jgt(e,Ll(n,fr),E),E):a=(te=Yw(tP(new r2,n),e.f),ya($s(new jn(null,new zn(n.j,16)),new yne),new oZe(e,te)),new _6e(n,!1,te,te)),e.i[n.p]=a,i&&(h=i.c.d.a+E6(e.n,i.c,n)+n.d.d,i.b||(h+=i.c.o.b),v1(o1(a1(c1(s1(new kd,Sa(v.Math.ceil(h))),0),i.d),a.a))),i=a}function YEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(Zr(t,"Label dummy insertions",1),P=new yt,h=ot(Lt(re(e,(Nt(),E8)))),E=ot(Lt(re(e,m5))),C=l(re(e,zf),103),K=new M(e.a);K.a<K.c.c.length;)for($=l(se(K),10),a=new Rr(zr($a($).a.Kc(),new J));Ei(a);)if(i=l(hi(a),17),i.c.i!=i.d.i&&aoe(i.b,Q4t)){for(te=H0n(i),Z=Gg(i.b.c.length),n=R6n(e,i,te,Z),P.c[P.c.length]=n,r=n.o,d=new Ro(i.b,0);d.b<d.d.gc();)b=(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),70)),Je(re(b,Ig))===Je((A0(),ST))&&(C==(Dc(),Jp)||C==Zp?(r.a+=b.o.a+E,r.b=v.Math.max(r.b,b.o.b)):(r.a=v.Math.max(r.a,b.o.a),r.b+=b.o.b+E),Z.c[Z.c.length]=b,wf(d));C==(Dc(),Jp)||C==Zp?(r.a-=E,r.b+=h+te):r.b+=h-E+te}Fa(e.a,P),Br(t)}function XEn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K;for(a=new $1t(t),P=Fxn(e,t,a),K=v.Math.max(ot(Lt(re(t,(Nt(),qm)))),1),C=new M(P.a);C.a<C.c.c.length;)E=l(se(C),46),b=Kht(l(E.a,8),l(E.b,8),K),A=!0,A=A&Qw(n,new en(b.c,b.d)),A=A&Qw(n,c4(new en(b.c,b.d),b.b,0)),A=A&Qw(n,c4(new en(b.c,b.d),0,b.a)),A&Qw(n,c4(new en(b.c,b.d),b.b,b.a));switch($=a.d,d=Kht(l(P.b.a,8),l(P.b.b,8),K),$==(Mt(),nr)||$==fr?(r.c[$.g]=v.Math.min(r.c[$.g],d.d),r.b[$.g]=v.Math.max(r.b[$.g],d.d+d.a)):(r.c[$.g]=v.Math.min(r.c[$.g],d.c),r.b[$.g]=v.Math.max(r.b[$.g],d.c+d.b)),i=Oa,h=a.c.i.d,$.g){case 4:i=h.c;break;case 2:i=h.b;break;case 1:i=h.a;break;case 3:i=h.d}return r.a[$.g]=v.Math.max(r.a[$.g],i),a}function QEn(e){var t,n,r,i;if(n=e.D!=null?e.D:e.B,t=lg(n,mh(91)),t!=-1){r=n.substr(0,t),i=new wm;do i.a+="[";while((t=uE(n,91,++t))!=-1);Tn(r,Xk)?i.a+="Z":Tn(r,gL)?i.a+="B":Tn(r,DW)?i.a+="C":Tn(r,pL)?i.a+="D":Tn(r,mL)?i.a+="F":Tn(r,vL)?i.a+="I":Tn(r,bL)?i.a+="J":Tn(r,wL)?i.a+="S":(i.a+="L",i.a+=""+r,i.a+=";");try{return null}catch(a){if(a=ea(a),!Le(a,60))throw ue(a)}}else if(lg(n,mh(46))==-1){if(Tn(n,Xk))return uf;if(Tn(n,gL))return Rh;if(Tn(n,DW))return md;if(Tn(n,pL))return Eo;if(Tn(n,mL))return M5;if(Tn(n,vL))return ri;if(Tn(n,bL))return Db;if(Tn(n,wL))return U_}return null}function mmt(e,t,n){var r,i,a,h,d,b,E,C;for(E=new qp(n),ll(E,t),ut(E,(mt(),vs),t),E.o.a=t.g,E.o.b=t.f,E.n.a=t.i,E.n.b=t.j,wt(n.a,E),ds(e.a,t,E),((!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i!=0||Zt(Xt(nn(t,(Nt(),f5)))))&&ut(E,qMe,(er(),!0)),b=l(re(n,Lu),21),C=l(re(E,(Nt(),ba)),98),C==(Ao(),Eb)?ut(E,ba,V0):C!=V0&&b.Fc((Pc(),fT)),r=l(re(n,zf),103),d=new Ir((!t.c&&(t.c=new _t(lf,t,9,9)),t.c));d.e!=d.i.gc();)h=l(Ur(d),118),Zt(Xt(nn(h,K2)))||S9n(e,h,E,b,r,C);for(a=new Ir((!t.n&&(t.n=new _t(_l,t,1,7)),t.n));a.e!=a.i.gc();)i=l(Ur(a),137),!Zt(Xt(nn(i,K2)))&&i.a&&wt(E.b,$le(i));return Zt(Xt(re(E,jL)))&&b.Fc((Pc(),WK)),Zt(Xt(re(E,cY)))&&(b.Fc((Pc(),KK)),b.Fc(PL),ut(E,ba,V0)),E}function ZEn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;d=l(Tr(t.c,e),459),je=t.a.c,b=t.a.c+t.a.b,hn=d.f,rr=d.a,h=hn<rr,te=new en(je,hn),Pe=new en(b,rr),i=(je+b)/2,oe=new en(i,hn),We=new en(i,rr),a=l_n(e,hn,rr),bt=E0(t.B),Bt=new en(i,a),on=E0(t.D),n=Opn(pe(de(ao,1),dt,8,0,[bt,Bt,on])),K=!1,ye=t.B.i,ye&&ye.c&&d.d&&(E=h&&ye.p<ye.c.a.c.length-1||!h&&ye.p>0,E?E&&($=ye.p,h?++$:--$,P=l(Kt(ye.c.a,$),10),r=aut(P),K=!(ihe(r,bt,n[0])||Fnt(r,bt,n[0]))):K=!0),Z=!1,at=t.D.i,at&&at.c&&d.e&&(C=h&&at.p>0||!h&&at.p<at.c.a.c.length-1,C?($=at.p,h?--$:++$,P=l(Kt(at.c.a,$),10),r=aut(P),Z=!(ihe(r,n[0],on)||Fnt(r,n[0],on))):Z=!0),K&&Z&&zi(e.a,Bt),K||iM(e.a,pe(de(ao,1),dt,8,0,[te,oe])),Z||iM(e.a,pe(de(ao,1),dt,8,0,[We,Pe]))}function PG(e,t){var n,r,i,a,h,d,b,E;if(Le(e.Ug(),160)?(PG(l(e.Ug(),160),t),t.a+=" > "):t.a+="Root ",n=e.Tg().zb,Tn(n.substr(0,3),"Elk")?Mi(t,n.substr(3)):t.a+=""+n,i=e.zg(),i){Mi((t.a+=" ",t),i);return}if(Le(e,354)&&(E=l(e,137).a,E)){Mi((t.a+=" ",t),E);return}for(h=new Ir(e.Ag());h.e!=h.i.gc();)if(a=l(Ur(h),137),E=a.a,E){Mi((t.a+=" ",t),E);return}if(Le(e,352)&&(r=l(e,79),!r.b&&(r.b=new $n(Xr,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new $n(Xr,r,5,8)),r.c.i!=0))){for(t.a+=" (",d=new mk((!r.b&&(r.b=new $n(Xr,r,4,7)),r.b));d.e!=d.i.gc();)d.e>0&&(t.a+=bc),PG(l(Ur(d),160),t);for(t.a+=zfe,b=new mk((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c));b.e!=b.i.gc();)b.e>0&&(t.a+=bc),PG(l(Ur(b),160),t);t.a+=")"}}function JEn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;if(a=l(re(e,(mt(),vs)),79),!!a){for(r=e.a,i=new Zc(n),xs(i,Vwn(e)),UE(e.d.i,e.c.i)?($=e.c,P=Ml(pe(de(ao,1),dt,8,0,[$.n,$.a])),xo(P,n)):P=E0(e.c),xa(r,P,r.a,r.a.a),K=E0(e.d),re(e,G0e)!=null&&xs(K,l(re(e,G0e),8)),xa(r,K,r.c.b,r.c),T4(r,i),h=Z6(a,!0,!0),oU(h,l(Re((!a.b&&(a.b=new $n(Xr,a,4,7)),a.b),0),82)),cU(h,l(Re((!a.c&&(a.c=new $n(Xr,a,5,8)),a.c),0),82)),sR(r,h),C=new M(e.b);C.a<C.c.c.length;)E=l(se(C),70),d=l(re(E,vs),137),gy(d,E.o.a),dy(d,E.o.b),w0(d,E.n.a+i.a,E.n.b+i.b),Uc(d,(Bk(),h0e),Xt(re(E,h0e)));b=l(re(e,(Nt(),il)),74),b?(T4(b,i),Uc(a,il,b)):Uc(a,il,null),t==(Vp(),L8)?Uc(a,Qp,L8):Uc(a,Qp,null)}}function e9n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;for(K=t.c.length,$=0,P=new M(e.b);P.a<P.c.c.length;)if(C=l(se(P),29),ye=C.a,ye.c.length!=0){for(oe=new M(ye),E=0,je=null,i=l(se(oe),10),a=null;i;){if(a=l(Kt(t,i.p),257),a.c>=0){for(b=null,d=new Ro(C.a,E+1);d.b<d.d.gc()&&(h=(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),10)),b=l(Kt(t,h.p),257),!(b.d==a.d&&b.c<a.c));)b=null;b&&(je&&(rd(r,i.p,St(l(Kt(r,i.p),19).a-1)),l(Kt(n,je.p),15).Mc(a)),a=Pyn(a,i,K++),t.c[t.c.length]=a,wt(n,new yt),je?(l(Kt(n,je.p),15).Fc(a),wt(r,St(1))):wt(r,St(0)))}Z=null,oe.a<oe.c.c.length&&(Z=l(se(oe),10),te=l(Kt(t,Z.p),257),l(Kt(n,i.p),15).Fc(te),rd(r,Z.p,St(l(Kt(r,Z.p),19).a+1))),a.d=$,a.c=E++,je=i,i=Z}++$}}function Nhe(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;return b=e,C=xo(new en(t.a,t.b),e),E=n,P=xo(new en(r.a,r.b),n),$=b.a,oe=b.b,Z=E.a,je=E.b,K=C.a,ye=C.b,te=P.a,Pe=P.b,i=te*ye-K*Pe,y0(),g1(Eg),v.Math.abs(0-i)<=Eg||i==0||isNaN(0)&&isNaN(i)?!1:(h=1/i*(($-Z)*ye-(oe-je)*K),d=1/i*-(-($-Z)*Pe+(oe-je)*te),a=(g1(Eg),(v.Math.abs(0-h)<=Eg||h==0||isNaN(0)&&isNaN(h)?0:0<h?-1:0>h?1:Gw(isNaN(0),isNaN(h)))<0&&(g1(Eg),(v.Math.abs(h-1)<=Eg||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:Gw(isNaN(h),isNaN(1)))<0)&&(g1(Eg),(v.Math.abs(0-d)<=Eg||d==0||isNaN(0)&&isNaN(d)?0:0<d?-1:0>d?1:Gw(isNaN(0),isNaN(d)))<0)&&(g1(Eg),(v.Math.abs(d-1)<=Eg||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:Gw(isNaN(d),isNaN(1)))<0)),a)}function t9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;for(P=new p6e(new $e(e));P.b!=P.c.a.d;)for(C=yot(P),d=l(C.d,56),t=l(C.e,56),h=d.Tg(),te=0,We=(h.i==null&&mg(h),h.i).length;te<We;++te)if(E=(a=(h.i==null&&mg(h),h.i),te>=0&&te<a.length?a[te]:null),E.Ij()&&!E.Jj()){if(Le(E,99))b=l(E,18),!(b.Bb&Yl)&&(bt=Ac(b),!(bt&&bt.Bb&Yl))&&H8n(e,b,d,t);else if(Sc(),l(E,66).Oj()&&(n=(at=E,l(at?l(t,49).xh(at):null,153)),n))for(K=l(d.ah(E),153),r=n.gc(),oe=0,Z=K.gc();oe<Z;++oe)if($=K.il(oe),Le($,99)){if(Pe=K.jl(oe),i=uy(e,Pe),i==null&&Pe!=null){if(je=l($,18),!e.b||je.Bb&Yl||Ac(je))continue;i=Pe}if(!n.dl($,i)){for(ye=0;ye<r;++ye)if(n.il(ye)==$&&Je(n.jl(ye))===Je(i)){n.ii(n.gc()-1,ye),--r;break}}}else n.dl(K.il(oe),K.jl(oe))}}function n9n(e,t,n,r,i,a,h){var d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;if(ye=a7n(t,n,e.g),i.n&&i.n&&a&&h1(i,f1(a),(_f(),Gf)),e.b)for(oe=0;oe<ye.c.length;oe++)P=(Un(oe,ye.c.length),l(ye.c[oe],200)),oe!=0&&(K=(Un(oe-1,ye.c.length),l(ye.c[oe-1],200)),Put(P,K.f+K.b+e.g)),mTn(oe,ye,n,e.g),mwn(e,P),i.n&&a&&h1(i,f1(a),(_f(),Gf));else for(te=new M(ye);te.a<te.c.c.length;)for(Z=l(se(te),200),C=new M(Z.a);C.a<C.c.c.length;)E=l(se(C),187),je=new L6e(E.s,E.t,e.g),rxe(je,E),wt(Z.d,je);return T2n(e,ye),i.n&&i.n&&a&&h1(i,f1(a),(_f(),Gf)),Pe=v.Math.max(e.d,r.a-(h.b+h.c)),$=v.Math.max(e.c,r.b-(h.d+h.a)),d=$-e.c,e.e&&e.f&&(b=Pe/$,b<e.a?Pe=$*e.a:d+=Pe/e.a-$),e.e&&Qvn(ye,Pe,d),i.n&&i.n&&a&&h1(i,f1(a),(_f(),Gf)),new Ioe(e.a,Pe,e.c+d,(y9(),aI))}function r9n(e){var t,n,r,i,a,h,d,b,E,C,P;for(e.j=Ue(ri,Pi,25,e.g,15,1),e.o=new yt,ya(Al(new jn(null,new zn(e.e.b,16)),new Rx),new PWe(e)),e.a=Ue(uf,op,25,e.b,16,1),CN(new jn(null,new zn(e.e.b,16)),new RWe(e)),r=(P=new yt,ya($s(Al(new jn(null,new zn(e.e.b,16)),new Cne),new NWe(e)),new cZe(e,P)),P),b=new M(r);b.a<b.c.c.length;)if(d=l(se(b),508),!(d.c.length<=1)){if(d.c.length==2){Y5n(d),Ahe((Un(0,d.c.length),l(d.c[0],17)).d.i)||wt(e.o,d);continue}if(!(_yn(d)||u4n(d,new W$)))for(E=new M(d),i=null;E.a<E.c.c.length;)t=l(se(E),17),n=e.c[t.p],!i||E.a>=E.c.c.length?C=Y6e((gr(),za),po):C=Y6e((gr(),po),po),C*=2,a=n.a.g,n.a.g=v.Math.max(a,a+(C-a)),h=n.b.g,n.b.g=v.Math.max(h,h+(C-h)),i=t}}function i9n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(at=Rtt(e),C=new yt,d=e.c.length,P=d-1,$=d+1;at.a.c!=0;){for(;n.b!=0;)Pe=(kr(n.b!=0),l(sd(n,n.a.a),112)),KA(at.a,Pe)!=null,Pe.g=P--,Z7e(Pe,t,n,r);for(;t.b!=0;)We=(kr(t.b!=0),l(sd(t,t.a.a),112)),KA(at.a,We)!=null,We.g=$++,Z7e(We,t,n,r);for(E=Jo,ye=(h=new PA(new IA(new _(at.a).a).b),new p(h));iP(ye.a.a);){if(oe=(a=CV(ye.a),l(a.cd(),112)),!r&&oe.b>0&&oe.a<=0){C.c=Ue(xr,Ht,1,0,5,1),C.c[C.c.length]=oe;break}te=oe.i-oe.d,te>=E&&(te>E&&(C.c=Ue(xr,Ht,1,0,5,1),E=te),C.c[C.c.length]=oe)}C.c.length!=0&&(b=l(Kt(C,XU(i,C.c.length)),112),KA(at.a,b)!=null,b.g=$++,Z7e(b,t,n,r),C.c=Ue(xr,Ht,1,0,5,1))}for(je=e.c.length+1,Z=new M(e);Z.a<Z.c.c.length;)K=l(se(Z),112),K.g<d&&(K.g=K.g+je)}function NG(e,t){var n;if(e.e)throw ue(new pl((Lp(R1e),kfe+R1e.k+Efe)));if(!Sin(e.a,t))throw ue(new Tl(Avt+t+Mvt));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:Ey(e);break;case 1:Qv(e),Ey(e);break;case 4:U6(e),Ey(e);break;case 3:U6(e),Qv(e),Ey(e)}break;case 2:switch(t.g){case 1:Qv(e),uhe(e);break;case 4:U6(e),Ey(e);break;case 3:U6(e),Qv(e),Ey(e)}break;case 1:switch(t.g){case 2:Qv(e),uhe(e);break;case 4:Qv(e),U6(e),Ey(e);break;case 3:Qv(e),U6(e),Qv(e),Ey(e)}break;case 4:switch(t.g){case 2:U6(e),Ey(e);break;case 1:U6(e),Qv(e),Ey(e);break;case 3:Qv(e),uhe(e)}break;case 3:switch(t.g){case 2:Qv(e),U6(e),Ey(e);break;case 1:Qv(e),U6(e),Qv(e),Ey(e);break;case 4:Qv(e),uhe(e)}}return e}function r_(e,t){var n;if(e.d)throw ue(new pl((Lp(i0e),kfe+i0e.k+Efe)));if(!Cin(e.a,t))throw ue(new Tl(Avt+t+Mvt));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:_2(e);break;case 1:Xv(e),_2(e);break;case 4:G6(e),_2(e);break;case 3:G6(e),Xv(e),_2(e)}break;case 2:switch(t.g){case 1:Xv(e),hhe(e);break;case 4:G6(e),_2(e);break;case 3:G6(e),Xv(e),_2(e)}break;case 1:switch(t.g){case 2:Xv(e),hhe(e);break;case 4:Xv(e),G6(e),_2(e);break;case 3:Xv(e),G6(e),Xv(e),_2(e)}break;case 4:switch(t.g){case 2:G6(e),_2(e);break;case 1:G6(e),Xv(e),_2(e);break;case 3:Xv(e),hhe(e)}break;case 3:switch(t.g){case 2:Xv(e),G6(e),_2(e);break;case 1:Xv(e),G6(e),Xv(e),_2(e);break;case 4:Xv(e),hhe(e)}}return e}function s9n(e,t,n){var r,i,a,h,d,b,E,C;for(b=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));b.e!=b.i.gc();)for(d=l(Ur(b),33),i=new Rr(zr(Up(d).a.Kc(),new J));Ei(i);){if(r=l(hi(i),79),!r.b&&(r.b=new $n(Xr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new $n(Xr,r,5,8)),r.c.i<=1)))throw ue(new JC("Graph must not contain hyperedges."));if(!IM(r)&&d!=ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82)))for(E=new Wet,ll(E,r),ut(E,(Kv(),f8),r),Cse(E,l(Bl(cl(n.f,d)),144)),p0(E,l(Tr(n,ul(l(Re((!r.c&&(r.c=new $n(Xr,r,5,8)),r.c),0),82))),144)),wt(t.c,E),h=new Ir((!r.n&&(r.n=new _t(_l,r,1,7)),r.n));h.e!=h.i.gc();)a=l(Ur(h),137),C=new Xst(E,a.a),ll(C,a),ut(C,f8,a),C.e.a=v.Math.max(a.g,1),C.e.b=v.Math.max(a.f,1),tEe(C),wt(t.d,C)}}function a9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(P=new pEe(e),ifn(P,!(t==(Dc(),Jp)||t==Zp)),C=P.a,$=new sk,i=(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])),h=0,b=i.length;h<b;++h)n=i[h],E=ooe(C,Hl,n),E&&($.d=v.Math.max($.d,E.Re()));for(r=pe(de(n5,1),vt,232,0,[Hl,$u,zl]),a=0,d=r.length;a<d;++a)n=r[a],E=ooe(C,zl,n),E&&($.a=v.Math.max($.a,E.Re()));for(te=pe(de(n5,1),vt,232,0,[Hl,$u,zl]),ye=0,Pe=te.length;ye<Pe;++ye)K=te[ye],E=ooe(C,K,Hl),E&&($.b=v.Math.max($.b,E.Se()));for(Z=pe(de(n5,1),vt,232,0,[Hl,$u,zl]),oe=0,je=Z.length;oe<je;++oe)K=Z[oe],E=ooe(C,K,zl),E&&($.c=v.Math.max($.c,E.Se()));return $.d>0&&($.d+=C.n.d,$.d+=C.d),$.a>0&&($.a+=C.n.a,$.a+=C.d),$.b>0&&($.b+=C.n.b,$.b+=C.d),$.c>0&&($.c+=C.n.c,$.c+=C.d),$}function vmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;for($=n.d,P=n.c,a=new en(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=a.b,E=new M(e.a);E.a<E.c.c.length;)if(d=l(se(E),10),d.k==(gr(),La)){switch(r=l(re(d,(mt(),Vl)),61),i=l(re(d,WMe),8),C=d.n,r.g){case 2:C.a=n.f.a+$.c-P.a;break;case 4:C.a=-P.a-$.b}switch(Z=0,r.g){case 2:case 4:t==(Ao(),gp)?(K=ot(Lt(re(d,Yy))),C.b=a.b*K-l(re(d,(Nt(),Zy)),8).b,Z=C.b+i.b,_U(d,!1,!0)):t==Iu&&(C.b=ot(Lt(re(d,Yy)))-l(re(d,(Nt(),Zy)),8).b,Z=C.b+i.b,_U(d,!1,!0))}h=v.Math.max(h,Z)}for(n.f.b+=h-a.b,b=new M(e.a);b.a<b.c.c.length;)if(d=l(se(b),10),d.k==(gr(),La))switch(r=l(re(d,(mt(),Vl)),61),C=d.n,r.g){case 1:C.b=-P.b-$.d;break;case 3:C.b=n.f.b+$.a-P.b}}function o9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on;for(i=l(re(e,(Kl(),nI)),33),E=as,C=as,d=Jo,b=Jo,bt=$i(e.b,0);bt.b!=bt.d.c;)We=l(ji(bt),86),te=We.e,oe=We.f,E=v.Math.min(E,te.a-oe.a/2),C=v.Math.min(C,te.b-oe.b/2),d=v.Math.max(d,te.a+oe.a/2),b=v.Math.max(b,te.b+oe.b/2);for(Z=l(nn(i,(Ay(),mkt)),116),K=new en(Z.b-E,Z.d-C),at=$i(e.b,0);at.b!=at.d.c;)We=l(ji(at),86),$=re(We,nI),Le($,239)&&(a=l($,33),P=xs(We.e,K),w0(a,P.a-a.g/2,P.b-a.f/2));for(Pe=$i(e.a,0);Pe.b!=Pe.d.c;)je=l(ji(Pe),188),r=l(re(je,nI),79),r&&(t=je.a,ye=new Zc(je.b.e),xa(t,ye,t.a,t.a.a),Bt=new Zc(je.c.e),xa(t,Bt,t.c.b,t.c),Fdt(ye,l(Y1(t,1),8),je.b.f),Fdt(Bt,l(Y1(t,t.b-2),8),je.c.f),n=Z6(r,!0,!0),sR(t,n));on=d-E+(Z.b+Z.c),h=b-C+(Z.d+Z.a),Iy(i,on,h,!1,!1)}function c9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(P=e.b,C=new Ro(P,0),u4(C,new Td(e)),je=!1,h=1;C.b<C.d.gc();){for(E=(kr(C.b<C.d.gc()),l(C.d.Xb(C.c=C.b++),29)),te=(Un(h,P.c.length),l(P.c[h],29)),oe=oy(E.a),ye=oe.c.length,Z=new M(oe);Z.a<Z.c.c.length;)$=l(se(Z),10),el($,te);if(je){for(K=R6e(new Rw(oe),0);K.c.Sb();)for($=l(kat(K),10),a=new M(oy(bl($)));a.a<a.c.c.length;)i=l(se(a),17),Ly(i,!0),ut(e,(mt(),aB),(er(),!0)),r=Kpt(e,i,ye),n=l(re($,Gy),305),Pe=l(Kt(r,r.c.length-1),17),n.k=Pe.c.i,n.n=Pe,n.b=i.d.i,n.c=i;je=!1}else oe.c.length!=0&&(t=(Un(0,oe.c.length),l(oe.c[0],10)),t.k==(gr(),j0)&&(je=!0,h=-1));++h}for(d=new Ro(e.b,0);d.b<d.d.gc();)b=(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),29)),b.a.c.length==0&&wf(d)}function l9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;if(C=l(l(_s(e.r,t),21),84),C.gc()<=2||t==(Mt(),fr)||t==(Mt(),nr)){Bmt(e,t);return}for(te=e.u.Hc((Gh(),I8)),n=t==(Mt(),Qn)?(vy(),UR):(vy(),qR),ye=t==Qn?(hh(),y1):(hh(),J1),r=Xye(g5e(n),e.s),oe=t==Qn?ma:Oa,E=C.Kc();E.Ob();)d=l(E.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&(Z=d.b.rf(),K=d.e,P=d.c,$=P.i,$.b=(a=P.n,P.e.a+a.b+a.c),$.a=(h=P.n,P.e.b+h.d+h.a),te?($.c=K.a-(i=P.n,P.e.a+i.b+i.c)-e.s,te=!1):$.c=K.a+Z.a+e.s,jP(ye,qEe),P.f=ye,q1(P,(Uh(),w1)),wt(r.d,new joe($,Kxe(r,$))),oe=t==Qn?v.Math.min(oe,K.b):v.Math.max(oe,K.b+d.b.rf().b));for(oe+=t==Qn?-e.t:e.t,uke((r.e=oe,r)),b=C.Kc();b.Ob();)d=l(b.Pb(),111),!(!d.c||d.c.d.c.length<=0)&&($=d.c.i,$.c-=d.e.a,$.d-=d.e.b)}function u9n(e,t,n){var r;if(Zr(n,"StretchWidth layering",1),t.a.c.length==0){Br(n);return}for(e.c=t,e.t=0,e.u=0,e.i=ma,e.g=Oa,e.d=ot(Lt(re(t,(Nt(),_1)))),$bn(e),z5n(e),H5n(e),Uwn(e),Wvn(e),e.i=v.Math.max(1,e.i),e.g=v.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=t2n(e),r=new Td(e.c),wt(e.c.b,r),e.r=oy(e.p),e.n=wq(e.k,e.k.length);e.r.c.length!=0;)e.o=pmn(e),!e.o||hut(e)&&e.b.a.gc()!=0?(myn(e,r),r=new Td(e.c),wt(e.c.b,r),mc(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):hut(e)?(e.c.b.c=Ue(xr,Ht,1,0,5,1),r=new Td(e.c),wt(e.c.b,r),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=oy(e.p),e.n=wq(e.k,e.k.length)):(el(e.o,r),uh(e.r,e.o),Ga(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c=Ue(xr,Ht,1,0,5,1),que(t.b),Br(n)}function h9n(e){var t,n,r,i;for(ya($s(new jn(null,new zn(e.a.b,16)),new Ste),new Cte),ryn(e),ya($s(new jn(null,new zn(e.a.b,16)),new Ate),new Mte),e.c==(Vp(),L8)&&(ya($s(Al(new jn(null,new zn(new X3(e.f),1)),new Lte),new Ite),new Hse(e)),ya($s(ch(Al(Al(new jn(null,new zn(e.d.b,16)),new L$),new Ote),new I$),new Dte),new Vse(e))),i=new en(ma,ma),t=new en(Oa,Oa),r=new M(e.a.b);r.a<r.c.c.length;)n=l(se(r),57),i.a=v.Math.min(i.a,n.d.c),i.b=v.Math.min(i.b,n.d.d),t.a=v.Math.max(t.a,n.d.c+n.d.b),t.b=v.Math.max(t.b,n.d.d+n.d.a);xs(z1(e.d.c),AV(new en(i.a,i.b))),xs(z1(e.d.f),xo(new en(t.a,t.b),i)),d_n(e,i,t),qh(e.f),qh(e.b),qh(e.g),qh(e.e),e.a.a.c=Ue(xr,Ht,1,0,5,1),e.a.b.c=Ue(xr,Ht,1,0,5,1),e.a=null,e.d=null}function bmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(i=new yt,te=new M(t.a);te.a<te.c.c.length;)if(Z=l(se(te),10),K=Z.e,K&&(r=bmt(e,K,Z),Fa(i,r),TEn(e,K,Z),l(re(K,(mt(),Lu)),21).Hc((Pc(),dd))))for(je=l(re(Z,(Nt(),ba)),98),$=l(re(Z,g5),174).Hc((Gh(),tm)),ye=new M(Z.j);ye.a<ye.c.c.length;)for(oe=l(se(ye),11),a=l(Tr(e.b,oe),10),a||(a=lR(oe,je,oe.j,-(oe.e.c.length-oe.g.c.length),null,new Qo,oe.o,l(re(K,zf),103),K),ut(a,vs,oe),ds(e.b,oe,a),wt(K.a,a)),h=l(Kt(a.j,0),11),C=new M(oe.f);C.a<C.c.c.length;)E=l(se(C),70),d=new pXe,d.o.a=E.o.a,d.o.b=E.o.b,wt(h.f,d),$||(Pe=oe.j,P=0,HA(l(re(Z,g5),21))&&(P=Y8e(E.n,E.o,oe.o,0,Pe)),je==(Ao(),V0)||(Mt(),Xu).Hc(Pe)?d.o.a=P:d.o.b=P);return b=new yt,REn(e,t,n,i,b),n&&Z7n(e,t,n,b),b}function gEe(e,t,n){var r,i,a,h,d,b,E,C,P;if(!e.c[t.c.p][t.p].e){for(e.c[t.c.p][t.p].e=!0,e.c[t.c.p][t.p].b=0,e.c[t.c.p][t.p].d=0,e.c[t.c.p][t.p].a=null,C=new M(t.j);C.a<C.c.c.length;)for(E=l(se(C),11),P=n?new ho(E):new ni(E),b=P.Kc();b.Ob();)d=l(b.Pb(),11),h=d.i,h.c==t.c?h!=t&&(gEe(e,h,n),e.c[t.c.p][t.p].b+=e.c[h.c.p][h.p].b,e.c[t.c.p][t.p].d+=e.c[h.c.p][h.p].d):(e.c[t.c.p][t.p].d+=e.g[d.p],++e.c[t.c.p][t.p].b);if(a=l(re(t,(mt(),VMe)),15),a)for(i=a.Kc();i.Ob();)r=l(i.Pb(),10),t.c==r.c&&(gEe(e,r,n),e.c[t.c.p][t.p].b+=e.c[r.c.p][r.p].b,e.c[t.c.p][t.p].d+=e.c[r.c.p][r.p].d);e.c[t.c.p][t.p].b>0&&(e.c[t.c.p][t.p].d+=rf(e.i,24)*yR*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function f9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(Z=new M(e);Z.a<Z.c.c.length;){for(K=l(se(Z),10),xm(K.n),xm(K.o),p_e(K.f),Pgt(K),Vxn(K),oe=new M(K.j);oe.a<oe.c.c.length;){for(te=l(se(oe),11),xm(te.n),xm(te.a),xm(te.o),Ka(te,yft(te.j)),a=l(re(te,(Nt(),Um)),19),a&&ut(te,Um,St(-a.a)),i=new M(te.g);i.a<i.c.c.length;){for(r=l(se(i),17),n=$i(r.a,0);n.b!=n.d.c;)t=l(ji(n),8),xm(t);if(b=l(re(r,il),74),b)for(d=$i(b,0);d.b!=d.d.c;)h=l(ji(d),8),xm(h);for(P=new M(r.b);P.a<P.c.c.length;)E=l(se(P),70),xm(E.n),xm(E.o)}for($=new M(te.f);$.a<$.c.c.length;)E=l(se($),70),xm(E.n),xm(E.o)}for(K.k==(gr(),La)&&(ut(K,(mt(),Vl),yft(l(re(K,Vl),61))),J_n(K)),C=new M(K.b);C.a<C.c.c.length;)E=l(se(C),70),Pgt(E),xm(E.o),xm(E.n)}}function d9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;for(e.e=t,d=d5n(t),bt=new yt,r=new M(d);r.a<r.c.c.length;){for(n=l(se(r),15),Bt=new yt,bt.c[bt.c.length]=Bt,b=new Ja,Z=n.Kc();Z.Ob();){for(K=l(Z.Pb(),33),a=tR(e,K,!0,0,0),Bt.c[Bt.c.length]=a,te=K.i,oe=K.j,$=(!K.n&&(K.n=new _t(_l,K,1,7)),K.n),P=new Ir($);P.e!=P.i.gc();)E=l(Ur(P),137),i=tR(e,E,!1,te,oe),Bt.c[Bt.c.length]=i;for(at=(!K.c&&(K.c=new _t(lf,K,9,9)),K.c),je=new Ir(at);je.e!=je.i.gc();)for(ye=l(Ur(je),118),h=tR(e,ye,!1,te,oe),Bt.c[Bt.c.length]=h,Pe=ye.i+te,We=ye.j+oe,$=(!ye.n&&(ye.n=new _t(_l,ye,1,7)),ye.n),C=new Ir($);C.e!=C.i.gc();)E=l(Ur(C),137),i=tR(e,E,!1,Pe,We),Bt.c[Bt.c.length]=i;mc(b,gq(M0(pe(de(B0,1),Ht,20,0,[Up(K),QN(K)]))))}r_n(e,b,Bt)}return e.f=new fXe(bt),ll(e.f,t),e.f}function g9n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;rr=Tr(e.e,r),rr==null&&(rr=new ak,K=l(rr,183),je=t+"_s",Pe=je+i,$=new p4(Pe),U1(K,Sg,$)),hn=l(rr,183),Ek(n,hn),Vr=new ak,u2(Vr,"x",r.j),u2(Vr,"y",r.k),U1(hn,N2t,Vr),Bt=new ak,u2(Bt,"x",r.b),u2(Bt,"y",r.c),U1(hn,"endPoint",Bt),P=QD((!r.a&&(r.a=new Ba(Vd,r,5)),r.a)),Z=!P,Z&&(bt=new gm,a=new bKe(bt),Ho((!r.a&&(r.a=new Ba(Vd,r,5)),r.a),a),U1(hn,CW,bt)),b=fue(r),We=!!b,We&&x8e(e.a,hn,dSe,Vue(e,fue(r))),ye=due(r),at=!!ye,at&&x8e(e.a,hn,fSe,Vue(e,due(r))),E=(!r.e&&(r.e=new $n(aa,r,10,9)),r.e).i==0,te=!E,te&&(on=new gm,h=new FZe(e,on),Ho((!r.e&&(r.e=new $n(aa,r,10,9)),r.e),h),U1(hn,pSe,on)),C=(!r.g&&(r.g=new $n(aa,r,9,10)),r.g).i==0,oe=!C,oe&&(cr=new gm,d=new jZe(e,cr),Ho((!r.g&&(r.g=new $n(aa,r,9,10)),r.g),d),U1(hn,gSe,cr))}function p9n(e){l4();var t,n,r,i,a,h,d;for(r=e.f.n,h=l6e(e.r).a.nc();h.Ob();){if(a=l(h.Pb(),111),i=0,a.b.Xe((Yi(),cf))&&(i=ot(Lt(a.b.We(cf))),i<0))switch(a.b.Hf().g){case 1:r.d=v.Math.max(r.d,-i);break;case 3:r.a=v.Math.max(r.a,-i);break;case 2:r.c=v.Math.max(r.c,-i);break;case 4:r.b=v.Math.max(r.b,-i)}if(HA(e.u))switch(t=jgn(a.b,i),d=!l(e.e.We(_b),174).Hc((sf(),zB)),n=!1,a.b.Hf().g){case 1:n=t>r.d,r.d=v.Math.max(r.d,t),d&&n&&(r.d=v.Math.max(r.d,r.a),r.a=r.d+i);break;case 3:n=t>r.a,r.a=v.Math.max(r.a,t),d&&n&&(r.a=v.Math.max(r.a,r.d),r.d=r.a+i);break;case 2:n=t>r.c,r.c=v.Math.max(r.c,t),d&&n&&(r.c=v.Math.max(r.b,r.c),r.b=r.c+i);break;case 4:n=t>r.b,r.b=v.Math.max(r.b,t),d&&n&&(r.b=v.Math.max(r.b,r.c),r.c=r.b+i)}}}function m9n(e){var t,n,r,i,a,h,d,b,E,C,P;for(E=new M(e);E.a<E.c.c.length;){switch(b=l(se(E),10),h=l(re(b,(Nt(),Yu)),163),a=null,h.g){case 1:case 2:a=(y2(),k_);break;case 3:case 4:a=(y2(),lT)}if(a)ut(b,(mt(),ZK),(y2(),k_)),a==lT?wG(b,h,(Oc(),Kh)):a==k_&&wG(b,h,(Oc(),Hu));else if(x6(l(re(b,ba),98))&&b.j.c.length!=0){for(t=!0,P=new M(b.j);P.a<P.c.c.length;){if(C=l(se(P),11),!(C.j==(Mt(),fr)&&C.e.c.length-C.g.c.length>0||C.j==nr&&C.e.c.length-C.g.c.length<0)){t=!1;break}for(i=new M(C.g);i.a<i.c.c.length;)if(n=l(se(i),17),d=l(re(n.d.i,Yu),163),d==(cd(),FL)||d==c5){t=!1;break}for(r=new M(C.e);r.a<r.c.c.length;)if(n=l(se(r),17),d=l(re(n.c.i,Yu),163),d==(cd(),BL)||d==mb){t=!1;break}}t&&wG(b,h,(Oc(),WL))}}}function v9n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;for(bt=0,K=0,P=new M(t.e);P.a<P.c.c.length;){for(C=l(se(P),10),$=0,d=0,b=n?l(re(C,EY),19).a:Jo,ye=r?l(re(C,TY),19).a:Jo,E=v.Math.max(b,ye),Pe=new M(C.j);Pe.a<Pe.c.c.length;){if(je=l(se(Pe),11),We=C.n.b+je.n.b+je.a.b,r)for(h=new M(je.g);h.a<h.c.c.length;)a=l(se(h),17),te=a.d,Z=te.i,t!=e.a[Z.p]&&(oe=v.Math.max(l(re(Z,EY),19).a,l(re(Z,TY),19).a),at=l(re(a,(Nt(),k8)),19).a,at>=E&&at>=oe&&($+=Z.n.b+te.n.b+te.a.b-We,++d));if(n)for(h=new M(je.e);h.a<h.c.c.length;)a=l(se(h),17),te=a.c,Z=te.i,t!=e.a[Z.p]&&(oe=v.Math.max(l(re(Z,EY),19).a,l(re(Z,TY),19).a),at=l(re(a,(Nt(),k8)),19).a,at>=E&&at>=oe&&($+=Z.n.b+te.n.b+te.a.b-We,++d))}d>0&&(bt+=$/d,++K)}K>0?(t.a=i*bt/K,t.g=K):(t.a=0,t.g=0)}function b9n(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(i=new M(e.a.b);i.a<i.c.c.length;)for(n=l(se(i),29),b=new M(n.a);b.a<b.c.c.length;)d=l(se(b),10),t.j[d.p]=d,t.i[d.p]=t.o==(k0(),H0)?Oa:ma;for(qh(e.c),h=e.a.b,t.c==(gg(),Gm)&&(h=Le(h,152)?Ok(l(h,152)):Le(h,131)?l(h,131).a:Le(h,54)?new Rw(h):new n4(h)),h0n(e.e,t,e.b),sP(t.p,null),a=h.Kc();a.Ob();)for(n=l(a.Pb(),29),E=n.a,t.o==(k0(),H0)&&(E=Le(E,152)?Ok(l(E,152)):Le(E,131)?l(E,131).a:Le(E,54)?new Rw(E):new n4(E)),$=E.Kc();$.Ob();)P=l($.Pb(),10),t.g[P.p]==P&&jmt(e,P,t);for(oEn(e,t),r=h.Kc();r.Ob();)for(n=l(r.Pb(),29),$=new M(n.a);$.a<$.c.c.length;)P=l(se($),10),t.p[P.p]=t.p[t.g[P.p].p],P==t.g[P.p]&&(C=ot(t.i[t.j[P.p].p]),(t.o==(k0(),H0)&&C>Oa||t.o==X2&&C<ma)&&(t.p[P.p]=ot(t.p[P.p])+C));e.e.cg()}function wmt(e,t,n,r){var i,a,h,d,b;return d=new pEe(t),w_n(d,r),i=!0,e&&e.Xe((Yi(),n3))&&(a=l(e.We((Yi(),n3)),103),i=a==(Dc(),hp)||a==jd||a==x1),kgt(d,!1),fh(d.e.wf(),new h5e(d,!1,i)),wce(d,d.f,(G1(),Hl),(Mt(),Qn)),wce(d,d.f,zl,Jr),wce(d,d.g,Hl,nr),wce(d,d.g,zl,fr),oft(d,Qn),oft(d,Jr),Srt(d,fr),Srt(d,nr),l4(),h=d.A.Hc((xf(),x5))&&d.B.Hc((sf(),VB))?wht(d):null,h&&$rn(d.a,h),p9n(d),I2n(d),O2n(d),$En(d),wkn(d),iwn(d),iue(d,Qn),iue(d,Jr),Zxn(d),b7n(d),n&&(mvn(d),swn(d),iue(d,fr),iue(d,nr),b=d.B.Hc((sf(),bI)),b1t(d,b,Qn),b1t(d,b,Jr),w1t(d,b,fr),w1t(d,b,nr),ya(new jn(null,new zn(new m0(d.i),0)),new io),ya($s(new jn(null,l6e(d.r).a.oc()),new Ko),new qa),yyn(d),d.e.uf(d.o),ya(new jn(null,l6e(d.r).a.oc()),new kw)),d.o}function w9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(E=ma,r=new M(e.a.b);r.a<r.c.c.length;)t=l(se(r),81),E=v.Math.min(E,t.d.f.g.c+t.e.a);for(K=new sa,h=new M(e.a.a);h.a<h.c.c.length;)a=l(se(h),189),a.i=E,a.e==0&&xa(K,a,K.c.b,K.c);for(;K.b!=0;){for(a=l(K.b==0?null:(kr(K.b!=0),sd(K,K.a.a)),189),i=a.f.g.c,$=a.a.a.ec().Kc();$.Ob();)C=l($.Pb(),81),te=a.i+C.e.a,C.d.g||C.g.c<te?C.o=te:C.o=C.g.c;for(i-=a.f.o,a.b+=i,e.c==(Dc(),x1)||e.c==Zp?a.c+=i:a.c-=i,P=a.a.a.ec().Kc();P.Ob();)for(C=l(P.Pb(),81),b=C.f.Kc();b.Ob();)d=l(b.Pb(),81),Bv(e.c)?Z=e.f.ef(C,d):Z=e.f.ff(C,d),d.d.i=v.Math.max(d.d.i,C.o+C.g.b+Z-d.e.a),d.k||(d.d.i=v.Math.max(d.d.i,d.g.c-d.e.a)),--d.d.e,d.d.e==0&&zi(K,d.d)}for(n=new M(e.a.b);n.a<n.c.c.length;)t=l(se(n),81),t.g.c=t.o}function y9n(e){var t,n,r,i,a,h,d,b;switch(d=e.b,t=e.a,l(re(e,(rG(),RCe)),427).g){case 0:fo(d,new be(new rn));break;case 1:default:fo(d,new be(new oi))}switch(l(re(e,PCe),428).g){case 1:fo(d,new ps),fo(d,new Ji),fo(d,new $h);break;case 0:default:fo(d,new ps),fo(d,new Yf)}switch(l(re(e,FCe),250).g){case 0:b=new Xf;break;case 1:b=new wu;break;case 2:b=new rh;break;case 3:b=new lu;break;case 5:b=new qr(new rh);break;case 4:b=new qr(new wu);break;case 7:b=new b3e(new qr(new wu),new qr(new rh));break;case 8:b=new b3e(new qr(new lu),new qr(new rh));break;case 6:default:b=new qr(new lu)}for(h=new M(d);h.a<h.c.c.length;){for(a=l(se(h),167),r=0,i=0,n=new No(St(r),St(i));s8n(t,a,r,i);)n=l(b.Ce(n,a),46),r=l(n.a,19).a,i=l(n.b,19).a;rkn(t,a,r,i)}}function _9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;for(a=e.f.b,$=a.a,C=a.b,Z=e.e.g,K=e.e.f,gV(e.e,a.a,a.b),bt=$/Z,Bt=C/K,E=new Ir(oq(e.e));E.e!=E.i.gc();)b=l(Ur(E),137),dh(b,b.i*bt),gh(b,b.j*Bt);for(je=new Ir(sce(e.e));je.e!=je.i.gc();)ye=l(Ur(je),118),We=ye.i,at=ye.j,We>0&&dh(ye,We*bt),at>0&&gh(ye,at*Bt);for(lM(e.b,new J5),t=new yt,d=new x2(new mm(e.c).a);d.b;)h=fy(d),r=l(h.cd(),79),n=l(h.dd(),395).a,i=Z6(r,!1,!1),P=bdt(tp(r),qN(i),n),sR(P,i),Pe=Ldt(r),Pe&&vl(t,Pe,0)==-1&&(t.c[t.c.length]=Pe,Rrt(Pe,(kr(P.b!=0),l(P.a.a.c,8)),n));for(oe=new x2(new mm(e.d).a);oe.b;)te=fy(oe),r=l(te.cd(),79),n=l(te.dd(),395).a,i=Z6(r,!1,!1),P=bdt(eb(r),xN(qN(i)),n),P=xN(P),sR(P,i),Pe=Idt(r),Pe&&vl(t,Pe,0)==-1&&(t.c[t.c.length]=Pe,Rrt(Pe,(kr(P.b!=0),l(P.c.b.c,8)),n))}function ymt(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;if(n.c.length!=0){for(K=new yt,$=new M(n);$.a<$.c.c.length;)P=l(se($),33),wt(K,new en(P.i,P.j));for(r.n&&t&&h1(r,f1(t),(_f(),Gf));S8e(e,n);)gG(e,n,!1);for(r.n&&t&&h1(r,f1(t),(_f(),Gf)),h=0,d=0,i=null,n.c.length!=0&&(i=(Un(0,n.c.length),l(n.c[0],33)),h=i.i-(Un(0,K.c.length),l(K.c[0],8)).a,d=i.j-(Un(0,K.c.length),l(K.c[0],8)).b),a=v.Math.sqrt(h*h+d*d),C=Hut(n);C.a.gc()!=0;){for(E=C.a.ec().Kc();E.Ob();)b=l(E.Pb(),33),Z=e.f,te=Z.i+Z.g/2,oe=Z.j+Z.f/2,ye=b.i+b.g/2,je=b.j+b.f/2,Pe=ye-te,We=je-oe,at=v.Math.sqrt(Pe*Pe+We*We),bt=Pe/at,Bt=We/at,dh(b,b.i+bt*a),gh(b,b.j+Bt*a);r.n&&t&&h1(r,f1(t),(_f(),Gf)),C=Hut(new Ah(C))}e.a&&e.a.lg(new Ah(C)),r.n&&t&&h1(r,f1(t),(_f(),Gf)),ymt(e,t,new Ah(C),r)}}function x9n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;if(te=e.n,oe=e.o,$=e.d,P=ot(Lt(L4(e,(Nt(),sge)))),t){for(C=P*(t.gc()-1),K=0,b=t.Kc();b.Ob();)h=l(b.Pb(),10),C+=h.o.a,K=v.Math.max(K,h.o.b);for(ye=te.a-(C-oe.a)/2,a=te.b-$.d+K,r=oe.a/(t.gc()+1),i=r,d=t.Kc();d.Ob();)h=l(d.Pb(),10),h.n.a=ye,h.n.b=a-h.o.b,ye+=h.o.a+P,E=O0t(h),E.n.a=h.o.a/2-E.a.a,E.n.b=h.o.b,Z=l(re(h,(mt(),XK)),11),Z.e.c.length+Z.g.c.length==1&&(Z.n.a=i-Z.a.a,Z.n.b=0,Cl(Z,e)),i+=r}if(n){for(C=P*(n.gc()-1),K=0,b=n.Kc();b.Ob();)h=l(b.Pb(),10),C+=h.o.a,K=v.Math.max(K,h.o.b);for(ye=te.a-(C-oe.a)/2,a=te.b+oe.b+$.a-K,r=oe.a/(n.gc()+1),i=r,d=n.Kc();d.Ob();)h=l(d.Pb(),10),h.n.a=ye,h.n.b=a,ye+=h.o.a+P,E=O0t(h),E.n.a=h.o.a/2-E.a.a,E.n.b=0,Z=l(re(h,(mt(),XK)),11),Z.e.c.length+Z.g.c.length==1&&(Z.n.a=i-Z.a.a,Z.n.b=oe.b,Cl(Z,e)),i+=r}}function k9n(e,t){var n,r,i,a,h,d;if(l(re(t,(mt(),Lu)),21).Hc((Pc(),dd))){for(d=new M(t.a);d.a<d.c.c.length;)a=l(se(d),10),a.k==(gr(),za)&&(i=l(re(a,(Nt(),uY)),142),e.c=v.Math.min(e.c,a.n.a-i.b),e.a=v.Math.max(e.a,a.n.a+a.o.a+i.c),e.d=v.Math.min(e.d,a.n.b-i.d),e.b=v.Math.max(e.b,a.n.b+a.o.b+i.a));for(h=new M(t.a);h.a<h.c.c.length;)if(a=l(se(h),10),a.k!=(gr(),za))switch(a.k.g){case 2:if(r=l(re(a,(Nt(),Yu)),163),r==(cd(),mb)){a.n.a=e.c-10,Vft(a,new Fee).Jb(new Tc(a));break}if(r==c5){a.n.a=e.a+10,Vft(a,new jee).Jb(new df(a));break}if(n=l(re(a,q2),303),n==(Fp(),T_)){qpt(a).Jb(new j1(a)),a.n.b=e.d-10;break}if(n==p8){qpt(a).Jb(new Tv(a)),a.n.b=e.b+10;break}break;default:throw ue(new Jn("The node type "+a.k+" is not supported by the "+cSn))}}}function E9n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(b=new en(r.i+r.g/2,r.j+r.f/2),K=$pt(r),Z=l(nn(t,(Nt(),ba)),98),oe=l(nn(r,vT),61),WZe(eft(r),d5)||(r.i==0&&r.j==0?te=0:te=n3n(r,oe),Uc(r,d5,te)),E=new en(t.g,t.f),i=lR(r,Z,oe,K,E,b,new en(r.g,r.f),l(re(n,zf),103),n),ut(i,(mt(),vs),r),a=l(Kt(i.j,0),11),Mse(a,Ykn(r)),ut(i,g5,(Gh(),kn(Tb))),P=l(nn(t,g5),174).Hc(tm),d=new Ir((!r.n&&(r.n=new _t(_l,r,1,7)),r.n));d.e!=d.i.gc();)if(h=l(Ur(d),137),!Zt(Xt(nn(h,K2)))&&h.a&&($=$le(h),wt(a.f,$),!P))switch(C=0,HA(l(nn(t,g5),21))&&(C=Y8e(new en(h.i,h.j),new en(h.g,h.f),new en(r.g,r.f),0,oe)),oe.g){case 2:case 4:$.o.a=C;break;case 1:case 3:$.o.b=C}ut(i,wT,Lt(nn(ua(t),wT))),ut(i,yT,Lt(nn(ua(t),yT))),ut(i,m5,Lt(nn(ua(t),m5))),wt(n.a,i),ds(e.a,r,i)}function _mt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(Zr(n,"Processor arrange level",1),C=0,In(),P6(t,new hye((Kl(),AY))),a=t.b,d=$i(t,t.b),E=!0;E&&d.b.b!=d.d.a;)ye=l(Mce(d),86),l(re(ye,AY),19).a==0?--a:E=!1;if(at=new Qg(t,0,a),h=new koe(at),at=new Qg(t,a,t.b),b=new koe(at),h.b==0)for(Z=$i(b,0);Z.b!=Z.d.c;)K=l(ji(Z),86),ut(K,IY,St(C++));else for(P=h.b,We=$i(h,0);We.b!=We.d.c;){for(Pe=l(ji(We),86),ut(Pe,IY,St(C++)),r=hxe(Pe),_mt(e,r,Eu(n,1/P|0)),P6(r,b6e(new hye(IY))),$=new sa,je=$i(r,0);je.b!=je.d.c;)for(ye=l(ji(je),86),oe=$i(Pe.d,0);oe.b!=oe.d.c;)te=l(ji(oe),188),te.c==ye&&xa($,te,$.c.b,$.c);for(Sd(Pe.d),mc(Pe.d,$),d=$i(b,b.b),i=Pe.d.b,E=!0;0<i&&E&&d.b.b!=d.d.a;)ye=l(Mce(d),86),l(re(ye,AY),19).a==0?(ut(ye,IY,St(C++)),--i,Zq(d)):E=!1}Br(n)}function T9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(Zr(t,"Inverted port preprocessing",1),C=e.b,E=new Ro(C,0),n=null,Pe=new yt;E.b<E.d.gc();){for(je=n,n=(kr(E.b<E.d.gc()),l(E.d.Xb(E.c=E.b++),29)),K=new M(Pe);K.a<K.c.c.length;)P=l(se(K),10),el(P,je);for(Pe.c=Ue(xr,Ht,1,0,5,1),Z=new M(n.a);Z.a<Z.c.c.length;)if(P=l(se(Z),10),P.k==(gr(),za)&&x6(l(re(P,(Nt(),ba)),98))){for(ye=P7e(P,(Oc(),Kh),(Mt(),fr)).Kc();ye.Ob();)for(te=l(ye.Pb(),11),b=te.e,d=l(O0(b,Ue(a0e,Vfe,17,b.c.length,0,1)),474),i=d,a=0,h=i.length;a<h;++a)r=i[a],X8n(e,te,r,Pe);for(oe=P7e(P,Hu,nr).Kc();oe.Ob();)for(te=l(oe.Pb(),11),b=te.g,d=l(O0(b,Ue(a0e,Vfe,17,b.c.length,0,1)),474),i=d,a=0,h=i.length;a<h;++a)r=i[a],Y8n(e,te,r,Pe)}}for($=new M(Pe);$.a<$.c.c.length;)P=l(se($),10),el(P,n);Br(t)}function S9n(e,t,n,r,i,a){var h,d,b,E,C,P;for(E=new fu,ll(E,t),Ka(E,l(nn(t,(Nt(),vT)),61)),ut(E,(mt(),vs),t),Cl(E,n),P=E.o,P.a=t.g,P.b=t.f,C=E.n,C.a=t.i,C.b=t.j,ds(e.a,t,E),h=AE(ch(Al(new jn(null,(!t.e&&(t.e=new $n(oo,t,7,4)),new zn(t.e,16))),new s$),new Ax),new Pr(t)),h||(h=AE(ch(Al(new jn(null,(!t.d&&(t.d=new $n(oo,t,8,5)),new zn(t.d,16))),new m7),new YS),new Nr(t))),h||(h=AE(new jn(null,(!t.e&&(t.e=new $n(oo,t,7,4)),new zn(t.e,16))),new fee)),ut(E,oB,(er(),!!h)),V7n(E,a,i,l(nn(t,Zy),8)),b=new Ir((!t.n&&(t.n=new _t(_l,t,1,7)),t.n));b.e!=b.i.gc();)d=l(Ur(b),137),!Zt(Xt(nn(d,K2)))&&d.a&&wt(E.f,$le(d));switch(i.g){case 2:case 1:(E.j==(Mt(),Qn)||E.j==Jr)&&r.Fc((Pc(),E_));break;case 4:case 3:(E.j==(Mt(),fr)||E.j==nr)&&r.Fc((Pc(),E_))}return E}function Rhe(e,t,n,r,i,a,h){var d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for($=null,r==(sy(),yb)?$=t:r==P_&&($=n),te=$.a.ec().Kc();te.Ob();){for(Z=l(te.Pb(),11),oe=Ml(pe(de(ao,1),dt,8,0,[Z.i.n,Z.n,Z.a])).b,Pe=new Ja,d=new Ja,E=new C0(Z.b);Sl(E.a)||Sl(E.b);)if(b=l(Sl(E.a)?se(E.a):se(E.b),17),Zt(Xt(re(b,(mt(),$0))))==i&&vl(a,b,0)!=-1){if(b.d==Z?ye=b.c:ye=b.d,je=Ml(pe(de(ao,1),dt,8,0,[ye.i.n,ye.n,ye.a])).b,v.Math.abs(je-oe)<.2)continue;je<oe?t.a._b(ye)?Ga(Pe,new No(yb,b)):Ga(Pe,new No(P_,b)):t.a._b(ye)?Ga(d,new No(yb,b)):Ga(d,new No(P_,b))}if(Pe.a.gc()>1)for(K=new aEe(Z,Pe,r),Ho(Pe,new hZe(e,K)),h.c[h.c.length]=K,P=Pe.a.ec().Kc();P.Ob();)C=l(P.Pb(),46),uh(a,C.b);if(d.a.gc()>1)for(K=new aEe(Z,d,r),Ho(d,new fZe(e,K)),h.c[h.c.length]=K,P=d.a.ec().Kc();P.Ob();)C=l(P.Pb(),46),uh(a,C.b)}}function xmt(e){qw(e,new M2(Az($w(Bw(jw(Fw(new dm,Tg),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new hre),Tg))),It(e,Tg,bW,zt(Vkt)),It(e,Tg,K4,zt(qkt)),It(e,Tg,c_,zt(jkt)),It(e,Tg,s8,zt($kt)),It(e,Tg,i8,zt(Hkt)),It(e,Tg,F9,zt(Fkt)),It(e,Tg,JM,zt(bOe)),It(e,Tg,j9,zt(zkt)),It(e,Tg,Lde,zt(zge)),It(e,Tg,Mde,zt(Vge)),It(e,Tg,$Te,zt(wOe)),It(e,Tg,RTe,zt(NY)),It(e,Tg,BTe,zt(RY)),It(e,Tg,FTe,zt(xB)),It(e,Tg,jTe,zt(yOe))}function pEe(e){var t;if(this.r=thn(new Po,new ia),this.b=new bM(l(ui(yc),290)),this.p=new bM(l(ui(yc),290)),this.i=new bM(l(ui(O3t),290)),this.e=e,this.o=new Zc(e.rf()),this.D=e.Df()||Zt(Xt(e.We((Yi(),OB)))),this.A=l(e.We((Yi(),Z2)),21),this.B=l(e.We(_b),21),this.q=l(e.We(lI),98),this.u=l(e.We(y5),21),!c3n(this.u))throw ue(new p6("Invalid port label placement: "+this.u));if(this.v=Zt(Xt(e.We(ZDe))),this.j=l(e.We(F_),21),!O6n(this.j))throw ue(new p6("Invalid node label placement: "+this.j));this.n=l(EM(e,jDe),116),this.k=ot(Lt(EM(e,QY))),this.d=ot(Lt(EM(e,nPe))),this.w=ot(Lt(EM(e,oPe))),this.s=ot(Lt(EM(e,rPe))),this.t=ot(Lt(EM(e,iPe))),this.C=l(EM(e,sPe),142),this.c=2*this.d,t=!this.B.Hc((sf(),zB)),this.f=new yM(0,t,0),this.g=new yM(1,t,0),cae(this.f,(G1(),$u),this.g)}function C9n(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;for(Pe=0,Z=0,K=0,$=1,je=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));je.e!=je.i.gc();)oe=l(Ur(je),33),$+=Np(new Rr(zr(Up(oe).a.Kc(),new J))),on=oe.g,Z=v.Math.max(Z,on),P=oe.f,K=v.Math.max(K,P),Pe+=on*P;for(te=(!e.a&&(e.a=new _t(fa,e,10,11)),e.a).i,h=Pe+2*r*r*$*te,a=v.Math.sqrt(h),b=v.Math.max(a*n,Z),d=v.Math.max(a/n,K),ye=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));ye.e!=ye.i.gc();)oe=l(Ur(ye),33),hn=i.b+(rf(t,26)*GM+rf(t,27)*WM)*(b-oe.g),rr=i.b+(rf(t,26)*GM+rf(t,27)*WM)*(d-oe.f),dh(oe,hn),gh(oe,rr);for(Bt=b+(i.b+i.c),bt=d+(i.d+i.a),at=new Ir((!e.a&&(e.a=new _t(fa,e,10,11)),e.a));at.e!=at.i.gc();)for(We=l(Ur(at),33),C=new Rr(zr(Up(We).a.Kc(),new J));Ei(C);)E=l(hi(C),79),IM(E)||ATn(E,t,Bt,bt);Bt+=i.b+i.c,bt+=i.d+i.a,Iy(e,Bt,bt,!1,!0)}function RG(e){var t,n,r,i,a,h,d,b,E,C,P;if(e==null)throw ue(new cg(vh));if(E=e,a=e.length,b=!1,a>0&&(t=(yi(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=e.substr(1),--a,b=t==45)),a==0)throw ue(new cg(Py+E+'"'));for(;e.length>0&&(yi(0,e.length),e.charCodeAt(0)==48);)e=e.substr(1),--a;if(a>(upt(),Oyt)[10])throw ue(new cg(Py+E+'"'));for(i=0;i<a;i++)if(jht((yi(i,e.length),e.charCodeAt(i)))==-1)throw ue(new cg(Py+E+'"'));for(P=0,h=rCe[10],C=L1e[10],d=DE(iCe[10]),n=!0,r=a%h,r>0&&(P=-parseInt(e.substr(0,r),10),e=e.substr(r),a-=r,n=!1);a>=h;){if(r=parseInt(e.substr(0,h),10),e=e.substr(h),a-=h,n)n=!1;else{if(nu(P,d)<0)throw ue(new cg(Py+E+'"'));P=Zo(P,C)}P=Jv(P,r)}if(nu(P,0)>0)throw ue(new cg(Py+E+'"'));if(!b&&(P=DE(P),nu(P,0)<0))throw ue(new cg(Py+E+'"'));return P}function mEe(e,t){Jtt();var n,r,i,a,h,d,b;if(this.a=new a4e(this),this.b=e,this.c=t,this.f=Goe(tl((Ih(),Vo),t)),this.f.dc())if((d=t8e(Vo,e))==t)for(this.e=!0,this.d=new yt,this.f=new T7,this.f.Fc($2),l(OG(iN(Vo,Df(e)),""),26)==e&&this.f.Fc(jA(Vo,Df(e))),i=ghe(Vo,e).Kc();i.Ob();)switch(r=l(i.Pb(),170),ry(tl(Vo,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(Goe(tl(Vo,r)));break}}else if(Sc(),l(t,66).Oj())for(this.e=!0,this.f=null,this.d=new yt,h=0,b=(e.i==null&&mg(e),e.i).length;h<b;++h)for(r=(n=(e.i==null&&mg(e),e.i),h>=0&&h<n.length?n[h]:null),a=Mk(tl(Vo,r));a;a=Mk(tl(Vo,a)))a==t&&this.d.Fc(r);else ry(tl(Vo,t))==1&&d?(this.f=null,this.d=(Wk(),yEt)):(this.f=null,this.e=!0,this.d=(In(),new R(t)));else this.e=ry(tl(Vo,t))==5,this.f.Fb(Npe)&&(this.f=Npe)}function kmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;for(n=0,r=y2n(e,t),$=e.s,K=e.t,E=l(l(_s(e.r,t),21),84).Kc();E.Ob();)if(b=l(E.Pb(),111),!(!b.c||b.c.d.c.length<=0)){switch(Z=b.b.rf(),d=b.b.Xe((Yi(),cf))?ot(Lt(b.b.We(cf))):0,C=b.c,P=C.i,P.b=(h=C.n,C.e.a+h.b+h.c),P.a=(a=C.n,C.e.b+a.d+a.a),t.g){case 1:P.c=b.a?(Z.a-P.b)/2:Z.a+$,P.d=Z.b+d+r,q1(C,(Uh(),fb)),hg(C,(hh(),J1));break;case 3:P.c=b.a?(Z.a-P.b)/2:Z.a+$,P.d=-d-r-P.a,q1(C,(Uh(),fb)),hg(C,(hh(),y1));break;case 2:P.c=-d-r-P.b,b.a?(i=e.v?P.a:l(Kt(C.d,0),181).rf().b,P.d=(Z.b-i)/2):P.d=Z.b+K,q1(C,(Uh(),w1)),hg(C,(hh(),db));break;case 4:P.c=Z.a+d+r,b.a?(i=e.v?P.a:l(Kt(C.d,0),181).rf().b,P.d=(Z.b-i)/2):P.d=Z.b+K,q1(C,(Uh(),Ag)),hg(C,(hh(),db))}(t==(Mt(),Qn)||t==Jr)&&(n=v.Math.max(n,P.a))}n>0&&(l(Vc(e.b,t),124).a.b=n)}function A9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(Zr(t,"Comment pre-processing",1),n=0,b=new M(e.a);b.a<b.c.c.length;)if(d=l(se(b),10),Zt(Xt(re(d,(Nt(),jL))))){for(++n,i=0,r=null,E=null,Z=new M(d.j);Z.a<Z.c.c.length;)$=l(se(Z),11),i+=$.e.c.length+$.g.c.length,$.e.c.length==1&&(r=l(Kt($.e,0),17),E=r.c),$.g.c.length==1&&(r=l(Kt($.g,0),17),E=r.d);if(i==1&&E.e.c.length+E.g.c.length==1&&!Zt(Xt(re(E.i,jL))))nTn(d,r,E,E.i),VA(b);else{for(ye=new yt,K=new M(d.j);K.a<K.c.c.length;){for($=l(se(K),11),P=new M($.g);P.a<P.c.c.length;)C=l(se(P),17),C.d.g.c.length==0||(ye.c[ye.c.length]=C);for(h=new M($.e);h.a<h.c.c.length;)a=l(se(h),17),a.c.e.c.length==0||(ye.c[ye.c.length]=a)}for(oe=new M(ye);oe.a<oe.c.c.length;)te=l(se(oe),17),Ly(te,!0)}}t.n&&a2(t,"Found "+n+" comment boxes"),Br(t)}function M9n(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te;if($=ot(Lt(re(e,(Nt(),wT)))),K=ot(Lt(re(e,yT))),P=ot(Lt(re(e,m5))),d=e.o,a=l(Kt(e.j,0),11),h=a.n,te=a4n(a,P),!!te){if(t.Hc((Gh(),tm)))switch(l(re(e,(mt(),Vl)),61).g){case 1:te.c=(d.a-te.b)/2-h.a,te.d=K;break;case 3:te.c=(d.a-te.b)/2-h.a,te.d=-K-te.a;break;case 2:n&&a.e.c.length==0&&a.g.c.length==0?(C=r?te.a:l(Kt(a.f,0),70).o.b,te.d=(d.b-C)/2-h.b):te.d=d.b+K-h.b,te.c=-$-te.b;break;case 4:n&&a.e.c.length==0&&a.g.c.length==0?(C=r?te.a:l(Kt(a.f,0),70).o.b,te.d=(d.b-C)/2-h.b):te.d=d.b+K-h.b,te.c=$}else if(t.Hc(Tb))switch(l(re(e,(mt(),Vl)),61).g){case 1:case 3:te.c=h.a+$;break;case 2:case 4:n&&!a.c?(C=r?te.a:l(Kt(a.f,0),70).o.b,te.d=(d.b-C)/2-h.b):te.d=h.b+K}for(i=te.d,E=new M(a.f);E.a<E.c.c.length;)b=l(se(E),70),Z=b.n,Z.a=te.c,Z.b=i,i+=b.o.b+P}}function L9n(){Vi(QB,new Cie),Vi(vX,new Iie),Vi(ZB,new D7),Vi(hNe,new Rie),Vi(jt,new R7),Vi(de(Rh,1),new AC),Vi(Ya,new Fie),Vi(u8,new Wx),Vi(jt,new h0),Vi(jt,new CH),Vi(jt,new AH),Vi(Mo,new MH),Vi(jt,new LH),Vi(fd,new IH),Vi(fd,new OH),Vi(jt,new B1),Vi(X9,new ih),Vi(jt,new Sie),Vi(jt,new Aie),Vi(jt,new sh),Vi(jt,new xC),Vi(jt,new DH),Vi(de(Rh,1),new PH),Vi(jt,new Gx),Vi(jt,new Mie),Vi(fd,new O7),Vi(fd,new Lie),Vi(jt,new NH),Vi(hc,new Oie),Vi(jt,new kC),Vi(Hy,new RH),Vi(jt,new SD),Vi(jt,new EC),Vi(jt,new Die),Vi(jt,new Pie),Vi(fd,new CD),Vi(fd,new TC),Vi(jt,new f0),Vi(jt,new Nie),Vi(jt,new P7),Vi(jt,new AD),Vi(jt,new e2),Vi(jt,new SC),Vi(zy,new MD),Vi(jt,new F1),Vi(jt,new CC),Vi(jt,new d0),Vi(zy,new g0),Vi(Hy,new Bie),Vi(jt,new o6),Vi(hc,new N7)}function vEe(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;if($=t.length,$>0&&(b=(yi(0,t.length),t.charCodeAt(0)),b!=64)){if(b==37&&(P=t.lastIndexOf("%"),E=!1,P!=0&&(P==$-1||(E=(yi(P+1,t.length),t.charCodeAt(P+1)==46))))){if(h=t.substr(1,P-1),Pe=Tn("%",h)?null:bEe(h),r=0,E)try{r=Bf(t.substr(P+2),Jo,as)}catch(We){throw We=ea(We),Le(We,127)?(d=We,ue(new Uq(d))):ue(We)}for(oe=Z_e(e.Wg());oe.Ob();)if(Z=yU(oe),Le(Z,510)&&(i=l(Z,590),je=i.d,(Pe==null?je==null:Tn(Pe,je))&&r--==0))return i;return null}if(C=t.lastIndexOf("."),K=C==-1?t:t.substr(0,C),n=0,C!=-1)try{n=Bf(t.substr(C+1),Jo,as)}catch(We){if(We=ea(We),Le(We,127))K=t;else throw ue(We)}for(K=Tn("%",K)?null:bEe(K),te=Z_e(e.Wg());te.Ob();)if(Z=yU(te),Le(Z,191)&&(a=l(Z,191),ye=a.ne(),(K==null?ye==null:Tn(K,ye))&&n--==0))return a;return null}return Wpt(e,t)}function I9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr;for(bt=new yt,Z=new M(e.b);Z.a<Z.c.c.length;)for(K=l(se(Z),29),ye=new M(K.a);ye.a<ye.c.c.length;)if(te=l(se(ye),10),te.k==(gr(),La)&&so(te,(mt(),JK))){for(je=null,We=null,Pe=null,hn=new M(te.j);hn.a<hn.c.c.length;)switch(on=l(se(hn),11),on.j.g){case 4:je=on;break;case 2:We=on;break;default:Pe=on}for(at=l(Kt(Pe.g,0),17),C=new Mz(at.a),E=new Zc(Pe.n),xs(E,te.n),P=$i(C,0),NP(P,E),Bt=xN(at.a),$=new Zc(Pe.n),xs($,te.n),xa(Bt,$,Bt.c.b,Bt.c),rr=l(re(te,JK),10),cr=l(Kt(rr.j,0),11),b=l(O0(je.e,Ue(a0e,Vfe,17,0,0,1)),474),r=b,a=0,d=r.length;a<d;++a)t=r[a],So(t,cr),Nle(t.a,t.a.b,C);for(b=pg(We.g),n=b,i=0,h=n.length;i<h;++i)t=n[i],ic(t,cr),Nle(t.a,0,Bt);ic(at,null),So(at,null),bt.c[bt.c.length]=te}for(oe=new M(bt);oe.a<oe.c.c.length;)te=l(se(oe),10),el(te,null)}function Emt(){Emt=Ee;var e,t,n;for(new oN(1,0),new oN(10,0),new oN(0,0),Dyt=Ue(I1e,dt,240,11,0,1),V2=Ue(md,bg,25,100,15,1),cCe=pe(de(Eo,1),Gc,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),lCe=Ue(ri,Pi,25,cCe.length,15,1),uCe=pe(de(Eo,1),Gc,25,15,[1,10,100,Fm,1e4,gfe,1e6,1e7,1e8,VG,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),hCe=Ue(ri,Pi,25,uCe.length,15,1),fCe=Ue(I1e,dt,240,11,0,1),e=0;e<fCe.length;e++)Dyt[e]=new oN(e,0),fCe[e]=new oN(0,e),V2[e]=48;for(;e<V2.length;e++)V2[e]=48;for(n=0;n<lCe.length;n++)lCe[n]=W8e(cCe[n]);for(t=0;t<hCe.length;t++)hCe[t]=W8e(uCe[t]);m9()}function O9n(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(t){return Object.create(null)},e.prototype.get=function(t){return this.obj[t]},e.prototype.set=function(t,n){this.obj[t]=n},e.prototype[bfe]=function(t){delete this.obj[t]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var t=this.keys(),n=this,r=0;return{next:function(){if(r>=t.length)return{done:!0};var i=t[r++];return{value:[i,n.get(i)],done:!1}}}},Rxn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,n){this.obj[":"+t]=n},e.prototype[bfe]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var n in this.obj)n.charCodeAt(0)==58&&t.push(n.substring(1));return t}),e}function D9n(e){X7e();var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(e==null)return null;if(P=e.length*8,P==0)return"";for(d=P%24,K=P/24|0,$=d!=0?K+1:K,a=null,a=Ue(md,bg,25,$*4,15,1),E=0,C=0,t=0,n=0,r=0,h=0,i=0,b=0;b<K;b++)t=e[i++],n=e[i++],r=e[i++],C=(n&15)<<24>>24,E=(t&3)<<24>>24,Z=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,te=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,oe=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[h++]=tv[Z],a[h++]=tv[te|E<<4],a[h++]=tv[C<<2|oe],a[h++]=tv[r&63];return d==8?(t=e[i],E=(t&3)<<24>>24,Z=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[h++]=tv[Z],a[h++]=tv[E<<4],a[h++]=61,a[h++]=61):d==16&&(t=e[i],n=e[i+1],C=(n&15)<<24>>24,E=(t&3)<<24>>24,Z=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,te=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[h++]=tv[Z],a[h++]=tv[te|E<<4],a[h++]=tv[C<<2],a[h++]=61),Ad(a,0,a.length)}function P9n(e,t){var n,r,i,a,h,d,b;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Jo&&Q6e(t,e.p-ab),h=t.q.getDate(),HP(t,1),e.k>=0&&mfn(t,e.k),e.c>=0?HP(t,e.c):e.k>=0?(b=new bxe(t.q.getFullYear()-ab,t.q.getMonth(),35),r=35-b.q.getDate(),HP(t,v.Math.min(r,h))):HP(t,h),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Csn(t,e.f==24&&e.g?0:e.f),e.j>=0&&C1n(t,e.j),e.n>=0&&U1n(t,e.n),e.i>=0&&XZe(t,sc(Zo($N(ph(t.q.getTime()),Fm),Fm),e.i)),e.a&&(i=new Nz,Q6e(i,i.q.getFullYear()-ab-80),xae(ph(t.q.getTime()),ph(i.q.getTime()))&&Q6e(t,i.q.getFullYear()-ab+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),d=t.q.getMonth(),HP(t,t.q.getDate()+n),t.q.getMonth()!=d&&HP(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>Jo&&(a=t.q.getTimezoneOffset(),XZe(t,sc(ph(t.q.getTime()),(e.o-a)*60*Fm))),!0}function Tmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(i=re(t,(mt(),vs)),!!Le(i,239)){for(Z=l(i,33),te=t.e,$=new Zc(t.c),a=t.d,$.a+=a.b,$.b+=a.d,We=l(nn(Z,(Nt(),dY)),174),Ch(We,(sf(),eX))&&(K=l(nn(Z,nIe),116),Xwe(K,a.a),Ase(K,a.d),Qwe(K,a.b),nye(K,a.c)),n=new yt,C=new M(t.a);C.a<C.c.c.length;)for(b=l(se(C),10),Le(re(b,vs),239)?$9n(b,$):Le(re(b,vs),186)&&!te&&(r=l(re(b,vs),118),je=mpt(t,b,r.g,r.f),w0(r,je.a,je.b)),ye=new M(b.j);ye.a<ye.c.c.length;)oe=l(se(ye),11),ya($s(new jn(null,new zn(oe.g,16)),new rc(b)),new ki(n));if(te)for(ye=new M(te.j);ye.a<ye.c.c.length;)oe=l(se(ye),11),ya($s(new jn(null,new zn(oe.g,16)),new ta(te)),new gl(n));for(Pe=l(nn(Z,Qp),218),d=new M(n);d.a<d.c.c.length;)h=l(se(d),17),JEn(h,Pe,$);for(Wkn(t),E=new M(t.a);E.a<E.c.c.length;)b=l(se(E),10),P=b.e,P&&Tmt(e,P)}}function Smt(e){qw(e,new M2(Zye(Az($w(Bw(jw(Fw(new dm,jf),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Zh),jf),zs((v9(),lX),pe(de(uX,1),vt,237,0,[oX]))))),It(e,jf,ER,St(1)),It(e,jf,K4,80),It(e,jf,$fe,5),It(e,jf,r8,B9),It(e,jf,ZG,St(1)),It(e,jf,ZM,(er(),!0)),It(e,jf,Ny,uAe),It(e,jf,TR,zt(oAe)),It(e,jf,Hfe,zt(hAe)),It(e,jf,JG,!1),It(e,jf,JM,zt(lAe)),It(e,jf,i8,zt(l4t)),It(e,jf,c_,zt(c4t)),It(e,jf,F9,zt(o4t)),It(e,jf,j9,zt(h4t)),It(e,jf,QG,zt(cAe)),It(e,jf,Ffe,zt(Q1e)),It(e,jf,r9e,zt(dK)),It(e,jf,jfe,zt(X1e)),It(e,jf,i9e,zt(fAe))}function Cmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K;if(!l(l(_s(e.r,t),21),84).dc()){if(h=l(Vc(e.b,t),124),b=h.i,d=h.n,C=ahe(e,t),r=b.b-d.b-d.c,i=h.a.a,a=b.c+d.b,K=e.w,(C==(H6(),kb)||C==FB)&&l(l(_s(e.r,t),21),84).gc()==1&&(i=C==kb?i-2*e.w:i,C=dI),r<i&&!e.B.Hc((sf(),tX)))C==kb?(K+=(r-i)/(l(l(_s(e.r,t),21),84).gc()+1),a+=K):K+=(r-i)/(l(l(_s(e.r,t),21),84).gc()-1);else switch(r<i&&(i=C==kb?i-2*e.w:i,C=dI),C.g){case 3:a+=(r-i)/2;break;case 4:a+=r-i;break;case 0:n=(r-i)/(l(l(_s(e.r,t),21),84).gc()+1),K+=v.Math.max(0,n),a+=K;break;case 1:n=(r-i)/(l(l(_s(e.r,t),21),84).gc()-1),K+=v.Math.max(0,n)}for($=l(l(_s(e.r,t),21),84).Kc();$.Ob();)P=l($.Pb(),111),P.e.a=a+P.d.b,P.e.b=(E=P.b,E.Xe((Yi(),cf))?E.Hf()==(Mt(),Qn)?-E.rf().b-ot(Lt(E.We(cf))):ot(Lt(E.We(cf))):E.Hf()==(Mt(),Qn)?-E.rf().b:0),a+=P.d.b+P.b.rf().a+P.d.c+K}}function Amt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(!l(l(_s(e.r,t),21),84).dc()){if(h=l(Vc(e.b,t),124),b=h.i,d=h.n,P=ahe(e,t),r=b.a-d.d-d.a,i=h.a.b,a=b.d+d.d,Z=e.w,E=e.o.a,(P==(H6(),kb)||P==FB)&&l(l(_s(e.r,t),21),84).gc()==1&&(i=P==kb?i-2*e.w:i,P=dI),r<i&&!e.B.Hc((sf(),tX)))P==kb?(Z+=(r-i)/(l(l(_s(e.r,t),21),84).gc()+1),a+=Z):Z+=(r-i)/(l(l(_s(e.r,t),21),84).gc()-1);else switch(r<i&&(i=P==kb?i-2*e.w:i,P=dI),P.g){case 3:a+=(r-i)/2;break;case 4:a+=r-i;break;case 0:n=(r-i)/(l(l(_s(e.r,t),21),84).gc()+1),Z+=v.Math.max(0,n),a+=Z;break;case 1:n=(r-i)/(l(l(_s(e.r,t),21),84).gc()-1),Z+=v.Math.max(0,n)}for(K=l(l(_s(e.r,t),21),84).Kc();K.Ob();)$=l(K.Pb(),111),$.e.a=(C=$.b,C.Xe((Yi(),cf))?C.Hf()==(Mt(),nr)?-C.rf().a-ot(Lt(C.We(cf))):E+ot(Lt(C.We(cf))):C.Hf()==(Mt(),nr)?-C.rf().a:E),$.e.b=a+$.d.d,a+=$.d.d+$.b.rf().b+$.d.a+Z}}function N9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(e.n=ot(Lt(re(e.g,(Nt(),e3)))),e.e=ot(Lt(re(e.g,Y2))),e.i=e.g.b.c.length,d=e.i-1,$=0,e.j=0,e.k=0,e.a=S0(Ue(hc,dt,19,e.i,0,1)),e.b=S0(Ue(Mo,dt,333,e.i,7,1)),h=new M(e.g.b);h.a<h.c.c.length;){for(i=l(se(h),29),i.p=d,P=new M(i.a);P.a<P.c.c.length;)C=l(se(P),10),C.p=$,++$;--d}for(e.f=Ue(ri,Pi,25,$,15,1),e.c=o2(ri,[dt,Pi],[48,25],15,[$,3],2),e.o=new yt,e.p=new yt,t=0,e.d=0,a=new M(e.g.b);a.a<a.c.c.length;){for(i=l(se(a),29),d=i.p,r=0,te=0,b=i.a.c.length,E=0,P=new M(i.a);P.a<P.c.c.length;)C=l(se(P),10),$=C.p,e.f[$]=C.c.p,E+=C.o.b+e.n,n=Np(new Rr(zr(bl(C).a.Kc(),new J))),Z=Np(new Rr(zr($a(C).a.Kc(),new J))),e.c[$][0]=Z-n,e.c[$][1]=n,e.c[$][2]=Z,r+=n,te+=Z,n>0&&wt(e.p,C),wt(e.o,C);t-=r,K=b+t,E+=t*e.e,rd(e.a,d,St(K)),rd(e.b,d,E),e.j=v.Math.max(e.j,K),e.k=v.Math.max(e.k,E),e.d+=t,t+=te}}function Mt(){Mt=Ee;var e;Dl=new mP(XM,0),Qn=new mP(WG,1),fr=new mP(Afe,2),Jr=new mP(Mfe,3),nr=new mP(Lfe,4),q0=(In(),new Q7((e=l(H1(yc),9),new ed(e,l(l1(e,e.length),9),0)))),C1=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[]))),gd=Lm(zs(fr,pe(de(yc,1),ru,61,0,[]))),qf=Lm(zs(Jr,pe(de(yc,1),ru,61,0,[]))),zd=Lm(zs(nr,pe(de(yc,1),ru,61,0,[]))),wh=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[Jr]))),Xu=Lm(zs(fr,pe(de(yc,1),ru,61,0,[nr]))),A1=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[nr]))),Yh=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[fr]))),Uf=Lm(zs(Jr,pe(de(yc,1),ru,61,0,[nr]))),pd=Lm(zs(fr,pe(de(yc,1),ru,61,0,[Jr]))),Xh=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[fr,nr]))),bh=Lm(zs(fr,pe(de(yc,1),ru,61,0,[Jr,nr]))),yh=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[Jr,nr]))),Nh=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[fr,Jr]))),Ou=Lm(zs(Qn,pe(de(yc,1),ru,61,0,[fr,Jr,nr])))}function Mmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;if(t.b!=0){for(K=new sa,d=null,Z=null,r=Sa(v.Math.floor(v.Math.log(t.b)*v.Math.LOG10E)+1),b=0,Pe=$i(t,0);Pe.b!=Pe.d.c;)for(ye=l(ji(Pe),86),Je(Z)!==Je(re(ye,(Kl(),tI)))&&(Z=wi(re(ye,tI)),b=0),Z!=null?d=Z+Xit(b++,r):d=Xit(b++,r),ut(ye,tI,d),oe=(i=$i(new Mv(ye).a.d,0),new rk(i));Iz(oe.a);)te=l(ji(oe.a),188).c,xa(K,te,K.c.b,K.c),ut(te,tI,d);for($=new si,h=0;h<d.length-r;h++)for(je=$i(t,0);je.b!=je.d.c;)ye=l(ji(je),86),E=Mf(wi(re(ye,(Kl(),tI))),0,h+1),n=(E==null?Bl(cl($.f,null)):lA($.g,E))!=null?l(E==null?Bl(cl($.f,null)):lA($.g,E),19).a+1:1,Jc($,E,St(n));for(P=new x2(new mm($).a);P.b;)C=fy(P),a=St(Tr(e.a,C.cd())!=null?l(Tr(e.a,C.cd()),19).a:0),Jc(e.a,wi(C.cd()),St(l(C.dd(),19).a+a.a)),a=l(Tr(e.b,C.cd()),19),(!a||a.a<l(C.dd(),19).a)&&Jc(e.b,wi(C.cd()),l(C.dd(),19));Mmt(e,K)}}function R9n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(Zr(n,"Interactive node layering",1),r=new yt,K=new M(t.a);K.a<K.c.c.length;){for(P=l(se(K),10),E=P.n.a,b=E+P.o.a,b=v.Math.max(E+1,b),ye=new Ro(r,0),i=null;ye.b<ye.d.gc();)if(te=(kr(ye.b<ye.d.gc()),l(ye.d.Xb(ye.c=ye.b++),569)),te.c>=b){kr(ye.b>0),ye.a.Xb(ye.c=--ye.b);break}else te.a>E&&(i?(Fa(i.b,te.b),i.a=v.Math.max(i.a,te.a),wf(ye)):(wt(te.b,P),te.c=v.Math.min(te.c,E),te.a=v.Math.max(te.a,b),i=te));i||(i=new fYe,i.c=E,i.a=b,u4(ye,i),wt(i.b,P))}for(d=t.b,C=0,oe=new M(r);oe.a<oe.c.c.length;)for(te=l(se(oe),569),a=new Td(t),a.p=C++,d.c[d.c.length]=a,Z=new M(te.b);Z.a<Z.c.c.length;)P=l(se(Z),10),el(P,a),P.p=0;for($=new M(t.a);$.a<$.c.c.length;)P=l(se($),10),P.p==0&&hgt(e,P,t);for(h=new Ro(d,0);h.b<h.d.gc();)(kr(h.b<h.d.gc()),l(h.d.Xb(h.c=h.b++),29)).a.c.length==0&&wf(h);t.a.c=Ue(xr,Ht,1,0,5,1),Br(n)}function B9n(e,t,n){var r,i,a,h,d,b,E,C,P,$;if(t.e.c.length!=0&&n.e.c.length!=0){if(r=l(Kt(t.e,0),17).c.i,h=l(Kt(n.e,0),17).c.i,r==h)return ah(l(re(l(Kt(t.e,0),17),(mt(),au)),19).a,l(re(l(Kt(n.e,0),17),au),19).a);for(C=e.a,P=0,$=C.length;P<$;++P){if(E=C[P],E==r)return 1;if(E==h)return-1}}return t.g.c.length!=0&&n.g.c.length!=0?(a=l(re(t,(mt(),z0e)),10),b=l(re(n,z0e),10),i=0,d=0,so(l(Kt(t.g,0),17),au)&&(i=l(re(l(Kt(t.g,0),17),au),19).a),so(l(Kt(n.g,0),17),au)&&(d=l(re(l(Kt(t.g,0),17),au),19).a),a&&a==b?Zt(Xt(re(l(Kt(t.g,0),17),$0)))&&!Zt(Xt(re(l(Kt(n.g,0),17),$0)))?1:!Zt(Xt(re(l(Kt(t.g,0),17),$0)))&&Zt(Xt(re(l(Kt(n.g,0),17),$0)))||i<d?-1:i>d?1:0:(e.b&&(e.b._b(a)&&(i=l(e.b.xc(a),19).a),e.b._b(b)&&(d=l(e.b.xc(b),19).a)),i<d?-1:i>d?1:0)):t.e.c.length!=0&&n.g.c.length!=0?1:-1}function F9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;for(Zr(t,wbt,1),te=new yt,bt=new yt,E=new M(e.b);E.a<E.c.c.length;)for(b=l(se(E),29),ye=-1,Z=qP(b.a),P=Z,$=0,K=P.length;$<K;++$)if(C=P[$],++ye,!!(C.k==(gr(),za)&&x6(l(re(C,(Nt(),ba)),98)))){for(wk(l(re(C,(Nt(),ba)),98))||I_n(C),ut(C,(mt(),Ky),C),te.c=Ue(xr,Ht,1,0,5,1),bt.c=Ue(xr,Ht,1,0,5,1),n=new yt,We=new sa,vle(We,Rm(C,(Mt(),Qn))),zmt(e,We,te,bt,n),d=ye,Bt=C,a=new M(te);a.a<a.c.c.length;)r=l(se(a),10),D4(r,d,b),++ye,ut(r,Ky,C),h=l(Kt(r.j,0),11),oe=l(re(h,vs),11),Zt(Xt(re(oe,W0e)))||l(re(r,b8),15).Fc(Bt);for(Sd(We),Pe=Rm(C,Jr).Kc();Pe.Ob();)je=l(Pe.Pb(),11),xa(We,je,We.a,We.a.a);for(zmt(e,We,bt,null,n),at=C,i=new M(bt);i.a<i.c.c.length;)r=l(se(i),10),D4(r,++ye,b),ut(r,Ky,C),h=l(Kt(r.j,0),11),oe=l(re(h,vs),11),Zt(Xt(re(oe,W0e)))||l(re(at,b8),15).Fc(r);n.c.length==0||ut(C,VMe,n)}Br(t)}function Lmt(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa;for(P=l(re(e,(Kv(),f8)),33),ye=as,je=as,te=Jo,oe=Jo,We=new M(e.e);We.a<We.c.c.length;)Pe=l(se(We),144),hn=Pe.d,rr=Pe.e,ye=v.Math.min(ye,hn.a-rr.a/2),je=v.Math.min(je,hn.b-rr.b/2),te=v.Math.max(te,hn.a+rr.a/2),oe=v.Math.max(oe,hn.b+rr.b/2);for(on=l(nn(P,(X1(),u4t)),116),Bt=new en(on.b-ye,on.d-je),d=new M(e.e);d.a<d.c.c.length;)h=l(se(d),144),bt=re(h,f8),Le(bt,239)&&(K=l(bt,33),at=xs(h.d,Bt),w0(K,at.a-K.g/2,at.b-K.f/2));for(r=new M(e.c);r.a<r.c.c.length;)n=l(se(r),282),E=l(re(n,f8),79),C=Z6(E,!0,!0),cr=(is=xo(Fl(n.d.d),n.c.d),h9(is,n.c.e.a,n.c.e.b),xs(is,n.c.d)),mV(C,cr.a,cr.b),t=(Xa=xo(Fl(n.c.d),n.d.d),h9(Xa,n.d.e.a,n.d.e.b),xs(Xa,n.d.d)),pV(C,t.a,t.b);for(a=new M(e.d);a.a<a.c.c.length;)i=l(se(a),447),$=l(re(i,f8),137),Z=xs(i.d,Bt),w0($,Z.a,Z.b);Vr=te-ye+(on.b+on.c),b=oe-je+(on.d+on.a),Iy(P,Vr,b,!1,!0)}function j9n(e){var t,n,r,i,a,h,d,b,E,C,P,$;for(n=null,b=null,i=l(re(e.b,(Nt(),J0e)),376),i==(YP(),vB)&&(n=new yt,b=new yt),d=new M(e.d);d.a<d.c.c.length;)if(h=l(se(d),101),a=h.i,!!a)switch(h.e.g){case 0:t=l(JA(new uk(h.b)),61),i==vB&&t==(Mt(),Qn)?n.c[n.c.length]=h:i==vB&&t==(Mt(),Jr)?b.c[b.c.length]=h:E2n(h,t);break;case 1:E=h.a.d.j,C=h.c.d.j,E==(Mt(),Qn)?Em(h,Qn,(L0(),iT),h.a):C==Qn?Em(h,Qn,(L0(),sT),h.c):E==Jr?Em(h,Jr,(L0(),sT),h.a):C==Jr&&Em(h,Jr,(L0(),iT),h.c);break;case 2:case 3:r=h.b,Ch(r,(Mt(),Qn))?Ch(r,Jr)?Ch(r,nr)?Ch(r,fr)||Em(h,Qn,(L0(),sT),h.c):Em(h,Qn,(L0(),iT),h.a):Em(h,Qn,(L0(),d8),null):Em(h,Jr,(L0(),d8),null);break;case 4:P=h.a.d.j,$=h.a.d.j,P==(Mt(),Qn)||$==Qn?Em(h,Jr,(L0(),d8),null):Em(h,Qn,(L0(),d8),null)}n&&(n.c.length==0||kpt(n,(Mt(),Qn)),b.c.length==0||kpt(b,(Mt(),Jr)))}function $9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;for(r=l(re(e,(mt(),vs)),33),Z=l(re(e,(Nt(),sY)),19).a,a=l(re(e,lY),19).a,Uc(r,sY,St(Z)),Uc(r,lY,St(a)),dh(r,e.n.a+t.a),gh(r,e.n.b+t.b),(l(nn(r,W2),174).gc()!=0||e.e||Je(re(cc(e),fY))===Je((kM(),GL))&&mJe((I4(),(e.q?e.q:(In(),In(),lp))._b(Qy)?$=l(re(e,Qy),197):$=l(re(cc(e),zL),197),$)))&&(gy(r,e.o.a),dy(r,e.o.b)),P=new M(e.j);P.a<P.c.c.length;)E=l(se(P),11),te=re(E,vs),Le(te,186)&&(i=l(te,118),w0(i,E.n.a,E.n.b),Uc(i,vT,E.j));for(K=l(re(e,Xy),174).gc()!=0,b=new M(e.b);b.a<b.c.c.length;)h=l(se(b),70),(K||l(re(h,Xy),174).gc()!=0)&&(n=l(re(h,vs),137),gV(n,h.o.a,h.o.b),w0(n,h.n.a,h.n.b));if(!HA(l(re(e,g5),21)))for(C=new M(e.j);C.a<C.c.c.length;)for(E=l(se(C),11),d=new M(E.f);d.a<d.c.c.length;)h=l(se(d),70),n=l(re(h,vs),137),gy(n,h.o.a),dy(n,h.o.b),w0(n,h.n.a,h.n.b)}function H9n(e){var t,n,r,i,a;switch(jP(e,z2t),(!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i+(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i){case 0:throw ue(new Jn("The edge must have at least one source or target."));case 1:return(!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i==0?ua(ul(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82))):ua(ul(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82)))}if((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c).i==1){if(i=ul(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82)),a=ul(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82)),ua(i)==ua(a))return ua(i);if(i==ua(a))return i;if(a==ua(i))return a}for(r=Hv(M0(pe(de(B0,1),Ht,20,0,[(!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),(!e.c&&(e.c=new $n(Xr,e,5,8)),e.c)]))),t=ul(l(hi(r),82));Ei(r);)if(n=ul(l(hi(r),82)),n!=t&&!E4(n,t)){if(ua(n)==ua(t))t=ua(n);else if(t=S6n(t,n),!t)return null}return t}function z9n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;for(Zr(n,"Polyline edge routing",1),oe=ot(Lt(re(t,(Nt(),FLe)))),K=ot(Lt(re(t,I_))),i=ot(Lt(re(t,L_))),r=v.Math.min(1,i/K),Pe=0,b=0,t.b.c.length!=0&&(We=L0t(l(Kt(t.b,0),29)),Pe=.4*r*We),d=new Ro(t.b,0);d.b<d.d.gc();){for(h=(kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),29)),a=uV(h,wB),a&&Pe>0&&(Pe-=K),oEe(h,Pe),C=0,$=new M(h.a);$.a<$.c.c.length;){for(P=l(se($),10),E=0,te=new Rr(zr($a(P).a.Kc(),new J));Ei(te);)Z=l(hi(te),17),ye=E0(Z.c).b,je=E0(Z.d).b,h==Z.d.i.c&&!pc(Z)&&(f5n(Z,Pe,.4*r*v.Math.abs(ye-je)),Z.c.j==(Mt(),nr)&&(ye=0,je=0)),E=v.Math.max(E,v.Math.abs(je-ye));switch(P.k.g){case 0:case 4:case 1:case 3:case 5:cEn(e,P,Pe,oe)}C=v.Math.max(C,E)}d.b<d.d.gc()&&(We=L0t((kr(d.b<d.d.gc()),l(d.d.Xb(d.c=d.b++),29))),C=v.Math.max(C,We),kr(d.b>0),d.a.Xb(d.c=--d.b)),b=.4*r*C,!a&&d.b<d.d.gc()&&(b+=K),Pe+=h.c.a+b}e.a.a.$b(),t.f.a=Pe,Br(n)}function V9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;for(C=new si,b=new ay,r=new M(e.a.a.b);r.a<r.c.c.length;)if(t=l(se(r),57),E=I6(t),E)Gu(C.f,E,t);else if(je=Lk(t),je)for(a=new M(je.k);a.a<a.c.c.length;)i=l(se(a),17),En(b,i,t);for(n=new M(e.a.a.b);n.a<n.c.c.length;)if(t=l(se(n),57),E=I6(t),E){for(d=new Rr(zr($a(E).a.Kc(),new J));Ei(d);)if(h=l(hi(d),17),!pc(h)&&(Z=h.c,ye=h.d,!((Mt(),wh).Hc(h.c.j)&&wh.Hc(h.d.j)))){if(te=l(Tr(C,h.d.i),57),v1(o1(a1(c1(s1(new kd,0),100),e.c[t.a.d]),e.c[te.a.d])),Z.j==nr&&Rnt((Lh(),Z))){for($=l(_s(b,h),21).Kc();$.Ob();)if(P=l($.Pb(),57),P.d.c<t.d.c){if(K=e.c[P.a.d],oe=e.c[t.a.d],K==oe)continue;v1(o1(a1(c1(s1(new kd,1),100),K),oe))}}if(ye.j==fr&&Nnt((Lh(),ye))){for($=l(_s(b,h),21).Kc();$.Ob();)if(P=l($.Pb(),57),P.d.c>t.d.c){if(K=e.c[t.a.d],oe=e.c[P.a.d],K==oe)continue;v1(o1(a1(c1(s1(new kd,1),100),K),oe))}}}}}function bEe(e){Ihe();var t,n,r,i,a,h,d,b;if(e==null)return null;if(i=lg(e,mh(37)),i<0)return e;for(b=new Af(e.substr(0,i)),t=Ue(Rh,d_,25,4,15,1),d=0,r=0,h=e.length;i<h;i++)if(yi(i,e.length),e.charCodeAt(i)==37&&e.length>i+2&&kle((yi(i+1,e.length),e.charCodeAt(i+1)),VPe,qPe)&&kle((yi(i+2,e.length),e.charCodeAt(i+2)),VPe,qPe))if(n=hln((yi(i+1,e.length),e.charCodeAt(i+1)),(yi(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[d++]=n<<24>>24,r=2):(n&240)==224?(t[d++]=n<<24>>24,r=3):(n&248)==240&&(t[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{zv(b,((t[0]&31)<<6|t[1]&63)&Aa);break}case 3:{zv(b,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Aa);break}}d=0,r=0}}else{for(a=0;a<d;++a)zv(b,t[a]&Aa);d=0,b.a+=String.fromCharCode(n)}else{for(a=0;a<d;++a)zv(b,t[a]&Aa);d=0,zv(b,(yi(i,e.length),e.charCodeAt(i)))}return b.a}function Imt(e,t,n,r,i){var a,h,d;if(Zot(e,t),h=t[0],a=$o(n.c,0),d=-1,Exe(n))if(r>0){if(h+r>e.length)return!1;d=fG(e.substr(0,h+r),t)}else d=fG(e,t);switch(a){case 71:return d=K6(e,h,pe(de(jt,1),dt,2,6,[hvt,fvt]),t),i.e=d,!0;case 77:return Txn(e,t,i,d,h);case 76:return Sxn(e,t,i,d,h);case 69:return v4n(e,t,h,i);case 99:return b4n(e,t,h,i);case 97:return d=K6(e,h,pe(de(jt,1),dt,2,6,["AM","PM"]),t),i.b=d,!0;case 121:return Cxn(e,t,h,d,n,i);case 100:return d<=0?!1:(i.c=d,!0);case 83:return d<0?!1:Ivn(d,h,t[0],i);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(i.f=d,i.g=!1,!0);case 107:return d<0?!1:(i.f=d,i.g=!0,!0);case 109:return d<0?!1:(i.j=d,!0);case 115:return d<0?!1:(i.n=d,!0);case 90:if(h<e.length&&(yi(h,e.length),e.charCodeAt(h)==90))return++t[0],i.o=0,!0;case 122:case 118:return zyn(e,h,t,i);default:return!1}}function q9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;if($=l(l(_s(e.r,t),21),84),t==(Mt(),fr)||t==nr){kmt(e,t);return}for(a=t==Qn?(vy(),qR):(vy(),UR),We=t==Qn?(hh(),J1):(hh(),y1),n=l(Vc(e.b,t),124),r=n.i,i=r.c+R6(pe(de(Eo,1),Gc,25,15,[n.n.b,e.C.b,e.k])),ye=r.c+r.b-R6(pe(de(Eo,1),Gc,25,15,[n.n.c,e.C.c,e.k])),h=Xye(g5e(a),e.t),je=t==Qn?Oa:ma,P=$.Kc();P.Ob();)E=l(P.Pb(),111),!(!E.c||E.c.d.c.length<=0)&&(oe=E.b.rf(),te=E.e,K=E.c,Z=K.i,Z.b=(b=K.n,K.e.a+b.b+b.c),Z.a=(d=K.n,K.e.b+d.d+d.a),jP(We,qEe),K.f=We,q1(K,(Uh(),w1)),Z.c=te.a-(Z.b-oe.a)/2,at=v.Math.min(i,te.a),bt=v.Math.max(ye,te.a+oe.a),Z.c<at?Z.c=at:Z.c+Z.b>bt&&(Z.c=bt-Z.b),wt(h.d,new joe(Z,Kxe(h,Z))),je=t==Qn?v.Math.max(je,te.b+E.b.rf().b):v.Math.min(je,te.b));for(je+=t==Qn?e.t:-e.t,Pe=uke((h.e=je,h)),Pe>0&&(l(Vc(e.b,t),124).a.b=Pe),C=$.Kc();C.Ob();)E=l(C.Pb(),111),!(!E.c||E.c.d.c.length<=0)&&(Z=E.c.i,Z.c-=E.e.a,Z.d-=E.e.b)}function U9n(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;for(t=new si,b=new Ir(e);b.e!=b.i.gc();){for(d=l(Ur(b),33),n=new Ja,ds(K1e,d,n),K=new Yt,i=l(Of(new jn(null,new Jw(new Rr(zr(QN(d).a.Kc(),new J)))),_nt(K,p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[(I0(),Hf)])))),83),qct(n,l(i.xc((er(),!0)),14),new j3),r=l(Of($s(l(i.xc(!1),15).Lc(),new fn),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[Hf]))),15),h=r.Kc();h.Ob();)a=l(h.Pb(),79),$=Ldt(a),$&&(E=l(Bl(cl(t.f,$)),21),E||(E=X0t($),Gu(t.f,$,E)),mc(n,E));for(i=l(Of(new jn(null,new Jw(new Rr(zr(Up(d).a.Kc(),new J)))),_nt(K,p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[Hf])))),83),qct(n,l(i.xc(!0),14),new ng),r=l(Of($s(l(i.xc(!1),15).Lc(),new $3),p2(new Pt,new $t,new or,pe(de(of,1),vt,132,0,[Hf]))),15),P=r.Kc();P.Ob();)C=l(P.Pb(),79),$=Idt(C),$&&(E=l(Bl(cl(t.f,$)),21),E||(E=X0t($),Gu(t.f,$,E)),mc(n,E))}}function G9n(e,t){The();var n,r,i,a,h,d,b,E,C,P,$,K,Z,te;if(b=nu(e,0)<0,b&&(e=DE(e)),nu(e,0)==0)switch(t){case 0:return"0";case 1:return O9;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return K=new Lv,t<0?K.a+="0E+":K.a+="0E",K.a+=t==Jo?"2147483648":""+-t,K.a}C=18,P=Ue(md,bg,25,C+1,15,1),n=C,te=e;do E=te,te=$N(te,10),P[--n]=li(sc(48,Jv(E,Zo(te,10))))&Aa;while(nu(te,0)!=0);if(i=Jv(Jv(Jv(C,n),t),1),t==0)return b&&(P[--n]=45),Ad(P,n,C-n);if(t>0&&nu(i,-6)>=0){if(nu(i,0)>=0){for(a=n+li(i),d=C-1;d>=a;d--)P[d+1]=P[d];return P[++a]=46,b&&(P[--n]=45),Ad(P,n,C-n+1)}for(h=2;xae(h,sc(DE(i),1));h++)P[--n]=48;return P[--n]=46,P[--n]=48,b&&(P[--n]=45),Ad(P,n,C-n)}return Z=n+1,r=C,$=new t4,b&&($.a+="-"),r-Z>=1?(zv($,P[n]),$.a+=".",$.a+=Ad(P,n+1,C-n-1)):$.a+=Ad(P,n,C-n),$.a+="E",nu(i,0)>0&&($.a+="+"),$.a+=""+$A(i),$.a}function W9n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K;if(e.e.a.$b(),e.f.a.$b(),e.c.c=Ue(xr,Ht,1,0,5,1),e.i.c=Ue(xr,Ht,1,0,5,1),e.g.a.$b(),t)for(h=new M(t.a);h.a<h.c.c.length;)for(a=l(se(h),10),P=Rm(a,(Mt(),fr)).Kc();P.Ob();)for(C=l(P.Pb(),11),Ga(e.e,C),i=new M(C.g);i.a<i.c.c.length;)r=l(se(i),17),!pc(r)&&(wt(e.c,r),nft(e,r),d=r.c.i.k,(d==(gr(),za)||d==Mu||d==La||d==j0)&&wt(e.j,r),K=r.d,$=K.i.c,$==n?Ga(e.f,K):$==t?Ga(e.e,K):uh(e.c,r));if(n)for(h=new M(n.a);h.a<h.c.c.length;){for(a=l(se(h),10),E=new M(a.j);E.a<E.c.c.length;)for(b=l(se(E),11),i=new M(b.g);i.a<i.c.c.length;)r=l(se(i),17),pc(r)&&Ga(e.g,r);for(P=Rm(a,(Mt(),nr)).Kc();P.Ob();)for(C=l(P.Pb(),11),Ga(e.f,C),i=new M(C.g);i.a<i.c.c.length;)r=l(se(i),17),!pc(r)&&(wt(e.c,r),nft(e,r),d=r.c.i.k,(d==(gr(),za)||d==Mu||d==La||d==j0)&&wt(e.j,r),K=r.d,$=K.i.c,$==n?Ga(e.f,K):$==t?Ga(e.e,K):uh(e.c,r))}}function Iy(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;if(oe=new en(e.g,e.f),te=j8e(e),te.a=v.Math.max(te.a,t),te.b=v.Math.max(te.b,n),bt=te.a/oe.a,C=te.b/oe.b,We=te.a-oe.a,b=te.b-oe.b,r)for(h=ua(e)?l(nn(ua(e),(Yi(),n3)),103):l(nn(e,(Yi(),n3)),103),d=Je(nn(e,(Yi(),lI)))===Je((Ao(),Iu)),je=new Ir((!e.c&&(e.c=new _t(lf,e,9,9)),e.c));je.e!=je.i.gc();)switch(ye=l(Ur(je),118),Pe=l(nn(ye,$_),61),Pe==(Mt(),Dl)&&(Pe=Q7e(ye,h),Uc(ye,$_,Pe)),Pe.g){case 1:d||dh(ye,ye.i*bt);break;case 2:dh(ye,ye.i+We),d||gh(ye,ye.j*C);break;case 3:d||dh(ye,ye.i*bt),gh(ye,ye.j+b);break;case 4:d||gh(ye,ye.j*C)}if(gV(e,te.a,te.b),i)for($=new Ir((!e.n&&(e.n=new _t(_l,e,1,7)),e.n));$.e!=$.i.gc();)P=l(Ur($),137),K=P.i+P.g/2,Z=P.j+P.f/2,at=K/oe.a,E=Z/oe.b,at+E>=1&&(at-E>0&&Z>=0?(dh(P,P.i+We),gh(P,P.j+b*E)):at-E<0&&K>=0&&(dh(P,P.i+We*at),gh(P,P.j+b)));return Uc(e,(Yi(),Z2),(xf(),a=l(H1(vI),9),new ed(a,l(l1(a,a.length),9),0))),new en(bt,C)}function Omt(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z;if(K=ua(ul(l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82))),Z=ua(ul(l(Re((!e.c&&(e.c=new $n(Xr,e,5,8)),e.c),0),82))),P=K==Z,d=new Qo,t=l(nn(e,(TU(),pPe)),74),t&&t.b>=2){if((!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i==0)n=(Hw(),i=new ig,i),fi((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),n);else if((!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i>1)for($=new mk((!e.a&&(e.a=new _t(aa,e,6,6)),e.a));$.e!=$.i.gc();)SM($);sR(t,l(Re((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),0),202))}if(P)for(r=new Ir((!e.a&&(e.a=new _t(aa,e,6,6)),e.a));r.e!=r.i.gc();)for(n=l(Ur(r),202),E=new Ir((!n.a&&(n.a=new Ba(Vd,n,5)),n.a));E.e!=E.i.gc();)b=l(Ur(E),469),d.a=v.Math.max(d.a,b.a),d.b=v.Math.max(d.b,b.b);for(h=new Ir((!e.n&&(e.n=new _t(_l,e,1,7)),e.n));h.e!=h.i.gc();)a=l(Ur(h),137),C=l(nn(a,hI),8),C&&w0(a,C.a,C.b),P&&(d.a=v.Math.max(d.a,a.i+a.g),d.b=v.Math.max(d.b,a.j+a.f));return d}function K9n(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on;for(Pe=t.c.length,i=new e_(e.a,n,null,null),on=Ue(Eo,Gc,25,Pe,15,1),te=Ue(Eo,Gc,25,Pe,15,1),Z=Ue(Eo,Gc,25,Pe,15,1),oe=0,d=0;d<Pe;d++)te[d]=as,Z[d]=Jo;for(b=0;b<Pe;b++)for(r=(Un(b,t.c.length),l(t.c[b],180)),on[b]=ehe(r),on[oe]>on[b]&&(oe=b),P=new M(e.a.b);P.a<P.c.c.length;)for(C=l(se(P),29),je=new M(C.a);je.a<je.c.c.length;)ye=l(se(je),10),bt=ot(r.p[ye.p])+ot(r.d[ye.p]),te[b]=v.Math.min(te[b],bt),Z[b]=v.Math.max(Z[b],bt+ye.o.b);for(Bt=Ue(Eo,Gc,25,Pe,15,1),E=0;E<Pe;E++)(Un(E,t.c.length),l(t.c[E],180)).o==(k0(),X2)?Bt[E]=te[oe]-te[E]:Bt[E]=Z[oe]-Z[E];for(a=Ue(Eo,Gc,25,Pe,15,1),K=new M(e.a.b);K.a<K.c.c.length;)for($=l(se(K),29),at=new M($.a);at.a<at.c.c.length;){for(We=l(se(at),10),h=0;h<Pe;h++)a[h]=ot((Un(h,t.c.length),l(t.c[h],180)).p[We.p])+ot((Un(h,t.c.length),l(t.c[h],180)).d[We.p])+Bt[h];a.sort(Cct(xe.prototype.te,xe,[])),i.p[We.p]=(a[1]+a[2])/2,i.d[We.p]=0}return i}function Y9n(e,t,n){var r,i,a,h,d;switch(r=t.i,a=e.i.o,i=e.i.d,d=e.n,h=Ml(pe(de(ao,1),dt,8,0,[d,e.a])),e.j.g){case 1:hg(t,(hh(),y1)),r.d=-i.d-n-r.a,l(l(Kt(t.d,0),181).We((mt(),w8)),285)==(Rf(),fp)?(q1(t,(Uh(),w1)),r.c=h.a-ot(Lt(re(e,S_)))-n-r.b):(q1(t,(Uh(),Ag)),r.c=h.a+ot(Lt(re(e,S_)))+n);break;case 2:q1(t,(Uh(),Ag)),r.c=a.a+i.c+n,l(l(Kt(t.d,0),181).We((mt(),w8)),285)==(Rf(),fp)?(hg(t,(hh(),y1)),r.d=h.b-ot(Lt(re(e,S_)))-n-r.a):(hg(t,(hh(),J1)),r.d=h.b+ot(Lt(re(e,S_)))+n);break;case 3:hg(t,(hh(),J1)),r.d=a.b+i.a+n,l(l(Kt(t.d,0),181).We((mt(),w8)),285)==(Rf(),fp)?(q1(t,(Uh(),w1)),r.c=h.a-ot(Lt(re(e,S_)))-n-r.b):(q1(t,(Uh(),Ag)),r.c=h.a+ot(Lt(re(e,S_)))+n);break;case 4:q1(t,(Uh(),w1)),r.c=-i.b-n-r.b,l(l(Kt(t.d,0),181).We((mt(),w8)),285)==(Rf(),fp)?(hg(t,(hh(),y1)),r.d=h.b-ot(Lt(re(e,S_)))-n-r.a):(hg(t,(hh(),J1)),r.d=h.b+ot(Lt(re(e,S_)))+n)}}function X9n(e,t,n,r,i,a,h){var d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa;for(K=0,rr=0,b=new M(e);b.a<b.c.c.length;)d=l(se(b),33),pmt(d),K=v.Math.max(K,d.g),rr+=d.g*d.f;for(Z=rr/e.c.length,hn=Z2n(e,Z),rr+=e.c.length*hn,K=v.Math.max(K,v.Math.sqrt(rr*h))+n.b,is=n.b,Xa=n.d,$=0,C=n.b+n.c,on=new sa,zi(on,St(0)),bt=new sa,E=new Ro(e,0);E.b<E.d.gc();)d=(kr(E.b<E.d.gc()),l(E.d.Xb(E.c=E.b++),33)),Vr=d.g,P=d.f,is+Vr>K&&(a&&(s2(bt,$),s2(on,St(E.b-1))),is=n.b,Xa+=$+t,$=0,C=v.Math.max(C,n.b+n.c+Vr)),dh(d,is),gh(d,Xa),C=v.Math.max(C,is+Vr+n.c),$=v.Math.max($,P),is+=Vr+t;if(C=v.Math.max(C,r),cr=Xa+$+n.a,cr<i&&($+=i-cr,cr=i),a)for(is=n.b,E=new Ro(e,0),s2(on,St(e.c.length)),Bt=$i(on,0),ye=l(ji(Bt),19).a,s2(bt,$),at=$i(bt,0),We=0;E.b<E.d.gc();)E.b==ye&&(is=n.b,We=ot(Lt(ji(at))),ye=l(ji(Bt),19).a),d=(kr(E.b<E.d.gc()),l(E.d.Xb(E.c=E.b++),33)),je=d.f,dy(d,We),te=We,E.b==ye&&(oe=C-is-n.c,Pe=d.g,gy(d,oe),f1t(d,new en(oe,te),new en(Pe,je))),is+=d.g+t;return new en(C,cr)}function Q9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn;for(Zr(t,"Compound graph postprocessor",1),n=Zt(Xt(re(e,(Nt(),cge)))),d=l(re(e,(mt(),GMe)),224),C=new Ja,ye=d.ec().Kc();ye.Ob();){for(oe=l(ye.Pb(),17),h=new Ah(d.cc(oe)),In(),fo(h,new ys(e)),at=Dgn((Un(0,h.c.length),l(h.c[0],243))),Bt=_lt(l(Kt(h,h.c.length-1),243)),Pe=at.i,UE(Bt.i,Pe)?je=Pe.e:je=cc(Pe),P=Rbn(oe,h),Sd(oe.a),$=null,a=new M(h);a.a<a.c.c.length;)i=l(se(a),243),te=new Qo,R8e(te,i.a,je),K=i.b,r=new Th,Nle(r,0,K.a),T4(r,te),We=new Zc(E0(K.c)),bt=new Zc(E0(K.d)),xs(We,te),xs(bt,te),$&&(r.b==0?Z=bt:Z=(kr(r.b!=0),l(r.a.a.c,8)),on=v.Math.abs($.a-Z.a)>_g,hn=v.Math.abs($.b-Z.b)>_g,(!n&&on&&hn||n&&(on||hn))&&zi(oe.a,We)),mc(oe.a,r),r.b==0?$=We:$=(kr(r.b!=0),l(r.c.b.c,8)),fpn(K,P,te),_lt(i)==Bt&&(cc(Bt.i)!=i.a&&(te=new Qo,R8e(te,cc(Bt.i),je)),ut(oe,G0e,te)),R3n(K,oe,je),C.a.zc(K,C);ic(oe,at),So(oe,Bt)}for(E=C.a.ec().Kc();E.Ob();)b=l(E.Pb(),17),ic(b,null),So(b,null);Br(t)}function Dmt(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(e.gc()==1)return l(e.Xb(0),231);if(e.gc()<=0)return new Nq;for(i=e.Kc();i.Ob();){for(n=l(i.Pb(),231),Z=0,C=as,P=as,b=Jo,E=Jo,K=new M(n.e);K.a<K.c.c.length;)$=l(se(K),144),Z+=l(re($,(X1(),eT)),19).a,C=v.Math.min(C,$.d.a-$.e.a/2),P=v.Math.min(P,$.d.b-$.e.b/2),b=v.Math.max(b,$.d.a+$.e.a/2),E=v.Math.max(E,$.d.b+$.e.b/2);ut(n,(X1(),eT),St(Z)),ut(n,(Kv(),CL),new en(C,P)),ut(n,ZR,new en(b,E))}for(In(),e.ad(new Xb),te=new Nq,ll(te,l(e.Xb(0),94)),d=0,je=0,a=e.Kc();a.Ob();)n=l(a.Pb(),231),oe=xo(Fl(l(re(n,(Kv(),ZR)),8)),l(re(n,CL),8)),d=v.Math.max(d,oe.a),je+=oe.a*oe.b;for(d=v.Math.max(d,v.Math.sqrt(je)*ot(Lt(re(te,(X1(),s4t))))),ye=ot(Lt(re(te,gK))),Pe=0,We=0,h=0,t=ye,r=e.Kc();r.Ob();)n=l(r.Pb(),231),oe=xo(Fl(l(re(n,(Kv(),ZR)),8)),l(re(n,CL),8)),Pe+oe.a>d&&(Pe=0,We+=h+ye,h=0),Pkn(te,n,Pe,We),t=v.Math.max(t,Pe+oe.a),h=v.Math.max(h,oe.b),Pe+=oe.a+ye;return te}function Pmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;switch(C=new Th,e.a.g){case 3:$=l(re(t.e,(mt(),U2)),15),K=l(re(t.j,U2),15),Z=l(re(t.f,U2),15),n=l(re(t.e,M_),15),r=l(re(t.j,M_),15),i=l(re(t.f,M_),15),h=new yt,Fa(h,$),K.Jc(new ane),Fa(h,Le(K,152)?Ok(l(K,152)):Le(K,131)?l(K,131).a:Le(K,54)?new Rw(K):new n4(K)),Fa(h,Z),a=new yt,Fa(a,n),Fa(a,Le(r,152)?Ok(l(r,152)):Le(r,131)?l(r,131).a:Le(r,54)?new Rw(r):new n4(r)),Fa(a,i),ut(t.f,U2,h),ut(t.f,M_,a),ut(t.f,eLe,t.f),ut(t.e,U2,null),ut(t.e,M_,null),ut(t.j,U2,null),ut(t.j,M_,null);break;case 1:mc(C,t.e.a),zi(C,t.i.n),mc(C,v2(t.j.a)),zi(C,t.a.n),mc(C,t.f.a);break;default:mc(C,t.e.a),mc(C,v2(t.j.a)),mc(C,t.f.a)}Sd(t.f.a),mc(t.f.a,C),ic(t.f,t.e.c),d=l(re(t.e,(Nt(),il)),74),E=l(re(t.j,il),74),b=l(re(t.f,il),74),(d||E||b)&&(P=new Th,s6e(P,b),s6e(P,E),s6e(P,d),ut(t.f,il,P)),ic(t.j,null),So(t.j,null),ic(t.e,null),So(t.e,null),el(t.a,null),el(t.i,null),t.g&&Pmt(e,t.g)}function Z9n(e){X7e();var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(e==null||(a=Wq(e),Z=jmn(a),Z%4!=0))return null;if(te=Z/4|0,te==0)return Ue(Rh,d_,25,0,15,1);for(P=null,t=0,n=0,r=0,i=0,h=0,d=0,b=0,E=0,K=0,$=0,C=0,P=Ue(Rh,d_,25,te*3,15,1);K<te-1;K++){if(!ZD(h=a[C++])||!ZD(d=a[C++])||!ZD(b=a[C++])||!ZD(E=a[C++]))return null;t=G0[h],n=G0[d],r=G0[b],i=G0[E],P[$++]=(t<<2|n>>4)<<24>>24,P[$++]=((n&15)<<4|r>>2&15)<<24>>24,P[$++]=(r<<6|i)<<24>>24}return!ZD(h=a[C++])||!ZD(d=a[C++])?null:(t=G0[h],n=G0[d],b=a[C++],E=a[C++],G0[b]==-1||G0[E]==-1?b==61&&E==61?n&15?null:(oe=Ue(Rh,d_,25,K*3+1,15,1),du(P,0,oe,0,K*3),oe[$]=(t<<2|n>>4)<<24>>24,oe):b!=61&&E==61?(r=G0[b],r&3?null:(oe=Ue(Rh,d_,25,K*3+2,15,1),du(P,0,oe,0,K*3),oe[$++]=(t<<2|n>>4)<<24>>24,oe[$]=((n&15)<<4|r>>2&15)<<24>>24,oe)):null:(r=G0[b],i=G0[E],P[$++]=(t<<2|n>>4)<<24>>24,P[$++]=((n&15)<<4|r>>2&15)<<24>>24,P[$++]=(r<<6|i)<<24>>24,P))}function J9n(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(Zr(t,wbt,1),Z=l(re(e,(Nt(),Qp)),218),i=new M(e.b);i.a<i.c.c.length;)for(r=l(se(i),29),E=qP(r.a),h=E,d=0,b=h.length;d<b;++d)if(a=h[d],a.k==(gr(),Mu)){if(Z==(Vp(),L8))for(P=new M(a.j);P.a<P.c.c.length;)C=l(se(P),11),C.e.c.length==0||bbn(C),C.g.c.length==0||wbn(C);else if(Le(re(a,(mt(),vs)),17))oe=l(re(a,vs),17),ye=l(Rm(a,(Mt(),nr)).Kc().Pb(),11),je=l(Rm(a,fr).Kc().Pb(),11),Pe=l(re(ye,vs),11),We=l(re(je,vs),11),ic(oe,We),So(oe,Pe),at=new Zc(je.i.n),at.a=Ml(pe(de(ao,1),dt,8,0,[We.i.n,We.n,We.a])).a,zi(oe.a,at),at=new Zc(ye.i.n),at.a=Ml(pe(de(ao,1),dt,8,0,[Pe.i.n,Pe.n,Pe.a])).a,zi(oe.a,at);else{if(a.j.c.length>=2){for(te=!0,$=new M(a.j),n=l(se($),11),K=null;$.a<$.c.c.length;)if(K=n,n=l(se($),11),!hs(re(K,vs),re(n,vs))){te=!1;break}}else te=!1;for(P=new M(a.j);P.a<P.c.c.length;)C=l(se(P),11),C.e.c.length==0||G_n(C,te),C.g.c.length==0||W_n(C,te)}el(a,null)}Br(t)}function Nmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on;return Pe=e.c[(Un(0,t.c.length),l(t.c[0],17)).p],Bt=e.c[(Un(1,t.c.length),l(t.c[1],17)).p],Pe.a.e.e-Pe.a.a-(Pe.b.e.e-Pe.b.a)==0&&Bt.a.e.e-Bt.a.a-(Bt.b.e.e-Bt.b.a)==0||(ye=Pe.b.e.f,!Le(ye,10))?!1:(oe=l(ye,10),at=e.i[oe.p],bt=oe.c?vl(oe.c.a,oe,0):-1,a=ma,bt>0&&(i=l(Kt(oe.c.a,bt-1),10),h=e.i[i.p],on=v.Math.ceil(E6(e.n,i,oe)),a=at.a.e-oe.d.d-(h.a.e+i.o.b+i.d.a)-on),E=ma,bt<oe.c.a.c.length-1&&(b=l(Kt(oe.c.a,bt+1),10),C=e.i[b.p],on=v.Math.ceil(E6(e.n,b,oe)),E=C.a.e-b.d.d-(at.a.e+oe.o.b+oe.d.a)-on),n&&(y0(),g1(Eg),v.Math.abs(a-E)<=Eg||a==E||isNaN(a)&&isNaN(E))?!0:(r=Xoe(Pe.a),d=-Xoe(Pe.b),P=-Xoe(Bt.a),je=Xoe(Bt.b),te=Pe.a.e.e-Pe.a.a-(Pe.b.e.e-Pe.b.a)>0&&Bt.a.e.e-Bt.a.a-(Bt.b.e.e-Bt.b.a)<0,Z=Pe.a.e.e-Pe.a.a-(Pe.b.e.e-Pe.b.a)<0&&Bt.a.e.e-Bt.a.a-(Bt.b.e.e-Bt.b.a)>0,K=Pe.a.e.e+Pe.b.a<Bt.b.e.e+Bt.a.a,$=Pe.a.e.e+Pe.b.a>Bt.b.e.e+Bt.a.a,We=0,!te&&!Z&&($?a+P>0?We=P:E-r>0&&(We=r):K&&(a+d>0?We=d:E-je>0&&(We=je))),at.a.e+=We,at.b&&(at.d.e+=We),!1))}function Rmt(e,t,n){var r,i,a,h,d,b,E,C,P,$;if(r=new td(t.qf().a,t.qf().b,t.rf().a,t.rf().b),i=new pk,e.c)for(h=new M(t.wf());h.a<h.c.c.length;)a=l(se(h),181),i.c=a.qf().a+t.qf().a,i.d=a.qf().b+t.qf().b,i.b=a.rf().a,i.a=a.rf().b,AM(r,i);for(E=new M(t.Cf());E.a<E.c.c.length;){if(b=l(se(E),838),C=b.qf().a+t.qf().a,P=b.qf().b+t.qf().b,e.e&&(i.c=C,i.d=P,i.b=b.rf().a,i.a=b.rf().b,AM(r,i)),e.d)for(h=new M(b.wf());h.a<h.c.c.length;)a=l(se(h),181),i.c=a.qf().a+C,i.d=a.qf().b+P,i.b=a.rf().a,i.a=a.rf().b,AM(r,i);if(e.b){if($=new en(-n,-n),l(t.We((Yi(),y5)),174).Hc((Gh(),Tb)))for(h=new M(b.wf());h.a<h.c.c.length;)a=l(se(h),181),$.a+=a.rf().a+n,$.b+=a.rf().b+n;$.a=v.Math.max($.a,0),$.b=v.Math.max($.b,0),ipt(r,b.Bf(),b.zf(),t,b,$,n)}}e.b&&ipt(r,t.Bf(),t.zf(),t,null,null,n),d=new Toe(t.Af()),d.d=v.Math.max(0,t.qf().b-r.d),d.a=v.Math.max(0,r.d+r.a-(t.qf().b+t.rf().b)),d.b=v.Math.max(0,t.qf().a-r.c),d.c=v.Math.max(0,r.c+r.b-(t.qf().a+t.rf().a)),t.Ef(d)}function eTn(){var e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return e[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",e}function tTn(e,t,n){var r,i,a,h,d,b,E,C,P,$;for(b=new yt,P=t.length,h=yxe(n),E=0;E<P;++E){switch(C=_4e(t,mh(61),E),r=Bmn(h,t.substr(E,C-E)),i=yle(r),a=i.Aj().Nh(),$o(t,++C)){case 39:{d=uE(t,39,++C),wt(b,new cV(r,cce(t.substr(C,d-C),a,i))),E=d+1;break}case 34:{d=uE(t,34,++C),wt(b,new cV(r,cce(t.substr(C,d-C),a,i))),E=d+1;break}case 91:{$=new yt,wt(b,new cV(r,$));e:for(;;){switch($o(t,++C)){case 39:{d=uE(t,39,++C),wt($,cce(t.substr(C,d-C),a,i)),C=d+1;break}case 34:{d=uE(t,34,++C),wt($,cce(t.substr(C,d-C),a,i)),C=d+1;break}case 110:{if(++C,t.indexOf("ull",C)==C)$.c[$.c.length]=null;else throw ue(new Tl(A2t));C+=3;break}}if(C<P)switch(yi(C,t.length),t.charCodeAt(C)){case 44:break;case 93:break e;default:throw ue(new Tl("Expecting , or ]"))}else break}E=C+1;break}case 110:{if(++C,t.indexOf("ull",C)==C)wt(b,new cV(r,null));else throw ue(new Tl(A2t));E=C+3;break}}if(E<P){if(yi(E,t.length),t.charCodeAt(E)!=44)throw ue(new Tl("Expecting ,"))}else break}return wxn(e,b,n)}function Bmt(e,t){var n,r,i,a,h,d,b,E,C,P,$;for(E=l(l(_s(e.r,t),21),84),h=t3n(e,t),n=e.u.Hc((Gh(),pI)),b=E.Kc();b.Ob();)if(d=l(b.Pb(),111),!(!d.c||d.c.d.c.length<=0)){switch($=d.b.rf(),C=d.c,P=C.i,P.b=(a=C.n,C.e.a+a.b+a.c),P.a=(i=C.n,C.e.b+i.d+i.a),t.g){case 1:d.a?(P.c=($.a-P.b)/2,q1(C,(Uh(),fb))):h||n?(P.c=-P.b-e.s,q1(C,(Uh(),w1))):(P.c=$.a+e.s,q1(C,(Uh(),Ag))),P.d=-P.a-e.t,hg(C,(hh(),y1));break;case 3:d.a?(P.c=($.a-P.b)/2,q1(C,(Uh(),fb))):h||n?(P.c=-P.b-e.s,q1(C,(Uh(),w1))):(P.c=$.a+e.s,q1(C,(Uh(),Ag))),P.d=$.b+e.t,hg(C,(hh(),J1));break;case 2:d.a?(r=e.v?P.a:l(Kt(C.d,0),181).rf().b,P.d=($.b-r)/2,hg(C,(hh(),db))):h||n?(P.d=-P.a-e.t,hg(C,(hh(),y1))):(P.d=$.b+e.t,hg(C,(hh(),J1))),P.c=$.a+e.s,q1(C,(Uh(),Ag));break;case 4:d.a?(r=e.v?P.a:l(Kt(C.d,0),181).rf().b,P.d=($.b-r)/2,hg(C,(hh(),db))):h||n?(P.d=-P.a-e.t,hg(C,(hh(),y1))):(P.d=$.b+e.t,hg(C,(hh(),J1))),P.c=-P.b-e.s,q1(C,(Uh(),w1))}h=!1}}function ib(e,t){rs();var n,r,i,a,h,d,b,E,C,P,$,K,Z;if(rA(DT)==0){for(P=Ue(_Sn,dt,117,jEt.length,0,1),h=0;h<P.length;h++)P[h]=new If(4);for(r=new eA,a=0;a<pNe.length;a++){if(C=new If(4),a<84?(d=a*2,K=(yi(d,w1e.length),w1e.charCodeAt(d)),$=(yi(d+1,w1e.length),w1e.charCodeAt(d+1)),Tu(C,K,$)):(d=(a-84)*2,Tu(C,mNe[d],mNe[d+1])),b=pNe[a],Tn(b,"Specials")&&Tu(C,65520,65533),Tn(b,fyt)&&(Tu(C,983040,1048573),Tu(C,1048576,1114109)),Jc(DT,b,C),Jc(AI,b,z4(C)),E=r.a.length,0<E?r.a=r.a.substr(0,0):0>E&&(r.a+=jJe(Ue(md,bg,25,-E,15,1))),r.a+="Is",lg(b,mh(32))>=0)for(i=0;i<b.length;i++)yi(i,b.length),b.charCodeAt(i)!=32&&wE(r,(yi(i,b.length),b.charCodeAt(i)));else r.a+=""+b;mke(r.a,b,!0)}mke(b1e,"Cn",!1),mke(jSe,"Cn",!0),n=new If(4),Tu(n,0,W9),Jc(DT,"ALL",n),Jc(AI,"ALL",z4(n)),!A5&&(A5=new si),Jc(A5,b1e,b1e),!A5&&(A5=new si),Jc(A5,jSe,jSe),!A5&&(A5=new si),Jc(A5,"ALL","ALL")}return Z=l(xu(t?DT:AI,e),136),Z}function nTn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;if($=!1,P=!1,x6(l(re(r,(Nt(),ba)),98))){h=!1,d=!1;e:for(Z=new M(r.j);Z.a<Z.c.c.length;)for(K=l(se(Z),11),oe=Hv(M0(pe(de(B0,1),Ht,20,0,[new ho(K),new ni(K)])));Ei(oe);)if(te=l(hi(oe),11),!Zt(Xt(re(te.i,jL)))){if(K.j==(Mt(),Qn)){h=!0;break e}if(K.j==Jr){d=!0;break e}}$=d&&!h,P=h&&!d}if(!$&&!P&&r.b.c.length!=0){for(C=0,E=new M(r.b);E.a<E.c.c.length;)b=l(se(E),70),C+=b.n.b+b.o.b/2;C/=r.b.c.length,je=C>=r.o.b/2}else je=!P;je?(ye=l(re(r,(mt(),_8)),15),ye?$?a=ye:(i=l(re(r,m8),15),i?ye.gc()<=i.gc()?a=ye:a=i:(a=new yt,ut(r,m8,a))):(a=new yt,ut(r,_8,a))):(i=l(re(r,(mt(),m8)),15),i?P?a=i:(ye=l(re(r,_8),15),ye?i.gc()<=ye.gc()?a=i:a=ye:(a=new yt,ut(r,_8,a))):(a=new yt,ut(r,m8,a))),a.Fc(e),ut(e,(mt(),XK),n),t.d==n?(So(t,null),n.e.c.length+n.g.c.length==0&&Cl(n,null),Wpn(n)):(ic(t,null),n.e.c.length+n.g.c.length==0&&Cl(n,null)),Sd(t.a)}function rTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is;for(je=new Ro(e.b,0),C=t.Kc(),Z=0,E=l(C.Pb(),19).a,at=0,n=new Ja,Bt=new Mp;je.b<je.d.gc();){for(ye=(kr(je.b<je.d.gc()),l(je.d.Xb(je.c=je.b++),29)),We=new M(ye.a);We.a<We.c.c.length;){for(Pe=l(se(We),10),K=new Rr(zr($a(Pe).a.Kc(),new J));Ei(K);)P=l(hi(K),17),Bt.a.zc(P,Bt);for($=new Rr(zr(bl(Pe).a.Kc(),new J));Ei($);)P=l(hi($),17),Bt.a.Bc(P)!=null}if(Z+1==E){for(i=new Td(e),u4(je,i),a=new Td(e),u4(je,a),hn=Bt.a.ec().Kc();hn.Ob();)on=l(hn.Pb(),17),n.a._b(on)||(++at,n.a.zc(on,n)),h=new qp(e),ut(h,(Nt(),ba),(Ao(),MT)),el(h,i),Cp(h,(gr(),j0)),te=new fu,Cl(te,h),Ka(te,(Mt(),nr)),rr=new fu,Cl(rr,h),Ka(rr,fr),r=new qp(e),ut(r,ba,MT),el(r,a),Cp(r,j0),oe=new fu,Cl(oe,r),Ka(oe,nr),cr=new fu,Cl(cr,r),Ka(cr,fr),bt=new iy,ic(bt,on.c),So(bt,te),is=new iy,ic(is,rr),So(is,oe),ic(on,cr),d=new W6e(h,r,bt,is,on),ut(h,(mt(),Gy),d),ut(r,Gy,d),Vr=bt.c.i,Vr.k==j0&&(b=l(re(Vr,Gy),305),b.d=d,d.g=b);if(C.Ob())E=l(C.Pb(),19).a;else break}++Z}return St(at)}function iTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te;for(P=0,i=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));i.e!=i.i.gc();)r=l(Ur(i),33),Zt(Xt(nn(r,(Nt(),K2))))||((Je(nn(t,vb))!==Je(($p(),bb))||Je(nn(t,u5))===Je((A2(),OL))||Je(nn(t,u5))===Je((A2(),IL))||Zt(Xt(nn(t,l5)))||Je(nn(t,x8))!==Je((by(),w_)))&&!Zt(Xt(nn(r,K0e)))&&(Uc(r,(mt(),au),St(P)),++P),mmt(e,r,n));for(P=0,E=new Ir((!t.b&&(t.b=new _t(oo,t,12,3)),t.b));E.e!=E.i.gc();)d=l(Ur(E),79),(Je(nn(t,(Nt(),vb)))!==Je(($p(),bb))||Je(nn(t,u5))===Je((A2(),OL))||Je(nn(t,u5))===Je((A2(),IL))||Zt(Xt(nn(t,l5)))||Je(nn(t,x8))!==Je((by(),w_)))&&(Uc(d,(mt(),au),St(P)),++P),Z=tp(d),te=eb(d),C=Zt(Xt(nn(Z,f5))),K=!Zt(Xt(nn(d,K2))),$=C&&Sy(d)&&Zt(Xt(nn(d,G2))),a=ua(Z)==t&&ua(Z)==ua(te),h=(ua(Z)==t&&te==t)^(ua(te)==t&&Z==t),K&&!$&&(h||a)&&xEe(e,d,t,n);if(ua(t))for(b=new Ir(Nrt(ua(t)));b.e!=b.i.gc();)d=l(Ur(b),79),Z=tp(d),Z==t&&Sy(d)&&($=Zt(Xt(nn(Z,(Nt(),f5))))&&Zt(Xt(nn(d,G2))),$&&xEe(e,d,t,n))}function sTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa;for(Zr(n,"MinWidth layering",1),K=t.b,Bt=t.a,Xa=l(re(t,(Nt(),KLe)),19).a,d=l(re(t,YLe),19).a,e.b=ot(Lt(re(t,_1))),e.d=ma,We=new M(Bt);We.a<We.c.c.length;)je=l(se(We),10),je.k==(gr(),za)&&(rr=je.o.b,e.d=v.Math.min(e.d,rr));for(e.d=v.Math.max(1,e.d),on=Bt.c.length,e.c=Ue(ri,Pi,25,on,15,1),e.f=Ue(ri,Pi,25,on,15,1),e.e=Ue(Eo,Gc,25,on,15,1),E=0,e.a=0,at=new M(Bt);at.a<at.c.c.length;)je=l(se(at),10),je.p=E++,e.c[je.p]=Out(bl(je)),e.f[je.p]=Out($a(je)),e.e[je.p]=je.o.b/e.d,e.a+=e.e[je.p];for(e.b/=e.d,e.a/=on,bt=x5n(Bt),fo(Bt,b6e(new Cv(e))),te=ma,Z=as,h=null,is=Xa,Vr=Xa,a=d,i=d,Xa<0&&(is=l(UIe.a.zd(),19).a,Vr=l(UIe.b.zd(),19).a),d<0&&(a=l(qIe.a.zd(),19).a,i=l(qIe.b.zd(),19).a),cr=is;cr<=Vr;cr++)for(r=a;r<=i;r++)hn=Q8n(e,cr,r,Bt,bt),ye=ot(Lt(hn.a)),$=l(hn.b,15),oe=$.gc(),(ye<te||ye==te&&oe<Z)&&(te=ye,Z=oe,h=$);for(P=h.Kc();P.Ob();){for(C=l(P.Pb(),15),b=new Td(t),Pe=C.Kc();Pe.Ob();)je=l(Pe.Pb(),10),el(je,b);K.c[K.c.length]=b}que(K),Bt.c=Ue(xr,Ht,1,0,5,1),Br(n)}function aTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;for(e.b=t,e.a=l(re(t,(Nt(),zLe)),19).a,e.c=l(re(t,qLe),19).a,e.c==0&&(e.c=as),oe=new Ro(t.b,0);oe.b<oe.d.gc();){for(te=(kr(oe.b<oe.d.gc()),l(oe.d.Xb(oe.c=oe.b++),29)),d=new yt,C=-1,We=-1,Pe=new M(te.a);Pe.a<Pe.c.c.length;)je=l(se(Pe),10),Np((MP(),new Rr(zr(zp(je).a.Kc(),new J))))>=e.a&&(r=z8n(e,je),C=v.Math.max(C,r.b),We=v.Math.max(We,r.d),wt(d,new No(je,r)));for(on=new yt,E=0;E<C;++E)f4(on,0,(kr(oe.b>0),oe.a.Xb(oe.c=--oe.b),hn=new Td(e.b),u4(oe,hn),kr(oe.b<oe.d.gc()),oe.d.Xb(oe.c=oe.b++),hn));for(h=new M(d);h.a<h.c.c.length;)if(i=l(se(h),46),K=l(i.b,571).a,!!K)for($=new M(K);$.a<$.c.c.length;)P=l(se($),10),qke(e,P,vK,on);for(n=new yt,b=0;b<We;++b)wt(n,(rr=new Td(e.b),u4(oe,rr),rr));for(a=new M(d);a.a<a.c.c.length;)if(i=l(se(a),46),Bt=l(i.b,571).c,!!Bt)for(bt=new M(Bt);bt.a<bt.c.c.length;)at=l(se(bt),10),qke(e,at,bK,n)}for(ye=new Ro(t.b,0);ye.b<ye.d.gc();)Z=(kr(ye.b<ye.d.gc()),l(ye.d.Xb(ye.c=ye.b++),29)),Z.a.c.length==0&&wf(ye)}function oTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;if(Zr(n,"Spline edge routing",1),t.b.c.length==0){t.f.a=0,Br(n);return}je=ot(Lt(re(t,(Nt(),I_)))),d=ot(Lt(re(t,Y2))),h=ot(Lt(re(t,L_))),ye=l(re(t,ege),336),on=ye==(e9(),KL),Bt=ot(Lt(re(t,$Le))),e.d=t,e.j.c=Ue(xr,Ht,1,0,5,1),e.a.c=Ue(xr,Ht,1,0,5,1),qh(e.k),b=l(Kt(t.b,0),29),C=uV(b.a,(yG(),wB)),Z=l(Kt(t.b,t.b.c.length-1),29),P=uV(Z.a,wB),te=new M(t.b),oe=null,Vr=0;do{for(Pe=te.a<te.c.c.length?l(se(te),29):null,W9n(e,oe,Pe),_8n(e),hn=Mrn(Ogn(lq($s(new jn(null,new zn(e.i,16)),new Kne),new Wne))),cr=0,We=Vr,$=!oe||C&&oe==b,K=!Pe||P&&Pe==Z,hn>0?(E=0,oe&&(E+=d),E+=(hn-1)*h,Pe&&(E+=d),on&&Pe&&(E=v.Math.max(E,H_n(Pe,h,je,Bt))),E<je&&!$&&!K&&(cr=(je-E)/2,E=je),We+=E):!$&&!K&&(We+=je),Pe&&oEe(Pe,We),bt=new M(e.i);bt.a<bt.c.c.length;)at=l(se(bt),128),at.a.c=Vr,at.a.b=We-Vr,at.F=cr,at.p=!oe;Fa(e.a,e.i),Vr=We,Pe&&(Vr+=Pe.c.a),oe=Pe,$=K}while(Pe);for(i=new M(e.j);i.a<i.c.c.length;)r=l(se(i),17),a=rpn(e,r),ut(r,(mt(),M_),a),rr=lxn(e,r),ut(r,U2,rr);t.f.a=Vr,e.d=null,Br(n)}function Fmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(te=e.i!=0,Pe=!1,ye=null,pf(e.e)){if(C=t.gc(),C>0){for($=C<100?null:new Iv(C),E=new nxe(t),Z=E.g,ye=Ue(ri,Pi,25,C,15,1),r=0,We=new hy(C),i=0;i<e.i;++i){d=e.g[i],K=d;e:for(je=0;je<2;++je){for(b=C;--b>=0;)if(K!=null?hs(K,Z[b]):Je(K)===Je(Z[b])){ye.length<=r&&(oe=ye,ye=Ue(ri,Pi,25,2*ye.length,15,1),du(oe,0,ye,0,r)),ye[r++]=i,fi(We,Z[b]);break e}if(K=K,Je(K)===Je(d))break}}if(E=We,Z=We.g,C=r,r>ye.length&&(oe=ye,ye=Ue(ri,Pi,25,r,15,1),du(oe,0,ye,0,r)),r>0){for(Pe=!0,a=0;a<r;++a)K=Z[a],$=mtt(e,l(K,72),$);for(h=r;--h>=0;)qk(e,ye[h]);if(r!=C){for(i=C;--i>=r;)qk(E,i);oe=ye,ye=Ue(ri,Pi,25,r,15,1),du(oe,0,ye,0,r)}t=E}}}else for(t=j2n(e,t),i=e.i;--i>=0;)t.Hc(e.g[i])&&(qk(e,i),Pe=!0);if(Pe){if(ye!=null){for(n=t.gc(),P=n==1?YA(e,4,t.Kc().Pb(),null,ye[0],te):YA(e,6,t,ye,ye[0],te),$=n<100?null:new Iv(n),i=t.Kc();i.Ob();)K=i.Pb(),$=a5e(e,l(K,72),$);$?($.Ei(P),$.Fi()):us(e.e,P)}else{for($=Zan(t.gc()),i=t.Kc();i.Ob();)K=i.Pb(),$=a5e(e,l(K,72),$);$&&$.Fi()}return!0}else return!1}function cTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe;for(n=new uft(t),n.a||Ukn(t),E=Gxn(t),b=new ay,oe=new igt,te=new M(t.a);te.a<te.c.c.length;)for(Z=l(se(te),10),i=new Rr(zr($a(Z).a.Kc(),new J));Ei(i);)r=l(hi(i),17),(r.c.i.k==(gr(),La)||r.d.i.k==La)&&(C=XEn(e,r,E,oe),En(b,oue(C.d),C.a));for(h=new yt,Pe=l(re(n.c,(mt(),a5)),21).Kc();Pe.Ob();){switch(je=l(Pe.Pb(),61),K=oe.c[je.g],$=oe.b[je.g],d=oe.a[je.g],a=null,ye=null,je.g){case 4:a=new td(e.d.a,K,E.b.a-e.d.a,$-K),ye=new td(e.d.a,K,d,$-K),Qw(E,new en(a.c+a.b,a.d)),Qw(E,new en(a.c+a.b,a.d+a.a));break;case 2:a=new td(E.a.a,K,e.c.a-E.a.a,$-K),ye=new td(e.c.a-d,K,d,$-K),Qw(E,new en(a.c,a.d)),Qw(E,new en(a.c,a.d+a.a));break;case 1:a=new td(K,e.d.b,$-K,E.b.b-e.d.b),ye=new td(K,e.d.b,$-K,d),Qw(E,new en(a.c,a.d+a.a)),Qw(E,new en(a.c+a.b,a.d+a.a));break;case 3:a=new td(K,E.a.b,$-K,e.c.b-E.a.b),ye=new td(K,e.c.b-d,$-K,d),Qw(E,new en(a.c,a.d)),Qw(E,new en(a.c+a.b,a.d))}a&&(P=new lYe,P.d=je,P.b=a,P.c=ye,P.a=gq(l(_s(b,oue(je)),21)),h.c[h.c.length]=P)}return Fa(n.b,h),n.d=fmn(pEn(E)),n}function jmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te;if(n.p[t.p]==null){d=!0,n.p[t.p]=0,h=t,te=n.o==(k0(),X2)?Oa:ma;do i=e.b.e[h.p],a=h.c.a.c.length,n.o==X2&&i>0||n.o==H0&&i<a-1?(b=null,E=null,n.o==H0?b=l(Kt(h.c.a,i+1),10):b=l(Kt(h.c.a,i-1),10),E=n.g[b.p],jmt(e,E,n),te=e.e.bg(te,t,h),n.j[t.p]==t&&(n.j[t.p]=n.j[E.p]),n.j[t.p]==n.j[E.p]?(Z=E6(e.d,h,b),n.o==H0?(r=ot(n.p[t.p]),P=ot(n.p[E.p])+ot(n.d[b.p])-b.d.d-Z-h.d.a-h.o.b-ot(n.d[h.p]),d?(d=!1,n.p[t.p]=v.Math.min(P,te)):n.p[t.p]=v.Math.min(r,v.Math.min(P,te))):(r=ot(n.p[t.p]),P=ot(n.p[E.p])+ot(n.d[b.p])+b.o.b+b.d.a+Z+h.d.d-ot(n.d[h.p]),d?(d=!1,n.p[t.p]=v.Math.max(P,te)):n.p[t.p]=v.Math.max(r,v.Math.max(P,te)))):(Z=ot(Lt(re(e.a,(Nt(),e3)))),K=ult(e,n.j[t.p]),C=ult(e,n.j[E.p]),n.o==H0?($=ot(n.p[t.p])+ot(n.d[h.p])+h.o.b+h.d.a+Z-(ot(n.p[E.p])+ot(n.d[b.p])-b.d.d),Kit(K,C,$)):($=ot(n.p[t.p])+ot(n.d[h.p])-h.d.d-ot(n.p[E.p])-ot(n.d[b.p])-b.o.b-b.d.a-Z,Kit(K,C,$)))):te=e.e.bg(te,t,h),h=n.a[h.p];while(h!=t);arn(e.e,t)}}function lTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;for(Pe=t,je=new ay,We=new ay,C=ly(Pe,hSe),r=new Frt(e,n,je,We),W3n(r.a,r.b,r.c,r.d,C),b=(Bt=je.i,Bt||(je.i=new S6(je,je.c))),hn=b.Kc();hn.Ob();)for(on=l(hn.Pb(),202),i=l(_s(je,on),21),te=i.Kc();te.Ob();)if(Z=te.Pb(),at=l(D6(e.d,Z),202),at)d=(!on.e&&(on.e=new $n(aa,on,10,9)),on.e),fi(d,at);else throw h=Pp(Pe,Sg),$=B2t+Z+F2t+h,K=$+U9,ue(new og(K));for(E=(bt=We.i,bt||(We.i=new S6(We,We.c))),cr=E.Kc();cr.Ob();)for(rr=l(cr.Pb(),202),a=l(_s(We,rr),21),ye=a.Kc();ye.Ob();)if(oe=ye.Pb(),at=l(D6(e.d,oe),202),at)P=(!rr.g&&(rr.g=new $n(aa,rr,9,10)),rr.g),fi(P,at);else throw h=Pp(Pe,Sg),$=B2t+oe+F2t+h,K=$+U9,ue(new og(K));!n.b&&(n.b=new $n(Xr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new $n(Xr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new $n(Xr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new $n(Xr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new _t(aa,n,6,6)),n.a).i==1&&(Vr=l(Re((!n.a&&(n.a=new _t(aa,n,6,6)),n.a),0),202),!fue(Vr)&&!due(Vr)&&(oU(Vr,l(Re((!n.b&&(n.b=new $n(Xr,n,4,7)),n.b),0),82)),cU(Vr,l(Re((!n.c&&(n.c=new $n(Xr,n,5,8)),n.c),0),82))))}function uTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;for(Pe=e.a,We=0,at=Pe.length;We<at;++We){for(je=Pe[We],E=as,C=as,Z=new M(je.e);Z.a<Z.c.c.length;)$=l(se(Z),10),h=$.c?vl($.c.a,$,0):-1,h>0?(P=l(Kt($.c.a,h-1),10),on=E6(e.b,$,P),oe=$.n.b-$.d.d-(P.n.b+P.o.b+P.d.a+on)):oe=$.n.b-$.d.d,E=v.Math.min(oe,E),h<$.c.a.c.length-1?(P=l(Kt($.c.a,h+1),10),on=E6(e.b,$,P),ye=P.n.b-P.d.d-($.n.b+$.o.b+$.d.a+on)):ye=2*$.n.b,C=v.Math.min(ye,C);for(b=as,a=!1,i=l(Kt(je.e,0),10),rr=new M(i.j);rr.a<rr.c.c.length;)for(hn=l(se(rr),11),te=i.n.b+hn.n.b+hn.a.b,r=new M(hn.e);r.a<r.c.c.length;)n=l(se(r),17),bt=n.c,t=bt.i.n.b+bt.n.b+bt.a.b-te,v.Math.abs(t)<v.Math.abs(b)&&v.Math.abs(t)<(t<0?E:C)&&(b=t,a=!0);for(d=l(Kt(je.e,je.e.c.length-1),10),Bt=new M(d.j);Bt.a<Bt.c.c.length;)for(bt=l(se(Bt),11),te=d.n.b+bt.n.b+bt.a.b,r=new M(bt.g);r.a<r.c.c.length;)n=l(se(r),17),hn=n.d,t=hn.i.n.b+hn.n.b+hn.a.b-te,v.Math.abs(t)<v.Math.abs(b)&&v.Math.abs(t)<(t<0?E:C)&&(b=t,a=!0);if(a&&b!=0)for(K=new M(je.e);K.a<K.c.c.length;)$=l(se(K),10),$.n.b+=b}}function $mt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(bf(e.a,t)){if(Ap(l(Tr(e.a,t),53),n))return 1}else ds(e.a,t,new Ja);if(bf(e.a,n)){if(Ap(l(Tr(e.a,n),53),t))return-1}else ds(e.a,n,new Ja);if(bf(e.e,t)){if(Ap(l(Tr(e.e,t),53),n))return-1}else ds(e.e,t,new Ja);if(bf(e.e,n)){if(Ap(l(Tr(e.a,n),53),t))return 1}else ds(e.e,n,new Ja);if(e.c==($p(),bge)||!so(t,(mt(),au))||!so(n,(mt(),au))){if(b=l(x4e(Jst(Sle($s(new jn(null,new zn(t.j,16)),new mD)),new $$)),11),C=l(x4e(Jst(Sle($s(new jn(null,new zn(n.j,16)),new Zte)),new Jte)),11),b&&C){if(d=b.i,E=C.i,d&&d==E){for($=new M(d.j);$.a<$.c.c.length;){if(P=l(se($),11),P==b)return _9(e,n,t),-1;if(P==C)return _9(e,t,n),1}return ah(Iue(e,t),Iue(e,n))}for(Z=e.d,te=0,oe=Z.length;te<oe;++te){if(K=Z[te],K==d)return _9(e,n,t),-1;if(K==E)return _9(e,t,n),1}}if(!so(t,(mt(),au))||!so(n,au))return i=Iue(e,t),h=Iue(e,n),i>h?_9(e,t,n):_9(e,n,t),i<h?-1:i>h?1:0}return r=l(re(t,(mt(),au)),19).a,a=l(re(n,au),19).a,r>a?_9(e,t,n):_9(e,n,t),r<a?-1:r>a?1:0}function wEe(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;if(Zt(Xt(nn(t,(Yi(),YY)))))return In(),In(),Lc;if(E=(!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i!=0,P=X4n(t),C=!P.dc(),E||C){if(i=l(nn(t,TT),149),!i)throw ue(new p6("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(je=z3e(i,(v9(),cX)),Uht(t),!E&&C&&!je)return In(),In(),Lc;if(b=new yt,Je(nn(t,R_))===Je((Hp(),Xm))&&(z3e(i,aX)||z3e(i,sX)))for(K=Cgt(e,t),Z=new sa,mc(Z,(!t.a&&(t.a=new _t(fa,t,10,11)),t.a));Z.b!=0;)$=l(Z.b==0?null:(kr(Z.b!=0),sd(Z,Z.a.a)),33),Uht($),ye=Je(nn($,R_))===Je(fI),ye||g2($,cI)&&!n_e(i,nn($,TT))?(d=wEe(e,$,n,r),Fa(b,d),Uc($,R_,fI),qgt($)):mc(Z,(!$.a&&($.a=new _t(fa,$,10,11)),$.a));else for(K=(!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i,h=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));h.e!=h.i.gc();)a=l(Ur(h),33),d=wEe(e,a,n,r),Fa(b,d),qgt(a);for(oe=new M(b);oe.a<oe.c.c.length;)te=l(se(oe),79),Uc(te,YY,(er(),!0));return Tbn(t,i,Eu(r,K)),qkn(b),C&&je?P:(In(),In(),Lc)}else return In(),In(),Lc}function lR(e,t,n,r,i,a,h,d,b){var E,C,P,$,K,Z,te;switch(K=n,C=new qp(b),Cp(C,(gr(),La)),ut(C,(mt(),WMe),h),ut(C,(Nt(),ba),(Ao(),Iu)),te=ot(Lt(e.We(d5))),ut(C,d5,te),P=new fu,Cl(P,C),t!=V0&&t!=Eb||(r>=0?K=$k(d):K=AN($k(d)),e.Ye(vT,K)),E=new Qo,$=!1,e.Xe(Zy)?(I4e(E,l(e.We(Zy),8)),$=!0):Bsn(E,h.a/2,h.b/2),K.g){case 4:ut(C,Yu,(cd(),mb)),ut(C,ZK,(y2(),k_)),C.o.b=h.b,te<0&&(C.o.a=-te),Ka(P,(Mt(),fr)),$||(E.a=h.a),E.a-=h.a;break;case 2:ut(C,Yu,(cd(),c5)),ut(C,ZK,(y2(),lT)),C.o.b=h.b,te<0&&(C.o.a=-te),Ka(P,(Mt(),nr)),$||(E.a=0);break;case 1:ut(C,q2,(Fp(),T_)),C.o.a=h.a,te<0&&(C.o.b=-te),Ka(P,(Mt(),Jr)),$||(E.b=h.b),E.b-=h.b;break;case 3:ut(C,q2,(Fp(),p8)),C.o.a=h.a,te<0&&(C.o.b=-te),Ka(P,(Mt(),Qn)),$||(E.b=0)}if(I4e(P.n,E),ut(C,Zy,E),t==tw||t==gp||t==Iu){if(Z=0,t==tw&&e.Xe(Um))switch(K.g){case 1:case 2:Z=l(e.We(Um),19).a;break;case 3:case 4:Z=-l(e.We(Um),19).a}else switch(K.g){case 4:case 2:Z=a.b,t==gp&&(Z/=i.b);break;case 1:case 3:Z=a.a,t==gp&&(Z/=i.a)}ut(C,Yy,Z)}return ut(C,Vl,K),C}function hTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn;if(n=ot(Lt(re(e.a.j,(Nt(),PLe)))),n<-1||!e.a.i||wk(l(re(e.a.o,ba),98))||Ll(e.a.o,(Mt(),fr)).gc()<2&&Ll(e.a.o,nr).gc()<2)return!0;if(e.a.c.Rf())return!1;for(at=0,We=0,Pe=new yt,b=e.a.e,E=0,C=b.length;E<C;++E){for(d=b[E],$=d,K=0,te=$.length;K<te;++K){if(P=$[K],P.k==(gr(),Mu)){Pe.c[Pe.c.length]=P;continue}for(r=e.b[P.c.p][P.p],P.k==La?(r.b=1,l(re(P,(mt(),vs)),11).j==(Mt(),fr)&&(We+=r.a)):(hn=Ll(P,(Mt(),nr)),hn.dc()||!aoe(hn,new gne)?r.c=1:(i=Ll(P,fr),(i.dc()||!aoe(i,new dne))&&(at+=r.a))),h=new Rr(zr($a(P).a.Kc(),new J));Ei(h);)a=l(hi(h),17),at+=r.c,We+=r.b,on=a.d.i,w_e(e,r,on);for(ye=M0(pe(de(B0,1),Ht,20,0,[Ll(P,(Mt(),Qn)),Ll(P,Jr)])),Bt=new Rr(new d4e(ye.a.length,ye.a));Ei(Bt);)bt=l(hi(Bt),11),je=l(re(bt,(mt(),Wh)),10),je&&(at+=r.c,We+=r.b,w_e(e,r,je))}for(Z=new M(Pe);Z.a<Z.c.c.length;)for(P=l(se(Z),10),r=e.b[P.c.p][P.p],h=new Rr(zr($a(P).a.Kc(),new J));Ei(h);)a=l(hi(h),17),at+=r.c,We+=r.b,on=a.d.i,w_e(e,r,on);Pe.c=Ue(xr,Ht,1,0,5,1)}return t=at+We,oe=t==0?ma:(at-We)/t,oe>=n}function fTn(){t3e();function e(r){var i=this;this.dispatch=function(a){var h=a.data;switch(h.cmd){case"algorithms":var d=lke((In(),new S(new m0(Ab.b))));r.postMessage({id:h.id,data:d});break;case"categories":var b=lke((In(),new S(new m0(Ab.c))));r.postMessage({id:h.id,data:b});break;case"options":var E=lke((In(),new S(new m0(Ab.d))));r.postMessage({id:h.id,data:E});break;case"register":wEn(h.algorithms),r.postMessage({id:h.id});break;case"layout":J8n(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(a){try{i.dispatch(a)}catch(h){r.postMessage({id:a.data.id,error:h})}}}function t(r){var i=this;this.dispatcher=new e({postMessage:function(a){i.onmessage({data:a})}}),this.postMessage=function(a){setTimeout(function(){i.dispatcher.saveDispatch({data:a})},0)}}if(typeof document===xfe&&typeof self!==xfe){var n=new e(self);self.onmessage=n.saveDispatch}else typeof m!==xfe&&m.exports&&(Object.defineProperty(y,"__esModule",{value:!0}),m.exports={default:t,Worker:t})}function dTn(e){e.N||(e.N=!0,e.b=$l(e,0),ha(e.b,0),ha(e.b,1),ha(e.b,2),e.bb=$l(e,1),ha(e.bb,0),ha(e.bb,1),e.fb=$l(e,2),ha(e.fb,3),ha(e.fb,4),Bs(e.fb,5),e.qb=$l(e,3),ha(e.qb,0),Bs(e.qb,1),Bs(e.qb,2),ha(e.qb,3),ha(e.qb,4),Bs(e.qb,5),ha(e.qb,6),e.a=Gi(e,4),e.c=Gi(e,5),e.d=Gi(e,6),e.e=Gi(e,7),e.f=Gi(e,8),e.g=Gi(e,9),e.i=Gi(e,10),e.j=Gi(e,11),e.k=Gi(e,12),e.n=Gi(e,13),e.o=Gi(e,14),e.p=Gi(e,15),e.q=Gi(e,16),e.s=Gi(e,17),e.r=Gi(e,18),e.t=Gi(e,19),e.u=Gi(e,20),e.v=Gi(e,21),e.w=Gi(e,22),e.B=Gi(e,23),e.A=Gi(e,24),e.C=Gi(e,25),e.D=Gi(e,26),e.F=Gi(e,27),e.G=Gi(e,28),e.H=Gi(e,29),e.J=Gi(e,30),e.I=Gi(e,31),e.K=Gi(e,32),e.M=Gi(e,33),e.L=Gi(e,34),e.P=Gi(e,35),e.Q=Gi(e,36),e.R=Gi(e,37),e.S=Gi(e,38),e.T=Gi(e,39),e.U=Gi(e,40),e.V=Gi(e,41),e.X=Gi(e,42),e.W=Gi(e,43),e.Y=Gi(e,44),e.Z=Gi(e,45),e.$=Gi(e,46),e._=Gi(e,47),e.ab=Gi(e,48),e.cb=Gi(e,49),e.db=Gi(e,50),e.eb=Gi(e,51),e.gb=Gi(e,52),e.hb=Gi(e,53),e.ib=Gi(e,54),e.jb=Gi(e,55),e.kb=Gi(e,56),e.lb=Gi(e,57),e.mb=Gi(e,58),e.nb=Gi(e,59),e.ob=Gi(e,60),e.pb=Gi(e,61))}function gTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(je=0,t.f.a==0)for(oe=new M(e);oe.a<oe.c.c.length;)Z=l(se(oe),10),je=v.Math.max(je,Z.n.a+Z.o.a+Z.d.c);else je=t.f.a-t.c.a;for(je-=t.c.a,te=new M(e);te.a<te.c.c.length;){switch(Z=l(se(te),10),UC(Z.n,je-Z.o.a),E5e(Z.f),Ift(Z),(Z.q?Z.q:(In(),In(),lp))._b((Nt(),p5))&&UC(l(re(Z,p5),8),je-Z.o.a),l(re(Z,Lg),248).g){case 1:ut(Z,Lg,(ep(),SB));break;case 2:ut(Z,Lg,(ep(),TB))}for(ye=Z.o,We=new M(Z.j);We.a<We.c.c.length;){for(Pe=l(se(We),11),UC(Pe.n,ye.a-Pe.o.a),UC(Pe.a,Pe.o.a),Ka(Pe,Tlt(Pe.j)),h=l(re(Pe,Um),19),h&&ut(Pe,Um,St(-h.a)),a=new M(Pe.g);a.a<a.c.c.length;){for(i=l(se(a),17),r=$i(i.a,0);r.b!=r.d.c;)n=l(ji(r),8),n.a=je-n.a;if(E=l(re(i,il),74),E)for(b=$i(E,0);b.b!=b.d.c;)d=l(ji(b),8),d.a=je-d.a;for($=new M(i.b);$.a<$.c.c.length;)C=l(se($),70),UC(C.n,je-C.o.a)}for(K=new M(Pe.f);K.a<K.c.c.length;)C=l(se(K),70),UC(C.n,Pe.o.a-C.o.a)}for(Z.k==(gr(),La)&&(ut(Z,(mt(),Vl),Tlt(l(re(Z,Vl),61))),y3n(Z)),P=new M(Z.b);P.a<P.c.c.length;)C=l(se(P),70),Ift(C),UC(C.n,ye.a-C.o.a)}}function pTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(je=0,t.f.b==0)for(oe=new M(e);oe.a<oe.c.c.length;)Z=l(se(oe),10),je=v.Math.max(je,Z.n.b+Z.o.b+Z.d.a);else je=t.f.b-t.c.b;for(je-=t.c.b,te=new M(e);te.a<te.c.c.length;){switch(Z=l(se(te),10),qC(Z.n,je-Z.o.b),T5e(Z.f),Oft(Z),(Z.q?Z.q:(In(),In(),lp))._b((Nt(),p5))&&qC(l(re(Z,p5),8),je-Z.o.b),l(re(Z,Lg),248).g){case 3:ut(Z,Lg,(ep(),VY));break;case 4:ut(Z,Lg,(ep(),UY))}for(ye=Z.o,We=new M(Z.j);We.a<We.c.c.length;){for(Pe=l(se(We),11),qC(Pe.n,ye.b-Pe.o.b),qC(Pe.a,Pe.o.b),Ka(Pe,Slt(Pe.j)),h=l(re(Pe,Um),19),h&&ut(Pe,Um,St(-h.a)),a=new M(Pe.g);a.a<a.c.c.length;){for(i=l(se(a),17),r=$i(i.a,0);r.b!=r.d.c;)n=l(ji(r),8),n.b=je-n.b;if(E=l(re(i,il),74),E)for(b=$i(E,0);b.b!=b.d.c;)d=l(ji(b),8),d.b=je-d.b;for($=new M(i.b);$.a<$.c.c.length;)C=l(se($),70),qC(C.n,je-C.o.b)}for(K=new M(Pe.f);K.a<K.c.c.length;)C=l(se(K),70),qC(C.n,Pe.o.b-C.o.b)}for(Z.k==(gr(),La)&&(ut(Z,(mt(),Vl),Slt(l(re(Z,Vl),61))),zmn(Z)),P=new M(Z.b);P.a<P.c.c.length;)C=l(se(P),70),Oft(C),qC(C.n,ye.b-C.o.b)}}function mTn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K;for(P=!1,E=e+1,C=(Un(e,t.c.length),l(t.c[e],200)),h=C.a,d=null,a=0;a<C.a.c.length;a++)if(i=(Un(a,h.c.length),l(h.c[a],187)),!i.c){if(i.b.c.length==0){Ug(),jN(C,i),--a,P=!0;continue}if(i.k||(d&&eG(d),d=new L6e(d?d.e+d.d+r:0,C.f,r),PN(i,d.e+d.d,C.f),wt(C.d,d),rxe(d,i),i.k=!0),b=null,b=(K=null,a<C.a.c.length-1?K=l(Kt(C.a,a+1),187):E<t.c.length&&(Un(E,t.c.length),l(t.c[E],200)).a.c.length!=0&&(K=l(Kt((Un(E,t.c.length),l(t.c[E],200)).a,0),187)),K),$=!1,b&&($=!hs(b.j,C)),b){if(b.b.c.length==0){jN(C,b);break}else ZP(i,n-i.s),eG(i.q),P=P|_3n(C,i,b,n,r);if(b.b.c.length==0)for(jN((Un(E,t.c.length),l(t.c[E],200)),b),b=null;t.c.length>E&&(Un(E,t.c.length),l(t.c[E],200)).a.c.length==0;)uh(t,(Un(E,t.c.length),t.c[E]));if(!b){--a;continue}if(e8n(t,C,i,b,$,n,E,r)){P=!0;continue}if($){if(o7n(t,C,i,b,n,E,r)){P=!0;continue}else if(Rxe(C,i)){i.c=!0,P=!0;continue}}else if(Rxe(C,i)){i.c=!0,P=!0;continue}if(P)continue}if(Rxe(C,i)){i.c=!0,P=!0,b&&(b.k=!1);continue}else eG(i.q)}return P}function Bhe(e,t,n,r,i,a,h){var d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa;for(te=0,rr=0,E=new M(e.b);E.a<E.c.c.length;)b=l(se(E),157),b.c&&pmt(b.c),te=v.Math.max(te,Mh(b)),rr+=Mh(b)*vf(b);for(oe=rr/e.b.c.length,hn=Own(e.b,oe),rr+=e.b.c.length*hn,te=v.Math.max(te,v.Math.sqrt(rr*h))+n.b,is=n.b,Xa=n.d,K=0,P=n.b+n.c,on=new sa,zi(on,St(0)),bt=new sa,C=new Ro(e.b,0),Z=null,d=new yt;C.b<C.d.gc();)b=(kr(C.b<C.d.gc()),l(C.d.Xb(C.c=C.b++),157)),Vr=Mh(b),$=vf(b),is+Vr>te&&(a&&(s2(bt,K),s2(on,St(C.b-1)),wt(e.d,Z),d.c=Ue(xr,Ht,1,0,5,1)),is=n.b,Xa+=K+t,K=0,P=v.Math.max(P,n.b+n.c+Vr)),d.c[d.c.length]=b,rft(b,is,Xa),P=v.Math.max(P,is+Vr+n.c),K=v.Math.max(K,$),is+=Vr+t,Z=b;if(Fa(e.a,d),wt(e.d,l(Kt(d,d.c.length-1),157)),P=v.Math.max(P,r),cr=Xa+K+n.a,cr<i&&(K+=i-cr,cr=i),a)for(is=n.b,C=new Ro(e.b,0),s2(on,St(e.b.c.length)),Bt=$i(on,0),je=l(ji(Bt),19).a,s2(bt,K),at=$i(bt,0),We=0;C.b<C.d.gc();)C.b==je&&(is=n.b,We=ot(Lt(ji(at))),je=l(ji(Bt),19).a),b=(kr(C.b<C.d.gc()),l(C.d.Xb(C.c=C.b++),157)),Bht(b,We),C.b==je&&(ye=P-is-n.c,Pe=Mh(b),Rht(b,ye),aht(b,(ye-Pe)/2,0)),is+=Mh(b)+t;return new en(P,cr)}function vTn(e){var t,n,r,i,a;switch(t=e.c,a=null,t){case 6:return e.Vl();case 13:return e.Wl();case 23:return e.Nl();case 22:return e.Sl();case 18:return e.Pl();case 8:ts(e),a=(rs(),vNe);break;case 9:return e.vl(!0);case 19:return e.wl();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return a=e.ul(e.a),ts(e),a;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=e.tl(),n<wc?a=(rs(),rs(),new Kg(0,n)):a=Dnt(Zxe(n));break;case 99:return e.Fl();case 67:return e.Al();case 105:return e.Il();case 73:return e.Bl();case 103:return e.Gl();case 88:return e.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.xl();case 80:case 112:if(a=Q8e(e,e.a),!a)throw ue(new bi(Ti((mi(),i1e))));break;default:a=Ztt(e.a)}ts(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw ue(new bi(Ti((mi(),ySe))));a=Ztt(e.a),r=e.a,ts(e),(r&64512)==bR&&e.c==0&&(e.a&64512)==56320&&(i=Ue(md,bg,25,2,15,1),i[0]=r&Aa,i[1]=e.a&Aa,a=Uoe(Dnt(Ad(i,0,i.length)),0),ts(e));break;default:throw ue(new bi(Ti((mi(),ySe))))}return a}function bTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;if(r=new yt,i=as,a=as,h=as,n)for(i=e.f.a,te=new M(t.j);te.a<te.c.c.length;)for(Z=l(se(te),11),b=new M(Z.g);b.a<b.c.c.length;)d=l(se(b),17),d.a.b!=0&&(C=l(doe(d.a),8),C.a<i&&(a=i-C.a,h=as,r.c=Ue(xr,Ht,1,0,5,1),i=C.a),C.a<=i&&(r.c[r.c.length]=d,d.a.b>1&&(h=v.Math.min(h,v.Math.abs(l(Y1(d.a,1),8).b-C.b)))));else for(te=new M(t.j);te.a<te.c.c.length;)for(Z=l(se(te),11),b=new M(Z.e);b.a<b.c.c.length;)d=l(se(b),17),d.a.b!=0&&($=l(SV(d.a),8),$.a>i&&(a=$.a-i,h=as,r.c=Ue(xr,Ht,1,0,5,1),i=$.a),$.a>=i&&(r.c[r.c.length]=d,d.a.b>1&&(h=v.Math.min(h,v.Math.abs(l(Y1(d.a,d.a.b-2),8).b-$.b)))));if(r.c.length!=0&&a>t.o.a/2&&h>t.o.b/2){for(K=new fu,Cl(K,t),Ka(K,(Mt(),Qn)),K.n.a=t.o.a/2,ye=new fu,Cl(ye,t),Ka(ye,Jr),ye.n.a=t.o.a/2,ye.n.b=t.o.b,b=new M(r);b.a<b.c.c.length;)d=l(se(b),17),n?(E=l(Moe(d.a),8),oe=d.a.b==0?E0(d.d):l(doe(d.a),8),oe.b>=E.b?ic(d,ye):ic(d,K)):(E=l(uln(d.a),8),oe=d.a.b==0?E0(d.c):l(SV(d.a),8),oe.b>=E.b?So(d,ye):So(d,K)),P=l(re(d,(Nt(),il)),74),P&&M4(P,E,!0);t.n.a=i-t.o.a/2}}function wTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa,Wf,Kd;if(rr=null,Vr=t,cr=qst(e,$st(n),Vr),sM(cr,Pp(Vr,Sg)),is=l(D6(e.g,Gk(Dp(Vr,Gde))),33),$=Dp(Vr,"sourcePort"),r=null,$&&(r=Gk($)),Xa=l(D6(e.j,r),118),!is)throw d=o9(Vr),Z="An edge must have a source node (edge id: '"+d,te=Z+U9,ue(new og(te));if(Xa&&!dg(x0(Xa),is))throw b=Pp(Vr,Sg),oe="The source port of an edge must be a port of the edge's source node (edge id: '"+b,ye=oe+U9,ue(new og(ye));if(on=(!cr.b&&(cr.b=new $n(Xr,cr,4,7)),cr.b),a=null,Xa?a=Xa:a=is,fi(on,a),Wf=l(D6(e.g,Gk(Dp(Vr,bSe))),33),K=Dp(Vr,"targetPort"),i=null,K&&(i=Gk(K)),Kd=l(D6(e.j,i),118),!Wf)throw P=o9(Vr),je="An edge must have a target node (edge id: '"+P,Pe=je+U9,ue(new og(Pe));if(Kd&&!dg(x0(Kd),Wf))throw E=Pp(Vr,Sg),We="The target port of an edge must be a port of the edge's target node (edge id: '"+E,at=We+U9,ue(new og(at));if(hn=(!cr.c&&(cr.c=new $n(Xr,cr,5,8)),cr.c),h=null,Kd?h=Kd:h=Wf,fi(hn,h),(!cr.b&&(cr.b=new $n(Xr,cr,4,7)),cr.b).i==0||(!cr.c&&(cr.c=new $n(Xr,cr,5,8)),cr.c).i==0)throw C=Pp(Vr,Sg),bt=R2t+C,Bt=bt+U9,ue(new og(Bt));return cG(Vr,cr),l6n(Vr,cr),rr=Tle(e,Vr,cr),rr}function Hmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;return P=x8n(oh(e,(Mt(),q0)),t),Z=q6(oh(e,C1),t),We=q6(oh(e,qf),t),on=tG(oh(e,zd),t),$=tG(oh(e,gd),t),je=q6(oh(e,A1),t),te=q6(oh(e,Yh),t),bt=q6(oh(e,Uf),t),at=q6(oh(e,pd),t),hn=tG(oh(e,Xu),t),ye=q6(oh(e,wh),t),Pe=q6(oh(e,Xh),t),Bt=q6(oh(e,bh),t),rr=tG(oh(e,yh),t),K=tG(oh(e,Nh),t),oe=q6(oh(e,Ou),t),n=R6(pe(de(Eo,1),Gc,25,15,[je.a,on.a,bt.a,rr.a])),r=R6(pe(de(Eo,1),Gc,25,15,[Z.a,P.a,We.a,oe.a])),i=ye.a,a=R6(pe(de(Eo,1),Gc,25,15,[te.a,$.a,at.a,K.a])),E=R6(pe(de(Eo,1),Gc,25,15,[je.b,Z.b,te.b,Pe.b])),b=R6(pe(de(Eo,1),Gc,25,15,[on.b,P.b,$.b,oe.b])),C=hn.b,d=R6(pe(de(Eo,1),Gc,25,15,[bt.b,We.b,at.b,Bt.b])),Am(oh(e,q0),n+i,E+C),Am(oh(e,Ou),n+i,E+C),Am(oh(e,C1),n+i,0),Am(oh(e,qf),n+i,E+C+b),Am(oh(e,zd),0,E+C),Am(oh(e,gd),n+i+r,E+C),Am(oh(e,Yh),n+i+r,0),Am(oh(e,Uf),0,E+C+b),Am(oh(e,pd),n+i+r,E+C+b),Am(oh(e,Xu),0,E),Am(oh(e,wh),n,0),Am(oh(e,bh),0,E+C+b),Am(oh(e,Nh),n+i+r,0),h=new Qo,h.a=R6(pe(de(Eo,1),Gc,25,15,[n+r+i+a,hn.a,Pe.a,Bt.a])),h.b=R6(pe(de(Eo,1),Gc,25,15,[E+b+C+d,ye.b,rr.b,K.b])),h}function yTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(te=new yt,$=new M(e.d.b);$.a<$.c.c.length;)for(P=l(se($),29),Z=new M(P.a);Z.a<Z.c.c.length;){for(K=l(se(Z),10),i=l(Tr(e.f,K),57),b=new Rr(zr($a(K).a.Kc(),new J));Ei(b);)if(h=l(hi(b),17),r=$i(h.a,0),E=!0,C=null,r.b!=r.d.c){for(t=l(ji(r),8),n=null,h.c.j==(Mt(),Qn)&&(oe=new FM(t,new en(t.a,i.d.d),i,h),oe.f.a=!0,oe.a=h.c,te.c[te.c.length]=oe),h.c.j==Jr&&(oe=new FM(t,new en(t.a,i.d.d+i.d.a),i,h),oe.f.d=!0,oe.a=h.c,te.c[te.c.length]=oe);r.b!=r.d.c;)n=l(ji(r),8),P_e(t.b,n.b)||(C=new FM(t,n,null,h),te.c[te.c.length]=C,E&&(E=!1,n.b<i.d.d?C.f.a=!0:n.b>i.d.d+i.d.a?C.f.d=!0:(C.f.d=!0,C.f.a=!0))),r.b!=r.d.c&&(t=n);C&&(a=l(Tr(e.f,h.d.i),57),t.b<a.d.d?C.f.a=!0:t.b>a.d.d+a.d.a?C.f.d=!0:(C.f.d=!0,C.f.a=!0))}for(d=new Rr(zr(bl(K).a.Kc(),new J));Ei(d);)h=l(hi(d),17),h.a.b!=0&&(t=l(SV(h.a),8),h.d.j==(Mt(),Qn)&&(oe=new FM(t,new en(t.a,i.d.d),i,h),oe.f.a=!0,oe.a=h.d,te.c[te.c.length]=oe),h.d.j==Jr&&(oe=new FM(t,new en(t.a,i.d.d+i.d.a),i,h),oe.f.d=!0,oe.a=h.d,te.c[te.c.length]=oe))}return te}function _Tn(e,t,n){var r,i,a,h,d,b,E,C,P;if(Zr(n,"Network simplex node placement",1),e.e=t,e.n=l(re(t,(mt(),A_)),304),F7n(e),byn(e),ya(Al(new jn(null,new zn(e.e.b,16)),new _ne),new OWe(e)),ya($s(Al($s(Al(new jn(null,new zn(e.e.b,16)),new oC),new Ine),new One),new Dne),new IWe(e)),Zt(Xt(re(e.e,(Nt(),HL))))&&(h=Eu(n,1),Zr(h,"Straight Edges Pre-Processing",1),r9n(e),Br(h)),Jbn(e.f),a=l(re(t,qL),19).a*e.f.a.c.length,phe(Kye(Yye(Soe(e.f),a),!1),Eu(n,1)),e.d.a.gc()!=0){for(h=Eu(n,1),Zr(h,"Flexible Where Space Processing",1),d=l(Xw(ZV(ch(new jn(null,new zn(e.f.a,16)),new xne),new pne)),19).a,b=l(Xw(QV(ch(new jn(null,new zn(e.f.a,16)),new kne),new mne)),19).a,E=b-d,C=Yw(new r2,e.f),P=Yw(new r2,e.f),v1(o1(a1(s1(c1(new kd,2e4),E),C),P)),ya($s($s(Woe(e.i),new Ene),new Tne),new Irt(d,C,E,P)),i=e.d.a.ec().Kc();i.Ob();)r=l(i.Pb(),213),r.g=1;phe(Kye(Yye(Soe(e.f),a),!1),Eu(h,1)),Br(h)}Zt(Xt(re(t,HL)))&&(h=Eu(n,1),Zr(h,"Straight Edges Post-Processing",1),c4n(e),Br(h)),HEn(e),e.e=null,e.f=null,e.i=null,e.c=null,qh(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),Br(n)}function xTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(d=new M(e.a.b);d.a<d.c.c.length;)for(a=l(se(d),29),Pe=new M(a.a);Pe.a<Pe.c.c.length;)je=l(se(Pe),10),t.g[je.p]=je,t.a[je.p]=je,t.d[je.p]=0;for(b=e.a.b,t.c==(gg(),Gm)&&(b=Le(b,152)?Ok(l(b,152)):Le(b,131)?l(b,131).a:Le(b,54)?new Rw(b):new n4(b)),h=b.Kc();h.Ob();)for(a=l(h.Pb(),29),K=-1,$=a.a,t.o==(k0(),H0)&&(K=as,$=Le($,152)?Ok(l($,152)):Le($,131)?l($,131).a:Le($,54)?new Rw($):new n4($)),at=$.Kc();at.Ob();)if(We=l(at.Pb(),10),P=null,t.c==Gm?P=l(Kt(e.b.f,We.p),15):P=l(Kt(e.b.b,We.p),15),P.gc()>0)if(r=P.gc(),E=Sa(v.Math.floor((r+1)/2))-1,i=Sa(v.Math.ceil((r+1)/2))-1,t.o==H0)for(C=i;C>=E;C--)t.a[We.p]==We&&(te=l(P.Xb(C),46),Z=l(te.a,10),!Ap(n,te.b)&&K>e.b.e[Z.p]&&(t.a[Z.p]=We,t.g[We.p]=t.g[Z.p],t.a[We.p]=t.g[We.p],t.f[t.g[We.p].p]=(er(),!!(Zt(t.f[t.g[We.p].p])&We.k==(gr(),po))),K=e.b.e[Z.p]));else for(C=E;C<=i;C++)t.a[We.p]==We&&(ye=l(P.Xb(C),46),oe=l(ye.a,10),!Ap(n,ye.b)&&K<e.b.e[oe.p]&&(t.a[oe.p]=We,t.g[We.p]=t.g[oe.p],t.a[We.p]=t.g[We.p],t.f[t.g[We.p].p]=(er(),!!(Zt(t.f[t.g[We.p].p])&We.k==(gr(),po))),K=e.b.e[oe.p]))}function Fu(){Fu=Ee,yXe(),z7t=vo.a,l(Re(rt(vo.a),0),18),$7t=vo.f,l(Re(rt(vo.f),0),18),l(Re(rt(vo.f),1),34),H7t=vo.n,l(Re(rt(vo.n),0),34),l(Re(rt(vo.n),1),34),l(Re(rt(vo.n),2),34),l(Re(rt(vo.n),3),34),PPe=vo.g,l(Re(rt(vo.g),0),18),l(Re(rt(vo.g),1),34),j7t=vo.c,l(Re(rt(vo.c),0),18),l(Re(rt(vo.c),1),18),NPe=vo.i,l(Re(rt(vo.i),0),18),l(Re(rt(vo.i),1),18),l(Re(rt(vo.i),2),18),l(Re(rt(vo.i),3),18),l(Re(rt(vo.i),4),34),RPe=vo.j,l(Re(rt(vo.j),0),18),DPe=vo.d,l(Re(rt(vo.d),0),18),l(Re(rt(vo.d),1),18),l(Re(rt(vo.d),2),18),l(Re(rt(vo.d),3),18),l(Re(rt(vo.d),4),34),l(Re(rt(vo.d),5),34),l(Re(rt(vo.d),6),34),l(Re(rt(vo.d),7),34),F7t=vo.b,l(Re(rt(vo.b),0),34),l(Re(rt(vo.b),1),34),iX=vo.e,l(Re(rt(vo.e),0),34),l(Re(rt(vo.e),1),34),l(Re(rt(vo.e),2),34),l(Re(rt(vo.e),3),34),l(Re(rt(vo.e),4),18),l(Re(rt(vo.e),5),18),l(Re(rt(vo.e),6),18),l(Re(rt(vo.e),7),18),l(Re(rt(vo.e),8),18),l(Re(rt(vo.e),9),18),l(Re(rt(vo.e),10),34),Cb=vo.k,l(Re(rt(vo.k),0),34),l(Re(rt(vo.k),1),34)}function kTn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr;for(hn=new sa,bt=new sa,oe=-1,b=new M(e);b.a<b.c.c.length;){for(h=l(se(b),128),h.s=oe--,C=0,Pe=0,a=new M(h.t);a.a<a.c.c.length;)r=l(se(a),268),Pe+=r.c;for(i=new M(h.i);i.a<i.c.c.length;)r=l(se(i),268),C+=r.c;h.n=C,h.u=Pe,Pe==0?xa(bt,h,bt.c.b,bt.c):C==0&&xa(hn,h,hn.c.b,hn.c)}for(cr=Oq(e),P=e.c.length,te=P+1,ye=P-1,K=new yt;cr.a.gc()!=0;){for(;bt.b!=0;)at=(kr(bt.b!=0),l(sd(bt,bt.a.a),128)),cr.a.Bc(at)!=null,at.s=ye--,m7e(at,hn,bt);for(;hn.b!=0;)Bt=(kr(hn.b!=0),l(sd(hn,hn.a.a),128)),cr.a.Bc(Bt)!=null,Bt.s=te++,m7e(Bt,hn,bt);for(Z=Jo,E=cr.a.ec().Kc();E.Ob();)h=l(E.Pb(),128),je=h.u-h.n,je>=Z&&(je>Z&&(K.c=Ue(xr,Ht,1,0,5,1),Z=je),K.c[K.c.length]=h);K.c.length!=0&&($=l(Kt(K,XU(t,K.c.length)),128),cr.a.Bc($)!=null,$.s=te++,m7e($,hn,bt),K.c=Ue(xr,Ht,1,0,5,1))}for(We=e.c.length+1,d=new M(e);d.a<d.c.c.length;)h=l(se(d),128),h.s<P&&(h.s+=We);for(on=new M(e);on.a<on.c.c.length;)for(Bt=l(se(on),128),n=new Ro(Bt.t,0);n.b<n.d.gc();)r=(kr(n.b<n.d.gc()),l(n.d.Xb(n.c=n.b++),268)),rr=r.b,Bt.s>rr.s&&(wf(n),uh(rr.i,r),r.c>0&&(r.a=rr,wt(rr.t,r),r.b=Bt,wt(Bt.i,r)))}function yEe(e){var t,n,r,i,a;switch(t=e.c,t){case 11:return e.Ml();case 12:return e.Ol();case 14:return e.Ql();case 15:return e.Tl();case 16:return e.Rl();case 17:return e.Ul();case 21:return ts(e),rs(),rs(),MI;case 10:switch(e.a){case 65:return e.yl();case 90:return e.Dl();case 122:return e.Kl();case 98:return e.El();case 66:return e.zl();case 60:return e.Jl();case 62:return e.Hl()}}switch(a=vTn(e),t=e.c,t){case 3:return e.Zl(a);case 4:return e.Xl(a);case 5:return e.Yl(a);case 0:if(e.a==123&&e.d<e.j){if(i=e.d,r=0,n=-1,(t=$o(e.i,i++))>=48&&t<=57){for(r=t-48;i<e.j&&(t=$o(e.i,i++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw ue(new bi(Ti((mi(),ESe))))}else throw ue(new bi(Ti((mi(),uwt))));if(n=r,t==44){if(i>=e.j)throw ue(new bi(Ti((mi(),fwt))));if((t=$o(e.i,i++))>=48&&t<=57){for(n=t-48;i<e.j&&(t=$o(e.i,i++))>=48&&t<=57;)if(n=n*10+t-48,n<0)throw ue(new bi(Ti((mi(),ESe))));if(r>n)throw ue(new bi(Ti((mi(),dwt))))}else n=-1}if(t!=125)throw ue(new bi(Ti((mi(),hwt))));e.sl(i)?(a=(rs(),rs(),new w4(9,a)),e.d=i+1):(a=(rs(),rs(),new w4(3,a)),e.d=i),a.dm(r),a.cm(n),ts(e)}}return a}function zmt(e,t,n,r,i){var a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr;for(te=new Nu(t.b),We=new Nu(t.b),$=new Nu(t.b),on=new Nu(t.b),oe=new Nu(t.b),Bt=$i(t,0);Bt.b!=Bt.d.c;)for(at=l(ji(Bt),11),d=new M(at.g);d.a<d.c.c.length;)if(a=l(se(d),17),a.c.i==a.d.i){if(at.j==a.d.j){on.c[on.c.length]=a;continue}else if(at.j==(Mt(),Qn)&&a.d.j==Jr){oe.c[oe.c.length]=a;continue}}for(b=new M(oe);b.a<b.c.c.length;)a=l(se(b),17),i8n(e,a,n,r,(Mt(),fr));for(h=new M(on);h.a<h.c.c.length;)a=l(se(h),17),hn=new qp(e),Cp(hn,(gr(),Mu)),ut(hn,(Nt(),ba),(Ao(),Iu)),ut(hn,(mt(),vs),a),rr=new fu,ut(rr,vs,a.d),Ka(rr,(Mt(),nr)),Cl(rr,hn),cr=new fu,ut(cr,vs,a.c),Ka(cr,fr),Cl(cr,hn),ut(a.c,Wh,hn),ut(a.d,Wh,hn),ic(a,null),So(a,null),n.c[n.c.length]=hn,ut(hn,QK,St(2));for(bt=$i(t,0);bt.b!=bt.d.c;)at=l(ji(bt),11),E=at.e.c.length>0,ye=at.g.c.length>0,E&&ye?$.c[$.c.length]=at:E?te.c[te.c.length]=at:ye&&(We.c[We.c.length]=at);for(Z=new M(te);Z.a<Z.c.c.length;)K=l(se(Z),11),wt(i,nEe(e,K,null,n));for(Pe=new M(We);Pe.a<Pe.c.c.length;)je=l(se(Pe),11),wt(i,nEe(e,null,je,n));for(P=new M($);P.a<P.c.c.length;)C=l(se(P),11),wt(i,nEe(e,C,C,n))}function Vmt(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr;for(je=new en(ma,ma),t=new en(Oa,Oa),on=new M(e);on.a<on.c.c.length;)Bt=l(se(on),8),je.a=v.Math.min(je.a,Bt.a),je.b=v.Math.min(je.b,Bt.b),t.a=v.Math.max(t.a,Bt.a),t.b=v.Math.max(t.b,Bt.b);for($=new en(t.a-je.a,t.b-je.b),E=new en(je.a-50,je.b-$.a-50),C=new en(je.a-50,t.b+$.a+50),P=new en(t.a+$.b/2+50,je.b+$.b/2),K=new J7e(E,C,P),bt=new Ja,a=new yt,n=new yt,bt.a.zc(K,bt),rr=new M(e);rr.a<rr.c.c.length;){for(hn=l(se(rr),8),a.c=Ue(xr,Ht,1,0,5,1),at=bt.a.ec().Kc();at.Ob();)Pe=l(at.Pb(),308),r=Pe.d,Wv(r,Pe.a),yy(Wv(Pe.d,hn),Wv(Pe.d,Pe.a))<0&&(a.c[a.c.length]=Pe);for(n.c=Ue(xr,Ht,1,0,5,1),We=new M(a);We.a<We.c.c.length;)for(Pe=l(se(We),308),oe=new M(Pe.e);oe.a<oe.c.c.length;){for(Z=l(se(oe),168),h=!0,b=new M(a);b.a<b.c.c.length;)d=l(se(b),308),d!=Pe&&(_u(Z,Kt(d.e,0))||_u(Z,Kt(d.e,1))||_u(Z,Kt(d.e,2)))&&(h=!1);h&&(n.c[n.c.length]=Z)}for(Edt(bt,a),Ho(bt,new Zs),te=new M(n);te.a<te.c.c.length;)Z=l(se(te),168),Ga(bt,new J7e(hn,Z.a,Z.b))}for(ye=new Ja,Ho(bt,new qn(ye)),i=ye.a.ec().Kc();i.Ob();)Z=l(i.Pb(),168),(Gq(K,Z.a)||Gq(K,Z.b))&&i.Qb();return Ho(ye,new Cs),ye}function ETn(e){var t,n,r,i,a;switch(n=l(re(e,(mt(),Lu)),21),t=dV(S4t),i=l(re(e,(Nt(),h5)),334),i==(Hp(),Xm)&&Nf(t,C4t),Zt(Xt(re(e,tge)))?ss(t,(vc(),Mg),(Mc(),u0e)):ss(t,(vc(),Ku),(Mc(),u0e)),re(e,(Fq(),oI))!=null&&Nf(t,A4t),(Zt(Xt(re(e,ULe)))||Zt(Xt(re(e,HLe))))&&Vh(t,(vc(),hl),(Mc(),$Ae)),l(re(e,zf),103).g){case 2:case 3:case 4:Vh(ss(t,(vc(),Mg),(Mc(),zAe)),hl,HAe)}switch(n.Hc((Pc(),WK))&&Vh(ss(ss(t,(vc(),Mg),(Mc(),jAe)),Au,BAe),hl,FAe),Je(re(e,nge))!==Je((Q6(),yY))&&ss(t,(vc(),Ku),(Mc(),rMe)),n.Hc(YK)&&(ss(t,(vc(),Mg),(Mc(),oMe)),ss(t,gb,sMe),ss(t,Ku,aMe)),Je(re(e,rY))!==Je((g9(),DL))&&Je(re(e,Qp))!==Je((Vp(),NB))&&Vh(t,(vc(),hl),(Mc(),QAe)),Zt(Xt(re(e,VLe)))&&ss(t,(vc(),Ku),(Mc(),XAe)),Zt(Xt(re(e,Q0e)))&&ss(t,(vc(),Ku),(Mc(),cMe)),t_n(e)&&(Je(re(e,h5))===Je(Xm)?r=l(re(e,hB),292):r=l(re(e,X0e),292),a=r==(WE(),N0e)?(Mc(),iMe):(Mc(),hMe),ss(t,(vc(),Au),a)),l(re(e,vIe),377).g){case 1:ss(t,(vc(),Au),(Mc(),lMe));break;case 2:Vh(ss(ss(t,(vc(),Ku),(Mc(),DAe)),Au,PAe),hl,NAe)}return Je(re(e,vb))!==Je(($p(),bb))&&ss(t,(vc(),Ku),(Mc(),uMe)),t}function qmt(e){qw(e,new M2($w(Bw(jw(Fw(new dm,Od),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new pre))),It(e,Od,r8,1.3),It(e,Od,kW,zt(POe)),It(e,Od,Ny,HOe),It(e,Od,K4,15),It(e,Od,vW,zt(r8t)),It(e,Od,c_,zt(a8t)),It(e,Od,s8,zt(o8t)),It(e,Od,i8,zt(c8t)),It(e,Od,F9,zt(s8t)),It(e,Od,JM,zt(FOe)),It(e,Od,j9,zt(u8t)),It(e,Od,zTe,zt($Oe)),It(e,Od,VTe,zt(BOe)),It(e,Od,GTe,zt(jOe)),It(e,Od,WTe,zt(zOe)),It(e,Od,Ode,zt(NOe)),It(e,Od,TR,zt(ROe)),It(e,Od,xde,zt(i8t)),It(e,Od,UTe,zt(kB)),It(e,Od,qTe,zt(DOe)),It(e,Od,KTe,zt(VOe))}function Oy(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(n==null)return null;if(e.a!=t.Aj())throw ue(new Jn(V9+t.ne()+jy));if(Le(t,457)){if(oe=Ixn(l(t,671),n),!oe)throw ue(new Jn(qde+n+"' is not a valid enumerator of '"+t.ne()+"'"));return oe}switch(Im((Ih(),Vo),t).cl()){case 2:{n=Su(n,!1);break}case 3:{n=Su(n,!0);break}}if(r=Im(Vo,t).$k(),r)return r.Aj().Nh().Kh(r,n);if($=Im(Vo,t).al(),$){for(oe=new yt,E=Mle(n),C=0,P=E.length;C<P;++C)b=E[C],wt(oe,$.Aj().Nh().Kh($,b));return oe}if(te=Im(Vo,t).bl(),!te.dc()){for(Z=te.Kc();Z.Ob();){K=l(Z.Pb(),148);try{if(oe=K.Aj().Nh().Kh(K,n),oe!=null)return oe}catch(ye){if(ye=ea(ye),!Le(ye,60))throw ue(ye)}}throw ue(new Jn(qde+n+"' does not match any member types of the union datatype '"+t.ne()+"'"))}if(l(t,834).Fj(),i=Lmn(t.Bj()),!i)return null;if(i==kL){h=0;try{h=Bf(n,Jo,as)&Aa}catch(ye){if(ye=ea(ye),Le(ye,127))a=Wq(n),h=a[0];else throw ue(ye)}return vN(h)}if(i==ZW){for(d=0;d<yI.length;++d)try{return IQe(yI[d],n)}catch(ye){if(ye=ea(ye),!Le(ye,32))throw ue(ye)}throw ue(new Jn(qde+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw ue(new Jn(qde+n+"' is invalid. "))}function TTn(e,t){var n,r,i,a,h,d,b,E;if(n=0,h=0,a=t.length,d=null,E=new t4,h<a&&(yi(h,t.length),t.charCodeAt(h)==43)&&(++h,++n,h<a&&(yi(h,t.length),t.charCodeAt(h)==43||(yi(h,t.length),t.charCodeAt(h)==45))))throw ue(new cg(Py+t+'"'));for(;h<a&&(yi(h,t.length),t.charCodeAt(h)!=46)&&(yi(h,t.length),t.charCodeAt(h)!=101)&&(yi(h,t.length),t.charCodeAt(h)!=69);)++h;if(E.a+=""+Mf(t==null?vh:(Xn(t),t),n,h),h<a&&(yi(h,t.length),t.charCodeAt(h)==46)){for(++h,n=h;h<a&&(yi(h,t.length),t.charCodeAt(h)!=101)&&(yi(h,t.length),t.charCodeAt(h)!=69);)++h;e.e=h-n,E.a+=""+Mf(t==null?vh:(Xn(t),t),n,h)}else e.e=0;if(h<a&&(yi(h,t.length),t.charCodeAt(h)==101||(yi(h,t.length),t.charCodeAt(h)==69))&&(++h,n=h,h<a&&(yi(h,t.length),t.charCodeAt(h)==43)&&(++h,h<a&&(yi(h,t.length),t.charCodeAt(h)!=45)&&++n),d=t.substr(n,a-n),e.e=e.e-Bf(d,Jo,as),e.e!=Sa(e.e)))throw ue(new cg("Scale out of range."));if(b=E.a,b.length<16){if(e.f=(dCe==null&&(dCe=new RegExp("^[+-]?\\d*$","i")),dCe.test(b)?parseInt(b,10):NaN),isNaN(e.f))throw ue(new cg(Py+t+'"'));e.a=W8e(e.f)}else Gvn(e,new Fv(b));for(e.d=E.a.length,i=0;i<E.a.length&&(r=$o(E.a,i),!(r!=45&&r!=48));++i)--e.d;e.d==0&&(e.d=1)}function Fhe(){Fhe=Ee,Ms=new ay,En(Ms,(Mt(),q0),Ou),En(Ms,zd,Ou),En(Ms,zd,yh),En(Ms,gd,Nh),En(Ms,gd,Ou),En(Ms,C1,Ou),En(Ms,C1,Xh),En(Ms,qf,bh),En(Ms,qf,Ou),En(Ms,wh,Xu),En(Ms,wh,Ou),En(Ms,wh,Xh),En(Ms,wh,bh),En(Ms,Xu,wh),En(Ms,Xu,yh),En(Ms,Xu,Nh),En(Ms,Xu,Ou),En(Ms,A1,A1),En(Ms,A1,Xh),En(Ms,A1,yh),En(Ms,Yh,Yh),En(Ms,Yh,Xh),En(Ms,Yh,Nh),En(Ms,Uf,Uf),En(Ms,Uf,bh),En(Ms,Uf,yh),En(Ms,pd,pd),En(Ms,pd,bh),En(Ms,pd,Nh),En(Ms,Xh,C1),En(Ms,Xh,wh),En(Ms,Xh,A1),En(Ms,Xh,Yh),En(Ms,Xh,Ou),En(Ms,Xh,Xh),En(Ms,Xh,yh),En(Ms,Xh,Nh),En(Ms,bh,qf),En(Ms,bh,wh),En(Ms,bh,Uf),En(Ms,bh,pd),En(Ms,bh,bh),En(Ms,bh,yh),En(Ms,bh,Nh),En(Ms,bh,Ou),En(Ms,yh,zd),En(Ms,yh,Xu),En(Ms,yh,A1),En(Ms,yh,Uf),En(Ms,yh,Xh),En(Ms,yh,bh),En(Ms,yh,yh),En(Ms,yh,Ou),En(Ms,Nh,gd),En(Ms,Nh,Xu),En(Ms,Nh,Yh),En(Ms,Nh,pd),En(Ms,Nh,Xh),En(Ms,Nh,bh),En(Ms,Nh,Nh),En(Ms,Nh,Ou),En(Ms,Ou,q0),En(Ms,Ou,zd),En(Ms,Ou,gd),En(Ms,Ou,C1),En(Ms,Ou,qf),En(Ms,Ou,wh),En(Ms,Ou,Xu),En(Ms,Ou,Xh),En(Ms,Ou,bh),En(Ms,Ou,yh),En(Ms,Ou,Nh),En(Ms,Ou,Ou)}function _Ee(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on;for(e.d=new en(ma,ma),e.c=new en(Oa,Oa),$=t.Kc();$.Ob();)for(C=l($.Pb(),37),Pe=new M(C.a);Pe.a<Pe.c.c.length;)je=l(se(Pe),10),e.d.a=v.Math.min(e.d.a,je.n.a-je.d.b),e.d.b=v.Math.min(e.d.b,je.n.b-je.d.d),e.c.a=v.Math.max(e.c.a,je.n.a+je.o.a+je.d.c),e.c.b=v.Math.max(e.c.b,je.n.b+je.o.b+je.d.a);for(d=new aYe,P=t.Kc();P.Ob();)C=l(P.Pb(),37),r=cTn(e,C),wt(d.a,r),r.a=r.a|!l(re(r.c,(mt(),a5)),21).dc();for(e.b=(Fle(),on=new l0,on.f=new Kct(n),on.b=mEn(on.f,d),on),EEn((Z=e.b,new Y7,Z)),e.e=new Qo,e.a=e.b.f.e,h=new M(d.a);h.a<h.c.c.length;)for(i=l(se(h),841),We=cfn(e.b,i),ukn(i.c,We.a,We.b),oe=new M(i.c.a);oe.a<oe.c.c.length;)te=l(se(oe),10),te.k==(gr(),La)&&(ye=v7e(e,te.n,l(re(te,(mt(),Vl)),61)),xs(z1(te.n),ye));for(a=new M(d.a);a.a<a.c.c.length;)for(i=l(se(a),841),E=new M($mn(i));E.a<E.c.c.length;)for(b=l(se(E),17),Bt=new Mz(b.a),hE(Bt,0,E0(b.c)),zi(Bt,E0(b.d)),K=null,bt=$i(Bt,0);bt.b!=bt.d.c;){if(at=l(ji(bt),8),!K){K=at;continue}N_e(K.a,at.a)?(e.e.a=v.Math.min(e.e.a,K.a),e.a.a=v.Math.max(e.a.a,K.a)):N_e(K.b,at.b)&&(e.e.b=v.Math.min(e.e.b,K.b),e.a.b=v.Math.max(e.a.b,K.b)),K=at}AV(e.e),xs(e.a,e.e)}function STn(e){di(e.b,Nd,pe(de(jt,1),dt,2,6,[$y,"ConsistentTransient"])),di(e.a,Nd,pe(de(jt,1),dt,2,6,[$y,"WellFormedSourceURI"])),di(e.o,Nd,pe(de(jt,1),dt,2,6,[$y,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),di(e.p,Nd,pe(de(jt,1),dt,2,6,[$y,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),di(e.v,Nd,pe(de(jt,1),dt,2,6,[$y,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),di(e.R,Nd,pe(de(jt,1),dt,2,6,[$y,"WellFormedName"])),di(e.T,Nd,pe(de(jt,1),dt,2,6,[$y,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),di(e.U,Nd,pe(de(jt,1),dt,2,6,[$y,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),di(e.W,Nd,pe(de(jt,1),dt,2,6,[$y,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),di(e.bb,Nd,pe(de(jt,1),dt,2,6,[$y,"ValidDefaultValueLiteral"])),di(e.eb,Nd,pe(de(jt,1),dt,2,6,[$y,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),di(e.H,Nd,pe(de(jt,1),dt,2,6,[$y,"ConsistentType ConsistentBounds ConsistentArguments"]))}function CTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn;if(!t.dc()){if(i=new Th,d=n||l(t.Xb(0),17),Z=d.c,DM(),$=Z.i.k,!($==(gr(),za)||$==Mu||$==La||$==j0))throw ue(new Jn("The target node of the edge must be a normal node or a northSouthPort."));for(s2(i,Ml(pe(de(ao,1),dt,8,0,[Z.i.n,Z.n,Z.a]))),(Mt(),wh).Hc(Z.j)&&(oe=ot(Lt(re(Z,(mt(),gT)))),P=new en(Ml(pe(de(ao,1),dt,8,0,[Z.i.n,Z.n,Z.a])).a,oe),xa(i,P,i.c.b,i.c)),C=null,r=!1,b=t.Kc();b.Ob();)h=l(b.Pb(),17),a=h.a,a.b!=0&&(r?(E=ug(xs(C,(kr(a.b!=0),l(a.a.a.c,8))),.5),xa(i,E,i.c.b,i.c),r=!1):r=!0,C=Fl((kr(a.b!=0),l(a.c.b.c,8))),mc(i,a),Sd(a));te=d.d,wh.Hc(te.j)&&(oe=ot(Lt(re(te,(mt(),gT)))),P=new en(Ml(pe(de(ao,1),dt,8,0,[te.i.n,te.n,te.a])).a,oe),xa(i,P,i.c.b,i.c)),s2(i,Ml(pe(de(ao,1),dt,8,0,[te.i.n,te.n,te.a]))),e.d==(e9(),kge)&&(ye=(kr(i.b!=0),l(i.a.a.c,8)),je=l(Y1(i,1),8),Pe=new kce(Sxe(Z.j)),Pe.a*=5,Pe.b*=5,We=xo(new en(je.a,je.b),ye),at=new en(yce(Pe.a,We.a),yce(Pe.b,We.b)),xs(at,ye),bt=$i(i,1),NP(bt,at),Bt=(kr(i.b!=0),l(i.c.b.c,8)),on=l(Y1(i,i.b-2),8),Pe=new kce(Sxe(te.j)),Pe.a*=5,Pe.b*=5,We=xo(new en(on.a,on.b),Bt),hn=new en(yce(Pe.a,We.a),yce(Pe.b,We.b)),xs(hn,Bt),hE(i,i.b-1,hn)),K=new eEe(i),mc(d.a,gft(K))}}function ATn(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa,Wf,Kd,W0,yX,tF,LI,nF;if(Pe=l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82),at=Pe.Dg(),bt=Pe.Eg(),We=Pe.Cg()/2,te=Pe.Bg()/2,Le(Pe,186)&&(je=l(Pe,118),at+=x0(je).i,at+=x0(je).i),at+=We,bt+=te,cr=l(Re((!e.b&&(e.b=new $n(Xr,e,4,7)),e.b),0),82),is=cr.Dg(),Xa=cr.Eg(),Vr=cr.Cg()/2,Bt=cr.Bg()/2,Le(cr,186)&&(rr=l(cr,118),is+=x0(rr).i,is+=x0(rr).i),is+=Vr,Xa+=Bt,(!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i==0)d=(Hw(),E=new ig,E),fi((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),d);else if((!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i>1)for(Z=new mk((!e.a&&(e.a=new _t(aa,e,6,6)),e.a));Z.e!=Z.i.gc();)SM(Z);for(h=l(Re((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),0),202),oe=is,is>at+We?oe=at+We:is<at-We&&(oe=at-We),ye=Xa,Xa>bt+te?ye=bt+te:Xa<bt-te&&(ye=bt-te),oe>at-We&&oe<at+We&&ye>bt-te&&ye<bt+te&&(oe=at+We),BE(h,oe),jE(h,ye),on=at,at>is+Vr?on=is+Vr:at<is-Vr&&(on=is-Vr),hn=bt,bt>Xa+Bt?hn=Xa+Bt:bt<Xa-Bt&&(hn=Xa-Bt),on>is-Vr&&on<is+Vr&&hn>Xa-Bt&&hn<Xa+Bt&&(hn=Xa+Bt),RE(h,on),FE(h,hn),ei((!h.a&&(h.a=new Ba(Vd,h,5)),h.a)),a=XU(t,5),Pe==cr&&++a,W0=on-oe,LI=hn-ye,Wf=v.Math.sqrt(W0*W0+LI*LI),P=Wf*.20000000298023224,yX=W0/(a+1),nF=LI/(a+1),Kd=oe,tF=ye,C=0;C<a;C++)Kd+=yX,tF+=nF,$=Kd+rf(t,24)*yR*P-P/2,$<0?$=1:$>n&&($=n-1),K=tF+rf(t,24)*yR*P-P/2,K<0?K=1:K>r&&(K=r-1),i=(Hw(),b=new _v,b),nU(i,$),rU(i,K),fi((!h.a&&(h.a=new Ba(Vd,h,5)),h.a),i)}function Nt(){Nt=Ee,sge=(Yi(),o7t),lIe=c7t,dB=ePe,_1=l7t,E8=tPe,Jy=u7t,m5=nPe,wT=rPe,yT=iPe,age=QY,e3=ew,oge=h7t,VL=oPe,gY=M8,fB=(kEe(),i_t),L_=s_t,Y2=a_t,I_=o_t,q_t=new Cc(XY,St(0)),bT=t_t,cIe=n_t,k8=r_t,vIe=M_t,uIe=u_t,hIe=d_t,lge=y_t,fIe=m_t,dIe=b_t,pY=D_t,uge=L_t,pIe=T_t,gIe=k_t,mIe=C_t,Qy=Y6t,zL=X6t,ege=d6t,$Le=p6t,rIe=new Ww(12),nIe=new Cc(J2,rIe),BLe=(Vp(),AT),Qp=new Cc(LDe,BLe),d5=new Cc(cf,0),U_t=new Cc(bpe,St(1)),tY=new Cc(C8,B9),K2=YY,ba=lI,vT=$_,B_t=IB,Lg=Z8t,h5=R_,G_t=new Cc(wpe,(er(),!0)),f5=OB,G2=hpe,W2=Z2,dY=_b,ige=KY,RLe=(Dc(),hp),zf=new Cc(n3,RLe),Xy=F_,hY=jDe,g5=y5,V_t=vpe,aIe=ZDe,sIe=(H6(),FB),new Cc(WDe,sIe),$_t=dpe,H_t=gpe,z_t=ppe,j_t=fpe,cge=l_t,QLe=B6t,nge=R6t,qL=c_t,Yu=M6t,u5=s6t,$L=i6t,l5=U5t,DLe=G5t,X0e=X5t,hB=W5t,Q0e=n6t,ZLe=F6t,JLe=j6t,GLe=k6t,fY=J6t,rge=z6t,tge=b6t,tIe=W6t,jLe=h6t,J0e=f6t,Y0e=GY,eIe=$6t,rY=F5t,LLe=B5t,nY=R5t,VLe=_6t,zLe=y6t,qLe=x6t,pT=j_,il=B_,qm=ODe,Ig=upe,Z0e=lpe,PLe=Z5t,Um=mpe,jL=t7t,cY=n7t,Zy=YDe,iIe=r7t,mT=i7t,KLe=I6t,YLe=D6t,p5=A8,W0e=N5t,XLe=N6t,oY=c6t,aY=o6t,uY=DB,WLe=S6t,HL=q6t,gB=sPe,NLe=a6t,oIe=e_t,FLe=l6t,F_t=A6t,R_t=e6t,ULe=RDe,lY=L6t,sY=t6t,vb=q5t,OLe=z5t,iY=$5t,ILe=H5t,K0e=V5t,x8=j5t,HLe=w6t}function jhe(e,t){The();var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is;if(on=e.e,Z=e.d,i=e.a,on==0)switch(t){case 0:return"0";case 1:return O9;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return bt=new Lv,t<0?bt.a+="0E+":bt.a+="0E",bt.a+=-t,bt.a}if(Pe=Z*10+1+7,We=Ue(md,bg,25,Pe+1,15,1),n=Pe,Z==1)if(d=i[0],d<0){is=Wa(d,Nc);do te=is,is=$N(is,10),We[--n]=48+li(Jv(te,Zo(is,10)))&Aa;while(nu(is,0)!=0)}else{is=d;do te=is,is=is/10|0,We[--n]=48+(te-is*10)&Aa;while(is!=0)}else{rr=Ue(ri,Pi,25,Z,15,1),Vr=Z,du(i,0,rr,0,Vr);e:for(;;){for(Bt=0,E=Vr-1;E>=0;E--)cr=sc(Ip(Bt,32),Wa(rr[E],Nc)),ye=Dyn(cr),rr[E]=li(ye),Bt=li($v(ye,32));je=li(Bt),oe=n;do We[--n]=48+je%10&Aa;while((je=je/10|0)!=0&&n!=0);for(r=9-oe+n,b=0;b<r&&n>0;b++)We[--n]=48;for(P=Vr-1;rr[P]==0;P--)if(P==0)break e;Vr=P+1}for(;We[n]==48;)++n}if(K=on<0,h=Pe-n-t-1,t==0)return K&&(We[--n]=45),Ad(We,n,Pe-n);if(t>0&&h>=-6){if(h>=0){for(C=n+h,$=Pe-1;$>=C;$--)We[$+1]=We[$];return We[++C]=46,K&&(We[--n]=45),Ad(We,n,Pe-n+1)}for(P=2;P<-h+1;P++)We[--n]=48;return We[--n]=46,We[--n]=48,K&&(We[--n]=45),Ad(We,n,Pe-n)}return hn=n+1,a=Pe,at=new t4,K&&(at.a+="-"),a-hn>=1?(zv(at,We[n]),at.a+=".",at.a+=Ad(We,n+1,Pe-n-1)):at.a+=Ad(We,n,Pe-n),at.a+="E",h>0&&(at.a+="+"),at.a+=""+h,at.a}function Umt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;switch(e.c=t,e.g=new si,n=(r4(),new J3(e.c)),r=new Mr(n),rke(r),Pe=wi(nn(e.c,(zN(),JOe))),b=l(nn(e.c,epe),316),at=l(nn(e.c,tpe),429),h=l(nn(e.c,XOe),482),We=l(nn(e.c,Jge),430),e.j=ot(Lt(nn(e.c,x8t))),d=e.a,b.g){case 0:d=e.a;break;case 1:d=e.b;break;case 2:d=e.i;break;case 3:d=e.e;break;case 4:d=e.f;break;default:throw ue(new Jn(EW+(b.f!=null?b.f:""+b.g)))}if(e.d=new pit(d,at,h),ut(e.d,(qE(),SL),Xt(nn(e.c,y8t))),e.d.c=Zt(Xt(nn(e.c,QOe))),dq(e.c).i==0)return e.d;for(P=new Ir(dq(e.c));P.e!=P.i.gc();){for(C=l(Ur(P),33),K=C.g/2,$=C.f/2,bt=new en(C.i+K,C.j+$);bf(e.g,bt);)c4(bt,(v.Math.random()-.5)*_g,(v.Math.random()-.5)*_g);te=l(nn(C,(Yi(),DB)),142),oe=new Oit(bt,new td(bt.a-K-e.j/2-te.b,bt.b-$-e.j/2-te.d,C.g+e.j+(te.b+te.c),C.f+e.j+(te.d+te.a))),wt(e.d.i,oe),ds(e.g,bt,new No(oe,C))}switch(We.g){case 0:if(Pe==null)e.d.d=l(Kt(e.d.i,0),65);else for(je=new M(e.d.i);je.a<je.c.c.length;)oe=l(se(je),65),Z=l(l(Tr(e.g,oe.a),46).b,33).zg(),Z!=null&&Tn(Z,Pe)&&(e.d.d=oe);break;case 1:for(i=new en(e.c.g,e.c.f),i.a*=.5,i.b*=.5,c4(i,e.c.i,e.c.j),a=ma,ye=new M(e.d.i);ye.a<ye.c.c.length;)oe=l(se(ye),65),E=Wv(oe.a,i),E<a&&(a=E,e.d.d=oe);break;default:throw ue(new Jn(EW+(We.f!=null?We.f:""+We.g)))}return e.d}function Gmt(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;for(at=l(Re((!e.a&&(e.a=new _t(aa,e,6,6)),e.a),0),202),C=new Th,We=new si,bt=cpt(at),Gu(We.f,at,bt),$=new si,r=new sa,Z=Hv(M0(pe(de(B0,1),Ht,20,0,[(!t.d&&(t.d=new $n(oo,t,8,5)),t.d),(!t.e&&(t.e=new $n(oo,t,7,4)),t.e)])));Ei(Z);){if(K=l(hi(Z),79),(!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i!=1)throw ue(new Jn(w2t+(!e.a&&(e.a=new _t(aa,e,6,6)),e.a).i));K!=e&&(oe=l(Re((!K.a&&(K.a=new _t(aa,K,6,6)),K.a),0),202),xa(r,oe,r.c.b,r.c),te=l(Bl(cl(We.f,oe)),12),te||(te=cpt(oe),Gu(We.f,oe,te)),P=n?xo(new Zc(l(Kt(bt,bt.c.length-1),8)),l(Kt(te,te.c.length-1),8)):xo(new Zc((Un(0,bt.c.length),l(bt.c[0],8))),(Un(0,te.c.length),l(te.c[0],8))),Gu($.f,oe,P))}if(r.b!=0)for(ye=l(Kt(bt,n?bt.c.length-1:0),8),E=1;E<bt.c.length;E++){for(je=l(Kt(bt,n?bt.c.length-1-E:E),8),i=$i(r,0);i.b!=i.d.c;)oe=l(ji(i),202),te=l(Bl(cl(We.f,oe)),12),te.c.length<=E?Zq(i):(Pe=xs(new Zc(l(Kt(te,n?te.c.length-1-E:E),8)),l(Bl(cl($.f,oe)),8)),(je.a!=Pe.a||je.b!=Pe.b)&&(a=je.a-ye.a,d=je.b-ye.b,h=Pe.a-ye.a,b=Pe.b-ye.b,h*d==b*a&&(a==0||isNaN(a)?a:a<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)&&(d==0||isNaN(d)?d:d<0?-1:1)==(b==0||isNaN(b)?b:b<0?-1:1)?(v.Math.abs(a)<v.Math.abs(h)||v.Math.abs(d)<v.Math.abs(b))&&xa(C,je,C.c.b,C.c):E>1&&xa(C,ye,C.c.b,C.c),Zq(i)));ye=je}return C}function MTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa,Wf,Kd,W0;for(Zr(n,"Greedy cycle removal",1),Pe=t.a,W0=Pe.c.length,e.a=Ue(ri,Pi,25,W0,15,1),e.c=Ue(ri,Pi,25,W0,15,1),e.b=Ue(ri,Pi,25,W0,15,1),E=0,ye=new M(Pe);ye.a<ye.c.c.length;){for(te=l(se(ye),10),te.p=E,hn=new M(te.j);hn.a<hn.c.c.length;){for(bt=l(se(hn),11),d=new M(bt.e);d.a<d.c.c.length;)r=l(se(d),17),r.c.i!=te&&(Vr=l(re(r,(Nt(),bT)),19).a,e.a[E]+=Vr>0?Vr+1:1);for(h=new M(bt.g);h.a<h.c.c.length;)r=l(se(h),17),r.d.i!=te&&(Vr=l(re(r,(Nt(),bT)),19).a,e.c[E]+=Vr>0?Vr+1:1)}e.c[E]==0?zi(e.e,te):e.a[E]==0&&zi(e.f,te),++E}for(Z=-1,K=1,P=new yt,e.d=l(re(t,(mt(),y8)),230);W0>0;){for(;e.e.b!=0;)Xa=l(Moe(e.e),10),e.b[Xa.p]=Z--,V7e(e,Xa),--W0;for(;e.f.b!=0;)Wf=l(Moe(e.f),10),e.b[Wf.p]=K++,V7e(e,Wf),--W0;if(W0>0){for($=Jo,je=new M(Pe);je.a<je.c.c.length;)te=l(se(je),10),e.b[te.p]==0&&(We=e.c[te.p]-e.a[te.p],We>=$&&(We>$&&(P.c=Ue(xr,Ht,1,0,5,1),$=We),P.c[P.c.length]=te));C=e.Zf(P),e.b[C.p]=K++,V7e(e,C),--W0}}for(is=Pe.c.length+1,E=0;E<Pe.c.length;E++)e.b[E]<0&&(e.b[E]+=is);for(oe=new M(Pe);oe.a<oe.c.c.length;)for(te=l(se(oe),10),cr=Tst(te.j),Bt=cr,on=0,rr=Bt.length;on<rr;++on)for(bt=Bt[on],at=pg(bt.g),i=at,a=0,b=i.length;a<b;++a)r=i[a],Kd=r.d.i.p,e.b[te.p]>e.b[Kd]&&(Ly(r,!0),ut(t,aB,(er(),!0)));e.a=null,e.c=null,e.b=null,Sd(e.f),Sd(e.e),Br(n)}function Wmt(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;for(r=new yt,d=new yt,oe=t/2,K=e.gc(),i=l(e.Xb(0),8),ye=l(e.Xb(1),8),Z=Jue(i.a,i.b,ye.a,ye.b,oe),wt(r,(Un(0,Z.c.length),l(Z.c[0],8))),wt(d,(Un(1,Z.c.length),l(Z.c[1],8))),E=2;E<K;E++)te=i,i=ye,ye=l(e.Xb(E),8),Z=Jue(i.a,i.b,te.a,te.b,oe),wt(r,(Un(1,Z.c.length),l(Z.c[1],8))),wt(d,(Un(0,Z.c.length),l(Z.c[0],8))),Z=Jue(i.a,i.b,ye.a,ye.b,oe),wt(r,(Un(0,Z.c.length),l(Z.c[0],8))),wt(d,(Un(1,Z.c.length),l(Z.c[1],8)));for(Z=Jue(ye.a,ye.b,i.a,i.b,oe),wt(r,(Un(1,Z.c.length),l(Z.c[1],8))),wt(d,(Un(0,Z.c.length),l(Z.c[0],8))),n=new Th,h=new yt,zi(n,(Un(0,r.c.length),l(r.c[0],8))),C=1;C<r.c.length-2;C+=2)a=(Un(C,r.c.length),l(r.c[C],8)),$=a1t((Un(C-1,r.c.length),l(r.c[C-1],8)),a,(Un(C+1,r.c.length),l(r.c[C+1],8)),(Un(C+2,r.c.length),l(r.c[C+2],8))),!isFinite($.a)||!isFinite($.b)?xa(n,a,n.c.b,n.c):xa(n,$,n.c.b,n.c);for(zi(n,l(Kt(r,r.c.length-1),8)),wt(h,(Un(0,d.c.length),l(d.c[0],8))),P=1;P<d.c.length-2;P+=2)a=(Un(P,d.c.length),l(d.c[P],8)),$=a1t((Un(P-1,d.c.length),l(d.c[P-1],8)),a,(Un(P+1,d.c.length),l(d.c[P+1],8)),(Un(P+2,d.c.length),l(d.c[P+2],8))),!isFinite($.a)||!isFinite($.b)?h.c[h.c.length]=a:h.c[h.c.length]=$;for(wt(h,l(Kt(d,d.c.length-1),8)),b=h.c.length-1;b>=0;b--)zi(n,(Un(b,h.c.length),l(h.c[b],8)));return n}function LTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K;if(h=!0,P=null,r=null,i=null,t=!1,K=J7t,E=null,a=null,d=0,b=sue(e,d,UPe,GPe),b<e.length&&(yi(b,e.length),e.charCodeAt(b)==58)&&(P=e.substr(d,b-d),d=b+1),n=P!=null&&eP(fX,P.toLowerCase()),n){if(b=e.lastIndexOf("!/"),b==-1)throw ue(new Jn("no archive separator"));h=!0,r=Mf(e,d,++b),d=b}else d>=0&&Tn(e.substr(d,2),"//")?(d+=2,b=sue(e,d,_I,xI),r=e.substr(d,b-d),d=b):P!=null&&(d==e.length||(yi(d,e.length),e.charCodeAt(d)!=47))&&(h=!1,b=_4e(e,mh(35),d),b==-1&&(b=e.length),r=e.substr(d,b-d),d=b);if(!n&&d<e.length&&(yi(d,e.length),e.charCodeAt(d)==47)&&(b=sue(e,d+1,_I,xI),C=e.substr(d+1,b-(d+1)),C.length>0&&$o(C,C.length-1)==58&&(i=C,d=b)),d<e.length&&(yi(d,e.length),e.charCodeAt(d)==47)&&(++d,t=!0),d<e.length&&(yi(d,e.length),e.charCodeAt(d)!=63)&&(yi(d,e.length),e.charCodeAt(d)!=35)){for($=new yt;d<e.length&&(yi(d,e.length),e.charCodeAt(d)!=63)&&(yi(d,e.length),e.charCodeAt(d)!=35);)b=sue(e,d,_I,xI),wt($,e.substr(d,b-d)),d=b,d<e.length&&(yi(d,e.length),e.charCodeAt(d)==47)&&(bmn(e,++d)||($.c[$.c.length]=""));K=Ue(jt,dt,2,$.c.length,6,1),O0($,K)}return d<e.length&&(yi(d,e.length),e.charCodeAt(d)==63)&&(b=uE(e,35,++d),b==-1&&(b=e.length),E=e.substr(d,b-d),d=b),d<e.length&&(a=bP(e,++d)),yEn(h,P,r,i,K,E),new che(h,P,r,i,t,K,E,a)}function ITn(e,t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa,Wf,Kd;for(Xa=new yt,Z=new M(t.b);Z.a<Z.c.c.length;)for($=l(se(Z),29),at=new M($.a);at.a<at.c.c.length;){for(We=l(se(at),10),We.p=-1,P=Jo,on=Jo,rr=new M(We.j);rr.a<rr.c.c.length;){for(hn=l(se(rr),11),i=new M(hn.e);i.a<i.c.c.length;)n=l(se(i),17),cr=l(re(n,(Nt(),k8)),19).a,P=v.Math.max(P,cr);for(r=new M(hn.g);r.a<r.c.c.length;)n=l(se(r),17),cr=l(re(n,(Nt(),k8)),19).a,on=v.Math.max(on,cr)}ut(We,EY,St(P)),ut(We,TY,St(on))}for(ye=0,K=new M(t.b);K.a<K.c.c.length;)for($=l(se(K),29),at=new M($.a);at.a<at.c.c.length;)We=l(se(at),10),We.p<0&&(is=new Mye,is.b=ye++,Lgt(e,We,is),Xa.c[Xa.c.length]=is);for(Bt=Gg(Xa.c.length),C=Gg(Xa.c.length),h=0;h<Xa.c.length;h++)wt(Bt,new yt),wt(C,St(0));for(e9n(t,Xa,Bt,C),Wf=l(O0(Xa,Ue(Mxt,Rbt,257,Xa.c.length,0,1)),840),bt=l(O0(Bt,Ue(fd,W4,15,Bt.c.length,0,1)),192),E=Ue(ri,Pi,25,C.c.length,15,1),d=0;d<E.length;d++)E[d]=(Un(d,C.c.length),l(C.c[d],19)).a;for(je=0,Pe=new yt,b=0;b<Wf.length;b++)E[b]==0&&wt(Pe,Wf[b]);for(oe=Ue(ri,Pi,25,Wf.length,15,1);Pe.c.length!=0;)for(is=l(Sm(Pe,0),257),oe[is.b]=je++;!bt[is.b].dc();)Kd=l(bt[is.b].$c(0),257),--E[Kd.b],E[Kd.b]==0&&(Pe.c[Pe.c.length]=Kd);for(e.a=Ue(Mxt,Rbt,257,Wf.length,0,1),a=0;a<Wf.length;a++)for(te=Wf[a],Vr=oe[a],e.a[Vr]=te,te.b=Vr,at=new M(te.e);at.a<at.c.c.length;)We=l(se(at),10),We.p=Vr;return e.a}function ts(e){var t,n,r;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=$o(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw ue(new bi(Ti((mi(),IW))));e.a=$o(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&$o(e.i,e.d)==91?(++e.d,r=24):r=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&$o(e.i,e.d)==58){++e.d,r=20;break}default:(t&64512)==bR&&e.d<e.j&&(n=$o(e.i,e.d),(n&64512)==56320&&(e.a=wc+(t-bR<<10)+n-56320,++e.d)),r=0}e.c=r;return}switch(t){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,e.d>=e.j||$o(e.i,e.d)!=63)break;if(++e.d>=e.j)throw ue(new bi(Ti((mi(),r1e))));switch(t=$o(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw ue(new bi(Ti((mi(),r1e))));if(t=$o(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw ue(new bi(Ti((mi(),G2t))));break;case 35:for(;e.d<e.j&&(t=$o(e.i,e.d++),t!=41););if(t!=41)throw ue(new bi(Ti((mi(),W2t))));r=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,r=22;break}else if(t==40){r=23;break}throw ue(new bi(Ti((mi(),r1e))))}break;case 92:if(r=10,e.d>=e.j)throw ue(new bi(Ti((mi(),IW))));e.a=$o(e.i,e.d++);break;default:r=0}e.c=r}function OTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;if(Bt=l(re(e,(Nt(),ba)),98),Bt!=(Ao(),V0)&&Bt!=Eb){for(Z=e.b,K=Z.c.length,C=new Nu((Pf(K+2,qhe),Qq(sc(sc(5,K+2),(K+2)/10|0)))),te=new Nu((Pf(K+2,qhe),Qq(sc(sc(5,K+2),(K+2)/10|0)))),wt(C,new si),wt(C,new si),wt(te,new yt),wt(te,new yt),bt=new yt,t=0;t<K;t++)for(n=(Un(t,Z.c.length),l(Z.c[t],29)),on=(Un(t,C.c.length),l(C.c[t],83)),oe=new si,C.c[C.c.length]=oe,rr=(Un(t,te.c.length),l(te.c[t],15)),je=new yt,te.c[te.c.length]=je,i=new M(n.a);i.a<i.c.c.length;){if(r=l(se(i),10),Wxe(r)){bt.c[bt.c.length]=r;continue}for(E=new Rr(zr(bl(r).a.Kc(),new J));Ei(E);)d=l(hi(E),17),cr=d.c.i,Wxe(cr)&&(hn=l(on.xc(re(cr,(mt(),vs))),10),hn||(hn=C1t(e,cr),on.zc(re(cr,vs),hn),rr.Fc(hn)),ic(d,l(Kt(hn.j,1),11)));for(b=new Rr(zr($a(r).a.Kc(),new J));Ei(b);)d=l(hi(b),17),Vr=d.d.i,Wxe(Vr)&&(ye=l(Tr(oe,re(Vr,(mt(),vs))),10),ye||(ye=C1t(e,Vr),ds(oe,re(Vr,vs),ye),je.c[je.c.length]=ye),So(d,l(Kt(ye.j,0),11)))}for(P=0;P<te.c.length;P++)if(Pe=(Un(P,te.c.length),l(te.c[P],15)),!Pe.dc())for($=null,P==0?($=new Td(e),b4(0,Z.c.length),uA(Z.c,0,$)):P==C.c.length-1?($=new Td(e),Z.c[Z.c.length]=$):$=(Un(P-1,Z.c.length),l(Z.c[P-1],29)),h=Pe.Kc();h.Ob();)a=l(h.Pb(),10),el(a,$);for(at=new M(bt);at.a<at.c.c.length;)We=l(se(at),10),el(We,null);ut(e,(mt(),j0e),bt)}}function DTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;if(Zr(n,"Coffman-Graham Layering",1),t.a.c.length==0){Br(n);return}for(at=l(re(t,(Nt(),WLe)),19).a,b=0,h=0,$=new M(t.a);$.a<$.c.c.length;)for(P=l(se($),10),P.p=b++,a=new Rr(zr($a(P).a.Kc(),new J));Ei(a);)i=l(hi(a),17),i.p=h++;for(e.d=Ue(uf,op,25,b,16,1),e.a=Ue(uf,op,25,h,16,1),e.b=Ue(ri,Pi,25,b,15,1),e.e=Ue(ri,Pi,25,b,15,1),e.f=Ue(ri,Pi,25,b,15,1),aU(e.c),Jwn(e,t),Z=new eq(new dz(e)),We=new M(t.a);We.a<We.c.c.length;){for(je=l(se(We),10),a=new Rr(zr(bl(je).a.Kc(),new J));Ei(a);)i=l(hi(a),17),e.a[i.p]||++e.b[je.p];e.b[je.p]==0&&LE(d9(Z,je))}for(d=0;Z.b.c.length!=0;)for(je=l(ile(Z),10),e.f[je.p]=d++,a=new Rr(zr($a(je).a.Kc(),new J));Ei(a);)i=l(hi(a),17),!e.a[i.p]&&(oe=i.d.i,--e.b[oe.p],En(e.c,oe,St(e.f[je.p])),e.b[oe.p]==0&&LE(d9(Z,oe)));for(K=new eq(new Kse(e)),Pe=new M(t.a);Pe.a<Pe.c.c.length;){for(je=l(se(Pe),10),a=new Rr(zr($a(je).a.Kc(),new J));Ei(a);)i=l(hi(a),17),e.a[i.p]||++e.e[je.p];e.e[je.p]==0&&LE(d9(K,je))}for(C=new yt,r=zit(t,C);K.b.c.length!=0;)for(ye=l(ile(K),10),(r.a.c.length>=at||!Jvn(ye,r))&&(r=zit(t,C)),el(ye,r),a=new Rr(zr(bl(ye).a.Kc(),new J));Ei(a);)i=l(hi(a),17),!e.a[i.p]&&(te=i.c.i,--e.e[te.p],e.e[te.p]==0&&LE(d9(K,te)));for(E=C.c.length-1;E>=0;--E)wt(t.b,(Un(E,C.c.length),l(C.c[E],29)));t.a.c=Ue(xr,Ht,1,0,5,1),Br(n)}function Kmt(e){var t,n,r,i,a,h,d,b,E;for(e.b=1,ts(e),t=null,e.c==0&&e.a==94?(ts(e),t=(rs(),rs(),new If(4)),Tu(t,0,W9),d=new If(4)):d=(rs(),rs(),new If(4)),i=!0;(E=e.c)!=1;){if(E==0&&e.a==93&&!i){t&&(VM(t,d),d=t);break}if(n=e.a,r=!1,E==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:V4(d,x9(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(V4(d,x9(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(b=Q8e(e,n),!b)throw ue(new bi(Ti((mi(),i1e))));V4(d,b),r=!0;break;default:n=I7e(e)}else if(E==24&&!i){if(t&&(VM(t,d),d=t),a=Kmt(e),VM(d,a),e.c!=0||e.a!=93)throw ue(new bi(Ti((mi(),nwt))));break}if(ts(e),!r){if(E==0){if(n==91)throw ue(new bi(Ti((mi(),xSe))));if(n==93)throw ue(new bi(Ti((mi(),kSe))));if(n==45&&!i&&e.a!=93)throw ue(new bi(Ti((mi(),s1e))))}if(e.c!=0||e.a!=45||n==45&&i)Tu(d,n,n);else{if(ts(e),(E=e.c)==1)throw ue(new bi(Ti((mi(),OW))));if(E==0&&e.a==93)Tu(d,n,n),Tu(d,45,45);else{if(E==0&&e.a==93||E==24)throw ue(new bi(Ti((mi(),s1e))));if(h=e.a,E==0){if(h==91)throw ue(new bi(Ti((mi(),xSe))));if(h==93)throw ue(new bi(Ti((mi(),kSe))));if(h==45)throw ue(new bi(Ti((mi(),s1e))))}else E==10&&(h=I7e(e));if(ts(e),n>h)throw ue(new bi(Ti((mi(),swt))));Tu(d,n,h)}}}i=!1}if(e.c==1)throw ue(new bi(Ti((mi(),OW))));return Y6(d),HM(d),e.b=0,ts(e),d}function PTn(e){di(e.c,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#decimal"])),di(e.d,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#integer"])),di(e.e,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#boolean"])),di(e.f,Oi,pe(de(jt,1),dt,2,6,[ec,"EBoolean",Ki,"EBoolean:Object"])),di(e.i,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#byte"])),di(e.g,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#hexBinary"])),di(e.j,Oi,pe(de(jt,1),dt,2,6,[ec,"EByte",Ki,"EByte:Object"])),di(e.n,Oi,pe(de(jt,1),dt,2,6,[ec,"EChar",Ki,"EChar:Object"])),di(e.t,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#double"])),di(e.u,Oi,pe(de(jt,1),dt,2,6,[ec,"EDouble",Ki,"EDouble:Object"])),di(e.F,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#float"])),di(e.G,Oi,pe(de(jt,1),dt,2,6,[ec,"EFloat",Ki,"EFloat:Object"])),di(e.I,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#int"])),di(e.J,Oi,pe(de(jt,1),dt,2,6,[ec,"EInt",Ki,"EInt:Object"])),di(e.N,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#long"])),di(e.O,Oi,pe(de(jt,1),dt,2,6,[ec,"ELong",Ki,"ELong:Object"])),di(e.Z,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#short"])),di(e.$,Oi,pe(de(jt,1),dt,2,6,[ec,"EShort",Ki,"EShort:Object"])),di(e._,Oi,pe(de(jt,1),dt,2,6,[ec,"http://www.w3.org/2001/XMLSchema#string"]))}function NTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;if(e.c.length==1)return Un(0,e.c.length),l(e.c[0],135);if(e.c.length<=0)return new Bq;for(b=new M(e);b.a<b.c.c.length;){for(h=l(se(b),135),je=0,Z=as,te=as,$=Jo,K=Jo,ye=$i(h.b,0);ye.b!=ye.d.c;)oe=l(ji(ye),86),je+=l(re(oe,(Ay(),OY)),19).a,Z=v.Math.min(Z,oe.e.a),te=v.Math.min(te,oe.e.b),$=v.Math.max($,oe.e.a+oe.f.a),K=v.Math.max(K,oe.e.b+oe.f.b);ut(h,(Ay(),OY),St(je)),ut(h,(Kl(),eI),new en(Z,te)),ut(h,_B,new en($,K))}for(In(),fo(e,new qne),at=new Bq,ll(at,(Un(0,e.c.length),l(e.c[0],94))),P=0,rr=0,E=new M(e);E.a<E.c.c.length;)h=l(se(E),135),bt=xo(Fl(l(re(h,(Kl(),_B)),8)),l(re(h,eI),8)),P=v.Math.max(P,bt.a),rr+=bt.a*bt.b;for(P=v.Math.max(P,v.Math.sqrt(rr)*ot(Lt(re(at,(Ay(),hkt))))),Bt=ot(Lt(re(at,rOe))),cr=0,Vr=0,C=0,t=Bt,d=new M(e);d.a<d.c.c.length;)h=l(se(d),135),bt=xo(Fl(l(re(h,(Kl(),_B)),8)),l(re(h,eI),8)),cr+bt.a>P&&(cr=0,Vr+=C+Bt,C=0),U6n(at,h,cr,Vr),t=v.Math.max(t,cr+bt.a),C=v.Math.max(C,bt.b),cr+=bt.a+Bt;for(We=new si,n=new si,hn=new M(e);hn.a<hn.c.c.length;)for(on=l(se(hn),135),r=Zt(Xt(re(on,(Yi(),IB)))),Pe=on.q?on.q:lp,a=Pe.vc().Kc();a.Ob();)i=l(a.Pb(),42),bf(We,i.cd())?Je(l(i.cd(),146).wg())!==Je(i.dd())&&(r&&bf(n,i.cd())?(Ug(),""+l(i.cd(),146).tg()):(ds(We,l(i.cd(),146),i.dd()),ut(at,l(i.cd(),146),i.dd()),r&&ds(n,l(i.cd(),146),i.dd()))):(ds(We,l(i.cd(),146),i.dd()),ut(at,l(i.cd(),146),i.dd()));return at}function Ymt(){Ymt=Ee,Fhe(),Ni=new ay,En(Ni,(Mt(),C1),q0),En(Ni,zd,q0),En(Ni,Yh,q0),En(Ni,A1,q0),En(Ni,yh,q0),En(Ni,Xh,q0),En(Ni,A1,C1),En(Ni,q0,gd),En(Ni,C1,gd),En(Ni,zd,gd),En(Ni,Yh,gd),En(Ni,wh,gd),En(Ni,A1,gd),En(Ni,yh,gd),En(Ni,Xh,gd),En(Ni,Xu,gd),En(Ni,q0,qf),En(Ni,C1,qf),En(Ni,gd,qf),En(Ni,zd,qf),En(Ni,Yh,qf),En(Ni,wh,qf),En(Ni,A1,qf),En(Ni,Xu,qf),En(Ni,Uf,qf),En(Ni,yh,qf),En(Ni,Nh,qf),En(Ni,Xh,qf),En(Ni,C1,zd),En(Ni,Yh,zd),En(Ni,A1,zd),En(Ni,Xh,zd),En(Ni,C1,Yh),En(Ni,zd,Yh),En(Ni,A1,Yh),En(Ni,Yh,Yh),En(Ni,yh,Yh),En(Ni,q0,pd),En(Ni,C1,pd),En(Ni,gd,pd),En(Ni,qf,pd),En(Ni,zd,pd),En(Ni,Yh,pd),En(Ni,wh,pd),En(Ni,A1,pd),En(Ni,Uf,pd),En(Ni,Xu,pd),En(Ni,Xh,pd),En(Ni,yh,pd),En(Ni,Ou,pd),En(Ni,q0,Uf),En(Ni,C1,Uf),En(Ni,gd,Uf),En(Ni,zd,Uf),En(Ni,Yh,Uf),En(Ni,wh,Uf),En(Ni,A1,Uf),En(Ni,Xu,Uf),En(Ni,Xh,Uf),En(Ni,Nh,Uf),En(Ni,Ou,Uf),En(Ni,C1,Xu),En(Ni,zd,Xu),En(Ni,Yh,Xu),En(Ni,A1,Xu),En(Ni,Uf,Xu),En(Ni,Xh,Xu),En(Ni,yh,Xu),En(Ni,q0,bh),En(Ni,C1,bh),En(Ni,gd,bh),En(Ni,zd,bh),En(Ni,Yh,bh),En(Ni,wh,bh),En(Ni,A1,bh),En(Ni,Xu,bh),En(Ni,Xh,bh),En(Ni,C1,yh),En(Ni,gd,yh),En(Ni,qf,yh),En(Ni,Yh,yh),En(Ni,q0,Nh),En(Ni,C1,Nh),En(Ni,qf,Nh),En(Ni,zd,Nh),En(Ni,Yh,Nh),En(Ni,wh,Nh),En(Ni,A1,Nh),En(Ni,A1,Ou),En(Ni,Yh,Ou),En(Ni,Xu,q0),En(Ni,Xu,zd),En(Ni,Xu,gd),En(Ni,wh,q0),En(Ni,wh,C1),En(Ni,wh,qf)}function BG(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new Xrt(e.b,e.a,t,e.c);case 1:return new yV(e.a,t,Qs(t.Tg(),e.c));case 43:return new qJe(e.a,t,Qs(t.Tg(),e.c));case 3:return new Ba(e.a,t,Qs(t.Tg(),e.c));case 45:return new Sh(e.a,t,Qs(t.Tg(),e.c));case 41:return new yf(l(Md(e.c),26),e.a,t,Qs(t.Tg(),e.c));case 50:return new Yct(l(Md(e.c),26),e.a,t,Qs(t.Tg(),e.c));case 5:return new J4e(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 47:return new rtt(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 7:return new _t(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 49:return new bk(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 9:return new GJe(e.a,t,Qs(t.Tg(),e.c));case 11:return new UJe(e.a,t,Qs(t.Tg(),e.c));case 13:return new h4e(e.a,t,Qs(t.Tg(),e.c));case 15:return new RV(e.a,t,Qs(t.Tg(),e.c));case 17:return new WJe(e.a,t,Qs(t.Tg(),e.c));case 19:return new T6(e.a,t,Qs(t.Tg(),e.c));case 21:return new u4e(e.a,t,Qs(t.Tg(),e.c));case 23:return new OP(e.a,t,Qs(t.Tg(),e.c));case 25:return new att(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 27:return new $n(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 29:return new stt(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 31:return new itt(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 33:return new t5e(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 35:return new e5e(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 37:return new woe(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 39:return new tq(e.a,t,Qs(t.Tg(),e.c),e.d.n);case 40:return new pa(t,Qs(t.Tg(),e.c));default:throw ue(new Tl("Unknown feature style: "+e.e))}}function RTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt;switch(Zr(n,"Brandes & Koepf node placement",1),e.a=t,e.c=M8n(t),r=l(re(t,(Nt(),rge)),274),K=Zt(Xt(re(t,HL))),e.d=r==(HN(),GK)&&!K||r==D0e,gEn(e,t),at=null,bt=null,ye=null,je=null,oe=(Pf(4,U4),new Nu(4)),l(re(t,rge),274).g){case 3:ye=new e_(t,e.c.d,(k0(),X2),(gg(),Gm)),oe.c[oe.c.length]=ye;break;case 1:je=new e_(t,e.c.d,(k0(),H0),(gg(),Gm)),oe.c[oe.c.length]=je;break;case 4:at=new e_(t,e.c.d,(k0(),X2),(gg(),t3)),oe.c[oe.c.length]=at;break;case 2:bt=new e_(t,e.c.d,(k0(),H0),(gg(),t3)),oe.c[oe.c.length]=bt;break;default:ye=new e_(t,e.c.d,(k0(),X2),(gg(),Gm)),je=new e_(t,e.c.d,H0,Gm),at=new e_(t,e.c.d,X2,t3),bt=new e_(t,e.c.d,H0,t3),oe.c[oe.c.length]=at,oe.c[oe.c.length]=bt,oe.c[oe.c.length]=ye,oe.c[oe.c.length]=je}for(i=new lZe(t,e.c),d=new M(oe);d.a<d.c.c.length;)a=l(se(d),180),xTn(i,a,e.b),s7n(a);for($=new qft(t,e.c),b=new M(oe);b.a<b.c.c.length;)a=l(se(b),180),b9n($,a);if(n.n)for(E=new M(oe);E.a<E.c.c.length;)a=l(se(E),180),a2(n,a+" size is "+ehe(a));if(P=null,e.d&&(C=K9n(e,oe,e.c.d),Lpt(t,C,n)&&(P=C)),!P)for(E=new M(oe);E.a<E.c.c.length;)a=l(se(E),180),Lpt(t,a,n)&&(!P||ehe(P)>ehe(a))&&(P=a);for(!P&&(P=(Un(0,oe.c.length),l(oe.c[0],180))),te=new M(t.b);te.a<te.c.c.length;)for(Z=l(se(te),29),We=new M(Z.a);We.a<We.c.c.length;)Pe=l(se(We),10),Pe.n.b=ot(P.p[Pe.p])+ot(P.d[Pe.p]);for(n.n&&(a2(n,"Chosen node placement: "+P),a2(n,"Blocks: "+X1t(P)),a2(n,"Classes: "+X5n(P,n)),a2(n,"Marked edges: "+e.b)),h=new M(oe);h.a<h.c.c.length;)a=l(se(h),180),a.g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Cgn(e.c),e.b.a.$b(),Br(n)}function BTn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr;for(h=new sa,at=l(re(n,(Nt(),zf)),103),Z=0,mc(h,(!t.a&&(t.a=new _t(fa,t,10,11)),t.a));h.b!=0;)E=l(h.b==0?null:(kr(h.b!=0),sd(h,h.a.a)),33),(Je(nn(t,vb))!==Je(($p(),bb))||Je(nn(t,u5))===Je((A2(),OL))||Je(nn(t,u5))===Je((A2(),IL))||Zt(Xt(nn(t,l5)))||Je(nn(t,x8))!==Je((by(),w_)))&&!Zt(Xt(nn(E,K0e)))&&Uc(E,(mt(),au),St(Z++)),oe=!Zt(Xt(nn(E,K2))),oe&&(P=(!E.a&&(E.a=new _t(fa,E,10,11)),E.a).i!=0,K=$yn(E),$=Je(nn(E,h5))===Je((Hp(),Xm)),cr=!g2(E,(Yi(),cI))||Tn(wi(nn(E,cI)),mr),Pe=null,cr&&$&&(P||K)&&(Pe=vpt(E),ut(Pe,zf,at),so(Pe,fB)&&GYe(new ske(ot(Lt(re(Pe,fB)))),Pe),l(nn(E,W2),174).gc()!=0&&(C=Pe,ya(new jn(null,(!E.c&&(E.c=new _t(lf,E,9,9)),new zn(E.c,16))),new ci(C)),lgt(E,Pe))),bt=n,Bt=l(Tr(e.a,ua(E)),10),Bt&&(bt=Bt.e),je=mmt(e,E,bt),Pe&&(je.e=Pe,Pe.e=je,mc(h,(!E.a&&(E.a=new _t(fa,E,10,11)),E.a))));for(Z=0,xa(h,t,h.c.b,h.c);h.b!=0;){for(a=l(h.b==0?null:(kr(h.b!=0),sd(h,h.a.a)),33),b=new Ir((!a.b&&(a.b=new _t(oo,a,12,3)),a.b));b.e!=b.i.gc();)d=l(Ur(b),79),Ngt(d),(Je(nn(t,vb))!==Je(($p(),bb))||Je(nn(t,u5))===Je((A2(),OL))||Je(nn(t,u5))===Je((A2(),IL))||Zt(Xt(nn(t,l5)))||Je(nn(t,x8))!==Je((by(),w_)))&&Uc(d,(mt(),au),St(Z++)),hn=ul(l(Re((!d.b&&(d.b=new $n(Xr,d,4,7)),d.b),0),82)),rr=ul(l(Re((!d.c&&(d.c=new $n(Xr,d,5,8)),d.c),0),82)),!(Zt(Xt(nn(d,K2)))||Zt(Xt(nn(hn,K2)))||Zt(Xt(nn(rr,K2))))&&(te=Sy(d)&&Zt(Xt(nn(hn,f5)))&&Zt(Xt(nn(d,G2))),We=a,te||E4(rr,hn)?We=hn:E4(hn,rr)&&(We=rr),bt=n,Bt=l(Tr(e.a,We),10),Bt&&(bt=Bt.e),ye=xEe(e,d,We,bt),ut(ye,(mt(),UMe),oxn(e,d,t,n)));if($=Je(nn(a,h5))===Je((Hp(),Xm)),$)for(i=new Ir((!a.a&&(a.a=new _t(fa,a,10,11)),a.a));i.e!=i.i.gc();)r=l(Ur(i),33),cr=!g2(r,(Yi(),cI))||Tn(wi(nn(r,cI)),mr),on=Je(nn(r,h5))===Je(Xm),cr&&on&&xa(h,r,h.c.b,h.c)}}function FTn(e,t,n,r,i,a){var h,d,b,E,C,P,$,K,Z,te,oe,ye;switch(t){case 71:d=r.q.getFullYear()-ab>=-1900?1:0,n>=4?Mi(e,pe(de(jt,1),dt,2,6,[hvt,fvt])[d]):Mi(e,pe(de(jt,1),dt,2,6,["BC","AD"])[d]);break;case 121:Mbn(e,n,r);break;case 77:Dkn(e,n,r);break;case 107:b=i.q.getHours(),b==0?Jg(e,24,n):Jg(e,b,n);break;case 83:e_n(e,n,i);break;case 69:C=r.q.getDay(),n==5?Mi(e,pe(de(jt,1),dt,2,6,["S","M","T","W","T","F","S"])[C]):n==4?Mi(e,pe(de(jt,1),dt,2,6,[ife,sfe,afe,ofe,cfe,lfe,ufe])[C]):Mi(e,pe(de(jt,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[C]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Mi(e,pe(de(jt,1),dt,2,6,["AM","PM"])[1]):Mi(e,pe(de(jt,1),dt,2,6,["AM","PM"])[0]);break;case 104:P=i.q.getHours()%12,P==0?Jg(e,12,n):Jg(e,P,n);break;case 75:$=i.q.getHours()%12,Jg(e,$,n);break;case 72:K=i.q.getHours(),Jg(e,K,n);break;case 99:Z=r.q.getDay(),n==5?Mi(e,pe(de(jt,1),dt,2,6,["S","M","T","W","T","F","S"])[Z]):n==4?Mi(e,pe(de(jt,1),dt,2,6,[ife,sfe,afe,ofe,cfe,lfe,ufe])[Z]):n==3?Mi(e,pe(de(jt,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[Z]):Jg(e,Z,1);break;case 76:te=r.q.getMonth(),n==5?Mi(e,pe(de(jt,1),dt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[te]):n==4?Mi(e,pe(de(jt,1),dt,2,6,[Whe,Khe,Yhe,Xhe,Qk,Qhe,Zhe,Jhe,efe,tfe,nfe,rfe])[te]):n==3?Mi(e,pe(de(jt,1),dt,2,6,["Jan","Feb","Mar","Apr",Qk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[te]):Jg(e,te+1,n);break;case 81:oe=r.q.getMonth()/3|0,n<4?Mi(e,pe(de(jt,1),dt,2,6,["Q1","Q2","Q3","Q4"])[oe]):Mi(e,pe(de(jt,1),dt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[oe]);break;case 100:ye=r.q.getDate(),Jg(e,ye,n);break;case 109:E=i.q.getMinutes(),Jg(e,E,n);break;case 115:h=i.q.getSeconds(),Jg(e,h,n);break;case 122:n<4?Mi(e,a.c[0]):Mi(e,a.c[1]);break;case 118:Mi(e,a.b);break;case 90:n<3?Mi(e,V4n(a)):n==3?Mi(e,G4n(a)):Mi(e,W4n(a.a));break;default:return!1}return!0}function xEe(e,t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is;if(Ngt(t),b=l(Re((!t.b&&(t.b=new $n(Xr,t,4,7)),t.b),0),82),C=l(Re((!t.c&&(t.c=new $n(Xr,t,5,8)),t.c),0),82),d=ul(b),E=ul(C),h=(!t.a&&(t.a=new _t(aa,t,6,6)),t.a).i==0?null:l(Re((!t.a&&(t.a=new _t(aa,t,6,6)),t.a),0),202),Bt=l(Tr(e.a,d),10),cr=l(Tr(e.a,E),10),on=null,Vr=null,Le(b,186)&&(bt=l(Tr(e.a,b),299),Le(bt,11)?on=l(bt,11):Le(bt,10)&&(Bt=l(bt,10),on=l(Kt(Bt.j,0),11))),Le(C,186)&&(rr=l(Tr(e.a,C),299),Le(rr,11)?Vr=l(rr,11):Le(rr,10)&&(cr=l(rr,10),Vr=l(Kt(cr.j,0),11))),!Bt||!cr)throw ue(new JC("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(te=new iy,ll(te,t),ut(te,(mt(),vs),t),ut(te,(Nt(),il),null),K=l(re(r,Lu),21),Bt==cr&&K.Fc((Pc(),NL)),on||(at=(Oc(),Hu),hn=null,h&&x6(l(re(Bt,ba),98))&&(hn=new en(h.j,h.k),Ust(hn,zP(t)),_at(hn,n),E4(E,d)&&(at=Kh,xs(hn,Bt.n))),on=Dpt(Bt,hn,at,r)),Vr||(at=(Oc(),Kh),is=null,h&&x6(l(re(cr,ba),98))&&(is=new en(h.b,h.c),Ust(is,zP(t)),_at(is,n)),Vr=Dpt(cr,is,at,cc(cr))),ic(te,on),So(te,Vr),(on.e.c.length>1||on.g.c.length>1||Vr.e.c.length>1||Vr.g.c.length>1)&&K.Fc((Pc(),PL)),$=new Ir((!t.n&&(t.n=new _t(_l,t,1,7)),t.n));$.e!=$.i.gc();)if(P=l(Ur($),137),!Zt(Xt(nn(P,K2)))&&P.a)switch(oe=$le(P),wt(te.b,oe),l(re(oe,Ig),272).g){case 1:case 2:K.Fc((Pc(),hT));break;case 0:K.Fc((Pc(),uT)),ut(oe,Ig,(A0(),ST))}if(a=l(re(r,$L),314),ye=l(re(r,fY),315),i=a==(Rk(),rB)||ye==(kM(),mge),h&&(!h.a&&(h.a=new Ba(Vd,h,5)),h.a).i!=0&&i){for(je=qN(h),Z=new Th,We=$i(je,0);We.b!=We.d.c;)Pe=l(ji(We),8),zi(Z,new Zc(Pe));ut(te,YMe,Z)}return te}function jTn(e){e.gb||(e.gb=!0,e.b=$l(e,0),ha(e.b,18),Bs(e.b,19),e.a=$l(e,1),ha(e.a,1),Bs(e.a,2),Bs(e.a,3),Bs(e.a,4),Bs(e.a,5),e.o=$l(e,2),ha(e.o,8),ha(e.o,9),Bs(e.o,10),Bs(e.o,11),Bs(e.o,12),Bs(e.o,13),Bs(e.o,14),Bs(e.o,15),Bs(e.o,16),Bs(e.o,17),Bs(e.o,18),Bs(e.o,19),Bs(e.o,20),Bs(e.o,21),Bs(e.o,22),Bs(e.o,23),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),nl(e.o),e.p=$l(e,3),ha(e.p,2),ha(e.p,3),ha(e.p,4),ha(e.p,5),Bs(e.p,6),Bs(e.p,7),nl(e.p),nl(e.p),e.q=$l(e,4),ha(e.q,8),e.v=$l(e,5),Bs(e.v,9),nl(e.v),nl(e.v),nl(e.v),e.w=$l(e,6),ha(e.w,2),ha(e.w,3),ha(e.w,4),Bs(e.w,5),e.B=$l(e,7),Bs(e.B,1),nl(e.B),nl(e.B),nl(e.B),e.Q=$l(e,8),Bs(e.Q,0),nl(e.Q),e.R=$l(e,9),ha(e.R,1),e.S=$l(e,10),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),nl(e.S),e.T=$l(e,11),Bs(e.T,10),Bs(e.T,11),Bs(e.T,12),Bs(e.T,13),Bs(e.T,14),nl(e.T),nl(e.T),e.U=$l(e,12),ha(e.U,2),ha(e.U,3),Bs(e.U,4),Bs(e.U,5),Bs(e.U,6),Bs(e.U,7),nl(e.U),e.V=$l(e,13),Bs(e.V,10),e.W=$l(e,14),ha(e.W,18),ha(e.W,19),ha(e.W,20),Bs(e.W,21),Bs(e.W,22),Bs(e.W,23),e.bb=$l(e,15),ha(e.bb,10),ha(e.bb,11),ha(e.bb,12),ha(e.bb,13),ha(e.bb,14),ha(e.bb,15),ha(e.bb,16),Bs(e.bb,17),nl(e.bb),nl(e.bb),e.eb=$l(e,16),ha(e.eb,2),ha(e.eb,3),ha(e.eb,4),ha(e.eb,5),ha(e.eb,6),ha(e.eb,7),Bs(e.eb,8),Bs(e.eb,9),e.ab=$l(e,17),ha(e.ab,0),ha(e.ab,1),e.H=$l(e,18),Bs(e.H,0),Bs(e.H,1),Bs(e.H,2),Bs(e.H,3),Bs(e.H,4),Bs(e.H,5),nl(e.H),e.db=$l(e,19),Bs(e.db,2),e.c=Gi(e,20),e.d=Gi(e,21),e.e=Gi(e,22),e.f=Gi(e,23),e.i=Gi(e,24),e.g=Gi(e,25),e.j=Gi(e,26),e.k=Gi(e,27),e.n=Gi(e,28),e.r=Gi(e,29),e.s=Gi(e,30),e.t=Gi(e,31),e.u=Gi(e,32),e.fb=Gi(e,33),e.A=Gi(e,34),e.C=Gi(e,35),e.D=Gi(e,36),e.F=Gi(e,37),e.G=Gi(e,38),e.I=Gi(e,39),e.J=Gi(e,40),e.L=Gi(e,41),e.M=Gi(e,42),e.N=Gi(e,43),e.O=Gi(e,44),e.P=Gi(e,45),e.X=Gi(e,46),e.Y=Gi(e,47),e.Z=Gi(e,48),e.$=Gi(e,49),e._=Gi(e,50),e.cb=Gi(e,51),e.K=Gi(e,52))}function Yi(){Yi=Ee;var e,t;cI=new Xs(t2t),TT=new Xs(n2t),TDe=(ep(),ipe),Z8t=new Nn(lTe,TDe),C8=new Nn(r8,null),J8t=new Xs(rSe),CDe=(P4(),zs(ope,pe(de(cpe,1),vt,291,0,[ape]))),GY=new Nn(vW,CDe),IB=new Nn(DR,(er(),!1)),ADe=(Dc(),hp),n3=new Nn(fTe,ADe),IDe=(Vp(),ype),LDe=new Nn(IR,IDe),PDe=new Nn(kW,!1),NDe=(Hp(),ZY),R_=new Nn(mW,NDe),UDe=new Ww(12),J2=new Nn(Ny,UDe),WY=new Nn(TR,!1),RDe=new Nn(xde,!1),PB=new Nn(JM,!1),XDe=(Ao(),Eb),lI=new Nn(Hfe,XDe),A8=new Xs(bW),XY=new Xs(ER),bpe=new Xs(ZG),wpe=new Xs(ZM),BDe=new Th,B_=new Nn(_Te,BDe),t7t=new Nn(ETe,!1),n7t=new Nn(TTe,!1),FDe=new WC,DB=new Nn(CTe,FDe),YY=new Nn(oTe,!1),a7t=new Nn(r2t,1),new Nn(i2t,!0),St(0),new Nn(s2t,St(100)),new Nn(a2t,!1),St(0),new Nn(o2t,St(4e3)),St(0),new Nn(c2t,St(400)),new Nn(l2t,!1),new Nn(u2t,!1),new Nn(h2t,!0),new Nn(f2t,!1),SDe=(BU(),Epe),e7t=new Nn(nSe,SDe),o7t=new Nn(Y9e,10),c7t=new Nn(X9e,10),ePe=new Nn(Nfe,20),l7t=new Nn(Q9e,10),tPe=new Nn($fe,2),u7t=new Nn(Z9e,10),nPe=new Nn(J9e,0),QY=new Nn(nTe,5),rPe=new Nn(eTe,1),iPe=new Nn(tTe,1),ew=new Nn(K4,20),h7t=new Nn(rTe,10),oPe=new Nn(iTe,10),M8=new Xs(sTe),aPe=new pJe,sPe=new Nn(ATe,aPe),i7t=new Xs(_de),GDe=!1,r7t=new Nn(yde,GDe),$De=new Ww(5),jDe=new Nn(dTe,$De),HDe=(F4(),t=l(H1(Bc),9),new ed(t,l(l1(t,t.length),9),0)),F_=new Nn(F9,HDe),KDe=(H6(),kb),WDe=new Nn(mTe,KDe),dpe=new Xs(vTe),gpe=new Xs(bTe),ppe=new Xs(wTe),fpe=new Xs(yTe),zDe=(e=l(H1(vI),9),new ed(e,l(l1(e,e.length),9),0)),Z2=new Nn(c_,zDe),qDe=kn((sf(),LT)),_b=new Nn(i8,qDe),VDe=new en(0,0),j_=new Nn(s8,VDe),KY=new Nn(wde,!1),MDe=(A0(),ST),upe=new Nn(xTe,MDe),lpe=new Nn(JG,!1),St(1),new Nn(d2t,null),YDe=new Xs(STe),mpe=new Xs(kTe),JDe=(Mt(),Dl),$_=new Nn(cTe,JDe),cf=new Xs(aTe),QDe=(Gh(),kn(Tb)),y5=new Nn(j9,QDe),vpe=new Nn(gTe,!1),ZDe=new Nn(pTe,!0),OB=new Nn(uTe,!1),hpe=new Nn(hTe,!1),ODe=new Nn(Rfe,1),DDe=(lG(),xpe),new Nn(g2t,DDe),s7t=!0}function mt(){mt=Ee;var e,t;vs=new Xs(s9e),UMe=new Xs("coordinateOrigin"),q0e=new Xs("processors"),qMe=new Ua("compoundNode",(er(),!1)),oB=new Ua("insideConnections",!1),YMe=new Xs("originalBendpoints"),XMe=new Xs("originalDummyNodePosition"),QMe=new Xs("originalLabelEdge"),lB=new Xs("representedLabels"),RL=new Xs("endLabels"),v8=new Xs("endLabel.origin"),w8=new Ua("labelSide",(Rf(),BB)),S_=new Ua("maxEdgeThickness",0),$0=new Ua("reversed",!1),y8=new Xs(Xvt),e0=new Ua("longEdgeSource",null),Fd=new Ua("longEdgeTarget",null),o5=new Ua("longEdgeHasLabelDummies",!1),cB=new Ua("longEdgeBeforeLabelDummy",!1),ZK=new Ua("edgeConstraint",(y2(),C0e)),Ky=new Xs("inLayerLayoutUnit"),q2=new Ua("inLayerConstraint",(Fp(),sB)),b8=new Ua("inLayerSuccessorConstraint",new yt),KMe=new Ua("inLayerSuccessorConstraintBetweenNonDummies",!1),Wh=new Xs("portDummy"),QK=new Ua("crossingHint",St(0)),Lu=new Ua("graphProperties",(t=l(H1(P0e),9),new ed(t,l(l1(t,t.length),9),0))),Vl=new Ua("externalPortSide",(Mt(),Dl)),WMe=new Ua("externalPortSize",new Qo),j0e=new Xs("externalPortReplacedDummies"),JK=new Xs("externalPortReplacedDummy"),a5=new Ua("externalPortConnections",(e=l(H1(yc),9),new ed(e,l(l1(e,e.length),9),0))),Yy=new Ua(zvt,0),VMe=new Xs("barycenterAssociates"),_8=new Xs("TopSideComments"),m8=new Xs("BottomSideComments"),XK=new Xs("CommentConnectionPort"),H0e=new Ua("inputCollect",!1),V0e=new Ua("outputCollect",!1),aB=new Ua("cyclic",!1),GMe=new Xs("crossHierarchyMap"),G0e=new Xs("targetOffset"),new Ua("splineLabelSize",new Qo),A_=new Xs("spacings"),eY=new Ua("partitionConstraint",!1),Gy=new Xs("breakingPoint.info"),eLe=new Xs("splines.survivingEdge"),U2=new Xs("splines.route.start"),M_=new Xs("splines.edgeChain"),JMe=new Xs("originalPortConstraints"),dT=new Xs("selfLoopHolder"),gT=new Xs("splines.nsPortY"),au=new Xs("modelOrder"),z0e=new Xs("longEdgeTargetNode"),Wy=new Ua(kbt,!1),C_=new Ua(kbt,!1),$0e=new Xs("layerConstraints.hiddenNodes"),ZMe=new Xs("layerConstraints.opposidePort"),U0e=new Xs("targetNode.modelOrder")}function kEe(){kEe=Ee,hLe=(lN(),VK),a6t=new Nn(d9e,hLe),b6t=new Nn(g9e,(er(),!1)),vLe=(Lq(),F0e),k6t=new Nn(rW,vLe),F6t=new Nn(p9e,!1),j6t=new Nn(m9e,!0),N5t=new Nn(v9e,!1),TLe=(sN(),wge),e_t=new Nn(b9e,TLe),St(1),c_t=new Nn(w9e,St(7)),l_t=new Nn(y9e,!1),w6t=new Nn(_9e,!1),uLe=(A2(),T0e),s6t=new Nn(Wfe,uLe),yLe=(oG(),fge),B6t=new Nn(MR,yLe),bLe=(cd(),uB),M6t=new Nn(x9e,bLe),St(-1),A6t=new Nn(k9e,St(-1)),St(-1),L6t=new Nn(E9e,St(-1)),St(-1),I6t=new Nn(Kfe,St(4)),St(-1),D6t=new Nn(Yfe,St(2)),wLe=(Q6(),yY),R6t=new Nn(Xfe,wLe),St(0),N6t=new Nn(Qfe,St(0)),S6t=new Nn(Zfe,St(as)),lLe=(Rk(),g8),i6t=new Nn(rL,lLe),U5t=new Nn(T9e,!1),Z5t=new Nn(Jfe,.1),n6t=new Nn(ede,!1),St(-1),e6t=new Nn(S9e,St(-1)),St(-1),t6t=new Nn(C9e,St(-1)),St(0),G5t=new Nn(A9e,St(40)),cLe=(WE(),R0e),X5t=new Nn(tde,cLe),oLe=iB,W5t=new Nn(iW,oLe),ELe=(kM(),UL),J6t=new Nn(l_,ELe),q6t=new Xs(sW),_Le=(tN(),UK),$6t=new Nn(nde,_Le),xLe=(HN(),GK),z6t=new Nn(rde,xLe),W6t=new Nn(ide,.3),Y6t=new Xs(sde),kLe=(I4(),wY),X6t=new Nn(ade,kLe),gLe=(bU(),_ge),h6t=new Nn(M9e,gLe),pLe=(YP(),xge),f6t=new Nn(L9e,pLe),mLe=(e9(),KL),d6t=new Nn(aW,mLe),p6t=new Nn(oW,.2),l6t=new Nn(ode,2),i_t=new Nn(I9e,null),a_t=new Nn(O9e,10),s_t=new Nn(D9e,10),o_t=new Nn(P9e,20),St(0),t_t=new Nn(N9e,St(0)),St(0),n_t=new Nn(R9e,St(0)),St(0),r_t=new Nn(B9e,St(0)),R5t=new Nn(cde,!1),rLe=(g9(),DL),F5t=new Nn(F9e,rLe),nLe=(Hq(),k0e),B5t=new Nn(j9e,nLe),_6t=new Nn(cW,!1),St(0),y6t=new Nn(lde,St(16)),St(0),x6t=new Nn(ude,St(5)),ALe=(kU(),Tge),M_t=new Nn(Xp,ALe),u_t=new Nn(lW,10),d_t=new Nn(uW,1),CLe=(sU(),zK),y_t=new Nn(iL,CLe),m_t=new Xs(hde),SLe=St(1),St(0),b_t=new Nn(fde,SLe),MLe=(mU(),Ege),D_t=new Nn(hW,MLe),L_t=new Xs(fW),T_t=new Nn(dW,!0),k_t=new Nn(gW,2),C_t=new Nn(dde,!0),dLe=(hG(),qK),c6t=new Nn($9e,dLe),fLe=(Uk(),oT),o6t=new Nn(H9e,fLe),aLe=($p(),bb),q5t=new Nn(pW,aLe),V5t=new Nn(z9e,!1),iLe=(by(),w_),j5t=new Nn(gde,iLe),sLe=(fM(),dge),z5t=new Nn(V9e,sLe),$5t=new Nn(pde,0),H5t=new Nn(mde,0),T6t=S0e,E6t=rB,O6t=vY,P6t=vY,C6t=hge,J5t=(Hp(),Xm),r6t=g8,Q5t=g8,K5t=g8,Y5t=Xm,U6t=GL,G6t=UL,H6t=UL,V6t=UL,K6t=vge,Z6t=GL,Q6t=GL,g6t=(Vp(),L8),m6t=L8,v6t=KL,u6t=NB,h_t=_T,f_t=v5,g_t=_T,p_t=v5,__t=_T,x_t=v5,v_t=E0e,w_t=zK,P_t=_T,N_t=v5,I_t=_T,O_t=v5,S_t=v5,E_t=v5,A_t=v5}function Mc(){Mc=Ee,zAe=new Ca("DIRECTION_PREPROCESSOR",0),jAe=new Ca("COMMENT_PREPROCESSOR",1),AL=new Ca("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),l0e=new Ca("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),oMe=new Ca("PARTITION_PREPROCESSOR",4),kK=new Ca("LABEL_DUMMY_INSERTER",5),DK=new Ca("SELF_LOOP_PREPROCESSOR",6),rT=new Ca("LAYER_CONSTRAINT_PREPROCESSOR",7),sMe=new Ca("PARTITION_MIDPROCESSOR",8),XAe=new Ca("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),rMe=new Ca("NODE_PROMOTION",10),nT=new Ca("LAYER_CONSTRAINT_POSTPROCESSOR",11),aMe=new Ca("PARTITION_POSTPROCESSOR",12),WAe=new Ca("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),cMe=new Ca("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),DAe=new Ca("BREAKING_POINT_INSERTER",15),CK=new Ca("LONG_EDGE_SPLITTER",16),u0e=new Ca("PORT_SIDE_PROCESSOR",17),_K=new Ca("INVERTED_PORT_PROCESSOR",18),LK=new Ca("PORT_LIST_SORTER",19),uMe=new Ca("SORT_BY_INPUT_ORDER_OF_MODEL",20),MK=new Ca("NORTH_SOUTH_PORT_PREPROCESSOR",21),PAe=new Ca("BREAKING_POINT_PROCESSOR",22),iMe=new Ca(pbt,23),hMe=new Ca(mbt,24),IK=new Ca("SELF_LOOP_PORT_RESTORER",25),lMe=new Ca("SINGLE_EDGE_GRAPH_WRAPPER",26),xK=new Ca("IN_LAYER_CONSTRAINT_PROCESSOR",27),qAe=new Ca("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),tMe=new Ca("LABEL_AND_NODE_SIZE_PROCESSOR",29),eMe=new Ca("INNERMOST_NODE_MARGIN_CALCULATOR",30),PK=new Ca("SELF_LOOP_ROUTER",31),BAe=new Ca("COMMENT_NODE_MARGIN_CALCULATOR",32),yK=new Ca("END_LABEL_PREPROCESSOR",33),TK=new Ca("LABEL_DUMMY_SWITCHER",34),RAe=new Ca("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),tT=new Ca("LABEL_SIDE_SELECTOR",36),ZAe=new Ca("HYPEREDGE_DUMMY_MERGER",37),KAe=new Ca("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),nMe=new Ca("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),ML=new Ca("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),$Ae=new Ca("CONSTRAINTS_POSTPROCESSOR",41),FAe=new Ca("COMMENT_POSTPROCESSOR",42),JAe=new Ca("HYPERNODE_PROCESSOR",43),YAe=new Ca("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),SK=new Ca("LONG_EDGE_JOINER",45),OK=new Ca("SELF_LOOP_POSTPROCESSOR",46),NAe=new Ca("BREAKING_POINT_REMOVER",47),AK=new Ca("NORTH_SOUTH_PORT_POSTPROCESSOR",48),QAe=new Ca("HORIZONTAL_COMPACTOR",49),EK=new Ca("LABEL_DUMMY_REMOVER",50),UAe=new Ca("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),VAe=new Ca("END_LABEL_SORTER",52),tB=new Ca("REVERSED_EDGE_RESTORER",53),wK=new Ca("END_LABEL_POSTPROCESSOR",54),GAe=new Ca("HIERARCHICAL_NODE_RESIZER",55),HAe=new Ca("DIRECTION_POSTPROCESSOR",56)}function $Tn(e,t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr,is,Xa,Wf,Kd,W0,yX,tF,LI,nF,NT,$pe,XEt,Hpe,nv,c3,RT,rF,iF,R8,zpe,II,QEt,SNe,l3,OI,Vpe,B8,DI,L5,PI,qpe,ZEt;for(SNe=0,is=t,Kd=0,tF=is.length;Kd<tF;++Kd)for(cr=is[Kd],c3=new M(cr.j);c3.a<c3.c.c.length;){for(nv=l(se(c3),11),rF=0,d=new M(nv.g);d.a<d.c.c.length;)h=l(se(d),17),cr.c!=h.d.i.c&&++rF;rF>0&&(e.a[nv.p]=SNe++)}for(DI=0,Xa=n,W0=0,LI=Xa.length;W0<LI;++W0){for(cr=Xa[W0],nF=0,c3=new M(cr.j);c3.a<c3.c.c.length&&(nv=l(se(c3),11),nv.j==(Mt(),Qn));)for(d=new M(nv.e);d.a<d.c.c.length;)if(h=l(se(d),17),cr.c!=h.c.i.c){++nF;break}for($pe=0,iF=new Ro(cr.j,cr.j.c.length);iF.b>0;){for(nv=(kr(iF.b>0),l(iF.a.Xb(iF.c=--iF.b),11)),rF=0,d=new M(nv.e);d.a<d.c.c.length;)h=l(se(d),17),cr.c!=h.c.i.c&&++rF;rF>0&&(nv.j==(Mt(),Qn)?(e.a[nv.p]=DI,++DI):(e.a[nv.p]=DI+nF+$pe,++$pe))}DI+=$pe}for(RT=new si,Z=new Mp,Vr=t,Wf=0,yX=Vr.length;Wf<yX;++Wf)for(cr=Vr[Wf],Vpe=new M(cr.j);Vpe.a<Vpe.c.c.length;)for(OI=l(se(Vpe),11),d=new M(OI.g);d.a<d.c.c.length;)if(h=l(se(d),17),PI=h.d,cr.c!=PI.i.c)if(l3=l(Bl(cl(RT.f,OI)),467),L5=l(Bl(cl(RT.f,PI)),467),!l3&&!L5)K=new Qet,Z.a.zc(K,Z),wt(K.a,h),wt(K.d,OI),Gu(RT.f,OI,K),wt(K.d,PI),Gu(RT.f,PI,K);else if(!l3)wt(L5.a,h),wt(L5.d,OI),Gu(RT.f,OI,L5);else if(!L5)wt(l3.a,h),wt(l3.d,PI),Gu(RT.f,PI,l3);else if(l3==L5)wt(l3.a,h);else{for(wt(l3.a,h),Hpe=new M(L5.d);Hpe.a<Hpe.c.c.length;)XEt=l(se(Hpe),11),Gu(RT.f,XEt,l3);Fa(l3.a,L5.a),Fa(l3.d,L5.d),Z.a.Bc(L5)!=null}for(te=l(NN(Z,Ue(uSn,{3:1,4:1,5:1,1946:1},467,Z.a.gc(),0,1)),1946),rr=t[0].c,QEt=n[0].c,C=te,P=0,$=C.length;P<$;++P)for(E=C[P],E.e=SNe,E.f=DI,c3=new M(E.d);c3.a<c3.c.c.length;)nv=l(se(c3),11),R8=e.a[nv.p],nv.i.c==rr?(R8<E.e&&(E.e=R8),R8>E.b&&(E.b=R8)):nv.i.c==QEt&&(R8<E.f&&(E.f=R8),R8>E.c&&(E.c=R8));for(OE(te,0,te.length,null),B8=Ue(ri,Pi,25,te.length,15,1),r=Ue(ri,Pi,25,DI+1,15,1),ye=0;ye<te.length;ye++)B8[ye]=te[ye].f,r[B8[ye]]=1;for(a=0,je=0;je<r.length;je++)r[je]==1?r[je]=a:--a;for(zpe=0,Pe=0;Pe<B8.length;Pe++)B8[Pe]+=r[B8[Pe]],zpe=v.Math.max(zpe,B8[Pe]+1);for(b=1;b<zpe;)b*=2;for(ZEt=2*b-1,b-=1,qpe=Ue(ri,Pi,25,ZEt,15,1),i=0,on=0;on<B8.length;on++)for(Bt=B8[on]+b,++qpe[Bt];Bt>0;)Bt%2>0&&(i+=qpe[Bt+1]),Bt=(Bt-1)/2|0,++qpe[Bt];for(hn=Ue(Ext,Ht,362,te.length*2,0,1),We=0;We<te.length;We++)hn[2*We]=new uq(te[We],te[We].e,te[We].b,(eM(),QL)),hn[2*We+1]=new uq(te[We],te[We].b,te[We].e,XL);for(OE(hn,0,hn.length,null),NT=0,at=0;at<hn.length;at++)switch(hn[at].d.g){case 0:++NT;break;case 1:--NT,i+=NT}for(II=Ue(Ext,Ht,362,te.length*2,0,1),bt=0;bt<te.length;bt++)II[2*bt]=new uq(te[bt],te[bt].f,te[bt].c,(eM(),QL)),II[2*bt+1]=new uq(te[bt],te[bt].c,te[bt].f,XL);for(OE(II,0,II.length,null),NT=0,oe=0;oe<II.length;oe++)switch(II[oe].d.g){case 0:++NT;break;case 1:--NT,i+=NT}return i}function rs(){rs=Ee,MI=new Pw(7),bNe=new Kg(8,94),new Kg(8,64),wNe=new Kg(8,36),HEt=new Kg(8,65),zEt=new Kg(8,122),VEt=new Kg(8,90),UEt=new Kg(8,98),$Et=new Kg(8,66),qEt=new Kg(8,60),GEt=new Kg(8,62),vNe=new Pw(11),wX=new If(4),Tu(wX,48,57),PT=new If(4),Tu(PT,48,57),Tu(PT,65,90),Tu(PT,95,95),Tu(PT,97,122),N8=new If(4),Tu(N8,9,9),Tu(N8,10,10),Tu(N8,12,12),Tu(N8,13,13),Tu(N8,32,32),yNe=z4(wX),xNe=z4(PT),_Ne=z4(N8),DT=new si,AI=new si,jEt=pe(de(jt,1),dt,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),pNe=pe(de(jt,1),dt,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",fyt,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),mNe=pe(de(ri,1),Pi,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function FG(){FG=Ee,L3t=new ad("OUT_T_L",0,(Uh(),Ag),(hh(),y1),(G1(),Hl),Hl,pe(de(Bd,1),Ht,21,0,[zs((F4(),T1),pe(de(Bc,1),vt,93,0,[S1,k1]))])),M3t=new ad("OUT_T_C",1,fb,y1,Hl,$u,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[S1,em])),zs(T1,pe(de(Bc,1),vt,93,0,[S1,em,$d]))])),I3t=new ad("OUT_T_R",2,w1,y1,Hl,zl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[S1,E1]))])),_3t=new ad("OUT_B_L",3,Ag,J1,zl,Hl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[Hd,k1]))])),y3t=new ad("OUT_B_C",4,fb,J1,zl,$u,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[Hd,em])),zs(T1,pe(de(Bc,1),vt,93,0,[Hd,em,$d]))])),x3t=new ad("OUT_B_R",5,w1,J1,zl,zl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[Hd,E1]))])),T3t=new ad("OUT_L_T",6,w1,J1,Hl,Hl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[k1,S1,$d]))])),E3t=new ad("OUT_L_C",7,w1,db,$u,Hl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[k1,dp])),zs(T1,pe(de(Bc,1),vt,93,0,[k1,dp,$d]))])),k3t=new ad("OUT_L_B",8,w1,y1,zl,Hl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[k1,Hd,$d]))])),A3t=new ad("OUT_R_T",9,Ag,J1,Hl,zl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[E1,S1,$d]))])),C3t=new ad("OUT_R_C",10,Ag,db,$u,zl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[E1,dp])),zs(T1,pe(de(Bc,1),vt,93,0,[E1,dp,$d]))])),S3t=new ad("OUT_R_B",11,Ag,y1,zl,zl,pe(de(Bd,1),Ht,21,0,[zs(T1,pe(de(Bc,1),vt,93,0,[E1,Hd,$d]))])),b3t=new ad("IN_T_L",12,Ag,J1,Hl,Hl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[S1,k1])),zs(Vf,pe(de(Bc,1),vt,93,0,[S1,k1,$d]))])),v3t=new ad("IN_T_C",13,fb,J1,Hl,$u,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[S1,em])),zs(Vf,pe(de(Bc,1),vt,93,0,[S1,em,$d]))])),w3t=new ad("IN_T_R",14,w1,J1,Hl,zl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[S1,E1])),zs(Vf,pe(de(Bc,1),vt,93,0,[S1,E1,$d]))])),p3t=new ad("IN_C_L",15,Ag,db,$u,Hl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[dp,k1])),zs(Vf,pe(de(Bc,1),vt,93,0,[dp,k1,$d]))])),g3t=new ad("IN_C_C",16,fb,db,$u,$u,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[dp,em])),zs(Vf,pe(de(Bc,1),vt,93,0,[dp,em,$d]))])),m3t=new ad("IN_C_R",17,w1,db,$u,zl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[dp,E1])),zs(Vf,pe(de(Bc,1),vt,93,0,[dp,E1,$d]))])),f3t=new ad("IN_B_L",18,Ag,y1,zl,Hl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,k1])),zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,k1,$d]))])),h3t=new ad("IN_B_C",19,fb,y1,zl,$u,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,em])),zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,em,$d]))])),d3t=new ad("IN_B_R",20,w1,y1,zl,zl,pe(de(Bd,1),Ht,21,0,[zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,E1])),zs(Vf,pe(de(Bc,1),vt,93,0,[Hd,E1,$d]))])),H1e=new ad(XM,21,null,null,null,null,pe(de(Bd,1),Ht,21,0,[]))}function Sn(){Sn=Ee,S5=(Vv(),Gn).b,l(Re(rt(Gn.b),0),34),l(Re(rt(Gn.b),1),18),Qm=Gn.a,l(Re(rt(Gn.a),0),34),l(Re(rt(Gn.a),1),18),l(Re(rt(Gn.a),2),18),l(Re(rt(Gn.a),3),18),l(Re(rt(Gn.a),4),18),Mb=Gn.o,l(Re(rt(Gn.o),0),34),l(Re(rt(Gn.o),1),34),sEt=l(Re(rt(Gn.o),2),18),l(Re(rt(Gn.o),3),18),l(Re(rt(Gn.o),4),18),l(Re(rt(Gn.o),5),18),l(Re(rt(Gn.o),6),18),l(Re(rt(Gn.o),7),18),l(Re(rt(Gn.o),8),18),l(Re(rt(Gn.o),9),18),l(Re(rt(Gn.o),10),18),l(Re(rt(Gn.o),11),18),l(Re(rt(Gn.o),12),18),l(Re(rt(Gn.o),13),18),l(Re(rt(Gn.o),14),18),l(Re(rt(Gn.o),15),18),l(Re(ks(Gn.o),0),59),l(Re(ks(Gn.o),1),59),l(Re(ks(Gn.o),2),59),l(Re(ks(Gn.o),3),59),l(Re(ks(Gn.o),4),59),l(Re(ks(Gn.o),5),59),l(Re(ks(Gn.o),6),59),l(Re(ks(Gn.o),7),59),l(Re(ks(Gn.o),8),59),l(Re(ks(Gn.o),9),59),iEt=Gn.p,l(Re(rt(Gn.p),0),34),l(Re(rt(Gn.p),1),34),l(Re(rt(Gn.p),2),34),l(Re(rt(Gn.p),3),34),l(Re(rt(Gn.p),4),18),l(Re(rt(Gn.p),5),18),l(Re(ks(Gn.p),0),59),l(Re(ks(Gn.p),1),59),aEt=Gn.q,l(Re(rt(Gn.q),0),34),Lb=Gn.v,l(Re(rt(Gn.v),0),18),l(Re(ks(Gn.v),0),59),l(Re(ks(Gn.v),1),59),l(Re(ks(Gn.v),2),59),Zm=Gn.w,l(Re(rt(Gn.w),0),34),l(Re(rt(Gn.w),1),34),l(Re(rt(Gn.w),2),34),l(Re(rt(Gn.w),3),18),Ib=Gn.B,l(Re(rt(Gn.B),0),18),l(Re(ks(Gn.B),0),59),l(Re(ks(Gn.B),1),59),l(Re(ks(Gn.B),2),59),oEt=Gn.Q,l(Re(rt(Gn.Q),0),18),l(Re(ks(Gn.Q),0),59),cEt=Gn.R,l(Re(rt(Gn.R),0),34),Wd=Gn.S,l(Re(ks(Gn.S),0),59),l(Re(ks(Gn.S),1),59),l(Re(ks(Gn.S),2),59),l(Re(ks(Gn.S),3),59),l(Re(ks(Gn.S),4),59),l(Re(ks(Gn.S),5),59),l(Re(ks(Gn.S),6),59),l(Re(ks(Gn.S),7),59),l(Re(ks(Gn.S),8),59),l(Re(ks(Gn.S),9),59),l(Re(ks(Gn.S),10),59),l(Re(ks(Gn.S),11),59),l(Re(ks(Gn.S),12),59),l(Re(ks(Gn.S),13),59),l(Re(ks(Gn.S),14),59),Jm=Gn.T,l(Re(rt(Gn.T),0),18),l(Re(rt(Gn.T),2),18),lEt=l(Re(rt(Gn.T),3),18),l(Re(rt(Gn.T),4),18),l(Re(ks(Gn.T),0),59),l(Re(ks(Gn.T),1),59),l(Re(rt(Gn.T),1),18),ev=Gn.U,l(Re(rt(Gn.U),0),34),l(Re(rt(Gn.U),1),34),l(Re(rt(Gn.U),2),18),l(Re(rt(Gn.U),3),18),l(Re(rt(Gn.U),4),18),l(Re(rt(Gn.U),5),18),l(Re(ks(Gn.U),0),59),C5=Gn.V,l(Re(rt(Gn.V),0),18),H_=Gn.W,l(Re(rt(Gn.W),0),34),l(Re(rt(Gn.W),1),34),l(Re(rt(Gn.W),2),34),l(Re(rt(Gn.W),3),18),l(Re(rt(Gn.W),4),18),l(Re(rt(Gn.W),5),18),uEt=Gn.bb,l(Re(rt(Gn.bb),0),34),l(Re(rt(Gn.bb),1),34),l(Re(rt(Gn.bb),2),34),l(Re(rt(Gn.bb),3),34),l(Re(rt(Gn.bb),4),34),l(Re(rt(Gn.bb),5),34),l(Re(rt(Gn.bb),6),34),l(Re(rt(Gn.bb),7),18),l(Re(ks(Gn.bb),0),59),l(Re(ks(Gn.bb),1),59),hEt=Gn.eb,l(Re(rt(Gn.eb),0),34),l(Re(rt(Gn.eb),1),34),l(Re(rt(Gn.eb),2),34),l(Re(rt(Gn.eb),3),34),l(Re(rt(Gn.eb),4),34),l(Re(rt(Gn.eb),5),34),l(Re(rt(Gn.eb),6),18),l(Re(rt(Gn.eb),7),18),_c=Gn.ab,l(Re(rt(Gn.ab),0),34),l(Re(rt(Gn.ab),1),34),s3=Gn.H,l(Re(rt(Gn.H),0),18),l(Re(rt(Gn.H),1),18),l(Re(rt(Gn.H),2),18),l(Re(rt(Gn.H),3),18),l(Re(rt(Gn.H),4),18),l(Re(rt(Gn.H),5),18),l(Re(ks(Gn.H),0),59),a3=Gn.db,l(Re(rt(Gn.db),0),18),U0=Gn.M}function HTn(e){var t;e.O||(e.O=!0,Ru(e,"type"),gU(e,"ecore.xml.type"),pU(e,$2),t=l(b9((Pv(),Gd),$2),1945),fi(ol(e.fb),e.b),jl(e.b,QB,"AnyType",!1,!1,!0),_a(l(Re(rt(e.b),0),34),e.wb.D,BR,null,0,-1,QB,!1,!1,!0,!1,!1,!1),_a(l(Re(rt(e.b),1),34),e.wb.D,"any",null,0,-1,QB,!0,!0,!0,!1,!1,!0),_a(l(Re(rt(e.b),2),34),e.wb.D,"anyAttribute",null,0,-1,QB,!1,!1,!0,!1,!1,!1),jl(e.bb,vX,Wwt,!1,!1,!0),_a(l(Re(rt(e.bb),0),34),e.gb,"data",null,0,1,vX,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),1),34),e.gb,bSe,null,1,1,vX,!1,!1,!0,!1,!0,!1),jl(e.fb,ZB,Kwt,!1,!1,!0),_a(l(Re(rt(e.fb),0),34),t.gb,"rawValue",null,0,1,ZB,!0,!0,!0,!1,!0,!0),_a(l(Re(rt(e.fb),1),34),t.a,fL,null,0,1,ZB,!0,!0,!0,!1,!0,!0),Fs(l(Re(rt(e.fb),2),18),e.wb.q,null,"instanceType",1,1,ZB,!1,!1,!0,!1,!1,!1,!1),jl(e.qb,hNe,Ywt,!1,!1,!0),_a(l(Re(rt(e.qb),0),34),e.wb.D,BR,null,0,-1,null,!1,!1,!0,!1,!1,!1),Fs(l(Re(rt(e.qb),1),18),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.qb),2),18),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),_a(l(Re(rt(e.qb),3),34),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),_a(l(Re(rt(e.qb),4),34),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Fs(l(Re(rt(e.qb),5),18),e.bb,null,cyt,0,-2,null,!0,!0,!0,!0,!1,!1,!0),_a(l(Re(rt(e.qb),6),34),e.gb,Xde,null,0,-2,null,!0,!0,!0,!1,!1,!0),Ui(e.a,xr,"AnySimpleType",!0),Ui(e.c,jt,"AnyURI",!0),Ui(e.d,de(Rh,1),"Base64Binary",!0),Ui(e.e,uf,"Boolean",!0),Ui(e.f,Ya,"BooleanObject",!0),Ui(e.g,Rh,"Byte",!0),Ui(e.i,u8,"ByteObject",!0),Ui(e.j,jt,"Date",!0),Ui(e.k,jt,"DateTime",!0),Ui(e.n,I1e,"Decimal",!0),Ui(e.o,Eo,"Double",!0),Ui(e.p,Mo,"DoubleObject",!0),Ui(e.q,jt,"Duration",!0),Ui(e.s,fd,"ENTITIES",!0),Ui(e.r,fd,"ENTITIESBase",!0),Ui(e.t,jt,PSe,!0),Ui(e.u,M5,"Float",!0),Ui(e.v,X9,"FloatObject",!0),Ui(e.w,jt,"GDay",!0),Ui(e.B,jt,"GMonth",!0),Ui(e.A,jt,"GMonthDay",!0),Ui(e.C,jt,"GYear",!0),Ui(e.D,jt,"GYearMonth",!0),Ui(e.F,de(Rh,1),"HexBinary",!0),Ui(e.G,jt,"ID",!0),Ui(e.H,jt,"IDREF",!0),Ui(e.J,fd,"IDREFS",!0),Ui(e.I,fd,"IDREFSBase",!0),Ui(e.K,ri,"Int",!0),Ui(e.M,m_,"Integer",!0),Ui(e.L,hc,"IntObject",!0),Ui(e.P,jt,"Language",!0),Ui(e.Q,Db,"Long",!0),Ui(e.R,Hy,"LongObject",!0),Ui(e.S,jt,"Name",!0),Ui(e.T,jt,qW,!0),Ui(e.U,m_,"NegativeInteger",!0),Ui(e.V,jt,BSe,!0),Ui(e.X,fd,"NMTOKENS",!0),Ui(e.W,fd,"NMTOKENSBase",!0),Ui(e.Y,m_,"NonNegativeInteger",!0),Ui(e.Z,m_,"NonPositiveInteger",!0),Ui(e.$,jt,"NormalizedString",!0),Ui(e._,jt,"NOTATION",!0),Ui(e.ab,jt,"PositiveInteger",!0),Ui(e.cb,jt,"QName",!0),Ui(e.db,U_,"Short",!0),Ui(e.eb,zy,"ShortObject",!0),Ui(e.gb,jt,CEe,!0),Ui(e.hb,jt,"Time",!0),Ui(e.ib,jt,"Token",!0),Ui(e.jb,U_,"UnsignedByte",!0),Ui(e.kb,zy,"UnsignedByteObject",!0),Ui(e.lb,Db,"UnsignedInt",!0),Ui(e.mb,Hy,"UnsignedIntObject",!0),Ui(e.nb,m_,"UnsignedLong",!0),Ui(e.ob,ri,"UnsignedShort",!0),Ui(e.pb,hc,"UnsignedShortObject",!0),Bxe(e,$2),zTn(e))}function Xmt(e){qw(e,new M2(Zye(Az($w(Bw(jw(Fw(new dm,mr),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new une),mr),zs((v9(),Ape),pe(de(uX,1),vt,237,0,[cX,lX,oX,Cpe,aX,sX]))))),It(e,mr,Y9e,zt(sge)),It(e,mr,X9e,zt(lIe)),It(e,mr,Nfe,zt(dB)),It(e,mr,Q9e,zt(_1)),It(e,mr,$fe,zt(E8)),It(e,mr,Z9e,zt(Jy)),It(e,mr,J9e,zt(m5)),It(e,mr,eTe,zt(wT)),It(e,mr,tTe,zt(yT)),It(e,mr,nTe,zt(age)),It(e,mr,K4,zt(e3)),It(e,mr,rTe,zt(oge)),It(e,mr,iTe,zt(VL)),It(e,mr,sTe,zt(gY)),It(e,mr,I9e,zt(fB)),It(e,mr,D9e,zt(L_)),It(e,mr,O9e,zt(Y2)),It(e,mr,P9e,zt(I_)),It(e,mr,ER,St(0)),It(e,mr,N9e,zt(bT)),It(e,mr,R9e,zt(cIe)),It(e,mr,B9e,zt(k8)),It(e,mr,Xp,zt(vIe)),It(e,mr,lW,zt(uIe)),It(e,mr,uW,zt(hIe)),It(e,mr,iL,zt(lge)),It(e,mr,hde,zt(fIe)),It(e,mr,fde,zt(dIe)),It(e,mr,hW,zt(pY)),It(e,mr,fW,zt(uge)),It(e,mr,dW,zt(pIe)),It(e,mr,gW,zt(gIe)),It(e,mr,dde,zt(mIe)),It(e,mr,sde,zt(Qy)),It(e,mr,ade,zt(zL)),It(e,mr,aW,zt(ege)),It(e,mr,oW,zt($Le)),It(e,mr,Ny,rIe),It(e,mr,IR,BLe),It(e,mr,aTe,0),It(e,mr,ZG,St(1)),It(e,mr,r8,B9),It(e,mr,oTe,zt(K2)),It(e,mr,Hfe,zt(ba)),It(e,mr,cTe,zt(vT)),It(e,mr,DR,zt(B_t)),It(e,mr,lTe,zt(Lg)),It(e,mr,mW,zt(h5)),It(e,mr,ZM,(er(),!0)),It(e,mr,uTe,zt(f5)),It(e,mr,hTe,zt(G2)),It(e,mr,c_,zt(W2)),It(e,mr,i8,zt(dY)),It(e,mr,wde,zt(ige)),It(e,mr,fTe,RLe),It(e,mr,F9,zt(Xy)),It(e,mr,dTe,zt(hY)),It(e,mr,j9,zt(g5)),It(e,mr,gTe,zt(V_t)),It(e,mr,pTe,zt(aIe)),It(e,mr,mTe,sIe),It(e,mr,vTe,zt($_t)),It(e,mr,bTe,zt(H_t)),It(e,mr,wTe,zt(z_t)),It(e,mr,yTe,zt(j_t)),It(e,mr,y9e,zt(cge)),It(e,mr,MR,zt(QLe)),It(e,mr,Xfe,zt(nge)),It(e,mr,w9e,zt(qL)),It(e,mr,x9e,zt(Yu)),It(e,mr,Wfe,zt(u5)),It(e,mr,rL,zt($L)),It(e,mr,T9e,zt(l5)),It(e,mr,A9e,zt(DLe)),It(e,mr,tde,zt(X0e)),It(e,mr,iW,zt(hB)),It(e,mr,ede,zt(Q0e)),It(e,mr,p9e,zt(ZLe)),It(e,mr,m9e,zt(JLe)),It(e,mr,rW,zt(GLe)),It(e,mr,l_,zt(fY)),It(e,mr,rde,zt(rge)),It(e,mr,g9e,zt(tge)),It(e,mr,ide,zt(tIe)),It(e,mr,M9e,zt(jLe)),It(e,mr,L9e,zt(J0e)),It(e,mr,vW,zt(Y0e)),It(e,mr,nde,zt(eIe)),It(e,mr,F9e,zt(rY)),It(e,mr,j9e,zt(LLe)),It(e,mr,cde,zt(nY)),It(e,mr,cW,zt(VLe)),It(e,mr,lde,zt(zLe)),It(e,mr,ude,zt(qLe)),It(e,mr,s8,zt(pT)),It(e,mr,_Te,zt(il)),It(e,mr,Rfe,zt(qm)),It(e,mr,xTe,zt(Ig)),It(e,mr,JG,zt(Z0e)),It(e,mr,Jfe,zt(PLe)),It(e,mr,kTe,zt(Um)),It(e,mr,ETe,zt(jL)),It(e,mr,TTe,zt(cY)),It(e,mr,STe,zt(Zy)),It(e,mr,yde,zt(iIe)),It(e,mr,_de,zt(mT)),It(e,mr,Kfe,zt(KLe)),It(e,mr,Yfe,zt(YLe)),It(e,mr,bW,zt(p5)),It(e,mr,v9e,zt(W0e)),It(e,mr,Qfe,zt(XLe)),It(e,mr,$9e,zt(oY)),It(e,mr,H9e,zt(aY)),It(e,mr,CTe,zt(uY)),It(e,mr,Zfe,zt(WLe)),It(e,mr,sW,zt(HL)),It(e,mr,ATe,zt(gB)),It(e,mr,d9e,zt(NLe)),It(e,mr,b9e,zt(oIe)),It(e,mr,ode,zt(FLe)),It(e,mr,k9e,zt(F_t)),It(e,mr,S9e,zt(R_t)),It(e,mr,xde,zt(ULe)),It(e,mr,E9e,zt(lY)),It(e,mr,C9e,zt(sY)),It(e,mr,pW,zt(vb)),It(e,mr,V9e,zt(OLe)),It(e,mr,pde,zt(iY)),It(e,mr,mde,zt(ILe)),It(e,mr,z9e,zt(K0e)),It(e,mr,gde,zt(x8)),It(e,mr,_9e,zt(HLe))}function i_(e,t){var n,r;return q_||(q_=new si,OT=new si,r=(rs(),rs(),new If(4)),ON(r,`
\r\r `),Jc(q_,p1e,r),Jc(OT,p1e,z4(r)),r=new If(4),ON(r,uyt),Jc(q_,_L,r),Jc(OT,_L,z4(r)),r=new If(4),ON(r,uyt),Jc(q_,_L,r),Jc(OT,_L,z4(r)),r=new If(4),ON(r,hyt),V4(r,l(xu(q_,_L),117)),Jc(q_,g1e,r),Jc(OT,g1e,z4(r)),r=new If(4),ON(r,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँअह़्॑॔क़ॣ९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼ੴઁઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૯ଁଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൯กฮะฺเ๎๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩↀↂ々々〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Jc(q_,m1e,r),Jc(OT,m1e,z4(r)),r=new If(4),ON(r,hyt),Tu(r,95,95),Tu(r,58,58),Jc(q_,v1e,r),Jc(OT,v1e,z4(r))),n=l(xu(t?q_:OT,e),136),n}function zTn(e){di(e.a,Oi,pe(de(jt,1),dt,2,6,[Ki,"anySimpleType"])),di(e.b,Oi,pe(de(jt,1),dt,2,6,[Ki,"anyType",Pd,BR])),di(l(Re(rt(e.b),0),34),Oi,pe(de(jt,1),dt,2,6,[Pd,l1e,Ki,":mixed"])),di(l(Re(rt(e.b),1),34),Oi,pe(de(jt,1),dt,2,6,[Pd,l1e,OSe,h1e,Ki,":1",Xwt,"lax"])),di(l(Re(rt(e.b),2),34),Oi,pe(de(jt,1),dt,2,6,[Pd,Gwt,OSe,h1e,Ki,":2",Xwt,"lax"])),di(e.c,Oi,pe(de(jt,1),dt,2,6,[Ki,"anyURI",Rd,Z1])),di(e.d,Oi,pe(de(jt,1),dt,2,6,[Ki,"base64Binary",Rd,Z1])),di(e.e,Oi,pe(de(jt,1),dt,2,6,[Ki,Xk,Rd,Z1])),di(e.f,Oi,pe(de(jt,1),dt,2,6,[Ki,"boolean:Object",ec,Xk])),di(e.g,Oi,pe(de(jt,1),dt,2,6,[Ki,gL])),di(e.i,Oi,pe(de(jt,1),dt,2,6,[Ki,"byte:Object",ec,gL])),di(e.j,Oi,pe(de(jt,1),dt,2,6,[Ki,"date",Rd,Z1])),di(e.k,Oi,pe(de(jt,1),dt,2,6,[Ki,"dateTime",Rd,Z1])),di(e.n,Oi,pe(de(jt,1),dt,2,6,[Ki,"decimal",Rd,Z1])),di(e.o,Oi,pe(de(jt,1),dt,2,6,[Ki,pL,Rd,Z1])),di(e.p,Oi,pe(de(jt,1),dt,2,6,[Ki,"double:Object",ec,pL])),di(e.q,Oi,pe(de(jt,1),dt,2,6,[Ki,"duration",Rd,Z1])),di(e.s,Oi,pe(de(jt,1),dt,2,6,[Ki,"ENTITIES",ec,Qwt,DSe,"1"])),di(e.r,Oi,pe(de(jt,1),dt,2,6,[Ki,Qwt,u1e,PSe])),di(e.t,Oi,pe(de(jt,1),dt,2,6,[Ki,PSe,ec,qW])),di(e.u,Oi,pe(de(jt,1),dt,2,6,[Ki,mL,Rd,Z1])),di(e.v,Oi,pe(de(jt,1),dt,2,6,[Ki,"float:Object",ec,mL])),di(e.w,Oi,pe(de(jt,1),dt,2,6,[Ki,"gDay",Rd,Z1])),di(e.B,Oi,pe(de(jt,1),dt,2,6,[Ki,"gMonth",Rd,Z1])),di(e.A,Oi,pe(de(jt,1),dt,2,6,[Ki,"gMonthDay",Rd,Z1])),di(e.C,Oi,pe(de(jt,1),dt,2,6,[Ki,"gYear",Rd,Z1])),di(e.D,Oi,pe(de(jt,1),dt,2,6,[Ki,"gYearMonth",Rd,Z1])),di(e.F,Oi,pe(de(jt,1),dt,2,6,[Ki,"hexBinary",Rd,Z1])),di(e.G,Oi,pe(de(jt,1),dt,2,6,[Ki,"ID",ec,qW])),di(e.H,Oi,pe(de(jt,1),dt,2,6,[Ki,"IDREF",ec,qW])),di(e.J,Oi,pe(de(jt,1),dt,2,6,[Ki,"IDREFS",ec,Zwt,DSe,"1"])),di(e.I,Oi,pe(de(jt,1),dt,2,6,[Ki,Zwt,u1e,"IDREF"])),di(e.K,Oi,pe(de(jt,1),dt,2,6,[Ki,vL])),di(e.M,Oi,pe(de(jt,1),dt,2,6,[Ki,NSe])),di(e.L,Oi,pe(de(jt,1),dt,2,6,[Ki,"int:Object",ec,vL])),di(e.P,Oi,pe(de(jt,1),dt,2,6,[Ki,"language",ec,f1e,d1e,Jwt])),di(e.Q,Oi,pe(de(jt,1),dt,2,6,[Ki,bL])),di(e.R,Oi,pe(de(jt,1),dt,2,6,[Ki,"long:Object",ec,bL])),di(e.S,Oi,pe(de(jt,1),dt,2,6,[Ki,"Name",ec,f1e,d1e,RSe])),di(e.T,Oi,pe(de(jt,1),dt,2,6,[Ki,qW,ec,"Name",d1e,eyt])),di(e.U,Oi,pe(de(jt,1),dt,2,6,[Ki,"negativeInteger",ec,tyt,zR,"-1"])),di(e.V,Oi,pe(de(jt,1),dt,2,6,[Ki,BSe,ec,f1e,d1e,"\\c+"])),di(e.X,Oi,pe(de(jt,1),dt,2,6,[Ki,"NMTOKENS",ec,nyt,DSe,"1"])),di(e.W,Oi,pe(de(jt,1),dt,2,6,[Ki,nyt,u1e,BSe])),di(e.Y,Oi,pe(de(jt,1),dt,2,6,[Ki,FSe,ec,NSe,VR,"0"])),di(e.Z,Oi,pe(de(jt,1),dt,2,6,[Ki,tyt,ec,NSe,zR,"0"])),di(e.$,Oi,pe(de(jt,1),dt,2,6,[Ki,ryt,ec,$he,Rd,"replace"])),di(e._,Oi,pe(de(jt,1),dt,2,6,[Ki,"NOTATION",Rd,Z1])),di(e.ab,Oi,pe(de(jt,1),dt,2,6,[Ki,"positiveInteger",ec,FSe,VR,"1"])),di(e.bb,Oi,pe(de(jt,1),dt,2,6,[Ki,"processingInstruction_._type",Pd,"empty"])),di(l(Re(rt(e.bb),0),34),Oi,pe(de(jt,1),dt,2,6,[Pd,$W,Ki,"data"])),di(l(Re(rt(e.bb),1),34),Oi,pe(de(jt,1),dt,2,6,[Pd,$W,Ki,bSe])),di(e.cb,Oi,pe(de(jt,1),dt,2,6,[Ki,"QName",Rd,Z1])),di(e.db,Oi,pe(de(jt,1),dt,2,6,[Ki,wL])),di(e.eb,Oi,pe(de(jt,1),dt,2,6,[Ki,"short:Object",ec,wL])),di(e.fb,Oi,pe(de(jt,1),dt,2,6,[Ki,"simpleAnyType",Pd,FR])),di(l(Re(rt(e.fb),0),34),Oi,pe(de(jt,1),dt,2,6,[Ki,":3",Pd,FR])),di(l(Re(rt(e.fb),1),34),Oi,pe(de(jt,1),dt,2,6,[Ki,":4",Pd,FR])),di(l(Re(rt(e.fb),2),18),Oi,pe(de(jt,1),dt,2,6,[Ki,":5",Pd,FR])),di(e.gb,Oi,pe(de(jt,1),dt,2,6,[Ki,$he,Rd,"preserve"])),di(e.hb,Oi,pe(de(jt,1),dt,2,6,[Ki,"time",Rd,Z1])),di(e.ib,Oi,pe(de(jt,1),dt,2,6,[Ki,f1e,ec,ryt,Rd,Z1])),di(e.jb,Oi,pe(de(jt,1),dt,2,6,[Ki,iyt,zR,"255",VR,"0"])),di(e.kb,Oi,pe(de(jt,1),dt,2,6,[Ki,"unsignedByte:Object",ec,iyt])),di(e.lb,Oi,pe(de(jt,1),dt,2,6,[Ki,syt,zR,"4294967295",VR,"0"])),di(e.mb,Oi,pe(de(jt,1),dt,2,6,[Ki,"unsignedInt:Object",ec,syt])),di(e.nb,Oi,pe(de(jt,1),dt,2,6,[Ki,"unsignedLong",ec,FSe,zR,ayt,VR,"0"])),di(e.ob,Oi,pe(de(jt,1),dt,2,6,[Ki,oyt,zR,"65535",VR,"0"])),di(e.pb,Oi,pe(de(jt,1),dt,2,6,[Ki,"unsignedShort:Object",ec,oyt])),di(e.qb,Oi,pe(de(jt,1),dt,2,6,[Ki,"",Pd,BR])),di(l(Re(rt(e.qb),0),34),Oi,pe(de(jt,1),dt,2,6,[Pd,l1e,Ki,":mixed"])),di(l(Re(rt(e.qb),1),18),Oi,pe(de(jt,1),dt,2,6,[Pd,$W,Ki,"xmlns:prefix"])),di(l(Re(rt(e.qb),2),18),Oi,pe(de(jt,1),dt,2,6,[Pd,$W,Ki,"xsi:schemaLocation"])),di(l(Re(rt(e.qb),3),34),Oi,pe(de(jt,1),dt,2,6,[Pd,HW,Ki,"cDATA",zW,jR])),di(l(Re(rt(e.qb),4),34),Oi,pe(de(jt,1),dt,2,6,[Pd,HW,Ki,"comment",zW,jR])),di(l(Re(rt(e.qb),5),18),Oi,pe(de(jt,1),dt,2,6,[Pd,HW,Ki,cyt,zW,jR])),di(l(Re(rt(e.qb),6),34),Oi,pe(de(jt,1),dt,2,6,[Pd,HW,Ki,Xde,zW,jR]))}function Ti(e){return Tn("_UI_EMFDiagnostic_marker",e)?"EMF Problem":Tn("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":Tn(q2t,e)?"Wrong character.":Tn(U2t,e)?"Invalid reference number.":Tn(IW,e)?"A character is required after \\.":Tn(r1e,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Tn(G2t,e)?"'(?<' or '(?<!' is expected.":Tn(W2t,e)?"A comment is not terminated.":Tn(j2,e)?"')' is expected.":Tn(wSe,e)?"Unexpected end of the pattern in a modifier group.":Tn(K2t,e)?"':' is expected.":Tn(Y2t,e)?"Unexpected end of the pattern in a conditional group.":Tn(X2t,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":Tn(Q2t,e)?"There are more than three choices in a conditional group.":Tn(Z2t,e)?"A character in U+0040-U+005f must follow \\c.":Tn(J2t,e)?"A '{' is required before a character category.":Tn(ewt,e)?"A property name is not closed by '}'.":Tn(ySe,e)?"Unexpected meta character.":Tn(i1e,e)?"Unknown property.":Tn(_Se,e)?"A POSIX character class must be closed by ':]'.":Tn(OW,e)?"Unexpected end of the pattern in a character class.":Tn(twt,e)?"Unknown name for a POSIX character class.":Tn("parser.cc.4",e)?"'-' is invalid here.":Tn(nwt,e)?"']' is expected.":Tn(xSe,e)?"'[' is invalid in a character class. Write '\\['.":Tn(kSe,e)?"']' is invalid in a character class. Write '\\]'.":Tn(s1e,e)?"'-' is an invalid character range. Write '\\-'.":Tn(rwt,e)?"'[' is expected.":Tn(iwt,e)?"')' or '-[' or '+[' or '&[' is expected.":Tn(swt,e)?"The range end code point is less than the start code point.":Tn(zm,e)?"Invalid Unicode hex notation.":Tn(awt,e)?"Overflow in a hex notation.":Tn(owt,e)?"'\\x{' must be closed by '}'.":Tn(cwt,e)?"Invalid Unicode code point.":Tn(lwt,e)?"An anchor must not be here.":Tn(hd,e)?"This expression is not supported in the current option setting.":Tn(uwt,e)?"Invalid quantifier. A digit is expected.":Tn(hwt,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":Tn(fwt,e)?"Invalid quantifier. A digit or '}' is expected.":Tn(dwt,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":Tn(ESe,e)?"Invalid quantifier. A quantity value overflow.":Tn("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":Tn("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":Tn("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":Tn("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":Tn("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":Tn("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":Tn("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":Tn("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":Tn("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":Tn("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":Tn("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":Tn("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":Tn("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":Tn("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":Tn("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":Tn("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":Tn("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":Tn("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":Tn("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":Tn("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":Tn("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":Tn("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":Tn("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":Tn("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":Tn("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":Tn("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":Tn("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":Tn("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":Tn("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":Tn("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":Tn("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function VTn(e){var t,n,r,i,a,h,d,b,E,C,P,$,K,Z,te;e.r||(e.r=!0,Ru(e,"graph"),gU(e,"graph"),pU(e,q9),pN(e.o,"T"),fi(ol(e.a),e.p),fi(ol(e.f),e.a),fi(ol(e.n),e.f),fi(ol(e.g),e.n),fi(ol(e.c),e.n),fi(ol(e.i),e.c),fi(ol(e.j),e.c),fi(ol(e.d),e.f),fi(ol(e.e),e.a),jl(e.p,sSn,Vvt,!0,!0,!1),Z=B6(e.p,e.p,"setProperty"),te=Zlt(Z),E=Op(e.o),C=(n=(r=new Nw,r),n),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),P=lce(te),u8e(C,P),sG(Z,E,lSe),E=lce(te),sG(Z,E,fL),Z=B6(e.p,null,"getProperty"),te=Zlt(Z),E=Op(e.o),C=lce(te),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),sG(Z,E,lSe),E=lce(te),K=D0(Z,E,null),K&&K.Fi(),Z=B6(e.p,e.wb.e,"hasProperty"),E=Op(e.o),C=(i=(a=new Nw,a),i),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),sG(Z,E,lSe),Z=B6(e.p,e.p,"copyProperties"),rl(Z,e.p,Gde),Z=B6(e.p,null,"getAllProperties"),E=Op(e.wb.P),C=Op(e.o),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),P=(h=(d=new Nw,d),h),fi((!C.d&&(C.d=new Ba(Fc,C,1)),C.d),P),C=Op(e.wb.M),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),$=D0(Z,E,null),$&&$.Fi(),jl(e.a,IT,y2t,!0,!1,!0),Fs(l(Re(rt(e.a),0),18),e.k,null,O2t,0,-1,IT,!1,!1,!0,!0,!1,!1,!1),jl(e.f,qB,x2t,!0,!1,!0),Fs(l(Re(rt(e.f),0),18),e.g,l(Re(rt(e.g),0),18),"labels",0,-1,qB,!1,!1,!0,!0,!1,!1,!1),_a(l(Re(rt(e.f),1),34),e.wb._,D2t,null,0,1,qB,!1,!1,!0,!1,!0,!1),jl(e.n,UB,"ElkShape",!0,!1,!0),_a(l(Re(rt(e.n),0),34),e.wb.t,Wde,O9,1,1,UB,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.n),1),34),e.wb.t,Kde,O9,1,1,UB,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.n),2),34),e.wb.t,"x",O9,1,1,UB,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.n),3),34),e.wb.t,"y",O9,1,1,UB,!1,!1,!0,!1,!0,!1),Z=B6(e.n,null,"setDimensions"),rl(Z,e.wb.t,Kde),rl(Z,e.wb.t,Wde),Z=B6(e.n,null,"setLocation"),rl(Z,e.wb.t,"x"),rl(Z,e.wb.t,"y"),jl(e.g,_l,aSe,!1,!1,!0),Fs(l(Re(rt(e.g),0),18),e.f,l(Re(rt(e.f),0),18),Yde,0,1,_l,!1,!1,!0,!1,!1,!1,!1),_a(l(Re(rt(e.g),1),34),e.wb._,Xde,"",0,1,_l,!1,!1,!0,!1,!0,!1),jl(e.c,Xr,k2t,!0,!1,!0),Fs(l(Re(rt(e.c),0),18),e.d,l(Re(rt(e.d),1),18),"outgoingEdges",0,-1,Xr,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.c),1),18),e.d,l(Re(rt(e.d),2),18),"incomingEdges",0,-1,Xr,!1,!1,!0,!1,!0,!1,!1),jl(e.i,fa,oSe,!1,!1,!0),Fs(l(Re(rt(e.i),0),18),e.j,l(Re(rt(e.j),0),18),"ports",0,-1,fa,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.i),1),18),e.i,l(Re(rt(e.i),2),18),Qde,0,-1,fa,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.i),2),18),e.i,l(Re(rt(e.i),1),18),Yde,0,1,fa,!1,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.i),3),18),e.d,l(Re(rt(e.d),0),18),"containedEdges",0,-1,fa,!1,!1,!0,!0,!1,!1,!1),_a(l(Re(rt(e.i),4),34),e.wb.e,P2t,null,0,1,fa,!0,!0,!1,!1,!0,!0),jl(e.j,lf,cSe,!1,!1,!0),Fs(l(Re(rt(e.j),0),18),e.i,l(Re(rt(e.i),0),18),Yde,0,1,lf,!1,!1,!0,!1,!1,!1,!1),jl(e.d,oo,sSe,!1,!1,!0),Fs(l(Re(rt(e.d),0),18),e.i,l(Re(rt(e.i),3),18),"containingNode",0,1,oo,!1,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.d),1),18),e.c,l(Re(rt(e.c),0),18),uSe,0,-1,oo,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.d),2),18),e.c,l(Re(rt(e.c),1),18),Zde,0,-1,oo,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.d),3),18),e.e,l(Re(rt(e.e),5),18),hSe,0,-1,oo,!1,!1,!0,!0,!1,!1,!1),_a(l(Re(rt(e.d),4),34),e.wb.e,"hyperedge",null,0,1,oo,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.d),5),34),e.wb.e,P2t,null,0,1,oo,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.d),6),34),e.wb.e,"selfloop",null,0,1,oo,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.d),7),34),e.wb.e,"connected",null,0,1,oo,!0,!0,!1,!1,!0,!0),jl(e.b,Vd,_2t,!1,!1,!0),_a(l(Re(rt(e.b),0),34),e.wb.t,"x",O9,1,1,Vd,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.b),1),34),e.wb.t,"y",O9,1,1,Vd,!1,!1,!0,!1,!0,!1),Z=B6(e.b,null,"set"),rl(Z,e.wb.t,"x"),rl(Z,e.wb.t,"y"),jl(e.e,aa,E2t,!1,!1,!0),_a(l(Re(rt(e.e),0),34),e.wb.t,"startX",null,0,1,aa,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.e),1),34),e.wb.t,"startY",null,0,1,aa,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.e),2),34),e.wb.t,"endX",null,0,1,aa,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.e),3),34),e.wb.t,"endY",null,0,1,aa,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.e),4),18),e.b,null,CW,0,-1,aa,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.e),5),18),e.d,l(Re(rt(e.d),3),18),Yde,0,1,aa,!1,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.e),6),18),e.c,null,fSe,0,1,aa,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.e),7),18),e.c,null,dSe,0,1,aa,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.e),8),18),e.e,l(Re(rt(e.e),9),18),gSe,0,-1,aa,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.e),9),18),e.e,l(Re(rt(e.e),8),18),pSe,0,-1,aa,!1,!1,!0,!1,!0,!1,!1),_a(l(Re(rt(e.e),10),34),e.wb._,D2t,null,0,1,aa,!1,!1,!0,!1,!0,!1),Z=B6(e.e,null,"setStartLocation"),rl(Z,e.wb.t,"x"),rl(Z,e.wb.t,"y"),Z=B6(e.e,null,"setEndLocation"),rl(Z,e.wb.t,"x"),rl(Z,e.wb.t,"y"),jl(e.k,H2,"ElkPropertyToValueMapEntry",!1,!1,!1),E=Op(e.o),C=(b=(t=new Nw,t),b),fi((!E.d&&(E.d=new Ba(Fc,E,1)),E.d),C),Z1t(l(Re(rt(e.k),0),34),E,"key",H2,!1,!1,!0,!1),_a(l(Re(rt(e.k),1),34),e.s,fL,null,0,1,H2,!1,!1,!0,!1,!0,!1),Ui(e.o,rpe,"IProperty",!0),Ui(e.s,xr,"PropertyValue",!0),Bxe(e,q9))}function Qmt(){Qmt=Ee,Te=Ue(Rh,d_,25,wc,15,1),Te[9]=35,Te[10]=19,Te[13]=19,Te[32]=51,Te[33]=49,Te[34]=33,Ke(Te,35,38,49),Te[38]=1,Ke(Te,39,45,49),Ke(Te,45,47,-71),Te[47]=49,Ke(Te,48,58,-71),Te[58]=61,Te[59]=49,Te[60]=1,Te[61]=49,Te[62]=33,Ke(Te,63,65,49),Ke(Te,65,91,-3),Ke(Te,91,93,33),Te[93]=1,Te[94]=33,Te[95]=-3,Te[96]=33,Ke(Te,97,123,-3),Ke(Te,123,183,33),Te[183]=-87,Ke(Te,184,192,33),Ke(Te,192,215,-19),Te[215]=33,Ke(Te,216,247,-19),Te[247]=33,Ke(Te,248,306,-19),Ke(Te,306,308,33),Ke(Te,308,319,-19),Ke(Te,319,321,33),Ke(Te,321,329,-19),Te[329]=33,Ke(Te,330,383,-19),Te[383]=33,Ke(Te,384,452,-19),Ke(Te,452,461,33),Ke(Te,461,497,-19),Ke(Te,497,500,33),Ke(Te,500,502,-19),Ke(Te,502,506,33),Ke(Te,506,536,-19),Ke(Te,536,592,33),Ke(Te,592,681,-19),Ke(Te,681,699,33),Ke(Te,699,706,-19),Ke(Te,706,720,33),Ke(Te,720,722,-87),Ke(Te,722,768,33),Ke(Te,768,838,-87),Ke(Te,838,864,33),Ke(Te,864,866,-87),Ke(Te,866,902,33),Te[902]=-19,Te[903]=-87,Ke(Te,904,907,-19),Te[907]=33,Te[908]=-19,Te[909]=33,Ke(Te,910,930,-19),Te[930]=33,Ke(Te,931,975,-19),Te[975]=33,Ke(Te,976,983,-19),Ke(Te,983,986,33),Te[986]=-19,Te[987]=33,Te[988]=-19,Te[989]=33,Te[990]=-19,Te[991]=33,Te[992]=-19,Te[993]=33,Ke(Te,994,1012,-19),Ke(Te,1012,1025,33),Ke(Te,1025,1037,-19),Te[1037]=33,Ke(Te,1038,1104,-19),Te[1104]=33,Ke(Te,1105,1117,-19),Te[1117]=33,Ke(Te,1118,1154,-19),Te[1154]=33,Ke(Te,1155,1159,-87),Ke(Te,1159,1168,33),Ke(Te,1168,1221,-19),Ke(Te,1221,1223,33),Ke(Te,1223,1225,-19),Ke(Te,1225,1227,33),Ke(Te,1227,1229,-19),Ke(Te,1229,1232,33),Ke(Te,1232,1260,-19),Ke(Te,1260,1262,33),Ke(Te,1262,1270,-19),Ke(Te,1270,1272,33),Ke(Te,1272,1274,-19),Ke(Te,1274,1329,33),Ke(Te,1329,1367,-19),Ke(Te,1367,1369,33),Te[1369]=-19,Ke(Te,1370,1377,33),Ke(Te,1377,1415,-19),Ke(Te,1415,1425,33),Ke(Te,1425,1442,-87),Te[1442]=33,Ke(Te,1443,1466,-87),Te[1466]=33,Ke(Te,1467,1470,-87),Te[1470]=33,Te[1471]=-87,Te[1472]=33,Ke(Te,1473,1475,-87),Te[1475]=33,Te[1476]=-87,Ke(Te,1477,1488,33),Ke(Te,1488,1515,-19),Ke(Te,1515,1520,33),Ke(Te,1520,1523,-19),Ke(Te,1523,1569,33),Ke(Te,1569,1595,-19),Ke(Te,1595,1600,33),Te[1600]=-87,Ke(Te,1601,1611,-19),Ke(Te,1611,1619,-87),Ke(Te,1619,1632,33),Ke(Te,1632,1642,-87),Ke(Te,1642,1648,33),Te[1648]=-87,Ke(Te,1649,1720,-19),Ke(Te,1720,1722,33),Ke(Te,1722,1727,-19),Te[1727]=33,Ke(Te,1728,1743,-19),Te[1743]=33,Ke(Te,1744,1748,-19),Te[1748]=33,Te[1749]=-19,Ke(Te,1750,1765,-87),Ke(Te,1765,1767,-19),Ke(Te,1767,1769,-87),Te[1769]=33,Ke(Te,1770,1774,-87),Ke(Te,1774,1776,33),Ke(Te,1776,1786,-87),Ke(Te,1786,2305,33),Ke(Te,2305,2308,-87),Te[2308]=33,Ke(Te,2309,2362,-19),Ke(Te,2362,2364,33),Te[2364]=-87,Te[2365]=-19,Ke(Te,2366,2382,-87),Ke(Te,2382,2385,33),Ke(Te,2385,2389,-87),Ke(Te,2389,2392,33),Ke(Te,2392,2402,-19),Ke(Te,2402,2404,-87),Ke(Te,2404,2406,33),Ke(Te,2406,2416,-87),Ke(Te,2416,2433,33),Ke(Te,2433,2436,-87),Te[2436]=33,Ke(Te,2437,2445,-19),Ke(Te,2445,2447,33),Ke(Te,2447,2449,-19),Ke(Te,2449,2451,33),Ke(Te,2451,2473,-19),Te[2473]=33,Ke(Te,2474,2481,-19),Te[2481]=33,Te[2482]=-19,Ke(Te,2483,2486,33),Ke(Te,2486,2490,-19),Ke(Te,2490,2492,33),Te[2492]=-87,Te[2493]=33,Ke(Te,2494,2501,-87),Ke(Te,2501,2503,33),Ke(Te,2503,2505,-87),Ke(Te,2505,2507,33),Ke(Te,2507,2510,-87),Ke(Te,2510,2519,33),Te[2519]=-87,Ke(Te,2520,2524,33),Ke(Te,2524,2526,-19),Te[2526]=33,Ke(Te,2527,2530,-19),Ke(Te,2530,2532,-87),Ke(Te,2532,2534,33),Ke(Te,2534,2544,-87),Ke(Te,2544,2546,-19),Ke(Te,2546,2562,33),Te[2562]=-87,Ke(Te,2563,2565,33),Ke(Te,2565,2571,-19),Ke(Te,2571,2575,33),Ke(Te,2575,2577,-19),Ke(Te,2577,2579,33),Ke(Te,2579,2601,-19),Te[2601]=33,Ke(Te,2602,2609,-19),Te[2609]=33,Ke(Te,2610,2612,-19),Te[2612]=33,Ke(Te,2613,2615,-19),Te[2615]=33,Ke(Te,2616,2618,-19),Ke(Te,2618,2620,33),Te[2620]=-87,Te[2621]=33,Ke(Te,2622,2627,-87),Ke(Te,2627,2631,33),Ke(Te,2631,2633,-87),Ke(Te,2633,2635,33),Ke(Te,2635,2638,-87),Ke(Te,2638,2649,33),Ke(Te,2649,2653,-19),Te[2653]=33,Te[2654]=-19,Ke(Te,2655,2662,33),Ke(Te,2662,2674,-87),Ke(Te,2674,2677,-19),Ke(Te,2677,2689,33),Ke(Te,2689,2692,-87),Te[2692]=33,Ke(Te,2693,2700,-19),Te[2700]=33,Te[2701]=-19,Te[2702]=33,Ke(Te,2703,2706,-19),Te[2706]=33,Ke(Te,2707,2729,-19),Te[2729]=33,Ke(Te,2730,2737,-19),Te[2737]=33,Ke(Te,2738,2740,-19),Te[2740]=33,Ke(Te,2741,2746,-19),Ke(Te,2746,2748,33),Te[2748]=-87,Te[2749]=-19,Ke(Te,2750,2758,-87),Te[2758]=33,Ke(Te,2759,2762,-87),Te[2762]=33,Ke(Te,2763,2766,-87),Ke(Te,2766,2784,33),Te[2784]=-19,Ke(Te,2785,2790,33),Ke(Te,2790,2800,-87),Ke(Te,2800,2817,33),Ke(Te,2817,2820,-87),Te[2820]=33,Ke(Te,2821,2829,-19),Ke(Te,2829,2831,33),Ke(Te,2831,2833,-19),Ke(Te,2833,2835,33),Ke(Te,2835,2857,-19),Te[2857]=33,Ke(Te,2858,2865,-19),Te[2865]=33,Ke(Te,2866,2868,-19),Ke(Te,2868,2870,33),Ke(Te,2870,2874,-19),Ke(Te,2874,2876,33),Te[2876]=-87,Te[2877]=-19,Ke(Te,2878,2884,-87),Ke(Te,2884,2887,33),Ke(Te,2887,2889,-87),Ke(Te,2889,2891,33),Ke(Te,2891,2894,-87),Ke(Te,2894,2902,33),Ke(Te,2902,2904,-87),Ke(Te,2904,2908,33),Ke(Te,2908,2910,-19),Te[2910]=33,Ke(Te,2911,2914,-19),Ke(Te,2914,2918,33),Ke(Te,2918,2928,-87),Ke(Te,2928,2946,33),Ke(Te,2946,2948,-87),Te[2948]=33,Ke(Te,2949,2955,-19),Ke(Te,2955,2958,33),Ke(Te,2958,2961,-19),Te[2961]=33,Ke(Te,2962,2966,-19),Ke(Te,2966,2969,33),Ke(Te,2969,2971,-19),Te[2971]=33,Te[2972]=-19,Te[2973]=33,Ke(Te,2974,2976,-19),Ke(Te,2976,2979,33),Ke(Te,2979,2981,-19),Ke(Te,2981,2984,33),Ke(Te,2984,2987,-19),Ke(Te,2987,2990,33),Ke(Te,2990,2998,-19),Te[2998]=33,Ke(Te,2999,3002,-19),Ke(Te,3002,3006,33),Ke(Te,3006,3011,-87),Ke(Te,3011,3014,33),Ke(Te,3014,3017,-87),Te[3017]=33,Ke(Te,3018,3022,-87),Ke(Te,3022,3031,33),Te[3031]=-87,Ke(Te,3032,3047,33),Ke(Te,3047,3056,-87),Ke(Te,3056,3073,33),Ke(Te,3073,3076,-87),Te[3076]=33,Ke(Te,3077,3085,-19),Te[3085]=33,Ke(Te,3086,3089,-19),Te[3089]=33,Ke(Te,3090,3113,-19),Te[3113]=33,Ke(Te,3114,3124,-19),Te[3124]=33,Ke(Te,3125,3130,-19),Ke(Te,3130,3134,33),Ke(Te,3134,3141,-87),Te[3141]=33,Ke(Te,3142,3145,-87),Te[3145]=33,Ke(Te,3146,3150,-87),Ke(Te,3150,3157,33),Ke(Te,3157,3159,-87),Ke(Te,3159,3168,33),Ke(Te,3168,3170,-19),Ke(Te,3170,3174,33),Ke(Te,3174,3184,-87),Ke(Te,3184,3202,33),Ke(Te,3202,3204,-87),Te[3204]=33,Ke(Te,3205,3213,-19),Te[3213]=33,Ke(Te,3214,3217,-19),Te[3217]=33,Ke(Te,3218,3241,-19),Te[3241]=33,Ke(Te,3242,3252,-19),Te[3252]=33,Ke(Te,3253,3258,-19),Ke(Te,3258,3262,33),Ke(Te,3262,3269,-87),Te[3269]=33,Ke(Te,3270,3273,-87),Te[3273]=33,Ke(Te,3274,3278,-87),Ke(Te,3278,3285,33),Ke(Te,3285,3287,-87),Ke(Te,3287,3294,33),Te[3294]=-19,Te[3295]=33,Ke(Te,3296,3298,-19),Ke(Te,3298,3302,33),Ke(Te,3302,3312,-87),Ke(Te,3312,3330,33),Ke(Te,3330,3332,-87),Te[3332]=33,Ke(Te,3333,3341,-19),Te[3341]=33,Ke(Te,3342,3345,-19),Te[3345]=33,Ke(Te,3346,3369,-19),Te[3369]=33,Ke(Te,3370,3386,-19),Ke(Te,3386,3390,33),Ke(Te,3390,3396,-87),Ke(Te,3396,3398,33),Ke(Te,3398,3401,-87),Te[3401]=33,Ke(Te,3402,3406,-87),Ke(Te,3406,3415,33),Te[3415]=-87,Ke(Te,3416,3424,33),Ke(Te,3424,3426,-19),Ke(Te,3426,3430,33),Ke(Te,3430,3440,-87),Ke(Te,3440,3585,33),Ke(Te,3585,3631,-19),Te[3631]=33,Te[3632]=-19,Te[3633]=-87,Ke(Te,3634,3636,-19),Ke(Te,3636,3643,-87),Ke(Te,3643,3648,33),Ke(Te,3648,3654,-19),Ke(Te,3654,3663,-87),Te[3663]=33,Ke(Te,3664,3674,-87),Ke(Te,3674,3713,33),Ke(Te,3713,3715,-19),Te[3715]=33,Te[3716]=-19,Ke(Te,3717,3719,33),Ke(Te,3719,3721,-19),Te[3721]=33,Te[3722]=-19,Ke(Te,3723,3725,33),Te[3725]=-19,Ke(Te,3726,3732,33),Ke(Te,3732,3736,-19),Te[3736]=33,Ke(Te,3737,3744,-19),Te[3744]=33,Ke(Te,3745,3748,-19),Te[3748]=33,Te[3749]=-19,Te[3750]=33,Te[3751]=-19,Ke(Te,3752,3754,33),Ke(Te,3754,3756,-19),Te[3756]=33,Ke(Te,3757,3759,-19),Te[3759]=33,Te[3760]=-19,Te[3761]=-87,Ke(Te,3762,3764,-19),Ke(Te,3764,3770,-87),Te[3770]=33,Ke(Te,3771,3773,-87),Te[3773]=-19,Ke(Te,3774,3776,33),Ke(Te,3776,3781,-19),Te[3781]=33,Te[3782]=-87,Te[3783]=33,Ke(Te,3784,3790,-87),Ke(Te,3790,3792,33),Ke(Te,3792,3802,-87),Ke(Te,3802,3864,33),Ke(Te,3864,3866,-87),Ke(Te,3866,3872,33),Ke(Te,3872,3882,-87),Ke(Te,3882,3893,33),Te[3893]=-87,Te[3894]=33,Te[3895]=-87,Te[3896]=33,Te[3897]=-87,Ke(Te,3898,3902,33),Ke(Te,3902,3904,-87),Ke(Te,3904,3912,-19),Te[3912]=33,Ke(Te,3913,3946,-19),Ke(Te,3946,3953,33),Ke(Te,3953,3973,-87),Te[3973]=33,Ke(Te,3974,3980,-87),Ke(Te,3980,3984,33),Ke(Te,3984,3990,-87),Te[3990]=33,Te[3991]=-87,Te[3992]=33,Ke(Te,3993,4014,-87),Ke(Te,4014,4017,33),Ke(Te,4017,4024,-87),Te[4024]=33,Te[4025]=-87,Ke(Te,4026,4256,33),Ke(Te,4256,4294,-19),Ke(Te,4294,4304,33),Ke(Te,4304,4343,-19),Ke(Te,4343,4352,33),Te[4352]=-19,Te[4353]=33,Ke(Te,4354,4356,-19),Te[4356]=33,Ke(Te,4357,4360,-19),Te[4360]=33,Te[4361]=-19,Te[4362]=33,Ke(Te,4363,4365,-19),Te[4365]=33,Ke(Te,4366,4371,-19),Ke(Te,4371,4412,33),Te[4412]=-19,Te[4413]=33,Te[4414]=-19,Te[4415]=33,Te[4416]=-19,Ke(Te,4417,4428,33),Te[4428]=-19,Te[4429]=33,Te[4430]=-19,Te[4431]=33,Te[4432]=-19,Ke(Te,4433,4436,33),Ke(Te,4436,4438,-19),Ke(Te,4438,4441,33),Te[4441]=-19,Ke(Te,4442,4447,33),Ke(Te,4447,4450,-19),Te[4450]=33,Te[4451]=-19,Te[4452]=33,Te[4453]=-19,Te[4454]=33,Te[4455]=-19,Te[4456]=33,Te[4457]=-19,Ke(Te,4458,4461,33),Ke(Te,4461,4463,-19),Ke(Te,4463,4466,33),Ke(Te,4466,4468,-19),Te[4468]=33,Te[4469]=-19,Ke(Te,4470,4510,33),Te[4510]=-19,Ke(Te,4511,4520,33),Te[4520]=-19,Ke(Te,4521,4523,33),Te[4523]=-19,Ke(Te,4524,4526,33),Ke(Te,4526,4528,-19),Ke(Te,4528,4535,33),Ke(Te,4535,4537,-19),Te[4537]=33,Te[4538]=-19,Te[4539]=33,Ke(Te,4540,4547,-19),Ke(Te,4547,4587,33),Te[4587]=-19,Ke(Te,4588,4592,33),Te[4592]=-19,Ke(Te,4593,4601,33),Te[4601]=-19,Ke(Te,4602,7680,33),Ke(Te,7680,7836,-19),Ke(Te,7836,7840,33),Ke(Te,7840,7930,-19),Ke(Te,7930,7936,33),Ke(Te,7936,7958,-19),Ke(Te,7958,7960,33),Ke(Te,7960,7966,-19),Ke(Te,7966,7968,33),Ke(Te,7968,8006,-19),Ke(Te,8006,8008,33),Ke(Te,8008,8014,-19),Ke(Te,8014,8016,33),Ke(Te,8016,8024,-19),Te[8024]=33,Te[8025]=-19,Te[8026]=33,Te[8027]=-19,Te[8028]=33,Te[8029]=-19,Te[8030]=33,Ke(Te,8031,8062,-19),Ke(Te,8062,8064,33),Ke(Te,8064,8117,-19),Te[8117]=33,Ke(Te,8118,8125,-19),Te[8125]=33,Te[8126]=-19,Ke(Te,8127,8130,33),Ke(Te,8130,8133,-19),Te[8133]=33,Ke(Te,8134,8141,-19),Ke(Te,8141,8144,33),Ke(Te,8144,8148,-19),Ke(Te,8148,8150,33),Ke(Te,8150,8156,-19),Ke(Te,8156,8160,33),Ke(Te,8160,8173,-19),Ke(Te,8173,8178,33),Ke(Te,8178,8181,-19),Te[8181]=33,Ke(Te,8182,8189,-19),Ke(Te,8189,8400,33),Ke(Te,8400,8413,-87),Ke(Te,8413,8417,33),Te[8417]=-87,Ke(Te,8418,8486,33),Te[8486]=-19,Ke(Te,8487,8490,33),Ke(Te,8490,8492,-19),Ke(Te,8492,8494,33),Te[8494]=-19,Ke(Te,8495,8576,33),Ke(Te,8576,8579,-19),Ke(Te,8579,12293,33),Te[12293]=-87,Te[12294]=33,Te[12295]=-19,Ke(Te,12296,12321,33),Ke(Te,12321,12330,-19),Ke(Te,12330,12336,-87),Te[12336]=33,Ke(Te,12337,12342,-87),Ke(Te,12342,12353,33),Ke(Te,12353,12437,-19),Ke(Te,12437,12441,33),Ke(Te,12441,12443,-87),Ke(Te,12443,12445,33),Ke(Te,12445,12447,-87),Ke(Te,12447,12449,33),Ke(Te,12449,12539,-19),Te[12539]=33,Ke(Te,12540,12543,-87),Ke(Te,12543,12549,33),Ke(Te,12549,12589,-19),Ke(Te,12589,19968,33),Ke(Te,19968,40870,-19),Ke(Te,40870,44032,33),Ke(Te,44032,55204,-19),Ke(Te,55204,bR,33),Ke(Te,57344,65534,33)}function qTn(e){var t,n,r,i,a,h,d;e.hb||(e.hb=!0,Ru(e,"ecore"),gU(e,"ecore"),pU(e,Nd),pN(e.fb,"E"),pN(e.L,"T"),pN(e.P,"K"),pN(e.P,"V"),pN(e.cb,"E"),fi(ol(e.b),e.bb),fi(ol(e.a),e.Q),fi(ol(e.o),e.p),fi(ol(e.p),e.R),fi(ol(e.q),e.p),fi(ol(e.v),e.q),fi(ol(e.w),e.R),fi(ol(e.B),e.Q),fi(ol(e.R),e.Q),fi(ol(e.T),e.eb),fi(ol(e.U),e.R),fi(ol(e.V),e.eb),fi(ol(e.W),e.bb),fi(ol(e.bb),e.eb),fi(ol(e.eb),e.R),fi(ol(e.db),e.R),jl(e.b,E5,kwt,!1,!1,!0),_a(l(Re(rt(e.b),0),34),e.e,"iD",null,0,1,E5,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.b),1),18),e.q,null,"eAttributeType",1,1,E5,!0,!0,!1,!1,!0,!1,!0),jl(e.a,Ri,ywt,!1,!1,!0),_a(l(Re(rt(e.a),0),34),e._,Gde,null,0,1,Ri,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.a),1),18),e.ab,null,"details",0,-1,Ri,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.a),2),18),e.Q,l(Re(rt(e.Q),0),18),"eModelElement",0,1,Ri,!0,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.a),3),18),e.S,null,"contents",0,-1,Ri,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.a),4),18),e.S,null,"references",0,-1,Ri,!1,!1,!0,!1,!0,!1,!1),jl(e.o,qd,"EClass",!1,!1,!0),_a(l(Re(rt(e.o),0),34),e.e,"abstract",null,0,1,qd,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.o),1),34),e.e,"interface",null,0,1,qd,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.o),2),18),e.o,null,"eSuperTypes",0,-1,qd,!1,!1,!0,!1,!0,!0,!1),Fs(l(Re(rt(e.o),3),18),e.T,l(Re(rt(e.T),0),18),"eOperations",0,-1,qd,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.o),4),18),e.b,null,"eAllAttributes",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),5),18),e.W,null,"eAllReferences",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),6),18),e.W,null,"eReferences",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),7),18),e.b,null,"eAttributes",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),8),18),e.W,null,"eAllContainments",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),9),18),e.T,null,"eAllOperations",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),10),18),e.bb,null,"eAllStructuralFeatures",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),11),18),e.o,null,"eAllSuperTypes",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.o),12),18),e.b,null,"eIDAttribute",0,1,qd,!0,!0,!1,!1,!1,!1,!0),Fs(l(Re(rt(e.o),13),18),e.bb,l(Re(rt(e.bb),7),18),"eStructuralFeatures",0,-1,qd,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.o),14),18),e.H,null,"eGenericSuperTypes",0,-1,qd,!1,!1,!0,!0,!1,!0,!1),Fs(l(Re(rt(e.o),15),18),e.H,null,"eAllGenericSuperTypes",0,-1,qd,!0,!0,!1,!1,!0,!1,!0),d=qc(l(Re(ks(e.o),0),59),e.e,"isSuperTypeOf"),rl(d,e.o,"someClass"),qc(l(Re(ks(e.o),1),59),e.I,"getFeatureCount"),d=qc(l(Re(ks(e.o),2),59),e.bb,Nwt),rl(d,e.I,"featureID"),d=qc(l(Re(ks(e.o),3),59),e.I,Rwt),rl(d,e.bb,yL),d=qc(l(Re(ks(e.o),4),59),e.bb,Nwt),rl(d,e._,"featureName"),qc(l(Re(ks(e.o),5),59),e.I,"getOperationCount"),d=qc(l(Re(ks(e.o),6),59),e.T,"getEOperation"),rl(d,e.I,"operationID"),d=qc(l(Re(ks(e.o),7),59),e.I,Bwt),rl(d,e.T,LSe),d=qc(l(Re(ks(e.o),8),59),e.T,"getOverride"),rl(d,e.T,LSe),d=qc(l(Re(ks(e.o),9),59),e.H,"getFeatureType"),rl(d,e.bb,yL),jl(e.p,n0,Ewt,!0,!1,!0),_a(l(Re(rt(e.p),0),34),e._,"instanceClassName",null,0,1,n0,!1,!0,!0,!0,!0,!1),t=Op(e.L),n=z6e(),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),Z1t(l(Re(rt(e.p),1),34),t,"instanceClass",n0,!0,!0,!1,!0),_a(l(Re(rt(e.p),2),34),e.M,Fwt,null,0,1,n0,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.p),3),34),e._,"instanceTypeName",null,0,1,n0,!1,!0,!0,!0,!0,!1),Fs(l(Re(rt(e.p),4),18),e.U,l(Re(rt(e.U),3),18),"ePackage",0,1,n0,!0,!1,!1,!1,!0,!1,!1),Fs(l(Re(rt(e.p),5),18),e.db,null,jwt,0,-1,n0,!1,!1,!0,!0,!0,!1,!1),d=qc(l(Re(ks(e.p),0),59),e.e,$wt),rl(d,e.M,uR),qc(l(Re(ks(e.p),1),59),e.I,"getClassifierID"),jl(e.q,Ipe,"EDataType",!1,!1,!0),_a(l(Re(rt(e.q),0),34),e.e,"serializable",z9,0,1,Ipe,!1,!1,!0,!1,!0,!1),jl(e.v,dX,"EEnum",!1,!1,!0),Fs(l(Re(rt(e.v),0),18),e.w,l(Re(rt(e.w),3),18),"eLiterals",0,-1,dX,!1,!1,!0,!0,!1,!1,!1),d=qc(l(Re(ks(e.v),0),59),e.w,Hwt),rl(d,e._,Ki),d=qc(l(Re(ks(e.v),1),59),e.w,Hwt),rl(d,e.I,fL),d=qc(l(Re(ks(e.v),2),59),e.w,"getEEnumLiteralByLiteral"),rl(d,e._,"literal"),jl(e.w,nm,Twt,!1,!1,!0),_a(l(Re(rt(e.w),0),34),e.I,fL,null,0,1,nm,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.w),1),34),e.A,"instance",null,0,1,nm,!0,!1,!0,!1,!0,!1),_a(l(Re(rt(e.w),2),34),e._,"literal",null,0,1,nm,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.w),3),18),e.v,l(Re(rt(e.v),0),18),"eEnum",0,1,nm,!0,!1,!1,!1,!1,!1,!1),jl(e.B,wI,"EFactory",!1,!1,!0),Fs(l(Re(rt(e.B),0),18),e.U,l(Re(rt(e.U),2),18),"ePackage",1,1,wI,!0,!1,!0,!1,!1,!1,!1),d=qc(l(Re(ks(e.B),0),59),e.S,"create"),rl(d,e.o,"eClass"),d=qc(l(Re(ks(e.B),1),59),e.M,"createFromString"),rl(d,e.q,"eDataType"),rl(d,e._,"literalValue"),d=qc(l(Re(ks(e.B),2),59),e._,"convertToString"),rl(d,e.q,"eDataType"),rl(d,e.M,"instanceValue"),jl(e.Q,GB,T2t,!0,!1,!0),Fs(l(Re(rt(e.Q),0),18),e.a,l(Re(rt(e.a),2),18),"eAnnotations",0,-1,GB,!1,!1,!0,!0,!1,!1,!1),d=qc(l(Re(ks(e.Q),0),59),e.a,"getEAnnotation"),rl(d,e._,Gde),jl(e.R,Tpe,S2t,!0,!1,!0),_a(l(Re(rt(e.R),0),34),e._,Ki,null,0,1,Tpe,!1,!1,!0,!1,!0,!1),jl(e.S,Sb,"EObject",!1,!1,!0),qc(l(Re(ks(e.S),0),59),e.o,"eClass"),qc(l(Re(ks(e.S),1),59),e.e,"eIsProxy"),qc(l(Re(ks(e.S),2),59),e.X,"eResource"),qc(l(Re(ks(e.S),3),59),e.S,"eContainer"),qc(l(Re(ks(e.S),4),59),e.bb,"eContainingFeature"),qc(l(Re(ks(e.S),5),59),e.W,"eContainmentFeature"),d=qc(l(Re(ks(e.S),6),59),null,"eContents"),t=Op(e.fb),n=Op(e.S),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),i=D0(d,t,null),i&&i.Fi(),d=qc(l(Re(ks(e.S),7),59),null,"eAllContents"),t=Op(e.cb),n=Op(e.S),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),a=D0(d,t,null),a&&a.Fi(),d=qc(l(Re(ks(e.S),8),59),null,"eCrossReferences"),t=Op(e.fb),n=Op(e.S),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),h=D0(d,t,null),h&&h.Fi(),d=qc(l(Re(ks(e.S),9),59),e.M,"eGet"),rl(d,e.bb,yL),d=qc(l(Re(ks(e.S),10),59),e.M,"eGet"),rl(d,e.bb,yL),rl(d,e.e,"resolve"),d=qc(l(Re(ks(e.S),11),59),null,"eSet"),rl(d,e.bb,yL),rl(d,e.M,"newValue"),d=qc(l(Re(ks(e.S),12),59),e.e,"eIsSet"),rl(d,e.bb,yL),d=qc(l(Re(ks(e.S),13),59),null,"eUnset"),rl(d,e.bb,yL),d=qc(l(Re(ks(e.S),14),59),e.M,"eInvoke"),rl(d,e.T,LSe),t=Op(e.fb),n=z6e(),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),sG(d,t,"arguments"),Vun(d,e.K),jl(e.T,Ud,Cwt,!1,!1,!0),Fs(l(Re(rt(e.T),0),18),e.o,l(Re(rt(e.o),3),18),zwt,0,1,Ud,!0,!1,!1,!1,!1,!1,!1),Fs(l(Re(rt(e.T),1),18),e.db,null,jwt,0,-1,Ud,!1,!1,!0,!0,!0,!1,!1),Fs(l(Re(rt(e.T),2),18),e.V,l(Re(rt(e.V),0),18),"eParameters",0,-1,Ud,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.T),3),18),e.p,null,"eExceptions",0,-1,Ud,!1,!1,!0,!1,!0,!0,!1),Fs(l(Re(rt(e.T),4),18),e.H,null,"eGenericExceptions",0,-1,Ud,!1,!1,!0,!0,!1,!0,!1),qc(l(Re(ks(e.T),0),59),e.I,Bwt),d=qc(l(Re(ks(e.T),1),59),e.e,"isOverrideOf"),rl(d,e.T,"someOperation"),jl(e.U,t0,"EPackage",!1,!1,!0),_a(l(Re(rt(e.U),0),34),e._,"nsURI",null,0,1,t0,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.U),1),34),e._,"nsPrefix",null,0,1,t0,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.U),2),18),e.B,l(Re(rt(e.B),0),18),"eFactoryInstance",1,1,t0,!0,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.U),3),18),e.p,l(Re(rt(e.p),4),18),"eClassifiers",0,-1,t0,!1,!1,!0,!0,!0,!1,!1),Fs(l(Re(rt(e.U),4),18),e.U,l(Re(rt(e.U),5),18),"eSubpackages",0,-1,t0,!1,!1,!0,!0,!0,!1,!1),Fs(l(Re(rt(e.U),5),18),e.U,l(Re(rt(e.U),4),18),"eSuperPackage",0,1,t0,!0,!1,!1,!1,!0,!1,!1),d=qc(l(Re(ks(e.U),0),59),e.p,"getEClassifier"),rl(d,e._,Ki),jl(e.V,i3,Awt,!1,!1,!0),Fs(l(Re(rt(e.V),0),18),e.T,l(Re(rt(e.T),2),18),"eOperation",0,1,i3,!0,!1,!1,!1,!1,!1,!1),jl(e.W,T5,Mwt,!1,!1,!0),_a(l(Re(rt(e.W),0),34),e.e,"containment",null,0,1,T5,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.W),1),34),e.e,"container",null,0,1,T5,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.W),2),34),e.e,"resolveProxies",z9,0,1,T5,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.W),3),18),e.W,null,"eOpposite",0,1,T5,!1,!1,!0,!1,!0,!1,!1),Fs(l(Re(rt(e.W),4),18),e.o,null,"eReferenceType",1,1,T5,!0,!0,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.W),5),18),e.b,null,"eKeys",0,-1,T5,!1,!1,!0,!1,!0,!1,!1),jl(e.bb,_h,xwt,!0,!1,!0),_a(l(Re(rt(e.bb),0),34),e.e,"changeable",z9,0,1,_h,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),1),34),e.e,"volatile",null,0,1,_h,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),2),34),e.e,"transient",null,0,1,_h,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),3),34),e._,"defaultValueLiteral",null,0,1,_h,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),4),34),e.M,Fwt,null,0,1,_h,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.bb),5),34),e.e,"unsettable",null,0,1,_h,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.bb),6),34),e.e,"derived",null,0,1,_h,!1,!1,!0,!1,!0,!1),Fs(l(Re(rt(e.bb),7),18),e.o,l(Re(rt(e.o),13),18),zwt,0,1,_h,!0,!1,!1,!1,!1,!1,!1),qc(l(Re(ks(e.bb),0),59),e.I,Rwt),d=qc(l(Re(ks(e.bb),1),59),null,"getContainerClass"),t=Op(e.L),n=z6e(),fi((!t.d&&(t.d=new Ba(Fc,t,1)),t.d),n),r=D0(d,t,null),r&&r.Fi(),jl(e.eb,k5,_wt,!0,!1,!0),_a(l(Re(rt(e.eb),0),34),e.e,"ordered",z9,0,1,k5,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.eb),1),34),e.e,"unique",z9,0,1,k5,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.eb),2),34),e.I,"lowerBound",null,0,1,k5,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.eb),3),34),e.I,"upperBound","1",0,1,k5,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.eb),4),34),e.e,"many",null,0,1,k5,!0,!0,!1,!1,!0,!0),_a(l(Re(rt(e.eb),5),34),e.e,"required",null,0,1,k5,!0,!0,!1,!1,!0,!0),Fs(l(Re(rt(e.eb),6),18),e.p,null,"eType",0,1,k5,!1,!0,!0,!1,!0,!0,!1),Fs(l(Re(rt(e.eb),7),18),e.H,null,"eGenericType",0,1,k5,!1,!0,!0,!0,!1,!0,!1),jl(e.ab,H2,"EStringToStringMapEntry",!1,!1,!1),_a(l(Re(rt(e.ab),0),34),e._,"key",null,0,1,H2,!1,!1,!0,!1,!0,!1),_a(l(Re(rt(e.ab),1),34),e._,fL,null,0,1,H2,!1,!1,!0,!1,!0,!1),jl(e.H,Fc,Swt,!1,!1,!0),Fs(l(Re(rt(e.H),0),18),e.H,null,"eUpperBound",0,1,Fc,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.H),1),18),e.H,null,"eTypeArguments",0,-1,Fc,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.H),2),18),e.p,null,"eRawType",1,1,Fc,!0,!1,!1,!1,!0,!1,!0),Fs(l(Re(rt(e.H),3),18),e.H,null,"eLowerBound",0,1,Fc,!1,!1,!0,!0,!1,!1,!1),Fs(l(Re(rt(e.H),4),18),e.db,null,"eTypeParameter",0,1,Fc,!1,!1,!0,!1,!1,!1,!1),Fs(l(Re(rt(e.H),5),18),e.p,null,"eClassifier",0,1,Fc,!1,!1,!0,!1,!0,!1,!1),d=qc(l(Re(ks(e.H),0),59),e.e,$wt),rl(d,e.M,uR),jl(e.db,Qu,Lwt,!1,!1,!0),Fs(l(Re(rt(e.db),0),18),e.H,null,"eBounds",0,-1,Qu,!1,!1,!0,!0,!1,!1,!1),Ui(e.c,I1e,"EBigDecimal",!0),Ui(e.d,m_,"EBigInteger",!0),Ui(e.e,uf,"EBoolean",!0),Ui(e.f,Ya,"EBooleanObject",!0),Ui(e.i,Rh,"EByte",!0),Ui(e.g,de(Rh,1),"EByteArray",!0),Ui(e.j,u8,"EByteObject",!0),Ui(e.k,md,"EChar",!0),Ui(e.n,kL,"ECharacterObject",!0),Ui(e.r,ZW,"EDate",!0),Ui(e.s,kNe,"EDiagnosticChain",!1),Ui(e.t,Eo,"EDouble",!0),Ui(e.u,Mo,"EDoubleObject",!0),Ui(e.fb,FPe,"EEList",!1),Ui(e.A,HPe,"EEnumerator",!1),Ui(e.C,uNe,"EFeatureMap",!1),Ui(e.D,gX,"EFeatureMapEntry",!1),Ui(e.F,M5,"EFloat",!0),Ui(e.G,X9,"EFloatObject",!0),Ui(e.I,ri,"EInt",!0),Ui(e.J,hc,"EIntegerObject",!0),Ui(e.L,HSe,"EJavaClass",!0),Ui(e.M,xr,"EJavaObject",!0),Ui(e.N,Db,"ELong",!0),Ui(e.O,Hy,"ELongObject",!0),Ui(e.P,zSe,"EMap",!1),Ui(e.X,aNe,"EResource",!1),Ui(e.Y,ENe,"EResourceSet",!1),Ui(e.Z,U_,"EShort",!0),Ui(e.$,zy,"EShortObject",!0),Ui(e._,jt,"EString",!0),Ui(e.cb,$Pe,"ETreeIterator",!1),Ui(e.K,TNe,"EInvocationTargetException",!1),Bxe(e,Nd))}var uR="object",Xk="boolean",EEe="number",$he="string",Hhe="function",as=2147483647,Il="java.lang",hR={3:1},fR="com.google.common.base",bc=", ",Zmt="%s (%s) must not be negative",Ht={3:1,4:1,5:1},Jmt="negative size: ",evt="Optional.of(",vh="null",C9={198:1,47:1},ln="com.google.common.collect",A9={198:1,47:1,125:1},I2={224:1,3:1},ko={47:1},Yr="java.util",Dy={83:1},q4={20:1,28:1,14:1},P0=1965,Oh={20:1,28:1,14:1,21:1},tvt={83:1,171:1,161:1},nvt={20:1,28:1,14:1,21:1,84:1},TEe={20:1,28:1,14:1,271:1,21:1,84:1},np={47:1,125:1},jG={345:1,42:1},rvt="AbstractMapEntry",ivt="expectedValuesPerKey",dt={3:1,6:1,4:1,5:1},vg=16384,Ld={164:1},vr={38:1},$G={l:4194303,m:4194303,h:524287},dR={196:1},zhe={245:1,3:1,35:1},svt="range unbounded on this side",rp={20:1},avt={20:1,14:1},SEe={3:1,20:1,28:1,14:1},qM={152:1,3:1,20:1,28:1,14:1,15:1,54:1},HG={3:1,4:1,5:1,165:1},M9={3:1,83:1},Vhe={20:1,14:1,21:1},L9={3:1,20:1,28:1,14:1,21:1},ovt={20:1,14:1,21:1,84:1},ip=461845907,sp=-862048943,gR={3:1,6:1,4:1,5:1,165:1},cvt="expectedSize",UM=1073741824,U4="initialArraySize",vt={3:1,6:1,4:1,9:1,5:1},I9={20:1,28:1,52:1,14:1,15:1},qhe="arraySize",lvt={20:1,28:1,52:1,14:1,15:1,54:1},Xi={45:1},zG={365:1},sb=1e-4,Jo=-2147483648,uvt="__noinit__",Wp={3:1,102:1,60:1,78:1},pR="com.google.gwt.core.client.impl",CEe="String",AEe="com.google.gwt.core.client",Uhe="anonymous",Ghe="fnStack",MEe="Unknown",bg={195:1,3:1,4:1},Fm=1e3,Aa=65535,Whe="January",Khe="February",Yhe="March",Xhe="April",Qk="May",Qhe="June",Zhe="July",Jhe="August",efe="September",tfe="October",nfe="November",rfe="December",ab=1900,Pi={48:1,3:1,4:1},hvt="Before Christ",fvt="Anno Domini",ife="Sunday",sfe="Monday",afe="Tuesday",ofe="Wednesday",cfe="Thursday",lfe="Friday",ufe="Saturday",LEe="com.google.gwt.i18n.shared",dvt="DateTimeFormat",hfe="com.google.gwt.i18n.client",gvt="DefaultDateTimeFormatInfo",pvt={3:1,4:1,35:1,199:1},Zk="com.google.gwt.json.client",af=4194303,Kp=1048575,mR=524288,Jk=4194304,O2=17592186044416,VG=1e9,vR=-17592186044416,IEe="java.io",ffe={3:1,102:1,73:1,60:1,78:1},mvt={3:1,289:1,78:1},Py='For input string: "',ma=1/0,Oa=-1/0,G4=4096,dfe={3:1,4:1,364:1},wc=65536,bR=55296,Gc={104:1,3:1,4:1},gfe=1e5,vvt=.3010299956639812,Nc=4294967295,pfe=4294967296,O9="0.0",mfe={42:1},bvt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},wvt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},yvt={20:1,14:1,15:1},vfe={3:1,62:1},wR={182:1},s_={3:1,4:1,83:1},OEe={3:1,4:1,20:1,28:1,14:1,53:1,21:1},bfe="delete",GM=14901161193847656e-24,WM=11102230246251565e-32,wfe=15525485,yR=5960464477539063e-23,DEe=16777216,qG=16777215,PEe=", length: ",_vt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},yfe={3:1,35:1,22:1,297:1},_fe="java.util.function",KM="java.util.logging",xvt={3:1,4:1,5:1,842:1},xfe="undefined",Ha="java.util.stream",NEe={525:1,670:1},UG="fromIndex: ",kvt=" > toIndex: ",REe=", toIndex: ",BEe="Index: ",FEe=", Size: ",D9="org.eclipse.elk.alg.common",As={62:1},Evt="org.eclipse.elk.alg.common.compaction",Tvt="Scanline/EventHandler",ap="org.eclipse.elk.alg.common.compaction.oned",Svt="CNode belongs to another CGroup.",Cvt="ISpacingsHandler/1",kfe="The ",Efe=" instance has been finished already.",Avt="The direction ",Mvt=" is not supported by the CGraph instance.",Lvt="OneDimensionalCompactor",Ivt="OneDimensionalCompactor/lambda$0$Type",Ovt="Quadruplet",Dvt="ScanlineConstraintCalculator",Pvt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Nvt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",Rvt="ScanlineConstraintCalculator/Timestamp",Bvt="ScanlineConstraintCalculator/lambda$0$Type",wg={169:1,45:1},Tfe="org.eclipse.elk.alg.common.compaction.options",Ol="org.eclipse.elk.core.data",jEe="org.eclipse.elk.polyomino.traversalStrategy",$Ee="org.eclipse.elk.polyomino.lowLevelSort",HEe="org.eclipse.elk.polyomino.highLevelSort",zEe="org.eclipse.elk.polyomino.fill",Id={130:1},Sfe="polyomino",YM="org.eclipse.elk.alg.common.networksimplex",op={177:1,3:1,4:1},Fvt="org.eclipse.elk.alg.common.nodespacing",D2="org.eclipse.elk.alg.common.nodespacing.cellsystem",P9="CENTER",jvt={212:1,326:1},VEe={3:1,4:1,5:1,595:1},e8="LEFT",t8="RIGHT",qEe="Vertical alignment cannot be null",UEe="BOTTOM",GG="org.eclipse.elk.alg.common.nodespacing.internal",XM="UNDEFINED",N0=.01,_R="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",$vt="LabelPlacer/lambda$0$Type",Hvt="LabelPlacer/lambda$1$Type",zvt="portRatioOrPosition",N9="org.eclipse.elk.alg.common.overlaps",Cfe="DOWN",yg="org.eclipse.elk.alg.common.polyomino",WG="NORTH",Afe="EAST",Mfe="SOUTH",Lfe="WEST",KG="org.eclipse.elk.alg.common.polyomino.structures",GEe="Direction",Ife="Grid is only of size ",Ofe=". Requested point (",Dfe=") is out of bounds.",YG=" Given center based coordinates were (",xR="org.eclipse.elk.graph.properties",Vvt="IPropertyHolder",WEe={3:1,94:1,134:1},n8="org.eclipse.elk.alg.common.spore",qvt="org.eclipse.elk.alg.common.utils",P2={209:1},a_="org.eclipse.elk.core",Uvt="Connected Components Compaction",Gvt="org.eclipse.elk.alg.disco",XG="org.eclipse.elk.alg.disco.graph",Pfe="org.eclipse.elk.alg.disco.options",KEe="CompactionStrategy",YEe="org.eclipse.elk.disco.componentCompaction.strategy",XEe="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",QEe="org.eclipse.elk.disco.debug.discoGraph",ZEe="org.eclipse.elk.disco.debug.discoPolys",Wvt="componentCompaction",N2="org.eclipse.elk.disco",Nfe="org.eclipse.elk.spacing.componentComponent",Rfe="org.eclipse.elk.edge.thickness",r8="org.eclipse.elk.aspectRatio",Ny="org.eclipse.elk.padding",o_="org.eclipse.elk.alg.disco.transform",Bfe=1.5707963267948966,R9=17976931348623157e292,W4={3:1,4:1,5:1,192:1},JEe={3:1,6:1,4:1,5:1,106:1,120:1},e9e="org.eclipse.elk.alg.force",t9e="ComponentsProcessor",Kvt="ComponentsProcessor/1",kR="org.eclipse.elk.alg.force.graph",Yvt="Component Layout",n9e="org.eclipse.elk.alg.force.model",QG="org.eclipse.elk.force.model",r9e="org.eclipse.elk.force.iterations",i9e="org.eclipse.elk.force.repulsivePower",Ffe="org.eclipse.elk.force.temperature",_g=.001,jfe="org.eclipse.elk.force.repulsion",QM="org.eclipse.elk.alg.force.options",B9=1.600000023841858,jf="org.eclipse.elk.force",ER="org.eclipse.elk.priority",K4="org.eclipse.elk.spacing.nodeNode",$fe="org.eclipse.elk.spacing.edgeLabel",ZG="org.eclipse.elk.randomSeed",ZM="org.eclipse.elk.separateConnectedComponents",TR="org.eclipse.elk.interactive",Hfe="org.eclipse.elk.portConstraints",JG="org.eclipse.elk.edgeLabels.inline",JM="org.eclipse.elk.omitNodeMicroLayout",i8="org.eclipse.elk.nodeSize.options",c_="org.eclipse.elk.nodeSize.constraints",F9="org.eclipse.elk.nodeLabels.placement",j9="org.eclipse.elk.portLabels.placement",s9e="origin",Xvt="random",Qvt="boundingBox.upLeft",Zvt="boundingBox.lowRight",a9e="org.eclipse.elk.stress.fixed",o9e="org.eclipse.elk.stress.desiredEdgeLength",c9e="org.eclipse.elk.stress.dimension",l9e="org.eclipse.elk.stress.epsilon",u9e="org.eclipse.elk.stress.iterationLimit",ob="org.eclipse.elk.stress",Jvt="ELK Stress",s8="org.eclipse.elk.nodeSize.minimum",eW="org.eclipse.elk.alg.force.stress",ebt="Layered layout",a8="org.eclipse.elk.alg.layered",SR="org.eclipse.elk.alg.layered.compaction.components",eL="org.eclipse.elk.alg.layered.compaction.oned",tW="org.eclipse.elk.alg.layered.compaction.oned.algs",R2="org.eclipse.elk.alg.layered.compaction.recthull",xg="org.eclipse.elk.alg.layered.components",Yp="NONE",ru={3:1,6:1,4:1,9:1,5:1,122:1},tbt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},nW="org.eclipse.elk.alg.layered.compound",va={51:1},ju="org.eclipse.elk.alg.layered.graph",zfe=" -> ",nbt="Not supported by LGraph",h9e="Port side is undefined",Vfe={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},jm={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},rbt={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},ibt=`([{"' \r
`,sbt=`)]}"' \r
`,abt="The given string contains parts that cannot be parsed as numbers.",CR="org.eclipse.elk.core.math",obt={3:1,4:1,142:1,207:1,414:1},cbt={3:1,4:1,116:1,207:1,414:1},mr="org.eclipse.elk.layered",$m="org.eclipse.elk.alg.layered.graph.transform",lbt="ElkGraphImporter",ubt="ElkGraphImporter/lambda$0$Type",hbt="ElkGraphImporter/lambda$1$Type",fbt="ElkGraphImporter/lambda$2$Type",dbt="ElkGraphImporter/lambda$4$Type",gbt="Node margin calculation",sr="org.eclipse.elk.alg.layered.intermediate",pbt="ONE_SIDED_GREEDY_SWITCH",mbt="TWO_SIDED_GREEDY_SWITCH",qfe="No implementation is available for the layout processor ",f9e="IntermediateProcessorStrategy",Ufe="Node '",vbt="FIRST_SEPARATE",bbt="LAST_SEPARATE",wbt="Odd port side processing",Da="org.eclipse.elk.alg.layered.intermediate.compaction",tL="org.eclipse.elk.alg.layered.intermediate.greedyswitch",cp="org.eclipse.elk.alg.layered.p3order.counting",AR={225:1},o8="org.eclipse.elk.alg.layered.intermediate.loops",$f="org.eclipse.elk.alg.layered.intermediate.loops.ordering",cb="org.eclipse.elk.alg.layered.intermediate.loops.routing",nL="org.eclipse.elk.alg.layered.intermediate.preserveorder",kg="org.eclipse.elk.alg.layered.intermediate.wrapping",iu="org.eclipse.elk.alg.layered.options",Gfe="INTERACTIVE",ybt="DEPTH_FIRST",_bt="EDGE_LENGTH",xbt="SELF_LOOPS",kbt="firstTryWithInitialOrder",d9e="org.eclipse.elk.layered.directionCongruency",g9e="org.eclipse.elk.layered.feedbackEdges",rW="org.eclipse.elk.layered.interactiveReferencePoint",p9e="org.eclipse.elk.layered.mergeEdges",m9e="org.eclipse.elk.layered.mergeHierarchyEdges",v9e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",b9e="org.eclipse.elk.layered.portSortingStrategy",w9e="org.eclipse.elk.layered.thoroughness",y9e="org.eclipse.elk.layered.unnecessaryBendpoints",_9e="org.eclipse.elk.layered.generatePositionAndLayerIds",Wfe="org.eclipse.elk.layered.cycleBreaking.strategy",MR="org.eclipse.elk.layered.layering.strategy",x9e="org.eclipse.elk.layered.layering.layerConstraint",k9e="org.eclipse.elk.layered.layering.layerChoiceConstraint",E9e="org.eclipse.elk.layered.layering.layerId",Kfe="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",Yfe="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Xfe="org.eclipse.elk.layered.layering.nodePromotion.strategy",Qfe="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",Zfe="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",rL="org.eclipse.elk.layered.crossingMinimization.strategy",T9e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",Jfe="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",ede="org.eclipse.elk.layered.crossingMinimization.semiInteractive",S9e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",C9e="org.eclipse.elk.layered.crossingMinimization.positionId",A9e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",tde="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",iW="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",l_="org.eclipse.elk.layered.nodePlacement.strategy",sW="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",nde="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",rde="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",ide="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",sde="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",ade="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",M9e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",L9e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",aW="org.eclipse.elk.layered.edgeRouting.splines.mode",oW="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ode="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",I9e="org.eclipse.elk.layered.spacing.baseValue",O9e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",D9e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",P9e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",N9e="org.eclipse.elk.layered.priority.direction",R9e="org.eclipse.elk.layered.priority.shortness",B9e="org.eclipse.elk.layered.priority.straightness",cde="org.eclipse.elk.layered.compaction.connectedComponents",F9e="org.eclipse.elk.layered.compaction.postCompaction.strategy",j9e="org.eclipse.elk.layered.compaction.postCompaction.constraints",cW="org.eclipse.elk.layered.highDegreeNodes.treatment",lde="org.eclipse.elk.layered.highDegreeNodes.threshold",ude="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Xp="org.eclipse.elk.layered.wrapping.strategy",lW="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",uW="org.eclipse.elk.layered.wrapping.correctionFactor",iL="org.eclipse.elk.layered.wrapping.cutting.strategy",hde="org.eclipse.elk.layered.wrapping.cutting.cuts",fde="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",hW="org.eclipse.elk.layered.wrapping.validify.strategy",fW="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",dW="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",gW="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",dde="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",$9e="org.eclipse.elk.layered.edgeLabels.sideSelection",H9e="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",pW="org.eclipse.elk.layered.considerModelOrder.strategy",z9e="org.eclipse.elk.layered.considerModelOrder.noModelOrder",gde="org.eclipse.elk.layered.considerModelOrder.components",V9e="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",pde="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",mde="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",vde="layering",Ebt="layering.minWidth",Tbt="layering.nodePromotion",LR="crossingMinimization",mW="org.eclipse.elk.hierarchyHandling",Sbt="crossingMinimization.greedySwitch",Cbt="nodePlacement",Abt="nodePlacement.bk",Mbt="edgeRouting",IR="org.eclipse.elk.edgeRouting",R0="spacing",q9e="priority",U9e="compaction",Lbt="compaction.postCompaction",Ibt="Specifies whether and how post-process compaction is applied.",G9e="highDegreeNodes",W9e="wrapping",Obt="wrapping.cutting",Dbt="wrapping.validify",K9e="wrapping.multiEdge",bde="edgeLabels",OR="considerModelOrder",Y9e="org.eclipse.elk.spacing.commentComment",X9e="org.eclipse.elk.spacing.commentNode",Q9e="org.eclipse.elk.spacing.edgeEdge",Z9e="org.eclipse.elk.spacing.edgeNode",J9e="org.eclipse.elk.spacing.labelLabel",eTe="org.eclipse.elk.spacing.labelPortHorizontal",tTe="org.eclipse.elk.spacing.labelPortVertical",nTe="org.eclipse.elk.spacing.labelNode",rTe="org.eclipse.elk.spacing.nodeSelfLoop",iTe="org.eclipse.elk.spacing.portPort",sTe="org.eclipse.elk.spacing.individual",aTe="org.eclipse.elk.port.borderOffset",oTe="org.eclipse.elk.noLayout",cTe="org.eclipse.elk.port.side",DR="org.eclipse.elk.debugMode",lTe="org.eclipse.elk.alignment",uTe="org.eclipse.elk.insideSelfLoops.activate",hTe="org.eclipse.elk.insideSelfLoops.yo",wde="org.eclipse.elk.nodeSize.fixedGraphSize",fTe="org.eclipse.elk.direction",dTe="org.eclipse.elk.nodeLabels.padding",gTe="org.eclipse.elk.portLabels.nextToPortIfPossible",pTe="org.eclipse.elk.portLabels.treatAsGroup",mTe="org.eclipse.elk.portAlignment.default",vTe="org.eclipse.elk.portAlignment.north",bTe="org.eclipse.elk.portAlignment.south",wTe="org.eclipse.elk.portAlignment.west",yTe="org.eclipse.elk.portAlignment.east",vW="org.eclipse.elk.contentAlignment",_Te="org.eclipse.elk.junctionPoints",xTe="org.eclipse.elk.edgeLabels.placement",kTe="org.eclipse.elk.port.index",ETe="org.eclipse.elk.commentBox",TTe="org.eclipse.elk.hypernode",STe="org.eclipse.elk.port.anchor",yde="org.eclipse.elk.partitioning.activate",_de="org.eclipse.elk.partitioning.partition",bW="org.eclipse.elk.position",CTe="org.eclipse.elk.margins",ATe="org.eclipse.elk.spacing.portsSurrounding",xde="org.eclipse.elk.interactiveLayout",su="org.eclipse.elk.core.util",MTe={3:1,4:1,5:1,593:1},Pbt="NETWORK_SIMPLEX",Cu={123:1,51:1},wW="org.eclipse.elk.alg.layered.p1cycles",Y4="org.eclipse.elk.alg.layered.p2layers",LTe={402:1,225:1},Nbt={832:1,3:1,4:1},Dh="org.eclipse.elk.alg.layered.p3order",Rc="org.eclipse.elk.alg.layered.p4nodes",Rbt={3:1,4:1,5:1,840:1},Eg=1e-5,lb="org.eclipse.elk.alg.layered.p4nodes.bk",kde="org.eclipse.elk.alg.layered.p5edges",Q1="org.eclipse.elk.alg.layered.p5edges.orthogonal",Ede="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Tde=1e-6,X4="org.eclipse.elk.alg.layered.p5edges.splines",Sde=.09999999999999998,yW=1e-8,Bbt=4.71238898038469,Fbt=3.141592653589793,sL="org.eclipse.elk.alg.mrtree",aL="org.eclipse.elk.alg.mrtree.graph",c8="org.eclipse.elk.alg.mrtree.intermediate",jbt="Set neighbors in level",$bt="DESCENDANTS",ITe="org.eclipse.elk.mrtree.weighting",OTe="org.eclipse.elk.mrtree.searchOrder",_W="org.eclipse.elk.alg.mrtree.options",Hm="org.eclipse.elk.mrtree",Hbt="org.eclipse.elk.tree",DTe="org.eclipse.elk.alg.radial",u_=6.283185307179586,PTe=5e-324,zbt="org.eclipse.elk.alg.radial.intermediate",Cde="org.eclipse.elk.alg.radial.intermediate.compaction",Vbt={3:1,4:1,5:1,106:1},NTe="org.eclipse.elk.alg.radial.intermediate.optimization",Ade="No implementation is available for the layout option ",oL="org.eclipse.elk.alg.radial.options",RTe="org.eclipse.elk.radial.orderId",BTe="org.eclipse.elk.radial.radius",Mde="org.eclipse.elk.radial.compactor",Lde="org.eclipse.elk.radial.compactionStepSize",FTe="org.eclipse.elk.radial.sorter",jTe="org.eclipse.elk.radial.wedgeCriteria",$Te="org.eclipse.elk.radial.optimizationCriteria",Tg="org.eclipse.elk.radial",qbt="org.eclipse.elk.alg.radial.p1position.wedge",HTe="org.eclipse.elk.alg.radial.sorting",Ubt=5.497787143782138,Gbt=3.9269908169872414,Wbt=2.356194490192345,Kbt="org.eclipse.elk.alg.rectpacking",xW="org.eclipse.elk.alg.rectpacking.firstiteration",Ide="org.eclipse.elk.alg.rectpacking.options",zTe="org.eclipse.elk.rectpacking.optimizationGoal",VTe="org.eclipse.elk.rectpacking.lastPlaceShift",qTe="org.eclipse.elk.rectpacking.currentPosition",UTe="org.eclipse.elk.rectpacking.desiredPosition",GTe="org.eclipse.elk.rectpacking.onlyFirstIteration",WTe="org.eclipse.elk.rectpacking.rowCompaction",Ode="org.eclipse.elk.rectpacking.expandToAspectRatio",KTe="org.eclipse.elk.rectpacking.targetWidth",kW="org.eclipse.elk.expandNodes",Od="org.eclipse.elk.rectpacking",PR="org.eclipse.elk.alg.rectpacking.util",EW="No implementation available for ",Q4="org.eclipse.elk.alg.spore",Z4="org.eclipse.elk.alg.spore.options",Ry="org.eclipse.elk.sporeCompaction",Dde="org.eclipse.elk.underlyingLayoutAlgorithm",YTe="org.eclipse.elk.processingOrder.treeConstruction",XTe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Pde="org.eclipse.elk.processingOrder.preferredRoot",Nde="org.eclipse.elk.processingOrder.rootSelection",Rde="org.eclipse.elk.structure.structureExtractionStrategy",QTe="org.eclipse.elk.compaction.compactionStrategy",ZTe="org.eclipse.elk.compaction.orthogonal",JTe="org.eclipse.elk.overlapRemoval.maxIterations",eSe="org.eclipse.elk.overlapRemoval.runScanline",Bde="processingOrder",Ybt="overlapRemoval",$9="org.eclipse.elk.sporeOverlap",Xbt="org.eclipse.elk.alg.spore.p1structure",Fde="org.eclipse.elk.alg.spore.p2processingorder",jde="org.eclipse.elk.alg.spore.p3execution",Qbt="Invalid index: ",H9="org.eclipse.elk.core.alg",h_={331:1},J4={288:1},Zbt="Make sure its type is registered with the ",tSe=" utility class.",z9="true",$de="false",Jbt="Couldn't clone property '",By=.05,Dd="org.eclipse.elk.core.options",e2t=1.2999999523162842,Fy="org.eclipse.elk.box",nSe="org.eclipse.elk.box.packingMode",t2t="org.eclipse.elk.algorithm",n2t="org.eclipse.elk.resolvedAlgorithm",rSe="org.eclipse.elk.bendPoints",UTn="org.eclipse.elk.labelManager",r2t="org.eclipse.elk.scaleFactor",i2t="org.eclipse.elk.animate",s2t="org.eclipse.elk.animTimeFactor",a2t="org.eclipse.elk.layoutAncestors",o2t="org.eclipse.elk.maxAnimTime",c2t="org.eclipse.elk.minAnimTime",l2t="org.eclipse.elk.progressBar",u2t="org.eclipse.elk.validateGraph",h2t="org.eclipse.elk.validateOptions",f2t="org.eclipse.elk.zoomToFit",GTn="org.eclipse.elk.font.name",d2t="org.eclipse.elk.font.size",g2t="org.eclipse.elk.edge.type",p2t="partitioning",m2t="nodeLabels",TW="portAlignment",Hde="nodeSize",zde="port",iSe="portLabels",v2t="insideSelfLoops",cL="org.eclipse.elk.fixed",SW="org.eclipse.elk.random",b2t="port must have a parent node to calculate the port side",w2t="The edge needs to have exactly one edge section. Found: ",lL="org.eclipse.elk.core.util.adapters",ud="org.eclipse.emf.ecore",f_="org.eclipse.elk.graph",y2t="EMapPropertyHolder",_2t="ElkBendPoint",x2t="ElkGraphElement",k2t="ElkConnectableShape",sSe="ElkEdge",E2t="ElkEdgeSection",T2t="EModelElement",S2t="ENamedElement",aSe="ElkLabel",oSe="ElkNode",cSe="ElkPort",C2t={92:1,90:1},l8="org.eclipse.emf.common.notify.impl",ub="The feature '",uL="' is not a valid changeable feature",A2t="Expecting null",Vde="' is not a valid feature",M2t="The feature ID",L2t=" is not a valid feature ID",Yl=32768,I2t={105:1,92:1,90:1,56:1,49:1,97:1},Wn="org.eclipse.emf.ecore.impl",B2="org.eclipse.elk.graph.impl",hL="Recursive containment not allowed for ",V9="The datatype '",jy="' is not a valid classifier",qde="The value '",d_={190:1,3:1,4:1},Ude="The class '",q9="http://www.eclipse.org/elk/ElkGraph",b1=1024,lSe="property",fL="value",Gde="source",O2t="properties",D2t="identifier",Wde="height",Kde="width",Yde="parent",Xde="text",Qde="children",P2t="hierarchical",uSe="sources",Zde="targets",hSe="sections",CW="bendPoints",fSe="outgoingShape",dSe="incomingShape",gSe="outgoingSections",pSe="incomingSections",uc="org.eclipse.emf.common.util",mSe="Severe implementation error in the Json to ElkGraph importer.",Sg="id",zo="org.eclipse.elk.graph.json",vSe="Unhandled parameter types: ",N2t="startPoint",R2t="An edge must have at least one source and one target (edge id: '",U9="').",B2t="Referenced edge section does not exist: ",F2t=" (edge id: '",bSe="target",j2t="sourcePoint",$2t="targetPoint",AW="group",Ki="name",H2t="connectableShape cannot be null",z2t="edge cannot be null",Jde="Passed edge is not 'simple'.",MW="org.eclipse.elk.graph.util",NR="The 'no duplicates' constraint is violated",e1e="targetIndex=",F2=", size=",t1e="sourceIndex=",Cg={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},n1e={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},LW="logging",V2t="measureExecutionTime",q2t="parser.parse.1",U2t="parser.parse.2",IW="parser.next.1",r1e="parser.next.2",G2t="parser.next.3",W2t="parser.next.4",j2="parser.factor.1",wSe="parser.factor.2",K2t="parser.factor.3",Y2t="parser.factor.4",X2t="parser.factor.5",Q2t="parser.factor.6",Z2t="parser.atom.1",J2t="parser.atom.2",ewt="parser.atom.3",ySe="parser.atom.4",i1e="parser.atom.5",_Se="parser.cc.1",OW="parser.cc.2",twt="parser.cc.3",nwt="parser.cc.5",xSe="parser.cc.6",kSe="parser.cc.7",s1e="parser.cc.8",rwt="parser.ope.1",iwt="parser.ope.2",swt="parser.ope.3",zm="parser.descape.1",awt="parser.descape.2",owt="parser.descape.3",cwt="parser.descape.4",lwt="parser.descape.5",hd="parser.process.1",uwt="parser.quantifier.1",hwt="parser.quantifier.2",fwt="parser.quantifier.3",dwt="parser.quantifier.4",ESe="parser.quantifier.5",gwt="org.eclipse.emf.common.notify",TSe={415:1,672:1},pwt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},RR={366:1,143:1},dL="index=",a1e={3:1,4:1,5:1,126:1},mwt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},SSe={3:1,6:1,4:1,5:1,192:1},vwt={3:1,4:1,5:1,165:1,367:1},bwt=";/?:@&=+$,",wwt="invalid authority: ",ywt="EAnnotation",_wt="ETypedElement",xwt="EStructuralFeature",kwt="EAttribute",Ewt="EClassifier",Twt="EEnumLiteral",Swt="EGenericType",Cwt="EOperation",Awt="EParameter",Mwt="EReference",Lwt="ETypeParameter",Vs="org.eclipse.emf.ecore.util",o1e={76:1},CSe={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},Iwt="org.eclipse.emf.ecore.util.FeatureMap$Entry",Ph=8192,e5=2048,gL="byte",DW="char",pL="double",mL="float",vL="int",bL="long",wL="short",Owt="java.lang.Object",g_={3:1,4:1,5:1,247:1},ASe={3:1,4:1,5:1,673:1},Dwt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},yl={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},BR="mixed",Oi="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Pd="kind",Pwt={3:1,4:1,5:1,674:1},MSe={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},PW={20:1,28:1,52:1,14:1,15:1,58:1,69:1},NW={47:1,125:1,279:1},RW={72:1,332:1},BW="The value of type '",FW="' must be of type '",p_=1316,Nd="http://www.eclipse.org/emf/2002/Ecore",jW=-32768,$y="constraints",ec="baseType",Nwt="getEStructuralFeature",Rwt="getFeatureID",yL="feature",Bwt="getOperationID",LSe="operation",Fwt="defaultValue",jwt="eTypeParameters",$wt="isInstance",Hwt="getEEnumLiteral",zwt="eContainingClass",qi={55:1},Vwt={3:1,4:1,5:1,119:1},qwt="org.eclipse.emf.ecore.resource",Uwt={92:1,90:1,591:1,1935:1},c1e="org.eclipse.emf.ecore.resource.impl",ISe="unspecified",FR="simple",$W="attribute",Gwt="attributeWildcard",HW="element",l1e="elementWildcard",Z1="collapse",u1e="itemType",zW="namespace",jR="##targetNamespace",Rd="whiteSpace",OSe="wildcards",$2="http://www.eclipse.org/emf/2003/XMLType",h1e="##any",G9="uninitialized",$R="The multiplicity constraint is violated",VW="org.eclipse.emf.ecore.xml.type",Wwt="ProcessingInstruction",Kwt="SimpleAnyType",Ywt="XMLTypeDocumentRoot",Ma="org.eclipse.emf.ecore.xml.type.impl",HR="INF",Xwt="processing",Qwt="ENTITIES_._base",DSe="minLength",PSe="ENTITY",qW="NCName",Zwt="IDREFS_._base",NSe="integer",f1e="token",d1e="pattern",Jwt="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",RSe="\\i\\c*",eyt="[\\i-[:]][\\c-[:]]*",tyt="nonPositiveInteger",zR="maxInclusive",BSe="NMTOKEN",nyt="NMTOKENS_._base",FSe="nonNegativeInteger",VR="minInclusive",ryt="normalizedString",iyt="unsignedByte",syt="unsignedInt",ayt="18446744073709551615",oyt="unsignedShort",cyt="processingInstruction",Vm="org.eclipse.emf.ecore.xml.type.internal",W9=1114111,lyt="Internal Error: shorthands: \\u",_L="xml:isDigit",g1e="xml:isWord",p1e="xml:isSpace",m1e="xml:isNameChar",v1e="xml:isInitialNameChar",uyt="09٠٩۰۹୯௧௯໙༠༩",hyt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩↀↂ〡〩ぁゔァヺㄅㄬ一龥가힣",fyt="Private Use",b1e="ASSIGNED",w1e="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀᄀᇿ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",jSe="UNASSIGNED",K9={3:1,117:1},dyt="org.eclipse.emf.ecore.xml.type.util",UW={3:1,4:1,5:1,368:1},$Se="org.eclipse.xtext.xbase.lib",gyt="Cannot add elements to a Range",pyt="Cannot set elements in a Range",myt="Cannot remove elements from a Range",GW="locale",WW="default",KW="user.agent",u,YW,y1e;v.goog=v.goog||{},v.goog.global=v.goog.global||v,b3n(),N(1,null,{},O),u.Fb=function(t){return lJe(this,t)},u.Gb=function(){return this.gm},u.Hb=function(){return Kw(this)},u.Ib=function(){var t;return Ov(tf(this))+"@"+(t=Ws(this)>>>0,t.toString(16))},u.equals=function(e){return this.Fb(e)},u.hashCode=function(){return this.Hb()},u.toString=function(){return this.Ib()};var vyt,byt,wyt;N(290,1,{290:1,2026:1},vxe),u.le=function(t){var n;return n=new vxe,n.i=4,t>1?n.c=Ait(this,t-1):n.c=this,n},u.me=function(){return Lp(this),this.b},u.ne=function(){return Ov(this)},u.oe=function(){return Lp(this),this.k},u.pe=function(){return(this.i&4)!=0},u.qe=function(){return(this.i&1)!=0},u.Ib=function(){return O_e(this)},u.i=0;var xr=F(Il,"Object",1),HSe=F(Il,"Class",290);N(1998,1,hR),F(fR,"Optional",1998),N(1170,1998,hR,j),u.Fb=function(t){return t===this},u.Hb=function(){return 2040732332},u.Ib=function(){return"Optional.absent()"},u.Jb=function(t){return ui(t),KC(),_1e};var _1e;F(fR,"Absent",1170),N(628,1,{},pae),F(fR,"Joiner",628);var WTn=na(fR,"Predicate");N(582,1,{169:1,582:1,3:1,45:1},DC),u.Mb=function(t){return gut(this,t)},u.Lb=function(t){return gut(this,t)},u.Fb=function(t){var n;return Le(t,582)?(n=l(t,582),u7e(this.a,n.a)):!1},u.Hb=function(){return xxe(this.a)+306654252},u.Ib=function(){return i4n(this.a)},F(fR,"Predicates/AndPredicate",582),N(408,1998,{408:1,3:1},j7),u.Fb=function(t){var n;return Le(t,408)?(n=l(t,408),hs(this.a,n.a)):!1},u.Hb=function(){return 1502476572+Ws(this.a)},u.Ib=function(){return evt+this.a+")"},u.Jb=function(t){return new j7(fq(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},F(fR,"Present",408),N(198,1,C9),u.Nb=function(t){jo(this,t)},u.Qb=function(){JYe()},F(ln,"UnmodifiableIterator",198),N(1978,198,A9),u.Qb=function(){JYe()},u.Rb=function(t){throw ue(new pi)},u.Wb=function(t){throw ue(new pi)},F(ln,"UnmodifiableListIterator",1978),N(386,1978,A9),u.Ob=function(){return this.c<this.d},u.Sb=function(){return this.c>0},u.Pb=function(){if(this.c>=this.d)throw ue(new Gl);return this.Xb(this.c++)},u.Tb=function(){return this.c},u.Ub=function(){if(this.c<=0)throw ue(new Gl);return this.Xb(--this.c)},u.Vb=function(){return this.c-1},u.c=0,u.d=0,F(ln,"AbstractIndexedListIterator",386),N(699,198,C9),u.Ob=function(){return fle(this)},u.Pb=function(){return S_e(this)},u.e=1,F(ln,"AbstractIterator",699),N(1986,1,{224:1}),u.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},u.Fb=function(t){return Lle(this,t)},u.Hb=function(){return Ws(this.Zb())},u.dc=function(){return this.gc()==0},u.ec=function(){return xk(this)},u.Ib=function(){return wl(this.Zb())},F(ln,"AbstractMultimap",1986),N(726,1986,I2),u.$b=function(){aU(this)},u._b=function(t){return bXe(this,t)},u.ac=function(){return new nE(this,this.c)},u.ic=function(t){return this.hc()},u.bc=function(){return new S6(this,this.c)},u.jc=function(){return this.mc(this.hc())},u.kc=function(){return new RYe(this)},u.lc=function(){return Bue(this.c.vc().Nc(),new V,64,this.d)},u.cc=function(t){return _s(this,t)},u.fc=function(t){return TN(this,t)},u.gc=function(){return this.d},u.mc=function(t){return In(),new S(t)},u.nc=function(){return new NYe(this)},u.oc=function(){return Bue(this.c.Cc().Nc(),new z,64,this.d)},u.pc=function(t,n){return new $q(this,t,n,null)},u.d=0,F(ln,"AbstractMapBasedMultimap",726),N(1631,726,I2),u.hc=function(){return new Nu(this.a)},u.jc=function(){return In(),In(),Lc},u.cc=function(t){return l(_s(this,t),15)},u.fc=function(t){return l(TN(this,t),15)},u.Zb=function(){return Ck(this)},u.Fb=function(t){return Lle(this,t)},u.qc=function(t){return l(_s(this,t),15)},u.rc=function(t){return l(TN(this,t),15)},u.mc=function(t){return FP(l(t,15))},u.pc=function(t,n){return Dst(this,t,l(n,15),null)},F(ln,"AbstractListMultimap",1631),N(732,1,ko),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.c.Ob()||this.e.Ob()},u.Pb=function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),42),this.b=t.cd(),this.a=l(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},u.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},F(ln,"AbstractMapBasedMultimap/Itr",732),N(1099,732,ko,NYe),u.sc=function(t,n){return n},F(ln,"AbstractMapBasedMultimap/1",1099),N(1100,1,{},z),u.Kb=function(t){return l(t,14).Nc()},F(ln,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),N(1101,732,ko,RYe),u.sc=function(t,n){return new Vw(t,n)},F(ln,"AbstractMapBasedMultimap/2",1101);var zSe=na(Yr,"Map");N(1967,1,Dy),u.wc=function(t){lM(this,t)},u.yc=function(t,n,r){return Wle(this,t,n,r)},u.$b=function(){this.vc().$b()},u.tc=function(t){return yue(this,t)},u._b=function(t){return!!d8e(this,t,!1)},u.uc=function(t){var n,r,i;for(r=this.vc().Kc();r.Ob();)if(n=l(r.Pb(),42),i=n.dd(),Je(t)===Je(i)||t!=null&&hs(t,i))return!0;return!1},u.Fb=function(t){var n,r,i;if(t===this)return!0;if(!Le(t,83)||(i=l(t,83),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(n=l(r.Pb(),42),!this.tc(n))return!1;return!0},u.xc=function(t){return Bl(d8e(this,t,!1))},u.Hb=function(){return fxe(this.vc())},u.dc=function(){return this.gc()==0},u.ec=function(){return new X3(this)},u.zc=function(t,n){throw ue(new bm("Put not supported on this map"))},u.Ac=function(t){cM(this,t)},u.Bc=function(t){return Bl(d8e(this,t,!0))},u.gc=function(){return this.vc().gc()},u.Ib=function(){return mdt(this)},u.Cc=function(){return new m0(this)},F(Yr,"AbstractMap",1967),N(1987,1967,Dy),u.bc=function(){return new Dz(this)},u.vc=function(){return Ont(this)},u.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},u.Cc=function(){var t;return t=this.i,t||(this.i=new uQe(this))},F(ln,"Maps/ViewCachingAbstractMap",1987),N(389,1987,Dy,nE),u.xc=function(t){return $0n(this,t)},u.Bc=function(t){return nmn(this,t)},u.$b=function(){this.d==this.e.c?this.e.$b():zV(new P5e(this))},u._b=function(t){return Wut(this.d,t)},u.Ec=function(){return new $7(this)},u.Dc=function(){return this.Ec()},u.Fb=function(t){return this===t||hs(this.d,t)},u.Hb=function(){return Ws(this.d)},u.ec=function(){return this.e.ec()},u.gc=function(){return this.d.gc()},u.Ib=function(){return wl(this.d)},F(ln,"AbstractMapBasedMultimap/AsMap",389);var B0=na(Il,"Iterable");N(28,1,q4),u.Jc=function(t){Ho(this,t)},u.Lc=function(){return this.Oc()},u.Nc=function(){return new zn(this,0)},u.Oc=function(){return new jn(null,this.Nc())},u.Fc=function(t){throw ue(new bm("Add not supported on this collection"))},u.Gc=function(t){return mc(this,t)},u.$b=function(){w6e(this)},u.Hc=function(t){return M4(this,t,!1)},u.Ic=function(t){return mN(this,t)},u.dc=function(){return this.gc()==0},u.Mc=function(t){return M4(this,t,!0)},u.Pc=function(){return W5e(this)},u.Qc=function(t){return NN(this,t)},u.Ib=function(){return tb(this)},F(Yr,"AbstractCollection",28);var Bd=na(Yr,"Set");N(P0,28,Oh),u.Nc=function(){return new zn(this,1)},u.Fb=function(t){return $ht(this,t)},u.Hb=function(){return fxe(this)},F(Yr,"AbstractSet",P0),N(1970,P0,Oh),F(ln,"Sets/ImprovedAbstractSet",1970),N(1971,1970,Oh),u.$b=function(){this.Rc().$b()},u.Hc=function(t){return _ht(this,t)},u.dc=function(){return this.Rc().dc()},u.Mc=function(t){var n;return this.Hc(t)?(n=l(t,42),this.Rc().ec().Mc(n.cd())):!1},u.gc=function(){return this.Rc().gc()},F(ln,"Maps/EntrySet",1971),N(1097,1971,Oh,$7),u.Hc=function(t){return Hxe(this.a.d.vc(),t)},u.Kc=function(){return new P5e(this.a)},u.Rc=function(){return this.a},u.Mc=function(t){var n;return Hxe(this.a.d.vc(),t)?(n=l(t,42),S1n(this.a.e,n.cd()),!0):!1},u.Nc=function(){return LP(this.a.d.vc().Nc(),new ez(this.a))},F(ln,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),N(1098,1,{},ez),u.Kb=function(t){return xat(this.a,l(t,42))},F(ln,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),N(730,1,ko,P5e),u.Nb=function(t){jo(this,t)},u.Pb=function(){var t;return t=l(this.b.Pb(),42),this.a=l(t.dd(),14),xat(this.c,t)},u.Ob=function(){return this.b.Ob()},u.Qb=function(){N6(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},F(ln,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),N(532,1970,Oh,Dz),u.$b=function(){this.b.$b()},u.Hc=function(t){return this.b._b(t)},u.Jc=function(t){ui(t),this.b.wc(new kse(t))},u.dc=function(){return this.b.dc()},u.Kc=function(){return new YC(this.b.vc().Kc())},u.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},u.gc=function(){return this.b.gc()},F(ln,"Maps/KeySet",532),N(318,532,Oh,S6),u.$b=function(){var t;zV((t=this.b.vc().Kc(),new a3e(this,t)))},u.Ic=function(t){return this.b.ec().Ic(t)},u.Fb=function(t){return this===t||hs(this.b.ec(),t)},u.Hb=function(){return Ws(this.b.ec())},u.Kc=function(){var t;return t=this.b.vc().Kc(),new a3e(this,t)},u.Mc=function(t){var n,r;return r=0,n=l(this.b.Bc(t),14),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},u.Nc=function(){return this.b.ec().Nc()},F(ln,"AbstractMapBasedMultimap/KeySet",318),N(731,1,ko,a3e),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.c.Ob()},u.Pb=function(){return this.a=l(this.c.Pb(),42),this.a.cd()},u.Qb=function(){var t;N6(!!this.a),t=l(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},F(ln,"AbstractMapBasedMultimap/KeySet/1",731),N(491,389,{83:1,161:1},kP),u.bc=function(){return this.Sc()},u.ec=function(){return this.Tc()},u.Sc=function(){return new JD(this.c,this.Uc())},u.Tc=function(){var t;return t=this.b,t||(this.b=this.Sc())},u.Uc=function(){return l(this.d,161)},F(ln,"AbstractMapBasedMultimap/SortedAsMap",491),N(542,491,tvt,MV),u.bc=function(){return new tE(this.a,l(l(this.d,161),171))},u.Sc=function(){return new tE(this.a,l(l(this.d,161),171))},u.ec=function(){var t;return t=this.b,l(t||(this.b=new tE(this.a,l(l(this.d,161),171))),271)},u.Tc=function(){var t;return t=this.b,l(t||(this.b=new tE(this.a,l(l(this.d,161),171))),271)},u.Uc=function(){return l(l(this.d,161),171)},F(ln,"AbstractMapBasedMultimap/NavigableAsMap",542),N(490,318,nvt,JD),u.Nc=function(){return this.b.ec().Nc()},F(ln,"AbstractMapBasedMultimap/SortedKeySet",490),N(388,490,TEe,tE),F(ln,"AbstractMapBasedMultimap/NavigableKeySet",388),N(541,28,q4,$q),u.Fc=function(t){var n,r;return nf(this),r=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,r&&CP(this)),n},u.Gc=function(t){var n,r,i;return t.dc()?!1:(i=(nf(this),this.d.gc()),n=this.d.Gc(t),n&&(r=this.d.gc(),this.f.d+=r-i,i==0&&CP(this)),n)},u.$b=function(){var t;t=(nf(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,WV(this))},u.Hc=function(t){return nf(this),this.d.Hc(t)},u.Ic=function(t){return nf(this),this.d.Ic(t)},u.Fb=function(t){return t===this?!0:(nf(this),hs(this.d,t))},u.Hb=function(){return nf(this),Ws(this.d)},u.Kc=function(){return nf(this),new y5e(this)},u.Mc=function(t){var n;return nf(this),n=this.d.Mc(t),n&&(--this.f.d,WV(this)),n},u.gc=function(){return KZe(this)},u.Nc=function(){return nf(this),this.d.Nc()},u.Ib=function(){return nf(this),wl(this.d)},F(ln,"AbstractMapBasedMultimap/WrappedCollection",541);var fd=na(Yr,"List");N(728,541,{20:1,28:1,14:1,15:1},Y5e),u.ad=function(t){P6(this,t)},u.Nc=function(){return nf(this),this.d.Nc()},u.Vc=function(t,n){var r;nf(this),r=this.d.dc(),l(this.d,15).Vc(t,n),++this.a.d,r&&CP(this)},u.Wc=function(t,n){var r,i,a;return n.dc()?!1:(a=(nf(this),this.d.gc()),r=l(this.d,15).Wc(t,n),r&&(i=this.d.gc(),this.a.d+=i-a,a==0&&CP(this)),r)},u.Xb=function(t){return nf(this),l(this.d,15).Xb(t)},u.Xc=function(t){return nf(this),l(this.d,15).Xc(t)},u.Yc=function(){return nf(this),new CJe(this)},u.Zc=function(t){return nf(this),new zrt(this,t)},u.$c=function(t){var n;return nf(this),n=l(this.d,15).$c(t),--this.a.d,WV(this),n},u._c=function(t,n){return nf(this),l(this.d,15)._c(t,n)},u.bd=function(t,n){return nf(this),Dst(this.a,this.e,l(this.d,15).bd(t,n),this.b?this.b:this)},F(ln,"AbstractMapBasedMultimap/WrappedList",728),N(1096,728,{20:1,28:1,14:1,15:1,54:1},bet),F(ln,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),N(620,1,ko,y5e),u.Nb=function(t){jo(this,t)},u.Ob=function(){return kE(this),this.b.Ob()},u.Pb=function(){return kE(this),this.b.Pb()},u.Qb=function(){eet(this)},F(ln,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),N(729,620,np,CJe,zrt),u.Qb=function(){eet(this)},u.Rb=function(t){var n;n=KZe(this.a)==0,(kE(this),l(this.b,125)).Rb(t),++this.a.a.d,n&&CP(this.a)},u.Sb=function(){return(kE(this),l(this.b,125)).Sb()},u.Tb=function(){return(kE(this),l(this.b,125)).Tb()},u.Ub=function(){return(kE(this),l(this.b,125)).Ub()},u.Vb=function(){return(kE(this),l(this.b,125)).Vb()},u.Wb=function(t){(kE(this),l(this.b,125)).Wb(t)},F(ln,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),N(727,541,nvt,H4e),u.Nc=function(){return nf(this),this.d.Nc()},F(ln,"AbstractMapBasedMultimap/WrappedSortedSet",727),N(1095,727,TEe,wJe),F(ln,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),N(1094,541,Oh,Det),u.Nc=function(){return nf(this),this.d.Nc()},F(ln,"AbstractMapBasedMultimap/WrappedSet",1094),N(1103,1,{},V),u.Kb=function(t){return O1n(l(t,42))},F(ln,"AbstractMapBasedMultimap/lambda$1$Type",1103),N(1102,1,{},use),u.Kb=function(t){return new Vw(this.a,t)},F(ln,"AbstractMapBasedMultimap/lambda$2$Type",1102);var H2=na(Yr,"Map/Entry");N(345,1,jG),u.Fb=function(t){var n;return Le(t,42)?(n=l(t,42),dg(this.cd(),n.cd())&&dg(this.dd(),n.dd())):!1},u.Hb=function(){var t,n;return t=this.cd(),n=this.dd(),(t==null?0:Ws(t))^(n==null?0:Ws(n))},u.ed=function(t){throw ue(new pi)},u.Ib=function(){return this.cd()+"="+this.dd()},F(ln,rvt,345),N(1988,28,q4),u.$b=function(){this.fd().$b()},u.Hc=function(t){var n;return Le(t,42)?(n=l(t,42),fdn(this.fd(),n.cd(),n.dd())):!1},u.Mc=function(t){var n;return Le(t,42)?(n=l(t,42),dst(this.fd(),n.cd(),n.dd())):!1},u.gc=function(){return this.fd().d},F(ln,"Multimaps/Entries",1988),N(733,1988,q4,RD),u.Kc=function(){return this.a.kc()},u.fd=function(){return this.a},u.Nc=function(){return this.a.lc()},F(ln,"AbstractMultimap/Entries",733),N(734,733,Oh,Rye),u.Nc=function(){return this.a.lc()},u.Fb=function(t){return I8e(this,t)},u.Hb=function(){return glt(this)},F(ln,"AbstractMultimap/EntrySet",734),N(735,28,q4,l6),u.$b=function(){this.a.$b()},u.Hc=function(t){return Xpn(this.a,t)},u.Kc=function(){return this.a.nc()},u.gc=function(){return this.a.d},u.Nc=function(){return this.a.oc()},F(ln,"AbstractMultimap/Values",735),N(1989,28,{835:1,20:1,28:1,14:1}),u.Jc=function(t){ui(t),A6(this).Jc(new xse(t))},u.Nc=function(){var t;return t=A6(this).Nc(),Bue(t,new Ie,64|t.qd()&1296,this.a.d)},u.Fc=function(t){return Uye(),!0},u.Gc=function(t){return ui(this),ui(t),Le(t,543)?vdn(l(t,835)):!t.dc()&&rle(this,t.Kc())},u.Hc=function(t){var n;return n=l(A4(Ck(this.a),t),14),(n?n.gc():0)>0},u.Fb=function(t){return u6n(this,t)},u.Hb=function(){return Ws(A6(this))},u.dc=function(){return A6(this).dc()},u.Mc=function(t){return D1t(this,t,1)>0},u.Ib=function(){return wl(A6(this))},F(ln,"AbstractMultiset",1989),N(1991,1970,Oh),u.$b=function(){aU(this.a.a)},u.Hc=function(t){var n,r;return Le(t,492)?(r=l(t,416),l(r.a.dd(),14).gc()<=0?!1:(n=Vit(this.a,r.a.cd()),n==l(r.a.dd(),14).gc())):!1},u.Mc=function(t){var n,r,i,a;return Le(t,492)&&(r=l(t,416),n=r.a.cd(),i=l(r.a.dd(),14).gc(),i!=0)?(a=this.a,Z4n(a,n,i)):!1},F(ln,"Multisets/EntrySet",1991),N(1109,1991,Oh,BD),u.Kc=function(){return new qYe(Ont(Ck(this.a.a)).Kc())},u.gc=function(){return Ck(this.a.a).gc()},F(ln,"AbstractMultiset/EntrySet",1109),N(619,726,I2),u.hc=function(){return this.gd()},u.jc=function(){return this.hd()},u.cc=function(t){return this.jd(t)},u.fc=function(t){return this.kd(t)},u.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},u.hd=function(){return In(),In(),tK},u.Fb=function(t){return Lle(this,t)},u.jd=function(t){return l(_s(this,t),21)},u.kd=function(t){return l(TN(this,t),21)},u.mc=function(t){return In(),new Q7(l(t,21))},u.pc=function(t,n){return new Det(this,t,l(n,21))},F(ln,"AbstractSetMultimap",619),N(1657,619,I2),u.hc=function(){return new Dv(this.b)},u.gd=function(){return new Dv(this.b)},u.jc=function(){return u6e(new Dv(this.b))},u.hd=function(){return u6e(new Dv(this.b))},u.cc=function(t){return l(l(_s(this,t),21),84)},u.jd=function(t){return l(l(_s(this,t),21),84)},u.fc=function(t){return l(l(TN(this,t),21),84)},u.kd=function(t){return l(l(TN(this,t),21),84)},u.mc=function(t){return Le(t,271)?u6e(l(t,271)):(In(),new y4e(l(t,84)))},u.Zb=function(){var t;return t=this.f,t||(this.f=Le(this.c,171)?new MV(this,l(this.c,171)):Le(this.c,161)?new kP(this,l(this.c,161)):new nE(this,this.c))},u.pc=function(t,n){return Le(n,271)?new wJe(this,t,l(n,271)):new H4e(this,t,l(n,84))},F(ln,"AbstractSortedSetMultimap",1657),N(1658,1657,I2),u.Zb=function(){var t;return t=this.f,l(l(t||(this.f=Le(this.c,171)?new MV(this,l(this.c,171)):Le(this.c,161)?new kP(this,l(this.c,161)):new nE(this,this.c)),161),171)},u.ec=function(){var t;return t=this.i,l(l(t||(this.i=Le(this.c,171)?new tE(this,l(this.c,171)):Le(this.c,161)?new JD(this,l(this.c,161)):new S6(this,this.c)),84),271)},u.bc=function(){return Le(this.c,171)?new tE(this,l(this.c,171)):Le(this.c,161)?new JD(this,l(this.c,161)):new S6(this,this.c)},F(ln,"AbstractSortedKeySortedSetMultimap",1658),N(2010,1,{1947:1}),u.Fb=function(t){return Hwn(this,t)},u.Hb=function(){var t;return fxe((t=this.g,t||(this.g=new PC(this))))},u.Ib=function(){var t;return mdt((t=this.f,t||(this.f=new f4e(this))))},F(ln,"AbstractTable",2010),N(665,P0,Oh,PC),u.$b=function(){eXe()},u.Hc=function(t){var n,r;return Le(t,468)?(n=l(t,682),r=l(A4(trt(this.a),Rv(n.c.e,n.b)),83),!!r&&Hxe(r.vc(),new Vw(Rv(n.c.c,n.a),Pk(n.c,n.b,n.a)))):!1},u.Kc=function(){return Thn(this.a)},u.Mc=function(t){var n,r;return Le(t,468)?(n=l(t,682),r=l(A4(trt(this.a),Rv(n.c.e,n.b)),83),!!r&&kmn(r.vc(),new Vw(Rv(n.c.c,n.a),Pk(n.c,n.b,n.a)))):!1},u.gc=function(){return dnt(this.a)},u.Nc=function(){return ydn(this.a)},F(ln,"AbstractTable/CellSet",665),N(1928,28,q4,hse),u.$b=function(){eXe()},u.Hc=function(t){return Oyn(this.a,t)},u.Kc=function(){return Shn(this.a)},u.gc=function(){return dnt(this.a)},u.Nc=function(){return mst(this.a)},F(ln,"AbstractTable/Values",1928),N(1632,1631,I2),F(ln,"ArrayListMultimapGwtSerializationDependencies",1632),N(513,1632,I2,gae,N6e),u.hc=function(){return new Nu(this.a)},u.a=0,F(ln,"ArrayListMultimap",513),N(664,2010,{664:1,1947:1,3:1},V1t),F(ln,"ArrayTable",664),N(1924,386,A9,KJe),u.Xb=function(t){return new mxe(this.a,t)},F(ln,"ArrayTable/1",1924),N(1925,1,{},JH),u.ld=function(t){return new mxe(this.a,t)},F(ln,"ArrayTable/1methodref$getCell$Type",1925),N(2011,1,{682:1}),u.Fb=function(t){var n;return t===this?!0:Le(t,468)?(n=l(t,682),dg(Rv(this.c.e,this.b),Rv(n.c.e,n.b))&&dg(Rv(this.c.c,this.a),Rv(n.c.c,n.a))&&dg(Pk(this.c,this.b,this.a),Pk(n.c,n.b,n.a))):!1},u.Hb=function(){return SU(pe(de(xr,1),Ht,1,5,[Rv(this.c.e,this.b),Rv(this.c.c,this.a),Pk(this.c,this.b,this.a)]))},u.Ib=function(){return"("+Rv(this.c.e,this.b)+","+Rv(this.c.c,this.a)+")="+Pk(this.c,this.b,this.a)},F(ln,"Tables/AbstractCell",2011),N(468,2011,{468:1,682:1},mxe),u.a=0,u.b=0,u.d=0,F(ln,"ArrayTable/2",468),N(1927,1,{},Kx),u.ld=function(t){return Cot(this.a,t)},F(ln,"ArrayTable/2methodref$getValue$Type",1927),N(1926,386,A9,YJe),u.Xb=function(t){return Cot(this.a,t)},F(ln,"ArrayTable/3",1926),N(1979,1967,Dy),u.$b=function(){zV(this.kc())},u.vc=function(){return new Xx(this)},u.lc=function(){return new Mrt(this.kc(),this.gc())},F(ln,"Maps/IteratorBasedAbstractMap",1979),N(828,1979,Dy),u.$b=function(){throw ue(new pi)},u._b=function(t){return wXe(this.c,t)},u.kc=function(){return new XJe(this,this.c.b.c.gc())},u.lc=function(){return Doe(this.c.b.c.gc(),16,new Lw(this))},u.xc=function(t){var n;return n=l(NA(this.c,t),19),n?this.nd(n.a):null},u.dc=function(){return this.c.b.c.dc()},u.ec=function(){return Hoe(this.c)},u.zc=function(t,n){var r;if(r=l(NA(this.c,t),19),!r)throw ue(new Jn(this.md()+" "+t+" not in "+Hoe(this.c)));return this.od(r.a,n)},u.Bc=function(t){throw ue(new pi)},u.gc=function(){return this.c.b.c.gc()},F(ln,"ArrayTable/ArrayMap",828),N(1923,1,{},Lw),u.ld=function(t){return rrt(this.a,t)},F(ln,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),N(1921,345,jG,JXe),u.cd=function(){return Hsn(this.a,this.b)},u.dd=function(){return this.a.nd(this.b)},u.ed=function(t){return this.a.od(this.b,t)},u.b=0,F(ln,"ArrayTable/ArrayMap/1",1921),N(1922,386,A9,XJe),u.Xb=function(t){return rrt(this.a,t)},F(ln,"ArrayTable/ArrayMap/2",1922),N(1920,828,Dy,qnt),u.md=function(){return"Column"},u.nd=function(t){return Pk(this.b,this.a,t)},u.od=function(t,n){return Jlt(this.b,this.a,t,n)},u.a=0,F(ln,"ArrayTable/Row",1920),N(829,828,Dy,f4e),u.nd=function(t){return new qnt(this.a,t)},u.zc=function(t,n){return l(n,83),Ern()},u.od=function(t,n){return l(n,83),Trn()},u.md=function(){return"Row"},F(ln,"ArrayTable/RowMap",829),N(1120,1,Ld,eQe),u.qd=function(){return this.a.qd()&-262},u.rd=function(){return this.a.rd()},u.Nb=function(t){this.a.Nb(new YXe(t,this.b))},u.sd=function(t){return this.a.sd(new KXe(t,this.b))},F(ln,"CollectSpliterators/1",1120),N(1121,1,vr,KXe),u.td=function(t){this.a.td(this.b.Kb(t))},F(ln,"CollectSpliterators/1/lambda$0$Type",1121),N(1122,1,vr,YXe),u.td=function(t){this.a.td(this.b.Kb(t))},F(ln,"CollectSpliterators/1/lambda$1$Type",1122),N(1123,1,Ld,Cst),u.qd=function(){return this.a},u.rd=function(){return this.d&&(this.b=MJe(this.b,this.d.rd())),MJe(this.b,0)},u.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new WXe(this.e,t)),this.b=0},u.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return kA(this.b,$G)&&(this.b=Jv(this.b,1)),!0;if(this.d=null,!this.c.sd(new XXe(this,this.e)))return!1}},u.a=0,u.b=0,F(ln,"CollectSpliterators/1FlatMapSpliterator",1123),N(1124,1,vr,XXe),u.td=function(t){qan(this.a,this.b,t)},F(ln,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),N(1125,1,vr,WXe),u.td=function(t){Asn(this.b,this.a,t)},F(ln,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),N(1117,1,Ld,ltt),u.qd=function(){return 16464|this.b},u.rd=function(){return this.a.rd()},u.Nb=function(t){this.a.xe(new ZXe(t,this.c))},u.sd=function(t){return this.a.ye(new QXe(t,this.c))},u.b=0,F(ln,"CollectSpliterators/1WithCharacteristics",1117),N(1118,1,dR,QXe),u.ud=function(t){this.a.td(this.b.ld(t))},F(ln,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),N(1119,1,dR,ZXe),u.ud=function(t){this.a.td(this.b.ld(t))},F(ln,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),N(245,1,zhe),u.wd=function(t){return this.vd(l(t,245))},u.vd=function(t){var n;return t==(sae(),k1e)?1:t==(aae(),x1e)?-1:(n=(jV(),fN(this.a,t.a)),n!=0?n:Le(this,519)==Le(t,519)?0:Le(this,519)?1:-1)},u.zd=function(){return this.a},u.Fb=function(t){return wke(this,t)},F(ln,"Cut",245),N(1761,245,zhe,rXe),u.vd=function(t){return t==this?0:1},u.xd=function(t){throw ue(new bye)},u.yd=function(t){t.a+="+∞)"},u.zd=function(){throw ue(new pl(svt))},u.Hb=function(){return Ug(),Ake(this)},u.Ad=function(t){return!1},u.Ib=function(){return"+∞"};var x1e;F(ln,"Cut/AboveAll",1761),N(519,245,{245:1,519:1,3:1,35:1},tet),u.xd=function(t){Wl((t.a+="(",t),this.a)},u.yd=function(t){zv(Wl(t,this.a),93)},u.Hb=function(){return~Ws(this.a)},u.Ad=function(t){return jV(),fN(this.a,t)<0},u.Ib=function(){return"/"+this.a+"\\"},F(ln,"Cut/AboveValue",519),N(1760,245,zhe,iXe),u.vd=function(t){return t==this?0:-1},u.xd=function(t){t.a+="(-∞"},u.yd=function(t){throw ue(new bye)},u.zd=function(){throw ue(new pl(svt))},u.Hb=function(){return Ug(),Ake(this)},u.Ad=function(t){return!0},u.Ib=function(){return"-∞"};var k1e;F(ln,"Cut/BelowAll",1760),N(1762,245,zhe,net),u.xd=function(t){Wl((t.a+="[",t),this.a)},u.yd=function(t){zv(Wl(t,this.a),41)},u.Hb=function(){return Ws(this.a)},u.Ad=function(t){return jV(),fN(this.a,t)<=0},u.Ib=function(){return"\\"+this.a+"/"},F(ln,"Cut/BelowValue",1762),N(537,1,rp),u.Jc=function(t){Ho(this,t)},u.Ib=function(){return Jmn(l(fq(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},F(ln,"FluentIterable",537),N(433,537,rp,SA),u.Kc=function(){return new Rr(zr(this.a.Kc(),new J))},F(ln,"FluentIterable/2",433),N(1046,537,rp,aJe),u.Kc=function(){return Hv(this)},F(ln,"FluentIterable/3",1046),N(708,386,A9,d4e),u.Xb=function(t){return this.a[t].Kc()},F(ln,"FluentIterable/3/1",708),N(1972,1,{}),u.Ib=function(){return wl(this.Bd().b)},F(ln,"ForwardingObject",1972),N(1973,1972,avt),u.Bd=function(){return this.Cd()},u.Jc=function(t){Ho(this,t)},u.Lc=function(){return this.Oc()},u.Nc=function(){return new zn(this,0)},u.Oc=function(){return new jn(null,this.Nc())},u.Fc=function(t){return this.Cd(),kXe()},u.Gc=function(t){return this.Cd(),EXe()},u.$b=function(){this.Cd(),TXe()},u.Hc=function(t){return this.Cd().Hc(t)},u.Ic=function(t){return this.Cd().Ic(t)},u.dc=function(){return this.Cd().b.dc()},u.Kc=function(){return this.Cd().Kc()},u.Mc=function(t){return this.Cd(),SXe()},u.gc=function(){return this.Cd().b.gc()},u.Pc=function(){return this.Cd().Pc()},u.Qc=function(t){return this.Cd().Qc(t)},F(ln,"ForwardingCollection",1973),N(1980,28,SEe),u.Kc=function(){return this.Ed()},u.Fc=function(t){throw ue(new pi)},u.Gc=function(t){throw ue(new pi)},u.$b=function(){throw ue(new pi)},u.Hc=function(t){return t!=null&&M4(this,t,!1)},u.Dd=function(){switch(this.gc()){case 0:return m4(),m4(),E1e;case 1:return m4(),new Poe(ui(this.Ed().Pb()));default:return new Unt(this,this.Pc())}},u.Mc=function(t){throw ue(new pi)},F(ln,"ImmutableCollection",1980),N(712,1980,SEe,mye),u.Kc=function(){return Nk(this.a.Kc())},u.Hc=function(t){return t!=null&&this.a.Hc(t)},u.Ic=function(t){return this.a.Ic(t)},u.dc=function(){return this.a.dc()},u.Ed=function(){return Nk(this.a.Kc())},u.gc=function(){return this.a.gc()},u.Pc=function(){return this.a.Pc()},u.Qc=function(t){return this.a.Qc(t)},u.Ib=function(){return wl(this.a)},F(ln,"ForwardingImmutableCollection",712),N(152,1980,qM),u.Kc=function(){return this.Ed()},u.Yc=function(){return this.Fd(0)},u.Zc=function(t){return this.Fd(t)},u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.bd=function(t,n){return this.Gd(t,n)},u.Vc=function(t,n){throw ue(new pi)},u.Wc=function(t,n){throw ue(new pi)},u.Fb=function(t){return K5n(this,t)},u.Hb=function(){return spn(this)},u.Xc=function(t){return t==null?-1:b2n(this,t)},u.Ed=function(){return this.Fd(0)},u.Fd=function(t){return A4e(this,t)},u.$c=function(t){throw ue(new pi)},u._c=function(t,n){throw ue(new pi)},u.Gd=function(t,n){var r;return MU((r=new hQe(this),new Qg(r,t,n)))};var E1e;F(ln,"ImmutableList",152),N(2006,152,qM),u.Kc=function(){return Nk(this.Hd().Kc())},u.bd=function(t,n){return MU(this.Hd().bd(t,n))},u.Hc=function(t){return t!=null&&this.Hd().Hc(t)},u.Ic=function(t){return this.Hd().Ic(t)},u.Fb=function(t){return hs(this.Hd(),t)},u.Xb=function(t){return Rv(this,t)},u.Hb=function(){return Ws(this.Hd())},u.Xc=function(t){return this.Hd().Xc(t)},u.dc=function(){return this.Hd().dc()},u.Ed=function(){return Nk(this.Hd().Kc())},u.gc=function(){return this.Hd().gc()},u.Gd=function(t,n){return MU(this.Hd().bd(t,n))},u.Pc=function(){return this.Hd().Qc(Ue(xr,Ht,1,this.Hd().gc(),5,1))},u.Qc=function(t){return this.Hd().Qc(t)},u.Ib=function(){return wl(this.Hd())},F(ln,"ForwardingImmutableList",2006),N(714,1,M9),u.vc=function(){return Zw(this)},u.wc=function(t){lM(this,t)},u.ec=function(){return Hoe(this)},u.yc=function(t,n,r){return Wle(this,t,n,r)},u.Cc=function(){return this.Ld()},u.$b=function(){throw ue(new pi)},u._b=function(t){return this.xc(t)!=null},u.uc=function(t){return this.Ld().Hc(t)},u.Jd=function(){return new KKe(this)},u.Kd=function(){return new YKe(this)},u.Fb=function(t){return Qpn(this,t)},u.Hb=function(){return Zw(this).Hb()},u.dc=function(){return this.gc()==0},u.zc=function(t,n){return Srn()},u.Bc=function(t){throw ue(new pi)},u.Ib=function(){return M3n(this)},u.Ld=function(){return this.e?this.e:this.e=this.Kd()},u.c=null,u.d=null,u.e=null;var yyt;F(ln,"ImmutableMap",714),N(715,714,M9),u._b=function(t){return wXe(this,t)},u.uc=function(t){return pQe(this.b,t)},u.Id=function(){return Gut(new RC(this))},u.Jd=function(){return Gut(Trt(this.b))},u.Kd=function(){return fg(),new mye(Ert(this.b))},u.Fb=function(t){return mQe(this.b,t)},u.xc=function(t){return NA(this,t)},u.Hb=function(){return Ws(this.b.c)},u.dc=function(){return this.b.c.dc()},u.gc=function(){return this.b.c.gc()},u.Ib=function(){return wl(this.b.c)},F(ln,"ForwardingImmutableMap",715),N(1974,1973,Vhe),u.Bd=function(){return this.Md()},u.Cd=function(){return this.Md()},u.Nc=function(){return new zn(this,1)},u.Fb=function(t){return t===this||this.Md().Fb(t)},u.Hb=function(){return this.Md().Hb()},F(ln,"ForwardingSet",1974),N(1069,1974,Vhe,RC),u.Bd=function(){return _E(this.a.b)},u.Cd=function(){return _E(this.a.b)},u.Hc=function(t){if(Le(t,42)&&l(t,42).cd()==null)return!1;try{return gQe(_E(this.a.b),t)}catch(n){if(n=ea(n),Le(n,205))return!1;throw ue(n)}},u.Md=function(){return _E(this.a.b)},u.Qc=function(t){var n;return n=ait(_E(this.a.b),t),_E(this.a.b).b.gc()<n.length&&la(n,_E(this.a.b).b.gc(),null),n},F(ln,"ForwardingImmutableMap/1",1069),N(1981,1980,L9),u.Kc=function(){return this.Ed()},u.Nc=function(){return new zn(this,1)},u.Fb=function(t){return I8e(this,t)},u.Hb=function(){return glt(this)},F(ln,"ImmutableSet",1981),N(703,1981,L9),u.Kc=function(){return Nk(new L(this.a.b.Kc()))},u.Hc=function(t){return t!=null&&eP(this.a,t)},u.Ic=function(t){return fQe(this.a,t)},u.Hb=function(){return Ws(this.a.b)},u.dc=function(){return this.a.b.dc()},u.Ed=function(){return Nk(new L(this.a.b.Kc()))},u.gc=function(){return this.a.b.gc()},u.Pc=function(){return this.a.b.Pc()},u.Qc=function(t){return dQe(this.a,t)},u.Ib=function(){return wl(this.a.b)},F(ln,"ForwardingImmutableSet",703),N(1975,1974,ovt),u.Bd=function(){return this.b},u.Cd=function(){return this.b},u.Md=function(){return this.b},u.Nc=function(){return new Uz(this)},F(ln,"ForwardingSortedSet",1975),N(533,1979,M9,ZU),u.Ac=function(t){cM(this,t)},u.Cc=function(){var t;return t=this.d,new ioe(t||(this.d=new Yx(this)))},u.$b=function(){WP(this)},u._b=function(t){return!!aM(this,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))))},u.uc=function(t){return Ect(this,t)},u.kc=function(){return new QJe(this,this)},u.wc=function(t){vit(this,t)},u.xc=function(t){return D6(this,t)},u.ec=function(){return new soe(this)},u.zc=function(t,n){return SG(this,t,n)},u.Bc=function(t){var n;return n=aM(this,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))),n?(X6(this,n),n.e=null,n.c=null,n.i):null},u.gc=function(){return this.i},u.pd=function(){var t;return t=this.d,new ioe(t||(this.d=new Yx(this)))},u.f=0,u.g=0,u.i=0,F(ln,"HashBiMap",533),N(534,1,ko),u.Nb=function(t){jo(this,t)},u.Ob=function(){return Rst(this)},u.Pb=function(){var t;if(!Rst(this))throw ue(new Gl);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},u.Qb=function(){if(this.e.g!=this.b)throw ue(new Zf);N6(!!this.f),X6(this.e,this.f),this.b=this.e.g,this.f=null},u.b=0,u.d=0,u.f=null,F(ln,"HashBiMap/Itr",534),N(1011,534,ko,QJe),u.Nd=function(t){return new rQe(this,t)},F(ln,"HashBiMap/1",1011),N(1012,345,jG,rQe),u.cd=function(){return this.a.g},u.dd=function(){return this.a.i},u.ed=function(t){var n,r,i;return r=this.a.i,i=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),i==this.a.f&&(Je(t)===Je(r)||t!=null&&hs(t,r))?t:(Ylt(!oM(this.b.a,t,i),t),X6(this.b.a,this.a),n=new sq(this.a.g,this.a.a,t,i),GN(this.b.a,n,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=n),this.a=n,r)},F(ln,"HashBiMap/1/MapEntry",1012),N(238,345,{345:1,238:1,3:1,42:1},Vw),u.cd=function(){return this.g},u.dd=function(){return this.i},u.ed=function(t){throw ue(new pi)},F(ln,"ImmutableEntry",238),N(317,238,{345:1,317:1,238:1,3:1,42:1},sq),u.a=0,u.f=0;var T1e=F(ln,"HashBiMap/BiEntry",317);N(610,1979,M9,Yx),u.Ac=function(t){cM(this,t)},u.Cc=function(){return new soe(this.a)},u.$b=function(){WP(this.a)},u._b=function(t){return Ect(this.a,t)},u.kc=function(){return new ZJe(this,this.a)},u.wc=function(t){ui(t),vit(this.a,new FD(t))},u.xc=function(t){return lU(this,t)},u.ec=function(){return new ioe(this)},u.zc=function(t,n){return Jkn(this.a,t,n,!1)},u.Bc=function(t){var n;return n=oM(this.a,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))),n?(X6(this.a,n),n.e=null,n.c=null,n.g):null},u.gc=function(){return this.a.i},u.pd=function(){return new soe(this.a)},F(ln,"HashBiMap/Inverse",610),N(1008,534,ko,ZJe),u.Nd=function(t){return new iQe(this,t)},F(ln,"HashBiMap/Inverse/1",1008),N(1009,345,jG,iQe),u.cd=function(){return this.a.i},u.dd=function(){return this.a.g},u.ed=function(t){var n,r,i;return i=this.a.g,n=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),n==this.a.a&&(Je(t)===Je(i)||t!=null&&hs(t,i))?t:(Ylt(!aM(this.b.a.a,t,n),t),X6(this.b.a.a,this.a),r=new sq(t,n,this.a.i,this.a.f),this.a=r,GN(this.b.a.a,r,null),this.b.b=this.b.a.a.g,i)},F(ln,"HashBiMap/Inverse/1/InverseEntry",1009),N(611,532,Oh,ioe),u.Kc=function(){return new HYe(this.a.a)},u.Mc=function(t){var n;return n=oM(this.a.a,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))),n?(X6(this.a.a,n),!0):!1},F(ln,"HashBiMap/Inverse/InverseKeySet",611),N(1007,534,ko,HYe),u.Nd=function(t){return t.i},F(ln,"HashBiMap/Inverse/InverseKeySet/1",1007),N(1010,1,{},FD),u.Od=function(t,n){irn(this.a,t,n)},F(ln,"HashBiMap/Inverse/lambda$0$Type",1010),N(609,532,Oh,soe),u.Kc=function(){return new zYe(this.a)},u.Mc=function(t){var n;return n=aM(this.a,t,li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15)))),n?(X6(this.a,n),n.e=null,n.c=null,!0):!1},F(ln,"HashBiMap/KeySet",609),N(1006,534,ko,zYe),u.Nd=function(t){return t.g},F(ln,"HashBiMap/KeySet/1",1006),N(1093,619,I2),F(ln,"HashMultimapGwtSerializationDependencies",1093),N(265,1093,I2,ay),u.hc=function(){return new Lz(k4(this.a))},u.gd=function(){return new Lz(k4(this.a))},u.a=2,F(ln,"HashMultimap",265),N(1999,152,qM),u.Hc=function(t){return this.Pd().Hc(t)},u.dc=function(){return this.Pd().dc()},u.gc=function(){return this.Pd().gc()},F(ln,"ImmutableAsList",1999),N(1931,715,M9),u.Ld=function(){return fg(),new ck(this.a)},u.Cc=function(){return fg(),new ck(this.a)},u.pd=function(){return fg(),new ck(this.a)},F(ln,"ImmutableBiMap",1931),N(1977,1,{}),F(ln,"ImmutableCollection/Builder",1977),N(1022,703,L9,VYe),F(ln,"ImmutableEnumSet",1022),N(969,386,A9,ctt),u.Xb=function(t){return this.a.Xb(t)},F(ln,"ImmutableList/1",969),N(968,1977,{},zet),F(ln,"ImmutableList/Builder",968),N(614,198,C9,jD),u.Ob=function(){return this.a.Ob()},u.Pb=function(){return l(this.a.Pb(),42).cd()},F(ln,"ImmutableMap/1",614),N(1041,1,{},Y),u.Kb=function(t){return l(t,42).cd()},F(ln,"ImmutableMap/2methodref$getKey$Type",1041),N(1040,1,{},Vet),F(ln,"ImmutableMap/Builder",1040),N(2e3,1981,L9),u.Kc=function(){var t;return t=Zw(this.a).Ed(),new jD(t)},u.Dd=function(){return new vye(this)},u.Jc=function(t){var n,r;for(ui(t),r=this.gc(),n=0;n<r;n++)t.td(l(X5e(Zw(this.a)).Xb(n),42).cd())},u.Ed=function(){var t;return(t=this.c,t||(this.c=new vye(this))).Ed()},u.Nc=function(){return Doe(this.gc(),1296,new dse(this))},F(ln,"IndexedImmutableSet",2e3),N(1180,2e3,L9,KKe),u.Kc=function(){var t;return t=Zw(this.a).Ed(),new jD(t)},u.Hc=function(t){return this.a._b(t)},u.Jc=function(t){ui(t),lM(this.a,new fse(t))},u.Ed=function(){var t;return t=Zw(this.a).Ed(),new jD(t)},u.gc=function(){return this.a.gc()},u.Nc=function(){return LP(Zw(this.a).Nc(),new Y)},F(ln,"ImmutableMapKeySet",1180),N(1181,1,{},fse),u.Od=function(t,n){fg(),this.a.td(t)},F(ln,"ImmutableMapKeySet/lambda$0$Type",1181),N(1178,1980,SEe,YKe),u.Kc=function(){return new Loe(this)},u.Hc=function(t){return t!=null&&$wn(new Loe(this),t)},u.Ed=function(){return new Loe(this)},u.gc=function(){return this.a.gc()},u.Nc=function(){return LP(Zw(this.a).Nc(),new G)},F(ln,"ImmutableMapValues",1178),N(1179,1,{},G),u.Kb=function(t){return l(t,42).dd()},F(ln,"ImmutableMapValues/0methodref$getValue$Type",1179),N(626,198,C9,Loe),u.Ob=function(){return this.a.Ob()},u.Pb=function(){return l(this.a.Pb(),42).dd()},F(ln,"ImmutableMapValues/1",626),N(1182,1,{},dse),u.ld=function(t){return Wnt(this.a,t)},F(ln,"IndexedImmutableSet/0methodref$get$Type",1182),N(752,1999,qM,vye),u.Pd=function(){return this.a},u.Xb=function(t){return Wnt(this.a,t)},u.gc=function(){return this.a.a.gc()},F(ln,"IndexedImmutableSet/1",752),N(44,1,{},J),u.Kb=function(t){return l(t,20).Kc()},u.Fb=function(t){return this===t},F(ln,"Iterables/10",44),N(1042,537,rp,Ktt),u.Jc=function(t){ui(t),this.b.Jc(new sQe(this.a,t))},u.Kc=function(){return J3e(this)},F(ln,"Iterables/4",1042),N(1043,1,vr,sQe),u.td=function(t){Tin(this.b,this.a,t)},F(ln,"Iterables/4/lambda$0$Type",1043),N(1044,537,rp,Ytt),u.Jc=function(t){ui(t),Ho(this.a,new tQe(t,this.b))},u.Kc=function(){return zr(new Ir(this.a),this.b)},F(ln,"Iterables/5",1044),N(1045,1,vr,tQe),u.td=function(t){this.a.td(vJe(t))},F(ln,"Iterables/5/lambda$0$Type",1045),N(1071,198,C9,gse),u.Ob=function(){return this.a.Ob()},u.Pb=function(){return this.a.Pb()},F(ln,"Iterators/1",1071),N(1072,699,C9,nQe),u.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},F(ln,"Iterators/5",1072),N(487,1,ko),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.b.Ob()},u.Pb=function(){return this.Qd(this.b.Pb())},u.Qb=function(){this.b.Qb()},F(ln,"TransformedIterator",487),N(1073,487,ko,JJe),u.Qd=function(t){return this.a.Kb(t)},F(ln,"Iterators/6",1073),N(717,198,C9,tz),u.Ob=function(){return!this.a},u.Pb=function(){if(this.a)throw ue(new Gl);return this.a=!0,this.b},u.a=!1,F(ln,"Iterators/9",717),N(1070,386,A9,bnt),u.Xb=function(t){return this.a[this.b+t]},u.b=0;var _yt;F(ln,"Iterators/ArrayItr",1070),N(39,1,{39:1,47:1},Rr),u.Nb=function(t){jo(this,t)},u.Ob=function(){return Ei(this)},u.Pb=function(){return hi(this)},u.Qb=function(){N6(!!this.c),this.c.Qb(),this.c=null},F(ln,"Iterators/ConcatenatedIterator",39),N(22,1,{3:1,35:1,22:1}),u.wd=function(t){return WYe(this,l(t,22))},u.Fb=function(t){return this===t},u.Hb=function(){return Kw(this)},u.Ib=function(){return foe(this)},u.g=0;var Si=F(Il,"Enum",22);N(538,22,{538:1,3:1,35:1,22:1,47:1},ret),u.Nb=function(t){jo(this,t)},u.Ob=function(){return!1},u.Pb=function(){throw ue(new Gl)},u.Qb=function(){N6(!1)};var S1e,xyt=_i(ln,"Iterators/EmptyModifiableIterator",538,Si,wun,ean),kyt;N(1834,619,I2),F(ln,"LinkedHashMultimapGwtSerializationDependencies",1834),N(1835,1834,I2,Rut),u.hc=function(){return new loe(k4(this.b))},u.$b=function(){aU(this),WD(this.a,this.a)},u.gd=function(){return new loe(k4(this.b))},u.ic=function(t){return new _ut(this,t,this.b)},u.kc=function(){return new p4e(this)},u.lc=function(){var t;return new zn((t=this.g,l(t||(this.g=new Rye(this)),21)),17)},u.ec=function(){var t;return t=this.i,t||(this.i=new S6(this,this.c))},u.nc=function(){return new Hye(new p4e(this))},u.oc=function(){var t;return LP(new zn((t=this.g,l(t||(this.g=new Rye(this)),21)),17),new ce)},u.b=2,F(ln,"LinkedHashMultimap",1835),N(1838,1,{},ce),u.Kb=function(t){return l(t,42).dd()},F(ln,"LinkedHashMultimap/0methodref$getValue$Type",1838),N(824,1,ko,p4e),u.Nb=function(t){jo(this,t)},u.Pb=function(){return j0n(this)},u.Ob=function(){return this.a!=this.b.a},u.Qb=function(){N6(!!this.c),dst(this.b,this.c.g,this.c.i),this.c=null},F(ln,"LinkedHashMultimap/1",824),N(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},v6e),u.Rd=function(){return this.f},u.Sd=function(t){this.c=t},u.Td=function(t){this.f=t},u.d=0;var Eyt=F(ln,"LinkedHashMultimap/ValueEntry",330);N(1836,1970,{2020:1,20:1,28:1,14:1,21:1},_ut),u.Fc=function(t){var n,r,i,a,h;for(h=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),n=h&this.b.length-1,a=this.b[n],r=a;r;r=r.a)if(r.d==h&&dg(r.i,t))return!1;return i=new v6e(this.c,t,h,a),tXe(this.d,i),i.f=this,this.d=i,WD(this.g.a.b,i),WD(i,this.g.a),this.b[n]=i,++this.f,++this.e,Bwn(this),!0},u.$b=function(){var t,n;for(sP(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())n=l(t,330),WD(n.b,n.e);this.a=this,this.d=this,++this.e},u.Hc=function(t){var n,r;for(r=li(Zo(ip,Xg(li(Zo(t==null?0:Ws(t),sp)),15))),n=this.b[r&this.b.length-1];n;n=n.a)if(n.d==r&&dg(n.i,t))return!0;return!1},u.Jc=function(t){var n;for(ui(t),n=this.a;n!=this;n=n.Rd())t.td(l(n,330).i)},u.Rd=function(){return this.a},u.Kc=function(){return new drt(this)},u.Mc=function(t){return u0t(this,t)},u.Sd=function(t){this.d=t},u.Td=function(t){this.a=t},u.gc=function(){return this.f},u.e=0,u.f=0,F(ln,"LinkedHashMultimap/ValueSet",1836),N(1837,1,ko,drt),u.Nb=function(t){jo(this,t)},u.Ob=function(){return j5e(this),this.b!=this.c},u.Pb=function(){var t,n;if(j5e(this),this.b==this.c)throw ue(new Gl);return t=l(this.b,330),n=t.i,this.d=t,this.b=t.f,n},u.Qb=function(){j5e(this),N6(!!this.d),u0t(this.c,this.d.i),this.a=this.c.e,this.d=null},u.a=0,F(ln,"LinkedHashMultimap/ValueSet/1",1837),N(766,1986,I2,rJe),u.Zb=function(){var t;return t=this.f,t||(this.f=new d3e(this))},u.Fb=function(t){return Lle(this,t)},u.cc=function(t){return new wae(this,t)},u.fc=function(t){return X6e(this,t)},u.$b=function(){Qnt(this)},u._b=function(t){return vQe(this,t)},u.ac=function(){return new d3e(this)},u.bc=function(){return new Ese(this)},u.qc=function(t){return new wae(this,t)},u.dc=function(){return!this.a},u.rc=function(t){return X6e(this,t)},u.gc=function(){return this.d},u.c=0,u.d=0,F(ln,"LinkedListMultimap",766),N(52,28,I9),u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.Vc=function(t,n){throw ue(new bm("Add not supported on this list"))},u.Fc=function(t){return this.Vc(this.gc(),t),!0},u.Wc=function(t,n){var r,i,a;for(Xn(n),r=!1,a=n.Kc();a.Ob();)i=a.Pb(),this.Vc(t++,i),r=!0;return r},u.$b=function(){this.Ud(0,this.gc())},u.Fb=function(t){return u7e(this,t)},u.Hb=function(){return xxe(this)},u.Xc=function(t){return Wct(this,t)},u.Kc=function(){return new Jx(this)},u.Yc=function(){return this.Zc(0)},u.Zc=function(t){return new Ro(this,t)},u.$c=function(t){throw ue(new bm("Remove not supported on this list"))},u.Ud=function(t,n){var r,i;for(i=this.Zc(t),r=t;r<n;++r)i.Pb(),i.Qb()},u._c=function(t,n){throw ue(new bm("Set not supported on this list"))},u.bd=function(t,n){return new Qg(this,t,n)},u.j=0,F(Yr,"AbstractList",52),N(1964,52,I9),u.Vc=function(t,n){hE(this,t,n)},u.Wc=function(t,n){return kut(this,t,n)},u.Xb=function(t){return Y1(this,t)},u.Kc=function(){return this.Zc(0)},u.$c=function(t){return Cue(this,t)},u._c=function(t,n){var r,i;r=this.Zc(t);try{return i=r.Pb(),r.Wb(n),i}catch(a){throw a=ea(a),Le(a,109)?ue(new Qc("Can't set element "+t)):ue(a)}},F(Yr,"AbstractSequentialList",1964),N(636,1964,I9,wae),u.Zc=function(t){return oet(this,t)},u.gc=function(){var t;return t=l(Tr(this.a.b,this.b),283),t?t.a:0},F(ln,"LinkedListMultimap/1",636),N(1297,1970,Oh,Ese),u.Hc=function(t){return vQe(this.a,t)},u.Kc=function(){return new llt(this.a)},u.Mc=function(t){return!X6e(this.a,t).a.dc()},u.gc=function(){return rA(this.a.b)},F(ln,"LinkedListMultimap/1KeySetImpl",1297),N(1296,1,ko,llt),u.Nb=function(t){jo(this,t)},u.Ob=function(){return F5e(this),!!this.c},u.Pb=function(){F5e(this),b4e(this.c),this.a=this.c,Ga(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!Ga(this.d,this.c.a));return this.a.a},u.Qb=function(){F5e(this),N6(!!this.a),zV(new Zce(this.e,this.a.a)),this.a=null,this.b=this.e.c},u.b=0,F(ln,"LinkedListMultimap/DistinctKeyIterator",1296),N(283,1,{283:1},S6e),u.a=0,F(ln,"LinkedListMultimap/KeyList",283),N(1295,345,jG,aQe),u.cd=function(){return this.a},u.dd=function(){return this.f},u.ed=function(t){var n;return n=this.f,this.f=t,n},F(ln,"LinkedListMultimap/Node",1295),N(560,1,np,Zce,r1t),u.Nb=function(t){jo(this,t)},u.Rb=function(t){this.e=j7e(this.f,this.b,t,this.c),++this.d,this.a=null},u.Ob=function(){return!!this.c},u.Sb=function(){return!!this.e},u.Pb=function(){return O6e(this)},u.Tb=function(){return this.d},u.Ub=function(){return Mit(this)},u.Vb=function(){return this.d-1},u.Qb=function(){N6(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,z4n(this.f,this.a),this.a=null},u.Wb=function(t){v4e(!!this.a),this.a.f=t},u.d=0,F(ln,"LinkedListMultimap/ValueForKeyIterator",560),N(1018,52,I9),u.Vc=function(t,n){this.a.Vc(t,n)},u.Wc=function(t,n){return this.a.Wc(t,n)},u.Hc=function(t){return this.a.Hc(t)},u.Xb=function(t){return this.a.Xb(t)},u.$c=function(t){return this.a.$c(t)},u._c=function(t,n){return this.a._c(t,n)},u.gc=function(){return this.a.gc()},F(ln,"Lists/AbstractListWrapper",1018),N(1019,1018,lvt),F(ln,"Lists/RandomAccessListWrapper",1019),N(1021,1019,lvt,hQe),u.Zc=function(t){return this.a.Zc(t)},F(ln,"Lists/1",1021),N(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},n4),u.Vc=function(t,n){this.a.Vc(vE(this,t),n)},u.$b=function(){this.a.$b()},u.Xb=function(t){return this.a.Xb(h6e(this,t))},u.Kc=function(){return R6e(this,0)},u.Zc=function(t){return R6e(this,t)},u.$c=function(t){return this.a.$c(h6e(this,t))},u.Ud=function(t,n){(yst(t,n,this.a.gc()),v2(this.a.bd(vE(this,n),vE(this,t)))).$b()},u._c=function(t,n){return this.a._c(h6e(this,t),n)},u.gc=function(){return this.a.gc()},u.bd=function(t,n){return yst(t,n,this.a.gc()),v2(this.a.bd(vE(this,n),vE(this,t)))},F(ln,"Lists/ReverseList",131),N(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},Rw),F(ln,"Lists/RandomAccessReverseList",280),N(1020,1,np,oQe),u.Nb=function(t){jo(this,t)},u.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},u.Ob=function(){return this.c.Sb()},u.Sb=function(){return this.c.Ob()},u.Pb=function(){return kat(this)},u.Tb=function(){return vE(this.b,this.c.Tb())},u.Ub=function(){if(!this.c.Ob())throw ue(new Gl);return this.a=!0,this.c.Pb()},u.Vb=function(){return vE(this.b,this.c.Tb())-1},u.Qb=function(){N6(this.a),this.c.Qb(),this.a=!1},u.Wb=function(t){v4e(this.a),this.c.Wb(t)},u.a=!1,F(ln,"Lists/ReverseList/1",1020),N(432,487,ko,YC),u.Qd=function(t){return qz(t)},F(ln,"Maps/1",432),N(698,487,ko,Hye),u.Qd=function(t){return l(t,42).dd()},F(ln,"Maps/2",698),N(962,487,ko,aet),u.Qd=function(t){return new Vw(t,cJe(this.a,t))},F(ln,"Maps/3",962),N(959,1971,Oh,Xx),u.Jc=function(t){lrn(this.a,t)},u.Kc=function(){return this.a.kc()},u.Rc=function(){return this.a},u.Nc=function(){return this.a.lc()},F(ln,"Maps/IteratorBasedAbstractMap/1",959),N(960,1,{},kse),u.Od=function(t,n){this.a.td(t)},F(ln,"Maps/KeySet/lambda$0$Type",960),N(958,28,q4,uQe),u.$b=function(){this.a.$b()},u.Hc=function(t){return this.a.uc(t)},u.Jc=function(t){ui(t),this.a.wc(new vse(t))},u.dc=function(){return this.a.dc()},u.Kc=function(){return new Hye(this.a.vc().Kc())},u.Mc=function(t){var n,r;try{return M4(this,t,!0)}catch(i){if(i=ea(i),Le(i,41)){for(r=this.a.vc().Kc();r.Ob();)if(n=l(r.Pb(),42),dg(t,n.dd()))return this.a.Bc(n.cd()),!0;return!1}else throw ue(i)}},u.gc=function(){return this.a.gc()},F(ln,"Maps/Values",958),N(961,1,{},vse),u.Od=function(t,n){this.a.td(n)},F(ln,"Maps/Values/lambda$0$Type",961),N(736,1987,Dy,d3e),u.xc=function(t){return this.a._b(t)?this.a.cc(t):null},u.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},u.$b=function(){this.a.$b()},u._b=function(t){return this.a._b(t)},u.Ec=function(){return new mse(this)},u.Dc=function(){return this.Ec()},u.dc=function(){return this.a.dc()},u.ec=function(){return this.a.ec()},u.gc=function(){return this.a.ec().gc()},F(ln,"Multimaps/AsMap",736),N(1104,1971,Oh,mse),u.Kc=function(){return Ssn(this.a.a.ec(),new bse(this))},u.Rc=function(){return this.a},u.Mc=function(t){var n;return _ht(this,t)?(n=l(t,42),Crn(this.a,n.cd()),!0):!1},F(ln,"Multimaps/AsMap/EntrySet",1104),N(1108,1,{},bse),u.Kb=function(t){return cJe(this,t)},u.Fb=function(t){return this===t},F(ln,"Multimaps/AsMap/EntrySet/1",1108),N(543,1989,{543:1,835:1,20:1,28:1,14:1},wse),u.$b=function(){aU(this.a)},u.Hc=function(t){return bXe(this.a,t)},u.Jc=function(t){ui(t),Ho(qA(this.a),new _se(t))},u.Kc=function(){return new YC(qA(this.a).a.kc())},u.gc=function(){return this.a.d},u.Nc=function(){return LP(qA(this.a).Nc(),new me)},F(ln,"Multimaps/Keys",543),N(1106,1,{},me),u.Kb=function(t){return l(t,42).cd()},F(ln,"Multimaps/Keys/0methodref$getKey$Type",1106),N(1105,487,ko,qYe),u.Qd=function(t){return new yse(l(t,42))},F(ln,"Multimaps/Keys/1",1105),N(1990,1,{416:1}),u.Fb=function(t){var n;return Le(t,492)?(n=l(t,416),l(this.a.dd(),14).gc()==l(n.a.dd(),14).gc()&&dg(this.a.cd(),n.a.cd())):!1},u.Hb=function(){var t;return t=this.a.cd(),(t==null?0:Ws(t))^l(this.a.dd(),14).gc()},u.Ib=function(){var t,n;return n=LA(this.a.cd()),t=l(this.a.dd(),14).gc(),t==1?n:n+" x "+t},F(ln,"Multisets/AbstractEntry",1990),N(492,1990,{492:1,416:1},yse),F(ln,"Multimaps/Keys/1/1",492),N(1107,1,vr,_se),u.td=function(t){this.a.td(l(t,42).cd())},F(ln,"Multimaps/Keys/lambda$1$Type",1107),N(1110,1,vr,_e),u.td=function(t){Cln(l(t,416))},F(ln,"Multiset/lambda$0$Type",1110),N(737,1,vr,xse),u.td=function(t){q0n(this.a,l(t,416))},F(ln,"Multiset/lambda$1$Type",737),N(1111,1,{},ke),F(ln,"Multisets/0methodref$add$Type",1111),N(738,1,{},Ie),u.Kb=function(t){return Pdn(l(t,416))},F(ln,"Multisets/lambda$3$Type",738),N(2008,1,hR),F(ln,"RangeGwtSerializationDependencies",2008),N(514,2008,{169:1,514:1,3:1,45:1},Mke),u.Lb=function(t){return Pnt(this,l(t,35))},u.Mb=function(t){return Pnt(this,l(t,35))},u.Fb=function(t){var n;return Le(t,514)?(n=l(t,514),wke(this.a,n.a)&&wke(this.b,n.b)):!1},u.Hb=function(){return this.a.Hb()*31+this.b.Hb()},u.Ib=function(){return zst(this.a,this.b)},F(ln,"Range",514),N(778,1999,qM,Unt),u.Zc=function(t){return A4e(this.b,t)},u.Pd=function(){return this.a},u.Xb=function(t){return Rv(this.b,t)},u.Fd=function(t){return A4e(this.b,t)},F(ln,"RegularImmutableAsList",778),N(646,2006,qM,gce),u.Hd=function(){return this.a},F(ln,"RegularImmutableList",646),N(616,715,M9,oae),F(ln,"RegularImmutableMap",616),N(716,703,L9,p3e);var VSe;F(ln,"RegularImmutableSet",716),N(1976,P0,Oh),u.Kc=function(){return new y6e(this.a,this.b)},u.Fc=function(t){throw ue(new pi)},u.Gc=function(t){throw ue(new pi)},u.$b=function(){throw ue(new pi)},u.Mc=function(t){throw ue(new pi)},F(ln,"Sets/SetView",1976),N(963,1976,Oh,cQe),u.Kc=function(){return new y6e(this.a,this.b)},u.Hc=function(t){return Boe(this.a,t)&&this.b.Hc(t)},u.Ic=function(t){return mN(this.a,t)&&this.b.Ic(t)},u.dc=function(){return aft(this.b,this.a)},u.Lc=function(){return $s(new jn(null,new zn(this.a,1)),new xd(this.b))},u.gc=function(){return dN(this)},u.Oc=function(){return $s(new jn(null,new zn(this.a,1)),new H7(this.b))},F(ln,"Sets/2",963),N(700,699,C9,y6e),u.Yb=function(){for(var t;r4e(this.a);)if(t=JA(this.a),this.c.Hc(t))return t;return this.e=2,null},F(ln,"Sets/2/1",700),N(964,1,Xi,H7),u.Mb=function(t){return this.a.Hc(t)},F(ln,"Sets/2/4methodref$contains$Type",964),N(965,1,Xi,xd),u.Mb=function(t){return this.a.Hc(t)},F(ln,"Sets/2/5methodref$contains$Type",965),N(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},hit),u.Bd=function(){return this.b},u.Cd=function(){return this.b},u.Md=function(){return this.b},u.Jc=function(t){this.a.Jc(t)},u.Lc=function(){return this.a.Lc()},u.Oc=function(){return this.a.Oc()},F(ln,"Sets/UnmodifiableNavigableSet",607),N(1932,1931,M9,wrt),u.Ld=function(){return fg(),new ck(this.a)},u.Cc=function(){return fg(),new ck(this.a)},u.pd=function(){return fg(),new ck(this.a)},F(ln,"SingletonImmutableBiMap",1932),N(647,2006,qM,Poe),u.Hd=function(){return this.a},F(ln,"SingletonImmutableList",647),N(350,1981,L9,ck),u.Kc=function(){return new tz(this.a)},u.Hc=function(t){return hs(this.a,t)},u.Ed=function(){return new tz(this.a)},u.gc=function(){return 1},F(ln,"SingletonImmutableSet",350),N(1115,1,{},ge),u.Kb=function(t){return l(t,164)},F(ln,"Streams/lambda$0$Type",1115),N(1116,1,zG,Tse),u.Vd=function(){T1n(this.a)},F(ln,"Streams/lambda$1$Type",1116),N(1659,1658,I2,rit),u.Zb=function(){var t;return t=this.f,l(l(t||(this.f=Le(this.c,171)?new MV(this,l(this.c,171)):Le(this.c,161)?new kP(this,l(this.c,161)):new nE(this,this.c)),161),171)},u.hc=function(){return new Dv(this.b)},u.gd=function(){return new Dv(this.b)},u.ec=function(){var t;return t=this.i,l(l(t||(this.i=Le(this.c,171)?new tE(this,l(this.c,171)):Le(this.c,161)?new JD(this,l(this.c,161)):new S6(this,this.c)),84),271)},u.ac=function(){return Le(this.c,171)?new MV(this,l(this.c,171)):Le(this.c,161)?new kP(this,l(this.c,161)):new nE(this,this.c)},u.ic=function(t){return t==null&&this.a.ue(t,t),new Dv(this.b)},F(ln,"TreeMultimap",1659),N(78,1,{3:1,78:1}),u.Wd=function(t){return new Error(t)},u.Xd=function(){return this.e},u.Yd=function(){return Fvn(ch(Woe((this.k==null&&(this.k=Ue(C1e,dt,78,0,0,1)),this.k)),new Gt))},u.Zd=function(){return this.f},u.$d=function(){return this.g},u._d=function(){grn(this,bdn(this.Wd(pce(this,this.g)))),XKe(this)},u.Ib=function(){return pce(this,this.$d())},u.e=uvt,u.i=!1,u.n=!0;var C1e=F(Il,"Throwable",78);N(102,78,{3:1,102:1,78:1}),F(Il,"Exception",102),N(60,102,Wp,n2,Tl),F(Il,"RuntimeException",60),N(598,60,Wp),F(Il,"JsException",598),N(863,598,Wp),F(pR,"JavaScriptExceptionBase",863),N(477,863,{477:1,3:1,102:1,60:1,78:1},Nut),u.$d=function(){return oyn(this),this.c},u.ae=function(){return Je(this.b)===Je(qSe)?null:this.b};var qSe;F(AEe,"JavaScriptException",477);var Tyt=F(AEe,"JavaScriptObject$",0),USe;N(1948,1,{}),F(AEe,"Scheduler",1948);var XW=0,Syt=0,QW=-1;N(890,1948,{},Me);var GSe;F(pR,"SchedulerImpl",890);var A1e;N(1960,1,{}),F(pR,"StackTraceCreator/Collector",1960),N(864,1960,{},Ne),u.be=function(t){var n={},r=[];t[Ghe]=r;for(var i=arguments.callee.caller;i;){var a=(EE(),i.name||(i.name=agn(i.toString())));r.push(a);var h=":"+a,d=n[h];if(d){var b,E;for(b=0,E=d.length;b<E;b++)if(d[b]===i)return}(d||(n[h]=[])).push(i),i=i.caller}},u.ce=function(t){var n,r,i,a;for(i=(EE(),t&&t[Ghe]?t[Ghe]:[]),r=i.length,a=Ue(aCe,dt,310,r,0,1),n=0;n<r;n++)a[n]=new ace(i[n],null,-1);return a},F(pR,"StackTraceCreator/CollectorLegacy",864),N(1961,1960,{}),u.be=function(t){},u.de=function(t,n,r,i){return new ace(n,t+"@"+i,r<0?-1:r)},u.ce=function(t){var n,r,i,a,h,d;if(a=D2n(t),h=Ue(aCe,dt,310,0,0,1),n=0,i=a.length,i==0)return h;for(d=Gpt(this,a[0]),Tn(d.d,Uhe)||(h[n++]=d),r=1;r<i;r++)h[n++]=Gpt(this,a[r]);return h},F(pR,"StackTraceCreator/CollectorModern",1961),N(865,1961,{},Se),u.de=function(t,n,r,i){return new ace(n,t,-1)},F(pR,"StackTraceCreator/CollectorModernNoSourceMap",865),N(1050,1,{}),F(LEe,dvt,1050),N(615,1050,{615:1},ort);var WSe;F(hfe,dvt,615),N(2001,1,{}),F(LEe,gvt,2001),N(2002,2001,{}),F(hfe,gvt,2002),N(1090,1,{},Oe);var xL;F(hfe,"LocaleInfo",1090),N(1918,1,{},De),u.a=0,F(hfe,"TimeZone",1918),N(1258,2002,{},we),F("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),N(434,1,{434:1},Btt),u.a=!1,u.b=0,F(LEe,"DateTimeFormat/PatternPart",434),N(199,1,pvt,Nz,bxe,F4e),u.wd=function(t){return pdn(this,l(t,199))},u.Fb=function(t){return Le(t,199)&&Uw(ph(this.q.getTime()),ph(l(t,199).q.getTime()))},u.Hb=function(){var t;return t=ph(this.q.getTime()),li(Cce(t,d4(t,32)))},u.Ib=function(){var t,n,r;return r=-this.q.getTimezoneOffset(),t=(r>=0?"+":"")+(r/60|0),n=fV(v.Math.abs(r)%60),(Sdt(),Ryt)[this.q.getDay()]+" "+Byt[this.q.getMonth()]+" "+fV(this.q.getDate())+" "+fV(this.q.getHours())+":"+fV(this.q.getMinutes())+":"+fV(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var ZW=F(Yr,"Date",199);N(1915,199,pvt,Jft),u.a=!1,u.b=0,u.c=0,u.d=0,u.e=0,u.f=0,u.g=!1,u.i=0,u.j=0,u.k=0,u.n=0,u.o=0,u.p=0,F("com.google.gwt.i18n.shared.impl","DateRecord",1915),N(1966,1,{}),u.fe=function(){return null},u.ge=function(){return null},u.he=function(){return null},u.ie=function(){return null},u.je=function(){return null},F(Zk,"JSONValue",1966),N(216,1966,{216:1},gm,Qx),u.Fb=function(t){return Le(t,216)?F6e(this.a,l(t,216).a):!1},u.ee=function(){return Knn},u.Hb=function(){return T6e(this.a)},u.fe=function(){return this},u.Ib=function(){var t,n,r;for(r=new Af("["),n=0,t=this.a.length;n<t;n++)n>0&&(r.a+=","),Wl(r,x4(this,n));return r.a+="]",r.a},F(Zk,"JSONArray",216),N(483,1966,{483:1},z7),u.ee=function(){return Ynn},u.ge=function(){return this},u.Ib=function(){return er(),""+this.a},u.a=!1;var Cyt,Ayt;F(Zk,"JSONBoolean",483),N(985,60,Wp,UYe),F(Zk,"JSONException",985),N(1023,1966,{},Ve),u.ee=function(){return ern},u.Ib=function(){return vh};var Myt;F(Zk,"JSONNull",1023),N(258,1966,{258:1},BC),u.Fb=function(t){return Le(t,258)?this.a==l(t,258).a:!1},u.ee=function(){return Xnn},u.Hb=function(){return oE(this.a)},u.he=function(){return this},u.Ib=function(){return this.a+""},u.a=0,F(Zk,"JSONNumber",258),N(183,1966,{183:1},ak,V7),u.Fb=function(t){return Le(t,183)?F6e(this.a,l(t,183).a):!1},u.ee=function(){return Qnn},u.Hb=function(){return T6e(this.a)},u.ie=function(){return this},u.Ib=function(){var t,n,r,i,a,h,d;for(d=new Af("{"),t=!0,h=mle(this,Ue(jt,dt,2,0,6,1)),r=h,i=0,a=r.length;i<a;++i)n=r[i],t?t=!1:d.a+=bc,Mi(d,q1t(n)),d.a+=":",Wl(d,Dp(this,n));return d.a+="}",d.a},F(Zk,"JSONObject",183),N(596,P0,Oh,yae),u.Hc=function(t){return _o(t)&&Drn(this.a,wi(t))},u.Kc=function(){return new Jx(new gf(this.b))},u.gc=function(){return this.b.length},F(Zk,"JSONObject/1",596);var M1e;N(204,1966,{204:1},p4),u.Fb=function(t){return Le(t,204)?Tn(this.a,l(t,204).a):!1},u.ee=function(){return Znn},u.Hb=function(){return Nm(this.a)},u.je=function(){return this},u.Ib=function(){return q1t(this.a)},F(Zk,"JSONString",204);var hb,KSe,Lyt,YSe,XSe;N(1962,1,{525:1}),F(IEe,"OutputStream",1962),N(1963,1962,{525:1}),F(IEe,"FilterOutputStream",1963),N(866,1963,{525:1},kt),F(IEe,"PrintStream",866),N(418,1,{475:1}),u.Ib=function(){return this.a},F(Il,"AbstractStringBuilder",418),N(529,60,Wp,Ez),F(Il,"ArithmeticException",529),N(73,60,ffe,wye,Qc),F(Il,"IndexOutOfBoundsException",73),N(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},_ye,Gye),F(Il,"ArrayIndexOutOfBoundsException",320),N(528,60,Wp,Zse,KYe),F(Il,"ArrayStoreException",528),N(289,78,mvt,lae),F(Il,"Error",289),N(194,289,mvt,bye,t_e),F(Il,"AssertionError",194),vyt={3:1,476:1,35:1};var z2,Y9,Ya=F(Il,"Boolean",476);N(236,1,{3:1,236:1});var QSe;F(Il,"Number",236),N(217,236,{3:1,217:1,35:1,236:1},$se),u.wd=function(t){return Lrn(this,l(t,217))},u.ke=function(){return this.a},u.Fb=function(t){return Le(t,217)&&l(t,217).a==this.a},u.Hb=function(){return this.a},u.Ib=function(){return""+this.a},u.a=0;var u8=F(Il,"Byte",217),ZSe;N(172,1,{3:1,172:1,35:1},lz),u.wd=function(t){return Irn(this,l(t,172))},u.Fb=function(t){return Le(t,172)&&l(t,172).a==this.a},u.Hb=function(){return this.a},u.Ib=function(){return String.fromCharCode(this.a)},u.a=0;var JSe,kL=F(Il,"Character",172),eCe;N(205,60,{3:1,205:1,102:1,60:1,78:1},QKe,X7),F(Il,"ClassCastException",205),byt={3:1,35:1,333:1,236:1};var Mo=F(Il,"Double",333);N(155,236,{3:1,35:1,155:1,236:1},h6,xye),u.wd=function(t){return jin(this,l(t,155))},u.ke=function(){return this.a},u.Fb=function(t){return Le(t,155)&&utt(this.a,l(t,155).a)},u.Hb=function(){return Sa(this.a)},u.Ib=function(){return""+this.a},u.a=0;var X9=F(Il,"Float",155);N(32,60,{3:1,102:1,32:1,60:1,78:1},KD,Jn,Cut),F(Il,"IllegalArgumentException",32),N(71,60,Wp,Eh,pl),F(Il,"IllegalStateException",71),N(19,236,{3:1,35:1,19:1,236:1},VD),u.wd=function(t){return $in(this,l(t,19))},u.ke=function(){return this.a},u.Fb=function(t){return Le(t,19)&&l(t,19).a==this.a},u.Hb=function(){return this.a},u.Ib=function(){return""+this.a},u.a=0;var hc=F(Il,"Integer",19),tCe,Iyt;N(162,236,{3:1,35:1,162:1,236:1},Q3),u.wd=function(t){return Hin(this,l(t,162))},u.ke=function(){return cy(this.a)},u.Fb=function(t){return Le(t,162)&&Uw(l(t,162).a,this.a)},u.Hb=function(){return li(this.a)},u.Ib=function(){return""+$A(this.a)},u.a=0;var Hy=F(Il,"Long",162),nCe;N(2039,1,{}),N(1831,60,Wp,XYe),F(Il,"NegativeArraySizeException",1831),N(173,598,{3:1,102:1,173:1,60:1,78:1},GC,ok),u.Wd=function(t){return new TypeError(t)},F(Il,"NullPointerException",173);var rCe,L1e,Oyt,iCe;N(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},cg),F(Il,"NumberFormatException",127),N(184,236,{3:1,35:1,236:1,184:1},uz),u.wd=function(t){return Orn(this,l(t,184))},u.ke=function(){return this.a},u.Fb=function(t){return Le(t,184)&&l(t,184).a==this.a},u.Hb=function(){return this.a},u.Ib=function(){return""+this.a},u.a=0;var zy=F(Il,"Short",184),sCe;N(310,1,{3:1,310:1},ace),u.Fb=function(t){var n;return Le(t,310)?(n=l(t,310),this.c==n.c&&this.d==n.d&&this.a==n.a&&this.b==n.b):!1},u.Hb=function(){return SU(pe(de(xr,1),Ht,1,5,[St(this.c),this.a,this.d,this.b]))},u.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},u.c=0;var aCe=F(Il,"StackTraceElement",310);wyt={3:1,475:1,35:1,2:1};var jt=F(Il,CEe,2);N(107,418,{475:1},wm,eA,Ed),F(Il,"StringBuffer",107),N(100,418,{475:1},Lv,t4,Af),F(Il,"StringBuilder",100),N(687,73,ffe,Wye),F(Il,"StringIndexOutOfBoundsException",687),N(2043,1,{});var oCe;N(844,1,{},Gt),u.Kb=function(t){return l(t,78).e},F(Il,"Throwable/lambda$0$Type",844),N(41,60,{3:1,102:1,60:1,78:1,41:1},pi,bm),F(Il,"UnsupportedOperationException",41),N(240,236,{3:1,35:1,236:1,240:1},oN,n3e),u.wd=function(t){return apt(this,l(t,240))},u.ke=function(){return R4(zpt(this))},u.Fb=function(t){var n;return this===t?!0:Le(t,240)?(n=l(t,240),this.e==n.e&&apt(this,n)==0):!1},u.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=ph(this.f),this.b=li(Wa(t,-1)),this.b=33*this.b+li(Wa($v(t,32),-1)),this.b=17*this.b+Sa(this.e),this.b):(this.b=17*$ut(this.c)+Sa(this.e),this.b)},u.Ib=function(){return zpt(this)},u.a=0,u.b=0,u.d=0,u.e=0,u.f=0;var Dyt,V2,cCe,lCe,uCe,hCe,fCe,dCe,I1e=F("java.math","BigDecimal",240);N(91,236,{3:1,35:1,236:1,91:1},Cke,Cm,C6,l8e,Vht,Fv),u.wd=function(t){return Fht(this,l(t,91))},u.ke=function(){return R4(jhe(this,0))},u.Fb=function(t){return ake(this,t)},u.Hb=function(){return $ut(this)},u.Ib=function(){return jhe(this,0)},u.b=-2,u.c=0,u.d=0,u.e=0;var O1e,JW,gCe,D1e,eK,Q9,m_=F("java.math","BigInteger",91),Pyt,Nyt,h8,EL;N(488,1967,Dy),u.$b=function(){qh(this)},u._b=function(t){return bf(this,t)},u.uc=function(t){return Eut(this,t,this.g)||Eut(this,t,this.f)},u.vc=function(){return new mm(this)},u.xc=function(t){return Tr(this,t)},u.zc=function(t,n){return ds(this,t,n)},u.Bc=function(t){return Dk(this,t)},u.gc=function(){return rA(this)},F(Yr,"AbstractHashMap",488),N(261,P0,Oh,mm),u.$b=function(){this.a.$b()},u.Hc=function(t){return xst(this,t)},u.Kc=function(){return new x2(this.a)},u.Mc=function(t){var n;return xst(this,t)?(n=l(t,42).cd(),this.a.Bc(n),!0):!1},u.gc=function(){return this.a.gc()},F(Yr,"AbstractHashMap/EntrySet",261),N(262,1,ko,x2),u.Nb=function(t){jo(this,t)},u.Pb=function(){return fy(this)},u.Ob=function(){return this.b},u.Qb=function(){wot(this)},u.b=!1,F(Yr,"AbstractHashMap/EntrySetIterator",262),N(417,1,ko,Jx),u.Nb=function(t){jo(this,t)},u.Ob=function(){return iP(this)},u.Pb=function(){return qrt(this)},u.Qb=function(){wf(this)},u.b=0,u.c=-1,F(Yr,"AbstractList/IteratorImpl",417),N(96,417,np,Ro),u.Qb=function(){wf(this)},u.Rb=function(t){u4(this,t)},u.Sb=function(){return this.b>0},u.Tb=function(){return this.b},u.Ub=function(){return kr(this.b>0),this.a.Xb(this.c=--this.b)},u.Vb=function(){return this.b-1},u.Wb=function(t){o4(this.c!=-1),this.a._c(this.c,t)},F(Yr,"AbstractList/ListIteratorImpl",96),N(219,52,I9,Qg),u.Vc=function(t,n){b4(t,this.b),this.c.Vc(this.a+t,n),++this.b},u.Xb=function(t){return Un(t,this.b),this.c.Xb(this.a+t)},u.$c=function(t){var n;return Un(t,this.b),n=this.c.$c(this.a+t),--this.b,n},u._c=function(t,n){return Un(t,this.b),this.c._c(this.a+t,n)},u.gc=function(){return this.b},u.a=0,u.b=0,F(Yr,"AbstractList/SubList",219),N(384,P0,Oh,X3),u.$b=function(){this.a.$b()},u.Hc=function(t){return this.a._b(t)},u.Kc=function(){var t;return t=this.a.vc().Kc(),new zD(t)},u.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},u.gc=function(){return this.a.gc()},F(Yr,"AbstractMap/1",384),N(691,1,ko,zD),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.a.Ob()},u.Pb=function(){var t;return t=l(this.a.Pb(),42),t.cd()},u.Qb=function(){this.a.Qb()},F(Yr,"AbstractMap/1/1",691),N(226,28,q4,m0),u.$b=function(){this.a.$b()},u.Hc=function(t){return this.a.uc(t)},u.Kc=function(){var t;return t=this.a.vc().Kc(),new v0(t)},u.gc=function(){return this.a.gc()},F(Yr,"AbstractMap/2",226),N(294,1,ko,v0),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.a.Ob()},u.Pb=function(){var t;return t=l(this.a.Pb(),42),t.dd()},u.Qb=function(){this.a.Qb()},F(Yr,"AbstractMap/2/1",294),N(484,1,{484:1,42:1}),u.Fb=function(t){var n;return Le(t,42)?(n=l(t,42),_u(this.d,n.cd())&&_u(this.e,n.dd())):!1},u.cd=function(){return this.d},u.dd=function(){return this.e},u.Hb=function(){return k6(this.d)^k6(this.e)},u.ed=function(t){return K4e(this,t)},u.Ib=function(){return this.d+"="+this.e},F(Yr,"AbstractMap/AbstractEntry",484),N(383,484,{484:1,383:1,42:1},Wz),F(Yr,"AbstractMap/SimpleEntry",383),N(1984,1,mfe),u.Fb=function(t){var n;return Le(t,42)?(n=l(t,42),_u(this.cd(),n.cd())&&_u(this.dd(),n.dd())):!1},u.Hb=function(){return k6(this.cd())^k6(this.dd())},u.Ib=function(){return this.cd()+"="+this.dd()},F(Yr,rvt,1984),N(1992,1967,tvt),u.tc=function(t){return Lat(this,t)},u._b=function(t){return xoe(this,t)},u.vc=function(){return new x(this)},u.xc=function(t){var n;return n=t,Bl(Cxe(this,n))},u.ec=function(){return new _(this)},F(Yr,"AbstractNavigableMap",1992),N(739,P0,Oh,x),u.Hc=function(t){return Le(t,42)&&Lat(this.b,l(t,42))},u.Kc=function(){return new PA(this.b)},u.Mc=function(t){var n;return Le(t,42)?(n=l(t,42),vot(this.b,n)):!1},u.gc=function(){return this.b.c},F(Yr,"AbstractNavigableMap/EntrySet",739),N(493,P0,TEe,_),u.Nc=function(){return new Uz(this)},u.$b=function(){XC(this.a)},u.Hc=function(t){return xoe(this.a,t)},u.Kc=function(){var t;return t=new PA(new IA(this.a).b),new p(t)},u.Mc=function(t){return xoe(this.a,t)?(KA(this.a,t),!0):!1},u.gc=function(){return this.a.c},F(Yr,"AbstractNavigableMap/NavigableKeySet",493),N(494,1,ko,p),u.Nb=function(t){jo(this,t)},u.Ob=function(){return iP(this.a.a)},u.Pb=function(){var t;return t=CV(this.a),t.cd()},u.Qb=function(){ytt(this.a)},F(Yr,"AbstractNavigableMap/NavigableKeySet/1",494),N(2004,28,q4),u.Fc=function(t){return LE(d9(this,t)),!0},u.Gc=function(t){return Xn(t),NV(t!=this,"Can't add a queue to itself"),mc(this,t)},u.$b=function(){for(;ile(this)!=null;);},F(Yr,"AbstractQueue",2004),N(302,28,{4:1,20:1,28:1,14:1},g6,Wit),u.Fc=function(t){return G6e(this,t),!0},u.$b=function(){Z6e(this)},u.Hc=function(t){return Wlt(new WA(this),t)},u.dc=function(){return QC(this)},u.Kc=function(){return new WA(this)},u.Mc=function(t){return ufn(new WA(this),t)},u.gc=function(){return this.c-this.b&this.a.length-1},u.Nc=function(){return new zn(this,272)},u.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.length<n&&(t=Cz(new Array(n),t)),slt(this,t,n),t.length>n&&la(t,n,null),t},u.b=0,u.c=0,F(Yr,"ArrayDeque",302),N(446,1,ko,WA),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.a!=this.b},u.Pb=function(){return AU(this)},u.Qb=function(){Uct(this)},u.a=0,u.b=0,u.c=-1,F(Yr,"ArrayDeque/IteratorImpl",446),N(12,52,bvt,yt,Nu,Ah),u.Vc=function(t,n){f4(this,t,n)},u.Fc=function(t){return wt(this,t)},u.Wc=function(t,n){return Dxe(this,t,n)},u.Gc=function(t){return Fa(this,t)},u.$b=function(){this.c=Ue(xr,Ht,1,0,5,1)},u.Hc=function(t){return vl(this,t,0)!=-1},u.Jc=function(t){fh(this,t)},u.Xb=function(t){return Kt(this,t)},u.Xc=function(t){return vl(this,t,0)},u.dc=function(){return this.c.length==0},u.Kc=function(){return new M(this)},u.$c=function(t){return Sm(this,t)},u.Mc=function(t){return uh(this,t)},u.Ud=function(t,n){Git(this,t,n)},u._c=function(t,n){return rd(this,t,n)},u.gc=function(){return this.c.length},u.ad=function(t){fo(this,t)},u.Pc=function(){return hoe(this)},u.Qc=function(t){return O0(this,t)};var KTn=F(Yr,"ArrayList",12);N(7,1,ko,M),u.Nb=function(t){jo(this,t)},u.Ob=function(){return Sl(this)},u.Pb=function(){return se(this)},u.Qb=function(){VA(this)},u.a=0,u.b=-1,F(Yr,"ArrayList/1",7),N(2013,v.Function,{},xe),u.te=function(t,n){return ja(t,n)},N(154,52,wvt,gf),u.Hc=function(t){return Wct(this,t)!=-1},u.Jc=function(t){var n,r,i,a;for(Xn(t),r=this.a,i=0,a=r.length;i<a;++i)n=r[i],t.td(n)},u.Xb=function(t){return unt(this,t)},u._c=function(t,n){var r;return r=(Un(t,this.a.length),this.a[t]),la(this.a,t,n),r},u.gc=function(){return this.a.length},u.ad=function(t){Roe(this.a,this.a.length,t)},u.Pc=function(){return Qht(this,Ue(xr,Ht,1,this.a.length,5,1))},u.Qc=function(t){return Qht(this,t)},F(Yr,"Arrays/ArrayList",154);var Lc,lp,tK;N(940,52,wvt,ae),u.Hc=function(t){return!1},u.Xb=function(t){return W3e(t)},u.Kc=function(){return In(),rE(),Z9},u.Yc=function(){return In(),rE(),Z9},u.gc=function(){return 0},F(Yr,"Collections/EmptyList",940),N(941,1,np,Qe),u.Nb=function(t){jo(this,t)},u.Rb=function(t){throw ue(new pi)},u.Ob=function(){return!1},u.Sb=function(){return!1},u.Pb=function(){throw ue(new Gl)},u.Tb=function(){return 0},u.Ub=function(){throw ue(new Gl)},u.Vb=function(){return-1},u.Qb=function(){throw ue(new Eh)},u.Wb=function(t){throw ue(new Eh)};var Z9;F(Yr,"Collections/EmptyListIterator",941),N(943,1967,M9,Ce),u._b=function(t){return!1},u.uc=function(t){return!1},u.vc=function(){return In(),tK},u.xc=function(t){return null},u.ec=function(){return In(),tK},u.gc=function(){return 0},u.Cc=function(){return In(),Lc},F(Yr,"Collections/EmptyMap",943),N(942,P0,L9,qe),u.Hc=function(t){return!1},u.Kc=function(){return In(),rE(),Z9},u.gc=function(){return 0},F(Yr,"Collections/EmptySet",942),N(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},R),u.Hc=function(t){return _u(this.a,t)},u.Xb=function(t){return Un(t,1),this.a},u.gc=function(){return 1},F(Yr,"Collections/SingletonList",599),N(372,1,avt,S),u.Jc=function(t){Ho(this,t)},u.Lc=function(){return new jn(null,this.Nc())},u.Nc=function(){return new zn(this,0)},u.Oc=function(){return new jn(null,this.Nc())},u.Fc=function(t){return kXe()},u.Gc=function(t){return EXe()},u.$b=function(){TXe()},u.Hc=function(t){return eP(this,t)},u.Ic=function(t){return fQe(this,t)},u.dc=function(){return this.b.dc()},u.Kc=function(){return new L(this.b.Kc())},u.Mc=function(t){return SXe()},u.gc=function(){return this.b.gc()},u.Pc=function(){return this.b.Pc()},u.Qc=function(t){return dQe(this,t)},u.Ib=function(){return wl(this.b)},F(Yr,"Collections/UnmodifiableCollection",372),N(371,1,ko,L),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.b.Ob()},u.Pb=function(){return this.b.Pb()},u.Qb=function(){CXe()},F(Yr,"Collections/UnmodifiableCollectionIterator",371),N(531,372,yvt,_V),u.Nc=function(){return new zn(this,16)},u.Vc=function(t,n){throw ue(new pi)},u.Wc=function(t,n){throw ue(new pi)},u.Fb=function(t){return hs(this.a,t)},u.Xb=function(t){return this.a.Xb(t)},u.Hb=function(){return Ws(this.a)},u.Xc=function(t){return this.a.Xc(t)},u.dc=function(){return this.a.dc()},u.Yc=function(){return new w4e(this.a.Zc(0))},u.Zc=function(t){return new w4e(this.a.Zc(t))},u.$c=function(t){throw ue(new pi)},u._c=function(t,n){throw ue(new pi)},u.ad=function(t){throw ue(new pi)},u.bd=function(t,n){return new _V(this.a.bd(t,n))},F(Yr,"Collections/UnmodifiableList",531),N(690,371,np,w4e),u.Qb=function(){CXe()},u.Rb=function(t){throw ue(new pi)},u.Sb=function(){return this.a.Sb()},u.Tb=function(){return this.a.Tb()},u.Ub=function(){return this.a.Ub()},u.Vb=function(){return this.a.Vb()},u.Wb=function(t){throw ue(new pi)},F(Yr,"Collections/UnmodifiableListIterator",690),N(600,1,Dy,W),u.wc=function(t){lM(this,t)},u.yc=function(t,n,r){return Wle(this,t,n,r)},u.$b=function(){throw ue(new pi)},u._b=function(t){return this.c._b(t)},u.uc=function(t){return pQe(this,t)},u.vc=function(){return _E(this)},u.Fb=function(t){return mQe(this,t)},u.xc=function(t){return this.c.xc(t)},u.Hb=function(){return Ws(this.c)},u.dc=function(){return this.c.dc()},u.ec=function(){return Trt(this)},u.zc=function(t,n){throw ue(new pi)},u.Bc=function(t){throw ue(new pi)},u.gc=function(){return this.c.gc()},u.Ib=function(){return wl(this.c)},u.Cc=function(){return Ert(this)},F(Yr,"Collections/UnmodifiableMap",600),N(382,372,Vhe,Q7),u.Nc=function(){return new zn(this,1)},u.Fb=function(t){return hs(this.b,t)},u.Hb=function(){return Ws(this.b)},F(Yr,"Collections/UnmodifiableSet",382),N(944,382,Vhe,nXe),u.Hc=function(t){return gQe(this,t)},u.Ic=function(t){return this.b.Ic(t)},u.Kc=function(){var t;return t=this.b.Kc(),new B(t)},u.Pc=function(){var t;return t=this.b.Pc(),Qst(t,t.length),t},u.Qc=function(t){return ait(this,t)},F(Yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),N(945,1,ko,B),u.Nb=function(t){jo(this,t)},u.Pb=function(){return new q(l(this.a.Pb(),42))},u.Ob=function(){return this.a.Ob()},u.Qb=function(){throw ue(new pi)},F(Yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),N(688,1,mfe,q),u.Fb=function(t){return this.a.Fb(t)},u.cd=function(){return this.a.cd()},u.dd=function(){return this.a.dd()},u.Hb=function(){return this.a.Hb()},u.ed=function(t){throw ue(new pi)},u.Ib=function(){return wl(this.a)},F(Yr,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),N(601,531,{20:1,14:1,15:1,54:1},mae),F(Yr,"Collections/UnmodifiableRandomAccessList",601),N(689,382,ovt,y4e),u.Nc=function(){return new Uz(this)},u.Fb=function(t){return hs(this.a,t)},u.Hb=function(){return Ws(this.a)},F(Yr,"Collections/UnmodifiableSortedSet",689),N(847,1,vfe,_n),u.ue=function(t,n){var r;return r=Zst(l(t,11),l(n,11)),r!=0?r:opt(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Yr,"Comparator/lambda$0$Type",847);var pCe,mCe,vCe;N(751,1,vfe,On),u.ue=function(t,n){return Mln(l(t,35),l(n,35))},u.Fb=function(t){return this===t},u.ve=function(){return M6(),vCe},F(Yr,"Comparators/NaturalOrderComparator",751),N(1177,1,vfe,Dt),u.ue=function(t,n){return Lln(l(t,35),l(n,35))},u.Fb=function(t){return this===t},u.ve=function(){return M6(),mCe},F(Yr,"Comparators/ReverseNaturalOrderComparator",1177),N(64,1,vfe,be),u.Fb=function(t){return this===t},u.ue=function(t,n){return this.a.ue(n,t)},u.ve=function(){return this.a},F(Yr,"Comparators/ReversedComparator",64),N(166,60,Wp,Zf),F(Yr,"ConcurrentModificationException",166);var Ryt,Byt;N(1904,1,wR,ai),u.we=function(t){Eht(this,t)},u.Ib=function(){return"DoubleSummaryStatistics[count = "+$A(this.a)+", avg = "+(RQe(this.a,0)?Nat(this)/cy(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+Nat(this)+"]"},u.a=0,u.b=Oa,u.c=ma,u.d=0,u.e=0,u.f=0,F(Yr,"DoubleSummaryStatistics",1904),N(1805,60,Wp,ZKe),F(Yr,"EmptyStackException",1805),N(451,1967,Dy,bM),u.zc=function(t,n){return W4e(this,t,n)},u.$b=function(){prt(this)},u._b=function(t){return NQe(this,t)},u.uc=function(t){var n,r;for(r=new uk(this.a);r.a<r.c.a.length;)if(n=JA(r),_u(t,this.b[n.g]))return!0;return!1},u.vc=function(){return new Fe(this)},u.xc=function(t){return Vc(this,t)},u.Bc=function(t){return D6e(this,t)},u.gc=function(){return this.a.c},F(Yr,"EnumMap",451),N(1352,P0,Oh,Fe),u.$b=function(){prt(this.a)},u.Hc=function(t){return _st(this,t)},u.Kc=function(){return new cnt(this.a)},u.Mc=function(t){var n;return _st(this,t)?(n=l(t,42).cd(),D6e(this.a,n),!0):!1},u.gc=function(){return this.a.a.c},F(Yr,"EnumMap/EntrySet",1352),N(1353,1,ko,cnt),u.Nb=function(t){jo(this,t)},u.Pb=function(){return this.b=JA(this.a),new FQe(this.c,this.b)},u.Ob=function(){return r4e(this.a)},u.Qb=function(){o4(!!this.b),D6e(this.c,this.b),this.b=null},F(Yr,"EnumMap/EntrySetIterator",1353),N(1354,1984,mfe,FQe),u.cd=function(){return this.a},u.dd=function(){return this.b.b[this.a.g]},u.ed=function(t){return r6e(this.b,this.a.g,t)},F(Yr,"EnumMap/MapEntry",1354),N(174,P0,{20:1,28:1,14:1,174:1,21:1});var Fyt=F(Yr,"EnumSet",174);N(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},ed),u.Fc=function(t){return p1(this,l(t,22))},u.Hc=function(t){return Boe(this,t)},u.Kc=function(){return new uk(this)},u.Mc=function(t){return xnt(this,t)},u.gc=function(){return this.c},u.c=0,F(Yr,"EnumSet/EnumSetImpl",156),N(343,1,ko,uk),u.Nb=function(t){jo(this,t)},u.Pb=function(){return JA(this)},u.Ob=function(){return r4e(this)},u.Qb=function(){o4(this.b!=-1),la(this.c.b,this.b,null),--this.c.c,this.b=-1},u.a=-1,u.b=-1,F(Yr,"EnumSet/EnumSetImpl/IteratorImpl",343),N(43,488,s_,si,lk,JZe),u.re=function(t,n){return Je(t)===Je(n)||t!=null&&hs(t,n)},u.se=function(t){var n;return n=Ws(t),n|0},F(Yr,"HashMap",43),N(53,P0,OEe,Ja,Lz,BA),u.Fc=function(t){return Ga(this,t)},u.$b=function(){this.a.$b()},u.Hc=function(t){return Ap(this,t)},u.dc=function(){return this.a.gc()==0},u.Kc=function(){return this.a.ec().Kc()},u.Mc=function(t){return o4e(this,t)},u.gc=function(){return this.a.gc()};var YTn=F(Yr,"HashSet",53);N(1781,1,dR,Ft),u.ud=function(t){Nlt(this,t)},u.Ib=function(){return"IntSummaryStatistics[count = "+$A(this.a)+", avg = "+(RQe(this.a,0)?cy(this.d)/cy(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+$A(this.d)+"]"},u.a=0,u.b=Jo,u.c=as,u.d=0,F(Yr,"IntSummaryStatistics",1781),N(1049,1,rp,fJe),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new V6e(this)},u.c=0,F(Yr,"InternalHashCodeMap",1049),N(711,1,ko,V6e),u.Nb=function(t){jo(this,t)},u.Pb=function(){return this.d=this.a[this.c++],this.d},u.Ob=function(){var t;return this.c<this.a.length?!0:(t=this.b.next(),t.done?!1:(this.a=t.value[1],this.c=0,!0))},u.Qb=function(){i7e(this.e,this.d.cd()),this.c!=0&&--this.c},u.c=0,u.d=null,F(Yr,"InternalHashCodeMap/1",711);var jyt;N(1047,1,rp,dJe),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new J6e(this)},u.c=0,u.d=0,F(Yr,"InternalStringMap",1047),N(710,1,ko,J6e),u.Nb=function(t){jo(this,t)},u.Pb=function(){return this.c=this.a,this.a=this.b.next(),new btt(this.d,this.c,this.d.d)},u.Ob=function(){return!this.a.done},u.Qb=function(){qlt(this.d,this.c.value[0])},F(Yr,"InternalStringMap/1",710),N(1048,1984,mfe,btt),u.cd=function(){return this.b.value[0]},u.dd=function(){return this.a.d!=this.c?lA(this.a,this.b.value[0]):this.b.value[1]},u.ed=function(t){return wy(this.a,this.b.value[0],t)},u.c=0,F(Yr,"InternalStringMap/2",1048),N(228,43,s_,d2,b_e),u.$b=function(){Get(this)},u._b=function(t){return BQe(this,t)},u.uc=function(t){var n;for(n=this.d.a;n!=this.d;){if(_u(n.e,t))return!0;n=n.a}return!1},u.vc=function(){return new $e(this)},u.xc=function(t){return uy(this,t)},u.zc=function(t,n){return S2(this,t,n)},u.Bc=function(t){return qot(this,t)},u.gc=function(){return rA(this.e)},u.c=!1,F(Yr,"LinkedHashMap",228),N(387,383,{484:1,383:1,387:1,42:1},met,_5e),F(Yr,"LinkedHashMap/ChainEntry",387),N(701,P0,Oh,$e),u.$b=function(){Get(this.a)},u.Hc=function(t){return kst(this,t)},u.Kc=function(){return new p6e(this)},u.Mc=function(t){var n;return kst(this,t)?(n=l(t,42).cd(),qot(this.a,n),!0):!1},u.gc=function(){return rA(this.a.e)},F(Yr,"LinkedHashMap/EntrySet",701),N(702,1,ko,p6e),u.Nb=function(t){jo(this,t)},u.Pb=function(){return yot(this)},u.Ob=function(){return this.b!=this.c.a.d},u.Qb=function(){o4(!!this.a),Ice(this.c.a.e,this),I5e(this.a),Dk(this.c.a.e,this.a.d),R4e(this.c.a.e,this),this.a=null},F(Yr,"LinkedHashMap/EntrySet/EntryIterator",702),N(178,53,OEe,Mp,loe,N5e);var XTn=F(Yr,"LinkedHashSet",178);N(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},sa,koe),u.Fc=function(t){return zi(this,t)},u.$b=function(){Sd(this)},u.Zc=function(t){return $i(this,t)},u.gc=function(){return this.b},u.b=0;var QTn=F(Yr,"LinkedList",68);N(970,1,np,wtt),u.Nb=function(t){jo(this,t)},u.Rb=function(t){NP(this,t)},u.Ob=function(){return Iz(this)},u.Sb=function(){return this.b.b!=this.d.a},u.Pb=function(){return ji(this)},u.Tb=function(){return this.a},u.Ub=function(){return Mce(this)},u.Vb=function(){return this.a-1},u.Qb=function(){Zq(this)},u.Wb=function(t){o4(!!this.c),this.c.c=t},u.a=0,u.c=null,F(Yr,"LinkedList/ListIteratorImpl",970),N(608,1,{},Ot),F(Yr,"LinkedList/Node",608),N(1959,1,{});var bCe,$yt;F(Yr,"Locale",1959),N(861,1959,{},Vt),u.Ib=function(){return""},F(Yr,"Locale/1",861),N(862,1959,{},Rt),u.Ib=function(){return"unknown"},F(Yr,"Locale/4",862),N(109,60,{3:1,102:1,60:1,78:1,109:1},Gl,Crt),F(Yr,"NoSuchElementException",109),N(404,1,{404:1},kz),u.Fb=function(t){var n;return t===this?!0:Le(t,404)?(n=l(t,404),_u(this.a,n.a)):!1},u.Hb=function(){return k6(this.a)},u.Ib=function(){return this.a!=null?evt+LA(this.a)+")":"Optional.empty()"};var nK;F(Yr,"Optional",404),N(463,1,{463:1},iJe,M4e),u.Fb=function(t){var n;return t===this?!0:Le(t,463)?(n=l(t,463),this.a==n.a&&ja(this.b,n.b)==0):!1},u.Hb=function(){return this.a?Sa(this.b):0},u.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},u.a=!1,u.b=0;var wCe;F(Yr,"OptionalDouble",463),N(517,1,{517:1},sJe,det),u.Fb=function(t){var n;return t===this?!0:Le(t,517)?(n=l(t,517),this.a==n.a&&ah(this.b,n.b)==0):!1},u.Hb=function(){return this.a?this.b:0},u.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},u.a=!1,u.b=0;var Hyt;F(Yr,"OptionalInt",517),N(503,2004,q4,eq),u.Gc=function(t){return Vke(this,t)},u.$b=function(){this.b.c=Ue(xr,Ht,1,0,5,1)},u.Hc=function(t){return(t==null?-1:vl(this.b,t,0))!=-1},u.Kc=function(){return new X(this)},u.Mc=function(t){return alt(this,t)},u.gc=function(){return this.b.c.length},u.Nc=function(){return new zn(this,256)},u.Pc=function(){return hoe(this.b)},u.Qc=function(t){return O0(this.b,t)},F(Yr,"PriorityQueue",503),N(1277,1,ko,X),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.a<this.c.b.c.length},u.Pb=function(){return kr(this.a<this.c.b.c.length),this.b=this.a++,Kt(this.c.b,this.b)},u.Qb=function(){o4(this.b!=-1),gle(this.c,this.a=this.b),this.b=-1},u.a=0,u.b=-1,F(Yr,"PriorityQueue/1",1277),N(230,1,{230:1},Kle,Dq),u.a=0,u.b=0;var yCe,_Ce,ZTn=0;F(Yr,"Random",230),N(27,1,Ld,zn,Jw,Mrt),u.qd=function(){return this.a},u.rd=function(){return Q5e(this),this.c},u.Nb=function(t){Q5e(this),this.d.Nb(t)},u.sd=function(t){return gct(this,t)},u.a=0,u.c=0,F(Yr,"Spliterators/IteratorSpliterator",27),N(485,27,Ld,Uz),F(Yr,"SortedSet/1",485),N(602,1,wR,ee),u.we=function(t){this.a.td(t)},F(Yr,"Spliterator/OfDouble/0methodref$accept$Type",602),N(603,1,wR,le),u.we=function(t){this.a.td(t)},F(Yr,"Spliterator/OfDouble/1methodref$accept$Type",603),N(604,1,dR,fe),u.ud=function(t){this.a.td(St(t))},F(Yr,"Spliterator/OfInt/2methodref$accept$Type",604),N(605,1,dR,ve),u.ud=function(t){this.a.td(St(t))},F(Yr,"Spliterator/OfInt/3methodref$accept$Type",605),N(617,1,Ld),u.Nb=function(t){r3e(this,t)},u.qd=function(){return this.d},u.rd=function(){return this.e},u.d=0,u.e=0,F(Yr,"Spliterators/BaseSpliterator",617),N(721,617,Ld),u.xe=function(t){m6(this,t)},u.Nb=function(t){Le(t,182)?m6(this,l(t,182)):m6(this,new le(t))},u.sd=function(t){return Le(t,182)?this.ye(l(t,182)):this.ye(new ee(t))},F(Yr,"Spliterators/AbstractDoubleSpliterator",721),N(720,617,Ld),u.xe=function(t){m6(this,t)},u.Nb=function(t){Le(t,196)?m6(this,l(t,196)):m6(this,new ve(t))},u.sd=function(t){return Le(t,196)?this.ye(l(t,196)):this.ye(new fe(t))},F(Yr,"Spliterators/AbstractIntSpliterator",720),N(540,617,Ld),F(Yr,"Spliterators/AbstractSpliterator",540),N(692,1,Ld),u.Nb=function(t){r3e(this,t)},u.qd=function(){return this.b},u.rd=function(){return this.d-this.c},u.b=0,u.c=0,u.d=0,F(Yr,"Spliterators/BaseArraySpliterator",692),N(947,692,Ld,Xtt),u.ze=function(t,n){Hrn(this,l(t,38),n)},u.Nb=function(t){nce(this,t)},u.sd=function(t){return jq(this,t)},F(Yr,"Spliterators/ArraySpliterator",947),N(693,692,Ld,ptt),u.ze=function(t,n){zrn(this,l(t,182),n)},u.xe=function(t){nce(this,t)},u.Nb=function(t){Le(t,182)?nce(this,l(t,182)):nce(this,new le(t))},u.ye=function(t){return jq(this,t)},u.sd=function(t){return Le(t,182)?jq(this,l(t,182)):jq(this,new ee(t))},F(Yr,"Spliterators/DoubleArraySpliterator",693),N(1968,1,Ld),u.Nb=function(t){r3e(this,t)},u.qd=function(){return 16448},u.rd=function(){return 0};var zyt;F(Yr,"Spliterators/EmptySpliterator",1968),N(946,1968,Ld,ht),u.xe=function(t){F7(t)},u.Nb=function(t){Le(t,196)?F7(l(t,196)):F7(new ve(t))},u.ye=function(t){return g3e(t)},u.sd=function(t){return Le(t,196)?g3e(l(t,196)):g3e(new fe(t))},F(Yr,"Spliterators/EmptySpliterator/OfInt",946),N(580,52,_vt,_z),u.Vc=function(t,n){mE(t,this.a.c.length+1),f4(this.a,t,n)},u.Fc=function(t){return wt(this.a,t)},u.Wc=function(t,n){return mE(t,this.a.c.length+1),Dxe(this.a,t,n)},u.Gc=function(t){return Fa(this.a,t)},u.$b=function(){this.a.c=Ue(xr,Ht,1,0,5,1)},u.Hc=function(t){return vl(this.a,t,0)!=-1},u.Ic=function(t){return mN(this.a,t)},u.Jc=function(t){fh(this.a,t)},u.Xb=function(t){return mE(t,this.a.c.length),Kt(this.a,t)},u.Xc=function(t){return vl(this.a,t,0)},u.dc=function(){return this.a.c.length==0},u.Kc=function(){return new M(this.a)},u.$c=function(t){return mE(t,this.a.c.length),Sm(this.a,t)},u.Ud=function(t,n){Git(this.a,t,n)},u._c=function(t,n){return mE(t,this.a.c.length),rd(this.a,t,n)},u.gc=function(){return this.a.c.length},u.ad=function(t){fo(this.a,t)},u.bd=function(t,n){return new Qg(this.a,t,n)},u.Pc=function(){return hoe(this.a)},u.Qc=function(t){return O0(this.a,t)},u.Ib=function(){return tb(this.a)},F(Yr,"Vector",580),N(809,580,_vt,Lye),F(Yr,"Stack",809),N(206,1,{206:1},w2),u.Ib=function(){return pst(this)},F(Yr,"StringJoiner",206),N(544,1992,{3:1,83:1,171:1,161:1},wQe,qoe),u.$b=function(){XC(this)},u.vc=function(){return new IA(this)},u.zc=function(t,n){return EU(this,t,n)},u.Bc=function(t){return KA(this,t)},u.gc=function(){return this.c},u.c=0,F(Yr,"TreeMap",544),N(390,1,ko,PA),u.Nb=function(t){jo(this,t)},u.Pb=function(){return CV(this)},u.Ob=function(){return iP(this.a)},u.Qb=function(){ytt(this)},F(Yr,"TreeMap/EntryIterator",390),N(435,739,Oh,IA),u.$b=function(){XC(this.a)},F(Yr,"TreeMap/EntrySet",435),N(436,383,{484:1,383:1,42:1,436:1},Wce),u.b=!1;var JTn=F(Yr,"TreeMap/Node",436);N(621,1,{},qt),u.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},u.a=!1,u.b=!1,u.c=!1,F(Yr,"TreeMap/State",621),N(297,22,yfe,Gz),u.Ae=function(){return!1},u.Be=function(){return!1};var P1e,xCe,kCe,ECe,rK=_i(Yr,"TreeMap/SubMapType",297,Si,Sdn,ron);N(1112,297,yfe,yJe),u.Be=function(){return!0},_i(Yr,"TreeMap/SubMapType/1",1112,rK,null,null),N(1113,297,yfe,OJe),u.Ae=function(){return!0},u.Be=function(){return!0},_i(Yr,"TreeMap/SubMapType/2",1113,rK,null,null),N(1114,297,yfe,_Je),u.Ae=function(){return!0},_i(Yr,"TreeMap/SubMapType/3",1114,rK,null,null);var Vyt;N(208,P0,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},Tye,Dv),u.Nc=function(){return new Uz(this)},u.Fc=function(t){return PP(this,t)},u.$b=function(){XC(this.a)},u.Hc=function(t){return xoe(this.a,t)},u.Kc=function(){var t;return t=new PA(new IA(new _(this.a).a).b),new p(t)},u.Mc=function(t){return coe(this,t)},u.gc=function(){return this.a.c};var eSn=F(Yr,"TreeSet",208);N(966,1,{},ze),u.Ce=function(t,n){return _an(this.a,t,n)},F(_fe,"BinaryOperator/lambda$0$Type",966),N(967,1,{},Xe),u.Ce=function(t,n){return xan(this.a,t,n)},F(_fe,"BinaryOperator/lambda$1$Type",967),N(846,1,{},et),u.Kb=function(t){return t},F(_fe,"Function/lambda$0$Type",846),N(431,1,Xi,lt),u.Mb=function(t){return!this.a.Mb(t)},F(_fe,"Predicate/lambda$2$Type",431),N(572,1,{572:1});var qyt=F(KM,"Handler",572);N(2007,1,hR),u.ne=function(){return"DUMMY"},u.Ib=function(){return this.ne()};var TCe;F(KM,"Level",2007),N(1621,2007,hR,Ut),u.ne=function(){return"INFO"},F(KM,"Level/LevelInfo",1621),N(1640,1,{},rYe);var N1e;F(KM,"LogManager",1640),N(1780,1,hR,_tt),u.b=null,F(KM,"LogRecord",1780),N(512,1,{512:1},Fce),u.e=!1;var Uyt=!1,Gyt=!1,F0=!1,Wyt=!1,Kyt=!1;F(KM,"Logger",512),N(819,572,{572:1},it),F(KM,"SimpleConsoleLogHandler",819),N(132,22,{3:1,35:1,22:1,132:1},kae);var SCe,Hf,t5,of=_i(Ha,"Collector/Characteristics",132,Si,kfn,ion),Yyt;N(744,1,{},n6e),F(Ha,"CollectorImpl",744),N(1060,1,{},Zn),u.Ce=function(t,n){return Amn(l(t,206),l(n,206))},F(Ha,"Collectors/10methodref$merge$Type",1060),N(1061,1,{},Ge),u.Kb=function(t){return pst(l(t,206))},F(Ha,"Collectors/11methodref$toString$Type",1061),N(1062,1,{},st),u.Kb=function(t){return er(),!!K3e(t)},F(Ha,"Collectors/12methodref$test$Type",1062),N(251,1,{},$t),u.Od=function(t,n){l(t,14).Fc(n)},F(Ha,"Collectors/20methodref$add$Type",251),N(253,1,{},Pt),u.Ee=function(){return new yt},F(Ha,"Collectors/21methodref$ctor$Type",253),N(346,1,{},ws),u.Ee=function(){return new Ja},F(Ha,"Collectors/23methodref$ctor$Type",346),N(347,1,{},xn),u.Od=function(t,n){Ga(l(t,53),n)},F(Ha,"Collectors/24methodref$add$Type",347),N(1055,1,{},Zi),u.Ce=function(t,n){return yQe(l(t,15),l(n,14))},F(Ha,"Collectors/4methodref$addAll$Type",1055),N(1059,1,{},gi),u.Od=function(t,n){Rp(l(t,206),l(n,475))},F(Ha,"Collectors/9methodref$add$Type",1059),N(1058,1,{},Ftt),u.Ee=function(){return new w2(this.a,this.b,this.c)},F(Ha,"Collectors/lambda$15$Type",1058),N(1063,1,{},Cr),u.Ee=function(){var t;return t=new d2,S2(t,(er(),!1),new yt),S2(t,!0,new yt),t},F(Ha,"Collectors/lambda$22$Type",1063),N(1064,1,{},Ze),u.Ee=function(){return pe(de(xr,1),Ht,1,5,[this.a])},F(Ha,"Collectors/lambda$25$Type",1064),N(1065,1,{},gt),u.Od=function(t,n){Iln(this.a,m2(t))},F(Ha,"Collectors/lambda$26$Type",1065),N(1066,1,{},tt),u.Ce=function(t,n){return run(this.a,m2(t),m2(n))},F(Ha,"Collectors/lambda$27$Type",1066),N(1067,1,{},yr),u.Kb=function(t){return m2(t)[0]},F(Ha,"Collectors/lambda$28$Type",1067),N(713,1,{},Sr),u.Ce=function(t,n){return R5e(t,n)},F(Ha,"Collectors/lambda$4$Type",713),N(252,1,{},or),u.Ce=function(t,n){return cin(l(t,14),l(n,14))},F(Ha,"Collectors/lambda$42$Type",252),N(348,1,{},Ar),u.Ce=function(t,n){return lin(l(t,53),l(n,53))},F(Ha,"Collectors/lambda$50$Type",348),N(349,1,{},bo),u.Kb=function(t){return l(t,53)},F(Ha,"Collectors/lambda$51$Type",349),N(1054,1,{},Tt),u.Od=function(t,n){Upn(this.a,l(t,83),n)},F(Ha,"Collectors/lambda$7$Type",1054),N(1056,1,{},wo),u.Ce=function(t,n){return wpn(l(t,83),l(n,83),new Zi)},F(Ha,"Collectors/lambda$8$Type",1056),N(1057,1,{},Ct),u.Kb=function(t){return cvn(this.a,l(t,83))},F(Ha,"Collectors/lambda$9$Type",1057),N(539,1,{}),u.He=function(){GA(this)},u.d=!1,F(Ha,"TerminatableStream",539),N(812,539,NEe,j4e),u.He=function(){GA(this)},F(Ha,"DoubleStreamImpl",812),N(1784,721,Ld,jtt),u.ye=function(t){return m2n(this,l(t,182))},u.a=null,F(Ha,"DoubleStreamImpl/2",1784),N(1785,1,wR,pt),u.we=function(t){tsn(this.a,t)},F(Ha,"DoubleStreamImpl/2/lambda$0$Type",1785),N(1782,1,wR,Wt),u.we=function(t){esn(this.a,t)},F(Ha,"DoubleStreamImpl/lambda$0$Type",1782),N(1783,1,wR,At),u.we=function(t){Eht(this.a,t)},F(Ha,"DoubleStreamImpl/lambda$2$Type",1783),N(1358,720,Ld,Sat),u.ye=function(t){return wdn(this,l(t,196))},u.a=0,u.b=0,u.c=0,F(Ha,"IntStream/5",1358),N(787,539,NEe,$4e),u.He=function(){GA(this)},u.Ie=function(){return qv(this),this.a},F(Ha,"IntStreamImpl",787),N(788,539,NEe,o3e),u.He=function(){GA(this)},u.Ie=function(){return qv(this),c4e(),zyt},F(Ha,"IntStreamImpl/Empty",788),N(1463,1,dR,Mn),u.ud=function(t){Nlt(this.a,t)},F(Ha,"IntStreamImpl/lambda$4$Type",1463);var tSn=na(Ha,"Stream");N(30,539,{525:1,670:1,833:1},jn),u.He=function(){GA(this)};var J9;F(Ha,"StreamImpl",30),N(845,1,{},ra),u.ld=function(t){return Htt(t)},F(Ha,"StreamImpl/0methodref$lambda$2$Type",845),N(1084,540,Ld,gtt),u.sd=function(t){for(;l0n(this);){if(this.a.sd(t))return!0;GA(this.b),this.b=null,this.a=null}return!1},F(Ha,"StreamImpl/1",1084),N(1085,1,vr,tn),u.td=function(t){sln(this.a,l(t,833))},F(Ha,"StreamImpl/1/lambda$0$Type",1085),N(1086,1,Xi,sn),u.Mb=function(t){return Ga(this.a,t)},F(Ha,"StreamImpl/1methodref$add$Type",1086),N(1087,540,Ld,Vrt),u.sd=function(t){var n;return this.a||(n=new yt,this.b.a.Nb(new Fn(n)),In(),fo(n,this.c),this.a=new zn(n,16)),gct(this.a,t)},u.a=null,F(Ha,"StreamImpl/5",1087),N(1088,1,vr,Fn),u.td=function(t){wt(this.a,t)},F(Ha,"StreamImpl/5/2methodref$add$Type",1088),N(722,540,Ld,E_e),u.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new $Qe(this,t)););return this.b},u.b=!1,F(Ha,"StreamImpl/FilterSpliterator",722),N(1079,1,vr,$Qe),u.td=function(t){nun(this.a,this.b,t)},F(Ha,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),N(1075,721,Ld,Fat),u.ye=function(t){return Uan(this,l(t,182))},F(Ha,"StreamImpl/MapToDoubleSpliterator",1075),N(1078,1,vr,HQe),u.td=function(t){kin(this.a,this.b,t)},F(Ha,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),N(1074,720,Ld,jat),u.ye=function(t){return Gan(this,l(t,196))},F(Ha,"StreamImpl/MapToIntSpliterator",1074),N(1077,1,vr,zQe),u.td=function(t){xin(this.a,this.b,t)},F(Ha,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),N(719,540,Ld,f_e),u.sd=function(t){return htt(this,t)},F(Ha,"StreamImpl/MapToObjSpliterator",719),N(1076,1,vr,VQe),u.td=function(t){Ein(this.a,this.b,t)},F(Ha,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),N(618,1,vr,Ys),u.td=function(t){Sse(this,t)},F(Ha,"StreamImpl/ValueConsumer",618),N(1080,1,vr,yo),u.td=function(t){i2()},F(Ha,"StreamImpl/lambda$0$Type",1080),N(1081,1,vr,Jl),u.td=function(t){i2()},F(Ha,"StreamImpl/lambda$1$Type",1081),N(1082,1,{},Yn),u.Ce=function(t,n){return xon(this.a,t,n)},F(Ha,"StreamImpl/lambda$4$Type",1082),N(1083,1,vr,jQe),u.td=function(t){Oan(this.b,this.a,t)},F(Ha,"StreamImpl/lambda$5$Type",1083),N(1089,1,vr,wr),u.td=function(t){Fpn(this.a,l(t,365))},F(Ha,"TerminatableStream/lambda$0$Type",1089),N(2041,1,{}),N(1914,1,{},co),F("javaemul.internal","ConsoleLogger",1914),N(2038,1,{});var nSn=0,CCe,ACe=0,iK;N(1768,1,vr,Zs),u.td=function(t){l(t,308)},F(D9,"BowyerWatsonTriangulation/lambda$0$Type",1768),N(1769,1,vr,qn),u.td=function(t){mc(this.a,l(t,308).e)},F(D9,"BowyerWatsonTriangulation/lambda$1$Type",1769),N(1770,1,vr,Cs),u.td=function(t){l(t,168)},F(D9,"BowyerWatsonTriangulation/lambda$2$Type",1770),N(1765,1,As,br),u.ue=function(t,n){return Zdn(this.a,l(t,168),l(n,168))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(D9,"NaiveMinST/lambda$0$Type",1765),N(499,1,{},Dr),F(D9,"NodeMicroLayout",499),N(168,1,{168:1},hk),u.Fb=function(t){var n;return Le(t,168)?(n=l(t,168),_u(this.a,n.a)&&_u(this.b,n.b)||_u(this.a,n.b)&&_u(this.b,n.a)):!1},u.Hb=function(){return k6(this.a)+k6(this.b)};var rSn=F(D9,"TEdge",168);N(308,1,{308:1},J7e),u.Fb=function(t){var n;return Le(t,308)?(n=l(t,308),Gq(this,n.a)&&Gq(this,n.b)&&Gq(this,n.c)):!1},u.Hb=function(){return k6(this.a)+k6(this.b)+k6(this.c)},F(D9,"TTriangle",308),N(221,1,{221:1},vV),F(D9,"Tree",221),N(1254,1,{},Lit),F(Evt,"Scanline",1254);var Xyt=na(Evt,Tvt);N(1692,1,{},bct),F(ap,"CGraph",1692),N(307,1,{307:1},Tit),u.b=0,u.c=0,u.d=0,u.g=0,u.i=0,u.k=Oa,F(ap,"CGroup",307),N(815,1,{},Sye),F(ap,"CGroup/CGroupBuilder",815),N(57,1,{57:1},Yet),u.Ib=function(){var t;return this.j?wi(this.j.Kb(this)):(Lp(sK),sK.o+"@"+(t=Kw(this)>>>0,t.toString(16)))},u.f=0,u.i=Oa;var sK=F(ap,"CNode",57);N(814,1,{},Cye),F(ap,"CNode/CNodeBuilder",814);var Qyt;N(1525,1,{},Gr),u.Oe=function(t,n){return 0},u.Pe=function(t,n){return 0},F(ap,Cvt,1525),N(1790,1,{},Wr),u.Le=function(t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe;for(C=ma,i=new M(t.a.b);i.a<i.c.c.length;)n=l(se(i),57),C=v.Math.min(C,n.a.j.d.c+n.b.a);for(Z=new sa,d=new M(t.a.a);d.a<d.c.c.length;)h=l(se(d),307),h.k=C,h.g==0&&xa(Z,h,Z.c.b,Z.c);for(;Z.b!=0;){for(h=l(Z.b==0?null:(kr(Z.b!=0),sd(Z,Z.a.a)),307),a=h.j.d.c,K=h.a.a.ec().Kc();K.Ob();)P=l(K.Pb(),57),oe=h.k+P.b.a,!gmn(t,h,t.d)||P.d.c<oe?P.i=oe:P.i=P.d.c;for(a-=h.j.i,h.b+=a,t.d==(Dc(),x1)||t.d==Zp?h.c+=a:h.c-=a,$=h.a.a.ec().Kc();$.Ob();)for(P=l($.Pb(),57),E=P.c.Kc();E.Ob();)b=l(E.Pb(),57),Bv(t.d)?te=t.g.Oe(P,b):te=t.g.Pe(P,b),b.a.k=v.Math.max(b.a.k,P.i+P.d.b+te-b.b.a),Qrt(t,b,t.d)&&(b.a.k=v.Math.max(b.a.k,b.d.c-b.b.a)),--b.a.g,b.a.g==0&&zi(Z,b.a)}for(r=new M(t.a.b);r.a<r.c.c.length;)n=l(se(r),57),n.d.c=n.i},F(ap,"LongestPathCompaction",1790),N(1690,1,{},U1t),u.e=!1;var Zyt,Jyt,e3t,R1e=F(ap,Lvt,1690);N(1691,1,vr,Qr),u.td=function(t){mpn(this.a,l(t,46))},F(ap,Ivt,1691),N(1791,1,{},Bi),u.Me=function(t){var n,r,i,a,h,d,b;for(r=new M(t.a.b);r.a<r.c.c.length;)n=l(se(r),57),n.c.$b();for(a=new M(t.a.b);a.a<a.c.c.length;)for(i=l(se(a),57),d=new M(t.a.b);d.a<d.c.c.length;)h=l(se(d),57),i!=h&&(i.a&&i.a==h.a||(Bv(t.d)?b=t.g.Pe(i,h):b=t.g.Oe(i,h),(h.d.c>i.d.c||i.d.c==h.d.c&&i.d.b<h.d.b)&&tbn(h.d.d+h.d.a+b,i.d.d)&&yke(h.d.d,i.d.d+i.d.a+b)&&i.c.Fc(h)))},F(ap,"QuadraticConstraintCalculation",1791),N(522,1,{522:1},Qse),u.a=!1,u.b=!1,u.c=!1,u.d=!1,F(ap,Ovt,522),N(803,1,{},z5e),u.Me=function(t){this.c=t,UN(this,new An)},F(ap,Dvt,803),N(1718,1,{679:1},Jrt),u.Ke=function(t){h4n(this,l(t,464))},F(ap,Pvt,1718),N(1719,1,As,_r),u.ue=function(t,n){return fhn(l(t,57),l(n,57))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(ap,Nvt,1719),N(464,1,{464:1},v3e),u.a=!1,F(ap,Rvt,464),N(1720,1,As,js),u.ue=function(t,n){return kwn(l(t,464),l(n,464))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(ap,Bvt,1720),N(1721,1,wg,An),u.Lb=function(t){return l(t,57),!0},u.Fb=function(t){return this===t},u.Mb=function(t){return l(t,57),!0},F(ap,"ScanlineConstraintCalculator/lambda$1$Type",1721),N(428,22,{3:1,35:1,22:1,428:1},y3e);var MCe,B1e,LCe=_i(Tfe,"HighLevelSortingCriterion",428,Si,Zhn,son),t3t;N(427,22,{3:1,35:1,22:1,427:1},_3e);var ICe,F1e,OCe=_i(Tfe,"LowLevelSortingCriterion",427,Si,Jhn,aon),n3t,v_=na(Ol,"ILayoutMetaDataProvider");N(853,1,Id,ID),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,jEe),Sfe),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),jCe),(Bm(),wa)),KCe),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,$Ee),Sfe),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),BCe),wa),OCe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,HEe),Sfe),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),NCe),wa),LCe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,zEe),Sfe),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(er(),!0)),tc),Ya),kn(hr))))};var DCe,PCe,NCe,RCe,BCe,FCe,jCe;F(Tfe,"PolyominoOptions",853),N(250,22,{3:1,35:1,22:1,250:1},b6);var $Ce,HCe,zCe,VCe,qCe,UCe,j1e,GCe,WCe,KCe=_i(Tfe,"TraversalStrategy",250,Si,fgn,oon),r3t;N(213,1,{213:1},Qa),u.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},u.a=1,u.b=0,u.c=0,u.f=!1,u.g=0;var i3t=F(YM,"NEdge",213);N(176,1,{},kd),F(YM,"NEdge/NEdgeBuilder",176),N(653,1,{},Jse),F(YM,"NGraph",653),N(121,1,{121:1},Rat),u.c=-1,u.d=0,u.e=0,u.i=-1,u.j=!1;var YCe=F(YM,"NNode",121);N(795,1,yvt,kye),u.Jc=function(t){Ho(this,t)},u.Lc=function(){return new jn(null,new zn(this,16))},u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.Oc=function(){return new jn(null,new zn(this,16))},u.Vc=function(t,n){++this.b,f4(this.a,t,n)},u.Fc=function(t){return EV(this,t)},u.Wc=function(t,n){return++this.b,Dxe(this.a,t,n)},u.Gc=function(t){return++this.b,Fa(this.a,t)},u.$b=function(){++this.b,this.a.c=Ue(xr,Ht,1,0,5,1)},u.Hc=function(t){return vl(this.a,t,0)!=-1},u.Ic=function(t){return mN(this.a,t)},u.Xb=function(t){return Kt(this.a,t)},u.Xc=function(t){return vl(this.a,t,0)},u.dc=function(){return this.a.c.length==0},u.Kc=function(){return Nk(new M(this.a))},u.Yc=function(){throw ue(new pi)},u.Zc=function(t){throw ue(new pi)},u.$c=function(t){return++this.b,Sm(this.a,t)},u.Mc=function(t){return E4e(this,t)},u._c=function(t,n){return++this.b,rd(this.a,t,n)},u.gc=function(){return this.a.c.length},u.bd=function(t,n){return new Qg(this.a,t,n)},u.Pc=function(){return hoe(this.a)},u.Qc=function(t){return O0(this.a,t)},u.b=0,F(YM,"NNode/ChangeAwareArrayList",795),N(269,1,{},r2),F(YM,"NNode/NNodeBuilder",269),N(1630,1,{},dr),u.a=!1,u.f=as,u.j=0,F(YM,"NetworkSimplex",1630),N(1294,1,vr,Hr),u.td=function(t){wmt(this.a,l(t,680),!0,!1)},F(Fvt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),N(558,1,{},Mr),u.b=!0,u.c=!0,u.d=!0,u.e=!0,F(Fvt,"NodeMarginCalculator",558),N(212,1,{212:1}),u.j=!1,u.k=!1;var s3t=F(D2,"Cell",212);N(124,212,{124:1,212:1},ttt),u.Re=function(){return FV(this)},u.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},F(D2,"AtomicCell",124),N(232,22,{3:1,35:1,22:1,232:1},Eae);var Hl,$u,zl,n5=_i(D2,"ContainerArea",232,Si,Efn,con),a3t;N(326,212,jvt),F(D2,"ContainerCell",326),N(1473,326,jvt,bht),u.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=tke(this,Lft(this,!0)),t>0?t+this.n.d+this.n.a:0},u.Se=function(){var t,n,r,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=tke(this,Aue(this,null,!0));else for(n=(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])),r=0,i=n.length;r<i;++r)t=n[r],a=v.Math.max(a,tke(this,Aue(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},u.Te=function(){var t,n,r,i,a;if(this.g)for(t=Aue(this,null,!1),r=(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])),i=0,a=r.length;i<a;++i)n=r[i],rgt(this,n,t);else for(r=(G1(),pe(de(n5,1),vt,232,0,[Hl,$u,zl])),i=0,a=r.length;i<a;++i)n=r[i],t=Aue(this,n,!1),rgt(this,n,t)},u.Ue=function(){var t,n,r,i;n=this.i,t=this.n,i=Lft(this,!1),s_e(this,(G1(),Hl),n.d+t.d,i),s_e(this,zl,n.d+n.a-t.a-i[2],i),r=n.a-t.d-t.a,i[0]>0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=v.Math.max(0,r),this.c.d=n.d+t.d+(this.c.a-r)/2,i[1]=v.Math.max(i[1],r),s_e(this,$u,n.d+t.d+i[0]-(i[1]-r)/2,i)},u.b=null,u.d=0,u.e=!1,u.f=!1,u.g=!1;var $1e=0,aK=0;F(D2,"GridContainerCell",1473),N(461,22,{3:1,35:1,22:1,461:1},Tae);var fb,Ag,w1,o3t=_i(D2,"HorizontalLabelAlignment",461,Si,Tfn,lon),c3t;N(306,212,{212:1,306:1},dit,yct,uit),u.Re=function(){return Qtt(this)},u.Se=function(){return O5e(this)},u.a=0,u.c=!1;var iSn=F(D2,"LabelCell",306);N(244,326,{212:1,326:1,244:1},yM),u.Re=function(){return WN(this)},u.Se=function(){return KN(this)},u.Te=function(){whe(this)},u.Ue=function(){yhe(this)},u.b=0,u.c=0,u.d=!1,F(D2,"StripContainerCell",244),N(1626,1,Xi,Ia),u.Mb=function(t){return xrn(l(t,212))},F(D2,"StripContainerCell/lambda$0$Type",1626),N(1627,1,{},Do),u.Fe=function(t){return l(t,212).Se()},F(D2,"StripContainerCell/lambda$1$Type",1627),N(1628,1,Xi,nc),u.Mb=function(t){return krn(l(t,212))},F(D2,"StripContainerCell/lambda$2$Type",1628),N(1629,1,{},Wo),u.Fe=function(t){return l(t,212).Re()},F(D2,"StripContainerCell/lambda$3$Type",1629),N(462,22,{3:1,35:1,22:1,462:1},Sae);var y1,db,J1,l3t=_i(D2,"VerticalLabelAlignment",462,Si,Sfn,uon),u3t;N(789,1,{},pEe),u.c=0,u.d=0,u.k=0,u.s=0,u.t=0,u.v=!1,u.w=0,u.D=!1,F(GG,"NodeContext",789),N(1471,1,As,Po),u.ue=function(t,n){return hJe(l(t,61),l(n,61))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(GG,"NodeContext/0methodref$comparePortSides$Type",1471),N(1472,1,As,ia),u.ue=function(t,n){return Xyn(l(t,111),l(n,111))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(GG,"NodeContext/1methodref$comparePortContexts$Type",1472),N(159,22,{3:1,35:1,22:1,159:1},ad);var h3t,f3t,d3t,g3t,p3t,m3t,v3t,b3t,w3t,y3t,_3t,x3t,k3t,E3t,T3t,S3t,C3t,A3t,M3t,L3t,I3t,H1e,O3t=_i(GG,"NodeLabelLocation",159,Si,aue,hon),D3t;N(111,1,{111:1},G1t),u.a=!1,F(GG,"PortContext",111),N(1476,1,vr,io),u.td=function(t){LXe(l(t,306))},F(_R,$vt,1476),N(1477,1,Xi,Ko),u.Mb=function(t){return!!l(t,111).c},F(_R,Hvt,1477),N(1478,1,vr,qa),u.td=function(t){LXe(l(t,111).c)},F(_R,"LabelPlacer/lambda$2$Type",1478);var XCe;N(1475,1,vr,kw),u.td=function(t){l4(),nrn(l(t,111))},F(_R,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),N(790,1,vr,h5e),u.td=function(t){gin(this.b,this.c,this.a,l(t,181))},u.a=!1,u.c=!1,F(_R,"NodeLabelCellCreator/lambda$0$Type",790),N(1474,1,vr,Pn),u.td=function(t){srn(this.a,l(t,181))},F(_R,"PortContextCreator/lambda$0$Type",1474);var oK;N(1829,1,{},th),F(N9,"GreedyRectangleStripOverlapRemover",1829),N(1830,1,As,mv),u.ue=function(t,n){return Gsn(l(t,222),l(n,222))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(N9,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),N(1786,1,{},cYe),u.a=5,u.e=0,F(N9,"RectangleStripOverlapRemover",1786),N(1787,1,As,jh),u.ue=function(t,n){return Wsn(l(t,222),l(n,222))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(N9,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),N(1789,1,As,r1),u.ue=function(t,n){return vun(l(t,222),l(n,222))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(N9,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),N(406,22,{3:1,35:1,22:1,406:1},Xz);var qR,z1e,V1e,UR,P3t=_i(N9,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Si,Tdn,fon),N3t;N(222,1,{222:1},joe),F(N9,"RectangleStripOverlapRemover/RectangleNode",222),N(1788,1,vr,Kr),u.td=function(t){_2n(this.a,l(t,222))},F(N9,"RectangleStripOverlapRemover/lambda$1$Type",1788),N(1304,1,As,$h),u.ue=function(t,n){return C7n(l(t,167),l(n,167))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),N(1307,1,{},Cf),u.Kb=function(t){return l(t,324).a},F(yg,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),N(1308,1,Xi,nh),u.Mb=function(t){return l(t,323).a},F(yg,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),N(1309,1,Xi,_d),u.Mb=function(t){return l(t,323).a},F(yg,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),N(1302,1,As,Yf),u.ue=function(t,n){return okn(l(t,167),l(n,167))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),N(1305,1,{},lo),u.Kb=function(t){return l(t,324).a},F(yg,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),N(767,1,As,ps),u.ue=function(t,n){return lpn(l(t,167),l(n,167))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/MinNumOfExtensionsComparator",767),N(1300,1,As,rn),u.ue=function(t,n){return bgn(l(t,321),l(n,321))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/MinPerimeterComparator",1300),N(1301,1,As,oi),u.ue=function(t,n){return Kbn(l(t,321),l(n,321))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),N(1303,1,As,Ji),u.ue=function(t,n){return Lkn(l(t,167),l(n,167))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(yg,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),N(1306,1,{},Fo),u.Kb=function(t){return l(t,324).a},F(yg,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),N(777,1,{},b3e),u.Ce=function(t,n){return _dn(this,l(t,46),l(n,167))},F(yg,"SuccessorCombination",777),N(644,1,{},lu),u.Ce=function(t,n){var r;return u5n((r=l(t,46),l(n,167),r))},F(yg,"SuccessorJitter",644),N(643,1,{},wu),u.Ce=function(t,n){var r;return Z_n((r=l(t,46),l(n,167),r))},F(yg,"SuccessorLineByLine",643),N(568,1,{},rh),u.Ce=function(t,n){var r;return h6n((r=l(t,46),l(n,167),r))},F(yg,"SuccessorManhattan",568),N(1356,1,{},Xf),u.Ce=function(t,n){var r;return x_n((r=l(t,46),l(n,167),r))},F(yg,"SuccessorMaxNormWindingInMathPosSense",1356),N(400,1,{},qr),u.Ce=function(t,n){return a6e(this,t,n)},u.c=!1,u.d=!1,u.e=!1,u.f=!1,F(yg,"SuccessorQuadrantsGeneric",400),N(1357,1,{},Hh),u.Kb=function(t){return l(t,324).a},F(yg,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),N(323,22,{3:1,35:1,22:1,323:1},Yz),u.a=!1;var GR,WR,KR,YR,R3t=_i(KG,GEe,323,Si,Adn,don),B3t;N(1298,1,{}),u.Ib=function(){var t,n,r,i,a,h;for(r=" ",t=St(0),a=0;a<this.o;a++)r+=""+t.a,t=St(qet(t.a));for(r+=`
`,t=St(0),h=0;h<this.p;h++){for(r+=""+t.a,t=St(qet(t.a)),i=0;i<this.o;i++)n=dle(this,i,h),nu(n,0)==0?r+="_":nu(n,1)==0?r+="X":r+="0";r+=`
`}return Mf(r,0,r.length-1)},u.o=0,u.p=0,F(KG,"TwoBitGrid",1298),N(321,1298,{321:1},dke),u.j=0,u.k=0,F(KG,"PlanarGrid",321),N(167,321,{321:1,167:1}),u.g=0,u.i=0,F(KG,"Polyomino",167);var sSn=na(xR,Vvt);N(134,1,WEe,Ew),u.Ye=function(t,n){return _N(this,t,n)},u.Ve=function(){return fnt(this)},u.We=function(t){return re(this,t)},u.Xe=function(t){return so(this,t)},F(xR,"MapPropertyHolder",134),N(1299,134,WEe,U0t),F(KG,"Polyominoes",1299);var F3t=!1,TL,QCe;N(1766,1,vr,F3),u.td=function(t){Vpt(l(t,221))},F(n8,"DepthFirstCompaction/0methodref$compactTree$Type",1766),N(810,1,vr,Fi),u.td=function(t){zun(this.a,l(t,221))},F(n8,"DepthFirstCompaction/lambda$1$Type",810),N(1767,1,vr,Ttt),u.td=function(t){fbn(this.a,this.b,this.c,l(t,221))},F(n8,"DepthFirstCompaction/lambda$2$Type",1767);var SL,ZCe;N(65,1,{65:1},Oit),F(n8,"Node",65),N(1250,1,{},IJe),F(n8,"ScanlineOverlapCheck",1250),N(1251,1,{679:1},Zrt),u.Ke=function(t){Tan(this,l(t,440))},F(n8,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),N(1252,1,As,$g),u.ue=function(t,n){return Kmn(l(t,65),l(n,65))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(n8,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),N(440,1,{440:1},w3e),u.a=!1,F(n8,"ScanlineOverlapCheck/Timestamp",440),N(1253,1,As,ca),u.ue=function(t,n){return Ewn(l(t,440),l(n,440))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(n8,"ScanlineOverlapCheck/lambda$0$Type",1253),N(550,1,{},Ea),F(qvt,"SVGImage",550),N(324,1,{324:1},f5e),u.Ib=function(){return"("+this.a+bc+this.b+bc+this.c+")"},F(qvt,"UniqueTriple",324),N(209,1,P2),F(a_,"AbstractLayoutProvider",209),N(1132,209,P2,oc),u.Ze=function(t,n){var r,i,a,h;switch(Zr(n,Uvt,1),this.a=ot(Lt(nn(t,(_M(),iAe)))),g2(t,U1e)&&(a=wi(nn(t,U1e)),r=fhe(HE(),a),r&&(i=l(vce(r.f),209),i.Ze(t,Eu(n,1)))),h=new Kst(this.a),this.b=d9n(h,t),l(nn(t,(Ple(),eAe)),481).g){case 0:M5n(new cs,this.b),Uc(t,uK,re(this.b,uK));break;default:Ug()}_9n(h),Uc(t,nAe,this.b),Br(n)},u.a=0,F(Gvt,"DisCoLayoutProvider",1132),N(1244,1,{},cs),u.c=!1,u.e=0,u.f=0,F(Gvt,"DisCoPolyominoCompactor",1244),N(561,1,{561:1},vnt),u.b=!0,F(XG,"DCComponent",561),N(394,22,{3:1,35:1,22:1,394:1},Kz),u.a=!1;var cK,XR,lK,QR,j3t=_i(XG,"DCDirection",394,Si,Cdn,gon),$3t;N(266,134,{3:1,266:1,94:1,134:1},Zue),F(XG,"DCElement",266),N(395,1,{395:1},Bke),u.c=0,F(XG,"DCExtension",395),N(755,134,WEe,fXe),F(XG,"DCGraph",755),N(481,22,{3:1,35:1,22:1,481:1},vet);var q1e,JCe=_i(Pfe,KEe,481,Si,rhn,pon),H3t;N(854,1,Id,$ie),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,YEe),Wvt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),tAe),(Bm(),wa)),JCe),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,XEe),Wvt),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),ET),jt),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,QEe),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),z0),xr),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,ZEe),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),z0),xr),kn(hr)))),Ipt((new FH,t))};var z3t,eAe,tAe,V3t,q3t;F(Pfe,"DisCoMetaDataProvider",854),N(998,1,Id,FH),u.Qe=function(t){Ipt(t)};var U3t,U1e,G3t,nAe,uK,G1e,rAe,W3t,K3t,Y3t,X3t,iAe;F(Pfe,"DisCoOptions",998),N(999,1,{},Nl),u.$e=function(){var t;return t=new oc,t},u._e=function(t){},F(Pfe,"DisCoOptions/DiscoFactory",999),N(562,167,{321:1,167:1,562:1},A0t),u.a=0,u.b=0,u.c=0,u.d=0,F("org.eclipse.elk.alg.disco.structures","DCPolyomino",562);var W1e,K1e,hK;N(1268,1,Xi,Yt),u.Mb=function(t){return K3e(t)},F(o_,"ElkGraphComponentsProcessor/lambda$0$Type",1268),N(1269,1,{},j3),u.Kb=function(t){return Sk(),tp(l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$1$Type",1269),N(1270,1,Xi,fn),u.Mb=function(t){return gln(l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$2$Type",1270),N(1271,1,{},ng),u.Kb=function(t){return Sk(),eb(l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$3$Type",1271),N(1272,1,Xi,$3),u.Mb=function(t){return pln(l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$4$Type",1272),N(1273,1,Xi,ls),u.Mb=function(t){return sfn(this.a,l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$5$Type",1273),N(1274,1,{},uo),u.Kb=function(t){return kun(this.a,l(t,79))},F(o_,"ElkGraphComponentsProcessor/lambda$6$Type",1274),N(1241,1,{},Kst),u.a=0,F(o_,"ElkGraphTransformer",1241),N(1242,1,{},J5),u.Od=function(t,n){g5n(this,l(t,160),l(n,266))},F(o_,"ElkGraphTransformer/OffsetApplier",1242),N(1243,1,vr,Yo),u.td=function(t){jsn(this,l(t,8))},F(o_,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),N(753,1,{},p7),F(e9e,t9e,753),N(1232,1,As,Xb),u.ue=function(t,n){return e5n(l(t,231),l(n,231))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(e9e,Kvt,1232),N(740,209,P2,Eye),u.Ze=function(t,n){I0t(this,t,n)},F(e9e,"ForceLayoutProvider",740),N(357,134,{3:1,357:1,94:1,134:1}),F(kR,"FParticle",357),N(559,357,{3:1,559:1,357:1,94:1,134:1},Znt),u.Ib=function(){var t;return this.a?(t=vl(this.a.a,this,0),t>=0?"b"+t+"["+Bce(this.a)+"]":"b["+Bce(this.a)+"]"):"b_"+Kw(this)},F(kR,"FBendpoint",559),N(282,134,{3:1,282:1,94:1,134:1},Wet),u.Ib=function(){return Bce(this)},F(kR,"FEdge",282),N(231,134,{3:1,231:1,94:1,134:1},Nq);var aSn=F(kR,"FGraph",231);N(447,357,{3:1,447:1,357:1,94:1,134:1},Xst),u.Ib=function(){return this.b==null||this.b.length==0?"l["+Bce(this.a)+"]":"l_"+this.b},F(kR,"FLabel",447),N(144,357,{3:1,144:1,357:1,94:1,134:1},art),u.Ib=function(){return B6e(this)},u.b=0,F(kR,"FNode",144),N(2003,1,{}),u.bf=function(t){K7e(this,t)},u.cf=function(){Mft(this)},u.d=0,F(n9e,"AbstractForceModel",2003),N(631,2003,{631:1},jlt),u.af=function(t,n){var r,i,a,h,d;return T1t(this.f,t,n),a=xo(Fl(n.d),t.d),d=v.Math.sqrt(a.a*a.a+a.b*a.b),i=v.Math.max(0,d-UA(t.e)/2-UA(n.e)/2),r=put(this.e,t,n),r>0?h=-gun(i,this.c)*r:h=aan(i,this.b)*l(re(t,(X1(),eT)),19).a,ug(a,h/d),a},u.bf=function(t){K7e(this,t),this.a=l(re(t,(X1(),dK)),19).a,this.c=ot(Lt(re(t,gK))),this.b=ot(Lt(re(t,X1e)))},u.df=function(t){return t<this.a},u.a=0,u.b=0,u.c=0,F(n9e,"EadesModel",631),N(632,2003,{632:1},$tt),u.af=function(t,n){var r,i,a,h,d;return T1t(this.f,t,n),a=xo(Fl(n.d),t.d),d=v.Math.sqrt(a.a*a.a+a.b*a.b),i=v.Math.max(0,d-UA(t.e)/2-UA(n.e)/2),h=san(i,this.a)*l(re(t,(X1(),eT)),19).a,r=put(this.e,t,n),r>0&&(h-=brn(i,this.a)*r),ug(a,h*this.b/d),a},u.bf=function(t){var n,r,i,a,h,d,b;for(K7e(this,t),this.b=ot(Lt(re(t,(X1(),Q1e)))),this.c=this.b/l(re(t,dK),19).a,i=t.e.c.length,h=0,a=0,b=new M(t.e);b.a<b.c.c.length;)d=l(se(b),144),h+=d.e.a,a+=d.e.b;n=h*a,r=ot(Lt(re(t,gK)))*N0,this.a=v.Math.sqrt(n/(2*i))*r},u.cf=function(){Mft(this),this.b-=this.c},u.df=function(t){return this.b>0},u.a=0,u.b=0,u.c=0,F(n9e,"FruchtermanReingoldModel",632),N(849,1,Id,Hie),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,QG),""),"Force Model"),"Determines the model for force calculation."),sAe),(Bm(),wa)),aAe),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,r9e),""),"Iterations"),"The number of iterations on the force model."),St(300)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,i9e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),St(0)),Xl),hc),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Ffe),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),_g),fl),Mo),kn(hr)))),Co(t,Ffe,QG,r4t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,jfe),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),fl),Mo),kn(hr)))),Co(t,jfe,QG,e4t),Smt((new LC,t))};var Q3t,Z3t,sAe,J3t,e4t,t4t,n4t,r4t;F(QM,"ForceMetaDataProvider",849),N(424,22,{3:1,35:1,22:1,424:1},x3e);var Y1e,fK,aAe=_i(QM,"ForceModelStrategy",424,Si,efn,mon),i4t;N(988,1,Id,LC),u.Qe=function(t){Smt(t)};var s4t,a4t,oAe,dK,cAe,o4t,c4t,l4t,lAe,u4t,uAe,hAe,h4t,eT,f4t,X1e,fAe,d4t,g4t,gK,Q1e;F(QM,"ForceOptions",988),N(989,1,{},Zh),u.$e=function(){var t;return t=new Eye,t},u._e=function(t){},F(QM,"ForceOptions/ForceFactory",989);var ZR,CL,f8,pK;N(850,1,Id,zie),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,a9e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(er(),!1)),(Bm(),tc)),Ya),kn((K1(),mo))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,o9e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),fl),Mo),zs(hr,pe(de(Ym,1),vt,175,0,[Og]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,c9e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),dAe),wa),yAe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,l9e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),_g),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,u9e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),St(as)),Xl),hc),kn(hr)))),umt((new Vie,t))};var p4t,m4t,dAe,v4t,b4t,w4t;F(QM,"StressMetaDataProvider",850),N(992,1,Id,Vie),u.Qe=function(t){umt(t)};var mK,gAe,pAe,mAe,vAe,bAe,y4t,_4t,x4t,k4t,wAe,E4t;F(QM,"StressOptions",992),N(993,1,{},Tw),u.$e=function(){var t;return t=new Ket,t},u._e=function(t){},F(QM,"StressOptions/StressFactory",993),N(1128,209,P2,Ket),u.Ze=function(t,n){var r,i,a,h,d;for(Zr(n,Jvt,1),Zt(Xt(nn(t,(FN(),vAe))))?Zt(Xt(nn(t,wAe)))||bq((r=new Dr((r4(),new J3(t))),r)):I0t(new Eye,t,Eu(n,1)),a=out(t),i=ypt(this.a,a),d=i.Kc();d.Ob();)h=l(d.Pb(),231),!(h.e.c.length<=1)&&(T7n(this.b,h),r6n(this.b),fh(h.d,new vv));a=Dmt(i),Lmt(a),Br(n)},F(eW,"StressLayoutProvider",1128),N(1129,1,vr,vv),u.td=function(t){tEe(l(t,447))},F(eW,"StressLayoutProvider/lambda$0$Type",1129),N(990,1,{},tYe),u.c=0,u.e=0,u.g=0,F(eW,"StressMajorization",990),N(379,22,{3:1,35:1,22:1,379:1},Cae);var Z1e,J1e,e0e,yAe=_i(eW,"StressMajorization/Dimension",379,Si,Afn,von),T4t;N(991,1,As,ms),u.ue=function(t,n){return Wan(this.a,l(t,144),l(n,144))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(eW,"StressMajorization/lambda$0$Type",991),N(1229,1,{},lst),F(a8,"ElkLayered",1229),N(1230,1,vr,Sx),u.td=function(t){i5n(l(t,37))},F(a8,"ElkLayered/lambda$0$Type",1230),N(1231,1,vr,es),u.td=function(t){Kan(this.a,l(t,37))},F(a8,"ElkLayered/lambda$1$Type",1231),N(1263,1,{},DJe);var S4t,C4t,A4t;F(a8,"GraphConfigurator",1263),N(759,1,vr,Ta),u.td=function(t){Bdt(this.a,l(t,10))},F(a8,"GraphConfigurator/lambda$0$Type",759),N(760,1,{},GS),u.Kb=function(t){return Zke(),new jn(null,new zn(l(t,29).a,16))},F(a8,"GraphConfigurator/lambda$1$Type",760),N(761,1,vr,Gs),u.td=function(t){Bdt(this.a,l(t,10))},F(a8,"GraphConfigurator/lambda$2$Type",761),N(1127,209,P2,iYe),u.Ze=function(t,n){var r;r=G8n(new uYe,t),Je(nn(t,(Nt(),h5)))===Je((Hp(),Xm))?Evn(this.a,r,n):y5n(this.a,r,n),Tmt(new Uie,r)},F(a8,"LayeredLayoutProvider",1127),N(356,22,{3:1,35:1,22:1,356:1},aP);var Mg,gb,Ku,Au,hl,_Ae=_i(a8,"LayeredPhases",356,Si,h1n,bon),M4t;N(1651,1,{},Kct),u.i=0;var L4t;F(SR,"ComponentsToCGraphTransformer",1651);var I4t;N(1652,1,{},WS),u.ef=function(t,n){return v.Math.min(t.a!=null?ot(t.a):t.c.i,n.a!=null?ot(n.a):n.c.i)},u.ff=function(t,n){return v.Math.min(t.a!=null?ot(t.a):t.c.i,n.a!=null?ot(n.a):n.c.i)},F(SR,"ComponentsToCGraphTransformer/1",1652),N(81,1,{81:1}),u.i=0,u.k=!0,u.o=Oa;var t0e=F(eL,"CNode",81);N(460,81,{460:1,81:1},k4e,Eke),u.Ib=function(){return""},F(SR,"ComponentsToCGraphTransformer/CRectNode",460),N(1623,1,{},l0);var n0e,r0e;F(SR,"OneDimensionalComponentsCompaction",1623),N(1624,1,{},Sw),u.Kb=function(t){return wfn(l(t,46))},u.Fb=function(t){return this===t},F(SR,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),N(1625,1,{},u0),u.Kb=function(t){return Ovn(l(t,46))},u.Fb=function(t){return this===t},F(SR,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),N(1654,1,{},srt),F(eL,"CGraph",1654),N(189,1,{189:1},rue),u.b=0,u.c=0,u.e=0,u.g=!0,u.i=Oa,F(eL,"CGroup",189),N(1653,1,{},Tp),u.ef=function(t,n){return v.Math.max(t.a!=null?ot(t.a):t.c.i,n.a!=null?ot(n.a):n.c.i)},u.ff=function(t,n){return v.Math.max(t.a!=null?ot(t.a):t.c.i,n.a!=null?ot(n.a):n.c.i)},F(eL,Cvt,1653),N(1655,1,{},F1t),u.d=!1;var O4t,i0e=F(eL,Lvt,1655);N(1656,1,{},xh),u.Kb=function(t){return l3e(),er(),l(l(t,46).a,81).d.e!=0},u.Fb=function(t){return this===t},F(eL,Ivt,1656),N(823,1,{},D5e),u.a=!1,u.b=!1,u.c=!1,u.d=!1,F(eL,Ovt,823),N(1825,1,{},knt),F(tW,Dvt,1825);var JR=na(R2,Tvt);N(1826,1,{369:1},eit),u.Ke=function(t){dxn(this,l(t,466))},F(tW,Pvt,1826),N(1827,1,As,t6),u.ue=function(t,n){return dhn(l(t,81),l(n,81))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(tW,Nvt,1827),N(466,1,{466:1},E3e),u.a=!1,F(tW,Rvt,466),N(1828,1,As,El),u.ue=function(t,n){return Twn(l(t,466),l(n,466))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(tW,Bvt,1828),N(140,1,{140:1},aE,A5e),u.Fb=function(t){var n;return t==null||oSn!=tf(t)?!1:(n=l(t,140),_u(this.c,n.c)&&_u(this.d,n.d))},u.Hb=function(){return SU(pe(de(xr,1),Ht,1,5,[this.c,this.d]))},u.Ib=function(){return"("+this.c+bc+this.d+(this.a?"cx":"")+this.b+")"},u.a=!0,u.c=0,u.d=0;var oSn=F(R2,"Point",140);N(405,22,{3:1,35:1,22:1,405:1},Qz);var Vy,r5,b_,i5,D4t=_i(R2,"Point/Quadrant",405,Si,Mdn,won),P4t;N(1642,1,{},sYe),u.b=null,u.c=null,u.d=null,u.e=null,u.f=null;var N4t,R4t,B4t,F4t,j4t;F(R2,"RectilinearConvexHull",1642),N(574,1,{369:1},GU),u.Ke=function(t){f0n(this,l(t,140))},u.b=0;var xAe;F(R2,"RectilinearConvexHull/MaximalElementsEventHandler",574),N(1644,1,As,bv),u.ue=function(t,n){return nhn(Lt(t),Lt(n))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),N(1643,1,{369:1},vct),u.Ke=function(t){S_n(this,l(t,140))},u.a=0,u.b=null,u.c=null,u.d=null,u.e=null,F(R2,"RectilinearConvexHull/RectangleEventHandler",1643),N(1645,1,As,e6),u.ue=function(t,n){return sdn(l(t,140),l(n,140))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/lambda$0$Type",1645),N(1646,1,As,Cx),u.ue=function(t,n){return adn(l(t,140),l(n,140))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/lambda$1$Type",1646),N(1647,1,As,wv),u.ue=function(t,n){return cdn(l(t,140),l(n,140))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/lambda$2$Type",1647),N(1648,1,As,Qb),u.ue=function(t,n){return odn(l(t,140),l(n,140))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/lambda$3$Type",1648),N(1649,1,As,oee),u.ue=function(t,n){return u3n(l(t,140),l(n,140))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(R2,"RectilinearConvexHull/lambda$4$Type",1649),N(1650,1,{},Iit),F(R2,"Scanline",1650),N(2005,1,{}),F(xg,"AbstractGraphPlacer",2005),N(325,1,{325:1},xet),u.mf=function(t){return this.nf(t)?(En(this.b,l(re(t,(mt(),a5)),21),t),!0):!1},u.nf=function(t){var n,r,i,a;for(n=l(re(t,(mt(),a5)),21),a=l(_s(Ms,n),21),i=a.Kc();i.Ob();)if(r=l(i.Pb(),21),!l(_s(this.b,r),15).dc())return!1;return!0};var Ms;F(xg,"ComponentGroup",325),N(765,2005,{},Aye),u.of=function(t){var n,r;for(r=new M(this.a);r.a<r.c.c.length;)if(n=l(se(r),325),n.mf(t))return;wt(this.a,new xet(t))},u.lf=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te;if(this.a.c=Ue(xr,Ht,1,0,5,1),n.a.c=Ue(xr,Ht,1,0,5,1),t.dc()){n.f.a=0,n.f.b=0;return}for(d=l(t.Xb(0),37),ll(n,d),a=t.Kc();a.Ob();)i=l(a.Pb(),37),this.of(i);for(te=new Qo,h=ot(Lt(re(d,(Nt(),dB)))),C=new M(this.a);C.a<C.c.c.length;)b=l(se(C),325),P=Hmt(b,h),Am(iq(b.b),te.a,te.b),te.a+=P.a,te.b+=P.b;if(n.f.a=te.a-h,n.f.b=te.b-h,Zt(Xt(re(d,nY)))&&Je(re(d,Qp))===Je((Vp(),AT))){for(Z=t.Kc();Z.Ob();)$=l(Z.Pb(),37),NM($,$.c.a,$.c.b);for(r=new KS,_Ee(r,t,h),K=t.Kc();K.Ob();)$=l(K.Pb(),37),xs(z1($.c),r.e);xs(z1(n.f),r.a)}for(E=new M(this.a);E.a<E.c.c.length;)b=l(se(E),325),__e(n,iq(b.b))},F(xg,"ComponentGroupGraphPlacer",765),N(1293,765,{},vYe),u.of=function(t){Kut(this,t)},u.lf=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We;if(this.a.c=Ue(xr,Ht,1,0,5,1),n.a.c=Ue(xr,Ht,1,0,5,1),t.dc()){n.f.a=0,n.f.b=0;return}for(d=l(t.Xb(0),37),ll(n,d),a=t.Kc();a.Ob();)i=l(a.Pb(),37),Kut(this,i);for(We=new Qo,Pe=new Qo,oe=new Qo,te=new Qo,h=ot(Lt(re(d,(Nt(),dB)))),C=new M(this.a);C.a<C.c.c.length;){if(b=l(se(C),325),Bv(l(re(n,(Yi(),n3)),103))){for(oe.a=We.a,je=new YC(qA(ece(b.b).a).a.kc());je.b.Ob();)if(ye=l(qz(je.b.Pb()),21),ye.Hc((Mt(),Qn))){oe.a=Pe.a;break}}else if(cE(l(re(n,n3),103))){for(oe.b=We.b,je=new YC(qA(ece(b.b).a).a.kc());je.b.Ob();)if(ye=l(qz(je.b.Pb()),21),ye.Hc((Mt(),nr))){oe.b=Pe.b;break}}if(P=Hmt(l(b,570),h),Am(iq(b.b),oe.a,oe.b),Bv(l(re(n,n3),103))){for(Pe.a=oe.a+P.a,te.a=v.Math.max(te.a,Pe.a),je=new YC(qA(ece(b.b).a).a.kc());je.b.Ob();)if(ye=l(qz(je.b.Pb()),21),ye.Hc((Mt(),Jr))){We.a=oe.a+P.a;break}Pe.b=oe.b+P.b,oe.b=Pe.b,te.b=v.Math.max(te.b,oe.b)}else if(cE(l(re(n,n3),103))){for(Pe.b=oe.b+P.b,te.b=v.Math.max(te.b,Pe.b),je=new YC(qA(ece(b.b).a).a.kc());je.b.Ob();)if(ye=l(qz(je.b.Pb()),21),ye.Hc((Mt(),fr))){We.b=oe.b+P.b;break}Pe.a=oe.a+P.a,oe.a=Pe.a,te.a=v.Math.max(te.a,oe.a)}}if(n.f.a=te.a-h,n.f.b=te.b-h,Zt(Xt(re(d,nY)))&&Je(re(d,Qp))===Je((Vp(),AT))){for(Z=t.Kc();Z.Ob();)$=l(Z.Pb(),37),NM($,$.c.a,$.c.b);for(r=new KS,_Ee(r,t,h),K=t.Kc();K.Ob();)$=l(K.Pb(),37),xs(z1($.c),r.e);xs(z1(n.f),r.a)}for(E=new M(this.a);E.a<E.c.c.length;)b=l(se(E),325),__e(n,iq(b.b))},F(xg,"ComponentGroupModelOrderGraphPlacer",1293),N(423,22,{3:1,35:1,22:1,423:1},Aae);var s0e,kAe,w_,EAe=_i(xg,"ComponentOrderingStrategy",423,Si,Cfn,yon),$4t;N(650,1,{},KS),F(xg,"ComponentsCompactor",650),N(1468,12,bvt,Tat),u.Fc=function(t){return CM(this,l(t,140))},F(xg,"ComponentsCompactor/Hullpoints",1468),N(1465,1,{841:1},uft),u.a=!1,F(xg,"ComponentsCompactor/InternalComponent",1465),N(1464,1,rp,aYe),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new M(this.a)},F(xg,"ComponentsCompactor/InternalConnectedComponents",1464),N(1467,1,{594:1},$1t),u.hf=function(){return null},u.jf=function(){return this.a},u.gf=function(){return oue(this.d)},u.kf=function(){return this.b},F(xg,"ComponentsCompactor/InternalExternalExtension",1467),N(1466,1,{594:1},lYe),u.jf=function(){return this.a},u.gf=function(){return oue(this.d)},u.hf=function(){return this.c},u.kf=function(){return this.b},F(xg,"ComponentsCompactor/InternalUnionExternalExtension",1466),N(1470,1,{},igt),F(xg,"ComponentsCompactor/OuterSegments",1470),N(1469,1,{},oYe),F(xg,"ComponentsCompactor/Segments",1469),N(1264,1,{},tit),F(xg,t9e,1264),N(1265,1,As,cee),u.ue=function(t,n){return hdn(l(t,37),l(n,37))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(xg,"ComponentsProcessor/lambda$0$Type",1265),N(570,325,{325:1,570:1},Eat),u.mf=function(t){return Axe(this,t)},u.nf=function(t){return F0t(this,t)};var Ni;F(xg,"ModelOrderComponentGroup",570),N(1291,2005,{},r$),u.lf=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt;if(t.gc()==1){We=l(t.Xb(0),37),We!=n&&(n.a.c=Ue(xr,Ht,1,0,5,1),Vgt(n,We,0,0),ll(n,We),x6e(n.d,We.d),n.f.a=We.f.a,n.f.b=We.f.b);return}else if(t.dc()){n.a.c=Ue(xr,Ht,1,0,5,1),n.f.a=0,n.f.b=0;return}if(Je(re(n,(Nt(),x8)))===Je((by(),w_))){for(E=t.Kc();E.Ob();){for(d=l(E.Pb(),37),je=0,oe=new M(d.a);oe.a<oe.c.c.length;)te=l(se(oe),10),je+=l(re(te,q_t),19).a;d.p=je}In(),t.ad(new N1)}for(h=l(t.Xb(0),37),n.a.c=Ue(xr,Ht,1,0,5,1),ll(n,h),Z=0,at=0,C=t.Kc();C.Ob();)d=l(C.Pb(),37),Pe=d.f,Z=v.Math.max(Z,Pe.a),at+=Pe.a*Pe.b;for(Z=v.Math.max(Z,v.Math.sqrt(at)*ot(Lt(re(n,tY)))),a=ot(Lt(re(n,dB))),bt=0,Bt=0,K=0,r=a,b=t.Kc();b.Ob();)d=l(b.Pb(),37),Pe=d.f,bt+Pe.a>Z&&(bt=0,Bt+=K+a,K=0),ye=d.c,NM(d,bt+ye.a,Bt+ye.b),z1(ye),r=v.Math.max(r,bt+Pe.a),K=v.Math.max(K,Pe.b),bt+=Pe.a+a;if(n.f.a=r,n.f.b=Bt+K,Zt(Xt(re(h,nY)))){for(i=new KS,_Ee(i,t,a),$=t.Kc();$.Ob();)P=l($.Pb(),37),xs(z1(P.c),i.e);xs(z1(n.f),i.a)}__e(n,t)},F(xg,"SimpleRowGraphPlacer",1291),N(1292,1,As,N1),u.ue=function(t,n){return cpn(l(t,37),l(n,37))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(xg,"SimpleRowGraphPlacer/1",1292);var H4t;N(1262,1,wg,H3),u.Lb=function(t){var n;return n=l(re(l(t,243).b,(Nt(),il)),74),!!n&&n.b!=0},u.Fb=function(t){return this===t},u.Mb=function(t){var n;return n=l(re(l(t,243).b,(Nt(),il)),74),!!n&&n.b!=0},F(nW,"CompoundGraphPostprocessor/1",1262),N(1261,1,va,hYe),u.pf=function(t,n){fft(this,l(t,37),n)},F(nW,"CompoundGraphPreprocessor",1261),N(441,1,{441:1},Jut),u.c=!1,F(nW,"CompoundGraphPreprocessor/ExternalPort",441),N(243,1,{243:1},DV),u.Ib=function(){return foe(this.c)+":"+P1t(this.b)},F(nW,"CrossHierarchyEdge",243),N(763,1,As,ys),u.ue=function(t,n){return Q2n(this,l(t,243),l(n,243))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(nW,"CrossHierarchyEdgeComparator",763),N(299,134,{3:1,299:1,94:1,134:1}),u.p=0,F(ju,"LGraphElement",299),N(17,299,{3:1,17:1,299:1,94:1,134:1},iy),u.Ib=function(){return P1t(this)};var a0e=F(ju,"LEdge",17);N(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},V_e),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new M(this.b)},u.Ib=function(){return this.b.c.length==0?"G-unlayered"+tb(this.a):this.a.c.length==0?"G-layered"+tb(this.b):"G[layerless"+tb(this.a)+", layers"+tb(this.b)+"]"};var z4t=F(ju,"LGraph",37),V4t;N(657,1,{}),u.qf=function(){return this.e.n},u.We=function(t){return re(this.e,t)},u.rf=function(){return this.e.o},u.sf=function(){return this.e.p},u.Xe=function(t){return so(this.e,t)},u.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},u.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},u.vf=function(t){this.e.p=t},F(ju,"LGraphAdapters/AbstractLShapeAdapter",657),N(577,1,{839:1},Js),u.wf=function(){var t,n;if(!this.b)for(this.b=Gg(this.a.b.c.length),n=new M(this.a.b);n.a<n.c.c.length;)t=l(se(n),70),wt(this.b,new gc(t));return this.b},u.b=null,F(ju,"LGraphAdapters/LEdgeAdapter",577),N(656,1,{},oce),u.xf=function(){var t,n,r,i,a,h;if(!this.b){for(this.b=new yt,i=new M(this.a.b);i.a<i.c.c.length;)for(r=l(se(i),29),h=new M(r.a);h.a<h.c.c.length;)if(a=l(se(h),10),this.c.Mb(a)&&(wt(this.b,new PV(this,a,this.e)),this.d)){if(so(a,(mt(),_8)))for(n=l(re(a,_8),15).Kc();n.Ob();)t=l(n.Pb(),10),wt(this.b,new PV(this,t,!1));if(so(a,m8))for(n=l(re(a,m8),15).Kc();n.Ob();)t=l(n.Pb(),10),wt(this.b,new PV(this,t,!1))}}return this.b},u.qf=function(){throw ue(new bm(nbt))},u.We=function(t){return re(this.a,t)},u.rf=function(){return this.a.f},u.sf=function(){return this.a.p},u.Xe=function(t){return so(this.a,t)},u.tf=function(t){throw ue(new bm(nbt))},u.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},u.vf=function(t){this.a.p=t},u.b=null,u.d=!1,u.e=!1,F(ju,"LGraphAdapters/LGraphAdapter",656),N(576,657,{181:1},gc),F(ju,"LGraphAdapters/LLabelAdapter",576),N(575,657,{680:1},PV),u.yf=function(){return this.b},u.zf=function(){return In(),In(),Lc},u.wf=function(){var t,n;if(!this.a)for(this.a=Gg(l(this.e,10).b.c.length),n=new M(l(this.e,10).b);n.a<n.c.c.length;)t=l(se(n),70),wt(this.a,new gc(t));return this.a},u.Af=function(){var t;return t=l(this.e,10).d,new Q4e(t.d,t.c,t.a,t.b)},u.Bf=function(){return In(),In(),Lc},u.Cf=function(){var t,n;if(!this.c)for(this.c=Gg(l(this.e,10).j.c.length),n=new M(l(this.e,10).j);n.a<n.c.c.length;)t=l(se(n),11),wt(this.c,new nZe(t,this.d));return this.c},u.Df=function(){return Zt(Xt(re(l(this.e,10),(mt(),qMe))))},u.Ef=function(t){l(this.e,10).d.b=t.b,l(this.e,10).d.d=t.d,l(this.e,10).d.c=t.c,l(this.e,10).d.a=t.a},u.Ff=function(t){l(this.e,10).f.b=t.b,l(this.e,10).f.d=t.d,l(this.e,10).f.c=t.c,l(this.e,10).f.a=t.a},u.Gf=function(){G0n(this,(iA(),V4t))},u.a=null,u.b=null,u.c=null,u.d=!1,F(ju,"LGraphAdapters/LNodeAdapter",575),N(1722,657,{838:1},nZe),u.zf=function(){var t,n,r,i;if(this.d&&l(this.e,11).i.k==(gr(),Mu))return In(),In(),Lc;if(!this.a){for(this.a=new yt,r=new M(l(this.e,11).e);r.a<r.c.c.length;)t=l(se(r),17),wt(this.a,new Js(t));if(this.d&&(i=l(re(l(this.e,11),(mt(),Wh)),10),i))for(n=new Rr(zr(bl(i).a.Kc(),new J));Ei(n);)t=l(hi(n),17),wt(this.a,new Js(t))}return this.a},u.wf=function(){var t,n;if(!this.b)for(this.b=Gg(l(this.e,11).f.c.length),n=new M(l(this.e,11).f);n.a<n.c.c.length;)t=l(se(n),70),wt(this.b,new gc(t));return this.b},u.Bf=function(){var t,n,r,i;if(this.d&&l(this.e,11).i.k==(gr(),Mu))return In(),In(),Lc;if(!this.c){for(this.c=new yt,r=new M(l(this.e,11).g);r.a<r.c.c.length;)t=l(se(r),17),wt(this.c,new Js(t));if(this.d&&(i=l(re(l(this.e,11),(mt(),Wh)),10),i))for(n=new Rr(zr($a(i).a.Kc(),new J));Ei(n);)t=l(hi(n),17),wt(this.c,new Js(t))}return this.c},u.Hf=function(){return l(this.e,11).j},u.If=function(){return Zt(Xt(re(l(this.e,11),(mt(),oB))))},u.a=null,u.b=null,u.c=null,u.d=!1,F(ju,"LGraphAdapters/LPortAdapter",1722),N(1723,1,As,iD),u.ue=function(t,n){return jxn(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(ju,"LGraphAdapters/PortComparator",1723),N(804,1,Xi,i$),u.Mb=function(t){return l(t,10),iA(),!0},F(ju,"LGraphAdapters/lambda$0$Type",804),N(392,299,{3:1,299:1,392:1,94:1,134:1}),F(ju,"LShape",392),N(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},pXe,i4e),u.Ib=function(){var t;return t=vln(this),t==null?"label":"l_"+t},F(ju,"LLabel",70),N(207,1,{3:1,4:1,207:1,414:1}),u.Fb=function(t){var n;return Le(t,207)?(n=l(t,207),this.d==n.d&&this.a==n.a&&this.b==n.b&&this.c==n.c):!1},u.Hb=function(){var t,n;return t=oE(this.b)<<16,t|=oE(this.a)&Aa,n=oE(this.c)<<16,n|=oE(this.d)&Aa,t^n},u.Jf=function(t){var n,r,i,a,h,d,b,E,C,P,$;for(h=0;h<t.length&&jut((yi(h,t.length),t.charCodeAt(h)),ibt);)++h;for(n=t.length;n>0&&jut((yi(n-1,t.length),t.charCodeAt(n-1)),sbt);)--n;if(h<n){P=H4(t.substr(h,n-h),",|;");try{for(b=P,E=0,C=b.length;E<C;++E){if(d=b[E],a=H4(d,"="),a.length!=2)throw ue(new Jn("Expecting a list of key-value pairs."));i=N4(a[0]),$=R4(N4(a[1])),Tn(i,"top")?this.d=$:Tn(i,"left")?this.b=$:Tn(i,"bottom")?this.a=$:Tn(i,"right")&&(this.c=$)}}catch(K){throw K=ea(K),Le(K,127)?(r=K,ue(new Jn(abt+r))):ue(K)}}},u.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},u.a=0,u.b=0,u.c=0,u.d=0,F(CR,"Spacing",207),N(142,207,obt,WC,pJe,Q4e,Toe);var TAe=F(CR,"ElkMargin",142);N(651,142,obt,eae),F(ju,"LMargin",651),N(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},qp),u.Ib=function(){return sft(this)},u.i=!1;var up=F(ju,"LNode",10);N(267,22,{3:1,35:1,22:1,267:1},hA);var j0,La,kf,po,za,Mu,o0e=_i(ju,"LNode/NodeType",267,Si,n0n,_on),q4t;N(116,207,cbt,sk,Ww,u5e);var SAe=F(CR,"ElkPadding",116);N(764,116,cbt,Iye),F(ju,"LPadding",764),N(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},fu),u.Ib=function(){var t,n,r;return t=new Lv,Mi((t.a+="p_",t),nG(this)),this.i&&Mi(Wl((t.a+="[",t),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&l(Kt(this.e,0),17).c!=this&&(n=l(Kt(this.e,0),17).c,Mi((t.a+=" << ",t),nG(n)),Mi(Wl((t.a+="[",t),n.i),"]")),this.e.c.length==0&&this.g.c.length==1&&l(Kt(this.g,0),17).d!=this&&(r=l(Kt(this.g,0),17).d,Mi((t.a+=" >> ",t),nG(r)),Mi(Wl((t.a+="[",t),r.i),"]")),t.a},u.c=!0,u.d=!1;var CAe,AAe,MAe,LAe,IAe,OAe,U4t=F(ju,"LPort",11);N(397,1,rp,ho),u.Jc=function(t){Ho(this,t)},u.Kc=function(){var t;return t=new M(this.a.e),new Za(t)},F(ju,"LPort/1",397),N(1290,1,ko,Za),u.Nb=function(t){jo(this,t)},u.Pb=function(){return l(se(this.a),17).c},u.Ob=function(){return Sl(this.a)},u.Qb=function(){VA(this.a)},F(ju,"LPort/1/1",1290),N(359,1,rp,ni),u.Jc=function(t){Ho(this,t)},u.Kc=function(){var t;return t=new M(this.a.g),new ct(t)},F(ju,"LPort/2",359),N(762,1,ko,ct),u.Nb=function(t){jo(this,t)},u.Pb=function(){return l(se(this.a),17).d},u.Ob=function(){return Sl(this.a)},u.Qb=function(){VA(this.a)},F(ju,"LPort/2/1",762),N(1283,1,rp,ZQe),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new C0(this)},F(ju,"LPort/CombineIter",1283),N(201,1,ko,C0),u.Nb=function(t){jo(this,t)},u.Qb=function(){xXe()},u.Ob=function(){return OA(this)},u.Pb=function(){return Sl(this.a)?se(this.a):se(this.b)},F(ju,"LPort/CombineIter/1",201),N(1285,1,wg,yv),u.Lb=function(t){return Nnt(t)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).e.c.length!=0},F(ju,"LPort/lambda$0$Type",1285),N(1284,1,wg,z3),u.Lb=function(t){return Rnt(t)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).g.c.length!=0},F(ju,"LPort/lambda$1$Type",1284),N(1286,1,wg,lee),u.Lb=function(t){return Lh(),l(t,11).j==(Mt(),Qn)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).j==(Mt(),Qn)},F(ju,"LPort/lambda$2$Type",1286),N(1287,1,wg,Zb),u.Lb=function(t){return Lh(),l(t,11).j==(Mt(),fr)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).j==(Mt(),fr)},F(ju,"LPort/lambda$3$Type",1287),N(1288,1,wg,uee),u.Lb=function(t){return Lh(),l(t,11).j==(Mt(),Jr)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).j==(Mt(),Jr)},F(ju,"LPort/lambda$4$Type",1288),N(1289,1,wg,hee),u.Lb=function(t){return Lh(),l(t,11).j==(Mt(),nr)},u.Fb=function(t){return this===t},u.Mb=function(t){return Lh(),l(t,11).j==(Mt(),nr)},F(ju,"LPort/lambda$5$Type",1289),N(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Td),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return new M(this.a)},u.Ib=function(){return"L_"+vl(this.b.b,this,0)+tb(this.a)},F(ju,"Layer",29),N(1342,1,{},uYe),F($m,lbt,1342),N(1346,1,{},Ax),u.Kb=function(t){return ul(l(t,82))},F($m,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),N(1349,1,{},YS),u.Kb=function(t){return ul(l(t,82))},F($m,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),N(1343,1,vr,ir),u.td=function(t){K1t(this.a,l(t,118))},F($m,ubt,1343),N(1344,1,vr,ci),u.td=function(t){K1t(this.a,l(t,118))},F($m,hbt,1344),N(1345,1,{},s$),u.Kb=function(t){return new jn(null,new zn(Qun(l(t,79)),16))},F($m,fbt,1345),N(1347,1,Xi,Pr),u.Mb=function(t){return Zin(this.a,l(t,33))},F($m,dbt,1347),N(1348,1,{},m7),u.Kb=function(t){return new jn(null,new zn(Zun(l(t,79)),16))},F($m,"ElkGraphImporter/lambda$5$Type",1348),N(1350,1,Xi,Nr),u.Mb=function(t){return Jin(this.a,l(t,33))},F($m,"ElkGraphImporter/lambda$7$Type",1350),N(1351,1,Xi,fee),u.Mb=function(t){return phn(l(t,79))},F($m,"ElkGraphImporter/lambda$8$Type",1351),N(1278,1,{},Uie);var G4t;F($m,"ElkGraphLayoutTransferrer",1278),N(1279,1,Xi,rc),u.Mb=function(t){return Han(this.a,l(t,17))},F($m,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),N(1280,1,vr,ki),u.td=function(t){nP(),wt(this.a,l(t,17))},F($m,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),N(1281,1,Xi,ta),u.Mb=function(t){return San(this.a,l(t,17))},F($m,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),N(1282,1,vr,gl),u.td=function(t){nP(),wt(this.a,l(t,17))},F($m,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),N(1485,1,va,v7),u.pf=function(t,n){Agn(l(t,37),n)},F(sr,"CommentNodeMarginCalculator",1485),N(1486,1,{},dee),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"CommentNodeMarginCalculator/lambda$0$Type",1486),N(1487,1,vr,gee),u.td=function(t){c7n(l(t,10))},F(sr,"CommentNodeMarginCalculator/lambda$1$Type",1487),N(1488,1,va,pee),u.pf=function(t,n){_xn(l(t,37),n)},F(sr,"CommentPostprocessor",1488),N(1489,1,va,mee),u.pf=function(t,n){A9n(l(t,37),n)},F(sr,"CommentPreprocessor",1489),N(1490,1,va,vee),u.pf=function(t,n){q6n(l(t,37),n)},F(sr,"ConstraintsPostprocessor",1490),N(1491,1,va,bee),u.pf=function(t,n){Qgn(l(t,37),n)},F(sr,"EdgeAndLayerConstraintEdgeReverser",1491),N(1492,1,va,wee),u.pf=function(t,n){jvn(l(t,37),n)},F(sr,"EndLabelPostprocessor",1492),N(1493,1,{},yee),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"EndLabelPostprocessor/lambda$0$Type",1493),N(1494,1,Xi,_ee),u.Mb=function(t){return Dhn(l(t,10))},F(sr,"EndLabelPostprocessor/lambda$1$Type",1494),N(1495,1,vr,xee),u.td=function(t){Swn(l(t,10))},F(sr,"EndLabelPostprocessor/lambda$2$Type",1495),N(1496,1,va,kee),u.pf=function(t,n){p4n(l(t,37),n)},F(sr,"EndLabelPreprocessor",1496),N(1497,1,{},sD),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"EndLabelPreprocessor/lambda$0$Type",1497),N(1498,1,vr,Stt),u.td=function(t){pin(this.a,this.b,this.c,l(t,10))},u.a=0,u.b=0,u.c=!1,F(sr,"EndLabelPreprocessor/lambda$1$Type",1498),N(1499,1,Xi,Eee),u.Mb=function(t){return Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),CT))},F(sr,"EndLabelPreprocessor/lambda$2$Type",1499),N(1500,1,vr,yu),u.td=function(t){zi(this.a,l(t,70))},F(sr,"EndLabelPreprocessor/lambda$3$Type",1500),N(1501,1,Xi,Tee),u.Mb=function(t){return Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),_5))},F(sr,"EndLabelPreprocessor/lambda$4$Type",1501),N(1502,1,vr,Ec),u.td=function(t){zi(this.a,l(t,70))},F(sr,"EndLabelPreprocessor/lambda$5$Type",1502),N(1551,1,va,qie),u.pf=function(t,n){Wmn(l(t,37),n)};var W4t;F(sr,"EndLabelSorter",1551),N(1552,1,As,XS),u.ue=function(t,n){return kbn(l(t,456),l(n,456))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"EndLabelSorter/1",1552),N(456,1,{456:1},Grt),F(sr,"EndLabelSorter/LabelGroup",456),N(1553,1,{},a$),u.Kb=function(t){return rP(),new jn(null,new zn(l(t,29).a,16))},F(sr,"EndLabelSorter/lambda$0$Type",1553),N(1554,1,Xi,Mx),u.Mb=function(t){return rP(),l(t,10).k==(gr(),za)},F(sr,"EndLabelSorter/lambda$1$Type",1554),N(1555,1,vr,See),u.td=function(t){S3n(l(t,10))},F(sr,"EndLabelSorter/lambda$2$Type",1555),N(1556,1,Xi,Cee),u.Mb=function(t){return rP(),Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),_5))},F(sr,"EndLabelSorter/lambda$3$Type",1556),N(1557,1,Xi,Aee),u.Mb=function(t){return rP(),Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),CT))},F(sr,"EndLabelSorter/lambda$4$Type",1557),N(1503,1,va,Mee),u.pf=function(t,n){w7n(this,l(t,37))},u.b=0,u.c=0,F(sr,"FinalSplineBendpointsCalculator",1503),N(1504,1,{},Lee),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),N(1505,1,{},QS),u.Kb=function(t){return new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(sr,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),N(1506,1,Xi,aD),u.Mb=function(t){return!pc(l(t,17))},F(sr,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),N(1507,1,Xi,o$),u.Mb=function(t){return so(l(t,17),(mt(),U2))},F(sr,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),N(1508,1,vr,tu),u.td=function(t){Okn(this.a,l(t,128))},F(sr,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),N(1509,1,vr,n6),u.td=function(t){que(l(t,17).a)},F(sr,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),N(792,1,va,Xo),u.pf=function(t,n){fEn(this,l(t,37),n)},F(sr,"GraphTransformer",792),N(511,22,{3:1,35:1,22:1,511:1},k3e);var c0e,eB,K4t=_i(sr,"GraphTransformer/Mode",511,Si,tfn,Dcn),Y4t;N(1510,1,va,r6),u.pf=function(t,n){z_n(l(t,37),n)},F(sr,"HierarchicalNodeResizingProcessor",1510),N(1511,1,va,Iee),u.pf=function(t,n){kgn(l(t,37),n)},F(sr,"HierarchicalPortConstraintProcessor",1511),N(1512,1,As,i1),u.ue=function(t,n){return Pbn(l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"HierarchicalPortConstraintProcessor/NodeComparator",1512),N(1513,1,va,Lx),u.pf=function(t,n){V8n(l(t,37),n)},F(sr,"HierarchicalPortDummySizeProcessor",1513),N(1514,1,va,Oee),u.pf=function(t,n){$xn(this,l(t,37),n)},u.a=0,F(sr,"HierarchicalPortOrthogonalEdgeRouter",1514),N(1515,1,As,b7),u.ue=function(t,n){return Usn(l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"HierarchicalPortOrthogonalEdgeRouter/1",1515),N(1516,1,As,Hg),u.ue=function(t,n){return s0n(l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"HierarchicalPortOrthogonalEdgeRouter/2",1516),N(1517,1,va,Dee),u.pf=function(t,n){h3n(l(t,37),n)},F(sr,"HierarchicalPortPositionProcessor",1517),N(1518,1,va,Gie),u.pf=function(t,n){aTn(this,l(t,37))},u.a=0,u.c=0;var vK,bK;F(sr,"HighDegreeNodeLayeringProcessor",1518),N(571,1,{571:1},Pee),u.b=-1,u.d=-1,F(sr,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),N(1519,1,{},Nee),u.Kb=function(t){return MP(),bl(l(t,10))},u.Fb=function(t){return this===t},F(sr,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),N(1520,1,{},Ree),u.Kb=function(t){return MP(),$a(l(t,10))},u.Fb=function(t){return this===t},F(sr,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),N(1526,1,va,ZS),u.pf=function(t,n){v8n(this,l(t,37),n)},F(sr,"HyperedgeDummyMerger",1526),N(793,1,{},d5e),u.a=!1,u.b=!1,u.c=!1,F(sr,"HyperedgeDummyMerger/MergeState",793),N(1527,1,{},oD),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"HyperedgeDummyMerger/lambda$0$Type",1527),N(1528,1,{},c$),u.Kb=function(t){return new jn(null,new zn(l(t,10).j,16))},F(sr,"HyperedgeDummyMerger/lambda$1$Type",1528),N(1529,1,vr,cD),u.td=function(t){l(t,11).p=-1},F(sr,"HyperedgeDummyMerger/lambda$2$Type",1529),N(1530,1,va,Ix),u.pf=function(t,n){p8n(l(t,37),n)},F(sr,"HypernodesProcessor",1530),N(1531,1,va,Bee),u.pf=function(t,n){m8n(l(t,37),n)},F(sr,"InLayerConstraintProcessor",1531),N(1532,1,va,l$),u.pf=function(t,n){Ggn(l(t,37),n)},F(sr,"InnermostNodeMarginCalculator",1532),N(1533,1,va,u$),u.pf=function(t,n){k9n(this,l(t,37))},u.a=Oa,u.b=Oa,u.c=ma,u.d=ma;var cSn=F(sr,"InteractiveExternalPortPositioner",1533);N(1534,1,{},Fee),u.Kb=function(t){return l(t,17).d.i},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$0$Type",1534),N(1535,1,{},Tc),u.Kb=function(t){return Ksn(this.a,Lt(t))},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$1$Type",1535),N(1536,1,{},jee),u.Kb=function(t){return l(t,17).c.i},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$2$Type",1536),N(1537,1,{},df),u.Kb=function(t){return Ysn(this.a,Lt(t))},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$3$Type",1537),N(1538,1,{},j1),u.Kb=function(t){return Fan(this.a,Lt(t))},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$4$Type",1538),N(1539,1,{},Tv),u.Kb=function(t){return jan(this.a,Lt(t))},u.Fb=function(t){return this===t},F(sr,"InteractiveExternalPortPositioner/lambda$5$Type",1539),N(77,22,{3:1,35:1,22:1,77:1,234:1},Ca),u.Kf=function(){switch(this.g){case 15:return new tne;case 22:return new nne;case 47:return new sne;case 28:case 35:return new i6;case 32:return new v7;case 42:return new pee;case 1:return new mee;case 41:return new vee;case 56:return new Xo((zE(),eB));case 0:return new Xo((zE(),c0e));case 2:return new bee;case 54:return new wee;case 33:return new kee;case 51:return new Mee;case 55:return new r6;case 13:return new Iee;case 38:return new Lx;case 44:return new Oee;case 40:return new Dee;case 9:return new Gie;case 49:return new het;case 37:return new ZS;case 43:return new Ix;case 27:return new Bee;case 30:return new l$;case 3:return new u$;case 18:return new Hee;case 29:return new zee;case 5:return new jH;case 50:return new $ee;case 34:return new Wie;case 36:return new w7;case 52:return new qie;case 11:return new V3;case 7:return new Yie;case 39:return new y7;case 45:return new Gee;case 16:return new JS;case 10:return new rg;case 48:return new uD;case 21:return new _7;case 23:return new uae((py(),YL));case 8:return new g$;case 12:return new fD;case 4:return new Kee;case 19:return new IC;case 17:return new Jee;case 53:return new ete;case 6:return new _$;case 25:return new gYe;case 46:return new ite;case 31:return new Xet;case 14:return new gD;case 26:return new cne;case 20:return new fte;case 24:return new uae((py(),xY));default:throw ue(new Jn(qfe+(this.f!=null?this.f:""+this.g)))}};var DAe,PAe,NAe,RAe,BAe,FAe,jAe,$Ae,HAe,zAe,AL,wK,yK,VAe,qAe,UAe,GAe,WAe,KAe,YAe,ML,XAe,QAe,ZAe,JAe,eMe,l0e,_K,xK,tMe,kK,EK,TK,tT,nT,rT,nMe,SK,CK,rMe,AK,MK,iMe,sMe,aMe,oMe,LK,u0e,tB,IK,OK,DK,PK,cMe,lMe,uMe,hMe,lSn=_i(sr,f9e,77,Si,$0t,Ocn),X4t;N(1540,1,va,Hee),u.pf=function(t,n){T9n(l(t,37),n)},F(sr,"InvertedPortProcessor",1540),N(1541,1,va,zee),u.pf=function(t,n){Tkn(l(t,37),n)},F(sr,"LabelAndNodeSizeProcessor",1541),N(1542,1,Xi,Vee),u.Mb=function(t){return l(t,10).k==(gr(),za)},F(sr,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),N(1543,1,Xi,zg),u.Mb=function(t){return l(t,10).k==(gr(),La)},F(sr,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),N(1544,1,vr,Ctt),u.td=function(t){min(this.b,this.a,this.c,l(t,10))},u.a=!1,u.c=!1,F(sr,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),N(1545,1,va,jH),u.pf=function(t,n){YEn(l(t,37),n)};var Q4t;F(sr,"LabelDummyInserter",1545),N(1546,1,wg,Cw),u.Lb=function(t){return Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),ST))},u.Fb=function(t){return this===t},u.Mb=function(t){return Je(re(l(t,70),(Nt(),Ig)))===Je((A0(),ST))},F(sr,"LabelDummyInserter/1",1546),N(1547,1,va,$ee),u.pf=function(t,n){Q7n(l(t,37),n)},F(sr,"LabelDummyRemover",1547),N(1548,1,Xi,qee),u.Mb=function(t){return Zt(Xt(re(l(t,70),(Nt(),Z0e))))},F(sr,"LabelDummyRemover/lambda$0$Type",1548),N(1359,1,va,Wie),u.pf=function(t,n){SEn(this,l(t,37),n)},u.a=null;var h0e;F(sr,"LabelDummySwitcher",1359),N(286,1,{286:1},Fgt),u.c=0,u.d=null,u.f=0,F(sr,"LabelDummySwitcher/LabelDummyInfo",286),N(1360,1,{},h$),u.Kb=function(t){return Bk(),new jn(null,new zn(l(t,29).a,16))},F(sr,"LabelDummySwitcher/lambda$0$Type",1360),N(1361,1,Xi,f$),u.Mb=function(t){return Bk(),l(t,10).k==(gr(),kf)},F(sr,"LabelDummySwitcher/lambda$1$Type",1361),N(1362,1,{},vm),u.Kb=function(t){return Can(this.a,l(t,10))},F(sr,"LabelDummySwitcher/lambda$2$Type",1362),N(1363,1,vr,ag),u.td=function(t){Sun(this.a,l(t,286))},F(sr,"LabelDummySwitcher/lambda$3$Type",1363),N(1364,1,As,Uee),u.ue=function(t,n){return eun(l(t,286),l(n,286))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"LabelDummySwitcher/lambda$4$Type",1364),N(791,1,va,i6),u.pf=function(t,n){B1n(l(t,37),n)},F(sr,"LabelManagementProcessor",791),N(1549,1,va,w7),u.pf=function(t,n){cxn(l(t,37),n)},F(sr,"LabelSideSelector",1549),N(1550,1,Xi,lD),u.Mb=function(t){return Zt(Xt(re(l(t,70),(Nt(),Z0e))))},F(sr,"LabelSideSelector/lambda$0$Type",1550),N(1558,1,va,V3),u.pf=function(t,n){q8n(l(t,37),n)},F(sr,"LayerConstraintPostprocessor",1558),N(1559,1,va,Yie),u.pf=function(t,n){i6n(l(t,37),n)};var fMe;F(sr,"LayerConstraintPreprocessor",1559),N(360,22,{3:1,35:1,22:1,360:1},Zz);var nB,NK,RK,f0e,Z4t=_i(sr,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Si,Ldn,kon),J4t;N(1560,1,va,y7),u.pf=function(t,n){K7n(l(t,37),n)},F(sr,"LayerSizeAndGraphHeightCalculator",1560),N(1561,1,va,Gee),u.pf=function(t,n){Q6n(l(t,37),n)},F(sr,"LongEdgeJoiner",1561),N(1562,1,va,JS),u.pf=function(t,n){M7n(l(t,37),n)},F(sr,"LongEdgeSplitter",1562),N(1563,1,va,rg),u.pf=function(t,n){MEn(this,l(t,37),n)},u.d=0,u.e=0,u.i=0,u.j=0,u.k=0,u.n=0,F(sr,"NodePromotion",1563),N(1564,1,{},d$),u.Kb=function(t){return l(t,46),er(),!0},u.Fb=function(t){return this===t},F(sr,"NodePromotion/lambda$0$Type",1564),N(1565,1,{},Sv),u.Kb=function(t){return Wun(this.a,l(t,46))},u.Fb=function(t){return this===t},u.a=0,F(sr,"NodePromotion/lambda$1$Type",1565),N(1566,1,{},$1),u.Kb=function(t){return Kun(this.a,l(t,46))},u.Fb=function(t){return this===t},u.a=0,F(sr,"NodePromotion/lambda$2$Type",1566),N(1567,1,va,uD),u.pf=function(t,n){J9n(l(t,37),n)},F(sr,"NorthSouthPortPostprocessor",1567),N(1568,1,va,_7),u.pf=function(t,n){F9n(l(t,37),n)},F(sr,"NorthSouthPortPreprocessor",1568),N(1569,1,As,hD),u.ue=function(t,n){return dpn(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"NorthSouthPortPreprocessor/lambda$0$Type",1569),N(1570,1,va,g$),u.pf=function(t,n){t8n(l(t,37),n)},F(sr,"PartitionMidprocessor",1570),N(1571,1,Xi,Wee),u.Mb=function(t){return so(l(t,10),(Nt(),mT))},F(sr,"PartitionMidprocessor/lambda$0$Type",1571),N(1572,1,vr,Dw),u.td=function(t){mhn(this.a,l(t,10))},F(sr,"PartitionMidprocessor/lambda$1$Type",1572),N(1573,1,va,fD),u.pf=function(t,n){v_n(l(t,37),n)},F(sr,"PartitionPostprocessor",1573),N(1574,1,va,Kee),u.pf=function(t,n){C5n(l(t,37),n)},F(sr,"PartitionPreprocessor",1574),N(1575,1,Xi,Yee),u.Mb=function(t){return so(l(t,10),(Nt(),mT))},F(sr,"PartitionPreprocessor/lambda$0$Type",1575),N(1576,1,{},p$),u.Kb=function(t){return new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(sr,"PartitionPreprocessor/lambda$1$Type",1576),N(1577,1,Xi,Ox),u.Mb=function(t){return ybn(l(t,17))},F(sr,"PartitionPreprocessor/lambda$2$Type",1577),N(1578,1,vr,m$),u.td=function(t){kpn(l(t,17))},F(sr,"PartitionPreprocessor/lambda$3$Type",1578),N(1579,1,va,IC),u.pf=function(t,n){jkn(l(t,37),n)};var dMe,e5t,t5t,n5t,gMe,pMe;F(sr,"PortListSorter",1579),N(1580,1,{},Dx),u.Kb=function(t){return JE(),l(t,11).e},F(sr,"PortListSorter/lambda$0$Type",1580),N(1581,1,{},Xee),u.Kb=function(t){return JE(),l(t,11).g},F(sr,"PortListSorter/lambda$1$Type",1581),N(1582,1,As,dD),u.ue=function(t,n){return Zst(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"PortListSorter/lambda$2$Type",1582),N(1583,1,As,Qee),u.ue=function(t,n){return q2n(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"PortListSorter/lambda$3$Type",1583),N(1584,1,As,Zee),u.ue=function(t,n){return opt(l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"PortListSorter/lambda$4$Type",1584),N(1585,1,va,Jee),u.pf=function(t,n){Z5n(l(t,37),n)},F(sr,"PortSideProcessor",1585),N(1586,1,va,ete),u.pf=function(t,n){Jxn(l(t,37),n)},F(sr,"ReversedEdgeRestorer",1586),N(1591,1,va,gYe),u.pf=function(t,n){A2n(this,l(t,37),n)},F(sr,"SelfLoopPortRestorer",1591),N(1592,1,{},v$),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"SelfLoopPortRestorer/lambda$0$Type",1592),N(1593,1,Xi,tte),u.Mb=function(t){return l(t,10).k==(gr(),za)},F(sr,"SelfLoopPortRestorer/lambda$1$Type",1593),N(1594,1,Xi,nte),u.Mb=function(t){return so(l(t,10),(mt(),dT))},F(sr,"SelfLoopPortRestorer/lambda$2$Type",1594),N(1595,1,{},rte),u.Kb=function(t){return l(re(l(t,10),(mt(),dT)),403)},F(sr,"SelfLoopPortRestorer/lambda$3$Type",1595),N(1596,1,vr,Z3),u.td=function(t){B3n(this.a,l(t,403))},F(sr,"SelfLoopPortRestorer/lambda$4$Type",1596),N(794,1,vr,b$),u.td=function(t){Z3n(l(t,101))},F(sr,"SelfLoopPortRestorer/lambda$5$Type",794),N(1597,1,va,ite),u.pf=function(t,n){Bbn(l(t,37),n)},F(sr,"SelfLoopPostProcessor",1597),N(1598,1,{},ste),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"SelfLoopPostProcessor/lambda$0$Type",1598),N(1599,1,Xi,ate),u.Mb=function(t){return l(t,10).k==(gr(),za)},F(sr,"SelfLoopPostProcessor/lambda$1$Type",1599),N(1600,1,Xi,w$),u.Mb=function(t){return so(l(t,10),(mt(),dT))},F(sr,"SelfLoopPostProcessor/lambda$2$Type",1600),N(1601,1,vr,ote),u.td=function(t){qwn(l(t,10))},F(sr,"SelfLoopPostProcessor/lambda$3$Type",1601),N(1602,1,{},cte),u.Kb=function(t){return new jn(null,new zn(l(t,101).f,1))},F(sr,"SelfLoopPostProcessor/lambda$4$Type",1602),N(1603,1,vr,tk),u.td=function(t){Ddn(this.a,l(t,409))},F(sr,"SelfLoopPostProcessor/lambda$5$Type",1603),N(1604,1,Xi,y$),u.Mb=function(t){return!!l(t,101).i},F(sr,"SelfLoopPostProcessor/lambda$6$Type",1604),N(1605,1,vr,f6),u.td=function(t){vrn(this.a,l(t,101))},F(sr,"SelfLoopPostProcessor/lambda$7$Type",1605),N(1587,1,va,_$),u.pf=function(t,n){L6n(l(t,37),n)},F(sr,"SelfLoopPreProcessor",1587),N(1588,1,{},x$),u.Kb=function(t){return new jn(null,new zn(l(t,101).f,1))},F(sr,"SelfLoopPreProcessor/lambda$0$Type",1588),N(1589,1,{},lte),u.Kb=function(t){return l(t,409).a},F(sr,"SelfLoopPreProcessor/lambda$1$Type",1589),N(1590,1,vr,ute),u.td=function(t){xsn(l(t,17))},F(sr,"SelfLoopPreProcessor/lambda$2$Type",1590),N(1606,1,va,Xet),u.pf=function(t,n){C3n(this,l(t,37),n)},F(sr,"SelfLoopRouter",1606),N(1607,1,{},x7),u.Kb=function(t){return new jn(null,new zn(l(t,29).a,16))},F(sr,"SelfLoopRouter/lambda$0$Type",1607),N(1608,1,Xi,Px),u.Mb=function(t){return l(t,10).k==(gr(),za)},F(sr,"SelfLoopRouter/lambda$1$Type",1608),N(1609,1,Xi,eC),u.Mb=function(t){return so(l(t,10),(mt(),dT))},F(sr,"SelfLoopRouter/lambda$2$Type",1609),N(1610,1,{},hte),u.Kb=function(t){return l(re(l(t,10),(mt(),dT)),403)},F(sr,"SelfLoopRouter/lambda$3$Type",1610),N(1611,1,vr,qQe),u.td=function(t){ohn(this.a,this.b,l(t,403))},F(sr,"SelfLoopRouter/lambda$4$Type",1611),N(1612,1,va,gD),u.pf=function(t,n){X_n(l(t,37),n)},F(sr,"SemiInteractiveCrossMinProcessor",1612),N(1613,1,Xi,tC),u.Mb=function(t){return l(t,10).k==(gr(),za)},F(sr,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),N(1614,1,Xi,pD),u.Mb=function(t){return fnt(l(t,10))._b((Nt(),p5))},F(sr,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),N(1615,1,As,k$),u.ue=function(t,n){return Tgn(l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sr,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),N(1616,1,{},E$),u.Ce=function(t,n){return Ehn(l(t,10),l(n,10))},F(sr,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),N(1618,1,va,fte),u.pf=function(t,n){U8n(l(t,37),n)},F(sr,"SortByInputModelProcessor",1618),N(1619,1,Xi,dte),u.Mb=function(t){return l(t,11).g.c.length!=0},F(sr,"SortByInputModelProcessor/lambda$0$Type",1619),N(1620,1,vr,nk),u.td=function(t){r4n(this.a,l(t,11))},F(sr,"SortByInputModelProcessor/lambda$1$Type",1620),N(1693,803,{},olt),u.Me=function(t){var n,r,i,a;switch(this.c=t,this.a.g){case 2:n=new yt,ya($s(new jn(null,new zn(this.c.a.b,16)),new A$),new YQe(this,n)),UN(this,new S$),fh(n,new pte),n.c=Ue(xr,Ht,1,0,5,1),ya($s(new jn(null,new zn(this.c.a.b,16)),new mte),new d6(n)),UN(this,new vte),fh(n,new bte),n.c=Ue(xr,Ht,1,0,5,1),r=AJe(ylt(cq(new jn(null,new zn(this.c.a.b,16)),new Vg(this))),new wte),ya(new jn(null,new zn(this.c.a.a,16)),new GQe(r,n)),UN(this,new yte),fh(n,new gte),n.c=Ue(xr,Ht,1,0,5,1);break;case 3:i=new yt,UN(this,new T$),a=AJe(ylt(cq(new jn(null,new zn(this.c.a.b,16)),new HC(this))),new C$),ya($s(new jn(null,new zn(this.c.a.b,16)),new _te),new KQe(a,i)),UN(this,new xte),fh(i,new kte),i.c=Ue(xr,Ht,1,0,5,1);break;default:throw ue(new JKe)}},u.b=0,F(Da,"EdgeAwareScanlineConstraintCalculation",1693),N(1694,1,wg,T$),u.Lb=function(t){return Le(l(t,57).g,145)},u.Fb=function(t){return this===t},u.Mb=function(t){return Le(l(t,57).g,145)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),N(1695,1,{},HC),u.Fe=function(t){return R4n(this.a,l(t,57))},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),N(1703,1,zG,UQe),u.Vd=function(){TM(this.a,this.b,-1)},u.b=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),N(1705,1,wg,S$),u.Lb=function(t){return Le(l(t,57).g,145)},u.Fb=function(t){return this===t},u.Mb=function(t){return Le(l(t,57).g,145)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),N(1706,1,vr,pte),u.td=function(t){l(t,365).Vd()},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),N(1707,1,Xi,mte),u.Mb=function(t){return Le(l(t,57).g,10)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),N(1709,1,vr,d6),u.td=function(t){lvn(this.a,l(t,57))},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),N(1708,1,zG,JQe),u.Vd=function(){TM(this.b,this.a,-1)},u.a=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),N(1710,1,wg,vte),u.Lb=function(t){return Le(l(t,57).g,10)},u.Fb=function(t){return this===t},u.Mb=function(t){return Le(l(t,57).g,10)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),N(1711,1,vr,bte),u.td=function(t){l(t,365).Vd()},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),N(1712,1,{},Vg),u.Fe=function(t){return B4n(this.a,l(t,57))},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),N(1713,1,{},wte),u.De=function(){return 0},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),N(1696,1,{},C$),u.De=function(){return 0},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),N(1715,1,vr,GQe),u.td=function(t){qln(this.a,this.b,l(t,307))},u.a=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),N(1714,1,zG,WQe),u.Vd=function(){v0t(this.a,this.b,-1)},u.b=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),N(1716,1,wg,yte),u.Lb=function(t){return l(t,57),!0},u.Fb=function(t){return this===t},u.Mb=function(t){return l(t,57),!0},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),N(1717,1,vr,gte),u.td=function(t){l(t,365).Vd()},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),N(1697,1,Xi,_te),u.Mb=function(t){return Le(l(t,57).g,10)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),N(1699,1,vr,KQe),u.td=function(t){Uln(this.a,this.b,l(t,57))},u.a=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),N(1698,1,zG,eZe),u.Vd=function(){TM(this.b,this.a,-1)},u.a=0,F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),N(1700,1,wg,xte),u.Lb=function(t){return l(t,57),!0},u.Fb=function(t){return this===t},u.Mb=function(t){return l(t,57),!0},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),N(1701,1,vr,kte),u.td=function(t){l(t,365).Vd()},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),N(1702,1,Xi,A$),u.Mb=function(t){return Le(l(t,57).g,145)},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),N(1704,1,vr,YQe),u.td=function(t){z0n(this.a,this.b,l(t,57))},F(Da,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),N(1521,1,va,het),u.pf=function(t,n){R7n(this,l(t,37),n)};var r5t;F(Da,"HorizontalGraphCompactor",1521),N(1522,1,{},b0),u.Oe=function(t,n){var r,i,a;return L_e(t,n)||(r=I6(t),i=I6(n),r&&r.k==(gr(),La)||i&&i.k==(gr(),La))?0:(a=l(re(this.a.a,(mt(),A_)),304),Xsn(a,r?r.k:(gr(),po),i?i.k:(gr(),po)))},u.Pe=function(t,n){var r,i,a;return L_e(t,n)?1:(r=I6(t),i=I6(n),a=l(re(this.a.a,(mt(),A_)),304),T4e(a,r?r.k:(gr(),po),i?i.k:(gr(),po)))},F(Da,"HorizontalGraphCompactor/1",1522),N(1523,1,{},nC),u.Ne=function(t,n){return sA(),t.a.i==0},F(Da,"HorizontalGraphCompactor/lambda$0$Type",1523),N(1524,1,{},qg),u.Ne=function(t,n){return yhn(this.a,t,n)},F(Da,"HorizontalGraphCompactor/lambda$1$Type",1524),N(1664,1,{},Got);var i5t,s5t;F(Da,"LGraphToCGraphTransformer",1664),N(1672,1,Xi,Ete),u.Mb=function(t){return t!=null},F(Da,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),N(1665,1,{},Tte),u.Kb=function(t){return u1(),wl(re(l(l(t,57).g,10),(mt(),vs)))},F(Da,"LGraphToCGraphTransformer/lambda$0$Type",1665),N(1666,1,{},M$),u.Kb=function(t){return u1(),Yut(l(l(t,57).g,145))},F(Da,"LGraphToCGraphTransformer/lambda$1$Type",1666),N(1675,1,Xi,Ste),u.Mb=function(t){return u1(),Le(l(t,57).g,10)},F(Da,"LGraphToCGraphTransformer/lambda$10$Type",1675),N(1676,1,vr,Cte),u.td=function(t){whn(l(t,57))},F(Da,"LGraphToCGraphTransformer/lambda$11$Type",1676),N(1677,1,Xi,Ate),u.Mb=function(t){return u1(),Le(l(t,57).g,145)},F(Da,"LGraphToCGraphTransformer/lambda$12$Type",1677),N(1681,1,vr,Mte),u.td=function(t){Emn(l(t,57))},F(Da,"LGraphToCGraphTransformer/lambda$13$Type",1681),N(1678,1,vr,zC),u.td=function(t){Kin(this.a,l(t,8))},u.a=0,F(Da,"LGraphToCGraphTransformer/lambda$14$Type",1678),N(1679,1,vr,t2),u.td=function(t){Xin(this.a,l(t,110))},u.a=0,F(Da,"LGraphToCGraphTransformer/lambda$15$Type",1679),N(1680,1,vr,hz),u.td=function(t){Yin(this.a,l(t,8))},u.a=0,F(Da,"LGraphToCGraphTransformer/lambda$16$Type",1680),N(1682,1,{},Lte),u.Kb=function(t){return u1(),new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(Da,"LGraphToCGraphTransformer/lambda$17$Type",1682),N(1683,1,Xi,Ite),u.Mb=function(t){return u1(),pc(l(t,17))},F(Da,"LGraphToCGraphTransformer/lambda$18$Type",1683),N(1684,1,vr,Hse),u.td=function(t){L0n(this.a,l(t,17))},F(Da,"LGraphToCGraphTransformer/lambda$19$Type",1684),N(1668,1,vr,zse),u.td=function(t){udn(this.a,l(t,145))},F(Da,"LGraphToCGraphTransformer/lambda$2$Type",1668),N(1685,1,{},L$),u.Kb=function(t){return u1(),new jn(null,new zn(l(t,29).a,16))},F(Da,"LGraphToCGraphTransformer/lambda$20$Type",1685),N(1686,1,{},Ote),u.Kb=function(t){return u1(),new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(Da,"LGraphToCGraphTransformer/lambda$21$Type",1686),N(1687,1,{},I$),u.Kb=function(t){return u1(),l(re(l(t,17),(mt(),U2)),15)},F(Da,"LGraphToCGraphTransformer/lambda$22$Type",1687),N(1688,1,Xi,Dte),u.Mb=function(t){return Zsn(l(t,15))},F(Da,"LGraphToCGraphTransformer/lambda$23$Type",1688),N(1689,1,vr,Vse),u.td=function(t){C4n(this.a,l(t,15))},F(Da,"LGraphToCGraphTransformer/lambda$24$Type",1689),N(1667,1,vr,XQe),u.td=function(t){Qdn(this.a,this.b,l(t,145))},F(Da,"LGraphToCGraphTransformer/lambda$3$Type",1667),N(1669,1,{},Pte),u.Kb=function(t){return u1(),new jn(null,new zn(l(t,29).a,16))},F(Da,"LGraphToCGraphTransformer/lambda$4$Type",1669),N(1670,1,{},Nte),u.Kb=function(t){return u1(),new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(Da,"LGraphToCGraphTransformer/lambda$5$Type",1670),N(1671,1,{},rC),u.Kb=function(t){return u1(),l(re(l(t,17),(mt(),U2)),15)},F(Da,"LGraphToCGraphTransformer/lambda$6$Type",1671),N(1673,1,vr,qse),u.td=function(t){s5n(this.a,l(t,15))},F(Da,"LGraphToCGraphTransformer/lambda$8$Type",1673),N(1674,1,vr,QQe),u.td=function(t){bsn(this.a,this.b,l(t,145))},F(Da,"LGraphToCGraphTransformer/lambda$9$Type",1674),N(1663,1,{},Rte),u.Le=function(t){var n,r,i,a,h;for(this.a=t,this.d=new Jse,this.c=Ue(YCe,Ht,121,this.a.a.a.c.length,0,1),this.b=0,r=new M(this.a.a.a);r.a<r.c.c.length;)n=l(se(r),307),n.d=this.b,h=Yw(tP(new r2,n),this.d),this.c[this.b]=h,++this.b;for(zEn(this),V9n(this),o_n(this),phe(Soe(this.d),new Y7),a=new M(this.a.a.b);a.a<a.c.c.length;)i=l(se(a),57),i.d.c=this.c[i.a.d].e+i.b.a},u.b=0,F(Da,"NetworkSimplexCompaction",1663),N(145,1,{35:1,145:1},FM),u.wd=function(t){return P0n(this,l(t,145))},u.Ib=function(){return Yut(this)},F(Da,"VerticalSegment",145),N(827,1,{},p8e),u.c=0,u.e=0,u.i=0,F(tL,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),N(663,1,{663:1},klt),u.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},u.b=0,u.c=0,u.f=0,F(tL,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),N(287,1,{35:1,287:1},wet),u.wd=function(t){return _ln(this,l(t,287))},u.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},u.a=0,u.b=0,u.c=0,F(tL,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),N(1929,1,{},Udt),u.b=0,u.e=!1,F(tL,"CrossingMatrixFiller",1929);var a5t=na(cp,"IInitializable");N(1804,1,AR,iZe),u.Nf=function(t,n,r,i,a,h){},u.Pf=function(t,n,r){},u.Lf=function(){return this.c!=(py(),YL)},u.Mf=function(){this.e=Ue(ri,Pi,25,this.d,15,1)},u.Of=function(t,n){n[t][0].c.p=t},u.Qf=function(t,n,r,i){++this.d},u.Rf=function(){return!0},u.Sf=function(t,n,r,i){return zut(this,t,n,r),l1n(this,n)},u.Tf=function(t,n){var r;return r=Grn(n,t.length),zut(this,t,r,n),cut(this,r)},u.d=0,F(tL,"GreedySwitchHeuristic",1804),N(1930,1,{},wnt),u.b=0,u.d=0,F(tL,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),N(1917,1,{},xgt),u.a=!1,F(tL,"SwitchDecider",1917),N(101,1,{101:1},Jdt),u.a=null,u.c=null,u.i=null,F(o8,"SelfHyperLoop",101),N(1916,1,{},Zht),u.c=0,u.e=0,F(o8,"SelfHyperLoopLabels",1916),N(411,22,{3:1,35:1,22:1,411:1},Jz);var d8,iT,sT,d0e,o5t=_i(o8,"SelfHyperLoopLabels/Alignment",411,Si,Idn,Eon),c5t;N(409,1,{409:1},Bat),F(o8,"SelfLoopEdge",409),N(403,1,{403:1},qht),u.a=!1,F(o8,"SelfLoopHolder",403),N(1724,1,Xi,F$),u.Mb=function(t){return pc(l(t,17))},F(o8,"SelfLoopHolder/lambda$0$Type",1724),N(113,1,{113:1},Jht),u.a=!1,u.c=!1,F(o8,"SelfLoopPort",113),N(1792,1,Xi,j$),u.Mb=function(t){return pc(l(t,17))},F(o8,"SelfLoopPort/lambda$0$Type",1792),N(363,22,{3:1,35:1,22:1,363:1},oP);var BK,FK,jK,$K,HK,l5t=_i(o8,"SelfLoopType",363,Si,x1n,Mon),u5t;N(1732,1,{},Zie);var h5t,f5t,d5t,g5t;F($f,"PortRestorer",1732),N(361,22,{3:1,35:1,22:1,361:1},Mae);var qy,pb,Uy,g0e=_i($f,"PortRestorer/PortSideArea",361,Si,Dfn,Lon),p5t;N(1733,1,{},s6),u.Kb=function(t){return nb(),l(t,15).Oc()},F($f,"PortRestorer/lambda$0$Type",1733),N(1734,1,vr,jte),u.td=function(t){nb(),l(t,113).c=!1},F($f,"PortRestorer/lambda$1$Type",1734),N(1743,1,Xi,$te),u.Mb=function(t){return nb(),l(t,11).j==(Mt(),nr)},F($f,"PortRestorer/lambda$10$Type",1743),N(1744,1,{},aC),u.Kb=function(t){return nb(),l(t,113).d},F($f,"PortRestorer/lambda$11$Type",1744),N(1745,1,vr,Use),u.td=function(t){Qrn(this.a,l(t,11))},F($f,"PortRestorer/lambda$12$Type",1745),N(1735,1,vr,Gse),u.td=function(t){ran(this.a,l(t,101))},F($f,"PortRestorer/lambda$2$Type",1735),N(1736,1,As,Hte),u.ue=function(t,n){return rgn(l(t,113),l(n,113))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F($f,"PortRestorer/lambda$3$Type",1736),N(1737,1,Xi,zte),u.Mb=function(t){return nb(),l(t,113).c},F($f,"PortRestorer/lambda$4$Type",1737),N(1738,1,Xi,Bte),u.Mb=function(t){return qgn(l(t,11))},F($f,"PortRestorer/lambda$5$Type",1738),N(1739,1,Xi,iC),u.Mb=function(t){return nb(),l(t,11).j==(Mt(),Qn)},F($f,"PortRestorer/lambda$6$Type",1739),N(1740,1,Xi,O$),u.Mb=function(t){return nb(),l(t,11).j==(Mt(),fr)},F($f,"PortRestorer/lambda$7$Type",1740),N(1741,1,Xi,D$),u.Mb=function(t){return Odn(l(t,11))},F($f,"PortRestorer/lambda$8$Type",1741),N(1742,1,Xi,P$),u.Mb=function(t){return nb(),l(t,11).j==(Mt(),Jr)},F($f,"PortRestorer/lambda$9$Type",1742),N(270,22,{3:1,35:1,22:1,270:1},Tk);var p0e,m0e,v0e,b0e,w0e,y0e,_0e,x0e,mMe=_i($f,"PortSideAssigner/Target",270,Si,Y0n,Ton),m5t;N(1725,1,{},N$),u.Kb=function(t){return $s(new jn(null,new zn(l(t,101).j,16)),new sC)},F($f,"PortSideAssigner/lambda$1$Type",1725),N(1726,1,{},Aw),u.Kb=function(t){return l(t,113).d},F($f,"PortSideAssigner/lambda$2$Type",1726),N(1727,1,vr,R$),u.td=function(t){Ka(l(t,11),(Mt(),Qn))},F($f,"PortSideAssigner/lambda$3$Type",1727),N(1728,1,{},B$),u.Kb=function(t){return l(t,113).d},F($f,"PortSideAssigner/lambda$4$Type",1728),N(1729,1,vr,Wse),u.td=function(t){rrn(this.a,l(t,11))},F($f,"PortSideAssigner/lambda$5$Type",1729),N(1730,1,As,Fte),u.ue=function(t,n){return Dun(l(t,101),l(n,101))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F($f,"PortSideAssigner/lambda$6$Type",1730),N(1731,1,As,Nx),u.ue=function(t,n){return aln(l(t,113),l(n,113))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F($f,"PortSideAssigner/lambda$7$Type",1731),N(805,1,Xi,sC),u.Mb=function(t){return l(t,113).c},F($f,"PortSideAssigner/lambda$8$Type",805),N(2009,1,{}),F(cb,"AbstractSelfLoopRouter",2009),N(1750,1,As,Vte),u.ue=function(t,n){return Xan(l(t,101),l(n,101))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cb,$vt,1750),N(1751,1,As,qte),u.ue=function(t,n){return Yan(l(t,101),l(n,101))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cb,Hvt,1751),N(1793,2009,{},Ute),u.Uf=function(t,n,r){return r},F(cb,"OrthogonalSelfLoopRouter",1793),N(1795,1,vr,tZe),u.td=function(t){kke(this.b,this.a,l(t,8))},F(cb,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),N(1794,1793,{},Gte),u.Uf=function(t,n,r){var i,a;return i=t.c.d,hE(r,0,xs(Fl(i.n),i.a)),a=t.d.d,zi(r,xs(Fl(a.n),a.a)),Xkn(r)},F(cb,"PolylineSelfLoopRouter",1794),N(1746,1,{},Kie),u.a=null;var y_;F(cb,"RoutingDirector",1746),N(1747,1,As,Wte),u.ue=function(t,n){return lln(l(t,113),l(n,113))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cb,"RoutingDirector/lambda$0$Type",1747),N(1748,1,{},Kte),u.Kb=function(t){return Fz(),l(t,101).j},F(cb,"RoutingDirector/lambda$1$Type",1748),N(1749,1,vr,Yte),u.td=function(t){Fz(),l(t,15).ad(y_)},F(cb,"RoutingDirector/lambda$2$Type",1749),N(1752,1,{},Xte),F(cb,"RoutingSlotAssigner",1752),N(1753,1,Xi,G7),u.Mb=function(t){return Ain(this.a,l(t,101))},F(cb,"RoutingSlotAssigner/lambda$0$Type",1753),N(1754,1,As,qD),u.ue=function(t,n){return Oln(this.a,l(t,101),l(n,101))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cb,"RoutingSlotAssigner/lambda$1$Type",1754),N(1796,1793,{},Qte),u.Uf=function(t,n,r){var i,a,h,d;return i=ot(Lt(UU(t.b.g.b,(Nt(),E8)))),d=new _et(pe(de(ao,1),dt,8,0,[(h=t.c.d,xs(new Zc(h.n),h.a))])),I6n(t,n,r,d,i),zi(d,(a=t.d.d,xs(new Zc(a.n),a.a))),gft(new eEe(d))},F(cb,"SplineSelfLoopRouter",1796),N(578,1,As,mlt,ztt),u.ue=function(t,n){return $mt(this,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(nL,"ModelOrderNodeComparator",578),N(1755,1,Xi,mD),u.Mb=function(t){return l(t,11).e.c.length!=0},F(nL,"ModelOrderNodeComparator/lambda$0$Type",1755),N(1756,1,{},$$),u.Kb=function(t){return l(Kt(l(t,11).e,0),17).c},F(nL,"ModelOrderNodeComparator/lambda$1$Type",1756),N(1757,1,Xi,Zte),u.Mb=function(t){return l(t,11).e.c.length!=0},F(nL,"ModelOrderNodeComparator/lambda$2$Type",1757),N(1758,1,{},Jte),u.Kb=function(t){return l(Kt(l(t,11).e,0),17).c},F(nL,"ModelOrderNodeComparator/lambda$3$Type",1758),N(1759,1,Xi,ene),u.Mb=function(t){return l(t,11).e.c.length!=0},F(nL,"ModelOrderNodeComparator/lambda$4$Type",1759),N(806,1,As,Wot,rZe),u.ue=function(t,n){return Bnt(this,t,n)},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(nL,"ModelOrderPortComparator",806),N(801,1,{},H$),u.Vf=function(t,n){var r,i,a,h;for(a=Hdt(n),r=new yt,h=n.f/a,i=1;i<a;++i)wt(r,St(li(ph(v.Math.round(i*h)))));return r},u.Wf=function(){return!1},F(kg,"ARDCutIndexHeuristic",801),N(1479,1,va,tne),u.pf=function(t,n){fkn(l(t,37),n)},F(kg,"BreakingPointInserter",1479),N(305,1,{305:1},W6e),u.Ib=function(){var t;return t=new Lv,t.a+="BPInfo[",t.a+=`
start=`,Wl(t,this.i),t.a+=`
end=`,Wl(t,this.a),t.a+=`
nodeStartEdge=`,Wl(t,this.e),t.a+=`
startEndEdge=`,Wl(t,this.j),t.a+=`
originalEdge=`,Wl(t,this.f),t.a+=`
startInLayerDummy=`,Wl(t,this.k),t.a+=`
startInLayerEdge=`,Wl(t,this.n),t.a+=`
endInLayerDummy=`,Wl(t,this.b),t.a+=`
endInLayerEdge=`,Wl(t,this.c),t.a},F(kg,"BreakingPointInserter/BPInfo",305),N(652,1,{652:1},Av),u.a=!1,u.b=0,u.c=0,F(kg,"BreakingPointInserter/Cut",652),N(1480,1,va,nne),u.pf=function(t,n){z6n(l(t,37),n)},F(kg,"BreakingPointProcessor",1480),N(1481,1,Xi,rne),u.Mb=function(t){return fct(l(t,10))},F(kg,"BreakingPointProcessor/0methodref$isEnd$Type",1481),N(1482,1,Xi,ine),u.Mb=function(t){return dct(l(t,10))},F(kg,"BreakingPointProcessor/1methodref$isStart$Type",1482),N(1483,1,va,sne),u.pf=function(t,n){h_n(this,l(t,37),n)},F(kg,"BreakingPointRemover",1483),N(1484,1,vr,ane),u.td=function(t){l(t,128).k=!0},F(kg,"BreakingPointRemover/lambda$0$Type",1484),N(797,1,{},o7e),u.b=0,u.e=0,u.f=0,u.j=0,F(kg,"GraphStats",797),N(798,1,{},z$),u.Ce=function(t,n){return v.Math.max(ot(Lt(t)),ot(Lt(n)))},F(kg,"GraphStats/0methodref$max$Type",798),N(799,1,{},V$),u.Ce=function(t,n){return v.Math.max(ot(Lt(t)),ot(Lt(n)))},F(kg,"GraphStats/2methodref$max$Type",799),N(1660,1,{},one),u.Ce=function(t,n){return Xcn(Lt(t),Lt(n))},F(kg,"GraphStats/lambda$1$Type",1660),N(1661,1,{},VC),u.Kb=function(t){return tft(this.a,l(t,29))},F(kg,"GraphStats/lambda$2$Type",1661),N(1662,1,{},fz),u.Kb=function(t){return R0t(this.a,l(t,29))},F(kg,"GraphStats/lambda$6$Type",1662),N(800,1,{},q$),u.Vf=function(t,n){var r;return r=l(re(t,(Nt(),fIe)),15),r||(In(),In(),Lc)},u.Wf=function(){return!1},F(kg,"ICutIndexCalculator/ManualCutIndexCalculator",800),N(802,1,{},U$),u.Vf=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at;for(at=(n.n==null&&Tft(n),n.n),E=(n.d==null&&Tft(n),n.d),We=Ue(Eo,Gc,25,at.length,15,1),We[0]=at[0],je=at[0],C=1;C<at.length;C++)We[C]=We[C-1]+at[C],je+=at[C];for(a=Hdt(n)-1,d=l(re(t,(Nt(),dIe)),19).a,i=Oa,r=new yt,K=v.Math.max(0,a-d);K<=v.Math.min(n.f-1,a+d);K++){if(oe=je/(K+1),ye=0,P=1,h=new yt,Pe=Oa,$=0,b=0,te=E[0],K==0)Pe=je,b=(n.g==null&&(n.g=blt(n,new V$)),ot(n.g));else{for(;P<n.f;)We[P-1]-ye>=oe&&(wt(h,St(P)),Pe=v.Math.max(Pe,We[P-1]-$),b+=te,ye+=We[P-1]-ye,$=We[P-1],te=E[P]),te=v.Math.max(te,E[P]),++P;b+=te}Z=v.Math.min(1/Pe,1/n.b/b),Z>i&&(i=Z,r=h)}return r},u.Wf=function(){return!1},F(kg,"MSDCutIndexHeuristic",802),N(1617,1,va,cne),u.pf=function(t,n){B8n(l(t,37),n)},F(kg,"SingleEdgeGraphWrapper",1617),N(227,22,{3:1,35:1,22:1,227:1},fA);var __,aT,oT,s5,LL,x_,cT=_i(iu,"CenterEdgeLabelPlacementStrategy",227,Si,K1n,Son),v5t;N(422,22,{3:1,35:1,22:1,422:1},T3e);var vMe,k0e,bMe=_i(iu,"ConstraintCalculationStrategy",422,Si,Fhn,Con),b5t;N(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},Lae),u.Kf=function(){return A1t(this)},u.Xf=function(){return A1t(this)};var rB,g8,wMe,yMe=_i(iu,"CrossingMinimizationStrategy",314,Si,Lfn,Aon),w5t;N(337,22,{3:1,35:1,22:1,337:1},Iae);var _Me,E0e,zK,xMe=_i(iu,"CuttingStrategy",337,Si,Ifn,Ion),y5t;N(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},cP),u.Kf=function(){return g0t(this)},u.Xf=function(){return g0t(this)};var kMe,T0e,IL,S0e,OL,EMe=_i(iu,"CycleBreakingStrategy",335,Si,y1n,Oon),_5t;N(419,22,{3:1,35:1,22:1,419:1},S3e);var VK,TMe,SMe=_i(iu,"DirectionCongruency",419,Si,Bhn,Don),x5t;N(450,22,{3:1,35:1,22:1,450:1},Oae);var lT,C0e,k_,k5t=_i(iu,"EdgeConstraint",450,Si,Ofn,Pon),E5t;N(276,22,{3:1,35:1,22:1,276:1},dA);var A0e,M0e,L0e,I0e,qK,O0e,CMe=_i(iu,"EdgeLabelSideSelection",276,Si,Z1n,Non),T5t;N(479,22,{3:1,35:1,22:1,479:1},C3e);var UK,AMe,MMe=_i(iu,"EdgeStraighteningStrategy",479,Si,Rhn,Ron),S5t;N(274,22,{3:1,35:1,22:1,274:1},gA);var D0e,LMe,IMe,GK,OMe,DMe,PMe=_i(iu,"FixedAlignment",274,Si,X1n,Bon),C5t;N(275,22,{3:1,35:1,22:1,275:1},pA);var NMe,RMe,BMe,FMe,DL,jMe,$Me=_i(iu,"GraphCompactionStrategy",275,Si,Y1n,Fon),A5t;N(256,22,{3:1,35:1,22:1,256:1},i4);var uT,WK,hT,dd,PL,KK,fT,E_,YK,NL,P0e=_i(iu,"GraphProperties",256,Si,Bgn,jon),M5t;N(292,22,{3:1,35:1,22:1,292:1},Dae);var iB,N0e,R0e,B0e=_i(iu,"GreedySwitchType",292,Si,Nfn,$on),L5t;N(303,22,{3:1,35:1,22:1,303:1},Pae);var p8,sB,T_,I5t=_i(iu,"InLayerConstraint",303,Si,Pfn,Hon),O5t;N(420,22,{3:1,35:1,22:1,420:1},A3e);var F0e,HMe,zMe=_i(iu,"InteractiveReferencePoint",420,Si,jhn,zon),D5t,VMe,m8,Gy,XK,qMe,UMe,QK,GMe,aB,ZK,RL,v8,a5,j0e,JK,Vl,WMe,Wy,Lu,$0e,H0e,oB,q2,Ky,b8,KMe,w8,cB,o5,e0,Fd,z0e,S_,au,vs,YMe,XMe,QMe,ZMe,JMe,V0e,eY,Wh,Yy,q0e,y8,lB,$0,C_,dT,A_,M_,gT,U2,eLe,U0e,G0e,_8;N(163,22,{3:1,35:1,22:1,163:1},uP);var BL,mb,FL,c5,uB,tLe=_i(iu,"LayerConstraint",163,Si,k1n,Von),P5t;N(848,1,Id,tse),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,d9e),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),hLe),(Bm(),wa)),SMe),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,g9e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(er(),!1)),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,rW),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),vLe),wa),zMe),kn(hr)))),Co(t,rW,Wfe,T6t),Co(t,rW,rL,E6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,p9e),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,m9e),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),tc),Ya),kn(hr)))),yn(t,new un(Yrn(bn(vn(wn(Bn(dn(mn(gn(pn(new an,v9e),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),tc),Ya),kn(Q2)),pe(de(jt,1),dt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,b9e),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),TLe),wa),DIe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,w9e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),St(7)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,y9e),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,_9e),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Wfe),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),uLe),wa),EMe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,MR),vde),"Node Layering Strategy"),"Strategy for node layering."),yLe),wa),_Ie),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,x9e),vde),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),bLe),wa),tLe),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,k9e),vde),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,E9e),vde),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Kfe),Ebt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),St(4)),Xl),hc),kn(hr)))),Co(t,Kfe,MR,O6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Yfe),Ebt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),St(2)),Xl),hc),kn(hr)))),Co(t,Yfe,MR,P6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Xfe),Tbt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),wLe),wa),LIe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Qfe),Tbt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),St(0)),Xl),hc),kn(hr)))),Co(t,Qfe,Xfe,null),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Zfe),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),St(as)),Xl),hc),kn(hr)))),Co(t,Zfe,MR,C6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,rL),LR),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),lLe),wa),yMe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,T9e),LR),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Jfe),LR),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),fl),Mo),kn(hr)))),Co(t,Jfe,mW,J5t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ede),LR),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),tc),Ya),kn(hr)))),Co(t,ede,rL,r6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,S9e),LR),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,C9e),LR),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,A9e),Sbt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),St(40)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,tde),Sbt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),cLe),wa),B0e),kn(hr)))),Co(t,tde,rL,Q5t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,iW),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),oLe),wa),B0e),kn(hr)))),Co(t,iW,rL,K5t),Co(t,iW,mW,Y5t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,l_),Cbt),"Node Placement Strategy"),"Strategy for node placement."),ELe),wa),TIe),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,sW),Cbt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),tc),Ya),kn(hr)))),Co(t,sW,l_,U6t),Co(t,sW,l_,G6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,nde),Abt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),_Le),wa),MMe),kn(hr)))),Co(t,nde,l_,H6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,rde),Abt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),xLe),wa),PMe),kn(hr)))),Co(t,rde,l_,V6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ide),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),fl),Mo),kn(hr)))),Co(t,ide,l_,K6t),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,sde),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),wa),pge),kn(mo)))),Co(t,sde,l_,Z6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ade),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),kLe),wa),pge),kn(hr)))),Co(t,ade,l_,Q6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,M9e),Mbt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),gLe),wa),RIe),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,L9e),Mbt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),pLe),wa),BIe),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,aW),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),mLe),wa),jIe),kn(hr)))),Co(t,aW,IR,g6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,oW),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),fl),Mo),kn(hr)))),Co(t,oW,IR,m6t),Co(t,oW,aW,v6t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ode),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),fl),Mo),kn(hr)))),Co(t,ode,IR,u6t),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,I9e),R0),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,O9e),R0),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,D9e),R0),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,P9e),R0),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,N9e),q9e),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),St(0)),Xl),hc),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,R9e),q9e),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),St(0)),Xl),hc),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,B9e),q9e),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),St(0)),Xl),hc),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,cde),U9e),Uvt),"Tries to further compact components (disconnected sub-graphs)."),!1),tc),Ya),kn(hr)))),Co(t,cde,ZM,!0),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,F9e),Lbt),"Post Compaction Strategy"),Ibt),rLe),wa),$Me),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,j9e),Lbt),"Post Compaction Constraint Calculation"),Ibt),nLe),wa),bMe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,cW),G9e),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,lde),G9e),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),St(16)),Xl),hc),kn(hr)))),Co(t,lde,cW,!0),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ude),G9e),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),St(5)),Xl),hc),kn(hr)))),Co(t,ude,cW,!0),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Xp),W9e),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),ALe),wa),VIe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,lW),W9e),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),fl),Mo),kn(hr)))),Co(t,lW,Xp,h_t),Co(t,lW,Xp,f_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,uW),W9e),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),fl),Mo),kn(hr)))),Co(t,uW,Xp,g_t),Co(t,uW,Xp,p_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,iL),Obt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),CLe),wa),xMe),kn(hr)))),Co(t,iL,Xp,__t),Co(t,iL,Xp,x_t),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,hde),Obt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),z0),fd),kn(hr)))),Co(t,hde,iL,v_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,fde),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),SLe),Xl),hc),kn(hr)))),Co(t,fde,iL,w_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,hW),Dbt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),MLe),wa),zIe),kn(hr)))),Co(t,hW,Xp,P_t),Co(t,hW,Xp,N_t),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,fW),Dbt),"Valid Indices for Wrapping"),null),z0),fd),kn(hr)))),Co(t,fW,Xp,I_t),Co(t,fW,Xp,O_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,dW),K9e),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),tc),Ya),kn(hr)))),Co(t,dW,Xp,S_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,gW),K9e),"Distance Penalty When Improving Cuts"),null),2),fl),Mo),kn(hr)))),Co(t,gW,Xp,E_t),Co(t,gW,dW,!0),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,dde),K9e),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),tc),Ya),kn(hr)))),Co(t,dde,Xp,A_t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,$9e),bde),"Edge Label Side Selection"),"Method to decide on edge label sides."),dLe),wa),CMe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,H9e),bde),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),fLe),wa),cT),zs(hr,pe(de(Ym,1),vt,175,0,[Km]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,pW),OR),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),aLe),wa),OIe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,z9e),OR),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,gde),OR),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),iLe),wa),EAe),kn(hr)))),Co(t,gde,ZM,null),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,V9e),OR),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),sLe),wa),kIe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,pde),OR),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),fl),Mo),kn(hr)))),Co(t,pde,pW,null),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,mde),OR),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),fl),Mo),kn(hr)))),Co(t,mde,pW,null),Xmt((new HH,t))};var N5t,R5t,B5t,nLe,F5t,rLe,j5t,iLe,$5t,H5t,z5t,sLe,V5t,q5t,aLe,U5t,G5t,W5t,oLe,K5t,Y5t,X5t,cLe,Q5t,Z5t,J5t,e6t,t6t,n6t,r6t,i6t,lLe,s6t,uLe,a6t,hLe,o6t,fLe,c6t,dLe,l6t,u6t,h6t,gLe,f6t,pLe,d6t,mLe,g6t,p6t,m6t,v6t,b6t,w6t,y6t,_6t,x6t,k6t,vLe,E6t,T6t,S6t,C6t,A6t,M6t,bLe,L6t,I6t,O6t,D6t,P6t,N6t,R6t,wLe,B6t,yLe,F6t,j6t,$6t,_Le,H6t,z6t,xLe,V6t,q6t,U6t,G6t,W6t,K6t,Y6t,X6t,kLe,Q6t,Z6t,J6t,ELe,e_t,TLe,t_t,n_t,r_t,i_t,s_t,a_t,o_t,c_t,l_t,u_t,h_t,f_t,d_t,g_t,p_t,m_t,v_t,b_t,SLe,w_t,y_t,CLe,__t,x_t,k_t,E_t,T_t,S_t,C_t,A_t,M_t,ALe,L_t,I_t,O_t,D_t,MLe,P_t,N_t;F(iu,"LayeredMetaDataProvider",848),N(986,1,Id,HH),u.Qe=function(t){Xmt(t)};var Lg,W0e,tY,jL,nY,LLe,rY,x8,iY,ILe,OLe,K0e,vb,Y0e,l5,DLe,hB,X0e,PLe,R_t,sY,Q0e,$L,u5,B_t,zf,NLe,RLe,aY,Z0e,Ig,oY,Qp,BLe,FLe,jLe,J0e,ege,$Le,qm,tge,HLe,h5,zLe,VLe,qLe,cY,f5,G2,ULe,GLe,il,WLe,F_t,Yu,lY,KLe,YLe,XLe,nge,QLe,uY,ZLe,JLe,hY,Xy,eIe,rge,HL,tIe,Qy,zL,fY,W2,ige,pT,dY,K2,nIe,rIe,iIe,mT,sIe,j_t,$_t,H_t,z_t,Zy,d5,ba,Um,V_t,g5,aIe,vT,oIe,p5,q_t,bT,cIe,k8,U_t,G_t,fB,sge,lIe,dB,_1,L_,E8,Jy,Y2,gY,m5,age,wT,yT,e3,I_,oge,gB,VL,qL,cge,uIe,hIe,fIe,dIe,lge,gIe,pIe,mIe,vIe,uge,pY;F(iu,"LayeredOptions",986),N(987,1,{},une),u.$e=function(){var t;return t=new iYe,t},u._e=function(t){},F(iu,"LayeredOptions/LayeredFactory",987),N(1372,1,{}),u.a=0;var W_t;F(su,"ElkSpacings/AbstractSpacingsBuilder",1372),N(779,1372,{},ske);var mY,K_t;F(iu,"LayeredSpacings/LayeredSpacingsBuilder",779),N(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},mA),u.Kf=function(){return M0t(this)},u.Xf=function(){return M0t(this)};var hge,bIe,wIe,vY,fge,yIe,_Ie=_i(iu,"LayeringStrategy",313,Si,Q1n,qon),Y_t;N(378,22,{3:1,35:1,22:1,378:1},Nae);var dge,xIe,bY,kIe=_i(iu,"LongEdgeOrderingStrategy",378,Si,Mfn,Uon),X_t;N(197,22,{3:1,35:1,22:1,197:1},eV);var O_,D_,wY,gge,pge=_i(iu,"NodeFlexibility",197,Si,Rdn,Gon),Q_t;N(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},lP),u.Kf=function(){return d0t(this)},u.Xf=function(){return d0t(this)};var UL,mge,vge,GL,EIe,TIe=_i(iu,"NodePlacementStrategy",315,Si,w1n,Zon),Z_t;N(260,22,{3:1,35:1,22:1,260:1},fk);var SIe,pB,CIe,AIe,mB,MIe,yY,_Y,LIe=_i(iu,"NodePromotionStrategy",260,Si,X0n,Kon),J_t;N(339,22,{3:1,35:1,22:1,339:1},Rae);var IIe,bb,bge,OIe=_i(iu,"OrderingStrategy",339,Si,Bfn,Yon),ext;N(421,22,{3:1,35:1,22:1,421:1},M3e);var wge,yge,DIe=_i(iu,"PortSortingStrategy",421,Si,$hn,Xon),txt;N(452,22,{3:1,35:1,22:1,452:1},Bae);var Kh,Hu,WL,nxt=_i(iu,"PortType",452,Si,Rfn,Won),rxt;N(375,22,{3:1,35:1,22:1,375:1},Fae);var PIe,_ge,NIe,RIe=_i(iu,"SelfLoopDistributionStrategy",375,Si,Ffn,Qon),ixt;N(376,22,{3:1,35:1,22:1,376:1},L3e);var vB,xge,BIe=_i(iu,"SelfLoopOrderingStrategy",376,Si,Nhn,Jon),sxt;N(304,1,{304:1},Zpt),F(iu,"Spacings",304),N(336,22,{3:1,35:1,22:1,336:1},jae);var kge,FIe,KL,jIe=_i(iu,"SplineRoutingMode",336,Si,$fn,ecn),axt;N(338,22,{3:1,35:1,22:1,338:1},$ae);var Ege,$Ie,HIe,zIe=_i(iu,"ValidifyStrategy",338,Si,Hfn,tcn),oxt;N(377,22,{3:1,35:1,22:1,377:1},Hae);var v5,Tge,_T,VIe=_i(iu,"WrappingStrategy",377,Si,jfn,ncn),cxt;N(1383,1,Cu,ise),u.Yf=function(t){return l(t,37),lxt},u.pf=function(t,n){I7n(this,l(t,37),n)};var lxt;F(wW,"DepthFirstCycleBreaker",1383),N(782,1,Cu,V5e),u.Yf=function(t){return l(t,37),uxt},u.pf=function(t,n){MTn(this,l(t,37),n)},u.Zf=function(t){return l(Kt(t,XU(this.d,t.c.length)),10)};var uxt;F(wW,"GreedyCycleBreaker",782),N(1386,782,Cu,BZe),u.Zf=function(t){var n,r,i,a;for(a=null,n=as,i=new M(t);i.a<i.c.c.length;)r=l(se(i),10),so(r,(mt(),au))&&l(re(r,au),19).a<n&&(n=l(re(r,au),19).a,a=r);return a||l(Kt(t,XU(this.d,t.c.length)),10)},F(wW,"GreedyModelOrderCycleBreaker",1386),N(1384,1,Cu,Xie),u.Yf=function(t){return l(t,37),hxt},u.pf=function(t,n){J7n(this,l(t,37),n)};var hxt;F(wW,"InteractiveCycleBreaker",1384),N(1385,1,Cu,Qie),u.Yf=function(t){return l(t,37),fxt},u.pf=function(t,n){eEn(this,l(t,37),n)},u.a=0,u.b=0;var fxt;F(wW,"ModelOrderCycleBreaker",1385),N(1389,1,Cu,MQe),u.Yf=function(t){return l(t,37),dxt},u.pf=function(t,n){DTn(this,l(t,37),n)};var dxt;F(Y4,"CoffmanGrahamLayerer",1389),N(1390,1,As,dz),u.ue=function(t,n){return o5n(this.a,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Y4,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),N(1391,1,As,Kse),u.ue=function(t,n){return Wln(this.a,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Y4,"CoffmanGrahamLayerer/lambda$1$Type",1391),N(1392,1,Cu,vD),u.Yf=function(t){return l(t,37),ss(ss(ss(new eo,(vc(),Mg),(Mc(),l0e)),gb,rT),Ku,nT)},u.pf=function(t,n){R9n(this,l(t,37),n)},F(Y4,"InteractiveLayerer",1392),N(569,1,{569:1},fYe),u.a=0,u.c=0,F(Y4,"InteractiveLayerer/LayerSpan",569),N(1388,1,Cu,$H),u.Yf=function(t){return l(t,37),gxt},u.pf=function(t,n){fxn(this,l(t,37),n)};var gxt;F(Y4,"LongestPathLayerer",1388),N(1395,1,Cu,ese),u.Yf=function(t){return l(t,37),ss(ss(ss(new eo,(vc(),Mg),(Mc(),AL)),gb,rT),Ku,nT)},u.pf=function(t,n){sTn(this,l(t,37),n)},u.a=0,u.b=0,u.d=0;var qIe,UIe;F(Y4,"MinWidthLayerer",1395),N(1396,1,As,Cv),u.ue=function(t,n){return epn(this,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Y4,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),N(1387,1,Cu,Jie),u.Yf=function(t){return l(t,37),pxt},u.pf=function(t,n){kEn(this,l(t,37),n)};var pxt;F(Y4,"NetworkSimplexLayerer",1387),N(1393,1,Cu,Zet),u.Yf=function(t){return l(t,37),ss(ss(ss(new eo,(vc(),Mg),(Mc(),AL)),gb,rT),Ku,nT)},u.pf=function(t,n){u9n(this,l(t,37),n)},u.d=0,u.f=0,u.g=0,u.i=0,u.s=0,u.t=0,u.u=0,F(Y4,"StretchWidthLayerer",1393),N(1394,1,As,hne),u.ue=function(t,n){return I1n(l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Y4,"StretchWidthLayerer/1",1394),N(402,1,LTe),u.Nf=function(t,n,r,i,a,h){},u._f=function(t,n,r){return Kgt(this,t,n,r)},u.Mf=function(){this.g=Ue(M5,Nbt,25,this.d,15,1),this.f=Ue(M5,Nbt,25,this.d,15,1)},u.Of=function(t,n){this.e[t]=Ue(ri,Pi,25,n[t].length,15,1)},u.Pf=function(t,n,r){var i;i=r[t][n],i.p=n,this.e[t][n]=n},u.Qf=function(t,n,r,i){l(Kt(i[t][n].j,r),11).p=this.d++},u.b=0,u.c=0,u.d=0,F(Dh,"AbstractBarycenterPortDistributor",402),N(1633,1,As,UD),u.ue=function(t,n){return Ebn(this.a,l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Dh,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),N(817,1,AR,U6e),u.Nf=function(t,n,r,i,a,h){},u.Pf=function(t,n,r){},u.Qf=function(t,n,r,i){},u.Lf=function(){return!1},u.Mf=function(){this.c=this.e.a,this.g=this.f.g},u.Of=function(t,n){n[t][0].c.p=t},u.Rf=function(){return!1},u.ag=function(t,n,r,i){r?tdt(this,t):(sdt(this,t,i),fmt(this,t,n)),t.c.length>1&&(Zt(Xt(re(cc((Un(0,t.c.length),l(t.c[0],10))),(Nt(),l5))))?k0t(t,this.d,l(this,660)):(In(),fo(t,this.d)),Vlt(this.e,t))},u.Sf=function(t,n,r,i){var a,h,d,b,E,C,P;for(n!=gnt(r,t.length)&&(h=t[n-(r?1:-1)],g_e(this.f,h,r?(Oc(),Hu):(Oc(),Kh))),a=t[n][0],P=!i||a.k==(gr(),La),C=S0(t[n]),this.ag(C,P,!1,r),d=0,E=new M(C);E.a<E.c.c.length;)b=l(se(E),10),t[n][d++]=b;return!1},u.Tf=function(t,n){var r,i,a,h,d;for(d=gnt(n,t.length),h=S0(t[d]),this.ag(h,!1,!0,n),r=0,a=new M(h);a.a<a.c.c.length;)i=l(se(a),10),t[d][r++]=i;return!1},F(Dh,"BarycenterHeuristic",817),N(658,1,{658:1},W7),u.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},u.b=0,u.d=0,u.e=!1;var mxt=F(Dh,"BarycenterHeuristic/BarycenterState",658);N(1802,1,As,gz),u.ue=function(t,n){return uyn(this.a,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Dh,"BarycenterHeuristic/lambda$0$Type",1802),N(816,1,AR,m8e),u.Mf=function(){},u.Nf=function(t,n,r,i,a,h){},u.Qf=function(t,n,r,i){},u.Of=function(t,n){this.a[t]=Ue(mxt,{3:1,4:1,5:1,2018:1},658,n[t].length,0,1),this.b[t]=Ue(vxt,{3:1,4:1,5:1,2019:1},233,n[t].length,0,1)},u.Pf=function(t,n,r){Ght(this,r[t][n],!0)},u.c=!1,F(Dh,"ForsterConstraintResolver",816),N(233,1,{233:1},lit,Qpt),u.Ib=function(){var t,n;for(n=new Lv,n.a+="[",t=0;t<this.d.length;t++)Mi(n,sft(this.d[t])),_0(this.g,this.d[0]).a!=null&&Mi(Mi((n.a+="<",n),Pin(_0(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(n.a+=bc);return(n.a+="]",n).a},u.a=0,u.c=0,u.f=0;var vxt=F(Dh,"ForsterConstraintResolver/ConstraintGroup",233);N(1797,1,vr,Yse),u.td=function(t){Ght(this.a,l(t,10),!1)},F(Dh,"ForsterConstraintResolver/lambda$0$Type",1797),N(214,1,{214:1,225:1},rmt),u.Nf=function(t,n,r,i,a,h){},u.Of=function(t,n){},u.Mf=function(){this.r=Ue(ri,Pi,25,this.n,15,1)},u.Pf=function(t,n,r){var i,a;a=r[t][n],i=a.e,i&&wt(this.b,i)},u.Qf=function(t,n,r,i){++this.n},u.Ib=function(){return dmt(this.e,new Ja)},u.g=!1,u.i=!1,u.n=0,u.s=!1,F(Dh,"GraphInfoHolder",214),N(1832,1,AR,lne),u.Nf=function(t,n,r,i,a,h){},u.Of=function(t,n){},u.Qf=function(t,n,r,i){},u._f=function(t,n,r){return r&&n>0?_ce(this.a,t[n-1],t[n]):!r&&n<t.length-1?_ce(this.a,t[n],t[n+1]):ple(this.a,t[n],r?(Mt(),nr):(Mt(),fr)),j6n(this,t,n,r)},u.Mf=function(){this.d=Ue(ri,Pi,25,this.c,15,1),this.a=new AP(this.d)},u.Pf=function(t,n,r){var i;i=r[t][n],this.c+=i.j.c.length},u.c=0,F(Dh,"GreedyPortDistributor",1832),N(1401,1,Cu,zH),u.Yf=function(t){return mmn(l(t,37))},u.pf=function(t,n){jEn(l(t,37),n)};var bxt;F(Dh,"InteractiveCrossingMinimizer",1401),N(1402,1,As,vWe),u.ue=function(t,n){return Wwn(this,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Dh,"InteractiveCrossingMinimizer/1",1402),N(507,1,{507:1,123:1,51:1},uae),u.Yf=function(t){var n;return l(t,37),n=dV(wxt),ss(n,(vc(),Ku),(Mc(),LK)),n},u.pf=function(t,n){Zkn(this,l(t,37),n)},u.e=0;var wxt;F(Dh,"LayerSweepCrossingMinimizer",507),N(1398,1,vr,bWe),u.td=function(t){F8n(this.a,l(t,214))},F(Dh,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),N(1399,1,vr,wWe),u.td=function(t){lmn(this.a,l(t,214))},F(Dh,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),N(1400,1,vr,yWe),u.td=function(t){dpt(this.a,l(t,214))},F(Dh,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),N(454,22,{3:1,35:1,22:1,454:1},zae);var bB,YL,xY,yxt=_i(Dh,"LayerSweepCrossingMinimizer/CrossMinType",454,Si,zfn,rcn),_xt;N(1397,1,Xi,k7),u.Mb=function(t){return sxe(),l(t,29).a.c.length==0},F(Dh,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),N(1799,1,AR,Sit),u.Mf=function(){},u.Nf=function(t,n,r,i,a,h){},u.Qf=function(t,n,r,i){},u.Of=function(t,n){n[t][0].c.p=t,this.b[t]=Ue(xxt,{3:1,4:1,5:1,1944:1},659,n[t].length,0,1)},u.Pf=function(t,n,r){var i;i=r[t][n],i.p=n,la(this.b[t],n,new fne)},F(Dh,"LayerSweepTypeDecider",1799),N(659,1,{659:1},fne),u.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},u.a=0,u.b=0,u.c=0;var xxt=F(Dh,"LayerSweepTypeDecider/NodeInfo",659);N(1800,1,wg,dne),u.Lb=function(t){return OA(new C0(l(t,11).b))},u.Fb=function(t){return this===t},u.Mb=function(t){return OA(new C0(l(t,11).b))},F(Dh,"LayerSweepTypeDecider/lambda$0$Type",1800),N(1801,1,wg,gne),u.Lb=function(t){return OA(new C0(l(t,11).b))},u.Fb=function(t){return this===t},u.Mb=function(t){return OA(new C0(l(t,11).b))},F(Dh,"LayerSweepTypeDecider/lambda$1$Type",1801),N(1833,402,LTe,hXe),u.$f=function(t,n,r){var i,a,h,d,b,E,C,P,$;switch(C=this.g,r.g){case 1:{for(i=0,a=0,E=new M(t.j);E.a<E.c.c.length;)d=l(se(E),11),d.e.c.length!=0&&(++i,d.j==(Mt(),Qn)&&++a);for(h=n+a,$=n+i,b=_y(t,(Oc(),Kh)).Kc();b.Ob();)d=l(b.Pb(),11),d.j==(Mt(),Qn)?(C[d.p]=h,--h):(C[d.p]=$,--$);return i}case 2:{for(P=0,b=_y(t,(Oc(),Hu)).Kc();b.Ob();)d=l(b.Pb(),11),++P,C[d.p]=n+P;return P}default:throw ue(new KD)}},F(Dh,"LayerTotalPortDistributor",1833),N(660,817,{660:1,225:1},clt),u.ag=function(t,n,r,i){r?tdt(this,t):(sdt(this,t,i),fmt(this,t,n)),t.c.length>1&&(Zt(Xt(re(cc((Un(0,t.c.length),l(t.c[0],10))),(Nt(),l5))))?k0t(t,this.d,this):(In(),fo(t,this.d)),Zt(Xt(re(cc((Un(0,t.c.length),l(t.c[0],10))),l5)))||Vlt(this.e,t))},F(Dh,"ModelOrderBarycenterHeuristic",660),N(1803,1,As,_We),u.ue=function(t,n){return U3n(this.a,l(t,10),l(n,10))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Dh,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),N(1403,1,Cu,cse),u.Yf=function(t){var n;return l(t,37),n=dV(kxt),ss(n,(vc(),Ku),(Mc(),LK)),n},u.pf=function(t,n){Lhn((l(t,37),n))};var kxt;F(Dh,"NoCrossingMinimizer",1403),N(796,402,LTe,Jye),u.$f=function(t,n,r){var i,a,h,d,b,E,C,P,$,K,Z;switch($=this.g,r.g){case 1:{for(a=0,h=0,P=new M(t.j);P.a<P.c.c.length;)E=l(se(P),11),E.e.c.length!=0&&(++a,E.j==(Mt(),Qn)&&++h);for(i=1/(a+1),d=n+h*i,Z=n+1-i,C=_y(t,(Oc(),Kh)).Kc();C.Ob();)E=l(C.Pb(),11),E.j==(Mt(),Qn)?($[E.p]=d,d-=i):($[E.p]=Z,Z-=i);break}case 2:{for(b=0,P=new M(t.j);P.a<P.c.c.length;)E=l(se(P),11),E.g.c.length==0||++b;for(i=1/(b+1),K=n+i,C=_y(t,(Oc(),Hu)).Kc();C.Ob();)E=l(C.Pb(),11),$[E.p]=K,K+=i;break}default:throw ue(new Jn("Port type is undefined"))}return 1},F(Dh,"NodeRelativePortDistributor",796),N(807,1,{},$nt,Pdt),F(Dh,"SweepCopy",807),N(1798,1,AR,Tht),u.Of=function(t,n){},u.Mf=function(){var t;t=Ue(ri,Pi,25,this.f,15,1),this.d=new MWe(t),this.a=new AP(t)},u.Nf=function(t,n,r,i,a,h){var d;d=l(Kt(h[t][n].j,r),11),a.c==d&&a.c.i.c==a.d.i.c&&++this.e[t]},u.Pf=function(t,n,r){var i;i=r[t][n],this.c[t]=this.c[t]|i.k==(gr(),Mu)},u.Qf=function(t,n,r,i){var a;a=l(Kt(i[t][n].j,r),11),a.p=this.f++,a.g.c.length+a.e.c.length>1&&(a.j==(Mt(),fr)?this.b[t]=!0:a.j==nr&&t>0&&(this.b[t-1]=!0))},u.f=0,F(cp,"AllCrossingsCounter",1798),N(587,1,{},fU),u.b=0,u.d=0,F(cp,"BinaryIndexedTree",587),N(524,1,{},AP);var GIe,kY;F(cp,"CrossingsCounter",524),N(1906,1,As,xWe),u.ue=function(t,n){return Dln(this.a,l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cp,"CrossingsCounter/lambda$0$Type",1906),N(1907,1,As,kWe),u.ue=function(t,n){return Pln(this.a,l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cp,"CrossingsCounter/lambda$1$Type",1907),N(1908,1,As,EWe),u.ue=function(t,n){return Nln(this.a,l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cp,"CrossingsCounter/lambda$2$Type",1908),N(1909,1,As,TWe),u.ue=function(t,n){return Rln(this.a,l(t,11),l(n,11))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(cp,"CrossingsCounter/lambda$3$Type",1909),N(1910,1,vr,SWe),u.td=function(t){v0n(this.a,l(t,11))},F(cp,"CrossingsCounter/lambda$4$Type",1910),N(1911,1,Xi,CWe),u.Mb=function(t){return Iin(this.a,l(t,11))},F(cp,"CrossingsCounter/lambda$5$Type",1911),N(1912,1,vr,AWe),u.td=function(t){DZe(this,t)},F(cp,"CrossingsCounter/lambda$6$Type",1912),N(1913,1,vr,sZe),u.td=function(t){var n;gE(),Gv(this.b,(n=this.a,l(t,11),n))},F(cp,"CrossingsCounter/lambda$7$Type",1913),N(826,1,wg,G$),u.Lb=function(t){return gE(),so(l(t,11),(mt(),Wh))},u.Fb=function(t){return this===t},u.Mb=function(t){return gE(),so(l(t,11),(mt(),Wh))},F(cp,"CrossingsCounter/lambda$8$Type",826),N(1905,1,{},MWe),F(cp,"HyperedgeCrossingsCounter",1905),N(467,1,{35:1,467:1},Qet),u.wd=function(t){return gbn(this,l(t,467))},u.b=0,u.c=0,u.e=0,u.f=0;var uSn=F(cp,"HyperedgeCrossingsCounter/Hyperedge",467);N(362,1,{35:1,362:1},uq),u.wd=function(t){return f6n(this,l(t,362))},u.b=0,u.c=0;var Ext=F(cp,"HyperedgeCrossingsCounter/HyperedgeCorner",362);N(523,22,{3:1,35:1,22:1,523:1},I3e);var XL,QL,Txt=_i(cp,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Si,Hhn,icn),Sxt;N(1405,1,Cu,rse),u.Yf=function(t){return l(re(l(t,37),(mt(),Lu)),21).Hc((Pc(),dd))?Cxt:null},u.pf=function(t,n){Dwn(this,l(t,37),n)};var Cxt;F(Rc,"InteractiveNodePlacer",1405),N(1406,1,Cu,nse),u.Yf=function(t){return l(re(l(t,37),(mt(),Lu)),21).Hc((Pc(),dd))?Axt:null},u.pf=function(t,n){v2n(this,l(t,37),n)};var Axt,EY,TY;F(Rc,"LinearSegmentsNodePlacer",1406),N(257,1,{35:1,257:1},Mye),u.wd=function(t){return Vrn(this,l(t,257))},u.Fb=function(t){var n;return Le(t,257)?(n=l(t,257),this.b==n.b):!1},u.Hb=function(){return this.b},u.Ib=function(){return"ls"+tb(this.e)},u.a=0,u.b=0,u.c=-1,u.d=-1,u.g=0;var Mxt=F(Rc,"LinearSegmentsNodePlacer/LinearSegment",257);N(1408,1,Cu,Ent),u.Yf=function(t){return l(re(l(t,37),(mt(),Lu)),21).Hc((Pc(),dd))?Lxt:null},u.pf=function(t,n){_Tn(this,l(t,37),n)},u.b=0,u.g=0;var Lxt;F(Rc,"NetworkSimplexPlacer",1408),N(1427,1,As,pne),u.ue=function(t,n){return ah(l(t,19).a,l(n,19).a)},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Rc,"NetworkSimplexPlacer/0methodref$compare$Type",1427),N(1429,1,As,mne),u.ue=function(t,n){return ah(l(t,19).a,l(n,19).a)},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Rc,"NetworkSimplexPlacer/1methodref$compare$Type",1429),N(649,1,{649:1},aZe);var hSn=F(Rc,"NetworkSimplexPlacer/EdgeRep",649);N(401,1,{401:1},_6e),u.b=!1;var fSn=F(Rc,"NetworkSimplexPlacer/NodeRep",401);N(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},pYe),F(Rc,"NetworkSimplexPlacer/Path",508),N(1409,1,{},vne),u.Kb=function(t){return l(t,17).d.i.k},F(Rc,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),N(1410,1,Xi,bne),u.Mb=function(t){return l(t,267)==(gr(),po)},F(Rc,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),N(1411,1,{},wne),u.Kb=function(t){return l(t,17).d.i},F(Rc,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),N(1412,1,Xi,LWe),u.Mb=function(t){return Net(yht(l(t,10)))},F(Rc,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),N(1413,1,Xi,yne),u.Mb=function(t){return xln(l(t,11))},F(Rc,"NetworkSimplexPlacer/lambda$0$Type",1413),N(1414,1,vr,oZe),u.td=function(t){wsn(this.a,this.b,l(t,11))},F(Rc,"NetworkSimplexPlacer/lambda$1$Type",1414),N(1423,1,vr,IWe),u.td=function(t){j4n(this.a,l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$10$Type",1423),N(1424,1,{},_ne),u.Kb=function(t){return Lf(),new jn(null,new zn(l(t,29).a,16))},F(Rc,"NetworkSimplexPlacer/lambda$11$Type",1424),N(1425,1,vr,OWe),u.td=function(t){Nxn(this.a,l(t,10))},F(Rc,"NetworkSimplexPlacer/lambda$12$Type",1425),N(1426,1,{},xne),u.Kb=function(t){return Lf(),St(l(t,121).e)},F(Rc,"NetworkSimplexPlacer/lambda$13$Type",1426),N(1428,1,{},kne),u.Kb=function(t){return Lf(),St(l(t,121).e)},F(Rc,"NetworkSimplexPlacer/lambda$15$Type",1428),N(1430,1,Xi,Ene),u.Mb=function(t){return Lf(),l(t,401).c.k==(gr(),za)},F(Rc,"NetworkSimplexPlacer/lambda$17$Type",1430),N(1431,1,Xi,Tne),u.Mb=function(t){return Lf(),l(t,401).c.j.c.length>1},F(Rc,"NetworkSimplexPlacer/lambda$18$Type",1431),N(1432,1,vr,Irt),u.td=function(t){Tvn(this.c,this.b,this.d,this.a,l(t,401))},u.c=0,u.d=0,F(Rc,"NetworkSimplexPlacer/lambda$19$Type",1432),N(1415,1,{},Sne),u.Kb=function(t){return Lf(),new jn(null,new zn(l(t,29).a,16))},F(Rc,"NetworkSimplexPlacer/lambda$2$Type",1415),N(1433,1,vr,DWe),u.td=function(t){vsn(this.a,l(t,11))},u.a=0,F(Rc,"NetworkSimplexPlacer/lambda$20$Type",1433),N(1434,1,{},Rx),u.Kb=function(t){return Lf(),new jn(null,new zn(l(t,29).a,16))},F(Rc,"NetworkSimplexPlacer/lambda$21$Type",1434),N(1435,1,vr,PWe),u.td=function(t){Osn(this.a,l(t,10))},F(Rc,"NetworkSimplexPlacer/lambda$22$Type",1435),N(1436,1,Xi,W$),u.Mb=function(t){return Net(t)},F(Rc,"NetworkSimplexPlacer/lambda$23$Type",1436),N(1437,1,{},Cne),u.Kb=function(t){return Lf(),new jn(null,new zn(l(t,29).a,16))},F(Rc,"NetworkSimplexPlacer/lambda$24$Type",1437),N(1438,1,Xi,NWe),u.Mb=function(t){return Fin(this.a,l(t,10))},F(Rc,"NetworkSimplexPlacer/lambda$25$Type",1438),N(1439,1,vr,cZe),u.td=function(t){o4n(this.a,this.b,l(t,10))},F(Rc,"NetworkSimplexPlacer/lambda$26$Type",1439),N(1440,1,Xi,Ane),u.Mb=function(t){return Lf(),!pc(l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$27$Type",1440),N(1441,1,Xi,Mne),u.Mb=function(t){return Lf(),!pc(l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$28$Type",1441),N(1442,1,{},RWe),u.Ce=function(t,n){return Msn(this.a,l(t,29),l(n,29))},F(Rc,"NetworkSimplexPlacer/lambda$29$Type",1442),N(1416,1,{},K$),u.Kb=function(t){return Lf(),new jn(null,new Jw(new Rr(zr($a(l(t,10)).a.Kc(),new J))))},F(Rc,"NetworkSimplexPlacer/lambda$3$Type",1416),N(1417,1,Xi,Lne),u.Mb=function(t){return Lf(),mdn(l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$4$Type",1417),N(1418,1,vr,BWe),u.td=function(t){P8n(this.a,l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$5$Type",1418),N(1419,1,{},oC),u.Kb=function(t){return Lf(),new jn(null,new zn(l(t,29).a,16))},F(Rc,"NetworkSimplexPlacer/lambda$6$Type",1419),N(1420,1,Xi,Ine),u.Mb=function(t){return Lf(),l(t,10).k==(gr(),za)},F(Rc,"NetworkSimplexPlacer/lambda$7$Type",1420),N(1421,1,{},One),u.Kb=function(t){return Lf(),new jn(null,new Jw(new Rr(zr(zp(l(t,10)).a.Kc(),new J))))},F(Rc,"NetworkSimplexPlacer/lambda$8$Type",1421),N(1422,1,Xi,Dne),u.Mb=function(t){return Lf(),mln(l(t,17))},F(Rc,"NetworkSimplexPlacer/lambda$9$Type",1422),N(1404,1,Cu,OC),u.Yf=function(t){return l(re(l(t,37),(mt(),Lu)),21).Hc((Pc(),dd))?Ixt:null},u.pf=function(t,n){p7n(l(t,37),n)};var Ixt;F(Rc,"SimpleNodePlacer",1404),N(180,1,{180:1},e_),u.Ib=function(){var t;return t="",this.c==(gg(),t3)?t+=t8:this.c==Gm&&(t+=e8),this.o==(k0(),X2)?t+=Cfe:this.o==H0?t+="UP":t+="BALANCED",t},F(lb,"BKAlignedLayout",180),N(516,22,{3:1,35:1,22:1,516:1},D3e);var Gm,t3,Oxt=_i(lb,"BKAlignedLayout/HDirection",516,Si,Vhn,scn),Dxt;N(515,22,{3:1,35:1,22:1,515:1},O3e);var X2,H0,Pxt=_i(lb,"BKAlignedLayout/VDirection",515,Si,qhn,acn),Nxt;N(1634,1,{},lZe),F(lb,"BKAligner",1634),N(1637,1,{},qft),F(lb,"BKCompactor",1637),N(654,1,{654:1},Pne),u.a=0,F(lb,"BKCompactor/ClassEdge",654),N(458,1,{458:1},dYe),u.a=null,u.b=0,F(lb,"BKCompactor/ClassNode",458),N(1407,1,Cu,NZe),u.Yf=function(t){return l(re(l(t,37),(mt(),Lu)),21).Hc((Pc(),dd))?Rxt:null},u.pf=function(t,n){RTn(this,l(t,37),n)},u.d=!1;var Rxt;F(lb,"BKNodePlacer",1407),N(1635,1,{},Nne),u.d=0,F(lb,"NeighborhoodInformation",1635),N(1636,1,As,FWe),u.ue=function(t,n){return V0n(this,l(t,46),l(n,46))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(lb,"NeighborhoodInformation/NeighborComparator",1636),N(808,1,{}),F(lb,"ThresholdStrategy",808),N(1763,808,{},bYe),u.bg=function(t,n,r){return this.a.o==(k0(),H0)?ma:Oa},u.cg=function(){},F(lb,"ThresholdStrategy/NullThresholdStrategy",1763),N(579,1,{579:1},uZe),u.c=!1,u.d=!1,F(lb,"ThresholdStrategy/Postprocessable",579),N(1764,808,{},wYe),u.bg=function(t,n,r){var i,a,h;return a=n==r,i=this.a.a[r.p]==n,a||i?(h=t,this.a.c==(gg(),t3)?(a&&(h=Che(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Che(this,r,!1))):(a&&(h=Che(this,n,!0)),!isNaN(h)&&!isFinite(h)&&i&&(h=Che(this,r,!1))),h):t},u.cg=function(){for(var t,n,r,i,a;this.d.b!=0;)a=l(afn(this.d),579),i=hpt(this,a),i.a&&(t=i.a,r=Zt(this.a.f[this.a.g[a.b.p].p]),!(!r&&!pc(t)&&t.c.i.c==t.d.i.c)&&(n=b0t(this,a),n||Gin(this.e,a)));for(;this.e.a.c.length!=0;)b0t(this,l(Aut(this.e),579))},F(lb,"ThresholdStrategy/SimpleThresholdStrategy",1764),N(635,1,{635:1,246:1,234:1},Rne),u.Kf=function(){return Flt(this)},u.Xf=function(){return Flt(this)};var Sge;F(kde,"EdgeRouterFactory",635),N(1458,1,Cu,sg),u.Yf=function(t){return gxn(l(t,37))},u.pf=function(t,n){x7n(l(t,37),n)};var Bxt,Fxt,jxt,$xt,Hxt,WIe,zxt,Vxt;F(kde,"OrthogonalEdgeRouter",1458),N(1451,1,Cu,RZe),u.Yf=function(t){return Fwn(l(t,37))},u.pf=function(t,n){z9n(this,l(t,37),n)};var qxt,Uxt,Gxt,Wxt,wB,Kxt;F(kde,"PolylineEdgeRouter",1451),N(1452,1,wg,Bne),u.Lb=function(t){return cxe(l(t,10))},u.Fb=function(t){return this===t},u.Mb=function(t){return cxe(l(t,10))},F(kde,"PolylineEdgeRouter/1",1452),N(1809,1,Xi,Fne),u.Mb=function(t){return l(t,129).c==(V1(),wb)},F(Q1,"HyperEdgeCycleDetector/lambda$0$Type",1809),N(1810,1,{},jne),u.Ge=function(t){return l(t,129).d},F(Q1,"HyperEdgeCycleDetector/lambda$1$Type",1810),N(1811,1,Xi,$ne),u.Mb=function(t){return l(t,129).c==(V1(),wb)},F(Q1,"HyperEdgeCycleDetector/lambda$2$Type",1811),N(1812,1,{},Bx),u.Ge=function(t){return l(t,129).d},F(Q1,"HyperEdgeCycleDetector/lambda$3$Type",1812),N(1813,1,{},Hne),u.Ge=function(t){return l(t,129).d},F(Q1,"HyperEdgeCycleDetector/lambda$4$Type",1813),N(1814,1,{},zne),u.Ge=function(t){return l(t,129).d},F(Q1,"HyperEdgeCycleDetector/lambda$5$Type",1814),N(112,1,{35:1,112:1},gN),u.wd=function(t){return qrn(this,l(t,112))},u.Fb=function(t){var n;return Le(t,112)?(n=l(t,112),this.g==n.g):!1},u.Hb=function(){return this.g},u.Ib=function(){var t,n,r,i;for(t=new Af("{"),i=new M(this.n);i.a<i.c.c.length;)r=l(se(i),11),n=BN(r.i),n==null&&(n="n"+ftt(r.i)),t.a+=""+n,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},u.a=0,u.b=0,u.c=NaN,u.d=0,u.g=0,u.i=0,u.o=0,u.s=NaN,F(Q1,"HyperEdgeSegment",112),N(129,1,{129:1},h2),u.Ib=function(){return this.a+"->"+this.b+" ("+tan(this.c)+")"},u.d=0,F(Q1,"HyperEdgeSegmentDependency",129),N(520,22,{3:1,35:1,22:1,520:1},P3e);var wb,b5,Yxt=_i(Q1,"HyperEdgeSegmentDependency/DependencyType",520,Si,zhn,ocn),Xxt;N(1815,1,{},jWe),F(Q1,"HyperEdgeSegmentSplitter",1815),N(1816,1,{},mXe),u.a=0,u.b=0,F(Q1,"HyperEdgeSegmentSplitter/AreaRating",1816),N(329,1,{329:1},Coe),u.a=0,u.b=0,u.c=0,F(Q1,"HyperEdgeSegmentSplitter/FreeArea",329),N(1817,1,As,Yne),u.ue=function(t,n){return Qan(l(t,112),l(n,112))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Q1,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),N(1818,1,vr,Ort),u.td=function(t){n1n(this.a,this.d,this.c,this.b,l(t,112))},u.b=0,F(Q1,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),N(1819,1,{},Xne),u.Kb=function(t){return new jn(null,new zn(l(t,112).e,16))},F(Q1,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),N(1820,1,{},Qne),u.Kb=function(t){return new jn(null,new zn(l(t,112).j,16))},F(Q1,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),N(1821,1,{},Zne),u.Fe=function(t){return ot(Lt(t))},F(Q1,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),N(655,1,{},Qoe),u.a=0,u.b=0,u.c=0,F(Q1,"OrthogonalRoutingGenerator",655),N(1638,1,{},Jne),u.Kb=function(t){return new jn(null,new zn(l(t,112).e,16))},F(Q1,"OrthogonalRoutingGenerator/lambda$0$Type",1638),N(1639,1,{},ere),u.Kb=function(t){return new jn(null,new zn(l(t,112).j,16))},F(Q1,"OrthogonalRoutingGenerator/lambda$1$Type",1639),N(661,1,{}),F(Ede,"BaseRoutingDirectionStrategy",661),N(1807,661,{},yYe),u.dg=function(t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(!(t.r&&!t.q))for(P=n+t.o*r,C=new M(t.n);C.a<C.c.c.length;)for(E=l(se(C),11),$=Ml(pe(de(ao,1),dt,8,0,[E.i.n,E.n,E.a])).a,b=new M(E.g);b.a<b.c.c.length;)d=l(se(b),17),pc(d)||(te=d.d,oe=Ml(pe(de(ao,1),dt,8,0,[te.i.n,te.n,te.a])).a,v.Math.abs($-oe)>_g&&(h=P,a=t,i=new en($,h),zi(d.a,i),My(this,d,a,i,!1),K=t.r,K&&(Z=ot(Lt(Y1(K.e,0))),i=new en(Z,h),zi(d.a,i),My(this,d,a,i,!1),h=n+K.o*r,a=K,i=new en(Z,h),zi(d.a,i),My(this,d,a,i,!1)),i=new en(oe,h),zi(d.a,i),My(this,d,a,i,!1)))},u.eg=function(t){return t.i.n.a+t.n.a+t.a.a},u.fg=function(){return Mt(),Jr},u.gg=function(){return Mt(),Qn},F(Ede,"NorthToSouthRoutingStrategy",1807),N(1808,661,{},_Ye),u.dg=function(t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(!(t.r&&!t.q))for(P=n-t.o*r,C=new M(t.n);C.a<C.c.c.length;)for(E=l(se(C),11),$=Ml(pe(de(ao,1),dt,8,0,[E.i.n,E.n,E.a])).a,b=new M(E.g);b.a<b.c.c.length;)d=l(se(b),17),pc(d)||(te=d.d,oe=Ml(pe(de(ao,1),dt,8,0,[te.i.n,te.n,te.a])).a,v.Math.abs($-oe)>_g&&(h=P,a=t,i=new en($,h),zi(d.a,i),My(this,d,a,i,!1),K=t.r,K&&(Z=ot(Lt(Y1(K.e,0))),i=new en(Z,h),zi(d.a,i),My(this,d,a,i,!1),h=n-K.o*r,a=K,i=new en(Z,h),zi(d.a,i),My(this,d,a,i,!1)),i=new en(oe,h),zi(d.a,i),My(this,d,a,i,!1)))},u.eg=function(t){return t.i.n.a+t.n.a+t.a.a},u.fg=function(){return Mt(),Qn},u.gg=function(){return Mt(),Jr},F(Ede,"SouthToNorthRoutingStrategy",1808),N(1806,661,{},xYe),u.dg=function(t,n,r){var i,a,h,d,b,E,C,P,$,K,Z,te,oe;if(!(t.r&&!t.q))for(P=n+t.o*r,C=new M(t.n);C.a<C.c.c.length;)for(E=l(se(C),11),$=Ml(pe(de(ao,1),dt,8,0,[E.i.n,E.n,E.a])).b,b=new M(E.g);b.a<b.c.c.length;)d=l(se(b),17),pc(d)||(te=d.d,oe=Ml(pe(de(ao,1),dt,8,0,[te.i.n,te.n,te.a])).b,v.Math.abs($-oe)>_g&&(h=P,a=t,i=new en(h,$),zi(d.a,i),My(this,d,a,i,!0),K=t.r,K&&(Z=ot(Lt(Y1(K.e,0))),i=new en(h,Z),zi(d.a,i),My(this,d,a,i,!0),h=n+K.o*r,a=K,i=new en(h,Z),zi(d.a,i),My(this,d,a,i,!0)),i=new en(h,oe),zi(d.a,i),My(this,d,a,i,!0)))},u.eg=function(t){return t.i.n.b+t.n.b+t.a.b},u.fg=function(){return Mt(),fr},u.gg=function(){return Mt(),nr},F(Ede,"WestToEastRoutingStrategy",1806),N(813,1,{},eEe),u.Ib=function(){return tb(this.a)},u.b=0,u.c=!1,u.d=!1,u.f=0,F(X4,"NubSpline",813),N(407,1,{407:1},W0t,fit),F(X4,"NubSpline/PolarCP",407),N(1453,1,Cu,Rft),u.Yf=function(t){return Cyn(l(t,37))},u.pf=function(t,n){oTn(this,l(t,37),n)};var Qxt,Zxt,Jxt,ekt,tkt;F(X4,"SplineEdgeRouter",1453),N(268,1,{268:1},Rq),u.Ib=function(){return this.a+" ->("+this.c+") "+this.b},u.c=0,F(X4,"SplineEdgeRouter/Dependency",268),N(455,22,{3:1,35:1,22:1,455:1},N3e);var yb,P_,nkt=_i(X4,"SplineEdgeRouter/SideToProcess",455,Si,Uhn,ccn),rkt;N(1454,1,Xi,Kne),u.Mb=function(t){return DM(),!l(t,128).o},F(X4,"SplineEdgeRouter/lambda$0$Type",1454),N(1455,1,{},Wne),u.Ge=function(t){return DM(),l(t,128).v+1},F(X4,"SplineEdgeRouter/lambda$1$Type",1455),N(1456,1,vr,hZe),u.td=function(t){bln(this.a,this.b,l(t,46))},F(X4,"SplineEdgeRouter/lambda$2$Type",1456),N(1457,1,vr,fZe),u.td=function(t){wln(this.a,this.b,l(t,46))},F(X4,"SplineEdgeRouter/lambda$3$Type",1457),N(128,1,{35:1,128:1},u1t,aEe),u.wd=function(t){return Urn(this,l(t,128))},u.b=0,u.e=!1,u.f=0,u.g=0,u.j=!1,u.k=!1,u.n=0,u.o=!1,u.p=!1,u.q=!1,u.s=0,u.u=0,u.v=0,u.F=0,F(X4,"SplineSegment",128),N(459,1,{459:1},cC),u.a=0,u.b=!1,u.c=!1,u.d=!1,u.e=!1,u.f=0,F(X4,"SplineSegment/EdgeInformation",459),N(1234,1,{},Vne),F(sL,t9e,1234),N(1235,1,As,qne),u.ue=function(t,n){return t5n(l(t,135),l(n,135))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(sL,Kvt,1235),N(1233,1,{},OXe),F(sL,"MrTree",1233),N(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},tV),u.Kf=function(){return N1t(this)},u.Xf=function(){return N1t(this)};var SY,ZL,yB,JL,KIe=_i(sL,"TreeLayoutPhases",393,Si,Bdn,lcn),ikt;N(1130,209,P2,ett),u.Ze=function(t,n){var r,i,a,h,d,b,E;for(Zt(Xt(nn(t,(Ay(),eOe))))||bq((r=new Dr((r4(),new J3(t))),r)),d=(b=new Bq,ll(b,t),ut(b,(Kl(),nI),t),E=new si,Gkn(t,b,E),l8n(t,b,E),b),h=n8n(this.a,d),a=new M(h);a.a<a.c.c.length;)i=l(se(a),135),xyn(this.b,i,Eu(n,1/h.c.length));d=NTn(h),o9n(d)},F(sL,"TreeLayoutProvider",1130),N(1847,1,rp,Une),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return In(),rE(),Z9},F(sL,"TreeUtil/1",1847),N(1848,1,rp,Gne),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return In(),rE(),Z9},F(sL,"TreeUtil/2",1848),N(502,134,{3:1,502:1,94:1,134:1}),u.g=0,F(aL,"TGraphElement",502),N(188,502,{3:1,188:1,502:1,94:1,134:1},E6e),u.Ib=function(){return this.b&&this.c?Tq(this.b)+"->"+Tq(this.c):"e_"+Ws(this)},F(aL,"TEdge",188),N(135,134,{3:1,135:1,94:1,134:1},Bq),u.Ib=function(){var t,n,r,i,a;for(a=null,i=$i(this.b,0);i.b!=i.d.c;)r=l(ji(i),86),a+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+`
`;for(n=$i(this.a,0);n.b!=n.d.c;)t=l(ji(n),188),a+=(t.b&&t.c?Tq(t.b)+"->"+Tq(t.c):"e_"+Ws(t))+`
`;return a};var dSn=F(aL,"TGraph",135);N(633,502,{3:1,502:1,633:1,94:1,134:1}),F(aL,"TShape",633),N(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Cle),u.Ib=function(){return Tq(this)};var gSn=F(aL,"TNode",86);N(255,1,rp,Mv),u.Jc=function(t){Ho(this,t)},u.Kc=function(){var t;return t=$i(this.a.d,0),new rk(t)},F(aL,"TNode/2",255),N(358,1,ko,rk),u.Nb=function(t){jo(this,t)},u.Pb=function(){return l(ji(this.a),188).c},u.Ob=function(){return Iz(this.a)},u.Qb=function(){Zq(this.a)},F(aL,"TNode/2/1",358),N(1840,1,va,Jet),u.pf=function(t,n){T8n(this,l(t,135),n)},F(c8,"FanProcessor",1840),N(327,22,{3:1,35:1,22:1,327:1,234:1},vA),u.Kf=function(){switch(this.g){case 0:return new BYe;case 1:return new Jet;case 2:return new Fx;case 3:return new tre;case 4:return new rre;case 5:return new bD;default:throw ue(new Jn(qfe+(this.f!=null?this.f:""+this.g)))}};var Cge,Age,Mge,Lge,Ige,CY,skt=_i(c8,f9e,327,Si,J1n,ucn),akt;N(1843,1,va,tre),u.pf=function(t,n){o6n(this,l(t,135),n)},u.a=0,F(c8,"LevelHeightProcessor",1843),N(1844,1,rp,nre),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return In(),rE(),Z9},F(c8,"LevelHeightProcessor/1",1844),N(1841,1,va,Fx),u.pf=function(t,n){g4n(this,l(t,135),n)},u.a=0,F(c8,"NeighborsProcessor",1841),N(1842,1,rp,Y$),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return In(),rE(),Z9},F(c8,"NeighborsProcessor/1",1842),N(1845,1,va,rre),u.pf=function(t,n){a6n(this,l(t,135),n)},u.a=0,F(c8,"NodePositionProcessor",1845),N(1839,1,va,BYe),u.pf=function(t,n){O7n(this,l(t,135))},F(c8,"RootProcessor",1839),N(1846,1,va,bD),u.pf=function(t,n){Hmn(l(t,135))},F(c8,"Untreeifyer",1846);var _B,eI,okt,Oge,AY,tI,Dge,MY,LY,xT,nI,IY,Wm,YIe,ckt,Pge,w5,Nge,XIe;N(851,1,Id,c6),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ITe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),ZIe),(Bm(),wa)),sOe),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,OTe),""),"Search Order"),"Which search order to use when computing a spanning tree."),QIe),wa),oOe),kn(hr)))),omt((new DD,t))};var lkt,QIe,ukt,ZIe;F(_W,"MrTreeMetaDataProvider",851),N(994,1,Id,DD),u.Qe=function(t){omt(t)};var hkt,JIe,fkt,dkt,gkt,pkt,eOe,mkt,tOe,vkt,OY,nOe,bkt,rOe,wkt;F(_W,"MrTreeOptions",994),N(995,1,{},ire),u.$e=function(){var t;return t=new ett,t},u._e=function(t){},F(_W,"MrTreeOptions/MrtreeFactory",995),N(480,22,{3:1,35:1,22:1,480:1},R3e);var Rge,iOe,sOe=_i(_W,"OrderWeighting",480,Si,Whn,hcn),ykt;N(425,22,{3:1,35:1,22:1,425:1},B3e);var aOe,Bge,oOe=_i(_W,"TreeifyingOrder",425,Si,Ghn,dcn),_kt;N(1459,1,Cu,OD),u.Yf=function(t){return l(t,135),xkt},u.pf=function(t,n){$gn(this,l(t,135),n)};var xkt;F("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),N(1460,1,Cu,ase),u.Yf=function(t){return l(t,135),kkt},u.pf=function(t,n){E4n(this,l(t,135),n)};var kkt;F("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),N(1461,1,Cu,sse),u.Yf=function(t){return l(t,135),Ekt},u.pf=function(t,n){Hxn(this,l(t,135),n)},u.a=0;var Ekt;F("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),N(1462,1,Cu,VH),u.Yf=function(t){return l(t,135),Tkt},u.pf=function(t,n){dwn(l(t,135),n)};var Tkt;F("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var rI;N(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},F3e),u.Kf=function(){return dht(this)},u.Xf=function(){return dht(this)};var DY,kT,cOe=_i(DTe,"RadialLayoutPhases",495,Si,Khn,fcn),Skt;N(1131,209,P2,IXe),u.Ze=function(t,n){var r,i,a,h,d,b;if(r=m1t(this,t),Zr(n,"Radial layout",r.c.length),Zt(Xt(nn(t,(O4(),bOe))))||bq((i=new Dr((r4(),new J3(t))),i)),b=Lyn(t),Uc(t,(DA(),rI),b),!b)throw ue(new Jn("The given graph is not a tree!"));for(a=ot(Lt(nn(t,RY))),a==0&&(a=L1t(t)),Uc(t,RY,a),d=new M(m1t(this,t));d.a<d.c.c.length;)h=l(se(d),51),h.pf(t,Eu(n,1));Br(n)},F(DTe,"RadialLayoutProvider",1131),N(549,1,As,Oz),u.ue=function(t,n){return nkn(this.a,this.b,l(t,33),l(n,33))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},u.a=0,u.b=0,F(DTe,"RadialUtil/lambda$0$Type",549),N(1375,1,va,are),u.pf=function(t,n){_En(l(t,33),n)},F(zbt,"CalculateGraphSize",1375),N(442,22,{3:1,35:1,22:1,442:1,234:1},Vae),u.Kf=function(){switch(this.g){case 0:return new X$;case 1:return new sre;case 2:return new are;default:throw ue(new Jn(qfe+(this.f!=null?this.f:""+this.g)))}};var Fge,jge,$ge,Ckt=_i(zbt,f9e,442,Si,Vfn,gcn),Akt;N(645,1,{}),u.e=1,u.g=0,F(Cde,"AbstractRadiusExtensionCompaction",645),N(1772,645,{},Iet),u.hg=function(t){var n,r,i,a,h,d,b,E,C;for(this.c=l(nn(t,(DA(),rI)),33),Ise(this,this.c),this.d=hue(l(nn(t,(O4(),xB)),293)),E=l(nn(t,zge),19),E&&Ow(this,E.a),b=Lt(nn(t,(Yi(),ew))),jC(this,(Xn(b),b)),C=$4(this.c),this.d&&this.d.lg(C),vkn(this,C),d=new gf(pe(de(fa,1),Vbt,33,0,[this.c])),r=0;r<2;r++)for(n=0;n<C.c.length;n++)a=new gf(pe(de(fa,1),Vbt,33,0,[(Un(n,C.c.length),l(C.c[n],33))])),h=n<C.c.length-1?(Un(n+1,C.c.length),l(C.c[n+1],33)):(Un(0,C.c.length),l(C.c[0],33)),i=n==0?l(Kt(C,C.c.length-1),33):(Un(n-1,C.c.length),l(C.c[n-1],33)),kdt(this,(Un(n,C.c.length),l(C.c[n],33),d),i,h,a)},F(Cde,"AnnulusWedgeCompaction",1772),N(1374,1,va,sre),u.pf=function(t,n){Pwn(l(t,33),n)},F(Cde,"GeneralCompactor",1374),N(1771,645,{},ore),u.hg=function(t){var n,r,i,a;r=l(nn(t,(DA(),rI)),33),this.f=r,this.b=hue(l(nn(t,(O4(),xB)),293)),a=l(nn(t,zge),19),a&&Ow(this,a.a),i=Lt(nn(t,(Yi(),ew))),jC(this,(Xn(i),i)),n=$4(r),this.b&&this.b.lg(n),e1t(this,n)},u.a=0,F(Cde,"RadialCompaction",1771),N(1779,1,{},cre),u.ig=function(t){var n,r,i,a,h,d;for(this.a=t,n=0,d=$4(t),i=0,h=new M(d);h.a<h.c.c.length;)for(a=l(se(h),33),++i,r=i;r<d.c.length;r++)I8n(this,a,(Un(r,d.c.length),l(d.c[r],33)))&&(n+=1);return n},F(NTe,"CrossingMinimizationPosition",1779),N(1777,1,{},lre),u.ig=function(t){var n,r,i,a,h,d,b,E,C,P,$,K,Z;for(i=0,r=new Rr(zr(Up(t).a.Kc(),new J));Ei(r);)n=l(hi(r),79),b=ul(l(Re((!n.c&&(n.c=new $n(Xr,n,5,8)),n.c),0),82)),C=b.i+b.g/2,P=b.j+b.f/2,a=t.i+t.g/2,h=t.j+t.f/2,$=new Qo,$.a=C-a,$.b=P-h,d=new en($.a,$.b),h9(d,t.g,t.f),$.a-=d.a,$.b-=d.b,a=C-$.a,h=P-$.b,E=new en($.a,$.b),h9(E,b.g,b.f),$.a-=E.a,$.b-=E.b,C=a+$.a,P=h+$.b,K=C-a,Z=P-h,i+=v.Math.sqrt(K*K+Z*Z);return i},F(NTe,"EdgeLengthOptimization",1777),N(1778,1,{},ure),u.ig=function(t){var n,r,i,a,h,d,b,E,C,P,$;for(i=0,r=new Rr(zr(Up(t).a.Kc(),new J));Ei(r);)n=l(hi(r),79),b=ul(l(Re((!n.c&&(n.c=new $n(Xr,n,5,8)),n.c),0),82)),E=b.i+b.g/2,C=b.j+b.f/2,a=l(nn(b,(Yi(),A8)),8),h=t.i+a.a+t.g/2,d=t.j+a.b+t.f,P=E-h,$=C-d,i+=v.Math.sqrt(P*P+$*$);return i},F(NTe,"EdgeLengthPositionOptimization",1778),N(1373,645,va,X$),u.pf=function(t,n){F6n(this,l(t,33),n)},F("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),N(426,22,{3:1,35:1,22:1,426:1},j3e);var lOe,Hge,uOe=_i(oL,"AnnulusWedgeCriteria",426,Si,Yhn,pcn),Mkt;N(380,22,{3:1,35:1,22:1,380:1},qae);var PY,hOe,fOe,dOe=_i(oL,KEe,380,Si,qfn,mcn),Lkt;N(852,1,Id,ose),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,RTe),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),St(0)),(Bm(),Xl)),hc),kn((K1(),mo))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,BTe),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Mde),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),gOe),wa),dOe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Lde),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),St(1)),Xl),hc),kn(hr)))),Co(t,Lde,Mde,null),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,FTe),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),mOe),wa),COe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,jTe),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),vOe),wa),uOe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,$Te),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),pOe),wa),EOe),kn(hr)))),xmt((new qH,t))};var Ikt,Okt,gOe,Dkt,pOe,Pkt,Nkt,Rkt,mOe,Bkt,vOe;F(oL,"RadialMetaDataProvider",852),N(996,1,Id,qH),u.Qe=function(t){xmt(t)};var zge,Vge,Fkt,jkt,$kt,Hkt,bOe,wOe,NY,zkt,Vkt,RY,xB,qkt,yOe;F(oL,"RadialOptions",996),N(997,1,{},hre),u.$e=function(){var t;return t=new IXe,t},u._e=function(t){},F(oL,"RadialOptions/RadialFactory",997),N(340,22,{3:1,35:1,22:1,340:1},nV);var _Oe,xOe,kOe,qge,EOe=_i(oL,"RadialTranslationStrategy",340,Si,Fdn,vcn),Ukt;N(293,22,{3:1,35:1,22:1,293:1},Uae);var TOe,Uge,SOe,COe=_i(oL,"SortingStrategy",293,Si,Gfn,bcn),Gkt;N(1449,1,Cu,Q$),u.Yf=function(t){return l(t,33),null},u.pf=function(t,n){W6n(this,l(t,33),n)},u.c=0,F("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),N(1775,1,{},fre),u.jg=function(t){return cft(t)},F(qbt,"AnnulusWedgeByLeafs",1775),N(1776,1,{},Z$),u.jg=function(t){return pdt(this,t)},F(qbt,"AnnulusWedgeByNodeSpace",1776),N(1450,1,Cu,J$),u.Yf=function(t){return l(t,33),null},u.pf=function(t,n){syn(this,l(t,33),n)},F("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),N(811,1,{},$ye),u.kg=function(t){},u.lg=function(t){WKe(this,t)},F(HTe,"IDSorter",811),N(1774,1,As,eH),u.ue=function(t,n){return Mgn(l(t,33),l(n,33))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(HTe,"IDSorter/lambda$0$Type",1774),N(1773,1,{},flt),u.kg=function(t){wst(this,t)},u.lg=function(t){var n;t.dc()||(this.e||(n=pnt(l(t.Xb(0),33)),wst(this,n)),WKe(this.e,t))},F(HTe,"PolarCoordinateSorter",1773),N(1136,209,P2,dre),u.Ze=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn,rr,cr,Vr;if(Zr(n,"Rectangle Packing",1),n.n&&n.n&&t&&h1(n,f1(t),(_f(),Gf)),r=ot(Lt(nn(t,(the(),n8t)))),oe=l(nn(t,$Oe),381),Pe=Zt(Xt(nn(t,BOe))),Bt=Zt(Xt(nn(t,jOe))),$=Zt(Xt(nn(t,POe))),on=l(nn(t,l8t),116),bt=ot(Lt(nn(t,h8t))),a=Zt(Xt(nn(t,zOe))),K=Zt(Xt(nn(t,NOe))),je=Zt(Xt(nn(t,ROe))),Vr=ot(Lt(nn(t,VOe))),rr=(!t.a&&(t.a=new _t(fa,t,10,11)),t.a),hlt(rr),je){for(te=new yt,E=new Ir(rr);E.e!=E.i.gc();)d=l(Ur(E),33),g2(d,kB)&&(te.c[te.c.length]=d);for(C=new M(te);C.a<C.c.c.length;)d=l(se(C),33),Kq(rr,d);for(In(),fo(te,new gre),P=new M(te);P.a<P.c.c.length;)d=l(se(P),33),hn=l(nn(d,kB),19).a,hn=v.Math.min(hn,rr.i),mM(rr,hn,d);for(ye=0,b=new Ir(rr);b.e!=b.i.gc();)d=l(Ur(b),33),Uc(d,DOe,St(ye)),++ye}at=j8e(t),at.a-=on.b+on.c,at.b-=on.d+on.a,We=at.a,Vr<0||Vr<at.a?(Z=new Att(r,oe,Pe),h=Ekn(Z,rr,bt,on),n.n&&n.n&&t&&h1(n,f1(t),(_f(),Gf))):h=new Ioe(r,Vr,0,(y9(),aI)),at.a+=on.b+on.c,at.b+=on.d+on.a,Bt||(hlt(rr),cr=new jst(r,$,K,a,bt),We=v.Math.max(at.a,h.c),h=n9n(cr,rr,We,at,n,t,on)),tpn(rr,on),Iy(t,h.c+(on.b+on.c),h.b+(on.d+on.a),!1,!0),Zt(Xt(nn(t,FOe)))||bq((i=new Dr((r4(),new J3(t))),i)),n.n&&n.n&&t&&h1(n,f1(t),(_f(),Gf)),Br(n)},F(Kbt,"RectPackingLayoutProvider",1136),N(1137,1,As,gre),u.ue=function(t,n){return Gpn(l(t,33),l(n,33))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(Kbt,"RectPackingLayoutProvider/lambda$0$Type",1137),N(1256,1,{},Att),u.a=0,u.c=!1,F(xW,"AreaApproximation",1256);var AOe=na(xW,"BestCandidateFilter");N(638,1,{526:1},lC),u.mg=function(t,n,r){var i,a,h,d,b,E;for(E=new yt,h=ma,b=new M(t);b.a<b.c.c.length;)d=l(se(b),220),h=v.Math.min(h,(d.c+(r.b+r.c))*(d.b+(r.d+r.a)));for(a=new M(t);a.a<a.c.c.length;)i=l(se(a),220),(i.c+(r.b+r.c))*(i.b+(r.d+r.a))==h&&(E.c[E.c.length]=i);return E},F(xW,"AreaFilter",638),N(639,1,{526:1},wD),u.mg=function(t,n,r){var i,a,h,d,b,E;for(b=new yt,E=ma,d=new M(t);d.a<d.c.c.length;)h=l(se(d),220),E=v.Math.min(E,v.Math.abs((h.c+(r.b+r.c))/(h.b+(r.d+r.a))-n));for(a=new M(t);a.a<a.c.c.length;)i=l(se(a),220),v.Math.abs((i.c+(r.b+r.c))/(i.b+(r.d+r.a))-n)==E&&(b.c[b.c.length]=i);return b},F(xW,"AspectRatioFilter",639),N(637,1,{526:1},uC),u.mg=function(t,n,r){var i,a,h,d,b,E;for(E=new yt,h=Oa,b=new M(t);b.a<b.c.c.length;)d=l(se(b),220),h=v.Math.max(h,B5e(d.c+(r.b+r.c),d.b+(r.d+r.a),d.a));for(a=new M(t);a.a<a.c.c.length;)i=l(se(a),220),B5e(i.c+(r.b+r.c),i.b+(r.d+r.a),i.a)==h&&(E.c[E.c.length]=i);return E},F(xW,"ScaleMeasureFilter",637),N(381,22,{3:1,35:1,22:1,381:1},Gae);var MOe,LOe,Gge,IOe=_i(Ide,"OptimizationGoal",381,Si,Ufn,wcn),Wkt;N(856,1,Id,KH),u.Qe=function(t){yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,zTe),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),OOe),(Bm(),wa)),IOe),kn((K1(),mo))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,VTe),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(er(),!0)),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,qTe),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,UTe),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),St(-1)),Xl),hc),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,GTe),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,WTe),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Ode),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),tc),Ya),kn(mo)))),Co(t,Ode,kW,null),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,KTe),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),fl),Mo),kn(mo)))),qmt((new B7,t))};var Kkt,Ykt,Xkt,Qkt,Zkt,Jkt,OOe,e8t,t8t;F(Ide,"RectPackingMetaDataProvider",856),N(1004,1,Id,B7),u.Qe=function(t){qmt(t)};var n8t,r8t,DOe,kB,POe,NOe,ROe,i8t,BOe,s8t,a8t,o8t,c8t,FOe,jOe,$Oe,l8t,HOe,u8t,zOe,h8t,VOe;F(Ide,"RectPackingOptions",1004),N(1005,1,{},pre),u.$e=function(){var t;return t=new dre,t},u._e=function(t){},F(Ide,"RectPackingOptions/RectpackingFactory",1005),N(1257,1,{},jst),u.a=0,u.b=!1,u.c=0,u.d=0,u.e=!1,u.f=!1,u.g=0,F("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),N(187,1,{187:1},Ale),u.a=0,u.c=!1,u.d=0,u.e=0,u.f=0,u.g=0,u.i=0,u.k=!1,u.o=ma,u.p=ma,u.r=0,u.s=0,u.t=0,F(PR,"Block",187),N(211,1,{211:1},_q),u.a=0,u.b=0,u.d=0,u.e=0,u.f=0,F(PR,"BlockRow",211),N(443,1,{443:1},L6e),u.b=0,u.c=0,u.d=0,u.e=0,u.f=0,F(PR,"BlockStack",443),N(220,1,{220:1},Ioe,ike),u.a=0,u.b=0,u.c=0,u.d=0,u.e=0;var pSn=F(PR,"DrawingData",220);N(355,22,{3:1,35:1,22:1,355:1},hP);var T8,N_,iI,sI,aI,f8t=_i(PR,"DrawingDataDescriptor",355,Si,_1n,ycn),d8t;N(200,1,{200:1},$6e),u.b=0,u.c=0,u.e=0,u.f=0,F(PR,"RectRow",200),N(756,1,{},Nxe),u.j=0,F(Q4,lbt,756),N(1245,1,{},mre),u.Je=function(t){return Wv(t.a,t.b)},F(Q4,ubt,1245),N(1246,1,{},$We),u.Je=function(t){return A1n(this.a,t)},F(Q4,hbt,1246),N(1247,1,{},HWe),u.Je=function(t){return Nbn(this.a,t)},F(Q4,fbt,1247),N(1248,1,{},zWe),u.Je=function(t){return Ipn(this.a,t)},F(Q4,"ElkGraphImporter/lambda$3$Type",1248),N(1249,1,{},VWe),u.Je=function(t){return p5n(this.a,t)},F(Q4,dbt,1249),N(1133,209,P2,DXe),u.Ze=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z;for(g2(t,(zN(),HY))&&(Z=wi(nn(t,(mue(),uDe))),h=fhe(HE(),Z),h&&(d=l(vce(h.f),209),d.Ze(t,Eu(n,1)))),Uc(t,Jge,(XP(),$Y)),Uc(t,epe,(VN(),Zge)),Uc(t,tpe,(wN(),zY)),b=l(nn(t,(mue(),oDe)),19).a,Zr(n,"Overlap removal",1),Zt(Xt(nn(t,D8t))),E=new Ja,C=new qWe(E),i=new Nxe,r=Umt(i,t),P=!0,a=0;a<b&&P;){if(Zt(Xt(nn(t,cDe)))){if(E.a.$b(),f4n(new IJe(C),r.i),E.a.gc()==0)break;r.e=E}for(Cq(this.b),Yg(this.b,(MN(),BY),(aA(),EB)),Yg(this.b,FY,r.g),Yg(this.b,jY,($z(),Yge)),this.a=DG(this.b,r),K=new M(this.a);K.a<K.c.c.length;)$=l(se(K),51),$.pf(r,Eu(n,1));Mwn(i,r),P=Zt(Xt(re(r,(qE(),ZCe)))),++a}amt(i,r),Br(n)},F(Q4,"OverlapRemovalLayoutProvider",1133),N(1134,1,{},qWe),F(Q4,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),N(437,22,{3:1,35:1,22:1,437:1},Wae);var BY,FY,jY,Wge=_i(Q4,"SPOrEPhases",437,Si,Wfn,_cn),g8t;N(1255,1,{},PXe),F(Q4,"ShrinkTree",1255),N(1135,209,P2,jYe),u.Ze=function(t,n){var r,i,a,h,d;g2(t,(zN(),HY))&&(d=wi(nn(t,HY)),a=fhe(HE(),d),a&&(h=l(vce(a.f),209),h.Ze(t,Eu(n,1)))),i=new Nxe,r=Umt(i,t),Z6n(this.a,r,Eu(n,1)),amt(i,r)},F(Q4,"ShrinkTreeLayoutProvider",1135),N(300,134,{3:1,300:1,94:1,134:1},pit),u.c=!1,F("org.eclipse.elk.alg.spore.graph","Graph",300),N(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},LQe),u.Kf=function(){return but(this)},u.Xf=function(){return but(this)};var Kge,qOe=_i(Z4,KEe,482,Si,ihn,xcn),p8t;N(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},Oet),u.Kf=function(){return new tH},u.Xf=function(){return new tH};var Yge,m8t=_i(Z4,"OverlapRemovalStrategy",551,Si,shn,kcn),v8t;N(430,22,{3:1,35:1,22:1,430:1},$3e);var $Y,Xge,UOe=_i(Z4,"RootSelection",430,Si,Qhn,Ecn),b8t;N(316,22,{3:1,35:1,22:1,316:1},fP);var GOe,Qge,Zge,WOe,KOe,YOe=_i(Z4,"SpanningTreeCostFunction",316,Si,b1n,Tcn),w8t;N(1002,1,Id,UH),u.Qe=function(t){Rpt(t)};var XOe,QOe,y8t,_8t,ZOe,JOe,Jge,epe,tpe,x8t,k8t,HY;F(Z4,"SporeCompactionOptions",1002),N(1003,1,{},yD),u.$e=function(){var t;return t=new jYe,t},u._e=function(t){},F(Z4,"SporeCompactionOptions/SporeCompactionFactory",1003),N(855,1,Id,GH),u.Qe=function(t){yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,Dde),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(Bm(),ET)),jt),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Rde),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),sDe),wa),hDe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,YTe),Bde),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),rDe),wa),dDe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,XTe),Bde),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),nDe),wa),YOe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Pde),Bde),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),ET),jt),kn(hr)))),Co(t,Pde,Nde,M8t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Nde),Bde),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),tDe),wa),UOe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,QTe),U9e),"Compaction Strategy"),"This option defines how the compaction is applied."),eDe),wa),qOe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ZTe),U9e),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(er(),!1)),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,JTe),Ybt),"Upper limit for iterations of overlap removal"),null),St(64)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,eSe),Ybt),"Whether to run a supplementary scanline overlap check."),null),!0),tc),Ya),kn(hr)))),zgt((new WH,t)),Rpt((new UH,t))};var E8t,eDe,T8t,S8t,C8t,A8t,M8t,L8t,tDe,I8t,nDe,O8t,rDe,iDe,sDe,aDe;F(Z4,"SporeMetaDataProvider",855),N(Fm,1,Id,WH),u.Qe=function(t){zgt(t)};var D8t,oDe,cDe,lDe,P8t,uDe;F(Z4,"SporeOverlapRemovalOptions",Fm),N(1001,1,{},vre),u.$e=function(){var t;return t=new DXe,t},u._e=function(t){},F(Z4,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),N(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},xrt),u.Kf=function(){return wut(this)},u.Xf=function(){return wut(this)};var EB,hDe=_i(Z4,"StructureExtractionStrategy",530,Si,ahn,Scn),N8t;N(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},H3e),u.Kf=function(){return ght(this)},u.Xf=function(){return ght(this)};var fDe,zY,dDe=_i(Z4,"TreeConstructionStrategy",429,Si,Xhn,Ccn),R8t;N(1443,1,Cu,bre),u.Yf=function(t){return l(t,300),new eo},u.pf=function(t,n){jwn(l(t,300),n)},F(Xbt,"DelaunayTriangulationPhase",1443),N(1444,1,vr,UWe),u.td=function(t){wt(this.a,l(t,65).a)},F(Xbt,"DelaunayTriangulationPhase/lambda$0$Type",1444),N(783,1,Cu,jye),u.Yf=function(t){return l(t,300),new eo},u.pf=function(t,n){this.ng(l(t,300),n)},u.ng=function(t,n){var r,i,a;Zr(n,"Minimum spanning tree construction",1),t.d?i=t.d.a:i=l(Kt(t.i,0),65).a,Zt(Xt(re(t,(qE(),SL))))?a=Ohe(t.e,i,(r=t.b,r)):a=Ohe(t.e,i,t.b),eut(this,a,t),Br(n)},F(Fde,"MinSTPhase",783),N(1446,783,Cu,kYe),u.ng=function(t,n){var r,i,a,h;Zr(n,"Maximum spanning tree construction",1),r=new GWe(t),t.d?a=t.d.c:a=l(Kt(t.i,0),65).c,Zt(Xt(re(t,(qE(),SL))))?h=Ohe(t.e,a,(i=r,i)):h=Ohe(t.e,a,r),eut(this,h,t),Br(n)},F(Fde,"MaxSTPhase",1446),N(1447,1,{},GWe),u.Je=function(t){return Min(this.a,t)},F(Fde,"MaxSTPhase/lambda$0$Type",1447),N(1445,1,vr,WWe),u.td=function(t){ysn(this.a,l(t,65))},F(Fde,"MinSTPhase/lambda$0$Type",1445),N(785,1,Cu,tH),u.Yf=function(t){return l(t,300),new eo},u.pf=function(t,n){Zyn(this,l(t,300),n)},u.a=!1,F(jde,"GrowTreePhase",785),N(786,1,vr,p5e),u.td=function(t){ppn(this.a,this.b,this.c,l(t,221))},F(jde,"GrowTreePhase/lambda$0$Type",786),N(1448,1,Cu,wre),u.Yf=function(t){return l(t,300),new eo},u.pf=function(t,n){o2n(this,l(t,300),n)},F(jde,"ShrinkTreeCompactionPhase",1448),N(784,1,vr,m5e),u.td=function(t){j5n(this.a,this.b,this.c,l(t,221))},F(jde,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var gDe=na(su,"IGraphElementVisitor");N(860,1,{527:1},ust),u.og=function(t){var n;n=Uxn(this,t),ll(n,l(Tr(this.b,t),94)),V6n(this,t,n)};var B8t,F8t;F(a_,"LayoutConfigurator",860);var mSn=na(a_,"LayoutConfigurator/IPropertyHolderOptionFilter");N(932,1,{1933:1},yre),u.pg=function(t,n){return Fk(),!t.Xe(n)},F(a_,"LayoutConfigurator/lambda$0$Type",932),N(933,1,{1933:1},_re),u.pg=function(t,n){return MXe(t,n)},F(a_,"LayoutConfigurator/lambda$1$Type",933),N(931,1,{831:1},xre),u.qg=function(t,n){return Fk(),!t.Xe(n)},F(a_,"LayoutConfigurator/lambda$2$Type",931),N(934,1,Xi,dZe),u.Mb=function(t){return Uun(this.a,this.b,l(t,1933))},F(a_,"LayoutConfigurator/lambda$3$Type",934),N(858,1,{},kre),F(a_,"RecursiveGraphLayoutEngine",858),N(296,60,Wp,JKe,p6),F(a_,"UnsupportedConfigurationException",296),N(453,60,Wp,JC),F(a_,"UnsupportedGraphException",453),N(754,1,{}),F(su,"AbstractRandomListAccessor",754),N(500,754,{},ZN),u.rg=function(){return null},u.d=!0,u.e=!0,u.f=0,F(H9,"AlgorithmAssembler",500),N(1236,1,Xi,Ere),u.Mb=function(t){return!!l(t,123)},F(H9,"AlgorithmAssembler/lambda$0$Type",1236),N(1237,1,{},KWe),u.Kb=function(t){return Krn(this.a,l(t,123))},F(H9,"AlgorithmAssembler/lambda$1$Type",1237),N(1238,1,Xi,Tre),u.Mb=function(t){return!!l(t,80)},F(H9,"AlgorithmAssembler/lambda$2$Type",1238),N(1239,1,vr,YWe),u.td=function(t){Nf(this.a,l(t,80))},F(H9,"AlgorithmAssembler/lambda$3$Type",1239),N(1240,1,vr,gZe),u.td=function(t){oan(this.a,this.b,l(t,234))},F(H9,"AlgorithmAssembler/lambda$4$Type",1240),N(1355,1,As,Sre),u.ue=function(t,n){return _hn(l(t,234),l(n,234))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(H9,"EnumBasedFactoryComparator",1355),N(80,754,{80:1},eo),u.rg=function(){return new Ja},u.a=0,F(H9,"LayoutProcessorConfiguration",80),N(1013,1,{527:1},PD),u.og=function(t){lM($8t,new XWe(t))};var j8t,$8t,H8t;F(Ol,"DeprecatedLayoutOptionReplacer",1013),N(1014,1,vr,Cre),u.td=function(t){u0n(l(t,160))},F(Ol,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),N(1015,1,vr,Are),u.td=function(t){Dvn(l(t,160))},F(Ol,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),N(1016,1,{},XWe),u.Od=function(t,n){can(this.a,l(t,146),l(n,38))},F(Ol,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),N(149,1,{686:1,149:1},M2),u.Fb=function(t){return n_e(this,t)},u.sg=function(){return this.b},u.tg=function(){return this.c},u.ne=function(){return this.e},u.Hb=function(){return Nm(this.c)},u.Ib=function(){return"Layout Algorithm: "+this.c};var vSn=F(Ol,"LayoutAlgorithmData",149);N(263,1,{},dm),F(Ol,"LayoutAlgorithmData/Builder",263),N(1017,1,{527:1},Mre),u.og=function(t){Le(t,239)&&!Zt(Xt(t.We((Yi(),YY))))&&A8n(l(t,33))},F(Ol,"LayoutAlgorithmResolver",1017),N(229,1,{686:1,229:1},Ak),u.Fb=function(t){return Le(t,229)?Tn(this.b,l(t,229).b):!1},u.sg=function(){return this.a},u.tg=function(){return this.b},u.ne=function(){return this.d},u.Hb=function(){return Nm(this.b)},u.Ib=function(){return"Layout Type: "+this.b},F(Ol,"LayoutCategoryData",229),N(344,1,{},q3),F(Ol,"LayoutCategoryData/Builder",344),N(867,1,{},Igt);var npe;F(Ol,"LayoutMetaDataService",867),N(868,1,{},crt),F(Ol,"LayoutMetaDataService/Registry",868),N(478,1,{478:1},nH),F(Ol,"LayoutMetaDataService/Registry/Triple",478),N(869,1,h_,Lre),u.ug=function(){return new Qo},F(Ol,"LayoutMetaDataService/lambda$0$Type",869),N(870,1,J4,Ire),u.vg=function(t){return Fl(l(t,8))},F(Ol,"LayoutMetaDataService/lambda$1$Type",870),N(879,1,h_,Ore),u.ug=function(){return new yt},F(Ol,"LayoutMetaDataService/lambda$10$Type",879),N(880,1,J4,Dre),u.vg=function(t){return new Ah(l(t,12))},F(Ol,"LayoutMetaDataService/lambda$11$Type",880),N(881,1,h_,Pre),u.ug=function(){return new sa},F(Ol,"LayoutMetaDataService/lambda$12$Type",881),N(882,1,J4,Nre),u.vg=function(t){return IP(l(t,68))},F(Ol,"LayoutMetaDataService/lambda$13$Type",882),N(883,1,h_,Rre),u.ug=function(){return new Ja},F(Ol,"LayoutMetaDataService/lambda$14$Type",883),N(884,1,J4,Bre),u.vg=function(t){return gq(l(t,53))},F(Ol,"LayoutMetaDataService/lambda$15$Type",884),N(885,1,h_,Fre),u.ug=function(){return new Mp},F(Ol,"LayoutMetaDataService/lambda$16$Type",885),N(886,1,J4,uu),u.vg=function(t){return Oq(l(t,53))},F(Ol,"LayoutMetaDataService/lambda$17$Type",886),N(887,1,h_,jre),u.ug=function(){return new Tye},F(Ol,"LayoutMetaDataService/lambda$18$Type",887),N(888,1,J4,hC),u.vg=function(t){return Rtt(l(t,208))},F(Ol,"LayoutMetaDataService/lambda$19$Type",888),N(871,1,h_,Rl),u.ug=function(){return new Th},F(Ol,"LayoutMetaDataService/lambda$2$Type",871),N(872,1,J4,Pu),u.vg=function(t){return new Mz(l(t,74))},F(Ol,"LayoutMetaDataService/lambda$3$Type",872),N(873,1,h_,Us),u.ug=function(){return new WC},F(Ol,"LayoutMetaDataService/lambda$4$Type",873),N(874,1,J4,_D),u.vg=function(t){return new Toe(l(t,142))},F(Ol,"LayoutMetaDataService/lambda$5$Type",874),N(875,1,h_,Hre),u.ug=function(){return new sk},F(Ol,"LayoutMetaDataService/lambda$6$Type",875),N(876,1,J4,zre),u.vg=function(t){return new u5e(l(t,116))},F(Ol,"LayoutMetaDataService/lambda$7$Type",876),N(877,1,h_,jx),u.ug=function(){return new zh},F(Ol,"LayoutMetaDataService/lambda$8$Type",877),N(878,1,J4,U3),u.vg=function(t){return new Yot(l(t,373))},F(Ol,"LayoutMetaDataService/lambda$9$Type",878);var rpe=na(xR,"IProperty");N(23,1,{35:1,686:1,23:1,146:1},un),u.wd=function(t){return Dsn(this,l(t,146))},u.Fb=function(t){return Le(t,23)?Tn(this.f,l(t,23).f):Le(t,146)&&Tn(this.f,l(t,146).tg())},u.wg=function(){var t;if(Le(this.b,4)){if(t=_ke(this.b),t==null)throw ue(new pl(Jbt+this.f+"'. Make sure it's type is registered with the "+(Lp(KB),KB.k)+tSe));return t}else return this.b},u.sg=function(){return this.d},u.tg=function(){return this.f},u.ne=function(){return this.i},u.Hb=function(){return Nm(this.f)},u.Ib=function(){return"Layout Option: "+this.f},F(Ol,"LayoutOptionData",23),N(24,1,{},an),F(Ol,"LayoutOptionData/Builder",24),N(175,22,{3:1,35:1,22:1,175:1},dP);var Og,Km,mo,hr,Q2,Ym=_i(Ol,"LayoutOptionData/Target",175,Si,v1n,Acn),z8t;N(277,22,{3:1,35:1,22:1,277:1},dk);var tc,fl,wa,S8,Xl,z0,ET,pDe,V8t=_i(Ol,"LayoutOptionData/Type",277,Si,K0n,Mcn),q8t,oI,mDe;N(110,1,{110:1},pk,td,mq),u.Fb=function(t){var n;return t==null||!Le(t,110)?!1:(n=l(t,110),_u(this.c,n.c)&&_u(this.d,n.d)&&_u(this.b,n.b)&&_u(this.a,n.a))},u.Hb=function(){return SU(pe(de(xr,1),Ht,1,5,[this.c,this.d,this.b,this.a]))},u.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},u.a=0,u.b=0,u.c=0,u.d=0,F(CR,"ElkRectangle",110),N(8,1,{3:1,4:1,8:1,414:1},Qo,kce,en,Zc),u.Fb=function(t){return ilt(this,t)},u.Hb=function(){return oE(this.a)+P2n(oE(this.b))},u.Jf=function(t){var n,r,i,a;for(i=0;i<t.length&&Fut((yi(i,t.length),t.charCodeAt(i)),ibt);)++i;for(n=t.length;n>0&&Fut((yi(n-1,t.length),t.charCodeAt(n-1)),sbt);)--n;if(i>=n)throw ue(new Jn("The given string does not contain any numbers."));if(a=H4(t.substr(i,n-i),`,|;|\r|
`),a.length!=2)throw ue(new Jn("Exactly two numbers are expected, "+a.length+" were found."));try{this.a=R4(N4(a[0])),this.b=R4(N4(a[1]))}catch(h){throw h=ea(h),Le(h,127)?(r=h,ue(new Jn(abt+r))):ue(h)}},u.Ib=function(){return"("+this.a+","+this.b+")"},u.a=0,u.b=0;var ao=F(CR,"KVector",8);N(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Th,Mz,_et),u.Pc=function(){return Jpn(this)},u.Jf=function(t){var n,r,i,a,h,d;i=H4(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),Sd(this);try{for(r=0,h=0,a=0,d=0;r<i.length;)i[r]!=null&&N4(i[r]).length>0&&(h%2==0?a=R4(i[r]):d=R4(i[r]),h>0&&h%2!=0&&zi(this,new en(a,d)),++h),++r}catch(b){throw b=ea(b),Le(b,127)?(n=b,ue(new Jn("The given string does not match the expected format for vectors."+n))):ue(b)}},u.Ib=function(){var t,n,r;for(t=new Af("("),n=$i(this,0);n.b!=n.d.c;)r=l(ji(n),8),Mi(t,r.a+","+r.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var vDe=F(CR,"KVectorChain",74);N(248,22,{3:1,35:1,22:1,248:1},bA);var ipe,VY,qY,TB,SB,UY,bDe=_i(Dd,"Alignment",248,Si,W1n,Lcn),U8t;N(979,1,Id,lse),u.Qe=function(t){npt(t)};var wDe,spe,G8t,yDe,_De,W8t,xDe,K8t,Y8t,kDe,EDe,X8t;F(Dd,"BoxLayouterOptions",979),N(980,1,{},$re),u.$e=function(){var t;return t=new Gre,t},u._e=function(t){},F(Dd,"BoxLayouterOptions/BoxFactory",980),N(291,22,{3:1,35:1,22:1,291:1},wA);var CB,ape,AB,MB,LB,ope,cpe=_i(Dd,"ContentAlignment",291,Si,G1n,Icn),Q8t;N(684,1,Id,Ev),u.Qe=function(t){yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,t2t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Bm(),ET)),jt),kn((K1(),hr))))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,n2t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),z0),vSn),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,lTe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),TDe),wa),bDe),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,r8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,rSe),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),z0),vDe),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,vW),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),CDe),S8),cpe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,DR),""),"Debug Mode"),"Whether additional debug information shall be generated."),(er(),!1)),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,fTe),""),GEe),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),ADe),wa),uI),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,IR),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),IDe),wa),_pe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,kW),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,mW),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),NDe),wa),yPe),zs(hr,pe(de(Ym,1),vt,175,0,[mo]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Ny),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),UDe),z0),SAe),zs(hr,pe(de(Ym,1),vt,175,0,[mo]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,TR),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,xde),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,JM),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Hfe),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),XDe),wa),kPe),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,bW),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),z0),ao),zs(mo,pe(de(Ym,1),vt,175,0,[Q2,Km]))))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,ER),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Xl),hc),zs(mo,pe(de(Ym,1),vt,175,0,[Og]))))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,ZG),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,ZM),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,_Te),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),BDe),z0),vDe),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ETe),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,TTe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,UTn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),z0),xSn),zs(hr,pe(de(Ym,1),vt,175,0,[Km]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,CTe),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),FDe),z0),TAe),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,oTe),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),tc),Ya),zs(mo,pe(de(Ym,1),vt,175,0,[Og,Q2,Km]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,r2t),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),fl),Mo),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,i2t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,s2t),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),St(100)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,a2t),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,o2t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),St(4e3)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,c2t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),St(400)),Xl),hc),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,l2t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,u2t),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,h2t),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,f2t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,nSe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),SDe),wa),MPe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Y9e),R0),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,X9e),R0),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Nfe),R0),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Q9e),R0),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,$fe),R0),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Z9e),R0),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,J9e),R0),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,nTe),R0),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,eTe),R0),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,tTe),R0),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,K4),R0),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,rTe),R0),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),fl),Mo),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,iTe),R0),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),fl),Mo),zs(hr,pe(de(Ym,1),vt,175,0,[mo]))))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,sTe),R0),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),z0),O7t),zs(mo,pe(de(Ym,1),vt,175,0,[Og,Q2,Km]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,ATe),R0),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),aPe),z0),TAe),kn(hr)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,_de),p2t),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Xl),hc),zs(hr,pe(de(Ym,1),vt,175,0,[mo]))))),Co(t,_de,yde,s7t),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,yde),p2t),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),GDe),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,dTe),m2t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),$De),z0),SAe),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,F9),m2t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),HDe),S8),Bc),zs(mo,pe(de(Ym,1),vt,175,0,[Km]))))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,mTe),TW),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),KDe),wa),gI),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,vTe),TW),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),wa),gI),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,bTe),TW),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),wa),gI),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,wTe),TW),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),wa),gI),kn(mo)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,yTe),TW),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),wa),gI),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,c_),Hde),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),zDe),S8),vI),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,i8),Hde),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),qDe),S8),TPe),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,s8),Hde),"Node Size Minimum"),"The minimal size to which a node can be reduced."),VDe),z0),ao),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,wde),Hde),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),tc),Ya),kn(hr)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,xTe),bde),"Edge Label Placement"),"Gives a hint on where to put edge labels."),MDe),wa),cPe),kn(Km)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,JG),bde),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),tc),Ya),kn(Km)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,GTn),"font"),"Font Name"),"Font name used for a label."),ET),jt),kn(Km)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,d2t),"font"),"Font Size"),"Font size used for a label."),Xl),hc),kn(Km)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,STe),zde),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),z0),ao),kn(Q2)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,kTe),zde),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Xl),hc),kn(Q2)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,cTe),zde),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),JDe),wa),yc),kn(Q2)))),yn(t,new un(bn(vn(wn(dn(mn(gn(pn(new an,aTe),zde),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),fl),Mo),kn(Q2)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,j9),iSe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),QDe),S8),JY),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,gTe),iSe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,pTe),iSe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,uTe),v2t),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),tc),Ya),kn(mo)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,hTe),v2t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),tc),Ya),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,Rfe),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),fl),Mo),kn(Og)))),yn(t,new un(bn(vn(wn(Bn(dn(mn(gn(pn(new an,g2t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),DDe),wa),gPe),kn(Og)))),oA(t,new Ak(tA(J7(Z7(new q3,mr),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),oA(t,new Ak(tA(J7(Z7(new q3,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),oA(t,new Ak(tA(J7(Z7(new q3,jf),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),oA(t,new Ak(tA(J7(Z7(new q3,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),oA(t,new Ak(tA(J7(Z7(new q3,Hbt),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),oA(t,new Ak(tA(J7(Z7(new q3,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),oA(t,new Ak(tA(J7(Z7(new q3,Tg),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Hgt((new YH,t)),npt((new lse,t)),vgt((new XH,t))};var cI,Z8t,TDe,C8,J8t,e7t,SDe,t7t,GY,CDe,IB,n3,ADe,lpe,upe,MDe,LDe,IDe,ODe,DDe,PDe,R_,NDe,n7t,OB,hpe,WY,RDe,B_,BDe,DB,FDe,jDe,$De,F_,HDe,Z2,zDe,KY,j_,VDe,_b,qDe,YY,PB,J2,UDe,r7t,GDe,i7t,s7t,WDe,KDe,fpe,dpe,gpe,ppe,YDe,cf,lI,XDe,mpe,vpe,y5,QDe,ZDe,$_,JDe,A8,XY,bpe,TT,a7t,wpe,o7t,c7t,ePe,l7t,tPe,u7t,M8,nPe,QY,rPe,iPe,ew,h7t,sPe,aPe,oPe;F(Dd,"CoreOptions",684),N(103,22,{3:1,35:1,22:1,103:1},gP);var Zp,jd,x1,hp,Jp,uI=_i(Dd,GEe,103,Si,p1n,Pcn),f7t;N(272,22,{3:1,35:1,22:1,272:1},Kae);var ST,_5,CT,cPe=_i(Dd,"EdgeLabelPlacement",272,Si,Yfn,Ncn),d7t;N(218,22,{3:1,35:1,22:1,218:1},rV);var AT,NB,L8,ype,_pe=_i(Dd,"EdgeRouting",218,Si,Hdn,Rcn),g7t;N(312,22,{3:1,35:1,22:1,312:1},yA);var lPe,uPe,hPe,fPe,xpe,dPe,gPe=_i(Dd,"EdgeType",312,Si,t0n,Bcn),p7t;N(977,1,Id,YH),u.Qe=function(t){Hgt(t)};var pPe,mPe,vPe,bPe,m7t,wPe,hI;F(Dd,"FixedLayouterOptions",977),N(978,1,{},xD),u.$e=function(){var t;return t=new qre,t},u._e=function(t){},F(Dd,"FixedLayouterOptions/FixedFactory",978),N(334,22,{3:1,35:1,22:1,334:1},Yae);var Xm,ZY,fI,yPe=_i(Dd,"HierarchyHandling",334,Si,Kfn,Fcn),v7t;N(285,22,{3:1,35:1,22:1,285:1},iV);var fp,xb,RB,BB,b7t=_i(Dd,"LabelSide",285,Si,$dn,jcn),w7t;N(93,22,{3:1,35:1,22:1,93:1},w6);var em,k1,$d,E1,Vf,T1,Hd,dp,S1,Bc=_i(Dd,"NodeLabelPlacement",93,Si,ign,$cn),y7t;N(249,22,{3:1,35:1,22:1,249:1},pP);var _Pe,dI,kb,xPe,FB,gI=_i(Dd,"PortAlignment",249,Si,m1n,Hcn),_7t;N(98,22,{3:1,35:1,22:1,98:1},_A);var tw,Iu,gp,MT,V0,Eb,kPe=_i(Dd,"PortConstraints",98,Si,F1n,zcn),x7t;N(273,22,{3:1,35:1,22:1,273:1},xA);var pI,mI,tm,jB,Tb,I8,JY=_i(Dd,"PortLabelPlacement",273,Si,e0n,Vcn),k7t;N(61,22,{3:1,35:1,22:1,61:1},mP);var fr,Qn,gd,pd,bh,Xu,q0,C1,Yh,Nh,Ou,Xh,wh,yh,A1,qf,Uf,zd,Jr,Dl,nr,yc=_i(Dd,"PortSide",61,Si,f1n,Gcn),E7t;N(981,1,Id,XH),u.Qe=function(t){vgt(t)};var T7t,S7t,EPe,C7t,A7t;F(Dd,"RandomLayouterOptions",981),N(982,1,{},Xre),u.$e=function(){var t;return t=new Zre,t},u._e=function(t){},F(Dd,"RandomLayouterOptions/RandomFactory",982),N(374,22,{3:1,35:1,22:1,374:1},sV);var x5,$B,HB,nw,vI=_i(Dd,"SizeConstraint",374,Si,jdn,qcn),M7t;N(259,22,{3:1,35:1,22:1,259:1},y6);var zB,eX,LT,kpe,VB,bI,tX,nX,rX,TPe=_i(Dd,"SizeOptions",259,Si,hgn,Ucn),L7t;N(370,1,{1949:1},Y7),u.b=!1,u.c=0,u.d=-1,u.e=null,u.f=null,u.g=-1,u.j=!1,u.k=!1,u.n=!1,u.o=0,u.q=0,u.r=0,F(su,"BasicProgressMonitor",370),N(972,209,P2,Gre),u.Ze=function(t,n){var r,i,a,h,d,b,E,C,P;switch(Zr(n,"Box layout",2),a=YD(Lt(nn(t,(uG(),X8t)))),h=l(nn(t,Y8t),116),r=Zt(Xt(nn(t,yDe))),i=Zt(Xt(nn(t,_De))),l(nn(t,spe),311).g){case 0:d=(b=new Ah((!t.a&&(t.a=new _t(fa,t,10,11)),t.a)),In(),fo(b,new QWe(i)),b),E=j8e(t),C=Lt(nn(t,wDe)),(C==null||(Xn(C),C<=0))&&(C=1.3),P=X9n(d,a,h,E.a,E.b,r,(Xn(C),C)),Iy(t,P.a,P.b,!1,!0);break;default:G7n(t,a,h,r)}Br(n)},F(su,"BoxLayoutProvider",972),N(973,1,As,QWe),u.ue=function(t,n){return g_n(this,l(t,33),l(n,33))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},u.a=!1,F(su,"BoxLayoutProvider/1",973),N(157,1,{157:1},tU,yet),u.Ib=function(){return this.c?F7e(this.c):tb(this.b)},F(su,"BoxLayoutProvider/Group",157),N(311,22,{3:1,35:1,22:1,311:1},aV);var SPe,CPe,APe,Epe,MPe=_i(su,"BoxLayoutProvider/PackingMode",311,Si,zdn,Wcn),I7t;N(974,1,As,Wre),u.ue=function(t,n){return vhn(l(t,157),l(n,157))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(su,"BoxLayoutProvider/lambda$0$Type",974),N(975,1,As,rH),u.ue=function(t,n){return uhn(l(t,157),l(n,157))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(su,"BoxLayoutProvider/lambda$1$Type",975),N(976,1,As,Kre),u.ue=function(t,n){return hhn(l(t,157),l(n,157))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(su,"BoxLayoutProvider/lambda$2$Type",976),N(1365,1,{831:1},Yre),u.qg=function(t,n){return Hz(),!Le(n,160)||MXe((Fk(),l(t,160)),n)},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),N(1366,1,vr,ZWe),u.td=function(t){tmn(this.a,l(t,146))},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),N(1367,1,vr,Ure),u.td=function(t){l(t,94),Hz()},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),N(1371,1,vr,JWe),u.td=function(t){Sgn(this.a,l(t,94))},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),N(1369,1,Xi,pZe),u.Mb=function(t){return Hpn(this.a,this.b,l(t,146))},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),N(1368,1,Xi,mZe),u.Mb=function(t){return ian(this.a,this.b,l(t,831))},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),N(1370,1,vr,vZe),u.td=function(t){iun(this.a,this.b,l(t,146))},F(su,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),N(935,1,{},Vre),u.Kb=function(t){return vJe(t)},u.Fb=function(t){return this===t},F(su,"ElkUtil/lambda$0$Type",935),N(936,1,vr,bZe),u.td=function(t){m5n(this.a,this.b,l(t,79))},u.a=0,u.b=0,F(su,"ElkUtil/lambda$1$Type",936),N(937,1,vr,wZe),u.td=function(t){mrn(this.a,this.b,l(t,202))},u.a=0,u.b=0,F(su,"ElkUtil/lambda$2$Type",937),N(938,1,vr,yZe),u.td=function(t){osn(this.a,this.b,l(t,137))},u.a=0,u.b=0,F(su,"ElkUtil/lambda$3$Type",938),N(939,1,vr,eKe),u.td=function(t){yln(this.a,l(t,469))},F(su,"ElkUtil/lambda$4$Type",939),N(342,1,{35:1,342:1},Gnn),u.wd=function(t){return Nsn(this,l(t,236))},u.Fb=function(t){var n;return Le(t,342)?(n=l(t,342),this.a==n.a):!1},u.Hb=function(){return Sa(this.a)},u.Ib=function(){return this.a+" (exclusive)"},u.a=0,F(su,"ExclusiveBounds/ExclusiveLowerBound",342),N(1138,209,P2,qre),u.Ze=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je,Pe,We,at,bt,Bt,on,hn;for(Zr(n,"Fixed Layout",1),h=l(nn(t,(Yi(),LDe)),218),$=0,K=0,Pe=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));Pe.e!=Pe.i.gc();){for(ye=l(Ur(Pe),33),hn=l(nn(ye,(TU(),hI)),8),hn&&(w0(ye,hn.a,hn.b),l(nn(ye,mPe),174).Hc((xf(),x5))&&(Z=l(nn(ye,bPe),8),Z.a>0&&Z.b>0&&Iy(ye,Z.a,Z.b,!0,!0))),$=v.Math.max($,ye.i+ye.g),K=v.Math.max(K,ye.j+ye.f),C=new Ir((!ye.n&&(ye.n=new _t(_l,ye,1,7)),ye.n));C.e!=C.i.gc();)b=l(Ur(C),137),hn=l(nn(b,hI),8),hn&&w0(b,hn.a,hn.b),$=v.Math.max($,ye.i+b.i+b.g),K=v.Math.max(K,ye.j+b.j+b.f);for(bt=new Ir((!ye.c&&(ye.c=new _t(lf,ye,9,9)),ye.c));bt.e!=bt.i.gc();)for(at=l(Ur(bt),118),hn=l(nn(at,hI),8),hn&&w0(at,hn.a,hn.b),Bt=ye.i+at.i,on=ye.j+at.j,$=v.Math.max($,Bt+at.g),K=v.Math.max(K,on+at.f),E=new Ir((!at.n&&(at.n=new _t(_l,at,1,7)),at.n));E.e!=E.i.gc();)b=l(Ur(E),137),hn=l(nn(b,hI),8),hn&&w0(b,hn.a,hn.b),$=v.Math.max($,Bt+b.i+b.g),K=v.Math.max(K,on+b.j+b.f);for(a=new Rr(zr(Up(ye).a.Kc(),new J));Ei(a);)r=l(hi(a),79),P=Omt(r),$=v.Math.max($,P.a),K=v.Math.max(K,P.b);for(i=new Rr(zr(QN(ye).a.Kc(),new J));Ei(i);)r=l(hi(i),79),ua(tp(r))!=t&&(P=Omt(r),$=v.Math.max($,P.a),K=v.Math.max(K,P.b))}if(h==(Vp(),AT))for(je=new Ir((!t.a&&(t.a=new _t(fa,t,10,11)),t.a));je.e!=je.i.gc();)for(ye=l(Ur(je),33),i=new Rr(zr(Up(ye).a.Kc(),new J));Ei(i);)r=l(hi(i),79),d=d8n(r),d.b==0?Uc(r,B_,null):Uc(r,B_,d);Zt(Xt(nn(t,(TU(),vPe))))||(We=l(nn(t,m7t),116),oe=$+We.b+We.c,te=K+We.d+We.a,Iy(t,oe,te,!0,!0)),Br(n)},F(su,"FixedLayoutProvider",1138),N(373,134,{3:1,414:1,373:1,94:1,134:1},zh,Yot),u.Jf=function(t){var n,r,i,a,h,d,b,E,C;if(t)try{for(E=H4(t,";,;"),h=E,d=0,b=h.length;d<b;++d){if(a=h[d],r=H4(a,"\\:"),i=hEe(HE(),r[0]),!i)throw ue(new Jn("Invalid option id: "+r[0]));if(C=lEe(i,r[1]),C==null)throw ue(new Jn("Invalid option value: "+r[1]));C==null?(!this.q&&(this.q=new si),Dk(this.q,i)):(!this.q&&(this.q=new si),ds(this.q,i,C))}}catch(P){throw P=ea(P),Le(P,102)?(n=P,ue(new Cut(n))):ue(P)}},u.Ib=function(){var t;return t=wi(Of(ch((this.q?this.q:(In(),In(),lp)).vc().Oc(),new kh),_4(new Ftt,new gi,new Zn,new Ge,pe(de(of,1),vt,132,0,[])))),t};var O7t=F(su,"IndividualSpacings",373);N(971,1,{},kh),u.Kb=function(t){return bhn(l(t,42))},F(su,"IndividualSpacings/lambda$0$Type",971),N(709,1,{},mnt),u.c=0,F(su,"InstancePool",709),N(1275,1,{},Qre),F(su,"LoggedGraph",1275),N(396,22,{3:1,35:1,22:1,396:1},oV);var LPe,Gf,IPe,OPe,D7t=_i(su,"LoggedGraph/Type",396,Si,Vdn,Kcn),P7t;N(46,1,{20:1,46:1},No),u.Jc=function(t){Ho(this,t)},u.Fb=function(t){var n,r,i;return Le(t,46)?(r=l(t,46),n=this.a==null?r.a==null:hs(this.a,r.a),i=this.b==null?r.b==null:hs(this.b,r.b),n&&i):!1},u.Hb=function(){var t,n,r,i,a,h;return r=this.a==null?0:Ws(this.a),t=r&Aa,n=r&-65536,h=this.b==null?0:Ws(this.b),i=h&Aa,a=h&-65536,t^a>>16&Aa|n^i<<16},u.Kc=function(){return new tKe(this)},u.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+wl(this.b)+")":this.b==null?"pair("+wl(this.a)+",null)":"pair("+wl(this.a)+","+wl(this.b)+")"},F(su,"Pair",46),N(983,1,ko,tKe),u.Nb=function(t){jo(this,t)},u.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},u.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw ue(new Gl)},u.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),ue(new Eh)},u.b=!1,u.c=!1,F(su,"Pair/1",983),N(448,1,{448:1},Drt),u.Fb=function(t){return _u(this.a,l(t,448).a)&&_u(this.c,l(t,448).c)&&_u(this.d,l(t,448).d)&&_u(this.b,l(t,448).b)},u.Hb=function(){return SU(pe(de(xr,1),Ht,1,5,[this.a,this.c,this.d,this.b]))},u.Ib=function(){return"("+this.a+bc+this.c+bc+this.d+bc+this.b+")"},F(su,"Quadruple",448),N(1126,209,P2,Zre),u.Ze=function(t,n){var r,i,a,h,d;if(Zr(n,"Random Layout",1),(!t.a&&(t.a=new _t(fa,t,10,11)),t.a).i==0){Br(n);return}h=l(nn(t,(pke(),C7t)),19),h&&h.a!=0?a=new Dq(h.a):a=new Kle,r=YD(Lt(nn(t,T7t))),d=YD(Lt(nn(t,A7t))),i=l(nn(t,S7t),116),C9n(t,a,r,d,i),Br(n)},F(su,"RandomLayoutProvider",1126);var N7t;N(553,1,{}),u.qf=function(){return new en(this.f.i,this.f.j)},u.We=function(t){return sit(t,(Yi(),cf))?nn(this.f,R7t):nn(this.f,t)},u.rf=function(){return new en(this.f.g,this.f.f)},u.sf=function(){return this.g},u.Xe=function(t){return g2(this.f,t)},u.tf=function(t){dh(this.f,t.a),gh(this.f,t.b)},u.uf=function(t){gy(this.f,t.a),dy(this.f,t.b)},u.vf=function(t){this.g=t},u.g=0;var R7t;F(lL,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),N(554,1,{839:1},pz),u.wf=function(){var t,n;if(!this.b)for(this.b=Mq(oq(this.a).i),n=new Ir(oq(this.a));n.e!=n.i.gc();)t=l(Ur(n),137),wt(this.b,new hae(t));return this.b},u.b=null,F(lL,"ElkGraphAdapters/ElkEdgeAdapter",554),N(301,553,{},J3),u.xf=function(){return Dft(this)},u.a=null,F(lL,"ElkGraphAdapters/ElkGraphAdapter",301),N(630,553,{181:1},hae),F(lL,"ElkGraphAdapters/ElkLabelAdapter",630),N(629,553,{680:1},uoe),u.wf=function(){return M2n(this)},u.Af=function(){var t;return t=l(nn(this.f,(Yi(),DB)),142),!t&&(t=new WC),t},u.Cf=function(){return L2n(this)},u.Ef=function(t){var n;n=new Toe(t),Uc(this.f,(Yi(),DB),n)},u.Ff=function(t){Uc(this.f,(Yi(),J2),new u5e(t))},u.yf=function(){return this.d},u.zf=function(){var t,n;if(!this.a)for(this.a=new yt,n=new Rr(zr(QN(l(this.f,33)).a.Kc(),new J));Ei(n);)t=l(hi(n),79),wt(this.a,new pz(t));return this.a},u.Bf=function(){var t,n;if(!this.c)for(this.c=new yt,n=new Rr(zr(Up(l(this.f,33)).a.Kc(),new J));Ei(n);)t=l(hi(n),79),wt(this.c,new pz(t));return this.c},u.Df=function(){return dq(l(this.f,33)).i!=0||Zt(Xt(l(this.f,33).We((Yi(),OB))))},u.Gf=function(){y0n(this,(r4(),N7t))},u.a=null,u.b=null,u.c=null,u.d=null,u.e=null,F(lL,"ElkGraphAdapters/ElkNodeAdapter",629),N(1266,553,{838:1},LKe),u.wf=function(){return F2n(this)},u.zf=function(){var t,n;if(!this.a)for(this.a=Gg(l(this.f,118).xg().i),n=new Ir(l(this.f,118).xg());n.e!=n.i.gc();)t=l(Ur(n),79),wt(this.a,new pz(t));return this.a},u.Bf=function(){var t,n;if(!this.c)for(this.c=Gg(l(this.f,118).yg().i),n=new Ir(l(this.f,118).yg());n.e!=n.i.gc();)t=l(Ur(n),79),wt(this.c,new pz(t));return this.c},u.Hf=function(){return l(l(this.f,118).We((Yi(),$_)),61)},u.If=function(){var t,n,r,i,a,h,d,b;for(i=x0(l(this.f,118)),r=new Ir(l(this.f,118).yg());r.e!=r.i.gc();)for(t=l(Ur(r),79),b=new Ir((!t.c&&(t.c=new $n(Xr,t,5,8)),t.c));b.e!=b.i.gc();){if(d=l(Ur(b),82),E4(ul(d),i))return!0;if(ul(d)==i&&Zt(Xt(nn(t,(Yi(),hpe)))))return!0}for(n=new Ir(l(this.f,118).xg());n.e!=n.i.gc();)for(t=l(Ur(n),79),h=new Ir((!t.b&&(t.b=new $n(Xr,t,4,7)),t.b));h.e!=h.i.gc();)if(a=l(Ur(h),82),E4(ul(a),i))return!0;return!1},u.a=null,u.b=null,u.c=null,F(lL,"ElkGraphAdapters/ElkPortAdapter",1266),N(1267,1,As,Jre),u.ue=function(t,n){return akn(l(t,118),l(n,118))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(lL,"ElkGraphAdapters/PortComparator",1267);var Sb=na(ud,"EObject"),IT=na(f_,y2t),Vd=na(f_,_2t),qB=na(f_,x2t),UB=na(f_,"ElkShape"),Xr=na(f_,k2t),oo=na(f_,sSe),aa=na(f_,E2t),GB=na(ud,T2t),wI=na(ud,"EFactory"),B7t,Tpe=na(ud,S2t),t0=na(ud,"EPackage"),vo,F7t,j7t,DPe,iX,$7t,PPe,NPe,RPe,Cb,H7t,z7t,_l=na(f_,aSe),fa=na(f_,oSe),lf=na(f_,cSe);N(90,1,C2t),u.Jg=function(){return this.Kg(),null},u.Kg=function(){return null},u.Lg=function(){return this.Kg(),!1},u.Mg=function(){return!1},u.Ng=function(t){us(this,t)},F(l8,"BasicNotifierImpl",90),N(97,90,I2t),u.nh=function(){return pf(this)},u.Og=function(t,n){return t},u.Pg=function(){throw ue(new pi)},u.Qg=function(t){var n;return n=Ac(l(Rn(this.Tg(),this.Vg()),18)),this.eh().ih(this,n.n,n.f,t)},u.Rg=function(t,n){throw ue(new pi)},u.Sg=function(t,n,r){return Ff(this,t,n,r)},u.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck(),t)?t:this.zh()},u.Ug=function(){return Que(this)},u.Vg=function(){throw ue(new pi)},u.Wg=function(){var t,n;return n=this.ph().dk(),!n&&this.Pg().ik(n=(cA(),t=C6e(mg(this.Tg())),t==null?Dpe:new wP(this,t))),n},u.Xg=function(t,n){return t},u.Yg=function(t){var n;return n=t.Gj(),n?t.aj():Qs(this.Tg(),t)},u.Zg=function(){var t;return t=this.Pg(),t?t.fk():null},u.$g=function(){return this.Pg()?this.Pg().ck():null},u._g=function(t,n,r){return KU(this,t,n,r)},u.ah=function(t){return IE(this,t)},u.bh=function(t,n){return zce(this,t,n)},u.dh=function(){var t;return t=this.Pg(),!!t&&t.gk()},u.eh=function(){throw ue(new pi)},u.fh=function(){return HU(this)},u.gh=function(t,n,r,i){return zk(this,t,n,i)},u.hh=function(t,n,r){var i;return i=l(Rn(this.Tg(),n),66),i.Nj().Qj(this,this.yh(),n-this.Ah(),t,r)},u.ih=function(t,n,r,i){return vq(this,t,n,i)},u.jh=function(t,n,r){var i;return i=l(Rn(this.Tg(),n),66),i.Nj().Rj(this,this.yh(),n-this.Ah(),t,r)},u.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},u.lh=function(t){return cue(this,t)},u.mh=function(t){return xit(this,t)},u.oh=function(t){return Wpt(this,t)},u.ph=function(){throw ue(new pi)},u.qh=function(){return this.Pg()?this.Pg().ek():null},u.rh=function(){return HU(this)},u.sh=function(t,n){Gue(this,t,n)},u.th=function(t){this.ph().hk(t)},u.uh=function(t){this.ph().kk(t)},u.vh=function(t){this.ph().jk(t)},u.wh=function(t,n){var r,i,a,h;return h=this.Zg(),h&&t&&(n=lc(h.Vk(),this,n),h.Zk(this)),i=this.eh(),i&&(dhe(this,this.eh(),this.Vg()).Bb&wc?(a=i.fh(),a&&(t?!h&&a.Zk(this):a.Yk(this))):(n=(r=this.Vg(),r>=0?this.Qg(n):this.eh().ih(this,-1-r,null,n)),n=this.Sg(null,-1,n))),this.uh(t),n},u.xh=function(t){var n,r,i,a,h,d,b,E;if(r=this.Tg(),h=Qs(r,t),n=this.Ah(),h>=n)return l(t,66).Nj().Uj(this,this.yh(),h-n);if(h<=-1)if(d=n_((Ih(),Vo),r,t),d){if(Sc(),l(d,66).Oj()||(d=Mk(tl(Vo,d))),a=(i=this.Yg(d),l(i>=0?this._g(i,!0,!0):Cy(this,d,!0),153)),E=d.Zj(),E>1||E==-1)return l(l(a,215).hl(t,!1),76)}else throw ue(new Jn(ub+t.ne()+Vde));else if(t.$j())return i=this.Yg(t),l(i>=0?this._g(i,!1,!0):Cy(this,t,!1),76);return b=new $Ze(this,t),b},u.yh=function(){return A_e(this)},u.zh=function(){return(Vv(),Gn).S},u.Ah=function(){return Er(this.zh())},u.Bh=function(t){Hue(this,t)},u.Ib=function(){return m1(this)},F(Wn,"BasicEObjectImpl",97);var V7t;N(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),u.Ch=function(t){var n;return n=M_e(this),n[t]},u.Dh=function(t,n){var r;r=M_e(this),la(r,t,n)},u.Eh=function(t){var n;n=M_e(this),la(n,t,null)},u.Jg=function(){return l(Kn(this,4),126)},u.Kg=function(){throw ue(new pi)},u.Lg=function(){return(this.Db&4)!=0},u.Pg=function(){throw ue(new pi)},u.Fh=function(t){Hk(this,2,t)},u.Rg=function(t,n){this.Db=n<<16|this.Db&255,this.Fh(t)},u.Tg=function(){return lh(this)},u.Vg=function(){return this.Db>>16},u.Wg=function(){var t,n;return cA(),n=C6e(mg((t=l(Kn(this,16),26),t||this.zh()))),n==null?Dpe:new wP(this,n)},u.Mg=function(){return(this.Db&1)==0},u.Zg=function(){return l(Kn(this,128),1935)},u.$g=function(){return l(Kn(this,16),26)},u.dh=function(){return(this.Db&32)!=0},u.eh=function(){return l(Kn(this,2),49)},u.kh=function(){return(this.Db&64)!=0},u.ph=function(){throw ue(new pi)},u.qh=function(){return l(Kn(this,64),281)},u.th=function(t){Hk(this,16,t)},u.uh=function(t){Hk(this,128,t)},u.vh=function(t){Hk(this,64,t)},u.yh=function(){return Uu(this)},u.Db=0,F(Wn,"MinimalEObjectImpl",114),N(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),u.Fh=function(t){this.Cb=t},u.eh=function(){return this.Cb},F(Wn,"MinimalEObjectImpl/Container",115),N(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),u._g=function(t,n,r){return $ke(this,t,n,r)},u.jh=function(t,n,r){return A8e(this,t,n,r)},u.lh=function(t){return j6e(this,t)},u.sh=function(t,n){Txe(this,t,n)},u.zh=function(){return Fu(),z7t},u.Bh=function(t){gxe(this,t)},u.Ve=function(){return eft(this)},u.We=function(t){return nn(this,t)},u.Xe=function(t){return g2(this,t)},u.Ye=function(t,n){return Uc(this,t,n)},F(B2,"EMapPropertyHolderImpl",1985),N(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},_v),u._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return KU(this,t,n,r)},u.lh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return cue(this,t)},u.sh=function(t,n){switch(t){case 0:nU(this,ot(Lt(n)));return;case 1:rU(this,ot(Lt(n)));return}Gue(this,t,n)},u.zh=function(){return Fu(),F7t},u.Bh=function(t){switch(t){case 0:nU(this,0);return;case 1:rU(this,0);return}Hue(this,t)},u.Ib=function(){var t;return this.Db&64?m1(this):(t=new Ed(m1(this)),t.a+=" (x: ",v6(t,this.a),t.a+=", y: ",v6(t,this.b),t.a+=")",t.a)},u.a=0,u.b=0,F(B2,"ElkBendPointImpl",567),N(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),u._g=function(t,n,r){return qxe(this,t,n,r)},u.hh=function(t,n,r){return Nue(this,t,n,r)},u.jh=function(t,n,r){return wle(this,t,n,r)},u.lh=function(t){return axe(this,t)},u.sh=function(t,n){s8e(this,t,n)},u.zh=function(){return Fu(),$7t},u.Bh=function(t){$xe(this,t)},u.zg=function(){return this.k},u.Ag=function(){return oq(this)},u.Ib=function(){return Gle(this)},u.k=null,F(B2,"ElkGraphElementImpl",723),N(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),u._g=function(t,n,r){return eke(this,t,n,r)},u.lh=function(t){return oke(this,t)},u.sh=function(t,n){a8e(this,t,n)},u.zh=function(){return Fu(),H7t},u.Bh=function(t){fke(this,t)},u.Bg=function(){return this.f},u.Cg=function(){return this.g},u.Dg=function(){return this.i},u.Eg=function(){return this.j},u.Fg=function(t,n){gV(this,t,n)},u.Gg=function(t,n){w0(this,t,n)},u.Hg=function(t){dh(this,t)},u.Ig=function(t){gh(this,t)},u.Ib=function(){return $ue(this)},u.f=0,u.g=0,u.i=0,u.j=0,F(B2,"ElkShapeImpl",724),N(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),u._g=function(t,n,r){return Pke(this,t,n,r)},u.hh=function(t,n,r){return Jke(this,t,n,r)},u.jh=function(t,n,r){return e8e(this,t,n,r)},u.lh=function(t){return kxe(this,t)},u.sh=function(t,n){l7e(this,t,n)},u.zh=function(){return Fu(),j7t},u.Bh=function(t){Ske(this,t)},u.xg=function(){return!this.d&&(this.d=new $n(oo,this,8,5)),this.d},u.yg=function(){return!this.e&&(this.e=new $n(oo,this,7,4)),this.e},F(B2,"ElkConnectableShapeImpl",725),N(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Mw),u.Qg=function(t){return Yke(this,t)},u._g=function(t,n,r){switch(t){case 3:return zP(this);case 4:return!this.b&&(this.b=new $n(Xr,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $n(Xr,this,5,8)),this.c;case 6:return!this.a&&(this.a=new _t(aa,this,6,6)),this.a;case 7:return er(),!this.b&&(this.b=new $n(Xr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(Xr,this,5,8)),this.c.i<=1));case 8:return er(),!!IM(this);case 9:return er(),!!Sy(this);case 10:return er(),!this.b&&(this.b=new $n(Xr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new $n(Xr,this,5,8)),this.c.i!=0)}return qxe(this,t,n,r)},u.hh=function(t,n,r){var i;switch(n){case 3:return this.Cb&&(r=(i=this.Db>>16,i>=0?Yke(this,r):this.Cb.ih(this,-1-i,null,r))),z4e(this,l(t,33),r);case 4:return!this.b&&(this.b=new $n(Xr,this,4,7)),Bu(this.b,t,r);case 5:return!this.c&&(this.c=new $n(Xr,this,5,8)),Bu(this.c,t,r);case 6:return!this.a&&(this.a=new _t(aa,this,6,6)),Bu(this.a,t,r)}return Nue(this,t,n,r)},u.jh=function(t,n,r){switch(n){case 3:return z4e(this,null,r);case 4:return!this.b&&(this.b=new $n(Xr,this,4,7)),lc(this.b,t,r);case 5:return!this.c&&(this.c=new $n(Xr,this,5,8)),lc(this.c,t,r);case 6:return!this.a&&(this.a=new _t(aa,this,6,6)),lc(this.a,t,r)}return wle(this,t,n,r)},u.lh=function(t){switch(t){case 3:return!!zP(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new $n(Xr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(Xr,this,5,8)),this.c.i<=1));case 8:return IM(this);case 9:return Sy(this);case 10:return!this.b&&(this.b=new $n(Xr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new $n(Xr,this,5,8)),this.c.i!=0)}return axe(this,t)},u.sh=function(t,n){switch(t){case 3:rhe(this,l(n,33));return;case 4:!this.b&&(this.b=new $n(Xr,this,4,7)),ei(this.b),!this.b&&(this.b=new $n(Xr,this,4,7)),ga(this.b,l(n,14));return;case 5:!this.c&&(this.c=new $n(Xr,this,5,8)),ei(this.c),!this.c&&(this.c=new $n(Xr,this,5,8)),ga(this.c,l(n,14));return;case 6:!this.a&&(this.a=new _t(aa,this,6,6)),ei(this.a),!this.a&&(this.a=new _t(aa,this,6,6)),ga(this.a,l(n,14));return}s8e(this,t,n)},u.zh=function(){return Fu(),DPe},u.Bh=function(t){switch(t){case 3:rhe(this,null);return;case 4:!this.b&&(this.b=new $n(Xr,this,4,7)),ei(this.b);return;case 5:!this.c&&(this.c=new $n(Xr,this,5,8)),ei(this.c);return;case 6:!this.a&&(this.a=new _t(aa,this,6,6)),ei(this.a);return}$xe(this,t)},u.Ib=function(){return Opt(this)},F(B2,"ElkEdgeImpl",352),N(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ig),u.Qg=function(t){return Uke(this,t)},u._g=function(t,n,r){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Ba(Vd,this,5)),this.a;case 6:return wit(this);case 7:return n?due(this):this.i;case 8:return n?fue(this):this.f;case 9:return!this.g&&(this.g=new $n(aa,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $n(aa,this,10,9)),this.e;case 11:return this.d}return $ke(this,t,n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?Uke(this,r):this.Cb.ih(this,-1-a,null,r))),V4e(this,l(t,79),r);case 9:return!this.g&&(this.g=new $n(aa,this,9,10)),Bu(this.g,t,r);case 10:return!this.e&&(this.e=new $n(aa,this,10,9)),Bu(this.e,t,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Fu(),iX)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Fu(),iX)),t,r)},u.jh=function(t,n,r){switch(n){case 5:return!this.a&&(this.a=new Ba(Vd,this,5)),lc(this.a,t,r);case 6:return V4e(this,null,r);case 9:return!this.g&&(this.g=new $n(aa,this,9,10)),lc(this.g,t,r);case 10:return!this.e&&(this.e=new $n(aa,this,10,9)),lc(this.e,t,r)}return A8e(this,t,n,r)},u.lh=function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!wit(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return j6e(this,t)},u.sh=function(t,n){switch(t){case 1:BE(this,ot(Lt(n)));return;case 2:jE(this,ot(Lt(n)));return;case 3:RE(this,ot(Lt(n)));return;case 4:FE(this,ot(Lt(n)));return;case 5:!this.a&&(this.a=new Ba(Vd,this,5)),ei(this.a),!this.a&&(this.a=new Ba(Vd,this,5)),ga(this.a,l(n,14));return;case 6:D0t(this,l(n,79));return;case 7:cU(this,l(n,82));return;case 8:oU(this,l(n,82));return;case 9:!this.g&&(this.g=new $n(aa,this,9,10)),ei(this.g),!this.g&&(this.g=new $n(aa,this,9,10)),ga(this.g,l(n,14));return;case 10:!this.e&&(this.e=new $n(aa,this,10,9)),ei(this.e),!this.e&&(this.e=new $n(aa,this,10,9)),ga(this.e,l(n,14));return;case 11:Q_e(this,wi(n));return}Txe(this,t,n)},u.zh=function(){return Fu(),iX},u.Bh=function(t){switch(t){case 1:BE(this,0);return;case 2:jE(this,0);return;case 3:RE(this,0);return;case 4:FE(this,0);return;case 5:!this.a&&(this.a=new Ba(Vd,this,5)),ei(this.a);return;case 6:D0t(this,null);return;case 7:cU(this,null);return;case 8:oU(this,null);return;case 9:!this.g&&(this.g=new $n(aa,this,9,10)),ei(this.g);return;case 10:!this.e&&(this.e=new $n(aa,this,10,9)),ei(this.e);return;case 11:Q_e(this,null);return}gxe(this,t)},u.Ib=function(){return Q1t(this)},u.b=0,u.c=0,u.d=null,u.j=0,u.k=0,F(B2,"ElkEdgeSectionImpl",439),N(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),u._g=function(t,n,r){var i;return t==0?(!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab):id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.hh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r)):(a=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),a.Nj().Qj(this,Uu(this),n-Er(this.zh()),t,r))},u.jh=function(t,n,r){var i,a;return n==0?(!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r)):(a=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,Uu(this),n-Er(this.zh()),t,r))},u.lh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.oh=function(t){return vEe(this,t)},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.uh=function(t){Hk(this,128,t)},u.zh=function(){return Sn(),oEt},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.Gh=function(){this.Bb|=1},u.Hh=function(t){return RM(this,t)},u.Bb=0,F(Wn,"EModelElementImpl",150),N(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},QH),u.Ih=function(t,n){return cmt(this,t,n)},u.Jh=function(t){var n,r,i,a,h;if(this.a!=Df(t)||t.Bb&256)throw ue(new Jn(Ude+t.zb+jy));for(i=ol(t);hu(i.a).i!=0;){if(r=l(cR(i,0,(n=l(Re(hu(i.a),0),87),h=n.c,Le(h,88)?l(h,26):(Sn(),Wd))),26),Ty(r))return a=Df(r).Nh().Jh(r),l(a,49).th(t),a;i=ol(r)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new rnt(t):new M5e(t)},u.Kh=function(t,n){return Oy(this,t,n)},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.a}return id(this,t-Er((Sn(),Ib)),Rn((i=l(Kn(this,16),26),i||Ib),t),n,r)},u.hh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 1:return this.a&&(r=l(this.a,49).ih(this,4,t0,r)),Fxe(this,l(t,235),r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Ib)),n),66),a.Nj().Qj(this,Uu(this),n-Er((Sn(),Ib)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 1:return Fxe(this,null,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Ib)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Ib)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return nd(this,t-Er((Sn(),Ib)),Rn((n=l(Kn(this,16),26),n||Ib),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Ddt(this,l(n,235));return}ld(this,t-Er((Sn(),Ib)),Rn((r=l(Kn(this,16),26),r||Ib),t),n)},u.zh=function(){return Sn(),Ib},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Ddt(this,null);return}od(this,t-Er((Sn(),Ib)),Rn((n=l(Kn(this,16),26),n||Ib),t))};var yI,BPe,q7t;F(Wn,"EFactoryImpl",704),N(b1,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},$x),u.Ih=function(t,n){switch(t.yj()){case 12:return l(n,146).tg();case 13:return wl(n);default:throw ue(new Jn(V9+t.ne()+jy))}},u.Jh=function(t){var n,r,i,a,h,d,b,E;switch(t.G==-1&&(t.G=(n=Df(t),n?Pm(n.Mh(),t):-1)),t.G){case 4:return h=new fC,h;case 6:return d=new Oye,d;case 7:return b=new Dye,b;case 8:return i=new Mw,i;case 9:return r=new _v,r;case 10:return a=new ig,a;case 11:return E=new iH,E;default:throw ue(new Jn(Ude+t.zb+jy))}},u.Kh=function(t,n){switch(t.yj()){case 13:case 12:return null;default:throw ue(new Jn(V9+t.ne()+jy))}},F(B2,"ElkGraphFactoryImpl",b1),N(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),u.Wg=function(){var t,n;return n=(t=l(Kn(this,16),26),C6e(mg(t||this.zh()))),n==null?(cA(),cA(),Dpe):new ket(this,n)},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.ne()}return id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:this.Lh(wi(n));return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.zh=function(){return Sn(),cEt},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:this.Lh(null);return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.ne=function(){return this.zb},u.Lh=function(t){Ru(this,t)},u.Ib=function(){return dM(this)},u.zb=null,F(Wn,"ENamedElementImpl",438),N(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},iit),u.Qg=function(t){return Wft(this,t)},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new g4(this,n0,this)),this.rb;case 6:return!this.vb&&(this.vb=new bk(t0,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?l(this.Cb,235):null:yit(this)}return id(this,t-Er((Sn(),ev)),Rn((i=l(Kn(this,16),26),i||ev),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 4:return this.sb&&(r=l(this.sb,49).ih(this,1,wI,r)),zxe(this,l(t,471),r);case 5:return!this.rb&&(this.rb=new g4(this,n0,this)),Bu(this.rb,t,r);case 6:return!this.vb&&(this.vb=new bk(t0,this,6,7)),Bu(this.vb,t,r);case 7:return this.Cb&&(r=(a=this.Db>>16,a>=0?Wft(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,7,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),ev)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),ev)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 4:return zxe(this,null,r);case 5:return!this.rb&&(this.rb=new g4(this,n0,this)),lc(this.rb,t,r);case 6:return!this.vb&&(this.vb=new bk(t0,this,6,7)),lc(this.vb,t,r);case 7:return Ff(this,null,7,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),ev)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),ev)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!yit(this)}return nd(this,t-Er((Sn(),ev)),Rn((n=l(Kn(this,16),26),n||ev),t))},u.oh=function(t){var n;return n=A_n(this,t),n||vEe(this,t)},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Ru(this,wi(n));return;case 2:pU(this,wi(n));return;case 3:gU(this,wi(n));return;case 4:jue(this,l(n,471));return;case 5:!this.rb&&(this.rb=new g4(this,n0,this)),ei(this.rb),!this.rb&&(this.rb=new g4(this,n0,this)),ga(this.rb,l(n,14));return;case 6:!this.vb&&(this.vb=new bk(t0,this,6,7)),ei(this.vb),!this.vb&&(this.vb=new bk(t0,this,6,7)),ga(this.vb,l(n,14));return}ld(this,t-Er((Sn(),ev)),Rn((r=l(Kn(this,16),26),r||ev),t),n)},u.vh=function(t){var n,r;if(t&&this.rb)for(r=new Ir(this.rb);r.e!=r.i.gc();)n=Ur(r),Le(n,351)&&(l(n,351).w=null);Hk(this,64,t)},u.zh=function(){return Sn(),ev},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Ru(this,null);return;case 2:pU(this,null);return;case 3:gU(this,null);return;case 4:jue(this,null);return;case 5:!this.rb&&(this.rb=new g4(this,n0,this)),ei(this.rb);return;case 6:!this.vb&&(this.vb=new bk(t0,this,6,7)),ei(this.vb);return}od(this,t-Er((Sn(),ev)),Rn((n=l(Kn(this,16),26),n||ev),t))},u.Gh=function(){Sue(this)},u.Mh=function(){return!this.rb&&(this.rb=new g4(this,n0,this)),this.rb},u.Nh=function(){return this.sb},u.Oh=function(){return this.ub},u.Ph=function(){return this.xb},u.Qh=function(){return this.yb},u.Rh=function(t){this.ub=t},u.Ib=function(){var t;return this.Db&64?dM(this):(t=new Ed(dM(this)),t.a+=" (nsURI: ",zc(t,this.yb),t.a+=", nsPrefix: ",zc(t,this.xb),t.a+=")",t.a)},u.xb=null,u.yb=null,F(Wn,"EPackageImpl",179),N(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},a0t),u.q=!1,u.r=!1;var U7t=!1;F(B2,"ElkGraphPackageImpl",555),N(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},fC),u.Qg=function(t){return Gke(this,t)},u._g=function(t,n,r){switch(t){case 7:return _it(this);case 8:return this.a}return eke(this,t,n,r)},u.hh=function(t,n,r){var i;switch(n){case 7:return this.Cb&&(r=(i=this.Db>>16,i>=0?Gke(this,r):this.Cb.ih(this,-1-i,null,r))),q5e(this,l(t,160),r)}return Nue(this,t,n,r)},u.jh=function(t,n,r){return n==7?q5e(this,null,r):wle(this,t,n,r)},u.lh=function(t){switch(t){case 7:return!!_it(this);case 8:return!Tn("",this.a)}return oke(this,t)},u.sh=function(t,n){switch(t){case 7:k7e(this,l(n,160));return;case 8:q_e(this,wi(n));return}a8e(this,t,n)},u.zh=function(){return Fu(),PPe},u.Bh=function(t){switch(t){case 7:k7e(this,null);return;case 8:q_e(this,"");return}fke(this,t)},u.Ib=function(){return Wdt(this)},u.a="",F(B2,"ElkLabelImpl",354),N(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Oye),u.Qg=function(t){return Xke(this,t)},u._g=function(t,n,r){switch(t){case 9:return!this.c&&(this.c=new _t(lf,this,9,9)),this.c;case 10:return!this.a&&(this.a=new _t(fa,this,10,11)),this.a;case 11:return ua(this);case 12:return!this.b&&(this.b=new _t(oo,this,12,3)),this.b;case 13:return er(),!this.a&&(this.a=new _t(fa,this,10,11)),this.a.i>0}return Pke(this,t,n,r)},u.hh=function(t,n,r){var i;switch(n){case 9:return!this.c&&(this.c=new _t(lf,this,9,9)),Bu(this.c,t,r);case 10:return!this.a&&(this.a=new _t(fa,this,10,11)),Bu(this.a,t,r);case 11:return this.Cb&&(r=(i=this.Db>>16,i>=0?Xke(this,r):this.Cb.ih(this,-1-i,null,r))),Z4e(this,l(t,33),r);case 12:return!this.b&&(this.b=new _t(oo,this,12,3)),Bu(this.b,t,r)}return Jke(this,t,n,r)},u.jh=function(t,n,r){switch(n){case 9:return!this.c&&(this.c=new _t(lf,this,9,9)),lc(this.c,t,r);case 10:return!this.a&&(this.a=new _t(fa,this,10,11)),lc(this.a,t,r);case 11:return Z4e(this,null,r);case 12:return!this.b&&(this.b=new _t(oo,this,12,3)),lc(this.b,t,r)}return e8e(this,t,n,r)},u.lh=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!ua(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new _t(fa,this,10,11)),this.a.i>0}return kxe(this,t)},u.sh=function(t,n){switch(t){case 9:!this.c&&(this.c=new _t(lf,this,9,9)),ei(this.c),!this.c&&(this.c=new _t(lf,this,9,9)),ga(this.c,l(n,14));return;case 10:!this.a&&(this.a=new _t(fa,this,10,11)),ei(this.a),!this.a&&(this.a=new _t(fa,this,10,11)),ga(this.a,l(n,14));return;case 11:y7e(this,l(n,33));return;case 12:!this.b&&(this.b=new _t(oo,this,12,3)),ei(this.b),!this.b&&(this.b=new _t(oo,this,12,3)),ga(this.b,l(n,14));return}l7e(this,t,n)},u.zh=function(){return Fu(),NPe},u.Bh=function(t){switch(t){case 9:!this.c&&(this.c=new _t(lf,this,9,9)),ei(this.c);return;case 10:!this.a&&(this.a=new _t(fa,this,10,11)),ei(this.a);return;case 11:y7e(this,null);return;case 12:!this.b&&(this.b=new _t(oo,this,12,3)),ei(this.b);return}Ske(this,t)},u.Ib=function(){return F7e(this)},F(B2,"ElkNodeImpl",239),N(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Dye),u.Qg=function(t){return Wke(this,t)},u._g=function(t,n,r){return t==9?x0(this):Pke(this,t,n,r)},u.hh=function(t,n,r){var i;switch(n){case 9:return this.Cb&&(r=(i=this.Db>>16,i>=0?Wke(this,r):this.Cb.ih(this,-1-i,null,r))),q4e(this,l(t,33),r)}return Jke(this,t,n,r)},u.jh=function(t,n,r){return n==9?q4e(this,null,r):e8e(this,t,n,r)},u.lh=function(t){return t==9?!!x0(this):kxe(this,t)},u.sh=function(t,n){switch(t){case 9:w7e(this,l(n,33));return}l7e(this,t,n)},u.zh=function(){return Fu(),RPe},u.Bh=function(t){switch(t){case 9:w7e(this,null);return}Ske(this,t)},u.Ib=function(){return Dgt(this)},F(B2,"ElkPortImpl",186);var G7t=na(uc,"BasicEMap/Entry");N(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},iH),u.Fb=function(t){return this===t},u.cd=function(){return this.b},u.Hb=function(){return Kw(this)},u.Uh=function(t){U_e(this,l(t,146))},u._g=function(t,n,r){switch(t){case 0:return this.b;case 1:return this.c}return KU(this,t,n,r)},u.lh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return cue(this,t)},u.sh=function(t,n){switch(t){case 0:U_e(this,l(n,146));return;case 1:K_e(this,n);return}Gue(this,t,n)},u.zh=function(){return Fu(),Cb},u.Bh=function(t){switch(t){case 0:U_e(this,null);return;case 1:K_e(this,null);return}Hue(this,t)},u.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Ws(t):0),this.a},u.dd=function(){return this.c},u.Th=function(t){this.a=t},u.ed=function(t){var n;return n=this.c,K_e(this,t),n},u.Ib=function(){var t;return this.Db&64?m1(this):(t=new Lv,Mi(Mi(Mi(t,this.b?this.b.tg():vh),zfe),LA(this.c)),t.a)},u.a=-1,u.c=null;var r3=F(B2,"ElkPropertyToValueMapEntryImpl",1092);N(984,1,{},sH),F(zo,"JsonAdapter",984),N(210,60,Wp,og),F(zo,"JsonImportException",210),N(857,1,{},Kft),F(zo,"JsonImporter",857),N(891,1,{},_Ze),F(zo,"JsonImporter/lambda$0$Type",891),N(892,1,{},xZe),F(zo,"JsonImporter/lambda$1$Type",892),N(900,1,{},nKe),F(zo,"JsonImporter/lambda$10$Type",900),N(902,1,{},kZe),F(zo,"JsonImporter/lambda$11$Type",902),N(903,1,{},EZe),F(zo,"JsonImporter/lambda$12$Type",903),N(909,1,{},Frt),F(zo,"JsonImporter/lambda$13$Type",909),N(908,1,{},Brt),F(zo,"JsonImporter/lambda$14$Type",908),N(904,1,{},TZe),F(zo,"JsonImporter/lambda$15$Type",904),N(905,1,{},SZe),F(zo,"JsonImporter/lambda$16$Type",905),N(906,1,{},CZe),F(zo,"JsonImporter/lambda$17$Type",906),N(907,1,{},AZe),F(zo,"JsonImporter/lambda$18$Type",907),N(912,1,{},rKe),F(zo,"JsonImporter/lambda$19$Type",912),N(893,1,{},iKe),F(zo,"JsonImporter/lambda$2$Type",893),N(910,1,{},sKe),F(zo,"JsonImporter/lambda$20$Type",910),N(911,1,{},aKe),F(zo,"JsonImporter/lambda$21$Type",911),N(915,1,{},oKe),F(zo,"JsonImporter/lambda$22$Type",915),N(913,1,{},cKe),F(zo,"JsonImporter/lambda$23$Type",913),N(914,1,{},lKe),F(zo,"JsonImporter/lambda$24$Type",914),N(917,1,{},uKe),F(zo,"JsonImporter/lambda$25$Type",917),N(916,1,{},hKe),F(zo,"JsonImporter/lambda$26$Type",916),N(918,1,vr,MZe),u.td=function(t){r0n(this.b,this.a,wi(t))},F(zo,"JsonImporter/lambda$27$Type",918),N(919,1,vr,LZe),u.td=function(t){i0n(this.b,this.a,wi(t))},F(zo,"JsonImporter/lambda$28$Type",919),N(920,1,{},IZe),F(zo,"JsonImporter/lambda$29$Type",920),N(896,1,{},fKe),F(zo,"JsonImporter/lambda$3$Type",896),N(921,1,{},OZe),F(zo,"JsonImporter/lambda$30$Type",921),N(922,1,{},dKe),F(zo,"JsonImporter/lambda$31$Type",922),N(923,1,{},gKe),F(zo,"JsonImporter/lambda$32$Type",923),N(924,1,{},pKe),F(zo,"JsonImporter/lambda$33$Type",924),N(925,1,{},mKe),F(zo,"JsonImporter/lambda$34$Type",925),N(859,1,{},vKe),F(zo,"JsonImporter/lambda$35$Type",859),N(929,1,{},Mtt),F(zo,"JsonImporter/lambda$36$Type",929),N(926,1,vr,bKe),u.td=function(t){o1n(this.a,l(t,469))},F(zo,"JsonImporter/lambda$37$Type",926),N(927,1,vr,FZe),u.td=function(t){Nin(this.a,this.b,l(t,202))},F(zo,"JsonImporter/lambda$38$Type",927),N(928,1,vr,jZe),u.td=function(t){Rin(this.a,this.b,l(t,202))},F(zo,"JsonImporter/lambda$39$Type",928),N(894,1,{},wKe),F(zo,"JsonImporter/lambda$4$Type",894),N(930,1,vr,yKe),u.td=function(t){c1n(this.a,l(t,8))},F(zo,"JsonImporter/lambda$40$Type",930),N(895,1,{},_Ke),F(zo,"JsonImporter/lambda$5$Type",895),N(899,1,{},xKe),F(zo,"JsonImporter/lambda$6$Type",899),N(897,1,{},kKe),F(zo,"JsonImporter/lambda$7$Type",897),N(898,1,{},EKe),F(zo,"JsonImporter/lambda$8$Type",898),N(901,1,{},TKe),F(zo,"JsonImporter/lambda$9$Type",901),N(948,1,vr,SKe),u.td=function(t){Ek(this.a,new p4(wi(t)))},F(zo,"JsonMetaDataConverter/lambda$0$Type",948),N(949,1,vr,CKe),u.td=function(t){Eun(this.a,l(t,237))},F(zo,"JsonMetaDataConverter/lambda$1$Type",949),N(950,1,vr,AKe),u.td=function(t){_fn(this.a,l(t,149))},F(zo,"JsonMetaDataConverter/lambda$2$Type",950),N(951,1,vr,MKe),u.td=function(t){Tun(this.a,l(t,175))},F(zo,"JsonMetaDataConverter/lambda$3$Type",951),N(237,22,{3:1,35:1,22:1,237:1},gk);var sX,aX,Spe,oX,cX,lX,Cpe,Ape,uX=_i(xR,"GraphFeature",237,Si,W0n,Ycn),W7t;N(13,1,{35:1,146:1},Xs,Ua,Nn,Cc),u.wd=function(t){return Psn(this,l(t,146))},u.Fb=function(t){return sit(this,t)},u.wg=function(){return zt(this)},u.tg=function(){return this.b},u.Hb=function(){return Nm(this.b)},u.Ib=function(){return this.b},F(xR,"Property",13),N(818,1,As,hye),u.ue=function(t,n){return Zmn(this,l(t,94),l(n,94))},u.Fb=function(t){return this===t},u.ve=function(){return new be(this)},F(xR,"PropertyHolderComparator",818),N(695,1,ko,fye),u.Nb=function(t){jo(this,t)},u.Pb=function(){return c0n(this)},u.Qb=function(){xXe()},u.Ob=function(){return!!this.a},F(MW,"ElkGraphUtil/AncestorIterator",695);var FPe=na(uc,"EList");N(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),u.Vc=function(t,n){mM(this,t,n)},u.Fc=function(t){return fi(this,t)},u.Wc=function(t,n){return pxe(this,t,n)},u.Gc=function(t){return ga(this,t)},u.Zh=function(){return new vk(this)},u.$h=function(){return new yP(this)},u._h=function(t){return hN(this,t)},u.ai=function(){return!0},u.bi=function(t,n){},u.ci=function(){},u.di=function(t,n){qce(this,t,n)},u.ei=function(t,n,r){},u.fi=function(t,n){},u.gi=function(t,n,r){},u.Fb=function(t){return wgt(this,t)},u.Hb=function(){return uxe(this)},u.hi=function(){return!1},u.Kc=function(){return new Ir(this)},u.Yc=function(){return new mk(this)},u.Zc=function(t){var n;if(n=this.gc(),t<0||t>n)throw ue(new h4(t,n));return new Yoe(this,t)},u.ji=function(t,n){this.ii(t,this.Xc(n))},u.Mc=function(t){return Kq(this,t)},u.li=function(t,n){return n},u._c=function(t,n){return z6(this,t,n)},u.Ib=function(){return nke(this)},u.ni=function(){return!0},u.oi=function(t,n){return QE(this,n)},F(uc,"AbstractEList",67),N(63,67,Cg,Hx,hy,nxe),u.Vh=function(t,n){return Rue(this,t,n)},u.Wh=function(t){return _ft(this,t)},u.Xh=function(t,n){SN(this,t,n)},u.Yh=function(t){KP(this,t)},u.pi=function(t){return k_e(this,t)},u.$b=function(){tM(this)},u.Hc=function(t){return f9(this,t)},u.Xb=function(t){return Re(this,t)},u.qi=function(t){var n,r,i;++this.j,r=this.g==null?0:this.g.length,t>r&&(i=this.g,n=r+(r/2|0)+4,n<t&&(n=t),this.g=this.ri(n),i!=null&&du(i,0,this.g,0,this.i))},u.Xc=function(t){return zft(this,t)},u.dc=function(){return this.i==0},u.ii=function(t,n){return Yue(this,t,n)},u.ri=function(t){return Ue(xr,Ht,1,t,5,1)},u.ki=function(t){return this.g[t]},u.$c=function(t){return qk(this,t)},u.mi=function(t,n){return tle(this,t,n)},u.gc=function(){return this.i},u.Pc=function(){return K6e(this)},u.Qc=function(t){return gke(this,t)},u.i=0;var jPe=F(uc,"BasicEList",63),$Pe=na(uc,"TreeIterator");N(694,63,n1e),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.g==null&&!this.c?I6e(this):this.g==null||this.i!=0&&l(this.g[this.i-1],47).Ob()},u.Pb=function(){return pG(this)},u.Qb=function(){if(!this.e)throw ue(new pl("There is no valid object to remove."));this.e.Qb()},u.c=!1,F(uc,"AbstractTreeIterator",694),N(685,694,n1e,Z3e),u.si=function(t){var n;return n=l(t,56).Wg().Kc(),Le(n,279)&&l(n,279).Nk(new tie),n},F(MW,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),N(952,1,{},tie),F(MW,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var WB,Mpe,KB=F(MW,"ElkReflect",null);N(889,1,J4,dC),u.vg=function(t){return kq(),D1n(l(t,174))},F(MW,"ElkReflect/lambda$0$Type",889);var Ab;na(uc,"ResourceLocator"),N(1051,1,{}),F(uc,"DelegatingResourceLocator",1051),N(1052,1051,{}),F("org.eclipse.emf.common","EMFPlugin",1052);var Lpe=na(gwt,"Adapter"),bSn=na(gwt,"Notification");N(1153,1,TSe),u.ti=function(){return this.d},u.ui=function(t){},u.vi=function(t){this.d=t},u.wi=function(t){this.d==t&&(this.d=null)},u.d=null,F(l8,"AdapterImpl",1153),N(1995,67,pwt),u.Vh=function(t,n){return cke(this,t,n)},u.Wh=function(t){var n,r,i;if(++this.j,t.dc())return!1;for(n=this.Vi(),i=t.Kc();i.Ob();)r=i.Pb(),this.Ii(this.oi(n,r)),++n;return!0},u.Xh=function(t,n){Bet(this,t,n)},u.Yh=function(t){hrt(this,t)},u.Gi=function(){return this.Ji()},u.$b=function(){EP(this,this.Vi(),this.Wi())},u.Hc=function(t){return this.Li(t)},u.Ic=function(t){return this.Mi(t)},u.Hi=function(t,n){this.Si().jm()},u.Ii=function(t){this.Si().jm()},u.Ji=function(){return this.Si()},u.Ki=function(){this.Si().jm()},u.Li=function(t){return this.Si().jm()},u.Mi=function(t){return this.Si().jm()},u.Ni=function(t){return this.Si().jm()},u.Oi=function(t){return this.Si().jm()},u.Pi=function(){return this.Si().jm()},u.Qi=function(t){return this.Si().jm()},u.Ri=function(){return this.Si().jm()},u.Ti=function(t){return this.Si().jm()},u.Ui=function(t,n){return this.Si().jm()},u.Vi=function(){return this.Si().jm()},u.Wi=function(){return this.Si().jm()},u.Xi=function(t){return this.Si().jm()},u.Yi=function(){return this.Si().jm()},u.Fb=function(t){return this.Ni(t)},u.Xb=function(t){return this.li(t,this.Oi(t))},u.Hb=function(){return this.Pi()},u.Xc=function(t){return this.Qi(t)},u.dc=function(){return this.Ri()},u.ii=function(t,n){return T8e(this,t,n)},u.ki=function(t){return this.Oi(t)},u.$c=function(t){return HV(this,t)},u.Mc=function(t){var n;return n=this.Xc(t),n>=0?(this.$c(n),!0):!1},u.mi=function(t,n){return this.Ui(t,this.oi(t,n))},u.gc=function(){return this.Vi()},u.Pc=function(){return this.Wi()},u.Qc=function(t){return this.Xi(t)},u.Ib=function(){return this.Yi()},F(uc,"DelegatingEList",1995),N(1996,1995,pwt),u.Vh=function(t,n){return W7e(this,t,n)},u.Wh=function(t){return this.Vh(this.Vi(),t)},u.Xh=function(t,n){i0t(this,t,n)},u.Yh=function(t){Y1t(this,t)},u.ai=function(){return!this.bj()},u.$b=function(){zM(this)},u.Zi=function(t,n,r,i,a){return new oit(this,t,n,r,i,a)},u.$i=function(t){us(this.Ai(),t)},u._i=function(){return null},u.aj=function(){return-1},u.Ai=function(){return null},u.bj=function(){return!1},u.cj=function(t,n){return n},u.dj=function(t,n){return n},u.ej=function(){return!1},u.fj=function(){return!this.Ri()},u.ii=function(t,n){var r,i;return this.ej()?(i=this.fj(),r=T8e(this,t,n),this.$i(this.Zi(7,St(n),r,t,i)),r):T8e(this,t,n)},u.$c=function(t){var n,r,i,a;return this.ej()?(r=null,i=this.fj(),n=this.Zi(4,a=HV(this,t),null,t,i),this.bj()&&a?(r=this.dj(a,r),r?(r.Ei(n),r.Fi()):this.$i(n)):r?(r.Ei(n),r.Fi()):this.$i(n),a):(a=HV(this,t),this.bj()&&a&&(r=this.dj(a,null),r&&r.Fi()),a)},u.mi=function(t,n){return fpt(this,t,n)},F(l8,"DelegatingNotifyingListImpl",1996),N(143,1,RR),u.Ei=function(t){return f8e(this,t)},u.Fi=function(){Jce(this)},u.xi=function(){return this.d},u._i=function(){return null},u.gj=function(){return null},u.yi=function(t){return-1},u.zi=function(){return Z0t(this)},u.Ai=function(){return null},u.Bi=function(){return A7e(this)},u.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},u.hj=function(){return!1},u.Di=function(t){var n,r,i,a,h,d,b,E,C,P,$;switch(this.d){case 1:case 2:switch(a=t.xi(),a){case 1:case 2:if(h=t.Ai(),Je(h)===Je(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0}case 4:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),Je(h)===Je(this.Ai())&&this.yi(null)==t.yi(null))return C=uEe(this),E=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,d=t.Ci(),this.d=6,$=new hy(2),E<=d?(fi($,this.n),fi($,t.Bi()),this.g=pe(de(ri,1),Pi,25,15,[this.o=E,d+1])):(fi($,t.Bi()),fi($,this.n),this.g=pe(de(ri,1),Pi,25,15,[this.o=d,E])),this.n=$,C||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),Je(h)===Je(this.Ai())&&this.yi(null)==t.yi(null)){for(C=uEe(this),d=t.Ci(),P=l(this.g,48),i=Ue(ri,Pi,25,P.length+1,15,1),n=0;n<P.length&&(b=P[n],b<=d);)i[n++]=b,++d;for(r=l(this.n,15),r.Vc(n,t.Bi()),i[n]=d;++n<i.length;)i[n]=P[n-1];return this.g=i,C||(this.o=-2-i[0]),!0}break}}break}}return!1},u.Ib=function(){var t,n,r,i;switch(i=new Ed(Ov(this.gm)+"@"+(n=Ws(this)>>>0,n.toString(16))),i.a+=" (eventType: ",this.d){case 1:{i.a+="SET";break}case 2:{i.a+="UNSET";break}case 3:{i.a+="ADD";break}case 5:{i.a+="ADD_MANY";break}case 4:{i.a+="REMOVE";break}case 6:{i.a+="REMOVE_MANY";break}case 7:{i.a+="MOVE";break}case 8:{i.a+="REMOVING_ADAPTER";break}case 9:{i.a+="RESOLVE";break}default:{bae(i,this.d);break}}if($gt(this)&&(i.a+=", touch: true"),i.a+=", position: ",bae(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",EA(i,this.Ai()),i.a+=", feature: ",EA(i,this._i()),i.a+=", oldValue: ",EA(i,A7e(this)),i.a+=", newValue: ",this.d==6&&Le(this.g,48)){for(r=l(this.g,48),i.a+="[",t=0;t<r.length;)i.a+=r[t],++t<r.length&&(i.a+=bc);i.a+="]"}else EA(i,Z0t(this));return i.a+=", isTouch: ",ym(i,$gt(this)),i.a+=", wasSet: ",ym(i,uEe(this)),i.a+=")",i.a},u.d=0,u.e=0,u.f=0,u.j=0,u.k=0,u.o=0,u.p=0,F(l8,"NotificationImpl",143),N(1167,143,RR,oit),u._i=function(){return this.a._i()},u.yi=function(t){return this.a.aj()},u.Ai=function(){return this.a.Ai()},F(l8,"DelegatingNotifyingListImpl/1",1167),N(242,63,Cg,zx,Iv),u.Fc=function(t){return mht(this,l(t,366))},u.Ei=function(t){return mht(this,t)},u.Fi=function(){var t,n,r;for(t=0;t<this.i;++t)n=l(this.g[t],366),r=n.Ai(),r!=null&&n.xi()!=-1&&l(r,92).Ng(n)},u.ri=function(t){return Ue(bSn,Ht,366,t,0,1)},F(l8,"NotificationChainImpl",242),N(1378,90,C2t),u.Kg=function(){return this.e},u.Mg=function(){return(this.f&1)!=0},u.f=1,F(l8,"NotifierImpl",1378),N(1993,63,Cg),u.Vh=function(t,n){return bhe(this,t,n)},u.Wh=function(t){return this.Vh(this.i,t)},u.Xh=function(t,n){t7e(this,t,n)},u.Yh=function(t){Xue(this,t)},u.ai=function(){return!this.bj()},u.$b=function(){ei(this)},u.Zi=function(t,n,r,i,a){return new cit(this,t,n,r,i,a)},u.$i=function(t){us(this.Ai(),t)},u._i=function(){return null},u.aj=function(){return-1},u.Ai=function(){return null},u.bj=function(){return!1},u.ij=function(){return!1},u.cj=function(t,n){return n},u.dj=function(t,n){return n},u.ej=function(){return!1},u.fj=function(){return this.i!=0},u.ii=function(t,n){return vM(this,t,n)},u.$c=function(t){return j4(this,t)},u.mi=function(t,n){return Cpt(this,t,n)},u.jj=function(t,n){return n},u.kj=function(t,n){return n},u.lj=function(t,n,r){return r},F(l8,"NotifyingListImpl",1993),N(1166,143,RR,cit),u._i=function(){return this.a._i()},u.yi=function(t){return this.a.aj()},u.Ai=function(){return this.a.Ai()},F(l8,"NotifyingListImpl/1",1166),N(953,63,Cg,$et),u.Hc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new BA(this),this.a=this.j),Ap(this.b,t)):f9(this,t)},u.ni=function(){return!0},u.a=0,F(uc,"AbstractEList/1",953),N(295,73,ffe,h4),F(uc,"AbstractEList/BasicIndexOutOfBoundsException",295),N(40,1,ko,Ir),u.Nb=function(t){jo(this,t)},u.mj=function(){if(this.i.j!=this.f)throw ue(new Zf)},u.nj=function(){return Ur(this)},u.Ob=function(){return this.e!=this.i.gc()},u.Pb=function(){return this.nj()},u.Qb=function(){SM(this)},u.e=0,u.f=0,u.g=-1,F(uc,"AbstractEList/EIterator",40),N(278,40,np,mk,Yoe),u.Qb=function(){SM(this)},u.Rb=function(t){kht(this,t)},u.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ea(n),Le(n,73)?(this.mj(),ue(new Gl)):ue(n)}},u.pj=function(t){Eft(this,t)},u.Sb=function(){return this.e!=0},u.Tb=function(){return this.e},u.Ub=function(){return this.oj()},u.Vb=function(){return this.e-1},u.Wb=function(t){this.pj(t)},F(uc,"AbstractEList/EListIterator",278),N(341,40,ko,vk),u.nj=function(){return lue(this)},u.Qb=function(){throw ue(new pi)},F(uc,"AbstractEList/NonResolvingEIterator",341),N(385,278,np,yP,s5e),u.Rb=function(t){throw ue(new pi)},u.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(n){throw n=ea(n),Le(n,73)?(this.mj(),ue(new Gl)):ue(n)}},u.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(n){throw n=ea(n),Le(n,73)?(this.mj(),ue(new Gl)):ue(n)}},u.Qb=function(){throw ue(new pi)},u.Wb=function(t){throw ue(new pi)},F(uc,"AbstractEList/NonResolvingEListIterator",385),N(1982,67,mwt),u.Vh=function(t,n){var r,i,a,h,d,b,E,C,P,$,K;if(a=n.gc(),a!=0){for(C=l(Kn(this.a,4),126),P=C==null?0:C.length,K=P+a,i=Ile(this,K),$=P-t,$>0&&du(C,t,i,t+a,$),E=n.Kc(),d=0;d<a;++d)b=E.Pb(),r=t+d,roe(i,r,QE(this,b));for(c9(this,i),h=0;h<a;++h)b=i[t],this.bi(t,b),++t;return!0}else return++this.j,!1},u.Wh=function(t){var n,r,i,a,h,d,b,E,C;if(i=t.gc(),i!=0){for(E=(r=l(Kn(this.a,4),126),r==null?0:r.length),C=E+i,n=Ile(this,C),b=t.Kc(),h=E;h<C;++h)d=b.Pb(),roe(n,h,QE(this,d));for(c9(this,n),a=E;a<C;++a)d=n[a],this.bi(a,d);return!0}else return++this.j,!1},u.Xh=function(t,n){var r,i,a,h;i=l(Kn(this.a,4),126),a=i==null?0:i.length,r=Ile(this,a+1),h=QE(this,n),t!=a&&du(i,t,r,t+1,a-t),la(r,t,h),c9(this,r),this.bi(t,n)},u.Yh=function(t){var n,r,i;i=(r=l(Kn(this.a,4),126),r==null?0:r.length),n=Ile(this,i+1),roe(n,i,QE(this,t)),c9(this,n),this.bi(i,t)},u.Zh=function(){return new Aat(this)},u.$h=function(){return new znt(this)},u._h=function(t){var n,r;if(r=(n=l(Kn(this.a,4),126),n==null?0:n.length),t<0||t>r)throw ue(new h4(t,r));return new brt(this,t)},u.$b=function(){var t,n;++this.j,t=l(Kn(this.a,4),126),n=t==null?0:t.length,c9(this,null),qce(this,n,t)},u.Hc=function(t){var n,r,i,a,h;if(n=l(Kn(this.a,4),126),n!=null){if(t!=null){for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],hs(t,r))return!0}else for(i=n,a=0,h=i.length;a<h;++a)if(r=i[a],Je(r)===Je(t))return!0}return!1},u.Xb=function(t){var n,r;if(n=l(Kn(this.a,4),126),r=n==null?0:n.length,t>=r)throw ue(new h4(t,r));return n[t]},u.Xc=function(t){var n,r,i;if(n=l(Kn(this.a,4),126),n!=null){if(t!=null){for(r=0,i=n.length;r<i;++r)if(hs(t,n[r]))return r}else for(r=0,i=n.length;r<i;++r)if(Je(n[r])===Je(t))return r}return-1},u.dc=function(){return l(Kn(this.a,4),126)==null},u.Kc=function(){return new Cat(this)},u.Yc=function(){return new Hnt(this)},u.Zc=function(t){var n,r;if(r=(n=l(Kn(this.a,4),126),n==null?0:n.length),t<0||t>r)throw ue(new h4(t,r));return new vrt(this,t)},u.ii=function(t,n){var r,i,a;if(r=Iht(this),a=r==null?0:r.length,t>=a)throw ue(new Qc(e1e+t+F2+a));if(n>=a)throw ue(new Qc(t1e+n+F2+a));return i=r[n],t!=n&&(t<n?du(r,t,r,t+1,n-t):du(r,n+1,r,n,t-n),la(r,t,i),c9(this,r)),i},u.ki=function(t){return l(Kn(this.a,4),126)[t]},u.$c=function(t){return k5n(this,t)},u.mi=function(t,n){var r,i;return r=Iht(this),i=r[t],roe(r,t,QE(this,n)),c9(this,r),i},u.gc=function(){var t;return t=l(Kn(this.a,4),126),t==null?0:t.length},u.Pc=function(){var t,n,r;return t=l(Kn(this.a,4),126),r=t==null?0:t.length,n=Ue(Lpe,a1e,415,r,0,1),r>0&&du(t,0,n,0,r),n},u.Qc=function(t){var n,r,i;return n=l(Kn(this.a,4),126),i=n==null?0:n.length,i>0&&(t.length<i&&(r=uN(tf(t).c,i),t=r),du(n,0,t,0,i)),t.length>i&&la(t,i,null),t};var K7t;F(uc,"ArrayDelegatingEList",1982),N(1038,40,ko,Cat),u.mj=function(){if(this.b.j!=this.f||Je(l(Kn(this.b.a,4),126))!==Je(this.a))throw ue(new Zf)},u.Qb=function(){SM(this),this.a=l(Kn(this.b.a,4),126)},F(uc,"ArrayDelegatingEList/EIterator",1038),N(706,278,np,Hnt,vrt),u.mj=function(){if(this.b.j!=this.f||Je(l(Kn(this.b.a,4),126))!==Je(this.a))throw ue(new Zf)},u.pj=function(t){Eft(this,t),this.a=l(Kn(this.b.a,4),126)},u.Qb=function(){SM(this),this.a=l(Kn(this.b.a,4),126)},F(uc,"ArrayDelegatingEList/EListIterator",706),N(1039,341,ko,Aat),u.mj=function(){if(this.b.j!=this.f||Je(l(Kn(this.b.a,4),126))!==Je(this.a))throw ue(new Zf)},F(uc,"ArrayDelegatingEList/NonResolvingEIterator",1039),N(707,385,np,znt,brt),u.mj=function(){if(this.b.j!=this.f||Je(l(Kn(this.b.a,4),126))!==Je(this.a))throw ue(new Zf)},F(uc,"ArrayDelegatingEList/NonResolvingEListIterator",707),N(606,295,ffe,Zae),F(uc,"BasicEList/BasicIndexOutOfBoundsException",606),N(696,63,Cg,q3e),u.Vc=function(t,n){throw ue(new pi)},u.Fc=function(t){throw ue(new pi)},u.Wc=function(t,n){throw ue(new pi)},u.Gc=function(t){throw ue(new pi)},u.$b=function(){throw ue(new pi)},u.qi=function(t){throw ue(new pi)},u.Kc=function(){return this.Zh()},u.Yc=function(){return this.$h()},u.Zc=function(t){return this._h(t)},u.ii=function(t,n){throw ue(new pi)},u.ji=function(t,n){throw ue(new pi)},u.$c=function(t){throw ue(new pi)},u.Mc=function(t){throw ue(new pi)},u._c=function(t,n){throw ue(new pi)},F(uc,"BasicEList/UnmodifiableEList",696),N(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),u.Vc=function(t,n){Esn(this,t,l(n,42))},u.Fc=function(t){return uan(this,l(t,42))},u.Jc=function(t){Ho(this,t)},u.Xb=function(t){return l(Re(this.c,t),133)},u.ii=function(t,n){return l(this.c.ii(t,n),42)},u.ji=function(t,n){Tsn(this,t,l(n,42))},u.Lc=function(){return new jn(null,new zn(this,16))},u.$c=function(t){return l(this.c.$c(t),42)},u._c=function(t,n){return bun(this,t,l(n,42))},u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.Oc=function(){return new jn(null,new zn(this,16))},u.Wc=function(t,n){return this.c.Wc(t,n)},u.Gc=function(t){return this.c.Gc(t)},u.$b=function(){this.c.$b()},u.Hc=function(t){return this.c.Hc(t)},u.Ic=function(t){return mN(this.c,t)},u.qj=function(){var t,n,r;if(this.d==null){for(this.d=Ue(jPe,SSe,63,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=l(n.nj(),133),QU(this,t);this.e=r}},u.Fb=function(t){return dtt(this,t)},u.Hb=function(){return uxe(this.c)},u.Xc=function(t){return this.c.Xc(t)},u.rj=function(){this.c=new IKe(this)},u.dc=function(){return this.f==0},u.Kc=function(){return this.c.Kc()},u.Yc=function(){return this.c.Yc()},u.Zc=function(t){return this.c.Zc(t)},u.sj=function(){return QP(this)},u.tj=function(t,n,r){return new Ltt(t,n,r)},u.uj=function(){return new xv},u.Mc=function(t){return Gct(this,t)},u.gc=function(){return this.f},u.bd=function(t,n){return new Qg(this.c,t,n)},u.Pc=function(){return this.c.Pc()},u.Qc=function(t){return this.c.Qc(t)},u.Ib=function(){return nke(this.c)},u.e=0,u.f=0,F(uc,"BasicEMap",705),N(1033,63,Cg,IKe),u.bi=function(t,n){orn(this,l(n,133))},u.ei=function(t,n,r){var i;++(i=this,l(n,133),i).a.e},u.fi=function(t,n){crn(this,l(n,133))},u.gi=function(t,n,r){Qsn(this,l(n,133),l(r,133))},u.di=function(t,n){Rlt(this.a)},F(uc,"BasicEMap/1",1033),N(1034,63,Cg,xv),u.ri=function(t){return Ue(wSn,vwt,612,t,0,1)},F(uc,"BasicEMap/2",1034),N(1035,P0,Oh,OKe),u.$b=function(){this.a.c.$b()},u.Hc=function(t){return eue(this.a,t)},u.Kc=function(){return this.a.f==0?(fE(),YB.a):new dXe(this.a)},u.Mc=function(t){var n;return n=this.a.f,$U(this.a,t),this.a.f!=n},u.gc=function(){return this.a.f},F(uc,"BasicEMap/3",1035),N(1036,28,q4,DKe),u.$b=function(){this.a.c.$b()},u.Hc=function(t){return ygt(this.a,t)},u.Kc=function(){return this.a.f==0?(fE(),YB.a):new gXe(this.a)},u.gc=function(){return this.a.f},F(uc,"BasicEMap/4",1036),N(1037,P0,Oh,PKe),u.$b=function(){this.a.c.$b()},u.Hc=function(t){var n,r,i,a,h,d,b,E,C;if(this.a.f>0&&Le(t,42)&&(this.a.qj(),E=l(t,42),b=E.cd(),a=b==null?0:Ws(b),h=U4e(this.a,a),n=this.a.d[h],n)){for(r=l(n.g,367),C=n.i,d=0;d<C;++d)if(i=r[d],i.Sh()==a&&i.Fb(E))return!0}return!1},u.Kc=function(){return this.a.f==0?(fE(),YB.a):new hce(this.a)},u.Mc=function(t){return f0t(this,t)},u.gc=function(){return this.a.f},F(uc,"BasicEMap/5",1037),N(613,1,ko,hce),u.Nb=function(t){jo(this,t)},u.Ob=function(){return this.b!=-1},u.Pb=function(){var t;if(this.f.e!=this.c)throw ue(new Zf);if(this.b==-1)throw ue(new Gl);return this.d=this.a,this.e=this.b,edt(this),t=l(this.f.d[this.d].g[this.e],133),this.vj(t)},u.Qb=function(){if(this.f.e!=this.c)throw ue(new Zf);if(this.e==-1)throw ue(new Eh);this.f.c.Mc(Re(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},u.vj=function(t){return t},u.a=0,u.b=-1,u.c=0,u.d=0,u.e=0,F(uc,"BasicEMap/BasicEMapIterator",613),N(1031,613,ko,dXe),u.vj=function(t){return t.cd()},F(uc,"BasicEMap/BasicEMapKeyIterator",1031),N(1032,613,ko,gXe),u.vj=function(t){return t.dd()},F(uc,"BasicEMap/BasicEMapValueIterator",1032),N(1030,1,Dy,NKe),u.wc=function(t){lM(this,t)},u.yc=function(t,n,r){return Wle(this,t,n,r)},u.$b=function(){this.a.c.$b()},u._b=function(t){return WZe(this,t)},u.uc=function(t){return ygt(this.a,t)},u.vc=function(){return $1n(this.a)},u.Fb=function(t){return dtt(this.a,t)},u.xc=function(t){return W1(this.a,t)},u.Hb=function(){return uxe(this.a.c)},u.dc=function(){return this.a.f==0},u.ec=function(){return H1n(this.a)},u.zc=function(t,n){return iG(this.a,t,n)},u.Bc=function(t){return $U(this.a,t)},u.gc=function(){return this.a.f},u.Ib=function(){return nke(this.a.c)},u.Cc=function(){return j1n(this.a)},F(uc,"BasicEMap/DelegatingMap",1030),N(612,1,{42:1,133:1,612:1},Ltt),u.Fb=function(t){var n;return Le(t,42)?(n=l(t,42),(this.b!=null?hs(this.b,n.cd()):Je(this.b)===Je(n.cd()))&&(this.c!=null?hs(this.c,n.dd()):Je(this.c)===Je(n.dd()))):!1},u.Sh=function(){return this.a},u.cd=function(){return this.b},u.dd=function(){return this.c},u.Hb=function(){return this.a^(this.c==null?0:Ws(this.c))},u.Th=function(t){this.a=t},u.Uh=function(t){throw ue(new n2)},u.ed=function(t){var n;return n=this.c,this.c=t,n},u.Ib=function(){return this.b+"->"+this.c},u.a=0;var wSn=F(uc,"BasicEMap/EntryImpl",612);N(536,1,{},E7),F(uc,"BasicEMap/View",536);var YB;N(768,1,{}),u.Fb=function(t){return u7e((In(),Lc),t)},u.Hb=function(){return xxe((In(),Lc))},u.Ib=function(){return tb((In(),Lc))},F(uc,"ECollections/BasicEmptyUnmodifiableEList",768),N(1312,1,np,aH),u.Nb=function(t){jo(this,t)},u.Rb=function(t){throw ue(new pi)},u.Ob=function(){return!1},u.Sb=function(){return!1},u.Pb=function(){throw ue(new Gl)},u.Tb=function(){return 0},u.Ub=function(){throw ue(new Gl)},u.Vb=function(){return-1},u.Qb=function(){throw ue(new pi)},u.Wb=function(t){throw ue(new pi)},F(uc,"ECollections/BasicEmptyUnmodifiableEList/1",1312),N(1310,768,{20:1,14:1,15:1,58:1},EYe),u.Vc=function(t,n){NXe()},u.Fc=function(t){return RXe()},u.Wc=function(t,n){return BXe()},u.Gc=function(t){return FXe()},u.$b=function(){jXe()},u.Hc=function(t){return!1},u.Ic=function(t){return!1},u.Jc=function(t){Ho(this,t)},u.Xb=function(t){return W3e((In(),t)),null},u.Xc=function(t){return-1},u.dc=function(){return!0},u.Kc=function(){return this.a},u.Yc=function(){return this.a},u.Zc=function(t){return this.a},u.ii=function(t,n){return $Xe()},u.ji=function(t,n){HXe()},u.Lc=function(){return new jn(null,new zn(this,16))},u.$c=function(t){return zXe()},u.Mc=function(t){return VXe()},u._c=function(t,n){return qXe()},u.gc=function(){return 0},u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.Oc=function(){return new jn(null,new zn(this,16))},u.bd=function(t,n){return In(),new Qg(Lc,t,n)},u.Pc=function(){return W5e((In(),Lc))},u.Qc=function(t){return In(),NN(Lc,t)},F(uc,"ECollections/EmptyUnmodifiableEList",1310),N(1311,768,{20:1,14:1,15:1,58:1,589:1},TYe),u.Vc=function(t,n){NXe()},u.Fc=function(t){return RXe()},u.Wc=function(t,n){return BXe()},u.Gc=function(t){return FXe()},u.$b=function(){jXe()},u.Hc=function(t){return!1},u.Ic=function(t){return!1},u.Jc=function(t){Ho(this,t)},u.Xb=function(t){return W3e((In(),t)),null},u.Xc=function(t){return-1},u.dc=function(){return!0},u.Kc=function(){return this.a},u.Yc=function(){return this.a},u.Zc=function(t){return this.a},u.ii=function(t,n){return $Xe()},u.ji=function(t,n){HXe()},u.Lc=function(){return new jn(null,new zn(this,16))},u.$c=function(t){return zXe()},u.Mc=function(t){return VXe()},u._c=function(t,n){return qXe()},u.gc=function(){return 0},u.ad=function(t){P6(this,t)},u.Nc=function(){return new zn(this,16)},u.Oc=function(){return new jn(null,new zn(this,16))},u.bd=function(t,n){return In(),new Qg(Lc,t,n)},u.Pc=function(){return W5e((In(),Lc))},u.Qc=function(t){return In(),NN(Lc,t)},u.sj=function(){return In(),In(),lp},F(uc,"ECollections/EmptyUnmodifiableEMap",1311);var HPe=na(uc,"Enumerator"),hX;N(281,1,{281:1},che),u.Fb=function(t){var n;return this===t?!0:Le(t,281)?(n=l(t,281),this.f==n.f&&jln(this.i,n.i)&&Noe(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&Noe(this.d,n.d)&&Noe(this.g,n.g)&&Noe(this.e,n.e)&&Dbn(this,n)):!1},u.Hb=function(){return this.f},u.Ib=function(){return Qgt(this)},u.f=0;var Y7t=0,X7t=0,Q7t=0,Z7t=0,zPe=0,VPe=0,qPe=0,UPe=0,GPe=0,J7t,_I=0,xI=0,eEt=0,tEt=0,fX,WPe;F(uc,"URI",281),N(1091,43,s_,SYe),u.zc=function(t,n){return l(Jc(this,wi(t),l(n,281)),281)},F(uc,"URI/URICache",1091),N(497,63,Cg,T7,VV),u.hi=function(){return!0},F(uc,"UniqueEList",497),N(581,60,Wp,Uq),F(uc,"WrappedException",581);var Ri=na(ud,ywt),k5=na(ud,_wt),_h=na(ud,xwt),E5=na(ud,kwt),n0=na(ud,Ewt),qd=na(ud,"EClass"),Ipe=na(ud,"EDataType"),nEt;N(1183,43,s_,CYe),u.xc=function(t){return _o(t)?xu(this,t):Bl(cl(this.f,t))},F(ud,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var dX=na(ud,"EEnum"),nm=na(ud,Twt),Fc=na(ud,Swt),Ud=na(ud,Cwt),Gd,i3=na(ud,Awt),T5=na(ud,Mwt);N(1029,1,{},eie),u.Ib=function(){return"NIL"},F(ud,"EStructuralFeature/Internal/DynamicValueHolder/1",1029);var rEt;N(1028,43,s_,AYe),u.xc=function(t){return _o(t)?xu(this,t):Bl(cl(this.f,t))},F(ud,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var Qu=na(ud,Lwt),O8=na(ud,"EValidator/PatternMatcher"),KPe,YPe,Gn,Qm,S5,Mb,iEt,sEt,aEt,Lb,Zm,Ib,s3,U0,oEt,cEt,Wd,Jm,lEt,ev,C5,H_,_c,uEt,hEt,a3,gX=na(Vs,"FeatureMap/Entry");N(535,1,{72:1},cV),u.ak=function(){return this.a},u.dd=function(){return this.b},F(Wn,"BasicEObjectImpl/1",535),N(1027,1,o1e,$Ze),u.Wj=function(t){return zce(this.a,this.b,t)},u.fj=function(){return xit(this.a,this.b)},u.Wb=function(t){M6e(this.a,this.b,t)},u.Xj=function(){Nun(this.a,this.b)},F(Wn,"BasicEObjectImpl/4",1027),N(1983,1,{108:1}),u.bk=function(t){this.e=t==0?fEt:Ue(xr,Ht,1,t,5,1)},u.Ch=function(t){return this.e[t]},u.Dh=function(t,n){this.e[t]=n},u.Eh=function(t){this.e[t]=null},u.ck=function(){return this.c},u.dk=function(){throw ue(new pi)},u.ek=function(){throw ue(new pi)},u.fk=function(){return this.d},u.gk=function(){return this.e!=null},u.hk=function(t){this.c=t},u.ik=function(t){throw ue(new pi)},u.jk=function(t){throw ue(new pi)},u.kk=function(t){this.d=t};var fEt;F(Wn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),N(185,1983,{108:1},Qf),u.dk=function(){return this.a},u.ek=function(){return this.b},u.ik=function(t){this.a=t},u.jk=function(t){this.b=t},F(Wn,"BasicEObjectImpl/EPropertiesHolderImpl",185),N(506,97,I2t,S7),u.Kg=function(){return this.f},u.Pg=function(){return this.k},u.Rg=function(t,n){this.g=t,this.i=n},u.Tg=function(){return this.j&2?this.ph().ck():this.zh()},u.Vg=function(){return this.i},u.Mg=function(){return(this.j&1)!=0},u.eh=function(){return this.g},u.kh=function(){return(this.j&4)!=0},u.ph=function(){return!this.k&&(this.k=new Qf),this.k},u.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},u.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},u.zh=function(){return(Vv(),Gn).S},u.i=0,u.j=1,F(Wn,"EObjectImpl",506),N(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},M5e),u.Ch=function(t){return this.e[t]},u.Dh=function(t,n){this.e[t]=n},u.Eh=function(t){this.e[t]=null},u.Tg=function(){return this.d},u.Yg=function(t){return Qs(this.d,t)},u.$g=function(){return this.d},u.dh=function(){return this.e!=null},u.ph=function(){return!this.k&&(this.k=new oH),this.k},u.th=function(t){this.d=t},u.yh=function(){var t;return this.e==null&&(t=Er(this.d),this.e=t==0?dEt:Ue(xr,Ht,1,t,5,1)),this},u.Ah=function(){return 0};var dEt;F(Wn,"DynamicEObjectImpl",780),N(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},rnt),u.Fb=function(t){return this===t},u.Hb=function(){return Kw(this)},u.th=function(t){this.d=t,this.b=JN(t,"key"),this.c=JN(t,fL)},u.Sh=function(){var t;return this.a==-1&&(t=ele(this,this.b),this.a=t==null?0:Ws(t)),this.a},u.cd=function(){return ele(this,this.b)},u.dd=function(){return ele(this,this.c)},u.Th=function(t){this.a=t},u.Uh=function(t){M6e(this,this.b,t)},u.ed=function(t){var n;return n=ele(this,this.c),M6e(this,this.c,t),n},u.a=0,F(Wn,"DynamicEObjectImpl/BasicEMapEntry",1376),N(1377,1,{108:1},oH),u.bk=function(t){throw ue(new pi)},u.Ch=function(t){throw ue(new pi)},u.Dh=function(t,n){throw ue(new pi)},u.Eh=function(t){throw ue(new pi)},u.ck=function(){throw ue(new pi)},u.dk=function(){return this.a},u.ek=function(){return this.b},u.fk=function(){return this.c},u.gk=function(){throw ue(new pi)},u.hk=function(t){throw ue(new pi)},u.ik=function(t){this.a=t},u.jk=function(t){this.b=t},u.kk=function(t){this.c=t},F(Wn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),N(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},cH),u.Qg=function(t){return Kke(this,t)},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new mf((Sn(),_c),ql,this)),this.b):(!this.b&&(this.b=new mf((Sn(),_c),ql,this)),QP(this.b));case 3:return Cit(this);case 4:return!this.a&&(this.a=new Ba(Sb,this,4)),this.a;case 5:return!this.c&&(this.c=new T6(Sb,this,5)),this.c}return id(this,t-Er((Sn(),Qm)),Rn((i=l(Kn(this,16),26),i||Qm),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 3:return this.Cb&&(r=(a=this.Db>>16,a>=0?Kke(this,r):this.Cb.ih(this,-1-a,null,r))),U5e(this,l(t,147),r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Qm)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),Qm)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 2:return!this.b&&(this.b=new mf((Sn(),_c),ql,this)),IV(this.b,t,r);case 3:return U5e(this,null,r);case 4:return!this.a&&(this.a=new Ba(Sb,this,4)),lc(this.a,t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Qm)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Qm)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!Cit(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return nd(this,t-Er((Sn(),Qm)),Rn((n=l(Kn(this,16),26),n||Qm),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Eln(this,wi(n));return;case 2:!this.b&&(this.b=new mf((Sn(),_c),ql,this)),wU(this.b,n);return;case 3:H0t(this,l(n,147));return;case 4:!this.a&&(this.a=new Ba(Sb,this,4)),ei(this.a),!this.a&&(this.a=new Ba(Sb,this,4)),ga(this.a,l(n,14));return;case 5:!this.c&&(this.c=new T6(Sb,this,5)),ei(this.c),!this.c&&(this.c=new T6(Sb,this,5)),ga(this.c,l(n,14));return}ld(this,t-Er((Sn(),Qm)),Rn((r=l(Kn(this,16),26),r||Qm),t),n)},u.zh=function(){return Sn(),Qm},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Y_e(this,null);return;case 2:!this.b&&(this.b=new mf((Sn(),_c),ql,this)),this.b.c.$b();return;case 3:H0t(this,null);return;case 4:!this.a&&(this.a=new Ba(Sb,this,4)),ei(this.a);return;case 5:!this.c&&(this.c=new T6(Sb,this,5)),ei(this.c);return}od(this,t-Er((Sn(),Qm)),Rn((n=l(Kn(this,16),26),n||Qm),t))},u.Ib=function(){return nht(this)},u.d=null,F(Wn,"EAnnotationImpl",510),N(151,705,CSe,yf),u.Xh=function(t,n){asn(this,t,l(n,42))},u.lk=function(t,n){return eon(this,l(t,42),n)},u.pi=function(t){return l(l(this.c,69).pi(t),133)},u.Zh=function(){return l(this.c,69).Zh()},u.$h=function(){return l(this.c,69).$h()},u._h=function(t){return l(this.c,69)._h(t)},u.mk=function(t,n){return IV(this,t,n)},u.Wj=function(t){return l(this.c,76).Wj(t)},u.rj=function(){},u.fj=function(){return l(this.c,76).fj()},u.tj=function(t,n,r){var i;return i=l(Df(this.b).Nh().Jh(this.b),133),i.Th(t),i.Uh(n),i.ed(r),i},u.uj=function(){return new gye(this)},u.Wb=function(t){wU(this,t)},u.Xj=function(){l(this.c,76).Xj()},F(Vs,"EcoreEMap",151),N(158,151,CSe,mf),u.qj=function(){var t,n,r,i,a,h;if(this.d==null){for(h=Ue(jPe,SSe,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=l(r.nj(),133),i=n.Sh(),a=(i&as)%h.length,t=h[a],!t&&(t=h[a]=new gye(this)),t.Fc(n);this.d=h}},F(Wn,"EAnnotationImpl/1",158),N(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),u._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),!!this.$j();case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q}return id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 9:return Zoe(this,r)}return a=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,Uu(this),n-Er(this.zh()),t,r)},u.lh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0)}return nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:this.Lh(wi(n));return;case 2:Om(this,Zt(Xt(n)));return;case 3:Dm(this,Zt(Xt(n)));return;case 4:Mm(this,l(n,19).a);return;case 5:this.ok(l(n,19).a);return;case 8:k2(this,l(n,138));return;case 9:i=D0(this,l(n,87),null),i&&i.Fi();return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.zh=function(){return Sn(),hEt},u.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:this.Lh(null);return;case 2:Om(this,!0);return;case 3:Dm(this,!0);return;case 4:Mm(this,0);return;case 5:this.ok(1);return;case 8:k2(this,null);return;case 9:r=D0(this,null,null),r&&r.Fi();return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.Gh=function(){Md(this),this.Bb|=1},u.Yj=function(){return Md(this)},u.Zj=function(){return this.t},u.$j=function(){var t;return t=this.t,t>1||t==-1},u.hi=function(){return(this.Bb&512)!=0},u.nk=function(t,n){return Vxe(this,t,n)},u.ok=function(t){S4(this,t)},u.Ib=function(){return e7e(this)},u.s=0,u.t=1,F(Wn,"ETypedElementImpl",284),N(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),u.Qg=function(t){return Fft(this,t)},u._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),!!this.$j();case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q;case 10:return er(),!!(this.Bb&b1);case 11:return er(),!!(this.Bb&e5);case 12:return er(),!!(this.Bb&G4);case 13:return this.j;case 14:return w9(this);case 15:return er(),!!(this.Bb&Ph);case 16:return er(),!!(this.Bb&vg);case 17:return v4(this)}return id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 17:return this.Cb&&(r=(a=this.Db>>16,a>=0?Fft(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,17,r)}return h=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,Uu(this),n-Er(this.zh()),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 9:return Zoe(this,r);case 17:return Ff(this,null,17,r)}return a=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,Uu(this),n-Er(this.zh()),t,r)},u.lh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.$j();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0);case 10:return(this.Bb&b1)==0;case 11:return(this.Bb&e5)!=0;case 12:return(this.Bb&G4)!=0;case 13:return this.j!=null;case 14:return w9(this)!=null;case 15:return(this.Bb&Ph)!=0;case 16:return(this.Bb&vg)!=0;case 17:return!!v4(this)}return nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Sce(this,wi(n));return;case 2:Om(this,Zt(Xt(n)));return;case 3:Dm(this,Zt(Xt(n)));return;case 4:Mm(this,l(n,19).a);return;case 5:this.ok(l(n,19).a);return;case 8:k2(this,l(n,138));return;case 9:i=D0(this,l(n,87),null),i&&i.Fi();return;case 10:n9(this,Zt(Xt(n)));return;case 11:s9(this,Zt(Xt(n)));return;case 12:r9(this,Zt(Xt(n)));return;case 13:U3e(this,wi(n));return;case 15:i9(this,Zt(Xt(n)));return;case 16:a9(this,Zt(Xt(n)));return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.zh=function(){return Sn(),uEt},u.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,88)&&B4(Jh(l(this.Cb,88)),4),Ru(this,null);return;case 2:Om(this,!0);return;case 3:Dm(this,!0);return;case 4:Mm(this,0);return;case 5:this.ok(1);return;case 8:k2(this,null);return;case 9:r=D0(this,null,null),r&&r.Fi();return;case 10:n9(this,!0);return;case 11:s9(this,!1);return;case 12:r9(this,!1);return;case 13:this.i=null,uU(this,null);return;case 15:i9(this,!1);return;case 16:a9(this,!1);return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.Gh=function(){xE(tl((Ih(),Vo),this)),Md(this),this.Bb|=1},u.Gj=function(){return this.f},u.zj=function(){return w9(this)},u.Hj=function(){return v4(this)},u.Lj=function(){return null},u.pk=function(){return this.k},u.aj=function(){return this.n},u.Mj=function(){return aG(this)},u.Nj=function(){var t,n,r,i,a,h,d,b,E;return this.p||(r=v4(this),(r.i==null&&mg(r),r.i).length,i=this.Lj(),i&&Er(v4(i)),a=Md(this),d=a.Bj(),t=d?d.i&1?d==uf?Ya:d==ri?hc:d==M5?X9:d==Eo?Mo:d==Db?Hy:d==U_?zy:d==Rh?u8:kL:d:null,n=w9(this),b=a.zj(),ivn(this),this.Bb&vg&&((h=t8e((Ih(),Vo),r))&&h!=this||(h=Mk(tl(Vo,this))))?this.p=new zZe(this,h):this.$j()?this.rk()?i?this.Bb&Ph?t?this.sk()?this.p=new l2(47,t,this,i):this.p=new l2(5,t,this,i):this.sk()?this.p=new f2(46,this,i):this.p=new f2(4,this,i):t?this.sk()?this.p=new l2(49,t,this,i):this.p=new l2(7,t,this,i):this.sk()?this.p=new f2(48,this,i):this.p=new f2(6,this,i):this.Bb&Ph?t?t==H2?this.p=new km(50,G7t,this):this.sk()?this.p=new km(43,t,this):this.p=new km(1,t,this):this.sk()?this.p=new Tm(42,this):this.p=new Tm(0,this):t?t==H2?this.p=new km(41,G7t,this):this.sk()?this.p=new km(45,t,this):this.p=new km(3,t,this):this.sk()?this.p=new Tm(44,this):this.p=new Tm(2,this):Le(a,148)?t==gX?this.p=new Tm(40,this):this.Bb&512?this.Bb&Ph?t?this.p=new km(9,t,this):this.p=new Tm(8,this):t?this.p=new km(11,t,this):this.p=new Tm(10,this):this.Bb&Ph?t?this.p=new km(13,t,this):this.p=new Tm(12,this):t?this.p=new km(15,t,this):this.p=new Tm(14,this):i?(E=i.t,E>1||E==-1?this.sk()?this.Bb&Ph?t?this.p=new l2(25,t,this,i):this.p=new f2(24,this,i):t?this.p=new l2(27,t,this,i):this.p=new f2(26,this,i):this.Bb&Ph?t?this.p=new l2(29,t,this,i):this.p=new f2(28,this,i):t?this.p=new l2(31,t,this,i):this.p=new f2(30,this,i):this.sk()?this.Bb&Ph?t?this.p=new l2(33,t,this,i):this.p=new f2(32,this,i):t?this.p=new l2(35,t,this,i):this.p=new f2(34,this,i):this.Bb&Ph?t?this.p=new l2(37,t,this,i):this.p=new f2(36,this,i):t?this.p=new l2(39,t,this,i):this.p=new f2(38,this,i)):this.sk()?this.Bb&Ph?t?this.p=new km(17,t,this):this.p=new Tm(16,this):t?this.p=new km(19,t,this):this.p=new Tm(18,this):this.Bb&Ph?t?this.p=new km(21,t,this):this.p=new Tm(20,this):t?this.p=new km(23,t,this):this.p=new Tm(22,this):this.qk()?this.sk()?this.p=new Itt(l(a,26),this,i):this.p=new A6e(l(a,26),this,i):Le(a,148)?t==gX?this.p=new Tm(40,this):this.Bb&Ph?t?this.p=new Mnt(n,b,this,(Jle(),d==ri?nNe:d==uf?QPe:d==Db?rNe:d==M5?tNe:d==Eo?eNe:d==U_?iNe:d==Rh?ZPe:d==md?JPe:Ppe)):this.p=new Hrt(l(a,148),n,b,this):t?this.p=new Ant(n,b,this,(Jle(),d==ri?nNe:d==uf?QPe:d==Db?rNe:d==M5?tNe:d==Eo?eNe:d==U_?iNe:d==Rh?ZPe:d==md?JPe:Ppe)):this.p=new $rt(l(a,148),n,b,this):this.rk()?i?this.Bb&Ph?this.sk()?this.p=new Dtt(l(a,26),this,i):this.p=new w5e(l(a,26),this,i):this.sk()?this.p=new Ott(l(a,26),this,i):this.p=new Aoe(l(a,26),this,i):this.Bb&Ph?this.sk()?this.p=new Aet(l(a,26),this):this.p=new D4e(l(a,26),this):this.sk()?this.p=new Cet(l(a,26),this):this.p=new goe(l(a,26),this):this.sk()?i?this.Bb&Ph?this.p=new Ptt(l(a,26),this,i):this.p=new v5e(l(a,26),this,i):this.Bb&Ph?this.p=new Met(l(a,26),this):this.p=new P4e(l(a,26),this):i?this.Bb&Ph?this.p=new Ntt(l(a,26),this,i):this.p=new b5e(l(a,26),this,i):this.Bb&Ph?this.p=new Let(l(a,26),this):this.p=new qV(l(a,26),this)),this.p},u.Ij=function(){return(this.Bb&b1)!=0},u.qk=function(){return!1},u.rk=function(){return!1},u.Jj=function(){return(this.Bb&vg)!=0},u.Oj=function(){return nle(this)},u.sk=function(){return!1},u.Kj=function(){return(this.Bb&Ph)!=0},u.tk=function(t){this.k=t},u.Lh=function(t){Sce(this,t)},u.Ib=function(){return EG(this)},u.e=!1,u.n=0,F(Wn,"EStructuralFeatureImpl",449),N(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},tae),u._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),!!X8e(this);case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q;case 10:return er(),!!(this.Bb&b1);case 11:return er(),!!(this.Bb&e5);case 12:return er(),!!(this.Bb&G4);case 13:return this.j;case 14:return w9(this);case 15:return er(),!!(this.Bb&Ph);case 16:return er(),!!(this.Bb&vg);case 17:return v4(this);case 18:return er(),!!(this.Bb&Yl);case 19:return n?yle(this):Hat(this)}return id(this,t-Er((Sn(),S5)),Rn((i=l(Kn(this,16),26),i||S5),t),n,r)},u.lh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return X8e(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0);case 10:return(this.Bb&b1)==0;case 11:return(this.Bb&e5)!=0;case 12:return(this.Bb&G4)!=0;case 13:return this.j!=null;case 14:return w9(this)!=null;case 15:return(this.Bb&Ph)!=0;case 16:return(this.Bb&vg)!=0;case 17:return!!v4(this);case 18:return(this.Bb&Yl)!=0;case 19:return!!Hat(this)}return nd(this,t-Er((Sn(),S5)),Rn((n=l(Kn(this,16),26),n||S5),t))},u.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Sce(this,wi(n));return;case 2:Om(this,Zt(Xt(n)));return;case 3:Dm(this,Zt(Xt(n)));return;case 4:Mm(this,l(n,19).a);return;case 5:vXe(this,l(n,19).a);return;case 8:k2(this,l(n,138));return;case 9:i=D0(this,l(n,87),null),i&&i.Fi();return;case 10:n9(this,Zt(Xt(n)));return;case 11:s9(this,Zt(Xt(n)));return;case 12:r9(this,Zt(Xt(n)));return;case 13:U3e(this,wi(n));return;case 15:i9(this,Zt(Xt(n)));return;case 16:a9(this,Zt(Xt(n)));return;case 18:Ule(this,Zt(Xt(n)));return}ld(this,t-Er((Sn(),S5)),Rn((r=l(Kn(this,16),26),r||S5),t),n)},u.zh=function(){return Sn(),S5},u.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,88)&&B4(Jh(l(this.Cb,88)),4),Ru(this,null);return;case 2:Om(this,!0);return;case 3:Dm(this,!0);return;case 4:Mm(this,0);return;case 5:this.b=0,S4(this,1);return;case 8:k2(this,null);return;case 9:r=D0(this,null,null),r&&r.Fi();return;case 10:n9(this,!0);return;case 11:s9(this,!1);return;case 12:r9(this,!1);return;case 13:this.i=null,uU(this,null);return;case 15:i9(this,!1);return;case 16:a9(this,!1);return;case 18:Ule(this,!1);return}od(this,t-Er((Sn(),S5)),Rn((n=l(Kn(this,16),26),n||S5),t))},u.Gh=function(){yle(this),xE(tl((Ih(),Vo),this)),Md(this),this.Bb|=1},u.$j=function(){return X8e(this)},u.nk=function(t,n){return this.b=0,this.a=null,Vxe(this,t,n)},u.ok=function(t){vXe(this,t)},u.Ib=function(){var t;return this.Db&64?EG(this):(t=new Ed(EG(this)),t.a+=" (iD: ",ym(t,(this.Bb&Yl)!=0),t.a+=")",t.a)},u.b=0,F(Wn,"EAttributeImpl",322),N(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),u.uk=function(t){return t.Tg()==this},u.Qg=function(t){return Tue(this,t)},u.Rg=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ty(this);case 4:return this.zj();case 5:return this.F;case 6:return n?Df(this):TE(this);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),this.A}return id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?Tue(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,6,r)}return h=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),h.Nj().Qj(this,Uu(this),n-Er(this.zh()),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 6:return Ff(this,null,6,r);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),lc(this.A,t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||this.zh()),n),66),a.Nj().Rj(this,Uu(this),n-Er(this.zh()),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ty(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!TE(this);case 7:return!!this.A&&this.A.i!=0}return nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Eq(this,wi(n));return;case 2:toe(this,wi(n));return;case 5:T9(this,wi(n));return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A),!this.A&&(this.A=new Sh(Qu,this,7)),ga(this.A,l(n,14));return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.zh=function(){return Sn(),iEt},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,179)&&(l(this.Cb,179).tb=null),Ru(this,null);return;case 2:ZE(this,null),$E(this,this.D);return;case 5:T9(this,null);return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A);return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.yj=function(){var t;return this.G==-1&&(this.G=(t=Df(this),t?Pm(t.Mh(),this):-1)),this.G},u.zj=function(){return null},u.Aj=function(){return Df(this)},u.vk=function(){return this.v},u.Bj=function(){return Ty(this)},u.Cj=function(){return this.D!=null?this.D:this.B},u.Dj=function(){return this.F},u.wj=function(t){return vhe(this,t)},u.wk=function(t){this.v=t},u.xk=function(t){vlt(this,t)},u.yk=function(t){this.C=t},u.Lh=function(t){Eq(this,t)},u.Ib=function(){return RU(this)},u.C=null,u.D=null,u.G=-1,F(Wn,"EClassifierImpl",351),N(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},ND),u.uk=function(t){return $an(this,t.Tg())},u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ty(this);case 4:return null;case 5:return this.F;case 6:return n?Df(this):TE(this);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),this.A;case 8:return er(),!!(this.Bb&256);case 9:return er(),!!(this.Bb&512);case 10:return ol(this);case 11:return!this.q&&(this.q=new _t(Ud,this,11,10)),this.q;case 12:return t_(this);case 13:return jM(this);case 14:return jM(this),this.r;case 15:return t_(this),this.k;case 16:return $8e(this);case 17:return xhe(this);case 18:return mg(this);case 19:return vG(this);case 20:return t_(this),this.o;case 21:return!this.s&&(this.s=new _t(_h,this,21,17)),this.s;case 22:return hu(this);case 23:return ohe(this)}return id(this,t-Er((Sn(),Mb)),Rn((i=l(Kn(this,16),26),i||Mb),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?Tue(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,6,r);case 11:return!this.q&&(this.q=new _t(Ud,this,11,10)),Bu(this.q,t,r);case 21:return!this.s&&(this.s=new _t(_h,this,21,17)),Bu(this.s,t,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Mb)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),Mb)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 6:return Ff(this,null,6,r);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),lc(this.A,t,r);case 11:return!this.q&&(this.q=new _t(Ud,this,11,10)),lc(this.q,t,r);case 21:return!this.s&&(this.s=new _t(_h,this,21,17)),lc(this.s,t,r);case 22:return lc(hu(this),t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Mb)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Mb)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ty(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!TE(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&hu(this.u.a).i!=0&&!(this.n&&gue(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return t_(this).i!=0;case 13:return jM(this).i!=0;case 14:return jM(this),this.r.i!=0;case 15:return t_(this),this.k.i!=0;case 16:return $8e(this).i!=0;case 17:return xhe(this).i!=0;case 18:return mg(this).i!=0;case 19:return vG(this).i!=0;case 20:return t_(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&gue(this.n);case 23:return ohe(this).i!=0}return nd(this,t-Er((Sn(),Mb)),Rn((n=l(Kn(this,16),26),n||Mb),t))},u.oh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:JN(this,t),n||vEe(this,t)},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Eq(this,wi(n));return;case 2:toe(this,wi(n));return;case 5:T9(this,wi(n));return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A),!this.A&&(this.A=new Sh(Qu,this,7)),ga(this.A,l(n,14));return;case 8:Uxe(this,Zt(Xt(n)));return;case 9:Gxe(this,Zt(Xt(n)));return;case 10:zM(ol(this)),ga(ol(this),l(n,14));return;case 11:!this.q&&(this.q=new _t(Ud,this,11,10)),ei(this.q),!this.q&&(this.q=new _t(Ud,this,11,10)),ga(this.q,l(n,14));return;case 21:!this.s&&(this.s=new _t(_h,this,21,17)),ei(this.s),!this.s&&(this.s=new _t(_h,this,21,17)),ga(this.s,l(n,14));return;case 22:ei(hu(this)),ga(hu(this),l(n,14));return}ld(this,t-Er((Sn(),Mb)),Rn((r=l(Kn(this,16),26),r||Mb),t),n)},u.zh=function(){return Sn(),Mb},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,179)&&(l(this.Cb,179).tb=null),Ru(this,null);return;case 2:ZE(this,null),$E(this,this.D);return;case 5:T9(this,null);return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A);return;case 8:Uxe(this,!1);return;case 9:Gxe(this,!1);return;case 10:this.u&&zM(this.u);return;case 11:!this.q&&(this.q=new _t(Ud,this,11,10)),ei(this.q);return;case 21:!this.s&&(this.s=new _t(_h,this,21,17)),ei(this.s);return;case 22:this.n&&ei(this.n);return}od(this,t-Er((Sn(),Mb)),Rn((n=l(Kn(this,16),26),n||Mb),t))},u.Gh=function(){var t,n;if(t_(this),jM(this),$8e(this),xhe(this),mg(this),vG(this),ohe(this),tM(rln(Jh(this))),this.s)for(t=0,n=this.s.i;t<n;++t)_P(Re(this.s,t));if(this.q)for(t=0,n=this.q.i;t<n;++t)_P(Re(this.q,t));Im((Ih(),Vo),this).ne(),this.Bb|=1},u.Ib=function(){return c8e(this)},u.k=null,u.r=null;var kI,gEt,Ope;F(Wn,"EClassImpl",88),N(1994,1993,Dwt),u.Vh=function(t,n){return bhe(this,t,n)},u.Wh=function(t){return bhe(this,this.i,t)},u.Xh=function(t,n){t7e(this,t,n)},u.Yh=function(t){Xue(this,t)},u.lk=function(t,n){return Bu(this,t,n)},u.pi=function(t){return k_e(this,t)},u.mk=function(t,n){return lc(this,t,n)},u.mi=function(t,n){return Cpt(this,t,n)},u.Zh=function(){return new vk(this)},u.$h=function(){return new yP(this)},u._h=function(t){return hN(this,t)},F(Vs,"NotifyingInternalEListImpl",1994),N(622,1994,yl),u.Hc=function(t){return Upt(this,t)},u.Zi=function(t,n,r,i,a){return YA(this,t,n,r,i,a)},u.$i=function(t){K7(this,t)},u.Wj=function(t){return this},u.ak=function(){return Rn(this.e.Tg(),this.aj())},u._i=function(){return this.ak()},u.aj=function(){return Qs(this.e.Tg(),this.ak())},u.zk=function(){return l(this.ak().Yj(),26).Bj()},u.Ak=function(){return Ac(l(this.ak(),18)).n},u.Ai=function(){return this.e},u.Bk=function(){return!0},u.Ck=function(){return!1},u.Dk=function(){return!1},u.Ek=function(){return!1},u.Xc=function(t){return Pm(this,t)},u.cj=function(t,n){var r;return r=l(t,49),this.Dk()?this.Bk()?r.gh(this.e,this.Ak(),this.zk(),n):r.gh(this.e,Qs(r.Tg(),Ac(l(this.ak(),18))),null,n):r.gh(this.e,-1-this.aj(),null,n)},u.dj=function(t,n){var r;return r=l(t,49),this.Dk()?this.Bk()?r.ih(this.e,this.Ak(),this.zk(),n):r.ih(this.e,Qs(r.Tg(),Ac(l(this.ak(),18))),null,n):r.ih(this.e,-1-this.aj(),null,n)},u.rk=function(){return!1},u.Fk=function(){return!0},u.wj=function(t){return Hst(this.d,t)},u.ej=function(){return pf(this.e)},u.fj=function(){return this.i!=0},u.ri=function(t){return uN(this.d,t)},u.li=function(t,n){return this.Fk()&&this.Ek()?Kk(this,t,l(n,56)):n},u.Gk=function(t){return t.kh()?Zv(this.e,l(t,49)):t},u.Wb=function(t){FJe(this,t)},u.Pc=function(){return Tot(this)},u.Qc=function(t){var n;if(this.Ek())for(n=this.i-1;n>=0;--n)Re(this,n);return gke(this,t)},u.Xj=function(){ei(this)},u.oi=function(t,n){return $ct(this,t,n)},F(Vs,"EcoreEList",622),N(496,622,yl,OP),u.ai=function(){return!1},u.aj=function(){return this.c},u.bj=function(){return!1},u.Fk=function(){return!0},u.hi=function(){return!0},u.li=function(t,n){return n},u.ni=function(){return!1},u.c=0,F(Vs,"EObjectEList",496),N(85,496,yl,Ba),u.bj=function(){return!0},u.Dk=function(){return!1},u.rk=function(){return!0},F(Vs,"EObjectContainmentEList",85),N(545,85,yl,yV),u.ci=function(){this.b=!0},u.fj=function(){return this.b},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.b,this.b=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.b=!1},u.b=!1,F(Vs,"EObjectContainmentEList/Unsettable",545),N(1140,545,yl,Snt),u.ii=function(t,n){var r,i;return r=l(vM(this,t,n),87),pf(this.e)&&K7(this,new JP(this.a,7,(Sn(),sEt),St(n),(i=r.c,Le(i,88)?l(i,26):Wd),t)),r},u.jj=function(t,n){return Uvn(this,l(t,87),n)},u.kj=function(t,n){return qvn(this,l(t,87),n)},u.lj=function(t,n,r){return Gwn(this,l(t,87),l(n,87),r)},u.Zi=function(t,n,r,i,a){switch(t){case 3:return YA(this,t,n,r,i,this.i>1);case 5:return YA(this,t,n,r,i,this.i-l(r,15).gc()>0);default:return new Bp(this.e,t,this.c,n,r,i,!0)}},u.ij=function(){return!0},u.fj=function(){return gue(this)},u.Xj=function(){ei(this)},F(Wn,"EClassImpl/1",1140),N(1154,1153,TSe),u.ui=function(t){var n,r,i,a,h,d,b;if(r=t.xi(),r!=8){if(i=Abn(t),i==0)switch(r){case 1:case 9:{b=t.Bi(),b!=null&&(n=Jh(l(b,473)),!n.c&&(n.c=new W3),Kq(n.c,t.Ai())),d=t.zi(),d!=null&&(a=l(d,473),a.Bb&1||(n=Jh(a),!n.c&&(n.c=new W3),fi(n.c,l(t.Ai(),26))));break}case 3:{d=t.zi(),d!=null&&(a=l(d,473),a.Bb&1||(n=Jh(a),!n.c&&(n.c=new W3),fi(n.c,l(t.Ai(),26))));break}case 5:{if(d=t.zi(),d!=null)for(h=l(d,14).Kc();h.Ob();)a=l(h.Pb(),473),a.Bb&1||(n=Jh(a),!n.c&&(n.c=new W3),fi(n.c,l(t.Ai(),26)));break}case 4:{b=t.Bi(),b!=null&&(a=l(b,473),a.Bb&1||(n=Jh(a),!n.c&&(n.c=new W3),Kq(n.c,t.Ai())));break}case 6:{if(b=t.Bi(),b!=null)for(h=l(b,14).Kc();h.Ob();)a=l(h.Pb(),473),a.Bb&1||(n=Jh(a),!n.c&&(n.c=new W3),Kq(n.c,t.Ai()));break}}this.Hk(i)}},u.Hk=function(t){Tgt(this,t)},u.b=63,F(Wn,"ESuperAdapter",1154),N(1155,1154,TSe,RKe),u.Hk=function(t){B4(this,t)},F(Wn,"EClassImpl/10",1155),N(1144,696,yl),u.Vh=function(t,n){return Rue(this,t,n)},u.Wh=function(t){return _ft(this,t)},u.Xh=function(t,n){SN(this,t,n)},u.Yh=function(t){KP(this,t)},u.pi=function(t){return k_e(this,t)},u.mi=function(t,n){return tle(this,t,n)},u.lk=function(t,n){throw ue(new pi)},u.Zh=function(){return new vk(this)},u.$h=function(){return new yP(this)},u._h=function(t){return hN(this,t)},u.mk=function(t,n){throw ue(new pi)},u.Wj=function(t){return this},u.fj=function(){return this.i!=0},u.Wb=function(t){throw ue(new pi)},u.Xj=function(){throw ue(new pi)},F(Vs,"EcoreEList/UnmodifiableEList",1144),N(319,1144,yl,_6),u.ni=function(){return!1},F(Vs,"EcoreEList/UnmodifiableEList/FastCompare",319),N(1147,319,yl,lut),u.Xc=function(t){var n,r,i;if(Le(t,170)&&(n=l(t,170),r=n.aj(),r!=-1)){for(i=this.i;r<i;++r)if(Je(this.g[r])===Je(t))return r}return-1},F(Wn,"EClassImpl/1EAllStructuralFeaturesList",1147),N(1141,497,Cg,Vx),u.ri=function(t){return Ue(Fc,Pwt,87,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/1EGenericSuperTypeEList",1141),N(623,497,Cg,Jb),u.ri=function(t){return Ue(_h,g_,170,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/1EStructuralFeatureUniqueEList",623),N(741,497,Cg,Sp),u.ri=function(t){return Ue(T5,g_,18,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/1ReferenceList",741),N(1142,497,Cg,BKe),u.bi=function(t,n){Kln(this,l(n,34))},u.ri=function(t){return Ue(E5,g_,34,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/2",1142),N(1143,497,Cg,kv),u.ri=function(t){return Ue(E5,g_,34,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/3",1143),N(1145,319,yl,Vtt),u.Fc=function(t){return Qcn(this,l(t,34))},u.Yh=function(t){sin(this,l(t,34))},F(Wn,"EClassImpl/4",1145),N(1146,319,yl,qtt),u.Fc=function(t){return Zcn(this,l(t,18))},u.Yh=function(t){ain(this,l(t,18))},F(Wn,"EClassImpl/5",1146),N(1148,497,Cg,a6),u.ri=function(t){return Ue(Ud,ASe,59,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/6",1148),N(1149,497,Cg,C7),u.ri=function(t){return Ue(T5,g_,18,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/7",1149),N(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),u.Vh=function(t,n){return W7e(this,t,n)},u.Wh=function(t){return W7e(this,this.Vi(),t)},u.Xh=function(t,n){i0t(this,t,n)},u.Yh=function(t){Y1t(this,t)},u.lk=function(t,n){return g2n(this,t,n)},u.mk=function(t,n){return Fbn(this,t,n)},u.mi=function(t,n){return fpt(this,t,n)},u.pi=function(t){return this.Oi(t)},u.Zh=function(){return new vk(this)},u.Gi=function(){return this.Ji()},u.$h=function(){return new yP(this)},u._h=function(t){return hN(this,t)},F(Vs,"DelegatingNotifyingInternalEListImpl",1997),N(742,1997,MSe),u.ai=function(){var t;return t=Rn(lh(this.b),this.aj()).Yj(),Le(t,148)&&!Le(t,457)&&(t.Bj().i&1)==0},u.Hc=function(t){var n,r,i,a,h,d,b,E;if(this.Fk()){if(E=this.Vi(),E>4)if(this.wj(t)){if(this.rk()){if(i=l(t,49),r=i.Ug(),b=r==this.b&&(this.Dk()?i.Og(i.Vg(),l(Rn(lh(this.b),this.aj()).Yj(),26).Bj())==Ac(l(Rn(lh(this.b),this.aj()),18)).n:-1-i.Vg()==this.aj()),this.Ek()&&!b&&!r&&i.Zg()){for(a=0;a<E;++a)if(n=Voe(this,this.Oi(a)),Je(n)===Je(t))return!0}return b}else if(this.Dk()&&!this.Ck()){if(h=l(t,56).ah(Ac(l(Rn(lh(this.b),this.aj()),18))),Je(h)===Je(this.b))return!0;if(h==null||!l(h,56).kh())return!1}}else return!1;if(d=this.Li(t),this.Ek()&&!d){for(a=0;a<E;++a)if(i=Voe(this,this.Oi(a)),Je(i)===Je(t))return!0}return d}else return this.Li(t)},u.Zi=function(t,n,r,i,a){return new Bp(this.b,t,this.aj(),n,r,i,a)},u.$i=function(t){us(this.b,t)},u.Wj=function(t){return this},u._i=function(){return Rn(lh(this.b),this.aj())},u.aj=function(){return Qs(lh(this.b),Rn(lh(this.b),this.aj()))},u.Ai=function(){return this.b},u.Bk=function(){return!!Rn(lh(this.b),this.aj()).Yj().Bj()},u.bj=function(){var t,n;return n=Rn(lh(this.b),this.aj()),Le(n,99)?(t=l(n,18),(t.Bb&Yl)!=0||!!Ac(l(n,18))):!1},u.Ck=function(){var t,n,r,i;return n=Rn(lh(this.b),this.aj()),Le(n,99)?(t=l(n,18),r=Ac(t),!!r&&(i=r.t,i>1||i==-1)):!1},u.Dk=function(){var t,n,r;return n=Rn(lh(this.b),this.aj()),Le(n,99)?(t=l(n,18),r=Ac(t),!!r):!1},u.Ek=function(){var t,n;return n=Rn(lh(this.b),this.aj()),Le(n,99)?(t=l(n,18),(t.Bb&wc)!=0):!1},u.Xc=function(t){var n,r,i,a;if(i=this.Qi(t),i>=0)return i;if(this.Fk()){for(r=0,a=this.Vi();r<a;++r)if(n=Voe(this,this.Oi(r)),Je(n)===Je(t))return r}return-1},u.cj=function(t,n){var r;return r=l(t,49),this.Dk()?this.Bk()?r.gh(this.b,Ac(l(Rn(lh(this.b),this.aj()),18)).n,l(Rn(lh(this.b),this.aj()).Yj(),26).Bj(),n):r.gh(this.b,Qs(r.Tg(),Ac(l(Rn(lh(this.b),this.aj()),18))),null,n):r.gh(this.b,-1-this.aj(),null,n)},u.dj=function(t,n){var r;return r=l(t,49),this.Dk()?this.Bk()?r.ih(this.b,Ac(l(Rn(lh(this.b),this.aj()),18)).n,l(Rn(lh(this.b),this.aj()).Yj(),26).Bj(),n):r.ih(this.b,Qs(r.Tg(),Ac(l(Rn(lh(this.b),this.aj()),18))),null,n):r.ih(this.b,-1-this.aj(),null,n)},u.rk=function(){var t,n;return n=Rn(lh(this.b),this.aj()),Le(n,99)?(t=l(n,18),(t.Bb&Yl)!=0):!1},u.Fk=function(){return Le(Rn(lh(this.b),this.aj()).Yj(),88)},u.wj=function(t){return Rn(lh(this.b),this.aj()).Yj().wj(t)},u.ej=function(){return pf(this.b)},u.fj=function(){return!this.Ri()},u.hi=function(){return Rn(lh(this.b),this.aj()).hi()},u.li=function(t,n){return cR(this,t,n)},u.Wb=function(t){zM(this),ga(this,l(t,15))},u.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)cR(this,t,this.Oi(t));return this.Wi()},u.Qc=function(t){var n;if(this.Ek())for(n=this.Vi()-1;n>=0;--n)cR(this,n,this.Oi(n));return this.Xi(t)},u.Xj=function(){zM(this)},u.oi=function(t,n){return Eot(this,t,n)},F(Vs,"DelegatingEcoreEList",742),N(1150,742,MSe,Het),u.Hi=function(t,n){gan(this,t,l(n,26))},u.Ii=function(t){csn(this,l(t,26))},u.Oi=function(t){var n,r;return n=l(Re(hu(this.a),t),87),r=n.c,Le(r,88)?l(r,26):(Sn(),Wd)},u.Ti=function(t){var n,r;return n=l(j4(hu(this.a),t),87),r=n.c,Le(r,88)?l(r,26):(Sn(),Wd)},u.Ui=function(t,n){return p2n(this,t,l(n,26))},u.ai=function(){return!1},u.Zi=function(t,n,r,i,a){return null},u.Ji=function(){return new FKe(this)},u.Ki=function(){ei(hu(this.a))},u.Li=function(t){return eht(this,t)},u.Mi=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!eht(this,n))return!1;return!0},u.Ni=function(t){var n,r,i;if(Le(t,15)&&(i=l(t,15),i.gc()==hu(this.a).i)){for(n=i.Kc(),r=new Ir(this);n.Ob();)if(Je(n.Pb())!==Je(Ur(r)))return!1;return!0}return!1},u.Pi=function(){var t,n,r,i,a;for(r=1,n=new Ir(hu(this.a));n.e!=n.i.gc();)t=l(Ur(n),87),i=(a=t.c,Le(a,88)?l(a,26):(Sn(),Wd)),r=31*r+(i?Kw(i):0);return r},u.Qi=function(t){var n,r,i,a;for(i=0,r=new Ir(hu(this.a));r.e!=r.i.gc();){if(n=l(Ur(r),87),Je(t)===Je((a=n.c,Le(a,88)?l(a,26):(Sn(),Wd))))return i;++i}return-1},u.Ri=function(){return hu(this.a).i==0},u.Si=function(){return null},u.Vi=function(){return hu(this.a).i},u.Wi=function(){var t,n,r,i,a,h;for(h=hu(this.a).i,a=Ue(xr,Ht,1,h,5,1),r=0,n=new Ir(hu(this.a));n.e!=n.i.gc();)t=l(Ur(n),87),a[r++]=(i=t.c,Le(i,88)?l(i,26):(Sn(),Wd));return a},u.Xi=function(t){var n,r,i,a,h,d,b;for(b=hu(this.a).i,t.length<b&&(a=uN(tf(t).c,b),t=a),t.length>b&&la(t,b,null),i=0,r=new Ir(hu(this.a));r.e!=r.i.gc();)n=l(Ur(r),87),h=(d=n.c,Le(d,88)?l(d,26):(Sn(),Wd)),la(t,i++,h);return t},u.Yi=function(){var t,n,r,i,a;for(a=new wm,a.a+="[",t=hu(this.a),n=0,i=hu(this.a).i;n<i;)zc(a,LA((r=l(Re(t,n),87).c,Le(r,88)?l(r,26):(Sn(),Wd)))),++n<i&&(a.a+=bc);return a.a+="]",a.a},u.$i=function(t){},u.aj=function(){return 10},u.Bk=function(){return!0},u.bj=function(){return!1},u.Ck=function(){return!1},u.Dk=function(){return!1},u.Ek=function(){return!0},u.rk=function(){return!1},u.Fk=function(){return!0},u.wj=function(t){return Le(t,88)},u.fj=function(){return gdn(this.a)},u.hi=function(){return!0},u.ni=function(){return!0},F(Wn,"EClassImpl/8",1150),N(1151,1964,I9,FKe),u.Zc=function(t){return hN(this.a,t)},u.gc=function(){return hu(this.a.a).i},F(Wn,"EClassImpl/8/1",1151),N(1152,497,Cg,gC),u.ri=function(t){return Ue(n0,Ht,138,t,0,1)},u.ni=function(){return!1},F(Wn,"EClassImpl/9",1152),N(1139,53,OEe,MYe),F(Wn,"EClassImpl/MyHashSet",1139),N(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},wz),u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ty(this);case 4:return this.zj();case 5:return this.F;case 6:return n?Df(this):TE(this);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),this.A;case 8:return er(),!!(this.Bb&256)}return id(this,t-Er(this.zh()),Rn((i=l(Kn(this,16),26),i||this.zh()),t),n,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ty(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!TE(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return nd(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Eq(this,wi(n));return;case 2:toe(this,wi(n));return;case 5:T9(this,wi(n));return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A),!this.A&&(this.A=new Sh(Qu,this,7)),ga(this.A,l(n,14));return;case 8:LU(this,Zt(Xt(n)));return}ld(this,t-Er(this.zh()),Rn((r=l(Kn(this,16),26),r||this.zh()),t),n)},u.zh=function(){return Sn(),aEt},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,179)&&(l(this.Cb,179).tb=null),Ru(this,null);return;case 2:ZE(this,null),$E(this,this.D);return;case 5:T9(this,null);return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A);return;case 8:LU(this,!0);return}od(this,t-Er(this.zh()),Rn((n=l(Kn(this,16),26),n||this.zh()),t))},u.Gh=function(){Im((Ih(),Vo),this).ne(),this.Bb|=1},u.Fj=function(){var t,n,r;if(!this.c&&(t=S0t(Df(this)),!t.dc()))for(r=t.Kc();r.Ob();)n=wi(r.Pb()),RM(this,n)&&Xmn(this);return this.b},u.zj=function(){var t;if(!this.e){t=null;try{t=Ty(this)}catch(n){if(n=ea(n),!Le(n,102))throw ue(n)}this.d=null,t&&t.i&1&&(t==uf?this.d=(er(),z2):t==ri?this.d=St(0):t==M5?this.d=new h6(0):t==Eo?this.d=0:t==Db?this.d=T2(0):t==U_?this.d=t9(0):t==Rh?this.d=cN(0):this.d=vN(0)),this.e=!0}return this.d},u.Ej=function(){return(this.Bb&256)!=0},u.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},u.xk=function(t){vlt(this,t),this.Ik(t)},u.yk=function(t){this.C=t,this.e=!1},u.Ib=function(){var t;return this.Db&64?RU(this):(t=new Ed(RU(this)),t.a+=" (serializable: ",ym(t,(this.Bb&256)!=0),t.a+=")",t.a)},u.c=!1,u.d=null,u.e=!1,F(Wn,"EDataTypeImpl",566),N(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},LYe),u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ty(this);case 4:return Ixe(this);case 5:return this.F;case 6:return n?Df(this):TE(this);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),this.A;case 8:return er(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new _t(nm,this,9,5)),this.a}return id(this,t-Er((Sn(),Lb)),Rn((i=l(Kn(this,16),26),i||Lb),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?Tue(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,6,r);case 9:return!this.a&&(this.a=new _t(nm,this,9,5)),Bu(this.a,t,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Lb)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),Lb)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 6:return Ff(this,null,6,r);case 7:return!this.A&&(this.A=new Sh(Qu,this,7)),lc(this.A,t,r);case 9:return!this.a&&(this.a=new _t(nm,this,9,5)),lc(this.a,t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Lb)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Lb)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ty(this);case 4:return!!Ixe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!TE(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return nd(this,t-Er((Sn(),Lb)),Rn((n=l(Kn(this,16),26),n||Lb),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Eq(this,wi(n));return;case 2:toe(this,wi(n));return;case 5:T9(this,wi(n));return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A),!this.A&&(this.A=new Sh(Qu,this,7)),ga(this.A,l(n,14));return;case 8:LU(this,Zt(Xt(n)));return;case 9:!this.a&&(this.a=new _t(nm,this,9,5)),ei(this.a),!this.a&&(this.a=new _t(nm,this,9,5)),ga(this.a,l(n,14));return}ld(this,t-Er((Sn(),Lb)),Rn((r=l(Kn(this,16),26),r||Lb),t),n)},u.zh=function(){return Sn(),Lb},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,179)&&(l(this.Cb,179).tb=null),Ru(this,null);return;case 2:ZE(this,null),$E(this,this.D);return;case 5:T9(this,null);return;case 7:!this.A&&(this.A=new Sh(Qu,this,7)),ei(this.A);return;case 8:LU(this,!0);return;case 9:!this.a&&(this.a=new _t(nm,this,9,5)),ei(this.a);return}od(this,t-Er((Sn(),Lb)),Rn((n=l(Kn(this,16),26),n||Lb),t))},u.Gh=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t<n;++t)_P(Re(this.a,t));Im((Ih(),Vo),this).ne(),this.Bb|=1},u.zj=function(){return Ixe(this)},u.wj=function(t){return t!=null},u.Ik=function(t){},F(Wn,"EEnumImpl",457),N(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},eYe),u.ne=function(){return this.zb},u.Qg=function(t){return Gft(this,t)},u._g=function(t,n,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return St(this.d);case 3:return this.b?this.b:this.a;case 4:return a=this.c,a??this.zb;case 5:return this.Db>>16==5?l(this.Cb,671):null}return id(this,t-Er((Sn(),Zm)),Rn((i=l(Kn(this,16),26),i||Zm),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 5:return this.Cb&&(r=(a=this.Db>>16,a>=0?Gft(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,5,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Zm)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),Zm)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 5:return Ff(this,null,5,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Zm)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Zm)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&l(this.Cb,671))}return nd(this,t-Er((Sn(),Zm)),Rn((n=l(Kn(this,16),26),n||Zm),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Ru(this,wi(n));return;case 2:ole(this,l(n,19).a);return;case 3:H1t(this,l(n,1940));return;case 4:lle(this,wi(n));return}ld(this,t-Er((Sn(),Zm)),Rn((r=l(Kn(this,16),26),r||Zm),t),n)},u.zh=function(){return Sn(),Zm},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Ru(this,null);return;case 2:ole(this,0);return;case 3:H1t(this,null);return;case 4:lle(this,null);return}od(this,t-Er((Sn(),Zm)),Rn((n=l(Kn(this,16),26),n||Zm),t))},u.Ib=function(){var t;return t=this.c,t??this.zb},u.b=null,u.c=null,u.d=0,F(Wn,"EEnumLiteralImpl",573);var ySn=na(Wn,"EFactoryImpl/InternalEDateTimeFormat");N(489,1,{2015:1},GD),F(Wn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),N(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Nw),u.Sg=function(t,n,r){var i;return r=Ff(this,t,n,r),this.e&&Le(t,170)&&(i=mG(this,this.e),i!=this.c&&(r=S9(this,i,r))),r},u._g=function(t,n,r){var i;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ba(Fc,this,1)),this.d;case 2:return n?CG(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?vue(this):this.a}return id(this,t-Er((Sn(),s3)),Rn((i=l(Kn(this,16),26),i||s3),t),n,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return qut(this,null,r);case 1:return!this.d&&(this.d=new Ba(Fc,this,1)),lc(this.d,t,r);case 3:return Vut(this,null,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),s3)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),s3)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return nd(this,t-Er((Sn(),s3)),Rn((n=l(Kn(this,16),26),n||s3),t))},u.sh=function(t,n){var r;switch(t){case 0:udt(this,l(n,87));return;case 1:!this.d&&(this.d=new Ba(Fc,this,1)),ei(this.d),!this.d&&(this.d=new Ba(Fc,this,1)),ga(this.d,l(n,14));return;case 3:u8e(this,l(n,87));return;case 4:C8e(this,l(n,836));return;case 5:NE(this,l(n,138));return}ld(this,t-Er((Sn(),s3)),Rn((r=l(Kn(this,16),26),r||s3),t),n)},u.zh=function(){return Sn(),s3},u.Bh=function(t){var n;switch(t){case 0:udt(this,null);return;case 1:!this.d&&(this.d=new Ba(Fc,this,1)),ei(this.d);return;case 3:u8e(this,null);return;case 4:C8e(this,null);return;case 5:NE(this,null);return}od(this,t-Er((Sn(),s3)),Rn((n=l(Kn(this,16),26),n||s3),t))},u.Ib=function(){var t;return t=new Af(m1(this)),t.a+=" (expression: ",She(this,t),t.a+=")",t.a};var XPe;F(Wn,"EGenericTypeImpl",241),N(1969,1964,PW),u.Xh=function(t,n){Fet(this,t,n)},u.lk=function(t,n){return Fet(this,this.gc(),t),n},u.pi=function(t){return Y1(this.Gi(),t)},u.Zh=function(){return this.$h()},u.Gi=function(){return new zKe(this)},u.$h=function(){return this._h(0)},u._h=function(t){return this.Gi().Zc(t)},u.mk=function(t,n){return M4(this,t,!0),n},u.ii=function(t,n){var r,i;return i=Cue(this,n),r=this.Zc(t),r.Rb(i),i},u.ji=function(t,n){var r;M4(this,n,!0),r=this.Zc(t),r.Rb(n)},F(Vs,"AbstractSequentialInternalEList",1969),N(486,1969,PW,wP),u.pi=function(t){return Y1(this.Gi(),t)},u.Zh=function(){return this.b==null?(_m(),_m(),XB):this.Jk()},u.Gi=function(){return new oJe(this.a,this.b)},u.$h=function(){return this.b==null?(_m(),_m(),XB):this.Jk()},u._h=function(t){var n,r;if(this.b==null){if(t<0||t>1)throw ue(new Qc(dL+t+", size=0"));return _m(),_m(),XB}for(r=this.Jk(),n=0;n<t;++n)yU(r);return r},u.dc=function(){var t,n,r,i,a,h;if(this.b!=null){for(r=0;r<this.b.length;++r)if(t=this.b[r],!this.Mk()||this.a.mh(t)){if(h=this.a.bh(t,!1),Sc(),l(t,66).Oj()){for(n=l(h,153),i=0,a=n.gc();i<a;++i)if(ert(n.il(i))&&n.jl(i)!=null)return!1}else if(t.$j()){if(!l(h,14).dc())return!1}else if(h!=null)return!1}}return!0},u.Kc=function(){return Z_e(this)},u.Zc=function(t){var n,r;if(this.b==null){if(t!=0)throw ue(new Qc(dL+t+", size=0"));return _m(),_m(),XB}for(r=this.Lk()?this.Kk():this.Jk(),n=0;n<t;++n)yU(r);return r},u.ii=function(t,n){throw ue(new pi)},u.ji=function(t,n){throw ue(new pi)},u.Jk=function(){return new TV(this.a,this.b)},u.Kk=function(){return new O4e(this.a,this.b)},u.Lk=function(){return!0},u.gc=function(){var t,n,r,i,a,h,d;if(a=0,this.b!=null){for(r=0;r<this.b.length;++r)if(t=this.b[r],!this.Mk()||this.a.mh(t))if(d=this.a.bh(t,!1),Sc(),l(t,66).Oj())for(n=l(d,153),i=0,h=n.gc();i<h;++i)ert(n.il(i))&&n.jl(i)!=null&&++a;else t.$j()?a+=l(d,14).gc():d!=null&&++a}return a},u.Mk=function(){return!0};var Dpe;F(Vs,"EContentsEList",486),N(1156,486,PW,ket),u.Jk=function(){return new Eet(this.a,this.b)},u.Kk=function(){return new Tet(this.a,this.b)},u.Mk=function(){return!1},F(Wn,"ENamedElementImpl/1",1156),N(279,1,NW,TV),u.Nb=function(t){jo(this,t)},u.Rb=function(t){throw ue(new pi)},u.Nk=function(t){if(this.g!=0||this.e)throw ue(new pl("Iterator already in use or already filtered"));this.e=t},u.Ob=function(){var t,n,r,i,a,h;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!t1t(this,this.p):!z1t(this))){for(;this.d<this.c.length;)if(n=this.c[this.d++],(!this.e||n.Gj()!=IT||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(Sc(),l(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(i=l(h,15),this.k=i):(i=l(h,69),this.k=this.j=i),Le(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?t1t(this,this.p):z1t(this))return a=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(t=l(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,this.i=r,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return a=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?(t=l(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=3,!0}},u.Sb=function(){var t,n,r,i,a,h;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!n1t(this,this.p):!g1t(this))){for(;this.d>0;)if(n=this.c[--this.d],(!this.e||n.Gj()!=IT||n.aj()!=0)&&(!this.Mk()||this.b.mh(n))){if(h=this.b.bh(n,this.Lk()),this.f=(Sc(),l(n,66).Oj()),this.f||n.$j()){if(this.Lk()?(i=l(h,15),this.k=i):(i=l(h,69),this.k=this.j=i),Le(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?n1t(this,this.p):g1t(this))return a=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(t=l(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}else if(h!=null)return this.k=null,this.p=null,r=h,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return a=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(t=l(a,72),t.ak(),r=t.dd(),this.i=r):(r=a,this.i=r),this.g=-3,!0}},u.Pb=function(){return yU(this)},u.Tb=function(){return this.a},u.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw ue(new Gl)},u.Vb=function(){return this.a-1},u.Qb=function(){throw ue(new pi)},u.Lk=function(){return!1},u.Wb=function(t){throw ue(new pi)},u.Mk=function(){return!0},u.a=0,u.d=0,u.f=!1,u.g=0,u.n=0,u.o=0;var XB;F(Vs,"EContentsEList/FeatureIteratorImpl",279),N(697,279,NW,O4e),u.Lk=function(){return!0},F(Vs,"EContentsEList/ResolvingFeatureIteratorImpl",697),N(1157,697,NW,Tet),u.Mk=function(){return!1},F(Wn,"ENamedElementImpl/1/1",1157),N(1158,279,NW,Eet),u.Mk=function(){return!1},F(Wn,"ENamedElementImpl/1/2",1158),N(36,143,RR,y4,Pce,go,Yce,Bp,d1,R_e,est,B_e,tst,o_e,nst,$_e,rst,c_e,ist,F_e,sst,zA,JP,fce,j_e,ast,l_e,ost),u._i=function(){return y_e(this)},u.gj=function(){var t;return t=y_e(this),t?t.zj():null},u.yi=function(t){return this.b==-1&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},u.Ai=function(){return this.c},u.hj=function(){var t;return t=y_e(this),t?t.Kj():!1},u.b=-1,F(Wn,"ENotificationImpl",36),N(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},nae),u.Qg=function(t){return Yft(this,t)},u._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),h=this.t,h>1||h==-1;case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,26):null;case 11:return!this.d&&(this.d=new Sh(Qu,this,11)),this.d;case 12:return!this.c&&(this.c=new _t(i3,this,12,10)),this.c;case 13:return!this.a&&(this.a=new TP(this,this)),this.a;case 14:return ef(this)}return id(this,t-Er((Sn(),Jm)),Rn((i=l(Kn(this,16),26),i||Jm),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Yft(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,10,r);case 12:return!this.c&&(this.c=new _t(i3,this,12,10)),Bu(this.c,t,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Jm)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),Jm)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 9:return Zoe(this,r);case 10:return Ff(this,null,10,r);case 11:return!this.d&&(this.d=new Sh(Qu,this,11)),lc(this.d,t,r);case 12:return!this.c&&(this.c=new _t(i3,this,12,10)),lc(this.c,t,r);case 14:return lc(ef(this),t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),Jm)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),Jm)),t,r)},u.lh=function(t){var n,r,i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,26));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&ef(this.a.a).i!=0&&!(this.b&&pue(this.b));case 14:return!!this.b&&pue(this.b)}return nd(this,t-Er((Sn(),Jm)),Rn((n=l(Kn(this,16),26),n||Jm),t))},u.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Ru(this,wi(n));return;case 2:Om(this,Zt(Xt(n)));return;case 3:Dm(this,Zt(Xt(n)));return;case 4:Mm(this,l(n,19).a);return;case 5:S4(this,l(n,19).a);return;case 8:k2(this,l(n,138));return;case 9:i=D0(this,l(n,87),null),i&&i.Fi();return;case 11:!this.d&&(this.d=new Sh(Qu,this,11)),ei(this.d),!this.d&&(this.d=new Sh(Qu,this,11)),ga(this.d,l(n,14));return;case 12:!this.c&&(this.c=new _t(i3,this,12,10)),ei(this.c),!this.c&&(this.c=new _t(i3,this,12,10)),ga(this.c,l(n,14));return;case 13:!this.a&&(this.a=new TP(this,this)),zM(this.a),!this.a&&(this.a=new TP(this,this)),ga(this.a,l(n,14));return;case 14:ei(ef(this)),ga(ef(this),l(n,14));return}ld(this,t-Er((Sn(),Jm)),Rn((r=l(Kn(this,16),26),r||Jm),t),n)},u.zh=function(){return Sn(),Jm},u.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Ru(this,null);return;case 2:Om(this,!0);return;case 3:Dm(this,!0);return;case 4:Mm(this,0);return;case 5:S4(this,1);return;case 8:k2(this,null);return;case 9:r=D0(this,null,null),r&&r.Fi();return;case 11:!this.d&&(this.d=new Sh(Qu,this,11)),ei(this.d);return;case 12:!this.c&&(this.c=new _t(i3,this,12,10)),ei(this.c);return;case 13:this.a&&zM(this.a);return;case 14:this.b&&ei(this.b);return}od(this,t-Er((Sn(),Jm)),Rn((n=l(Kn(this,16),26),n||Jm),t))},u.Gh=function(){var t,n;if(this.c)for(t=0,n=this.c.i;t<n;++t)_P(Re(this.c,t));Md(this),this.Bb|=1},F(Wn,"EOperationImpl",399),N(505,742,MSe,TP),u.Hi=function(t,n){dan(this,t,l(n,138))},u.Ii=function(t){lsn(this,l(t,138))},u.Oi=function(t){var n,r;return n=l(Re(ef(this.a),t),87),r=n.c,r||(Sn(),U0)},u.Ti=function(t){var n,r;return n=l(j4(ef(this.a),t),87),r=n.c,r||(Sn(),U0)},u.Ui=function(t,n){return ubn(this,t,l(n,138))},u.ai=function(){return!1},u.Zi=function(t,n,r,i,a){return null},u.Ji=function(){return new jKe(this)},u.Ki=function(){ei(ef(this.a))},u.Li=function(t){return rht(this,t)},u.Mi=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!rht(this,n))return!1;return!0},u.Ni=function(t){var n,r,i;if(Le(t,15)&&(i=l(t,15),i.gc()==ef(this.a).i)){for(n=i.Kc(),r=new Ir(this);n.Ob();)if(Je(n.Pb())!==Je(Ur(r)))return!1;return!0}return!1},u.Pi=function(){var t,n,r,i,a;for(r=1,n=new Ir(ef(this.a));n.e!=n.i.gc();)t=l(Ur(n),87),i=(a=t.c,a||(Sn(),U0)),r=31*r+(i?Ws(i):0);return r},u.Qi=function(t){var n,r,i,a;for(i=0,r=new Ir(ef(this.a));r.e!=r.i.gc();){if(n=l(Ur(r),87),Je(t)===Je((a=n.c,a||(Sn(),U0))))return i;++i}return-1},u.Ri=function(){return ef(this.a).i==0},u.Si=function(){return null},u.Vi=function(){return ef(this.a).i},u.Wi=function(){var t,n,r,i,a,h;for(h=ef(this.a).i,a=Ue(xr,Ht,1,h,5,1),r=0,n=new Ir(ef(this.a));n.e!=n.i.gc();)t=l(Ur(n),87),a[r++]=(i=t.c,i||(Sn(),U0));return a},u.Xi=function(t){var n,r,i,a,h,d,b;for(b=ef(this.a).i,t.length<b&&(a=uN(tf(t).c,b),t=a),t.length>b&&la(t,b,null),i=0,r=new Ir(ef(this.a));r.e!=r.i.gc();)n=l(Ur(r),87),h=(d=n.c,d||(Sn(),U0)),la(t,i++,h);return t},u.Yi=function(){var t,n,r,i,a;for(a=new wm,a.a+="[",t=ef(this.a),n=0,i=ef(this.a).i;n<i;)zc(a,LA((r=l(Re(t,n),87).c,r||(Sn(),U0)))),++n<i&&(a.a+=bc);return a.a+="]",a.a},u.$i=function(t){},u.aj=function(){return 13},u.Bk=function(){return!0},u.bj=function(){return!1},u.Ck=function(){return!1},u.Dk=function(){return!1},u.Ek=function(){return!0},u.rk=function(){return!1},u.Fk=function(){return!0},u.wj=function(t){return Le(t,138)},u.fj=function(){return ddn(this.a)},u.hi=function(){return!0},u.ni=function(){return!0},F(Wn,"EOperationImpl/1",505),N(1340,1964,I9,jKe),u.Zc=function(t){return hN(this.a,t)},u.gc=function(){return ef(this.a.a).i},F(Wn,"EOperationImpl/1/1",1340),N(1341,545,yl,Cnt),u.ii=function(t,n){var r,i;return r=l(vM(this,t,n),87),pf(this.e)&&K7(this,new JP(this.a,7,(Sn(),lEt),St(n),(i=r.c,i||U0),t)),r},u.jj=function(t,n){return Smn(this,l(t,87),n)},u.kj=function(t,n){return Cmn(this,l(t,87),n)},u.lj=function(t,n,r){return Sbn(this,l(t,87),l(n,87),r)},u.Zi=function(t,n,r,i,a){switch(t){case 3:return YA(this,t,n,r,i,this.i>1);case 5:return YA(this,t,n,r,i,this.i-l(r,15).gc()>0);default:return new Bp(this.e,t,this.c,n,r,i,!0)}},u.ij=function(){return!0},u.fj=function(){return pue(this)},u.Xj=function(){ei(this)},F(Wn,"EOperationImpl/2",1341),N(498,1,{1938:1,498:1},HZe),F(Wn,"EPackageImpl/1",498),N(16,85,yl,_t),u.zk=function(){return this.d},u.Ak=function(){return this.b},u.Dk=function(){return!0},u.b=0,F(Vs,"EObjectContainmentWithInverseEList",16),N(353,16,yl,bk),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectContainmentWithInverseEList/Resolving",353),N(298,353,yl,g4),u.ci=function(){this.a.tb=null},F(Wn,"EPackageImpl/2",298),N(1228,1,{},lH),F(Wn,"EPackageImpl/3",1228),N(718,43,s_,Pye),u._b=function(t){return _o(t)?dce(this,t):!!cl(this.f,t)},F(Wn,"EPackageRegistryImpl",718),N(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},rae),u.Qg=function(t){return Xft(this,t)},u._g=function(t,n,r){var i,a,h;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),h=this.t,h>1||h==-1;case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,59):null}return id(this,t-Er((Sn(),C5)),Rn((i=l(Kn(this,16),26),i||C5),t),n,r)},u.hh=function(t,n,r){var i,a,h;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),Bu(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?Xft(this,r):this.Cb.ih(this,-1-a,null,r))),Ff(this,t,10,r)}return h=l(Rn((i=l(Kn(this,16),26),i||(Sn(),C5)),n),66),h.Nj().Qj(this,Uu(this),n-Er((Sn(),C5)),t,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 9:return Zoe(this,r);case 10:return Ff(this,null,10,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),C5)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),C5)),t,r)},u.lh=function(t){var n,r,i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,59))}return nd(this,t-Er((Sn(),C5)),Rn((n=l(Kn(this,16),26),n||C5),t))},u.zh=function(){return Sn(),C5},F(Wn,"EParameterImpl",509),N(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},B4e),u._g=function(t,n,r){var i,a,h,d;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return er(),!!(this.Bb&256);case 3:return er(),!!(this.Bb&512);case 4:return St(this.s);case 5:return St(this.t);case 6:return er(),d=this.t,d>1||d==-1;case 7:return er(),a=this.s,a>=1;case 8:return n?Md(this):this.r;case 9:return this.q;case 10:return er(),!!(this.Bb&b1);case 11:return er(),!!(this.Bb&e5);case 12:return er(),!!(this.Bb&G4);case 13:return this.j;case 14:return w9(this);case 15:return er(),!!(this.Bb&Ph);case 16:return er(),!!(this.Bb&vg);case 17:return v4(this);case 18:return er(),!!(this.Bb&Yl);case 19:return er(),h=Ac(this),!!(h&&h.Bb&Yl);case 20:return er(),!!(this.Bb&wc);case 21:return n?Ac(this):this.b;case 22:return n?yxe(this):Mat(this);case 23:return!this.a&&(this.a=new T6(E5,this,23)),this.a}return id(this,t-Er((Sn(),H_)),Rn((i=l(Kn(this,16),26),i||H_),t),n,r)},u.lh=function(t){var n,r,i,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&ny(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&ny(this.q).i==0);case 10:return(this.Bb&b1)==0;case 11:return(this.Bb&e5)!=0;case 12:return(this.Bb&G4)!=0;case 13:return this.j!=null;case 14:return w9(this)!=null;case 15:return(this.Bb&Ph)!=0;case 16:return(this.Bb&vg)!=0;case 17:return!!v4(this);case 18:return(this.Bb&Yl)!=0;case 19:return i=Ac(this),!!i&&(i.Bb&Yl)!=0;case 20:return(this.Bb&wc)==0;case 21:return!!this.b;case 22:return!!Mat(this);case 23:return!!this.a&&this.a.i!=0}return nd(this,t-Er((Sn(),H_)),Rn((n=l(Kn(this,16),26),n||H_),t))},u.sh=function(t,n){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Sce(this,wi(n));return;case 2:Om(this,Zt(Xt(n)));return;case 3:Dm(this,Zt(Xt(n)));return;case 4:Mm(this,l(n,19).a);return;case 5:S4(this,l(n,19).a);return;case 8:k2(this,l(n,138));return;case 9:i=D0(this,l(n,87),null),i&&i.Fi();return;case 10:n9(this,Zt(Xt(n)));return;case 11:s9(this,Zt(Xt(n)));return;case 12:r9(this,Zt(Xt(n)));return;case 13:U3e(this,wi(n));return;case 15:i9(this,Zt(Xt(n)));return;case 16:a9(this,Zt(Xt(n)));return;case 18:yfn(this,Zt(Xt(n)));return;case 20:Qxe(this,Zt(Xt(n)));return;case 21:X_e(this,l(n,18));return;case 23:!this.a&&(this.a=new T6(E5,this,23)),ei(this.a),!this.a&&(this.a=new T6(E5,this,23)),ga(this.a,l(n,14));return}ld(this,t-Er((Sn(),H_)),Rn((r=l(Kn(this,16),26),r||H_),t),n)},u.zh=function(){return Sn(),H_},u.Bh=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Le(this.Cb,88)&&B4(Jh(l(this.Cb,88)),4),Ru(this,null);return;case 2:Om(this,!0);return;case 3:Dm(this,!0);return;case 4:Mm(this,0);return;case 5:S4(this,1);return;case 8:k2(this,null);return;case 9:r=D0(this,null,null),r&&r.Fi();return;case 10:n9(this,!0);return;case 11:s9(this,!1);return;case 12:r9(this,!1);return;case 13:this.i=null,uU(this,null);return;case 15:i9(this,!1);return;case 16:a9(this,!1);return;case 18:Xxe(this,!1),Le(this.Cb,88)&&B4(Jh(l(this.Cb,88)),2);return;case 20:Qxe(this,!0);return;case 21:X_e(this,null);return;case 23:!this.a&&(this.a=new T6(E5,this,23)),ei(this.a);return}od(this,t-Er((Sn(),H_)),Rn((n=l(Kn(this,16),26),n||H_),t))},u.Gh=function(){yxe(this),xE(tl((Ih(),Vo),this)),Md(this),this.Bb|=1},u.Lj=function(){return Ac(this)},u.qk=function(){var t;return t=Ac(this),!!t&&(t.Bb&Yl)!=0},u.rk=function(){return(this.Bb&Yl)!=0},u.sk=function(){return(this.Bb&wc)!=0},u.nk=function(t,n){return this.c=null,Vxe(this,t,n)},u.Ib=function(){var t;return this.Db&64?EG(this):(t=new Ed(EG(this)),t.a+=" (containment: ",ym(t,(this.Bb&Yl)!=0),t.a+=", resolveProxies: ",ym(t,(this.Bb&wc)!=0),t.a+=")",t.a)},F(Wn,"EReferenceImpl",99),N(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},nie),u.Fb=function(t){return this===t},u.cd=function(){return this.b},u.dd=function(){return this.c},u.Hb=function(){return Kw(this)},u.Uh=function(t){Tln(this,wi(t))},u.ed=function(t){return dln(this,wi(t))},u._g=function(t,n,r){var i;switch(t){case 0:return this.b;case 1:return this.c}return id(this,t-Er((Sn(),_c)),Rn((i=l(Kn(this,16),26),i||_c),t),n,r)},u.lh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return nd(this,t-Er((Sn(),_c)),Rn((n=l(Kn(this,16),26),n||_c),t))},u.sh=function(t,n){var r;switch(t){case 0:Sln(this,wi(n));return;case 1:W_e(this,wi(n));return}ld(this,t-Er((Sn(),_c)),Rn((r=l(Kn(this,16),26),r||_c),t),n)},u.zh=function(){return Sn(),_c},u.Bh=function(t){var n;switch(t){case 0:G_e(this,null);return;case 1:W_e(this,null);return}od(this,t-Er((Sn(),_c)),Rn((n=l(Kn(this,16),26),n||_c),t))},u.Sh=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Nm(t)),this.a},u.Th=function(t){this.a=t},u.Ib=function(){var t;return this.Db&64?m1(this):(t=new Ed(m1(this)),t.a+=" (key: ",zc(t,this.b),t.a+=", value: ",zc(t,this.c),t.a+=")",t.a)},u.a=-1,u.b=null,u.c=null;var ql=F(Wn,"EStringToStringMapEntryImpl",548),pEt=na(Vs,"FeatureMap/Entry/Internal");N(565,1,RW),u.Ok=function(t){return this.Pk(l(t,49))},u.Pk=function(t){return this.Ok(t)},u.Fb=function(t){var n,r;return this===t?!0:Le(t,72)?(n=l(t,72),n.ak()==this.c?(r=this.dd(),r==null?n.dd()==null:hs(r,n.dd())):!1):!1},u.ak=function(){return this.c},u.Hb=function(){var t;return t=this.dd(),Ws(this.c)^(t==null?0:Ws(t))},u.Ib=function(){var t,n;return t=this.c,n=Df(t.Hj()).Ph(),t.ne(),(n!=null&&n.length!=0?n+":"+t.ne():t.ne())+"="+this.dd()},F(Wn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),N(776,565,RW,G4e),u.Pk=function(t){return new G4e(this.c,t)},u.dd=function(){return this.a},u.Qk=function(t,n,r){return zgn(this,t,this.a,n,r)},u.Rk=function(t,n,r){return Vgn(this,t,this.a,n,r)},F(Wn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),N(1314,1,{},zZe),u.Pj=function(t,n,r,i,a){var h;return h=l(IE(t,this.b),215),h.nl(this.a).Wj(i)},u.Qj=function(t,n,r,i,a){var h;return h=l(IE(t,this.b),215),h.el(this.a,i,a)},u.Rj=function(t,n,r,i,a){var h;return h=l(IE(t,this.b),215),h.fl(this.a,i,a)},u.Sj=function(t,n,r){var i;return i=l(IE(t,this.b),215),i.nl(this.a).fj()},u.Tj=function(t,n,r,i){var a;a=l(IE(t,this.b),215),a.nl(this.a).Wb(i)},u.Uj=function(t,n,r){return l(IE(t,this.b),215).nl(this.a)},u.Vj=function(t,n,r){var i;i=l(IE(t,this.b),215),i.nl(this.a).Xj()},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),N(89,1,{},km,l2,Tm,f2),u.Pj=function(t,n,r,i,a){var h;if(h=n.Ch(r),h==null&&n.Dh(r,h=BG(this,t)),!a)switch(this.e){case 50:case 41:return l(h,589).sj();case 40:return l(h,215).kl()}return h},u.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),d==null&&n.Dh(r,d=BG(this,t)),h=l(d,69).lk(i,a),h},u.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),h!=null&&(a=l(h,69).mk(i,a)),a},u.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&l(i,76).fj()},u.Tj=function(t,n,r,i){var a;a=l(n.Ch(r),76),!a&&n.Dh(r,a=BG(this,t)),a.Wb(i)},u.Uj=function(t,n,r){var i,a;return a=n.Ch(r),a==null&&n.Dh(r,a=BG(this,t)),Le(a,76)?l(a,76):(i=l(n.Ch(r),15),new HKe(i))},u.Vj=function(t,n,r){var i;i=l(n.Ch(r),76),!i&&n.Dh(r,i=BG(this,t)),i.Xj()},u.b=0,u.e=0,F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),N(504,1,{}),u.Qj=function(t,n,r,i,a){throw ue(new pi)},u.Rj=function(t,n,r,i,a){throw ue(new pi)},u.Uj=function(t,n,r){return new jrt(this,t,n,r)};var pp;F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),N(1331,1,o1e,jrt),u.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},u.fj=function(){return this.a.Sj(this.c,this.d,this.b)},u.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},u.Xj=function(){this.a.Vj(this.c,this.d,this.b)},u.b=0,F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),N(769,504,{},A6e),u.Pj=function(t,n,r,i,a){return dhe(t,t.eh(),t.Vg())==this.b?this.sk()&&i?Que(t):t.eh():null},u.Qj=function(t,n,r,i,a){var h,d;return t.eh()&&(a=(h=t.Vg(),h>=0?t.Qg(a):t.eh().ih(t,-1-h,null,a))),d=Qs(t.Tg(),this.e),t.Sg(i,d,a)},u.Rj=function(t,n,r,i,a){var h;return h=Qs(t.Tg(),this.e),t.Sg(null,h,a)},u.Sj=function(t,n,r){var i;return i=Qs(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},u.Tj=function(t,n,r,i){var a,h,d,b,E;if(i!=null&&!vhe(this.a,i))throw ue(new X7(BW+(Le(i,56)?c8e(l(i,56).Tg()):O_e(tf(i)))+FW+this.a+"'"));if(a=t.eh(),d=Qs(t.Tg(),this.e),Je(i)!==Je(a)||t.Vg()!=d&&i!=null){if(u9(t,l(i,56)))throw ue(new Jn(hL+t.Ib()));E=null,a&&(E=(h=t.Vg(),h>=0?t.Qg(E):t.eh().ih(t,-1-h,null,E))),b=l(i,49),b&&(E=b.gh(t,Qs(b.Tg(),this.b),null,E)),E=t.Sg(b,d,E),E&&E.Fi()}else t.Lg()&&t.Mg()&&us(t,new go(t,1,d,i,i))},u.Vj=function(t,n,r){var i,a,h,d;i=t.eh(),i?(d=(a=t.Vg(),a>=0?t.Qg(null):t.eh().ih(t,-1-a,null,null)),h=Qs(t.Tg(),this.e),d=t.Sg(null,h,d),d&&d.Fi()):t.Lg()&&t.Mg()&&us(t,new zA(t,1,this.e,null,null))},u.sk=function(){return!1},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),N(1315,769,{},Itt),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),N(563,504,{}),u.Pj=function(t,n,r,i,a){var h;return h=n.Ch(r),h==null?this.b:Je(h)===Je(pp)?null:h},u.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null&&(Je(i)===Je(pp)||!hs(i,this.b))},u.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=(h=n.Ch(r),h==null?this.b:Je(h)===Je(pp)?null:h),i==null?this.c!=null?(n.Dh(r,null),i=this.b):this.b!=null?n.Dh(r,pp):n.Dh(r,null):(this.Sk(i),n.Dh(r,i)),us(t,this.d.Tk(t,1,this.e,a,i))):i==null?this.c!=null?n.Dh(r,null):this.b!=null?n.Dh(r,pp):n.Dh(r,null):(this.Sk(i),n.Dh(r,i))},u.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=(a=n.Ch(r),a==null?this.b:Je(a)===Je(pp)?null:a),n.Eh(r),us(t,this.d.Tk(t,1,this.e,i,this.b))):n.Eh(r)},u.Sk=function(t){throw ue(new QKe)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),N(p_,1,{},uH),u.Tk=function(t,n,r,i,a){return new zA(t,n,r,i,a)},u.Uk=function(t,n,r,i,a,h){return new fce(t,n,r,i,a,h)};var QPe,ZPe,JPe,eNe,tNe,nNe,rNe,Ppe,iNe;F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",p_),N(1332,p_,{},hH),u.Tk=function(t,n,r,i,a){return new l_e(t,n,r,Zt(Xt(i)),Zt(Xt(a)))},u.Uk=function(t,n,r,i,a,h){return new ost(t,n,r,Zt(Xt(i)),Zt(Xt(a)),h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),N(1333,p_,{},fH),u.Tk=function(t,n,r,i,a){return new R_e(t,n,r,l(i,217).a,l(a,217).a)},u.Uk=function(t,n,r,i,a,h){return new est(t,n,r,l(i,217).a,l(a,217).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),N(1334,p_,{},A7),u.Tk=function(t,n,r,i,a){return new B_e(t,n,r,l(i,172).a,l(a,172).a)},u.Uk=function(t,n,r,i,a,h){return new tst(t,n,r,l(i,172).a,l(a,172).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),N(1335,p_,{},dH),u.Tk=function(t,n,r,i,a){return new o_e(t,n,r,ot(Lt(i)),ot(Lt(a)))},u.Uk=function(t,n,r,i,a,h){return new nst(t,n,r,ot(Lt(i)),ot(Lt(a)),h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),N(1336,p_,{},gH),u.Tk=function(t,n,r,i,a){return new $_e(t,n,r,l(i,155).a,l(a,155).a)},u.Uk=function(t,n,r,i,a,h){return new rst(t,n,r,l(i,155).a,l(a,155).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),N(1337,p_,{},rie),u.Tk=function(t,n,r,i,a){return new c_e(t,n,r,l(i,19).a,l(a,19).a)},u.Uk=function(t,n,r,i,a,h){return new ist(t,n,r,l(i,19).a,l(a,19).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),N(1338,p_,{},M7),u.Tk=function(t,n,r,i,a){return new F_e(t,n,r,l(i,162).a,l(a,162).a)},u.Uk=function(t,n,r,i,a,h){return new sst(t,n,r,l(i,162).a,l(a,162).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),N(1339,p_,{},L7),u.Tk=function(t,n,r,i,a){return new j_e(t,n,r,l(i,184).a,l(a,184).a)},u.Uk=function(t,n,r,i,a,h){return new ast(t,n,r,l(i,184).a,l(a,184).a,h)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),N(1317,563,{},$rt),u.Sk=function(t){if(!this.a.wj(t))throw ue(new X7(BW+tf(t)+FW+this.a+"'"))},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),N(1318,563,{},Ant),u.Sk=function(t){},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),N(770,563,{}),u.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},u.Tj=function(t,n,r,i){var a,h;t.Lg()&&t.Mg()?(a=!0,h=n.Ch(r),h==null?(a=!1,h=this.b):Je(h)===Je(pp)&&(h=null),i==null?this.c!=null?(n.Dh(r,null),i=this.b):n.Dh(r,pp):(this.Sk(i),n.Dh(r,i)),us(t,this.d.Uk(t,1,this.e,h,i,!a))):i==null?this.c!=null?n.Dh(r,null):n.Dh(r,pp):(this.Sk(i),n.Dh(r,i))},u.Vj=function(t,n,r){var i,a;t.Lg()&&t.Mg()?(i=!0,a=n.Ch(r),a==null?(i=!1,a=this.b):Je(a)===Je(pp)&&(a=null),n.Eh(r),us(t,this.d.Uk(t,2,this.e,a,this.b,i))):n.Eh(r)},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),N(1319,770,{},Hrt),u.Sk=function(t){if(!this.a.wj(t))throw ue(new X7(BW+tf(t)+FW+this.a+"'"))},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),N(1320,770,{},Mnt),u.Sk=function(t){},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),N(398,504,{},qV),u.Pj=function(t,n,r,i,a){var h,d,b,E,C;if(C=n.Ch(r),this.Kj()&&Je(C)===Je(pp))return null;if(this.sk()&&i&&C!=null){if(b=l(C,49),b.kh()&&(E=Zv(t,b),b!=E)){if(!vhe(this.a,E))throw ue(new X7(BW+tf(E)+FW+this.a+"'"));n.Dh(r,C=E),this.rk()&&(h=l(E,49),d=b.ih(t,this.b?Qs(b.Tg(),this.b):-1-Qs(t.Tg(),this.e),null,null),!h.eh()&&(d=h.gh(t,this.b?Qs(h.Tg(),this.b):-1-Qs(t.Tg(),this.e),null,d)),d&&d.Fi()),t.Lg()&&t.Mg()&&us(t,new zA(t,9,this.e,b,E))}return C}else return C},u.Qj=function(t,n,r,i,a){var h,d;return d=n.Ch(r),Je(d)===Je(pp)&&(d=null),n.Dh(r,i),this.bj()?Je(d)!==Je(i)&&d!=null&&(h=l(d,49),a=h.ih(t,Qs(h.Tg(),this.b),null,a)):this.rk()&&d!=null&&(a=l(d,49).ih(t,-1-Qs(t.Tg(),this.e),null,a)),t.Lg()&&t.Mg()&&(!a&&(a=new Iv(4)),a.Ei(new zA(t,1,this.e,d,i))),a},u.Rj=function(t,n,r,i,a){var h;return h=n.Ch(r),Je(h)===Je(pp)&&(h=null),n.Eh(r),t.Lg()&&t.Mg()&&(!a&&(a=new Iv(4)),this.Kj()?a.Ei(new zA(t,2,this.e,h,null)):a.Ei(new zA(t,1,this.e,h,null))),a},u.Sj=function(t,n,r){var i;return i=n.Ch(r),i!=null},u.Tj=function(t,n,r,i){var a,h,d,b,E;if(i!=null&&!vhe(this.a,i))throw ue(new X7(BW+(Le(i,56)?c8e(l(i,56).Tg()):O_e(tf(i)))+FW+this.a+"'"));E=n.Ch(r),b=E!=null,this.Kj()&&Je(E)===Je(pp)&&(E=null),d=null,this.bj()?Je(E)!==Je(i)&&(E!=null&&(a=l(E,49),d=a.ih(t,Qs(a.Tg(),this.b),null,d)),i!=null&&(a=l(i,49),d=a.gh(t,Qs(a.Tg(),this.b),null,d))):this.rk()&&Je(E)!==Je(i)&&(E!=null&&(d=l(E,49).ih(t,-1-Qs(t.Tg(),this.e),null,d)),i!=null&&(d=l(i,49).gh(t,-1-Qs(t.Tg(),this.e),null,d))),i==null&&this.Kj()?n.Dh(r,pp):n.Dh(r,i),t.Lg()&&t.Mg()?(h=new fce(t,1,this.e,E,i,this.Kj()&&!b),d?(d.Ei(h),d.Fi()):us(t,h)):d&&d.Fi()},u.Vj=function(t,n,r){var i,a,h,d,b;b=n.Ch(r),d=b!=null,this.Kj()&&Je(b)===Je(pp)&&(b=null),h=null,b!=null&&(this.bj()?(i=l(b,49),h=i.ih(t,Qs(i.Tg(),this.b),null,h)):this.rk()&&(h=l(b,49).ih(t,-1-Qs(t.Tg(),this.e),null,h))),n.Eh(r),t.Lg()&&t.Mg()?(a=new fce(t,this.Kj()?2:1,this.e,b,null,d),h?(h.Ei(a),h.Fi()):us(t,a)):h&&h.Fi()},u.bj=function(){return!1},u.rk=function(){return!1},u.sk=function(){return!1},u.Kj=function(){return!1},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),N(564,398,{},goe),u.rk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),N(1323,564,{},Cet),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),N(772,564,{},D4e),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),N(1325,772,{},Aet),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),N(640,564,{},Aoe),u.bj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),N(1324,640,{},Ott),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),N(773,640,{},w5e),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),N(1326,773,{},Dtt),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),N(641,398,{},P4e),u.sk=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),N(1327,641,{},Met),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),N(774,641,{},v5e),u.bj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),N(1328,774,{},Ptt),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),N(1321,398,{},Let),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),N(771,398,{},b5e),u.bj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),N(1322,771,{},Ntt),u.Kj=function(){return!0},F(Wn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),N(775,565,RW,g6e),u.Pk=function(t){return new g6e(this.a,this.c,t)},u.dd=function(){return this.b},u.Qk=function(t,n,r){return V1n(this,t,this.b,r)},u.Rk=function(t,n,r){return q1n(this,t,this.b,r)},F(Wn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),N(1329,1,o1e,HKe),u.Wj=function(t){return this.a},u.fj=function(){return Le(this.a,95)?l(this.a,95).fj():!this.a.dc()},u.Wb=function(t){this.a.$b(),this.a.Gc(l(t,15))},u.Xj=function(){Le(this.a,95)?l(this.a,95).Xj():this.a.$b()},F(Wn,"EStructuralFeatureImpl/SettingMany",1329),N(1330,565,RW,Yst),u.Ok=function(t){return new voe((Ts(),SI),this.b.Ih(this.a,t))},u.dd=function(){return null},u.Qk=function(t,n,r){return r},u.Rk=function(t,n,r){return r},F(Wn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),N(642,565,RW,voe),u.Ok=function(t){return new voe(this.c,t)},u.dd=function(){return this.a},u.Qk=function(t,n,r){return r},u.Rk=function(t,n,r){return r},F(Wn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),N(391,497,Cg,W3),u.ri=function(t){return Ue(qd,Ht,26,t,0,1)},u.ni=function(){return!1},F(Wn,"ESuperAdapter/1",391),N(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},kD),u._g=function(t,n,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new FA(this,Fc,this)),this.a}return id(this,t-Er((Sn(),a3)),Rn((i=l(Kn(this,16),26),i||a3),t),n,r)},u.jh=function(t,n,r){var i,a;switch(n){case 0:return!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),lc(this.Ab,t,r);case 2:return!this.a&&(this.a=new FA(this,Fc,this)),lc(this.a,t,r)}return a=l(Rn((i=l(Kn(this,16),26),i||(Sn(),a3)),n),66),a.Nj().Rj(this,Uu(this),n-Er((Sn(),a3)),t,r)},u.lh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return nd(this,t-Er((Sn(),a3)),Rn((n=l(Kn(this,16),26),n||a3),t))},u.sh=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab),!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ga(this.Ab,l(n,14));return;case 1:Ru(this,wi(n));return;case 2:!this.a&&(this.a=new FA(this,Fc,this)),ei(this.a),!this.a&&(this.a=new FA(this,Fc,this)),ga(this.a,l(n,14));return}ld(this,t-Er((Sn(),a3)),Rn((r=l(Kn(this,16),26),r||a3),t),n)},u.zh=function(){return Sn(),a3},u.Bh=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new _t(Ri,this,0,3)),ei(this.Ab);return;case 1:Ru(this,null);return;case 2:!this.a&&(this.a=new FA(this,Fc,this)),ei(this.a);return}od(this,t-Er((Sn(),a3)),Rn((n=l(Kn(this,16),26),n||a3),t))},F(Wn,"ETypeParameterImpl",444),N(445,85,yl,FA),u.cj=function(t,n){return qyn(this,l(t,87),n)},u.dj=function(t,n){return Uyn(this,l(t,87),n)},F(Wn,"ETypeParameterImpl/1",445),N(634,43,s_,iae),u.ec=function(){return new vz(this)},F(Wn,"ETypeParameterImpl/2",634),N(556,P0,Oh,vz),u.Fc=function(t){return ntt(this,l(t,87))},u.Gc=function(t){var n,r,i;for(i=!1,r=t.Kc();r.Ob();)n=l(r.Pb(),87),ds(this.a,n,"")==null&&(i=!0);return i},u.$b=function(){qh(this.a)},u.Hc=function(t){return bf(this.a,t)},u.Kc=function(){var t;return t=new x2(new mm(this.a).a),new bz(t)},u.Mc=function(t){return zat(this,t)},u.gc=function(){return rA(this.a)},F(Wn,"ETypeParameterImpl/2/1",556),N(557,1,ko,bz),u.Nb=function(t){jo(this,t)},u.Pb=function(){return l(fy(this.a).cd(),87)},u.Ob=function(){return this.a.b},u.Qb=function(){wot(this.a)},F(Wn,"ETypeParameterImpl/2/1/1",557),N(1276,43,s_,IYe),u._b=function(t){return _o(t)?dce(this,t):!!cl(this.f,t)},u.xc=function(t){var n,r;return n=_o(t)?xu(this,t):Bl(cl(this.f,t)),Le(n,837)?(r=l(n,837),n=r._j(),ds(this,l(t,235),n),n):n??(t==null?(_ae(),vEt):null)},F(Wn,"EValidatorRegistryImpl",1276),N(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},iie),u.Ih=function(t,n){switch(t.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return n==null?null:wl(n);case 25:return Z0n(n);case 27:return p0n(n);case 28:return m0n(n);case 29:return n==null?null:PJe(yI[0],l(n,199));case 41:return n==null?"":Ov(l(n,290));case 42:return wl(n);case 50:return wi(n);default:throw ue(new Jn(V9+t.ne()+jy))}},u.Jh=function(t){var n,r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye;switch(t.G==-1&&(t.G=(K=Df(t),K?Pm(K.Mh(),t):-1)),t.G){case 0:return r=new tae,r;case 1:return n=new cH,n;case 2:return i=new ND,i;case 4:return a=new wz,a;case 5:return h=new LYe,h;case 6:return d=new eYe,d;case 7:return b=new QH,b;case 10:return C=new S7,C;case 11:return P=new nae,P;case 12:return $=new iit,$;case 13:return Z=new rae,Z;case 14:return te=new B4e,te;case 17:return oe=new nie,oe;case 18:return E=new Nw,E;case 19:return ye=new kD,ye;default:throw ue(new Jn(Ude+t.zb+jy))}},u.Kh=function(t,n){switch(t.yj()){case 20:return n==null?null:new n3e(n);case 21:return n==null?null:new Fv(n);case 23:case 22:return n==null?null:rbn(n);case 26:case 24:return n==null?null:cN(Bf(n,-128,127)<<24>>24);case 25:return g6n(n);case 27:return $2n(n);case 28:return H2n(n);case 29:return l3n(n);case 32:case 31:return n==null?null:R4(n);case 38:case 37:return n==null?null:new xye(n);case 40:case 39:return n==null?null:St(Bf(n,Jo,as));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:T2(RG(n));case 49:case 48:return n==null?null:t9(Bf(n,jW,32767)<<16>>16);case 50:return n;default:throw ue(new Jn(V9+t.ne()+jy))}},F(Wn,"EcoreFactoryImpl",1313),N(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},_rt),u.gb=!1,u.hb=!1;var sNe,mEt=!1;F(Wn,"EcorePackageImpl",547),N(1184,1,{837:1},sie),u._j=function(){return iet(),bEt},F(Wn,"EcorePackageImpl/1",1184),N(1193,1,qi,aie),u.wj=function(t){return Le(t,147)},u.xj=function(t){return Ue(GB,Ht,147,t,0,1)},F(Wn,"EcorePackageImpl/10",1193),N(1194,1,qi,oie),u.wj=function(t){return Le(t,191)},u.xj=function(t){return Ue(Tpe,Ht,191,t,0,1)},F(Wn,"EcorePackageImpl/11",1194),N(1195,1,qi,cie),u.wj=function(t){return Le(t,56)},u.xj=function(t){return Ue(Sb,Ht,56,t,0,1)},F(Wn,"EcorePackageImpl/12",1195),N(1196,1,qi,lie),u.wj=function(t){return Le(t,399)},u.xj=function(t){return Ue(Ud,ASe,59,t,0,1)},F(Wn,"EcorePackageImpl/13",1196),N(1197,1,qi,uie),u.wj=function(t){return Le(t,235)},u.xj=function(t){return Ue(t0,Ht,235,t,0,1)},F(Wn,"EcorePackageImpl/14",1197),N(1198,1,qi,hie),u.wj=function(t){return Le(t,509)},u.xj=function(t){return Ue(i3,Ht,2017,t,0,1)},F(Wn,"EcorePackageImpl/15",1198),N(1199,1,qi,pH),u.wj=function(t){return Le(t,99)},u.xj=function(t){return Ue(T5,g_,18,t,0,1)},F(Wn,"EcorePackageImpl/16",1199),N(1200,1,qi,fie),u.wj=function(t){return Le(t,170)},u.xj=function(t){return Ue(_h,g_,170,t,0,1)},F(Wn,"EcorePackageImpl/17",1200),N(1201,1,qi,die),u.wj=function(t){return Le(t,472)},u.xj=function(t){return Ue(k5,Ht,472,t,0,1)},F(Wn,"EcorePackageImpl/18",1201),N(1202,1,qi,gie),u.wj=function(t){return Le(t,548)},u.xj=function(t){return Ue(ql,vwt,548,t,0,1)},F(Wn,"EcorePackageImpl/19",1202),N(1185,1,qi,mH),u.wj=function(t){return Le(t,322)},u.xj=function(t){return Ue(E5,g_,34,t,0,1)},F(Wn,"EcorePackageImpl/2",1185),N(1203,1,qi,I7),u.wj=function(t){return Le(t,241)},u.xj=function(t){return Ue(Fc,Pwt,87,t,0,1)},F(Wn,"EcorePackageImpl/20",1203),N(1204,1,qi,pC),u.wj=function(t){return Le(t,444)},u.xj=function(t){return Ue(Qu,Ht,836,t,0,1)},F(Wn,"EcorePackageImpl/21",1204),N(1205,1,qi,vH),u.wj=function(t){return s4(t)},u.xj=function(t){return Ue(Ya,dt,476,t,8,1)},F(Wn,"EcorePackageImpl/22",1205),N(1206,1,qi,pie),u.wj=function(t){return Le(t,190)},u.xj=function(t){return Ue(Rh,dt,190,t,0,2)},F(Wn,"EcorePackageImpl/23",1206),N(1207,1,qi,bH),u.wj=function(t){return Le(t,217)},u.xj=function(t){return Ue(u8,dt,217,t,0,1)},F(Wn,"EcorePackageImpl/24",1207),N(1208,1,qi,wH),u.wj=function(t){return Le(t,172)},u.xj=function(t){return Ue(kL,dt,172,t,0,1)},F(Wn,"EcorePackageImpl/25",1208),N(1209,1,qi,mie),u.wj=function(t){return Le(t,199)},u.xj=function(t){return Ue(ZW,dt,199,t,0,1)},F(Wn,"EcorePackageImpl/26",1209),N(1210,1,qi,mC),u.wj=function(t){return!1},u.xj=function(t){return Ue(kNe,Ht,2110,t,0,1)},F(Wn,"EcorePackageImpl/27",1210),N(1211,1,qi,K3),u.wj=function(t){return a4(t)},u.xj=function(t){return Ue(Mo,dt,333,t,7,1)},F(Wn,"EcorePackageImpl/28",1211),N(1212,1,qi,yH),u.wj=function(t){return Le(t,58)},u.xj=function(t){return Ue(FPe,W4,58,t,0,1)},F(Wn,"EcorePackageImpl/29",1212),N(1186,1,qi,_H),u.wj=function(t){return Le(t,510)},u.xj=function(t){return Ue(Ri,{3:1,4:1,5:1,1934:1},590,t,0,1)},F(Wn,"EcorePackageImpl/3",1186),N(1213,1,qi,vie),u.wj=function(t){return Le(t,573)},u.xj=function(t){return Ue(HPe,Ht,1940,t,0,1)},F(Wn,"EcorePackageImpl/30",1213),N(1214,1,qi,bie),u.wj=function(t){return Le(t,153)},u.xj=function(t){return Ue(uNe,W4,153,t,0,1)},F(Wn,"EcorePackageImpl/31",1214),N(1215,1,qi,vC),u.wj=function(t){return Le(t,72)},u.xj=function(t){return Ue(gX,Vwt,72,t,0,1)},F(Wn,"EcorePackageImpl/32",1215),N(1216,1,qi,xH),u.wj=function(t){return Le(t,155)},u.xj=function(t){return Ue(X9,dt,155,t,0,1)},F(Wn,"EcorePackageImpl/33",1216),N(1217,1,qi,kH),u.wj=function(t){return Le(t,19)},u.xj=function(t){return Ue(hc,dt,19,t,0,1)},F(Wn,"EcorePackageImpl/34",1217),N(1218,1,qi,Ul),u.wj=function(t){return Le(t,290)},u.xj=function(t){return Ue(HSe,Ht,290,t,0,1)},F(Wn,"EcorePackageImpl/35",1218),N(1219,1,qi,wie),u.wj=function(t){return Le(t,162)},u.xj=function(t){return Ue(Hy,dt,162,t,0,1)},F(Wn,"EcorePackageImpl/36",1219),N(1220,1,qi,EH),u.wj=function(t){return Le(t,83)},u.xj=function(t){return Ue(zSe,Ht,83,t,0,1)},F(Wn,"EcorePackageImpl/37",1220),N(1221,1,qi,bC),u.wj=function(t){return Le(t,591)},u.xj=function(t){return Ue(aNe,Ht,591,t,0,1)},F(Wn,"EcorePackageImpl/38",1221),N(1222,1,qi,yie),u.wj=function(t){return!1},u.xj=function(t){return Ue(ENe,Ht,2111,t,0,1)},F(Wn,"EcorePackageImpl/39",1222),N(1187,1,qi,_ie),u.wj=function(t){return Le(t,88)},u.xj=function(t){return Ue(qd,Ht,26,t,0,1)},F(Wn,"EcorePackageImpl/4",1187),N(1223,1,qi,wC),u.wj=function(t){return Le(t,184)},u.xj=function(t){return Ue(zy,dt,184,t,0,1)},F(Wn,"EcorePackageImpl/40",1223),N(1224,1,qi,TH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Wn,"EcorePackageImpl/41",1224),N(1225,1,qi,yC),u.wj=function(t){return Le(t,588)},u.xj=function(t){return Ue($Pe,Ht,588,t,0,1)},F(Wn,"EcorePackageImpl/42",1225),N(1226,1,qi,_C),u.wj=function(t){return!1},u.xj=function(t){return Ue(TNe,dt,2112,t,0,1)},F(Wn,"EcorePackageImpl/43",1226),N(1227,1,qi,R1),u.wj=function(t){return Le(t,42)},u.xj=function(t){return Ue(H2,HG,42,t,0,1)},F(Wn,"EcorePackageImpl/44",1227),N(1188,1,qi,ED),u.wj=function(t){return Le(t,138)},u.xj=function(t){return Ue(n0,Ht,138,t,0,1)},F(Wn,"EcorePackageImpl/5",1188),N(1189,1,qi,TD),u.wj=function(t){return Le(t,148)},u.xj=function(t){return Ue(Ipe,Ht,148,t,0,1)},F(Wn,"EcorePackageImpl/6",1189),N(1190,1,qi,qx),u.wj=function(t){return Le(t,457)},u.xj=function(t){return Ue(dX,Ht,671,t,0,1)},F(Wn,"EcorePackageImpl/7",1190),N(1191,1,qi,xie),u.wj=function(t){return Le(t,573)},u.xj=function(t){return Ue(nm,Ht,678,t,0,1)},F(Wn,"EcorePackageImpl/8",1191),N(1192,1,qi,kie),u.wj=function(t){return Le(t,471)},u.xj=function(t){return Ue(wI,Ht,471,t,0,1)},F(Wn,"EcorePackageImpl/9",1192),N(1025,1982,mwt,YYe),u.bi=function(t,n){Mmn(this,l(n,415))},u.fi=function(t,n){h1t(this,t,l(n,415))},F(Wn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),N(1026,143,RR,frt),u.Ai=function(){return this.a.a},F(Wn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),N(1053,1052,{},SJe),F("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var aNe=na(qwt,"Resource");N(781,1378,Uwt),u.Yk=function(t){},u.Zk=function(t){},u.Vk=function(){return!this.a&&(this.a=new Xse(this)),this.a},u.Wk=function(t){var n,r,i,a,h;if(i=t.length,i>0)if(yi(0,t.length),t.charCodeAt(0)==47){for(h=new Nu(4),a=1,n=1;n<i;++n)yi(n,t.length),t.charCodeAt(n)==47&&(wt(h,a==n?"":t.substr(a,n-a)),a=n+1);return wt(h,t.substr(a)),Iwn(this,h)}else yi(i-1,t.length),t.charCodeAt(i-1)==63&&(r=i5e(t,mh(63),i-2),r>0&&(t=t.substr(0,r)));return Q4n(this,t)},u.Xk=function(){return this.c},u.Ib=function(){var t;return Ov(this.gm)+"@"+(t=Ws(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},u.b=!1,F(c1e,"ResourceImpl",781),N(1379,781,Uwt,VKe),F(c1e,"BinaryResourceImpl",1379),N(1169,694,n1e),u.si=function(t){return Le(t,56)?Ohn(this,l(t,56)):Le(t,591)?new Ir(l(t,591).Vk()):Je(t)===Je(this.f)?l(t,14).Kc():(fE(),YB.a)},u.Ob=function(){return J8e(this)},u.a=!1,F(Vs,"EcoreUtil/ContentTreeIterator",1169),N(1380,1169,n1e,Vnt),u.si=function(t){return Je(t)===Je(this.f)?l(t,15).Kc():new Sst(l(t,56))},F(c1e,"ResourceImpl/5",1380),N(648,1994,Dwt,Xse),u.Hc=function(t){return this.i<=4?f9(this,t):Le(t,49)&&l(t,49).Zg()==this.a},u.bi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},u.di=function(t,n){t==0?this.a.b||(this.a.b=!0):qce(this,t,n)},u.fi=function(t,n){},u.gi=function(t,n,r){},u.aj=function(){return 2},u.Ai=function(){return this.a},u.bj=function(){return!0},u.cj=function(t,n){var r;return r=l(t,49),n=r.wh(this.a,n),n},u.dj=function(t,n){var r;return r=l(t,49),r.wh(null,n)},u.ej=function(){return!1},u.hi=function(){return!0},u.ri=function(t){return Ue(Sb,Ht,56,t,0,1)},u.ni=function(){return!1},F(c1e,"ResourceImpl/ContentsEList",648),N(957,1964,I9,zKe),u.Zc=function(t){return this.a._h(t)},u.gc=function(){return this.a.gc()},F(Vs,"AbstractSequentialInternalEList/1",957);var oNe,cNe,Vo,lNe;N(624,1,{},Utt);var pX,mX;F(Vs,"BasicExtendedMetaData",624),N(1160,1,{},VZe),u.$k=function(){return null},u._k=function(){return this.a==-2&&pm(this,i3n(this.d,this.b)),this.a},u.al=function(){return null},u.bl=function(){return In(),In(),Lc},u.ne=function(){return this.c==G9&&u6(this,zht(this.d,this.b)),this.c},u.cl=function(){return 0},u.a=-2,u.c=G9,F(Vs,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),N(1161,1,{},fst),u.$k=function(){return this.a==(ME(),pX)&&cye(this,y_n(this.f,this.b)),this.a},u._k=function(){return 0},u.al=function(){return this.c==(ME(),pX)&&Dse(this,__n(this.f,this.b)),this.c},u.bl=function(){return!this.d&&Pse(this,ykn(this.f,this.b)),this.d},u.ne=function(){return this.e==G9&&az(this,zht(this.f,this.b)),this.e},u.cl=function(){return this.g==-2&&oz(this,kyn(this.f,this.b)),this.g},u.e=G9,u.g=-2,F(Vs,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),N(1159,1,{},UZe),u.b=!1,u.c=!1,F(Vs,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),N(1162,1,{},hst),u.c=-2,u.e=G9,u.f=G9,F(Vs,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),N(585,622,yl,RV),u.aj=function(){return this.c},u.Fk=function(){return!1},u.li=function(t,n){return n},u.c=0,F(Vs,"EDataTypeEList",585);var uNe=na(Vs,"FeatureMap");N(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},pa),u.Vc=function(t,n){m_n(this,t,l(n,72))},u.Fc=function(t){return N6n(this,l(t,72))},u.Yh=function(t){_un(this,l(t,72))},u.cj=function(t,n){return ton(this,l(t,72),n)},u.dj=function(t,n){return a5e(this,l(t,72),n)},u.ii=function(t,n){return Fkn(this,t,n)},u.li=function(t,n){return vEn(this,t,l(n,72))},u._c=function(t,n){return axn(this,t,l(n,72))},u.jj=function(t,n){return non(this,l(t,72),n)},u.kj=function(t,n){return mtt(this,l(t,72),n)},u.lj=function(t,n,r){return ayn(this,l(t,72),l(n,72),r)},u.oi=function(t,n){return Pue(this,t,l(n,72))},u.dl=function(t,n){return H7e(this,t,n)},u.Wc=function(t,n){var r,i,a,h,d,b,E,C,P;for(C=new hy(n.gc()),a=n.Kc();a.Ob();)if(i=l(a.Pb(),72),h=i.ak(),Gp(this.e,h))(!h.hi()||!Iq(this,h,i.dd())&&!f9(C,i))&&fi(C,i);else{for(P=Wu(this.e.Tg(),h),r=l(this.g,119),d=!0,b=0;b<this.i;++b)if(E=r[b],P.rl(E.ak())){l(z6(this,b,i),72),d=!1;break}d&&fi(C,i)}return pxe(this,t,C)},u.Gc=function(t){var n,r,i,a,h,d,b,E,C;for(E=new hy(t.gc()),i=t.Kc();i.Ob();)if(r=l(i.Pb(),72),a=r.ak(),Gp(this.e,a))(!a.hi()||!Iq(this,a,r.dd())&&!f9(E,r))&&fi(E,r);else{for(C=Wu(this.e.Tg(),a),n=l(this.g,119),h=!0,d=0;d<this.i;++d)if(b=n[d],C.rl(b.ak())){l(z6(this,d,r),72),h=!1;break}h&&fi(E,r)}return ga(this,E)},u.Wh=function(t){return this.j=-1,bhe(this,this.i,t)},u.el=function(t,n,r){return N7e(this,t,n,r)},u.mk=function(t,n){return rR(this,t,n)},u.fl=function(t,n,r){return iEe(this,t,n,r)},u.gl=function(){return this},u.hl=function(t,n){return oR(this,t,n)},u.il=function(t){return l(Re(this,t),72).ak()},u.jl=function(t){return l(Re(this,t),72).dd()},u.kl=function(){return this.b},u.bj=function(){return!0},u.ij=function(){return!0},u.ll=function(t){return!LN(this,t)},u.ri=function(t){return Ue(pEt,Vwt,332,t,0,1)},u.Gk=function(t){return poe(this,t)},u.Wb=function(t){RP(this,t)},u.ml=function(t,n){IG(this,t,n)},u.nl=function(t){return nlt(this,t)},u.ol=function(t){Sft(this,t)},F(Vs,"BasicFeatureMap",75),N(1851,1,np),u.Nb=function(t){jo(this,t)},u.Rb=function(t){if(this.g==-1)throw ue(new Eh);XV(this);try{Q0t(this.e,this.b,this.a,t),this.d=this.e.j,YU(this)}catch(n){throw n=ea(n),Le(n,73)?ue(new Zf):ue(n)}},u.Ob=function(){return Dle(this)},u.Sb=function(){return Sut(this)},u.Pb=function(){return YU(this)},u.Tb=function(){return this.a},u.Ub=function(){var t;if(Sut(this))return XV(this),this.g=--this.a,this.Lk()&&(t=LM(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw ue(new Gl)},u.Vb=function(){return this.a-1},u.Qb=function(){if(this.g==-1)throw ue(new Eh);XV(this);try{Kdt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw t=ea(t),Le(t,73)?ue(new Zf):ue(t)}},u.Lk=function(){return!1},u.Wb=function(t){if(this.g==-1)throw ue(new Eh);XV(this);try{_pt(this.e,this.b,this.g,t),this.d=this.e.j}catch(n){throw n=ea(n),Le(n,73)?ue(new Zf):ue(n)}},u.a=0,u.c=0,u.d=0,u.f=!1,u.g=0,u.i=0,F(Vs,"FeatureMapUtil/BasicFeatureEIterator",1851),N(410,1851,np,GE),u.pl=function(){var t,n,r;for(r=this.e.i,t=l(this.e.g,119);this.c<r;){if(n=t[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},u.ql=function(){var t,n;for(t=l(this.e.g,119);--this.c>=0;)if(n=t[this.c],this.k.rl(n.ak()))return this.j=this.f?n:n.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},F(Vs,"BasicFeatureMap/FeatureEIterator",410),N(662,410,np,Jae),u.Lk=function(){return!0},F(Vs,"BasicFeatureMap/ResolvingFeatureEIterator",662),N(955,486,PW,RJe),u.Gi=function(){return this},F(Vs,"EContentsEList/1",955),N(956,486,PW,oJe),u.Lk=function(){return!1},F(Vs,"EContentsEList/2",956),N(954,279,NW,BJe),u.Nk=function(t){},u.Ob=function(){return!1},u.Sb=function(){return!1},F(Vs,"EContentsEList/FeatureIteratorImpl/1",954),N(825,585,yl,h4e),u.ci=function(){this.a=!0},u.fj=function(){return this.a},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.a,this.a=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.a=!1},u.a=!1,F(Vs,"EDataTypeEList/Unsettable",825),N(1849,585,yl,UJe),u.hi=function(){return!0},F(Vs,"EDataTypeUniqueEList",1849),N(1850,825,yl,GJe),u.hi=function(){return!0},F(Vs,"EDataTypeUniqueEList/Unsettable",1850),N(139,85,yl,Sh),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectContainmentEList/Resolving",139),N(1163,545,yl,qJe),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectContainmentEList/Unsettable/Resolving",1163),N(748,16,yl,J4e),u.ci=function(){this.a=!0},u.fj=function(){return this.a},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.a,this.a=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.a=!1},u.a=!1,F(Vs,"EObjectContainmentWithInverseEList/Unsettable",748),N(1173,748,yl,rtt),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),N(743,496,yl,u4e),u.ci=function(){this.a=!0},u.fj=function(){return this.a},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.a,this.a=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.a=!1},u.a=!1,F(Vs,"EObjectEList/Unsettable",743),N(328,496,yl,T6),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectResolvingEList",328),N(1641,743,yl,WJe),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectResolvingEList/Unsettable",1641),N(1381,1,{},Eie);var vEt;F(Vs,"EObjectValidator",1381),N(546,496,yl,tq),u.zk=function(){return this.d},u.Ak=function(){return this.b},u.bj=function(){return!0},u.Dk=function(){return!0},u.b=0,F(Vs,"EObjectWithInverseEList",546),N(1176,546,yl,itt),u.Ck=function(){return!0},F(Vs,"EObjectWithInverseEList/ManyInverse",1176),N(625,546,yl,woe),u.ci=function(){this.a=!0},u.fj=function(){return this.a},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.a,this.a=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.a=!1},u.a=!1,F(Vs,"EObjectWithInverseEList/Unsettable",625),N(1175,625,yl,stt),u.Ck=function(){return!0},F(Vs,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),N(749,546,yl,e5e),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectWithInverseResolvingEList",749),N(31,749,yl,$n),u.Ck=function(){return!0},F(Vs,"EObjectWithInverseResolvingEList/ManyInverse",31),N(750,625,yl,t5e),u.Ek=function(){return!0},u.li=function(t,n){return Kk(this,t,l(n,56))},F(Vs,"EObjectWithInverseResolvingEList/Unsettable",750),N(1174,750,yl,att),u.Ck=function(){return!0},F(Vs,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),N(1164,622,yl),u.ai=function(){return(this.b&1792)==0},u.ci=function(){this.b|=1},u.Bk=function(){return(this.b&4)!=0},u.bj=function(){return(this.b&40)!=0},u.Ck=function(){return(this.b&16)!=0},u.Dk=function(){return(this.b&8)!=0},u.Ek=function(){return(this.b&e5)!=0},u.rk=function(){return(this.b&32)!=0},u.Fk=function(){return(this.b&b1)!=0},u.wj=function(t){return this.d?Hst(this.d,t):this.ak().Yj().wj(t)},u.fj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},u.hi=function(){return(this.b&128)!=0},u.Xj=function(){var t;ei(this),this.b&2&&(pf(this.e)?(t=(this.b&1)!=0,this.b&=-2,K7(this,new d1(this.e,2,Qs(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},u.ni=function(){return(this.b&1536)==0},u.b=0,F(Vs,"EcoreEList/Generic",1164),N(1165,1164,yl,Xrt),u.ak=function(){return this.a},F(Vs,"EcoreEList/Dynamic",1165),N(747,63,Cg,gye),u.ri=function(t){return uN(this.a.a,t)},F(Vs,"EcoreEMap/1",747),N(746,85,yl,J5e),u.bi=function(t,n){QU(this.b,l(n,133))},u.di=function(t,n){Rlt(this.b)},u.ei=function(t,n,r){var i;++(i=this.b,l(n,133),i).e},u.fi=function(t,n){Vle(this.b,l(n,133))},u.gi=function(t,n,r){Vle(this.b,l(r,133)),Je(r)===Je(n)&&l(r,133).Th(usn(l(n,133).cd())),QU(this.b,l(n,133))},F(Vs,"EcoreEMap/DelegateEObjectContainmentEList",746),N(1171,151,CSe,Yct),F(Vs,"EcoreEMap/Unsettable",1171),N(1172,746,yl,ott),u.ci=function(){this.a=!0},u.fj=function(){return this.a},u.Xj=function(){var t;ei(this),pf(this.e)?(t=this.a,this.a=!1,us(this.e,new d1(this.e,2,this.c,t,!1))):this.a=!1},u.a=!1,F(Vs,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),N(1168,228,s_,Jnt),u.a=!1,u.b=!1,F(Vs,"EcoreUtil/Copier",1168),N(745,1,ko,Sst),u.Nb=function(t){jo(this,t)},u.Ob=function(){return xht(this)},u.Pb=function(){var t;return xht(this),t=this.b,this.b=null,t},u.Qb=function(){this.a.Qb()},F(Vs,"EcoreUtil/ProperContentIterator",745),N(1382,1381,{},ZH);var bEt;F(Vs,"EcoreValidator",1382);var wEt;na(Vs,"FeatureMapUtil/Validator"),N(1260,1,{1942:1},Tie),u.rl=function(t){return!0},F(Vs,"FeatureMapUtil/1",1260),N(757,1,{1942:1},mEe),u.rl=function(t){var n;return this.c==t?!0:(n=Xt(Tr(this.a,t)),n==null?tkn(this,t)?(Pat(this.a,t,(er(),Y9)),!0):(Pat(this.a,t,(er(),z2)),!1):n==(er(),Y9))},u.e=!1;var Npe;F(Vs,"FeatureMapUtil/BasicValidator",757),N(758,43,s_,a4e),F(Vs,"FeatureMapUtil/BasicValidator/Cache",758),N(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},vP),u.Vc=function(t,n){Q0t(this.c,this.b,t,n)},u.Fc=function(t){return H7e(this.c,this.b,t)},u.Wc=function(t,n){return m7n(this.c,this.b,t,n)},u.Gc=function(t){return AA(this,t)},u.Xh=function(t,n){B0n(this.c,this.b,t,n)},u.lk=function(t,n){return N7e(this.c,this.b,t,n)},u.pi=function(t){return LG(this.c,this.b,t,!1)},u.Zh=function(){return bJe(this.c,this.b)},u.$h=function(){return Qin(this.c,this.b)},u._h=function(t){return z1n(this.c,this.b,t)},u.mk=function(t,n){return jet(this,t,n)},u.$b=function(){ik(this)},u.Hc=function(t){return Iq(this.c,this.b,t)},u.Ic=function(t){return Hgn(this.c,this.b,t)},u.Xb=function(t){return LG(this.c,this.b,t,!0)},u.Wj=function(t){return this},u.Xc=function(t){return Jdn(this.c,this.b,t)},u.dc=function(){return lV(this)},u.fj=function(){return!LN(this.c,this.b)},u.Kc=function(){return T0n(this.c,this.b)},u.Yc=function(){return S0n(this.c,this.b)},u.Zc=function(t){return Fmn(this.c,this.b,t)},u.ii=function(t,n){return ppt(this.c,this.b,t,n)},u.ji=function(t,n){R1n(this.c,this.b,t,n)},u.$c=function(t){return Kdt(this.c,this.b,t)},u.Mc=function(t){return xkn(this.c,this.b,t)},u._c=function(t,n){return _pt(this.c,this.b,t,n)},u.Wb=function(t){dG(this.c,this.b),AA(this,l(t,15))},u.gc=function(){return Qmn(this.c,this.b)},u.Pc=function(){return Xfn(this.c,this.b)},u.Qc=function(t){return e1n(this.c,this.b,t)},u.Ib=function(){var t,n;for(n=new wm,n.a+="[",t=bJe(this.c,this.b);Dle(t);)zc(n,LA(YU(t))),Dle(t)&&(n.a+=bc);return n.a+="]",n.a},u.Xj=function(){dG(this.c,this.b)},F(Vs,"FeatureMapUtil/FeatureEList",501),N(627,36,RR,Nce),u.yi=function(t){return pM(this,t)},u.Di=function(t){var n,r,i,a,h,d,b;switch(this.d){case 1:case 2:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return this.g=t.zi(),t.xi()==1&&(this.d=1),!0;break}case 3:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return this.d=5,n=new hy(2),fi(n,this.g),fi(n,t.zi()),this.g=n,!0;break}}break}case 5:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return r=l(this.g,14),r.Fc(t.zi()),!0;break}}break}case 4:{switch(a=t.xi(),a){case 3:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break}case 4:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return this.d=6,b=new hy(2),fi(b,this.n),fi(b,t.Bi()),this.n=b,d=pe(de(ri,1),Pi,25,15,[this.o,t.Ci()]),this.g=d,!0;break}}break}case 6:{switch(a=t.xi(),a){case 4:{if(h=t.Ai(),Je(h)===Je(this.c)&&pM(this,null)==t.yi(null))return r=l(this.n,14),r.Fc(t.Bi()),d=l(this.g,48),i=Ue(ri,Pi,25,d.length+1,15,1),du(d,0,i,0,d.length),i[d.length]=t.Ci(),this.g=i,!0;break}}break}}return!1},F(Vs,"FeatureMapUtil/FeatureENotificationImpl",627),N(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},$V),u.dl=function(t,n){return H7e(this.c,t,n)},u.el=function(t,n,r){return N7e(this.c,t,n,r)},u.fl=function(t,n,r){return iEe(this.c,t,n,r)},u.gl=function(){return this},u.hl=function(t,n){return oR(this.c,t,n)},u.il=function(t){return l(LG(this.c,this.b,t,!1),72).ak()},u.jl=function(t){return l(LG(this.c,this.b,t,!1),72).dd()},u.kl=function(){return this.a},u.ll=function(t){return!LN(this.c,t)},u.ml=function(t,n){IG(this.c,t,n)},u.nl=function(t){return nlt(this.c,t)},u.ol=function(t){Sft(this.c,t)},F(Vs,"FeatureMapUtil/FeatureFeatureMap",552),N(1259,1,o1e,GZe),u.Wj=function(t){return LG(this.b,this.a,-1,t)},u.fj=function(){return!LN(this.b,this.a)},u.Wb=function(t){IG(this.b,this.a,t)},u.Xj=function(){dG(this.b,this.a)},F(Vs,"FeatureMapUtil/FeatureValue",1259);var D8,Rpe,Bpe,P8,yEt,QB=na(VW,"AnyType");N(666,60,Wp,fae),F(VW,"InvalidDatatypeValueException",666);var vX=na(VW,Wwt),ZB=na(VW,Kwt),hNe=na(VW,Ywt),_Et,Ql,fNe,rw,xEt,kEt,EEt,TEt,SEt,CEt,AEt,MEt,LEt,IEt,OEt,z_,DEt,V_,EI,PEt,o3,JB,eF,NEt,TI,SI;N(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Nye),u._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new pa(this,0)),this.c):(!this.c&&(this.c=new pa(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)):(!this.c&&(this.c=new pa(this,0)),l(l(ku(this.c,(Ts(),rw)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new pa(this,2)),this.b):(!this.b&&(this.b=new pa(this,2)),this.b.b)}return id(this,t-Er(this.zh()),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():this.zh(),t),n,r)},u.jh=function(t,n,r){var i;switch(n){case 0:return!this.c&&(this.c=new pa(this,0)),rR(this.c,t,r);case 1:return(!this.c&&(this.c=new pa(this,0)),l(l(ku(this.c,(Ts(),rw)),153),69)).mk(t,r);case 2:return!this.b&&(this.b=new pa(this,2)),rR(this.b,t,r)}return i=l(Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():this.zh(),n),66),i.Nj().Rj(this,A_e(this),n-Er(this.zh()),t,r)},u.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)).dc();case 2:return!!this.b&&this.b.i!=0}return nd(this,t-Er(this.zh()),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():this.zh(),t))},u.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new pa(this,0)),RP(this.c,n);return;case 1:(!this.c&&(this.c=new pa(this,0)),l(l(ku(this.c,(Ts(),rw)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new pa(this,2)),RP(this.b,n);return}ld(this,t-Er(this.zh()),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():this.zh(),t),n)},u.zh=function(){return Ts(),fNe},u.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new pa(this,0)),ei(this.c);return;case 1:(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)).$b();return;case 2:!this.b&&(this.b=new pa(this,2)),ei(this.b);return}od(this,t-Er(this.zh()),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():this.zh(),t))},u.Ib=function(){var t;return this.j&4?m1(this):(t=new Ed(m1(this)),t.a+=" (mixed: ",EA(t,this.c),t.a+=", anyAttribute: ",EA(t,this.b),t.a+=")",t.a)},F(Ma,"AnyTypeImpl",830),N(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},SH),u._g=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return id(this,t-Er((Ts(),z_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():z_,t),n,r)},u.lh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return nd(this,t-Er((Ts(),z_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():z_,t))},u.sh=function(t,n){switch(t){case 0:Fse(this,wi(n));return;case 1:uye(this,wi(n));return}ld(this,t-Er((Ts(),z_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():z_,t),n)},u.zh=function(){return Ts(),z_},u.Bh=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}od(this,t-Er((Ts(),z_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():z_,t))},u.Ib=function(){var t;return this.j&4?m1(this):(t=new Ed(m1(this)),t.a+=" (data: ",zc(t,this.a),t.a+=", target: ",zc(t,this.b),t.a+=")",t.a)},u.a=null,u.b=null,F(Ma,"ProcessingInstructionImpl",667),N(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},DYe),u._g=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new pa(this,0)),this.c):(!this.c&&(this.c=new pa(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)):(!this.c&&(this.c=new pa(this,0)),l(l(ku(this.c,(Ts(),rw)),153),215)).kl();case 2:return r?(!this.b&&(this.b=new pa(this,2)),this.b):(!this.b&&(this.b=new pa(this,2)),this.b.b);case 3:return!this.c&&(this.c=new pa(this,0)),wi(oR(this.c,(Ts(),EI),!0));case 4:return n5e(this.a,(!this.c&&(this.c=new pa(this,0)),wi(oR(this.c,(Ts(),EI),!0))));case 5:return this.a}return id(this,t-Er((Ts(),V_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():V_,t),n,r)},u.lh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new pa(this,0)),wi(oR(this.c,(Ts(),EI),!0))!=null;case 4:return n5e(this.a,(!this.c&&(this.c=new pa(this,0)),wi(oR(this.c,(Ts(),EI),!0))))!=null;case 5:return!!this.a}return nd(this,t-Er((Ts(),V_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():V_,t))},u.sh=function(t,n){switch(t){case 0:!this.c&&(this.c=new pa(this,0)),RP(this.c,n);return;case 1:(!this.c&&(this.c=new pa(this,0)),l(l(ku(this.c,(Ts(),rw)),153),215)).Wb(n);return;case 2:!this.b&&(this.b=new pa(this,2)),RP(this.b,n);return;case 3:H6e(this,wi(n));return;case 4:H6e(this,r5e(this.a,n));return;case 5:eu(this,l(n,148));return}ld(this,t-Er((Ts(),V_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():V_,t),n)},u.zh=function(){return Ts(),V_},u.Bh=function(t){switch(t){case 0:!this.c&&(this.c=new pa(this,0)),ei(this.c);return;case 1:(!this.c&&(this.c=new pa(this,0)),l(ku(this.c,(Ts(),rw)),153)).$b();return;case 2:!this.b&&(this.b=new pa(this,2)),ei(this.b);return;case 3:!this.c&&(this.c=new pa(this,0)),IG(this.c,(Ts(),EI),null);return;case 4:H6e(this,r5e(this.a,null));return;case 5:this.a=null;return}od(this,t-Er((Ts(),V_)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():V_,t))},F(Ma,"SimpleAnyTypeImpl",668),N(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},OYe),u._g=function(t,n,r){switch(t){case 0:return r?(!this.a&&(this.a=new pa(this,0)),this.a):(!this.a&&(this.a=new pa(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new yf((Sn(),_c),ql,this,1)),this.b):(!this.b&&(this.b=new yf((Sn(),_c),ql,this,1)),QP(this.b));case 2:return r?(!this.c&&(this.c=new yf((Sn(),_c),ql,this,2)),this.c):(!this.c&&(this.c=new yf((Sn(),_c),ql,this,2)),QP(this.c));case 3:return!this.a&&(this.a=new pa(this,0)),ku(this.a,(Ts(),JB));case 4:return!this.a&&(this.a=new pa(this,0)),ku(this.a,(Ts(),eF));case 5:return!this.a&&(this.a=new pa(this,0)),ku(this.a,(Ts(),TI));case 6:return!this.a&&(this.a=new pa(this,0)),ku(this.a,(Ts(),SI))}return id(this,t-Er((Ts(),o3)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():o3,t),n,r)},u.jh=function(t,n,r){var i;switch(n){case 0:return!this.a&&(this.a=new pa(this,0)),rR(this.a,t,r);case 1:return!this.b&&(this.b=new yf((Sn(),_c),ql,this,1)),IV(this.b,t,r);case 2:return!this.c&&(this.c=new yf((Sn(),_c),ql,this,2)),IV(this.c,t,r);case 5:return!this.a&&(this.a=new pa(this,0)),jet(ku(this.a,(Ts(),TI)),t,r)}return i=l(Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():(Ts(),o3),n),66),i.Nj().Rj(this,A_e(this),n-Er((Ts(),o3)),t,r)},u.lh=function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new pa(this,0)),!lV(ku(this.a,(Ts(),JB)));case 4:return!this.a&&(this.a=new pa(this,0)),!lV(ku(this.a,(Ts(),eF)));case 5:return!this.a&&(this.a=new pa(this,0)),!lV(ku(this.a,(Ts(),TI)));case 6:return!this.a&&(this.a=new pa(this,0)),!lV(ku(this.a,(Ts(),SI)))}return nd(this,t-Er((Ts(),o3)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():o3,t))},u.sh=function(t,n){switch(t){case 0:!this.a&&(this.a=new pa(this,0)),RP(this.a,n);return;case 1:!this.b&&(this.b=new yf((Sn(),_c),ql,this,1)),wU(this.b,n);return;case 2:!this.c&&(this.c=new yf((Sn(),_c),ql,this,2)),wU(this.c,n);return;case 3:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),JB))),!this.a&&(this.a=new pa(this,0)),AA(ku(this.a,JB),l(n,14));return;case 4:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),eF))),!this.a&&(this.a=new pa(this,0)),AA(ku(this.a,eF),l(n,14));return;case 5:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),TI))),!this.a&&(this.a=new pa(this,0)),AA(ku(this.a,TI),l(n,14));return;case 6:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),SI))),!this.a&&(this.a=new pa(this,0)),AA(ku(this.a,SI),l(n,14));return}ld(this,t-Er((Ts(),o3)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():o3,t),n)},u.zh=function(){return Ts(),o3},u.Bh=function(t){switch(t){case 0:!this.a&&(this.a=new pa(this,0)),ei(this.a);return;case 1:!this.b&&(this.b=new yf((Sn(),_c),ql,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new yf((Sn(),_c),ql,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),JB)));return;case 4:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),eF)));return;case 5:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),TI)));return;case 6:!this.a&&(this.a=new pa(this,0)),ik(ku(this.a,(Ts(),SI)));return}od(this,t-Er((Ts(),o3)),Rn(this.j&2?(!this.k&&(this.k=new Qf),this.k).ck():o3,t))},u.Ib=function(){var t;return this.j&4?m1(this):(t=new Ed(m1(this)),t.a+=" (mixed: ",EA(t,this.a),t.a+=")",t.a)},F(Ma,"XMLTypeDocumentRootImpl",669),N(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Y3),u.Ih=function(t,n){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return n==null?null:wl(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return wi(n);case 6:return pan(l(n,190));case 12:case 47:case 49:case 11:return cmt(this,t,n);case 13:return n==null?null:n7n(l(n,240));case 15:case 14:return n==null?null:fun(ot(Lt(n)));case 17:return hdt((Ts(),n));case 18:return hdt(n);case 21:case 20:return n==null?null:dun(l(n,155).a);case 27:return man(l(n,190));case 30:return Cft((Ts(),l(n,15)));case 31:return Cft(l(n,15));case 40:return ban((Ts(),n));case 42:return fdt((Ts(),n));case 43:return fdt(n);case 59:case 48:return van((Ts(),n));default:throw ue(new Jn(V9+t.ne()+jy))}},u.Jh=function(t){var n,r,i,a,h;switch(t.G==-1&&(t.G=(r=Df(t),r?Pm(r.Mh(),t):-1)),t.G){case 0:return n=new Nye,n;case 1:return i=new SH,i;case 2:return a=new DYe,a;case 3:return h=new OYe,h;default:throw ue(new Jn(Ude+t.zb+jy))}},u.Kh=function(t,n){var r,i,a,h,d,b,E,C,P,$,K,Z,te,oe,ye,je;switch(t.yj()){case 5:case 52:case 4:return n;case 6:return Obn(n);case 8:case 7:return n==null?null:wyn(n);case 9:return n==null?null:cN(Bf((i=Su(n,!0),i.length>0&&(yi(0,i.length),i.charCodeAt(0)==43)?i.substr(1):i),-128,127)<<24>>24);case 10:return n==null?null:cN(Bf((a=Su(n,!0),a.length>0&&(yi(0,a.length),a.charCodeAt(0)==43)?a.substr(1):a),-128,127)<<24>>24);case 11:return wi(Oy(this,(Ts(),EEt),n));case 12:return wi(Oy(this,(Ts(),TEt),n));case 13:return n==null?null:new n3e(Su(n,!0));case 15:case 14:return $6n(n);case 16:return wi(Oy(this,(Ts(),SEt),n));case 17:return Dht((Ts(),n));case 18:return Dht(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Su(n,!0);case 21:case 20:return Y6n(n);case 22:return wi(Oy(this,(Ts(),CEt),n));case 23:return wi(Oy(this,(Ts(),AEt),n));case 24:return wi(Oy(this,(Ts(),MEt),n));case 25:return wi(Oy(this,(Ts(),LEt),n));case 26:return wi(Oy(this,(Ts(),IEt),n));case 27:return Cbn(n);case 30:return Pht((Ts(),n));case 31:return Pht(n);case 32:return n==null?null:St(Bf((P=Su(n,!0),P.length>0&&(yi(0,P.length),P.charCodeAt(0)==43)?P.substr(1):P),Jo,as));case 33:return n==null?null:new Fv(($=Su(n,!0),$.length>0&&(yi(0,$.length),$.charCodeAt(0)==43)?$.substr(1):$));case 34:return n==null?null:St(Bf((K=Su(n,!0),K.length>0&&(yi(0,K.length),K.charCodeAt(0)==43)?K.substr(1):K),Jo,as));case 36:return n==null?null:T2(RG((Z=Su(n,!0),Z.length>0&&(yi(0,Z.length),Z.charCodeAt(0)==43)?Z.substr(1):Z)));case 37:return n==null?null:T2(RG((te=Su(n,!0),te.length>0&&(yi(0,te.length),te.charCodeAt(0)==43)?te.substr(1):te)));case 40:return Vvn((Ts(),n));case 42:return Nht((Ts(),n));case 43:return Nht(n);case 44:return n==null?null:new Fv((oe=Su(n,!0),oe.length>0&&(yi(0,oe.length),oe.charCodeAt(0)==43)?oe.substr(1):oe));case 45:return n==null?null:new Fv((ye=Su(n,!0),ye.length>0&&(yi(0,ye.length),ye.charCodeAt(0)==43)?ye.substr(1):ye));case 46:return Su(n,!1);case 47:return wi(Oy(this,(Ts(),OEt),n));case 59:case 48:return zvn((Ts(),n));case 49:return wi(Oy(this,(Ts(),DEt),n));case 50:return n==null?null:t9(Bf((je=Su(n,!0),je.length>0&&(yi(0,je.length),je.charCodeAt(0)==43)?je.substr(1):je),jW,32767)<<16>>16);case 51:return n==null?null:t9(Bf((h=Su(n,!0),h.length>0&&(yi(0,h.length),h.charCodeAt(0)==43)?h.substr(1):h),jW,32767)<<16>>16);case 53:return wi(Oy(this,(Ts(),PEt),n));case 55:return n==null?null:t9(Bf((d=Su(n,!0),d.length>0&&(yi(0,d.length),d.charCodeAt(0)==43)?d.substr(1):d),jW,32767)<<16>>16);case 56:return n==null?null:t9(Bf((b=Su(n,!0),b.length>0&&(yi(0,b.length),b.charCodeAt(0)==43)?b.substr(1):b),jW,32767)<<16>>16);case 57:return n==null?null:T2(RG((E=Su(n,!0),E.length>0&&(yi(0,E.length),E.charCodeAt(0)==43)?E.substr(1):E)));case 58:return n==null?null:T2(RG((C=Su(n,!0),C.length>0&&(yi(0,C.length),C.charCodeAt(0)==43)?C.substr(1):C)));case 60:return n==null?null:St(Bf((r=Su(n,!0),r.length>0&&(yi(0,r.length),r.charCodeAt(0)==43)?r.substr(1):r),Jo,as));case 61:return n==null?null:St(Bf(Su(n,!0),Jo,as));default:throw ue(new Jn(V9+t.ne()+jy))}};var REt,dNe,BEt,gNe;F(Ma,"XMLTypeFactoryImpl",1919),N(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},yrt),u.N=!1,u.O=!1;var FEt=!1;F(Ma,"XMLTypePackageImpl",586),N(1852,1,{837:1},Ux),u._j=function(){return Y7e(),WEt},F(Ma,"XMLTypePackageImpl/1",1852),N(1861,1,qi,h0),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/10",1861),N(1862,1,qi,CH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/11",1862),N(1863,1,qi,AH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/12",1863),N(1864,1,qi,MH),u.wj=function(t){return a4(t)},u.xj=function(t){return Ue(Mo,dt,333,t,7,1)},F(Ma,"XMLTypePackageImpl/13",1864),N(1865,1,qi,LH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/14",1865),N(1866,1,qi,IH),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/15",1866),N(1867,1,qi,OH),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/16",1867),N(1868,1,qi,B1),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/17",1868),N(1869,1,qi,ih),u.wj=function(t){return Le(t,155)},u.xj=function(t){return Ue(X9,dt,155,t,0,1)},F(Ma,"XMLTypePackageImpl/18",1869),N(1870,1,qi,Sie),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/19",1870),N(1853,1,qi,Cie),u.wj=function(t){return Le(t,843)},u.xj=function(t){return Ue(QB,Ht,843,t,0,1)},F(Ma,"XMLTypePackageImpl/2",1853),N(1871,1,qi,Aie),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/20",1871),N(1872,1,qi,sh),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/21",1872),N(1873,1,qi,xC),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/22",1873),N(1874,1,qi,DH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/23",1874),N(1875,1,qi,PH),u.wj=function(t){return Le(t,190)},u.xj=function(t){return Ue(Rh,dt,190,t,0,2)},F(Ma,"XMLTypePackageImpl/24",1875),N(1876,1,qi,Gx),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/25",1876),N(1877,1,qi,Mie),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/26",1877),N(1878,1,qi,O7),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/27",1878),N(1879,1,qi,Lie),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/28",1879),N(1880,1,qi,NH),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/29",1880),N(1854,1,qi,Iie),u.wj=function(t){return Le(t,667)},u.xj=function(t){return Ue(vX,Ht,2021,t,0,1)},F(Ma,"XMLTypePackageImpl/3",1854),N(1881,1,qi,Oie),u.wj=function(t){return Le(t,19)},u.xj=function(t){return Ue(hc,dt,19,t,0,1)},F(Ma,"XMLTypePackageImpl/30",1881),N(1882,1,qi,kC),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/31",1882),N(1883,1,qi,RH),u.wj=function(t){return Le(t,162)},u.xj=function(t){return Ue(Hy,dt,162,t,0,1)},F(Ma,"XMLTypePackageImpl/32",1883),N(1884,1,qi,SD),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/33",1884),N(1885,1,qi,EC),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/34",1885),N(1886,1,qi,Die),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/35",1886),N(1887,1,qi,Pie),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/36",1887),N(1888,1,qi,CD),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/37",1888),N(1889,1,qi,TC),u.wj=function(t){return Le(t,15)},u.xj=function(t){return Ue(fd,W4,15,t,0,1)},F(Ma,"XMLTypePackageImpl/38",1889),N(1890,1,qi,f0),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/39",1890),N(1855,1,qi,D7),u.wj=function(t){return Le(t,668)},u.xj=function(t){return Ue(ZB,Ht,2022,t,0,1)},F(Ma,"XMLTypePackageImpl/4",1855),N(1891,1,qi,Nie),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/40",1891),N(1892,1,qi,P7),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/41",1892),N(1893,1,qi,AD),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/42",1893),N(1894,1,qi,e2),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/43",1894),N(1895,1,qi,SC),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/44",1895),N(1896,1,qi,MD),u.wj=function(t){return Le(t,184)},u.xj=function(t){return Ue(zy,dt,184,t,0,1)},F(Ma,"XMLTypePackageImpl/45",1896),N(1897,1,qi,F1),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/46",1897),N(1898,1,qi,CC),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/47",1898),N(1899,1,qi,d0),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/48",1899),N(ab,1,qi,g0),u.wj=function(t){return Le(t,184)},u.xj=function(t){return Ue(zy,dt,184,t,0,1)},F(Ma,"XMLTypePackageImpl/49",ab),N(1856,1,qi,Rie),u.wj=function(t){return Le(t,669)},u.xj=function(t){return Ue(hNe,Ht,2023,t,0,1)},F(Ma,"XMLTypePackageImpl/5",1856),N(1901,1,qi,Bie),u.wj=function(t){return Le(t,162)},u.xj=function(t){return Ue(Hy,dt,162,t,0,1)},F(Ma,"XMLTypePackageImpl/50",1901),N(1902,1,qi,o6),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/51",1902),N(1903,1,qi,N7),u.wj=function(t){return Le(t,19)},u.xj=function(t){return Ue(hc,dt,19,t,0,1)},F(Ma,"XMLTypePackageImpl/52",1903),N(1857,1,qi,R7),u.wj=function(t){return _o(t)},u.xj=function(t){return Ue(jt,dt,2,t,6,1)},F(Ma,"XMLTypePackageImpl/6",1857),N(1858,1,qi,AC),u.wj=function(t){return Le(t,190)},u.xj=function(t){return Ue(Rh,dt,190,t,0,2)},F(Ma,"XMLTypePackageImpl/7",1858),N(1859,1,qi,Fie),u.wj=function(t){return s4(t)},u.xj=function(t){return Ue(Ya,dt,476,t,8,1)},F(Ma,"XMLTypePackageImpl/8",1859),N(1860,1,qi,Wx),u.wj=function(t){return Le(t,217)},u.xj=function(t){return Ue(u8,dt,217,t,0,1)},F(Ma,"XMLTypePackageImpl/9",1860);var G0,tv,CI,bX,Te;N(50,60,Wp,bi),F(Vm,"RegEx/ParseException",50),N(820,1,{},LD),u.sl=function(t){return t<this.j&&$o(this.i,t)==63},u.tl=function(){var t,n,r,i,a;if(this.c!=10)throw ue(new bi(Ti((mi(),IW))));switch(t=this.a,t){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(ts(this),this.c!=0)throw ue(new bi(Ti((mi(),zm))));if(this.a==123){a=0,r=0;do{if(ts(this),this.c!=0)throw ue(new bi(Ti((mi(),zm))));if((a=C2(this.a))<0)break;if(r>r*16)throw ue(new bi(Ti((mi(),awt))));r=r*16+a}while(!0);if(this.a!=125)throw ue(new bi(Ti((mi(),owt))));if(r>W9)throw ue(new bi(Ti((mi(),cwt))));t=r}else{if(a=0,this.c!=0||(a=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(r=a,ts(this),this.c!=0||(a=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));r=r*16+a,t=r}break;case 117:if(i=0,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));n=n*16+i,t=n;break;case 118:if(ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,ts(this),this.c!=0||(i=C2(this.a))<0)throw ue(new bi(Ti((mi(),zm))));if(n=n*16+i,n>W9)throw ue(new bi(Ti((mi(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw ue(new bi(Ti((mi(),lwt))))}return t},u.ul=function(t){var n,r;switch(t){case 100:r=(this.e&32)==32?ib("Nd",!0):(rs(),wX);break;case 68:r=(this.e&32)==32?ib("Nd",!1):(rs(),yNe);break;case 119:r=(this.e&32)==32?ib("IsWord",!0):(rs(),PT);break;case 87:r=(this.e&32)==32?ib("IsWord",!1):(rs(),xNe);break;case 115:r=(this.e&32)==32?ib("IsSpace",!0):(rs(),N8);break;case 83:r=(this.e&32)==32?ib("IsSpace",!1):(rs(),_Ne);break;default:throw ue(new Tl((n=t,lyt+n.toString(16))))}return r},u.vl=function(t){var n,r,i,a,h,d,b,E,C,P,$,K;for(this.b=1,ts(this),n=null,this.c==0&&this.a==94?(ts(this),t?P=(rs(),rs(),new If(5)):(n=(rs(),rs(),new If(4)),Tu(n,0,W9),P=new If(4))):P=(rs(),rs(),new If(4)),a=!0;(K=this.c)!=1&&!(K==0&&this.a==93&&!a);){if(a=!1,r=this.a,i=!1,K==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:V4(P,this.ul(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.Ll(P,r),r<0&&(i=!0);break;case 112:case 80:if($=Q8e(this,r),!$)throw ue(new bi(Ti((mi(),i1e))));V4(P,$),i=!0;break;default:r=this.tl()}else if(K==20){if(d=uE(this.i,58,this.d),d<0)throw ue(new bi(Ti((mi(),_Se))));if(b=!0,$o(this.i,this.d)==94&&(++this.d,b=!1),h=Mf(this.i,this.d,d),E=_ot(h,b,(this.e&512)==512),!E)throw ue(new bi(Ti((mi(),twt))));if(V4(P,E),i=!0,d+1>=this.j||$o(this.i,d+1)!=93)throw ue(new bi(Ti((mi(),_Se))));this.d=d+2}if(ts(this),!i)if(this.c!=0||this.a!=45)Tu(P,r,r);else{if(ts(this),(K=this.c)==1)throw ue(new bi(Ti((mi(),OW))));K==0&&this.a==93?(Tu(P,r,r),Tu(P,45,45)):(C=this.a,K==10&&(C=this.tl()),ts(this),Tu(P,r,C))}(this.e&b1)==b1&&this.c==0&&this.a==44&&ts(this)}if(this.c==1)throw ue(new bi(Ti((mi(),OW))));return n&&(VM(n,P),P=n),Y6(P),HM(P),this.b=0,ts(this),P},u.wl=function(){var t,n,r,i;for(r=this.vl(!1);(i=this.c)!=7;)if(t=this.a,i==0&&(t==45||t==38)||i==4){if(ts(this),this.c!=9)throw ue(new bi(Ti((mi(),rwt))));if(n=this.vl(!1),i==4)V4(r,n);else if(t==45)VM(r,n);else if(t==38)nmt(r,n);else throw ue(new Tl("ASSERT"))}else throw ue(new bi(Ti((mi(),iwt))));return ts(this),r},u.xl=function(){var t,n;return t=this.a-48,n=(rs(),rs(),new bce(12,null,t)),!this.g&&(this.g=new _z),yz(this.g,new pye(t)),ts(this),n},u.yl=function(){return ts(this),rs(),HEt},u.zl=function(){return ts(this),rs(),$Et},u.Al=function(){throw ue(new bi(Ti((mi(),hd))))},u.Bl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Cl=function(){return ts(this),qpn()},u.Dl=function(){return ts(this),rs(),VEt},u.El=function(){return ts(this),rs(),UEt},u.Fl=function(){var t;if(this.d>=this.j||((t=$o(this.i,this.d++))&65504)!=64)throw ue(new bi(Ti((mi(),Z2t))));return ts(this),rs(),rs(),new Kg(0,t-64)},u.Gl=function(){return ts(this),C8n()},u.Hl=function(){return ts(this),rs(),GEt},u.Il=function(){var t;return t=(rs(),rs(),new Kg(0,105)),ts(this),t},u.Jl=function(){return ts(this),rs(),qEt},u.Kl=function(){return ts(this),rs(),zEt},u.Ll=function(t,n){return this.tl()},u.Ml=function(){return ts(this),rs(),bNe},u.Nl=function(){var t,n,r,i,a;if(this.d+1>=this.j)throw ue(new bi(Ti((mi(),Y2t))));if(i=-1,n=null,t=$o(this.i,this.d),49<=t&&t<=57){if(i=t-48,!this.g&&(this.g=new _z),yz(this.g,new pye(i)),++this.d,$o(this.i,this.d)!=41)throw ue(new bi(Ti((mi(),j2))));++this.d}else switch(t==63&&--this.d,ts(this),n=yEe(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw ue(new bi(Ti((mi(),j2))));break;default:throw ue(new bi(Ti((mi(),X2t))))}if(ts(this),a=xy(this),r=null,a.e==2){if(a.em()!=2)throw ue(new bi(Ti((mi(),Q2t))));r=a.am(1),a=a.am(0)}if(this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),rs(),rs(),new Jot(i,n,a,r)},u.Ol=function(){return ts(this),rs(),wNe},u.Pl=function(){var t;if(ts(this),t=nq(24,xy(this)),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Ql=function(){var t;if(ts(this),t=nq(20,xy(this)),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Rl=function(){var t;if(ts(this),t=nq(22,xy(this)),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Sl=function(){var t,n,r,i,a;for(t=0,r=0,n=-1;this.d<this.j&&(n=$o(this.i,this.d),a=n7e(n),a!=0);)t|=a,++this.d;if(this.d>=this.j)throw ue(new bi(Ti((mi(),wSe))));if(n==45){for(++this.d;this.d<this.j&&(n=$o(this.i,this.d),a=n7e(n),a!=0);)r|=a,++this.d;if(this.d>=this.j)throw ue(new bi(Ti((mi(),wSe))))}if(n==58){if(++this.d,ts(this),i=irt(xy(this),t,r),this.c!=7)throw ue(new bi(Ti((mi(),j2))));ts(this)}else if(n==41)++this.d,ts(this),i=irt(xy(this),t,r);else throw ue(new bi(Ti((mi(),K2t))));return i},u.Tl=function(){var t;if(ts(this),t=nq(21,xy(this)),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Ul=function(){var t;if(ts(this),t=nq(23,xy(this)),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Vl=function(){var t,n;if(ts(this),t=this.f++,n=Uoe(xy(this),t),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),n},u.Wl=function(){var t;if(ts(this),t=Uoe(xy(this),0),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Xl=function(t){return ts(this),this.c==5?(ts(this),GV(t,(rs(),rs(),new w4(9,t)))):GV(t,(rs(),rs(),new w4(3,t)))},u.Yl=function(t){var n;return ts(this),n=(rs(),rs(),new CA(2)),this.c==5?(ts(this),L2(n,MI),L2(n,t)):(L2(n,t),L2(n,MI)),n},u.Zl=function(t){return ts(this),this.c==5?(ts(this),rs(),rs(),new w4(9,t)):(rs(),rs(),new w4(3,t))},u.a=0,u.b=0,u.c=0,u.d=0,u.e=0,u.f=1,u.g=null,u.j=0,F(Vm,"RegEx/RegexParser",820),N(1824,820,{},PYe),u.sl=function(t){return!1},u.tl=function(){return I7e(this)},u.ul=function(t){return x9(t)},u.vl=function(t){return Kmt(this)},u.wl=function(){throw ue(new bi(Ti((mi(),hd))))},u.xl=function(){throw ue(new bi(Ti((mi(),hd))))},u.yl=function(){throw ue(new bi(Ti((mi(),hd))))},u.zl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Al=function(){return ts(this),x9(67)},u.Bl=function(){return ts(this),x9(73)},u.Cl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Dl=function(){throw ue(new bi(Ti((mi(),hd))))},u.El=function(){throw ue(new bi(Ti((mi(),hd))))},u.Fl=function(){return ts(this),x9(99)},u.Gl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Hl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Il=function(){return ts(this),x9(105)},u.Jl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Kl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Ll=function(t,n){return V4(t,x9(n)),-1},u.Ml=function(){return ts(this),rs(),rs(),new Kg(0,94)},u.Nl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Ol=function(){return ts(this),rs(),rs(),new Kg(0,36)},u.Pl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Ql=function(){throw ue(new bi(Ti((mi(),hd))))},u.Rl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Sl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Tl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Ul=function(){throw ue(new bi(Ti((mi(),hd))))},u.Vl=function(){var t;if(ts(this),t=Uoe(xy(this),0),this.c!=7)throw ue(new bi(Ti((mi(),j2))));return ts(this),t},u.Wl=function(){throw ue(new bi(Ti((mi(),hd))))},u.Xl=function(t){return ts(this),GV(t,(rs(),rs(),new w4(3,t)))},u.Yl=function(t){var n;return ts(this),n=(rs(),rs(),new CA(2)),L2(n,t),L2(n,MI),n},u.Zl=function(t){return ts(this),rs(),rs(),new w4(3,t)};var q_=null,OT=null;F(Vm,"RegEx/ParserForXMLSchema",1824),N(117,1,K9,Pw),u.$l=function(t){throw ue(new Tl("Not supported."))},u._l=function(){return-1},u.am=function(t){return null},u.bm=function(){return null},u.cm=function(t){},u.dm=function(t){},u.em=function(){return 0},u.Ib=function(){return this.fm(0)},u.fm=function(t){return this.e==11?".":""},u.e=0;var pNe,DT,AI,jEt,mNe,A5=null,wX,Fpe=null,vNe,MI,jpe=null,bNe,wNe,yNe,_Ne,xNe,$Et,N8,HEt,zEt,VEt,qEt,PT,UEt,GEt,_Sn=F(Vm,"RegEx/Token",117);N(136,117,{3:1,136:1,117:1},If),u.fm=function(t){var n,r,i;if(this.e==4)if(this==vNe)r=".";else if(this==wX)r="\\d";else if(this==PT)r="\\w";else if(this==N8)r="\\s";else{for(i=new wm,i.a+="[",n=0;n<this.b.length;n+=2)t&b1&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?zc(i,aR(this.b[n])):(zc(i,aR(this.b[n])),i.a+="-",zc(i,aR(this.b[n+1])));i.a+="]",r=i.a}else if(this==yNe)r="\\D";else if(this==xNe)r="\\W";else if(this==_Ne)r="\\S";else{for(i=new wm,i.a+="[^",n=0;n<this.b.length;n+=2)t&b1&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?zc(i,aR(this.b[n])):(zc(i,aR(this.b[n])),i.a+="-",zc(i,aR(this.b[n+1])));i.a+="]",r=i.a}return r},u.a=!1,u.c=!1,F(Vm,"RegEx/RangeToken",136),N(584,1,{584:1},pye),u.a=0,F(Vm,"RegEx/RegexParser/ReferencePosition",584),N(583,1,{3:1,583:1},UXe),u.Fb=function(t){var n;return t==null||!Le(t,583)?!1:(n=l(t,583),Tn(this.b,n.b)&&this.a==n.a)},u.Hb=function(){return Nm(this.b+"/"+T7e(this.a))},u.Ib=function(){return this.c.fm(this.a)},u.a=0,F(Vm,"RegEx/RegularExpression",583),N(223,117,K9,Kg),u._l=function(){return this.a},u.fm=function(t){var n,r,i;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:i="\\"+boe(this.a&Aa);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:this.a>=wc?(r=(n=this.a>>>0,"0"+n.toString(16)),i="\\v"+Mf(r,r.length-6,r.length)):i=""+boe(this.a&Aa)}break;case 8:this==bNe||this==wNe?i=""+boe(this.a&Aa):i="\\"+boe(this.a&Aa);break;default:i=null}return i},u.a=0,F(Vm,"RegEx/Token/CharToken",223),N(309,117,K9,w4),u.am=function(t){return this.a},u.cm=function(t){this.b=t},u.dm=function(t){this.c=t},u.em=function(){return 1},u.fm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.fm(t)+"*";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}";else throw ue(new Tl("Token#toString(): CLOSURE "+this.c+bc+this.b));else if(this.c<0&&this.b<0)n=this.a.fm(t)+"*?";else if(this.c==this.b)n=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.fm(t)+"{"+this.c+",}?";else throw ue(new Tl("Token#toString(): NONGREEDYCLOSURE "+this.c+bc+this.b));return n},u.b=0,u.c=0,F(Vm,"RegEx/Token/ClosureToken",309),N(821,117,K9,o6e),u.am=function(t){return t==0?this.a:this.b},u.em=function(){return 2},u.fm=function(t){var n;return this.b.e==3&&this.b.am(0)==this.a?n=this.a.fm(t)+"+":this.b.e==9&&this.b.am(0)==this.a?n=this.a.fm(t)+"+?":n=this.a.fm(t)+(""+this.b.fm(t)),n},F(Vm,"RegEx/Token/ConcatToken",821),N(1822,117,K9,Jot),u.am=function(t){if(t==0)return this.d;if(t==1)return this.b;throw ue(new Tl("Internal Error: "+t))},u.em=function(){return this.b?2:1},u.fm=function(t){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},u.c=0,F(Vm,"RegEx/Token/ConditionToken",1822),N(1823,117,K9,Jit),u.am=function(t){return this.b},u.em=function(){return 1},u.fm=function(t){return"(?"+(this.a==0?"":T7e(this.a))+(this.c==0?"":T7e(this.c))+":"+this.b.fm(t)+")"},u.a=0,u.c=0,F(Vm,"RegEx/Token/ModifierToken",1823),N(822,117,K9,d6e),u.am=function(t){return this.a},u.em=function(){return 1},u.fm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.fm(t)+")":n="("+this.a.fm(t)+")";break;case 20:n="(?="+this.a.fm(t)+")";break;case 21:n="(?!"+this.a.fm(t)+")";break;case 22:n="(?<="+this.a.fm(t)+")";break;case 23:n="(?<!"+this.a.fm(t)+")";break;case 24:n="(?>"+this.a.fm(t)+")"}return n},u.b=0,F(Vm,"RegEx/Token/ParenToken",822),N(521,117,{3:1,117:1,521:1},bce),u.bm=function(){return this.b},u.fm=function(t){return this.e==12?"\\"+this.a:N5n(this.b)},u.a=0,F(Vm,"RegEx/Token/StringToken",521),N(465,117,K9,CA),u.$l=function(t){L2(this,t)},u.am=function(t){return l(ty(this.a,t),117)},u.em=function(){return this.a?this.a.a.c.length:0},u.fm=function(t){var n,r,i,a,h;if(this.e==1){if(this.a.a.c.length==2)n=l(ty(this.a,0),117),r=l(ty(this.a,1),117),r.e==3&&r.am(0)==n?a=n.fm(t)+"+":r.e==9&&r.am(0)==n?a=n.fm(t)+"+?":a=n.fm(t)+(""+r.fm(t));else{for(h=new wm,i=0;i<this.a.a.c.length;i++)zc(h,l(ty(this.a,i),117).fm(t));a=h.a}return a}if(this.a.a.c.length==2&&l(ty(this.a,1),117).e==7)a=l(ty(this.a,0),117).fm(t)+"?";else if(this.a.a.c.length==2&&l(ty(this.a,0),117).e==7)a=l(ty(this.a,1),117).fm(t)+"??";else{for(h=new wm,zc(h,l(ty(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)h.a+="|",zc(h,l(ty(this.a,i),117).fm(t));a=h.a}return a},F(Vm,"RegEx/Token/UnionToken",465),N(518,1,{592:1},XD),u.Ib=function(){return this.a.b},F(dyt,"XMLTypeUtil/PatternMatcherImpl",518),N(1622,1381,{},BH);var WEt;F(dyt,"XMLTypeValidator",1622),N(264,1,rp,c2),u.Jc=function(t){Ho(this,t)},u.Kc=function(){return(this.b-this.a)*this.c<0?Ob:new jv(this)},u.a=0,u.b=0,u.c=0;var Ob;F($Se,"ExclusiveRange",264),N(1068,1,np,jie),u.Rb=function(t){l(t,19),hsn()},u.Nb=function(t){jo(this,t)},u.Pb=function(){return nin()},u.Ub=function(){return rin()},u.Wb=function(t){l(t,19),dsn()},u.Ob=function(){return!1},u.Sb=function(){return!1},u.Tb=function(){return-1},u.Vb=function(){return-1},u.Qb=function(){throw ue(new bm(myt))},F($Se,"ExclusiveRange/1",1068),N(254,1,np,jv),u.Rb=function(t){l(t,19),fsn()},u.Nb=function(t){jo(this,t)},u.Pb=function(){return hmn(this)},u.Ub=function(){return o0n(this)},u.Wb=function(t){l(t,19),gsn()},u.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},u.Sb=function(){return this.b>0},u.Tb=function(){return this.b},u.Vb=function(){return this.b-1},u.Qb=function(){throw ue(new bm(myt))},u.a=0,u.b=0,F($Se,"ExclusiveRange/RangeIterator",254);var md=yE(DW,"C"),ri=yE(vL,"I"),uf=yE(Xk,"Z"),Db=yE(bL,"J"),Rh=yE(gL,"B"),Eo=yE(pL,"D"),M5=yE(mL,"F"),U_=yE(wL,"S"),xSn=na("org.eclipse.elk.core.labels","ILabelManager"),kNe=na(uc,"DiagnosticChain"),ENe=na(qwt,"ResourceSet"),TNe=F(uc,"InvocationTargetException",null),KEt=(Sz(),d1n),YEt=YEt=nyn;cgn(trn),Pgn("permProps",[[[GW,WW],[KW,"gecko1_8"]],[[GW,WW],[KW,"ie10"]],[[GW,WW],[KW,"ie8"]],[[GW,WW],[KW,"ie9"]],[[GW,WW],[KW,"safari"]]]),YEt(null,"elk",null)}).call(this)}).call(this,typeof D<"u"?D:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(f,m,y){function k(z,V){if(!(z instanceof V))throw new TypeError("Cannot call a class as a function")}function v(z,V){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V&&(typeof V=="object"||typeof V=="function")?V:z}function A(z,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof V);z.prototype=Object.create(V&&V.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),V&&(Object.setPrototypeOf?Object.setPrototypeOf(z,V):z.__proto__=V)}var O=f("./elk-api.js").default,j=function(z){A(V,z);function V(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,V);var G=Object.assign({},Y),J=!1;try{f.resolve("web-worker"),J=!0}catch{}if(Y.workerUrl)if(J){var ce=f("web-worker");G.workerFactory=function(we){return new ce(we)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!G.workerFactory){var me=f("./elk-worker.min.js"),_e=me.Worker;G.workerFactory=function(we){return new _e(we)}}return v(this,(V.__proto__||Object.getPrototypeOf(V)).call(this,G))}return V}(O);Object.defineProperty(m.exports,"__esModule",{value:!0}),m.exports=j,j.default=j},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(f,m,y){m.exports=Worker},{}]},{},[3])(3)})})(Otn);const Dtn=H(Hwe),$Ge=new Dtn,B3={},Ptn={};let Tx={};const Ntn=function(s,o,f,m,y,k,v){const A=f.select(`[id="${o}"]`),O=A.insert("g").attr("class","nodes");return Object.keys(s).forEach(function(z){const V=s[z];let Y="default";V.classes.length>0&&(Y=V.classes.join(" "));const G=T3(V.styles);let J=V.text!==void 0?V.text:V.id,ce;const me={width:0,height:0};if(i0(Qt().flowchart.htmlLabels)){const ge={label:J.replace(/fa[blrs]?:fa-[\w-]+/g,Ne=>`<i class='${Ne.replace(":"," ")}'></i>`)};ce=PJ(A,ge).node();const Me=ce.getBBox();me.width=Me.width,me.height=Me.height,me.labelNode=ce,ce.parentNode.removeChild(ce)}else{const ge=m.createElementNS("http://www.w3.org/2000/svg","text");ge.setAttribute("style",G.labelStyle.replace("color:","fill:"));const Me=J.split(Oo.lineBreakRegex);for(const xe of Me){const qe=m.createElementNS("http://www.w3.org/2000/svg","tspan");qe.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),qe.setAttribute("dy","1em"),qe.setAttribute("x","1"),qe.textContent=xe,ge.appendChild(qe)}ce=ge;const Ne=ce.getBBox();me.width=Ne.width,me.height=Ne.height,me.labelNode=ce}const _e=[{id:V.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:V.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:V.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:V.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let we=0,Se="",Oe={};switch(V.type){case"round":we=5,Se="rect";break;case"square":Se="rect";break;case"diamond":Se="question",Oe={portConstraints:"FIXED_SIDE"};break;case"hexagon":Se="hexagon";break;case"odd":Se="rect_left_inv_arrow";break;case"lean_right":Se="lean_right";break;case"lean_left":Se="lean_left";break;case"trapezoid":Se="trapezoid";break;case"inv_trapezoid":Se="inv_trapezoid";break;case"odd_right":Se="rect_left_inv_arrow";break;case"circle":Se="circle";break;case"ellipse":Se="ellipse";break;case"stadium":Se="stadium";break;case"subroutine":Se="subroutine";break;case"cylinder":Se="cylinder";break;case"group":Se="rect";break;case"doublecircle":Se="doublecircle";break;default:Se="rect"}const De={labelStyle:G.labelStyle,shape:Se,labelText:J,rx:we,ry:we,class:Y,style:G.style,id:V.id,link:V.link,linkTarget:V.linkTarget,tooltip:y.db.getTooltip(V.id)||"",domId:y.db.lookUpDomId(V.id),haveCallback:V.haveCallback,width:V.type==="group"?500:void 0,dir:V.dir,type:V.type,props:V.props,padding:Qt().flowchart.padding};let Ve,ke;De.type!=="group"&&(ke=HVe(O,De,V.dir),Ve=ke.node().getBBox());const Ie={id:V.id,ports:V.type==="diamond"?_e:[],layoutOptions:Oe,labelText:J,labelData:me,domId:y.db.lookUpDomId(V.id),width:Ve==null?void 0:Ve.width,height:Ve==null?void 0:Ve.height,type:V.type,el:ke,parent:k.parentById[V.id]};Tx[De.id]=Ie}),v},HGe=(s,o,f)=>{const m={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return m.TD=m.TB,ne.info("abc88",f,o,s),m[f][o][s]},zGe=(s,o,f)=>{if(ne.info("getNextPort abc88",{node:s,edgeDirection:o,graphDirection:f}),!B3[s])switch(f){case"TB":case"TD":B3[s]={inPosition:"north",outPosition:"south"};break;case"BT":B3[s]={inPosition:"south",outPosition:"north"};break;case"RL":B3[s]={inPosition:"east",outPosition:"west"};break;case"LR":B3[s]={inPosition:"west",outPosition:"east"};break}const m=o==="in"?B3[s].inPosition:B3[s].outPosition;return o==="in"?B3[s].inPosition=HGe(B3[s].inPosition,o,f):B3[s].outPosition=HGe(B3[s].outPosition,o,f),m},Rtn=(s,o)=>{let f=s.start,m=s.end;const y=Tx[f],k=Tx[m];return!y||!k?{source:f,target:m}:(y.type==="diamond"&&(f=`${f}-${zGe(f,"out",o)}`),k.type==="diamond"&&(m=`${m}-${zGe(m,"in",o)}`),{source:f,target:m})},Btn=function(s,o,f,m){ne.info("abc78 edges = ",s);const y=m.insert("g").attr("class","edgeLabels");let k={},v=o.db.getDirection(),A,O;if(s.defaultStyle!==void 0){const j=T3(s.defaultStyle);A=j.style,O=j.labelStyle}return s.forEach(function(j){var z="L-"+j.start+"-"+j.end;k[z]===void 0?(k[z]=0,ne.info("abc78 new entry",z,k[z])):(k[z]++,ne.info("abc78 new entry",z,k[z]));let V=z+"-"+k[z];ne.info("abc78 new link id to be used is",z,V,k[z]);var Y="LS-"+j.start,G="LE-"+j.end;const J={style:"",labelStyle:""};switch(J.minlen=j.length||1,j.type==="arrow_open"?J.arrowhead="none":J.arrowhead="normal",J.arrowTypeStart="arrow_open",J.arrowTypeEnd="arrow_open",j.type){case"double_arrow_cross":J.arrowTypeStart="arrow_cross";case"arrow_cross":J.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":J.arrowTypeStart="arrow_point";case"arrow_point":J.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":J.arrowTypeStart="arrow_circle";case"arrow_circle":J.arrowTypeEnd="arrow_circle";break}let ce="",me="";switch(j.stroke){case"normal":ce="fill:none;",A!==void 0&&(ce=A),O!==void 0&&(me=O),J.thickness="normal",J.pattern="solid";break;case"dotted":J.thickness="normal",J.pattern="dotted",J.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":J.thickness="thick",J.pattern="solid",J.style="stroke-width: 3.5px;fill:none;";break}if(j.style!==void 0){const Oe=T3(j.style);ce=Oe.style,me=Oe.labelStyle}J.style=J.style+=ce,J.labelStyle=J.labelStyle+=me,j.interpolate!==void 0?J.curve=lv(j.interpolate,Bg):s.defaultInterpolate!==void 0?J.curve=lv(s.defaultInterpolate,Bg):J.curve=lv(Ptn.curve,Bg),j.text===void 0?j.style!==void 0&&(J.arrowheadStyle="fill: #333"):(J.arrowheadStyle="fill: #333",J.labelpos="c"),J.labelType="text",J.label=j.text.replace(Oo.lineBreakRegex,`
`),j.style===void 0&&(J.style=J.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),J.labelStyle=J.labelStyle.replace("color:","fill:"),J.id=V,J.classes="flowchart-link "+Y+" "+G;const _e=qVe(y,J),{source:we,target:Se}=Rtn(j,v);ne.debug("abc78 source and target",we,Se),f.edges.push({id:"e"+j.start+j.end,sources:[we],targets:[Se],labelEl:_e,labels:[{width:J.width,height:J.height,orgWidth:J.width,orgHeight:J.height,text:J.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:J})}),f},Ftn=function(s,o,f,m){let y="";switch(m&&(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,y=y.replace(/\(/g,"\\("),y=y.replace(/\)/g,"\\)")),o.arrowTypeStart){case"arrow_cross":s.attr("marker-start","url("+y+"#"+f+"-crossStart)");break;case"arrow_point":s.attr("marker-start","url("+y+"#"+f+"-pointStart)");break;case"arrow_barb":s.attr("marker-start","url("+y+"#"+f+"-barbStart)");break;case"arrow_circle":s.attr("marker-start","url("+y+"#"+f+"-circleStart)");break;case"aggregation":s.attr("marker-start","url("+y+"#"+f+"-aggregationStart)");break;case"extension":s.attr("marker-start","url("+y+"#"+f+"-extensionStart)");break;case"composition":s.attr("marker-start","url("+y+"#"+f+"-compositionStart)");break;case"dependency":s.attr("marker-start","url("+y+"#"+f+"-dependencyStart)");break;case"lollipop":s.attr("marker-start","url("+y+"#"+f+"-lollipopStart)");break}switch(o.arrowTypeEnd){case"arrow_cross":s.attr("marker-end","url("+y+"#"+f+"-crossEnd)");break;case"arrow_point":s.attr("marker-end","url("+y+"#"+f+"-pointEnd)");break;case"arrow_barb":s.attr("marker-end","url("+y+"#"+f+"-barbEnd)");break;case"arrow_circle":s.attr("marker-end","url("+y+"#"+f+"-circleEnd)");break;case"aggregation":s.attr("marker-end","url("+y+"#"+f+"-aggregationEnd)");break;case"extension":s.attr("marker-end","url("+y+"#"+f+"-extensionEnd)");break;case"composition":s.attr("marker-end","url("+y+"#"+f+"-compositionEnd)");break;case"dependency":s.attr("marker-end","url("+y+"#"+f+"-dependencyEnd)");break;case"lollipop":s.attr("marker-end","url("+y+"#"+f+"-lollipopEnd)");break}},jtn=function(s,o){ne.info("Extracting classes"),o.db.clear("ver-2");try{return o.parse(s),o.db.getClasses()}catch{return{}}},$tn=function(s){const o={parentById:{},childrenById:{}},f=s.getSubGraphs();return ne.info("Subgraphs - ",f),f.forEach(function(m){m.nodes.forEach(function(y){o.parentById[y]=m.id,o.childrenById[m.id]===void 0&&(o.childrenById[m.id]=[]),o.childrenById[m.id].push(y)})}),f.forEach(function(m){m.id,o.parentById[m.id]!==void 0&&o.parentById[m.id]}),o},Htn=function(s,o,f){const m=Itn(s,o,f);if(m===void 0||m==="root")return{x:0,y:0};const y=Tx[m].offset;return{x:y.posX,y:y.posY}},ztn=function(s,o,f,m,y){const k=Htn(o.sources[0],o.targets[0],y),v=o.sections[0].startPoint,A=o.sections[0].endPoint,j=(o.sections[0].bendPoints?o.sections[0].bendPoints:[]).map(me=>[me.x+k.x,me.y+k.y]),z=[[v.x+k.x,v.y+k.y],...j,[A.x+k.x,A.y+k.y]],V=bS().curve(Bg),Y=s.insert("path").attr("d",V(z)).attr("class","path").attr("fill","none"),G=s.insert("g").attr("class","edgeLabel"),J=Or(G.node().appendChild(o.labelEl)),ce=J.node().firstChild.getBoundingClientRect();J.attr("width",ce.width),J.attr("height",ce.height),G.attr("transform",`translate(${o.labels[0].x+k.x}, ${o.labels[0].y+k.y})`),Ftn(Y,f,m.type,m.arrowMarkerAbsolute)},VGe=(s,o)=>{s.forEach(f=>{f.children||(f.children=[]);const m=o.childrenById[f.id];m&&m.forEach(y=>{f.children.push(Tx[y])}),VGe(f.children,o)})},Vtn=async function(s,o,f,m){var y;m.db.clear(),Tx={},m.db.setGen("gen-2"),m.parser.parse(s);const k=Or("body").append("div").attr("style","height:400px").attr("id","cy");let v={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(ne.info("Drawing flowchart using v3 renderer",$Ge),m.db.getDirection()){case"BT":v.layoutOptions["elk.direction"]="UP";break;case"TB":v.layoutOptions["elk.direction"]="DOWN";break;case"LR":v.layoutOptions["elk.direction"]="RIGHT";break;case"RL":v.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:O,flowchart:j}=Qt();let z;O==="sandbox"&&(z=Or("#i"+o));const V=Or(O==="sandbox"?z.nodes()[0].contentDocument.body:"body"),Y=O==="sandbox"?z.nodes()[0].contentDocument:document,G=V.select(`[id="${o}"]`);MVe(G,["point","circle","cross"],m.type,m.arrowMarkerAbsolute);const ce=m.db.getVertices();let me;const _e=m.db.getSubGraphs();ne.info("Subgraphs - ",_e);for(let Ie=_e.length-1;Ie>=0;Ie--)me=_e[Ie],m.db.addVertex(me.id,me.title,"group",void 0,me.classes,me.dir);const we=G.insert("g").attr("class","subgraphs"),Se=$tn(m.db);v=Ntn(ce,o,V,Y,m,Se,v);const Oe=G.insert("g").attr("class","edges edgePath"),De=m.db.getEdges();v=Btn(De,m,v,G),Object.keys(Tx).forEach(Ie=>{const ge=Tx[Ie];ge.parent||v.children.push(ge),Se.childrenById[Ie]!==void 0&&(ge.labels=[{text:ge.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:ge.labelData.width,height:ge.labelData.height}],delete ge.x,delete ge.y,delete ge.width,delete ge.height)}),VGe(v.children,Se),ne.info("after layout",JSON.stringify(v,null,2));const ke=await $Ge.layout(v);qGe(0,0,ke.children,G,we,m,0),ne.info("after layout",ke),(y=ke.edges)==null||y.map(Ie=>{ztn(Oe,Ie,Ie.edgeData,m,Se)}),CS({},G,j.diagramPadding,j.useMaxWidth),k.remove()},qGe=(s,o,f,m,y,k,v)=>{f.forEach(function(A){if(A)if(Tx[A.id].offset={posX:A.x+s,posY:A.y+o,x:s,y:o,depth:v,width:A.width,height:A.height},A.type==="group"){const O=y.insert("g").attr("class","subgraph");O.insert("rect").attr("class","subgraph subgraph-lvl-"+v%5+" node").attr("x",A.x+s).attr("y",A.y+o).attr("width",A.width).attr("height",A.height);const j=O.insert("g").attr("class","label");j.attr("transform",`translate(${A.labels[0].x+s+A.x}, ${A.labels[0].y+o+A.y})`),j.node().appendChild(A.labelData.labelNode),ne.info("Id (UGH)= ",A.type,A.labels)}else ne.info("Id (UGH)= ",A.id),A.el.attr("transform",`translate(${A.x+s+A.width/2}, ${A.y+o+A.height/2})`)}),f.forEach(function(A){A&&A.type==="group"&&qGe(s+A.x,o+A.y,A.children,m,y,k,v+1)})},qtn={getClasses:jtn,draw:Vtn},Utn=s=>{let o="";for(let f=0;f<5;f++)o+=`
.subgraph-lvl-${f} {
fill: ${s[`surface${f}`]};
stroke: ${s[`surfacePeer${f}`]};
}
`;return o},Gtn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:zXt,renderer:qtn,parser:M2e,styles:s=>`.label {
font-family: ${s.fontFamily};
color: ${s.nodeTextColor||s.textColor};
}
.cluster-label text {
fill: ${s.titleColor};
}
.cluster-label span {
color: ${s.titleColor};
}
.label text,span {
fill: ${s.nodeTextColor||s.textColor};
color: ${s.nodeTextColor||s.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${s.mainBkg};
stroke: ${s.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${s.arrowheadColor};
}
.edgePath .path {
stroke: ${s.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${s.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${s.edgeLabelBackground};
rect {
opacity: 0.5;
background-color: ${s.edgeLabelBackground};
fill: ${s.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${s.clusterBkg};
stroke: ${s.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${s.titleColor};
}
.cluster span {
color: ${s.titleColor};
}
/* .cluster div {
color: ${s.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${s.fontFamily};
font-size: 12px;
background: ${s.tertiaryColor};
border: 1px solid ${s.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${s.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// fill:#ccc;
// // stroke:black;
// }
${Utn(s)}
`}},Symbol.toStringTag,{value:"Module"}));var zwe=function(){var s=function(me,_e,we,Se){for(we=we||{},Se=me.length;Se--;we[me[Se]]=_e);return we},o=[1,2],f=[1,5],m=[6,9,11,17,18,20,22,23,26,27,28],y=[1,15],k=[1,16],v=[1,17],A=[1,18],O=[1,19],j=[1,23],z=[1,24],V=[1,27],Y=[4,6,9,11,17,18,20,22,23,26,27,28],G={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"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,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(_e,we,Se,Oe,De,Ve,ke){var Ie=Ve.length-1;switch(De){case 1:return Ve[Ie-1];case 3:this.$=[];break;case 4:Ve[Ie-1].push(Ve[Ie]),this.$=Ve[Ie-1];break;case 5:case 6:this.$=Ve[Ie];break;case 7:case 8:this.$=[];break;case 11:Oe.getCommonDb().setDiagramTitle(Ve[Ie].substr(6)),this.$=Ve[Ie].substr(6);break;case 12:this.$=Ve[Ie].trim(),Oe.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=Ve[Ie].trim(),Oe.getCommonDb().setAccDescription(this.$);break;case 15:Oe.addSection(Ve[Ie].substr(8)),this.$=Ve[Ie].substr(8);break;case 19:Oe.addTask(Ve[Ie],0,""),this.$=Ve[Ie];break;case 20:Oe.addEvent(Ve[Ie].substr(2)),this.$=Ve[Ie];break;case 21:Oe.parseDirective("%%{","open_directive");break;case 22:Oe.parseDirective(Ve[Ie],"type_directive");break;case 23:Ve[Ie]=Ve[Ie].trim().replace(/'/g,'"'),Oe.parseDirective(Ve[Ie],"arg_directive");break;case 24:Oe.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:o,7:3,12:4,28:f},{1:[3]},s(m,[2,3],{5:6}),{3:7,4:o,7:3,12:4,28:f},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:y,18:k,20:v,22:A,23:O,24:20,25:21,26:j,27:z,28:f},{1:[2,2]},{14:25,15:[1,26],31:V},s([15,31],[2,22]),s(m,[2,8],{1:[2,1]}),s(m,[2,4]),{7:22,10:28,12:4,17:y,18:k,20:v,22:A,23:O,24:20,25:21,26:j,27:z,28:f},s(m,[2,6]),s(m,[2,7]),s(m,[2,11]),{19:[1,29]},{21:[1,30]},s(m,[2,14]),s(m,[2,15]),s(m,[2,16]),s(m,[2,17]),s(m,[2,18]),s(m,[2,19]),s(m,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},s(m,[2,5]),s(m,[2,12]),s(m,[2,13]),s(Y,[2,9]),{14:34,31:V},{31:[2,23]},{11:[1,35]},s(Y,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(_e,we){if(we.recoverable)this.trace(_e);else{var Se=new Error(_e);throw Se.hash=we,Se}},parse:function(_e){var we=this,Se=[0],Oe=[],De=[null],Ve=[],ke=this.table,Ie="",ge=0,Me=0,Ne=2,xe=1,qe=Ve.slice.call(arguments,1),ae=Object.create(this.lexer),Qe={yy:{}};for(var Ce in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ce)&&(Qe.yy[Ce]=this.yy[Ce]);ae.setInput(_e,Qe.yy),Qe.yy.lexer=ae,Qe.yy.parser=this,typeof ae.yylloc>"u"&&(ae.yylloc={});var nt=ae.yylloc;Ve.push(nt);var Ee=ae.options&&ae.options.ranges;typeof Qe.yy.parseError=="function"?this.parseError=Qe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function kt(){var Pt;return Pt=Oe.pop()||ae.lex()||xe,typeof Pt!="number"&&(Pt instanceof Array&&(Oe=Pt,Pt=Oe.pop()),Pt=we.symbols_[Pt]||Pt),Pt}for(var Ot,Vt,Rt,Gt,_n={},On,Dt,ai,Ft;;){if(Vt=Se[Se.length-1],this.defaultActions[Vt]?Rt=this.defaultActions[Vt]:((Ot===null||typeof Ot>"u")&&(Ot=kt()),Rt=ke[Vt]&&ke[Vt][Ot]),typeof Rt>"u"||!Rt.length||!Rt[0]){var $t="";Ft=[];for(On in ke[Vt])this.terminals_[On]&&On>Ne&&Ft.push("'"+this.terminals_[On]+"'");ae.showPosition?$t="Parse error on line "+(ge+1)+`:
`+ae.showPosition()+`
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[Ot]||Ot)+"'":$t="Parse error on line "+(ge+1)+": Unexpected "+(Ot==xe?"end of input":"'"+(this.terminals_[Ot]||Ot)+"'"),this.parseError($t,{text:ae.match,token:this.terminals_[Ot]||Ot,line:ae.yylineno,loc:nt,expected:Ft})}if(Rt[0]instanceof Array&&Rt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Vt+", token: "+Ot);switch(Rt[0]){case 1:Se.push(Ot),De.push(ae.yytext),Ve.push(ae.yylloc),Se.push(Rt[1]),Ot=null,Me=ae.yyleng,Ie=ae.yytext,ge=ae.yylineno,nt=ae.yylloc;break;case 2:if(Dt=this.productions_[Rt[1]][1],_n.$=De[De.length-Dt],_n._$={first_line:Ve[Ve.length-(Dt||1)].first_line,last_line:Ve[Ve.length-1].last_line,first_column:Ve[Ve.length-(Dt||1)].first_column,last_column:Ve[Ve.length-1].last_column},Ee&&(_n._$.range=[Ve[Ve.length-(Dt||1)].range[0],Ve[Ve.length-1].range[1]]),Gt=this.performAction.apply(_n,[Ie,Me,ge,Qe.yy,Rt[1],De,Ve].concat(qe)),typeof Gt<"u")return Gt;Dt&&(Se=Se.slice(0,-1*Dt*2),De=De.slice(0,-1*Dt),Ve=Ve.slice(0,-1*Dt)),Se.push(this.productions_[Rt[1]][0]),De.push(_n.$),Ve.push(_n._$),ai=ke[Se[Se.length-2]][Se[Se.length-1]],Se.push(ai);break;case 3:return!0}}return!0}},J=function(){var me={EOF:1,parseError:function(we,Se){if(this.yy.parser)this.yy.parser.parseError(we,Se);else throw new Error(we)},setInput:function(_e,we){return this.yy=we||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];this.yytext+=_e,this.yyleng++,this.offset++,this.match+=_e,this.matched+=_e;var we=_e.match(/(?:\r\n?|\n).*/g);return we?(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 we=_e.length,Se=_e.split(/(?:\r\n?|\n)/g);this._input=_e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-we),this.offset-=we;var Oe=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),Se.length-1&&(this.yylineno-=Se.length-1);var De=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:Se?(Se.length===Oe.length?this.yylloc.first_column:0)+Oe[Oe.length-Se.length].length-Se[0].length:this.yylloc.first_column-we},this.options.ranges&&(this.yylloc.range=[De[0],De[0]+this.yyleng-we]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},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(),we=new Array(_e.length+1).join("-");return _e+this.upcomingInput()+`
`+we+"^"},test_match:function(_e,we){var Se,Oe,De;if(this.options.backtrack_lexer&&(De={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&&(De.yylloc.range=this.yylloc.range.slice(0))),Oe=_e[0].match(/(?:\r\n?|\n).*/g),Oe&&(this.yylineno+=Oe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Oe?Oe[Oe.length-1].length-Oe[Oe.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],Se=this.performAction.call(this,this.yy,this,we,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Se)return Se;if(this._backtrack){for(var Ve in De)this[Ve]=De[Ve];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _e,we,Se,Oe;this._more||(this.yytext="",this.match="");for(var De=this._currentRules(),Ve=0;Ve<De.length;Ve++)if(Se=this._input.match(this.rules[De[Ve]]),Se&&(!we||Se[0].length>we[0].length)){if(we=Se,Oe=Ve,this.options.backtrack_lexer){if(_e=this.test_match(Se,De[Ve]),_e!==!1)return _e;if(this._backtrack){we=!1;continue}else return!1}else if(!this.options.flex)break}return we?(_e=this.test_match(we,De[Oe]),_e!==!1?_e:!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(){var we=this.next();return we||this.lex()},begin:function(we){this.conditionStack.push(we)},popState:function(){var we=this.conditionStack.length-1;return we>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(we){return we=this.conditionStack.length-1-Math.abs(we||0),we>=0?this.conditionStack[we]:"INITIAL"},pushState:function(we){this.begin(we)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(we,Se,Oe,De){switch(Oe){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;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 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\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,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/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],inclusive:!0}}};return me}();G.lexer=J;function ce(){this.yy={}}return ce.prototype=G,G.Parser=ce,new ce}();zwe.parser=zwe;const Wtn=zwe;let nD="",UGe=0;const Vwe=[],ree=[],rD=[],GGe=()=>fHe,WGe=(s,o,f)=>{Ibe(globalThis,s,o,f)},KGe=function(){Vwe.length=0,ree.length=0,nD="",rD.length=0,hv()},YGe=function(s){nD=s,Vwe.push(s)},XGe=function(){return Vwe},QGe=function(){let s=tWe();const o=100;let f=0;for(;!s&&f<o;)s=tWe(),f++;return ree.push(...rD),ree},ZGe=function(s,o,f){const m={id:UGe++,section:nD,type:nD,task:s,score:o||0,events:f?[f]:[]};rD.push(m)},JGe=function(s){rD.find(f=>f.id===UGe-1).events.push(s)},eWe=function(s){const o={section:nD,type:nD,description:s,task:s,classes:[]};ree.push(o)},tWe=function(){const s=function(f){return rD[f].processed};let o=!0;for(const[f,m]of rD.entries())s(f),o=o&&m.processed;return o},Ktn=Object.freeze(Object.defineProperty({__proto__:null,addEvent:JGe,addSection:YGe,addTask:ZGe,addTaskOrg:eWe,clear:KGe,default:{clear:KGe,getCommonDb:GGe,addSection:YGe,getSections:XGe,getTasks:QGe,addTask:ZGe,addTaskOrg:eWe,addEvent:JGe,parseDirective:WGe},getCommonDb:GGe,getSections:XGe,getTasks:QGe,parseDirective:WGe},Symbol.toStringTag,{value:"Module"})),Ytn=12,iee=function(s,o){const f=s.append("rect");return f.attr("x",o.x),f.attr("y",o.y),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("width",o.width),f.attr("height",o.height),f.attr("rx",o.rx),f.attr("ry",o.ry),o.class!==void 0&&f.attr("class",o.class),f},Xtn=function(s,o){const m=s.append("circle").attr("cx",o.cx).attr("cy",o.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),y=s.append("g");y.append("circle").attr("cx",o.cx-15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),y.append("circle").attr("cx",o.cx+15/3).attr("cy",o.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function k(O){const j=KF().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);O.append("path").attr("class","mouth").attr("d",j).attr("transform","translate("+o.cx+","+(o.cy+2)+")")}function v(O){const j=KF().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);O.append("path").attr("class","mouth").attr("d",j).attr("transform","translate("+o.cx+","+(o.cy+7)+")")}function A(O){O.append("line").attr("class","mouth").attr("stroke",2).attr("x1",o.cx-5).attr("y1",o.cy+7).attr("x2",o.cx+5).attr("y2",o.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o.score>3?k(y):o.score<3?v(y):A(y),m},Qtn=function(s,o){const f=s.append("circle");return f.attr("cx",o.cx),f.attr("cy",o.cy),f.attr("class","actor-"+o.pos),f.attr("fill",o.fill),f.attr("stroke",o.stroke),f.attr("r",o.r),f.class!==void 0&&f.attr("class",f.class),o.title!==void 0&&f.append("title").text(o.title),f},nWe=function(s,o){const f=o.text.replace(/<br\s*\/?>/gi," "),m=s.append("text");m.attr("x",o.x),m.attr("y",o.y),m.attr("class","legend"),m.style("text-anchor",o.anchor),o.class!==void 0&&m.attr("class",o.class);const y=m.append("tspan");return y.attr("x",o.x+o.textMargin*2),y.text(f),m},Ztn=function(s,o){function f(y,k,v,A,O){return y+","+k+" "+(y+v)+","+k+" "+(y+v)+","+(k+A-O)+" "+(y+v-O*1.2)+","+(k+A)+" "+y+","+(k+A)}const m=s.append("polygon");m.attr("points",f(o.x,o.y,50,20,7)),m.attr("class","labelBox"),o.y=o.y+o.labelMargin,o.x=o.x+.5*o.labelMargin,nWe(s,o)},Jtn=function(s,o,f){const m=s.append("g"),y=qwe();y.x=o.x,y.y=o.y,y.fill=o.fill,y.width=f.width,y.height=f.height,y.class="journey-section section-type-"+o.num,y.rx=3,y.ry=3,iee(m,y),iWe(f)(o.text,m,y.x,y.y,y.width,y.height,{class:"journey-section section-type-"+o.num},f,o.colour)};let rWe=-1;const enn=function(s,o,f){const m=o.x+f.width/2,y=s.append("g");rWe++;const k=300+5*30;y.append("line").attr("id","task"+rWe).attr("x1",m).attr("y1",o.y).attr("x2",m).attr("y2",k).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Xtn(y,{cx:m,cy:300+(5-o.score)*30,score:o.score});const v=qwe();v.x=o.x,v.y=o.y,v.fill=o.fill,v.width=f.width,v.height=f.height,v.class="task task-type-"+o.num,v.rx=3,v.ry=3,iee(y,v),o.x+14,iWe(f)(o.task,y,v.x,v.y,v.width,v.height,{class:"task"},f,o.colour)},tnn=function(s,o){iee(s,{x:o.startx,y:o.starty,width:o.stopx-o.startx,height:o.stopy-o.starty,fill:o.fill,class:"rect"}).lower()},nnn=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},qwe=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},iWe=function(){function s(y,k,v,A,O,j,z,V){const Y=k.append("text").attr("x",v+O/2).attr("y",A+j/2+5).style("font-color",V).style("text-anchor","middle").text(y);m(Y,z)}function o(y,k,v,A,O,j,z,V,Y){const{taskFontSize:G,taskFontFamily:J}=V,ce=y.split(/<br\s*\/?>/gi);for(let me=0;me<ce.length;me++){const _e=me*G-G*(ce.length-1)/2,we=k.append("text").attr("x",v+O/2).attr("y",A).attr("fill",Y).style("text-anchor","middle").style("font-size",G).style("font-family",J);we.append("tspan").attr("x",v+O/2).attr("dy",_e).text(ce[me]),we.attr("y",A+j/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),m(we,z)}}function f(y,k,v,A,O,j,z,V){const Y=k.append("switch"),J=Y.append("foreignObject").attr("x",v).attr("y",A).attr("width",O).attr("height",j).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");J.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(y),o(y,Y,v,A,O,j,z,V),m(J,z)}function m(y,k){for(const v in k)v in k&&y.attr(v,k[v])}return function(y){return y.textPlacement==="fo"?f:y.textPlacement==="old"?s:o}}(),rnn=function(s){s.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")};function sWe(s,o){s.each(function(){var f=Or(this),m=f.text().split(/(\s+|<br>)/).reverse(),y,k=[],v=1.1,A=f.attr("y"),O=parseFloat(f.attr("dy")),j=f.text(null).append("tspan").attr("x",0).attr("y",A).attr("dy",O+"em");for(let z=0;z<m.length;z++)y=m[m.length-1-z],k.push(y),j.text(k.join(" ").trim()),(j.node().getComputedTextLength()>o||y==="<br>")&&(k.pop(),j.text(k.join(" ").trim()),y==="<br>"?k=[""]:k=[y],j=f.append("tspan").attr("x",0).attr("y",A).attr("dy",v+"em").text(y))})}const inn=function(s,o,f,m){const y=f%Ytn-1,k=s.append("g");o.section=y,k.attr("class",(o.class?o.class+" ":"")+"timeline-node "+("section-"+y));const v=k.append("g"),A=k.append("g"),j=A.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(sWe,o.width).node().getBBox(),z=m.fontSize&&m.fontSize.replace?m.fontSize.replace("px",""):m.fontSize;return o.height=j.height+z*1.1*.5+o.padding,o.height=Math.max(o.height,o.maxHeight),o.width=o.width+2*o.padding,A.attr("transform","translate("+o.width/2+", "+o.padding/2+")"),ann(v,o,y),o},snn=function(s,o,f){const m=s.append("g"),k=m.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(sWe,o.width).node().getBBox(),v=f.fontSize&&f.fontSize.replace?f.fontSize.replace("px",""):f.fontSize;return m.remove(),k.height+v*1.1*.5+o.padding},ann=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+o.type).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},qS={drawRect:iee,drawCircle:Qtn,drawSection:Jtn,drawText:nWe,drawLabel:Ztn,drawTask:enn,drawBackgroundRect:tnn,getTextObj:nnn,getNoteRect:qwe,initGraphics:rnn,drawNode:inn,getVirtualNodeHeight:snn},onn=function(s){Object.keys(s).forEach(function(f){conf[f]=s[f]})},cnn=function(s,o,f,m){const y=Qt(),k=y.leftMargin?y.leftMargin:50;m.db.clear(),m.parser.parse(s+`
`),ne.debug("timeline",m.db);const v=y.securityLevel;let A;v==="sandbox"&&(A=Or("#i"+o));const j=Or(v==="sandbox"?A.nodes()[0].contentDocument.body:"body").select("#"+o);j.append("g");const z=m.db.getTasks(),V=m.db.getCommonDb().getDiagramTitle();ne.debug("task",z),qS.initGraphics(j);const Y=m.db.getSections();ne.debug("sections",Y);let G=0,J=0,ce=0,me=0,_e=50+k,we=50;me=50;let Se=0,Oe=!0;Y.forEach(function(ge){const Me={number:Se,descr:ge,section:Se,width:150,padding:20,maxHeight:G},Ne=qS.getVirtualNodeHeight(j,Me,y);ne.debug("sectionHeight before draw",Ne),G=Math.max(G,Ne+20)});let De=0,Ve=0;ne.debug("tasks.length",z.length);for(const[ge,Me]of z.entries()){const Ne={number:ge,descr:Me,section:Me.section,width:150,padding:20,maxHeight:J},xe=qS.getVirtualNodeHeight(j,Ne,y);ne.debug("taskHeight before draw",xe),J=Math.max(J,xe+20),De=Math.max(De,Me.events.length);let qe=0;for(let ae=0;ae<Me.events.length;ae++){const Ce={descr:Me.events[ae],section:Me.section,number:Me.section,width:150,padding:20,maxHeight:50};qe+=qS.getVirtualNodeHeight(j,Ce,y)}Ve=Math.max(Ve,qe)}ne.debug("maxSectionHeight before draw",G),ne.debug("maxTaskHeight before draw",J),Y&&Y.length>0?Y.forEach(ge=>{const Me={number:Se,descr:ge,section:Se,width:150,padding:20,maxHeight:G};ne.debug("sectionNode",Me);const Ne=j.append("g"),xe=qS.drawNode(Ne,Me,Se,y);ne.debug("sectionNode output",xe),Ne.attr("transform",`translate(${_e}, ${me})`),we+=G+50;const qe=z.filter(ae=>ae.section===ge);qe.length>0&&aWe(j,qe,Se,_e,we,J,y,De,Ve,G,!1),_e+=200*Math.max(qe.length,1),we=me,Se++}):(Oe=!1,aWe(j,z,Se,_e,we,J,y,De,Ve,G,!0));const ke=j.node().getBBox();ne.debug("bounds",ke),V&&j.append("text").text(V).attr("x",ke.width/2-k).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),ce=Oe?G+J+150:J+100,j.append("g").attr("class","lineWrapper").append("line").attr("x1",k).attr("y1",ce).attr("x2",ke.width+3*k).attr("y2",ce).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),CS(void 0,j,y.timeline.padding?y.timeline.padding:50,y.timeline.useMaxWidth?y.timeline.useMaxWidth:!1)},aWe=function(s,o,f,m,y,k,v,A,O,j,z){for(const V of o){const Y={descr:V.task,section:f,number:f,width:150,padding:20,maxHeight:k};ne.debug("taskNode",Y);const G=s.append("g").attr("class","taskWrapper"),ce=qS.drawNode(G,Y,f,v).height;if(ne.debug("taskHeight after draw",ce),G.attr("transform",`translate(${m}, ${y})`),k=Math.max(k,ce),V.events){const me=s.append("g").attr("class","lineWrapper");let _e=k;y+=100,_e=_e+lnn(s,V.events,f,m,y,v),y-=100,me.append("line").attr("x1",m+190/2).attr("y1",y+k).attr("x2",m+190/2).attr("y2",y+k+(z?k:j)+O+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}m=m+200,z&&!Qt().timeline.disableMulticolor&&f++}y=y-10},lnn=function(s,o,f,m,y,k){let v=0;const A=y;y=y+100;for(const O of o){const j={descr:O,section:f,number:f,width:150,padding:20,maxHeight:50};ne.debug("eventNode",j);const z=s.append("g").attr("class","eventWrapper"),Y=qS.drawNode(z,j,f,k).height;v=v+Y,z.attr("transform",`translate(${m}, ${y})`),y=y+10+Y}return y=A,v},unn={setConf:onn,draw:cnn},hnn=s=>{let o="";for(let f=0;f<s.THEME_COLOR_LIMIT;f++)s["lineColor"+f]=s["lineColor"+f]||s["cScaleInv"+f],c$e(s["lineColor"+f])?s["lineColor"+f]=ro(s["lineColor"+f],20):s["lineColor"+f]=Bo(s["lineColor"+f],20);for(let f=0;f<s.THEME_COLOR_LIMIT;f++){const m=""+(17-3*f);o+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} path {
fill: ${s["cScale"+f]};
}
.section-${f-1} text {
fill: ${s["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
color: ${s["cScaleLabel"+f]};
}
.section-edge-${f-1}{
stroke: ${s["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${m};
}
.section-${f-1} line {
stroke: ${s["cScaleInv"+f]} ;
stroke-width: 3;
}
.lineWrapper line{
stroke: ${s["cScaleLabel"+f]} ;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return o},fnn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:Ktn,renderer:unn,parser:Wtn,styles:s=>`
.edge {
stroke-width: 3;
}
${hnn(s)}
.section-root rect, .section-root path, .section-root circle {
fill: ${s.git0};
}
.section-root text {
fill: ${s.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
.eventWrapper {
filter: brightness(120%);
}
`}},Symbol.toStringTag,{value:"Module"}));var Uwe=function(){var s=function(Oe,De,Ve,ke){for(Ve=Ve||{},ke=Oe.length;ke--;Ve[Oe[ke]]=De);return Ve},o=[1,4],f=[1,13],m=[1,12],y=[1,15],k=[1,16],v=[1,20],A=[1,19],O=[6,7,8],j=[1,26],z=[1,24],V=[1,25],Y=[6,7,11],G=[1,6,13,15,16,19,22],J=[1,33],ce=[1,34],me=[1,6,7,11,13,15,16,19,22],_e={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(De,Ve,ke,Ie,ge,Me,Ne){var xe=Me.length-1;switch(ge){case 6:case 7:return Ie;case 8:Ie.getLogger().trace("Stop NL ");break;case 9:Ie.getLogger().trace("Stop EOF ");break;case 11:Ie.getLogger().trace("Stop NL2 ");break;case 12:Ie.getLogger().trace("Stop EOF2 ");break;case 15:Ie.getLogger().info("Node: ",Me[xe].id),Ie.addNode(Me[xe-1].length,Me[xe].id,Me[xe].descr,Me[xe].type);break;case 16:Ie.getLogger().trace("Icon: ",Me[xe]),Ie.decorateNode({icon:Me[xe]});break;case 17:case 21:Ie.decorateNode({class:Me[xe]});break;case 18:Ie.getLogger().trace("SPACELIST");break;case 19:Ie.getLogger().trace("Node: ",Me[xe].id),Ie.addNode(0,Me[xe].id,Me[xe].descr,Me[xe].type);break;case 20:Ie.decorateNode({icon:Me[xe]});break;case 25:Ie.getLogger().trace("node found ..",Me[xe-2]),this.$={id:Me[xe-1],descr:Me[xe-1],type:Ie.getType(Me[xe-2],Me[xe])};break;case 26:this.$={id:Me[xe],descr:Me[xe],type:Ie.nodeType.DEFAULT};break;case 27:Ie.getLogger().trace("node found ..",Me[xe-3]),this.$={id:Me[xe-3],descr:Me[xe-1],type:Ie.getType(Me[xe-2],Me[xe])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:o},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:o},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:k,17:17,18:18,19:v,22:A},s(O,[2,3]),{1:[2,2]},s(O,[2,4]),s(O,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:k,17:17,18:18,19:v,22:A},{6:f,9:22,12:11,13:m,14:14,15:y,16:k,17:17,18:18,19:v,22:A},{6:j,7:z,10:23,11:V},s(Y,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:v,22:A}),s(Y,[2,18]),s(Y,[2,19]),s(Y,[2,20]),s(Y,[2,21]),s(Y,[2,23]),s(Y,[2,24]),s(Y,[2,26],{19:[1,30]}),{20:[1,31]},{6:j,7:z,10:32,11:V},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:k,17:17,18:18,19:v,22:A},s(G,[2,14],{7:J,11:ce}),s(me,[2,8]),s(me,[2,9]),s(me,[2,10]),s(Y,[2,15]),s(Y,[2,16]),s(Y,[2,17]),{20:[1,35]},{21:[1,36]},s(G,[2,13],{7:J,11:ce}),s(me,[2,11]),s(me,[2,12]),{21:[1,37]},s(Y,[2,25]),s(Y,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(De,Ve){if(Ve.recoverable)this.trace(De);else{var ke=new Error(De);throw ke.hash=Ve,ke}},parse:function(De){var Ve=this,ke=[0],Ie=[],ge=[null],Me=[],Ne=this.table,xe="",qe=0,ae=0,Qe=2,Ce=1,nt=Me.slice.call(arguments,1),Ee=Object.create(this.lexer),kt={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(kt.yy[Ot]=this.yy[Ot]);Ee.setInput(De,kt.yy),kt.yy.lexer=Ee,kt.yy.parser=this,typeof Ee.yylloc>"u"&&(Ee.yylloc={});var Vt=Ee.yylloc;Me.push(Vt);var Rt=Ee.options&&Ee.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Gt(){var Ut;return Ut=Ie.pop()||Ee.lex()||Ce,typeof Ut!="number"&&(Ut instanceof Array&&(Ie=Ut,Ut=Ie.pop()),Ut=Ve.symbols_[Ut]||Ut),Ut}for(var _n,On,Dt,ai,Ft={},$t,Pt,qt,et;;){if(On=ke[ke.length-1],this.defaultActions[On]?Dt=this.defaultActions[On]:((_n===null||typeof _n>"u")&&(_n=Gt()),Dt=Ne[On]&&Ne[On][_n]),typeof Dt>"u"||!Dt.length||!Dt[0]){var ht="";et=[];for($t in Ne[On])this.terminals_[$t]&&$t>Qe&&et.push("'"+this.terminals_[$t]+"'");Ee.showPosition?ht="Parse error on line "+(qe+1)+`:
`+Ee.showPosition()+`
Expecting `+et.join(", ")+", got '"+(this.terminals_[_n]||_n)+"'":ht="Parse error on line "+(qe+1)+": Unexpected "+(_n==Ce?"end of input":"'"+(this.terminals_[_n]||_n)+"'"),this.parseError(ht,{text:Ee.match,token:this.terminals_[_n]||_n,line:Ee.yylineno,loc:Vt,expected:et})}if(Dt[0]instanceof Array&&Dt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+On+", token: "+_n);switch(Dt[0]){case 1:ke.push(_n),ge.push(Ee.yytext),Me.push(Ee.yylloc),ke.push(Dt[1]),_n=null,ae=Ee.yyleng,xe=Ee.yytext,qe=Ee.yylineno,Vt=Ee.yylloc;break;case 2:if(Pt=this.productions_[Dt[1]][1],Ft.$=ge[ge.length-Pt],Ft._$={first_line:Me[Me.length-(Pt||1)].first_line,last_line:Me[Me.length-1].last_line,first_column:Me[Me.length-(Pt||1)].first_column,last_column:Me[Me.length-1].last_column},Rt&&(Ft._$.range=[Me[Me.length-(Pt||1)].range[0],Me[Me.length-1].range[1]]),ai=this.performAction.apply(Ft,[xe,ae,qe,kt.yy,Dt[1],ge,Me].concat(nt)),typeof ai<"u")return ai;Pt&&(ke=ke.slice(0,-1*Pt*2),ge=ge.slice(0,-1*Pt),Me=Me.slice(0,-1*Pt)),ke.push(this.productions_[Dt[1]][0]),ge.push(Ft.$),Me.push(Ft._$),qt=Ne[ke[ke.length-2]][ke[ke.length-1]],ke.push(qt);break;case 3:return!0}}return!0}},we=function(){var Oe={EOF:1,parseError:function(Ve,ke){if(this.yy.parser)this.yy.parser.parseError(Ve,ke);else throw new Error(Ve)},setInput:function(De,Ve){return this.yy=Ve||this.yy||{},this._input=De,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 De=this._input[0];this.yytext+=De,this.yyleng++,this.offset++,this.match+=De,this.matched+=De;var Ve=De.match(/(?:\r\n?|\n).*/g);return Ve?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),De},unput:function(De){var Ve=De.length,ke=De.split(/(?:\r\n?|\n)/g);this._input=De+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ve),this.offset-=Ve;var Ie=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),ke.length-1&&(this.yylineno-=ke.length-1);var ge=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:ke?(ke.length===Ie.length?this.yylloc.first_column:0)+Ie[Ie.length-ke.length].length-ke[0].length:this.yylloc.first_column-Ve},this.options.ranges&&(this.yylloc.range=[ge[0],ge[0]+this.yyleng-Ve]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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});return this},less:function(De){this.unput(this.match.slice(De))},pastInput:function(){var De=this.matched.substr(0,this.matched.length-this.match.length);return(De.length>20?"...":"")+De.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var De=this.match;return De.length<20&&(De+=this._input.substr(0,20-De.length)),(De.substr(0,20)+(De.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var De=this.pastInput(),Ve=new Array(De.length+1).join("-");return De+this.upcomingInput()+`
`+Ve+"^"},test_match:function(De,Ve){var ke,Ie,ge;if(this.options.backtrack_lexer&&(ge={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&&(ge.yylloc.range=this.yylloc.range.slice(0))),Ie=De[0].match(/(?:\r\n?|\n).*/g),Ie&&(this.yylineno+=Ie.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ie?Ie[Ie.length-1].length-Ie[Ie.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+De[0].length},this.yytext+=De[0],this.match+=De[0],this.matches=De,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(De[0].length),this.matched+=De[0],ke=this.performAction.call(this,this.yy,this,Ve,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ke)return ke;if(this._backtrack){for(var Me in ge)this[Me]=ge[Me];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var De,Ve,ke,Ie;this._more||(this.yytext="",this.match="");for(var ge=this._currentRules(),Me=0;Me<ge.length;Me++)if(ke=this._input.match(this.rules[ge[Me]]),ke&&(!Ve||ke[0].length>Ve[0].length)){if(Ve=ke,Ie=Me,this.options.backtrack_lexer){if(De=this.test_match(ke,ge[Me]),De!==!1)return De;if(this._backtrack){Ve=!1;continue}else return!1}else if(!this.options.flex)break}return Ve?(De=this.test_match(Ve,ge[Ie]),De!==!1?De:!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(){var Ve=this.next();return Ve||this.lex()},begin:function(Ve){this.conditionStack.push(Ve)},popState:function(){var Ve=this.conditionStack.length-1;return Ve>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(Ve){return Ve=this.conditionStack.length-1-Math.abs(Ve||0),Ve>=0?this.conditionStack[Ve]:"INITIAL"},pushState:function(Ve){this.begin(Ve)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ve,ke,Ie,ge){switch(Ie){case 0:Ve.getLogger().trace("Found comment",ke.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:Ve.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return Ve.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:Ve.getLogger().trace("end icon"),this.popState();break;case 10:return Ve.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return Ve.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return Ve.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return Ve.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:Ve.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return Ve.getLogger().trace("description:",ke.yytext),"NODE_DESCR";case 23:this.popState();break;case 24:return this.popState(),Ve.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),Ve.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),Ve.getLogger().trace("node end ...",ke.yytext),"NODE_DEND";case 27:return this.popState(),Ve.getLogger().trace("node end (("),"NODE_DEND";case 28:return this.popState(),Ve.getLogger().trace("node end (-"),"NODE_DEND";case 29:return this.popState(),Ve.getLogger().trace("node end (-"),"NODE_DEND";case 30:return this.popState(),Ve.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),Ve.getLogger().trace("node end (("),"NODE_DEND";case 32:return Ve.getLogger().trace("Long description:",ke.yytext),20;case 33:return Ve.getLogger().trace("Long description:",ke.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return Oe}();_e.lexer=we;function Se(){this.yy={}}return Se.prototype=_e,_e.Parser=Se,new Se}();Uwe.parser=Uwe;const dnn=Uwe,n$=s=>zb(s,Qt());let xw=[],oWe=0,Gwe={};const gnn=()=>{xw=[],oWe=0,Gwe={}},pnn=function(s){for(let o=xw.length-1;o>=0;o--)if(xw[o].level<s)return xw[o];return null},mnn=()=>xw.length>0?xw[0]:null,vnn=(s,o,f,m)=>{ne.info("addNode",s,o,f,m);const y=Qt(),k={id:oWe++,nodeId:n$(o),level:s,descr:n$(f),type:m,children:[],width:Qt().mindmap.maxNodeWidth};switch(k.type){case Fh.ROUNDED_RECT:k.padding=2*y.mindmap.padding;break;case Fh.RECT:k.padding=2*y.mindmap.padding;break;case Fh.HEXAGON:k.padding=2*y.mindmap.padding;break;default:k.padding=y.mindmap.padding}const v=pnn(s);if(v)v.children.push(k),xw.push(k);else if(xw.length===0)xw.push(k);else{let A=new Error('There can be only one root. No parent could be found for ("'+k.descr+'")');throw A.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},A}},Fh={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},bnn=(s,o)=>{switch(ne.debug("In get type",s,o),s){case"[":return Fh.RECT;case"(":return o===")"?Fh.ROUNDED_RECT:Fh.CLOUD;case"((":return Fh.CIRCLE;case")":return Fh.CLOUD;case"))":return Fh.BANG;case"{{":return Fh.HEXAGON;default:return Fh.DEFAULT}},cWe=(s,o)=>{Gwe[s]=o},wnn=s=>{const o=xw[xw.length-1];s&&s.icon&&(o.icon=n$(s.icon)),s&&s.class&&(o.class=n$(s.class))},US=s=>{switch(s){case Fh.DEFAULT:return"no-border";case Fh.RECT:return"rect";case Fh.ROUNDED_RECT:return"rounded-rect";case Fh.CIRCLE:return"circle";case Fh.CLOUD:return"cloud";case Fh.BANG:return"bang";case Fh.HEXAGON:return"hexgon";default:return"no-border"}};let lWe;const ynn=s=>{lWe=s},_nn=()=>ne,xnn=s=>xw[s],Wwe=s=>Gwe[s],knn=Object.freeze(Object.defineProperty({__proto__:null,addNode:vnn,clear:gnn,decorateNode:wnn,getElementById:Wwe,getLogger:_nn,getMindmap:mnn,getNodeById:xnn,getType:bnn,nodeType:Fh,get parseError(){return lWe},sanitizeText:n$,setElementForId:cWe,setErrorHandler:ynn,type2Str:US},Symbol.toStringTag,{value:"Module"})),uWe=12;function Enn(s,o){s.each(function(){var f=Or(this),m=f.text().split(/(\s+|<br>)/).reverse(),y,k=[],v=1.1,A=f.attr("y"),O=parseFloat(f.attr("dy")),j=f.text(null).append("tspan").attr("x",0).attr("y",A).attr("dy",O+"em");for(let z=0;z<m.length;z++)y=m[m.length-1-z],k.push(y),j.text(k.join(" ").trim()),(j.node().getComputedTextLength()>o||y==="<br>")&&(k.pop(),j.text(k.join(" ").trim()),y==="<br>"?k=[""]:k=[y],j=f.append("tspan").attr("x",0).attr("y",A).attr("dy",v+"em").text(y))})}const Tnn=function(s,o,f){s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("d",`M0 ${o.height-5} v${-o.height+2*5} q0,-5 5,-5 h${o.width-2*5} q5,0 5,5 v${o.height-5} H0 Z`),s.append("line").attr("class","node-line-"+f).attr("x1",0).attr("y1",o.height).attr("x2",o.width).attr("y2",o.height)},Snn=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("height",o.height).attr("width",o.width)},Cnn=function(s,o){const f=o.width,m=o.height,y=.15*f,k=.25*f,v=.35*f,A=.2*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("d",`M0 0 a${y},${y} 0 0,1 ${f*.25},${-1*f*.1}
a${v},${v} 1 0,1 ${f*.4},${-1*f*.1}
a${k},${k} 1 0,1 ${f*.35},${1*f*.2}
a${y},${y} 1 0,1 ${f*.15},${1*m*.35}
a${A},${A} 1 0,1 ${-1*f*.15},${1*m*.65}
a${k},${y} 1 0,1 ${-1*f*.25},${f*.15}
a${v},${v} 1 0,1 ${-1*f*.5},${0}
a${y},${y} 1 0,1 ${-1*f*.25},${-1*f*.15}
a${y},${y} 1 0,1 ${-1*f*.1},${-1*m*.35}
a${A},${A} 1 0,1 ${f*.1},${-1*m*.65}
H0 V0 Z`)},Ann=function(s,o){const f=o.width,m=o.height,y=.15*f;s.append("path").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("d",`M0 0 a${y},${y} 1 0,0 ${f*.25},${-1*m*.1}
a${y},${y} 1 0,0 ${f*.25},${0}
a${y},${y} 1 0,0 ${f*.25},${0}
a${y},${y} 1 0,0 ${f*.25},${1*m*.1}
a${y},${y} 1 0,0 ${f*.15},${1*m*.33}
a${y*.8},${y*.8} 1 0,0 ${0},${1*m*.34}
a${y},${y} 1 0,0 ${-1*f*.15},${1*m*.33}
a${y},${y} 1 0,0 ${-1*f*.25},${m*.15}
a${y},${y} 1 0,0 ${-1*f*.25},${0}
a${y},${y} 1 0,0 ${-1*f*.25},${0}
a${y},${y} 1 0,0 ${-1*f*.25},${-1*m*.15}
a${y},${y} 1 0,0 ${-1*f*.1},${-1*m*.33}
a${y*.8},${y*.8} 1 0,0 ${0},${-1*m*.34}
a${y},${y} 1 0,0 ${f*.1},${-1*m*.33}
H0 V0 Z`)},Mnn=function(s,o){s.append("circle").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("r",o.width/2)};function Lnn(s,o,f,m,y){return s.insert("polygon",":first-child").attr("points",m.map(function(k){return k.x+","+k.y}).join(" ")).attr("transform","translate("+(y.width-o)/2+", "+f+")")}const Inn=function(s,o){const f=o.height,y=f/4,k=o.width-o.padding+2*y,v=[{x:y,y:0},{x:k-y,y:0},{x:k,y:-f/2},{x:k-y,y:-f},{x:y,y:-f},{x:0,y:-f/2}];Lnn(s,k,f,v,o)},Onn=function(s,o){s.append("rect").attr("id","node-"+o.id).attr("class","node-bkg node-"+US(o.type)).attr("height",o.height).attr("rx",o.padding).attr("ry",o.padding).attr("width",o.width)},hWe={drawNode:function(s,o,f,m){const y=f%(uWe-1),k=s.append("g");o.section=y;let v="section-"+y;y<0&&(v+=" section-root"),k.attr("class",(o.class?o.class+" ":"")+"mindmap-node "+v);const A=k.append("g"),O=k.append("g"),z=O.append("text").text(o.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(Enn,o.width).node().getBBox(),V=m.fontSize.replace?m.fontSize.replace("px",""):m.fontSize;if(o.height=z.height+V*1.1*.5+o.padding,o.width=z.width+2*o.padding,o.icon)if(o.type===Fh.CIRCLE)o.height+=50,o.width+=50,k.append("foreignObject").attr("height","50px").attr("width",o.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+y+" "+o.icon),O.attr("transform","translate("+o.width/2+", "+(o.height/2-1.5*o.padding)+")");else{o.width+=50;const Y=o.height;o.height=Math.max(Y,60);const G=Math.abs(o.height-Y);k.append("foreignObject").attr("width","60px").attr("height",o.height).attr("style","text-align: center;margin-top:"+G/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+y+" "+o.icon),O.attr("transform","translate("+(25+o.width/2)+", "+(G/2+o.padding/2)+")")}else O.attr("transform","translate("+o.width/2+", "+o.padding/2+")");switch(o.type){case Fh.DEFAULT:Tnn(A,o,y);break;case Fh.ROUNDED_RECT:Onn(A,o);break;case Fh.RECT:Snn(A,o);break;case Fh.CIRCLE:A.attr("transform","translate("+o.width/2+", "+ +o.height/2+")"),Mnn(A,o);break;case Fh.CLOUD:Cnn(A,o);break;case Fh.BANG:Ann(A,o);break;case Fh.HEXAGON:Inn(A,o);break}return cWe(o.id,k),o.height},positionNode:function(s){const o=Wwe(s.id),f=s.x||0,m=s.y||0;o.attr("transform","translate("+f+","+m+")")},drawEdge:function(o,f,m,y,k){const v=k%(uWe-1),A=m.x+m.width/2,O=m.y+m.height/2,j=f.x+f.width/2,z=f.y+f.height/2,V=j>A?A+Math.abs(A-j)/2:A-Math.abs(A-j)/2,Y=z>O?O+Math.abs(O-z)/2:O-Math.abs(O-z)/2,G=j>A?Math.abs(A-V)/2+A:-Math.abs(A-V)/2+A,J=z>O?Math.abs(O-Y)/2+O:-Math.abs(O-Y)/2+O;o.append("path").attr("d",m.direction==="TB"||m.direction==="BT"?`M${A},${O} Q${A},${J} ${V},${Y} T${j},${z}`:`M${A},${O} Q${G},${O} ${V},${Y} T${j},${z}`).attr("class","edge section-edge-"+v+" edge-depth-"+y)}};var Kwe={},Dnn={get exports(){return Kwe},set exports(s){Kwe=s}};(function(s,o){(function(f,m){s.exports=m()})(D,function(){function f(_){return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},f(_)}function m(_,p){if(!(_ instanceof p))throw new TypeError("Cannot call a class as a function")}function y(_,p){for(var x=0;x<p.length;x++){var S=p[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(_,S.key,S)}}function k(_,p,x){return p&&y(_.prototype,p),x&&y(_,x),Object.defineProperty(_,"prototype",{writable:!1}),_}function v(_,p,x){return p in _?Object.defineProperty(_,p,{value:x,enumerable:!0,configurable:!0,writable:!0}):_[p]=x,_}function A(_,p){return O(_)||j(_,p)||z(_,p)||Y()}function O(_){if(Array.isArray(_))return _}function j(_,p){var x=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(x!=null){var S=[],L=!0,R=!1,B,q;try{for(x=x.call(_);!(L=(B=x.next()).done)&&(S.push(B.value),!(p&&S.length===p));L=!0);}catch(W){R=!0,q=W}finally{try{!L&&x.return!=null&&x.return()}finally{if(R)throw q}}return S}}function z(_,p){if(_){if(typeof _=="string")return V(_,p);var x=Object.prototype.toString.call(_).slice(8,-1);if(x==="Object"&&_.constructor&&(x=_.constructor.name),x==="Map"||x==="Set")return Array.from(_);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return V(_,p)}}function V(_,p){(p==null||p>_.length)&&(p=_.length);for(var x=0,S=new Array(p);x<p;x++)S[x]=_[x];return S}function Y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=typeof window>"u"?null:window,J=G?G.navigator:null;G&&G.document;var ce=f(""),me=f({}),_e=f(function(){}),we=typeof HTMLElement>"u"?"undefined":f(HTMLElement),Se=function(p){return p&&p.instanceString&&De(p.instanceString)?p.instanceString():null},Oe=function(p){return p!=null&&f(p)==ce},De=function(p){return p!=null&&f(p)===_e},Ve=function(p){return!xe(p)&&(Array.isArray?Array.isArray(p):p!=null&&p instanceof Array)},ke=function(p){return p!=null&&f(p)===me&&!Ve(p)&&p.constructor===Object},Ie=function(p){return p!=null&&f(p)===me},ge=function(p){return p!=null&&f(p)===f(1)&&!isNaN(p)},Me=function(p){return ge(p)&&Math.floor(p)===p},Ne=function(p){if(we!=="undefined")return p!=null&&p instanceof HTMLElement},xe=function(p){return qe(p)||ae(p)},qe=function(p){return Se(p)==="collection"&&p._private.single},ae=function(p){return Se(p)==="collection"&&!p._private.single},Qe=function(p){return Se(p)==="core"},Ce=function(p){return Se(p)==="stylesheet"},nt=function(p){return Se(p)==="event"},Ee=function(p){return p==null?!0:!!(p===""||p.match(/^\s+$/))},kt=function(p){return typeof HTMLElement>"u"?!1:p instanceof HTMLElement},Ot=function(p){return ke(p)&&ge(p.x1)&&ge(p.x2)&&ge(p.y1)&&ge(p.y2)},Vt=function(p){return Ie(p)&&De(p.then)},Rt=function(){return J&&J.userAgent.match(/msie|trident|edge/i)},Gt=function(p,x){x||(x=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var R=[],B=0;B<arguments.length;B++)R.push(arguments[B]);return R.join("$")});var S=function L(){var R=this,B=arguments,q,W=x.apply(R,B),M=L.cache;return(q=M[W])||(q=M[W]=p.apply(R,B)),q};return S.cache={},S},_n=Gt(function(_){return _.replace(/([A-Z])/g,function(p){return"-"+p.toLowerCase()})}),On=Gt(function(_){return _.replace(/(-\w)/g,function(p){return p[1].toUpperCase()})}),Dt=Gt(function(_,p){return _+p[0].toUpperCase()+p.substring(1)},function(_,p){return _+"$"+p}),ai=function(p){return Ee(p)?p:p.charAt(0).toUpperCase()+p.substring(1)},Ft="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",$t="rgb[a]?\\(("+Ft+"[%]?)\\s*,\\s*("+Ft+"[%]?)\\s*,\\s*("+Ft+"[%]?)(?:\\s*,\\s*("+Ft+"))?\\)",Pt="rgb[a]?\\((?:"+Ft+"[%]?)\\s*,\\s*(?:"+Ft+"[%]?)\\s*,\\s*(?:"+Ft+"[%]?)(?:\\s*,\\s*(?:"+Ft+"))?\\)",qt="hsl[a]?\\(("+Ft+")\\s*,\\s*("+Ft+"[%])\\s*,\\s*("+Ft+"[%])(?:\\s*,\\s*("+Ft+"))?\\)",et="hsl[a]?\\((?:"+Ft+")\\s*,\\s*(?:"+Ft+"[%])\\s*,\\s*(?:"+Ft+"[%])(?:\\s*,\\s*(?:"+Ft+"))?\\)",ht="\\#[0-9a-fA-F]{3}",Ut="\\#[0-9a-fA-F]{6}",it=function(p,x){return p<x?-1:p>x?1:0},Zn=function(p,x){return-1*it(p,x)},Ge=Object.assign!=null?Object.assign.bind(Object):function(_){for(var p=arguments,x=1;x<p.length;x++){var S=p[x];if(S!=null)for(var L=Object.keys(S),R=0;R<L.length;R++){var B=L[R];_[B]=S[B]}}return _},ws=function(p){if(!(!(p.length===4||p.length===7)||p[0]!=="#")){var x=p.length===4,S,L,R,B=16;return x?(S=parseInt(p[1]+p[1],B),L=parseInt(p[2]+p[2],B),R=parseInt(p[3]+p[3],B)):(S=parseInt(p[1]+p[2],B),L=parseInt(p[3]+p[4],B),R=parseInt(p[5]+p[6],B)),[S,L,R]}},xn=function(p){var x,S,L,R,B,q,W,M;function X(ve,be,Fe){return Fe<0&&(Fe+=1),Fe>1&&(Fe-=1),Fe<1/6?ve+(be-ve)*6*Fe:Fe<1/2?be:Fe<2/3?ve+(be-ve)*(2/3-Fe)*6:ve}var ee=new RegExp("^"+qt+"$").exec(p);if(ee){if(S=parseInt(ee[1]),S<0?S=(360- -1*S%360)%360:S>360&&(S=S%360),S/=360,L=parseFloat(ee[2]),L<0||L>100||(L=L/100,R=parseFloat(ee[3]),R<0||R>100)||(R=R/100,B=ee[4],B!==void 0&&(B=parseFloat(B),B<0||B>1)))return;if(L===0)q=W=M=Math.round(R*255);else{var le=R<.5?R*(1+L):R+L-R*L,fe=2*R-le;q=Math.round(255*X(fe,le,S+1/3)),W=Math.round(255*X(fe,le,S)),M=Math.round(255*X(fe,le,S-1/3))}x=[q,W,M,B]}return x},Zi=function(p){var x,S=new RegExp("^"+$t+"$").exec(p);if(S){x=[];for(var L=[],R=1;R<=3;R++){var B=S[R];if(B[B.length-1]==="%"&&(L[R]=!0),B=parseFloat(B),L[R]&&(B=B/100*255),B<0||B>255)return;x.push(Math.floor(B))}var q=L[1]||L[2]||L[3],W=L[1]&&L[2]&&L[3];if(q&&!W)return;var M=S[4];if(M!==void 0){if(M=parseFloat(M),M<0||M>1)return;x.push(M)}}return x},gi=function(p){return yr[p.toLowerCase()]},Cr=function(p){return(Ve(p)?p:null)||gi(p)||ws(p)||Zi(p)||xn(p)},yr={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Sr=function(p){for(var x=p.map,S=p.keys,L=S.length,R=0;R<L;R++){var B=S[R];if(ke(B))throw Error("Tried to set map with object key");R<S.length-1?(x[B]==null&&(x[B]={}),x=x[B]):x[B]=p.value}},or=function(p){for(var x=p.map,S=p.keys,L=S.length,R=0;R<L;R++){var B=S[R];if(ke(B))throw Error("Tried to get map with object key");if(x=x[B],x==null)return x}return x};function Ar(_){var p=typeof _;return _!=null&&(p=="object"||p=="function")}var bo=Ar,wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof D<"u"?D:typeof self<"u"?self:{};function ra(_,p){return p={exports:{}},_(p,p.exports),p.exports}var Ys=typeof wo=="object"&&wo&&wo.Object===Object&&wo,yo=Ys,Jl=typeof self=="object"&&self&&self.Object===Object&&self,co=yo||Jl||Function("return this")(),Zs=co,Cs=function(){return Zs.Date.now()},Gr=Cs,Wr=/\s/;function Bi(_){for(var p=_.length;p--&&Wr.test(_.charAt(p)););return p}var _r=Bi,js=/^\s+/;function An(_){return _&&_.slice(0,_r(_)+1).replace(js,"")}var Qa=An,dr=Zs.Symbol,Ia=dr,Do=Object.prototype,nc=Do.hasOwnProperty,Wo=Do.toString,Po=Ia?Ia.toStringTag:void 0;function ia(_){var p=nc.call(_,Po),x=_[Po];try{_[Po]=void 0;var S=!0}catch{}var L=Wo.call(_);return S&&(p?_[Po]=x:delete _[Po]),L}var io=ia,Ko=Object.prototype,qa=Ko.toString;function mv(_){return qa.call(_)}var kw=mv,th="[object Null]",lo="[object Undefined]",jh=Ia?Ia.toStringTag:void 0;function r1(_){return _==null?_===void 0?lo:th:jh&&jh in Object(_)?io(_):kw(_)}var $h=r1;function Cf(_){return _!=null&&typeof _=="object"}var nh=Cf,_d="[object Symbol]";function Yf(_){return typeof _=="symbol"||nh(_)&&$h(_)==_d}var ps=Yf,rn=0/0,oi=/^[-+]0x[0-9a-f]+$/i,Ji=/^0b[01]+$/i,Fo=/^0o[0-7]+$/i,lu=parseInt;function wu(_){if(typeof _=="number")return _;if(ps(_))return rn;if(bo(_)){var p=typeof _.valueOf=="function"?_.valueOf():_;_=bo(p)?p+"":p}if(typeof _!="string")return _===0?_:+_;_=Qa(_);var x=Ji.test(_);return x||Fo.test(_)?lu(_.slice(2),x?2:8):oi.test(_)?rn:+_}var rh=wu,Xf="Expected a function",Hh=Math.max,Ew=Math.min;function F3(_,p,x){var S,L,R,B,q,W,M=0,X=!1,ee=!1,le=!0;if(typeof _!="function")throw new TypeError(Xf);p=rh(p)||0,bo(x)&&(X=!!x.leading,ee="maxWait"in x,R=ee?Hh(rh(x.maxWait)||0,p):R,le="trailing"in x?!!x.trailing:le);function fe(st){var Ze=S,gt=L;return S=L=void 0,M=st,B=_.apply(gt,Ze),B}function ve(st){return M=st,q=setTimeout(Ae,p),X?fe(st):B}function be(st){var Ze=st-W,gt=st-M,tt=p-Ze;return ee?Ew(tt,R-gt):tt}function Fe(st){var Ze=st-W,gt=st-M;return W===void 0||Ze>=p||Ze<0||ee&&gt>=R}function Ae(){var st=Gr();if(Fe(st))return $e(st);q=setTimeout(Ae,be(st))}function $e(st){return q=void 0,le&&S?fe(st):(S=L=void 0,B)}function ze(){q!==void 0&&clearTimeout(q),M=0,S=W=L=q=void 0}function Xe(){return q===void 0?B:$e(Gr())}function lt(){var st=Gr(),Ze=Fe(st);if(S=arguments,L=this,W=st,Ze){if(q===void 0)return ve(W);if(ee)return clearTimeout(q),q=setTimeout(Ae,p),fe(W)}return q===void 0&&(q=setTimeout(Ae,p)),B}return lt.cancel=ze,lt.flush=Xe,lt}var $g=F3,ca=G?G.performance:null,Ea=ca&&ca.now?function(){return ca.now()}:function(){return Date.now()},oc=function(){if(G){if(G.requestAnimationFrame)return function(_){G.requestAnimationFrame(_)};if(G.mozRequestAnimationFrame)return function(_){G.mozRequestAnimationFrame(_)};if(G.webkitRequestAnimationFrame)return function(_){G.webkitRequestAnimationFrame(_)};if(G.msRequestAnimationFrame)return function(_){G.msRequestAnimationFrame(_)}}return function(_){_&&setTimeout(function(){_(Ea())},1e3/60)}}(),cs=function(p){return oc(p)},Nl=Ea,Yt=9261,j3=65599,fn=5381,ng=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yt,S=x,L;L=p.next(),!L.done;)S=S*j3+L.value|0;return S},$3=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yt;return x*j3+p|0},J5=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fn;return(x<<5)+x+p|0},p7=function(p,x){return p*2097152+x},Xb=function(p){return p[0]*2097152+p[1]},Zh=function(p,x){return[$3(p[0],x[0]),J5(p[1],x[1])]},Tw=function(p,x){var S={value:0,done:!1},L=0,R=p.length,B={next:function(){return L<R?S.value=p[L++]:S.done=!0,S}};return ng(B,x)},vv=function(p,x){var S={value:0,done:!1},L=0,R=p.length,B={next:function(){return L<R?S.value=p.charCodeAt(L++):S.done=!0,S}};return ng(B,x)},Sx=function(){return GS(arguments)},GS=function(p){for(var x,S=0;S<p.length;S++){var L=p[S];S===0?x=vv(L):x=vv(L,x)}return x},WS=!0,l0=console.warn!=null,Sw=console.trace!=null,u0=Number.MAX_SAFE_INTEGER||9007199254740991,Cx=function(){return!0},bv=function(){return!1},e6=function(){return 0},Tp=function(){},xh=function(p){throw new Error(p)},t6=function(p){if(p!==void 0)WS=!!p;else return WS},El=function(p){t6()&&(l0?console.warn(p):(console.log(p),Sw&&console.trace()))},wv=function(p){return Ge({},p)},Qb=function(p){return p==null?p:Ve(p)?p.slice():ke(p)?wv(p):p},oee=function(p){return p.slice()},KS=function(p,x){for(x=p="";p++<36;x+=p*51&52?(p^15?8^Math.random()*(p^20?16:4):4).toString(16):"-");return x},cee={},r$=function(){return cee},N1=function(p){var x=Object.keys(p);return function(S){for(var L={},R=0;R<x.length;R++){var B=x[R],q=S==null?void 0:S[B];L[B]=q===void 0?p[B]:q}return L}},H3=function(p,x,S){for(var L=p.length-1;L>=0&&!(p[L]===x&&(p.splice(L,1),S));L--);},iD=function(p){p.splice(0,p.length)},i$=function(p,x){for(var S=0;S<x.length;S++){var L=x[S];p.push(L)}},yv=function(p,x,S){return S&&(x=Dt(S,x)),p[x]},z3=function(p,x,S,L){S&&(x=Dt(S,x)),p[x]=L},lee=function(){function _(){m(this,_),this._obj={}}return k(_,[{key:"set",value:function(x,S){return this._obj[x]=S,this}},{key:"delete",value:function(x){return this._obj[x]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(x){return this._obj[x]!==void 0}},{key:"get",value:function(x){return this._obj[x]}}]),_}(),Zb=typeof Map<"u"?Map:lee,uee="undefined",hee=function(){function _(p){if(m(this,_),this._obj=Object.create(null),this.size=0,p!=null){var x;p.instanceString!=null&&p.instanceString()===this.instanceString()?x=p.toArray():x=p;for(var S=0;S<x.length;S++)this.add(x[S])}}return k(_,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(x){var S=this._obj;S[x]!==1&&(S[x]=1,this.size++)}},{key:"delete",value:function(x){var S=this._obj;S[x]===1&&(S[x]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(x){return this._obj[x]===1}},{key:"toArray",value:function(){var x=this;return Object.keys(this._obj).filter(function(S){return x.has(S)})}},{key:"forEach",value:function(x,S){return this.toArray().forEach(x,S)}}]),_}(),Ax=(typeof Set>"u"?"undefined":f(Set))!==uee?Set:hee,YS=function(p,x){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(p===void 0||x===void 0||!Qe(p)){xh("An element must have a core reference and parameters set");return}var L=x.group;if(L==null&&(x.data&&x.data.source!=null&&x.data.target!=null?L="edges":L="nodes"),L!=="nodes"&&L!=="edges"){xh("An element must be of type `nodes` or `edges`; you specified `"+L+"`");return}this.length=1,this[0]=this;var R=this._private={cy:p,single:!0,data:x.data||{},position:x.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:L,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!x.selected,selectable:x.selectable===void 0?!0:!!x.selectable,locked:!!x.locked,grabbed:!1,grabbable:x.grabbable===void 0?!0:!!x.grabbable,pannable:x.pannable===void 0?L==="edges":!!x.pannable,active:!1,classes:new Ax,animation:{current:[],queue:[]},rscratch:{},scratch:x.scratch||{},edges:[],children:[],parent:x.parent&&x.parent.isNode()?x.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(R.position.x==null&&(R.position.x=0),R.position.y==null&&(R.position.y=0),x.renderedPosition){var B=x.renderedPosition,q=p.pan(),W=p.zoom();R.position={x:(B.x-q.x)/W,y:(B.y-q.y)/W}}var M=[];Ve(x.classes)?M=x.classes:Oe(x.classes)&&(M=x.classes.split(/\s+/));for(var X=0,ee=M.length;X<ee;X++){var le=M[X];!le||le===""||R.classes.add(le)}this.createEmitter();var fe=x.style||x.css;fe&&(El("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(fe)),(S===void 0||S)&&this.restore()},s$=function(p){return p={bfs:p.bfs||!p.dfs,dfs:p.dfs||!p.bfs},function(S,L,R){var B;ke(S)&&!xe(S)&&(B=S,S=B.roots||B.root,L=B.visit,R=B.directed),R=arguments.length===2&&!De(L)?L:R,L=De(L)?L:function(){};for(var q=this._private.cy,W=S=Oe(S)?this.filter(S):S,M=[],X=[],ee={},le={},fe={},ve=0,be,Fe=this.byGroup(),Ae=Fe.nodes,$e=Fe.edges,ze=0;ze<W.length;ze++){var Xe=W[ze],lt=Xe.id();Xe.isNode()&&(M.unshift(Xe),p.bfs&&(fe[lt]=!0,X.push(Xe)),le[lt]=0)}for(var st=function(){var Wt=p.bfs?M.shift():M.pop(),At=Wt.id();if(p.dfs){if(fe[At])return"continue";fe[At]=!0,X.push(Wt)}var Mn=le[At],tn=ee[At],sn=tn!=null?tn.source():null,Fn=tn!=null?tn.target():null,Yn=tn==null?void 0:Wt.same(sn)?Fn[0]:sn[0],wr=void 0;if(wr=L(Wt,tn,Yn,ve++,Mn),wr===!0)return be=Wt,"break";if(wr===!1)return"break";for(var qn=Wt.connectedEdges().filter(function(Mr){return(!R||Mr.source().same(Wt))&&$e.has(Mr)}),br=0;br<qn.length;br++){var Dr=qn[br],Qr=Dr.connectedNodes().filter(function(Mr){return!Mr.same(Wt)&&Ae.has(Mr)}),Hr=Qr.id();Qr.length!==0&&!fe[Hr]&&(Qr=Qr[0],M.push(Qr),p.bfs&&(fe[Hr]=!0,X.push(Qr)),ee[Hr]=Dr,le[Hr]=le[At]+1)}};M.length!==0;){var Ze=st();if(Ze!=="continue"&&Ze==="break")break}for(var gt=q.collection(),tt=0;tt<X.length;tt++){var Tt=X[tt],Ct=ee[Tt.id()];Ct!=null&&gt.push(Ct),gt.push(Tt)}return{path:q.collection(gt),found:q.collection(be)}}},m7={breadthFirstSearch:s$({bfs:!0}),depthFirstSearch:s$({dfs:!0})};m7.bfs=m7.breadthFirstSearch,m7.dfs=m7.depthFirstSearch;var fee=ra(function(_,p){(function(){var x,S,L,R,B,q,W,M,X,ee,le,fe,ve,be,Fe;L=Math.floor,ee=Math.min,S=function(Ae,$e){return Ae<$e?-1:Ae>$e?1:0},X=function(Ae,$e,ze,Xe,lt){var st;if(ze==null&&(ze=0),lt==null&&(lt=S),ze<0)throw new Error("lo must be non-negative");for(Xe==null&&(Xe=Ae.length);ze<Xe;)st=L((ze+Xe)/2),lt($e,Ae[st])<0?Xe=st:ze=st+1;return[].splice.apply(Ae,[ze,ze-ze].concat($e)),$e},q=function(Ae,$e,ze){return ze==null&&(ze=S),Ae.push($e),be(Ae,0,Ae.length-1,ze)},B=function(Ae,$e){var ze,Xe;return $e==null&&($e=S),ze=Ae.pop(),Ae.length?(Xe=Ae[0],Ae[0]=ze,Fe(Ae,0,$e)):Xe=ze,Xe},M=function(Ae,$e,ze){var Xe;return ze==null&&(ze=S),Xe=Ae[0],Ae[0]=$e,Fe(Ae,0,ze),Xe},W=function(Ae,$e,ze){var Xe;return ze==null&&(ze=S),Ae.length&&ze(Ae[0],$e)<0&&(Xe=[Ae[0],$e],$e=Xe[0],Ae[0]=Xe[1],Fe(Ae,0,ze)),$e},R=function(Ae,$e){var ze,Xe,lt,st,Ze,gt;for($e==null&&($e=S),st=function(){gt=[];for(var tt=0,Tt=L(Ae.length/2);0<=Tt?tt<Tt:tt>Tt;0<=Tt?tt++:tt--)gt.push(tt);return gt}.apply(this).reverse(),Ze=[],Xe=0,lt=st.length;Xe<lt;Xe++)ze=st[Xe],Ze.push(Fe(Ae,ze,$e));return Ze},ve=function(Ae,$e,ze){var Xe;if(ze==null&&(ze=S),Xe=Ae.indexOf($e),Xe!==-1)return be(Ae,0,Xe,ze),Fe(Ae,Xe,ze)},le=function(Ae,$e,ze){var Xe,lt,st,Ze,gt;if(ze==null&&(ze=S),lt=Ae.slice(0,$e),!lt.length)return lt;for(R(lt,ze),gt=Ae.slice($e),st=0,Ze=gt.length;st<Ze;st++)Xe=gt[st],W(lt,Xe,ze);return lt.sort(ze).reverse()},fe=function(Ae,$e,ze){var Xe,lt,st,Ze,gt,tt,Tt,Ct,pt;if(ze==null&&(ze=S),$e*10<=Ae.length){if(st=Ae.slice(0,$e).sort(ze),!st.length)return st;for(lt=st[st.length-1],Tt=Ae.slice($e),Ze=0,tt=Tt.length;Ze<tt;Ze++)Xe=Tt[Ze],ze(Xe,lt)<0&&(X(st,Xe,0,null,ze),st.pop(),lt=st[st.length-1]);return st}for(R(Ae,ze),pt=[],gt=0,Ct=ee($e,Ae.length);0<=Ct?gt<Ct:gt>Ct;0<=Ct?++gt:--gt)pt.push(B(Ae,ze));return pt},be=function(Ae,$e,ze,Xe){var lt,st,Ze;for(Xe==null&&(Xe=S),lt=Ae[ze];ze>$e;){if(Ze=ze-1>>1,st=Ae[Ze],Xe(lt,st)<0){Ae[ze]=st,ze=Ze;continue}break}return Ae[ze]=lt},Fe=function(Ae,$e,ze){var Xe,lt,st,Ze,gt;for(ze==null&&(ze=S),lt=Ae.length,gt=$e,st=Ae[$e],Xe=2*$e+1;Xe<lt;)Ze=Xe+1,Ze<lt&&!(ze(Ae[Xe],Ae[Ze])<0)&&(Xe=Ze),Ae[$e]=Ae[Xe],$e=Xe,Xe=2*$e+1;return Ae[$e]=st,be(Ae,gt,$e,ze)},x=function(){Ae.push=q,Ae.pop=B,Ae.replace=M,Ae.pushpop=W,Ae.heapify=R,Ae.updateItem=ve,Ae.nlargest=le,Ae.nsmallest=fe;function Ae($e){this.cmp=$e??S,this.nodes=[]}return Ae.prototype.push=function($e){return q(this.nodes,$e,this.cmp)},Ae.prototype.pop=function(){return B(this.nodes,this.cmp)},Ae.prototype.peek=function(){return this.nodes[0]},Ae.prototype.contains=function($e){return this.nodes.indexOf($e)!==-1},Ae.prototype.replace=function($e){return M(this.nodes,$e,this.cmp)},Ae.prototype.pushpop=function($e){return W(this.nodes,$e,this.cmp)},Ae.prototype.heapify=function(){return R(this.nodes,this.cmp)},Ae.prototype.updateItem=function($e){return ve(this.nodes,$e,this.cmp)},Ae.prototype.clear=function(){return this.nodes=[]},Ae.prototype.empty=function(){return this.nodes.length===0},Ae.prototype.size=function(){return this.nodes.length},Ae.prototype.clone=function(){var $e;return $e=new Ae,$e.nodes=this.nodes.slice(0),$e},Ae.prototype.toArray=function(){return this.nodes.slice(0)},Ae.prototype.insert=Ae.prototype.push,Ae.prototype.top=Ae.prototype.peek,Ae.prototype.front=Ae.prototype.peek,Ae.prototype.has=Ae.prototype.contains,Ae.prototype.copy=Ae.prototype.clone,Ae}(),function(Ae,$e){return _.exports=$e()}(this,function(){return x})}).call(wo)}),v7=fee,dee=N1({root:null,weight:function(p){return 1},directed:!1}),gee={dijkstra:function(p){if(!ke(p)){var x=arguments;p={root:x[0],weight:x[1],directed:x[2]}}var S=dee(p),L=S.root,R=S.weight,B=S.directed,q=this,W=R,M=Oe(L)?this.filter(L)[0]:L[0],X={},ee={},le={},fe=this.byGroup(),ve=fe.nodes,be=fe.edges;be.unmergeBy(function(Mn){return Mn.isLoop()});for(var Fe=function(tn){return X[tn.id()]},Ae=function(tn,sn){X[tn.id()]=sn,$e.updateItem(tn)},$e=new v7(function(Mn,tn){return Fe(Mn)-Fe(tn)}),ze=0;ze<ve.length;ze++){var Xe=ve[ze];X[Xe.id()]=Xe.same(M)?0:1/0,$e.push(Xe)}for(var lt=function(tn,sn){for(var Fn=(B?tn.edgesTo(sn):tn.edgesWith(sn)).intersect(be),Yn=1/0,wr,qn=0;qn<Fn.length;qn++){var br=Fn[qn],Dr=W(br);(Dr<Yn||!wr)&&(Yn=Dr,wr=br)}return{edge:wr,dist:Yn}};$e.size()>0;){var st=$e.pop(),Ze=Fe(st),gt=st.id();if(le[gt]=Ze,Ze!==1/0)for(var tt=st.neighborhood().intersect(ve),Tt=0;Tt<tt.length;Tt++){var Ct=tt[Tt],pt=Ct.id(),Wt=lt(st,Ct),At=Ze+Wt.dist;At<Fe(Ct)&&(Ae(Ct,At),ee[pt]={node:st,edge:Wt.edge})}}return{distanceTo:function(tn){var sn=Oe(tn)?ve.filter(tn)[0]:tn[0];return le[sn.id()]},pathTo:function(tn){var sn=Oe(tn)?ve.filter(tn)[0]:tn[0],Fn=[],Yn=sn,wr=Yn.id();if(sn.length>0)for(Fn.unshift(sn);ee[wr];){var qn=ee[wr];Fn.unshift(qn.edge),Fn.unshift(qn.node),Yn=qn.node,wr=Yn.id()}return q.spawn(Fn)}}}},pee={kruskal:function(p){p=p||function(ze){return 1};for(var x=this.byGroup(),S=x.nodes,L=x.edges,R=S.length,B=new Array(R),q=S,W=function(Xe){for(var lt=0;lt<B.length;lt++){var st=B[lt];if(st.has(Xe))return lt}},M=0;M<R;M++)B[M]=this.spawn(S[M]);for(var X=L.sort(function(ze,Xe){return p(ze)-p(Xe)}),ee=0;ee<X.length;ee++){var le=X[ee],fe=le.source()[0],ve=le.target()[0],be=W(fe),Fe=W(ve),Ae=B[be],$e=B[Fe];be!==Fe&&(q.merge(le),Ae.merge($e),B.splice(Fe,1))}return q}},mee=N1({root:null,goal:null,weight:function(p){return 1},heuristic:function(p){return 0},directed:!1}),vee={aStar:function(p){var x=this.cy(),S=mee(p),L=S.root,R=S.goal,B=S.heuristic,q=S.directed,W=S.weight;L=x.collection(L)[0],R=x.collection(R)[0];var M=L.id(),X=R.id(),ee={},le={},fe={},ve=new v7(function(wr,qn){return le[wr.id()]-le[qn.id()]}),be=new Ax,Fe={},Ae={},$e=function(qn,br){ve.push(qn),be.add(br)},ze,Xe,lt=function(){ze=ve.pop(),Xe=ze.id(),be.delete(Xe)},st=function(qn){return be.has(qn)};$e(L,M),ee[M]=0,le[M]=B(L);for(var Ze=0;ve.size()>0;){if(lt(),Ze++,Xe===X){for(var gt=[],tt=R,Tt=X,Ct=Ae[Tt];gt.unshift(tt),Ct!=null&&gt.unshift(Ct),tt=Fe[Tt],tt!=null;)Tt=tt.id(),Ct=Ae[Tt];return{found:!0,distance:ee[Xe],path:this.spawn(gt),steps:Ze}}fe[Xe]=!0;for(var pt=ze._private.edges,Wt=0;Wt<pt.length;Wt++){var At=pt[Wt];if(this.hasElementWithId(At.id())&&!(q&&At.data("source")!==Xe)){var Mn=At.source(),tn=At.target(),sn=Mn.id()!==Xe?Mn:tn,Fn=sn.id();if(this.hasElementWithId(Fn)&&!fe[Fn]){var Yn=ee[Xe]+W(At);if(!st(Fn)){ee[Fn]=Yn,le[Fn]=Yn+B(sn),$e(sn,Fn),Fe[Fn]=ze,Ae[Fn]=At;continue}Yn<ee[Fn]&&(ee[Fn]=Yn,le[Fn]=Yn+B(sn),Fe[Fn]=ze,Ae[Fn]=At)}}}}return{found:!1,distance:void 0,path:void 0,steps:Ze}}},bee=N1({weight:function(p){return 1},directed:!1}),wee={floydWarshall:function(p){for(var x=this.cy(),S=bee(p),L=S.weight,R=S.directed,B=L,q=this.byGroup(),W=q.nodes,M=q.edges,X=W.length,ee=X*X,le=function(Dr){return W.indexOf(Dr)},fe=function(Dr){return W[Dr]},ve=new Array(ee),be=0;be<ee;be++){var Fe=be%X,Ae=(be-Fe)/X;Ae===Fe?ve[be]=0:ve[be]=1/0}for(var $e=new Array(ee),ze=new Array(ee),Xe=0;Xe<M.length;Xe++){var lt=M[Xe],st=lt.source()[0],Ze=lt.target()[0];if(st!==Ze){var gt=le(st),tt=le(Ze),Tt=gt*X+tt,Ct=B(lt);if(ve[Tt]>Ct&&(ve[Tt]=Ct,$e[Tt]=tt,ze[Tt]=lt),!R){var pt=tt*X+gt;!R&&ve[pt]>Ct&&(ve[pt]=Ct,$e[pt]=gt,ze[pt]=lt)}}}for(var Wt=0;Wt<X;Wt++)for(var At=0;At<X;At++)for(var Mn=At*X+Wt,tn=0;tn<X;tn++){var sn=At*X+tn,Fn=Wt*X+tn;ve[Mn]+ve[Fn]<ve[sn]&&(ve[sn]=ve[Mn]+ve[Fn],$e[sn]=$e[Mn])}var Yn=function(Dr){return(Oe(Dr)?x.filter(Dr):Dr)[0]},wr=function(Dr){return le(Yn(Dr))},qn={distance:function(Dr,Qr){var Hr=wr(Dr),Mr=wr(Qr);return ve[Hr*X+Mr]},path:function(Dr,Qr){var Hr=wr(Dr),Mr=wr(Qr),Pn=fe(Hr);if(Hr===Mr)return Pn.collection();if($e[Hr*X+Mr]==null)return x.collection();var Kr=x.collection(),qr=Hr,Fi;for(Kr.merge(Pn);Hr!==Mr;)qr=Hr,Hr=$e[Hr*X+Mr],Fi=ze[qr*X+Hr],Kr.merge(Fi),Kr.merge(fe(Hr));return Kr}};return qn}},yee=N1({weight:function(p){return 1},directed:!1,root:null}),_ee={bellmanFord:function(p){var x=this,S=yee(p),L=S.weight,R=S.directed,B=S.root,q=L,W=this,M=this.cy(),X=this.byGroup(),ee=X.edges,le=X.nodes,fe=le.length,ve=new Zb,be=!1,Fe=[];B=M.collection(B)[0],ee.unmergeBy(function(Gs){return Gs.isLoop()});for(var Ae=ee.length,$e=function(ys){var Js=ve.get(ys.id());return Js||(Js={},ve.set(ys.id(),Js)),Js},ze=function(ys){return(Oe(ys)?M.$(ys):ys)[0]},Xe=function(ys){return $e(ze(ys)).dist},lt=function(ys){for(var Js=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B,gc=ze(ys),ho=[],Za=gc;;){if(Za==null)return x.spawn();var ni=$e(Za),ct=ni.edge,ir=ni.pred;if(ho.unshift(Za[0]),Za.same(Js)&&ho.length>0)break;ct!=null&&ho.unshift(ct),Za=ir}return W.spawn(ho)},st=0;st<fe;st++){var Ze=le[st],gt=$e(Ze);Ze.same(B)?gt.dist=0:gt.dist=1/0,gt.pred=null,gt.edge=null}for(var tt=!1,Tt=function(ys,Js,gc,ho,Za,ni){var ct=ho.dist+ni;ct<Za.dist&&!gc.same(ho.edge)&&(Za.dist=ct,Za.pred=ys,Za.edge=gc,tt=!0)},Ct=1;Ct<fe;Ct++){tt=!1;for(var pt=0;pt<Ae;pt++){var Wt=ee[pt],At=Wt.source(),Mn=Wt.target(),tn=q(Wt),sn=$e(At),Fn=$e(Mn);Tt(At,Mn,Wt,sn,Fn,tn),R||Tt(Mn,At,Wt,Fn,sn,tn)}if(!tt)break}if(tt)for(var Yn=[],wr=0;wr<Ae;wr++){var qn=ee[wr],br=qn.source(),Dr=qn.target(),Qr=q(qn),Hr=$e(br).dist,Mr=$e(Dr).dist;if(Hr+Qr<Mr||!R&&Mr+Qr<Hr)if(be||(El("Graph contains a negative weight cycle for Bellman-Ford"),be=!0),p.findNegativeWeightCycles!==!1){var Pn=[];Hr+Qr<Mr&&Pn.push(br),!R&&Mr+Qr<Hr&&Pn.push(Dr);for(var Kr=Pn.length,qr=0;qr<Kr;qr++){var Fi=Pn[qr],ls=[Fi];ls.push($e(Fi).edge);for(var uo=$e(Fi).pred;ls.indexOf(uo)===-1;)ls.push(uo),ls.push($e(uo).edge),uo=$e(uo).pred;ls=ls.slice(ls.indexOf(uo));for(var Yo=ls[0].id(),ms=0,es=2;es<ls.length;es+=2)ls[es].id()<Yo&&(Yo=ls[es].id(),ms=es);ls=ls.slice(ms).concat(ls.slice(0,ms)),ls.push(ls[0]);var Ta=ls.map(function(Gs){return Gs.id()}).join(",");Yn.indexOf(Ta)===-1&&(Fe.push(W.spawn(ls)),Yn.push(Ta))}}else break}return{distanceTo:Xe,pathTo:lt,hasNegativeWeightCycle:be,negativeWeightCycles:Fe}}},xee=Math.sqrt(2),kee=function(p,x,S){S.length===0&&xh("Karger-Stein must be run on a connected (sub)graph");for(var L=S[p],R=L[1],B=L[2],q=x[R],W=x[B],M=S,X=M.length-1;X>=0;X--){var ee=M[X],le=ee[1],fe=ee[2];(x[le]===q&&x[fe]===W||x[le]===W&&x[fe]===q)&&M.splice(X,1)}for(var ve=0;ve<M.length;ve++){var be=M[ve];be[1]===W?(M[ve]=be.slice(),M[ve][1]=q):be[2]===W&&(M[ve]=be.slice(),M[ve][2]=q)}for(var Fe=0;Fe<x.length;Fe++)x[Fe]===W&&(x[Fe]=q);return M},sD=function(p,x,S,L){for(;S>L;){var R=Math.floor(Math.random()*x.length);x=kee(R,p,x),S--}return x},Eee={kargerStein:function(){var p=this,x=this.byGroup(),S=x.nodes,L=x.edges;L.unmergeBy(function(Fn){return Fn.isLoop()});var R=S.length,B=L.length,q=Math.ceil(Math.pow(Math.log(R)/Math.LN2,2)),W=Math.floor(R/xee);if(R<2){xh("At least 2 nodes are required for Karger-Stein algorithm");return}for(var M=[],X=0;X<B;X++){var ee=L[X];M.push([X,S.indexOf(ee.source()),S.indexOf(ee.target())])}for(var le=1/0,fe=[],ve=new Array(R),be=new Array(R),Fe=new Array(R),Ae=function(Yn,wr){for(var qn=0;qn<R;qn++)wr[qn]=Yn[qn]},$e=0;$e<=q;$e++){for(var ze=0;ze<R;ze++)be[ze]=ze;var Xe=sD(be,M.slice(),R,W),lt=Xe.slice();Ae(be,Fe);var st=sD(be,Xe,W,2),Ze=sD(Fe,lt,W,2);st.length<=Ze.length&&st.length<le?(le=st.length,fe=st,Ae(be,ve)):Ze.length<=st.length&&Ze.length<le&&(le=Ze.length,fe=Ze,Ae(Fe,ve))}for(var gt=this.spawn(fe.map(function(Fn){return L[Fn[0]]})),tt=this.spawn(),Tt=this.spawn(),Ct=ve[0],pt=0;pt<ve.length;pt++){var Wt=ve[pt],At=S[pt];Wt===Ct?tt.merge(At):Tt.merge(At)}var Mn=function(Yn){var wr=p.spawn();return Yn.forEach(function(qn){wr.merge(qn),qn.connectedEdges().forEach(function(br){p.contains(br)&&!gt.contains(br)&&wr.merge(br)})}),wr},tn=[Mn(tt),Mn(Tt)],sn={cut:gt,components:tn,partition1:tt,partition2:Tt};return sn}},Tee=function(p){return{x:p.x,y:p.y}},XS=function(p,x,S){return{x:p.x*x+S.x,y:p.y*x+S.y}},a$=function(p,x,S){return{x:(p.x-S.x)/x,y:(p.y-S.y)/x}},Mx=function(p){return{x:p[0],y:p[1]}},See=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=1/0,R=x;R<S;R++){var B=p[R];isFinite(B)&&(L=Math.min(B,L))}return L},Cee=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=-1/0,R=x;R<S;R++){var B=p[R];isFinite(B)&&(L=Math.max(B,L))}return L},Aee=function(p){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=0,R=0,B=x;B<S;B++){var q=p[B];isFinite(q)&&(L+=q,R++)}return L/R},Mee=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.length,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,B=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;L?p=p.slice(x,S):(S<p.length&&p.splice(S,p.length-S),x>0&&p.splice(0,x));for(var q=0,W=p.length-1;W>=0;W--){var M=p[W];B?isFinite(M)||(p[W]=-1/0,q++):p.splice(W,1)}R&&p.sort(function(le,fe){return le-fe});var X=p.length,ee=Math.floor(X/2);return X%2!==0?p[ee+1+q]:(p[ee-1+q]+p[ee+q])/2},Lee=function(p){return Math.PI*p/180},QS=function(p,x){return Math.atan2(x,p)-Math.PI/2},aD=Math.log2||function(_){return Math.log(_)/Math.log(2)},o$=function(p){return p>0?1:p<0?-1:0},n6=function(p,x){return Math.sqrt(r6(p,x))},r6=function(p,x){var S=x.x-p.x,L=x.y-p.y;return S*S+L*L},Iee=function(p){for(var x=p.length,S=0,L=0;L<x;L++)S+=p[L];for(var R=0;R<x;R++)p[R]=p[R]/S;return p},i1=function(p,x,S,L){return(1-L)*(1-L)*p+2*(1-L)*L*x+L*L*S},Lx=function(p,x,S,L){return{x:i1(p.x,x.x,S.x,L),y:i1(p.y,x.y,S.y,L)}},Oee=function(p,x,S,L){var R={x:x.x-p.x,y:x.y-p.y},B=n6(p,x),q={x:R.x/B,y:R.y/B};return S=S??0,L=L??S*B,{x:p.x+q.x*L,y:p.y+q.y*L}},b7=function(p,x,S){return Math.max(p,Math.min(S,x))},Hg=function(p){if(p==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(p.x1!=null&&p.y1!=null){if(p.x2!=null&&p.y2!=null&&p.x2>=p.x1&&p.y2>=p.y1)return{x1:p.x1,y1:p.y1,x2:p.x2,y2:p.y2,w:p.x2-p.x1,h:p.y2-p.y1};if(p.w!=null&&p.h!=null&&p.w>=0&&p.h>=0)return{x1:p.x1,y1:p.y1,x2:p.x1+p.w,y2:p.y1+p.h,w:p.w,h:p.h}}},Dee=function(p){return{x1:p.x1,x2:p.x2,w:p.w,y1:p.y1,y2:p.y2,h:p.h}},Pee=function(p){p.x1=1/0,p.y1=1/0,p.x2=-1/0,p.y2=-1/0,p.w=0,p.h=0},Nee=function(p,x){p.x1=Math.min(p.x1,x.x1),p.x2=Math.max(p.x2,x.x2),p.w=p.x2-p.x1,p.y1=Math.min(p.y1,x.y1),p.y2=Math.max(p.y2,x.y2),p.h=p.y2-p.y1},Ree=function(p,x,S){p.x1=Math.min(p.x1,x),p.x2=Math.max(p.x2,x),p.w=p.x2-p.x1,p.y1=Math.min(p.y1,S),p.y2=Math.max(p.y2,S),p.h=p.y2-p.y1},ZS=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return p.x1-=x,p.x2+=x,p.y1-=x,p.y2+=x,p.w=p.x2-p.x1,p.h=p.y2-p.y1,p},oD=function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],S,L,R,B;if(x.length===1)S=L=R=B=x[0];else if(x.length===2)S=R=x[0],B=L=x[1];else if(x.length===4){var q=A(x,4);S=q[0],L=q[1],R=q[2],B=q[3]}return p.x1-=B,p.x2+=L,p.y1-=S,p.y2+=R,p.w=p.x2-p.x1,p.h=p.y2-p.y1,p},c$=function(p,x){p.x1=x.x1,p.y1=x.y1,p.x2=x.x2,p.y2=x.y2,p.w=p.x2-p.x1,p.h=p.y2-p.y1},cD=function(p,x){return!(p.x1>x.x2||x.x1>p.x2||p.x2<x.x1||x.x2<p.x1||p.y2<x.y1||x.y2<p.y1||p.y1>x.y2||x.y1>p.y2)},Ix=function(p,x,S){return p.x1<=x&&x<=p.x2&&p.y1<=S&&S<=p.y2},Bee=function(p,x){return Ix(p,x.x,x.y)},l$=function(p,x){return Ix(p,x.x1,x.y1)&&Ix(p,x.x2,x.y2)},u$=function(p,x,S,L,R,B,q){var W=_7(R,B),M=R/2,X=B/2,ee;{var le=S-M+W-q,fe=L-X-q,ve=S+M-W+q,be=fe;if(ee=V3(p,x,S,L,le,fe,ve,be,!1),ee.length>0)return ee}{var Fe=S+M+q,Ae=L-X+W-q,$e=Fe,ze=L+X-W+q;if(ee=V3(p,x,S,L,Fe,Ae,$e,ze,!1),ee.length>0)return ee}{var Xe=S-M+W-q,lt=L+X+q,st=S+M-W+q,Ze=lt;if(ee=V3(p,x,S,L,Xe,lt,st,Ze,!1),ee.length>0)return ee}{var gt=S-M-q,tt=L-X+W-q,Tt=gt,Ct=L+X-W+q;if(ee=V3(p,x,S,L,gt,tt,Tt,Ct,!1),ee.length>0)return ee}var pt;{var Wt=S-M+W,At=L-X+W;if(pt=w7(p,x,S,L,Wt,At,W+q),pt.length>0&&pt[0]<=Wt&&pt[1]<=At)return[pt[0],pt[1]]}{var Mn=S+M-W,tn=L-X+W;if(pt=w7(p,x,S,L,Mn,tn,W+q),pt.length>0&&pt[0]>=Mn&&pt[1]<=tn)return[pt[0],pt[1]]}{var sn=S+M-W,Fn=L+X-W;if(pt=w7(p,x,S,L,sn,Fn,W+q),pt.length>0&&pt[0]>=sn&&pt[1]>=Fn)return[pt[0],pt[1]]}{var Yn=S-M+W,wr=L+X-W;if(pt=w7(p,x,S,L,Yn,wr,W+q),pt.length>0&&pt[0]<=Yn&&pt[1]>=wr)return[pt[0],pt[1]]}return[]},Fee=function(p,x,S,L,R,B,q){var W=q,M=Math.min(S,R),X=Math.max(S,R),ee=Math.min(L,B),le=Math.max(L,B);return M-W<=p&&p<=X+W&&ee-W<=x&&x<=le+W},jee=function(p,x,S,L,R,B,q,W,M){var X={x1:Math.min(S,q,R)-M,x2:Math.max(S,q,R)+M,y1:Math.min(L,W,B)-M,y2:Math.max(L,W,B)+M};return!(p<X.x1||p>X.x2||x<X.y1||x>X.y2)},$ee=function(p,x,S,L){S-=L;var R=x*x-4*p*S;if(R<0)return[];var B=Math.sqrt(R),q=2*p,W=(-x+B)/q,M=(-x-B)/q;return[W,M]},Hee=function(p,x,S,L,R){var B=1e-5;p===0&&(p=B),x/=p,S/=p,L/=p;var q,W,M,X,ee,le,fe,ve;if(W=(3*S-x*x)/9,M=-(27*L)+x*(9*S-2*(x*x)),M/=54,q=W*W*W+M*M,R[1]=0,fe=x/3,q>0){ee=M+Math.sqrt(q),ee=ee<0?-Math.pow(-ee,1/3):Math.pow(ee,1/3),le=M-Math.sqrt(q),le=le<0?-Math.pow(-le,1/3):Math.pow(le,1/3),R[0]=-fe+ee+le,fe+=(ee+le)/2,R[4]=R[2]=-fe,fe=Math.sqrt(3)*(-le+ee)/2,R[3]=fe,R[5]=-fe;return}if(R[5]=R[3]=0,q===0){ve=M<0?-Math.pow(-M,1/3):Math.pow(M,1/3),R[0]=-fe+2*ve,R[4]=R[2]=-(ve+fe);return}W=-W,X=W*W*W,X=Math.acos(M/Math.sqrt(X)),ve=2*Math.sqrt(W),R[0]=-fe+ve*Math.cos(X/3),R[2]=-fe+ve*Math.cos((X+2*Math.PI)/3),R[4]=-fe+ve*Math.cos((X+4*Math.PI)/3)},zee=function(p,x,S,L,R,B,q,W){var M=1*S*S-4*S*R+2*S*q+4*R*R-4*R*q+q*q+L*L-4*L*B+2*L*W+4*B*B-4*B*W+W*W,X=1*9*S*R-3*S*S-3*S*q-6*R*R+3*R*q+9*L*B-3*L*L-3*L*W-6*B*B+3*B*W,ee=1*3*S*S-6*S*R+S*q-S*p+2*R*R+2*R*p-q*p+3*L*L-6*L*B+L*W-L*x+2*B*B+2*B*x-W*x,le=1*S*R-S*S+S*p-R*p+L*B-L*L+L*x-B*x,fe=[];Hee(M,X,ee,le,fe);for(var ve=1e-7,be=[],Fe=0;Fe<6;Fe+=2)Math.abs(fe[Fe+1])<ve&&fe[Fe]>=0&&fe[Fe]<=1&&be.push(fe[Fe]);be.push(1),be.push(0);for(var Ae=-1,$e,ze,Xe,lt=0;lt<be.length;lt++)$e=Math.pow(1-be[lt],2)*S+2*(1-be[lt])*be[lt]*R+be[lt]*be[lt]*q,ze=Math.pow(1-be[lt],2)*L+2*(1-be[lt])*be[lt]*B+be[lt]*be[lt]*W,Xe=Math.pow($e-p,2)+Math.pow(ze-x,2),Ae>=0?Xe<Ae&&(Ae=Xe):Ae=Xe;return Ae},Vee=function(p,x,S,L,R,B){var q=[p-S,x-L],W=[R-S,B-L],M=W[0]*W[0]+W[1]*W[1],X=q[0]*q[0]+q[1]*q[1],ee=q[0]*W[0]+q[1]*W[1],le=ee*ee/M;return ee<0?X:le>M?(p-R)*(p-R)+(x-B)*(x-B):X-le},zg=function(p,x,S){for(var L,R,B,q,W,M=0,X=0;X<S.length/2;X++)if(L=S[X*2],R=S[X*2+1],X+1<S.length/2?(B=S[(X+1)*2],q=S[(X+1)*2+1]):(B=S[(X+1-S.length/2)*2],q=S[(X+1-S.length/2)*2+1]),!(L==p&&B==p))if(L>=p&&p>=B||L<=p&&p<=B)W=(p-L)/(B-L)*(q-R)+R,W>x&&M++;else continue;return M%2!==0},Cw=function(p,x,S,L,R,B,q,W,M){var X=new Array(S.length),ee;W[0]!=null?(ee=Math.atan(W[1]/W[0]),W[0]<0?ee=ee+Math.PI/2:ee=-ee-Math.PI/2):ee=W;for(var le=Math.cos(-ee),fe=Math.sin(-ee),ve=0;ve<X.length/2;ve++)X[ve*2]=B/2*(S[ve*2]*le-S[ve*2+1]*fe),X[ve*2+1]=q/2*(S[ve*2+1]*le+S[ve*2]*fe),X[ve*2]+=L,X[ve*2+1]+=R;var be;if(M>0){var Fe=f$(X,-M);be=h$(Fe)}else be=X;return zg(p,x,be)},qee=function(p,x,S,L,R,B,q){for(var W=new Array(S.length),M=B/2,X=q/2,ee=hD(B,q),le=ee*ee,fe=0;fe<S.length/4;fe++){var ve=void 0,be=void 0;fe===0?ve=S.length-2:ve=fe*4-2,be=fe*4+2;var Fe=L+M*S[fe*4],Ae=R+X*S[fe*4+1],$e=-S[ve]*S[be]-S[ve+1]*S[be+1],ze=ee/Math.tan(Math.acos($e)/2),Xe=Fe-ze*S[ve],lt=Ae-ze*S[ve+1],st=Fe+ze*S[be],Ze=Ae+ze*S[be+1];W[fe*4]=Xe,W[fe*4+1]=lt,W[fe*4+2]=st,W[fe*4+3]=Ze;var gt=S[ve+1],tt=-S[ve],Tt=gt*S[be]+tt*S[be+1];Tt<0&&(gt*=-1,tt*=-1);var Ct=Xe+gt*ee,pt=lt+tt*ee,Wt=Math.pow(Ct-p,2)+Math.pow(pt-x,2);if(Wt<=le)return!0}return zg(p,x,W)},h$=function(p){for(var x=new Array(p.length/2),S,L,R,B,q,W,M,X,ee=0;ee<p.length/4;ee++){S=p[ee*4],L=p[ee*4+1],R=p[ee*4+2],B=p[ee*4+3],ee<p.length/4-1?(q=p[(ee+1)*4],W=p[(ee+1)*4+1],M=p[(ee+1)*4+2],X=p[(ee+1)*4+3]):(q=p[0],W=p[1],M=p[2],X=p[3]);var le=V3(S,L,R,B,q,W,M,X,!0);x[ee*2]=le[0],x[ee*2+1]=le[1]}return x},f$=function(p,x){for(var S=new Array(p.length*2),L,R,B,q,W=0;W<p.length/2;W++){L=p[W*2],R=p[W*2+1],W<p.length/2-1?(B=p[(W+1)*2],q=p[(W+1)*2+1]):(B=p[0],q=p[1]);var M=q-R,X=-(B-L),ee=Math.sqrt(M*M+X*X),le=M/ee,fe=X/ee;S[W*4]=L+le*x,S[W*4+1]=R+fe*x,S[W*4+2]=B+le*x,S[W*4+3]=q+fe*x}return S},Uee=function(p,x,S,L,R,B){var q=S-p,W=L-x;q/=R,W/=B;var M=Math.sqrt(q*q+W*W),X=M-1;if(X<0)return[];var ee=X/M;return[(S-p)*ee+p,(L-x)*ee+x]},i6=function(p,x,S,L,R,B,q){return p-=R,x-=B,p/=S/2+q,x/=L/2+q,p*p+x*x<=1},w7=function(p,x,S,L,R,B,q){var W=[S-p,L-x],M=[p-R,x-B],X=W[0]*W[0]+W[1]*W[1],ee=2*(M[0]*W[0]+M[1]*W[1]),le=M[0]*M[0]+M[1]*M[1]-q*q,fe=ee*ee-4*X*le;if(fe<0)return[];var ve=(-ee+Math.sqrt(fe))/(2*X),be=(-ee-Math.sqrt(fe))/(2*X),Fe=Math.min(ve,be),Ae=Math.max(ve,be),$e=[];if(Fe>=0&&Fe<=1&&$e.push(Fe),Ae>=0&&Ae<=1&&$e.push(Ae),$e.length===0)return[];var ze=$e[0]*W[0]+p,Xe=$e[0]*W[1]+x;if($e.length>1){if($e[0]==$e[1])return[ze,Xe];var lt=$e[1]*W[0]+p,st=$e[1]*W[1]+x;return[ze,Xe,lt,st]}else return[ze,Xe]},lD=function(p,x,S){return x<=p&&p<=S||S<=p&&p<=x?p:p<=x&&x<=S||S<=x&&x<=p?x:S},V3=function(p,x,S,L,R,B,q,W,M){var X=p-R,ee=S-p,le=q-R,fe=x-B,ve=L-x,be=W-B,Fe=le*fe-be*X,Ae=ee*fe-ve*X,$e=be*ee-le*ve;if($e!==0){var ze=Fe/$e,Xe=Ae/$e,lt=.001,st=0-lt,Ze=1+lt;return st<=ze&&ze<=Ze&&st<=Xe&&Xe<=Ze?[p+ze*ee,x+ze*ve]:M?[p+ze*ee,x+ze*ve]:[]}else return Fe===0||Ae===0?lD(p,S,q)===q?[q,W]:lD(p,S,R)===R?[R,B]:lD(R,q,S)===S?[S,L]:[]:[]},y7=function(p,x,S,L,R,B,q,W){var M=[],X,ee=new Array(S.length),le=!0;B==null&&(le=!1);var fe;if(le){for(var ve=0;ve<ee.length/2;ve++)ee[ve*2]=S[ve*2]*B+L,ee[ve*2+1]=S[ve*2+1]*q+R;if(W>0){var be=f$(ee,-W);fe=h$(be)}else fe=ee}else fe=S;for(var Fe,Ae,$e,ze,Xe=0;Xe<fe.length/2;Xe++)Fe=fe[Xe*2],Ae=fe[Xe*2+1],Xe<fe.length/2-1?($e=fe[(Xe+1)*2],ze=fe[(Xe+1)*2+1]):($e=fe[0],ze=fe[1]),X=V3(p,x,L,R,Fe,Ae,$e,ze),X.length!==0&&M.push(X[0],X[1]);return M},Gee=function(p,x,S,L,R,B,q,W){for(var M=[],X,ee=new Array(S.length),le=B/2,fe=q/2,ve=hD(B,q),be=0;be<S.length/4;be++){var Fe=void 0,Ae=void 0;be===0?Fe=S.length-2:Fe=be*4-2,Ae=be*4+2;var $e=L+le*S[be*4],ze=R+fe*S[be*4+1],Xe=-S[Fe]*S[Ae]-S[Fe+1]*S[Ae+1],lt=ve/Math.tan(Math.acos(Xe)/2),st=$e-lt*S[Fe],Ze=ze-lt*S[Fe+1],gt=$e+lt*S[Ae],tt=ze+lt*S[Ae+1];be===0?(ee[S.length-2]=st,ee[S.length-1]=Ze):(ee[be*4-2]=st,ee[be*4-1]=Ze),ee[be*4]=gt,ee[be*4+1]=tt;var Tt=S[Fe+1],Ct=-S[Fe],pt=Tt*S[Ae]+Ct*S[Ae+1];pt<0&&(Tt*=-1,Ct*=-1);var Wt=st+Tt*ve,At=Ze+Ct*ve;X=w7(p,x,L,R,Wt,At,ve),X.length!==0&&M.push(X[0],X[1])}for(var Mn=0;Mn<ee.length/4;Mn++)X=V3(p,x,L,R,ee[Mn*4],ee[Mn*4+1],ee[Mn*4+2],ee[Mn*4+3],!1),X.length!==0&&M.push(X[0],X[1]);if(M.length>2){for(var tn=[M[0],M[1]],sn=Math.pow(tn[0]-p,2)+Math.pow(tn[1]-x,2),Fn=1;Fn<M.length/2;Fn++){var Yn=Math.pow(M[Fn*2]-p,2)+Math.pow(M[Fn*2+1]-x,2);Yn<=sn&&(tn[0]=M[Fn*2],tn[1]=M[Fn*2+1],sn=Yn)}return tn}return M},JS=function(p,x,S){var L=[p[0]-x[0],p[1]-x[1]],R=Math.sqrt(L[0]*L[0]+L[1]*L[1]),B=(R-S)/R;return B<0&&(B=1e-5),[x[0]+B*L[0],x[1]+B*L[1]]},rg=function(p,x){var S=uD(p,x);return S=d$(S),S},d$=function(p){for(var x,S,L=p.length/2,R=1/0,B=1/0,q=-1/0,W=-1/0,M=0;M<L;M++)x=p[2*M],S=p[2*M+1],R=Math.min(R,x),q=Math.max(q,x),B=Math.min(B,S),W=Math.max(W,S);for(var X=2/(q-R),ee=2/(W-B),le=0;le<L;le++)x=p[2*le]=p[2*le]*X,S=p[2*le+1]=p[2*le+1]*ee,R=Math.min(R,x),q=Math.max(q,x),B=Math.min(B,S),W=Math.max(W,S);if(B<-1)for(var fe=0;fe<L;fe++)S=p[2*fe+1]=p[2*fe+1]+(-1-B);return p},uD=function(p,x){var S=1/p*2*Math.PI,L=p%2===0?Math.PI/2+S/2:Math.PI/2;L+=x;for(var R=new Array(p*2),B,q=0;q<p;q++)B=q*S+L,R[2*q]=Math.cos(B),R[2*q+1]=Math.sin(-B);return R},_7=function(p,x){return Math.min(p/4,x/4,8)},hD=function(p,x){return Math.min(p/10,x/10,8)},g$=function(){return 8},Wee=function(p,x,S){return[p-2*x+S,2*(x-p),p]},fD=function(p,x){return{heightOffset:Math.min(15,.05*x),widthOffset:Math.min(100,.25*p),ctrlPtOffsetPct:.05}},Kee=N1({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(p){return 1}}),Yee={pageRank:function(p){for(var x=Kee(p),S=x.dampingFactor,L=x.precision,R=x.iterations,B=x.weight,q=this._private.cy,W=this.byGroup(),M=W.nodes,X=W.edges,ee=M.length,le=ee*ee,fe=X.length,ve=new Array(le),be=new Array(ee),Fe=(1-S)/ee,Ae=0;Ae<ee;Ae++){for(var $e=0;$e<ee;$e++){var ze=Ae*ee+$e;ve[ze]=0}be[Ae]=0}for(var Xe=0;Xe<fe;Xe++){var lt=X[Xe],st=lt.data("source"),Ze=lt.data("target");if(st!==Ze){var gt=M.indexOfId(st),tt=M.indexOfId(Ze),Tt=B(lt),Ct=tt*ee+gt;ve[Ct]+=Tt,be[gt]+=Tt}}for(var pt=1/ee+Fe,Wt=0;Wt<ee;Wt++)if(be[Wt]===0)for(var At=0;At<ee;At++){var Mn=At*ee+Wt;ve[Mn]=pt}else for(var tn=0;tn<ee;tn++){var sn=tn*ee+Wt;ve[sn]=ve[sn]/be[Wt]+Fe}for(var Fn=new Array(ee),Yn=new Array(ee),wr,qn=0;qn<ee;qn++)Fn[qn]=1;for(var br=0;br<R;br++){for(var Dr=0;Dr<ee;Dr++)Yn[Dr]=0;for(var Qr=0;Qr<ee;Qr++)for(var Hr=0;Hr<ee;Hr++){var Mr=Qr*ee+Hr;Yn[Qr]+=ve[Mr]*Fn[Hr]}Iee(Yn),wr=Fn,Fn=Yn,Yn=wr;for(var Pn=0,Kr=0;Kr<ee;Kr++){var qr=wr[Kr]-Fn[Kr];Pn+=qr*qr}if(Pn<L)break}var Fi={rank:function(uo){return uo=q.collection(uo)[0],Fn[M.indexOf(uo)]}};return Fi}},p$=N1({root:null,weight:function(p){return 1},directed:!1,alpha:0}),Ox={degreeCentralityNormalized:function(p){p=p$(p);var x=this.cy(),S=this.nodes(),L=S.length;if(p.directed){for(var X={},ee={},le=0,fe=0,ve=0;ve<L;ve++){var be=S[ve],Fe=be.id();p.root=be;var Ae=this.degreeCentrality(p);le<Ae.indegree&&(le=Ae.indegree),fe<Ae.outdegree&&(fe=Ae.outdegree),X[Fe]=Ae.indegree,ee[Fe]=Ae.outdegree}return{indegree:function(ze){return le==0?0:(Oe(ze)&&(ze=x.filter(ze)),X[ze.id()]/le)},outdegree:function(ze){return fe===0?0:(Oe(ze)&&(ze=x.filter(ze)),ee[ze.id()]/fe)}}}else{for(var R={},B=0,q=0;q<L;q++){var W=S[q];p.root=W;var M=this.degreeCentrality(p);B<M.degree&&(B=M.degree),R[W.id()]=M.degree}return{degree:function(ze){return B===0?0:(Oe(ze)&&(ze=x.filter(ze)),R[ze.id()]/B)}}}},degreeCentrality:function(p){p=p$(p);var x=this.cy(),S=this,L=p,R=L.root,B=L.weight,q=L.directed,W=L.alpha;if(R=x.collection(R)[0],q){for(var fe=R.connectedEdges(),ve=fe.filter(function(st){return st.target().same(R)&&S.has(st)}),be=fe.filter(function(st){return st.source().same(R)&&S.has(st)}),Fe=ve.length,Ae=be.length,$e=0,ze=0,Xe=0;Xe<ve.length;Xe++)$e+=B(ve[Xe]);for(var lt=0;lt<be.length;lt++)ze+=B(be[lt]);return{indegree:Math.pow(Fe,1-W)*Math.pow($e,W),outdegree:Math.pow(Ae,1-W)*Math.pow(ze,W)}}else{for(var M=R.connectedEdges().intersection(S),X=M.length,ee=0,le=0;le<M.length;le++)ee+=B(M[le]);return{degree:Math.pow(X,1-W)*Math.pow(ee,W)}}}};Ox.dc=Ox.degreeCentrality,Ox.dcn=Ox.degreeCentralityNormalised=Ox.degreeCentralityNormalized;var m$=N1({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),Dx={closenessCentralityNormalized:function(p){for(var x=m$(p),S=x.harmonic,L=x.weight,R=x.directed,B=this.cy(),q={},W=0,M=this.nodes(),X=this.floydWarshall({weight:L,directed:R}),ee=0;ee<M.length;ee++){for(var le=0,fe=M[ee],ve=0;ve<M.length;ve++)if(ee!==ve){var be=X.distance(fe,M[ve]);S?le+=1/be:le+=be}S||(le=1/le),W<le&&(W=le),q[fe.id()]=le}return{closeness:function(Ae){return W==0?0:(Oe(Ae)?Ae=B.filter(Ae)[0].id():Ae=Ae.id(),q[Ae]/W)}}},closenessCentrality:function(p){var x=m$(p),S=x.root,L=x.weight,R=x.directed,B=x.harmonic;S=this.filter(S)[0];for(var q=this.dijkstra({root:S,weight:L,directed:R}),W=0,M=this.nodes(),X=0;X<M.length;X++){var ee=M[X];if(!ee.same(S)){var le=q.distanceTo(ee);B?W+=1/le:W+=le}}return B?W:1/W}};Dx.cc=Dx.closenessCentrality,Dx.ccn=Dx.closenessCentralityNormalised=Dx.closenessCentralityNormalized;var Xee=N1({weight:null,directed:!1}),dD={betweennessCentrality:function(p){for(var x=Xee(p),S=x.directed,L=x.weight,R=L!=null,B=this.cy(),q=this.nodes(),W={},M={},X=0,ee={set:function(ze,Xe){M[ze]=Xe,Xe>X&&(X=Xe)},get:function(ze){return M[ze]}},le=0;le<q.length;le++){var fe=q[le],ve=fe.id();S?W[ve]=fe.outgoers().nodes():W[ve]=fe.openNeighborhood().nodes(),ee.set(ve,0)}for(var be=function(ze){for(var Xe=q[ze].id(),lt=[],st={},Ze={},gt={},tt=new v7(function(Hr,Mr){return gt[Hr]-gt[Mr]}),Tt=0;Tt<q.length;Tt++){var Ct=q[Tt].id();st[Ct]=[],Ze[Ct]=0,gt[Ct]=1/0}for(Ze[Xe]=1,gt[Xe]=0,tt.push(Xe);!tt.empty();){var pt=tt.pop();if(lt.push(pt),R)for(var Wt=0;Wt<W[pt].length;Wt++){var At=W[pt][Wt],Mn=B.getElementById(pt),tn=void 0;Mn.edgesTo(At).length>0?tn=Mn.edgesTo(At)[0]:tn=At.edgesTo(Mn)[0];var sn=L(tn);At=At.id(),gt[At]>gt[pt]+sn&&(gt[At]=gt[pt]+sn,tt.nodes.indexOf(At)<0?tt.push(At):tt.updateItem(At),Ze[At]=0,st[At]=[]),gt[At]==gt[pt]+sn&&(Ze[At]=Ze[At]+Ze[pt],st[At].push(pt))}else for(var Fn=0;Fn<W[pt].length;Fn++){var Yn=W[pt][Fn].id();gt[Yn]==1/0&&(tt.push(Yn),gt[Yn]=gt[pt]+1),gt[Yn]==gt[pt]+1&&(Ze[Yn]=Ze[Yn]+Ze[pt],st[Yn].push(pt))}}for(var wr={},qn=0;qn<q.length;qn++)wr[q[qn].id()]=0;for(;lt.length>0;){for(var br=lt.pop(),Dr=0;Dr<st[br].length;Dr++){var Qr=st[br][Dr];wr[Qr]=wr[Qr]+Ze[Qr]/Ze[br]*(1+wr[br])}br!=q[ze].id()&&ee.set(br,ee.get(br)+wr[br])}},Fe=0;Fe<q.length;Fe++)be(Fe);var Ae={betweenness:function(ze){var Xe=B.collection(ze).id();return ee.get(Xe)},betweennessNormalized:function(ze){if(X==0)return 0;var Xe=B.collection(ze).id();return ee.get(Xe)/X}};return Ae.betweennessNormalised=Ae.betweennessNormalized,Ae}};dD.bc=dD.betweennessCentrality;var Qee=N1({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(_){return 1}]}),Zee=function(p){return Qee(p)},Jee=function(p,x){for(var S=0,L=0;L<x.length;L++)S+=x[L](p);return S},ete=function(p,x,S){for(var L=0;L<x;L++)p[L*x+L]=S},v$=function(p,x){for(var S,L=0;L<x;L++){S=0;for(var R=0;R<x;R++)S+=p[R*x+L];for(var B=0;B<x;B++)p[B*x+L]=p[B*x+L]/S}},tte=function(p,x,S){for(var L=new Array(S*S),R=0;R<S;R++){for(var B=0;B<S;B++)L[R*S+B]=0;for(var q=0;q<S;q++)for(var W=0;W<S;W++)L[R*S+W]+=p[R*S+q]*x[q*S+W]}return L},nte=function(p,x,S){for(var L=p.slice(0),R=1;R<S;R++)p=tte(p,L,x);return p},rte=function(p,x,S){for(var L=new Array(x*x),R=0;R<x*x;R++)L[R]=Math.pow(p[R],S);return v$(L,x),L},b$=function(p,x,S,L){for(var R=0;R<S;R++){var B=Math.round(p[R]*Math.pow(10,L))/Math.pow(10,L),q=Math.round(x[R]*Math.pow(10,L))/Math.pow(10,L);if(B!==q)return!1}return!0},ite=function(p,x,S,L){for(var R=[],B=0;B<x;B++){for(var q=[],W=0;W<x;W++)Math.round(p[B*x+W]*1e3)/1e3>0&&q.push(S[W]);q.length!==0&&R.push(L.collection(q))}return R},ste=function(p,x){for(var S=0;S<p.length;S++)if(!x[S]||p[S].id()!==x[S].id())return!1;return!0},ate=function(p){for(var x=0;x<p.length;x++)for(var S=0;S<p.length;S++)x!=S&&ste(p[x],p[S])&&p.splice(S,1);return p},w$=function(p){for(var x=this.nodes(),S=this.edges(),L=this.cy(),R=Zee(p),B={},q=0;q<x.length;q++)B[x[q].id()]=q;for(var W=x.length,M=W*W,X=new Array(M),ee,le=0;le<M;le++)X[le]=0;for(var fe=0;fe<S.length;fe++){var ve=S[fe],be=B[ve.source().id()],Fe=B[ve.target().id()],Ae=Jee(ve,R.attributes);X[be*W+Fe]+=Ae,X[Fe*W+be]+=Ae}ete(X,W,R.multFactor),v$(X,W);for(var $e=!0,ze=0;$e&&ze<R.maxIterations;)$e=!1,ee=nte(X,W,R.expandFactor),X=rte(ee,W,R.inflateFactor),b$(X,ee,M,4)||($e=!0),ze++;var Xe=ite(X,W,x,L);return Xe=ate(Xe),Xe},ote={markovClustering:w$,mcl:w$},cte=function(p){return p},y$=function(p,x){return Math.abs(x-p)},_$=function(p,x,S){return p+y$(x,S)},x$=function(p,x,S){return p+Math.pow(S-x,2)},lte=function(p){return Math.sqrt(p)},ute=function(p,x,S){return Math.max(p,y$(x,S))},x7=function(p,x,S,L,R){for(var B=arguments.length>5&&arguments[5]!==void 0?arguments[5]:cte,q=L,W,M,X=0;X<p;X++)W=x(X),M=S(X),q=R(q,W,M);return B(q)},Px={euclidean:function(p,x,S){return p>=2?x7(p,x,S,0,x$,lte):x7(p,x,S,0,_$)},squaredEuclidean:function(p,x,S){return x7(p,x,S,0,x$)},manhattan:function(p,x,S){return x7(p,x,S,0,_$)},max:function(p,x,S){return x7(p,x,S,-1/0,ute)}};Px["squared-euclidean"]=Px.squaredEuclidean,Px.squaredeuclidean=Px.squaredEuclidean;function eC(_,p,x,S,L,R){var B;return De(_)?B=_:B=Px[_]||Px.euclidean,p===0&&De(_)?B(L,R):B(p,x,S,L,R)}var hte=N1({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),gD=function(p){return hte(p)},tC=function(p,x,S,L,R){var B=R!=="kMedoids",q=B?function(ee){return S[ee]}:function(ee){return L[ee](S)},W=function(le){return L[le](x)},M=S,X=x;return eC(p,L.length,q,W,M,X)},pD=function(p,x,S){for(var L=S.length,R=new Array(L),B=new Array(L),q=new Array(x),W=null,M=0;M<L;M++)R[M]=p.min(S[M]).value,B[M]=p.max(S[M]).value;for(var X=0;X<x;X++){W=[];for(var ee=0;ee<L;ee++)W[ee]=Math.random()*(B[ee]-R[ee])+R[ee];q[X]=W}return q},k$=function(p,x,S,L,R){for(var B=1/0,q=0,W=0;W<x.length;W++){var M=tC(S,p,x[W],L,R);M<B&&(B=M,q=W)}return q},E$=function(p,x,S){for(var L=[],R=null,B=0;B<x.length;B++)R=x[B],S[R.id()]===p&&L.push(R);return L},fte=function(p,x,S){return Math.abs(x-p)<=S},dte=function(p,x,S){for(var L=0;L<p.length;L++)for(var R=0;R<p[L].length;R++){var B=Math.abs(p[L][R]-x[L][R]);if(B>S)return!1}return!0},gte=function(p,x,S){for(var L=0;L<S;L++)if(p===x[L])return!0;return!1},T$=function(p,x){var S=new Array(x);if(p.length<50)for(var L=0;L<x;L++){for(var R=p[Math.floor(Math.random()*p.length)];gte(R,S,L);)R=p[Math.floor(Math.random()*p.length)];S[L]=R}else for(var B=0;B<x;B++)S[B]=p[Math.floor(Math.random()*p.length)];return S},S$=function(p,x,S){for(var L=0,R=0;R<x.length;R++)L+=tC("manhattan",x[R],p,S,"kMedoids");return L},pte=function(p){var x=this.cy(),S=this.nodes(),L=null,R=gD(p),B=new Array(R.k),q={},W;R.testMode?typeof R.testCentroids=="number"?(R.testCentroids,W=pD(S,R.k,R.attributes)):f(R.testCentroids)==="object"?W=R.testCentroids:W=pD(S,R.k,R.attributes):W=pD(S,R.k,R.attributes);for(var M=!0,X=0;M&&X<R.maxIterations;){for(var ee=0;ee<S.length;ee++)L=S[ee],q[L.id()]=k$(L,W,R.distance,R.attributes,"kMeans");M=!1;for(var le=0;le<R.k;le++){var fe=E$(le,S,q);if(fe.length!==0){for(var ve=R.attributes.length,be=W[le],Fe=new Array(ve),Ae=new Array(ve),$e=0;$e<ve;$e++){Ae[$e]=0;for(var ze=0;ze<fe.length;ze++)L=fe[ze],Ae[$e]+=R.attributes[$e](L);Fe[$e]=Ae[$e]/fe.length,fte(Fe[$e],be[$e],R.sensitivityThreshold)||(M=!0)}W[le]=Fe,B[le]=x.collection(fe)}}X++}return B},mte=function(p){var x=this.cy(),S=this.nodes(),L=null,R=gD(p),B=new Array(R.k),q,W={},M,X=new Array(R.k);R.testMode?typeof R.testCentroids=="number"||(f(R.testCentroids)==="object"?q=R.testCentroids:q=T$(S,R.k)):q=T$(S,R.k);for(var ee=!0,le=0;ee&&le<R.maxIterations;){for(var fe=0;fe<S.length;fe++)L=S[fe],W[L.id()]=k$(L,q,R.distance,R.attributes,"kMedoids");ee=!1;for(var ve=0;ve<q.length;ve++){var be=E$(ve,S,W);if(be.length!==0){X[ve]=S$(q[ve],be,R.attributes);for(var Fe=0;Fe<be.length;Fe++)M=S$(be[Fe],be,R.attributes),M<X[ve]&&(X[ve]=M,q[ve]=be[Fe],ee=!0);B[ve]=x.collection(be)}}le++}return B},vte=function(p,x,S,L,R){for(var B,q,W=0;W<x.length;W++)for(var M=0;M<p.length;M++)L[W][M]=Math.pow(S[W][M],R.m);for(var X=0;X<p.length;X++)for(var ee=0;ee<R.attributes.length;ee++){B=0,q=0;for(var le=0;le<x.length;le++)B+=L[le][X]*R.attributes[ee](x[le]),q+=L[le][X];p[X][ee]=B/q}},bte=function(p,x,S,L,R){for(var B=0;B<p.length;B++)x[B]=p[B].slice();for(var q,W,M,X=2/(R.m-1),ee=0;ee<S.length;ee++)for(var le=0;le<L.length;le++){q=0;for(var fe=0;fe<S.length;fe++)W=tC(R.distance,L[le],S[ee],R.attributes,"cmeans"),M=tC(R.distance,L[le],S[fe],R.attributes,"cmeans"),q+=Math.pow(W/M,X);p[le][ee]=1/q}},wte=function(p,x,S,L){for(var R=new Array(S.k),B=0;B<R.length;B++)R[B]=[];for(var q,W,M=0;M<x.length;M++){q=-1/0,W=-1;for(var X=0;X<x[0].length;X++)x[M][X]>q&&(q=x[M][X],W=X);R[W].push(p[M])}for(var ee=0;ee<R.length;ee++)R[ee]=L.collection(R[ee]);return R},C$=function(p){var x=this.cy(),S=this.nodes(),L=gD(p),R,B,q,W,M;W=new Array(S.length);for(var X=0;X<S.length;X++)W[X]=new Array(L.k);q=new Array(S.length);for(var ee=0;ee<S.length;ee++)q[ee]=new Array(L.k);for(var le=0;le<S.length;le++){for(var fe=0,ve=0;ve<L.k;ve++)q[le][ve]=Math.random(),fe+=q[le][ve];for(var be=0;be<L.k;be++)q[le][be]=q[le][be]/fe}B=new Array(L.k);for(var Fe=0;Fe<L.k;Fe++)B[Fe]=new Array(L.attributes.length);M=new Array(S.length);for(var Ae=0;Ae<S.length;Ae++)M[Ae]=new Array(L.k);for(var $e=!0,ze=0;$e&&ze<L.maxIterations;)$e=!1,vte(B,S,q,M,L),bte(q,W,B,S,L),dte(q,W,L.sensitivityThreshold)||($e=!0),ze++;return R=wte(S,q,L,x),{clusters:R,degreeOfMembership:q}},yte={kMeans:pte,kMedoids:mte,fuzzyCMeans:C$,fcm:C$},_te=N1({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),xte={single:"min",complete:"max"},kte=function(p){var x=_te(p),S=xte[x.linkage];return S!=null&&(x.linkage=S),x},A$=function(p,x,S,L,R){for(var B=0,q=1/0,W,M=R.attributes,X=function(tt,Tt){return eC(R.distance,M.length,function(Ct){return M[Ct](tt)},function(Ct){return M[Ct](Tt)},tt,Tt)},ee=0;ee<p.length;ee++){var le=p[ee].key,fe=S[le][L[le]];fe<q&&(B=le,q=fe)}if(R.mode==="threshold"&&q>=R.threshold||R.mode==="dendrogram"&&p.length===1)return!1;var ve=x[B],be=x[L[B]],Fe;R.mode==="dendrogram"?Fe={left:ve,right:be,key:ve.key}:Fe={value:ve.value.concat(be.value),key:ve.key},p[ve.index]=Fe,p.splice(be.index,1),x[ve.key]=Fe;for(var Ae=0;Ae<p.length;Ae++){var $e=p[Ae];ve.key===$e.key?W=1/0:R.linkage==="min"?(W=S[ve.key][$e.key],S[ve.key][$e.key]>S[be.key][$e.key]&&(W=S[be.key][$e.key])):R.linkage==="max"?(W=S[ve.key][$e.key],S[ve.key][$e.key]<S[be.key][$e.key]&&(W=S[be.key][$e.key])):R.linkage==="mean"?W=(S[ve.key][$e.key]*ve.size+S[be.key][$e.key]*be.size)/(ve.size+be.size):R.mode==="dendrogram"?W=X($e.value,ve.value):W=X($e.value[0],ve.value[0]),S[ve.key][$e.key]=S[$e.key][ve.key]=W}for(var ze=0;ze<p.length;ze++){var Xe=p[ze].key;if(L[Xe]===ve.key||L[Xe]===be.key){for(var lt=Xe,st=0;st<p.length;st++){var Ze=p[st].key;S[Xe][Ze]<S[Xe][lt]&&(lt=Ze)}L[Xe]=lt}p[ze].index=ze}return ve.key=be.key=ve.index=be.index=null,!0},nC=function _(p,x,S){p&&(p.value?x.push(p.value):(p.left&&_(p.left,x),p.right&&_(p.right,x)))},Ete=function _(p,x){if(!p)return"";if(p.left&&p.right){var S=_(p.left,x),L=_(p.right,x),R=x.add({group:"nodes",data:{id:S+","+L}});return x.add({group:"edges",data:{source:S,target:R.id()}}),x.add({group:"edges",data:{source:L,target:R.id()}}),R.id()}else if(p.value)return p.value.id()},Tte=function _(p,x,S){if(!p)return[];var L=[],R=[],B=[];return x===0?(p.left&&nC(p.left,L),p.right&&nC(p.right,R),B=L.concat(R),[S.collection(B)]):x===1?p.value?[S.collection(p.value)]:(p.left&&nC(p.left,L),p.right&&nC(p.right,R),[S.collection(L),S.collection(R)]):p.value?[S.collection(p.value)]:(p.left&&(L=_(p.left,x-1,S)),p.right&&(R=_(p.right,x-1,S)),L.concat(R))},M$=function(p){for(var x=this.cy(),S=this.nodes(),L=kte(p),R=L.attributes,B=function(ze,Xe){return eC(L.distance,R.length,function(lt){return R[lt](ze)},function(lt){return R[lt](Xe)},ze,Xe)},q=[],W=[],M=[],X=[],ee=0;ee<S.length;ee++){var le={value:L.mode==="dendrogram"?S[ee]:[S[ee]],key:ee,index:ee};q[ee]=le,X[ee]=le,W[ee]=[],M[ee]=0}for(var fe=0;fe<q.length;fe++)for(var ve=0;ve<=fe;ve++){var be=void 0;L.mode==="dendrogram"?be=fe===ve?1/0:B(q[fe].value,q[ve].value):be=fe===ve?1/0:B(q[fe].value[0],q[ve].value[0]),W[fe][ve]=be,W[ve][fe]=be,be<W[fe][M[fe]]&&(M[fe]=ve)}for(var Fe=A$(q,X,W,M,L);Fe;)Fe=A$(q,X,W,M,L);var Ae;return L.mode==="dendrogram"?(Ae=Tte(q[0],L.dendrogramDepth,x),L.addDendrogram&&Ete(q[0],x)):(Ae=new Array(q.length),q.forEach(function($e,ze){$e.key=$e.index=null,Ae[ze]=x.collection($e.value)})),Ae},Ste={hierarchicalClustering:M$,hca:M$},Cte=N1({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),Ate=function(p){var x=p.damping,S=p.preference;.5<=x&&x<1||xh("Damping must range on [0.5, 1). Got: ".concat(x));var L=["median","mean","min","max"];return L.some(function(R){return R===S})||ge(S)||xh("Preference must be one of [".concat(L.map(function(R){return"'".concat(R,"'")}).join(", "),"] or a number. Got: ").concat(S)),Cte(p)},Mte=function(p,x,S,L){var R=function(q,W){return L[W](q)};return-eC(p,L.length,function(B){return R(x,B)},function(B){return R(S,B)},x,S)},Lte=function(p,x){var S=null;return x==="median"?S=Mee(p):x==="mean"?S=Aee(p):x==="min"?S=See(p):x==="max"?S=Cee(p):S=x,S},Ite=function(p,x,S){for(var L=[],R=0;R<p;R++)x[R*p+R]+S[R*p+R]>0&&L.push(R);return L},L$=function(p,x,S){for(var L=[],R=0;R<p;R++){for(var B=-1,q=-1/0,W=0;W<S.length;W++){var M=S[W];x[R*p+M]>q&&(B=M,q=x[R*p+M])}B>0&&L.push(B)}for(var X=0;X<S.length;X++)L[S[X]]=S[X];return L},Ote=function(p,x,S){for(var L=L$(p,x,S),R=0;R<S.length;R++){for(var B=[],q=0;q<L.length;q++)L[q]===S[R]&&B.push(q);for(var W=-1,M=-1/0,X=0;X<B.length;X++){for(var ee=0,le=0;le<B.length;le++)ee+=x[B[le]*p+B[X]];ee>M&&(W=X,M=ee)}S[R]=B[W]}return L=L$(p,x,S),L},I$=function(p){for(var x=this.cy(),S=this.nodes(),L=Ate(p),R={},B=0;B<S.length;B++)R[S[B].id()]=B;var q,W,M,X,ee,le;q=S.length,W=q*q,M=new Array(W);for(var fe=0;fe<W;fe++)M[fe]=-1/0;for(var ve=0;ve<q;ve++)for(var be=0;be<q;be++)ve!==be&&(M[ve*q+be]=Mte(L.distance,S[ve],S[be],L.attributes));X=Lte(M,L.preference);for(var Fe=0;Fe<q;Fe++)M[Fe*q+Fe]=X;ee=new Array(W);for(var Ae=0;Ae<W;Ae++)ee[Ae]=0;le=new Array(W);for(var $e=0;$e<W;$e++)le[$e]=0;for(var ze=new Array(q),Xe=new Array(q),lt=new Array(q),st=0;st<q;st++)ze[st]=0,Xe[st]=0,lt[st]=0;for(var Ze=new Array(q*L.minIterations),gt=0;gt<Ze.length;gt++)Ze[gt]=0;var tt;for(tt=0;tt<L.maxIterations;tt++){for(var Tt=0;Tt<q;Tt++){for(var Ct=-1/0,pt=-1/0,Wt=-1,At=0,Mn=0;Mn<q;Mn++)ze[Mn]=ee[Tt*q+Mn],At=le[Tt*q+Mn]+M[Tt*q+Mn],At>=Ct?(pt=Ct,Ct=At,Wt=Mn):At>pt&&(pt=At);for(var tn=0;tn<q;tn++)ee[Tt*q+tn]=(1-L.damping)*(M[Tt*q+tn]-Ct)+L.damping*ze[tn];ee[Tt*q+Wt]=(1-L.damping)*(M[Tt*q+Wt]-pt)+L.damping*ze[Wt]}for(var sn=0;sn<q;sn++){for(var Fn=0,Yn=0;Yn<q;Yn++)ze[Yn]=le[Yn*q+sn],Xe[Yn]=Math.max(0,ee[Yn*q+sn]),Fn+=Xe[Yn];Fn-=Xe[sn],Xe[sn]=ee[sn*q+sn],Fn+=Xe[sn];for(var wr=0;wr<q;wr++)le[wr*q+sn]=(1-L.damping)*Math.min(0,Fn-Xe[wr])+L.damping*ze[wr];le[sn*q+sn]=(1-L.damping)*(Fn-Xe[sn])+L.damping*ze[sn]}for(var qn=0,br=0;br<q;br++){var Dr=le[br*q+br]+ee[br*q+br]>0?1:0;Ze[tt%L.minIterations*q+br]=Dr,qn+=Dr}if(qn>0&&(tt>=L.minIterations-1||tt==L.maxIterations-1)){for(var Qr=0,Hr=0;Hr<q;Hr++){lt[Hr]=0;for(var Mr=0;Mr<L.minIterations;Mr++)lt[Hr]+=Ze[Mr*q+Hr];(lt[Hr]===0||lt[Hr]===L.minIterations)&&Qr++}if(Qr===q)break}}for(var Pn=Ite(q,ee,le),Kr=Ote(q,M,Pn),qr={},Fi=0;Fi<Pn.length;Fi++)qr[Pn[Fi]]=[];for(var ls=0;ls<S.length;ls++){var uo=R[S[ls].id()],Yo=Kr[uo];Yo!=null&&qr[Yo].push(S[ls])}for(var ms=new Array(Pn.length),es=0;es<Pn.length;es++)ms[es]=x.collection(qr[Pn[es]]);return ms},Dte={affinityPropagation:I$,ap:I$},Pte=N1({root:void 0,directed:!1}),Nte={hierholzer:function(p){if(!ke(p)){var x=arguments;p={root:x[0],directed:x[1]}}var S=Pte(p),L=S.root,R=S.directed,B=this,q=!1,W,M,X;L&&(X=Oe(L)?this.filter(L)[0].id():L[0].id());var ee={},le={};R?B.forEach(function($e){var ze=$e.id();if($e.isNode()){var Xe=$e.indegree(!0),lt=$e.outdegree(!0),st=Xe-lt,Ze=lt-Xe;st==1?W?q=!0:W=ze:Ze==1?M?q=!0:M=ze:(Ze>1||st>1)&&(q=!0),ee[ze]=[],$e.outgoers().forEach(function(gt){gt.isEdge()&&ee[ze].push(gt.id())})}else le[ze]=[void 0,$e.target().id()]}):B.forEach(function($e){var ze=$e.id();if($e.isNode()){var Xe=$e.degree(!0);Xe%2&&(W?M?q=!0:M=ze:W=ze),ee[ze]=[],$e.connectedEdges().forEach(function(lt){return ee[ze].push(lt.id())})}else le[ze]=[$e.source().id(),$e.target().id()]});var fe={found:!1,trail:void 0};if(q)return fe;if(M&&W)if(R){if(X&&M!=X)return fe;X=M}else{if(X&&M!=X&&W!=X)return fe;X||(X=M)}else X||(X=B[0].id());var ve=function(ze){for(var Xe=ze,lt=[ze],st,Ze,gt;ee[Xe].length;)st=ee[Xe].shift(),Ze=le[st][0],gt=le[st][1],Xe!=gt?(ee[gt]=ee[gt].filter(function(tt){return tt!=st}),Xe=gt):!R&&Xe!=Ze&&(ee[Ze]=ee[Ze].filter(function(tt){return tt!=st}),Xe=Ze),lt.unshift(st),lt.unshift(Xe);return lt},be=[],Fe=[];for(Fe=ve(X);Fe.length!=1;)ee[Fe[0]].length==0?(be.unshift(B.getElementById(Fe.shift())),be.unshift(B.getElementById(Fe.shift()))):Fe=ve(Fe.shift()).concat(Fe);be.unshift(B.getElementById(Fe.shift()));for(var Ae in ee)if(ee[Ae].length)return fe;return fe.found=!0,fe.trail=this.spawn(be,!0),fe}},rC=function(){var p=this,x={},S=0,L=0,R=[],B=[],q={},W=function(le,fe){for(var ve=B.length-1,be=[],Fe=p.spawn();B[ve].x!=le||B[ve].y!=fe;)be.push(B.pop().edge),ve--;be.push(B.pop().edge),be.forEach(function(Ae){var $e=Ae.connectedNodes().intersection(p);Fe.merge(Ae),$e.forEach(function(ze){var Xe=ze.id(),lt=ze.connectedEdges().intersection(p);Fe.merge(ze),x[Xe].cutVertex?Fe.merge(lt.filter(function(st){return st.isLoop()})):Fe.merge(lt)})}),R.push(Fe)},M=function ee(le,fe,ve){le===ve&&(L+=1),x[fe]={id:S,low:S++,cutVertex:!1};var be=p.getElementById(fe).connectedEdges().intersection(p);if(be.size()===0)R.push(p.spawn(p.getElementById(fe)));else{var Fe,Ae,$e,ze;be.forEach(function(Xe){Fe=Xe.source().id(),Ae=Xe.target().id(),$e=Fe===fe?Ae:Fe,$e!==ve&&(ze=Xe.id(),q[ze]||(q[ze]=!0,B.push({x:fe,y:$e,edge:Xe})),$e in x?x[fe].low=Math.min(x[fe].low,x[$e].id):(ee(le,$e,fe),x[fe].low=Math.min(x[fe].low,x[$e].low),x[fe].id<=x[$e].low&&(x[fe].cutVertex=!0,W(fe,$e))))})}};p.forEach(function(ee){if(ee.isNode()){var le=ee.id();le in x||(L=0,M(le,le),x[le].cutVertex=L>1)}});var X=Object.keys(x).filter(function(ee){return x[ee].cutVertex}).map(function(ee){return p.getElementById(ee)});return{cut:p.spawn(X),components:R}},Rte={hopcroftTarjanBiconnected:rC,htbc:rC,htb:rC,hopcroftTarjanBiconnectedComponents:rC},iC=function(){var p=this,x={},S=0,L=[],R=[],B=p.spawn(p),q=function W(M){R.push(M),x[M]={index:S,low:S++,explored:!1};var X=p.getElementById(M).connectedEdges().intersection(p);if(X.forEach(function(be){var Fe=be.target().id();Fe!==M&&(Fe in x||W(Fe),x[Fe].explored||(x[M].low=Math.min(x[M].low,x[Fe].low)))}),x[M].index===x[M].low){for(var ee=p.spawn();;){var le=R.pop();if(ee.merge(p.getElementById(le)),x[le].low=x[M].index,x[le].explored=!0,le===M)break}var fe=ee.edgesWith(ee),ve=ee.merge(fe);L.push(ve),B=B.difference(ve)}};return p.forEach(function(W){if(W.isNode()){var M=W.id();M in x||q(M)}}),{cut:B,components:L}},Bte={tarjanStronglyConnected:iC,tsc:iC,tscc:iC,tarjanStronglyConnectedComponents:iC},O$={};[m7,gee,pee,vee,wee,_ee,Eee,Yee,Ox,Dx,dD,ote,yte,Ste,Dte,Nte,Rte,Bte].forEach(function(_){Ge(O$,_)});/*!
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Licensed under The MIT License (http://opensource.org/licenses/MIT)
*/var D$=0,P$=1,N$=2,Aw=function _(p){if(!(this instanceof _))return new _(p);this.id="Thenable/1.0.7",this.state=D$,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof p=="function"&&p.call(this,this.fulfill.bind(this),this.reject.bind(this))};Aw.prototype={fulfill:function(p){return R$(this,P$,"fulfillValue",p)},reject:function(p){return R$(this,N$,"rejectReason",p)},then:function(p,x){var S=this,L=new Aw;return S.onFulfilled.push(j$(p,L,"fulfill")),S.onRejected.push(j$(x,L,"reject")),B$(S),L.proxy}};var R$=function(p,x,S,L){return p.state===D$&&(p.state=x,p[S]=L,B$(p)),p},B$=function(p){p.state===P$?F$(p,"onFulfilled",p.fulfillValue):p.state===N$&&F$(p,"onRejected",p.rejectReason)},F$=function(p,x,S){if(p[x].length!==0){var L=p[x];p[x]=[];var R=function(){for(var q=0;q<L.length;q++)L[q](S)};typeof setImmediate=="function"?setImmediate(R):setTimeout(R,0)}},j$=function(p,x,S){return function(L){if(typeof p!="function")x[S].call(x,L);else{var R;try{R=p(L)}catch(B){x.reject(B);return}Fte(x,R)}}},Fte=function _(p,x){if(p===x||p.proxy===x){p.reject(new TypeError("cannot resolve promise with itself"));return}var S;if(f(x)==="object"&&x!==null||typeof x=="function")try{S=x.then}catch(R){p.reject(R);return}if(typeof S=="function"){var L=!1;try{S.call(x,function(R){L||(L=!0,R===x?p.reject(new TypeError("circular thenable chain")):_(p,R))},function(R){L||(L=!0,p.reject(R))})}catch(R){L||p.reject(R)}return}p.fulfill(x)};Aw.all=function(_){return new Aw(function(p,x){for(var S=new Array(_.length),L=0,R=function(W,M){S[W]=M,L++,L===_.length&&p(S)},B=0;B<_.length;B++)(function(q){var W=_[q],M=W!=null&&W.then!=null;if(M)W.then(function(ee){R(q,ee)},function(ee){x(ee)});else{var X=W;R(q,X)}})(B)})},Aw.resolve=function(_){return new Aw(function(p,x){p(_)})},Aw.reject=function(_){return new Aw(function(p,x){x(_)})};var Nx=typeof Promise<"u"?Promise:Aw,sC=function(p,x,S){var L=Qe(p),R=!L,B=this._private=Ge({duration:1e3},x,S);if(B.target=p,B.style=B.style||B.css,B.started=!1,B.playing=!1,B.hooked=!1,B.applying=!1,B.progress=0,B.completes=[],B.frames=[],B.complete&&De(B.complete)&&B.completes.push(B.complete),R){var q=p.position();B.startPosition=B.startPosition||{x:q.x,y:q.y},B.startStyle=B.startStyle||p.cy().style().getAnimationStartStyle(p,B.style)}if(L){var W=p.pan();B.startPan={x:W.x,y:W.y},B.startZoom=p.zoom()}this.length=1,this[0]=this},s6=sC.prototype;Ge(s6,{instanceString:function(){return"animation"},hook:function(){var p=this._private;if(!p.hooked){var x,S=p.target._private.animation;p.queue?x=S.queue:x=S.current,x.push(this),xe(p.target)&&p.target.cy().addToAnimationPool(p.target),p.hooked=!0}return this},play:function(){var p=this._private;return p.progress===1&&(p.progress=0),p.playing=!0,p.started=!1,p.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var p=this._private;return p.applying=!0,p.started=!1,p.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var p=this._private;return p.playing=!1,p.started=!1,this},stop:function(){var p=this._private;return p.playing=!1,p.started=!1,p.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(p){var x=this._private;return p===void 0?x.progress*x.duration:this.progress(p/x.duration)},progress:function(p){var x=this._private,S=x.playing;return p===void 0?x.progress:(S&&this.pause(),x.progress=p,x.started=!1,S&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var p=this._private,x=p.playing;x&&this.pause(),p.progress=1-p.progress,p.started=!1;var S=function(M,X){var ee=p[M];ee!=null&&(p[M]=p[X],p[X]=ee)};if(S("zoom","startZoom"),S("pan","startPan"),S("position","startPosition"),p.style)for(var L=0;L<p.style.length;L++){var R=p.style[L],B=R.name,q=p.startStyle[B];p.startStyle[B]=R,p.style[L]=q}return x&&this.play(),this},promise:function(p){var x=this._private,S;switch(p){case"frame":S=x.frames;break;default:case"complete":case"completed":S=x.completes}return new Nx(function(L,R){S.push(function(){L()})})}}),s6.complete=s6.completed,s6.run=s6.play,s6.running=s6.playing;var jte={animated:function(){return function(){var x=this,S=x.length!==void 0,L=S?x:[x],R=this._private.cy||this;if(!R.styleEnabled())return!1;var B=L[0];if(B)return B._private.animation.current.length>0}},clearQueue:function(){return function(){var x=this,S=x.length!==void 0,L=S?x:[x],R=this._private.cy||this;if(!R.styleEnabled())return this;for(var B=0;B<L.length;B++){var q=L[B];q._private.animation.queue=[]}return this}},delay:function(){return function(x,S){var L=this._private.cy||this;return L.styleEnabled()?this.animate({delay:x,duration:x,complete:S}):this}},delayAnimation:function(){return function(x,S){var L=this._private.cy||this;return L.styleEnabled()?this.animation({delay:x,duration:x,complete:S}):this}},animation:function(){return function(x,S){var L=this,R=L.length!==void 0,B=R?L:[L],q=this._private.cy||this,W=!R,M=!W;if(!q.styleEnabled())return this;var X=q.style();x=Ge({},x,S);var ee=Object.keys(x).length===0;if(ee)return new sC(B[0],x);switch(x.duration===void 0&&(x.duration=400),x.duration){case"slow":x.duration=600;break;case"fast":x.duration=200;break}if(M&&(x.style=X.getPropsList(x.style||x.css),x.css=void 0),M&&x.renderedPosition!=null){var le=x.renderedPosition,fe=q.pan(),ve=q.zoom();x.position=a$(le,ve,fe)}if(W&&x.panBy!=null){var be=x.panBy,Fe=q.pan();x.pan={x:Fe.x+be.x,y:Fe.y+be.y}}var Ae=x.center||x.centre;if(W&&Ae!=null){var $e=q.getCenterPan(Ae.eles,x.zoom);$e!=null&&(x.pan=$e)}if(W&&x.fit!=null){var ze=x.fit,Xe=q.getFitViewport(ze.eles||ze.boundingBox,ze.padding);Xe!=null&&(x.pan=Xe.pan,x.zoom=Xe.zoom)}if(W&&ke(x.zoom)){var lt=q.getZoomedViewport(x.zoom);lt!=null?(lt.zoomed&&(x.zoom=lt.zoom),lt.panned&&(x.pan=lt.pan)):x.zoom=null}return new sC(B[0],x)}},animate:function(){return function(x,S){var L=this,R=L.length!==void 0,B=R?L:[L],q=this._private.cy||this;if(!q.styleEnabled())return this;S&&(x=Ge({},x,S));for(var W=0;W<B.length;W++){var M=B[W],X=M.animated()&&(x.queue===void 0||x.queue),ee=M.animation(x,X?{queue:!0}:void 0);ee.play()}return this}},stop:function(){return function(x,S){var L=this,R=L.length!==void 0,B=R?L:[L],q=this._private.cy||this;if(!q.styleEnabled())return this;for(var W=0;W<B.length;W++){for(var M=B[W],X=M._private,ee=X.animation.current,le=0;le<ee.length;le++){var fe=ee[le],ve=fe._private;S&&(ve.duration=0)}x&&(X.animation.queue=[]),S||(X.animation.current=[])}return q.notify("draw"),this}}},$te=Array.isArray,aC=$te,Hte=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zte=/^\w*$/;function Vte(_,p){if(aC(_))return!1;var x=typeof _;return x=="number"||x=="symbol"||x=="boolean"||_==null||ps(_)?!0:zte.test(_)||!Hte.test(_)||p!=null&&_ in Object(p)}var qte=Vte,Ute="[object AsyncFunction]",Gte="[object Function]",Wte="[object GeneratorFunction]",Kte="[object Proxy]";function Yte(_){if(!bo(_))return!1;var p=$h(_);return p==Gte||p==Wte||p==Ute||p==Kte}var Xte=Yte,Qte=Zs["__core-js_shared__"],mD=Qte,$$=function(){var _=/[^.]+$/.exec(mD&&mD.keys&&mD.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}();function Zte(_){return!!$$&&$$ in _}var Jte=Zte,ene=Function.prototype,H$=ene.toString;function tne(_){if(_!=null){try{return H$.call(_)}catch{}try{return _+""}catch{}}return""}var nne=tne,rne=/[\\^$.*+?()[\]{}|]/g,ine=/^\[object .+?Constructor\]$/,sne=Function.prototype,ane=Object.prototype,z$=sne.toString,V$=ane.hasOwnProperty,one=RegExp("^"+z$.call(V$).replace(rne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function q$(_){if(!bo(_)||Jte(_))return!1;var p=Xte(_)?one:ine;return p.test(nne(_))}var U$=q$;function cne(_,p){return _==null?void 0:_[p]}var lne=cne;function une(_,p){var x=lne(_,p);return U$(x)?x:void 0}var vD=une,hne=vD(Object,"create"),k7=hne;function fne(){this.__data__=k7?k7(null):{},this.size=0}var dne=fne;function gne(_){var p=this.has(_)&&delete this.__data__[_];return this.size-=p?1:0,p}var G$=gne,pne="__lodash_hash_undefined__",mne=Object.prototype,vne=mne.hasOwnProperty;function bne(_){var p=this.__data__;if(k7){var x=p[_];return x===pne?void 0:x}return vne.call(p,_)?p[_]:void 0}var wne=bne,yne=Object.prototype,_ne=yne.hasOwnProperty;function xne(_){var p=this.__data__;return k7?p[_]!==void 0:_ne.call(p,_)}var kne=xne,Ene="__lodash_hash_undefined__";function Tne(_,p){var x=this.__data__;return this.size+=this.has(_)?0:1,x[_]=k7&&p===void 0?Ene:p,this}var Sne=Tne;function Rx(_){var p=-1,x=_==null?0:_.length;for(this.clear();++p<x;){var S=_[p];this.set(S[0],S[1])}}Rx.prototype.clear=dne,Rx.prototype.delete=G$,Rx.prototype.get=wne,Rx.prototype.has=kne,Rx.prototype.set=Sne;var W$=Rx;function Cne(){this.__data__=[],this.size=0}var Ane=Cne;function Mne(_,p){return _===p||_!==_&&p!==p}var K$=Mne;function Lne(_,p){for(var x=_.length;x--;)if(K$(_[x][0],p))return x;return-1}var oC=Lne,Ine=Array.prototype,One=Ine.splice;function Dne(_){var p=this.__data__,x=oC(p,_);if(x<0)return!1;var S=p.length-1;return x==S?p.pop():One.call(p,x,1),--this.size,!0}var Pne=Dne;function Nne(_){var p=this.__data__,x=oC(p,_);return x<0?void 0:p[x][1]}var Rne=Nne;function Bne(_){return oC(this.__data__,_)>-1}var Fne=Bne;function jne(_,p){var x=this.__data__,S=oC(x,_);return S<0?(++this.size,x.push([_,p])):x[S][1]=p,this}var $ne=jne;function Bx(_){var p=-1,x=_==null?0:_.length;for(this.clear();++p<x;){var S=_[p];this.set(S[0],S[1])}}Bx.prototype.clear=Ane,Bx.prototype.delete=Pne,Bx.prototype.get=Rne,Bx.prototype.has=Fne,Bx.prototype.set=$ne;var Hne=Bx,zne=vD(Zs,"Map"),Vne=zne;function qne(){this.size=0,this.__data__={hash:new W$,map:new(Vne||Hne),string:new W$}}var Une=qne;function Gne(_){var p=typeof _;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?_!=="__proto__":_===null}var Wne=Gne;function Kne(_,p){var x=_.__data__;return Wne(p)?x[typeof p=="string"?"string":"hash"]:x.map}var cC=Kne;function Yne(_){var p=cC(this,_).delete(_);return this.size-=p?1:0,p}var Xne=Yne;function Qne(_){return cC(this,_).get(_)}var Zne=Qne;function Jne(_){return cC(this,_).has(_)}var ere=Jne;function tre(_,p){var x=cC(this,_),S=x.size;return x.set(_,p),this.size+=x.size==S?0:1,this}var nre=tre;function Fx(_){var p=-1,x=_==null?0:_.length;for(this.clear();++p<x;){var S=_[p];this.set(S[0],S[1])}}Fx.prototype.clear=Une,Fx.prototype.delete=Xne,Fx.prototype.get=Zne,Fx.prototype.has=ere,Fx.prototype.set=nre;var Y$=Fx,rre="Expected a function";function bD(_,p){if(typeof _!="function"||p!=null&&typeof p!="function")throw new TypeError(rre);var x=function(){var S=arguments,L=p?p.apply(this,S):S[0],R=x.cache;if(R.has(L))return R.get(L);var B=_.apply(this,S);return x.cache=R.set(L,B)||R,B};return x.cache=new(bD.Cache||Y$),x}bD.Cache=Y$;var ire=bD,sre=500;function are(_){var p=ire(_,function(S){return x.size===sre&&x.clear(),S}),x=p.cache;return p}var ore=are,cre=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lre=/\\(\\)?/g,ure=ore(function(_){var p=[];return _.charCodeAt(0)===46&&p.push(""),_.replace(cre,function(x,S,L,R){p.push(L?R.replace(lre,"$1"):S||x)}),p}),X$=ure;function hre(_,p){for(var x=-1,S=_==null?0:_.length,L=Array(S);++x<S;)L[x]=p(_[x],x,_);return L}var Q$=hre,fre=1/0,Z$=Ia?Ia.prototype:void 0,J$=Z$?Z$.toString:void 0;function eH(_){if(typeof _=="string")return _;if(aC(_))return Q$(_,eH)+"";if(ps(_))return J$?J$.call(_):"";var p=_+"";return p=="0"&&1/_==-fre?"-0":p}var dre=eH;function gre(_){return _==null?"":dre(_)}var lC=gre;function wD(_,p){return aC(_)?_:qte(_,p)?[_]:X$(lC(_))}var uC=wD,pre=1/0;function mre(_){if(typeof _=="string"||ps(_))return _;var p=_+"";return p=="0"&&1/_==-pre?"-0":p}var yD=mre;function vre(_,p){p=uC(p,_);for(var x=0,S=p.length;_!=null&&x<S;)_=_[yD(p[x++])];return x&&x==S?_:void 0}var bre=vre;function tH(_,p,x){var S=_==null?void 0:bre(_,p);return S===void 0?x:S}var wre=tH,yre=function(){try{var _=vD(Object,"defineProperty");return _({},"",{}),_}catch{}}(),_re=yre;function xre(_,p,x){p=="__proto__"&&_re?_re(_,p,{configurable:!0,enumerable:!0,value:x,writable:!0}):_[p]=x}var kre=xre,Ere=Object.prototype,Tre=Ere.hasOwnProperty;function Sre(_,p,x){var S=_[p];(!(Tre.call(_,p)&&K$(S,x))||x===void 0&&!(p in _))&&kre(_,p,x)}var Cre=Sre,Are=9007199254740991,dm=/^(?:0|[1-9]\d*)$/;function Mre(_,p){var x=typeof _;return p=p??Are,!!p&&(x=="number"||x!="symbol"&&dm.test(_))&&_>-1&&_%1==0&&_<p}var q3=Mre;function nH(_,p,x,S){if(!bo(_))return _;p=uC(p,_);for(var L=-1,R=p.length,B=R-1,q=_;q!=null&&++L<R;){var W=yD(p[L]),M=x;if(W==="__proto__"||W==="constructor"||W==="prototype")return _;if(L!=B){var X=q[W];M=S?S(X,W,q):void 0,M===void 0&&(M=bo(X)?X:q3(p[L+1])?[]:{})}Cre(q,W,M),q=q[W]}return _}var Lre=nH;function Ire(_,p,x){return _==null?_:Lre(_,p,x)}var Ore=Ire;function Dre(_,p){var x=-1,S=_.length;for(p||(p=Array(S));++x<S;)p[x]=_[x];return p}var Pre=Dre;function Nre(_){return aC(_)?Q$(_,yD):ps(_)?[_]:Pre(X$(lC(_)))}var Rre=Nre,Bre={data:function(p){var x={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(L){},beforeSet:function(L,R){},onSet:function(L){},canSet:function(L){return!0}};return p=Ge({},x,p),function(L,R){var B=p,q=this,W=q.length!==void 0,M=W?q:[q],X=W?q[0]:q;if(Oe(L)){var ee=L.indexOf(".")!==-1,le=ee&&Rre(L);if(B.allowGetting&&R===void 0){var fe;return X&&(B.beforeGet(X),le&&X._private[B.field][L]===void 0?fe=wre(X._private[B.field],le):fe=X._private[B.field][L]),fe}else if(B.allowSetting&&R!==void 0){var ve=!B.immutableKeys[L];if(ve){var be=v({},L,R);B.beforeSet(q,be);for(var Fe=0,Ae=M.length;Fe<Ae;Fe++){var $e=M[Fe];B.canSet($e)&&(le&&X._private[B.field][L]===void 0?Ore($e._private[B.field],le,R):$e._private[B.field][L]=R)}B.updateStyle&&q.updateStyle(),B.onSet(q),B.settingTriggersEvent&&q[B.triggerFnName](B.settingEvent)}}}else if(B.allowSetting&&ke(L)){var ze=L,Xe,lt,st=Object.keys(ze);B.beforeSet(q,ze);for(var Ze=0;Ze<st.length;Ze++){Xe=st[Ze],lt=ze[Xe];var gt=!B.immutableKeys[Xe];if(gt)for(var tt=0;tt<M.length;tt++){var Tt=M[tt];B.canSet(Tt)&&(Tt._private[B.field][Xe]=lt)}}B.updateStyle&&q.updateStyle(),B.onSet(q),B.settingTriggersEvent&&q[B.triggerFnName](B.settingEvent)}else if(B.allowBinding&&De(L)){var Ct=L;q.on(B.bindingEvent,Ct)}else if(B.allowGetting&&L===void 0){var pt;return X&&(B.beforeGet(X),pt=X._private[B.field]),pt}return q}},removeData:function(p){var x={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return p=Ge({},x,p),function(L){var R=p,B=this,q=B.length!==void 0,W=q?B:[B];if(Oe(L)){for(var M=L.split(/\s+/),X=M.length,ee=0;ee<X;ee++){var le=M[ee];if(!Ee(le)){var fe=!R.immutableKeys[le];if(fe)for(var ve=0,be=W.length;ve<be;ve++)W[ve]._private[R.field][le]=void 0}}R.triggerEvent&&B[R.triggerFnName](R.event)}else if(L===void 0){for(var Fe=0,Ae=W.length;Fe<Ae;Fe++)for(var $e=W[Fe]._private[R.field],ze=Object.keys($e),Xe=0;Xe<ze.length;Xe++){var lt=ze[Xe],st=!R.immutableKeys[lt];st&&($e[lt]=void 0)}R.triggerEvent&&B[R.triggerFnName](R.event)}return B}}},Fre={eventAliasesOn:function(p){var x=p;x.addListener=x.listen=x.bind=x.on,x.unlisten=x.unbind=x.off=x.removeListener,x.trigger=x.emit,x.pon=x.promiseOn=function(S,L){var R=this,B=Array.prototype.slice.call(arguments,0);return new Nx(function(q,W){var M=function(fe){R.off.apply(R,ee),q(fe)},X=B.concat([M]),ee=X.concat([]);R.on.apply(R,X)})}}},uu={};[jte,Bre,Fre].forEach(function(_){Ge(uu,_)});var jre={animate:uu.animate(),animation:uu.animation(),animated:uu.animated(),clearQueue:uu.clearQueue(),delay:uu.delay(),delayAnimation:uu.delayAnimation(),stop:uu.stop()},hC={classes:function(p){var x=this;if(p===void 0){var S=[];return x[0]._private.classes.forEach(function(ve){return S.push(ve)}),S}else Ve(p)||(p=(p||"").match(/\S+/g)||[]);for(var L=[],R=new Ax(p),B=0;B<x.length;B++){for(var q=x[B],W=q._private,M=W.classes,X=!1,ee=0;ee<p.length;ee++){var le=p[ee],fe=M.has(le);if(!fe){X=!0;break}}X||(X=M.size!==p.length),X&&(W.classes=R,L.push(q))}return L.length>0&&this.spawn(L).updateStyle().emit("class"),x},addClass:function(p){return this.toggleClass(p,!0)},hasClass:function(p){var x=this[0];return x!=null&&x._private.classes.has(p)},toggleClass:function(p,x){Ve(p)||(p=p.match(/\S+/g)||[]);for(var S=this,L=x===void 0,R=[],B=0,q=S.length;B<q;B++)for(var W=S[B],M=W._private.classes,X=!1,ee=0;ee<p.length;ee++){var le=p[ee],fe=M.has(le),ve=!1;x||L&&!fe?(M.add(le),ve=!0):(!x||L&&fe)&&(M.delete(le),ve=!0),!X&&ve&&(R.push(W),X=!0)}return R.length>0&&this.spawn(R).updateStyle().emit("class"),S},removeClass:function(p){return this.toggleClass(p,!1)},flashClass:function(p,x){var S=this;if(x==null)x=250;else if(x===0)return S;return S.addClass(p),setTimeout(function(){S.removeClass(p)},x),S}};hC.className=hC.classNames=hC.classes;var Rl={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:Ft,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Rl.variable="(?:[\\w-.]|(?:\\\\"+Rl.metaChar+"))+",Rl.className="(?:[\\w-]|(?:\\\\"+Rl.metaChar+"))+",Rl.value=Rl.string+"|"+Rl.number,Rl.id=Rl.variable,function(){var _,p,x;for(_=Rl.comparatorOp.split("|"),x=0;x<_.length;x++)p=_[x],Rl.comparatorOp+="|@"+p;for(_=Rl.comparatorOp.split("|"),x=0;x<_.length;x++)p=_[x],!(p.indexOf("!")>=0)&&p!=="="&&(Rl.comparatorOp+="|\\!"+p)}();var Pu=function(){return{checks:[]}},Us={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},_D=[{selector:":selected",matches:function(p){return p.selected()}},{selector:":unselected",matches:function(p){return!p.selected()}},{selector:":selectable",matches:function(p){return p.selectable()}},{selector:":unselectable",matches:function(p){return!p.selectable()}},{selector:":locked",matches:function(p){return p.locked()}},{selector:":unlocked",matches:function(p){return!p.locked()}},{selector:":visible",matches:function(p){return p.visible()}},{selector:":hidden",matches:function(p){return!p.visible()}},{selector:":transparent",matches:function(p){return p.transparent()}},{selector:":grabbed",matches:function(p){return p.grabbed()}},{selector:":free",matches:function(p){return!p.grabbed()}},{selector:":removed",matches:function(p){return p.removed()}},{selector:":inside",matches:function(p){return!p.removed()}},{selector:":grabbable",matches:function(p){return p.grabbable()}},{selector:":ungrabbable",matches:function(p){return!p.grabbable()}},{selector:":animated",matches:function(p){return p.animated()}},{selector:":unanimated",matches:function(p){return!p.animated()}},{selector:":parent",matches:function(p){return p.isParent()}},{selector:":childless",matches:function(p){return p.isChildless()}},{selector:":child",matches:function(p){return p.isChild()}},{selector:":orphan",matches:function(p){return p.isOrphan()}},{selector:":nonorphan",matches:function(p){return p.isChild()}},{selector:":compound",matches:function(p){return p.isNode()?p.isParent():p.source().isParent()||p.target().isParent()}},{selector:":loop",matches:function(p){return p.isLoop()}},{selector:":simple",matches:function(p){return p.isSimple()}},{selector:":active",matches:function(p){return p.active()}},{selector:":inactive",matches:function(p){return!p.active()}},{selector:":backgrounding",matches:function(p){return p.backgrounding()}},{selector:":nonbackgrounding",matches:function(p){return!p.backgrounding()}}].sort(function(_,p){return Zn(_.selector,p.selector)}),$re=function(){for(var _={},p,x=0;x<_D.length;x++)p=_D[x],_[p.selector]=p.matches;return _}(),Hre=function(p,x){return $re[p](x)},zre="("+_D.map(function(_){return _.selector}).join("|")+")",jx=function(p){return p.replace(new RegExp("\\\\("+Rl.metaChar+")","g"),function(x,S){return S})},U3=function(p,x,S){p[p.length-1]=S},an=[{name:"group",query:!0,regex:"("+Rl.group+")",populate:function(p,x,S){var L=A(S,1),R=L[0];x.checks.push({type:Us.GROUP,value:R==="*"?R:R+"s"})}},{name:"state",query:!0,regex:zre,populate:function(p,x,S){var L=A(S,1),R=L[0];x.checks.push({type:Us.STATE,value:R})}},{name:"id",query:!0,regex:"\\#("+Rl.id+")",populate:function(p,x,S){var L=A(S,1),R=L[0];x.checks.push({type:Us.ID,value:jx(R)})}},{name:"className",query:!0,regex:"\\.("+Rl.className+")",populate:function(p,x,S){var L=A(S,1),R=L[0];x.checks.push({type:Us.CLASS,value:jx(R)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+Rl.variable+")\\s*\\]",populate:function(p,x,S){var L=A(S,1),R=L[0];x.checks.push({type:Us.DATA_EXIST,field:jx(R)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+Rl.variable+")\\s*("+Rl.comparatorOp+")\\s*("+Rl.value+")\\s*\\]",populate:function(p,x,S){var L=A(S,3),R=L[0],B=L[1],q=L[2],W=new RegExp("^"+Rl.string+"$").exec(q)!=null;W?q=q.substring(1,q.length-1):q=parseFloat(q),x.checks.push({type:Us.DATA_COMPARE,field:jx(R),operator:B,value:q})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+Rl.boolOp+")\\s*("+Rl.variable+")\\s*\\]",populate:function(p,x,S){var L=A(S,2),R=L[0],B=L[1];x.checks.push({type:Us.DATA_BOOL,field:jx(B),operator:R})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+Rl.meta+")\\s*("+Rl.comparatorOp+")\\s*("+Rl.number+")\\s*\\]\\]",populate:function(p,x,S){var L=A(S,3),R=L[0],B=L[1],q=L[2];x.checks.push({type:Us.META_COMPARE,field:jx(R),operator:B,value:parseFloat(q)})}},{name:"nextQuery",separator:!0,regex:Rl.separator,populate:function(p,x){var S=p.currentSubject,L=p.edgeCount,R=p.compoundCount,B=p[p.length-1];S!=null&&(B.subject=S,p.currentSubject=null),B.edgeCount=L,B.compoundCount=R,p.edgeCount=0,p.compoundCount=0;var q=p[p.length++]=Pu();return q}},{name:"directedEdge",separator:!0,regex:Rl.directedEdge,populate:function(p,x){if(p.currentSubject==null){var S=Pu(),L=x,R=Pu();return S.checks.push({type:Us.DIRECTED_EDGE,source:L,target:R}),U3(p,x,S),p.edgeCount++,R}else{var B=Pu(),q=x,W=Pu();return B.checks.push({type:Us.NODE_SOURCE,source:q,target:W}),U3(p,x,B),p.edgeCount++,W}}},{name:"undirectedEdge",separator:!0,regex:Rl.undirectedEdge,populate:function(p,x){if(p.currentSubject==null){var S=Pu(),L=x,R=Pu();return S.checks.push({type:Us.UNDIRECTED_EDGE,nodes:[L,R]}),U3(p,x,S),p.edgeCount++,R}else{var B=Pu(),q=x,W=Pu();return B.checks.push({type:Us.NODE_NEIGHBOR,node:q,neighbor:W}),U3(p,x,B),W}}},{name:"child",separator:!0,regex:Rl.child,populate:function(p,x){if(p.currentSubject==null){var S=Pu(),L=Pu(),R=p[p.length-1];return S.checks.push({type:Us.CHILD,parent:R,child:L}),U3(p,x,S),p.compoundCount++,L}else if(p.currentSubject===x){var B=Pu(),q=p[p.length-1],W=Pu(),M=Pu(),X=Pu(),ee=Pu();return B.checks.push({type:Us.COMPOUND_SPLIT,left:q,right:W,subject:M}),M.checks=x.checks,x.checks=[{type:Us.TRUE}],ee.checks.push({type:Us.TRUE}),W.checks.push({type:Us.PARENT,parent:ee,child:X}),U3(p,q,B),p.currentSubject=M,p.compoundCount++,X}else{var le=Pu(),fe=Pu(),ve=[{type:Us.PARENT,parent:le,child:fe}];return le.checks=x.checks,x.checks=ve,p.compoundCount++,fe}}},{name:"descendant",separator:!0,regex:Rl.descendant,populate:function(p,x){if(p.currentSubject==null){var S=Pu(),L=Pu(),R=p[p.length-1];return S.checks.push({type:Us.DESCENDANT,ancestor:R,descendant:L}),U3(p,x,S),p.compoundCount++,L}else if(p.currentSubject===x){var B=Pu(),q=p[p.length-1],W=Pu(),M=Pu(),X=Pu(),ee=Pu();return B.checks.push({type:Us.COMPOUND_SPLIT,left:q,right:W,subject:M}),M.checks=x.checks,x.checks=[{type:Us.TRUE}],ee.checks.push({type:Us.TRUE}),W.checks.push({type:Us.ANCESTOR,ancestor:ee,descendant:X}),U3(p,q,B),p.currentSubject=M,p.compoundCount++,X}else{var le=Pu(),fe=Pu(),ve=[{type:Us.ANCESTOR,ancestor:le,descendant:fe}];return le.checks=x.checks,x.checks=ve,p.compoundCount++,fe}}},{name:"subject",modifier:!0,regex:Rl.subject,populate:function(p,x){if(p.currentSubject!=null&&p.currentSubject!==x)return El("Redefinition of subject in selector `"+p.toString()+"`"),!1;p.currentSubject=x;var S=p[p.length-1],L=S.checks[0],R=L==null?null:L.type;R===Us.DIRECTED_EDGE?L.type=Us.NODE_TARGET:R===Us.UNDIRECTED_EDGE&&(L.type=Us.NODE_NEIGHBOR,L.node=L.nodes[1],L.neighbor=L.nodes[0],L.nodes=null)}}];an.forEach(function(_){return _.regexObj=new RegExp("^"+_.regex)});var Vre=function(p){for(var x,S,L,R=0;R<an.length;R++){var B=an[R],q=B.name,W=p.match(B.regexObj);if(W!=null){S=W,x=B,L=q;var M=W[0];p=p.substring(M.length);break}}return{expr:x,match:S,name:L,remaining:p}},qre=function(p){var x=p.match(/^\s+/);if(x){var S=x[0];p=p.substring(S.length)}return p},Ure=function(p){var x=this,S=x.inputText=p,L=x[0]=Pu();for(x.length=1,S=qre(S);;){var R=Vre(S);if(R.expr==null)return El("The selector `"+p+"`is invalid"),!1;var B=R.match.slice(1),q=R.expr.populate(x,L,B);if(q===!1)return!1;if(q!=null&&(L=q),S=R.remaining,S.match(/^\s*$/))break}var W=x[x.length-1];x.currentSubject!=null&&(W.subject=x.currentSubject),W.edgeCount=x.edgeCount,W.compoundCount=x.compoundCount;for(var M=0;M<x.length;M++){var X=x[M];if(X.compoundCount>0&&X.edgeCount>0)return El("The selector `"+p+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(X.edgeCount>1)return El("The selector `"+p+"` is invalid because it uses multiple edge selectors"),!1;X.edgeCount===1&&El("The selector `"+p+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},Gre=function(){if(this.toStringCache!=null)return this.toStringCache;for(var p=function(X){return X??""},x=function(X){return Oe(X)?'"'+X+'"':p(X)},S=function(X){return" "+X+" "},L=function(X,ee){var le=X.type,fe=X.value;switch(le){case Us.GROUP:{var ve=p(fe);return ve.substring(0,ve.length-1)}case Us.DATA_COMPARE:{var be=X.field,Fe=X.operator;return"["+be+S(p(Fe))+x(fe)+"]"}case Us.DATA_BOOL:{var Ae=X.operator,$e=X.field;return"["+p(Ae)+$e+"]"}case Us.DATA_EXIST:{var ze=X.field;return"["+ze+"]"}case Us.META_COMPARE:{var Xe=X.operator,lt=X.field;return"[["+lt+S(p(Xe))+x(fe)+"]]"}case Us.STATE:return fe;case Us.ID:return"#"+fe;case Us.CLASS:return"."+fe;case Us.PARENT:case Us.CHILD:return R(X.parent,ee)+S(">")+R(X.child,ee);case Us.ANCESTOR:case Us.DESCENDANT:return R(X.ancestor,ee)+" "+R(X.descendant,ee);case Us.COMPOUND_SPLIT:{var st=R(X.left,ee),Ze=R(X.subject,ee),gt=R(X.right,ee);return st+(st.length>0?" ":"")+Ze+gt}case Us.TRUE:return""}},R=function(X,ee){return X.checks.reduce(function(le,fe,ve){return le+(ee===X&&ve===0?"$":"")+L(fe,ee)},"")},B="",q=0;q<this.length;q++){var W=this[q];B+=R(W,W.subject),this.length>1&&q<this.length-1&&(B+=", ")}return this.toStringCache=B,B},Wre={parse:Ure,toString:Gre},rH=function(p,x,S){var L,R=Oe(p),B=ge(p),q=Oe(S),W,M,X=!1,ee=!1,le=!1;switch(x.indexOf("!")>=0&&(x=x.replace("!",""),ee=!0),x.indexOf("@")>=0&&(x=x.replace("@",""),X=!0),(R||q||X)&&(W=!R&&!B?"":""+p,M=""+S),X&&(p=W=W.toLowerCase(),S=M=M.toLowerCase()),x){case"*=":L=W.indexOf(M)>=0;break;case"$=":L=W.indexOf(M,W.length-M.length)>=0;break;case"^=":L=W.indexOf(M)===0;break;case"=":L=p===S;break;case">":le=!0,L=p>S;break;case">=":le=!0,L=p>=S;break;case"<":le=!0,L=p<S;break;case"<=":le=!0,L=p<=S;break;default:L=!1;break}return ee&&(p!=null||!le)&&(L=!L),L},Kre=function(p,x){switch(x){case"?":return!!p;case"!":return!p;case"^":return p===void 0}},Yre=function(p){return p!==void 0},xD=function(p,x){return p.data(x)},Xre=function(p,x){return p[x]()},zh=[],kh=function(p,x){return p.checks.every(function(S){return zh[S.type](S,x)})};zh[Us.GROUP]=function(_,p){var x=_.value;return x==="*"||x===p.group()},zh[Us.STATE]=function(_,p){var x=_.value;return Hre(x,p)},zh[Us.ID]=function(_,p){var x=_.value;return p.id()===x},zh[Us.CLASS]=function(_,p){var x=_.value;return p.hasClass(x)},zh[Us.META_COMPARE]=function(_,p){var x=_.field,S=_.operator,L=_.value;return rH(Xre(p,x),S,L)},zh[Us.DATA_COMPARE]=function(_,p){var x=_.field,S=_.operator,L=_.value;return rH(xD(p,x),S,L)},zh[Us.DATA_BOOL]=function(_,p){var x=_.field,S=_.operator;return Kre(xD(p,x),S)},zh[Us.DATA_EXIST]=function(_,p){var x=_.field;return _.operator,Yre(xD(p,x))},zh[Us.UNDIRECTED_EDGE]=function(_,p){var x=_.nodes[0],S=_.nodes[1],L=p.source(),R=p.target();return kh(x,L)&&kh(S,R)||kh(S,L)&&kh(x,R)},zh[Us.NODE_NEIGHBOR]=function(_,p){return kh(_.node,p)&&p.neighborhood().some(function(x){return x.isNode()&&kh(_.neighbor,x)})},zh[Us.DIRECTED_EDGE]=function(_,p){return kh(_.source,p.source())&&kh(_.target,p.target())},zh[Us.NODE_SOURCE]=function(_,p){return kh(_.source,p)&&p.outgoers().some(function(x){return x.isNode()&&kh(_.target,x)})},zh[Us.NODE_TARGET]=function(_,p){return kh(_.target,p)&&p.incomers().some(function(x){return x.isNode()&&kh(_.source,x)})},zh[Us.CHILD]=function(_,p){return kh(_.child,p)&&kh(_.parent,p.parent())},zh[Us.PARENT]=function(_,p){return kh(_.parent,p)&&p.children().some(function(x){return kh(_.child,x)})},zh[Us.DESCENDANT]=function(_,p){return kh(_.descendant,p)&&p.ancestors().some(function(x){return kh(_.ancestor,x)})},zh[Us.ANCESTOR]=function(_,p){return kh(_.ancestor,p)&&p.descendants().some(function(x){return kh(_.descendant,x)})},zh[Us.COMPOUND_SPLIT]=function(_,p){return kh(_.subject,p)&&kh(_.left,p)&&kh(_.right,p)},zh[Us.TRUE]=function(){return!0},zh[Us.COLLECTION]=function(_,p){var x=_.value;return x.has(p)},zh[Us.FILTER]=function(_,p){var x=_.value;return x(p)};var Qre=function(p){var x=this;if(x.length===1&&x[0].checks.length===1&&x[0].checks[0].type===Us.ID)return p.getElementById(x[0].checks[0].value).collection();var S=function(R){for(var B=0;B<x.length;B++){var q=x[B];if(kh(q,R))return!0}return!1};return x.text()==null&&(S=function(){return!0}),p.filter(S)},Zre=function(p){for(var x=this,S=0;S<x.length;S++){var L=x[S];if(kh(L,p))return!0}return!1},Jre={matches:Zre,filter:Qre},G3=function(p){this.inputText=p,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,p==null||Oe(p)&&p.match(/^\s*$/)||(xe(p)?this.addQuery({checks:[{type:Us.COLLECTION,value:p.collection()}]}):De(p)?this.addQuery({checks:[{type:Us.FILTER,value:p}]}):Oe(p)?this.parse(p)||(this.invalid=!0):xh("A selector must be created from a string; found "))},Mw=G3.prototype;[Wre,Jre].forEach(function(_){return Ge(Mw,_)}),Mw.text=function(){return this.inputText},Mw.size=function(){return this.length},Mw.eq=function(_){return this[_]},Mw.sameText=function(_){return!this.invalid&&!_.invalid&&this.text()===_.text()},Mw.addQuery=function(_){this[this.length++]=_},Mw.selector=Mw.toString;var _v={allAre:function(p){var x=new G3(p);return this.every(function(S){return x.matches(S)})},is:function(p){var x=new G3(p);return this.some(function(S){return x.matches(S)})},some:function(p,x){for(var S=0;S<this.length;S++){var L=x?p.apply(x,[this[S],S,this]):p(this[S],S,this);if(L)return!0}return!1},every:function(p,x){for(var S=0;S<this.length;S++){var L=x?p.apply(x,[this[S],S,this]):p(this[S],S,this);if(!L)return!1}return!0},same:function(p){if(this===p)return!0;p=this.cy().collection(p);var x=this.length,S=p.length;return x!==S?!1:x===1?this[0]===p[0]:this.every(function(L){return p.hasElementWithId(L.id())})},anySame:function(p){return p=this.cy().collection(p),this.some(function(x){return p.hasElementWithId(x.id())})},allAreNeighbors:function(p){p=this.cy().collection(p);var x=this.neighborhood();return p.every(function(S){return x.hasElementWithId(S.id())})},contains:function(p){p=this.cy().collection(p);var x=this;return p.every(function(S){return x.hasElementWithId(S.id())})}};_v.allAreNeighbours=_v.allAreNeighbors,_v.has=_v.contains,_v.equal=_v.equals=_v.same;var ig=function(p,x){return function(L,R,B,q){var W=L,M=this,X;if(W==null?X="":xe(W)&&W.length===1&&(X=W.id()),M.length===1&&X){var ee=M[0]._private,le=ee.traversalCache=ee.traversalCache||{},fe=le[x]=le[x]||[],ve=vv(X),be=fe[ve];return be||(fe[ve]=p.call(M,L,R,B,q))}else return p.call(M,L,R,B,q)}},$x={parent:function(p){var x=[];if(this.length===1){var S=this[0]._private.parent;if(S)return S}for(var L=0;L<this.length;L++){var R=this[L],B=R._private.parent;B&&x.push(B)}return this.spawn(x,!0).filter(p)},parents:function(p){for(var x=[],S=this.parent();S.nonempty();){for(var L=0;L<S.length;L++){var R=S[L];x.push(R)}S=S.parent()}return this.spawn(x,!0).filter(p)},commonAncestors:function(p){for(var x,S=0;S<this.length;S++){var L=this[S],R=L.parents();x=x||R,x=x.intersect(R)}return x.filter(p)},orphans:function(p){return this.stdFilter(function(x){return x.isOrphan()}).filter(p)},nonorphans:function(p){return this.stdFilter(function(x){return x.isChild()}).filter(p)},children:ig(function(_){for(var p=[],x=0;x<this.length;x++)for(var S=this[x],L=S._private.children,R=0;R<L.length;R++)p.push(L[R]);return this.spawn(p,!0).filter(_)},"children"),siblings:function(p){return this.parent().children().not(this).filter(p)},isParent:function(){var p=this[0];if(p)return p.isNode()&&p._private.children.length!==0},isChildless:function(){var p=this[0];if(p)return p.isNode()&&p._private.children.length===0},isChild:function(){var p=this[0];if(p)return p.isNode()&&p._private.parent!=null},isOrphan:function(){var p=this[0];if(p)return p.isNode()&&p._private.parent==null},descendants:function(p){var x=[];function S(L){for(var R=0;R<L.length;R++){var B=L[R];x.push(B),B.children().nonempty()&&S(B.children())}}return S(this.children()),this.spawn(x,!0).filter(p)}};function fC(_,p,x,S){for(var L=[],R=new Ax,B=_.cy(),q=B.hasCompoundNodes(),W=0;W<_.length;W++){var M=_[W];x?L.push(M):q&&S(L,R,M)}for(;L.length>0;){var X=L.shift();p(X),R.add(X.id()),q&&S(L,R,X)}return _}function E7(_,p,x){if(x.isParent())for(var S=x._private.children,L=0;L<S.length;L++){var R=S[L];p.has(R.id())||_.push(R)}}$x.forEachDown=function(_){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return fC(this,_,p,E7)};function iH(_,p,x){if(x.isChild()){var S=x._private.parent;p.has(S.id())||_.push(S)}}$x.forEachUp=function(_){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return fC(this,_,p,iH)};function eie(_,p,x){iH(_,p,x),E7(_,p,x)}$x.forEachUpAndDown=function(_){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return fC(this,_,p,eie)},$x.ancestors=$x.parents;var T7,sH;T7=sH={data:uu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:uu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:uu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:uu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:uu.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:uu.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var p=this[0];if(p)return p._private.data.id}},T7.attr=T7.data,T7.removeAttr=T7.removeData;var tie=sH,dC={};function Hx(_){return function(p){var x=this;if(p===void 0&&(p=!0),x.length!==0)if(x.isNode()&&!x.removed()){for(var S=0,L=x[0],R=L._private.edges,B=0;B<R.length;B++){var q=R[B];!p&&q.isLoop()||(S+=_(L,q))}return S}else return}}Ge(dC,{degree:Hx(function(_,p){return p.source().same(p.target())?2:1}),indegree:Hx(function(_,p){return p.target().same(_)?1:0}),outdegree:Hx(function(_,p){return p.source().same(_)?1:0})});function zx(_,p){return function(x){for(var S,L=this.nodes(),R=0;R<L.length;R++){var B=L[R],q=B[_](x);q!==void 0&&(S===void 0||p(q,S))&&(S=q)}return S}}Ge(dC,{minDegree:zx("degree",function(_,p){return _<p}),maxDegree:zx("degree",function(_,p){return _>p}),minIndegree:zx("indegree",function(_,p){return _<p}),maxIndegree:zx("indegree",function(_,p){return _>p}),minOutdegree:zx("outdegree",function(_,p){return _<p}),maxOutdegree:zx("outdegree",function(_,p){return _>p})}),Ge(dC,{totalDegree:function(p){for(var x=0,S=this.nodes(),L=0;L<S.length;L++)x+=S[L].degree(p);return x}});var xv,aH,S7=function(p,x,S){for(var L=0;L<p.length;L++){var R=p[L];if(!R.locked()){var B=R._private.position,q={x:x.x!=null?x.x-B.x:0,y:x.y!=null?x.y-B.y:0};R.isParent()&&!(q.x===0&&q.y===0)&&R.children().shift(q,S),R.dirtyBoundingBoxCache()}}},oH={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(p){p.updateCompoundBounds()},beforeSet:function(p,x){S7(p,x,!1)},onSet:function(p){p.dirtyCompoundBoundsCache()},canSet:function(p){return!p.locked()}};xv=aH={position:uu.data(oH),silentPosition:uu.data(Ge({},oH,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(p,x){S7(p,x,!0)},onSet:function(p){p.dirtyCompoundBoundsCache()}})),positions:function(p,x){if(ke(p))x?this.silentPosition(p):this.position(p);else if(De(p)){var S=p,L=this.cy();L.startBatch();for(var R=0;R<this.length;R++){var B=this[R],q=void 0;(q=S(B,R))&&(x?B.silentPosition(q):B.position(q))}L.endBatch()}return this},silentPositions:function(p){return this.positions(p,!0)},shift:function(p,x,S){var L;if(ke(p)?(L={x:ge(p.x)?p.x:0,y:ge(p.y)?p.y:0},S=x):Oe(p)&&ge(x)&&(L={x:0,y:0},L[p]=x),L!=null){var R=this.cy();R.startBatch();for(var B=0;B<this.length;B++){var q=this[B];if(!(R.hasCompoundNodes()&&q.isChild()&&q.ancestors().anySame(this))){var W=q.position(),M={x:W.x+L.x,y:W.y+L.y};S?q.silentPosition(M):q.position(M)}}R.endBatch()}return this},silentShift:function(p,x){return ke(p)?this.shift(p,!0):Oe(p)&&ge(x)&&this.shift(p,x,!0),this},renderedPosition:function(p,x){var S=this[0],L=this.cy(),R=L.zoom(),B=L.pan(),q=ke(p)?p:void 0,W=q!==void 0||x!==void 0&&Oe(p);if(S&&S.isNode())if(W)for(var M=0;M<this.length;M++){var X=this[M];x!==void 0?X.position(p,(x-B[p])/R):q!==void 0&&X.position(a$(q,R,B))}else{var ee=S.position();return q=XS(ee,R,B),p===void 0?q:q[p]}else if(!W)return;return this},relativePosition:function(p,x){var S=this[0],L=this.cy(),R=ke(p)?p:void 0,B=R!==void 0||x!==void 0&&Oe(p),q=L.hasCompoundNodes();if(S&&S.isNode())if(B)for(var W=0;W<this.length;W++){var M=this[W],X=q?M.parent():null,ee=X&&X.length>0,le=ee;ee&&(X=X[0]);var fe=le?X.position():{x:0,y:0};x!==void 0?M.position(p,x+fe[p]):R!==void 0&&M.position({x:R.x+fe.x,y:R.y+fe.y})}else{var ve=S.position(),be=q?S.parent():null,Fe=be&&be.length>0,Ae=Fe;Fe&&(be=be[0]);var $e=Ae?be.position():{x:0,y:0};return R={x:ve.x-$e.x,y:ve.y-$e.y},p===void 0?R:R[p]}else if(!B)return;return this}},xv.modelPosition=xv.point=xv.position,xv.modelPositions=xv.points=xv.positions,xv.renderedPoint=xv.renderedPosition,xv.relativePoint=xv.relativePosition;var cH=aH,Vx,Jb;Vx=Jb={},Jb.renderedBoundingBox=function(_){var p=this.boundingBox(_),x=this.cy(),S=x.zoom(),L=x.pan(),R=p.x1*S+L.x,B=p.x2*S+L.x,q=p.y1*S+L.y,W=p.y2*S+L.y;return{x1:R,x2:B,y1:q,y2:W,w:B-R,h:W-q}},Jb.dirtyCompoundBoundsCache=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=this.cy();return!p.styleEnabled()||!p.hasCompoundNodes()?this:(this.forEachUp(function(x){if(x.isParent()){var S=x._private;S.compoundBoundsClean=!1,S.bbCache=null,_||x.emitAndNotify("bounds")}}),this)},Jb.updateCompoundBounds=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=this.cy();if(!p.styleEnabled()||!p.hasCompoundNodes())return this;if(!_&&p.batching())return this;function x(B){if(!B.isParent())return;var q=B._private,W=B.children(),M=B.pstyle("compound-sizing-wrt-labels").value==="include",X={width:{val:B.pstyle("min-width").pfValue,left:B.pstyle("min-width-bias-left"),right:B.pstyle("min-width-bias-right")},height:{val:B.pstyle("min-height").pfValue,top:B.pstyle("min-height-bias-top"),bottom:B.pstyle("min-height-bias-bottom")}},ee=W.boundingBox({includeLabels:M,includeOverlays:!1,useCache:!1}),le=q.position;(ee.w===0||ee.h===0)&&(ee={w:B.pstyle("width").pfValue,h:B.pstyle("height").pfValue},ee.x1=le.x-ee.w/2,ee.x2=le.x+ee.w/2,ee.y1=le.y-ee.h/2,ee.y2=le.y+ee.h/2);function fe(tt,Tt,Ct){var pt=0,Wt=0,At=Tt+Ct;return tt>0&&At>0&&(pt=Tt/At*tt,Wt=Ct/At*tt),{biasDiff:pt,biasComplementDiff:Wt}}function ve(tt,Tt,Ct,pt){if(Ct.units==="%")switch(pt){case"width":return tt>0?Ct.pfValue*tt:0;case"height":return Tt>0?Ct.pfValue*Tt:0;case"average":return tt>0&&Tt>0?Ct.pfValue*(tt+Tt)/2:0;case"min":return tt>0&&Tt>0?tt>Tt?Ct.pfValue*Tt:Ct.pfValue*tt:0;case"max":return tt>0&&Tt>0?tt>Tt?Ct.pfValue*tt:Ct.pfValue*Tt:0;default:return 0}else return Ct.units==="px"?Ct.pfValue:0}var be=X.width.left.value;X.width.left.units==="px"&&X.width.val>0&&(be=be*100/X.width.val);var Fe=X.width.right.value;X.width.right.units==="px"&&X.width.val>0&&(Fe=Fe*100/X.width.val);var Ae=X.height.top.value;X.height.top.units==="px"&&X.height.val>0&&(Ae=Ae*100/X.height.val);var $e=X.height.bottom.value;X.height.bottom.units==="px"&&X.height.val>0&&($e=$e*100/X.height.val);var ze=fe(X.width.val-ee.w,be,Fe),Xe=ze.biasDiff,lt=ze.biasComplementDiff,st=fe(X.height.val-ee.h,Ae,$e),Ze=st.biasDiff,gt=st.biasComplementDiff;q.autoPadding=ve(ee.w,ee.h,B.pstyle("padding"),B.pstyle("padding-relative-to").value),q.autoWidth=Math.max(ee.w,X.width.val),le.x=(-Xe+ee.x1+ee.x2+lt)/2,q.autoHeight=Math.max(ee.h,X.height.val),le.y=(-Ze+ee.y1+ee.y2+gt)/2}for(var S=0;S<this.length;S++){var L=this[S],R=L._private;(!R.compoundBoundsClean||_)&&(x(L),p.batching()||(R.compoundBoundsClean=!0))}return this};var Sp=function(p){return p===1/0||p===-1/0?0:p},kv=function(p,x,S,L,R){L-x===0||R-S===0||x==null||S==null||L==null||R==null||(p.x1=x<p.x1?x:p.x1,p.x2=L>p.x2?L:p.x2,p.y1=S<p.y1?S:p.y1,p.y2=R>p.y2?R:p.y2,p.w=p.x2-p.x1,p.h=p.y2-p.y1)},a6=function(p,x){return x==null?p:kv(p,x.x1,x.y1,x.x2,x.y2)},C7=function(p,x,S){return yv(p,x,S)},gC=function(p,x,S){if(!x.cy().headless()){var L=x._private,R=L.rstyle,B=R.arrowWidth/2,q=x.pstyle(S+"-arrow-shape").value,W,M;if(q!=="none"){S==="source"?(W=R.srcX,M=R.srcY):S==="target"?(W=R.tgtX,M=R.tgtY):(W=R.midX,M=R.midY);var X=L.arrowBounds=L.arrowBounds||{},ee=X[S]=X[S]||{};ee.x1=W-B,ee.y1=M-B,ee.x2=W+B,ee.y2=M+B,ee.w=ee.x2-ee.x1,ee.h=ee.y2-ee.y1,ZS(ee,1),kv(p,ee.x1,ee.y1,ee.x2,ee.y2)}}},lH=function(p,x,S){if(!x.cy().headless()){var L;S?L=S+"-":L="";var R=x._private,B=R.rstyle,q=x.pstyle(L+"label").strValue;if(q){var W=x.pstyle("text-halign"),M=x.pstyle("text-valign"),X=C7(B,"labelWidth",S),ee=C7(B,"labelHeight",S),le=C7(B,"labelX",S),fe=C7(B,"labelY",S),ve=x.pstyle(L+"text-margin-x").pfValue,be=x.pstyle(L+"text-margin-y").pfValue,Fe=x.isEdge(),Ae=x.pstyle(L+"text-rotation"),$e=x.pstyle("text-outline-width").pfValue,ze=x.pstyle("text-border-width").pfValue,Xe=ze/2,lt=x.pstyle("text-background-padding").pfValue,st=2,Ze=ee,gt=X,tt=gt/2,Tt=Ze/2,Ct,pt,Wt,At;if(Fe)Ct=le-tt,pt=le+tt,Wt=fe-Tt,At=fe+Tt;else{switch(W.value){case"left":Ct=le-gt,pt=le;break;case"center":Ct=le-tt,pt=le+tt;break;case"right":Ct=le,pt=le+gt;break}switch(M.value){case"top":Wt=fe-Ze,At=fe;break;case"center":Wt=fe-Tt,At=fe+Tt;break;case"bottom":Wt=fe,At=fe+Ze;break}}Ct+=ve-Math.max($e,Xe)-lt-st,pt+=ve+Math.max($e,Xe)+lt+st,Wt+=be-Math.max($e,Xe)-lt-st,At+=be+Math.max($e,Xe)+lt+st;var Mn=S||"main",tn=R.labelBounds,sn=tn[Mn]=tn[Mn]||{};sn.x1=Ct,sn.y1=Wt,sn.x2=pt,sn.y2=At,sn.w=pt-Ct,sn.h=At-Wt;var Fn=Fe&&Ae.strValue==="autorotate",Yn=Ae.pfValue!=null&&Ae.pfValue!==0;if(Fn||Yn){var wr=Fn?C7(R.rstyle,"labelAngle",S):Ae.pfValue,qn=Math.cos(wr),br=Math.sin(wr),Dr=(Ct+pt)/2,Qr=(Wt+At)/2;if(!Fe){switch(W.value){case"left":Dr=pt;break;case"right":Dr=Ct;break}switch(M.value){case"top":Qr=At;break;case"bottom":Qr=Wt;break}}var Hr=function(Yo,ms){return Yo=Yo-Dr,ms=ms-Qr,{x:Yo*qn-ms*br+Dr,y:Yo*br+ms*qn+Qr}},Mr=Hr(Ct,Wt),Pn=Hr(Ct,At),Kr=Hr(pt,Wt),qr=Hr(pt,At);Ct=Math.min(Mr.x,Pn.x,Kr.x,qr.x),pt=Math.max(Mr.x,Pn.x,Kr.x,qr.x),Wt=Math.min(Mr.y,Pn.y,Kr.y,qr.y),At=Math.max(Mr.y,Pn.y,Kr.y,qr.y)}var Fi=Mn+"Rot",ls=tn[Fi]=tn[Fi]||{};ls.x1=Ct,ls.y1=Wt,ls.x2=pt,ls.y2=At,ls.w=pt-Ct,ls.h=At-Wt,kv(p,Ct,Wt,pt,At),kv(R.labelBounds.all,Ct,Wt,pt,At)}return p}},nie=function(p,x){var S=p._private.cy,L=S.styleEnabled(),R=S.headless(),B=Hg(),q=p._private,W=p.isNode(),M=p.isEdge(),X,ee,le,fe,ve,be,Fe=q.rstyle,Ae=W&&L?p.pstyle("bounds-expansion").pfValue:[0],$e=function(Ta){return Ta.pstyle("display").value!=="none"},ze=!L||$e(p)&&(!M||$e(p.source())&&$e(p.target()));if(ze){var Xe=0,lt=0;L&&x.includeOverlays&&(Xe=p.pstyle("overlay-opacity").value,Xe!==0&&(lt=p.pstyle("overlay-padding").value));var st=0,Ze=0;L&&x.includeUnderlays&&(st=p.pstyle("underlay-opacity").value,st!==0&&(Ze=p.pstyle("underlay-padding").value));var gt=Math.max(lt,Ze),tt=0,Tt=0;if(L&&(tt=p.pstyle("width").pfValue,Tt=tt/2),W&&x.includeNodes){var Ct=p.position();ve=Ct.x,be=Ct.y;var pt=p.outerWidth(),Wt=pt/2,At=p.outerHeight(),Mn=At/2;X=ve-Wt,ee=ve+Wt,le=be-Mn,fe=be+Mn,kv(B,X,le,ee,fe)}else if(M&&x.includeEdges)if(L&&!R){var tn=p.pstyle("curve-style").strValue;if(X=Math.min(Fe.srcX,Fe.midX,Fe.tgtX),ee=Math.max(Fe.srcX,Fe.midX,Fe.tgtX),le=Math.min(Fe.srcY,Fe.midY,Fe.tgtY),fe=Math.max(Fe.srcY,Fe.midY,Fe.tgtY),X-=Tt,ee+=Tt,le-=Tt,fe+=Tt,kv(B,X,le,ee,fe),tn==="haystack"){var sn=Fe.haystackPts;if(sn&&sn.length===2){if(X=sn[0].x,le=sn[0].y,ee=sn[1].x,fe=sn[1].y,X>ee){var Fn=X;X=ee,ee=Fn}if(le>fe){var Yn=le;le=fe,fe=Yn}kv(B,X-Tt,le-Tt,ee+Tt,fe+Tt)}}else if(tn==="bezier"||tn==="unbundled-bezier"||tn==="segments"||tn==="taxi"){var wr;switch(tn){case"bezier":case"unbundled-bezier":wr=Fe.bezierPts;break;case"segments":case"taxi":wr=Fe.linePts;break}if(wr!=null)for(var qn=0;qn<wr.length;qn++){var br=wr[qn];X=br.x-Tt,ee=br.x+Tt,le=br.y-Tt,fe=br.y+Tt,kv(B,X,le,ee,fe)}}}else{var Dr=p.source(),Qr=Dr.position(),Hr=p.target(),Mr=Hr.position();if(X=Qr.x,ee=Mr.x,le=Qr.y,fe=Mr.y,X>ee){var Pn=X;X=ee,ee=Pn}if(le>fe){var Kr=le;le=fe,fe=Kr}X-=Tt,ee+=Tt,le-=Tt,fe+=Tt,kv(B,X,le,ee,fe)}if(L&&x.includeEdges&&M&&(gC(B,p,"mid-source"),gC(B,p,"mid-target"),gC(B,p,"source"),gC(B,p,"target")),L){var qr=p.pstyle("ghost").value==="yes";if(qr){var Fi=p.pstyle("ghost-offset-x").pfValue,ls=p.pstyle("ghost-offset-y").pfValue;kv(B,B.x1+Fi,B.y1+ls,B.x2+Fi,B.y2+ls)}}var uo=q.bodyBounds=q.bodyBounds||{};c$(uo,B),oD(uo,Ae),ZS(uo,1),L&&(X=B.x1,ee=B.x2,le=B.y1,fe=B.y2,kv(B,X-gt,le-gt,ee+gt,fe+gt));var Yo=q.overlayBounds=q.overlayBounds||{};c$(Yo,B),oD(Yo,Ae),ZS(Yo,1);var ms=q.labelBounds=q.labelBounds||{};ms.all!=null?Pee(ms.all):ms.all=Hg(),L&&x.includeLabels&&(x.includeMainLabels&&lH(B,p,null),M&&(x.includeSourceLabels&&lH(B,p,"source"),x.includeTargetLabels&&lH(B,p,"target")))}return B.x1=Sp(B.x1),B.y1=Sp(B.y1),B.x2=Sp(B.x2),B.y2=Sp(B.y2),B.w=Sp(B.x2-B.x1),B.h=Sp(B.y2-B.y1),B.w>0&&B.h>0&&ze&&(oD(B,Ae),ZS(B,1)),B},uH=function(p){var x=0,S=function(B){return(B?1:0)<<x++},L=0;return L+=S(p.incudeNodes),L+=S(p.includeEdges),L+=S(p.includeLabels),L+=S(p.includeMainLabels),L+=S(p.includeSourceLabels),L+=S(p.includeTargetLabels),L+=S(p.includeOverlays),L},hH=function(p){if(p.isEdge()){var x=p.source().position(),S=p.target().position(),L=function(B){return Math.round(B)};return Tw([L(x.x),L(x.y),L(S.x),L(S.y)])}else return 0},fH=function(p,x){var S=p._private,L,R=p.isEdge(),B=x==null?dH:uH(x),q=B===dH,W=hH(p),M=S.bbCachePosKey===W,X=x.useCache&&M,ee=function(be){return be._private.bbCache==null||be._private.styleDirty},le=!X||ee(p)||R&&ee(p.source())||ee(p.target());if(le?(M||p.recalculateRenderedStyle(X),L=nie(p,A7),S.bbCache=L,S.bbCachePosKey=W):L=S.bbCache,!q){var fe=p.isNode();L=Hg(),(x.includeNodes&&fe||x.includeEdges&&!fe)&&(x.includeOverlays?a6(L,S.overlayBounds):a6(L,S.bodyBounds)),x.includeLabels&&(x.includeMainLabels&&(!R||x.includeSourceLabels&&x.includeTargetLabels)?a6(L,S.labelBounds.all):(x.includeMainLabels&&a6(L,S.labelBounds.mainRot),x.includeSourceLabels&&a6(L,S.labelBounds.sourceRot),x.includeTargetLabels&&a6(L,S.labelBounds.targetRot))),L.w=L.x2-L.x1,L.h=L.y2-L.y1}return L},A7={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},dH=uH(A7),gH=N1(A7);Jb.boundingBox=function(_){var p;if(this.length===1&&this[0]._private.bbCache!=null&&!this[0]._private.styleDirty&&(_===void 0||_.useCache===void 0||_.useCache===!0))_===void 0?_=A7:_=gH(_),p=fH(this[0],_);else{p=Hg(),_=_||A7;var x=gH(_),S=this,L=S.cy(),R=L.styleEnabled();if(R)for(var B=0;B<S.length;B++){var q=S[B],W=q._private,M=hH(q),X=W.bbCachePosKey===M,ee=x.useCache&&X&&!W.styleDirty;q.recalculateRenderedStyle(ee)}this.updateCompoundBounds(!_.useCache);for(var le=0;le<S.length;le++){var fe=S[le];a6(p,fH(fe,x))}}return p.x1=Sp(p.x1),p.y1=Sp(p.y1),p.x2=Sp(p.x2),p.y2=Sp(p.y2),p.w=Sp(p.x2-p.x1),p.h=Sp(p.y2-p.y1),p},Jb.dirtyBoundingBoxCache=function(){for(var _=0;_<this.length;_++){var p=this[_]._private;p.bbCache=null,p.bbCachePosKey=null,p.bodyBounds=null,p.overlayBounds=null,p.labelBounds.all=null,p.labelBounds.source=null,p.labelBounds.target=null,p.labelBounds.main=null,p.labelBounds.sourceRot=null,p.labelBounds.targetRot=null,p.labelBounds.mainRot=null,p.arrowBounds.source=null,p.arrowBounds.target=null,p.arrowBounds["mid-source"]=null,p.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},Jb.boundingBoxAt=function(_){var p=this.nodes(),x=this.cy(),S=x.hasCompoundNodes(),L=x.collection();if(S&&(L=p.filter(function(M){return M.isParent()}),p=p.not(L)),ke(_)){var R=_;_=function(){return R}}var B=function(X,ee){return X._private.bbAtOldPos=_(X,ee)},q=function(X){return X._private.bbAtOldPos};x.startBatch(),p.forEach(B).silentPositions(_),S&&(L.dirtyCompoundBoundsCache(),L.dirtyBoundingBoxCache(),L.updateCompoundBounds(!0));var W=Dee(this.boundingBox({useCache:!1}));return p.silentPositions(q),S&&(L.dirtyCompoundBoundsCache(),L.dirtyBoundingBoxCache(),L.updateCompoundBounds(!0)),x.endBatch(),W},Vx.boundingbox=Vx.bb=Vx.boundingBox,Vx.renderedBoundingbox=Vx.renderedBoundingBox;var rie=Jb,M7,L7;M7=L7={};var W3=function(p){p.uppercaseName=ai(p.name),p.autoName="auto"+p.uppercaseName,p.labelName="label"+p.uppercaseName,p.outerName="outer"+p.uppercaseName,p.uppercaseOuterName=ai(p.outerName),M7[p.name]=function(){var S=this[0],L=S._private,R=L.cy,B=R._private.styleEnabled;if(S)if(B){if(S.isParent())return S.updateCompoundBounds(),L[p.autoName]||0;var q=S.pstyle(p.name);switch(q.strValue){case"label":return S.recalculateRenderedStyle(),L.rstyle[p.labelName]||0;default:return q.pfValue}}else return 1},M7["outer"+p.uppercaseName]=function(){var S=this[0],L=S._private,R=L.cy,B=R._private.styleEnabled;if(S)if(B){var q=S[p.name](),W=S.pstyle("border-width").pfValue,M=2*S.padding();return q+W+M}else return 1},M7["rendered"+p.uppercaseName]=function(){var S=this[0];if(S){var L=S[p.name]();return L*this.cy().zoom()}},M7["rendered"+p.uppercaseOuterName]=function(){var S=this[0];if(S){var L=S[p.outerName]();return L*this.cy().zoom()}}};W3({name:"width"}),W3({name:"height"}),L7.padding=function(){var _=this[0],p=_._private;return _.isParent()?(_.updateCompoundBounds(),p.autoPadding!==void 0?p.autoPadding:_.pstyle("padding").pfValue):_.pstyle("padding").pfValue},L7.paddedHeight=function(){var _=this[0];return _.height()+2*_.padding()},L7.paddedWidth=function(){var _=this[0];return _.width()+2*_.padding()};var kD=L7,iie=function(p,x){if(p.isEdge())return x(p)},sie=function(p,x){if(p.isEdge()){var S=p.cy();return XS(x(p),S.zoom(),S.pan())}},aie=function(p,x){if(p.isEdge()){var S=p.cy(),L=S.pan(),R=S.zoom();return x(p).map(function(B){return XS(B,R,L)})}},oie=function(p){return p.renderer().getControlPoints(p)},cie=function(p){return p.renderer().getSegmentPoints(p)},lie=function(p){return p.renderer().getSourceEndpoint(p)},uie=function(p){return p.renderer().getTargetEndpoint(p)},hie=function(p){return p.renderer().getEdgeMidpoint(p)},pH={controlPoints:{get:oie,mult:!0},segmentPoints:{get:cie,mult:!0},sourceEndpoint:{get:lie},targetEndpoint:{get:uie},midpoint:{get:hie}},fie=function(p){return"rendered"+p[0].toUpperCase()+p.substr(1)},die=Object.keys(pH).reduce(function(_,p){var x=pH[p],S=fie(p);return _[p]=function(){return iie(this,x.get)},x.mult?_[S]=function(){return aie(this,x.get)}:_[S]=function(){return sie(this,x.get)},_},{}),gie=Ge({},cH,rie,kD,die);/*!
Event object based on jQuery events, MIT license
https://jquery.org/license/
https://tldrlegal.com/license/mit-license
https://github.com/jquery/jquery/blob/master/src/event.js
*/var mH=function(p,x){this.recycle(p,x)};function I7(){return!1}function pC(){return!0}mH.prototype={instanceString:function(){return"event"},recycle:function(p,x){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=I7,p!=null&&p.preventDefault?(this.type=p.type,this.isDefaultPrevented=p.defaultPrevented?pC:I7):p!=null&&p.type?x=p:this.type=p,x!=null&&(this.originalEvent=x.originalEvent,this.type=x.type!=null?x.type:this.type,this.cy=x.cy,this.target=x.target,this.position=x.position,this.renderedPosition=x.renderedPosition,this.namespace=x.namespace,this.layout=x.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var S=this.position,L=this.cy.zoom(),R=this.cy.pan();this.renderedPosition={x:S.x*L+R.x,y:S.y*L+R.y}}this.timeStamp=p&&p.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=pC;var p=this.originalEvent;p&&p.preventDefault&&p.preventDefault()},stopPropagation:function(){this.isPropagationStopped=pC;var p=this.originalEvent;p&&p.stopPropagation&&p.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=pC,this.stopPropagation()},isDefaultPrevented:I7,isPropagationStopped:I7,isImmediatePropagationStopped:I7};var vH=/^([^.]+)(\.(?:[^.]+))?$/,pie=".*",bH={qualifierCompare:function(p,x){return p===x},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(p){return p},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},wH=Object.keys(bH),mie={};function mC(){for(var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mie,p=arguments.length>1?arguments[1]:void 0,x=0;x<wH.length;x++){var S=wH[x];this[S]=_[S]||bH[S]}this.context=p||this.context,this.listeners=[],this.emitting=0}var K3=mC.prototype,yH=function(p,x,S,L,R,B,q){De(L)&&(R=L,L=null),q&&(B==null?B=q:B=Ge({},B,q));for(var W=Ve(S)?S:S.split(/\s+/),M=0;M<W.length;M++){var X=W[M];if(!Ee(X)){var ee=X.match(vH);if(ee){var le=ee[1],fe=ee[2]?ee[2]:null,ve=x(p,X,le,fe,L,R,B);if(ve===!1)break}}}},_H=function(p,x){return p.addEventFields(p.context,x),new mH(x.type,x)},vie=function(p,x,S){if(nt(S)){x(p,S);return}else if(ke(S)){x(p,_H(p,S));return}for(var L=Ve(S)?S:S.split(/\s+/),R=0;R<L.length;R++){var B=L[R];if(!Ee(B)){var q=B.match(vH);if(q){var W=q[1],M=q[2]?q[2]:null,X=_H(p,{type:W,namespace:M,target:p.context});x(p,X)}}}};K3.on=K3.addListener=function(_,p,x,S,L){return yH(this,function(R,B,q,W,M,X,ee){De(X)&&R.listeners.push({event:B,callback:X,type:q,namespace:W,qualifier:M,conf:ee})},_,p,x,S,L),this},K3.one=function(_,p,x,S){return this.on(_,p,x,S,{one:!0})},K3.removeListener=K3.off=function(_,p,x,S){var L=this;this.emitting!==0&&(this.listeners=oee(this.listeners));for(var R=this.listeners,B=function(M){var X=R[M];yH(L,function(ee,le,fe,ve,be,Fe){if((X.type===fe||_==="*")&&(!ve&&X.namespace!==".*"||X.namespace===ve)&&(!be||ee.qualifierCompare(X.qualifier,be))&&(!Fe||X.callback===Fe))return R.splice(M,1),!1},_,p,x,S)},q=R.length-1;q>=0;q--)B(q);return this},K3.removeAllListeners=function(){return this.removeListener("*")},K3.emit=K3.trigger=function(_,p,x){var S=this.listeners,L=S.length;return this.emitting++,Ve(p)||(p=[p]),vie(this,function(R,B){x!=null&&(S=[{event:B.event,type:B.type,namespace:B.namespace,callback:x}],L=S.length);for(var q=function(X){var ee=S[X];if(ee.type===B.type&&(!ee.namespace||ee.namespace===B.namespace||ee.namespace===pie)&&R.eventMatches(R.context,ee,B)){var le=[B];p!=null&&i$(le,p),R.beforeEmit(R.context,ee,B),ee.conf&&ee.conf.one&&(R.listeners=R.listeners.filter(function(be){return be!==ee}));var fe=R.callbackContext(R.context,ee,B),ve=ee.callback.apply(fe,le);R.afterEmit(R.context,ee,B),ve===!1&&(B.stopPropagation(),B.preventDefault())}},W=0;W<L;W++)q(W);R.bubble(R.context)&&!B.isPropagationStopped()&&R.parent(R.context).emit(B,p)},_),this.emitting--,this};var bie={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,S){var L=x.qualifier;return L!=null?p!==S.target&&qe(S.target)&&L.matches(S.target):!0},addEventFields:function(p,x){x.cy=p.cy(),x.target=p},callbackContext:function(p,x,S){return x.qualifier!=null?S.target:p},beforeEmit:function(p,x){x.conf&&x.conf.once&&x.conf.onceCollection.removeListener(x.event,x.qualifier,x.callback)},bubble:function(){return!0},parent:function(p){return p.isChild()?p.parent():p.cy()}},vC=function(p){return Oe(p)?new G3(p):p},xH={createEmitter:function(){for(var p=0;p<this.length;p++){var x=this[p],S=x._private;S.emitter||(S.emitter=new mC(bie,x))}return this},emitter:function(){return this._private.emitter},on:function(p,x,S){for(var L=vC(x),R=0;R<this.length;R++){var B=this[R];B.emitter().on(p,L,S)}return this},removeListener:function(p,x,S){for(var L=vC(x),R=0;R<this.length;R++){var B=this[R];B.emitter().removeListener(p,L,S)}return this},removeAllListeners:function(){for(var p=0;p<this.length;p++){var x=this[p];x.emitter().removeAllListeners()}return this},one:function(p,x,S){for(var L=vC(x),R=0;R<this.length;R++){var B=this[R];B.emitter().one(p,L,S)}return this},once:function(p,x,S){for(var L=vC(x),R=0;R<this.length;R++){var B=this[R];B.emitter().on(p,L,S,{once:!0,onceCollection:this})}},emit:function(p,x){for(var S=0;S<this.length;S++){var L=this[S];L.emitter().emit(p,x)}return this},emitAndNotify:function(p,x){if(this.length!==0)return this.cy().notify(p,this),this.emit(p,x),this}};uu.eventAliasesOn(xH);var kH={nodes:function(p){return this.filter(function(x){return x.isNode()}).filter(p)},edges:function(p){return this.filter(function(x){return x.isEdge()}).filter(p)},byGroup:function(){for(var p=this.spawn(),x=this.spawn(),S=0;S<this.length;S++){var L=this[S];L.isNode()?p.push(L):x.push(L)}return{nodes:p,edges:x}},filter:function(p,x){if(p===void 0)return this;if(Oe(p)||xe(p))return new G3(p).filter(this);if(De(p)){for(var S=this.spawn(),L=this,R=0;R<L.length;R++){var B=L[R],q=x?p.apply(x,[B,R,L]):p(B,R,L);q&&S.push(B)}return S}return this.spawn()},not:function(p){if(p){Oe(p)&&(p=this.filter(p));for(var x=this.spawn(),S=0;S<this.length;S++){var L=this[S],R=p.has(L);R||x.push(L)}return x}else return this},absoluteComplement:function(){var p=this.cy();return p.mutableElements().not(this)},intersect:function(p){if(Oe(p)){var x=p;return this.filter(x)}for(var S=this.spawn(),L=this,R=p,B=this.length<p.length,q=B?L:R,W=B?R:L,M=0;M<q.length;M++){var X=q[M];W.has(X)&&S.push(X)}return S},xor:function(p){var x=this._private.cy;Oe(p)&&(p=x.$(p));var S=this.spawn(),L=this,R=p,B=function(W,M){for(var X=0;X<W.length;X++){var ee=W[X],le=ee._private.data.id,fe=M.hasElementWithId(le);fe||S.push(ee)}};return B(L,R),B(R,L),S},diff:function(p){var x=this._private.cy;Oe(p)&&(p=x.$(p));var S=this.spawn(),L=this.spawn(),R=this.spawn(),B=this,q=p,W=function(X,ee,le){for(var fe=0;fe<X.length;fe++){var ve=X[fe],be=ve._private.data.id,Fe=ee.hasElementWithId(be);Fe?R.merge(ve):le.push(ve)}};return W(B,q,S),W(q,B,L),{left:S,right:L,both:R}},add:function(p){var x=this._private.cy;if(!p)return this;if(Oe(p)){var S=p;p=x.mutableElements().filter(S)}for(var L=this.spawnSelf(),R=0;R<p.length;R++){var B=p[R],q=!this.has(B);q&&L.push(B)}return L},merge:function(p){var x=this._private,S=x.cy;if(!p)return this;if(p&&Oe(p)){var L=p;p=S.mutableElements().filter(L)}for(var R=x.map,B=0;B<p.length;B++){var q=p[B],W=q._private.data.id,M=!R.has(W);if(M){var X=this.length++;this[X]=q,R.set(W,{ele:q,index:X})}}return this},unmergeAt:function(p){var x=this[p],S=x.id(),L=this._private,R=L.map;this[p]=void 0,R.delete(S);var B=p===this.length-1;if(this.length>1&&!B){var q=this.length-1,W=this[q],M=W._private.data.id;this[q]=void 0,this[p]=W,R.set(M,{ele:W,index:p})}return this.length--,this},unmergeOne:function(p){p=p[0];var x=this._private,S=p._private.data.id,L=x.map,R=L.get(S);if(!R)return this;var B=R.index;return this.unmergeAt(B),this},unmerge:function(p){var x=this._private.cy;if(!p)return this;if(p&&Oe(p)){var S=p;p=x.mutableElements().filter(S)}for(var L=0;L<p.length;L++)this.unmergeOne(p[L]);return this},unmergeBy:function(p){for(var x=this.length-1;x>=0;x--){var S=this[x];p(S)&&this.unmergeAt(x)}return this},map:function(p,x){for(var S=[],L=this,R=0;R<L.length;R++){var B=L[R],q=x?p.apply(x,[B,R,L]):p(B,R,L);S.push(q)}return S},reduce:function(p,x){for(var S=x,L=this,R=0;R<L.length;R++)S=p(S,L[R],R,L);return S},max:function(p,x){for(var S=-1/0,L,R=this,B=0;B<R.length;B++){var q=R[B],W=x?p.apply(x,[q,B,R]):p(q,B,R);W>S&&(S=W,L=q)}return{value:S,ele:L}},min:function(p,x){for(var S=1/0,L,R=this,B=0;B<R.length;B++){var q=R[B],W=x?p.apply(x,[q,B,R]):p(q,B,R);W<S&&(S=W,L=q)}return{value:S,ele:L}}},Ul=kH;Ul.u=Ul["|"]=Ul["+"]=Ul.union=Ul.or=Ul.add,Ul["\\"]=Ul["!"]=Ul["-"]=Ul.difference=Ul.relativeComplement=Ul.subtract=Ul.not,Ul.n=Ul["&"]=Ul["."]=Ul.and=Ul.intersection=Ul.intersect,Ul["^"]=Ul["(+)"]=Ul["(-)"]=Ul.symmetricDifference=Ul.symdiff=Ul.xor,Ul.fnFilter=Ul.filterFn=Ul.stdFilter=Ul.filter,Ul.complement=Ul.abscomp=Ul.absoluteComplement;var wie={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var p=this[0];if(p)return p._private.group}},EH=function(p,x){var S=p.cy(),L=S.hasCompoundNodes();function R(X){var ee=X.pstyle("z-compound-depth");return ee.value==="auto"?L?X.zDepth():0:ee.value==="bottom"?-1:ee.value==="top"?u0:0}var B=R(p)-R(x);if(B!==0)return B;function q(X){var ee=X.pstyle("z-index-compare");return ee.value==="auto"&&X.isNode()?1:0}var W=q(p)-q(x);if(W!==0)return W;var M=p.pstyle("z-index").value-x.pstyle("z-index").value;return M!==0?M:p.poolIndex()-x.poolIndex()},bC={forEach:function(p,x){if(De(p))for(var S=this.length,L=0;L<S;L++){var R=this[L],B=x?p.apply(x,[R,L,this]):p(R,L,this);if(B===!1)break}return this},toArray:function(){for(var p=[],x=0;x<this.length;x++)p.push(this[x]);return p},slice:function(p,x){var S=[],L=this.length;x==null&&(x=L),p==null&&(p=0),p<0&&(p=L+p),x<0&&(x=L+x);for(var R=p;R>=0&&R<x&&R<L;R++)S.push(this[R]);return this.spawn(S)},size:function(){return this.length},eq:function(p){return this[p]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(p){if(!De(p))return this;var x=this.toArray().sort(p);return this.spawn(x)},sortByZIndex:function(){return this.sort(EH)},zDepth:function(){var p=this[0];if(p){var x=p._private,S=x.group;if(S==="nodes"){var L=x.data.parent?p.parents().size():0;return p.isParent()?L:u0-1}else{var R=x.source,B=x.target,q=R.zDepth(),W=B.zDepth();return Math.max(q,W,0)}}}};bC.each=bC.forEach;var yie=function(){var p="undefined",x=(typeof Symbol>"u"?"undefined":f(Symbol))!=p&&f(Symbol.iterator)!=p;x&&(bC[Symbol.iterator]=function(){var S=this,L={value:void 0,done:!1},R=0,B=this.length;return v({next:function(){return R<B?L.value=S[R++]:(L.value=void 0,L.done=!0),L}},Symbol.iterator,function(){return this})})};yie();var _ie=N1({nodeDimensionsIncludeLabels:!1}),wC={layoutDimensions:function(p){p=_ie(p);var x;if(!this.takesUpSpace())x={w:0,h:0};else if(p.nodeDimensionsIncludeLabels){var S=this.boundingBox();x={w:S.w,h:S.h}}else x={w:this.outerWidth(),h:this.outerHeight()};return(x.w===0||x.h===0)&&(x.w=x.h=1),x},layoutPositions:function(p,x,S){var L=this.nodes().filter(function(lt){return!lt.isParent()}),R=this.cy(),B=x.eles,q=function(st){return st.id()},W=Gt(S,q);p.emit({type:"layoutstart",layout:p}),p.animations=[];var M=function(st,Ze,gt){var tt={x:Ze.x1+Ze.w/2,y:Ze.y1+Ze.h/2},Tt={x:(gt.x-tt.x)*st,y:(gt.y-tt.y)*st};return{x:tt.x+Tt.x,y:tt.y+Tt.y}},X=x.spacingFactor&&x.spacingFactor!==1,ee=function(){if(!X)return null;for(var st=Hg(),Ze=0;Ze<L.length;Ze++){var gt=L[Ze],tt=W(gt,Ze);Ree(st,tt.x,tt.y)}return st},le=ee(),fe=Gt(function(lt,st){var Ze=W(lt,st);if(X){var gt=Math.abs(x.spacingFactor);Ze=M(gt,le,Ze)}return x.transform!=null&&(Ze=x.transform(lt,Ze)),Ze},q);if(x.animate){for(var ve=0;ve<L.length;ve++){var be=L[ve],Fe=fe(be,ve),Ae=x.animateFilter==null||x.animateFilter(be,ve);if(Ae){var $e=be.animation({position:Fe,duration:x.animationDuration,easing:x.animationEasing});p.animations.push($e)}else be.position(Fe)}if(x.fit){var ze=R.animation({fit:{boundingBox:B.boundingBoxAt(fe),padding:x.padding},duration:x.animationDuration,easing:x.animationEasing});p.animations.push(ze)}else if(x.zoom!==void 0&&x.pan!==void 0){var Xe=R.animation({zoom:x.zoom,pan:x.pan,duration:x.animationDuration,easing:x.animationEasing});p.animations.push(Xe)}p.animations.forEach(function(lt){return lt.play()}),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),Nx.all(p.animations.map(function(lt){return lt.promise()})).then(function(){p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p})})}else L.positions(fe),x.fit&&R.fit(x.eles,x.padding),x.zoom!=null&&R.zoom(x.zoom),x.pan&&R.pan(x.pan),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p});return this},layout:function(p){var x=this.cy();return x.makeLayout(Ge({},p,{eles:this}))}};wC.createLayout=wC.makeLayout=wC.layout;function TH(_,p,x){var S=x._private,L=S.styleCache=S.styleCache||[],R;return(R=L[_])!=null||(R=L[_]=p(x)),R}function yC(_,p){return _=vv(_),function(S){return TH(_,p,S)}}function _C(_,p){_=vv(_);var x=function(L){return p.call(L)};return function(){var L=this[0];if(L)return TH(_,x,L)}}var R1={recalculateRenderedStyle:function(p){var x=this.cy(),S=x.renderer(),L=x.styleEnabled();return S&&L&&S.recalculateRenderedStyle(this,p),this},dirtyStyleCache:function(){var p=this.cy(),x=function(R){return R._private.styleCache=null};if(p.hasCompoundNodes()){var S;S=this.spawnSelf().merge(this.descendants()).merge(this.parents()),S.merge(S.connectedEdges()),S.forEach(x)}else this.forEach(function(L){x(L),L.connectedEdges().forEach(x)});return this},updateStyle:function(p){var x=this._private.cy;if(!x.styleEnabled())return this;if(x.batching()){var S=x._private.batchStyleEles;return S.merge(this),this}var L=x.hasCompoundNodes(),R=this;p=!!(p||p===void 0),L&&(R=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var B=R;return p?B.emitAndNotify("style"):B.emit("style"),R.forEach(function(q){return q._private.styleDirty=!0}),this},cleanStyle:function(){var p=this.cy();if(p.styleEnabled())for(var x=0;x<this.length;x++){var S=this[x];S._private.styleDirty&&(S._private.styleDirty=!1,p.style().apply(S))}},parsedStyle:function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,S=this[0],L=S.cy();if(L.styleEnabled()&&S){this.cleanStyle();var R=S._private.style[p];return R??(x?L.style().getDefaultProperty(p):null)}},numericStyle:function(p){var x=this[0];if(x.cy().styleEnabled()&&x){var S=x.pstyle(p);return S.pfValue!==void 0?S.pfValue:S.value}},numericStyleUnits:function(p){var x=this[0];if(x.cy().styleEnabled()&&x)return x.pstyle(p).units},renderedStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var S=this[0];if(S)return x.style().getRenderedStyle(S,p)},style:function(p,x){var S=this.cy();if(!S.styleEnabled())return this;var L=!1,R=S.style();if(ke(p)){var B=p;R.applyBypass(this,B,L),this.emitAndNotify("style")}else if(Oe(p))if(x===void 0){var q=this[0];return q?R.getStylePropertyValue(q,p):void 0}else R.applyBypass(this,p,x,L),this.emitAndNotify("style");else if(p===void 0){var W=this[0];return W?R.getRawStyle(W):void 0}return this},removeStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var S=!1,L=x.style(),R=this;if(p===void 0)for(var B=0;B<R.length;B++){var q=R[B];L.removeAllBypasses(q,S)}else{p=p.split(/\s+/);for(var W=0;W<R.length;W++){var M=R[W];L.removeBypasses(M,p,S)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var p=this.cy();if(!p.styleEnabled())return 1;var x=p.hasCompoundNodes(),S=this[0];if(S){var L=S._private,R=S.pstyle("opacity").value;if(!x)return R;var B=L.data.parent?S.parents():null;if(B)for(var q=0;q<B.length;q++){var W=B[q],M=W.pstyle("opacity").value;R=M*R}return R}},transparent:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0],S=x.cy().hasCompoundNodes();if(x)return S?x.effectiveOpacity()===0:x.pstyle("opacity").value===0},backgrounding:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0];return!!x._private.backgrounding}};function ED(_,p){var x=_._private,S=x.data.parent?_.parents():null;if(S)for(var L=0;L<S.length;L++){var R=S[L];if(!p(R))return!1}return!0}function TD(_){var p=_.ok,x=_.edgeOkViaNode||_.ok,S=_.parentOk||_.ok;return function(){var L=this.cy();if(!L.styleEnabled())return!0;var R=this[0],B=L.hasCompoundNodes();if(R){var q=R._private;if(!p(R))return!1;if(R.isNode())return!B||ED(R,S);var W=q.source,M=q.target;return x(W)&&(!B||ED(W,x))&&(W===M||x(M)&&(!B||ED(M,x)))}}}var qx=yC("eleTakesUpSpace",function(_){return _.pstyle("display").value==="element"&&_.width()!==0&&(_.isNode()?_.height()!==0:!0)});R1.takesUpSpace=_C("takesUpSpace",TD({ok:qx}));var xie=yC("eleInteractive",function(_){return _.pstyle("events").value==="yes"&&_.pstyle("visibility").value==="visible"&&qx(_)}),kie=yC("parentInteractive",function(_){return _.pstyle("visibility").value==="visible"&&qx(_)});R1.interactive=_C("interactive",TD({ok:xie,parentOk:kie,edgeOkViaNode:qx})),R1.noninteractive=function(){var _=this[0];if(_)return!_.interactive()};var Eie=yC("eleVisible",function(_){return _.pstyle("visibility").value==="visible"&&_.pstyle("opacity").pfValue!==0&&qx(_)}),Tie=qx;R1.visible=_C("visible",TD({ok:Eie,edgeOkViaNode:Tie})),R1.hidden=function(){var _=this[0];if(_)return!_.visible()},R1.isBundledBezier=_C("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),R1.bypass=R1.css=R1.style,R1.renderedCss=R1.renderedStyle,R1.removeBypass=R1.removeCss=R1.removeStyle,R1.pstyle=R1.parsedStyle;var Y3={};function SH(_){return function(){var p=arguments,x=[];if(p.length===2){var S=p[0],L=p[1];this.on(_.event,S,L)}else if(p.length===1&&De(p[0])){var R=p[0];this.on(_.event,R)}else if(p.length===0||p.length===1&&Ve(p[0])){for(var B=p.length===1?p[0]:null,q=0;q<this.length;q++){var W=this[q],M=!_.ableField||W._private[_.ableField],X=W._private[_.field]!=_.value;if(_.overrideAble){var ee=_.overrideAble(W);if(ee!==void 0&&(M=ee,!ee))return this}M&&(W._private[_.field]=_.value,X&&x.push(W))}var le=this.spawn(x);le.updateStyle(),le.emit(_.event),B&&le.emit(B)}return this}}function Ux(_){Y3[_.field]=function(){var p=this[0];if(p){if(_.overrideField){var x=_.overrideField(p);if(x!==void 0)return x}return p._private[_.field]}},Y3[_.on]=SH({event:_.on,field:_.field,ableField:_.ableField,overrideAble:_.overrideAble,value:!0}),Y3[_.off]=SH({event:_.off,field:_.field,ableField:_.ableField,overrideAble:_.overrideAble,value:!1})}Ux({field:"locked",overrideField:function(p){return p.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),Ux({field:"grabbable",overrideField:function(p){return p.cy().autoungrabify()||p.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),Ux({field:"selected",ableField:"selectable",overrideAble:function(p){return p.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),Ux({field:"selectable",overrideField:function(p){return p.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),Y3.deselect=Y3.unselect,Y3.grabbed=function(){var _=this[0];if(_)return _._private.grabbed},Ux({field:"active",on:"activate",off:"unactivate"}),Ux({field:"pannable",on:"panify",off:"unpanify"}),Y3.inactive=function(){var _=this[0];if(_)return!_._private.active};var h0={},CH=function(p){return function(S){for(var L=this,R=[],B=0;B<L.length;B++){var q=L[B];if(q.isNode()){for(var W=!1,M=q.connectedEdges(),X=0;X<M.length;X++){var ee=M[X],le=ee.source(),fe=ee.target();if(p.noIncomingEdges&&fe===q&&le!==q||p.noOutgoingEdges&&le===q&&fe!==q){W=!0;break}}W||R.push(q)}}return this.spawn(R,!0).filter(S)}},AH=function(p){return function(x){for(var S=this,L=[],R=0;R<S.length;R++){var B=S[R];if(B.isNode())for(var q=B.connectedEdges(),W=0;W<q.length;W++){var M=q[W],X=M.source(),ee=M.target();p.outgoing&&X===B?(L.push(M),L.push(ee)):p.incoming&&ee===B&&(L.push(M),L.push(X))}}return this.spawn(L,!0).filter(x)}},MH=function(p){return function(x){for(var S=this,L=[],R={};;){var B=p.outgoing?S.outgoers():S.incomers();if(B.length===0)break;for(var q=!1,W=0;W<B.length;W++){var M=B[W],X=M.id();R[X]||(R[X]=!0,L.push(M),q=!0)}if(!q)break;S=B}return this.spawn(L,!0).filter(x)}};h0.clearTraversalCache=function(){for(var _=0;_<this.length;_++)this[_]._private.traversalCache=null},Ge(h0,{roots:CH({noIncomingEdges:!0}),leaves:CH({noOutgoingEdges:!0}),outgoers:ig(AH({outgoing:!0}),"outgoers"),successors:MH({outgoing:!0}),incomers:ig(AH({incoming:!0}),"incomers"),predecessors:MH({incoming:!0})}),Ge(h0,{neighborhood:ig(function(_){for(var p=[],x=this.nodes(),S=0;S<x.length;S++)for(var L=x[S],R=L.connectedEdges(),B=0;B<R.length;B++){var q=R[B],W=q.source(),M=q.target(),X=L===W?M:W;X.length>0&&p.push(X[0]),p.push(q[0])}return this.spawn(p,!0).filter(_)},"neighborhood"),closedNeighborhood:function(p){return this.neighborhood().add(this).filter(p)},openNeighborhood:function(p){return this.neighborhood(p)}}),h0.neighbourhood=h0.neighborhood,h0.closedNeighbourhood=h0.closedNeighborhood,h0.openNeighbourhood=h0.openNeighborhood,Ge(h0,{source:ig(function(p){var x=this[0],S;return x&&(S=x._private.source||x.cy().collection()),S&&p?S.filter(p):S},"source"),target:ig(function(p){var x=this[0],S;return x&&(S=x._private.target||x.cy().collection()),S&&p?S.filter(p):S},"target"),sources:LH({attr:"source"}),targets:LH({attr:"target"})});function LH(_){return function(x){for(var S=[],L=0;L<this.length;L++){var R=this[L],B=R._private[_.attr];B&&S.push(B)}return this.spawn(S,!0).filter(x)}}Ge(h0,{edgesWith:ig(IH(),"edgesWith"),edgesTo:ig(IH({thisIsSrc:!0}),"edgesTo")});function IH(_){return function(x){var S=[],L=this._private.cy,R=_||{};Oe(x)&&(x=L.$(x));for(var B=0;B<x.length;B++)for(var q=x[B]._private.edges,W=0;W<q.length;W++){var M=q[W],X=M._private.data,ee=this.hasElementWithId(X.source)&&x.hasElementWithId(X.target),le=x.hasElementWithId(X.source)&&this.hasElementWithId(X.target),fe=ee||le;fe&&((R.thisIsSrc||R.thisIsTgt)&&(R.thisIsSrc&&!ee||R.thisIsTgt&&!le)||S.push(M))}return this.spawn(S,!0)}}Ge(h0,{connectedEdges:ig(function(_){for(var p=[],x=this,S=0;S<x.length;S++){var L=x[S];if(L.isNode())for(var R=L._private.edges,B=0;B<R.length;B++){var q=R[B];p.push(q)}}return this.spawn(p,!0).filter(_)},"connectedEdges"),connectedNodes:ig(function(_){for(var p=[],x=this,S=0;S<x.length;S++){var L=x[S];L.isEdge()&&(p.push(L.source()[0]),p.push(L.target()[0]))}return this.spawn(p,!0).filter(_)},"connectedNodes"),parallelEdges:ig(OH(),"parallelEdges"),codirectedEdges:ig(OH({codirected:!0}),"codirectedEdges")});function OH(_){var p={codirected:!1};return _=Ge({},p,_),function(S){for(var L=[],R=this.edges(),B=_,q=0;q<R.length;q++)for(var W=R[q],M=W._private,X=M.source,ee=X._private.data.id,le=M.data.target,fe=X._private.edges,ve=0;ve<fe.length;ve++){var be=fe[ve],Fe=be._private.data,Ae=Fe.target,$e=Fe.source,ze=Ae===le&&$e===ee,Xe=ee===Ae&&le===$e;(B.codirected&&ze||!B.codirected&&(ze||Xe))&&L.push(be)}return this.spawn(L,!0).filter(S)}}Ge(h0,{components:function(p){var x=this,S=x.cy(),L=S.collection(),R=p==null?x.nodes():p.nodes(),B=[];p!=null&&R.empty()&&(R=p.sources());var q=function(X,ee){L.merge(X),R.unmerge(X),ee.merge(X)};if(R.empty())return x.spawn();var W=function(){var X=S.collection();B.push(X);var ee=R[0];q(ee,X),x.bfs({directed:!1,roots:ee,visit:function(fe){return q(fe,X)}}),X.forEach(function(le){le.connectedEdges().forEach(function(fe){x.has(fe)&&X.has(fe.source())&&X.has(fe.target())&&X.merge(fe)})})};do W();while(R.length>0);return B},component:function(){var p=this[0];return p.cy().mutableElements().components(p)[0]}}),h0.componentsOf=h0.components;var B1=function(p,x){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(p===void 0){xh("A collection must have a reference to the core");return}var R=new Zb,B=!1;if(!x)x=[];else if(x.length>0&&ke(x[0])&&!qe(x[0])){B=!0;for(var q=[],W=new Ax,M=0,X=x.length;M<X;M++){var ee=x[M];ee.data==null&&(ee.data={});var le=ee.data;if(le.id==null)le.id=KS();else if(p.hasElementWithId(le.id)||W.has(le.id))continue;var fe=new YS(p,ee,!1);q.push(fe),W.add(le.id)}x=q}this.length=0;for(var ve=0,be=x.length;ve<be;ve++){var Fe=x[ve][0];if(Fe!=null){var Ae=Fe._private.data.id;(!S||!R.has(Ae))&&(S&&R.set(Ae,{index:this.length,ele:Fe}),this[this.length]=Fe,this.length++)}}this._private={eles:this,cy:p,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map($e){this.lazyMap=$e},rebuildMap:function(){for(var ze=this.lazyMap=new Zb,Xe=this.eles,lt=0;lt<Xe.length;lt++){var st=Xe[lt];ze.set(st.id(),{index:lt,ele:st})}}},S&&(this._private.map=R),B&&!L&&this.restore()},ih=YS.prototype=B1.prototype=Object.create(Array.prototype);ih.instanceString=function(){return"collection"},ih.spawn=function(_,p){return new B1(this.cy(),_,p)},ih.spawnSelf=function(){return this.spawn(this)},ih.cy=function(){return this._private.cy},ih.renderer=function(){return this._private.cy.renderer()},ih.element=function(){return this[0]},ih.collection=function(){return ae(this)?this:new B1(this._private.cy,[this])},ih.unique=function(){return new B1(this._private.cy,this,!0)},ih.hasElementWithId=function(_){return _=""+_,this._private.map.has(_)},ih.getElementById=function(_){_=""+_;var p=this._private.cy,x=this._private.map.get(_);return x?x.ele:new B1(p)},ih.$id=ih.getElementById,ih.poolIndex=function(){var _=this._private.cy,p=_._private.elements,x=this[0]._private.data.id;return p._private.map.get(x).index},ih.indexOf=function(_){var p=_[0]._private.data.id;return this._private.map.get(p).index},ih.indexOfId=function(_){return _=""+_,this._private.map.get(_).index},ih.json=function(_){var p=this.element(),x=this.cy();if(p==null&&_)return this;if(p!=null){var S=p._private;if(ke(_)){if(x.startBatch(),_.data){p.data(_.data);var L=S.data;if(p.isEdge()){var R=!1,B={},q=_.data.source,W=_.data.target;q!=null&&q!=L.source&&(B.source=""+q,R=!0),W!=null&&W!=L.target&&(B.target=""+W,R=!0),R&&(p=p.move(B))}else{var M="parent"in _.data,X=_.data.parent;M&&(X!=null||L.parent!=null)&&X!=L.parent&&(X===void 0&&(X=null),X!=null&&(X=""+X),p=p.move({parent:X}))}}_.position&&p.position(_.position);var ee=function(be,Fe,Ae){var $e=_[be];$e!=null&&$e!==S[be]&&($e?p[Fe]():p[Ae]())};return ee("removed","remove","restore"),ee("selected","select","unselect"),ee("selectable","selectify","unselectify"),ee("locked","lock","unlock"),ee("grabbable","grabify","ungrabify"),ee("pannable","panify","unpanify"),_.classes!=null&&p.classes(_.classes),x.endBatch(),this}else if(_===void 0){var le={data:Qb(S.data),position:Qb(S.position),group:S.group,removed:S.removed,selected:S.selected,selectable:S.selectable,locked:S.locked,grabbable:S.grabbable,pannable:S.pannable,classes:null};le.classes="";var fe=0;return S.classes.forEach(function(ve){return le.classes+=fe++===0?ve:" "+ve}),le}}},ih.jsons=function(){for(var _=[],p=0;p<this.length;p++){var x=this[p],S=x.json();_.push(S)}return _},ih.clone=function(){for(var _=this.cy(),p=[],x=0;x<this.length;x++){var S=this[x],L=S.json(),R=new YS(_,L,!1);p.push(R)}return new B1(_,p)},ih.copy=ih.clone,ih.restore=function(){for(var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,S=x.cy(),L=S._private,R=[],B=[],q,W=0,M=x.length;W<M;W++){var X=x[W];p&&!X.removed()||(X.isNode()?R.push(X):B.push(X))}q=R.concat(B);var ee,le=function(){q.splice(ee,1),ee--};for(ee=0;ee<q.length;ee++){var fe=q[ee],ve=fe._private,be=ve.data;if(fe.clearTraversalCache(),!(!p&&!ve.removed)){if(be.id===void 0)be.id=KS();else if(ge(be.id))be.id=""+be.id;else if(Ee(be.id)||!Oe(be.id)){xh("Can not create element with invalid string ID `"+be.id+"`"),le();continue}else if(S.hasElementWithId(be.id)){xh("Can not create second element with ID `"+be.id+"`"),le();continue}}var Fe=be.id;if(fe.isNode()){var Ae=ve.position;Ae.x==null&&(Ae.x=0),Ae.y==null&&(Ae.y=0)}if(fe.isEdge()){for(var $e=fe,ze=["source","target"],Xe=ze.length,lt=!1,st=0;st<Xe;st++){var Ze=ze[st],gt=be[Ze];ge(gt)&&(gt=be[Ze]=""+be[Ze]),gt==null||gt===""?(xh("Can not create edge `"+Fe+"` with unspecified "+Ze),lt=!0):S.hasElementWithId(gt)||(xh("Can not create edge `"+Fe+"` with nonexistant "+Ze+" `"+gt+"`"),lt=!0)}if(lt){le();continue}var tt=S.getElementById(be.source),Tt=S.getElementById(be.target);tt.same(Tt)?tt._private.edges.push($e):(tt._private.edges.push($e),Tt._private.edges.push($e)),$e._private.source=tt,$e._private.target=Tt}ve.map=new Zb,ve.map.set(Fe,{ele:fe,index:0}),ve.removed=!1,p&&S.addToPool(fe)}for(var Ct=0;Ct<R.length;Ct++){var pt=R[Ct],Wt=pt._private.data;ge(Wt.parent)&&(Wt.parent=""+Wt.parent);var At=Wt.parent,Mn=At!=null;if(Mn||pt._private.parent){var tn=pt._private.parent?S.collection().merge(pt._private.parent):S.getElementById(At);if(tn.empty())Wt.parent=void 0;else if(tn[0].removed())El("Node added with missing parent, reference to parent removed"),Wt.parent=void 0,pt._private.parent=null;else{for(var sn=!1,Fn=tn;!Fn.empty();){if(pt.same(Fn)){sn=!0,Wt.parent=void 0;break}Fn=Fn.parent()}sn||(tn[0]._private.children.push(pt),pt._private.parent=tn[0],L.hasCompoundNodes=!0)}}}if(q.length>0){for(var Yn=q.length===x.length?x:new B1(S,q),wr=0;wr<Yn.length;wr++){var qn=Yn[wr];qn.isNode()||(qn.parallelEdges().clearTraversalCache(),qn.source().clearTraversalCache(),qn.target().clearTraversalCache())}var br;L.hasCompoundNodes?br=S.collection().merge(Yn).merge(Yn.connectedNodes()).merge(Yn.parent()):br=Yn,br.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(_),_?Yn.emitAndNotify("add"):p&&Yn.emit("add")}return x},ih.removed=function(){var _=this[0];return _&&_._private.removed},ih.inside=function(){var _=this[0];return _&&!_._private.removed},ih.remove=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,S=[],L={},R=x._private.cy;function B(At){for(var Mn=At._private.edges,tn=0;tn<Mn.length;tn++)W(Mn[tn])}function q(At){for(var Mn=At._private.children,tn=0;tn<Mn.length;tn++)W(Mn[tn])}function W(At){var Mn=L[At.id()];p&&At.removed()||Mn||(L[At.id()]=!0,At.isNode()?(S.push(At),B(At),q(At)):S.unshift(At))}for(var M=0,X=x.length;M<X;M++){var ee=x[M];W(ee)}function le(At,Mn){var tn=At._private.edges;H3(tn,Mn),At.clearTraversalCache()}function fe(At){At.clearTraversalCache()}var ve=[];ve.ids={};function be(At,Mn){Mn=Mn[0],At=At[0];var tn=At._private.children,sn=At.id();H3(tn,Mn),Mn._private.parent=null,ve.ids[sn]||(ve.ids[sn]=!0,ve.push(At))}x.dirtyCompoundBoundsCache(),p&&R.removeFromPool(S);for(var Fe=0;Fe<S.length;Fe++){var Ae=S[Fe];if(Ae.isEdge()){var $e=Ae.source()[0],ze=Ae.target()[0];le($e,Ae),le(ze,Ae);for(var Xe=Ae.parallelEdges(),lt=0;lt<Xe.length;lt++){var st=Xe[lt];fe(st),st.isBundledBezier()&&st.dirtyBoundingBoxCache()}}else{var Ze=Ae.parent();Ze.length!==0&&be(Ze,Ae)}p&&(Ae._private.removed=!0)}var gt=R._private.elements;R._private.hasCompoundNodes=!1;for(var tt=0;tt<gt.length;tt++){var Tt=gt[tt];if(Tt.isParent()){R._private.hasCompoundNodes=!0;break}}var Ct=new B1(this.cy(),S);Ct.size()>0&&(_?Ct.emitAndNotify("remove"):p&&Ct.emit("remove"));for(var pt=0;pt<ve.length;pt++){var Wt=ve[pt];(!p||!Wt.removed())&&Wt.updateStyle()}return Ct},ih.move=function(_){var p=this._private.cy,x=this,S=!1,L=!1,R=function(ve){return ve==null?ve:""+ve};if(_.source!==void 0||_.target!==void 0){var B=R(_.source),q=R(_.target),W=B!=null&&p.hasElementWithId(B),M=q!=null&&p.hasElementWithId(q);(W||M)&&(p.batch(function(){x.remove(S,L),x.emitAndNotify("moveout");for(var fe=0;fe<x.length;fe++){var ve=x[fe],be=ve._private.data;ve.isEdge()&&(W&&(be.source=B),M&&(be.target=q))}x.restore(S,L)}),x.emitAndNotify("move"))}else if(_.parent!==void 0){var X=R(_.parent),ee=X===null||p.hasElementWithId(X);if(ee){var le=X===null?void 0:X;p.batch(function(){var fe=x.remove(S,L);fe.emitAndNotify("moveout");for(var ve=0;ve<x.length;ve++){var be=x[ve],Fe=be._private.data;be.isNode()&&(Fe.parent=le)}fe.restore(S,L)}),x.emitAndNotify("move")}}return this},[O$,jre,hC,_v,$x,tie,dC,gie,xH,kH,wie,bC,wC,R1,Y3,h0].forEach(function(_){Ge(ih,_)});var Sie={add:function(p){var x,S=this;if(xe(p)){var L=p;if(L._private.cy===S)x=L.restore();else{for(var R=[],B=0;B<L.length;B++){var q=L[B];R.push(q.json())}x=new B1(S,R)}}else if(Ve(p)){var W=p;x=new B1(S,W)}else if(ke(p)&&(Ve(p.nodes)||Ve(p.edges))){for(var M=p,X=[],ee=["nodes","edges"],le=0,fe=ee.length;le<fe;le++){var ve=ee[le],be=M[ve];if(Ve(be))for(var Fe=0,Ae=be.length;Fe<Ae;Fe++){var $e=Ge({group:ve},be[Fe]);X.push($e)}}x=new B1(S,X)}else{var ze=p;x=new YS(S,ze).collection()}return x},remove:function(p){if(!xe(p)){if(Oe(p)){var x=p;p=this.$(x)}}return p.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function Cie(_,p,x,S){var L=4,R=.001,B=1e-7,q=10,W=11,M=1/(W-1),X=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var ee=0;ee<4;++ee)if(typeof arguments[ee]!="number"||isNaN(arguments[ee])||!isFinite(arguments[ee]))return!1;_=Math.min(_,1),x=Math.min(x,1),_=Math.max(_,0),x=Math.max(x,0);var le=X?new Float32Array(W):new Array(W);function fe(Tt,Ct){return 1-3*Ct+3*Tt}function ve(Tt,Ct){return 3*Ct-6*Tt}function be(Tt){return 3*Tt}function Fe(Tt,Ct,pt){return((fe(Ct,pt)*Tt+ve(Ct,pt))*Tt+be(Ct))*Tt}function Ae(Tt,Ct,pt){return 3*fe(Ct,pt)*Tt*Tt+2*ve(Ct,pt)*Tt+be(Ct)}function $e(Tt,Ct){for(var pt=0;pt<L;++pt){var Wt=Ae(Ct,_,x);if(Wt===0)return Ct;var At=Fe(Ct,_,x)-Tt;Ct-=At/Wt}return Ct}function ze(){for(var Tt=0;Tt<W;++Tt)le[Tt]=Fe(Tt*M,_,x)}function Xe(Tt,Ct,pt){var Wt,At,Mn=0;do At=Ct+(pt-Ct)/2,Wt=Fe(At,_,x)-Tt,Wt>0?pt=At:Ct=At;while(Math.abs(Wt)>B&&++Mn<q);return At}function lt(Tt){for(var Ct=0,pt=1,Wt=W-1;pt!==Wt&&le[pt]<=Tt;++pt)Ct+=M;--pt;var At=(Tt-le[pt])/(le[pt+1]-le[pt]),Mn=Ct+At*M,tn=Ae(Mn,_,x);return tn>=R?$e(Tt,Mn):tn===0?Mn:Xe(Tt,Ct,Ct+M)}var st=!1;function Ze(){st=!0,(_!==p||x!==S)&&ze()}var gt=function(Ct){return st||Ze(),_===p&&x===S?Ct:Ct===0?0:Ct===1?1:Fe(lt(Ct),p,S)};gt.getControlPoints=function(){return[{x:_,y:p},{x,y:S}]};var tt="generateBezier("+[_,p,x,S]+")";return gt.toString=function(){return tt},gt}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var Aie=function(){function _(S){return-S.tension*S.x-S.friction*S.v}function p(S,L,R){var B={x:S.x+R.dx*L,v:S.v+R.dv*L,tension:S.tension,friction:S.friction};return{dx:B.v,dv:_(B)}}function x(S,L){var R={dx:S.v,dv:_(S)},B=p(S,L*.5,R),q=p(S,L*.5,B),W=p(S,L,q),M=1/6*(R.dx+2*(B.dx+q.dx)+W.dx),X=1/6*(R.dv+2*(B.dv+q.dv)+W.dv);return S.x=S.x+M*L,S.v=S.v+X*L,S}return function S(L,R,B){var q={x:-1,v:0,tension:null,friction:null},W=[0],M=0,X=1/1e4,ee=16/1e3,le,fe,ve;for(L=parseFloat(L)||500,R=parseFloat(R)||20,B=B||null,q.tension=L,q.friction=R,le=B!==null,le?(M=S(L,R),fe=M/B*ee):fe=ee;ve=x(ve||q,fe),W.push(1+ve.x),M+=16,Math.abs(ve.x)>X&&Math.abs(ve.v)>X;);return le?function(be){return W[be*(W.length-1)|0]}:M}}(),sh=function(p,x,S,L){var R=Cie(p,x,S,L);return function(B,q,W){return B+(q-B)*R(W)}},xC={linear:function(p,x,S){return p+(x-p)*S},ease:sh(.25,.1,.25,1),"ease-in":sh(.42,0,1,1),"ease-out":sh(0,0,.58,1),"ease-in-out":sh(.42,0,.58,1),"ease-in-sine":sh(.47,0,.745,.715),"ease-out-sine":sh(.39,.575,.565,1),"ease-in-out-sine":sh(.445,.05,.55,.95),"ease-in-quad":sh(.55,.085,.68,.53),"ease-out-quad":sh(.25,.46,.45,.94),"ease-in-out-quad":sh(.455,.03,.515,.955),"ease-in-cubic":sh(.55,.055,.675,.19),"ease-out-cubic":sh(.215,.61,.355,1),"ease-in-out-cubic":sh(.645,.045,.355,1),"ease-in-quart":sh(.895,.03,.685,.22),"ease-out-quart":sh(.165,.84,.44,1),"ease-in-out-quart":sh(.77,0,.175,1),"ease-in-quint":sh(.755,.05,.855,.06),"ease-out-quint":sh(.23,1,.32,1),"ease-in-out-quint":sh(.86,0,.07,1),"ease-in-expo":sh(.95,.05,.795,.035),"ease-out-expo":sh(.19,1,.22,1),"ease-in-out-expo":sh(1,0,0,1),"ease-in-circ":sh(.6,.04,.98,.335),"ease-out-circ":sh(.075,.82,.165,1),"ease-in-out-circ":sh(.785,.135,.15,.86),spring:function(p,x,S){if(S===0)return xC.linear;var L=Aie(p,x,S);return function(R,B,q){return R+(B-R)*L(q)}},"cubic-bezier":sh};function DH(_,p,x,S,L){if(S===1||p===x)return x;var R=L(p,x,S);return _==null||((_.roundValue||_.color)&&(R=Math.round(R)),_.min!==void 0&&(R=Math.max(R,_.min)),_.max!==void 0&&(R=Math.min(R,_.max))),R}function PH(_,p){return _.pfValue!=null||_.value!=null?_.pfValue!=null&&(p==null||p.type.units!=="%")?_.pfValue:_.value:_}function Gx(_,p,x,S,L){var R=L!=null?L.type:null;x<0?x=0:x>1&&(x=1);var B=PH(_,L),q=PH(p,L);if(ge(B)&&ge(q))return DH(R,B,q,x,S);if(Ve(B)&&Ve(q)){for(var W=[],M=0;M<q.length;M++){var X=B[M],ee=q[M];if(X!=null&&ee!=null){var le=DH(R,X,ee,x,S);W.push(le)}else W.push(ee)}return W}}function Mie(_,p,x,S){var L=!S,R=_._private,B=p._private,q=B.easing,W=B.startTime,M=S?_:_.cy(),X=M.style();if(!B.easingImpl)if(q==null)B.easingImpl=xC.linear;else{var ee;if(Oe(q)){var le=X.parse("transition-timing-function",q);ee=le.value}else ee=q;var fe,ve;Oe(ee)?(fe=ee,ve=[]):(fe=ee[1],ve=ee.slice(2).map(function(Yn){return+Yn})),ve.length>0?(fe==="spring"&&ve.push(B.duration),B.easingImpl=xC[fe].apply(null,ve)):B.easingImpl=xC[fe]}var be=B.easingImpl,Fe;if(B.duration===0?Fe=1:Fe=(x-W)/B.duration,B.applying&&(Fe=B.progress),Fe<0?Fe=0:Fe>1&&(Fe=1),B.delay==null){var Ae=B.startPosition,$e=B.position;if($e&&L&&!_.locked()){var ze={};O7(Ae.x,$e.x)&&(ze.x=Gx(Ae.x,$e.x,Fe,be)),O7(Ae.y,$e.y)&&(ze.y=Gx(Ae.y,$e.y,Fe,be)),_.position(ze)}var Xe=B.startPan,lt=B.pan,st=R.pan,Ze=lt!=null&&S;Ze&&(O7(Xe.x,lt.x)&&(st.x=Gx(Xe.x,lt.x,Fe,be)),O7(Xe.y,lt.y)&&(st.y=Gx(Xe.y,lt.y,Fe,be)),_.emit("pan"));var gt=B.startZoom,tt=B.zoom,Tt=tt!=null&&S;Tt&&(O7(gt,tt)&&(R.zoom=b7(R.minZoom,Gx(gt,tt,Fe,be),R.maxZoom)),_.emit("zoom")),(Ze||Tt)&&_.emit("viewport");var Ct=B.style;if(Ct&&Ct.length>0&&L){for(var pt=0;pt<Ct.length;pt++){var Wt=Ct[pt],At=Wt.name,Mn=Wt,tn=B.startStyle[At],sn=X.properties[tn.name],Fn=Gx(tn,Mn,Fe,be,sn);X.overrideBypass(_,At,Fn)}_.emit("style")}}return B.progress=Fe,Fe}function O7(_,p){return _==null||p==null?!1:ge(_)&&ge(p)?!0:!!(_&&p)}function Lie(_,p,x,S){var L=p._private;L.started=!0,L.startTime=x-L.progress*L.duration}function NH(_,p){var x=p._private.aniEles,S=[];function L(X,ee){var le=X._private,fe=le.animation.current,ve=le.animation.queue,be=!1;if(fe.length===0){var Fe=ve.shift();Fe&&fe.push(Fe)}for(var Ae=function(st){for(var Ze=st.length-1;Ze>=0;Ze--){var gt=st[Ze];gt()}st.splice(0,st.length)},$e=fe.length-1;$e>=0;$e--){var ze=fe[$e],Xe=ze._private;if(Xe.stopped){fe.splice($e,1),Xe.hooked=!1,Xe.playing=!1,Xe.started=!1,Ae(Xe.frames);continue}!Xe.playing&&!Xe.applying||(Xe.playing&&Xe.applying&&(Xe.applying=!1),Xe.started||Lie(X,ze,_),Mie(X,ze,_,ee),Xe.applying&&(Xe.applying=!1),Ae(Xe.frames),Xe.step!=null&&Xe.step(_),ze.completed()&&(fe.splice($e,1),Xe.hooked=!1,Xe.playing=!1,Xe.started=!1,Ae(Xe.completes)),be=!0)}return!ee&&fe.length===0&&ve.length===0&&S.push(X),be}for(var R=!1,B=0;B<x.length;B++){var q=x[B],W=L(q);R=R||W}var M=L(p,!0);(R||M)&&(x.length>0?p.notify("draw",x):p.notify("draw")),x.unmerge(S),p.emit("step")}var Iie={animate:uu.animate(),animation:uu.animation(),animated:uu.animated(),clearQueue:uu.clearQueue(),delay:uu.delay(),delayAnimation:uu.delayAnimation(),stop:uu.stop(),addToAnimationPool:function(p){var x=this;x.styleEnabled()&&x._private.aniEles.merge(p)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var p=this;if(p._private.animationsRunning=!0,!p.styleEnabled())return;function x(){p._private.animationsRunning&&cs(function(R){NH(R,p),x()})}var S=p.renderer();S&&S.beforeRender?S.beforeRender(function(R,B){NH(B,p)},S.beforeRenderPriorities.animations):x()}},Oie={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,S){var L=x.qualifier;return L!=null?p!==S.target&&qe(S.target)&&L.matches(S.target):!0},addEventFields:function(p,x){x.cy=p,x.target=p},callbackContext:function(p,x,S){return x.qualifier!=null?S.target:p}},kC=function(p){return Oe(p)?new G3(p):p},RH={createEmitter:function(){var p=this._private;return p.emitter||(p.emitter=new mC(Oie,this)),this},emitter:function(){return this._private.emitter},on:function(p,x,S){return this.emitter().on(p,kC(x),S),this},removeListener:function(p,x,S){return this.emitter().removeListener(p,kC(x),S),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(p,x,S){return this.emitter().one(p,kC(x),S),this},once:function(p,x,S){return this.emitter().one(p,kC(x),S),this},emit:function(p,x){return this.emitter().emit(p,x),this},emitAndNotify:function(p,x){return this.emit(p),this.notify(p,x),this}};uu.eventAliasesOn(RH);var SD={png:function(p){var x=this._private.renderer;return p=p||{},x.png(p)},jpg:function(p){var x=this._private.renderer;return p=p||{},p.bg=p.bg||"#fff",x.jpg(p)}};SD.jpeg=SD.jpg;var EC={layout:function(p){var x=this;if(p==null){xh("Layout options must be specified to make a layout");return}if(p.name==null){xh("A `name` must be specified to make a layout");return}var S=p.name,L=x.extension("layout",S);if(L==null){xh("No such layout `"+S+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var R;Oe(p.eles)?R=x.$(p.eles):R=p.eles!=null?p.eles:x.$();var B=new L(Ge({},p,{cy:x,eles:R}));return B}};EC.createLayout=EC.makeLayout=EC.layout;var Die={notify:function(p,x){var S=this._private;if(this.batching()){S.batchNotifications=S.batchNotifications||{};var L=S.batchNotifications[p]=S.batchNotifications[p]||this.collection();x!=null&&L.merge(x);return}if(S.notificationsEnabled){var R=this.renderer();this.destroyed()||!R||R.notify(p,x)}},notifications:function(p){var x=this._private;return p===void 0?x.notificationsEnabled:(x.notificationsEnabled=!!p,this)},noNotifications:function(p){this.notifications(!1),p(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var p=this._private;return p.batchCount==null&&(p.batchCount=0),p.batchCount===0&&(p.batchStyleEles=this.collection(),p.batchNotifications={}),p.batchCount++,this},endBatch:function(){var p=this._private;if(p.batchCount===0)return this;if(p.batchCount--,p.batchCount===0){p.batchStyleEles.updateStyle();var x=this.renderer();Object.keys(p.batchNotifications).forEach(function(S){var L=p.batchNotifications[S];L.empty()?x.notify(S):x.notify(S,L)})}return this},batch:function(p){return this.startBatch(),p(),this.endBatch(),this},batchData:function(p){var x=this;return this.batch(function(){for(var S=Object.keys(p),L=0;L<S.length;L++){var R=S[L],B=p[R],q=x.getElementById(R);q.data(B)}})}},Pie=N1({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),CD={renderTo:function(p,x,S,L){var R=this._private.renderer;return R.renderTo(p,x,S,L),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(p){var x=this,S=x.extension("renderer",p.name);if(S==null){xh("Can not initialise: No such renderer `".concat(p.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}p.wheelSensitivity!==void 0&&El("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var L=Pie(p);L.cy=x,x._private.renderer=new S(L),this.notify("init")},destroyRenderer:function(){var p=this;p.notify("destroy");var x=p.container();if(x)for(x._cyreg=null;x.childNodes.length>0;)x.removeChild(x.childNodes[0]);p._private.renderer=null,p.mutableElements().forEach(function(S){var L=S._private;L.rscratch={},L.rstyle={},L.animation.current=[],L.animation.queue=[]})},onRender:function(p){return this.on("render",p)},offRender:function(p){return this.off("render",p)}};CD.invalidateDimensions=CD.resize;var TC={collection:function(p,x){return Oe(p)?this.$(p):xe(p)?p.collection():Ve(p)?(x||(x={}),new B1(this,p,x.unique,x.removed)):new B1(this)},nodes:function(p){var x=this.$(function(S){return S.isNode()});return p?x.filter(p):x},edges:function(p){var x=this.$(function(S){return S.isEdge()});return p?x.filter(p):x},$:function(p){var x=this._private.elements;return p?x.filter(p):x.spawnSelf()},mutableElements:function(){return this._private.elements}};TC.elements=TC.filter=TC.$;var f0={},D7="t",Nie="f";f0.apply=function(_){for(var p=this,x=p._private,S=x.cy,L=S.collection(),R=0;R<_.length;R++){var B=_[R],q=p.getContextMeta(B);if(!q.empty){var W=p.getContextStyle(q),M=p.applyContextStyle(q,W,B);B._private.appliedInitStyle?p.updateTransitions(B,M.diffProps):B._private.appliedInitStyle=!0;var X=p.updateStyleHints(B);X&&L.push(B)}}return L},f0.getPropertiesDiff=function(_,p){var x=this,S=x._private.propDiffs=x._private.propDiffs||{},L=_+"-"+p,R=S[L];if(R)return R;for(var B=[],q={},W=0;W<x.length;W++){var M=x[W],X=_[W]===D7,ee=p[W]===D7,le=X!==ee,fe=M.mappedProperties.length>0;if(le||ee&&fe){var ve=void 0;le&&fe||le?ve=M.properties:fe&&(ve=M.mappedProperties);for(var be=0;be<ve.length;be++){for(var Fe=ve[be],Ae=Fe.name,$e=!1,ze=W+1;ze<x.length;ze++){var Xe=x[ze],lt=p[ze]===D7;if(lt&&($e=Xe.properties[Fe.name]!=null,$e))break}!q[Ae]&&!$e&&(q[Ae]=!0,B.push(Ae))}}}return S[L]=B,B},f0.getContextMeta=function(_){for(var p=this,x="",S,L=_._private.styleCxtKey||"",R=0;R<p.length;R++){var B=p[R],q=B.selector&&B.selector.matches(_);q?x+=D7:x+=Nie}return S=p.getPropertiesDiff(L,x),_._private.styleCxtKey=x,{key:x,diffPropNames:S,empty:S.length===0}},f0.getContextStyle=function(_){var p=_.key,x=this,S=this._private.contextStyles=this._private.contextStyles||{};if(S[p])return S[p];for(var L={_private:{key:p}},R=0;R<x.length;R++){var B=x[R],q=p[R]===D7;if(q)for(var W=0;W<B.properties.length;W++){var M=B.properties[W];L[M.name]=M}}return S[p]=L,L},f0.applyContextStyle=function(_,p,x){for(var S=this,L=_.diffPropNames,R={},B=S.types,q=0;q<L.length;q++){var W=L[q],M=p[W],X=x.pstyle(W);if(!M)if(X)X.bypass?M={name:W,deleteBypassed:!0}:M={name:W,delete:!0};else continue;if(X!==M){if(M.mapped===B.fn&&X!=null&&X.mapping!=null&&X.mapping.value===M.value){var ee=X.mapping,le=ee.fnValue=M.value(x);if(le===ee.prevFnValue)continue}var fe=R[W]={prev:X};S.applyParsedProperty(x,M),fe.next=x.pstyle(W),fe.next&&fe.next.bypass&&(fe.next=fe.next.bypassed)}}return{diffProps:R}},f0.updateStyleHints=function(_){var p=_._private,x=this,S=x.propertyGroupNames,L=x.propertyGroupKeys,R=function(Fi,ls,uo){return x.getPropertiesHash(Fi,ls,uo)},B=p.styleKey;if(_.removed())return!1;var q=p.group==="nodes",W=_._private.style;S=Object.keys(W);for(var M=0;M<L.length;M++){var X=L[M];p.styleKeys[X]=[Yt,fn]}for(var ee=function(Fi,ls){return p.styleKeys[ls][0]=$3(Fi,p.styleKeys[ls][0])},le=function(Fi,ls){return p.styleKeys[ls][1]=J5(Fi,p.styleKeys[ls][1])},fe=function(Fi,ls){ee(Fi,ls),le(Fi,ls)},ve=function(Fi,ls){for(var uo=0;uo<Fi.length;uo++){var Yo=Fi.charCodeAt(uo);ee(Yo,ls),le(Yo,ls)}},be=2e9,Fe=function(Fi){return-128<Fi&&Fi<128&&Math.floor(Fi)!==Fi?be-(Fi*1024|0):Fi},Ae=0;Ae<S.length;Ae++){var $e=S[Ae],ze=W[$e];if(ze!=null){var Xe=this.properties[$e],lt=Xe.type,st=Xe.groupKey,Ze=void 0;Xe.hashOverride!=null?Ze=Xe.hashOverride(_,ze):ze.pfValue!=null&&(Ze=ze.pfValue);var gt=Xe.enums==null?ze.value:null,tt=Ze!=null,Tt=gt!=null,Ct=tt||Tt,pt=ze.units;if(lt.number&&Ct&&!lt.multiple){var Wt=tt?Ze:gt;fe(Fe(Wt),st),!tt&&pt!=null&&ve(pt,st)}else ve(ze.strValue,st)}}for(var At=[Yt,fn],Mn=0;Mn<L.length;Mn++){var tn=L[Mn],sn=p.styleKeys[tn];At[0]=$3(sn[0],At[0]),At[1]=J5(sn[1],At[1])}p.styleKey=p7(At[0],At[1]);var Fn=p.styleKeys;p.labelDimsKey=Xb(Fn.labelDimensions);var Yn=R(_,["label"],Fn.labelDimensions);if(p.labelKey=Xb(Yn),p.labelStyleKey=Xb(Zh(Fn.commonLabel,Yn)),!q){var wr=R(_,["source-label"],Fn.labelDimensions);p.sourceLabelKey=Xb(wr),p.sourceLabelStyleKey=Xb(Zh(Fn.commonLabel,wr));var qn=R(_,["target-label"],Fn.labelDimensions);p.targetLabelKey=Xb(qn),p.targetLabelStyleKey=Xb(Zh(Fn.commonLabel,qn))}if(q){var br=p.styleKeys,Dr=br.nodeBody,Qr=br.nodeBorder,Hr=br.backgroundImage,Mr=br.compound,Pn=br.pie,Kr=[Dr,Qr,Hr,Mr,Pn].filter(function(qr){return qr!=null}).reduce(Zh,[Yt,fn]);p.nodeKey=Xb(Kr),p.hasPie=Pn!=null&&Pn[0]!==Yt&&Pn[1]!==fn}return B!==p.styleKey},f0.clearStyleHints=function(_){var p=_._private;p.styleCxtKey="",p.styleKeys={},p.styleKey=null,p.labelKey=null,p.labelStyleKey=null,p.sourceLabelKey=null,p.sourceLabelStyleKey=null,p.targetLabelKey=null,p.targetLabelStyleKey=null,p.nodeKey=null,p.hasPie=null},f0.applyParsedProperty=function(_,p){var x=this,S=p,L=_._private.style,R,B=x.types,q=x.properties[S.name].type,W=S.bypass,M=L[S.name],X=M&&M.bypass,ee=_._private,le="mapping",fe=function(Dr){return Dr==null?null:Dr.pfValue!=null?Dr.pfValue:Dr.value},ve=function(){var Dr=fe(M),Qr=fe(S);x.checkTriggers(_,S.name,Dr,Qr)};if(S&&S.name.substr(0,3)==="pie"&&El("The pie style properties are deprecated. Create charts using background images instead."),p.name==="curve-style"&&_.isEdge()&&(p.value!=="bezier"&&_.isLoop()||p.value==="haystack"&&(_.source().isParent()||_.target().isParent()))&&(S=p=this.parse(p.name,"bezier",W)),S.delete)return L[S.name]=void 0,ve(),!0;if(S.deleteBypassed)return M?M.bypass?(M.bypassed=void 0,ve(),!0):!1:(ve(),!0);if(S.deleteBypass)return M?M.bypass?(L[S.name]=M.bypassed,ve(),!0):!1:(ve(),!0);var be=function(){El("Do not assign mappings to elements without corresponding data (i.e. ele `"+_.id()+"` has no mapping for property `"+S.name+"` with data field `"+S.field+"`); try a `["+S.field+"]` selector to limit scope to elements with `"+S.field+"` defined")};switch(S.mapped){case B.mapData:{for(var Fe=S.field.split("."),Ae=ee.data,$e=0;$e<Fe.length&&Ae;$e++){var ze=Fe[$e];Ae=Ae[ze]}if(Ae==null)return be(),!1;var Xe;if(ge(Ae)){var lt=S.fieldMax-S.fieldMin;lt===0?Xe=0:Xe=(Ae-S.fieldMin)/lt}else return El("Do not use continuous mappers without specifying numeric data (i.e. `"+S.field+": "+Ae+"` for `"+_.id()+"` is non-numeric)"),!1;if(Xe<0?Xe=0:Xe>1&&(Xe=1),q.color){var st=S.valueMin[0],Ze=S.valueMax[0],gt=S.valueMin[1],tt=S.valueMax[1],Tt=S.valueMin[2],Ct=S.valueMax[2],pt=S.valueMin[3]==null?1:S.valueMin[3],Wt=S.valueMax[3]==null?1:S.valueMax[3],At=[Math.round(st+(Ze-st)*Xe),Math.round(gt+(tt-gt)*Xe),Math.round(Tt+(Ct-Tt)*Xe),Math.round(pt+(Wt-pt)*Xe)];R={bypass:S.bypass,name:S.name,value:At,strValue:"rgb("+At[0]+", "+At[1]+", "+At[2]+")"}}else if(q.number){var Mn=S.valueMin+(S.valueMax-S.valueMin)*Xe;R=this.parse(S.name,Mn,S.bypass,le)}else return!1;if(!R)return be(),!1;R.mapping=S,S=R;break}case B.data:{for(var tn=S.field.split("."),sn=ee.data,Fn=0;Fn<tn.length&&sn;Fn++){var Yn=tn[Fn];sn=sn[Yn]}if(sn!=null&&(R=this.parse(S.name,sn,S.bypass,le)),!R)return be(),!1;R.mapping=S,S=R;break}case B.fn:{var wr=S.value,qn=S.fnValue!=null?S.fnValue:wr(_);if(S.prevFnValue=qn,qn==null)return El("Custom function mappers may not return null (i.e. `"+S.name+"` for ele `"+_.id()+"` is null)"),!1;if(R=this.parse(S.name,qn,S.bypass,le),!R)return El("Custom function mappers may not return invalid values for the property type (i.e. `"+S.name+"` for ele `"+_.id()+"` is invalid)"),!1;R.mapping=Qb(S),S=R;break}case void 0:break;default:return!1}return W?(X?S.bypassed=M.bypassed:S.bypassed=M,L[S.name]=S):X?M.bypassed=S:L[S.name]=S,ve(),!0},f0.cleanElements=function(_,p){for(var x=0;x<_.length;x++){var S=_[x];if(this.clearStyleHints(S),S.dirtyCompoundBoundsCache(),S.dirtyBoundingBoxCache(),!p)S._private.style={};else for(var L=S._private.style,R=Object.keys(L),B=0;B<R.length;B++){var q=R[B],W=L[q];W!=null&&(W.bypass?W.bypassed=null:L[q]=null)}}},f0.update=function(){var _=this._private.cy,p=_.mutableElements();p.updateStyle()},f0.updateTransitions=function(_,p){var x=this,S=_._private,L=_.pstyle("transition-property").value,R=_.pstyle("transition-duration").pfValue,B=_.pstyle("transition-delay").pfValue;if(L.length>0&&R>0){for(var q={},W=!1,M=0;M<L.length;M++){var X=L[M],ee=_.pstyle(X),le=p[X];if(le){var fe=le.prev,ve=fe,be=le.next!=null?le.next:ee,Fe=!1,Ae=void 0,$e=1e-6;ve&&(ge(ve.pfValue)&&ge(be.pfValue)?(Fe=be.pfValue-ve.pfValue,Ae=ve.pfValue+$e*Fe):ge(ve.value)&&ge(be.value)?(Fe=be.value-ve.value,Ae=ve.value+$e*Fe):Ve(ve.value)&&Ve(be.value)&&(Fe=ve.value[0]!==be.value[0]||ve.value[1]!==be.value[1]||ve.value[2]!==be.value[2],Ae=ve.strValue),Fe&&(q[X]=be.strValue,this.applyBypass(_,X,Ae),W=!0))}}if(!W)return;S.transitioning=!0,new Nx(function(ze){B>0?_.delayAnimation(B).play().promise().then(ze):ze()}).then(function(){return _.animation({style:q,duration:R,easing:_.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){x.removeBypasses(_,L),_.emitAndNotify("style"),S.transitioning=!1})}else S.transitioning&&(this.removeBypasses(_,L),_.emitAndNotify("style"),S.transitioning=!1)},f0.checkTrigger=function(_,p,x,S,L,R){var B=this.properties[p],q=L(B);q!=null&&q(x,S)&&R(B)},f0.checkZOrderTrigger=function(_,p,x,S){var L=this;this.checkTrigger(_,p,x,S,function(R){return R.triggersZOrder},function(){L._private.cy.notify("zorder",_)})},f0.checkBoundsTrigger=function(_,p,x,S){this.checkTrigger(_,p,x,S,function(L){return L.triggersBounds},function(L){_.dirtyCompoundBoundsCache(),_.dirtyBoundingBoxCache(),L.triggersBoundsOfParallelBeziers&&(p==="curve-style"&&(x==="bezier"||S==="bezier")||p==="display"&&(x==="none"||S==="none"))&&_.parallelEdges().forEach(function(R){R.isBundledBezier()&&R.dirtyBoundingBoxCache()})})},f0.checkTriggers=function(_,p,x,S){_.dirtyStyleCache(),this.checkZOrderTrigger(_,p,x,S),this.checkBoundsTrigger(_,p,x,S)};var P7={};P7.applyBypass=function(_,p,x,S){var L=this,R=[],B=!0;if(p==="*"||p==="**"){if(x!==void 0)for(var q=0;q<L.properties.length;q++){var W=L.properties[q],M=W.name,X=this.parse(M,x,!0);X&&R.push(X)}}else if(Oe(p)){var ee=this.parse(p,x,!0);ee&&R.push(ee)}else if(ke(p)){var le=p;S=x;for(var fe=Object.keys(le),ve=0;ve<fe.length;ve++){var be=fe[ve],Fe=le[be];if(Fe===void 0&&(Fe=le[On(be)]),Fe!==void 0){var Ae=this.parse(be,Fe,!0);Ae&&R.push(Ae)}}}else return!1;if(R.length===0)return!1;for(var $e=!1,ze=0;ze<_.length;ze++){for(var Xe=_[ze],lt={},st=void 0,Ze=0;Ze<R.length;Ze++){var gt=R[Ze];if(S){var tt=Xe.pstyle(gt.name);st=lt[gt.name]={prev:tt}}$e=this.applyParsedProperty(Xe,Qb(gt))||$e,S&&(st.next=Xe.pstyle(gt.name))}$e&&this.updateStyleHints(Xe),S&&this.updateTransitions(Xe,lt,B)}return $e},P7.overrideBypass=function(_,p,x){p=_n(p);for(var S=0;S<_.length;S++){var L=_[S],R=L._private.style[p],B=this.properties[p].type,q=B.color,W=B.mutiple,M=R?R.pfValue!=null?R.pfValue:R.value:null;!R||!R.bypass?this.applyBypass(L,p,x):(R.value=x,R.pfValue!=null&&(R.pfValue=x),q?R.strValue="rgb("+x.join(",")+")":W?R.strValue=x.join(" "):R.strValue=""+x,this.updateStyleHints(L)),this.checkTriggers(L,p,M,x)}},P7.removeAllBypasses=function(_,p){return this.removeBypasses(_,this.propertyNames,p)},P7.removeBypasses=function(_,p,x){for(var S=!0,L=0;L<_.length;L++){for(var R=_[L],B={},q=0;q<p.length;q++){var W=p[q],M=this.properties[W],X=R.pstyle(M.name);if(!(!X||!X.bypass)){var ee="",le=this.parse(W,ee,!0),fe=B[M.name]={prev:X};this.applyParsedProperty(R,le),fe.next=R.pstyle(M.name)}}this.updateStyleHints(R),x&&this.updateTransitions(R,B,S)}};var AD={};AD.getEmSizeInPixels=function(){var _=this.containerCss("font-size");return _!=null?parseFloat(_):1},AD.containerCss=function(_){var p=this._private.cy,x=p.container();if(G&&x&&G.getComputedStyle)return G.getComputedStyle(x).getPropertyValue(_)};var e2={};e2.getRenderedStyle=function(_,p){return p?this.getStylePropertyValue(_,p,!0):this.getRawStyle(_,!0)},e2.getRawStyle=function(_,p){var x=this;if(_=_[0],_){for(var S={},L=0;L<x.properties.length;L++){var R=x.properties[L],B=x.getStylePropertyValue(_,R.name,p);B!=null&&(S[R.name]=B,S[On(R.name)]=B)}return S}},e2.getIndexedStyle=function(_,p,x,S){var L=_.pstyle(p)[x][S];return L??_.cy().style().getDefaultProperty(p)[x][0]},e2.getStylePropertyValue=function(_,p,x){var S=this;if(_=_[0],_){var L=S.properties[p];L.alias&&(L=L.pointsTo);var R=L.type,B=_.pstyle(L.name);if(B){var q=B.value,W=B.units,M=B.strValue;if(x&&R.number&&q!=null&&ge(q)){var X=_.cy().zoom(),ee=function(Fe){return Fe*X},le=function(Fe,Ae){return ee(Fe)+Ae},fe=Ve(q),ve=fe?W.every(function(be){return be!=null}):W!=null;return ve?fe?q.map(function(be,Fe){return le(be,W[Fe])}).join(" "):le(q,W):fe?q.map(function(be){return Oe(be)?be:""+ee(be)}).join(" "):""+ee(q)}else if(M!=null)return M}return null}},e2.getAnimationStartStyle=function(_,p){for(var x={},S=0;S<p.length;S++){var L=p[S],R=L.name,B=_.pstyle(R);B!==void 0&&(ke(B)?B=this.parse(R,B.strValue):B=this.parse(R,B)),B&&(x[R]=B)}return x},e2.getPropsList=function(_){var p=this,x=[],S=_,L=p.properties;if(S)for(var R=Object.keys(S),B=0;B<R.length;B++){var q=R[B],W=S[q],M=L[q]||L[_n(q)],X=this.parse(M.name,W);X&&x.push(X)}return x},e2.getNonDefaultPropertiesHash=function(_,p,x){var S=x.slice(),L,R,B,q,W,M;for(W=0;W<p.length;W++)if(L=p[W],R=_.pstyle(L,!1),R!=null)if(R.pfValue!=null)S[0]=$3(q,S[0]),S[1]=J5(q,S[1]);else for(B=R.strValue,M=0;M<B.length;M++)q=B.charCodeAt(M),S[0]=$3(q,S[0]),S[1]=J5(q,S[1]);return S},e2.getPropertiesHash=e2.getNonDefaultPropertiesHash;var SC={};SC.appendFromJson=function(_){for(var p=this,x=0;x<_.length;x++){var S=_[x],L=S.selector,R=S.style||S.css,B=Object.keys(R);p.selector(L);for(var q=0;q<B.length;q++){var W=B[q],M=R[W];p.css(W,M)}}return p},SC.fromJson=function(_){var p=this;return p.resetToDefault(),p.appendFromJson(_),p},SC.json=function(){for(var _=[],p=this.defaultLength;p<this.length;p++){for(var x=this[p],S=x.selector,L=x.properties,R={},B=0;B<L.length;B++){var q=L[B];R[q.name]=q.strValue}_.push({selector:S?S.toString():"core",style:R})}return _};var MD={};MD.appendFromString=function(_){var p=this,x=this,S=""+_,L,R,B;S=S.replace(/[/][*](\s|.)+?[*][/]/g,"");function q(){S.length>L.length?S=S.substr(L.length):S=""}function W(){R.length>B.length?R=R.substr(B.length):R=""}for(;;){var M=S.match(/^\s*$/);if(M)break;var X=S.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!X){El("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+S);break}L=X[0];var ee=X[1];if(ee!=="core"){var le=new G3(ee);if(le.invalid){El("Skipping parsing of block: Invalid selector found in string stylesheet: "+ee),q();continue}}var fe=X[2],ve=!1;R=fe;for(var be=[];;){var Fe=R.match(/^\s*$/);if(Fe)break;var Ae=R.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!Ae){El("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+fe),ve=!0;break}B=Ae[0];var $e=Ae[1],ze=Ae[2],Xe=p.properties[$e];if(!Xe){El("Skipping property: Invalid property name in: "+B),W();continue}var lt=x.parse($e,ze);if(!lt){El("Skipping property: Invalid property definition in: "+B),W();continue}be.push({name:$e,val:ze}),W()}if(ve){q();break}x.selector(ee);for(var st=0;st<be.length;st++){var Ze=be[st];x.css(Ze.name,Ze.val)}q()}return x},MD.fromString=function(_){var p=this;return p.resetToDefault(),p.appendFromString(_),p};var F1={};(function(){var _=Ft,p=Pt,x=et,S=ht,L=Ut,R=function(Kr){return"^"+Kr+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},B=function(Kr){var qr=_+"|\\w+|"+p+"|"+x+"|"+S+"|"+L;return"^"+Kr+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+_+")\\s*\\,\\s*("+_+")\\s*,\\s*("+qr+")\\s*\\,\\s*("+qr+")\\)$"},q=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];F1.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:R("data")},layoutData:{mapping:!0,regex:R("layoutData")},scratch:{mapping:!0,regex:R("scratch")},mapData:{mapping:!0,regex:B("mapData")},mapLayoutData:{mapping:!0,regex:B("mapLayoutData")},mapScratch:{mapping:!0,regex:B("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:q,singleRegexMatchValue:!0},urls:{regexes:q,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(Kr,qr){switch(Kr.length){case 2:return qr[0]!=="deg"&&qr[0]!=="rad"&&qr[1]!=="deg"&&qr[1]!=="rad";case 1:return Oe(Kr[0])||qr[0]==="deg"||qr[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+_+")\\s*,\\s*("+_+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+_+")\\s*,\\s*("+_+")\\s*,\\s*("+_+")\\s*,\\s*("+_+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(Kr){var qr=Kr.length;return qr===1||qr===2||qr===4}}};var W={zeroNonZero:function(Kr,qr){return(Kr==null||qr==null)&&Kr!==qr||Kr==0&&qr!=0?!0:Kr!=0&&qr==0},any:function(Kr,qr){return Kr!=qr},emptyNonEmpty:function(Kr,qr){var Fi=Ee(Kr),ls=Ee(qr);return Fi&&!ls||!Fi&&ls}},M=F1.types,X=[{name:"label",type:M.text,triggersBounds:W.any,triggersZOrder:W.emptyNonEmpty},{name:"text-rotation",type:M.textRotation,triggersBounds:W.any},{name:"text-margin-x",type:M.bidirectionalSize,triggersBounds:W.any},{name:"text-margin-y",type:M.bidirectionalSize,triggersBounds:W.any}],ee=[{name:"source-label",type:M.text,triggersBounds:W.any},{name:"source-text-rotation",type:M.textRotation,triggersBounds:W.any},{name:"source-text-margin-x",type:M.bidirectionalSize,triggersBounds:W.any},{name:"source-text-margin-y",type:M.bidirectionalSize,triggersBounds:W.any},{name:"source-text-offset",type:M.size,triggersBounds:W.any}],le=[{name:"target-label",type:M.text,triggersBounds:W.any},{name:"target-text-rotation",type:M.textRotation,triggersBounds:W.any},{name:"target-text-margin-x",type:M.bidirectionalSize,triggersBounds:W.any},{name:"target-text-margin-y",type:M.bidirectionalSize,triggersBounds:W.any},{name:"target-text-offset",type:M.size,triggersBounds:W.any}],fe=[{name:"font-family",type:M.fontFamily,triggersBounds:W.any},{name:"font-style",type:M.fontStyle,triggersBounds:W.any},{name:"font-weight",type:M.fontWeight,triggersBounds:W.any},{name:"font-size",type:M.size,triggersBounds:W.any},{name:"text-transform",type:M.textTransform,triggersBounds:W.any},{name:"text-wrap",type:M.textWrap,triggersBounds:W.any},{name:"text-overflow-wrap",type:M.textOverflowWrap,triggersBounds:W.any},{name:"text-max-width",type:M.size,triggersBounds:W.any},{name:"text-outline-width",type:M.size,triggersBounds:W.any},{name:"line-height",type:M.positiveNumber,triggersBounds:W.any}],ve=[{name:"text-valign",type:M.valign,triggersBounds:W.any},{name:"text-halign",type:M.halign,triggersBounds:W.any},{name:"color",type:M.color},{name:"text-outline-color",type:M.color},{name:"text-outline-opacity",type:M.zeroOneNumber},{name:"text-background-color",type:M.color},{name:"text-background-opacity",type:M.zeroOneNumber},{name:"text-background-padding",type:M.size,triggersBounds:W.any},{name:"text-border-opacity",type:M.zeroOneNumber},{name:"text-border-color",type:M.color},{name:"text-border-width",type:M.size,triggersBounds:W.any},{name:"text-border-style",type:M.borderStyle,triggersBounds:W.any},{name:"text-background-shape",type:M.textBackgroundShape,triggersBounds:W.any},{name:"text-justification",type:M.justification}],be=[{name:"events",type:M.bool},{name:"text-events",type:M.bool}],Fe=[{name:"display",type:M.display,triggersZOrder:W.any,triggersBounds:W.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:M.visibility,triggersZOrder:W.any},{name:"opacity",type:M.zeroOneNumber,triggersZOrder:W.zeroNonZero},{name:"text-opacity",type:M.zeroOneNumber},{name:"min-zoomed-font-size",type:M.size},{name:"z-compound-depth",type:M.zCompoundDepth,triggersZOrder:W.any},{name:"z-index-compare",type:M.zIndexCompare,triggersZOrder:W.any},{name:"z-index",type:M.nonNegativeInt,triggersZOrder:W.any}],Ae=[{name:"overlay-padding",type:M.size,triggersBounds:W.any},{name:"overlay-color",type:M.color},{name:"overlay-opacity",type:M.zeroOneNumber,triggersBounds:W.zeroNonZero},{name:"overlay-shape",type:M.overlayShape,triggersBounds:W.any}],$e=[{name:"underlay-padding",type:M.size,triggersBounds:W.any},{name:"underlay-color",type:M.color},{name:"underlay-opacity",type:M.zeroOneNumber,triggersBounds:W.zeroNonZero},{name:"underlay-shape",type:M.overlayShape,triggersBounds:W.any}],ze=[{name:"transition-property",type:M.propList},{name:"transition-duration",type:M.time},{name:"transition-delay",type:M.time},{name:"transition-timing-function",type:M.easing}],Xe=function(Kr,qr){return qr.value==="label"?-Kr.poolIndex():qr.pfValue},lt=[{name:"height",type:M.nodeSize,triggersBounds:W.any,hashOverride:Xe},{name:"width",type:M.nodeSize,triggersBounds:W.any,hashOverride:Xe},{name:"shape",type:M.nodeShape,triggersBounds:W.any},{name:"shape-polygon-points",type:M.polygonPointList,triggersBounds:W.any},{name:"background-color",type:M.color},{name:"background-fill",type:M.fill},{name:"background-opacity",type:M.zeroOneNumber},{name:"background-blacken",type:M.nOneOneNumber},{name:"background-gradient-stop-colors",type:M.colors},{name:"background-gradient-stop-positions",type:M.percentages},{name:"background-gradient-direction",type:M.gradientDirection},{name:"padding",type:M.sizeMaybePercent,triggersBounds:W.any},{name:"padding-relative-to",type:M.paddingRelativeTo,triggersBounds:W.any},{name:"bounds-expansion",type:M.boundsExpansion,triggersBounds:W.any}],st=[{name:"border-color",type:M.color},{name:"border-opacity",type:M.zeroOneNumber},{name:"border-width",type:M.size,triggersBounds:W.any},{name:"border-style",type:M.borderStyle}],Ze=[{name:"background-image",type:M.urls},{name:"background-image-crossorigin",type:M.bgCrossOrigin},{name:"background-image-opacity",type:M.zeroOneNumbers},{name:"background-image-containment",type:M.bgContainment},{name:"background-image-smoothing",type:M.bools},{name:"background-position-x",type:M.bgPos},{name:"background-position-y",type:M.bgPos},{name:"background-width-relative-to",type:M.bgRelativeTo},{name:"background-height-relative-to",type:M.bgRelativeTo},{name:"background-repeat",type:M.bgRepeat},{name:"background-fit",type:M.bgFit},{name:"background-clip",type:M.bgClip},{name:"background-width",type:M.bgWH},{name:"background-height",type:M.bgWH},{name:"background-offset-x",type:M.bgPos},{name:"background-offset-y",type:M.bgPos}],gt=[{name:"position",type:M.position,triggersBounds:W.any},{name:"compound-sizing-wrt-labels",type:M.compoundIncludeLabels,triggersBounds:W.any},{name:"min-width",type:M.size,triggersBounds:W.any},{name:"min-width-bias-left",type:M.sizeMaybePercent,triggersBounds:W.any},{name:"min-width-bias-right",type:M.sizeMaybePercent,triggersBounds:W.any},{name:"min-height",type:M.size,triggersBounds:W.any},{name:"min-height-bias-top",type:M.sizeMaybePercent,triggersBounds:W.any},{name:"min-height-bias-bottom",type:M.sizeMaybePercent,triggersBounds:W.any}],tt=[{name:"line-style",type:M.lineStyle},{name:"line-color",type:M.color},{name:"line-fill",type:M.fill},{name:"line-cap",type:M.lineCap},{name:"line-opacity",type:M.zeroOneNumber},{name:"line-dash-pattern",type:M.numbers},{name:"line-dash-offset",type:M.number},{name:"line-gradient-stop-colors",type:M.colors},{name:"line-gradient-stop-positions",type:M.percentages},{name:"curve-style",type:M.curveStyle,triggersBounds:W.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:M.zeroOneNumber,triggersBounds:W.any},{name:"source-endpoint",type:M.edgeEndpoint,triggersBounds:W.any},{name:"target-endpoint",type:M.edgeEndpoint,triggersBounds:W.any},{name:"control-point-step-size",type:M.size,triggersBounds:W.any},{name:"control-point-distances",type:M.bidirectionalSizes,triggersBounds:W.any},{name:"control-point-weights",type:M.numbers,triggersBounds:W.any},{name:"segment-distances",type:M.bidirectionalSizes,triggersBounds:W.any},{name:"segment-weights",type:M.numbers,triggersBounds:W.any},{name:"taxi-turn",type:M.bidirectionalSizeMaybePercent,triggersBounds:W.any},{name:"taxi-turn-min-distance",type:M.size,triggersBounds:W.any},{name:"taxi-direction",type:M.axisDirection,triggersBounds:W.any},{name:"edge-distances",type:M.edgeDistances,triggersBounds:W.any},{name:"arrow-scale",type:M.positiveNumber,triggersBounds:W.any},{name:"loop-direction",type:M.angle,triggersBounds:W.any},{name:"loop-sweep",type:M.angle,triggersBounds:W.any},{name:"source-distance-from-node",type:M.size,triggersBounds:W.any},{name:"target-distance-from-node",type:M.size,triggersBounds:W.any}],Tt=[{name:"ghost",type:M.bool,triggersBounds:W.any},{name:"ghost-offset-x",type:M.bidirectionalSize,triggersBounds:W.any},{name:"ghost-offset-y",type:M.bidirectionalSize,triggersBounds:W.any},{name:"ghost-opacity",type:M.zeroOneNumber}],Ct=[{name:"selection-box-color",type:M.color},{name:"selection-box-opacity",type:M.zeroOneNumber},{name:"selection-box-border-color",type:M.color},{name:"selection-box-border-width",type:M.size},{name:"active-bg-color",type:M.color},{name:"active-bg-opacity",type:M.zeroOneNumber},{name:"active-bg-size",type:M.size},{name:"outside-texture-bg-color",type:M.color},{name:"outside-texture-bg-opacity",type:M.zeroOneNumber}],pt=[];F1.pieBackgroundN=16,pt.push({name:"pie-size",type:M.sizeMaybePercent});for(var Wt=1;Wt<=F1.pieBackgroundN;Wt++)pt.push({name:"pie-"+Wt+"-background-color",type:M.color}),pt.push({name:"pie-"+Wt+"-background-size",type:M.percent}),pt.push({name:"pie-"+Wt+"-background-opacity",type:M.zeroOneNumber});var At=[],Mn=F1.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:M.arrowShape,triggersBounds:W.any},{name:"arrow-color",type:M.color},{name:"arrow-fill",type:M.arrowFill}].forEach(function(Pn){Mn.forEach(function(Kr){var qr=Kr+"-"+Pn.name,Fi=Pn.type,ls=Pn.triggersBounds;At.push({name:qr,type:Fi,triggersBounds:ls})})},{});var tn=F1.properties=[].concat(be,ze,Fe,Ae,$e,Tt,ve,fe,X,ee,le,lt,st,Ze,pt,gt,tt,At,Ct),sn=F1.propertyGroups={behavior:be,transition:ze,visibility:Fe,overlay:Ae,underlay:$e,ghost:Tt,commonLabel:ve,labelDimensions:fe,mainLabel:X,sourceLabel:ee,targetLabel:le,nodeBody:lt,nodeBorder:st,backgroundImage:Ze,pie:pt,compound:gt,edgeLine:tt,edgeArrow:At,core:Ct},Fn=F1.propertyGroupNames={},Yn=F1.propertyGroupKeys=Object.keys(sn);Yn.forEach(function(Pn){Fn[Pn]=sn[Pn].map(function(Kr){return Kr.name}),sn[Pn].forEach(function(Kr){return Kr.groupKey=Pn})});var wr=F1.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];F1.propertyNames=tn.map(function(Pn){return Pn.name});for(var qn=0;qn<tn.length;qn++){var br=tn[qn];tn[br.name]=br}for(var Dr=0;Dr<wr.length;Dr++){var Qr=wr[Dr],Hr=tn[Qr.pointsTo],Mr={name:Qr.name,alias:!0,pointsTo:Hr};tn.push(Mr),tn[Qr.name]=Mr}})(),F1.getDefaultProperty=function(_){return this.getDefaultProperties()[_]},F1.getDefaultProperties=function(){var _=this._private;if(_.defaultProperties!=null)return _.defaultProperties;for(var p=Ge({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(W,M){for(var X=1;X<=F1.pieBackgroundN;X++){var ee=M.name.replace("{{i}}",X),le=M.value;W[ee]=le}return W},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function(W,M){return F1.arrowPrefixes.forEach(function(X){var ee=X+"-"+M.name,le=M.value;W[ee]=le}),W},{})),x={},S=0;S<this.properties.length;S++){var L=this.properties[S];if(!L.pointsTo){var R=L.name,B=p[R],q=this.parse(R,B);x[R]=q}}return _.defaultProperties=x,_.defaultProperties},F1.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var CC={};CC.parse=function(_,p,x,S){var L=this;if(De(p))return L.parseImplWarn(_,p,x,S);var R=S==="mapping"||S===!0||S===!1||S==null?"dontcare":S,B=x?"t":"f",q=""+p,W=Sx(_,q,B,R),M=L.propCache=L.propCache||[],X;return(X=M[W])||(X=M[W]=L.parseImplWarn(_,p,x,S)),(x||S==="mapping")&&(X=Qb(X),X&&(X.value=Qb(X.value))),X},CC.parseImplWarn=function(_,p,x,S){var L=this.parseImpl(_,p,x,S);return!L&&p!=null&&El("The style property `".concat(_,": ").concat(p,"` is invalid")),L&&(L.name==="width"||L.name==="height")&&p==="label"&&El("The style value of `label` is deprecated for `"+L.name+"`"),L},CC.parseImpl=function(_,p,x,S){var L=this;_=_n(_);var R=L.properties[_],B=p,q=L.types;if(!R||p===void 0)return null;R.alias&&(R=R.pointsTo,_=R.name);var W=Oe(p);W&&(p=p.trim());var M=R.type;if(!M)return null;if(x&&(p===""||p===null))return{name:_,value:p,bypass:!0,deleteBypass:!0};if(De(p))return{name:_,value:p,strValue:"fn",mapped:q.fn,bypass:x};var X,ee;if(!(!W||S||p.length<7||p[1]!=="a")){if(p.length>=7&&p[0]==="d"&&(X=new RegExp(q.data.regex).exec(p))){if(x)return!1;var le=q.data;return{name:_,value:X,strValue:""+p,mapped:le,field:X[1],bypass:x}}else if(p.length>=10&&p[0]==="m"&&(ee=new RegExp(q.mapData.regex).exec(p))){if(x||M.multiple)return!1;var fe=q.mapData;if(!(M.color||M.number))return!1;var ve=this.parse(_,ee[4]);if(!ve||ve.mapped)return!1;var be=this.parse(_,ee[5]);if(!be||be.mapped)return!1;if(ve.pfValue===be.pfValue||ve.strValue===be.strValue)return El("`"+_+": "+p+"` is not a valid mapper because the output range is zero; converting to `"+_+": "+ve.strValue+"`"),this.parse(_,ve.strValue);if(M.color){var Fe=ve.value,Ae=be.value,$e=Fe[0]===Ae[0]&&Fe[1]===Ae[1]&&Fe[2]===Ae[2]&&(Fe[3]===Ae[3]||(Fe[3]==null||Fe[3]===1)&&(Ae[3]==null||Ae[3]===1));if($e)return!1}return{name:_,value:ee,strValue:""+p,mapped:fe,field:ee[1],fieldMin:parseFloat(ee[2]),fieldMax:parseFloat(ee[3]),valueMin:ve.value,valueMax:be.value,bypass:x}}}if(M.multiple&&S!=="multiple"){var ze;if(W?ze=p.split(/\s+/):Ve(p)?ze=p:ze=[p],M.evenMultiple&&ze.length%2!==0)return null;for(var Xe=[],lt=[],st=[],Ze="",gt=!1,tt=0;tt<ze.length;tt++){var Tt=L.parse(_,ze[tt],x,"multiple");gt=gt||Oe(Tt.value),Xe.push(Tt.value),st.push(Tt.pfValue!=null?Tt.pfValue:Tt.value),lt.push(Tt.units),Ze+=(tt>0?" ":"")+Tt.strValue}return M.validate&&!M.validate(Xe,lt)?null:M.singleEnum&&gt?Xe.length===1&&Oe(Xe[0])?{name:_,value:Xe[0],strValue:Xe[0],bypass:x}:null:{name:_,value:Xe,pfValue:st,strValue:Ze,bypass:x,units:lt}}var Ct=function(){for(var qr=0;qr<M.enums.length;qr++){var Fi=M.enums[qr];if(Fi===p)return{name:_,value:p,strValue:""+p,bypass:x}}return null};if(M.number){var pt,Wt="px";if(M.units&&(pt=M.units),M.implicitUnits&&(Wt=M.implicitUnits),!M.unitless)if(W){var At="px|em"+(M.allowPercent?"|\\%":"");pt&&(At=pt);var Mn=p.match("^("+Ft+")("+At+")?$");Mn&&(p=Mn[1],pt=Mn[2]||Wt)}else(!pt||M.implicitUnits)&&(pt=Wt);if(p=parseFloat(p),isNaN(p)&&M.enums===void 0)return null;if(isNaN(p)&&M.enums!==void 0)return p=B,Ct();if(M.integer&&!Me(p)||M.min!==void 0&&(p<M.min||M.strictMin&&p===M.min)||M.max!==void 0&&(p>M.max||M.strictMax&&p===M.max))return null;var tn={name:_,value:p,strValue:""+p+(pt||""),units:pt,bypass:x};return M.unitless||pt!=="px"&&pt!=="em"?tn.pfValue=p:tn.pfValue=pt==="px"||!pt?p:this.getEmSizeInPixels()*p,(pt==="ms"||pt==="s")&&(tn.pfValue=pt==="ms"?p:1e3*p),(pt==="deg"||pt==="rad")&&(tn.pfValue=pt==="rad"?p:Lee(p)),pt==="%"&&(tn.pfValue=p/100),tn}else if(M.propList){var sn=[],Fn=""+p;if(Fn!=="none"){for(var Yn=Fn.split(/\s*,\s*|\s+/),wr=0;wr<Yn.length;wr++){var qn=Yn[wr].trim();L.properties[qn]?sn.push(qn):El("`"+qn+"` is not a valid property name")}if(sn.length===0)return null}return{name:_,value:sn,strValue:sn.length===0?"none":sn.join(" "),bypass:x}}else if(M.color){var br=Cr(p);return br?{name:_,value:br,pfValue:br,strValue:"rgb("+br[0]+","+br[1]+","+br[2]+")",bypass:x}:null}else if(M.regex||M.regexes){if(M.enums){var Dr=Ct();if(Dr)return Dr}for(var Qr=M.regexes?M.regexes:[M.regex],Hr=0;Hr<Qr.length;Hr++){var Mr=new RegExp(Qr[Hr]),Pn=Mr.exec(p);if(Pn)return{name:_,value:M.singleRegexMatchValue?Pn[1]:Pn,strValue:""+p,bypass:x}}return null}else return M.string?{name:_,value:""+p,strValue:""+p,bypass:x}:M.enums?Ct():null};var d0=function _(p){if(!(this instanceof _))return new _(p);if(!Qe(p)){xh("A style must have a core reference");return}this._private={cy:p,coreStyle:{}},this.length=0,this.resetToDefault()},g0=d0.prototype;g0.instanceString=function(){return"style"},g0.clear=function(){for(var _=this._private,p=_.cy,x=p.elements(),S=0;S<this.length;S++)this[S]=void 0;return this.length=0,_.contextStyles={},_.propDiffs={},this.cleanElements(x,!0),x.forEach(function(L){var R=L[0]._private;R.styleDirty=!0,R.appliedInitStyle=!1}),this},g0.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},g0.core=function(_){return this._private.coreStyle[_]||this.getDefaultProperty(_)},g0.selector=function(_){var p=_==="core"?null:new G3(_),x=this.length++;return this[x]={selector:p,properties:[],mappedProperties:[],index:x},this},g0.css=function(){var _=this,p=arguments;if(p.length===1)for(var x=p[0],S=0;S<_.properties.length;S++){var L=_.properties[S],R=x[L.name];R===void 0&&(R=x[On(L.name)]),R!==void 0&&this.cssRule(L.name,R)}else p.length===2&&this.cssRule(p[0],p[1]);return this},g0.style=g0.css,g0.cssRule=function(_,p){var x=this.parse(_,p);if(x){var S=this.length-1;this[S].properties.push(x),this[S].properties[x.name]=x,x.name.match(/pie-(\d+)-background-size/)&&x.value&&(this._private.hasPie=!0),x.mapped&&this[S].mappedProperties.push(x);var L=!this[S].selector;L&&(this._private.coreStyle[x.name]=x)}return this},g0.append=function(_){return Ce(_)?_.appendToStyle(this):Ve(_)?this.appendFromJson(_):Oe(_)&&this.appendFromString(_),this},d0.fromJson=function(_,p){var x=new d0(_);return x.fromJson(p),x},d0.fromString=function(_,p){return new d0(_).fromString(p)},[f0,P7,AD,e2,SC,MD,F1,CC].forEach(function(_){Ge(g0,_)}),d0.types=g0.types,d0.properties=g0.properties,d0.propertyGroups=g0.propertyGroups,d0.propertyGroupNames=g0.propertyGroupNames,d0.propertyGroupKeys=g0.propertyGroupKeys;var Rie={style:function(p){if(p){var x=this.setStyle(p);x.update()}return this._private.style},setStyle:function(p){var x=this._private;return Ce(p)?x.style=p.generateStyle(this):Ve(p)?x.style=d0.fromJson(this,p):Oe(p)?x.style=d0.fromString(this,p):x.style=d0(this),x.style},updateStyle:function(){this.mutableElements().updateStyle()}},Bie="single",o6={autolock:function(p){if(p!==void 0)this._private.autolock=!!p;else return this._private.autolock;return this},autoungrabify:function(p){if(p!==void 0)this._private.autoungrabify=!!p;else return this._private.autoungrabify;return this},autounselectify:function(p){if(p!==void 0)this._private.autounselectify=!!p;else return this._private.autounselectify;return this},selectionType:function(p){var x=this._private;if(x.selectionType==null&&(x.selectionType=Bie),p!==void 0)(p==="additive"||p==="single")&&(x.selectionType=p);else return x.selectionType;return this},panningEnabled:function(p){if(p!==void 0)this._private.panningEnabled=!!p;else return this._private.panningEnabled;return this},userPanningEnabled:function(p){if(p!==void 0)this._private.userPanningEnabled=!!p;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(p){if(p!==void 0)this._private.zoomingEnabled=!!p;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(p){if(p!==void 0)this._private.userZoomingEnabled=!!p;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(p){if(p!==void 0)this._private.boxSelectionEnabled=!!p;else return this._private.boxSelectionEnabled;return this},pan:function(){var p=arguments,x=this._private.pan,S,L,R,B,q;switch(p.length){case 0:return x;case 1:if(Oe(p[0]))return S=p[0],x[S];if(ke(p[0])){if(!this._private.panningEnabled)return this;R=p[0],B=R.x,q=R.y,ge(B)&&(x.x=B),ge(q)&&(x.y=q),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;S=p[0],L=p[1],(S==="x"||S==="y")&&ge(L)&&(x[S]=L),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(p,x){var S=arguments,L=this._private.pan,R,B,q,W,M;if(!this._private.panningEnabled)return this;switch(S.length){case 1:ke(p)&&(q=S[0],W=q.x,M=q.y,ge(W)&&(L.x+=W),ge(M)&&(L.y+=M),this.emit("pan viewport"));break;case 2:R=p,B=x,(R==="x"||R==="y")&&ge(B)&&(L[R]+=B),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(p,x){var S=this.getFitViewport(p,x);if(S){var L=this._private;L.zoom=S.zoom,L.pan=S.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(p,x){if(ge(p)&&x===void 0&&(x=p,p=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var S;if(Oe(p)){var L=p;p=this.$(L)}else if(Ot(p)){var R=p;S={x1:R.x1,y1:R.y1,x2:R.x2,y2:R.y2},S.w=S.x2-S.x1,S.h=S.y2-S.y1}else xe(p)||(p=this.mutableElements());if(!(xe(p)&&p.empty())){S=S||p.boundingBox();var B=this.width(),q=this.height(),W;if(x=ge(x)?x:0,!isNaN(B)&&!isNaN(q)&&B>0&&q>0&&!isNaN(S.w)&&!isNaN(S.h)&&S.w>0&&S.h>0){W=Math.min((B-2*x)/S.w,(q-2*x)/S.h),W=W>this._private.maxZoom?this._private.maxZoom:W,W=W<this._private.minZoom?this._private.minZoom:W;var M={x:(B-W*(S.x1+S.x2))/2,y:(q-W*(S.y1+S.y2))/2};return{zoom:W,pan:M}}}}},zoomRange:function(p,x){var S=this._private;if(x==null){var L=p;p=L.min,x=L.max}return ge(p)&&ge(x)&&p<=x?(S.minZoom=p,S.maxZoom=x):ge(p)&&x===void 0&&p<=S.maxZoom?S.minZoom=p:ge(x)&&p===void 0&&x>=S.minZoom&&(S.maxZoom=x),this},minZoom:function(p){return p===void 0?this._private.minZoom:this.zoomRange({min:p})},maxZoom:function(p){return p===void 0?this._private.maxZoom:this.zoomRange({max:p})},getZoomedViewport:function(p){var x=this._private,S=x.pan,L=x.zoom,R,B,q=!1;if(x.zoomingEnabled||(q=!0),ge(p)?B=p:ke(p)&&(B=p.level,p.position!=null?R=XS(p.position,L,S):p.renderedPosition!=null&&(R=p.renderedPosition),R!=null&&!x.panningEnabled&&(q=!0)),B=B>x.maxZoom?x.maxZoom:B,B=B<x.minZoom?x.minZoom:B,q||!ge(B)||B===L||R!=null&&(!ge(R.x)||!ge(R.y)))return null;if(R!=null){var W=S,M=L,X=B,ee={x:-X/M*(R.x-W.x)+R.x,y:-X/M*(R.y-W.y)+R.y};return{zoomed:!0,panned:!0,zoom:X,pan:ee}}else return{zoomed:!0,panned:!1,zoom:B,pan:S}},zoom:function(p){if(p===void 0)return this._private.zoom;var x=this.getZoomedViewport(p),S=this._private;return x==null||!x.zoomed?this:(S.zoom=x.zoom,x.panned&&(S.pan.x=x.pan.x,S.pan.y=x.pan.y),this.emit("zoom"+(x.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(p){var x=this._private,S=!0,L=!0,R=[],B=!1,q=!1;if(!p)return this;if(ge(p.zoom)||(S=!1),ke(p.pan)||(L=!1),!S&&!L)return this;if(S){var W=p.zoom;W<x.minZoom||W>x.maxZoom||!x.zoomingEnabled?B=!0:(x.zoom=W,R.push("zoom"))}if(L&&(!B||!p.cancelOnFailedZoom)&&x.panningEnabled){var M=p.pan;ge(M.x)&&(x.pan.x=M.x,q=!1),ge(M.y)&&(x.pan.y=M.y,q=!1),q||R.push("pan")}return R.length>0&&(R.push("viewport"),this.emit(R.join(" ")),this.notify("viewport")),this},center:function(p){var x=this.getCenterPan(p);return x&&(this._private.pan=x,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(p,x){if(this._private.panningEnabled){if(Oe(p)){var S=p;p=this.mutableElements().filter(S)}else xe(p)||(p=this.mutableElements());if(p.length!==0){var L=p.boundingBox(),R=this.width(),B=this.height();x=x===void 0?this._private.zoom:x;var q={x:(R-x*(L.x1+L.x2))/2,y:(B-x*(L.y1+L.y2))/2};return q}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var p=this._private,x=p.container;return p.sizeCache=p.sizeCache||(x?function(){var S=G.getComputedStyle(x),L=function(B){return parseFloat(S.getPropertyValue(B))};return{width:x.clientWidth-L("padding-left")-L("padding-right"),height:x.clientHeight-L("padding-top")-L("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var p=this._private.pan,x=this._private.zoom,S=this.renderedExtent(),L={x1:(S.x1-p.x)/x,x2:(S.x2-p.x)/x,y1:(S.y1-p.y)/x,y2:(S.y2-p.y)/x};return L.w=L.x2-L.x1,L.h=L.y2-L.y1,L},renderedExtent:function(){var p=this.width(),x=this.height();return{x1:0,y1:0,x2:p,y2:x,w:p,h:x}},multiClickDebounceTime:function(p){if(p)this._private.multiClickDebounceTime=p;else return this._private.multiClickDebounceTime;return this}};o6.centre=o6.center,o6.autolockNodes=o6.autolock,o6.autoungrabifyNodes=o6.autoungrabify;var N7={data:uu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:uu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:uu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:uu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};N7.attr=N7.data,N7.removeAttr=N7.removeData;var R7=function(p){var x=this;p=Ge({},p);var S=p.container;S&&!Ne(S)&&Ne(S[0])&&(S=S[0]);var L=S?S._cyreg:null;L=L||{},L&&L.cy&&(L.cy.destroy(),L={});var R=L.readies=L.readies||[];S&&(S._cyreg=L),L.cy=x;var B=G!==void 0&&S!==void 0&&!p.headless,q=p;q.layout=Ge({name:B?"grid":"null"},q.layout),q.renderer=Ge({name:B?"canvas":"null"},q.renderer);var W=function(ve,be,Fe){return be!==void 0?be:Fe!==void 0?Fe:ve},M=this._private={container:S,ready:!1,options:q,elements:new B1(this),listeners:[],aniEles:new B1(this),data:q.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:W(!0,q.zoomingEnabled),userZoomingEnabled:W(!0,q.userZoomingEnabled),panningEnabled:W(!0,q.panningEnabled),userPanningEnabled:W(!0,q.userPanningEnabled),boxSelectionEnabled:W(!0,q.boxSelectionEnabled),autolock:W(!1,q.autolock,q.autolockNodes),autoungrabify:W(!1,q.autoungrabify,q.autoungrabifyNodes),autounselectify:W(!1,q.autounselectify),styleEnabled:q.styleEnabled===void 0?B:q.styleEnabled,zoom:ge(q.zoom)?q.zoom:1,pan:{x:ke(q.pan)&&ge(q.pan.x)?q.pan.x:0,y:ke(q.pan)&&ge(q.pan.y)?q.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:W(250,q.multiClickDebounceTime)};this.createEmitter(),this.selectionType(q.selectionType),this.zoomRange({min:q.minZoom,max:q.maxZoom});var X=function(ve,be){var Fe=ve.some(Vt);if(Fe)return Nx.all(ve).then(be);be(ve)};M.styleEnabled&&x.setStyle([]);var ee=Ge({},q,q.renderer);x.initRenderer(ee);var le=function(ve,be,Fe){x.notifications(!1);var Ae=x.mutableElements();Ae.length>0&&Ae.remove(),ve!=null&&(ke(ve)||Ve(ve))&&x.add(ve),x.one("layoutready",function(ze){x.notifications(!0),x.emit(ze),x.one("load",be),x.emitAndNotify("load")}).one("layoutstop",function(){x.one("done",Fe),x.emit("done")});var $e=Ge({},x._private.options.layout);$e.eles=x.elements(),x.layout($e).run()};X([q.style,q.elements],function(fe){var ve=fe[0],be=fe[1];M.styleEnabled&&x.style().append(ve),le(be,function(){x.startAnimationLoop(),M.ready=!0,De(q.ready)&&x.on("ready",q.ready);for(var Fe=0;Fe<R.length;Fe++){var Ae=R[Fe];x.on("ready",Ae)}L&&(L.readies=[]),x.emit("ready")},q.done)})},AC=R7.prototype;Ge(AC,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(p){return this.isReady()?this.emitter().emit("ready",[],p):this.on("ready",p),this},destroy:function(){var p=this;if(!p.destroyed())return p.stopAnimationLoop(),p.destroyRenderer(),this.emit("destroy"),p._private.destroyed=!0,p},hasElementWithId:function(p){return this._private.elements.hasElementWithId(p)},getElementById:function(p){return this._private.elements.getElementById(p)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(p){return this._private.elements.merge(p),this},removeFromPool:function(p){return this._private.elements.unmerge(p),this},container:function(){return this._private.container||null},mount:function(p){if(p!=null){var x=this,S=x._private,L=S.options;return!Ne(p)&&Ne(p[0])&&(p=p[0]),x.stopAnimationLoop(),x.destroyRenderer(),S.container=p,S.styleEnabled=!0,x.invalidateSize(),x.initRenderer(Ge({},L,L.renderer,{name:L.renderer.name==="null"?"canvas":L.renderer.name})),x.startAnimationLoop(),x.style(L.style),x.emit("mount"),x}},unmount:function(){var p=this;return p.stopAnimationLoop(),p.destroyRenderer(),p.initRenderer({name:"null"}),p.emit("unmount"),p},options:function(){return Qb(this._private.options)},json:function(p){var x=this,S=x._private,L=x.mutableElements(),R=function(Xe){return x.getElementById(Xe.id())};if(ke(p)){if(x.startBatch(),p.elements){var B={},q=function(Xe,lt){for(var st=[],Ze=[],gt=0;gt<Xe.length;gt++){var tt=Xe[gt];if(!tt.data.id){El("cy.json() cannot handle elements without an ID attribute");continue}var Tt=""+tt.data.id,Ct=x.getElementById(Tt);B[Tt]=!0,Ct.length!==0?Ze.push({ele:Ct,json:tt}):(lt&&(tt.group=lt),st.push(tt))}x.add(st);for(var pt=0;pt<Ze.length;pt++){var Wt=Ze[pt],At=Wt.ele,Mn=Wt.json;At.json(Mn)}};if(Ve(p.elements))q(p.elements);else for(var W=["nodes","edges"],M=0;M<W.length;M++){var X=W[M],ee=p.elements[X];Ve(ee)&&q(ee,X)}var le=x.collection();L.filter(function(ze){return!B[ze.id()]}).forEach(function(ze){ze.isParent()?le.merge(ze):ze.remove()}),le.forEach(function(ze){return ze.children().move({parent:null})}),le.forEach(function(ze){return R(ze).remove()})}p.style&&x.style(p.style),p.zoom!=null&&p.zoom!==S.zoom&&x.zoom(p.zoom),p.pan&&(p.pan.x!==S.pan.x||p.pan.y!==S.pan.y)&&x.pan(p.pan),p.data&&x.data(p.data);for(var fe=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],ve=0;ve<fe.length;ve++){var be=fe[ve];p[be]!=null&&x[be](p[be])}return x.endBatch(),this}else{var Fe=!!p,Ae={};Fe?Ae.elements=this.elements().map(function(ze){return ze.json()}):(Ae.elements={},L.forEach(function(ze){var Xe=ze.group();Ae.elements[Xe]||(Ae.elements[Xe]=[]),Ae.elements[Xe].push(ze.json())})),this._private.styleEnabled&&(Ae.style=x.style().json()),Ae.data=Qb(x.data());var $e=S.options;return Ae.zoomingEnabled=S.zoomingEnabled,Ae.userZoomingEnabled=S.userZoomingEnabled,Ae.zoom=S.zoom,Ae.minZoom=S.minZoom,Ae.maxZoom=S.maxZoom,Ae.panningEnabled=S.panningEnabled,Ae.userPanningEnabled=S.userPanningEnabled,Ae.pan=Qb(S.pan),Ae.boxSelectionEnabled=S.boxSelectionEnabled,Ae.renderer=Qb($e.renderer),Ae.hideEdgesOnViewport=$e.hideEdgesOnViewport,Ae.textureOnViewport=$e.textureOnViewport,Ae.wheelSensitivity=$e.wheelSensitivity,Ae.motionBlur=$e.motionBlur,Ae.multiClickDebounceTime=$e.multiClickDebounceTime,Ae}}}),AC.$id=AC.getElementById,[Sie,Iie,RH,SD,EC,Die,CD,TC,Rie,o6,N7].forEach(function(_){Ge(AC,_)});var Fie={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}},Wx=function(p){return p.scratch("breadthfirst")},LD=function(p,x){return p.scratch("breadthfirst",x)};function BH(_){this.options=Ge({},Fie,_)}BH.prototype.run=function(){var _=this.options,p=_,x=_.cy,S=p.eles,L=S.nodes().filter(function(ms){return!ms.isParent()}),R=S,B=p.directed,q=p.maximal||p.maximalAdjustments>0,W=Hg(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),M;if(xe(p.roots))M=p.roots;else if(Ve(p.roots)){for(var X=[],ee=0;ee<p.roots.length;ee++){var le=p.roots[ee],fe=x.getElementById(le);X.push(fe)}M=x.collection(X)}else if(Oe(p.roots))M=x.$(p.roots);else if(B)M=L.roots();else{var ve=S.components();M=x.collection();for(var be=function(es){var Ta=ve[es],Gs=Ta.maxDegree(!1),ys=Ta.filter(function(Js){return Js.degree(!1)===Gs});M=M.add(ys)},Fe=0;Fe<ve.length;Fe++)be(Fe)}var Ae=[],$e={},ze=function(es,Ta){Ae[Ta]==null&&(Ae[Ta]=[]);var Gs=Ae[Ta].length;Ae[Ta].push(es),LD(es,{index:Gs,depth:Ta})},Xe=function(es,Ta){var Gs=Wx(es),ys=Gs.depth,Js=Gs.index;Ae[ys][Js]=null,ze(es,Ta)};R.bfs({roots:M,directed:p.directed,visit:function(es,Ta,Gs,ys,Js){var gc=es[0],ho=gc.id();ze(gc,Js),$e[ho]=!0}});for(var lt=[],st=0;st<L.length;st++){var Ze=L[st];$e[Ze.id()]||lt.push(Ze)}var gt=function(es){for(var Ta=Ae[es],Gs=0;Gs<Ta.length;Gs++){var ys=Ta[Gs];if(ys==null){Ta.splice(Gs,1),Gs--;continue}LD(ys,{depth:es,index:Gs})}},tt=function(){for(var es=0;es<Ae.length;es++)gt(es)},Tt=function(es,Ta){for(var Gs=Wx(es),ys=es.incomers().filter(function(ct){return ct.isNode()&&S.has(ct)}),Js=-1,gc=es.id(),ho=0;ho<ys.length;ho++){var Za=ys[ho],ni=Wx(Za);Js=Math.max(Js,ni.depth)}return Gs.depth<=Js?Ta[gc]?null:(Xe(es,Js+1),Ta[gc]=!0,!0):!1};if(B&&q){var Ct=[],pt={},Wt=function(es){return Ct.push(es)},At=function(){return Ct.shift()};for(L.forEach(function(ms){return Ct.push(ms)});Ct.length>0;){var Mn=At(),tn=Tt(Mn,pt);if(tn)Mn.outgoers().filter(function(ms){return ms.isNode()&&S.has(ms)}).forEach(Wt);else if(tn===null){El("Detected double maximal shift for node `"+Mn.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}tt();var sn=0;if(p.avoidOverlap)for(var Fn=0;Fn<L.length;Fn++){var Yn=L[Fn],wr=Yn.layoutDimensions(p),qn=wr.w,br=wr.h;sn=Math.max(sn,qn,br)}var Dr={},Qr=function(es){if(Dr[es.id()])return Dr[es.id()];for(var Ta=Wx(es).depth,Gs=es.neighborhood(),ys=0,Js=0,gc=0;gc<Gs.length;gc++){var ho=Gs[gc];if(!(ho.isEdge()||ho.isParent()||!L.has(ho))){var Za=Wx(ho);if(Za!=null){var ni=Za.index,ct=Za.depth;if(!(ni==null||ct==null)){var ir=Ae[ct].length;ct<Ta&&(ys+=ni/ir,Js++)}}}}return Js=Math.max(1,Js),ys=ys/Js,Js===0&&(ys=0),Dr[es.id()]=ys,ys},Hr=function(es,Ta){var Gs=Qr(es),ys=Qr(Ta),Js=Gs-ys;return Js===0?it(es.id(),Ta.id()):Js};p.depthSort!==void 0&&(Hr=p.depthSort);for(var Mr=0;Mr<Ae.length;Mr++)Ae[Mr].sort(Hr),gt(Mr);for(var Pn=[],Kr=0;Kr<lt.length;Kr++)Pn.push(lt[Kr]);Ae.unshift(Pn),tt();for(var qr=0,Fi=0;Fi<Ae.length;Fi++)qr=Math.max(Ae[Fi].length,qr);var ls={x:W.x1+W.w/2,y:W.x1+W.h/2},uo=Ae.reduce(function(ms,es){return Math.max(ms,es.length)},0),Yo=function(es){var Ta=Wx(es),Gs=Ta.depth,ys=Ta.index,Js=Ae[Gs].length,gc=Math.max(W.w/((p.grid?uo:Js)+1),sn),ho=Math.max(W.h/(Ae.length+1),sn),Za=Math.min(W.w/2/Ae.length,W.h/2/Ae.length);if(Za=Math.max(Za,sn),p.circle){var ct=Za*Gs+Za-(Ae.length>0&&Ae[0].length<=3?Za/2:0),ir=2*Math.PI/Ae[Gs].length*ys;return Gs===0&&Ae[0].length===1&&(ct=1),{x:ls.x+ct*Math.cos(ir),y:ls.y+ct*Math.sin(ir)}}else{var ni={x:ls.x+(ys+1-(Js+1)/2)*gc,y:(Gs+1)*ho};return ni}};return S.nodes().layoutPositions(this,p,Yo),this};var jie={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function MC(_){this.options=Ge({},jie,_)}MC.prototype.run=function(){var _=this.options,p=_,x=_.cy,S=p.eles,L=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,R=S.nodes().not(":parent");p.sort&&(R=R.sort(p.sort));for(var B=Hg(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),q={x:B.x1+B.w/2,y:B.y1+B.h/2},W=p.sweep===void 0?2*Math.PI-2*Math.PI/R.length:p.sweep,M=W/Math.max(1,R.length-1),X,ee=0,le=0;le<R.length;le++){var fe=R[le],ve=fe.layoutDimensions(p),be=ve.w,Fe=ve.h;ee=Math.max(ee,be,Fe)}if(ge(p.radius)?X=p.radius:R.length<=1?X=0:X=Math.min(B.h,B.w)/2-ee,R.length>1&&p.avoidOverlap){ee*=1.75;var Ae=Math.cos(M)-Math.cos(0),$e=Math.sin(M)-Math.sin(0),ze=Math.sqrt(ee*ee/(Ae*Ae+$e*$e));X=Math.max(ze,X)}var Xe=function(st,Ze){var gt=p.startAngle+Ze*M*(L?1:-1),tt=X*Math.cos(gt),Tt=X*Math.sin(gt),Ct={x:q.x+tt,y:q.y+Tt};return Ct};return S.nodes().layoutPositions(this,p,Xe),this};var $ie={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(p){return p.degree()},levelWidth:function(p){return p.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function FH(_){this.options=Ge({},$ie,_)}FH.prototype.run=function(){for(var _=this.options,p=_,x=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,S=_.cy,L=p.eles,R=L.nodes().not(":parent"),B=Hg(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:S.width(),h:S.height()}),q={x:B.x1+B.w/2,y:B.y1+B.h/2},W=[],M=0,X=0;X<R.length;X++){var ee=R[X],le=void 0;le=p.concentric(ee),W.push({value:le,node:ee}),ee._private.scratch.concentric=le}R.updateStyle();for(var fe=0;fe<R.length;fe++){var ve=R[fe],be=ve.layoutDimensions(p);M=Math.max(M,be.w,be.h)}W.sort(function(ms,es){return es.value-ms.value});for(var Fe=p.levelWidth(R),Ae=[[]],$e=Ae[0],ze=0;ze<W.length;ze++){var Xe=W[ze];if($e.length>0){var lt=Math.abs($e[0].value-Xe.value);lt>=Fe&&($e=[],Ae.push($e))}$e.push(Xe)}var st=M+p.minNodeSpacing;if(!p.avoidOverlap){var Ze=Ae.length>0&&Ae[0].length>1,gt=Math.min(B.w,B.h)/2-st,tt=gt/(Ae.length+Ze?1:0);st=Math.min(st,tt)}for(var Tt=0,Ct=0;Ct<Ae.length;Ct++){var pt=Ae[Ct],Wt=p.sweep===void 0?2*Math.PI-2*Math.PI/pt.length:p.sweep,At=pt.dTheta=Wt/Math.max(1,pt.length-1);if(pt.length>1&&p.avoidOverlap){var Mn=Math.cos(At)-Math.cos(0),tn=Math.sin(At)-Math.sin(0),sn=Math.sqrt(st*st/(Mn*Mn+tn*tn));Tt=Math.max(sn,Tt)}pt.r=Tt,Tt+=st}if(p.equidistant){for(var Fn=0,Yn=0,wr=0;wr<Ae.length;wr++){var qn=Ae[wr],br=qn.r-Yn;Fn=Math.max(Fn,br)}Yn=0;for(var Dr=0;Dr<Ae.length;Dr++){var Qr=Ae[Dr];Dr===0&&(Yn=Qr.r),Qr.r=Yn,Yn+=Fn}}for(var Hr={},Mr=0;Mr<Ae.length;Mr++)for(var Pn=Ae[Mr],Kr=Pn.dTheta,qr=Pn.r,Fi=0;Fi<Pn.length;Fi++){var ls=Pn[Fi],uo=p.startAngle+(x?1:-1)*Kr*Fi,Yo={x:q.x+qr*Math.cos(uo),y:q.y+qr*Math.sin(uo)};Hr[ls.node.id()]=Yo}return L.nodes().layoutPositions(this,p,function(ms){var es=ms.id();return Hr[es]}),this};var ID,Hie={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(p,x){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(p){return 2048},nodeOverlap:4,idealEdgeLength:function(p){return 32},edgeElasticity:function(p){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function LC(_){this.options=Ge({},Hie,_),this.options.layout=this}LC.prototype.run=function(){var _=this.options,p=_.cy,x=this;x.stopped=!1,(_.animate===!0||_.animate===!1)&&x.emit({type:"layoutstart",layout:x}),_.debug===!0?ID=!0:ID=!1;var S=zie(p,x,_);ID&&Uie(S),_.randomize&&Gie(S);var L=Nl(),R=function(){Wie(S,p,_),_.fit===!0&&p.fit(_.padding)},B=function(le){return!(x.stopped||le>=_.numIter||(Kie(S,_),S.temperature=S.temperature*_.coolingFactor,S.temperature<_.minTemp))},q=function(){if(_.animate===!0||_.animate===!1)R(),x.one("layoutstop",_.stop),x.emit({type:"layoutstop",layout:x});else{var le=_.eles.nodes(),fe=jH(S,_,le);le.layoutPositions(x,_,fe)}},W=0,M=!0;if(_.animate===!0){var X=function ee(){for(var le=0;M&&le<_.refresh;)M=B(W),W++,le++;if(!M)HH(S,_),q();else{var fe=Nl();fe-L>=_.animationThreshold&&R(),cs(ee)}};X()}else{for(;M;)M=B(W),W++;HH(S,_),q()}return this},LC.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},LC.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var zie=function(p,x,S){for(var L=S.eles.edges(),R=S.eles.nodes(),B={isCompound:p.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:R.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:L.size(),temperature:S.initialTemp,clientWidth:p.width(),clientHeight:p.width(),boundingBox:Hg(S.boundingBox?S.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()})},q=S.eles.components(),W={},M=0;M<q.length;M++)for(var X=q[M],ee=0;ee<X.length;ee++){var le=X[ee];W[le.id()]=M}for(var M=0;M<B.nodeSize;M++){var fe=R[M],ve=fe.layoutDimensions(S),be={};be.isLocked=fe.locked(),be.id=fe.data("id"),be.parentId=fe.data("parent"),be.cmptId=W[fe.id()],be.children=[],be.positionX=fe.position("x"),be.positionY=fe.position("y"),be.offsetX=0,be.offsetY=0,be.height=ve.w,be.width=ve.h,be.maxX=be.positionX+be.width/2,be.minX=be.positionX-be.width/2,be.maxY=be.positionY+be.height/2,be.minY=be.positionY-be.height/2,be.padLeft=parseFloat(fe.style("padding")),be.padRight=parseFloat(fe.style("padding")),be.padTop=parseFloat(fe.style("padding")),be.padBottom=parseFloat(fe.style("padding")),be.nodeRepulsion=De(S.nodeRepulsion)?S.nodeRepulsion(fe):S.nodeRepulsion,B.layoutNodes.push(be),B.idToIndex[be.id]=M}for(var Fe=[],Ae=0,$e=-1,ze=[],M=0;M<B.nodeSize;M++){var fe=B.layoutNodes[M],Xe=fe.parentId;Xe!=null?B.layoutNodes[B.idToIndex[Xe]].children.push(fe.id):(Fe[++$e]=fe.id,ze.push(fe.id))}for(B.graphSet.push(ze);Ae<=$e;){var lt=Fe[Ae++],st=B.idToIndex[lt],le=B.layoutNodes[st],Ze=le.children;if(Ze.length>0){B.graphSet.push(Ze);for(var M=0;M<Ze.length;M++)Fe[++$e]=Ze[M]}}for(var M=0;M<B.graphSet.length;M++)for(var gt=B.graphSet[M],ee=0;ee<gt.length;ee++){var tt=B.idToIndex[gt[ee]];B.indexToGraph[tt]=M}for(var M=0;M<B.edgeSize;M++){var Tt=L[M],Ct={};Ct.id=Tt.data("id"),Ct.sourceId=Tt.data("source"),Ct.targetId=Tt.data("target");var pt=De(S.idealEdgeLength)?S.idealEdgeLength(Tt):S.idealEdgeLength,Wt=De(S.edgeElasticity)?S.edgeElasticity(Tt):S.edgeElasticity,At=B.idToIndex[Ct.sourceId],Mn=B.idToIndex[Ct.targetId],tn=B.indexToGraph[At],sn=B.indexToGraph[Mn];if(tn!=sn){for(var Fn=Vie(Ct.sourceId,Ct.targetId,B),Yn=B.graphSet[Fn],wr=0,be=B.layoutNodes[At];Yn.indexOf(be.id)===-1;)be=B.layoutNodes[B.idToIndex[be.parentId]],wr++;for(be=B.layoutNodes[Mn];Yn.indexOf(be.id)===-1;)be=B.layoutNodes[B.idToIndex[be.parentId]],wr++;pt*=wr*S.nestingFactor}Ct.idealLength=pt,Ct.elasticity=Wt,B.layoutEdges.push(Ct)}return B},Vie=function(p,x,S){var L=qie(p,x,0,S);return 2>L.count?0:L.graph},qie=function _(p,x,S,L){var R=L.graphSet[S];if(-1<R.indexOf(p)&&-1<R.indexOf(x))return{count:2,graph:S};for(var B=0,q=0;q<R.length;q++){var W=R[q],M=L.idToIndex[W],X=L.layoutNodes[M].children;if(X.length!==0){var ee=L.indexToGraph[L.idToIndex[X[0]]],le=_(p,x,ee,L);if(le.count!==0)if(le.count===1){if(B++,B===2)break}else return le}}return{count:B,graph:S}},Uie,Gie=function(p,x){for(var S=p.clientWidth,L=p.clientHeight,R=0;R<p.nodeSize;R++){var B=p.layoutNodes[R];B.children.length===0&&!B.isLocked&&(B.positionX=Math.random()*S,B.positionY=Math.random()*L)}},jH=function(p,x,S){var L=p.boundingBox,R={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return x.boundingBox&&(S.forEach(function(B){var q=p.layoutNodes[p.idToIndex[B.data("id")]];R.x1=Math.min(R.x1,q.positionX),R.x2=Math.max(R.x2,q.positionX),R.y1=Math.min(R.y1,q.positionY),R.y2=Math.max(R.y2,q.positionY)}),R.w=R.x2-R.x1,R.h=R.y2-R.y1),function(B,q){var W=p.layoutNodes[p.idToIndex[B.data("id")]];if(x.boundingBox){var M=(W.positionX-R.x1)/R.w,X=(W.positionY-R.y1)/R.h;return{x:L.x1+M*L.w,y:L.y1+X*L.h}}else return{x:W.positionX,y:W.positionY}}},Wie=function(p,x,S){var L=S.layout,R=S.eles.nodes(),B=jH(p,S,R);R.positions(B),p.ready!==!0&&(p.ready=!0,L.one("layoutready",S.ready),L.emit({type:"layoutready",layout:this}))},Kie=function(p,x,S){Yie(p,x),Zie(p),Jie(p,x),ese(p),tse(p)},Yie=function(p,x){for(var S=0;S<p.graphSet.length;S++)for(var L=p.graphSet[S],R=L.length,B=0;B<R;B++)for(var q=p.layoutNodes[p.idToIndex[L[B]]],W=B+1;W<R;W++){var M=p.layoutNodes[p.idToIndex[L[W]]];Xie(q,M,p,x)}},$H=function(p){return-p+2*p*Math.random()},Xie=function(p,x,S,L){var R=p.cmptId,B=x.cmptId;if(!(R!==B&&!S.isCompound)){var q=x.positionX-p.positionX,W=x.positionY-p.positionY,M=1;q===0&&W===0&&(q=$H(M),W=$H(M));var X=Qie(p,x,q,W);if(X>0)var ee=L.nodeOverlap*X,le=Math.sqrt(q*q+W*W),fe=ee*q/le,ve=ee*W/le;else var be=IC(p,q,W),Fe=IC(x,-1*q,-1*W),Ae=Fe.x-be.x,$e=Fe.y-be.y,ze=Ae*Ae+$e*$e,le=Math.sqrt(ze),ee=(p.nodeRepulsion+x.nodeRepulsion)/ze,fe=ee*Ae/le,ve=ee*$e/le;p.isLocked||(p.offsetX-=fe,p.offsetY-=ve),x.isLocked||(x.offsetX+=fe,x.offsetY+=ve)}},Qie=function(p,x,S,L){if(S>0)var R=p.maxX-x.minX;else var R=x.maxX-p.minX;if(L>0)var B=p.maxY-x.minY;else var B=x.maxY-p.minY;return R>=0&&B>=0?Math.sqrt(R*R+B*B):0},IC=function(p,x,S){var L=p.positionX,R=p.positionY,B=p.height||1,q=p.width||1,W=S/x,M=B/q,X={};return x===0&&0<S||x===0&&0>S?(X.x=L,X.y=R+B/2,X):0<x&&-1*M<=W&&W<=M?(X.x=L+q/2,X.y=R+q*S/2/x,X):0>x&&-1*M<=W&&W<=M?(X.x=L-q/2,X.y=R-q*S/2/x,X):0<S&&(W<=-1*M||W>=M)?(X.x=L+B*x/2/S,X.y=R+B/2,X):(0>S&&(W<=-1*M||W>=M)&&(X.x=L-B*x/2/S,X.y=R-B/2),X)},Zie=function(p,x){for(var S=0;S<p.edgeSize;S++){var L=p.layoutEdges[S],R=p.idToIndex[L.sourceId],B=p.layoutNodes[R],q=p.idToIndex[L.targetId],W=p.layoutNodes[q],M=W.positionX-B.positionX,X=W.positionY-B.positionY;if(!(M===0&&X===0)){var ee=IC(B,M,X),le=IC(W,-1*M,-1*X),fe=le.x-ee.x,ve=le.y-ee.y,be=Math.sqrt(fe*fe+ve*ve),Fe=Math.pow(L.idealLength-be,2)/L.elasticity;if(be!==0)var Ae=Fe*fe/be,$e=Fe*ve/be;else var Ae=0,$e=0;B.isLocked||(B.offsetX+=Ae,B.offsetY+=$e),W.isLocked||(W.offsetX-=Ae,W.offsetY-=$e)}}},Jie=function(p,x){if(x.gravity!==0)for(var S=1,L=0;L<p.graphSet.length;L++){var R=p.graphSet[L],B=R.length;if(L===0)var q=p.clientHeight/2,W=p.clientWidth/2;else var M=p.layoutNodes[p.idToIndex[R[0]]],X=p.layoutNodes[p.idToIndex[M.parentId]],q=X.positionX,W=X.positionY;for(var ee=0;ee<B;ee++){var le=p.layoutNodes[p.idToIndex[R[ee]]];if(!le.isLocked){var fe=q-le.positionX,ve=W-le.positionY,be=Math.sqrt(fe*fe+ve*ve);if(be>S){var Fe=x.gravity*fe/be,Ae=x.gravity*ve/be;le.offsetX+=Fe,le.offsetY+=Ae}}}}},ese=function(p,x){var S=[],L=0,R=-1;for(S.push.apply(S,p.graphSet[0]),R+=p.graphSet[0].length;L<=R;){var B=S[L++],q=p.idToIndex[B],W=p.layoutNodes[q],M=W.children;if(0<M.length&&!W.isLocked){for(var X=W.offsetX,ee=W.offsetY,le=0;le<M.length;le++){var fe=p.layoutNodes[p.idToIndex[M[le]]];fe.offsetX+=X,fe.offsetY+=ee,S[++R]=M[le]}W.offsetX=0,W.offsetY=0}}},tse=function(p,x){for(var S=0;S<p.nodeSize;S++){var L=p.layoutNodes[S];0<L.children.length&&(L.maxX=void 0,L.minX=void 0,L.maxY=void 0,L.minY=void 0)}for(var S=0;S<p.nodeSize;S++){var L=p.layoutNodes[S];if(!(0<L.children.length||L.isLocked)){var R=nse(L.offsetX,L.offsetY,p.temperature);L.positionX+=R.x,L.positionY+=R.y,L.offsetX=0,L.offsetY=0,L.minX=L.positionX-L.width,L.maxX=L.positionX+L.width,L.minY=L.positionY-L.height,L.maxY=L.positionY+L.height,rse(L,p)}}for(var S=0;S<p.nodeSize;S++){var L=p.layoutNodes[S];0<L.children.length&&!L.isLocked&&(L.positionX=(L.maxX+L.minX)/2,L.positionY=(L.maxY+L.minY)/2,L.width=L.maxX-L.minX,L.height=L.maxY-L.minY)}},nse=function(p,x,S){var L=Math.sqrt(p*p+x*x);if(L>S)var R={x:S*p/L,y:S*x/L};else var R={x:p,y:x};return R},rse=function _(p,x){var S=p.parentId;if(S!=null){var L=x.layoutNodes[x.idToIndex[S]],R=!1;if((L.maxX==null||p.maxX+L.padRight>L.maxX)&&(L.maxX=p.maxX+L.padRight,R=!0),(L.minX==null||p.minX-L.padLeft<L.minX)&&(L.minX=p.minX-L.padLeft,R=!0),(L.maxY==null||p.maxY+L.padBottom>L.maxY)&&(L.maxY=p.maxY+L.padBottom,R=!0),(L.minY==null||p.minY-L.padTop<L.minY)&&(L.minY=p.minY-L.padTop,R=!0),R)return _(L,x)}},HH=function(p,x){for(var S=p.layoutNodes,L=[],R=0;R<S.length;R++){var B=S[R],q=B.cmptId,W=L[q]=L[q]||[];W.push(B)}for(var M=0,R=0;R<L.length;R++){var X=L[R];if(X){X.x1=1/0,X.x2=-1/0,X.y1=1/0,X.y2=-1/0;for(var ee=0;ee<X.length;ee++){var le=X[ee];X.x1=Math.min(X.x1,le.positionX-le.width/2),X.x2=Math.max(X.x2,le.positionX+le.width/2),X.y1=Math.min(X.y1,le.positionY-le.height/2),X.y2=Math.max(X.y2,le.positionY+le.height/2)}X.w=X.x2-X.x1,X.h=X.y2-X.y1,M+=X.w*X.h}}L.sort(function($e,ze){return ze.w*ze.h-$e.w*$e.h});for(var fe=0,ve=0,be=0,Fe=0,Ae=Math.sqrt(M)*p.clientWidth/p.clientHeight,R=0;R<L.length;R++){var X=L[R];if(X){for(var ee=0;ee<X.length;ee++){var le=X[ee];le.isLocked||(le.positionX+=fe-X.x1,le.positionY+=ve-X.y1)}fe+=X.w+x.componentSpacing,be+=X.w+x.componentSpacing,Fe=Math.max(Fe,X.h),be>Ae&&(ve+=Fe+x.componentSpacing,fe=0,be=0,Fe=0)}}},ise={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(p){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function zH(_){this.options=Ge({},ise,_)}zH.prototype.run=function(){var _=this.options,p=_,x=_.cy,S=p.eles,L=S.nodes().not(":parent");p.sort&&(L=L.sort(p.sort));var R=Hg(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()});if(R.h===0||R.w===0)S.nodes().layoutPositions(this,p,function(Dr){return{x:R.x1,y:R.y1}});else{var B=L.size(),q=Math.sqrt(B*R.h/R.w),W=Math.round(q),M=Math.round(R.w/R.h*q),X=function(Qr){if(Qr==null)return Math.min(W,M);var Hr=Math.min(W,M);Hr==W?W=Qr:M=Qr},ee=function(Qr){if(Qr==null)return Math.max(W,M);var Hr=Math.max(W,M);Hr==W?W=Qr:M=Qr},le=p.rows,fe=p.cols!=null?p.cols:p.columns;if(le!=null&&fe!=null)W=le,M=fe;else if(le!=null&&fe==null)W=le,M=Math.ceil(B/W);else if(le==null&&fe!=null)M=fe,W=Math.ceil(B/M);else if(M*W>B){var ve=X(),be=ee();(ve-1)*be>=B?X(ve-1):(be-1)*ve>=B&&ee(be-1)}else for(;M*W<B;){var Fe=X(),Ae=ee();(Ae+1)*Fe>=B?ee(Ae+1):X(Fe+1)}var $e=R.w/M,ze=R.h/W;if(p.condense&&($e=0,ze=0),p.avoidOverlap)for(var Xe=0;Xe<L.length;Xe++){var lt=L[Xe],st=lt._private.position;(st.x==null||st.y==null)&&(st.x=0,st.y=0);var Ze=lt.layoutDimensions(p),gt=p.avoidOverlapPadding,tt=Ze.w+gt,Tt=Ze.h+gt;$e=Math.max($e,tt),ze=Math.max(ze,Tt)}for(var Ct={},pt=function(Qr,Hr){return!!Ct["c-"+Qr+"-"+Hr]},Wt=function(Qr,Hr){Ct["c-"+Qr+"-"+Hr]=!0},At=0,Mn=0,tn=function(){Mn++,Mn>=M&&(Mn=0,At++)},sn={},Fn=0;Fn<L.length;Fn++){var Yn=L[Fn],wr=p.position(Yn);if(wr&&(wr.row!==void 0||wr.col!==void 0)){var qn={row:wr.row,col:wr.col};if(qn.col===void 0)for(qn.col=0;pt(qn.row,qn.col);)qn.col++;else if(qn.row===void 0)for(qn.row=0;pt(qn.row,qn.col);)qn.row++;sn[Yn.id()]=qn,Wt(qn.row,qn.col)}}var br=function(Qr,Hr){var Mr,Pn;if(Qr.locked()||Qr.isParent())return!1;var Kr=sn[Qr.id()];if(Kr)Mr=Kr.col*$e+$e/2+R.x1,Pn=Kr.row*ze+ze/2+R.y1;else{for(;pt(At,Mn);)tn();Mr=Mn*$e+$e/2+R.x1,Pn=At*ze+ze/2+R.y1,Wt(At,Mn),tn()}return{x:Mr,y:Pn}};L.layoutPositions(this,p,br)}return this};var sse={ready:function(){},stop:function(){}};function OD(_){this.options=Ge({},sse,_)}OD.prototype.run=function(){var _=this.options,p=_.eles,x=this;return _.cy,x.emit("layoutstart"),p.nodes().positions(function(){return{x:0,y:0}}),x.one("layoutready",_.ready),x.emit("layoutready"),x.one("layoutstop",_.stop),x.emit("layoutstop"),this},OD.prototype.stop=function(){return this};var ase={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function VH(_){this.options=Ge({},ase,_)}VH.prototype.run=function(){var _=this.options,p=_.eles,x=p.nodes(),S=De(_.positions);function L(R){if(_.positions==null)return Tee(R.position());if(S)return _.positions(R);var B=_.positions[R._private.data.id];return B??null}return x.layoutPositions(this,_,function(R,B){var q=L(R);return R.locked()||q==null?!1:q}),this};var ose={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function qH(_){this.options=Ge({},ose,_)}qH.prototype.run=function(){var _=this.options,p=_.cy,x=_.eles,S=Hg(_.boundingBox?_.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()}),L=function(B,q){return{x:S.x1+Math.round(Math.random()*S.w),y:S.y1+Math.round(Math.random()*S.h)}};return x.nodes().layoutPositions(this,_,L),this};var cse=[{name:"breadthfirst",impl:BH},{name:"circle",impl:MC},{name:"concentric",impl:FH},{name:"cose",impl:LC},{name:"grid",impl:zH},{name:"null",impl:OD},{name:"preset",impl:VH},{name:"random",impl:qH}];function UH(_){this.options=_,this.notifications=0}var GH=function(){},WH=function(){throw new Error("A headless instance can not render images")};UH.prototype={recalculateRenderedStyle:GH,notify:function(){this.notifications++},init:GH,isHeadless:function(){return!0},png:WH,jpg:WH};var DD={};DD.arrowShapeWidth=.3,DD.registerArrowShapes=function(){var _=this.arrowShapes={},p=this,x=function(M,X,ee,le,fe,ve,be){var Fe=fe.x-ee/2-be,Ae=fe.x+ee/2+be,$e=fe.y-ee/2-be,ze=fe.y+ee/2+be,Xe=Fe<=M&&M<=Ae&&$e<=X&&X<=ze;return Xe},S=function(M,X,ee,le,fe){var ve=M*Math.cos(le)-X*Math.sin(le),be=M*Math.sin(le)+X*Math.cos(le),Fe=ve*ee,Ae=be*ee,$e=Fe+fe.x,ze=Ae+fe.y;return{x:$e,y:ze}},L=function(M,X,ee,le){for(var fe=[],ve=0;ve<M.length;ve+=2){var be=M[ve],Fe=M[ve+1];fe.push(S(be,Fe,X,ee,le))}return fe},R=function(M){for(var X=[],ee=0;ee<M.length;ee++){var le=M[ee];X.push(le.x,le.y)}return X},B=function(M){return M.pstyle("width").pfValue*M.pstyle("arrow-scale").pfValue*2},q=function(M,X){Oe(X)&&(X=_[X]),_[M]=Ge({name:M,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(le,fe,ve,be,Fe,Ae){var $e=R(L(this.points,ve+2*Ae,be,Fe)),ze=zg(le,fe,$e);return ze},roughCollide:x,draw:function(le,fe,ve,be){var Fe=L(this.points,fe,ve,be);p.arrowShapeImpl("polygon")(le,Fe)},spacing:function(le){return 0},gap:B},X)};q("none",{collide:bv,roughCollide:bv,draw:Tp,spacing:e6,gap:e6}),q("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),q("arrow","triangle"),q("triangle-backcurve",{points:_.triangle.points,controlPoint:[0,-.15],roughCollide:x,draw:function(M,X,ee,le,fe){var ve=L(this.points,X,ee,le),be=this.controlPoint,Fe=S(be[0],be[1],X,ee,le);p.arrowShapeImpl(this.name)(M,ve,Fe)},gap:function(M){return B(M)*.8}}),q("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(M,X,ee,le,fe,ve,be){var Fe=R(L(this.points,ee+2*be,le,fe)),Ae=R(L(this.pointsTee,ee+2*be,le,fe)),$e=zg(M,X,Fe)||zg(M,X,Ae);return $e},draw:function(M,X,ee,le,fe){var ve=L(this.points,X,ee,le),be=L(this.pointsTee,X,ee,le);p.arrowShapeImpl(this.name)(M,ve,be)}}),q("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(M,X,ee,le,fe,ve,be){var Fe=fe,Ae=Math.pow(Fe.x-M,2)+Math.pow(Fe.y-X,2)<=Math.pow((ee+2*be)*this.radius,2),$e=R(L(this.points,ee+2*be,le,fe));return zg(M,X,$e)||Ae},draw:function(M,X,ee,le,fe){var ve=L(this.pointsTr,X,ee,le);p.arrowShapeImpl(this.name)(M,ve,le.x,le.y,this.radius*X)},spacing:function(M){return p.getArrowWidth(M.pstyle("width").pfValue,M.pstyle("arrow-scale").value)*this.radius}}),q("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(M,X){var ee=this.baseCrossLinePts.slice(),le=X/M,fe=3,ve=5;return ee[fe]=ee[fe]-le,ee[ve]=ee[ve]-le,ee},collide:function(M,X,ee,le,fe,ve,be){var Fe=R(L(this.points,ee+2*be,le,fe)),Ae=R(L(this.crossLinePts(ee,ve),ee+2*be,le,fe)),$e=zg(M,X,Fe)||zg(M,X,Ae);return $e},draw:function(M,X,ee,le,fe){var ve=L(this.points,X,ee,le),be=L(this.crossLinePts(X,fe),X,ee,le);p.arrowShapeImpl(this.name)(M,ve,be)}}),q("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(M){return B(M)*.525}}),q("circle",{radius:.15,collide:function(M,X,ee,le,fe,ve,be){var Fe=fe,Ae=Math.pow(Fe.x-M,2)+Math.pow(Fe.y-X,2)<=Math.pow((ee+2*be)*this.radius,2);return Ae},draw:function(M,X,ee,le,fe){p.arrowShapeImpl(this.name)(M,le.x,le.y,this.radius*X)},spacing:function(M){return p.getArrowWidth(M.pstyle("width").pfValue,M.pstyle("arrow-scale").value)*this.radius}}),q("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(M){return 1},gap:function(M){return 1}}),q("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),q("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(M){return M.pstyle("width").pfValue*M.pstyle("arrow-scale").value}}),q("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(M){return .95*M.pstyle("width").pfValue*M.pstyle("arrow-scale").value}})};var c6={};c6.projectIntoViewport=function(_,p){var x=this.cy,S=this.findContainerClientCoords(),L=S[0],R=S[1],B=S[4],q=x.pan(),W=x.zoom(),M=((_-L)/B-q.x)/W,X=((p-R)/B-q.y)/W;return[M,X]},c6.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var _=this.container,p=_.getBoundingClientRect(),x=G.getComputedStyle(_),S=function(Ae){return parseFloat(x.getPropertyValue(Ae))},L={left:S("padding-left"),right:S("padding-right"),top:S("padding-top"),bottom:S("padding-bottom")},R={left:S("border-left-width"),right:S("border-right-width"),top:S("border-top-width"),bottom:S("border-bottom-width")},B=_.clientWidth,q=_.clientHeight,W=L.left+L.right,M=L.top+L.bottom,X=R.left+R.right,ee=p.width/(B+X),le=B-W,fe=q-M,ve=p.left+L.left+R.left,be=p.top+L.top+R.top;return this.containerBB=[ve,be,le,fe,ee]},c6.invalidateContainerClientCoordsCache=function(){this.containerBB=null},c6.findNearestElement=function(_,p,x,S){return this.findNearestElements(_,p,x,S)[0]},c6.findNearestElements=function(_,p,x,S){var L=this,R=this,B=R.getCachedZSortedEles(),q=[],W=R.cy.zoom(),M=R.cy.hasCompoundNodes(),X=(S?24:8)/W,ee=(S?8:2)/W,le=(S?8:2)/W,fe=1/0,ve,be;x&&(B=B.interactive);function Fe(Ze,gt){if(Ze.isNode()){if(be)return;be=Ze,q.push(Ze)}if(Ze.isEdge()&&(gt==null||gt<fe))if(ve){if(ve.pstyle("z-compound-depth").value===Ze.pstyle("z-compound-depth").value&&ve.pstyle("z-compound-depth").value===Ze.pstyle("z-compound-depth").value){for(var tt=0;tt<q.length;tt++)if(q[tt].isEdge()){q[tt]=Ze,ve=Ze,fe=gt??fe;break}}}else q.push(Ze),ve=Ze,fe=gt??fe}function Ae(Ze){var gt=Ze.outerWidth()+2*ee,tt=Ze.outerHeight()+2*ee,Tt=gt/2,Ct=tt/2,pt=Ze.position();if(pt.x-Tt<=_&&_<=pt.x+Tt&&pt.y-Ct<=p&&p<=pt.y+Ct){var Wt=R.nodeShapes[L.getNodeShape(Ze)];if(Wt.checkPoint(_,p,0,gt,tt,pt.x,pt.y))return Fe(Ze,0),!0}}function $e(Ze){var gt=Ze._private,tt=gt.rscratch,Tt=Ze.pstyle("width").pfValue,Ct=Ze.pstyle("arrow-scale").value,pt=Tt/2+X,Wt=pt*pt,At=pt*2,Fn=gt.source,Yn=gt.target,Mn;if(tt.edgeType==="segments"||tt.edgeType==="straight"||tt.edgeType==="haystack"){for(var tn=tt.allpts,sn=0;sn+3<tn.length;sn+=2)if(Fee(_,p,tn[sn],tn[sn+1],tn[sn+2],tn[sn+3],At)&&Wt>(Mn=Vee(_,p,tn[sn],tn[sn+1],tn[sn+2],tn[sn+3])))return Fe(Ze,Mn),!0}else if(tt.edgeType==="bezier"||tt.edgeType==="multibezier"||tt.edgeType==="self"||tt.edgeType==="compound"){for(var tn=tt.allpts,sn=0;sn+5<tt.allpts.length;sn+=4)if(jee(_,p,tn[sn],tn[sn+1],tn[sn+2],tn[sn+3],tn[sn+4],tn[sn+5],At)&&Wt>(Mn=zee(_,p,tn[sn],tn[sn+1],tn[sn+2],tn[sn+3],tn[sn+4],tn[sn+5])))return Fe(Ze,Mn),!0}for(var Fn=Fn||gt.source,Yn=Yn||gt.target,wr=L.getArrowWidth(Tt,Ct),qn=[{name:"source",x:tt.arrowStartX,y:tt.arrowStartY,angle:tt.srcArrowAngle},{name:"target",x:tt.arrowEndX,y:tt.arrowEndY,angle:tt.tgtArrowAngle},{name:"mid-source",x:tt.midX,y:tt.midY,angle:tt.midsrcArrowAngle},{name:"mid-target",x:tt.midX,y:tt.midY,angle:tt.midtgtArrowAngle}],sn=0;sn<qn.length;sn++){var br=qn[sn],Dr=R.arrowShapes[Ze.pstyle(br.name+"-arrow-shape").value],Qr=Ze.pstyle("width").pfValue;if(Dr.roughCollide(_,p,wr,br.angle,{x:br.x,y:br.y},Qr,X)&&Dr.collide(_,p,wr,br.angle,{x:br.x,y:br.y},Qr,X))return Fe(Ze),!0}M&&q.length>0&&(Ae(Fn),Ae(Yn))}function ze(Ze,gt,tt){return yv(Ze,gt,tt)}function Xe(Ze,gt){var tt=Ze._private,Tt=le,Ct;gt?Ct=gt+"-":Ct="",Ze.boundingBox();var pt=tt.labelBounds[gt||"main"],Wt=Ze.pstyle(Ct+"label").value,At=Ze.pstyle("text-events").strValue==="yes";if(!(!At||!Wt)){var Mn=ze(tt.rscratch,"labelX",gt),tn=ze(tt.rscratch,"labelY",gt),sn=ze(tt.rscratch,"labelAngle",gt),Fn=Ze.pstyle(Ct+"text-margin-x").pfValue,Yn=Ze.pstyle(Ct+"text-margin-y").pfValue,wr=pt.x1-Tt-Fn,qn=pt.x2+Tt-Fn,br=pt.y1-Tt-Yn,Dr=pt.y2+Tt-Yn;if(sn){var Qr=Math.cos(sn),Hr=Math.sin(sn),Mr=function(Yo,ms){return Yo=Yo-Mn,ms=ms-tn,{x:Yo*Qr-ms*Hr+Mn,y:Yo*Hr+ms*Qr+tn}},Pn=Mr(wr,br),Kr=Mr(wr,Dr),qr=Mr(qn,br),Fi=Mr(qn,Dr),ls=[Pn.x+Fn,Pn.y+Yn,qr.x+Fn,qr.y+Yn,Fi.x+Fn,Fi.y+Yn,Kr.x+Fn,Kr.y+Yn];if(zg(_,p,ls))return Fe(Ze),!0}else if(Ix(pt,_,p))return Fe(Ze),!0}}for(var lt=B.length-1;lt>=0;lt--){var st=B[lt];st.isNode()?Ae(st)||Xe(st):$e(st)||Xe(st)||Xe(st,"source")||Xe(st,"target")}return q},c6.getAllInBox=function(_,p,x,S){var L=this.getCachedZSortedEles().interactive,R=[],B=Math.min(_,x),q=Math.max(_,x),W=Math.min(p,S),M=Math.max(p,S);_=B,x=q,p=W,S=M;for(var X=Hg({x1:_,y1:p,x2:x,y2:S}),ee=0;ee<L.length;ee++){var le=L[ee];if(le.isNode()){var fe=le,ve=fe.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});cD(X,ve)&&!l$(ve,X)&&R.push(fe)}else{var be=le,Fe=be._private,Ae=Fe.rscratch;if(Ae.startX!=null&&Ae.startY!=null&&!Ix(X,Ae.startX,Ae.startY)||Ae.endX!=null&&Ae.endY!=null&&!Ix(X,Ae.endX,Ae.endY))continue;if(Ae.edgeType==="bezier"||Ae.edgeType==="multibezier"||Ae.edgeType==="self"||Ae.edgeType==="compound"||Ae.edgeType==="segments"||Ae.edgeType==="haystack"){for(var $e=Fe.rstyle.bezierPts||Fe.rstyle.linePts||Fe.rstyle.haystackPts,ze=!0,Xe=0;Xe<$e.length;Xe++)if(!Bee(X,$e[Xe])){ze=!1;break}ze&&R.push(be)}else(Ae.edgeType==="haystack"||Ae.edgeType==="straight")&&R.push(be)}}return R};var OC={};OC.calculateArrowAngles=function(_){var p=_._private.rscratch,x=p.edgeType==="haystack",S=p.edgeType==="bezier",L=p.edgeType==="multibezier",R=p.edgeType==="segments",B=p.edgeType==="compound",q=p.edgeType==="self",W,M,X,ee,le,fe,Ae,$e;if(x?(X=p.haystackPts[0],ee=p.haystackPts[1],le=p.haystackPts[2],fe=p.haystackPts[3]):(X=p.arrowStartX,ee=p.arrowStartY,le=p.arrowEndX,fe=p.arrowEndY),Ae=p.midX,$e=p.midY,R)W=X-p.segpts[0],M=ee-p.segpts[1];else if(L||B||q||S){var ve=p.allpts,be=i1(ve[0],ve[2],ve[4],.1),Fe=i1(ve[1],ve[3],ve[5],.1);W=X-be,M=ee-Fe}else W=X-Ae,M=ee-$e;p.srcArrowAngle=QS(W,M);var Ae=p.midX,$e=p.midY;if(x&&(Ae=(X+le)/2,$e=(ee+fe)/2),W=le-X,M=fe-ee,R){var ve=p.allpts;if(ve.length/2%2===0){var ze=ve.length/2,Xe=ze-2;W=ve[ze]-ve[Xe],M=ve[ze+1]-ve[Xe+1]}else{var ze=ve.length/2-1,Xe=ze-2,lt=ze+2;W=ve[ze]-ve[Xe],M=ve[ze+1]-ve[Xe+1]}}else if(L||B||q){var ve=p.allpts,st=p.ctrlpts,Ze,gt,tt,Tt;if(st.length/2%2===0){var Ct=ve.length/2-1,pt=Ct+2,Wt=pt+2;Ze=i1(ve[Ct],ve[pt],ve[Wt],0),gt=i1(ve[Ct+1],ve[pt+1],ve[Wt+1],0),tt=i1(ve[Ct],ve[pt],ve[Wt],1e-4),Tt=i1(ve[Ct+1],ve[pt+1],ve[Wt+1],1e-4)}else{var pt=ve.length/2-1,Ct=pt-2,Wt=pt+2;Ze=i1(ve[Ct],ve[pt],ve[Wt],.4999),gt=i1(ve[Ct+1],ve[pt+1],ve[Wt+1],.4999),tt=i1(ve[Ct],ve[pt],ve[Wt],.5),Tt=i1(ve[Ct+1],ve[pt+1],ve[Wt+1],.5)}W=tt-Ze,M=Tt-gt}if(p.midtgtArrowAngle=QS(W,M),p.midDispX=W,p.midDispY=M,W*=-1,M*=-1,R){var ve=p.allpts;if(ve.length/2%2!==0){var ze=ve.length/2-1,lt=ze+2;W=-(ve[lt]-ve[ze]),M=-(ve[lt+1]-ve[ze+1])}}if(p.midsrcArrowAngle=QS(W,M),R)W=le-p.segpts[p.segpts.length-2],M=fe-p.segpts[p.segpts.length-1];else if(L||B||q||S){var ve=p.allpts,At=ve.length,be=i1(ve[At-6],ve[At-4],ve[At-2],.9),Fe=i1(ve[At-5],ve[At-3],ve[At-1],.9);W=le-be,M=fe-Fe}else W=le-Ae,M=fe-$e;p.tgtArrowAngle=QS(W,M)},OC.getArrowWidth=OC.getArrowHeight=function(_,p){var x=this.arrowWidthCache=this.arrowWidthCache||{},S=x[_+", "+p];return S||(S=Math.max(Math.pow(_*13.37,.9),29)*p,x[_+", "+p]=S,S)};var sg={};sg.findHaystackPoints=function(_){for(var p=0;p<_.length;p++){var x=_[p],S=x._private,L=S.rscratch;if(!L.haystack){var R=Math.random()*2*Math.PI;L.source={x:Math.cos(R),y:Math.sin(R)},R=Math.random()*2*Math.PI,L.target={x:Math.cos(R),y:Math.sin(R)}}var B=S.source,q=S.target,W=B.position(),M=q.position(),X=B.width(),ee=q.width(),le=B.height(),fe=q.height(),ve=x.pstyle("haystack-radius").value,be=ve/2;L.haystackPts=L.allpts=[L.source.x*X*be+W.x,L.source.y*le*be+W.y,L.target.x*ee*be+M.x,L.target.y*fe*be+M.y],L.midX=(L.allpts[0]+L.allpts[2])/2,L.midY=(L.allpts[1]+L.allpts[3])/2,L.edgeType="haystack",L.haystack=!0,this.storeEdgeProjections(x),this.calculateArrowAngles(x),this.recalculateEdgeLabelProjections(x),this.calculateLabelAngles(x)}},sg.findSegmentsPoints=function(_,p){var x=_._private.rscratch,S=p.posPts,L=p.intersectionPts,R=p.vectorNormInverse,B=_.pstyle("edge-distances").value,q=_.pstyle("segment-weights"),W=_.pstyle("segment-distances"),M=Math.min(q.pfValue.length,W.pfValue.length);x.edgeType="segments",x.segpts=[];for(var X=0;X<M;X++){var ee=q.pfValue[X],le=W.pfValue[X],fe=1-ee,ve=ee,be=B==="node-position"?S:L,Fe={x:be.x1*fe+be.x2*ve,y:be.y1*fe+be.y2*ve};x.segpts.push(Fe.x+R.x*le,Fe.y+R.y*le)}},sg.findLoopPoints=function(_,p,x,S){var L=_._private.rscratch,R=p.dirCounts,B=p.srcPos,q=_.pstyle("control-point-distances"),W=q?q.pfValue[0]:void 0,M=_.pstyle("loop-direction").pfValue,X=_.pstyle("loop-sweep").pfValue,ee=_.pstyle("control-point-step-size").pfValue;L.edgeType="self";var le=x,fe=ee;S&&(le=0,fe=W);var ve=M-Math.PI/2,be=ve-X/2,Fe=ve+X/2,Ae=String(M+"_"+X);le=R[Ae]===void 0?R[Ae]=0:++R[Ae],L.ctrlpts=[B.x+Math.cos(be)*1.4*fe*(le/3+1),B.y+Math.sin(be)*1.4*fe*(le/3+1),B.x+Math.cos(Fe)*1.4*fe*(le/3+1),B.y+Math.sin(Fe)*1.4*fe*(le/3+1)]},sg.findCompoundLoopPoints=function(_,p,x,S){var L=_._private.rscratch;L.edgeType="compound";var R=p.srcPos,B=p.tgtPos,q=p.srcW,W=p.srcH,M=p.tgtW,X=p.tgtH,ee=_.pstyle("control-point-step-size").pfValue,le=_.pstyle("control-point-distances"),fe=le?le.pfValue[0]:void 0,ve=x,be=ee;S&&(ve=0,be=fe);var Fe=50,Ae={x:R.x-q/2,y:R.y-W/2},$e={x:B.x-M/2,y:B.y-X/2},ze={x:Math.min(Ae.x,$e.x),y:Math.min(Ae.y,$e.y)},Xe=.5,lt=Math.max(Xe,Math.log(q*.01)),st=Math.max(Xe,Math.log(M*.01));L.ctrlpts=[ze.x,ze.y-(1+Math.pow(Fe,1.12)/100)*be*(ve/3+1)*lt,ze.x-(1+Math.pow(Fe,1.12)/100)*be*(ve/3+1)*st,ze.y]},sg.findStraightEdgePoints=function(_){_._private.rscratch.edgeType="straight"},sg.findBezierPoints=function(_,p,x,S,L){var R=_._private.rscratch,B=p.vectorNormInverse,q=p.posPts,W=p.intersectionPts,M=_.pstyle("edge-distances").value,X=_.pstyle("control-point-step-size").pfValue,ee=_.pstyle("control-point-distances"),le=_.pstyle("control-point-weights"),fe=ee&&le?Math.min(ee.value.length,le.value.length):1,ve=ee?ee.pfValue[0]:void 0,be=le.value[0],Fe=S;R.edgeType=Fe?"multibezier":"bezier",R.ctrlpts=[];for(var Ae=0;Ae<fe;Ae++){var $e=(.5-p.eles.length/2+x)*X*(L?-1:1),ze=void 0,Xe=o$($e);Fe&&(ve=ee?ee.pfValue[Ae]:X,be=le.value[Ae]),S?ze=ve:ze=ve!==void 0?Xe*ve:void 0;var lt=ze!==void 0?ze:$e,st=1-be,Ze=be,gt=M==="node-position"?q:W,tt={x:gt.x1*st+gt.x2*Ze,y:gt.y1*st+gt.y2*Ze};R.ctrlpts.push(tt.x+B.x*lt,tt.y+B.y*lt)}},sg.findTaxiPoints=function(_,p){var x=_._private.rscratch;x.edgeType="segments";var S="vertical",L="horizontal",R="leftward",B="rightward",q="downward",W="upward",M="auto",X=p.posPts,ee=p.srcW,le=p.srcH,fe=p.tgtW,ve=p.tgtH,be=_.pstyle("edge-distances").value,Fe=be!=="node-position",Ae=_.pstyle("taxi-direction").value,$e=Ae,ze=_.pstyle("taxi-turn"),Xe=ze.units==="%",lt=ze.pfValue,st=lt<0,Ze=_.pstyle("taxi-turn-min-distance").pfValue,gt=Fe?(ee+fe)/2:0,tt=Fe?(le+ve)/2:0,Tt=X.x2-X.x1,Ct=X.y2-X.y1,pt=function(ta,gl){return ta>0?Math.max(ta-gl,0):Math.min(ta+gl,0)},Wt=pt(Tt,gt),At=pt(Ct,tt),Mn=!1;$e===M?Ae=Math.abs(Wt)>Math.abs(At)?L:S:$e===W||$e===q?(Ae=S,Mn=!0):($e===R||$e===B)&&(Ae=L,Mn=!0);var tn=Ae===S,sn=tn?At:Wt,Fn=tn?Ct:Tt,Yn=o$(Fn),wr=!1;!(Mn&&(Xe||st))&&($e===q&&Fn<0||$e===W&&Fn>0||$e===R&&Fn>0||$e===B&&Fn<0)&&(Yn*=-1,sn=Yn*Math.abs(sn),wr=!0);var qn;if(Xe){var br=lt<0?1+lt:lt;qn=br*sn}else{var Dr=lt<0?sn:0;qn=Dr+lt*Yn}var Qr=function(ta){return Math.abs(ta)<Ze||Math.abs(ta)>=Math.abs(sn)},Hr=Qr(qn),Mr=Qr(Math.abs(sn)-Math.abs(qn)),Pn=Hr||Mr;if(Pn&&!wr)if(tn){var Kr=Math.abs(Fn)<=le/2,qr=Math.abs(Tt)<=fe/2;if(Kr){var Fi=(X.x1+X.x2)/2,ls=X.y1,uo=X.y2;x.segpts=[Fi,ls,Fi,uo]}else if(qr){var Yo=(X.y1+X.y2)/2,ms=X.x1,es=X.x2;x.segpts=[ms,Yo,es,Yo]}else x.segpts=[X.x1,X.y2]}else{var Ta=Math.abs(Fn)<=ee/2,Gs=Math.abs(Ct)<=ve/2;if(Ta){var ys=(X.y1+X.y2)/2,Js=X.x1,gc=X.x2;x.segpts=[Js,ys,gc,ys]}else if(Gs){var ho=(X.x1+X.x2)/2,Za=X.y1,ni=X.y2;x.segpts=[ho,Za,ho,ni]}else x.segpts=[X.x2,X.y1]}else if(tn){var ct=X.y1+qn+(Fe?le/2*Yn:0),ir=X.x1,ci=X.x2;x.segpts=[ir,ct,ci,ct]}else{var Pr=X.x1+qn+(Fe?ee/2*Yn:0),Nr=X.y1,rc=X.y2;x.segpts=[Pr,Nr,Pr,rc]}},sg.tryToCorrectInvalidPoints=function(_,p){var x=_._private.rscratch;if(x.edgeType==="bezier"){var S=p.srcPos,L=p.tgtPos,R=p.srcW,B=p.srcH,q=p.tgtW,W=p.tgtH,M=p.srcShape,X=p.tgtShape,ee=!ge(x.startX)||!ge(x.startY),le=!ge(x.arrowStartX)||!ge(x.arrowStartY),fe=!ge(x.endX)||!ge(x.endY),ve=!ge(x.arrowEndX)||!ge(x.arrowEndY),be=3,Fe=this.getArrowWidth(_.pstyle("width").pfValue,_.pstyle("arrow-scale").value)*this.arrowShapeWidth,Ae=be*Fe,$e=n6({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.startX,y:x.startY}),ze=$e<Ae,Xe=n6({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.endX,y:x.endY}),lt=Xe<Ae,st=!1;if(ee||le||ze){st=!0;var Ze={x:x.ctrlpts[0]-S.x,y:x.ctrlpts[1]-S.y},gt=Math.sqrt(Ze.x*Ze.x+Ze.y*Ze.y),tt={x:Ze.x/gt,y:Ze.y/gt},Tt=Math.max(R,B),Ct={x:x.ctrlpts[0]+tt.x*2*Tt,y:x.ctrlpts[1]+tt.y*2*Tt},pt=M.intersectLine(S.x,S.y,R,B,Ct.x,Ct.y,0);ze?(x.ctrlpts[0]=x.ctrlpts[0]+tt.x*(Ae-$e),x.ctrlpts[1]=x.ctrlpts[1]+tt.y*(Ae-$e)):(x.ctrlpts[0]=pt[0]+tt.x*Ae,x.ctrlpts[1]=pt[1]+tt.y*Ae)}if(fe||ve||lt){st=!0;var Wt={x:x.ctrlpts[0]-L.x,y:x.ctrlpts[1]-L.y},At=Math.sqrt(Wt.x*Wt.x+Wt.y*Wt.y),Mn={x:Wt.x/At,y:Wt.y/At},tn=Math.max(R,B),sn={x:x.ctrlpts[0]+Mn.x*2*tn,y:x.ctrlpts[1]+Mn.y*2*tn},Fn=X.intersectLine(L.x,L.y,q,W,sn.x,sn.y,0);lt?(x.ctrlpts[0]=x.ctrlpts[0]+Mn.x*(Ae-Xe),x.ctrlpts[1]=x.ctrlpts[1]+Mn.y*(Ae-Xe)):(x.ctrlpts[0]=Fn[0]+Mn.x*Ae,x.ctrlpts[1]=Fn[1]+Mn.y*Ae)}st&&this.findEndpoints(_)}},sg.storeAllpts=function(_){var p=_._private.rscratch;if(p.edgeType==="multibezier"||p.edgeType==="bezier"||p.edgeType==="self"||p.edgeType==="compound"){p.allpts=[],p.allpts.push(p.startX,p.startY);for(var x=0;x+1<p.ctrlpts.length;x+=2)p.allpts.push(p.ctrlpts[x],p.ctrlpts[x+1]),x+3<p.ctrlpts.length&&p.allpts.push((p.ctrlpts[x]+p.ctrlpts[x+2])/2,(p.ctrlpts[x+1]+p.ctrlpts[x+3])/2);p.allpts.push(p.endX,p.endY);var S,L;p.ctrlpts.length/2%2===0?(S=p.allpts.length/2-1,p.midX=p.allpts[S],p.midY=p.allpts[S+1]):(S=p.allpts.length/2-3,L=.5,p.midX=i1(p.allpts[S],p.allpts[S+2],p.allpts[S+4],L),p.midY=i1(p.allpts[S+1],p.allpts[S+3],p.allpts[S+5],L))}else if(p.edgeType==="straight")p.allpts=[p.startX,p.startY,p.endX,p.endY],p.midX=(p.startX+p.endX+p.arrowStartX+p.arrowEndX)/4,p.midY=(p.startY+p.endY+p.arrowStartY+p.arrowEndY)/4;else if(p.edgeType==="segments")if(p.allpts=[],p.allpts.push(p.startX,p.startY),p.allpts.push.apply(p.allpts,p.segpts),p.allpts.push(p.endX,p.endY),p.segpts.length%4===0){var R=p.segpts.length/2,B=R-2;p.midX=(p.segpts[B]+p.segpts[R])/2,p.midY=(p.segpts[B+1]+p.segpts[R+1])/2}else{var q=p.segpts.length/2-1;p.midX=p.segpts[q],p.midY=p.segpts[q+1]}},sg.checkForInvalidEdgeWarning=function(_){var p=_[0]._private.rscratch;p.nodesOverlap||ge(p.startX)&&ge(p.startY)&&ge(p.endX)&&ge(p.endY)?p.loggedErr=!1:p.loggedErr||(p.loggedErr=!0,El("Edge `"+_.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},sg.findEdgeControlPoints=function(_){var p=this;if(!(!_||_.length===0)){for(var x=this,S=x.cy,L=S.hasCompoundNodes(),R={map:new Zb,get:function(Ze){var gt=this.map.get(Ze[0]);return gt!=null?gt.get(Ze[1]):null},set:function(Ze,gt){var tt=this.map.get(Ze[0]);tt==null&&(tt=new Zb,this.map.set(Ze[0],tt)),tt.set(Ze[1],gt)}},B=[],q=[],W=0;W<_.length;W++){var M=_[W],X=M._private,ee=M.pstyle("curve-style").value;if(!(M.removed()||!M.takesUpSpace())){if(ee==="haystack"){q.push(M);continue}var le=ee==="unbundled-bezier"||ee==="segments"||ee==="straight"||ee==="straight-triangle"||ee==="taxi",fe=ee==="unbundled-bezier"||ee==="bezier",ve=X.source,be=X.target,Fe=ve.poolIndex(),Ae=be.poolIndex(),$e=[Fe,Ae].sort(),ze=R.get($e);ze==null&&(ze={eles:[]},R.set($e,ze),B.push($e)),ze.eles.push(M),le&&(ze.hasUnbundled=!0),fe&&(ze.hasBezier=!0)}}for(var Xe=function(Ze){var gt=B[Ze],tt=R.get(gt),Tt=void 0;if(!tt.hasUnbundled){var Ct=tt.eles[0].parallelEdges().filter(function(ni){return ni.isBundledBezier()});iD(tt.eles),Ct.forEach(function(ni){return tt.eles.push(ni)}),tt.eles.sort(function(ni,ct){return ni.poolIndex()-ct.poolIndex()})}var pt=tt.eles[0],Wt=pt.source(),At=pt.target();if(Wt.poolIndex()>At.poolIndex()){var Mn=Wt;Wt=At,At=Mn}var tn=tt.srcPos=Wt.position(),sn=tt.tgtPos=At.position(),Fn=tt.srcW=Wt.outerWidth(),Yn=tt.srcH=Wt.outerHeight(),wr=tt.tgtW=At.outerWidth(),qn=tt.tgtH=At.outerHeight(),br=tt.srcShape=x.nodeShapes[p.getNodeShape(Wt)],Dr=tt.tgtShape=x.nodeShapes[p.getNodeShape(At)];tt.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var Qr=0;Qr<tt.eles.length;Qr++){var Hr=tt.eles[Qr],Mr=Hr[0]._private.rscratch,Pn=Hr.pstyle("curve-style").value,Kr=Pn==="unbundled-bezier"||Pn==="segments"||Pn==="taxi",qr=!Wt.same(Hr.source());if(!tt.calculatedIntersection&&Wt!==At&&(tt.hasBezier||tt.hasUnbundled)){tt.calculatedIntersection=!0;var Fi=br.intersectLine(tn.x,tn.y,Fn,Yn,sn.x,sn.y,0),ls=tt.srcIntn=Fi,uo=Dr.intersectLine(sn.x,sn.y,wr,qn,tn.x,tn.y,0),Yo=tt.tgtIntn=uo,ms=tt.intersectionPts={x1:Fi[0],x2:uo[0],y1:Fi[1],y2:uo[1]},es=tt.posPts={x1:tn.x,x2:sn.x,y1:tn.y,y2:sn.y},Ta=uo[1]-Fi[1],Gs=uo[0]-Fi[0],ys=Math.sqrt(Gs*Gs+Ta*Ta),Js=tt.vector={x:Gs,y:Ta},gc=tt.vectorNorm={x:Js.x/ys,y:Js.y/ys},ho={x:-gc.y,y:gc.x};tt.nodesOverlap=!ge(ys)||Dr.checkPoint(Fi[0],Fi[1],0,wr,qn,sn.x,sn.y)||br.checkPoint(uo[0],uo[1],0,Fn,Yn,tn.x,tn.y),tt.vectorNormInverse=ho,Tt={nodesOverlap:tt.nodesOverlap,dirCounts:tt.dirCounts,calculatedIntersection:!0,hasBezier:tt.hasBezier,hasUnbundled:tt.hasUnbundled,eles:tt.eles,srcPos:sn,tgtPos:tn,srcW:wr,srcH:qn,tgtW:Fn,tgtH:Yn,srcIntn:Yo,tgtIntn:ls,srcShape:Dr,tgtShape:br,posPts:{x1:es.x2,y1:es.y2,x2:es.x1,y2:es.y1},intersectionPts:{x1:ms.x2,y1:ms.y2,x2:ms.x1,y2:ms.y1},vector:{x:-Js.x,y:-Js.y},vectorNorm:{x:-gc.x,y:-gc.y},vectorNormInverse:{x:-ho.x,y:-ho.y}}}var Za=qr?Tt:tt;Mr.nodesOverlap=Za.nodesOverlap,Mr.srcIntn=Za.srcIntn,Mr.tgtIntn=Za.tgtIntn,L&&(Wt.isParent()||Wt.isChild()||At.isParent()||At.isChild())&&(Wt.parents().anySame(At)||At.parents().anySame(Wt)||Wt.same(At)&&Wt.isParent())?p.findCompoundLoopPoints(Hr,Za,Qr,Kr):Wt===At?p.findLoopPoints(Hr,Za,Qr,Kr):Pn==="segments"?p.findSegmentsPoints(Hr,Za):Pn==="taxi"?p.findTaxiPoints(Hr,Za):Pn==="straight"||!Kr&&tt.eles.length%2===1&&Qr===Math.floor(tt.eles.length/2)?p.findStraightEdgePoints(Hr):p.findBezierPoints(Hr,Za,Qr,Kr,qr),p.findEndpoints(Hr),p.tryToCorrectInvalidPoints(Hr,Za),p.checkForInvalidEdgeWarning(Hr),p.storeAllpts(Hr),p.storeEdgeProjections(Hr),p.calculateArrowAngles(Hr),p.recalculateEdgeLabelProjections(Hr),p.calculateLabelAngles(Hr)}},lt=0;lt<B.length;lt++)Xe(lt);this.findHaystackPoints(q)}};function KH(_){var p=[];if(_!=null){for(var x=0;x<_.length;x+=2){var S=_[x],L=_[x+1];p.push({x:S,y:L})}return p}}sg.getSegmentPoints=function(_){var p=_[0]._private.rscratch,x=p.edgeType;if(x==="segments")return this.recalculateRenderedStyle(_),KH(p.segpts)},sg.getControlPoints=function(_){var p=_[0]._private.rscratch,x=p.edgeType;if(x==="bezier"||x==="multibezier"||x==="self"||x==="compound")return this.recalculateRenderedStyle(_),KH(p.ctrlpts)},sg.getEdgeMidpoint=function(_){var p=_[0]._private.rscratch;return this.recalculateRenderedStyle(_),{x:p.midX,y:p.midY}};var B7={};B7.manualEndptToPx=function(_,p){var x=this,S=_.position(),L=_.outerWidth(),R=_.outerHeight();if(p.value.length===2){var B=[p.pfValue[0],p.pfValue[1]];return p.units[0]==="%"&&(B[0]=B[0]*L),p.units[1]==="%"&&(B[1]=B[1]*R),B[0]+=S.x,B[1]+=S.y,B}else{var q=p.pfValue[0];q=-Math.PI/2+q;var W=2*Math.max(L,R),M=[S.x+Math.cos(q)*W,S.y+Math.sin(q)*W];return x.nodeShapes[this.getNodeShape(_)].intersectLine(S.x,S.y,L,R,M[0],M[1],0)}},B7.findEndpoints=function(_){var p=this,x,S=_.source()[0],L=_.target()[0],R=S.position(),B=L.position(),q=_.pstyle("target-arrow-shape").value,W=_.pstyle("source-arrow-shape").value,M=_.pstyle("target-distance-from-node").pfValue,X=_.pstyle("source-distance-from-node").pfValue,ee=_.pstyle("curve-style").value,le=_._private.rscratch,fe=le.edgeType,ve=ee==="taxi",be=fe==="self"||fe==="compound",Fe=fe==="bezier"||fe==="multibezier"||be,Ae=fe!=="bezier",$e=fe==="straight"||fe==="segments",ze=fe==="segments",Xe=Fe||Ae||$e,lt=be||ve,st=_.pstyle("source-endpoint"),Ze=lt?"outside-to-node":st.value,gt=_.pstyle("target-endpoint"),tt=lt?"outside-to-node":gt.value;le.srcManEndpt=st,le.tgtManEndpt=gt;var Tt,Ct,pt,Wt;if(Fe){var At=[le.ctrlpts[0],le.ctrlpts[1]],Mn=Ae?[le.ctrlpts[le.ctrlpts.length-2],le.ctrlpts[le.ctrlpts.length-1]]:At;Tt=Mn,Ct=At}else if($e){var tn=ze?le.segpts.slice(0,2):[B.x,B.y],sn=ze?le.segpts.slice(le.segpts.length-2):[R.x,R.y];Tt=sn,Ct=tn}if(tt==="inside-to-node")x=[B.x,B.y];else if(gt.units)x=this.manualEndptToPx(L,gt);else if(tt==="outside-to-line")x=le.tgtIntn;else if(tt==="outside-to-node"||tt==="outside-to-node-or-label"?pt=Tt:(tt==="outside-to-line"||tt==="outside-to-line-or-label")&&(pt=[R.x,R.y]),x=p.nodeShapes[this.getNodeShape(L)].intersectLine(B.x,B.y,L.outerWidth(),L.outerHeight(),pt[0],pt[1],0),tt==="outside-to-node-or-label"||tt==="outside-to-line-or-label"){var Fn=L._private.rscratch,Yn=Fn.labelWidth,wr=Fn.labelHeight,qn=Fn.labelX,br=Fn.labelY,Dr=Yn/2,Qr=wr/2,Hr=L.pstyle("text-valign").value;Hr==="top"?br-=Qr:Hr==="bottom"&&(br+=Qr);var Mr=L.pstyle("text-halign").value;Mr==="left"?qn-=Dr:Mr==="right"&&(qn+=Dr);var Pn=y7(pt[0],pt[1],[qn-Dr,br-Qr,qn+Dr,br-Qr,qn+Dr,br+Qr,qn-Dr,br+Qr],B.x,B.y);if(Pn.length>0){var Kr=R,qr=r6(Kr,Mx(x)),Fi=r6(Kr,Mx(Pn)),ls=qr;if(Fi<qr&&(x=Pn,ls=Fi),Pn.length>2){var uo=r6(Kr,{x:Pn[2],y:Pn[3]});uo<ls&&(x=[Pn[2],Pn[3]])}}}var Yo=JS(x,Tt,p.arrowShapes[q].spacing(_)+M),ms=JS(x,Tt,p.arrowShapes[q].gap(_)+M);if(le.endX=ms[0],le.endY=ms[1],le.arrowEndX=Yo[0],le.arrowEndY=Yo[1],Ze==="inside-to-node")x=[R.x,R.y];else if(st.units)x=this.manualEndptToPx(S,st);else if(Ze==="outside-to-line")x=le.srcIntn;else if(Ze==="outside-to-node"||Ze==="outside-to-node-or-label"?Wt=Ct:(Ze==="outside-to-line"||Ze==="outside-to-line-or-label")&&(Wt=[B.x,B.y]),x=p.nodeShapes[this.getNodeShape(S)].intersectLine(R.x,R.y,S.outerWidth(),S.outerHeight(),Wt[0],Wt[1],0),Ze==="outside-to-node-or-label"||Ze==="outside-to-line-or-label"){var es=S._private.rscratch,Ta=es.labelWidth,Gs=es.labelHeight,ys=es.labelX,Js=es.labelY,gc=Ta/2,ho=Gs/2,Za=S.pstyle("text-valign").value;Za==="top"?Js-=ho:Za==="bottom"&&(Js+=ho);var ni=S.pstyle("text-halign").value;ni==="left"?ys-=gc:ni==="right"&&(ys+=gc);var ct=y7(Wt[0],Wt[1],[ys-gc,Js-ho,ys+gc,Js-ho,ys+gc,Js+ho,ys-gc,Js+ho],R.x,R.y);if(ct.length>0){var ir=B,ci=r6(ir,Mx(x)),Pr=r6(ir,Mx(ct)),Nr=ci;if(Pr<ci&&(x=[ct[0],ct[1]],Nr=Pr),ct.length>2){var rc=r6(ir,{x:ct[2],y:ct[3]});rc<Nr&&(x=[ct[2],ct[3]])}}}var ki=JS(x,Ct,p.arrowShapes[W].spacing(_)+X),ta=JS(x,Ct,p.arrowShapes[W].gap(_)+X);le.startX=ta[0],le.startY=ta[1],le.arrowStartX=ki[0],le.arrowStartY=ki[1],Xe&&(!ge(le.startX)||!ge(le.startY)||!ge(le.endX)||!ge(le.endY)?le.badLine=!0:le.badLine=!1)},B7.getSourceEndpoint=function(_){var p=_[0]._private.rscratch;switch(this.recalculateRenderedStyle(_),p.edgeType){case"haystack":return{x:p.haystackPts[0],y:p.haystackPts[1]};default:return{x:p.arrowStartX,y:p.arrowStartY}}},B7.getTargetEndpoint=function(_){var p=_[0]._private.rscratch;switch(this.recalculateRenderedStyle(_),p.edgeType){case"haystack":return{x:p.haystackPts[2],y:p.haystackPts[3]};default:return{x:p.arrowEndX,y:p.arrowEndY}}};var PD={};function lse(_,p,x){for(var S=function(M,X,ee,le){return i1(M,X,ee,le)},L=p._private,R=L.rstyle.bezierPts,B=0;B<_.bezierProjPcts.length;B++){var q=_.bezierProjPcts[B];R.push({x:S(x[0],x[2],x[4],q),y:S(x[1],x[3],x[5],q)})}}PD.storeEdgeProjections=function(_){var p=_._private,x=p.rscratch,S=x.edgeType;if(p.rstyle.bezierPts=null,p.rstyle.linePts=null,p.rstyle.haystackPts=null,S==="multibezier"||S==="bezier"||S==="self"||S==="compound"){p.rstyle.bezierPts=[];for(var L=0;L+5<x.allpts.length;L+=4)lse(this,_,x.allpts.slice(L,L+6))}else if(S==="segments")for(var R=p.rstyle.linePts=[],L=0;L+1<x.allpts.length;L+=2)R.push({x:x.allpts[L],y:x.allpts[L+1]});else if(S==="haystack"){var B=x.haystackPts;p.rstyle.haystackPts=[{x:B[0],y:B[1]},{x:B[2],y:B[3]}]}p.rstyle.arrowWidth=this.getArrowWidth(_.pstyle("width").pfValue,_.pstyle("arrow-scale").value)*this.arrowShapeWidth},PD.recalculateEdgeProjections=function(_){this.findEdgeControlPoints(_)};var Ev={};Ev.recalculateNodeLabelProjection=function(_){var p=_.pstyle("label").strValue;if(!Ee(p)){var x,S,L=_._private,R=_.width(),B=_.height(),q=_.padding(),W=_.position(),M=_.pstyle("text-halign").strValue,X=_.pstyle("text-valign").strValue,ee=L.rscratch,le=L.rstyle;switch(M){case"left":x=W.x-R/2-q;break;case"right":x=W.x+R/2+q;break;default:x=W.x}switch(X){case"top":S=W.y-B/2-q;break;case"bottom":S=W.y+B/2+q;break;default:S=W.y}ee.labelX=x,ee.labelY=S,le.labelX=x,le.labelY=S,this.calculateLabelAngles(_),this.applyLabelDimensions(_)}};var YH=function(p,x){var S=Math.atan(x/p);return p===0&&S<0&&(S=S*-1),S},XH=function(p,x){var S=x.x-p.x,L=x.y-p.y;return YH(S,L)},QH=function(p,x,S,L){var R=b7(0,L-.001,1),B=b7(0,L+.001,1),q=Lx(p,x,S,R),W=Lx(p,x,S,B);return XH(q,W)};Ev.recalculateEdgeLabelProjections=function(_){var p,x=_._private,S=x.rscratch,L=this,R={mid:_.pstyle("label").strValue,source:_.pstyle("source-label").strValue,target:_.pstyle("target-label").strValue};if(R.mid||R.source||R.target){p={x:S.midX,y:S.midY};var B=function(ee,le,fe){z3(x.rscratch,ee,le,fe),z3(x.rstyle,ee,le,fe)};B("labelX",null,p.x),B("labelY",null,p.y);var q=YH(S.midDispX,S.midDispY);B("labelAutoAngle",null,q);var W=function X(){if(X.cache)return X.cache;for(var ee=[],le=0;le+5<S.allpts.length;le+=4){var fe={x:S.allpts[le],y:S.allpts[le+1]},ve={x:S.allpts[le+2],y:S.allpts[le+3]},be={x:S.allpts[le+4],y:S.allpts[le+5]};ee.push({p0:fe,p1:ve,p2:be,startDist:0,length:0,segments:[]})}var Fe=x.rstyle.bezierPts,Ae=L.bezierProjPcts.length;function $e(Ze,gt,tt,Tt,Ct){var pt=n6(gt,tt),Wt=Ze.segments[Ze.segments.length-1],At={p0:gt,p1:tt,t0:Tt,t1:Ct,startDist:Wt?Wt.startDist+Wt.length:0,length:pt};Ze.segments.push(At),Ze.length+=pt}for(var ze=0;ze<ee.length;ze++){var Xe=ee[ze],lt=ee[ze-1];lt&&(Xe.startDist=lt.startDist+lt.length),$e(Xe,Xe.p0,Fe[ze*Ae],0,L.bezierProjPcts[0]);for(var st=0;st<Ae-1;st++)$e(Xe,Fe[ze*Ae+st],Fe[ze*Ae+st+1],L.bezierProjPcts[st],L.bezierProjPcts[st+1]);$e(Xe,Fe[ze*Ae+Ae-1],Xe.p2,L.bezierProjPcts[Ae-1],1)}return X.cache=ee},M=function(ee){var le,fe=ee==="source";if(R[ee]){var ve=_.pstyle(ee+"-text-offset").pfValue;switch(S.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var be=W(),Fe,Ae=0,$e=0,ze=0;ze<be.length;ze++){for(var Xe=be[fe?ze:be.length-1-ze],lt=0;lt<Xe.segments.length;lt++){var st=Xe.segments[fe?lt:Xe.segments.length-1-lt],Ze=ze===be.length-1&&lt===Xe.segments.length-1;if(Ae=$e,$e+=st.length,$e>=ve||Ze){Fe={cp:Xe,segment:st};break}}if(Fe)break}var gt=Fe.cp,tt=Fe.segment,Tt=(ve-Ae)/tt.length,Ct=tt.t1-tt.t0,pt=fe?tt.t0+Ct*Tt:tt.t1-Ct*Tt;pt=b7(0,pt,1),p=Lx(gt.p0,gt.p1,gt.p2,pt),le=QH(gt.p0,gt.p1,gt.p2,pt);break}case"straight":case"segments":case"haystack":{for(var Wt=0,At,Mn,tn,sn,Fn=S.allpts.length,Yn=0;Yn+3<Fn&&(fe?(tn={x:S.allpts[Yn],y:S.allpts[Yn+1]},sn={x:S.allpts[Yn+2],y:S.allpts[Yn+3]}):(tn={x:S.allpts[Fn-2-Yn],y:S.allpts[Fn-1-Yn]},sn={x:S.allpts[Fn-4-Yn],y:S.allpts[Fn-3-Yn]}),At=n6(tn,sn),Mn=Wt,Wt+=At,!(Wt>=ve));Yn+=2);var wr=ve-Mn,qn=wr/At;qn=b7(0,qn,1),p=Oee(tn,sn,qn),le=XH(tn,sn);break}}B("labelX",ee,p.x),B("labelY",ee,p.y),B("labelAutoAngle",ee,le)}};M("source"),M("target"),this.applyLabelDimensions(_)}},Ev.applyLabelDimensions=function(_){this.applyPrefixedLabelDimensions(_),_.isEdge()&&(this.applyPrefixedLabelDimensions(_,"source"),this.applyPrefixedLabelDimensions(_,"target"))},Ev.applyPrefixedLabelDimensions=function(_,p){var x=_._private,S=this.getLabelText(_,p),L=this.calculateLabelDimensions(_,S),R=_.pstyle("line-height").pfValue,B=_.pstyle("text-wrap").strValue,q=yv(x.rscratch,"labelWrapCachedLines",p)||[],W=B!=="wrap"?1:Math.max(q.length,1),M=L.height/W,X=M*R,ee=L.width,le=L.height+(W-1)*(R-1)*M;z3(x.rstyle,"labelWidth",p,ee),z3(x.rscratch,"labelWidth",p,ee),z3(x.rstyle,"labelHeight",p,le),z3(x.rscratch,"labelHeight",p,le),z3(x.rscratch,"labelLineHeight",p,X)},Ev.getLabelText=function(_,p){var x=_._private,S=p?p+"-":"",L=_.pstyle(S+"label").strValue,R=_.pstyle("text-transform").value,B=function(wr,qn){return qn?(z3(x.rscratch,wr,p,qn),qn):yv(x.rscratch,wr,p)};if(!L)return"";R=="none"||(R=="uppercase"?L=L.toUpperCase():R=="lowercase"&&(L=L.toLowerCase()));var q=_.pstyle("text-wrap").value;if(q==="wrap"){var W=B("labelKey");if(W!=null&&B("labelWrapKey")===W)return B("labelWrapCachedText");for(var M="",X=L.split(`
`),ee=_.pstyle("text-max-width").pfValue,le=_.pstyle("text-overflow-wrap").value,fe=le==="anywhere",ve=[],be=/[\s\u200b]+/,Fe=fe?"":" ",Ae=0;Ae<X.length;Ae++){var $e=X[Ae],ze=this.calculateLabelDimensions(_,$e),Xe=ze.width;if(fe){var lt=$e.split("").join(M);$e=lt}if(Xe>ee){for(var st=$e.split(be),Ze="",gt=0;gt<st.length;gt++){var tt=st[gt],Tt=Ze.length===0?tt:Ze+Fe+tt,Ct=this.calculateLabelDimensions(_,Tt),pt=Ct.width;pt<=ee?Ze+=tt+Fe:(Ze&&ve.push(Ze),Ze=tt+Fe)}Ze.match(/^[\s\u200b]+$/)||ve.push(Ze)}else ve.push($e)}B("labelWrapCachedLines",ve),L=B("labelWrapCachedText",ve.join(`
`)),B("labelWrapKey",W)}else if(q==="ellipsis"){var Wt=_.pstyle("text-max-width").pfValue,At="",Mn="…",tn=!1;if(this.calculateLabelDimensions(_,L).width<Wt)return L;for(var sn=0;sn<L.length;sn++){var Fn=this.calculateLabelDimensions(_,At+L[sn]+Mn).width;if(Fn>Wt)break;At+=L[sn],sn===L.length-1&&(tn=!0)}return tn||(At+=Mn),At}return L},Ev.getLabelJustification=function(_){var p=_.pstyle("text-justification").strValue,x=_.pstyle("text-halign").strValue;if(p==="auto")if(_.isNode())switch(x){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return p},Ev.calculateLabelDimensions=function(_,p){var x=this,S=vv(p,_._private.labelDimsKey),L=x.labelDimCache||(x.labelDimCache=[]),R=L[S];if(R!=null)return R;var B=0,q=_.pstyle("font-style").strValue,W=_.pstyle("font-size").pfValue,M=_.pstyle("font-family").strValue,X=_.pstyle("font-weight").strValue,ee=this.labelCalcCanvas,le=this.labelCalcCanvasContext;if(!ee){ee=this.labelCalcCanvas=document.createElement("canvas"),le=this.labelCalcCanvasContext=ee.getContext("2d");var fe=ee.style;fe.position="absolute",fe.left="-9999px",fe.top="-9999px",fe.zIndex="-1",fe.visibility="hidden",fe.pointerEvents="none"}le.font="".concat(q," ").concat(X," ").concat(W,"px ").concat(M);for(var ve=0,be=0,Fe=p.split(`
`),Ae=0;Ae<Fe.length;Ae++){var $e=Fe[Ae],ze=le.measureText($e),Xe=Math.ceil(ze.width),lt=W;ve=Math.max(Xe,ve),be+=lt}return ve+=B,be+=B,L[S]={width:ve,height:be}},Ev.calculateLabelAngle=function(_,p){var x=_._private,S=x.rscratch,L=_.isEdge(),R=p?p+"-":"",B=_.pstyle(R+"text-rotation"),q=B.strValue;return q==="none"?0:L&&q==="autorotate"?S.labelAutoAngle:q==="autorotate"?0:B.pfValue},Ev.calculateLabelAngles=function(_){var p=this,x=_.isEdge(),S=_._private,L=S.rscratch;L.labelAngle=p.calculateLabelAngle(_),x&&(L.sourceLabelAngle=p.calculateLabelAngle(_,"source"),L.targetLabelAngle=p.calculateLabelAngle(_,"target"))};var Qf={},ND=28,ZH=!1;Qf.getNodeShape=function(_){var p=this,x=_.pstyle("shape").value;if(x==="cutrectangle"&&(_.width()<ND||_.height()<ND))return ZH||(El("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),ZH=!0),"rectangle";if(_.isParent())return x==="rectangle"||x==="roundrectangle"||x==="round-rectangle"||x==="cutrectangle"||x==="cut-rectangle"||x==="barrel"?x:"rectangle";if(x==="polygon"){var S=_.pstyle("shape-polygon-points").value;return p.nodeShapes.makePolygon(S).name}return x};var F7={};F7.registerCalculationListeners=function(){var _=this.cy,p=_.collection(),x=this,S=function(B){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(p.merge(B),q)for(var W=0;W<B.length;W++){var M=B[W],X=M._private,ee=X.rstyle;ee.clean=!1,ee.cleanConnected=!1}};x.binder(_).on("bounds.* dirty.*",function(B){var q=B.target;S(q)}).on("style.* background.*",function(B){var q=B.target;S(q,!1)});var L=function(B){if(B){var q=x.onUpdateEleCalcsFns;p.cleanStyle();for(var W=0;W<p.length;W++){var M=p[W],X=M._private.rstyle;M.isNode()&&!X.cleanConnected&&(S(M.connectedEdges()),X.cleanConnected=!0)}if(q)for(var ee=0;ee<q.length;ee++){var le=q[ee];le(B,p)}x.recalculateRenderedStyle(p),p=_.collection()}};x.flushRenderedStyleQueue=function(){L(!0)},x.beforeRender(L,x.beforeRenderPriorities.eleCalcs)},F7.onUpdateEleCalcs=function(_){var p=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];p.push(_)},F7.recalculateRenderedStyle=function(_,p){var x=function(Xe){return Xe._private.rstyle.cleanConnected},S=[],L=[];if(!this.destroyed){p===void 0&&(p=!0);for(var R=0;R<_.length;R++){var B=_[R],q=B._private,W=q.rstyle;B.isEdge()&&(!x(B.source())||!x(B.target()))&&(W.clean=!1),!(p&&W.clean||B.removed())&&B.pstyle("display").value!=="none"&&(q.group==="nodes"?L.push(B):S.push(B),W.clean=!0)}for(var M=0;M<L.length;M++){var X=L[M],ee=X._private,le=ee.rstyle,fe=X.position();this.recalculateNodeLabelProjection(X),le.nodeX=fe.x,le.nodeY=fe.y,le.nodeW=X.pstyle("width").pfValue,le.nodeH=X.pstyle("height").pfValue}this.recalculateEdgeProjections(S);for(var ve=0;ve<S.length;ve++){var be=S[ve],Fe=be._private,Ae=Fe.rstyle,$e=Fe.rscratch;Ae.srcX=$e.arrowStartX,Ae.srcY=$e.arrowStartY,Ae.tgtX=$e.arrowEndX,Ae.tgtY=$e.arrowEndY,Ae.midX=$e.midX,Ae.midY=$e.midY,Ae.labelAngle=$e.labelAngle,Ae.sourceLabelAngle=$e.sourceLabelAngle,Ae.targetLabelAngle=$e.targetLabelAngle}}};var DC={};DC.updateCachedGrabbedEles=function(){var _=this.cachedZSortedEles;if(_){_.drag=[],_.nondrag=[];for(var p=[],x=0;x<_.length;x++){var S=_[x],L=S._private.rscratch;S.grabbed()&&!S.isParent()?p.push(S):L.inDragLayer?_.drag.push(S):_.nondrag.push(S)}for(var x=0;x<p.length;x++){var S=p[x];_.drag.push(S)}}},DC.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},DC.getCachedZSortedEles=function(_){if(_||!this.cachedZSortedEles){var p=this.cy.mutableElements().toArray();p.sort(EH),p.interactive=p.filter(function(x){return x.interactive()}),this.cachedZSortedEles=p,this.updateCachedGrabbedEles()}else p=this.cachedZSortedEles;return p};var j7={};[c6,OC,sg,B7,PD,Ev,Qf,F7,DC].forEach(function(_){Ge(j7,_)});var JH={};JH.getCachedImage=function(_,p,x){var S=this,L=S.imageCache=S.imageCache||{},R=L[_];if(R)return R.image.complete||R.image.addEventListener("load",x),R.image;R=L[_]=L[_]||{};var B=R.image=new Image;B.addEventListener("load",x),B.addEventListener("error",function(){B.error=!0});var q="data:",W=_.substring(0,q.length).toLowerCase()===q;return W||(B.crossOrigin=p),B.src=_,B};var Kx={};Kx.registerBinding=function(_,p,x,S){var L=Array.prototype.slice.apply(arguments,[1]),R=this.binder(_);return R.on.apply(R,L)},Kx.binder=function(_){var p=this,x=_===window||_===document||_===document.body||kt(_);if(p.supportsPassiveEvents==null){var S=!1;try{var L=Object.defineProperty({},"passive",{get:function(){return S=!0,!0}});window.addEventListener("test",null,L)}catch{}p.supportsPassiveEvents=S}var R=function(q,W,M){var X=Array.prototype.slice.call(arguments);return x&&p.supportsPassiveEvents&&(X[2]={capture:M??!1,passive:!1,once:!1}),p.bindings.push({target:_,args:X}),(_.addEventListener||_.on).apply(_,X),this};return{on:R,addEventListener:R,addListener:R,bind:R}},Kx.nodeIsDraggable=function(_){return _&&_.isNode()&&!_.locked()&&_.grabbable()},Kx.nodeIsGrabbable=function(_){return this.nodeIsDraggable(_)&&_.interactive()},Kx.load=function(){var _=this,p=function(ct){return ct.selected()},x=function(ct,ir,ci,Pr){ct==null&&(ct=_.cy);for(var Nr=0;Nr<ir.length;Nr++){var rc=ir[Nr];ct.emit({originalEvent:ci,type:rc,position:Pr})}},S=function(ct){return ct.shiftKey||ct.metaKey||ct.ctrlKey},L=function(ct,ir){var ci=!0;if(_.cy.hasCompoundNodes()&&ct&&ct.pannable())for(var Pr=0;ir&&Pr<ir.length;Pr++){var ct=ir[Pr];if(ct.isNode()&&ct.isParent()&&!ct.pannable()){ci=!1;break}}else ci=!0;return ci},R=function(ct){ct[0]._private.grabbed=!0},B=function(ct){ct[0]._private.grabbed=!1},q=function(ct){ct[0]._private.rscratch.inDragLayer=!0},W=function(ct){ct[0]._private.rscratch.inDragLayer=!1},M=function(ct){ct[0]._private.rscratch.isGrabTarget=!0},X=function(ct){ct[0]._private.rscratch.isGrabTarget=!1},ee=function(ct,ir){var ci=ir.addToList,Pr=ci.has(ct);!Pr&&ct.grabbable()&&!ct.locked()&&(ci.merge(ct),R(ct))},le=function(ct,ir){if(ct.cy().hasCompoundNodes()&&!(ir.inDragLayer==null&&ir.addToList==null)){var ci=ct.descendants();ir.inDragLayer&&(ci.forEach(q),ci.connectedEdges().forEach(q)),ir.addToList&&ee(ci,ir)}},fe=function(ct,ir){ir=ir||{};var ci=ct.cy().hasCompoundNodes();ir.inDragLayer&&(ct.forEach(q),ct.neighborhood().stdFilter(function(Pr){return!ci||Pr.isEdge()}).forEach(q)),ir.addToList&&ct.forEach(function(Pr){ee(Pr,ir)}),le(ct,ir),Fe(ct,{inDragLayer:ir.inDragLayer}),_.updateCachedGrabbedEles()},ve=fe,be=function(ct){ct&&(_.getCachedZSortedEles().forEach(function(ir){B(ir),W(ir),X(ir)}),_.updateCachedGrabbedEles())},Fe=function(ct,ir){if(!(ir.inDragLayer==null&&ir.addToList==null)&&ct.cy().hasCompoundNodes()){var ci=ct.ancestors().orphans();if(!ci.same(ct)){var Pr=ci.descendants().spawnSelf().merge(ci).unmerge(ct).unmerge(ct.descendants()),Nr=Pr.connectedEdges();ir.inDragLayer&&(Nr.forEach(q),Pr.forEach(q)),ir.addToList&&Pr.forEach(function(rc){ee(rc,ir)})}}},Ae=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},$e=typeof MutationObserver<"u",ze=typeof ResizeObserver<"u";$e?(_.removeObserver=new MutationObserver(function(ni){for(var ct=0;ct<ni.length;ct++){var ir=ni[ct],ci=ir.removedNodes;if(ci)for(var Pr=0;Pr<ci.length;Pr++){var Nr=ci[Pr];if(Nr===_.container){_.destroy();break}}}}),_.container.parentNode&&_.removeObserver.observe(_.container.parentNode,{childList:!0})):_.registerBinding(_.container,"DOMNodeRemoved",function(ni){_.destroy()});var Xe=$g(function(){_.cy.resize()},100);$e&&(_.styleObserver=new MutationObserver(Xe),_.styleObserver.observe(_.container,{attributes:!0})),_.registerBinding(window,"resize",Xe),ze&&(_.resizeObserver=new ResizeObserver(Xe),_.resizeObserver.observe(_.container));var lt=function(ct,ir){for(;ct!=null;)ir(ct),ct=ct.parentNode},st=function(){_.invalidateContainerClientCoordsCache()};lt(_.container,function(ni){_.registerBinding(ni,"transitionend",st),_.registerBinding(ni,"animationend",st),_.registerBinding(ni,"scroll",st)}),_.registerBinding(_.container,"contextmenu",function(ni){ni.preventDefault()});var Ze=function(){return _.selection[4]!==0},gt=function(ct){for(var ir=_.findContainerClientCoords(),ci=ir[0],Pr=ir[1],Nr=ir[2],rc=ir[3],ki=ct.touches?ct.touches:[ct],ta=!1,gl=0;gl<ki.length;gl++){var yu=ki[gl];if(ci<=yu.clientX&&yu.clientX<=ci+Nr&&Pr<=yu.clientY&&yu.clientY<=Pr+rc){ta=!0;break}}if(!ta)return!1;for(var Ec=_.container,tu=ct.target,Xo=tu.parentNode,Tc=!1;Xo;){if(Xo===Ec){Tc=!0;break}Xo=Xo.parentNode}return!!Tc};_.registerBinding(_.container,"mousedown",function(ct){if(gt(ct)){ct.preventDefault(),Ae(),_.hoverData.capture=!0,_.hoverData.which=ct.which;var ir=_.cy,ci=[ct.clientX,ct.clientY],Pr=_.projectIntoViewport(ci[0],ci[1]),Nr=_.selection,rc=_.findNearestElements(Pr[0],Pr[1],!0,!1),ki=rc[0],ta=_.dragData.possibleDragElements;_.hoverData.mdownPos=Pr,_.hoverData.mdownGPos=ci;var gl=function(){_.hoverData.tapholdCancelled=!1,clearTimeout(_.hoverData.tapholdTimeout),_.hoverData.tapholdTimeout=setTimeout(function(){if(!_.hoverData.tapholdCancelled){var df=_.hoverData.down;df?df.emit({originalEvent:ct,type:"taphold",position:{x:Pr[0],y:Pr[1]}}):ir.emit({originalEvent:ct,type:"taphold",position:{x:Pr[0],y:Pr[1]}})}},_.tapholdDuration)};if(ct.which==3){_.hoverData.cxtStarted=!0;var yu={originalEvent:ct,type:"cxttapstart",position:{x:Pr[0],y:Pr[1]}};ki?(ki.activate(),ki.emit(yu),_.hoverData.down=ki):ir.emit(yu),_.hoverData.downTime=new Date().getTime(),_.hoverData.cxtDragged=!1}else if(ct.which==1){ki&&ki.activate();{if(ki!=null&&_.nodeIsGrabbable(ki)){var Ec=function(df){return{originalEvent:ct,type:df,position:{x:Pr[0],y:Pr[1]}}},tu=function(df){df.emit(Ec("grab"))};if(M(ki),!ki.selected())ta=_.dragData.possibleDragElements=ir.collection(),ve(ki,{addToList:ta}),ki.emit(Ec("grabon")).emit(Ec("grab"));else{ta=_.dragData.possibleDragElements=ir.collection();var Xo=ir.$(function(Tc){return Tc.isNode()&&Tc.selected()&&_.nodeIsGrabbable(Tc)});fe(Xo,{addToList:ta}),ki.emit(Ec("grabon")),Xo.forEach(tu)}_.redrawHint("eles",!0),_.redrawHint("drag",!0)}_.hoverData.down=ki,_.hoverData.downs=rc,_.hoverData.downTime=new Date().getTime()}x(ki,["mousedown","tapstart","vmousedown"],ct,{x:Pr[0],y:Pr[1]}),ki==null?(Nr[4]=1,_.data.bgActivePosistion={x:Pr[0],y:Pr[1]},_.redrawHint("select",!0),_.redraw()):ki.pannable()&&(Nr[4]=1),gl()}Nr[0]=Nr[2]=Pr[0],Nr[1]=Nr[3]=Pr[1]}},!1),_.registerBinding(window,"mousemove",function(ct){var ir=_.hoverData.capture;if(!(!ir&&!gt(ct))){var ci=!1,Pr=_.cy,Nr=Pr.zoom(),rc=[ct.clientX,ct.clientY],ki=_.projectIntoViewport(rc[0],rc[1]),ta=_.hoverData.mdownPos,gl=_.hoverData.mdownGPos,yu=_.selection,Ec=null;!_.hoverData.draggingEles&&!_.hoverData.dragging&&!_.hoverData.selecting&&(Ec=_.findNearestElement(ki[0],ki[1],!0,!1));var tu=_.hoverData.last,Xo=_.hoverData.down,Tc=[ki[0]-yu[2],ki[1]-yu[3]],df=_.dragData.possibleDragElements,j1;if(gl){var Tv=rc[0]-gl[0],Sv=Tv*Tv,$1=rc[1]-gl[1],vm=$1*$1,ag=Sv+vm;_.hoverData.isOverThresholdDrag=j1=ag>=_.desktopTapThreshold2}var Dw=S(ct);j1&&(_.hoverData.tapholdCancelled=!0);var Z3=function(){var t2=_.hoverData.dragDelta=_.hoverData.dragDelta||[];t2.length===0?(t2.push(Tc[0]),t2.push(Tc[1])):(t2[0]+=Tc[0],t2[1]+=Tc[1])};ci=!0,x(Ec,["mousemove","vmousemove","tapdrag"],ct,{x:ki[0],y:ki[1]});var tk=function(){_.data.bgActivePosistion=void 0,_.hoverData.selecting||Pr.emit({originalEvent:ct,type:"boxstart",position:{x:ki[0],y:ki[1]}}),yu[4]=1,_.hoverData.selecting=!0,_.redrawHint("select",!0),_.redraw()};if(_.hoverData.which===3){if(j1){var f6={originalEvent:ct,type:"cxtdrag",position:{x:ki[0],y:ki[1]}};Xo?Xo.emit(f6):Pr.emit(f6),_.hoverData.cxtDragged=!0,(!_.hoverData.cxtOver||Ec!==_.hoverData.cxtOver)&&(_.hoverData.cxtOver&&_.hoverData.cxtOver.emit({originalEvent:ct,type:"cxtdragout",position:{x:ki[0],y:ki[1]}}),_.hoverData.cxtOver=Ec,Ec&&Ec.emit({originalEvent:ct,type:"cxtdragover",position:{x:ki[0],y:ki[1]}}))}}else if(_.hoverData.dragging){if(ci=!0,Pr.panningEnabled()&&Pr.userPanningEnabled()){var nk;if(_.hoverData.justStartedPan){var HC=_.hoverData.mdownPos;nk={x:(ki[0]-HC[0])*Nr,y:(ki[1]-HC[1])*Nr},_.hoverData.justStartedPan=!1}else nk={x:Tc[0]*Nr,y:Tc[1]*Nr};Pr.panBy(nk),Pr.emit("dragpan"),_.hoverData.dragged=!0}ki=_.projectIntoViewport(ct.clientX,ct.clientY)}else if(yu[4]==1&&(Xo==null||Xo.pannable())){if(j1){if(!_.hoverData.dragging&&Pr.boxSelectionEnabled()&&(Dw||!Pr.panningEnabled()||!Pr.userPanningEnabled()))tk();else if(!_.hoverData.selecting&&Pr.panningEnabled()&&Pr.userPanningEnabled()){var d6=L(Xo,_.hoverData.downs);d6&&(_.hoverData.dragging=!0,_.hoverData.justStartedPan=!0,yu[4]=0,_.data.bgActivePosistion=Mx(ta),_.redrawHint("select",!0),_.redraw())}Xo&&Xo.pannable()&&Xo.active()&&Xo.unactivate()}}else{if(Xo&&Xo.pannable()&&Xo.active()&&Xo.unactivate(),(!Xo||!Xo.grabbed())&&Ec!=tu&&(tu&&x(tu,["mouseout","tapdragout"],ct,{x:ki[0],y:ki[1]}),Ec&&x(Ec,["mouseover","tapdragover"],ct,{x:ki[0],y:ki[1]}),_.hoverData.last=Ec),Xo)if(j1){if(Pr.boxSelectionEnabled()&&Dw)Xo&&Xo.grabbed()&&(be(df),Xo.emit("freeon"),df.emit("free"),_.dragData.didDrag&&(Xo.emit("dragfreeon"),df.emit("dragfree"))),tk();else if(Xo&&Xo.grabbed()&&_.nodeIsDraggable(Xo)){var Vg=!_.dragData.didDrag;Vg&&_.redrawHint("eles",!0),_.dragData.didDrag=!0,_.hoverData.draggingEles||fe(df,{inDragLayer:!0});var b0={x:0,y:0};if(ge(Tc[0])&&ge(Tc[1])&&(b0.x+=Tc[0],b0.y+=Tc[1],Vg)){var qg=_.hoverData.dragDelta;qg&&ge(qg[0])&&ge(qg[1])&&(b0.x+=qg[0],b0.y+=qg[1])}_.hoverData.draggingEles=!0,df.silentShift(b0).emit("position drag"),_.redrawHint("drag",!0),_.redraw()}}else Z3();ci=!0}if(yu[2]=ki[0],yu[3]=ki[1],ci)return ct.stopPropagation&&ct.stopPropagation(),ct.preventDefault&&ct.preventDefault(),!1}},!1);var tt,Tt,Ct;_.registerBinding(window,"mouseup",function(ct){var ir=_.hoverData.capture;if(ir){_.hoverData.capture=!1;var ci=_.cy,Pr=_.projectIntoViewport(ct.clientX,ct.clientY),Nr=_.selection,rc=_.findNearestElement(Pr[0],Pr[1],!0,!1),ki=_.dragData.possibleDragElements,ta=_.hoverData.down,gl=S(ct);if(_.data.bgActivePosistion&&(_.redrawHint("select",!0),_.redraw()),_.hoverData.tapholdCancelled=!0,_.data.bgActivePosistion=void 0,ta&&ta.unactivate(),_.hoverData.which===3){var yu={originalEvent:ct,type:"cxttapend",position:{x:Pr[0],y:Pr[1]}};if(ta?ta.emit(yu):ci.emit(yu),!_.hoverData.cxtDragged){var Ec={originalEvent:ct,type:"cxttap",position:{x:Pr[0],y:Pr[1]}};ta?ta.emit(Ec):ci.emit(Ec)}_.hoverData.cxtDragged=!1,_.hoverData.which=null}else if(_.hoverData.which===1){if(x(rc,["mouseup","tapend","vmouseup"],ct,{x:Pr[0],y:Pr[1]}),!_.dragData.didDrag&&!_.hoverData.dragged&&!_.hoverData.selecting&&!_.hoverData.isOverThresholdDrag&&(x(ta,["click","tap","vclick"],ct,{x:Pr[0],y:Pr[1]}),Tt=!1,ct.timeStamp-Ct<=ci.multiClickDebounceTime()?(tt&&clearTimeout(tt),Tt=!0,Ct=null,x(ta,["dblclick","dbltap","vdblclick"],ct,{x:Pr[0],y:Pr[1]})):(tt=setTimeout(function(){Tt||x(ta,["oneclick","onetap","voneclick"],ct,{x:Pr[0],y:Pr[1]})},ci.multiClickDebounceTime()),Ct=ct.timeStamp)),ta==null&&!_.dragData.didDrag&&!_.hoverData.selecting&&!_.hoverData.dragged&&!S(ct)&&(ci.$(p).unselect(["tapunselect"]),ki.length>0&&_.redrawHint("eles",!0),_.dragData.possibleDragElements=ki=ci.collection()),rc==ta&&!_.dragData.didDrag&&!_.hoverData.selecting&&rc!=null&&rc._private.selectable&&(_.hoverData.dragging||(ci.selectionType()==="additive"||gl?rc.selected()?rc.unselect(["tapunselect"]):rc.select(["tapselect"]):gl||(ci.$(p).unmerge(rc).unselect(["tapunselect"]),rc.select(["tapselect"]))),_.redrawHint("eles",!0)),_.hoverData.selecting){var tu=ci.collection(_.getAllInBox(Nr[0],Nr[1],Nr[2],Nr[3]));_.redrawHint("select",!0),tu.length>0&&_.redrawHint("eles",!0),ci.emit({type:"boxend",originalEvent:ct,position:{x:Pr[0],y:Pr[1]}});var Xo=function(j1){return j1.selectable()&&!j1.selected()};ci.selectionType()==="additive"||gl||ci.$(p).unmerge(tu).unselect(),tu.emit("box").stdFilter(Xo).select().emit("boxselect"),_.redraw()}if(_.hoverData.dragging&&(_.hoverData.dragging=!1,_.redrawHint("select",!0),_.redrawHint("eles",!0),_.redraw()),!Nr[4]){_.redrawHint("drag",!0),_.redrawHint("eles",!0);var Tc=ta&&ta.grabbed();be(ki),Tc&&(ta.emit("freeon"),ki.emit("free"),_.dragData.didDrag&&(ta.emit("dragfreeon"),ki.emit("dragfree")))}}Nr[4]=0,_.hoverData.down=null,_.hoverData.cxtStarted=!1,_.hoverData.draggingEles=!1,_.hoverData.selecting=!1,_.hoverData.isOverThresholdDrag=!1,_.dragData.didDrag=!1,_.hoverData.dragged=!1,_.hoverData.dragDelta=[],_.hoverData.mdownPos=null,_.hoverData.mdownGPos=null}},!1);var pt=function(ct){if(!_.scrollingPage){var ir=_.cy,ci=ir.zoom(),Pr=ir.pan(),Nr=_.projectIntoViewport(ct.clientX,ct.clientY),rc=[Nr[0]*ci+Pr.x,Nr[1]*ci+Pr.y];if(_.hoverData.draggingEles||_.hoverData.dragging||_.hoverData.cxtStarted||Ze()){ct.preventDefault();return}if(ir.panningEnabled()&&ir.userPanningEnabled()&&ir.zoomingEnabled()&&ir.userZoomingEnabled()){ct.preventDefault(),_.data.wheelZooming=!0,clearTimeout(_.data.wheelTimeout),_.data.wheelTimeout=setTimeout(function(){_.data.wheelZooming=!1,_.redrawHint("eles",!0),_.redraw()},150);var ki;ct.deltaY!=null?ki=ct.deltaY/-250:ct.wheelDeltaY!=null?ki=ct.wheelDeltaY/1e3:ki=ct.wheelDelta/1e3,ki=ki*_.wheelSensitivity;var ta=ct.deltaMode===1;ta&&(ki*=33);var gl=ir.zoom()*Math.pow(10,ki);ct.type==="gesturechange"&&(gl=_.gestureStartZoom*ct.scale),ir.zoom({level:gl,renderedPosition:{x:rc[0],y:rc[1]}}),ir.emit(ct.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};_.registerBinding(_.container,"wheel",pt,!0),_.registerBinding(window,"scroll",function(ct){_.scrollingPage=!0,clearTimeout(_.scrollingPageTimeout),_.scrollingPageTimeout=setTimeout(function(){_.scrollingPage=!1},250)},!0),_.registerBinding(_.container,"gesturestart",function(ct){_.gestureStartZoom=_.cy.zoom(),_.hasTouchStarted||ct.preventDefault()},!0),_.registerBinding(_.container,"gesturechange",function(ni){_.hasTouchStarted||pt(ni)},!0),_.registerBinding(_.container,"mouseout",function(ct){var ir=_.projectIntoViewport(ct.clientX,ct.clientY);_.cy.emit({originalEvent:ct,type:"mouseout",position:{x:ir[0],y:ir[1]}})},!1),_.registerBinding(_.container,"mouseover",function(ct){var ir=_.projectIntoViewport(ct.clientX,ct.clientY);_.cy.emit({originalEvent:ct,type:"mouseover",position:{x:ir[0],y:ir[1]}})},!1);var Wt,At,Mn,tn,sn,Fn,Yn,wr,qn,br,Dr,Qr,Hr,Mr=function(ct,ir,ci,Pr){return Math.sqrt((ci-ct)*(ci-ct)+(Pr-ir)*(Pr-ir))},Pn=function(ct,ir,ci,Pr){return(ci-ct)*(ci-ct)+(Pr-ir)*(Pr-ir)},Kr;_.registerBinding(_.container,"touchstart",Kr=function(ct){if(_.hasTouchStarted=!0,!!gt(ct)){Ae(),_.touchData.capture=!0,_.data.bgActivePosistion=void 0;var ir=_.cy,ci=_.touchData.now,Pr=_.touchData.earlier;if(ct.touches[0]){var Nr=_.projectIntoViewport(ct.touches[0].clientX,ct.touches[0].clientY);ci[0]=Nr[0],ci[1]=Nr[1]}if(ct.touches[1]){var Nr=_.projectIntoViewport(ct.touches[1].clientX,ct.touches[1].clientY);ci[2]=Nr[0],ci[3]=Nr[1]}if(ct.touches[2]){var Nr=_.projectIntoViewport(ct.touches[2].clientX,ct.touches[2].clientY);ci[4]=Nr[0],ci[5]=Nr[1]}if(ct.touches[1]){_.touchData.singleTouchMoved=!0,be(_.dragData.touchDragEles);var rc=_.findContainerClientCoords();qn=rc[0],br=rc[1],Dr=rc[2],Qr=rc[3],Wt=ct.touches[0].clientX-qn,At=ct.touches[0].clientY-br,Mn=ct.touches[1].clientX-qn,tn=ct.touches[1].clientY-br,Hr=0<=Wt&&Wt<=Dr&&0<=Mn&&Mn<=Dr&&0<=At&&At<=Qr&&0<=tn&&tn<=Qr;var ki=ir.pan(),ta=ir.zoom();sn=Mr(Wt,At,Mn,tn),Fn=Pn(Wt,At,Mn,tn),Yn=[(Wt+Mn)/2,(At+tn)/2],wr=[(Yn[0]-ki.x)/ta,(Yn[1]-ki.y)/ta];var gl=200,yu=gl*gl;if(Fn<yu&&!ct.touches[2]){var Ec=_.findNearestElement(ci[0],ci[1],!0,!0),tu=_.findNearestElement(ci[2],ci[3],!0,!0);Ec&&Ec.isNode()?(Ec.activate().emit({originalEvent:ct,type:"cxttapstart",position:{x:ci[0],y:ci[1]}}),_.touchData.start=Ec):tu&&tu.isNode()?(tu.activate().emit({originalEvent:ct,type:"cxttapstart",position:{x:ci[0],y:ci[1]}}),_.touchData.start=tu):ir.emit({originalEvent:ct,type:"cxttapstart",position:{x:ci[0],y:ci[1]}}),_.touchData.start&&(_.touchData.start._private.grabbed=!1),_.touchData.cxt=!0,_.touchData.cxtDragged=!1,_.data.bgActivePosistion=void 0,_.redraw();return}}if(ct.touches[2])ir.boxSelectionEnabled()&&ct.preventDefault();else if(!ct.touches[1]){if(ct.touches[0]){var Xo=_.findNearestElements(ci[0],ci[1],!0,!0),Tc=Xo[0];if(Tc!=null&&(Tc.activate(),_.touchData.start=Tc,_.touchData.starts=Xo,_.nodeIsGrabbable(Tc))){var df=_.dragData.touchDragEles=ir.collection(),j1=null;_.redrawHint("eles",!0),_.redrawHint("drag",!0),Tc.selected()?(j1=ir.$(function(ag){return ag.selected()&&_.nodeIsGrabbable(ag)}),fe(j1,{addToList:df})):ve(Tc,{addToList:df}),M(Tc);var Tv=function(Dw){return{originalEvent:ct,type:Dw,position:{x:ci[0],y:ci[1]}}};Tc.emit(Tv("grabon")),j1?j1.forEach(function(ag){ag.emit(Tv("grab"))}):Tc.emit(Tv("grab"))}x(Tc,["touchstart","tapstart","vmousedown"],ct,{x:ci[0],y:ci[1]}),Tc==null&&(_.data.bgActivePosistion={x:Nr[0],y:Nr[1]},_.redrawHint("select",!0),_.redraw()),_.touchData.singleTouchMoved=!1,_.touchData.singleTouchStartTime=+new Date,clearTimeout(_.touchData.tapholdTimeout),_.touchData.tapholdTimeout=setTimeout(function(){_.touchData.singleTouchMoved===!1&&!_.pinching&&!_.touchData.selecting&&x(_.touchData.start,["taphold"],ct,{x:ci[0],y:ci[1]})},_.tapholdDuration)}}if(ct.touches.length>=1){for(var Sv=_.touchData.startPosition=[],$1=0;$1<ci.length;$1++)Sv[$1]=Pr[$1]=ci[$1];var vm=ct.touches[0];_.touchData.startGPosition=[vm.clientX,vm.clientY]}}},!1);var qr;_.registerBinding(window,"touchmove",qr=function(ct){var ir=_.touchData.capture;if(!(!ir&&!gt(ct))){var ci=_.selection,Pr=_.cy,Nr=_.touchData.now,rc=_.touchData.earlier,ki=Pr.zoom();if(ct.touches[0]){var ta=_.projectIntoViewport(ct.touches[0].clientX,ct.touches[0].clientY);Nr[0]=ta[0],Nr[1]=ta[1]}if(ct.touches[1]){var ta=_.projectIntoViewport(ct.touches[1].clientX,ct.touches[1].clientY);Nr[2]=ta[0],Nr[3]=ta[1]}if(ct.touches[2]){var ta=_.projectIntoViewport(ct.touches[2].clientX,ct.touches[2].clientY);Nr[4]=ta[0],Nr[5]=ta[1]}var gl=_.touchData.startGPosition,yu;if(ir&&ct.touches[0]&&gl){for(var Ec=[],tu=0;tu<Nr.length;tu++)Ec[tu]=Nr[tu]-rc[tu];var Xo=ct.touches[0].clientX-gl[0],Tc=Xo*Xo,df=ct.touches[0].clientY-gl[1],j1=df*df,Tv=Tc+j1;yu=Tv>=_.touchTapThreshold2}if(ir&&_.touchData.cxt){ct.preventDefault();var Sv=ct.touches[0].clientX-qn,$1=ct.touches[0].clientY-br,vm=ct.touches[1].clientX-qn,ag=ct.touches[1].clientY-br,Dw=Pn(Sv,$1,vm,ag),Z3=Dw/Fn,tk=150,f6=tk*tk,nk=1.5,HC=nk*nk;if(Z3>=HC||Dw>=f6){_.touchData.cxt=!1,_.data.bgActivePosistion=void 0,_.redrawHint("select",!0);var d6={originalEvent:ct,type:"cxttapend",position:{x:Nr[0],y:Nr[1]}};_.touchData.start?(_.touchData.start.unactivate().emit(d6),_.touchData.start=null):Pr.emit(d6)}}if(ir&&_.touchData.cxt){var d6={originalEvent:ct,type:"cxtdrag",position:{x:Nr[0],y:Nr[1]}};_.data.bgActivePosistion=void 0,_.redrawHint("select",!0),_.touchData.start?_.touchData.start.emit(d6):Pr.emit(d6),_.touchData.start&&(_.touchData.start._private.grabbed=!1),_.touchData.cxtDragged=!0;var Vg=_.findNearestElement(Nr[0],Nr[1],!0,!0);(!_.touchData.cxtOver||Vg!==_.touchData.cxtOver)&&(_.touchData.cxtOver&&_.touchData.cxtOver.emit({originalEvent:ct,type:"cxtdragout",position:{x:Nr[0],y:Nr[1]}}),_.touchData.cxtOver=Vg,Vg&&Vg.emit({originalEvent:ct,type:"cxtdragover",position:{x:Nr[0],y:Nr[1]}}))}else if(ir&&ct.touches[2]&&Pr.boxSelectionEnabled())ct.preventDefault(),_.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,_.touchData.selecting||Pr.emit({originalEvent:ct,type:"boxstart",position:{x:Nr[0],y:Nr[1]}}),_.touchData.selecting=!0,_.touchData.didSelect=!0,ci[4]=1,!ci||ci.length===0||ci[0]===void 0?(ci[0]=(Nr[0]+Nr[2]+Nr[4])/3,ci[1]=(Nr[1]+Nr[3]+Nr[5])/3,ci[2]=(Nr[0]+Nr[2]+Nr[4])/3+1,ci[3]=(Nr[1]+Nr[3]+Nr[5])/3+1):(ci[2]=(Nr[0]+Nr[2]+Nr[4])/3,ci[3]=(Nr[1]+Nr[3]+Nr[5])/3),_.redrawHint("select",!0),_.redraw();else if(ir&&ct.touches[1]&&!_.touchData.didSelect&&Pr.zoomingEnabled()&&Pr.panningEnabled()&&Pr.userZoomingEnabled()&&Pr.userPanningEnabled()){ct.preventDefault(),_.data.bgActivePosistion=void 0,_.redrawHint("select",!0);var b0=_.dragData.touchDragEles;if(b0){_.redrawHint("drag",!0);for(var qg=0;qg<b0.length;qg++){var zC=b0[qg]._private;zC.grabbed=!1,zC.rscratch.inDragLayer=!1}}var t2=_.touchData.start,Sv=ct.touches[0].clientX-qn,$1=ct.touches[0].clientY-br,vm=ct.touches[1].clientX-qn,ag=ct.touches[1].clientY-br,hz=Mr(Sv,$1,vm,ag),Hse=hz/sn;if(Hr){var zse=Sv-Wt,Vse=$1-At,qse=vm-Mn,Use=ag-tn,Gse=(zse+qse)/2,Wse=(Vse+Use)/2,G7=Pr.zoom(),qD=G7*Hse,VC=Pr.pan(),fz=wr[0]*G7+VC.x,dz=wr[1]*G7+VC.y,Kse={x:-qD/G7*(fz-VC.x-Gse)+fz,y:-qD/G7*(dz-VC.y-Wse)+dz};if(t2&&t2.active()){var b0=_.dragData.touchDragEles;be(b0),_.redrawHint("drag",!0),_.redrawHint("eles",!0),t2.unactivate().emit("freeon"),b0.emit("free"),_.dragData.didDrag&&(t2.emit("dragfreeon"),b0.emit("dragfree"))}Pr.viewport({zoom:qD,pan:Kse,cancelOnFailedZoom:!0}),Pr.emit("pinchzoom"),sn=hz,Wt=Sv,At=$1,Mn=vm,tn=ag,_.pinching=!0}if(ct.touches[0]){var ta=_.projectIntoViewport(ct.touches[0].clientX,ct.touches[0].clientY);Nr[0]=ta[0],Nr[1]=ta[1]}if(ct.touches[1]){var ta=_.projectIntoViewport(ct.touches[1].clientX,ct.touches[1].clientY);Nr[2]=ta[0],Nr[3]=ta[1]}if(ct.touches[2]){var ta=_.projectIntoViewport(ct.touches[2].clientX,ct.touches[2].clientY);Nr[4]=ta[0],Nr[5]=ta[1]}}else if(ct.touches[0]&&!_.touchData.didSelect){var Cv=_.touchData.start,UD=_.touchData.last,Vg;if(!_.hoverData.draggingEles&&!_.swipePanning&&(Vg=_.findNearestElement(Nr[0],Nr[1],!0,!0)),ir&&Cv!=null&&ct.preventDefault(),ir&&Cv!=null&&_.nodeIsDraggable(Cv))if(yu){var b0=_.dragData.touchDragEles,gz=!_.dragData.didDrag;gz&&fe(b0,{inDragLayer:!0}),_.dragData.didDrag=!0;var W7={x:0,y:0};if(ge(Ec[0])&&ge(Ec[1])&&(W7.x+=Ec[0],W7.y+=Ec[1],gz)){_.redrawHint("eles",!0);var Av=_.touchData.dragDelta;Av&&ge(Av[0])&&ge(Av[1])&&(W7.x+=Av[0],W7.y+=Av[1])}_.hoverData.draggingEles=!0,b0.silentShift(W7).emit("position drag"),_.redrawHint("drag",!0),_.touchData.startPosition[0]==rc[0]&&_.touchData.startPosition[1]==rc[1]&&_.redrawHint("eles",!0),_.redraw()}else{var Av=_.touchData.dragDelta=_.touchData.dragDelta||[];Av.length===0?(Av.push(Ec[0]),Av.push(Ec[1])):(Av[0]+=Ec[0],Av[1]+=Ec[1])}if(x(Cv||Vg,["touchmove","tapdrag","vmousemove"],ct,{x:Nr[0],y:Nr[1]}),(!Cv||!Cv.grabbed())&&Vg!=UD&&(UD&&UD.emit({originalEvent:ct,type:"tapdragout",position:{x:Nr[0],y:Nr[1]}}),Vg&&Vg.emit({originalEvent:ct,type:"tapdragover",position:{x:Nr[0],y:Nr[1]}})),_.touchData.last=Vg,ir)for(var qg=0;qg<Nr.length;qg++)Nr[qg]&&_.touchData.startPosition[qg]&&yu&&(_.touchData.singleTouchMoved=!0);if(ir&&(Cv==null||Cv.pannable())&&Pr.panningEnabled()&&Pr.userPanningEnabled()){var Yse=L(Cv,_.touchData.starts);Yse&&(ct.preventDefault(),_.data.bgActivePosistion||(_.data.bgActivePosistion=Mx(_.touchData.startPosition)),_.swipePanning?(Pr.panBy({x:Ec[0]*ki,y:Ec[1]*ki}),Pr.emit("dragpan")):yu&&(_.swipePanning=!0,Pr.panBy({x:Xo*ki,y:df*ki}),Pr.emit("dragpan"),Cv&&(Cv.unactivate(),_.redrawHint("select",!0),_.touchData.start=null)));var ta=_.projectIntoViewport(ct.touches[0].clientX,ct.touches[0].clientY);Nr[0]=ta[0],Nr[1]=ta[1]}}for(var tu=0;tu<Nr.length;tu++)rc[tu]=Nr[tu];ir&&ct.touches.length>0&&!_.hoverData.draggingEles&&!_.swipePanning&&_.data.bgActivePosistion!=null&&(_.data.bgActivePosistion=void 0,_.redrawHint("select",!0),_.redraw())}},!1);var Fi;_.registerBinding(window,"touchcancel",Fi=function(ct){var ir=_.touchData.start;_.touchData.capture=!1,ir&&ir.unactivate()});var ls,uo,Yo,ms;if(_.registerBinding(window,"touchend",ls=function(ct){var ir=_.touchData.start,ci=_.touchData.capture;if(ci)ct.touches.length===0&&(_.touchData.capture=!1),ct.preventDefault();else return;var Pr=_.selection;_.swipePanning=!1,_.hoverData.draggingEles=!1;var Nr=_.cy,rc=Nr.zoom(),ki=_.touchData.now,ta=_.touchData.earlier;if(ct.touches[0]){var gl=_.projectIntoViewport(ct.touches[0].clientX,ct.touches[0].clientY);ki[0]=gl[0],ki[1]=gl[1]}if(ct.touches[1]){var gl=_.projectIntoViewport(ct.touches[1].clientX,ct.touches[1].clientY);ki[2]=gl[0],ki[3]=gl[1]}if(ct.touches[2]){var gl=_.projectIntoViewport(ct.touches[2].clientX,ct.touches[2].clientY);ki[4]=gl[0],ki[5]=gl[1]}ir&&ir.unactivate();var yu;if(_.touchData.cxt){if(yu={originalEvent:ct,type:"cxttapend",position:{x:ki[0],y:ki[1]}},ir?ir.emit(yu):Nr.emit(yu),!_.touchData.cxtDragged){var Ec={originalEvent:ct,type:"cxttap",position:{x:ki[0],y:ki[1]}};ir?ir.emit(Ec):Nr.emit(Ec)}_.touchData.start&&(_.touchData.start._private.grabbed=!1),_.touchData.cxt=!1,_.touchData.start=null,_.redraw();return}if(!ct.touches[2]&&Nr.boxSelectionEnabled()&&_.touchData.selecting){_.touchData.selecting=!1;var tu=Nr.collection(_.getAllInBox(Pr[0],Pr[1],Pr[2],Pr[3]));Pr[0]=void 0,Pr[1]=void 0,Pr[2]=void 0,Pr[3]=void 0,Pr[4]=0,_.redrawHint("select",!0),Nr.emit({type:"boxend",originalEvent:ct,position:{x:ki[0],y:ki[1]}});var Xo=function(f6){return f6.selectable()&&!f6.selected()};tu.emit("box").stdFilter(Xo).select().emit("boxselect"),tu.nonempty()&&_.redrawHint("eles",!0),_.redraw()}if(ir!=null&&ir.unactivate(),ct.touches[2])_.data.bgActivePosistion=void 0,_.redrawHint("select",!0);else if(!ct.touches[1]){if(!ct.touches[0]){if(!ct.touches[0]){_.data.bgActivePosistion=void 0,_.redrawHint("select",!0);var Tc=_.dragData.touchDragEles;if(ir!=null){var df=ir._private.grabbed;be(Tc),_.redrawHint("drag",!0),_.redrawHint("eles",!0),df&&(ir.emit("freeon"),Tc.emit("free"),_.dragData.didDrag&&(ir.emit("dragfreeon"),Tc.emit("dragfree"))),x(ir,["touchend","tapend","vmouseup","tapdragout"],ct,{x:ki[0],y:ki[1]}),ir.unactivate(),_.touchData.start=null}else{var j1=_.findNearestElement(ki[0],ki[1],!0,!0);x(j1,["touchend","tapend","vmouseup","tapdragout"],ct,{x:ki[0],y:ki[1]})}var Tv=_.touchData.startPosition[0]-ki[0],Sv=Tv*Tv,$1=_.touchData.startPosition[1]-ki[1],vm=$1*$1,ag=Sv+vm,Dw=ag*rc*rc;_.touchData.singleTouchMoved||(ir||Nr.$(":selected").unselect(["tapunselect"]),x(ir,["tap","vclick"],ct,{x:ki[0],y:ki[1]}),uo=!1,ct.timeStamp-ms<=Nr.multiClickDebounceTime()?(Yo&&clearTimeout(Yo),uo=!0,ms=null,x(ir,["dbltap","vdblclick"],ct,{x:ki[0],y:ki[1]})):(Yo=setTimeout(function(){uo||x(ir,["onetap","voneclick"],ct,{x:ki[0],y:ki[1]})},Nr.multiClickDebounceTime()),ms=ct.timeStamp)),ir!=null&&!_.dragData.didDrag&&ir._private.selectable&&Dw<_.touchTapThreshold2&&!_.pinching&&(Nr.selectionType()==="single"?(Nr.$(p).unmerge(ir).unselect(["tapunselect"]),ir.select(["tapselect"])):ir.selected()?ir.unselect(["tapunselect"]):ir.select(["tapselect"]),_.redrawHint("eles",!0)),_.touchData.singleTouchMoved=!0}}}for(var Z3=0;Z3<ki.length;Z3++)ta[Z3]=ki[Z3];_.dragData.didDrag=!1,ct.touches.length===0&&(_.touchData.dragDelta=[],_.touchData.startPosition=null,_.touchData.startGPosition=null,_.touchData.didSelect=!1),ct.touches.length<2&&(ct.touches.length===1&&(_.touchData.startGPosition=[ct.touches[0].clientX,ct.touches[0].clientY]),_.pinching=!1,_.redrawHint("eles",!0),_.redraw())},!1),typeof TouchEvent>"u"){var es=[],Ta=function(ct){return{clientX:ct.clientX,clientY:ct.clientY,force:1,identifier:ct.pointerId,pageX:ct.pageX,pageY:ct.pageY,radiusX:ct.width/2,radiusY:ct.height/2,screenX:ct.screenX,screenY:ct.screenY,target:ct.target}},Gs=function(ct){return{event:ct,touch:Ta(ct)}},ys=function(ct){es.push(Gs(ct))},Js=function(ct){for(var ir=0;ir<es.length;ir++){var ci=es[ir];if(ci.event.pointerId===ct.pointerId){es.splice(ir,1);return}}},gc=function(ct){var ir=es.filter(function(ci){return ci.event.pointerId===ct.pointerId})[0];ir.event=ct,ir.touch=Ta(ct)},ho=function(ct){ct.touches=es.map(function(ir){return ir.touch})},Za=function(ct){return ct.pointerType==="mouse"||ct.pointerType===4};_.registerBinding(_.container,"pointerdown",function(ni){Za(ni)||(ni.preventDefault(),ys(ni),ho(ni),Kr(ni))}),_.registerBinding(_.container,"pointerup",function(ni){Za(ni)||(Js(ni),ho(ni),ls(ni))}),_.registerBinding(_.container,"pointercancel",function(ni){Za(ni)||(Js(ni),ho(ni),Fi(ni))}),_.registerBinding(_.container,"pointermove",function(ni){Za(ni)||(ni.preventDefault(),gc(ni),ho(ni),qr(ni))})}};var Lw={};Lw.generatePolygon=function(_,p){return this.nodeShapes[_]={renderer:this,name:_,points:p,draw:function(S,L,R,B,q){this.renderer.nodeShapeImpl("polygon",S,L,R,B,q,this.points)},intersectLine:function(S,L,R,B,q,W,M){return y7(q,W,this.points,S,L,R/2,B/2,M)},checkPoint:function(S,L,R,B,q,W,M){return Cw(S,L,this.points,W,M,B,q,[0,-1],R)}}},Lw.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(p,x,S,L,R){this.renderer.nodeShapeImpl(this.name,p,x,S,L,R)},intersectLine:function(p,x,S,L,R,B,q){return Uee(R,B,p,x,S/2+q,L/2+q)},checkPoint:function(p,x,S,L,R,B,q){return i6(p,x,L,R,B,q,S)}}},Lw.generateRoundPolygon=function(_,p){for(var x=new Array(p.length*2),S=0;S<p.length/2;S++){var L=S*2,R=void 0;S<p.length/2-1?R=(S+1)*2:R=0,x[S*4]=p[L],x[S*4+1]=p[L+1];var B=p[R]-p[L],q=p[R+1]-p[L+1],W=Math.sqrt(B*B+q*q);x[S*4+2]=B/W,x[S*4+3]=q/W}return this.nodeShapes[_]={renderer:this,name:_,points:x,draw:function(X,ee,le,fe,ve){this.renderer.nodeShapeImpl("round-polygon",X,ee,le,fe,ve,this.points)},intersectLine:function(X,ee,le,fe,ve,be,Fe){return Gee(ve,be,this.points,X,ee,le,fe)},checkPoint:function(X,ee,le,fe,ve,be,Fe){return qee(X,ee,this.points,be,Fe,fe,ve)}}},Lw.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:rg(4,0),draw:function(p,x,S,L,R){this.renderer.nodeShapeImpl(this.name,p,x,S,L,R)},intersectLine:function(p,x,S,L,R,B,q){return u$(R,B,p,x,S,L,q)},checkPoint:function(p,x,S,L,R,B,q){var W=_7(L,R),M=W*2;return!!(Cw(p,x,this.points,B,q,L,R-M,[0,-1],S)||Cw(p,x,this.points,B,q,L-M,R,[0,-1],S)||i6(p,x,M,M,B-L/2+W,q-R/2+W,S)||i6(p,x,M,M,B+L/2-W,q-R/2+W,S)||i6(p,x,M,M,B+L/2-W,q+R/2-W,S)||i6(p,x,M,M,B-L/2+W,q+R/2-W,S))}}},Lw.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:g$(),points:rg(4,0),draw:function(p,x,S,L,R){this.renderer.nodeShapeImpl(this.name,p,x,S,L,R)},generateCutTrianglePts:function(p,x,S,L){var R=this.cornerLength,B=x/2,q=p/2,W=S-q,M=S+q,X=L-B,ee=L+B;return{topLeft:[W,X+R,W+R,X,W+R,X+R],topRight:[M-R,X,M,X+R,M-R,X+R],bottomRight:[M,ee-R,M-R,ee,M-R,ee-R],bottomLeft:[W+R,ee,W,ee-R,W+R,ee-R]}},intersectLine:function(p,x,S,L,R,B,q){var W=this.generateCutTrianglePts(S+2*q,L+2*q,p,x),M=[].concat.apply([],[W.topLeft.splice(0,4),W.topRight.splice(0,4),W.bottomRight.splice(0,4),W.bottomLeft.splice(0,4)]);return y7(R,B,M,p,x)},checkPoint:function(p,x,S,L,R,B,q){if(Cw(p,x,this.points,B,q,L,R-2*this.cornerLength,[0,-1],S)||Cw(p,x,this.points,B,q,L-2*this.cornerLength,R,[0,-1],S))return!0;var W=this.generateCutTrianglePts(L,R,B,q);return zg(p,x,W.topLeft)||zg(p,x,W.topRight)||zg(p,x,W.bottomRight)||zg(p,x,W.bottomLeft)}}},Lw.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:rg(4,0),draw:function(p,x,S,L,R){this.renderer.nodeShapeImpl(this.name,p,x,S,L,R)},intersectLine:function(p,x,S,L,R,B,q){var W=.15,M=.5,X=.85,ee=this.generateBarrelBezierPts(S+2*q,L+2*q,p,x),le=function(be){var Fe=Lx({x:be[0],y:be[1]},{x:be[2],y:be[3]},{x:be[4],y:be[5]},W),Ae=Lx({x:be[0],y:be[1]},{x:be[2],y:be[3]},{x:be[4],y:be[5]},M),$e=Lx({x:be[0],y:be[1]},{x:be[2],y:be[3]},{x:be[4],y:be[5]},X);return[be[0],be[1],Fe.x,Fe.y,Ae.x,Ae.y,$e.x,$e.y,be[4],be[5]]},fe=[].concat(le(ee.topLeft),le(ee.topRight),le(ee.bottomRight),le(ee.bottomLeft));return y7(R,B,fe,p,x)},generateBarrelBezierPts:function(p,x,S,L){var R=x/2,B=p/2,q=S-B,W=S+B,M=L-R,X=L+R,ee=fD(p,x),le=ee.heightOffset,fe=ee.widthOffset,ve=ee.ctrlPtOffsetPct*p,be={topLeft:[q,M+le,q+ve,M,q+fe,M],topRight:[W-fe,M,W-ve,M,W,M+le],bottomRight:[W,X-le,W-ve,X,W-fe,X],bottomLeft:[q+fe,X,q+ve,X,q,X-le]};return be.topLeft.isTop=!0,be.topRight.isTop=!0,be.bottomLeft.isBottom=!0,be.bottomRight.isBottom=!0,be},checkPoint:function(p,x,S,L,R,B,q){var W=fD(L,R),M=W.heightOffset,X=W.widthOffset;if(Cw(p,x,this.points,B,q,L,R-2*M,[0,-1],S)||Cw(p,x,this.points,B,q,L-2*X,R,[0,-1],S))return!0;for(var ee=this.generateBarrelBezierPts(L,R,B,q),le=function(Ze,gt,tt){var Tt=tt[4],Ct=tt[2],pt=tt[0],Wt=tt[5],At=tt[1],Mn=Math.min(Tt,pt),tn=Math.max(Tt,pt),sn=Math.min(Wt,At),Fn=Math.max(Wt,At);if(Mn<=Ze&&Ze<=tn&&sn<=gt&&gt<=Fn){var Yn=Wee(Tt,Ct,pt),wr=$ee(Yn[0],Yn[1],Yn[2],Ze),qn=wr.filter(function(br){return 0<=br&&br<=1});if(qn.length>0)return qn[0]}return null},fe=Object.keys(ee),ve=0;ve<fe.length;ve++){var be=fe[ve],Fe=ee[be],Ae=le(p,x,Fe);if(Ae!=null){var $e=Fe[5],ze=Fe[3],Xe=Fe[1],lt=i1($e,ze,Xe,Ae);if(Fe.isTop&&lt<=x||Fe.isBottom&&x<=lt)return!0}}return!1}}},Lw.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:rg(4,0),draw:function(p,x,S,L,R){this.renderer.nodeShapeImpl(this.name,p,x,S,L,R)},intersectLine:function(p,x,S,L,R,B,q){var W=p-(S/2+q),M=x-(L/2+q),X=M,ee=p+(S/2+q),le=V3(R,B,p,x,W,M,ee,X,!1);return le.length>0?le:u$(R,B,p,x,S,L,q)},checkPoint:function(p,x,S,L,R,B,q){var W=_7(L,R),M=2*W;if(Cw(p,x,this.points,B,q,L,R-M,[0,-1],S)||Cw(p,x,this.points,B,q,L-M,R,[0,-1],S))return!0;var X=L/2+2*S,ee=R/2+2*S,le=[B-X,q-ee,B-X,q,B+X,q,B+X,q-ee];return!!(zg(p,x,le)||i6(p,x,M,M,B+L/2-W,q+R/2-W,S)||i6(p,x,M,M,B-L/2+W,q+R/2-W,S))}}},Lw.registerNodeShapes=function(){var _=this.nodeShapes={},p=this;this.generateEllipse(),this.generatePolygon("triangle",rg(3,0)),this.generateRoundPolygon("round-triangle",rg(3,0)),this.generatePolygon("rectangle",rg(4,0)),_.square=_.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var x=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",x),this.generateRoundPolygon("round-diamond",x)}this.generatePolygon("pentagon",rg(5,0)),this.generateRoundPolygon("round-pentagon",rg(5,0)),this.generatePolygon("hexagon",rg(6,0)),this.generateRoundPolygon("round-hexagon",rg(6,0)),this.generatePolygon("heptagon",rg(7,0)),this.generateRoundPolygon("round-heptagon",rg(7,0)),this.generatePolygon("octagon",rg(8,0)),this.generateRoundPolygon("round-octagon",rg(8,0));var S=new Array(20);{var L=uD(5,0),R=uD(5,Math.PI/5),B=.5*(3-Math.sqrt(5));B*=1.57;for(var q=0;q<R.length/2;q++)R[q*2]*=B,R[q*2+1]*=B;for(var q=0;q<20/4;q++)S[q*4]=L[q*2],S[q*4+1]=L[q*2+1],S[q*4+2]=R[q*2],S[q*4+3]=R[q*2+1]}S=d$(S),this.generatePolygon("star",S),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var W=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",W),this.generateRoundPolygon("round-tag",W)}_.makePolygon=function(M){var X=M.join("$"),ee="polygon-"+X,le;return(le=this[ee])?le:p.generatePolygon(ee,M)}};var $7={};$7.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},$7.redraw=function(_){_=_||r$();var p=this;p.averageRedrawTime===void 0&&(p.averageRedrawTime=0),p.lastRedrawTime===void 0&&(p.lastRedrawTime=0),p.lastDrawTime===void 0&&(p.lastDrawTime=0),p.requestedFrame=!0,p.renderOptions=_},$7.beforeRender=function(_,p){if(!this.destroyed){p==null&&xh("Priority is not optional for beforeRender");var x=this.beforeRenderCallbacks;x.push({fn:_,priority:p}),x.sort(function(S,L){return L.priority-S.priority})}};var ez=function(p,x,S){for(var L=p.beforeRenderCallbacks,R=0;R<L.length;R++)L[R].fn(x,S)};$7.startRenderLoop=function(){var _=this,p=_.cy;if(!_.renderLoopStarted){_.renderLoopStarted=!0;var x=function S(L){if(!_.destroyed){if(!p.batching())if(_.requestedFrame&&!_.skipFrame){ez(_,!0,L);var R=Nl();_.render(_.renderOptions);var B=_.lastDrawTime=Nl();_.averageRedrawTime===void 0&&(_.averageRedrawTime=B-R),_.redrawCount===void 0&&(_.redrawCount=0),_.redrawCount++,_.redrawTotalTime===void 0&&(_.redrawTotalTime=0);var q=B-R;_.redrawTotalTime+=q,_.lastRedrawTime=q,_.averageRedrawTime=_.averageRedrawTime/2+q/2,_.requestedFrame=!1}else ez(_,!1,L);_.skipFrame=!1,cs(S)}};cs(x)}};var use=function(p){this.init(p)},RD=use,l6=RD.prototype;l6.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],l6.init=function(_){var p=this;p.options=_,p.cy=_.cy;var x=p.container=_.cy.container();if(G){var S=G.document,L=S.head,R="__________cytoscape_stylesheet",B="__________cytoscape_container",q=S.getElementById(R)!=null;if(x.className.indexOf(B)<0&&(x.className=(x.className||"")+" "+B),!q){var W=S.createElement("style");W.id=R,W.innerHTML="."+B+" { position: relative; }",L.insertBefore(W,L.children[0])}var M=G.getComputedStyle(x),X=M.getPropertyValue("position");X==="static"&&El("A Cytoscape container has style position:static and so can not use UI extensions properly")}p.selection=[void 0,void 0,void 0,void 0,0],p.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],p.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},p.dragData={possibleDragElements:[]},p.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},p.redraws=0,p.showFps=_.showFps,p.debug=_.debug,p.hideEdgesOnViewport=_.hideEdgesOnViewport,p.textureOnViewport=_.textureOnViewport,p.wheelSensitivity=_.wheelSensitivity,p.motionBlurEnabled=_.motionBlur,p.forcedPixelRatio=ge(_.pixelRatio)?_.pixelRatio:null,p.motionBlur=_.motionBlur,p.motionBlurOpacity=_.motionBlurOpacity,p.motionBlurTransparency=1-p.motionBlurOpacity,p.motionBlurPxRatio=1,p.mbPxRBlurry=1,p.minMbLowQualFrames=4,p.fullQualityMb=!1,p.clearedForMotionBlur=[],p.desktopTapThreshold=_.desktopTapThreshold,p.desktopTapThreshold2=_.desktopTapThreshold*_.desktopTapThreshold,p.touchTapThreshold=_.touchTapThreshold,p.touchTapThreshold2=_.touchTapThreshold*_.touchTapThreshold,p.tapholdDuration=500,p.bindings=[],p.beforeRenderCallbacks=[],p.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},p.registerNodeShapes(),p.registerArrowShapes(),p.registerCalculationListeners()},l6.notify=function(_,p){var x=this,S=x.cy;if(!this.destroyed){if(_==="init"){x.load();return}if(_==="destroy"){x.destroy();return}(_==="add"||_==="remove"||_==="move"&&S.hasCompoundNodes()||_==="load"||_==="zorder"||_==="mount")&&x.invalidateCachedZSortedEles(),_==="viewport"&&x.redrawHint("select",!0),(_==="load"||_==="resize"||_==="mount")&&(x.invalidateContainerClientCoordsCache(),x.matchCanvasSize(x.container)),x.redrawHint("eles",!0),x.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},l6.destroy=function(){var _=this;_.destroyed=!0,_.cy.stopAnimationLoop();for(var p=0;p<_.bindings.length;p++){var x=_.bindings[p],S=x,L=S.target;(L.off||L.removeEventListener).apply(L,S.args)}if(_.bindings=[],_.beforeRenderCallbacks=[],_.onUpdateEleCalcsFns=[],_.removeObserver&&_.removeObserver.disconnect(),_.styleObserver&&_.styleObserver.disconnect(),_.resizeObserver&&_.resizeObserver.disconnect(),_.labelCalcDiv)try{document.body.removeChild(_.labelCalcDiv)}catch{}},l6.isHeadless=function(){return!1},[DD,j7,JH,Kx,Lw,$7].forEach(function(_){Ge(l6,_)});var BD=1e3/60,PC={setupDequeueing:function(p){return function(){var S=this,L=this.renderer;if(!S.dequeueingSetup){S.dequeueingSetup=!0;var R=$g(function(){L.redrawHint("eles",!0),L.redrawHint("drag",!0),L.redraw()},p.deqRedrawThreshold),B=function(M,X){var ee=Nl(),le=L.averageRedrawTime,fe=L.lastRedrawTime,ve=[],be=L.cy.extent(),Fe=L.getPixelRatio();for(M||L.flushRenderedStyleQueue();;){var Ae=Nl(),$e=Ae-ee,ze=Ae-X;if(fe<BD){var Xe=BD-(M?le:0);if(ze>=p.deqFastCost*Xe)break}else if(M){if($e>=p.deqCost*fe||$e>=p.deqAvgCost*le)break}else if(ze>=p.deqNoDrawCost*BD)break;var lt=p.deq(S,Fe,be);if(lt.length>0)for(var st=0;st<lt.length;st++)ve.push(lt[st]);else break}ve.length>0&&(p.onDeqd(S,ve),!M&&p.shouldRedraw(S,ve,Fe,be)&&R())},q=p.priority||Tp;L.beforeRender(B,q(S))}}}},hse=function(){function _(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bv;m(this,_),this.idsByKey=new Zb,this.keyForId=new Zb,this.cachesByLvl=new Zb,this.lvls=[],this.getKey=p,this.doesEleInvalidateKey=x}return k(_,[{key:"getIdsFor",value:function(x){x==null&&xh("Can not get id list for null key");var S=this.idsByKey,L=this.idsByKey.get(x);return L||(L=new Ax,S.set(x,L)),L}},{key:"addIdForKey",value:function(x,S){x!=null&&this.getIdsFor(x).add(S)}},{key:"deleteIdForKey",value:function(x,S){x!=null&&this.getIdsFor(x).delete(S)}},{key:"getNumberOfIdsForKey",value:function(x){return x==null?0:this.getIdsFor(x).size}},{key:"updateKeyMappingFor",value:function(x){var S=x.id(),L=this.keyForId.get(S),R=this.getKey(x);this.deleteIdForKey(L,S),this.addIdForKey(R,S),this.keyForId.set(S,R)}},{key:"deleteKeyMappingFor",value:function(x){var S=x.id(),L=this.keyForId.get(S);this.deleteIdForKey(L,S),this.keyForId.delete(S)}},{key:"keyHasChangedFor",value:function(x){var S=x.id(),L=this.keyForId.get(S),R=this.getKey(x);return L!==R}},{key:"isInvalid",value:function(x){return this.keyHasChangedFor(x)||this.doesEleInvalidateKey(x)}},{key:"getCachesAt",value:function(x){var S=this.cachesByLvl,L=this.lvls,R=S.get(x);return R||(R=new Zb,S.set(x,R),L.push(x)),R}},{key:"getCache",value:function(x,S){return this.getCachesAt(S).get(x)}},{key:"get",value:function(x,S){var L=this.getKey(x),R=this.getCache(L,S);return R!=null&&this.updateKeyMappingFor(x),R}},{key:"getForCachedKey",value:function(x,S){var L=this.keyForId.get(x.id()),R=this.getCache(L,S);return R}},{key:"hasCache",value:function(x,S){return this.getCachesAt(S).has(x)}},{key:"has",value:function(x,S){var L=this.getKey(x);return this.hasCache(L,S)}},{key:"setCache",value:function(x,S,L){L.key=x,this.getCachesAt(S).set(x,L)}},{key:"set",value:function(x,S,L){var R=this.getKey(x);this.setCache(R,S,L),this.updateKeyMappingFor(x)}},{key:"deleteCache",value:function(x,S){this.getCachesAt(S).delete(x)}},{key:"delete",value:function(x,S){var L=this.getKey(x);this.deleteCache(L,S)}},{key:"invalidateKey",value:function(x){var S=this;this.lvls.forEach(function(L){return S.deleteCache(x,L)})}},{key:"invalidate",value:function(x){var S=x.id(),L=this.keyForId.get(S);this.deleteKeyMappingFor(x);var R=this.doesEleInvalidateKey(x);return R&&this.invalidateKey(L),R||this.getNumberOfIdsForKey(L)===0}}]),_}(),NC=25,RC=50,Yx=-4,FD=3,jD=7.99,fse=8,dse=1024,gse=1024,tz=1024,pse=.2,mse=.8,vse=10,bse=.15,wse=.1,yse=.9,_se=.9,xse=100,kse=1,Xx={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Ese=N1({getKey:null,doesEleInvalidateKey:bv,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Cx,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),H7=function(p,x){var S=this;S.renderer=p,S.onDequeues=[];var L=Ese(x);Ge(S,L),S.lookup=new hse(L.getKey,L.doesEleInvalidateKey),S.setupDequeueing()},xd=H7.prototype;xd.reasons=Xx,xd.getTextureQueue=function(_){var p=this;return p.eleImgCaches=p.eleImgCaches||{},p.eleImgCaches[_]=p.eleImgCaches[_]||[]},xd.getRetiredTextureQueue=function(_){var p=this,x=p.eleImgCaches.retired=p.eleImgCaches.retired||{},S=x[_]=x[_]||[];return S},xd.getElementQueue=function(){var _=this,p=_.eleCacheQueue=_.eleCacheQueue||new v7(function(x,S){return S.reqs-x.reqs});return p},xd.getElementKeyToQueue=function(){var _=this,p=_.eleKeyToCacheQueue=_.eleKeyToCacheQueue||{};return p},xd.getElement=function(_,p,x,S,L){var R=this,B=this.renderer,q=B.cy.zoom(),W=this.lookup;if(!p||p.w===0||p.h===0||isNaN(p.w)||isNaN(p.h)||!_.visible()||_.removed()||!R.allowEdgeTxrCaching&&_.isEdge()||!R.allowParentTxrCaching&&_.isParent())return null;if(S==null&&(S=Math.ceil(aD(q*x))),S<Yx)S=Yx;else if(q>=jD||S>FD)return null;var M=Math.pow(2,S),X=p.h*M,ee=p.w*M,le=B.eleTextBiggerThanMin(_,M);if(!this.isVisible(_,le))return null;var fe=W.get(_,S);if(fe&&fe.invalidated&&(fe.invalidated=!1,fe.texture.invalidatedWidth-=fe.width),fe)return fe;var ve;if(X<=NC?ve=NC:X<=RC?ve=RC:ve=Math.ceil(X/RC)*RC,X>tz||ee>gse)return null;var be=R.getTextureQueue(ve),Fe=be[be.length-2],Ae=function(){return R.recycleTexture(ve,ee)||R.addTexture(ve,ee)};Fe||(Fe=be[be.length-1]),Fe||(Fe=Ae()),Fe.width-Fe.usedWidth<ee&&(Fe=Ae());for(var $e=function(tn){return tn&&tn.scaledLabelShown===le},ze=L&&L===Xx.dequeue,Xe=L&&L===Xx.highQuality,lt=L&&L===Xx.downscale,st,Ze=S+1;Ze<=FD;Ze++){var gt=W.get(_,Ze);if(gt){st=gt;break}}var tt=st&&st.level===S+1?st:null,Tt=function(){Fe.context.drawImage(tt.texture.canvas,tt.x,0,tt.width,tt.height,Fe.usedWidth,0,ee,X)};if(Fe.context.setTransform(1,0,0,1,0,0),Fe.context.clearRect(Fe.usedWidth,0,ee,ve),$e(tt))Tt();else if($e(st))if(Xe){for(var Ct=st.level;Ct>S;Ct--)tt=R.getElement(_,p,x,Ct,Xx.downscale);Tt()}else return R.queueElement(_,st.level-1),st;else{var pt;if(!ze&&!Xe&&!lt)for(var Wt=S-1;Wt>=Yx;Wt--){var At=W.get(_,Wt);if(At){pt=At;break}}if($e(pt))return R.queueElement(_,S),pt;Fe.context.translate(Fe.usedWidth,0),Fe.context.scale(M,M),this.drawElement(Fe.context,_,p,le,!1),Fe.context.scale(1/M,1/M),Fe.context.translate(-Fe.usedWidth,0)}return fe={x:Fe.usedWidth,texture:Fe,level:S,scale:M,width:ee,height:X,scaledLabelShown:le},Fe.usedWidth+=Math.ceil(ee+fse),Fe.eleCaches.push(fe),W.set(_,S,fe),R.checkTextureFullness(Fe),fe},xd.invalidateElements=function(_){for(var p=0;p<_.length;p++)this.invalidateElement(_[p])},xd.invalidateElement=function(_){var p=this,x=p.lookup,S=[],L=x.isInvalid(_);if(L){for(var R=Yx;R<=FD;R++){var B=x.getForCachedKey(_,R);B&&S.push(B)}var q=x.invalidate(_);if(q)for(var W=0;W<S.length;W++){var M=S[W],X=M.texture;X.invalidatedWidth+=M.width,M.invalidated=!0,p.checkTextureUtility(X)}p.removeFromQueue(_)}},xd.checkTextureUtility=function(_){_.invalidatedWidth>=pse*_.width&&this.retireTexture(_)},xd.checkTextureFullness=function(_){var p=this,x=p.getTextureQueue(_.height);_.usedWidth/_.width>mse&&_.fullnessChecks>=vse?H3(x,_):_.fullnessChecks++},xd.retireTexture=function(_){var p=this,x=_.height,S=p.getTextureQueue(x),L=this.lookup;H3(S,_),_.retired=!0;for(var R=_.eleCaches,B=0;B<R.length;B++){var q=R[B];L.deleteCache(q.key,q.level)}iD(R);var W=p.getRetiredTextureQueue(x);W.push(_)},xd.addTexture=function(_,p){var x=this,S=x.getTextureQueue(_),L={};return S.push(L),L.eleCaches=[],L.height=_,L.width=Math.max(dse,p),L.usedWidth=0,L.invalidatedWidth=0,L.fullnessChecks=0,L.canvas=x.renderer.makeOffscreenCanvas(L.width,L.height),L.context=L.canvas.getContext("2d"),L},xd.recycleTexture=function(_,p){for(var x=this,S=x.getTextureQueue(_),L=x.getRetiredTextureQueue(_),R=0;R<L.length;R++){var B=L[R];if(B.width>=p)return B.retired=!1,B.usedWidth=0,B.invalidatedWidth=0,B.fullnessChecks=0,iD(B.eleCaches),B.context.setTransform(1,0,0,1,0,0),B.context.clearRect(0,0,B.width,B.height),H3(L,B),S.push(B),B}},xd.queueElement=function(_,p){var x=this,S=x.getElementQueue(),L=x.getElementKeyToQueue(),R=this.getKey(_),B=L[R];if(B)B.level=Math.max(B.level,p),B.eles.merge(_),B.reqs++,S.updateItem(B);else{var q={eles:_.spawn().merge(_),level:p,reqs:1,key:R};S.push(q),L[R]=q}},xd.dequeue=function(_){for(var p=this,x=p.getElementQueue(),S=p.getElementKeyToQueue(),L=[],R=p.lookup,B=0;B<kse&&x.size()>0;B++){var q=x.pop(),W=q.key,M=q.eles[0],X=R.hasCache(M,q.level);if(S[W]=null,X)continue;L.push(q);var ee=p.getBoundingBox(M);p.getElement(M,ee,_,q.level,Xx.dequeue)}return L},xd.removeFromQueue=function(_){var p=this,x=p.getElementQueue(),S=p.getElementKeyToQueue(),L=this.getKey(_),R=S[L];R!=null&&(R.eles.length===1?(R.reqs=u0,x.updateItem(R),x.pop(),S[L]=null):R.eles.unmerge(_))},xd.onDequeue=function(_){this.onDequeues.push(_)},xd.offDequeue=function(_){H3(this.onDequeues,_)},xd.setupDequeueing=PC.setupDequeueing({deqRedrawThreshold:xse,deqCost:bse,deqAvgCost:wse,deqNoDrawCost:yse,deqFastCost:_se,deq:function(p,x,S){return p.dequeue(x,S)},onDeqd:function(p,x){for(var S=0;S<p.onDequeues.length;S++){var L=p.onDequeues[S];L(x)}},shouldRedraw:function(p,x,S,L){for(var R=0;R<x.length;R++)for(var B=x[R].eles,q=0;q<B.length;q++){var W=B[q].boundingBox();if(cD(W,L))return!0}return!1},priority:function(p){return p.renderer.beforeRenderPriorities.eleTxrDeq}});var Tse=1,Qx=-4,z7=2,BC=3.99,V7=50,gm=50,Sse=.15,Xwe=.1,Qwe=.9,Zwe=.9,Jwe=1,$D=250,eye=4e3*4e3,tye=!0,Cse=function(p){var x=this,S=x.renderer=p,L=S.cy;x.layersByLevel={},x.firstGet=!0,x.lastInvalidationTime=Nl()-2*$D,x.skipping=!1,x.eleTxrDeqs=L.collection(),x.scheduleElementRefinement=$g(function(){x.refineElementTextures(x.eleTxrDeqs),x.eleTxrDeqs.unmerge(x.eleTxrDeqs)},gm),S.beforeRender(function(B,q){q-x.lastInvalidationTime<=$D?x.skipping=!0:x.skipping=!1},S.beforeRenderPriorities.lyrTxrSkip);var R=function(q,W){return W.reqs-q.reqs};x.layersQueue=new v7(R),x.setupDequeueing()},p0=Cse.prototype,Ase=0,nye=Math.pow(2,53)-1;p0.makeLayer=function(_,p){var x=Math.pow(2,p),S=Math.ceil(_.w*x),L=Math.ceil(_.h*x),R=this.renderer.makeOffscreenCanvas(S,L),B={id:Ase=++Ase%nye,bb:_,level:p,width:S,height:L,canvas:R,context:R.getContext("2d"),eles:[],elesQueue:[],reqs:0},q=B.context,W=-B.bb.x1,M=-B.bb.y1;return q.scale(x,x),q.translate(W,M),B},p0.getLayers=function(_,p,x){var S=this,L=S.renderer,R=L.cy,B=R.zoom(),q=S.firstGet;if(S.firstGet=!1,x==null){if(x=Math.ceil(aD(B*p)),x<Qx)x=Qx;else if(B>=BC||x>z7)return null}S.validateLayersElesOrdering(x,_);var W=S.layersByLevel,M=Math.pow(2,x),X=W[x]=W[x]||[],ee,le=S.levelIsComplete(x,_),fe,ve=function(){var Tt=function(Mn){if(S.validateLayersElesOrdering(Mn,_),S.levelIsComplete(Mn,_))return fe=W[Mn],!0},Ct=function(Mn){if(!fe)for(var tn=x+Mn;Qx<=tn&&tn<=z7&&!Tt(tn);tn+=Mn);};Ct(1),Ct(-1);for(var pt=X.length-1;pt>=0;pt--){var Wt=X[pt];Wt.invalid&&H3(X,Wt)}};if(!le)ve();else return X;var be=function(){if(!ee){ee=Hg();for(var Tt=0;Tt<_.length;Tt++)Nee(ee,_[Tt].boundingBox())}return ee},Fe=function(Tt){Tt=Tt||{};var Ct=Tt.after;be();var pt=ee.w*M*(ee.h*M);if(pt>eye)return null;var Wt=S.makeLayer(ee,x);if(Ct!=null){var At=X.indexOf(Ct)+1;X.splice(At,0,Wt)}else(Tt.insert===void 0||Tt.insert)&&X.unshift(Wt);return Wt};if(S.skipping&&!q)return null;for(var Ae=null,$e=_.length/Tse,ze=!q,Xe=0;Xe<_.length;Xe++){var lt=_[Xe],st=lt._private.rscratch,Ze=st.imgLayerCaches=st.imgLayerCaches||{},gt=Ze[x];if(gt){Ae=gt;continue}if((!Ae||Ae.eles.length>=$e||!l$(Ae.bb,lt.boundingBox()))&&(Ae=Fe({insert:!0,after:Ae}),!Ae))return null;fe||ze?S.queueLayer(Ae,lt):S.drawEleInLayer(Ae,lt,x,p),Ae.eles.push(lt),Ze[x]=Ae}return fe||(ze?null:X)},p0.getEleLevelForLayerLevel=function(_,p){return _},p0.drawEleInLayer=function(_,p,x,S){var L=this,R=this.renderer,B=_.context,q=p.boundingBox();q.w===0||q.h===0||!p.visible()||(x=L.getEleLevelForLayerLevel(x,S),R.setImgSmoothing(B,!1),R.drawCachedElement(B,p,null,null,x,tye),R.setImgSmoothing(B,!0))},p0.levelIsComplete=function(_,p){var x=this,S=x.layersByLevel[_];if(!S||S.length===0)return!1;for(var L=0,R=0;R<S.length;R++){var B=S[R];if(B.reqs>0||B.invalid)return!1;L+=B.eles.length}return L===p.length},p0.validateLayersElesOrdering=function(_,p){var x=this.layersByLevel[_];if(x)for(var S=0;S<x.length;S++){for(var L=x[S],R=-1,B=0;B<p.length;B++)if(L.eles[0]===p[B]){R=B;break}if(R<0){this.invalidateLayer(L);continue}for(var q=R,B=0;B<L.eles.length;B++)if(L.eles[B]!==p[q+B]){this.invalidateLayer(L);break}}},p0.updateElementsInLayers=function(_,p){for(var x=this,S=qe(_[0]),L=0;L<_.length;L++)for(var R=S?null:_[L],B=S?_[L]:_[L].ele,q=B._private.rscratch,W=q.imgLayerCaches=q.imgLayerCaches||{},M=Qx;M<=z7;M++){var X=W[M];X&&(R&&x.getEleLevelForLayerLevel(X.level)!==R.level||p(X,B,R))}},p0.haveLayers=function(){for(var _=this,p=!1,x=Qx;x<=z7;x++){var S=_.layersByLevel[x];if(S&&S.length>0){p=!0;break}}return p},p0.invalidateElements=function(_){var p=this;_.length!==0&&(p.lastInvalidationTime=Nl(),!(_.length===0||!p.haveLayers())&&p.updateElementsInLayers(_,function(S,L,R){p.invalidateLayer(S)}))},p0.invalidateLayer=function(_){if(this.lastInvalidationTime=Nl(),!_.invalid){var p=_.level,x=_.eles,S=this.layersByLevel[p];H3(S,_),_.elesQueue=[],_.invalid=!0,_.replacement&&(_.replacement.invalid=!0);for(var L=0;L<x.length;L++){var R=x[L]._private.rscratch.imgLayerCaches;R&&(R[p]=null)}}},p0.refineElementTextures=function(_){var p=this;p.updateElementsInLayers(_,function(S,L,R){var B=S.replacement;if(B||(B=S.replacement=p.makeLayer(S.bb,S.level),B.replaces=S,B.eles=S.eles),!B.reqs)for(var q=0;q<B.eles.length;q++)p.queueLayer(B,B.eles[q])})},p0.enqueueElementRefinement=function(_){this.eleTxrDeqs.merge(_),this.scheduleElementRefinement()},p0.queueLayer=function(_,p){var x=this,S=x.layersQueue,L=_.elesQueue,R=L.hasId=L.hasId||{};if(!_.replacement){if(p){if(R[p.id()])return;L.push(p),R[p.id()]=!0}_.reqs?(_.reqs++,S.updateItem(_)):(_.reqs=1,S.push(_))}},p0.dequeue=function(_){for(var p=this,x=p.layersQueue,S=[],L=0;L<Jwe&&x.size()!==0;){var R=x.peek();if(R.replacement){x.pop();continue}if(R.replaces&&R!==R.replaces.replacement){x.pop();continue}if(R.invalid){x.pop();continue}var B=R.elesQueue.shift();B&&(p.drawEleInLayer(R,B,R.level,_),L++),S.length===0&&S.push(!0),R.elesQueue.length===0&&(x.pop(),R.reqs=0,R.replaces&&p.applyLayerReplacement(R),p.requestRedraw())}return S},p0.applyLayerReplacement=function(_){var p=this,x=p.layersByLevel[_.level],S=_.replaces,L=x.indexOf(S);if(!(L<0||S.invalid)){x[L]=_;for(var R=0;R<_.eles.length;R++){var B=_.eles[R]._private,q=B.imgLayerCaches=B.imgLayerCaches||{};q&&(q[_.level]=_)}p.requestRedraw()}},p0.requestRedraw=$g(function(){var _=this.renderer;_.redrawHint("eles",!0),_.redrawHint("drag",!0),_.redraw()},100),p0.setupDequeueing=PC.setupDequeueing({deqRedrawThreshold:V7,deqCost:Sse,deqAvgCost:Xwe,deqNoDrawCost:Qwe,deqFastCost:Zwe,deq:function(p,x){return p.dequeue(x)},onDeqd:Tp,shouldRedraw:Cx,priority:function(p){return p.renderer.beforeRenderPriorities.lyrTxrDeq}});var Cp={},Mse;function nz(_,p){for(var x=0;x<p.length;x++){var S=p[x];_.lineTo(S.x,S.y)}}function rz(_,p,x){for(var S,L=0;L<p.length;L++){var R=p[L];L===0&&(S=R),_.lineTo(R.x,R.y)}_.quadraticCurveTo(x.x,x.y,S.x,S.y)}function Lse(_,p,x){_.beginPath&&_.beginPath();for(var S=p,L=0;L<S.length;L++){var R=S[L];_.lineTo(R.x,R.y)}var B=x,q=x[0];_.moveTo(q.x,q.y);for(var L=1;L<B.length;L++){var R=B[L];_.lineTo(R.x,R.y)}_.closePath&&_.closePath()}function rye(_,p,x,S,L){_.beginPath&&_.beginPath(),_.arc(x,S,L,0,Math.PI*2,!1);var R=p,B=R[0];_.moveTo(B.x,B.y);for(var q=0;q<R.length;q++){var W=R[q];_.lineTo(W.x,W.y)}_.closePath&&_.closePath()}function iye(_,p,x,S){_.arc(p,x,S,0,Math.PI*2,!1)}Cp.arrowShapeImpl=function(_){return(Mse||(Mse={polygon:nz,"triangle-backcurve":rz,"triangle-tee":Lse,"circle-triangle":rye,"triangle-cross":Lse,circle:iye}))[_]};var Iw={};Iw.drawElement=function(_,p,x,S,L,R){var B=this;p.isNode()?B.drawNode(_,p,x,S,L,R):B.drawEdge(_,p,x,S,L,R)},Iw.drawElementOverlay=function(_,p){var x=this;p.isNode()?x.drawNodeOverlay(_,p):x.drawEdgeOverlay(_,p)},Iw.drawElementUnderlay=function(_,p){var x=this;p.isNode()?x.drawNodeUnderlay(_,p):x.drawEdgeUnderlay(_,p)},Iw.drawCachedElementPortion=function(_,p,x,S,L,R,B,q){var W=this,M=x.getBoundingBox(p);if(!(M.w===0||M.h===0)){var X=x.getElement(p,M,S,L,R);if(X!=null){var ee=q(W,p);if(ee===0)return;var le=B(W,p),fe=M.x1,ve=M.y1,be=M.w,Fe=M.h,Ae,$e,ze,Xe,lt;if(le!==0){var st=x.getRotationPoint(p);ze=st.x,Xe=st.y,_.translate(ze,Xe),_.rotate(le),lt=W.getImgSmoothing(_),lt||W.setImgSmoothing(_,!0);var Ze=x.getRotationOffset(p);Ae=Ze.x,$e=Ze.y}else Ae=fe,$e=ve;var gt;ee!==1&&(gt=_.globalAlpha,_.globalAlpha=gt*ee),_.drawImage(X.texture.canvas,X.x,0,X.width,X.height,Ae,$e,be,Fe),ee!==1&&(_.globalAlpha=gt),le!==0&&(_.rotate(-le),_.translate(-ze,-Xe),lt||W.setImgSmoothing(_,!1))}else x.drawElement(_,p)}};var HD=function(){return 0},FC=function(p,x){return p.getTextAngle(x,null)},iz=function(p,x){return p.getTextAngle(x,"source")},sye=function(p,x){return p.getTextAngle(x,"target")},aye=function(p,x){return x.effectiveOpacity()},sz=function(p,x){return x.pstyle("text-opacity").pfValue*x.effectiveOpacity()};Iw.drawCachedElement=function(_,p,x,S,L,R){var B=this,q=B.data,W=q.eleTxrCache,M=q.lblTxrCache,X=q.slbTxrCache,ee=q.tlbTxrCache,le=p.boundingBox(),fe=R===!0?W.reasons.highQuality:null;if(!(le.w===0||le.h===0||!p.visible())&&(!S||cD(le,S))){var ve=p.isEdge(),be=p.element()._private.rscratch.badLine;B.drawElementUnderlay(_,p),B.drawCachedElementPortion(_,p,W,x,L,fe,HD,aye),(!ve||!be)&&B.drawCachedElementPortion(_,p,M,x,L,fe,FC,sz),ve&&!be&&(B.drawCachedElementPortion(_,p,X,x,L,fe,iz,sz),B.drawCachedElementPortion(_,p,ee,x,L,fe,sye,sz)),B.drawElementOverlay(_,p)}},Iw.drawElements=function(_,p){for(var x=this,S=0;S<p.length;S++){var L=p[S];x.drawElement(_,L)}},Iw.drawCachedElements=function(_,p,x,S){for(var L=this,R=0;R<p.length;R++){var B=p[R];L.drawCachedElement(_,B,x,S)}},Iw.drawCachedNodes=function(_,p,x,S){for(var L=this,R=0;R<p.length;R++){var B=p[R];B.isNode()&&L.drawCachedElement(_,B,x,S)}},Iw.drawLayeredElements=function(_,p,x,S){var L=this,R=L.data.lyrTxrCache.getLayers(p,x);if(R)for(var B=0;B<R.length;B++){var q=R[B],W=q.bb;W.w===0||W.h===0||_.drawImage(q.canvas,W.x1,W.y1,W.w,W.h)}else L.drawCachedElements(_,p,x,S)};var Ow={};Ow.drawEdge=function(_,p,x){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,B=this,q=p._private.rscratch;if(!(R&&!p.visible())&&!(q.badLine||q.allpts==null||isNaN(q.allpts[0]))){var W;x&&(W=x,_.translate(-W.x1,-W.y1));var M=R?p.pstyle("opacity").value:1,X=R?p.pstyle("line-opacity").value:1,ee=p.pstyle("curve-style").value,le=p.pstyle("line-style").value,fe=p.pstyle("width").pfValue,ve=p.pstyle("line-cap").value,be=M*X,Fe=M*X,Ae=function(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:be;ee==="straight-triangle"?(B.eleStrokeStyle(_,p,pt),B.drawEdgeTrianglePath(p,_,q.allpts)):(_.lineWidth=fe,_.lineCap=ve,B.eleStrokeStyle(_,p,pt),B.drawEdgePath(p,_,q.allpts,le),_.lineCap="butt")},$e=function(){L&&B.drawEdgeOverlay(_,p)},ze=function(){L&&B.drawEdgeUnderlay(_,p)},Xe=function(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fe;B.drawArrowheads(_,p,pt)},lt=function(){B.drawElementText(_,p,null,S)};_.lineJoin="round";var st=p.pstyle("ghost").value==="yes";if(st){var Ze=p.pstyle("ghost-offset-x").pfValue,gt=p.pstyle("ghost-offset-y").pfValue,tt=p.pstyle("ghost-opacity").value,Tt=be*tt;_.translate(Ze,gt),Ae(Tt),Xe(Tt),_.translate(-Ze,-gt)}ze(),Ae(),Xe(),$e(),lt(),x&&_.translate(W.x1,W.y1)}};var Ise=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,S){if(S.visible()){var L=S.pstyle("".concat(p,"-opacity")).value;if(L!==0){var R=this,B=R.usePaths(),q=S._private.rscratch,W=S.pstyle("".concat(p,"-padding")).pfValue,M=2*W,X=S.pstyle("".concat(p,"-color")).value;x.lineWidth=M,q.edgeType==="self"&&!B?x.lineCap="butt":x.lineCap="round",R.colorStrokeStyle(x,X[0],X[1],X[2],L),R.drawEdgePath(S,x,q.allpts,"solid")}}}};Ow.drawEdgeOverlay=Ise("overlay"),Ow.drawEdgeUnderlay=Ise("underlay"),Ow.drawEdgePath=function(_,p,x,S){var L=_._private.rscratch,R=p,B,q=!1,W=this.usePaths(),M=_.pstyle("line-dash-pattern").pfValue,X=_.pstyle("line-dash-offset").pfValue;if(W){var ee=x.join("$"),le=L.pathCacheKey&&L.pathCacheKey===ee;le?(B=p=L.pathCache,q=!0):(B=p=new Path2D,L.pathCacheKey=ee,L.pathCache=B)}if(R.setLineDash)switch(S){case"dotted":R.setLineDash([1,1]);break;case"dashed":R.setLineDash(M),R.lineDashOffset=X;break;case"solid":R.setLineDash([]);break}if(!q&&!L.badLine)switch(p.beginPath&&p.beginPath(),p.moveTo(x[0],x[1]),L.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var fe=2;fe+3<x.length;fe+=4)p.quadraticCurveTo(x[fe],x[fe+1],x[fe+2],x[fe+3]);break;case"straight":case"segments":case"haystack":for(var ve=2;ve+1<x.length;ve+=2)p.lineTo(x[ve],x[ve+1]);break}p=R,W?p.stroke(B):p.stroke(),p.setLineDash&&p.setLineDash([])},Ow.drawEdgeTrianglePath=function(_,p,x){p.fillStyle=p.strokeStyle;for(var S=_.pstyle("width").pfValue,L=0;L+1<x.length;L+=2){var R=[x[L+2]-x[L],x[L+3]-x[L+1]],B=Math.sqrt(R[0]*R[0]+R[1]*R[1]),q=[R[1]/B,-R[0]/B],W=[q[0]*S/2,q[1]*S/2];p.beginPath(),p.moveTo(x[L]-W[0],x[L+1]-W[1]),p.lineTo(x[L]+W[0],x[L+1]+W[1]),p.lineTo(x[L+2],x[L+3]),p.closePath(),p.fill()}},Ow.drawArrowheads=function(_,p,x){var S=p._private.rscratch,L=S.edgeType==="haystack";L||this.drawArrowhead(_,p,"source",S.arrowStartX,S.arrowStartY,S.srcArrowAngle,x),this.drawArrowhead(_,p,"mid-target",S.midX,S.midY,S.midtgtArrowAngle,x),this.drawArrowhead(_,p,"mid-source",S.midX,S.midY,S.midsrcArrowAngle,x),L||this.drawArrowhead(_,p,"target",S.arrowEndX,S.arrowEndY,S.tgtArrowAngle,x)},Ow.drawArrowhead=function(_,p,x,S,L,R,B){if(!(isNaN(S)||S==null||isNaN(L)||L==null||isNaN(R)||R==null)){var q=this,W=p.pstyle(x+"-arrow-shape").value;if(W!=="none"){var M=p.pstyle(x+"-arrow-fill").value==="hollow"?"both":"filled",X=p.pstyle(x+"-arrow-fill").value,ee=p.pstyle("width").pfValue,le=p.pstyle("opacity").value;B===void 0&&(B=le);var fe=_.globalCompositeOperation;(B!==1||X==="hollow")&&(_.globalCompositeOperation="destination-out",q.colorFillStyle(_,255,255,255,1),q.colorStrokeStyle(_,255,255,255,1),q.drawArrowShape(p,_,M,ee,W,S,L,R),_.globalCompositeOperation=fe);var ve=p.pstyle(x+"-arrow-color").value;q.colorFillStyle(_,ve[0],ve[1],ve[2],B),q.colorStrokeStyle(_,ve[0],ve[1],ve[2],B),q.drawArrowShape(p,_,X,ee,W,S,L,R)}}},Ow.drawArrowShape=function(_,p,x,S,L,R,B,q){var W=this,M=this.usePaths()&&L!=="triangle-cross",X=!1,ee,le=p,fe={x:R,y:B},ve=_.pstyle("arrow-scale").value,be=this.getArrowWidth(S,ve),Fe=W.arrowShapes[L];if(M){var Ae=W.arrowPathCache=W.arrowPathCache||[],$e=vv(L),ze=Ae[$e];ze!=null?(ee=p=ze,X=!0):(ee=p=new Path2D,Ae[$e]=ee)}X||(p.beginPath&&p.beginPath(),M?Fe.draw(p,1,0,{x:0,y:0},1):Fe.draw(p,be,q,fe,S),p.closePath&&p.closePath()),p=le,M&&(p.translate(R,B),p.rotate(q),p.scale(be,be)),(x==="filled"||x==="both")&&(M?p.fill(ee):p.fill()),(x==="hollow"||x==="both")&&(p.lineWidth=(Fe.matchEdgeWidth?S:1)/(M?be:1),p.lineJoin="miter",M?p.stroke(ee):p.stroke()),M&&(p.scale(1/be,1/be),p.rotate(-q),p.translate(-R,-B))};var jC={};jC.safeDrawImage=function(_,p,x,S,L,R,B,q,W,M){if(!(L<=0||R<=0||W<=0||M<=0))try{_.drawImage(p,x,S,L,R,B,q,W,M)}catch(X){El(X)}},jC.drawInscribedImage=function(_,p,x,S,L){var R=this,B=x.position(),q=B.x,W=B.y,M=x.cy().style(),X=M.getIndexedStyle.bind(M),ee=X(x,"background-fit","value",S),le=X(x,"background-repeat","value",S),fe=x.width(),ve=x.height(),be=x.padding()*2,Fe=fe+(X(x,"background-width-relative-to","value",S)==="inner"?0:be),Ae=ve+(X(x,"background-height-relative-to","value",S)==="inner"?0:be),$e=x._private.rscratch,ze=X(x,"background-clip","value",S),Xe=ze==="node",lt=X(x,"background-image-opacity","value",S)*L,st=X(x,"background-image-smoothing","value",S),Ze=p.width||p.cachedW,gt=p.height||p.cachedH;(Ze==null||gt==null)&&(document.body.appendChild(p),Ze=p.cachedW=p.width||p.offsetWidth,gt=p.cachedH=p.height||p.offsetHeight,document.body.removeChild(p));var tt=Ze,Tt=gt;if(X(x,"background-width","value",S)!=="auto"&&(X(x,"background-width","units",S)==="%"?tt=X(x,"background-width","pfValue",S)*Fe:tt=X(x,"background-width","pfValue",S)),X(x,"background-height","value",S)!=="auto"&&(X(x,"background-height","units",S)==="%"?Tt=X(x,"background-height","pfValue",S)*Ae:Tt=X(x,"background-height","pfValue",S)),!(tt===0||Tt===0)){if(ee==="contain"){var Ct=Math.min(Fe/tt,Ae/Tt);tt*=Ct,Tt*=Ct}else if(ee==="cover"){var Ct=Math.max(Fe/tt,Ae/Tt);tt*=Ct,Tt*=Ct}var pt=q-Fe/2,Wt=X(x,"background-position-x","units",S),At=X(x,"background-position-x","pfValue",S);Wt==="%"?pt+=(Fe-tt)*At:pt+=At;var Mn=X(x,"background-offset-x","units",S),tn=X(x,"background-offset-x","pfValue",S);Mn==="%"?pt+=(Fe-tt)*tn:pt+=tn;var sn=W-Ae/2,Fn=X(x,"background-position-y","units",S),Yn=X(x,"background-position-y","pfValue",S);Fn==="%"?sn+=(Ae-Tt)*Yn:sn+=Yn;var wr=X(x,"background-offset-y","units",S),qn=X(x,"background-offset-y","pfValue",S);wr==="%"?sn+=(Ae-Tt)*qn:sn+=qn,$e.pathCache&&(pt-=q,sn-=W,q=0,W=0);var br=_.globalAlpha;_.globalAlpha=lt;var Dr=R.getImgSmoothing(_),Qr=!1;if(st==="no"&&Dr?(R.setImgSmoothing(_,!1),Qr=!0):st==="yes"&&!Dr&&(R.setImgSmoothing(_,!0),Qr=!0),le==="no-repeat")Xe&&(_.save(),$e.pathCache?_.clip($e.pathCache):(R.nodeShapes[R.getNodeShape(x)].draw(_,q,W,Fe,Ae),_.clip())),R.safeDrawImage(_,p,0,0,Ze,gt,pt,sn,tt,Tt),Xe&&_.restore();else{var Hr=_.createPattern(p,le);_.fillStyle=Hr,R.nodeShapes[R.getNodeShape(x)].draw(_,q,W,Fe,Ae),_.translate(pt,sn),_.fill(),_.translate(-pt,-sn)}_.globalAlpha=br,Qr&&R.setImgSmoothing(_,Dr)}};var Zx={};Zx.eleTextBiggerThanMin=function(_,p){if(!p){var x=_.cy().zoom(),S=this.getPixelRatio(),L=Math.ceil(aD(x*S));p=Math.pow(2,L)}var R=_.pstyle("font-size").pfValue*p,B=_.pstyle("min-zoomed-font-size").pfValue;return!(R<B)},Zx.drawElementText=function(_,p,x,S,L){var R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,B=this;if(S==null){if(R&&!B.eleTextBiggerThanMin(p))return}else if(S===!1)return;if(p.isNode()){var q=p.pstyle("label");if(!q||!q.value)return;var W=B.getLabelJustification(p);_.textAlign=W,_.textBaseline="bottom"}else{var M=p.element()._private.rscratch.badLine,X=p.pstyle("label"),ee=p.pstyle("source-label"),le=p.pstyle("target-label");if(M||(!X||!X.value)&&(!ee||!ee.value)&&(!le||!le.value))return;_.textAlign="center",_.textBaseline="bottom"}var fe=!x,ve;x&&(ve=x,_.translate(-ve.x1,-ve.y1)),L==null?(B.drawText(_,p,null,fe,R),p.isEdge()&&(B.drawText(_,p,"source",fe,R),B.drawText(_,p,"target",fe,R))):B.drawText(_,p,L,fe,R),x&&_.translate(ve.x1,ve.y1)},Zx.getFontCache=function(_){var p;this.fontCaches=this.fontCaches||[];for(var x=0;x<this.fontCaches.length;x++)if(p=this.fontCaches[x],p.context===_)return p;return p={context:_},this.fontCaches.push(p),p},Zx.setupTextStyle=function(_,p){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,S=p.pstyle("font-style").strValue,L=p.pstyle("font-size").pfValue+"px",R=p.pstyle("font-family").strValue,B=p.pstyle("font-weight").strValue,q=x?p.effectiveOpacity()*p.pstyle("text-opacity").value:1,W=p.pstyle("text-outline-opacity").value*q,M=p.pstyle("color").value,X=p.pstyle("text-outline-color").value;_.font=S+" "+B+" "+L+" "+R,_.lineJoin="round",this.colorFillStyle(_,M[0],M[1],M[2],q),this.colorStrokeStyle(_,X[0],X[1],X[2],W)};function oye(_,p,x,S,L){var R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5;_.beginPath(),_.moveTo(p+R,x),_.lineTo(p+S-R,x),_.quadraticCurveTo(p+S,x,p+S,x+R),_.lineTo(p+S,x+L-R),_.quadraticCurveTo(p+S,x+L,p+S-R,x+L),_.lineTo(p+R,x+L),_.quadraticCurveTo(p,x+L,p,x+L-R),_.lineTo(p,x+R),_.quadraticCurveTo(p,x,p+R,x),_.closePath(),_.fill()}Zx.getTextAngle=function(_,p){var x,S=_._private,L=S.rscratch,R=p?p+"-":"",B=_.pstyle(R+"text-rotation"),q=yv(L,"labelAngle",p);return B.strValue==="autorotate"?x=_.isEdge()?q:0:B.strValue==="none"?x=0:x=B.pfValue,x},Zx.drawText=function(_,p,x){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,R=p._private,B=R.rscratch,q=L?p.effectiveOpacity():1;if(!(L&&(q===0||p.pstyle("text-opacity").value===0))){x==="main"&&(x=null);var W=yv(B,"labelX",x),M=yv(B,"labelY",x),X,ee,le=this.getLabelText(p,x);if(le!=null&&le!==""&&!isNaN(W)&&!isNaN(M)){this.setupTextStyle(_,p,L);var fe=x?x+"-":"",ve=yv(B,"labelWidth",x),be=yv(B,"labelHeight",x),Fe=p.pstyle(fe+"text-margin-x").pfValue,Ae=p.pstyle(fe+"text-margin-y").pfValue,$e=p.isEdge(),ze=p.pstyle("text-halign").value,Xe=p.pstyle("text-valign").value;$e&&(ze="center",Xe="center"),W+=Fe,M+=Ae;var lt;switch(S?lt=this.getTextAngle(p,x):lt=0,lt!==0&&(X=W,ee=M,_.translate(X,ee),_.rotate(lt),W=0,M=0),Xe){case"top":break;case"center":M+=be/2;break;case"bottom":M+=be;break}var st=p.pstyle("text-background-opacity").value,Ze=p.pstyle("text-border-opacity").value,gt=p.pstyle("text-border-width").pfValue,tt=p.pstyle("text-background-padding").pfValue;if(st>0||gt>0&&Ze>0){var Tt=W-tt;switch(ze){case"left":Tt-=ve;break;case"center":Tt-=ve/2;break}var Ct=M-be-tt,pt=ve+2*tt,Wt=be+2*tt;if(st>0){var At=_.fillStyle,Mn=p.pstyle("text-background-color").value;_.fillStyle="rgba("+Mn[0]+","+Mn[1]+","+Mn[2]+","+st*q+")";var tn=p.pstyle("text-background-shape").strValue;tn.indexOf("round")===0?oye(_,Tt,Ct,pt,Wt,2):_.fillRect(Tt,Ct,pt,Wt),_.fillStyle=At}if(gt>0&&Ze>0){var sn=_.strokeStyle,Fn=_.lineWidth,Yn=p.pstyle("text-border-color").value,wr=p.pstyle("text-border-style").value;if(_.strokeStyle="rgba("+Yn[0]+","+Yn[1]+","+Yn[2]+","+Ze*q+")",_.lineWidth=gt,_.setLineDash)switch(wr){case"dotted":_.setLineDash([1,1]);break;case"dashed":_.setLineDash([4,2]);break;case"double":_.lineWidth=gt/4,_.setLineDash([]);break;case"solid":_.setLineDash([]);break}if(_.strokeRect(Tt,Ct,pt,Wt),wr==="double"){var qn=gt/2;_.strokeRect(Tt+qn,Ct+qn,pt-qn*2,Wt-qn*2)}_.setLineDash&&_.setLineDash([]),_.lineWidth=Fn,_.strokeStyle=sn}}var br=2*p.pstyle("text-outline-width").pfValue;if(br>0&&(_.lineWidth=br),p.pstyle("text-wrap").value==="wrap"){var Dr=yv(B,"labelWrapCachedLines",x),Qr=yv(B,"labelLineHeight",x),Hr=ve/2,Mr=this.getLabelJustification(p);switch(Mr==="auto"||(ze==="left"?Mr==="left"?W+=-ve:Mr==="center"&&(W+=-Hr):ze==="center"?Mr==="left"?W+=-Hr:Mr==="right"&&(W+=Hr):ze==="right"&&(Mr==="center"?W+=Hr:Mr==="right"&&(W+=ve))),Xe){case"top":M-=(Dr.length-1)*Qr;break;case"center":case"bottom":M-=(Dr.length-1)*Qr;break}for(var Pn=0;Pn<Dr.length;Pn++)br>0&&_.strokeText(Dr[Pn],W,M),_.fillText(Dr[Pn],W,M),M+=Qr}else br>0&&_.strokeText(le,W,M),_.fillText(le,W,M);lt!==0&&(_.rotate(-lt),_.translate(-X,-ee))}}};var q7={};q7.drawNode=function(_,p,x){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,B=this,q,W,M=p._private,X=M.rscratch,ee=p.position();if(!(!ge(ee.x)||!ge(ee.y))&&!(R&&!p.visible())){var le=R?p.effectiveOpacity():1,fe=B.usePaths(),ve,be=!1,Fe=p.padding();q=p.width()+2*Fe,W=p.height()+2*Fe;var Ae;x&&(Ae=x,_.translate(-Ae.x1,-Ae.y1));for(var $e=p.pstyle("background-image"),ze=$e.value,Xe=new Array(ze.length),lt=new Array(ze.length),st=0,Ze=0;Ze<ze.length;Ze++){var gt=ze[Ze],tt=Xe[Ze]=gt!=null&&gt!=="none";if(tt){var Tt=p.cy().style().getIndexedStyle(p,"background-image-crossorigin","value",Ze);st++,lt[Ze]=B.getCachedImage(gt,Tt,function(){M.backgroundTimestamp=Date.now(),p.emitAndNotify("background")})}}var Ct=p.pstyle("background-blacken").value,pt=p.pstyle("border-width").pfValue,Wt=p.pstyle("background-opacity").value*le,At=p.pstyle("border-color").value,Mn=p.pstyle("border-style").value,tn=p.pstyle("border-opacity").value*le;_.lineJoin="miter";var sn=function(){var ys=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt;B.eleFillStyle(_,p,ys)},Fn=function(){var ys=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tn;B.colorStrokeStyle(_,At[0],At[1],At[2],ys)},Yn=p.pstyle("shape").strValue,wr=p.pstyle("shape-polygon-points").pfValue;if(fe){_.translate(ee.x,ee.y);var qn=B.nodePathCache=B.nodePathCache||[],br=Sx(Yn==="polygon"?Yn+","+wr.join(","):Yn,""+W,""+q),Dr=qn[br];Dr!=null?(ve=Dr,be=!0,X.pathCache=ve):(ve=new Path2D,qn[br]=X.pathCache=ve)}var Qr=function(){if(!be){var ys=ee;fe&&(ys={x:0,y:0}),B.nodeShapes[B.getNodeShape(p)].draw(ve||_,ys.x,ys.y,q,W)}fe?_.fill(ve):_.fill()},Hr=function(){for(var ys=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le,Js=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,gc=M.backgrounding,ho=0,Za=0;Za<lt.length;Za++){var ni=p.cy().style().getIndexedStyle(p,"background-image-containment","value",Za);if(Js&&ni==="over"||!Js&&ni==="inside"){ho++;continue}Xe[Za]&&lt[Za].complete&&!lt[Za].error&&(ho++,B.drawInscribedImage(_,lt[Za],p,Za,ys))}M.backgrounding=ho!==st,gc!==M.backgrounding&&p.updateStyle(!1)},Mr=function(){var ys=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Js=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le;B.hasPie(p)&&(B.drawPie(_,p,Js),ys&&(fe||B.nodeShapes[B.getNodeShape(p)].draw(_,ee.x,ee.y,q,W)))},Pn=function(){var ys=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le,Js=(Ct>0?Ct:-Ct)*ys,gc=Ct>0?0:255;Ct!==0&&(B.colorFillStyle(_,gc,gc,gc,Js),fe?_.fill(ve):_.fill())},Kr=function(){if(pt>0){if(_.lineWidth=pt,_.lineCap="butt",_.setLineDash)switch(Mn){case"dotted":_.setLineDash([1,1]);break;case"dashed":_.setLineDash([4,2]);break;case"solid":case"double":_.setLineDash([]);break}if(fe?_.stroke(ve):_.stroke(),Mn==="double"){_.lineWidth=pt/3;var ys=_.globalCompositeOperation;_.globalCompositeOperation="destination-out",fe?_.stroke(ve):_.stroke(),_.globalCompositeOperation=ys}_.setLineDash&&_.setLineDash([])}},qr=function(){L&&B.drawNodeOverlay(_,p,ee,q,W)},Fi=function(){L&&B.drawNodeUnderlay(_,p,ee,q,W)},ls=function(){B.drawElementText(_,p,null,S)},uo=p.pstyle("ghost").value==="yes";if(uo){var Yo=p.pstyle("ghost-offset-x").pfValue,ms=p.pstyle("ghost-offset-y").pfValue,es=p.pstyle("ghost-opacity").value,Ta=es*le;_.translate(Yo,ms),sn(es*Wt),Qr(),Hr(Ta,!0),Fn(es*tn),Kr(),Mr(Ct!==0||pt!==0),Hr(Ta,!1),Pn(Ta),_.translate(-Yo,-ms)}fe&&_.translate(-ee.x,-ee.y),Fi(),fe&&_.translate(ee.x,ee.y),sn(),Qr(),Hr(le,!0),Fn(),Kr(),Mr(Ct!==0||pt!==0),Hr(le,!1),Pn(),fe&&_.translate(-ee.x,-ee.y),ls(),qr(),x&&_.translate(Ae.x1,Ae.y1)}};var Ose=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,S,L,R,B){var q=this;if(S.visible()){var W=S.pstyle("".concat(p,"-padding")).pfValue,M=S.pstyle("".concat(p,"-opacity")).value,X=S.pstyle("".concat(p,"-color")).value,ee=S.pstyle("".concat(p,"-shape")).value;if(M>0){if(L=L||S.position(),R==null||B==null){var le=S.padding();R=S.width()+2*le,B=S.height()+2*le}q.colorFillStyle(x,X[0],X[1],X[2],M),q.nodeShapes[ee].draw(x,L.x,L.y,R+W*2,B+W*2),x.fill()}}}};q7.drawNodeOverlay=Ose("overlay"),q7.drawNodeUnderlay=Ose("underlay"),q7.hasPie=function(_){return _=_[0],_._private.hasPie},q7.drawPie=function(_,p,x,S){p=p[0],S=S||p.position();var L=p.cy().style(),R=p.pstyle("pie-size"),B=S.x,q=S.y,W=p.width(),M=p.height(),X=Math.min(W,M)/2,ee=0,le=this.usePaths();le&&(B=0,q=0),R.units==="%"?X=X*R.pfValue:R.pfValue!==void 0&&(X=R.pfValue/2);for(var fe=1;fe<=L.pieBackgroundN;fe++){var ve=p.pstyle("pie-"+fe+"-background-size").value,be=p.pstyle("pie-"+fe+"-background-color").value,Fe=p.pstyle("pie-"+fe+"-background-opacity").value*x,Ae=ve/100;Ae+ee>1&&(Ae=1-ee);var $e=1.5*Math.PI+2*Math.PI*ee,ze=2*Math.PI*Ae,Xe=$e+ze;ve===0||ee>=1||ee+Ae>1||(_.beginPath(),_.moveTo(B,q),_.arc(B,q,X,$e,Xe),_.closePath(),this.colorFillStyle(_,be[0],be[1],be[2],Fe),_.fill(),ee+=Ae)}};var pm={},cye=100;pm.getPixelRatio=function(){var _=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var p=_.backingStorePixelRatio||_.webkitBackingStorePixelRatio||_.mozBackingStorePixelRatio||_.msBackingStorePixelRatio||_.oBackingStorePixelRatio||_.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/p},pm.paintCache=function(_){for(var p=this.paintCaches=this.paintCaches||[],x=!0,S,L=0;L<p.length;L++)if(S=p[L],S.context===_){x=!1;break}return x&&(S={context:_},p.push(S)),S},pm.createGradientStyleFor=function(_,p,x,S,L){var R,B=this.usePaths(),q=x.pstyle(p+"-gradient-stop-colors").value,W=x.pstyle(p+"-gradient-stop-positions").pfValue;if(S==="radial-gradient")if(x.isEdge()){var M=x.sourceEndpoint(),X=x.targetEndpoint(),ee=x.midpoint(),le=n6(M,ee),fe=n6(X,ee);R=_.createRadialGradient(ee.x,ee.y,0,ee.x,ee.y,Math.max(le,fe))}else{var ve=B?{x:0,y:0}:x.position(),be=x.paddedWidth(),Fe=x.paddedHeight();R=_.createRadialGradient(ve.x,ve.y,0,ve.x,ve.y,Math.max(be,Fe))}else if(x.isEdge()){var Ae=x.sourceEndpoint(),$e=x.targetEndpoint();R=_.createLinearGradient(Ae.x,Ae.y,$e.x,$e.y)}else{var ze=B?{x:0,y:0}:x.position(),Xe=x.paddedWidth(),lt=x.paddedHeight(),st=Xe/2,Ze=lt/2,gt=x.pstyle("background-gradient-direction").value;switch(gt){case"to-bottom":R=_.createLinearGradient(ze.x,ze.y-Ze,ze.x,ze.y+Ze);break;case"to-top":R=_.createLinearGradient(ze.x,ze.y+Ze,ze.x,ze.y-Ze);break;case"to-left":R=_.createLinearGradient(ze.x+st,ze.y,ze.x-st,ze.y);break;case"to-right":R=_.createLinearGradient(ze.x-st,ze.y,ze.x+st,ze.y);break;case"to-bottom-right":case"to-right-bottom":R=_.createLinearGradient(ze.x-st,ze.y-Ze,ze.x+st,ze.y+Ze);break;case"to-top-right":case"to-right-top":R=_.createLinearGradient(ze.x-st,ze.y+Ze,ze.x+st,ze.y-Ze);break;case"to-bottom-left":case"to-left-bottom":R=_.createLinearGradient(ze.x+st,ze.y-Ze,ze.x-st,ze.y+Ze);break;case"to-top-left":case"to-left-top":R=_.createLinearGradient(ze.x+st,ze.y+Ze,ze.x-st,ze.y-Ze);break}}if(!R)return null;for(var tt=W.length===q.length,Tt=q.length,Ct=0;Ct<Tt;Ct++)R.addColorStop(tt?W[Ct]:Ct/(Tt-1),"rgba("+q[Ct][0]+","+q[Ct][1]+","+q[Ct][2]+","+L+")");return R},pm.gradientFillStyle=function(_,p,x,S){var L=this.createGradientStyleFor(_,"background",p,x,S);if(!L)return null;_.fillStyle=L},pm.colorFillStyle=function(_,p,x,S,L){_.fillStyle="rgba("+p+","+x+","+S+","+L+")"},pm.eleFillStyle=function(_,p,x){var S=p.pstyle("background-fill").value;if(S==="linear-gradient"||S==="radial-gradient")this.gradientFillStyle(_,p,S,x);else{var L=p.pstyle("background-color").value;this.colorFillStyle(_,L[0],L[1],L[2],x)}},pm.gradientStrokeStyle=function(_,p,x,S){var L=this.createGradientStyleFor(_,"line",p,x,S);if(!L)return null;_.strokeStyle=L},pm.colorStrokeStyle=function(_,p,x,S,L){_.strokeStyle="rgba("+p+","+x+","+S+","+L+")"},pm.eleStrokeStyle=function(_,p,x){var S=p.pstyle("line-fill").value;if(S==="linear-gradient"||S==="radial-gradient")this.gradientStrokeStyle(_,p,S,x);else{var L=p.pstyle("line-color").value;this.colorStrokeStyle(_,L[0],L[1],L[2],x)}},pm.matchCanvasSize=function(_){var p=this,x=p.data,S=p.findContainerClientCoords(),L=S[2],R=S[3],B=p.getPixelRatio(),q=p.motionBlurPxRatio;(_===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_NODE]||_===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_DRAG])&&(B=q);var W=L*B,M=R*B,X;if(!(W===p.canvasWidth&&M===p.canvasHeight)){p.fontCaches=null;var ee=x.canvasContainer;ee.style.width=L+"px",ee.style.height=R+"px";for(var le=0;le<p.CANVAS_LAYERS;le++)X=x.canvases[le],X.width=W,X.height=M,X.style.width=L+"px",X.style.height=R+"px";for(var le=0;le<p.BUFFER_COUNT;le++)X=x.bufferCanvases[le],X.width=W,X.height=M,X.style.width=L+"px",X.style.height=R+"px";p.textureMult=1,B<=1&&(X=x.bufferCanvases[p.TEXTURE_BUFFER],p.textureMult=2,X.width=W*p.textureMult,X.height=M*p.textureMult),p.canvasWidth=W,p.canvasHeight=M}},pm.renderTo=function(_,p,x,S){this.render({forcedContext:_,forcedZoom:p,forcedPan:x,drawAllLayers:!0,forcedPxRatio:S})},pm.render=function(_){_=_||r$();var p=_.forcedContext,x=_.drawAllLayers,S=_.drawOnlyNodeLayer,L=_.forcedZoom,R=_.forcedPan,B=this,q=_.forcedPxRatio===void 0?this.getPixelRatio():_.forcedPxRatio,W=B.cy,M=B.data,X=M.canvasNeedsRedraw,ee=B.textureOnViewport&&!p&&(B.pinching||B.hoverData.dragging||B.swipePanning||B.data.wheelZooming),le=_.motionBlur!==void 0?_.motionBlur:B.motionBlur,fe=B.motionBlurPxRatio,ve=W.hasCompoundNodes(),be=B.hoverData.draggingEles,Fe=!!(B.hoverData.selecting||B.touchData.selecting);le=le&&!p&&B.motionBlurEnabled&&!Fe;var Ae=le;p||(B.prevPxRatio!==q&&(B.invalidateContainerClientCoordsCache(),B.matchCanvasSize(B.container),B.redrawHint("eles",!0),B.redrawHint("drag",!0)),B.prevPxRatio=q),!p&&B.motionBlurTimeout&&clearTimeout(B.motionBlurTimeout),le&&(B.mbFrames==null&&(B.mbFrames=0),B.mbFrames++,B.mbFrames<3&&(Ae=!1),B.mbFrames>B.minMbLowQualFrames&&(B.motionBlurPxRatio=B.mbPxRBlurry)),B.clearingMotionBlur&&(B.motionBlurPxRatio=1),B.textureDrawLastFrame&&!ee&&(X[B.NODE]=!0,X[B.SELECT_BOX]=!0);var $e=W.style(),ze=W.zoom(),Xe=L!==void 0?L:ze,lt=W.pan(),st={x:lt.x,y:lt.y},Ze={zoom:ze,pan:{x:lt.x,y:lt.y}},gt=B.prevViewport,tt=gt===void 0||Ze.zoom!==gt.zoom||Ze.pan.x!==gt.pan.x||Ze.pan.y!==gt.pan.y;!tt&&!(be&&!ve)&&(B.motionBlurPxRatio=1),R&&(st=R),Xe*=q,st.x*=q,st.y*=q;var Tt=B.getCachedZSortedEles();function Ct(ms,es,Ta,Gs,ys){var Js=ms.globalCompositeOperation;ms.globalCompositeOperation="destination-out",B.colorFillStyle(ms,255,255,255,B.motionBlurTransparency),ms.fillRect(es,Ta,Gs,ys),ms.globalCompositeOperation=Js}function pt(ms,es){var Ta,Gs,ys,Js;!B.clearingMotionBlur&&(ms===M.bufferContexts[B.MOTIONBLUR_BUFFER_NODE]||ms===M.bufferContexts[B.MOTIONBLUR_BUFFER_DRAG])?(Ta={x:lt.x*fe,y:lt.y*fe},Gs=ze*fe,ys=B.canvasWidth*fe,Js=B.canvasHeight*fe):(Ta=st,Gs=Xe,ys=B.canvasWidth,Js=B.canvasHeight),ms.setTransform(1,0,0,1,0,0),es==="motionBlur"?Ct(ms,0,0,ys,Js):!p&&(es===void 0||es)&&ms.clearRect(0,0,ys,Js),x||(ms.translate(Ta.x,Ta.y),ms.scale(Gs,Gs)),R&&ms.translate(R.x,R.y),L&&ms.scale(L,L)}if(ee||(B.textureDrawLastFrame=!1),ee){if(B.textureDrawLastFrame=!0,!B.textureCache){B.textureCache={},B.textureCache.bb=W.mutableElements().boundingBox(),B.textureCache.texture=B.data.bufferCanvases[B.TEXTURE_BUFFER];var Wt=B.data.bufferContexts[B.TEXTURE_BUFFER];Wt.setTransform(1,0,0,1,0,0),Wt.clearRect(0,0,B.canvasWidth*B.textureMult,B.canvasHeight*B.textureMult),B.render({forcedContext:Wt,drawOnlyNodeLayer:!0,forcedPxRatio:q*B.textureMult});var Ze=B.textureCache.viewport={zoom:W.zoom(),pan:W.pan(),width:B.canvasWidth,height:B.canvasHeight};Ze.mpan={x:(0-Ze.pan.x)/Ze.zoom,y:(0-Ze.pan.y)/Ze.zoom}}X[B.DRAG]=!1,X[B.NODE]=!1;var At=M.contexts[B.NODE],Mn=B.textureCache.texture,Ze=B.textureCache.viewport;At.setTransform(1,0,0,1,0,0),le?Ct(At,0,0,Ze.width,Ze.height):At.clearRect(0,0,Ze.width,Ze.height);var tn=$e.core("outside-texture-bg-color").value,sn=$e.core("outside-texture-bg-opacity").value;B.colorFillStyle(At,tn[0],tn[1],tn[2],sn),At.fillRect(0,0,Ze.width,Ze.height);var ze=W.zoom();pt(At,!1),At.clearRect(Ze.mpan.x,Ze.mpan.y,Ze.width/Ze.zoom/q,Ze.height/Ze.zoom/q),At.drawImage(Mn,Ze.mpan.x,Ze.mpan.y,Ze.width/Ze.zoom/q,Ze.height/Ze.zoom/q)}else B.textureOnViewport&&!p&&(B.textureCache=null);var Fn=W.extent(),Yn=B.pinching||B.hoverData.dragging||B.swipePanning||B.data.wheelZooming||B.hoverData.draggingEles||B.cy.animated(),wr=B.hideEdgesOnViewport&&Yn,qn=[];if(qn[B.NODE]=!X[B.NODE]&&le&&!B.clearedForMotionBlur[B.NODE]||B.clearingMotionBlur,qn[B.NODE]&&(B.clearedForMotionBlur[B.NODE]=!0),qn[B.DRAG]=!X[B.DRAG]&&le&&!B.clearedForMotionBlur[B.DRAG]||B.clearingMotionBlur,qn[B.DRAG]&&(B.clearedForMotionBlur[B.DRAG]=!0),X[B.NODE]||x||S||qn[B.NODE]){var br=le&&!qn[B.NODE]&&fe!==1,At=p||(br?B.data.bufferContexts[B.MOTIONBLUR_BUFFER_NODE]:M.contexts[B.NODE]),Dr=le&&!br?"motionBlur":void 0;pt(At,Dr),wr?B.drawCachedNodes(At,Tt.nondrag,q,Fn):B.drawLayeredElements(At,Tt.nondrag,q,Fn),B.debug&&B.drawDebugPoints(At,Tt.nondrag),!x&&!le&&(X[B.NODE]=!1)}if(!S&&(X[B.DRAG]||x||qn[B.DRAG])){var br=le&&!qn[B.DRAG]&&fe!==1,At=p||(br?B.data.bufferContexts[B.MOTIONBLUR_BUFFER_DRAG]:M.contexts[B.DRAG]);pt(At,le&&!br?"motionBlur":void 0),wr?B.drawCachedNodes(At,Tt.drag,q,Fn):B.drawCachedElements(At,Tt.drag,q,Fn),B.debug&&B.drawDebugPoints(At,Tt.drag),!x&&!le&&(X[B.DRAG]=!1)}if(B.showFps||!S&&X[B.SELECT_BOX]&&!x){var At=p||M.contexts[B.SELECT_BOX];if(pt(At),B.selection[4]==1&&(B.hoverData.selecting||B.touchData.selecting)){var ze=B.cy.zoom(),Qr=$e.core("selection-box-border-width").value/ze;At.lineWidth=Qr,At.fillStyle="rgba("+$e.core("selection-box-color").value[0]+","+$e.core("selection-box-color").value[1]+","+$e.core("selection-box-color").value[2]+","+$e.core("selection-box-opacity").value+")",At.fillRect(B.selection[0],B.selection[1],B.selection[2]-B.selection[0],B.selection[3]-B.selection[1]),Qr>0&&(At.strokeStyle="rgba("+$e.core("selection-box-border-color").value[0]+","+$e.core("selection-box-border-color").value[1]+","+$e.core("selection-box-border-color").value[2]+","+$e.core("selection-box-opacity").value+")",At.strokeRect(B.selection[0],B.selection[1],B.selection[2]-B.selection[0],B.selection[3]-B.selection[1]))}if(M.bgActivePosistion&&!B.hoverData.selecting){var ze=B.cy.zoom(),Hr=M.bgActivePosistion;At.fillStyle="rgba("+$e.core("active-bg-color").value[0]+","+$e.core("active-bg-color").value[1]+","+$e.core("active-bg-color").value[2]+","+$e.core("active-bg-opacity").value+")",At.beginPath(),At.arc(Hr.x,Hr.y,$e.core("active-bg-size").pfValue/ze,0,2*Math.PI),At.fill()}var Mr=B.lastRedrawTime;if(B.showFps&&Mr){Mr=Math.round(Mr);var Pn=Math.round(1e3/Mr);At.setTransform(1,0,0,1,0,0),At.fillStyle="rgba(255, 0, 0, 0.75)",At.strokeStyle="rgba(255, 0, 0, 0.75)",At.lineWidth=1,At.fillText("1 frame = "+Mr+" ms = "+Pn+" fps",0,20);var Kr=60;At.strokeRect(0,30,250,20),At.fillRect(0,30,250*Math.min(Pn/Kr,1),20)}x||(X[B.SELECT_BOX]=!1)}if(le&&fe!==1){var qr=M.contexts[B.NODE],Fi=B.data.bufferCanvases[B.MOTIONBLUR_BUFFER_NODE],ls=M.contexts[B.DRAG],uo=B.data.bufferCanvases[B.MOTIONBLUR_BUFFER_DRAG],Yo=function(es,Ta,Gs){es.setTransform(1,0,0,1,0,0),Gs||!Ae?es.clearRect(0,0,B.canvasWidth,B.canvasHeight):Ct(es,0,0,B.canvasWidth,B.canvasHeight);var ys=fe;es.drawImage(Ta,0,0,B.canvasWidth*ys,B.canvasHeight*ys,0,0,B.canvasWidth,B.canvasHeight)};(X[B.NODE]||qn[B.NODE])&&(Yo(qr,Fi,qn[B.NODE]),X[B.NODE]=!1),(X[B.DRAG]||qn[B.DRAG])&&(Yo(ls,uo,qn[B.DRAG]),X[B.DRAG]=!1)}B.prevViewport=Ze,B.clearingMotionBlur&&(B.clearingMotionBlur=!1,B.motionBlurCleared=!0,B.motionBlur=!0),le&&(B.motionBlurTimeout=setTimeout(function(){B.motionBlurTimeout=null,B.clearedForMotionBlur[B.NODE]=!1,B.clearedForMotionBlur[B.DRAG]=!1,B.motionBlur=!1,B.clearingMotionBlur=!ee,B.mbFrames=0,X[B.NODE]=!0,X[B.DRAG]=!0,B.redraw()},cye)),p||W.emit("render")};var u6={};u6.drawPolygonPath=function(_,p,x,S,L,R){var B=S/2,q=L/2;_.beginPath&&_.beginPath(),_.moveTo(p+B*R[0],x+q*R[1]);for(var W=1;W<R.length/2;W++)_.lineTo(p+B*R[W*2],x+q*R[W*2+1]);_.closePath()},u6.drawRoundPolygonPath=function(_,p,x,S,L,R){var B=S/2,q=L/2,W=hD(S,L);_.beginPath&&_.beginPath();for(var M=0;M<R.length/4;M++){var X=void 0,ee=void 0;M===0?X=R.length-2:X=M*4-2,ee=M*4+2;var le=p+B*R[M*4],fe=x+q*R[M*4+1],ve=-R[X]*R[ee]-R[X+1]*R[ee+1],be=W/Math.tan(Math.acos(ve)/2),Fe=le-be*R[X],Ae=fe-be*R[X+1],$e=le+be*R[ee],ze=fe+be*R[ee+1];M===0?_.moveTo(Fe,Ae):_.lineTo(Fe,Ae),_.arcTo(le,fe,$e,ze,W)}_.closePath()},u6.drawRoundRectanglePath=function(_,p,x,S,L){var R=S/2,B=L/2,q=_7(S,L);_.beginPath&&_.beginPath(),_.moveTo(p,x-B),_.arcTo(p+R,x-B,p+R,x,q),_.arcTo(p+R,x+B,p,x+B,q),_.arcTo(p-R,x+B,p-R,x,q),_.arcTo(p-R,x-B,p,x-B,q),_.lineTo(p,x-B),_.closePath()},u6.drawBottomRoundRectanglePath=function(_,p,x,S,L){var R=S/2,B=L/2,q=_7(S,L);_.beginPath&&_.beginPath(),_.moveTo(p,x-B),_.lineTo(p+R,x-B),_.lineTo(p+R,x),_.arcTo(p+R,x+B,p,x+B,q),_.arcTo(p-R,x+B,p-R,x,q),_.lineTo(p-R,x-B),_.lineTo(p,x-B),_.closePath()},u6.drawCutRectanglePath=function(_,p,x,S,L){var R=S/2,B=L/2,q=g$();_.beginPath&&_.beginPath(),_.moveTo(p-R+q,x-B),_.lineTo(p+R-q,x-B),_.lineTo(p+R,x-B+q),_.lineTo(p+R,x+B-q),_.lineTo(p+R-q,x+B),_.lineTo(p-R+q,x+B),_.lineTo(p-R,x+B-q),_.lineTo(p-R,x-B+q),_.closePath()},u6.drawBarrelPath=function(_,p,x,S,L){var R=S/2,B=L/2,q=p-R,W=p+R,M=x-B,X=x+B,ee=fD(S,L),le=ee.widthOffset,fe=ee.heightOffset,ve=ee.ctrlPtOffsetPct*le;_.beginPath&&_.beginPath(),_.moveTo(q,M+fe),_.lineTo(q,X-fe),_.quadraticCurveTo(q+ve,X,q+le,X),_.lineTo(W-le,X),_.quadraticCurveTo(W-ve,X,W,X-fe),_.lineTo(W,M+fe),_.quadraticCurveTo(W-ve,M,W-le,M),_.lineTo(q+le,M),_.quadraticCurveTo(q+ve,M,q,M+fe),_.closePath()};for(var Dse=Math.sin(0),Pse=Math.cos(0),az={},oz={},Nse=Math.PI/40,U7=0*Math.PI;U7<2*Math.PI;U7+=Nse)az[U7]=Math.sin(U7),oz[U7]=Math.cos(U7);u6.drawEllipsePath=function(_,p,x,S,L){if(_.beginPath&&_.beginPath(),_.ellipse)_.ellipse(p,x,S/2,L/2,0,0,2*Math.PI);else for(var R,B,q=S/2,W=L/2,M=0*Math.PI;M<2*Math.PI;M+=Nse)R=p-q*az[M]*Dse+q*oz[M]*Pse,B=x+W*oz[M]*Dse+W*az[M]*Pse,M===0?_.moveTo(R,B):_.lineTo(R,B);_.closePath()};var $C={};$C.createBuffer=function(_,p){var x=document.createElement("canvas");return x.width=_,x.height=p,[x,x.getContext("2d")]},$C.bufferCanvasImage=function(_){var p=this.cy,x=p.mutableElements(),S=x.boundingBox(),L=this.findContainerClientCoords(),R=_.full?Math.ceil(S.w):L[2],B=_.full?Math.ceil(S.h):L[3],q=ge(_.maxWidth)||ge(_.maxHeight),W=this.getPixelRatio(),M=1;if(_.scale!==void 0)R*=_.scale,B*=_.scale,M=_.scale;else if(q){var X=1/0,ee=1/0;ge(_.maxWidth)&&(X=M*_.maxWidth/R),ge(_.maxHeight)&&(ee=M*_.maxHeight/B),M=Math.min(X,ee),R*=M,B*=M}q||(R*=W,B*=W,M*=W);var le=document.createElement("canvas");le.width=R,le.height=B,le.style.width=R+"px",le.style.height=B+"px";var fe=le.getContext("2d");if(R>0&&B>0){fe.clearRect(0,0,R,B),fe.globalCompositeOperation="source-over";var ve=this.getCachedZSortedEles();if(_.full)fe.translate(-S.x1*M,-S.y1*M),fe.scale(M,M),this.drawElements(fe,ve),fe.scale(1/M,1/M),fe.translate(S.x1*M,S.y1*M);else{var be=p.pan(),Fe={x:be.x*M,y:be.y*M};M*=p.zoom(),fe.translate(Fe.x,Fe.y),fe.scale(M,M),this.drawElements(fe,ve),fe.scale(1/M,1/M),fe.translate(-Fe.x,-Fe.y)}_.bg&&(fe.globalCompositeOperation="destination-over",fe.fillStyle=_.bg,fe.rect(0,0,R,B),fe.fill())}return le};function lye(_,p){for(var x=atob(_),S=new ArrayBuffer(x.length),L=new Uint8Array(S),R=0;R<x.length;R++)L[R]=x.charCodeAt(R);return new Blob([S],{type:p})}function Rse(_){var p=_.indexOf(",");return _.substr(p+1)}function Bse(_,p,x){var S=function(){return p.toDataURL(x,_.quality)};switch(_.output){case"blob-promise":return new Nx(function(L,R){try{p.toBlob(function(B){B!=null?L(B):R(new Error("`canvas.toBlob()` sent a null value in its callback"))},x,_.quality)}catch(B){R(B)}});case"blob":return lye(Rse(S()),x);case"base64":return Rse(S());case"base64uri":default:return S()}}$C.png=function(_){return Bse(_,this.bufferCanvasImage(_),"image/png")},$C.jpg=function(_){return Bse(_,this.bufferCanvasImage(_),"image/jpeg")};var Fse={};Fse.nodeShapeImpl=function(_,p,x,S,L,R,B){switch(_){case"ellipse":return this.drawEllipsePath(p,x,S,L,R);case"polygon":return this.drawPolygonPath(p,x,S,L,R,B);case"round-polygon":return this.drawRoundPolygonPath(p,x,S,L,R,B);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(p,x,S,L,R);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(p,x,S,L,R);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(p,x,S,L,R);case"barrel":return this.drawBarrelPath(p,x,S,L,R)}};var uye=cz,eu=cz.prototype;eu.CANVAS_LAYERS=3,eu.SELECT_BOX=0,eu.DRAG=1,eu.NODE=2,eu.BUFFER_COUNT=3,eu.TEXTURE_BUFFER=0,eu.MOTIONBLUR_BUFFER_NODE=1,eu.MOTIONBLUR_BUFFER_DRAG=2;function cz(_){var p=this;p.data={canvases:new Array(eu.CANVAS_LAYERS),contexts:new Array(eu.CANVAS_LAYERS),canvasNeedsRedraw:new Array(eu.CANVAS_LAYERS),bufferCanvases:new Array(eu.BUFFER_COUNT),bufferContexts:new Array(eu.CANVAS_LAYERS)};var x="-webkit-tap-highlight-color",S="rgba(0,0,0,0)";p.data.canvasContainer=document.createElement("div");var L=p.data.canvasContainer.style;p.data.canvasContainer.style[x]=S,L.position="relative",L.zIndex="0",L.overflow="hidden";var R=_.cy.container();R.appendChild(p.data.canvasContainer),R.style[x]=S;var B={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Rt()&&(B["-ms-touch-action"]="none",B["touch-action"]="none");for(var q=0;q<eu.CANVAS_LAYERS;q++){var W=p.data.canvases[q]=document.createElement("canvas");p.data.contexts[q]=W.getContext("2d"),Object.keys(B).forEach(function(Mr){W.style[Mr]=B[Mr]}),W.style.position="absolute",W.setAttribute("data-id","layer"+q),W.style.zIndex=String(eu.CANVAS_LAYERS-q),p.data.canvasContainer.appendChild(W),p.data.canvasNeedsRedraw[q]=!1}p.data.topCanvas=p.data.canvases[0],p.data.canvases[eu.NODE].setAttribute("data-id","layer"+eu.NODE+"-node"),p.data.canvases[eu.SELECT_BOX].setAttribute("data-id","layer"+eu.SELECT_BOX+"-selectbox"),p.data.canvases[eu.DRAG].setAttribute("data-id","layer"+eu.DRAG+"-drag");for(var q=0;q<eu.BUFFER_COUNT;q++)p.data.bufferCanvases[q]=document.createElement("canvas"),p.data.bufferContexts[q]=p.data.bufferCanvases[q].getContext("2d"),p.data.bufferCanvases[q].style.position="absolute",p.data.bufferCanvases[q].setAttribute("data-id","buffer"+q),p.data.bufferCanvases[q].style.zIndex=String(-q-1),p.data.bufferCanvases[q].style.visibility="hidden";p.pathsEnabled=!0;var M=Hg(),X=function(Pn){return{x:(Pn.x1+Pn.x2)/2,y:(Pn.y1+Pn.y2)/2}},ee=function(Pn){return{x:-Pn.w/2,y:-Pn.h/2}},le=function(Pn){var Kr=Pn[0]._private,qr=Kr.oldBackgroundTimestamp===Kr.backgroundTimestamp;return!qr},fe=function(Pn){return Pn[0]._private.nodeKey},ve=function(Pn){return Pn[0]._private.labelStyleKey},be=function(Pn){return Pn[0]._private.sourceLabelStyleKey},Fe=function(Pn){return Pn[0]._private.targetLabelStyleKey},Ae=function(Pn,Kr,qr,Fi,ls){return p.drawElement(Pn,Kr,qr,!1,!1,ls)},$e=function(Pn,Kr,qr,Fi,ls){return p.drawElementText(Pn,Kr,qr,Fi,"main",ls)},ze=function(Pn,Kr,qr,Fi,ls){return p.drawElementText(Pn,Kr,qr,Fi,"source",ls)},Xe=function(Pn,Kr,qr,Fi,ls){return p.drawElementText(Pn,Kr,qr,Fi,"target",ls)},lt=function(Pn){return Pn.boundingBox(),Pn[0]._private.bodyBounds},st=function(Pn){return Pn.boundingBox(),Pn[0]._private.labelBounds.main||M},Ze=function(Pn){return Pn.boundingBox(),Pn[0]._private.labelBounds.source||M},gt=function(Pn){return Pn.boundingBox(),Pn[0]._private.labelBounds.target||M},tt=function(Pn,Kr){return Kr},Tt=function(Pn){return X(lt(Pn))},Ct=function(Pn,Kr,qr){var Fi=Pn?Pn+"-":"";return{x:Kr.x+qr.pstyle(Fi+"text-margin-x").pfValue,y:Kr.y+qr.pstyle(Fi+"text-margin-y").pfValue}},pt=function(Pn,Kr,qr){var Fi=Pn[0]._private.rscratch;return{x:Fi[Kr],y:Fi[qr]}},Wt=function(Pn){return Ct("",pt(Pn,"labelX","labelY"),Pn)},At=function(Pn){return Ct("source",pt(Pn,"sourceLabelX","sourceLabelY"),Pn)},Mn=function(Pn){return Ct("target",pt(Pn,"targetLabelX","targetLabelY"),Pn)},tn=function(Pn){return ee(lt(Pn))},sn=function(Pn){return ee(Ze(Pn))},Fn=function(Pn){return ee(gt(Pn))},Yn=function(Pn){var Kr=st(Pn),qr=ee(st(Pn));if(Pn.isNode()){switch(Pn.pstyle("text-halign").value){case"left":qr.x=-Kr.w;break;case"right":qr.x=0;break}switch(Pn.pstyle("text-valign").value){case"top":qr.y=-Kr.h;break;case"bottom":qr.y=0;break}}return qr},wr=p.data.eleTxrCache=new H7(p,{getKey:fe,doesEleInvalidateKey:le,drawElement:Ae,getBoundingBox:lt,getRotationPoint:Tt,getRotationOffset:tn,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),qn=p.data.lblTxrCache=new H7(p,{getKey:ve,drawElement:$e,getBoundingBox:st,getRotationPoint:Wt,getRotationOffset:Yn,isVisible:tt}),br=p.data.slbTxrCache=new H7(p,{getKey:be,drawElement:ze,getBoundingBox:Ze,getRotationPoint:At,getRotationOffset:sn,isVisible:tt}),Dr=p.data.tlbTxrCache=new H7(p,{getKey:Fe,drawElement:Xe,getBoundingBox:gt,getRotationPoint:Mn,getRotationOffset:Fn,isVisible:tt}),Qr=p.data.lyrTxrCache=new Cse(p);p.onUpdateEleCalcs(function(Pn,Kr){wr.invalidateElements(Kr),qn.invalidateElements(Kr),br.invalidateElements(Kr),Dr.invalidateElements(Kr),Qr.invalidateElements(Kr);for(var qr=0;qr<Kr.length;qr++){var Fi=Kr[qr]._private;Fi.oldBackgroundTimestamp=Fi.backgroundTimestamp}});var Hr=function(Pn){for(var Kr=0;Kr<Pn.length;Kr++)Qr.enqueueElementRefinement(Pn[Kr].ele)};wr.onDequeue(Hr),qn.onDequeue(Hr),br.onDequeue(Hr),Dr.onDequeue(Hr)}eu.redrawHint=function(_,p){var x=this;switch(_){case"eles":x.data.canvasNeedsRedraw[eu.NODE]=p;break;case"drag":x.data.canvasNeedsRedraw[eu.DRAG]=p;break;case"select":x.data.canvasNeedsRedraw[eu.SELECT_BOX]=p;break}};var jse=typeof Path2D<"u";eu.path2dEnabled=function(_){if(_===void 0)return this.pathsEnabled;this.pathsEnabled=!!_},eu.usePaths=function(){return jse&&this.pathsEnabled},eu.setImgSmoothing=function(_,p){_.imageSmoothingEnabled!=null?_.imageSmoothingEnabled=p:(_.webkitImageSmoothingEnabled=p,_.mozImageSmoothingEnabled=p,_.msImageSmoothingEnabled=p)},eu.getImgSmoothing=function(_){return _.imageSmoothingEnabled!=null?_.imageSmoothingEnabled:_.webkitImageSmoothingEnabled||_.mozImageSmoothingEnabled||_.msImageSmoothingEnabled},eu.makeOffscreenCanvas=function(_,p){var x;return(typeof OffscreenCanvas>"u"?"undefined":f(OffscreenCanvas))!=="undefined"?x=new OffscreenCanvas(_,p):(x=document.createElement("canvas"),x.width=_,x.height=p),x},[Cp,Iw,Ow,jC,Zx,q7,pm,u6,$C,Fse].forEach(function(_){Ge(eu,_)});var Jx=[{name:"null",impl:UH},{name:"base",impl:RD},{name:"canvas",impl:uye}],mm=[{type:"layout",extensions:cse},{type:"renderer",extensions:Jx}],X3={},zD={};function m0(_,p,x){var S=x,L=function(gt){El("Can not register `"+p+"` for `"+_+"` since `"+gt+"` already exists in the prototype and can not be overridden")};if(_==="core"){if(R7.prototype[p])return L(p);R7.prototype[p]=x}else if(_==="collection"){if(B1.prototype[p])return L(p);B1.prototype[p]=x}else if(_==="layout"){for(var R=function(gt){this.options=gt,x.call(this,gt),ke(this._private)||(this._private={}),this._private.cy=gt.cy,this._private.listeners=[],this.createEmitter()},B=R.prototype=Object.create(x.prototype),q=[],W=0;W<q.length;W++){var M=q[W];B[M]=B[M]||function(){return this}}B.start&&!B.run?B.run=function(){return this.start(),this}:!B.start&&B.run&&(B.start=function(){return this.run(),this});var X=x.prototype.stop;B.stop=function(){var Ze=this.options;if(Ze&&Ze.animate){var gt=this.animations;if(gt)for(var tt=0;tt<gt.length;tt++)gt[tt].stop()}return X?X.call(this):this.emit("layoutstop"),this},B.destroy||(B.destroy=function(){return this}),B.cy=function(){return this._private.cy};var ee=function(gt){return gt._private.cy},le={addEventFields:function(gt,tt){tt.layout=gt,tt.cy=ee(gt),tt.target=gt},bubble:function(){return!0},parent:function(gt){return ee(gt)}};Ge(B,{createEmitter:function(){return this._private.emitter=new mC(le,this),this},emitter:function(){return this._private.emitter},on:function(gt,tt){return this.emitter().on(gt,tt),this},one:function(gt,tt){return this.emitter().one(gt,tt),this},once:function(gt,tt){return this.emitter().one(gt,tt),this},removeListener:function(gt,tt){return this.emitter().removeListener(gt,tt),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(gt,tt){return this.emitter().emit(gt,tt),this}}),uu.eventAliasesOn(B),S=R}else if(_==="renderer"&&p!=="null"&&p!=="base"){var fe=ek("renderer","base"),ve=fe.prototype,be=x,Fe=x.prototype,Ae=function(){fe.apply(this,arguments),be.apply(this,arguments)},$e=Ae.prototype;for(var ze in ve){var Xe=ve[ze],lt=Fe[ze]!=null;if(lt)return L(ze);$e[ze]=Xe}for(var st in Fe)$e[st]=Fe[st];ve.clientFunctions.forEach(function(Ze){$e[Ze]=$e[Ze]||function(){xh("Renderer does not implement `renderer."+Ze+"()` on its prototype")}}),S=Ae}else if(_==="__proto__"||_==="constructor"||_==="prototype")return xh(_+" is an illegal type to be registered, possibly lead to prototype pollutions");return Sr({map:X3,keys:[_,p],value:S})}function ek(_,p){return or({map:X3,keys:[_,p]})}function $se(_,p,x,S,L){return Sr({map:zD,keys:[_,p,x,S],value:L})}function lz(_,p,x,S){return or({map:zD,keys:[_,p,x,S]})}var h6=function(){if(arguments.length===2)return ek.apply(null,arguments);if(arguments.length===3)return m0.apply(null,arguments);if(arguments.length===4)return lz.apply(null,arguments);if(arguments.length===5)return $se.apply(null,arguments);xh("Invalid extension access syntax")};R7.prototype.extension=h6,mm.forEach(function(_){_.extensions.forEach(function(p){m0(_.type,p.name,p.impl)})});var VD=function _(){if(!(this instanceof _))return new _;this.length=0},Q3=VD.prototype;Q3.instanceString=function(){return"stylesheet"},Q3.selector=function(_){var p=this.length++;return this[p]={selector:_,properties:[]},this},Q3.css=function(_,p){var x=this.length-1;if(Oe(_))this[x].properties.push({name:_,value:p});else if(ke(_))for(var S=_,L=Object.keys(S),R=0;R<L.length;R++){var B=L[R],q=S[B];if(q!=null){var W=d0.properties[B]||d0.properties[On(B)];if(W!=null){var M=W.name,X=q;this[x].properties.push({name:M,value:X})}}}return this},Q3.style=Q3.css,Q3.generateStyle=function(_){var p=new d0(_);return this.appendToStyle(p)},Q3.appendToStyle=function(_){for(var p=0;p<this.length;p++){var x=this[p],S=x.selector,L=x.properties;_.selector(S);for(var R=0;R<L.length;R++){var B=L[R];_.css(B.name,B.value)}}return _};var uz="3.23.0",v0=function(p){if(p===void 0&&(p={}),ke(p))return new R7(p);if(Oe(p))return h6.apply(h6,arguments)};return v0.use=function(_){var p=Array.prototype.slice.call(arguments,1);return p.unshift(v0),_.apply(null,p),this},v0.warnings=function(_){return t6(_)},v0.version=uz,v0.stylesheet=v0.Stylesheet=VD,v0})})(Dnn);const fWe=Kwe;var Ywe={},Pnn={get exports(){return Ywe},set exports(s){Ywe=s}},see={},Nnn={get exports(){return see},set exports(s){see=s}},aee={},Rnn={get exports(){return aee},set exports(s){aee=s}},dWe;function Bnn(){return dWe||(dWe=1,function(s,o){(function(m,y){s.exports=y()})(D,function(){return function(f){var m={};function y(k){if(m[k])return m[k].exports;var v=m[k]={i:k,l:!1,exports:{}};return f[k].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=f,y.c=m,y.i=function(k){return k},y.d=function(k,v,A){y.o(k,v)||Object.defineProperty(k,v,{configurable:!1,enumerable:!0,get:A})},y.n=function(k){var v=k&&k.__esModule?function(){return k.default}:function(){return k};return y.d(v,"a",v),v},y.o=function(k,v){return Object.prototype.hasOwnProperty.call(k,v)},y.p="",y(y.s=26)}([function(f,m,y){function k(){}k.QUALITY=1,k.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,k.DEFAULT_INCREMENTAL=!1,k.DEFAULT_ANIMATION_ON_LAYOUT=!0,k.DEFAULT_ANIMATION_DURING_LAYOUT=!1,k.DEFAULT_ANIMATION_PERIOD=50,k.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,k.DEFAULT_GRAPH_MARGIN=15,k.NODE_DIMENSIONS_INCLUDE_LABELS=!1,k.SIMPLE_NODE_SIZE=40,k.SIMPLE_NODE_HALF_SIZE=k.SIMPLE_NODE_SIZE/2,k.EMPTY_COMPOUND_NODE_SIZE=40,k.MIN_EDGE_LENGTH=1,k.WORLD_BOUNDARY=1e6,k.INITIAL_WORLD_BOUNDARY=k.WORLD_BOUNDARY/1e3,k.WORLD_CENTER_X=1200,k.WORLD_CENTER_Y=900,f.exports=k},function(f,m,y){var k=y(2),v=y(8),A=y(9);function O(z,V,Y){k.call(this,Y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=Y,this.bendpoints=[],this.source=z,this.target=V}O.prototype=Object.create(k.prototype);for(var j in k)O[j]=k[j];O.prototype.getSource=function(){return this.source},O.prototype.getTarget=function(){return this.target},O.prototype.isInterGraph=function(){return this.isInterGraph},O.prototype.getLength=function(){return this.length},O.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},O.prototype.getBendpoints=function(){return this.bendpoints},O.prototype.getLca=function(){return this.lca},O.prototype.getSourceInLca=function(){return this.sourceInLca},O.prototype.getTargetInLca=function(){return this.targetInLca},O.prototype.getOtherEnd=function(z){if(this.source===z)return this.target;if(this.target===z)return this.source;throw"Node is not incident with this edge"},O.prototype.getOtherEndInGraph=function(z,V){for(var Y=this.getOtherEnd(z),G=V.getGraphManager().getRoot();;){if(Y.getOwner()==V)return Y;if(Y.getOwner()==G)break;Y=Y.getOwner().getParent()}return null},O.prototype.updateLength=function(){var z=new Array(4);this.isOverlapingSourceAndTarget=v.getIntersection(this.target.getRect(),this.source.getRect(),z),this.isOverlapingSourceAndTarget||(this.lengthX=z[0]-z[2],this.lengthY=z[1]-z[3],Math.abs(this.lengthX)<1&&(this.lengthX=A.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=A.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},O.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=A.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=A.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=O},function(f,m,y){function k(v){this.vGraphObject=v}f.exports=k},function(f,m,y){var k=y(2),v=y(10),A=y(13),O=y(0),j=y(16),z=y(4);function V(G,J,ce,me){ce==null&&me==null&&(me=J),k.call(this,me),G.graphManager!=null&&(G=G.graphManager),this.estimatedSize=v.MIN_VALUE,this.inclusionTreeDepth=v.MAX_VALUE,this.vGraphObject=me,this.edges=[],this.graphManager=G,ce!=null&&J!=null?this.rect=new A(J.x,J.y,ce.width,ce.height):this.rect=new A}V.prototype=Object.create(k.prototype);for(var Y in k)V[Y]=k[Y];V.prototype.getEdges=function(){return this.edges},V.prototype.getChild=function(){return this.child},V.prototype.getOwner=function(){return this.owner},V.prototype.getWidth=function(){return this.rect.width},V.prototype.setWidth=function(G){this.rect.width=G},V.prototype.getHeight=function(){return this.rect.height},V.prototype.setHeight=function(G){this.rect.height=G},V.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},V.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},V.prototype.getCenter=function(){return new z(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},V.prototype.getLocation=function(){return new z(this.rect.x,this.rect.y)},V.prototype.getRect=function(){return this.rect},V.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},V.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},V.prototype.setRect=function(G,J){this.rect.x=G.x,this.rect.y=G.y,this.rect.width=J.width,this.rect.height=J.height},V.prototype.setCenter=function(G,J){this.rect.x=G-this.rect.width/2,this.rect.y=J-this.rect.height/2},V.prototype.setLocation=function(G,J){this.rect.x=G,this.rect.y=J},V.prototype.moveBy=function(G,J){this.rect.x+=G,this.rect.y+=J},V.prototype.getEdgeListToNode=function(G){var J=[],ce=this;return ce.edges.forEach(function(me){if(me.target==G){if(me.source!=ce)throw"Incorrect edge source!";J.push(me)}}),J},V.prototype.getEdgesBetween=function(G){var J=[],ce=this;return ce.edges.forEach(function(me){if(!(me.source==ce||me.target==ce))throw"Incorrect edge source and/or target";(me.target==G||me.source==G)&&J.push(me)}),J},V.prototype.getNeighborsList=function(){var G=new Set,J=this;return J.edges.forEach(function(ce){if(ce.source==J)G.add(ce.target);else{if(ce.target!=J)throw"Incorrect incidency!";G.add(ce.source)}}),G},V.prototype.withChildren=function(){var G=new Set,J,ce;if(G.add(this),this.child!=null)for(var me=this.child.getNodes(),_e=0;_e<me.length;_e++)J=me[_e],ce=J.withChildren(),ce.forEach(function(we){G.add(we)});return G},V.prototype.getNoOfChildren=function(){var G=0,J;if(this.child==null)G=1;else for(var ce=this.child.getNodes(),me=0;me<ce.length;me++)J=ce[me],G+=J.getNoOfChildren();return G==0&&(G=1),G},V.prototype.getEstimatedSize=function(){if(this.estimatedSize==v.MIN_VALUE)throw"assert failed";return this.estimatedSize},V.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},V.prototype.scatter=function(){var G,J,ce=-O.INITIAL_WORLD_BOUNDARY,me=O.INITIAL_WORLD_BOUNDARY;G=O.WORLD_CENTER_X+j.nextDouble()*(me-ce)+ce;var _e=-O.INITIAL_WORLD_BOUNDARY,we=O.INITIAL_WORLD_BOUNDARY;J=O.WORLD_CENTER_Y+j.nextDouble()*(we-_e)+_e,this.rect.x=G,this.rect.y=J},V.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var G=this.getChild();if(G.updateBounds(!0),this.rect.x=G.getLeft(),this.rect.y=G.getTop(),this.setWidth(G.getRight()-G.getLeft()),this.setHeight(G.getBottom()-G.getTop()),O.NODE_DIMENSIONS_INCLUDE_LABELS){var J=G.getRight()-G.getLeft(),ce=G.getBottom()-G.getTop();this.labelWidth>J&&(this.rect.x-=(this.labelWidth-J)/2,this.setWidth(this.labelWidth)),this.labelHeight>ce&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-ce)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-ce),this.setHeight(this.labelHeight))}}},V.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==v.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},V.prototype.transform=function(G){var J=this.rect.x;J>O.WORLD_BOUNDARY?J=O.WORLD_BOUNDARY:J<-O.WORLD_BOUNDARY&&(J=-O.WORLD_BOUNDARY);var ce=this.rect.y;ce>O.WORLD_BOUNDARY?ce=O.WORLD_BOUNDARY:ce<-O.WORLD_BOUNDARY&&(ce=-O.WORLD_BOUNDARY);var me=new z(J,ce),_e=G.inverseTransformPoint(me);this.setLocation(_e.x,_e.y)},V.prototype.getLeft=function(){return this.rect.x},V.prototype.getRight=function(){return this.rect.x+this.rect.width},V.prototype.getTop=function(){return this.rect.y},V.prototype.getBottom=function(){return this.rect.y+this.rect.height},V.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=V},function(f,m,y){function k(v,A){v==null&&A==null?(this.x=0,this.y=0):(this.x=v,this.y=A)}k.prototype.getX=function(){return this.x},k.prototype.getY=function(){return this.y},k.prototype.setX=function(v){this.x=v},k.prototype.setY=function(v){this.y=v},k.prototype.getDifference=function(v){return new DimensionD(this.x-v.x,this.y-v.y)},k.prototype.getCopy=function(){return new k(this.x,this.y)},k.prototype.translate=function(v){return this.x+=v.width,this.y+=v.height,this},f.exports=k},function(f,m,y){var k=y(2),v=y(10),A=y(0),O=y(6),j=y(3),z=y(1),V=y(13),Y=y(12),G=y(11);function J(me,_e,we){k.call(this,we),this.estimatedSize=v.MIN_VALUE,this.margin=A.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=me,_e!=null&&_e instanceof O?this.graphManager=_e:_e!=null&&_e instanceof Layout&&(this.graphManager=_e.graphManager)}J.prototype=Object.create(k.prototype);for(var ce in k)J[ce]=k[ce];J.prototype.getNodes=function(){return this.nodes},J.prototype.getEdges=function(){return this.edges},J.prototype.getGraphManager=function(){return this.graphManager},J.prototype.getParent=function(){return this.parent},J.prototype.getLeft=function(){return this.left},J.prototype.getRight=function(){return this.right},J.prototype.getTop=function(){return this.top},J.prototype.getBottom=function(){return this.bottom},J.prototype.isConnected=function(){return this.isConnected},J.prototype.add=function(me,_e,we){if(_e==null&&we==null){var Se=me;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(Se)>-1)throw"Node already in graph!";return Se.owner=this,this.getNodes().push(Se),Se}else{var Oe=me;if(!(this.getNodes().indexOf(_e)>-1&&this.getNodes().indexOf(we)>-1))throw"Source or target not in graph!";if(!(_e.owner==we.owner&&_e.owner==this))throw"Both owners must be this graph!";return _e.owner!=we.owner?null:(Oe.source=_e,Oe.target=we,Oe.isInterGraph=!1,this.getEdges().push(Oe),_e.edges.push(Oe),we!=_e&&we.edges.push(Oe),Oe)}},J.prototype.remove=function(me){var _e=me;if(me instanceof j){if(_e==null)throw"Node is null!";if(!(_e.owner!=null&&_e.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var we=_e.edges.slice(),Se,Oe=we.length,De=0;De<Oe;De++)Se=we[De],Se.isInterGraph?this.graphManager.remove(Se):Se.source.owner.remove(Se);var Ve=this.nodes.indexOf(_e);if(Ve==-1)throw"Node not in owner node list!";this.nodes.splice(Ve,1)}else if(me instanceof z){var Se=me;if(Se==null)throw"Edge is null!";if(!(Se.source!=null&&Se.target!=null))throw"Source and/or target is null!";if(!(Se.source.owner!=null&&Se.target.owner!=null&&Se.source.owner==this&&Se.target.owner==this))throw"Source and/or target owner is invalid!";var ke=Se.source.edges.indexOf(Se),Ie=Se.target.edges.indexOf(Se);if(!(ke>-1&&Ie>-1))throw"Source and/or target doesn't know this edge!";Se.source.edges.splice(ke,1),Se.target!=Se.source&&Se.target.edges.splice(Ie,1);var Ve=Se.source.owner.getEdges().indexOf(Se);if(Ve==-1)throw"Not in owner's edge list!";Se.source.owner.getEdges().splice(Ve,1)}},J.prototype.updateLeftTop=function(){for(var me=v.MAX_VALUE,_e=v.MAX_VALUE,we,Se,Oe,De=this.getNodes(),Ve=De.length,ke=0;ke<Ve;ke++){var Ie=De[ke];we=Ie.getTop(),Se=Ie.getLeft(),me>we&&(me=we),_e>Se&&(_e=Se)}return me==v.MAX_VALUE?null:(De[0].getParent().paddingLeft!=null?Oe=De[0].getParent().paddingLeft:Oe=this.margin,this.left=_e-Oe,this.top=me-Oe,new Y(this.left,this.top))},J.prototype.updateBounds=function(me){for(var _e=v.MAX_VALUE,we=-v.MAX_VALUE,Se=v.MAX_VALUE,Oe=-v.MAX_VALUE,De,Ve,ke,Ie,ge,Me=this.nodes,Ne=Me.length,xe=0;xe<Ne;xe++){var qe=Me[xe];me&&qe.child!=null&&qe.updateBounds(),De=qe.getLeft(),Ve=qe.getRight(),ke=qe.getTop(),Ie=qe.getBottom(),_e>De&&(_e=De),we<Ve&&(we=Ve),Se>ke&&(Se=ke),Oe<Ie&&(Oe=Ie)}var ae=new V(_e,Se,we-_e,Oe-Se);_e==v.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),Me[0].getParent().paddingLeft!=null?ge=Me[0].getParent().paddingLeft:ge=this.margin,this.left=ae.x-ge,this.right=ae.x+ae.width+ge,this.top=ae.y-ge,this.bottom=ae.y+ae.height+ge},J.calculateBounds=function(me){for(var _e=v.MAX_VALUE,we=-v.MAX_VALUE,Se=v.MAX_VALUE,Oe=-v.MAX_VALUE,De,Ve,ke,Ie,ge=me.length,Me=0;Me<ge;Me++){var Ne=me[Me];De=Ne.getLeft(),Ve=Ne.getRight(),ke=Ne.getTop(),Ie=Ne.getBottom(),_e>De&&(_e=De),we<Ve&&(we=Ve),Se>ke&&(Se=ke),Oe<Ie&&(Oe=Ie)}var xe=new V(_e,Se,we-_e,Oe-Se);return xe},J.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},J.prototype.getEstimatedSize=function(){if(this.estimatedSize==v.MIN_VALUE)throw"assert failed";return this.estimatedSize},J.prototype.calcEstimatedSize=function(){for(var me=0,_e=this.nodes,we=_e.length,Se=0;Se<we;Se++){var Oe=_e[Se];me+=Oe.calcEstimatedSize()}return me==0?this.estimatedSize=A.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=me/Math.sqrt(this.nodes.length),this.estimatedSize},J.prototype.updateConnected=function(){var me=this;if(this.nodes.length==0){this.isConnected=!0;return}var _e=new G,we=new Set,Se=this.nodes[0],Oe,De,Ve=Se.withChildren();for(Ve.forEach(function(xe){_e.push(xe),we.add(xe)});_e.length!==0;){Se=_e.shift(),Oe=Se.getEdges();for(var ke=Oe.length,Ie=0;Ie<ke;Ie++){var ge=Oe[Ie];if(De=ge.getOtherEndInGraph(Se,this),De!=null&&!we.has(De)){var Me=De.withChildren();Me.forEach(function(xe){_e.push(xe),we.add(xe)})}}}if(this.isConnected=!1,we.size>=this.nodes.length){var Ne=0;we.forEach(function(xe){xe.owner==me&&Ne++}),Ne==this.nodes.length&&(this.isConnected=!0)}},f.exports=J},function(f,m,y){var k,v=y(1);function A(O){k=y(5),this.layout=O,this.graphs=[],this.edges=[]}A.prototype.addRoot=function(){var O=this.layout.newGraph(),j=this.layout.newNode(null),z=this.add(O,j);return this.setRootGraph(z),this.rootGraph},A.prototype.add=function(O,j,z,V,Y){if(z==null&&V==null&&Y==null){if(O==null)throw"Graph is null!";if(j==null)throw"Parent node is null!";if(this.graphs.indexOf(O)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(O),O.parent!=null)throw"Already has a parent!";if(j.child!=null)throw"Already has a child!";return O.parent=j,j.child=O,O}else{Y=z,V=j,z=O;var G=V.getOwner(),J=Y.getOwner();if(!(G!=null&&G.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(J!=null&&J.getGraphManager()==this))throw"Target not in this graph mgr!";if(G==J)return z.isInterGraph=!1,G.add(z,V,Y);if(z.isInterGraph=!0,z.source=V,z.target=Y,this.edges.indexOf(z)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(z),!(z.source!=null&&z.target!=null))throw"Edge source and/or target is null!";if(!(z.source.edges.indexOf(z)==-1&&z.target.edges.indexOf(z)==-1))throw"Edge already in source and/or target incidency list!";return z.source.edges.push(z),z.target.edges.push(z),z}},A.prototype.remove=function(O){if(O instanceof k){var j=O;if(j.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(j==this.rootGraph||j.parent!=null&&j.parent.graphManager==this))throw"Invalid parent node!";var z=[];z=z.concat(j.getEdges());for(var V,Y=z.length,G=0;G<Y;G++)V=z[G],j.remove(V);var J=[];J=J.concat(j.getNodes());var ce;Y=J.length;for(var G=0;G<Y;G++)ce=J[G],j.remove(ce);j==this.rootGraph&&this.setRootGraph(null);var me=this.graphs.indexOf(j);this.graphs.splice(me,1),j.parent=null}else if(O instanceof v){if(V=O,V==null)throw"Edge is null!";if(!V.isInterGraph)throw"Not an inter-graph edge!";if(!(V.source!=null&&V.target!=null))throw"Source and/or target is null!";if(!(V.source.edges.indexOf(V)!=-1&&V.target.edges.indexOf(V)!=-1))throw"Source and/or target doesn't know this edge!";var me=V.source.edges.indexOf(V);if(V.source.edges.splice(me,1),me=V.target.edges.indexOf(V),V.target.edges.splice(me,1),!(V.source.owner!=null&&V.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(V.source.owner.getGraphManager().edges.indexOf(V)==-1)throw"Not in owner graph manager's edge list!";var me=V.source.owner.getGraphManager().edges.indexOf(V);V.source.owner.getGraphManager().edges.splice(me,1)}},A.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},A.prototype.getGraphs=function(){return this.graphs},A.prototype.getAllNodes=function(){if(this.allNodes==null){for(var O=[],j=this.getGraphs(),z=j.length,V=0;V<z;V++)O=O.concat(j[V].getNodes());this.allNodes=O}return this.allNodes},A.prototype.resetAllNodes=function(){this.allNodes=null},A.prototype.resetAllEdges=function(){this.allEdges=null},A.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},A.prototype.getAllEdges=function(){if(this.allEdges==null){var O=[],j=this.getGraphs();j.length;for(var z=0;z<j.length;z++)O=O.concat(j[z].getEdges());O=O.concat(this.edges),this.allEdges=O}return this.allEdges},A.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},A.prototype.setAllNodesToApplyGravitation=function(O){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=O},A.prototype.getRoot=function(){return this.rootGraph},A.prototype.setRootGraph=function(O){if(O.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=O,O.parent==null&&(O.parent=this.layout.newNode("Root node"))},A.prototype.getLayout=function(){return this.layout},A.prototype.isOneAncestorOfOther=function(O,j){if(!(O!=null&&j!=null))throw"assert failed";if(O==j)return!0;var z=O.getOwner(),V;do{if(V=z.getParent(),V==null)break;if(V==j)return!0;if(z=V.getOwner(),z==null)break}while(!0);z=j.getOwner();do{if(V=z.getParent(),V==null)break;if(V==O)return!0;if(z=V.getOwner(),z==null)break}while(!0);return!1},A.prototype.calcLowestCommonAncestors=function(){for(var O,j,z,V,Y,G=this.getAllEdges(),J=G.length,ce=0;ce<J;ce++){if(O=G[ce],j=O.source,z=O.target,O.lca=null,O.sourceInLca=j,O.targetInLca=z,j==z){O.lca=j.getOwner();continue}for(V=j.getOwner();O.lca==null;){for(O.targetInLca=z,Y=z.getOwner();O.lca==null;){if(Y==V){O.lca=Y;break}if(Y==this.rootGraph)break;if(O.lca!=null)throw"assert failed";O.targetInLca=Y.getParent(),Y=O.targetInLca.getOwner()}if(V==this.rootGraph)break;O.lca==null&&(O.sourceInLca=V.getParent(),V=O.sourceInLca.getOwner())}if(O.lca==null)throw"assert failed"}},A.prototype.calcLowestCommonAncestor=function(O,j){if(O==j)return O.getOwner();var z=O.getOwner();do{if(z==null)break;var V=j.getOwner();do{if(V==null)break;if(V==z)return V;V=V.getParent().getOwner()}while(!0);z=z.getParent().getOwner()}while(!0);return z},A.prototype.calcInclusionTreeDepths=function(O,j){O==null&&j==null&&(O=this.rootGraph,j=1);for(var z,V=O.getNodes(),Y=V.length,G=0;G<Y;G++)z=V[G],z.inclusionTreeDepth=j,z.child!=null&&this.calcInclusionTreeDepths(z.child,j+1)},A.prototype.includesInvalidEdge=function(){for(var O,j=this.edges.length,z=0;z<j;z++)if(O=this.edges[z],this.isOneAncestorOfOther(O.source,O.target))return!0;return!1},f.exports=A},function(f,m,y){var k=y(0);function v(){}for(var A in k)v[A]=k[A];v.MAX_ITERATIONS=2500,v.DEFAULT_EDGE_LENGTH=50,v.DEFAULT_SPRING_STRENGTH=.45,v.DEFAULT_REPULSION_STRENGTH=4500,v.DEFAULT_GRAVITY_STRENGTH=.4,v.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,v.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,v.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,v.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,v.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,v.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,v.COOLING_ADAPTATION_FACTOR=.33,v.ADAPTATION_LOWER_NODE_LIMIT=1e3,v.ADAPTATION_UPPER_NODE_LIMIT=5e3,v.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,v.MAX_NODE_DISPLACEMENT=v.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,v.MIN_REPULSION_DIST=v.DEFAULT_EDGE_LENGTH/10,v.CONVERGENCE_CHECK_PERIOD=100,v.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,v.MIN_EDGE_LENGTH=1,v.GRID_CALCULATION_CHECK_PERIOD=10,f.exports=v},function(f,m,y){var k=y(12);function v(){}v.calcSeparationAmount=function(A,O,j,z){if(!A.intersects(O))throw"assert failed";var V=new Array(2);this.decideDirectionsForOverlappingNodes(A,O,V),j[0]=Math.min(A.getRight(),O.getRight())-Math.max(A.x,O.x),j[1]=Math.min(A.getBottom(),O.getBottom())-Math.max(A.y,O.y),A.getX()<=O.getX()&&A.getRight()>=O.getRight()?j[0]+=Math.min(O.getX()-A.getX(),A.getRight()-O.getRight()):O.getX()<=A.getX()&&O.getRight()>=A.getRight()&&(j[0]+=Math.min(A.getX()-O.getX(),O.getRight()-A.getRight())),A.getY()<=O.getY()&&A.getBottom()>=O.getBottom()?j[1]+=Math.min(O.getY()-A.getY(),A.getBottom()-O.getBottom()):O.getY()<=A.getY()&&O.getBottom()>=A.getBottom()&&(j[1]+=Math.min(A.getY()-O.getY(),O.getBottom()-A.getBottom()));var Y=Math.abs((O.getCenterY()-A.getCenterY())/(O.getCenterX()-A.getCenterX()));O.getCenterY()===A.getCenterY()&&O.getCenterX()===A.getCenterX()&&(Y=1);var G=Y*j[0],J=j[1]/Y;j[0]<J?J=j[0]:G=j[1],j[0]=-1*V[0]*(J/2+z),j[1]=-1*V[1]*(G/2+z)},v.decideDirectionsForOverlappingNodes=function(A,O,j){A.getCenterX()<O.getCenterX()?j[0]=-1:j[0]=1,A.getCenterY()<O.getCenterY()?j[1]=-1:j[1]=1},v.getIntersection2=function(A,O,j){var z=A.getCenterX(),V=A.getCenterY(),Y=O.getCenterX(),G=O.getCenterY();if(A.intersects(O))return j[0]=z,j[1]=V,j[2]=Y,j[3]=G,!0;var J=A.getX(),ce=A.getY(),me=A.getRight(),_e=A.getX(),we=A.getBottom(),Se=A.getRight(),Oe=A.getWidthHalf(),De=A.getHeightHalf(),Ve=O.getX(),ke=O.getY(),Ie=O.getRight(),ge=O.getX(),Me=O.getBottom(),Ne=O.getRight(),xe=O.getWidthHalf(),qe=O.getHeightHalf(),ae=!1,Qe=!1;if(z===Y){if(V>G)return j[0]=z,j[1]=ce,j[2]=Y,j[3]=Me,!1;if(V<G)return j[0]=z,j[1]=we,j[2]=Y,j[3]=ke,!1}else if(V===G){if(z>Y)return j[0]=J,j[1]=V,j[2]=Ie,j[3]=G,!1;if(z<Y)return j[0]=me,j[1]=V,j[2]=Ve,j[3]=G,!1}else{var Ce=A.height/A.width,nt=O.height/O.width,Ee=(G-V)/(Y-z),kt=void 0,Ot=void 0,Vt=void 0,Rt=void 0,Gt=void 0,_n=void 0;if(-Ce===Ee?z>Y?(j[0]=_e,j[1]=we,ae=!0):(j[0]=me,j[1]=ce,ae=!0):Ce===Ee&&(z>Y?(j[0]=J,j[1]=ce,ae=!0):(j[0]=Se,j[1]=we,ae=!0)),-nt===Ee?Y>z?(j[2]=ge,j[3]=Me,Qe=!0):(j[2]=Ie,j[3]=ke,Qe=!0):nt===Ee&&(Y>z?(j[2]=Ve,j[3]=ke,Qe=!0):(j[2]=Ne,j[3]=Me,Qe=!0)),ae&&Qe)return!1;if(z>Y?V>G?(kt=this.getCardinalDirection(Ce,Ee,4),Ot=this.getCardinalDirection(nt,Ee,2)):(kt=this.getCardinalDirection(-Ce,Ee,3),Ot=this.getCardinalDirection(-nt,Ee,1)):V>G?(kt=this.getCardinalDirection(-Ce,Ee,1),Ot=this.getCardinalDirection(-nt,Ee,3)):(kt=this.getCardinalDirection(Ce,Ee,2),Ot=this.getCardinalDirection(nt,Ee,4)),!ae)switch(kt){case 1:Rt=ce,Vt=z+-De/Ee,j[0]=Vt,j[1]=Rt;break;case 2:Vt=Se,Rt=V+Oe*Ee,j[0]=Vt,j[1]=Rt;break;case 3:Rt=we,Vt=z+De/Ee,j[0]=Vt,j[1]=Rt;break;case 4:Vt=_e,Rt=V+-Oe*Ee,j[0]=Vt,j[1]=Rt;break}if(!Qe)switch(Ot){case 1:_n=ke,Gt=Y+-qe/Ee,j[2]=Gt,j[3]=_n;break;case 2:Gt=Ne,_n=G+xe*Ee,j[2]=Gt,j[3]=_n;break;case 3:_n=Me,Gt=Y+qe/Ee,j[2]=Gt,j[3]=_n;break;case 4:Gt=ge,_n=G+-xe*Ee,j[2]=Gt,j[3]=_n;break}}return!1},v.getCardinalDirection=function(A,O,j){return A>O?j:1+j%4},v.getIntersection=function(A,O,j,z){if(z==null)return this.getIntersection2(A,O,j);var V=A.x,Y=A.y,G=O.x,J=O.y,ce=j.x,me=j.y,_e=z.x,we=z.y,Se=void 0,Oe=void 0,De=void 0,Ve=void 0,ke=void 0,Ie=void 0,ge=void 0,Me=void 0,Ne=void 0;return De=J-Y,ke=V-G,ge=G*Y-V*J,Ve=we-me,Ie=ce-_e,Me=_e*me-ce*we,Ne=De*Ie-Ve*ke,Ne===0?null:(Se=(ke*Me-Ie*ge)/Ne,Oe=(Ve*ge-De*Me)/Ne,new k(Se,Oe))},v.angleOfVector=function(A,O,j,z){var V=void 0;return A!==j?(V=Math.atan((z-O)/(j-A)),j<A?V+=Math.PI:z<O&&(V+=this.TWO_PI)):z<O?V=this.ONE_AND_HALF_PI:V=this.HALF_PI,V},v.doIntersect=function(A,O,j,z){var V=A.x,Y=A.y,G=O.x,J=O.y,ce=j.x,me=j.y,_e=z.x,we=z.y,Se=(G-V)*(we-me)-(_e-ce)*(J-Y);if(Se===0)return!1;var Oe=((we-me)*(_e-V)+(ce-_e)*(we-Y))/Se,De=((Y-J)*(_e-V)+(G-V)*(we-Y))/Se;return 0<Oe&&Oe<1&&0<De&&De<1},v.HALF_PI=.5*Math.PI,v.ONE_AND_HALF_PI=1.5*Math.PI,v.TWO_PI=2*Math.PI,v.THREE_PI=3*Math.PI,f.exports=v},function(f,m,y){function k(){}k.sign=function(v){return v>0?1:v<0?-1:0},k.floor=function(v){return v<0?Math.ceil(v):Math.floor(v)},k.ceil=function(v){return v<0?Math.floor(v):Math.ceil(v)},f.exports=k},function(f,m,y){function k(){}k.MAX_VALUE=2147483647,k.MIN_VALUE=-2147483648,f.exports=k},function(f,m,y){var k=function(){function V(Y,G){for(var J=0;J<G.length;J++){var ce=G[J];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,"value"in ce&&(ce.writable=!0),Object.defineProperty(Y,ce.key,ce)}}return function(Y,G,J){return G&&V(Y.prototype,G),J&&V(Y,J),Y}}();function v(V,Y){if(!(V instanceof Y))throw new TypeError("Cannot call a class as a function")}var A=function(Y){return{value:Y,next:null,prev:null}},O=function(Y,G,J,ce){return Y!==null?Y.next=G:ce.head=G,J!==null?J.prev=G:ce.tail=G,G.prev=Y,G.next=J,ce.length++,G},j=function(Y,G){var J=Y.prev,ce=Y.next;return J!==null?J.next=ce:G.head=ce,ce!==null?ce.prev=J:G.tail=J,Y.prev=Y.next=null,G.length--,Y},z=function(){function V(Y){var G=this;v(this,V),this.length=0,this.head=null,this.tail=null,Y!=null&&Y.forEach(function(J){return G.push(J)})}return k(V,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(G,J){return O(J.prev,A(G),J,this)}},{key:"insertAfter",value:function(G,J){return O(J,A(G),J.next,this)}},{key:"insertNodeBefore",value:function(G,J){return O(J.prev,G,J,this)}},{key:"insertNodeAfter",value:function(G,J){return O(J,G,J.next,this)}},{key:"push",value:function(G){return O(this.tail,A(G),null,this)}},{key:"unshift",value:function(G){return O(null,A(G),this.head,this)}},{key:"remove",value:function(G){return j(G,this)}},{key:"pop",value:function(){return j(this.tail,this).value}},{key:"popNode",value:function(){return j(this.tail,this)}},{key:"shift",value:function(){return j(this.head,this).value}},{key:"shiftNode",value:function(){return j(this.head,this)}},{key:"get_object_at",value:function(G){if(G<=this.length()){for(var J=1,ce=this.head;J<G;)ce=ce.next,J++;return ce.value}}},{key:"set_object_at",value:function(G,J){if(G<=this.length()){for(var ce=1,me=this.head;ce<G;)me=me.next,ce++;me.value=J}}}]),V}();f.exports=z},function(f,m,y){function k(v,A,O){this.x=null,this.y=null,v==null&&A==null&&O==null?(this.x=0,this.y=0):typeof v=="number"&&typeof A=="number"&&O==null?(this.x=v,this.y=A):v.constructor.name=="Point"&&A==null&&O==null&&(O=v,this.x=O.x,this.y=O.y)}k.prototype.getX=function(){return this.x},k.prototype.getY=function(){return this.y},k.prototype.getLocation=function(){return new k(this.x,this.y)},k.prototype.setLocation=function(v,A,O){v.constructor.name=="Point"&&A==null&&O==null?(O=v,this.setLocation(O.x,O.y)):typeof v=="number"&&typeof A=="number"&&O==null&&(parseInt(v)==v&&parseInt(A)==A?this.move(v,A):(this.x=Math.floor(v+.5),this.y=Math.floor(A+.5)))},k.prototype.move=function(v,A){this.x=v,this.y=A},k.prototype.translate=function(v,A){this.x+=v,this.y+=A},k.prototype.equals=function(v){if(v.constructor.name=="Point"){var A=v;return this.x==A.x&&this.y==A.y}return this==v},k.prototype.toString=function(){return new k().constructor.name+"[x="+this.x+",y="+this.y+"]"},f.exports=k},function(f,m,y){function k(v,A,O,j){this.x=0,this.y=0,this.width=0,this.height=0,v!=null&&A!=null&&O!=null&&j!=null&&(this.x=v,this.y=A,this.width=O,this.height=j)}k.prototype.getX=function(){return this.x},k.prototype.setX=function(v){this.x=v},k.prototype.getY=function(){return this.y},k.prototype.setY=function(v){this.y=v},k.prototype.getWidth=function(){return this.width},k.prototype.setWidth=function(v){this.width=v},k.prototype.getHeight=function(){return this.height},k.prototype.setHeight=function(v){this.height=v},k.prototype.getRight=function(){return this.x+this.width},k.prototype.getBottom=function(){return this.y+this.height},k.prototype.intersects=function(v){return!(this.getRight()<v.x||this.getBottom()<v.y||v.getRight()<this.x||v.getBottom()<this.y)},k.prototype.getCenterX=function(){return this.x+this.width/2},k.prototype.getMinX=function(){return this.getX()},k.prototype.getMaxX=function(){return this.getX()+this.width},k.prototype.getCenterY=function(){return this.y+this.height/2},k.prototype.getMinY=function(){return this.getY()},k.prototype.getMaxY=function(){return this.getY()+this.height},k.prototype.getWidthHalf=function(){return this.width/2},k.prototype.getHeightHalf=function(){return this.height/2},f.exports=k},function(f,m,y){var k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A};function v(){}v.lastID=0,v.createID=function(A){return v.isPrimitive(A)?A:(A.uniqueID!=null||(A.uniqueID=v.getString(),v.lastID++),A.uniqueID)},v.getString=function(A){return A==null&&(A=v.lastID),"Object#"+A},v.isPrimitive=function(A){var O=typeof A>"u"?"undefined":k(A);return A==null||O!="object"&&O!="function"},f.exports=v},function(f,m,y){function k(ce){if(Array.isArray(ce)){for(var me=0,_e=Array(ce.length);me<ce.length;me++)_e[me]=ce[me];return _e}else return Array.from(ce)}var v=y(0),A=y(6),O=y(3),j=y(1),z=y(5),V=y(4),Y=y(17),G=y(27);function J(ce){G.call(this),this.layoutQuality=v.QUALITY,this.createBendsAsNeeded=v.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=v.DEFAULT_INCREMENTAL,this.animationOnLayout=v.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=v.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=v.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=v.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new A(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,ce!=null&&(this.isRemoteUse=ce)}J.RANDOM_SEED=1,J.prototype=Object.create(G.prototype),J.prototype.getGraphManager=function(){return this.graphManager},J.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},J.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},J.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},J.prototype.newGraphManager=function(){var ce=new A(this);return this.graphManager=ce,ce},J.prototype.newGraph=function(ce){return new z(null,this.graphManager,ce)},J.prototype.newNode=function(ce){return new O(this.graphManager,ce)},J.prototype.newEdge=function(ce){return new j(null,null,ce)},J.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},J.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var ce;return this.checkLayoutSuccess()?ce=!1:ce=this.layout(),v.ANIMATE==="during"?!1:(ce&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,ce)},J.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},J.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var ce=this.graphManager.getAllEdges(),me=0;me<ce.length;me++)ce[me];for(var _e=this.graphManager.getRoot().getNodes(),me=0;me<_e.length;me++)_e[me];this.update(this.graphManager.getRoot())}},J.prototype.update=function(ce){if(ce==null)this.update2();else if(ce instanceof O){var me=ce;if(me.getChild()!=null)for(var _e=me.getChild().getNodes(),we=0;we<_e.length;we++)update(_e[we]);if(me.vGraphObject!=null){var Se=me.vGraphObject;Se.update(me)}}else if(ce instanceof j){var Oe=ce;if(Oe.vGraphObject!=null){var De=Oe.vGraphObject;De.update(Oe)}}else if(ce instanceof z){var Ve=ce;if(Ve.vGraphObject!=null){var ke=Ve.vGraphObject;ke.update(Ve)}}},J.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=v.QUALITY,this.animationDuringLayout=v.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=v.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=v.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=v.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=v.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=v.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},J.prototype.transform=function(ce){if(ce==null)this.transform(new V(0,0));else{var me=new Y,_e=this.graphManager.getRoot().updateLeftTop();if(_e!=null){me.setWorldOrgX(ce.x),me.setWorldOrgY(ce.y),me.setDeviceOrgX(_e.x),me.setDeviceOrgY(_e.y);for(var we=this.getAllNodes(),Se,Oe=0;Oe<we.length;Oe++)Se=we[Oe],Se.transform(me)}}},J.prototype.positionNodesRandomly=function(ce){if(ce==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var me,_e,we=ce.getNodes(),Se=0;Se<we.length;Se++)me=we[Se],_e=me.getChild(),_e==null||_e.getNodes().length==0?me.scatter():(this.positionNodesRandomly(_e),me.updateBounds())},J.prototype.getFlatForest=function(){for(var ce=[],me=!0,_e=this.graphManager.getRoot().getNodes(),we=!0,Se=0;Se<_e.length;Se++)_e[Se].getChild()!=null&&(we=!1);if(!we)return ce;var Oe=new Set,De=[],Ve=new Map,ke=[];for(ke=ke.concat(_e);ke.length>0&&me;){for(De.push(ke[0]);De.length>0&&me;){var Ie=De[0];De.splice(0,1),Oe.add(Ie);for(var ge=Ie.getEdges(),Se=0;Se<ge.length;Se++){var Me=ge[Se].getOtherEnd(Ie);if(Ve.get(Ie)!=Me)if(!Oe.has(Me))De.push(Me),Ve.set(Me,Ie);else{me=!1;break}}}if(!me)ce=[];else{var Ne=[].concat(k(Oe));ce.push(Ne);for(var Se=0;Se<Ne.length;Se++){var xe=Ne[Se],qe=ke.indexOf(xe);qe>-1&&ke.splice(qe,1)}Oe=new Set,Ve=new Map}}return ce},J.prototype.createDummyNodesForBendpoints=function(ce){for(var me=[],_e=ce.source,we=this.graphManager.calcLowestCommonAncestor(ce.source,ce.target),Se=0;Se<ce.bendpoints.length;Se++){var Oe=this.newNode(null);Oe.setRect(new Point(0,0),new Dimension(1,1)),we.add(Oe);var De=this.newEdge(null);this.graphManager.add(De,_e,Oe),me.add(Oe),_e=Oe}var De=this.newEdge(null);return this.graphManager.add(De,_e,ce.target),this.edgeToDummyNodes.set(ce,me),ce.isInterGraph()?this.graphManager.remove(ce):we.remove(ce),me},J.prototype.createBendpointsFromDummyNodes=function(){var ce=[];ce=ce.concat(this.graphManager.getAllEdges()),ce=[].concat(k(this.edgeToDummyNodes.keys())).concat(ce);for(var me=0;me<ce.length;me++){var _e=ce[me];if(_e.bendpoints.length>0){for(var we=this.edgeToDummyNodes.get(_e),Se=0;Se<we.length;Se++){var Oe=we[Se],De=new V(Oe.getCenterX(),Oe.getCenterY()),Ve=_e.bendpoints.get(Se);Ve.x=De.x,Ve.y=De.y,Oe.getOwner().remove(Oe)}this.graphManager.add(_e,_e.source,_e.target)}}},J.transform=function(ce,me,_e,we){if(_e!=null&&we!=null){var Se=me;if(ce<=50){var Oe=me/_e;Se-=(me-Oe)/50*(50-ce)}else{var De=me*we;Se+=(De-me)/50*(ce-50)}return Se}else{var Ve,ke;return ce<=50?(Ve=9*me/500,ke=me/10):(Ve=9*me/50,ke=-8*me),Ve*ce+ke}},J.findCenterOfTree=function(ce){var me=[];me=me.concat(ce);var _e=[],we=new Map,Se=!1,Oe=null;(me.length==1||me.length==2)&&(Se=!0,Oe=me[0]);for(var De=0;De<me.length;De++){var Ve=me[De],ke=Ve.getNeighborsList().size;we.set(Ve,Ve.getNeighborsList().size),ke==1&&_e.push(Ve)}var Ie=[];for(Ie=Ie.concat(_e);!Se;){var ge=[];ge=ge.concat(Ie),Ie=[];for(var De=0;De<me.length;De++){var Ve=me[De],Me=me.indexOf(Ve);Me>=0&&me.splice(Me,1);var Ne=Ve.getNeighborsList();Ne.forEach(function(ae){if(_e.indexOf(ae)<0){var Qe=we.get(ae),Ce=Qe-1;Ce==1&&Ie.push(ae),we.set(ae,Ce)}})}_e=_e.concat(Ie),(me.length==1||me.length==2)&&(Se=!0,Oe=me[0])}return Oe},J.prototype.setGraphManager=function(ce){this.graphManager=ce},f.exports=J},function(f,m,y){function k(){}k.seed=1,k.x=0,k.nextDouble=function(){return k.x=Math.sin(k.seed++)*1e4,k.x-Math.floor(k.x)},f.exports=k},function(f,m,y){var k=y(4);function v(A,O){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}v.prototype.getWorldOrgX=function(){return this.lworldOrgX},v.prototype.setWorldOrgX=function(A){this.lworldOrgX=A},v.prototype.getWorldOrgY=function(){return this.lworldOrgY},v.prototype.setWorldOrgY=function(A){this.lworldOrgY=A},v.prototype.getWorldExtX=function(){return this.lworldExtX},v.prototype.setWorldExtX=function(A){this.lworldExtX=A},v.prototype.getWorldExtY=function(){return this.lworldExtY},v.prototype.setWorldExtY=function(A){this.lworldExtY=A},v.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},v.prototype.setDeviceOrgX=function(A){this.ldeviceOrgX=A},v.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},v.prototype.setDeviceOrgY=function(A){this.ldeviceOrgY=A},v.prototype.getDeviceExtX=function(){return this.ldeviceExtX},v.prototype.setDeviceExtX=function(A){this.ldeviceExtX=A},v.prototype.getDeviceExtY=function(){return this.ldeviceExtY},v.prototype.setDeviceExtY=function(A){this.ldeviceExtY=A},v.prototype.transformX=function(A){var O=0,j=this.lworldExtX;return j!=0&&(O=this.ldeviceOrgX+(A-this.lworldOrgX)*this.ldeviceExtX/j),O},v.prototype.transformY=function(A){var O=0,j=this.lworldExtY;return j!=0&&(O=this.ldeviceOrgY+(A-this.lworldOrgY)*this.ldeviceExtY/j),O},v.prototype.inverseTransformX=function(A){var O=0,j=this.ldeviceExtX;return j!=0&&(O=this.lworldOrgX+(A-this.ldeviceOrgX)*this.lworldExtX/j),O},v.prototype.inverseTransformY=function(A){var O=0,j=this.ldeviceExtY;return j!=0&&(O=this.lworldOrgY+(A-this.ldeviceOrgY)*this.lworldExtY/j),O},v.prototype.inverseTransformPoint=function(A){var O=new k(this.inverseTransformX(A.x),this.inverseTransformY(A.y));return O},f.exports=v},function(f,m,y){function k(G){if(Array.isArray(G)){for(var J=0,ce=Array(G.length);J<G.length;J++)ce[J]=G[J];return ce}else return Array.from(G)}var v=y(15),A=y(7),O=y(0),j=y(8),z=y(9);function V(){v.call(this),this.useSmartIdealEdgeLengthCalculation=A.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=A.DEFAULT_EDGE_LENGTH,this.springConstant=A.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=A.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=A.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=A.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=A.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=A.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*A.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=A.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=A.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=A.MAX_ITERATIONS}V.prototype=Object.create(v.prototype);for(var Y in v)V[Y]=v[Y];V.prototype.initParameters=function(){v.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=A.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},V.prototype.calcIdealEdgeLengths=function(){for(var G,J,ce,me,_e,we,Se=this.getGraphManager().getAllEdges(),Oe=0;Oe<Se.length;Oe++)G=Se[Oe],G.idealLength=this.idealEdgeLength,G.isInterGraph&&(ce=G.getSource(),me=G.getTarget(),_e=G.getSourceInLca().getEstimatedSize(),we=G.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(G.idealLength+=_e+we-2*O.SIMPLE_NODE_SIZE),J=G.getLca().getInclusionTreeDepth(),G.idealLength+=A.DEFAULT_EDGE_LENGTH*A.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(ce.getInclusionTreeDepth()+me.getInclusionTreeDepth()-2*J))},V.prototype.initSpringEmbedder=function(){var G=this.getAllNodes().length;this.incremental?(G>A.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*A.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(G-A.ADAPTATION_LOWER_NODE_LIMIT)/(A.ADAPTATION_UPPER_NODE_LIMIT-A.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-A.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=A.MAX_NODE_DISPLACEMENT_INCREMENTAL):(G>A.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(A.COOLING_ADAPTATION_FACTOR,1-(G-A.ADAPTATION_LOWER_NODE_LIMIT)/(A.ADAPTATION_UPPER_NODE_LIMIT-A.ADAPTATION_LOWER_NODE_LIMIT)*(1-A.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=A.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},V.prototype.calcSpringForces=function(){for(var G=this.getAllEdges(),J,ce=0;ce<G.length;ce++)J=G[ce],this.calcSpringForce(J,J.idealLength)},V.prototype.calcRepulsionForces=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ce,me,_e,we,Se=this.getAllNodes(),Oe;if(this.useFRGridVariant)for(this.totalIterations%A.GRID_CALCULATION_CHECK_PERIOD==1&&G&&this.updateGrid(),Oe=new Set,ce=0;ce<Se.length;ce++)_e=Se[ce],this.calculateRepulsionForceOfANode(_e,Oe,G,J),Oe.add(_e);else for(ce=0;ce<Se.length;ce++)for(_e=Se[ce],me=ce+1;me<Se.length;me++)we=Se[me],_e.getOwner()==we.getOwner()&&this.calcRepulsionForce(_e,we)},V.prototype.calcGravitationalForces=function(){for(var G,J=this.getAllNodesToApplyGravitation(),ce=0;ce<J.length;ce++)G=J[ce],this.calcGravitationalForce(G)},V.prototype.moveNodes=function(){for(var G=this.getAllNodes(),J,ce=0;ce<G.length;ce++)J=G[ce],J.move()},V.prototype.calcSpringForce=function(G,J){var ce=G.getSource(),me=G.getTarget(),_e,we,Se,Oe;if(this.uniformLeafNodeSizes&&ce.getChild()==null&&me.getChild()==null)G.updateLengthSimple();else if(G.updateLength(),G.isOverlapingSourceAndTarget)return;_e=G.getLength(),_e!=0&&(we=this.springConstant*(_e-J),Se=we*(G.lengthX/_e),Oe=we*(G.lengthY/_e),ce.springForceX+=Se,ce.springForceY+=Oe,me.springForceX-=Se,me.springForceY-=Oe)},V.prototype.calcRepulsionForce=function(G,J){var ce=G.getRect(),me=J.getRect(),_e=new Array(2),we=new Array(4),Se,Oe,De,Ve,ke,Ie,ge;if(ce.intersects(me)){j.calcSeparationAmount(ce,me,_e,A.DEFAULT_EDGE_LENGTH/2),Ie=2*_e[0],ge=2*_e[1];var Me=G.noOfChildren*J.noOfChildren/(G.noOfChildren+J.noOfChildren);G.repulsionForceX-=Me*Ie,G.repulsionForceY-=Me*ge,J.repulsionForceX+=Me*Ie,J.repulsionForceY+=Me*ge}else this.uniformLeafNodeSizes&&G.getChild()==null&&J.getChild()==null?(Se=me.getCenterX()-ce.getCenterX(),Oe=me.getCenterY()-ce.getCenterY()):(j.getIntersection(ce,me,we),Se=we[2]-we[0],Oe=we[3]-we[1]),Math.abs(Se)<A.MIN_REPULSION_DIST&&(Se=z.sign(Se)*A.MIN_REPULSION_DIST),Math.abs(Oe)<A.MIN_REPULSION_DIST&&(Oe=z.sign(Oe)*A.MIN_REPULSION_DIST),De=Se*Se+Oe*Oe,Ve=Math.sqrt(De),ke=this.repulsionConstant*G.noOfChildren*J.noOfChildren/De,Ie=ke*Se/Ve,ge=ke*Oe/Ve,G.repulsionForceX-=Ie,G.repulsionForceY-=ge,J.repulsionForceX+=Ie,J.repulsionForceY+=ge},V.prototype.calcGravitationalForce=function(G){var J,ce,me,_e,we,Se,Oe,De;J=G.getOwner(),ce=(J.getRight()+J.getLeft())/2,me=(J.getTop()+J.getBottom())/2,_e=G.getCenterX()-ce,we=G.getCenterY()-me,Se=Math.abs(_e)+G.getWidth()/2,Oe=Math.abs(we)+G.getHeight()/2,G.getOwner()==this.graphManager.getRoot()?(De=J.getEstimatedSize()*this.gravityRangeFactor,(Se>De||Oe>De)&&(G.gravitationForceX=-this.gravityConstant*_e,G.gravitationForceY=-this.gravityConstant*we)):(De=J.getEstimatedSize()*this.compoundGravityRangeFactor,(Se>De||Oe>De)&&(G.gravitationForceX=-this.gravityConstant*_e*this.compoundGravityConstant,G.gravitationForceY=-this.gravityConstant*we*this.compoundGravityConstant))},V.prototype.isConverged=function(){var G,J=!1;return this.totalIterations>this.maxIterations/3&&(J=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),G=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,G||J},V.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},V.prototype.calcNoOfChildrenForAllNodes=function(){for(var G,J=this.graphManager.getAllNodes(),ce=0;ce<J.length;ce++)G=J[ce],G.noOfChildren=G.getNoOfChildren()},V.prototype.calcGrid=function(G){var J=0,ce=0;J=parseInt(Math.ceil((G.getRight()-G.getLeft())/this.repulsionRange)),ce=parseInt(Math.ceil((G.getBottom()-G.getTop())/this.repulsionRange));for(var me=new Array(J),_e=0;_e<J;_e++)me[_e]=new Array(ce);for(var _e=0;_e<J;_e++)for(var we=0;we<ce;we++)me[_e][we]=new Array;return me},V.prototype.addNodeToGrid=function(G,J,ce){var me=0,_e=0,we=0,Se=0;me=parseInt(Math.floor((G.getRect().x-J)/this.repulsionRange)),_e=parseInt(Math.floor((G.getRect().width+G.getRect().x-J)/this.repulsionRange)),we=parseInt(Math.floor((G.getRect().y-ce)/this.repulsionRange)),Se=parseInt(Math.floor((G.getRect().height+G.getRect().y-ce)/this.repulsionRange));for(var Oe=me;Oe<=_e;Oe++)for(var De=we;De<=Se;De++)this.grid[Oe][De].push(G),G.setGridCoordinates(me,_e,we,Se)},V.prototype.updateGrid=function(){var G,J,ce=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),G=0;G<ce.length;G++)J=ce[G],this.addNodeToGrid(J,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},V.prototype.calculateRepulsionForceOfANode=function(G,J,ce,me){if(this.totalIterations%A.GRID_CALCULATION_CHECK_PERIOD==1&&ce||me){var _e=new Set;G.surrounding=new Array;for(var we,Se=this.grid,Oe=G.startX-1;Oe<G.finishX+2;Oe++)for(var De=G.startY-1;De<G.finishY+2;De++)if(!(Oe<0||De<0||Oe>=Se.length||De>=Se[0].length)){for(var Ve=0;Ve<Se[Oe][De].length;Ve++)if(we=Se[Oe][De][Ve],!(G.getOwner()!=we.getOwner()||G==we)&&!J.has(we)&&!_e.has(we)){var ke=Math.abs(G.getCenterX()-we.getCenterX())-(G.getWidth()/2+we.getWidth()/2),Ie=Math.abs(G.getCenterY()-we.getCenterY())-(G.getHeight()/2+we.getHeight()/2);ke<=this.repulsionRange&&Ie<=this.repulsionRange&&_e.add(we)}}G.surrounding=[].concat(k(_e))}for(Oe=0;Oe<G.surrounding.length;Oe++)this.calcRepulsionForce(G,G.surrounding[Oe])},V.prototype.calcRepulsionRange=function(){return 0},f.exports=V},function(f,m,y){var k=y(1),v=y(7);function A(j,z,V){k.call(this,j,z,V),this.idealLength=v.DEFAULT_EDGE_LENGTH}A.prototype=Object.create(k.prototype);for(var O in k)A[O]=k[O];f.exports=A},function(f,m,y){var k=y(3);function v(O,j,z,V){k.call(this,O,j,z,V),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}v.prototype=Object.create(k.prototype);for(var A in k)v[A]=k[A];v.prototype.setGridCoordinates=function(O,j,z,V){this.startX=O,this.finishX=j,this.startY=z,this.finishY=V},f.exports=v},function(f,m,y){function k(v,A){this.width=0,this.height=0,v!==null&&A!==null&&(this.height=A,this.width=v)}k.prototype.getWidth=function(){return this.width},k.prototype.setWidth=function(v){this.width=v},k.prototype.getHeight=function(){return this.height},k.prototype.setHeight=function(v){this.height=v},f.exports=k},function(f,m,y){var k=y(14);function v(){this.map={},this.keys=[]}v.prototype.put=function(A,O){var j=k.createID(A);this.contains(j)||(this.map[j]=O,this.keys.push(A))},v.prototype.contains=function(A){return k.createID(A),this.map[A]!=null},v.prototype.get=function(A){var O=k.createID(A);return this.map[O]},v.prototype.keySet=function(){return this.keys},f.exports=v},function(f,m,y){var k=y(14);function v(){this.set={}}v.prototype.add=function(A){var O=k.createID(A);this.contains(O)||(this.set[O]=A)},v.prototype.remove=function(A){delete this.set[k.createID(A)]},v.prototype.clear=function(){this.set={}},v.prototype.contains=function(A){return this.set[k.createID(A)]==A},v.prototype.isEmpty=function(){return this.size()===0},v.prototype.size=function(){return Object.keys(this.set).length},v.prototype.addAllTo=function(A){for(var O=Object.keys(this.set),j=O.length,z=0;z<j;z++)A.push(this.set[O[z]])},v.prototype.size=function(){return Object.keys(this.set).length},v.prototype.addAll=function(A){for(var O=A.length,j=0;j<O;j++){var z=A[j];this.add(z)}},f.exports=v},function(f,m,y){var k=function(){function j(z,V){for(var Y=0;Y<V.length;Y++){var G=V[Y];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(z,G.key,G)}}return function(z,V,Y){return V&&j(z.prototype,V),Y&&j(z,Y),z}}();function v(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}var A=y(11),O=function(){function j(z,V){v(this,j),(V!==null||V!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var Y=void 0;z instanceof A?Y=z.size():Y=z.length,this._quicksort(z,0,Y-1)}return k(j,[{key:"_quicksort",value:function(V,Y,G){if(Y<G){var J=this._partition(V,Y,G);this._quicksort(V,Y,J),this._quicksort(V,J+1,G)}}},{key:"_partition",value:function(V,Y,G){for(var J=this._get(V,Y),ce=Y,me=G;;){for(;this.compareFunction(J,this._get(V,me));)me--;for(;this.compareFunction(this._get(V,ce),J);)ce++;if(ce<me)this._swap(V,ce,me),ce++,me--;else return me}}},{key:"_get",value:function(V,Y){return V instanceof A?V.get_object_at(Y):V[Y]}},{key:"_set",value:function(V,Y,G){V instanceof A?V.set_object_at(Y,G):V[Y]=G}},{key:"_swap",value:function(V,Y,G){var J=this._get(V,Y);this._set(V,Y,this._get(V,G)),this._set(V,G,J)}},{key:"_defaultCompareFunction",value:function(V,Y){return Y>V}}]),j}();f.exports=O},function(f,m,y){var k=function(){function O(j,z){for(var V=0;V<z.length;V++){var Y=z[V];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(j,Y.key,Y)}}return function(j,z,V){return z&&O(j.prototype,z),V&&O(j,V),j}}();function v(O,j){if(!(O instanceof j))throw new TypeError("Cannot call a class as a function")}var A=function(){function O(j,z){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;v(this,O),this.sequence1=j,this.sequence2=z,this.match_score=V,this.mismatch_penalty=Y,this.gap_penalty=G,this.iMax=j.length+1,this.jMax=z.length+1,this.grid=new Array(this.iMax);for(var J=0;J<this.iMax;J++){this.grid[J]=new Array(this.jMax);for(var ce=0;ce<this.jMax;ce++)this.grid[J][ce]=0}this.tracebackGrid=new Array(this.iMax);for(var me=0;me<this.iMax;me++){this.tracebackGrid[me]=new Array(this.jMax);for(var _e=0;_e<this.jMax;_e++)this.tracebackGrid[me][_e]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return k(O,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var z=1;z<this.jMax;z++)this.grid[0][z]=this.grid[0][z-1]+this.gap_penalty,this.tracebackGrid[0][z]=[!1,!1,!0];for(var V=1;V<this.iMax;V++)this.grid[V][0]=this.grid[V-1][0]+this.gap_penalty,this.tracebackGrid[V][0]=[!1,!0,!1];for(var Y=1;Y<this.iMax;Y++)for(var G=1;G<this.jMax;G++){var J=void 0;this.sequence1[Y-1]===this.sequence2[G-1]?J=this.grid[Y-1][G-1]+this.match_score:J=this.grid[Y-1][G-1]+this.mismatch_penalty;var ce=this.grid[Y-1][G]+this.gap_penalty,me=this.grid[Y][G-1]+this.gap_penalty,_e=[J,ce,me],we=this.arrayAllMaxIndexes(_e);this.grid[Y][G]=_e[we[0]],this.tracebackGrid[Y][G]=[we.includes(0),we.includes(1),we.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var z=[];for(z.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});z[0];){var V=z[0],Y=this.tracebackGrid[V.pos[0]][V.pos[1]];Y[0]&&z.push({pos:[V.pos[0]-1,V.pos[1]-1],seq1:this.sequence1[V.pos[0]-1]+V.seq1,seq2:this.sequence2[V.pos[1]-1]+V.seq2}),Y[1]&&z.push({pos:[V.pos[0]-1,V.pos[1]],seq1:this.sequence1[V.pos[0]-1]+V.seq1,seq2:"-"+V.seq2}),Y[2]&&z.push({pos:[V.pos[0],V.pos[1]-1],seq1:"-"+V.seq1,seq2:this.sequence2[V.pos[1]-1]+V.seq2}),V.pos[0]===0&&V.pos[1]===0&&this.alignments.push({sequence1:V.seq1,sequence2:V.seq2}),z.shift()}return this.alignments}},{key:"getAllIndexes",value:function(z,V){for(var Y=[],G=-1;(G=z.indexOf(V,G+1))!==-1;)Y.push(G);return Y}},{key:"arrayAllMaxIndexes",value:function(z){return this.getAllIndexes(z,Math.max.apply(null,z))}}]),O}();f.exports=A},function(f,m,y){var k=function(){};k.FDLayout=y(18),k.FDLayoutConstants=y(7),k.FDLayoutEdge=y(19),k.FDLayoutNode=y(20),k.DimensionD=y(21),k.HashMap=y(22),k.HashSet=y(23),k.IGeometry=y(8),k.IMath=y(9),k.Integer=y(10),k.Point=y(12),k.PointD=y(4),k.RandomSeed=y(16),k.RectangleD=y(13),k.Transform=y(17),k.UniqueIDGeneretor=y(14),k.Quicksort=y(24),k.LinkedList=y(11),k.LGraphObject=y(2),k.LGraph=y(5),k.LEdge=y(1),k.LGraphManager=y(6),k.LNode=y(3),k.Layout=y(15),k.LayoutConstants=y(0),k.NeedlemanWunsch=y(25),f.exports=k},function(f,m,y){function k(){this.listeners=[]}var v=k.prototype;v.addListener=function(A,O){this.listeners.push({event:A,callback:O})},v.removeListener=function(A,O){for(var j=this.listeners.length;j>=0;j--){var z=this.listeners[j];z.event===A&&z.callback===O&&this.listeners.splice(j,1)}},v.emit=function(A,O){for(var j=0;j<this.listeners.length;j++){var z=this.listeners[j];A===z.event&&z.callback(O)}},f.exports=k}])})}(Rnn)),aee}var gWe;function Fnn(){return gWe||(gWe=1,function(s,o){(function(m,y){s.exports=y(Bnn())})(D,function(f){return function(m){var y={};function k(v){if(y[v])return y[v].exports;var A=y[v]={i:v,l:!1,exports:{}};return m[v].call(A.exports,A,A.exports,k),A.l=!0,A.exports}return k.m=m,k.c=y,k.i=function(v){return v},k.d=function(v,A,O){k.o(v,A)||Object.defineProperty(v,A,{configurable:!1,enumerable:!0,get:O})},k.n=function(v){var A=v&&v.__esModule?function(){return v.default}:function(){return v};return k.d(A,"a",A),A},k.o=function(v,A){return Object.prototype.hasOwnProperty.call(v,A)},k.p="",k(k.s=7)}([function(m,y){m.exports=f},function(m,y,k){var v=k(0).FDLayoutConstants;function A(){}for(var O in v)A[O]=v[O];A.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,A.DEFAULT_RADIAL_SEPARATION=v.DEFAULT_EDGE_LENGTH,A.DEFAULT_COMPONENT_SEPERATION=60,A.TILE=!0,A.TILING_PADDING_VERTICAL=10,A.TILING_PADDING_HORIZONTAL=10,A.TREE_REDUCTION_ON_INCREMENTAL=!1,m.exports=A},function(m,y,k){var v=k(0).FDLayoutEdge;function A(j,z,V){v.call(this,j,z,V)}A.prototype=Object.create(v.prototype);for(var O in v)A[O]=v[O];m.exports=A},function(m,y,k){var v=k(0).LGraph;function A(j,z,V){v.call(this,j,z,V)}A.prototype=Object.create(v.prototype);for(var O in v)A[O]=v[O];m.exports=A},function(m,y,k){var v=k(0).LGraphManager;function A(j){v.call(this,j)}A.prototype=Object.create(v.prototype);for(var O in v)A[O]=v[O];m.exports=A},function(m,y,k){var v=k(0).FDLayoutNode,A=k(0).IMath;function O(z,V,Y,G){v.call(this,z,V,Y,G)}O.prototype=Object.create(v.prototype);for(var j in v)O[j]=v[j];O.prototype.move=function(){var z=this.graphManager.getLayout();this.displacementX=z.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=z.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>z.coolingFactor*z.maxNodeDisplacement&&(this.displacementX=z.coolingFactor*z.maxNodeDisplacement*A.sign(this.displacementX)),Math.abs(this.displacementY)>z.coolingFactor*z.maxNodeDisplacement&&(this.displacementY=z.coolingFactor*z.maxNodeDisplacement*A.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),z.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},O.prototype.propogateDisplacementToChildren=function(z,V){for(var Y=this.getChild().getNodes(),G,J=0;J<Y.length;J++)G=Y[J],G.getChild()==null?(G.moveBy(z,V),G.displacementX+=z,G.displacementY+=V):G.propogateDisplacementToChildren(z,V)},O.prototype.setPred1=function(z){this.pred1=z},O.prototype.getPred1=function(){return pred1},O.prototype.getPred2=function(){return pred2},O.prototype.setNext=function(z){this.next=z},O.prototype.getNext=function(){return next},O.prototype.setProcessed=function(z){this.processed=z},O.prototype.isProcessed=function(){return processed},m.exports=O},function(m,y,k){var v=k(0).FDLayout,A=k(4),O=k(3),j=k(5),z=k(2),V=k(1),Y=k(0).FDLayoutConstants,G=k(0).LayoutConstants,J=k(0).Point,ce=k(0).PointD,me=k(0).Layout,_e=k(0).Integer,we=k(0).IGeometry,Se=k(0).LGraph,Oe=k(0).Transform;function De(){v.call(this),this.toBeTiled={}}De.prototype=Object.create(v.prototype);for(var Ve in v)De[Ve]=v[Ve];De.prototype.newGraphManager=function(){var ke=new A(this);return this.graphManager=ke,ke},De.prototype.newGraph=function(ke){return new O(null,this.graphManager,ke)},De.prototype.newNode=function(ke){return new j(this.graphManager,ke)},De.prototype.newEdge=function(ke){return new z(null,null,ke)},De.prototype.initParameters=function(){v.prototype.initParameters.call(this,arguments),this.isSubLayout||(V.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=V.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=V.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=Y.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=Y.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=Y.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=Y.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=Y.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=Y.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/Y.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=Y.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},De.prototype.layout=function(){var ke=G.DEFAULT_CREATE_BENDS_AS_NEEDED;return ke&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},De.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(V.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var Ie=new Set(this.getAllNodes()),ge=this.nodesWithGravity.filter(function(xe){return Ie.has(xe)});this.graphManager.setAllNodesToApplyGravitation(ge)}}else{var ke=this.getFlatForest();if(ke.length>0)this.positionNodesRadially(ke);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var Ie=new Set(this.getAllNodes()),ge=this.nodesWithGravity.filter(function(Me){return Ie.has(Me)});this.graphManager.setAllNodesToApplyGravitation(ge),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},De.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%Y.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var ke=new Set(this.getAllNodes()),Ie=this.nodesWithGravity.filter(function(Ne){return ke.has(Ne)});this.graphManager.setAllNodesToApplyGravitation(Ie),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=Y.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=Y.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var ge=!this.isTreeGrowing&&!this.isGrowthFinished,Me=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(ge,Me),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},De.prototype.getPositionsData=function(){for(var ke=this.graphManager.getAllNodes(),Ie={},ge=0;ge<ke.length;ge++){var Me=ke[ge].rect,Ne=ke[ge].id;Ie[Ne]={id:Ne,x:Me.getCenterX(),y:Me.getCenterY(),w:Me.width,h:Me.height}}return Ie},De.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var ke=!1;if(Y.ANIMATE==="during")this.emit("layoutstarted");else{for(;!ke;)ke=this.tick();this.graphManager.updateBounds()}},De.prototype.calculateNodesToApplyGravitationTo=function(){var ke=[],Ie,ge=this.graphManager.getGraphs(),Me=ge.length,Ne;for(Ne=0;Ne<Me;Ne++)Ie=ge[Ne],Ie.updateConnected(),Ie.isConnected||(ke=ke.concat(Ie.getNodes()));return ke},De.prototype.createBendpoints=function(){var ke=[];ke=ke.concat(this.graphManager.getAllEdges());var Ie=new Set,ge;for(ge=0;ge<ke.length;ge++){var Me=ke[ge];if(!Ie.has(Me)){var Ne=Me.getSource(),xe=Me.getTarget();if(Ne==xe)Me.getBendpoints().push(new ce),Me.getBendpoints().push(new ce),this.createDummyNodesForBendpoints(Me),Ie.add(Me);else{var qe=[];if(qe=qe.concat(Ne.getEdgeListToNode(xe)),qe=qe.concat(xe.getEdgeListToNode(Ne)),!Ie.has(qe[0])){if(qe.length>1){var ae;for(ae=0;ae<qe.length;ae++){var Qe=qe[ae];Qe.getBendpoints().push(new ce),this.createDummyNodesForBendpoints(Qe)}}qe.forEach(function(Ce){Ie.add(Ce)})}}}if(Ie.size==ke.length)break}},De.prototype.positionNodesRadially=function(ke){for(var Ie=new J(0,0),ge=Math.ceil(Math.sqrt(ke.length)),Me=0,Ne=0,xe=0,qe=new ce(0,0),ae=0;ae<ke.length;ae++){ae%ge==0&&(xe=0,Ne=Me,ae!=0&&(Ne+=V.DEFAULT_COMPONENT_SEPERATION),Me=0);var Qe=ke[ae],Ce=me.findCenterOfTree(Qe);Ie.x=xe,Ie.y=Ne,qe=De.radialLayout(Qe,Ce,Ie),qe.y>Me&&(Me=Math.floor(qe.y)),xe=Math.floor(qe.x+V.DEFAULT_COMPONENT_SEPERATION)}this.transform(new ce(G.WORLD_CENTER_X-qe.x/2,G.WORLD_CENTER_Y-qe.y/2))},De.radialLayout=function(ke,Ie,ge){var Me=Math.max(this.maxDiagonalInTree(ke),V.DEFAULT_RADIAL_SEPARATION);De.branchRadialLayout(Ie,null,0,359,0,Me);var Ne=Se.calculateBounds(ke),xe=new Oe;xe.setDeviceOrgX(Ne.getMinX()),xe.setDeviceOrgY(Ne.getMinY()),xe.setWorldOrgX(ge.x),xe.setWorldOrgY(ge.y);for(var qe=0;qe<ke.length;qe++){var ae=ke[qe];ae.transform(xe)}var Qe=new ce(Ne.getMaxX(),Ne.getMaxY());return xe.inverseTransformPoint(Qe)},De.branchRadialLayout=function(ke,Ie,ge,Me,Ne,xe){var qe=(Me-ge+1)/2;qe<0&&(qe+=180);var ae=(qe+ge)%360,Qe=ae*we.TWO_PI/360,Ce=Ne*Math.cos(Qe),nt=Ne*Math.sin(Qe);ke.setCenter(Ce,nt);var Ee=[];Ee=Ee.concat(ke.getEdges());var kt=Ee.length;Ie!=null&&kt--;for(var Ot=0,Vt=Ee.length,Rt,Gt=ke.getEdgesBetween(Ie);Gt.length>1;){var _n=Gt[0];Gt.splice(0,1);var On=Ee.indexOf(_n);On>=0&&Ee.splice(On,1),Vt--,kt--}Ie!=null?Rt=(Ee.indexOf(Gt[0])+1)%Vt:Rt=0;for(var Dt=Math.abs(Me-ge)/kt,ai=Rt;Ot!=kt;ai=++ai%Vt){var Ft=Ee[ai].getOtherEnd(ke);if(Ft!=Ie){var $t=(ge+Ot*Dt)%360,Pt=($t+Dt)%360;De.branchRadialLayout(Ft,ke,$t,Pt,Ne+xe,xe),Ot++}}},De.maxDiagonalInTree=function(ke){for(var Ie=_e.MIN_VALUE,ge=0;ge<ke.length;ge++){var Me=ke[ge],Ne=Me.getDiagonal();Ne>Ie&&(Ie=Ne)}return Ie},De.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},De.prototype.groupZeroDegreeMembers=function(){var ke=this,Ie={};this.memberGroups={},this.idToDummyNode={};for(var ge=[],Me=this.graphManager.getAllNodes(),Ne=0;Ne<Me.length;Ne++){var xe=Me[Ne],qe=xe.getParent();this.getNodeDegreeWithChildren(xe)===0&&(qe.id==null||!this.getToBeTiled(qe))&&ge.push(xe)}for(var Ne=0;Ne<ge.length;Ne++){var xe=ge[Ne],ae=xe.getParent().id;typeof Ie[ae]>"u"&&(Ie[ae]=[]),Ie[ae]=Ie[ae].concat(xe)}Object.keys(Ie).forEach(function(Qe){if(Ie[Qe].length>1){var Ce="DummyCompound_"+Qe;ke.memberGroups[Ce]=Ie[Qe];var nt=Ie[Qe][0].getParent(),Ee=new j(ke.graphManager);Ee.id=Ce,Ee.paddingLeft=nt.paddingLeft||0,Ee.paddingRight=nt.paddingRight||0,Ee.paddingBottom=nt.paddingBottom||0,Ee.paddingTop=nt.paddingTop||0,ke.idToDummyNode[Ce]=Ee;var kt=ke.getGraphManager().add(ke.newGraph(),Ee),Ot=nt.getChild();Ot.add(Ee);for(var Vt=0;Vt<Ie[Qe].length;Vt++){var Rt=Ie[Qe][Vt];Ot.remove(Rt),kt.add(Rt)}}})},De.prototype.clearCompounds=function(){var ke={},Ie={};this.performDFSOnCompounds();for(var ge=0;ge<this.compoundOrder.length;ge++)Ie[this.compoundOrder[ge].id]=this.compoundOrder[ge],ke[this.compoundOrder[ge].id]=[].concat(this.compoundOrder[ge].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[ge].getChild()),this.compoundOrder[ge].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(ke,Ie)},De.prototype.clearZeroDegreeMembers=function(){var ke=this,Ie=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(ge){var Me=ke.idToDummyNode[ge];Ie[ge]=ke.tileNodes(ke.memberGroups[ge],Me.paddingLeft+Me.paddingRight),Me.rect.width=Ie[ge].width,Me.rect.height=Ie[ge].height})},De.prototype.repopulateCompounds=function(){for(var ke=this.compoundOrder.length-1;ke>=0;ke--){var Ie=this.compoundOrder[ke],ge=Ie.id,Me=Ie.paddingLeft,Ne=Ie.paddingTop;this.adjustLocations(this.tiledMemberPack[ge],Ie.rect.x,Ie.rect.y,Me,Ne)}},De.prototype.repopulateZeroDegreeMembers=function(){var ke=this,Ie=this.tiledZeroDegreePack;Object.keys(Ie).forEach(function(ge){var Me=ke.idToDummyNode[ge],Ne=Me.paddingLeft,xe=Me.paddingTop;ke.adjustLocations(Ie[ge],Me.rect.x,Me.rect.y,Ne,xe)})},De.prototype.getToBeTiled=function(ke){var Ie=ke.id;if(this.toBeTiled[Ie]!=null)return this.toBeTiled[Ie];var ge=ke.getChild();if(ge==null)return this.toBeTiled[Ie]=!1,!1;for(var Me=ge.getNodes(),Ne=0;Ne<Me.length;Ne++){var xe=Me[Ne];if(this.getNodeDegree(xe)>0)return this.toBeTiled[Ie]=!1,!1;if(xe.getChild()==null){this.toBeTiled[xe.id]=!1;continue}if(!this.getToBeTiled(xe))return this.toBeTiled[Ie]=!1,!1}return this.toBeTiled[Ie]=!0,!0},De.prototype.getNodeDegree=function(ke){ke.id;for(var Ie=ke.getEdges(),ge=0,Me=0;Me<Ie.length;Me++){var Ne=Ie[Me];Ne.getSource().id!==Ne.getTarget().id&&(ge=ge+1)}return ge},De.prototype.getNodeDegreeWithChildren=function(ke){var Ie=this.getNodeDegree(ke);if(ke.getChild()==null)return Ie;for(var ge=ke.getChild().getNodes(),Me=0;Me<ge.length;Me++){var Ne=ge[Me];Ie+=this.getNodeDegreeWithChildren(Ne)}return Ie},De.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},De.prototype.fillCompexOrderByDFS=function(ke){for(var Ie=0;Ie<ke.length;Ie++){var ge=ke[Ie];ge.getChild()!=null&&this.fillCompexOrderByDFS(ge.getChild().getNodes()),this.getToBeTiled(ge)&&this.compoundOrder.push(ge)}},De.prototype.adjustLocations=function(ke,Ie,ge,Me,Ne){Ie+=Me,ge+=Ne;for(var xe=Ie,qe=0;qe<ke.rows.length;qe++){var ae=ke.rows[qe];Ie=xe;for(var Qe=0,Ce=0;Ce<ae.length;Ce++){var nt=ae[Ce];nt.rect.x=Ie,nt.rect.y=ge,Ie+=nt.rect.width+ke.horizontalPadding,nt.rect.height>Qe&&(Qe=nt.rect.height)}ge+=Qe+ke.verticalPadding}},De.prototype.tileCompoundMembers=function(ke,Ie){var ge=this;this.tiledMemberPack=[],Object.keys(ke).forEach(function(Me){var Ne=Ie[Me];ge.tiledMemberPack[Me]=ge.tileNodes(ke[Me],Ne.paddingLeft+Ne.paddingRight),Ne.rect.width=ge.tiledMemberPack[Me].width,Ne.rect.height=ge.tiledMemberPack[Me].height})},De.prototype.tileNodes=function(ke,Ie){var ge=V.TILING_PADDING_VERTICAL,Me=V.TILING_PADDING_HORIZONTAL,Ne={rows:[],rowWidth:[],rowHeight:[],width:0,height:Ie,verticalPadding:ge,horizontalPadding:Me};ke.sort(function(ae,Qe){return ae.rect.width*ae.rect.height>Qe.rect.width*Qe.rect.height?-1:ae.rect.width*ae.rect.height<Qe.rect.width*Qe.rect.height?1:0});for(var xe=0;xe<ke.length;xe++){var qe=ke[xe];Ne.rows.length==0?this.insertNodeToRow(Ne,qe,0,Ie):this.canAddHorizontal(Ne,qe.rect.width,qe.rect.height)?this.insertNodeToRow(Ne,qe,this.getShortestRowIndex(Ne),Ie):this.insertNodeToRow(Ne,qe,Ne.rows.length,Ie),this.shiftToLastRow(Ne)}return Ne},De.prototype.insertNodeToRow=function(ke,Ie,ge,Me){var Ne=Me;if(ge==ke.rows.length){var xe=[];ke.rows.push(xe),ke.rowWidth.push(Ne),ke.rowHeight.push(0)}var qe=ke.rowWidth[ge]+Ie.rect.width;ke.rows[ge].length>0&&(qe+=ke.horizontalPadding),ke.rowWidth[ge]=qe,ke.width<qe&&(ke.width=qe);var ae=Ie.rect.height;ge>0&&(ae+=ke.verticalPadding);var Qe=0;ae>ke.rowHeight[ge]&&(Qe=ke.rowHeight[ge],ke.rowHeight[ge]=ae,Qe=ke.rowHeight[ge]-Qe),ke.height+=Qe,ke.rows[ge].push(Ie)},De.prototype.getShortestRowIndex=function(ke){for(var Ie=-1,ge=Number.MAX_VALUE,Me=0;Me<ke.rows.length;Me++)ke.rowWidth[Me]<ge&&(Ie=Me,ge=ke.rowWidth[Me]);return Ie},De.prototype.getLongestRowIndex=function(ke){for(var Ie=-1,ge=Number.MIN_VALUE,Me=0;Me<ke.rows.length;Me++)ke.rowWidth[Me]>ge&&(Ie=Me,ge=ke.rowWidth[Me]);return Ie},De.prototype.canAddHorizontal=function(ke,Ie,ge){var Me=this.getShortestRowIndex(ke);if(Me<0)return!0;var Ne=ke.rowWidth[Me];if(Ne+ke.horizontalPadding+Ie<=ke.width)return!0;var xe=0;ke.rowHeight[Me]<ge&&Me>0&&(xe=ge+ke.verticalPadding-ke.rowHeight[Me]);var qe;ke.width-Ne>=Ie+ke.horizontalPadding?qe=(ke.height+xe)/(Ne+Ie+ke.horizontalPadding):qe=(ke.height+xe)/ke.width,xe=ge+ke.verticalPadding;var ae;return ke.width<Ie?ae=(ke.height+xe)/Ie:ae=(ke.height+xe)/ke.width,ae<1&&(ae=1/ae),qe<1&&(qe=1/qe),qe<ae},De.prototype.shiftToLastRow=function(ke){var Ie=this.getLongestRowIndex(ke),ge=ke.rowWidth.length-1,Me=ke.rows[Ie],Ne=Me[Me.length-1],xe=Ne.width+ke.horizontalPadding;if(ke.width-ke.rowWidth[ge]>xe&&Ie!=ge){Me.splice(-1,1),ke.rows[ge].push(Ne),ke.rowWidth[Ie]=ke.rowWidth[Ie]-xe,ke.rowWidth[ge]=ke.rowWidth[ge]+xe,ke.width=ke.rowWidth[instance.getLongestRowIndex(ke)];for(var qe=Number.MIN_VALUE,ae=0;ae<Me.length;ae++)Me[ae].height>qe&&(qe=Me[ae].height);Ie>0&&(qe+=ke.verticalPadding);var Qe=ke.rowHeight[Ie]+ke.rowHeight[ge];ke.rowHeight[Ie]=qe,ke.rowHeight[ge]<Ne.height+ke.verticalPadding&&(ke.rowHeight[ge]=Ne.height+ke.verticalPadding);var Ce=ke.rowHeight[Ie]+ke.rowHeight[ge];ke.height+=Ce-Qe,this.shiftToLastRow(ke)}},De.prototype.tilingPreLayout=function(){V.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},De.prototype.tilingPostLayout=function(){V.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},De.prototype.reduceTrees=function(){for(var ke=[],Ie=!0,ge;Ie;){var Me=this.graphManager.getAllNodes(),Ne=[];Ie=!1;for(var xe=0;xe<Me.length;xe++)ge=Me[xe],ge.getEdges().length==1&&!ge.getEdges()[0].isInterGraph&&ge.getChild()==null&&(Ne.push([ge,ge.getEdges()[0],ge.getOwner()]),Ie=!0);if(Ie==!0){for(var qe=[],ae=0;ae<Ne.length;ae++)Ne[ae][0].getEdges().length==1&&(qe.push(Ne[ae]),Ne[ae][0].getOwner().remove(Ne[ae][0]));ke.push(qe),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=ke},De.prototype.growTree=function(ke){for(var Ie=ke.length,ge=ke[Ie-1],Me,Ne=0;Ne<ge.length;Ne++)Me=ge[Ne],this.findPlaceforPrunedNode(Me),Me[2].add(Me[0]),Me[2].add(Me[1],Me[1].source,Me[1].target);ke.splice(ke.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},De.prototype.findPlaceforPrunedNode=function(ke){var Ie,ge,Me=ke[0];Me==ke[1].source?ge=ke[1].target:ge=ke[1].source;var Ne=ge.startX,xe=ge.finishX,qe=ge.startY,ae=ge.finishY,Qe=0,Ce=0,nt=0,Ee=0,kt=[Qe,nt,Ce,Ee];if(qe>0)for(var Ot=Ne;Ot<=xe;Ot++)kt[0]+=this.grid[Ot][qe-1].length+this.grid[Ot][qe].length-1;if(xe<this.grid.length-1)for(var Ot=qe;Ot<=ae;Ot++)kt[1]+=this.grid[xe+1][Ot].length+this.grid[xe][Ot].length-1;if(ae<this.grid[0].length-1)for(var Ot=Ne;Ot<=xe;Ot++)kt[2]+=this.grid[Ot][ae+1].length+this.grid[Ot][ae].length-1;if(Ne>0)for(var Ot=qe;Ot<=ae;Ot++)kt[3]+=this.grid[Ne-1][Ot].length+this.grid[Ne][Ot].length-1;for(var Vt=_e.MAX_VALUE,Rt,Gt,_n=0;_n<kt.length;_n++)kt[_n]<Vt?(Vt=kt[_n],Rt=1,Gt=_n):kt[_n]==Vt&&Rt++;if(Rt==3&&Vt==0)kt[0]==0&&kt[1]==0&&kt[2]==0?Ie=1:kt[0]==0&&kt[1]==0&&kt[3]==0?Ie=0:kt[0]==0&&kt[2]==0&&kt[3]==0?Ie=3:kt[1]==0&&kt[2]==0&&kt[3]==0&&(Ie=2);else if(Rt==2&&Vt==0){var On=Math.floor(Math.random()*2);kt[0]==0&&kt[1]==0?On==0?Ie=0:Ie=1:kt[0]==0&&kt[2]==0?On==0?Ie=0:Ie=2:kt[0]==0&&kt[3]==0?On==0?Ie=0:Ie=3:kt[1]==0&&kt[2]==0?On==0?Ie=1:Ie=2:kt[1]==0&&kt[3]==0?On==0?Ie=1:Ie=3:On==0?Ie=2:Ie=3}else if(Rt==4&&Vt==0){var On=Math.floor(Math.random()*4);Ie=On}else Ie=Gt;Ie==0?Me.setCenter(ge.getCenterX(),ge.getCenterY()-ge.getHeight()/2-Y.DEFAULT_EDGE_LENGTH-Me.getHeight()/2):Ie==1?Me.setCenter(ge.getCenterX()+ge.getWidth()/2+Y.DEFAULT_EDGE_LENGTH+Me.getWidth()/2,ge.getCenterY()):Ie==2?Me.setCenter(ge.getCenterX(),ge.getCenterY()+ge.getHeight()/2+Y.DEFAULT_EDGE_LENGTH+Me.getHeight()/2):Me.setCenter(ge.getCenterX()-ge.getWidth()/2-Y.DEFAULT_EDGE_LENGTH-Me.getWidth()/2,ge.getCenterY())},m.exports=De},function(m,y,k){var v={};v.layoutBase=k(0),v.CoSEConstants=k(1),v.CoSEEdge=k(2),v.CoSEGraph=k(3),v.CoSEGraphManager=k(4),v.CoSELayout=k(6),v.CoSENode=k(5),m.exports=v}])})}(Nnn)),see}(function(s,o){(function(m,y){s.exports=y(Fnn())})(D,function(f){return function(m){var y={};function k(v){if(y[v])return y[v].exports;var A=y[v]={i:v,l:!1,exports:{}};return m[v].call(A.exports,A,A.exports,k),A.l=!0,A.exports}return k.m=m,k.c=y,k.i=function(v){return v},k.d=function(v,A,O){k.o(v,A)||Object.defineProperty(v,A,{configurable:!1,enumerable:!0,get:O})},k.n=function(v){var A=v&&v.__esModule?function(){return v.default}:function(){return v};return k.d(A,"a",A),A},k.o=function(v,A){return Object.prototype.hasOwnProperty.call(v,A)},k.p="",k(k.s=1)}([function(m,y){m.exports=f},function(m,y,k){var v=k(0).layoutBase.LayoutConstants,A=k(0).layoutBase.FDLayoutConstants,O=k(0).CoSEConstants,j=k(0).CoSELayout,z=k(0).CoSENode,V=k(0).layoutBase.PointD,Y=k(0).layoutBase.DimensionD,G={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function J(we,Se){var Oe={};for(var De in we)Oe[De]=we[De];for(var De in Se)Oe[De]=Se[De];return Oe}function ce(we){this.options=J(G,we),me(this.options)}var me=function(Se){Se.nodeRepulsion!=null&&(O.DEFAULT_REPULSION_STRENGTH=A.DEFAULT_REPULSION_STRENGTH=Se.nodeRepulsion),Se.idealEdgeLength!=null&&(O.DEFAULT_EDGE_LENGTH=A.DEFAULT_EDGE_LENGTH=Se.idealEdgeLength),Se.edgeElasticity!=null&&(O.DEFAULT_SPRING_STRENGTH=A.DEFAULT_SPRING_STRENGTH=Se.edgeElasticity),Se.nestingFactor!=null&&(O.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=A.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=Se.nestingFactor),Se.gravity!=null&&(O.DEFAULT_GRAVITY_STRENGTH=A.DEFAULT_GRAVITY_STRENGTH=Se.gravity),Se.numIter!=null&&(O.MAX_ITERATIONS=A.MAX_ITERATIONS=Se.numIter),Se.gravityRange!=null&&(O.DEFAULT_GRAVITY_RANGE_FACTOR=A.DEFAULT_GRAVITY_RANGE_FACTOR=Se.gravityRange),Se.gravityCompound!=null&&(O.DEFAULT_COMPOUND_GRAVITY_STRENGTH=A.DEFAULT_COMPOUND_GRAVITY_STRENGTH=Se.gravityCompound),Se.gravityRangeCompound!=null&&(O.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=A.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=Se.gravityRangeCompound),Se.initialEnergyOnIncremental!=null&&(O.DEFAULT_COOLING_FACTOR_INCREMENTAL=A.DEFAULT_COOLING_FACTOR_INCREMENTAL=Se.initialEnergyOnIncremental),Se.quality=="draft"?v.QUALITY=0:Se.quality=="proof"?v.QUALITY=2:v.QUALITY=1,O.NODE_DIMENSIONS_INCLUDE_LABELS=A.NODE_DIMENSIONS_INCLUDE_LABELS=v.NODE_DIMENSIONS_INCLUDE_LABELS=Se.nodeDimensionsIncludeLabels,O.DEFAULT_INCREMENTAL=A.DEFAULT_INCREMENTAL=v.DEFAULT_INCREMENTAL=!Se.randomize,O.ANIMATE=A.ANIMATE=v.ANIMATE=Se.animate,O.TILE=Se.tile,O.TILING_PADDING_VERTICAL=typeof Se.tilingPaddingVertical=="function"?Se.tilingPaddingVertical.call():Se.tilingPaddingVertical,O.TILING_PADDING_HORIZONTAL=typeof Se.tilingPaddingHorizontal=="function"?Se.tilingPaddingHorizontal.call():Se.tilingPaddingHorizontal};ce.prototype.run=function(){var we,Se,Oe=this.options;this.idToLNode={};var De=this.layout=new j,Ve=this;Ve.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var ke=De.newGraphManager();this.gm=ke;var Ie=this.options.eles.nodes(),ge=this.options.eles.edges();this.root=ke.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(Ie),De);for(var Me=0;Me<ge.length;Me++){var Ne=ge[Me],xe=this.idToLNode[Ne.data("source")],qe=this.idToLNode[Ne.data("target")];if(xe!==qe&&xe.getEdgesBetween(qe).length==0){var ae=ke.add(De.newEdge(),xe,qe);ae.id=Ne.id()}}var Qe=function(Ee,kt){typeof Ee=="number"&&(Ee=kt);var Ot=Ee.data("id"),Vt=Ve.idToLNode[Ot];return{x:Vt.getRect().getCenterX(),y:Vt.getRect().getCenterY()}},Ce=function nt(){for(var Ee=function(){Oe.fit&&Oe.cy.fit(Oe.eles,Oe.padding),we||(we=!0,Ve.cy.one("layoutready",Oe.ready),Ve.cy.trigger({type:"layoutready",layout:Ve}))},kt=Ve.options.refresh,Ot,Vt=0;Vt<kt&&!Ot;Vt++)Ot=Ve.stopped||Ve.layout.tick();if(Ot){De.checkLayoutSuccess()&&!De.isSubLayout&&De.doPostLayout(),De.tilingPostLayout&&De.tilingPostLayout(),De.isLayoutFinished=!0,Ve.options.eles.nodes().positions(Qe),Ee(),Ve.cy.one("layoutstop",Ve.options.stop),Ve.cy.trigger({type:"layoutstop",layout:Ve}),Se&&cancelAnimationFrame(Se),we=!1;return}var Rt=Ve.layout.getPositionsData();Oe.eles.nodes().positions(function(Gt,_n){if(typeof Gt=="number"&&(Gt=_n),!Gt.isParent()){for(var On=Gt.id(),Dt=Rt[On],ai=Gt;Dt==null&&(Dt=Rt[ai.data("parent")]||Rt["DummyCompound_"+ai.data("parent")],Rt[On]=Dt,ai=ai.parent()[0],ai!=null););return Dt!=null?{x:Dt.x,y:Dt.y}:{x:Gt.position("x"),y:Gt.position("y")}}}),Ee(),Se=requestAnimationFrame(nt)};return De.addListener("layoutstarted",function(){Ve.options.animate==="during"&&(Se=requestAnimationFrame(Ce))}),De.runLayout(),this.options.animate!=="during"&&(Ve.options.eles.nodes().not(":parent").layoutPositions(Ve,Ve.options,Qe),we=!1),this},ce.prototype.getTopMostNodes=function(we){for(var Se={},Oe=0;Oe<we.length;Oe++)Se[we[Oe].id()]=!0;var De=we.filter(function(Ve,ke){typeof Ve=="number"&&(Ve=ke);for(var Ie=Ve.parent()[0];Ie!=null;){if(Se[Ie.id()])return!1;Ie=Ie.parent()[0]}return!0});return De},ce.prototype.processChildrenList=function(we,Se,Oe){for(var De=Se.length,Ve=0;Ve<De;Ve++){var ke=Se[Ve],Ie=ke.children(),ge,Me=ke.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(ke.outerWidth()!=null&&ke.outerHeight()!=null?ge=we.add(new z(Oe.graphManager,new V(ke.position("x")-Me.w/2,ke.position("y")-Me.h/2),new Y(parseFloat(Me.w),parseFloat(Me.h)))):ge=we.add(new z(this.graphManager)),ge.id=ke.data("id"),ge.paddingLeft=parseInt(ke.css("padding")),ge.paddingTop=parseInt(ke.css("padding")),ge.paddingRight=parseInt(ke.css("padding")),ge.paddingBottom=parseInt(ke.css("padding")),this.options.nodeDimensionsIncludeLabels&&ke.isParent()){var Ne=ke.boundingBox({includeLabels:!0,includeNodes:!1}).w,xe=ke.boundingBox({includeLabels:!0,includeNodes:!1}).h,qe=ke.css("text-halign");ge.labelWidth=Ne,ge.labelHeight=xe,ge.labelPos=qe}if(this.idToLNode[ke.data("id")]=ge,isNaN(ge.rect.x)&&(ge.rect.x=0),isNaN(ge.rect.y)&&(ge.rect.y=0),Ie!=null&&Ie.length>0){var ae;ae=Oe.getGraphManager().add(Oe.newGraph(),ge),this.processChildrenList(ae,Ie,Oe)}}},ce.prototype.stop=function(){return this.stopped=!0,this};var _e=function(Se){Se("layout","cose-bilkent",ce)};typeof cytoscape<"u"&&_e(cytoscape),m.exports=_e}])})})(Pnn);const jnn=H(Ywe);fWe.use(jnn);function pWe(s,o,f,m){hWe.drawNode(s,o,f,m),o.children&&o.children.forEach((y,k)=>{pWe(s,y,f<0?k:f,m)})}function $nn(s,o){o.edges().map((f,m)=>{const y=f.data();if(f[0]._private.bodyBounds){const k=f[0]._private.rscratch;ne.trace("Edge: ",m,y),s.insert("path").attr("d",`M ${k.startX},${k.startY} L ${k.midX},${k.midY} L${k.endX},${k.endY} `).attr("class","edge section-edge-"+y.section+" edge-depth-"+y.depth)}})}function mWe(s,o,f,m){o.add({group:"nodes",data:{id:s.id,labelText:s.descr,height:s.height,width:s.width,level:m,nodeId:s.id,padding:s.padding,type:s.type},position:{x:s.x,y:s.y}}),s.children&&s.children.forEach(y=>{mWe(y,o,f,m+1),o.add({group:"edges",data:{id:`${s.id}_${y.id}`,source:s.id,target:y.id,depth:m,section:y.section}})})}function Hnn(s,o){return new Promise(f=>{const m=Or("body").append("div").attr("id","cy").attr("style","display:none"),y=fWe({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});m.remove(),mWe(s,y,o,0),y.nodes().forEach(function(k){k.layoutDimensions=()=>{const v=k.data();return{w:v.width,h:v.height}}}),y.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),y.ready(k=>{ne.info("Ready",k),f(y)})})}function znn(s){s.nodes().map((o,f)=>{const m=o.data();m.x=o.position().x,m.y=o.position().y,hWe.positionNode(m);const y=Wwe(m.nodeId);ne.info("Id:",f,"Position: (",o.position().x,", ",o.position().y,")",m),y.attr("transform",`translate(${o.position().x-m.width/2}, ${o.position().y-m.height/2})`),y.attr("attr",`apa-${f})`)})}const Vnn={draw:async(s,o,f,m)=>{const y=Qt();m.db.clear(),m.parser.parse(s),ne.debug(`Renering info diagram
`+s);const k=Qt().securityLevel;let v;k==="sandbox"&&(v=Or("#i"+o));const O=Or(k==="sandbox"?v.nodes()[0].contentDocument.body:"body").select("#"+o);O.append("g");const j=m.db.getMindmap(),z=O.append("g");z.attr("class","mindmap-edges");const V=O.append("g");V.attr("class","mindmap-nodes"),pWe(V,j,-1,y);const Y=await Hnn(j,y);$nn(z,Y),znn(Y),CS(void 0,O,y.mindmap.padding,y.mindmap.useMaxWidth)}},qnn=s=>{let o="";for(let f=0;f<s.THEME_COLOR_LIMIT;f++)s["lineColor"+f]=s["lineColor"+f]||s["cScaleInv"+f],c$e(s["lineColor"+f])?s["lineColor"+f]=ro(s["lineColor"+f],20):s["lineColor"+f]=Bo(s["lineColor"+f],20);for(let f=0;f<s.THEME_COLOR_LIMIT;f++){const m=""+(17-3*f);o+=`
.section-${f-1} rect, .section-${f-1} path, .section-${f-1} circle, .section-${f-1} polygon, .section-${f-1} path {
fill: ${s["cScale"+f]};
}
.section-${f-1} text {
fill: ${s["cScaleLabel"+f]};
}
.node-icon-${f-1} {
font-size: 40px;
color: ${s["cScaleLabel"+f]};
}
.section-edge-${f-1}{
stroke: ${s["cScale"+f]};
}
.edge-depth-${f-1}{
stroke-width: ${m};
}
.section-${f-1} line {
stroke: ${s["cScaleInv"+f]} ;
stroke-width: 3;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return o},Unn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:knn,renderer:Vnn,parser:dnn,styles:s=>`
.edge {
stroke-width: 3;
}
${qnn(s)}
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
fill: ${s.git0};
}
.section-root text {
fill: ${s.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
`}},Symbol.toStringTag,{value:"Module"}));return _w})})(Uqn,Nme);const Rme=qqn(Nme),Gqn=typeof atob=="function",$Be=typeof Buffer=="function",qTt=typeof TextDecoder=="function"?new TextDecoder:void 0;typeof TextEncoder=="function"&&new TextEncoder;const Wqn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Kqn=Array.prototype.slice.call(Wqn),nme=(g=>{let w={};return g.forEach((T,D)=>w[T]=D),w})(Kqn),Yqn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,WI=String.fromCharCode.bind(String),UTt=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):g=>new Uint8Array(Array.prototype.slice.call(g,0)),GAt=g=>g.replace(/[^A-Za-z0-9\+\/]/g,""),Xqn=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Qqn=g=>{switch(g.length){case 4:var w=(7&g.charCodeAt(0))<<18|(63&g.charCodeAt(1))<<12|(63&g.charCodeAt(2))<<6|63&g.charCodeAt(3),T=w-65536;return WI((T>>>10)+55296)+WI((T&1023)+56320);case 3:return WI((15&g.charCodeAt(0))<<12|(63&g.charCodeAt(1))<<6|63&g.charCodeAt(2));default:return WI((31&g.charCodeAt(0))<<6|63&g.charCodeAt(1))}},Zqn=g=>g.replace(Xqn,Qqn),Jqn=g=>{if(g=g.replace(/\s+/g,""),!Yqn.test(g))throw new TypeError("malformed base64.");g+="==".slice(2-(g.length&3));let w,T="",D,H;for(let U=0;U<g.length;)w=nme[g.charAt(U++)]<<18|nme[g.charAt(U++)]<<12|(D=nme[g.charAt(U++)])<<6|(H=nme[g.charAt(U++)]),T+=D===64?WI(w>>16&255):H===64?WI(w>>16&255,w>>8&255):WI(w>>16&255,w>>8&255,w&255);return T},WAt=Gqn?g=>atob(GAt(g)):$Be?g=>Buffer.from(g,"base64").toString("binary"):Jqn,eUn=$Be?g=>UTt(Buffer.from(g,"base64")):g=>UTt(WAt(g).split("").map(w=>w.charCodeAt(0))),tUn=$Be?g=>Buffer.from(g,"base64").toString("utf8"):qTt?g=>qTt.decode(eUn(g)):g=>Zqn(WAt(g)),nUn=g=>GAt(g.replace(/[-_]/g,w=>w=="-"?"+":"/")),rUn=g=>tUn(nUn(g));const iUn=()=>({theme:"default"});Rme.startOnLoad=!1;Rme.initialize({startOnLoad:!1});const sUn=PLn("abcedfghicklmn",10),GTt=new Map;function aUn(g,w){const T=g+JSON.stringify(w),D=GTt.get(T);if(D)return D;Rme.initialize({startOnLoad:!1,...V9t(iUn()||{}),...V9t(w)});const H=rUn(g),U=sUn(),Q=Rme.render(U,H);return GTt.set(T,Q),Q}const oUn=mu({__name:"ShadowRoot",props:{innerHtml:{type:String,required:!0}},emits:["shadow"],setup(g,{emit:w}){const T=g;os(Os);const D=Is(),H=Fr(()=>D.value?D.value.shadowRoot||D.value.attachShadow({mode:"open"}):null);return X8(()=>{H.value&&(w("shadow",H.value),H.value.innerHTML=T.innerHtml)}),(U,Q)=>(tr(),Ls("div",{ref_key:"el",ref:D},null,512))}}),cUn=Ps(oUn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/internals/ShadowRoot.vue"]]),lUn=mu({__name:"Mermaid",props:{code:{type:String,required:!0},scale:{type:Number,required:!1},theme:{type:String,required:!1}},setup(g){const w=g;os(Os);const T=hw(),D=Is(),H=Fr(()=>aUn(w.code||"",{theme:w.theme||(ive.value?"dark":void 0),...T.attrs})),U=Fr(()=>H.value),Q=Is();return jc(U,()=>{Q.value=void 0}),X8(()=>{var he,ne,Be;const ie=(ne=(he=D.value)==null?void 0:he.children)==null?void 0:ne[0];if(ie&&ie.hasAttribute("viewBox")&&Q.value==null){const He=parseFloat(((Be=ie.getAttribute("viewBox"))==null?void 0:Be.split(" ")[3])||"");Q.value=isNaN(He)?void 0:He}},{flush:"post"}),X8(()=>{var he,ne;const ie=(ne=(he=D.value)==null?void 0:he.children)==null?void 0:ne[0];ie!=null&&w.scale!=null&&Q.value!=null&&(ie.setAttribute("height",`${Q.value*w.scale}`),ie.removeAttribute("width"),ie.removeAttribute("style"))},{flush:"post"}),(ie,he)=>(tr(),Ds(cUn,{ref_key:"el",ref:D,class:"mermaid","inner-html":Hn(U),onShadow:he[0]||(he[0]=ne=>D.value=ne)},null,8,["inner-html"]))}}),uUn=Ps(lUn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/builtin/Mermaid.vue"]]);const hUn=g=>(iCt("data-v-8b3bc031"),g=g(),sCt(),g),fUn=hUn(()=>I("h2",null,"Estimation of lighting vector",-1)),dUn={class:"h-100 flex items-center"},gUn={__name:"37",setup(g){const w={};return os(Os),(T,D)=>{const H=uUn;return tr(),Ds($c,Ic(xc(w)),{default:no(()=>[fUn,I("div",dUn,[Pa(H,EF({code:"Zmxvd2NoYXJ0IExSCiAgaWQxW0JvdW5kaW5nIGJveCBvZiB0aGUgc3BoZXJlXQogIGlkMltEZWR1Y2UgdGhlIG5vcm1hbHNdCiAgaWQzW1Jlc29sdXRpb24gb2YgSSA9IHMgKiBuXQoKICBpZDEgLS0-IGlkMgogIGlkMiAtLT4gaWQz"},{}),null,16)])]),_:1},16)}}},pUn=Ps(gUn,[["__scopeId","data-v-8b3bc031"],["__file","/@slidev/slides/37.md"]]),mUn="/projet-long/assets/neural_network-2b156469.svg",vUn=I("h2",null,"Neural Network",-1),bUn=I("div",{class:"h-100 flex items-center"},[I("img",{src:mUn,class:"m-auto w-full"})],-1),wUn={__name:"38",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[vUn,bUn]),_:1},16))}},yUn=Ps(wUn,[["__file","/@slidev/slides/38.md"]]),_Un=I("h2",null,"ResNet-50",-1),xUn=I("img",{src:"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/resnet_architecture.png",class:"m-auto h-full"},null,-1),kUn={__name:"39",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[_Un,xUn]),_:1},16))}},EUn=Ps(kUn,[["__file","/@slidev/slides/39.md"]]),TUn="/projet-long/assets/mask_crea-71a15c98.svg",SUn=I("h2",null,"Real data : creation of mask",-1),CUn=I("img",{src:TUn,class:"m-auto h-full"},null,-1),AUn={__name:"40",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[SUn,CUn]),_:1},16))}},MUn=Ps(AUn,[["__file","/@slidev/slides/40.md"]]),LUn="/projet-long/assets/matte_ball_3-463f3052.png",IUn="/projet-long/assets/matte_ball-6e4bcbd9.png",OUn="/projet-long/assets/auto_82-d068a520.png",DUn="/projet-long/assets/auto_91-cb66a18e.png";const KAt=g=>(iCt("data-v-b5b8a2ff"),g=g(),sCt(),g),PUn=KAt(()=>I("h2",null,"Generated data with blender",-1)),NUn=KAt(()=>I("table",null,[I("tr",null,[I("td",null,"Simulated matte spheres"),I("td",null,[I("img",{src:LUn,class:"m-auto h-50"})]),I("td",null,[I("img",{src:IUn,class:"m-auto h-50"})])]),I("tr",null,[I("td",null,"Generated data with different lightings"),I("td",null,[I("img",{src:OUn,class:"m-auto h-50"})]),I("td",null,[I("img",{src:DUn,class:"m-auto h-50"})])])],-1)),RUn={__name:"41",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[PUn,NUn]),_:1},16))}},BUn=Ps(RUn,[["__scopeId","data-v-b5b8a2ff"],["__file","/@slidev/slides/41.md"]]),FUn="/projet-long/assets/results-3ef12c59.png",jUn=I("h2",null,"Results",-1),$Un=I("img",{src:FUn,class:"m-auto h-full"},null,-1),HUn={__name:"42",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[jUn,$Un]),_:1},16))}},zUn=Ps(HUn,[["__file","/@slidev/slides/42.md"]]),VUn=I("h2",null,"Perspectives",-1),qUn=I("div",{class:"h-100 flex items-center"},[I("span",null,[I("ul",null,[I("li",null,"Create more data to prevent overfitting"),I("li",null,"Diversify the types of data lighting (more than 8 directions)"),I("li",null,[Du("Transform the model into something more general: "),I("br"),I("span",{class:"katex"},[I("span",{class:"katex-mathml"},[I("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[I("semantics",null,[I("mrow",null,[I("mo",null,"→")]),I("annotation",{encoding:"application/x-tex"},"\\rightarrow")])])]),I("span",{class:"katex-html","aria-hidden":"true"},[I("span",{class:"base"},[I("span",{class:"strut",style:{height:"0.3669em"}}),I("span",{class:"mrel"},"→")])])]),Du(" from {image of sphere, vector lighting} to {image of objects, vector lighting}")])])])],-1),UUn={__name:"43",setup(g){const w={};return os(Os),(T,D)=>(tr(),Ds($c,Ic(xc(w)),{default:no(()=>[VUn,qUn]),_:1},16))}},GUn=Ps(UUn,[["__file","/@slidev/slides/43.md"]]),WUn=[{path:"1",name:"page-1",component:pjn,meta:{theme:"academic",class:"text-white",coverBackgroundUrl:"https://plus.unsplash.com/premium_photo-1673553304257-018c85e606f8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8",coverBackgroundSource:"unplash",coverBackgroundSourceUrl:"https://unsplash.com/photos/g4I556WCJT0",coverDate:"",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},title:"Projet Long",slide:{raw:`---
theme: academic
class: text-white
coverBackgroundUrl: https://plus.unsplash.com/premium_photo-1673553304257-018c85e606f8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8
coverBackgroundSource: unplash
coverBackgroundSourceUrl: https://unsplash.com/photos/g4I556WCJT0
coverDate: ""
themeConfig:
paginationX: r
paginationY: t
paginationPagesDisabled:
- 1
title: Projet Long
---
<h1 style="font-size: 2.3rem;">Sphere detection and multimedia applications</h1>
<span class="absolute p-2 text-xs right-0 top-0 opacity-50">
2023-03-09
</span>
<span class="absolute bottom-12 opacity-50">
Laurent Fainsin, Pierre-Eliot Jourdan, Raphaëlle Monville-Letu, Jade Neav
</span>
`,title:"Projet Long",level:1,content:`<h1 style="font-size: 2.3rem;">Sphere detection and multimedia applications</h1>
<span class="absolute p-2 text-xs right-0 top-0 opacity-50">
2023-03-09
</span>
<span class="absolute bottom-12 opacity-50">
Laurent Fainsin, Pierre-Eliot Jourdan, Raphaëlle Monville-Letu, Jade Neav
</span>`,frontmatter:{theme:"academic",class:"text-white",coverBackgroundUrl:"https://plus.unsplash.com/premium_photo-1673553304257-018c85e606f8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8",coverBackgroundSource:"unplash",coverBackgroundSourceUrl:"https://unsplash.com/photos/g4I556WCJT0",coverDate:"",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},title:"Projet Long"},index:0,start:0,end:25,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:0,no:1},__clicksElements:[],__preloaded:!1}},{path:"2",name:"page-2",component:Tjn,meta:{slide:{raw:`
# Contents
<div class="h-100 flex items-center text-2xl">
- Types of spheres
- Automatic sphere detection
- Lighting intensity estimation
- Lighting direction estimation
</div>
<figure class="absolute top-15 right-25 w-35">
<img src="https://images.pexels.com/photos/13849458/pexels-photo-13849458.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"/>
<figcaption class="text-center">Architecture</figcaption>
</figure>
<figure class="absolute top-40 right-75 w-50">
<img src="https://images.pexels.com/photos/3945321/pexels-photo-3945321.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"/>
<figcaption class="text-center">Cinema</figcaption>
</figure>
<figure class="absolute top-72 right-30 w-45">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTzg_yM_NbCIYXfZ55WdtFbAtaF7EUGSKSVBQ&usqp=CAU"/>
<figcaption class="text-center">3D Reconstruction</figcaption>
</figure>
<a href="https://www.pexels.com" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">pexels</a>
`,title:"Contents",level:1,content:`# Contents
<div class="h-100 flex items-center text-2xl">
- Types of spheres
- Automatic sphere detection
- Lighting intensity estimation
- Lighting direction estimation
</div>
<figure class="absolute top-15 right-25 w-35">
<img src="https://images.pexels.com/photos/13849458/pexels-photo-13849458.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"/>
<figcaption class="text-center">Architecture</figcaption>
</figure>
<figure class="absolute top-40 right-75 w-50">
<img src="https://images.pexels.com/photos/3945321/pexels-photo-3945321.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"/>
<figcaption class="text-center">Cinema</figcaption>
</figure>
<figure class="absolute top-72 right-30 w-45">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTzg_yM_NbCIYXfZ55WdtFbAtaF7EUGSKSVBQ&usqp=CAU"/>
<figcaption class="text-center">3D Reconstruction</figcaption>
</figure>
<a href="https://www.pexels.com" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">pexels</a>`,frontmatter:{},index:1,start:26,end:55,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:1,no:2},__clicksElements:[],__preloaded:!1}},{path:"3",name:"page-3",component:Ajn,meta:{class:"text-white custombg",slide:{raw:`---
class: text-white custombg
---
<style>
.custombg {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("/assets/spheres.png");
}
</style>
# Types of spheres
`,title:"Types of spheres",level:1,content:`<style>
.custombg {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("/assets/spheres.png");
}
</style>
# Types of spheres`,frontmatter:{class:"text-white custombg"},index:2,start:55,end:70,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:2,no:3},__clicksElements:[],__preloaded:!1}},{path:"4",name:"page-4",component:Ojn,meta:{class:"text-white custombg2",slide:{raw:`---
class: text-white custombg2
---
<style>
.custombg2 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("https://media.caveacademy.com/wp-content/uploads/2021/05/04000307/cave_prop1002_chrome_v001_r001.jpg");
}
</style>
## Chrome sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>
`,title:"Chrome sphere",level:2,content:`<style>
.custombg2 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("https://media.caveacademy.com/wp-content/uploads/2021/05/04000307/cave_prop1002_chrome_v001_r001.jpg");
}
</style>
## Chrome sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>`,frontmatter:{class:"text-white custombg2"},index:3,start:70,end:87,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:3,no:4},__clicksElements:[],__preloaded:!1}},{path:"5",name:"page-5",component:Fjn,meta:{slide:{raw:`
## Acquisition techniques
<div class="h-full flex items-center">
<img src="/assets/capture_hdri.jpg" class="m-auto"/>
</div>
<a href="https://www.youtube.com/watch?v=kwGZa5qTeAI" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Louis du Mont</a>
<!-- https://www.youtube.com/watch?v=HCfHQL4kLnw -->
`,title:"Acquisition techniques",level:2,content:`## Acquisition techniques
<div class="h-full flex items-center">
<img src="/assets/capture_hdri.jpg" class="m-auto"/>
</div>
<a href="https://www.youtube.com/watch?v=kwGZa5qTeAI" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Louis du Mont</a>`,frontmatter:{},note:"https://www.youtube.com/watch?v=HCfHQL4kLnw",index:4,start:88,end:99,noteHTML:`<p>https://www.youtube.com/watch?v=HCfHQL4kLnw</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:4,no:5},__clicksElements:[],__preloaded:!1}},{path:"6",name:"page-6",component:Ujn,meta:{slide:{raw:`
## Realistic lighting
<div class="grid grid-cols-2 col-auto m-auto h-100 gap-1">
<img src="/assets/image-026.png" class="m-auto w-full"/>
<img src="/assets/image-027.png" class="m-auto w-full"/>
</div>
<a href="https://dl.acm.org/doi/pdf/10.1145/1103900.1103914" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">High Dynamic Range Imaging, Paul Debevec</a>
`,title:"Realistic lighting",level:2,content:`## Realistic lighting
<div class="grid grid-cols-2 col-auto m-auto h-100 gap-1">
<img src="/assets/image-026.png" class="m-auto w-full"/>
<img src="/assets/image-027.png" class="m-auto w-full"/>
</div>
<a href="https://dl.acm.org/doi/pdf/10.1145/1103900.1103914" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">High Dynamic Range Imaging, Paul Debevec</a>`,frontmatter:{},index:5,start:100,end:110,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:5,no:6},__clicksElements:[],__preloaded:!1}},{path:"7",name:"page-7",component:Yjn,meta:{class:"text-white custombg3",slide:{raw:`---
class: text-white custombg3
---
<style>
.custombg3 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("/assets/shiny.jpg");
}
</style>
## Shiny sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>
`,title:"Shiny sphere",level:2,content:`<style>
.custombg3 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("/assets/shiny.jpg");
}
</style>
## Shiny sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>`,frontmatter:{class:"text-white custombg3"},index:6,start:110,end:128,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:6,no:7},__clicksElements:[],__preloaded:!1}},{path:"8",name:"page-8",component:Jjn,meta:{class:"text-white custombg4",slide:{raw:`---
class: text-white custombg4
---
<style>
.custombg4 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("https://media.caveacademy.com/wp-content/uploads/2021/05/04000316/cave_prop1002_grey_v001_r001.jpg");
}
</style>
## Matte sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>
`,title:"Matte sphere",level:2,content:`<style>
.custombg4 {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image: url("https://media.caveacademy.com/wp-content/uploads/2021/05/04000316/cave_prop1002_grey_v001_r001.jpg");
}
</style>
## Matte sphere
<a href="https://caveacademy.com/wiki/onset-production/data-acquisition/data-acquisition-training/the-grey-the-chrome-and-the-macbeth-chart/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">CaveAcademy</a>`,frontmatter:{class:"text-white custombg4"},index:7,start:128,end:145,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:7,no:8},__clicksElements:[],__preloaded:!1}},{path:"9",name:"page-9",component:r$n,meta:{slide:{raw:`
# Automatic sphere detection
<div class="h-100 flex items-center text-2xl">
- Model
- Datasets
- Results
- Perspectives
</div>
<!--
So we have a few applications that use spheres, but if we actually want to perform them, we need to know the locations of said spheres.
Well, there is no known traditional method to directly detect spheres (especially chrome spheres) in images,
so we have no choice but to use deep neural networks.
-->
`,title:"Automatic sphere detection",level:1,content:`# Automatic sphere detection
<div class="h-100 flex items-center text-2xl">
- Model
- Datasets
- Results
- Perspectives
</div>`,frontmatter:{},note:`So we have a few applications that use spheres, but if we actually want to perform them, we need to know the locations of said spheres.
Well, there is no known traditional method to directly detect spheres (especially chrome spheres) in images,
so we have no choice but to use deep neural networks.`,index:8,start:146,end:164,noteHTML:`<p>So we have a few applications that use spheres, but if we actually want to perform them, we need to know the locations of said spheres.
Well, there is no known traditional method to directly detect spheres (especially chrome spheres) in images,
so we have no choice but to use deep neural networks.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:8,no:9},__clicksElements:[],__preloaded:!1}},{path:"10",name:"page-10",component:l$n,meta:{slide:{raw:`
## Model
<div class="h-100 flex items-center">
<img src="/assets/DETR.png" class="m-auto"/>
</div>
<a href="https://arxiv.org/abs/2005.12872" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">End-to-End Object Detection with Transformers, arXiv:2005.12872</a>
<!--
Let's do deep learning then !
First we need a model, for our problem we chose DETR, from the paper End-to-End Object Detection with Transformers,
published by facebook research in 2020.
We chose this model since it has proven itself to achieve state of the art performance without too much difficulty.
We also chose this model since it is quite recent, well supported by frameworks,
and mostly because there are publicly available pretrained weights of this model online.
And so here is the architecture of the model, a simple CNN backbone, followed by an encoder-decoder transformer, in turn followed by the prediction heads.
-->
`,title:"Model",level:2,content:`## Model
<div class="h-100 flex items-center">
<img src="/assets/DETR.png" class="m-auto"/>
</div>
<a href="https://arxiv.org/abs/2005.12872" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">End-to-End Object Detection with Transformers, arXiv:2005.12872</a>`,frontmatter:{},note:`Let's do deep learning then !
First we need a model, for our problem we chose DETR, from the paper End-to-End Object Detection with Transformers,
published by facebook research in 2020.
We chose this model since it has proven itself to achieve state of the art performance without too much difficulty.
We also chose this model since it is quite recent, well supported by frameworks,
and mostly because there are publicly available pretrained weights of this model online.
And so here is the architecture of the model, a simple CNN backbone, followed by an encoder-decoder transformer, in turn followed by the prediction heads.`,index:9,start:165,end:186,noteHTML:`<p>Let's do deep learning then !</p>
<p>First we need a model, for our problem we chose DETR, from the paper End-to-End Object Detection with Transformers,
published by facebook research in 2020.
We chose this model since it has proven itself to achieve state of the art performance without too much difficulty.
We also chose this model since it is quite recent, well supported by frameworks,
and mostly because there are publicly available pretrained weights of this model online.</p>
<p>And so here is the architecture of the model, a simple CNN backbone, followed by an encoder-decoder transformer, in turn followed by the prediction heads.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:9,no:10},__clicksElements:[],__preloaded:!1}},{path:"11",name:"page-11",component:p$n,meta:{slide:{raw:`
## Datasets (1/4)
<div class="h-full flex items-center">
<img src="/assets/antoine.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Antoine Laurent</span>
<!--
Secondly we need data, and a lot if possible.
The first dataset we got our hands on were archeological photograph by Antoine Laurent for the purpose of 3D reconstruction for heritage preservation.
This dataset consists of ~1000 images of rocky things in front of rocky dark backgrounds. This dataset was a good start, but had a couple weaknesses. for example it only contained white matte sphere and red & black shiny spheres, no chrome spheres. Also since it was for 3D reconstruction lots of images were "the same" as only the direction of light varied, which made it very prone to overfitting.
-->
`,title:"Datasets (1/4)",level:2,content:`## Datasets (1/4)
<div class="h-full flex items-center">
<img src="/assets/antoine.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Antoine Laurent</span>`,frontmatter:{},note:`Secondly we need data, and a lot if possible.
The first dataset we got our hands on were archeological photograph by Antoine Laurent for the purpose of 3D reconstruction for heritage preservation.
This dataset consists of ~1000 images of rocky things in front of rocky dark backgrounds. This dataset was a good start, but had a couple weaknesses. for example it only contained white matte sphere and red & black shiny spheres, no chrome spheres. Also since it was for 3D reconstruction lots of images were "the same" as only the direction of light varied, which made it very prone to overfitting.`,index:10,start:187,end:203,noteHTML:`<p>Secondly we need data, and a lot if possible.</p>
<p>The first dataset we got our hands on were archeological photograph by Antoine Laurent for the purpose of 3D reconstruction for heritage preservation.
This dataset consists of ~1000 images of rocky things in front of rocky dark backgrounds. This dataset was a good start, but had a couple weaknesses. for example it only contained white matte sphere and red &amp; black shiny spheres, no chrome spheres. Also since it was for 3D reconstruction lots of images were &quot;the same&quot; as only the direction of light varied, which made it very prone to overfitting.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:10,no:11},__clicksElements:[],__preloaded:!1}},{path:"12",name:"page-12",component:_$n,meta:{slide:{raw:`
## Datasets (2/4)
<div class="h-full flex items-center">
<img src="/assets/illumination.webp" class="m-auto h-100"/>
</div>
<a href="https://projects.csail.mit.edu/illumination/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">A Dataset of Multi-Illumination Images in the Wild</a>
<!--
The second dataset we got our hands on is similar to the first one. It is from the paper "A Dataset of Multi-Illumination Images in the Wild" whose purpose was to relight a scene, so nothing to do with what we wanna do, but at least each image contained a chrome and grey sphere. The main weakness of this dataset was that it only had indoor images.
We trained a first model on these two datasets, and it didn't work very well on totally new images. It was clear that this dataset was not enough to achieve generalization.
-->
`,title:"Datasets (2/4)",level:2,content:`## Datasets (2/4)
<div class="h-full flex items-center">
<img src="/assets/illumination.webp" class="m-auto h-100"/>
</div>
<a href="https://projects.csail.mit.edu/illumination/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">A Dataset of Multi-Illumination Images in the Wild</a>`,frontmatter:{},note:`The second dataset we got our hands on is similar to the first one. It is from the paper "A Dataset of Multi-Illumination Images in the Wild" whose purpose was to relight a scene, so nothing to do with what we wanna do, but at least each image contained a chrome and grey sphere. The main weakness of this dataset was that it only had indoor images.
We trained a first model on these two datasets, and it didn't work very well on totally new images. It was clear that this dataset was not enough to achieve generalization.`,index:11,start:204,end:219,noteHTML:`<p>The second dataset we got our hands on is similar to the first one. It is from the paper &quot;A Dataset of Multi-Illumination Images in the Wild&quot; whose purpose was to relight a scene, so nothing to do with what we wanna do, but at least each image contained a chrome and grey sphere. The main weakness of this dataset was that it only had indoor images.</p>
<p>We trained a first model on these two datasets, and it didn't work very well on totally new images. It was clear that this dataset was not enough to achieve generalization.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:11,no:12},__clicksElements:[],__preloaded:!1}},{path:"13",name:"page-13",component:C$n,meta:{slide:{raw:`
## Datasets (3/4)
<div class="h-full flex items-center">
<img src="/assets/compositing.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"><a href="https://cocodataset.org/#home">MS COCO</a> compositing</span>
<!--
So we turned ourself to synthetic dataset.
The first dataset we created was by using compositing, so we basically pasted spheres on top of random images. It worked quite well, but since we do not know the environment around the images we could not paste coherent chrome spheres.
-->
`,title:"Datasets (3/4)",level:2,content:`## Datasets (3/4)
<div class="h-full flex items-center">
<img src="/assets/compositing.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"><a href="https://cocodataset.org/#home">MS COCO</a> compositing</span>`,frontmatter:{},note:`So we turned ourself to synthetic dataset.
The first dataset we created was by using compositing, so we basically pasted spheres on top of random images. It worked quite well, but since we do not know the environment around the images we could not paste coherent chrome spheres.`,index:12,start:220,end:235,noteHTML:`<p>So we turned ourself to synthetic dataset.</p>
<p>The first dataset we created was by using compositing, so we basically pasted spheres on top of random images. It worked quite well, but since we do not know the environment around the images we could not paste coherent chrome spheres.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:12,no:13},__clicksElements:[],__preloaded:!1}},{path:"14",name:"page-14",component:D$n,meta:{slide:{raw:`
## Datasets (4/4)
<div class="h-full flex items-center">
<img src="/assets/render.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">
<a href="https://www.blender.org/">Blender</a>,
<a href="https://polyhaven.com/">PolyHaven</a>
</span>
<!--
We thus made coherents images with blender. coherent reflections, with polyhaven.
sprinkled some light augmentations
-->
`,title:"Datasets (4/4)",level:2,content:`## Datasets (4/4)
<div class="h-full flex items-center">
<img src="/assets/render.webp" class="m-auto h-100"/>
</div>
<span class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">
<a href="https://www.blender.org/">Blender</a>,
<a href="https://polyhaven.com/">PolyHaven</a>
</span>`,frontmatter:{},note:`We thus made coherents images with blender. coherent reflections, with polyhaven.
sprinkled some light augmentations`,index:13,start:236,end:255,noteHTML:`<p>We thus made coherents images with blender. coherent reflections, with polyhaven.</p>
<p>sprinkled some light augmentations</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:13,no:14},__clicksElements:[],__preloaded:!1}},{path:"15",name:"page-15",component:F$n,meta:{slide:{raw:`
## Results (1/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_0.jpg" class="m-auto h-110">
</div>
<!-- standard sphere kinda degraded, still correctly recognized -->
`,title:"Results (1/8)",level:2,content:`## Results (1/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_0.jpg" class="m-auto h-110">
</div>`,frontmatter:{},note:"standard sphere kinda degraded, still correctly recognized",index:14,start:256,end:265,noteHTML:`<p>standard sphere kinda degraded, still correctly recognized</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:14,no:15},__clicksElements:[],__preloaded:!1}},{path:"16",name:"page-16",component:V$n,meta:{slide:{raw:`
## Results (2/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_2.jpg" class="m-auto h-110">
</div>
<!--
occlusion
reflection inside chrome not detected
-->
`,title:"Results (2/8)",level:2,content:`## Results (2/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_2.jpg" class="m-auto h-110">
</div>`,frontmatter:{},note:`occlusion
reflection inside chrome not detected`,index:15,start:266,end:279,noteHTML:`<p>occlusion</p>
<p>reflection inside chrome not detected</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:15,no:16},__clicksElements:[],__preloaded:!1}},{path:"17",name:"page-17",component:K$n,meta:{slide:{raw:`
## Results (3/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_3.jpg" class="m-auto h-110">
</div>
<!--
closeup
-->
`,title:"Results (3/8)",level:2,content:`## Results (3/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_3.jpg" class="m-auto h-110">
</div>`,frontmatter:{},note:"closeup",index:16,start:280,end:291,noteHTML:`<p>closeup</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:16,no:17},__clicksElements:[],__preloaded:!1}},{path:"18",name:"page-18",component:J$n,meta:{slide:{raw:`
## Results (4/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_4.jpg" class="m-auto h-110">
</div>
<!--
detection not so great, though the scene is pretty complex
-->
`,title:"Results (4/8)",level:2,content:`## Results (4/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_4.jpg" class="m-auto h-110">
</div>`,frontmatter:{},note:"detection not so great, though the scene is pretty complex",index:17,start:292,end:303,noteHTML:`<p>detection not so great, though the scene is pretty complex</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:17,no:18},__clicksElements:[],__preloaded:!1}},{path:"19",name:"page-19",component:iHn,meta:{slide:{raw:`
## Results (5/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_5.jpg" class="m-auto h-110">
</div>
`,title:"Results (5/8)",level:2,content:`## Results (5/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_5.jpg" class="m-auto h-110">
</div>`,frontmatter:{},index:18,start:304,end:311,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:18,no:19},__clicksElements:[],__preloaded:!1}},{path:"20",name:"page-20",component:lHn,meta:{slide:{raw:`
## Results (6/8)
<div class="h-full flex items-center">
<img src="/assets/image2_1_0.jpg" class="m-auto h-110">
</div>
`,title:"Results (6/8)",level:2,content:`## Results (6/8)
<div class="h-full flex items-center">
<img src="/assets/image2_1_0.jpg" class="m-auto h-110">
</div>`,frontmatter:{},index:19,start:312,end:319,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:19,no:20},__clicksElements:[],__preloaded:!1}},{path:"21",name:"page-21",component:gHn,meta:{slide:{raw:`
## Results (7/8)
<div class="h-full flex items-center">
<img src="/assets/image2_1_1.jpg" class="m-auto h-110">
</div>
`,title:"Results (7/8)",level:2,content:`## Results (7/8)
<div class="h-full flex items-center">
<img src="/assets/image2_1_1.jpg" class="m-auto h-110">
</div>`,frontmatter:{},index:20,start:320,end:327,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:20,no:21},__clicksElements:[],__preloaded:!1}},{path:"22",name:"page-22",component:wHn,meta:{slide:{raw:`
## Results (8/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_1.jpg" class="m-auto h-110">
</div>
<!--
one false positive, though can be filtered, 0.95 vs 0.99 threshold
-->
`,title:"Results (8/8)",level:2,content:`## Results (8/8)
<div class="h-full flex items-center">
<img src="/assets/image2_0_1.jpg" class="m-auto h-110">
</div>`,frontmatter:{},note:"one false positive, though can be filtered, 0.95 vs 0.99 threshold",index:21,start:328,end:339,noteHTML:`<p>one false positive, though can be filtered, 0.95 vs 0.99 threshold</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:21,no:22},__clicksElements:[],__preloaded:!1}},{path:"23",name:"page-23",component:THn,meta:{slide:{raw:`
## Perspectives
<div class="h-full flex items-center">
<img src="/assets/surface-imperfections.png" class="m-auto h-110"/>
</div>
<a href="https://www.poliigon.com/textures/surface-imperfections" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Poliigon.com</a>
<!--
augmentations inside blender to make spheres more realistic, prb textures scratches, fingerprints...
bigger network resnet 101
alternative architecture, deformable attention, conditionnal detr, dino
-->
`,title:"Perspectives",level:2,content:`## Perspectives
<div class="h-full flex items-center">
<img src="/assets/surface-imperfections.png" class="m-auto h-110"/>
</div>
<a href="https://www.poliigon.com/textures/surface-imperfections" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Poliigon.com</a>`,frontmatter:{},note:`augmentations inside blender to make spheres more realistic, prb textures scratches, fingerprints...
bigger network resnet 101
alternative architecture, deformable attention, conditionnal detr, dino`,index:22,start:340,end:357,noteHTML:`<p>augmentations inside blender to make spheres more realistic, prb textures scratches, fingerprints...</p>
<p>bigger network resnet 101</p>
<p>alternative architecture, deformable attention, conditionnal detr, dino</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:22,no:23},__clicksElements:[],__preloaded:!1}},{path:"24",name:"page-24",component:MHn,meta:{slide:{raw:`
# Lighting intensity estimation
<div class="h-100 flex items-center text-2xl">
- Photometric Stereo
- Lambert Law
- Problem formulation
- Algorithms
- Generated images
- Results
- Perspectives
</div>
<!--
2nd problem = estimate the intensity of the lighting in an image
-> important problem in 3D reconstruction (Photometric Stereo)
-->
`,title:"Lighting intensity estimation",level:1,content:`# Lighting intensity estimation
<div class="h-100 flex items-center text-2xl">
- Photometric Stereo
- Lambert Law
- Problem formulation
- Algorithms
- Generated images
- Results
- Perspectives
</div>`,frontmatter:{},note:`2nd problem = estimate the intensity of the lighting in an image
-> important problem in 3D reconstruction (Photometric Stereo)`,index:23,start:358,end:379,noteHTML:`<p>2nd problem = estimate the intensity of the lighting in an image</p>
<p>-&gt; important problem in 3D reconstruction (Photometric Stereo)</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:23,no:24},__clicksElements:[],__preloaded:!1}},{path:"25",name:"page-25",component:NHn,meta:{slide:{raw:`
## Photometric Stereo
<div class="h-100 flex items-center">
<img src= "https://upload.wikimedia.org/wikipedia/commons/b/b5/Photometric_stereo.png" class="m-auto h-90"/>
</div>
- Estimate the surface normals of an object
- Shiny spheres $\\rightarrow$ direction of the lighting
<a href="https://en.wikipedia.org/wiki/Photometric_stereo" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Wikipedia</a>
<!--
Photometric stereo = technique for estimating the surface normals of objects by observing that object under different lighting conditions
-->
`,title:"Photometric Stereo",level:2,content:`## Photometric Stereo
<div class="h-100 flex items-center">
<img src= "https://upload.wikimedia.org/wikipedia/commons/b/b5/Photometric_stereo.png" class="m-auto h-90"/>
</div>
- Estimate the surface normals of an object
- Shiny spheres $\\rightarrow$ direction of the lighting
<a href="https://en.wikipedia.org/wiki/Photometric_stereo" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Wikipedia</a>`,frontmatter:{},note:"Photometric stereo = technique for estimating the surface normals of objects by observing that object under different lighting conditions",index:24,start:380,end:396,noteHTML:`<p>Photometric stereo = technique for estimating the surface normals of objects by observing that object under different lighting conditions</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:24,no:25},__clicksElements:[],__preloaded:!1}},{path:"26",name:"page-26",component:$Vn,meta:{slide:{raw:`
## Lambert law
<div class="h-100 flex items-center">
<span>
$I(q) = \\rho(Q) \\times \\vec{n}(Q) \\cdot \\vec{s}(Q)$
- $\\rho(Q)$ is the albedo
- $\\vec{n}(Q)$ is the normal vector
- $\\vec{s}(Q) = \\phi \\times \\vec{s_0}(Q)$ is the lighting direction
</span>
</div>
<img src="/assets/stereo.png" class="h-100 absolute right-10 top-10"/>
<a href="https://www.laserfocusworld.com/lasers-sources/article/14035413/photometric-stereo-techniques-analyze-reflections-to-improve-image-contrast" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">LaserFocusWorld</a>
<!--
Q 3D point -> q projection of Q i an image
Albedo = fraction of light that a surface can reflect
-->
`,title:"Lambert law",level:2,content:`## Lambert law
<div class="h-100 flex items-center">
<span>
$I(q) = \\rho(Q) \\times \\vec{n}(Q) \\cdot \\vec{s}(Q)$
- $\\rho(Q)$ is the albedo
- $\\vec{n}(Q)$ is the normal vector
- $\\vec{s}(Q) = \\phi \\times \\vec{s_0}(Q)$ is the lighting direction
</span>
</div>
<img src="/assets/stereo.png" class="h-100 absolute right-10 top-10"/>
<a href="https://www.laserfocusworld.com/lasers-sources/article/14035413/photometric-stereo-techniques-analyze-reflections-to-improve-image-contrast" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">LaserFocusWorld</a>`,frontmatter:{},note:`Q 3D point -> q projection of Q i an image
Albedo = fraction of light that a surface can reflect`,index:25,start:397,end:425,noteHTML:`<p>Q 3D point -&gt; q projection of Q i an image</p>
<p>Albedo = fraction of light that a surface can reflect</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:25,no:26},__clicksElements:[],__preloaded:!1}},{path:"27",name:"page-27",component:qVn,meta:{slide:{raw:`
## Problem formulation
<div class="h-100 flex items-center">
<span>
$N$ lightings, $P$ pixels \\
$\\rightarrow I = M \\times S \\times D_{\\phi}$
- $I \\in \\mathbb{R}^{P \\times N} \\rightarrow$ gray scale levels $\\rightarrow$ known from image pixels
- $M \\in \\mathbb{R}^{P \\times 3} \\rightarrow$ the albedo and the normals $\\rightarrow$ **unknown**
- $S \\in \\mathbb{R}^{3 \\times N} \\rightarrow$ direction of lightings $\\rightarrow$ known from shiny spheres
- $D_{phi} = diag(\\phi_1,...,\\phi_{N}) \\in \\mathbb{R}^{ N \\times N} \\rightarrow$ intensities of lightings $\\rightarrow$ **to be determined**
</span>
</div>
`,title:"Problem formulation",level:2,content:`## Problem formulation
<div class="h-100 flex items-center">
<span>
$N$ lightings, $P$ pixels \\
$\\rightarrow I = M \\times S \\times D_{\\phi}$
- $I \\in \\mathbb{R}^{P \\times N} \\rightarrow$ gray scale levels $\\rightarrow$ known from image pixels
- $M \\in \\mathbb{R}^{P \\times 3} \\rightarrow$ the albedo and the normals $\\rightarrow$ **unknown**
- $S \\in \\mathbb{R}^{3 \\times N} \\rightarrow$ direction of lightings $\\rightarrow$ known from shiny spheres
- $D_{phi} = diag(\\phi_1,...,\\phi_{N}) \\in \\mathbb{R}^{ N \\times N} \\rightarrow$ intensities of lightings $\\rightarrow$ **to be determined**
</span>
</div>`,frontmatter:{},index:26,start:426,end:447,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:26,no:27},__clicksElements:[],__preloaded:!1}},{path:"28",name:"page-28",component:YVn,meta:{slide:{raw:`
## Algorithm 1
<div class="h-100 flex items-center">
<img src="/assets/algo1.svg" class="m-auto h-72"/>
<span>
Intensities : $[\\phi_1,...,\\phi_{N}]$
New values : $\\phi_j \\plusmn \\delta, \\ j \\in [1,..,N]$
Estimation of the matrix $M$
Mean-squared error : $\\underset{\\phi_i}{\\min} || I - M S D_{\\phi} ||_2^2$
Update the value of $\\phi_j$
Repeat previous steps
</span>
</div>
<!--
IDEA : first determine the matrix M and then find the best values for phi
Initialize the intensities phi
For each iteration : fix all the intensities except phi_j
Determine the matrix M
delta -> small increment
Schema = importance of the initialization of intensities -> local/global minimum
-->
`,title:"Algorithm 1",level:2,content:`## Algorithm 1
<div class="h-100 flex items-center">
<img src="/assets/algo1.svg" class="m-auto h-72"/>
<span>
Intensities : $[\\phi_1,...,\\phi_{N}]$
New values : $\\phi_j \\plusmn \\delta, \\ j \\in [1,..,N]$
Estimation of the matrix $M$
Mean-squared error : $\\underset{\\phi_i}{\\min} || I - M S D_{\\phi} ||_2^2$
Update the value of $\\phi_j$
Repeat previous steps
</span>
</div>`,frontmatter:{},note:`IDEA : first determine the matrix M and then find the best values for phi
Initialize the intensities phi
For each iteration : fix all the intensities except phi_j
Determine the matrix M
delta -> small increment
Schema = importance of the initialization of intensities -> local/global minimum`,index:27,start:448,end:485,noteHTML:`<p>IDEA : first determine the matrix M and then find the best values for phi</p>
<p>Initialize the intensities phi</p>
<p>For each iteration : fix all the intensities except phi_j</p>
<p>Determine the matrix M</p>
<p>delta -&gt; small increment</p>
<p>Schema = importance of the initialization of intensities -&gt; local/global minimum</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:27,no:28},__clicksElements:[],__preloaded:!1}},{path:"29",name:"page-29",component:JVn,meta:{slide:{raw:`
## Algorithm 2
<div class="h-100 flex items-center">
<div class="w-full">
Algorithm 1 $\\rightarrow$ too long
$$I = M S D_{\\phi} \\iff M = I(S D_{\\phi})^\\dagger = I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1}$$
Lambert law :
$$
\\begin{align*}
I &= I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1} S D_{\\phi} \\\\
&= I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi}
\\end{align*}
$$
New residual :
$$\\underset{\\phi_i}{\\min} || I - I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi} ||_2^2$$
</div>
</div>
<!--
Too long = 2 for loops + M to estimate twice for each intensity and iteration
Write the Lambert law only as a function of D_phi
Non linear problem = can be solved directly using the Matlab function lsqnonlin()
Execution time = 10 seconds instead of 5 min (for 1000 iterations)
-->
`,title:"Algorithm 2",level:2,content:`## Algorithm 2
<div class="h-100 flex items-center">
<div class="w-full">
Algorithm 1 $\\rightarrow$ too long
$$I = M S D_{\\phi} \\iff M = I(S D_{\\phi})^\\dagger = I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1}$$
Lambert law :
$$
\\begin{align*}
I &= I (S D_{\\phi})^T [(S D_{\\phi})(S D_{\\phi})^T]^{-1} S D_{\\phi} \\\\
&= I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi}
\\end{align*}
$$
New residual :
$$\\underset{\\phi_i}{\\min} || I - I D_{\\phi} S^T S^{-T} D_{\\phi}^{-2} S^{-1} S D_{\\phi} ||_2^2$$
</div>
</div>`,frontmatter:{},note:`Too long = 2 for loops + M to estimate twice for each intensity and iteration
Write the Lambert law only as a function of D_phi
Non linear problem = can be solved directly using the Matlab function lsqnonlin()
Execution time = 10 seconds instead of 5 min (for 1000 iterations)`,index:28,start:486,end:522,noteHTML:`<p>Too long = 2 for loops + M to estimate twice for each intensity and iteration</p>
<p>Write the Lambert law only as a function of D_phi</p>
<p>Non linear problem = can be solved directly using the Matlab function lsqnonlin()</p>
<p>Execution time = 10 seconds instead of 5 min (for 1000 iterations)</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:28,no:29},__clicksElements:[],__preloaded:!1}},{path:"30",name:"page-30",component:hqn,meta:{slide:{raw:`
## Generated images
<div class="grid grid-cols-4 col-auto h-110 m-auto">
<img src="/assets/im2.jpg" class="m-auto h-50"/>
<img src="/assets/im3.jpg" class="m-auto h-50"/>
<img src="/assets/im4.jpg" class="m-auto h-50"/>
<img src="/assets/im5.jpg" class="m-auto h-50"/>
<img src="/assets/im12.jpg" class="m-auto h-50"/>
<img src="/assets/im13.jpg" class="m-auto h-50"/>
<img src="/assets/im14.jpg" class="m-auto h-50"/>
<img src="/assets/im15.jpg" class="m-auto h-50"/>
</div>
<!--
Generated images of shiny half-spheres under 9 different lightings
4 different directions here + different intensities
500 by 500 pixels
As we know the intensities = verify that our algorithm works on generated data
-->
`,title:"Generated images",level:2,content:`## Generated images
<div class="grid grid-cols-4 col-auto h-110 m-auto">
<img src="/assets/im2.jpg" class="m-auto h-50"/>
<img src="/assets/im3.jpg" class="m-auto h-50"/>
<img src="/assets/im4.jpg" class="m-auto h-50"/>
<img src="/assets/im5.jpg" class="m-auto h-50"/>
<img src="/assets/im12.jpg" class="m-auto h-50"/>
<img src="/assets/im13.jpg" class="m-auto h-50"/>
<img src="/assets/im14.jpg" class="m-auto h-50"/>
<img src="/assets/im15.jpg" class="m-auto h-50"/>
</div>`,frontmatter:{},note:`Generated images of shiny half-spheres under 9 different lightings
4 different directions here + different intensities
500 by 500 pixels
As we know the intensities = verify that our algorithm works on generated data`,index:29,start:523,end:548,noteHTML:`<p>Generated images of shiny half-spheres under 9 different lightings</p>
<p>4 different directions here + different intensities</p>
<p>500 by 500 pixels</p>
<p>As we know the intensities = verify that our algorithm works on generated data</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:29,no:30},__clicksElements:[],__preloaded:!1}},{path:"31",name:"page-31",component:vqn,meta:{slide:{raw:`
## Results (1/2)
<div class="h-100 flex items-center">
<img src="/assets/residu_4.jpg" class="m-auto w-full"/>
<img src="/assets/residu2d_3.jpg" class="m-auto w-full"/>
</div>
<!--
Plot the residual as a function of 1 or 2 intensities
Show the existence of a minimum for the real value of the intensity
-->
`,title:"Results (1/2)",level:2,content:`## Results (1/2)
<div class="h-100 flex items-center">
<img src="/assets/residu_4.jpg" class="m-auto w-full"/>
<img src="/assets/residu2d_3.jpg" class="m-auto w-full"/>
</div>`,frontmatter:{},note:`Plot the residual as a function of 1 or 2 intensities
Show the existence of a minimum for the real value of the intensity`,index:30,start:549,end:563,noteHTML:`<p>Plot the residual as a function of 1 or 2 intensities</p>
<p>Show the existence of a minimum for the real value of the intensity</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:30,no:31},__clicksElements:[],__preloaded:!1}},{path:"32",name:"page-32",component:xqn,meta:{slide:{raw:`
## Results (2/2)
<div class="h-100 flex items-center">
<img src="/assets/resultats_finaux.jpg" class="m-auto h-110"/>
</div>
<!--
Fix intensity 1 and determine the 8 other intensities
Blue = real / Orange = found => convincing
-->
`,title:"Results (2/2)",level:2,content:`## Results (2/2)
<div class="h-100 flex items-center">
<img src="/assets/resultats_finaux.jpg" class="m-auto h-110"/>
</div>`,frontmatter:{},note:`Fix intensity 1 and determine the 8 other intensities
Blue = real / Orange = found => convincing`,index:31,start:564,end:577,noteHTML:`<p>Fix intensity 1 and determine the 8 other intensities</p>
<p>Blue = real / Orange = found =&gt; convincing</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:31,no:32},__clicksElements:[],__preloaded:!1}},{path:"33",name:"page-33",component:Cqn,meta:{slide:{raw:`
## Real images
<div class="h-full flex items-center">
<img src="/assets/raph/real_images.svg" class="m-auto h-full"/>
</div>
<!--
Real data : 1 tapestry of a comet + sculpture
12 different lightings for 1st / 17 for 2nd
Big size of the images = need to crop -> selection of the region in red (1000 by 1000 pixels)
No knowledge on the intensities = to be determined
-->
`,title:"Real images",level:2,content:`## Real images
<div class="h-full flex items-center">
<img src="/assets/raph/real_images.svg" class="m-auto h-full"/>
</div>`,frontmatter:{},note:`Real data : 1 tapestry of a comet + sculpture
12 different lightings for 1st / 17 for 2nd
Big size of the images = need to crop -> selection of the region in red (1000 by 1000 pixels)
No knowledge on the intensities = to be determined`,index:32,start:578,end:595,noteHTML:`<p>Real data : 1 tapestry of a comet + sculpture</p>
<p>12 different lightings for 1st / 17 for 2nd</p>
<p>Big size of the images = need to crop -&gt; selection of the region in red (1000 by 1000 pixels)</p>
<p>No knowledge on the intensities = to be determined</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:32,no:33},__clicksElements:[],__preloaded:!1}},{path:"34",name:"page-34",component:Dqn,meta:{slide:{raw:`
## Results
<div class="h-100 flex items-center">
<img src="/assets/comete.svg" class="m-auto w-full"/>
<img src="/assets/stsernin.svg" class="m-auto w-full"/>
</div>
<!--
Values are coherent with the lighting condictions we can observe on the images
-->`,title:"Results",level:2,content:`## Results
<div class="h-100 flex items-center">
<img src="/assets/comete.svg" class="m-auto w-full"/>
<img src="/assets/stsernin.svg" class="m-auto w-full"/>
</div>`,frontmatter:{},note:"Values are coherent with the lighting condictions we can observe on the images",index:33,start:596,end:607,noteHTML:`<p>Values are coherent with the lighting condictions we can observe on the images</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:33,no:34},__clicksElements:[],__preloaded:!1}},{path:"35",name:"page-35",component:jqn,meta:{slide:{raw:`
## Perspectives
3D reconstruction
<img src="/assets/3d_estimation.svg" class="m-auto w-full"/>
<!--
Main use = Photometric Stereo
TP => script to compute the surface normals of the object
Results are not very satisfactory (pringles != half-sphere) maybe a problem of coordinate system ?
To be improved in a future work...-->
`,title:"Perspectives",level:2,content:`## Perspectives
3D reconstruction
<img src="/assets/3d_estimation.svg" class="m-auto w-full"/>`,frontmatter:{},note:`Main use = Photometric Stereo
TP => script to compute the surface normals of the object
Results are not very satisfactory (pringles != half-sphere) maybe a problem of coordinate system ?
To be improved in a future work...`,index:34,start:608,end:624,noteHTML:`<p>Main use = Photometric Stereo</p>
<p>TP =&gt; script to compute the surface normals of the object</p>
<p>Results are not very satisfactory (pringles != half-sphere) maybe a problem of coordinate system ?</p>
<p>To be improved in a future work...</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:34,no:35},__clicksElements:[],__preloaded:!1}},{path:"36",name:"page-36",component:Vqn,meta:{slide:{raw:`
# Lighting direction estimation
<div class="h-100 flex items-center text-2xl">
- Estimation of lighting vector
- Neural Network
- Real data
- Generated data
- Results
- Perspectives
</div>
`,title:"Lighting direction estimation",level:1,content:`# Lighting direction estimation
<div class="h-100 flex items-center text-2xl">
- Estimation of lighting vector
- Neural Network
- Real data
- Generated data
- Results
- Perspectives
</div>`,frontmatter:{},index:35,start:625,end:639,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:35,no:36},__clicksElements:[],__preloaded:!1}},{path:"37",name:"page-37",component:pUn,meta:{slide:{raw:`
## Estimation of lighting vector
<style>
.mermaid {
margin: auto;
width: 75%;
}
</style>
<div class="h-100 flex items-center">
\`\`\`mermaid
flowchart LR
id1[Bounding box of the sphere]
id2[Deduce the normals]
id3[Resolution of I = s * n]
id1 --> id2
id2 --> id3
\`\`\`
</div>
`,title:"Estimation of lighting vector",level:2,content:`## Estimation of lighting vector
<style>
.mermaid {
margin: auto;
width: 75%;
}
</style>
<div class="h-100 flex items-center">
\`\`\`mermaid
flowchart LR
id1[Bounding box of the sphere]
id2[Deduce the normals]
id3[Resolution of I = s * n]
id1 --> id2
id2 --> id3
\`\`\`
</div>`,frontmatter:{},index:36,start:640,end:664,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:36,no:37},__clicksElements:[],__preloaded:!1}},{path:"38",name:"page-38",component:yUn,meta:{slide:{raw:`
## Neural Network
<div class="h-100 flex items-center">
<img src="/assets/raph/neural_network.svg" class="m-auto w-full"/>
</div>
`,title:"Neural Network",level:2,content:`## Neural Network
<div class="h-100 flex items-center">
<img src="/assets/raph/neural_network.svg" class="m-auto w-full"/>
</div>`,frontmatter:{},index:37,start:665,end:672,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:37,no:38},__clicksElements:[],__preloaded:!1}},{path:"39",name:"page-39",component:EUn,meta:{slide:{raw:`
## ResNet-50
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/resnet_architecture.png" class="m-auto h-full"/>
`,title:"ResNet-50",level:2,content:`## ResNet-50
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/resnet_architecture.png" class="m-auto h-full"/>`,frontmatter:{},index:38,start:673,end:678,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:38,no:39},__clicksElements:[],__preloaded:!1}},{path:"40",name:"page-40",component:MUn,meta:{slide:{raw:`
## Real data : creation of mask
<img src="/assets/raph/mask_crea.svg" class="m-auto h-full"/>
`,title:"Real data : creation of mask",level:2,content:`## Real data : creation of mask
<img src="/assets/raph/mask_crea.svg" class="m-auto h-full"/>`,frontmatter:{},index:39,start:679,end:684,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:39,no:40},__clicksElements:[],__preloaded:!1}},{path:"41",name:"page-41",component:BUn,meta:{slide:{raw:`
## Generated data with blender
<style>
table, td, th, tr {
  border: none !important;
border-collapse: collapse !important;
border-style: none !important;
background-color: unset !important;
overflow: hidden;
margin: auto;
text-align: center;
}
</style>
<table>
<tr>
<td>Simulated matte spheres</td>
<td><img src="/assets/raph/matte_ball_3.png" class="m-auto h-50"></td>
<td><img src="/assets/raph/matte_ball.png" class="m-auto h-50"></td>
</tr>
<tr>
<td>Generated data with different lightings</td>
<td><img src="/assets/raph/auto_82.png" class="m-auto h-50"></td>
<td><img src="/assets/raph/auto_91.png" class="m-auto h-50"></td>
</tr>
</table>
`,title:"Generated data with blender",level:2,content:`## Generated data with blender
<style>
table, td, th, tr {
  border: none !important;
border-collapse: collapse !important;
border-style: none !important;
background-color: unset !important;
overflow: hidden;
margin: auto;
text-align: center;
}
</style>
<table>
<tr>
<td>Simulated matte spheres</td>
<td><img src="/assets/raph/matte_ball_3.png" class="m-auto h-50"></td>
<td><img src="/assets/raph/matte_ball.png" class="m-auto h-50"></td>
</tr>
<tr>
<td>Generated data with different lightings</td>
<td><img src="/assets/raph/auto_82.png" class="m-auto h-50"></td>
<td><img src="/assets/raph/auto_91.png" class="m-auto h-50"></td>
</tr>
</table>`,frontmatter:{},index:40,start:685,end:713,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:40,no:41},__clicksElements:[],__preloaded:!1}},{path:"42",name:"page-42",component:zUn,meta:{slide:{raw:`
## Results
<img src="/assets/raph/results.png" class="m-auto h-full"/>
`,title:"Results",level:2,content:`## Results
<img src="/assets/raph/results.png" class="m-auto h-full"/>`,frontmatter:{},index:41,start:714,end:719,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:41,no:42},__clicksElements:[],__preloaded:!1}},{path:"43",name:"page-43",component:GUn,meta:{slide:{raw:`
## Perspectives
<div class="h-100 flex items-center">
<span>
- Create more data to prevent overfitting
- Diversify the types of data lighting (more than 8 directions)
- Transform the model into something more general: \\
$\\rightarrow$ from {image of sphere, vector lighting} to {image of objects, vector lighting}
</span>
</div>`,title:"Perspectives",level:2,content:`## Perspectives
<div class="h-100 flex items-center">
<span>
- Create more data to prevent overfitting
- Diversify the types of data lighting (more than 8 directions)
- Transform the model into something more general: \\
$\\rightarrow$ from {image of sphere, vector lighting} to {image of objects, vector lighting}
</span>
</div>`,frontmatter:{},index:42,start:720,end:733,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/slides.md",id:42,no:43},__clicksElements:[],__preloaded:!1}},{path:"44",component:JFn,meta:{layout:"end"}}],r0=WUn,BX=[{name:"play",path:"/",component:xBn,children:[...r0]},{name:"print",path:"/print",component:XFn},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}];{let g=function(w){if(!RX.remote||RX.remote===w.query.password)return!0;if(RX.remote&&w.query.password===void 0){const T=prompt("Enter password");if(RX.remote===T)return!0}return w.params.no?{path:`/${w.params.no}`}:{path:""}};BX.push({path:"/presenter/print",component:()=>ZT(()=>import("./PresenterPrint-6f55d36f.js"),["assets/PresenterPrint-6f55d36f.js","assets/NoteDisplay-39559114.js"])}),BX.push({name:"notes",path:"/notes",component:()=>ZT(()=>import("./NotesView-a986f3e2.js"),["assets/NotesView-a986f3e2.js","assets/NoteDisplay-39559114.js"]),beforeEnter:g}),BX.push({name:"presenter",path:"/presenter/:no",component:()=>ZT(()=>import("./Presenter-2516abd1.js"),["assets/Presenter-2516abd1.js","assets/NoteDisplay-39559114.js","assets/DrawingControls-f024b6c9.js","assets/Presenter-bfcdcc16.css"]),beforeEnter:g}),BX.push({path:"/presenter",redirect:{path:"/presenter/1"}})}const Fb=UDn({history:qOn("/projet-long/"),routes:BX});function KUn(g,w,{mode:T="replace"}={}){return Fr({get(){const D=Fb.currentRoute.value.query[g];return D==null?w??null:Array.isArray(D)?D.filter(Boolean):D},set(D){vp(()=>{Fb[Hn(T)]({query:{...Fb.currentRoute.value.query,[g]:D}})})}})}const YAt=Is(0);vp(()=>{Fb.afterEach(async()=>{await vp(),YAt.value+=1})});const XAt=Is(0),m3=Fr(()=>Fb.currentRoute.value),CF=Fr(()=>m3.value.query.print!==void 0),YUn=Fr(()=>m3.value.query.print==="clicks"),z8=Fr(()=>m3.value.query.embedded!==void 0),Rb=Fr(()=>m3.value.path.startsWith("/presenter")),XUn=Fr(()=>m3.value.path.startsWith("/notes")),qX=Fr(()=>CF.value&&!YUn.value),zRe=Fr(()=>m3.value.query.password),QUn=Fr(()=>!Rb.value&&(!gu.remote||zRe.value===gu.remote)),WTt=KUn("clicks","0"),QAt=Fr(()=>r0.length-1),ZUn=Fr(()=>m3.value.path),Qd=Fr(()=>parseInt(ZUn.value.split(/\//g).slice(-1)[0])||1);Fr(()=>sve(Qd.value));const sv=Fr(()=>r0.find(g=>g.path===`${Qd.value}`));Fr(()=>{var g,w,T;return(T=(w=(g=sv.value)==null?void 0:g.meta)==null?void 0:w.slide)==null?void 0:T.id});Fr(()=>{var g,w;return((w=(g=sv.value)==null?void 0:g.meta)==null?void 0:w.layout)||(Qd.value===1?"cover":"default")});const YNe=Fr(()=>r0.find(g=>g.path===`${Math.min(r0.length,Qd.value+1)}`)),JUn=Fr(()=>r0.find(g=>g.path===`${Math.max(1,Qd.value-1)}`)),eGn=Fr(()=>{var g,w;return YAt.value,((w=(g=sv.value)==null?void 0:g.meta)==null?void 0:w.__clicksElements)||[]}),d3=Fr({get(){if(qX.value)return 99999;let g=+(WTt.value||0);return isNaN(g)&&(g=0),g},set(g){WTt.value=g.toString()}}),Bme=Fr(()=>{var g,w;return+(((w=(g=sv.value)==null?void 0:g.meta)==null?void 0:w.clicks)??eGn.value.length)}),tGn=Fr(()=>Qd.value<r0.length-1||d3.value<Bme.value),nGn=Fr(()=>Qd.value>1||d3.value>0),rGn=Fr(()=>r0.filter(g=>{var w,T;return(T=(w=g.meta)==null?void 0:w.slide)==null?void 0:T.title}).reduce((g,w)=>(HBe(g,w),g),[])),iGn=Fr(()=>zBe(rGn.value,sv.value));Fr(()=>VBe(iGn.value));const sGn=Fr(()=>uGn(XAt.value,sv.value,JUn.value));jc(sv,(g,w)=>{XAt.value=Number(g==null?void 0:g.path)-Number(w==null?void 0:w.path)});function JT(){Bme.value<=d3.value?lQ():d3.value+=1}async function eS(){d3.value<=0?await uQ():d3.value-=1}function sve(g){return Rb.value?`/presenter/${g}`:`/${g}`}function lQ(){const g=Math.min(r0.length,Qd.value+1);return AF(g)}async function uQ(g=!0){const w=Math.max(1,Qd.value-1);await AF(w),g&&Bme.value&&Fb.replace({query:{...m3.value.query,clicks:Bme.value}})}function AF(g,w){return Fb.push({path:sve(g),query:{...m3.value.query,clicks:w}})}function aGn(g){const w=Is(0),{direction:T,distanceX:D,distanceY:H}=cOn(g,{onSwipeStart(U){U.pointerType==="touch"&&(aQ.value||(w.value=CRe()))},onSwipeEnd(U){if(U.pointerType!=="touch"||!w.value||aQ.value)return;const Q=Math.abs(D.value),ie=Math.abs(H.value);Q/window.innerWidth>.3||Q>100?T.value===U8.LEFT?JT():eS():(ie/window.innerHeight>.4||ie>200)&&(T.value===U8.DOWN?uQ():lQ())}})}async function VRe(){const{saveAs:g}=await ZT(()=>import("./FileSaver.min-efd36d9f.js").then(w=>w.F),[]);g(JCt(gu.download)?gu.download:gu.exportFilename?`${gu.exportFilename}.pdf`:"/projet-long/slidev-exported.pdf",`${gu.title}.pdf`)}async function oGn(g){var w,T;if(g==null){const D=(T=(w=sv.value)==null?void 0:w.meta)==null?void 0:T.slide;if(!(D!=null&&D.filepath))return!1;g=`${D.filepath}:${D.start}`}return await fetch(`/__open-in-editor?file=${encodeURIComponent(g)}`),!0}function HBe(g,w,T=1){var H,U,Q,ie,he;const D=(U=(H=w.meta)==null?void 0:H.slide)==null?void 0:U.level;D&&D>T&&g.length>0?HBe(g[g.length-1].children,w,T+1):g.push({children:[],level:T,path:w.path,hideInToc:Boolean((Q=w.meta)==null?void 0:Q.hideInToc),title:(he=(ie=w.meta)==null?void 0:ie.slide)==null?void 0:he.title})}function zBe(g,w,T=!1,D){return g.map(H=>{const U={...H,active:H.path===(w==null?void 0:w.path),hasActiveParent:T};return U.children.length>0&&(U.children=zBe(U.children,w,U.active||U.hasActiveParent,U)),D&&(U.active||U.activeParent)&&(D.activeParent=!0),U})}function VBe(g,w=1){return g.filter(T=>!T.hideInToc).map(T=>({...T,children:VBe(T.children,w+1)}))}const cGn={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function lGn(g,w=!1){if(!g||(typeof g=="string"&&(g={name:g}),!g.name))return;let T=g.name.includes("|")?g.name:cGn[g.name]||g.name;if(T.includes("|")){const[D,H]=T.split("|").map(U=>U.trim());T=w?H:D}if(T)return{...g,name:T}}function uGn(g,w,T){var H,U;let D=g>0?(H=T==null?void 0:T.meta)==null?void 0:H.transition:(U=w==null?void 0:w.meta)==null?void 0:U.transition;return D||(D=gu.transition),lGn(D,g<0)}function hGn(){const g=gu.titleTemplate.replace("%s",gu.title||"Slidev");ABe({title:g}),SLn(gu.htmlAttrs),$Ln(`${g} - shared`),qLn(`${g} - drawings`);const w=`${location.origin}_${NLn()}`;function T(){XUn.value||!Rb.value&&!ILn.includes(location.host.split(":")[0])||(Rb.value?(SX("page",+Qd.value),SX("clicks",d3.value)):(SX("viewerPage",+Qd.value),SX("viewerClicks",d3.value)),SX("lastUpdate",{id:w,type:Rb.value?"presenter":"viewer",time:new Date().getTime()}))}Fb.afterEach(T),jc(d3,T),HLn(D=>{var U;Fb.currentRoute.value.path.match(/^\/(\d+|presenter)\/?/)&&((U=D.lastUpdate)==null?void 0:U.type)==="presenter"&&(+D.page!=+Qd.value||+d3.value!=+D.clicks)&&Fb.replace({path:sve(D.page),query:{...Fb.currentRoute.value.query,clicks:D.clicks||0}})})}const fGn=mu({__name:"App",setup(g){return os(Os),hGn(),(w,T)=>{const D=Tme("RouterView"),H=Tme("StarportCarrier");return tr(),Ls(zu,null,[Pa(D),Pa(H)],64)}}}),dGn=Ps(fGn,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/Projet-long/prez/node_modules/@slidev/client/App.vue"]]);function XNe(g){return g!==null&&typeof g=="object"}function qRe(g,w,T=".",D){if(!XNe(w))return qRe(g,{},T,D);const H=Object.assign({},w);for(const U in g){if(U==="__proto__"||U==="constructor")continue;const Q=g[U];Q!=null&&(D&&D(H,U,Q,T)||(Array.isArray(Q)&&Array.isArray(H[U])?H[U]=[...Q,...H[U]]:XNe(Q)&&XNe(H[U])?H[U]=qRe(Q,H[U],(T?`${T}.`:"")+U.toString(),D):H[U]=Q))}return H}function gGn(g){return(...w)=>w.reduce((T,D)=>qRe(T,D,"",g),{})}const pGn=gGn(),ZAt=1/60*1e3,mGn=typeof performance<"u"?()=>performance.now():()=>Date.now(),JAt=typeof window<"u"?g=>window.requestAnimationFrame(g):g=>setTimeout(()=>g(mGn()),ZAt);function vGn(g){let w=[],T=[],D=0,H=!1,U=!1;const Q=new WeakSet,ie={schedule:(he,ne=!1,Be=!1)=>{const He=Be&&H,Ye=He?w:T;return ne&&Q.add(he),Ye.indexOf(he)===-1&&(Ye.push(he),He&&H&&(D=w.length)),he},cancel:he=>{const ne=T.indexOf(he);ne!==-1&&T.splice(ne,1),Q.delete(he)},process:he=>{if(H){U=!0;return}if(H=!0,[w,T]=[T,w],T.length=0,D=w.length,D)for(let ne=0;ne<D;ne++){const Be=w[ne];Be(he),Q.has(Be)&&(ie.schedule(Be),g())}H=!1,U&&(U=!1,ie.process(he))}};return ie}const bGn=40;let URe=!0,hQ=!1,GRe=!1;const xF={delta:0,timestamp:0},_Q=["read","update","preRender","render","postRender"],ave=_Q.reduce((g,w)=>(g[w]=vGn(()=>hQ=!0),g),{}),WRe=_Q.reduce((g,w)=>{const T=ave[w];return g[w]=(D,H=!1,U=!1)=>(hQ||_Gn(),T.schedule(D,H,U)),g},{}),wGn=_Q.reduce((g,w)=>(g[w]=ave[w].cancel,g),{});_Q.reduce((g,w)=>(g[w]=()=>ave[w].process(xF),g),{});const yGn=g=>ave[g].process(xF),eMt=g=>{hQ=!1,xF.delta=URe?ZAt:Math.max(Math.min(g-xF.timestamp,bGn),1),xF.timestamp=g,GRe=!0,_Q.forEach(yGn),GRe=!1,hQ&&(URe=!1,JAt(eMt))},_Gn=()=>{hQ=!0,URe=!0,GRe||JAt(eMt)},tMt=()=>xF;function nMt(g,w){var T={};for(var D in g)Object.prototype.hasOwnProperty.call(g,D)&&w.indexOf(D)<0&&(T[D]=g[D]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,D=Object.getOwnPropertySymbols(g);H<D.length;H++)w.indexOf(D[H])<0&&Object.prototype.propertyIsEnumerable.call(g,D[H])&&(T[D[H]]=g[D[H]]);return T}var qBe=function(){},fQ=function(){};qBe=function(g,w){!g&&typeof console<"u"&&console.warn(w)},fQ=function(g,w){if(!g)throw new Error(w)};const KRe=(g,w,T)=>Math.min(Math.max(T,g),w),QNe=.001,xGn=.01,KTt=10,kGn=.05,EGn=1;function TGn({duration:g=800,bounce:w=.25,velocity:T=0,mass:D=1}){let H,U;qBe(g<=KTt*1e3,"Spring duration must be 10 seconds or less");let Q=1-w;Q=KRe(kGn,EGn,Q),g=KRe(xGn,KTt,g/1e3),Q<1?(H=ne=>{const Be=ne*Q,He=Be*g,Ye=Be-T,xt=YRe(ne,Q),ft=Math.exp(-He);return QNe-Ye/xt*ft},U=ne=>{const He=ne*Q*g,Ye=He*T+T,xt=Math.pow(Q,2)*Math.pow(ne,2)*g,ft=Math.exp(-He),Jt=YRe(Math.pow(ne,2),Q);return(-H(ne)+QNe>0?-1:1)*((Ye-xt)*ft)/Jt}):(H=ne=>{const Be=Math.exp(-ne*g),He=(ne-T)*g+1;return-QNe+Be*He},U=ne=>{const Be=Math.exp(-ne*g),He=(T-ne)*(g*g);return Be*He});const ie=5/g,he=CGn(H,U,ie);if(g=g*1e3,isNaN(he))return{stiffness:100,damping:10,duration:g};{const ne=Math.pow(he,2)*D;return{stiffness:ne,damping:Q*2*Math.sqrt(D*ne),duration:g}}}const SGn=12;function CGn(g,w,T){let D=T;for(let H=1;H<SGn;H++)D=D-g(D)/w(D);return D}function YRe(g,w){return g*Math.sqrt(1-w*w)}const AGn=["duration","bounce"],MGn=["stiffness","damping","mass"];function YTt(g,w){return w.some(T=>g[T]!==void 0)}function LGn(g){let w=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},g);if(!YTt(g,MGn)&&YTt(g,AGn)){const T=TGn(g);w=Object.assign(Object.assign(Object.assign({},w),T),{velocity:0,mass:1}),w.isResolvedFromDuration=!0}return w}function UBe(g){var{from:w=0,to:T=1,restSpeed:D=2,restDelta:H}=g,U=nMt(g,["from","to","restSpeed","restDelta"]);const Q={done:!1,value:w};let{stiffness:ie,damping:he,mass:ne,velocity:Be,duration:He,isResolvedFromDuration:Ye}=LGn(U),xt=XTt,ft=XTt;function Jt(){const Cn=Be?-(Be/1e3):0,lr=T-w,Dn=he/(2*Math.sqrt(ie*ne)),Vn=Math.sqrt(ie/ne)/1e3;if(H===void 0&&(H=Math.min(Math.abs(T-w)/100,.4)),Dn<1){const ur=YRe(Vn,Dn);xt=ti=>{const xi=Math.exp(-Dn*Vn*ti);return T-xi*((Cn+Dn*Vn*lr)/ur*Math.sin(ur*ti)+lr*Math.cos(ur*ti))},ft=ti=>{const xi=Math.exp(-Dn*Vn*ti);return Dn*Vn*xi*(Math.sin(ur*ti)*(Cn+Dn*Vn*lr)/ur+lr*Math.cos(ur*ti))-xi*(Math.cos(ur*ti)*(Cn+Dn*Vn*lr)-ur*lr*Math.sin(ur*ti))}}else if(Dn===1)xt=ur=>T-Math.exp(-Vn*ur)*(lr+(Cn+Vn*lr)*ur);else{const ur=Vn*Math.sqrt(Dn*Dn-1);xt=ti=>{const xi=Math.exp(-Dn*Vn*ti),gs=Math.min(ur*ti,300);return T-xi*((Cn+Dn*Vn*lr)*Math.sinh(gs)+ur*lr*Math.cosh(gs))/ur}}}return Jt(),{next:Cn=>{const lr=xt(Cn);if(Ye)Q.done=Cn>=He;else{const Dn=ft(Cn)*1e3,Vn=Math.abs(Dn)<=D,ur=Math.abs(T-lr)<=H;Q.done=Vn&&ur}return Q.value=Q.done?T:lr,Q},flipTarget:()=>{Be=-Be,[w,T]=[T,w],Jt()}}}UBe.needsInterpolation=(g,w)=>typeof g=="string"||typeof w=="string";const XTt=g=>0,rMt=(g,w,T)=>{const D=w-g;return D===0?1:(T-g)/D},GBe=(g,w,T)=>-T*g+T*w+g,iMt=(g,w)=>T=>Math.max(Math.min(T,w),g),UX=g=>g%1?Number(g.toFixed(5)):g,dQ=/(-)?([\d]*\.?[\d])+/g,XRe=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,IGn=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xQ(g){return typeof g=="string"}const kQ={test:g=>typeof g=="number",parse:parseFloat,transform:g=>g},GX=Object.assign(Object.assign({},kQ),{transform:iMt(0,1)}),rme=Object.assign(Object.assign({},kQ),{default:1}),WBe=g=>({test:w=>xQ(w)&&w.endsWith(g)&&w.split(" ").length===1,parse:parseFloat,transform:w=>`${w}${g}`}),jI=WBe("deg"),WX=WBe("%"),Wc=WBe("px"),QTt=Object.assign(Object.assign({},WX),{parse:g=>WX.parse(g)/100,transform:g=>WX.transform(g*100)}),KBe=(g,w)=>T=>Boolean(xQ(T)&&IGn.test(T)&&T.startsWith(g)||w&&Object.prototype.hasOwnProperty.call(T,w)),sMt=(g,w,T)=>D=>{if(!xQ(D))return D;const[H,U,Q,ie]=D.match(dQ);return{[g]:parseFloat(H),[w]:parseFloat(U),[T]:parseFloat(Q),alpha:ie!==void 0?parseFloat(ie):1}},KI={test:KBe("hsl","hue"),parse:sMt("hue","saturation","lightness"),transform:({hue:g,saturation:w,lightness:T,alpha:D=1})=>"hsla("+Math.round(g)+", "+WX.transform(UX(w))+", "+WX.transform(UX(T))+", "+UX(GX.transform(D))+")"},OGn=iMt(0,255),ZNe=Object.assign(Object.assign({},kQ),{transform:g=>Math.round(OGn(g))}),WT={test:KBe("rgb","red"),parse:sMt("red","green","blue"),transform:({red:g,green:w,blue:T,alpha:D=1})=>"rgba("+ZNe.transform(g)+", "+ZNe.transform(w)+", "+ZNe.transform(T)+", "+UX(GX.transform(D))+")"};function DGn(g){let w="",T="",D="",H="";return g.length>5?(w=g.substr(1,2),T=g.substr(3,2),D=g.substr(5,2),H=g.substr(7,2)):(w=g.substr(1,1),T=g.substr(2,1),D=g.substr(3,1),H=g.substr(4,1),w+=w,T+=T,D+=D,H+=H),{red:parseInt(w,16),green:parseInt(T,16),blue:parseInt(D,16),alpha:H?parseInt(H,16)/255:1}}const QRe={test:KBe("#"),parse:DGn,transform:WT.transform},Pb={test:g=>WT.test(g)||QRe.test(g)||KI.test(g),parse:g=>WT.test(g)?WT.parse(g):KI.test(g)?KI.parse(g):QRe.parse(g),transform:g=>xQ(g)?g:g.hasOwnProperty("red")?WT.transform(g):KI.transform(g)},aMt="${c}",oMt="${n}";function PGn(g){var w,T,D,H;return isNaN(g)&&xQ(g)&&((T=(w=g.match(dQ))===null||w===void 0?void 0:w.length)!==null&&T!==void 0?T:0)+((H=(D=g.match(XRe))===null||D===void 0?void 0:D.length)!==null&&H!==void 0?H:0)>0}function cMt(g){typeof g=="number"&&(g=`${g}`);const w=[];let T=0;const D=g.match(XRe);D&&(T=D.length,g=g.replace(XRe,aMt),w.push(...D.map(Pb.parse)));const H=g.match(dQ);return H&&(g=g.replace(dQ,oMt),w.push(...H.map(kQ.parse))),{values:w,numColors:T,tokenised:g}}function lMt(g){return cMt(g).values}function uMt(g){const{values:w,numColors:T,tokenised:D}=cMt(g),H=w.length;return U=>{let Q=D;for(let ie=0;ie<H;ie++)Q=Q.replace(ie<T?aMt:oMt,ie<T?Pb.transform(U[ie]):UX(U[ie]));return Q}}const NGn=g=>typeof g=="number"?0:g;function RGn(g){const w=lMt(g);return uMt(g)(w.map(NGn))}const EQ={test:PGn,parse:lMt,createTransformer:uMt,getAnimatableNone:RGn},BGn=new Set(["brightness","contrast","saturate","opacity"]);function FGn(g){let[w,T]=g.slice(0,-1).split("(");if(w==="drop-shadow")return g;const[D]=T.match(dQ)||[];if(!D)return g;const H=T.replace(D,"");let U=BGn.has(w)?1:0;return D!==T&&(U*=100),w+"("+U+H+")"}const jGn=/([a-z-]*)\(.*?\)/g,ZRe=Object.assign(Object.assign({},EQ),{getAnimatableNone:g=>{const w=g.match(jGn);return w?w.map(FGn).join(" "):g}});function JNe(g,w,T){return T<0&&(T+=1),T>1&&(T-=1),T<1/6?g+(w-g)*6*T:T<1/2?w:T<2/3?g+(w-g)*(2/3-T)*6:g}function ZTt({hue:g,saturation:w,lightness:T,alpha:D}){g/=360,w/=100,T/=100;let H=0,U=0,Q=0;if(!w)H=U=Q=T;else{const ie=T<.5?T*(1+w):T+w-T*w,he=2*T-ie;H=JNe(he,ie,g+1/3),U=JNe(he,ie,g),Q=JNe(he,ie,g-1/3)}return{red:Math.round(H*255),green:Math.round(U*255),blue:Math.round(Q*255),alpha:D}}const $Gn=(g,w,T)=>{const D=g*g,H=w*w;return Math.sqrt(Math.max(0,T*(H-D)+D))},HGn=[QRe,WT,KI],JTt=g=>HGn.find(w=>w.test(g)),eSt=g=>`'${g}' is not an animatable color. Use the equivalent color code instead.`,hMt=(g,w)=>{let T=JTt(g),D=JTt(w);fQ(!!T,eSt(g)),fQ(!!D,eSt(w));let H=T.parse(g),U=D.parse(w);T===KI&&(H=ZTt(H),T=WT),D===KI&&(U=ZTt(U),D=WT);const Q=Object.assign({},H);return ie=>{for(const he in Q)he!=="alpha"&&(Q[he]=$Gn(H[he],U[he],ie));return Q.alpha=GBe(H.alpha,U.alpha,ie),T.transform(Q)}},zGn=g=>typeof g=="number",VGn=(g,w)=>T=>w(g(T)),fMt=(...g)=>g.reduce(VGn);function dMt(g,w){return zGn(g)?T=>GBe(g,w,T):Pb.test(g)?hMt(g,w):pMt(g,w)}const gMt=(g,w)=>{const T=[...g],D=T.length,H=g.map((U,Q)=>dMt(U,w[Q]));return U=>{for(let Q=0;Q<D;Q++)T[Q]=H[Q](U);return T}},qGn=(g,w)=>{const T=Object.assign(Object.assign({},g),w),D={};for(const H in T)g[H]!==void 0&&w[H]!==void 0&&(D[H]=dMt(g[H],w[H]));return H=>{for(const U in D)T[U]=D[U](H);return T}};function tSt(g){const w=EQ.parse(g),T=w.length;let D=0,H=0,U=0;for(let Q=0;Q<T;Q++)D||typeof w[Q]=="number"?D++:w[Q].hue!==void 0?U++:H++;return{parsed:w,numNumbers:D,numRGB:H,numHSL:U}}const pMt=(g,w)=>{const T=EQ.createTransformer(w),D=tSt(g),H=tSt(w);return D.numHSL===H.numHSL&&D.numRGB===H.numRGB&&D.numNumbers>=H.numNumbers?fMt(gMt(D.parsed,H.parsed),T):(qBe(!0,`Complex values '${g}' and '${w}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Q=>`${Q>0?w:g}`)},UGn=(g,w)=>T=>GBe(g,w,T);function GGn(g){if(typeof g=="number")return UGn;if(typeof g=="string")return Pb.test(g)?hMt:pMt;if(Array.isArray(g))return gMt;if(typeof g=="object")return qGn}function WGn(g,w,T){const D=[],H=T||GGn(g[0]),U=g.length-1;for(let Q=0;Q<U;Q++){let ie=H(g[Q],g[Q+1]);if(w){const he=Array.isArray(w)?w[Q]:w;ie=fMt(he,ie)}D.push(ie)}return D}function KGn([g,w],[T]){return D=>T(rMt(g,w,D))}function YGn(g,w){const T=g.length,D=T-1;return H=>{let U=0,Q=!1;if(H<=g[0]?Q=!0:H>=g[D]&&(U=D-1,Q=!0),!Q){let he=1;for(;he<T&&!(g[he]>H||he===D);he++);U=he-1}const ie=rMt(g[U],g[U+1],H);return w[U](ie)}}function mMt(g,w,{clamp:T=!0,ease:D,mixer:H}={}){const U=g.length;fQ(U===w.length,"Both input and output ranges must be the same length"),fQ(!D||!Array.isArray(D)||D.length===U-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),g[0]>g[U-1]&&(g=[].concat(g),w=[].concat(w),g.reverse(),w.reverse());const Q=WGn(w,D,H),ie=U===2?KGn(g,Q):YGn(g,Q);return T?he=>ie(KRe(g[0],g[U-1],he)):ie}const ove=g=>w=>1-g(1-w),YBe=g=>w=>w<=.5?g(2*w)/2:(2-g(2*(1-w)))/2,XGn=g=>w=>Math.pow(w,g),vMt=g=>w=>w*w*((g+1)*w-g),QGn=g=>{const w=vMt(g);return T=>(T*=2)<1?.5*w(T):.5*(2-Math.pow(2,-10*(T-1)))},bMt=1.525,ZGn=4/11,JGn=8/11,eWn=9/10,wMt=g=>g,XBe=XGn(2),tWn=ove(XBe),yMt=YBe(XBe),_Mt=g=>1-Math.sin(Math.acos(g)),xMt=ove(_Mt),nWn=YBe(xMt),QBe=vMt(bMt),rWn=ove(QBe),iWn=YBe(QBe),sWn=QGn(bMt),aWn=4356/361,oWn=35442/1805,cWn=16061/1805,Fme=g=>{if(g===1||g===0)return g;const w=g*g;return g<ZGn?7.5625*w:g<JGn?9.075*w-9.9*g+3.4:g<eWn?aWn*w-oWn*g+cWn:10.8*g*g-20.52*g+10.72},lWn=ove(Fme),uWn=g=>g<.5?.5*(1-Fme(1-g*2)):.5*Fme(g*2-1)+.5;function hWn(g,w){return g.map(()=>w||yMt).splice(0,g.length-1)}function fWn(g){const w=g.length;return g.map((T,D)=>D!==0?D/(w-1):0)}function dWn(g,w){return g.map(T=>T*w)}function pme({from:g=0,to:w=1,ease:T,offset:D,duration:H=300}){const U={done:!1,value:g},Q=Array.isArray(w)?w:[g,w],ie=dWn(D&&D.length===Q.length?D:fWn(Q),H);function he(){return mMt(ie,Q,{ease:Array.isArray(T)?T:hWn(Q,T)})}let ne=he();return{next:Be=>(U.value=ne(Be),U.done=Be>=H,U),flipTarget:()=>{Q.reverse(),ne=he()}}}function gWn({velocity:g=0,from:w=0,power:T=.8,timeConstant:D=350,restDelta:H=.5,modifyTarget:U}){const Q={done:!1,value:w};let ie=T*g;const he=w+ie,ne=U===void 0?he:U(he);return ne!==he&&(ie=ne-w),{next:Be=>{const He=-ie*Math.exp(-Be/D);return Q.done=!(He>H||He<-H),Q.value=Q.done?ne:ne+He,Q},flipTarget:()=>{}}}const nSt={keyframes:pme,spring:UBe,decay:gWn};function pWn(g){if(Array.isArray(g.to))return pme;if(nSt[g.type])return nSt[g.type];const w=new Set(Object.keys(g));return w.has("ease")||w.has("duration")&&!w.has("dampingRatio")?pme:w.has("dampingRatio")||w.has("stiffness")||w.has("mass")||w.has("damping")||w.has("restSpeed")||w.has("restDelta")?UBe:pme}function kMt(g,w,T=0){return g-w-T}function mWn(g,w,T=0,D=!0){return D?kMt(w+-g,w,T):w-(g-w)+T}function vWn(g,w,T,D){return D?g>=w+T:g<=-T}const bWn=g=>{const w=({delta:T})=>g(T);return{start:()=>WRe.update(w,!0),stop:()=>wGn.update(w)}};function EMt(g){var w,T,{from:D,autoplay:H=!0,driver:U=bWn,elapsed:Q=0,repeat:ie=0,repeatType:he="loop",repeatDelay:ne=0,onPlay:Be,onStop:He,onComplete:Ye,onRepeat:xt,onUpdate:ft}=g,Jt=nMt(g,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Cn}=Jt,lr,Dn=0,Vn=Jt.duration,ur,ti=!1,xi=!0,gs;const jr=pWn(Jt);!((T=(w=jr).needsInterpolation)===null||T===void 0)&&T.call(w,D,Cn)&&(gs=mMt([0,100],[D,Cn],{clamp:!1}),D=0,Cn=100);const ns=jr(Object.assign(Object.assign({},Jt),{from:D,to:Cn}));function Ks(){Dn++,he==="reverse"?(xi=Dn%2===0,Q=mWn(Q,Vn,ne,xi)):(Q=kMt(Q,Vn,ne),he==="mirror"&&ns.flipTarget()),ti=!1,xt&&xt()}function Lo(){lr.stop(),Ye&&Ye()}function Ss(Zl){if(xi||(Zl=-Zl),Q+=Zl,!ti){const xl=ns.next(Math.max(0,Q));ur=xl.value,gs&&(ur=gs(ur)),ti=xi?xl.done:Q<=0}ft==null||ft(ur),ti&&(Dn===0&&(Vn??(Vn=Q)),Dn<ie?vWn(Q,Vn,ne,xi)&&Ks():Lo())}function Kc(){Be==null||Be(),lr=U(Ss),lr.start()}return H&&Kc(),{stop:()=>{He==null||He(),lr.stop()}}}function TMt(g,w){return w?g*(1e3/w):0}function wWn({from:g=0,velocity:w=0,min:T,max:D,power:H=.8,timeConstant:U=750,bounceStiffness:Q=500,bounceDamping:ie=10,restDelta:he=1,modifyTarget:ne,driver:Be,onUpdate:He,onComplete:Ye,onStop:xt}){let ft;function Jt(Vn){return T!==void 0&&Vn<T||D!==void 0&&Vn>D}function Cn(Vn){return T===void 0?D:D===void 0||Math.abs(T-Vn)<Math.abs(D-Vn)?T:D}function lr(Vn){ft==null||ft.stop(),ft=EMt(Object.assign(Object.assign({},Vn),{driver:Be,onUpdate:ur=>{var ti;He==null||He(ur),(ti=Vn.onUpdate)===null||ti===void 0||ti.call(Vn,ur)},onComplete:Ye,onStop:xt}))}function Dn(Vn){lr(Object.assign({type:"spring",stiffness:Q,damping:ie,restDelta:he},Vn))}if(Jt(g))Dn({from:g,velocity:w,to:Cn(g)});else{let Vn=H*w+g;typeof ne<"u"&&(Vn=ne(Vn));const ur=Cn(Vn),ti=ur===T?-1:1;let xi,gs;const jr=ns=>{xi=gs,gs=ns,w=TMt(ns-xi,tMt().delta),(ti===1&&ns>ur||ti===-1&&ns<ur)&&Dn({from:ns,to:ur,velocity:w})};lr({type:"decay",from:g,velocity:w,timeConstant:U,power:H,restDelta:he,modifyTarget:ne,onUpdate:Jt(Vn)?jr:void 0})}return{stop:()=>ft==null?void 0:ft.stop()}}const SMt=(g,w)=>1-3*w+3*g,CMt=(g,w)=>3*w-6*g,AMt=g=>3*g,jme=(g,w,T)=>((SMt(w,T)*g+CMt(w,T))*g+AMt(w))*g,MMt=(g,w,T)=>3*SMt(w,T)*g*g+2*CMt(w,T)*g+AMt(w),yWn=1e-7,_Wn=10;function xWn(g,w,T,D,H){let U,Q,ie=0;do Q=w+(T-w)/2,U=jme(Q,D,H)-g,U>0?T=Q:w=Q;while(Math.abs(U)>yWn&&++ie<_Wn);return Q}const kWn=8,EWn=.001;function TWn(g,w,T,D){for(let H=0;H<kWn;++H){const U=MMt(w,T,D);if(U===0)return w;const Q=jme(w,T,D)-g;w-=Q/U}return w}const mme=11,ime=1/(mme-1);function SWn(g,w,T,D){if(g===w&&T===D)return wMt;const H=new Float32Array(mme);for(let Q=0;Q<mme;++Q)H[Q]=jme(Q*ime,g,T);function U(Q){let ie=0,he=1;const ne=mme-1;for(;he!==ne&&H[he]<=Q;++he)ie+=ime;--he;const Be=(Q-H[he])/(H[he+1]-H[he]),He=ie+Be*ime,Ye=MMt(He,g,T);return Ye>=EWn?TWn(Q,He,g,T):Ye===0?He:xWn(Q,ie,ie+ime,g,T)}return Q=>Q===0||Q===1?Q:jme(U(Q),w,D)}const eRe={};class CWn{constructor(){this.subscriptions=new Set}add(w){return this.subscriptions.add(w),()=>this.subscriptions.delete(w)}notify(w,T,D){if(this.subscriptions.size)for(const H of this.subscriptions)H(w,T,D)}clear(){this.subscriptions.clear()}}const rSt=g=>!isNaN(parseFloat(g));class AWn{constructor(w){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new CWn,this.canTrackVelocity=!1,this.updateAndNotify=T=>{this.prev=this.current,this.current=T;const{delta:D,timestamp:H}=tMt();this.lastUpdated!==H&&(this.timeDelta=D,this.lastUpdated=H),WRe.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>WRe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:T})=>{this.canTrackVelocity||(this.canTrackVelocity=rSt(this.current)),T!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=w,this.canTrackVelocity=rSt(this.current)}onChange(w){return this.updateSubscribers.add(w)}clearListeners(){this.updateSubscribers.clear()}set(w){this.updateAndNotify(w)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?TMt(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(w){return this.stop(),new Promise(T=>{const{stop:D}=w(T);this.stopAnimation=D}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function MWn(g){return new AWn(g)}const{isArray:LWn}=Array;function IWn(){const g=Is({}),w=D=>{const H=U=>{g.value[U]&&(g.value[U].stop(),g.value[U].destroy(),delete g.value[U])};D?LWn(D)?D.forEach(H):H(D):Object.keys(g.value).forEach(H)},T=(D,H,U)=>{if(g.value[D])return g.value[D];const Q=MWn(H);return Q.onChange(ie=>U[D]=ie),g.value[D]=Q,Q};return fIn(w),{motionValues:g,get:T,stop:w}}const OWn=g=>Array.isArray(g),$I=()=>({type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}),tRe=g=>({type:"spring",stiffness:550,damping:g===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}),DWn=g=>({type:"spring",stiffness:550,damping:g===0?100:30,restDelta:.01,restSpeed:10}),nRe=()=>({type:"keyframes",ease:"linear",duration:300}),PWn=g=>({type:"keyframes",duration:800,values:g}),iSt={default:DWn,x:$I,y:$I,z:$I,rotate:$I,rotateX:$I,rotateY:$I,rotateZ:$I,scaleX:tRe,scaleY:tRe,scale:tRe,backgroundColor:nRe,color:nRe,opacity:nRe},LMt=(g,w)=>{let T;return OWn(w)?T=PWn:T=iSt[g]||iSt.default,{to:w,...T(w)}},sSt={...kQ,transform:Math.round},IMt={color:Pb,backgroundColor:Pb,outlineColor:Pb,fill:Pb,stroke:Pb,borderColor:Pb,borderTopColor:Pb,borderRightColor:Pb,borderBottomColor:Pb,borderLeftColor:Pb,borderWidth:Wc,borderTopWidth:Wc,borderRightWidth:Wc,borderBottomWidth:Wc,borderLeftWidth:Wc,borderRadius:Wc,radius:Wc,borderTopLeftRadius:Wc,borderTopRightRadius:Wc,borderBottomRightRadius:Wc,borderBottomLeftRadius:Wc,width:Wc,maxWidth:Wc,height:Wc,maxHeight:Wc,size:Wc,top:Wc,right:Wc,bottom:Wc,left:Wc,padding:Wc,paddingTop:Wc,paddingRight:Wc,paddingBottom:Wc,paddingLeft:Wc,margin:Wc,marginTop:Wc,marginRight:Wc,marginBottom:Wc,marginLeft:Wc,rotate:jI,rotateX:jI,rotateY:jI,rotateZ:jI,scale:rme,scaleX:rme,scaleY:rme,scaleZ:rme,skew:jI,skewX:jI,skewY:jI,distance:Wc,translateX:Wc,translateY:Wc,translateZ:Wc,x:Wc,y:Wc,z:Wc,perspective:Wc,transformPerspective:Wc,opacity:GX,originX:QTt,originY:QTt,originZ:Wc,zIndex:sSt,filter:ZRe,WebkitFilter:ZRe,fillOpacity:GX,strokeOpacity:GX,numOctaves:sSt},ZBe=g=>IMt[g],OMt=(g,w)=>w&&typeof g=="number"&&w.transform?w.transform(g):g;function NWn(g,w){let T=ZBe(g);return T!==ZRe&&(T=EQ),T.getAnimatableNone?T.getAnimatableNone(w):void 0}const RWn={linear:wMt,easeIn:XBe,easeInOut:yMt,easeOut:tWn,circIn:_Mt,circInOut:nWn,circOut:xMt,backIn:QBe,backInOut:iWn,backOut:rWn,anticipate:sWn,bounceIn:lWn,bounceInOut:uWn,bounceOut:Fme},aSt=g=>{if(Array.isArray(g)){const[w,T,D,H]=g;return SWn(w,T,D,H)}else if(typeof g=="string")return RWn[g];return g},BWn=g=>Array.isArray(g)&&typeof g[0]!="number",oSt=(g,w)=>g==="zIndex"?!1:!!(typeof w=="number"||Array.isArray(w)||typeof w=="string"&&EQ.test(w)&&!w.startsWith("url("));function FWn(g){return Array.isArray(g.to)&&g.to[0]===null&&(g.to=[...g.to],g.to[0]=g.from),g}function jWn({ease:g,times:w,delay:T,...D}){const H={...D};return w&&(H.offset=w),g&&(H.ease=BWn(g)?g.map(aSt):aSt(g)),T&&(H.elapsed=-T),H}function $Wn(g,w,T){return Array.isArray(w.to)&&(g.duration||(g.duration=800)),FWn(w),HWn(g)||(g={...g,...LMt(T,w.to)}),{...w,...jWn(g)}}function HWn({delay:g,repeat:w,repeatType:T,repeatDelay:D,from:H,...U}){return!!Object.keys(U).length}function zWn(g,w){return g[w]||g.default||g}function VWn(g,w,T,D,H){const U=zWn(D,g);let Q=U.from===null||U.from===void 0?w.get():U.from;const ie=oSt(g,T);Q==="none"&&ie&&typeof T=="string"&&(Q=NWn(g,T));const he=oSt(g,Q);function ne(He){const Ye={from:Q,to:T,velocity:D.velocity?D.velocity:w.getVelocity(),onUpdate:xt=>w.set(xt)};return U.type==="inertia"||U.type==="decay"?wWn({...Ye,...U}):EMt({...$Wn(U,Ye,g),onUpdate:xt=>{Ye.onUpdate(xt),U.onUpdate&&U.onUpdate(xt)},onComplete:()=>{D.onComplete&&D.onComplete(),H&&H(),He&&He()}})}function Be(He){return w.set(T),D.onComplete&&D.onComplete(),H&&H(),He&&He(),{stop:()=>{}}}return!he||!ie||U.type===!1?Be:ne}function qWn(){const{motionValues:g,stop:w,get:T}=IWn();return{motionValues:g,stop:w,push:(H,U,Q,ie={},he)=>{const ne=Q[H],Be=T(H,ne,Q);if(ie&&ie.immediate){Be.set(U);return}const He=VWn(H,Be,U,ie,he);Be.start(He)}}}function UWn(g,w={},{motionValues:T,push:D,stop:H}=qWn()){const U=Hn(w),Q=Is(!1);jc(T,He=>{Q.value=Object.values(He).filter(Ye=>Ye.isAnimating()).length>0},{immediate:!0,deep:!0});const ie=He=>{if(!U||!U[He])throw new Error(`The variant ${He} does not exist.`);return U[He]},he=He=>(typeof He=="string"&&(He=ie(He)),Promise.all(Object.entries(He).map(([Ye,xt])=>{if(Ye!=="transition")return new Promise(ft=>D(Ye,xt,g,He.transition||LMt(Ye,He[Ye]),ft))}).filter(Boolean)));return{isAnimating:Q,apply:he,set:He=>{const Ye=SRe(He)?He:ie(He);Object.entries(Ye).forEach(([xt,ft])=>{xt!=="transition"&&D(xt,ft,g,{immediate:!0})})},leave:async He=>{let Ye;if(U&&(U.leave&&(Ye=U.leave),!U.leave&&U.initial&&(Ye=U.initial)),!Ye){He();return}await he(Ye),He()},stop:H}}const JBe=typeof window<"u",GWn=()=>JBe&&window.onpointerdown===null,WWn=()=>JBe&&window.ontouchstart===null,KWn=()=>JBe&&window.onmousedown===null;function YWn({target:g,state:w,variants:T,apply:D}){const H=Hn(T),U=Is(!1),Q=Is(!1),ie=Is(!1),he=Fr(()=>{let Be=[];return H&&(H.hovered&&(Be=[...Be,...Object.keys(H.hovered)]),H.tapped&&(Be=[...Be,...Object.keys(H.tapped)]),H.focused&&(Be=[...Be,...Object.keys(H.focused)])),Be}),ne=Fr(()=>{const Be={};Object.assign(Be,w.value),U.value&&H.hovered&&Object.assign(Be,H.hovered),Q.value&&H.tapped&&Object.assign(Be,H.tapped),ie.value&&H.focused&&Object.assign(Be,H.focused);for(const He in Be)he.value.includes(He)||delete Be[He];return Be});H.hovered&&(dl(g,"mouseenter",()=>U.value=!0),dl(g,"mouseleave",()=>{U.value=!1,Q.value=!1}),dl(g,"mouseout",()=>{U.value=!1,Q.value=!1})),H.tapped&&(KWn()&&(dl(g,"mousedown",()=>Q.value=!0),dl(g,"mouseup",()=>Q.value=!1)),GWn()&&(dl(g,"pointerdown",()=>Q.value=!0),dl(g,"pointerup",()=>Q.value=!1)),WWn()&&(dl(g,"touchstart",()=>Q.value=!0),dl(g,"touchend",()=>Q.value=!1))),H.focused&&(dl(g,"focus",()=>ie.value=!0),dl(g,"blur",()=>ie.value=!1)),jc(ne,D)}function XWn({set:g,target:w,apply:T,variants:D,variant:H}){const U=Hn(D);jc(()=>w,()=>{U&&(U.initial&&g("initial"),U.enter&&(H.value="enter"))},{immediate:!0,flush:"pre"})}function QWn({state:g,apply:w}){jc(g,T=>{T&&w(T)},{immediate:!0})}function ZWn({target:g,variants:w,variant:T}){const D=Hn(w);D&&(D.visible||D.visibleOnce)&&sOn(g,([{isIntersecting:H}])=>{D.visible?H?T.value="visible":T.value="initial":D.visibleOnce&&(H&&T.value!=="visibleOnce"?T.value="visibleOnce":T.value||(T.value="initial"))})}function JWn(g,w={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){w.lifeCycleHooks&&XWn(g),w.syncVariants&&QWn(g),w.visibilityHooks&&ZWn(g),w.eventListeners&&YWn(g)}function DMt(g={}){const w=Ef({...g}),T=Is({});return jc(w,()=>{const D={};for(const[H,U]of Object.entries(w)){const Q=ZBe(H),ie=OMt(U,Q);D[H]=ie}T.value=D},{immediate:!0,deep:!0}),{state:w,style:T}}function eFe(g,w){jc(()=>cw(g),T=>{T&&w(T)},{immediate:!0})}const eKn={x:"translateX",y:"translateY",z:"translateZ"};function PMt(g={},w=!0){const T=Ef({...g}),D=Is("");return jc(T,H=>{let U="",Q=!1;if(w&&(H.x||H.y||H.z)){const ie=[H.x||0,H.y||0,H.z||0].map(Wc.transform).join(",");U+=`translate3d(${ie}) `,Q=!0}for(const[ie,he]of Object.entries(H)){if(w&&(ie==="x"||ie==="y"||ie==="z"))continue;const ne=ZBe(ie),Be=OMt(he,ne);U+=`${eKn[ie]||ie}(${Be}) `}w&&!Q&&(U+="translateZ(0px) "),D.value=U.trim()},{immediate:!0,deep:!0}),{state:T,transform:D}}const tKn=["","X","Y","Z"],nKn=["perspective","translate","scale","rotate","skew"],NMt=["transformPerspective","x","y","z"];nKn.forEach(g=>{tKn.forEach(w=>{const T=g+w;NMt.push(T)})});const rKn=new Set(NMt);function tFe(g){return rKn.has(g)}const iKn=new Set(["originX","originY","originZ"]);function RMt(g){return iKn.has(g)}function sKn(g){const w={},T={};return Object.entries(g).forEach(([D,H])=>{tFe(D)||RMt(D)?w[D]=H:T[D]=H}),{transform:w,style:T}}function BMt(g){const{transform:w,style:T}=sKn(g),{transform:D}=PMt(w),{style:H}=DMt(T);return D.value&&(H.value.transform=D.value),H.value}function aKn(g,w){let T,D;const{state:H,style:U}=DMt();return eFe(g,Q=>{D=Q;for(const ie of Object.keys(IMt))Q.style[ie]===null||Q.style[ie]===""||tFe(ie)||RMt(ie)||(H[ie]=Q.style[ie]);T&&Object.entries(T).forEach(([ie,he])=>Q.style[ie]=he),w&&w(H)}),jc(U,Q=>{if(!D){T=Q;return}for(const ie in Q)D.style[ie]=Q[ie]},{immediate:!0}),{style:H}}function oKn(g){const w=g.trim().split(/\) |\)/);if(w.length===1)return{};const T=D=>D.endsWith("px")||D.endsWith("deg")?parseFloat(D):isNaN(Number(D))?Number(D):D;return w.reduce((D,H)=>{if(!H)return D;const[U,Q]=H.split("("),he=Q.split(",").map(Be=>T(Be.endsWith(")")?Be.replace(")",""):Be.trim())),ne=he.length===1?he[0]:he;return{...D,[U]:ne}},{})}function cKn(g,w){Object.entries(oKn(w)).forEach(([T,D])=>{const H=["x","y","z"];if(T==="translate3d"){if(D===0){H.forEach(U=>g[U]=0);return}D.forEach((U,Q)=>g[H[Q]]=U);return}if(D=parseFloat(D),T==="translateX"){g.x=D;return}if(T==="translateY"){g.y=D;return}if(T==="translateZ"){g.z=D;return}g[T]=D})}function lKn(g,w){let T,D;const{state:H,transform:U}=PMt();return eFe(g,Q=>{D=Q,Q.style.transform&&cKn(H,Q.style.transform),T&&(Q.style.transform=T),w&&w(H)}),jc(U,Q=>{if(!D){T=Q;return}D.style.transform=Q},{immediate:!0}),{transform:H}}function uKn(g,w){const T=Ef({}),D=Q=>Object.entries(Q).forEach(([ie,he])=>T[ie]=he),{style:H}=aKn(g,D),{transform:U}=lKn(g,D);return jc(T,Q=>{Object.entries(Q).forEach(([ie,he])=>{const ne=tFe(ie)?U:H;ne[ie]&&ne[ie]===he||(ne[ie]=he)})},{immediate:!0,deep:!0}),eFe(g,()=>w&&D(w)),{motionProperties:T,style:H,transform:U}}function hKn(g={}){const w=Hn(g),T=Is();return{state:Fr(()=>{if(T.value)return w[T.value]}),variant:T}}function FMt(g,w={},T){const{motionProperties:D}=uKn(g),{variant:H,state:U}=hKn(w),Q=UWn(D,w),ie={target:g,variant:H,variants:w,state:U,motionProperties:D,...Q};return JWn(ie,T),ie}const fKn=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"],dKn=(g,w)=>{const T=g.props?g.props:g.data&&g.data.attrs?g.data.attrs:{};T&&(T.variants&&SRe(T.variants)&&(w.value={...w.value,...T.variants}),fKn.forEach(D=>{if(D==="delay"){if(T&&T[D]&&XLn(T[D])){const H=T[D];w&&w.value&&(w.value.enter&&(w.value.enter.transition||(w.value.enter.transition={}),w.value.enter.transition={delay:H,...w.value.enter.transition}),w.value.visible&&(w.value.visible.transition||(w.value.visible.transition={}),w.value.visible.transition={delay:H,...w.value.visible.transition}),w.value.visibleOnce&&(w.value.visibleOnce.transition||(w.value.visibleOnce.transition={}),w.value.visibleOnce.transition={delay:H,...w.value.visibleOnce.transition}))}return}D==="visible-once"&&(D="visibleOnce"),T&&T[D]&&SRe(T[D])&&(w.value[D]=T[D])}))},rRe=g=>({created:(T,D,H)=>{const U=D.value&&typeof D.value=="string"?D.value:H.key;U&&eRe[U]&&eRe[U].stop();const Q=Is(g||{});typeof D.value=="object"&&(Q.value=D.value),dKn(H,Q);const ie=FMt(T,Q);T.motionInstance=ie,U&&(eRe[U]=ie)},getSSRProps(T,D){let{initial:H}=T.value||D&&(D==null?void 0:D.props)||{};H=Hn(H);const U=pGn((g==null?void 0:g.initial)||{},H||{});return!U||Object.keys(U).length===0?void 0:{style:BMt(U)}}}),gKn={initial:{opacity:0},enter:{opacity:1}},pKn={initial:{opacity:0},visible:{opacity:1}},mKn={initial:{opacity:0},visibleOnce:{opacity:1}},vKn={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},bKn={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},wKn={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},yKn={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},_Kn={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},xKn={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},kKn={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},EKn={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},TKn={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},SKn={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},CKn={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},AKn={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},MKn={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},LKn={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},IKn={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},OKn={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},DKn={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},PKn={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},NKn={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},RKn={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},BKn={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},FKn={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},jKn={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},$Kn={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},HKn={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},zKn={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},VKn={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},JRe={__proto__:null,fade:gKn,fadeVisible:pKn,fadeVisibleOnce:mKn,pop:vKn,popVisible:bKn,popVisibleOnce:wKn,rollBottom:MKn,rollLeft:yKn,rollRight:kKn,rollTop:SKn,rollVisibleBottom:LKn,rollVisibleLeft:_Kn,rollVisibleOnceBottom:IKn,rollVisibleOnceLeft:xKn,rollVisibleOnceRight:TKn,rollVisibleOnceTop:AKn,rollVisibleRight:EKn,rollVisibleTop:CKn,slideBottom:HKn,slideLeft:OKn,slideRight:NKn,slideTop:FKn,slideVisibleBottom:zKn,slideVisibleLeft:DKn,slideVisibleOnceBottom:VKn,slideVisibleOnceLeft:PKn,slideVisibleOnceRight:BKn,slideVisibleOnceTop:$Kn,slideVisibleRight:RKn,slideVisibleTop:jKn},qKn=mu({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(g){var ie;const w=eMn(),T=Ef({});if(!g.is&&!w.default)return()=>jb("div",{});const D=Fr(()=>{let he;return g.preset&&(he=JRe[g.preset]),he}),H=Fr(()=>({initial:g.initial,enter:g.enter,leave:g.leave,visible:g.visible,visibleOnce:g.visibleOnce,hovered:g.hovered,tapped:g.tapped,focused:g.focused})),U=Fr(()=>{const he={...H.value,...D.value||{},...g.variants||{}};return g.delay&&(he.enter.transition={...he.enter.transition},he.enter.transition.delay=parseInt(g.delay)),he}),Q=Fr(()=>{if(!g.is)return;let he=g.is;return typeof Q.value=="string"&&!ySt(he)&&(he=Tme(he)),he});if(((ie=process==null?void 0:process.env)==null?void 0:ie.NODE_ENV)==="development"||process!=null&&process.dev){const he=ne=>{var Be;(Be=ne.variants)!=null&&Be.initial&&ne.set("initial"),setTimeout(()=>{var He,Ye,xt;(He=ne.variants)!=null&&He.enter&&ne.apply("enter"),(Ye=ne.variants)!=null&&Ye.visible&&ne.apply("visible"),(xt=ne.variants)!=null&&xt.visibleOnce&&ne.apply("visibleOnce")},10)};Zme(()=>Object.entries(T).forEach(([ne,Be])=>he(Be)))}return{slots:w,component:Q,motionConfig:U,instances:T}},render({slots:g,motionConfig:w,instances:T,component:D}){var ie;const H=BMt(w.initial||{}),U=(he,ne)=>(he.props||(he.props={}),he.props.style=H,he.props.onVnodeMounted=({el:Be})=>{const He=FMt(Be,w);T[ne]=He},he);if(D){const he=jb(D,void 0,g);return U(he,0),he}return(((ie=g.default)==null?void 0:ie.call(g))||[]).map((he,ne)=>U(he,ne))}});function UKn(g){const w="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",T="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",D=new RegExp(w.split("").join("|"),"g");return g.toString().replace(/[A-Z]/g,H=>`-${H}`).toLowerCase().replace(/\s+/g,"-").replace(D,H=>T.charAt(w.indexOf(H))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const GKn={install(g,w){if(g.directive("motion",rRe()),g.component("Motion",qKn),!w||w&&!w.excludePresets)for(const T in JRe){const D=JRe[T];g.directive(`motion-${UKn(T)}`,rRe(D))}if(w&&w.directives)for(const T in w.directives){const D=w.directives[T];D.initial,g.directive(`motion-${T}`,rRe(D))}}};var cSt;const KX=typeof window<"u",WKn=Object.prototype.toString,KKn=g=>WKn.call(g)==="[object Object]";KX&&((cSt=window==null?void 0:window.navigator)!=null&&cSt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function YKn(g){return oBe()?(MSt(g),!0):!1}function XKn(g){var w;const T=Hn(g);return(w=T==null?void 0:T.$el)!=null?w:T}const QKn=KX?window:void 0,eBe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tBe="__vueuse_ssr_handlers__";eBe[tBe]=eBe[tBe]||{};eBe[tBe];function ZKn(g,w={}){const{immediate:T=!0,window:D=QKn}=w,H=Is(!1);let U=null;function Q(){!H.value||!D||(g(),U=D.requestAnimationFrame(Q))}function ie(){!H.value&&D&&(H.value=!0,Q())}function he(){H.value=!1,U!=null&&D&&(D.cancelAnimationFrame(U),U=null)}return T&&ie(),YKn(he),{isActive:H,pause:he,resume:ie}}var lSt;(function(g){g.UP="UP",g.RIGHT="RIGHT",g.DOWN="DOWN",g.LEFT="LEFT",g.NONE="NONE"})(lSt||(lSt={}));const cve="vue-starport-injection",jMt="vue-starport-options",JKn={duration:800,easing:"cubic-bezier(0.45, 0, 0.55, 1)",keepAlive:!1},$Mt={port:{type:String,required:!0},duration:{type:Number,required:!1},easing:{type:String,required:!1},keepAlive:{type:Boolean,required:!1,default:void 0},mountedProps:{type:Object,required:!1},initialProps:{type:Object,required:!1}};var eYn=Object.defineProperty,$me=Object.getOwnPropertySymbols,HMt=Object.prototype.hasOwnProperty,zMt=Object.prototype.propertyIsEnumerable,uSt=(g,w,T)=>w in g?eYn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,tYn=(g,w)=>{for(var T in w||(w={}))HMt.call(w,T)&&uSt(g,T,w[T]);if($me)for(var T of $me(w))zMt.call(w,T)&&uSt(g,T,w[T]);return g},hSt=(g,w)=>{var T={};for(var D in g)HMt.call(g,D)&&w.indexOf(D)<0&&(T[D]=g[D]);if(g!=null&&$me)for(var D of $me(g))w.indexOf(D)<0&&zMt.call(g,D)&&(T[D]=g[D]);return T};const nYn=mu({name:"StarportProxy",props:tYn({props:{type:Object,default:()=>({})},component:{type:Object,required:!0}},$Mt),setup(g,w){const T=os(cve),D=Fr(()=>T.getInstance(g.port,g.component)),H=Is(),U=D.value.generateId(),Q=Is(!1);return D.value.isVisible||(D.value.land(),Q.value=!0),MF(async()=>{if(D.value.el){console.error(`[Vue Starport] Multiple proxies of "${D.value.componentName}" with port "${g.port}" detected. The later one will be ignored.`);return}if(D.value.el=H.value,await vp(),Q.value=!0,D.value.rect.update(),D.value.rect.width===0||D.value.rect.height===0){const ie=D.value.rect.width===0?"width":"height";console.warn(`[Vue Starport] The proxy of component "${D.value.componentName}" (port "${g.port}") has no ${ie} on initial render, have you set the size for it?`),console.warn("element:",D.value.el),console.warn("rect:",D.value.rect)}}),bQ(async()=>{D.value.rect.update(),D.value.liftOff(),D.value.el=void 0,Q.value=!1,!D.value.options.keepAlive&&(await vp(),await vp(),!D.value.el&&T.dispose(D.value.port))}),jc(()=>g,async()=>{D.value.props&&await vp();const ie=g,{props:he}=ie,ne=hSt(ie,["props"]);D.value.props=he||{},D.value.setLocalOptions(ne)},{deep:!0,immediate:!0}),()=>{const ie=g,{initialProps:he,mountedProps:ne}=ie,Be=hSt(ie,["initialProps","mountedProps"]),He=EF(Be,(Q.value?ne:he)||{});return jb("div",EF(He,{id:U,ref:H,"data-starport-proxy":D.value.componentId,"data-starport-landed":D.value.isLanded?"true":void 0,"data-starport-floating":D.value.isLanded?void 0:"true"}),w.slots.default?jb(w.slots.default):void 0)}}});var rYn=Object.defineProperty,iYn=Object.defineProperties,sYn=Object.getOwnPropertyDescriptors,fSt=Object.getOwnPropertySymbols,aYn=Object.prototype.hasOwnProperty,oYn=Object.prototype.propertyIsEnumerable,dSt=(g,w,T)=>w in g?rYn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,cYn=(g,w)=>{for(var T in w||(w={}))aYn.call(w,T)&&dSt(g,T,w[T]);if(fSt)for(var T of fSt(w))oYn.call(w,T)&&dSt(g,T,w[T]);return g},lYn=(g,w)=>iYn(g,sYn(w));const uYn=mu({name:"Starport",inheritAttrs:!0,props:$Mt,setup(g,w){const T=Is(!1);return MF(()=>{if(T.value=!0,!os(cve))throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.")}),()=>{var Q,ie;const D=(ie=(Q=w.slots).default)==null?void 0:ie.call(Q);if(!D)throw new Error("[Vue Starport] Slot is required to use <Starport>");if(D.length!==1)throw new Error(`[Vue Starport] <Starport> requires exactly one slot, but got ${D.length}`);const H=D[0];let U=H.type;return(!KKn(U)||iS(U))&&(U={render(){return D}}),jb(nYn,lYn(cYn({},g),{key:g.port,component:Gme(U),props:H.props}))}}});function hYn(g){const w=Ef({height:0,width:0,left:0,top:0,update:D,listen:U,pause:Q,margin:"0px",padding:"0px"}),T=KX?document.documentElement||document.body:void 0;function D(){if(!KX)return;const ie=XKn(g);if(!ie)return;const{height:he,width:ne,left:Be,top:He}=ie.getBoundingClientRect(),Ye=window.getComputedStyle(ie),xt=Ye.margin,ft=Ye.padding;Object.assign(w,{height:he,width:ne,left:Be,top:T.scrollTop+He,margin:xt,padding:ft})}const H=ZKn(D,{immediate:!1});function U(){KX&&(D(),H.resume())}function Q(){H.pause()}return w}let fYn=(g,w=21)=>(T=w)=>{let D="",H=T;for(;H--;)D+=g[Math.random()*g.length|0];return D};const gSt=fYn("abcdefghijklmnopqrstuvwxyz",5);function pSt(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().replace(/[^\w\d_-]/g,"")}function dYn(g){var w;return g.name||((w=g.__file)==null?void 0:w.split(/[\/\\.]/).slice(-2)[0])||""}var gYn=Object.defineProperty,mSt=Object.getOwnPropertySymbols,pYn=Object.prototype.hasOwnProperty,mYn=Object.prototype.propertyIsEnumerable,vSt=(g,w,T)=>w in g?gYn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,iRe=(g,w)=>{for(var T in w||(w={}))pYn.call(w,T)&&vSt(g,T,w[T]);if(mSt)for(var T of mSt(w))mYn.call(w,T)&&vSt(g,T,w[T]);return g};function vYn(g,w,T={}){const D=dYn(w),H=pSt(D)||gSt(),U=Is(),Q=Is(null),ie=Is(!1),he=Is(!1),ne=jSn(!0),Be=Is({}),He=Fr(()=>iRe(iRe(iRe({},JKn),T),Be.value)),Ye=Is(0);let xt;ne.run(()=>{xt=hYn(U),jc(U,async lr=>{lr&&(he.value=!0),await vp(),U.value||(he.value=!1)})});const ft=pSt(g);function Jt(){return`starport-${H}-${ft}-${gSt()}`}const Cn=Jt();return Ef({el:U,id:Cn,port:g,props:Q,rect:xt,scope:ne,isLanded:ie,isVisible:he,options:He,liftOffTime:Ye,component:w,componentName:D,componentId:H,generateId:Jt,setLocalOptions(lr={}){Be.value=JSON.parse(JSON.stringify(lr))},elRef(){return U},liftOff(){ie.value&&(ie.value=!1,Ye.value=Date.now(),xt.listen())},land(){ie.value||(ie.value=!0,xt.pause())}})}function bYn(g){const w=Ef(new Map);function T(H,U){let Q=w.get(H);return Q||(Q=vYn(H,U,g),w.set(H,Q)),Q.component=U,Q}function D(H){var U;(U=w.get(H))==null||U.scope.stop(),w.delete(H)}return{portMap:w,dispose:D,getInstance:T}}var wYn=Object.defineProperty,yYn=Object.defineProperties,_Yn=Object.getOwnPropertyDescriptors,bSt=Object.getOwnPropertySymbols,xYn=Object.prototype.hasOwnProperty,kYn=Object.prototype.propertyIsEnumerable,wSt=(g,w,T)=>w in g?wYn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:T}):g[w]=T,EYn=(g,w)=>{for(var T in w||(w={}))xYn.call(w,T)&&wSt(g,T,w[T]);if(bSt)for(var T of bSt(w))kYn.call(w,T)&&wSt(g,T,w[T]);return g},TYn=(g,w)=>yYn(g,_Yn(w));const SYn=mu({name:"StarportCraft",props:{port:{type:String,required:!0},component:{type:Object,required:!0}},setup(g){const w=os(cve);if(!w)throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.");const T=Fr(()=>w.getInstance(g.port,g.component)),D=Fr(()=>{var Q;return((Q=T.value.el)==null?void 0:Q.id)||T.value.id}),H=Fr(()=>{const Q=Date.now()-T.value.liftOffTime,ie=Math.max(0,T.value.options.duration-Q),he=T.value.rect,ne={position:"absolute",left:0,top:0,width:`${he.width}px`,height:`${he.height}px`,margin:he.margin,padding:he.padding,transform:`translate3d(${he.left}px,${he.top}px,0px)`};return!T.value.isVisible||!T.value.el?TYn(EYn({},ne),{zIndex:-1,display:"none"}):(T.value.isLanded?ne.display="none":Object.assign(ne,{transitionProperty:"all",transitionDuration:`${ie}ms`,transitionTimingFunction:T.value.options.easing}),ne)}),U={onTransitionend(Q){T.value.isLanded||console.warn(`[Vue Starport] Transition duration of component "${T.value.componentName}" is too short (${Q.elapsedTime}s) that may cause animation glitches. Try to increase the duration of that component, or decrease the duration the Starport (current: ${T.value.options.duration/1e3}s).`)}};return()=>{const Q=!!(T.value.isLanded&&T.value.el);return jb("div",{style:H.value,"data-starport-craft":T.value.componentId,"data-starport-landed":T.value.isLanded?"true":void 0,"data-starport-floating":T.value.isLanded?void 0:"true",onTransitionend:T.value.land},jb($An,{to:Q?`#${D.value}`:"body",disabled:!Q},jb(T.value.component,EF(U,T.value.props))))}}}),CYn=mu({name:"StarportCarrier",setup(g,{slots:w}){const T=bYn(os(jMt,{}));return hw().appContext.app.provide(cve,T),()=>{var H;return[(H=w.default)==null?void 0:H.call(w),Array.from(T.portMap.entries()).map(([U,{component:Q}])=>jb(SYn,{key:U,port:U,component:Q}))]}}});function AYn(g={}){return{install(w){w.provide(jMt,g),w.component("Starport",uYn),w.component("StarportCarrier",CYn)}}}function MYn(g){function w(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}w(),window.addEventListener("resize",w),g.app.use(GKn),g.app.use(AYn({keepAlive:!0}))}function iw(g,w,T){var D;return((D=g.instance)==null?void 0:D.$).provides[w]??T}function LYn(){return{install(g){g.directive("click",{name:"v-click",mounted(w,T){var Be,He,Ye,xt;if(qX.value||(Be=iw(T,hme))!=null&&Be.value)return;const D=iw(T,fF),H=iw(T,ume),U=iw(T,TRe),Q=T.modifiers.hide!==!1&&T.modifiers.hide!=null,ie=T.modifiers.fade!==!1&&T.modifiers.fade!=null,he=((He=D==null?void 0:D.value)==null?void 0:He.length)||0,ne=ie?LLn:$Ne;if(D&&!((Ye=D==null?void 0:D.value)!=null&&Ye.includes(w))&&D.value.push(w),T.value==null&&(T.value=D==null?void 0:D.value.length),!(U!=null&&U.value.has(T.value)))U==null||U.value.set(T.value,[w]);else if(!((xt=U==null?void 0:U.value.get(T.value))!=null&&xt.includes(w))){const ft=(U==null?void 0:U.value.get(T.value))||[];U==null||U.value.set(T.value,[w].concat(ft))}w==null||w.classList.toggle(sF,!0),H&&jc(H,()=>{const ft=(H==null?void 0:H.value)??0,Jt=T.value!=null?ft>=T.value:ft>he;w.classList.contains(HNe)||w.classList.toggle(ne,!Jt),Q!==!1&&Q!==void 0&&w.classList.toggle(ne,Jt),w.classList.toggle(TX,!1);const Cn=U==null?void 0:U.value.get(ft);Cn==null||Cn.forEach((lr,Dn)=>{lr.classList.toggle(Jpe,!1),Dn===Cn.length-1?lr.classList.toggle(TX,!0):lr.classList.toggle(Jpe,!0)}),w.classList.contains(TX)||w.classList.toggle(Jpe,Jt)},{immediate:!0})},unmounted(w,T){w==null||w.classList.toggle(sF,!1);const D=iw(T,fF);D!=null&&D.value&&z9t(D.value,w)}}),g.directive("after",{name:"v-after",mounted(w,T){var ie,he;if(qX.value||(ie=iw(T,hme))!=null&&ie.value)return;const D=iw(T,fF),H=iw(T,ume),U=iw(T,TRe),Q=D==null?void 0:D.value.length;T.value==null&&(T.value=D==null?void 0:D.value.length),U!=null&&U.value.has(T.value)?(he=U==null?void 0:U.value.get(T.value))==null||he.push(w):U==null||U.value.set(T.value,[w]),w==null||w.classList.toggle(sF,!0),H&&jc(H,()=>{const ne=(H.value??0)>=(T.value??Q??0);w.classList.contains(HNe)||w.classList.toggle($Ne,!ne),w.classList.toggle(TX,!1),w.classList.contains(TX)||w.classList.toggle(Jpe,ne)},{immediate:!0})},unmounted(w){w==null||w.classList.toggle(sF,!0)}}),g.directive("click-hide",{name:"v-click-hide",mounted(w,T){var Q,ie,he;if(qX.value||(Q=iw(T,hme))!=null&&Q.value)return;const D=iw(T,fF),H=iw(T,ume),U=((ie=D==null?void 0:D.value)==null?void 0:ie.length)||0;D&&!((he=D==null?void 0:D.value)!=null&&he.includes(w))&&D.value.push(w),w==null||w.classList.toggle(sF,!0),H&&jc(H,()=>{const ne=(H==null?void 0:H.value)??0,Be=T.value!=null?ne>=T.value:ne>U;w.classList.toggle($Ne,Be),w.classList.toggle(HNe,Be)},{immediate:!0})},unmounted(w,T){w==null||w.classList.toggle(sF,!1);const D=iw(T,fF);D!=null&&D.value&&z9t(D.value,w)}})}}}function IYn(g,w){const T=qAt(g),D=UAt(w,T.currentRoute,T.currentPage);return{nav:{...T,...D,downloadPDF:VRe,next:JT,nextSlide:lQ,openInEditor:oGn,prev:eS,prevSlide:uQ},configs:gu,themeConfigs:Fr(()=>gu.themeConfig)}}function OYn(){return{install(g){const w=IYn(m3,d3);g.provide(Os,Ef(w))}}}const IF=BMn(dGn);IF.use(Fb);IF.use(CLn());IF.use(LYn());IF.use(OYn());MYn({app:IF,router:Fb});IF.mount("#app");export{RBe as $,MRn as A,Is as B,wZn as C,sv as D,Xd as E,zu as F,FPn as G,aGn as H,d3 as I,Bme as J,tGn as K,YNe as L,MF as M,Ef as N,vZn as O,yZn as P,jc as Q,aQ as R,WNe as S,no as T,PAt as U,Qd as V,iv as W,pu as X,QPn as Y,wBn as Z,Ps as _,Os as a,BBe as a0,aBn as a1,lNn as a2,iCt as a3,sCt as a4,FI as a5,mZn as a6,rS as a7,X_ as a8,_Zn as a9,OX as aa,tme as ab,GI as ac,jRe as ad,TPn as ae,SPn as af,CPn as ag,MPn as ah,_Be as ai,$Ct as aj,ov as ak,qNn as al,XCt as am,LPn as an,bQ as ao,ABe as b,gu as c,mu as d,kCn as e,Ls as f,I as g,Hn as h,os as i,LBe as j,r0 as k,QAt as l,Du as m,im as n,tr as o,Pa as p,sl as q,wQ as r,R5 as s,p3 as t,bZn as u,Fr as v,zNe as w,Ds as x,SAt as y,PRn as z};