1
0
ultimatedocs/docs/.vitepress/dist/assets/chunks/flowchart-elk-definition-ae0efee6.DUjLe62V.js

140 lines
1.4 MiB
JavaScript
Raw Permalink Normal View History

2024-07-27 13:25:59 +02:00
import{d as xNe,p as FNe}from"./flowDb-c1833063.DvoUJcPW.js";import{b2 as Nse,b3 as BNe,l as Ba,h as IO,aZ as xU,u as RNe,p as E0n,t as j0n,o as $U,j as KNe}from"../app.CV7ObeM5.js";import{i as _Ne,a as HNe,l as qNe,b as UNe,k as GNe,m as zNe}from"./edges-066a5561.ShgFzVAi.js";import{l as XNe}from"./line.DlbMY8Uz.js";import"./framework.DuA-ZlS8.js";import"./theme.B-IrzYt-.js";import"./createText-ca0c5216.CfRbav5E.js";import"./array.BKyUJesY.js";import"./path.CbwjOpE9.js";function NU(ct){throw new Error('Could not dynamically require "'+ct+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Bse={exports:{}};(function(ct,_t){(function(Xt){ct.exports=Xt()})(function(){return function(){function Xt(gt,Sr,Di){function y(Ht,Jt){if(!Sr[Ht]){if(!gt[Ht]){var ze=typeof NU=="function"&&NU;if(!Jt&&ze)return ze(Ht,!0);if(Wt)return Wt(Ht,!0);var Yi=new Error("Cannot find module '"+Ht+"'");throw Yi.code="MODULE_NOT_FOUND",Yi}var Ri=Sr[Ht]={exports:{}};gt[Ht][0].call(Ri.exports,function(En){var hu=gt[Ht][1][En];return y(hu||En)},Ri,Ri.exports,Xt,gt,Sr,Di)}return Sr[Ht].exports}for(var Wt=typeof NU=="function"&&NU,Bu=0;Bu<Di.length;Bu++)y(Di[Bu]);return y}return Xt}()({1:[function(Xt,gt,Sr){Object.defineProperty(Sr,"__esModule",{value:!0});var Di=function(){function Ht(Jt,ze){for(var Yi=0;Yi<ze.length;Yi++){var Ri=ze[Yi];Ri.enumerable=Ri.enumerable||!1,Ri.configurable=!0,"value"in Ri&&(Ri.writable=!0),Object.defineProperty(Jt,Ri.key,Ri)}}return function(Jt,ze,Yi){return ze&&Ht(Jt.prototype,ze),Yi&&Ht(Jt,Yi),Jt}}();function y(Ht,Jt){if(!(Ht instanceof Jt))throw new TypeError("Cannot call a class as a function")}var Wt=function(){function Ht(){var Jt=this,ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Yi=ze.defaultLayoutOptions,Ri=Yi===void 0?{}:Yi,En=ze.algorithms,hu=En===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:En,Qc=ze.workerFactory,Ru=ze.workerUrl;if(y(this,Ht),this.defaultLayoutOptions=Ri,this.initialized=!1,typeof Ru>"u"&&typeof Qc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Pr=Qc;typeof Ru<"u"&&typeof Qc>"u"&&(Pr=function(N1){return new Worker(N1)});var Cf=Pr(Ru);if(typeof Cf.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Bu(Cf),this.worker.postMessage({cmd:"register",algorithms:hu}).then(function(L1){return Jt.initialized=!0}).catch(console.err)}return Di(Ht,[{key:"layout",value:function(ze){var Yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ri=Yi.layoutOptions,En=Ri===void 0?this.defaultLayoutOptions:Ri,hu=Yi.logging,Qc=hu===void 0?!1:hu,Ru=Yi.measureExecutionTime,Pr=Ru===void 0?!1:Ru;return ze?this.worker.postMessage({cmd:"layout",graph:ze,layoutOptions:En,options:{logging:Qc,measureExecutionTime:Pr}}):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&&this.worker.terminate()}}]),Ht}();Sr.default=Wt;var Bu=function(){function Ht(Jt){var ze=this;if(y(this,Ht),Jt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=Jt,this.worker.onmessage=function(Yi){setTimeout(function(){ze.receive(ze,Yi)},0)}}return Di(Ht,[{key:"postMessage",value:function(ze){var Yi=this.id||0;this.id=Yi+1,ze.id=Yi;var Ri=this;return new Promise(function(En,hu){Ri.resolvers[Yi]=function(Qc,Ru){Qc?(Ri.convertGwtStyleError(Qc),hu(Qc)):En(Ru)},Ri.worker.postMessage(ze)})}},{key:"receive",value:function(ze,Yi){var Ri=Yi.data,En=ze.resolvers[Ri.id];En&&(delete ze.resolvers[Ri.id],Ri.error?En(Ri.error):En(null,Ri.data))}},{key:"term
`,wu(Xi(n,e[0])))>=0;)++e[0]}function J4e(n,e){eu(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Q4e(n,e){tu(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Y4e(n,e){I0(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Z4e(n,e){P0(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function nme(n,e,t){return vp(new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)==(Jn(e),e)}function eme(n,e){return O(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Y4(e,n)}function tme(n,e){return O(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Y4(e,n)}function gk(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function e$n(n,e){return e==(xL(),xL(),AQn)?n.toLocaleLowerCase():n.toLowerCase()}function t$n(n){if(!n.e)throw M(new nc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function sQ(n){if(!n.c)throw M(new nc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function i$n(n){var e;for(++n.a,e=n.c.a.length;n.a<e;++n.a)if(n.c.b[n.a])return}function ime(n){var e,t;if(n.a){t=null;do e=n.a,n.a=null,t=d_n(e,t);while(n.a);n.a=t}}function rme(n){var e,t;if(n.b){t=null;do e=n.b,n.b=null,t=d_n(e,t);while(n.b);n.b=t}}function cme(n,e){var t;for(t=0;n.e!=n.i.gc();)Pbe(e,ce(n),Y(t)),t!=et&&++t}function ume(n,e){var t;return t=x0(n.e.c,e.e.c),t==0?bt(n.e.d,e.e.d):t}function ome(n,e){var t,i;for(i=e.c,t=i+1;t<=e.f;t++)n.a[t]>n.a[i]&&(i=t);return i}function r$n(n){var e;return e=u(v(n,(W(),ob)),313),e?e.a==n:!1}function c$n(n){var e;return e=u(v(n,(W(),ob)),313),e?e.i==n:!1}function u$n(){u$n=F,yZn=Ce((Vi(),S(T(Ion,1),G,367,0,[Xs,Jh,Oc,Kc,zr])))}function o$n(){o$n=F,rne=Ce((ow(),S(T(ine,1),G,375,0,[gj,zP,XP,GP,UP])))}function s$n(){s$n=F,wne=Ce((o1(),S(T(Lsn,1),G,348,0,[J_,Dsn,Q_,pv,gv])))}function f$n(){f$n=F,eie=Ce((T5(),S(T($hn,1),G,323,0,[Nhn,KH,_H,Y8,Z8])))}function h$n(){h$n=F,Sne=Ce((Yo(),S(T(hfn,1),G,171,0,[Ej,U8,ka,G8,xw])))}function l$n(){l$n=F,qre=Ce((wA(),S(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])))}function a$n(){a$n=F,qce=Ce((R5(),S(T(Hce,1),G,373,0,[L2,D3,g9,w9,_j])))}function d$n(){d$n=F,Wce=Ce((Yk(),S(T(K1n,1),G,324,0,[F1n,_q,R1n,Hq,B1n])))}function b$n(){b$n=F,zue=Ce((ci(),S(T(E9,1),G,88,0,[Wf,Xr,Br,Vf,us])))}function w$n(){w$n=F,mue=Ce((gf(),S(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])))}function g$n(){g$n=F,eoe=Ce((Fg(),S(T(A9,1),G,256,0,[Aa,eE,adn,T9,ddn])))}function p$n(){p$n=F,roe=Ce((tn(),S(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])))}function cT(){cT=F,Run=new Uz("BY_SIZE",0),s_=new Uz("BY_SIZE_AND_SHAPE",1)}function uT(){uT=F,v_=new Xz("EADES",0),vP=new Xz("FRUCHTERMAN_REINGOLD",1)}function pk(){pk=F,WP=new Qz("READING_DIRECTION",0),Nsn=new Qz("ROTATION",1)}function r5(){r5=F,PZn=new rwn,IZn=new own,AZn=new swn,SZn=new uwn,OZn=new fwn}function m$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function v$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function k$n(n,e,t){qC.call(this),lQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function sme(n,e,t){var i,r;for(r=new C(t);r.a<r.c.c.length;)i=E(r),WZ(n,e,i)}function df(n,e,t){var i;if(e==null)throw M(new ip);return i=dl(n,e),y3e(n,e,t),i}function g$(n,e){var t;return t=u(ee(n.a,e),137),t||(t=new xO,Xe(n.a,e,t)),t}function $n(n,e){var t;return t=(n.i==null&&bh(n),n.i),e>=0&&e<t.length?t[e]:null}function fme(n,e){var t;return t=e>0?e-1:e,eEn($he(U$n(YV(new up,t),n.n),n.j),n.k)}function Nr(n){var e,t;t=(e=new hD,e),ve((!n.q&&(n.q=new q(As,n,11,10)),n.q),t)}function fQ(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(ll(n),n.o)}function oT(n){return Ec(n,et)>0?et:Ec(n,Wi)<0?Wi:Ae(n)}function Qb(n){return n<3?(Co(n,$zn),n+1):n<Y5?wi(n/.75+1):et}function y$n(n,e){return Jn(e),kW(n),n.d.Ob()?(e.Cd(n.d.Pb()),!0):!1}function hme(n,e){var t,i;return t=u(tw(n.d,e),16),t?(i=e,n.e.pc(i,t)):null}function lme(n,e,t,i){var r;n.j=-1,Rnn(n,pnn(n,e,t),(dr(),r=u(e,69).vk(),r.xl(i)))}function ame(n,e){return _p(),-jc(u(v(n,(lc(),I2)),17).a,u(v(e,I2),17).a)}function j$n(n,e){return!!s5(n,e,Ae(er(Uh,xh(Ae(er(e==null?0:mt(e),Gh)),15))))}function dme(){return Cm(),S(T(kO,1),G,245,0,[kU,mO,vO,pO,vU,gO,wO,mU])}function bme(){return l1(),S(T(vue,1),G,285,0,[u
`)}return e&&(e.stack||t(n[oB]))}function qY(n,e){switch(e){case 3:return n.f!=0;case 4:return n.g!=0;case 5:return n.i!=0;case 6:return n.j!=0}return qQ(n,e)}function EBn(n){switch(n.g){case 0:return new W4n;case 1:return new Y4n;default:throw M(new Gn(cR+(n.f!=null?n.f:""+n.g)))}}function a8e(n){switch(n.g){case 0:return new J4n;case 1:return new Q4n;default:throw M(new Gn(GR+(n.f!=null?n.f:""+n.g)))}}function d8e(n){switch(n.g){case 1:return new H4n;case 2:return new fAn;default:throw M(new Gn(GR+(n.f!=null?n.f:""+n.g)))}}function CBn(n){switch(n.g){case 0:return new cz;case 1:return new cjn;default:throw M(new Gn(xS+(n.f!=null?n.f:""+n.g)))}}function dx(){nnn();var n,e,t;t=hNe+++Date.now(),n=wi(y.Math.floor(t*Iy))&YA,e=wi(t-n*Ctn),this.a=n^1502,this.b=e^LB}function Yo(){Yo=F,Ej=new a7(kh,0),U8=new a7("FIRST",1),ka=new a7(GXn,2),G8=new a7("LAST",3),xw=new a7(zXn,4)}function qT(){qT=F,wU=new EC(Crn,0),ydn=new EC("GROUP_DEC",1),Edn=new EC("GROUP_MIXED",2),jdn=new EC("GROUP_INC",3)}function b8e(n,e){var t,i,r,c;e&&(r=yl(e,"x"),t=new tyn(n),H4(t.a,(Jn(r),r)),c=yl(e,"y"),i=new ryn(n),U4(i.a,(Jn(c),c)))}function w8e(n,e){var t,i,r,c;e&&(r=yl(e,"x"),t=new uyn(n),_4(t.a,(Jn(r),r)),c=yl(e,"y"),i=new oyn(n),q4(i.a,(Jn(c),c)))}function g8e(n,e){var t,i,r,c;for(r=new Gc(e.gc()),i=e.Kc();i.Ob();)t=i.Pb(),c=IF(n,u(t,58)),c&&Bn(r.c,c);return r}function iw(n,e,t){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),x(e)===x(i)||e!=null&&rt(e,i))return t&&r.Qb(),!0;return!1}function MBn(n){var e,t,i;return t=n.jh(),t?(e=n.Eh(),O(e,167)&&(i=MBn(u(e,167)),i!=null)?i+"."+t:t):null}function p8e(n){var e,t,i;return n.e==0?0:(e=n.d<<5,t=n.a[n.d-1],n.e<0&&(i=Ixn(n),i==n.d-1&&(--t,t=t|0)),e-=iy(t),e)}function m8e(n){var e,t,i;return n<fP.length?fP[n]:(t=n>>5,e=n&31,i=K(ye,Ke,28,t+1,15,1),i[t]=1<<e,new Qa(1,t+1,i))}function TBn(n,e){var t,i;if(e){for(t=0;t<n.i;++t)if(i=u(n.g[t],378),i.mj(e))return!1;return ve(n,e)}else return!1}function UY(n,e,t){var i,r;if(++n.j,t.dc())return!1;for(r=t.Kc();r.Ob();)i=r.Pb(),n.qj(e,n.Zi(e,i)),++e;return!0}function v8e(n,e,t,i){var r,c;if(c=t-e,c<3)for(;c<3;)n*=10,++c;else{for(r=1;c>3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function Ot(n,e){var t,i,r;if(t=(n.i==null&&bh(n),n.i),i=e.Lj(),i!=-1){for(r=t.length;i<r;++i)if(t[i]==e)return i}return-1}function k8e(n){var e,t,i,r,c;for(t=u(n.g,689),i=n.i-1;i>=0;--i)for(e=t[i],r=0;r<i;++r)if(c=t[r],DUn(n,e,c)){Jp(n,i);break}}function GY(n){var e,t,i,r;for(e=new Ka,r=new J3(n.b.Kc());r.b.Ob();)i=u(r.b.Pb(),701),t=xje(i),jwe(e,e.a.length,t);return e.a}function zY(n){var e;return!n.c&&(n.c=new pbn),Yt(n.d,new vbn),vAe(n),e=hAe(n),qt(new Tn(null,new In(n.d,16)),new N9n(n)),e}function y8e(n,e){e.Ug("End label post-processing",1),qt(ut(rc(new Tn(null,new In(n.b,16)),new Nwn),new $wn),new xwn),e.Vg()}function XY(n){bx(),this.c=If(S(T(PNe,1),Fn,845,0,[Jte])),this.b=new de,this.a=n,Xe(this.b,EI,1),nu(Qte,new Nkn(this))}function ABn(n,e,t){H$n(),njn.call(this),this.a=Va(zQn,[J,$tn],[603,217],0,[dP,h_],2),this.c=new mp,this.g=n,this.f=e,this.d=t}function VY(n,e){this.n=Va(xa,[J,SB],[376,28],14,[e,wi(y.Math.ceil(n/32))],2),this.o=n,this.p=e,this.j=n-1>>1,this.k=e-1>>1}function j8e(n){YM(),u(n.of((qe(),Ma)),181).Hc((io(),hO))&&(u(n.of(Ww),181).Fc((zu(),B3)),u(n.of(Ma),181).Mc(hO))}function SBn(n){var e,t;e=n.d==(Yp(),dv),t=GZ(n),e&&!t||!e&&t?U(n.a,(cn(),Th),(Rh(),Uj)):U(n.a,(cn(),Th),(Rh(),qj))}function bx(){bx=F,nC(),EI=(cn(),gb),Qte=If(S(T(Xq,1),Ern,149,0,[Tj,Vs,M2,wb,qw,IH,Av,Sv,OH,J8,C2,Bd,T2]))}function E8e(n,e){var t;return t=u(Wr(n,qu(new ju,new yu,new Eu,S(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),t.Qc(WSn(t.gc()))}function PBn(n,e){var t,i;if(i=new Y3(n.a.ad(e,!0)),i.a.gc()<=1)throw M(new ip);return t=i.a.ec().Kc(),t.Pb(),u(t.Pb(),40)}function C8e(n,e,t){var i,r;return i=$(n.p[e.i.p])+$(n.d[e.i.p])+e.n.b+e.a.b,r=$(n.p[t.i.p])+$(n.d[t.i.p])+t.n.b+t.a.b,r-i}function WY(n,e){var t;return n.i>0&&(e.length<n.i&&(t=mk(wo(e).c,n.i),e=t),Ic(n.g,0,e,0,n.i)),e.length>n.i&&$t(e,n.i,null),e}function UT(n){var e;return n.Db&64?m5(n):(e=new ls(m5(n)),e.a+=" (instanceClassName: ",Er(e,n.D),e.a+=")",e.
`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
`)}return[]}function k7e(n){var e;return e=(Q$n(),wQn),e[n>>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[n&15]<<28}function JRn(n){var e,t,i;n.b==n.c&&(i=n.a.length,t=QQ(y.Math.max(8,i))<<1,n.b!=0?(e=$s(n.a,t),axn(n,e,i),n.a=e,n.b=0):Pb(n.a,t),n.c=i)}function y7e(n,e){var t;return t=n.b,t.pf((qe(),oo))?t.ag()==(tn(),Wn)?-t.Mf().a-$(R(t.of(oo))):e+$(R(t.of(oo))):t.ag()==(tn(),Wn)?-t.Mf().a:e}function Gk(n){var e;return n.b.c.length!=0&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:(e=vN(n),e??""+(n.c?qr(n.c.a,n,0):-1))}function lA(n){var e;return n.f.c.length!=0&&u(sn(n.f,0),72).a?u(sn(n.f,0),72).a:(e=vN(n),e??""+(n.i?qr(n.i.j,n,0):-1))}function j7e(n,e){var t,i;if(e<0||e>=n.gc())return null;for(t=e;t<n.gc();++t)if(i=u(n.Xb(t),131),t==n.gc()-1||!i.o)return new bi(Y(t),i);return null}function E7e(n,e,t){var i,r,c,s,f;for(c=n.c,f=t?e:n,i=t?n:e,r=f.p+1;r<i.p;++r)if(s=u(sn(c.a,r),10),!(s.k==(Vn(),Uf)||Q7e(s)))return!1;return!0}function kZ(n){var e,t,i,r,c;for(c=0,r=li,i=0,t=new C(n.a);t.a<t.c.c.length;)e=u(E(t),172),c+=e.r+(i>0?n.c:0),r=y.Math.max(r,e.d),++i;n.e=c,n.b=r}function C7e(n){var e,t;if(!n.b)for(n.b=RM(u(n.f,123).kh().i),t=new ne(u(n.f,123).kh());t.e!=t.i.gc();)e=u(ce(t),135),nn(n.b,new pD(e));return n.b}function M7e(n,e){var t,i,r;if(e.dc())return m4(),m4(),aE;for(t=new LAn(n,e.gc()),r=new ne(n);r.e!=r.i.gc();)i=ce(r),e.Hc(i)&&ve(t,i);return t}function yZ(n,e,t,i){return e==0?i?(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),n.o):(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),uk(n.o)):tA(n,e,t,i)}function Hx(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e<t;++e)S7(L(n.rb,e));if(n.vb)for(e=0,t=n.vb.i;e<t;++e)S7(L(n.vb,e));K6((Du(),zi),n),n.Bb|=1}function Et(n,e,t,i,r,c,s,f,h,l,a,d,g,p){return P_n(n,e,i,null,r,c,s,f,h,l,g,!0,p),LY(n,a),O(n.Cb,90)&&hw(Zu(u(n.Cb,90)),2),t&&DQ(n,t),NY(n,d),n}function T7e(n){var e,t;if(n==null)return null;t=0;try{t=Ao(n,Wi,et)&ui}catch(i){if(i=It(i),O(i,130))e=iT(n),t=e[0];else throw M(i)}return yk(t)}function A7e(n){var e,t;if(n==null)return null;t=0;try{t=Ao(n,Wi,et)&ui}catch(i){if(i=It(i),O(i,130))e=iT(n),t=e[0];else throw M(i)}return yk(t)}function S7e(n,e){var t,i,r;return r=n.h-e.h,r<0||(t=n.l-e.l,i=n.m-e.m+(t>>22),r+=i>>22,r<0)?!1:(n.l=t&ro,n.m=i&ro,n.h=r&Il,!0)}function qx(n,e,t,i,r,c,s){var f,h;return!(e.Te()&&(h=n.a.Ne(t,i),h<0||!r&&h==0)||e.Ue()&&(f=n.a.Ne(t,c),f>0||!s&&f==0))}function P7e(n,e){cm();var t;if(t=n.j.g-e.j.g,t!=0)return 0;switch(n.j.g){case 2:return fx(e,Csn)-fx(n,Csn);case 4:return fx(n,Esn)-fx(e,Esn)}return 0}function I7e(n){switch(n.g){case 0:return Z_;case 1:return nH;case 2:return eH;case 3:return tH;case 4:return JP;case 5:return iH;default:return null}}function $r(n,e,t){var i,r;return i=(r=new lD,ad(r,e),zc(r,t),ve((!n.c&&(n.c=new q(yb,n,12,10)),n.c),r),r),e1(i,0),Zb(i,1),u1(i,!0),c1(i,!0),i}function Jp(n,e){var t,i;if(e>=n.i)throw M(new aL(e,n.i));return++n.j,t=n.g[e],i=n.i-e-1,i>0&&Ic(n.g,e+1,n.g,e,i),$t(n.g,--n.i,null),n.Qi(e,t),n.Ni(),t}function QRn(n,e){var t,i;return n.Db>>16==17?n.Cb.Th(n,21,Ts,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function O7e(n){var e,t,i,r;for(Dn(),Yt(n.c,n.a),r=new C(n.c);r.a<r.c.c.length;)for(i=E(r),t=new C(n.b);t.a<t.c.c.length;)e=u(E(t),693),e.bf(i)}function D7e(n){var e,t,i,r;for(Dn(),Yt(n.c,n.a),r=new C(n.c);r.a<r.c.c.length;)for(i=E(r),t=new C(n.b);t.a<t.c.c.length;)e=u(E(t),382),e.bf(i)}function L7e(n){var e,t,i,r,c;for(r=et,c=null,i=new C(n.d);i.a<i.c.c.length;)t=u(E(i),218),t.d.j^t.e.j&&(e=t.e.e-t.d.e-t.a,e<r&&(r=e,c=t));return c}function jZ(){jZ=F,hZn=new Mn(Qtn,(_n(),!1)),oZn=new Mn(Ytn,100),jon=(i5(),E_),sZn=new Mn(Ztn,jon),fZn=new Mn(nin,vh),lZn=new Mn(ein,Y(et))}function YRn(n,e,t){var i,r,c,s,f,h,l,a;for(l=0,r=n.a[e],c=0,s=r.length;c<s;++c)for(i=r[c],a=p5(i,t),h=a.Kc();h.Ob();)f=u(h.Pb(),12),Xe(n.f,f,Y(l++))}function N7e(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Ja(r),s=(i.b-i.a)*i.c<0?(K1(),$a):new q1(i);s.Ob();)c=u(s.Pb(),17),Pn(n,e,Zp(Jb(t,c.a)))}function $7e(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Ja(r),s=(i.b-i.a)*i.c<0?(K1(),$a):new q1(i)
\r\f]+`);try{L9=S(T(LNe,1),Fn,2114,0,[new W9((kX(),zT("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",D7((KE(),KE(),P8))))),new W9(zT("yyyy-MM-dd'T'HH:mm:ss'.'SSS",D7(P8))),new W9(zT("yyyy-MM-dd'T'HH:mm:ss",D7(P8))),new W9(zT("yyyy-MM-dd'T'HH:mm",D7(P8))),new W9(zT("yyyy-MM-dd",D7(P8)))])}catch(n){if(n=It(n),!O(n,82))throw M(n)}}function ZPe(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=Cen(n,e),i==0&&on(un(v(e.j,(W(),va)))))return 0;!on(un(v(e.j,(W(),va))))&&!on(un(v(e.j,y2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,va))),sy(n,e,r,!0),on(un(v(e.j,y2)))&&U(e.j,y2,(_n(),!1)),on(un(v(e.j,va)))&&(U(e.j,va,(_n(),!1)),U(e.j,y2,!0)),t=Cen(n,e);do{if($Q(n),t==0)return 0;r=!r,c=t,sy(n,e,r,!1),t=Cen(n,e)}while(c>t);return c}function YUn(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=kA(n,e),i==0&&on(un(v(e.j,(W(),va)))))return 0;!on(un(v(e.j,(W(),va))))&&!on(un(v(e.j,y2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,va))),sy(n,e,r,!0),on(un(v(e.j,y2)))&&U(e.j,y2,(_n(),!1)),on(un(v(e.j,va)))&&(U(e.j,va,(_n(),!1)),U(e.j,y2,!0)),t=kA(n,e);do{if($Q(n),t==0)return 0;r=!r,c=t,sy(n,e,r,!1),t=kA(n,e)}while(c>t);return c}function Gen(n,e,t,i){var r,c,s,f,h,l,a,d,g;return h=mi(new V(t.a,t.b),n),l=h.a*e.b-h.b*e.a,a=e.a*i.b-e.b*i.a,d=(h.a*i.b-h.b*i.a)/a,g=l/a,a==0?l==0?(r=tt(new V(t.a,t.b),rh(new V(i.a,i.b),.5)),c=W1(n,r),s=W1(tt(new V(n.a,n.b),e),r),f=y.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c<s&&c<=f?new V(n.a,n.b):s<=f?tt(new V(n.a,n.b),e):null):null:d>=0&&d<=1&&g>=0&&g<=1?tt(new V(n.a,n.b),rh(new V(e.a,e.b),d)):null}function nIe(n,e,t){var i,r,c,s,f;if(i=u(v(n,(cn(),kH)),21),t.a>e.a&&(i.Hc((wd(),m9))?n.c.a+=(t.a-e.a)/2:i.Hc(v9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),y9))?n.c.b+=(t.b-e.b)/2:i.Hc(k9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(f=new C(n.a);f.a<f.c.c.length;)s=u(E(f),10),s.k==(Vn(),Zt)&&(r=u(v(s,gc),64),r==(tn(),Zn)?s.n.a+=t.a-e.a:r==ae&&(s.n.b+=t.b-e.b));c=n.d,n.f.a=t.a-c.b-c.c,n.f.b=t.b-c.d-c.a}function eIe(n,e,t){var i,r,c,s,f;if(i=u(v(n,(cn(),kH)),21),t.a>e.a&&(i.Hc((wd(),m9))?n.c.a+=(t.a-e.a)/2:i.Hc(v9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),y9))?n.c.b+=(t.b-e.b)/2:i.Hc(k9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(s=new C(n.a);s.a<s.c.c.length;)c=u(E(s),10),c.k==(Vn(),Zt)&&(r=u(v(c,gc),64),r==(tn(),Zn)?c.n.a+=t.a-e.a:r==ae&&(c.n.b+=t.b-e.b));f=n.d,n.f.a=t.a-f.b-f.c,n.f.b=t.b-f.d-f.a}function tIe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(e=aHn(n),a=(f=new Ha(e).a.vc().Kc(),new PE(f));a.a.Ob();){for(l=(r=u(a.a.Pb(),44),u(r.ld(),10)),d=0,g=0,d=l.d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)i=Q8e(t,c),h=0,n.c==(sh(),y1)?h=i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:h=i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,s=$(n.d[t.p])+h,n.d[c.p]=s,d=y.Math.max(d,c.d.d-s),g=y.Math.max(g,s+c.o.b+c.d.a),t=c;t=l;do n.d[t.p]=$(n.d[t.p])+d,t=n.a[t.p];while(t!=l);n.b[l.p]=d+g}}function V5(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=0,s=n.t,r=0,i=0,h=0,g=0,d=0,t&&(n.n.c.length=0,nn(n.n,new NM(n.s,n.t,n.i))),f=0,a=new C(n.b);a.a<a.c.c.length;)l=u(E(a),27),c+l.g+(f>0?n.i:0)>e&&h>0&&(c=0,s+=h+n.i,r=y.Math.max(r,g),i+=h+n.i,h=0,g=0,t&&(++d,nn(n.n,new NM(n.s,s,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=y.Math.max(h,l.f),t&&gZ(u(sn(n.n,d),209),l),c+=l.g+(f>0?n.i:0),++f;return r=y.Math.max(r,g),i+=h,t&&(n.r=r,n.d=i,kZ(n.j)),new Ho(n.s,n.t,r,i)}function xF(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(n.b=!1,d=St,h=li,g=St,l=li,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),272),r=t.a,d=y.Math.min(d,r.c),h=y.Math.max(h,r.c+r.b),g=y.Math.min(g,r.d),l=y.Math.max(l,r.d+r.a),s=new C(t.c);s.a<s.c.c.length;)c=u(E(s),407),e=c.a,e.a?(a=r.d+c.b.b,f=a+c.c,g=y.Math.min(g,a),l=y.Math.max(l,f)):(a=r.c+c.b.a,f=a+c.c,d=y.Math.min(d,a),h=y.Math.max(h,f));n.a=new V(h-d,l-g),n.c=new V(d+n.d.a,g+n.d.b)}function Wg(n){var e,t,i,r,c,s,f,h;if(!n.a){if(n.o=null,h=new vyn(n),e=new yvn,t=x9,f=t.a.zc(n,t),f==null){for(s=new ne(Hr(n));s.e!=s.i.gc();)c=u(ce(s),29),Bt(h,Wg(c));t.a.Bc(n)!=null,t.a.gc()==0}for(r=(!n.s&&(n.s=new q(ku,n,21,17)),new ne(n.s));r.e!=r.i.gc();)i=u(ce(r),179),O(i,331)&&ve(e,u(i,35));ew(e),n.k=new HSn(n,(u(L(_((G1(),Hn).o),7),19),e.i),e.g),Bt(h
\r\r `),Dr(z2,NK,i),Dr(Uv,NK,bw(i)),i=new yo(4),_k(i,XJn),Dr(z2,S8,i),Dr(Uv,S8,bw(i)),i=new yo(4),_k(i,XJn),Dr(z2,S8,i),Dr(Uv,S8,bw(i)),i=new yo(4),_k(i,VJn),gw(i,u(Nc(z2,S8),122)),Dr(z2,LK,i),Dr(Uv,LK,bw(i)),i=new yo(4),_k(i,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँअह़्॑॔क़ॣ९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼ੴઁઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૯ଁଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൯กฮะฺเ๎๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩↀↂ々々〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Dr(z2,$K,i),Dr(Uv,$K,bw(i)),i=new yo(4),_k(i,VJn),xc(i,95,95),xc(i,58,58),Dr(z2,xK,i),Dr(Uv,xK,bw(i))),t=u(Nc(e?z2:Uv,n),138),t}function Czn(n){r0(n,new gd(jz(UE(e0(Yd(n0(Zd(new Ra,Yn),"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 Upn),Yn),yt((Cm(),kU),S(T(kO,1),G,245,0,[mO,vO,pO,vU,gO,wO]))))),Q(n,Yn,Gin,rn(PH)),Q(n,Yn,zin,rn(phn)),Q(n,Yn,WB,rn(Tj)),Q(n,Yn,Xin,rn(Vs)),Q(n,Yn,eR,rn(M2)),Q(n,Yn,$R,rn(wb)),Q(n,Yn,Vin,rn(qw)),Q(n,Yn,Win,rn(Av)),Q(n,Yn,Jin,rn(Sv)),Q(n,Yn,Qin,rn(IH)),Q(n,Yn,yw,rn(gb)),Q(n,Yn,Yin,rn(OH)),Q(n,Yn,Zin,rn(J8)),Q(n,Yn,nrn,rn(yI)),Q(n,Yn,Tin,rn(Mj)),Q(n,Yn,Sin,rn(C2)),Q(n,Yn,Ain,rn(Bd)),Q(n,Yn,Pin,rn(T2)),Q(n,Yn,Ny,Y(0)),Q(n,Yn,Iin,rn(Tv)),Q(n,Yn,Oin,rn(ghn)),Q(n,Yn,Din,rn(I3)),Q(n,Yn,Ol,rn(Thn)),Q(n,Yn,pS,rn(vhn)),Q(n,Yn,mS,rn(khn)),Q(n,Yn,l8,rn(LH)),Q(n,Yn,AR,rn(yhn)),Q(n,Yn,SR,rn(jhn)),Q(n,Yn,vS,rn(jI)),Q(n,Yn,kS,rn(NH)),Q(n,Yn,yS,rn(Chn)),Q(n,Yn,jS,rn(Ehn)),Q(n,Yn,PR,rn(Mhn)),Q(n,Yn,yR,rn(db)),Q(n,Yn,jR,rn(W8)),Q(n,Yn,bS,rn(MH)),Q(n,Yn,wS,rn(Wfn)),Q(n,Yn,$y,rn(Vte)),Q(n,Yn,xy,rn(Wte)),Q(n,Yn,Fy,rn(Xte)),Q(n,Yn,By,rn(zte)),Q(n,Yn,J0,mhn),Q(n,Yn,W0,lhn),Q(n,Yn,qy,zfn),Q(n,Yn,ern,0),Q(n,Yn,uS,Y(1)),Q(n,Yn,l3,Gm),Q(n,Yn,trn,rn(Fd)),Q(n,Yn,tR,rn(Kt)),Q(n,Yn,irn,rn(Mv)),Q(n,Yn,Uy,rn(xte)),Q(n,Yn,rrn,rn(Th)),Q(n,Yn,CS,rn(Bw)),Q(n,Yn,c8,(_n(),!0)),Q(n,Yn,crn,rn(Rw)),Q(n,Yn,urn,rn(Nd)),Q(n,Yn,i2,rn(xd)),Q(n,Yn,a3,rn(kI)),Q(n,Yn,zm,rn(SH)),Q(n,Yn,xR,Gfn),Q(n,Yn,Xm,rn(ab)),Q(n,Yn,orn,rn(mI)),Q(n,Yn,Vm,rn(_w)),Q(n,Yn,srn,rn(Hte)),Q(n,Yn,frn,rn(bhn)),Q(n,Yn,hrn,dhn),Q(n,Yn,lrn,rn(Rte)),Q(n,Yn,arn,rn(Kte)),Q(n,Yn,drn,rn(_te)),Q(n,Yn,brn,rn(Bte)),Q(n,Yn,din,rn(DH)),Q(n,Yn,Hy,rn($d)),Q(n,Yn,aR,rn(ya)),Q(n,Yn,ain,rn(Q8)),Q(n,Yn,win,rn(ou)),Q(n,Yn,fR,rn(Ld)),Q(n,Yn,h8,rn(X8)),Q(n,Yn,min,rn(lb)),Q(n,Yn,Ein,r
`,NXn=`)]}"' \r
`,$Xn="The given string contains parts that cannot be parsed as numbers.",Ky="org.eclipse.elk.core.math",xXn={3:1,4:1,140:1,214:1,423:1},FXn={3:1,4:1,107:1,214:1,423:1},w1="org.eclipse.elk.alg.layered.graph.transform",BXn="ElkGraphImporter",RXn="ElkGraphImporter/lambda$1$Type",KXn="ElkGraphImporter/lambda$2$Type",_Xn="ElkGraphImporter/lambda$4$Type",Qn="org.eclipse.elk.alg.layered.intermediate",HXn="Node margin calculation",qXn="ONE_SIDED_GREEDY_SWITCH",UXn="TWO_SIDED_GREEDY_SWITCH",cR="No implementation is available for the layout processor ",uR="IntermediateProcessorStrategy",oR="Node '",GXn="FIRST_SEPARATE",zXn="LAST_SEPARATE",XXn="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",f8="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Vh="org.eclipse.elk.alg.layered.p3order.counting",_y={230:1},w3="org.eclipse.elk.alg.layered.intermediate.loops",Io="org.eclipse.elk.alg.layered.intermediate.loops.ordering",la="org.eclipse.elk.alg.layered.intermediate.loops.routing",rin="org.eclipse.elk.alg.layered.intermediate.preserveorder",yh="org.eclipse.elk.alg.layered.intermediate.wrapping",Tc="org.eclipse.elk.alg.layered.options",sR="INTERACTIVE",cin="GREEDY",VXn="DEPTH_FIRST",WXn="EDGE_LENGTH",JXn="SELF_LOOPS",QXn="firstTryWithInitialOrder",uin="org.eclipse.elk.layered.directionCongruency",oin="org.eclipse.elk.layered.feedbackEdges",lS="org.eclipse.elk.layered.interactiveReferencePoint",sin="org.eclipse.elk.layered.mergeEdges",fin="org.eclipse.elk.layered.mergeHierarchyEdges",hin="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",lin="org.eclipse.elk.layered.portSortingStrategy",ain="org.eclipse.elk.layered.thoroughness",din="org.eclipse.elk.layered.unnecessaryBendpoints",bin="org.eclipse.elk.layered.generatePositionAndLayerIds",fR="org.eclipse.elk.layered.cycleBreaking.strategy",Hy="org.eclipse.elk.layered.layering.strategy",win="org.eclipse.elk.layered.layering.layerConstraint",gin="org.eclipse.elk.layered.layering.layerChoiceConstraint",pin="org.eclipse.elk.layered.layering.layerId",hR="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",lR="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",aR="org.eclipse.elk.layered.layering.nodePromotion.strategy",dR="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",bR="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",h8="org.eclipse.elk.layered.crossingMinimization.strategy",min="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",wR="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",gR="org.eclipse.elk.layered.crossingMinimization.semiInteractive",vin="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",kin="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",yin="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",jin="org.eclipse.elk.layered.crossingMinimization.positionId",Ein="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",pR="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",aS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",r2="org.eclipse.elk.layered.nodePlacement.strategy",dS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",mR="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",vR="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",kR="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",yR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",jR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Cin="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Min="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",bS="org.eclipse.elk.layered.edgeRouting.splines.mode",wS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ER="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Tin="org.eclipse.elk.layered.spacing.baseValue",Ain="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Sin="org.eclipse.elk.layered.spa
`,e=Y(0),s=0;s<this.p;s++){for(i+=""+e.a,e=Y(MAn(e.a)),r=0;r<this.o;r++)t=C$(this,r,s),Ec(t,0)==0?i+="_":Ec(t,1)==0?i+="X":i+="0";i+=`
`}return qo(i,0,i.length-1)},o.o=0,o.p=0,w(tS,"TwoBitGrid",1317),b(330,1317,{330:1},VY),o.j=0,o.k=0,w(tS,"PlanarGrid",330),b(176,330,{330:1,176:1}),o.g=0,o.i=0,w(tS,"Polyomino",176);var pNe=Nt(Dy,pXn);b(137,1,Rtn,xO),o.qf=function(e,t){return Pk(this,e,t)},o.nf=function(){return oPn(this)},o.of=function(e){return v(this,e)},o.pf=function(e){return kt(this,e)},w(Dy,"MapPropertyHolder",137),b(1318,137,Rtn,hqn),w(tS,"Polyominoes",1318);var MYn=!1,L8,con;b(1828,1,ie,Lbn),o.Cd=function(e){aGn(u(e,225))},w(h3,"DepthFirstCompaction/0methodref$compactTree$Type",1828),b(825,1,ie,IG),o.Cd=function(e){qwe(this.a,u(e,225))},w(h3,"DepthFirstCompaction/lambda$1$Type",825),b(1829,1,ie,gSn),o.Cd=function(e){z8e(this.a,this.b,this.c,u(e,225))},w(h3,"DepthFirstCompaction/lambda$2$Type",1829);var N8,uon;b(68,1,{68:1},jOn),w(h3,"Node",68),b(1214,1,{},yTn),w(h3,"ScanlineOverlapCheck",1214),b(1215,1,{693:1},JIn),o.bf=function(e){yae(this,u(e,451))},w(h3,"ScanlineOverlapCheck/OverlapsScanlineHandler",1215),b(1216,1,Ne,Nbn),o.Ne=function(e,t){return P5e(u(e,68),u(t,68))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(h3,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1216),b(451,1,{451:1},zz),o.a=!1,w(h3,"ScanlineOverlapCheck/Timestamp",451),b(1217,1,Ne,$bn),o.Ne=function(e,t){return fke(u(e,451),u(t,451))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(h3,"ScanlineOverlapCheck/lambda$0$Type",1217),b(557,1,{},kE),w(mXn,"SVGImage",557),b(334,1,{334:1},LV),o.Ib=function(){return"("+this.a+ur+this.b+ur+this.c+")"},w(mXn,"UniqueTriple",334),b(205,1,yd),w(n2,"AbstractLayoutProvider",205),b(1114,205,yd,xbn),o.rf=function(e,t){var i,r,c,s;switch(t.Ug(vXn,1),this.a=$(R(z(e,(M5(),aon)))),Df(e,w_)&&(c=Oe(z(e,w_)),i=TF(z4(),c),i&&(r=u(V7(i.f),205),r.rf(e,t.eh(1)))),s=new HDn(this.a),this.b=rDe(s,e),u(z(e,(Q$(),son)),489).g){case 0:kCe(new Fbn,this.b),ht(e,pP,v(this.b,pP));break;default:fl()}vDe(s),ht(e,hon,this.b),t.Vg()},o.a=0,w(kXn,"DisCoLayoutProvider",1114),b(1208,1,{},Fbn),o.c=!1,o.e=0,o.f=0,w(kXn,"DisCoPolyominoCompactor",1208),b(567,1,{567:1},cPn),o.b=!0,w(rS,"DCComponent",567),b(406,22,{3:1,34:1,22:1,406:1},hC),o.a=!1;var wP,fj,gP,hj,TYn=we(rS,"DCDirection",406,ke,zpe,lde),AYn;b(272,137,{3:1,272:1,96:1,137:1},bF),w(rS,"DCElement",272),b(407,1,{407:1},mZ),o.c=0,w(rS,"DCExtension",407),b(762,137,Rtn,Vjn),w(rS,"DCGraph",762),b(489,22,{3:1,34:1,22:1,489:1},bAn);var b_,oon=we(VB,Ktn,489,ke,nge,ade),SYn;b(865,1,ps,D5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,_tn),yXn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),fon),(l1(),Pt)),oon),yn((gf(),xn))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Htn),yXn),"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."),N2),fn),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,qtn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Xf),ki),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Utn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Xf),ki),yn(xn)))),QUn((new L5n,e))};var PYn,son,fon,IYn,OYn;w(VB,"DisCoMetaDataProvider",865),b(1010,1,ps,L5n),o.hf=function(e){QUn(e)};var DYn,w_,LYn,hon,pP,g_,lon,NYn,$Yn,xYn,FYn,aon;w(VB,"DisCoOptions",1010),b(1011,1,{},Bbn),o.sf=function(){var e;return e=new xbn,e},o.tf=function(e){},w(VB,"DisCoOptions/DiscoFactory",1011),b(568,176,{330:1,176:1,568:1},zHn),o.a=0,o.b=0,o.c=0,o.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",568);var p_,m_,mP;b(1286,1,De,Rbn),o.Mb=function(e){return yX(e)},w(e2,"ElkGraphComponentsProcessor/lambda$0$Type",1286),b(1287,1,{},Kbn),o.Kb=function(e){return Lp(),Kh(u(e,74))},w(e2,"ElkGraphComponentsProcessor/lambda$1$Type",1287),b(1288,1,De,_bn),o.Mb=function(e){return vbe(u(e,74))},w(e2,"ElkGraphComponent
start=`,Dc(e,this.i),e.a+=`
end=`,Dc(e,this.a),e.a+=`
nodeStartEdge=`,Dc(e,this.e),e.a+=`
startEndEdge=`,Dc(e,this.j),e.a+=`
originalEdge=`,Dc(e,this.f),e.a+=`
startInLayerDummy=`,Dc(e,this.k),e.a+=`
startInLayerEdge=`,Dc(e,this.n),e.a+=`
endInLayerDummy=`,Dc(e,this.b),e.a+=`
endInLayerEdge=`,Dc(e,this.c),e.a},w(yh,"BreakingPointInserter/BPInfo",313),b(661,1,{661:1},B7n),o.a=!1,o.b=0,o.c=0,w(yh,"BreakingPointInserter/Cut",661),b(1545,1,vt,Fpn),o.Kf=function(e,t){SMe(u(e,36),t)},w(yh,"BreakingPointProcessor",1545),b(1546,1,De,Bpn),o.Mb=function(e){return r$n(u(e,10))},w(yh,"BreakingPointProcessor/0methodref$isEnd$Type",1546),b(1547,1,De,Rpn),o.Mb=function(e){return c$n(u(e,10))},w(yh,"BreakingPointProcessor/1methodref$isStart$Type",1547),b(1548,1,vt,Kpn),o.Kf=function(e,t){JMe(this,u(e,36),t)},w(yh,"BreakingPointRemover",1548),b(1549,1,ie,_pn),o.Cd=function(e){u(e,131).k=!0},w(yh,"BreakingPointRemover/lambda$0$Type",1549),b(811,1,{},znn),o.b=0,o.e=0,o.f=0,o.j=0,w(yh,"GraphStats",811),b(812,1,{},VU),o.Ve=function(e,t){return y.Math.max($(R(e)),$(R(t)))},w(yh,"GraphStats/0methodref$max$Type",812),b(813,1,{},WU),o.Ve=function(e,t){return y.Math.max($(R(e)),$(R(t)))},w(yh,"GraphStats/2methodref$max$Type",813),b(1726,1,{},Hpn),o.Ve=function(e,t){return Q0e(R(e),R(t))},w(yh,"GraphStats/lambda$1$Type",1726),b(1727,1,{},P7n),o.Kb=function(e){return hRn(this.a,u(e,30))},w(yh,"GraphStats/lambda$2$Type",1727),b(1728,1,{},I7n),o.Kb=function(e){return eqn(this.a,u(e,30))},w(yh,"GraphStats/lambda$6$Type",1728),b(814,1,{},JU),o.og=function(e,t){var i;return i=u(v(e,(cn(),yhn)),15),i||(Dn(),Dn(),sr)},o.pg=function(){return!1},w(yh,"ICutIndexCalculator/ManualCutIndexCalculator",814),b(816,1,{},QU),o.og=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,A,I,D,N,H;for(H=(t.n==null&&BRn(t),t.n),l=(t.d==null&&BRn(t),t.d),N=K(Pi,Tr,28,H.length,15,1),N[0]=H[0],I=H[0],a=1;a<H.length;a++)N[a]=N[a-1]+H[a],I+=H[a];for(c=r_n(t)-1,f=u(v(e,(cn(),jhn)),17).a,r=li,i=new Z,p=y.Math.max(0,c-f);p<=y.Math.min(t.f-1,c+f);p++){if(j=I/(p+1),A=0,d=1,s=new Z,D=li,g=0,h=0,k=l[0],p==0)D=I,h=(t.g==null&&(t.g=Exn(t,new WU)),$(t.g));else{for(;d<t.f;)N[d-1]-A>=j&&(nn(s,Y(d)),D=y.Math.max(D,N[d-1]-g),h+=k,A+=N[d-1]-A,g=N[d-1],k=l[d]),k=y.Math.max(k,l[d]),++d;h+=k}m=y.Math.min(1/D,1/t.b/h),m>r&&(r=m,i=s)}return i},o.pg=function(){return!1},w(yh,"MSDCutIndexHeuristic",816),b(1683,1,vt,qpn),o.Kf=function(e,t){BPe(u(e,36),t)},w(yh,"SingleEdgeGraphWrapper",1683),b(232,22,{3:1,34:1,22:1,232:1},g6);var w2,dv,bv,Nw,F8,g2,wv=we(Tc,"CenterEdgeLabelPlacementStrategy",232,ke,E4e,Mde),lne;b(431,22,{3:1,34:1,22:1,431:1},Jz);var Tsn,V_,Asn=we(Tc,"ConstraintCalculationStrategy",431,ke,qge,Tde),ane;b(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},_D),o.dg=function(){return K_n(this)},o.qg=function(){return K_n(this)};var pj,B8,Ssn,Psn=we(Tc,"CrossingMinimizationStrategy",322,ke,F2e,Ade),dne;b(351,22,{3:1,34:1,22:1,351:1},HD);var Isn,W_,VP,Osn=we(Tc,"CuttingStrategy",351,ke,B2e,Sde),bne;b(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},l7),o.dg=function(){return IHn(this)},o.qg=function(){return IHn(this)};var Dsn,J_,gv,Q_,pv,Lsn=we(Tc,"CycleBreakingStrategy",348,ke,_3e,Pde),wne;b(428,22,{3:1,34:1,22:1,428:1},Qz);var WP,Nsn,$sn=we(Tc,"DirectionCongruency",428,ke,Hge,Ide),gne;b(460,22,{3:1,34:1,22:1,460:1},qD);var mv,Y_,p2,pne=we(Tc,"EdgeConstraint",460,ke,R2e,Fde),mne;b(283,22,{3:1,34:1,22:1,283:1},p6);var Z_,nH,eH,tH,JP,iH,xsn=we(Tc,"EdgeLabelSideSelection",283,ke,k4e,Bde),vne;b(488,22,{3:1,34:1,22:1,488:1},Yz);var QP,Fsn,Bsn=we(Tc,"EdgeStraighteningStrategy",488,ke,Jge,Rde),kne;b(281,22,{3:1,34:1,22:1,281:1},m6);var rH,Rsn,Ksn,YP,_sn,Hsn,qsn=we(Tc,"FixedAlignment",281,ke,y4e,xde),yne;b(282,22,{3:1,34:1,22:1,282:1},v6);var Usn,Gsn,zsn,Xsn,R8,Vsn,Wsn=we(Tc,"GraphCompactionStrategy",282,ke,j4e,Ode),jne;b(259,22,{3:1,34:1,22:1,259:1},Db);var vv,ZP,kv,cs,K8,nI,yv,m2,eI,_8,cH=we(Tc,"GraphProperties",259,ke,uve,Dde),Ene;b(299,22,{3:1,34:1,22:1,299:1},UD);var mj,uH,oH,sH=we(Tc,"GreedySwitchType",299,ke,K2e,Lde),Cne;b(311,22,{3:1,34:1,22:1,311:1},GD);var E3,vj,v2,Mne=we(Tc,"InLayerConstraint",311,ke,_2e,Nde),Tne;b(429,22,{3:1,34:1,22:1,429:1},Zz);var fH,Jsn,Qsn=we(Tc,"InteractiveReferencePoint",429,ke,_ge,$de),Ane,Ysn,C3,ob,tI,Zsn,nfn,iI,efn,kj,rI,H8,M3,Nl,hH,cI,gc,tfn,va,Hc,lH,aH,yj,Od,sb,T3,ifn,A3,jj,$w,kf,js,dH,k2,dt,st,rfn,cfn,ufn,ofn,sfn,bH,uI,Xu,fb,wH,S3,q8,Gf,y2,hb,j2,E2,jv
`;for(t=ge(this.a,0);t.b!=t.d.c;)e=u(be(t),65),c+=(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e))+`
`;return c};var MNe=w(d8,"TGraph",121);b(643,508,{3:1,508:1,643:1,96:1,137:1}),w(d8,"TShape",643),b(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},q$),o.Ib=function(){return td(this)};var NI=w(d8,"TNode",40);b(236,1,qh,sl),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=ge(this.a.d,0),new sg(e)},w(d8,"TNode/2",236),b(329,1,Si,sg),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(be(this.a),65).c},o.Ob=function(){return Z9(this.a)},o.Qb=function(){p$(this.a)},w(d8,"TNode/2/1",329),b(1923,1,vt,J3n),o.Kf=function(e,t){RLe(this,u(e,121),t)},w(Rc,"CompactionProcessor",1923),b(1924,1,Ne,akn),o.Ne=function(e,t){return Tve(this.a,u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$0$Type",1924),b(1925,1,De,eMn),o.Mb=function(e){return Dge(this.b,this.a,u(e,42))},o.a=0,o.b=0,w(Rc,"CompactionProcessor/lambda$1$Type",1925),b(1934,1,Ne,Q3n),o.Ne=function(e,t){return Ewe(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$10$Type",1934),b(1935,1,Ne,Y3n),o.Ne=function(e,t){return F1e(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$11$Type",1935),b(1936,1,Ne,Z3n),o.Ne=function(e,t){return Cwe(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$12$Type",1936),b(1926,1,De,dkn),o.Mb=function(e){return k1e(this.a,u(e,42))},o.a=0,w(Rc,"CompactionProcessor/lambda$2$Type",1926),b(1927,1,De,bkn),o.Mb=function(e){return y1e(this.a,u(e,42))},o.a=0,w(Rc,"CompactionProcessor/lambda$3$Type",1927),b(1928,1,De,n4n),o.Mb=function(e){return u(e,40).c.indexOf(IS)==-1},w(Rc,"CompactionProcessor/lambda$4$Type",1928),b(1929,1,{},wkn),o.Kb=function(e){return Npe(this.a,u(e,40))},o.a=0,w(Rc,"CompactionProcessor/lambda$5$Type",1929),b(1930,1,{},gkn),o.Kb=function(e){return H4e(this.a,u(e,40))},o.a=0,w(Rc,"CompactionProcessor/lambda$6$Type",1930),b(1931,1,Ne,pkn),o.Ne=function(e,t){return Z3e(this.a,u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$7$Type",1931),b(1932,1,Ne,mkn),o.Ne=function(e,t){return n4e(this.a,u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$8$Type",1932),b(1933,1,Ne,e4n),o.Ne=function(e,t){return B1e(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Rc,"CompactionProcessor/lambda$9$Type",1933),b(1921,1,vt,t4n),o.Kf=function(e,t){$Ae(u(e,121),t)},w(Rc,"DirectionProcessor",1921),b(1913,1,vt,HAn),o.Kf=function(e,t){iPe(this,u(e,121),t)},w(Rc,"FanProcessor",1913),b(1937,1,vt,i4n),o.Kf=function(e,t){EAe(u(e,121),t)},w(Rc,"GraphBoundsProcessor",1937),b(1938,1,{},r4n),o.Ye=function(e){return u(e,40).e.a},w(Rc,"GraphBoundsProcessor/lambda$0$Type",1938),b(1939,1,{},c4n),o.Ye=function(e){return u(e,40).e.b},w(Rc,"GraphBoundsProcessor/lambda$1$Type",1939),b(1940,1,{},u4n),o.Ye=function(e){return ile(u(e,40))},w(Rc,"GraphBoundsProcessor/lambda$2$Type",1940),b(1941,1,{},o4n),o.Ye=function(e){return tle(u(e,40))},w(Rc,"GraphBoundsProcessor/lambda$3$Type",1941),b(262,22,{3:1,34:1,22:1,262:1,196:1},u0),o.dg=function(){switch(this.g){case 0:return new mjn;case 1:return new HAn;case 2:return new pjn;case 3:return new a4n;case 4:return new f4n;case 8:return new s4n;case 5:return new t4n;case 6:return new b4n;case 7:return new J3n;case 9:return new i4n;case 10:return new w4n;default:throw M(new Gn(cR+(this.f!=null?this.f:""+this.g)))}};var cln,uln,oln,sln,fln,hln,lln,aln,dln,bln,ZH,TNe=we(Rc,uR,262,ke,xxn,o0e),lre;b(1920,1,vt,s4n),o.Kf=function(e,t){xDe(u(e,121),t)},w(Rc,"LevelCoordinatesProcessor",1920),b(1918,1,vt,f4n),o.Kf=function(e,t){iTe(this,u(e,121),t)},o.a=0,w(Rc,"LevelHeightProcessor",1918),b(1919,1,qh,h4n),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Dn(),l4(),fv},w(Rc,"LevelHeightProcessor/1",1919),b(1914,1,vt,pjn),o.Kf=function(e,t){pAe(this,u(e,121),t)},w(Rc,"Lev
`),c.length!=2)throw M(new Gn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=sw(fw(c[0])),this.b=sw(fw(c[1]))}catch(s){throw s=It(s),O(s,130)?(i=s,M(new Gn($Xn+i))):M(s)}},o.Ib=function(){return"("+this.a+","+this.b+")"},o.a=0,o.b=0;var Ei=w(Ky,"KVector",8);b(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Mu,GE,aAn),o.Pc=function(){return O6e(this)},o.cg=function(e){var t,i,r,c,s,f;r=ww(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),vo(this);try{for(i=0,s=0,c=0,f=0;i<r.length;)r[i]!=null&&fw(r[i]).length>0&&(s%2==0?c=sw(r[i]):f=sw(r[i]),s>0&&s%2!=0&&xe(this,new V(c,f)),++s),++i}catch(h){throw h=It(h),O(h,130)?(t=h,M(new Gn("The given string does not match the expected format for vectors."+t))):M(h)}},o.Ib=function(){var e,t,i;for(e=new mo("("),t=ge(this,0);t.b!=t.d.c;)i=u(be(t),8),Be(e,i.a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var san=w(Ky,"KVectorChain",75);b(255,22,{3:1,34:1,22:1,255:1},k6);var Vq,ZI,nO,qj,Uj,eO,fan=we(uo,"Alignment",255,ke,S4e,$0e),yue;b(991,1,ps,E8n),o.hf=function(e){yUn(e)};var han,Wq,jue,lan,aan,Eue,dan,Cue,Mue,ban,wan,Tue;w(uo,"BoxLayouterOptions",991),b(992,1,{},zmn),o.sf=function(){var e;return e=new Wmn,e},o.tf=function(e){},w(uo,"BoxLayouterOptions/BoxFactory",992),b(298,22,{3:1,34:1,22:1,298:1},y6);var m9,Jq,v9,k9,y9,Qq,Yq=we(uo,"ContentAlignment",298,ke,P4e,x0e),Aue;b(699,1,ps,cG),o.hf=function(e){vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,xVn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(l1(),N2)),fn),yn((gf(),xn))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,FVn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Xf),INe),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,rrn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),gan),Pt),fan),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,l3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,pcn),""),"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."),Xf),san),yn(Ph)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,MS),""),"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."),man),L3),Yq),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,Uy),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_n(),!1)),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,xR),""),Btn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),van),Pt),E9),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,qy),""),"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."),jan),Pt),aU),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,wcn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),yi),Gt),yn(xn)))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,CS),""),"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`."),Man),Pt),ldn),yt(xn,S(T(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(Sn(an(wn(dn(bn(new hn,W0),""),"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 l
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!Ri.workerFactory){var Qc=Xt("./elk-worker.min.js"),Ru=Qc.Worker;Ri.workerFactory=function(Pr){return new Ru(Pr)}}return y(this,(ze.__proto__||Object.getPrototypeOf(ze)).call(this,Ri))}return ze}(Bu);Object.defineProperty(gt.exports,"__esModule",{value:!0}),gt.exports=Ht,Ht.default=Ht},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(Xt,gt,Sr){gt.exports=Worker},{}]},{},[3])(3)})})(Bse);var VNe=Bse.exports;const WNe=BNe(VNe),JNe=(ct,_t,Xt)=>{const{parentById:gt}=Xt,Sr=new Set;let Di=ct;for(;Di;){if(Sr.add(Di),Di===_t)return Di;Di=gt[Di]}for(Di=_t;Di;){if(Sr.has(Di))return Di;Di=gt[Di]}return"root"},$se=new WNe;let Ab={};const QNe={};let X3={};const YNe=async function(ct,_t,Xt,gt,Sr,Di,y){const Bu=Xt.select(`[id="${_t}"]`).insert("g").attr("class","nodes"),Ht=Object.keys(ct);return await Promise.all(Ht.map(async function(Jt){const ze=ct[Jt];let Yi="default";ze.classes.length>0&&(Yi=ze.classes.join(" ")),Yi=Yi+" flowchart-label";const Ri=E0n(ze.styles);let En=ze.text!==void 0?ze.text:ze.id;const hu={width:0,height:0},Qc=[{id:ze.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:ze.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:ze.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:ze.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let Ru=0,Pr="",Cf={};switch(ze.type){case"round":Ru=5,Pr="rect";break;case"square":Pr="rect";break;case"diamond":Pr="question",Cf={portConstraints:"FIXED_SIDE"};break;case"hexagon":Pr="hexagon";break;case"odd":Pr="rect_left_inv_arrow";break;case"lean_right":Pr="lean_right";break;case"lean_left":Pr="lean_left";break;case"trapezoid":Pr="trapezoid";break;case"inv_trapezoid":Pr="inv_trapezoid";break;case"odd_right":Pr="rect_left_inv_arrow";break;case"circle":Pr="circle";break;case"ellipse":Pr="ellipse";break;case"stadium":Pr="stadium";break;case"subroutine":Pr="subroutine";break;case"cylinder":Pr="cylinder";break;case"group":Pr="rect";break;case"doublecircle":Pr="doublecircle";break;default:Pr="rect"}const L1={labelStyle:Ri.labelStyle,shape:Pr,labelText:En,labelType:ze.labelType,rx:Ru,ry:Ru,class:Yi,style:Ri.style,id:ze.id,link:ze.link,linkTarget:ze.linkTarget,tooltip:Sr.db.getTooltip(ze.id)||"",domId:Sr.db.lookUpDomId(ze.id),haveCallback:ze.haveCallback,width:ze.type==="group"?500:void 0,dir:ze.dir,type:ze.type,props:ze.props,padding:xU().flowchart.padding};let N1,og;if(L1.type!=="group")og=await HNe(Bu,L1,ze.dir),N1=og.node().getBBox();else{gt.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:$1,bbox:ul}=await qNe(Bu,L1,void 0,!0);hu.width=ul.width,hu.wrappingWidth=xU().flowchart.wrappingWidth,hu.height=ul.height,hu.labelNode=$1.node(),L1.labelData=hu}const V3={id:ze.id,ports:ze.type==="diamond"?Qc:[],layoutOptions:Cf,labelText:En,labelData:hu,domId:Sr.db.lookUpDomId(ze.id),width:N1==null?void 0:N1.width,height:N1==null?void 0:N1.height,type:ze.type,el:og,parent:Di.parentById[ze.id]};X3[L1.id]=V3})),y},xse=(ct,_t,Xt)=>{const gt={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 gt.TD=gt.TB,gt[Xt][_t][ct]},Fse=(ct,_t,Xt)=>{if(Ba.info("getNextPort",{node:ct,edgeDirection:_t,graphDirection:Xt}),!Ab[ct])switch(Xt){case"TB":case"TD":Ab[ct]={inPosition:"north",outPosition:"south"};break;case"BT":Ab[ct]={inPosition:"south",outPosition:"north"};break;case"RL":Ab[ct]={inPosition:"east",outPosition:"west"};break;case"LR":Ab[ct]={inPosition:"west",outPosition:"east"};break}const gt=_t==="in"?Ab[ct].inPosition:Ab[ct].outPosition;return _t==="in"?Ab[ct].inPosition=xse(Ab[ct].inPosition,_t,Xt):Ab[ct].outPosition=xse(Ab[ct].outPosition,_t,Xt),gt},ZNe=(ct,_t)=>{let Xt=ct.start,gt=ct.end;const Sr=Xt,Di=gt,y=X3[Xt],Wt=X3[gt];return!y||!Wt?{source:Xt,target:gt}:(y.type==="diamond"&&(Xt=`${Xt}-${Fse(Xt,"out",_t)}`),Wt.type==="diamond"&&(gt=`${gt}-${Fse(gt,"in",_t)}`),{source:Xt,target:gt,sourceId:
`),Ht.style===void 0&&(En.style=En.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),En.labelStyle=En.labelStyle.replace("color:","fill:"),En.id=ze,En.classes="flowchart-link "+Yi+" "+Ri;const Ru=UNe(Sr,En),{source:Pr,target:Cf,sourceId:L1,targetId:N1}=ZNe(Ht,y);Ba.debug("abc78 source and target",Pr,Cf),Xt.edges.push({id:"e"+Ht.start+Ht.end,sources:[Pr],targets:[Cf],sourceId:L1,targetId:N1,labelEl:Ru,labels:[{width:En.width,height:En.height,orgWidth:En.width,orgHeight:En.height,text:En.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:En})}),Xt},e$e=function(ct,_t,Xt,gt,Sr){let Di="";gt&&(Di=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Di=Di.replace(/\(/g,"\\("),Di=Di.replace(/\)/g,"\\)")),zNe(ct,_t,Di,Sr,Xt)},t$e=function(ct,_t){return Ba.info("Extracting classes"),_t.db.getClasses()},i$e=function(ct){const _t={parentById:{},childrenById:{}},Xt=ct.getSubGraphs();return Ba.info("Subgraphs - ",Xt),Xt.forEach(function(gt){gt.nodes.forEach(function(Sr){_t.parentById[Sr]=gt.id,_t.childrenById[gt.id]===void 0&&(_t.childrenById[gt.id]=[]),_t.childrenById[gt.id].push(Sr)})}),Xt.forEach(function(gt){gt.id,_t.parentById[gt.id]!==void 0&&_t.parentById[gt.id]}),_t},r$e=function(ct,_t,Xt){const gt=JNe(ct,_t,Xt);if(gt===void 0||gt==="root")return{x:0,y:0};const Sr=X3[gt].offset;return{x:Sr.posX,y:Sr.posY}},c$e=function(ct,_t,Xt,gt,Sr,Di){const y=r$e(_t.sourceId,_t.targetId,Sr),Wt=_t.sections[0].startPoint,Bu=_t.sections[0].endPoint,Jt=(_t.sections[0].bendPoints?_t.sections[0].bendPoints:[]).map(Cf=>[Cf.x+y.x,Cf.y+y.y]),ze=[[Wt.x+y.x,Wt.y+y.y],...Jt,[Bu.x+y.x,Bu.y+y.y]],{x:Yi,y:Ri}=GNe(_t.edgeData),En=XNe().x(Yi).y(Ri).curve($U),hu=ct.insert("path").attr("d",En(ze)).attr("class","path "+Xt.classes).attr("fill","none"),Qc=ct.insert("g").attr("class","edgeLabel"),Ru=IO(Qc.node().appendChild(_t.labelEl)),Pr=Ru.node().firstChild.getBoundingClientRect();Ru.attr("width",Pr.width),Ru.attr("height",Pr.height),Qc.attr("transform",`translate(${_t.labels[0].x+y.x}, ${_t.labels[0].y+y.y})`),e$e(hu,Xt,gt.type,gt.arrowMarkerAbsolute,Di)},Rse=(ct,_t)=>{ct.forEach(Xt=>{Xt.children||(Xt.children=[]);const gt=_t.childrenById[Xt.id];gt&&gt.forEach(Sr=>{Xt.children.push(X3[Sr])}),Rse(Xt.children,_t)})},u$e=async function(ct,_t,Xt,gt){var Sr;gt.db.clear(),X3={},Ab={},gt.db.setGen("gen-2"),gt.parser.parse(ct);const Di=IO("body").append("div").attr("style","height:400px").attr("id","cy");let y={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(Ba.info("Drawing flowchart using v3 renderer",$se),gt.db.getDirection()){case"BT":y.layoutOptions["elk.direction"]="UP";break;case"TB":y.layoutOptions["elk.direction"]="DOWN";break;case"LR":y.layoutOptions["elk.direction"]="RIGHT";break;case"RL":y.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:Bu,flowchart:Ht}=xU();let Jt;Bu==="sandbox"&&(Jt=IO("#i"+_t));const ze=Bu==="sandbox"?IO(Jt.nodes()[0].contentDocument.body):IO("body"),Yi=Bu==="sandbox"?Jt.nodes()[0].contentDocument:document,Ri=ze.select(`[id="${_t}"]`);_Ne(Ri,["point","circle","cross"],gt.type,_t);const hu=gt.db.getVertices();let Qc;const Ru=gt.db.getSubGraphs();Ba.info("Subgraphs - ",Ru);for(let $1=Ru.length-1;$1>=0;$1--)Qc=Ru[$1],gt.db.addVertex(Qc.id,{text:Qc.title,type:Qc.labelType},"group",void 0,Qc.classes,Qc.dir);const Pr=Ri.insert("g").attr("class","subgraphs"),Cf=i$e(gt.db);y=await YNe(hu,_t,ze,Yi,gt,Cf,y);const L1=Ri.insert("g").attr("class","edges edgePath"),N1=gt.db.getEdges();y=n$e(N1,gt,y,Ri),Object.keys(X3).forEach($1=>{const ul=X3[$1];ul.parent||y.children.push(ul),Cf.childrenById[$1]!==void 0&&(ul.labels=[{text:ul.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:ul.labelData.width,height:ul.labelData.height}],delete ul.x,delete ul.y,delete ul.width,delete ul.height)}),Rse(y.children,Cf),Ba.info("after lay
.subgraph-lvl-${Xt} {
fill: ${ct[`surface${Xt}`]};
stroke: ${ct[`surfacePeer${Xt}`]};
}
`;return _t},f$e=ct=>`.label {
font-family: ${ct.fontFamily};
color: ${ct.nodeTextColor||ct.textColor};
}
.cluster-label text {
fill: ${ct.titleColor};
}
.cluster-label span {
color: ${ct.titleColor};
}
.label text,span {
fill: ${ct.nodeTextColor||ct.textColor};
color: ${ct.nodeTextColor||ct.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${ct.mainBkg};
stroke: ${ct.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${ct.arrowheadColor};
}
.edgePath .path {
stroke: ${ct.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${ct.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${ct.edgeLabelBackground};
rect {
opacity: 0.85;
background-color: ${ct.edgeLabelBackground};
fill: ${ct.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${ct.clusterBkg};
stroke: ${ct.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${ct.titleColor};
}
.cluster span {
color: ${ct.titleColor};
}
/* .cluster div {
color: ${ct.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${ct.fontFamily};
font-size: 12px;
background: ${ct.tertiaryColor};
border: 1px solid ${ct.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${ct.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// fill:#ccc;
// // stroke:black;
// }
.flowchart-label text {
text-anchor: middle;
}
${s$e(ct)}
`,h$e=f$e,k$e={db:xNe,renderer:o$e,parser:FNe,styles:h$e};export{k$e as diagram};