nodered_cfg/node_modules/@flowfuse/node-red-dashboard/dist/assets/flowchart-elk-definition-56584a6c-N1aEE1b6.js

140 lines
1.3 MiB
JavaScript
Raw Normal View History

2024-08-24 20:48:14 +02:00
import{d as bMe,p as wMe}from"./flowDb-ff651a22-BhvlhwYW.js";import{T as Hee,V as gMe,l as K1,h as lI,c as OH,t as pMe,p as V1n,r as X1n,o as IH,j as vMe}from"./index-BPCszWWQ.js";import{i as mMe,a as kMe,l as yMe,b as jMe}from"./edges-0005682e-uu5Q-DT8.js";import{l as EMe}from"./line-DZ-Aqgz-.js";import"./createText-3b1f58a4-B660LV3z.js";import"./svgDraw-70101091-Dh3U16Ho.js";import"./array-BKyUJesY.js";function PH(Ae){throw new Error('Could not dynamically require "'+Ae+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Uee={exports:{}};(function(Ae,_t){(function(ft){Ae.exports=ft()})(function(){return function(){function ft(dt,Nt,Ai){function j(It,qt){if(!Nt[It]){if(!dt[It]){var Ge=typeof PH=="function"&&PH;if(!qt&&Ge)return Ge(It,!0);if(Ht)return Ht(It,!0);var Ki=new Error("Cannot find module '"+It+"'");throw Ki.code="MODULE_NOT_FOUND",Ki}var Si=Nt[It]={exports:{}};dt[It][0].call(Si.exports,function(Mn){var Lc=dt[It][1][Mn];return j(Lc||Mn)},Si,Si.exports,ft,dt,Nt,Ai)}return Nt[It].exports}for(var Ht=typeof PH=="function"&&PH,ou=0;ou<Ai.length;ou++)j(Ai[ou]);return j}return ft}()({1:[function(ft,dt,Nt){Object.defineProperty(Nt,"__esModule",{value:!0});var Ai=function(){function It(qt,Ge){for(var Ki=0;Ki<Ge.length;Ki++){var Si=Ge[Ki];Si.enumerable=Si.enumerable||!1,Si.configurable=!0,"value"in Si&&(Si.writable=!0),Object.defineProperty(qt,Si.key,Si)}}return function(qt,Ge,Ki){return Ge&&It(qt.prototype,Ge),Ki&&It(qt,Ki),qt}}();function j(It,qt){if(!(It instanceof qt))throw new TypeError("Cannot call a class as a function")}var Ht=function(){function It(){var qt=this,Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ki=Ge.defaultLayoutOptions,Si=Ki===void 0?{}:Ki,Mn=Ge.algorithms,Lc=Mn===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Mn,Nc=Ge.workerFactory,ps=Ge.workerUrl;if(j(this,It),this.defaultLayoutOptions=Si,this.initialized=!1,typeof ps>"u"&&typeof Nc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Rr=Nc;typeof ps<"u"&&typeof Nc>"u"&&(Rr=function(q1){return new Worker(q1)});var Ch=Rr(ps);if(typeof Ch.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new ou(Ch),this.worker.postMessage({cmd:"register",algorithms:Lc}).then(function(H1){return qt.initialized=!0}).catch(console.err)}return Ai(It,[{key:"layout",value:function(Ge){var Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Si=Ki.layoutOptions,Mn=Si===void 0?this.defaultLayoutOptions:Si,Lc=Ki.logging,Nc=Lc===void 0?!1:Lc,ps=Ki.measureExecutionTime,Rr=ps===void 0?!1:ps;return Ge?this.worker.postMessage({cmd:"layout",graph:Ge,layoutOptions:Mn,options:{logging:Nc,measureExecutionTime:Rr}}):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()}}]),It}();Nt.default=Ht;var ou=function(){function It(qt){var Ge=this;if(j(this,It),qt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=qt,this.worker.onmessage=function(Ki){setTimeout(function(){Ge.receive(Ge,Ki)},0)}}return Ai(It,[{key:"postMessage",value:function(Ge){var Ki=this.id||0;this.id=Ki+1,Ge.id=Ki;var Si=this;return new Promise(function(Mn,Lc){Si.resolvers[Ki]=function(Nc,ps){Nc?(Si.convertGwtStyleError(Nc),Lc(Nc)):Mn(ps)},Si.worker.postMessage(Ge)})}},{key:"receive",value:function(Ge,Ki){var Si=Ki.data,Mn=Ge.resolvers[Si.id];Mn&&(delete Ge.resolvers[Si.id],Si.error?Mn(Si.error):Mn(null,Si.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"co
`,tu(Di(n,e[0])))>=0;)++e[0]}function W8(n,e){this.e=e,this.a=FOn(n),this.a<54?this.f=$d(n):this.c=m7(n)}function HPn(n,e,t,i){Je(),cd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=i}function sh(n,e,t){var i,r;for(i=10,r=0;r<t-1;r++)e<i&&(n.a+="0"),i*=10;n.a+=e}function k0e(n,e){var t;for(t=0;n.e!=n.i.gc();)bfe(e,oe(n),Q(t)),t!=nt&&++t}function ZX(n,e){var t;for(++n.d,++n.c[e],t=e+1;t<n.a.length;)++n.a[t],t+=t&-t}function y0e(n,e){var t,i,r;r=e.c.i,t=u(te(n.f,r),57),i=t.d.c-t.e.c,EV(e.a,i,0)}function X8(n){var e,t;return e=n+128,t=(WEn(),min)[e],!t&&(t=min[e]=new Dvn(n)),t}function $e(n,e){var t;return _n(e),t=n[":"+e],M0e(!!t,A(M(Zn,1),rn,1,5,[e])),t}function j0e(n){var e,t;if(n.b){t=null;do e=n.b,n.b=null,t=Rxn(e,t);while(n.b);n.b=t}}function E0e(n){var e,t;if(n.a){t=null;do e=n.a,n.a=null,t=Rxn(e,t);while(n.a);n.a=t}}function qPn(n){var e;for(++n.a,e=n.c.a.length;n.a<e;++n.a)if(n.c.b[n.a])return}function C0e(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 T0e(n,e){var t;return t=zd(n.e.c,e.e.c),t==0?Zt(n.e.d,e.e.d):t}function Fw(n,e){return e.e==0||n.e==0?W4:(a4(),Hx(n,e))}function M0e(n,e){if(!n)throw T(new Hn(P8e("Enum constant undefined: %s",e)))}function X5(){X5=N,MWn=new San,AWn=new Man,CWn=new $an,TWn=new Fan,SWn=new xan}function RC(){RC=N,Yin=new qG("BY_SIZE",0),jR=new qG("BY_SIZE_AND_SHAPE",1)}function _C(){_C=N,$R=new GG("EADES",0),tS=new GG("FRUCHTERMAN_REINGOLD",1)}function V8(){V8=N,$S=new XG("READING_DIRECTION",0),Ucn=new XG("ROTATION",1)}function GPn(){GPn=N,hXn=Fe((Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])))}function zPn(){zPn=N,KQn=Fe((b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])))}function UPn(){UPn=N,ZWn=Fe((Vw(),A(M(YWn,1),z,363,0,[SS,IS,OS,PS,AS])))}function WPn(){WPn=N,EXn=Fe((Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])))}function XPn(){XPn=N,oZn=Fe((P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])))}function VPn(){VPn=N,OZn=Fe((Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])))}function QPn(){QPn=N,tZn=Fe((g4(),A(M(eZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])))}function JPn(){JPn=N,vWn=Fe((Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])))}function YPn(){YPn=N,ene=Fe((sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])))}function ZPn(){ZPn=N,hne=Fe((qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])))}function nIn(){nIn=N,dne=Fe((J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])))}function H$(n,e){var t;return t=u(te(n.a,e),134),t||(t=new pI,it(n.a,e,t)),t}function eIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.a==n:!1}function tIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.i==n:!1}function iIn(n,e){return _n(e),mW(n),n.d.Ob()?(e.td(n.d.Pb()),!0):!1}function KC(n){return fc(n,nt)>0?nt:fc(n,Bi)<0?Bi:ge(n)}function sb(n){return n<3?(is(n,J_n),n+1):n<L6?Gt(n/.75+1):nt}function On(n,e){var t;return t=(n.i==null&&Lf(n),n.i),e>=0&&e<t.length?t[e]:null}function Ro(n,e,t){var i;if(e==null)throw T(new Nv);return i=Dh(n,e),Xae(n,e,t),i}function rIn(n){return n.a>=-.01&&n.a<=bf&&(n.a=0),n.b>=-.01&&n.b<=bf&&(n.b=0),n}function cIn(n,e){return e==(sD(),sD(),Pzn)?n.toLocaleLowerCase():n.toLowerCase()}function nV(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(Ph(n),n.o)}function Er(n){var e,t;t=(e=new RI,e),me((!n.q&&(n.q=new V(co,n,11,10)),n.q),t)}function A0e(n,e){var t;return t=e>0?e-1:e,e8n(Kie(IIn(YU(new zp,t),n.n),n.j),n.k)}function S0e(n,e,t,i){var r;n.j=-1,EY(n,iY(n,e,t),(er(),r=u(e,66).Mj(),r.Ok(i)))}function uIn(n){this.g=n,this.f=new X,this.a=j.Math.min(this.g.c.c,this.g.d.c)}function sIn(n){this.b=new X,this.a=new X,this.c=new X,this.d=new X,this.e=n}function oIn(n,e){this.a=new we,this.e=new we,this.b=(i6(),oP),this.c=n,this.b=e}function fIn(n,e,t){kE.call(this),eV(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function hIn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(aj(),fR)}function Ld(n){if(n<0)throw T(new Hn("Illegal Capacity: "+n));this.g=this.ri(n)}function P0e(n,e){if(0>n||n>e)throw T(new bG("fromIndex: 0, toIndex: "+n+tnn+e))}function I0e(n){var e;if(n.a==n.b.a)throw T(new ic);return e=n.a,n.c=e,n.a=n.a.e,e}function HC(n){var e;z0(!!n.c),e=n.c.a,Ts(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function qC
`)}return e&&(e.stack||t(n[PL]))}function $Q(n){nb();var e;switch(e=n.Pc(),e.length){case 0:return sR;case 1:return new pD(pe(e[0]));default:return new JD(Qge(e))}}function Ud(n,e){switch(e.g){case 1:return v2(n.j,(wu(),Vrn));case 2:return v2(n.j,(wu(),Jrn));default:return Pn(),Pn(),cr}}function FQ(n,e){switch(e){case 3:Bd(n,0);return;case 4:Rd(n,0);return;case 5:Zc(n,0);return;case 6:nu(n,0);return}oQ(n,e)}function xF(){xF=N,Oj(),uP=(nn(),T0),NQn=cf(A(M(KK,1),Jen,146,0,[Zk,Mo,jp,C0,nw,G_,wv,gv,z_,Fm,Dg,Qa,$g]))}function u$n(n){var e,t;e=n.d==(q2(),tv),t=$J(n),e&&!t||!e&&t?H(n.a,(nn(),Qf),(oh(),ay)):H(n.a,(nn(),Qf),(oh(),ly))}function P2e(n,e){var t;return t=u(es(n,ga(new U1,new z1,new W1,A(M(Nu,1),z,132,0,[(hf(),hs)]))),15),t.Qc(IEn(t.gc()))}function AT(){AT=N,oH=new Qj("SIMPLE",0),Whn=new Qj("GROUP_DEC",1),Vhn=new Qj("GROUP_MIXED",2),Xhn=new Qj("GROUP_INC",3)}function LF(){LF=N,vH=new tpn,v1n=new ipn,m1n=new rpn,k1n=new cpn,y1n=new upn,j1n=new spn,E1n=new opn,C1n=new fpn,T1n=new hpn}function s$n(n,e,t){wIn(),s9n.call(this),this.a=oa(Xzn,[q,lnn],[595,212],0,[QA,CR],2),this.c=new d2,this.g=n,this.f=e,this.d=t}function xQ(n,e){this.n=oa(Yl,[q,QL],[364,25],14,[e,Gt(j.Math.ceil(n/32))],2),this.o=n,this.p=e,this.j=n-1>>1,this.k=e-1>>1}function I2e(n,e){le(e,"End label post-processing",1),Bt(gt(qr(new $n(null,new xn(n.b,16)),new udn),new sdn),new odn),ce(e)}function O2e(n,e,t){var i,r;return i=K(n.p[e.i.p])+K(n.d[e.i.p])+e.n.b+e.a.b,r=K(n.p[t.i.p])+K(n.d[t.i.p])+t.n.b+t.a.b,r-i}function D2e(n,e,t){var i,r;for(i=ci(t,fr),r=0;fc(i,0)!=0&&r<e;r++)i=qi(i,ci(n[r],fr)),n[r]=ge(i),i=cl(i,32);return ge(i)}function ST(n){var e,t,i,r;for(r=0,t=0,i=n.length;t<i;t++)e=(Te(t,n.length),n.charCodeAt(t)),e<64&&(r=rf(r,Ih(1,e)));return r}function $2e(n){var e;return n==null?null:new il((e=jc(n,!0),e.length>0&&(Te(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function F2e(n){var e;return n==null?null:new il((e=jc(n,!0),e.length>0&&(Te(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function LQ(n,e){var t;return n.i>0&&(e.length<n.i&&(t=Q8(Du(e).c,n.i),e=t),gc(n.g,0,e,0,n.i)),e.length>n.i&&Mt(e,n.i,null),e}function Oc(n,e,t){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),a7(n,i,e),r=n.Zi(3,null,e,i,c),t?t.Ei(r):t=r):a7(n,n.i,e),t}function x2e(n,e,t){var i,r;return i=new Lh(n.e,4,10,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),null,v1(n,e),!1),t?t.Ei(i):t=i,t}function L2e(n,e,t){var i,r;return i=new Lh(n.e,3,10,null,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),v1(n,e),!1),t?t.Ei(i):t=i,t}function o$n(n){W0();var e;return e=new mr(u(n.e.We((Xe(),Kg)),8)),n.B.Hc((xu(),Mv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function f$n(n){wb();var e;return(n.q?n.q:(Pn(),Pn(),ph))._b((nn(),j0))?e=u(k(n,j0),197):e=u(k(Gi(n),$m),197),e}function bb(n,e){var t,i;return i=null,li(n,(nn(),rP))&&(t=u(k(n,rP),94),t.Xe(e)&&(i=t.We(e))),i==null&&(i=k(Gi(n),e)),i}function h$n(n,e){var t,i,r;return I(e,42)?(t=u(e,42),i=t.cd(),r=ab(n.Rc(),i),$f(r,t.dd())&&(r!=null||n.Rc()._b(i))):!1}function NF(n,e){var t,i,r;return n.f>0?(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=hNn(n,r,i,e),t!=-1):!1}function Ko(n,e){var t,i,r;return n.f>0&&(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=kY(n,r,i,e),t)?t.dd():null}function g7(n,e){var t,i,r,c;for(c=Kc(n.e.Tg(),e),t=u(n.g,119),r=0;r<n.i;++r)if(i=t[r],c.rl(i.ak()))return!1;return!0}function l$n(n){if(n.b==null){for(;n.a.Ob();)if(n.b=n.a.Pb(),!u(n.b,49).Zg())return!0;return n.b=null,!1}else return!0}function a$n(n,e){n.mj();try{n.d.Vc(n.e++,e),n.f=n.d.j,n.g=-1}catch(t){throw t=jt(t),I(t,73)?T(new vs):T(t)}}function PT(n,e){Cz();var t,i;return t=a8((wj(),wj(),dm)),i=null,e==t&&(i=u(vc(bin,n),615)),i||(i=new QCn(n),e==t&&kr(bin,n,i)),i}function d$n(n,e){var t,i;n.a=qi(n.a,1),n.c=j.Math.min(n.c,e),n.b=j.Math.max(n.b,e),n.d+=e,t=e-n.f,i=n.e+t,n.f=i-n.e-t,n.e=i}function N2e(n,e){var t;n.c=e,n.a=k2e(e),n.a<54&&(n.f=(t=e.d>1?rf(Ih(e.a[1],32),ci(e.a[0],fr)):ci(e.a[0],fr),$d(Ni(e.e,t))))}function p7(n,e){var t;return $r(n)&&$r(e)&&(t=n%e,ik<t&&t<$a)?t:bl((IZ($r(n)?Ks(n):n,$r(e)?Ks(e):e,!0),Il))}function h6(n,e){var t;iCe(e),t=u(k(n,(nn(),JS)),276),t&&H(n,JS,L3e(t)),
`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
`)}return[]}function T3e(n){var e;return e=(_In(),kzn),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 MFn(n){var e,t,i;n.b==n.c&&(i=n.a.length,t=KV(j.Math.max(8,i))<<1,n.b!=0?(e=bo(n.a,t),XIn(n,e,i),n.a=e,n.b=0):Wmn(n.a,t),n.c=i)}function M3e(n,e){var t;return t=n.b,t.Xe((Xe(),Bu))?t.Hf()==(J(),Gn)?-t.rf().a-K(Y(t.We(Bu))):e+K(Y(t.We(Bu))):t.Hf()==(J(),Gn)?-t.rf().a:e}function E7(n){var e;return n.b.c.length!=0&&u(un(n.b,0),70).a?u(un(n.b,0),70).a:(e=WD(n),e??""+(n.c?Fr(n.c.a,n,0):-1))}function UT(n){var e;return n.f.c.length!=0&&u(un(n.f,0),70).a?u(un(n.f,0),70).a:(e=WD(n),e??""+(n.i?Fr(n.i.j,n,0):-1))}function A3e(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),128),t==n.gc()-1||!i.o)return new Pi(Q(t),i);return null}function S3e(n,e,t){var i,r,c,o,f;for(c=n.c,f=t?e:n,i=t?n:e,r=f.p+1;r<i.p;++r)if(o=u(un(c.a,r),10),!(o.k==(Qn(),vf)||t4e(o)))return!1;return!0}function sJ(n){var e,t,i,r,c;for(c=0,r=Vt,i=0,t=new E(n.a);t.a<t.c.c.length;)e=u(y(t),187),c+=e.r+(i>0?n.c:0),r=j.Math.max(r,e.d),++i;n.e=c,n.b=r}function P3e(n){var e,t;if(!n.b)for(n.b=mC(u(n.f,118).Ag().i),t=new ie(u(n.f,118).Ag());t.e!=t.i.gc();)e=u(oe(t),137),W(n.b,new XI(e));return n.b}function I3e(n,e){var t,i,r;if(e.dc())return o3(),o3(),xy;for(t=new Pjn(n,e.gc()),r=new ie(n);r.e!=r.i.gc();)i=oe(r),e.Hc(i)&&me(t,i);return t}function oJ(n,e,t,i){return e==0?i?(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),n.o):(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),N8(n.o)):BT(n,e,t,i)}function fx(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e<t;++e)s8(D(n.rb,e));if(n.vb)for(e=0,t=n.vb.i;e<t;++e)s8(D(n.vb,e));I5((gu(),xi),n),n.Bb|=1}function wt(n,e,t,i,r,c,o,f,h,l,a,d,g,p){return tLn(n,e,i,null,r,c,o,f,h,l,g,!0,p),vQ(n,a),I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),2),t&&vV(n,t),mQ(n,d),n}function O3e(n){var e,t;if(n==null)return null;t=0;try{t=us(n,Bi,nt)&Ut}catch(i){if(i=jt(i),I(i,127))e=NC(n),t=e[0];else throw T(i)}return i7(t)}function D3e(n){var e,t;if(n==null)return null;t=0;try{t=us(n,Bi,nt)&Ut}catch(i){if(i=jt(i),I(i,127))e=NC(n),t=e[0];else throw T(i)}return i7(t)}function $3e(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&Lu,n.m=i&Lu,n.h=r&Wh,!0)}function F3e(n,e,t,i,r,c,o){var f,h;return!(e.Ae()&&(h=n.a.ue(t,i),h<0||!r&&h==0)||e.Be()&&(f=n.a.ue(t,c),f>0||!o&&f==0))}function x3e(n,e){V3();var t;if(t=n.j.g-e.j.g,t!=0)return 0;switch(n.j.g){case 2:return DF(e,Lcn)-DF(n,Lcn);case 4:return DF(n,xcn)-DF(e,xcn)}return 0}function L3e(n){switch(n.g){case 0:return a_;case 1:return d_;case 2:return b_;case 3:return w_;case 4:return FS;case 5:return g_;default:return null}}function Cr(n,e,t){var i,r;return i=(r=new _I,Ca(r,e),Ic(r,t),me((!n.c&&(n.c=new V(P0,n,12,10)),n.c),r),r),d1(i,0),hb(i,1),p1(i,!0),g1(i,!0),i}function H2(n,e){var t,i;if(e>=n.i)throw T(new xO(e,n.i));return++n.j,t=n.g[e],i=n.i-e-1,i>0&&gc(n.g,e+1,n.g,e,i),Mt(n.g,--n.i,null),n.fi(e,t),n.ci(),t}function AFn(n,e){var t,i;return n.Db>>16==17?n.Cb.ih(n,21,ro,e):(i=ir(u(On((t=u(Rn(n,16),26),t||n.zh()),n.Db>>16),18)),n.Cb.ih(n,i.n,i.f,e))}function N3e(n){var e,t,i,r;for(Pn(),bi(n.c,n.a),r=new E(n.c);r.a<r.c.c.length;)for(i=y(r),t=new E(n.b);t.a<t.c.c.length;)e=u(y(t),679),e.Ke(i)}function B3e(n){var e,t,i,r;for(Pn(),bi(n.c,n.a),r=new E(n.c);r.a<r.c.c.length;)for(i=y(r),t=new E(n.b);t.a<t.c.c.length;)e=u(y(t),369),e.Ke(i)}function R3e(n){var e,t,i,r,c;for(r=nt,c=null,i=new E(n.d);i.a<i.c.c.length;)t=u(y(i),213),t.d.j^t.e.j&&(e=t.e.e-t.d.e-t.a,e<r&&(r=e,c=t));return c}function fJ(){fJ=N,sWn=new In(Snn,(qn(),!1)),rWn=new In(Pnn,100),Frn=(W5(),NR),cWn=new In(Inn,Frn),uWn=new In(Onn,Kf),oWn=new In(Dnn,Q(nt))}function SFn(n,e,t){var i,r,c,o,f,h,l,a;for(l=0,r=n.a[e],c=0,o=r.length;c<o;++c)for(i=r[c],a=c6(i,t),h=a.Kc();h.Ob();)f=u(h.Pb(),11),it(n.f,f,Q(l++))}function _3e(n,e,t){var i,r,c,o;if(t)for(r=t.a.length,i=new fa(r),o=(i.b-i.a)*i.c<0?(nl(),Jl):new rl(i);o.Ob();)c=u(o.Pb(),19),Tn(n,e,G2(ub(t,c.a)))}function K3e(n,e,t){var i,r,c,o;if(t)for(r=t.a.length,i=new fa(r),o=(i.b-i.a)*i.c<0?(nl(),Jl):new rl(i);
\r\f]+`);try{l9=A(M(lMe,1),rn,2015,0,[new D9((Cz(),PT("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",a8((wj(),wj(),dm))))),new D9(PT("yyyy-MM-dd'T'HH:mm:ss'.'SSS",a8(dm))),new D9(PT("yyyy-MM-dd'T'HH:mm:ss",a8(dm))),new D9(PT("yyyy-MM-dd'T'HH:mm",a8(dm))),new D9(PT("yyyy-MM-dd",a8(dm)))])}catch(n){if(n=jt(n),!I(n,78))throw T(n)}}function Wye(n){var e,t,i,r;if(i=jL((!n.c&&(n.c=h7(n.f)),n.c),0),n.e==0||n.a==0&&n.f!=-1&&n.e<0)return i;if(e=fV(n)<0?1:0,t=n.e,r=(i.length+1+j.Math.abs(Gt(n.e)),new R0),e==1&&(r.a+="-"),n.e>0)if(t-=i.length-e,t>=0){for(r.a+="0.";t>Ga.length;t-=Ga.length)YEn(r,Ga);Fjn(r,Ga,Gt(t)),De(r,i.substr(e))}else t=e-t,De(r,Yu(i,e,Gt(t))),r.a+=".",De(r,r8(i,Gt(t)));else{for(De(r,i.substr(e));t<-Ga.length;t+=Ga.length)YEn(r,Ga);Fjn(r,Ga,Gt(-t))}return r.a}function TZ(n,e,t,i){var r,c,o,f,h,l,a,d,g;return h=ki(new fn(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=st(new fn(t.a,t.b),If(new fn(i.a,i.b),.5)),c=al(n,r),o=al(st(new fn(n.a,n.b),e),r),f=j.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c<o&&c<=f?new fn(n.a,n.b):o<=f?st(new fn(n.a,n.b),e):null):null:d>=0&&d<=1&&g>=0&&g<=1?st(new fn(n.a,n.b),If(new fn(e.a,e.b),d)):null}function Xye(n,e,t){var i,r,c,o,f;if(i=u(k(n,(nn(),$_)),21),t.a>e.a&&(i.Hc((vb(),dy))?n.c.a+=(t.a-e.a)/2:i.Hc(by)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((vb(),gy))?n.c.b+=(t.b-e.b)/2:i.Hc(wy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Mc)),21).Hc((or(),$s))&&(t.a>e.a||t.b>e.b))for(f=new E(n.a);f.a<f.c.c.length;)o=u(y(f),10),o.k==(Qn(),Xt)&&(r=u(k(o,ec),61),r==(J(),Vn)?o.n.a+=t.a-e.a:r==ae&&(o.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 Vye(n,e,t){var i,r,c,o,f;if(i=u(k(n,(nn(),$_)),21),t.a>e.a&&(i.Hc((vb(),dy))?n.c.a+=(t.a-e.a)/2:i.Hc(by)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((vb(),gy))?n.c.b+=(t.b-e.b)/2:i.Hc(wy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Mc)),21).Hc((or(),$s))&&(t.a>e.a||t.b>e.b))for(o=new E(n.a);o.a<o.c.c.length;)c=u(y(o),10),c.k==(Qn(),Xt)&&(r=u(k(c,ec),61),r==(J(),Vn)?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 Qye(n){var e,t,i,r,c,o,f,h,l,a,d,g;for(e=RLn(n),a=(f=new Rp(e).a.vc().Kc(),new bq(f));a.a.Ob();){for(l=(r=u(a.a.Pb(),42),u(r.cd(),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=ope(t,c),h=0,n.c==(Ff(),I1)?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,o=K(n.d[t.p])+h,n.d[c.p]=o,d=j.Math.max(d,c.d.d-o),g=j.Math.max(g,o+c.o.b+c.d.a),t=c;t=l;do n.d[t.p]=K(n.d[t.p])+d,t=n.a[t.p];while(t!=l);n.b[l.p]=d+g}}function uL(n){var e,t,i,r,c,o,f,h,l,a,d,g;for(n.b=!1,d=$t,h=Vt,g=$t,l=Vt,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),266),r=t.a,d=j.Math.min(d,r.c),h=j.Math.max(h,r.c+r.b),g=j.Math.min(g,r.d),l=j.Math.max(l,r.d+r.a),o=new E(t.c);o.a<o.c.c.length;)c=u(y(o),395),e=c.a,e.a?(a=r.d+c.b.b,f=a+c.c,g=j.Math.min(g,a),l=j.Math.max(l,f)):(a=r.c+c.b.a,f=a+c.c,d=j.Math.min(d,a),h=j.Math.max(h,f));n.a=new fn(h-d,l-g),n.c=new fn(d+n.d.a,g+n.d.b)}function Jye(n,e,t){var i,r,c,o,f,h,l,a,d;for(d=new X,a=new oX(0,t),c=0,XC(a,new lF(0,0,a,t)),r=0,l=new ie(n);l.e!=l.i.gc();)h=u(oe(l),33),i=u(un(a.a,a.a.c.length-1),187),f=r+h.g+(u(un(a.a,0),187).b.c.length==0?0:t),f>e&&(r=0,c+=a.b+t,d.c[d.c.length]=a,a=new oX(c,t),i=new lF(0,a.f,a,t),XC(a,i),r=0),i.b.c.length==0||h.f>=i.o&&h.f<=i.f||i.a*.5<=h.f&&i.a*1.5>=h.f?yQ(i,h):(o=new lF(i.s+i.r+t,a.f,a,t),XC(a,o),yQ(o,h)),r=h.i+h.g;return d.c[d.c.length]=a,d}function ig(n){var e,t,i,r,c,o,f,h;if(!n.a){if(n.o=null,h=new Smn(n),e=new J2n,t=b9,f=t.a.zc(n,t),f==null){for(o=new ie(Mr(n));o.e!=o.i.gc();)c=u(oe(o),26),Ot(h,ig(c));t.a.Bc(n)!=null,t.a.gc()==0}for(r=(!n.s&&(n.s=new V(su,n,21,17)),new ie(n.s));r.e!=r.i.gc();)i=u(oe(r),170),I(i,322)&&me(e,u(i,34));lb(e),n.k=new DEn(n,(u(D(R((ol(),Nn).o),7),18),e.i),e.g),Ot(h,n.k),lb(h),n.a=new Ew((u(D(R(Nn.o),4),18),h.i),h.g),Iu(n).b&=-2}return n.a}function Yye(n,e,t,i,r,c,o){var f,h,l,a,d,g;return d=!1,h=SNn(t.q,e.f+e.b-t.q.f),g=r-(t.q.e+h-o),g<i.g||(l=c==n.c.length-1&&g>=(Ln(c,n.c.length),u(n.c[c],200)).e,a=(f=O6(i,g,!1),f.a),a>e.b&&!l)?!1:((l||a<=e.b)&&(l&&a>e.b?(t.d=a,B8(t,Dxn(t,a))):(JFn(t.q,h),t.c=!0),B8(i,r-(t.s+t.r))
\r\r `),kr(Ug,YB,i),kr(Sv,YB,Mb(i)),i=new ns(4),v7(i,ZGn),kr(Ug,am,i),kr(Sv,am,Mb(i)),i=new ns(4),v7(i,ZGn),kr(Ug,am,i),kr(Sv,am,Mb(i)),i=new ns(4),v7(i,nzn),Ab(i,u(vc(Ug,am),117)),kr(Ug,JB,i),kr(Sv,JB,Mb(i)),i=new ns(4),v7(i,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँअह़्॑॔क़ॣ९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼ੴઁઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૯ଁଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൯กฮะฺเ๎๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩↀↂ々々〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),kr(Ug,ZB,i),kr(Sv,ZB,Mb(i)),i=new ns(4),v7(i,nzn),yc(i,95,95),yc(i,58,58),kr(Ug,nR,i),kr(Sv,nR,Mb(i))),t=u(vc(e?Ug:Sv,n),136),t}function $Te(n){ke(n.a,xe,A(M(tn,1),q,2,6,[We,"anySimpleType"])),ke(n.b,xe,A(M(tn,1),q,2,6,[We,"anyType",Xs,Ek])),ke(u(D(R(n.b),0),34),xe,A(M(tn,1),q,2,6,[Xs,UB,We,":mixed"])),ke(u(D(R(n.b),1),34),xe,A(M(tn,1),q,2,6,[Xs,UB,nin,XB,We,":1",RGn,"lax"])),ke(u(D(R(n.b),2),34),xe,A(M(tn,1),q,2,6,[Xs,xGn,nin,XB,We,":2",RGn,"lax"])),ke(n.c,xe,A(M(tn,1),q,2,6,[We,"anyURI",Qs,Uo])),ke(n.d,xe,A(M(tn,1),q,2,6,[We,"base64Binary",Qs,Uo])),ke(n.e,xe,A(M(tn,1),q,2,6,[We,X2,Qs,Uo])),ke(n.f,xe,A(M(tn,1),q,2,6,[We,"boolean:Object",Ri,X2])),ke(n.g,xe,A(M(tn,1),q,2,6,[We,cm])),ke(n.i,xe,A(M(tn,1),q,2,6,[We,"byte:Object",Ri,cm])),ke(n.j,xe,A(M(tn,1),q,2,6,[We,"date",Qs,Uo])),ke(n.k,xe,A(M(tn,1),q,2,6,[We,"dateTime",Qs,Uo])),ke(n.n,xe,A(M(tn,1),q,2,6,[We,"decimal",Qs,Uo])),ke(n.o,xe,A(M(tn,1),q,2,6,[We,um,Qs,Uo])),ke(n.p,xe,A(M(tn,1),q,2,6,[We,"double:Object",Ri,um])),ke(n.q,xe,A(M(tn,1),q,2,6,[We,"duration",Qs,Uo])),ke(n.s,xe,A(M(tn,1),q,2,6,[We,"ENTITIES",Ri,_Gn,ein,"1"])),ke(n.r,xe,A(M(tn,1),q,2,6,[We,_Gn,WB,tin])),ke(n.t,xe,A(M(tn,1),q,2,6,[We,tin,Ri,FA])),ke(n.u,xe,A(M(tn,1),q,2,6,[We,sm,Qs,Uo])),ke(n.v,xe,A(M(tn,1),q,2,6,[We,"float:Object",Ri,sm])),ke(n.w,xe,A(M(tn,1),q,2,6,[We,"gDay",Qs,Uo])),ke(n.B,xe,A(M(tn,1),q,2,6,[We,"gMonth",Qs,Uo])),ke(n.A,xe,A(M(tn,1),q,2,6,[We,"gMonthDay",Qs,Uo])),ke(n.C,xe,A(M(tn,1),q,2,6,[We,"gYear",Qs,Uo])),ke(n.D,xe,A(M(tn,1),q,2,6,[We,"gYearMonth",Qs,Uo])),ke(n.F,xe,A(M(tn,1),q,2,6,[We,"hexBinary",Qs,Uo])),ke(n.G,xe,A(M(tn,1),q,2,6,[We,"ID",Ri,FA])),ke(n.H,xe,A(M(tn,1),q,2,6,[We,"IDREF",Ri,FA])),ke(n.J,xe,A(M(tn,1),q,2,6,[We,"IDREFS",Ri,KGn,ein,"1"])),ke(n.I,xe,A(M(tn,1),q,2,6,[We,KGn,WB,"IDREF"])),ke(n.K,xe,A(M(tn,1),q,2,6,[We,om])),ke(n.M,xe,A(M(tn,1),q,2,6,[We,iin])),ke(n.L,xe,A(M(tn,1),q,2,6,[We,"int:Object",Ri,om])),ke(n.P,xe,A(M(tn,1),q,2,6,[We,"language",Ri,VB,QB,HGn])),ke(n.Q,xe,A(M(tn,1),q,2,6,[We,fm])),ke(n.R,xe,A(M(tn,1),q,2,6,[We,"long:Object",Ri,fm])),ke(n.S,xe,A(M(tn,1),q,2,6,[We,"Name",Ri,VB,QB,rin])),ke(n.T,xe,A(M(tn,1),q,2,6,[We,FA,Ri,"Name",QB,qGn])),ke(n.U,xe,A(M(tn,1),q,2,6,[We,"negativeInteger",Ri,GGn,Sk,"-1"])),ke(n.V,xe,A(M(tn,1),q,2,6,[We,cin,Ri,VB,QB,"\\c+"])),ke(n.X,xe,A(M
`,XKn=`)]}"' \r
`,VKn="The given string contains parts that cannot be parsed as numbers.",dk="org.eclipse.elk.core.math",QKn={3:1,4:1,142:1,207:1,414:1},JKn={3:1,4:1,116:1,207:1,414:1},Jn="org.eclipse.elk.layered",C1="org.eclipse.elk.alg.layered.graph.transform",YKn="ElkGraphImporter",ZKn="ElkGraphImporter/lambda$0$Type",nHn="ElkGraphImporter/lambda$1$Type",eHn="ElkGraphImporter/lambda$2$Type",tHn="ElkGraphImporter/lambda$4$Type",iHn="Node margin calculation",Un="org.eclipse.elk.alg.layered.intermediate",rHn="ONE_SIDED_GREEDY_SWITCH",cHn="TWO_SIDED_GREEDY_SWITCH",AN="No implementation is available for the layout processor ",Fnn="IntermediateProcessorStrategy",SN="Node '",uHn="FIRST_SEPARATE",sHn="LAST_SEPARATE",oHn="Odd port side processing",Qt="org.eclipse.elk.alg.layered.intermediate.compaction",U6="org.eclipse.elk.alg.layered.intermediate.greedyswitch",gh="org.eclipse.elk.alg.layered.p3order.counting",bk={225:1},cp="org.eclipse.elk.alg.layered.intermediate.loops",fs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Al="org.eclipse.elk.alg.layered.intermediate.loops.routing",W6="org.eclipse.elk.alg.layered.intermediate.preserveorder",qf="org.eclipse.elk.alg.layered.intermediate.wrapping",lc="org.eclipse.elk.alg.layered.options",PN="INTERACTIVE",fHn="DEPTH_FIRST",hHn="EDGE_LENGTH",lHn="SELF_LOOPS",aHn="firstTryWithInitialOrder",xnn="org.eclipse.elk.layered.directionCongruency",Lnn="org.eclipse.elk.layered.feedbackEdges",WM="org.eclipse.elk.layered.interactiveReferencePoint",Nnn="org.eclipse.elk.layered.mergeEdges",Bnn="org.eclipse.elk.layered.mergeHierarchyEdges",Rnn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",_nn="org.eclipse.elk.layered.portSortingStrategy",Knn="org.eclipse.elk.layered.thoroughness",Hnn="org.eclipse.elk.layered.unnecessaryBendpoints",qnn="org.eclipse.elk.layered.generatePositionAndLayerIds",IN="org.eclipse.elk.layered.cycleBreaking.strategy",wk="org.eclipse.elk.layered.layering.strategy",Gnn="org.eclipse.elk.layered.layering.layerConstraint",znn="org.eclipse.elk.layered.layering.layerChoiceConstraint",Unn="org.eclipse.elk.layered.layering.layerId",ON="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",DN="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",$N="org.eclipse.elk.layered.layering.nodePromotion.strategy",FN="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",xN="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",X6="org.eclipse.elk.layered.crossingMinimization.strategy",Wnn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",LN="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",NN="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Xnn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Vnn="org.eclipse.elk.layered.crossingMinimization.positionId",Qnn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",BN="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",XM="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",lg="org.eclipse.elk.layered.nodePlacement.strategy",VM="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",RN="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",_N="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",KN="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",HN="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",qN="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Jnn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Ynn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",QM="org.eclipse.elk.layered.edgeRouting.splines.mode",JM="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",GN="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Znn="org.eclipse.elk.layered.spacing.baseValue",nen="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",een="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",ten="org.eclipse.elk.layered.spacing.nodeNodeBetw
`,e=Q(0),o=0;o<this.p;o++){for(i+=""+e.a,e=Q($jn(e.a)),r=0;r<this.o;r++)t=Q$(this,r,o),fc(t,0)==0?i+="_":fc(t,1)==0?i+="X":i+="0";i+=`
`}return Yu(i,0,i.length-1)},s.o=0,s.p=0,w(BM,"TwoBitGrid",1298),b(321,1298,{321:1},xQ),s.j=0,s.k=0,w(BM,"PlanarGrid",321),b(167,321,{321:1,167:1}),s.g=0,s.i=0,w(BM,"Polyomino",167);var QTe=Et(ok,DKn);b(134,1,wnn,pI),s.Ye=function(e,t){return s7(this,e,t)},s.Ve=function(){return eCn(this)},s.We=function(e){return k(this,e)},s.Xe=function(e){return li(this,e)},w(ok,"MapPropertyHolder",134),b(1299,134,wnn,FNn),w(BM,"Polyominoes",1299);var AUn=!1,gm,vrn;b(1766,1,Yn,can),s.td=function(e){DRn(u(e,221))},w(np,"DepthFirstCompaction/0methodref$compactTree$Type",1766),b(810,1,Yn,Aq),s.td=function(e){$he(this.a,u(e,221))},w(np,"DepthFirstCompaction/lambda$1$Type",810),b(1767,1,Yn,bEn),s.td=function(e){ipe(this.a,this.b,this.c,u(e,221))},w(np,"DepthFirstCompaction/lambda$2$Type",1767);var pm,mrn;b(65,1,{65:1},yMn),w(np,"Node",65),b(1250,1,{},jyn),w(np,"ScanlineOverlapCheck",1250),b(1251,1,{679:1},KTn),s.Ke=function(e){gue(this,u(e,440))},w(np,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),b(1252,1,lt,uan),s.ue=function(e,t){return Rge(u(e,65),u(t,65))},s.Fb=function(e){return this===e},s.ve=function(){return new ut(this)},w(np,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),b(440,1,{440:1},KG),s.a=!1,w(np,"ScanlineOverlapCheck/Timestamp",440),b(1253,1,lt,san),s.ue=function(e,t){return w4e(u(e,440),u(t,440))},s.Fb=function(e){return this===e},s.ve=function(){return new ut(this)},w(np,"ScanlineOverlapCheck/lambda$0$Type",1253),b(550,1,{},Wy),w($Kn,"SVGImage",550),b(324,1,{324:1},FU),s.Ib=function(){return"("+this.a+Ji+this.b+Ji+this.c+")"},w($Kn,"UniqueTriple",324),b(209,1,xa),w(og,"AbstractLayoutProvider",209),b(1132,209,xa,oan),s.Ze=function(e,t){var i,r,c,o;switch(le(t,FKn,1),this.a=K(Y(hn(e,(a6(),Trn)))),wa(e,PR)&&(c=Ce(hn(e,PR)),i=Vx(N3(),c),i&&(r=u(n$(i.f),209),r.Ze(e,kc(t,1)))),o=new NAn(this.a),this.b=rCe(o,e),u(hn(e,(pF(),yrn)),481).g){case 0:kme(new fan,this.b),gr(e,nS,k(this.b,nS));break;default:Zf()}aCe(o),gr(e,Ern,this.b),ce(t)},s.a=0,w(xKn,"DisCoLayoutProvider",1132),b(1244,1,{},fan),s.c=!1,s.e=0,s.f=0,w(xKn,"DisCoPolyominoCompactor",1244),b(561,1,{561:1},uCn),s.b=!0,w(_M,"DCComponent",561),b(394,22,{3:1,35:1,22:1,394:1},Bj),s.a=!1;var YA,Lk,ZA,Nk,SUn=Me(_M,"DCDirection",394,Ie,vae,cse),PUn;b(266,134,{3:1,266:1,94:1,134:1},xx),w(_M,"DCElement",266),b(395,1,{395:1},cJ),s.c=0,w(_M,"DCExtension",395),b(755,134,wnn,i8n),w(_M,"DCGraph",755),b(481,22,{3:1,35:1,22:1,481:1},sjn);var SR,krn=Me(pN,gnn,481,Ie,Xhe,use),IUn;b(854,1,zs,u4n),s.Qe=function(e){En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,pnn),LKn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),jrn),(y1(),Lt)),krn),Cn((Ho(),Xn))))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,vnn),LKn),"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."),kv),tn),Cn(Xn)))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,mnn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),yf),Zn),Cn(Xn)))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,knn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),yf),Zn),Cn(Xn)))),kRn((new s4n,e))};var OUn,yrn,jrn,DUn,$Un;w(pN,"DisCoMetaDataProvider",854),b(998,1,zs,s4n),s.Qe=function(e){kRn(e)};var FUn,PR,xUn,Ern,nS,IR,Crn,LUn,NUn,BUn,RUn,Trn;w(pN,"DisCoOptions",998),b(999,1,{},han),s.$e=function(){var e;return e=new oan,e},s._e=function(e){},w(pN,"DisCoOptions/DiscoFactory",999),b(562,167,{321:1,167:1,562:1},pNn),s.a=0,s.b=0,s.c=0,s.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",562);var OR,DR,eS;b(1268,1,Ve,lan),s.Mb=function(e){return gz(e)},w(fg,"ElkGraphComponentsProcessor/lambda$0$Type",1268),b(1269,1,{},aan),s.Kb=function(e){return C2(),fh(u(e,79))},w(fg,"ElkGraphComponentsProcessor/lambda$1$Type",1269),b(1270,1,Ve,dan),s.Mb=function(e){return cfe(u(e,79))},w(fg,"ElkGraphComponentsP
start=`,rc(e,this.i),e.a+=`
end=`,rc(e,this.a),e.a+=`
nodeStartEdge=`,rc(e,this.e),e.a+=`
startEndEdge=`,rc(e,this.j),e.a+=`
originalEdge=`,rc(e,this.f),e.a+=`
startInLayerDummy=`,rc(e,this.k),e.a+=`
startInLayerEdge=`,rc(e,this.n),e.a+=`
endInLayerDummy=`,rc(e,this.b),e.a+=`
endInLayerEdge=`,rc(e,this.c),e.a},w(qf,"BreakingPointInserter/BPInfo",305),b(652,1,{652:1},u6n),s.a=!1,s.b=0,s.c=0,w(qf,"BreakingPointInserter/Cut",652),b(1480,1,Ft,dwn),s.pf=function(e,t){$9e(u(e,37),t)},w(qf,"BreakingPointProcessor",1480),b(1481,1,Ve,bwn),s.Mb=function(e){return eIn(u(e,10))},w(qf,"BreakingPointProcessor/0methodref$isEnd$Type",1481),b(1482,1,Ve,wwn),s.Mb=function(e){return tIn(u(e,10))},w(qf,"BreakingPointProcessor/1methodref$isStart$Type",1482),b(1483,1,Ft,gwn),s.pf=function(e,t){t8e(this,u(e,37),t)},w(qf,"BreakingPointRemover",1483),b(1484,1,Yn,pwn),s.td=function(e){u(e,128).k=!0},w(qf,"BreakingPointRemover/lambda$0$Type",1484),b(797,1,{},PY),s.b=0,s.e=0,s.f=0,s.j=0,w(qf,"GraphStats",797),b(798,1,{},HH),s.Ce=function(e,t){return j.Math.max(K(Y(e)),K(Y(t)))},w(qf,"GraphStats/0methodref$max$Type",798),b(799,1,{},qH),s.Ce=function(e,t){return j.Math.max(K(Y(e)),K(Y(t)))},w(qf,"GraphStats/2methodref$max$Type",799),b(1660,1,{},vwn),s.Ce=function(e,t){return Koe(Y(e),Y(t))},w(qf,"GraphStats/lambda$1$Type",1660),b(1661,1,{},Y5n),s.Kb=function(e){return G$n(this.a,u(e,29))},w(qf,"GraphStats/lambda$2$Type",1661),b(1662,1,{},Z5n),s.Kb=function(e){return TNn(this.a,u(e,29))},w(qf,"GraphStats/lambda$6$Type",1662),b(800,1,{},GH),s.Vf=function(e,t){var i;return i=u(k(e,(nn(),$sn)),15),i||(Pn(),Pn(),cr)},s.Wf=function(){return!1},w(qf,"ICutIndexCalculator/ManualCutIndexCalculator",800),b(802,1,{},zH),s.Vf=function(e,t){var i,r,c,o,f,h,l,a,d,g,p,v,m,C,S,$,O,x,_;for(_=(t.n==null&&bFn(t),t.n),l=(t.d==null&&bFn(t),t.d),x=F(ji,pr,25,_.length,15,1),x[0]=_[0],$=_[0],a=1;a<_.length;a++)x[a]=x[a-1]+_[a],$+=_[a];for(c=Ixn(t)-1,f=u(k(e,(nn(),Fsn)),19).a,r=Vt,i=new X,p=j.Math.max(0,c-f);p<=j.Math.min(t.f-1,c+f);p++){if(C=$/(p+1),S=0,d=1,o=new X,O=Vt,g=0,h=0,m=l[0],p==0)O=$,h=(t.g==null&&(t.g=sOn(t,new qH)),K(t.g));else{for(;d<t.f;)x[d-1]-S>=C&&(W(o,Q(d)),O=j.Math.max(O,x[d-1]-g),h+=m,S+=x[d-1]-S,g=x[d-1],m=l[d]),m=j.Math.max(m,l[d]),++d;h+=m}v=j.Math.min(1/O,1/t.b/h),v>r&&(r=v,i=o)}return i},s.Wf=function(){return!1},w(qf,"MSDCutIndexHeuristic",802),b(1617,1,Ft,mwn),s.pf=function(e,t){Sye(u(e,37),t)},w(qf,"SingleEdgeGraphWrapper",1617),b(227,22,{3:1,35:1,22:1,227:1},i5);var Eg,tv,iv,qb,ym,Cg,rv=Me(lc,"CenterEdgeLabelPlacementStrategy",227,Ie,Rde,pse),uXn;b(422,22,{3:1,35:1,22:1,422:1},WG);var Bcn,s_,Rcn=Me(lc,"ConstraintCalculationStrategy",422,Ie,P1e,vse),sXn;b(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},dO),s.Kf=function(){return pLn(this)},s.Xf=function(){return pLn(this)};var qk,ap,_cn,Kcn=Me(lc,"CrossingMinimizationStrategy",314,Ie,yle,mse),oXn;b(337,22,{3:1,35:1,22:1,337:1},bO);var Hcn,o_,DS,qcn=Me(lc,"CuttingStrategy",337,Ie,jle,jse),fXn;b(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},X9),s.Kf=function(){return iNn(this)},s.Xf=function(){return iNn(this)};var Gcn,f_,jm,h_,Em,zcn=Me(lc,"CycleBreakingStrategy",335,Ie,lde,Ese),hXn;b(419,22,{3:1,35:1,22:1,419:1},XG);var $S,Ucn,Wcn=Me(lc,"DirectionCongruency",419,Ie,S1e,Cse),lXn;b(450,22,{3:1,35:1,22:1,450:1},wO);var cv,l_,Tg,aXn=Me(lc,"EdgeConstraint",450,Ie,Ele,Tse),dXn;b(276,22,{3:1,35:1,22:1,276:1},r5);var a_,d_,b_,w_,FS,g_,Xcn=Me(lc,"EdgeLabelSideSelection",276,Ie,qde,Mse),bXn;b(479,22,{3:1,35:1,22:1,479:1},VG);var xS,Vcn,Qcn=Me(lc,"EdgeStraighteningStrategy",479,Ie,A1e,Ase),wXn;b(274,22,{3:1,35:1,22:1,274:1},c5);var p_,Jcn,Ycn,LS,Zcn,nun,eun=Me(lc,"FixedAlignment",274,Ie,Kde,Sse),gXn;b(275,22,{3:1,35:1,22:1,275:1},u5);var tun,iun,run,cun,Cm,uun,sun=Me(lc,"GraphCompactionStrategy",275,Ie,_de,Pse),pXn;b(256,22,{3:1,35:1,22:1,256:1},H0);var uv,NS,sv,$s,Tm,BS,ov,Mg,RS,Mm,v_=Me(lc,"GraphProperties",256,Ie,Sbe,Ise),vXn;b(292,22,{3:1,35:1,22:1,292:1},gO);var Gk,m_,k_,y_=Me(lc,"GreedySwitchType",292,Ie,Mle,Ose),mXn;b(303,22,{3:1,35:1,22:1,303:1},pO);var dp,zk,Ag,kXn=Me(lc,"InLayerConstraint",303,Ie,Tle,Dse),yXn;b(420,22,{3:1,35:1,22:1,420:1},QG);var j_,oun,fun=Me(lc,"InteractiveReferencePoint",420,Ie,I1e,$se),jXn,hun,bp,p0,_S,lun,aun,KS,dun,Uk,HS,Am,wp,Gb,E_,qS,ec,bun,v0,Mc,C_,T_,Wk,za,m0,gp,wun,pp,Xk,zb,Xo,Ys,M_,Sg,dc,rt,gun,pun,vun,mun,kun,A_,GS,Mu,k0,S_,vp,Vk,mf,Pg,fv,Ig,Og,hv,U
`;for(t=_e(this.a,0);t.b!=t.d.c;)e=u(Re(t),188),c+=(e.b&&e.c?wC(e.b)+"->"+wC(e.c):"e_"+mt(e))+`
`;return c};var rMe=w(J6,"TGraph",135);b(633,502,{3:1,502:1,633:1,94:1,134:1}),w(J6,"TShape",633),b(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},hF),s.Ib=function(){return wC(this)};var cMe=w(J6,"TNode",86);b(255,1,lh,X1),s.Jc=function(e){$i(this,e)},s.Kc=function(){var e;return e=_e(this.a.d,0),new e2(e)},w(J6,"TNode/2",255),b(358,1,yi,e2),s.Nb=function(e){Oi(this,e)},s.Pb=function(){return u(Re(this.a),188).c},s.Ob=function(){return yj(this.a)},s.Qb=function(){HC(this.a)},w(J6,"TNode/2/1",358),b(1840,1,Ft,Hjn),s.pf=function(e,t){gye(this,u(e,135),t)},w(up,"FanProcessor",1840),b(327,22,{3:1,35:1,22:1,327:1,234:1},o5),s.Kf=function(){switch(this.g){case 0:return new S9n;case 1:return new Hjn;case 2:return new jgn;case 3:return new kgn;case 4:return new Cgn;case 5:return new Tgn;default:throw T(new Hn(AN+(this.f!=null?this.f:""+this.g)))}};var lK,aK,dK,bK,wK,pP,XJn=Me(up,Fnn,327,Ie,Gde,eoe),VJn;b(1843,1,Ft,kgn),s.pf=function(e,t){Yme(this,u(e,135),t)},s.a=0,w(up,"LevelHeightProcessor",1843),b(1844,1,lh,ygn),s.Jc=function(e){$i(this,e)},s.Kc=function(){return Pn(),Zp(),X4},w(up,"LevelHeightProcessor/1",1844),b(1841,1,Ft,jgn),s.pf=function(e,t){c6e(this,u(e,135),t)},s.a=0,w(up,"NeighborsProcessor",1841),b(1842,1,lh,Egn),s.Jc=function(e){$i(this,e)},s.Kc=function(){return Pn(),Zp(),X4},w(up,"NeighborsProcessor/1",1842),b(1845,1,Ft,Cgn),s.pf=function(e,t){Jme(this,u(e,135),t)},s.a=0,w(up,"NodePositionProcessor",1845),b(1839,1,Ft,S9n),s.pf=function(e,t){Eje(this,u(e,135))},w(up,"RootProcessor",1839),b(1846,1,Ft,Tgn),s.pf=function(e,t){Dge(u(e,135))},w(up,"Untreeifyer",1846);var sy,zm,QJn,gK,vP,Um,pK,mP,kP,vv,Wm,yP,O1,gon,JJn,vK,iw,mK,pon;b(851,1,zs,G4n),s.Qe=function(e){En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,Zen),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),mon),(y1(),Lt)),Mon),Cn((Ho(),Xn))))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,ntn),""),"Search Order"),"Which search order to use when computing a spanning tree."),von),Lt),Son),Cn(Xn)))),QRn((new q4n,e))};var YJn,von,ZJn,mon;w(lA,"MrTreeMetaDataProvider",851),b(994,1,zs,q4n),s.Qe=function(e){QRn(e)};var nYn,kon,eYn,tYn,iYn,rYn,yon,cYn,jon,uYn,jP,Eon,sYn,Con,oYn;w(lA,"MrTreeOptions",994),b(995,1,{},Mgn),s.$e=function(){var e;return e=new qjn,e},s._e=function(e){},w(lA,"MrTreeOptions/MrtreeFactory",995),b(480,22,{3:1,35:1,22:1,480:1},rz);var kK,Ton,Mon=Me(lA,"OrderWeighting",480,Ie,B1e,toe),fYn;b(425,22,{3:1,35:1,22:1,425:1},cz);var Aon,yK,Son=Me(lA,"TreeifyingOrder",425,Ie,N1e,roe),hYn;b(1459,1,Ec,F4n),s.Yf=function(e){return u(e,135),lYn},s.pf=function(e,t){Obe(this,u(e,135),t)};var lYn;w("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),b(1460,1,Ec,x4n),s.Yf=function(e){return u(e,135),aYn},s.pf=function(e,t){w6e(this,u(e,135),t)};var aYn;w("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),b(1461,1,Ec,$4n),s.Yf=function(e){return u(e,135),dYn},s.pf=function(e,t){D7e(this,u(e,135),t)},s.a=0;var dYn;w("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),b(1462,1,Ec,L4n),s.Yf=function(e){return u(e,135),bYn},s.pf=function(e,t){r4e(u(e,135),t)};var bYn;w("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var Xm;b(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},uz),s.Kf=function(){return t$n(this)},s.Xf=function(){return t$n(this)};var EP,mv,Pon=Me(etn,"RadialLayoutPhases",495,Ie,R1e,ioe),wYn;b(1131,209,xa,j8n),s.Ze=function(e,t){var i,r,c,o,f,h;if(i=cLn(this,e),le(t,"Radial layout",i.c.length),on(sn(hn(e,(gb(),Ron))))||oC((r=new O9((K0(),new N0(e))),r)),h=yve(e),gr(e,(C5(),Xm),h),!h)throw T(new Hn("The given graph is not a tree!"));for(c=K(Y(hn(e,MP))),c==0&&(c=mLn(e)),gr(e,MP,c),f=new E(cLn(this,e));f.a<f.c.c.length;)o=u(y(f),51),o.pf(e,kc(t,1));ce(t)},w(etn,"RadialLayoutProvider",1131),b(549,1,lt,jj),s.ue=function(e,t){return W7e(this.a,this.b,u(e,33),u(t,33))},s.Fb=function(e){return this===e},s.ve=function(){return new ut(this)},s.a=0,s.b=0,w(etn,"RadialUtil/lambda$0$Type",549),b(1375,1,Ft,Sgn),s.pf=function(e,t){aEe(u(e,33),t)},w(OHn,"CalculateGraphSize",1375),b(442,22,{3:1,35:1,22:1,442:1,234:1},MO),s.Kf=function
`),c.length!=2)throw T(new Hn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=kb(mb(c[0])),this.b=kb(mb(c[1]))}catch(o){throw o=jt(o),I(o,127)?(i=o,T(new Hn(VKn+i))):T(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var ai=w(dk,"KVector",8);b(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},hu,mj,ljn),s.Pc=function(){return Gwe(this)},s.Jf=function(e){var t,i,r,c,o,f;r=Tb(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),_s(this);try{for(i=0,o=0,c=0,f=0;i<r.length;)r[i]!=null&&mb(r[i]).length>0&&(o%2==0?c=kb(r[i]):f=kb(r[i]),o>0&&o%2!=0&&Ke(this,new fn(c,f)),++o),++i}catch(h){throw h=jt(h),I(h,127)?(t=h,T(new Hn("The given string does not match the expected format for vectors."+t))):T(h)}},s.Ib=function(){var e,t,i;for(e=new Ju("("),t=_e(this,0);t.b!=t.d.c;)i=u(Re(t),8),De(e,i.a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var Bfn=w(dk,"KVectorChain",74);b(248,22,{3:1,35:1,22:1,248:1},f5);var HK,$P,FP,ly,ay,xP,Rfn=Me(Ws,"Alignment",248,Ie,Bde,yoe),FZn;b(979,1,zs,Q4n),s.Qe=function(e){zBn(e)};var _fn,qK,xZn,Kfn,Hfn,LZn,qfn,NZn,BZn,Gfn,zfn,RZn;w(Ws,"BoxLayouterOptions",979),b(980,1,{},m2n),s.$e=function(){var e;return e=new A2n,e},s._e=function(e){},w(Ws,"BoxLayouterOptions/BoxFactory",980),b(291,22,{3:1,35:1,22:1,291:1},h5);var dy,GK,by,wy,gy,zK,UK=Me(Ws,"ContentAlignment",291,Ie,Nde,joe),_Zn;b(684,1,zs,nq),s.Qe=function(e){En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,GHn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(y1(),kv)),tn),Cn((Ho(),Xn))))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,zHn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),yf),oMe),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,Oen),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Ufn),Lt),Rfn),Cn(pi)))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,ep),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Or),Mi),Cn(Xn)))),En(e,new bn(yn(kn(jn(gn(mn(pn(vn(new dn,Ttn),""),"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."),yf),Bfn),Cn(Yf)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,sA),""),"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."),Xfn),Cp),UK),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,mk),""),"Debug Mode"),"Whether additional debug information shall be generated."),(qn(),!1)),_i),si),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,Fen),""),bnn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Vfn),Lt),e9),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,pk),""),"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."),Yfn),Lt),cH),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,dA),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),_i),si),Cn(Xn)))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,uA),""),"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`."),thn),Lt),Khn),pt(Xn,A(M($1,1),z,175,0,[pi]))))),En(e,new bn(yn(kn(jn(Dn(gn(mn(pn(vn(new dn,u0),""),"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
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!Si.workerFactory){var Nc=ft("./elk-worker.min.js"),ps=Nc.Worker;Si.workerFactory=function(Rr){return new ps(Rr)}}return j(this,(Ge.__proto__||Object.getPrototypeOf(Ge)).call(this,Si))}return Ge}(ou);Object.defineProperty(dt.exports,"__esModule",{value:!0}),dt.exports=It,It.default=It},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(ft,dt,Nt){dt.exports=Worker},{}]},{},[3])(3)})})(Uee);var CMe=Uee.exports;const TMe=gMe(CMe),MMe=(Ae,_t,ft)=>{const{parentById:dt}=ft,Nt=new Set;let Ai=Ae;for(;Ai;){if(Nt.add(Ai),Ai===_t)return Ai;Ai=dt[Ai]}for(Ai=_t;Ai;){if(Nt.has(Ai))return Ai;Ai=dt[Ai]}return"root"},qee=new TMe;let x0={};const AMe={};let Lp={};const SMe=async function(Ae,_t,ft,dt,Nt,Ai,j){const ou=ft.select(`[id="${_t}"]`).insert("g").attr("class","nodes"),It=Object.keys(Ae);return await Promise.all(It.map(async function(qt){const Ge=Ae[qt];let Ki="default";Ge.classes.length>0&&(Ki=Ge.classes.join(" ")),Ki=Ki+" flowchart-label";const Si=V1n(Ge.styles);let Mn=Ge.text!==void 0?Ge.text:Ge.id;const Lc={width:0,height:0},Nc=[{id:Ge.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:Ge.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:Ge.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:Ge.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let ps=0,Rr="",Ch={};switch(Ge.type){case"round":ps=5,Rr="rect";break;case"square":Rr="rect";break;case"diamond":Rr="question",Ch={portConstraints:"FIXED_SIDE"};break;case"hexagon":Rr="hexagon";break;case"odd":Rr="rect_left_inv_arrow";break;case"lean_right":Rr="lean_right";break;case"lean_left":Rr="lean_left";break;case"trapezoid":Rr="trapezoid";break;case"inv_trapezoid":Rr="inv_trapezoid";break;case"odd_right":Rr="rect_left_inv_arrow";break;case"circle":Rr="circle";break;case"ellipse":Rr="ellipse";break;case"stadium":Rr="stadium";break;case"subroutine":Rr="subroutine";break;case"cylinder":Rr="cylinder";break;case"group":Rr="rect";break;case"doublecircle":Rr="doublecircle";break;default:Rr="rect"}const H1={labelStyle:Si.labelStyle,shape:Rr,labelText:Mn,labelType:Ge.labelType,rx:ps,ry:ps,class:Ki,style:Si.style,id:Ge.id,link:Ge.link,linkTarget:Ge.linkTarget,tooltip:Nt.db.getTooltip(Ge.id)||"",domId:Nt.db.lookUpDomId(Ge.id),haveCallback:Ge.haveCallback,width:Ge.type==="group"?500:void 0,dir:Ge.dir,type:Ge.type,props:Ge.props,padding:OH().flowchart.padding};let q1,ww;if(H1.type!=="group")ww=await kMe(ou,H1,Ge.dir),q1=ww.node().getBBox();else{dt.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:G1,bbox:Th}=await yMe(ou,H1,void 0,!0);Lc.width=Th.width,Lc.wrappingWidth=OH().flowchart.wrappingWidth,Lc.height=Th.height,Lc.labelNode=G1.node(),H1.labelData=Lc}const Np={id:Ge.id,ports:Ge.type==="diamond"?Nc:[],layoutOptions:Ch,labelText:Mn,labelData:Lc,domId:Nt.db.lookUpDomId(Ge.id),width:q1==null?void 0:q1.width,height:q1==null?void 0:q1.height,type:Ge.type,el:ww,parent:Ai.parentById[Ge.id]};Lp[H1.id]=Np})),j},Gee=(Ae,_t,ft)=>{const dt={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 dt.TD=dt.TB,K1.info("abc88",ft,_t,Ae),dt[ft][_t][Ae]},zee=(Ae,_t,ft)=>{if(K1.info("getNextPort abc88",{node:Ae,edgeDirection:_t,graphDirection:ft}),!x0[Ae])switch(ft){case"TB":case"TD":x0[Ae]={inPosition:"north",outPosition:"south"};break;case"BT":x0[Ae]={inPosition:"south",outPosition:"north"};break;case"RL":x0[Ae]={inPosition:"east",outPosition:"west"};break;case"LR":x0[Ae]={inPosition:"west",outPosition:"east"};break}const dt=_t==="in"?x0[Ae].inPosition:x0[Ae].outPosition;return _t==="in"?x0[Ae].inPosition=Gee(x0[Ae].inPosition,_t,ft):x0[Ae].outPosition=Gee(x0[Ae].outPosition,_t,ft),dt},PMe=(Ae,_t)=>{let ft=Ae.start,dt=Ae.end;const Nt=ft,Ai=dt,j=Lp[ft],Ht=Lp[dt];return!j||!Ht?{source:ft,target:dt}:(j.type==="diamond"&&(ft=`${ft}-${zee(ft,"out",_t)}`),Ht.type==="diamond"&&(dt=`${dt}-${zee(dt,"in",_t)}`
`),It.style===void 0&&(Mn.style=Mn.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),Mn.labelStyle=Mn.labelStyle.replace("color:","fill:"),Mn.id=Ge,Mn.classes="flowchart-link "+Ki+" "+Si;const ps=jMe(Nt,Mn),{source:Rr,target:Ch,sourceId:H1,targetId:q1}=PMe(It,j);K1.debug("abc78 source and target",Rr,Ch),ft.edges.push({id:"e"+It.start+It.end,sources:[Rr],targets:[Ch],sourceId:H1,targetId:q1,labelEl:ps,labels:[{width:Mn.width,height:Mn.height,orgWidth:Mn.width,orgHeight:Mn.height,text:Mn.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:Mn})}),ft},OMe=function(Ae,_t,ft,dt){let Nt="";switch(dt&&(Nt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Nt=Nt.replace(/\(/g,"\\("),Nt=Nt.replace(/\)/g,"\\)")),_t.arrowTypeStart){case"arrow_cross":Ae.attr("marker-start","url("+Nt+"#"+ft+"-crossStart)");break;case"arrow_point":Ae.attr("marker-start","url("+Nt+"#"+ft+"-pointStart)");break;case"arrow_barb":Ae.attr("marker-start","url("+Nt+"#"+ft+"-barbStart)");break;case"arrow_circle":Ae.attr("marker-start","url("+Nt+"#"+ft+"-circleStart)");break;case"aggregation":Ae.attr("marker-start","url("+Nt+"#"+ft+"-aggregationStart)");break;case"extension":Ae.attr("marker-start","url("+Nt+"#"+ft+"-extensionStart)");break;case"composition":Ae.attr("marker-start","url("+Nt+"#"+ft+"-compositionStart)");break;case"dependency":Ae.attr("marker-start","url("+Nt+"#"+ft+"-dependencyStart)");break;case"lollipop":Ae.attr("marker-start","url("+Nt+"#"+ft+"-lollipopStart)");break}switch(_t.arrowTypeEnd){case"arrow_cross":Ae.attr("marker-end","url("+Nt+"#"+ft+"-crossEnd)");break;case"arrow_point":Ae.attr("marker-end","url("+Nt+"#"+ft+"-pointEnd)");break;case"arrow_barb":Ae.attr("marker-end","url("+Nt+"#"+ft+"-barbEnd)");break;case"arrow_circle":Ae.attr("marker-end","url("+Nt+"#"+ft+"-circleEnd)");break;case"aggregation":Ae.attr("marker-end","url("+Nt+"#"+ft+"-aggregationEnd)");break;case"extension":Ae.attr("marker-end","url("+Nt+"#"+ft+"-extensionEnd)");break;case"composition":Ae.attr("marker-end","url("+Nt+"#"+ft+"-compositionEnd)");break;case"dependency":Ae.attr("marker-end","url("+Nt+"#"+ft+"-dependencyEnd)");break;case"lollipop":Ae.attr("marker-end","url("+Nt+"#"+ft+"-lollipopEnd)");break}},DMe=function(Ae,_t){return K1.info("Extracting classes"),_t.db.getClasses()},$Me=function(Ae){const _t={parentById:{},childrenById:{}},ft=Ae.getSubGraphs();return K1.info("Subgraphs - ",ft),ft.forEach(function(dt){dt.nodes.forEach(function(Nt){_t.parentById[Nt]=dt.id,_t.childrenById[dt.id]===void 0&&(_t.childrenById[dt.id]=[]),_t.childrenById[dt.id].push(Nt)})}),ft.forEach(function(dt){dt.id,_t.parentById[dt.id]!==void 0&&_t.parentById[dt.id]}),_t},FMe=function(Ae,_t,ft){const dt=MMe(Ae,_t,ft);if(dt===void 0||dt==="root")return{x:0,y:0};const Nt=Lp[dt].offset;return{x:Nt.posX,y:Nt.posY}},xMe=function(Ae,_t,ft,dt,Nt){const Ai=FMe(_t.sourceId,_t.targetId,Nt),j=_t.sections[0].startPoint,Ht=_t.sections[0].endPoint,It=(_t.sections[0].bendPoints?_t.sections[0].bendPoints:[]).map(Nc=>[Nc.x+Ai.x,Nc.y+Ai.y]),qt=[[j.x+Ai.x,j.y+Ai.y],...It,[Ht.x+Ai.x,Ht.y+Ai.y]],Ge=EMe().curve(IH),Ki=Ae.insert("path").attr("d",Ge(qt)).attr("class","path "+ft.classes).attr("fill","none"),Si=Ae.insert("g").attr("class","edgeLabel"),Mn=lI(Si.node().appendChild(_t.labelEl)),Lc=Mn.node().firstChild.getBoundingClientRect();Mn.attr("width",Lc.width),Mn.attr("height",Lc.height),Si.attr("transform",`translate(${_t.labels[0].x+Ai.x}, ${_t.labels[0].y+Ai.y})`),OMe(Ki,ft,dt.type,dt.arrowMarkerAbsolute)},Wee=(Ae,_t)=>{Ae.forEach(ft=>{ft.children||(ft.children=[]);const dt=_t.childrenById[ft.id];dt&&dt.forEach(Nt=>{ft.children.push(Lp[Nt])}),Wee(ft.children,_t)})},LMe=async function(Ae,_t,ft,dt){var Nt;Lp={},x0={};const Ai=lI("body").append("div").attr("style","height:400px").attr("id","cy");let j={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:[
.subgraph-lvl-${ft} {
fill: ${Ae[`surface${ft}`]};
stroke: ${Ae[`surfacePeer${ft}`]};
}
`;return _t},RMe=Ae=>`.label {
font-family: ${Ae.fontFamily};
color: ${Ae.nodeTextColor||Ae.textColor};
}
.cluster-label text {
fill: ${Ae.titleColor};
}
.cluster-label span {
color: ${Ae.titleColor};
}
.label text,span {
fill: ${Ae.nodeTextColor||Ae.textColor};
color: ${Ae.nodeTextColor||Ae.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${Ae.mainBkg};
stroke: ${Ae.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${Ae.arrowheadColor};
}
.edgePath .path {
stroke: ${Ae.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${Ae.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${Ae.edgeLabelBackground};
rect {
opacity: 0.85;
background-color: ${Ae.edgeLabelBackground};
fill: ${Ae.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${Ae.clusterBkg};
stroke: ${Ae.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${Ae.titleColor};
}
.cluster span {
color: ${Ae.titleColor};
}
/* .cluster div {
color: ${Ae.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${Ae.fontFamily};
font-size: 12px;
background: ${Ae.tertiaryColor};
border: 1px solid ${Ae.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${Ae.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// fill:#ccc;
// // stroke:black;
// }
.flowchart-label text {
text-anchor: middle;
}
${BMe(Ae)}
`,_Me=RMe,XMe={db:bMe,renderer:NMe,parser:wMe,styles:_Me};export{XMe as diagram};