Lines Matching defs:move

1334 `)}return[]}function lvn(t){var e;return e=(Doe(),Yve),e[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[t&15]<<28}function Lhe(t){var e,n,r;t.b==t.c&&(r=t.a.length,n=W4t(b.Math.max(8,r))<<1,t.b!=0?(e=Ff(t.a,n),Uoe(t,e,r),t.a=e,t.b=0):wy(t.a,n),t.c=r)}function hvn(t,e){var n;return n=t.b,n.pf((ai(),Pl))?n.ag()==(ve(),Gn)?-n.Mf().a-Rt(Ht(n.of(Pl))):e+Rt(Ht(n.of(Pl))):n.ag()==(ve(),Gn)?-n.Mf().a:e}function EO(t){var e;return t.b.c.length!=0&&u(Oe(t.b,0),72).a?u(Oe(t.b,0),72).a:(e=Zit(t),e??""+(t.c?Xo(t.c.a,t,0):-1))}function BH(t){var e;return t.f.c.length!=0&&u(Oe(t.f,0),72).a?u(Oe(t.f,0),72).a:(e=Zit(t),e??""+(t.i?Xo(t.i.j,t,0):-1))}function fvn(t,e){var n,r;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(r=u(t.Xb(n),131),n==t.gc()-1||!r.o)return new Ws(he(n),r);return null}function dvn(t,e,n){var r,s,o,h,d;for(o=t.c,d=n?e:t,r=n?t:e,s=d.p+1;s<r.p;++s)if(h=u(Oe(o.a,s),10),!(h.k==(Un(),md)||zvn(h)))return!1;return!0}function wxt(t){var e,n,r,s,o;for(o=0,s=Vs,r=0,n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),172),o+=e.r+(r>0?t.c:0),s=b.Math.max(s,e.d),++r;t.e=o,t.b=s}function gvn(t){var e,n;if(!t.b)for(t.b=hq(u(t.f,123).kh().i),n=new Zn(u(t.f,123).kh());n.e!=n.i.gc();)e=u(ar(n),135),ge(t.b,new Qnt(e));return t.b}function pvn(t,e){var n,r,s;if(e.dc())return _E(),_E(),GP;for(n=new fZt(t,e.gc()),s=new Zn(t);s.e!=s.i.gc();)r=ar(s),e.Hc(r)&&Or(n,r);return n}function mxt(t,e,n,r){return e==0?r?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),t.o):(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),RI(t.o)):AH(t,e,n,r)}function kot(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)oI(Dt(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)oI(Dt(t.vb,e));MS((il(),ja),t),t.Bb|=1}function Ui(t,e,n,r,s,o,h,d,m,k,T,A,P,$){return u1e(t,e,r,null,s,o,h,d,m,k,P,!0,$),D5t(t,T),Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),2),n&&L4t(t,n),M5t(t,A),t}function bvn(t){var e,n;if(t==null)return null;n=0;try{n=lh(t,Ga,xi)&js}catch(r){if(r=es(r),Lt(r,130))e=Lq(t),n=e[0];else throw at(r)}return ZI(n)}function wvn(t){var e,n;if(t==null)return null;n=0;try{n=lh(t,Ga,xi)&js}catch(r){if(r=es(r),Lt(r,130))e=Lq(t),n=e[0];else throw at(r)}return ZI(n)}function mvn(t,e){var n,r,s;return s=t.h-e.h,s<0||(n=t.l-e.l,r=t.m-e.m+(n>>22),s+=r>>22,s<0)?!1:(t.l=n&Il,t.m=r&Il,t.h=s&Fg,!0)}function Eot(t,e,n,r,s,o,h){var d,m;return!(e.Te()&&(m=t.a.Ne(n,r),m<0||!s&&m==0)||e.Ue()&&(d=t.a.Ne(n,o),d>0||!h&&d==0))}function vvn(t,e){g7();var n;if(n=t.j.g-e.j.g,n!=0)return 0;switch(t.j.g){case 2:return Hat(e,ySt)-Hat(t,ySt);case 4:return Hat(t,vSt)-Hat(e,vSt)}return 0}function yvn(t){switch(t.g){case 0:return Oft;case 1:return Nft;case 2:return Pft;case 3:return Fft;case 4:return kG;case 5:return Bft;default:return null}}function qo(t,e,n){var r,s;return r=(s=new Unt,uw(s,e),mu(s,n),Or((!t.c&&(t.c=new Jt(Ov,t,12,10)),t.c),s),s),Sp(r,0),Hy(r,1),Mp(r,!0),Dp(r,!0),r}function pk(t,e){var n,r;if(e>=t.i)throw at(new Grt(e,t.i));return++t.j,n=t.g[e],r=t.i-e-1,r>0&&Xc(t.g,e+1,t.g,e,r),ls(t.g,--t.i,null),t.Qi(e,n),t.Ni(),n}function Dhe(t,e){var n,r;return t.Db>>16==17?t.Cb.Th(t,21,mf,e):(r=yo(u(En((n=u(jn(t,16),29),n||t.ii()),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function xvn(t){var e,n,r,s;for(mn(),Ds(t.c,t.a),s=new G(t.c);s.a<s.c.c.length;)for(r=et(s),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),693),e.bf(r)}function kvn(t){var e,n,r,s;for(mn(),Ds(t.c,t.a),s=new G(t.c);s.a<s.c.c.length;)for(r=et(s),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),382),e.bf(r)}function Evn(t){var e,n,r,s,o;for(s=xi,o=null,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),218),n.d.j^n.e.j&&(e=n.e.e-n.d.e-n.a,e<s&&(s=e,o=n));return o}function vxt(){vxt=V,V3e=new un(K8t,(Pn(),!1)),z3e=new un(W8t,100),mCt=(WS(),rft),q3e=new un(Y8t,mCt),H3e=new un(X8t,n0),U3e=new un(Q8t,he(xi))}function Mhe(t,e,n){var r,s,o,h,d,m,k,T;for(k=0,s=t.a[e],o=0,h=s.length;o<h;++o)for(r=s[o],T=c_(r,n),m=T.Kc();m.Ob();)d=u(m.Pb(),12),hi(t.f,d,he(k++))}function Tvn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new W2(s),h=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);h.Ob();)o=u(h.Pb(),17),dn(t,e,mk($y(n,o.a)))}function Cvn(t,e,n){var r,s,o,h;if(n)for(s=n.a.length,r=new W2(s),h=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);h.Ob();)o=u(h.Pb(),17),dn(t,e,mk($y(n,o.a)))}function yxt(t){Vb();var e;return e=u(v_(U6(t.k),Vt(bo,qc,64,2,0,1)),126),GE(e,0,e.length,null),e[0]==(ve(),Hn)&&e[1]==Gn&&(ls(e,0,Gn),ls(e,1,Hn)),e}function Ihe(t,e,n){var r,s,o;return s=dkn(t,e,n),o=ukt(t,s),$st(t.b),yst(t,e,n),mn(),Ds(s,new EUt(t)),r=ukt(t,s),$st(t.b),yst(t,n,e),new Ws(he(o),he(r))}function Ohe(){Ohe=V,gke=ri(new Fs,(Ua(),Zo),(Za(),CA)),rK=new rs("linearSegments.inputPrio",he(0)),iK=new rs("linearSegments.outputPrio",he(0))}function bk(){bk=V,sK=new q$("P1_TREEIFICATION",0),WA=new q$("P2_NODE_ORDERING",1),YA=new q$("P3_NODE_PLACEMENT",2),XA=new q$("P4_EDGE_ROUTING",3)}function Svn(t){var e,n,r,s;for(n=0,e=0,s=new Zn(t);s.e!=s.i.gc();)r=u(ar(s),27),n=b.Math.max(r.g+r.i,n),e=b.Math.max(r.f+r.j,e);return new ae(n,e)}function _vn(t,e){var n,r,s,o;for(o=0,r=new G(t);r.a<r.c.c.length;)n=u(et(r),27),o+=b.Math.pow(n.g*n.f-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function uh(){uh=V,NP=new G$("UNKNOWN",0),K0=new G$("ABOVE",1),h2=new G$("BELOW",2),OP=new G$("INLINE",3),new rs("org.eclipse.elk.labelSide",NP)}function Nhe(t,e){var n;if(t.Yi()&&e!=null){for(n=0;n<t.i;++n)if(Ti(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if($t(t.g[n])===$t(e))return n;return-1}function Avn(t,e,n){var r,s;return e.c==(To(),ku)&&n.c==vl?-1:e.c==vl&&n.c==ku?1:(r=xue(e.a,t.a),s=xue(n.a,t.a),e.c==ku?s-r:r-s)}function Xy(t,e,n){if(n&&(e<0||e>n.a.c.length))throw at(new zn("index must be >= 0 and <= layer node count"));t.c&&zu(t.c.a,t),t.c=n,n&&Sm(n.a,e,t)}function Phe(t,e){var n,r,s;for(r=new rr(sr(Dg(t).a.Kc(),new z));Mr(r);)return n=u(dr(r),18),s=u(e.Kb(n),10),new FC(Hr(s.n.b+s.o.b/2));return UC(),UC(),yht}function Fhe(t,e){this.c=new _r,this.a=t,this.b=e,this.d=u(X(t,(oe(),G5)),312),$t(X(t,(De(),iAt)))===$t((qI(),EG))?this.e=new MKt:this.e=new DKt}function y_(t,e){var n,r;return r=null,t.pf((ai(),Zk))&&(n=u(t.of(Zk),96),n.pf(e)&&(r=n.of(e))),r==null&&t.Tf()&&(r=t.Tf().of(e)),r==null&&(r=Se(e)),r}function Tot(t,e){var n,r;n=t.fd(e);try{return r=n.Pb(),n.Qb(),r}catch(s){throw s=es(s),Lt(s,112)?at(new Bo("Can't remove element "+e)):at(s)}}function Lvn(t,e){var n,r,s;if(r=new x$,s=new Q4t(r.q.getFullYear()-Wb,r.q.getMonth(),r.q.getDate()),n=$7n(t,e,s),n==0||n<e.length)throw at(new zn(e));return s}function xxt(t,e){var n,r,s;for(Wn(e),evt(e!=t),s=t.b.c.length,r=e.Kc();r.Ob();)n=r.Pb(),ge(t.b,Wn(n));return s!=t.b.c.length?(a5t(t,0),!0):!1}function TO(){TO=V,kCt=(ai(),AP),new _a(Idt,(Pn(),!0)),K3e=jw,W3e=lx,Y3e=l2,G3e=ux,TCt=LP,X3e=j3,xCt=(vxt(),V3e),vCt=q3e,yCt=H3e,ECt=U3e,YU=z3e}function Dvn(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw at(new zn("'port' must be either the source port or target port of the edge."))}function Mvn(t,e,n){var r,s;switch(s=t.o,r=t.d,e.g){case 1:return-r.d-n;case 3:return s.b+r.a+n;case 2:return s.a+r.c+n;case 4:return-r.b-n;default:return 0}}function kxt(t,e,n,r){var s,o,h,d;for(Aa(e,u(r.Xb(0),30)),d=r.kd(1,r.gc()),o=u(n.Kb(e),20).Kc();o.Ob();)s=u(o.Pb(),18),h=s.c.i==e?s.d.i:s.c.i,kxt(t,h,n,d)}function Bhe(t){var e;return e=new _r,qi(t,(oe(),Xft))?u(X(t,Xft),85):(ms(_i(new ln(null,new gn(t.j,16)),new GQ),new VVt(e)),Zt(t,Xft,e),e)}function Rhe(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new G(t);h.a<h.c.c.length;)o=u(et(h),186),r=b.Math.max(r,o.e),s+=o.b+(n>0?e:0),++n;return new ae(r,s)}function Ext(t,e){var n,r;return t.Db>>16==6?t.Cb.Th(t,6,Ts,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),$K)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Txt(t,e){var n,r;return t.Db>>16==7?t.Cb.Th(t,1,zP,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),SIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Cxt(t,e){var n,r;return t.Db>>16==9?t.Cb.Th(t,9,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),AIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function jhe(t,e){var n,r;return t.Db>>16==5?t.Cb.Th(t,9,YK,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),Zp)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function $he(t,e){var n,r;return t.Db>>16==7?t.Cb.Th(t,6,F1,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),eb)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Sxt(t,e){var n,r;return t.Db>>16==3?t.Cb.Th(t,0,HP,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),Jp)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function zhe(){this.a=new WR,this.g=new OH,this.j=new OH,this.b=new _r,this.d=new OH,this.i=new OH,this.k=new _r,this.c=new _r,this.e=new _r,this.f=new _r}function Ivn(t,e,n){var r,s,o;for(n<0&&(n=0),o=t.i,s=n;s<o;s++)if(r=Dt(t,s),e==null){if(r==null)return s}else if($t(e)===$t(r)||Ti(e,r))return s;return-1}function Ovn(t,e){var n,r;return n=e.qi(t.a),n?(r=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),SU)),hn(IN,r)?MS(t,sh(e.qk())):r):null}function _7(t,e){var n,r;if(e){if(e==t)return!0;for(n=0,r=u(e,54).Ph();r&&r!=e;r=r.Ph()){if(++n>uut)return _7(t,r);if(r==t)return!0}}return!1}function Nvn(t){switch(hz(),t.q.g){case 5:T1e(t,(ve(),Hn)),T1e(t,Er);break;case 4:Cde(t,(ve(),Hn)),Cde(t,Er);break;default:Ape(t,(ve(),Hn)),Ape(t,Er)}}function Pvn(t){switch(hz(),t.q.g){case 5:H1e(t,(ve(),Jn)),H1e(t,Gn);break;case 4:Kle(t,(ve(),Jn)),Kle(t,Gn);break;default:Lpe(t,(ve(),Jn)),Lpe(t,Gn)}}function Fvn(t){var e,n;e=u(X(t,(Vf(),N3e)),17),e?(n=e.a,n==0?Zt(t,(Pb(),WU),new Kat):Zt(t,(Pb(),WU),new pq(n))):Zt(t,(Pb(),WU),new pq(1))}function Bvn(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function Rvn(t,e){switch(t.g){case 0:return e==(Rh(),s2)?gG:pG;case 1:return e==(Rh(),s2)?gG:YN;case 2:return e==(Rh(),s2)?YN:pG;default:return YN}}function CO(t,e){var n,r,s;for(zu(t.a,e),t.e-=e.r+(t.a.c.length==0?0:t.c),s=O7t,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),s=b.Math.max(s,n.d);t.b=s}function _xt(t,e){var n,r;return t.Db>>16==3?t.Cb.Th(t,12,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),CIt)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Axt(t,e){var n,r;return t.Db>>16==11?t.Cb.Th(t,10,bi,e):(r=yo(u(En((n=u(jn(t,16),29),n||(zc(),_It)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function qhe(t,e){var n,r;return t.Db>>16==10?t.Cb.Th(t,11,mf,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),tb)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Hhe(t,e){var n,r;return t.Db>>16==10?t.Cb.Th(t,12,vf,e):(r=yo(u(En((n=u(jn(t,16),29),n||(wn(),K3)),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function of(t){var e;return!(t.Bb&1)&&t.r&&t.r.Vh()&&(e=u(t.r,54),t.r=u(jb(t,e),142),t.r!=e&&t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,8,e,t.r))),t.r}function Cot(t,e,n){var r;return r=lt(ut(ma,1),No,28,15,[t6t(t,(A1(),Ac),e,n),t6t(t,xu,e,n),t6t(t,Lc,e,n)]),t.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function jvn(t,e){var n,r,s;if(s=umn(t,e),s.c.length!=0)for(Ds(s,new Z9),n=s.c.length,r=0;r<n;r++)I7(t,(vn(r,s.c.length),u(s.c[r],292)),c8n(t,s,r))}function $vn(t){var e,n,r,s;for(s=u(Ai(t.a,(Qy(),bG)),15).Kc();s.Ob();)for(r=u(s.Pb(),105),n=U6(r.k).Kc();n.Ob();)e=u(n.Pb(),64),NE(t,r,e,(Vm(),r2),1)}function zvn(t){var e,n;if(t.k==(Un(),fa)){for(n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!go(e)&&t.c==Pxt(e,t).c)return!0}return!1}function qvn(t){var e,n;if(t.k==(Un(),fa)){for(n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!go(e)&&e.c.i.c==e.d.i.c)return!0}return!1}function Hvn(t,e){var n,r,s,o,h;if(e)for(s=e.a.length,n=new W2(s),h=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);h.Ob();)o=u(h.Pb(),17),r=qE(e,o.a),r&&mde(t,r)}function Vvn(){Nwt();var t,e;for(MSn((Lb(),Fn)),xSn(Fn),kot(Fn),qIt=(wn(),Sd),e=new G(QIt);e.a<e.c.c.length;)t=u(et(e),248),H7(t,Sd,null);return!0}function Lxt(t,e){var n,r,s,o,h,d,m,k;return m=t.h>>19,k=e.h>>19,m!=k?k-m:(s=t.h,d=e.h,s!=d?s-d:(r=t.m,h=e.m,r!=h?r-h:(n=t.l,o=e.l,n-o)))}function RH(){RH=V,H9t=(aV(),Hht),q9t=new un(_8t,H9t),z9t=(Mq(),qht),$9t=new un(A8t,z9t),j9t=(TH(),zht),R9t=new un(L8t,j9t),B9t=new un(D8t,(Pn(),!0))}function x_(t,e,n){var r,s;r=e*n,Lt(t.g,154)?(s=ek(t),s.f.d?s.f.a||(t.d.a+=r+gd):(t.d.d-=r+gd,t.d.a+=r+gd)):Lt(t.g,10)&&(t.d.d-=r,t.d.a+=2*r)}function Vhe(t,e,n){var r,s,o,h,d;for(s=t[n.g],d=new G(e.d);d.a<d.c.c.length;)h=u(et(d),105),o=h.i,o&&o.i==n&&(r=h.d[n.g],s[r]=b.Math.max(s[r],o.j.b))}function Uvn(t,e){var n,r,s,o,h;for(r=0,s=0,n=0,h=new G(e.d);h.a<h.c.c.length;)o=u(et(h),315),PH(o),r=b.Math.max(r,o.b),s+=o.d+(n>0?t.b:0),++n;e.b=r,e.e=s}function Uhe(t){var e,n,r;if(r=t.b,FYt(t.i,r.length)){for(n=r.length*2,t.b=Vt(Tht,iN,302,n,0,1),t.c=Vt(Tht,iN,302,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)NO(t,e,e);++t.g}}function Gvn(t,e,n,r){var s,o,h,d;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)d=h-e.k+r,u5(e,s,h)?jmn(t,o,d)||rvn(t,o,d):ghe(e,s,h)&&(lhe(t,o,d)||ivn(t,o,d))}function k_(t,e){return t.b.a=b.Math.min(t.b.a,e.c),t.b.b=b.Math.min(t.b.b,e.d),t.a.a=b.Math.max(t.a.a,e.c),t.a.b=b.Math.max(t.a.b,e.d),In(t.c,e),!0}function Kvn(t,e,n){var r;r=e.c.i,r.k==(Un(),fa)?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12))):(Zt(t,(oe(),N1),e.c),Zt(t,gf,n.d))}function A7(t,e,n){w5();var r,s,o,h,d,m;return h=e/2,o=n/2,r=b.Math.abs(t.a),s=b.Math.abs(t.b),d=1,m=1,r>h&&(d=h/r),s>o&&(m=o/s),qd(t,b.Math.min(d,m)),t}function Wvn(){fV();var t,e;try{if(e=u(jxt((Eb(),yf),hT),2113),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new W8}function Yvn(){fV();var t,e;try{if(e=u(jxt((Eb(),yf),hf),2040),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new l6}function Xvn(){eae();var t,e;try{if(e=u(jxt((Eb(),yf),Cw),2122),e)return e}catch(n){if(n=es(n),Lt(n,103))t=n,Ayt((Ur(),t));else throw at(n)}return new Z8}function Qvn(t,e,n){var r,s;return s=t.e,t.e=e,t.Db&4&&!(t.Db&1)&&(r=new ha(t,1,4,s,e),n?n.nj(r):n=r),s!=e&&(e?n=H7(t,QH(t,e),n):n=H7(t,t.a,n)),n}function Ghe(){x$.call(this),this.e=-1,this.a=!1,this.p=Ga,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Ga}function Jvn(t,e){var n,r,s;if(r=t.b.d.d,t.a||(r+=t.b.d.a),s=e.b.d.d,e.a||(s+=e.b.d.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Zvn(t,e){var n,r,s;if(r=t.b.b.d,t.a||(r+=t.b.b.a),s=e.b.b.d,e.a||(s+=e.b.b.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tyn(t,e){var n,r,s;if(r=t.b.g.d,t.a||(r+=t.b.g.a),s=e.b.g.d,e.a||(s+=e.b.g.a),n=Bi(r,s),n==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Dxt(){Dxt=V,J3e=el(ri(ri(ri(new Fs,(Ua(),cu),(Za(),sSt)),cu,aSt),Zo,oSt),Zo,WCt),t4e=ri(ri(new Fs,cu,zCt),cu,YCt),Z3e=el(new Fs,Zo,QCt)}function eyn(t){var e,n,r,s,o;for(e=u(X(t,(oe(),MA)),85),o=t.n,r=e.Cc().Kc();r.Ob();)n=u(r.Pb(),314),s=n.i,s.c+=o.a,s.d+=o.b,n.c?f0e(n):d0e(n);Zt(t,MA,null)}function nyn(t,e,n){var r,s;switch(s=t.b,r=s.d,e.g){case 1:return-r.d-n;case 2:return s.o.a+r.c+n;case 3:return s.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function ryn(t,e,n){var r,s;for(n.Ug("Interactive node placement",1),t.a=u(X(e,(oe(),G5)),312),s=new G(e.b);s.a<s.c.c.length;)r=u(et(s),30),Ykn(t,r);n.Vg()}function iyn(t){var e,n,r,s,o;if(r=0,s=S5,t.b)for(e=0;e<360;e++)n=e*.017453292519943295,Skt(t,t.d,0,0,xw,n),o=t.b.Dg(t.d),o<s&&(r=n,s=o);Skt(t,t.d,0,0,xw,r)}function syn(t,e){var n,r,s,o;for(o=new _r,e.e=null,e.f=null,r=new G(e.i);r.a<r.c.c.length;)n=u(et(r),68),s=u(tr(t.g,n.a),42),n.a=zz(n.b),hi(o,n.a,s);t.g=o}function ayn(t,e,n){var r,s,o,h,d,m;for(s=e-t.e,o=s/t.d.c.length,h=0,m=new G(t.d);m.a<m.c.c.length;)d=u(et(m),315),r=t.b-d.b+n,ple(d,d.e+h*o,d.f),qmn(d,o,r),++h}function Khe(t){var e;if(t.f._j(),t.b!=-1){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if(e=t.f.d[t.a],e&&e.i!=0){t.b=0;return}t.b=-1}function oyn(t,e){var n,r,s;for(s=e.c.length,n=u5n(t,s==0?"":(vn(0,e.c.length),Gr(e.c[0]))),r=1;r<s&&n;++r)n=u(n,54).Zh((vn(r,e.c.length),Gr(e.c[r])));return n}function Whe(t,e){var n,r;for(r=new G(e);r.a<r.c.c.length;)n=u(et(r),10),t.c[n.c.p][n.p].a=cyt(t.i),t.c[n.c.p][n.p].d=Rt(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function cyn(t,e){var n,r,s,o;for(o=0,r=new G(t);r.a<r.c.c.length;)n=u(et(r),163),o+=b.Math.pow(tl(n)*Gl(n)-e,2);return s=b.Math.sqrt(o/(t.c.length-1)),s}function Yhe(t,e){var n,r,s,o;for(o=0,s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),o=b.Math.max(o,r.e.a+r.b.Mf().a);n=u(Io(t.b,e),127),n.n.b=0,n.a.a=o}function Xhe(t,e){var n,r,s,o;for(n=0,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),n=b.Math.max(n,s.e.b+s.b.Mf().b);r=u(Io(t.b,e),127),r.n.d=0,r.a.b=n}function Qhe(t,e,n,r){var s,o,h;return o=V8n(t,e,n,r),h=wkt(t,o),Pot(t,e,n,r),$st(t.b),mn(),Ds(o,new TUt(t)),s=wkt(t,o),Pot(t,n,e,r),$st(t.b),new Ws(he(h),he(s))}function uyn(t,e){var n;e.Ug("Delaunay triangulation",1),n=new fe,Cu(t.i,new aGt(n)),Ie(Me(X(t,(s7(),EA)))),t.e?Ma(t.e,Gpe(n)):t.e=Gpe(n),e.Vg()}function lyn(t,e,n){var r,s;for(rI(t,t.j+e,t.k+n),s=new Zn((!t.a&&(t.a=new Ps(vh,t,5)),t.a));s.e!=s.i.gc();)r=u(ar(s),377),Xrt(r,r.a+e,r.b+n);nI(t,t.b+e,t.c+n)}function Mxt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new kn(Ts,t,7,4)),vu(t.e,e,r);case 8:return!t.d&&(t.d=new kn(Ts,t,8,5)),vu(t.d,e,r)}return Iot(t,e,n,r)}function Ixt(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new kn(Ts,t,7,4)),so(t.e,e,r);case 8:return!t.d&&(t.d=new kn(Ts,t,8,5)),so(t.d,e,r)}return pat(t,e,n,r)}function hyn(t,e,n){var r,s,o,h,d;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),s=qE(n,h.a),s&&E1e(t,s,e)}function SO(t,e,n){var r,s,o,h,d;return t._j(),o=e==null?0:$i(e),t.f>0&&(h=(o&xi)%t.d.length,s=I6t(t,h,o,e),s)?(d=s.nd(n),d):(r=t.ck(o,e,n),t.c.Fc(r),null)}function Oxt(t,e){var n,r,s,o;switch(Lp(t,e).Kl()){case 3:case 2:{for(n=v5(e),s=0,o=n.i;s<o;++s)if(r=u(Dt(n,s),35),Om($o(t,r))==5)return r;break}}return null}function fyn(t){var e,n,r,s,o;if(FYt(t.f,t.b.length))for(r=Vt(qve,iN,227,t.b.length*2,0,1),t.b=r,s=r.length-1,n=t.a;n!=t;n=n._d())o=u(n,227),e=o.d&s,o.a=r[e],r[e]=o}function dyn(t){var e,n;return n=u(X(t,(oe(),lu)),21),e=rz(Dke),n.Hc((Co(),q5))&&ch(e,Oke),n.Hc(DA)&&ch(e,Nke),n.Hc(AT)&&ch(e,Mke),n.Hc(LT)&&ch(e,Ike),e}function Nxt(t){if(t<0)throw at(new zn("The input must be positive"));return t<iMt.length?tw(iMt[t]):b.Math.sqrt(xw*t)*(Hbn(t,t)/p5t(2.718281828459045,t))}function L7(t,e){var n;if(t.Yi()&&e!=null){for(n=0;n<t.i;++n)if(Ti(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if($t(t.g[n])===$t(e))return!0;return!1}function gyn(t,e){if(e==null){for(;t.a.Ob();)if(u(t.a.Pb(),44).md()==null)return!0}else for(;t.a.Ob();)if(Ti(e,u(t.a.Pb(),44).md()))return!0;return!1}function pyn(t,e){var n,r,s;return e===t?!0:Lt(e,678)?(s=u(e,2046),Ale((r=t.g,r||(t.g=new xM(t))),(n=s.g,n||(s.g=new xM(s))))):!1}function byn(t){var e,n,r,s;for(e="gA",n="vz",s=b.Math.min(t.length,5),r=s-1;r>=0;r--)if(hn(t[r].d,e)||hn(t[r].d,n)){t.length>=r+1&&t.splice(0,r+1);break}return t}function _O(t,e){var n;return ec(t)&&ec(e)&&(n=t/e,oN<n&&n<bw)?n<0?b.Math.ceil(n):b.Math.floor(n):Fb(Gkt(ec(t)?rf(t):t,ec(e)?rf(e):e,!1))}function Pxt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw at(new zn("'node' must either be the source node or target node of the edge."))}function wyn(t){var e,n,r,s;if(s=u(X(t,(oe(),XSt)),36),s){for(r=new Sa,e=Pa(t.c.i);e!=s;)n=e.e,e=Pa(n),Tm(ki(ki(r,n.n),e.c),e.d.b,e.d.d);return r}return m4e}function myn(t){var e;e=u(X(t,(oe(),kv)),337),ms(fc(new ln(null,new gn(e.d,16)),new zQ),new RVt(t)),ms(_i(new ln(null,new gn(e.d,16)),new qQ),new $Vt(t))}function Sot(t,e){var n,r,s,o;for(s=e?_s(t):ua(t),r=new rr(sr(s.a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),o=Pxt(n,t),o.k==(Un(),fa)&&o.c!=t.c)return o;return null}function vyn(t){var e,n,r;for(n=new G(t.p);n.a<n.c.c.length;)e=u(et(n),10),e.k==(Un(),xs)&&(r=e.o.b,t.i=b.Math.min(t.i,r),t.g=b.Math.max(t.g,r))}function Jhe(t,e,n){var r,s,o;for(o=new G(e);o.a<o.c.c.length;)r=u(et(o),10),t.c[r.c.p][r.p].e=!1;for(s=new G(e);s.a<s.c.c.length;)r=u(et(s),10),Jkt(t,r,n)}function _ot(t,e,n){var r,s;r=a5(e.j,n.s,n.c)+a5(n.e,e.s,e.c),s=a5(n.j,e.s,e.c)+a5(e.e,n.s,n.c),r==s?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=b.Math.min(r,s))}function Zhe(t){var e;e=u(X(u(jh(t.b,0),39),(Cc(),SLt)),107),Zt(t,(ji(),zT),new ae(0,0)),U0e(new FI,t,e.b+e.c-Rt(Ht(X(t,R1t))),e.d+e.a-Rt(Ht(X(t,j1t))))}function tfe(t,e){var n,r;if(r=!1,ba(e)&&(r=!0,Y6(t,new Oy(Gr(e)))),r||Lt(e,242)&&(r=!0,Y6(t,(n=_vt(u(e,242)),new cE(n)))),!r)throw at(new Znt(LTt))}function yyn(t,e,n,r){var s,o,h;return s=new Tg(t.e,1,10,(h=e.c,Lt(h,90)?u(h,29):(wn(),xf)),(o=n.c,Lt(o,90)?u(o,29):(wn(),xf)),Np(t,e),!1),r?r.nj(s):r=s,r}function Fxt(t){var e,n;switch(u(X(Pa(t),(De(),Q_t)),429).g){case 0:return e=t.n,n=t.o,new ae(e.a+n.a/2,e.b+n.b/2);case 1:return new io(t.n);default:return null}}function AO(){AO=V,TG=new uS(r0,0),FSt=new uS("LEFTUP",1),RSt=new uS("RIGHTUP",2),PSt=new uS("LEFTDOWN",3),BSt=new uS("RIGHTDOWN",4),Rft=new uS("BALANCED",5)}function xyn(t,e,n){var r,s,o;if(r=Bi(t.a[e.p],t.a[n.p]),r==0){if(s=u(X(e,(oe(),Uk)),15),o=u(X(n,Uk),15),s.Hc(n))return-1;if(o.Hc(e))return 1}return r}function kyn(t){switch(t.g){case 1:return new mtt;case 2:return new vtt;case 3:return new wtt;case 0:return null;default:throw at(new zn(Clt+(t.f!=null?t.f:""+t.g)))}}function Bxt(t,e,n){switch(e){case 1:!t.n&&(t.n=new Jt(Po,t,1,7)),Ir(t.n),!t.n&&(t.n=new Jt(Po,t,1,7)),gs(t.n,u(n,16));return;case 2:n7(t,Gr(n));return}r5t(t,e,n)}function Rxt(t,e,n){switch(e){case 3:zm(t,Rt(Ht(n)));return;case 4:qm(t,Rt(Ht(n)));return;case 5:Su(t,Rt(Ht(n)));return;case 6:_u(t,Rt(Ht(n)));return}Bxt(t,e,n)}function jH(t,e,n){var r,s,o;o=(r=new Unt,r),s=hd(o,e,null),s&&s.oj(),mu(o,n),Or((!t.c&&(t.c=new Jt(Ov,t,12,10)),t.c),o),Sp(o,0),Hy(o,1),Mp(o,!0),Dp(o,!0)}function jxt(t,e){var n,r,s;return n=iS(t.i,e),Lt(n,241)?(s=u(n,241),s.zi()==null,s.wi()):Lt(n,507)?(r=u(n,2037),s=r.b,s):null}function Eyn(t,e,n,r){var s,o;return Hr(e),Hr(n),o=u(_S(t.d,e),17),_ae(!!o,"Row %s not in %s",e,t.e),s=u(_S(t.b,n),17),_ae(!!s,"Column %s not in %s",n,t.c),Rce(t,o.a,s.a,r)}function efe(t,e,n,r,s,o,h){var d,m,k,T,A;if(T=s[o],k=o==h-1,d=k?r:0,A=yhe(d,T),r!=10&&lt(ut(t,h-o),e[o],n[o],d,A),!k)for(++o,m=0;m<T;++m)A[m]=efe(t,e,n,r,s,o,h);return A}function E_(t){if(t.g==-1)throw at(new Xu);t.Xj();try{t.i.gd(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(e){throw e=es(e),Lt(e,77)?at(new Th):at(e)}}function Tyn(t){var e,n,r,s;for(s=-1,r=0,n=new G(t);n.a<n.c.c.length;){if(e=u(et(n),249),e.c==(To(),vl)){s=r==0?0:r-1;break}else r==t.c.length-1&&(s=r);r+=1}return s}function Cyn(t){var e,n,r,s;for(s=0,e=0,r=new G(t.c);r.a<r.c.c.length;)n=u(et(r),27),Su(n,t.e+s),_u(n,t.f),s+=n.g+t.b,e=b.Math.max(e,n.f+t.b);t.d=s-t.b,t.a=e-t.b}function h5(t){var e,n,r;for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),60),r=e.d.c,e.d.c=e.d.d,e.d.d=r,r=e.d.b,e.d.b=e.d.a,e.d.a=r,r=e.b.a,e.b.a=e.b.b,e.b.b=r;nkt(t)}function f5(t){var e,n,r;for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=e.g.c,e.g.c=e.g.d,e.g.d=r,r=e.g.b,e.g.b=e.g.a,e.g.a=r,r=e.e.a,e.e.a=e.e.b,e.e.b=r;eV(t)}function Syn(t){var e,n,r,s,o;for(o=U6(t.k),n=(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])),r=0,s=n.length;r<s;++r)if(e=n[r],e!=bc&&!o.Hc(e))return e;return null}function Aot(t,e){var n,r;return r=u(Ssn(f7(_i(new ln(null,new gn(e.j,16)),new DJ))),12),r&&(n=u(Oe(r.e,0),18),n)?u(X(n,(oe(),Pi)),17).a:F0n(t.b)}function _yn(t,e){var n,r,s,o;for(o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),KC(t.d),r=new rr(sr(_s(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),Z1e(t,s,n.d.i)}function Ayn(t,e){var n,r;for(zu(t.b,e),r=new G(t.n);r.a<r.c.c.length;)if(n=u(et(r),209),Xo(n.c,e,0)!=-1){zu(n.c,e),Cyn(n),n.c.c.length==0&&zu(t.n,n);break}Oge(t)}function nfe(t,e){var n,r,s,o,h;for(h=t.f,s=0,o=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),kO(n,t.e,h),$I(n,e),o=b.Math.max(o,n.r),h+=n.d+t.c,s=h;t.d=o,t.b=s}function rfe(t){var e,n;return n=jO(t),HE(n)?null:(e=(Hr(n),u(uhe(new rr(sr(n.a.Kc(),new z))),74)),Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)))}function $H(t){var e;return t.o||(e=t.uk(),e?t.o=new Nyt(t,t,null):t.al()?t.o=new hvt(t,null):Om($o((il(),ja),t))==1?t.o=new _ie(t):t.o=new fit(t,null)),t.o}function Lyn(t,e,n,r){var s,o,h,d,m;n.Xh(e)&&(s=(h=e,h?u(r,54).gi(h):null),s&&(m=n.Mh(e),d=e.t,d>1||d==-1?(o=u(m,15),s.Wb(awn(t,o))):s.Wb(lct(t,u(m,58)))))}function Dyn(t,e,n,r){hYt();var s=vht;function o(){for(var h=0;h<s.length;h++)s[h]()}if(t)try{l9e(o)()}catch(h){t(e,h)}else l9e(o)()}function Myn(t,e){var n,r,s,o;for(s=(o=new cr(t.b).a.vc().Kc(),new vi(o));s.a.Ob();)if(r=(n=u(s.a.Pb(),44),u(n.ld(),34)),vmt(e,u(r,17))<0)return!1;return!0}function Iyn(t,e){var n,r,s,o;for(s=(o=new cr(t.b).a.vc().Kc(),new vi(o));s.a.Ob();)if(r=(n=u(s.a.Pb(),44),u(n.ld(),34)),vmt(e,u(r,17))>0)return!1;return!0}function Oyn(t){var e,n,r,s,o;for(r=new sw(new mr(t.b).a);r.b;)n=Um(r),e=u(n.ld(),10),o=u(u(n.md(),42).a,10),s=u(u(n.md(),42).b,8),ki(k1(e.n),ki(Oa(o.n),s))}function Nyn(t){switch(u(X(t.b,(De(),V_t)),387).g){case 1:ms(Wo(fc(new ln(null,new gn(t.d,16)),new WD),new y4),new vJ);break;case 2:L8n(t);break;case 0:o5n(t)}}function Pyn(t,e,n){var r,s,o;for(r=n,!r&&(r=new S6),r.Ug("Layout",t.a.c.length),o=new G(t.a);o.a<o.c.c.length;){if(s=u(et(o),47),r.$g())return;s.Kf(e,r.eh(1))}r.Vg()}function fw(){fw=V,Ddt=new fS("V_TOP",0),hL=new fS("V_CENTER",1),lL=new fS("V_BOTTOM",2),Ldt=new fS("H_LEFT",3),cL=new fS("H_CENTER",4),uL=new fS("H_RIGHT",5)}function $xt(t){var e;return t.Db&64?bH(t):(e=new ef(bH(t)),e.a+=" (abstract: ",gp(e,(t.Bb&256)!=0),e.a+=", interface: ",gp(e,(t.Bb&512)!=0),e.a+=")",e.a)}function Fyn(t){var e;t.c==null&&(e=$t(t.b)===$t(r9t)?null:t.b,t.d=e==null?Vu:ree(e)?msn(pne(e)):ba(e)?g8t:V2(Wl(e)),t.a=t.a+": "+(ree(e)?ban(pne(e)):e+""),t.c="("+t.d+") "+t.a)}function Byn(){function t(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===Pct&&Map.prototype.entries&&t()?Map:ECn()}function Ryn(t,e){var n,r,s,o;for(o=new La(t.e,0),n=0;o.b<o.d.gc();){if(r=Rt((ur(o.b<o.d.gc()),Ht(o.d.Xb(o.c=o.b++)))),s=r-e,s>xlt)return n;s>-1e-6&&++n}return n}function zxt(t,e){var n;e!=t.b?(n=null,t.b&&(n=nq(t.b,t,-4,n)),e&&(n=gk(e,t,-4,n)),n=Mue(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function ife(t,e){var n;e!=t.f?(n=null,t.f&&(n=nq(t.f,t,-1,n)),e&&(n=gk(e,t,-1,n)),n=Due(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,0,e,e))}function jyn(t,e,n,r){var s,o,h,d;return Hl(t.e)&&(s=e.Lk(),d=e.md(),o=n.md(),h=Ib(t,1,s,d,o,s.Jk()?$7(t,s,o,Lt(s,102)&&(u(s,19).Bb&po)!=0):-1,!0),r?r.nj(h):r=h),r}function sfe(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new dp,e=n.Kc();e.Ob();)Mo(r,(Ni(),Gr(e.Pb()))),r.a+=" ";return Wrt(r,r.a.length-1)}function afe(t){var e,n,r;if(t==null)return null;if(n=u(t,15),n.dc())return"";for(r=new dp,e=n.Kc();e.Ob();)Mo(r,(Ni(),Gr(e.Pb()))),r.a+=" ";return Wrt(r,r.a.length-1)}function $yn(t,e,n){var r,s;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?Fit(r.a,s.a):r.a!=null?-1:s.a!=null?1:0}function zyn(t,e,n){return n.Ug("Tree layout",1),EI(t.b),E1(t.b,(bk(),sK),sK),E1(t.b,WA,WA),E1(t.b,YA,YA),E1(t.b,XA,XA),t.a=XO(t.b,e),Pyn(t,e,n.eh(1)),n.Vg(),e}function qyn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new W2(o),d=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);d.Ob();)h=u(d.Pb(),17),s=qE(e,h.a),r=new _Gt(t),Xln(r.a,s)}function Hyn(t,e){var n,r,s,o,h,d;if(e)for(o=e.a.length,n=new W2(o),d=(n.b-n.a)*n.c<0?(Tb(),y2):new _b(n);d.Ob();)h=u(d.Pb(),17),s=qE(e,h.a),r=new mGt(t),Yln(r.a,s)}function Vyn(t){var e;if(t!=null&&t.length>0&&Va(t,t.length-1)==33)try{return e=pde(Lh(t,0,t.length-1)),e.e==null}catch(n){if(n=es(n),!Lt(n,33))throw at(n)}return!1}function Uyn(t,e,n){var r,s,o;switch(r=Pa(e),s=fH(r),o=new Yc,hc(o,e),n.g){case 1:Xs(o,bO(hk(s)));break;case 2:Xs(o,hk(s))}return Zt(o,(De(),D3),Ht(X(t,D3))),o}function qxt(t){var e,n;return e=u(dr(new rr(sr(ua(t.a).a.Kc(),new z))),18),n=u(dr(new rr(sr(_s(t.a).a.Kc(),new z))),18),Ie(Me(X(e,(oe(),vd))))||Ie(Me(X(n,vd)))}function Qy(){Qy=V,XN=new HM("ONE_SIDE",0),mG=new HM("TWO_SIDES_CORNER",1),vG=new HM("TWO_SIDES_OPPOSING",2),wG=new HM("THREE_SIDES",3),bG=new HM("FOUR_SIDES",4)}function ofe(t,e){var n,r,s,o;for(o=new fe,s=0,r=e.Kc();r.Ob();){for(n=he(u(r.Pb(),17).a+s);n.a<t.f&&!Pun(t,n.a);)n=he(n.a+1),++s;if(n.a>=t.f)break;In(o.c,n)}return o}function Gyn(t,e){var n,r,s,o,h;for(o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),r=new rr(sr(ua(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),h=n.c.i.p,t.n[h]=t.n[h]-1}function Kyn(t){var e,n;for(n=new G(t.e.b);n.a<n.c.c.length;)e=u(et(n),30),q9n(t,e);ms(_i(fc(fc(new ln(null,new gn(t.e.b,16)),new rZ),new oZ),new cZ),new RUt(t))}function Hxt(t,e){return e?t.mj(e)?!1:t.i?t.i.nj(e):Lt(e,152)?(t.i=u(e,152),!0):(t.i=new YR,t.i.nj(e)):!1}function cfe(t,e,n){var r,s,o;return r=e.Lk(),o=e.md(),s=r.Jk()?Ib(t,3,r,null,o,$7(t,r,o,Lt(r,102)&&(u(r,19).Bb&po)!=0),!0):Ib(t,1,r,r.ik(),o,-1,!0),n?n.nj(s):n=s,n}function Wyn(t){if(t=su(t,!0),hn(uT,t)||hn("1",t))return Pn(),bT;if(hn(jlt,t)||hn("0",t))return Pn(),t2;throw at(new trt("Invalid boolean value: '"+t+"'"))}function Vxt(t,e,n){var r,s,o;for(s=t.vc().Kc();s.Ob();)if(r=u(s.Pb(),44),o=r.ld(),$t(e)===$t(o)||e!=null&&Ti(e,o))return n&&(r=new I$(r.ld(),r.md()),s.Qb()),r;return null}function Yyn(t){Ay();var e,n,r;t.B.Hc((Ml(),NK))&&(r=t.f.i,e=new tq(t.a.c),n=new C6,n.b=e.c-r.c,n.d=e.d-r.d,n.c=r.c+r.b-(e.c+e.b),n.a=r.d+r.a-(e.d+e.a),t.e.$f(n))}function ufe(t,e,n,r){var s,o,h;for(h=b.Math.min(n,xge(u(t.b,68),e,n,r)),o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),225),s!=e&&(h=b.Math.min(h,ufe(s,e,h,r)));return h}function Uxt(t){var e,n,r,s;for(s=Vt(V0,ue,199,t.b.c.length,0,2),r=new La(t.b,0);r.b<r.d.gc();)e=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),30)),n=r.b-1,s[n]=II(e.a);return s}function Gxt(t,e,n){var r,s,o;r=u(od(t.a,n),34),r!=null&&(o=u(od(t.b,r),67),Ky(o,n,!0)),s=u(od(t.b,e),67),s||(s=new Ki,Op(t.b,e,s)),hs(s,n,s.c.b,s.c),Op(t.a,n,e)}function Lot(t,e,n,r,s){var o,h,d,m;for(h=drn(wwt(Ovt(ymn(n)),r),Mvn(t,n,s)),m=Pp(t,n).Kc();m.Ob();)d=u(m.Pb(),12),e[d.p]&&(o=e[d.p].i,ge(h.d,new Oit(o,T5t(h,o))));H5t(h)}function Kxt(t,e){this.f=new _r,this.b=new _r,this.j=new _r,this.a=t,this.c=e,this.c>0&&Mhe(this,this.c-1,(ve(),Jn)),this.c<this.a.length-1&&Mhe(this,this.c+1,(ve(),Gn))}function Xyn(t,e){var n,r,s,o,h;for(o=new G(e.d);o.a<o.c.c.length;)for(s=u(et(o),105),h=u(tr(t.c,s),118).o,r=new I6(s.b);r.a<r.c.a.length;)n=u(GS(r),64),Y3t(s,n,h)}function Wxt(t){t.length>0&&t[0].length>0&&(this.c=Ie(Me(X(Pa(t[0][0]),(oe(),ZSt))))),this.a=Vt(nke,ue,2117,t.length,0,2),this.b=Vt(rke,ue,2118,t.length,0,2),this.d=new Cue}function Qyn(t){return t.c.length==0?!1:(vn(0,t.c.length),u(t.c[0],18)).c.i.k==(Un(),fa)?!0:t5(Wo(new ln(null,new gn(t,16)),new WJ),new YJ)}function lfe(t,e){var n,r,s,o,h,d,m;for(d=n3(e),o=e.f,m=e.g,h=b.Math.sqrt(o*o+m*m),s=0,r=new G(d);r.a<r.c.c.length;)n=u(et(r),27),s+=lfe(t,n);return b.Math.max(s,h)}function ka(){ka=V,d2=new gS(G_,0),Td=new gS("FREE",1),YT=new gS("FIXED_SIDE",2),zw=new gS("FIXED_ORDER",3),Y0=new gS("FIXED_RATIO",4),hu=new gS("FIXED_POS",5)}function Jyn(t,e){var n,r,s;if(n=e.qi(t.a),n){for(s=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),ff)),r=1;r<(il(),eOt).length;++r)if(hn(eOt[r],s))return r}return 0}function Zyn(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function t3n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function hfe(t){var e,n,r;for(r=new aw(ao,"{","}"),n=t.vc().Kc();n.Ob();)e=u(n.Pb(),44),Eg(r,mie(t,e.ld())+"="+mie(t,e.md()));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function e3n(t){for(var e,n,r,s;!WC(t.o);)n=u(K6(t.o),42),r=u(n.a,125),e=u(n.b,218),s=gH(e,r),e.e==r?(lz(s.g,e),r.e=s.e+e.a):(lz(s.b,e),r.e=s.e-e.a),ge(t.e.a,r)}function Yxt(t,e){var n,r,s;for(n=null,s=u(e.Kb(t),20).Kc();s.Ob();)if(r=u(s.Pb(),18),!n)n=r.c.i==t?r.d.i:r.c.i;else if((r.c.i==t?r.d.i:r.c.i)!=n)return!1;return!0}function ffe(t,e){var n,r,s,o,h;for(n=Dde(t,!1,e),s=new G(n);s.a<s.c.c.length;)r=u(et(s),132),r.d==0?(pst(r,null),bst(r,null)):(o=r.a,h=r.b,pst(r,h),bst(r,o))}function n3n(t){var e,n;return e=new Fs,ch(e,Bke),n=u(X(t,(oe(),lu)),21),n.Hc((Co(),DA))&&ch(e,zke),n.Hc(AT)&&ch(e,Rke),n.Hc(q5)&&ch(e,$ke),n.Hc(LT)&&ch(e,jke),e}function Xxt(t,e,n){var r,s,o,h,d;for(J2n(t),s=(t.k==null&&(t.k=Vt(Sht,ue,82,0,0,1)),t.k),o=0,h=s.length;o<h;++o)r=s[o],Xxt(r);d=t.f,d&&Xxt(d)}function r3n(t){var e,n,r,s;for(VTn(t),n=new rr(sr(Dg(t).a.Kc(),new z));Mr(n);)e=u(dr(n),18),r=e.c.i==t,s=r?e.d:e.c,r?xa(e,null):Xa(e,null),Zt(e,(oe(),r_t),s),wxn(t,s.i)}function i3n(t,e,n,r){var s,o;switch(o=e.i,s=n[o.g][t.d[o.g]],o.g){case 1:s-=r+e.j.b,e.g.b=s;break;case 3:s+=r,e.g.b=s;break;case 4:s-=r+e.j.a,e.g.a=s;break;case 2:s+=r,e.g.a=s}}function s3n(t){var e,n,r;for(n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)if(e=u(ar(n),27),r=jO(e),!Mr(new rr(sr(r.a.Kc(),new z))))return e;return null}function zH(){zH=V,Q1t=new WM("OVERLAP_REMOVAL",0),W1t=new WM(J2e,1),J1t=new WM("ROTATION",2),Y1t=new WM("GRAPH_SIZE_CALCULATION",3),X1t=new WM("OUTGOING_EDGE_ANGLES",4)}function a3n(){var t;return oTe?u(N7((Eb(),yf),hT),2115):(t=u(Lt(nu((Eb(),yf),hT),569)?nu(yf,hT):new nde,569),oTe=!0,A9n(t),USn(t),kot(t),jo(yf,hT,t),t)}function Dot(t,e,n){var r,s;if(t.j==0)return n;if(s=u(koe(t,e,n),76),r=n.Lk(),!r.rk()||!t.a.am(r))throw at(new uc("Invalid entry feature '"+r.qk().zb+"."+r.xe()+"'"));return s}function o3n(t,e){var n,r,s,o,h,d,m,k;for(d=t.a,m=0,k=d.length;m<k;++m)for(h=d[m],r=h,s=0,o=r.length;s<o;++s)if(n=r[s],$t(e)===$t(n)||e!=null&&Ti(e,n))return!0;return!1}function c3n(t){var e,n,r;return $c(t,0)>=0?(n=_O(t,EV),r=mO(t,EV)):(e=Ab(t,1),n=_O(e,5e8),r=mO(e,5e8),r=Qa(Rf(r,1),sa(t,1))),T1(Rf(r,32),sa(n,So))}function dfe(t,e,n){var r,s;switch(r=(ur(e.b!=0),u(Oh(e,e.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=t.f;break;case 3:r.a=0;break;default:r.a=t.g}return s=Dr(e,0),kI(s,r),e}function gfe(t,e,n,r){var s,o,h,d,m;switch(m=t.b,o=e.d,h=o.j,d=sxt(h,m.d[h.g],n),s=ki(Oa(o.n),o.a),o.j.g){case 1:case 3:d.a+=s.a;break;case 2:case 4:d.b+=s.b}hs(r,d,r.c.b,r.c)}function u3n(t,e,n){var r,s,o,h;for(h=Xo(t.e,e,0),o=new W2t,o.b=n,r=new La(t.e,h);r.b<r.d.gc();)s=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),10)),s.p=n,ge(o.e,s),Kl(r);return o}function l3n(t,e,n,r){var s,o,h,d,m;for(s=null,o=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),m=h.i+h.g,t<h.j+h.f+r&&(s?n.i-m<n.i-o&&(s=h):s=h,o=s.i+s.g);return s?o+r:0}function h3n(t,e,n,r){var s,o,h,d,m;for(o=null,s=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),m=h.j+h.f,t<h.i+h.g+r&&(o?n.j-m<n.j-s&&(o=h):o=h,s=o.j+o.f);return o?s+r:0}function f3n(t){var e,n,r;for(e=!1,r=t.b.c.length,n=0;n<r;n++)t5t(u(Oe(t.b,n),443))?!e&&n+1<r&&t5t(u(Oe(t.b,n+1),443))&&(e=!0,u(Oe(t.b,n),443).a=!0):e=!1}function d3n(t,e,n,r,s){var o,h;for(o=0,h=0;h<s;h++)o=Qa(o,sf(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<n;h++)o=Qa(o,sa(e[h],So)),t[h]=qr(o),o=_m(o,32)}function g3n(t,e){F7();var n,r;for(r=(Xd(),NU),n=t;e>1;e>>=1)e&1&&(r=Z4(r,n)),n.d==1?n=Z4(n,n):n=new Dle(Q0e(n.a,n.d,Vt(Fr,ii,28,n.d<<1,15,1)));return r=Z4(r,n),r}function Qxt(){Qxt=V;var t,e,n,r;for(L9t=Vt(ma,No,28,25,15,1),D9t=Vt(ma,No,28,33,15,1),r=152587890625e-16,e=32;e>=0;e--)D9t[e]=r,r*=.5;for(n=1,t=24;t>=0;t--)L9t[t]=n,n*=.5}function p3n(t){var e,n;if(Ie(Me(ne(t,(De(),L3))))){for(n=new rr(sr(Og(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),74),Zm(e)&&Ie(Me(ne(e,Mw))))return!0}return!1}function pfe(t,e){var n,r,s;qs(t.f,e)&&(e.b=t,r=e.c,Xo(t.j,r,0)!=-1||ge(t.j,r),s=e.d,Xo(t.j,s,0)!=-1||ge(t.j,s),n=e.a.b,n.c.length!=0&&(!t.i&&(t.i=new Fle(t)),ypn(t.i,n)))}function b3n(t){var e,n,r,s,o;return n=t.c.d,r=n.j,s=t.d.d,o=s.j,r==o?n.p<s.p?0:1:hH(r)==o?0:C5t(r)==o?1:(e=t.b,Zu(e.b,hH(r))?0:1)}function dw(t){var e;this.d=new _r,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new Hte(t.e),this.a=t.a,t.f?this.g=t.f:this.g=(e=u(y1(GK),9),new _h(e,u(Ff(e,e.length),9),0))}function qH(t,e){var n,r,s,o,h,d;s=t,h=VS(s,"layoutOptions"),!h&&(h=VS(s,Ywe)),h&&(d=h,r=null,d&&(r=(o=cat(d,Vt(Pe,ue,2,0,6,1)),new crt(d,o))),r&&(n=new nQt(d,e),Fa(r,n)))}function Jo(t){if(Lt(t,207))return u(t,27);if(Lt(t,193))return ed(u(t,123));throw at(t?new hp("Only support nodes and ports."):new A6(ime))}function w3n(t,e,n,r){return(e>=0&&hn(t.substr(e,3),"GMT")||e>=0&&hn(t.substr(e,3),"UTC"))&&(n[0]=e+3),Lkt(t,n,r)}function m3n(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),72),s=n.n,s.a=o,t.i==(ve(),Hn)?s.b=h+t.j.b-n.o.b:s.b=h,ki(s,e),o+=n.o.a+t.e}function bfe(t,e,n){if(t.b)throw at(new Ro("The task is already done."));return t.p!=null?!1:(t.p=e,t.r=n,t.k&&(t.o=(pg(),Ja(Pc(Date.now()),Rp))),!0)}function Jxt(t){var e,n,r,s,o,h,d;return d=new _6,n=t.Pg(),s=n!=null,s&&ME(d,a0,t.Pg()),r=t.xe(),o=r!=null,o&&ME(d,pi,t.xe()),e=t.Og(),h=e!=null,h&&ME(d,"description",t.Og()),d}function wfe(t,e,n){var r,s,o;return o=t.q,t.q=e,t.Db&4&&!(t.Db&1)&&(s=new ha(t,1,9,o,e),n?n.nj(s):n=s),e?(r=e.c,r!=t.r&&(n=t.Yk(r,n))):t.r&&(n=t.Yk(null,n)),n}function v3n(t,e,n){var r,s,o,h,d;for(n=(d=e,gk(d,t.e,-1-t.c,n)),h=Ryt(t.a),o=(r=new sw(new mr(h.a).a),new a$(r));o.a.b;)s=u(Um(o.a).ld(),89),n=H7(s,QH(s,t.a),n);return n}function y3n(t,e,n){var r,s,o,h,d;for(n=(d=e,nq(d,t.e,-1-t.c,n)),h=Ryt(t.a),o=(r=new sw(new mr(h.a).a),new a$(r));o.a.b;)s=u(Um(o.a).ld(),89),n=H7(s,QH(s,t.a),n);return n}function x3n(t,e,n,r){var s,o,h;if(r==0)Xc(e,0,t,n,t.length-n);else for(h=32-r,t[t.length-1]=0,o=t.length-1;o>n;o--)t[o]|=e[o-n-1]>>>h,t[o-1]=e[o-n-1]<<r;for(s=0;s<n;s++)t[s]=0}function k3n(t){var e,n,r,s,o;for(e=0,n=0,o=t.Kc();o.Ob();)r=u(o.Pb(),117),e=b.Math.max(e,r.d.b),n=b.Math.max(n,r.d.c);for(s=t.Kc();s.Ob();)r=u(s.Pb(),117),r.d.b=e,r.d.c=n}function E3n(t){var e,n,r,s,o;for(n=0,e=0,o=t.Kc();o.Ob();)r=u(o.Pb(),117),n=b.Math.max(n,r.d.d),e=b.Math.max(e,r.d.a);for(s=t.Kc();s.Ob();)r=u(s.Pb(),117),r.d.d=n,r.d.a=e}function Mot(t,e,n,r,s){var o,h;o=u(nc(_i(e.Oc(),new uR),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),IO(o),h=u(iw(t.b,n,r),15),s==0?h.cd(0,o):h.Gc(o)}function T3n(t,e,n){n.Ug("Grow Tree",1),t.b=e.f,Ie(Me(X(e,(s7(),EA))))?(t.c=new Le,lre(t,null)):t.c=new Le,t.a=!1,jde(t,e.f),Zt(e,nCt,(Pn(),!!t.a)),n.Vg()}function Zxt(t){var e,n,r,s;for(e=null,s=new G(t.Rf());s.a<s.c.c.length;)r=u(et(s),187),n=new Ah(r.Lf().a,r.Lf().b,r.Mf().a,r.Mf().b),e?T_(e,n):e=n;return!e&&(e=new B6),e}function Iot(t,e,n,r){var s,o;return n==1?(!t.n&&(t.n=new Jt(Po,t,1,7)),vu(t.n,e,r)):(o=u(En((s=u(jn(t,16),29),s||t.ii()),n),69),o.wk().zk(t,Au(t),n-fr(t.ii()),e,r))}function Oot(t,e,n){var r,s,o,h,d;for(r=n.gc(),t._i(t.i+r),d=t.i-e,d>0&&Xc(t.g,e,t.g,e+r,d),h=n.Kc(),t.i+=r,s=0;s<r;++s)o=h.Pb(),kS(t,e,t.Zi(e,o)),t.Mi(e,o),t.Ni(),++e;return r!=0}function hd(t,e,n){var r;return e!=t.q?(t.q&&(n=nq(t.q,t,-10,n)),e&&(n=gk(e,t,-10,n)),n=wfe(t,e,n)):t.Db&4&&!(t.Db&1)&&(r=new ha(t,1,9,e,e),n?n.nj(r):n=r),n}function Not(t,e,n,r){return Lvt((n&Jd)==0,"flatMap does not support SUBSIZED characteristic"),Lvt((n&4)==0,"flatMap does not support SORTED characteristic"),Hr(t),Hr(e),new iie(t,e,n,r)}function C3n(t,e){Syt(e,"Cannot suppress a null exception."),wI(e!=t,"Exception can not suppress itself."),!t.i&&(t.k==null?t.k=lt(ut(Sht,1),ue,82,0,[e]):t.k[t.k.length]=e)}function S3n(t,e){var n;if(n=NQt(t.b.ag(),e.b.ag()),n!=0)return n;switch(t.b.ag().g){case 1:case 2:return jc(t.b.Nf(),e.b.Nf());case 3:case 4:return jc(e.b.Nf(),t.b.Nf())}return 0}function _3n(t){var e,n,r;for(r=t.e.c.length,t.a=G2(Fr,[ue,ii],[53,28],15,[r,r],2),n=new G(t.c);n.a<n.c.c.length;)e=u(et(n),289),t.a[e.c.a][e.d.a]+=u(X(e,(Vf(),jk)),17).a}function A3n(t,e){var n,r,s,o,h;if(t==null)return null;for(h=Vt(Yh,Zd,28,2*e,15,1),r=0,s=0;r<e;++r)n=t[r]>>4&15,o=t[r]&15,h[s++]=LIt[n],h[s++]=LIt[o];return af(h,0,h.length)}function Hu(t){var e,n;return t>=po?(e=cN+(t-po>>10&1023)&js,n=56320+(t-po&1023)&js,String.fromCharCode(e)+(""+String.fromCharCode(n))):String.fromCharCode(t&js)}function L3n(t,e){Ay();var n,r,s,o;return s=u(u(Ai(t.r,e),21),87),s.gc()>=2?(r=u(s.Kc().Pb(),117),n=t.u.Hc((wl(),yL)),o=t.u.Hc(n8),!r.a&&!n&&(s.gc()==2||o)):!1}function mfe(t,e,n,r,s){var o,h,d;for(o=i0e(t,e,n,r,s),d=!1;!o;)YH(t,s,!0),d=!0,o=i0e(t,e,n,r,s);d&&YH(t,s,!1),h=mat(s),h.c.length!=0&&(t.d&&t.d.Gg(h),mfe(t,s,n,r,h))}function HH(){HH=V,Gdt=new dS(r0,0),ZMt=new dS("DIRECTED",1),eIt=new dS("UNDIRECTED",2),QMt=new dS("ASSOCIATION",3),tIt=new dS("GENERALIZATION",4),JMt=new dS("DEPENDENCY",5)}function D3n(t,e){var n;if(!ed(t))throw at(new Ro(Pwe));switch(n=ed(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function M3n(t,e,n){var r,s,o;return r=e.Lk(),o=e.md(),s=r.Jk()?Ib(t,4,r,o,null,$7(t,r,o,Lt(r,102)&&(u(r,19).Bb&po)!=0),!0):Ib(t,r.tk()?2:1,r,o,r.ik(),-1,!0),n?n.nj(s):n=s,n}function D7(t,e){var n,r;for(Wn(e),r=t.b.c.length,ge(t.b,e);r>0;){if(n=r,r=(r-1)/2|0,t.a.Ne(Oe(t.b,r),e)<=0)return Mh(t.b,n,e),!0;Mh(t.b,n,Oe(t.b,r))}return Mh(t.b,r,e),!0}function t6t(t,e,n,r){var s,o;if(s=0,n)s=oH(t.a[n.g][e.g],r);else for(o=0;o<jU;o++)s=b.Math.max(s,oH(t.a[o][e.g],r));return e==(A1(),xu)&&t.b&&(s=b.Math.max(s,t.b.a)),s}function I3n(t,e){var n,r,s,o,h,d;return s=t.i,o=e.i,!s||!o||s.i!=o.i||s.i==(ve(),Jn)||s.i==(ve(),Gn)?!1:(h=s.g.a,n=h+s.j.a,d=o.g.a,r=d+o.j.a,h<=r&&n>=d)}function vfe(t){switch(t.g){case 0:return new Stt;case 1:return new _tt;default:throw at(new zn("No implementation is available for the width approximator "+(t.f!=null?t.f:""+t.g)))}}function e6t(t,e,n,r){var s;if(s=!1,ba(r)&&(s=!0,ME(e,n,Gr(r))),s||Ty(r)&&(s=!0,e6t(t,e,n,r)),s||Lt(r,242)&&(s=!0,Q2(e,n,u(r,242))),!s)throw at(new Znt(LTt))}function O3n(t,e){var n,r,s;if(n=e.qi(t.a),n&&(s=L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),lf),s!=null)){for(r=1;r<(il(),ZIt).length;++r)if(hn(ZIt[r],s))return r}return 0}function N3n(t,e){var n,r,s;if(n=e.qi(t.a),n&&(s=L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),lf),s!=null)){for(r=1;r<(il(),tOt).length;++r)if(hn(tOt[r],s))return r}return 0}function yfe(t,e){var n,r,s,o;if(Wn(e),o=t.a.gc(),o<e.gc())for(n=t.a.ec().Kc();n.Ob();)r=n.Pb(),e.Hc(r)&&n.Qb();else for(s=e.Kc();s.Ob();)r=s.Pb(),t.a.Bc(r)!=null;return o!=t.a.gc()}function xfe(t){var e,n;switch(n=Oa(dc(lt(ut(la,1),ue,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function P3n(t){var e;for(e=(ok(),u(dr(new rr(sr(ua(t).a.Kc(),new z))),18).c.i);e.k==(Un(),fa);)Zt(e,(oe(),nP),(Pn(),!0)),e=u(dr(new rr(sr(ua(e).a.Kc(),new z))),18).c.i}function Pot(t,e,n,r){var s,o,h,d;for(d=c_(e,r),h=d.Kc();h.Ob();)s=u(h.Pb(),12),t.d[s.p]=t.d[s.p]+t.c[n.p];for(d=c_(n,r),o=d.Kc();o.Ob();)s=u(o.Pb(),12),t.d[s.p]=t.d[s.p]-t.c[e.p]}function n6t(t,e,n){var r,s;for(s=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));s.e!=s.i.gc();)r=u(ar(s),27),Ch(r,r.i+e,r.j+n);Fa((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b),new UXt(e,n))}function F3n(t,e,n,r){var s,o;for(o=e,s=o.d==null||t.a.Ne(n.d,o.d)>0?1:0;o.a[s]!=n;)o=o.a[s],s=t.a.Ne(n.d,o.d)>0?1:0;o.a[s]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function B3n(t){var e,n,r,s;for(e=new fe,n=Vt(Fl,$0,28,t.a.c.length,16,1),Eyt(n,n.length),s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),125),n[r.d]||(In(e.c,r),zle(t,r,n));return e}function kfe(t,e){var n,r,s,o,h;for(s=e==1?oft:aft,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),88),h=u(Ai(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),42),zu(t.b.b,o.b),zu(t.b.a,u(o.b,86).d)}function R3n(t,e){var n;e.Ug("Hierarchical port position processing",1),n=t.b,n.c.length>0&&K0e((vn(0,n.c.length),u(n.c[0],30)),t),n.c.length>1&&K0e(u(Oe(n,n.c.length-1),30),t),e.Vg()}function j3n(t){wl();var e,n;return e=Hi(Hg,lt(ut(OK,1),te,279,0,[g2])),!(tO(iq(e,t))>1||(n=Hi(yL,lt(ut(OK,1),te,279,0,[vL,n8])),tO(iq(n,t))>1))}function r6t(t,e){var n;n=nu((Eb(),yf),t),Lt(n,507)?jo(yf,t,new fQt(this,e)):jo(yf,t,this),Fot(this,e),e==(bE(),zIt)?(this.wb=u(this,2038),u(e,2040)):this.wb=(Lb(),Fn)}function $3n(t){var e,n,r;if(t==null)return null;for(e=null,n=0;n<TL.length;++n)try{return WYt(TL[n],t)}catch(s){if(s=es(s),Lt(s,33))r=s,e=r;else throw at(s)}throw at(new _q(e))}function Efe(){Efe=V,rye=lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),iye=lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Tfe(t){var e,n,r;e=hn(typeof e,but)?null:new qa,e&&(xE(),n=(r=900,r>=Rp?"error":r>=900?"warn":r>=800?"info":"log"),Oee(n,t.a),t.b&&ikt(e,n,t.b,"Exception: ",!0))}function X(t,e){var n,r;return r=(!t.q&&(t.q=new _r),tr(t.q,e)),r??(n=e.Sg(),Lt(n,4)&&(n==null?(!t.q&&(t.q=new _r),rk(t.q,e)):(!t.q&&(t.q=new _r),hi(t.q,e,n))),n)}function Ua(){Ua=V,Wf=new qM("P1_CYCLE_BREAKING",0),H0=new qM("P2_LAYERING",1),Qc=new qM("P3_NODE_ORDERING",2),cu=new qM("P4_NODE_PLACEMENT",3),Zo=new qM("P5_EDGE_ROUTING",4)}function z3n(t,e){YS();var n;if(t.c==e.c){if(t.b==e.b||Wgn(t.b,e.b)){if(n=vin(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return jc(t.b.g,e.b.g)}else return Bi(t.c,e.c)}function Cfe(t,e){var n,r,s;if(s6t(t,e))return!0;for(r=new G(e);r.a<r.c.c.length;)if(n=u(et(r),27),s=rfe(n),sV(t,n,s)||_ue(t,n)-t.g<=t.a)return!0;return!1}function LO(){LO=V,EK=(rct(),WDt),Tdt=qEe,Edt=zEe,zDt=REe,kdt=$Ee,$Dt=new xm(8),MEe=new _a((ai(),Yp),$Dt),IEe=new _a($w,8),OEe=GDt,RDt=NEe,jDt=PEe,DEe=new _a(SP,(Pn(),!1))}function VH(){VH=V,hMt=new xm(15),s7e=new _a((ai(),Yp),hMt),a7e=new _a($w,15),fMt=new _a(DP,he(0)),cMt=f7e,r7e=jw,i7e=l2,oMt=new _a(sx,pwe),uMt=AP,lMt=lx,Adt=l7e,n7e=CP}function O0(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i!=1)throw at(new zn(Jlt));return Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))}function Sfe(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i!=1)throw at(new zn(Jlt));return iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))}function _fe(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i!=1)throw at(new zn(Jlt));return iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))}function qb(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i!=1||(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i!=1)throw at(new zn(Jlt));return Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))}function i6t(t,e,n){var r,s,o;if(++t.j,s=t.Ej(),e>=s||e<0)throw at(new Bo(Zlt+e+Ew+s));if(n>=s||n<0)throw at(new Bo(tht+n+Ew+s));return e!=n?r=(o=t.Cj(n),t.qj(e,o),o):r=t.xj(n),r}function Afe(t){var e,n,r;if(r=t,t)for(e=0,n=t.Eh();n;n=n.Eh()){if(++e>uut)return Afe(n);if(r=n,n==t)throw at(new Ro("There is a cycle in the containment hierarchy of "+t))}return r}function Hb(t){var e,n,r;for(r=new aw(ao,"[","]"),n=t.Kc();n.Ob();)e=n.Pb(),Eg(r,$t(e)===$t(t)?"(this Collection)":e==null?Vu:rc(e));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function s6t(t,e){var n,r;if(r=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?r=r|sV(t,u(e.Xb(n),27),u(e.Xb(n+1),27)):r=r|sV(t,u(e.Xb(n),27),u(e.Xb(0),27));return r}function Lfe(t,e){var n;e!=t.a?(n=null,t.a&&(n=u(t.a,54).Th(t,4,F1,n)),e&&(n=u(e,54).Rh(t,4,F1,n)),n=b5t(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,1,e,e))}function a6t(t,e){var n;e!=t.e?(t.e&&wse(Ryt(t.e),t),e&&(!e.b&&(e.b=new s$(new Gnt)),_Zt(e.b,t)),n=Qvn(t,e,null),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,4,e,e))}function q3n(t,e){var n;n=e.o,bg(t.f)?(t.j.a=b.Math.max(t.j.a,n.a),t.j.b+=n.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=n.a,t.j.b=b.Math.max(t.j.b,n.b),t.d.c.length>1&&(t.j.a+=t.e))}function Vb(){Vb=V,$4e=lt(ut(bo,1),qc,64,0,[(ve(),Hn),Jn,Er]),j4e=lt(ut(bo,1),qc,64,0,[Jn,Er,Gn]),z4e=lt(ut(bo,1),qc,64,0,[Er,Gn,Hn]),q4e=lt(ut(bo,1),qc,64,0,[Gn,Hn,Jn])}function H3n(t,e,n,r){var s,o,h,d,m,k,T;if(h=t.c.d,d=t.d.d,h.j!=d.j)for(T=t.b,s=h.j,m=null;s!=d.j;)m=e==0?hH(s):C5t(s),o=sxt(s,T.d[s.g],n),k=sxt(m,T.d[m.g],n),Zr(r,ki(o,k)),s=m}function V3n(t,e,n,r){var s,o,h,d,m;return h=Ihe(t.a,e,n),d=u(h.a,17).a,o=u(h.b,17).a,r&&(m=u(X(e,(oe(),ml)),10),s=u(X(n,ml),10),m&&s&&(vie(t.b,m,s),d+=t.b.i,o+=t.b.e)),d>o}function Dfe(t){var e,n,r,s,o,h,d,m,k;for(this.a=Zle(t),this.b=new fe,n=t,r=0,s=n.length;r<s;++r)for(e=n[r],o=new fe,ge(this.b,o),d=e,m=0,k=d.length;m<k;++m)h=d[m],ge(o,new fl(h.j))}function U3n(t,e,n){var r,s,o;return o=0,r=n[e],e<n.length-1&&(s=n[e+1],t.b[e]?(o=qSn(t.d,r,s),o+=Qit(t.a,r,(ve(),Jn)),o+=Qit(t.a,s,Gn)):o=E0n(t.a,r,s)),t.c[e]&&(o+=Wdn(t.a,r)),o}function G3n(t,e,n,r,s){var o,h,d,m;for(m=null,d=new G(r);d.a<d.c.c.length;)if(h=u(et(d),452),h!=n&&Xo(h.e,s,0)!=-1){m=h;break}o=Dst(s),Xa(o,n.b),xa(o,m.b),dn(t.a,s,new wz(o,e,n.f))}function K3n(t){var e,n,r,s;if(q4(u(X(t.b,(De(),ph)),88)))return 0;for(e=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),10),n.k==(Un(),xs)&&(s=n.o.a,e=b.Math.max(e,s));return e}function Mfe(t){for(;t.g.c!=0&&t.d.c!=0;)hit(t.g).c>hit(t.d).c?(t.i+=t.g.c,Qat(t.d)):hit(t.d).c>hit(t.g).c?(t.e+=t.d.c,Qat(t.g)):(t.i+=zte(t.g),t.e+=zte(t.d),Qat(t.g),Qat(t.d))}function W3n(t,e,n){var r,s,o,h;for(o=e.q,h=e.r,new J2((C1(),o2),e,o,1),new J2(o2,o,h,1),s=new G(n);s.a<s.c.c.length;)r=u(et(s),118),r!=o&&r!=e&&r!=h&&(Hkt(t.a,r,e),Hkt(t.a,r,h))}function Ife(t,e,n,r){t.a.d=b.Math.min(e,n),t.a.a=b.Math.max(e,r)-t.a.d,e<n?(t.b=.5*(e+n),t.g=klt*t.b+.9*e,t.f=klt*t.b+.9*n):(t.b=.5*(e+r),t.g=klt*t.b+.9*r,t.f=klt*t.b+.9*e)}function Y3n(t){var e,n,r,s;if(t.b!=0){for(e=new Ki,s=Dr(t,0);s.b!=s.d.c;)r=u(Ar(s),39),Ma(e,wat(r)),n=r.e,n.a=u(X(r,(ji(),pP)),17).a,n.b=u(X(r,bP),17).a;return e}return new Ki}function X3n(t){switch(u(X(t,(De(),Iu)),171).g){case 1:Zt(t,Iu,(Rh(),NA));break;case 2:Zt(t,Iu,(Rh(),S3));break;case 3:Zt(t,Iu,(Rh(),OA));break;case 4:Zt(t,Iu,(Rh(),s2))}}function Q3n(t,e,n){var r;n.Ug("Self-Loop routing",1),r=C2n(e),tz(X(e,(kq(),oL))),ms(Wo(_i(_i(fc(new ln(null,new gn(e.b,16)),new VQ),new j8),new t6),new eC),new oXt(t,r)),n.Vg()}function M7(){M7=V,AA=new lS(r0,0),zSt=new lS(_k,1),VSt=new lS(Ak,2),HSt=new lS("LEFT_RIGHT_CONSTRAINT_LOCKING",3),qSt=new lS("LEFT_RIGHT_CONNECTION_LOCKING",4),$St=new lS(L2e,5)}function Ofe(t,e,n){var r,s,o,h,d,m,k;d=n.a/2,o=n.b/2,r=b.Math.abs(e.a-t.a),s=b.Math.abs(e.b-t.b),m=1,k=1,r>d&&(m=d/r),s>o&&(k=o/s),h=b.Math.min(m,k),t.a+=h*(e.a-t.a),t.b+=h*(e.b-t.b)}function J3n(t,e,n,r,s){var o,h;for(h=!1,o=u(Oe(n.b,0),27);_7n(t,e,o,r,s)&&(h=!0,Ayn(n,o),n.b.c.length!=0);)o=u(Oe(n.b,0),27);return n.b.c.length==0&&CO(n.j,n),h&&PH(e.q),h}function Z3n(t,e){w5();var n,r,s,o;if(e.b<2)return!1;for(o=Dr(e,0),n=u(Ar(o),8),r=n;o.b!=o.d.c;){if(s=u(Ar(o),8),Jot(t,r,s))return!0;r=s}return!!Jot(t,r,n)}function o6t(t,e,n,r){var s,o;return n==0?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),pz(t.o,e,r)):(o=u(En((s=u(jn(t,16),29),s||t.ii()),n),69),o.wk().Ak(t,Au(t),n-fr(t.ii()),e,r))}function Fot(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=u(t.sb,54).Th(t,1,EL,n)),e&&(n=u(e,54).Rh(t,1,EL,n)),n=v5t(t,e,n),n&&n.oj()):t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,4,e,e))}function t4n(t,e){var n,r,s,o;if(e)s=_g(e,"x"),n=new TGt(t),XE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new CGt(t),JE(r.a,(Wn(o),o));else throw at(new Rd("All edge sections need an end point."))}function e4n(t,e){var n,r,s,o;if(e)s=_g(e,"x"),n=new xGt(t),QE(n.a,(Wn(s),s)),o=_g(e,"y"),r=new kGt(t),ZE(r.a,(Wn(o),o));else throw at(new Rd("All edge sections need a start point."))}function n4n(t,e){var n,r,s,o,h,d,m;for(r=aue(t),o=0,d=r.length;o<d;++o)Tfe(e);for(m=!wd&&t.e?wd?null:t.d:null;m;){for(n=aue(m),s=0,h=n.length;s<h;++s)Tfe(e);m=!wd&&m.e?wd?null:m.d:null}}function Nfe(t,e){var n,r;r=u(X(e,(De(),bs)),101),Zt(e,(oe(),i_t),r),n=e.e,n&&(ms(new ln(null,new gn(n.a,16)),new lp(t)),ms(fc(new ln(null,new gn(n.b,16)),new p4),new $C(t)))}function Un(){Un=V,xs=new aS("NORMAL",0),fa=new aS("LONG_EDGE",1),Ms=new aS("EXTERNAL_PORT",2),uu=new aS("NORTH_SOUTH_PORT",3),Vc=new aS("LABEL",4),md=new aS("BREAKING_POINT",5)}function r4n(t){var e,n,r,s;if(e=!1,qi(t,(oe(),MA)))for(n=u(X(t,MA),85),s=new G(t.j);s.a<s.c.c.length;)r=u(et(s),12),f6n(r)&&(e||(C5n(Pa(t)),e=!0),mwn(u(n.xc(r),314)))}function i4n(t){var e,n,r,s,o,h,d,m,k;return k=Jxt(t),n=t.e,o=n!=null,o&&ME(k,fU,t.e),d=t.k,h=!!d,h&&ME(k,"type",cit(t.k)),r=NM(t.j),s=!r,s&&(m=new cp,_1(k,Qlt,m),e=new UGt(m),Fa(t.j,e)),k}function s4n(t){var e,n,r,s;for(s=Db((oh(t.gc(),"size"),new I4),123),r=!0,n=K2(t).Kc();n.Ob();)e=u(n.Pb(),44),r||(s.a+=ao),r=!1,tu(Db(tu(s,e.ld()),61),e.md());return(s.a+="}",s).a}function Pfe(t,e){var n,r,s;return e&=63,e<22?(n=t.l<<e,r=t.m<<e|t.l>>22-e,s=t.h<<e|t.m>>22-e):e<44?(n=0,r=t.l<<e-22,s=t.m<<e-22|t.l>>44-e):(n=0,r=0,s=t.l<<e-44),Eu(n&Il,r&Il,s&Fg)}function Jy(t){if(u9t==null&&(u9t=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!u9t.test(t))throw at(new jd(av+t+'"'));return parseFloat(t)}function Ffe(t,e){var n,r,s,o,h;for(s=e==1?oft:aft,r=s.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),88),h=u(Ai(t.f.c,n),21).Kc();h.Ob();)o=u(h.Pb(),42),ge(t.b.b,u(o.b,86)),ge(t.b.a,u(o.b,86).d)}function a4n(t,e){var n,r,s,o;for(o=e.b.j,t.a=Vt(Fr,ii,28,o.c.length,15,1),s=0,r=0;r<o.c.length;r++)n=(vn(r,o.c.length),u(o.c[r],12)),n.e.c.length==0&&n.g.c.length==0?s+=1:s+=3,t.a[r]=s}function UH(){UH=V,Nft=new cS("ALWAYS_UP",0),Oft=new cS("ALWAYS_DOWN",1),Fft=new cS("DIRECTION_UP",2),Pft=new cS("DIRECTION_DOWN",3),Bft=new cS("SMART_UP",4),kG=new cS("SMART_DOWN",5)}function o4n(t,e){if(t<0||e<0)throw at(new zn("k and n must be positive"));if(e>t)throw at(new zn("k must be smaller than n"));return e==0||e==t?1:t==0?0:Nxt(t)/(Nxt(e)*Nxt(t-e))}function c6t(t,e){var n,r,s,o;for(n=new Tmt(t);n.g==null&&!n.c?n3t(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)if(o=u(XH(n),58),Lt(o,167))for(r=u(o,167),s=0;s<e.length;s++)e[s].Kg(r)}function Bot(t){var e;return t.Db&64?zat(t):(e=new ef(zat(t)),e.a+=" (height: ",O4(e,t.f),e.a+=", width: ",O4(e,t.g),e.a+=", x: ",O4(e,t.i),e.a+=", y: ",O4(e,t.j),e.a+=")",e.a)}function c4n(t){var e,n,r,s,o,h,d;for(e=new kp,r=t,s=0,o=r.length;s<o;++s)if(n=r[s],h=Hr(n.ld()),d=Op(e,h,Hr(n.md())),d!=null)throw at(new zn("duplicate key: "+h));this.b=(mn(),new Kn(e))}function u4n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],Eg(o,String.fromCharCode(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function u6t(){u6t=V,uCt=(Iq(),UU),v3e=new un(MV,uCt),he(1),m3e=new un(V8t,he(300)),he(0),k3e=new un(U8t,he(0)),E3e=new un(Out,n0),y3e=new un(Nut,5),T3e=UU,x3e=Zht}function l4n(t,e){var n;if(e!=null&&!t.c.Hk().fk(e))throw n=Lt(e,58)?u(e,58).Dh().zb:V2(Wl(e)),at(new fE(Jb+t.c.xe()+"'s type '"+t.c.Hk().xe()+"' does not permit a value of type '"+n+"'"))}function h4n(t,e,n){var r,s;for(s=new La(t.b,0);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),72)),$t(X(r,(oe(),n_t)))===$t(e)&&(p6t(r.n,Pa(t.c.i),n),Kl(s),ge(e.b,r))}function Bfe(t){var e,n;return n=b.Math.sqrt((t.k==null&&(t.k=N4t(t,new FJ)),Rt(t.k)/(t.b*(t.g==null&&(t.g=nce(t,new wR)),Rt(t.g))))),e=qr(Pc(b.Math.round(n))),e=b.Math.min(e,t.f),e}function f4n(){var t,e,n;for(e=0,t=0;t<1;t++){if(n=B6t((qn(t,1),"X".charCodeAt(t))),n==0)throw at(new Yr((qn(t,1+1),"Unknown Option: "+"X".substr(t))));e|=n}return e}function Yc(){rl(),bvt.call(this),this.j=(ve(),bc),this.a=new Sa,new qnt,this.f=(oh(2,c3),new wu(2)),this.e=(oh(4,c3),new wu(4)),this.g=(oh(4,c3),new wu(4)),this.b=new uXt(this.e,this.g)}function d4n(t,e){var n,r;return!(Ie(Me(X(e,(oe(),vd))))||(r=e.c.i,t==(Rh(),OA)&&r.k==(Un(),Vc))||(n=u(X(r,(De(),Iu)),171),n==s2))}function g4n(t,e){var n,r;return!(Ie(Me(X(e,(oe(),vd))))||(r=e.d.i,t==(Rh(),NA)&&r.k==(Un(),Vc))||(n=u(X(r,(De(),Iu)),171),n==S3))}function p4n(t,e){var n,r,s,o,h,d,m;for(h=t.d,m=t.o,d=new Ah(-h.b,-h.d,h.b+m.a+h.c,h.d+m.b+h.a),r=e,s=0,o=r.length;s<o;++s)n=r[s],n&&T_(d,n.i);h.b=-d.c,h.d=-d.d,h.c=d.b-h.b-m.a,h.a=d.a-h.d-m.b}function b4n(t,e){if(e.a)switch(u(X(e.b,(oe(),i_t)),101).g){case 0:case 1:Nyn(e);case 2:ms(new ln(null,new gn(e.d,16)),new GB),mxn(t.a,e)}else ms(new ln(null,new gn(e.d,16)),new GB)}function DO(){DO=V,NDt=new XM("CENTER_DISTANCE",0),ydt=new XM("CIRCLE_UNDERLAP",1),FDt=new XM("RECTANGLE_UNDERLAP",2),xdt=new XM("INVERTED_OVERLAP",3),PDt=new XM("MINIMUM_ROOT_DISTANCE",4)}function w4n(t){hkt();var e,n,r,s,o;if(t==null)return null;for(r=t.length,s=r*2,e=Vt(Yh,Zd,28,s,15,1),n=0;n<r;n++)o=t[n],o<0&&(o+=256),e[n*2]=tW[o>>4],e[n*2+1]=tW[o&15];return af(e,0,e.length)}function m4n(t){Gz();var e,n,r;switch(r=t.c.length,r){case 0:return Rve;case 1:return e=u(m1e(new G(t)),44),hun(e.ld(),e.md());default:return n=u(ld(t,Vt(Sw,xV,44,t.c.length,0,1)),173),new owt(n)}}function v4n(t){var e,n,r,s,o,h;for(e=new K4,n=new K4,Ob(e,t),Ob(n,t);n.b!=n.c;)for(s=u(K6(n),36),h=new G(s.a);h.a<h.c.c.length;)o=u(et(h),10),o.e&&(r=o.e,Ob(e,r),Ob(n,r));return e}function Pp(t,e){switch(e.g){case 1:return H6(t.j,(rl(),NCt));case 2:return H6(t.j,(rl(),ICt));case 3:return H6(t.j,(rl(),FCt));case 4:return H6(t.j,(rl(),BCt));default:return mn(),mn(),co}}function y4n(t,e){var n,r,s;n=iun(e,t.e),r=u(tr(t.g.f,n),17).a,s=t.a.c.length-1,t.a.c.length!=0&&u(Oe(t.a,s),293).c==r?(++u(Oe(t.a,s),293).a,++u(Oe(t.a,s),293).b):ge(t.a,new HJt(r))}function x4n(t,e,n){var r,s;return r=B8n(t,e,n),r!=0?r:qi(e,(oe(),Pi))&&qi(n,Pi)?(s=jc(u(X(e,Pi),17).a,u(X(n,Pi),17).a),s<0?VO(t,e,n):s>0&&VO(t,n,e),s):oxn(t,e,n)}function Ub(){Ub=V,H8e=(ai(),Jk),V8e=$w,j8e=jw,$8e=lx,z8e=l2,R8e=ux,GLt=LP,q8e=j3,tdt=(xkt(),_8e),edt=A8e,WLt=I8e,ndt=P8e,YLt=O8e,XLt=N8e,KLt=L8e,dK=D8e,gK=M8e,wP=F8e,QLt=B8e,ULt=S8e}function Rfe(t,e){var n,r,s,o,h;if(t.e<=e||Hfn(t,t.g,e))return t.g;for(o=t.r,r=t.g,h=t.r,s=(o-r)/2+r;r+1<o;)n=B_(t,s,!1),n.b<=s&&n.a<=e?(h=s,o=s):r=s,s=(o-r)/2+r;return h}function k4n(t,e,n){var r;r=a0e(t,e,!0),bfe(n,"Recursive Graph Layout",r),c6t(e,lt(ut(nMt,1),Ln,536,0,[new dnt])),ad(e,(ai(),fx))||c6t(e,lt(ut(nMt,1),Ln,536,0,[new FR])),c8t(t,e,null,n),jfe(n)}function jfe(t){var e;if(t.p==null)throw at(new Ro("The task has not begun yet."));t.b||(t.k&&(e=(pg(),Ja(Pc(Date.now()),Rp)),t.q=tw(sf(e,t.o))*1e-9),t.c<t.r&&x4t(t,t.r-t.c),t.b=!0)}function MO(t){var e,n,r;for(r=new Qu,Zr(r,new ae(t.j,t.k)),n=new Zn((!t.a&&(t.a=new Ps(vh,t,5)),t.a));n.e!=n.i.gc();)e=u(ar(n),377),Zr(r,new ae(e.a,e.b));return Zr(r,new ae(t.b,t.c)),r}function E4n(t,e,n,r,s){var o,h,d,m,k,T;if(s)for(m=s.a.length,o=new W2(m),T=(o.b-o.a)*o.c<0?(Tb(),y2):new _b(o);T.Ob();)k=u(T.Pb(),17),d=qE(s,k.a),h=new lne(t,e,n,r),UEn(h.a,h.b,h.c,h.d,d)}function l6t(t,e){var n;if($t(t)===$t(e))return!0;if(Lt(e,21)){n=u(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(r){if(r=es(r),Lt(r,169)||Lt(r,212))return!1;throw at(r)}}return!1}function Rot(t,e,n,r,s,o){switch(this.c=t,e.g){case 2:if(t.a.Ne(s,n)<0)throw at(new zn(k8t+s+Lbe+n));break;case 1:t.a.Ne(s,s);break;case 3:t.a.Ne(n,n)}this.f=e,this.b=n,this.a=r,this.e=s,this.d=o}function h6t(t,e){var n;ge(t.d,e),n=e.Mf(),t.c?(t.e.a=b.Math.max(t.e.a,n.a),t.e.b+=n.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=n.a,t.e.b=b.Math.max(t.e.b,n.b),t.d.c.length>1&&(t.e.a+=t.a))}function T4n(t){var e,n,r,s;switch(s=t.i,e=s.b,r=s.j,n=s.g,s.a.g){case 0:n.a=(t.g.b.o.a-r.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-r.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function C4n(t,e,n){var r,s,o;for(s=new rr(sr(Dg(n).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!go(r)&&!(!go(r)&&r.c.i.c==r.d.i.c)&&(o=Lde(t,r,n,new IKt),o.c.length>1&&In(e.c,o))}function $fe(t,e,n,r,s){if(r<e||s<n)throw at(new zn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>r&&(t.a=r),t.b<n?t.b=n:t.b>s&&(t.b=s),t}function S4n(t){if(Lt(t,143))return rkn(u(t,143));if(Lt(t,233))return K2n(u(t,233));if(Lt(t,23))return i4n(u(t,23));throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[t])))))}function _4n(t,e,n,r,s){var o,h,d;for(o=!0,h=0;h<r;h++)o=o&n[h]==0;if(s==0)Xc(n,r,t,0,e),h=e;else{for(d=32-s,o=o&n[h]<<d==0,h=0;h<e-1;h++)t[h]=n[h+r]>>>s|n[h+r+1]<<d;t[h]=n[h+r]>>>s,++h}return o}function f6t(t,e,n,r){var s,o,h;if(e.k==(Un(),fa)){for(o=new rr(sr(ua(e).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),h=s.c.i.k,h==fa&&t.c.a[s.c.i.c.p]==r&&t.c.a[e.c.p]==n)return!0}return!1}function A4n(t,e){var n,r,s,o;return e&=63,n=t.h&Fg,e<22?(o=n>>>e,s=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=0,s=n>>>e-22,r=t.m>>e-22|t.h<<44-e):(o=0,s=0,r=n>>>e-44),Eu(r&Il,s&Il,o&Fg)}function zfe(t,e,n,r){var s;this.b=r,this.e=t==(Hm(),UA),s=e[n],this.d=G2(Fl,[ue,$0],[183,28],16,[s.length,s.length],2),this.a=G2(Fr,[ue,ii],[53,28],15,[s.length,s.length],2),this.c=new Kxt(e,n)}function L4n(t){var e,n,r;for(t.k=new s3t((ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,t.j.c.length),r=new G(t.j);r.a<r.c.c.length;)n=u(et(r),113),e=n.d.j,dn(t.k,e,n);t.e=H6n(U6(t.k))}function qfe(t,e){var n,r,s;qs(t.d,e),n=new AZ,hi(t.c,e,n),n.f=Fat(e.c),n.a=Fat(e.d),n.d=(D_(),s=e.c.i.k,s==(Un(),xs)||s==md),n.e=(r=e.d.i.k,r==xs||r==md),n.b=e.c.j==(ve(),Gn),n.c=e.d.j==Jn}function D4n(t){var e,n,r,s,o;for(o=xi,s=xi,r=new G(s5(t));r.a<r.c.c.length;)n=u(et(r),218),e=n.e.e-n.d.e,n.e==t&&e<s?s=e:e<o&&(o=e);return s==xi&&(s=-1),o==xi&&(o=-1),new Ws(he(s),he(o))}function M4n(t,e){var n,r,s;return s=S5,r=(m_(),HN),s=b.Math.abs(t.b),n=b.Math.abs(e.f-t.b),n<s&&(s=n,r=qU),n=b.Math.abs(t.a),n<s&&(s=n,r=VN),n=b.Math.abs(e.g-t.a),n<s&&(s=n,r=zU),r}function I4n(t,e){var n,r,s,o;for(n=e.a.o.a,o=new xp(Pa(e.a).b,e.c,e.f+1),s=new gr(o);s.b<s.d.gc();)if(r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),30)),r.c.a>=n)return I7(t,e,r.p),!0;return!1}function d5(t,e,n,r){var s,o,h,d,m,k;for(h=n.length,o=0,s=-1,k=Nae((qn(e,t.length+1),t.substr(e)),(bit(),_9t)),d=0;d<h;++d)m=n[d].length,m>o&&nln(k,Nae(n[d],_9t))&&(s=d,o=m);return s>=0&&(r[0]=e+o),s}function Hfe(t){var e;return t.Db&64?Bot(t):(e=new eh(vTt),!t.a||ni(ni((e.a+=' "',e),t.a),'"'),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function Vfe(t,e,n){var r,s,o,h,d;for(d=Lu(t.e.Dh(),e),s=u(t.g,124),r=0,h=0;h<t.i;++h)if(o=s[h],d.am(o.Lk())){if(r==n)return r3(t,h),vo(),u(e,69).xk()?o:o.md();++r}throw at(new Bo(uA+n+Ew+r))}function Ufe(t){var e,n,r;if(e=t.c,e==2||e==7||e==1)return yi(),yi(),OL;for(r=i8t(t),n=null;(e=t.c)!=2&&e!=7&&e!=1;)n||(n=(yi(),yi(),new yS(1)),gw(n,r),r=n),gw(n,i8t(t));return r}function O4n(t,e,n){return t<0||t>n?x6t(t,n,"start index"):e<0||e>n?x6t(e,n,"end index"):M_("end index (%s) must not be less than start index (%s)",lt(ut(aa,1),Ln,1,5,[he(e),he(t)]))}function Gfe(t,e){var n,r,s,o;for(r=0,s=t.length;r<s;r++){o=t[r];try{o[1]?o[0].Um()&&(e=Run(e,o)):o[0].Um()}catch(h){if(h=es(h),Lt(h,82))n=h,d$(),Shn(Lt(n,485)?u(n,485).ke():n);else throw at(h)}}return e}function I7(t,e,n){var r,s,o;for(n!=e.c+e.b.gc()&&Z7n(e.a,ppn(e,n-e.c)),o=e.a.c.p,t.a[o]=b.Math.max(t.a[o],e.a.o.a),s=u(X(e.a,(oe(),IA)),15).Kc();s.Ob();)r=u(s.Pb(),72),Zt(r,bft,(Pn(),!0))}function N4n(t,e){var n,r,s;s=hkn(e),Zt(e,(oe(),Kft),s),s&&(r=xi,Eo(t.f,s)&&(r=u(Ko(Eo(t.f,s)),17).a),n=u(Oe(e.g,0),18),Ie(Me(X(n,vd)))||hi(t,s,he(b.Math.min(u(X(n,Pi),17).a,r))))}function Kfe(t,e,n){var r,s,o,h,d;for(e.p=-1,d=Ym(e,(To(),ku)).Kc();d.Ob();)for(h=u(d.Pb(),12),s=new G(h.g);s.a<s.c.c.length;)r=u(et(s),18),o=r.d.i,e!=o&&(o.p<0?n.Fc(r):o.p>0&&Kfe(t,o,n));e.p=0}function He(t){var e;this.c=new Ki,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=(e=u(y1(G0),9),new _h(e,u(Ff(e,e.length),9),0)),this.g=t.f}function P4n(t){var e,n,r,s;for(e=Db(ni(new eh("Predicates."),"and"),40),n=!0,s=new gr(t);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),n||(e.a+=","),e.a+=""+r,n=!1;return(e.a+=")",e).a}function Wfe(t,e,n){var r,s,o;if(!(n<=e+2))for(s=(n-e)/2|0,r=0;r<s;++r)o=(vn(e+r,t.c.length),u(t.c[e+r],12)),Mh(t,e+r,(vn(n-r-1,t.c.length),u(t.c[n-r-1],12))),vn(n-r-1,t.c.length),t.c[n-r-1]=o}function F4n(t,e,n){var r,s,o,h,d,m,k,T;o=t.d.p,d=o.e,m=o.r,t.g=new dI(m),h=t.d.o.c.p,r=h>0?d[h-1]:Vt(V0,jp,10,0,0,1),s=d[h],k=h<d.length-1?d[h+1]:Vt(V0,jp,10,0,0,1),T=e==n-1,T?fst(t.g,s,k):fst(t.g,r,s)}function Yfe(t){var e;this.j=new fe,this.f=new Os,this.b=(e=u(y1(bo),9),new _h(e,u(Ff(e,e.length),9),0)),this.d=Vt(Fr,ii,28,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,15,1),this.g=t}function Xfe(t,e){var n,r,s;if(e.c.length!=0){for(n=Cfe(t,e),s=!1;!n;)YH(t,e,!0),s=!0,n=Cfe(t,e);s&&YH(t,e,!1),r=mat(e),t.b&&t.b.Gg(r),t.a=_ue(t,(vn(0,e.c.length),u(e.c[0],27))),Xfe(t,r)}}function jot(t,e){var n,r,s;if(r=En(t.Dh(),e),n=e-t.ji(),n<0)if(r)if(r.rk())s=t.Ih(r),s>=0?t.ki(s):C6t(t,r);else throw at(new zn(Jb+r.xe()+aA));else throw at(new zn(Gwe+e+Kwe));else Ph(t,n,r)}function d6t(t){var e,n;if(n=null,e=!1,Lt(t,211)&&(e=!0,n=u(t,211).a),e||Lt(t,263)&&(e=!0,n=""+u(t,263).a),e||Lt(t,492)&&(e=!0,n=""+u(t,492).a),!e)throw at(new Znt(LTt));return n}function g6t(t,e,n){var r,s,o,h,d,m;for(m=Lu(t.e.Dh(),e),r=0,d=t.i,s=u(t.g,124),h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())){if(n==r)return h;++r,d=h+1}if(n==r)return d;throw at(new Bo(uA+n+Ew+r))}function B4n(t,e){var n,r,s,o;if(t.f.c.length==0)return null;for(o=new B6,r=new G(t.f);r.a<r.c.c.length;)n=u(et(r),72),s=n.o,o.b=b.Math.max(o.b,s.a),o.a+=s.b;return o.a+=(t.f.c.length-1)*e,o}function R4n(t){var e,n,r,s;for(n=new Ki,Ma(n,t.o),r=new X2t;n.b!=0;)e=u(n.b==0?null:(ur(n.b!=0),Oh(n,n.a.a)),515),s=Ppe(t,e,!0),s&&ge(r.a,e);for(;r.a.c.length!=0;)e=u(gue(r),515),Ppe(t,e,!1)}function Fp(){Fp=V,rMt=new N6(G_,0),oa=new N6("BOOLEAN",1),ac=new N6("INT",2),ix=new N6("STRING",3),Wa=new N6("DOUBLE",4),ts=new N6("ENUM",5),Qk=new N6("ENUMSET",6),xd=new N6("OBJECT",7)}function T_(t,e){var n,r,s,o,h;r=b.Math.min(t.c,e.c),o=b.Math.min(t.d,e.d),s=b.Math.max(t.c+t.b,e.c+e.b),h=b.Math.max(t.d+t.a,e.d+e.a),s<r&&(n=r,r=s,s=n),h<o&&(n=o,o=h,h=n),hte(t,r,o,s-r,h-o)}function Qfe(t,e){var n,r;if(t.f){for(;e.Ob();)if(n=u(e.Pb(),76),r=n.Lk(),Lt(r,102)&&u(r,19).Bb&Fc&&(!t.e||r.pk()!=QT||r.Lj()!=0)&&n.md()!=null)return e.Ub(),!0;return!1}else return e.Ob()}function Jfe(t,e){var n,r;if(t.f){for(;e.Sb();)if(n=u(e.Ub(),76),r=n.Lk(),Lt(r,102)&&u(r,19).Bb&Fc&&(!t.e||r.pk()!=QT||r.Lj()!=0)&&n.md()!=null)return e.Pb(),!0;return!1}else return e.Sb()}function il(){il=V,tOt=lt(ut(Pe,1),ue,2,6,[VTt,MN,TU,uve,CU,cht,fU]),ZIt=lt(ut(Pe,1),ue,2,6,[VTt,"empty",MN,DN,"elementOnly"]),eOt=lt(ut(Pe,1),ue,2,6,[VTt,"preserve","replace",I1]),ja=new dte}function p6t(t,e,n){var r,s,o;if(e!=n){r=e;do ki(t,r.c),s=r.e,s&&(o=r.d,Tm(t,o.b,o.d),ki(t,s.n),r=Pa(s));while(s);r=n;do ia(t,r.c),s=r.e,s&&(o=r.d,CS(t,o.b,o.d),ia(t,s.n),r=Pa(s));while(s)}}function $ot(t,e,n,r){var s,o,h,d,m;if(r.f.c+r.i.c==0)for(h=t.a[t.c],d=0,m=h.length;d<m;++d)o=h[d],hi(r,o,new lce(t,o,n));return s=u(Ko(Eo(r.f,e)),677),s.b=0,s.c=s.f,s.c==0||pr(u(Oe(s.a,s.b),293)),s}function wk(){wk=V,ET=new oS("MEDIAN_LAYER",0),SA=new oS("TAIL_LAYER",1),kT=new oS("HEAD_LAYER",2),T3=new oS("SPACE_EFFICIENT_LAYER",3),$5=new oS("WIDEST_LAYER",4),j5=new oS("CENTER_LAYER",5)}function b6t(t){var e,n,r,s;for(t.e=0,s=Dr(t.f,0);s.b!=s.d.c;)r=u(Ar(s),10),r.p>=t.d.b.c.length&&(e=new eu(t.d),e.p=r.p-1,ge(t.d.b,e),n=new eu(t.d),n.p=r.p,ge(t.d.b,n)),Aa(r,u(Oe(t.d.b,r.p),30))}function w6t(t,e,n){var r,s,o;if(!t.b[e.g]){for(t.b[e.g]=!0,r=n,!r&&(r=new FI),Zr(r.b,e),o=t.a[e.g].Kc();o.Ob();)s=u(o.Pb(),65),s.b!=e&&w6t(t,s.b,r),s.c!=e&&w6t(t,s.c,r),Zr(r.a,s);return r}return null}function j4n(t){switch(t.g){case 0:case 1:case 2:return ve(),Hn;case 3:case 4:case 5:return ve(),Er;case 6:case 7:case 8:return ve(),Gn;case 9:case 10:case 11:return ve(),Jn;default:return ve(),bc}}function $4n(t,e){var n;return t.c.length==0?!1:(n=hle((vn(0,t.c.length),u(t.c[0],18)).c.i),rh(),n==(Yy(),J5)||n==Q5?!0:t5(Wo(new ln(null,new gn(t,16)),new XJ),new MUt(e)))}function zot(t,e){if(Lt(e,207))return Nin(t,u(e,27));if(Lt(e,193))return Pin(t,u(e,123));if(Lt(e,451))return Oin(t,u(e,166));throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[e])))))}function Zfe(t,e,n){var r,s;if(this.f=t,r=u(tr(t.b,e),260),s=r?r.a:0,P3t(n,s),n>=(s/2|0))for(this.e=r?r.c:null,this.d=s;n++<s;)Pae(this);else for(this.c=r?r.b:null;n-- >0;)s4t(this);this.b=e,this.a=null}function z4n(t,e){var n,r;e.a?xkn(t,e):(n=u(lrt(t.b,e.b),60),n&&n==t.a[e.b.f]&&n.a&&n.a!=e.b.a&&n.c.Fc(e.b),r=u(urt(t.b,e.b),60),r&&t.a[r.f]==e.b&&r.a&&r.a!=e.b.a&&e.b.c.Fc(r),rit(t.b,e.b))}function t1e(t,e){var n,r;if(n=u(Io(t.b,e),127),u(u(Ai(t.r,e),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((Yl(),qw))&&_0e(t,e),r=pmn(t,e),tct(t,e)==(o5(),f2)&&(r+=2*t.w),n.a.a=r}function e1e(t,e){var n,r;if(n=u(Io(t.b,e),127),u(u(Ai(t.r,e),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((Yl(),qw))&&A0e(t,e),r=gmn(t,e),tct(t,e)==(o5(),f2)&&(r+=2*t.w),n.a.b=r}function q4n(t,e){var n,r,s,o;for(o=new fe,r=new G(e);r.a<r.c.c.length;)n=u(et(r),68),ge(o,new Hwt(n,!0)),ge(o,new Hwt(n,!1));s=new Lne(t),s.a.a.$b(),Vre(o,t.b,new hl(lt(ut(wye,1),Ln,693,0,[s])))}function n1e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;return m=t.a,$=t.b,k=e.a,U=e.b,T=n.a,J=n.b,A=r.a,tt=r.b,o=m*U-$*k,h=T*tt-J*A,s=(m-k)*(J-tt)-($-U)*(T-A),d=(o*(T-A)-h*(m-k))/s,P=(o*(J-tt)-h*($-U))/s,new ae(d,P)}function H4n(t,e){var n,r,s;e.Ug("End label pre-processing",1),n=Rt(Ht(X(t,(De(),Y5)))),r=Rt(Ht(X(t,O3))),s=q4(u(X(t,ph),88)),ms(fc(new ln(null,new gn(t.b,16)),new RD),new XZt(n,r,s)),e.Vg()}function m6t(t,e){var n,r,s;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,r=new rr(sr(_s(e).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!go(n)&&(s=n.d.i,t.a[s.p]?ge(t.b,n):m6t(t,s));t.a[e.p]=!1}}function r1e(t,e,n){var r;switch(r=0,u(X(e,(De(),Iu)),171).g){case 2:r=2*-n+t.a,++t.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+t.b,++t.b}return qi(e,(oe(),Pi))&&(r+=u(X(e,Pi),17).a),r}function i1e(t,e,n){var r,s,o;for(n.zc(e,t),ge(t.n,e),o=t.p.zg(e),e.j==t.p.Ag()?Zue(t.e,o):Zue(t.j,o),Hz(t),s=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(e),new k6(e)])));Mr(s);)r=u(dr(s),12),n._b(r)||i1e(t,r,n)}function V4n(t,e,n){var r,s,o;for(n.Ug("Processor set neighbors",1),t.a=e.b.b==0?1:e.b.b,s=null,r=Dr(e.b,0);!s&&r.b!=r.d.c;)o=u(Ar(r),39),Ie(Me(X(o,(ji(),u2))))&&(s=o);s&&u0e(t,new gg(s),n),n.Vg()}function v6t(t){var e,n,r;return n=u(ne(t,(ai(),jw)),21),n.Hc((Yl(),z3))?(r=u(ne(t,l2),21),e=new io(u(ne(t,lx),8)),r.Hc((Ml(),XT))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Sa}function y6t(t){var e,n,r;if(!t.b){for(r=new Ztt,n=new $6(F_(t));n.e!=n.i.gc();)e=u(sot(n),19),e.Bb&Fc&&Or(r,e);Uy(r),t.b=new $4((u(Dt(Qt((Lb(),Fn).o),8),19),r.i),r.g),_l(t).b&=-9}return t.b}function Zy(t){var e,n,r;for(n=t.length,r=0;r<n&&(qn(r,t.length),t.charCodeAt(r)<=32);)++r;for(e=n;e>r&&(qn(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return r>0||e<n?(Da(r,e,t.length),t.substr(r,e-r)):t}function U4n(t,e){var n,r,s,o,h,d,m,k;m=u(v_(U6(e.k),Vt(bo,qc,64,2,0,1)),126),k=e.g,n=die(e,m[0]),s=fie(e,m[1]),r=yot(t,k,n,s),o=die(e,m[1]),d=fie(e,m[0]),h=yot(t,k,o,d),r<=h?(e.a=n,e.c=s):(e.a=o,e.c=d)}function IO(t){var e;mn();var n,r,s,o,h,d;if(Lt(t,59))for(o=0,s=t.gc()-1;o<s;++o,--s)e=t.Xb(o),t.hd(o,t.Xb(s)),t.hd(s,e);else for(n=t.ed(),h=t.fd(t.gc());n.Tb()<h.Vb();)r=n.Pb(),d=h.Ub(),n.Wb(d),h.Wb(r)}function GH(t,e){var n,r,s,o,h,d;for(d=0,o=new K4,Ob(o,e);o.b!=o.c;)for(h=u(K6(o),219),d+=_he(h.d,h.e),s=new G(h.b);s.a<s.c.c.length;)r=u(et(s),36),n=u(Oe(t.b,r.p),219),n.s||(d+=GH(t,n));return d}function s1e(t,e,n,r,s){var o,h,d,m,k;if(e)for(d=e.Kc();d.Ob();)for(h=u(d.Pb(),10),k=pkt(h,(To(),ku),n).Kc();k.Ob();)m=u(k.Pb(),12),o=u(Ko(Eo(s.f,m)),118),o||(o=new eO(t.d),In(r.c,o),i1e(o,m,s))}function a1e(t,e,n){var r,s;Cce(this),e==(Bm(),c2)?qs(this.r,t.c):qs(this.w,t.c),n==c2?qs(this.r,t.d):qs(this.w,t.d),qfe(this,t),r=Fat(t.c),s=Fat(t.d),Ife(this,r,s,s),this.o=(D_(),b.Math.abs(r-s)<.2)}function o1e(t,e,n){var r,s,o,h,d,m;if(d=u(jn(t.a,8),2035),d!=null)for(s=d,o=0,h=s.length;o<h;++o)null.Um();r=n,t.a.Db&1||(m=new Pee(t,n,e),r.dj(m)),Lt(r,686)?u(r,686).fj(t.a):r.cj()==t.a&&r.ej(null)}function G4n(){var t;return t9e?u(N7((Eb(),yf),Cw),2044):(kCn(),t=u(Lt(nu((Eb(),yf),Cw),594)?nu(yf,Cw):new Gee,594),t9e=!0,cSn(t),HSn(t),hi((Owt(),$It),t,new tE),kot(t),jo(yf,Cw,t),t)}function K4n(t,e,n,r){var s;return s=d5(t,n,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut]),e),s<0&&(s=d5(t,n,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function W4n(t,e,n,r){var s;return s=d5(t,n,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut]),e),s<0&&(s=d5(t,n,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),s<0?!1:(r.d=s,!0)}function yu(t,e,n){var r,s,o,h;if(h=t.b.Ce(e),s=(r=t.a.get(h),r??Vt(aa,Ln,1,0,5,1)),s.length==0)t.a.set(h,s);else if(o=wue(t,e,s),o)return o.nd(n);return ls(s,s.length,new I$(e,n)),++t.c,++t.b.g,null}function Y4n(t){var e,n,r;for(o6n(t),r=new fe,n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),ge(r,new Gwt(e,!0)),ge(r,new Gwt(e,!1));Fmn(t.c),MI(r,t.b,new hl(lt(ut(GN,1),Ln,382,0,[t.c]))),yxn(t)}function OO(t,e){var n,r,s;for(s=new fe,r=new G(t.c.a.b);r.a<r.c.c.length;)n=u(et(r),60),e.Lb(n)&&(ge(s,new jwt(n,!0)),ge(s,new jwt(n,!1)));Pmn(t.e),Vre(s,t.d,new hl(lt(ut(wye,1),Ln,693,0,[t.e])))}function X4n(t){var e,n,r,s;for(n=new _r,s=new G(t.d);s.a<s.c.c.length;)r=u(et(s),187),e=u(r.of((oe(),Vk)),18),Eo(n.f,e)||hi(n,e,new kne(e)),ge(u(Ko(Eo(n.f,e)),465).b,r);return new fl(new si(n))}function Q4n(t,e){var n,r,s,o,h;for(r=new Gre(t.j.c.length),n=null,o=new G(t.j);o.a<o.c.c.length;)s=u(et(o),12),s.j!=n&&(r.b==r.c||Ede(r,n,e),E3t(r),n=s.j),h=sde(s),h&&w3t(r,h);r.b==r.c||Ede(r,n,e)}function J4n(t,e){var n,r,s;for(r=new La(t.b,0);r.b<r.d.gc();)n=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),72)),s=u(X(n,(De(),l0)),278),s==(cd(),$3)&&(Kl(r),ge(e.b,n),qi(n,(oe(),Vk))||Zt(n,Vk,t))}function Z4n(t){var e,n,r,s,o;for(e=xg(new rr(sr(_s(t).a.Kc(),new z))),s=new rr(sr(ua(t).a.Kc(),new z));Mr(s);)r=u(dr(s),18),n=r.c.i,o=xg(new rr(sr(_s(n).a.Kc(),new z))),e=b.Math.max(e,o);return he(e)}function c1e(t,e,n){var r,s,o;r=u(ne(t,(ai(),CP)),21),s=0,o=0,e.a>n.a&&(r.Hc((fw(),cL))?s=(e.a-n.a)/2:r.Hc(uL)&&(s=e.a-n.a)),e.b>n.b&&(r.Hc((fw(),hL))?o=(e.b-n.b)/2:r.Hc(lL)&&(o=e.b-n.b)),n6t(t,s,o)}function u1e(t,e,n,r,s,o,h,d,m,k,T,A,P){Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),4),mu(t,n),t.f=h,v7(t,d),x7(t,m),m7(t,k),y7(t,T),Mp(t,A),k7(t,P),Dp(t,!0),Sp(t,s),t.Zk(o),uw(t,e),r!=null&&(t.i=null,Gq(t,r))}function x6t(t,e,n){if(t<0)return M_(abe,lt(ut(aa,1),Ln,1,5,[n,he(t)]));if(e<0)throw at(new zn(obe+e));return M_("%s (%s) must not be greater than size (%s)",lt(ut(aa,1),Ln,1,5,[n,he(t),he(e)]))}function k6t(t,e,n,r,s,o){var h,d,m,k;if(h=r-n,h<7){F2n(e,n,r,o);return}if(m=n+s,d=r+s,k=m+(d-m>>1),k6t(e,t,m,k,-s,o),k6t(e,t,k,d,-s,o),o.Ne(t[k-1],t[k])<=0){for(;n<r;)ls(e,n++,t[m++]);return}Vbn(t,m,k,d,e,n,r,o)}function t5n(t,e){var n,r,s,o,h,d,m;for(m=e.d,s=e.b.j,d=new G(m);d.a<d.c.c.length;)for(h=u(et(d),105),o=Vt(Fl,$0,28,s.c.length,16,1),hi(t.b,h,o),n=h.a.d.p-1,r=h.c.d.p;n!=r;)n=(n+1)%s.c.length,o[n]=!0}function e5n(t,e){if(m4t(),qi(t,(oe(),Pi))&&qi(e,Pi))return jc(u(X(t,Pi),17).a,u(X(e,Pi),17).a);throw at(new L6("The BF model order layer assigner requires all real nodes to have a model order."))}function n5n(t,e){if(v4t(),qi(t,(oe(),Pi))&&qi(e,Pi))return jc(u(X(t,Pi),17).a,u(X(e,Pi),17).a);throw at(new L6("The DF model order layer assigner requires all real nodes to have a model order."))}function r5n(t,e){for(t.r=new eO(t.p),Z(t.r,t),Ma(t.r.j,t.j),nh(t.j),Zr(t.j,e),Zr(t.r.e,e),Hz(t),Hz(t.r);t.f.c.length!=0;)rJt(u(Oe(t.f,0),132));for(;t.k.c.length!=0;)rJt(u(Oe(t.k,0),132));return t.r}function qot(t,e,n){var r,s,o;if(s=En(t.Dh(),e),r=e-t.ji(),r<0)if(s)if(s.rk())o=t.Ih(s),o>=0?t.bi(o,n):J6t(t,s,n);else throw at(new zn(Jb+s.xe()+aA));else throw at(new zn(Gwe+e+Kwe));else Fh(t,r,s,n)}function l1e(t){var e,n;if(t.f){for(;t.n>0;){if(e=u(t.k.Xb(t.n-1),76),n=e.Lk(),Lt(n,102)&&u(n,19).Bb&Fc&&(!t.e||n.pk()!=QT||n.Lj()!=0)&&e.md()!=null)return!0;--t.n}return!1}else return t.n>0}function h1e(t){var e,n,r,s;if(n=u(t,54)._h(),n)try{if(r=null,e=N7((Eb(),yf),X0e(W2n(n))),e&&(s=e.ai(),s&&(r=s.Fl(Ynn(n.e)))),r&&r!=t)return h1e(r)}catch(o){if(o=es(o),!Lt(o,63))throw at(o)}return t}function i5n(t,e,n){var r,s,o;n.Ug("Remove overlaps",1),n.dh(e,I7t),r=u(ne(e,(Y4(),ex)),27),t.f=r,t.a=oot(u(ne(e,(Ub(),wP)),299)),s=Ht(ne(e,(ai(),$w))),St(t,(Wn(s),s)),o=n3(r),mpe(t,e,o,n),n.dh(e,iU)}function s5n(t){var e,n,r;if(Ie(Me(ne(t,(ai(),_P))))){for(r=new fe,n=new rr(sr(Og(t).a.Kc(),new z));Mr(n);)e=u(dr(n),74),Zm(e)&&Ie(Me(ne(e,Ndt)))&&In(r.c,e);return r}else return mn(),mn(),co}function f1e(t){if(!t)return hWt(),Kve;var e=t.valueOf?t.valueOf():t;if(e!==t){var n=Lht[typeof e];return n?n(e):f5t(typeof e)}else return t instanceof Array||t instanceof b.Array?new Xj(t):new uE(t)}function d1e(t,e,n){var r,s,o;switch(o=t.o,r=u(Io(t.p,n),252),s=r.i,s.b=FO(r),s.a=PO(r),s.b=b.Math.max(s.b,o.a),s.b>o.a&&!e&&(s.b=o.a),s.c=-(s.b-o.a)/2,n.g){case 1:s.d=-s.a;break;case 3:s.d=o.b}dct(r),gct(r)}function g1e(t,e,n){var r,s,o;switch(o=t.o,r=u(Io(t.p,n),252),s=r.i,s.b=FO(r),s.a=PO(r),s.a=b.Math.max(s.a,o.b),s.a>o.b&&!e&&(s.a=o.b),s.d=-(s.a-o.b)/2,n.g){case 4:s.c=-s.b;break;case 2:s.c=o.a}dct(r),gct(r)}function a5n(t,e){var n,r,s,o,h;if(!e.dc()){if(s=u(e.Xb(0),131),e.gc()==1){Ude(t,s,s,1,0,e);return}for(n=1;n<e.gc();)(s.j||!s.o)&&(o=fvn(e,n),o&&(r=u(o.a,17).a,h=u(o.b,131),Ude(t,s,h,n,r,e),n=r+1,s=h))}}function o5n(t){var e,n,r,s,o,h;for(h=new fl(t.d),Ds(h,new e6),e=(iV(),lt(ut(xSt,1),te,276,0,[xft,Tft,yft,_ft,Eft,kft,Sft,Cft])),n=0,o=new G(h);o.a<o.c.c.length;)s=u(et(o),105),r=e[n%e.length],axn(s,r),++n}function c5n(t,e){w5();var n,r,s,o;if(e.b<2)return!1;for(o=Dr(e,0),n=u(Ar(o),8),r=n;o.b!=o.d.c;){if(s=u(Ar(o),8),!(i7(t,r)&&i7(t,s)))return!1;r=s}return!!(i7(t,r)&&i7(t,n))}function E6t(t,e){var n,r,s,o,h,d,m,k,T,A;return T=null,A=t,h=_g(A,"x"),n=new LGt(e),$0n(n.a,h),d=_g(A,"y"),r=new DGt(e),z0n(r.a,d),m=_g(A,Klt),s=new MGt(e),q0n(s.a,m),k=_g(A,Glt),o=new IGt(e),T=(H0n(o.a,k),k),T}function t3(t,e){T0e(t,e),t.b&1&&(t.a.a=null),t.b&2&&(t.a.f=null),t.b&4&&(t.a.g=null,t.a.i=null),t.b&16&&(t.a.d=null,t.a.e=null),t.b&8&&(t.a.b=null),t.b&32&&(t.a.j=null,t.a.c=null)}function u5n(t,e){var n,r,s;if(s=0,e.length>0)try{s=lh(e,Ga,xi)}catch(o){throw o=es(o),Lt(o,130)?(r=o,at(new _q(r))):at(o)}return n=(!t.a&&(t.a=new Bnt(t)),t.a),s<n.i&&s>=0?u(Dt(n,s),58):null}function l5n(t,e){if(t<0)return M_(abe,lt(ut(aa,1),Ln,1,5,["index",he(t)]));if(e<0)throw at(new zn(obe+e));return M_("%s (%s) must be less than size (%s)",lt(ut(aa,1),Ln,1,5,["index",he(t),he(e)]))}function h5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function f5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function d5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function g5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+e);return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function p1e(t,e){var n,r,s,o,h,d;for(n=t.b.c.length,s=Oe(t.b,e);e*2+1<n&&(r=(o=2*e+1,h=o+1,d=o,h<n&&t.a.Ne(Oe(t.b,h),Oe(t.b,o))<0&&(d=h),d),!(t.a.Ne(s,Oe(t.b,r))<0));)Mh(t.b,e,Oe(t.b,r)),e=r;Mh(t.b,e,s)}function Hot(t,e,n){var r,s;return r=n.d,s=n.e,t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]&&t.g[s.d]<=t.i[e.d]&&t.i[e.d]<=t.i[s.d]?!(t.i[r.d]<t.i[s.d]):t.i[r.d]<t.i[s.d]}function p5n(t,e){var n;if(n=u(X(e,(De(),FA)),322),n!=t)throw at(new L6("The hierarchy aware processor "+n+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}function b5n(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new Jt(Wu,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(Dt(r,s),179),Om($o(t,n))){case 2:case 3:!o&&(o=new fe),In(o.c,n)}return o||(mn(),mn(),co)}function b1e(t,e,n){var r,s,o,h,d,m;for(m=Zi,o=new G(Nde(t.b));o.a<o.c.c.length;)for(s=u(et(o),177),d=new G(Nde(e.b));d.a<d.c.c.length;)h=u(et(d),177),r=jpn(s.a,s.b,h.a,h.b,n),m=b.Math.min(m,r);return m}function Xs(t,e){if(!e)throw at(new E6);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function w5n(t,e){var n,r,s;return Lt(e.g,10)&&u(e.g,10).k==(Un(),Ms)?Zi:(s=ek(e),s?b.Math.max(0,t.b/2-.5):(n=J4(e),n?(r=Rt(Ht(Wy(n,(De(),Av)))),b.Math.max(0,r/2-.5)):Zi))}function m5n(t,e){var n,r,s;return Lt(e.g,10)&&u(e.g,10).k==(Un(),Ms)?Zi:(s=ek(e),s?b.Math.max(0,t.b/2-.5):(n=J4(e),n?(r=Rt(Ht(Wy(n,(De(),Av)))),b.Math.max(0,r/2-.5)):Zi))}function v5n(t,e){Bf();var n,r,s,o,h,d;for(n=null,h=e.Kc();h.Ob();)o=u(h.Pb(),131),!o.o&&(r=Zin(o.a),s=sun(o.a),d=new P_(r,s,null,u(o.d.a.ec().Kc().Pb(),18)),ge(d.c,o.a),In(t.c,d),n&&ge(n.d,d),n=d)}function y5n(t){var e,n,r,s,o,h;for(h=c_(t.d,t.e),o=h.Kc();o.Ob();)for(s=u(o.Pb(),12),r=t.e==(ve(),Gn)?s.e:s.g,n=new G(r);n.a<n.c.c.length;)e=u(et(n),18),!go(e)&&e.c.i.c!=e.d.i.c&&(y4n(t,e),++t.f,++t.c)}function w1e(t,e){var n,r;if(e.dc())return mn(),mn(),co;for(r=new fe,ge(r,he(Ga)),n=1;n<t.f;++n)t.a==null&&E0e(t),t.a[n]&&ge(r,he(n));return r.c.length==1?(mn(),mn(),co):(ge(r,he(xi)),D7n(e,r))}function x5n(t,e){var n,r,s,o,h,d,m;h=e.c.i.k!=(Un(),xs),m=h?e.d:e.c,n=Dvn(e,m).i,s=u(tr(t.k,m),125),r=t.i[n.p].a,PZt(m.i)<(n.c?Xo(n.c.a,n,0):-1)?(o=s,d=r):(o=r,d=s),Hf(Of(If(Nf(Mf(new tf,0),4),o),d))}function k5n(t,e,n){var r,s,o,h,d,m;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=wot(t,mk($y(n,h.a))),m&&(o=(!e.b&&(e.b=new kn(vr,e,4,7)),e.b),Or(o,m))}function E5n(t,e,n){var r,s,o,h,d,m;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=wot(t,mk($y(n,h.a))),m&&(o=(!e.c&&(e.c=new kn(vr,e,5,8)),e.c),Or(o,m))}function NO(t,e,n){var r,s;r=e.a&t.f,e.b=t.b[r],t.b[r]=e,s=e.f&t.f,e.d=t.c[s],t.c[s]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function m1e(t){var e,n,r;if(e=t.Pb(),!t.Ob())return e;for(r=tu(ni(new yb,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)tu((r.a+=ao,r),t.Pb());throw t.Ob()&&(r.a+=", ..."),r.a+=">",at(new zn(r.a))}function T5n(t){var e,n;return n=-t.a,e=lt(ut(Yh,1),Zd,28,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&js,e[2]=e[2]+(n/60|0)%10&js,e[3]=e[3]+(n%60/10|0)&js,e[4]=e[4]+n%10&js,af(e,0,e.length)}function T6t(t){var e,n,r,s;for(t.g=new d_(u(Hr(bo),296)),r=0,n=(ve(),Hn),e=0;e<t.j.c.length;e++)s=u(Oe(t.j,e),12),s.j!=n&&(r!=e&&W6(t.g,n,new Ws(he(r),he(e))),n=s.j,r=e);W6(t.g,n,new Ws(he(r),he(e)))}function C5n(t){var e,n,r,s,o,h,d;for(r=0,n=new G(t.b);n.a<n.c.c.length;)for(e=u(et(n),30),o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),s.p=r++,d=new G(s.j);d.a<d.c.c.length;)h=u(et(d),12),h.p=r++}function C6t(t,e){var n,r,s;if(s=y5((il(),ja),t.Dh(),e),s)vo(),u(s,69).xk()||(s=tk($o(ja,s))),r=(n=t.Ih(s),u(n>=0?t.Lh(n,!0,!0):tv(t,s,!0),160)),u(r,220).Zl(e);else throw at(new zn(Jb+e.xe()+aA))}function S6t(t){var e,n;return t>-0x800000000000&&t<0x800000000000?t==0?0:(e=t<0,e&&(t=-t),n=Ys(b.Math.floor(b.Math.log(t)/.6931471805599453)),(!e||t!=b.Math.pow(2,n))&&++n,n):Dce(Pc(t))}function S5n(t){var e,n,r,s,o,h,d;for(o=new zd,n=new G(t);n.a<n.c.c.length;)e=u(et(n),132),h=e.a,d=e.b,!(o.a._b(h)||o.a._b(d))&&(s=h,r=d,h.e.b+h.j.b>2&&d.e.b+d.j.b<=2&&(s=d,r=h),o.a.zc(s,o),s.q=r);return o}function _5n(t,e,n){n.Ug("Eades radial",1),n.dh(e,iU),t.d=u(ne(e,(Y4(),ex)),27),t.c=Rt(Ht(ne(e,(Ub(),gK)))),t.e=oot(u(ne(e,wP),299)),t.a=nwn(u(ne(e,QLt),434)),t.b=kyn(u(ne(e,KLt),354)),iyn(t),n.dh(e,iU)}function A5n(t,e){if(e.Ug("Target Width Setter",1),ad(t,(fd(),ddt)))Mi(t,(N0(),B3),Ht(ne(t,ddt)));else throw at(new fp("A target width has to be set if the TargetWidthWidthApproximator should be used."));e.Vg()}function v1e(t,e){var n,r,s;return r=new Ig(t),Qo(r,e),Zt(r,(oe(),MG),e),Zt(r,(De(),bs),(ka(),hu)),Zt(r,u0,(I0(),SK)),y(r,(Un(),Ms)),n=new Yc,hc(n,r),Xs(n,(ve(),Gn)),s=new Yc,hc(s,r),Xs(s,Jn),r}function y1e(t){switch(t.g){case 0:return new Xnt((Hm(),hP));case 1:return new Zet;case 2:return new tnt;default:throw at(new zn("No implementation is available for the crossing minimizer "+(t.f!=null?t.f:""+t.g)))}}function x1e(t,e){var n,r,s,o,h;for(t.c[e.p]=!0,ge(t.a,e),h=new G(e.j);h.a<h.c.c.length;)for(o=u(et(h),12),r=new sd(o.b);lc(r.a)||lc(r.b);)n=u(lc(r.a)?et(r.a):et(r.b),18),s=Awn(o,n).i,t.c[s.p]||x1e(t,s)}function k1e(t){var e,n,r,s,o,h,d;for(h=0,n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)e=u(ar(n),27),d=e.g,s=e.f,r=b.Math.sqrt(d*d+s*s),h=b.Math.max(r,h),o=k1e(e),h=b.Math.max(o,h);return h}function wl(){wl=V,g2=new pS("OUTSIDE",0),Hg=new pS("INSIDE",1),FP=new pS("NEXT_TO_PORT_IF_POSSIBLE",2),yL=new pS("ALWAYS_SAME_SIDE",3),vL=new pS("ALWAYS_OTHER_SAME_SIDE",4),n8=new pS("SPACE_EFFICIENT",5)}function E1e(t,e,n){var r,s,o,h,d,m;return r=M1n(t,(s=(kb(),o=new VC,o),n&&tV(s,n),s),e),n7(r,yg(e,a0)),qH(e,r),qxn(e,r),E6t(e,r),h=e,d=jm(h,"ports"),m=new sQt(t,r),S6n(m.a,m.b,d),xat(t,e,r),Npn(t,e,r),r}function L5n(t){var e,n;return n=-t.a,e=lt(ut(Yh,1),Zd,28,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&js,e[2]=e[2]+(n/60|0)%10&js,e[4]=e[4]+(n%60/10|0)&js,e[5]=e[5]+n%10&js,af(e,0,e.length)}function D5n(t){var e;return e=lt(ut(Yh,1),Zd,28,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&js,e[5]=e[5]+(t/60|0)%10&js,e[7]=e[7]+(t%60/10|0)&js,e[8]=e[8]+t%10&js,af(e,0,e.length)}function M5n(t){var e,n,r,s,o;if(t==null)return Vu;for(o=new aw(ao,"[","]"),n=t,r=0,s=n.length;r<s;++r)e=n[r],o.a?ni(o.a,o.b):o.a=new eh(o.d),mS(o.a,""+OS(e));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function _6t(t,e){var n,r,s;for(s=xi,r=new G(s5(e));r.a<r.c.c.length;)n=u(et(r),218),n.f&&!t.c[n.c]&&(t.c[n.c]=!0,s=b.Math.min(s,_6t(t,gH(n,e))));return t.i[e.d]=t.j,t.g[e.d]=b.Math.min(s,t.j++),t.g[e.d]}function T1e(t,e){var n,r,s;for(s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),r.e.b=(n=r.b,n.pf((ai(),Pl))?n.ag()==(ve(),Hn)?-n.Mf().b-Rt(Ht(n.of(Pl))):Rt(Ht(n.of(Pl))):n.ag()==(ve(),Hn)?-n.Mf().b:0)}function I5n(t){var e,n,r,s,o,h,d;for(n=Smt(t.e),o=qd(CS(Oa(Cmt(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-o.a,s=n.b-o.b,d=0;d<t.c;d++){for(r=e,h=0;h<t.d;h++)G2n(t.e,new Ah(r,s,t.a,t.b))&&cV(t,h,d,!1,!0),r+=t.a;s+=t.b}}function A6t(t){var e,n,r,s,o;e=t.a,n=t.b,s=t.c,r=new ae(n.e.a+n.f.a/2,n.e.b+n.f.b/2),o=new ae(s.e.a+s.f.a/2,s.e.b+s.f.b/2),hs(e,r,e.a,e.a.a),hs(e,o,e.c.b,e.c),Ofe(r,u(jh(e,1),8),t.b.f),Ofe(o,u(jh(e,e.b-2),8),t.c.f)}function mk(t){var e,n;if(n=!1,Lt(t,211))return n=!0,u(t,211).a;if(!n&&Lt(t,263)&&(e=u(t,263).a%1==0,e))return n=!0,he(pin(u(t,263).a));throw at(new Rd("Id must be a string or an integer: '"+t+"'."))}function O5n(t,e){var n,r,s,o,h,d;for(o=null,s=new hee((!t.a&&(t.a=new Bnt(t)),t.a));O6t(s);)if(n=u(XH(s),58),r=(h=n.Dh(),d=(v5(h),h.o),!d||!n.Xh(d)?null:kvt(bat(d),n.Mh(d))),r!=null&&hn(r,e)){o=n;break}return o}function C1e(t,e,n){var r,s,o,h,d;if(oh(n,"occurrences"),n==0)return d=u(Gy(Q6(t.a),e),16),d?d.gc():0;if(h=u(Gy(Q6(t.a),e),16),!h)return 0;if(o=h.gc(),n>=o)h.$b();else for(s=h.Kc(),r=0;r<n;r++)s.Pb(),s.Qb();return o}function N5n(t,e,n){var r,s,o,h;return oh(n,"oldCount"),oh(0,"newCount"),r=u(Gy(Q6(t.a),e),16),(r?r.gc():0)==n?(oh(0,"count"),s=(o=u(Gy(Q6(t.a),e),16),o?o.gc():0),h=-s,h>0?fwt():h<0&&C1e(t,e,-h),!0):!1}function PO(t){var e,n,r,s,o,h,d;if(d=0,t.b==0){for(h=ahe(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}else d=EWt(lat(Ny(_i(xyt(t.a),new Ea),new gu)));return d>0?d+t.n.d+t.n.a:0}function FO(t){var e,n,r,s,o,h,d;if(d=0,t.b==0)d=EWt(lat(Ny(_i(xyt(t.a),new Ic),new wc)));else{for(h=ohe(t,!0),e=0,r=h,s=0,o=r.length;s<o;++s)n=r[s],n>0&&(d+=n,++e);e>1&&(d+=t.c*(e-1))}return d>0?d+t.n.b+t.n.c:0}function P5n(t){var e,n;if(t.c.length!=2)throw at(new Ro("Order only allowed for two paths."));e=(vn(0,t.c.length),u(t.c[0],18)),n=(vn(1,t.c.length),u(t.c[1],18)),e.d.i!=n.c.i&&(t.c.length=0,In(t.c,n),In(t.c,e))}function S1e(t,e,n){var r;for(H4(n,e.g,e.f),Ch(n,e.i,e.j),r=0;r<(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i;r++)S1e(t,u(Dt((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),r),27),u(Dt((!n.a&&(n.a=new Jt(bi,n,10,11)),n.a),r),27))}function F5n(t,e){var n,r,s,o;for(o=u(Io(t.b,e),127),n=o.a,s=u(u(Ai(t.r,e),21),87).Kc();s.Ob();)r=u(s.Pb(),117),r.c&&(n.a=b.Math.max(n.a,Jvt(r.c)));if(n.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function B5n(t,e){var n,r,s;return n=u(X(e,(Vf(),jk)),17).a-u(X(t,jk),17).a,n==0?(r=ia(Oa(u(X(t,(Pb(),UN)),8)),u(X(t,TA),8)),s=ia(Oa(u(X(e,UN),8)),u(X(e,TA),8)),Bi(r.a*r.b,s.a*s.b)):n}function R5n(t,e){var n,r,s;return n=u(X(e,(Cc(),uK)),17).a-u(X(t,uK),17).a,n==0?(r=ia(Oa(u(X(t,(ji(),gP)),8)),u(X(t,zT),8)),s=ia(Oa(u(X(e,gP),8)),u(X(e,zT),8)),Bi(r.a*r.b,s.a*s.b)):n}function _1e(t){var e,n;return n=new yb,n.a+="e_",e=Mpn(t),e!=null&&(n.a+=""+e),t.c&&t.d&&(ni((n.a+=" ",n),BH(t.c)),ni(tu((n.a+="[",n),t.c.i),"]"),ni((n.a+=But,n),BH(t.d)),ni(tu((n.a+="[",n),t.d.i),"]")),n.a}function A1e(t){switch(t.g){case 0:return new cnt;case 1:return new rE;case 2:return new ont;case 3:return new ant;default:throw at(new zn("No implementation is available for the layout phase "+(t.f!=null?t.f:""+t.g)))}}function L6t(t,e,n,r,s){var o;switch(o=0,s.g){case 1:o=b.Math.max(0,e.b+t.b-(n.b+r));break;case 3:o=b.Math.max(0,-t.b-r);break;case 2:o=b.Math.max(0,-t.a-r);break;case 4:o=b.Math.max(0,e.a+t.a-(n.a+r))}return o}function j5n(t,e,n){var r,s,o,h,d;if(n)for(s=n.a.length,r=new W2(s),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),o=qE(n,h.a),ETt in o.a||Qlt in o.a?Z8n(t,o,e):mSn(t,o,e),wsn(u(tr(t.b,T7(o)),74))}function D6t(t){var e,n;switch(t.b){case-1:return!0;case 0:return n=t.t,n>1||n==-1?(t.b=-1,!0):(e=of(t),e&&(vo(),e.lk()==Wme)?(t.b=-1,!0):(t.b=1,!1));default:case 1:return!1}}function M6t(t,e){var n,r,s,o;if(wi(t),t.c!=0||t.a!=123)throw at(new Yr(Qr((Ur(),bme))));if(o=e==112,r=t.d,n=TE(t.i,125,r),n<0)throw at(new Yr(Qr((Ur(),wme))));return s=Lh(t.i,r,n),t.d=n+1,Qse(s,o,(t.e&512)==512)}function L1e(t){var e,n,r,s,o,h,d;if(r=t.a.c.length,r>0)for(h=t.c.d,d=t.d.d,s=qd(ia(new ae(d.a,d.b),h),1/(r+1)),o=new ae(h.a,h.b),n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),250),e.d.a=o.a+s.a,e.d.b=o.b+s.b,ki(o,s)}function $5n(t,e){var n,r,s;if(!e)nat(t,null),t7(t,null);else if(e.i&4)for(r="[]",n=e.c;;n=n.c){if(!(n.i&4)){s=lwt((wg(n),n.o+r)),nat(t,s),t7(t,s);break}r+="[]"}else s=lwt((wg(e),e.o)),nat(t,s),t7(t,s);t.hl(e)}function C_(t,e,n,r,s){var o,h,d,m;return m=lit(t,u(s,58)),$t(m)!==$t(s)?(d=u(t.g[n],76),o=D0(e,m),kS(t,n,Dot(t,n,o)),Hl(t.e)&&(h=Ib(t,9,o.Lk(),s,m,r,!1),Hxt(h,new Tg(t.e,9,t.c,d,o,r,!1)),Vst(h)),m):s}function z5n(t,e,n){var r,s,o,h,d,m;for(r=u(Ai(t.c,e),15),s=u(Ai(t.c,n),15),o=r.fd(r.gc()),h=s.fd(s.gc());o.Sb()&&h.Sb();)if(d=u(o.Ub(),17),m=u(h.Ub(),17),d!=m)return jc(d.a,m.a);return!o.Ob()&&!h.Ob()?0:o.Ob()?1:-1}function q5n(t){var e,n,r,s,o,h,d;for(d=C0(t.c.length),s=new G(t);s.a<s.c.c.length;){for(r=u(et(s),10),h=new Os,o=_s(r),n=new rr(sr(o.a.Kc(),new z));Mr(n);)e=u(dr(n),18),e.c.i==e.d.i||qs(h,e.d.i);In(d.c,h)}return d}function D1e(t,e){var n,r,s;try{return s=t1n(t.a,e),s}catch(o){if(o=es(o),Lt(o,33)){try{if(r=lh(e,Ga,xi),n=y1(t.a),r>=0&&r<n.length)return n[r]}catch(h){if(h=es(h),!Lt(h,130))throw at(h)}return null}else throw at(o)}}function Vot(t,e){var n,r,s;if(s=y5((il(),ja),t.Dh(),e),s)return vo(),u(s,69).xk()||(s=tk($o(ja,s))),r=(n=t.Ih(s),u(n>=0?t.Lh(n,!0,!0):tv(t,s,!0),160)),u(r,220).Wl(e);throw at(new zn(Jb+e.xe()+qlt))}function H5n(){Nwt();var t;return ITe?u(N7((Eb(),yf),hf),2038):(ui(Sw,new gM),R9n(),t=u(Lt(nu((Eb(),yf),hf),560)?nu(yf,hf):new Uee,560),ITe=!0,jSn(t),GSn(t),hi((Owt(),$It),t,new K1),jo(yf,hf,t),t)}function V5n(t,e){var n,r,s,o;t.j=-1,Hl(t.e)?(n=t.i,o=t.i!=0,PI(t,e),r=new Tg(t.e,3,t.c,null,e,n,o),s=e.zl(t.e,t.c,null),s=cfe(t,e,s),s?(s.nj(r),s.oj()):Ei(t.e,r)):(PI(t,e),s=e.zl(t.e,t.c,null),s&&s.oj())}function KH(t,e){var n,r,s;if(s=0,r=e[0],r>=t.length)return-1;for(n=(qn(r,t.length),t.charCodeAt(r));n>=48&&n<=57&&(s=s*10+(n-48),++r,!(r>=t.length));)n=(qn(r,t.length),t.charCodeAt(r));return r>e[0]?e[0]=r:s=-1,s}function U5n(t){var e,n,r,s,o;return s=u(t.a,17).a,o=u(t.b,17).a,n=s,r=o,e=b.Math.max(b.Math.abs(s),b.Math.abs(o)),s<=0&&s==o?(n=0,r=o-1):s==-e&&o!=e?(n=o,r=s,o>=0&&++n):(n=-o,r=s),new Ws(he(n),he(r))}function G5n(t,e,n,r){var s,o,h,d,m,k;for(s=0;s<e.o;s++)for(o=s-e.j+n,h=0;h<e.p;h++)if(d=h-e.k+r,m=o,k=d,m+=t.j,k+=t.k,m>=0&&k>=0&&m<t.o&&k<t.p&&(!dhe(e,s,h)&&lhe(t,o,d)||u5(e,s,h)&&!Rmn(t,o,d)))return!0;return!1}function K5n(t,e,n){var r,s,o,h,d;h=t.c,d=t.d,o=dc(lt(ut(la,1),ue,8,0,[h.i.n,h.n,h.a])).b,s=(o+dc(lt(ut(la,1),ue,8,0,[d.i.n,d.n,d.a])).b)/2,r=null,h.j==(ve(),Jn)?r=new ae(e+h.i.c.c.a+n,s):r=new ae(e-n,s),CE(t.a,0,r)}function Zm(t){var e,n,r,s;for(e=null,r=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.b&&(t.b=new kn(vr,t,4,7)),t.b),(!t.c&&(t.c=new kn(vr,t,5,8)),t.c)])));Mr(r);)if(n=u(dr(r),84),s=Jo(n),!e)e=s;else if(e!=s)return!1;return!0}function Uot(t,e,n){var r;if(++t.j,e>=t.i)throw at(new Bo(Zlt+e+Ew+t.i));if(n>=t.i)throw at(new Bo(tht+n+Ew+t.i));return r=t.g[n],e!=n&&(e<n?Xc(t.g,e,t.g,e+1,n-e):Xc(t.g,n+1,t.g,n,e-n),ls(t.g,e,r),t.Pi(e,r,n),t.Ni()),r}function dn(t,e,n){var r;if(r=u(t.c.xc(e),16),r)return r.Fc(n)?(++t.d,!0):!1;if(r=t.ic(e),r.Fc(n))return++t.d,t.c.zc(e,r),!0;throw at(new I3t("New Collection violated the Collection spec"))}function BO(t){var e,n,r;return t<0?0:t==0?32:(r=-(t>>16),e=r>>16&16,n=16-e,t=t>>e,r=t-256,e=r>>16&8,n+=e,t<<=e,r=t-u3,e=r>>16&4,n+=e,t<<=e,r=t-Jd,e=r>>16&2,n+=e,t<<=e,r=t>>14,e=r&~(r>>1),n+2-e)}function W5n(t){J6();var e,n,r,s;for(VU=new fe,Jht=new _r,Qht=new fe,e=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),RCn(e),s=new Zn(e);s.e!=s.i.gc();)r=u(ar(s),27),Xo(VU,r,0)==-1&&(n=new fe,ge(Qht,n),Ile(r,n));return Qht}function Y5n(t,e,n){var r,s,o,h;t.a=n.b.d,Lt(e,326)?(s=b5(u(e,74),!1,!1),o=MO(s),r=new jC(t),Fa(o,r),KO(o,s),e.of((ai(),Iv))!=null&&Fa(u(e.of(Iv),75),r)):(h=u(e,422),h.rh(h.nh()+t.a.a),h.sh(h.oh()+t.a.b))}function X5n(t,e){var n,r,s;for(s=new fe,r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.c.g==t.g&&$t(X(n.b,(Cc(),h0)))!==$t(X(n.c,h0))&&!t5(new ln(null,new gn(s,16)),new HUt(n))&&In(s.c,n);return Ds(s,new DZ),s}function M1e(t,e,n){var r,s,o,h;return Lt(e,153)&&Lt(n,153)?(o=u(e,153),h=u(n,153),t.a[o.a][h.a]+t.a[h.a][o.a]):Lt(e,250)&&Lt(n,250)&&(r=u(e,250),s=u(n,250),r.a==s.a)?u(X(s.a,(Vf(),jk)),17).a:0}function I1e(t,e){var n,r,s,o,h,d,m,k;for(k=Rt(Ht(X(e,(De(),jA)))),m=t[0].n.a+t[0].o.a+t[0].d.c+k,d=1;d<t.length;d++)r=t[d].n,s=t[d].o,n=t[d].d,o=r.a-n.b-m,o<0&&(r.a-=o),h=e.f,h.a=b.Math.max(h.a,r.a+s.a),m=r.a+s.a+n.c+k}function Q5n(t,e){var n,r,s,o,h,d;return r=u(u(tr(t.g,e.a),42).a,68),s=u(u(tr(t.g,e.b),42).a,68),o=r.b,h=s.b,n=ETn(o,h),n>=0?n:(d=RS(ia(new ae(h.c+h.b/2,h.d+h.a/2),new ae(o.c+o.b/2,o.d+o.a/2))),-(ige(o,h)-1)*d)}function J5n(t,e,n){var r;ms(new ln(null,(!n.a&&(n.a=new Jt(Wi,n,6,6)),new gn(n.a,16))),new GXt(t,e)),ms(new ln(null,(!n.n&&(n.n=new Jt(Po,n,1,7)),new gn(n.n,16))),new KXt(t,e)),r=u(ne(n,(ai(),Iv)),75),r&&P4t(r,t,e)}function tv(t,e,n){var r,s,o;if(o=y5((il(),ja),t.Dh(),e),o)return vo(),u(o,69).xk()||(o=tk($o(ja,o))),s=(r=t.Ih(o),u(r>=0?t.Lh(r,!0,!0):tv(t,o,!0),160)),u(s,220).Sl(e,n);throw at(new zn(Jb+e.xe()+qlt))}function I6t(t,e,n,r){var s,o,h,d,m;if(s=t.d[e],s){if(o=s.g,m=s.i,r!=null){for(d=0;d<m;++d)if(h=u(o[d],136),h.Bi()==n&&Ti(r,h.ld()))return h}else for(d=0;d<m;++d)if(h=u(o[d],136),$t(h.ld())===$t(r))return h}return null}function Z5n(t,e){var n,r,s,o,h;for(r=(!e.s&&(e.s=new Jt(Wu,e,21,17)),e.s),o=null,s=0,h=r.i;s<h;++s)switch(n=u(Dt(r,s),179),Om($o(t,n))){case 4:case 5:case 6:{!o&&(o=new fe),In(o.c,n);break}}return o||(mn(),mn(),co)}function RO(t,e){var n;if(e<0)throw at(new f$("Negative exponent"));if(e==0)return NU;if(e==1||R5t(t,NU)||R5t(t,yA))return t;if(!ide(t,0)){for(n=1;!ide(t,n);)++n;return Z4(cwn(n*e),RO(M3t(t,n),e))}return g3n(t,e)}function txn(t,e){var n,r,s;if($t(t)===$t(e))return!0;if(t==null||e==null||t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(r=t[n],s=e[n],!($t(r)===$t(s)||r!=null&&Ti(r,s)))return!1;return!0}function O1e(t){Mwt();var e,n,r;for(this.b=i4e,this.c=(Rs(),Ed),this.f=(HYt(),r4e),this.a=t,mwt(this,new Kx),eV(this),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),86),n.d||(e=new Zat(lt(ut(sft,1),Ln,86,0,[n])),ge(t.a,e))}function exn(t,e,n){var r,s,o,h,d,m;if(!t||t.c.length==0)return null;for(o=new Pne(e,!n),s=new G(t);s.a<s.c.c.length;)r=u(et(s),72),h6t(o,(JC(),new T0(r)));return h=o.i,h.a=(m=o.n,o.e.b+m.d+m.a),h.b=(d=o.n,o.e.a+d.b+d.c),o}function N1e(t){var e,n,r,s,o,h,d;for(d=II(t.a),xmt(d,new Lf),n=null,s=d,o=0,h=s.length;o<h&&(r=s[o],r.k==(Un(),Ms));++o)e=u(X(r,(oe(),Dc)),64),!(e!=(ve(),Gn)&&e!=Jn)&&(n&&u(X(n,Uk),15).Fc(r),n=r)}function nxn(t,e,n){var r,s,o,h,d,m,k;m=(vn(e,t.c.length),u(t.c[e],339)),Ep(t,e),m.b/2>=n&&(r=e,k=(m.c+m.a)/2,h=k-n,m.c<=k-n&&(s=new yit(m.c,h),Sm(t,r++,s)),d=k+n,d<=m.a&&(o=new yit(d,m.a),Fy(r,t.c.length),sS(t.c,r,o)))}function P1e(t,e,n){var r,s,o,h,d,m;if(!e.dc()){for(s=new Ki,m=e.Kc();m.Ob();)for(d=u(m.Pb(),39),hi(t.a,he(d.g),he(n)),h=(r=Dr(new gg(d).a.d,0),new M4(r));IM(h.a);)o=u(Ar(h.a),65).c,hs(s,o,s.c.b,s.c);P1e(t,s,n+1)}}function O6t(t){var e;if(!t.c&&t.g==null)t.d=t.bj(t.f),Or(t,t.d),e=t.d;else{if(t.g==null)return!0;if(t.i==0)return!1;e=u(t.g[t.i-1],51)}return e==t.b&&null.Vm>=null.Um()?(XH(t),O6t(t)):e.Ob()}function F1e(t){if(this.a=t,t.c.i.k==(Un(),Ms))this.c=t.c,this.d=u(X(t.c.i,(oe(),Dc)),64);else if(t.d.i.k==Ms)this.c=t.d,this.d=u(X(t.d.i,(oe(),Dc)),64);else throw at(new zn("Edge "+t+" is not an external edge."))}function B1e(t,e){var n,r,s;s=t.b,t.b=e,t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,s,t.b)),e?e!=t&&(mu(t,e.zb),Zst(t,e.d),n=(r=e.c,r??e.zb),eat(t,n==null||hn(n,e.zb)?null:n)):(mu(t,null),Zst(t,0),eat(t,null))}function R1e(t,e){var n;this.e=(Dm(),Hr(t),Dm(),W5t(t)),this.c=(Hr(e),W5t(e)),Bmt(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Jue(this.e),this.b=Jue(this.c),n=G2(aa,[ue,Ln],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,_gn(this)}function j1e(t){!_ht&&(_ht=XCn());var e=t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(n){return tfn(n)});return'"'+e+'"'}function N6t(t,e,n,r,s,o){var h,d,m,k,T;if(s!=0)for($t(t)===$t(n)&&(t=t.slice(e,e+s),e=0),m=n,d=e,k=e+s;d<k;)h=b.Math.min(d+1e4,k),s=h-d,T=t.slice(d,h),T.splice(0,0,r,o?s:0),Array.prototype.splice.apply(m,T),d=h,r+=s}function $1e(t){Wyt();var e,n;for(this.b=vye,this.c=xye,this.g=(qYt(),mye),this.d=(Rs(),Ed),this.a=t,nkt(this),n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),60),!e.a&&OJt(Coe(new U2t,lt(ut(RU,1),Ln,60,0,[e])),t),e.e=new tq(e.d)}function rxn(t){var e,n,r,s,o,h;for(s=t.e.c.length,r=Vt(Vh,l3,15,s,0,1),h=new G(t.e);h.a<h.c.c.length;)o=u(et(h),153),r[o.a]=new Ki;for(n=new G(t.c);n.a<n.c.c.length;)e=u(et(n),289),r[e.c.a].Fc(e),r[e.d.a].Fc(e);return r}function ixn(t,e){var n,r,s,o,h;if(n=u(jn(t.a,4),129),h=n==null?0:n.length,e>=h)throw at(new Dy(e,h));return s=n[e],h==1?r=null:(r=Vt(e0t,sht,424,h-1,0,1),Xc(n,0,r,0,e),o=h-e-1,o>0&&Xc(n,e+1,r,e,o)),C7(t,r),o1e(t,e,s),s}function z1e(t){var e,n;if(t.f){for(;t.n<t.o;){if(e=u(t.j?t.j.$i(t.n):t.k.Xb(t.n),76),n=e.Lk(),Lt(n,102)&&u(n,19).Bb&Fc&&(!t.e||n.pk()!=QT||n.Lj()!=0)&&e.md()!=null)return!0;++t.n}return!1}else return t.n<t.o}function vk(){vk=V,s8=u(Dt(Qt((kwt(),Bc).qb),6),35),i8=u(Dt(Qt(Bc.qb),3),35),o0t=u(Dt(Qt(Bc.qb),4),35),c0t=u(Dt(Qt(Bc.qb),5),19),$H(s8),$H(i8),$H(o0t),$H(c0t),FTe=new hl(lt(ut(Wu,1),I5,179,0,[s8,i8]))}function q1e(t,e){var n;this.d=new HC,this.b=e,this.e=new io(e.Lf()),n=t.u.Hc((wl(),FP)),t.u.Hc(Hg)?t.D?this.a=n&&!e.bg():this.a=!0:t.u.Hc(g2)?n?this.a=!(e.Uf().Kc().Ob()||e.Wf().Kc().Ob()):this.a=!1:this.a=!1}function H1e(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),s.e.a=(r=s.b,r.pf((ai(),Pl))?r.ag()==(ve(),Gn)?-r.Mf().a-Rt(Ht(r.of(Pl))):n+Rt(Ht(r.of(Pl))):r.ag()==(ve(),Gn)?-r.Mf().a:n)}function V1e(t,e){var n,r,s,o;n=u(X(t,(De(),ph)),88),o=u(ne(e,NT),64),s=u(X(t,bs),101),s!=(ka(),Td)&&s!=d2?o==(ve(),bc)&&(o=Pkt(e,n),o==bc&&(o=hk(n))):(r=Vge(e),r>0?o=hk(n):o=bO(hk(n))),Mi(e,NT,o)}function sxn(t,e){var n;e.Ug("Partition preprocessing",1),n=u(nc(_i(fc(_i(new ln(null,new gn(t.a,16)),new AQ),new LQ),new HB),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),ms(n.Oc(),new Jx),e.Vg()}function axn(t,e){var n,r,s,o,h;for(h=t.j,e.a!=e.b&&Ds(h,new aC),s=h.c.length/2|0,r=0;r<s;r++)o=(vn(r,h.c.length),u(h.c[r],113)),o.c&&Xs(o.d,e.a);for(n=s;n<h.c.length;n++)o=(vn(n,h.c.length),u(h.c[n],113)),o.c&&Xs(o.d,e.b)}function oxn(t,e,n){var r,s,o;return r=t.c[e.c.p][e.p],s=t.c[n.c.p][n.p],r.a!=null&&s.a!=null?(o=Fit(r.a,s.a),o<0?VO(t,e,n):o>0&&VO(t,n,e),o):r.a!=null?(VO(t,e,n),-1):s.a!=null?(VO(t,n,e),1):0}function cxn(t,e){var n,r,s,o,h;for(s=e.b.b,t.a=Vt(Vh,l3,15,s,0,1),t.b=Vt(Fl,$0,28,s,16,1),h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),t.a[o.g]=new Ki;for(r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function U1e(t,e){var n,r,s,o;t.Pj()?(n=t.Ej(),o=t.Qj(),++t.j,t.qj(n,t.Zi(n,e)),r=t.Ij(3,null,e,n,o),t.Mj()?(s=t.Nj(e,null),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(Nee(t,e),t.Mj()&&(s=t.Nj(e,null),s&&s.oj()))}function P6t(t,e,n){var r,s,o;t.Pj()?(o=t.Qj(),fO(t,e,n),r=t.Ij(3,null,n,e,o),t.Mj()?(s=t.Nj(n,null),t.Tj()&&(s=t.Uj(n,s)),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(fO(t,e,n),t.Mj()&&(s=t.Nj(n,null),s&&s.oj()))}function WH(t,e){var n,r,s,o,h;for(h=Lu(t.e.Dh(),e),s=new pb,n=u(t.g,124),o=t.i;--o>=0;)r=n[o],h.am(r.Lk())&&Or(s,r);!$pe(t,s)&&Hl(t.e)&&hE(t,e.Jk()?Ib(t,6,e,(mn(),co),null,-1,!1):Ib(t,e.tk()?2:1,e,null,null,-1,!1))}function uxn(t,e){var n,r,s,o,h;return t.a==(M7(),AA)?!0:(o=e.a.c,n=e.a.c+e.a.b,!(e.j&&(r=e.A,h=r.c.c.a-r.o.a/2,s=o-(r.n.a+r.o.a),s>h)||e.q&&(r=e.C,h=r.c.c.a-r.o.a/2,s=r.n.a-n,s>h)))}function G1e(t){gst();var e,n,r,s,o,h,d;for(n=new kp,s=new G(t.e.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),d=t.g[o.p],e=u(od(n,d),15),e||(e=new fe,Op(n,d,e)),e.Fc(o);return n}function K1e(t){var e;return t.Db&64?qf(t):(e=new ef(qf(t)),e.a+=" (startX: ",O4(e,t.j),e.a+=", startY: ",O4(e,t.k),e.a+=", endX: ",O4(e,t.b),e.a+=", endY: ",O4(e,t.c),e.a+=", identifier: ",Mo(e,t.d),e.a+=")",e.a)}function F6t(t){var e;return t.Db&64?u_(t):(e=new ef(u_(t)),e.a+=" (ordered: ",gp(e,(t.Bb&256)!=0),e.a+=", unique: ",gp(e,(t.Bb&512)!=0),e.a+=", lowerBound: ",art(e,t.s),e.a+=", upperBound: ",art(e,t.t),e.a+=")",e.a)}function W1e(t,e,n,r,s,o,h,d){var m;return Lt(t.Cb,90)&&t3(_l(u(t.Cb,90)),4),mu(t,n),t.f=r,v7(t,s),x7(t,o),m7(t,h),y7(t,!1),Mp(t,!0),k7(t,d),Dp(t,!0),Sp(t,0),t.b=0,Hy(t,1),m=hd(t,e,null),m&&m.oj(),qat(t,!1),t}function Y1e(t,e){var n,r,s,o;return n=u(nu(t.a,e),525),n||(r=new Ast(e),s=(bq(),wd?null:r.c),o=Lh(s,0,b.Math.max(0,cz(s,Hu(46)))),$an(r,Y1e(t,o)),(wd?null:r.c).length==0&&sZt(r,new _e),jo(t.a,wd?null:r.c,r),r)}function lxn(t,e){var n;t.b=e,t.g=new fe,n=gxn(t.b),t.e=n,t.f=n,t.c=Ie(Me(X(t.b,(RH(),B9t)))),t.a=Ht(X(t.b,(ai(),sx))),t.a==null&&(t.a=1),Rt(t.a)>1?t.e*=Rt(t.a):t.f/=Rt(t.a),Mbn(t),Bwn(t),N8n(t),Zt(t.b,(b_(),HU),t.g)}function X1e(t,e,n){var r,s,o,h,d,m;for(r=0,m=n,e||(r=n*(t.c.length-1),m*=-1),o=new G(t);o.a<o.c.c.length;){for(s=u(et(o),10),Zt(s,(De(),u0),(I0(),SK)),s.o.a=r,d=Pp(s,(ve(),Jn)).Kc();d.Ob();)h=u(d.Pb(),12),h.n.a=r;r+=m}}function yk(t,e,n){var r,s,o,h,d,m;return d=t.pl(n),d!=n?(h=t.g[e],m=d,kS(t,e,t.Zi(e,m)),o=h,t.Ri(e,m,o),t.al()&&(r=n,s=t.Oj(r,null),!u(d,54).Ph()&&(s=t.Nj(m,s)),s&&s.oj()),Hl(t.e)&&hE(t,t.Ij(9,n,d,e,!1)),d):n}function hxn(t,e){var n,r,s,o;for(r=new G(t.a.a);r.a<r.c.c.length;)n=u(et(r),194),n.g=!0;for(o=new G(t.a.b);o.a<o.c.c.length;)s=u(et(o),86),s.k=Ie(Me(t.e.Kb(new Ws(s,e)))),s.d.g=s.d.g&Ie(Me(t.e.Kb(new Ws(s,e))));return t}function Q1e(t,e){var n,r;if(t.c.length!=0){if(t.c.length==2)xk((vn(0,t.c.length),u(t.c[0],10)),(uh(),K0)),xk((vn(1,t.c.length),u(t.c[1],10)),h2);else for(r=new G(t);r.a<r.c.c.length;)n=u(et(r),10),xk(n,e);t.c.length=0}}function J1e(t){var e,n,r,s,o;if(n=(e=u(y1(bo),9),new _h(e,u(Ff(e,e.length),9),0)),o=u(X(t,(oe(),ml)),10),o)for(s=new G(o.j);s.a<s.c.c.length;)r=u(et(s),12),$t(X(r,Li))===$t(t)&&TS(new sd(r.b))&&zf(n,r.j);return n}function Z1e(t,e,n){var r,s,o,h,d;if(!t.d[n.p]){for(s=new rr(sr(_s(n).a.Kc(),new z));Mr(s);){for(r=u(dr(s),18),d=r.d.i,h=new rr(sr(ua(d).a.Kc(),new z));Mr(h);)o=u(dr(h),18),o.c.i==e&&(t.a[o.p]=!0);Z1e(t,e,d)}t.d[n.p]=!0}}function fxn(t,e){var n,r,s,o,h,d,m;if(r=Gue(t.Db&254),r==1)t.Eb=null;else if(o=nw(t.Eb),r==2)s=vot(t,e),t.Eb=o[s==0?1:0];else{for(h=Vt(aa,Ln,1,r-1,5,1),n=2,d=0,m=0;n<=128;n<<=1)n==e?++d:t.Db&n&&(h[m++]=o[d++]);t.Eb=h}t.Db&=~e}function B6t(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=Uf}return e}function dxn(t,e,n,r,s){var o,h,d,m;if($t(t)===$t(e)&&r==s){Q0e(t,r,n);return}for(d=0;d<r;d++){for(h=0,o=t[d],m=0;m<s;m++)h=Qa(Qa(Ja(sa(o,So),sa(e[m],So)),sa(n[d+m],So)),sa(qr(h),So)),n[d+m]=qr(h),h=Ab(h,32);n[d+s]=qr(h)}}function gxn(t){var e,n,r,s,o,h,d,m,k,T,A;for(T=0,k=0,s=t.a,d=s.a.gc(),r=s.a.ec().Kc();r.Ob();)n=u(r.Pb(),567),e=(n.b&&bct(n),n.a),A=e.a,h=e.b,T+=A+h,k+=A*h;return m=b.Math.sqrt(400*d*k-4*k+T*T)+T,o=2*(100*d-1),o==0?m:m/o}function tde(t,e){e.b!=0&&(isNaN(t.s)?t.s=Rt((ur(e.b!=0),Ht(e.a.a.c))):t.s=b.Math.min(t.s,Rt((ur(e.b!=0),Ht(e.a.a.c)))),isNaN(t.c)?t.c=Rt((ur(e.b!=0),Ht(e.c.b.c))):t.c=b.Math.max(t.c,Rt((ur(e.b!=0),Ht(e.c.b.c)))))}function S_(t){var e,n,r,s;for(e=null,r=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.b&&(t.b=new kn(vr,t,4,7)),t.b),(!t.c&&(t.c=new kn(vr,t,5,8)),t.c)])));Mr(r);)if(n=u(dr(r),84),s=Jo(n),!e)e=Ji(s);else if(e!=Ji(s))return!0;return!1}function Got(t,e){var n,r,s,o;t.Pj()?(n=t.i,o=t.Qj(),PI(t,e),r=t.Ij(3,null,e,n,o),t.Mj()?(s=t.Nj(e,null),t.Tj()&&(s=t.Uj(e,s)),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(PI(t,e),t.Mj()&&(s=t.Nj(e,null),s&&s.oj()))}function pxn(t,e){var n,r,s,o;if(o=yI(t.a,e.b),!o)throw at(new Ro("Invalid hitboxes for scanline overlap calculation."));for(s=!1,r=t.a.a.ec().Kc();r.Ob();)if(n=u(r.Pb(),68),Kpn(e.b,n))Trn(t.b.a,e.b,n),s=!0;else if(s)break}function bxn(t){var e;if(!t.a)throw at(new Ro("IDataType class expected for layout option "+t.f));if(e=edn(t.a),e==null)throw at(new Ro("Couldn't create new instance of property '"+t.f+"'. "+dwe+(wg(UP),UP.k)+lTt));return u(e,423)}function Kot(t){var e,n,r,s,o;return o=t.Ph(),o&&o.Vh()&&(s=jb(t,o),s!=o)?(n=t.Fh(),r=(e=t.Fh(),e>=0?t.Ah(null):t.Ph().Th(t,-1-e,null,null)),t.Bh(u(s,54),n),r&&r.oj(),t.vh()&&t.wh()&&n>-1&&Ei(t,new ha(t,9,n,o,s)),s):o}function R6t(t,e){var n,r,s,o,h;for(o=t.b.Ce(e),r=(n=t.a.get(o),n??Vt(aa,Ln,1,0,5,1)),h=0;h<r.length;h++)if(s=r[h],t.b.Be(e,s.ld()))return r.length==1?(r.length=0,man(t.a,o)):r.splice(h,1),--t.c,++t.b.g,s.md();return null}function ede(t){var e,n,r,s,o,h,d,m;for(h=0,o=t.f.e,r=0;r<o.c.length;++r)for(d=(vn(r,o.c.length),u(o.c[r],153)),s=r+1;s<o.c.length;++s)m=(vn(s,o.c.length),u(o.c[s],153)),n=Nb(d.d,m.d),e=n-t.a[d.a][m.a],h+=t.i[d.a][m.a]*e*e;return h}function wxn(t,e){var n;if(!qi(e,(De(),Iu))&&(n=Rvn(u(X(e,wSt),371),u(X(t,Iu),171)),Zt(e,wSt,n),!Mr(new rr(sr(Dg(e).a.Kc(),new z)))))switch(n.g){case 1:Zt(e,Iu,(Rh(),OA));break;case 2:Zt(e,Iu,(Rh(),NA))}}function mxn(t,e){var n;M8n(t),t.a=(n=new irt,ms(new ln(null,new gn(e.d,16)),new iUt(n)),n),K8n(t,u(X(e.b,(De(),i1t)),349)),Cmn(t),Cxn(t),$vn(t),Smn(t),jTn(t,e),ms(fc(new ln(null,$re(kln(t.b).a)),new sC),new wJ),e.a=!1,t.a=null}function j6t(){j6t=V,Wke=new un(T7t,(Pn(),!1)),Yke=new un(C7t,7),he(0),Zke=new un(S7t,he(0)),Qke=new un(_7t,he(-1)),yLt=(a_(),G1t),t8e=new un(A7t,yLt),mLt=(s_(),dP),Xke=new un(L7t,mLt),vLt=(uq(),K1t),Jke=new un(D7t,vLt)}function nde(){r6t.call(this,hT,(kb(),Z7e)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function O7(){O7=V,Zdt=new P6(D2e,0),VK=new P6("INSIDE_SELF_LOOPS",1),UK=new P6("MULTI_EDGES",2),HK=new P6("EDGE_LABELS",3),Jdt=new P6("PORTS",4),qK=new P6("COMPOUND",5),zK=new P6("CLUSTERS",6),Qdt=new P6("DISCONNECTED",7)}function rde(t,e,n){var r,s,o;t.Pj()?(o=t.Qj(),++t.j,t.qj(e,t.Zi(e,n)),r=t.Ij(3,null,n,e,o),t.Mj()?(s=t.Nj(n,null),s?(s.nj(r),s.oj()):t.Jj(r)):t.Jj(r)):(++t.j,t.qj(e,t.Zi(e,n)),t.Mj()&&(s=t.Nj(n,null),s&&s.oj()))}function ide(t,e){var n,r,s;if(e==0)return(t.a[0]&1)!=0;if(e<0)throw at(new f$("Negative bit address"));if(s=e>>5,s>=t.d)return t.e<0;if(n=t.a[s],e=1<<(e&31),t.e<0){if(r=uce(t),s<r)return!1;r==s?n=-n:n=~n}return(n&e)!=0}function vxn(t,e,n,r){var s;u(n.b,68),u(n.b,68),u(r.b,68),u(r.b,68),s=ia(Oa(u(n.b,68).c),u(r.b,68).c),xz(s,b1e(u(n.b,68),u(r.b,68),s)),u(r.b,68),u(r.b,68),u(r.b,68).c.a+s.a,u(r.b,68).c.b+s.b,u(r.b,68),Cu(r.a,new Pvt(t,e,r))}function $6t(t,e){var n,r,s,o,h,d,m;if(o=e.e,o){for(n=Kot(o),r=u(t.g,689),h=0;h<t.i;++h)if(m=r[h],dot(m)==n&&(s=(!m.d&&(m.d=new Ps(Do,m,1)),m.d),d=u(n.Mh(oct(o,o.Cb,o.Db>>16)),15).dd(o),d<s.i))return $6t(t,u(Dt(s,d),89))}return e}function D(t,e,n){var r=DU,s,o=r[t],h=o instanceof Array?o[0]:null;o&&!h?l=o:(l=(s=e&&e.prototype,!s&&(s=DU[e]),sfn(s)),l.Sm=n,!e&&(l.Tm=yt),r[t]=l);for(var d=3;d<arguments.length;++d)arguments[d].prototype=l;h&&(l.Rm=h)}function Mr(t){for(var e;!u(Hr(t.a),51).Ob();){if(t.d=lbn(t),!t.d)return!1;if(t.a=u(t.d.Pb(),51),Lt(t.a,37)){if(e=u(t.a,37),t.a=e.a,!t.b&&(t.b=new K4),Ob(t.b,t.d),e.b)for(;!WC(e.b);)Ob(t.b,u(iln(e.b),51));t.d=e.d}}return!0}function z6t(t,e){var n,r,s,o;for(s=1,e.j=!0,o=null,r=new G(s5(e));r.a<r.c.c.length;)n=u(et(r),218),t.c[n.c]||(t.c[n.c]=!0,o=gH(n,e),n.f?s+=z6t(t,o):!o.j&&n.a==n.e.e-n.d.e&&(n.f=!0,qs(t.p,n),s+=z6t(t,o)));return s}function yxn(t){var e,n,r;for(n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=(Wn(0),0),r>0&&(!(bg(t.a.c)&&e.n.d)&&!(q4(t.a.c)&&e.n.b)&&(e.g.d+=b.Math.max(0,r/2-.5)),!(bg(t.a.c)&&e.n.a)&&!(q4(t.a.c)&&e.n.c)&&(e.g.a-=r-1))}function sde(t){var e,n,r,s,o;if(s=new fe,o=tge(t,s),e=u(X(t,(oe(),ml)),10),e)for(r=new G(e.j);r.a<r.c.c.length;)n=u(et(r),12),$t(X(n,Li))===$t(t)&&(o=b.Math.max(o,tge(n,s)));return s.c.length==0||Zt(t,V5,o),o!=-1?s:null}function ade(t,e,n){var r,s,o,h,d,m;o=u(Oe(e.e,0),18).c,r=o.i,s=r.k,m=u(Oe(n.g,0),18).d,h=m.i,d=h.k,s==(Un(),fa)?Zt(t,(oe(),N1),u(X(r,N1),12)):Zt(t,(oe(),N1),o),d==fa?Zt(t,(oe(),gf),u(X(h,gf),12)):Zt(t,(oe(),gf),m)}function q6t(t){var e,n,r;this.c=t,r=u(X(t,(De(),ph)),88),e=Rt(Ht(X(t,OG))),n=Rt(Ht(X(t,bAt))),r==(Rs(),Uo)||r==tc||r==Ed?this.b=e*n:this.b=1/(e*n),this.j=Rt(Ht(X(t,X5))),this.e=Rt(Ht(X(t,Av))),this.f=t.b.c.length}function H6t(t,e){var n,r,s,o,h;return e&=63,n=t.h,r=(n&aN)!=0,r&&(n|=-1048576),e<22?(h=n>>e,o=t.m>>e|n<<22-e,s=t.l>>e|t.m<<22-e):e<44?(h=r?Fg:0,o=n>>e-22,s=t.m>>e-22|n<<44-e):(h=r?Fg:0,o=r?Il:0,s=n>>e-44),Eu(s&Il,o&Il,h&Fg)}function Wot(t){var e,n,r,s,o,h;for(this.c=new fe,this.d=t,r=Zi,s=Zi,e=Vs,n=Vs,h=Dr(t,0);h.b!=h.d.c;)o=u(Ar(h),8),r=b.Math.min(r,o.a),s=b.Math.min(s,o.b),e=b.Math.max(e,o.a),n=b.Math.max(n,o.b);this.a=new Ah(r,s,e-r,n-s)}function ode(t,e){var n,r,s,o,h,d;for(o=new G(t.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(s.a);d.a<d.c.c.length;)for(h=u(et(d),10),h.k==(Un(),Vc)&&xk(h,e),r=new rr(sr(_s(h).a.Kc(),new z));Mr(r);)n=u(dr(r),18),Nce(n,e)}function xxn(t,e){var n,r,s;for(e.Ug("Layer constraint preprocessing",1),n=new fe,s=new La(t.a,0);s.b<s.d.gc();)r=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),10)),Wpn(r)&&(r3n(r),In(n.c,r),Kl(s));n.c.length==0||Zt(t,(oe(),Uft),n),e.Vg()}function kxn(t){var e,n;for(t.e=Vt(Fr,ii,28,t.p.c.length,15,1),t.k=Vt(Fr,ii,28,t.p.c.length,15,1),n=new G(t.p);n.a<n.c.c.length;)e=u(et(n),10),t.e[e.p]=xg(new rr(sr(ua(e).a.Kc(),new z))),t.k[e.p]=xg(new rr(sr(_s(e).a.Kc(),new z)))}function Exn(t){var e,n,r,s,o,h;for(s=0,t.q=new fe,e=new Os,h=new G(t.p);h.a<h.c.c.length;){for(o=u(et(h),10),o.p=s,r=new rr(sr(_s(o).a.Kc(),new z));Mr(r);)n=u(dr(r),18),qs(e,n.d.i);e.a.Bc(o)!=null,ge(t.q,new LS(e)),e.a.$b(),++s}}function cde(t,e){var n,r,s,o,h,d,m,k,T;if(t.a.f>0&&Lt(e,44)&&(t.a._j(),k=u(e,44),m=k.ld(),o=m==null?0:$i(m),h=lvt(t.a,o),n=t.a.d[h],n)){for(r=u(n.g,379),T=n.i,d=0;d<T;++d)if(s=r[d],s.Bi()==o&&s.Fb(k))return cde(t,k),!0}return!1}function Txn(t){var e,n,r,s,o,h,d;if(e=t.qi(hf),e&&(d=Gr(L1((!e.b&&(e.b=new Ul((wn(),wo),Mc,e)),e.b),"settingDelegates")),d!=null)){for(n=new fe,s=s3(d,"\\w+"),o=0,h=s.length;o<h;++o)r=s[o],In(n.c,r);return n}return mn(),mn(),co}function Cxn(t){var e,n,r,s;for(s=u(Ai(t.a,(Qy(),wG)),15).Kc();s.Ob();)r=u(s.Pb(),105),n=(e=U6(r.k),e.Hc((ve(),Hn))?e.Hc(Jn)?e.Hc(Er)?e.Hc(Gn)?null:$4e:q4e:z4e:j4e),NE(t,r,n[0],(Vm(),wv),0),NE(t,r,n[1],r2,1),NE(t,r,n[2],mv,1)}function Sxn(t,e){var n,r;n=aEn(e),Kkn(t,e,n),ffe(t.a,u(X(Pa(e.b),(oe(),Kk)),234)),AEn(t),Xyn(t,e),r=Vt(Fr,ii,28,e.b.j.c.length,15,1),Act(t,e,(ve(),Hn),r,n),Act(t,e,Jn,r,n),Act(t,e,Er,r,n),Act(t,e,Gn,r,n),t.a=null,t.c=null,t.b=null}function V6t(t,e,n){switch(e){case 7:!t.e&&(t.e=new kn(Ts,t,7,4)),Ir(t.e),!t.e&&(t.e=new kn(Ts,t,7,4)),gs(t.e,u(n,16));return;case 8:!t.d&&(t.d=new kn(Ts,t,8,5)),Ir(t.d),!t.d&&(t.d=new kn(Ts,t,8,5)),gs(t.d,u(n,16));return}Rxt(t,e,n)}function U6t(t,e){var n,r,s,o,h;if($t(e)===$t(t))return!0;if(!Lt(e,15)||(h=u(e,15),t.gc()!=h.gc()))return!1;for(o=h.Kc(),r=t.Kc();r.Ob();)if(n=r.Pb(),s=o.Pb(),!($t(n)===$t(s)||n!=null&&Ti(n,s)))return!1;return!0}function _xn(t,e){var n,r,s,o;for(o=u(nc(fc(fc(new ln(null,new gn(e.b,16)),new X9),new Q9),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),o.Jc(new RB),n=0,s=o.Kc();s.Ob();)r=u(s.Pb(),12),r.p==-1&&G6t(t,r,n++)}function ude(t){switch(t.g){case 0:return new rnt;case 1:return new ent;case 2:return new nnt;case 3:return new LXt;case 4:return new Yte;default:throw at(new zn("No implementation is available for the node placer "+(t.f!=null?t.f:""+t.g)))}}function lde(t){switch(t.g){case 0:return new lyt;case 1:return new Ket;case 2:return new Mj;case 3:return new g6;case 4:return new vQt;default:throw at(new zn("No implementation is available for the cycle breaker "+(t.f!=null?t.f:""+t.g)))}}function Axn(t,e){var n,r,s,o,h;r=new Ki,hs(r,e,r.c.b,r.c);do for(n=(ur(r.b!=0),u(Oh(r,r.a.a),39)),t.b[n.g]=1,o=Dr(n.d,0);o.b!=o.d.c;)s=u(Ar(o),65),h=s.c,t.b[h.g]==1?Zr(t.a,s):t.b[h.g]==2?t.b[h.g]=1:hs(r,h,r.c.b,r.c);while(r.b!=0)}function Lxn(t,e,n){var r;r=null,e&&(r=e.d),k_(t,new kE(e.n.a-r.b+n.a,e.n.b-r.d+n.b)),k_(t,new kE(e.n.a-r.b+n.a,e.n.b+e.o.b+r.a+n.b)),k_(t,new kE(e.n.a+e.o.a+r.c+n.a,e.n.b-r.d+n.b)),k_(t,new kE(e.n.a+e.o.a+r.c+n.a,e.n.b+e.o.b+r.a+n.b))}function G6t(t,e,n){var r,s,o;for(e.p=n,o=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(e),new k6(e)])));Mr(o);)r=u(dr(o),12),r.p==-1&&G6t(t,r,n);if(e.i.k==(Un(),fa))for(s=new G(e.i.j);s.a<s.c.c.length;)r=u(et(s),12),r!=e&&r.p==-1&&G6t(t,r,n)}function Dxn(t,e){var n,r,s,o,h,d;for(r=new kp,h=gq(new hl(t.g)),o=h.a.ec().Kc();o.Ob();){if(s=u(o.Pb(),10),!s){e.bh("There are no classes in a balanced layout.");break}d=t.j[s.p],n=u(od(r,d),15),n||(n=new fe,Op(r,d,n)),n.Fc(s)}return r}function hde(t){var e,n,r,s,o;if(s=u(nc(r3t(a3t(t)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),r=S5,s.gc()>=2)for(n=s.Kc(),e=Ht(n.Pb());n.Ob();)o=e,e=Ht(n.Pb()),r=b.Math.min(r,(Wn(e),e-(Wn(o),o)));return r}function Mxn(t,e){var n,r,s;for(s=new fe,r=Dr(e.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.b.g==t.g&&!hn(n.b.c,nU)&&$t(X(n.b,(Cc(),h0)))!==$t(X(n.c,h0))&&!t5(new ln(null,new gn(s,16)),new VUt(n))&&In(s.c,n);return Ds(s,new NZ),s}function Ixn(t,e){var n,r,s;if($t(e)===$t(Hr(t)))return!0;if(!Lt(e,15)||(r=u(e,15),s=t.gc(),s!=r.gc()))return!1;if(Lt(r,59)){for(n=0;n<s;n++)if(!Ud(t.Xb(n),r.Xb(n)))return!1;return!0}else return Omn(t.Kc(),r.Kc())}function Oxn(t,e,n,r,s,o){var h,d,m,k;for(d=!wE(_i(t.Oc(),new Sl(new sm))).Bd((U2(),Rk)),h=t,o==(Rs(),Gh)&&(h=Bh(h)),k=h.Kc();k.Ob();)m=u(k.Pb(),72),m.n.a=e.a,d?m.n.b=e.b+(r.b-m.o.b)/2:s?m.n.b=e.b:m.n.b=e.b+r.b-m.o.b,e.a+=m.o.a+n}function Nxn(t,e){var n,r,s,o,h;for(e.Ug("Port side processing",1),h=new G(t.a);h.a<h.c.c.length;)s=u(et(h),10),Cge(s);for(r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),10),Cge(s);e.Vg()}function Pxn(t,e,n){var r,s,o,h,d,m,k;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),m=qE(n,h.a),m&&(k=xgn(yg(m,Ylt),e),hi(t.f,k,m),s=a0 in m.a,s&&n7(k,yg(m,a0)),qH(m,k),E6t(m,k))}function Fxn(t,e,n){var r,s,o,h,d;if(d=n,!d&&(d=Yvt(new S6,0)),d.Ug(u2e,1),ope(t.c,e),h=$9n(t.a,e),h.gc()==1)qge(u(h.Xb(0),36),d);else for(o=1/h.gc(),s=h.Kc();s.Ob();){if(r=u(s.Pb(),36),n.$g())return;qge(r,d.eh(o))}Jnn(t.a,h,e),g8n(e),d.Vg()}function fde(t,e,n){var r,s,o,h,d;if(s=t.f,!s&&(s=u(t.a.a.ec().Kc().Pb(),60)),x_(s,e,n),t.a.a.gc()!=1)for(r=e*n,h=t.a.a.ec().Kc();h.Ob();)o=u(h.Pb(),60),o!=s&&(d=ek(o),d.f.d?(o.d.d+=r+gd,o.d.a-=r+gd):d.f.a&&(o.d.a-=r+gd))}function Yot(t,e,n,r,s){var o,h,d,m,k,T,A,P,$;return h=n-t,d=r-e,o=b.Math.atan2(h,d),m=o+Mut,k=o-Mut,T=s*b.Math.sin(m)+t,P=s*b.Math.cos(m)+e,A=s*b.Math.sin(k)+t,$=s*b.Math.cos(k)+e,id(lt(ut(la,1),ue,8,0,[new ae(T,P),new ae(A,$)]))}function Bxn(t,e,n,r){var s,o,h,d,m,k,T,A;s=n,T=e,o=T;do o=t.a[o.p],d=(A=t.g[o.p],Rt(t.p[A.p])+Rt(t.d[o.p])-o.d.d),m=Bgn(o,r),m&&(h=(k=t.g[m.p],Rt(t.p[k.p])+Rt(t.d[m.p])+m.o.b+m.d.a),s=b.Math.min(s,d-(h+U4(t.k,o,m))));while(T!=o);return s}function Rxn(t,e,n,r){var s,o,h,d,m,k,T,A;s=n,T=e,o=T;do o=t.a[o.p],h=(A=t.g[o.p],Rt(t.p[A.p])+Rt(t.d[o.p])+o.o.b+o.d.a),m=Hpn(o,r),m&&(d=(k=t.g[m.p],Rt(t.p[k.p])+Rt(t.d[m.p])-m.d.d),s=b.Math.min(s,d-(h+U4(t.k,o,m))));while(T!=o);return s}function dde(t,e){var n;if(e.Ug("Equal Whitespace Eliminator",1),ad(t,(N0(),wK)))Gbn(u(ne(t,wK),15),Rt(Ht(ne(t,HT))),(n=Rt(Ht(ne(t,tL))),Rt(Ht(ne(t,(fd(),iL)))),n));else throw at(new fp("The graph does not contain rows."));e.Vg()}function ne(t,e){var n,r;return r=(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),L1(t.o,e)),r??(n=e.Sg(),Lt(n,4)&&(n==null?(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),yH(t.o,e)):(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),SO(t.o,e,n))),n)}function e3(){e3=V,Qf=new B4("H_LEFT",0),qg=new B4("H_CENTER",1),Jf=new B4("H_RIGHT",2),t1=new B4("V_TOP",3),W0=new B4("V_CENTER",4),bf=new B4("V_BOTTOM",5),bh=new B4("INSIDE",6),Zf=new B4("OUTSIDE",7),pf=new B4("H_PRIORITY",8)}function jxn(t,e){var n,r,s,o,h,d,m;if(!e.f)throw at(new zn("The input edge is not a tree edge."));for(o=null,s=xi,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),218),d=n.d,m=n.e,Hot(t,d,e)&&!Hot(t,m,e)&&(h=m.e-d.e-n.a,h<s&&(s=h,o=n));return o}function $xn(t){var e,n,r,s,o,h;if(!(t.f.e.c.length<=1)){e=0,s=ede(t),n=Zi;do{for(e>0&&(s=n),h=new G(t.f.e);h.a<h.c.c.length;)o=u(et(h),153),!Ie(Me(X(o,(TO(),xCt))))&&(r=ZEn(t,o),ki(k1(o.d),r));n=ede(t)}while(!Tln(t,e++,s,n))}}function zxn(t,e){var n,r,s,o,h;for(o=t.g.a,h=t.g.b,r=new G(t.d);r.a<r.c.c.length;)n=u(et(r),72),s=n.n,t.a==(ud(),yT)||t.i==(ve(),Jn)?s.a=o:t.a==xT||t.i==(ve(),Gn)?s.a=o+t.j.a-n.o.a:s.a=o+(t.j.a-n.o.a)/2,s.b=h,ki(s,e),h+=n.o.b+t.e}function qxn(t,e){var n,r,s,o,h,d,m,k,T,A;k=t,m=VS(k,"individualSpacings"),m&&(r=ad(e,(ai(),Zk)),h=!r,h&&(s=new iM,Mi(e,Zk,s)),d=u(ne(e,Zk),385),A=m,o=null,A&&(o=(T=cat(A,Vt(Pe,ue,2,0,6,1)),new crt(A,T))),o&&(n=new rQt(A,d),Fa(o,n)))}function Hxn(t,e){var n,r,s,o,h,d,m,k,T,A,P;return m=null,A=t,T=null,(nme in A.a||rme in A.a||hU in A.a)&&(k=null,P=V4t(e),h=VS(A,nme),n=new AGt(P),iwn(n.a,h),d=VS(A,rme),r=new RGt(P),swn(r.a,d),o=jm(A,hU),s=new zGt(P),k=(Hyn(s.a,o),o),T=k),m=T,m}function Vxn(t,e){var n,r,s;if(e===t)return!0;if(Lt(e,552)){if(s=u(e,849),t.a.d!=s.a.d||X4(t).gc()!=X4(s).gc())return!1;for(r=X4(s).Kc();r.Ob();)if(n=u(r.Pb(),425),gre(t,n.a.ld())!=u(n.a.md(),16).gc())return!1;return!0}return!1}function Uxn(t){var e,n,r,s;return r=u(t.a,17).a,s=u(t.b,17).a,e=r,n=s,r==0&&s==0?n-=1:r==-1&&s<=0?(e=0,n-=2):r<=0&&s>0?(e-=1,n-=1):r>=0&&s<0?(e+=1,n+=1):r>0&&s>=0?(e-=1,n+=1):(e+=1,n-=1),new Ws(he(e),he(n))}function Gxn(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?$i(t.a)-$i(e.a):t.d==(US(),KA)&&e.d==GA?-1:t.d==GA&&e.d==KA?1:0}function gde(t,e){var n,r,s,o,h;return o=e.a,o.c.i==e.b?h=o.d:h=o.c,o.c.i==e.b?r=o.c:r=o.d,s=gwn(t.a,h,r),s>0&&s<S5?(n=Bxn(t.a,r.i,s,t.c),coe(t.a,r.i,-n),n>0):s<0&&-s<S5?(n=Rxn(t.a,r.i,-s,t.c),coe(t.a,r.i,n),n>0):!1}function Kxn(t,e,n,r){var s,o,h,d,m,k,T,A;for(s=(e-t.d)/t.c.c.length,o=0,t.a+=n,t.d=e,A=new G(t.c);A.a<A.c.c.length;)T=u(et(A),27),k=T.g,m=T.f,Su(T,T.i+o*s),_u(T,T.j+r*n),qm(T,T.g+s),zm(T,t.a),++o,d=T.g,h=T.f,c1e(T,new ae(d,h),new ae(k,m))}function Wxn(t){var e,n,r,s,o,h,d;if(t==null)return null;for(d=t.length,s=(d+1)/2|0,h=Vt(ul,M5,28,s,15,1),d%2!=0&&(h[--s]=gkt((qn(d-1,t.length),t.charCodeAt(d-1)))),n=0,r=0;n<s;++n)e=gkt(Va(t,r++)),o=gkt(Va(t,r++)),h[n]=(e<<4|o)<<24>>24;return h}function Yxn(t){if(t.ze()){var e=t.c;e.Ae()?t.o="["+e.n:e.ze()?t.o="["+e.xe():t.o="[L"+e.xe()+";",t.b=e.we()+"[]",t.k=e.ye()+"[]";return}var n=t.j,r=t.d;r=r.split("/"),t.o=Jat(".",[n,Jat("$",r)]),t.b=Jat(".",[n,Jat(".",r)]),t.k=r[r.length-1]}function Xxn(t,e){var n,r,s,o,h;for(h=null,o=new G(t.e.a);o.a<o.c.c.length;)if(s=u(et(o),125),s.b.a.c.length==s.g.a.c.length){for(r=s.e,h=D4n(s),n=s.e-u(h.a,17).a+1;n<s.e+u(h.b,17).a;n++)e[n]<e[r]&&(r=n);e[r]<e[s.e]&&(--e[s.e],++e[r],s.e=r)}}function Xot(t){var e,n,r,s,o,h,d,m;for(s=Zi,r=Vs,n=new G(t.e.b);n.a<n.c.c.length;)for(e=u(et(n),30),h=new G(e.a);h.a<h.c.c.length;)o=u(et(h),10),m=Rt(t.p[o.p]),d=m+Rt(t.b[t.g[o.p].p]),s=b.Math.min(s,m),r=b.Math.max(r,d);return r-s}function pde(t){Tct();var e,n,r,s;return r=$d(t,Hu(35)),e=r==-1?t:(Da(0,r,t.length),t.substr(0,r)),n=r==-1?null:(qn(r+1,t.length+1),t.substr(r+1)),s=fdn(jIt,e),s?n!=null&&(s=uue(s,(Wn(n),n))):(s=OSn(e),Cdn(jIt,e,s),n!=null&&(s=uue(s,n))),s}function K6t(t,e,n,r){var s,o,h,d,m;for(s=Ekt(t,e),d=0,m=s.gc();d<m;++d)if(o=u(s.Xb(d),179),hn(r,RE($o(t,o)))){if(h=TI($o(t,o)),n==null){if(h==null)return o}else if(hn(n,h))return o}return null}function W6t(t,e,n,r){var s,o,h,d,m;for(s=cct(t,e),d=0,m=s.gc();d<m;++d)if(o=u(s.Xb(d),179),hn(r,RE($o(t,o)))){if(h=TI($o(t,o)),n==null){if(h==null)return o}else if(hn(n,h))return o}return null}function Qxn(t,e,n){var r,s,o,h,d,m;if(h=new pb,d=Lu(t.e.Dh(),e),r=u(t.g,124),vo(),u(e,69).xk())for(o=0;o<t.i;++o)s=r[o],d.am(s.Lk())&&Or(h,s);else for(o=0;o<t.i;++o)s=r[o],d.am(s.Lk())&&(m=s.md(),Or(h,n?C_(t,e,o,h.i,m):m));return v3t(h)}function bde(t){var e,n,r,s,o,h,d;if(t&&(e=t.qi(hf),e&&(h=Gr(L1((!e.b&&(e.b=new Ul((wn(),wo),Mc,e)),e.b),"conversionDelegates")),h!=null))){for(d=new fe,r=s3(h,"\\w+"),s=0,o=r.length;s<o;++s)n=r[s],In(d.c,n);return d}return mn(),mn(),co}function wde(t,e){var n,r,s,o,h,d,m,k;for(h=e==1?oft:aft,o=h.a.ec().Kc();o.Ob();)for(s=u(o.Pb(),88),m=u(Ai(t.f.c,s),21).Kc();m.Ob();)switch(d=u(m.Pb(),42),r=u(d.b,86),k=u(d.a,194),n=k.c,s.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function Jxn(t,e){var n,r,s,o,h;for(n=new d_(TT),s=(wk(),lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5])),o=0,h=s.length;o<h;++o)r=s[o],gvt(n,r,new fe);return ms(Wo(_i(fc(new ln(null,new gn(t.b,16)),new TQ),new J9),new FVt(e)),new BVt(n)),n}function YH(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=e.Kc();o.Ob();)s=u(o.Pb(),27),T=s.i+s.g/2,P=s.j+s.f/2,m=t.f,h=m.i+m.g/2,d=m.j+m.f/2,k=T-h,A=P-d,r=b.Math.sqrt(k*k+A*A),k*=t.e/r,A*=t.e/r,n?(T-=k,P-=A):(T+=k,P+=A),Su(s,T-s.g/2),_u(s,P-s.f/2)}function g5(t){var e,n,r;if(!t.c&&t.b!=null){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(r=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=r,r=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=r);t.c=!0}}function Zxn(t,e){var n,r,s,o,h,d,m,k,T;for(k=-1,T=0,h=t,d=0,m=h.length;d<m;++d){for(o=h[d],n=new fte(k==-1?t[0]:t[k],e,(o_(),QG)),r=0;r<o.length;r++)for(s=r+1;s<o.length;s++)qi(o[r],(oe(),Pi))&&qi(o[s],Pi)&&Kpe(n,o[r],o[s])>0&&++T;++k}return T}function qf(t){var e,n;return n=new eh(V2(t.Rm)),n.a+="@",ni(n,(e=$i(t)>>>0,e.toString(16))),t.Vh()?(n.a+=" (eProxyURI: ",tu(n,t._h()),t.Kh()&&(n.a+=" eClass: ",tu(n,t.Kh())),n.a+=")"):t.Kh()&&(n.a+=" (eClass: ",tu(n,t.Kh()),n.a+=")"),n.a}function __(t){var e,n,r,s;if(t.e)throw at(new Ro((wg($ht),wut+$ht.k+mut)));for(t.d==(Rs(),Ed)&&bV(t,Uo),n=new G(t.a.a);n.a<n.c.c.length;)e=u(et(n),316),e.g=e.i;for(s=new G(t.a.b);s.a<s.c.c.length;)r=u(et(s),60),r.i=Vs;return t.b.cf(t),t}function t6n(t,e){var n,r,s,o,h;if(e<2*t.b)throw at(new zn("The knot vector must have at least two time the dimension elements."));for(t.f=1,s=0;s<t.b;s++)ge(t.e,0);for(h=e+1-2*t.b,n=h,o=1;o<h;o++)ge(t.e,o/n);if(t.d)for(r=0;r<t.b;r++)ge(t.e,1)}function mde(t,e){var n,r,s,o,h,d,m,k,T;if(k=e,T=u(Hq(Kit(t.i),k),27),!T)throw s=yg(k,a0),d="Unable to find elk node for json object '"+s,m=d+"' Panic!",at(new Rd(m));o=jm(k,"edges"),n=new YXt(t,T),j5n(n.a,n.b,o),h=jm(k,Xlt),r=new yGt(t),Hvn(r.a,h)}function vde(t,e,n,r){var s,o,h,d,m;if(r!=null){if(s=t.d[e],s){for(o=s.g,m=s.i,d=0;d<m;++d)if(h=u(o[d],136),h.Bi()==n&&Ti(r,h.ld()))return d}}else if(s=t.d[e],s){for(o=s.g,m=s.i,d=0;d<m;++d)if(h=u(o[d],136),$t(h.ld())===$t(r))return d}return-1}function N7(t,e){var n,r,s;return n=e==null?Ko(Eo(t.f,null)):iS(t.i,e),Lt(n,241)?(s=u(n,241),s.zi()==null,s):Lt(n,507)?(r=u(n,2037),s=r.a,s&&(s.yb==null||(e==null?yu(t.f,null,s):Km(t.i,e,s))),s):null}function e6n(t){hkt();var e,n,r,s,o,h,d;if(t==null||(s=t.length,s%2!=0))return null;for(e=Lq(t),o=s/2|0,n=Vt(ul,M5,28,o,15,1),r=0;r<o;r++){if(h=ML[e[r*2]],h==-1||(d=ML[e[r*2+1]],d==-1))return null;n[r]=(h<<4|d)<<24>>24}return n}function n6n(t,e,n){var r,s,o;if(s=u(Io(t.i,e),314),!s)if(s=new Zae(t.d,e,n),W6(t.i,e,s),Z5t(e))asn(t.a,e.c,e.b,s);else switch(o=j4n(e),r=u(Io(t.p,o),252),o.g){case 1:case 3:s.j=!0,Jnt(r,e.b,s);break;case 4:case 2:s.k=!0,Jnt(r,e.c,s)}return s}function r6n(t,e){var n,r,s,o,h,d,m,k,T;for(m=C0(t.c-t.b&t.a.length-1),k=null,T=null,o=new $S(t);o.a!=o.b;)s=u(cH(o),10),n=(d=u(X(s,(oe(),N1)),12),d?d.i:null),r=(h=u(X(s,gf),12),h?h.i:null),(k!=n||T!=r)&&(Q1e(m,e),k=n,T=r),In(m.c,s);Q1e(m,e)}function i6n(t,e,n,r){var s,o,h,d,m,k;if(d=new pb,m=Lu(t.e.Dh(),e),s=u(t.g,124),vo(),u(e,69).xk())for(h=0;h<t.i;++h)o=s[h],m.am(o.Lk())&&Or(d,o);else for(h=0;h<t.i;++h)o=s[h],m.am(o.Lk())&&(k=o.md(),Or(d,r?C_(t,e,h,d.i,k):k));return G5t(d,n)}function yde(t,e){var n,r,s,o,h,d,m,k;if(s=t.b[e.p],s>=0)return s;for(o=1,d=new G(e.j);d.a<d.c.c.length;)for(h=u(et(d),12),r=new G(h.g);r.a<r.c.c.length;)n=u(et(r),18),k=n.d.i,e!=k&&(m=yde(t,k),o=b.Math.max(o,m+1));return Z2n(t,e,o),o}function xde(t,e){var n,r,s,o,h,d,m,k;if(s=t.b[e.p],s>=0)return s;for(o=1,d=new G(e.j);d.a<d.c.c.length;)for(h=u(et(d),12),r=new G(h.e);r.a<r.c.c.length;)n=u(et(r),18),k=n.c.i,e!=k&&(m=xde(t,k),o=b.Math.max(o,m+1));return Dmn(t,e,o),o}function kde(t,e,n){var r,s,o;for(r=1;r<t.c.length;r++){for(o=(vn(r,t.c.length),u(t.c[r],10)),s=r;s>0&&e.Ne((vn(s-1,t.c.length),u(t.c[s-1],10)),o)>0;)Mh(t,s,(vn(s-1,t.c.length),u(t.c[s-1],10))),--s;vn(s,t.c.length),t.c[s]=o}n.a=new _r,n.b=new _r}function s6n(t,e,n){var r,s,o,h,d,m,k,T;for(T=(r=u(e.e&&e.e(),9),new _h(r,u(Ff(r,r.length),9),0)),m=s3(n,"[\\[\\]\\s,]+"),o=m,h=0,d=o.length;h<d;++h)if(s=o[h],Zy(s).length!=0){if(k=D1e(t,s),k==null)return null;zf(T,u(k,22))}return T}function a6n(t){var e,n,r,s;for(s=t.length,e=null,r=0;r<s;r++)n=(qn(r,t.length),t.charCodeAt(r)),$d(".*+?{[()|\\^$",Hu(n))>=0?(e||(e=new YC,r>0&&Mo(e,(Da(0,r,t.length),t.substr(0,r)))),e.a+="\\",PE(e,n&js)):e&&PE(e,n&js);return e?e.a:t}function o6n(t){var e,n,r;for(n=new G(t.a.a.b);n.a<n.c.c.length;)e=u(et(n),86),r=(Wn(0),0),r>0&&(!(bg(t.a.c)&&e.n.d)&&!(q4(t.a.c)&&e.n.b)&&(e.g.d-=b.Math.max(0,r/2-.5)),!(bg(t.a.c)&&e.n.a)&&!(q4(t.a.c)&&e.n.c)&&(e.g.a+=b.Math.max(0,r-1)))}function Ede(t,e,n){var r,s;if((t.c-t.b&t.a.length-1)==2)e==(ve(),Hn)||e==Jn?(Nq(u(r_(t),15),(uh(),K0)),Nq(u(r_(t),15),h2)):(Nq(u(r_(t),15),(uh(),h2)),Nq(u(r_(t),15),K0));else for(s=new $S(t);s.a!=s.b;)r=u(cH(s),15),Nq(r,n)}function c6n(t,e){var n,r,s,o,h,d,m;for(s=DE(new O2t(t)),d=new La(s,s.c.length),o=DE(new O2t(e)),m=new La(o,o.c.length),h=null;d.b>0&&m.b>0&&(n=(ur(d.b>0),u(d.a.Xb(d.c=--d.b),27)),r=(ur(m.b>0),u(m.a.Xb(m.c=--m.b),27)),n==r);)h=n;return h}function Tde(t,e,n){var r,s,o,h;Tre(t,e)>Tre(t,n)?(r=gc(n,(ve(),Jn)),t.d=r.dc()?0:Sit(u(r.Xb(0),12)),h=gc(e,Gn),t.b=h.dc()?0:Sit(u(h.Xb(0),12))):(s=gc(n,(ve(),Gn)),t.d=s.dc()?0:Sit(u(s.Xb(0),12)),o=gc(e,Jn),t.b=o.dc()?0:Sit(u(o.Xb(0),12)))}function Cde(t,e){var n,r,s,o;for(n=t.o.a,o=u(u(Ai(t.r,e),21),87).Kc();o.Ob();)s=u(o.Pb(),117),s.e.a=n*Rt(Ht(s.b.of($U))),s.e.b=(r=s.b,r.pf((ai(),Pl))?r.ag()==(ve(),Hn)?-r.Mf().b-Rt(Ht(r.of(Pl))):Rt(Ht(r.of(Pl))):r.ag()==(ve(),Hn)?-r.Mf().b:0)}function u6n(t,e){var n,r,s,o;for(e.Ug("Self-Loop pre-processing",1),r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),10),Y2n(n)&&(s=(o=new Ble(n),Zt(n,(oe(),kv),o),OEn(o),o),ms(Wo(fc(new ln(null,new gn(s.d,16)),new YB),new XB),new HQ),Skn(s));e.Vg()}function l6n(t){var e,n,r,s,o,h,d,m;e=!0,s=null,o=null;t:for(m=new G(t.a);m.a<m.c.c.length;)for(d=u(et(m),10),r=new rr(sr(ua(d).a.Kc(),new z));Mr(r);){if(n=u(dr(r),18),s&&s!=d){e=!1;break t}if(s=d,h=n.c.i,o&&o!=h){e=!1;break t}o=h}return e}function h6n(t,e,n){var r,s,o,h,d,m;for(o=-1,d=-1,h=0;h<e.c.length&&(s=(vn(h,e.c.length),u(e.c[h],339)),!(s.c>t.c));h++)s.a>=t.s&&(o<0&&(o=h),d=h);return m=(t.s+t.c)/2,o>=0&&(r=Q8n(t,e,o,d),m=Yrn((vn(r,e.c.length),u(e.c[r],339))),nxn(e,r,n)),m}function zr(t,e,n){var r,s,o,h,d,m,k;for(h=(o=new aM,o),_4t(h,(Wn(e),e)),k=(!h.b&&(h.b=new Ul((wn(),wo),Mc,h)),h.b),m=1;m<n.length;m+=2)SO(k,n[m-1],n[m]);for(r=(!t.Ab&&(t.Ab=new Jt(ci,t,0,3)),t.Ab),d=0;d<0;++d)s=_ln(u(Dt(r,r.i-1),598)),r=s;Or(r,h)}function Sde(t,e,n){var r,s,o;for(fan.call(this,new fe),this.a=e,this.b=n,this.e=t,r=(t.b&&bct(t),t.a),this.d=nne(r.a,this.a),this.c=nne(r.b,this.b),a2n(this,this.d,this.c),I5n(this),o=this.e.e.a.ec().Kc();o.Ob();)s=u(o.Pb(),272),s.c.c.length>0&&KTn(this,s)}function Y6t(t,e,n,r,s,o){var h,d,m;if(!s[e.a]){for(s[e.a]=!0,h=r,!h&&(h=new mq),ge(h.e,e),m=o[e.a].Kc();m.Ob();)d=u(m.Pb(),289),!(d.d==n||d.c==n)&&(d.c!=e&&Y6t(t,d.c,e,h,s,o),d.d!=e&&Y6t(t,d.d,e,h,s,o),ge(h.c,d),Hs(h.d,d.b));return h}return null}function f6n(t){var e,n,r,s,o,h,d;for(e=0,s=new G(t.e);s.a<s.c.c.length;)r=u(et(s),18),n=t5(new ln(null,new gn(r.b,16)),new oQ),n&&++e;for(h=new G(t.g);h.a<h.c.c.length;)o=u(et(h),18),d=t5(new ln(null,new gn(o.b,16)),new cQ),d&&++e;return e>=2}function d6n(t,e,n,r,s){var o,h,d,m,k,T;for(o=t.c.d.j,h=u(jh(n,0),8),T=1;T<n.b;T++)k=u(jh(n,T),8),hs(r,h,r.c.b,r.c),d=qd(ki(new io(h),k),.5),m=qd(new mst(i5t(o)),s),ki(d,m),hs(r,d,r.c.b,r.c),h=k,o=e==0?hH(o):C5t(o);Zr(r,(ur(n.b!=0),u(n.c.b.c,8)))}function g6n(t){e3();var e,n,r;return n=Hi(bh,lt(ut(Lo,1),te,95,0,[Zf])),!(tO(iq(n,t))>1||(e=Hi(Qf,lt(ut(Lo,1),te,95,0,[qg,Jf])),tO(iq(e,t))>1)||(r=Hi(t1,lt(ut(Lo,1),te,95,0,[W0,bf])),tO(iq(r,t))>1))}function X6t(t,e,n){var r,s,o;for(o=new G(t.t);o.a<o.c.c.length;)r=u(et(o),274),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Zr(e,r.b));for(s=new G(t.i);s.a<s.c.c.length;)r=u(et(s),274),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Zr(n,r.a))}function XH(t){var e,n,r,s,o;if(t.g==null&&(t.d=t.bj(t.f),Or(t,t.d),t.c))return o=t.f,o;if(e=u(t.g[t.i-1],51),s=e.Pb(),t.e=e,n=t.bj(s),n.Ob())t.d=n,Or(t,n);else for(t.d=null;!e.Ob()&&(ls(t.g,--t.i,null),t.i!=0);)r=u(t.g[t.i-1],51),e=r;return s}function p6n(t,e){var n,r,s,o,h,d;if(r=e,s=r.Lk(),Ng(t.e,s)){if(s.Si()&&dq(t,s,r.md()))return!1}else for(d=Lu(t.e.Dh(),s),n=u(t.g,124),o=0;o<t.i;++o)if(h=n[o],d.am(h.Lk()))return Ti(h,r)?!1:(u(c5(t,o,e),76),!0);return Or(t,e)}function b6n(t,e,n,r){var s,o,h,d;for(s=new Ig(t),y(s,(Un(),Vc)),Zt(s,(oe(),Li),e),Zt(s,IA,r),Zt(s,(De(),bs),(ka(),hu)),Zt(s,N1,e.c),Zt(s,gf,e.d),t0e(e,s),d=b.Math.floor(n/2),h=new G(s.j);h.a<h.c.c.length;)o=u(et(h),12),o.n.b=d;return s}function _de(t){var e,n,r,s,o,h,d;for(e=0,r=new G(t.a);r.a<r.c.c.length;)for(n=u(et(r),10),o=new rr(sr(_s(n).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t==s.d.i.c&&s.c.j==(ve(),Gn)&&(h=rd(s.c).b,d=rd(s.d).b,e=b.Math.max(e,b.Math.abs(d-h)));return e}function Ade(t,e,n){var r,s,o,h,d;for(n.Ug("ELK Force",1),Ie(Me(ne(e,(Vf(),dCt))))||sq((r=new by((xy(),new my(e))),r)),d=qce(e),Fvn(d),ibn(t,u(X(d,fCt),432)),h=yge(t.a,d),o=h.Kc();o.Ob();)s=u(o.Pb(),235),o7n(t.b,s,n.eh(1/h.gc()));d=Npe(h),Vpe(d),n.Vg()}function Q6t(t,e,n){switch(n.g){case 1:return new ae(e.a,b.Math.min(t.d.b,e.b));case 2:return new ae(b.Math.max(t.c.a,e.a),e.b);case 3:return new ae(e.a,b.Math.max(t.c.b,e.b));case 4:return new ae(b.Math.min(e.a,t.d.a),e.b)}return new ae(e.a,e.b)}function jO(t){var e,n,r;for(e=C0(1+(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c).i),ge(e,(!t.d&&(t.d=new kn(Ts,t,8,5)),t.d)),r=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));r.e!=r.i.gc();)n=u(ar(r),123),ge(e,(!n.d&&(n.d=new kn(Ts,n,8,5)),n.d));return Hr(e),new vS(e)}function Og(t){var e,n,r;for(e=C0(1+(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c).i),ge(e,(!t.e&&(t.e=new kn(Ts,t,7,4)),t.e)),r=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));r.e!=r.i.gc();)n=u(ar(r),123),ge(e,(!n.e&&(n.e=new kn(Ts,n,7,4)),n.e));return Hr(e),new vS(e)}function w6n(t){var e,n,r,s;if(t==null)return null;if(r=su(t,!0),s=NN.length,hn(r.substr(r.length-s,s),NN)){if(n=r.length,n==4){if(e=(qn(0,r.length),r.charCodeAt(0)),e==43)return sOt;if(e==45)return JTe}else if(n==3)return sOt}return Jy(r)}function m6n(t,e){var n,r,s,o,h;if(e.Ug("Breaking Point Processor",1),eCn(t),Ie(Me(X(t,(De(),xAt))))){for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),n=0,h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),o.p=n++;X7n(t),Gde(t,!0),Gde(t,!1)}e.Vg()}function v6n(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(A=r?(ve(),Gn):(ve(),Jn),s=!1,m=e[n],k=0,T=m.length;k<T;++k)d=m[k],!q6(u(X(d,(De(),bs)),101))&&(h=d.e,P=!gc(d,A).dc()&&!!h,P&&(o=Uxt(h),t.b=new Kxt(o,r?0:o.length-1)),s=s|a8n(t,d,A,P));return s}function Lde(t,e,n,r){var s,o,h;if(h=Pxt(e,n),In(r.c,e),t.j[h.p]==-1||t.j[h.p]==2||t.a[e.p])return r;for(t.j[h.p]=-1,o=new rr(sr(Dg(h).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!(!(!go(s)&&!(!go(s)&&s.c.i.c==s.d.i.c))||s==e))return Lde(t,s,h,r);return r}function y6n(t){var e,n,r,s;for(e=0,n=0,s=new G(t.j);s.a<s.c.c.length;)if(r=u(et(s),12),e=qr(Qa(e,mse(_i(new ln(null,new gn(r.e,16)),new n6)))),n=qr(Qa(n,mse(_i(new ln(null,new gn(r.g,16)),new xR)))),e>1||n>1)return 2;return e+n==1?2:0}function Dl(t,e){var n,r,s,o,h,d;return o=t.a*dut+t.b*1502,d=t.b*dut+11,n=b.Math.floor(d*lN),o+=n,d-=n*y8t,o%=y8t,t.a=o,t.b=d,e<=24?b.Math.floor(t.a*L9t[e]):(s=t.a*(1<<e-24),h=b.Math.floor(t.b*D9t[e]),r=s+h,r>=2147483648&&(r-=4294967296),r)}function Dde(t,e,n){var r,s,o,h,d,m,k;for(o=new fe,k=new Ki,h=new Ki,B7n(t,k,h,e),p9n(t,k,h,e,n),m=new G(t);m.a<m.c.c.length;)for(d=u(et(m),118),s=new G(d.k);s.a<s.c.c.length;)r=u(et(s),132),(!e||r.c==(C1(),o2))&&d.g>r.b.g&&In(o.c,r);return o}function x6n(t,e,n){var r,s,o,h,d,m;for(d=t.c,h=(n.q?n.q:(mn(),mn(),q0)).vc().Kc();h.Ob();)o=u(h.Pb(),44),r=!wE(_i(new ln(null,new gn(d,16)),new Sl(new jXt(e,o)))).Bd((U2(),Rk)),r&&(m=o.md(),Lt(m,4)&&(s=nxt(m),s!=null&&(m=s)),e.qf(u(o.ld(),149),m))}function k6n(t,e,n){var r,s;if(EI(t.b),E1(t.b,(pO(),vK),(tS(),kP)),E1(t.b,yK,e.g),E1(t.b,xK,e.a),t.a=XO(t.b,e),n.Ug("Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(s=new G(t.a);s.a<s.c.c.length;)r=u(et(s),47),r.Kf(e,n.eh(1));n.Vg()}function J6t(t,e,n){var r,s,o;if(o=y5((il(),ja),t.Dh(),e),o){if(vo(),!u(o,69).xk()&&(o=tk($o(ja,o)),!o))throw at(new zn(Jb+e.xe()+aA));s=(r=t.Ih(o),u(r>=0?t.Lh(r,!0,!0):tv(t,o,!0),160)),u(s,220).Xl(e,n)}else throw at(new zn(Jb+e.xe()+aA))}function QH(t,e){var n,r,s,o,h;if(e){for(o=Lt(t.Cb,90)||Lt(t.Cb,102),h=!o&&Lt(t.Cb,331),r=new Zn((!e.a&&(e.a=new DS(e,Do,e)),e.a));r.e!=r.i.gc();)if(n=u(ar(r),89),s=lV(n),o?Lt(s,90):h?Lt(s,156):s)return s;return o?(wn(),xf):(wn(),Sd)}else return null}function E6n(t,e){var n,r,s,o;for(e.Ug("Resize child graph to fit parent.",1),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),30),Hs(t.a,n.a),n.a.c.length=0;for(o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),10),Aa(s,null);t.b.c.length=0,Hkn(t),t.e&&$En(t.e,t),e.Vg()}function T6n(t,e){var n,r,s,o,h;for(e.Ug("Edge joining",1),n=Ie(Me(X(t,(De(),f1t)))),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new La(r.a,0);h.b<h.d.gc();)o=(ur(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),10)),o.k==(Un(),fa)&&(_ct(o,n),Kl(h));e.Vg()}function C6n(t,e){var n,r,s,o,h;for(n=new fe,s=fc(new ln(null,new gn(t,16)),new xZ),o=fc(new ln(null,new gn(t,16)),new kZ),h=P0n(Zdn(Ny(ikn(lt(ut(r_n,1),Ln,848,0,[s,o])),new EZ))),r=1;r<h.length;r++)h[r]-h[r-1]>=2*e&&ge(n,new yit(h[r-1]+e,h[r]-e));return n}function S6n(t,e,n){var r,s,o,h,d,m,k,T;if(n)for(o=n.a.length,r=new W2(o),d=(r.b-r.a)*r.c<0?(Tb(),y2):new _b(r);d.Ob();)h=u(d.Pb(),17),s=qE(n,h.a),s&&(m=ndn(t,(k=(kb(),T=new J2t,T),e&&Z6t(k,e),k),s),n7(m,yg(s,a0)),qH(s,m),E6t(s,m),xat(t,s,m))}function JH(t){var e,n,r,s,o,h;if(!t.j){if(h=new bC,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),s=JH(n),gs(h,s),Or(h,n);e.a.Bc(t)!=null}Uy(h),t.j=new $4((u(Dt(Qt((Lb(),Fn).o),11),19),h.i),h.g),_l(t).b&=-33}return t.j}function _6n(t){var e,n,r,s;if(t==null)return null;if(r=su(t,!0),s=NN.length,hn(r.substr(r.length-s,s),NN)){if(n=r.length,n==4){if(e=(qn(0,r.length),r.charCodeAt(0)),e==43)return aOt;if(e==45)return ZTe}else if(n==3)return aOt}return new z2t(r)}function A6n(t){var e,n,r;return n=t.l,n&n-1||(r=t.m,r&r-1)||(e=t.h,e&e-1)||e==0&&r==0&&n==0?-1:e==0&&r==0&&n!=0?w4t(n):e==0&&r!=0&&n==0?w4t(r)+22:e!=0&&r==0&&n==0?w4t(e)+44:-1}function p5(t,e){var n,r,s,o,h;for(s=e.a&t.f,o=null,r=t.b[s];;r=r.b){if(r==e){o?o.b=e.b:t.b[s]=e.b;break}o=r}for(h=e.f&t.f,o=null,n=t.c[h];;n=n.d){if(n==e){o?o.d=e.d:t.c[h]=e.d;break}o=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function L6n(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,!e.e&&!e.c?(n=u(nf(u(rk(t.b,e.a),260)),260),n.a=0,++t.c):(n=u(nf(u(tr(t.b,e.a),260)),260),--n.a,e.e?e.e.c=e.c:n.b=u(nf(e.c),511),e.c?e.c.e=e.e:n.c=u(nf(e.e),511)),--t.d}function D6n(t){var e,n,r,s,o,h,d,m,k,T;for(n=t.o,e=t.p,h=xi,s=Ga,d=xi,o=Ga,k=0;k<n;++k)for(T=0;T<e;++T)u5(t,k,T)&&(h=b.Math.min(h,k),s=b.Math.max(s,k),d=b.Math.min(d,T),o=b.Math.max(o,T));return m=s-h+1,r=o-d+1,new sne(he(h),he(d),he(m),he(r))}function Qot(t,e){var n,r,s,o;for(o=new La(t,0),n=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),148));o.b<o.d.gc();)r=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),148)),s=new qvt(r.c,n.d,e),ur(o.b>0),o.a.Xb(o.c=--o.b),Ly(o,s),ur(o.b<o.d.gc()),o.d.Xb(o.c=o.b++),s.a=!1,n=r}function Mde(t){var e,n,r,s,o,h;for(s=u(X(t,(oe(),AG)),12),h=new G(t.j);h.a<h.c.c.length;){for(o=u(et(h),12),r=new G(o.g);r.a<r.c.c.length;)return e=u(et(r),18),xa(e,s),o;for(n=new G(o.e);n.a<n.c.c.length;)return e=u(et(n),18),Xa(e,s),o}return null}function Ide(t,e,n){var r,s,o,h,d,m;for(m=u(Sy(t.a,e),17).a,n?Gxt(t.a,he(m+1),e):Gxt(t.a,he(m-1),e),h=new zd,s=new rr(sr((n?_s(e):ua(e)).a.Kc(),new z));Mr(s);)r=u(dr(s),18),n?o=r.d.i:o=r.c.i,$t(Sy(t.a,o))===$t(Sy(t.a,e))&&(d=h.a.zc(o,h),d==null);return h}function M6n(t,e,n){var r,s;r=Pc(n.q.getTime()),$c(r,0)<0?(s=Rp-qr(mO(Cp(r),Rp)),s==Rp&&(s=0)):s=qr(mO(r,Rp)),e==1?(s=b.Math.min((s+50)/100|0,9),Db(t,48+s&js)):e==2?(s=b.Math.min((s+5)/10|0,99),M0(t,s,2)):(M0(t,s,3),e>3&&M0(t,0,e-3))}function I6n(t){var e,n,r,s;return $t(X(t,(De(),A3)))===$t((Ag(),Xp))?!t.e&&$t(X(t,iP))!==$t((c7(),JN)):(r=u(X(t,e1t),298),s=Ie(Me(X(t,n1t)))||$t(X(t,FA))===$t((QS(),QN)),e=u(X(t,R_t),17).a,n=t.a.c.length,!s&&r!=(c7(),JN)&&(e==0||e>n))}function O6n(t){var e,n;for(n=0;n<t.c.length&&!(Ete((vn(n,t.c.length),u(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(Ete((vn(e,t.c.length),u(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function Ode(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=6&&e){if(_7(t,e))throw at(new zn(oA+K1e(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Ext(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,6,r)),r=ovt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,6,e,e))}function ZH(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(_7(t,e))throw at(new zn(oA+Nge(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?_xt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,12,r)),r=cvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function Z6t(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=9&&e){if(_7(t,e))throw at(new zn(oA+I0e(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Cxt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,9,r)),r=uvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,9,e,e))}function P7(t){var e,n,r,s,o;if(r=of(t),o=t.j,o==null&&r)return t.Jk()?null:r.ik();if(Lt(r,156)){if(n=r.jk(),n&&(s=n.wi(),s!=t.i)){if(e=u(r,156),e.nk())try{t.g=s.ti(e,o)}catch(h){if(h=es(h),Lt(h,82))t.g=null;else throw at(h)}t.i=s}return t.g}return null}function Nde(t){var e;return e=new fe,ge(e,new O6(new ae(t.c,t.d),new ae(t.c+t.b,t.d))),ge(e,new O6(new ae(t.c,t.d),new ae(t.c,t.d+t.a))),ge(e,new O6(new ae(t.c+t.b,t.d+t.a),new ae(t.c+t.b,t.d))),ge(e,new O6(new ae(t.c+t.b,t.d+t.a),new ae(t.c,t.d+t.a))),e}function N6n(t){var e,n,r;if(t==null)return Vu;try{return rc(t)}catch(s){if(s=es(s),Lt(s,103))return e=s,r=V2(Wl(t))+"@"+(n=(pg(),ext(t)>>>0),n.toString(16)),Wwn(Opn(),(xE(),"Exception during lenientFormat for "+r),e),"<"+r+" threw "+V2(e.Rm)+">";throw at(s)}}function P6n(t,e,n){var r,s,o;for(o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),74),r=u(tr(t.b,s),272),!r&&(Ji(O0(s))==Ji(qb(s))?kkn(t,s,n):O0(s)==Ji(qb(s))?tr(t.c,s)==null&&tr(t.b,qb(s))!=null&&fpe(t,s,n,!1):tr(t.d,s)==null&&tr(t.b,O0(s))!=null&&fpe(t,s,n,!0))}function F6n(t,e){var n,r,s,o,h,d,m;for(s=t.Kc();s.Ob();)for(r=u(s.Pb(),10),d=new Yc,hc(d,r),Xs(d,(ve(),Jn)),Zt(d,(oe(),IG),(Pn(),!0)),h=e.Kc();h.Ob();)o=u(h.Pb(),10),m=new Yc,hc(m,o),Xs(m,Gn),Zt(m,IG,!0),n=new Pm,Zt(n,IG,!0),Xa(n,d),xa(n,m)}function B6n(t,e,n,r){var s,o,h,d;s=wle(t,e,n),o=wle(t,n,e),h=u(tr(t.c,e),118),d=u(tr(t.c,n),118),s<o?new J2((C1(),F3),h,d,o-s):o<s?new J2((C1(),F3),d,h,s-o):(s!=0||!(!e.i||!n.i)&&r[e.i.c][n.i.c])&&(new J2((C1(),F3),h,d,0),new J2(F3,d,h,0))}function Pde(t,e){var n,r,s,o,h,d,m;for(s=0,h=new G(e.a);h.a<h.c.c.length;)for(o=u(et(h),10),s+=o.o.b+o.d.a+o.d.d+t.e,r=new rr(sr(ua(o).a.Kc(),new z));Mr(r);)n=u(dr(r),18),n.c.i.k==(Un(),uu)&&(m=n.c.i,d=u(X(m,(oe(),Li)),10),s+=d.o.b+d.d.a+d.d.d);return s}function A_(){A_=V,rx=new YM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Xk=new YM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),aL=new YM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),sL=new YM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),xP=new YM("WHOLE_DRAWING",4)}function R6n(t,e){if(Lt(e,207))return c2n(t,u(e,27));if(Lt(e,193))return p2n(t,u(e,123));if(Lt(e,366))return shn(t,u(e,135));if(Lt(e,326))return k7n(t,u(e,74));if(e)return null;throw at(new zn(DTt+Hb(new hl(lt(ut(aa,1),Ln,1,5,[e])))))}function j6n(t){var e,n,r,s,o,h,d;for(o=new Ki,s=new G(t.d.a);s.a<s.c.c.length;)r=u(et(s),125),r.b.a.c.length==0&&hs(o,r,o.c.b,o.c);if(o.b>1)for(e=km((n=new H2,++t.b,n),t.d),d=Dr(o,0);d.b!=d.d.c;)h=u(Ar(d),125),Hf(Of(If(Nf(Mf(new tf,1),0),e),h))}function $6n(t,e,n){var r,s,o,h,d;for(n.Ug("Breaking Point Removing",1),t.a=u(X(e,(De(),zg)),223),o=new G(e.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(Rm(s.a));d.a<d.c.c.length;)h=u(et(d),10),Bae(h)&&(r=u(X(h,(oe(),vv)),313),!r.d&&Cpe(t,r));n.Vg()}function tV(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=11&&e){if(_7(t,e))throw at(new zn(oA+vkt(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Axt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=gk(e,t,10,r)),r=mvt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,11,e,e))}function z6n(t){var e,n,r,s;for(r=new sw(new mr(t.b).a);r.b;)n=Um(r),s=u(n.ld(),12),e=u(n.md(),10),Zt(e,(oe(),Li),s),Zt(s,ml,e),Zt(s,eP,(Pn(),!0)),Xs(s,u(X(e,Dc),64)),X(e,Dc),Zt(s.i,(De(),bs),(ka(),YT)),u(X(Pa(s.i),lu),21).Fc((Co(),DT))}function q6n(t,e,n){var r,s,o,h,d,m;if(o=0,h=0,t.c)for(m=new G(t.d.i.j);m.a<m.c.c.length;)d=u(et(m),12),o+=d.e.c.length;else o=1;if(t.d)for(m=new G(t.c.i.j);m.a<m.c.c.length;)d=u(et(m),12),h+=d.g.c.length;else h=1;return s=Ys(vI(h-o)),r=(n+e)/2+(n-e)*(.4*s),r}function H6n(t){Qy();var e,n;if(t.Hc((ve(),bc)))throw at(new zn("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return XN;case 2:return e=t.Hc(Jn)&&t.Hc(Gn),n=t.Hc(Hn)&&t.Hc(Er),e||n?vG:mG;case 3:return wG;case 4:return bG;default:return null}}function Jot(t,e,n){return w5(),i7(t,e)&&i7(t,n)?!1:Lct(new ae(t.c,t.d),new ae(t.c+t.b,t.d),e,n)||Lct(new ae(t.c+t.b,t.d),new ae(t.c+t.b,t.d+t.a),e,n)||Lct(new ae(t.c+t.b,t.d+t.a),new ae(t.c,t.d+t.a),e,n)||Lct(new ae(t.c,t.d+t.a),new ae(t.c,t.d),e,n)}function tkt(t,e){var n,r,s,o;if(!t.dc()){for(n=0,r=t.gc();n<r;++n)if(o=Gr(t.Xb(n)),o==null?e==null:hn(o.substr(0,3),"!##")?e!=null&&(s=e.length,!hn(o.substr(o.length-s,s),e)||o.length!=e.length+3)&&!hn(Cw,e):hn(o,lht)&&!hn(Cw,e)||hn(o,e))return!0}return!1}function V6n(t,e,n,r){var s,o,h,d,m,k;for(h=t.j.c.length,m=Vt(a_n,M8t,314,h,0,1),d=0;d<h;d++)o=u(Oe(t.j,d),12),o.p=d,m[d]=exn(sde(o),n,r);for(pkn(t,m,n,e,r),k=new _r,s=0;s<m.length;s++)m[s]&&hi(k,u(Oe(t.j,s),12),m[s]);k.f.c+k.i.c!=0&&(Zt(t,(oe(),MA),k),p4n(t,m))}function U6n(t,e){var n,r,s,o,h,d;for(e.Ug("Partition postprocessing",1),r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)for(s=u(et(o),10),d=new G(s.j);d.a<d.c.c.length;)h=u(et(d),12),Ie(Me(X(h,(oe(),IG))))&&PS(d);e.Vg()}function G6n(t,e,n){var r,s,o;for(s=new G(t.a.b);s.a<s.c.c.length;)if(r=u(et(s),60),o=J4(r),o&&o.k==(Un(),Ms))switch(u(X(o,(oe(),Dc)),64).g){case 4:o.n.a=e.a;break;case 2:o.n.a=n.a-(o.o.a+o.d.c);break;case 1:o.n.b=e.b;break;case 3:o.n.b=n.b-(o.o.b+o.d.a)}}function K6n(t,e,n){var r,s,o;for(n.Ug("Processor determine the height for each level",1),t.a=e.b.b==0?1:e.b.b,s=null,r=Dr(e.b,0);!s&&r.b!=r.d.c;)o=u(Ar(r),39),Ie(Me(X(o,(ji(),u2))))&&(s=o);s&&Tge(t,id(lt(ut(aK,1),rU,39,0,[s])),n,u(X(e,(Cc(),Mv)),88)),n.Vg()}function W6n(t){var e,n,r,s,o,h;for(r=(kb(),o=new VC,o),$O(r,t),n=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));n.e!=n.i.gc();)e=u(ar(n),27),h=(s=new VC,s),tV(h,r),H4(h,e.g,e.f),n7(h,e.k),Ch(h,e.i,e.j),Or((!r.a&&(r.a=new Jt(bi,r,10,11)),r.a),h),$O(h,e);return r}function Y6n(t,e,n){var r,s,o,h,d;return s=u(ne(e,(VH(),fMt)),17),!s&&(s=he(0)),o=u(ne(n,fMt),17),!o&&(o=he(0)),s.a>o.a?-1:s.a<o.a?1:t.a&&(r=Bi(e.j,n.j),r!=0||(r=Bi(e.i,n.i),r!=0))?r:(h=e.g*e.f,d=n.g*n.f,Bi(h,d))}function X6n(t,e){var n,r,s,o,h,d,m,k,T,A;if(++t.e,m=t.d==null?0:t.d.length,e>m){for(T=t.d,t.d=Vt(MIt,jTt,66,2*m+4,0,1),o=0;o<m;++o)if(k=T[o],k)for(r=k.g,A=k.i,d=0;d<A;++d)s=u(r[d],136),h=lvt(t,s.Bi()),n=t.d[h],!n&&(n=t.d[h]=t.dk()),n.Fc(s);return!0}else return!1}function Q6n(t,e,n){var r,s,o,h,d,m;if(s=n,o=s.Lk(),Ng(t.e,o)){if(o.Si()){for(r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],Ti(d,s)&&h!=e)throw at(new zn(AN))}}else for(m=Lu(t.e.Dh(),o),r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],m.am(d.Lk()))throw at(new zn(ON));h_(t,e,n)}function Fde(t,e){var n,r,s,o,h,d;for(n=u(X(e,(oe(),$g)),21),h=u(Ai((Ict(),Ri),n),21),d=u(Ai(oi,n),21),o=h.Kc();o.Ob();)if(r=u(o.Pb(),21),!u(Ai(t.b,r),15).dc())return!1;for(s=d.Kc();s.Ob();)if(r=u(s.Pb(),21),!u(Ai(t.b,r),15).dc())return!1;return!0}function ekt(t,e){var n,r,s,o,h,d,m,k,T;if(t.a.c.length==1)return Rfe(u(Oe(t.a,0),172),e);for(h=Kbn(t),m=0,k=t.d,o=h,T=t.d,d=(k-o)/2+o;o+1<k;){for(m=0,r=new G(t.a);r.a<r.c.c.length;)n=u(et(r),172),m+=(s=B_(n,d,!1),s.a);m<e?(T=d,k=d):o=d,d=(k-o)/2+o}return T}function $O(t,e){var n,r,s,o,h;if(!e)return t;if(Lt(e,342))for(s=u(e,342),o=(!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),t.o),r=s.gh().c.Kc();r.e!=r.i.gc();)n=u(r.Yj(),44),h=n.md(),SO(o,u(n.ld(),149),h);else!t.o&&(t.o=new nl((zc(),X0),Qp,t,0)),Hoe(t.o,e.nf());return t}function J6n(t){var e,n,r,s,o;return isNaN(t)?(WE(),c9t):t<-9223372036854776e3?(WE(),Wve):t>=9223372036854776e3?(WE(),a9t):(s=!1,t<0&&(s=!0,t=-t),r=0,t>=bw&&(r=Ys(t/bw),t-=r*bw),n=0,t>=Sk&&(n=Ys(t/Sk),t-=n*Sk),e=Ys(t),o=Eu(e,n,r),s&&kat(o),o)}function Z6n(t){var e,n,r,s,o;if(o=new fe,Cu(t.b,new E0(o)),t.b.c.length=0,o.c.length!=0){for(e=(vn(0,o.c.length),u(o.c[0],82)),n=1,r=o.c.length;n<r;++n)s=(vn(n,o.c.length),u(o.c[n],82)),s!=e&&C3n(e,s);if(Lt(e,63))throw at(u(e,63));if(Lt(e,295))throw at(u(e,295))}}function tkn(t,e){var n,r,s,o;for(n=!e||!t.u.Hc((wl(),Hg)),o=0,s=new G(t.e.Xf());s.a<s.c.c.length;){if(r=u(et(s),852),r.ag()==(ve(),bc))throw at(new zn("Label and node size calculator can only be used with ports that have port sides assigned."));r.Qf(o++),qbn(t,r,n)}}function nkt(t){var e,n,r,s,o;for(n=new G(t.a.a);n.a<n.c.c.length;){for(e=u(et(n),316),e.j=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),60),k1(r.b),(!e.j||r.d.c<e.j.d.c)&&(e.j=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),60),r.b.a=r.d.c-e.j.d.c,r.b.b=r.d.d-e.j.d.d}return t}function eV(t){var e,n,r,s,o;for(n=new G(t.a.a);n.a<n.c.c.length;){for(e=u(et(n),194),e.f=null,o=e.a.a.ec().Kc();o.Ob();)r=u(o.Pb(),86),k1(r.e),(!e.f||r.g.c<e.f.g.c)&&(e.f=r);for(s=e.a.a.ec().Kc();s.Ob();)r=u(s.Pb(),86),r.e.a=r.g.c-e.f.g.c,r.e.b=r.g.d-e.f.g.d}return t}function ekn(t){var e,n,r;return n=u(t.a,17).a,r=u(t.b,17).a,e=b.Math.max(b.Math.abs(n),b.Math.abs(r)),n<e&&r==-e?new Ws(he(n+1),he(r)):n==e&&r<e?new Ws(he(n),he(r+1)):n>=-e&&r==e?new Ws(he(n-1),he(r)):new Ws(he(n),he(r-1))}function Bde(){return Za(),lt(ut(h_n,1),te,81,0,[KCt,VCt,B5,gft,fSt,nG,fG,E3,lSt,eSt,cSt,k3,hSt,JCt,dSt,RCt,aG,pft,tG,uG,pSt,cG,jCt,uSt,bSt,lG,gSt,eG,YCt,aSt,sSt,dG,qCt,ZU,iG,zCt,vT,rSt,ZCt,oSt,CA,UCt,HCt,iSt,tSt,sG,hG,$Ct,oG,nSt,rG,XCt,WCt,WN,JU,QCt,GCt])}function nkn(t,e,n){t.d=0,t.b=0,e.k==(Un(),uu)&&n.k==uu&&u(X(e,(oe(),Li)),10)==u(X(n,Li),10)&&(qst(e).j==(ve(),Hn)?Tde(t,e,n):Tde(t,n,e)),e.k==uu&&n.k==fa?qst(e).j==(ve(),Hn)?t.d=1:t.b=1:n.k==uu&&e.k==fa&&(qst(n).j==(ve(),Hn)?t.b=1:t.d=1),$mn(t,e,n)}function rkn(t){var e,n,r,s,o,h,d,m,k,T,A;return A=Jxt(t),e=t.a,m=e!=null,m&&ME(A,"category",t.a),s=NM(new cr(t.d)),h=!s,h&&(k=new cp,_1(A,"knownOptions",k),n=new qGt(k),Fa(new cr(t.d),n)),o=NM(t.g),d=!o,d&&(T=new cp,_1(A,"supportedFeatures",T),r=new HGt(T),Fa(t.g,r)),A}function ikn(t){var e,n,r,s,o,h,d,m,k;for(r=!1,e=336,n=0,o=new CZt(t.length),d=t,m=0,k=d.length;m<k;++m)h=d[m],r=r|($b(h),!1),s=(Mb(h),h.a),ge(o.a,Hr(s)),e&=s.yd(),n=kbn(n,s.zd());return u(u(yee(new ln(null,Not(new gn((Dm(),W5t(o.a)),16),new mt,e,n)),new Yj(t)),687),848)}function skn(t,e){var n;t.d&&(e.c!=t.e.c||Ygn(t.e.b,e.b))&&(ge(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),yin(e.b)?t.c=e:t.b=e,(e.b==(u7(),bv)&&!e.a||e.b==v3&&e.a||e.b==F5&&e.a||e.b==y3&&!e.a)&&t.c&&t.b&&(n=new Ah(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function L_(t){var e;if(JKt.call(this),this.i=new eM,this.g=t,this.f=u(t.e&&t.e(),9).length,this.f==0)throw at(new zn("There must be at least one phase in the phase enumeration."));this.c=(e=u(y1(this.g),9),new _h(e,u(Ff(e,e.length),9),0)),this.a=new Fs,this.b=new _r}function rkt(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=7&&e){if(_7(t,e))throw at(new zn(oA+Hfe(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Txt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=u(e,54).Rh(t,1,zP,r)),r=hyt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,7,e,e))}function Rde(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(_7(t,e))throw at(new zn(oA+zue(t)));r=null,t.Cb&&(r=(n=t.Db>>16,n>=0?Sxt(t,r):t.Cb.Th(t,-1-n,null,r))),e&&(r=u(e,54).Rh(t,0,HP,r)),r=fyt(t,e,r),r&&r.oj()}else t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,3,e,e))}function Zot(t,e){F7();var n,r,s,o,h,d,m,k,T;return e.d>t.d&&(d=t,t=e,e=d),e.d<63?Gkn(t,e):(h=(t.d&-2)<<4,k=M3t(t,h),T=M3t(e,h),r=vct(t,nk(k,h)),s=vct(e,nk(T,h)),m=Zot(k,T),n=Zot(r,s),o=Zot(vct(k,r),vct(s,T)),o=Sct(Sct(o,m),n),o=nk(o,h),m=nk(m,h<<1),Sct(Sct(m,o),n))}function Bp(){Bp=V,b1t=new F4(q2e,0),TAt=new F4("LONGEST_PATH",1),CAt=new F4("LONGEST_PATH_SOURCE",2),p1t=new F4("COFFMAN_GRAHAM",3),EAt=new F4(qut,4),SAt=new F4("STRETCH_WIDTH",5),XG=new F4("MIN_WIDTH",6),RT=new F4("BF_MODEL_ORDER",7),jT=new F4("DF_MODEL_ORDER",8)}function akn(t,e,n){var r,s,o,h,d;for(h=c_(t,n),d=Vt(V0,jp,10,e.length,0,1),r=0,o=h.Kc();o.Ob();)s=u(o.Pb(),12),Ie(Me(X(s,(oe(),eP))))&&(d[r++]=u(X(s,ml),10));if(r<e.length)throw at(new Ro("Expected "+e.length+" hierarchical ports, but found only "+r+"."));return d}function okn(t,e){var n,r,s,o,h,d;if(!t.tb){for(o=(!t.rb&&(t.rb=new Iy(t,B1,t)),t.rb),d=new M6(o.i),s=new Zn(o);s.e!=s.i.gc();)r=u(ar(s),142),h=r.xe(),n=u(h==null?yu(d.f,null,r):Km(d.i,h,r),142),n&&(h==null?yu(d.f,null,n):Km(d.i,h,n));t.tb=d}return u(nu(t.tb,e),142)}function zO(t,e){var n,r,s,o,h;if((t.i==null&&Qd(t),t.i).length,!t.p){for(h=new M6((3*t.g.i/2|0)+1),s=new $6(t.g);s.e!=s.i.gc();)r=u(sot(s),179),o=r.xe(),n=u(o==null?yu(h.f,null,r):Km(h.i,o,r),179),n&&(o==null?yu(h.f,null,n):Km(h.i,o,n));t.p=h}return u(nu(t.p,e),179)}function ikt(t,e,n,r,s){var o,h,d,m,k;for(Pwn(r+eq(n,n.ie()),s),Oee(e,ewn(n)),o=n.f,o&&ikt(t,e,o,"Caused by: ",!1),d=(n.k==null&&(n.k=Vt(Sht,ue,82,0,0,1)),n.k),m=0,k=d.length;m<k;++m)h=d[m],ikt(t,e,h,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function qO(t,e,n,r){var s,o,h,d,m;for(m=e.e,d=m.length,h=e.q.ug(m,n?0:d-1,n),s=m[n?0:d-1],h=h|C0e(t,s,n,r),o=n?1:d-2;n?o<d:o>=0;o+=n?1:-1)h=h|e.c.lg(m,o,n,r&&!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,(oe(),U5))))),h=h|e.q.ug(m,o,n),h=h|C0e(t,m[o],n,r);return qs(t.c,e),h}function nV(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=rie(t.j),A=0,P=T.length;A<P;++A){if(k=T[A],n==(To(),vl)||n==HA)for(m=Kd(k.g),s=m,o=0,h=s.length;o<h;++o)r=s[o],g4n(e,r)&&nv(r,!0);if(n==ku||n==HA)for(d=Kd(k.e),s=d,o=0,h=s.length;o<h;++o)r=s[o],d4n(e,r)&&nv(r,!0)}}function ckn(t){var e,n;switch(e=null,n=null,Syn(t).g){case 1:e=(ve(),Jn),n=Gn;break;case 2:e=(ve(),Er),n=Hn;break;case 3:e=(ve(),Gn),n=Jn;break;case 4:e=(ve(),Hn),n=Er}C(t,u(Vl(G6(u(Ai(t.k,e),15).Oc(),R5)),113)),x(t,u(Vl(My(u(Ai(t.k,n),15).Oc(),R5)),113))}function ukn(t){var e,n,r,s,o,h;if(s=u(Oe(t.j,0),12),s.e.c.length+s.g.c.length==0)t.n.a=0;else{for(h=0,r=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(s),new k6(s)])));Mr(r);)n=u(dr(r),12),h+=n.i.n.a+n.n.a+n.a.a;e=u(X(t,(De(),Sv)),8),o=e?e.a:0,t.n.a=h/(s.e.c.length+s.g.c.length)-o}}function jde(t,e){var n,r,s;for(r=new G(e.a);r.a<r.c.c.length;)n=u(et(r),225),Iit(u(n.b,68),ia(Oa(u(e.b,68).c),u(e.b,68).a)),s=ige(u(e.b,68).b,u(n.b,68).b),s>1&&(t.a=!0),jun(u(n.b,68),ki(Oa(u(e.b,68).c),qd(ia(Oa(u(n.b,68).a),u(e.b,68).a),s))),lre(t,e),jde(t,n)}function $de(t){var e,n,r,s,o,h,d;for(o=new G(t.a.a);o.a<o.c.c.length;)r=u(et(o),194),r.e=0,r.d.a.$b();for(s=new G(t.a.a);s.a<s.c.c.length;)for(r=u(et(s),194),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),86),d=e.f.Kc();d.Ob();)h=u(d.Pb(),86),h.d!=r&&(qs(r.d,h),++h.d.e)}function lkn(t){var e,n,r,s,o,h,d,m;for(m=t.j.c.length,n=0,e=m,s=2*m,d=new G(t.j);d.a<d.c.c.length;)switch(h=u(et(d),12),h.j.g){case 2:case 4:h.p=-1;break;case 1:case 3:r=h.e.c.length,o=h.g.c.length,r>0&&o>0?h.p=e++:r>0?h.p=n++:o>0?h.p=s++:h.p=n++}mn(),Ds(t.j,new R8)}function hkn(t){var e,n;n=null,e=u(Oe(t.g,0),18);do{if(n=e.d.i,qi(n,(oe(),gf)))return u(X(n,gf),12).i;if(n.k!=(Un(),xs)&&Mr(new rr(sr(_s(n).a.Kc(),new z))))e=u(dr(new rr(sr(_s(n).a.Kc(),new z))),18);else if(n.k!=xs)return null}while(n&&n.k!=(Un(),xs));return n}function fkn(t,e){var n,r,s,o,h,d,m,k,T;for(d=e.j,h=e.g,m=u(Oe(d,d.c.length-1),113),T=(vn(0,d.c.length),u(d.c[0],113)),k=yot(t,h,m,T),o=1;o<d.c.length;o++)n=(vn(o-1,d.c.length),u(d.c[o-1],113)),s=(vn(o,d.c.length),u(d.c[o],113)),r=yot(t,h,n,s),r>k&&(m=n,T=s,k=r);e.a=T,e.c=m}function dkn(t,e,n){var r,s,o,h,d,m,k;for(k=new pp(new SUt(t)),h=lt(ut(w4e,1),f2e,12,0,[e,n]),d=0,m=h.length;d<m;++d)for(o=h[d],k.a.zc(o,(Pn(),t2))==null,s=new sd(o.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),r.c==r.d||yI(k,o==r.c?r.d:r.c);return Hr(k),new fl(k)}function Hf(t){if(!t.a.d||!t.a.e)throw at(new Ro((wg(Cye),Cye.k+" must have a source and target "+(wg(Z9t),Z9t.k)+" specified.")));if(t.a.d==t.a.e)throw at(new Ro("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return lz(t.a.d.g,t.a),lz(t.a.e.b,t.a),t.a}function gkn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Constraints Postprocessor",1),h=0,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m=0,d=!1,r=new G(s.a);r.a<r.c.c.length;)n=u(et(r),10),n.k==(Un(),xs)&&(d=!0,Zt(n,(De(),qG),he(h)),Zt(n,RG,he(m)),++m);d&&++h}e.Vg()}function zde(t,e,n){var r,s,o,h,d,m;if(r=0,e.b!=0&&n.b!=0){o=Dr(e,0),h=Dr(n,0),d=Rt(Ht(Ar(o))),m=Rt(Ht(Ar(h))),s=!0;do{if(d>m-t.b&&d<m+t.b)return-1;d>m-t.a&&d<m+t.a&&++r,d<=m&&o.b!=o.d.c?d=Rt(Ht(Ar(o))):m<=d&&h.b!=h.d.c?m=Rt(Ht(Ar(h))):s=!1}while(s)}return r}function qde(t,e){var n,r;return EI(t.a),E1(t.a,(Kq(),hK),hK),E1(t.a,nx,nx),r=new Fs,ri(r,nx,(zH(),Q1t)),$t(ne(e,(Ub(),edt)))!==$t((uO(),fK))&&ri(r,nx,W1t),Ie(Me(ne(e,WLt)))&&ri(r,nx,J1t),ri(r,nx,Y1t),Ie(Me(ne(e,XLt)))&&el(r,nx,X1t),kmt(t.a,r),n=XO(t.a,e),n}function pkn(t,e,n,r,s){var o,h,d,m;for(m=(o=u(y1(bo),9),new _h(o,u(Ff(o,o.length),9),0)),d=new G(t.j);d.a<d.c.c.length;)h=u(et(d),12),e[h.p]&&(zCn(h,e[h.p],r),zf(m,h.j));s?(Lot(t,e,(ve(),Jn),2*n,r),Lot(t,e,Gn,2*n,r)):(Lot(t,e,(ve(),Hn),2*n,r),Lot(t,e,Er,2*n,r))}function bkn(t){var e,n;for(n=new rr(sr(_s(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),e.d.i.k!=(Un(),Vc))throw at(new fp(zut+EO(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that  does not go to a LAST_SEPARATE node. That must not happen."))}function wkn(t,e,n){var r,s,o,h,d;for(n.Ug("Longest path layering",1),t.a=e,d=t.a.a,t.b=Vt(Fr,ii,28,d.c.length,15,1),r=0,h=new G(d);h.a<h.c.c.length;)s=u(et(h),10),s.p=r,t.b[r]=-1,++r;for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),10),yde(t,s);d.c.length=0,t.a=null,t.b=null,n.Vg()}function mkn(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(m=0,T=new G(t.a);T.a<T.c.c.length;){for(k=u(et(T),10),d=0,o=new rr(sr(ua(k).a.Kc(),new z));Mr(o);)s=u(dr(o),18),A=rd(s.c).b,P=rd(s.d).b,d=b.Math.max(d,b.Math.abs(P-A));m=b.Math.max(m,d)}return h=r*b.Math.min(1,e/n)*m,h}function vkn(t,e){var n,r,s,o,h;for(h=u(X(e,(Cc(),ALt)),433),o=Dr(e.b,0);o.b!=o.d.c;)if(s=u(Ar(o),39),t.b[s.g]==0){switch(h.g){case 0:ihe(t,s);break;case 1:Axn(t,s)}t.b[s.g]=2}for(r=Dr(t.a,0);r.b!=r.d.c;)n=u(Ar(r),65),Ky(n.b.d,n,!0),Ky(n.c.b,n,!0);Zt(e,(ji(),wLt),t.a)}function skt(t){var e;return e=new YC,t&256&&(e.a+="F"),t&128&&(e.a+="H"),t&512&&(e.a+="X"),t&2&&(e.a+="i"),t&8&&(e.a+="m"),t&4&&(e.a+="s"),t&32&&(e.a+="u"),t&64&&(e.a+="w"),t&16&&(e.a+="x"),t&Uf&&(e.a+=","),lwt(e.a)}function ykn(t,e){var n,r,s,o,h,d;e.Ug(cwe,1),s=u(ne(t,(fd(),rL)),107),o=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),h=Svn(o),d=b.Math.max(h.a,Rt(Ht(ne(t,(N0(),nL))))-(s.b+s.c)),r=b.Math.max(h.b,Rt(Ht(ne(t,bK)))-(s.d+s.a)),n=r-h.b,Mi(t,tL,n),Mi(t,HT,d),Mi(t,eL,r+n),e.Vg()}function Lu(t,e){vo();var n,r,s,o;return e?e==(Ni(),QTe)||(e==jTe||e==Hw||e==RTe)&&t!=iOt?new t8t(t,e):(r=u(e,692),n=r.$k(),n||(RE($o((il(),ja),e)),n=r.$k()),o=(!n.i&&(n.i=new _r),n.i),s=u(Ko(Eo(o.f,t)),2041),!s&&hi(o,t,s=new t8t(t,e)),s):PTe}function xkn(t,e){var n,r;if(r=yI(t.b,e.b),!r)throw at(new Ro("Invalid hitboxes for scanline constraint calculation."));(Oce(e.b,u(Prn(t.b,e.b),60))||Oce(e.b,u(Nrn(t.b,e.b),60)))&&(pg(),String.fromCharCode(10)),t.a[e.b.f]=u(lrt(t.b,e.b),60),n=u(urt(t.b,e.b),60),n&&(t.a[n.f]=e.b)}function kkn(t,e,n){var r,s,o,h,d,m,k,T,A;for(o=b5(e,!1,!1),k=MO(o),A=Rt(Ht(ne(e,(b_(),Xht)))),s=Jpe(k,A+t.a),T=new Wot(s),Qo(T,e),hi(t.b,e,T),In(n.c,T),m=(!e.n&&(e.n=new Jt(Po,e,1,7)),e.n),d=new Zn(m);d.e!=d.i.gc();)h=u(ar(d),135),r=HO(t,h,!0,0,0),In(n.c,r);return T}function Ekn(t,e){var n,r,s,o,h,d,m;for(s=new fe,n=0;n<=t.j;n++)r=new eu(e),r.p=t.j-n,In(s.c,r);for(d=new G(t.p);d.a<d.c.c.length;)h=u(et(d),10),Aa(h,u(Oe(s,t.j-t.g[h.p]),30));for(o=new G(s);o.a<o.c.c.length;)m=u(et(o),30),m.a.c.length==0&&PS(o);e.b.c.length=0,Hs(e.b,s)}function Tkn(t,e){var n,r,s,o,h,d,m,k,T;for(m=u(X(t,(oe(),Li)),12),k=dc(lt(ut(la,1),ue,8,0,[m.i.n,m.n,m.a])).a,T=t.i.n.b,n=Kd(t.e),s=n,o=0,h=s.length;o<h;++o)r=s[o],xa(r,m),ro(r.a,new ae(k,T)),e&&(d=u(X(r,(De(),Vo)),75),d||(d=new Qu,Zt(r,Vo,d)),Zr(d,new ae(k,T)))}function Ckn(t,e){var n,r,s,o,h,d,m,k,T;for(s=u(X(t,(oe(),Li)),12),k=dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).a,T=t.i.n.b,n=Kd(t.g),h=n,d=0,m=h.length;d<m;++d)o=h[d],Xa(o,s),j4(o.a,new ae(k,T)),e&&(r=u(X(o,(De(),Vo)),75),r||(r=new Qu,Zt(o,Vo,r)),Zr(r,new ae(k,T)))}function Skn(t){var e,n,r,s,o,h,d,m,k;if(r=t.b,o=r.e,h=q6(u(X(r,(De(),bs)),101)),n=!!o&&u(X(o,(oe(),lu)),21).Hc((Co(),Uh)),!(h||n))for(k=(d=new si(t.e).a.vc().Kc(),new Qi(d));k.a.Ob();)m=(e=u(k.a.Pb(),44),u(e.md(),113)),m.a&&(s=m.d,hc(s,null),m.c=!0,t.a=!0)}function _kn(t,e){var n,r,s,o;for(e.Ug("Semi-Interactive Crossing Minimization Processor",1),n=!1,s=new G(t.b);s.a<s.c.c.length;)r=u(et(s),30),o=dO(Pq(_i(_i(new ln(null,new gn(r.a,16)),new GD),new nC),new KD),new QB),n=n|o.a!=null;n&&Zt(t,(oe(),ZSt),(Pn(),!0)),e.Vg()}function Akn(t,e){var n,r,s,o,h,d;for(t.b=new fe,t.d=u(X(e,(oe(),Kk)),234),t.e=h1n(t.d),o=new Ki,s=id(lt(ut(g4e,1),l2e,36,0,[e])),h=0;h<s.c.length;)r=(vn(h,s.c.length),u(s.c[h],36)),r.p=h++,n=new rpe(r,t.a,t.b),Hs(s,n.b),ge(t.b,n),n.s&&(d=Dr(o,0),kI(d,n));return t.c=new Os,o}function Lkn(t,e){var n,r,s,o,h,d;for(h=u(u(Ai(t.r,e),21),87).Kc();h.Ob();)o=u(h.Pb(),117),n=o.c?Jvt(o.c):0,n>0?o.a?(d=o.b.Mf().a,n>d&&(s=(n-d)/2,o.d.b=s,o.d.c=s)):o.d.c=t.s+n:IS(t.u)&&(r=Zxt(o.b),r.c<0&&(o.d.b=-r.c),r.c+r.b>o.b.Mf().a&&(o.d.c=r.c+r.b-o.b.Mf().a))}function Dkn(t,e){var n,r,s,o,h;h=new fe,n=e;do o=u(tr(t.b,n),131),o.B=n.c,o.D=n.d,In(h.c,o),n=u(tr(t.k,n),18);while(n);return r=(vn(0,h.c.length),u(h.c[0],131)),r.j=!0,r.A=u(r.d.a.ec().Kc().Pb(),18).c.i,s=u(Oe(h,h.c.length-1),131),s.q=!0,s.C=u(s.d.a.ec().Kc().Pb(),18).d.i,h}function Mkn(t){var e,n;if(e=u(t.a,17).a,n=u(t.b,17).a,e>=0){if(e==n)return new Ws(he(-e-1),he(-e-1));if(e==-n)return new Ws(he(-e),he(n+1))}return b.Math.abs(e)>b.Math.abs(n)?e<0?new Ws(he(-e),he(n)):new Ws(he(-e),he(n+1)):new Ws(he(e+1),he(n))}function Ikn(t){var e,n;n=u(X(t,(De(),Iu)),171),e=u(X(t,(oe(),Aw)),311),n==(Rh(),s2)?(Zt(t,Iu,rP),Zt(t,Aw,(Cg(),H5))):n==S3?(Zt(t,Iu,rP),Zt(t,Aw,(Cg(),qk))):e==(Cg(),H5)?(Zt(t,Iu,s2),Zt(t,Aw,ZN)):e==qk&&(Zt(t,Iu,S3),Zt(t,Aw,ZN))}function rV(){rV=V,fP=new pZ,Dke=ri(new Fs,(Ua(),Qc),(Za(),tG)),Oke=el(ri(new Fs,Qc,cG),Zo,oG),Nke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),Mke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),Ike=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function D_(){D_=V,Bke=ri(el(new Fs,(Ua(),Zo),(Za(),XCt)),Qc,tG),zke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),Rke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),$ke=ri(ri(new Fs,Qc,cG),Zo,oG),jke=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function Okn(t,e,n,r,s){var o,h;(!go(e)&&e.c.i.c==e.d.i.c||!qoe(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])),n))&&!go(e)&&(e.c==s?CE(e.a,0,new io(n)):Zr(e.a,new io(n)),r&&!x1(t.a,n)&&(h=u(X(e,(De(),Vo)),75),h||(h=new Qu,Zt(e,Vo,h)),o=new io(n),hs(h,o,h.c.b,h.c),qs(t.a,o)))}function Hde(t,e){var n,r,s,o;for(o=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),n=o&t.b.length-1,s=null,r=t.b[n];r;s=r,r=r.a)if(r.d==o&&Ud(r.i,e))return s?s.a=r.a:t.b[n]=r.a,vWt(u(nf(r.c),604),u(nf(r.f),604)),LM(u(nf(r.b),227),u(nf(r.e),227)),--t.f,++t.e,!0;return!1}function Nkn(t){var e,n;for(n=new rr(sr(ua(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),e.c.i.k!=(Un(),Vc))throw at(new fp(zut+EO(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that  does not come from a FIRST_SEPARATE node. That must not happen."))}function Pkn(t,e,n){var r,s,o,h,d,m,k;if(s=Gue(t.Db&254),s==0)t.Eb=n;else{if(s==1)d=Vt(aa,Ln,1,2,5,1),o=vot(t,e),o==0?(d[0]=n,d[1]=t.Eb):(d[0]=t.Eb,d[1]=n);else for(d=Vt(aa,Ln,1,s+1,5,1),h=nw(t.Eb),r=2,m=0,k=0;r<=128;r<<=1)r==e?d[k++]=n:t.Db&r&&(d[k++]=h[m++]);t.Eb=d}t.Db|=e}function Vde(t,e,n){var r,s,o,h;for(this.b=new fe,s=0,r=0,h=new G(t);h.a<h.c.c.length;)o=u(et(h),176),n&&q7n(o),ge(this.b,o),s+=o.o,r+=o.p;this.b.c.length>0&&(o=u(Oe(this.b,0),176),s+=o.o,r+=o.p),s*=2,r*=2,e>1?s=Ys(b.Math.ceil(s*e)):r=Ys(b.Math.ceil(r/e)),this.a=new U5t(s,r)}function Ude(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht;for(T=r,e.j&&e.o?($=u(tr(t.f,e.A),60),J=$.d.c+$.d.b,--T):J=e.a.c+e.a.b,A=s,n.q&&n.o?($=u(tr(t.f,n.C),60),k=$.d.c,++A):k=n.a.c,tt=k-J,m=b.Math.max(2,A-T),d=tt/m,U=J+d,P=T;P<A;++P)h=u(o.Xb(P),131),ht=h.a.b,h.a.c=U-ht/2,U+=d}function Gde(t,e){var n,r,s,o,h,d,m,k,T,A,P;s=e?new IJ:new OJ,o=!1;do for(o=!1,k=e?Bh(t.b):t.b,m=k.Kc();m.Ob();)for(d=u(m.Pb(),30),P=Rm(d.a),e||Bh(P),A=new G(P);A.a<A.c.c.length;)T=u(et(A),10),s.Mb(T)&&(r=T,n=u(X(T,(oe(),vv)),313),h=e?n.b:n.k,o=m0e(r,h,e,!1));while(o)}function akt(t,e,n,r,s,o){var h,d,m,k,T,A;for(k=n.c.length,o&&(t.c=Vt(Fr,ii,28,e.length,15,1)),h=s?0:e.length-1;s?h<e.length:h>=0;h+=s?1:-1){for(d=e[h],m=r==(ve(),Jn)?s?gc(d,r):Bh(gc(d,r)):s?Bh(gc(d,r)):gc(d,r),o&&(t.c[d.p]=m.gc()),A=m.Kc();A.Ob();)T=u(A.Pb(),12),t.d[T.p]=k++;Hs(n,m)}}function Kde(t,e,n){var r,s,o,h,d,m,k,T;for(o=Rt(Ht(t.b.Kc().Pb())),k=Rt(Ht(Ipn(e.b))),r=qd(Oa(t.a),k-n),s=qd(Oa(e.a),n-o),T=ki(r,s),qd(T,1/(k-o)),this.a=T,this.b=new fe,d=!0,h=t.b.Kc(),h.Pb();h.Ob();)m=Rt(Ht(h.Pb())),d&&m-n>xlt&&(this.b.Fc(n),d=!1),this.b.Fc(m);d&&this.b.Fc(n)}function Fkn(t){var e,n,r,s;if(tEn(t,t.n),t.d.c.length>0){for(KC(t.c);z6t(t,u(et(new G(t.e.a)),125))<t.e.a.c.length;){for(e=Evn(t),s=e.e.e-e.d.e-e.a,e.e.j&&(s=-s),r=new G(t.e.a);r.a<r.c.c.length;)n=u(et(r),125),n.j&&(n.e+=s);KC(t.c)}KC(t.c),_6t(t,u(et(new G(t.e.a)),125)),Qge(t)}}function Bkn(t,e){ck();var n,r;if(n=Lst(e7(),e.Pg()),n){if(r=n.j,Lt(t,207))return lfn(u(t,27))?Zu(r,(D1(),Qs))||Zu(r,_n):Zu(r,(D1(),Qs));if(Lt(t,326))return Zu(r,(D1(),f0));if(Lt(t,193))return Zu(r,(D1(),Bw));if(Lt(t,366))return Zu(r,(D1(),Wp))}return!0}function Rkn(t,e,n){var r,s,o,h,d,m;if(s=n,o=s.Lk(),Ng(t.e,o)){if(o.Si()){for(r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],Ti(d,s)&&h!=e)throw at(new zn(AN))}}else for(m=Lu(t.e.Dh(),o),r=u(t.g,124),h=0;h<t.i;++h)if(d=r[h],m.am(d.Lk())&&h!=e)throw at(new zn(ON));return u(c5(t,e,n),76)}function Wde(t,e){if(e instanceof Object)try{if(e.__java$exception=t,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var r=n.he();return r&&r.fe()}},suppressed:{get:function(){return n.ge()}}})}catch{}}function Yde(t,e){var n,r,s,o,h;if(r=e>>5,e&=31,r>=t.d)return t.e<0?(Xd(),Zve):(Xd(),yA);if(o=t.d-r,s=Vt(Fr,ii,28,o+1,15,1),_4n(s,o,t.a,r,e),t.e<0){for(n=0;n<r&&t.a[n]==0;n++);if(n<r||e>0&&t.a[n]<<32-e){for(n=0;n<o&&s[n]==-1;n++)s[n]=0;n==o&&++o,++s[n]}}return h=new Y2(t.e,o,s),qS(h),h}function Xde(t){var e,n,r,s;return s=ed(t),n=new lE(s),r=new SM(s),e=new fe,Hs(e,(!t.d&&(t.d=new kn(Ts,t,8,5)),t.d)),Hs(e,(!t.e&&(t.e=new kn(Ts,t,7,4)),t.e)),u(nc(Wo(_i(new ln(null,new gn(e,16)),n),r),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21)}function jkn(t,e){var n;switch(n=u(X(t,(De(),$G)),283),e.Ug("Label side selection ("+n+")",1),n.g){case 0:ode(t,(uh(),K0));break;case 1:ode(t,(uh(),h2));break;case 2:Sge(t,(uh(),K0));break;case 3:Sge(t,(uh(),h2));break;case 4:s0e(t,(uh(),K0));break;case 5:s0e(t,(uh(),h2))}e.Vg()}function Ng(t,e){vo();var n,r,s;return e.Jk()?!0:e.Ik()==-2?e==(vk(),s8)||e==i8||e==o0t||e==c0t?!0:(s=t.Dh(),ns(s,e)>=0?!1:(n=y5((il(),ja),s,e),n?(r=n.Ik(),(r>1||r==-1)&&Om($o(ja,n))!=3):!0)):!1}function $kn(t,e,n,r){var s,o,h,d,m;return d=Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)),m=Jo(u(Dt((!e.c&&(e.c=new kn(vr,e,5,8)),e.c),0),84)),Ji(d)==Ji(m)||qy(m,d)?null:(h=AI(e),h==n?r:(o=u(tr(t.a,h),10),o&&(s=o.e,s)?s:null))}function zkn(t,e,n){var r,s,o,h,d;for(n.Ug("Longest path to source layering",1),t.a=e,d=t.a.a,t.b=Vt(Fr,ii,28,d.c.length,15,1),r=0,h=new G(d);h.a<h.c.c.length;)s=u(et(h),10),s.p=r,t.b[r]=-1,++r;for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),10),xde(t,s);d.c.length=0,t.a=null,t.b=null,n.Vg()}function okt(t,e,n){var r,s,o,h,d,m;if(r=vrn(n,t.length),h=t[r],o=SWt(n,h.length),h[o].k==(Un(),Ms))for(m=e.j,s=0;s<m.c.length;s++)d=(vn(s,m.c.length),u(m.c[s],12)),(n?d.j==(ve(),Jn):d.j==(ve(),Gn))&&Ie(Me(X(d,(oe(),eP))))&&(Mh(m,s,u(X(h[o],(oe(),Li)),12)),o+=n?1:-1)}function qkn(t,e){var n,r,s,o,h,d,m,k;e.Ug("Greedy Width Approximator",1),n=Rt(Ht(ne(t,(fd(),mK)))),m=u(ne(t,rL),107),o=u(ne(t,xDt),394),h=Ie(Me(ne(t,yDt))),d=Rt(Ht(ne(t,iL))),k=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),M4t(k),s=new JZt(n,o,h),r=J8n(s,k,d,m),Mi(t,(N0(),B3),r.c),e.Vg()}function Qde(t){if(t.g==null)switch(t.p){case 0:t.g=hfn(t)?(Pn(),bT):(Pn(),t2);break;case 1:t.g=GI(idn(t));break;case 2:t.g=ZI(n1n(t));break;case 3:t.g=Bln(t);break;case 4:t.g=new na(Fln(t));break;case 6:t.g=Mg($ln(t));break;case 5:t.g=he(Yhn(t));break;case 7:t.g=w7(odn(t))}return t.g}function ckt(t){if(t.n==null)switch(t.p){case 0:t.n=ffn(t)?(Pn(),bT):(Pn(),t2);break;case 1:t.n=GI(sdn(t));break;case 2:t.n=ZI(r1n(t));break;case 3:t.n=Rln(t);break;case 4:t.n=new na(jln(t));break;case 6:t.n=Mg(zln(t));break;case 5:t.n=he(Xhn(t));break;case 7:t.n=w7(adn(t))}return t.n}function Jde(t,e,n,r){var s,o,h,d,m;if(d=(vo(),u(e,69).xk()),Ng(t.e,e)){if(e.Si()&&hV(t,e,r,Lt(e,102)&&(u(e,19).Bb&po)!=0))throw at(new zn(AN))}else for(m=Lu(t.e.Dh(),e),s=u(t.g,124),h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk()))throw at(new zn(ON));h_(t,g6t(t,e,n),d?u(r,76):D0(e,r))}function Zde(t){var e,n,r,s,o,h,d;for(o=new G(t.a.a);o.a<o.c.c.length;)r=u(et(o),316),r.g=0,r.i=0,r.e.a.$b();for(s=new G(t.a.a);s.a<s.c.c.length;)for(r=u(et(s),316),n=r.a.a.ec().Kc();n.Ob();)for(e=u(n.Pb(),60),d=e.c.Kc();d.Ob();)h=u(d.Pb(),60),h.a!=r&&(qs(r.e,h),++h.a.g,++h.a.i)}function Hkn(t){var e,n,r,s,o;s=u(X(t,(De(),Ow)),21),o=u(X(t,GG),21),n=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new io(n),s.Hc((Yl(),z3))&&(r=u(X(t,IT),8),o.Hc((Ml(),XT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),U7n(t,n,e)}function Vkn(t,e){var n,r,s;e.a?(yI(t.b,e.b),t.a[e.b.i]=u(lrt(t.b,e.b),86),n=u(urt(t.b,e.b),86),n&&(t.a[n.i]=e.b)):(r=u(lrt(t.b,e.b),86),r&&r==t.a[e.b.i]&&r.d&&r.d!=e.b.d&&r.f.Fc(e.b),s=u(urt(t.b,e.b),86),s&&t.a[s.i]==e.b&&s.d&&s.d!=e.b.d&&e.b.f.Fc(s),rit(t.b,e.b))}function t0e(t,e){var n,r,s,o,h,d;return o=t.d,d=Rt(Ht(X(t,(De(),Hp)))),d<0&&(d=0,Zt(t,Hp,d)),e.o.b=d,h=b.Math.floor(d/2),r=new Yc,Xs(r,(ve(),Gn)),hc(r,e),r.n.b=h,s=new Yc,Xs(s,Jn),hc(s,e),s.n.b=h,xa(t,r),n=new Pm,Qo(n,t),Zt(n,Vo,null),Xa(n,s),xa(n,o),i7n(e,t,n),J4n(t,n),n}function Ukn(t){var e,n;return n=u(X(t,(oe(),lu)),21),e=new Fs,n.Hc((Co(),LA))&&(ch(e,Ske),ch(e,ZAt)),(n.Hc(DT)||Ie(Me(X(t,(De(),a1t)))))&&(ch(e,ZAt),n.Hc(q5)&&ch(e,Ake)),n.Hc(Uh)&&ch(e,Cke),n.Hc(DA)&&ch(e,Lke),n.Hc(SG)&&ch(e,_ke),n.Hc(AT)&&ch(e,Eke),n.Hc(LT)&&ch(e,Tke),e}function Gkn(t,e){var n,r,s,o,h,d,m,k,T,A,P;return r=t.d,o=e.d,d=r+o,m=t.e!=e.e?-1:1,d==2?(T=Ja(sa(t.a[0],So),sa(e.a[0],So)),P=qr(T),A=qr(Ab(T,32)),A==0?new kg(m,P):new Y2(m,2,lt(ut(Fr,1),ii,28,15,[P,A]))):(n=t.a,s=e.a,h=Vt(Fr,ii,28,d,15,1),Ubn(n,r,s,o,h),k=new Y2(m,d,h),qS(k),k)}function e0e(t,e,n,r){var s,o;if(e){if(s=t.a.Ne(n.d,e.d),s==0)return r.d=fvt(e,n.e),r.b=!0,e;o=s<0?0:1,e.a[o]=e0e(t,e.a[o],n,r),vy(e.a[o])&&(vy(e.a[1-o])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):vy(e.a[o].a[o])?e=Wq(e,1-o):vy(e.a[o].a[1-o])&&(e=qre(e,1-o)))}else return n;return e}function n0e(t,e,n){var r,s,o,h;s=t.i,r=t.n,O3t(t,(A1(),Ac),s.c+r.b,n),O3t(t,Lc,s.c+s.b-r.c-n[2],n),h=s.b-r.b-r.c,n[0]>0&&(n[0]+=t.d,h-=n[0]),n[2]>0&&(n[2]+=t.d,h-=n[2]),o=b.Math.max(0,h),n[1]=b.Math.max(n[1],h),O3t(t,xu,s.c+r.b+n[0]-(n[1]-h)/2,n),e==xu&&(t.c.b=o,t.c.c=s.c+r.b+(o-h)/2)}function r0e(){this.c=Vt(ma,No,28,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,15,1),this.b=Vt(ma,No,28,lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]).length,15,1),this.a=Vt(ma,No,28,lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]).length,15,1),Fwt(this.c,Zi),Fwt(this.b,Vs),Fwt(this.a,Vs)}function iu(t,e,n){var r,s,o,h;if(e<=n?(s=e,o=n):(s=n,o=e),r=0,t.b==null)t.b=Vt(Fr,ii,28,2,15,1),t.b[0]=s,t.b[1]=o,t.c=!0;else{if(r=t.b.length,t.b[r-1]+1==s){t.b[r-1]=o;return}h=Vt(Fr,ii,28,r+2,15,1),Xc(t.b,0,h,0,r),t.b=h,t.b[r-1]>=s&&(t.c=!1,t.a=!1),t.b[r++]=s,t.b[r]=o,t.c||g5(t)}}function Kkn(t,e,n){var r,s,o,h,d,m,k;for(k=e.d,t.a=new wu(k.c.length),t.c=new _r,d=new G(k);d.a<d.c.c.length;)h=u(et(d),105),o=new eO(null),ge(t.a,o),hi(t.c,h,o);for(t.b=new _r,t5n(t,e),r=0;r<k.c.length-1;r++)for(m=u(Oe(e.d,r),105),s=r+1;s<k.c.length;s++)B6n(t,m,u(Oe(e.d,s),105),n)}function n3(t){var e,n,r,s,o;for(s=new fe,e=new LS((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),r=new rr(sr(Og(t).a.Kc(),new z));Mr(r);)n=u(dr(r),74),Lt(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),193)||(o=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),e.a._b(o)||In(s.c,o));return s}function Wkn(t,e,n){var r,s,o;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,(t.e&16)==16&&(t.i=iEn(t.i)),t.j=t.i.length,wi(t),o=Xm(t),t.d!=t.j)throw at(new Yr(Qr((Ur(),ome))));if(t.g){for(r=0;r<t.g.a.c.length;r++)if(s=u(Im(t.g,r),592),t.f<=s.a)throw at(new Yr(Qr((Ur(),cme))));t.g.a.c.length=0}return o}function Ykn(t,e){var n,r,s,o,h,d,m;for(n=Vs,d=(Un(),xs),s=new G(e.a);s.a<s.c.c.length;)r=u(et(s),10),o=r.k,o!=xs&&(h=Ht(X(r,(oe(),e_t))),h==null?(n=b.Math.max(n,0),r.n.b=n+Gmt(t.a,o,d)):r.n.b=(Wn(h),h)),m=Gmt(t.a,o,d),r.n.b<n+m+r.d.d&&(r.n.b=n+m+r.d.d),n=r.n.b+r.o.b+r.d.a,d=o}function i0e(t,e,n,r,s){var o,h,d,m,k,T;if(t.d&&t.d.Gg(s),o=u(s.Xb(0),27),she(t,n,o,!1)||(h=u(s.Xb(s.gc()-1),27),she(t,r,h,!0))||s6t(t,s))return!0;for(T=s.Kc();T.Ob();)for(k=u(T.Pb(),27),m=e.Kc();m.Ob();)if(d=u(m.Pb(),27),sV(t,k,d))return!0;return!1}function Xkn(t,e,n){var r,s,o,h,d,m,k,T,A,P;P=e.c.length,A=(k=t.Ih(n),u(k>=0?t.Lh(k,!1,!0):tv(t,n,!1),61));t:for(o=A.Kc();o.Ob();){for(s=u(o.Pb(),58),T=0;T<P;++T)if(h=(vn(T,e.c.length),u(e.c[T],76)),m=h.md(),d=h.Lk(),r=s.Nh(d,!1),m==null?r!=null:!Ti(m,r))continue t;return s}return null}function Qkn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Comment post-processing",1),o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),r=new fe,d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),m=u(X(h,(oe(),Wk)),15),n=u(X(h,Hk),15),(m||n)&&(gCn(h,m,n),m&&Hs(r,m),n&&Hs(r,n));Hs(s.a,r)}e.Vg()}function Jkn(t,e,n,r){var s,o,h,d;for(s=u(Pp(e,(ve(),Gn)).Kc().Pb(),12),o=u(Pp(e,Jn).Kc().Pb(),12),d=new G(t.j);d.a<d.c.c.length;){for(h=u(et(d),12);h.e.c.length!=0;)xa(u(Oe(h.e,0),18),s);for(;h.g.c.length!=0;)Xa(u(Oe(h.g,0),18),o)}n||Zt(e,(oe(),N1),null),r||Zt(e,(oe(),gf),null)}function b5(t,e,n){var r,s;if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)return V4t(t);if(r=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),e&&(Ir((!r.a&&(r.a=new Ps(vh,r,5)),r.a)),QE(r,0),ZE(r,0),XE(r,0),JE(r,0)),n)for(s=(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a);s.i>1;)r3(s,s.i-1);return r}function s0e(t,e){var n,r,s,o,h,d,m;for(n=new K4,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m=!0,r=0,d=new G(s.a);d.a<d.c.c.length;)switch(h=u(et(d),10),h.k.g){case 4:++r;case 1:w3t(n,h);break;case 0:Q4n(h,e);default:n.b==n.c||Y0e(n,r,m,!1,e),m=!1,r=0}n.b==n.c||Y0e(n,r,m,!0,e)}}function ukt(t,e){var n,r,s,o,h,d;for(n=0,d=new G(e);d.a<d.c.c.length;){for(h=u(et(d),12),c5t(t.b,t.d[h.p]),s=new sd(h.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),o=Cwt(t,h==r.c?r.d:r.c),o>t.d[h.p]&&(n+=C3t(t.b,o),Ob(t.a,he(o)));for(;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function Zkn(t){var e,n,r,s,o,h,d,m,k;for(t.a=new wvt,k=0,s=0,r=new G(t.i.b);r.a<r.c.c.length;){for(e=u(et(r),30),e.p=s,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p=k,++k;++s}for(o=t.r==(cf(),Lv),h=o?_4e:S4e,n=new G(t.i.b);n.a<n.c.c.length;)e=u(et(n),30),Ds(e.a,h),J0n(t.a,he(e.p),e.a)}function a0e(t,e,n){var r,s,o,h;for(o=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,s=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ar(s),27),(!r.a&&(r.a=new Jt(bi,r,10,11)),r.a).i==0||(o+=a0e(t,r,!1));if(n)for(h=Ji(e);h;)o+=(!h.a&&(h.a=new Jt(bi,h,10,11)),h.a).i,h=Ji(h);return o}function r3(t,e){var n,r,s,o;return t.Pj()?(r=null,s=t.Qj(),t.Tj()&&(r=t.Vj(t.$i(e),null)),n=t.Ij(4,o=pk(t,e),null,e,s),t.Mj()&&o!=null&&(r=t.Oj(o,r)),r?(r.nj(n),r.oj()):t.Jj(n),o):(o=pk(t,e),t.Mj()&&o!=null&&(r=t.Oj(o,null),r&&r.oj()),o)}function t8n(t){var e,n,r,s,o,h,d,m,k,T;for(k=t.a,e=new Os,m=0,r=new G(t.d);r.a<r.c.c.length;){for(n=u(et(r),226),T=0,rw(n.b,new Uc),h=Dr(n.b,0);h.b!=h.d.c;)o=u(Ar(h),226),e.a._b(o)&&(s=n.c,d=o.c,T<d.d+d.a+k&&T+s.a+k>d.d&&(T=d.d+d.a+k));n.c.d=T,e.a.zc(n,e),m=b.Math.max(m,n.c.d+n.c.a)}return m}function Co(){Co=V,CG=new ky("COMMENTS",0),Uh=new ky("EXTERNAL_PORTS",1),LA=new ky("HYPEREDGES",2),SG=new ky("HYPERNODES",3),DT=new ky("NON_FREE_PORTS",4),q5=new ky("NORTH_SOUTH_PORTS",5),DA=new ky(D2e,6),AT=new ky("CENTER_LABELS",7),LT=new ky("END_LABELS",8),_G=new ky("PARTITIONS",9)}function e8n(t,e,n,r,s){return r<0?(r=d5(t,s,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct]),e),r<0&&(r=d5(t,s,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function n8n(t,e,n,r,s){return r<0?(r=d5(t,s,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct]),e),r<0&&(r=d5(t,s,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function r8n(t,e,n,r,s,o){var h,d,m,k;if(d=32,r<0){if(e[0]>=t.length||(d=Va(t,e[0]),d!=43&&d!=45)||(++e[0],r=KH(t,e),r<0))return!1;d==45&&(r=-r)}return d==32&&e[0]-n==2&&s.b==2&&(m=new x$,k=m.q.getFullYear()-Wb+Wb-80,h=k%100,o.a=r==h,r+=(k/100|0)*100+(r<h?100:0)),o.p=r,!0}function o0e(t,e){var n,r,s,o,h;Ji(t)&&(h=u(X(e,(De(),Ow)),181),$t(ne(t,bs))===$t((ka(),d2))&&Mi(t,bs,Td),r=(xy(),new my(Ji(t))),o=new sit(Ji(t)?new my(Ji(t)):null,t),s=kpe(r,o,!1,!0),zf(h,(Yl(),z3)),n=u(X(e,IT),8),n.a=b.Math.max(s.a,n.a),n.b=b.Math.max(s.b,n.b))}function i8n(t,e,n){var r,s,o,h,d,m;for(h=u(X(t,(oe(),Uft)),15).Kc();h.Ob();){switch(o=u(h.Pb(),10),u(X(o,(De(),Iu)),171).g){case 2:Aa(o,e);break;case 4:Aa(o,n)}for(s=new rr(sr(Dg(o).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!(r.c&&r.d)&&(d=!r.d,m=u(X(r,r_t),12),d?xa(r,m):Xa(r,m))}}function iV(){iV=V,xft=new X6(_V,0,(ve(),Hn),Hn),Tft=new X6(Eut,1,Er,Er),yft=new X6(kut,2,Jn,Jn),_ft=new X6(Tut,3,Gn,Gn),Eft=new X6("NORTH_WEST_CORNER",4,Gn,Hn),kft=new X6("NORTH_EAST_CORNER",5,Hn,Jn),Sft=new X6("SOUTH_WEST_CORNER",6,Er,Gn),Cft=new X6("SOUTH_EAST_CORNER",7,Jn,Er)}function s8n(t){var e,n,r,s,o,h;for(o=new Os,e=new LS((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),s=new rr(sr(Og(t).a.Kc(),new z));Mr(s);)r=u(dr(s),74),Lt(Dt((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),0),193)||(h=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)),e.a._b(h)||(n=o.a.zc(h,o),n==null));return o}function w5(){w5=V,iMt=lt(ut(x2,1),cut,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function F7(){F7=V;var t,e;for(Bk=Vt(N5,ue,92,32,0,1),xA=Vt(N5,ue,92,32,0,1),t=1,e=0;e<=18;e++)Bk[e]=(Xd(),$c(t,0)>=0?zb(t):FS(zb(Cp(t)))),xA[e]=J$(Rf(t,e),0)?zb(Rf(t,e)):FS(zb(Cp(Rf(t,e)))),t=Ja(t,5);for(;e<xA.length;e++)Bk[e]=Z4(Bk[e-1],Bk[1]),xA[e]=Z4(xA[e-1],(Xd(),Iht))}function c0e(t,e){var n,r,s,o,h;if(t.c.length==0)return new Ws(he(0),he(0));for(n=(vn(0,t.c.length),u(t.c[0],12)).j,h=0,o=e.g,r=e.g+1;h<t.c.length-1&&n.g<o;)++h,n=(vn(h,t.c.length),u(t.c[h],12)).j;for(s=h;s<t.c.length-1&&n.g<r;)++s,n=(vn(h,t.c.length),u(t.c[h],12)).j;return new Ws(he(h),he(s))}function a8n(t,e,n,r){var s,o,h,d,m,k,T;m=gc(e,n),(n==(ve(),Er)||n==Gn)&&(m=Bh(m)),h=!1;do for(s=!1,o=0;o<m.gc()-1;o++)k=u(m.Xb(o),12),d=u(m.Xb(o+1),12),V3n(t,k,d,r)&&(h=!0,yst(t.a,u(m.Xb(o),12),u(m.Xb(o+1),12)),T=u(m.Xb(o+1),12),m.hd(o+1,u(m.Xb(o),12)),m.hd(o,T),s=!0);while(s);return h}function o8n(t,e,n){var r,s,o,h;for(n.Ug(G2e,1),s=u(nc(_i(new ln(null,new gn(e.b,16)),new GZ),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),P1e(t,s,0),h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),r=tr(t.a,he(o.g))!=null?u(tr(t.a,he(o.g)),17).a:0,Zt(o,(Cc(),h0),he(r));n.Vg()}function sV(t,e,n){var r,s,o,h,d,m,k,T;return d=e.i-t.g/2,m=n.i-t.g/2,k=e.j-t.g/2,T=n.j-t.g/2,o=e.g+t.g,h=n.g+t.g,r=e.f+t.g,s=n.f+t.g,d<m+h&&m<d&&k<T+s&&T<k||m<d+o&&d<m&&T<k+r&&k<T||d<m+h&&m<d&&k<T&&T<k+r?!0:m<d+o&&d<m&&k<T+s&&T<k}function c8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=e.c.length,h=(vn(n,e.c.length),u(e.c[n],292)),d=h.a.o.a,A=h.c,P=0,k=h.c;k<=h.f;k++){if(d<=t.a[k])return k;for(T=t.a[k],m=null,s=n+1;s<o;s++)r=(vn(s,e.c.length),u(e.c[s],292)),r.c<=k&&r.f>=k&&(m=r);m&&(T=b.Math.max(T,m.a.o.a)),T>P&&(A=k,P=T)}return A}function u8n(t){var e,n,r,s,o,h,d;for(o=new pp(u(Hr(new kh),50)),d=Vs,n=new G(t.d);n.a<n.c.c.length;){for(e=u(et(n),226),d=e.c.c;o.a.gc()!=0&&(h=u(o.a.Tc(),226),h.c.c+h.c.b<d);)o.a.Bc(h)!=null;for(s=o.a.ec().Kc();s.Ob();)r=u(s.Pb(),226),Zr(r.b,e),Zr(e.b,r);o.a.zc(e,(Pn(),t2))==null}}function u0e(t,e,n){var r,s,o,h,d;if(!HE(e)){for(d=n.eh((Lt(e,16)?u(e,16).gc():xg(e.Kc()))/t.a|0),d.Ug(K2e,1),h=new _R,o=null,s=e.Kc();s.Ob();)r=u(s.Pb(),39),h=ah(lt(ut(gh,1),Ln,20,0,[h,new gg(r)])),o&&(Zt(o,(ji(),Kke),r),Zt(r,$1t,o),Nst(r)==Nst(o)&&(Zt(o,z1t,r),Zt(r,oK,o))),o=r;d.Vg(),u0e(t,h,n)}}function l8n(t,e){var n,r,s;if(e==null){for(r=(!t.a&&(t.a=new Jt(Vg,t,9,5)),new Zn(t.a));r.e!=r.i.gc();)if(n=u(ar(r),694),s=n.c,(s??n.zb)==null)return n}else for(r=(!t.a&&(t.a=new Jt(Vg,t,9,5)),new Zn(t.a));r.e!=r.i.gc();)if(n=u(ar(r),694),hn(e,(s=n.c,s??n.zb)))return n;return null}function tct(t,e){var n;switch(n=null,e.g){case 1:t.e.pf((ai(),Bdt))&&(n=u(t.e.of(Bdt),256));break;case 3:t.e.pf((ai(),Rdt))&&(n=u(t.e.of(Rdt),256));break;case 2:t.e.pf((ai(),Fdt))&&(n=u(t.e.of(Fdt),256));break;case 4:t.e.pf((ai(),jdt))&&(n=u(t.e.of(jdt),256))}return!n&&(n=u(t.e.of((ai(),OMt)),256)),n}function l0e(t,e,n){var r,s,o,h,d,m;for(s=n,o=0,d=new G(e);d.a<d.c.c.length;)h=u(et(d),27),Mi(h,(Ub(),dK),he(s++)),m=n3(h),r=b.Math.atan2(h.j+h.f/2,h.i+h.g/2),r+=r<0?xw:0,r<.7853981633974483||r>nwe?Ds(m,t.b):r<=nwe&&r>rwe?Ds(m,t.d):r<=rwe&&r>iwe?Ds(m,t.c):r<=iwe&&Ds(m,t.a),o=l0e(t,m,o);return s}function h0e(t,e,n,r){var s,o,h,d,m,k;for(s=(r.c+r.a)/2,nh(e.j),Zr(e.j,s),nh(n.e),Zr(n.e,s),k=new IWt,d=new G(t.f);d.a<d.c.c.length;)o=u(et(d),132),m=o.a,_ot(k,e,m),_ot(k,n,m);for(h=new G(t.k);h.a<h.c.c.length;)o=u(et(h),132),m=o.b,_ot(k,e,m),_ot(k,n,m);return k.b+=2,k.a+=mne(e,t.q),k.a+=mne(t.q,n),k}function h8n(t,e,n){var r;n.Ug("Processor arrange node",1),Ie(Me(X(e,(Cc(),kLt)))),r=u(Vl(f7(_i(new ln(null,new gn(e.b,16)),new att))),39),t.a=u(X(e,MLt),353),t.a==(a_(),U1t)||t.a==lK?Epe(t,new hl(lt(ut(aK,1),rU,39,0,[r])),n.eh(1)):t.a==V1t&&Qpe(t,new hl(lt(ut(aK,1),rU,39,0,[r])),n.eh(1)),n.Vg()}function fd(){fd=V,mK=new _a((ai(),sx),1.3),pEe=new _a(R3,(Pn(),!1)),wDt=new xm(15),rL=new _a(Yp,wDt),iL=new _a($w,15),hEe=CP,gEe=jw,bEe=lx,wEe=l2,dEe=ux,gDt=LP,mEe=j3,xDt=(kkt(),cEe),yDt=oEe,ddt=lEe,kDt=uEe,bDt=iEe,fdt=rEe,pDt=nEe,vDt=aEe,dDt=AP,fEe=Pdt,vP=tEe,fDt=Z8e,yP=eEe,mDt=sEe}function f0e(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.d,t.f==(qu(),n2)?d+=(n.a-t.e.b)/2:t.f==Kf&&(d+=n.a-t.e.b),s=new G(t.d);s.a<s.c.c.length;){switch(r=u(et(s),187),h=r.Mf(),o=new Sa,o.b=d,d+=h.b+t.a,t.b.g){case 0:o.a=n.c+e.b;break;case 1:o.a=n.c+e.b+(n.b-h.a)/2;break;case 2:o.a=n.c+n.b-e.c-h.a}r.Of(o)}}function d0e(t){var e,n,r,s,o,h,d;for(n=t.i,e=t.n,d=n.c,t.b==(pl(),e2)?d+=(n.b-t.e.a)/2:t.b==Gf&&(d+=n.b-t.e.a),s=new G(t.d);s.a<s.c.c.length;){switch(r=u(et(s),187),h=r.Mf(),o=new Sa,o.a=d,d+=h.a+t.a,t.f.g){case 0:o.b=n.d+e.d;break;case 1:o.b=n.d+e.d+(n.a-h.b)/2;break;case 2:o.b=n.d+n.a-e.a-h.b}r.Of(o)}}function f8n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;T=n.a.c,h=n.a.c+n.a.b,o=u(tr(n.c,e),467),$=o.f,U=o.a,m=new ae(T,$),A=new ae(h,U),s=T,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new ae(s,$),P=new ae(s,U),XS(e.a,lt(ut(la,1),ue,8,0,[m,k])),d=n.d.a.gc()>1,d&&(r=new ae(s,n.b),Zr(e.a,r)),XS(e.a,lt(ut(la,1),ue,8,0,[P,A]))}function lkt(t,e,n){var r,s;for(e<t.d.b.c.length?(t.b=u(Oe(t.d.b,e),30),t.a=u(Oe(t.d.b,e-1),30),t.c=e):(t.a=new eu(t.d),t.a.p=e-1,ge(t.d.b,t.a),t.b=new eu(t.d),t.b.p=e,ge(t.d.b,t.b),t.c=e),Aa(n,t.b),s=new rr(sr(ua(n).a.Kc(),new z));Mr(s);)r=u(dr(s),18),!r.c.i.c&&r.c.i.k==(Un(),Vc)&&Aa(r.c.i,t.a)}function g0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,lU),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new HR))),le(t,lU,ov,fIt),le(t,lU,h3,15),le(t,lU,IV,he(0)),le(t,lU,Dk,tT)}function hkt(){hkt=V;var t,e,n,r,s,o;for(ML=Vt(ul,M5,28,255,15,1),tW=Vt(Yh,Zd,28,16,15,1),e=0;e<255;e++)ML[e]=-1;for(n=57;n>=48;n--)ML[n]=n-48<<24>>24;for(r=70;r>=65;r--)ML[r]=r-65+10<<24>>24;for(s=102;s>=97;s--)ML[s]=s-97+10<<24>>24;for(o=0;o<10;o++)tW[o]=48+o&js;for(t=10;t<=15;t++)tW[t]=65+t-10&js}function d8n(t,e){e.Ug("Process graph bounds",1),Zt(t,(ji(),R1t),KM(hat(Ny(new ln(null,new gn(t.b,16)),new zZ)))),Zt(t,j1t,KM(hat(Ny(new ln(null,new gn(t.b,16)),new qZ)))),Zt(t,pLt,KM(lat(Ny(new ln(null,new gn(t.b,16)),new HZ)))),Zt(t,bLt,KM(lat(Ny(new ln(null,new gn(t.b,16)),new VZ)))),e.Vg()}function g8n(t){var e,n,r,s,o;s=u(X(t,(De(),Ow)),21),o=u(X(t,GG),21),n=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new io(n),s.Hc((Yl(),z3))&&(r=u(X(t,IT),8),o.Hc((Ml(),XT))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=b.Math.max(n.a,r.a),e.b=b.Math.max(n.b,r.b)),Ie(Me(X(t,c1t)))||V7n(t,n,e)}function p8n(t,e){var n,r,s,o;for(o=gc(e,(ve(),Er)).Kc();o.Ob();)r=u(o.Pb(),12),n=u(X(r,(oe(),ml)),10),n&&Hf(Of(If(Nf(Mf(new tf,0),.1),t.i[e.p].d),t.i[n.p].a));for(s=gc(e,Hn).Kc();s.Ob();)r=u(s.Pb(),12),n=u(X(r,(oe(),ml)),10),n&&Hf(Of(If(Nf(Mf(new tf,0),.1),t.i[n.p].d),t.i[e.p].a))}function ect(t){var e,n,r,s,o,h;if(!t.c){if(h=new Oc,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Wc(t));r.e!=r.i.gc();)n=u(ar(r),89),s=lV(n),Lt(s,90)&&gs(h,ect(u(s,29))),Or(h,n);e.a.Bc(t)!=null,e.a.gc()==0}lwn(h),Uy(h),t.c=new $4((u(Dt(Qt((Lb(),Fn).o),15),19),h.i),h.g),_l(t).b&=-33}return t.c}function fkt(t){var e;if(t.c!=10)throw at(new Yr(Qr((Ur(),pU))));switch(e=t.a,e){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw at(new Yr(Qr((Ur(),Hh))))}return e}function p0e(t){var e,n,r,s,o;if(t.l==0&&t.m==0&&t.h==0)return"0";if(t.h==aN&&t.m==0&&t.l==0)return"-9223372036854775808";if(t.h>>19)return"-"+p0e(h7(t));for(n=t,r="";!(n.l==0&&n.m==0&&n.h==0);){if(s=Mst(EV),n=Gkt(n,s,!0),e=""+RWt(Zb),!(n.l==0&&n.m==0&&n.h==0))for(o=9-e.length;o>0;o--)e="0"+e;r=e+r}return r}function b8n(t){var e,n,r,s,o,h,d;for(e=!1,n=0,s=new G(t.d.b);s.a<s.c.c.length;)for(r=u(et(s),30),r.p=n++,h=new G(r.a);h.a<h.c.c.length;)o=u(et(h),10),!e&&!HE(Dg(o))&&(e=!0);d=Hi((Rs(),Ed),lt(ut(gL,1),te,88,0,[Uo,tc])),e||(zf(d,Gh),zf(d,kd)),t.a=new Qae(d),dl(t.f),dl(t.b),dl(t.e),dl(t.g)}function w8n(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);if(e[t]!==void 0)return!1;var n=Object.getOwnPropertyNames(e);return!(n.length!=0||(e[t]=42,e[t]!==42)||Object.getOwnPropertyNames(e).length==0)}function m8n(t,e,n){var r,s,o,h,d,m,k,T,A;for(r=n.c,s=n.d,d=rd(e.c),m=rd(e.d),r==e.c?(d=Q6t(t,d,s),m=xfe(e.d)):(d=xfe(e.c),m=Q6t(t,m,s)),k=new b$(e.a),hs(k,d,k.a,k.a.a),hs(k,m,k.c.b,k.c),h=e.c==r,A=new yKt,o=0;o<k.b-1;++o)T=new Ws(u(jh(k,o),8),u(jh(k,o+1),8)),h&&o==0||!h&&o==k.b-2?A.b=T:ge(A.a,T);return A}function v8n(t,e){var n,r,s,o;if(o=t.j.g-e.j.g,o!=0)return o;if(n=u(X(t,(De(),Vp)),17),r=u(X(e,Vp),17),n&&r&&(s=n.a-r.a,s!=0))return s;switch(t.j.g){case 1:return Bi(t.n.a,e.n.a);case 2:return Bi(t.n.b,e.n.b);case 3:return Bi(e.n.a,t.n.a);case 4:return Bi(e.n.b,t.n.b);default:throw at(new Ro(Z8t))}}function dkt(t,e,n,r){var s,o,h,d,m;if(xg((gI(),new rr(sr(Dg(e).a.Kc(),new z))))>=t.a||!Yxt(e,n))return-1;if(HE(u(r.Kb(e),20)))return 1;for(s=0,h=u(r.Kb(e),20).Kc();h.Ob();)if(o=u(h.Pb(),18),m=o.c.i==e?o.d.i:o.c.i,d=dkt(t,m,n,r),d==-1||(s=b.Math.max(s,d),s>t.c-1))return-1;return s+1}function b0e(t,e){var n,r,s,o,h,d;if($t(e)===$t(t))return!0;if(!Lt(e,15)||(r=u(e,15),d=t.gc(),r.gc()!=d))return!1;if(h=r.Kc(),t.Yi()){for(n=0;n<d;++n)if(s=t.Vi(n),o=h.Pb(),s==null?o!=null:!Ti(s,o))return!1}else for(n=0;n<d;++n)if(s=t.Vi(n),o=h.Pb(),$t(s)!==$t(o))return!1;return!0}function w0e(t,e){var n,r,s,o,h,d;if(t.f>0){if(t._j(),e!=null){for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,379),d=n.i,h=0;h<d;++h)if(s=r[h],Ti(e,s.md()))return!0}}else for(o=0;o<t.d.length;++o)if(n=t.d[o],n){for(r=u(n.g,379),d=n.i,h=0;h<d;++h)if(s=r[h],$t(e)===$t(s.md()))return!0}}return!1}function y8n(t,e){var n,r,s;return n=e.qi(t.a),n&&(s=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),"affiliation")),s!=null)?(r=cz(s,Hu(35)),r==-1?Rat(t,MS(t,sh(e.qk())),s):r==0?Rat(t,null,(qn(1,s.length+1),s.substr(1))):Rat(t,(Da(0,r,s.length),s.substr(0,r)),(qn(r+1,s.length+1),s.substr(r+1)))):null}function x8n(t,e,n){var r,s,o,h;n.Ug("Orthogonally routing hierarchical port edges",1),t.a=0,r=bTn(e),x9n(e,r),s9n(t,e,r),xCn(e),s=u(X(e,(De(),bs)),101),o=e.b,vpe((vn(0,o.c.length),u(o.c[0],30)),s,e),vpe(u(Oe(o,o.c.length-1),30),s,e),h=e.b,Lge((vn(0,h.c.length),u(h.c[0],30))),Lge(u(Oe(h,h.c.length-1),30)),n.Vg()}function gkt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw at(new jd("Invalid hexadecimal"))}}function aV(){aV=V,Q9t=new P4("SPIRAL",0),K9t=new P4("LINE_BY_LINE",1),W9t=new P4("MANHATTAN",2),G9t=new P4("JITTER",3),Hht=new P4("QUADRANTS_LINE_BY_LINE",4),X9t=new P4("QUADRANTS_MANHATTAN",5),Y9t=new P4("QUADRANTS_JITTER",6),U9t=new P4("COMBINE_LINE_BY_LINE_MANHATTAN",7),V9t=new P4("COMBINE_JITTER_MANHATTAN",8)}function m0e(t,e,n,r){var s,o,h,d,m,k;for(m=Sot(t,n),k=Sot(e,n),s=!1;m&&k&&(r||dvn(m,k,n));)h=Sot(m,n),d=Sot(k,n),HI(e),HI(t),o=m.c,_ct(m,!1),_ct(k,!1),n?(Xy(e,k.p,o),e.p=k.p,Xy(t,m.p+1,o),t.p=m.p):(Xy(t,m.p,o),t.p=m.p,Xy(e,k.p+1,o),e.p=k.p),Aa(m,null),Aa(k,null),m=h,k=d,s=!0;return s}function v0e(t){switch(t.g){case 0:return new Wet;case 1:return new NC;case 3:return new GYt;case 4:return new zJ;case 5:return new yZt;case 6:return new yM;case 2:return new OC;case 7:return new Dj;case 8:return new vM;default:throw at(new zn("No implementation is available for the layerer "+(t.f!=null?t.f:""+t.g)))}}function k8n(t,e,n,r){var s,o,h,d,m;for(s=!1,o=!1,d=new G(r.j);d.a<d.c.c.length;)h=u(et(d),12),$t(X(h,(oe(),Li)))===$t(n)&&(h.g.c.length==0?h.e.c.length==0||(s=!0):o=!0);return m=0,s&&s^o?m=n.j==(ve(),Hn)?-t.e[r.c.p][r.p]:e-t.e[r.c.p][r.p]:o&&s^o?m=t.e[r.c.p][r.p]+1:s&&o&&(m=n.j==(ve(),Hn)?0:e/2),m}function nct(t,e,n,r,s,o,h,d){var m,k,T;for(m=0,e!=null&&(m^=_p(e.toLowerCase())),n!=null&&(m^=_p(n)),r!=null&&(m^=_p(r)),h!=null&&(m^=_p(h)),d!=null&&(m^=_p(d)),k=0,T=o.length;k<T;k++)m^=_p(o[k]);t?m|=256:m&=-257,s?m|=16:m&=-17,this.f=m,this.i=e==null?null:(Wn(e),e),this.a=n,this.d=r,this.j=o,this.g=h,this.e=d}function pkt(t,e,n){var r,s;switch(s=null,e.g){case 1:s=(rl(),OCt);break;case 2:s=(rl(),PCt)}switch(r=null,n.g){case 1:r=(rl(),NCt);break;case 2:r=(rl(),ICt);break;case 3:r=(rl(),FCt);break;case 4:r=(rl(),BCt)}return s&&r?H6(t.j,new Rj(new hl(lt(ut(YSn,1),Ln,178,0,[u(Hr(s),178),u(Hr(r),178)])))):(mn(),mn(),co)}function E8n(t){var e,n,r;switch(e=u(X(t,(De(),IT)),8),Zt(t,IT,new ae(e.b,e.a)),u(X(t,u0),255).g){case 1:Zt(t,u0,(I0(),_K));break;case 2:Zt(t,u0,(I0(),CK));break;case 3:Zt(t,u0,(I0(),EP));break;case 4:Zt(t,u0,(I0(),TP))}(t.q?t.q:(mn(),mn(),q0))._b(I3)&&(n=u(X(t,I3),8),r=n.a,n.a=n.b,n.b=r)}function y0e(t,e,n,r,s,o){if(this.b=n,this.d=s,t>=e.length)throw at(new Bo("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new dI(r),aat(this.e,this.c,(ve(),Gn)),this.i=new dI(r),aat(this.i,this.c,Jn),this.f=new Bte(this.c),this.a=!o&&s.i&&!s.s&&this.c[0].k==(Un(),Ms),this.a&&F4n(this,t,e.length)}function x0e(t,e){var n,r,s,o,h,d;o=!t.B.Hc((Ml(),jP)),h=t.B.Hc(Kdt),t.a=new ale(h,o,t.c),t.n&&Gyt(t.a.n,t.n),Jnt(t.g,(A1(),xu),t.a),e||(r=new p_(1,o,t.c),r.n.a=t.k,W6(t.p,(ve(),Hn),r),s=new p_(1,o,t.c),s.n.d=t.k,W6(t.p,Er,s),d=new p_(0,o,t.c),d.n.c=t.k,W6(t.p,Gn,d),n=new p_(0,o,t.c),n.n.b=t.k,W6(t.p,Jn,n))}function T8n(t){var e,n,r;switch(e=u(X(t.d,(De(),zg)),223),e.g){case 2:n=fSn(t);break;case 3:n=(r=new fe,ms(_i(Wo(fc(fc(new ln(null,new gn(t.d.b,16)),new dJ),new gJ),new pJ),new rC),new nUt(r)),r);break;default:throw at(new Ro("Compaction not supported for "+e+" edges."))}NTn(t,n),Fa(new cr(t.g),new tUt(t))}function C8n(t,e){var n,r,s,o,h,d,m;if(e.Ug("Process directions",1),n=u(X(t,(Cc(),Mv)),88),n!=(Rs(),kd))for(s=Dr(t.b,0);s.b!=s.d.c;){switch(r=u(Ar(s),39),d=u(X(r,(ji(),pP)),17).a,m=u(X(r,bP),17).a,n.g){case 4:m*=-1;break;case 1:o=d,d=m,m=o;break;case 2:h=d,d=-m,m=h}Zt(r,pP,he(d)),Zt(r,bP,he(m))}e.Vg()}function S8n(t,e){var n;return n=new As,e&&Qo(n,u(tr(t.a,zP),96)),Lt(e,422)&&Qo(n,u(tr(t.a,qP),96)),Lt(e,366)?(Qo(n,u(tr(t.a,Po),96)),n):(Lt(e,84)&&Qo(n,u(tr(t.a,vr),96)),Lt(e,207)?(Qo(n,u(tr(t.a,bi),96)),n):Lt(e,193)?(Qo(n,u(tr(t.a,kl),96)),n):(Lt(e,326)&&Qo(n,u(tr(t.a,Ts),96)),n))}function _8n(t){var e,n,r,s,o,h,d,m;for(m=new tse,d=new G(t.a);d.a<d.c.c.length;)if(h=u(et(d),10),h.k!=(Un(),Ms)){for(Lxn(m,h,new Sa),o=new rr(sr(_s(h).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!(s.c.i.k==Ms||s.d.i.k==Ms))for(r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),e=n,k_(m,new kE(e.a,e.b))}return m}function rct(){rct=V,WDt=new Oi(Ilt),KDt=(tS(),kP),GDt=new un(Plt,KDt),UDt=(sO(),TK),qEe=new un(iTt,UDt),VDt=(DO(),ydt),zEe=new un(sTt,VDt),REe=new un(Olt,null),HDt=(BI(),kK),$Ee=new un(Nlt,HDt),qDt=(S$(),wdt),NEe=new un(aTt,qDt),PEe=new un(oTt,(Pn(),!1)),FEe=new un(cTt,he(64)),BEe=new un(uTt,!0),jEe=vdt}function k0e(t,e){var n,r,s,o,h,d,m,k,T,A;for(t.p=1,s=t.c,A=new zd,T=Ym(t,(To(),ku)).Kc();T.Ob();)for(k=u(T.Pb(),12),r=new G(k.g);r.a<r.c.c.length;)n=u(et(r),18),m=n.d.i,t!=m&&(o=m.c,o.p<=s.p&&(h=s.p+1,h==e.b.c.length?(d=new eu(e),d.p=h,ge(e.b,d),Aa(m,d)):(d=u(Oe(e.b,h),30),Aa(m,d)),A.a.zc(m,A)));return A}function A8n(t,e){var n,r;if(n=u(X(t,(ji(),P1t)),15),!n||n.gc()<1)return null;if(n.gc()==1)return u(n.Xb(0),39);switch(r=null,e.g){case 2:r=u(Vl(G6(n.Oc(),new RZ)),39);break;case 1:r=u(Vl(My(n.Oc(),new i6)),39);break;case 4:r=u(Vl(G6(n.Oc(),new ER)),39);break;case 3:r=u(Vl(My(n.Oc(),new BZ)),39)}return r}function E0e(t){var e,n,r,s,o,h;if(t.a==null)if(t.a=Vt(Fl,$0,28,t.c.b.c.length,16,1),t.a[0]=!1,qi(t.c,(De(),g1t)))for(r=u(X(t.c,g1t),15),n=r.Kc();n.Ob();)e=u(n.Pb(),17).a,e>0&&e<t.a.length&&(t.a[e]=!1);else for(h=new G(t.c.b),h.a<h.c.c.length&&et(h),s=1;h.a<h.c.c.length;)o=u(et(h),30),t.a[s++]=l6n(o)}function N0(){N0=V,tL=new Oi("additionalHeight"),eL=new Oi("drawingHeight"),HT=new Oi("drawingWidth"),bK=new Oi("minHeight"),nL=new Oi("minWidth"),wK=new Oi("rows"),B3=new Oi("targetWidth"),ldt=new rs("minRowIncrease",0),Q8e=new rs("maxRowIncrease",0),udt=new rs("minRowDecrease",0),X8e=new rs("maxRowDecrease",0)}function T0e(t,e){var n,r,s,o;switch(s=t.b,e){case 1:{t.b|=1,t.b|=4,t.b|=8;break}case 2:{t.b|=2,t.b|=4,t.b|=8;break}case 4:{t.b|=1,t.b|=2,t.b|=4,t.b|=8;break}case 3:{t.b|=16,t.b|=8;break}case 0:{t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4;break}}if(t.b!=s&&t.c)for(r=new Zn(t.c);r.e!=r.i.gc();)o=u(ar(r),481),n=_l(o),t3(n,e)}function C0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(s=!1,h=e,d=0,m=h.length;d<m;++d)o=h[d],Ie((Pn(),!!o.e))&&!u(Oe(t.b,o.e.p),219).s&&(s=s|(k=o.e,T=u(Oe(t.b,k.p),219),A=T.e,P=SWt(n,A.length),$=A[P][0],$.k==(Un(),Ms)?A[P]=akn(o,A[P],n?(ve(),Gn):(ve(),Jn)):T.c.mg(A,n),U=qO(t,T,n,r),okt(T.e,T.o,n),U));return s}function S0e(t,e){var n,r,s,o,h;for(o=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,s=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ar(s),27),$t(ne(r,(ai(),cx)))!==$t((Ag(),bL))&&(h=u(ne(e,fx),143),n=u(ne(r,fx),143),(h==n||h&&_3t(h,n))&&(!r.a&&(r.a=new Jt(bi,r,10,11)),r.a).i!=0&&(o+=S0e(t,r)));return o}function L8n(t){var e,n,r,s,o,h,d;for(r=0,d=0,h=new G(t.d);h.a<h.c.c.length;)o=u(et(h),105),s=u(nc(_i(new ln(null,new gn(o.j,16)),new gR),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),n=null,r<=d?(n=(ve(),Hn),r+=s.gc()):d<r&&(n=(ve(),Er),d+=s.gc()),e=n,ms(Wo(s.Oc(),new yJ),new sUt(e))}function D8n(t){var e,n,r,s,o;for(o=new wu(t.a.c.length),s=new G(t.a);s.a<s.c.c.length;){switch(r=u(et(s),10),n=u(X(r,(De(),Iu)),171),e=null,n.g){case 1:case 2:e=(ow(),z5);break;case 3:case 4:e=(ow(),_T)}e?(Zt(r,(oe(),DG),(ow(),z5)),e==_T?nV(r,n,(To(),vl)):e==z5&&nV(r,n,(To(),ku))):In(o.c,r)}return o}function M8n(t){var e,n,r,s,o,h,d,m;for(t.b=new R1e(new hl((ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]))),new hl((Vm(),lt(ut(vft,1),te,372,0,[mv,r2,wv])))),h=lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]),d=0,m=h.length;d<m;++d)for(o=h[d],n=lt(ut(vft,1),te,372,0,[mv,r2,wv]),r=0,s=n.length;r<s;++r)e=n[r],Eyn(t.b,o,e,new fe)}function _0e(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=u(u(Ai(t.r,e),21),87),d=t.u.Hc((wl(),g2)),n=t.u.Hc(yL),r=t.u.Hc(vL),k=t.u.Hc(n8),A=t.B.Hc((Ml(),BK)),T=!n&&!r&&(k||h.gc()==2),Lkn(t,e),s=null,m=null,d){for(o=h.Kc(),s=u(o.Pb(),117),m=s;o.Ob();)m=u(o.Pb(),117);s.d.b=0,m.d.c=0,T&&!s.a&&(s.d.c=0)}A&&(k3n(h),d&&(s.d.b=0,m.d.c=0))}function A0e(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=u(u(Ai(t.r,e),21),87),d=t.u.Hc((wl(),g2)),n=t.u.Hc(yL),r=t.u.Hc(vL),m=t.u.Hc(n8),A=t.B.Hc((Ml(),BK)),k=!n&&!r&&(m||h.gc()==2),QEn(t,e),T=null,s=null,d){for(o=h.Kc(),T=u(o.Pb(),117),s=T;o.Ob();)s=u(o.Pb(),117);T.d.d=0,s.d.a=0,k&&!T.a&&(T.d.a=0)}A&&(E3n(h),d&&(T.d.d=0,s.d.a=0))}function L0e(t,e,n){var r,s,o,h,d,m,k,T;if(s=e.k,e.p>=0)return!1;if(e.p=n.b,ge(n.e,e),s==(Un(),fa)||s==uu){for(h=new G(e.j);h.a<h.c.c.length;)for(o=u(et(h),12),T=(r=new G(new k6(o).a.g),new M2t(r));lc(T.a);)if(k=u(et(T.a),18).d,d=k.i,m=d.k,e.c!=d.c&&(m==fa||m==uu)&&L0e(t,d,n))return!0}return!0}function oV(t){var e;return t.Db&64?F6t(t):(e=new ef(F6t(t)),e.a+=" (changeable: ",gp(e,(t.Bb&Uf)!=0),e.a+=", volatile: ",gp(e,(t.Bb&b3)!=0),e.a+=", transient: ",gp(e,(t.Bb&u3)!=0),e.a+=", defaultValueLiteral: ",Mo(e,t.j),e.a+=", unsettable: ",gp(e,(t.Bb&ol)!=0),e.a+=", derived: ",gp(e,(t.Bb&Jd)!=0),e.a+=")",e.a)}function I8n(t,e){var n,r,s,o,h;return s=e.qi(t.a),s&&(r=(!s.b&&(s.b=new Ul((wn(),wo),Mc,s)),s.b),n=Gr(L1(r,Ka)),n!=null&&(o=n.lastIndexOf("#"),h=o==-1?tvt(t,e.jk(),n):o==0?zI(t,null,(qn(1,n.length+1),n.substr(1))):zI(t,(Da(0,o,n.length),n.substr(0,o)),(qn(o+1,n.length+1),n.substr(o+1))),Lt(h,156)))?u(h,156):null}function O8n(t,e){var n,r,s,o,h;return r=e.qi(t.a),r&&(n=(!r.b&&(r.b=new Ul((wn(),wo),Mc,r)),r.b),o=Gr(L1(n,uht)),o!=null&&(s=o.lastIndexOf("#"),h=s==-1?tvt(t,e.jk(),o):s==0?zI(t,null,(qn(1,o.length+1),o.substr(1))):zI(t,(Da(0,s,o.length),o.substr(0,s)),(qn(s+1,o.length+1),o.substr(s+1))),Lt(h,156)))?u(h,156):null}function N8n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(s=D6n(t.d),h=u(X(t.b,(b_(),oCt)),107),d=h.b+h.c,m=h.d+h.a,T=s.d.a*t.e+d,k=s.b.a*t.f+m,Lnt(t.b,new ae(T,k)),P=new G(t.g);P.a<P.c.c.length;)A=u(et(P),568),e=A.g-s.a.a,n=A.i-s.c.a,r=ki(Ksn(new ae(e,n),A.a,A.b),qd(CS(Oa(Cmt(A.e)),A.d*A.a,A.c*A.b),-.5)),o=Smt(A.e),prn(A.e,ia(r,o))}function P8n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(e.Ug("Restoring reversed edges",1),m=new G(t.b);m.a<m.c.c.length;)for(d=u(et(m),30),T=new G(d.a);T.a<T.c.c.length;)for(k=u(et(T),10),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),h=Kd(A.g),r=h,s=0,o=r.length;s<o;++s)n=r[s],Ie(Me(X(n,(oe(),vd))))&&nv(n,!1);e.Vg()}function F8n(t,e,n,r){var s,o,h,d,m;for(m=Vt(ma,ue,109,(ve(),lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn])).length,0,2),o=lt(ut(bo,1),qc,64,0,[bc,Hn,Jn,Er,Gn]),h=0,d=o.length;h<d;++h)s=o[h],m[s.g]=Vt(ma,No,28,t.c[s.g],15,1);return Vhe(m,t,Hn),Vhe(m,t,Er),mot(m,t,Hn,e,n,r),mot(m,t,Jn,e,n,r),mot(m,t,Er,e,n,r),mot(m,t,Gn,e,n,r),m}function B8n(t,e,n){if(Tu(t.a,e)){if(x1(u(tr(t.a,e),49),n))return 1}else hi(t.a,e,new Os);if(Tu(t.a,n)){if(x1(u(tr(t.a,n),49),e))return-1}else hi(t.a,n,new Os);if(Tu(t.b,e)){if(x1(u(tr(t.b,e),49),n))return-1}else hi(t.b,e,new Os);if(Tu(t.b,n)){if(x1(u(tr(t.b,n),49),e))return 1}else hi(t.b,n,new Os);return 0}function R8n(t){var e,n,r,s,o,h;t.q==(ka(),Y0)||t.q==hu||(s=t.f.n.d+Cz(u(Io(t.b,(ve(),Hn)),127))+t.c,e=t.f.n.a+Cz(u(Io(t.b,Er),127))+t.c,r=u(Io(t.b,Jn),127),h=u(Io(t.b,Gn),127),o=b.Math.max(0,r.n.d-s),o=b.Math.max(o,h.n.d-s),n=b.Math.max(0,r.n.a-e),n=b.Math.max(n,h.n.a-e),r.n.d=o,h.n.d=o,r.n.a=n,h.n.a=n)}function bkt(t,e,n,r){var s,o,h,d,m,k;if(n==null){for(s=u(t.g,124),d=0;d<t.i;++d)if(h=s[d],h.Lk()==e)return so(t,h,r)}return o=(vo(),u(e,69).xk()?u(n,76):D0(e,n)),Hl(t.e)?(k=!wO(t,e),r=vu(t,o,r),m=e.Jk()?Ib(t,3,e,null,n,$7(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0),k):Ib(t,1,e,e.ik(),n,-1,k),r?r.nj(m):r=m):r=vu(t,o,r),r}function D0e(){this.b=new kp,this.d=new kp,this.e=new kp,this.c=new kp,this.a=new _r,this.f=new _r,Q4(la,new Ptt,new nM),Q4(sMt,new k4,new H8),Q4(DCt,new hC,new rM),Q4(MCt,new Btt,new Rtt),Q4(W7e,new $R,new zR),Q4(XSn,new o6,new db),Q4(ZSn,new BR,new RR),Q4(QSn,new jR,new Ftt),Q4(JSn,new c6,new dy),Q4(n_n,new op,new gb)}function M_(t,e){var n,r,s,o,h;for(t=t==null?Vu:(Wn(t),t),s=0;s<e.length;s++)e[s]=N6n(e[s]);for(n=new I4,h=0,r=0;r<e.length&&(o=t.indexOf("%s",h),o!=-1);)n.a+=""+Lh(t==null?Vu:(Wn(t),t),h,o),tu(n,e[r++]),h=o+2;if(Ure(n,t,h,t.length),r<e.length){for(n.a+=" [",tu(n,e[r++]);r<e.length;)n.a+=ao,tu(n,e[r++]);n.a+="]"}return n.a}function wkt(t,e){var n,r,s,o,h,d,m;for(n=0,m=new G(e);m.a<m.c.c.length;){for(d=u(et(m),12),c5t(t.b,t.d[d.p]),h=0,s=new sd(d.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),qee(r)?(o=Cwt(t,d==r.c?r.d:r.c),o>t.d[d.p]&&(n+=C3t(t.b,o),Ob(t.a,he(o)))):++h;for(n+=t.b.d*h;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function M0e(t){var e,n,r,s,o,h;return o=0,e=of(t),e.kk()&&(o|=4),t.Bb&ol&&(o|=2),Lt(t,102)?(n=u(t,19),s=yo(n),n.Bb&Fc&&(o|=32),s&&(fr(Py(s)),o|=8,h=s.t,(h>1||h==-1)&&(o|=16),s.Bb&Fc&&(o|=64)),n.Bb&po&&(o|=b3),o|=Uf):Lt(e,468)?o|=512:(r=e.kk(),r&&r.i&1&&(o|=256)),t.Bb&512&&(o|=128),o}function j8n(t,e){var n;return t.f==a0t?(n=Om($o((il(),ja),e)),t.e?n==4&&e!=(vk(),s8)&&e!=(vk(),i8)&&e!=(vk(),o0t)&&e!=(vk(),c0t):n==2):t.d&&(t.d.Hc(e)||t.d.Hc(tk($o((il(),ja),e)))||t.d.Hc(y5((il(),ja),t.b,e)))?!0:t.f&&tkt((il(),t.f),TI($o(ja,e)))?(n=Om($o(ja,e)),t.e?n==4:n==2):!1}function $8n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(P=-1,$=0,k=t,T=0,A=k.length;T<A;++T){for(m=k[T],o=m,h=0,d=o.length;h<d;++h)for(s=o[h],e=new sie(P==-1?t[0]:t[P],u(X(Pa(s),(De(),U0)),284),Bhe(s),Ie(Me(X(Pa(s),Zft)))),n=0;n<s.j.c.length;n++)for(r=n+1;r<s.j.c.length;r++)oee(e,u(Oe(s.j,n),12),u(Oe(s.j,r),12))>0&&++$;++P}return $}function z8n(t,e,n,r){var s,o,h,d,m,k,T,A;return h=u(ne(n,(ai(),Jk)),8),m=h.a,T=h.b+t,s=b.Math.atan2(T,m),s<0&&(s+=xw),s+=e,s>xw&&(s-=xw),d=u(ne(r,Jk),8),k=d.a,A=d.b+t,o=b.Math.atan2(A,k),o<0&&(o+=xw),o+=e,o>xw&&(o-=xw),Z1(),$f(1e-10),b.Math.abs(s-o)<=1e-10||s==o||isNaN(s)&&isNaN(o)?0:s<o?-1:s>o?1:ym(isNaN(s),isNaN(o))}function ict(t){var e,n,r,s,o,h,d;for(d=new _r,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),60),hi(d,e,new fe);for(s=new G(t.a.b);s.a<s.c.c.length;)for(e=u(et(s),60),e.i=Vs,h=e.c.Kc();h.Ob();)o=u(h.Pb(),60),u(Ko(Eo(d.f,o)),15).Fc(e);for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),60),e.c.$b(),e.c=u(Ko(Eo(d.f,e)),15);Zde(t)}function sct(t){var e,n,r,s,o,h,d;for(d=new _r,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),86),hi(d,e,new fe);for(s=new G(t.a.b);s.a<s.c.c.length;)for(e=u(et(s),86),e.o=Vs,h=e.f.Kc();h.Ob();)o=u(h.Pb(),86),u(Ko(Eo(d.f,o)),15).Fc(e);for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),e.f.$b(),e.f=u(Ko(Eo(d.f,e)),15);$de(t)}function q8n(t,e,n,r){var s,o;for(Gvn(t,e,n,r),L2t(e,t.j-e.j+n),Jj(e,t.k-e.k+r),o=new G(e.f);o.a<o.c.c.length;)switch(s=u(et(o),334),s.a.g){case 0:l7(t,e.g+s.b.a,0,e.g+s.c.a,e.i-1);break;case 1:l7(t,e.g+e.o,e.i+s.b.a,t.o-1,e.i+s.c.a);break;case 2:l7(t,e.g+s.b.a,e.i+e.p,e.g+s.c.a,t.p-1);break;default:l7(t,0,e.i+s.b.a,e.g-1,e.i+s.c.a)}}function H8n(t,e){var n,r,s,o,h,d,m,k;for(o=new fe,e.b.c.length=0,n=u(nc(a3t(new ln(null,new gn(new cr(t.a.b),1))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),s=n.Kc();s.Ob();)if(r=u(s.Pb(),17),h=m3t(t.a,r),h.b!=0)for(d=new eu(e),In(o.c,d),d.p=r.a,k=Dr(h,0);k.b!=k.d.c;)m=u(Ar(k),10),Aa(m,d);Hs(e.b,o)}function cV(t,e,n,r,s){var o,h,d;try{if(e>=t.o)throw at(new Y2t);d=e>>5,h=e&31,o=Rf(1,qr(Rf(h,1))),s?t.n[n][d]=T1(t.n[n][d],o):t.n[n][d]=sa(t.n[n][d],Gvt(o)),o=Rf(o,1),r?t.n[n][d]=T1(t.n[n][d],o):t.n[n][d]=sa(t.n[n][d],Gvt(o))}catch(m){throw m=es(m),Lt(m,333)?at(new Bo(Cut+t.o+"*"+t.p+Sut+e+ao+n+_ut)):at(m)}}function V8n(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(P=new pp(new CUt(t)),d=lt(ut(V0,1),jp,10,0,[e,n]),m=0,k=d.length;m<k;++m)for(h=d[m],A=c_(h,r).Kc();A.Ob();)for(T=u(A.Pb(),12),o=new sd(T.b);lc(o.a)||lc(o.b);)s=u(lc(o.a)?et(o.a):et(o.b),18),go(s)||(P.a.zc(T,(Pn(),t2))==null,qee(s)&&yI(P,T==s.c?s.d:s.c));return Hr(P),new fl(P)}function mkt(t,e,n,r){var s,o,h;e&&(o=Rt(Ht(X(e,(ji(),Kp))))+r,h=n+Rt(Ht(X(e,cK)))/2,Zt(e,pP,he(qr(Pc(b.Math.round(o))))),Zt(e,bP,he(qr(Pc(b.Math.round(h))))),e.d.b==0||mkt(t,u(sz((s=Dr(new gg(e).a.d,0),new M4(s))),39),n+Rt(Ht(X(e,cK)))+t.b,r+Rt(Ht(X(e,qT)))),X(e,z1t)!=null&&mkt(t,u(X(e,z1t),39),n,r))}function U8n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(m=Pa(e.a),s=Rt(Ht(X(m,(De(),Pw))))*2,T=Rt(Ht(X(m,X5))),k=b.Math.max(s,T),o=Vt(ma,No,28,e.f-e.c+1,15,1),r=-k,n=0,d=e.b.Kc();d.Ob();)h=u(d.Pb(),10),r+=t.a[h.c.p]+k,o[n++]=r;for(r+=t.a[e.a.c.p]+k,o[n++]=r,P=new G(e.e);P.a<P.c.c.length;)A=u(et(P),10),r+=t.a[A.c.p]+k,o[n++]=r;return o}function G8n(t,e){var n,r,s,o;if(o=u(ne(t,(ai(),hx)),64).g-u(ne(e,hx),64).g,o!=0)return o;if(n=u(ne(t,$dt),17),r=u(ne(e,$dt),17),n&&r&&(s=n.a-r.a,s!=0))return s;switch(u(ne(t,hx),64).g){case 1:return Bi(t.i,e.i);case 2:return Bi(t.j,e.j);case 3:return Bi(e.i,t.i);case 4:return Bi(e.j,t.j);default:throw at(new Ro(Z8t))}}function vkt(t){var e,n,r;return t.Db&64?Bot(t):(e=new eh(yTt),n=t.k,n?ni(ni((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!r||ni(ni((e.a+=' "',e),r),'"'))),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function I0e(t){var e,n,r;return t.Db&64?Bot(t):(e=new eh(xTt),n=t.k,n?ni(ni((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(r=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!r||ni(ni((e.a+=' "',e),r),'"'))),ni(pm(ni(pm(ni(pm(ni(pm((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function K8n(t,e){var n,r,s,o,h;for(e==(i_(),_1t)&&IO(u(Ai(t.a,(Qy(),XN)),15)),s=u(Ai(t.a,(Qy(),XN)),15).Kc();s.Ob();)switch(r=u(s.Pb(),105),n=u(Oe(r.j,0),113).d.j,o=new fl(r.j),Ds(o,new cR),e.g){case 2:Mot(t,o,n,(Vm(),r2),1);break;case 1:case 0:h=O6n(o),Mot(t,new xp(o,0,h),n,(Vm(),r2),0),Mot(t,new xp(o,h,o.c.length),n,r2,1)}}function act(t,e){var n,r,s,o,h,d,m;if(e==null||e.length==0)return null;if(s=u(nu(t.a,e),143),!s){for(r=(d=new si(t.b).a.vc().Kc(),new Qi(d));r.a.Ob();)if(n=(o=u(r.a.Pb(),44),u(o.md(),143)),h=n.c,m=e.length,hn(h.substr(h.length-m,m),e)&&(e.length==h.length||Va(h,h.length-e.length-1)==46)){if(s)return null;s=n}s&&jo(t.a,e,s)}return s}function W8n(t,e){var n,r,s,o;return n=new Gi,r=u(nc(Wo(new ln(null,new gn(t.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),s=r.gc(),r=u(nc(Wo(new ln(null,new gn(e.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[w3,sc]))),21),o=r.gc(),s<o?-1:s==o?0:1}function O0e(t){var e,n,r;qi(t,(De(),Tv))&&(r=u(X(t,Tv),21),!r.dc()&&(n=(e=u(y1(Lo),9),new _h(e,u(Ff(e,e.length),9),0)),r.Hc((e3(),bh))?zf(n,bh):zf(n,Zf),r.Hc(pf)||zf(n,pf),r.Hc(Qf)?zf(n,t1):r.Hc(qg)?zf(n,W0):r.Hc(Jf)&&zf(n,bf),r.Hc(t1)?zf(n,Qf):r.Hc(W0)?zf(n,qg):r.Hc(bf)&&zf(n,Jf),Zt(t,Tv,n)))}function Y8n(t){var e,n,r,s,o,h,d;for(s=u(X(t,(oe(),yv)),10),r=t.j,n=(vn(0,r.c.length),u(r.c[0],12)),h=new G(s.j);h.a<h.c.c.length;)if(o=u(et(h),12),$t(o)===$t(X(n,Li))){o.j==(ve(),Hn)&&t.p>s.p?(Xs(o,Er),o.d&&(d=o.o.b,e=o.a.b,o.a.b=d-e)):o.j==Er&&s.p>t.p&&(Xs(o,Hn),o.d&&(d=o.o.b,e=o.a.b,o.a.b=-(d-e)));break}return s}function HO(t,e,n,r,s){var o,h,d,m,k,T,A;if(!(Lt(e,207)||Lt(e,366)||Lt(e,193)))throw at(new zn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return h=t.a/2,m=e.i+r-h,T=e.j+s-h,k=m+e.g+t.a,A=T+e.f+t.a,o=new Qu,Zr(o,new ae(m,T)),Zr(o,new ae(m,A)),Zr(o,new ae(k,A)),Zr(o,new ae(k,T)),d=new Wot(o),Qo(d,e),n&&hi(t.b,e,d),d}function B7(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=new ae(e,n),T=new G(t.a);T.a<T.c.c.length;)for(k=u(et(T),10),ki(k.n,o),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),s=new G(A.g);s.a<s.c.c.length;)for(r=u(et(s),18),Vy(r.a,o),h=u(X(r,(De(),Vo)),75),h&&Vy(h,o),m=new G(r.b);m.a<m.c.c.length;)d=u(et(m),72),ki(d.n,o)}function X8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=new ae(e,n),T=new G(t.a);T.a<T.c.c.length;)for(k=u(et(T),10),ki(k.n,o),P=new G(k.j);P.a<P.c.c.length;)for(A=u(et(P),12),s=new G(A.g);s.a<s.c.c.length;)for(r=u(et(s),18),Vy(r.a,o),h=u(X(r,(De(),Vo)),75),h&&Vy(h,o),m=new G(r.b);m.a<m.c.c.length;)d=u(et(m),72),ki(d.n,o)}function N0e(t){if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==0)throw at(new L6("Edges must have a source."));if((!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i==0)throw at(new L6("Edges must have a target."));if(!t.b&&(t.b=new kn(vr,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new kn(vr,t,5,8)),t.c.i<=1)))throw at(new L6("Hyperedges are not supported."))}function ykt(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=0,o=new K4,Ob(o,e);o.b!=o.c;)for(m=u(K6(o),219),k=0,T=u(X(e.j,(De(),U0)),284),h=Rt(Ht(X(e.j,FG))),d=Rt(Ht(X(e.j,F_t))),T!=(Wd(),Up)&&(k+=h*Zxn(m.e,T),k+=d*$8n(m.e)),A+=_he(m.d,m.e)+k,s=new G(m.b);s.a<s.c.c.length;)r=u(et(s),36),n=u(Oe(t.b,r.p),219),n.s||(A+=GH(t,n));return A}function Xd(){Xd=V;var t;for(NU=new kg(1,1),Iht=new kg(1,10),yA=new kg(0,0),Zve=new kg(-1,1),tye=lt(ut(N5,1),ue,92,0,[yA,NU,new kg(1,2),new kg(1,3),new kg(1,4),new kg(1,5),new kg(1,6),new kg(1,7),new kg(1,8),new kg(1,9),Iht]),PU=Vt(N5,ue,92,32,0,1),t=0;t<PU.length;t++)PU[t]=J$(Rf(1,t),0)?zb(Rf(1,t)):FS(zb(Cp(Rf(1,t))))}function P0e(t,e,n,r,s,o,h){if(t.c=r.Lf().a,t.d=r.Lf().b,s&&(t.c+=s.Lf().a,t.d+=s.Lf().b),t.b=e.Mf().a,t.a=e.Mf().b,!s)n?t.c-=h+e.Mf().a:t.c+=r.Mf().a+h;else switch(s.ag().g){case 0:case 2:t.c+=s.Mf().a+h+o.a+h;break;case 4:t.c-=h+o.a+h+e.Mf().a;break;case 1:t.c+=s.Mf().a+h,t.d-=h+o.b+h+e.Mf().b;break;case 3:t.c+=s.Mf().a+h,t.d+=s.Mf().b+h+o.b+h}}function F0e(t,e){var n,r;for(this.b=new fe,this.e=new fe,this.a=t,this.d=e,dmn(this),vwn(this),this.b.dc()?this.c=t.c.p:this.c=u(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=t.c.p:this.f=u(Oe(this.e,this.e.c.length-1),10).c.p,r=u(X(t,(oe(),IA)),15).Kc();r.Ob();)if(n=u(r.Pb(),72),qi(n,(De(),jG))){this.d=u(X(n,jG),232);break}}function R7(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.e,e),49),h=u(tr(t.e,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),10),r.a.zc(k,r),qs(u(tr(t.e,k),49),e),Ma(u(tr(t.e,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function VO(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.b,e),49),h=u(tr(t.b,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),10),r.a.zc(k,r),qs(u(tr(t.b,k),49),e),Ma(u(tr(t.b,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function $h(t,e,n){var r,s,o,h,d,m,k,T;for(r=u(tr(t.a,e),49),o=u(tr(t.a,n),49),s=u(tr(t.d,e),49),h=u(tr(t.d,n),49),r.a.zc(n,r),h.a.zc(e,h),T=o.a.ec().Kc();T.Ob();)k=u(T.Pb(),12),r.a.zc(k,r),qs(u(tr(t.d,k),49),e),Ma(u(tr(t.d,k),49),s);for(m=s.a.ec().Kc();m.Ob();)d=u(m.Pb(),12),h.a.zc(d,h),qs(u(tr(t.a,d),49),n),Ma(u(tr(t.a,d),49),o)}function Q8n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;if(o=n,n<r)for(P=($=new eO(t.p),U=new eO(t.p),Ma($.e,t.e),$.q=t.q,$.r=U,Hz($),Ma(U.j,t.j),U.r=$,Hz(U),new Ws($,U)),A=u(P.a,118),T=u(P.b,118),s=(vn(o,e.c.length),u(e.c[o],339)),h=h0e(t,A,T,s),k=n+1;k<=r;k++)d=(vn(k,e.c.length),u(e.c[k],339)),m=h0e(t,A,T,d),fmn(d,m,s,h)&&(s=d,h=m,o=k);return o}function J8n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(h=u(Dt(e,0),27),Su(h,0),_u(h,0),P=new fe,In(P.c,h),d=h,o=new tyt(t.a,h.g,h.f,(A_(),xP)),$=1;$<e.i;$++)U=u(Dt(e,$),27),m=wct(t,rx,U,d,o,P,n),k=wct(t,Xk,U,d,o,P,n),T=wct(t,aL,U,d,o,P,n),A=wct(t,sL,U,d,o,P,n),s=_Tn(t,m,k,T,A,U,d,r),Su(U,s.d),_u(U,s.e),Pt(s,xP),o=s,d=U,In(P.c,U);return o}function Z8n(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(T=null,P=e,A=Tie(t,gie(n),P),n7(A,yg(P,a0)),h=jm(P,ETt),r=new XXt(t,A),k5n(r.a,r.b,h),d=jm(P,Qlt),s=new QXt(t,A),E5n(s.a,s.b,d),(!A.b&&(A.b=new kn(vr,A,4,7)),A.b).i==0||(!A.c&&(A.c=new kn(vr,A,5,8)),A.c).i==0)throw o=yg(P,a0),m=Zwe+o,k=m+fT,at(new Rd(k));return qH(P,A),rSn(t,P,A),T=xat(t,P,A),T}function tEn(t,e){var n,r,s,o,h,d,m;for(s=Vt(Fr,ii,28,t.e.a.c.length,15,1),h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),s[o.d]+=o.b.a.c.length;for(d=bI(e);d.b!=0;)for(o=u(d.b==0?null:(ur(d.b!=0),Oh(d,d.a.a)),125),r=sk(new G(o.g.a));r.Ob();)n=u(r.Pb(),218),m=n.e,m.e=b.Math.max(m.e,o.e+n.a),--s[m.d],s[m.d]==0&&hs(d,m,d.c.b,d.c)}function B0e(t){var e,n,r,s,o,h,d,m,k,T,A;for(n=Ga,s=xi,d=new G(t.e.a);d.a<d.c.c.length;)o=u(et(d),125),s=b.Math.min(s,o.e),n=b.Math.max(n,o.e);for(e=Vt(Fr,ii,28,n-s+1,15,1),h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),o.e-=s,++e[o.e];if(r=0,t.k!=null)for(k=t.k,T=0,A=k.length;T<A&&(m=k[T],e[r++]+=m,e.length!=r);++T);return e}function eEn(t,e){var n,r,s,o,h,d;if(e.Ug("Edge routing",1),s=u(X(t,(Cc(),q1t)),392),s==(s_(),N1t))y0n(t);else if(s==dP)for(u(Vl(f7(_i(new ln(null,new gn(t.b,16)),new OZ))),39),o=Rt(Ht(X(t,LLt))),h=Rt(Ht(X(t,TLt))),d=u(X(t,Mv),88),aSn(t,d,o),BSn(t,d,o,h),zSn(t,d,o,h),r=Dr(t.a,0);r.b!=r.d.c;)n=u(Ar(r),65),n.a.b<2&&A6t(n);e.Vg()}function R0e(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(ckt(t),17).a==t.o;case 1:case 2:{if(t.o==-2)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return vm(t.k,t.f);case 3:case 4:return t.j==t.e;default:return t.n==null?t.g==null:Ti(t.n,t.g)}}default:return!1}}function nEn(t,e){var n,r,s;switch(e.Ug("Breaking Point Insertion",1),r=new q6t(t),u(X(t,(De(),d1t)),351).g){case 2:s=new mR;break;case 0:s=new oC;break;default:s=new vR}if(n=s.og(t,r),Ie(Me(X(t,yAt)))&&(n=UTn(t,n)),!s.pg()&&qi(t,WG))switch(u(X(t,WG),352).g){case 2:n=w1e(r,n);break;case 1:n=ofe(r,n)}if(n.dc()){e.Vg();return}hSn(t,n),e.Vg()}function j0e(t,e,n){var r,s,o,h,d,m,k,T,A;for(o=new wu(e.c.length),k=new G(e);k.a<k.c.c.length;)h=u(et(k),10),ge(o,t.b[h.c.p][h.p]);for($Tn(t,o,n),A=null;A=M9n(o);)y7n(t,u(A.a,239),u(A.b,239),o);for(e.c.length=0,s=new G(o);s.a<s.c.c.length;)for(r=u(et(s),239),d=r.d,m=0,T=d.length;m<T;++m)h=d[m],In(e.c,h),t.a[h.c.p][h.p].a=td(r.g,r.d[0]).a}function $0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,iA),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new qR))),le(t,iA,ov,oIt),le(t,iA,JV,Se(pL)),le(t,iA,dTt,Se(rIt)),le(t,iA,_5,Se(iIt)),le(t,iA,Ik,Se(aIt)),le(t,iA,eT,Se(sIt))}function uV(t,e,n){var r,s,o,h,d;if(r=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),d=qr(Ja(B0,L0(qr(Ja(n==null?0:$i(n),R0)),15))),o=JS(t,e,r),o&&d==o.f&&Ud(n,o.i))return n;if(h=ZS(t,n,d),h)throw at(new zn("value already present: "+n));return s=new Uz(e,r,n,d),o?(p5(t,o),NO(t,s,o),o.e=null,o.c=null,o.i):(NO(t,s,null),Uhe(t),null)}function rEn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;T=n.a.c,h=n.a.c+n.a.b,o=u(tr(n.c,e),467),$=o.f,U=o.a,o.b?m=new ae(h,$):m=new ae(T,$),o.c?A=new ae(T,U):A=new ae(h,U),s=T,n.p||(s+=t.c),s+=n.F+n.v*t.b,k=new ae(s,$),P=new ae(s,U),XS(e.a,lt(ut(la,1),ue,8,0,[m,k])),d=n.d.a.gc()>1,d&&(r=new ae(s,n.b),Zr(e.a,r)),XS(e.a,lt(ut(la,1),ue,8,0,[P,A]))}function cf(){cf=V,ZG=new Ey(r0,0),cP=new Ey("NIKOLOV",1),uP=new Ey("NIKOLOV_PIXEL",2),OAt=new Ey("NIKOLOV_IMPROVED",3),NAt=new Ey("NIKOLOV_IMPROVED_PIXEL",4),IAt=new Ey("DUMMYNODE_PERCENTAGE",5),PAt=new Ey("NODECOUNT_PERCENTAGE",6),tK=new Ey("NO_BOUNDARY",7),Lv=new Ey("MODEL_ORDER_LEFT_TO_RIGHT",8),N3=new Ey("MODEL_ORDER_RIGHT_TO_LEFT",9)}function iEn(t){var e,n,r,s,o;for(r=t.length,e=new YC,o=0;o<r;)if(n=Va(t,o++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;o<r&&(n=Va(t,o++),!(n==13||n==10)););continue}n==92&&o<r?(s=(qn(o,t.length),t.charCodeAt(o)))==35||s==9||s==10||s==12||s==13||s==32?(PE(e,s&js),++o):(e.a+="\\",PE(e,s&js),++o):PE(e,n&js)}return e.a}function xkt(){xkt=V,S8e=new un(F7t,(Pn(),!1)),D8e=new un(B7t,he(0)),M8e=new un(R7t,0),I8e=new un(sU,!1),zLt=(uO(),fK),A8e=new un(Slt,zLt),he(0),_8e=new un(_lt,he(1)),HLt=(Zq(),idt),F8e=new un(j7t,HLt),VLt=(Cq(),Z1t),B8e=new un($7t,VLt),qLt=(NH(),rdt),L8e=new un(z7t,qLt),P8e=new un(Alt,0),O8e=new un(Llt,!1),N8e=new un(q7t,!1)}function sEn(t,e){var n,r,s;for(r=new G(e);r.a<r.c.c.length;)if(n=u(et(r),27),dn(t.a,n,n),dn(t.b,n,n),s=n3(n),s.c.length!=0)for(t.d&&t.d.Gg(s),dn(t.a,n,(vn(0,s.c.length),u(s.c[0],27))),dn(t.b,n,u(Oe(s,s.c.length-1),27));mat(s).c.length!=0;)s=mat(s),t.d&&t.d.Gg(s),dn(t.a,n,(vn(0,s.c.length),u(s.c[0],27))),dn(t.b,n,u(Oe(s,s.c.length-1),27))}function oct(t,e,n){var r,s,o,h,d,m;if(e)if(n<=-1){if(r=En(e.Dh(),-1-n),Lt(r,102))return u(r,19);for(h=u(e.Mh(r),160),d=0,m=h.gc();d<m;++d)if($t(h.Ul(d))===$t(t)&&(s=h.Tl(d),Lt(s,102)&&(o=u(s,19),o.Bb&Fc)))return o;throw at(new Ro("The containment feature could not be located"))}else return yo(u(En(t.Dh(),n),19));else return null}function aEn(t){var e,n,r,s,o,h,d,m,k,T;for(n=0,d=new G(t.d);d.a<d.c.c.length;)h=u(et(d),105),h.i&&(h.i.c=n++);for(e=G2(Fl,[ue,$0],[183,28],16,[n,n],2),T=t.d,s=0;s<T.c.length;s++)if(m=(vn(s,T.c.length),u(T.c[s],105)),m.i)for(o=s+1;o<T.c.length;o++)k=(vn(o,T.c.length),u(T.c[o],105)),k.i&&(r=I3n(m,k),e[m.i.c][k.i.c]=r,e[k.i.c][m.i.c]=r);return e}function kkt(){kkt=V,sEe=new un(U7t,(Pn(),!1)),he(-1),Z8e=new un(G7t,he(-1)),he(-1),tEe=new un(K7t,he(-1)),eEe=new un(W7t,!1),hDt=(wq(),gdt),uEe=new un(Y7t,hDt),lEe=new un(X7t,-1),lDt=(dH(),hdt),cEe=new un(Q7t,lDt),oEe=new un(J7t,!0),uDt=(Sq(),pdt),iEe=new un(Z7t,uDt),rEe=new un(tTt,!1),he(1),nEe=new un(eTt,he(1)),aEe=new Oi(nTt)}function I_(){I_=V,O1t=new mm("ROOT_PROC",0),iLt=new mm("FAN_PROC",1),cLt=new mm("LEVEL_PROC",2),uLt=new mm("NEIGHBORS_PROC",3),oLt=new mm("LEVEL_HEIGHT",4),rLt=new mm("DIRECTION_PROC",5),lLt=new mm("NODE_POSITION_PROC",6),eLt=new mm("COMPACTION_PROC",7),aLt=new mm("LEVEL_COORDS",8),sLt=new mm("GRAPH_BOUNDS_PROC",9),nLt=new mm("DETREEIFYING_PROC",10)}function Ekt(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=Yo(e),k=null,s=!1,d=0,T=Wc(A.a).i;d<T;++d)h=u(QO(A,d,(o=u(Dt(Wc(A.a),d),89),m=o.c,Lt(m,90)?u(m,29):(wn(),xf))),29),n=Ekt(t,h),n.dc()||(k?(s||(s=!0,k=new Oz(k)),k.Gc(n)):k=n);return r=b5n(t,e),r.dc()?k||(mn(),mn(),co):k?(s||(k=new Oz(k)),k.Gc(r),k):r}function cct(t,e){var n,r,s,o,h,d,m,k,T,A;for(A=Yo(e),k=null,r=!1,d=0,T=Wc(A.a).i;d<T;++d)o=u(QO(A,d,(s=u(Dt(Wc(A.a),d),89),m=s.c,Lt(m,90)?u(m,29):(wn(),xf))),29),n=cct(t,o),n.dc()||(k?(r||(r=!0,k=new Oz(k)),k.Gc(n)):k=n);return h=Z5n(t,e),h.dc()?k||(mn(),mn(),co):k?(r||(k=new Oz(k)),k.Gc(h),k):h}function oEn(t){var e,n,r,s;r=t.o,Ay(),t.A.dc()||Ti(t.A,tCt)?s=r.a:(s=FO(t.f),t.A.Hc((Yl(),BP))&&!t.B.Hc((Ml(),kL))&&(s=b.Math.max(s,FO(u(Io(t.p,(ve(),Hn)),252))),s=b.Math.max(s,FO(u(Io(t.p,Er),252)))),e=wce(t),e&&(s=b.Math.max(s,e.a))),Ie(Me(t.e.Tf().of((ai(),R3))))?r.a=b.Math.max(r.a,s):r.a=s,n=t.f.i,n.c=0,n.b=s,dct(t.f)}function UO(t,e,n){var r,s,o,h,d,m;if(Lt(e,76))return so(t,e,n);for(d=null,o=null,r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],Ti(e,s.md())&&(o=s.Lk(),Lt(o,102)&&u(o,19).Bb&Fc)){d=s;break}return d&&(Hl(t.e)&&(m=o.Jk()?Ib(t,4,o,e,null,$7(t,o,e,Lt(o,102)&&(u(o,19).Bb&po)!=0),!0):Ib(t,o.tk()?2:1,o,e,o.ik(),-1,!0),n?n.nj(m):n=m),n=UO(t,d,n)),n}function cEn(t,e,n){var r,s,o,h;if(h=Lu(t.e.Dh(),e),r=u(t.g,124),vo(),u(e,69).xk()){for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&Ti(s,n))return r3(t,o),!0}else if(n!=null){for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&Ti(n,s.md()))return r3(t,o),!0}else for(o=0;o<t.i;++o)if(s=r[o],h.am(s.Lk())&&s.md()==null)return r3(t,o),!0;return!1}function uEn(t,e){var n,r,s,o,h;if(e.Ug("Node and Port Label Placement and Node Sizing",1),GQt((JC(),new tst(t,!0,!0,new kQ))),u(X(t,(oe(),lu)),21).Hc((Co(),Uh)))for(o=u(X(t,(De(),M3)),21),s=o.Hc((wl(),FP)),h=Ie(Me(X(t,lAt))),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),30),ms(_i(new ln(null,new gn(n.a,16)),new EQ),new QZt(o,s,h));e.Vg()}function lEn(t,e){var n,r,s,o,h;for(t.c==null||t.c.length<e.c.length?t.c=Vt(Fl,$0,28,e.c.length,16,1):KC(t.c),t.a=new fe,r=0,h=new G(e);h.a<h.c.c.length;)s=u(et(h),10),s.p=r++;for(n=new Ki,o=new G(e);o.a<o.c.c.length;)s=u(et(o),10),t.c[s.p]||(x1e(t,s),n.b==0||(ur(n.b!=0),u(n.a.a.c,15)).gc()<t.a.c.length?j4(n,t.a):ro(n,t.a),t.a=new fe);return n}function z0e(t){wm(t,new dw(gm(hm(dm(fm(new G1,oT),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new zl))),le(t,oT,Ilt,Se(JDt)),le(t,oT,ov,QDt),le(t,oT,h3,8),le(t,oT,Plt,Se(VEe)),le(t,oT,cTt,Se(YDt)),le(t,oT,uTt,Se(XDt)),le(t,oT,TN,(Pn(),!1))}function hEn(t,e){var n,r,s,o,h,d,m;if(n=e.qi(t.a),n&&(m=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),UTt)),m!=null)){for(r=new fe,o=s3(m,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],hn(s,"##other")?ge(r,"!##"+MS(t,sh(e.qk()))):hn(s,"##local")?r.c.push(null):hn(s,IN)?ge(r,MS(t,sh(e.qk()))):In(r.c,s);return r}return mn(),mn(),co}function q0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;for(h=Tm(e.c,n,r),A=new G(e.a);A.a<A.c.c.length;){for(T=u(et(A),10),ki(T.n,h),$=new G(T.j);$.a<$.c.c.length;)for(P=u(et($),12),o=new G(P.g);o.a<o.c.c.length;)for(s=u(et(o),18),Vy(s.a,h),d=u(X(s,(De(),Vo)),75),d&&Vy(d,h),k=new G(s.b);k.a<k.c.c.length;)m=u(et(k),72),ki(m.n,h);ge(t.a,T),T.a=t}}function GO(t){var e,n,r,s,o,h,d,m;if(t.d)throw at(new Ro((wg(cft),wut+cft.k+mut)));for(t.c==(Rs(),Ed)&&x5(t,Uo),n=new G(t.a.a);n.a<n.c.c.length;)e=u(et(n),194),e.e=0;for(h=new G(t.a.b);h.a<h.c.c.length;)for(o=u(et(h),86),o.o=Vs,s=o.f.Kc();s.Ob();)r=u(s.Pb(),86),++r.d.e;for(lCn(t),m=new G(t.a.b);m.a<m.c.c.length;)d=u(et(m),86),d.k=!0;return t}function fEn(t,e){var n,r,s,o,h,d,m,k;for(d=new Yfe(t),n=new Ki,hs(n,e,n.c.b,n.c);n.b!=0;){for(r=u(n.b==0?null:(ur(n.b!=0),Oh(n,n.a.a)),113),r.d.p=1,h=new G(r.e);h.a<h.c.c.length;)s=u(et(h),340),pfe(d,s),k=s.d,k.d.p==0&&hs(n,k,n.c.b,n.c);for(o=new G(r.b);o.a<o.c.c.length;)s=u(et(o),340),pfe(d,s),m=s.c,m.d.p==0&&hs(n,m,n.c.b,n.c)}return d}function H0e(t){var e,n,r,s,o;if(r=Rt(Ht(ne(t,(ai(),w7e)))),r!=1)for(H4(t,r*t.g,r*t.f),n=gin(Kcn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c),new Vtt)),o=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n),(!t.c&&(t.c=new Jt(kl,t,9,9)),t.c),n])));Mr(o);)s=u(dr(o),422),s.qh(r*s.nh(),r*s.oh()),s.ph(r*s.mh(),r*s.lh()),e=u(s.of(PMt),8),e&&(e.a*=r,e.b*=r)}function Tkt(t,e,n){var r,s,o,h,d;if(h=(vo(),u(e,69).xk()),Ng(t.e,e)){if(e.Si()&&hV(t,e,n,Lt(e,102)&&(u(e,19).Bb&po)!=0))return!1}else for(d=Lu(t.e.Dh(),e),r=u(t.g,124),o=0;o<t.i;++o)if(s=r[o],d.am(s.Lk()))return(h?Ti(s,n):n==null?s.md()==null:Ti(n,s.md()))?!1:(u(c5(t,o,h?u(n,76):D0(e,n)),76),!0);return Or(t,h?u(n,76):D0(e,n))}function dEn(t,e,n,r,s){var o,h,d,m,k,T,A,P;for(h=new G(t.b);h.a<h.c.c.length;)for(o=u(et(h),30),P=II(o.a),k=P,T=0,A=k.length;T<A;++T)switch(m=k[T],u(X(m,(De(),Iu)),171).g){case 1:Nkn(m),Aa(m,e),nhe(m,!0,r);break;case 3:bkn(m),Aa(m,n),nhe(m,!1,s)}for(d=new La(t.b,0);d.b<d.d.gc();)(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)).a.c.length==0&&Kl(d)}function gEn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for($=e.length,m=$,qn(0,e.length),e.charCodeAt(0)==45?(A=-1,P=1,--$):(A=1,P=0),o=(mct(),nye)[10],s=$/o|0,tt=$%o,tt!=0&&++s,d=Vt(Fr,ii,28,s,15,1),n=eye[8],h=0,U=P+(tt==0?o:tt),J=P;J<m;J=U,U=J+o)r=lh((Da(J,U,e.length),e.substr(J,U-J)),Ga,xi),k=(F7(),cxt(d,d,h,n)),k+=pwn(d,h,r),d[h++]=k;T=h,t.e=A,t.d=T,t.a=d,qS(t)}function pEn(t,e){var n,r,s,o;return n=new Rc,r=u(nc(Wo(new ln(null,new gn(t.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),s=r.gc(),r=u(nc(Wo(new ln(null,new gn(e.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[w3,sc]))),21),o=r.gc(),s=s==1?1:0,o=o==1?1:0,s<o?-1:s==o?0:1}function bEn(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(d=t.i,s=Ie(Me(X(d,(De(),L3)))),T=0,r=0,k=new G(t.g);k.a<k.c.c.length;)m=u(et(k),18),h=go(m),o=h&&s&&Ie(Me(X(m,Mw))),P=m.d.i,h&&o?++r:h&&!o?++T:Pa(P).e==d?++r:++T;for(n=new G(t.e);n.a<n.c.c.length;)e=u(et(n),18),h=go(e),o=h&&s&&Ie(Me(X(e,Mw))),A=e.c.i,h&&o?++T:h&&!o?++r:Pa(A).e==d?++T:++r;return T-r}function m5(t,e,n,r){this.e=t,this.k=u(X(t,(oe(),G5)),312),this.g=Vt(V0,jp,10,e,0,1),this.b=Vt(zs,ue,345,e,7,1),this.a=Vt(V0,jp,10,e,0,1),this.d=Vt(zs,ue,345,e,7,1),this.j=Vt(V0,jp,10,e,0,1),this.i=Vt(zs,ue,345,e,7,1),this.p=Vt(zs,ue,345,e,7,1),this.n=Vt(ys,ue,484,e,8,1),zM(this.n,(Pn(),!1)),this.f=Vt(ys,ue,484,e,8,1),zM(this.f,!0),this.o=n,this.c=r}function V0e(t,e){var n,r,s,o,h,d;if(!e.dc())if(u(e.Xb(0),292).d==(wk(),T3))jvn(t,e);else for(r=e.Kc();r.Ob();){switch(n=u(r.Pb(),292),n.d.g){case 5:I7(t,n,V2n(t,n));break;case 0:I7(t,n,(h=n.f-n.c+1,d=(h-1)/2|0,n.c+d));break;case 4:I7(t,n,Q0n(t,n));break;case 2:ole(n),I7(t,n,(o=qxt(n),o?n.c:n.f));break;case 1:ole(n),I7(t,n,(s=qxt(n),s?n.f:n.c))}P3n(n.a)}}function Ckt(t,e,n,r){var s,o,h;return h=new TYt(e,n),t.a?r?(s=u(nf(u(tr(t.b,e),260)),260),++s.a,h.d=r.d,h.e=r.e,h.b=r,h.c=r,r.e?r.e.c=h:s.b=h,r.d?r.d.b=h:t.a=h,r.d=h,r.e=h):(u(nf(t.e),511).b=h,h.d=t.e,t.e=h,s=u(tr(t.b,e),260),s?(++s.a,o=s.c,o.c=h,h.e=o,s.c=h):(hi(t.b,e,s=new Yyt(h)),++t.c)):(t.a=t.e=h,hi(t.b,e,new Yyt(h)),++t.c),++t.d,h}function uct(t,e){var n,r,s,o,h;if(e.Ug("Network simplex",1),t.e.a.c.length<1){e.Vg();return}for(o=new G(t.e.a);o.a<o.c.c.length;)s=u(et(o),125),s.e=0;for(h=t.e.a.c.length>=40,h&&s7n(t),gTn(t),Fkn(t),n=Xue(t),r=0;n&&r<t.f;)xEn(t,n,jxn(t,n)),n=Xue(t),++r;h&&e3n(t),t.a?Xxn(t,B0e(t)):B0e(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,e.Vg()}function wEn(t,e){var n,r,s,o,h,d,m;if(!e.e){for(e.e=!0,r=e.d.a.ec().Kc();r.Ob();){if(n=u(r.Pb(),18),e.o&&e.d.a.gc()<=1){h=e.a.c,d=e.a.c+e.a.b,m=new ae(h+(d-h)/2,e.b),Zr(u(e.d.a.ec().Kc().Pb(),18).a,m);continue}if(s=u(tr(e.c,n),467),s.b||s.c){rEn(t,n,e);continue}o=t.d==(b7(),VA)&&(s.d||s.e)&&uxn(t,e)&&e.d.a.gc()<=1,o?V9n(n,e):f8n(t,n,e)}e.k&&Fa(e.d,new w4)}}function Skt(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=o,d=(r+s)/2+P,tt=n*b.Math.cos(d),ht=n*b.Math.sin(d),Tt=tt-e.g/2,At=ht-e.f/2,Su(e,Tt),_u(e,At),A=t.a.Eg(e),J=2*b.Math.acos(n/n+t.c),J<s-r?($=J/A,h=(r+s-J)/2):($=(s-r)/A,h=r),U=n3(e),t.e&&(t.e.Fg(t.d),t.e.Gg(U)),k=new G(U);k.a<k.c.c.length;)m=u(et(k),27),T=t.a.Eg(m),Skt(t,m,n+t.c,h,h+$*T,o),h+=$*T}function mEn(t,e,n){var r;switch(r=n.q.getMonth(),e){case 5:ni(t,lt(ut(Pe,1),ue,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:ni(t,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct])[r]);break;case 3:ni(t,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:M0(t,r+1,e)}}function vEn(t,e,n,r){var s,o,h,d,m,k,T,A,P;for(m=new ae(n,r),ia(m,u(X(e,(Pb(),TA)),8)),P=new G(e.e);P.a<P.c.c.length;)A=u(et(P),153),ki(A.d,m),ge(t.e,A);for(d=new G(e.c);d.a<d.c.c.length;){for(h=u(et(d),289),o=new G(h.a);o.a<o.c.c.length;)s=u(et(o),250),ki(s.d,m);ge(t.c,h)}for(T=new G(e.d);T.a<T.c.c.length;)k=u(et(T),453),ki(k.d,m),ge(t.d,k)}function _kt(t,e){var n,r,s,o,h,d,m,k;for(m=new G(e.j);m.a<m.c.c.length;)for(d=u(et(m),12),s=new sd(d.b);lc(s.a)||lc(s.b);)r=u(lc(s.a)?et(s.a):et(s.b),18),n=r.c==d?r.d:r.c,o=n.i,e!=o&&(k=u(X(r,(De(),PT)),17).a,k<0&&(k=0),h=o.p,t.b[h]==0&&(r.d==n?(t.a[h]-=k+1,t.a[h]<=0&&t.c[h]>0&&Zr(t.f,o)):(t.c[h]-=k+1,t.c[h]<=0&&t.a[h]>0&&Zr(t.e,o))))}function U0e(t,e,n,r){var s,o,h,d,m,k,T;for(m=new ae(n,r),ia(m,u(X(e,(ji(),zT)),8)),T=Dr(e.b,0);T.b!=T.d.c;)k=u(Ar(T),39),ki(k.e,m),Zr(t.b,k);for(d=u(nc(r3t(new ln(null,new gn(e.a,16))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15).Kc();d.Ob();){for(h=u(d.Pb(),65),o=Dr(h.a,0);o.b!=o.d.c;)s=u(Ar(o),8),s.a+=m.a,s.b+=m.b;Zr(t.a,h)}}function Akt(t,e){var n,r,s,o;if(0<(Lt(t,16)?u(t,16).gc():xg(t.Kc()))){if(s=e,1<s){for(--s,o=new MZ,r=t.Kc();r.Ob();)n=u(r.Pb(),39),o=ah(lt(ut(gh,1),Ln,20,0,[o,new gg(n)]));return Akt(o,s)}if(s<0){for(o=new IZ,r=t.Kc();r.Ob();)n=u(r.Pb(),39),o=ah(lt(ut(gh,1),Ln,20,0,[o,new gg(n)]));if(0<(Lt(o,16)?u(o,16).gc():xg(o.Kc())))return Akt(o,s)}}return u(sz(t.Kc()),39)}function yEn(t,e,n){var r,s,o,h;for(n.Ug("Processor order nodes",2),t.b=Rt(Ht(X(e,(Cc(),H1t)))),t.a=u(X(e,Mv),88),t.a==(Rs(),Ed)&&(t.a=kd,Zt(e,Mv,t.a)),s=new Ki,h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),Ie(Me(X(o,(ji(),u2))))&&hs(s,o,s.c.b,s.c);r=(ur(s.b!=0),u(s.a.a.c,39)),zge(t,r),n.fh(1),mkt(t,r,0-Rt(Ht(X(r,(ji(),cK))))/2,0),n.fh(1),n.Vg()}function Ml(){Ml=V,XT=new R4("DEFAULT_MINIMUM_SIZE",0),$P=new R4("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),NK=new R4("COMPUTE_PADDING",2),kL=new R4("OUTSIDE_NODE_LABELS_OVERHANG",3),PK=new R4("PORTS_OVERHANG",4),BK=new R4("UNIFORM_PORT_SPACING",5),FK=new R4("SPACE_EFFICIENT_PORT_LABELS",6),Kdt=new R4("FORCE_TABULAR_NODE_LABELS",7),jP=new R4("ASYMMETRICAL",8)}function lct(t,e){var n,r,s,o,h,d,m,k;if(e){if(n=(o=e.Dh(),o?sh(o).wi().si(o):null),n){for(Op(t,e,n),s=e.Dh(),m=0,k=(s.i==null&&Qd(s),s.i).length;m<k;++m)d=(r=(s.i==null&&Qd(s),s.i),m>=0&&m<r.length?r[m]:null),d.rk()&&!d.sk()&&(Lt(d,331)?mmn(t,u(d,35),e,n):(h=u(d,19),h.Bb&Fc&&Lyn(t,h,e,n)));e.Vh()&&u(n,54).ei(u(e,54)._h())}return n}else return null}function xEn(t,e,n){var r,s,o;if(!e.f)throw at(new zn("Given leave edge is no tree edge."));if(n.f)throw at(new zn("Given enter edge is a tree edge already."));for(e.f=!1,Imt(t.p,e),n.f=!0,qs(t.p,n),r=n.e.e-n.d.e-n.a,Hot(t,n.e,e)||(r=-r),o=new G(t.e.a);o.a<o.c.c.length;)s=u(et(o),125),Hot(t,s,e)||(s.e+=r);t.j=1,KC(t.c),_6t(t,u(et(new G(t.e.a)),125)),Qge(t)}function G0e(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;if(fgn(t,e,n),o=e[n],$=r?(ve(),Gn):(ve(),Jn),psn(e.length,n,r)){for(s=e[r?n-1:n+1],j3t(t,s,r?(To(),ku):(To(),vl)),m=o,T=0,P=m.length;T<P;++T)h=m[T],fxt(t,h,$);for(j3t(t,o,r?(To(),vl):(To(),ku)),d=s,k=0,A=d.length;k<A;++k)h=d[k],h.e||fxt(t,h,bO($))}else for(d=o,k=0,A=d.length;k<A;++k)h=d[k],fxt(t,h,$);return!1}function kEn(t,e,n,r,s){var o,h,d,m,k,T,A;for(mn(),Ds(t,new VR),d=new La(t,0),A=new fe,o=0;d.b<d.d.gc();)h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),163)),A.c.length!=0&&tl(h)*Gl(h)>o*2?(T=new Fq(A),k=tl(h)/Gl(h),m=Mct(T,e,new C6,n,r,s,k),ki(k1(T.e),m),A.c.length=0,o=0,In(A.c,T),In(A.c,h),o=tl(T)*Gl(T)+tl(h)*Gl(h)):(In(A.c,h),o+=tl(h)*Gl(h));return A}function K0e(t,e){var n,r,s,o,h,d;if(d=u(X(e,(De(),bs)),101),d==(ka(),Y0)||d==hu)for(s=new ae(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,h=new G(t.a);h.a<h.c.c.length;)o=u(et(h),10),o.k==(Un(),Ms)&&(n=u(X(o,(oe(),Dc)),64),!(n!=(ve(),Jn)&&n!=Gn)&&(r=Rt(Ht(X(o,xv))),d==Y0&&(r*=s),o.n.b=r-u(X(o,Sv),8).b,nH(o,!1,!0)))}function EEn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;if(Hl(t.e)){if(e!=n&&(s=u(t.g,124),$=s[n],h=$.Lk(),Ng(t.e,h))){for(U=Lu(t.e.Dh(),h),m=-1,d=-1,r=0,k=0,A=e>n?e:n;k<=A;++k)k==n?d=r++:(o=s[k],T=U.am(o.Lk()),k==e&&(m=k==A&&!T?r-1:r),T&&++r);return P=u(f_(t,e,n),76),d!=m&&hE(t,new jI(t.e,7,h,he(d),$.md(),m)),P}}else return u(Uot(t,e,n),76);return u(f_(t,e,n),76)}function TEn(t,e){var n,r,s,o,h,d,m;for(e.Ug("Port order processing",1),m=u(X(t,(De(),hAt)),430),r=new G(t.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)s=u(et(o),10),h=u(X(s,bs),101),d=s.j,h==(ka(),zw)||h==Y0||h==hu?(mn(),Ds(d,mSt)):h!=Td&&h!=d2&&(mn(),Ds(d,D4e),Lmn(d),m==(KI(),C1t)&&Ds(d,L4e)),s.i=!0,T6t(s);e.Vg()}function CEn(t){var e,n,r,s,o,h,d,m;for(m=new _r,e=new znt,h=t.Kc();h.Ob();)s=u(h.Pb(),10),d=km(RM(new H2,s),e),yu(m.f,s,d);for(o=t.Kc();o.Ob();)for(s=u(o.Pb(),10),r=new rr(sr(_s(s).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!go(n)&&Hf(Of(If(Mf(Nf(new tf,b.Math.max(1,u(X(n,(De(),fAt)),17).a)),1),u(tr(m,n.c.i),125)),u(tr(m,n.d.i),125)));return e}function W0e(){W0e=V,Ske=ri(new Fs,(Ua(),cu),(Za(),rSt)),ZAt=ri(new Fs,Qc,tG),Ake=el(ri(new Fs,Qc,cG),Zo,oG),Cke=el(ri(ri(new Fs,Qc,JCt),cu,ZCt),Zo,tSt),Lke=Yd(Yd(nS(el(ri(new Fs,Wf,fG),Zo,hG),cu),lG),dG),_ke=el(new Fs,Zo,iSt),Eke=el(ri(ri(ri(new Fs,H0,nG),cu,iG),cu,vT),Zo,rG),Tke=el(ri(ri(new Fs,cu,vT),cu,ZU),Zo,JU)}function SEn(t,e,n,r,s,o){var h,d,m,k,T,A,P;for(k=Xce(e)-Xce(t),h=Pfe(e,k),m=Eu(0,0,0);k>=0&&(d=mvn(t,h),!(d&&(k<22?m.l|=1<<k:k<44?m.m|=1<<k-22:m.h|=1<<k-44,t.l==0&&t.m==0&&t.h==0)));)T=h.m,A=h.h,P=h.l,h.h=A>>>1,h.m=T>>>1|(A&1)<<21,h.l=P>>>1|(T&1)<<21,--k;return n&&kat(m),o&&(r?(Zb=h7(t),s&&(Zb=Mce(Zb,(WE(),o9t)))):Zb=Eu(t.l,t.m,t.h)),m}function _En(t,e){var n,r,s,o,h,d,m,k,T,A;for(k=t.e[e.c.p][e.p]+1,m=e.c.a.c.length+1,d=new G(t.a);d.a<d.c.c.length;){for(h=u(et(d),12),A=0,o=0,s=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(h),new k6(h)])));Mr(s);)r=u(dr(s),12),r.i.c==e.c&&(A+=osn(t,r.i)+1,++o);n=A/o,T=h.j,T==(ve(),Jn)?n<k?t.f[h.p]=t.c-n:t.f[h.p]=t.b+(m-n):T==Gn&&(n<k?t.f[h.p]=t.b+n:t.f[h.p]=t.c-(m-n))}}function lh(t,e,n){var r,s,o,h,d;if(t==null)throw at(new jd(Vu));for(o=t.length,h=o>0&&(qn(0,t.length),t.charCodeAt(0)==45||(qn(0,t.length),t.charCodeAt(0)==43))?1:0,r=h;r<o;r++)if(_le((qn(r,t.length),t.charCodeAt(r)))==-1)throw at(new jd(av+t+'"'));if(d=parseInt(t,10),s=d<e,isNaN(d))throw at(new jd(av+t+'"'));if(s||d>n)throw at(new jd(av+t+'"'));return d}function AEn(t){var e,n,r,s,o,h,d;for(h=new Ki,o=new G(t.a);o.a<o.c.c.length;)s=u(et(o),118),H(s,s.f.c.length),q(s,s.k.c.length),s.i==0&&(s.o=0,hs(h,s,h.c.b,h.c));for(;h.b!=0;)for(s=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),118),r=s.o+1,n=new G(s.f);n.a<n.c.c.length;)e=u(et(n),132),d=e.a,W(d,b.Math.max(d.o,r)),q(d,d.i-1),d.i==0&&hs(h,d,h.c.b,h.c)}function LEn(t){var e,n,r,s,o,h,d,m;for(h=new G(t);h.a<h.c.c.length;){for(o=u(et(h),74),r=Jo(u(Dt((!o.b&&(o.b=new kn(vr,o,4,7)),o.b),0),84)),d=r.i,m=r.j,s=u(Dt((!o.a&&(o.a=new Jt(Wi,o,6,6)),o.a),0),166),rI(s,s.j+d,s.k+m),nI(s,s.b+d,s.c+m),n=new Zn((!s.a&&(s.a=new Ps(vh,s,5)),s.a));n.e!=n.i.gc();)e=u(ar(n),377),Xrt(e,e.a+d,e.b+m);P4t(u(ne(o,(ai(),Iv)),75),d,m)}}function j7(t){var e;switch(t){case 100:return k5(wA,!0);case 68:return k5(wA,!1);case 119:return k5(dht,!0);case 87:return k5(dht,!1);case 115:return k5(ght,!0);case 83:return k5(ght,!1);case 99:return k5(pht,!0);case 67:return k5(pht,!1);case 105:return k5(bht,!0);case 73:return k5(bht,!1);default:throw at(new uc((e=t,Sve+e.toString(16))))}}function DEn(t){var e,n,r,s,o;switch(s=u(Oe(t.a,0),10),e=new Ig(t),ge(t.a,e),e.o.a=b.Math.max(1,s.o.a),e.o.b=b.Math.max(1,s.o.b),e.n.a=s.n.a,e.n.b=s.n.b,u(X(s,(oe(),Dc)),64).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return r=new Yc,hc(r,e),n=new Pm,o=u(Oe(s.j,0),12),Xa(n,o),xa(n,r),ki(k1(r.n),o.n),ki(k1(r.a),o.a),e}function Y0e(t,e,n,r,s){n&&(!r||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.b],10).k==(Un(),Vc)?xk(u(t.a[t.b],10),(uh(),K0)):r&&(!n||(t.c-t.b&t.a.length-1)>1)&&e==1&&u(t.a[t.c-1&t.a.length-1],10).k==(Un(),Vc)?xk(u(t.a[t.c-1&t.a.length-1],10),(uh(),h2)):(t.c-t.b&t.a.length-1)==2?(xk(u(r_(t),10),(uh(),K0)),xk(u(r_(t),10),h2)):r6n(t,s),E3t(t)}function MEn(t,e,n){var r,s,o,h,d;for(o=0,s=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));s.e!=s.i.gc();)r=u(ar(s),27),h="",(!r.n&&(r.n=new Jt(Po,r,1,7)),r.n).i==0||(h=u(Dt((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n),0),135).a),d=new Eat(o++,e,h),Qo(d,r),Zt(d,(ji(),JA),r),d.e.b=r.j+r.f/2,d.f.a=b.Math.max(r.g,1),d.e.a=r.i+r.g/2,d.f.b=b.Math.max(r.f,1),Zr(e.b,d),yu(n.f,r,d)}function IEn(t){var e,n,r,s,o;r=u(X(t,(oe(),Li)),27),o=u(ne(r,(De(),Ow)),181).Hc((Yl(),qw)),t.e||(s=u(X(t,lu),21),e=new ae(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s.Hc((Co(),Uh))?(Mi(r,bs,(ka(),hu)),rv(r,e.a,e.b,!1,!0)):Ie(Me(ne(r,c1t)))||rv(r,e.a,e.b,!0,!0)),o?Mi(r,Ow,en(qw)):Mi(r,Ow,(n=u(y1(xL),9),new _h(n,u(Ff(n,n.length),9),0)))}function Lkt(t,e,n){var r,s,o,h;if(e[0]>=t.length)return n.o=0,!0;switch(Va(t,e[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++e[0],o=e[0],h=KH(t,e),h==0&&e[0]==o)return!1;if(e[0]<t.length&&Va(t,e[0])==58){if(r=h*60,++e[0],o=e[0],h=KH(t,e),h==0&&e[0]==o)return!1;r+=h}else r=h,r<24&&e[0]-o<=2?r*=60:r=r%100+(r/100|0)*60;return r*=s,n.o=-r,!0}function OEn(t){var e,n,r,s,o,h,d,m,k;for(h=new fe,r=new rr(sr(_s(t.b).a.Kc(),new z));Mr(r);)n=u(dr(r),18),go(n)&&ge(h,new pse(n,Jse(t,n.c),Jse(t,n.d)));for(k=(o=new si(t.e).a.vc().Kc(),new Qi(o));k.a.Ob();)d=(e=u(k.a.Pb(),44),u(e.md(),113)),d.d.p=0;for(m=(s=new si(t.e).a.vc().Kc(),new Qi(s));m.a.Ob();)d=(e=u(m.a.Pb(),44),u(e.md(),113)),d.d.p==0&&ge(t.d,fEn(t,d))}function NEn(t){var e,n,r,s,o,h,d;for(o=ed(t),s=new Zn((!t.e&&(t.e=new kn(Ts,t,7,4)),t.e));s.e!=s.i.gc();)if(r=u(ar(s),74),d=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)),!qy(d,o))return!0;for(n=new Zn((!t.d&&(t.d=new kn(Ts,t,8,5)),t.d));n.e!=n.i.gc();)if(e=u(ar(n),74),h=Jo(u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84)),!qy(h,o))return!0;return!1}function PEn(t,e){var n,r,s,o,h,d,m,k,T;for(h=new G(e.b);h.a<h.c.c.length;)for(o=u(et(h),30),k=new G(o.a);k.a<k.c.c.length;){for(m=u(et(k),10),T=new fe,d=0,r=new rr(sr(ua(m).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!(go(n)||!go(n)&&n.c.i.c==n.d.i.c)&&(s=u(X(n,(De(),Yk)),17).a,s>d&&(d=s,T.c.length=0),s==d&&ge(T,new Ws(n.c.i,n)));mn(),Ds(T,t.c),Sm(t.b,m.p,T)}}function FEn(t,e){var n,r,s,o,h,d,m,k,T;for(h=new G(e.b);h.a<h.c.c.length;)for(o=u(et(h),30),k=new G(o.a);k.a<k.c.c.length;){for(m=u(et(k),10),T=new fe,d=0,r=new rr(sr(_s(m).a.Kc(),new z));Mr(r);)n=u(dr(r),18),!(go(n)||!go(n)&&n.c.i.c==n.d.i.c)&&(s=u(X(n,(De(),Yk)),17).a,s>d&&(d=s,T.c.length=0),s==d&&ge(T,new Ws(n.d.i,n)));mn(),Ds(T,t.c),Sm(t.f,m.p,T)}}function BEn(t,e){var n,r,s,o,h,d,m,k;if(k=Me(X(e,(Cc(),l8e))),k==null||(Wn(k),k)){for(cxn(t,e),s=new fe,m=Dr(e.b,0);m.b!=m.d.c;)h=u(Ar(m),39),n=w6t(t,h,null),n&&(Qo(n,e),In(s.c,n));if(t.a=null,t.b=null,s.c.length>1)for(r=new G(s);r.a<r.c.c.length;)for(n=u(et(r),121),o=0,d=Dr(n.b,0);d.b!=d.d.c;)h=u(Ar(d),39),h.g=o++;return s}return id(lt(ut(p_n,1),n2e,121,0,[e]))}function REn(t){var e,n,r,s,o,h,d,m;for(m=new Qu,e=Dr(t,0),d=null,n=u(Ar(e),8),s=u(Ar(e),8);e.b!=e.d.c;)d=n,n=s,s=u(Ar(e),8),o=noe(ia(new ae(d.a,d.b),n)),h=noe(ia(new ae(s.a,s.b),n)),r=10,r=b.Math.min(r,b.Math.abs(o.a+o.b)/2),r=b.Math.min(r,b.Math.abs(h.a+h.b)/2),o.a=vI(o.a)*r,o.b=vI(o.b)*r,h.a=vI(h.a)*r,h.b=vI(h.b)*r,Zr(m,ki(o,n)),Zr(m,ki(h,n));return m}function jEn(t,e,n){var r,s,o,h,d,m;if(n.Ug("Minimize Crossings "+t.a,1),r=e.b.c.length==0||!wE(_i(new ln(null,new gn(e.b,16)),new Sl(new VJ))).Bd((U2(),Rk)),m=e.b.c.length==1&&u(Oe(e.b,0),30).a.c.length==1,o=$t(X(e,(De(),A3)))===$t((Ag(),Xp)),r||m&&!o){n.Vg();return}s=Akn(t,e),h=(d=u(jh(s,0),219),d.c.kg()?d.c.eg()?new yUt(t):new xUt(t):new vUt(t)),bbn(s,h),Wbn(t),n.Vg()}function hh(t,e,n,r){var s,o,h,d,m;return h=t.Ph(),m=t.Jh(),s=null,m?e&&!(oct(t,e,n).Bb&po)?(r=so(m.El(),t,r),t.di(null),s=e.Qh()):m=null:(h&&(m=h.Qh()),e&&(s=e.Qh())),m!=s&&m&&m.Il(t),d=t.Fh(),t.Bh(e,n),m!=s&&s&&s.Hl(t),t.vh()&&t.wh()&&(h&&d>=0&&d!=n&&(o=new ha(t,1,d,h,null),r?r.nj(o):r=o),n>=0&&(o=new ha(t,1,n,d==n?h:null,e),r?r.nj(o):r=o)),r}function X0e(t){var e,n,r;if(t.b==null){if(r=new dp,t.i!=null&&(Mo(r,t.i),r.a+=":"),t.f&256){for(t.f&256&&t.a!=null&&(ehn(t.i)||(r.a+="//"),Mo(r,t.a)),t.d!=null&&(r.a+="/",Mo(r,t.d)),t.f&16&&(r.a+="/"),e=0,n=t.j.length;e<n;e++)e!=0&&(r.a+="/"),Mo(r,t.j[e]);t.g!=null&&(r.a+="?",Mo(r,t.g))}else Mo(r,t.a);t.e!=null&&(r.a+="#",Mo(r,t.e)),t.b=r.a}return t.b}function $En(t,e){var n,r,s,o,h,d;for(s=new G(e.a);s.a<s.c.c.length;)r=u(et(s),10),o=X(r,(oe(),Li)),Lt(o,12)&&(h=u(o,12),d=gge(e,r,h.o.a,h.o.b),h.n.a=d.a,h.n.b=d.b,Xs(h,u(X(r,Dc),64)));n=new ae(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),u(X(e,(oe(),lu)),21).Hc((Co(),Uh))?(Zt(t,(De(),bs),(ka(),hu)),u(X(Pa(t),lu),21).Fc(DT),npe(t,n,!1)):npe(t,n,!0)}function zEn(t,e,n,r,s){var o,h,d,m;o=new Ig(t),y(o,(Un(),uu)),Zt(o,(De(),bs),(ka(),hu)),Zt(o,(oe(),Li),e.c.i),h=new Yc,Zt(h,Li,e.c),Xs(h,s),hc(h,o),Zt(e.c,ml,o),d=new Ig(t),y(d,uu),Zt(d,bs,hu),Zt(d,Li,e.d.i),m=new Yc,Zt(m,Li,e.d),Xs(m,s),hc(m,d),Zt(e.d,ml,d),Xa(e,h),xa(e,m),Fy(0,n.c.length),sS(n.c,0,o),In(r.c,d),Zt(o,LG,he(1)),Zt(d,LG,he(1))}function qEn(t,e,n,r){var s,o,h,d,m;if(m=qr(Ja(B0,L0(qr(Ja(e==null?0:$i(e),R0)),15))),s=qr(Ja(B0,L0(qr(Ja(n==null?0:$i(n),R0)),15))),d=ZS(t,e,m),h=JS(t,n,s),d&&s==d.a&&Ud(n,d.g))return n;if(h&&!r)throw at(new zn("key already present: "+n));return d&&p5(t,d),h&&p5(t,h),o=new Uz(n,s,e,m),NO(t,o,h),h&&(h.e=null,h.c=null),d&&(d.e=null,d.c=null),Uhe(t),d?d.g:null}function Q0e(t,e,n){var r,s,o,h,d;for(o=0;o<e;o++){for(r=0,d=o+1;d<e;d++)r=Qa(Qa(Ja(sa(t[o],So),sa(t[d],So)),sa(n[o+d],So)),sa(qr(r),So)),n[o+d]=qr(r),r=Ab(r,32);n[o+e]=qr(r)}for(tpn(n,n,e<<1),r=0,s=0,h=0;s<e;++s,h++)r=Qa(Qa(Ja(sa(t[s],So),sa(t[s],So)),sa(n[h],So)),sa(qr(r),So)),n[h]=qr(r),r=Ab(r,32),++h,r=Qa(r,sa(n[h],So)),n[h]=qr(r),r=Ab(r,32);return n}function J0e(t,e,n){var r,s,o,h,d,m,k,T;if(!HE(e)){for(m=Rt(Ht(Wy(n.c,(De(),jA)))),k=u(Wy(n.c,oP),140),!k&&(k=new HC),r=n.a,s=null,d=e.Kc();d.Ob();)h=u(d.Pb(),12),T=0,s?(T=m,T+=s.o.b):T=k.d,o=km(RM(new H2,h),t.f),hi(t.k,h,o),Hf(Of(If(Mf(Nf(new tf,0),Ys(b.Math.ceil(T))),r),o)),s=h,r=o;Hf(Of(If(Mf(Nf(new tf,0),Ys(b.Math.ceil(k.a+s.o.b))),r),n.d))}}function HEn(t,e,n,r,s,o,h,d){var m,k,T,A,P,$;return $=!1,P=o-n.s,T=n.t-e.f+(k=B_(n,P,!1),k.a),r.g+d>P?!1:(A=(m=B_(r,P,!1),m.a),T+d+A<=e.b&&($I(n,o-n.s),n.c=!0,$I(r,o-n.s),kO(r,n.s,n.t+n.d+d),r.k=!0,R4t(n.q,r),$=!0,s&&(zq(e,r),r.j=e,t.c.length>h&&(CO((vn(h,t.c.length),u(t.c[h],186)),r),(vn(h,t.c.length),u(t.c[h],186)).a.c.length==0&&Ep(t,h)))),$)}function VEn(t,e){var n,r,s,o,h,d;if(e.Ug("Partition midprocessing",1),s=new Fm,ms(_i(new ln(null,new gn(t.a,16)),new qB),new HVt(s)),s.d!=0){for(d=u(nc(a3t((o=s.i,new ln(null,(o||(s.i=new W4(s,s.c))).Nc()))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),r=d.Kc(),n=u(r.Pb(),17);r.Ob();)h=u(r.Pb(),17),F6n(u(Ai(s,n),21),u(Ai(s,h),21)),n=h;e.Vg()}}function Z0e(t,e,n){var r,s,o,h,d,m,k,T;if(e.p==0){for(e.p=1,h=n,h||(s=new fe,o=(r=u(y1(bo),9),new _h(r,u(Ff(r,r.length),9),0)),h=new Ws(s,o)),u(h.a,15).Fc(e),e.k==(Un(),Ms)&&u(h.b,21).Fc(u(X(e,(oe(),Dc)),64)),m=new G(e.j);m.a<m.c.c.length;)for(d=u(et(m),12),T=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4(d),new k6(d)])));Mr(T);)k=u(dr(T),12),Z0e(t,k.i,h);return h}return null}function O_(t,e){var n,r,s,o,h;if(t.Ab){if(t.Ab){if(h=t.Ab.i,h>0){if(s=u(t.Ab.g,2033),e==null){for(o=0;o<h;++o)if(n=s[o],n.d==null)return n}else for(o=0;o<h;++o)if(n=s[o],hn(e,n.d))return n}}else if(e==null){for(r=new Zn(t.Ab);r.e!=r.i.gc();)if(n=u(ar(r),598),n.d==null)return n}else for(r=new Zn(t.Ab);r.e!=r.i.gc();)if(n=u(ar(r),598),hn(e,n.d))return n}return null}function UEn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;$=rdn(t,V4t(e),s),A4t($,yg(s,a0)),E=null,U=s,J=VS(U,Jwe),tt=new vGt($),e4n(tt.a,J),ht=VS(U,"endPoint"),Tt=new EGt($),t4n(Tt.a,ht),At=jm(U,hU),Bt=new SGt($),qyn(Bt.a,At),A=yg(s,STt),o=new JXt(t,$),_an(o.a,o.b,A),P=yg(s,CTt),h=new ZXt(t,$),Aan(h.a,h.b,P),k=jm(s,ATt),d=new tQt(n,$),Tvn(d.b,d.a,k),T=jm(s,_Tt),m=new eQt(r,$),Cvn(m.b,m.a,T)}function Dkt(t,e,n){var r,s,o,h,d;switch(d=null,e.g){case 1:for(s=new G(t.j);s.a<s.c.c.length;)if(r=u(et(s),12),Ie(Me(X(r,(oe(),Gft)))))return r;d=new Yc,Zt(d,(oe(),Gft),(Pn(),!0));break;case 2:for(h=new G(t.j);h.a<h.c.c.length;)if(o=u(et(h),12),Ie(Me(X(o,(oe(),Wft)))))return o;d=new Yc,Zt(d,(oe(),Wft),(Pn(),!0))}return d&&(hc(d,t),Xs(d,n),_mn(d.n,t.o,n)),d}function tge(t,e){var n,r,s,o,h,d;for(d=-1,h=new Ki,r=new sd(t.b);lc(r.a)||lc(r.b);){for(n=u(lc(r.a)?et(r.a):et(r.b),18),d=b.Math.max(d,Rt(Ht(X(n,(De(),Hp))))),n.c==t?ms(_i(new ln(null,new gn(n.b,16)),new iQ),new LVt(h)):ms(_i(new ln(null,new gn(n.b,16)),new sQ),new DVt(h)),o=Dr(h,0);o.b!=o.d.c;)s=u(Ar(o),72),qi(s,(oe(),Vk))||Zt(s,Vk,n);Hs(e,h),nh(h)}return d}function ev(t,e,n,r,s){var o,h,d,m,k;d=s?r.b:r.a,!x1(t.a,r)&&(k=d>n.s&&d<n.c,m=!1,n.e.b!=0&&n.j.b!=0&&(m=m|(b.Math.abs(d-Rt(Ht(SE(n.e))))<n0&&b.Math.abs(d-Rt(Ht(SE(n.j))))<n0),m=m|(b.Math.abs(d-Rt(Ht(Pf(n.e))))<n0&&b.Math.abs(d-Rt(Ht(Pf(n.j))))<n0)),(k||m)&&(h=u(X(e,(De(),Vo)),75),h||(h=new Qu,Zt(e,Vo,h)),o=new io(r),hs(h,o,h.c.b,h.c),qs(t.a,o)))}function GEn(t,e,n,r){var s,o,h,d,m,k,T;if(G5n(t,e,n,r))return!0;for(h=new G(e.f);h.a<h.c.c.length;){switch(o=u(et(h),334),d=!1,m=t.j-e.j+n,k=m+e.o,T=t.k-e.k+r,s=T+e.p,o.a.g){case 0:d=_at(t,m+o.b.a,0,m+o.c.a,T-1);break;case 1:d=_at(t,k,T+o.b.a,t.o-1,T+o.c.a);break;case 2:d=_at(t,m+o.b.a,s,m+o.c.a,t.p-1);break;default:d=_at(t,0,T+o.b.a,m-1,T+o.c.a)}if(d)return!0}return!1}function KEn(t,e,n){var r,s,o,h,d,m,k,T,A;for(n.Ug("Processor set coordinates",1),t.a=e.b.b==0?1:e.b.b,k=null,r=Dr(e.b,0);!k&&r.b!=r.d.c;)A=u(Ar(r),39),Ie(Me(X(A,(ji(),u2))))&&(k=A,m=A.e,m.a=u(X(A,pP),17).a,m.b=u(X(A,bP),17).a);d=wat(k),T=1;do d=Y3n((s=d,n.eh(T),s)),T=d.b/t.a|0;while(d.b!=0);for(h=Dr(e.b,0);h.b!=h.d.c;)o=u(Ar(h),39),ia(o.e,new ae(o.f.a/2,o.f.b/2));n.Vg()}function WEn(t,e,n){var r,s,o,h,d,m,k,T;for(n.Ug(G2e,1),dl(t.b),dl(t.a),d=null,o=Dr(e.b,0);!d&&o.b!=o.d.c;)k=u(Ar(o),39),Ie(Me(X(k,(ji(),u2))))&&(d=k);for(m=new Ki,hs(m,d,m.c.b,m.c),Dpe(t,m),T=Dr(e.b,0);T.b!=T.d.c;)k=u(Ar(T),39),h=Gr(X(k,(ji(),QA))),s=nu(t.b,h)!=null?u(nu(t.b,h),17).a:0,Zt(k,B1t,he(s)),r=1+(nu(t.a,h)!=null?u(nu(t.a,h),17).a:0),Zt(k,gLt,he(r));n.Vg()}function ege(t){wm(t,new dw(gm(hm(dm(fm(new G1,hv),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new V8))),le(t,hv,ov,hMt),le(t,hv,h3,15),le(t,hv,gN,he(0)),le(t,hv,hTt,Se(cMt)),le(t,hv,_5,Se(r7e)),le(t,hv,Mk,Se(i7e)),le(t,hv,Dk,pwe),le(t,hv,Y_,Se(uMt)),le(t,hv,Ik,Se(lMt)),le(t,hv,fTt,Se(Adt)),le(t,hv,QV,Se(n7e))}function nge(t,e){var n,r,s,o,h,d,m,k,T;if(s=t.i,h=s.o.a,o=s.o.b,h<=0&&o<=0)return ve(),bc;switch(k=t.n.a,T=t.n.b,d=t.o.a,n=t.o.b,e.g){case 2:case 1:if(k<0)return ve(),Gn;if(k+d>h)return ve(),Jn;break;case 4:case 3:if(T<0)return ve(),Hn;if(T+n>o)return ve(),Er}return m=(k+d/2)/h,r=(T+n/2)/o,m+r<=1&&m-r<=0?(ve(),Gn):m+r>=1&&m-r>=0?(ve(),Jn):r<.5?(ve(),Hn):(ve(),Er)}function YEn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(n=!1,T=Rt(Ht(X(e,(De(),Av)))),U=Kb*T,s=new G(e.b);s.a<s.c.c.length;)for(r=u(et(s),30),k=new G(r.a),o=u(et(k),10),A=myt(t.a[o.p]);k.a<k.c.c.length;)d=u(et(k),10),P=myt(t.a[d.p]),A!=P&&($=U4(t.b,o,d),h=o.n.b+o.o.b+o.d.a+A.a+$,m=d.n.b-d.d.d+P.a,h>m+U&&(J=A.g+P.g,P.a=(P.g*P.a+A.g*A.a)/J,P.g=J,A.f=P,n=!0)),o=d,A=P;return n}function rge(t,e,n,r,s,o,h){var d,m,k,T,A,P;for(P=new B6,k=e.Kc();k.Ob();)for(d=u(k.Pb(),853),A=new G(d.Rf());A.a<A.c.c.length;)T=u(et(A),187),$t(T.of((ai(),Odt)))===$t((cd(),KT))&&(P0e(P,T,!1,r,s,o,h),T_(t,P));for(m=n.Kc();m.Ob();)for(d=u(m.Pb(),853),A=new G(d.Rf());A.a<A.c.c.length;)T=u(et(A),187),$t(T.of((ai(),Odt)))===$t((cd(),$3))&&(P0e(P,T,!0,r,s,o,h),T_(t,P))}function XEn(t,e,n){var r,s,o,h,d,m,k;for(h=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));h.e!=h.i.gc();)for(o=u(ar(h),27),s=new rr(sr(Og(o).a.Kc(),new z));Mr(s);)r=u(dr(s),74),!S_(r)&&!S_(r)&&!Zm(r)&&(m=u(Ko(Eo(n.f,o)),39),k=u(tr(n,Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))),39),m&&k&&(d=new Kyt(m,k),Zt(d,(ji(),JA),r),Qo(d,r),Zr(m.d,d),Zr(k.b,d),Zr(e.a,d)))}function QEn(t,e){var n,r,s,o,h,d,m,k;for(m=u(u(Ai(t.r,e),21),87).Kc();m.Ob();)d=u(m.Pb(),117),s=d.c?kte(d.c):0,s>0?d.a?(k=d.b.Mf().b,s>k&&(t.v||d.c.d.c.length==1?(h=(s-k)/2,d.d.d=h,d.d.a=h):(n=u(Oe(d.c.d,0),187).Mf().b,r=(n-k)/2,d.d.d=b.Math.max(0,r),d.d.a=s-r-k))):d.d.a=t.t+s:IS(t.u)&&(o=Zxt(d.b),o.d<0&&(d.d.d=-o.d),o.d+o.a>d.b.Mf().b&&(d.d.a=o.d+o.a-d.b.Mf().b))}function Vf(){Vf=V,jk=new _a((ai(),DP),he(1)),KU=new _a($w,80),F3e=new _a(zMt,5),S3e=new _a(sx,tT),N3e=new _a(qdt,he(1)),P3e=new _a(Hdt,(Pn(),!0)),gCt=new xm(50),I3e=new _a(Yp,gCt),hCt=AP,pCt=fL,_3e=new _a(Idt,!1),dCt=LP,D3e=R3,M3e=l2,L3e=jw,A3e=ux,O3e=j3,fCt=(u6t(),v3e),eft=E3e,GU=m3e,tft=y3e,bCt=k3e,j3e=dL,$3e=MK,R3e=MP,B3e=DK,wCt=(lk(),q3),new _a(t8,wCt)}function JEn(t,e){var n;switch(WI(t)){case 6:return ba(e);case 7:return Cy(e);case 8:return Ty(e);case 3:return Array.isArray(e)&&(n=WI(e),!(n>=14&&n<=16));case 11:return e!=null&&typeof e===Pct;case 12:return e!=null&&(typeof e===ZO||typeof e==Pct);case 0:return aot(e,t.__elementTypeId$);case 2:return $it(e)&&e.Tm!==yt;case 1:return $it(e)&&e.Tm!==yt||aot(e,t.__elementTypeId$);default:return!0}}function ige(t,e){var n,r,s,o;return r=b.Math.min(b.Math.abs(t.c-(e.c+e.b)),b.Math.abs(t.c+t.b-e.c)),o=b.Math.min(b.Math.abs(t.d-(e.d+e.a)),b.Math.abs(t.d+t.a-e.d)),n=b.Math.abs(t.c+t.b/2-(e.c+e.b/2)),n>t.b/2+e.b/2||(s=b.Math.abs(t.d+t.a/2-(e.d+e.a/2)),s>t.a/2+e.a/2)?1:n==0&&s==0?0:n==0?o/s+1:s==0?r/n+1:b.Math.min(r/n,o/s)+1}function ZEn(t,e){var n,r,s,o,h,d,m;for(o=0,d=0,m=0,s=new G(t.f.e);s.a<s.c.c.length;)r=u(et(s),153),e!=r&&(h=t.i[e.a][r.a],o+=h,n=Nb(e.d,r.d),n>0&&t.d!=(WS(),ift)&&(d+=h*(r.d.a+t.a[e.a][r.a]*(e.d.a-r.d.a)/n)),n>0&&t.d!=(WS(),nft)&&(m+=h*(r.d.b+t.a[e.a][r.a]*(e.d.b-r.d.b)/n)));switch(t.d.g){case 1:return new ae(d/o,e.d.b);case 2:return new ae(e.d.a,m/o);default:return new ae(d/o,m/o)}}function sge(t){var e,n,r,s,o,h;for(n=(!t.a&&(t.a=new Ps(vh,t,5)),t.a).i+2,h=new wu(n),ge(h,new ae(t.j,t.k)),ms(new ln(null,(!t.a&&(t.a=new Ps(vh,t,5)),new gn(t.a,16))),new pGt(h)),ge(h,new ae(t.b,t.c)),e=1;e<h.c.length-1;)r=(vn(e-1,h.c.length),u(h.c[e-1],8)),s=(vn(e,h.c.length),u(h.c[e],8)),o=(vn(e+1,h.c.length),u(h.c[e+1],8)),r.a==s.a&&s.a==o.a||r.b==s.b&&s.b==o.b?Ep(h,e):++e;return h}function age(t,e){g7();var n,r,s,o,h;if(h=u(X(t.i,(De(),bs)),101),o=t.j.g-e.j.g,o!=0||!(h==(ka(),zw)||h==Y0||h==hu))return 0;if(h==(ka(),zw)&&(n=u(X(t,Vp),17),r=u(X(e,Vp),17),n&&r&&(s=n.a-r.a,s!=0)))return s;switch(t.j.g){case 1:return Bi(t.n.a,e.n.a);case 2:return Bi(t.n.b,e.n.b);case 3:return Bi(e.n.a,t.n.a);case 4:return Bi(e.n.b,t.n.b);default:throw at(new Ro(Z8t))}}function oge(t,e){var n,r,s,o,h,d,m;for(n=NJt(zYt(jYt($Yt(new G2t,e),new tq(e.e)),O4e),t.a),e.j.c.length==0||gae(u(Oe(e.j,0),60).a,n),m=new Rnt,hi(t.e,n,m),h=new Os,d=new Os,o=new G(e.k);o.a<o.c.c.length;)s=u(et(o),18),qs(h,s.c),qs(d,s.d);r=h.a.gc()-d.a.gc(),r<0?(aO(m,!0,(Rs(),Uo)),aO(m,!1,tc)):r>0&&(aO(m,!1,(Rs(),Uo)),aO(m,!0,tc)),Cu(e.g,new mXt(t,n)),hi(t.g,e,n)}function cge(){cge=V;var t;for(p9t=lt(ut(Fr,1),ii,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Dht=Vt(Fr,ii,28,37,15,1),Xve=lt(ut(Fr,1),ii,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),b9t=Vt(x2,cut,28,37,14,1),t=2;t<=36;t++)Dht[t]=Ys(b.Math.pow(t,p9t[t])),b9t[t]=_O(rN,Dht[t])}function t7n(t){var e;if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i!=1)throw at(new zn(Fwe+(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i));return e=new Qu,iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))&&Ma(e,Xpe(t,iO(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)),!1)),iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))&&Ma(e,Xpe(t,iO(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84)),!0)),e}function uge(t,e){var n,r,s,o,h;for(e.d?s=t.a.c==(Gd(),Dv)?ua(e.b):_s(e.b):s=t.a.c==(Gd(),Gp)?ua(e.b):_s(e.b),o=!1,r=new rr(sr(s.a.Kc(),new z));Mr(r);)if(n=u(dr(r),18),h=Ie(t.a.f[t.a.g[e.b.p].p]),!(!h&&!go(n)&&n.c.i.c==n.d.i.c)&&!(Ie(t.a.n[t.a.g[e.b.p].p])||Ie(t.a.n[t.a.g[e.b.p].p]))&&(o=!0,x1(t.b,t.a.g[tvn(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=o,e.a=null,e}function Mkt(t,e,n){var r,s,o,h,d,m,k;if(r=n.gc(),r==0)return!1;if(t.Pj())if(m=t.Qj(),z5t(t,e,n),h=r==1?t.Ij(3,null,n.Kc().Pb(),e,m):t.Ij(5,null,n,e,m),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)k=t.xj(s),d=t.Nj(k,d),d=d;d?(d.nj(h),d.oj()):t.Jj(h)}else t.Jj(h);else if(z5t(t,e,n),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)d=t.Nj(t.xj(s),d);d&&d.oj()}return!0}function lge(t,e,n){var r,s,o,h,d;return t.Pj()?(s=null,o=t.Qj(),r=t.Ij(1,d=(h=t.Dj(e,t.Zi(e,n)),h),n,e,o),t.Mj()&&!(t.Yi()&&d?Ti(d,n):$t(d)===$t(n))&&(d&&(s=t.Oj(d,s)),s=t.Nj(n,s)),s?(s.nj(r),s.oj()):t.Jj(r),d):(d=(h=t.Dj(e,t.Zi(e,n)),h),t.Mj()&&!(t.Yi()&&d?Ti(d,n):$t(d)===$t(n))&&(s=null,d&&(s=t.Oj(d,null)),s=t.Nj(n,s),s&&s.oj()),d)}function Ikt(t,e){var n,r,s,o,h,d,m,k,T;if(t.e=e,t.f=u(X(e,(Pb(),WU)),234),_3n(e),t.d=b.Math.max(e.e.c.length*16+e.c.c.length,256),!Ie(Me(X(e,(Vf(),hCt)))))for(T=t.e.e.c.length,m=new G(e.e);m.a<m.c.c.length;)d=u(et(m),153),k=d.d,k.a=cyt(t.f)*T,k.b=cyt(t.f)*T;for(n=e.b,o=new G(e.c);o.a<o.c.c.length;)if(s=u(et(o),289),r=u(X(s,bCt),17).a,r>0){for(h=0;h<r;h++)ge(n,new Eee(s));L1e(s)}}function hge(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;if(P=new Oy(t.Zg()),_1(e,pi,P),n&&!t.Xg().a.dc())for(T=new cp,_1(e,"logs",T),d=0,U=new eo(t.Xg().b.Kc());U.b.Ob();)$=Gr(U.b.Pb()),A=new Oy($),$y(T,d),Est(T,d,A),++d;if(r&&(k=new cE(t.Wg()),_1(e,"executionTime",k)),!t.Yg().a.dc())for(h=new cp,_1(e,Xlt,h),d=0,o=new eo(t.Yg().b.Kc());o.b.Ob();)s=u(o.b.Pb(),871),m=new _6,$y(h,d),Est(h,d,m),hge(s,m,n,r),++d}function Okt(){Okt=V,hrt(),u9e=new j2,lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(bve)])]),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(YTt)])]),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM(wve)]),lt(ut(r8,1),LU,600,0,[new OM(YTt)])]),new Sb("-1"),lt(ut(r8,2),ue,381,0,[lt(ut(r8,1),LU,600,0,[new OM("\\c+")])]),new Sb("0"),new Sb("0"),new Sb("1"),new Sb("0"),new Sb(Eve)}function e7n(t,e){var n,r,s,o,h,d,m,k,T,A;for(e.Ug("Hypernodes processing",1),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),d=new G(r.a);d.a<d.c.c.length;)if(h=u(et(d),10),Ie(Me(X(h,(De(),zG))))&&h.j.c.length<=2){for(A=0,T=0,n=0,o=0,k=new G(h.j);k.a<k.c.c.length;)switch(m=u(et(k),12),m.j.g){case 1:++A;break;case 2:++T;break;case 3:++n;break;case 4:++o}A==0&&n==0&&sSn(t,h,o<=T)}e.Vg()}function n7n(t,e,n,r,s){var o,h,d,m,k,T,A;for(h=new G(e);h.a<h.c.c.length;){if(o=u(et(h),18),m=o.c,n.a._b(m))k=(Bm(),c2);else if(r.a._b(m))k=(Bm(),Z5);else throw at(new zn("Source port must be in one of the port sets."));if(T=o.d,n.a._b(T))A=(Bm(),c2);else if(r.a._b(T))A=(Bm(),Z5);else throw at(new zn("Target port must be in one of the port sets."));d=new a1e(o,k,A),hi(t.b,o,d),In(s.c,d)}}function lV(t){var e,n;return t.c&&t.c.Vh()&&(n=u(t.c,54),t.c=u(jb(t,n),142),t.c!=n&&(t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,9,2,n,t.c)),Lt(t.Cb,411)?t.Db>>16==-15&&t.Cb.Yh()&&Vst(new jst(t.Cb,9,13,n,t.c,Np(Al(u(t.Cb,62)),t))):Lt(t.Cb,90)&&t.Db>>16==-23&&t.Cb.Yh()&&(e=t.c,Lt(e,90)||(e=(wn(),xf)),Lt(n,90)||(n=(wn(),xf)),Vst(new jst(t.Cb,9,10,n,e,Np(Wc(u(t.Cb,29)),t)))))),t.c}function r7n(t,e,n){var r,s,o,h,d,m,k,T,A;for(n.Ug("Hyperedge merging",1),_xn(t,e),m=new La(e.b,0);m.b<m.d.gc();)if(d=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),30)),T=d.a,T.c.length!=0)for(r=null,s=null,o=null,h=null,k=0;k<T.c.length;k++)r=(vn(k,T.c.length),u(T.c[k],10)),s=r.k,s==(Un(),fa)&&h==fa&&(A=J7n(r,o),A.a&&(Jkn(r,o,A.b,A.c),vn(k,T.c.length),Swt(T.c,k,1),--k,r=o,s=h)),o=r,h=s;n.Vg()}function fge(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;if(e==n)return!0;if(e=$6t(t,e),n=$6t(t,n),r=dot(e),r){if(T=dot(n),T!=r)return T?(m=r.mk(),U=T.mk(),m==U&&m!=null):!1;if(h=(!e.d&&(e.d=new Ps(Do,e,1)),e.d),o=h.i,P=(!n.d&&(n.d=new Ps(Do,n,1)),n.d),o==P.i){for(k=0;k<o;++k)if(s=u(Dt(h,k),89),A=u(Dt(P,k),89),!fge(t,s,A))return!1}return!0}else return d=e.e,$=n.e,d==$}function dge(t,e,n,r){var s,o,h,d,m,k,T,A;if(Ng(t.e,e)){for(A=Lu(t.e.Dh(),e),o=u(t.g,124),T=null,m=-1,d=-1,s=0,k=0;k<t.i;++k)h=o[k],A.am(h.Lk())&&(s==n&&(m=k),s==r&&(d=k,T=h.md()),++s);if(m==-1)throw at(new Bo(Zlt+n+Ew+s));if(d==-1)throw at(new Bo(tht+r+Ew+s));return f_(t,m,d),Hl(t.e)&&hE(t,Ib(t,7,e,he(r),T,n,!0)),T}else throw at(new zn("The feature must be many-valued to support move"))}function gge(t,e,n,r){var s,o,h,d,m;switch(m=new io(e.n),m.a+=e.o.a/2,m.b+=e.o.b/2,d=Rt(Ht(X(e,(De(),D3)))),o=t.f,h=t.d,s=t.c,u(X(e,(oe(),Dc)),64).g){case 1:m.a+=h.b+s.a-n/2,m.b=-r-d,e.n.b=-(h.d+d+s.b);break;case 2:m.a=o.a+h.b+h.c+d,m.b+=h.d+s.b-r/2,e.n.a=o.a+h.c+d-s.a;break;case 3:m.a+=h.b+s.a-n/2,m.b=o.b+h.d+h.a+d,e.n.b=o.b+h.a+d-s.b;break;case 4:m.a=-n-d,m.b+=h.d+s.b-r/2,e.n.a=-(h.b+d+s.a)}return m}function pge(t){var e,n,r,s,o,h;return r=new y4t,Qo(r,t),$t(X(r,(De(),ph)))===$t((Rs(),Ed))&&Zt(r,ph,fH(r)),X(r,(kq(),oL))==null&&(h=u(Afe(t),167),Zt(r,oL,tz(h.of(oL)))),Zt(r,(oe(),Li),t),Zt(r,lu,(e=u(y1(jft),9),new _h(e,u(Ff(e,e.length),9),0))),s=nCn((Ji(t)&&(xy(),new my(Ji(t))),xy(),new sit(Ji(t)?new my(Ji(t)):null,t)),tc),o=u(X(r,aAt),107),n=r.d,Gne(n,o),Gne(n,s),r}function i7n(t,e,n){var r,s;r=e.c.i,s=n.d.i,r.k==(Un(),fa)?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12)),Zt(t,C3,Me(X(r,C3)))):r.k==Vc?(Zt(t,(oe(),N1),u(X(r,N1),12)),Zt(t,gf,u(X(r,gf),12)),Zt(t,C3,(Pn(),!0))):s.k==Vc?(Zt(t,(oe(),N1),u(X(s,N1),12)),Zt(t,gf,u(X(s,gf),12)),Zt(t,C3,(Pn(),!0))):(Zt(t,(oe(),N1),e.c),Zt(t,gf,n.d))}function s7n(t){var e,n,r,s,o,h,d;for(t.o=new K4,r=new Ki,h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),s5(o).c.length==1&&hs(r,o,r.c.b,r.c);for(;r.b!=0;)o=u(r.b==0?null:(ur(r.b!=0),Oh(r,r.a.a)),125),s5(o).c.length!=0&&(e=u(Oe(s5(o),0),218),n=o.g.a.c.length>0,d=gH(e,o),Umt(n?d.b:d.g,e),s5(d).c.length==1&&hs(r,d,r.c.b,r.c),s=new Ws(o,e),Ob(t.o,s),zu(t.e.a,o))}function bge(t,e){var n,r,s,o,h,d,m;return r=b.Math.abs(zz(t.b).a-zz(e.b).a),d=b.Math.abs(zz(t.b).b-zz(e.b).b),s=0,m=0,n=1,h=1,r>t.b.b/2+e.b.b/2&&(s=b.Math.min(b.Math.abs(t.b.c-(e.b.c+e.b.b)),b.Math.abs(t.b.c+t.b.b-e.b.c)),n=1-s/r),d>t.b.a/2+e.b.a/2&&(m=b.Math.min(b.Math.abs(t.b.d-(e.b.d+e.b.a)),b.Math.abs(t.b.d+t.b.a-e.b.d)),h=1-m/d),o=b.Math.min(n,h),(1-o)*b.Math.sqrt(r*r+d*d)}function a7n(t){var e,n,r,s;for(Dct(t,t.e,t.f,(Bm(),c2),!0,t.c,t.i),Dct(t,t.e,t.f,c2,!1,t.c,t.i),Dct(t,t.e,t.f,Z5,!0,t.c,t.i),Dct(t,t.e,t.f,Z5,!1,t.c,t.i),n7n(t,t.c,t.e,t.f,t.i),r=new La(t.i,0);r.b<r.d.gc();)for(e=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),131)),s=new La(t.i,r.b);s.b<s.d.gc();)n=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),131)),GTn(e,n);pSn(t.i,u(X(t.d,(oe(),Kk)),234)),L9n(t.i)}function hct(t,e){var n,r;if(e!=null){if(r=Jm(t),r)if(r.i&1){if(r==Fl)return Ty(e);if(r==Fr)return Lt(e,17);if(r==Y3)return Lt(e,161);if(r==ul)return Lt(e,222);if(r==Yh)return Lt(e,180);if(r==ma)return Cy(e);if(r==wx)return Lt(e,191);if(r==x2)return Lt(e,168)}else return A$(),n=u(tr(KK,r),57),!n||n.fk(e);else if(Lt(e,58))return t.dl(u(e,58))}return!1}function Nkt(){Nkt=V;var t,e,n,r,s,o,h,d,m;for(_d=Vt(ul,M5,28,255,15,1),nb=Vt(Yh,Zd,28,64,15,1),e=0;e<255;e++)_d[e]=-1;for(n=90;n>=65;n--)_d[n]=n-65<<24>>24;for(r=122;r>=97;r--)_d[r]=r-97+26<<24>>24;for(s=57;s>=48;s--)_d[s]=s-48+52<<24>>24;for(_d[43]=62,_d[47]=63,o=0;o<=25;o++)nb[o]=65+o&js;for(h=26,m=0;h<=51;++h,m++)nb[h]=97+m&js;for(t=52,d=0;t<=61;++t,d++)nb[t]=48+d&js;nb[62]=43,nb[63]=47}function wge(t,e){var n,r,s,o,h,d;return s=O4t(t),d=O4t(e),s==d?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,n=(t.d>0?t.d:b.Math.floor((t.a-1)*Tbe)+1)-(e.d>0?e.d:b.Math.floor((e.a-1)*Tbe)+1),n>r+1?s:n<r-1?-s:(o=(!t.c&&(t.c=DI(Pc(t.f))),t.c),h=(!e.c&&(e.c=DI(Pc(e.f))),e.c),r<0?o=Z4(o,Age(-r)):r>0&&(h=Z4(h,Age(r))),Sle(o,h))):s<d?-1:1}function o7n(t,e,n){var r,s,o,h,d,m,k,T;for(n.Ug(i2e,1),t.vf(e),o=0;t.xf(o)&&!n.$g();){for(t.wf(),T=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(T);)for(m=u(dr(T),309),d=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(d);)h=u(dr(d),309),h!=m&&(s=t.uf(h,m),s&&ki(m.c,s));for(k=A0(ah(lt(ut(gh,1),Ln,20,0,[e.e,e.d,e.b])));Mr(k);)m=u(dr(k),309),r=m.c,$fe(r,-t.d,-t.d,t.d,t.d),ki(m.d,r),r.a=0,r.b=0;++o}n.Vg()}function c7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(t.dc())return new Sa;for(k=0,A=0,s=t.Kc();s.Ob();)r=u(s.Pb(),36),o=r.f,k=b.Math.max(k,o.a),A+=o.a*o.b;for(k=b.Math.max(k,b.Math.sqrt(A)*Rt(Ht(X(u(t.Kc().Pb(),36),(De(),OG))))),P=0,$=0,m=0,n=e,d=t.Kc();d.Ob();)h=u(d.Pb(),36),T=h.f,P+T.a>k&&(P=0,$+=m+e,m=0),B7(h,P,$),n=b.Math.max(n,P+T.a),m=b.Math.max(m,T.b),P+=T.a+e;return new ae(n+e,$+m+e)}function Pkt(t,e){var n,r,s,o,h,d,m;if(!ed(t))throw at(new Ro(Pwe));if(r=ed(t),o=r.g,s=r.f,o<=0&&s<=0)return ve(),bc;switch(d=t.i,m=t.j,e.g){case 2:case 1:if(d<0)return ve(),Gn;if(d+t.g>o)return ve(),Jn;break;case 4:case 3:if(m<0)return ve(),Hn;if(m+t.f>s)return ve(),Er}return h=(d+t.g/2)/o,n=(m+t.f/2)/s,h+n<=1&&h-n<=0?(ve(),Gn):h+n>=1&&h-n>=0?(ve(),Jn):n<.5?(ve(),Hn):(ve(),Er)}function u7n(t,e,n,r,s){var o,h;if(o=Qa(sa(e[0],So),sa(r[0],So)),t[0]=qr(o),o=_m(o,32),n>=s){for(h=1;h<s;h++)o=Qa(o,Qa(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<n;h++)o=Qa(o,sa(e[h],So)),t[h]=qr(o),o=_m(o,32)}else{for(h=1;h<n;h++)o=Qa(o,Qa(sa(e[h],So),sa(r[h],So))),t[h]=qr(o),o=_m(o,32);for(;h<s;h++)o=Qa(o,sa(r[h],So)),t[h]=qr(o),o=_m(o,32)}$c(o,0)!=0&&(t[h]=qr(o))}function i3(t){yi();var e,n,r,s,o,h;if(t.e!=4&&t.e!=5)throw at(new zn("Token#complementRanges(): must be RANGE: "+t.e));for(o=t,g5(o),R_(o),r=o.b.length+2,o.b[0]==0&&(r-=2),n=o.b[o.b.length-1],n==gT&&(r-=2),s=new ih(4),s.b=Vt(Fr,ii,28,r,15,1),h=0,o.b[0]>0&&(s.b[h++]=0,s.b[h++]=o.b[0]-1),e=1;e<o.b.length-2;e+=2)s.b[h++]=o.b[e]+1,s.b[h++]=o.b[e+1]-1;return n!=gT&&(s.b[h++]=n+1,s.b[h]=gT),s.a=!0,s}function l7n(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Layer constraint edge reversal",1),h=new G(t.b);h.a<h.c.c.length;){for(o=u(et(h),30),T=-1,n=new fe,k=II(o.a),s=0;s<k.length;s++)r=u(X(k[s],(oe(),Aw)),311),T==-1?r!=(Cg(),H5)&&(T=s):r==(Cg(),H5)&&(Aa(k[s],null),Xy(k[s],T++,o)),r==(Cg(),qk)&&In(n.c,k[s]);for(m=new G(n);m.a<m.c.c.length;)d=u(et(m),10),Aa(d,null),Aa(d,o)}e.Vg()}function fct(t,e,n){var r,s,o,h,d,m,k,T;if(r=n.gc(),r==0)return!1;if(t.Pj())if(k=t.Qj(),Oot(t,e,n),h=r==1?t.Ij(3,null,n.Kc().Pb(),e,k):t.Ij(5,null,n,e,k),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)T=t.g[s],d=t.Nj(T,d),d=t.Uj(T,d);d?(d.nj(h),d.oj()):t.Jj(h)}else t.Jj(h);else if(Oot(t,e,n),t.Mj()){for(d=r<100?null:new xb(r),o=e+r,s=e;s<o;++s)m=t.g[s],d=t.Nj(m,d);d&&d.oj()}return!0}function h7n(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Hierarchical port dummy size processing",1),m=new fe,T=new fe,r=Rt(Ht(X(t,(De(),W5)))),n=r*2,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),m.c.length=0,T.c.length=0,d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(k=u(X(h,(oe(),Dc)),64),k==(ve(),Hn)?In(m.c,h):k==Er&&In(T.c,h));X1e(m,!0,n),X1e(T,!1,n)}e.Vg()}function Fkt(t,e,n,r){var s,o,h,d,m;for(h=new G(t.k);h.a<h.c.c.length;)s=u(et(h),132),(!r||s.c==(C1(),o2))&&(m=s.b,m.g<0&&s.d>0&&(H(m,m.d-s.d),s.c==(C1(),o2)&&N(m,m.a-s.d),m.d<=0&&m.i>0&&hs(e,m,e.c.b,e.c)));for(o=new G(t.f);o.a<o.c.c.length;)s=u(et(o),132),(!r||s.c==(C1(),o2))&&(d=s.a,d.g<0&&s.d>0&&(q(d,d.i-s.d),s.c==(C1(),o2)&&j(d,d.b-s.d),d.i<=0&&d.d>0&&hs(n,d,n.c.b,n.c)))}function f7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$;for(mn(),Ds(t,new U8),h=bI(t),$=new fe,P=new fe,d=null,m=0;h.b!=0;)o=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),163),!d||tl(d)*Gl(d)/2<tl(o)*Gl(o)?(d=o,In($.c,o)):(m+=tl(o)*Gl(o),In(P.c,o),P.c.length>1&&(m>tl(d)*Gl(d)/2||h.b==0)&&(A=new Fq(P),T=tl(d)/Gl(d),k=Mct(A,e,new C6,n,r,s,T),ki(k1(A.e),k),d=A,In($.c,A),m=0,P.c.length=0));return Hs($,P),$}function Xc(t,e,n,r,s){pg();var o,h,d,m,k,T,A;if(Syt(t,"src"),Syt(n,"dest"),A=Wl(t),m=Wl(n),Uvt((A.i&4)!=0,"srcType is not an array"),Uvt((m.i&4)!=0,"destType is not an array"),T=A.c,h=m.c,Uvt(T.i&1?T==h:(h.i&1)==0,"Array types don't match"),Jpn(t,e,n,r,s),!(T.i&1)&&A!=m)if(k=nw(t),o=nw(n),$t(t)===$t(n)&&e<r)for(e+=s,d=r+s;d-- >r;)ls(o,d,k[--e]);else for(d=r+s;r<d;)ls(o,r++,k[e++]);else N6t(t,e,n,r,s,!0)}function mge(t,e){var n,r,s,o,h,d,m,k,T;switch(e.Ug("Box layout",2),s=MM(Ht(ne(t,(VH(),a7e)))),o=u(ne(t,s7e),107),n=Ie(Me(ne(t,cMt))),r=Ie(Me(ne(t,uMt))),u(ne(t,Adt),320).g){case 0:h=(T=new fl((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),mn(),Ds(T,new fGt(r)),T),d=v6t(t),m=Ht(ne(t,oMt)),(m==null||(Wn(m),m<=0))&&(m=1.3),k=VCn(h,s,o,d.a,d.b,n,(Wn(m),m)),rv(t,k.a,k.b,!1,!0);break;default:FTn(t,s,o,n)}e.Vg()}function d7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U;for(P=Ryn(t,n),m=0;m<e;m++){for(Ly(s,n),$=new fe,U=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),418)),T=P+m;T<t.b;T++)d=U,U=(ur(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),418)),ge($,new Kde(d,U,n));for(A=P+m;A<t.b;A++)ur(r.b>0),r.a.Xb(r.c=--r.b),A>P+m&&Kl(r);for(h=new G($);h.a<h.c.c.length;)o=u(et(h),418),Ly(r,o);if(m<e-1)for(k=P+m;k<t.b;k++)ur(r.b>0),r.a.Xb(r.c=--r.b)}}function g7n(){yi();var t,e,n,r,s,o;if(l0t)return l0t;for(t=new ih(4),a3(t,Gb(wht,!0)),$_(t,Gb("M",!0)),$_(t,Gb("C",!0)),o=new ih(4),r=0;r<11;r++)iu(o,r,r);return e=new ih(4),a3(e,Gb("M",!0)),iu(e,4448,4607),iu(e,65438,65439),s=new yS(2),gw(s,t),gw(s,OL),n=new yS(2),n.Jm(Mz(o,Gb("L",!0))),n.Jm(e),n=new By(3,n),n=new Cyt(s,n),l0t=n,l0t}function s3(t,e){var n,r,s,o,h,d,m,k;for(n=new RegExp(e,"g"),m=Vt(Pe,ue,2,0,6,1),r=0,k=t,o=null;;)if(d=n.exec(k),d==null||k==""){m[r]=k;break}else h=d.index,m[r]=(Da(0,h,k.length),k.substr(0,h)),k=Lh(k,h+d[0].length,k.length),n.lastIndex=0,o==k&&(m[r]=(Da(0,1,k.length),k.substr(0,1)),k=(qn(1,k.length+1),k.substr(1))),o=k,++r;if(t.length>0){for(s=m.length;s>0&&m[s-1]=="";)--s;s<m.length&&(m.length=s)}return m}function Cc(){Cc=V,_Lt=new xm(20),SLt=new _a((ai(),Yp),_Lt),H1t=new _a($w,20),LLt=new _a(qMt,3),e8e=new _a(sx,tT),uK=new _a(DP,he(1)),l8e=new _a(Hdt,(Pn(),!0)),kLt=SP,ELt=(Rs(),Ed),Mv=new _a(Rw,ELt),n8e=AP,r8e=Pdt,s8e=jw,a8e=R3,o8e=lx,c8e=l2,i8e=ux,CLt=LP,u8e=j3,MLt=(j6t(),t8e),ALt=Jke,d8e=dL,g8e=MK,f8e=MP,h8e=DK,DLt=(lk(),q3),new _a(t8,DLt),tx=Qke,q1t=Xke,h0=Zke,xLt=Wke,TLt=Yke}function p7n(t){var e,n;if(e=Gr(ne(t,(ai(),VT))),!bce(e,t)&&!ad(t,fx)&&((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a).i!=0||Ie(Me(ne(t,_P)))))if(e==null||Zy(e).length==0){if(!bce(Qn,t))throw n=ni(ni(new eh("Unable to load default layout algorithm "),Qn)," for unconfigured node "),wV(t,n),at(new fp(n.a))}else throw n=ni(ni(new eh("Layout algorithm '"),e),"' not found for "),wV(t,n),at(new fp(n.a))}function dct(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(n=t.i,e=t.n,t.b==0)for($=n.c+e.b,P=n.b-e.b-e.c,h=t.a,m=0,T=h.length;m<T;++m)s=h[m],Pz(s,$,P);else r=ohe(t,!1),Pz(t.a[0],n.c+e.b,r[0]),Pz(t.a[2],n.c+n.b-e.c-r[2],r[2]),A=n.b-e.b-e.c,r[0]>0&&(A-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(A-=r[2]+t.c),r[1]=b.Math.max(r[1],A),Pz(t.a[1],n.c+e.b+r[0]-(r[1]-A)/2,r[1]);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],Lt(s,336)&&u(s,336).lf()}function b7n(t){var e,n,r,s,o,h,d,m,k,T,A;for(A=new fZ,A.d=0,h=new G(t.b);h.a<h.c.c.length;)o=u(et(h),30),A.d+=o.a.c.length;for(r=0,s=0,A.a=Vt(Fr,ii,28,t.b.c.length,15,1),k=0,T=0,A.e=Vt(Fr,ii,28,A.d,15,1),n=new G(t.b);n.a<n.c.c.length;)for(e=u(et(n),30),e.p=r++,A.a[e.p]=s++,T=0,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p=k++,A.e[d.p]=T++;return A.c=new jUt(A),A.b=C0(A.d),PEn(A,t),A.f=C0(A.d),FEn(A,t),A}function vge(t,e){var n,r,s,o;for(o=u(Oe(t.n,t.n.c.length-1),209).d,t.p=b.Math.min(t.p,e.g),t.r=b.Math.max(t.r,o),t.g=b.Math.max(t.g,e.g+(t.b.c.length==1?0:t.i)),t.o=b.Math.min(t.o,e.f),t.e+=e.f+(t.b.c.length==1?0:t.i),t.f=b.Math.max(t.f,e.f),s=t.n.c.length>0?(t.n.c.length-1)*t.i:0,r=new G(t.n);r.a<r.c.c.length;)n=u(et(r),209),s+=n.a;t.d=s,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),wxt(t.j)}function yge(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=Me(X(e,(Vf(),P3e))),T==null||(Wn(T),T)){for(A=Vt(Fl,$0,28,e.e.c.length,16,1),h=rxn(e),s=new Ki,k=new G(e.e);k.a<k.c.c.length;)d=u(et(k),153),n=Y6t(t,d,null,null,A,h),n&&(Qo(n,e),hs(s,n,s.c.b,s.c));if(s.b>1)for(r=Dr(s,0);r.b!=r.d.c;)for(n=u(Ar(r),235),o=0,m=new G(n.e);m.a<m.c.c.length;)d=u(et(m),153),d.a=o++;return s}return id(lt(ut(c_n,1),n2e,235,0,[e]))}function Qd(t){var e,n,r,s,o,h,d;if(!t.g){if(d=new oM,e=_L,h=e.a.zc(t,e),h==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),gs(d,Qd(n));e.a.Bc(t)!=null,e.a.gc()==0}for(s=d.i,o=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));o.e!=o.i.gc();++s)ee(u(ar(o),461),s);gs(d,(!t.s&&(t.s=new Jt(Wu,t,21,17)),t.s)),Uy(d),t.g=new Kce(t,d),t.i=u(d.g,254),t.i==null&&(t.i=r0t),t.p=null,_l(t).b&=-5}return t.g}function w7n(t,e){var n,r,s,o,h,d,m,k,T;if(n=e.qi(t.a),n&&(m=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),"memberTypes")),m!=null)){for(k=new fe,o=s3(m,"\\w"),h=0,d=o.length;h<d;++h)s=o[h],r=s.lastIndexOf("#"),T=r==-1?tvt(t,e.jk(),s):r==0?zI(t,null,(qn(1,s.length+1),s.substr(1))):zI(t,(Da(0,r,s.length),s.substr(0,r)),(qn(r+1,s.length+1),s.substr(r+1))),Lt(T,156)&&ge(k,u(T,156));return k}return mn(),mn(),co}function gct(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;if(r=t.i,n=t.n,t.b==0)e=ahe(t,!1),Fz(t.a[0],r.d+n.d,e[0]),Fz(t.a[2],r.d+r.a-n.a-e[2],e[2]),P=r.a-n.d-n.a,A=P,e[0]>0&&(e[0]+=t.c,A-=e[0]),e[2]>0&&(A-=e[2]+t.c),e[1]=b.Math.max(e[1],A),Fz(t.a[1],r.d+n.d+e[0]-(e[1]-A)/2,e[1]);else for(U=r.d+n.d,$=r.a-n.d-n.a,h=t.a,m=0,T=h.length;m<T;++m)s=h[m],Fz(s,U,$);for(o=t.a,d=0,k=o.length;d<k;++d)s=o[d],Lt(s,336)&&u(s,336).mf()}function m7n(t){var e,n,r,s,o,h,d,m,k,T;for(T=Vt(Fr,ii,28,t.b.c.length+1,15,1),k=new Os,r=0,o=new G(t.b);o.a<o.c.c.length;){for(s=u(et(o),30),T[r++]=k.a.gc(),m=new G(s.a);m.a<m.c.c.length;)for(h=u(et(m),10),n=new rr(sr(_s(h).a.Kc(),new z));Mr(n);)e=u(dr(n),18),k.a.zc(e,k);for(d=new G(s.a);d.a<d.c.c.length;)for(h=u(et(d),10),n=new rr(sr(ua(h).a.Kc(),new z));Mr(n);)e=u(dr(n),18),k.a.Bc(e)!=null}return T}function hV(t,e,n,r){var s,o,h,d,m;if(m=Lu(t.e.Dh(),e),s=u(t.g,124),vo(),u(e,69).xk()){for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&Ti(o,n))return!0}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],m.am(o.Lk())&&Ti(n,o.md()))return!0;if(r){for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&$t(n)===$t(lit(t,u(o.md(),58))))return!0}}else for(h=0;h<t.i;++h)if(o=s[h],m.am(o.Lk())&&o.md()==null)return!1;return!1}function v7n(t,e){var n,r,s,o,h,d;if(n=e.qi(t.a),n&&(d=Gr(L1((!n.b&&(n.b=new Ul((wn(),wo),Mc,n)),n.b),fU)),d!=null))switch(s=cz(d,Hu(35)),r=e.qk(),s==-1?(h=MS(t,sh(r)),o=d):s==0?(h=null,o=(qn(1,d.length+1),d.substr(1))):(h=(Da(0,s,d.length),d.substr(0,s)),o=(qn(s+1,d.length+1),d.substr(s+1))),Om($o(t,e))){case 2:case 3:return Zpn(t,r,h,o);case 0:case 4:case 5:case 6:return tbn(t,r,h,o)}return null}function xge(t,e,n,r){var s,o,h,d;for(d=n,h=new G(e.a);h.a<h.c.c.length;){if(o=u(et(h),225),s=u(o.b,68),Wm(t.b.c,s.b.c+s.b.b)<=0&&Wm(s.b.c,t.b.c+t.b.b)<=0&&Wm(t.b.d,s.b.d+s.b.a)<=0&&Wm(s.b.d,t.b.d+t.b.a)<=0){if(Wm(s.b.c,t.b.c+t.b.b)==0&&r.a<0||Wm(s.b.c+s.b.b,t.b.c)==0&&r.a>0||Wm(s.b.d,t.b.d+t.b.a)==0&&r.b<0||Wm(s.b.d+s.b.a,t.b.d)==0&&r.b>0){d=0;break}}else d=b.Math.min(d,b1e(t,s,r));d=b.Math.min(d,xge(t,o,d,r))}return d}function KO(t,e){var n,r,s,o,h,d,m;if(t.b<2)throw at(new zn("The vector chain must contain at least a source and a target point."));for(s=(ur(t.b!=0),u(t.a.a.c,8)),rI(e,s.a,s.b),m=new j6((!e.a&&(e.a=new Ps(vh,e,5)),e.a)),h=Dr(t,1);h.a<t.b-1;)d=u(Ar(h),8),m.e!=m.i.gc()?n=u(ar(m),377):(n=(kb(),r=new fC,r),lle(m,n)),Xrt(n,d.a,d.b);for(;m.e!=m.i.gc();)ar(m),E_(m);o=(ur(t.b!=0),u(t.c.b.c,8)),nI(e,o.a,o.b)}function kge(t,e,n,r){var s,o,h,d,m,k;if(k=Lu(t.e.Dh(),e),h=u(t.g,124),Ng(t.e,e)){if(e.Si()&&(o=$7(t,e,r,Lt(e,102)&&(u(e,19).Bb&po)!=0),o>=0&&o!=n))throw at(new zn(AN));for(s=0,m=0;m<t.i;++m)if(d=h[m],k.am(d.Lk())){if(s==n)return u(c5(t,m,(vo(),u(e,69).xk()?u(r,76):D0(e,r))),76);++s}throw at(new Bo(uA+n+Ew+s))}else{for(m=0;m<t.i;++m)if(d=h[m],k.am(d.Lk()))return vo(),u(e,69).xk()?d:d.md();return null}}function Ege(t,e){var n,r,s,o,h,d,m,k,T;for(n=0,s=new G((vn(0,t.c.length),u(t.c[0],105)).g.b.j);s.a<s.c.c.length;)r=u(et(s),12),r.p=n++;for(e==(ve(),Hn)?Ds(t,new xJ):Ds(t,new kJ),d=0,T=t.c.length-1;d<T;)h=(vn(d,t.c.length),u(t.c[d],105)),k=(vn(T,t.c.length),u(t.c[T],105)),o=e==Hn?h.c:h.a,m=e==Hn?k.a:k.c,vp(h,e,(ud(),xT),o),vp(k,e,yT,m),++d,--T;d==T&&vp((vn(d,t.c.length),u(t.c[d],105)),e,(ud(),zk),null)}function y7n(t,e,n,r){var s,o,h,d,m,k;for(h=new tpe(t,e,n),m=new La(r,0),s=!1;m.b<m.d.gc();)d=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),239)),d==e||d==n?Kl(m):!s&&Rt(td(d.g,d.d[0]).a)>Rt(td(h.g,h.d[0]).a)?(ur(m.b>0),m.a.Xb(m.c=--m.b),Ly(m,h),s=!0):d.e&&d.e.gc()>0&&(o=(!d.e&&(d.e=new fe),d.e).Mc(e),k=(!d.e&&(d.e=new fe),d.e).Mc(n),(o||k)&&((!d.e&&(d.e=new fe),d.e).Fc(h),++h.c));s||In(r.c,h)}function x7n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;return A=t.a.i+t.a.g/2,P=t.a.i+t.a.g/2,U=e.i+e.g/2,tt=e.j+e.f/2,d=new ae(U,tt),k=u(ne(e,(ai(),Jk)),8),k.a=k.a+A,k.b=k.b+P,o=(d.b-k.b)/(d.a-k.a),r=d.b-o*d.a,J=n.i+n.g/2,ht=n.j+n.f/2,m=new ae(J,ht),T=u(ne(n,Jk),8),T.a=T.a+A,T.b=T.b+P,h=(m.b-T.b)/(m.a-T.a),s=m.b-h*m.a,$=(r-s)/(h-o),k.a<$&&d.a<$||$<k.a&&$<d.a?!1:!(T.a<$&&m.a<$||$<T.a&&$<m.a)}function k7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(P=u(tr(t.c,e),190),!P)throw at(new Rd("Edge did not exist in input."));return k=T7(P),o=NM((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a)),d=!o,d&&($=new cp,n=new ZZt(t,k,$),hin((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a),n),_1(P,TTt,$)),s=ad(e,(ai(),Iv)),s&&(T=u(ne(e,Iv),75),h=!T||$ee(T),m=!h,m&&(A=new cp,r=new FGt(A),Fa(T,r),_1(P,"junctionPoints",A))),ME(P,"container",AI(e).k),null}function Tge(t,e,n,r){var s,o,h,d,m,k;if(!HE(e)){if(k=n.eh((Lt(e,16)?u(e,16).gc():xg(e.Kc()))/t.a|0),k.Ug(K2e,1),m=new CR,d=0,r==(Rs(),Uo)||r==tc)for(h=e.Kc();h.Ob();)s=u(h.Pb(),39),m=ah(lt(ut(gh,1),Ln,20,0,[m,new gg(s)])),d<s.f.a&&(d=s.f.a);else for(h=e.Kc();h.Ob();)s=u(h.Pb(),39),m=ah(lt(ut(gh,1),Ln,20,0,[m,new gg(s)])),d<s.f.b&&(d=s.f.b);for(o=e.Kc();o.Ob();)s=u(o.Pb(),39),Zt(s,(ji(),cK),d);k.Vg(),Tge(t,m,n,r)}}function Bkt(t,e,n){var r,s,o,h,d,m,k,T;this.a=t,this.b=e,this.c=n,this.e=id(lt(ut(s_n,1),Ln,177,0,[new O6(t,e),new O6(e,n),new O6(n,t)])),this.f=id(lt(ut(la,1),ue,8,0,[t,e,n])),this.d=(r=ia(Oa(this.b),this.a),s=ia(Oa(this.c),this.a),o=ia(Oa(this.c),this.b),h=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),d=s.a*(this.a.a+this.c.a)+s.b*(this.a.b+this.c.b),m=2*(r.a*o.b-r.b*o.a),k=(s.b*h-r.b*d)/m,T=(r.a*d-s.a*h)/m,new ae(k,T))}function nv(t,e){var n,r,s,o,h,d;for(o=t.c,h=t.d,Xa(t,null),xa(t,null),e&&Ie(Me(X(h,(oe(),Gft))))?Xa(t,Dkt(h.i,(To(),ku),(ve(),Jn))):Xa(t,h),e&&Ie(Me(X(o,(oe(),Wft))))?xa(t,Dkt(o.i,(To(),vl),(ve(),Gn))):xa(t,o),r=new G(t.b);r.a<r.c.c.length;)n=u(et(r),72),s=u(X(n,(De(),l0)),278),s==(cd(),KT)?Zt(n,l0,$3):s==$3&&Zt(n,l0,KT);d=Ie(Me(X(t,(oe(),vd)))),Zt(t,vd,(Pn(),!d)),t.a=cO(t.a)}function E7n(t,e){var n,r,s,o,h;return n=S7(u(X(e,(Cc(),Mv)),88)),t.b.b==0?null:(h=u(nc(Wo(new ln(null,new gn(t.b,16)),new PZ),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),o=u(nc(_i(new ln(null,new gn(e.b,16)),new zUt(h)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),s=Ht(Vl(My(Wo(o.Oc(),new qUt(n)),(Nm(),Nm(),Oht)))),r=u(Vl(f7(_i(o.Oc(),new OXt(n,s)))),39),r)}function T7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;n=km(new H2,t.f),k=t.i[e.c.i.p],$=t.i[e.d.i.p],m=e.c,P=e.d,d=m.a.b,A=P.a.b,k.b||(d+=m.n.b),$.b||(A+=P.n.b),T=Ys(b.Math.max(0,d-A)),h=Ys(b.Math.max(0,A-d)),U=(J=b.Math.max(1,u(X(e,(De(),Yk)),17).a),tt=k3t(e.c.i.k,e.d.i.k),J*tt),s=Hf(Of(If(Mf(Nf(new tf,U),h),n),u(tr(t.k,e.c),125))),o=Hf(Of(If(Mf(Nf(new tf,U),T),n),u(tr(t.k,e.d),125))),r=new kXt(s,o),t.c[e.p]=r}function C7n(t,e,n){var r,s,o,h,d,m;for(r=0,o=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));o.e!=o.i.gc();)s=u(ar(o),27),h="",(!s.n&&(s.n=new Jt(Po,s,1,7)),s.n).i==0||(h=u(Dt((!s.n&&(s.n=new Jt(Po,s,1,7)),s.n),0),135).a),d=new JQt(h),Qo(d,s),Zt(d,(Pb(),$k),s),d.a=r++,d.d.a=s.i+s.g/2,d.d.b=s.j+s.f/2,d.e.a=b.Math.max(s.g,1),d.e.b=b.Math.max(s.f,1),ge(e.e,d),yu(n.f,s,d),m=u(ne(s,(Vf(),pCt)),101),m==(ka(),d2)&&(m=Td)}function S7n(t,e){var n,r,s,o,h,d,m;e.Ug("Layer constraint postprocessing",1),m=t.b,m.c.length!=0&&(r=(vn(0,m.c.length),u(m.c[0],30)),h=u(Oe(m,m.c.length-1),30),n=new eu(t),o=new eu(t),dEn(t,r,h,n,o),n.a.c.length==0||(Fy(0,m.c.length),sS(m.c,0,n)),o.a.c.length==0||In(m.c,o)),qi(t,(oe(),Uft))&&(s=new eu(t),d=new eu(t),i8n(t,s,d),s.a.c.length==0||(Fy(0,m.c.length),sS(m.c,0,s)),d.a.c.length==0||In(m.c,d)),e.Vg()}function WO(t){var e,n,r;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:r="\\"+String.fromCharCode(t&js);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:t<32?(n=(e=t>>>0,"0"+e.toString(16)),r="\\x"+Lh(n,n.length-2,n.length)):t>=po?(n=(e=t>>>0,"0"+e.toString(16)),r="\\v"+Lh(n,n.length-6,n.length)):r=""+String.fromCharCode(t&js)}return r}function Cge(t){var e,n,r;if(z4(u(X(t,(De(),bs)),101)))for(n=new G(t.j);n.a<n.c.c.length;)e=u(et(n),12),e.j==(ve(),bc)&&(r=u(X(e,(oe(),ml)),10),r?Xs(e,u(X(r,Dc),64)):e.e.c.length-e.g.c.length<0?Xs(e,Jn):Xs(e,Gn));else{for(n=new G(t.j);n.a<n.c.c.length;)e=u(et(n),12),r=u(X(e,(oe(),ml)),10),r?Xs(e,u(X(r,Dc),64)):e.e.c.length-e.g.c.length<0?Xs(e,(ve(),Jn)):Xs(e,(ve(),Gn));Zt(t,bs,(ka(),YT))}}function Rkt(t){var e,n,r,s,o,h;for(this.e=new fe,this.a=new fe,n=t.b-1;n<3;n++)CE(t,0,u(jh(t,0),8));if(t.b<4)throw at(new zn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,t6n(this,t.b+this.b-1),h=new fe,o=new G(this.e),e=0;e<this.b-1;e++)ge(h,Ht(et(o)));for(s=Dr(t,0);s.b!=s.d.c;)r=u(Ar(s),8),ge(h,Ht(et(o))),ge(this.a,new Fne(r,h)),vn(0,h.c.length),h.c.splice(0,1)}function Sge(t,e){var n,r,s,o,h,d,m,k,T;for(o=new G(t.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(s.a);d.a<d.c.c.length;)for(h=u(et(d),10),h.k==(Un(),Vc)&&(m=(k=u(dr(new rr(sr(ua(h).a.Kc(),new z))),18),T=u(dr(new rr(sr(_s(h).a.Kc(),new z))),18),!Ie(Me(X(k,(oe(),vd))))||!Ie(Me(X(T,vd)))?e:zce(e)),xk(h,m)),r=new rr(sr(_s(h).a.Kc(),new z));Mr(r);)n=u(dr(r),18),m=Ie(Me(X(n,(oe(),vd))))?zce(e):e,Nce(n,m)}function _7n(t,e,n,r,s){var o,h,d;if(n.f>=e.o&&n.f<=e.f||e.a*.5<=n.f&&e.a*1.5>=n.f){if(h=u(Oe(e.n,e.n.c.length-1),209),h.e+h.d+n.g+s<=r&&(o=u(Oe(e.n,e.n.c.length-1),209),o.f-t.f+n.f<=t.b||t.a.c.length==1))return O5t(e,n),!0;if(e.s+n.g<=r&&(e.t+e.d+n.f+s<=t.b||t.a.c.length==1))return ge(e.b,n),d=u(Oe(e.n,e.n.c.length-1),209),ge(e.n,new aq(e.s,d.f+d.a+e.i,e.i)),dxt(u(Oe(e.n,e.n.c.length-1),209),n),vge(e,n),!0}return!1}function _ge(t,e,n){var r,s,o,h;return t.Pj()?(s=null,o=t.Qj(),r=t.Ij(1,h=Kst(t,e,n),n,e,o),t.Mj()&&!(t.Yi()&&h!=null?Ti(h,n):$t(h)===$t(n))?(h!=null&&(s=t.Oj(h,s)),s=t.Nj(n,s),t.Tj()&&(s=t.Wj(h,n,s)),s?(s.nj(r),s.oj()):t.Jj(r)):(t.Tj()&&(s=t.Wj(h,n,s)),s?(s.nj(r),s.oj()):t.Jj(r)),h):(h=Kst(t,e,n),t.Mj()&&!(t.Yi()&&h!=null?Ti(h,n):$t(h)===$t(n))&&(s=null,h!=null&&(s=t.Oj(h,null)),s=t.Nj(n,s),s&&s.oj()),h)}function A7n(t,e){var n,r,s,o,h;if(e.Ug("Path-Like Graph Wrapping",1),t.b.c.length==0){e.Vg();return}if(s=new q6t(t),h=(s.i==null&&(s.i=N4t(s,new bR)),Rt(s.i)*s.f),n=h/(s.i==null&&(s.i=N4t(s,new bR)),Rt(s.i)),s.b>n){e.Vg();return}switch(u(X(t,(De(),d1t)),351).g){case 2:o=new mR;break;case 0:o=new oC;break;default:o=new vR}if(r=o.og(t,s),!o.pg())switch(u(X(t,WG),352).g){case 2:r=w1e(s,r);break;case 1:r=ofe(s,r)}TTn(t,s,r),e.Vg()}function N_(t,e){var n,r,s,o,h,d,m,k;e%=24,t.q.getHours()!=e&&(r=new b.Date(t.q.getTime()),r.setDate(r.getDate()+1),d=t.q.getTimezoneOffset()-r.getTimezoneOffset(),d>0&&(m=d/60|0,k=d%60,s=t.q.getDate(),n=t.q.getHours(),n+m>=24&&++s,o=new b.Date(t.q.getFullYear(),t.q.getMonth(),s,e+m,t.q.getMinutes()+k,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(o.getTime()))),h=t.q.getTime(),t.q.setTime(h+36e5),t.q.getHours()!=e&&t.q.setTime(h)}function L7n(t,e){var n,r,s,o;if(qfn(t.d,t.e),t.c.a.$b(),Rt(Ht(X(e.j,(De(),FG))))!=0||Rt(Ht(X(e.j,FG)))!=0)for(n=S5,$t(X(e.j,U0))!==$t((Wd(),Up))&&Zt(e.j,(oe(),i2),(Pn(),!0)),o=u(X(e.j,$A),17).a,s=0;s<o&&(r=H7n(t,e),!(r<n&&(n=r,Qoe(t),n==0)));s++);else for(n=xi,$t(X(e.j,U0))!==$t((Wd(),Up))&&Zt(e.j,(oe(),i2),(Pn(),!0)),o=u(X(e.j,$A),17).a,s=0;s<o&&(r=Ige(t,e),!(r<n&&(n=r,Qoe(t),n==0)));s++);}function D7n(t,e){var n,r,s,o,h,d,m,k;for(h=new fe,d=0,n=0,m=0;d<e.c.length-1&&n<t.gc();){for(r=u(t.Xb(n),17).a+m;(vn(d+1,e.c.length),u(e.c[d+1],17)).a<r;)++d;for(k=0,o=r-(vn(d,e.c.length),u(e.c[d],17)).a,s=(vn(d+1,e.c.length),u(e.c[d+1],17)).a-r,o>s&&++k,ge(h,(vn(d+k,e.c.length),u(e.c[d+k],17))),m+=(vn(d+k,e.c.length),u(e.c[d+k],17)).a-r,++n;n<t.gc()&&u(t.Xb(n),17).a+m<=(vn(d+k,e.c.length),u(e.c[d+k],17)).a;)++n;d+=1+k}return h}function M7n(t,e){var n,r,s,o,h;for(h=new rr(sr(ua(e).a.Kc(),new z));Mr(h);)if(o=u(dr(h),18),t.f.b==0?(s=o.c.i.k==(Un(),xs)&&!!o.c.i.c&&o.c.i.c.p==t.c,Mr(new rr(sr(ua(o.c.i).a.Kc(),new z)))?(n=u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.c,r=o.c.i.k==Vc&&!!n&&n.p==t.c):r=!1):(s=o.c.i.k==(Un(),xs)&&o.c.i.p==t.c,r=o.c.i.k==Vc&&u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.p==t.c),s||r)return!0;return!1}function I7n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=new fe,ht=gq(r),tt=e*t.a,A=0,U=0,o=new Os,h=new Os,d=new fe,Tt=0,At=0,$=0,J=0,k=0,T=0;ht.a.gc()!=0;)m=S2n(ht,s,h),m&&(ht.a.Bc(m)!=null,In(d.c,m),o.a.zc(m,o),U=t.f[m.p],Tt+=t.e[m.p]-U*t.b,A=t.c[m.p],At+=A*t.b,T+=U*t.b,J+=t.e[m.p]),(!m||ht.a.gc()==0||Tt>=tt&&t.e[m.p]>U*t.b||At>=n*tt)&&(In(P.c,d),d=new fe,Ma(h,o),o.a.$b(),k-=T,$=b.Math.max($,k*t.b+J),k+=At,Tt=At,At=0,T=0,J=0);return new Ws($,P)}function pct(t){var e,n,r,s,o,h,d;if(!t.d){if(d=new Jtt,e=_L,o=e.a.zc(t,e),o==null){for(r=new Zn(Yo(t));r.e!=r.i.gc();)n=u(ar(r),29),gs(d,pct(n));e.a.Bc(t)!=null,e.a.gc()==0}for(h=d.i,s=(!t.q&&(t.q=new Jt(vf,t,11,10)),new Zn(t.q));s.e!=s.i.gc();++h)u(ar(s),411);gs(d,(!t.q&&(t.q=new Jt(vf,t,11,10)),t.q)),Uy(d),t.d=new $4((u(Dt(Qt((Lb(),Fn).o),9),19),d.i),d.g),t.e=u(d.g,688),t.e==null&&(t.e=DTe),_l(t).b&=-17}return t.d}function $7(t,e,n,r){var s,o,h,d,m,k;if(k=Lu(t.e.Dh(),e),m=0,s=u(t.g,124),vo(),u(e,69).xk()){for(h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if(Ti(o,n))return m;++m}}else if(n!=null){for(d=0;d<t.i;++d)if(o=s[d],k.am(o.Lk())){if(Ti(n,o.md()))return m;++m}if(r){for(m=0,h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if($t(n)===$t(lit(t,u(o.md(),58))))return m;++m}}}else for(h=0;h<t.i;++h)if(o=s[h],k.am(o.Lk())){if(o.md()==null)return m;++m}return-1}function O7n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J;if(n.Xh(e)&&(T=($=e,$?u(r,54).gi($):null),T))if(J=n.Nh(e,t.a),U=e.t,U>1||U==-1)if(A=u(J,71),P=u(T,71),A.dc())P.$b();else for(h=!!yo(e),o=0,d=t.a?A.Kc():A.Ii();d.Ob();)k=u(d.Pb(),58),s=u(od(t,k),58),s?(h?(m=P.dd(s),m==-1?P.Gi(o,s):o!=m&&P.Ui(o,s)):P.Gi(o,s),++o):t.b&&!h&&(P.Gi(o,k),++o);else J==null?T.Wb(null):(s=od(t,J),s==null?t.b&&!yo(e)&&T.Wb(J):T.Wb(s))}function N7n(t,e){var n,r,s,o,h,d,m,k;for(n=new gQ,s=new rr(sr(ua(e).a.Kc(),new z));Mr(s);)if(r=u(dr(s),18),!go(r)&&(d=r.c.i,Yxt(d,QU))){if(k=dkt(t,d,QU,XU),k==-1)continue;n.b=b.Math.max(n.b,k),!n.a&&(n.a=new fe),ge(n.a,d)}for(h=new rr(sr(_s(e).a.Kc(),new z));Mr(h);)if(o=u(dr(h),18),!go(o)&&(m=o.d.i,Yxt(m,XU))){if(k=dkt(t,m,XU,QU),k==-1)continue;n.d=b.Math.max(n.d,k),!n.c&&(n.c=new fe),ge(n.c,m)}return n}function P7n(t,e,n,r){var s,o,h,d,m,k,T;if(n.d.i!=e.i){for(s=new Ig(t),y(s,(Un(),fa)),Zt(s,(oe(),Li),n),Zt(s,(De(),bs),(ka(),hu)),In(r.c,s),h=new Yc,hc(h,s),Xs(h,(ve(),Gn)),d=new Yc,hc(d,s),Xs(d,Jn),T=n.d,xa(n,h),o=new Pm,Qo(o,n),Zt(o,Vo,null),Xa(o,d),xa(o,T),k=new La(n.b,0);k.b<k.d.gc();)m=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),72)),$t(X(m,l0))===$t((cd(),$3))&&(Zt(m,Vk,n),Kl(k),ge(o.b,m));ade(s,h,d)}}function F7n(t,e,n,r){var s,o,h,d,m,k,T;if(n.c.i!=e.i)for(s=new Ig(t),y(s,(Un(),fa)),Zt(s,(oe(),Li),n),Zt(s,(De(),bs),(ka(),hu)),In(r.c,s),h=new Yc,hc(h,s),Xs(h,(ve(),Gn)),d=new Yc,hc(d,s),Xs(d,Jn),xa(n,h),o=new Pm,Qo(o,n),Zt(o,Vo,null),Xa(o,d),xa(o,e),ade(s,h,d),k=new La(n.b,0);k.b<k.d.gc();)m=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),72)),T=u(X(m,l0),278),T==(cd(),$3)&&(qi(m,Vk)||Zt(m,Vk,n),Kl(k),ge(o.b,m))}function Age(t){F7();var e,n,r,s;if(e=Ys(t),t<xA.length)return xA[e];if(t<=50)return RO((Xd(),Iht),e);if(t<=Rp)return nk(RO(Bk[1],e),e);if(t>1e6)throw at(new f$("power of ten too big"));if(t<=xi)return nk(RO(Bk[1],e),e);for(r=RO(Bk[1],xi),s=r,n=Pc(t-xi),e=Ys(t%xi);$c(n,xi)>0;)s=Z4(s,r),n=sf(n,xi);for(s=Z4(s,RO(Bk[1],e)),s=nk(s,xi),n=Pc(t-xi);$c(n,xi)>0;)s=nk(s,xi),n=sf(n,xi);return s=nk(s,e),s}function Lge(t){var e,n,r,s,o,h,d,m,k,T;for(m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),d.k==(Un(),Ms)&&(s=u(X(d,(oe(),Dc)),64),s==(ve(),Jn)||s==Gn))for(r=new rr(sr(Dg(d).a.Kc(),new z));Mr(r);)n=u(dr(r),18),e=n.a,e.b!=0&&(k=n.c,k.i==d&&(o=(ur(e.b!=0),u(e.a.a.c,8)),o.b=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])).b),T=n.d,T.i==d&&(h=(ur(e.b!=0),u(e.c.b.c,8)),h.b=dc(lt(ut(la,1),ue,8,0,[T.i.n,T.n,T.a])).b))}function P_(t,e,n,r){var s,o,h;if(this.j=new fe,this.k=new fe,this.b=new fe,this.c=new fe,this.e=new B6,this.i=new Qu,this.f=new Rnt,this.d=new fe,this.g=new fe,ge(this.b,t),ge(this.b,e),this.e.c=b.Math.min(t.a,e.a),this.e.d=b.Math.min(t.b,e.b),this.e.b=b.Math.abs(t.a-e.a),this.e.a=b.Math.abs(t.b-e.b),s=u(X(r,(De(),Vo)),75),s)for(h=Dr(s,0);h.b!=h.d.c;)o=u(Ar(h),8),u4t(o.a,t.a)&&Zr(this.i,o);n&&ge(this.j,n),ge(this.k,r)}function B7n(t,e,n,r){var s,o,h,d,m,k,T;for(d=-1,T=new G(t);T.a<T.c.c.length;)k=u(et(T),118),k.g=d--,s=qr(lq(Wz(_i(new ln(null,new gn(k.f,16)),new bZ),new wZ)).d),o=qr(lq(Wz(_i(new ln(null,new gn(k.k,16)),new mZ),new vZ)).d),h=s,m=o,r||(h=qr(lq(Wz(new ln(null,new gn(k.f,16)),new yZ)).d),m=qr(lq(Wz(new ln(null,new gn(k.k,16)),new gZ)).d)),k.d=h,k.a=s,k.i=m,k.b=o,m==0?hs(n,k,n.c.b,n.c):h==0&&hs(e,k,e.c.b,e.c)}function xk(t,e){var n,r,s,o,h,d;if(t.k==(Un(),Vc)&&(n=t.k==Vc&&!wE(_i(u(X(t,(oe(),IA)),15).Oc(),new Sl(new OB))).Bd((U2(),Rk))?(uh(),OP):e,Zt(t,(oe(),Gk),n),n!=(uh(),h2)))for(r=u(X(t,Li),18),d=Rt(Ht(X(r,(De(),Hp)))),h=0,n==K0?h=t.o.b-b.Math.ceil(d/2):n==OP&&(h=b.Math.ceil(t.o.b-Rt(Ht(X(Pa(t),Y5)))-d)/2,t.o.b-=Rt(Ht(X(Pa(t),Y5))),t.o.b-=d),o=new G(t.j);o.a<o.c.c.length;)s=u(et(o),12),s.n.b=h}function Dge(t,e,n){var r,s,o,h,d,m,k,T,A;for(s=!0,h=new G(t.b);h.a<h.c.c.length;){for(o=u(et(h),30),k=Vs,T=null,m=new G(o.a);m.a<m.c.c.length;)if(d=u(et(m),10),A=Rt(e.p[d.p])+Rt(e.d[d.p])-d.d.d,r=Rt(e.p[d.p])+Rt(e.d[d.p])+d.o.b+d.d.a,A>k&&r>k)T=d,k=Rt(e.p[d.p])+Rt(e.d[d.p])+d.o.b+d.d.a;else{s=!1,n._g()&&n.bh("bk node placement breaks on "+d+" which should have been after "+T);break}if(!s)break}return n._g()&&n.bh(e+" is feasible: "+s),s}function jkt(t,e,n,r){var s,o,h,d,m,k,T,A,P;if(o=new Ig(t),y(o,(Un(),uu)),Zt(o,(De(),bs),(ka(),hu)),s=0,e){for(h=new Yc,Zt(h,(oe(),Li),e),Zt(o,Li,e.i),Xs(h,(ve(),Gn)),hc(h,o),P=Kd(e.e),k=P,T=0,A=k.length;T<A;++T)m=k[T],xa(m,h);Zt(e,ml,o),++s}if(n){for(d=new Yc,Zt(o,(oe(),Li),n.i),Zt(d,Li,n),Xs(d,(ve(),Jn)),hc(d,o),P=Kd(n.g),k=P,T=0,A=k.length;T<A;++T)m=k[T],Xa(m,d);Zt(n,ml,o),++s}return Zt(o,(oe(),LG),he(s)),In(r.c,o),o}function R7n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(n=(k=new si(t.c.b).a.vc().Kc(),new Qi(k));n.a.Ob();)e=(d=u(n.a.Pb(),44),u(d.md(),143)),s=e.a,s==null&&(s=""),r=lan(t.c,s),!r&&s.length==0&&(r=Jbn(t)),r&&!Ky(r.c,e,!1)&&Zr(r.c,e);for(h=Dr(t.a,0);h.b!=h.d.c;)o=u(Ar(h),486),T=Lst(t.c,o.a),$=Lst(t.c,o.b),T&&$&&Zr(T.c,new Ws($,o.c));for(nh(t.a),P=Dr(t.b,0);P.b!=P.d.c;)A=u(Ar(P),486),e=uan(t.c,A.a),m=Lst(t.c,A.b),e&&m&&qrn(e,m,A.c);nh(t.b)}function j7n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;o=new uE(t),h=new zhe,s=(NI(h.g),NI(h.j),dl(h.b),NI(h.d),NI(h.i),dl(h.k),dl(h.c),dl(h.e),$=E1e(h,o,null),mde(h,o),$),e&&(k=new uE(e),d=W7n(k),c6t(s,lt(ut(nMt,1),Ln,536,0,[d]))),P=!1,A=!1,n&&(k=new uE(n),gU in k.a&&(P=vg(k,gU).qe().a),ame in k.a&&(A=vg(k,ame).qe().a)),T=NWt(Eoe(new S6,P),A),k4n(new hy,s,T),gU in o.a&&_1(o,gU,null),(P||A)&&(m=new _6,hge(T,m,P,A),_1(o,gU,m)),r=new OGt(h),abn(new Tmt(s),r)}function $7n(t,e,n){var r,s,o,h,d,m,k,T,A;for(h=new Ghe,k=lt(ut(Fr,1),ii,28,15,[0]),s=-1,o=0,r=0,m=0;m<t.b.c.length;++m)if(T=u(Oe(t.b,m),443),T.b>0){if(s<0&&T.a&&(s=m,o=k[0],r=0),s>=0){if(d=T.b,m==s&&(d-=r++,d==0))return 0;if(!Ope(e,k,T,d,h)){m=s-1,k[0]=o;continue}}else if(s=-1,!Ope(e,k,T,0,h))return 0}else{if(s=-1,Va(T.c,0)==32){if(A=k[0],Oae(e,k),k[0]>A)continue}else if(Ehn(e,T.c,k[0])){k[0]+=T.c.length;continue}return 0}return CCn(h,n)?k[0]:0}function z7n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=new Rz(new e$(n)),d=Vt(Fl,$0,28,t.f.e.c.length,16,1),Eyt(d,d.length),n[e.a]=0,k=new G(t.f.e);k.a<k.c.c.length;)m=u(et(k),153),m.a!=e.a&&(n[m.a]=xi),V6(D7(T,m),X7);for(;T.b.c.length!=0;)for(A=u(Yst(T),153),d[A.a]=!0,o=AJt(new ort(t.b,A),0);o.c;)s=u(s4t(o),289),P=Zmn(s,A),!d[P.a]&&(qi(s,(TO(),YU))?h=Rt(Ht(X(s,YU))):h=t.c,r=n[A.a]+h,r<n[P.a]&&(n[P.a]=r,Voe(T,P),V6(D7(T,P),X7)))}function q7n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;for(h=t.o,r=Vt(Fr,ii,28,h,15,1),s=Vt(Fr,ii,28,h,15,1),n=t.p,e=Vt(Fr,ii,28,n,15,1),o=Vt(Fr,ii,28,n,15,1),k=0;k<h;k++){for(A=0;A<n&&!u5(t,k,A);)++A;r[k]=A}for(T=0;T<h;T++){for(A=n-1;A>=0&&!u5(t,T,A);)--A;s[T]=A}for($=0;$<n;$++){for(d=0;d<h&&!u5(t,d,$);)++d;e[$]=d}for(U=0;U<n;U++){for(d=h-1;d>=0&&!u5(t,d,U);)--d;o[U]=d}for(m=0;m<h;m++)for(P=0;P<n;P++)m<o[P]&&m>e[P]&&P<s[m]&&P>r[m]&&cV(t,m,P,!1,!0)}function $kt(t){var e,n,r,s,o,h,d,m;n=Ie(Me(X(t,(Vf(),_3e)))),o=t.a.c.d,d=t.a.d.d,n?(h=qd(ia(new ae(d.a,d.b),o),.5),m=qd(Oa(t.e),.5),e=ia(ki(new ae(o.a,o.b),h),m),Xmt(t.d,e)):(s=Rt(Ht(X(t.a,F3e))),r=t.d,o.a>=d.a?o.b>=d.b?(r.a=d.a+(o.a-d.a)/2+s,r.b=d.b+(o.b-d.b)/2-s-t.e.b):(r.a=d.a+(o.a-d.a)/2+s,r.b=o.b+(d.b-o.b)/2+s):o.b>=d.b?(r.a=o.a+(d.a-o.a)/2+s,r.b=d.b+(o.b-d.b)/2+s):(r.a=o.a+(d.a-o.a)/2+s,r.b=o.b+(d.b-o.b)/2-s-t.e.b))}function F_(t){var e,n,r,s,o,h,d,m;if(!t.f){if(m=new cM,d=new cM,e=_L,h=e.a.zc(t,e),h==null){for(o=new Zn(Yo(t));o.e!=o.i.gc();)s=u(ar(o),29),gs(m,F_(s));e.a.Bc(t)!=null,e.a.gc()==0}for(r=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));r.e!=r.i.gc();)n=u(ar(r),179),Lt(n,102)&&Or(d,u(n,19));Uy(d),t.r=new yte(t,(u(Dt(Qt((Lb(),Fn).o),6),19),d.i),d.g),gs(m,t.r),Uy(m),t.f=new $4((u(Dt(Qt(Fn.o),5),19),m.i),m.g),_l(t).b&=-3}return t.f}function Mge(t){wm(t,new dw(gm(hm(dm(fm(new G1,vw),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new g1))),le(t,vw,Lut,Se(cCt)),le(t,vw,Dut,Se(Xht)),le(t,vw,Dk,Se(f3e)),le(t,vw,ov,Se(oCt)),le(t,vw,A8t,Se(b3e)),le(t,vw,L8t,Se(p3e)),le(t,vw,_8t,Se(w3e)),le(t,vw,D8t,Se(g3e)),le(t,vw,B8t,Se(d3e)),le(t,vw,R8t,Se(Yht)),le(t,vw,j8t,Se(aCt)),le(t,vw,$8t,Se(HU))}function fV(){fV=V,LIt=lt(ut(Yh,1),Zd,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),aTe=new RegExp(`[ 	

1335 \r\f]+`);try{TL=lt(ut(E_n,1),Ln,2114,0,[new AM((wmt(),mH("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",hI((h$(),h$(),mA))))),new AM(mH("yyyy-MM-dd'T'HH:mm:ss'.'SSS",hI(mA))),new AM(mH("yyyy-MM-dd'T'HH:mm:ss",hI(mA))),new AM(mH("yyyy-MM-dd'T'HH:mm",hI(mA))),new AM(mH("yyyy-MM-dd",hI(mA)))])}catch(t){if(t=es(t),!Lt(t,82))throw at(t)}}function H7n(t,e){var n,r,s,o;if(s=Dl(t.d,1)!=0,r=ykt(t,e),r==0&&Ie(Me(X(e.j,(oe(),i2)))))return 0;!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,U5)))||$t(X(e.j,(De(),U0)))===$t((Wd(),Up))?e.c.mg(e.e,s):s=Ie(Me(X(e.j,i2))),qO(t,e,s,!0),Ie(Me(X(e.j,U5)))&&Zt(e.j,U5,(Pn(),!1)),Ie(Me(X(e.j,i2)))&&(Zt(e.j,i2,(Pn(),!1)),Zt(e.j,U5,!0)),n=ykt(t,e);do{if(I4t(t),n==0)return 0;s=!s,o=n,qO(t,e,s,!1),n=ykt(t,e)}while(o>n);return o}function Ige(t,e){var n,r,s,o;if(s=Dl(t.d,1)!=0,r=GH(t,e),r==0&&Ie(Me(X(e.j,(oe(),i2)))))return 0;!Ie(Me(X(e.j,(oe(),i2))))&&!Ie(Me(X(e.j,U5)))||$t(X(e.j,(De(),U0)))===$t((Wd(),Up))?e.c.mg(e.e,s):s=Ie(Me(X(e.j,i2))),qO(t,e,s,!0),Ie(Me(X(e.j,U5)))&&Zt(e.j,U5,(Pn(),!1)),Ie(Me(X(e.j,i2)))&&(Zt(e.j,i2,(Pn(),!1)),Zt(e.j,U5,!0)),n=GH(t,e);do{if(I4t(t),n==0)return 0;s=!s,o=n,qO(t,e,s,!1),n=GH(t,e)}while(o>n);return o}function zkt(t,e,n,r){var s,o,h,d,m,k,T,A,P;return m=ia(new ae(n.a,n.b),t),k=m.a*e.b-m.b*e.a,T=e.a*r.b-e.b*r.a,A=(m.a*r.b-m.b*r.a)/T,P=k/T,T==0?k==0?(s=ki(new ae(n.a,n.b),qd(new ae(r.a,r.b),.5)),o=Nb(t,s),h=Nb(ki(new ae(t.a,t.b),e),s),d=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,o<h&&o<=d?new ae(t.a,t.b):h<=d?ki(new ae(t.a,t.b),e):null):null:A>=0&&A<=1&&P>=0&&P<=1?ki(new ae(t.a,t.b),qd(new ae(e.a,e.b),A)):null}function V7n(t,e,n){var r,s,o,h,d;if(r=u(X(t,(De(),t1t)),21),n.a>e.a&&(r.Hc((fw(),cL))?t.c.a+=(n.a-e.a)/2:r.Hc(uL)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((fw(),hL))?t.c.b+=(n.b-e.b)/2:r.Hc(lL)&&(t.c.b+=n.b-e.b)),u(X(t,(oe(),lu)),21).Hc((Co(),Uh))&&(n.a>e.a||n.b>e.b))for(d=new G(t.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(s=u(X(h,Dc),64),s==(ve(),Jn)?h.n.a+=n.a-e.a:s==Er&&(h.n.b+=n.b-e.b));o=t.d,t.f.a=n.a-o.b-o.c,t.f.b=n.b-o.d-o.a}function U7n(t,e,n){var r,s,o,h,d;if(r=u(X(t,(De(),t1t)),21),n.a>e.a&&(r.Hc((fw(),cL))?t.c.a+=(n.a-e.a)/2:r.Hc(uL)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Hc((fw(),hL))?t.c.b+=(n.b-e.b)/2:r.Hc(lL)&&(t.c.b+=n.b-e.b)),u(X(t,(oe(),lu)),21).Hc((Co(),Uh))&&(n.a>e.a||n.b>e.b))for(h=new G(t.a);h.a<h.c.c.length;)o=u(et(h),10),o.k==(Un(),Ms)&&(s=u(X(o,Dc),64),s==(ve(),Jn)?o.n.a+=n.a-e.a:s==Er&&(o.n.b+=n.b-e.b));d=t.d,t.f.a=n.a-d.b-d.c,t.f.b=n.b-d.d-d.a}function G7n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(e=G1e(t),T=(d=new cr(e).a.vc().Kc(),new vi(d));T.a.Ob();){for(k=(s=u(T.a.Pb(),44),u(s.ld(),10)),A=0,P=0,A=k.d.d,P=k.o.b+k.d.a,t.d[k.p]=0,n=k;(o=t.a[n.p])!=k;)r=zwn(n,o),m=0,t.c==(Gd(),Gp)?m=r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:m=r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,h=Rt(t.d[n.p])+m,t.d[o.p]=h,A=b.Math.max(A,o.d.d-h),P=b.Math.max(P,h+o.o.b+o.d.a),n=o;n=k;do t.d[n.p]=Rt(t.d[n.p])+A,n=t.a[n.p];while(n!=k);t.b[k.p]=A+P}}function B_(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(o=0,h=t.t,s=0,r=0,m=0,P=0,A=0,n&&(t.n.c.length=0,ge(t.n,new aq(t.s,t.t,t.i))),d=0,T=new G(t.b);T.a<T.c.c.length;)k=u(et(T),27),o+k.g+(d>0?t.i:0)>e&&m>0&&(o=0,h+=m+t.i,s=b.Math.max(s,P),r+=m+t.i,m=0,P=0,n&&(++A,ge(t.n,new aq(t.s,h,t.i))),d=0),P+=k.g+(d>0?t.i:0),m=b.Math.max(m,k.f),n&&dxt(u(Oe(t.n,A),209),k),o+=k.g+(d>0?t.i:0),++d;return s=b.Math.max(s,P),r+=m,n&&(t.r=s,t.d=r,wxt(t.j)),new Ah(t.s,t.t,s,r)}function bct(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(t.b=!1,A=Zi,m=Vs,P=Zi,k=Vs,r=t.e.a.ec().Kc();r.Ob();)for(n=u(r.Pb(),272),s=n.a,A=b.Math.min(A,s.c),m=b.Math.max(m,s.c+s.b),P=b.Math.min(P,s.d),k=b.Math.max(k,s.d+s.a),h=new G(n.c);h.a<h.c.c.length;)o=u(et(h),407),e=o.a,e.a?(T=s.d+o.b.b,d=T+o.c,P=b.Math.min(P,T),k=b.Math.max(k,d)):(T=s.c+o.b.a,d=T+o.c,A=b.Math.min(A,T),m=b.Math.max(m,d));t.a=new ae(m-A,k-P),t.c=new ae(A+t.d.a,P+t.d.b)}function v5(t){var e,n,r,s,o,h,d,m;if(!t.a){if(t.o=null,m=new JGt(t),e=new pC,n=_L,d=n.a.zc(t,n),d==null){for(h=new Zn(Yo(t));h.e!=h.i.gc();)o=u(ar(h),29),gs(m,v5(o));n.a.Bc(t)!=null,n.a.gc()==0}for(s=(!t.s&&(t.s=new Jt(Wu,t,21,17)),new Zn(t.s));s.e!=s.i.gc();)r=u(ar(s),179),Lt(r,331)&&Or(e,u(r,35));Uy(e),t.k=new xte(t,(u(Dt(Qt((Lb(),Fn).o),7),19),e.i),e.g),gs(m,t.k),Uy(m),t.a=new $4((u(Dt(Qt(Fn.o),4),19),m.i),m.g),_l(t).b&=-2}return t.a}function qkt(t,e,n,r){var s,o,h,d,m,k,T;if(T=Lu(t.e.Dh(),e),s=0,o=u(t.g,124),m=null,vo(),u(e,69).xk()){for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(Ti(h,n)){m=h;break}++s}}else if(n!=null){for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(Ti(n,h.md())){m=h;break}++s}}else for(d=0;d<t.i;++d)if(h=o[d],T.am(h.Lk())){if(h.md()==null){m=h;break}++s}return m&&(Hl(t.e)&&(k=e.Jk()?new Cst(t.e,4,e,n,null,s,!0):Ib(t,e.tk()?2:1,e,n,e.ik(),-1,!0),r?r.nj(k):r=k),r=UO(t,m,r)),r}function wct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J;switch(U=0,J=0,m=s.c,d=s.b,T=n.f,$=n.g,e.g){case 0:U=r.i+r.g+h,t.c?J=h3n(U,o,r,h):J=r.j,P=b.Math.max(m,U+$),k=b.Math.max(d,J+T);break;case 1:J=r.j+r.f+h,t.c?U=l3n(J,o,r,h):U=r.i,P=b.Math.max(m,U+$),k=b.Math.max(d,J+T);break;case 2:U=m+h,J=0,P=m+h+$,k=b.Math.max(d,T);break;case 3:U=0,J=d+h,P=b.Math.max(m,$),k=d+h+T;break;default:throw at(new zn("IllegalPlacementOption."))}return A=new txt(t.a,P,k,e,U,J),A}function K7n(t){var e,n,r,s,o,h,d,m,k,T,A,P;if(d=t.d,A=u(X(t,(oe(),Wk)),15),e=u(X(t,Hk),15),!(!A&&!e)){if(o=Rt(Ht(Wy(t,(De(),u1t)))),h=Rt(Ht(Wy(t,dAt))),P=0,A){for(k=0,s=A.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),P+=r.o.a;P+=o*(A.gc()-1),d.d+=k+h}if(n=0,e){for(k=0,s=e.Kc();s.Ob();)r=u(s.Pb(),10),k=b.Math.max(k,r.o.b),n+=r.o.a;n+=o*(e.gc()-1),d.a+=k+h}m=b.Math.max(P,n),m>t.o.a&&(T=(m-t.o.a)/2,d.b=b.Math.max(d.b,T),d.c=b.Math.max(d.c,T))}}function W7n(t){var e,n,r,s,o,h,d,m;for(o=new Sre,Cin(o,(ck(),KEe)),r=(s=cat(t,Vt(Pe,ue,2,0,6,1)),new gr(new hl(new crt(t,s).b)));r.b<r.d.gc();)n=(ur(r.b<r.d.gc()),Gr(r.d.Xb(r.c=r.b++))),h=Ykt(b2,n),h&&(e=vg(t,n),e.te()?d=e.te().a:e.qe()?d=""+e.qe().a:e.re()?d=""+e.re().a:d=e.Ib(),m=Kkt(h,d),m!=null&&((Zu(h.j,(D1(),Qs))||Zu(h.j,_n))&&oO(Xst(o,bi),h,m),Zu(h.j,f0)&&oO(Xst(o,Ts),h,m),Zu(h.j,Bw)&&oO(Xst(o,kl),h,m),Zu(h.j,Wp)&&oO(Xst(o,Po),h,m)));return o}function YO(t,e,n){var r,s,o,h,d,m,k,T;if(s=u(t.g,124),Ng(t.e,e))return vo(),u(e,69).xk()?new Sz(e,t):new eI(e,t);for(k=Lu(t.e.Dh(),e),r=0,d=0;d<t.i;++d){if(o=s[d],h=o.Lk(),k.am(h)){if(vo(),u(e,69).xk())return o;if(h==(vk(),s8)||h==i8){for(m=new eh(rc(o.md()));++d<t.i;)o=s[d],h=o.Lk(),(h==s8||h==i8)&&ni(m,rc(o.md()));return Evt(u(e.Hk(),156),m.a)}else return T=o.md(),T!=null&&n&&Lt(e,102)&&u(e,19).Bb&po&&(T=C_(t,e,d,r,T)),T}++r}return e.ik()}function dV(t,e,n,r){var s,o,h,d,m,k;if(m=Lu(t.e.Dh(),e),o=u(t.g,124),Ng(t.e,e)){for(s=0,d=0;d<t.i;++d)if(h=o[d],m.am(h.Lk())){if(s==n)return vo(),u(e,69).xk()?h:(k=h.md(),k!=null&&r&&Lt(e,102)&&u(e,19).Bb&po&&(k=C_(t,e,d,s,k)),k);++s}throw at(new Bo(uA+n+Ew+s))}else{for(s=0,d=0;d<t.i;++d){if(h=o[d],m.am(h.Lk()))return vo(),u(e,69).xk()?h:(k=h.md(),k!=null&&r&&Lt(e,102)&&u(e,19).Bb&po&&(k=C_(t,e,d,s,k)),k);++s}return e.ik()}}function mct(){mct=V,eye=lt(ut(Fr,1),ii,28,15,[Ga,1162261467,z_,1220703125,362797056,1977326743,z_,387420489,EV,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,z_,1291467969,1544804416,1838265625,60466176]),nye=lt(ut(Fr,1),ii,28,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function vct(t,e){var n,r,s,o,h,d,m,k,T,A;if(h=t.e,m=e.e,m==0)return t;if(h==0)return e.e==0?e:new Y2(-e.e,e.d,e.a);if(o=t.d,d=e.d,o+d==2)return n=sa(t.a[0],So),r=sa(e.a[0],So),h<0&&(n=Cp(n)),m<0&&(r=Cp(r)),Xd(),J$(sf(n,r),0)?zb(sf(n,r)):FS(zb(Cp(sf(n,r))));if(s=o!=d?o>d?1:-1:o5t(t.a,e.a,o),s==-1)A=-m,T=h==m?Ost(e.a,d,t.a,o):Pst(e.a,d,t.a,o);else if(A=h,h==m){if(s==0)return Xd(),yA;T=Ost(t.a,o,e.a,d)}else T=Pst(t.a,o,e.a,d);return k=new Y2(A,T.length,T),qS(k),k}function Y7n(t,e){var n,r,s,o;if(o=pge(e),!e.c&&(e.c=new Jt(kl,e,9,9)),ms(new ln(null,(!e.c&&(e.c=new Jt(kl,e,9,9)),new gn(e.c,16))),new xVt(o)),s=u(X(o,(oe(),lu)),21),z9n(e,s),s.Hc((Co(),Uh)))for(r=new Zn((!e.c&&(e.c=new Jt(kl,e,9,9)),e.c));r.e!=r.i.gc();)n=u(ar(r),123),bCn(t,e,o,n);return u(ne(e,(De(),Ow)),181).gc()!=0&&o0e(e,o),Ie(Me(X(o,cAt)))&&s.Fc(_G),qi(o,sP)&&pWt(new V5t(Rt(Ht(X(o,sP)))),o),$t(ne(e,A3))===$t((Ag(),Xp))?$Sn(t,e,o):TSn(t,e,o),o}function X7n(t){var e,n,r,s,o,h,d,m;for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=new G(Rm(r.a));h.a<h.c.c.length;)if(o=u(et(h),10),Rae(o)&&(n=u(X(o,(oe(),vv)),313),!n.g&&n.d))for(e=n,m=n.d;m;)m0e(m.i,m.k,!1,!0),HI(e.a),HI(m.i),HI(m.k),HI(m.b),xa(m.c,e.c.d),xa(e.c,null),Aa(e.a,null),Aa(m.i,null),Aa(m.k,null),Aa(m.b,null),d=new y3t(e.i,m.a,e.e,m.j,m.f),d.k=e.k,d.n=e.n,d.b=e.b,d.c=m.c,d.g=e.g,d.d=m.d,Zt(e.i,vv,d),Zt(m.a,vv,d),m=m.d,e=d}function su(t,e){var n,r,s,o,h,d,m;if(t==null)return null;if(o=t.length,o==0)return"";for(m=Vt(Yh,Zd,28,o,15,1),Da(0,o,t.length),Da(0,o,m.length),kee(t,0,o,m,0),n=null,d=e,s=0,h=0;s<o;s++)r=m[s],sbe(),r<=32&&vt[r]&2?d?(!n&&(n=new ef(t)),Psn(n,s-h++)):(d=e,r!=32&&(!n&&(n=new ef(t)),dat(n,s-h,s-h+1,String.fromCharCode(32)))):d=!1;return d?n?(o=n.a.length,o>0?Lh(n.a,0,o-1):""):(Da(0,o-1,t.length),t.substr(0,o-1)):n?n.a:t}function Q7n(t,e){var n,r,s,o,h,d,m;for(e.Ug("Sort By Input Model "+X(t,(De(),U0)),1),s=0,r=new G(t.b);r.a<r.c.c.length;){for(n=u(et(r),30),m=s==0?0:s-1,d=u(Oe(t.b,m),30),h=new G(n.a);h.a<h.c.c.length;)o=u(et(h),10),$t(X(o,bs))!==$t((ka(),zw))&&$t(X(o,bs))!==$t(hu)&&(mn(),Ds(o.j,new Eue(d,u(X(t,U0),284),Bhe(o),Ie(Me(X(t,Zft))))),e.bh("Node "+o+" ports: "+o.j));mn(),Ds(n.a,new Woe(d,u(X(t,U0),284),u(X(t,B_t),390))),e.bh("Layer "+s+": "+n),++s}e.Vg()}function a3(t,e){var n,r,s,o,h;if(h=u(e,138),g5(t),g5(h),h.b!=null){if(t.c=!0,t.b==null){t.b=Vt(Fr,ii,28,h.b.length,15,1),Xc(h.b,0,t.b,0,h.b.length);return}for(o=Vt(Fr,ii,28,t.b.length+h.b.length,15,1),n=0,r=0,s=0;n<t.b.length||r<h.b.length;)n>=t.b.length?(o[s++]=h.b[r++],o[s++]=h.b[r++]):r>=h.b.length?(o[s++]=t.b[n++],o[s++]=t.b[n++]):h.b[r]<t.b[n]||h.b[r]===t.b[n]&&h.b[r+1]<t.b[n+1]?(o[s++]=h.b[r++],o[s++]=h.b[r++]):(o[s++]=t.b[n++],o[s++]=t.b[n++]);t.b=o}}function J7n(t,e){var n,r,s,o,h,d,m,k,T,A;return n=Ie(Me(X(t,(oe(),C3)))),d=Ie(Me(X(e,C3))),r=u(X(t,N1),12),m=u(X(e,N1),12),s=u(X(t,gf),12),k=u(X(e,gf),12),T=!!r&&r==m,A=!!s&&s==k,!n&&!d?new Ivt(u(et(new G(t.j)),12).p==u(et(new G(e.j)),12).p,T,A):(o=(!Ie(Me(X(t,C3)))||Ie(Me(X(t,nP))))&&(!Ie(Me(X(e,C3)))||Ie(Me(X(e,nP)))),h=(!Ie(Me(X(t,C3)))||!Ie(Me(X(t,nP))))&&(!Ie(Me(X(e,C3)))||!Ie(Me(X(e,nP)))),new Ivt(T&&o||A&&h,T,A))}function Oge(t){var e,n,r,s,o,h,d,m;for(r=0,n=0,m=new Ki,e=0,d=new G(t.n);d.a<d.c.c.length;)h=u(et(d),209),h.c.c.length==0?hs(m,h,m.c.b,m.c):(r=b.Math.max(r,h.d),n+=h.a+(e>0?t.i:0)),++e;for(_5t(t.n,m),t.d=n,t.r=r,t.g=0,t.f=0,t.e=0,t.o=Zi,t.p=Zi,o=new G(t.b);o.a<o.c.c.length;)s=u(et(o),27),t.p=b.Math.min(t.p,s.g),t.g=b.Math.max(t.g,s.g),t.f=b.Math.max(t.f,s.f),t.o=b.Math.min(t.o,s.f),t.e+=s.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),wxt(t.j)}function Nge(t){var e,n,r,s;return t.Db&64?zat(t):(e=new eh(mTt),r=t.k,r?ni(ni((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n.i>0&&(s=(!t.n&&(t.n=new Jt(Po,t,1,7)),u(Dt(t.n,0),135)).a,!s||ni(ni((e.a+=' "',e),s),'"'))),n=(!t.b&&(t.b=new kn(vr,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new kn(vr,t,5,8)),t.c.i<=1))),n?e.a+=" [":e.a+=" ",ni(e,Fmt(new ert,new Zn(t.b))),n&&(e.a+="]"),e.a+=But,n&&(e.a+="["),ni(e,Fmt(new ert,new Zn(t.c))),n&&(e.a+="]"),e.a)}function Z7n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(Wt=t.c,se=e.c,n=Xo(Wt.a,t,0),r=Xo(se.a,e,0),At=u(Ym(t,(To(),vl)).Kc().Pb(),12),Ze=u(Ym(t,ku).Kc().Pb(),12),Bt=u(Ym(e,vl).Kc().Pb(),12),On=u(Ym(e,ku).Kc().Pb(),12),ht=Kd(At.e),Ce=Kd(Ze.g),Tt=Kd(Bt.e),rn=Kd(On.g),Xy(t,r,se),h=Tt,T=0,U=h.length;T<U;++T)s=h[T],xa(s,At);for(d=rn,A=0,J=d.length;A<J;++A)s=d[A],Xa(s,Ze);for(Xy(e,n,Wt),m=ht,P=0,tt=m.length;P<tt;++P)s=m[P],xa(s,Bt);for(o=Ce,k=0,$=o.length;k<$;++k)s=o[k],Xa(s,On)}function tTn(t){var e,n,r,s,o,h,d;for(h=u(ne(t,(Y4(),ex)),27),r=new Zn((!h.e&&(h.e=new kn(Ts,h,7,4)),h.e));r.e!=r.i.gc();)n=u(ar(r),74),d=new ae(u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).j,u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).k),o=new ae(u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).b,u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166).c),s=new ae(o.a-d.a,o.b-d.b),e=b.Math.atan2(s.b,s.a),u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84).qf((Ub(),ndt),e)}function eTn(t,e){var n,r,s,o,h,d,m,k,T;for(e.Ug("Interactive Node Reorderer",1),T=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),d=new fe,s=new Zn(T);s.e!=s.i.gc();)n=u(ar(s),27),ad(n,(fd(),vP))&&In(d.c,n);for(o=new G(d);o.a<o.c.c.length;)n=u(et(o),27),Dq(T,n);for(mn(),Ds(d,new Ett),h=new G(d);h.a<h.c.c.length;)n=u(et(h),27),k=u(ne(n,(fd(),vP)),17).a,k=b.Math.min(k,T.i),h_(T,k,n);for(m=0,r=new Zn(T);r.e!=r.i.gc();)n=u(ar(r),27),Mi(n,(fd(),fDt),he(m)),++m;e.Vg()}function Hkt(t,e,n){var r,s,o,h,d,m,k,T;return b.Math.abs(e.s-e.c)<n0||b.Math.abs(n.s-n.c)<n0?0:(r=zde(t,e.j,n.e),s=zde(t,n.j,e.e),o=r==-1||s==-1,h=0,o?(r==-1&&(new J2((C1(),o2),n,e,1),++h),s==-1&&(new J2((C1(),o2),e,n,1),++h)):(d=a5(e.j,n.s,n.c),d+=a5(n.e,e.s,e.c),m=a5(n.j,e.s,e.c),m+=a5(e.e,n.s,n.c),k=r+16*d,T=s+16*m,k<T?new J2((C1(),F3),e,n,T-k):k>T?new J2((C1(),F3),n,e,k-T):k>0&&T>0&&(new J2((C1(),F3),e,n,0),new J2(F3,n,e,0))),h)}function nTn(t,e,n){var r,s,o;for(t.a=new fe,o=Dr(e.b,0);o.b!=o.d.c;){for(s=u(Ar(o),39);u(X(s,(Cc(),h0)),17).a>t.a.c.length-1;)ge(t.a,new Ws(S5,E7t));r=u(X(s,h0),17).a,n==(Rs(),Uo)||n==tc?(s.e.a<Rt(Ht(u(Oe(t.a,r),42).a))&&qt(u(Oe(t.a,r),42),s.e.a),s.e.a+s.f.a>Rt(Ht(u(Oe(t.a,r),42).b))&&re(u(Oe(t.a,r),42),s.e.a+s.f.a)):(s.e.b<Rt(Ht(u(Oe(t.a,r),42).a))&&qt(u(Oe(t.a,r),42),s.e.b),s.e.b+s.f.b>Rt(Ht(u(Oe(t.a,r),42).b))&&re(u(Oe(t.a,r),42),s.e.b+s.f.b))}}function Pge(t,e,n,r){var s,o,h,d,m,k,T;if(o=fH(r),d=Ie(Me(X(r,(De(),nAt)))),(d||Ie(Me(X(t,zG))))&&!z4(u(X(t,bs),101)))s=hk(o),m=Dkt(t,n,n==(To(),ku)?s:bO(s));else switch(m=new Yc,hc(m,t),e?(T=m.n,T.a=e.a-t.n.a,T.b=e.b-t.n.b,$fe(T,0,0,t.o.a,t.o.b),Xs(m,nge(m,o))):(s=hk(o),Xs(m,n==(To(),ku)?s:bO(s))),h=u(X(r,(oe(),lu)),21),k=m.j,o.g){case 2:case 1:(k==(ve(),Hn)||k==Er)&&h.Fc((Co(),q5));break;case 4:case 3:(k==(ve(),Jn)||k==Gn)&&h.Fc((Co(),q5))}return m}function Fge(t,e){var n,r,s,o,h,d;for(h=new sw(new mr(t.f.b).a);h.b;){if(o=Um(h),s=u(o.ld(),602),e==1){if(s.Af()!=(Rs(),Gh)&&s.Af()!=kd)continue}else if(s.Af()!=(Rs(),Uo)&&s.Af()!=tc)continue;switch(r=u(u(o.md(),42).b,86),d=u(u(o.md(),42).a,194),n=d.c,s.Af().g){case 2:r.g.c=t.e.a,r.g.b=b.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=b.Math.max(1,r.g.b-n);break;case 4:r.g.d=t.e.b,r.g.a=b.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=b.Math.max(1,r.g.a-n)}}}function rTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(d=Vt(Fr,ii,28,e.b.c.length,15,1),k=Vt(fft,te,273,e.b.c.length,0,1),m=Vt(V0,jp,10,e.b.c.length,0,1),A=t.a,P=0,$=A.length;P<$;++P){for(T=A[P],J=0,h=new G(T.e);h.a<h.c.c.length;)s=u(et(h),10),r=ymt(s.c),++d[r],U=Rt(Ht(X(e,(De(),Yf)))),d[r]>0&&m[r]&&(U=U4(t.b,m[r],s)),J=b.Math.max(J,s.c.c.b+U);for(o=new G(T.e);o.a<o.c.c.length;)s=u(et(o),10),s.n.b=J+s.d.d,n=s.c,n.c.b=J+s.d.d+s.o.b+s.d.a,k[Xo(n.b.b,n,0)]=s.k,m[Xo(n.b.b,n,0)]=s}}function Bge(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(r=new rr(sr(Og(e).a.Kc(),new z));Mr(r);)n=u(dr(r),74),Lt(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),193)||(m=Jo(u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84)),S_(n)||(h=e.i+e.g/2,d=e.j+e.f/2,T=m.i+m.g/2,A=m.j+m.f/2,P=new Sa,P.a=T-h,P.b=A-d,o=new ae(P.a,P.b),A7(o,e.g,e.f),P.a-=o.a,P.b-=o.b,h=T-P.a,d=A-P.b,k=new ae(P.a,P.b),A7(k,m.g,m.f),P.a-=k.a,P.b-=k.b,T=h+P.a,A=d+P.b,s=b5(n,!0,!0),QE(s,h),ZE(s,d),XE(s,T),JE(s,A),Bge(t,m)))}function Rge(t){wm(t,new dw(gm(hm(dm(fm(new G1,uv),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Itt))),le(t,uv,Ilt,Se(EK)),le(t,uv,iTt,Se(Tdt)),le(t,uv,sTt,Se(Edt)),le(t,uv,Olt,Se(zDt)),le(t,uv,Nlt,Se(kdt)),le(t,uv,ov,$Dt),le(t,uv,h3,8),le(t,uv,Plt,Se(OEe)),le(t,uv,aTt,Se(RDt)),le(t,uv,oTt,Se(jDt)),le(t,uv,TN,(Pn(),!1))}function iTn(t,e){var n,r,s,o,h,d,m,k,T,A;for(e.Ug("Simple node placement",1),A=u(X(t,(oe(),G5)),312),d=0,o=new G(t.b);o.a<o.c.c.length;){for(r=u(et(o),30),h=r.c,h.b=0,n=null,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),n&&(h.b+=Q5t(m,n,A.c)),h.b+=m.d.d+m.o.b+m.d.a,n=m;d=b.Math.max(d,h.b)}for(s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),h=r.c,T=(d-h.b)/2,n=null,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),n&&(T+=Q5t(m,n,A.c)),T+=m.d.d,m.n.b=T,T+=m.o.b+m.d.a,n=m;e.Vg()}function sTn(t,e){var n,r,s,o;for(dgn(e.b.j),ms(Wo(new ln(null,new gn(e.d,16)),new SJ),new _J),o=new G(e.d);o.a<o.c.c.length;){switch(s=u(et(o),105),s.e.g){case 0:n=u(Oe(s.j,0),113).d.j,C(s,u(Vl(G6(u(Ai(s.k,n),15).Oc(),R5)),113)),x(s,u(Vl(My(u(Ai(s.k,n),15).Oc(),R5)),113));break;case 1:r=yxt(s),C(s,u(Vl(G6(u(Ai(s.k,r[0]),15).Oc(),R5)),113)),x(s,u(Vl(My(u(Ai(s.k,r[1]),15).Oc(),R5)),113));break;case 2:U4n(t,s);break;case 3:ckn(s);break;case 4:fkn(t,s)}ggn(s)}t.a=null}function yct(t,e,n){var r,s,o,h,d,m,k,T;return r=t.a.o==(nd(),yd)?Zi:Vs,d=uge(t,new DXt(e,n)),!d.a&&d.c?(Zr(t.d,d),r):d.a?(s=d.a.c,m=d.a.d,n?(k=t.a.c==(Gd(),Dv)?m:s,o=t.a.c==Dv?s:m,h=t.a.g[o.i.p],T=Rt(t.a.p[h.p])+Rt(t.a.d[o.i.p])+o.n.b+o.a.b-Rt(t.a.d[k.i.p])-k.n.b-k.a.b):(k=t.a.c==(Gd(),Gp)?m:s,o=t.a.c==Gp?s:m,T=Rt(t.a.p[t.a.g[o.i.p].p])+Rt(t.a.d[o.i.p])+o.n.b+o.a.b-Rt(t.a.d[k.i.p])-k.n.b-k.a.b),t.a.n[t.a.g[s.i.p].p]=(Pn(),!0),t.a.n[t.a.g[m.i.p].p]=!0,T):r}function aTn(t,e,n,r){var s,o,h,d,m,k,T,A;if(r.gc()==0)return!1;if(m=(vo(),u(e,69).xk()),h=m?r:new $m(r.gc()),Ng(t.e,e)){if(e.Si())for(T=r.Kc();T.Ob();)k=T.Pb(),hV(t,e,k,Lt(e,102)&&(u(e,19).Bb&po)!=0)||(o=D0(e,k),h.Fc(o));else if(!m)for(T=r.Kc();T.Ob();)k=T.Pb(),o=D0(e,k),h.Fc(o)}else{for(A=Lu(t.e.Dh(),e),s=u(t.g,124),d=0;d<t.i;++d)if(o=s[d],A.am(o.Lk()))throw at(new zn(ON));if(r.gc()>1)throw at(new zn(ON));m||(o=D0(e,r.Kc().Pb()),h.Fc(o))}return K4t(t,g6t(t,e,n),h)}function gV(t,e,n){var r,s,o,h,d,m,k,T;if(Ng(t.e,e))m=(vo(),u(e,69).xk()?new Sz(e,t):new eI(e,t)),WH(m.c,m.b),xS(m,u(n,16));else{for(T=Lu(t.e.Dh(),e),r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],o=s.Lk(),T.am(o)){if(o==(vk(),s8)||o==i8){for(k=lxt(t,e,n),d=h,k?r3(t,h):++h;h<t.i;)s=r[h],o=s.Lk(),o==s8||o==i8?r3(t,h):++h;k||u(c5(t,d,D0(e,n)),76)}else lxt(t,e,n)?r3(t,h):u(c5(t,h,(vo(),u(e,69).xk()?u(n,76):D0(e,n))),76);return}lxt(t,e,n)||Or(t,(vo(),u(e,69).xk()?u(n,76):D0(e,n)))}}function jge(t,e,n){var r,s,o,h,d,m,k,T;return Ti(n,t.b)||(t.b=n,o=new cs,h=u(nc(Wo(new ln(null,new gn(n.f,16)),o),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,s=h.Hc((dk(),$N)),r=h.Hc(zN),s&&!r&&(t.f=!1),!s&&r&&(t.d=!1),s=h.Hc(jN),r=h.Hc(qN),s&&!r&&(t.c=!1),!s&&r&&(t.e=!1)),T=u(t.a.Ve(e,n),42),m=u(T.a,17).a,k=u(T.b,17).a,d=!1,m<0?t.c||(d=!0):t.e||(d=!0),k<0?t.d||(d=!0):t.f||(d=!0),d?jge(t,T,n):T}function oTn(t){var e,n,r,s;s=t.o,Ay(),t.A.dc()||Ti(t.A,tCt)?e=s.b:(e=PO(t.f),t.A.Hc((Yl(),BP))&&!t.B.Hc((Ml(),kL))&&(e=b.Math.max(e,PO(u(Io(t.p,(ve(),Jn)),252))),e=b.Math.max(e,PO(u(Io(t.p,Gn),252)))),n=wce(t),n&&(e=b.Math.max(e,n.b)),t.A.Hc(RP)&&(t.q==(ka(),Y0)||t.q==hu)&&(e=b.Math.max(e,Cz(u(Io(t.b,(ve(),Jn)),127))),e=b.Math.max(e,Cz(u(Io(t.b,Gn),127))))),Ie(Me(t.e.Tf().of((ai(),R3))))?s.b=b.Math.max(s.b,e):s.b=e,r=t.f.i,r.d=0,r.a=e,gct(t.f)}function $ge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(A=0;A<e.length;A++){for(d=t.Kc();d.Ob();)o=u(d.Pb(),230),o.hg(A,e);for(P=0;P<e[A].length;P++){for(m=t.Kc();m.Ob();)o=u(m.Pb(),230),o.ig(A,P,e);for(J=e[A][P].j,$=0;$<J.c.length;$++){for(k=t.Kc();k.Ob();)o=u(k.Pb(),230),o.jg(A,P,$,e);for(U=(vn($,J.c.length),u(J.c[$],12)),n=0,s=new sd(U.b);lc(s.a)||lc(s.b);)for(r=u(lc(s.a)?et(s.a):et(s.b),18),T=t.Kc();T.Ob();)o=u(T.Pb(),230),o.gg(A,P,$,n++,r,e)}}}for(h=t.Kc();h.Ob();)o=u(h.Pb(),230),o.fg()}function cTn(t,e){var n,r,s,o,h,d,m;for(t.b=Rt(Ht(X(e,(De(),W5)))),t.c=Rt(Ht(X(e,Pw))),t.d=u(X(e,s1t),350),t.a=u(X(e,PG),282),Wmn(e),d=u(nc(_i(_i(fc(fc(new ln(null,new gn(e.b,16)),new lQ),new Y9),new jD),new FB),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),s=d.Kc();s.Ob();)n=u(s.Pb(),18),h=u(X(n,(oe(),Lw)),15),h.Jc(new MVt(t)),Zt(n,Lw,null);for(r=d.Kc();r.Ob();)n=u(r.Pb(),18),m=u(X(n,(oe(),s_t)),18),o=u(X(n,K5),15),kSn(t,o,m),Zt(n,K5,null)}function xct(t,e){var n,r,s,o,h,d,m;if(t.a){if(d=t.a.xe(),m=null,d!=null?e.a+=""+d:(h=t.a.mk(),h!=null&&(o=$d(h,Hu(91)),o!=-1?(m=(qn(o,h.length+1),h.substr(o)),e.a+=""+Lh(h==null?Vu:(Wn(h),h),0,o)):e.a+=""+h)),t.d&&t.d.i!=0){for(s=!0,e.a+="<",r=new Zn(t.d);r.e!=r.i.gc();)n=u(ar(r),89),s?s=!1:e.a+=ao,xct(n,e);e.a+=">"}m!=null&&(e.a+=""+m)}else t.e?(d=t.e.zb,d!=null&&(e.a+=""+d)):(e.a+="?",t.b?(e.a+=" super ",xct(t.b,e)):t.f&&(e.a+=" extends ",xct(t.f,e)))}function uTn(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function lTn(t){var e,n,r,s;if(r=Oct((!t.c&&(t.c=DI(Pc(t.f))),t.c),0),t.e==0||t.a==0&&t.f!=-1&&t.e<0)return r;if(e=O4t(t)<0?1:0,n=t.e,s=(r.length+1+b.Math.abs(Ys(t.e)),new I4),e==1&&(s.a+="-"),t.e>0)if(n-=r.length-e,n>=0){for(s.a+="0.";n>_w.length;n-=_w.length)Dte(s,_w);gZt(s,_w,Ys(n)),ni(s,(qn(e,r.length+1),r.substr(e)))}else n=e-n,ni(s,Lh(r,e,Ys(n))),s.a+=".",ni(s,Iyt(r,Ys(n)));else{for(ni(s,(qn(e,r.length+1),r.substr(e)));n<-_w.length;n+=_w.length)Dte(s,_w);gZt(s,_w,Ys(-n))}return s.a}function kct(t){var e,n,r,s,o,h,d,m,k;return!(t.k!=(Un(),xs)||t.j.c.length<=1||(o=u(X(t,(De(),bs)),101),o==(ka(),hu))||(s=(Yy(),(t.q?t.q:(mn(),mn(),q0))._b(Cv)?r=u(X(t,Cv),203):r=u(X(Pa(t),RA),203),r),s==JG)||!(s==J5||s==Q5)&&(h=Rt(Ht(Wy(t,jA))),e=u(X(t,oP),140),!e&&(e=new pvt(h,h,h,h)),k=gc(t,(ve(),Gn)),m=e.d+e.a+(k.gc()-1)*h,m>t.o.b||(n=gc(t,Jn),d=e.d+e.a+(n.gc()-1)*h,d>t.o.b)))}function hTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;e.Ug("Orthogonal edge routing",1),k=Rt(Ht(X(t,(De(),X5)))),n=Rt(Ht(X(t,W5))),r=Rt(Ht(X(t,Pw))),P=new Uit(0,n),tt=0,h=new La(t.b,0),d=null,T=null,m=null,A=null;do T=h.b<h.d.gc()?(ur(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),30)):null,A=T?T.a:null,d&&(Ukt(d,tt),tt+=d.c.a),J=d?tt+r:tt,U=Xkt(P,t,m,A,J),s=!d||Z$(m,(rV(),fP)),o=!T||Z$(A,(rV(),fP)),U>0?($=(U-1)*n,d&&($+=r),T&&($+=r),$<k&&!s&&!o&&($=k),tt+=$):!s&&!o&&(tt+=k),d=T,m=A;while(T);t.f.a=tt,e.Vg()}function pV(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=null,t.d&&(T=u(nu(t.d,e),142)),!T){if(o=t.a.vi(),A=o.i,!t.d||QC(t.d)!=A){for(m=new _r,t.d&&t_(m,t.d),k=m.f.c+m.i.c,d=k;d<A;++d)r=u(Dt(o,d),142),s=Lp(t.e,r).xe(),n=u(s==null?yu(m.f,null,r):Km(m.i,s,r),142),n&&n!=r&&(s==null?yu(m.f,null,n):Km(m.i,s,n));if(m.f.c+m.i.c!=A)for(h=0;h<k;++h)r=u(Dt(o,h),142),s=Lp(t.e,r).xe(),n=u(s==null?yu(m.f,null,r):Km(m.i,s,r),142),n&&n!=r&&(s==null?yu(m.f,null,n):Km(m.i,s,n));t.d=m}T=u(nu(t.d,e),142)}return T}function Ect(t,e,n,r,s,o,h){var d,m,k,T,A,P,$;return A=Ie(Me(X(e,(De(),rAt)))),P=null,o==(To(),vl)&&r.c.i==n?P=r.c:o==ku&&r.d.i==n&&(P=r.d),k=h,!k||!A||P?(T=(ve(),bc),P?T=P.j:z4(u(X(n,bs),101))&&(T=o==vl?Gn:Jn),m=fTn(t,e,n,o,T,r),d=Dst((Pa(n),r)),o==vl?(Xa(d,u(Oe(m.j,0),12)),xa(d,s)):(Xa(d,s),xa(d,u(Oe(m.j,0),12))),k=new Uue(r,d,m,u(X(m,(oe(),Li)),12),o,!P)):(ge(k.e,r),$=b.Math.max(Rt(Ht(X(k.d,Hp))),Rt(Ht(X(r,Hp)))),Zt(k.d,Hp,$)),dn(t.a,r,new wz(k.d,e,o)),k}function Tct(){Tct=V;var t;jIt=new zKt,pTe=Vt(Pe,ue,2,0,6,1),dTe=T1(uk(33,58),uk(1,26)),gTe=T1(uk(97,122),uk(65,90)),NIt=uk(48,57),hTe=T1(dTe,0),fTe=T1(gTe,NIt),PIt=T1(T1(0,uk(1,6)),uk(33,38)),FIt=T1(T1(NIt,uk(65,70)),uk(97,102)),bTe=T1(hTe,CH("-_.!~*'()")),wTe=T1(fTe,wH("-_.!~*'()")),CH(Pme),wH(Pme),T1(bTe,CH(";:@&=+$,")),T1(wTe,wH(";:@&=+$,")),BIt=CH(":/?#"),RIt=wH(":/?#"),CL=CH("/?#"),SL=wH("/?#"),t=new Os,t.a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),WK=(mn(),new dE(t))}function fTn(t,e,n,r,s,o){var h,d,m,k,T,A;return h=null,k=r==(To(),vl)?o.c:o.d,m=fH(e),k.i==n?(h=u(tr(t.b,k),10),h||(h=JO(k,u(X(n,(De(),bs)),101),s,bEn(k),null,k.n,k.o,m,e),Zt(h,(oe(),Li),k),hi(t.b,k,h))):(h=JO((T=new As,A=Rt(Ht(X(e,(De(),Yf))))/2,oO(T,D3,A),T),u(X(n,bs),101),s,r==vl?-1:1,null,new Sa,new ae(0,0),m,e),d=Uyn(h,n,r),Zt(h,(oe(),Li),d),hi(t.b,d,h)),u(X(e,(oe(),lu)),21).Fc((Co(),Uh)),z4(u(X(e,(De(),bs)),101))?Zt(e,bs,(ka(),YT)):Zt(e,bs,(ka(),Td)),h}function z7(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;d=0,U=0,m=rq(t.g,t.g.length),o=t.e,h=t.j,r=t.b,s=t.c;do{for($=0,T=new G(t.q);T.a<T.c.c.length;)k=u(et(T),10),P=ape(t,k),n=!0,(t.r==(cf(),cP)||t.r==uP)&&(n=Ie(Me(P.b))),u(P.a,17).a<0&&n?(++$,m=rq(t.g,t.g.length),t.e=t.e+u(P.a,17).a,U+=o-t.e,o=t.e+u(P.a,17).a,h=t.j,r=Rm(t.b),s=Rm(t.c)):(t.g=rq(m,m.length),t.e=o,t.b=(Hr(r),r?new fl(r):DE(new G(r))),t.c=(Hr(s),s?new fl(s):DE(new G(s))),t.j=h);++d,A=$!=0&&Ie(Me(e.Kb(new Ws(he(U),he(d)))))}while(A)}function dTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;return h=t.f,P=e.f,d=h==(A_(),Xk)||h==sL,$=P==Xk||P==sL,m=h==rx||h==aL,U=P==rx||P==aL,k=h==rx||h==Xk,J=P==rx||P==Xk,d&&$?t.f==sL?t:e:m&&U?t.f==aL?t:e:k&&J?(h==rx?(A=t,T=e):(A=e,T=t),o=(tt=n.j+n.f,ht=A.e+r.f,Tt=b.Math.max(tt,ht),At=Tt-b.Math.min(n.j,A.e),Bt=A.d+r.g-n.i,Bt*At),s=(Wt=n.i+n.g,se=T.d+r.g,Ce=b.Math.max(Wt,se),rn=Ce-b.Math.min(n.i,T.d),Ze=T.e+r.f-n.j,rn*Ze),o<=s?t.f==rx?t:e:t.f==Xk?t:e):t}function zge(t,e){var n,r,s,o,h,d,m,k,T,A;if(Zt(e,(ji(),qT),0),m=u(X(e,oK),39),e.d.b==0)m?(T=Rt(Ht(X(m,Kp)))+t.b+A5t(t,m,e),Zt(e,Kp,T)):Zt(e,Kp,0);else{for(r=(o=Dr(new gg(e).a.d,0),new M4(o));IM(r.a);)n=u(Ar(r.a),65).c,zge(t,n);d=u(sz((h=Dr(new gg(e).a.d,0),new M4(h))),39),A=u(ysn((s=Dr(new gg(e).a.d,0),new M4(s))),39),k=(Rt(Ht(X(A,Kp)))+Rt(Ht(X(d,Kp))))/2,m?(T=Rt(Ht(X(m,Kp)))+t.b+A5t(t,m,e),Zt(e,Kp,T),Zt(e,qT,Rt(Ht(X(e,Kp)))-k),C9n(t,e)):Zt(e,Kp,k)}}function gTn(t){var e,n,r,s,o,h,d,m,k,T,A;for(T=t.e.a.c.length,h=new G(t.e.a);h.a<h.c.c.length;)o=u(et(h),125),o.j=!1;for(t.i=Vt(Fr,ii,28,T,15,1),t.g=Vt(Fr,ii,28,T,15,1),t.n=new fe,s=0,A=new fe,m=new G(t.e.a);m.a<m.c.c.length;)d=u(et(m),125),d.d=s++,d.b.a.c.length==0&&ge(t.n,d),Hs(A,d.g);for(e=0,r=new G(A);r.a<r.c.c.length;)n=u(et(r),218),n.c=e++,n.f=!1;k=A.c.length,t.b==null||t.b.length<k?(t.b=Vt(ma,No,28,k,15,1),t.c=Vt(Fl,$0,28,k,16,1)):KC(t.c),t.d=A,t.p=new iit(zy(t.d.c.length)),t.j=1}function pTn(t,e){var n,r,s,o,h,d,m,k,T;if(!(e.e.c.length<=1)){for(t.f=e,t.d=u(X(t.f,(TO(),vCt)),391),t.g=u(X(t.f,ECt),17).a,t.e=Rt(Ht(X(t.f,yCt))),t.c=Rt(Ht(X(t.f,YU))),mee(t.b),s=new G(t.f.c);s.a<s.c.c.length;)r=u(et(s),289),Ckt(t.b,r.c,r,null),Ckt(t.b,r.d,r,null);for(d=t.f.e.c.length,t.a=G2(ma,[ue,No],[109,28],15,[d,d],2),k=new G(t.f.e);k.a<k.c.c.length;)m=u(et(k),153),z7n(t,m,t.a[m.a]);for(t.i=G2(ma,[ue,No],[109,28],15,[d,d],2),o=0;o<d;++o)for(h=0;h<d;++h)n=t.a[o][h],T=1/(n*n),t.i[o][h]=T}}function qge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(d=e.ah(),d||e.Ug(i2e,1),n=u(X(t,(oe(),Yft)),15),h=1/n.gc(),e._g())for(e.bh("ELK Layered uses the following "+n.gc()+" modules:"),$=0,P=n.Kc();P.Ob();)T=u(P.Pb(),47),r=($<10?"0":"")+$++,e.bh(" Slot "+r+": "+V2(Wl(T)));for(A=n.Kc();A.Ob();){if(T=u(A.Pb(),47),e.$g())return;T.Kf(t,e.eh(h))}for(o=new G(t.b);o.a<o.c.c.length;)s=u(et(o),30),Hs(t.a,s.a),s.a.c.length=0;for(k=new G(t.a);k.a<k.c.c.length;)m=u(et(k),10),Aa(m,null);t.b.c.length=0,d||e.Vg()}function bTn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(k=new fe,!qi(t,(oe(),Vft)))return k;for(r=u(X(t,Vft),15).Kc();r.Ob();)e=u(r.Pb(),10),OTn(e,t),In(k.c,e);for(o=new G(t.b);o.a<o.c.c.length;)for(s=u(et(o),30),d=new G(s.a);d.a<d.c.c.length;)h=u(et(d),10),h.k==(Un(),Ms)&&(m=u(X(h,MG),10),m&&(T=new Yc,hc(T,h),A=u(X(h,Dc),64),Xs(T,A),P=u(Oe(m.j,0),12),$=new Pm,Xa($,T),xa($,P)));for(n=new G(k);n.a<n.c.c.length;)e=u(et(n),10),Aa(e,u(Oe(t.b,t.b.c.length-1),30));return k}function Hge(t,e,n){var r,s,o,h,d,m,k,T,A;for(A=new fe,T=new l3t(0,n),o=0,zq(T,new Tat(0,0,T,n)),s=0,k=new Zn(t);k.e!=k.i.gc();)m=u(ar(k),27),r=u(Oe(T.a,T.a.c.length-1),172),d=s+m.g+(u(Oe(T.a,0),172).b.c.length==0?0:n),(d>e||Ie(Me(ne(m,(fd(),yP)))))&&(s=0,o+=T.b+n,In(A.c,T),T=new l3t(o,n),r=new Tat(0,T.f,T,n),zq(T,r),s=0),r.b.c.length==0||!Ie(Me(ne(Ji(m),(fd(),fdt))))&&(m.f>=r.o&&m.f<=r.f||r.a*.5<=m.f&&r.a*1.5>=m.f)?O5t(r,m):(h=new Tat(r.s+r.r+n,T.f,T,n),zq(T,h),O5t(h,m)),s=m.i+m.g;return In(A.c,T),A}function R_(t){var e,n,r,s;if(!(t.b==null||t.b.length<=2)&&!t.a){for(e=0,s=0;s<t.b.length;){for(e!=s?(t.b[e]=t.b[s++],t.b[e+1]=t.b[s++]):s+=2,n=t.b[e+1];s<t.b.length&&!(n+1<t.b[s]);)if(n+1==t.b[s])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else if(n>=t.b[s+1])s+=2;else if(n<t.b[s+1])t.b[e+1]=t.b[s+1],n=t.b[e+1],s+=2;else throw at(new uc("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[s]+","+t.b[s+1]+"]"));e+=2}e!=t.b.length&&(r=Vt(Fr,ii,28,e,15,1),Xc(t.b,0,r,0,e),t.b=r),t.a=!0}}function wTn(t,e){var n,r,s,o,h,d,m;for(h=U6(t.a).Kc();h.Ob();){if(o=u(h.Pb(),18),o.b.c.length>0)for(r=new fl(u(Ai(t.a,o),21)),mn(),Ds(r,new _M(e)),s=new La(o.b,0);s.b<s.d.gc();){switch(n=(ur(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),72)),d=-1,u(X(n,(De(),l0)),278).g){case 1:d=r.c.length-1;break;case 0:d=Tyn(r);break;case 2:d=0}d!=-1&&(m=(vn(d,r.c.length),u(r.c[d],249)),ge(m.b.b,n),u(X(Pa(m.b.c.i),(oe(),lu)),21).Fc((Co(),LT)),u(X(Pa(m.b.c.i),lu),21).Fc(AT),Kl(s),Zt(n,n_t,o))}Xa(o,null),xa(o,null)}}function mTn(t,e){var n,r,s,o;return n=new w0,r=u(nc(Wo(new ln(null,new gn(t.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[(bl(),w3),sc]))),21),s=r.gc(),s=s==2?1:0,s==1&&vm(mO(u(nc(_i(r.Lc(),new Id),hce(Mg(0),new br)),168).a,2),0)&&(s=0),r=u(nc(Wo(new ln(null,new gn(e.f,16)),n),jy(new we,new Fi,new Nn,new Bn,lt(ut(Ho,1),te,108,0,[w3,sc]))),21),o=r.gc(),o=o==2?1:0,o==1&&vm(mO(u(nc(_i(r.Lc(),new m0),hce(Mg(0),new br)),168).a,2),0)&&(o=0),s<o?-1:s==o?0:1}function Vge(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(e=ed(t),o=Ie(Me(ne(e,(De(),L3)))),T=0,s=0,k=new Zn((!t.e&&(t.e=new kn(Ts,t,7,4)),t.e));k.e!=k.i.gc();)m=u(ar(k),74),d=Zm(m),h=d&&o&&Ie(Me(ne(m,Mw))),P=Jo(u(Dt((!m.c&&(m.c=new kn(vr,m,5,8)),m.c),0),84)),d&&h?++s:d&&!h?++T:Ji(P)==e||P==e?++s:++T;for(r=new Zn((!t.d&&(t.d=new kn(Ts,t,8,5)),t.d));r.e!=r.i.gc();)n=u(ar(r),74),d=Zm(n),h=d&&o&&Ie(Me(ne(n,Mw))),A=Jo(u(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),84)),d&&h?++T:d&&!h?++s:Ji(A)==e||A==e?++T:++s;return T-s}function vTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(e.Ug("Edge splitting",1),t.b.c.length<=2){e.Vg();return}for(o=new La(t.b,0),h=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30));o.b<o.d.gc();)for(s=h,h=(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30)),m=new G(s.a);m.a<m.c.c.length;)for(d=u(et(m),10),T=new G(d.j);T.a<T.c.c.length;)for(k=u(et(T),12),r=new G(k.g);r.a<r.c.c.length;)n=u(et(r),18),P=n.d,A=P.i.c,A!=s&&A!=h&&t0e(n,($=new Ig(t),y($,(Un(),fa)),Zt($,(oe(),Li),n),Zt($,(De(),bs),(ka(),hu)),Aa($,h),$));e.Vg()}function yTn(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(T=new fe,P=new Os,h=e.b,s=0;s<h.c.length;s++){for(k=(vn(s,h.c.length),u(h.c[s],30)).a,T.c.length=0,o=0;o<k.c.length;o++)d=t.a[s][o],d.p=o,d.k==(Un(),uu)&&In(T.c,d),Mh(u(Oe(e.b,s),30).a,o,d),d.j.c.length=0,Hs(d.j,u(u(Oe(t.b,s),15).Xb(o),16)),q6(u(X(d,(De(),bs)),101))||Zt(d,bs,(ka(),zw));for(r=new G(T);r.a<r.c.c.length;)n=u(et(r),10),A=Y8n(n),P.a.zc(A,P),P.a.zc(n,P)}for(m=P.a.ec().Kc();m.Ob();)d=u(m.Pb(),10),mn(),Ds(d.j,(g7(),mSt)),d.i=!0,T6t(d)}function Uge(t){var e,n,r,s,o;return t.g!=null?t.g:t.a<32?(t.g=jCn(Pc(t.f),Ys(t.e)),t.g):(s=Oct((!t.c&&(t.c=DI(Pc(t.f))),t.c),0),t.e==0?s:(e=(!t.c&&(t.c=DI(Pc(t.f))),t.c).e<0?2:1,n=s.length,r=-t.e+n-e,o=new yb,o.a+=""+s,t.e>0&&r>=-6?r>=0?iI(o,n-Ys(t.e),String.fromCharCode(46)):(dat(o,e-1,e-1,"0."),iI(o,e+1,af(_w,0,-Ys(r)-1))):(n-e>=1&&(iI(o,e,String.fromCharCode(46)),++n),iI(o,n,String.fromCharCode(69)),r>0&&iI(o,++n,String.fromCharCode(43)),iI(o,++n,""+OS(Pc(r)))),t.g=o.a,t.g))}function xTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;r=Rt(Ht(X(e,(De(),sAt)))),Wt=u(X(e,$A),17).a,P=4,s=3,se=20/Wt,$=!1,m=0,h=xi;do{for(o=m!=1,A=m!=0,Ce=0,tt=t.a,Tt=0,Bt=tt.length;Tt<Bt;++Tt)U=tt[Tt],U.f=null,cCn(t,U,o,A,r),Ce+=b.Math.abs(U.a);do d=YEn(t,e);while(d);for(J=t.a,ht=0,At=J.length;ht<At;++ht)if(U=J[ht],n=myt(U).a,n!=0)for(T=new G(U.e);T.a<T.c.c.length;)k=u(et(T),10),k.n.b+=n;m==0||m==1?(--P,P<=0&&(Ce<h||-P>Wt)?(m=2,h=xi):m==0?(m=1,h=Ce):(m=0,h=Ce)):($=Ce>=h||h-Ce<se,h=Ce,$&&--s)}while(!($&&s<=0))}function Cct(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(U=new _r,o=t.a.ec().Kc();o.Ob();)r=u(o.Pb(),177),hi(U,r,n.af(r));for(h=(Hr(t),t?new fl(t):DE(t.a.ec().Kc())),Ds(h,new Zj(U)),d=gq(h),m=new iz(e),$=new _r,yu($.f,e,m);d.a.gc()!=0;){for(k=null,T=null,A=null,s=d.a.ec().Kc();s.Ob();)if(r=u(s.Pb(),177),Rt(Ht(Ko(Eo(U.f,r))))<=Zi){if(Tu($,r.a)&&!Tu($,r.b)){T=r.b,A=r.a,k=r;break}if(Tu($,r.b)&&!Tu($,r.a)){T=r.a,A=r.b,k=r;break}}if(!k)break;P=new iz(T),ge(u(Ko(Eo($.f,A)),225).a,P),yu($.f,T,P),d.a.Bc(k)!=null}return m}function kTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;for(n.Ug("Depth-first cycle removal",1),A=e.a,T=A.c.length,t.c=new fe,t.d=Vt(Fl,$0,28,T,16,1),t.a=Vt(Fl,$0,28,T,16,1),t.b=new fe,h=0,k=new G(A);k.a<k.c.c.length;)m=u(et(k),10),m.p=h,HE(ua(m))&&ge(t.c,m),++h;for($=new G(t.c);$.a<$.c.c.length;)P=u(et($),10),m6t(t,P);for(o=0;o<T;o++)t.d[o]||(d=(vn(o,A.c.length),u(A.c[o],10)),m6t(t,d));for(s=new G(t.b);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0),Zt(e,(oe(),tP),(Pn(),!0));t.c=null,t.d=null,t.a=null,t.b=null,n.Vg()}function ETn(t,e){w5();var n,r,s,o,h,d;return o=e.c-(t.c+t.b),s=t.c-(e.c+e.b),h=t.d-(e.d+e.a),n=e.d-(t.d+t.a),r=b.Math.max(s,o),d=b.Math.max(h,n),Z1(),$f(s0),(b.Math.abs(r)<=s0||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:ym(isNaN(r),isNaN(0)))>=0^($f(s0),(b.Math.abs(d)<=s0||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:ym(isNaN(d),isNaN(0)))>=0)?b.Math.max(d,r):($f(s0),(b.Math.abs(r)<=s0||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:ym(isNaN(r),isNaN(0)))>0?b.Math.sqrt(d*d+r*r):-b.Math.sqrt(d*d+r*r))}function gw(t,e){var n,r,s,o,h,d;if(e){if(!t.a&&(t.a=new u$),t.e==2){c$(t.a,e);return}if(e.e==1){for(s=0;s<e.Pm();s++)gw(t,e.Lm(s));return}if(d=t.a.a.c.length,d==0){c$(t.a,e);return}if(h=u(Im(t.a,d-1),122),!((h.e==0||h.e==10)&&(e.e==0||e.e==10))){c$(t.a,e);return}o=e.e==0?2:e.Mm().length,h.e==0?(n=new YC,r=h.Km(),r>=po?Mo(n,I5t(r)):PE(n,r&js),h=new lst(10,null,0),sln(t.a,h,d-1)):(n=(h.Mm().length+o,new YC),Mo(n,h.Mm())),e.e==0?(r=e.Km(),r>=po?Mo(n,I5t(r)):PE(n,r&js)):Mo(n,e.Mm()),u(h,530).b=n.a}}function TTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(!n.dc()){for(d=0,P=0,r=n.Kc(),U=u(r.Pb(),17).a;d<e.f;){if(d==U&&(P=0,r.Ob()?U=u(r.Pb(),17).a:U=e.f+1),d!=P){for(tt=u(Oe(t.b,d),30),$=u(Oe(t.b,P),30),J=Rm(tt.a),A=new G(J);A.a<A.c.c.length;)if(T=u(et(A),10),Xy(T,$.a.c.length,$),P==0)for(h=Rm(ua(T)),o=new G(h);o.a<o.c.c.length;)s=u(et(o),18),nv(s,!0),Zt(t,(oe(),tP),(Pn(),!0)),Xge(t,s,1)}++P,++d}for(m=new La(t.b,0);m.b<m.d.gc();)k=(ur(m.b<m.d.gc()),u(m.d.Xb(m.c=m.b++),30)),k.a.c.length==0&&Kl(m)}}function CTn(t,e,n){var r,s,o;if(s=u(X(e,(De(),PG)),282),s!=(M7(),AA)){switch(n.Ug("Horizontal Compaction",1),t.a=e,o=new Cae,r=new $1e((o.d=e,o.c=u(X(o.d,zg),223),b8n(o),E9n(o),T8n(o),o.a)),hrn(r,t.b),u(X(e,P_t),431).g){case 1:TWt(r,new Xoe(t.a));break;default:TWt(r,(Wyt(),yye))}switch(s.g){case 1:__(r);break;case 2:__(bV(r,(Rs(),tc)));break;case 3:__(CWt(bV(__(r),(Rs(),tc)),new nR));break;case 4:__(CWt(bV(__(r),(Rs(),tc)),new YVt(o)));break;case 5:__(lrn(r,M4e))}bV(r,(Rs(),Uo)),r.e=!0,J9n(o),n.Vg()}}function STn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(h=e.b,T=h.o,m=h.d,r=Rt(Ht(SH(h,(De(),Yf)))),s=Rt(Ht(SH(h,Y5))),k=Rt(Ht(SH(h,h1t))),d=new qnt,Vvt(d,m.d,m.c,m.a,m.b),P=F8n(e,r,s,k),ht=new G(e.d);ht.a<ht.c.c.length;){for(tt=u(et(ht),105),U=tt.f.a.ec().Kc();U.Ob();)$=u(U.Pb(),340),o=$.a,A=b3n($),n=(Tt=new Qu,gfe($,$.c,P,Tt),H3n($,A,P,Tt),gfe($,$.d,P,Tt),Tt),n=t.ng($,A,n),nh(o.a),Ma(o.a,n),ms(new ln(null,new gn(n,16)),new vXt(T,d));J=tt.i,J&&(i3n(tt,J,P,s),At=new io(J.g),rxt(T,d,At),ki(At,J.j),rxt(T,d,At))}Vvt(m,d.d,d.c,d.a,d.b)}function _Tn(t,e,n,r,s,o,h,d){var m,k,T,A;switch(m=id(lt(ut(m_n,1),Ln,238,0,[e,n,r,s])),A=null,t.b.g){case 1:A=id(lt(ut(EDt,1),Ln,535,0,[new ZD,new B2,new z8]));break;case 0:A=id(lt(ut(EDt,1),Ln,535,0,[new z8,new B2,new ZD]));break;case 2:A=id(lt(ut(EDt,1),Ln,535,0,[new B2,new ZD,new z8]))}for(T=new G(A);T.a<T.c.c.length;)k=u(et(T),535),m.c.length>1&&(m=k.Hg(m,t.a,d));return m.c.length==1?u(Oe(m,m.c.length-1),238):m.c.length==2?dTn((vn(0,m.c.length),u(m.c[0],238)),(vn(1,m.c.length),u(m.c[1],238)),h,o):null}function ATn(t,e,n){var r,s,o,h,d,m,k;for(n.Ug("Find roots",1),t.a.c.length=0,s=Dr(e.b,0);s.b!=s.d.c;)r=u(Ar(s),39),r.b.b==0&&(Zt(r,(ji(),u2),(Pn(),!0)),ge(t.a,r));switch(t.a.c.length){case 0:o=new Eat(0,e,"DUMMY_ROOT"),Zt(o,(ji(),u2),(Pn(),!0)),Zt(o,F1t,!0),Zr(e.b,o);break;case 1:break;default:for(h=new Eat(0,e,nU),m=new G(t.a);m.a<m.c.c.length;)d=u(et(m),39),k=new Kyt(h,d),Zt(k,(ji(),F1t),(Pn(),!0)),Zr(h.a.a,k),Zr(h.d,k),Zr(d.b,k),Zt(d,u2,!1);Zt(h,(ji(),u2),(Pn(),!0)),Zt(h,F1t,!0),Zr(e.b,h)}n.Vg()}function Gge(t){var e,n,r,s,o,h;for(Cu(t.a,new to),n=new G(t.a);n.a<n.c.c.length;)e=u(et(n),225),r=ia(Oa(u(t.b,68).c),u(e.b,68).c),s3e?(h=u(t.b,68).b,o=u(e.b,68).b,b.Math.abs(r.a)>=b.Math.abs(r.b)?(r.b=0,o.d+o.a>h.d&&o.d<h.d+h.a&&xz(r,b.Math.max(h.c-(o.c+o.b),o.c-(h.c+h.b)))):(r.a=0,o.c+o.b>h.c&&o.c<h.c+h.b&&xz(r,b.Math.max(h.d-(o.d+o.a),o.d-(h.d+h.a))))):xz(r,bge(u(t.b,68),u(e.b,68))),s=b.Math.sqrt(r.a*r.a+r.b*r.b),s=ufe(kA,e,s,r),xz(r,s),Iit(u(e.b,68),r),Cu(e.a,new t$(r)),u(kA.b,68),V3t(kA,eCt,e)}function LTn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;for(t.f=new znt,k=0,s=0,h=new G(t.e.b);h.a<h.c.c.length;)for(o=u(et(h),30),m=new G(o.a);m.a<m.c.c.length;){for(d=u(et(m),10),d.p=k++,r=new rr(sr(_s(d).a.Kc(),new z));Mr(r);)n=u(dr(r),18),n.p=s++;for(e=kct(d),P=new G(d.j);P.a<P.c.c.length;)A=u(et(P),12),e&&(U=A.a.b,U!=b.Math.floor(U)&&(T=U-tw(Pc(b.Math.round(U))),A.a.b-=T)),$=A.n.b+A.a.b,$!=b.Math.floor($)&&(T=$-tw(Pc(b.Math.round($))),A.n.b-=T)}t.g=k,t.b=s,t.i=Vt(g_n,Ln,412,k,0,1),t.c=Vt(d_n,Ln,655,s,0,1),t.d.a.$b()}function Ir(t){var e,n,r,s,o,h,d,m,k;if(t.Pj())if(m=t.Qj(),t.i>0){if(e=new dmt(t.i,t.g),n=t.i,o=n<100?null:new xb(n),t.Tj())for(r=0;r<t.i;++r)h=t.g[r],o=t.Vj(h,o);if(KS(t),s=n==1?t.Ij(4,Dt(e,0),null,0,m):t.Ij(6,e,null,-1,m),t.Mj()){for(r=new $6(e);r.e!=r.i.gc();)o=t.Oj(sot(r),o);o?(o.nj(s),o.oj()):t.Jj(s)}else o?(o.nj(s),o.oj()):t.Jj(s)}else KS(t),t.Jj(t.Ij(6,(mn(),co),null,-1,m));else if(t.Mj())if(t.i>0){for(d=t.g,k=t.i,KS(t),o=k<100?null:new xb(k),r=0;r<k;++r)h=d[r],o=t.Oj(h,o);o&&o.oj()}else KS(t);else KS(t)}function Vkt(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(Cce(this),n==(Bm(),c2)?qs(this.r,t):qs(this.w,t),T=Zi,k=Vs,h=e.a.ec().Kc();h.Ob();)s=u(h.Pb(),42),d=u(s.a,464),r=u(s.b,18),m=r.c,m==t&&(m=r.d),d==c2?qs(this.r,m):qs(this.w,m),P=(ve(),Gu).Hc(m.j)?Rt(Ht(X(m,(oe(),MT)))):dc(lt(ut(la,1),ue,8,0,[m.i.n,m.n,m.a])).b,T=b.Math.min(T,P),k=b.Math.max(k,P);for(A=(ve(),Gu).Hc(t.j)?Rt(Ht(X(t,(oe(),MT)))):dc(lt(ut(la,1),ue,8,0,[t.i.n,t.n,t.a])).b,Ife(this,A,T,k),o=e.a.ec().Kc();o.Ob();)s=u(o.Pb(),42),qfe(this,u(s.b,18));this.o=!1}function DTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;return n=t.l&8191,r=t.l>>13|(t.m&15)<<9,s=t.m>>4&8191,o=t.m>>17|(t.h&255)<<5,h=(t.h&1048320)>>8,d=e.l&8191,m=e.l>>13|(e.m&15)<<9,k=e.m>>4&8191,T=e.m>>17|(e.h&255)<<5,A=(e.h&1048320)>>8,rn=n*d,Ze=r*d,On=s*d,Dn=o*d,er=h*d,m!=0&&(Ze+=n*m,On+=r*m,Dn+=s*m,er+=o*m),k!=0&&(On+=n*k,Dn+=r*k,er+=s*k),T!=0&&(Dn+=n*T,er+=r*T),A!=0&&(er+=n*A),$=rn&Il,U=(Ze&511)<<13,P=$+U,tt=rn>>22,ht=Ze>>9,Tt=(On&262143)<<4,At=(Dn&31)<<17,J=tt+ht+Tt+At,Wt=On>>18,se=Dn>>5,Ce=(er&4095)<<8,Bt=Wt+se+Ce,J+=P>>22,P&=Il,Bt+=J>>22,J&=Il,Bt&=Fg,Eu(P,J,Bt)}function Kge(t){var e,n,r,s,o,h,d;if(d=u(Oe(t.j,0),12),d.g.c.length!=0&&d.e.c.length!=0)throw at(new Ro("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(o=Zi,n=new G(d.g);n.a<n.c.c.length;)e=u(et(n),18),h=e.d.i,r=u(X(h,(De(),HG)),140),o=b.Math.min(o,h.n.a-r.b);return new FC(Hr(o))}if(d.e.c.length!=0){for(s=Vs,n=new G(d.e);n.a<n.c.c.length;)e=u(et(n),18),h=e.c.i,r=u(X(h,(De(),HG)),140),s=b.Math.max(s,h.n.a+h.o.a+r.c);return new FC(Hr(s))}return UC(),UC(),yht}function Wge(t,e){var n,r,s,o,h,d,m;if(t.ol()){if(t.i>4)if(t.fk(e)){if(t.al()){if(s=u(e,54),r=s.Eh(),m=r==t.e&&(t.ml()?s.yh(s.Fh(),t.il())==t.jl():-1-s.Fh()==t.Lj()),t.nl()&&!m&&!r&&s.Jh()){for(o=0;o<t.i;++o)if(n=t.pl(u(t.g[o],58)),$t(n)===$t(e))return!0}return m}else if(t.ml()&&!t.ll()){if(h=u(e,58).Mh(yo(u(t.Lk(),19))),$t(h)===$t(t.e))return!0;if(h==null||!u(h,58).Vh())return!1}}else return!1;if(d=L7(t,e),t.nl()&&!d){for(o=0;o<t.i;++o)if(s=t.pl(u(t.g[o],58)),$t(s)===$t(e))return!0}return d}else return L7(t,e)}function MTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(n.Ug("Interactive cycle breaking",1),A=new fe,$=new G(e.a);$.a<$.c.c.length;)for(P=u(et($),10),P.p=1,U=Fxt(P).a,T=Ym(P,(To(),ku)).Kc();T.Ob();)for(k=u(T.Pb(),12),o=new G(k.g);o.a<o.c.c.length;)r=u(et(o),18),J=r.d.i,J!=P&&(tt=Fxt(J).a,tt<U&&In(A.c,r));for(h=new G(A);h.a<h.c.c.length;)r=u(et(h),18),nv(r,!0);for(A.c.length=0,m=new G(e.a);m.a<m.c.c.length;)d=u(et(m),10),d.p>0&&Kfe(t,d,A);for(s=new G(A);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0);A.c.length=0,n.Vg()}function ITn(t,e){var n,r,s,o,h,d,m,k,T;for(n=0,T=new fe,d=new G(e);d.a<d.c.c.length;){switch(h=u(et(d),12),c5t(t.b,t.d[h.p]),T.c.length=0,h.i.k.g){case 0:r=u(X(h,(oe(),ml)),10),Cu(r.j,new _Ut(T));break;case 1:Gin(f7(_i(new ln(null,new gn(h.i.j,16)),new AUt(h))),new LUt(T));break;case 3:s=u(X(h,(oe(),Li)),12),ge(T,new Ws(s,he(h.e.c.length+h.g.c.length)))}for(k=new G(T);k.a<k.c.c.length;)m=u(et(k),42),o=Cwt(t,u(m.a,12)),o>t.d[h.p]&&(n+=C3t(t.b,o)*u(m.b,17).a,Ob(t.a,he(o)));for(;!WC(t.a);)i4t(t.b,u(K6(t.a),17).a)}return n}function OTn(t,e){var n,r,s,o,h,d,m,k,T,A;if(T=u(X(t,(oe(),Dc)),64),r=u(Oe(t.j,0),12),T==(ve(),Hn)?Xs(r,Er):T==Er&&Xs(r,Hn),u(X(e,(De(),Ow)),181).Hc((Yl(),qw))){if(m=Rt(Ht(X(t,FT))),k=Rt(Ht(X(t,BT))),h=Rt(Ht(X(t,O3))),d=u(X(e,M3),21),d.Hc((wl(),Hg)))for(n=k,A=t.o.a/2-r.n.a,o=new G(r.f);o.a<o.c.c.length;)s=u(et(o),72),s.n.b=n,s.n.a=A-s.o.a/2,n+=s.o.b+h;else if(d.Hc(g2))for(o=new G(r.f);o.a<o.c.c.length;)s=u(et(o),72),s.n.a=m+t.o.a-r.n.a;s1n(new RC((JC(),new tst(e,!1,!1,new G9))),new mz(null,t,!1))}}function NTn(t,e){var n,r,s,o,h,d,m,k,T;if(e.c.length!=0){for(mn(),Mit(e.c,e.c.length,null),s=new G(e),r=u(et(s),154);s.a<s.c.c.length;)n=u(et(s),154),u4t(r.e.c,n.e.c)&&!(J5t(aZt(r.e).b,n.e.d)||J5t(aZt(n.e).b,r.e.d))?r=(Hs(r.k,n.k),Hs(r.b,n.b),Hs(r.c,n.c),Ma(r.i,n.i),Hs(r.d,n.d),Hs(r.j,n.j),o=b.Math.min(r.e.c,n.e.c),h=b.Math.min(r.e.d,n.e.d),d=b.Math.max(r.e.c+r.e.b,n.e.c+n.e.b),m=d-o,k=b.Math.max(r.e.d+r.e.a,n.e.d+n.e.a),T=k-h,hte(r.e,o,h,m,T),i1n(r.f,n.f),!r.a&&(r.a=n.a),Hs(r.g,n.g),ge(r.g,n),r):(oge(t,r),r=n);oge(t,r)}}function PTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(m=new fe,o=new G(e.a);o.a<o.c.c.length;)for(s=u(et(o),10),d=new G(s.j);d.a<d.c.c.length;){for(h=u(et(d),12),T=null,At=Kd(h.g),Bt=0,Wt=At.length;Bt<Wt;++Bt)Tt=At[Bt],a7(Tt.d.i,n)||(ht=Ect(t,e,n,Tt,Tt.c,(To(),ku),T),ht!=T&&In(m.c,ht),ht.c&&(T=ht));for(k=null,U=Kd(h.e),J=0,tt=U.length;J<tt;++J)$=U[J],a7($.c.i,n)||(ht=Ect(t,e,n,$,$.d,(To(),vl),k),ht!=k&&In(m.c,ht),ht.c&&(k=ht))}for(P=new G(m);P.a<P.c.c.length;)A=u(et(P),452),Xo(e.a,A.a,0)!=-1||ge(e.a,A.a),A.c&&In(r.c,A)}function FTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;for(A=new io(u(ne(t,(VH(),lMt)),8)),A.a=b.Math.max(A.a-n.b-n.c,0),A.b=b.Math.max(A.b-n.d-n.a,0),s=Ht(ne(t,oMt)),(s==null||(Wn(s),s<=0))&&(s=1.3),d=new fe,U=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));U.e!=U.i.gc();)$=u(ar(U),27),h=new QJt($),In(d.c,h);switch(P=u(ne(t,Adt),320),P.g){case 3:tt=kEn(d,e,A.a,A.b,(k=r,Wn(s),k));break;case 1:tt=f7n(d,e,A.a,A.b,(T=r,Wn(s),T));break;default:tt=RTn(d,e,A.a,A.b,(m=r,Wn(s),m))}o=new Fq(tt),J=Mct(o,e,n,A.a,A.b,r,(Wn(s),s)),rv(t,J.a,J.b,!1,!0)}function BTn(t,e,n,r){var s,o,h,d,m,k;if(d=t.j,d==(ve(),bc)&&e!=(ka(),Td)&&e!=(ka(),d2)&&(d=nge(t,n),Xs(t,d),!(t.q?t.q:(mn(),mn(),q0))._b((De(),D3))&&d!=bc&&(t.n.a!=0||t.n.b!=0)&&Zt(t,D3,Bvn(t,d))),e==(ka(),Y0)){switch(k=0,d.g){case 1:case 3:o=t.i.o.a,o>0&&(k=t.n.a/o);break;case 2:case 4:s=t.i.o.b,s>0&&(k=t.n.b/s)}Zt(t,(oe(),xv),k)}if(m=t.o,h=t.a,r)h.a=r.a,h.b=r.b,t.d=!0;else if(e!=Td&&e!=d2&&d!=bc)switch(d.g){case 1:h.a=m.a/2;break;case 2:h.a=m.a,h.b=m.b/2;break;case 3:h.a=m.a/2,h.b=m.b;break;case 4:h.b=m.b/2}else h.a=m.a/2,h.b=m.b/2}function j_(t){var e,n,r,s,o,h,d,m,k,T;if(t.Pj())if(T=t.Ej(),m=t.Qj(),T>0)if(e=new B4t(t.pj()),n=T,o=n<100?null:new xb(n),uI(t,n,e.g),s=n==1?t.Ij(4,Dt(e,0),null,0,m):t.Ij(6,e,null,-1,m),t.Mj()){for(r=new Zn(e);r.e!=r.i.gc();)o=t.Oj(ar(r),o);o?(o.nj(s),o.oj()):t.Jj(s)}else o?(o.nj(s),o.oj()):t.Jj(s);else uI(t,t.Ej(),t.Fj()),t.Jj(t.Ij(6,(mn(),co),null,-1,m));else if(t.Mj())if(T=t.Ej(),T>0){for(d=t.Fj(),k=T,uI(t,T,d),o=k<100?null:new xb(k),r=0;r<k;++r)h=d[r],o=t.Oj(h,o);o&&o.oj()}else uI(t,t.Ej(),t.Fj());else uI(t,t.Ej(),t.Fj())}function RTn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt;for(d=Vt(ma,No,28,t.c.length,15,1),P=new Rz(new G8),xxt(P,t),k=0,J=new fe;P.b.c.length!=0;)if(h=u(P.b.c.length==0?null:Oe(P.b,0),163),k>1&&tl(h)*Gl(h)/2>d[0]){for(o=0;o<J.c.length-1&&tl(h)*Gl(h)/2>d[o];)++o;U=new xp(J,0,o+1),A=new Fq(U),T=tl(h)/Gl(h),m=Mct(A,e,new C6,n,r,s,T),ki(k1(A.e),m),V6(D7(P,A),X7),$=new xp(J,o+1,J.c.length),xxt(P,$),J.c.length=0,k=0,Kte(d,d.length,0)}else tt=P.b.c.length==0?null:Oe(P.b,0),tt!=null&&sat(P,0),k>0&&(d[k]=d[k-1]),d[k]+=tl(h)*Gl(h),++k,In(J.c,h);return J}function jTn(t,e){var n,r,s,o;n=e.b,o=new fl(n.j),s=0,r=n.j,r.c.length=0,Am(u(iw(t.b,(ve(),Hn),(Vm(),mv)),15),n),s=xO(o,s,new am,r),Am(u(iw(t.b,Hn,r2),15),n),s=xO(o,s,new bJ,r),Am(u(iw(t.b,Hn,wv),15),n),Am(u(iw(t.b,Jn,mv),15),n),Am(u(iw(t.b,Jn,r2),15),n),s=xO(o,s,new lR,r),Am(u(iw(t.b,Jn,wv),15),n),Am(u(iw(t.b,Er,mv),15),n),s=xO(o,s,new hR,r),Am(u(iw(t.b,Er,r2),15),n),s=xO(o,s,new fR,r),Am(u(iw(t.b,Er,wv),15),n),Am(u(iw(t.b,Gn,mv),15),n),s=xO(o,s,new aR,r),Am(u(iw(t.b,Gn,r2),15),n),Am(u(iw(t.b,Gn,wv),15),n)}function $Tn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;for(d=new G(e);d.a<d.c.c.length;)o=u(et(d),239),o.e=null,o.c=0;for(m=null,h=new G(e);h.a<h.c.c.length;)if(o=u(et(h),239),A=o.d[0],!(n&&A.k!=(Un(),xs))){for($=u(X(A,(oe(),Uk)),15).Kc();$.Ob();)P=u($.Pb(),10),(!n||P.k==(Un(),xs))&&((!o.e&&(o.e=new fe),o.e).Fc(t.b[P.c.p][P.p]),++t.b[P.c.p][P.p].c);if(!n&&A.k==(Un(),xs)){if(m)for(T=u(Ai(t.d,m),21).Kc();T.Ob();)for(k=u(T.Pb(),10),s=u(Ai(t.d,A),21).Kc();s.Ob();)r=u(s.Pb(),10),Ucn(t.b[k.c.p][k.p]).Fc(t.b[r.c.p][r.p]),++t.b[r.c.p][r.p].c;m=A}}}function zTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(n.Ug("Model order cycle breaking",1),t.a=0,t.b=0,$=new fe,T=e.a.c.length,k=new G(e.a);k.a<k.c.c.length;)m=u(et(k),10),qi(m,(oe(),Pi))&&(T=b.Math.max(T,u(X(m,Pi),17).a+1));for(J=new G(e.a);J.a<J.c.c.length;)for(U=u(et(J),10),h=r1e(t,U,T),P=Ym(U,(To(),ku)).Kc();P.Ob();)for(A=u(P.Pb(),12),o=new G(A.g);o.a<o.c.c.length;)r=u(et(o),18),tt=r.d.i,d=r1e(t,tt,T),d<h&&In($.c,r);for(s=new G($);s.a<s.c.c.length;)r=u(et(s),18),nv(r,!0),Zt(e,(oe(),tP),(Pn(),!0));$.c.length=0,n.Vg()}function Yge(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(h=e.d,d=n.d;h.a-d.a==0&&h.b-d.b==0;)m=!1,Lt(e,250)&&Lt(n,250)&&!m?(k=u(e,250).a,T=ia(new io(b4t(k)),p4t(k)),r=2,s=new ae(T.a/b.Math.sqrt(T.a*T.a+T.b*T.b)*r,-T.b/b.Math.sqrt(T.a*T.a+T.b*T.b)*r),ki(h,s),A=u(n,250).a,P=ia(new io(b4t(A)),p4t(A)),r=T==P?-2:2,o=new ae(P.a/b.Math.sqrt(P.a*P.a+P.b*P.b)*r,-(P.b/b.Math.sqrt(P.a*P.a+P.b*P.b))*r),ki(h,o),m=!0):(h.a+=Dl(t,26)*q_+Dl(t,27)*H_-.5,h.b+=Dl(t,26)*q_+Dl(t,27)*H_-.5,d.a+=Dl(t,26)*q_+Dl(t,27)*H_-.5,d.b+=Dl(t,26)*q_+Dl(t,27)*H_-.5)}function qTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(k=v4n(e),J=u(X(e,(De(),FA)),322),Fa(k,new n$(J)),tt=u(X(e,iP),298),Fa(k,new Pnt(tt)),U=0,T=new fe,o=new $S(k);o.a!=o.b;)s=u(cH(o),36),ope(t.c,s),P=u(X(s,(oe(),Yft)),15),U+=P.gc(),r=P.Kc(),ge(T,new Ws(s,r));for(n.Ug("Recursive hierarchical layout",U),$=u(u(Oe(T,T.c.length-1),42).b,51);$.Ob();)for(m=new G(T);m.a<m.c.c.length;)for(d=u(et(m),42),P=u(d.b,51),h=u(d.a,36);P.Ob();)if(A=u(P.Pb(),47),Lt(A,514)){if(h.e)break;A.Kf(h,n.eh(1));break}else A.Kf(h,n.eh(1));n.Vg()}function HTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(e.Ug("Layer size calculation",1),T=Zi,k=Vs,s=!1,d=new G(t.b);d.a<d.c.c.length;)if(h=u(et(d),30),m=h.c,m.a=0,m.b=0,h.a.c.length!=0){for(s=!0,P=new G(h.a);P.a<P.c.c.length;)A=u(et(P),10),U=A.o,$=A.d,m.a=b.Math.max(m.a,U.a+$.b+$.c);r=u(Oe(h.a,0),10),J=r.n.b-r.d.d,r.k==(Un(),Ms)&&(J-=u(X(t,(De(),oP)),140).d),o=u(Oe(h.a,h.a.c.length-1),10),n=o.n.b+o.o.b+o.d.a,o.k==Ms&&(n+=u(X(t,(De(),oP)),140).a),m.b=n-J,T=b.Math.min(T,J),k=b.Math.max(k,n)}s||(T=0,k=0),t.f.b=k-T,t.c.b-=T,e.Vg()}function Ukt(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(o=0,h=0,k=new G(t.a);k.a<k.c.c.length;)d=u(et(k),10),o=b.Math.max(o,d.d.b),h=b.Math.max(h,d.d.c);for(m=new G(t.a);m.a<m.c.c.length;){switch(d=u(et(m),10),n=u(X(d,(De(),u0)),255),n.g){case 1:U=0;break;case 2:U=1;break;case 5:U=.5;break;default:for(r=0,A=0,$=new G(d.j);$.a<$.c.c.length;)P=u(et($),12),P.e.c.length==0||++r,P.g.c.length==0||++A;r+A==0?U=.5:U=A/(r+A)}tt=t.c,T=d.o.a,ht=(tt.a-T)*U,U>.5?ht-=h*2*(U-.5):U<.5&&(ht+=o*2*(.5-U)),s=d.d.b,ht<s&&(ht=s),J=d.d.c,ht>tt.a-J-T&&(ht=tt.a-J-T),d.n.a=e+ht}}function VTn(t){var e,n,r,s,o;if(r=u(X(t,(De(),Iu)),171),r==(Rh(),s2)){for(n=new rr(sr(ua(t).a.Kc(),new z));Mr(n);)if(e=u(dr(n),18),!ose(e))throw at(new fp(zut+EO(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(r==S3){for(o=new rr(sr(_s(t).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),!ose(s))throw at(new fp(zut+EO(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function XO(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(t.e&&t.c.c<t.f)throw at(new Ro("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(T=u(y1(t.g),9),$=C0(t.f),o=T,d=0,k=o.length;d<k;++d)r=o[d],A=u(UI(t,r.g),188),A?ge($,u(ele(t,A),106)):$.c.push(null);for(U=new Fs,ms(_i(Wo(_i(new ln(null,new gn($,16)),new ap),new uGt(e)),new a6),new lGt(U)),ch(U,t.a),n=new fe,s=T,h=0,m=s.length;h<m;++h)r=s[h],Hs(n,Fce(t,Zz(u(UI(U,r.g),20)))),P=u(Oe($,r.g),106),P&&In(n.c,P);return Hs(n,Fce(t,Zz(u(UI(U,T[T.length-1].g+1),20)))),n}function UTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(P=new fe,s=new fe,J=null,d=e.Kc();d.Ob();)h=u(d.Pb(),17),o=new wUt(h.a),In(s.c,o),J&&(o.d=J,J.e=o),J=o;for(At=m7n(t),T=0;T<s.c.length;++T){for($=null,tt=$3t((vn(0,s.c.length),u(s.c[0],661))),n=null,r=Zi,A=1;A<t.b.c.length;++A)ht=tt?b.Math.abs(tt.b-A):b.Math.abs(A-$.b)+1,U=$?b.Math.abs(A-$.b):ht+1,U<ht?(k=$,m=U):(k=tt,m=ht),Tt=(Bt=Rt(Ht(X(t,(De(),vAt)))),At[A]+b.Math.pow(m,Bt)),Tt<r&&(r=Tt,n=k,n.c=A),tt&&A==tt.b&&($=tt,tt=tln(tt));n&&(ge(P,he(n.c)),n.a=!0,g2n(n))}return mn(),Mit(P.c,P.c.length,null),P}function Gkt(t,e,n){var r,s,o,h,d,m;if(e.l==0&&e.m==0&&e.h==0)throw at(new f$("divide by zero"));if(t.l==0&&t.m==0&&t.h==0)return n&&(Zb=Eu(0,0,0)),Eu(0,0,0);if(e.h==aN&&e.m==0&&e.l==0)return j2n(t,n);if(m=!1,e.h>>19&&(e=h7(e),m=!m),h=A6n(e),o=!1,s=!1,r=!1,t.h==aN&&t.m==0&&t.l==0)if(s=!0,o=!0,h==-1)t=OQt((WE(),a9t)),r=!0,m=!m;else return d=H6t(t,h),m&&kat(d),n&&(Zb=Eu(0,0,0)),d;else t.h>>19&&(o=!0,t=h7(t),r=!0,m=!m);return h!=-1?rbn(t,h,m,o,n):Lxt(t,e)<0?(n&&(o?Zb=h7(t):Zb=Eu(t.l,t.m,t.h)),Eu(0,0,0)):SEn(r?t:Eu(t.l,t.m,t.h),e,m,o,s,n)}function Sct(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(h=t.e,m=e.e,h==0)return e;if(m==0)return t;if(o=t.d,d=e.d,o+d==2)return n=sa(t.a[0],So),r=sa(e.a[0],So),h==m?(T=Qa(n,r),U=qr(T),$=qr(Ab(T,32)),$==0?new kg(h,U):new Y2(h,2,lt(ut(Fr,1),ii,28,15,[U,$]))):(Xd(),J$(h<0?sf(r,n):sf(n,r),0)?zb(h<0?sf(r,n):sf(n,r)):FS(zb(Cp(h<0?sf(r,n):sf(n,r)))));if(h==m)P=h,A=o>=d?Pst(t.a,o,e.a,d):Pst(e.a,d,t.a,o);else{if(s=o!=d?o>d?1:-1:o5t(t.a,e.a,o),s==0)return Xd(),yA;s==1?(P=h,A=Ost(t.a,o,e.a,d)):(P=m,A=Ost(e.a,d,t.a,o))}return k=new Y2(P,A.length,A),qS(k),k}function GTn(t,e){var n,r,s,o,h,d,m;if(!(t.g>e.f||e.g>t.f)){for(n=0,r=0,h=t.w.a.ec().Kc();h.Ob();)s=u(h.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++n;for(d=t.r.a.ec().Kc();d.Ob();)s=u(d.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--n;for(m=e.w.a.ec().Kc();m.Ob();)s=u(m.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++r;for(o=e.r.a.ec().Kc();o.Ob();)s=u(o.Pb(),12),Nat(dc(lt(ut(la,1),ue,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--r;n<r?new vq(t,e,r-n):r<n?new vq(e,t,n-r):(new vq(e,t,0),new vq(t,e,0))}}function KTn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(k=e.c,s=Smt(t.e),A=qd(CS(Oa(Cmt(t.e)),t.d*t.a,t.c*t.b),-.5),n=s.a-A.a,r=s.b-A.b,h=e.a,n=h.c-n,r=h.d-r,m=new G(k);m.a<m.c.c.length;){switch(d=u(et(m),407),P=d.b,$=n+P.a,tt=r+P.b,U=Ys($/t.a),ht=Ys(tt/t.b),o=d.a,o.g){case 0:T=(dk(),$N);break;case 1:T=(dk(),jN);break;case 2:T=(dk(),zN);break;default:T=(dk(),qN)}o.a?(Tt=Ys((tt+d.c)/t.b),ge(t.f,new Dvt(T,he(ht),he(Tt))),o==(m_(),VN)?l7(t,0,ht,U,Tt):l7(t,U,ht,t.d-1,Tt)):(J=Ys(($+d.c)/t.a),ge(t.f,new Dvt(T,he(U),he(J))),o==(m_(),HN)?l7(t,U,0,J,ht):l7(t,U,ht,J,t.c-1))}}function WTn(t){var e,n,r,s,o,h,d,m,k,T;for(e=new oM,n=new oM,k=hn(DN,(s=O_(t.b,ti),s?Gr(L1((!s.b&&(s.b=new Ul((wn(),wo),Mc,s)),s.b),lf)):null)),m=0;m<t.i;++m)d=u(t.g[m],179),Lt(d,102)?(h=u(d,19),h.Bb&Fc?(!(h.Bb&Jd)||!k&&(o=O_(h,ti),(o?Gr(L1((!o.b&&(o.b=new Ul((wn(),wo),Mc,o)),o.b),fU)):null)==null))&&Or(e,h):(T=yo(h),T&&T.Bb&Fc||(!(h.Bb&Jd)||!k&&(r=O_(h,ti),(r?Gr(L1((!r.b&&(r.b=new Ul((wn(),wo),Mc,r)),r.b),fU)):null)==null))&&Or(n,h))):(vo(),u(d,69).xk()&&(d.sk()||(Or(e,d),Or(n,d))));Uy(e),Uy(n),t.a=u(e.g,254),u(n.g,254)}function y5(t,e,n){var r,s,o,h,d,m,k,T,A;if(ns(e,n)>=0)return n;switch(Om($o(t,n))){case 2:{if(hn("",Lp(t,n.qk()).xe())){if(m=TI($o(t,n)),d=RE($o(t,n)),T=K6t(t,e,m,d),T)return T;for(s=Ekt(t,e),h=0,A=s.gc();h<A;++h)if(T=u(s.Xb(h),179),tkt(qit($o(t,T)),m))return T}return null}case 4:{if(hn("",Lp(t,n.qk()).xe())){for(r=n;r;r=a1n($o(t,r)))if(k=TI($o(t,r)),d=RE($o(t,r)),T=W6t(t,e,k,d),T)return T;if(m=TI($o(t,n)),hn(Cw,m))return Oxt(t,e);for(o=cct(t,e),h=0,A=o.gc();h<A;++h)if(T=u(o.Xb(h),179),tkt(qit($o(t,T)),m))return T}return null}default:return null}}function YTn(t,e,n){var r,s,o,h,d,m,k,T;if(n.gc()==0)return!1;if(d=(vo(),u(e,69).xk()),o=d?n:new $m(n.gc()),Ng(t.e,e)){if(e.Si())for(k=n.Kc();k.Ob();)m=k.Pb(),hV(t,e,m,Lt(e,102)&&(u(e,19).Bb&po)!=0)||(s=D0(e,m),o.Hc(s)||o.Fc(s));else if(!d)for(k=n.Kc();k.Ob();)m=k.Pb(),s=D0(e,m),o.Fc(s)}else{if(n.gc()>1)throw at(new zn(ON));for(T=Lu(t.e.Dh(),e),r=u(t.g,124),h=0;h<t.i;++h)if(s=r[h],T.am(s.Lk())){if(n.Hc(d?s:s.md()))return!1;for(k=n.Kc();k.Ob();)m=k.Pb(),u(c5(t,h,d?u(m,76):D0(e,m)),76);return!0}d||(s=D0(e,n.Kc().Pb()),o.Fc(s))}return gs(t,o)}function XTn(t,e){var n,r,s,o,h,d,m,k,T;for(T=new Ki,d=(k=new si(t.c).a.vc().Kc(),new Qi(k));d.a.Ob();)o=(s=u(d.a.Pb(),44),u(s.md(),466)),o.b==0&&hs(T,o,T.c.b,T.c);for(;T.b!=0;)for(o=u(T.b==0?null:(ur(T.b!=0),Oh(T,T.a.a)),466),o.a==null&&(o.a=0),r=new G(o.d);r.a<r.c.c.length;)n=u(et(r),663),n.b.a==null?n.b.a=Rt(o.a)+n.a:e.o==(nd(),Fw)?n.b.a=b.Math.min(Rt(n.b.a),Rt(o.a)+n.a):n.b.a=b.Math.max(Rt(n.b.a),Rt(o.a)+n.a),--n.b.b,n.b.b==0&&Zr(T,n.b);for(h=(m=new si(t.c).a.vc().Kc(),new Qi(m));h.a.Ob();)o=(s=u(h.a.Pb(),44),u(s.md(),466)),e.i[o.c.p]=o.a}function QTn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(T=n+e.c.c.a,$=new G(e.j);$.a<$.c.c.length;){if(P=u(et($),12),s=dc(lt(ut(la,1),ue,8,0,[P.i.n,P.n,P.a])),e.k==(Un(),uu)&&(d=u(X(P,(oe(),Li)),12),s.a=dc(lt(ut(la,1),ue,8,0,[d.i.n,d.n,d.a])).a,e.n.a=s.a),h=new ae(0,s.b),P.j==(ve(),Jn))h.a=T;else if(P.j==Gn)h.a=n;else continue;if(U=b.Math.abs(s.a-h.a),!(U<=r&&!qvn(e)))for(o=P.g.c.length+P.e.c.length>1,k=new sd(P.b);lc(k.a)||lc(k.b);)m=u(lc(k.a)?et(k.a):et(k.b),18),A=m.c==P?m.d:m.c,b.Math.abs(dc(lt(ut(la,1),ue,8,0,[A.i.n,A.n,A.a])).b-h.b)>1&&Okn(t,m,h,o,P)}}function JTn(t){var e,n,r,s,o,h;if(s=new La(t.e,0),r=new La(t.a,0),t.d)for(n=0;n<t.b;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++);else for(n=0;n<t.b-1;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Kl(s);for(e=Rt((ur(s.b<s.d.gc()),Ht(s.d.Xb(s.c=s.b++))));t.f-e>xlt;){for(o=e,h=0;b.Math.abs(e-o)<xlt;)++h,e=Rt((ur(s.b<s.d.gc()),Ht(s.d.Xb(s.c=s.b++)))),ur(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);h<t.b&&(ur(s.b>0),s.a.Xb(s.c=--s.b),d7n(t,t.b-h,o,r,s),ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++)),ur(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(n=0;n<t.b-1;n++)ur(s.b<s.d.gc()),s.d.Xb(s.c=s.b++),Kl(s);t.d=!0,t.c=!0}function Ni(){Ni=V,iOt=(kwt(),Bc).b,jTe=u(Dt(Qt(Bc.b),0),35),Hw=u(Dt(Qt(Bc.b),1),35),RTe=u(Dt(Qt(Bc.b),2),35),gx=Bc.bb,u(Dt(Qt(Bc.bb),0),35),u(Dt(Qt(Bc.bb),1),35),px=Bc.fb,AL=u(Dt(Qt(Bc.fb),0),35),u(Dt(Qt(Bc.fb),1),35),u(Dt(Qt(Bc.fb),2),19),Fv=Bc.qb,QTe=u(Dt(Qt(Bc.qb),0),35),u(Dt(Qt(Bc.qb),1),19),u(Dt(Qt(Bc.qb),2),19),XP=u(Dt(Qt(Bc.qb),3),35),QP=u(Dt(Qt(Bc.qb),4),35),DL=u(Dt(Qt(Bc.qb),6),35),LL=u(Dt(Qt(Bc.qb),5),19),$Te=Bc.j,zTe=Bc.k,qTe=Bc.q,HTe=Bc.w,VTe=Bc.B,UTe=Bc.A,GTe=Bc.C,KTe=Bc.D,WTe=Bc._,YTe=Bc.cb,XTe=Bc.hb}function ZTn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(A=n.Kc();A.Ob();){if(T=u(A.Pb(),12),d=T.j==(ve(),Hn)||T.j==Er,$=0,d){if(P=u(X(T,(oe(),ml)),10),!P)continue;$+=k8n(t,r,T,P)}else{for(k=new G(T.g);k.a<k.c.c.length;)if(m=u(et(k),18),s=m.d,s.i.c==e.c){ge(t.a,T);continue t}else $+=t.g[s.p];for(h=new G(T.e);h.a<h.c.c.length;)if(o=u(et(h),18),s=o.c,s.i.c==e.c){ge(t.a,T);continue t}else $-=t.g[s.p]}T.e.c.length+T.g.c.length>0?(t.f[T.p]=$/(T.e.c.length+T.g.c.length),t.c=b.Math.min(t.c,t.f[T.p]),t.b=b.Math.max(t.b,t.f[T.p])):d&&(t.f[T.p]=$)}}function t9n(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function e9n(t,e,n){var r,s,o,h;for(n.Ug("Graph transformation ("+t.a+")",1),h=Rm(e.a),o=new G(e.b);o.a<o.c.c.length;)s=u(et(o),30),Hs(h,s.a);if(r=u(X(e,(De(),$_t)),428),r==(YI(),xG))switch(u(X(e,ph),88).g){case 2:HS(e,h);break;case 3:g_(e,h);break;case 4:t.a==(r7(),KN)?(g_(e,h),kst(e,h)):(kst(e,h),g_(e,h))}else if(t.a==(r7(),KN))switch(u(X(e,ph),88).g){case 2:HS(e,h),kst(e,h);break;case 3:g_(e,h),HS(e,h);break;case 4:HS(e,h),g_(e,h)}else switch(u(X(e,ph),88).g){case 2:HS(e,h),kst(e,h);break;case 3:HS(e,h),g_(e,h);break;case 4:g_(e,h),HS(e,h)}n.Vg()}function n9n(t){var e,n,r,s,o,h,d,m;for(o=new G(t.a.b);o.a<o.c.c.length;)s=u(et(o),86),s.b.c=s.g.c,s.b.d=s.g.d;for(m=new ae(Zi,Zi),e=new ae(Vs,Vs),r=new G(t.a.b);r.a<r.c.c.length;)n=u(et(r),86),m.a=b.Math.min(m.a,n.g.c),m.b=b.Math.min(m.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);for(d=qz(t.c).a.nc();d.Ob();)h=u(d.Pb(),42),n=u(h.b,86),m.a=b.Math.min(m.a,n.g.c),m.b=b.Math.min(m.b,n.g.d),e.a=b.Math.max(e.a,n.g.c+n.g.b),e.b=b.Math.max(e.b,n.g.d+n.g.a);t.d=dz(new ae(m.a,m.b)),t.e=ia(new ae(e.a,e.b),m),t.a.a.c.length=0,t.a.b.c.length=0}function r9n(t){YS();var e,n,r,s,o,h,d;for(d=new xKt,n=new G(t);n.a<n.c.c.length;)e=u(et(n),148),(!d.b||e.c>=d.b.c)&&(d.b=e),(!d.c||e.c<=d.c.c)&&(d.d=d.c,d.c=e),(!d.e||e.d>=d.e.d)&&(d.e=e),(!d.f||e.d<=d.f.d)&&(d.f=e);return r=new _H((u7(),bv)),MI(t,l4e,new hl(lt(ut(GN,1),Ln,382,0,[r]))),h=new _H(y3),MI(t,u4e,new hl(lt(ut(GN,1),Ln,382,0,[h]))),s=new _H(v3),MI(t,c4e,new hl(lt(ut(GN,1),Ln,382,0,[s]))),o=new _H(F5),MI(t,o4e,new hl(lt(ut(GN,1),Ln,382,0,[o]))),Qot(r.c,bv),Qot(s.c,v3),Qot(o.c,F5),Qot(h.c,y3),d.a.c.length=0,Hs(d.a,r.c),Hs(d.a,Bh(s.c)),Hs(d.a,o.c),Hs(d.a,Bh(h.c)),d}function i9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(e.Ug(cwe,1),$=Rt(Ht(ne(t,(N0(),B3)))),h=Rt(Ht(ne(t,(fd(),iL)))),d=u(ne(t,rL),107),M4t((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a)),T=Hge((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),$,h),!t.a&&(t.a=new Jt(bi,t,10,11)),k=new G(T);k.a<k.c.c.length;)for(m=u(et(k),186),s=new G(m.a);s.a<s.c.c.length;)r=u(et(s),172),P=new t3t(r.s,r.t,Rt(Ht(ne(t,iL)))),R4t(P,r),ge(m.d,P);A=Rhe(T,h),U=b.Math.max(A.a,Rt(Ht(ne(t,nL)))-(d.b+d.c)),o=b.Math.max(A.b,Rt(Ht(ne(t,bK)))-(d.d+d.a)),n=o-A.b,Mi(t,tL,n),Mi(t,HT,U),Mi(t,eL,o+n),Mi(t,wK,T),e.Vg()}function s9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;for(k=new zd,T=new zd,U=new zd,J=new zd,m=Rt(Ht(X(e,(De(),Av)))),o=Rt(Ht(X(e,Yf))),d=new G(n);d.a<d.c.c.length;)if(h=u(et(d),10),A=u(X(h,(oe(),Dc)),64),A==(ve(),Hn))for(T.a.zc(h,T),s=new rr(sr(ua(h).a.Kc(),new z));Mr(s);)r=u(dr(s),18),qs(k,r.c.i);else if(A==Er)for(J.a.zc(h,J),s=new rr(sr(ua(h).a.Kc(),new z));Mr(s);)r=u(dr(s),18),qs(U,r.c.i);k.a.gc()!=0&&(P=new Uit(2,o),$=Xkt(P,e,k,T,-m-e.c.b),$>0&&(t.a=m+($-1)*o,e.c.b+=t.a,e.f.b+=t.a)),U.a.gc()!=0&&(P=new Uit(1,o),$=Xkt(P,e,U,J,e.f.b+m-e.c.b),$>0&&(e.f.b+=m+($-1)*o))}function Xge(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(T=Rt(Ht(X(t,(De(),_v)))),r=Rt(Ht(X(t,pAt))),P=new iM,Zt(P,_v,T+r),k=e,ht=k.d,J=k.c.i,Tt=k.d.i,tt=ymt(J.c),At=ymt(Tt.c),s=new fe,A=tt;A<=At;A++)d=new Ig(t),y(d,(Un(),fa)),Zt(d,(oe(),Li),k),Zt(d,bs,(ka(),hu)),Zt(d,KG,P),$=u(Oe(t.b,A),30),A==tt?Xy(d,$.a.c.length-n,$):Aa(d,$),Bt=Rt(Ht(X(k,Hp))),Bt<0&&(Bt=0,Zt(k,Hp,Bt)),d.o.b=Bt,U=b.Math.floor(Bt/2),h=new Yc,Xs(h,(ve(),Gn)),hc(h,d),h.n.b=U,m=new Yc,Xs(m,Jn),hc(m,d),m.n.b=U,xa(k,h),o=new Pm,Qo(o,k),Zt(o,Vo,null),Xa(o,m),xa(o,ht),Kvn(d,k,o),In(s.c,o),k=o;return s}function _ct(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(m=u(Pp(t,(ve(),Gn)).Kc().Pb(),12).e,$=u(Pp(t,Jn).Kc().Pb(),12).g,d=m.c.length,At=rd(u(Oe(t.j,0),12));d-- >0;){for(J=(vn(0,m.c.length),u(m.c[0],18)),s=(vn(0,$.c.length),u($.c[0],18)),Tt=s.d.e,o=Xo(Tt,s,0),A1n(J,s.d,o),Xa(s,null),xa(s,null),U=J.a,e&&Zr(U,new io(At)),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),Zr(U,new io(n));for(ht=J.b,P=new G(s.b);P.a<P.c.c.length;)A=u(et(P),72),In(ht.c,A);if(tt=u(X(J,(De(),Vo)),75),h=u(X(s,Vo),75),h)for(tt||(tt=new Qu,Zt(J,Vo,tt)),T=Dr(h,0);T.b!=T.d.c;)k=u(Ar(T),8),Zr(tt,new io(k))}}function a9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(J=e.b.c.length,!(J<3)){for($=Vt(Fr,ii,28,J,15,1),A=0,T=new G(e.b);T.a<T.c.c.length;)k=u(et(T),30),$[A++]=k.a.c.length;for(P=new La(e.b,2),r=1;r<J-1;r++)for(n=(ur(P.b<P.d.gc()),u(P.d.Xb(P.c=P.b++),30)),U=new G(n.a),o=0,d=0,m=0;m<$[r+1];m++)if(At=u(et(U),10),m==$[r+1]-1||f6t(t,At,r+1,r)){for(h=$[r]-1,f6t(t,At,r+1,r)&&(h=t.c.e[u(u(u(Oe(t.c.b,At.p),15).Xb(0),42).a,10).p]);d<=m;){if(Tt=u(Oe(n.a,d),10),!f6t(t,Tt,r+1,r))for(ht=u(Oe(t.c.b,Tt.p),15).Kc();ht.Ob();)tt=u(ht.Pb(),42),s=t.c.e[u(tt.a,10).p],(s<o||s>h)&&qs(t.b,u(tt.b,18));++d}o=h}}}function Kkt(t,e){var n;if(e==null||hn(e,Vu)||e.length==0&&t.k!=(Fp(),Qk))return null;switch(t.k.g){case 1:return kH(e,uT)?(Pn(),bT):kH(e,jlt)?(Pn(),t2):null;case 2:try{return he(lh(e,Ga,xi))}catch(r){if(r=es(r),Lt(r,130))return null;throw at(r)}case 4:try{return Jy(e)}catch(r){if(r=es(r),Lt(r,130))return null;throw at(r)}case 3:return e;case 5:return bue(t),D1e(t,e);case 6:return bue(t),s6n(t,t.a,e);case 7:try{return n=bxn(t),n.cg(e),n}catch(r){if(r=es(r),Lt(r,33))return null;throw at(r)}default:throw at(new Ro("Invalid type set for this layout option."))}}function Wkt(t){var e;switch(t.d){case 1:{if(t.Sj())return t.o!=-2;break}case 2:{if(t.Sj())return t.o==-2;break}case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.Rj(),t.p){case 0:return e!=null&&Ie(Me(e))!=bS(t.k,0);case 1:return e!=null&&u(e,222).a!=qr(t.k)<<24>>24;case 2:return e!=null&&u(e,180).a!=(qr(t.k)&js);case 6:return e!=null&&bS(u(e,168).a,t.k);case 5:return e!=null&&u(e,17).a!=qr(t.k);case 7:return e!=null&&u(e,191).a!=qr(t.k)<<16>>16;case 3:return e!=null&&Rt(Ht(e))!=t.j;case 4:return e!=null&&u(e,161).a!=t.j;default:return e==null?t.n!=null:!Ti(e,t.n)}}function QO(t,e,n){var r,s,o,h;return t.ol()&&t.nl()&&(h=jit(t,u(n,58)),$t(h)!==$t(n))?(t.xj(e),t.Dj(e,Zse(t,e,h)),t.al()&&(o=(s=u(n,54),t.ml()?t.kl()?s.Th(t.b,yo(u(En($u(t.b),t.Lj()),19)).n,u(En($u(t.b),t.Lj()).Hk(),29).kk(),null):s.Th(t.b,ns(s.Dh(),yo(u(En($u(t.b),t.Lj()),19))),null,null):s.Th(t.b,-1-t.Lj(),null,null)),!u(h,54).Ph()&&(o=(r=u(h,54),t.ml()?t.kl()?r.Rh(t.b,yo(u(En($u(t.b),t.Lj()),19)).n,u(En($u(t.b),t.Lj()).Hk(),29).kk(),o):r.Rh(t.b,ns(r.Dh(),yo(u(En($u(t.b),t.Lj()),19))),null,o):r.Rh(t.b,-1-t.Lj(),null,o))),o&&o.oj()),Hl(t.b)&&t.Jj(t.Ij(9,n,h,e,!1)),h):n}function Qge(t){var e,n,r,s,o,h,d,m,k,T;for(r=new fe,h=new G(t.e.a);h.a<h.c.c.length;){for(s=u(et(h),125),T=0,s.k.c.length=0,n=new G(s5(s));n.a<n.c.c.length;)e=u(et(n),218),e.f&&(ge(s.k,e),++T);T==1&&In(r.c,s)}for(o=new G(r);o.a<o.c.c.length;)for(s=u(et(o),125);s.k.c.length==1;){for(k=u(et(new G(s.k)),218),t.b[k.c]=k.g,d=k.d,m=k.e,n=new G(s5(s));n.a<n.c.c.length;)e=u(et(n),218),Ti(e,k)||(e.f?d==e.d||m==e.e?t.b[k.c]-=t.b[e.c]-e.g:t.b[k.c]+=t.b[e.c]-e.g:s==d?e.d==s?t.b[k.c]+=e.g:t.b[k.c]-=e.g:e.d==s?t.b[k.c]-=e.g:t.b[k.c]+=e.g);zu(d.k,k),zu(m.k,k),d==s?s=k.e:s=k.d}}function Jge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(n=u(Io(t.b,e),127),m=u(u(Ai(t.r,e),21),87),m.dc()){n.n.b=0,n.n.c=0;return}for(k=t.u.Hc((wl(),Hg)),h=0,d=m.Kc(),T=null,A=0,P=0;d.Ob();)r=u(d.Pb(),117),s=Rt(Ht(r.b.of((hz(),$U)))),o=r.b.Mf().a,t.A.Hc((Yl(),qw))&&_0e(t,e),T?($=P+T.d.c+t.w+r.d.b,h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(A-s)<=gd||A==s||isNaN(A)&&isNaN(s)?0:$/(s-A)))):t.C&&t.C.b>0&&(h=b.Math.max(h,ece(t.C.b+r.d.b,s))),T=r,A=s,P=o;t.C&&t.C.c>0&&($=P+t.C.c,k&&($+=T.d.c),h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(A-1)<=gd||A==1||isNaN(A)&&isNaN(1)?0:$/(1-A)))),n.n.b=0,n.a.a=h}function Zge(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(n=u(Io(t.b,e),127),m=u(u(Ai(t.r,e),21),87),m.dc()){n.n.d=0,n.n.a=0;return}for(k=t.u.Hc((wl(),Hg)),h=0,t.A.Hc((Yl(),qw))&&A0e(t,e),d=m.Kc(),T=null,P=0,A=0;d.Ob();)r=u(d.Pb(),117),o=Rt(Ht(r.b.of((hz(),$U)))),s=r.b.Mf().b,T?($=A+T.d.a+t.w+r.d.d,h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(P-o)<=gd||P==o||isNaN(P)&&isNaN(o)?0:$/(o-P)))):t.C&&t.C.d>0&&(h=b.Math.max(h,ece(t.C.d+r.d.d,o))),T=r,P=o,A=s;t.C&&t.C.a>0&&($=A+t.C.a,k&&($+=T.d.a),h=b.Math.max(h,(Z1(),$f(gd),b.Math.abs(P-1)<=gd||P==1||isNaN(P)&&isNaN(1)?0:$/(1-P)))),n.n.d=0,n.a.b=h}function o9n(t,e,n,r,s,o,h,d){var m,k,T,A,P,$,U,J,tt,ht;if(U=!1,k=ekt(n.q,e.f+e.b-n.q.f),$=r.f>e.b&&d,ht=s-(n.q.e+k-h),A=(m=B_(r,ht,!1),m.a),$&&A>r.f)return!1;if($){for(P=0,tt=new G(e.d);tt.a<tt.c.c.length;)J=u(et(tt),315),P+=ekt(J,r.f)+h;ht=s-P}return ht<r.g||(T=o==t.c.length-1&&ht>=(vn(o,t.c.length),u(t.c[o],186)).e,!$&&A>e.b&&!T)?!1:((T||$||A<=e.b)&&(T&&A>e.b?(n.d=A,$I(n,Rfe(n,A))):(nfe(n.q,k),n.c=!0),$I(r,s-(n.s+n.r)),kO(r,n.q.e+n.q.d,e.f),zq(e,r),t.c.length>o&&(CO((vn(o,t.c.length),u(t.c[o],186)),r),(vn(o,t.c.length),u(t.c[o],186)).a.c.length==0&&Ep(t,o)),U=!0),U)}function tpe(t,e,n){var r,s,o,h,d,m;for(this.g=t,d=e.d.length,m=n.d.length,this.d=Vt(V0,jp,10,d+m,0,1),h=0;h<d;h++)this.d[h]=e.d[h];for(o=0;o<m;o++)this.d[d+o]=n.d[o];if(e.e){if(this.e=bI(e.e),this.e.Mc(n),n.e)for(s=n.e.Kc();s.Ob();)r=u(s.Pb(),239),r!=e&&(this.e.Hc(r)?--r.c:this.e.Fc(r))}else n.e&&(this.e=bI(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Jst(this,this.f/this.a):td(e.g,e.d[0]).a!=null&&td(n.g,n.d[0]).a!=null?Jst(this,(Rt(td(e.g,e.d[0]).a)+Rt(td(n.g,n.d[0]).a))/2):td(e.g,e.d[0]).a!=null?Jst(this,td(e.g,e.d[0]).a):td(n.g,n.d[0]).a!=null&&Jst(this,td(n.g,n.d[0]).a)}function c9n(t,e){var n,r,s,o,h,d,m,k,T,A;for(t.a=new Iee(Vpn(gL)),r=new G(e.a);r.a<r.c.c.length;){for(n=u(et(r),855),d=new Zat(lt(ut(sft,1),Ln,86,0,[])),ge(t.a.a,d),k=new G(n.d);k.a<k.c.c.length;)m=u(et(k),116),T=new Wmt(t,m),Qkt(T,u(X(n.c,(oe(),$g)),21)),Tu(t.g,n)||(hi(t.g,n,new ae(m.c,m.d)),hi(t.f,n,T)),ge(t.a.b,T),xst(d,T);for(h=new G(n.b);h.a<h.c.c.length;)o=u(et(h),602),T=new Wmt(t,o.Df()),hi(t.b,o,new Ws(d,T)),Qkt(T,u(X(n.c,(oe(),$g)),21)),o.Bf()&&(A=new ixt(t,o.Bf(),1),Qkt(A,u(X(n.c,$g),21)),s=new Zat(lt(ut(sft,1),Ln,86,0,[])),xst(s,A),dn(t.c,o.Af(),new Ws(d,A)))}return t.a}function epe(t){var e;this.a=t,e=(Un(),lt(ut(fft,1),te,273,0,[xs,fa,Ms,uu,Vc,md])).length,this.b=G2(Sdt,[ue,v7t],[601,149],0,[e,e],2),this.c=G2(Sdt,[ue,v7t],[601,149],0,[e,e],2),cst(this,xs,(De(),Av),X5),n_(this,xs,fa,_v,Pw),CI(this,xs,uu,_v),CI(this,xs,Ms,_v),n_(this,xs,Vc,Av,X5),cst(this,fa,Yf,W5),CI(this,fa,uu,Yf),CI(this,fa,Ms,Yf),n_(this,fa,Vc,_v,Pw),UQt(this,uu,Yf),CI(this,uu,Ms,Yf),CI(this,uu,Vc,l1t),UQt(this,Ms,jA),n_(this,Ms,Vc,BT,FT),cst(this,Vc,Yf,Yf),cst(this,md,Yf,W5),n_(this,md,xs,_v,Pw),n_(this,md,Vc,_v,Pw),n_(this,md,fa,_v,Pw)}function u9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(h=n.Lk(),Lt(h,102)&&u(h,19).Bb&po&&(P=u(n.md(),54),J=jb(t.e,P),J!=P)){if(T=D0(h,J),kS(t,e,Dot(t,e,T)),A=null,Hl(t.e)&&(r=y5((il(),ja),t.e.Dh(),h),r!=En(t.e.Dh(),t.c))){for(tt=Lu(t.e.Dh(),h),d=0,o=u(t.g,124),m=0;m<e;++m)s=o[m],tt.am(s.Lk())&&++d;A=new Cst(t.e,9,r,P,J,d,!1),A.nj(new Tg(t.e,9,t.c,n,T,e,!1))}return U=u(h,19),$=yo(U),$?(A=P.Th(t.e,ns(P.Dh(),$),null,A),A=u(J,54).Rh(t.e,ns(J.Dh(),$),null,A)):U.Bb&Fc&&(k=-1-ns(t.e.Dh(),U),A=P.Th(t.e,k,null,null),!u(J,54).Ph()&&(A=u(J,54).Rh(t.e,k,null,A))),A&&A.oj(),T}return n}function l9n(t){var e,n,r;for(r5(b2,lt(ut(P5,1),Ln,134,0,[new Oj])),n=new Xj(t),r=0;r<n.a.length;++r)e=$y(n,r).te().a,hn(e,"layered")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Qet])):hn(e,"force")?r5(b2,lt(ut(P5,1),Ln,134,0,[new MC])):hn(e,"stress")?r5(b2,lt(ut(P5,1),Ln,134,0,[new _j])):hn(e,"mrtree")?r5(b2,lt(ut(P5,1),Ln,134,0,[new snt])):hn(e,"radial")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Jh])):hn(e,"disco")?r5(b2,lt(ut(P5,1),Ln,134,0,[new Tj,new Cj])):hn(e,"sporeOverlap")||hn(e,"sporeCompaction")?r5(b2,lt(ut(P5,1),Ln,134,0,[new hnt])):hn(e,"rectpacking")&&r5(b2,lt(ut(P5,1),Ln,134,0,[new iE]))}function npe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(P=new io(t.o),ht=e.a/P.a,d=e.b/P.b,J=e.a-P.a,o=e.b-P.b,n)for(s=$t(X(t,(De(),bs)))===$t((ka(),hu)),U=new G(t.j);U.a<U.c.c.length;)switch($=u(et(U),12),$.j.g){case 1:s||($.n.a*=ht);break;case 2:$.n.a+=J,s||($.n.b*=d);break;case 3:s||($.n.a*=ht),$.n.b+=o;break;case 4:s||($.n.b*=d)}for(k=new G(t.b);k.a<k.c.c.length;)m=u(et(k),72),T=m.n.a+m.o.a/2,A=m.n.b+m.o.b/2,tt=T/P.a,h=A/P.b,tt+h>=1&&(tt-h>0&&A>=0?(m.n.a+=J,m.n.b+=o*h):tt-h<0&&T>=0&&(m.n.a+=J*tt,m.n.b+=o));t.o.a=e.a,t.o.b=e.b,Zt(t,(De(),Ow),(Yl(),r=u(y1(xL),9),new _h(r,u(Ff(r,r.length),9),0)))}function h9n(t,e,n,r,s,o){var h;if(!(e==null||!Uat(e,BIt,RIt)))throw at(new zn("invalid scheme: "+e));if(!t&&!(n!=null&&$d(n,Hu(35))==-1&&n.length>0&&(qn(0,n.length),n.charCodeAt(0)!=47)))throw at(new zn("invalid opaquePart: "+n));if(t&&!(e!=null&&BM(WK,e.toLowerCase()))&&!(n==null||!Uat(n,CL,SL)))throw at(new zn(Fme+n));if(t&&e!=null&&BM(WK,e.toLowerCase())&&!Vyn(n))throw at(new zn(Fme+n));if(!X2n(r))throw at(new zn("invalid device: "+r));if(!Nbn(s))throw h=s==null?"invalid segments: null":"invalid segment: "+Dbn(s),at(new zn(h));if(!(o==null||$d(o,Hu(35))==-1))throw at(new zn("invalid query: "+o))}function f9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(n.Ug("Network simplex layering",1),t.b=e,ht=u(X(e,(De(),$A)),17).a*4,tt=t.b.a,tt.c.length<1){n.Vg();return}for(o=lEn(t,tt),J=null,s=Dr(o,0);s.b!=s.d.c;){for(r=u(Ar(s),15),d=ht*Ys(b.Math.sqrt(r.gc())),h=CEn(r),uct(pwt(frn(bwt(mit(h),d),J),!0),n.eh(1)),P=t.b.b,U=new G(h.a);U.a<U.c.c.length;){for($=u(et(U),125);P.c.length<=$.e;)Sm(P,P.c.length,new eu(t.b));T=u($.f,10),Aa(T,u(Oe(P,$.e),30))}if(o.b>1)for(J=Vt(Fr,ii,28,t.b.b.c.length,15,1),A=0,k=new G(t.b.b);k.a<k.c.c.length;)m=u(et(k),30),J[A++]=m.a.c.length}tt.c.length=0,t.a=null,t.b=null,t.c=null,n.Vg()}function d9n(t,e){var n,r,s,o,h,d,m,k,T,A;for(T=new fe,A=new K4,o=null,s=0,r=0;r<e.length;++r)switch(n=e[r],vbn(o,n)&&(s=P5t(t,A,T,nK,s)),qi(n,(oe(),yv))&&(o=u(X(n,yv),10)),n.k.g){case 0:for(m=Emt(H6(gc(n,(ve(),Hn)),new yR));rat(m);)h=u(t4t(m),12),t.d[h.p]=s++,In(T.c,h);for(s=P5t(t,A,T,nK,s),k=Emt(H6(gc(n,Er),new yR));rat(k);)h=u(t4t(k),12),t.d[h.p]=s++,In(T.c,h);break;case 3:gc(n,JAt).dc()||(h=u(gc(n,JAt).Xb(0),12),t.d[h.p]=s++,In(T.c,h)),gc(n,nK).dc()||Ob(A,n);break;case 1:for(d=gc(n,(ve(),Gn)).Kc();d.Ob();)h=u(d.Pb(),12),t.d[h.p]=s++,In(T.c,h);gc(n,Jn).Jc(new xXt(A,n))}return P5t(t,A,T,nK,s),T}function Ykt(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(e==null||e.length==0)return null;if(o=u(nu(t.f,e),23),!o){for(s=($=new si(t.d).a.vc().Kc(),new Qi($));s.a.Ob();)if(n=(h=u(s.a.Pb(),44),u(h.md(),23)),d=n.f,U=e.length,hn(d.substr(d.length-U,U),e)&&(e.length==d.length||Va(d,d.length-e.length-1)==46)){if(o)return null;o=n}if(!o){for(r=(P=new si(t.d).a.vc().Kc(),new Qi(P));r.a.Ob();)if(n=(h=u(r.a.Pb(),44),u(h.md(),23)),A=n.g,A!=null){for(m=A,k=0,T=m.length;k<T;++k)if(d=m[k],U=e.length,hn(d.substr(d.length-U,U),e)&&(e.length==d.length||Va(d,d.length-e.length-1)==46)){if(o)return null;o=n}}}o&&jo(t.f,e,o)}return o}function g9n(t,e){var n,r,s,o,h;for(n=new I4,h=!1,o=0;o<e.length;o++){if(r=(qn(o,e.length),e.charCodeAt(o)),r==32){for(EH(t,n,0),n.a+=" ",EH(t,n,0);o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==32);)++o;continue}if(h){r==39?o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+=String.fromCharCode(r),++o):h=!1:n.a+=String.fromCharCode(r);continue}if($d("GyMLdkHmsSEcDahKzZv",Hu(r))>0){EH(t,n,0),n.a+=String.fromCharCode(r),s=Nwn(e,o),EH(t,n,s),o+=s-1;continue}r==39?o+1<e.length&&(qn(o+1,e.length),e.charCodeAt(o+1)==39)?(n.a+="'",++o):h=!0:n.a+=String.fromCharCode(r)}EH(t,n,0),f3n(t)}function p9n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(At=ate(t),m=new fe,o=t.c.length,k=o-1,T=o+1;At.a.gc()!=0;){for(;n.b!=0;)ht=(ur(n.b!=0),u(Oh(n,n.a.a),118)),At.a.Bc(ht)!=null,ht.g=k--,Fkt(ht,e,n,r);for(;e.b!=0;)Tt=(ur(e.b!=0),u(Oh(e,e.a.a),118)),At.a.Bc(Tt)!=null,Tt.g=T++,Fkt(Tt,e,n,r);for(d=Ga,J=At.a.ec().Kc();J.Ob();){if(U=u(J.Pb(),118),!r&&U.b>0&&U.a<=0){m.c.length=0,In(m.c,U);break}$=U.i-U.d,$>=d&&($>d&&(m.c.length=0,d=$),In(m.c,U))}m.c.length!=0&&(h=u(Oe(m,MH(s,m.c.length)),118),At.a.Bc(h)!=null,h.g=T++,Fkt(h,e,n,r),m.c.length=0)}for(tt=t.c.length+1,P=new G(t);P.a<P.c.c.length;)A=u(et(P),118),A.g<o&&(A.g=A.g+tt)}function rpe(t,e,n){var r,s,o,h;this.j=t,this.e=Uxt(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(Oe(n,Pa(this.o).p),219):null,s=u(X(t,(oe(),lu)),21),this.g=s.Hc((Co(),Uh)),this.b=new fe,this.d=new gle(this.e),h=u(X(this.j,Kk),234),this.q=wpn(e,h,this.e),this.k=new ire(this),o=id(lt(ut(N4e,1),Ln,230,0,[this,this.d,this.k,this.q])),e==(Hm(),hP)&&!Ie(Me(X(t,(De(),Ev))))?(r=new Wxt(this.e),In(o.c,r),this.c=new p3t(r,h,u(this.q,413))):e==hP&&Ie(Me(X(t,(De(),Ev))))?(r=new Wxt(this.e),In(o.c,r),this.c=new Yoe(r,h,u(this.q,413))):this.c=new yXt(e,this),ge(o,this.c),$ge(o,this.e),this.s=nSn(this.k)}function b9n(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt;for(o=new fe,k=new G(r);k.a<k.c.c.length;)if(d=u(et(k),452),h=null,d.f==(To(),ku))for(U=new G(d.e);U.a<U.c.c.length;)$=u(et(U),18),tt=$.d.i,Pa(tt)==e?ioe(t,e,d,$,d.b,$.d):!n||a7(tt,n)?G3n(t,e,d,r,$):(P=Ect(t,e,n,$,d.b,ku,h),P!=h&&In(o.c,P),P.c&&(h=P));else for(A=new G(d.e);A.a<A.c.c.length;)if(T=u(et(A),18),J=T.c.i,Pa(J)==e)ioe(t,e,d,T,T.c,d.b);else{if(!n||a7(J,n))continue;P=Ect(t,e,n,T,d.b,vl,h),P!=h&&In(o.c,P),P.c&&(h=P)}for(m=new G(o);m.a<m.c.c.length;)d=u(et(m),452),Xo(e.a,d.a,0)!=-1||ge(e.a,d.a),d.c&&In(s.c,d)}function ipe(t){var e,n,r,s,o,h,d;for(e=0,o=new G(t.b.a);o.a<o.c.c.length;)r=u(et(o),194),r.b=0,r.c=0;for(Ffe(t,0),Gat(t,t.g),eV(t.c),hwt(t.c),n=(Rs(),Uo),GO(Nrt(x5(GO(Nrt(x5(GO(x5(t.c,n)),Yue(n)))),n))),x5(t.c,Uo),$at(t,t.g),kfe(t,0),Fge(t,0),wde(t,1),Ffe(t,1),Gat(t,t.d),eV(t.c),h=new G(t.b.a);h.a<h.c.c.length;)r=u(et(h),194),e+=b.Math.abs(r.c);for(d=new G(t.b.a);d.a<d.c.c.length;)r=u(et(d),194),r.b=0,r.c=0;for(n=Gh,GO(Nrt(x5(GO(Nrt(x5(GO(hwt(x5(t.c,n))),Yue(n)))),n))),x5(t.c,Uo),$at(t,t.d),kfe(t,1),Fge(t,1),wde(t,0),hwt(t.c),s=new G(t.b.a);s.a<s.c.c.length;)r=u(et(s),194),e+=b.Math.abs(r.c);return e}function w9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(Ie(Me(X(n,(De(),L3)))))for(d=new G(n.j);d.a<d.c.c.length;)for(h=u(et(d),12),P=Kd(h.g),k=P,T=0,A=k.length;T<A;++T)m=k[T],o=m.d.i==n,s=o&&Ie(Me(X(m,Mw))),s&&(U=m.c,$=u(tr(t.b,U),10),$||($=JO(U,(ka(),Td),U.j,-1,null,null,U.o,u(X(e,ph),88),e),Zt($,(oe(),Li),U),hi(t.b,U,$),ge(e.a,$)),tt=m.d,J=u(tr(t.b,tt),10),J||(J=JO(tt,(ka(),Td),tt.j,1,null,null,tt.o,u(X(e,ph),88),e),Zt(J,(oe(),Li),tt),hi(t.b,tt,J),ge(e.a,J)),r=Dst(m),Xa(r,u(Oe($.j,0),12)),xa(r,u(Oe(J.j,0),12)),dn(t.a,m,new wz(r,e,(To(),ku))),u(X(e,(oe(),lu)),21).Fc((Co(),Uh)))}function m9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(s=new G(t.a.b);s.a<s.c.c.length;)for(n=u(et(s),30),m=new G(n.a);m.a<m.c.c.length;)d=u(et(m),10),e.j[d.p]=d,e.i[d.p]=e.o==(nd(),yd)?Vs:Zi;for(dl(t.c),h=t.a.b,e.c==(Gd(),Gp)&&(h=Bh(h)),y1n(t.e,e,t.b),zM(e.p,null),o=h.Kc();o.Ob();)for(n=u(o.Pb(),30),k=n.a,e.o==(nd(),yd)&&(k=Bh(k)),P=k.Kc();P.Ob();)A=u(P.Pb(),10),e.g[A.p]==A&&zpe(t,A,e);for(XTn(t,e),r=h.Kc();r.Ob();)for(n=u(r.Pb(),30),P=new G(n.a);P.a<P.c.c.length;)A=u(et(P),10),e.p[A.p]=e.p[e.g[A.p].p],A==e.g[A.p]&&(T=Rt(e.i[e.j[A.p].p]),(e.o==(nd(),yd)&&T>Vs||e.o==Fw&&T<Zi)&&(e.p[A.p]=Rt(e.p[A.p])+T));t.e.xg()}function v9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(n.Ug("Label dummy switching",1),r=u(X(e,(De(),jG)),232),upn(e),s=Jxn(e,r),t.a=Vt(ma,No,28,e.b.c.length,15,1),d=(wk(),lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5])),T=0,$=d.length;T<$;++T)if(o=d[T],(o==$5||o==j5||o==T3)&&!u(Zu(s.a,o)?s.b[o.g]:null,15).dc()){gpn(t,e);break}for(m=lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5]),A=0,U=m.length;A<U;++A)o=m[A],o==$5||o==j5||o==T3||V0e(t,u(Zu(s.a,o)?s.b[o.g]:null,15));for(h=lt(ut(TT,1),te,232,0,[ET,SA,kT,T3,$5,j5]),k=0,P=h.length;k<P;++k)o=h[k],(o==$5||o==j5||o==T3)&&V0e(t,u(Zu(s.a,o)?s.b[o.g]:null,15));t.a=null,n.Vg()}function spe(t,e){var n,r,s,o,h,d,m,k,T;if(k=e,!(k.b==null||t.b==null)){for(g5(t),R_(t),g5(k),R_(k),n=Vt(Fr,ii,28,t.b.length+k.b.length,15,1),T=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],m=k.b[h+1],o<d)r+=2;else if(o>=d&&s<=m)d<=s&&o<=m?(n[T++]=s,n[T++]=o,r+=2):d<=s?(n[T++]=s,n[T++]=m,t.b[r]=m+1,h+=2):o<=m?(n[T++]=d,n[T++]=o,r+=2):(n[T++]=d,n[T++]=m,t.b[r]=m+1);else if(m<s)h+=2;else throw at(new uc("Token#intersectRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] & ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[T++]=t.b[r++],n[T++]=t.b[r++];t.b=Vt(Fr,ii,28,T,15,1),Xc(n,0,t.b,0,T)}}function y9n(t){var e,n,r,s,o,h,d;for(e=new fe,t.g=new fe,t.d=new fe,h=new sw(new mr(t.f.b).a);h.b;)o=Um(h),ge(e,u(u(o.md(),42).b,86)),bg(u(o.ld(),602).Af())?ge(t.d,u(o.md(),42)):ge(t.g,u(o.md(),42));for(Gat(t,t.d),Gat(t,t.g),t.c=new O1e(t.b),grn(t.c,(Dwt(),n4e)),$at(t,t.d),$at(t,t.g),Hs(e,t.c.a.b),t.e=new ae(Zi,Zi),t.a=new ae(Vs,Vs),r=new G(e);r.a<r.c.c.length;)n=u(et(r),86),t.e.a=b.Math.min(t.e.a,n.g.c),t.e.b=b.Math.min(t.e.b,n.g.d),t.a.a=b.Math.max(t.a.a,n.g.c+n.g.b),t.a.b=b.Math.max(t.a.b,n.g.d+n.g.a);mwt(t.c,new im),d=0;do s=ipe(t),++d;while((d<2||s>Kb)&&d<10);mwt(t.c,new Gx),ipe(t),oln(t.c),n9n(t.f)}function x9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(n=u(X(t,(De(),bs)),101),h=t.f,o=t.d,d=h.a+o.b+o.c,m=0-o.d-t.c.b,T=h.b+o.d+o.a-t.c.b,k=new fe,A=new fe,s=new G(e);s.a<s.c.c.length;){switch(r=u(et(s),10),n.g){case 1:case 2:case 3:ukn(r);break;case 4:P=u(X(r,Sv),8),$=P?P.a:0,r.n.a=d*Rt(Ht(X(r,(oe(),xv))))-$,nH(r,!0,!1);break;case 5:U=u(X(r,Sv),8),J=U?U.a:0,r.n.a=Rt(Ht(X(r,(oe(),xv))))-J,nH(r,!0,!1),h.a=b.Math.max(h.a,r.n.a+r.o.a/2)}switch(u(X(r,(oe(),Dc)),64).g){case 1:r.n.b=m,In(k.c,r);break;case 3:r.n.b=T,In(A.c,r)}}switch(n.g){case 1:case 2:Rue(k,t),Rue(A,t);break;case 3:jue(k,t),jue(A,t)}}function k9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;switch(t.k.g){case 1:if(r=u(X(t,(oe(),Li)),18),n=u(X(r,t_t),75),n?Ie(Me(X(r,vd)))&&(n=cO(n)):n=new Qu,k=u(X(t,N1),12),k){if(T=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])),e<=T.a)return T.b;hs(n,T,n.a,n.a.a)}if(A=u(X(t,gf),12),A){if(P=dc(lt(ut(la,1),ue,8,0,[A.i.n,A.n,A.a])),P.a<=e)return P.b;hs(n,P,n.c.b,n.c)}if(n.b>=2){for(m=Dr(n,0),h=u(Ar(m),8),d=u(Ar(m),8);d.a<e&&m.b!=m.d.c;)h=d,d=u(Ar(m),8);return h.b+(e-h.a)/(d.a-h.a)*(d.b-h.b)}break;case 3:switch(o=u(X(u(Oe(t.j,0),12),(oe(),Li)),12),s=o.i,o.j.g){case 1:return s.n.b;case 3:return s.n.b+s.o.b}}return Fxt(t).b}function E9n(t){var e,n,r,s,o,h,d,m,k,T,A;for(h=new G(t.d.b);h.a<h.c.c.length;)for(o=u(et(h),30),m=new G(o.a);m.a<m.c.c.length;){if(d=u(et(m),10),Ie(Me(X(d,(De(),PA))))&&!HE(Dg(d))){r=u(bhn(Dg(d)),18),T=r.c.i,T==d&&(T=r.d.i),A=new Ws(T,ia(Oa(d.n),T.n)),hi(t.b,d,A);continue}s=new Ah(d.n.a-d.d.b,d.n.b-d.d.d,d.o.a+d.d.b+d.d.c,d.o.b+d.d.d+d.d.a),e=NJt(zYt(jYt($Yt(new G2t,d),s),I4e),t.a),OJt($rn(Coe(new U2t,lt(ut(RU,1),Ln,60,0,[e])),e),t.a),k=new Rnt,hi(t.e,e,k),n=xg(new rr(sr(ua(d).a.Kc(),new z)))-xg(new rr(sr(_s(d).a.Kc(),new z))),n<0?aO(k,!0,(Rs(),Uo)):n>0&&aO(k,!0,(Rs(),tc)),d.k==(Un(),Ms)&&zee(k),hi(t.f,d,e)}}function T9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(s=u(X(t,(ji(),JA)),27),k=xi,T=xi,d=Ga,m=Ga,At=Dr(t.b,0);At.b!=At.d.c;)ht=u(Ar(At),39),$=ht.e,U=ht.f,k=b.Math.min(k,$.a-U.a/2),T=b.Math.min(T,$.b-U.b/2),d=b.Math.max(d,$.a+U.a/2),m=b.Math.max(m,$.b+U.b/2);for(P=u(ne(s,(Cc(),SLt)),107),Tt=Dr(t.b,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),39),A=X(ht,JA),Lt(A,207)&&(o=u(A,27),Ch(o,ht.e.a,ht.e.b),$O(o,ht));for(tt=Dr(t.a,0);tt.b!=tt.d.c;)J=u(Ar(tt),65),r=u(X(J,JA),74),r&&(e=J.a,n=b5(r,!0,!0),KO(e,n));Bt=d-k+(P.b+P.c),h=m-T+(P.d+P.a),Ie(Me(ne(s,(ai(),R3))))||rv(s,Bt,h,!1,!1),Mi(s,ox,Bt-(P.b+P.c)),Mi(s,ax,h-(P.d+P.a))}function ape(t,e){var n,r,s,o,h,d,m,k,T,A;for(m=!0,s=0,k=t.g[e.p],T=e.o.b+t.o,n=t.d[e.p][2],Mh(t.b,k,he(u(Oe(t.b,k),17).a-1+n)),Mh(t.c,k,Rt(Ht(Oe(t.c,k)))-T+n*t.f),++k,k>=t.j?(++t.j,ge(t.b,he(1)),ge(t.c,T)):(r=t.d[e.p][1],Mh(t.b,k,he(u(Oe(t.b,k),17).a+1-r)),Mh(t.c,k,Rt(Ht(Oe(t.c,k)))+T-r*t.f)),(t.r==(cf(),cP)&&(u(Oe(t.b,k),17).a>t.k||u(Oe(t.b,k-1),17).a>t.k)||t.r==uP&&(Rt(Ht(Oe(t.c,k)))>t.n||Rt(Ht(Oe(t.c,k-1)))>t.n))&&(m=!1),h=new rr(sr(ua(e).a.Kc(),new z));Mr(h);)o=u(dr(h),18),d=o.c.i,t.g[d.p]==k&&(A=ape(t,d),s=s+u(A.a,17).a,m=m&&Ie(Me(A.b)));return t.g[e.p]=k,s=s+t.d[e.p][0],new Ws(he(s),(Pn(),!!m))}function ope(t,e){var n,r,s,o,h;n=Rt(Ht(X(e,(De(),Yf)))),n<2&&Zt(e,Yf,2),r=u(X(e,ph),88),r==(Rs(),Ed)&&Zt(e,ph,fH(e)),s=u(X(e,T6e),17),s.a==0?Zt(e,(oe(),Kk),new Kat):Zt(e,(oe(),Kk),new pq(s.a)),o=Me(X(e,BA)),o==null&&Zt(e,BA,(Pn(),$t(X(e,zg))===$t((Lg(),WT)))),ms(new ln(null,new gn(e.a,16)),new lp(t)),ms(fc(new ln(null,new gn(e.b,16)),new p4),new $C(t)),h=new epe(e),Zt(e,(oe(),G5),h),EI(t.a),E1(t.a,(Ua(),Wf),u(X(e,Dw),188)),E1(t.a,H0,u(X(e,Iw),188)),E1(t.a,Qc,u(X(e,FA),188)),E1(t.a,cu,u(X(e,UG),188)),E1(t.a,Zo,Tpn(u(X(e,zg),223))),kmt(t.a,vSn(e)),Zt(e,Yft,XO(t.a,e))}function Xkt(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(A=new _r,h=new fe,s1e(t,n,t.d.Ag(),h,A),s1e(t,r,t.d.Bg(),h,A),t.b=.2*(J=hde(fc(new ln(null,new gn(h,16)),new TZ)),tt=hde(fc(new ln(null,new gn(h,16)),new CZ)),b.Math.min(J,tt)),o=0,d=0;d<h.c.length-1;d++)for(m=(vn(d,h.c.length),u(h.c[d],118)),U=d+1;U<h.c.length;U++)o+=Hkt(t,m,(vn(U,h.c.length),u(h.c[U],118)));for(P=u(X(e,(oe(),Kk)),234),o>=2&&(ht=Dde(h,!0,P),!t.e&&(t.e=new $Ut(t)),Dwn(t.e,ht,h,t.b)),ffe(h,P),D9n(h),$=-1,T=new G(h);T.a<T.c.c.length;)k=u(et(T),118),!(b.Math.abs(k.s-k.c)<n0)&&($=b.Math.max($,k.o),t.d.yg(k,s,t.c));return t.d.a.a.$b(),$+1}function C9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(A=u(sz((h=Dr(new gg(e).a.d,0),new M4(h))),39),U=A?u(X(A,(ji(),$1t)),39):null,s=1;A&&U;){for(m=0,Bt=0,n=A,r=U,d=0;d<s;d++)n=Nst(n),r=Nst(r),Bt+=Rt(Ht(X(n,(ji(),qT)))),m+=Rt(Ht(X(r,qT)));if(At=Rt(Ht(X(U,(ji(),Kp)))),Tt=Rt(Ht(X(A,Kp))),P=A5t(t,A,U),$=At+m+t.b+P-Tt-Bt,0<$){for(k=e,T=0;k&&k!=r;)++T,k=u(X(k,oK),39);if(k)for(ht=$/T,k=e;k!=r;)tt=Rt(Ht(X(k,Kp)))+$,Zt(k,Kp,tt),J=Rt(Ht(X(k,qT)))+$,Zt(k,qT,J),$-=ht,k=u(X(k,oK),39);else return}++s,A.d.b==0?A=Akt(new gg(e),s):A=u(sz((o=Dr(new gg(A).a.d,0),new M4(o))),39),U=A?u(X(A,$1t),39):null}}function S9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;return P=t.c[e],$=t.c[n],U=u(X(P,(oe(),Uk)),15),!!U&&U.gc()!=0&&U.Hc($)||(J=P.k!=(Un(),fa)&&$.k!=fa,tt=u(X(P,yv),10),ht=u(X($,yv),10),Tt=tt!=ht,At=!!tt&&tt!=P||!!ht&&ht!=$,Bt=pot(P,(ve(),Hn)),Wt=pot($,Er),At=At|(pot(P,Er)||pot($,Hn)),se=At&&Tt||Bt||Wt,J&&se)||P.k==(Un(),uu)&&$.k==xs||$.k==(Un(),uu)&&P.k==xs?!1:(T=t.c[e],o=t.c[n],s=Qhe(t.e,T,o,(ve(),Gn)),m=Qhe(t.i,T,o,Jn),nkn(t.f,T,o),k=hue(t.b,T,o)+u(s.a,17).a+u(m.a,17).a+t.f.d,d=hue(t.b,o,T)+u(s.b,17).a+u(m.b,17).a+t.f.b,t.a&&(A=u(X(T,Li),12),h=u(X(o,Li),12),r=Ihe(t.g,A,h),k+=u(r.a,17).a,d+=u(r.b,17).a),k>d)}function cpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(k=Zi,T=Zi,d=Vs,m=Vs,P=new G(e.i);P.a<P.c.c.length;)A=u(et(P),68),s=u(u(tr(t.g,A.a),42).b,27),Ch(s,A.b.c,A.b.d),k=b.Math.min(k,s.i),T=b.Math.min(T,s.j),d=b.Math.max(d,s.i+s.g),m=b.Math.max(m,s.j+s.f);for($=u(ne(t.c,(LO(),MEe)),107),rv(t.c,d-k+($.b+$.c),m-T+($.d+$.a),!0,!0),n6t(t.c,-k+$.b,-T+$.d),r=new Zn(gne(t.c));r.e!=r.i.gc();)n=u(ar(r),74),h=b5(n,!0,!0),U=O0(n),tt=qb(n),J=new ae(U.i+U.g/2,U.j+U.f/2),o=new ae(tt.i+tt.g/2,tt.j+tt.f/2),ht=ia(new ae(o.a,o.b),J),A7(ht,U.g,U.f),ki(J,ht),Tt=ia(new ae(J.a,J.b),o),A7(Tt,tt.g,tt.f),ki(o,Tt),rI(h,J.a,J.b),nI(h,o.a,o.b)}function _9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(e.Ug("Label dummy removal",1),r=Rt(Ht(X(t,(De(),Y5)))),s=Rt(Ht(X(t,O3))),k=u(X(t,ph),88),m=new G(t.b);m.a<m.c.c.length;)for(d=u(et(m),30),A=new La(d.a,0);A.b<A.d.gc();)T=(ur(A.b<A.d.gc()),u(A.d.Xb(A.c=A.b++),10)),T.k==(Un(),Vc)&&(P=u(X(T,(oe(),Li)),18),U=Rt(Ht(X(P,Hp))),h=$t(X(T,Gk))===$t((uh(),h2)),n=new io(T.n),h&&(n.b+=U+r),o=new ae(T.o.a,T.o.b+(T.k==Vc&&!wE(_i(u(X(T,IA),15).Oc(),new Sl(new OB))).Bd((U2(),Rk))?0:-U-r)),$=u(X(T,IA),15),k==(Rs(),Gh)||k==kd?Oxn($,n,s,o,h,k):zbn($,n,s,o),Hs(P.b,$),_ct(T,$t(X(t,zg))===$t((Lg(),IP))),Kl(A));e.Vg()}function A9n(t){t.q||(t.q=!0,t.p=Tc(t,0),t.a=Tc(t,1),Vi(t.a,0),t.f=Tc(t,2),Vi(t.f,1),fs(t.f,2),t.n=Tc(t,3),fs(t.n,3),fs(t.n,4),fs(t.n,5),fs(t.n,6),t.g=Tc(t,4),Vi(t.g,7),fs(t.g,8),t.c=Tc(t,5),Vi(t.c,7),Vi(t.c,8),t.i=Tc(t,6),Vi(t.i,9),Vi(t.i,10),Vi(t.i,11),Vi(t.i,12),fs(t.i,13),t.j=Tc(t,7),Vi(t.j,9),t.d=Tc(t,8),Vi(t.d,3),Vi(t.d,4),Vi(t.d,5),Vi(t.d,6),fs(t.d,7),fs(t.d,8),fs(t.d,9),fs(t.d,10),t.b=Tc(t,9),fs(t.b,0),fs(t.b,1),t.e=Tc(t,10),fs(t.e,1),fs(t.e,2),fs(t.e,3),fs(t.e,4),Vi(t.e,5),Vi(t.e,6),Vi(t.e,7),Vi(t.e,8),Vi(t.e,9),Vi(t.e,10),fs(t.e,11),t.k=Tc(t,11),fs(t.k,0),fs(t.k,1),t.o=di(t,12),t.s=di(t,13))}function Qkt(t,e){e.dc()&&S0(t.j,!0,!0,!0,!0),Ti(e,(ve(),e1))&&S0(t.j,!0,!0,!0,!1),Ti(e,Kh)&&S0(t.j,!1,!0,!0,!0),Ti(e,wh)&&S0(t.j,!0,!0,!1,!0),Ti(e,wf)&&S0(t.j,!0,!1,!0,!0),Ti(e,yl)&&S0(t.j,!1,!0,!0,!1),Ti(e,Wh)&&S0(t.j,!1,!0,!1,!0),Ti(e,mh)&&S0(t.j,!0,!1,!1,!0),Ti(e,n1)&&S0(t.j,!0,!1,!0,!1),Ti(e,Gu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Ou)&&S0(t.j,!0,!0,!0,!0),Ti(e,Gu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Uu)&&S0(t.j,!0,!0,!0,!0),Ti(e,Ku)&&S0(t.j,!0,!0,!0,!0),Ti(e,xl)&&S0(t.j,!0,!0,!0,!0),Ti(e,fu)&&S0(t.j,!0,!0,!0,!0)}function upe(t,e,n){var r,s,o,h,d,m,k,T,A;if(t.a!=e.jk())throw at(new zn(lT+e.xe()+fv));if(r=Lp((il(),ja),e).Jl(),r)return r.jk().wi().ri(r,n);if(h=Lp(ja,e).Ll(),h){if(n==null)return null;if(d=u(n,15),d.dc())return"";for(A=new dp,o=d.Kc();o.Ob();)s=o.Pb(),Mo(A,h.jk().wi().ri(h,s)),A.a+=" ";return Wrt(A,A.a.length-1)}if(T=Lp(ja,e).Ml(),!T.dc()){for(k=T.Kc();k.Ob();)if(m=u(k.Pb(),156),m.fk(n))try{if(A=m.jk().wi().ri(m,n),A!=null)return A}catch(P){if(P=es(P),!Lt(P,103))throw at(P)}throw at(new zn("Invalid value: '"+n+"' for datatype :"+e.xe()))}return u(e,847).ok(),n==null?null:Lt(n,180)?""+u(n,180).a:Wl(n)==OU?iJt(TL[0],u(n,206)):rc(n)}function L9n(t){var e,n,r,s,o,h,d,m,k,T;for(k=new Ki,d=new Ki,o=new G(t);o.a<o.c.c.length;)r=u(et(o),131),r.v=0,r.n=r.i.c.length,r.u=r.t.c.length,r.n==0&&hs(k,r,k.c.b,k.c),r.u==0&&r.r.a.gc()==0&&hs(d,r,d.c.b,d.c);for(h=-1;k.b!=0;)for(r=u(Tot(k,0),131),n=new G(r.t);n.a<n.c.c.length;)e=u(et(n),274),T=e.b,T.v=b.Math.max(T.v,r.v+1),h=b.Math.max(h,T.v),--T.n,T.n==0&&hs(k,T,k.c.b,k.c);if(h>-1){for(s=Dr(d,0);s.b!=s.d.c;)r=u(Ar(s),131),r.v=h;for(;d.b!=0;)for(r=u(Tot(d,0),131),n=new G(r.i);n.a<n.c.c.length;)e=u(et(n),274),m=e.a,m.r.a.gc()==0&&(m.v=b.Math.min(m.v,r.v-1),--m.u,m.u==0&&hs(d,m,d.c.b,d.c))}}function D9n(t){var e,n,r,s,o,h,d,m,k,T;for(k=new fe,d=new fe,h=new G(t);h.a<h.c.c.length;)s=u(et(h),118),H(s,s.f.c.length),q(s,s.k.c.length),s.d==0&&In(k.c,s),s.i==0&&s.e.b==0&&In(d.c,s);for(r=-1;k.c.length!=0;)for(s=u(Ep(k,0),118),n=new G(s.k);n.a<n.c.c.length;)e=u(et(n),132),T=e.b,W(T,b.Math.max(T.o,s.o+1)),r=b.Math.max(r,T.o),H(T,T.d-1),T.d==0&&In(k.c,T);if(r>-1){for(o=new G(d);o.a<o.c.c.length;)s=u(et(o),118),s.o=r;for(;d.c.length!=0;)for(s=u(Ep(d,0),118),n=new G(s.f);n.a<n.c.c.length;)e=u(et(n),132),m=e.a,!(m.e.b>0)&&(W(m,b.Math.min(m.o,s.o-1)),q(m,m.i-1),m.i==0&&In(d.c,m))}}function lpe(t,e,n,r,s){var o,h,d,m;return m=Zi,h=!1,d=zkt(t,ia(new ae(e.a,e.b),t),ki(new ae(n.a,n.b),s),ia(new ae(r.a,r.b),n)),o=!!d&&!(b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv||b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv),d=zkt(t,ia(new ae(e.a,e.b),t),n,s),d&&((b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv)==(b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv)||o?m=b.Math.min(m,RS(ia(d,n))):h=!0),d=zkt(t,ia(new ae(e.a,e.b),t),r,s),d&&(h||(b.Math.abs(d.a-t.a)<=lv&&b.Math.abs(d.b-t.b)<=lv)==(b.Math.abs(d.a-e.a)<=lv&&b.Math.abs(d.b-e.b)<=lv)||o)&&(m=b.Math.min(m,RS(ia(d,r)))),m}function hpe(t){wm(t,new dw(p$(gm(hm(dm(fm(new G1,Yb),c2e),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new U1),Du))),le(t,Yb,Y_,Se(kCt)),le(t,Yb,OV,(Pn(),!0)),le(t,Yb,_5,Se(K3e)),le(t,Yb,Ik,Se(W3e)),le(t,Yb,Mk,Se(Y3e)),le(t,Yb,nT,Se(G3e)),le(t,Yb,X_,Se(TCt)),le(t,Yb,rT,Se(X3e)),le(t,Yb,K8t,Se(xCt)),le(t,Yb,Y8t,Se(vCt)),le(t,Yb,X8t,Se(yCt)),le(t,Yb,Q8t,Se(ECt)),le(t,Yb,W8t,Se(YU))}function M9n(t){var e,n,r,s,o,h,d,m;for(e=null,r=new G(t);r.a<r.c.c.length;)n=u(et(r),239),Rt(td(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!e&&(e=new fe),In(e.c,n));if(e)for(;e.c.length!=0;){if(n=u(Ep(e,0),239),n.b&&n.b.c.length>0){for(o=(!n.b&&(n.b=new fe),new G(n.b));o.a<o.c.c.length;)if(s=u(et(o),239),MM(td(s.g,s.d[0]).a)==MM(td(n.g,n.d[0]).a)){if(Xo(t,s,0)>Xo(t,n,0))return new Ws(s,n)}else if(Rt(td(s.g,s.d[0]).a)>Rt(td(n.g,n.d[0]).a))return new Ws(s,n)}for(d=(!n.e&&(n.e=new fe),n.e).Kc();d.Ob();)h=u(d.Pb(),239),m=(!h.b&&(h.b=new fe),h.b),Fy(0,m.c.length),sS(m.c,0,n),h.c==m.c.length&&In(e.c,h)}return null}function I9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(e.Ug("Interactive crossing minimization",1),h=0,o=new G(t.b);o.a<o.c.c.length;)r=u(et(o),30),r.p=h++;for(P=Uxt(t),tt=new ywt(P.length),$ge(new hl(lt(ut(N4e,1),Ln,230,0,[tt])),P),J=0,h=0,s=new G(t.b);s.a<s.c.c.length;){for(r=u(et(s),30),n=0,A=0,T=new G(r.a);T.a<T.c.c.length;)for(m=u(et(T),10),m.n.a>0&&(n+=m.n.a+m.o.a/2,++A),U=new G(m.j);U.a<U.c.c.length;)$=u(et(U),12),$.p=J++;for(A>0&&(n/=A),ht=Vt(ma,No,28,r.a.c.length,15,1),d=0,k=new G(r.a);k.a<k.c.c.length;)m=u(et(k),10),m.p=d++,ht[m.p]=k9n(m,n),m.k==(Un(),fa)&&Zt(m,(oe(),e_t),ht[m.p]);mn(),Ds(r.a,new mUt(ht)),G0e(tt,P,h,!0),++h}e.Vg()}function $_(t,e){var n,r,s,o,h,d,m,k,T;if(e.e==5){spe(t,e);return}if(k=e,!(k.b==null||t.b==null)){for(g5(t),R_(t),g5(k),R_(k),n=Vt(Fr,ii,28,t.b.length+k.b.length,15,1),T=0,r=0,h=0;r<t.b.length&&h<k.b.length;)if(s=t.b[r],o=t.b[r+1],d=k.b[h],m=k.b[h+1],o<d)n[T++]=t.b[r++],n[T++]=t.b[r++];else if(o>=d&&s<=m)d<=s&&o<=m?r+=2:d<=s?(t.b[r]=m+1,h+=2):o<=m?(n[T++]=s,n[T++]=d-1,r+=2):(n[T++]=s,n[T++]=d-1,t.b[r]=m+1,h+=2);else if(m<s)h+=2;else throw at(new uc("Token#subtractRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] - ["+k.b[h]+","+k.b[h+1]+"]"));for(;r<t.b.length;)n[T++]=t.b[r++],n[T++]=t.b[r++];t.b=Vt(Fr,ii,28,T,15,1),Xc(n,0,t.b,0,T)}}function fpe(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(d=b5(e,!1,!1),ht=MO(d),r&&(ht=cO(ht)),At=Rt(Ht(ne(e,(b_(),Xht)))),tt=(ur(ht.b!=0),u(ht.a.a.c,8)),A=u(jh(ht,1),8),ht.b>2?(T=new fe,Hs(T,new xp(ht,1,ht.b)),o=Jpe(T,At+t.a),Tt=new Wot(o),Qo(Tt,e),In(n.c,Tt)):r?Tt=u(tr(t.b,O0(e)),272):Tt=u(tr(t.b,qb(e)),272),m=O0(e),r&&(m=qb(e)),h=M4n(tt,m),k=At+t.a,h.a?(k+=b.Math.abs(tt.b-A.b),J=new ae(A.a,(A.b+tt.b)/2)):(k+=b.Math.abs(tt.a-A.a),J=new ae((A.a+tt.a)/2,A.b)),r?hi(t.d,e,new pxt(Tt,h,J,k)):hi(t.c,e,new pxt(Tt,h,J,k)),hi(t.b,e,Tt),U=(!e.n&&(e.n=new Jt(Po,e,1,7)),e.n),$=new Zn(U);$.e!=$.i.gc();)P=u(ar($),135),s=HO(t,P,!0,0,0),In(n.c,s)}function O9n(t){var e,n,r,s,o,h,d;if(!t.A.dc()){if(t.A.Hc((Yl(),RP))&&(u(Io(t.b,(ve(),Hn)),127).k=!0,u(Io(t.b,Er),127).k=!0,e=t.q!=(ka(),Y0)&&t.q!=hu,Qj(u(Io(t.b,Jn),127),e),Qj(u(Io(t.b,Gn),127),e),Qj(t.g,e),t.A.Hc(qw)&&(u(Io(t.b,Hn),127).j=!0,u(Io(t.b,Er),127).j=!0,u(Io(t.b,Jn),127).k=!0,u(Io(t.b,Gn),127).k=!0,t.g.k=!0)),t.A.Hc(BP))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,d=t.B.Hc((Ml(),kL)),s=not(),o=0,h=s.length;o<h;++o)r=s[o],n=u(Io(t.i,r),314),n&&(Z5t(r)?(n.j=!0,n.k=!0):(n.j=!d,n.k=!d));t.A.Hc(z3)&&t.B.Hc((Ml(),$P))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function N9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(r=new G(t.e.b);r.a<r.c.c.length;)for(n=u(et(r),30),o=new G(n.a);o.a<o.c.c.length;)if(s=u(et(o),10),$=t.i[s.p],k=$.a.e,m=$.d.e,s.n.b=k,ht=m-k-s.o.b,e=kct(s),P=(Yy(),(s.q?s.q:(mn(),mn(),q0))._b((De(),Cv))?A=u(X(s,Cv),203):A=u(X(Pa(s),RA),203),A),e&&(P==J5||P==Q5)&&(s.o.b+=ht),e&&(P==m1t||P==J5||P==Q5)){for(J=new G(s.j);J.a<J.c.c.length;)U=u(et(J),12),(ve(),Ou).Hc(U.j)&&(T=u(tr(t.k,U),125),U.n.b=T.e-k);for(d=new G(s.b);d.a<d.c.c.length;)h=u(et(d),72),tt=u(X(s,Tv),21),tt.Hc((e3(),bf))?h.n.b+=ht:tt.Hc(W0)&&(h.n.b+=ht/2);(P==J5||P==Q5)&&gc(s,(ve(),Er)).Jc(new NUt(ht))}}function P9n(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(k=new fe,m=new G(e.a);m.a<m.c.c.length;)for(h=u(et(m),10),P=gc(h,(ve(),Jn)).Kc();P.Ob();)for(A=u(P.Pb(),12),s=new G(A.g);s.a<s.c.c.length;)r=u(et(s),18),!(!go(r)&&r.c.i.c==r.d.i.c||go(r)||r.d.i.c!=n)&&In(k.c,r);for(d=Bh(n.a).Kc();d.Ob();)for(h=u(d.Pb(),10),P=gc(h,(ve(),Gn)).Kc();P.Ob();)for(A=u(P.Pb(),12),s=new G(A.e);s.a<s.c.c.length;)if(r=u(et(s),18),!(!go(r)&&r.c.i.c==r.d.i.c||go(r)||r.c.i.c!=e)&&k.c.length!=0){for(T=new La(k,k.c.length),o=(ur(T.b>0),u(T.a.Xb(T.c=--T.b),18));o!=r&&T.b>0;)t.a[o.p]=!0,t.a[r.p]=!0,o=(ur(T.b>0),u(T.a.Xb(T.c=--T.b),18));T.b>0&&Kl(T)}}function dpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(!t.b)return!1;for(h=null,P=null,m=new Rst(null,null),s=1,m.a[1]=t.b,A=m;A.a[s];)k=s,d=P,P=A,A=A.a[s],r=t.a.Ne(e,A.d),s=r<0?0:1,r==0&&(!n.c||Nc(A.e,n.d))&&(h=A),!(A&&A.b)&&!vy(A.a[s])&&(vy(A.a[1-s])?P=P.a[k]=Wq(A,s):vy(A.a[1-s])||($=P.a[1-k],$&&(!vy($.a[1-k])&&!vy($.a[k])?(P.b=!1,$.b=!0,A.b=!0):(o=d.a[1]==P?1:0,vy($.a[k])?d.a[o]=qre(P,k):vy($.a[1-k])&&(d.a[o]=Wq(P,k)),A.b=d.a[o].b=!0,d.a[o].a[0].b=!1,d.a[o].a[1].b=!1))));return h&&(n.b=!0,n.d=h.e,A!=h&&(T=new Rst(A.d,A.e),F3n(t,m,h,T),P==h&&(P=T)),P.a[P.a[1]==A?1:0]=A.a[A.a[0]?0:1],--t.c),t.b=m.a[1],t.b&&(t.b.b=!1),n.b}function F9n(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(s=new G(t.a.a.b);s.a<s.c.c.length;)for(r=u(et(s),60),m=r.c.Kc();m.Ob();)d=u(m.Pb(),60),r.a!=d.a&&(bg(t.a.d)?A=t.a.g.ff(r,d):A=t.a.g.gf(r,d),o=r.b.a+r.d.b+A-d.b.a,o=b.Math.ceil(o),o=b.Math.max(0,o),e4t(r,d)?(h=km(new H2,t.d),k=Ys(b.Math.ceil(d.b.a-r.b.a)),e=k-(d.b.a-r.b.a),T=ek(r).a,n=r,T||(T=ek(d).a,e=-e,n=d),T&&(n.b.a-=e,T.n.a-=e),Hf(Of(If(Nf(Mf(new tf,b.Math.max(0,k)),1),h),t.c[r.a.d])),Hf(Of(If(Nf(Mf(new tf,b.Math.max(0,-k)),1),h),t.c[d.a.d]))):(P=1,(Lt(r.g,154)&&Lt(d.g,10)||Lt(d.g,154)&&Lt(r.g,10))&&(P=2),Hf(Of(If(Nf(Mf(new tf,Ys(o)),P),t.c[r.a.d]),t.c[d.a.d]))))}function gpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(n)for(r=-1,T=new La(e,0);T.b<T.d.gc();){if(d=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),10)),A=t.c[d.c.p][d.p].a,A==null){for(h=r+1,o=new La(e,T.b);o.b<o.d.gc();)if(P=csn(t,(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),10))).a,P!=null){h=(Wn(P),P);break}A=(r+h)/2,t.c[d.c.p][d.p].a=A,t.c[d.c.p][d.p].d=(Wn(A),A),t.c[d.c.p][d.p].b=1}r=(Wn(A),A)}else{for(s=0,k=new G(e);k.a<k.c.c.length;)d=u(et(k),10),t.c[d.c.p][d.p].a!=null&&(s=b.Math.max(s,Rt(t.c[d.c.p][d.p].a)));for(s+=2,m=new G(e);m.a<m.c.c.length;)d=u(et(m),10),t.c[d.c.p][d.p].a==null&&(A=Dl(t.i,24)*lN*s-1,t.c[d.c.p][d.p].a=A,t.c[d.c.p][d.p].d=A,t.c[d.c.p][d.p].b=1)}}function B9n(t,e,n){var r,s,o,h,d,m,k,T,A;for(!n&&(n=Gpn(e.q.getTimezoneOffset())),s=(e.q.getTimezoneOffset()-n.a)*6e4,d=new avt(Qa(Pc(e.q.getTime()),s)),m=d,d.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(s>0?s-=864e5:s+=864e5,m=new avt(Qa(Pc(e.q.getTime()),s))),T=new I4,k=t.a.length,o=0;o<k;)if(r=Va(t.a,o),r>=97&&r<=122||r>=65&&r<=90){for(h=o+1;h<k&&Va(t.a,h)==r;++h);FSn(T,r,h-o,d,m,n),o=h}else if(r==39){if(++o,o<k&&Va(t.a,o)==39){T.a+="'",++o;continue}for(A=!1;!A;){for(h=o;h<k&&Va(t.a,h)!=39;)++h;if(h>=k)throw at(new zn("Missing trailing '"));h+1<k&&Va(t.a,h+1)==39?++h:A=!0,ni(T,Lh(t.a,o,h)),o=h+1}}else T.a+=String.fromCharCode(r),++o;return T.a}function R9n(){ui(V3,new oet),ui(ci,new fet),ui(mf,new pet),ui(B1,new m1),ui(n0t,new CC),ui(YK,new Y1),ui(Vg,new X1),ui(EL,new bet),ui(HP,new JR),ui(Xdt,new ZR),ui(p2,new tj),ui(vf,new ej),ui(F1,new nj),ui(Ov,new rj),ui(U3,new w1),ui(Wu,new Bu),ui(H3,new set),ui(Mc,new aet),ui(Do,new Ru),ui(Nu,new yC),ui(ys,new ij),ui(ut(ul,1),new sj),ui(Fk,new h6),ui(vA,new cet),ui(OU,new X8),ui(pOt,new uet),ui(zs,new aj),ui(DIt,new het),ui(OIt,new xC),ui(nOt,new oj),ui(XK,new hM),ui(wT,new kC),ui(Ra,new det),ui(t9t,new get),ui(gv,new fM),ui(e9t,new EC),ui(JIt,new W1),ui(bOt,new Q8),ui(pv,new J8),ui(Pe,new dM),ui(IIt,new R2),ui(wOt,new TC)}function ppe(t,e){var n,r,s,o,h,d,m,k,T;if(t==null)return Vu;if(m=e.a.zc(t,e),m!=null)return"[...]";for(n=new aw(ao,"[","]"),s=t,o=0,h=s.length;o<h;++o)r=s[o],r!=null&&Wl(r).i&4?Array.isArray(r)&&(T=WI(r),!(T>=14&&T<=16))?e.a._b(r)?(n.a?ni(n.a,n.b):n.a=new eh(n.d),mS(n.a,"[...]")):(d=nw(r),k=new LS(e),Eg(n,ppe(d,k))):Lt(r,183)?Eg(n,g5n(u(r,183))):Lt(r,195)?Eg(n,Zyn(u(r,195))):Lt(r,201)?Eg(n,u4n(u(r,201))):Lt(r,2111)?Eg(n,t3n(u(r,2111))):Lt(r,53)?Eg(n,d5n(u(r,53))):Lt(r,376)?Eg(n,M5n(u(r,376))):Lt(r,846)?Eg(n,f5n(u(r,846))):Lt(r,109)&&Eg(n,h5n(u(r,109))):Eg(n,r==null?Vu:rc(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function q7(t,e){var n,r,s,o;o=t.F,e==null?(t.F=null,p7(t,null)):(t.F=(Wn(e),e),r=$d(e,Hu(60)),r!=-1?(s=(Da(0,r,e.length),e.substr(0,r)),$d(e,Hu(46))==-1&&!hn(s,kk)&&!hn(s,lA)&&!hn(s,wU)&&!hn(s,hA)&&!hn(s,fA)&&!hn(s,dA)&&!hn(s,gA)&&!hn(s,pA)&&(s=Yme),n=cz(e,Hu(62)),n!=-1&&(s+=""+(qn(n+1,e.length+1),e.substr(n+1))),p7(t,s)):(s=e,$d(e,Hu(46))==-1&&(r=$d(e,Hu(91)),r!=-1&&(s=(Da(0,r,e.length),e.substr(0,r))),!hn(s,kk)&&!hn(s,lA)&&!hn(s,wU)&&!hn(s,hA)&&!hn(s,fA)&&!hn(s,dA)&&!hn(s,gA)&&!hn(s,pA)?(s=Yme,r!=-1&&(s+=""+(qn(r,e.length+1),e.substr(r)))):s=e),p7(t,s),s==e&&(t.F=t.D))),t.Db&4&&!(t.Db&1)&&Ei(t,new ha(t,1,5,o,e))}function bpe(t,e){var n,r,s,o,h,d,m,k,T,A;if(m=e.length-1,d=(qn(m,e.length),e.charCodeAt(m)),d==93){if(h=$d(e,Hu(91)),h>=0)return s=z2n(t,(Da(1,h,e.length),e.substr(1,h-1))),T=(Da(h+1,m,e.length),e.substr(h+1,m-(h+1))),dSn(t,T,s)}else{if(n=-1,h9t==null&&(h9t=new RegExp("\\d")),h9t.test(String.fromCharCode(d))&&(n=Tvt(e,Hu(46),m-1),n>=0)){r=u(Ist(t,roe(t,(Da(1,n,e.length),e.substr(1,n-1))),!1),61),k=0;try{k=lh((qn(n+1,e.length+1),e.substr(n+1)),Ga,xi)}catch(P){throw P=es(P),Lt(P,130)?(o=P,at(new _q(o))):at(P)}if(k<r.gc())return A=r.Xb(k),Lt(A,76)&&(A=u(A,76).md()),u(A,58)}if(n<0)return u(Ist(t,roe(t,(qn(1,e.length+1),e.substr(1))),!1),58)}return null}function j9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(e.Ug("Label dummy insertions",1),A=new fe,h=Rt(Ht(X(t,(De(),Y5)))),k=Rt(Ht(X(t,O3))),T=u(X(t,ph),88),$=new G(t.a);$.a<$.c.c.length;)for(P=u(et($),10),o=new rr(sr(_s(P).a.Kc(),new z));Mr(o);)if(s=u(dr(o),18),s.c.i!=s.d.i&&eit(s.b,E4e)){for(J=agn(s),U=C0(s.b.c.length),n=b6n(t,s,J,U),In(A.c,n),r=n.o,d=new La(s.b,0);d.b<d.d.gc();)m=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),72)),$t(X(m,l0))===$t((cd(),GT))&&(T==(Rs(),Gh)||T==kd?(r.a+=m.o.a+k,r.b=b.Math.max(r.b,m.o.b)):(r.a=b.Math.max(r.a,m.o.a),r.b+=m.o.b+k),In(U.c,m),Kl(d));T==(Rs(),Gh)||T==kd?(r.a-=k,r.b+=h+J):r.b+=h-k+J}Hs(t.a,A),e.Vg()}function $9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(t.c=t.e,U=Me(X(e,(De(),C6e))),$=U==null||(Wn(U),U),o=u(X(e,(oe(),lu)),21).Hc((Co(),Uh)),s=u(X(e,bs),101),n=!(s==(ka(),zw)||s==Y0||s==hu),$&&(n||!o)){for(A=new G(e.a);A.a<A.c.c.length;)k=u(et(A),10),k.p=0;for(P=new fe,T=new G(e.a);T.a<T.c.c.length;)if(k=u(et(T),10),r=Z0e(t,k,null),r){for(m=new y4t,Qo(m,e),Zt(m,$g,u(r.b,21)),Gyt(m.d,e.d),Zt(m,IT,null),d=u(r.a,15).Kc();d.Ob();)h=u(d.Pb(),10),ge(m.a,h),h.a=m;P.Fc(m)}o&&($t(X(e,_3))===$t((lw(),uft))?t.c=t.b:$t(X(e,_3))===$t(lft)?t.c=t.d:t.c=t.a)}else P=new hl(lt(ut(g4e,1),l2e,36,0,[e]));return $t(X(e,_3))!==$t((lw(),x3))&&(mn(),P.jd(new MB)),P}function H7(t,e,n){var r,s,o,h,d,m,k;if(k=t.c,!e&&(e=qIt),t.c=e,t.Db&4&&!(t.Db&1)&&(m=new ha(t,1,2,k,t.c),n?n.nj(m):n=m),k!=e){if(Lt(t.Cb,291))t.Db>>16==-10?n=u(t.Cb,291).Yk(e,n):t.Db>>16==-15&&(!e&&(e=(wn(),Sd)),!k&&(k=(wn(),Sd)),t.Cb.Yh()&&(m=new Tg(t.Cb,1,13,k,e,Np(Al(u(t.Cb,62)),t),!1),n?n.nj(m):n=m));else if(Lt(t.Cb,90))t.Db>>16==-23&&(Lt(e,90)||(e=(wn(),xf)),Lt(k,90)||(k=(wn(),xf)),t.Cb.Yh()&&(m=new Tg(t.Cb,1,10,k,e,Np(Wc(u(t.Cb,29)),t),!1),n?n.nj(m):n=m));else if(Lt(t.Cb,456))for(d=u(t.Cb,850),h=(!d.b&&(d.b=new s$(new Gnt)),d.b),o=(r=new sw(new mr(h.a).a),new a$(r));o.a.b;)s=u(Um(o.a).ld(),89),n=H7(s,QH(s,d),n)}return n}function z9n(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(h=Ie(Me(ne(t,(De(),L3)))),P=u(ne(t,M3),21),m=!1,k=!1,A=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));A.e!=A.i.gc()&&(!m||!k);){for(o=u(ar(A),123),d=0,s=A0(ah(lt(ut(gh,1),Ln,20,0,[(!o.d&&(o.d=new kn(Ts,o,8,5)),o.d),(!o.e&&(o.e=new kn(Ts,o,7,4)),o.e)])));Mr(s)&&(r=u(dr(s),74),T=h&&Zm(r)&&Ie(Me(ne(r,Mw))),n=Wge((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),o)?t==Ji(Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))):t==Ji(Jo(u(Dt((!r.b&&(r.b=new kn(vr,r,4,7)),r.b),0),84))),!((T||n)&&(++d,d>1))););(d>0||P.Hc((wl(),Hg))&&(!o.n&&(o.n=new Jt(Po,o,1,7)),o.n).i>0)&&(m=!0),d>1&&(k=!0)}m&&e.Fc((Co(),Uh)),k&&e.Fc((Co(),LA))}function wpe(t){var e,n,r,s,o,h,d,m,k,T,A,P;if(P=u(ne(t,(ai(),jw)),21),P.dc())return null;if(d=0,h=0,P.Hc((Yl(),RP))){for(T=u(ne(t,fL),101),r=2,n=2,s=2,o=2,e=Ji(t)?u(ne(Ji(t),Rw),88):u(ne(t,Rw),88),k=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));k.e!=k.i.gc();)if(m=u(ar(k),123),A=u(ne(m,hx),64),A==(ve(),bc)&&(A=Pkt(m,e),Mi(m,hx,A)),T==(ka(),hu))switch(A.g){case 1:r=b.Math.max(r,m.i+m.g);break;case 2:n=b.Math.max(n,m.j+m.f);break;case 3:s=b.Math.max(s,m.i+m.g);break;case 4:o=b.Math.max(o,m.j+m.f)}else switch(A.g){case 1:r+=m.g+2;break;case 2:n+=m.f+2;break;case 3:s+=m.g+2;break;case 4:o+=m.f+2}d=b.Math.max(r,s),h=b.Math.max(n,o)}return rv(t,d,h,!0,!0)}function Act(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(Tt=u(nc(Pq(_i(new ln(null,new gn(e.d,16)),new aUt(n)),new oUt(n)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),A=xi,T=Ga,m=new G(e.b.j);m.a<m.c.c.length;)d=u(et(m),12),d.j==n&&(A=b.Math.min(A,d.p),T=b.Math.max(T,d.p));if(A==xi)for(h=0;h<Tt.gc();h++)Y3t(u(Tt.Xb(h),105),n,h);else for(At=Vt(Fr,ii,28,s.length,15,1),Bun(At,At.length),ht=Tt.Kc();ht.Ob();){for(tt=u(ht.Pb(),105),o=u(tr(t.b,tt),183),k=0,J=A;J<=T;J++)o[J]&&(k=b.Math.max(k,r[J]));if(tt.i){for($=tt.i.c,Bt=new Os,P=0;P<s.length;P++)s[$][P]&&qs(Bt,he(At[P]));for(;x1(Bt,he(k));)++k}for(Y3t(tt,n,k),U=A;U<=T;U++)o[U]&&(r[U]=k+1);tt.i&&(At[tt.i.c]=k)}}function q9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(s=null,r=new G(e.a);r.a<r.c.c.length;)n=u(et(r),10),kct(n)?o=(d=km(RM(new H2,n),t.f),m=km(RM(new H2,n),t.f),k=new Vyt(n,!0,d,m),T=n.o.b,A=(Yy(),(n.q?n.q:(mn(),mn(),q0))._b((De(),Cv))?P=u(X(n,Cv),203):P=u(X(Pa(n),RA),203),P),$=1e4,A==Q5&&($=1),U=Hf(Of(If(Mf(Nf(new tf,$),Ys(b.Math.ceil(T))),d),m)),A==J5&&qs(t.d,U),J0e(t,Bh(gc(n,(ve(),Gn))),k),J0e(t,gc(n,Jn),k),k):o=(J=km(RM(new H2,n),t.f),ms(_i(new ln(null,new gn(n.j,16)),new QJ),new EXt(t,J)),new Vyt(n,!1,J,J)),t.i[n.p]=o,s&&(h=s.c.d.a+U4(t.n,s.c,n)+n.d.d,s.b||(h+=s.c.o.b),Hf(Of(If(Nf(Mf(new tf,Ys(b.Math.ceil(h))),0),s.d),o.a))),s=o}function H9n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$;for(o=new F1e(e),A=m8n(t,e,o),$=b.Math.max(Rt(Ht(X(e,(De(),Hp)))),1),T=new G(A.a);T.a<T.c.c.length;)k=u(et(T),42),m=Ple(u(k.a,8),u(k.b,8),$),E=!0,E=E&Cm(n,new ae(m.c,m.d)),E=E&Cm(n,Tm(new ae(m.c,m.d),m.b,0)),E=E&Cm(n,Tm(new ae(m.c,m.d),0,m.a)),E&Cm(n,Tm(new ae(m.c,m.d),m.b,m.a));switch(P=o.d,d=Ple(u(A.b.a,8),u(A.b.b,8),$),P==(ve(),Gn)||P==Jn?(r.c[P.g]=b.Math.min(r.c[P.g],d.d),r.b[P.g]=b.Math.max(r.b[P.g],d.d+d.a)):(r.c[P.g]=b.Math.min(r.c[P.g],d.c),r.b[P.g]=b.Math.max(r.b[P.g],d.c+d.b)),s=Vs,h=o.c.i.d,P.g){case 4:s=h.c;break;case 2:s=h.b;break;case 1:s=h.a;break;case 3:s=h.d}return r.a[P.g]=b.Math.max(r.a[P.g],s),o}function V9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;d=u(tr(e.c,t),467),Tt=e.a.c,m=e.a.c+e.a.b,Ze=d.f,On=d.a,h=Ze<On,J=new ae(Tt,Ze),At=new ae(m,On),s=(Tt+m)/2,tt=new ae(s,Ze),Bt=new ae(s,On),o=q6n(t,Ze,On),se=rd(e.B),Ce=new ae(s,o),rn=rd(e.D),n=Xpn(lt(ut(la,1),ue,8,0,[se,Ce,rn])),$=!1,ht=e.B.i,ht&&ht.c&&d.d&&(k=h&&ht.p<ht.c.a.c.length-1||!h&&ht.p>0,k?k&&(P=ht.p,h?++P:--P,A=u(Oe(ht.c.a,P),10),r=$ce(A),$=!(Jot(r,se,n[0])||lee(r,se,n[0]))):$=!0),U=!1,Wt=e.D.i,Wt&&Wt.c&&d.e&&(T=h&&Wt.p>0||!h&&Wt.p<Wt.c.a.c.length-1,T?(P=Wt.p,h?--P:++P,A=u(Oe(Wt.c.a,P),10),r=$ce(A),U=!(Jot(r,n[0],rn)||lee(r,n[0],rn))):U=!0),$&&U&&Zr(t.a,Ce),$||XS(t.a,lt(ut(la,1),ue,8,0,[J,tt])),U||XS(t.a,lt(ut(la,1),ue,8,0,[Bt,At]))}function U9n(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for($=e.c.length,P=0,A=new G(t.b);A.a<A.c.c.length;)if(T=u(et(A),30),ht=T.a,ht.c.length!=0){for(tt=new G(ht),k=0,Tt=null,s=u(et(tt),10),o=null;s;){if(o=u(Oe(e,s.p),261),o.c>=0){for(m=null,d=new La(T.a,k+1);d.b<d.d.gc()&&(h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),10)),m=u(Oe(e,h.p),261),!(m.d==o.d&&m.c<o.c));)m=null;m&&(Tt&&(Mh(r,s.p,he(u(Oe(r,s.p),17).a-1)),u(Oe(n,Tt.p),15).Mc(o)),o=u3n(o,s,$++),In(e.c,o),ge(n,new fe),Tt?(u(Oe(n,Tt.p),15).Fc(o),ge(r,he(1))):ge(r,he(0)))}U=null,tt.a<tt.c.c.length&&(U=u(et(tt),10),J=u(Oe(e,U.p),261),u(Oe(n,s.p),15).Fc(J),Mh(r,U.p,he(u(Oe(r,U.p),17).a+1))),o.d=P,o.c=k++,Tt=s,s=U}++P}}function G9n(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(o=u(X(t,(oe(),Li)),74),!!o){for(r=t.a,s=new io(n),ki(s,wyn(t)),a7(t.d.i,t.c.i)?(P=t.c,A=dc(lt(ut(la,1),ue,8,0,[P.n,P.a])),ia(A,n)):A=rd(t.c),hs(r,A,r.a,r.a.a),$=rd(t.d),X(t,Qft)!=null&&ki($,u(X(t,Qft),8)),hs(r,$,r.c.b,r.c),Vy(r,s),h=b5(o,!0,!0),Vq(h,u(Dt((!o.b&&(o.b=new kn(vr,o,4,7)),o.b),0),84)),Uq(h,u(Dt((!o.c&&(o.c=new kn(vr,o,5,8)),o.c),0),84)),KO(r,h),T=new G(t.b);T.a<T.c.c.length;)k=u(et(T),72),d=u(X(k,Li),135),qm(d,k.o.a),zm(d,k.o.b),Ch(d,k.n.a+s.a,k.n.b+s.b),Mi(d,(ok(),bft),Me(X(k,bft)));m=u(X(t,(De(),Vo)),75),m?(Vy(m,s),Mi(o,Vo,m)):Mi(o,Vo,null),e==(Lg(),e8)?Mi(o,zg,e8):Mi(o,zg,null)}}function mpe(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;if(n.c.length!=0){for(U=new fe,$=new G(n);$.a<$.c.c.length;)P=u(et($),27),ge(U,new ae(P.i,P.j));for(r.dh(e,"Before removing overlaps");s6t(t,n);)YH(t,n,!1);if(r.dh(e,"After removing overlaps"),d=0,m=0,s=null,n.c.length!=0&&(s=(vn(0,n.c.length),u(n.c[0],27)),d=s.i-(vn(0,U.c.length),u(U.c[0],8)).a,m=s.j-(vn(0,U.c.length),u(U.c[0],8)).b),h=b.Math.sqrt(d*d+m*m),A=Rbn(n),o=1,A.a.gc()!=0){for(T=A.a.ec().Kc();T.Ob();)k=u(T.Pb(),27),J=t.f,tt=J.i+J.g/2,ht=J.j+J.f/2,Tt=k.i+k.g/2,At=k.j+k.f/2,Bt=Tt-tt,Wt=At-ht,se=b.Math.sqrt(Bt*Bt+Wt*Wt),Ce=Bt/se,rn=Wt/se,Su(k,k.i+Ce*h),_u(k,k.j+rn*h);r.dh(e,"Child movement "+o),++o}t.a&&t.a.Gg(new fl(A)),mpe(t,e,new fl(A),r)}}function Lct(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;return m=t,T=ia(new ae(e.a,e.b),t),k=n,A=ia(new ae(r.a,r.b),n),P=m.a,tt=m.b,U=k.a,Tt=k.b,$=T.a,ht=T.b,J=A.a,At=A.b,s=J*ht-$*At,Z1(),$f(s0),b.Math.abs(0-s)<=s0||s==0||isNaN(0)&&isNaN(s)?!1:(h=1/s*((P-U)*ht-(tt-Tt)*$),d=1/s*-(-(P-U)*At+(tt-Tt)*J),o=($f(s0),(b.Math.abs(0-h)<=s0||h==0||isNaN(0)&&isNaN(h)?0:0<h?-1:0>h?1:ym(isNaN(0),isNaN(h)))<0&&($f(s0),(b.Math.abs(h-1)<=s0||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:ym(isNaN(h),isNaN(1)))<0)&&($f(s0),(b.Math.abs(0-d)<=s0||d==0||isNaN(0)&&isNaN(d)?0:0<d?-1:0>d?1:ym(isNaN(0),isNaN(d)))<0)&&($f(s0),(b.Math.abs(d-1)<=s0||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:ym(isNaN(d),isNaN(1)))<0)),o)}function K9n(t){var e,n,r,s;if(n=t.D!=null?t.D:t.B,e=$d(n,Hu(91)),e!=-1){r=(Da(0,e,n.length),n.substr(0,e)),s=new dp;do s.a+="[";while((e=TE(n,91,++e))!=-1);hn(r,kk)?s.a+="Z":hn(r,lA)?s.a+="B":hn(r,wU)?s.a+="C":hn(r,hA)?s.a+="D":hn(r,fA)?s.a+="F":hn(r,dA)?s.a+="I":hn(r,gA)?s.a+="J":hn(r,pA)?s.a+="S":(s.a+="L",s.a+=""+r,s.a+=";");try{return null}catch(o){if(o=es(o),!Lt(o,63))throw at(o)}}else if($d(n,Hu(46))==-1){if(hn(n,kk))return Fl;if(hn(n,lA))return ul;if(hn(n,wU))return Yh;if(hn(n,hA))return ma;if(hn(n,fA))return Y3;if(hn(n,dA))return Fr;if(hn(n,gA))return x2;if(hn(n,pA))return wx}return null}function W9n(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(t.e=e,d=W5n(e),se=new fe,r=new G(d);r.a<r.c.c.length;){for(n=u(et(r),15),Ce=new fe,In(se.c,Ce),m=new Os,U=n.Kc();U.Ob();){for($=u(U.Pb(),27),o=HO(t,$,!0,0,0),In(Ce.c,o),J=$.i,tt=$.j,P=(!$.n&&($.n=new Jt(Po,$,1,7)),$.n),A=new Zn(P);A.e!=A.i.gc();)k=u(ar(A),135),s=HO(t,k,!1,J,tt),In(Ce.c,s);for(Wt=(!$.c&&($.c=new Jt(kl,$,9,9)),$.c),Tt=new Zn(Wt);Tt.e!=Tt.i.gc();)for(ht=u(ar(Tt),123),h=HO(t,ht,!1,J,tt),In(Ce.c,h),At=ht.i+J,Bt=ht.j+tt,P=(!ht.n&&(ht.n=new Jt(Po,ht,1,7)),ht.n),T=new Zn(P);T.e!=T.i.gc();)k=u(ar(T),135),s=HO(t,k,!1,At,Bt),In(Ce.c,s);Ma(m,Zz(ah(lt(ut(gh,1),Ln,20,0,[Og($),jO($)]))))}P6n(t,m,Ce)}return t.f=new _Wt(se),Qo(t.f,e),t.f}function Y9n(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(A=new Oyt(new oc(t));A.c!=A.d.a.d;)for(T=Aae(A),d=u(T.d,58),e=u(T.e,58),h=d.Dh(),J=0,Bt=(h.i==null&&Qd(h),h.i).length;J<Bt;++J)if(k=(o=(h.i==null&&Qd(h),h.i),J>=0&&J<o.length?o[J]:null),k.rk()&&!k.sk()){if(Lt(k,102))m=u(k,19),!(m.Bb&Fc)&&(se=yo(m),!(se&&se.Bb&Fc))&&O7n(t,m,d,e);else if(vo(),u(k,69).xk()&&(n=(Wt=k,u(Wt?u(e,54).gi(Wt):null,160)),n))for($=u(d.Mh(k),160),r=n.gc(),tt=0,U=$.gc();tt<U;++tt)if(P=$.Tl(tt),Lt(P,102)){if(At=$.Ul(tt),s=od(t,At),s==null&&At!=null){if(Tt=u(P,19),!t.b||Tt.Bb&Fc||yo(Tt))continue;s=At}if(!n.Ol(P,s)){for(ht=0;ht<r;++ht)if(n.Tl(ht)==P&&$t(n.Ul(ht))===$t(s)){n.Ti(n.gc()-1,ht),--r;break}}}else n.Ol($.Tl(tt),$.Ul(tt))}}function X9n(t,e,n){var r;if(n.Ug("StretchWidth layering",1),e.a.c.length==0){n.Vg();return}for(t.c=e,t.t=0,t.u=0,t.i=Zi,t.g=Vs,t.d=Rt(Ht(X(e,(De(),Yf)))),bmn(t),Exn(t),kxn(t),vyn(t),ywn(t),t.i=b.Math.max(1,t.i),t.g=b.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=Mmn(t),r=new eu(t.c),ge(t.c.b,r),t.r=Rm(t.p),t.n=rq(t.k,t.k.length);t.r.c.length!=0;)t.o=jbn(t),!t.o||Hce(t)&&t.b.a.gc()!=0?(Gyn(t,r),r=new eu(t.c),ge(t.c.b,r),Ma(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):Hce(t)?(t.c.b.c.length=0,r=new eu(t.c),ge(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=Rm(t.p),t.n=rq(t.k,t.k.length)):(Aa(t.o,r),zu(t.r,t.o),qs(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c.length=0,IO(e.b),n.Vg()}function Q9n(t){var e,n,r,s,o,h,d,m,k,T,A;for(t.j=Vt(Fr,ii,28,t.g,15,1),t.o=new fe,ms(fc(new ln(null,new gn(t.e.b,16)),new iZ),new PUt(t)),t.a=Vt(Fl,$0,28,t.b,16,1),dO(new ln(null,new gn(t.e.b,16)),new BUt(t)),r=(A=new fe,ms(_i(fc(new ln(null,new gn(t.e.b,16)),new aZ),new FUt(t)),new TXt(t,A)),A),m=new G(r);m.a<m.c.c.length;)if(d=u(et(m),515),!(d.c.length<=1)){if(d.c.length==2){P5n(d),kct((vn(0,d.c.length),u(d.c[0],18)).d.i)||ge(t.o,d);continue}if(!(Qyn(d)||$4n(d,new sZ)))for(k=new G(d),s=null;k.a<k.c.c.length;)e=u(et(k),18),n=t.c[e.p],!s||k.a>=k.c.c.length?T=k3t((Un(),xs),fa):T=k3t((Un(),fa),fa),T*=2,o=n.a.g,n.a.g=b.Math.max(o,o+(T-o)),h=n.b.g,n.b.g=b.Math.max(h,h+(T-h)),s=e}}function J9n(t){var e,n,r,s;for(ms(_i(new ln(null,new gn(t.a.b,16)),new rR),new aJ),Oyn(t),ms(_i(new ln(null,new gn(t.a.b,16)),new oJ),new cJ),t.c==(Lg(),e8)&&(ms(_i(fc(new ln(null,new gn(new cr(t.f),1)),new uJ),new lJ),new ZVt(t)),ms(_i(Wo(fc(fc(new ln(null,new gn(t.d.b,16)),new hJ),new iR),new fJ),new sR),new eUt(t))),s=new ae(Zi,Zi),e=new ae(Vs,Vs),r=new G(t.a.b);r.a<r.c.c.length;)n=u(et(r),60),s.a=b.Math.min(s.a,n.d.c),s.b=b.Math.min(s.b,n.d.d),e.a=b.Math.max(e.a,n.d.c+n.d.b),e.b=b.Math.max(e.b,n.d.d+n.d.a);ki(k1(t.d.c),dz(new ae(s.a,s.b))),ki(k1(t.d.f),ia(new ae(e.a,e.b),s)),G6n(t,s,e),dl(t.f),dl(t.b),dl(t.g),dl(t.e),t.a.a.c.length=0,t.a.b.c.length=0,t.a=null,t.d=null}function bV(t,e){var n;if(t.e)throw at(new Ro((wg($ht),wut+$ht.k+mut)));if(!rin(t.a,e))throw at(new uc(Fbe+e+Bbe));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:Qm(t);break;case 1:Bb(t),Qm(t);break;case 4:h5(t),Qm(t);break;case 3:h5(t),Bb(t),Qm(t)}break;case 2:switch(e.g){case 1:Bb(t),ict(t);break;case 4:h5(t),Qm(t);break;case 3:h5(t),Bb(t),Qm(t)}break;case 1:switch(e.g){case 2:Bb(t),ict(t);break;case 4:Bb(t),h5(t),Qm(t);break;case 3:Bb(t),h5(t),Bb(t),Qm(t)}break;case 4:switch(e.g){case 2:h5(t),Qm(t);break;case 1:h5(t),Bb(t),Qm(t);break;case 3:Bb(t),ict(t)}break;case 3:switch(e.g){case 2:Bb(t),h5(t),Qm(t);break;case 1:Bb(t),h5(t),Bb(t),Qm(t);break;case 4:Bb(t),ict(t)}}return t}function x5(t,e){var n;if(t.d)throw at(new Ro((wg(cft),wut+cft.k+mut)));if(!nin(t.a,e))throw at(new uc(Fbe+e+Bbe));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:cw(t);break;case 1:Rb(t),cw(t);break;case 4:f5(t),cw(t);break;case 3:f5(t),Rb(t),cw(t)}break;case 2:switch(e.g){case 1:Rb(t),sct(t);break;case 4:f5(t),cw(t);break;case 3:f5(t),Rb(t),cw(t)}break;case 1:switch(e.g){case 2:Rb(t),sct(t);break;case 4:Rb(t),f5(t),cw(t);break;case 3:Rb(t),f5(t),Rb(t),cw(t)}break;case 4:switch(e.g){case 2:f5(t),cw(t);break;case 1:f5(t),Rb(t),cw(t);break;case 3:Rb(t),sct(t)}break;case 3:switch(e.g){case 2:Rb(t),f5(t),cw(t);break;case 1:Rb(t),f5(t),Rb(t),cw(t);break;case 4:Rb(t),sct(t)}}return t}function wV(t,e){var n,r,s,o,h,d,m,k;if(Lt(t.Eh(),167)?(wV(u(t.Eh(),167),e),e.a+=" > "):e.a+="Root ",n=t.Dh().zb,hn(n.substr(0,3),"Elk")?ni(e,(qn(3,n.length+1),n.substr(3))):e.a+=""+n,s=t.jh(),s){ni((e.a+=" ",e),s);return}if(Lt(t,366)&&(k=u(t,135).a,k)){ni((e.a+=" ",e),k);return}for(h=new Zn(t.kh());h.e!=h.i.gc();)if(o=u(ar(h),135),k=o.a,k){ni((e.a+=" ",e),k);return}if(Lt(t,326)&&(r=u(t,74),!r.b&&(r.b=new kn(vr,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new kn(vr,r,5,8)),r.c.i!=0))){for(e.a+=" (",d=new j6((!r.b&&(r.b=new kn(vr,r,4,7)),r.b));d.e!=d.i.gc();)d.e>0&&(e.a+=ao),wV(u(ar(d),167),e);for(e.a+=But,m=new j6((!r.c&&(r.c=new kn(vr,r,5,8)),r.c));m.e!=m.i.gc();)m.e>0&&(e.a+=ao),wV(u(ar(m),167),e);e.a+=")"}}function Z9n(t,e,n){var r,s,o,h,d,m,k,T;for(m=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));m.e!=m.i.gc();)for(d=u(ar(m),27),s=new rr(sr(Og(d).a.Kc(),new z));Mr(s);){if(r=u(dr(s),74),!r.b&&(r.b=new kn(vr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new kn(vr,r,5,8)),r.c.i<=1)))throw at(new L6("Graph must not contain hyperedges."));if(!S_(r)&&d!=Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84)))for(k=new mZt,Qo(k,r),Zt(k,(Pb(),$k),r),Dnt(k,u(Ko(Eo(n.f,d)),153)),v6(k,u(tr(n,Jo(u(Dt((!r.c&&(r.c=new kn(vr,r,5,8)),r.c),0),84))),153)),ge(e.c,k),h=new Zn((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n));h.e!=h.i.gc();)o=u(ar(h),135),T=new yie(k,o.a),Qo(T,o),Zt(T,$k,o),T.e.a=b.Math.max(o.g,1),T.e.b=b.Math.max(o.f,1),$kt(T),ge(e.d,T)}}function tCn(t,e,n){var r,s,o,h,d,m,k,T,A,P;switch(n.Ug("Node promotion heuristic",1),t.i=e,t.r=u(X(e,(De(),a2)),243),t.r!=(cf(),Lv)&&t.r!=N3?_Cn(t):Zkn(t),T=u(X(t.i,eAt),17).a,o=new Fd,t.r.g){case 2:case 1:z7(t,o);break;case 3:for(t.r=tK,z7(t,o),m=0,d=new G(t.b);d.a<d.c.c.length;)h=u(et(d),17),m=b.Math.max(m,h.a);m>t.k&&(t.r=cP,z7(t,o));break;case 4:for(t.r=tK,z7(t,o),k=0,s=new G(t.c);s.a<s.c.c.length;)r=Ht(et(s)),k=b.Math.max(k,(Wn(r),r));k>t.n&&(t.r=uP,z7(t,o));break;case 6:P=Ys(b.Math.ceil(t.g.length*T/100)),z7(t,new zVt(P));break;case 5:A=Ys(b.Math.ceil(t.e*T/100)),z7(t,new qVt(A));break;case 8:ebe(t,!0);break;case 9:ebe(t,!1);break;default:z7(t,o)}t.r!=Lv&&t.r!=N3?Ekn(t,e):H8n(t,e),n.Vg()}function eCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(A=t.b,T=new La(A,0),Ly(T,new eu(t)),Tt=!1,h=1;T.b<T.d.gc();){for(k=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),30)),J=(vn(h,A.c.length),u(A.c[h],30)),tt=Rm(k.a),ht=tt.c.length,U=new G(tt);U.a<U.c.c.length;)P=u(et(U),10),Aa(P,J);if(Tt){for($=Bh(tt).Kc();$.Ob();)for(P=u($.Pb(),10),o=new G(Rm(ua(P)));o.a<o.c.c.length;)s=u(et(o),18),nv(s,!0),Zt(t,(oe(),tP),(Pn(),!0)),r=Xge(t,s,ht),n=u(X(P,vv),313),At=u(Oe(r,r.c.length-1),18),n.k=At.c.i,n.n=At,n.b=s.d.i,n.c=s;Tt=!1}else tt.c.length!=0&&(e=(vn(0,tt.c.length),u(tt.c[0],10)),e.k==(Un(),md)&&(Tt=!0,h=-1));++h}for(d=new La(t.b,0);d.b<d.d.gc();)m=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)),m.a.c.length==0&&Kl(d)}function nCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(A=new Zkt(t),nfn(A,!(e==(Rs(),Gh)||e==kd)),T=A.a,P=new C6,s=(A1(),lt(ut(m3,1),te,237,0,[Ac,xu,Lc])),h=0,m=s.length;h<m;++h)n=s[h],k=nit(T,Ac,n),k&&(P.d=b.Math.max(P.d,k.jf()));for(r=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),o=0,d=r.length;o<d;++o)n=r[o],k=nit(T,Lc,n),k&&(P.a=b.Math.max(P.a,k.jf()));for(J=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),ht=0,At=J.length;ht<At;++ht)$=J[ht],k=nit(T,$,Ac),k&&(P.b=b.Math.max(P.b,k.kf()));for(U=lt(ut(m3,1),te,237,0,[Ac,xu,Lc]),tt=0,Tt=U.length;tt<Tt;++tt)$=U[tt],k=nit(T,$,Lc),k&&(P.c=b.Math.max(P.c,k.kf()));return P.d>0&&(P.d+=T.n.d,P.d+=T.d),P.a>0&&(P.a+=T.n.a,P.a+=T.d),P.b>0&&(P.b+=T.n.b,P.b+=T.d),P.c>0&&(P.c+=T.n.c,P.c+=T.d),P}function vpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U;for(P=n.d,A=n.c,o=new ae(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),h=o.b,k=new G(t.a);k.a<k.c.c.length;)if(d=u(et(k),10),d.k==(Un(),Ms)){switch(r=u(X(d,(oe(),Dc)),64),s=u(X(d,JSt),8),T=d.n,r.g){case 2:T.a=n.f.a+P.c-A.a;break;case 4:T.a=-A.a-P.b}switch(U=0,r.g){case 2:case 4:e==(ka(),Y0)?($=Rt(Ht(X(d,xv))),T.b=o.b*$-u(X(d,(De(),Sv)),8).b,U=T.b+s.b,nH(d,!1,!0)):e==hu&&(T.b=Rt(Ht(X(d,xv)))-u(X(d,(De(),Sv)),8).b,U=T.b+s.b,nH(d,!1,!0))}h=b.Math.max(h,U)}for(n.f.b+=h-o.b,m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),d.k==(Un(),Ms))switch(r=u(X(d,(oe(),Dc)),64),T=d.n,r.g){case 1:T.b=-A.b-P.d;break;case 3:T.b=n.f.b+P.a-A.b}}function rCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(T=u(u(Ai(t.r,e),21),87),T.gc()<=2||e==(ve(),Jn)||e==(ve(),Gn)){jpe(t,e);return}for(J=t.u.Hc((wl(),n8)),n=e==(ve(),Hn)?(Gm(),RN):(Gm(),BN),ht=e==Hn?(qu(),Kf):(qu(),O1),r=wwt(Ovt(n),t.s),tt=e==Hn?Zi:Vs,k=T.Kc();k.Ob();)d=u(k.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(U=d.b.Mf(),$=d.e,A=d.c,P=A.i,P.b=(o=A.n,A.e.a+o.b+o.c),P.a=(h=A.n,A.e.b+h.d+h.a),J?(P.c=$.a-(s=A.n,A.e.a+s.b+s.c)-t.s,J=!1):P.c=$.a+U.a+t.s,SI(ht,I8t),A.f=ht,S1(A,(pl(),Gf)),ge(r.d,new Oit(P,T5t(r,P))),tt=e==Hn?b.Math.min(tt,$.b):b.Math.max(tt,$.b+d.b.Mf().b));for(tt+=e==Hn?-t.t:t.t,H5t((r.e=tt,r)),m=T.Kc();m.Ob();)d=u(m.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(P=d.c.i,P.c-=d.e.a,P.d-=d.e.b)}function ype(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(s=new fe,J=new G(e.a);J.a<J.c.c.length;)if(U=u(et(J),10),$=U.e,$&&(r=ype(t,$,U),Hs(s,r),w9n(t,$,U),u(X($,(oe(),lu)),21).Hc((Co(),Uh))))for(Tt=u(X(U,(De(),bs)),101),P=u(X(U,M3),181).Hc((wl(),Hg)),ht=new G(U.j);ht.a<ht.c.c.length;)for(tt=u(et(ht),12),o=u(tr(t.b,tt),10),o||(o=JO(tt,Tt,tt.j,-(tt.e.c.length-tt.g.c.length),null,new Sa,tt.o,u(X($,ph),88),$),Zt(o,Li,tt),hi(t.b,tt,o),ge($.a,o)),h=u(Oe(o.j,0),12),T=new G(tt.f);T.a<T.c.c.length;)k=u(et(T),72),d=new MWt,d.o.a=k.o.a,d.o.b=k.o.b,ge(h.f,d),P||(At=tt.j,A=0,IS(u(X(U,M3),21))&&(A=L6t(k.n,k.o,tt.o,0,At)),Tt==(ka(),Td)||(ve(),Ou).Hc(At)?d.o.a=A:d.o.b=A);return m=new fe,b9n(t,e,n,s,m),n&&PTn(t,e,n,m),m}function Jkt(t,e,n){var r,s,o,h,d,m,k,T,A;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,T=new G(e.j);T.a<T.c.c.length;)for(k=u(et(T),12),A=n?new D4(k):new k6(k),m=A.Kc();m.Ob();)d=u(m.Pb(),12),h=d.i,h.c==e.c?h!=e&&(Jkt(t,h,n),t.c[e.c.p][e.p].b+=t.c[h.c.p][h.p].b,t.c[e.c.p][e.p].d+=t.c[h.c.p][h.p].d):(t.c[e.c.p][e.p].d+=t.g[d.p],++t.c[e.c.p][e.p].b);if(o=u(X(e,(oe(),WSt)),15),o)for(s=o.Kc();s.Ob();)r=u(s.Pb(),10),e.c==r.c&&(Jkt(t,r,n),t.c[e.c.p][e.p].b+=t.c[r.c.p][r.p].b,t.c[e.c.p][e.p].d+=t.c[r.c.p][r.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=Dl(t.i,24)*lN*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}function iCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(U=new G(t);U.a<U.c.c.length;){for($=u(et(U),10),wp($.n),wp($.o),z3t($.f),O0e($),E8n($),tt=new G($.j);tt.a<tt.c.c.length;){for(J=u(et(tt),12),wp(J.n),wp(J.a),wp(J.o),Xs(J,hhe(J.j)),o=u(X(J,(De(),Vp)),17),o&&Zt(J,Vp,he(-o.a)),s=new G(J.g);s.a<s.c.c.length;){for(r=u(et(s),18),n=Dr(r.a,0);n.b!=n.d.c;)e=u(Ar(n),8),wp(e);if(m=u(X(r,Vo),75),m)for(d=Dr(m,0);d.b!=d.d.c;)h=u(Ar(d),8),wp(h);for(A=new G(r.b);A.a<A.c.c.length;)k=u(et(A),72),wp(k.n),wp(k.o)}for(P=new G(J.f);P.a<P.c.c.length;)k=u(et(P),72),wp(k.n),wp(k.o)}for($.k==(Un(),Ms)&&(Zt($,(oe(),Dc),hhe(u(X($,Dc),64))),Ikn($)),T=new G($.b);T.a<T.c.c.length;)k=u(et(T),72),O0e(k),wp(k.o),wp(k.n)}}function sCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;On=tr(t.e,r),On==null&&(On=new _6,$=u(On,190),Tt=e+"_s",At=Tt+s,P=new Oy(At),_1($,a0,P)),Ze=u(On,190),Y6(n,Ze),er=new _6,Q2(er,"x",r.j),Q2(er,"y",r.k),_1(Ze,Jwe,er),Ce=new _6,Q2(Ce,"x",r.b),Q2(Ce,"y",r.c),_1(Ze,"endPoint",Ce),A=NM((!r.a&&(r.a=new Ps(vh,r,5)),r.a)),U=!A,U&&(se=new cp,o=new NGt(se),Fa((!r.a&&(r.a=new Ps(vh,r,5)),r.a),o),_1(Ze,hU,se)),m=cot(r),Bt=!!m,Bt&&e6t(t.a,Ze,STt,zot(t,cot(r))),ht=uot(r),Wt=!!ht,Wt&&e6t(t.a,Ze,CTt,zot(t,uot(r))),k=(!r.e&&(r.e=new kn(Wi,r,10,9)),r.e).i==0,J=!k,J&&(rn=new cp,h=new aQt(t,rn),Fa((!r.e&&(r.e=new kn(Wi,r,10,9)),r.e),h),_1(Ze,ATt,rn)),T=(!r.g&&(r.g=new kn(Wi,r,9,10)),r.g).i==0,tt=!T,tt&&(Dn=new cp,d=new oQt(t,Dn),Fa((!r.g&&(r.g=new kn(Wi,r,9,10)),r.g),d),_1(Ze,_Tt,Dn))}function aCn(t){Ay();var e,n,r,s,o,h,d;for(r=t.f.n,h=Lyt(t.r).a.nc();h.Ob();){if(o=u(h.Pb(),117),s=0,o.b.pf((ai(),Pl))&&(s=Rt(Ht(o.b.of(Pl))),s<0))switch(o.b.ag().g){case 1:r.d=b.Math.max(r.d,-s);break;case 3:r.a=b.Math.max(r.a,-s);break;case 2:r.c=b.Math.max(r.c,-s);break;case 4:r.b=b.Math.max(r.b,-s)}if(IS(t.u))switch(e=hpn(o.b,s),d=!u(t.e.of(l2),181).Hc((Ml(),jP)),n=!1,o.b.ag().g){case 1:n=e>r.d,r.d=b.Math.max(r.d,e),d&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+s);break;case 3:n=e>r.a,r.a=b.Math.max(r.a,e),d&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+s);break;case 2:n=e>r.c,r.c=b.Math.max(r.c,e),d&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+s);break;case 4:n=e>r.b,r.b=b.Math.max(r.b,e),d&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+s)}}}function xpe(t,e){var n,r,s,o,h,d,m,k,T;return k="",e.length==0?t.ne(b8t,$ct,-1,-1):(T=Zy(e),hn(T.substr(0,3),"at ")&&(T=(qn(3,T.length+1),T.substr(3))),T=T.replace(/\[.*?\]/g,""),h=T.indexOf("("),h==-1?(h=T.indexOf("@"),h==-1?(k=T,T=""):(k=Zy((qn(h+1,T.length+1),T.substr(h+1))),T=Zy((Da(0,h,T.length),T.substr(0,h))))):(n=T.indexOf(")",h),k=(Da(h+1,n,T.length),T.substr(h+1,n-(h+1))),T=Zy((Da(0,h,T.length),T.substr(0,h)))),h=$d(T,Hu(46)),h!=-1&&(T=(qn(h+1,T.length+1),T.substr(h+1))),(T.length==0||hn(T,"Anonymous function"))&&(T=$ct),d=cz(k,Hu(58)),s=Tvt(k,Hu(58),d-1),m=-1,r=-1,o=b8t,d!=-1&&s!=-1&&(o=(Da(0,s,k.length),k.substr(0,s)),m=BJt((Da(s+1,d,k.length),k.substr(s+1,d-(s+1)))),r=BJt((qn(d+1,k.length+1),k.substr(d+1)))),t.ne(o,T,m,r))}function oCn(t){var e,n,r,s,o,h,d,m,k,T,A;for(k=new G(t);k.a<k.c.c.length;){switch(m=u(et(k),10),h=u(X(m,(De(),Iu)),171),o=null,h.g){case 1:case 2:o=(ow(),z5);break;case 3:case 4:o=(ow(),_T)}if(o)Zt(m,(oe(),DG),(ow(),z5)),o==_T?nV(m,h,(To(),vl)):o==z5&&nV(m,h,(To(),ku));else if(z4(u(X(m,bs),101))&&m.j.c.length!=0){for(e=!0,A=new G(m.j);A.a<A.c.c.length;){if(T=u(et(A),12),!(T.j==(ve(),Jn)&&T.e.c.length-T.g.c.length>0||T.j==Gn&&T.e.c.length-T.g.c.length<0)){e=!1;break}for(s=new G(T.g);s.a<s.c.c.length;)if(n=u(et(s),18),d=u(X(n.d.i,Iu),171),d==(Rh(),NA)||d==S3){e=!1;break}for(r=new G(T.e);r.a<r.c.c.length;)if(n=u(et(r),18),d=u(X(n.c.i,Iu),171),d==(Rh(),OA)||d==s2){e=!1;break}}e&&nV(m,h,(To(),HA))}}}function cCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(se=0,$=0,A=new G(e.e);A.a<A.c.c.length;){for(T=u(et(A),10),P=0,d=0,m=n?u(X(T,rK),17).a:Ga,ht=r?u(X(T,iK),17).a:Ga,k=b.Math.max(m,ht),At=new G(T.j);At.a<At.c.c.length;){if(Tt=u(et(At),12),Bt=T.n.b+Tt.n.b+Tt.a.b,r)for(h=new G(Tt.g);h.a<h.c.c.length;)o=u(et(h),18),J=o.d,U=J.i,e!=t.a[U.p]&&(tt=b.Math.max(u(X(U,rK),17).a,u(X(U,iK),17).a),Wt=u(X(o,(De(),Yk)),17).a,Wt>=k&&Wt>=tt&&(P+=U.n.b+J.n.b+J.a.b-Bt,++d));if(n)for(h=new G(Tt.e);h.a<h.c.c.length;)o=u(et(h),18),J=o.c,U=J.i,e!=t.a[U.p]&&(tt=b.Math.max(u(X(U,rK),17).a,u(X(U,iK),17).a),Wt=u(X(o,(De(),Yk)),17).a,Wt>=k&&Wt>=tt&&(P+=U.n.b+J.n.b+J.a.b-Bt,++d))}d>0&&(se+=P/d,++$)}$>0?(e.a=s*se/$,e.g=$):(e.a=0,e.g=0)}function uCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(o=t.f.b,P=o.a,T=o.b,U=t.e.g,$=t.e.f,H4(t.e,o.a,o.b),se=P/U,Ce=T/$,k=new Zn(Kz(t.e));k.e!=k.i.gc();)m=u(ar(k),135),Su(m,m.i*se),_u(m,m.j*Ce);for(Tt=new Zn(Jit(t.e));Tt.e!=Tt.i.gc();)ht=u(ar(Tt),123),Bt=ht.i,Wt=ht.j,Bt>0&&Su(ht,Bt*se),Wt>0&&_u(ht,Wt*Ce);for(e_(t.b,new fg),e=new fe,d=new sw(new mr(t.c).a);d.b;)h=Um(d),r=u(h.ld(),74),n=u(h.md(),407).a,s=b5(r,!1,!1),A=dfe(O0(r),MO(s),n),KO(A,s),At=Sfe(r),At&&Xo(e,At,0)==-1&&(In(e.c,At),ene(At,(ur(A.b!=0),u(A.a.a.c,8)),n));for(tt=new sw(new mr(t.d).a);tt.b;)J=Um(tt),r=u(J.ld(),74),n=u(J.md(),407).a,s=b5(r,!1,!1),A=dfe(qb(r),cO(MO(s)),n),A=cO(A),KO(A,s),At=_fe(r),At&&Xo(e,At,0)==-1&&(In(e.c,At),ene(At,(ur(A.b!=0),u(A.c.b.c,8)),n))}function kpe(t,e,n,r){var s,o,h,d,m;return d=new Zkt(e),tkn(d,r),s=!0,t&&t.pf((ai(),Rw))&&(o=u(t.of((ai(),Rw)),88),s=o==(Rs(),Ed)||o==Uo||o==tc),x0e(d,!1),Cu(d.e.Rf(),new Mvt(d,!1,s)),hst(d,d.f,(A1(),Ac),(ve(),Hn)),hst(d,d.f,Lc,Er),hst(d,d.g,Ac,Gn),hst(d,d.g,Lc,Jn),Yle(d,Hn),Yle(d,Er),Jee(d,Jn),Jee(d,Gn),Ay(),h=d.A.Hc((Yl(),z3))&&d.B.Hc((Ml(),$P))?dle(d):null,h&&urn(d.a,h),aCn(d),ovn(d),cvn(d),O9n(d),oEn(d),Nvn(d),tot(d,Hn),tot(d,Er),R8n(d),oTn(d),n&&(q2n(d),Pvn(d),tot(d,Jn),tot(d,Gn),m=d.B.Hc((Ml(),kL)),d1e(d,m,Hn),d1e(d,m,Er),g1e(d,m,Jn),g1e(d,m,Gn),ms(new ln(null,new gn(new si(d.i),0)),new mc),ms(_i(new ln(null,Lyt(d.r).a.oc()),new ca),new ya),Yyn(d),d.e.Pf(d.o),ms(new ln(null,Lyt(d.r).a.oc()),new ea)),d.o}function lCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(k=Zi,r=new G(t.a.b);r.a<r.c.c.length;)e=u(et(r),86),k=b.Math.min(k,e.d.f.g.c+e.e.a);for($=new Ki,h=new G(t.a.a);h.a<h.c.c.length;)o=u(et(h),194),o.i=k,o.e==0&&hs($,o,$.c.b,$.c);for(;$.b!=0;){for(o=u($.b==0?null:(ur($.b!=0),Oh($,$.a.a)),194),s=o.f.g.c,P=o.a.a.ec().Kc();P.Ob();)T=u(P.Pb(),86),J=o.i+T.e.a,T.d.g||T.g.c<J?T.o=J:T.o=T.g.c;for(s-=o.f.o,o.b+=s,t.c==(Rs(),tc)||t.c==kd?o.c+=s:o.c-=s,A=o.a.a.ec().Kc();A.Ob();)for(T=u(A.Pb(),86),m=T.f.Kc();m.Ob();)d=u(m.Pb(),86),bg(t.c)?U=t.f.yf(T,d):U=t.f.zf(T,d),d.d.i=b.Math.max(d.d.i,T.o+T.g.b+U-d.e.a),d.k||(d.d.i=b.Math.max(d.d.i,d.g.c-d.e.a)),--d.d.e,d.d.e==0&&Zr($,d.d)}for(n=new G(t.a.b);n.a<n.c.c.length;)e=u(et(n),86),e.g.c=e.o}function hCn(t){var e,n,r,s,o,h,d,m;switch(d=t.b,e=t.a,u(X(t,(RH(),$9t)),435).g){case 0:Ds(d,new Be(new Nr));break;case 1:default:Ds(d,new Be(new Si))}switch(u(X(t,R9t),436).g){case 1:Ds(d,new cn),Ds(d,new vc),Ds(d,new Md);break;case 0:default:Ds(d,new cn),Ds(d,new hg)}switch(u(X(t,q9t),257).g){case 0:m=new Od;break;case 1:m=new Zc;break;case 2:m=new Qh;break;case 3:m=new Eh;break;case 5:m=new L4(new Qh);break;case 4:m=new L4(new Zc);break;case 7:m=new qwt(new L4(new Zc),new L4(new Qh));break;case 8:m=new qwt(new L4(new Eh),new L4(new Qh));break;case 6:default:m=new L4(new Eh)}for(h=new G(d);h.a<h.c.c.length;){for(o=u(et(h),176),r=0,s=0,n=new Ws(he(r),he(s));GEn(e,o,r,s);)n=u(m.Ve(n,o),42),r=u(n.a,17).a,s=u(n.b,17).a;q8n(e,o,r,s)}}function Epe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(n.Ug(Q2e,1),P=(ji(),B1t),t.a==(a_(),lK)&&(P=gLt),T=0,mn(),e.jd(new Fnt(P)),o=e.gc(),d=e.fd(e.gc()),k=!0;k&&d.Sb();)Tt=u(d.Ub(),39),u(X(Tt,P),17).a==0?--o:k=!1;if(se=e.kd(0,o),h=new pit(se),se=e.kd(o,e.gc()),m=new pit(se),h.b==0)for(J=Dr(m,0);J.b!=J.d.c;)U=u(Ar(J),39),Zt(U,ZA,he(T++));else for(A=h.b,Wt=Dr(h,0);Wt.b!=Wt.d.c;){for(Bt=u(Ar(Wt),39),Zt(Bt,ZA,he(T++)),r=wat(Bt),Epe(t,r,n.eh(1/A|0)),rw(r,$yt(new Fnt(ZA))),$=new Ki,At=Dr(r,0);At.b!=At.d.c;)for(Tt=u(Ar(At),39),ht=Dr(Bt.d,0);ht.b!=ht.d.c;)tt=u(Ar(ht),65),tt.c==Tt&&hs($,tt,$.c.b,$.c);for(nh(Bt.d),Ma(Bt.d,$),d=Dr(m,m.b),s=Bt.d.b,k=!0;0<s&&k&&d.Sb();)Tt=u(d.Ub(),39),u(X(Tt,P),17).a==0?(Zt(Tt,ZA,he(T++)),--s,d.Qb()):k=!1}n.Vg()}function fCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(A=Rt(Ht(ne(t,(Ub(),ndt)))),Ie(Me(ne(t,YLt)))&&(T=u(ne(t,(Y4(),ex)),27),o=u(Dt(zyt(u(Dt((!T.e&&(T.e=new kn(Ts,T,7,4)),T.e),(!T.e&&(T.e=new kn(Ts,T,7,4)),T.e).i-1),74)),0),27),r=u(Dt(zyt(u(Dt((!T.e&&(T.e=new kn(Ts,T,7,4)),T.e),0),74)),0),27),h=new ae(o.i+o.g/2,o.j+o.f/2),s=new ae(r.i+r.g/2,r.j+r.f/2),n=A,n<=0&&(n+=xw),P=b.Math.acos((h.a*s.a+h.b*s.b)/(b.Math.sqrt(h.a*h.a+h.b*h.b)*b.Math.sqrt(s.a*s.a+s.b*s.b))),P<=0&&(P+=xw),e=b.Math.atan2(h.b,h.a),e<=0&&(e+=xw),A=k7t-(e-n+P/2)),m=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));m.e!=m.i.gc();)d=u(ar(m),27),k=new ae(d.i+d.g/2,d.j+d.f/2),$=k.a*b.Math.cos(A)-k.b*b.Math.sin(A),k.b=k.a*b.Math.sin(A)+k.b*b.Math.cos(A),k.a=$,Ch(d,k.a-d.g/2,k.b-d.f/2)}function dCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(e.Ug("Inverted port preprocessing",1),T=t.b,k=new La(T,0),n=null,At=new fe;k.b<k.d.gc();){for(Tt=n,n=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),30)),$=new G(At);$.a<$.c.c.length;)A=u(et($),10),Aa(A,Tt);for(At.c.length=0,U=new G(n.a);U.a<U.c.c.length;)if(A=u(et(U),10),A.k==(Un(),xs)&&z4(u(X(A,(De(),bs)),101))){for(ht=pkt(A,(To(),vl),(ve(),Jn)).Kc();ht.Ob();)for(J=u(ht.Pb(),12),m=J.e,d=u(ld(m,Vt(hft,Rut,18,m.c.length,0,1)),482),s=d,o=0,h=s.length;o<h;++o)r=s[o],F7n(t,J,r,At);for(tt=pkt(A,ku,Gn).Kc();tt.Ob();)for(J=u(tt.Pb(),12),m=J.g,d=u(ld(m,Vt(hft,Rut,18,m.c.length,0,1)),482),s=d,o=0,h=s.length;o<h;++o)r=s[o],P7n(t,J,r,At)}}for(P=new G(At);P.a<P.c.c.length;)A=u(et(P),10),Aa(A,n);e.Vg()}function Dct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=null,r==(Bm(),c2)?P=e:r==Z5&&(P=n),J=P.a.ec().Kc();J.Ob();){for(U=u(J.Pb(),12),tt=dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a])).b,At=new Os,d=new Os,k=new sd(U.b);lc(k.a)||lc(k.b);)if(m=u(lc(k.a)?et(k.a):et(k.b),18),Ie(Me(X(m,(oe(),vd))))==s&&Xo(o,m,0)!=-1){if(m.d==U?ht=m.c:ht=m.d,Tt=dc(lt(ut(la,1),ue,8,0,[ht.i.n,ht.n,ht.a])).b,b.Math.abs(Tt-tt)<.2)continue;Tt<tt?e.a._b(ht)?qs(At,new Ws(c2,m)):qs(At,new Ws(Z5,m)):e.a._b(ht)?qs(d,new Ws(c2,m)):qs(d,new Ws(Z5,m))}if(At.a.gc()>1)for($=new Vkt(U,At,r),Fa(At,new MXt(t,$)),In(h.c,$),A=At.a.ec().Kc();A.Ob();)T=u(A.Pb(),42),zu(o,T.b);if(d.a.gc()>1)for($=new Vkt(U,d,r),Fa(d,new IXt(t,$)),In(h.c,$),A=d.a.ec().Kc();A.Ob();)T=u(A.Pb(),42),zu(o,T.b)}}function gCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(J=t.n,tt=t.o,P=t.d,A=Rt(Ht(Wy(t,(De(),u1t)))),e){for(T=A*(e.gc()-1),$=0,m=e.Kc();m.Ob();)h=u(m.Pb(),10),T+=h.o.a,$=b.Math.max($,h.o.b);for(ht=J.a-(T-tt.a)/2,o=J.b-P.d+$,r=tt.a/(e.gc()+1),s=r,d=e.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ht,h.n.b=o-h.o.b,ht+=h.o.a+A,k=Mde(h),k.n.a=h.o.a/2-k.a.a,k.n.b=h.o.b,U=u(X(h,(oe(),AG)),12),U.e.c.length+U.g.c.length==1&&(U.n.a=s-U.a.a,U.n.b=0,hc(U,t)),s+=r}if(n){for(T=A*(n.gc()-1),$=0,m=n.Kc();m.Ob();)h=u(m.Pb(),10),T+=h.o.a,$=b.Math.max($,h.o.b);for(ht=J.a-(T-tt.a)/2,o=J.b+tt.b+P.a-$,r=tt.a/(n.gc()+1),s=r,d=n.Kc();d.Ob();)h=u(d.Pb(),10),h.n.a=ht,h.n.b=o,ht+=h.o.a+A,k=Mde(h),k.n.a=h.o.a/2-k.a.a,k.n.b=0,U=u(X(h,(oe(),AG)),12),U.e.c.length+U.g.c.length==1&&(U.n.a=s-U.a.a,U.n.b=tt.b,hc(U,t)),s+=r}}function pCn(t,e){var n,r,s,o,h,d;if(u(X(e,(oe(),lu)),21).Hc((Co(),Uh))){for(d=new G(e.a);d.a<d.c.c.length;)o=u(et(d),10),o.k==(Un(),xs)&&(s=u(X(o,(De(),HG)),140),t.c=b.Math.min(t.c,o.n.a-s.b),t.a=b.Math.max(t.a,o.n.a+o.o.a+s.c),t.d=b.Math.min(t.d,o.n.b-s.d),t.b=b.Math.max(t.b,o.n.b+o.o.b+s.a));for(h=new G(e.a);h.a<h.c.c.length;)if(o=u(et(h),10),o.k!=(Un(),xs))switch(o.k.g){case 2:if(r=u(X(o,(De(),Iu)),171),r==(Rh(),s2)){o.n.a=t.c-10,Phe(o,new $B).Jb(new IVt(o));break}if(r==S3){o.n.a=t.a+10,Phe(o,new mQ).Jb(new OVt(o));break}if(n=u(X(o,Aw),311),n==(Cg(),H5)){Kge(o).Jb(new NVt(o)),o.n.b=t.d-10;break}if(n==qk){Kge(o).Jb(new PVt(o)),o.n.b=t.b+10;break}break;default:throw at(new zn("The node type "+o.k+" is not supported by the "+l_n))}}}function bCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;for(m=new ae(r.i+r.g/2,r.j+r.f/2),$=Vge(r),U=u(ne(e,(De(),bs)),101),tt=u(ne(r,NT),64),uQt(Ule(r),D3)||(r.i==0&&r.j==0?J=0:J=D3n(r,tt),Mi(r,D3,J)),k=new ae(e.g,e.f),s=JO(r,U,tt,$,k,m,new ae(r.g,r.f),u(X(n,ph),88),n),Zt(s,(oe(),Li),r),o=u(Oe(s.j,0),12),p(o,NEn(r)),Zt(s,M3,(wl(),en(g2))),A=u(ne(e,M3),181).Hc(Hg),d=new Zn((!r.n&&(r.n=new Jt(Po,r,1,7)),r.n));d.e!=d.i.gc();)if(h=u(ar(d),135),!Ie(Me(ne(h,Nw)))&&h.a&&(P=Pat(h),ge(o.f,P),!A))switch(T=0,IS(u(ne(e,M3),21))&&(T=L6t(new ae(h.i,h.j),new ae(h.g,h.f),new ae(r.g,r.f),0,tt)),tt.g){case 2:case 4:P.o.a=T;break;case 1:case 3:P.o.b=T}Zt(s,FT,Ht(ne(Ji(e),FT))),Zt(s,BT,Ht(ne(Ji(e),BT))),Zt(s,O3,Ht(ne(Ji(e),O3))),ge(n.a,s),hi(t.a,r,s)}function wCn(t,e,n,r,s,o){var h,d,m,k,T,A;for(k=new Yc,Qo(k,e),Xs(k,u(ne(e,(De(),NT)),64)),Zt(k,(oe(),Li),e),hc(k,n),A=k.o,A.a=e.g,A.b=e.f,T=k.n,T.a=e.i,T.b=e.j,hi(t.a,e,k),h=t5(Wo(fc(new ln(null,(!e.e&&(e.e=new kn(Ts,e,7,4)),new gn(e.e,16))),new NB),new Wx),new EVt(e)),h||(h=t5(Wo(fc(new ln(null,(!e.d&&(e.d=new kn(Ts,e,8,5)),new gn(e.d,16))),new O8),new K9),new TVt(e))),h||(h=t5(new ln(null,(!e.e&&(e.e=new kn(Ts,e,7,4)),new gn(e.e,16))),new GX)),Zt(k,eP,(Pn(),!!h)),BTn(k,o,s,u(ne(e,Sv),8)),m=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));m.e!=m.i.gc();)d=u(ar(m),135),!Ie(Me(ne(d,Nw)))&&d.a&&ge(k.f,Pat(d));switch(s.g){case 2:case 1:(k.j==(ve(),Hn)||k.j==Er)&&r.Fc((Co(),q5));break;case 4:case 3:(k.j==(ve(),Jn)||k.j==Gn)&&r.Fc((Co(),q5))}return k}function mCn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(At=0,U=0,$=0,P=1,Tt=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));Tt.e!=Tt.i.gc();)tt=u(ar(Tt),27),P+=xg(new rr(sr(Og(tt).a.Kc(),new z))),rn=tt.g,U=b.Math.max(U,rn),A=tt.f,$=b.Math.max($,A),At+=rn*A;for(J=(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a).i,h=At+2*r*r*P*J,o=b.Math.sqrt(h),m=b.Math.max(o*n,U),d=b.Math.max(o/n,$),ht=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));ht.e!=ht.i.gc();)tt=u(ar(ht),27),Ze=s.b+(Dl(e,26)*q_+Dl(e,27)*H_)*(m-tt.g),On=s.b+(Dl(e,26)*q_+Dl(e,27)*H_)*(d-tt.f),Su(tt,Ze),_u(tt,On);for(Ce=m+(s.b+s.c),se=d+(s.d+s.a),Wt=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));Wt.e!=Wt.i.gc();)for(Bt=u(ar(Wt),27),T=new rr(sr(Og(Bt).a.Kc(),new z));Mr(T);)k=u(dr(T),74),S_(k)||ESn(k,e,Ce,se);Ce+=s.b+s.c,se+=s.d+s.a,rv(t,Ce,se,!1,!0)}function Zkt(t){var e;if(this.r=Qln(new ta,new fo),this.b=new d_(u(Hr(bo),296)),this.p=new d_(u(Hr(bo),296)),this.i=new d_(u(Hr(Zye),296)),this.e=t,this.o=new io(t.Mf()),this.D=t.Yf()||Ie(Me(t.of((ai(),_P)))),this.A=u(t.of((ai(),jw)),21),this.B=u(t.of(l2),21),this.q=u(t.of(fL),101),this.u=u(t.of(j3),21),!j3n(this.u))throw at(new fp("Invalid port label placement: "+this.u));if(this.v=Ie(Me(t.of(RMt))),this.j=u(t.of(ux),21),!g6n(this.j))throw at(new fp("Invalid node label placement: "+this.j));this.n=u(y_(t,CMt),107),this.k=Rt(Ht(y_(t,LK))),this.d=Rt(Ht(y_(t,HMt))),this.w=Rt(Ht(y_(t,WMt))),this.s=Rt(Ht(y_(t,VMt))),this.t=Rt(Ht(y_(t,UMt))),this.C=u(y_(t,GMt),140),this.c=2*this.d,e=!this.B.Hc((Ml(),jP)),this.f=new p_(0,e,0),this.g=new p_(1,e,0),Jnt(this.f,(A1(),xu),this.g)}function vCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(e.Ug("Comment pre-processing",1),n=0,m=new G(t.a);m.a<m.c.c.length;)if(d=u(et(m),10),Ie(Me(X(d,(De(),PA))))){for(++n,s=0,r=null,k=null,U=new G(d.j);U.a<U.c.c.length;)P=u(et(U),12),s+=P.e.c.length+P.g.c.length,P.e.c.length==1&&(r=u(Oe(P.e,0),18),k=r.c),P.g.c.length==1&&(r=u(Oe(P.g,0),18),k=r.d);if(s==1&&k.e.c.length+k.g.c.length==1&&!Ie(Me(X(k.i,PA))))QCn(d,r,k,k.i),PS(m);else{for(ht=new fe,$=new G(d.j);$.a<$.c.c.length;){for(P=u(et($),12),A=new G(P.g);A.a<A.c.c.length;)T=u(et(A),18),T.d.g.c.length==0||In(ht.c,T);for(h=new G(P.e);h.a<h.c.c.length;)o=u(et(h),18),o.c.e.c.length==0||In(ht.c,o)}for(tt=new G(ht);tt.a<tt.c.c.length;)J=u(et(tt),18),nv(J,!0)}}e._g()&&e.bh("Found "+n+" comment boxes"),e.Vg()}function t8t(t,e){pte();var n,r,s,o,h,d,m;if(this.a=new Mmt(this),this.b=t,this.c=e,this.f=qit($o((il(),ja),e)),this.f.dc())if((d=Oxt(ja,t))==e)for(this.e=!0,this.d=new fe,this.f=new KR,this.f.Fc(Cw),u(pV(VI(ja,sh(t)),""),29)==t&&this.f.Fc(MS(ja,sh(t))),s=cct(ja,t).Kc();s.Ob();)switch(r=u(s.Pb(),179),Om($o(ja,r))){case 4:{this.d.Fc(r);break}case 5:{this.f.Gc(qit($o(ja,r)));break}}else if(vo(),u(e,69).xk())for(this.e=!0,this.f=null,this.d=new fe,h=0,m=(t.i==null&&Qd(t),t.i).length;h<m;++h)for(r=(n=(t.i==null&&Qd(t),t.i),h>=0&&h<n.length?n[h]:null),o=tk($o(ja,r));o;o=tk($o(ja,o)))o==e&&this.d.Fc(r);else Om($o(ja,e))==1&&d?(this.f=null,this.d=(vk(),FTe)):(this.f=null,this.e=!0,this.d=(mn(),new pa(e)));else this.e=Om($o(ja,e))==5,this.f.Fb(a0t)&&(this.f=a0t)}function Tpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;for(n=0,r=Qmn(t,e),P=t.s,$=t.t,k=u(u(Ai(t.r,e),21),87).Kc();k.Ob();)if(m=u(k.Pb(),117),!(!m.c||m.c.d.c.length<=0)){switch(U=m.b.Mf(),d=m.b.pf((ai(),Pl))?Rt(Ht(m.b.of(Pl))):0,T=m.c,A=T.i,A.b=(h=T.n,T.e.a+h.b+h.c),A.a=(o=T.n,T.e.b+o.d+o.a),e.g){case 1:A.c=m.a?(U.a-A.b)/2:U.a+P,A.d=U.b+d+r,S1(T,(pl(),e2)),Hd(T,(qu(),O1));break;case 3:A.c=m.a?(U.a-A.b)/2:U.a+P,A.d=-d-r-A.a,S1(T,(pl(),e2)),Hd(T,(qu(),Kf));break;case 2:A.c=-d-r-A.b,m.a?(s=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(U.b-s)/2):A.d=U.b+$,S1(T,(pl(),Gf)),Hd(T,(qu(),n2));break;case 4:A.c=U.a+d+r,m.a?(s=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(U.b-s)/2):A.d=U.b+$,S1(T,(pl(),c0)),Hd(T,(qu(),n2))}(e==(ve(),Hn)||e==Er)&&(n=b.Math.max(n,A.a))}n>0&&(u(Io(t.b,e),127).a.b=n)}function yCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J;if(P=Rt(Ht(X(t,(De(),FT)))),$=Rt(Ht(X(t,BT))),A=Rt(Ht(X(t,O3))),d=t.o,o=u(Oe(t.j,0),12),h=o.n,J=B4n(o,A),!!J){if(e.Hc((wl(),Hg)))switch(u(X(t,(oe(),Dc)),64).g){case 1:J.c=(d.a-J.b)/2-h.a,J.d=$;break;case 3:J.c=(d.a-J.b)/2-h.a,J.d=-$-J.a;break;case 2:n&&o.e.c.length==0&&o.g.c.length==0?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=d.b+$-h.b,J.c=-P-J.b;break;case 4:n&&o.e.c.length==0&&o.g.c.length==0?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=d.b+$-h.b,J.c=P}else if(e.Hc(g2))switch(u(X(t,(oe(),Dc)),64).g){case 1:case 3:J.c=h.a+P;break;case 2:case 4:n&&!o.c?(T=r?J.a:u(Oe(o.f,0),72).o.b,J.d=(d.b-T)/2-h.b):J.d=h.b+$}for(s=J.d,k=new G(o.f);k.a<k.c.c.length;)m=u(et(k),72),U=m.n,U.a=J.c,U.b=s,s+=m.o.b+A}}function xCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(se=new fe,U=new G(t.b);U.a<U.c.c.length;)for($=u(et(U),30),ht=new G($.a);ht.a<ht.c.c.length;)if(J=u(et(ht),10),J.k==(Un(),Ms)&&qi(J,(oe(),MG))){for(Tt=null,Bt=null,At=null,Ze=new G(J.j);Ze.a<Ze.c.c.length;)switch(rn=u(et(Ze),12),rn.j.g){case 4:Tt=rn;break;case 2:Bt=rn;break;default:At=rn}for(Wt=u(Oe(At.g,0),18),T=new b$(Wt.a),k=new io(At.n),ki(k,J.n),A=Dr(T,0),kI(A,k),Ce=cO(Wt.a),P=new io(At.n),ki(P,J.n),hs(Ce,P,Ce.c.b,Ce.c),On=u(X(J,MG),10),Dn=u(Oe(On.j,0),12),m=u(ld(Tt.e,Vt(hft,Rut,18,0,0,1)),482),r=m,o=0,d=r.length;o<d;++o)e=r[o],xa(e,Dn),Dat(e.a,e.a.b,T);for(m=Kd(Bt.g),n=m,s=0,h=n.length;s<h;++s)e=n[s],Xa(e,Dn),Dat(e.a,0,Ce);Xa(Wt,null),xa(Wt,null),In(se.c,J)}for(tt=new G(se);tt.a<tt.c.c.length;)J=u(et(tt),10),Aa(J,null)}function kCn(){ui(WP,new ket),ui(ZK,new dj),ui(YP,new $et),ui(rOt,new yj),ui(Pe,new Q1),ui(ut(ul,1),new xj),ui(ys,new eE),ui(Fk,new mM),ui(Pe,new SC),ui(Pe,new met),ui(Pe,new vet),ui(zs,new f6),ui(Pe,new cj),ui(Vh,new uj),ui(Vh,new yet),ui(Pe,new lj),ui(wT,new hj),ui(Pe,new pM),ui(Pe,new _C),ui(Pe,new Eet),ui(Pe,new Tet),ui(Pe,new Cet),ui(ut(ul,1),new _et),ui(Pe,new Aet),ui(Pe,new fj),ui(Vh,new Let),ui(Vh,new Det),ui(Pe,new Met),ui(Ra,new Iet),ui(Pe,new Oet),ui(gv,new AC),ui(Pe,new Net),ui(Pe,new Pet),ui(Pe,new Fet),ui(Pe,new Bet),ui(Vh,new Ret),ui(Vh,new jet),ui(Pe,new gj),ui(Pe,new pj),ui(Pe,new zet),ui(Pe,new bM),ui(Pe,new qet),ui(Pe,new bj),ui(pv,new Het),ui(Pe,new wj),ui(Pe,new Vet),ui(Pe,new mj),ui(pv,new vj),ui(gv,new wM),ui(Pe,new C4),ui(Ra,new LC)}function Cpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;switch(T=new Qu,t.a.g){case 3:P=u(X(e.e,(oe(),Lw)),15),$=u(X(e.j,Lw),15),U=u(X(e.f,Lw),15),n=u(X(e.e,K5),15),r=u(X(e.j,K5),15),s=u(X(e.f,K5),15),h=new fe,Hs(h,P),$.Jc(new PJ),Hs(h,Bh($)),Hs(h,U),o=new fe,Hs(o,n),Hs(o,Bh(r)),Hs(o,s),Zt(e.f,Lw,h),Zt(e.f,K5,o),Zt(e.f,s_t,e.f),Zt(e.e,Lw,null),Zt(e.e,K5,null),Zt(e.j,Lw,null),Zt(e.j,K5,null);break;case 1:Ma(T,e.e.a),Zr(T,e.i.n),Ma(T,Bh(e.j.a)),Zr(T,e.a.n),Ma(T,e.f.a);break;default:Ma(T,e.e.a),Ma(T,Bh(e.j.a)),Ma(T,e.f.a)}nh(e.f.a),Ma(e.f.a,T),Xa(e.f,e.e.c),d=u(X(e.e,(De(),Vo)),75),k=u(X(e.j,Vo),75),m=u(X(e.f,Vo),75),(d||k||m)&&(A=new Qu,_yt(A,m),_yt(A,k),_yt(A,d),Zt(e.f,Vo,A)),Xa(e.j,null),xa(e.j,null),Xa(e.e,null),xa(e.e,null),Aa(e.a,null),Aa(e.i,null),e.g&&Cpe(t,e.g)}function Spe(){Spe=V;var t,e,n;for(new gO(1,0),new gO(10,0),new gO(0,0),Jve=Vt(Mht,ue,247,11,0,1),_w=Vt(Yh,Zd,28,100,15,1),v9t=lt(ut(ma,1),No,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),y9t=Vt(Fr,ii,28,v9t.length,15,1),x9t=lt(ut(ma,1),No,28,15,[1,10,100,Rp,1e4,uut,1e6,1e7,1e8,EV,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),k9t=Vt(Fr,ii,28,x9t.length,15,1),E9t=Vt(Mht,ue,247,11,0,1),t=0;t<E9t.length;t++)Jve[t]=new gO(t,0),E9t[t]=new gO(0,t),_w[t]=48;for(;t<_w.length;t++)_w[t]=48;for(n=0;n<y9t.length;n++)y9t[n]=S6t(v9t[n]);for(e=0;e<k9t.length;e++)k9t[e]=S6t(x9t[e]);F7()}function ECn(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(e){return Object.create(null)},t.prototype.get=function(e){return this.obj[e]},t.prototype.set=function(e,n){this.obj[e]=n},t.prototype[fut]=function(e){delete this.obj[e]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var e=this.keys(),n=this,r=0;return{next:function(){if(r>=e.length)return{done:!0};var s=e[r++];return{value:[s,n.get(s)],done:!1}}}},w8n()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(e){return this.obj[":"+e]},t.prototype.set=function(e,n){this.obj[":"+e]=n},t.prototype[fut]=function(e){delete this.obj[":"+e]},t.prototype.keys=function(){var e=[];for(var n in this.obj)n.charCodeAt(0)==58&&e.push(n.substring(1));return e}),t}function ji(){ji=V,JA=new Oi(G8t),new rs("DEPTH",he(0)),B1t=new rs("FAN",he(0)),gLt=new rs(W2e,he(0)),u2=new rs("ROOT",(Pn(),!1)),$1t=new rs("LEFTNEIGHBOR",null),Kke=new rs("RIGHTNEIGHBOR",null),oK=new rs("LEFTSIBLING",null),z1t=new rs("RIGHTSIBLING",null),F1t=new rs("DUMMY",!1),new rs("LEVEL",he(0)),wLt=new rs("REMOVABLE_EDGES",new Ki),pP=new rs("XCOOR",he(0)),bP=new rs("YCOOR",he(0)),cK=new rs("LEVELHEIGHT",0),P1=new rs("LEVELMIN",0),Xf=new rs("LEVELMAX",0),R1t=new rs("GRAPH_XMIN",0),j1t=new rs("GRAPH_YMIN",0),pLt=new rs("GRAPH_XMAX",0),bLt=new rs("GRAPH_YMAX",0),dLt=new rs("COMPACT_LEVEL_ASCENSION",!1),P1t=new rs("COMPACT_CONSTRAINTS",new fe),QA=new rs("ID",""),ZA=new rs("POSITION",he(0)),Kp=new rs("PRELIM",0),qT=new rs("MODIFIER",0),zT=new Oi(a2e),gP=new Oi(o2e)}function TCn(t){Nkt();var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(t==null)return null;if(A=t.length*8,A==0)return"";for(d=A%24,$=A/24|0,P=d!=0?$+1:$,o=null,o=Vt(Yh,Zd,28,P*4,15,1),k=0,T=0,e=0,n=0,r=0,h=0,s=0,m=0;m<$;m++)e=t[s++],n=t[s++],r=t[s++],T=(n&15)<<24>>24,k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,tt=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,o[h++]=nb[U],o[h++]=nb[J|k<<4],o[h++]=nb[T<<2|tt],o[h++]=nb[r&63];return d==8?(e=t[s],k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,o[h++]=nb[U],o[h++]=nb[k<<4],o[h++]=61,o[h++]=61):d==16&&(e=t[s],n=t[s+1],T=(n&15)<<24>>24,k=(e&3)<<24>>24,U=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,o[h++]=nb[U],o[h++]=nb[J|k<<4],o[h++]=nb[T<<2],o[h++]=61),af(o,0,o.length)}function CCn(t,e){var n,r,s,o,h,d,m;if(t.e==0&&t.p>0&&(t.p=-(t.p-1)),t.p>Ga&&x3t(e,t.p-Wb),h=e.q.getDate(),LI(e,1),t.k>=0&&dfn(e,t.k),t.c>=0?LI(e,t.c):t.k>=0?(m=new Q4t(e.q.getFullYear()-Wb,e.q.getMonth(),35),r=35-m.q.getDate(),LI(e,b.Math.min(r,h))):LI(e,h),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),isn(e,t.f==24&&t.g?0:t.f),t.j>=0&&Ydn(e,t.j),t.n>=0&&o0n(e,t.n),t.i>=0&&DQt(e,Qa(Ja(_O(Pc(e.q.getTime()),Rp),Rp),t.i)),t.a&&(s=new x$,x3t(s,s.q.getFullYear()-Wb-80),grt(Pc(e.q.getTime()),Pc(s.q.getTime()))&&x3t(e,s.q.getFullYear()-Wb+100)),t.d>=0){if(t.c==-1)n=(7+t.d-e.q.getDay())%7,n>3&&(n-=7),d=e.q.getMonth(),LI(e,e.q.getDate()+n),e.q.getMonth()!=d&&LI(e,e.q.getDate()+(n>0?-7:7));else if(e.q.getDay()!=t.d)return!1}return t.o>Ga&&(o=e.q.getTimezoneOffset(),DQt(e,Qa(Pc(e.q.getTime()),(t.o-o)*60*Rp))),!0}function _pe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(s=X(e,(oe(),Li)),!!Lt(s,207)){for(U=u(s,27),J=e.e,P=new io(e.c),o=e.d,P.a+=o.b,P.b+=o.d,Bt=u(ne(U,(De(),GG)),181),Zu(Bt,(Ml(),NK))&&($=u(ne(U,aAt),107),Snt($,o.a),D2t($,o.d),_nt($,o.b),m6($,o.c)),n=new fe,T=new G(e.a);T.a<T.c.c.length;)for(m=u(et(T),10),Lt(X(m,Li),207)?MCn(m,P):Lt(X(m,Li),193)&&!J&&(r=u(X(m,Li),123),Tt=gge(e,m,r.g,r.f),Ch(r,Tt.a,Tt.b)),ht=new G(m.j);ht.a<ht.c.c.length;)tt=u(et(ht),12),ms(_i(new ln(null,new gn(tt.g,16)),new CVt(m)),new SVt(n));if(J)for(ht=new G(J.j);ht.a<ht.c.c.length;)tt=u(et(ht),12),ms(_i(new ln(null,new gn(tt.g,16)),new _Vt(J)),new AVt(n));for(At=u(ne(U,zg),223),d=new G(n);d.a<d.c.c.length;)h=u(et(d),18),G9n(h,At,P);for(IEn(e),k=new G(e.a);k.a<k.c.c.length;)m=u(et(k),10),A=m.e,A&&_pe(t,A)}}function Ape(t,e){var n,r,s,o,h,d,m,k,T,A,P,$;if(!u(u(Ai(t.r,e),21),87).dc()){if(h=u(Io(t.b,e),127),m=h.i,d=h.n,T=tct(t,e),r=m.b-d.b-d.c,s=h.a.a,o=m.c+d.b,$=t.w,(T==(o5(),f2)||T==PP)&&u(u(Ai(t.r,e),21),87).gc()==1&&(s=T==f2?s-2*t.w:s,T=wL),r<s&&!t.B.Hc((Ml(),PK)))T==f2?($+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),o+=$):$+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1);else switch(r<s&&(s=T==f2?s-2*t.w:s,T=wL),T.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),$+=b.Math.max(0,n),o+=$;break;case 1:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1),$+=b.Math.max(0,n)}for(P=u(u(Ai(t.r,e),21),87).Kc();P.Ob();)A=u(P.Pb(),117),A.e.a=o+A.d.b,A.e.b=(k=A.b,k.pf((ai(),Pl))?k.ag()==(ve(),Hn)?-k.Mf().b-Rt(Ht(k.of(Pl))):Rt(Ht(k.of(Pl))):k.ag()==(ve(),Hn)?-k.Mf().b:0),o+=A.d.b+A.b.Mf().a+A.d.c+$}}function Lpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U;if(!u(u(Ai(t.r,e),21),87).dc()){if(h=u(Io(t.b,e),127),m=h.i,d=h.n,A=tct(t,e),r=m.a-d.d-d.a,s=h.a.b,o=m.d+d.d,U=t.w,k=t.o.a,(A==(o5(),f2)||A==PP)&&u(u(Ai(t.r,e),21),87).gc()==1&&(s=A==f2?s-2*t.w:s,A=wL),r<s&&!t.B.Hc((Ml(),PK)))A==f2?(U+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),o+=U):U+=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1);else switch(r<s&&(s=A==f2?s-2*t.w:s,A=wL),A.g){case 3:o+=(r-s)/2;break;case 4:o+=r-s;break;case 0:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()+1),U+=b.Math.max(0,n),o+=U;break;case 1:n=(r-s)/(u(u(Ai(t.r,e),21),87).gc()-1),U+=b.Math.max(0,n)}for($=u(u(Ai(t.r,e),21),87).Kc();$.Ob();)P=u($.Pb(),117),P.e.a=(T=P.b,T.pf((ai(),Pl))?T.ag()==(ve(),Gn)?-T.Mf().a-Rt(Ht(T.of(Pl))):k+Rt(Ht(T.of(Pl))):T.ag()==(ve(),Gn)?-T.Mf().a:k),P.e.b=o+P.d.d,o+=P.d.d+P.b.Mf().b+P.d.a+U}}function SCn(t,e){var n,r,s,o,h;for(e.Ug("Processor determine the coords for each level",1),r=new fe,h=Dr(t.b,0);h.b!=h.d.c;){for(s=u(Ar(h),39);u(X(s,(Cc(),h0)),17).a>r.c.length-1;)ge(r,new Ws(S5,E7t));n=u(X(s,h0),17).a,bg(u(X(t,Mv),88))?(s.e.a<Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).a))&&qt((vn(n,r.c.length),u(r.c[n],42)),s.e.a),s.e.a+s.f.a>Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).b))&&re((vn(n,r.c.length),u(r.c[n],42)),s.e.a+s.f.a)):(s.e.b<Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).a))&&qt((vn(n,r.c.length),u(r.c[n],42)),s.e.b),s.e.b+s.f.b>Rt(Ht((vn(n,r.c.length),u(r.c[n],42)).b))&&re((vn(n,r.c.length),u(r.c[n],42)),s.e.b+s.f.b))}for(o=Dr(t.b,0);o.b!=o.d.c;)s=u(Ar(o),39),n=u(X(s,(Cc(),h0)),17).a,Zt(s,(ji(),P1),Ht((vn(n,r.c.length),u(r.c[n],42)).a)),Zt(s,Xf,Ht((vn(n,r.c.length),u(r.c[n],42)).b));e.Vg()}function _Cn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(t.o=Rt(Ht(X(t.i,(De(),Av)))),t.f=Rt(Ht(X(t.i,Pw))),t.j=t.i.b.c.length,d=t.j-1,P=0,t.k=0,t.n=0,t.b=id(Vt(Ra,ue,17,t.j,0,1)),t.c=id(Vt(zs,ue,345,t.j,7,1)),h=new G(t.i.b);h.a<h.c.c.length;){for(s=u(et(h),30),s.p=d,A=new G(s.a);A.a<A.c.c.length;)T=u(et(A),10),T.p=P,++P;--d}for(t.g=Vt(Fr,ii,28,P,15,1),t.d=G2(Fr,[ue,ii],[53,28],15,[P,3],2),t.p=new fe,t.q=new fe,e=0,t.e=0,o=new G(t.i.b);o.a<o.c.c.length;){for(s=u(et(o),30),d=s.p,r=0,J=0,m=s.a.c.length,k=0,A=new G(s.a);A.a<A.c.c.length;)T=u(et(A),10),P=T.p,t.g[P]=T.c.p,k+=T.o.b+t.o,n=xg(new rr(sr(ua(T).a.Kc(),new z))),U=xg(new rr(sr(_s(T).a.Kc(),new z))),t.d[P][0]=U-n,t.d[P][1]=n,t.d[P][2]=U,r+=n,J+=U,n>0&&ge(t.q,T),ge(t.p,T);e-=r,$=m+e,k+=e*t.f,Mh(t.b,d,he($)),Mh(t.c,d,k),t.k=b.Math.max(t.k,$),t.n=b.Math.max(t.n,k),t.e+=e,e+=J}}function ve(){ve=V;var t;bc=new tI(G_,0),Hn=new tI(_V,1),Jn=new tI(kut,2),Er=new tI(Eut,3),Gn=new tI(Tut,4),Cd=(mn(),new dE((t=u(y1(bo),9),new _h(t,u(Ff(t,t.length),9),0)))),e1=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[]))),Kh=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[]))),wh=Ap(Hi(Er,lt(ut(bo,1),qc,64,0,[]))),wf=Ap(Hi(Gn,lt(ut(bo,1),qc,64,0,[]))),Gu=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Er]))),Ou=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Gn]))),n1=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Gn]))),yl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn]))),mh=Ap(Hi(Er,lt(ut(bo,1),qc,64,0,[Gn]))),Wh=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Er]))),xl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Gn]))),Uu=Ap(Hi(Jn,lt(ut(bo,1),qc,64,0,[Er,Gn]))),Ku=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Er,Gn]))),cl=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Er]))),fu=Ap(Hi(Hn,lt(ut(bo,1),qc,64,0,[Jn,Er,Gn])))}function ACn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce;for(e.Ug(_2e,1),J=new fe,se=new fe,k=new G(t.b);k.a<k.c.c.length;)for(m=u(et(k),30),ht=-1,U=II(m.a),A=U,P=0,$=A.length;P<$;++P)if(T=A[P],++ht,!!(T.k==(Un(),xs)&&z4(u(X(T,(De(),bs)),101)))){for(q6(u(X(T,(De(),bs)),101))||lkn(T),Zt(T,(oe(),yv),T),J.c.length=0,se.c.length=0,n=new fe,Bt=new Ki,oat(Bt,Pp(T,(ve(),Hn))),Hpe(t,Bt,J,se,n),d=ht,Ce=T,o=new G(J);o.a<o.c.c.length;)r=u(et(o),10),Xy(r,d,m),++ht,Zt(r,yv,T),h=u(Oe(r.j,0),12),tt=u(X(h,Li),12),Ie(Me(X(tt,Jft)))||u(X(r,Uk),15).Fc(Ce);for(nh(Bt),At=Pp(T,Er).Kc();At.Ob();)Tt=u(At.Pb(),12),hs(Bt,Tt,Bt.a,Bt.a.a);for(Hpe(t,Bt,se,null,n),Wt=T,s=new G(se);s.a<s.c.c.length;)r=u(et(s),10),Xy(r,++ht,m),Zt(r,yv,T),h=u(Oe(r.j,0),12),tt=u(X(h,Li),12),Ie(Me(X(tt,Jft)))||u(X(Wt,Uk),15).Fc(r);n.c.length==0||Zt(T,WSt,n)}e.Vg()}function Dpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(e.b!=0){for($=new Ki,d=null,U=null,r=Ys(b.Math.floor(b.Math.log(e.b)*b.Math.LOG10E)+1),m=0,At=Dr(e,0);At.b!=At.d.c;)for(ht=u(Ar(At),39),$t(U)!==$t(X(ht,(ji(),QA)))&&(U=Gr(X(ht,QA)),m=0),U!=null?d=U+Ere(m++,r):d=Ere(m++,r),Zt(ht,QA,d),tt=(s=Dr(new gg(ht).a.d,0),new M4(s));IM(tt.a);)J=u(Ar(tt.a),65).c,hs($,J,$.c.b,$.c),Zt(J,QA,d);for(P=new _r,h=0;h<d.length-r;h++)for(Tt=Dr(e,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),39),k=Lh(Gr(X(ht,(ji(),QA))),0,h+1),n=(k==null?Ko(Eo(P.f,null)):iS(P.i,k))!=null?u(k==null?Ko(Eo(P.f,null)):iS(P.i,k),17).a+1:1,jo(P,k,he(n));for(A=new sw(new mr(P).a);A.b;)T=Um(A),o=he(tr(t.a,T.ld())!=null?u(tr(t.a,T.ld()),17).a:0),jo(t.a,Gr(T.ld()),he(u(T.md(),17).a+o.a)),o=u(tr(t.b,T.ld()),17),(!o||o.a<u(T.md(),17).a)&&jo(t.b,Gr(T.ld()),u(T.md(),17));Dpe(t,$)}}function LCn(t){var e,n,r,s,o,h,d,m,k,T,A,P;for(n=null,m=null,s=u(X(t.b,(De(),i1t)),349),s==(i_(),lP)&&(n=new fe,m=new fe),d=new G(t.d);d.a<d.c.c.length;)if(h=u(et(d),105),o=h.i,!!o)switch(h.e.g){case 0:e=u(GS(new I6(h.b)),64),s==lP&&e==(ve(),Hn)?In(n.c,h):s==lP&&e==(ve(),Er)?In(m.c,h):nvn(h,e);break;case 1:k=h.a.d.j,T=h.c.d.j,k==(ve(),Hn)?vp(h,Hn,(ud(),yT),h.a):T==Hn?vp(h,Hn,(ud(),xT),h.c):k==Er?vp(h,Er,(ud(),xT),h.a):T==Er&&vp(h,Er,(ud(),yT),h.c);break;case 2:case 3:r=h.b,Zu(r,(ve(),Hn))?Zu(r,Er)?Zu(r,Gn)?Zu(r,Jn)||vp(h,Hn,(ud(),xT),h.c):vp(h,Hn,(ud(),yT),h.a):vp(h,Hn,(ud(),zk),null):vp(h,Er,(ud(),zk),null);break;case 4:A=h.a.d.j,P=h.a.d.j,A==(ve(),Hn)||P==Hn?vp(h,Er,(ud(),zk),null):vp(h,Hn,(ud(),zk),null)}n&&(n.c.length==0||Ege(n,(ve(),Hn)),m.c.length==0||Ege(m,(ve(),Er)))}function DCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(n.Ug("Breadth first model order layering",1),t.a=e,tt=new fe,J=new G(t.a.a);J.a<J.c.c.length;)$=u(et(J),10),$.k==(Un(),xs)&&In(tt.c,$);for(mn(),Ds(tt,new jJ),m=!0,s=new eu(t.a),r=null,ge(t.a.b,s),U=new G(tt);U.a<U.c.c.length;)if($=u(et(U),10),m)Aa($,s),m=!1;else{for(d=new rr(sr(ua($).a.Kc(),new z));Mr(d);)o=u(dr(d),18),(o.c.i.k==(Un(),xs)&&o.c.i.c==s||o.c.i.k==Vc&&u(dr(new rr(sr(ua(o.c.i).a.Kc(),new z))),18).c.i.c==s)&&(r=new eu(t.a),ge(t.a.b,r),s=new eu(t.a),ge(t.a.b,s));for(h=new rr(sr(ua($).a.Kc(),new z));Mr(h);)o=u(dr(h),18),o.c.i.k==(Un(),Vc)&&!o.c.i.c&&Aa(o.c.i,r);Aa($,s)}for(t.a.a.c.length=0,ht=new fe,A=new G(t.a.b);A.a<A.c.c.length;)k=u(et(A),30),k.a.c.length==0&&In(ht.c,k);for(_5t(t.a.b,ht),P=0,T=new G(t.a.b);T.a<T.c.c.length;)k=u(et(T),30),k.p=P,++P;n.Vg()}function MCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J;for(r=u(X(t,(oe(),Li)),27),U=u(X(t,(De(),RG)),17).a,o=u(X(t,qG),17).a,Mi(r,RG,he(U)),Mi(r,qG,he(o)),Su(r,t.n.a+e.a),_u(r,t.n.b+e.b),(u(ne(r,Ow),181).gc()!=0||t.e||$t(X(Pa(t),UG))===$t((w_(),qA))&&$Qt((Yy(),(t.q?t.q:(mn(),mn(),q0))._b(Cv)?P=u(X(t,Cv),203):P=u(X(Pa(t),RA),203),P)))&&(qm(r,t.o.a),zm(r,t.o.b)),A=new G(t.j);A.a<A.c.c.length;)k=u(et(A),12),J=X(k,Li),Lt(J,193)&&(s=u(J,123),Ch(s,k.n.a,k.n.b),Mi(s,NT,k.j));for($=u(X(t,Tv),181).gc()!=0,m=new G(t.b);m.a<m.c.c.length;)h=u(et(m),72),($||u(X(h,Tv),181).gc()!=0)&&(n=u(X(h,Li),135),H4(n,h.o.a,h.o.b),Ch(n,h.n.a,h.n.b));if(!IS(u(X(t,M3),21)))for(T=new G(t.j);T.a<T.c.c.length;)for(k=u(et(T),12),d=new G(k.f);d.a<d.c.c.length;)h=u(et(d),72),n=u(X(h,Li),135),qm(n,h.o.a),zm(n,h.o.b),Ch(n,h.n.a,h.n.b)}function ICn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;for(e.Ug("Calculate Graph Size",1),e.dh(t,I7t),A=S5,P=S5,k=O7t,T=O7t,J=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));J.e!=J.i.gc();)$=u(ar(J),27),Tt=$.i,At=$.j,Ze=$.g,d=$.f,m=u(ne($,(ai(),UT)),140),A=b.Math.min(A,Tt-m.b),P=b.Math.min(P,At-m.d),k=b.Math.max(k,Tt+Ze+m.c),T=b.Math.max(T,At+d+m.a);for(ht=u(ne(t,(ai(),Yp)),107),tt=new ae(A-ht.b,P-ht.d),rn=k-A+(ht.b+ht.c),h=T-P+(ht.d+ht.a),Ie(Me(ne(t,(Ub(),ULt))))&&(Bt=u(ne(t,(Y4(),ex)),27),Wt=u(ne(Bt,UT),140),se=Bt.i+Bt.g/2+(Wt.b+Wt.c)/2-tt.a,Ce=Bt.j+Bt.f/2+(Wt.d+Wt.a)/2-tt.b,s=rn-se,o=h-Ce,s<rn/2?(n=s-se,rn+=n,tt.a-=n):(n=se-s,rn+=n),o<h/2?(r=o-Ce,h+=r,tt.b-=r):(r=Ce-o,h+=r)),U=new Zn((!t.a&&(t.a=new Jt(bi,t,10,11)),t.a));U.e!=U.i.gc();)$=u(ar(U),27),Su($,$.i-tt.a),_u($,$.j-tt.b);Ie(Me(ne(t,R3)))||(qm(t,rn),zm(t,h)),Mi(t,ox,rn-(ht.b+ht.c)),Mi(t,ax,h-(ht.d+ht.a)),e.dh(t,iU)}function OCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$;if(t.e.a.$b(),t.f.a.$b(),t.c.c.length=0,t.i.c.length=0,t.g.a.$b(),e)for(h=new G(e.a);h.a<h.c.c.length;)for(o=u(et(h),10),A=Pp(o,(ve(),Jn)).Kc();A.Ob();)for(T=u(A.Pb(),12),qs(t.e,T),s=new G(T.g);s.a<s.c.c.length;)r=u(et(s),18),!go(r)&&(ge(t.c,r),Vle(t,r),d=r.c.i.k,(d==(Un(),xs)||d==uu||d==Ms||d==md)&&ge(t.j,r),$=r.d,P=$.i.c,P==n?qs(t.f,$):P==e?qs(t.e,$):zu(t.c,r));if(n)for(h=new G(n.a);h.a<h.c.c.length;){for(o=u(et(h),10),k=new G(o.j);k.a<k.c.c.length;)for(m=u(et(k),12),s=new G(m.g);s.a<s.c.c.length;)r=u(et(s),18),go(r)&&qs(t.g,r);for(A=Pp(o,(ve(),Gn)).Kc();A.Ob();)for(T=u(A.Pb(),12),qs(t.f,T),s=new G(T.g);s.a<s.c.c.length;)r=u(et(s),18),!go(r)&&(ge(t.c,r),Vle(t,r),d=r.c.i.k,(d==(Un(),xs)||d==uu||d==Ms||d==md)&&ge(t.j,r),$=r.d,P=$.i.c,P==n?qs(t.f,$):P==e?qs(t.e,$):zu(t.c,r))}}function NCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(n.Ug("Polyline edge routing",1),tt=Rt(Ht(X(e,(De(),H_t)))),$=Rt(Ht(X(e,X5))),s=Rt(Ht(X(e,W5))),r=b.Math.min(1,s/$),At=0,m=0,e.b.c.length!=0&&(Bt=_de(u(Oe(e.b,0),30)),At=.4*r*Bt),d=new La(e.b,0);d.b<d.d.gc();){for(h=(ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30)),o=Z$(h,fP),o&&At>0&&(At-=$),Ukt(h,At),T=0,P=new G(h.a);P.a<P.c.c.length;){for(A=u(et(P),10),k=0,J=new rr(sr(_s(A).a.Kc(),new z));Mr(J);)U=u(dr(J),18),ht=rd(U.c).b,Tt=rd(U.d).b,h==U.d.i.c&&!go(U)&&(K5n(U,At,.4*r*b.Math.abs(ht-Tt)),U.c.j==(ve(),Gn)&&(ht=0,Tt=0)),k=b.Math.max(k,b.Math.abs(Tt-ht));switch(A.k.g){case 0:case 4:case 1:case 3:case 5:QTn(t,A,At,tt)}T=b.Math.max(T,k)}d.b<d.d.gc()&&(Bt=_de((ur(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),30))),T=b.Math.max(T,Bt),ur(d.b>0),d.a.Xb(d.c=--d.b)),m=.4*r*T,!o&&d.b<d.d.gc()&&(m+=$),At+=h.c.a+m}t.a.a.$b(),e.f.a=At,n.Vg()}function PCn(t){var e,n,r,s,o;switch(SI(t,sme),(!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i+(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i){case 0:throw at(new zn("The edge must have at least one source or target."));case 1:return(!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==0?Ji(Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))):Ji(Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)))}if((!t.b&&(t.b=new kn(vr,t,4,7)),t.b).i==1&&(!t.c&&(t.c=new kn(vr,t,5,8)),t.c).i==1){if(s=Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84)),o=Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84)),Ji(s)==Ji(o))return Ji(s);if(s==Ji(o))return s;if(o==Ji(s))return o}for(r=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.b&&(t.b=new kn(vr,t,4,7)),t.b),(!t.c&&(t.c=new kn(vr,t,5,8)),t.c)]))),e=Jo(u(dr(r),84));Mr(r);)if(n=Jo(u(dr(r),84)),n!=e&&!qy(n,e)){if(Ji(n)==Ji(e))e=Ji(n);else if(e=c6n(e,n),!e)return null}return e}function e8t(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(P=e.length,P>0&&(m=(qn(0,e.length),e.charCodeAt(0)),m!=64)){if(m==37&&(A=e.lastIndexOf("%"),k=!1,A!=0&&(A==P-1||(k=(qn(A+1,e.length),e.charCodeAt(A+1)==46))))){if(h=(Da(1,A,e.length),e.substr(1,A-1)),At=hn("%",h)?null:n8t(h),r=0,k)try{r=lh((qn(A+2,e.length+1),e.substr(A+2)),Ga,xi)}catch(Bt){throw Bt=es(Bt),Lt(Bt,130)?(d=Bt,at(new _q(d))):at(Bt)}for(tt=D4t(t.Gh());tt.Ob();)if(U=eH(tt),Lt(U,519)&&(s=u(U,598),Tt=s.d,(At==null?Tt==null:hn(At,Tt))&&r--==0))return s;return null}if(T=e.lastIndexOf("."),$=T==-1?e:(Da(0,T,e.length),e.substr(0,T)),n=0,T!=-1)try{n=lh((qn(T+1,e.length+1),e.substr(T+1)),Ga,xi)}catch(Bt){if(Bt=es(Bt),Lt(Bt,130))$=e;else throw at(Bt)}for($=hn("%",$)?null:n8t($),J=D4t(t.Gh());J.Ob();)if(U=eH(J),Lt(U,197)&&(o=u(U,197),ht=o.xe(),($==null?ht==null:hn($,ht))&&n--==0))return o;return null}return bpe(t,e)}function FCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(T=new _r,m=new Fm,r=new G(t.a.a.b);r.a<r.c.c.length;)if(e=u(et(r),60),k=J4(e),k)yu(T.f,k,e);else if(Tt=ek(e),Tt)for(o=new G(Tt.k);o.a<o.c.c.length;)s=u(et(o),18),dn(m,s,e);for(n=new G(t.a.a.b);n.a<n.c.c.length;)if(e=u(et(n),60),k=J4(e),k){for(d=new rr(sr(_s(k).a.Kc(),new z));Mr(d);)if(h=u(dr(d),18),!go(h)&&(U=h.c,ht=h.d,!((ve(),Gu).Hc(h.c.j)&&Gu.Hc(h.d.j)))){if(J=u(tr(T,h.d.i),60),Hf(Of(If(Nf(Mf(new tf,0),100),t.c[e.a.d]),t.c[J.a.d])),U.j==Gn&&cee((rl(),U))){for(P=u(Ai(m,h),21).Kc();P.Ob();)if(A=u(P.Pb(),60),A.d.c<e.d.c){if($=t.c[A.a.d],tt=t.c[e.a.d],$==tt)continue;Hf(Of(If(Nf(Mf(new tf,1),100),$),tt))}}if(ht.j==Jn&&uee((rl(),ht))){for(P=u(Ai(m,h),21).Kc();P.Ob();)if(A=u(P.Pb(),60),A.d.c>e.d.c){if($=t.c[e.a.d],tt=t.c[A.a.d],$==tt)continue;Hf(Of(If(Nf(Mf(new tf,1),100),$),tt))}}}}}function BCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;if(P=u(u(Ai(t.r,e),21),87),e==(ve(),Jn)||e==Gn){Tpe(t,e);return}for(o=e==Hn?(Gm(),BN):(Gm(),RN),Bt=e==Hn?(qu(),O1):(qu(),Kf),n=u(Io(t.b,e),127),r=n.i,s=r.c+e5(lt(ut(ma,1),No,28,15,[n.n.b,t.C.b,t.k])),ht=r.c+r.b-e5(lt(ut(ma,1),No,28,15,[n.n.c,t.C.c,t.k])),h=wwt(Ovt(o),t.t),Tt=e==Hn?Vs:Zi,A=P.Kc();A.Ob();)k=u(A.Pb(),117),!(!k.c||k.c.d.c.length<=0)&&(tt=k.b.Mf(),J=k.e,$=k.c,U=$.i,U.b=(m=$.n,$.e.a+m.b+m.c),U.a=(d=$.n,$.e.b+d.d+d.a),SI(Bt,I8t),$.f=Bt,S1($,(pl(),Gf)),U.c=J.a-(U.b-tt.a)/2,Wt=b.Math.min(s,J.a),se=b.Math.max(ht,J.a+tt.a),U.c<Wt?U.c=Wt:U.c+U.b>se&&(U.c=se-U.b),ge(h.d,new Oit(U,T5t(h,U))),Tt=e==Hn?b.Math.max(Tt,J.b+k.b.Mf().b):b.Math.min(Tt,J.b));for(Tt+=e==Hn?t.t:-t.t,At=H5t((h.e=Tt,h)),At>0&&(u(Io(t.b,e),127).a.b=At),T=P.Kc();T.Ob();)k=u(T.Pb(),117),!(!k.c||k.c.d.c.length<=0)&&(U=k.c.i,U.c-=k.e.a,U.d-=k.e.b)}function RCn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;for(e=new _r,m=new Zn(t);m.e!=m.i.gc();){for(d=u(ar(m),27),n=new Os,hi(Jht,d,n),$=new ip,s=u(nc(new ln(null,new Lm(new rr(sr(jO(d).a.Kc(),new z)))),Gte($,gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)])))),85),Soe(n,u(s.xc((Pn(),!0)),16),new sy),r=u(nc(_i(u(s.xc(!1),15).Lc(),new D8),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),h=r.Kc();h.Ob();)o=u(h.Pb(),74),P=Sfe(o),P&&(k=u(Ko(Eo(e.f,P)),21),k||(k=Xde(P),yu(e.f,P,k)),Ma(n,k));for(s=u(nc(new ln(null,new Lm(new rr(sr(Og(d).a.Kc(),new z)))),Gte($,gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc])))),85),Soe(n,u(s.xc(!0),16),new g4),r=u(nc(_i(u(s.xc(!1),15).Lc(),new th),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),A=r.Kc();A.Ob();)T=u(A.Pb(),74),P=_fe(T),P&&(k=u(Ko(Eo(e.f,P)),21),k||(k=Xde(P),yu(e.f,P,k)),Ma(n,k))}}function jCn(t,e){mct();var n,r,s,o,h,d,m,k,T,A,P,$,U,J;if(m=$c(t,0)<0,m&&(t=Cp(t)),$c(t,0)==0)switch(e){case 0:return"0";case 1:return Y7;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return $=new yb,e<0?$.a+="0E+":$.a+="0E",$.a+=e==Ga?"2147483648":""+-e,$.a}T=18,A=Vt(Yh,Zd,28,T+1,15,1),n=T,J=t;do k=J,J=_O(J,10),A[--n]=qr(Qa(48,sf(k,Ja(J,10))))&js;while($c(J,0)!=0);if(s=sf(sf(sf(T,n),e),1),e==0)return m&&(A[--n]=45),af(A,n,T-n);if(e>0&&$c(s,-6)>=0){if($c(s,0)>=0){for(o=n+qr(s),d=T-1;d>=o;d--)A[d+1]=A[d];return A[++o]=46,m&&(A[--n]=45),af(A,n,T-n+1)}for(h=2;grt(h,Qa(Cp(s),1));h++)A[--n]=48;return A[--n]=46,A[--n]=48,m&&(A[--n]=45),af(A,n,T-n)}return U=n+1,r=T,P=new I4,m&&(P.a+="-"),r-U>=1?(Db(P,A[n]),P.a+=".",P.a+=af(A,n+1,T-n-1)):P.a+=af(A,n,T-n),P.a+="E",$c(s,0)>0&&(P.a+="+"),P.a+=""+OS(s),P.a}function rv(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;if(tt=new ae(t.g,t.f),J=v6t(t),J.a=b.Math.max(J.a,e),J.b=b.Math.max(J.b,n),se=J.a/tt.a,T=J.b/tt.b,Bt=J.a-tt.a,m=J.b-tt.b,r)for(h=Ji(t)?u(ne(Ji(t),(ai(),Rw)),88):u(ne(t,(ai(),Rw)),88),d=$t(ne(t,(ai(),fL)))===$t((ka(),hu)),Tt=new Zn((!t.c&&(t.c=new Jt(kl,t,9,9)),t.c));Tt.e!=Tt.i.gc();)switch(ht=u(ar(Tt),123),At=u(ne(ht,hx),64),At==(ve(),bc)&&(At=Pkt(ht,h),Mi(ht,hx,At)),At.g){case 1:d||Su(ht,ht.i*se);break;case 2:Su(ht,ht.i+Bt),d||_u(ht,ht.j*T);break;case 3:d||Su(ht,ht.i*se),_u(ht,ht.j+m);break;case 4:d||_u(ht,ht.j*T)}if(H4(t,J.a,J.b),s)for(P=new Zn((!t.n&&(t.n=new Jt(Po,t,1,7)),t.n));P.e!=P.i.gc();)A=u(ar(P),135),$=A.i+A.g/2,U=A.j+A.f/2,Wt=$/tt.a,k=U/tt.b,Wt+k>=1&&(Wt-k>0&&U>=0?(Su(A,A.i+Bt),_u(A,A.j+m*k)):Wt-k<0&&$>=0&&(Su(A,A.i+Bt*Wt),_u(A,A.j+m)));return Mi(t,(ai(),jw),(Yl(),o=u(y1(xL),9),new _h(o,u(Ff(o,o.length),9),0))),new ae(se,T)}function Mpe(t){wm(t,new dw(p$(gm(hm(dm(fm(new G1,zh),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Kc),zh))),le(t,zh,JV,Se(H8e)),le(t,zh,h3,Se(V8e)),le(t,zh,_5,Se(j8e)),le(t,zh,Ik,Se($8e)),le(t,zh,Mk,Se(z8e)),le(t,zh,nT,Se(R8e)),le(t,zh,X_,Se(GLt)),le(t,zh,rT,Se(q8e)),le(t,zh,_lt,Se(tdt)),le(t,zh,Slt,Se(edt)),le(t,zh,sU,Se(WLt)),le(t,zh,Alt,Se(ndt)),le(t,zh,Llt,Se(YLt)),le(t,zh,q7t,Se(XLt)),le(t,zh,z7t,Se(KLt)),le(t,zh,B7t,Se(dK)),le(t,zh,R7t,Se(gK)),le(t,zh,j7t,Se(wP)),le(t,zh,$7t,Se(QLt)),le(t,zh,F7t,Se(ULt))}function mV(t){var e,n,r,s,o,h,d,m,k,T,A;if(t==null)throw at(new jd(Vu));if(k=t,o=t.length,m=!1,o>0&&(e=(qn(0,t.length),t.charCodeAt(0)),(e==45||e==43)&&(t=(qn(1,t.length+1),t.substr(1)),--o,m=e==45)),o==0)throw at(new jd(av+k+'"'));for(;t.length>0&&(qn(0,t.length),t.charCodeAt(0)==48);)t=(qn(1,t.length+1),t.substr(1)),--o;if(o>(cge(),Xve)[10])throw at(new jd(av+k+'"'));for(s=0;s<o;s++)if(_le((qn(s,t.length),t.charCodeAt(s)))==-1)throw at(new jd(av+k+'"'));for(A=0,h=p9t[10],T=Dht[10],d=Cp(b9t[10]),n=!0,r=o%h,r>0&&(A=-parseInt((Da(0,r,t.length),t.substr(0,r)),10),t=(qn(r,t.length+1),t.substr(r)),o-=r,n=!1);o>=h;){if(r=parseInt((Da(0,h,t.length),t.substr(0,h)),10),t=(qn(h,t.length+1),t.substr(h)),o-=h,n)n=!1;else{if($c(A,d)<0)throw at(new jd(av+k+'"'));A=Ja(A,T)}A=sf(A,r)}if($c(A,0)>0)throw at(new jd(av+k+'"'));if(!m&&(A=Cp(A),$c(A,0)<0))throw at(new jd(av+k+'"'));return A}function n8t(t){Tct();var e,n,r,s,o,h,d,m;if(t==null)return null;if(s=$d(t,Hu(37)),s<0)return t;for(m=new eh((Da(0,s,t.length),t.substr(0,s))),e=Vt(ul,M5,28,4,15,1),d=0,r=0,h=t.length;s<h;s++)if(qn(s,t.length),t.charCodeAt(s)==37&&t.length>s+2&&vat((qn(s+1,t.length),t.charCodeAt(s+1)),PIt,FIt)&&vat((qn(s+2,t.length),t.charCodeAt(s+2)),PIt,FIt))if(n=aun((qn(s+1,t.length),t.charCodeAt(s+1)),(qn(s+2,t.length),t.charCodeAt(s+2))),s+=2,r>0?(n&192)==128?e[d++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(e[d++]=n<<24>>24,r=2):(n&240)==224?(e[d++]=n<<24>>24,r=3):(n&248)==240&&(e[d++]=n<<24>>24,r=4)),r>0){if(d==r){switch(d){case 2:{Db(m,((e[0]&31)<<6|e[1]&63)&js);break}case 3:{Db(m,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&js);break}}d=0,r=0}}else{for(o=0;o<d;++o)Db(m,e[o]&js);d=0,m.a+=String.fromCharCode(n)}else{for(o=0;o<d;++o)Db(m,e[o]&js);d=0,Db(m,(qn(s,t.length),t.charCodeAt(s)))}return m.a}function Ipe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U;if($=Ji(Jo(u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84))),U=Ji(Jo(u(Dt((!t.c&&(t.c=new kn(vr,t,5,8)),t.c),0),84))),A=$==U,d=new Sa,e=u(ne(t,(aH(),rIt)),75),e&&e.b>=2){if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)n=(kb(),s=new K8,s),Or((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),n);else if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i>1)for(P=new j6((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));P.e!=P.i.gc();)E_(P);KO(e,u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166))}if(A)for(r=new Zn((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));r.e!=r.i.gc();)for(n=u(ar(r),166),k=new Zn((!n.a&&(n.a=new Ps(vh,n,5)),n.a));k.e!=k.i.gc();)m=u(ar(k),377),d.a=b.Math.max(d.a,m.a),d.b=b.Math.max(d.b,m.b);for(h=new Zn((!t.n&&(t.n=new Jt(Po,t,1,7)),t.n));h.e!=h.i.gc();)o=u(ar(h),135),T=u(ne(o,pL),8),T&&Ch(o,T.a,T.b),A&&(d.a=b.Math.max(d.a,o.i+o.g),d.b=b.Math.max(d.b,o.j+o.f));return d}function Ope(t,e,n,r,s){var o,h,d;if(Oae(t,e),h=e[0],o=Va(n.c,0),d=-1,t5t(n))if(r>0){if(h+r>t.length)return!1;d=KH((Da(0,h+r,t.length),t.substr(0,h+r)),e)}else d=KH(t,e);switch(o){case 71:return d=d5(t,h,lt(ut(Pe,1),ue,2,6,[mbe,vbe]),e),s.e=d,!0;case 77:return e8n(t,e,s,d,h);case 76:return n8n(t,e,s,d,h);case 69:return K4n(t,e,h,s);case 99:return W4n(t,e,h,s);case 97:return d=d5(t,h,lt(ut(Pe,1),ue,2,6,["AM","PM"]),e),s.b=d,!0;case 121:return r8n(t,e,h,d,n,s);case 100:return d<=0?!1:(s.c=d,!0);case 83:return d<0?!1:uwn(d,h,e[0],s);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(s.f=d,s.g=!1,!0);case 107:return d<0?!1:(s.f=d,s.g=!0,!0);case 109:return d<0?!1:(s.j=d,!0);case 115:return d<0?!1:(s.n=d,!0);case 90:if(h<t.length&&(qn(h,t.length),t.charCodeAt(h)==90))return++e[0],s.o=0,!0;case 122:case 118:return w3n(t,h,e,s);default:return!1}}function $Cn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;for(At=e.c.length,s=new m5(t.a,n,null,null),rn=Vt(ma,No,28,At,15,1),J=Vt(ma,No,28,At,15,1),U=Vt(ma,No,28,At,15,1),tt=0,d=0;d<At;d++)J[d]=xi,U[d]=Ga;for(m=0;m<At;m++)for(r=(vn(m,e.c.length),u(e.c[m],185)),rn[m]=Xot(r),rn[tt]>rn[m]&&(tt=m),A=new G(t.a.b);A.a<A.c.c.length;)for(T=u(et(A),30),Tt=new G(T.a);Tt.a<Tt.c.c.length;)ht=u(et(Tt),10),se=Rt(r.p[ht.p])+Rt(r.d[ht.p]),J[m]=b.Math.min(J[m],se),U[m]=b.Math.max(U[m],se+ht.o.b);for(Ce=Vt(ma,No,28,At,15,1),k=0;k<At;k++)(vn(k,e.c.length),u(e.c[k],185)).o==(nd(),Fw)?Ce[k]=J[tt]-J[k]:Ce[k]=U[tt]-U[k];for(o=Vt(ma,No,28,At,15,1),$=new G(t.a.b);$.a<$.c.c.length;)for(P=u(et($),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;){for(Bt=u(et(Wt),10),h=0;h<At;h++)o[h]=Rt((vn(h,e.c.length),u(e.c[h],185)).p[Bt.p])+Rt((vn(h,e.c.length),u(e.c[h],185)).d[Bt.p])+Ce[h];cKt(o,uoe(It.prototype.Me,It,[])),s.p[Bt.p]=(o[1]+o[2])/2,s.d[Bt.p]=0}return s}function zCn(t,e,n){var r,s,o,h,d;switch(r=e.i,o=t.i.o,s=t.i.d,d=t.n,h=dc(lt(ut(la,1),ue,8,0,[d,t.a])),t.j.g){case 1:Hd(e,(qu(),Kf)),r.d=-s.d-n-r.a,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(S1(e,(pl(),Gf)),r.c=h.a-Rt(Ht(X(t,V5)))-n-r.b):(S1(e,(pl(),c0)),r.c=h.a+Rt(Ht(X(t,V5)))+n);break;case 2:S1(e,(pl(),c0)),r.c=o.a+s.c+n,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(Hd(e,(qu(),Kf)),r.d=h.b-Rt(Ht(X(t,V5)))-n-r.a):(Hd(e,(qu(),O1)),r.d=h.b+Rt(Ht(X(t,V5)))+n);break;case 3:Hd(e,(qu(),O1)),r.d=o.b+s.a+n,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(S1(e,(pl(),Gf)),r.c=h.a-Rt(Ht(X(t,V5)))-n-r.b):(S1(e,(pl(),c0)),r.c=h.a+Rt(Ht(X(t,V5)))+n);break;case 4:S1(e,(pl(),Gf)),r.c=-s.b-n-r.b,u(u(Oe(e.d,0),187).of((oe(),Gk)),290)==(uh(),K0)?(Hd(e,(qu(),Kf)),r.d=h.b-Rt(Ht(X(t,V5)))-n-r.a):(Hd(e,(qu(),O1)),r.d=h.b+Rt(Ht(X(t,V5)))+n)}}function qCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;for(n.Ug(twe,1),!e.a&&(e.a=new Jt(bi,e,10,11)),r=Rt(Ht(ne(e,(fd(),mK)))),T=Rt(Ht(ne(e,iL))),P=u(ne(e,rL),107),$=new lmt(r,T),o=Zpe($,e,P),soe(e,$),d=u(ne(e,pDt),17).a;d>1;){if(s=W6n(e),A=o.g,U=u(ne(e,rL),107),J=Rt(Ht(ne(e,mK))),(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i>1&&Rt(Ht(ne(e,(N0(),ldt))))!=Zi&&(o.c+(U.b+U.c))/(o.b+(U.d+U.a))<J?Mi(s,(N0(),B3),Rt(Ht(ne(e,B3)))+Rt(Ht(ne(e,ldt)))):(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i>1&&Rt(Ht(ne(e,(N0(),udt))))!=Zi&&(o.c+(U.b+U.c))/(o.b+(U.d+U.a))>J&&Mi(s,(N0(),B3),b.Math.max(Rt(Ht(ne(e,nL))),Rt(Ht(ne(s,B3)))-Rt(Ht(ne(e,udt))))),$=new lmt(r,T),m=Zpe($,s,P),k=m.g,k>=A&&k==k){for(h=0;h<(!s.a&&(s.a=new Jt(bi,s,10,11)),s.a).i;h++)S1e(t,u(Dt((!s.a&&(s.a=new Jt(bi,s,10,11)),s.a),h),27),u(Dt((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),h),27));soe(e,$),Jhn(o,m.c),Qhn(o,m.b)}--d}Mi(e,(N0(),eL),o.b),Mi(e,HT,o.c),n.Vg()}function HCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;for(e.Ug("Interactive node layering",1),n=new fe,P=new G(t.a);P.a<P.c.c.length;){for(T=u(et(P),10),m=T.n.a,d=m+T.o.a,d=b.Math.max(m+1,d),Tt=new La(n,0),r=null;Tt.b<Tt.d.gc();)if(tt=(ur(Tt.b<Tt.d.gc()),u(Tt.d.Xb(Tt.c=Tt.b++),578)),tt.c>=d){ur(Tt.b>0),Tt.a.Xb(Tt.c=--Tt.b);break}else tt.a>m&&(r?(Hs(r.b,tt.b),r.a=b.Math.max(r.a,tt.a),Kl(Tt)):(ge(tt.b,T),tt.c=b.Math.min(tt.c,m),tt.a=b.Math.max(tt.a,d),r=tt));r||(r=new _Kt,r.c=m,r.a=d,Ly(Tt,r),ge(r.b,T))}for(h=t.b,k=0,ht=new G(n);ht.a<ht.c.c.length;)for(tt=u(et(ht),578),s=new eu(t),s.p=k++,In(h.c,s),$=new G(tt.b);$.a<$.c.c.length;)T=u(et($),10),Aa(T,s),T.p=0;for(A=new G(t.a);A.a<A.c.c.length;)if(T=u(et(A),10),T.p==0)for(J=k0e(T,t);J.a.gc()!=0;)U=u(J.a.ec().Kc().Pb(),10),J.a.Bc(U)!=null,Ma(J,k0e(U,t));for(o=new La(h,0);o.b<o.d.gc();)(ur(o.b<o.d.gc()),u(o.d.Xb(o.c=o.b++),30)).a.c.length==0&&Kl(o);t.a.c.length=0,e.Vg()}function VCn(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for($=0,On=0,m=new G(t);m.a<m.c.c.length;)d=u(et(m),27),wpe(d),$=b.Math.max($,d.g),On+=d.g*d.f;for(U=On/t.c.length,Ze=_vn(t,U),On+=t.c.length*Ze,$=b.Math.max($,b.Math.sqrt(On*h))+n.b,Jr=n.b,is=n.d,P=0,T=n.b+n.c,rn=new Ki,Zr(rn,he(0)),se=new Ki,k=new La(t,0);k.b<k.d.gc();)d=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),27)),er=d.g,A=d.f,Jr+er>$&&(o&&(ro(se,P),ro(rn,he(k.b-1))),Jr=n.b,is+=P+e,P=0,T=b.Math.max(T,n.b+n.c+er)),Su(d,Jr),_u(d,is),T=b.Math.max(T,Jr+er+n.c),P=b.Math.max(P,A),Jr+=er+e;if(T=b.Math.max(T,r),Dn=is+P+n.a,Dn<s&&(P+=s-Dn,Dn=s),o)for(Jr=n.b,k=new La(t,0),ro(rn,he(t.c.length)),Ce=Dr(rn,0),ht=u(Ar(Ce),17).a,ro(se,P),Wt=Dr(se,0),Bt=0;k.b<k.d.gc();)k.b==ht&&(Jr=n.b,Bt=Rt(Ht(Ar(Wt))),ht=u(Ar(Ce),17).a),d=(ur(k.b<k.d.gc()),u(k.d.Xb(k.c=k.b++),27)),Tt=d.f,zm(d,Bt),J=Bt,k.b==ht&&(tt=T-Jr-n.c,At=d.g,qm(d,tt),c1e(d,new ae(tt,J),new ae(At,Tt))),Jr+=d.g+e;return new ae(T,Dn)}function UCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;for(e.Ug("Compound graph postprocessor",1),n=Ie(Me(X(t,(De(),f1t)))),d=u(X(t,(oe(),QSt)),229),T=new Os,ht=d.ec().Kc();ht.Ob();){for(tt=u(ht.Pb(),18),h=new fl(d.cc(tt)),mn(),Ds(h,new _M(t)),Wt=epn((vn(0,h.c.length),u(h.c[0],249))),Ce=ice(u(Oe(h,h.c.length-1),249)),At=Wt.i,a7(Ce.i,At)?Tt=At.e:Tt=Pa(At),A=smn(tt,h),nh(tt.a),P=null,o=new G(h);o.a<o.c.c.length;)s=u(et(o),249),J=new Sa,p6t(J,s.a,Tt),$=s.b,r=new Qu,Dat(r,0,$.a),Vy(r,J),Bt=new io(rd($.c)),se=new io(rd($.d)),ki(Bt,J),ki(se,J),P&&(r.b==0?U=se:U=(ur(r.b!=0),u(r.a.a.c,8)),rn=b.Math.abs(P.a-U.a)>n0,Ze=b.Math.abs(P.b-U.b)>n0,(!n&&rn&&Ze||n&&(rn||Ze))&&Zr(tt.a,Bt)),Ma(tt.a,r),r.b==0?P=Bt:P=(ur(r.b!=0),u(r.c.b.c,8)),Lpn($,A,J),ice(s)==Ce&&(Pa(Ce.i)!=s.a&&(J=new Sa,p6t(J,Pa(Ce.i),Tt)),Zt(tt,Qft,J)),h4n($,tt,Tt),T.a.zc($,T);Xa(tt,Wt),xa(tt,Ce)}for(k=T.a.ec().Kc();k.Ob();)m=u(k.Pb(),18),Xa(m,null),xa(m,null);e.Vg()}function GCn(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(s=u(X(t,(Cc(),Mv)),88),T=s==(Rs(),Uo)||s==tc?kd:tc,n=u(nc(_i(new ln(null,new gn(t.b,16)),new XD),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),m=u(nc(Wo(n.Oc(),new WUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),m.Gc(u(nc(Wo(n.Oc(),new YUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),16)),m.jd(new XUt(T)),P=new pp(new QUt(s)),r=new _r,d=m.Kc();d.Ob();)h=u(d.Pb(),240),k=u(h.a,39),Ie(Me(h.c))?(P.a.zc(k,(Pn(),t2))==null,new ra(P.a.Zc(k,!1)).a.gc()>0&&hi(r,k,u(new ra(P.a.Zc(k,!1)).a.Vc(),39)),new ra(P.a.ad(k,!0)).a.gc()>1&&hi(r,cle(P,k),k)):(new ra(P.a.Zc(k,!1)).a.gc()>0&&(o=u(new ra(P.a.Zc(k,!1)).a.Vc(),39),$t(o)===$t(Ko(Eo(r.f,k)))&&u(X(k,(ji(),P1t)),15).Fc(o)),new ra(P.a.ad(k,!0)).a.gc()>1&&(A=cle(P,k),$t(Ko(Eo(r.f,A)))===$t(k)&&u(X(A,(ji(),P1t)),15).Fc(k)),P.a.Bc(k)!=null)}function Npe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(t.gc()==1)return u(t.Xb(0),235);if(t.gc()<=0)return new mq;for(s=t.Kc();s.Ob();){for(n=u(s.Pb(),235),U=0,T=xi,A=xi,m=Ga,k=Ga,$=new G(n.e);$.a<$.c.c.length;)P=u(et($),153),U+=u(X(P,(Vf(),jk)),17).a,T=b.Math.min(T,P.d.a-P.e.a/2),A=b.Math.min(A,P.d.b-P.e.b/2),m=b.Math.max(m,P.d.a+P.e.a/2),k=b.Math.max(k,P.d.b+P.e.b/2);Zt(n,(Vf(),jk),he(U)),Zt(n,(Pb(),TA),new ae(T,A)),Zt(n,UN,new ae(m,k))}for(mn(),t.jd(new M8),J=new mq,Qo(J,u(t.Xb(0),96)),d=0,Tt=0,o=t.Kc();o.Ob();)n=u(o.Pb(),235),tt=ia(Oa(u(X(n,(Pb(),UN)),8)),u(X(n,TA),8)),d=b.Math.max(d,tt.a),Tt+=tt.a*tt.b;for(d=b.Math.max(d,b.Math.sqrt(Tt)*Rt(Ht(X(J,(Vf(),S3e))))),ht=Rt(Ht(X(J,KU))),At=0,Bt=0,h=0,e=ht,r=t.Kc();r.Ob();)n=u(r.Pb(),235),tt=ia(Oa(u(X(n,(Pb(),UN)),8)),u(X(n,TA),8)),At+tt.a>d&&(At=0,Bt+=h+ht,h=0),vEn(J,n,At,Bt),e=b.Math.max(e,At+tt.a),h=b.Math.max(h,tt.b),At+=tt.a+ht;return J}function KCn(t){Nkt();var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(t==null||(o=Lq(t),U=x2n(o),U%4!=0))return null;if(J=U/4|0,J==0)return Vt(ul,M5,28,0,15,1);for(A=null,e=0,n=0,r=0,s=0,h=0,d=0,m=0,k=0,$=0,P=0,T=0,A=Vt(ul,M5,28,J*3,15,1);$<J-1;$++){if(!PM(h=o[T++])||!PM(d=o[T++])||!PM(m=o[T++])||!PM(k=o[T++]))return null;e=_d[h],n=_d[d],r=_d[m],s=_d[k],A[P++]=(e<<2|n>>4)<<24>>24,A[P++]=((n&15)<<4|r>>2&15)<<24>>24,A[P++]=(r<<6|s)<<24>>24}return!PM(h=o[T++])||!PM(d=o[T++])?null:(e=_d[h],n=_d[d],m=o[T++],k=o[T++],_d[m]==-1||_d[k]==-1?m==61&&k==61?n&15?null:(tt=Vt(ul,M5,28,$*3+1,15,1),Xc(A,0,tt,0,$*3),tt[P]=(e<<2|n>>4)<<24>>24,tt):m!=61&&k==61?(r=_d[m],r&3?null:(tt=Vt(ul,M5,28,$*3+2,15,1),Xc(A,0,tt,0,$*3),tt[P++]=(e<<2|n>>4)<<24>>24,tt[P]=((n&15)<<4|r>>2&15)<<24>>24,tt)):null:(r=_d[m],s=_d[k],A[P++]=(e<<2|n>>4)<<24>>24,A[P++]=((n&15)<<4|r>>2&15)<<24>>24,A[P++]=(r<<6|s)<<24>>24,A))}function WCn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(e.Ug(_2e,1),U=u(X(t,(De(),zg)),223),s=new G(t.b);s.a<s.c.c.length;)for(r=u(et(s),30),k=II(r.a),h=k,d=0,m=h.length;d<m;++d)if(o=h[d],o.k==(Un(),uu)){if(U==(Lg(),e8))for(A=new G(o.j);A.a<A.c.c.length;)T=u(et(A),12),T.e.c.length==0||jwn(T),T.g.c.length==0||$wn(T);else if(Lt(X(o,(oe(),Li)),18))tt=u(X(o,Li),18),ht=u(Pp(o,(ve(),Gn)).Kc().Pb(),12),Tt=u(Pp(o,Jn).Kc().Pb(),12),At=u(X(ht,Li),12),Bt=u(X(Tt,Li),12),Xa(tt,Bt),xa(tt,At),Wt=new io(Tt.i.n),Wt.a=dc(lt(ut(la,1),ue,8,0,[Bt.i.n,Bt.n,Bt.a])).a,Zr(tt.a,Wt),Wt=new io(ht.i.n),Wt.a=dc(lt(ut(la,1),ue,8,0,[At.i.n,At.n,At.a])).a,Zr(tt.a,Wt);else{if(o.j.c.length>=2){for(J=!0,P=new G(o.j),n=u(et(P),12),$=null;P.a<P.c.c.length;)if($=n,n=u(et(P),12),!Ti(X($,Li),X(n,Li))){J=!1;break}}else J=!1;for(A=new G(o.j);A.a<A.c.c.length;)T=u(et(A),12),T.e.c.length==0||Tkn(T,J),T.g.c.length==0||Ckn(T,J)}Aa(o,null)}e.Vg()}function YCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(d=new G(t.a.b);d.a<d.c.c.length;)for(o=u(et(d),30),At=new G(o.a);At.a<At.c.c.length;)Tt=u(et(At),10),e.g[Tt.p]=Tt,e.a[Tt.p]=Tt,e.d[Tt.p]=0;for(m=t.a.b,e.c==(Gd(),Gp)&&(m=Bh(m)),h=m.Kc();h.Ob();)for(o=u(h.Pb(),30),$=-1,P=o.a,e.o==(nd(),yd)&&($=xi,P=Bh(P)),Wt=P.Kc();Wt.Ob();)if(Bt=u(Wt.Pb(),10),A=null,e.c==Gp?A=u(Oe(t.b.f,Bt.p),15):A=u(Oe(t.b.b,Bt.p),15),A.gc()>0)if(r=A.gc(),k=Ys(b.Math.floor((r+1)/2))-1,s=Ys(b.Math.ceil((r+1)/2))-1,e.o==yd)for(T=s;T>=k;T--)e.a[Bt.p]==Bt&&(J=u(A.Xb(T),42),U=u(J.a,10),!x1(n,J.b)&&$>t.b.e[U.p]&&(e.a[U.p]=Bt,e.g[Bt.p]=e.g[U.p],e.a[Bt.p]=e.g[Bt.p],e.f[e.g[Bt.p].p]=(Pn(),!!(Ie(e.f[e.g[Bt.p].p])&Bt.k==(Un(),fa))),$=t.b.e[U.p]));else for(T=k;T<=s;T++)e.a[Bt.p]==Bt&&(ht=u(A.Xb(T),42),tt=u(ht.a,10),!x1(n,ht.b)&&$<t.b.e[tt.p]&&(e.a[tt.p]=Bt,e.g[Bt.p]=e.g[tt.p],e.a[Bt.p]=e.g[Bt.p],e.f[e.g[Bt.p].p]=(Pn(),!!(Ie(e.f[e.g[Bt.p].p])&Bt.k==(Un(),fa))),$=t.b.e[tt.p]))}function Ppe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;return At=t.c[(vn(0,e.c.length),u(e.c[0],18)).p],Ce=t.c[(vn(1,e.c.length),u(e.c[1],18)).p],At.a.e.e-At.a.a-(At.b.e.e-At.b.a)==0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)==0||(ht=At.b.e.f,!Lt(ht,10))?!1:(tt=u(ht,10),Wt=t.i[tt.p],se=tt.c?Xo(tt.c.a,tt,0):-1,o=Zi,se>0&&(s=u(Oe(tt.c.a,se-1),10),h=t.i[s.p],rn=b.Math.ceil(U4(t.n,s,tt)),o=Wt.a.e-tt.d.d-(h.a.e+s.o.b+s.d.a)-rn),k=Zi,se<tt.c.a.c.length-1&&(m=u(Oe(tt.c.a,se+1),10),T=t.i[m.p],rn=b.Math.ceil(U4(t.n,m,tt)),k=T.a.e-m.d.d-(Wt.a.e+tt.o.b+tt.d.a)-rn),n&&(Z1(),$f(s0),b.Math.abs(o-k)<=s0||o==k||isNaN(o)&&isNaN(k))?!0:(r=Hit(At.a),d=-Hit(At.b),A=-Hit(Ce.a),Tt=Hit(Ce.b),J=At.a.e.e-At.a.a-(At.b.e.e-At.b.a)>0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)<0,U=At.a.e.e-At.a.a-(At.b.e.e-At.b.a)<0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)>0,$=At.a.e.e+At.b.a<Ce.b.e.e+Ce.a.a,P=At.a.e.e+At.b.a>Ce.b.e.e+Ce.a.a,Bt=0,!J&&!U&&(P?o+A>0?Bt=A:k-r>0&&(Bt=r):$&&(o+d>0?Bt=d:k-Tt>0&&(Bt=Tt))),Wt.a.e+=Bt,Wt.b&&(Wt.d.e+=Bt),!1))}function Fpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;if(r=new Ah(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),s=new B6,t.c)for(h=new G(e.Rf());h.a<h.c.c.length;)o=u(et(h),187),s.c=o.Lf().a+e.Lf().a,s.d=o.Lf().b+e.Lf().b,s.b=o.Mf().a,s.a=o.Mf().b,T_(r,s);for(k=new G(e.Xf());k.a<k.c.c.length;){if(m=u(et(k),852),T=m.Lf().a+e.Lf().a,A=m.Lf().b+e.Lf().b,t.e&&(s.c=T,s.d=A,s.b=m.Mf().a,s.a=m.Mf().b,T_(r,s)),t.d)for(h=new G(m.Rf());h.a<h.c.c.length;)o=u(et(h),187),s.c=o.Lf().a+T,s.d=o.Lf().b+A,s.b=o.Mf().a,s.a=o.Mf().b,T_(r,s);if(t.b){if(P=new ae(-n,-n),u(e.of((ai(),j3)),181).Hc((wl(),g2)))for(h=new G(m.Rf());h.a<h.c.c.length;)o=u(et(h),187),P.a+=o.Mf().a+n,P.b+=o.Mf().b+n;P.a=b.Math.max(P.a,0),P.b=b.Math.max(P.b,0),rge(r,m.Wf(),m.Uf(),e,m,P,n)}}t.b&&rge(r,e.Wf(),e.Uf(),e,null,null,n),d=new Eit(e.Vf()),d.d=b.Math.max(0,e.Lf().b-r.d),d.a=b.Math.max(0,r.d+r.a-(e.Lf().b+e.Mf().b)),d.b=b.Math.max(0,e.Lf().a-r.c),d.c=b.Math.max(0,r.c+r.b-(e.Lf().a+e.Mf().a)),e.Zf(d)}function XCn(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function Bpe(t){wm(t,new dw(vwt(p$(gm(hm(dm(fm(new G1,Du),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Pd),Du),Hi((O7(),UK),lt(ut(GK,1),te,245,0,[HK]))))),le(t,Du,gN,he(1)),le(t,Du,h3,80),le(t,Du,Put,5),le(t,Du,Dk,tT),le(t,Du,IV,he(1)),le(t,Du,W_,(Pn(),!0)),le(t,Du,ov,gCt),le(t,Du,Y_,Se(hCt)),le(t,Du,Fut,Se(pCt)),le(t,Du,OV,!1),le(t,Du,X_,Se(dCt)),le(t,Du,eT,Se(D3e)),le(t,Du,Mk,Se(M3e)),le(t,Du,_5,Se(L3e)),le(t,Du,nT,Se(A3e)),le(t,Du,rT,Se(O3e)),le(t,Du,MV,Se(fCt)),le(t,Du,Out,Se(eft)),le(t,Du,V8t,Se(GU)),le(t,Du,Nut,Se(tft)),le(t,Du,U8t,Se(bCt)),le(t,Du,pN,Se(j3e)),le(t,Du,bN,Se($3e)),le(t,Du,wN,Se(R3e)),le(t,Du,mN,Se(B3e)),le(t,Du,cv,wCt)}function Gb(t,e){yi();var n,r,s,o,h,d,m,k,T,A,P,$,U;if(QC(ZT)==0){for(A=Vt(T_n,ue,122,e9e.length,0,1),h=0;h<A.length;h++)A[h]=new ih(4);for(r=new YC,o=0;o<oOt.length;o++){if(T=new ih(4),o<84?(d=o*2,$=(qn(d,mht.length),mht.charCodeAt(d)),P=(qn(d+1,mht.length),mht.charCodeAt(d+1)),iu(T,$,P)):(d=(o-84)*2,iu(T,cOt[d],cOt[d+1])),m=oOt[o],hn(m,"Specials")&&iu(T,65520,65533),hn(m,Lve)&&(iu(T,983040,1048573),iu(T,1048576,1114109)),jo(ZT,m,T),jo(IL,m,i3(T)),k=r.a.length,0<k?r.a=Lh(r.a,0,0):0>k&&(r.a+=uJt(Vt(Yh,Zd,28,-k,15,1))),r.a+="Is",$d(m,Hu(32))>=0)for(s=0;s<m.length;s++)qn(s,m.length),m.charCodeAt(s)!=32&&PE(r,(qn(s,m.length),m.charCodeAt(s)));else r.a+=""+m;X5t(r.a,m,!0)}X5t(wht,"Cn",!1),X5t(JTt,"Cn",!0),n=new ih(4),iu(n,0,gT),jo(ZT,"ALL",n),jo(IL,"ALL",i3(n)),!W3&&(W3=new _r),jo(W3,wht,wht),!W3&&(W3=new _r),jo(W3,JTt,JTt),!W3&&(W3=new _r),jo(W3,"ALL","ALL")}return U=u(nu(e?ZT:IL,t),138),U}function Rpe(t){wm(t,new dw(vwt(p$(gm(hm(dm(fm(new G1,Mu),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new WZ),X2e),en((O7(),Qdt))))),le(t,Mu,ov,_Lt),le(t,Mu,h3,20),le(t,Mu,plt,3),le(t,Mu,Dk,tT),le(t,Mu,gN,he(1)),le(t,Mu,W_,(Pn(),!0)),le(t,Mu,TN,Se(kLt)),le(t,Mu,blt,ELt),le(t,Mu,Y_,Se(n8e)),le(t,Mu,ZV,Se(r8e)),le(t,Mu,_5,Se(s8e)),le(t,Mu,eT,Se(a8e)),le(t,Mu,Ik,Se(o8e)),le(t,Mu,Mk,Se(c8e)),le(t,Mu,nT,Se(i8e)),le(t,Mu,X_,Se(CLt)),le(t,Mu,rT,Se(u8e)),le(t,Mu,A7t,Se(MLt)),le(t,Mu,D7t,Se(ALt)),le(t,Mu,pN,Se(d8e)),le(t,Mu,bN,Se(g8e)),le(t,Mu,wN,Se(f8e)),le(t,Mu,mN,Se(h8e)),le(t,Mu,cv,DLt),le(t,Mu,_7t,Se(tx)),le(t,Mu,L7t,Se(q1t)),le(t,Mu,S7t,Se(h0)),le(t,Mu,T7t,Se(xLt)),le(t,Mu,C7t,Se(TLt))}function jpe(t,e){var n,r,s,o,h,d,m,k,T,A,P;for(k=u(u(Ai(t.r,e),21),87),h=L3n(t,e),n=t.u.Hc((wl(),vL)),m=k.Kc();m.Ob();)if(d=u(m.Pb(),117),!(!d.c||d.c.d.c.length<=0)){switch(P=d.b.Mf(),T=d.c,A=T.i,A.b=(o=T.n,T.e.a+o.b+o.c),A.a=(s=T.n,T.e.b+s.d+s.a),e.g){case 1:d.a?(A.c=(P.a-A.b)/2,S1(T,(pl(),e2))):h||n?(A.c=-A.b-t.s,S1(T,(pl(),Gf))):(A.c=P.a+t.s,S1(T,(pl(),c0))),A.d=-A.a-t.t,Hd(T,(qu(),Kf));break;case 3:d.a?(A.c=(P.a-A.b)/2,S1(T,(pl(),e2))):h||n?(A.c=-A.b-t.s,S1(T,(pl(),Gf))):(A.c=P.a+t.s,S1(T,(pl(),c0))),A.d=P.b+t.t,Hd(T,(qu(),O1));break;case 2:d.a?(r=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(P.b-r)/2,Hd(T,(qu(),n2))):h||n?(A.d=-A.a-t.t,Hd(T,(qu(),Kf))):(A.d=P.b+t.t,Hd(T,(qu(),O1))),A.c=P.a+t.s,S1(T,(pl(),c0));break;case 4:d.a?(r=t.v?A.a:u(Oe(T.d,0),187).Mf().b,A.d=(P.b-r)/2,Hd(T,(qu(),n2))):h||n?(A.d=-A.a-t.t,Hd(T,(qu(),Kf))):(A.d=P.b+t.t,Hd(T,(qu(),O1))),A.c=-A.b-t.s,S1(T,(pl(),Gf))}h=!1}}function QCn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;if(P=!1,A=!1,z4(u(X(r,(De(),bs)),101))){h=!1,d=!1;t:for(U=new G(r.j);U.a<U.c.c.length;)for($=u(et(U),12),tt=A0(ah(lt(ut(gh,1),Ln,20,0,[new D4($),new k6($)])));Mr(tt);)if(J=u(dr(tt),12),!Ie(Me(X(J.i,PA)))){if($.j==(ve(),Hn)){h=!0;break t}if($.j==Er){d=!0;break t}}P=d&&!h,A=h&&!d}if(!P&&!A&&r.b.c.length!=0){for(T=0,k=new G(r.b);k.a<k.c.c.length;)m=u(et(k),72),T+=m.n.b+m.o.b/2;T/=r.b.c.length,Tt=T>=r.o.b/2}else Tt=!A;Tt?(ht=u(X(r,(oe(),Wk)),15),ht?P?o=ht:(s=u(X(r,Hk),15),s?ht.gc()<=s.gc()?o=ht:o=s:(o=new fe,Zt(r,Hk,o))):(o=new fe,Zt(r,Wk,o))):(s=u(X(r,(oe(),Hk)),15),s?A?o=s:(ht=u(X(r,Wk),15),ht?s.gc()<=ht.gc()?o=s:o=ht:(o=new fe,Zt(r,Wk,o))):(o=new fe,Zt(r,Hk,o))),o.Fc(t),Zt(t,(oe(),AG),n),e.d==n?(xa(e,null),n.e.c.length+n.g.c.length==0&&hc(n,null),fbn(n)):(Xa(e,null),n.e.c.length+n.g.c.length==0&&hc(n,null)),nh(e.a)}function JCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(n.Ug("MinWidth layering",1),$=e.b,Ce=e.a,is=u(X(e,(De(),Z_t)),17).a,d=u(X(e,tAt),17).a,t.b=Rt(Ht(X(e,Yf))),t.d=Zi,Bt=new G(Ce);Bt.a<Bt.c.c.length;)Tt=u(et(Bt),10),Tt.k==(Un(),xs)&&(On=Tt.o.b,t.d=b.Math.min(t.d,On));for(t.d=b.Math.max(1,t.d),rn=Ce.c.length,t.c=Vt(Fr,ii,28,rn,15,1),t.f=Vt(Fr,ii,28,rn,15,1),t.e=Vt(ma,No,28,rn,15,1),k=0,t.a=0,Wt=new G(Ce);Wt.a<Wt.c.c.length;)Tt=u(et(Wt),10),Tt.p=k++,t.c[Tt.p]=vue(ua(Tt)),t.f[Tt.p]=vue(_s(Tt)),t.e[Tt.p]=Tt.o.b/t.d,t.a+=t.e[Tt.p];for(t.b/=t.d,t.a/=rn,se=q5n(Ce),Ds(Ce,$yt(new fUt(t))),J=Zi,U=xi,h=null,Jr=is,er=is,o=d,s=d,is<0&&(Jr=u(QAt.a.Id(),17).a,er=u(QAt.b.Id(),17).a),d<0&&(o=u(XAt.a.Id(),17).a,s=u(XAt.b.Id(),17).a),Dn=Jr;Dn<=er;Dn++)for(r=o;r<=s;r++)Ze=I7n(t,Dn,r,Ce,se),ht=Rt(Ht(Ze.a)),P=u(Ze.b,15),tt=P.gc(),(ht<J||ht==J&&tt<U)&&(J=ht,U=tt,h=P);for(A=h.Kc();A.Ob();){for(T=u(A.Pb(),15),m=new eu(e),At=T.Kc();At.Ob();)Tt=u(At.Pb(),10),Aa(Tt,m);In($.c,m)}IO($),Ce.c.length=0,n.Vg()}function ZCn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(n.Ug("Spline edge routing",1),e.b.c.length==0){e.f.a=0,n.Vg();return}Tt=Rt(Ht(X(e,(De(),X5)))),d=Rt(Ht(X(e,Pw))),h=Rt(Ht(X(e,W5))),ht=u(X(e,s1t),350),rn=ht==(b7(),VA),Ce=Rt(Ht(X(e,U_t))),t.d=e,t.j.c.length=0,t.a.c.length=0,dl(t.k),m=u(Oe(e.b,0),30),T=Z$(m.a,(rV(),fP)),U=u(Oe(e.b,e.b.c.length-1),30),A=Z$(U.a,fP),J=new G(e.b),tt=null,er=0;do{for(At=J.a<J.c.c.length?u(et(J),30):null,OCn(t,tt,At),a7n(t),Ze=arn(npn(Wz(_i(new ln(null,new gn(t.i,16)),new SZ),new _Z))),Dn=0,Bt=er,P=!tt||T&&tt==m,$=!At||A&&At==U,Ze>0?(k=0,tt&&(k+=d),k+=(Ze-1)*h,At&&(k+=d),rn&&At&&(k=b.Math.max(k,mkn(At,h,Tt,Ce))),k<Tt&&!P&&!$&&(Dn=(Tt-k)/2,k=Tt),Bt+=k):!P&&!$&&(Bt+=Tt),At&&Ukt(At,Bt),se=new G(t.i);se.a<se.c.c.length;)Wt=u(et(se),131),Wt.a.c=er,Wt.a.b=Bt-er,Wt.F=Dn,Wt.p=!tt;Hs(t.a,t.i),er=Bt,At&&(er+=At.c.a),tt=At,P=$}while(At);for(s=new G(t.j);s.a<s.c.c.length;)r=u(et(s),18),o=Ugn(t,r),Zt(r,(oe(),K5),o),On=Dkn(t,r),Zt(r,Lw,On);e.f.a=er,t.d=null,n.Vg()}function tSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(t.b=e,t.a=u(X(e,(De(),K_t)),17).a,t.c=u(X(e,Y_t),17).a,t.c==0&&(t.c=xi),tt=new La(e.b,0);tt.b<tt.d.gc();){for(J=(ur(tt.b<tt.d.gc()),u(tt.d.Xb(tt.c=tt.b++),30)),d=new fe,T=-1,Bt=-1,At=new G(J.a);At.a<At.c.c.length;)Tt=u(et(At),10),xg((gI(),new rr(sr(Dg(Tt).a.Kc(),new z))))>=t.a&&(r=N7n(t,Tt),T=b.Math.max(T,r.b),Bt=b.Math.max(Bt,r.d),ge(d,new Ws(Tt,r)));for(rn=new fe,k=0;k<T;++k)Sm(rn,0,(ur(tt.b>0),tt.a.Xb(tt.c=--tt.b),Ze=new eu(t.b),Ly(tt,Ze),ur(tt.b<tt.d.gc()),tt.d.Xb(tt.c=tt.b++),Ze));for(h=new G(d);h.a<h.c.c.length;)if(s=u(et(h),42),$=u(s.b,580).a,!!$)for(P=new G($);P.a<P.c.c.length;)A=u(et(P),10),kxt(t,A,XU,rn);for(n=new fe,m=0;m<Bt;++m)ge(n,(On=new eu(t.b),Ly(tt,On),On));for(o=new G(d);o.a<o.c.c.length;)if(s=u(et(o),42),Ce=u(s.b,580).c,!!Ce)for(se=new G(Ce);se.a<se.c.c.length;)Wt=u(et(se),10),kxt(t,Wt,QU,n)}for(ht=new La(e.b,0);ht.b<ht.d.gc();)U=(ur(ht.b<ht.d.gc()),u(ht.d.Xb(ht.c=ht.b++),30)),U.a.c.length==0&&Kl(ht)}function $pe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(J=t.i!=0,At=!1,ht=null,Hl(t.e)){if(T=e.gc(),T>0){for(P=T<100?null:new xb(T),k=new B4t(e),U=k.g,ht=Vt(Fr,ii,28,T,15,1),r=0,Bt=new $m(T),s=0;s<t.i;++s){d=t.g[s],$=d;t:for(Tt=0;Tt<2;++Tt){for(m=T;--m>=0;)if($!=null?Ti($,U[m]):$t($)===$t(U[m])){ht.length<=r&&(tt=ht,ht=Vt(Fr,ii,28,2*ht.length,15,1),Xc(tt,0,ht,0,r)),ht[r++]=s,Or(Bt,U[m]);break t}if($=$,$t($)===$t(d))break}}if(k=Bt,U=Bt.g,T=r,r>ht.length&&(tt=ht,ht=Vt(Fr,ii,28,r,15,1),Xc(tt,0,ht,0,r)),r>0){for(At=!0,o=0;o<r;++o)$=U[o],P=qZt(t,u($,76),P);for(h=r;--h>=0;)pk(t,ht[h]);if(r!=T){for(s=T;--s>=r;)pk(k,s);tt=ht,ht=Vt(Fr,ii,28,r,15,1),Xc(tt,0,ht,0,r)}e=k}}}else for(e=pvn(t,e),s=t.i;--s>=0;)e.Hc(t.g[s])&&(pk(t,s),At=!0);if(At){if(ht!=null){for(n=e.gc(),A=n==1?zS(t,4,e.Kc().Pb(),null,ht[0],J):zS(t,6,e,ht,ht[0],J),P=n<100?null:new xb(n),s=e.Kc();s.Ob();)$=s.Pb(),P=Svt(t,u($,76),P);P?(P.nj(A),P.oj()):Ei(t.e,A)}else{for(P=xan(e.gc()),s=e.Kc();s.Ob();)$=s.Pb(),P=Svt(t,u($,76),P);P&&P.oj()}return!0}else return!1}function eSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(n=new the(e),n.a||DEn(e),k=_8n(e),m=new Fm,tt=new r0e,J=new G(e.a);J.a<J.c.c.length;)for(U=u(et(J),10),s=new rr(sr(_s(U).a.Kc(),new z));Mr(s);)r=u(dr(s),18),(r.c.i.k==(Un(),Ms)||r.d.i.k==Ms)&&(T=H9n(t,r,k,tt),dn(m,rot(T.d),T.a));for(h=new fe,At=u(X(n.c,(oe(),$g)),21).Kc();At.Ob();){switch(Tt=u(At.Pb(),64),$=tt.c[Tt.g],P=tt.b[Tt.g],d=tt.a[Tt.g],o=null,ht=null,Tt.g){case 4:o=new Ah(t.d.a,$,k.b.a-t.d.a,P-$),ht=new Ah(t.d.a,$,d,P-$),Cm(k,new ae(o.c+o.b,o.d)),Cm(k,new ae(o.c+o.b,o.d+o.a));break;case 2:o=new Ah(k.a.a,$,t.c.a-k.a.a,P-$),ht=new Ah(t.c.a-d,$,d,P-$),Cm(k,new ae(o.c,o.d)),Cm(k,new ae(o.c,o.d+o.a));break;case 1:o=new Ah($,t.d.b,P-$,k.b.b-t.d.b),ht=new Ah($,t.d.b,P-$,d),Cm(k,new ae(o.c,o.d+o.a)),Cm(k,new ae(o.c+o.b,o.d+o.a));break;case 3:o=new Ah($,k.a.b,P-$,t.c.b-k.a.b),ht=new Ah($,t.c.b-d,P-$,d),Cm(k,new ae(o.c,o.d)),Cm(k,new ae(o.c+o.b,o.d))}o&&(A=new TKt,A.d=Tt,A.b=o,A.c=ht,A.a=Zz(u(Ai(m,rot(Tt)),21)),In(h.c,A))}return Hs(n.b,h),n.d=Ibn(r9n(k)),n}function zpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J;if(n.p[e.p]==null){d=!0,n.p[e.p]=0,h=e,J=n.o==(nd(),Fw)?Vs:Zi;do s=t.b.e[h.p],o=h.c.a.c.length,n.o==Fw&&s>0||n.o==yd&&s<o-1?(m=null,k=null,n.o==yd?m=u(Oe(h.c.a,s+1),10):m=u(Oe(h.c.a,s-1),10),k=n.g[m.p],zpe(t,k,n),J=t.e.wg(J,e,h),n.j[e.p]==e&&(n.j[e.p]=n.j[k.p]),n.j[e.p]==n.j[k.p]?(U=U4(t.d,h,m),n.o==yd?(r=Rt(n.p[e.p]),A=Rt(n.p[k.p])+Rt(n.d[m.p])-m.d.d-U-h.d.a-h.o.b-Rt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.min(A,J)):n.p[e.p]=b.Math.min(r,b.Math.min(A,J))):(r=Rt(n.p[e.p]),A=Rt(n.p[k.p])+Rt(n.d[m.p])+m.o.b+m.d.a+U+h.d.d-Rt(n.d[h.p]),d?(d=!1,n.p[e.p]=b.Math.max(A,J)):n.p[e.p]=b.Math.max(r,b.Math.max(A,J)))):(U=Rt(Ht(X(t.a,(De(),Av)))),$=Goe(t,n.j[e.p]),T=Goe(t,n.j[k.p]),n.o==yd?(P=Rt(n.p[e.p])+Rt(n.d[h.p])+h.o.b+h.d.a+U-(Rt(n.p[k.p])+Rt(n.d[m.p])-m.d.d),vre($,T,P)):(P=Rt(n.p[e.p])+Rt(n.d[h.p])-h.d.d-Rt(n.p[k.p])-Rt(n.d[m.p])-m.o.b-m.d.a-U,vre($,T,P)))):J=t.e.wg(J,e,h),h=n.a[h.p];while(h!=e);Onn(t.e,e)}}function nSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;if(n=Rt(Ht(X(t.a.j,(De(),j_t)))),n<-1||!t.a.i||q6(u(X(t.a.o,bs),101))||gc(t.a.o,(ve(),Jn)).gc()<2&&gc(t.a.o,Gn).gc()<2)return!0;if(t.a.c.kg())return!1;for(Wt=0,Bt=0,At=new fe,m=t.a.e,k=0,T=m.length;k<T;++k){for(d=m[k],P=d,$=0,J=P.length;$<J;++$){if(A=P[$],A.k==(Un(),uu)){In(At.c,A);continue}for(r=t.b[A.c.p][A.p],A.k==Ms?(r.b=1,u(X(A,(oe(),Li)),12).j==(ve(),Jn)&&(Bt+=r.a)):(Ze=gc(A,(ve(),Gn)),Ze.dc()||!eit(Ze,new $8)?r.c=1:(s=gc(A,Jn),(s.dc()||!eit(s,new UJ))&&(Wt+=r.a))),h=new rr(sr(_s(A).a.Kc(),new z));Mr(h);)o=u(dr(h),18),Wt+=r.c,Bt+=r.b,rn=o.d.i,W3t(t,r,rn);for(ht=ah(lt(ut(gh,1),Ln,20,0,[gc(A,(ve(),Hn)),gc(A,Er)])),Ce=new rr(new zmt(ht.a.length,ht.a));Mr(Ce);)se=u(dr(Ce),12),Tt=u(X(se,(oe(),ml)),10),Tt&&(Wt+=r.c,Bt+=r.b,W3t(t,r,Tt))}for(U=new G(At);U.a<U.c.c.length;)for(A=u(et(U),10),r=t.b[A.c.p][A.p],h=new rr(sr(_s(A).a.Kc(),new z));Mr(h);)o=u(dr(h),18),Wt+=r.c,Bt+=r.b,rn=o.d.i,W3t(t,r,rn);At.c.length=0}return e=Wt+Bt,tt=e==0?Zi:(Wt-Bt)/e,tt>=n}function rSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;for(At=e,Tt=new Fm,Bt=new Fm,T=jm(At,TTt),r=new une(t,n,Tt,Bt),E4n(r.a,r.b,r.c,r.d,T),m=(Ce=Tt.i,Ce||(Tt.i=new W4(Tt,Tt.c))),Ze=m.Kc();Ze.Ob();)for(rn=u(Ze.Pb(),166),s=u(Ai(Tt,rn),21),J=s.Kc();J.Ob();)if(U=J.Pb(),Wt=u(n5(t.d,U),166),Wt)d=(!rn.e&&(rn.e=new kn(Wi,rn,10,9)),rn.e),Or(d,Wt);else throw h=yg(At,a0),P=tme+U+eme+h,$=P+fT,at(new Rd($));for(k=(se=Bt.i,se||(Bt.i=new W4(Bt,Bt.c))),Dn=k.Kc();Dn.Ob();)for(On=u(Dn.Pb(),166),o=u(Ai(Bt,On),21),ht=o.Kc();ht.Ob();)if(tt=ht.Pb(),Wt=u(n5(t.d,tt),166),Wt)A=(!On.g&&(On.g=new kn(Wi,On,9,10)),On.g),Or(A,Wt);else throw h=yg(At,a0),P=tme+tt+eme+h,$=P+fT,at(new Rd($));!n.b&&(n.b=new kn(vr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new kn(vr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new kn(vr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new kn(vr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a).i==1&&(er=u(Dt((!n.a&&(n.a=new Jt(Wi,n,6,6)),n.a),0),166),!cot(er)&&!uot(er)&&(Vq(er,u(Dt((!n.b&&(n.b=new kn(vr,n,4,7)),n.b),0),84)),Uq(er,u(Dt((!n.c&&(n.c=new kn(vr,n,5,8)),n.c),0),84))))}function iSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(At=t.a,Bt=0,Wt=At.length;Bt<Wt;++Bt){for(Tt=At[Bt],k=xi,T=xi,U=new G(Tt.e);U.a<U.c.c.length;)P=u(et(U),10),h=P.c?Xo(P.c.a,P,0):-1,h>0?(A=u(Oe(P.c.a,h-1),10),rn=U4(t.b,P,A),tt=P.n.b-P.d.d-(A.n.b+A.o.b+A.d.a+rn)):tt=P.n.b-P.d.d,k=b.Math.min(tt,k),h<P.c.a.c.length-1?(A=u(Oe(P.c.a,h+1),10),rn=U4(t.b,P,A),ht=A.n.b-A.d.d-(P.n.b+P.o.b+P.d.a+rn)):ht=2*P.n.b,T=b.Math.min(ht,T);for(m=xi,o=!1,s=u(Oe(Tt.e,0),10),On=new G(s.j);On.a<On.c.c.length;)for(Ze=u(et(On),12),J=s.n.b+Ze.n.b+Ze.a.b,r=new G(Ze.e);r.a<r.c.c.length;)n=u(et(r),18),se=n.c,e=se.i.n.b+se.n.b+se.a.b-J,b.Math.abs(e)<b.Math.abs(m)&&b.Math.abs(e)<(e<0?k:T)&&(m=e,o=!0);for(d=u(Oe(Tt.e,Tt.e.c.length-1),10),Ce=new G(d.j);Ce.a<Ce.c.c.length;)for(se=u(et(Ce),12),J=d.n.b+se.n.b+se.a.b,r=new G(se.g);r.a<r.c.c.length;)n=u(et(r),18),Ze=n.d,e=Ze.i.n.b+Ze.n.b+Ze.a.b-J,b.Math.abs(e)<b.Math.abs(m)&&b.Math.abs(e)<(e<0?k:T)&&(m=e,o=!0);if(o&&m!=0)for($=new G(Tt.e);$.a<$.c.c.length;)P=u(et($),10),P.n.b+=m}}function sSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;if(r=new fe,s=xi,o=xi,h=xi,n)for(s=t.f.a,J=new G(e.j);J.a<J.c.c.length;)for(U=u(et(J),12),m=new G(U.g);m.a<m.c.c.length;)d=u(et(m),18),d.a.b!=0&&(T=u(SE(d.a),8),T.a<s&&(o=s-T.a,h=xi,r.c.length=0,s=T.a),T.a<=s&&(In(r.c,d),d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(jh(d.a,1),8).b-T.b)))));else for(J=new G(e.j);J.a<J.c.c.length;)for(U=u(et(J),12),m=new G(U.e);m.a<m.c.c.length;)d=u(et(m),18),d.a.b!=0&&(P=u(Pf(d.a),8),P.a>s&&(o=P.a-s,h=xi,r.c.length=0,s=P.a),P.a>=s&&(In(r.c,d),d.a.b>1&&(h=b.Math.min(h,b.Math.abs(u(jh(d.a,d.a.b-2),8).b-P.b)))));if(r.c.length!=0&&o>e.o.a/2&&h>e.o.b/2){for($=new Yc,hc($,e),Xs($,(ve(),Hn)),$.n.a=e.o.a/2,ht=new Yc,hc(ht,e),Xs(ht,Er),ht.n.a=e.o.a/2,ht.n.b=e.o.b,m=new G(r);m.a<m.c.c.length;)d=u(et(m),18),n?(k=u(Tit(d.a),8),tt=d.a.b==0?rd(d.d):u(SE(d.a),8),tt.b>=k.b?Xa(d,ht):Xa(d,$)):(k=u(Ycn(d.a),8),tt=d.a.b==0?rd(d.c):u(Pf(d.a),8),tt.b>=k.b?xa(d,ht):xa(d,$)),A=u(X(d,(De(),Vo)),75),A&&Ky(A,k,!0);e.n.a=s-e.o.a/2}}function aSn(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(d=Dr(t.b,0);d.b!=d.d.c;)if(h=u(Ar(d),39),!hn(h.c,nU))for(k=Mxn(h,t),e==(Rs(),Uo)||e==tc?Ds(k,new ttt):Ds(k,new ett),m=k.c.length,r=0;r<m;r++)T=(vn(r,k.c.length),u(k.c[r],65)).c,hn(T.c,"n11"),!(Ie(Me(X(h,(ji(),dLt))))&&!iue((vn(r,k.c.length),u(k.c[r],65)),t))&&(s=m==1?.5:(r+1)/(m+1),e==Uo?(o=Rt(Ht(X(h,P1))),P=h.e.b+h.f.b*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(b.Math.min(o,h.e.a-n),P)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(h.e.a,P))):e==tc?(o=Rt(Ht(X(h,Xf)))+n,P=h.e.b+h.f.b*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(o,P)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(h.e.a+h.f.a,P))):e==Gh?(o=Rt(Ht(X(h,P1))),A=h.e.a+h.f.a*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,b.Math.min(h.e.b-n,o))),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,h.e.b))):(o=Rt(Ht(X(h,Xf)))+n,A=h.e.a+h.f.a*s,j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,o)),j4((vn(r,k.c.length),u(k.c[r],65)).a,new ae(A,h.e.b+h.f.b))))}function JO(t,e,n,r,s,o,h,d,m){var k,T,A,P,$,U,J;switch($=n,T=new Ig(m),y(T,(Un(),Ms)),Zt(T,(oe(),JSt),h),Zt(T,(De(),bs),(ka(),hu)),J=Rt(Ht(t.of(D3))),Zt(T,D3,J),A=new Yc,hc(A,T),e!=Td&&e!=d2||(r>=0?$=hk(d):$=bO(hk(d)),t.qf(NT,$)),k=new Sa,P=!1,t.pf(Sv)?(Xmt(k,u(t.of(Sv),8)),P=!0):bsn(k,h.a/2,h.b/2),$.g){case 4:Zt(T,Iu,(Rh(),s2)),Zt(T,DG,(ow(),z5)),T.o.b=h.b,J<0&&(T.o.a=-J),Xs(A,(ve(),Jn)),P||(k.a=h.a),k.a-=h.a;break;case 2:Zt(T,Iu,(Rh(),S3)),Zt(T,DG,(ow(),_T)),T.o.b=h.b,J<0&&(T.o.a=-J),Xs(A,(ve(),Gn)),P||(k.a=0);break;case 1:Zt(T,Aw,(Cg(),H5)),T.o.a=h.a,J<0&&(T.o.b=-J),Xs(A,(ve(),Er)),P||(k.b=h.b),k.b-=h.b;break;case 3:Zt(T,Aw,(Cg(),qk)),T.o.a=h.a,J<0&&(T.o.b=-J),Xs(A,(ve(),Hn)),P||(k.b=0)}if(Xmt(A.n,k),Zt(T,Sv,k),e==zw||e==Y0||e==hu){if(U=0,e==zw&&t.pf(Vp))switch($.g){case 1:case 2:U=u(t.of(Vp),17).a;break;case 3:case 4:U=-u(t.of(Vp),17).a}else switch($.g){case 4:case 2:U=o.b,e==Y0&&(U/=s.b);break;case 1:case 3:U=o.a,e==Y0&&(U/=s.a)}Zt(T,xv,U)}return Zt(T,Dc,$),T}function oSn(){xwt();function t(r){var s=this;this.dispatch=function(o){var h=o.data;switch(h.cmd){case"algorithms":var d=q5t((mn(),new Ta(new si(b2.b))));r.postMessage({id:h.id,data:d});break;case"categories":var m=q5t((mn(),new Ta(new si(b2.c))));r.postMessage({id:h.id,data:m});break;case"options":var k=q5t((mn(),new Ta(new si(b2.d))));r.postMessage({id:h.id,data:k});break;case"register":l9n(h.algorithms),r.postMessage({id:h.id});break;case"layout":j7n(h.graph,h.layoutOptions||{},h.options||{}),r.postMessage({id:h.id,data:h.graph});break}},this.saveDispatch=function(o){try{s.dispatch(o)}catch(h){r.postMessage({id:o.data.id,error:h})}}}function e(r){var s=this;this.dispatcher=new t({postMessage:function(o){s.onmessage({data:o})}}),this.postMessage=function(o){setTimeout(function(){s.dispatcher.saveDispatch({data:o})},0)}}if(typeof document===but&&typeof self!==but){var n=new t(self);self.onmessage=n.saveDispatch}else typeof g!==but&&g.exports&&(Object.defineProperty(w,"__esModule",{value:!0}),g.exports={default:e,Worker:e})}function qpe(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(T=new Ig(n),Qo(T,e),Zt(T,(oe(),Li),e),T.o.a=e.g,T.o.b=e.f,T.n.a=e.i,T.n.b=e.j,ge(n.a,T),hi(t.a,e,T),((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i!=0||Ie(Me(ne(e,(De(),L3)))))&&Zt(T,YSt,(Pn(),!0)),k=u(X(n,lu),21),A=u(X(T,(De(),bs)),101),A==(ka(),d2)?Zt(T,bs,Td):A!=Td&&k.Fc((Co(),DT)),P=0,r=u(X(n,ph),88),m=new Zn((!e.c&&(e.c=new Jt(kl,e,9,9)),e.c));m.e!=m.i.gc();)d=u(ar(m),123),s=Ji(e),($t(ne(s,U0))!==$t((Wd(),Up))||$t(ne(s,Dw))===$t((Ip(),ST))||$t(ne(s,Dw))===$t((Ip(),CT))||Ie(Me(ne(s,Ev)))||$t(ne(s,_3))!==$t((lw(),x3))||$t(ne(s,a2))===$t((cf(),Lv))||$t(ne(s,a2))===$t((cf(),N3))||$t(ne(s,Iw))===$t((Bp(),RT))||$t(ne(s,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(e,BG)))&&Mi(d,Pi,he(P++)),Ie(Me(ne(d,Nw)))||wCn(t,d,T,k,r,A);for(h=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));h.e!=h.i.gc();)o=u(ar(h),135),!Ie(Me(ne(o,Nw)))&&o.a&&ge(T.b,Pat(o));return Ie(Me(X(T,PA)))&&k.Fc((Co(),CG)),Ie(Me(X(T,zG)))&&(k.Fc((Co(),SG)),k.Fc(LA),Zt(T,bs,Td)),T}function Mct(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(J=0,On=0,k=new G(t.b);k.a<k.c.c.length;)m=u(et(k),163),m.c&&wpe(m.c),J=b.Math.max(J,tl(m)),On+=tl(m)*Gl(m);for(tt=On/t.b.c.length,Ze=cyn(t.b,tt),On+=t.b.c.length*Ze,J=b.Math.max(J,b.Math.sqrt(On*h))+n.b,Jr=n.b,is=n.d,$=0,A=n.b+n.c,rn=new Ki,Zr(rn,he(0)),se=new Ki,T=new La(t.b,0),U=null,d=new fe;T.b<T.d.gc();)m=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),163)),er=tl(m),P=Gl(m),Jr+er>J&&(o&&(ro(se,$),ro(rn,he(T.b-1)),ge(t.d,U),d.c.length=0),Jr=n.b,is+=$+e,$=0,A=b.Math.max(A,n.b+n.c+er)),In(d.c,m),Gle(m,Jr,is),A=b.Math.max(A,Jr+er+n.c),$=b.Math.max($,P),Jr+=er+e,U=m;if(Hs(t.a,d),ge(t.d,u(Oe(d,d.c.length-1),163)),A=b.Math.max(A,r),Dn=is+$+n.a,Dn<s&&($+=s-Dn,Dn=s),o)for(Jr=n.b,T=new La(t.b,0),ro(rn,he(t.b.c.length)),Ce=Dr(rn,0),Tt=u(Ar(Ce),17).a,ro(se,$),Wt=Dr(se,0),Bt=0;T.b<T.d.gc();)T.b==Tt&&(Jr=n.b,Bt=Rt(Ht(Ar(Wt))),Tt=u(Ar(Ce),17).a),m=(ur(T.b<T.d.gc()),u(T.d.Xb(T.c=T.b++),163)),Tle(m,Bt),T.b==Tt&&(ht=A-Jr-n.c,At=tl(m),Cle(m,ht),Que(m,(ht-At)/2,0)),Jr+=tl(m)+e;return new ae(A,Dn)}function cSn(t){t.N||(t.N=!0,t.b=Tc(t,0),fs(t.b,0),fs(t.b,1),fs(t.b,2),t.bb=Tc(t,1),fs(t.bb,0),fs(t.bb,1),t.fb=Tc(t,2),fs(t.fb,3),fs(t.fb,4),Vi(t.fb,5),t.qb=Tc(t,3),fs(t.qb,0),Vi(t.qb,1),Vi(t.qb,2),fs(t.qb,3),fs(t.qb,4),Vi(t.qb,5),fs(t.qb,6),t.a=di(t,4),t.c=di(t,5),t.d=di(t,6),t.e=di(t,7),t.f=di(t,8),t.g=di(t,9),t.i=di(t,10),t.j=di(t,11),t.k=di(t,12),t.n=di(t,13),t.o=di(t,14),t.p=di(t,15),t.q=di(t,16),t.s=di(t,17),t.r=di(t,18),t.t=di(t,19),t.u=di(t,20),t.v=di(t,21),t.w=di(t,22),t.B=di(t,23),t.A=di(t,24),t.C=di(t,25),t.D=di(t,26),t.F=di(t,27),t.G=di(t,28),t.H=di(t,29),t.J=di(t,30),t.I=di(t,31),t.K=di(t,32),t.M=di(t,33),t.L=di(t,34),t.P=di(t,35),t.Q=di(t,36),t.R=di(t,37),t.S=di(t,38),t.T=di(t,39),t.U=di(t,40),t.V=di(t,41),t.X=di(t,42),t.W=di(t,43),t.Y=di(t,44),t.Z=di(t,45),t.$=di(t,46),t._=di(t,47),t.ab=di(t,48),t.cb=di(t,49),t.db=di(t,50),t.eb=di(t,51),t.gb=di(t,52),t.hb=di(t,53),t.ib=di(t,54),t.jb=di(t,55),t.kb=di(t,56),t.lb=di(t,57),t.mb=di(t,58),t.nb=di(t,59),t.ob=di(t,60),t.pb=di(t,61))}function uSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(Tt=0,e.f.a==0)for(tt=new G(t);tt.a<tt.c.c.length;)U=u(et(tt),10),Tt=b.Math.max(Tt,U.n.a+U.o.a+U.d.c);else Tt=e.f.a-e.c.a;for(Tt-=e.c.a,J=new G(t);J.a<J.c.c.length;){switch(U=u(et(J),10),qC(U.n,Tt-U.o.a),Kvt(U.f),Ehe(U),(U.q?U.q:(mn(),mn(),q0))._b((De(),I3))&&qC(u(X(U,I3),8),Tt-U.o.a),u(X(U,u0),255).g){case 1:Zt(U,u0,(I0(),TP));break;case 2:Zt(U,u0,(I0(),EP))}for(ht=U.o,Bt=new G(U.j);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),12),qC(At.n,ht.a-At.o.a),qC(At.a,At.o.a),Xs(At,sce(At.j)),h=u(X(At,Vp),17),h&&Zt(At,Vp,he(-h.a)),o=new G(At.g);o.a<o.c.c.length;){for(s=u(et(o),18),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),n.a=Tt-n.a;if(k=u(X(s,Vo),75),k)for(m=Dr(k,0);m.b!=m.d.c;)d=u(Ar(m),8),d.a=Tt-d.a;for(P=new G(s.b);P.a<P.c.c.length;)T=u(et(P),72),qC(T.n,Tt-T.o.a)}for($=new G(At.f);$.a<$.c.c.length;)T=u(et($),72),qC(T.n,At.o.a-T.o.a)}for(U.k==(Un(),Ms)&&(Zt(U,(oe(),Dc),sce(u(X(U,Dc),64))),X3n(U)),A=new G(U.b);A.a<A.c.c.length;)T=u(et(A),72),Ehe(T),qC(T.n,ht.a-T.o.a)}}function lSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;if(Tt=0,e.f.b==0)for(tt=new G(t);tt.a<tt.c.c.length;)U=u(et(tt),10),Tt=b.Math.max(Tt,U.n.b+U.o.b+U.d.a);else Tt=e.f.b-e.c.b;for(Tt-=e.c.b,J=new G(t);J.a<J.c.c.length;){switch(U=u(et(J),10),zC(U.n,Tt-U.o.b),Wvt(U.f),The(U),(U.q?U.q:(mn(),mn(),q0))._b((De(),I3))&&zC(u(X(U,I3),8),Tt-U.o.b),u(X(U,u0),255).g){case 3:Zt(U,u0,(I0(),CK));break;case 4:Zt(U,u0,(I0(),_K))}for(ht=U.o,Bt=new G(U.j);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),12),zC(At.n,ht.b-At.o.b),zC(At.a,At.o.b),Xs(At,ace(At.j)),h=u(X(At,Vp),17),h&&Zt(At,Vp,he(-h.a)),o=new G(At.g);o.a<o.c.c.length;){for(s=u(et(o),18),r=Dr(s.a,0);r.b!=r.d.c;)n=u(Ar(r),8),n.b=Tt-n.b;if(k=u(X(s,Vo),75),k)for(m=Dr(k,0);m.b!=m.d.c;)d=u(Ar(m),8),d.b=Tt-d.b;for(P=new G(s.b);P.a<P.c.c.length;)T=u(et(P),72),zC(T.n,Tt-T.o.b)}for($=new G(At.f);$.a<$.c.c.length;)T=u(et($),72),zC(T.n,At.o.b-T.o.b)}for(U.k==(Un(),Ms)&&(Zt(U,(oe(),Dc),ace(u(X(U,Dc),64))),h2n(U)),A=new G(U.b);A.a<A.c.c.length;)T=u(et(A),72),The(T),zC(T.n,ht.b-T.o.b)}}function hSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;for(Tt=new La(t.b,0),T=e.Kc(),U=0,k=u(T.Pb(),17).a,Wt=0,n=new Os,Ce=new zd;Tt.b<Tt.d.gc();){for(ht=(ur(Tt.b<Tt.d.gc()),u(Tt.d.Xb(Tt.c=Tt.b++),30)),Bt=new G(ht.a);Bt.a<Bt.c.c.length;){for(At=u(et(Bt),10),$=new rr(sr(_s(At).a.Kc(),new z));Mr($);)A=u(dr($),18),Ce.a.zc(A,Ce);for(P=new rr(sr(ua(At).a.Kc(),new z));Mr(P);)A=u(dr(P),18),Ce.a.Bc(A)!=null}if(U+1==k){for(s=new eu(t),Ly(Tt,s),o=new eu(t),Ly(Tt,o),Ze=Ce.a.ec().Kc();Ze.Ob();)rn=u(Ze.Pb(),18),n.a._b(rn)||(++Wt,n.a.zc(rn,n)),h=new Ig(t),Zt(h,(De(),bs),(ka(),YT)),Aa(h,s),y(h,(Un(),md)),J=new Yc,hc(J,h),Xs(J,(ve(),Gn)),On=new Yc,hc(On,h),Xs(On,Jn),r=new Ig(t),Zt(r,bs,YT),Aa(r,o),y(r,md),tt=new Yc,hc(tt,r),Xs(tt,Gn),Dn=new Yc,hc(Dn,r),Xs(Dn,Jn),se=new Pm,Xa(se,rn.c),xa(se,J),Zt(se,(oe(),Pi),u(X(rn,Pi),17)),Jr=new Pm,Xa(Jr,On),xa(Jr,tt),Zt(Jr,Pi,u(X(rn,Pi),17)),Xa(rn,Dn),d=new y3t(h,r,se,Jr,rn),Zt(h,vv,d),Zt(r,vv,d),er=se.c.i,er.k==md&&(m=u(X(er,vv),313),m.d=d,d.g=m);if(T.Ob())k=u(T.Pb(),17).a;else break}++U}return he(Wt)}function fSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(J=new fe,P=new G(t.d.b);P.a<P.c.c.length;)for(A=u(et(P),30),U=new G(A.a);U.a<U.c.c.length;){for($=u(et(U),10),s=u(tr(t.f,$),60),m=new rr(sr(_s($).a.Kc(),new z));Mr(m);)if(h=u(dr(m),18),r=Dr(h.a,0),k=!0,T=null,r.b!=r.d.c){for(e=u(Ar(r),8),n=null,h.c.j==(ve(),Hn)&&(tt=new P_(e,new ae(e.a,s.d.d),s,h),tt.f.a=!0,tt.a=h.c,In(J.c,tt)),h.c.j==Er&&(tt=new P_(e,new ae(e.a,s.d.d+s.d.a),s,h),tt.f.d=!0,tt.a=h.c,In(J.c,tt));r.b!=r.d.c;)n=u(Ar(r),8),u4t(e.b,n.b)||(T=new P_(e,n,null,h),In(J.c,T),k&&(k=!1,n.b<s.d.d?T.f.a=!0:n.b>s.d.d+s.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))),r.b!=r.d.c&&(e=n);T&&(o=u(tr(t.f,h.d.i),60),e.b<o.d.d?T.f.a=!0:e.b>o.d.d+o.d.a?T.f.d=!0:(T.f.d=!0,T.f.a=!0))}for(d=new rr(sr(ua($).a.Kc(),new z));Mr(d);)h=u(dr(d),18),h.a.b!=0&&(e=u(Pf(h.a),8),h.d.j==(ve(),Hn)&&(tt=new P_(e,new ae(e.a,s.d.d),s,h),tt.f.a=!0,tt.a=h.d,In(J.c,tt)),h.d.j==Er&&(tt=new P_(e,new ae(e.a,s.d.d+s.d.a),s,h),tt.f.d=!0,tt.a=h.d,In(J.c,tt)))}return J}function dSn(t,e,n){var r,s,o,h,d,m,k,T,A,P;for(m=new fe,A=e.length,h=Z4t(n),k=0;k<A;++k){switch(T=qmt(e,Hu(61),k),r=u2n(h,(Da(k,T,e.length),e.substr(k,T-k))),s=bat(r),o=s.jk().wi(),Va(e,++T)){case 39:{d=TE(e,39,++T),ge(m,new X$(r,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s))),k=d+1;break}case 34:{d=TE(e,34,++T),ge(m,new X$(r,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s))),k=d+1;break}case 91:{P=new fe,ge(m,new X$(r,P));t:for(;;){switch(Va(e,++T)){case 39:{d=TE(e,39,++T),ge(P,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s)),T=d+1;break}case 34:{d=TE(e,34,++T),ge(P,nst((Da(T,d,e.length),e.substr(T,d-T)),o,s)),T=d+1;break}case 110:{if(++T,e.indexOf("ull",T)==T)P.c.push(null);else throw at(new uc(Uwe));T+=3;break}}if(T<A)switch(qn(T,e.length),e.charCodeAt(T)){case 44:break;case 93:break t;default:throw at(new uc("Expecting , or ]"))}else break}k=T+1;break}case 110:{if(++T,e.indexOf("ull",T)==T)ge(m,new X$(r,null));else throw at(new uc(Uwe));k=T+3;break}}if(k<A){if(qn(k,e.length),e.charCodeAt(k)!=44)throw at(new uc("Expecting ,"))}else break}return Xkn(t,m,n)}function gSn(t){var e,n,r,s,o;switch(e=t.c,o=null,e){case 6:return t.Em();case 13:return t.Fm();case 23:return t.wm();case 22:return t.Bm();case 18:return t.ym();case 8:wi(t),o=(yi(),uOt);break;case 9:return t.em(!0);case 19:return t.fm();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return o=t.dm(t.a),wi(t),o;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=t.cm(),n<po?o=(yi(),yi(),new _0(0,n)):o=eee(I5t(n));break;case 99:return t.om();case 67:return t.jm();case 105:return t.rm();case 73:return t.km();case 103:return t.pm();case 88:return t.lm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.gm();case 80:case 112:if(o=M6t(t,t.a),!o)throw at(new Yr(Qr((Ur(),rht))));break;default:o=gte(t.a)}wi(t);break;case 0:if(t.a==93||t.a==123||t.a==125)throw at(new Yr(Qr((Ur(),OTt))));o=gte(t.a),r=t.a,wi(t),(r&64512)==cN&&t.c==0&&(t.a&64512)==56320&&(s=Vt(Yh,Zd,28,2,15,1),s[0]=r&js,s[1]=t.a&js,o=Rit(eee(af(s,0,s.length)),0),wi(t));break;default:throw at(new Yr(Qr((Ur(),OTt))))}return o}function pSn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(Ze=new Ki,se=new Ki,tt=-1,m=new G(t);m.a<m.c.c.length;){for(h=u(et(m),131),h.s=tt--,T=0,At=0,o=new G(h.t);o.a<o.c.c.length;)r=u(et(o),274),At+=r.c;for(s=new G(h.i);s.a<s.c.c.length;)r=u(et(s),274),T+=r.c;h.n=T,h.u=At,At==0?hs(se,h,se.c.b,se.c):T==0&&hs(Ze,h,Ze.c.b,Ze.c)}for(Dn=gq(t),A=t.c.length,J=A+1,ht=A-1,$=new fe;Dn.a.gc()!=0;){for(;se.b!=0;)Wt=(ur(se.b!=0),u(Oh(se,se.a.a),131)),Dn.a.Bc(Wt)!=null,Wt.s=ht--,X6t(Wt,Ze,se);for(;Ze.b!=0;)Ce=(ur(Ze.b!=0),u(Oh(Ze,Ze.a.a),131)),Dn.a.Bc(Ce)!=null,Ce.s=J++,X6t(Ce,Ze,se);for(U=Ga,k=Dn.a.ec().Kc();k.Ob();)h=u(k.Pb(),131),Tt=h.u-h.n,Tt>=U&&(Tt>U&&($.c.length=0,U=Tt),In($.c,h));$.c.length!=0&&(P=u(Oe($,MH(e,$.c.length)),131),Dn.a.Bc(P)!=null,P.s=J++,X6t(P,Ze,se),$.c.length=0)}for(Bt=t.c.length+1,d=new G(t);d.a<d.c.c.length;)h=u(et(d),131),h.s<A&&(h.s+=Bt);for(rn=new G(t);rn.a<rn.c.c.length;)for(Ce=u(et(rn),131),n=new La(Ce.t,0);n.b<n.d.gc();)r=(ur(n.b<n.d.gc()),u(n.d.Xb(n.c=n.b++),274)),On=r.b,Ce.s>On.s&&(Kl(n),zu(On.i,r),r.c>0&&(r.a=On,ge(On.t,r),r.b=Ce,ge(Ce.i,r)))}function Hpe(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn;for(J=new wu(e.b),Bt=new wu(e.b),P=new wu(e.b),rn=new wu(e.b),tt=new wu(e.b),Ce=Dr(e,0);Ce.b!=Ce.d.c;)for(Wt=u(Ar(Ce),12),d=new G(Wt.g);d.a<d.c.c.length;)if(o=u(et(d),18),o.c.i==o.d.i){if(Wt.j==o.d.j){In(rn.c,o);continue}else if(Wt.j==(ve(),Hn)&&o.d.j==Er){In(tt.c,o);continue}}for(m=new G(tt);m.a<m.c.c.length;)o=u(et(m),18),zEn(t,o,n,r,(ve(),Jn));for(h=new G(rn);h.a<h.c.c.length;)o=u(et(h),18),Ze=new Ig(t),y(Ze,(Un(),uu)),Zt(Ze,(De(),bs),(ka(),hu)),Zt(Ze,(oe(),Li),o),On=new Yc,Zt(On,Li,o.d),Xs(On,(ve(),Gn)),hc(On,Ze),Dn=new Yc,Zt(Dn,Li,o.c),Xs(Dn,Jn),hc(Dn,Ze),Zt(o.c,ml,Ze),Zt(o.d,ml,Ze),Xa(o,null),xa(o,null),In(n.c,Ze),Zt(Ze,LG,he(2));for(se=Dr(e,0);se.b!=se.d.c;)Wt=u(Ar(se),12),k=Wt.e.c.length>0,ht=Wt.g.c.length>0,k&&ht?In(P.c,Wt):k?In(J.c,Wt):ht&&In(Bt.c,Wt);for(U=new G(J);U.a<U.c.c.length;)$=u(et(U),12),ge(s,jkt(t,$,null,n));for(At=new G(Bt);At.a<At.c.c.length;)Tt=u(et(At),12),ge(s,jkt(t,null,Tt,n));for(A=new G(P);A.a<A.c.c.length;)T=u(et(A),12),ge(s,jkt(t,T,T,n))}function r8t(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(P=Zi,$=Zi,T=0,A=0,m=new fe,d=new Zn((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b));d.e!=d.i.gc();)o=u(ar(d),74),m=ah(lt(ut(gh,1),Ln,20,0,[m,(!o.n&&(o.n=new Jt(Po,o,1,7)),o.n)]));for(At=A0(ah(lt(ut(gh,1),Ln,20,0,[(!t.n&&(t.n=new Jt(Po,t,1,7)),t.n),(!t.a&&(t.a=new Jt(bi,t,10,11)),t.a),m])));Mr(At);)Tt=u(dr(At),422),k=u(Tt.of((ai(),UT)),140),P>Tt.nh()-k.b&&(P=Tt.nh()-k.b),$>Tt.oh()-k.d&&($=Tt.oh()-k.d),T<Tt.nh()+Tt.mh()+k.c&&(T=Tt.nh()+Tt.mh()+k.c),A<Tt.oh()+Tt.lh()+k.a&&(A=Tt.oh()+Tt.lh()+k.a);for(h=new Zn((!t.b&&(t.b=new Jt(Ts,t,12,3)),t.b));h.e!=h.i.gc();)for(o=u(ar(h),74),ht=new Zn((!o.a&&(o.a=new Jt(Wi,o,6,6)),o.a));ht.e!=ht.i.gc();)for(tt=u(ar(ht),166),U=tt.j,r=tt.b,J=tt.k,s=tt.c,P=b.Math.min(P,U),P=b.Math.min(P,r),T=b.Math.max(T,U),T=b.Math.max(T,r),$=b.Math.min($,J),$=b.Math.min($,s),A=b.Math.max(A,J),A=b.Math.max(A,s),n=new Zn((!tt.a&&(tt.a=new Ps(vh,tt,5)),tt.a));n.e!=n.i.gc();)e=u(ar(n),377),P=b.Math.min(P,e.a),T=b.Math.max(T,e.a),$=b.Math.min($,e.b),A=b.Math.max(A,e.b);Mi(t,(ai(),ox),T-P),Mi(t,ax,A-$)}function bSn(t,e,n){var r,s,o,h,d,m,k,T,A;if(n.Ug("Network simplex node placement",1),t.e=e,t.n=u(X(e,(oe(),G5)),312),LTn(t),Kyn(t),ms(fc(new ln(null,new gn(t.e.b,16)),new JJ),new OUt(t)),ms(_i(fc(_i(fc(new ln(null,new gn(t.e.b,16)),new uZ),new kR),new lZ),new cC),new IUt(t)),Ie(Me(X(t.e,(De(),BA))))&&(h=n.eh(1),h.Ug("Straight Edges Pre-Processing",1),Q9n(t),h.Vg()),Amn(t.f),o=u(X(e,$A),17).a*t.f.a.c.length,uct(pwt(bwt(mit(t.f),o),!1),n.eh(1)),t.d.a.gc()!=0){for(h=n.eh(1),h.Ug("Flexible Where Space Processing",1),d=u(Vl(G6(Wo(new ln(null,new gn(t.f.a,16)),new ZJ),new GJ)),17).a,m=u(Vl(My(Wo(new ln(null,new gn(t.f.a,16)),new tZ),new KJ)),17).a,k=m-d,T=km(new H2,t.f),A=km(new H2,t.f),Hf(Of(If(Mf(Nf(new tf,2e4),k),T),A)),ms(_i(_i(xyt(t.i),new eZ),new nZ),new rne(d,T,k,A)),s=t.d.a.ec().Kc();s.Ob();)r=u(s.Pb(),218),r.g=1;uct(pwt(bwt(mit(t.f),o),!1),h.eh(1)),h.Vg()}Ie(Me(X(e,BA)))&&(h=n.eh(1),h.Ug("Straight Edges Post-Processing",1),R4n(t),h.Vg()),N9n(t),t.e=null,t.f=null,t.i=null,t.c=null,dl(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),n.Vg()}function wSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;for(n.Ug("Depth first model order layering",1),t.d=e,tt=new fe,J=new G(t.d.a);J.a<J.c.c.length;)$=u(et(J),10),$.k==(Un(),xs)&&In(tt.c,$);for(mn(),Ds(tt,new $J),h=!0,t.b=new eu(t.d),t.a=null,ge(t.d.b,t.b),t.b.p=0,t.c=0,t.f=new Ki,U=new G(tt);U.a<U.c.c.length;)if($=u(et(U),10),h)Aa($,t.b),h=!1;else if(M7n(t,$))if(P=t.c,P=Qle(P,$),r=P+2,T=P-t.c,t.f.b==0)lkt(t,r,$);else if(T>0){for(At=Dr(t.f,0);At.b!=At.d.c;)Tt=u(Ar(At),10),Tt.p+=P-t.e;b6t(t),nh(t.f),lkt(t,r,$)}else{for(Zr(t.f,$),$.p=r,t.e=b.Math.max(t.e,r),o=new rr(sr(ua($).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!s.c.i.c&&s.c.i.k==(Un(),Vc)&&(Zr(t.f,s.c.i),s.c.i.p=r-1);t.c=r}else b6t(t),nh(t.f),r=0,Mr(new rr(sr(ua($).a.Kc(),new z)))?(P=0,P=Qle(P,$),r=P+2,lkt(t,r,$)):(Zr(t.f,$),$.p=0,t.e=b.Math.max(t.e,0),t.b=u(Oe(t.d.b,0),30),t.c=0);for(t.f.b==0||b6t(t),t.d.a.c.length=0,ht=new fe,k=new G(t.d.b);k.a<k.c.c.length;)d=u(et(k),30),d.a.c.length==0&&In(ht.c,d);for(_5t(t.d.b,ht),A=0,m=new G(t.d.b);m.a<m.c.c.length;)d=u(et(m),30),d.p=A,++A;n.Vg()}function mSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go;if(On=null,er=e,Dn=Tie(t,gie(n),er),n7(Dn,yg(er,a0)),Jr=u(n5(t.g,mk(vg(er,Ult))),27),P=vg(er,"sourcePort"),r=null,P&&(r=mk(P)),is=u(n5(t.j,r),123),!Jr)throw d=T7(er),U="An edge must have a source node (edge id: '"+d,J=U+fT,at(new Rd(J));if(is&&!Ud(ed(is),Jr))throw m=yg(er,a0),tt="The source port of an edge must be a port of the edge's source node (edge id: '"+m,ht=tt+fT,at(new Rd(ht));if(rn=(!Dn.b&&(Dn.b=new kn(vr,Dn,4,7)),Dn.b),o=null,is?o=is:o=Jr,Or(rn,o),El=u(n5(t.g,mk(vg(er,MTt))),27),$=vg(er,"targetPort"),s=null,$&&(s=mk($)),Go=u(n5(t.j,s),123),!El)throw A=T7(er),Tt="An edge must have a target node (edge id: '"+A,At=Tt+fT,at(new Rd(At));if(Go&&!Ud(ed(Go),El))throw k=yg(er,a0),Bt="The target port of an edge must be a port of the edge's target node (edge id: '"+k,Wt=Bt+fT,at(new Rd(Wt));if(Ze=(!Dn.c&&(Dn.c=new kn(vr,Dn,5,8)),Dn.c),h=null,Go?h=Go:h=El,Or(Ze,h),(!Dn.b&&(Dn.b=new kn(vr,Dn,4,7)),Dn.b).i==0||(!Dn.c&&(Dn.c=new kn(vr,Dn,5,8)),Dn.c).i==0)throw T=yg(er,a0),se=Zwe+T,Ce=se+fT,at(new Rd(Ce));return qH(er,Dn),Hxn(er,Dn),On=xat(t,er,Dn),On}function Vpe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for($=u(X(t,(Pb(),$k)),27),At=xi,Bt=xi,ht=Ga,Tt=Ga,se=new G(t.e);se.a<se.c.c.length;)Wt=u(et(se),153),Dn=Wt.d,er=Wt.e,At=b.Math.min(At,Dn.a-er.a/2),Bt=b.Math.min(Bt,Dn.b-er.b/2),ht=b.Math.max(ht,Dn.a+er.a/2),Tt=b.Math.max(Tt,Dn.b+er.b/2);for(n=new G(t.b);n.a<n.c.c.length;)e=u(et(n),250),Dn=e.d,er=e.e,At=b.Math.min(At,Dn.a-er.a/2),Bt=b.Math.min(Bt,Dn.b-er.b/2),ht=b.Math.max(ht,Dn.a+er.a/2),Tt=b.Math.max(Tt,Dn.b+er.b/2);for(On=u(ne($,(Vf(),I3e)),107),Ze=new ae(On.b-At,On.d-Bt),k=new G(t.e);k.a<k.c.c.length;)m=u(et(k),153),rn=X(m,$k),Lt(rn,207)&&(J=u(rn,27),Ce=ki(new io(m.d),Ze),Ch(J,Ce.a-J.g/2,Ce.b-J.f/2));for(o=new G(t.c);o.a<o.c.c.length;)s=u(et(o),289),A=u(X(s,$k),74),P=b5(A,!0,!0),Jr=new io(p4t(s)),ki(Jr,Ze),rI(P,Jr.a,Jr.b),Cu(s.a,new aXt(Ze,P)),r=new io(b4t(s)),ki(r,Ze),nI(P,r.a,r.b);for(d=new G(t.d);d.a<d.c.c.length;)h=u(et(d),453),U=u(X(h,$k),135),tt=ki(new io(h.d),Ze),Ch(U,tt.a,tt.b);is=ht-At+(On.b+On.c),T=Tt-Bt+(On.d+On.a),Ie(Me(ne($,(ai(),R3))))||rv($,is,T,!1,!0),Mi($,ox,is-(On.b+On.c)),Mi($,ax,T-(On.d+On.a))}function Upe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;return A=c7n(ju(t,(ve(),Cd)),e),U=l5(ju(t,e1),e),Bt=l5(ju(t,wh),e),rn=FH(ju(t,wf),e),P=FH(ju(t,Kh),e),Tt=l5(ju(t,n1),e),J=l5(ju(t,yl),e),se=l5(ju(t,mh),e),Wt=l5(ju(t,Wh),e),Ze=FH(ju(t,Ou),e),ht=l5(ju(t,Gu),e),At=l5(ju(t,xl),e),Ce=l5(ju(t,Uu),e),On=FH(ju(t,Ku),e),$=FH(ju(t,cl),e),tt=l5(ju(t,fu),e),n=e5(lt(ut(ma,1),No,28,15,[Tt.a,rn.a,se.a,On.a])),r=e5(lt(ut(ma,1),No,28,15,[U.a,A.a,Bt.a,tt.a])),s=ht.a,o=e5(lt(ut(ma,1),No,28,15,[J.a,P.a,Wt.a,$.a])),k=e5(lt(ut(ma,1),No,28,15,[Tt.b,U.b,J.b,At.b])),m=e5(lt(ut(ma,1),No,28,15,[rn.b,A.b,P.b,tt.b])),T=Ze.b,d=e5(lt(ut(ma,1),No,28,15,[se.b,Bt.b,Wt.b,Ce.b])),Tp(ju(t,Cd),n+s,k+T),Tp(ju(t,fu),n+s,k+T),Tp(ju(t,e1),n+s,0),Tp(ju(t,wh),n+s,k+T+m),Tp(ju(t,wf),0,k+T),Tp(ju(t,Kh),n+s+r,k+T),Tp(ju(t,yl),n+s+r,0),Tp(ju(t,mh),0,k+T+m),Tp(ju(t,Wh),n+s+r,k+T+m),Tp(ju(t,Ou),0,k),Tp(ju(t,Gu),n,0),Tp(ju(t,Uu),0,k+T+m),Tp(ju(t,cl),n+s+r,0),h=new Sa,h.a=e5(lt(ut(ma,1),No,28,15,[n+r+s+o,Ze.a,At.a,Ce.a])),h.b=e5(lt(ut(ma,1),No,28,15,[k+m+T+d,ht.b,On.b,$.b])),h}function Gpe(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(Tt=new ae(Zi,Zi),e=new ae(Vs,Vs),rn=new G(t);rn.a<rn.c.c.length;)Ce=u(et(rn),8),Tt.a=b.Math.min(Tt.a,Ce.a),Tt.b=b.Math.min(Tt.b,Ce.b),e.a=b.Math.max(e.a,Ce.a),e.b=b.Math.max(e.b,Ce.b);for(P=new ae(e.a-Tt.a,e.b-Tt.b),k=new ae(Tt.a-50,Tt.b-P.a-50),T=new ae(Tt.a-50,e.b+P.a+50),A=new ae(e.a+P.b/2+50,Tt.b+P.b/2),$=new Bkt(k,T,A),se=new Os,o=new fe,n=new fe,se.a.zc($,se),On=new G(t);On.a<On.c.c.length;){for(Ze=u(et(On),8),o.c.length=0,Wt=se.a.ec().Kc();Wt.Ob();)At=u(Wt.Pb(),317),r=At.d,Nb(r,At.a),Wm(Nb(At.d,Ze),Nb(At.d,At.a))<0&&In(o.c,At);for(n.c.length=0,Bt=new G(o);Bt.a<Bt.c.c.length;)for(At=u(et(Bt),317),tt=new G(At.e);tt.a<tt.c.c.length;){for(U=u(et(tt),177),h=!0,m=new G(o);m.a<m.c.c.length;)d=u(et(m),317),d!=At&&(Nc(U,Oe(d.e,0))||Nc(U,Oe(d.e,1))||Nc(U,Oe(d.e,2)))&&(h=!1);h&&In(n.c,U)}for(yfe(se,o),Fa(se,new xo),J=new G(n);J.a<J.c.c.length;)U=u(et(J),177),qs(se,new Bkt(Ze,U.a,U.b))}for(ht=new Os,Fa(se,new $2(ht)),s=ht.a.ec().Kc();s.Ob();)U=u(s.Pb(),177),(Aq($,U.a)||Aq($,U.b))&&s.Qb();return Fa(ht,new ko),ht}function zc(){zc=V,FWt(),iTe=da.a,u(Dt(Qt(da.a),0),19),nTe=da.f,u(Dt(Qt(da.f),0),19),u(Dt(Qt(da.f),1),35),rTe=da.n,u(Dt(Qt(da.n),0),35),u(Dt(Qt(da.n),1),35),u(Dt(Qt(da.n),2),35),u(Dt(Qt(da.n),3),35),SIt=da.g,u(Dt(Qt(da.g),0),19),u(Dt(Qt(da.g),1),35),eTe=da.c,u(Dt(Qt(da.c),0),19),u(Dt(Qt(da.c),1),19),_It=da.i,u(Dt(Qt(da.i),0),19),u(Dt(Qt(da.i),1),19),u(Dt(Qt(da.i),2),19),u(Dt(Qt(da.i),3),19),u(Dt(Qt(da.i),4),35),AIt=da.j,u(Dt(Qt(da.j),0),19),CIt=da.d,u(Dt(Qt(da.d),0),19),u(Dt(Qt(da.d),1),19),u(Dt(Qt(da.d),2),19),u(Dt(Qt(da.d),3),19),u(Dt(Qt(da.d),4),35),u(Dt(Qt(da.d),5),35),u(Dt(Qt(da.d),6),35),u(Dt(Qt(da.d),7),35),tTe=da.b,u(Dt(Qt(da.b),0),35),u(Dt(Qt(da.b),1),35),$K=da.e,u(Dt(Qt(da.e),0),35),u(Dt(Qt(da.e),1),35),u(Dt(Qt(da.e),2),35),u(Dt(Qt(da.e),3),35),u(Dt(Qt(da.e),4),19),u(Dt(Qt(da.e),5),19),u(Dt(Qt(da.e),6),19),u(Dt(Qt(da.e),7),19),u(Dt(Qt(da.e),8),19),u(Dt(Qt(da.e),9),19),u(Dt(Qt(da.e),10),35),X0=da.k,u(Dt(Qt(da.k),0),35),u(Dt(Qt(da.k),1),35)}function i8t(t){var e,n,r,s,o;switch(e=t.c,e){case 11:return t.vm();case 12:return t.xm();case 14:return t.zm();case 15:return t.Cm();case 16:return t.Am();case 17:return t.Dm();case 21:return wi(t),yi(),yi(),OL;case 10:switch(t.a){case 65:return t.hm();case 90:return t.mm();case 122:return t.tm();case 98:return t.nm();case 66:return t.im();case 60:return t.sm();case 62:return t.qm()}}switch(o=gSn(t),e=t.c,e){case 3:return t.Im(o);case 4:return t.Gm(o);case 5:return t.Hm(o);case 0:if(t.a==123&&t.d<t.j){if(s=t.d,r=0,n=-1,(e=Va(t.i,s++))>=48&&e<=57){for(r=e-48;s<t.j&&(e=Va(t.i,s++))>=48&&e<=57;)if(r=r*10+e-48,r<0)throw at(new Yr(Qr((Ur(),BTt))))}else throw at(new Yr(Qr((Ur(),_me))));if(n=r,e==44){if(s>=t.j)throw at(new Yr(Qr((Ur(),Lme))));if((e=Va(t.i,s++))>=48&&e<=57){for(n=e-48;s<t.j&&(e=Va(t.i,s++))>=48&&e<=57;)if(n=n*10+e-48,n<0)throw at(new Yr(Qr((Ur(),BTt))));if(r>n)throw at(new Yr(Qr((Ur(),Dme))))}else n=-1}if(e!=125)throw at(new Yr(Qr((Ur(),Ame))));t.bm(s)?(o=(yi(),yi(),new By(9,o)),t.d=s+1):(o=(yi(),yi(),new By(3,o)),t.d=s),o.Om(r),o.Nm(n),wi(t)}}return o}function vSn(t){var e,n,r,s,o;switch(n=u(X(t,(oe(),lu)),21),e=rz(J3e),s=u(X(t,(De(),A3)),346),s==(Ag(),Xp)&&ch(e,Z3e),Ie(Me(X(t,a1t)))?ri(e,(Ua(),Wf),(Za(),pft)):ri(e,(Ua(),Qc),(Za(),pft)),X(t,(kq(),oL))!=null&&ch(e,t4e),(Ie(Me(X(t,X_t)))||Ie(Me(X(t,G_t))))&&el(e,(Ua(),Zo),(Za(),UCt)),u(X(t,ph),88).g){case 2:case 3:case 4:el(ri(e,(Ua(),Wf),(Za(),KCt)),Zo,GCt)}switch(n.Hc((Co(),CG))&&el(ri(ri(e,(Ua(),Wf),(Za(),VCt)),cu,qCt),Zo,HCt),$t(X(t,a2))!==$t((cf(),ZG))&&ri(e,(Ua(),Qc),(Za(),cSt)),n.Hc(_G)&&(ri(e,(Ua(),Wf),(Za(),fSt)),ri(e,H0,lSt),ri(e,Qc,hSt)),$t(X(t,PG))!==$t((M7(),AA))&&$t(X(t,zg))!==$t((Lg(),IP))&&el(e,(Ua(),Zo),(Za(),nSt)),Ie(Me(X(t,W_t)))&&ri(e,(Ua(),Qc),(Za(),eSt)),Ie(Me(X(t,n1t)))&&ri(e,(Ua(),Qc),(Za(),dSt)),I6n(t)&&($t(X(t,A3))===$t(Xp)?r=u(X(t,iP),298):r=u(X(t,e1t),298),o=r==(c7(),$ft)?(Za(),uSt):(Za(),bSt),ri(e,(Ua(),cu),o)),u(X(t,kAt),388).g){case 1:ri(e,(Ua(),cu),(Za(),gSt));break;case 2:el(ri(ri(e,(Ua(),Qc),(Za(),RCt)),cu,jCt),Zo,$Ct)}return $t(X(t,U0))!==$t((Wd(),Up))&&ri(e,(Ua(),Qc),(Za(),pSt)),e}function Kpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At;if(Tu(t.a,e)){if(x1(u(tr(t.a,e),49),n))return 1}else hi(t.a,e,new Os);if(Tu(t.a,n)){if(x1(u(tr(t.a,n),49),e))return-1}else hi(t.a,n,new Os);if(Tu(t.e,e)){if(x1(u(tr(t.e,e),49),n))return-1}else hi(t.e,e,new Os);if(Tu(t.e,n)){if(x1(u(tr(t.a,n),49),e))return 1}else hi(t.e,n,new Os);if(t.c==(Wd(),k1t)||!qi(e,(oe(),Pi))||!qi(n,(oe(),Pi))){for(A=null,k=new G(e.j);k.a<k.c.c.length;)d=u(et(k),12),d.e.c.length==0||u(Oe(d.e,0),18).c.i.c!=e.c&&(A=u(Oe(d.e,0),18).c);for($=null,m=new G(n.j);m.a<m.c.c.length;)d=u(et(m),12),d.e.c.length==0||u(Oe(d.e,0),18).c.i.c!=n.c&&($=u(Oe(d.e,0),18).c);if(A&&$){if(T=A.i,P=$.i,T&&T==P){for(J=new G(T.j);J.a<J.c.c.length;){if(U=u(et(J),12),U==A)return R7(t,n,e),-1;if(U==$)return R7(t,e,n),1}return jc(Aot(t,e),Aot(t,n))}for(ht=t.d,Tt=0,At=ht.length;Tt<At;++Tt){if(tt=ht[Tt],tt==T)return R7(t,n,e),-1;if(tt==P)return R7(t,e,n),1}}if(!qi(e,(oe(),Pi))||!qi(n,Pi))return s=Aot(t,e),h=Aot(t,n),s>h?R7(t,e,n):R7(t,n,e),s<h?-1:s>h?1:0}return r=u(X(e,(oe(),Pi)),17).a,o=u(X(n,Pi),17).a,r>o?R7(t,e,n):R7(t,n,e),r<o?-1:r>o?1:0}function iv(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(n==null)return null;if(t.a!=e.jk())throw at(new zn(lT+e.xe()+fv));if(Lt(e,468)){if(tt=l8n(u(e,685),n),!tt)throw at(new zn(Hlt+n+"' is not a valid enumerator of '"+e.xe()+"'"));return tt}switch(Lp((il(),ja),e).Nl()){case 2:{n=su(n,!1);break}case 3:{n=su(n,!0);break}}if(r=Lp(ja,e).Jl(),r)return r.jk().wi().ti(r,n);if(P=Lp(ja,e).Ll(),P){for(tt=new fe,k=Sat(n),T=0,A=k.length;T<A;++T)m=k[T],ge(tt,P.jk().wi().ti(P,m));return tt}if(J=Lp(ja,e).Ml(),!J.dc()){for(U=J.Kc();U.Ob();){$=u(U.Pb(),156);try{if(tt=$.jk().wi().ti($,n),tt!=null)return tt}catch(ht){if(ht=es(ht),!Lt(ht,63))throw at(ht)}}throw at(new zn(Hlt+n+"' does not match any member types of the union datatype '"+e.xe()+"'"))}if(u(e,847).ok(),s=_bn(e.kk()),!s)return null;if(s==vA){h=0;try{h=lh(n,Ga,xi)&js}catch(ht){if(ht=es(ht),Lt(ht,130))o=Lq(n),h=o[0];else throw at(ht)}return ZI(h)}if(s==OU){for(d=0;d<TL.length;++d)try{return WYt(TL[d],n)}catch(ht){if(ht=es(ht),!Lt(ht,33))throw at(ht)}throw at(new zn(Hlt+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw at(new zn(Hlt+n+"' is invalid. "))}function Ict(){Ict=V,Ri=new Fm,dn(Ri,(ve(),Cd),fu),dn(Ri,wf,fu),dn(Ri,wf,Ku),dn(Ri,Kh,cl),dn(Ri,Kh,fu),dn(Ri,e1,fu),dn(Ri,e1,xl),dn(Ri,wh,Uu),dn(Ri,wh,fu),dn(Ri,Gu,Ou),dn(Ri,Gu,fu),dn(Ri,Gu,xl),dn(Ri,Gu,Uu),dn(Ri,Ou,Gu),dn(Ri,Ou,Ku),dn(Ri,Ou,cl),dn(Ri,Ou,fu),dn(Ri,n1,n1),dn(Ri,n1,xl),dn(Ri,n1,Ku),dn(Ri,yl,yl),dn(Ri,yl,xl),dn(Ri,yl,cl),dn(Ri,mh,mh),dn(Ri,mh,Uu),dn(Ri,mh,Ku),dn(Ri,Wh,Wh),dn(Ri,Wh,Uu),dn(Ri,Wh,cl),dn(Ri,xl,e1),dn(Ri,xl,Gu),dn(Ri,xl,n1),dn(Ri,xl,yl),dn(Ri,xl,fu),dn(Ri,xl,xl),dn(Ri,xl,Ku),dn(Ri,xl,cl),dn(Ri,Uu,wh),dn(Ri,Uu,Gu),dn(Ri,Uu,mh),dn(Ri,Uu,Wh),dn(Ri,Uu,Uu),dn(Ri,Uu,Ku),dn(Ri,Uu,cl),dn(Ri,Uu,fu),dn(Ri,Ku,wf),dn(Ri,Ku,Ou),dn(Ri,Ku,n1),dn(Ri,Ku,mh),dn(Ri,Ku,xl),dn(Ri,Ku,Uu),dn(Ri,Ku,Ku),dn(Ri,Ku,fu),dn(Ri,cl,Kh),dn(Ri,cl,Ou),dn(Ri,cl,yl),dn(Ri,cl,Wh),dn(Ri,cl,xl),dn(Ri,cl,Uu),dn(Ri,cl,cl),dn(Ri,cl,fu),dn(Ri,fu,Cd),dn(Ri,fu,wf),dn(Ri,fu,Kh),dn(Ri,fu,e1),dn(Ri,fu,wh),dn(Ri,fu,Gu),dn(Ri,fu,Ou),dn(Ri,fu,xl),dn(Ri,fu,Uu),dn(Ri,fu,Ku),dn(Ri,fu,cl),dn(Ri,fu,fu)}function s8t(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn;for(t.d=new ae(Zi,Zi),t.c=new ae(Vs,Vs),P=e.Kc();P.Ob();)for(T=u(P.Pb(),36),At=new G(T.a);At.a<At.c.c.length;)Tt=u(et(At),10),t.d.a=b.Math.min(t.d.a,Tt.n.a-Tt.d.b),t.d.b=b.Math.min(t.d.b,Tt.n.b-Tt.d.d),t.c.a=b.Math.max(t.c.a,Tt.n.a+Tt.o.a+Tt.d.c),t.c.b=b.Math.max(t.c.b,Tt.n.b+Tt.o.b+Tt.d.a);for(d=new vKt,A=e.Kc();A.Ob();)T=u(A.Pb(),36),r=eSn(t,T),ge(d.a,r),r.a=r.a|!u(X(r.c,(oe(),$g)),21).dc();for(t.b=(Iat(),rn=new I8,rn.f=new Foe(n),rn.b=c9n(rn.f,d),rn),y9n((U=t.b,new S6,U)),t.e=new Sa,t.a=t.b.f.e,h=new G(d.a);h.a<h.c.c.length;)for(s=u(et(h),855),Bt=efn(t.b,s),X8n(s.c,Bt.a,Bt.b),tt=new G(s.c.a);tt.a<tt.c.c.length;)J=u(et(tt),10),J.k==(Un(),Ms)&&(ht=Q6t(t,J.n,u(X(J,(oe(),Dc)),64)),ki(k1(J.n),ht));for(o=new G(d.a);o.a<o.c.c.length;)for(s=u(et(o),855),k=new G(m2n(s));k.a<k.c.c.length;)for(m=u(et(k),18),Ce=new b$(m.a),CE(Ce,0,rd(m.c)),Zr(Ce,rd(m.d)),$=null,se=Dr(Ce,0);se.b!=se.d.c;){if(Wt=u(Ar(se),8),!$){$=Wt;continue}o4t($.a,Wt.a)?(t.e.a=b.Math.min(t.e.a,$.a),t.a.a=b.Math.max(t.a.a,$.a)):o4t($.b,Wt.b)&&(t.e.b=b.Math.min(t.e.b,$.b),t.a.b=b.Math.max(t.a.b,$.b)),$=Wt}dz(t.e),ki(t.a,t.e)}function ySn(t,e){var n,r,s,o,h,d,m,k;if(n=0,h=0,o=e.length,d=null,k=new I4,h<o&&(qn(h,e.length),e.charCodeAt(h)==43)&&(++h,++n,h<o&&(qn(h,e.length),e.charCodeAt(h)==43||(qn(h,e.length),e.charCodeAt(h)==45))))throw at(new jd(av+e+'"'));for(;h<o&&(qn(h,e.length),e.charCodeAt(h)!=46)&&(qn(h,e.length),e.charCodeAt(h)!=101)&&(qn(h,e.length),e.charCodeAt(h)!=69);)++h;if(k.a+=""+Lh(e==null?Vu:(Wn(e),e),n,h),h<o&&(qn(h,e.length),e.charCodeAt(h)==46)){for(++h,n=h;h<o&&(qn(h,e.length),e.charCodeAt(h)!=101)&&(qn(h,e.length),e.charCodeAt(h)!=69);)++h;t.e=h-n,k.a+=""+Lh(e==null?Vu:(Wn(e),e),n,h)}else t.e=0;if(h<o&&(qn(h,e.length),e.charCodeAt(h)==101||(qn(h,e.length),e.charCodeAt(h)==69))&&(++h,n=h,h<o&&(qn(h,e.length),e.charCodeAt(h)==43)&&(++h,h<o&&(qn(h,e.length),e.charCodeAt(h)!=45)&&++n),d=(Da(n,o,e.length),e.substr(n,o-n)),t.e=t.e-lh(d,Ga,xi),t.e!=Ys(t.e)))throw at(new jd("Scale out of range."));if(m=k.a,m.length<16){if(t.f=(T9t==null&&(T9t=new RegExp("^[+-]?\\d*$","i")),T9t.test(m)?parseInt(m,10):NaN),isNaN(t.f))throw at(new jd(av+e+'"'));t.a=S6t(t.f)}else n2n(t,new Sb(m));for(t.d=k.a.length,s=0;s<k.a.length&&(r=Va(k.a,s),!(r!=45&&r!=48));++s)--t.d;t.d==0&&(t.d=1)}function xSn(t){zr(t.b,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentTransient"])),zr(t.a,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedSourceURI"])),zr(t.o,hf,lt(ut(Pe,1),ue,2,6,[dv,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),zr(t.p,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),zr(t.v,hf,lt(ut(Pe,1),ue,2,6,[dv,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),zr(t.R,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedName"])),zr(t.T,hf,lt(ut(Pe,1),ue,2,6,[dv,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),zr(t.U,hf,lt(ut(Pe,1),ue,2,6,[dv,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),zr(t.W,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),zr(t.bb,hf,lt(ut(Pe,1),ue,2,6,[dv,"ValidDefaultValueLiteral"])),zr(t.eb,hf,lt(ut(Pe,1),ue,2,6,[dv,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),zr(t.H,hf,lt(ut(Pe,1),ue,2,6,[dv,"ConsistentType ConsistentBounds ConsistentArguments"]))}function kSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze;if(!e.dc()){if(s=new Qu,d=n||u(e.Xb(0),18),U=d.c,D_(),P=U.i.k,!(P==(Un(),xs)||P==uu||P==Ms||P==md))throw at(new zn("The target node of the edge must be a normal node or a northSouthPort."));for(ro(s,dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a]))),(ve(),Gu).Hc(U.j)&&(tt=Rt(Ht(X(U,(oe(),MT)))),A=new ae(dc(lt(ut(la,1),ue,8,0,[U.i.n,U.n,U.a])).a,tt),hs(s,A,s.c.b,s.c)),T=null,r=!1,m=e.Kc();m.Ob();)h=u(m.Pb(),18),o=h.a,o.b!=0&&(r?(k=qd(ki(T,(ur(o.b!=0),u(o.a.a.c,8))),.5),hs(s,k,s.c.b,s.c),r=!1):r=!0,T=Oa((ur(o.b!=0),u(o.c.b.c,8))),Ma(s,o),nh(o));J=d.d,Gu.Hc(J.j)&&(tt=Rt(Ht(X(J,(oe(),MT)))),A=new ae(dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a])).a,tt),hs(s,A,s.c.b,s.c)),ro(s,dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a]))),t.d==(b7(),L1t)&&(ht=(ur(s.b!=0),u(s.a.a.c,8)),Tt=u(jh(s,1),8),At=new mst(i5t(U.j)),At.a*=5,At.b*=5,Bt=ia(new ae(Tt.a,Tt.b),ht),Wt=new ae(dst(At.a,Bt.a),dst(At.b,Bt.b)),ki(Wt,ht),se=Dr(s,1),kI(se,Wt),Ce=(ur(s.b!=0),u(s.c.b.c,8)),rn=u(jh(s,s.b-2),8),At=new mst(i5t(J.j)),At.a*=5,At.b*=5,Bt=ia(new ae(rn.a,rn.b),Ce),Ze=new ae(dst(At.a,Bt.a),dst(At.b,Bt.b)),ki(Ze,Ce),CE(s,s.b-1,Ze)),$=new Rkt(s),Ma(d.a,che($))}}function ESn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1;if(At=u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84),Wt=At.nh(),se=At.oh(),Bt=At.mh()/2,J=At.lh()/2,Lt(At,193)&&(Tt=u(At,123),Wt+=ed(Tt).i,Wt+=ed(Tt).i),Wt+=Bt,se+=J,Dn=u(Dt((!t.b&&(t.b=new kn(vr,t,4,7)),t.b),0),84),Jr=Dn.nh(),is=Dn.oh(),er=Dn.mh()/2,Ce=Dn.lh()/2,Lt(Dn,193)&&(On=u(Dn,123),Jr+=ed(On).i,Jr+=ed(On).i),Jr+=er,is+=Ce,(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i==0)d=(kb(),k=new K8,k),Or((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),d);else if((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i>1)for(U=new j6((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a));U.e!=U.i.gc();)E_(U);for(h=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),tt=Jr,Jr>Wt+Bt?tt=Wt+Bt:Jr<Wt-Bt&&(tt=Wt-Bt),ht=is,is>se+J?ht=se+J:is<se-J&&(ht=se-J),tt>Wt-Bt&&tt<Wt+Bt&&ht>se-J&&ht<se+J&&(tt=Wt+Bt),QE(h,tt),ZE(h,ht),rn=Wt,Wt>Jr+er?rn=Jr+er:Wt<Jr-er&&(rn=Jr-er),Ze=se,se>is+Ce?Ze=is+Ce:se<is-Ce&&(Ze=is-Ce),rn>Jr-er&&rn<Jr+er&&Ze>is-Ce&&Ze<is+Ce&&(Ze=is+Ce),XE(h,rn),JE(h,Ze),Ir((!h.a&&(h.a=new Ps(vh,h,5)),h.a)),o=MH(e,5),At==Dn&&++o,yh=rn-tt,r1=Ze-ht,El=b.Math.sqrt(yh*yh+r1*r1),A=El*.20000000298023224,mx=yh/(o+1),i1=r1/(o+1),Go=tt,rb=ht,T=0;T<o;T++)Go+=mx,rb+=i1,P=Go+Dl(e,24)*lN*A-A/2,P<0?P=1:P>n&&(P=n-1),$=rb+Dl(e,24)*lN*A-A/2,$<0?$=1:$>r&&($=r-1),s=(kb(),m=new fC,m),Rq(s,P),Bq(s,$),Or((!h.a&&(h.a=new Ps(vh,h,5)),h.a),s)}function Wpe(t){wm(t,new dw(gm(hm(dm(fm(new G1,Ol),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new s6))),le(t,Ol,Dk,1.3),le(t,Ol,eT,(Pn(),!1)),le(t,Ol,ov,wDt),le(t,Ol,h3,15),le(t,Ol,QV,Se(hEe)),le(t,Ol,_5,Se(gEe)),le(t,Ol,Ik,Se(bEe)),le(t,Ol,Mk,Se(wEe)),le(t,Ol,nT,Se(dEe)),le(t,Ol,X_,Se(gDt)),le(t,Ol,rT,Se(mEe)),le(t,Ol,Q7t,Se(xDt)),le(t,Ol,J7t,Se(yDt)),le(t,Ol,X7t,Se(ddt)),le(t,Ol,Y7t,Se(kDt)),le(t,Ol,Z7t,Se(bDt)),le(t,Ol,tTt,Se(fdt)),le(t,Ol,eTt,Se(pDt)),le(t,Ol,nTt,Se(vDt)),le(t,Ol,Y_,Se(dDt)),le(t,Ol,ZV,Se(fEe)),le(t,Ol,K7t,Se(vP)),le(t,Ol,G7t,Se(fDt)),le(t,Ol,W7t,Se(yP)),le(t,Ol,U7t,Se(mDt))}function Oct(t,e){mct();var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;if(rn=t.e,U=t.d,s=t.a,rn==0)switch(e){case 0:return"0";case 1:return Y7;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return se=new yb,e<0?se.a+="0E+":se.a+="0E",se.a+=-e,se.a}if(At=U*10+1+7,Bt=Vt(Yh,Zd,28,At+1,15,1),n=At,U==1)if(d=s[0],d<0){Jr=sa(d,So);do J=Jr,Jr=_O(Jr,10),Bt[--n]=48+qr(sf(J,Ja(Jr,10)))&js;while($c(Jr,0)!=0)}else{Jr=d;do J=Jr,Jr=Jr/10|0,Bt[--n]=48+(J-Jr*10)&js;while(Jr!=0)}else{On=Vt(Fr,ii,28,U,15,1),er=U,Xc(s,0,On,0,er);t:for(;;){for(Ce=0,k=er-1;k>=0;k--)Dn=Qa(Rf(Ce,32),sa(On[k],So)),ht=c3n(Dn),On[k]=qr(ht),Ce=qr(_m(ht,32));Tt=qr(Ce),tt=n;do Bt[--n]=48+Tt%10&js;while((Tt=Tt/10|0)!=0&&n!=0);for(r=9-tt+n,m=0;m<r&&n>0;m++)Bt[--n]=48;for(A=er-1;On[A]==0;A--)if(A==0)break t;er=A+1}for(;Bt[n]==48;)++n}if($=rn<0,h=At-n-e-1,e==0)return $&&(Bt[--n]=45),af(Bt,n,At-n);if(e>0&&h>=-6){if(h>=0){for(T=n+h,P=At-1;P>=T;P--)Bt[P+1]=Bt[P];return Bt[++T]=46,$&&(Bt[--n]=45),af(Bt,n,At-n+1)}for(A=2;A<-h+1;A++)Bt[--n]=48;return Bt[--n]=46,Bt[--n]=48,$&&(Bt[--n]=45),af(Bt,n,At-n)}return Ze=n+1,o=At,Wt=new I4,$&&(Wt.a+="-"),o-Ze>=1?(Db(Wt,Bt[n]),Wt.a+=".",Wt.a+=af(Bt,n+1,At-n-1)):Wt.a+=af(Bt,n,At-n),Wt.a+="E",h>0&&(Wt.a+="+"),Wt.a+=""+h,Wt.a}function Ype(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;switch(t.c=e,t.g=new _r,n=(xy(),new my(t.c)),r=new RC(n),j5t(r),At=Gr(ne(t.c,(LO(),zDt))),m=u(ne(t.c,Edt),324),Wt=u(ne(t.c,Tdt),437),h=u(ne(t.c,RDt),489),Bt=u(ne(t.c,kdt),438),t.j=Rt(Ht(ne(t.c,IEe))),d=t.a,m.g){case 0:d=t.a;break;case 1:d=t.b;break;case 2:d=t.i;break;case 3:d=t.e;break;case 4:d=t.f;break;default:throw at(new zn(cU+(m.f!=null?m.f:""+m.g)))}if(t.d=new zne(d,Wt,h),Zt(t.d,(s7(),EA),Me(ne(t.c,DEe))),t.d.c=Ie(Me(ne(t.c,jDt))),Jz(t.c).i==0)return t.d;for(A=new Zn(Jz(t.c));A.e!=A.i.gc();){for(T=u(ar(A),27),$=T.g/2,P=T.f/2,se=new ae(T.i+$,T.j+P);Tu(t.g,se);)Tm(se,(b.Math.random()-.5)*n0,(b.Math.random()-.5)*n0);J=u(ne(T,(ai(),UT)),140),tt=new ere(se,new Ah(se.a-$-t.j/2-J.b,se.b-P-t.j/2-J.d,T.g+t.j+(J.b+J.c),T.f+t.j+(J.d+J.a))),ge(t.d.i,tt),hi(t.g,se,new Ws(tt,T))}switch(Bt.g){case 0:if(At==null)t.d.d=u(Oe(t.d.i,0),68);else for(Tt=new G(t.d.i);Tt.a<Tt.c.c.length;)tt=u(et(Tt),68),U=u(u(tr(t.g,tt.a),42).b,27).jh(),U!=null&&hn(U,At)&&(t.d.d=tt);break;case 1:for(s=new ae(t.c.g,t.c.f),s.a*=.5,s.b*=.5,Tm(s,t.c.i,t.c.j),o=Zi,ht=new G(t.d.i);ht.a<ht.c.c.length;)tt=u(et(ht),68),k=Nb(tt.a,s),k<o&&(o=k,t.d.d=tt);break;default:throw at(new zn(cU+(Bt.f!=null?Bt.f:""+Bt.g)))}return t.d}function TSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;for(P=0,s=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ar(s),27),Ie(Me(ne(r,(De(),Nw))))||(T=Ji(r),($t(ne(T,U0))!==$t((Wd(),Up))||$t(ne(T,Dw))===$t((Ip(),ST))||$t(ne(T,Dw))===$t((Ip(),CT))||Ie(Me(ne(T,Ev)))||$t(ne(T,_3))!==$t((lw(),x3))||$t(ne(T,a2))===$t((cf(),Lv))||$t(ne(T,a2))===$t((cf(),N3))||$t(ne(T,Iw))===$t((Bp(),RT))||$t(ne(T,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(r,BG)))&&(Mi(r,(oe(),Pi),he(P)),++P),qpe(t,r,n));for(P=0,k=new Zn((!e.b&&(e.b=new Jt(Ts,e,12,3)),e.b));k.e!=k.i.gc();)d=u(ar(k),74),($t(ne(e,(De(),U0)))!==$t((Wd(),Up))||$t(ne(e,Dw))===$t((Ip(),ST))||$t(ne(e,Dw))===$t((Ip(),CT))||Ie(Me(ne(e,Ev)))||$t(ne(e,_3))!==$t((lw(),x3))||$t(ne(e,a2))===$t((cf(),Lv))||$t(ne(e,a2))===$t((cf(),N3))||$t(ne(e,Iw))===$t((Bp(),RT))||$t(ne(e,Iw))===$t((Bp(),jT)))&&(Mi(d,(oe(),Pi),he(P)),++P),J=O0(d),tt=qb(d),A=Ie(Me(ne(J,L3))),U=!Ie(Me(ne(d,Nw))),$=A&&Zm(d)&&Ie(Me(ne(d,Mw))),o=Ji(J)==e&&Ji(J)==Ji(tt),h=(Ji(J)==e&&tt==e)^(Ji(tt)==e&&J==e),U&&!$&&(h||o)&&a8t(t,d,e,n);if(Ji(e))for(m=new Zn(gne(Ji(e)));m.e!=m.i.gc();)d=u(ar(m),74),J=O0(d),J==e&&Zm(d)&&($=Ie(Me(ne(J,(De(),L3))))&&Ie(Me(ne(d,Mw))),$&&a8t(t,d,e,n))}function CSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh;for(n.Ug("Greedy cycle removal",1),At=e.a,yh=At.c.length,t.a=Vt(Fr,ii,28,yh,15,1),t.c=Vt(Fr,ii,28,yh,15,1),t.b=Vt(Fr,ii,28,yh,15,1),k=0,ht=new G(At);ht.a<ht.c.c.length;){for(J=u(et(ht),10),J.p=k,Ze=new G(J.j);Ze.a<Ze.c.c.length;){for(se=u(et(Ze),12),d=new G(se.e);d.a<d.c.c.length;)r=u(et(d),18),r.c.i!=J&&(er=u(X(r,(De(),PT)),17).a,t.a[k]+=er>0?er+1:1);for(h=new G(se.g);h.a<h.c.c.length;)r=u(et(h),18),r.d.i!=J&&(er=u(X(r,(De(),PT)),17).a,t.c[k]+=er>0?er+1:1)}t.c[k]==0?Zr(t.e,J):t.a[k]==0&&Zr(t.f,J),++k}for(U=-1,$=1,A=new fe,t.d=u(X(e,(oe(),Kk)),234);yh>0;){for(;t.e.b!=0;)is=u(Tit(t.e),10),t.b[is.p]=U--,_kt(t,is),--yh;for(;t.f.b!=0;)El=u(Tit(t.f),10),t.b[El.p]=$++,_kt(t,El),--yh;if(yh>0){for(P=Ga,Tt=new G(At);Tt.a<Tt.c.c.length;)J=u(et(Tt),10),t.b[J.p]==0&&(Bt=t.c[J.p]-t.a[J.p],Bt>=P&&(Bt>P&&(A.c.length=0,P=Bt),In(A.c,J)));T=t.sg(A),t.b[T.p]=$++,_kt(t,T),--yh}}for(Jr=At.c.length+1,k=0;k<At.c.length;k++)t.b[k]<0&&(t.b[k]+=Jr);for(tt=new G(At);tt.a<tt.c.c.length;)for(J=u(et(tt),10),Dn=rie(J.j),Ce=Dn,rn=0,On=Ce.length;rn<On;++rn)for(se=Ce[rn],Wt=Kd(se.g),s=Wt,o=0,m=s.length;o<m;++o)r=s[o],Go=r.d.i.p,t.b[J.p]>t.b[Go]&&(nv(r,!0),Zt(e,tP,(Pn(),!0)));t.a=null,t.c=null,t.b=null,nh(t.f),nh(t.e),n.Vg()}function Xpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;for(Wt=u(Dt((!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a),0),166),T=new Qu,Bt=new _r,se=sge(Wt),yu(Bt.f,Wt,se),P=new _r,r=new Ki,U=A0(ah(lt(ut(gh,1),Ln,20,0,[(!e.d&&(e.d=new kn(Ts,e,8,5)),e.d),(!e.e&&(e.e=new kn(Ts,e,7,4)),e.e)])));Mr(U);){if($=u(dr(U),74),(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i!=1)throw at(new zn(Fwe+(!t.a&&(t.a=new Jt(Wi,t,6,6)),t.a).i));$!=t&&(tt=u(Dt((!$.a&&($.a=new Jt(Wi,$,6,6)),$.a),0),166),hs(r,tt,r.c.b,r.c),J=u(Ko(Eo(Bt.f,tt)),13),J||(J=sge(tt),yu(Bt.f,tt,J)),A=n?ia(new io(u(Oe(se,se.c.length-1),8)),u(Oe(J,J.c.length-1),8)):ia(new io((vn(0,se.c.length),u(se.c[0],8))),(vn(0,J.c.length),u(J.c[0],8))),yu(P.f,tt,A))}if(r.b!=0)for(ht=u(Oe(se,n?se.c.length-1:0),8),k=1;k<se.c.length;k++){for(Tt=u(Oe(se,n?se.c.length-1-k:k),8),s=Dr(r,0);s.b!=s.d.c;)tt=u(Ar(s),166),J=u(Ko(Eo(Bt.f,tt)),13),J.c.length<=k?Qst(s):(At=ki(new io(u(Oe(J,n?J.c.length-1-k:k),8)),u(Ko(Eo(P.f,tt)),8)),(Tt.a!=At.a||Tt.b!=At.b)&&(o=Tt.a-ht.a,d=Tt.b-ht.b,h=At.a-ht.a,m=At.b-ht.b,h*d==m*o&&(o==0||isNaN(o)?o:o<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)&&(d==0||isNaN(d)?d:d<0?-1:1)==(m==0||isNaN(m)?m:m<0?-1:1)?(b.Math.abs(o)<b.Math.abs(h)||b.Math.abs(d)<b.Math.abs(m))&&hs(T,Tt,T.c.b,T.c):k>1&&hs(T,ht,T.c.b,T.c),Qst(s)));ht=Tt}return T}function Qpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On;for(n.Ug(Q2e,1),On=u(nc(_i(new ln(null,new gn(e,16)),new ott),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),T=u(nc(_i(new ln(null,new gn(e,16)),new ZUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),U=u(nc(_i(new ln(null,new gn(e,16)),new JUt(e)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),J=Vt(aK,rU,39,e.gc(),0,1),h=0;h<T.gc();h++)s=u(T.Xb(h),39),Ze=u(X(s,(Cc(),tx)),17).a,Ze>=0&&Ze<T.gc()&&!J[Ze]&&(J[Ze]=s,T.gd(h),--h);for(d=0;d<T.gc();d++)for(s=u(T.Xb(d),39),Ze=u(X(s,(Cc(),tx)),17).a,P=0;;P++){if($=Ze+P,$<J.length&&$>=0&&!J[$]){J[$]=s,T.gd(d),--d;break}if($=Ze-P,$<J.length&&$>=0&&!J[$]){J[$]=s,T.gd(d),--d;break}}for(U.jd(new ctt),m=J.length-1;m>=0;m--)!J[m]&&!U.dc()&&(J[m]=u(U.Xb(0),39),U.gd(0));for(k=0;k<J.length;k++)!J[k]&&!On.dc()&&(J[k]=u(On.Xb(0),39),On.gd(0));for(o=0;o<J.length;o++)Zt(J[o],(ji(),ZA),he(o));for(A=u(dwn(_i(new ln(null,new gn(e,16)),new utt)),534),se=A,Ce=0,rn=se.length;Ce<rn;++Ce){for(Wt=se[Ce],r=wat(Wt),Qpe(t,r,n.eh(1/A.length|0)),mn(),rw(r,new Fnt((ji(),ZA))),tt=new Ki,Bt=Dr(r,0);Bt.b!=Bt.d.c;)for(At=u(Ar(Bt),39),Tt=Dr(Wt.d,0);Tt.b!=Tt.d.c;)ht=u(Ar(Tt),65),ht.c==At&&hs(tt,ht,tt.c.b,tt.c);nh(Wt.d),Ma(Wt.d,tt)}n.Vg()}function Jpe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(r=new fe,d=new fe,tt=e/2,$=t.gc(),s=u(t.Xb(0),8),ht=u(t.Xb(1),8),U=Yot(s.a,s.b,ht.a,ht.b,tt),ge(r,(vn(0,U.c.length),u(U.c[0],8))),ge(d,(vn(1,U.c.length),u(U.c[1],8))),k=2;k<$;k++)J=s,s=ht,ht=u(t.Xb(k),8),U=Yot(s.a,s.b,J.a,J.b,tt),ge(r,(vn(1,U.c.length),u(U.c[1],8))),ge(d,(vn(0,U.c.length),u(U.c[0],8))),U=Yot(s.a,s.b,ht.a,ht.b,tt),ge(r,(vn(0,U.c.length),u(U.c[0],8))),ge(d,(vn(1,U.c.length),u(U.c[1],8)));for(U=Yot(ht.a,ht.b,s.a,s.b,tt),ge(r,(vn(1,U.c.length),u(U.c[1],8))),ge(d,(vn(0,U.c.length),u(U.c[0],8))),n=new Qu,h=new fe,Zr(n,(vn(0,r.c.length),u(r.c[0],8))),T=1;T<r.c.length-2;T+=2)o=(vn(T,r.c.length),u(r.c[T],8)),P=n1e((vn(T-1,r.c.length),u(r.c[T-1],8)),o,(vn(T+1,r.c.length),u(r.c[T+1],8)),(vn(T+2,r.c.length),u(r.c[T+2],8))),!isFinite(P.a)||!isFinite(P.b)?hs(n,o,n.c.b,n.c):hs(n,P,n.c.b,n.c);for(Zr(n,u(Oe(r,r.c.length-1),8)),ge(h,(vn(0,d.c.length),u(d.c[0],8))),A=1;A<d.c.length-2;A+=2)o=(vn(A,d.c.length),u(d.c[A],8)),P=n1e((vn(A-1,d.c.length),u(d.c[A-1],8)),o,(vn(A+1,d.c.length),u(d.c[A+1],8)),(vn(A+2,d.c.length),u(d.c[A+2],8))),!isFinite(P.a)||!isFinite(P.b)?In(h.c,o):In(h.c,P);for(ge(h,u(Oe(d,d.c.length-1),8)),m=h.c.length-1;m>=0;m--)Zr(n,(vn(m,h.c.length),u(h.c[m],8)));return n}function Zpe(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;for(At=Rt(Ht(ne(e,(N0(),B3)))),$=Rt(Ht(ne(e,nL))),P=Rt(Ht(ne(e,bK))),M4t((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a)),ht=Hge((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a),At,t.b),tt=0;tt<ht.c.length;tt++)if(m=(vn(tt,ht.c.length),u(ht.c[tt],186)),tt!=0&&(U=(vn(tt-1,ht.c.length),u(ht.c[tt-1],186)),yue(m,U.f+U.b+t.b)),J=ASn(tt,ht,At,t.b,Ie(Me(ne(e,(fd(),fdt))))),Ie(Me(J.b))){for(o=new G(m.a);o.a<o.c.c.length;)s=u(et(o),172),s.c=!1,s.k=!1,Oge(s);m.d=new fe,m.e=At,--tt}else if(Uvn(t,m),tt+1<ht.c.length&&(t.e=b.Math.max(m.e+t.b+u(Oe((vn(tt+1,ht.c.length),u(ht.c[tt+1],186)).a,0),172).r-At,t.c),t.f=b.Math.min(m.e+t.b+u(Oe((vn(tt+1,ht.c.length),u(ht.c[tt+1],186)).a,0),172).r-At,t.d),m.d.c.length!=0&&(t.c=b.Math.max(t.c,u(Oe(m.d,m.d.c.length-1),315).d+(m.d.c.length<=1?0:t.b)),t.d=b.Math.min(t.c,u(Oe(m.d,m.d.c.length-1),315).d+(m.d.c.length<=1?0:t.b)))),ht.c.length==1)for(A=u(Oe(m.d,m.d.c.length-1),315),T=u(Oe(A.a,A.a.c.length-1),172),d=new G(T.n);d.a<d.c.c.length;)h=u(et(d),209),t.c=b.Math.max(t.c,T.r-h.d),t.d=b.Math.min(t.d,T.r-h.d),t.e=b.Math.max(t.e,h.d+t.b),t.f=b.Math.min(t.f,h.d+t.b);return Tt=Rhe(ht,t.b),Bt=b.Math.max(Tt.a,$-(n.b+n.c)),k=b.Math.max(Tt.b,P-(n.d+n.a)),r=k-Tt.b,Mi(e,tL,r),Mi(e,wK,ht),new tyt(t.a,Bt,Tt.b+r,(A_(),xP))}function SSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(Ce=u(X(t,(De(),bs)),101),Ce!=(ka(),Td)&&Ce!=d2){for(U=t.b,$=U.c.length,T=new wu((oh($+2,jct),Oq(Qa(Qa(5,$+2),($+2)/10|0)))),J=new wu((oh($+2,jct),Oq(Qa(Qa(5,$+2),($+2)/10|0)))),ge(T,new _r),ge(T,new _r),ge(J,new fe),ge(J,new fe),se=new fe,e=0;e<$;e++)for(n=(vn(e,U.c.length),u(U.c[e],30)),rn=(vn(e,T.c.length),u(T.c[e],85)),tt=new _r,In(T.c,tt),On=(vn(e,J.c.length),u(J.c[e],15)),Tt=new fe,In(J.c,Tt),s=new G(n.a);s.a<s.c.c.length;){if(r=u(et(s),10),E5t(r)){In(se.c,r);continue}for(k=new rr(sr(ua(r).a.Kc(),new z));Mr(k);)d=u(dr(k),18),Dn=d.c.i,E5t(Dn)&&(Ze=u(rn.xc(X(Dn,(oe(),Li))),10),Ze||(Ze=v1e(t,Dn),rn.zc(X(Dn,Li),Ze),On.Fc(Ze)),Xa(d,u(Oe(Ze.j,1),12)));for(m=new rr(sr(_s(r).a.Kc(),new z));Mr(m);)d=u(dr(m),18),er=d.d.i,E5t(er)&&(ht=u(tr(tt,X(er,(oe(),Li))),10),ht||(ht=v1e(t,er),hi(tt,X(er,Li),ht),In(Tt.c,ht)),xa(d,u(Oe(ht.j,0),12)))}for(A=0;A<J.c.length;A++)if(At=(vn(A,J.c.length),u(J.c[A],15)),!At.dc())for(P=null,A==0?(P=new eu(t),Fy(0,U.c.length),sS(U.c,0,P)):A==T.c.length-1?(P=new eu(t),In(U.c,P)):P=(vn(A-1,U.c.length),u(U.c[A-1],30)),h=At.Kc();h.Ob();)o=u(h.Pb(),10),Aa(o,P);for(Wt=new G(se);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Aa(Bt,null);Zt(t,(oe(),Vft),se)}}function _Sn(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go;for(is=new fe,U=new G(e.b);U.a<U.c.c.length;)for(P=u(et(U),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;){for(Bt=u(et(Wt),10),Bt.p=-1,A=Ga,rn=Ga,On=new G(Bt.j);On.a<On.c.c.length;){for(Ze=u(et(On),12),s=new G(Ze.e);s.a<s.c.c.length;)n=u(et(s),18),Dn=u(X(n,(De(),Yk)),17).a,A=b.Math.max(A,Dn);for(r=new G(Ze.g);r.a<r.c.c.length;)n=u(et(r),18),Dn=u(X(n,(De(),Yk)),17).a,rn=b.Math.max(rn,Dn)}Zt(Bt,rK,he(A)),Zt(Bt,iK,he(rn))}for(ht=0,$=new G(e.b);$.a<$.c.c.length;)for(P=u(et($),30),Wt=new G(P.a);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Bt.p<0&&(Jr=new W2t,Jr.b=ht++,L0e(t,Bt,Jr),In(is.c,Jr));for(Ce=C0(is.c.length),T=C0(is.c.length),h=0;h<is.c.length;h++)ge(Ce,new fe),ge(T,he(0));for(U9n(e,is,Ce,T),El=u(ld(is,Vt(pke,V2e,261,is.c.length,0,1)),854),se=u(ld(Ce,Vt(Vh,l3,15,Ce.c.length,0,1)),198),k=Vt(Fr,ii,28,T.c.length,15,1),d=0;d<k.length;d++)k[d]=(vn(d,T.c.length),u(T.c[d],17)).a;for(Tt=0,At=new fe,m=0;m<El.length;m++)k[m]==0&&In(At.c,El[m]);for(tt=Vt(Fr,ii,28,El.length,15,1);At.c.length!=0;)for(Jr=u(Ep(At,0),261),tt[Jr.b]=Tt++;!se[Jr.b].dc();)Go=u(se[Jr.b].gd(0),261),--k[Go.b],k[Go.b]==0&&In(At.c,Go);for(t.a=Vt(pke,V2e,261,El.length,0,1),o=0;o<El.length;o++)for(J=El[o],er=tt[o],t.a[er]=J,J.b=er,Wt=new G(J.e);Wt.a<Wt.c.c.length;)Bt=u(et(Wt),10),Bt.p=er;return t.a}function ASn(t,e,n,r,s){var o,h,d,m,k,T,A,P,$,U,J,tt,ht;for(J=!1,m=!1,P=t+1,U=(vn(t,e.c.length),u(e.c[t],186)),d=U.a,k=null,h=0;h<U.a.c.length;h++)if(o=(vn(h,d.c.length),u(d.c[h],172)),!o.c){if(o.b.c.length==0){pg(),CO(U,o),--h,J=!0;continue}if(o.k||(k&&PH(k),k=new t3t(k?k.e+k.d+r:0,U.f,r),kO(o,k.e+k.d,U.f),ge(U.d,k),R4t(k,o),o.k=!0),T=null,T=(ht=null,h<U.a.c.length-1?ht=u(Oe(U.a,h+1),172):P<e.c.length&&(vn(P,e.c.length),u(e.c[P],186)).a.c.length!=0&&(ht=u(Oe((vn(P,e.c.length),u(e.c[P],186)).a,0),172)),ht),tt=!1,T&&(tt=!Ti(T.j,U)),T){if(T.b.c.length!=0&&!Ie(Me(u(Oe(T.b,0),27).of((fd(),yP)))))$I(o,n-o.s),PH(o.q),J=J|J3n(U,o,T,n,r);else{CO(U,T);break}if(T.b.c.length==0)for(e.c.length>P&&CO((vn(P,e.c.length),u(e.c[P],186)),T),T=null;e.c.length>P&&(vn(P,e.c.length),u(e.c[P],186)).a.c.length==0;)zu(e,(vn(P,e.c.length),e.c[P]));if(!T){--h;continue}if(!Ie(Me(u(Oe(T.b,0),27).of((fd(),yP))))&&HEn(e,U,o,T,tt,n,P,r)){J=!0;continue}if(tt){if($=U.b,A=T.f,!Ie(Me(u(Oe(T.b,0),27).of(yP)))&&o9n(e,U,o,T,n,P,r,s)){if(J=!0,$<A){m=!0,T.j=U;break}continue}else if(d5t(U,o)){o.c=!0,J=!0;continue}}else if(d5t(U,o)){o.c=!0,J=!0;continue}if(J)continue}if(d5t(U,o)){o.c=!0,J=!0,T&&(T.k=!1);continue}else PH(o.q)}return new Ws((Pn(),!!J),!!m)}function De(){De=V,u1t=(ai(),m7e),dAt=v7e,aP=$Mt,Yf=y7e,Y5=zMt,_v=qMt,O3=HMt,FT=VMt,BT=UMt,l1t=LK,Av=$w,h1t=x7e,jA=WMt,KG=Zk,sP=(o8t(),Pxe),W5=Fxe,Pw=Bxe,X5=Rxe,E6e=new _a(DP,he(0)),PT=Ixe,fAt=Oxe,Yk=Nxe,kAt=a6e,pAt=zxe,bAt=Vxe,d1t=Qxe,wAt=Kxe,mAt=Yxe,WG=l6e,g1t=o6e,yAt=n6e,vAt=t6e,xAt=i6e,Cv=Sxe,RA=_xe,s1t=V5e,U_t=G5e,A6e=dL,L6e=MK,_6e=MP,S6e=DK,gAt=(lk(),q3),new _a(t8,gAt),oAt=new xm(12),aAt=new _a(Yp,oAt),q_t=(Lg(),WT),zg=new _a(mMt,q_t),D3=new _a(Pl,0),T6e=new _a(qdt,he(1)),OG=new _a(sx,tT),Nw=AK,bs=fL,NT=hx,b6e=SP,u0=c7e,A3=cx,C6e=new _a(Hdt,(Pn(),!0)),L3=_P,Mw=Ndt,Ow=jw,GG=l2,c1t=R3,z_t=(Rs(),Ed),ph=new _a(Rw,z_t),Tv=ux,VG=CMt,M3=j3,k6e=zdt,lAt=RMt,uAt=(o5(),PP),new _a(OMt,uAt),v6e=Bdt,y6e=Rdt,x6e=jdt,m6e=Fdt,f1t=$xe,Iw=gxe,a2=dxe,$A=jxe,Iu=axe,Dw=F5e,FA=P5e,Ev=y5e,R_t=x5e,e1t=C5e,iP=k5e,n1t=O5e,nAt=pxe,rAt=bxe,Q_t=txe,UG=Dxe,o1t=vxe,a1t=Y5e,sAt=Txe,V_t=q5e,i1t=H5e,t1t=CP,iAt=wxe,PG=f5e,P_t=h5e,NG=l5e,W_t=J5e,K_t=Q5e,Y_t=Z5e,IT=lx,Vo=Iv,Hp=yMt,l0=Odt,r1t=Idt,j_t=_5e,Vp=$dt,PA=h7e,zG=d7e,Sv=PMt,cAt=g7e,OT=p7e,Z_t=cxe,tAt=lxe,I3=Jk,Jft=u5e,eAt=fxe,$G=j5e,jG=R5e,HG=UT,J_t=rxe,BA=xxe,oP=GMt,$_t=B5e,hAt=Mxe,H_t=$5e,d6e=L5e,g6e=D5e,w6e=sxe,p6e=M5e,X_t=Pdt,qG=oxe,RG=I5e,U0=v5e,B_t=b5e,FG=g5e,F_t=p5e,BG=w5e,_3=d5e,Zft=m5e,G_t=X5e}function wi(t){var e,n,r;if(t.d>=t.j){t.a=-1,t.c=1;return}if(e=Va(t.i,t.d++),t.a=e,t.b==1){switch(e){case 92:if(r=10,t.d>=t.j)throw at(new Yr(Qr((Ur(),pU))));t.a=Va(t.i,t.d++);break;case 45:(t.e&512)==512&&t.d<t.j&&Va(t.i,t.d)==91?(++t.d,r=24):r=0;break;case 91:if((t.e&512)!=512&&t.d<t.j&&Va(t.i,t.d)==58){++t.d,r=20;break}default:(e&64512)==cN&&t.d<t.j&&(n=Va(t.i,t.d),(n&64512)==56320&&(t.a=po+(e-cN<<10)+n-56320,++t.d)),r=0}t.c=r;return}switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,t.d>=t.j||Va(t.i,t.d)!=63)break;if(++t.d>=t.j)throw at(new Yr(Qr((Ur(),nht))));switch(e=Va(t.i,t.d++),e){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(t.d>=t.j)throw at(new Yr(Qr((Ur(),nht))));if(e=Va(t.i,t.d++),e==61)r=16;else if(e==33)r=17;else throw at(new Yr(Qr((Ur(),ume))));break;case 35:for(;t.d<t.j&&(e=Va(t.i,t.d++),e!=41););if(e!=41)throw at(new Yr(Qr((Ur(),lme))));r=21;break;default:if(e==45||97<=e&&e<=122||65<=e&&e<=90){--t.d,r=22;break}else if(e==40){r=23;break}throw at(new Yr(Qr((Ur(),nht))))}break;case 92:if(r=10,t.d>=t.j)throw at(new Yr(Qr((Ur(),pU))));t.a=Va(t.i,t.d++);break;default:r=0}t.c=r}function LSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt;if(n.Ug("Process compaction",1),!!Ie(Me(X(e,(Cc(),xLt))))){for(s=u(X(e,Mv),88),$=Rt(Ht(X(e,H1t))),nTn(t,e,s),GCn(e,$/2/2),U=e.b,rw(U,new UUt(s)),k=Dr(U,0);k.b!=k.d.c;)if(m=u(Ar(k),39),!Ie(Me(X(m,(ji(),u2))))){if(r=A8n(m,s),J=E7n(m,e),A=0,P=0,r)switch(tt=r.e,s.g){case 2:A=tt.a-$-m.f.a,J.e.a-$-m.f.a<A&&(A=J.e.a-$-m.f.a),P=A+m.f.a;break;case 1:A=tt.a+r.f.a+$,J.e.a+$>A&&(A=J.e.a+J.f.a+$),P=A+m.f.a;break;case 4:A=tt.b-$-m.f.b,J.e.b-$-m.f.b<A&&(A=J.e.b-$-m.f.b),P=A+m.f.b;break;case 3:A=tt.b+r.f.b+$,J.e.b+$>A&&(A=J.e.b+J.f.b+$),P=A+m.f.b}else if(J)switch(s.g){case 2:A=J.e.a-$-m.f.a,P=A+m.f.a;break;case 1:A=J.e.a+J.f.a+$,P=A+m.f.a;break;case 4:A=J.e.b-$-m.f.b,P=A+m.f.b;break;case 3:A=J.e.b+J.f.b+$,P=A+m.f.b}$t(X(e,q1t))===$t((s_(),dP))?(o=A,h=P,d=f7(_i(new ln(null,new gn(t.a,16)),new NXt(o,h))),d.a!=null?s==(Rs(),Uo)||s==tc?m.e.a=A:m.e.b=A:(s==(Rs(),Uo)||s==Gh?d=f7(_i(loe(new ln(null,new gn(t.a,16))),new GUt(o))):d=f7(_i(loe(new ln(null,new gn(t.a,16))),new KUt(o))),d.a!=null&&(s==Uo||s==tc?m.e.a=Rt(Ht((ur(d.a!=null),u(d.a,42)).a)):m.e.b=Rt(Ht((ur(d.a!=null),u(d.a,42)).a)))),d.a!=null&&(T=Xo(t.a,(ur(d.a!=null),d.a),0),T>0&&T!=u(X(m,h0),17).a&&(Zt(m,dLt,(Pn(),!0)),Zt(m,h0,he(T))))):s==(Rs(),Uo)||s==tc?m.e.a=A:m.e.b=A}n.Vg()}}function tbe(t){var e,n,r,s,o,h,d,m,k;for(t.b=1,wi(t),e=null,t.c==0&&t.a==94?(wi(t),e=(yi(),yi(),new ih(4)),iu(e,0,gT),d=new ih(4)):d=(yi(),yi(),new ih(4)),s=!0;(k=t.c)!=1;){if(k==0&&t.a==93&&!s){e&&($_(e,d),d=e);break}if(n=t.a,r=!1,k==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:a3(d,j7(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(a3(d,j7(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(m=M6t(t,n),!m)throw at(new Yr(Qr((Ur(),rht))));a3(d,m),r=!0;break;default:n=fkt(t)}else if(k==24&&!s){if(e&&($_(e,d),d=e),o=tbe(t),$_(d,o),t.c!=0||t.a!=93)throw at(new Yr(Qr((Ur(),vme))));break}if(wi(t),!r){if(k==0){if(n==91)throw at(new Yr(Qr((Ur(),PTt))));if(n==93)throw at(new Yr(Qr((Ur(),FTt))));if(n==45&&!s&&t.a!=93)throw at(new Yr(Qr((Ur(),iht))))}if(t.c!=0||t.a!=45||n==45&&s)iu(d,n,n);else{if(wi(t),(k=t.c)==1)throw at(new Yr(Qr((Ur(),bU))));if(k==0&&t.a==93)iu(d,n,n),iu(d,45,45);else{if(k==0&&t.a==93||k==24)throw at(new Yr(Qr((Ur(),iht))));if(h=t.a,k==0){if(h==91)throw at(new Yr(Qr((Ur(),PTt))));if(h==93)throw at(new Yr(Qr((Ur(),FTt))));if(h==45)throw at(new Yr(Qr((Ur(),iht))))}else k==10&&(h=fkt(t));if(wi(t),n>h)throw at(new Yr(Qr((Ur(),kme))));iu(d,n,h)}}}s=!1}if(t.c==1)throw at(new Yr(Qr((Ur(),bU))));return g5(d),R_(d),t.b=0,wi(t),d}function DSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;if(n.Ug("Coffman-Graham Layering",1),e.a.c.length==0){n.Vg();return}for(Wt=u(X(e,(De(),J_t)),17).a,m=0,h=0,P=new G(e.a);P.a<P.c.c.length;)for(A=u(et(P),10),A.p=m++,o=new rr(sr(_s(A).a.Kc(),new z));Mr(o);)s=u(dr(o),18),s.p=h++;for(t.d=Vt(Fl,$0,28,m,16,1),t.a=Vt(Fl,$0,28,h,16,1),t.b=Vt(Fr,ii,28,m,15,1),t.e=Vt(Fr,ii,28,m,15,1),t.f=Vt(Fr,ii,28,m,15,1),qq(t.c),_yn(t,e),U=new Rz(new lUt(t)),Bt=new G(e.a);Bt.a<Bt.c.c.length;){for(Tt=u(et(Bt),10),o=new rr(sr(ua(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t.a[s.p]||++t.b[Tt.p];t.b[Tt.p]==0&&V6(D7(U,Tt),X7)}for(d=0;U.b.c.length!=0;)for(Tt=u(Yst(U),10),t.f[Tt.p]=d++,o=new rr(sr(_s(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!t.a[s.p]&&(tt=s.d.i,--t.b[tt.p],dn(t.c,tt,he(t.f[Tt.p])),t.b[tt.p]==0&&V6(D7(U,tt),X7));for($=new Rz(new hUt(t)),At=new G(e.a);At.a<At.c.c.length;){for(Tt=u(et(At),10),o=new rr(sr(_s(Tt).a.Kc(),new z));Mr(o);)s=u(dr(o),18),t.a[s.p]||++t.e[Tt.p];t.e[Tt.p]==0&&V6(D7($,Tt),X7)}for(T=new fe,r=Qee(e,T);$.b.c.length!=0;)for(ht=u(Yst($),10),(r.a.c.length>=Wt||!Twn(ht,r))&&(r=Qee(e,T)),Aa(ht,r),o=new rr(sr(ua(ht).a.Kc(),new z));Mr(o);)s=u(dr(o),18),!t.a[s.p]&&(J=s.c.i,--t.e[J.p],t.e[J.p]==0&&V6(D7($,J),X7));for(k=T.c.length-1;k>=0;--k)ge(e.b,(vn(k,T.c.length),u(T.c[k],30)));e.a.c.length=0,n.Vg()}function ebe(t,e){var n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt;Bt=!1;do for(Bt=!1,o=e?new cr(t.a.b).a.gc()-2:1;e?o>=0:o<new cr(t.a.b).a.gc();o+=e?-1:1)for(s=m3t(t.a,he(o)),$=0;$<s.b;$++)if(A=u(jh(s,$),10),!!qi(A,(oe(),Pi))&&!(Myn(t.a,he(o))&&t.r==(cf(),Lv)||Iyn(t.a,he(o))&&t.r==(cf(),N3))){for(At=!0,ht=0;ht<s.b;ht++)tt=u(jh(s,ht),10),qi(tt,Pi)&&(e&&u(X(A,Pi),17).a<u(X(tt,Pi),17).a||!e&&u(X(A,Pi),17).a>u(X(tt,Pi),17).a)&&(At=!1);if(At){for(m=e?o+1:o-1,d=m3t(t.a,he(m)),h=!1,Tt=!0,r=!1,T=Dr(d,0);T.b!=T.d.c;)k=u(Ar(T),10),qi(k,Pi)?k.p!=A.p&&(h=h|(e?u(X(k,Pi),17).a<u(X(A,Pi),17).a:u(X(k,Pi),17).a>u(X(A,Pi),17).a),Tt=!1):!h&&Tt&&k.k==(Un(),Vc)&&(r=!0,e?P=u(dr(new rr(sr(ua(k).a.Kc(),new z))),18).c.i:P=u(dr(new rr(sr(_s(k).a.Kc(),new z))),18).d.i,P==A&&(e?n=u(dr(new rr(sr(_s(k).a.Kc(),new z))),18).d.i:n=u(dr(new rr(sr(ua(k).a.Kc(),new z))),18).c.i,(e?u(Sy(t.a,n),17).a-u(Sy(t.a,P),17).a:u(Sy(t.a,P),17).a-u(Sy(t.a,n),17).a)<=2&&(Tt=!1)));if(r&&Tt&&(e?n=u(dr(new rr(sr(_s(A).a.Kc(),new z))),18).d.i:n=u(dr(new rr(sr(ua(A).a.Kc(),new z))),18).c.i,(e?u(Sy(t.a,n),17).a-u(Sy(t.a,A),17).a:u(Sy(t.a,A),17).a-u(Sy(t.a,n),17).a)<=2&&n.k==(Un(),xs)&&(Tt=!1)),h||Tt){for(J=Ide(t,A,e);J.a.gc()!=0;)U=u(J.a.ec().Kc().Pb(),10),J.a.Bc(U)!=null,Ma(J,Ide(t,U,e));--$,Bt=!0}}}while(Bt)}function MSn(t){zr(t.c,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#decimal"])),zr(t.d,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#integer"])),zr(t.e,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#boolean"])),zr(t.f,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EBoolean",pi,"EBoolean:Object"])),zr(t.i,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#byte"])),zr(t.g,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#hexBinary"])),zr(t.j,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EByte",pi,"EByte:Object"])),zr(t.n,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EChar",pi,"EChar:Object"])),zr(t.t,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#double"])),zr(t.u,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EDouble",pi,"EDouble:Object"])),zr(t.F,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#float"])),zr(t.G,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EFloat",pi,"EFloat:Object"])),zr(t.I,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#int"])),zr(t.J,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EInt",pi,"EInt:Object"])),zr(t.N,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#long"])),zr(t.O,ti,lt(ut(Pe,1),ue,2,6,[Ka,"ELong",pi,"ELong:Object"])),zr(t.Z,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#short"])),zr(t.$,ti,lt(ut(Pe,1),ue,2,6,[Ka,"EShort",pi,"EShort:Object"])),zr(t._,ti,lt(ut(Pe,1),ue,2,6,[Ka,"http://www.w3.org/2001/XMLSchema#string"]))}function ISn(t,e,n,r,s,o,h){var d,m,k,T,A,P,$,U;return P=u(r.a,17).a,$=u(r.b,17).a,A=t.b,U=t.c,d=0,T=0,e==(Rs(),Uo)||e==tc?(T=KM(Vue(Ny(Wo(new ln(null,new gn(n.b,16)),new ltt),new YZ))),A.e.b+A.f.b/2>T?(k=++$,d=Rt(Ht(Vl(My(Wo(new ln(null,new gn(n.b,16)),new BXt(s,k)),new DR))))):(m=++P,d=Rt(Ht(Vl(G6(Wo(new ln(null,new gn(n.b,16)),new RXt(s,m)),new XZ)))))):(T=KM(Vue(Ny(Wo(new ln(null,new gn(n.b,16)),new ZZ),new LR))),A.e.a+A.f.a/2>T?(k=++$,d=Rt(Ht(Vl(My(Wo(new ln(null,new gn(n.b,16)),new PXt(s,k)),new QZ))))):(m=++P,d=Rt(Ht(Vl(G6(Wo(new ln(null,new gn(n.b,16)),new FXt(s,m)),new QD)))))),e==Uo?(ro(t.a,new ae(Rt(Ht(X(A,(ji(),P1))))-s,d)),ro(t.a,new ae(U.e.a+U.f.a+s+o,d)),ro(t.a,new ae(U.e.a+U.f.a+s+o,U.e.b+U.f.b/2)),ro(t.a,new ae(U.e.a+U.f.a,U.e.b+U.f.b/2))):e==tc?(ro(t.a,new ae(Rt(Ht(X(A,(ji(),Xf))))+s,A.e.b+A.f.b/2)),ro(t.a,new ae(A.e.a+A.f.a+s,d)),ro(t.a,new ae(U.e.a-s-o,d)),ro(t.a,new ae(U.e.a-s-o,U.e.b+U.f.b/2)),ro(t.a,new ae(U.e.a,U.e.b+U.f.b/2))):e==Gh?(ro(t.a,new ae(d,Rt(Ht(X(A,(ji(),P1))))-s)),ro(t.a,new ae(d,U.e.b+U.f.b+s+o)),ro(t.a,new ae(U.e.a+U.f.a/2,U.e.b+U.f.b+s+o)),ro(t.a,new ae(U.e.a+U.f.a/2,U.e.b+U.f.b+s))):(t.a.b==0||(u(Pf(t.a),8).b=Rt(Ht(X(A,(ji(),Xf))))+s*u(h.b,17).a),ro(t.a,new ae(d,Rt(Ht(X(A,(ji(),Xf))))+s*u(h.b,17).a)),ro(t.a,new ae(d,U.e.b-s*u(h.a,17).a-o))),new Ws(he(P),he($))}function OSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$;if(h=!0,A=null,r=null,s=null,e=!1,$=pTe,k=null,o=null,d=0,m=eot(t,d,BIt,RIt),m<t.length&&(qn(m,t.length),t.charCodeAt(m)==58)&&(A=(Da(d,m,t.length),t.substr(d,m-d)),d=m+1),n=A!=null&&BM(WK,A.toLowerCase()),n){if(m=t.lastIndexOf("!/"),m==-1)throw at(new zn("no archive separator"));h=!0,r=Lh(t,d,++m),d=m}else d>=0&&hn(t.substr(d,2),"//")?(d+=2,m=eot(t,d,CL,SL),r=(Da(d,m,t.length),t.substr(d,m-d)),d=m):A!=null&&(d==t.length||(qn(d,t.length),t.charCodeAt(d)!=47))&&(h=!1,m=qmt(t,Hu(35),d),m==-1&&(m=t.length),r=(Da(d,m,t.length),t.substr(d,m-d)),d=m);if(!n&&d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(m=eot(t,d+1,CL,SL),T=(Da(d+1,m,t.length),t.substr(d+1,m-(d+1))),T.length>0&&Va(T,T.length-1)==58&&(s=T,d=m)),d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(++d,e=!0),d<t.length&&(qn(d,t.length),t.charCodeAt(d)!=63)&&(qn(d,t.length),t.charCodeAt(d)!=35)){for(P=new fe;d<t.length&&(qn(d,t.length),t.charCodeAt(d)!=63)&&(qn(d,t.length),t.charCodeAt(d)!=35);)m=eot(t,d,CL,SL),ge(P,(Da(d,m,t.length),t.substr(d,m-d))),d=m,d<t.length&&(qn(d,t.length),t.charCodeAt(d)==47)&&(Obn(t,++d)||P.c.push(""));$=Vt(Pe,ue,2,P.c.length,6,1),ld(P,$)}return d<t.length&&(qn(d,t.length),t.charCodeAt(d)==63)&&(m=TE(t,35,++d),m==-1&&(m=t.length),k=(Da(d,m,t.length),t.substr(d,m-d)),d=m),d<t.length&&(o=Iyt(t,++d)),h9n(h,A,r,s,$,k),new nct(h,A,r,s,e,$,k,o)}function nbe(){nbe=V,Ict(),oi=new Fm,dn(oi,(ve(),e1),Cd),dn(oi,wf,Cd),dn(oi,yl,Cd),dn(oi,n1,Cd),dn(oi,Ku,Cd),dn(oi,xl,Cd),dn(oi,n1,e1),dn(oi,Cd,Kh),dn(oi,e1,Kh),dn(oi,wf,Kh),dn(oi,yl,Kh),dn(oi,Gu,Kh),dn(oi,n1,Kh),dn(oi,Ku,Kh),dn(oi,xl,Kh),dn(oi,Ou,Kh),dn(oi,Cd,wh),dn(oi,e1,wh),dn(oi,Kh,wh),dn(oi,wf,wh),dn(oi,yl,wh),dn(oi,Gu,wh),dn(oi,n1,wh),dn(oi,Ou,wh),dn(oi,mh,wh),dn(oi,Ku,wh),dn(oi,cl,wh),dn(oi,xl,wh),dn(oi,e1,wf),dn(oi,yl,wf),dn(oi,n1,wf),dn(oi,xl,wf),dn(oi,e1,yl),dn(oi,wf,yl),dn(oi,n1,yl),dn(oi,yl,yl),dn(oi,Ku,yl),dn(oi,Cd,Wh),dn(oi,e1,Wh),dn(oi,Kh,Wh),dn(oi,wh,Wh),dn(oi,wf,Wh),dn(oi,yl,Wh),dn(oi,Gu,Wh),dn(oi,n1,Wh),dn(oi,mh,Wh),dn(oi,Ou,Wh),dn(oi,xl,Wh),dn(oi,Ku,Wh),dn(oi,fu,Wh),dn(oi,Cd,mh),dn(oi,e1,mh),dn(oi,Kh,mh),dn(oi,wf,mh),dn(oi,yl,mh),dn(oi,Gu,mh),dn(oi,n1,mh),dn(oi,Ou,mh),dn(oi,xl,mh),dn(oi,cl,mh),dn(oi,fu,mh),dn(oi,e1,Ou),dn(oi,wf,Ou),dn(oi,yl,Ou),dn(oi,n1,Ou),dn(oi,mh,Ou),dn(oi,xl,Ou),dn(oi,Ku,Ou),dn(oi,Cd,Uu),dn(oi,e1,Uu),dn(oi,Kh,Uu),dn(oi,wf,Uu),dn(oi,yl,Uu),dn(oi,Gu,Uu),dn(oi,n1,Uu),dn(oi,Ou,Uu),dn(oi,xl,Uu),dn(oi,e1,Ku),dn(oi,Kh,Ku),dn(oi,wh,Ku),dn(oi,yl,Ku),dn(oi,Cd,cl),dn(oi,e1,cl),dn(oi,wh,cl),dn(oi,wf,cl),dn(oi,yl,cl),dn(oi,Gu,cl),dn(oi,n1,cl),dn(oi,n1,fu),dn(oi,yl,fu),dn(oi,Ou,Cd),dn(oi,Ou,wf),dn(oi,Ou,Kh),dn(oi,Gu,Cd),dn(oi,Gu,e1),dn(oi,Gu,wh)}function NSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se;switch(n.Ug("Brandes & Koepf node placement",1),t.a=e,t.c=b7n(e),r=u(X(e,(De(),o1t)),281),$=Ie(Me(X(e,BA))),t.d=r==(AO(),TG)&&!$||r==Rft,a9n(t,e),Wt=null,se=null,ht=null,Tt=null,tt=(oh(4,c3),new wu(4)),u(X(e,o1t),281).g){case 3:ht=new m5(e,t.c.d,(nd(),Fw),(Gd(),Gp)),In(tt.c,ht);break;case 1:Tt=new m5(e,t.c.d,(nd(),yd),(Gd(),Gp)),In(tt.c,Tt);break;case 4:Wt=new m5(e,t.c.d,(nd(),Fw),(Gd(),Dv)),In(tt.c,Wt);break;case 2:se=new m5(e,t.c.d,(nd(),yd),(Gd(),Dv)),In(tt.c,se);break;default:ht=new m5(e,t.c.d,(nd(),Fw),(Gd(),Gp)),Tt=new m5(e,t.c.d,yd,Gp),Wt=new m5(e,t.c.d,Fw,Dv),se=new m5(e,t.c.d,yd,Dv),In(tt.c,Wt),In(tt.c,se),In(tt.c,ht),In(tt.c,Tt)}for(s=new CXt(e,t.c),d=new G(tt);d.a<d.c.c.length;)o=u(et(d),185),YCn(s,o,t.b),G7n(o);for(P=new Fhe(e,t.c),m=new G(tt);m.a<m.c.c.length;)o=u(et(m),185),m9n(P,o);if(n._g())for(k=new G(tt);k.a<k.c.c.length;)o=u(et(k),185),n.bh(o+" size is "+Xot(o));if(A=null,t.d&&(T=$Cn(t,tt,t.c.d),Dge(e,T,n)&&(A=T)),!A)for(k=new G(tt);k.a<k.c.c.length;)o=u(et(k),185),Dge(e,o,n)&&(!A||Xot(A)>Xot(o))&&(A=o);for(!A&&(A=(vn(0,tt.c.length),u(tt.c[0],185))),J=new G(e.b);J.a<J.c.c.length;)for(U=u(et(J),30),Bt=new G(U.a);Bt.a<Bt.c.c.length;)At=u(et(Bt),10),At.n.b=Rt(A.p[At.p])+Rt(A.d[At.p]);for(n._g()&&(n.bh("Chosen node placement: "+A),n.bh("Blocks: "+G1e(A)),n.bh("Classes: "+Dxn(A,n)),n.bh("Marked edges: "+t.b)),h=new G(tt);h.a<h.c.c.length;)o=u(et(h),185),o.g=null,o.b=null,o.a=null,o.d=null,o.j=null,o.i=null,o.p=null;U1n(t.c),t.b.a.$b(),n.Vg()}function PSn(t){var e,n,r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;if(t.c.length==1)return Zhe((vn(0,t.c.length),u(t.c[0],121))),vn(0,t.c.length),u(t.c[0],121);if(t.c.length<=0)return new FI;for(m=new G(t);m.a<m.c.c.length;){for(h=u(et(m),121),Tt=0,U=xi,J=xi,P=Ga,$=Ga,ht=Dr(h.b,0);ht.b!=ht.d.c;)tt=u(Ar(ht),39),Tt+=u(X(tt,(Cc(),uK)),17).a,U=b.Math.min(U,tt.e.a),J=b.Math.min(J,tt.e.b),P=b.Math.max(P,tt.e.a+tt.f.a),$=b.Math.max($,tt.e.b+tt.f.b);Zt(h,(Cc(),uK),he(Tt)),Zt(h,(ji(),zT),new ae(U,J)),Zt(h,gP,new ae(P,$))}for(mn(),Ds(t,new LZ),Wt=new FI,Qo(Wt,(vn(0,t.c.length),u(t.c[0],96))),A=0,On=0,k=new G(t);k.a<k.c.c.length;)h=u(et(k),121),se=ia(Oa(u(X(h,(ji(),gP)),8)),u(X(h,zT),8)),A=b.Math.max(A,se.a),On+=se.a*se.b;for(A=b.Math.max(A,b.Math.sqrt(On)*Rt(Ht(X(Wt,(Cc(),e8e))))),Ce=Rt(Ht(X(Wt,H1t))),Dn=0,er=0,T=0,e=Ce,d=new G(t);d.a<d.c.c.length;)h=u(et(d),121),se=ia(Oa(u(X(h,(ji(),gP)),8)),u(X(h,zT),8)),Dn+se.a>A&&(Dn=0,er+=T+Ce,T=0),U0e(Wt,h,Dn,er),e=b.Math.max(e,Dn+se.a),T=b.Math.max(T,se.b),Dn+=se.a+Ce;for(Bt=new _r,n=new _r,Ze=new G(t);Ze.a<Ze.c.c.length;)for(rn=u(et(Ze),121),r=Ie(Me(X(rn,(ai(),SP)))),At=rn.q?rn.q:q0,o=At.vc().Kc();o.Ob();)s=u(o.Pb(),44),Tu(Bt,s.ld())?$t(u(s.ld(),149).Sg())!==$t(s.md())&&(r&&Tu(n,s.ld())?(pg(),""+u(s.ld(),149).Pg()):(hi(Bt,u(s.ld(),149),s.md()),Zt(Wt,u(s.ld(),149),s.md()),r&&hi(n,u(s.ld(),149),s.md()))):(hi(Bt,u(s.ld(),149),s.md()),Zt(Wt,u(s.ld(),149),s.md()));return Zhe(Wt),Wt}function vV(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new Ene(t.b,t.a,e,t.c);case 1:return new az(t.a,e,ns(e.Dh(),t.c));case 43:return new pJt(t.a,e,ns(e.Dh(),t.c));case 3:return new Ps(t.a,e,ns(e.Dh(),t.c));case 45:return new Ju(t.a,e,ns(e.Dh(),t.c));case 41:return new nl(u(of(t.c),29),t.a,e,ns(e.Dh(),t.c));case 50:return new Boe(u(of(t.c),29),t.a,e,ns(e.Dh(),t.c));case 5:return new vvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 47:return new AZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 7:return new Jt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 49:return new z6(t.a,e,ns(e.Dh(),t.c),t.d.n);case 9:return new gJt(t.a,e,ns(e.Dh(),t.c));case 11:return new dJt(t.a,e,ns(e.Dh(),t.c));case 13:return new Omt(t.a,e,ns(e.Dh(),t.c));case 15:return new kz(t.a,e,ns(e.Dh(),t.c));case 17:return new bJt(t.a,e,ns(e.Dh(),t.c));case 19:return new G4(t.a,e,ns(e.Dh(),t.c));case 21:return new Nmt(t.a,e,ns(e.Dh(),t.c));case 23:return new mI(t.a,e,ns(e.Dh(),t.c));case 25:return new MZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 27:return new kn(t.a,e,ns(e.Dh(),t.c),t.d.n);case 29:return new DZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 31:return new LZt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 33:return new xvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 35:return new yvt(t.a,e,ns(e.Dh(),t.c),t.d.n);case 37:return new git(t.a,e,ns(e.Dh(),t.c),t.d.n);case 39:return new jz(t.a,e,ns(e.Dh(),t.c),t.d.n);case 40:return new ps(e,ns(e.Dh(),t.c));default:throw at(new uc("Unknown feature style: "+t.e))}}function rbe(t){var e,n,r,s,o,h,d,m;for(o=0,s=t.a.b,m=Dr(t.a,0);m.b!=m.d.c;){if(d=u(Ar(m),240),h=(o+1)/(s+1),!t.c&&!t.d)return;t.c&&!t.d?(t.g=!0,t.b==(Rs(),Uo)?(r=t.c.e.b+t.c.f.b+t.e*(o+1),e=new ae(Rt(Ht(X(t.c,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.c,P1)))-t.e,r)):t.b==tc?(r=t.c.e.b+t.c.f.b+t.e*(o+1),e=new ae(Rt(Ht(X(t.c,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.c,Xf)))+t.e,r)):t.b==Gh?(r=t.c.e.a+t.c.f.a+t.e*(o+1),e=new ae(r,Rt(Ht(X(t.c,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.c,P1)))-t.e)):(r=t.c.e.a+t.c.f.a+t.e*(o+1),e=new ae(r,Rt(Ht(X(t.c,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.c,Xf)))+t.e))):t.c&&t.d?t.b==(Rs(),Uo)?(r=t.d.e.b*h+(t.c.e.b+t.c.f.b)*(1-h),e=new ae(Rt(Ht(X(t.c,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.c,P1)))-t.e,r)):t.b==tc?(r=t.d.e.b*h+(t.c.e.b+t.c.f.b)*(1-h),e=new ae(Rt(Ht(X(t.c,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.c,Xf)))+t.e,r)):t.b==Gh?(r=t.d.e.a*h+(t.c.e.a+t.c.f.a)*(1-h),e=new ae(r,Rt(Ht(X(t.c,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.c,P1)))-t.e)):(r=t.d.e.a*h+(t.c.e.a+t.c.f.a)*(1-h),e=new ae(r,Rt(Ht(X(t.c,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.c,Xf)))+t.e)):(t.f=!0,t.b==(Rs(),Uo)?(r=t.d.e.b-t.e*(o+1),e=new ae(Rt(Ht(X(t.d,(ji(),Xf))))+t.e,r),n=new ae(Rt(Ht(X(t.d,P1)))-t.e,r)):t.b==tc?(r=t.d.e.b-t.e*(o+1),e=new ae(Rt(Ht(X(t.d,(ji(),P1))))-t.e,r),n=new ae(Rt(Ht(X(t.d,Xf)))+t.e,r)):t.b==Gh?(r=t.d.e.a-t.e*(o+1),e=new ae(r,Rt(Ht(X(t.d,(ji(),Xf))))+t.e),n=new ae(r,Rt(Ht(X(t.d,P1)))-t.e)):(r=t.d.e.a-t.e*(o+1),e=new ae(r,Rt(Ht(X(t.d,(ji(),P1))))-t.e),n=new ae(r,Rt(Ht(X(t.d,Xf)))+t.e))),u(d.a,8).a=e.a,u(d.a,8).b=e.b,d.b.a=n.a,d.b.b=n.b,++o}}function FSn(t,e,n,r,s,o){var h,d,m,k,T,A,P,$,U,J,tt,ht;switch(e){case 71:d=r.q.getFullYear()-Wb>=-1900?1:0,n>=4?ni(t,lt(ut(Pe,1),ue,2,6,[mbe,vbe])[d]):ni(t,lt(ut(Pe,1),ue,2,6,["BC","AD"])[d]);break;case 121:Zwn(t,n,r);break;case 77:mEn(t,n,r);break;case 107:m=s.q.getHours(),m==0?M0(t,24,n):M0(t,m,n);break;case 83:M6n(t,n,s);break;case 69:T=r.q.getDay(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["S","M","T","W","T","F","S"])[T]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut])[T]):ni(t,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?ni(t,lt(ut(Pe,1),ue,2,6,["AM","PM"])[1]):ni(t,lt(ut(Pe,1),ue,2,6,["AM","PM"])[0]);break;case 104:A=s.q.getHours()%12,A==0?M0(t,12,n):M0(t,A,n);break;case 75:P=s.q.getHours()%12,M0(t,P,n);break;case 72:$=s.q.getHours(),M0(t,$,n);break;case 99:U=r.q.getDay(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["S","M","T","W","T","F","S"])[U]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[Zct,tut,eut,nut,rut,iut,sut])[U]):n==3?ni(t,lt(ut(Pe,1),ue,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[U]):M0(t,U,1);break;case 76:J=r.q.getMonth(),n==5?ni(t,lt(ut(Pe,1),ue,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[J]):n==4?ni(t,lt(ut(Pe,1),ue,2,6,[qct,Hct,Vct,Uct,Tk,Gct,Kct,Wct,Yct,Xct,Qct,Jct])[J]):n==3?ni(t,lt(ut(Pe,1),ue,2,6,["Jan","Feb","Mar","Apr",Tk,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[J]):M0(t,J+1,n);break;case 81:tt=r.q.getMonth()/3|0,n<4?ni(t,lt(ut(Pe,1),ue,2,6,["Q1","Q2","Q3","Q4"])[tt]):ni(t,lt(ut(Pe,1),ue,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[tt]);break;case 100:ht=r.q.getDate(),M0(t,ht,n);break;case 109:k=s.q.getMinutes(),M0(t,k,n);break;case 115:h=s.q.getSeconds(),M0(t,h,n);break;case 122:n<4?ni(t,o.c[0]):ni(t,o.c[1]);break;case 118:ni(t,o.b);break;case 90:n<3?ni(t,T5n(o)):n==3?ni(t,L5n(o)):ni(t,D5n(o.a));break;default:return!1}return!0}function a8t(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr;if(N0e(e),m=u(Dt((!e.b&&(e.b=new kn(vr,e,4,7)),e.b),0),84),T=u(Dt((!e.c&&(e.c=new kn(vr,e,5,8)),e.c),0),84),d=Jo(m),k=Jo(T),h=(!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a).i==0?null:u(Dt((!e.a&&(e.a=new Jt(Wi,e,6,6)),e.a),0),166),Ce=u(tr(t.a,d),10),Dn=u(tr(t.a,k),10),rn=null,er=null,Lt(m,193)&&(se=u(tr(t.a,m),304),Lt(se,12)?rn=u(se,12):Lt(se,10)&&(Ce=u(se,10),rn=u(Oe(Ce.j,0),12))),Lt(T,193)&&(On=u(tr(t.a,T),304),Lt(On,12)?er=u(On,12):Lt(On,10)&&(Dn=u(On,10),er=u(Oe(Dn.j,0),12))),!Ce||!Dn)throw at(new L6("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(J=new Pm,Qo(J,e),Zt(J,(oe(),Li),e),Zt(J,(De(),Vo),null),$=u(X(r,lu),21),Ce==Dn&&$.Fc((Co(),DA)),rn||(Wt=(To(),ku),Ze=null,h&&z4(u(X(Ce,bs),101))&&(Ze=new ae(h.j,h.k),Eie(Ze,AI(e)),Qie(Ze,n),qy(k,d)&&(Wt=vl,ki(Ze,Ce.n))),rn=Pge(Ce,Ze,Wt,r)),er||(Wt=(To(),vl),Jr=null,h&&z4(u(X(Dn,bs),101))&&(Jr=new ae(h.b,h.c),Eie(Jr,AI(e)),Qie(Jr,n)),er=Pge(Dn,Jr,Wt,Pa(Dn))),Xa(J,rn),xa(J,er),(rn.e.c.length>1||rn.g.c.length>1||er.e.c.length>1||er.g.c.length>1)&&$.Fc((Co(),LA)),P=new Zn((!e.n&&(e.n=new Jt(Po,e,1,7)),e.n));P.e!=P.i.gc();)if(A=u(ar(P),135),!Ie(Me(ne(A,Nw)))&&A.a)switch(tt=Pat(A),ge(J.b,tt),u(X(tt,l0),278).g){case 1:case 2:$.Fc((Co(),LT));break;case 0:$.Fc((Co(),AT)),Zt(tt,l0,(cd(),GT))}if(o=u(X(r,FA),322),ht=u(X(r,UG),323),s=o==(QS(),QN)||ht==(w_(),y1t),h&&(!h.a&&(h.a=new Ps(vh,h,5)),h.a).i!=0&&s){for(Tt=MO(h),U=new Qu,Bt=Dr(Tt,0);Bt.b!=Bt.d.c;)At=u(Ar(Bt),8),Zr(U,new io(At));Zt(J,t_t,U)}return J}function BSn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is;for(Ze=0,On=0,Ce=new _r,Wt=u(Vl(My(Wo(new ln(null,new gn(t.b,16)),new JZ),new stt)),17).a+1,rn=Vt(Fr,ii,28,Wt,15,1),tt=Vt(Fr,ii,28,Wt,15,1),J=0;J<Wt;J++)rn[J]=0,tt[J]=0;for(m=u(nc(r3t(new ln(null,new gn(t.a,16))),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),T=m.Kc();T.Ob();)if(k=u(T.Pb(),65),er=u(X(k.b,(Cc(),h0)),17).a,is=u(X(k.c,h0),17).a,Bt=is-er,Bt>1)for(d=er+1;d<is;d++){if(A=d,se=u(nc(_i(new ln(null,new gn(t.b,16)),new tGt(A)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[sc]))),15),U=0,e==(Rs(),Uo)||e==tc){for(se.jd(new rtt),U=0;U<se.gc()&&(ht=(d-er)/(is-er),!(u(se.Xb(U),39).e.b>k.b.e.b*(1-ht)+k.c.e.b*ht));U++);if(se.gc()>0&&(Jr=k.a.b==0?Oa(k.b.e):u(Pf(k.a),8),At=ki(Oa(u(se.Xb(se.gc()-1),39).e),u(se.Xb(se.gc()-1),39).f),P=ki(Oa(u(se.Xb(0),39).e),u(se.Xb(0),39).f),U>=se.gc()-1&&Jr.b>At.b&&k.c.e.b>At.b||U<=0&&Jr.b<P.a&&k.c.e.b<P.b))continue}else{for(se.jd(new itt),U=0;U<se.gc()&&(ht=(d-er)/(is-er),!(u(se.Xb(U),39).e.a>k.b.e.a*(1-ht)+k.c.e.a*ht));U++);if(se.gc()>0&&(Jr=k.a.b==0?Oa(k.b.e):u(Pf(k.a),8),At=ki(Oa(u(se.Xb(se.gc()-1),39).e),u(se.Xb(se.gc()-1),39).f),P=ki(Oa(u(se.Xb(0),39).e),u(se.Xb(0),39).f),U>=se.gc()-1&&Jr.a>At.a&&k.c.e.a>At.a||U<=0&&Jr.a<P.a&&k.c.e.a<P.a))continue}s=new Sa,o=new Sa,Zr(k.a,s),Zr(k.a,o),h=new xit(s,o,k),Tt=T1(Rf(d,32),sa(U,So)),Tu(Ce,Mg(Tt))?($=u(tr(Ce,Mg(Tt)),675),Zr($.a,h),bg($.b)?rw($.a,new htt):rw($.a,new ftt),rbe($)):($=new bhe(U==0?null:u(se.Xb(U-1),39),U==se.gc()?null:u(se.Xb(U),39),h,t),hi(Ce,Mg(Tt),$)),e==Uo||e==tc?($.f&&$.d.e.b<=Rt(Ht(X(t,(ji(),j1t))))&&++Ze,$.g&&$.c.e.b+$.c.f.b>=Rt(Ht(X(t,(ji(),bLt))))&&++On):($.f&&$.d.e.a<=Rt(Ht(X(t,(ji(),R1t))))&&++Ze,$.g&&$.c.e.a+$.c.f.a>=Rt(Ht(X(t,(ji(),pLt))))&&++On)}else Bt==0?A6t(k):Bt<0&&(++rn[er],++tt[is],Dn=ISn(k,e,t,new Ws(he(Ze),he(On)),n,r,new Ws(he(tt[is]),he(rn[er]))),Ze=u(Dn.a,17).a,On=u(Dn.b,17).a)}function RSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt;if(r=e,m=n,t.b&&r.j==(ve(),Gn)&&m.j==(ve(),Gn)&&(Tt=r,r=m,m=Tt),Tu(t.a,r)){if(x1(u(tr(t.a,r),49),m))return 1}else hi(t.a,r,new Os);if(Tu(t.a,m)){if(x1(u(tr(t.a,m),49),r))return-1}else hi(t.a,m,new Os);if(Tu(t.d,r)){if(x1(u(tr(t.d,r),49),m))return-1}else hi(t.d,r,new Os);if(Tu(t.d,m)){if(x1(u(tr(t.a,m),49),r))return 1}else hi(t.d,m,new Os);if(r.j!=m.j)return ht=Sin(r.j,m.j),ht==-1?$h(t,m,r):$h(t,r,m),ht;if(r.e.c.length!=0&&m.e.c.length!=0){if(t.b&&(ht=mue(r,m),ht!=0))return ht==-1?$h(t,m,r):ht==1&&$h(t,r,m),ht;if(o=u(Oe(r.e,0),18).c.i,T=u(Oe(m.e,0),18).c.i,o==T)return s=u(X(u(Oe(r.e,0),18),(oe(),Pi)),17).a,k=u(X(u(Oe(m.e,0),18),Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0;for(U=t.c,J=0,tt=U.length;J<tt;++J){if($=U[J],$==o)return $h(t,r,m),1;if($==T)return $h(t,m,r),-1}}return r.g.c.length!=0&&m.g.c.length!=0?(d=u(X(r,(oe(),Kft)),10),P=u(X(m,Kft),10),t.e==(Wd(),E1t)&&d&&P&&qi(d,Pi)&&qi(P,Pi)?(s=u(X(d,Pi),17).a,k=u(X(P,Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0):t.b&&(ht=mue(r,m),ht!=0)?(ht==-1?$h(t,m,r):ht==1&&$h(t,r,m),ht):(h=0,A=0,qi(u(Oe(r.g,0),18),Pi)&&(h=u(X(u(Oe(r.g,0),18),Pi),17).a),qi(u(Oe(m.g,0),18),Pi)&&(A=u(X(u(Oe(r.g,0),18),Pi),17).a),d&&d==P?Ie(Me(X(u(Oe(r.g,0),18),vd)))&&!Ie(Me(X(u(Oe(m.g,0),18),vd)))?($h(t,r,m),1):!Ie(Me(X(u(Oe(r.g,0),18),vd)))&&Ie(Me(X(u(Oe(m.g,0),18),vd)))?($h(t,m,r),-1):(h>A?$h(t,r,m):$h(t,m,r),h<A?-1:h>A?1:0):(t.f&&(t.f._b(d)&&(h=u(t.f.xc(d),17).a),t.f._b(P)&&(A=u(t.f.xc(P),17).a)),h>A?$h(t,r,m):$h(t,m,r),h<A?-1:h>A?1:0))):r.e.c.length!=0&&m.g.c.length!=0?($h(t,r,m),1):r.g.c.length!=0&&m.e.c.length!=0?($h(t,m,r),-1):qi(r,(oe(),Pi))&&qi(m,Pi)?(s=u(X(r,Pi),17).a,k=u(X(m,Pi),17).a,s>k?$h(t,r,m):$h(t,m,r),s<k?-1:s>k?1:0):($h(t,m,r),-1)}function jSn(t){t.gb||(t.gb=!0,t.b=Tc(t,0),fs(t.b,18),Vi(t.b,19),t.a=Tc(t,1),fs(t.a,1),Vi(t.a,2),Vi(t.a,3),Vi(t.a,4),Vi(t.a,5),t.o=Tc(t,2),fs(t.o,8),fs(t.o,9),Vi(t.o,10),Vi(t.o,11),Vi(t.o,12),Vi(t.o,13),Vi(t.o,14),Vi(t.o,15),Vi(t.o,16),Vi(t.o,17),Vi(t.o,18),Vi(t.o,19),Vi(t.o,20),Vi(t.o,21),Vi(t.o,22),Vi(t.o,23),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),zo(t.o),t.p=Tc(t,3),fs(t.p,2),fs(t.p,3),fs(t.p,4),fs(t.p,5),Vi(t.p,6),Vi(t.p,7),zo(t.p),zo(t.p),t.q=Tc(t,4),fs(t.q,8),t.v=Tc(t,5),Vi(t.v,9),zo(t.v),zo(t.v),zo(t.v),t.w=Tc(t,6),fs(t.w,2),fs(t.w,3),fs(t.w,4),Vi(t.w,5),t.B=Tc(t,7),Vi(t.B,1),zo(t.B),zo(t.B),zo(t.B),t.Q=Tc(t,8),Vi(t.Q,0),zo(t.Q),t.R=Tc(t,9),fs(t.R,1),t.S=Tc(t,10),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),zo(t.S),t.T=Tc(t,11),Vi(t.T,10),Vi(t.T,11),Vi(t.T,12),Vi(t.T,13),Vi(t.T,14),zo(t.T),zo(t.T),t.U=Tc(t,12),fs(t.U,2),fs(t.U,3),Vi(t.U,4),Vi(t.U,5),Vi(t.U,6),Vi(t.U,7),zo(t.U),t.V=Tc(t,13),Vi(t.V,10),t.W=Tc(t,14),fs(t.W,18),fs(t.W,19),fs(t.W,20),Vi(t.W,21),Vi(t.W,22),Vi(t.W,23),t.bb=Tc(t,15),fs(t.bb,10),fs(t.bb,11),fs(t.bb,12),fs(t.bb,13),fs(t.bb,14),fs(t.bb,15),fs(t.bb,16),Vi(t.bb,17),zo(t.bb),zo(t.bb),t.eb=Tc(t,16),fs(t.eb,2),fs(t.eb,3),fs(t.eb,4),fs(t.eb,5),fs(t.eb,6),fs(t.eb,7),Vi(t.eb,8),Vi(t.eb,9),t.ab=Tc(t,17),fs(t.ab,0),fs(t.ab,1),t.H=Tc(t,18),Vi(t.H,0),Vi(t.H,1),Vi(t.H,2),Vi(t.H,3),Vi(t.H,4),Vi(t.H,5),zo(t.H),t.db=Tc(t,19),Vi(t.db,2),t.c=di(t,20),t.d=di(t,21),t.e=di(t,22),t.f=di(t,23),t.i=di(t,24),t.g=di(t,25),t.j=di(t,26),t.k=di(t,27),t.n=di(t,28),t.r=di(t,29),t.s=di(t,30),t.t=di(t,31),t.u=di(t,32),t.fb=di(t,33),t.A=di(t,34),t.C=di(t,35),t.D=di(t,36),t.F=di(t,37),t.G=di(t,38),t.I=di(t,39),t.J=di(t,40),t.L=di(t,41),t.M=di(t,42),t.N=di(t,43),t.O=di(t,44),t.P=di(t,45),t.X=di(t,46),t.Y=di(t,47),t.Z=di(t,48),t.$=di(t,49),t._=di(t,50),t.cb=di(t,51),t.K=di(t,52))}function $Sn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er;for(h=new Ki,se=u(X(n,(De(),ph)),88),J=0,Ma(h,(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));h.b!=0;)T=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),27),k=Ji(T),($t(ne(k,U0))!==$t((Wd(),Up))||$t(ne(k,Dw))===$t((Ip(),ST))||$t(ne(k,Dw))===$t((Ip(),CT))||Ie(Me(ne(k,Ev)))||$t(ne(k,_3))!==$t((lw(),x3))||$t(ne(k,a2))===$t((cf(),Lv))||$t(ne(k,a2))===$t((cf(),N3))||$t(ne(k,Iw))===$t((Bp(),RT))||$t(ne(k,Iw))===$t((Bp(),jT)))&&!Ie(Me(ne(T,BG)))&&Mi(T,(oe(),Pi),he(J++)),ht=!Ie(Me(ne(T,Nw))),ht&&(P=(!T.a&&(T.a=new Jt(bi,T,10,11)),T.a).i!=0,U=p3n(T),$=$t(ne(T,A3))===$t((Ag(),Xp)),er=!ad(T,(ai(),VT))||sse(Gr(ne(T,VT))),Bt=null,er&&$&&(P||U)&&(Bt=pge(T),Zt(Bt,ph,se),qi(Bt,sP)&&pWt(new V5t(Rt(Ht(X(Bt,sP)))),Bt),u(ne(T,Ow),181).gc()!=0&&(A=Bt,ms(new ln(null,(!T.c&&(T.c=new Jt(kl,T,9,9)),new gn(T.c,16))),new kVt(A)),o0e(T,Bt))),Ce=n,rn=u(tr(t.a,Ji(T)),10),rn&&(Ce=rn.e),At=qpe(t,T,Ce),Bt&&(At.e=Bt,Bt.e=At,Ma(h,(!T.a&&(T.a=new Jt(bi,T,10,11)),T.a))));for(J=0,hs(h,e,h.c.b,h.c);h.b!=0;){for(o=u(h.b==0?null:(ur(h.b!=0),Oh(h,h.a.a)),27),m=new Zn((!o.b&&(o.b=new Jt(Ts,o,12,3)),o.b));m.e!=m.i.gc();)d=u(ar(m),74),N0e(d),($t(ne(e,U0))!==$t((Wd(),Up))||$t(ne(e,Dw))===$t((Ip(),ST))||$t(ne(e,Dw))===$t((Ip(),CT))||Ie(Me(ne(e,Ev)))||$t(ne(e,_3))!==$t((lw(),x3))||$t(ne(e,a2))===$t((cf(),Lv))||$t(ne(e,a2))===$t((cf(),N3))||$t(ne(e,Iw))===$t((Bp(),RT))||$t(ne(e,Iw))===$t((Bp(),jT)))&&Mi(d,(oe(),Pi),he(J++)),On=Jo(u(Dt((!d.b&&(d.b=new kn(vr,d,4,7)),d.b),0),84)),Dn=Jo(u(Dt((!d.c&&(d.c=new kn(vr,d,5,8)),d.c),0),84)),!(Ie(Me(ne(d,Nw)))||Ie(Me(ne(On,Nw)))||Ie(Me(ne(Dn,Nw))))&&(tt=Zm(d)&&Ie(Me(ne(On,L3)))&&Ie(Me(ne(d,Mw))),Wt=o,tt||qy(Dn,On)?Wt=On:qy(On,Dn)&&(Wt=Dn),Ce=n,rn=u(tr(t.a,Wt),10),rn&&(Ce=rn.e),Tt=a8t(t,d,Wt,Ce),Zt(Tt,(oe(),XSt),$kn(t,d,e,n)));if($=$t(ne(o,A3))===$t((Ag(),Xp)),$)for(s=new Zn((!o.a&&(o.a=new Jt(bi,o,10,11)),o.a));s.e!=s.i.gc();)r=u(ar(s),27),er=!ad(r,(ai(),VT))||sse(Gr(ne(r,VT))),Ze=$t(ne(r,A3))===$t(Xp),er&&Ze&&hs(h,r,h.c.b,h.c)}}function oe(){oe=V;var t,e;Li=new Oi(G8t),XSt=new Oi("coordinateOrigin"),Yft=new Oi("processors"),YSt=new rs("compoundNode",(Pn(),!1)),eP=new rs("insideConnections",!1),t_t=new Oi("originalBendpoints"),e_t=new Oi("originalDummyNodePosition"),n_t=new Oi("originalLabelEdge"),IA=new Oi("representedLabels"),MA=new Oi("endLabels"),Vk=new Oi("endLabel.origin"),Gk=new rs("labelSide",(uh(),NP)),V5=new rs("maxEdgeThickness",0),vd=new rs("reversed",!1),Kk=new Oi(s2e),N1=new rs("longEdgeSource",null),gf=new rs("longEdgeTarget",null),C3=new rs("longEdgeHasLabelDummies",!1),nP=new rs("longEdgeBeforeLabelDummy",!1),DG=new rs("edgeConstraint",(ow(),Ift)),yv=new Oi("inLayerLayoutUnit"),Aw=new rs("inLayerConstraint",(Cg(),ZN)),Uk=new rs("inLayerSuccessorConstraint",new fe),ZSt=new rs("inLayerSuccessorConstraintBetweenNonDummies",!1),ml=new Oi("portDummy"),LG=new rs("crossingHint",he(0)),lu=new rs("graphProperties",(e=u(y1(jft),9),new _h(e,u(Ff(e,e.length),9),0))),Dc=new rs("externalPortSide",(ve(),bc)),JSt=new rs("externalPortSize",new Sa),Vft=new Oi("externalPortReplacedDummies"),MG=new Oi("externalPortReplacedDummy"),$g=new rs("externalPortConnections",(t=u(y1(bo),9),new _h(t,u(Ff(t,t.length),9),0))),xv=new rs(Xbe,0),WSt=new Oi("barycenterAssociates"),Wk=new Oi("TopSideComments"),Hk=new Oi("BottomSideComments"),AG=new Oi("CommentConnectionPort"),Gft=new rs("inputCollect",!1),Wft=new rs("outputCollect",!1),tP=new rs("cyclic",!1),QSt=new Oi("crossHierarchyMap"),Qft=new Oi("targetOffset"),new rs("splineLabelSize",new Sa),G5=new Oi("spacings"),IG=new rs("partitionConstraint",!1),vv=new Oi("breakingPoint.info"),s_t=new Oi("splines.survivingEdge"),Lw=new Oi("splines.route.start"),K5=new Oi("splines.edgeChain"),i_t=new Oi("originalPortConstraints"),kv=new Oi("selfLoopHolder"),MT=new Oi("splines.nsPortY"),Pi=new Oi("modelOrder"),Kft=new Oi("longEdgeTargetNode"),i2=new rs(M2e,!1),U5=new rs(M2e,!1),Uft=new Oi("layerConstraints.hiddenNodes"),r_t=new Oi("layerConstraints.opposidePort"),Xft=new Oi("targetNode.modelOrder")}function zSn(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U;for(A=Dr(t.b,0);A.b!=A.d.c;)if(T=u(Ar(A),39),!hn(T.c,nU))for(o=u(nc(new ln(null,new gn(X5n(T,t),16)),gl(new Br,new ce,new An,lt(ut(Ho,1),te,108,0,[(bl(),sc)]))),15),e==(Rs(),Uo)||e==tc?o.jd(new ntt):o.jd(new MR),U=o.gc(),s=0;s<U;s++)h=U==1?.5:(1+s)/(U+1),e==Uo?(k=Rt(Ht(X(T,(ji(),Xf)))),T.e.a+T.f.a+r<k?ro(u(o.Xb(s),65).a,new ae(k+n,T.e.b+T.f.b*h)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(m-$)/(b.Math.abs(d-P)/40)>50&&($>m?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a+r/5.3,T.e.b+T.f.b*h-r/2)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a+r/5.3,T.e.b+T.f.b*h+r/2)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a,T.e.b+T.f.b*h))):e==tc?(k=Rt(Ht(X(T,(ji(),P1)))),T.e.a-r>k?ro(u(o.Xb(s),65).a,new ae(k-n,T.e.b+T.f.b*h)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(m-$)/(b.Math.abs(d-P)/40)>50&&($>m?ro(u(o.Xb(s),65).a,new ae(T.e.a-r/5.3,T.e.b+T.f.b*h-r/2)):ro(u(o.Xb(s),65).a,new ae(T.e.a-r/5.3,T.e.b+T.f.b*h+r/2)))),ro(u(o.Xb(s),65).a,new ae(T.e.a,T.e.b+T.f.b*h))):e==Gh?(k=Rt(Ht(X(T,(ji(),Xf)))),T.e.b+T.f.b+r<k?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,k+n)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(d-P)/(b.Math.abs(m-$)/40)>50&&(P>d?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h-r/2,T.e.b+r/5.3+T.f.b)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h+r/2,T.e.b+r/5.3+T.f.b)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,T.e.b+T.f.b))):(k=Rt(Ht(X(T,(ji(),P1)))),iue(u(o.Xb(s),65),t)?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,u(Pf(u(o.Xb(s),65).a),8).b)):T.e.b-r>k?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,k-n)):u(o.Xb(s),65).a.b>0&&(d=u(Pf(u(o.Xb(s),65).a),8).a,P=T.e.a+T.f.a/2,m=u(Pf(u(o.Xb(s),65).a),8).b,$=T.e.b+T.f.b/2,r>0&&b.Math.abs(d-P)/(b.Math.abs(m-$)/40)>50&&(P>d?ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h-r/2,T.e.b-r/5.3)):ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h+r/2,T.e.b-r/5.3)))),ro(u(o.Xb(s),65).a,new ae(T.e.a+T.f.a*h,T.e.b)))}function ai(){ai=V;var t,e;VT=new Oi(bwe),fx=new Oi(wwe),dMt=(I0(),_dt),c7e=new un(t7t,dMt),sx=new un(Dk,null),u7e=new Oi(dTt),pMt=(fw(),Hi(Ddt,lt(ut(Mdt,1),te,297,0,[Ldt]))),CP=new un(QV,pMt),SP=new un(TN,(Pn(),!1)),bMt=(Rs(),Ed),Rw=new un(blt,bMt),vMt=(Lg(),Vdt),mMt=new un(EN,vMt),f7e=new un(hTt,!1),kMt=(Ag(),IK),cx=new un(XV,kMt),MMt=new xm(12),Yp=new un(ov,MMt),AP=new un(Y_,!1),Pdt=new un(ZV,!1),LP=new un(X_,!1),FMt=(ka(),d2),fL=new un(Fut,FMt),Jk=new Oi(JV),DP=new Oi(gN),qdt=new Oi(IV),Hdt=new Oi(W_),EMt=new Qu,Iv=new un(h7t,EMt),h7e=new un(g7t,!1),d7e=new un(p7t,!1),TMt=new HC,UT=new un(w7t,TMt),AK=new un(JEt,!1),w7e=new un(mwe,1),ox=new Oi(vwe),ax=new Oi(ywe),dL=new un(pN,!1),new un(xwe,!0),he(0),new un(kwe,he(100)),new un(Ewe,!1),he(0),new un(Twe,he(4e3)),he(0),new un(Cwe,he(400)),new un(Swe,!1),new un(_we,!1),new un(Awe,!0),new un(Lwe,!1),gMt=(pH(),Wdt),l7e=new un(fTt,gMt),m7e=new un(zEt,10),v7e=new un(qEt,10),$Mt=new un(Lut,20),y7e=new un(HEt,10),zMt=new un(Put,2),qMt=new un(plt,10),HMt=new un(VEt,0),LK=new un(KEt,5),VMt=new un(UEt,1),UMt=new un(GEt,1),$w=new un(h3,20),x7e=new un(WEt,10),WMt=new un(YEt,10),Zk=new Oi(XEt),KMt=new PQt,GMt=new un(m7t,KMt),p7e=new Oi(mlt),IMt=!1,g7e=new un(wlt,IMt),SMt=new xm(5),CMt=new un(r7t,SMt),_Mt=(e3(),e=u(y1(Lo),9),new _h(e,u(Ff(e,e.length),9),0)),ux=new un(nT,_Mt),NMt=(o5(),f2),OMt=new un(a7t,NMt),Bdt=new Oi(o7t),Rdt=new Oi(c7t),jdt=new Oi(u7t),Fdt=new Oi(l7t),AMt=(t=u(y1(xL),9),new _h(t,u(Ff(t,t.length),9),0)),jw=new un(_5,AMt),DMt=en((Ml(),XT)),l2=new un(Mk,DMt),LMt=new ae(0,0),lx=new un(Ik,LMt),R3=new un(eT,!1),wMt=(cd(),GT),Odt=new un(f7t,wMt),Idt=new un(OV,!1),he(1),new un(Dwe,null),PMt=new Oi(b7t),$dt=new Oi(d7t),jMt=(ve(),bc),hx=new un(ZEt,jMt),Pl=new Oi(QEt),BMt=(wl(),en(g2)),j3=new un(rT,BMt),zdt=new un(i7t,!1),RMt=new un(s7t,!0),MK=new un(bN,1),YMt=new un(gTt,null),MP=new un(wN,150),DK=new un(mN,1.414),t8=new un(cv,null),k7e=new un(pTt,1),_P=new un(e7t,!1),Ndt=new un(n7t,!1),yMt=new un(Dut,1),xMt=(HH(),Gdt),new un(Mwe,xMt),b7e=!0,T7e=(lk(),q3),C7e=q3,E7e=q3}function Za(){Za=V,KCt=new Ns("DIRECTION_PREPROCESSOR",0),VCt=new Ns("COMMENT_PREPROCESSOR",1),B5=new Ns("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),gft=new Ns("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),fSt=new Ns("PARTITION_PREPROCESSOR",4),nG=new Ns("LABEL_DUMMY_INSERTER",5),fG=new Ns("SELF_LOOP_PREPROCESSOR",6),E3=new Ns("LAYER_CONSTRAINT_PREPROCESSOR",7),lSt=new Ns("PARTITION_MIDPROCESSOR",8),eSt=new Ns("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),cSt=new Ns("NODE_PROMOTION",10),k3=new Ns("LAYER_CONSTRAINT_POSTPROCESSOR",11),hSt=new Ns("PARTITION_POSTPROCESSOR",12),JCt=new Ns("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),dSt=new Ns("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),RCt=new Ns("BREAKING_POINT_INSERTER",15),aG=new Ns("LONG_EDGE_SPLITTER",16),pft=new Ns("PORT_SIDE_PROCESSOR",17),tG=new Ns("INVERTED_PORT_PROCESSOR",18),uG=new Ns("PORT_LIST_SORTER",19),pSt=new Ns("SORT_BY_INPUT_ORDER_OF_MODEL",20),cG=new Ns("NORTH_SOUTH_PORT_PREPROCESSOR",21),jCt=new Ns("BREAKING_POINT_PROCESSOR",22),uSt=new Ns(E2e,23),bSt=new Ns(T2e,24),lG=new Ns("SELF_LOOP_PORT_RESTORER",25),gSt=new Ns("SINGLE_EDGE_GRAPH_WRAPPER",26),eG=new Ns("IN_LAYER_CONSTRAINT_PROCESSOR",27),YCt=new Ns("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),aSt=new Ns("LABEL_AND_NODE_SIZE_PROCESSOR",29),sSt=new Ns("INNERMOST_NODE_MARGIN_CALCULATOR",30),dG=new Ns("SELF_LOOP_ROUTER",31),qCt=new Ns("COMMENT_NODE_MARGIN_CALCULATOR",32),ZU=new Ns("END_LABEL_PREPROCESSOR",33),iG=new Ns("LABEL_DUMMY_SWITCHER",34),zCt=new Ns("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),vT=new Ns("LABEL_SIDE_SELECTOR",36),rSt=new Ns("HYPEREDGE_DUMMY_MERGER",37),ZCt=new Ns("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),oSt=new Ns("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),CA=new Ns("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),UCt=new Ns("CONSTRAINTS_POSTPROCESSOR",41),HCt=new Ns("COMMENT_POSTPROCESSOR",42),iSt=new Ns("HYPERNODE_PROCESSOR",43),tSt=new Ns("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),sG=new Ns("LONG_EDGE_JOINER",45),hG=new Ns("SELF_LOOP_POSTPROCESSOR",46),$Ct=new Ns("BREAKING_POINT_REMOVER",47),oG=new Ns("NORTH_SOUTH_PORT_POSTPROCESSOR",48),nSt=new Ns("HORIZONTAL_COMPACTOR",49),rG=new Ns("LABEL_DUMMY_REMOVER",50),XCt=new Ns("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),WCt=new Ns("END_LABEL_SORTER",52),WN=new Ns("REVERSED_EDGE_RESTORER",53),JU=new Ns("END_LABEL_POSTPROCESSOR",54),QCt=new Ns("HIERARCHICAL_NODE_RESIZER",55),GCt=new Ns("DIRECTION_POSTPROCESSOR",56)}function o8t(){o8t=V,b_t=(YI(),xG),B5e=new un(nEt,b_t),Y5e=new un(rEt,(Pn(),!1)),k_t=(fq(),Hft),txe=new un(BV,k_t),pxe=new un(iEt,!1),bxe=new un(sEt,!0),u5e=new un(aEt,!1),D_t=(KI(),T1t),Mxe=new un(oEt,D_t),he(1),jxe=new un(cEt,he(7)),$xe=new un(uEt,!1),X5e=new un(lEt,!1),p_t=(Ip(),Dft),F5e=new un(Hut,p_t),C_t=(Bp(),b1t),gxe=new un(kN,C_t),E_t=(Rh(),rP),axe=new un(hEt,E_t),he(-1),sxe=new un(fEt,null),he(-1),oxe=new un(dEt,he(-1)),he(-1),cxe=new un(Vut,he(4)),he(-1),lxe=new un(Uut,he(2)),T_t=(cf(),ZG),dxe=new un(Gut,T_t),he(0),fxe=new un(Kut,he(0)),rxe=new un(Wut,he(xi)),g_t=(QS(),_A),P5e=new un(Z_,g_t),y5e=new un(gEt,!1),_5e=new un(Yut,.1),O5e=new un(Xut,!1),L5e=new un(pEt,null),D5e=new un(bEt,null),he(-1),M5e=new un(wEt,null),he(-1),I5e=new un(mEt,he(-1)),he(0),x5e=new un(vEt,he(40)),d_t=(c7(),zft),C5e=new un(Qut,d_t),f_t=JN,k5e=new un(RV,f_t),L_t=(w_(),zA),Dxe=new un(A5,L_t),xxe=new Oi(jV),S_t=(qI(),EG),wxe=new un(Jut,S_t),__t=(AO(),TG),vxe=new un(Zut,__t),Txe=new un(tlt,.3),Sxe=new Oi(elt),A_t=(Yy(),JG),_xe=new un(nlt,A_t),v_t=(tH(),S1t),q5e=new un(yEt,v_t),y_t=(i_(),A1t),H5e=new un(xEt,y_t),x_t=(b7(),VA),V5e=new un($V,x_t),G5e=new un(zV,.2),$5e=new un(rlt,2),Pxe=new un(kEt,null),Bxe=new un(EEt,10),Fxe=new un(TEt,10),Rxe=new un(CEt,20),he(0),Ixe=new un(SEt,he(0)),he(0),Oxe=new un(_Et,he(0)),he(0),Nxe=new un(AEt,he(0)),l5e=new un(ilt,!1),c_t=(M7(),AA),f5e=new un(LEt,c_t),o_t=(Eq(),Aft),h5e=new un(DEt,o_t),J5e=new un(qV,!1),he(0),Q5e=new un(slt,he(16)),he(0),Z5e=new un(alt,he(5)),O_t=(iH(),M1t),a6e=new un(Bg,O_t),zxe=new un(HV,10),Vxe=new un(VV,1),I_t=($q(),yG),Qxe=new un(tA,I_t),Kxe=new Oi(olt),M_t=he(1),he(0),Yxe=new un(clt,M_t),N_t=(jq(),D1t),l6e=new un(UV,N_t),o6e=new Oi(GV),n6e=new un(KV,!0),t6e=new un(WV,2),i6e=new un(ult,!0),m_t=(UH(),kG),j5e=new un(MEt,m_t),w_t=(wk(),ET),R5e=new un(IEt,w_t),h_t=(Wd(),Up),v5e=new un(YV,h_t),m5e=new un(OEt,!1),w5e=new un(NEt,!1),u_t=(lw(),x3),d5e=new un(llt,u_t),l_t=(o_(),w1t),b5e=new un(PEt,l_t),g5e=new un(hlt,0),p5e=new un(flt,0),nxe=Mft,exe=QN,uxe=XG,hxe=XG,ixe=p1t,A5e=(Ag(),Xp),N5e=_A,S5e=_A,E5e=_A,T5e=Xp,kxe=qA,Exe=zA,mxe=zA,yxe=zA,Cxe=x1t,Lxe=qA,Axe=qA,U5e=(Lg(),e8),K5e=e8,W5e=VA,z5e=IP,qxe=$T,Hxe=P3,Uxe=$T,Gxe=P3,Jxe=$T,Zxe=P3,Wxe=Lft,Xxe=yG,h6e=$T,f6e=P3,c6e=$T,u6e=P3,r6e=P3,e6e=P3,s6e=P3}function qSn(t,e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1,Vw,o8,k2,c8,d0,J0,Bv,u8,vx,g0,Uw,Ug,f9e,mOt,Rv,NL,h0t,l8,PL,X3,FL,f0t,d9e;for(mOt=0,Jr=e,Go=0,rb=Jr.length;Go<rb;++Go)for(Dn=Jr[Go],J0=new G(Dn.j);J0.a<J0.c.c.length;){for(d0=u(et(J0),12),u8=0,d=new G(d0.g);d.a<d.c.c.length;)h=u(et(d),18),Dn.c!=h.d.i.c&&++u8;u8>0&&(t.a[d0.p]=mOt++)}for(PL=0,is=n,yh=0,r1=is.length;yh<r1;++yh){for(Dn=is[yh],i1=0,J0=new G(Dn.j);J0.a<J0.c.c.length&&(d0=u(et(J0),12),d0.j==(ve(),Hn));)for(d=new G(d0.e);d.a<d.c.c.length;)if(h=u(et(d),18),Dn.c!=h.c.i.c){++i1;break}for(o8=0,vx=new La(Dn.j,Dn.j.c.length);vx.b>0;){for(d0=(ur(vx.b>0),u(vx.a.Xb(vx.c=--vx.b),12)),u8=0,d=new G(d0.e);d.a<d.c.c.length;)h=u(et(d),18),Dn.c!=h.c.i.c&&++u8;u8>0&&(d0.j==(ve(),Hn)?(t.a[d0.p]=PL,++PL):(t.a[d0.p]=PL+i1+o8,++o8))}PL+=o8}for(Bv=new _r,U=new zd,er=e,El=0,mx=er.length;El<mx;++El)for(Dn=er[El],h0t=new G(Dn.j);h0t.a<h0t.c.c.length;)for(NL=u(et(h0t),12),d=new G(NL.g);d.a<d.c.c.length;)if(h=u(et(d),18),FL=h.d,Dn.c!=FL.i.c)if(Rv=u(Ko(Eo(Bv.f,NL)),477),X3=u(Ko(Eo(Bv.f,FL)),477),!Rv&&!X3)$=new TZt,U.a.zc($,U),ge($.a,h),ge($.d,NL),yu(Bv.f,NL,$),ge($.d,FL),yu(Bv.f,FL,$);else if(!Rv)ge(X3.a,h),ge(X3.d,NL),yu(Bv.f,NL,X3);else if(!X3)ge(Rv.a,h),ge(Rv.d,FL),yu(Bv.f,FL,Rv);else if(Rv==X3)ge(Rv.a,h);else{for(ge(Rv.a,h),c8=new G(X3.d);c8.a<c8.c.c.length;)k2=u(et(c8),12),yu(Bv.f,k2,Rv);Hs(Rv.a,X3.a),Hs(Rv.d,X3.d),U.a.Bc(X3)!=null}for(J=u(v_(U,Vt(f_n,{3:1,4:1,5:1,2045:1},477,U.a.gc(),0,1)),2045),On=e[0].c,f9e=n[0].c,T=J,A=0,P=T.length;A<P;++A)for(k=T[A],k.e=mOt,k.f=PL,J0=new G(k.d);J0.a<J0.c.c.length;)d0=u(et(J0),12),g0=t.a[d0.p],d0.i.c==On?(g0<k.e&&(k.e=g0),g0>k.b&&(k.b=g0)):d0.i.c==f9e&&(g0<k.f&&(k.f=g0),g0>k.c&&(k.c=g0));for(GE(J,0,J.length,null),l8=Vt(Fr,ii,28,J.length,15,1),r=Vt(Fr,ii,28,PL+1,15,1),ht=0;ht<J.length;ht++)l8[ht]=J[ht].f,r[l8[ht]]=1;for(o=0,Tt=0;Tt<r.length;Tt++)r[Tt]==1?r[Tt]=o:--o;for(Uw=0,At=0;At<l8.length;At++)l8[At]+=r[l8[At]],Uw=b.Math.max(Uw,l8[At]+1);for(m=1;m<Uw;)m*=2;for(d9e=2*m-1,m-=1,f0t=Vt(Fr,ii,28,d9e,15,1),s=0,rn=0;rn<l8.length;rn++)for(Ce=l8[rn]+m,++f0t[Ce];Ce>0;)Ce%2>0&&(s+=f0t[Ce+1]),Ce=(Ce-1)/2|0,++f0t[Ce];for(Ze=Vt(lke,Ln,374,J.length*2,0,1),Bt=0;Bt<J.length;Bt++)Ze[2*Bt]=new Yz(J[Bt],J[Bt].e,J[Bt].b,(US(),KA)),Ze[2*Bt+1]=new Yz(J[Bt],J[Bt].b,J[Bt].e,GA);for(GE(Ze,0,Ze.length,null),Vw=0,Wt=0;Wt<Ze.length;Wt++)switch(Ze[Wt].d.g){case 0:++Vw;break;case 1:--Vw,s+=Vw}for(Ug=Vt(lke,Ln,374,J.length*2,0,1),se=0;se<J.length;se++)Ug[2*se]=new Yz(J[se],J[se].f,J[se].c,(US(),KA)),Ug[2*se+1]=new Yz(J[se],J[se].c,J[se].f,GA);for(GE(Ug,0,Ug.length,null),Vw=0,tt=0;tt<Ug.length;tt++)switch(Ug[tt].d.g){case 0:++Vw;break;case 1:--Vw,s+=Vw}return s}function yi(){yi=V,OL=new um(7),lOt=new _0(8,94),new _0(8,64),hOt=new _0(8,36),r9e=new _0(8,65),i9e=new _0(8,122),s9e=new _0(8,90),o9e=new _0(8,98),n9e=new _0(8,66),a9e=new _0(8,60),c9e=new _0(8,62),uOt=new um(11),eW=new ih(4),iu(eW,48,57),t9=new ih(4),iu(t9,48,57),iu(t9,65,90),iu(t9,95,95),iu(t9,97,122),a8=new ih(4),iu(a8,9,9),iu(a8,10,10),iu(a8,12,12),iu(a8,13,13),iu(a8,32,32),fOt=i3(eW),gOt=i3(t9),dOt=i3(a8),ZT=new _r,IL=new _r,e9e=lt(ut(Pe,1),ue,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),oOt=lt(ut(Pe,1),ue,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",Lve,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),cOt=lt(ut(Fr,1),ii,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function yV(){yV=V,Qye=new Nh("OUT_T_L",0,(pl(),c0),(qu(),Kf),(A1(),Ac),Ac,lt(ut(df,1),Ln,21,0,[Hi((e3(),Zf),lt(ut(Lo,1),te,95,0,[t1,Qf]))])),Xye=new Nh("OUT_T_C",1,e2,Kf,Ac,xu,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,qg])),Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,qg,pf]))])),Jye=new Nh("OUT_T_R",2,Gf,Kf,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[t1,Jf]))])),qye=new Nh("OUT_B_L",3,c0,O1,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,Qf]))])),zye=new Nh("OUT_B_C",4,e2,O1,Lc,xu,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,qg])),Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,qg,pf]))])),Hye=new Nh("OUT_B_R",5,Gf,O1,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[bf,Jf]))])),Gye=new Nh("OUT_L_T",6,Gf,O1,Ac,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,t1,pf]))])),Uye=new Nh("OUT_L_C",7,Gf,n2,xu,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,W0])),Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,W0,pf]))])),Vye=new Nh("OUT_L_B",8,Gf,Kf,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Qf,bf,pf]))])),Yye=new Nh("OUT_R_T",9,c0,O1,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,t1,pf]))])),Wye=new Nh("OUT_R_C",10,c0,n2,xu,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,W0])),Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,W0,pf]))])),Kye=new Nh("OUT_R_B",11,c0,Kf,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(Zf,lt(ut(Lo,1),te,95,0,[Jf,bf,pf]))])),jye=new Nh("IN_T_L",12,c0,O1,Ac,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Qf,pf]))])),Rye=new Nh("IN_T_C",13,e2,O1,Ac,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,qg,pf]))])),$ye=new Nh("IN_T_R",14,Gf,O1,Ac,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[t1,Jf,pf]))])),Fye=new Nh("IN_C_L",15,c0,n2,xu,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Qf,pf]))])),Pye=new Nh("IN_C_C",16,e2,n2,xu,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,qg,pf]))])),Bye=new Nh("IN_C_R",17,Gf,n2,xu,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[W0,Jf,pf]))])),Oye=new Nh("IN_B_L",18,c0,Kf,Lc,Ac,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Qf])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Qf,pf]))])),Iye=new Nh("IN_B_C",19,e2,Kf,Lc,xu,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,qg])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,qg,pf]))])),Nye=new Nh("IN_B_R",20,Gf,Kf,Lc,Lc,lt(ut(df,1),Ln,21,0,[Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Jf])),Hi(bh,lt(ut(Lo,1),te,95,0,[bf,Jf,pf]))])),Uht=new Nh(G_,21,null,null,null,null,lt(ut(df,1),Ln,21,0,[]))}function wn(){wn=V,G3=(Lb(),Fn).b,u(Dt(Qt(Fn.b),0),35),u(Dt(Qt(Fn.b),1),19),Jp=Fn.a,u(Dt(Qt(Fn.a),0),35),u(Dt(Qt(Fn.a),1),19),u(Dt(Qt(Fn.a),2),19),u(Dt(Qt(Fn.a),3),19),u(Dt(Qt(Fn.a),4),19),w2=Fn.o,u(Dt(Qt(Fn.o),0),35),u(Dt(Qt(Fn.o),1),35),xTe=u(Dt(Qt(Fn.o),2),19),u(Dt(Qt(Fn.o),3),19),u(Dt(Qt(Fn.o),4),19),u(Dt(Qt(Fn.o),5),19),u(Dt(Qt(Fn.o),6),19),u(Dt(Qt(Fn.o),7),19),u(Dt(Qt(Fn.o),8),19),u(Dt(Qt(Fn.o),9),19),u(Dt(Qt(Fn.o),10),19),u(Dt(Qt(Fn.o),11),19),u(Dt(Qt(Fn.o),12),19),u(Dt(Qt(Fn.o),13),19),u(Dt(Qt(Fn.o),14),19),u(Dt(Qt(Fn.o),15),19),u(Dt(Di(Fn.o),0),62),u(Dt(Di(Fn.o),1),62),u(Dt(Di(Fn.o),2),62),u(Dt(Di(Fn.o),3),62),u(Dt(Di(Fn.o),4),62),u(Dt(Di(Fn.o),5),62),u(Dt(Di(Fn.o),6),62),u(Dt(Di(Fn.o),7),62),u(Dt(Di(Fn.o),8),62),u(Dt(Di(Fn.o),9),62),yTe=Fn.p,u(Dt(Qt(Fn.p),0),35),u(Dt(Qt(Fn.p),1),35),u(Dt(Qt(Fn.p),2),35),u(Dt(Qt(Fn.p),3),35),u(Dt(Qt(Fn.p),4),19),u(Dt(Qt(Fn.p),5),19),u(Dt(Di(Fn.p),0),62),u(Dt(Di(Fn.p),1),62),kTe=Fn.q,u(Dt(Qt(Fn.q),0),35),m2=Fn.v,u(Dt(Qt(Fn.v),0),19),u(Dt(Di(Fn.v),0),62),u(Dt(Di(Fn.v),1),62),u(Dt(Di(Fn.v),2),62),Zp=Fn.w,u(Dt(Qt(Fn.w),0),35),u(Dt(Qt(Fn.w),1),35),u(Dt(Qt(Fn.w),2),35),u(Dt(Qt(Fn.w),3),19),v2=Fn.B,u(Dt(Qt(Fn.B),0),19),u(Dt(Di(Fn.B),0),62),u(Dt(Di(Fn.B),1),62),u(Dt(Di(Fn.B),2),62),ETe=Fn.Q,u(Dt(Qt(Fn.Q),0),19),u(Dt(Di(Fn.Q),0),62),TTe=Fn.R,u(Dt(Qt(Fn.R),0),35),xf=Fn.S,u(Dt(Di(Fn.S),0),62),u(Dt(Di(Fn.S),1),62),u(Dt(Di(Fn.S),2),62),u(Dt(Di(Fn.S),3),62),u(Dt(Di(Fn.S),4),62),u(Dt(Di(Fn.S),5),62),u(Dt(Di(Fn.S),6),62),u(Dt(Di(Fn.S),7),62),u(Dt(Di(Fn.S),8),62),u(Dt(Di(Fn.S),9),62),u(Dt(Di(Fn.S),10),62),u(Dt(Di(Fn.S),11),62),u(Dt(Di(Fn.S),12),62),u(Dt(Di(Fn.S),13),62),u(Dt(Di(Fn.S),14),62),tb=Fn.T,u(Dt(Qt(Fn.T),0),19),u(Dt(Qt(Fn.T),2),19),CTe=u(Dt(Qt(Fn.T),3),19),u(Dt(Qt(Fn.T),4),19),u(Dt(Di(Fn.T),0),62),u(Dt(Di(Fn.T),1),62),u(Dt(Qt(Fn.T),1),19),eb=Fn.U,u(Dt(Qt(Fn.U),0),35),u(Dt(Qt(Fn.U),1),35),u(Dt(Qt(Fn.U),2),19),u(Dt(Qt(Fn.U),3),19),u(Dt(Qt(Fn.U),4),19),u(Dt(Qt(Fn.U),5),19),u(Dt(Di(Fn.U),0),62),K3=Fn.V,u(Dt(Qt(Fn.V),0),19),dx=Fn.W,u(Dt(Qt(Fn.W),0),35),u(Dt(Qt(Fn.W),1),35),u(Dt(Qt(Fn.W),2),35),u(Dt(Qt(Fn.W),3),19),u(Dt(Qt(Fn.W),4),19),u(Dt(Qt(Fn.W),5),19),STe=Fn.bb,u(Dt(Qt(Fn.bb),0),35),u(Dt(Qt(Fn.bb),1),35),u(Dt(Qt(Fn.bb),2),35),u(Dt(Qt(Fn.bb),3),35),u(Dt(Qt(Fn.bb),4),35),u(Dt(Qt(Fn.bb),5),35),u(Dt(Qt(Fn.bb),6),35),u(Dt(Qt(Fn.bb),7),19),u(Dt(Di(Fn.bb),0),62),u(Dt(Di(Fn.bb),1),62),_Te=Fn.eb,u(Dt(Qt(Fn.eb),0),35),u(Dt(Qt(Fn.eb),1),35),u(Dt(Qt(Fn.eb),2),35),u(Dt(Qt(Fn.eb),3),35),u(Dt(Qt(Fn.eb),4),35),u(Dt(Qt(Fn.eb),5),35),u(Dt(Qt(Fn.eb),6),19),u(Dt(Qt(Fn.eb),7),19),wo=Fn.ab,u(Dt(Qt(Fn.ab),0),35),u(Dt(Qt(Fn.ab),1),35),Nv=Fn.H,u(Dt(Qt(Fn.H),0),19),u(Dt(Qt(Fn.H),1),19),u(Dt(Qt(Fn.H),2),19),u(Dt(Qt(Fn.H),3),19),u(Dt(Qt(Fn.H),4),19),u(Dt(Qt(Fn.H),5),19),u(Dt(Di(Fn.H),0),62),Pv=Fn.db,u(Dt(Qt(Fn.db),0),19),Sd=Fn.M}function HSn(t){var e;t.O||(t.O=!0,mu(t,"type"),Xq(t,"ecore.xml.type"),Qq(t,Cw),e=u(N7((Eb(),yf),Cw),2044),Or(Yo(t.fb),t.b),Ec(t.b,WP,"AnyType",!1,!1,!0),vs(u(Dt(Qt(t.b),0),35),t.wb.D,DN,null,0,-1,WP,!1,!1,!0,!1,!1,!1),vs(u(Dt(Qt(t.b),1),35),t.wb.D,"any",null,0,-1,WP,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.b),2),35),t.wb.D,"anyAttribute",null,0,-1,WP,!1,!1,!0,!1,!1,!1),Ec(t.bb,ZK,lve,!1,!1,!0),vs(u(Dt(Qt(t.bb),0),35),t.gb,"data",null,0,1,ZK,!1,!1,!0,!1,!0,!1),vs(u(Dt(Qt(t.bb),1),35),t.gb,MTt,null,1,1,ZK,!1,!1,!0,!1,!0,!1),Ec(t.fb,YP,hve,!1,!1,!0),vs(u(Dt(Qt(t.fb),0),35),e.gb,"rawValue",null,0,1,YP,!0,!0,!0,!1,!0,!0),vs(u(Dt(Qt(t.fb),1),35),e.a,cA,null,0,1,YP,!0,!0,!0,!1,!0,!0),Ui(u(Dt(Qt(t.fb),2),19),t.wb.q,null,"instanceType",1,1,YP,!1,!1,!0,!1,!1,!1,!1),Ec(t.qb,rOt,fve,!1,!1,!0),vs(u(Dt(Qt(t.qb),0),35),t.wb.D,DN,null,0,-1,null,!1,!1,!0,!1,!1,!1),Ui(u(Dt(Qt(t.qb),1),19),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Ui(u(Dt(Qt(t.qb),2),19),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),vs(u(Dt(Qt(t.qb),3),35),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.qb),4),35),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Ui(u(Dt(Qt(t.qb),5),19),t.bb,null,Cve,0,-2,null,!0,!0,!0,!0,!1,!1,!0),vs(u(Dt(Qt(t.qb),6),35),t.gb,Ylt,null,0,-2,null,!0,!0,!0,!1,!1,!0),fi(t.a,aa,"AnySimpleType",!0),fi(t.c,Pe,"AnyURI",!0),fi(t.d,ut(ul,1),"Base64Binary",!0),fi(t.e,Fl,"Boolean",!0),fi(t.f,ys,"BooleanObject",!0),fi(t.g,ul,"Byte",!0),fi(t.i,Fk,"ByteObject",!0),fi(t.j,Pe,"Date",!0),fi(t.k,Pe,"DateTime",!0),fi(t.n,Mht,"Decimal",!0),fi(t.o,ma,"Double",!0),fi(t.p,zs,"DoubleObject",!0),fi(t.q,Pe,"Duration",!0),fi(t.s,Vh,"ENTITIES",!0),fi(t.r,Vh,"ENTITIESBase",!0),fi(t.t,Pe,KTt,!0),fi(t.u,Y3,"Float",!0),fi(t.v,wT,"FloatObject",!0),fi(t.w,Pe,"GDay",!0),fi(t.B,Pe,"GMonth",!0),fi(t.A,Pe,"GMonthDay",!0),fi(t.C,Pe,"GYear",!0),fi(t.D,Pe,"GYearMonth",!0),fi(t.F,ut(ul,1),"HexBinary",!0),fi(t.G,Pe,"ID",!0),fi(t.H,Pe,"IDREF",!0),fi(t.J,Vh,"IDREFS",!0),fi(t.I,Vh,"IDREFSBase",!0),fi(t.K,Fr,"Int",!0),fi(t.M,N5,"Integer",!0),fi(t.L,Ra,"IntObject",!0),fi(t.P,Pe,"Language",!0),fi(t.Q,x2,"Long",!0),fi(t.R,gv,"LongObject",!0),fi(t.S,Pe,"Name",!0),fi(t.T,Pe,AU,!0),fi(t.U,N5,"NegativeInteger",!0),fi(t.V,Pe,XTt,!0),fi(t.X,Vh,"NMTOKENS",!0),fi(t.W,Vh,"NMTOKENSBase",!0),fi(t.Y,N5,"NonNegativeInteger",!0),fi(t.Z,N5,"NonPositiveInteger",!0),fi(t.$,Pe,"NormalizedString",!0),fi(t._,Pe,"NOTATION",!0),fi(t.ab,Pe,"PositiveInteger",!0),fi(t.cb,Pe,"QName",!0),fi(t.db,wx,"Short",!0),fi(t.eb,pv,"ShortObject",!0),fi(t.gb,Pe,g8t,!0),fi(t.hb,Pe,"Time",!0),fi(t.ib,Pe,"Token",!0),fi(t.jb,wx,"UnsignedByte",!0),fi(t.kb,pv,"UnsignedByteObject",!0),fi(t.lb,x2,"UnsignedInt",!0),fi(t.mb,gv,"UnsignedIntObject",!0),fi(t.nb,N5,"UnsignedLong",!0),fi(t.ob,Fr,"UnsignedShort",!0),fi(t.pb,Ra,"UnsignedShortObject",!0),g5t(t,Cw),VSn(t))}function c8t(t,e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt,se,Ce,rn,Ze,On,Dn,er,Jr,is,El,Go,yh,mx,rb,r1,i1,Vw,o8,k2,c8,d0,J0,Bv,u8,vx,g0,Uw,Ug;if(r.$g()||Ie(Me(ne(e,(ai(),AK)))))return mn(),mn(),co;if(Ce=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i!=0,Ze=s5n(e),rn=!Ze.dc(),Ce||rn){if(s=u(ne(e,fx),143),!s)throw at(new fp("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(vx=hmt(s,(O7(),VK)),Nle(e),!Ce&&rn&&!vx)return mn(),mn(),co;if(At=new fe,$t(ne(e,cx))===$t((Ag(),Xp))&&(hmt(s,qK)||hmt(s,zK))){if(Ie(Me(ne(e,dL))))throw at(new fp("Topdown layout cannot be used together with hierarchy handling."));for(mx=S0e(t,e),rb=new Ki,Ma(rb,(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));rb.b!=0;)Go=u(rb.b==0?null:(ur(rb.b!=0),Oh(rb,rb.a.a)),27),Nle(Go),u8=$t(ne(Go,cx))===$t(bL),u8||ad(Go,VT)&&!_3t(s,ne(Go,fx))?(tt=c8t(t,Go,n,r),Hs(At,tt),Mi(Go,cx,bL),H0e(Go)):Ma(rb,(!Go.a&&(Go.a=new Jt(bi,Go,10,11)),Go.a))}else{if(mx=(!e.a&&(e.a=new Jt(bi,e,10,11)),e.a).i,Ie(Me(ne(e,dL)))){if(g0=r.eh(1),g0.Ug(hwe,1),ne(e,t8)==null)throw at(new fp(e.k+" has not been assigned a top-down node type."));if(u(ne(e,t8),280)==(lk(),q3)||u(ne(e,t8),280)==RK)for(Tt=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));Tt.e!=Tt.i.gc();)ht=u(ar(Tt),27),El=u(ne(ht,fx),143),(!ht.a&&(ht.a=new Jt(bi,ht,10,11)),ht.a).i>0&&_I(El.f),ne(ht,YMt)!=null&&(d=u(ne(ht,YMt),347),Bv=d.Tg(ht),H4(ht,b.Math.max(ht.g,Bv.a),b.Math.max(ht.f,Bv.b)));if(r1=u(ne(e,Yp),107),$=e.g-(r1.b+r1.c),P=e.f-(r1.d+r1.a),g0.bh("Available Child Area: ("+$+"|"+P+")"),Mi(e,sx,$/P),Rle(e,s,r.eh(mx)),u(ne(e,t8),280)==RK&&(r8t(e),H4(e,r1.b+Rt(Ht(ne(e,ox)))+r1.c,r1.d+Rt(Ht(ne(e,ax)))+r1.a)),g0.bh("Executed layout algorithm: "+Gr(ne(e,VT))+" on node "+e.k),u(ne(e,t8),280)==q3){if($<0||P<0)throw at(new fp("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(ad(e,ox)||ad(e,ax)||r8t(e),J=Rt(Ht(ne(e,ox))),U=Rt(Ht(ne(e,ax))),g0.bh("Desired Child Area: ("+J+"|"+U+")"),Vw=$/J,o8=P/U,i1=b.Math.min(Vw,b.Math.min(o8,Rt(Ht(ne(e,k7e))))),Mi(e,MK,i1),g0.bh(e.k+" -- Local Scale Factor (X|Y): ("+Vw+"|"+o8+")"),Bt=u(ne(e,CP),21),o=0,h=0,i1<Vw&&(Bt.Hc((fw(),cL))?o=($/2-J*i1/2)/i1:Bt.Hc(uL)&&(o=($-J*i1)/i1)),i1<o8&&(Bt.Hc((fw(),hL))?h=(P/2-U*i1/2)/i1:Bt.Hc(lL)&&(h=(P-U*i1)/i1)),Uw=o+(r1.b/i1-r1.b),Ug=h+(r1.d/i1-r1.d),g0.bh("Shift: ("+Uw+"|"+Ug+")"),yh=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));yh.e!=yh.i.gc();)Go=u(ar(yh),27),Su(Go,Go.i+Uw),_u(Go,Go.j+Ug);for(se=new Zn((!e.b&&(e.b=new Jt(Ts,e,12,3)),e.b));se.e!=se.i.gc();){for(Wt=u(ar(se),74),c8=new Zn((!Wt.a&&(Wt.a=new Jt(Wi,Wt,6,6)),Wt.a));c8.e!=c8.i.gc();)for(k2=u(ar(c8),166),rI(k2,k2.j+Uw,k2.k+Ug),nI(k2,k2.b+Uw,k2.c+Ug),k=new Zn((!k2.a&&(k2.a=new Ps(vh,k2,5)),k2.a));k.e!=k.i.gc();)m=u(ar(k),377),Xrt(m,m.a+Uw,m.b+Ug);for(is=new Zn((!Wt.n&&(Wt.n=new Jt(Po,Wt,1,7)),Wt.n));is.e!=is.i.gc();)Jr=u(ar(is),135),Ch(Jr,Jr.i+Uw,Jr.j+Ug);for(er=u(ne(Wt,Iv),75),Dn=Dr(er,0);Dn.b!=Dn.d.c;)On=u(Ar(Dn),8),On.a+=Uw,On.b+=Ug;Mi(Wt,Iv,er)}}g0.Vg()}for(A=new Zn((!e.a&&(e.a=new Jt(bi,e,10,11)),e.a));A.e!=A.i.gc();)T=u(ar(A),27),tt=c8t(t,T,n,r),Hs(At,tt),H0e(T)}if(r.$g())return mn(),mn(),co;for(J0=new G(At);J0.a<J0.c.c.length;)d0=u(et(J0),74),Mi(d0,AK,(Pn(),!0));return Ie(Me(ne(e,dL)))||Rle(e,s,r.eh(mx)),LEn(At),rn&&vx?Ze:(mn(),mn(),co)}else return mn(),mn(),co}function k5(t,e){var n,r;return bx||(bx=new _r,JT=new _r,r=(yi(),yi(),new ih(4)),vO(r,`
1349 endInLayerEdge=`,tu(e,this.c),e.a},I(i0,"BreakingPointInserter/BPInfo",313),D(661,1,{661:1},wUt),l.a=!1,l.b=0,l.c=0,I(i0,"BreakingPointInserter/Cut",661),D(1545,1,zi,MJ),l.Kf=function(e,n){m6n(u(e,36),n)},I(i0,"BreakingPointProcessor",1545),D(1546,1,Kr,IJ),l.Mb=function(e){return Bae(u(e,10))},I(i0,"BreakingPointProcessor/0methodref$isEnd$Type",1546),D(1547,1,Kr,OJ),l.Mb=function(e){return Rae(u(e,10))},I(i0,"BreakingPointProcessor/1methodref$isStart$Type",1547),D(1548,1,zi,NJ),l.Kf=function(e,n){$6n(this,u(e,36),n)},I(i0,"BreakingPointRemover",1548),D(1549,1,ir,PJ),l.Cd=function(e){u(e,131).k=!0},I(i0,"BreakingPointRemover/lambda$0$Type",1549),D(811,1,{},q6t),l.b=0,l.e=0,l.f=0,l.j=0,I(i0,"GraphStats",811),D(812,1,{},bR),l.Ve=function(e,n){return b.Math.max(Rt(Ht(e)),Rt(Ht(n)))},I(i0,"GraphStats/0methodref$max$Type",812),D(813,1,{},wR),l.Ve=function(e,n){return b.Math.max(Rt(Ht(e)),Rt(Ht(n)))},I(i0,"GraphStats/2methodref$max$Type",813),D(1726,1,{},FJ),l.Ve=function(e,n){return zcn(Ht(e),Ht(n))},I(i0,"GraphStats/lambda$1$Type",1726),D(1727,1,{},cUt),l.Kb=function(e){return Hle(this.a,u(e,30))},I(i0,"GraphStats/lambda$2$Type",1727),D(1728,1,{},uUt),l.Kb=function(e){return Pde(this.a,u(e,30))},I(i0,"GraphStats/lambda$6$Type",1728),D(814,1,{},mR),l.og=function(e,n){var r;return r=u(X(e,(De(),wAt)),15),r||(mn(),mn(),co)},l.pg=function(){return!1},I(i0,"ICutIndexCalculator/ManualCutIndexCalculator",814),D(816,1,{},vR),l.og=function(e,n){var r,s,o,h,d,m,k,T,A,P,$,U,J,tt,ht,Tt,At,Bt,Wt;for(Wt=(n.n==null&&whe(n),n.n),k=(n.d==null&&whe(n),n.d),Bt=Vt(ma,No,28,Wt.length,15,1),Bt[0]=Wt[0],Tt=Wt[0],T=1;T<Wt.length;T++)Bt[T]=Bt[T-1]+Wt[T],Tt+=Wt[T];for(o=Bfe(n)-1,d=u(X(e,(De(),mAt)),17).a,s=Vs,r=new fe,$=b.Math.max(0,o-d);$<=b.Math.min(n.f-1,o+d);$++){if(tt=Tt/($+1),ht=0,A=1,h=new fe,At=Vs,P=0,m=0,J=k[0],$==0)At=Tt,m=(n.g==null&&(n.g=nce(n,new wR)),Rt(n.g));else{for(;A<n.f;)Bt[A-1]-ht>=tt&&(ge(h,he(A)),At=b.Math.max(At,Bt[A-1]-P),m+=J,ht+=Bt[A-1]-ht,P=Bt[A-1],J=k[A]),J=b.Math.max(J,k[A]),++A;m+=J}U=b.Math.min(1/At,1/n.b/m),U>s&&(s=U,r=h)}return r},l.pg=function(){return!1},I(i0,"MSDCutIndexHeuristic",816),D(1683,1,zi,BJ),l.Kf=function(e,n){A7n(u(e,36),n)},I(i0,"SingleEdgeGraphWrapper",1683),D(232,22,{3:1,34:1,22:1,232:1},oS);var j5,kT,ET,T3,SA,$5,TT=Lr(Hc,"CenterEdgeLabelPlacementStrategy",232,Pr,d0n,pon),U4e;D(431,22,{3:1,34:1,22:1,431:1},Kwt);var kSt,Aft,ESt=Lr(Hc,"ConstraintCalculationStrategy",431,Pr,Ohn,bon),G4e;D(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},xrt),l.dg=function(){return y1e(this)},l.qg=function(){return y1e(this)};var QN,_A,TSt,CSt=Lr(Hc,"CrossingMinimizationStrategy",322,Pr,_fn,won),K4e;D(351,22,{3:1,34:1,22:1,351:1},krt);var SSt,Lft,yG,_St=Lr(Hc,"CuttingStrategy",351,Pr,Afn,mon),W4e;D(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},VM),l.dg=function(){return lde(this)},l.qg=function(){return lde(this)};var ASt,Dft,CT,Mft,ST,LSt=Lr(Hc,"CycleBreakingStrategy",348,Pr,Mdn,von),Y4e;D(428,22,{3:1,34:1,22:1,428:1},Wwt);var xG,DSt,MSt=Lr(Hc,"DirectionCongruency",428,Pr,Ihn,yon),X4e;D(459,22,{3:1,34:1,22:1,459:1},Ert);var _T,Ift,z5,Q4e=Lr(Hc,"EdgeConstraint",459,Pr,Lfn,_on),J4e;D(283,22,{3:1,34:1,22:1,283:1},cS);var Oft,Nft,Pft,Fft,kG,Bft,ISt=Lr(Hc,"EdgeLabelSideSelection",283,Pr,l0n,Aon),Z4e;D(487,22,{3:1,34:1,22:1,487:1},Ywt);var EG,OSt,NSt=Lr(Hc,"EdgeStraighteningStrategy",487,Pr,Mhn,Lon),t5e;D(281,22,{3:1,34:1,22:1,281:1},uS);var Rft,PSt,FSt,TG,BSt,RSt,jSt=Lr(Hc,"FixedAlignment",281,Pr,h0n,Son),e5e;D(282,22,{3:1,34:1,22:1,282:1},lS);var $St,zSt,qSt,HSt,AA,VSt,USt=Lr(Hc,"GraphCompactionStrategy",282,Pr,f0n,xon),n5e;D(259,22,{3:1,34:1,22:1,259:1},ky);var AT,CG,LT,Uh,LA,SG,DT,q5,_G,DA,jft=Lr(Hc,"GraphProperties",259,Pr,Xgn,kon),r5e;D(298,22,{3:1,34:1,22:1,298:1},Trt);var JN,$ft,zft,qft=Lr(Hc,"GreedySwitchType",298,Pr,Dfn,Eon),i5e;D(311,22,{3:1,34:1,22:1,311:1},Crt);var qk,ZN,H5,s5e=Lr(Hc,"InLayerConstraint",311,Pr,Mfn,Ton),a5e;D(429,22,{3:1,34:1,22:1,429:1},Xwt);var Hft,GSt,KSt=Lr(Hc,"InteractiveReferencePoint",429,Pr,jhn,Con),o5e,WSt,Hk,vv,AG,YSt,XSt,LG,QSt,tP,DG,MA,Vk,$g,Vft,MG,Dc,JSt,i2,lu,Uft,Gft,eP,Aw,yv,Uk,ZSt,Gk,nP,C3,N1,gf,Kft,V5,Pi,Li,t_t,e_t,n_t,r_t,i_t,Wft,IG,ml,xv,Yft,Kk,IA,vd,U5,kv,G5,K5,MT,Lw,s_t,Xft,Qft,Wk;D(171,22,{3:1,34:1,22:1,171:1},UM);var OA,s2,NA,S3,rP,a_t=Lr(Hc,"LayerConstraint",171,Pr,Odn,Don),c5e;D(859,1,uf,Qet),l.hf=function(e){Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,nEt),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),b_t),(Fp(),ts)),MSt),en((D1(),_n))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,rEt),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Pn(),!1)),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,BV),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),k_t),ts),KSt),en(_n)))),Bs(e,BV,Hut,nxe),Bs(e,BV,Z_,exe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,iEt),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,sEt),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),oa),ys),en(_n)))),Qe(e,new He(krn(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,aEt),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),oa),ys),en(Bw)),lt(ut(Pe,1),ue,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,oEt),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),D_t),ts),jAt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,cEt),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),he(7)),ac),Ra),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,uEt),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,lEt),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Hut),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),p_t),ts),LSt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,kN),dlt),"Node Layering Strategy"),"Strategy for node layering."),C_t),ts),_At),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,hEt),dlt),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),E_t),ts),a_t),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,fEt),dlt),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,dEt),dlt),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),he(-1)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Vut),I2e),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),he(4)),ac),Ra),en(_n)))),Bs(e,Vut,kN,uxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Uut),I2e),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),he(2)),ac),Ra),en(_n)))),Bs(e,Uut,kN,hxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Gut),O2e),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),T_t),ts),FAt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Kut),O2e),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),he(0)),ac),Ra),en(_n)))),Bs(e,Kut,Gut,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Wut),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),he(xi)),ac),Ra),en(_n)))),Bs(e,Wut,kN,ixe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Z_),iT),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),g_t),ts),CSt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,gEt),iT),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Yut),iT),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Wa),zs),en(_n)))),Bs(e,Yut,XV,A5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Xut),iT),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),oa),ys),en(_n)))),Bs(e,Xut,Z_,N5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,pEt),iT),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),ix),Pe),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,bEt),iT),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),ix),Pe),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,wEt),iT),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,mEt),iT),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),he(-1)),ac),Ra),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,vEt),N2e),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),he(40)),ac),Ra),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Qut),N2e),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),d_t),ts),qft),en(_n)))),Bs(e,Qut,Z_,S5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,RV),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),f_t),ts),qft),en(_n)))),Bs(e,RV,Z_,E5e),Bs(e,RV,XV,T5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,A5),P2e),"Node Placement Strategy"),"Strategy for node placement."),L_t),ts),MAt),en(_n)))),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,jV),P2e),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),oa),ys),en(_n)))),Bs(e,jV,A5,kxe),Bs(e,jV,A5,Exe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Jut),F2e),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),S_t),ts),NSt),en(_n)))),Bs(e,Jut,A5,mxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Zut),F2e),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),__t),ts),jSt),en(_n)))),Bs(e,Zut,A5,yxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,tlt),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Wa),zs),en(_n)))),Bs(e,tlt,A5,Cxe),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,elt),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),ts),v1t),en(Qs)))),Bs(e,elt,A5,Lxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,nlt),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),A_t),ts),v1t),en(_n)))),Bs(e,nlt,A5,Axe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,yEt),B2e),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),v_t),ts),qAt),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,xEt),B2e),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),y_t),ts),HAt),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,$V),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),x_t),ts),UAt),en(_n)))),Bs(e,$V,EN,U5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,zV),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Wa),zs),en(_n)))),Bs(e,zV,EN,K5e),Bs(e,zV,$V,W5e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,rlt),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Wa),zs),en(_n)))),Bs(e,rlt,EN,z5e),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,kEt),bd),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,EEt),bd),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,TEt),bd),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,CEt),bd),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Wa),zs),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,SEt),FEt),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),he(0)),ac),Ra),en(f0)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,_Et),FEt),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),he(0)),ac),Ra),en(f0)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,AEt),FEt),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),he(0)),ac),Ra),en(f0)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,ilt),BEt),Zbe),"Tries to further compact components (disconnected sub-graphs)."),!1),oa),ys),en(_n)))),Bs(e,ilt,W_,!0),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,LEt),R2e),"Post Compaction Strategy"),j2e),c_t),ts),USt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,DEt),R2e),"Post Compaction Constraint Calculation"),j2e),o_t),ts),ESt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,qV),REt),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,slt),REt),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),he(16)),ac),Ra),en(_n)))),Bs(e,slt,qV,!0),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,alt),REt),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),he(5)),ac),Ra),en(_n)))),Bs(e,alt,qV,!0),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,Bg),jEt),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),O_t),ts),YAt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,HV),jEt),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Wa),zs),en(_n)))),Bs(e,HV,Bg,qxe),Bs(e,HV,Bg,Hxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,VV),jEt),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Wa),zs),en(_n)))),Bs(e,VV,Bg,Uxe),Bs(e,VV,Bg,Gxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,tA),$2e),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),I_t),ts),_St),en(_n)))),Bs(e,tA,Bg,Jxe),Bs(e,tA,Bg,Zxe),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,olt),$2e),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),xd),Vh),en(_n)))),Bs(e,olt,tA,Wxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,clt),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),M_t),ac),Ra),en(_n)))),Bs(e,clt,tA,Xxe),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,UV),z2e),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),N_t),ts),WAt),en(_n)))),Bs(e,UV,Bg,h6e),Bs(e,UV,Bg,f6e),Qe(e,new He(Ye(We(Xe(Ve(Ke(Ue(Ge(new je,GV),z2e),"Valid Indices for Wrapping"),null),xd),Vh),en(_n)))),Bs(e,GV,Bg,c6e),Bs(e,GV,Bg,u6e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,KV),$Et),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),oa),ys),en(_n)))),Bs(e,KV,Bg,r6e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,WV),$Et),"Distance Penalty When Improving Cuts"),null),2),Wa),zs),en(_n)))),Bs(e,WV,Bg,e6e),Bs(e,WV,KV,!0),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,ult),$Et),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),oa),ys),en(_n)))),Bs(e,ult,Bg,s6e),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,MEt),glt),"Edge Label Side Selection"),"Method to decide on edge label sides."),m_t),ts),ISt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,IEt),glt),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),w_t),ts),TT),Hi(_n,lt(ut(G0,1),te,170,0,[Wp]))))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,YV),eA),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),h_t),ts),RAt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,OEt),eA),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),oa),ys),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,NEt),eA),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),oa),ys),en(Qs)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,llt),eA),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),u_t),ts),LCt),en(_n)))),Bs(e,llt,W_,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,PEt),eA),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),l_t),ts),LAt),en(_n)))),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,hlt),eA),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Wa),zs),en(_n)))),Bs(e,hlt,YV,null),Qe(e,new He(Ye(We(Xe(fn(Ve(Ke(Ue(Ge(new je,flt),eA),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Wa),zs),en(_n)))),Bs(e,flt,YV,null),ibe((new Jet,e))};var u5e,l5e,h5e,o_t,f5e,c_t,d5e,u_t,g5e,p5e,b5e,l_t,w5e,m5e,v5e,h_t,y5e,x5e,k5e,f_t,E5e,T5e,C5e,d_t,S5e,_5e,A5e,L5e,D5e,M5e,I5e,O5e,N5e,P5e,g_t,F5e,p_t,B5e,b_t,R5e,w_t,j5e,m_t,$5e,z5e,q5e,v_t,H5e,y_t,V5e,x_t,U5e,G5e,K5e,W5e,Y5e,X5e,Q5e,J5e,Z5e,txe,k_t,exe,nxe,rxe,ixe,sxe,axe,E_t,oxe,cxe,uxe,lxe,hxe,fxe,dxe,T_t,gxe,C_t,pxe,bxe,wxe,S_t,mxe,vxe,__t,yxe,xxe,kxe,Exe,Txe,Cxe,Sxe,_xe,A_t,Axe,Lxe,Dxe,L_t,Mxe,D_t,Ixe,Oxe,Nxe,Pxe,Fxe,Bxe,Rxe,jxe,$xe,zxe,qxe,Hxe,Vxe,Uxe,Gxe,Kxe,Wxe,Yxe,M_t,Xxe,Qxe,I_t,Jxe,Zxe,t6e,e6e,n6e,r6e,i6e,s6e,a6e,O_t,o6e,c6e,u6e,l6e,N_t,h6e,f6e;I(Hc,"LayeredMetaDataProvider",859),D(998,1,uf,Jet),l.hf=function(e){ibe(e)};var u0,Jft,OG,PA,NG,P_t,PG,_3,FG,F_t,B_t,BG,Zft,U0,t1t,Ev,R_t,iP,e1t,j_t,d6e,g6e,p6e,RG,n1t,FA,Dw,b6e,ph,$_t,z_t,jG,r1t,l0,$G,zg,q_t,H_t,V_t,i1t,s1t,U_t,Hp,a1t,G_t,A3,K_t,W_t,Y_t,zG,L3,Mw,X_t,Q_t,Vo,J_t,w6e,Iu,qG,Z_t,tAt,eAt,a2,Iw,HG,nAt,rAt,VG,Tv,iAt,o1t,BA,sAt,Cv,RA,UG,Ow,c1t,IT,GG,Nw,aAt,oAt,cAt,OT,uAt,m6e,v6e,y6e,x6e,Sv,D3,bs,Vp,k6e,M3,lAt,NT,hAt,I3,E6e,PT,fAt,Yk,T6e,C6e,sP,u1t,dAt,aP,Yf,W5,Y5,_v,Pw,KG,O3,l1t,FT,BT,Av,X5,h1t,oP,jA,$A,S6e,_6e,A6e,gAt,L6e,f1t,pAt,bAt,wAt,mAt,d1t,vAt,yAt,xAt,kAt,g1t,WG;I(Hc,"LayeredOptions",998),D(999,1,{},RJ),l.sf=function(){var e;return e=new EKt,e},l.tf=function(e){},I(Hc,"LayeredOptions/LayeredFactory",999),D(1391,1,{}),l.a=0;var D6e;I(_c,"ElkSpacings/AbstractSpacingsBuilder",1391),D(792,1391,{},V5t);var YG,M6e;I(Hc,"LayeredSpacings/LayeredSpacingsBuilder",792),D(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},F4),l.dg=function(){return v0e(this)},l.qg=function(){return v0e(this)};var RT,p1t,jT,EAt,TAt,CAt,XG,b1t,SAt,_At=Lr(Hc,"LayeringStrategy",265,Pr,Sgn,Mon),I6e;D(390,22,{3:1,34:1,22:1,390:1},Srt);var w1t,AAt,QG,LAt=Lr(Hc,"LongEdgeOrderingStrategy",390,Pr,Ifn,Ion),O6e;D(203,22,{3:1,34:1,22:1,203:1},$$);var Q5,J5,JG,m1t,v1t=Lr(Hc,"NodeFlexibility",203,Pr,z1n,Oon),N6e;D(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},GM),l.dg=function(){return ude(this)},l.qg=function(){return ude(this)};var zA,y1t,x1t,qA,DAt,MAt=Lr(Hc,"NodePlacementStrategy",323,Pr,Idn,Non),P6e;D(243,22,{3:1,34:1,22:1,243:1},Ey);var IAt,Lv,N3,cP,OAt,NAt,uP,PAt,ZG,tK,FAt=Lr(Hc,"NodePromotionStrategy",243,Pr,Qgn,Pon),F6e;D(284,22,{3:1,34:1,22:1,284:1},z$);var BAt,Up,k1t,E1t,RAt=Lr(Hc,"OrderingStrategy",284,Pr,q1n,Fon),B6e;D(430,22,{3:1,34:1,22:1,430:1},Qwt);var T1t,C1t,jAt=Lr(Hc,"PortSortingStrategy",430,Pr,Nhn,Bon),R6e;D(462,22,{3:1,34:1,22:1,462:1},_rt);var vl,ku,HA,j6e=Lr(Hc,"PortType",462,Pr,Ofn,Ron),$6e;D(387,22,{3:1,34:1,22:1,387:1},Art);var $At,S1t,zAt,qAt=Lr(Hc,"SelfLoopDistributionStrategy",387,Pr,Nfn,jon),z6e;D(349,22,{3:1,34:1,22:1,349:1},Lrt);var _1t,lP,A1t,HAt=Lr(Hc,"SelfLoopOrderingStrategy",349,Pr,Pfn,$on),q6e;D(312,1,{312:1},epe),I(Hc,"Spacings",312),D(350,22,{3:1,34:1,22:1,350:1},Drt);var L1t,VAt,VA,UAt=Lr(Hc,"SplineRoutingMode",350,Pr,Ffn,zon),H6e;D(352,22,{3:1,34:1,22:1,352:1},Mrt);var D1t,GAt,KAt,WAt=Lr(Hc,"ValidifyStrategy",352,Pr,Bfn,qon),V6e;D(388,22,{3:1,34:1,22:1,388:1},Irt);var P3,M1t,$T,YAt=Lr(Hc,"WrappingStrategy",388,Pr,Rfn,Hon),U6e;D(1398,1,_o,Ket),l.rg=function(e){return u(e,36),G6e},l.Kf=function(e,n){kTn(this,u(e,36),n)};var G6e;I(tU,"DepthFirstCycleBreaker",1398),D(793,1,_o,lyt),l.rg=function(e){return u(e,36),K6e},l.Kf=function(e,n){CSn(this,u(e,36),n)},l.sg=function(e){return u(Oe(e,MH(this.d,e.c.length)),10)};var K6e;I(tU,"GreedyCycleBreaker",793),D(1401,793,_o,vQt),l.sg=function(e){var n,r,s,o;for(o=null,n=xi,s=new G(e);s.a<s.c.c.length;)r=u(et(s),10),qi(r,(oe(),Pi))&&u(X(r,Pi),17).a<n&&(n=u(X(r,Pi),17).a,o=r);return o||u(Oe(e,MH(this.d,e.c.length)),10)},I(tU,"GreedyModelOrderCycleBreaker",1401),D(1399,1,_o,Mj),l.rg=function(e){return u(e,36),W6e},l.Kf=function(e,n){MTn(this,u(e,36),n)};var W6e;I(tU,"InteractiveCycleBreaker",1399),D(1400,1,_o,g6),l.rg=function(e){return u(e,36),Y6e},l.Kf=function(e,n){zTn(this,u(e,36),n)},l.a=0,l.b=0;var Y6e;I(tU,"ModelOrderCycleBreaker",1400),D(1413,1,_o,Dj),l.rg=function(e){return u(e,36),X6e},l.Kf=function(e,n){DCn(this,u(e,36),n)};var X6e;I(Rg,"BreadthFirstModelOrderLayerer",1413),D(1414,1,Xr,jJ),l.Ne=function(e,n){return e5n(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"BreadthFirstModelOrderLayerer/lambda$0$Type",1414),D(1404,1,_o,GYt),l.rg=function(e){return u(e,36),Q6e},l.Kf=function(e,n){DSn(this,u(e,36),n)};var Q6e;I(Rg,"CoffmanGrahamLayerer",1404),D(1405,1,Xr,lUt),l.Ne=function(e,n){return z5n(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1405),D(1406,1,Xr,hUt),l.Ne=function(e,n){return zun(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"CoffmanGrahamLayerer/lambda$1$Type",1406),D(1415,1,_o,vM),l.rg=function(e){return u(e,36),J6e},l.Kf=function(e,n){wSn(this,u(e,36),n)},l.c=0,l.e=0;var J6e;I(Rg,"DepthFirstModelOrderLayerer",1415),D(1416,1,Xr,$J),l.Ne=function(e,n){return n5n(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"DepthFirstModelOrderLayerer/lambda$0$Type",1416),D(1407,1,_o,zJ),l.rg=function(e){return u(e,36),ri(ri(ri(new Fs,(Ua(),Wf),(Za(),gft)),H0,E3),Qc,k3)},l.Kf=function(e,n){HCn(u(e,36),n)},I(Rg,"InteractiveLayerer",1407),D(578,1,{578:1},_Kt),l.a=0,l.c=0,I(Rg,"InteractiveLayerer/LayerSpan",578),D(1403,1,_o,NC),l.rg=function(e){return u(e,36),Z6e},l.Kf=function(e,n){wkn(this,u(e,36),n)};var Z6e;I(Rg,"LongestPathLayerer",1403),D(1412,1,_o,OC),l.rg=function(e){return u(e,36),tke},l.Kf=function(e,n){zkn(this,u(e,36),n)};var tke;I(Rg,"LongestPathSourceLayerer",1412),D(1410,1,_o,yM),l.rg=function(e){return u(e,36),ri(ri(ri(new Fs,(Ua(),Wf),(Za(),B5)),H0,E3),Qc,k3)},l.Kf=function(e,n){JCn(this,u(e,36),n)},l.a=0,l.b=0,l.d=0;var XAt,QAt;I(Rg,"MinWidthLayerer",1410),D(1411,1,Xr,fUt),l.Ne=function(e,n){return vpn(this,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"MinWidthLayerer/MinOutgoingEdgesComparator",1411),D(1402,1,_o,Wet),l.rg=function(e){return u(e,36),eke},l.Kf=function(e,n){f9n(this,u(e,36),n)};var eke;I(Rg,"NetworkSimplexLayerer",1402),D(1408,1,_o,yZt),l.rg=function(e){return u(e,36),ri(ri(ri(new Fs,(Ua(),Wf),(Za(),B5)),H0,E3),Qc,k3)},l.Kf=function(e,n){X9n(this,u(e,36),n)},l.d=0,l.f=0,l.g=0,l.i=0,l.s=0,l.t=0,l.u=0,I(Rg,"StretchWidthLayerer",1408),D(1409,1,Xr,qJ),l.Ne=function(e,n){return Xdn(u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Rg,"StretchWidthLayerer/1",1409),D(413,1,x7t),l.gg=function(e,n,r,s,o,h){},l.ug=function(e,n,r){return G0e(this,e,n,r)},l.fg=function(){this.g=Vt(Y3,H2e,28,this.d,15,1),this.f=Vt(Y3,H2e,28,this.d,15,1)},l.hg=function(e,n){this.e[e]=Vt(Fr,ii,28,n[e].length,15,1)},l.ig=function(e,n,r){var s;s=r[e][n],s.p=n,this.e[e][n]=n},l.jg=function(e,n,r,s){u(Oe(s[e][n].j,r),12).p=this.d++},l.b=0,l.c=0,l.d=0,I(al,"AbstractBarycenterPortDistributor",413),D(1698,1,Xr,dUt),l.Ne=function(e,n){return Gwn(this.a,u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(al,"AbstractBarycenterPortDistributor/lambda$0$Type",1698),D(832,1,xN,p3t),l.gg=function(e,n,r,s,o,h){},l.ig=function(e,n,r){},l.jg=function(e,n,r,s){},l.eg=function(){return!1},l.fg=function(){this.c=this.e.a,this.g=this.f.g},l.hg=function(e,n){n[e][0].c.p=e},l.kg=function(){return!1},l.vg=function(e,n,r,s){r?Whe(this,e):(Jhe(this,e,s),gpe(this,e,n)),e.c.length>1&&(Ie(Me(X(Pa((vn(0,e.c.length),u(e.c[0],10))),(De(),Ev))))?kde(e,this.d,u(this,669)):(mn(),Ds(e,this.d)),kce(this.e,e))},l.lg=function(e,n,r,s){var o,h,d,m,k,T,A;for(n!=jte(r,e.length)&&(h=e[n-(r?1:-1)],j3t(this.f,h,r?(To(),ku):(To(),vl))),o=e[n][0],A=!s||o.k==(Un(),Ms),T=id(e[n]),this.vg(T,A,!1,r),d=0,k=new G(T);k.a<k.c.c.length;)m=u(et(k),10),e[n][d++]=m;return!1},l.mg=function(e,n){var r,s,o,h,d;for(d=jte(n,e.length),h=id(e[d]),this.vg(h,!1,!0,n),r=0,o=new G(h);o.a<o.c.c.length;)s=u(et(o),10),e[d][r++]=s;return!1},I(al,"BarycenterHeuristic",832),D(667,1,{667:1},bUt),l.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},l.b=0,l.d=0,l.e=!1;var nke=I(al,"BarycenterHeuristic/BarycenterState",667);D(1865,1,Xr,gUt),l.Ne=function(e,n){return $yn(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(al,"BarycenterHeuristic/lambda$0$Type",1865),D(831,1,xN,Wxt),l.fg=function(){},l.gg=function(e,n,r,s,o,h){},l.jg=function(e,n,r,s){},l.hg=function(e,n){this.a[e]=Vt(nke,{3:1,4:1,5:1,2117:1},667,n[e].length,0,1),this.b[e]=Vt(rke,{3:1,4:1,5:1,2118:1},239,n[e].length,0,1)},l.ig=function(e,n,r){Ole(this,r[e][n],!0)},l.c=!1,I(al,"ForsterConstraintResolver",831),D(239,1,{239:1},Sne,tpe),l.Ib=function(){var e,n;for(n=new yb,n.a+="[",e=0;e<this.d.length;e++)ni(n,Wle(this.d[e])),td(this.g,this.d[0]).a!=null&&ni(ni((n.a+="<",n),fin(td(this.g,this.d[0]).a)),">"),e<this.d.length-1&&(n.a+=ao);return(n.a+="]",n).a},l.a=0,l.c=0,l.f=0;var rke=I(al,"ForsterConstraintResolver/ConstraintGroup",239);D(1860,1,ir,pUt),l.Cd=function(e){Ole(this.a,u(e,10),!1)},I(al,"ForsterConstraintResolver/lambda$0$Type",1860),D(219,1,{219:1,230:1},rpe),l.gg=function(e,n,r,s,o,h){},l.hg=function(e,n){},l.fg=function(){this.r=Vt(Fr,ii,28,this.n,15,1)},l.ig=function(e,n,r){var s,o;o=r[e][n],s=o.e,s&&ge(this.b,s)},l.jg=function(e,n,r,s){++this.n},l.Ib=function(){return ppe(this.e,new Os)},l.g=!1,l.i=!1,l.n=0,l.s=!1,I(al,"GraphInfoHolder",219),D(1905,1,xN,HJ),l.gg=function(e,n,r,s,o,h){},l.hg=function(e,n){},l.jg=function(e,n,r,s){},l.ug=function(e,n,r){return r&&n>0?fst(this.a,e[n-1],e[n]):!r&&n<e.length-1?fst(this.a,e[n],e[n+1]):aat(this.a,e[n],r?(ve(),Gn):(ve(),Jn)),v6n(this,e,n,r)},l.fg=function(){this.d=Vt(Fr,ii,28,this.c,15,1),this.a=new dI(this.d)},l.ig=function(e,n,r){var s;s=r[e][n],this.c+=s.j.c.length},l.c=0,I(al,"GreedyPortDistributor",1905),D(1421,1,_o,Zet),l.rg=function(e){return Bbn(u(e,36))},l.Kf=function(e,n){I9n(u(e,36),n)};var ike;I(al,"InteractiveCrossingMinimizer",1421),D(1422,1,Xr,mUt),l.Ne=function(e,n){return xyn(this,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(al,"InteractiveCrossingMinimizer/1",1422),D(514,1,{514:1,106:1,47:1},Xnt),l.rg=function(e){var n;return u(e,36),n=rz(ske),ri(n,(Ua(),Qc),(Za(),uG)),n},l.Kf=function(e,n){jEn(this,u(e,36),n)},l.e=0;var ske;I(al,"LayerSweepCrossingMinimizer",514),D(1418,1,ir,vUt),l.Cd=function(e){L7n(this.a,u(e,219))},I(al,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1418),D(1419,1,ir,yUt),l.Cd=function(e){Pbn(this.a,u(e,219))},I(al,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1419),D(1420,1,ir,xUt),l.Cd=function(e){Ige(this.a,u(e,219))},I(al,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1420),D(463,22,{3:1,34:1,22:1,463:1},Ort);var hP,UA,eK,ake=Lr(al,"LayerSweepCrossingMinimizer/CrossMinType",463,Pr,jfn,Von),oke;D(1417,1,Kr,VJ),l.Mb=function(e){return F4t(),u(e,30).a.c.length==0},I(al,"LayerSweepCrossingMinimizer/lambda$0$Type",1417),D(1862,1,xN,ire),l.fg=function(){},l.gg=function(e,n,r,s,o,h){},l.jg=function(e,n,r,s){},l.hg=function(e,n){n[e][0].c.p=e,this.b[e]=Vt(cke,{3:1,4:1,5:1,2043:1},668,n[e].length,0,1)},l.ig=function(e,n,r){var s;s=r[e][n],s.p=n,ls(this.b[e],n,new YD)},I(al,"LayerSweepTypeDecider",1862),D(668,1,{668:1},YD),l.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},l.a=0,l.b=0,l.c=0;var cke=I(al,"LayerSweepTypeDecider/NodeInfo",668);D(1863,1,t0,UJ),l.Lb=function(e){return TS(new sd(u(e,12).b))},l.Fb=function(e){return this===e},l.Mb=function(e){return TS(new sd(u(e,12).b))},I(al,"LayerSweepTypeDecider/lambda$0$Type",1863),D(1864,1,t0,$8),l.Lb=function(e){return TS(new sd(u(e,12).b))},l.Fb=function(e){return this===e},l.Mb=function(e){return TS(new sd(u(e,12).b))},I(al,"LayerSweepTypeDecider/lambda$1$Type",1864),D(1906,413,x7t,AWt),l.tg=function(e,n,r){var s,o,h,d,m,k,T,A,P;switch(T=this.g,r.g){case 1:{for(s=0,o=0,k=new G(e.j);k.a<k.c.c.length;)d=u(et(k),12),d.e.c.length!=0&&(++s,d.j==(ve(),Hn)&&++o);for(h=n+o,P=n+s,m=Ym(e,(To(),vl)).Kc();m.Ob();)d=u(m.Pb(),12),d.j==(ve(),Hn)?(T[d.p]=h,--h):(T[d.p]=P,--P);return s}case 2:{for(A=0,m=Ym(e,(To(),ku)).Kc();m.Ob();)d=u(m.Pb(),12),++A,T[d.p]=n+A;return A}default:throw at(new DM)}},I(al,"LayerTotalPortDistributor",1906),D(669,832,{669:1,230:1},Yoe),l.vg=function(e,n,r,s){r?Whe(this,e):(Jhe(this,e,s),gpe(this,e,n)),e.c.length>1&&(Ie(Me(X(Pa((vn(0,e.c.length),u(e.c[0],10))),(De(),Ev))))?kde(e,this.d,this):(mn(),Ds(e,this.d)),Ie(Me(X(Pa((vn(0,e.c.length),u(e.c[0],10))),Ev)))||kce(this.e,e))},I(al,"ModelOrderBarycenterHeuristic",669),D(1866,1,Xr,kUt),l.Ne=function(e,n){return x4n(this.a,u(e,10),u(n,10))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(al,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),D(1423,1,_o,tnt),l.rg=function(e){var n;return u(e,36),n=rz(uke),ri(n,(Ua(),Qc),(Za(),uG)),n},l.Kf=function(e,n){ihn((u(e,36),n))};var uke;I(al,"NoCrossingMinimizer",1423),D(809,413,x7t,ywt),l.tg=function(e,n,r){var s,o,h,d,m,k,T,A,P,$,U;switch(P=this.g,r.g){case 1:{for(o=0,h=0,A=new G(e.j);A.a<A.c.c.length;)k=u(et(A),12),k.e.c.length!=0&&(++o,k.j==(ve(),Hn)&&++h);for(s=1/(o+1),d=n+h*s,U=n+1-s,T=Ym(e,(To(),vl)).Kc();T.Ob();)k=u(T.Pb(),12),k.j==(ve(),Hn)?(P[k.p]=d,d-=s):(P[k.p]=U,U-=s);break}case 2:{for(m=0,A=new G(e.j);A.a<A.c.c.length;)k=u(et(A),12),k.g.c.length==0||++m;for(s=1/(m+1),$=n+s,T=Ym(e,(To(),ku)).Kc();T.Ob();)k=u(T.Pb(),12),P[k.p]=$,$+=s;break}default:throw at(new zn("Port type is undefined"))}return 1},I(al,"NodeRelativePortDistributor",809),D(822,1,{},bee,Dfe),I(al,"SweepCopy",822),D(1861,1,xN,gle),l.hg=function(e,n){},l.fg=function(){var e;e=Vt(Fr,ii,28,this.f,15,1),this.d=new DUt(e),this.a=new dI(e)},l.gg=function(e,n,r,s,o,h){var d;d=u(Oe(h[e][n].j,r),12),o.c==d&&o.c.i.c==o.d.i.c&&++this.e[e]},l.ig=function(e,n,r){var s;s=r[e][n],this.c[e]=this.c[e]|s.k==(Un(),uu)},l.jg=function(e,n,r,s){var o;o=u(Oe(s[e][n].j,r),12),o.p=this.f++,o.g.c.length+o.e.c.length>1&&(o.j==(ve(),Jn)?this.b[e]=!0:o.j==Gn&&e>0&&(this.b[e-1]=!0))},l.f=0,I(z0,"AllCrossingsCounter",1861),D(595,1,{},Yq),l.b=0,l.d=0,I(z0,"BinaryIndexedTree",595),D(532,1,{},dI);var JAt,nK;I(z0,"CrossingsCounter",532),D(1950,1,Xr,EUt),l.Ne=function(e,n){return Dun(this.a,u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(z0,"CrossingsCounter/lambda$0$Type",1950),D(1951,1,Xr,TUt),l.Ne=function(e,n){return Mun(this.a,u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(z0,"CrossingsCounter/lambda$1$Type",1951),D(1952,1,Xr,CUt),l.Ne=function(e,n){return Iun(this.a,u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(z0,"CrossingsCounter/lambda$2$Type",1952),D(1953,1,Xr,SUt),l.Ne=function(e,n){return Oun(this.a,u(e,12),u(n,12))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(z0,"CrossingsCounter/lambda$3$Type",1953),D(1954,1,ir,_Ut),l.Cd=function(e){O0n(this.a,u(e,12))},I(z0,"CrossingsCounter/lambda$4$Type",1954),D(1955,1,Kr,AUt),l.Mb=function(e){return iin(this.a,u(e,12))},I(z0,"CrossingsCounter/lambda$5$Type",1955),D(1956,1,ir,LUt),l.Cd=function(e){lQt(this,e)},I(z0,"CrossingsCounter/lambda$6$Type",1956),D(1957,1,ir,xXt),l.Cd=function(e){var n;LE(),Ob(this.b,(n=this.a,u(e,12),n))},I(z0,"CrossingsCounter/lambda$7$Type",1957),D(839,1,t0,yR),l.Lb=function(e){return LE(),qi(u(e,12),(oe(),ml))},l.Fb=function(e){return this===e},l.Mb=function(e){return LE(),qi(u(e,12),(oe(),ml))},I(z0,"CrossingsCounter/lambda$8$Type",839),D(1949,1,{},DUt),I(z0,"HyperedgeCrossingsCounter",1949),D(477,1,{34:1,477:1},TZt),l.Fd=function(e){return Iwn(this,u(e,477))},l.b=0,l.c=0,l.e=0,l.f=0;var f_n=I(z0,"HyperedgeCrossingsCounter/Hyperedge",477);D(374,1,{34:1,374:1},Yz),l.Fd=function(e){return Gxn(this,u(e,374))},l.b=0,l.c=0;var lke=I(z0,"HyperedgeCrossingsCounter/HyperedgeCorner",374);D(531,22,{3:1,34:1,22:1,531:1},Jwt);var GA,KA,hke=Lr(z0,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Pr,Phn,Uon),fke;D(1425,1,_o,ent),l.rg=function(e){return u(X(u(e,36),(oe(),lu)),21).Hc((Co(),Uh))?dke:null},l.Kf=function(e,n){ryn(this,u(e,36),n)};var dke;I(Ao,"InteractiveNodePlacer",1425),D(1426,1,_o,nnt),l.rg=function(e){return u(X(u(e,36),(oe(),lu)),21).Hc((Co(),Uh))?gke:null},l.Kf=function(e,n){zmn(this,u(e,36),n)};var gke,rK,iK;I(Ao,"LinearSegmentsNodePlacer",1426),D(261,1,{34:1,261:1},W2t),l.Fd=function(e){return brn(this,u(e,261))},l.Fb=function(e){var n;return Lt(e,261)?(n=u(e,261),this.b==n.b):!1},l.Hb=function(){return this.b},l.Ib=function(){return"ls"+Hb(this.e)},l.a=0,l.b=0,l.c=-1,l.d=-1,l.g=0;var pke=I(Ao,"LinearSegmentsNodePlacer/LinearSegment",261);D(1428,1,_o,Yte),l.rg=function(e){return u(X(u(e,36),(oe(),lu)),21).Hc((Co(),Uh))?bke:null},l.Kf=function(e,n){bSn(this,u(e,36),n)},l.b=0,l.g=0;var bke;I(Ao,"NetworkSimplexPlacer",1428),D(1447,1,Xr,GJ),l.Ne=function(e,n){return jc(u(e,17).a,u(n,17).a)},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Ao,"NetworkSimplexPlacer/0methodref$compare$Type",1447),D(1449,1,Xr,KJ),l.Ne=function(e,n){return jc(u(e,17).a,u(n,17).a)},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Ao,"NetworkSimplexPlacer/1methodref$compare$Type",1449),D(655,1,{655:1},kXt);var d_n=I(Ao,"NetworkSimplexPlacer/EdgeRep",655);D(412,1,{412:1},Vyt),l.b=!1;var g_n=I(Ao,"NetworkSimplexPlacer/NodeRep",412);D(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},IKt),I(Ao,"NetworkSimplexPlacer/Path",515),D(1429,1,{},WJ),l.Kb=function(e){return u(e,18).d.i.k},I(Ao,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),D(1430,1,Kr,YJ),l.Mb=function(e){return u(e,273)==(Un(),fa)},I(Ao,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),D(1431,1,{},XJ),l.Kb=function(e){return u(e,18).d.i},I(Ao,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),D(1432,1,Kr,MUt),l.Mb=function(e){return cZt(hle(u(e,10)))},I(Ao,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),D(1433,1,Kr,QJ),l.Mb=function(e){return gun(u(e,12))},I(Ao,"NetworkSimplexPlacer/lambda$0$Type",1433),D(1434,1,ir,EXt),l.Cd=function(e){Yin(this.a,this.b,u(e,12))},I(Ao,"NetworkSimplexPlacer/lambda$1$Type",1434),D(1443,1,ir,IUt),l.Cd=function(e){x5n(this.a,u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$10$Type",1443),D(1444,1,{},JJ),l.Kb=function(e){return rh(),new ln(null,new gn(u(e,30).a,16))},I(Ao,"NetworkSimplexPlacer/lambda$11$Type",1444),D(1445,1,ir,OUt),l.Cd=function(e){p8n(this.a,u(e,10))},I(Ao,"NetworkSimplexPlacer/lambda$12$Type",1445),D(1446,1,{},ZJ),l.Kb=function(e){return rh(),he(u(e,125).e)},I(Ao,"NetworkSimplexPlacer/lambda$13$Type",1446),D(1448,1,{},tZ),l.Kb=function(e){return rh(),he(u(e,125).e)},I(Ao,"NetworkSimplexPlacer/lambda$15$Type",1448),D(1450,1,Kr,eZ),l.Mb=function(e){return rh(),u(e,412).c.k==(Un(),xs)},I(Ao,"NetworkSimplexPlacer/lambda$17$Type",1450),D(1451,1,Kr,nZ),l.Mb=function(e){return rh(),u(e,412).c.j.c.length>1},I(Ao,"NetworkSimplexPlacer/lambda$18$Type",1451),D(1452,1,ir,rne),l.Cd=function(e){twn(this.c,this.b,this.d,this.a,u(e,412))},l.c=0,l.d=0,I(Ao,"NetworkSimplexPlacer/lambda$19$Type",1452),D(1435,1,{},rZ),l.Kb=function(e){return rh(),new ln(null,new gn(u(e,30).a,16))},I(Ao,"NetworkSimplexPlacer/lambda$2$Type",1435),D(1453,1,ir,NUt),l.Cd=function(e){Qin(this.a,u(e,12))},l.a=0,I(Ao,"NetworkSimplexPlacer/lambda$20$Type",1453),D(1454,1,{},iZ),l.Kb=function(e){return rh(),new ln(null,new gn(u(e,30).a,16))},I(Ao,"NetworkSimplexPlacer/lambda$21$Type",1454),D(1455,1,ir,PUt),l.Cd=function(e){usn(this.a,u(e,10))},I(Ao,"NetworkSimplexPlacer/lambda$22$Type",1455),D(1456,1,Kr,sZ),l.Mb=function(e){return cZt(e)},I(Ao,"NetworkSimplexPlacer/lambda$23$Type",1456),D(1457,1,{},aZ),l.Kb=function(e){return rh(),new ln(null,new gn(u(e,30).a,16))},I(Ao,"NetworkSimplexPlacer/lambda$24$Type",1457),D(1458,1,Kr,FUt),l.Mb=function(e){return min(this.a,u(e,10))},I(Ao,"NetworkSimplexPlacer/lambda$25$Type",1458),D(1459,1,ir,TXt),l.Cd=function(e){C4n(this.a,this.b,u(e,10))},I(Ao,"NetworkSimplexPlacer/lambda$26$Type",1459),D(1460,1,Kr,n6),l.Mb=function(e){return rh(),!go(u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$27$Type",1460),D(1461,1,Kr,xR),l.Mb=function(e){return rh(),!go(u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$28$Type",1461),D(1462,1,{},BUt),l.Ve=function(e,n){return Xin(this.a,u(e,30),u(n,30))},I(Ao,"NetworkSimplexPlacer/lambda$29$Type",1462),D(1436,1,{},oZ),l.Kb=function(e){return rh(),new ln(null,new Lm(new rr(sr(_s(u(e,10)).a.Kc(),new z))))},I(Ao,"NetworkSimplexPlacer/lambda$3$Type",1436),D(1437,1,Kr,cZ),l.Mb=function(e){return rh(),S1n(u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$4$Type",1437),D(1438,1,ir,RUt),l.Cd=function(e){T7n(this.a,u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$5$Type",1438),D(1439,1,{},uZ),l.Kb=function(e){return rh(),new ln(null,new gn(u(e,30).a,16))},I(Ao,"NetworkSimplexPlacer/lambda$6$Type",1439),D(1440,1,Kr,kR),l.Mb=function(e){return rh(),u(e,10).k==(Un(),xs)},I(Ao,"NetworkSimplexPlacer/lambda$7$Type",1440),D(1441,1,{},lZ),l.Kb=function(e){return rh(),new ln(null,new Lm(new rr(sr(Dg(u(e,10)).a.Kc(),new z))))},I(Ao,"NetworkSimplexPlacer/lambda$8$Type",1441),D(1442,1,Kr,cC),l.Mb=function(e){return rh(),dun(u(e,18))},I(Ao,"NetworkSimplexPlacer/lambda$9$Type",1442),D(1424,1,_o,rnt),l.rg=function(e){return u(X(u(e,36),(oe(),lu)),21).Hc((Co(),Uh))?wke:null},l.Kf=function(e,n){iTn(u(e,36),n)};var wke;I(Ao,"SimpleNodePlacer",1424),D(185,1,{185:1},m5),l.Ib=function(){var e;return e="",this.c==(Gd(),Dv)?e+=Ak:this.c==Gp&&(e+=_k),this.o==(nd(),Fw)?e+=xut:this.o==yd?e+="UP":e+="BALANCED",e},I(Qb,"BKAlignedLayout",185),D(523,22,{3:1,34:1,22:1,523:1},Zwt);var Gp,Dv,mke=Lr(Qb,"BKAlignedLayout/HDirection",523,Pr,Fhn,Gon),vke;D(522,22,{3:1,34:1,22:1,522:1},tmt);var Fw,yd,yke=Lr(Qb,"BKAlignedLayout/VDirection",522,Pr,Bhn,Kon),xke;D(1699,1,{},CXt),I(Qb,"BKAligner",1699),D(1702,1,{},Fhe),I(Qb,"BKCompactor",1702),D(663,1,{663:1},hZ),l.a=0,I(Qb,"BKCompactor/ClassEdge",663),D(466,1,{466:1},LKt),l.a=null,l.b=0,I(Qb,"BKCompactor/ClassNode",466),D(1427,1,_o,LXt),l.rg=function(e){return u(X(u(e,36),(oe(),lu)),21).Hc((Co(),Uh))?kke:null},l.Kf=function(e,n){NSn(this,u(e,36),n)},l.d=!1;var kke;I(Qb,"BKNodePlacer",1427),D(1700,1,{},fZ),l.d=0,I(Qb,"NeighborhoodInformation",1700),D(1701,1,Xr,jUt),l.Ne=function(e,n){return cgn(this,u(e,42),u(n,42))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(Qb,"NeighborhoodInformation/NeighborComparator",1701),D(823,1,{}),I(Qb,"ThresholdStrategy",823),D(1825,823,{},DKt),l.wg=function(e,n,r){return this.a.o==(nd(),yd)?Zi:Vs},l.xg=function(){},I(Qb,"ThresholdStrategy/NullThresholdStrategy",1825),D(587,1,{587:1},DXt),l.c=!1,l.d=!1,I(Qb,"ThresholdStrategy/Postprocessable",587),D(1826,823,{},MKt),l.wg=function(e,n,r){var s,o,h;return o=n==r,s=this.a.a[r.p]==n,o||s?(h=e,this.a.c==(Gd(),Dv)?(o&&(h=yct(this,n,!0)),!isNaN(h)&&!isFinite(h)&&s&&(h=yct(this,r,!1))):(o&&(h=yct(this,n,!0)),!isNaN(h)&&!isFinite(h)&&s&&(h=yct(this,r,!1))),h):e},l.xg=function(){for(var e,n,r,s,o;this.d.b!=0;)o=u(Zhn(this.d),587),s=uge(this,o),s.a&&(e=s.a,r=Ie(this.a.f[this.a.g[o.b.p].p]),!(!r&&!go(e)&&e.c.i.c==e.d.i.c)&&(n=gde(this,o),n||xin(this.e,o)));for(;this.e.a.c.length!=0;)gde(this,u(gue(this.e),587))},I(Qb,"ThresholdStrategy/SimpleThresholdStrategy",1826),D(645,1,{645:1,188:1,196:1},dZ),l.dg=function(){return Ece(this)},l.qg=function(){return Ece(this)};var I1t;I(vlt,"EdgeRouterFactory",645),D(1485,1,_o,int),l.rg=function(e){return Ukn(u(e,36))},l.Kf=function(e,n){hTn(u(e,36),n)};var Eke,Tke,Cke,Ske,_ke,ZAt,Ake,Lke;I(vlt,"OrthogonalEdgeRouter",1485),D(1478,1,_o,AXt),l.rg=function(e){return dyn(u(e,36))},l.Kf=function(e,n){NCn(this,u(e,36),n)};var Dke,Mke,Ike,Oke,fP,Nke;I(vlt,"PolylineEdgeRouter",1478),D(1479,1,t0,pZ),l.Lb=function(e){return z4t(u(e,10))},l.Fb=function(e){return this===e},l.Mb=function(e){return z4t(u(e,10))},I(vlt,"PolylineEdgeRouter/1",1479),D(1872,1,Kr,bZ),l.Mb=function(e){return u(e,132).c==(C1(),o2)},I(M1,"HyperEdgeCycleDetector/lambda$0$Type",1872),D(1873,1,{},wZ),l.Ze=function(e){return u(e,132).d},I(M1,"HyperEdgeCycleDetector/lambda$1$Type",1873),D(1874,1,Kr,mZ),l.Mb=function(e){return u(e,132).c==(C1(),o2)},I(M1,"HyperEdgeCycleDetector/lambda$2$Type",1874),D(1875,1,{},vZ),l.Ze=function(e){return u(e,132).d},I(M1,"HyperEdgeCycleDetector/lambda$3$Type",1875),D(1876,1,{},yZ),l.Ze=function(e){return u(e,132).d},I(M1,"HyperEdgeCycleDetector/lambda$4$Type",1876),D(1877,1,{},gZ),l.Ze=function(e){return u(e,132).d},I(M1,"HyperEdgeCycleDetector/lambda$5$Type",1877),D(118,1,{34:1,118:1},eO),l.Fd=function(e){return wrn(this,u(e,118))},l.Fb=function(e){var n;return Lt(e,118)?(n=u(e,118),this.g==n.g):!1},l.Hb=function(){return this.g},l.Ib=function(){var e,n,r,s;for(e=new eh("{"),s=new G(this.n);s.a<s.c.c.length;)r=u(et(s),12),n=EO(r.i),n==null&&(n="n"+PZt(r.i)),e.a+=""+n,s.a<s.c.c.length&&(e.a+=",");return e.a+="}",e.a},l.a=0,l.b=0,l.c=NaN,l.d=0,l.g=0,l.i=0,l.o=0,l.s=NaN,I(M1,"HyperEdgeSegment",118),D(132,1,{132:1},J2),l.Ib=function(){return this.a+"->"+this.b+" ("+Fsn(this.c)+")"},l.d=0,I(M1,"HyperEdgeSegmentDependency",132),D(528,22,{3:1,34:1,22:1,528:1},emt);var o2,F3,Pke=Lr(M1,"HyperEdgeSegmentDependency/DependencyType",528,Pr,Rhn,Won),Fke;D(1878,1,{},$Ut),I(M1,"HyperEdgeSegmentSplitter",1878),D(1879,1,{},IWt),l.a=0,l.b=0,I(M1,"HyperEdgeSegmentSplitter/AreaRating",1879),D(339,1,{339:1},yit),l.a=0,l.b=0,l.c=0,I(M1,"HyperEdgeSegmentSplitter/FreeArea",339),D(1880,1,Xr,r6),l.Ne=function(e,n){return Fan(u(e,118),u(n,118))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(M1,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),D(1881,1,ir,ine),l.Cd=function(e){ldn(this.a,this.d,this.c,this.b,u(e,118))},l.b=0,I(M1,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),D(1882,1,{},xZ),l.Kb=function(e){return new ln(null,new gn(u(e,118).e,16))},I(M1,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),D(1883,1,{},kZ),l.Kb=function(e){return new ln(null,new gn(u(e,118).j,16))},I(M1,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),D(1884,1,{},EZ),l.Ye=function(e){return Rt(Ht(e))},I(M1,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),D(664,1,{},Uit),l.a=0,l.b=0,l.c=0,I(M1,"OrthogonalRoutingGenerator",664),D(1703,1,{},TZ),l.Kb=function(e){return new ln(null,new gn(u(e,118).e,16))},I(M1,"OrthogonalRoutingGenerator/lambda$0$Type",1703),D(1704,1,{},CZ),l.Kb=function(e){return new ln(null,new gn(u(e,118).j,16))},I(M1,"OrthogonalRoutingGenerator/lambda$1$Type",1704),D(670,1,{}),I(ylt,"BaseRoutingDirectionStrategy",670),D(1870,670,{},PKt),l.yg=function(e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;if(!(e.r&&!e.q))for(A=n+e.o*r,T=new G(e.n);T.a<T.c.c.length;)for(k=u(et(T),12),P=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])).a,m=new G(k.g);m.a<m.c.c.length;)d=u(et(m),18),go(d)||(J=d.d,tt=dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a])).a,b.Math.abs(P-tt)>n0&&(h=A,o=e,s=new ae(P,h),Zr(d.a,s),ev(this,d,o,s,!1),$=e.r,$&&(U=Rt(Ht(jh($.e,0))),s=new ae(U,h),Zr(d.a,s),ev(this,d,o,s,!1),h=n+$.o*r,o=$,s=new ae(U,h),Zr(d.a,s),ev(this,d,o,s,!1)),s=new ae(tt,h),Zr(d.a,s),ev(this,d,o,s,!1)))},l.zg=function(e){return e.i.n.a+e.n.a+e.a.a},l.Ag=function(){return ve(),Er},l.Bg=function(){return ve(),Hn},I(ylt,"NorthToSouthRoutingStrategy",1870),D(1871,670,{},FKt),l.yg=function(e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;if(!(e.r&&!e.q))for(A=n-e.o*r,T=new G(e.n);T.a<T.c.c.length;)for(k=u(et(T),12),P=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])).a,m=new G(k.g);m.a<m.c.c.length;)d=u(et(m),18),go(d)||(J=d.d,tt=dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a])).a,b.Math.abs(P-tt)>n0&&(h=A,o=e,s=new ae(P,h),Zr(d.a,s),ev(this,d,o,s,!1),$=e.r,$&&(U=Rt(Ht(jh($.e,0))),s=new ae(U,h),Zr(d.a,s),ev(this,d,o,s,!1),h=n-$.o*r,o=$,s=new ae(U,h),Zr(d.a,s),ev(this,d,o,s,!1)),s=new ae(tt,h),Zr(d.a,s),ev(this,d,o,s,!1)))},l.zg=function(e){return e.i.n.a+e.n.a+e.a.a},l.Ag=function(){return ve(),Hn},l.Bg=function(){return ve(),Er},I(ylt,"SouthToNorthRoutingStrategy",1871),D(1869,670,{},BKt),l.yg=function(e,n,r){var s,o,h,d,m,k,T,A,P,$,U,J,tt;if(!(e.r&&!e.q))for(A=n+e.o*r,T=new G(e.n);T.a<T.c.c.length;)for(k=u(et(T),12),P=dc(lt(ut(la,1),ue,8,0,[k.i.n,k.n,k.a])).b,m=new G(k.g);m.a<m.c.c.length;)d=u(et(m),18),go(d)||(J=d.d,tt=dc(lt(ut(la,1),ue,8,0,[J.i.n,J.n,J.a])).b,b.Math.abs(P-tt)>n0&&(h=A,o=e,s=new ae(h,P),Zr(d.a,s),ev(this,d,o,s,!0),$=e.r,$&&(U=Rt(Ht(jh($.e,0))),s=new ae(h,U),Zr(d.a,s),ev(this,d,o,s,!0),h=n+$.o*r,o=$,s=new ae(h,U),Zr(d.a,s),ev(this,d,o,s,!0)),s=new ae(h,tt),Zr(d.a,s),ev(this,d,o,s,!0)))},l.zg=function(e){return e.i.n.b+e.n.b+e.a.b},l.Ag=function(){return ve(),Jn},l.Bg=function(){return ve(),Gn},I(ylt,"WestToEastRoutingStrategy",1869),D(828,1,{},Rkt),l.Ib=function(){return Hb(this.a)},l.b=0,l.c=!1,l.d=!1,l.f=0,I(f3,"NubSpline",828),D(418,1,{418:1},Kde,Fne),I(f3,"NubSpline/PolarCP",418),D(1480,1,_o,Ahe),l.rg=function(e){return n3n(u(e,36))},l.Kf=function(e,n){ZCn(this,u(e,36),n)};var Bke,Rke,jke,$ke,zke;I(f3,"SplineEdgeRouter",1480),D(274,1,{274:1},vq),l.Ib=function(){return this.a+" ->("+this.c+") "+this.b},l.c=0,I(f3,"SplineEdgeRouter/Dependency",274),D(464,22,{3:1,34:1,22:1,464:1},nmt);var c2,Z5,qke=Lr(f3,"SplineEdgeRouter/SideToProcess",464,Pr,Vhn,Yon),Hke;D(1481,1,Kr,SZ),l.Mb=function(e){return D_(),!u(e,131).o},I(f3,"SplineEdgeRouter/lambda$0$Type",1481),D(1482,1,{},_Z),l.Ze=function(e){return D_(),u(e,131).v+1},I(f3,"SplineEdgeRouter/lambda$1$Type",1482),D(1483,1,ir,MXt),l.Cd=function(e){wun(this.a,this.b,u(e,42))},I(f3,"SplineEdgeRouter/lambda$2$Type",1483),D(1484,1,ir,IXt),l.Cd=function(e){mun(this.a,this.b,u(e,42))},I(f3,"SplineEdgeRouter/lambda$3$Type",1484),D(131,1,{34:1,131:1},a1e,Vkt),l.Fd=function(e){return yrn(this,u(e,131))},l.b=0,l.e=!1,l.f=0,l.g=0,l.j=!1,l.k=!1,l.n=0,l.o=!1,l.p=!1,l.q=!1,l.s=0,l.u=0,l.v=0,l.F=0,I(f3,"SplineSegment",131),D(467,1,{467:1},AZ),l.a=0,l.b=!1,l.c=!1,l.d=!1,l.e=!1,l.f=0,I(f3,"SplineSegment/EdgeInformation",467),D(1198,1,{},uC),I(jg,z8t,1198),D(1199,1,Xr,LZ),l.Ne=function(e,n){return R5n(u(e,121),u(n,121))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(jg,r2e,1199),D(1197,1,{},WWt),I(jg,"MrTree",1197),D(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},q$),l.dg=function(){return A1e(this)},l.qg=function(){return A1e(this)};var sK,WA,YA,XA,tLt=Lr(jg,"TreeLayoutPhases",405,Pr,K1n,Xon),Vke;D(1112,205,mw,kZt),l.rf=function(e,n){var r,s,o,h,d,m,k,T;for(Ie(Me(ne(e,(Cc(),CLt))))||sq((r=new by((xy(),new my(e))),r)),d=n.eh(Elt),d.Ug("build tGraph",1),m=(k=new FI,Qo(k,e),Zt(k,(ji(),JA),e),T=new _r,MEn(e,k,T),XEn(e,k,T),k),d.Vg(),d=n.eh(Elt),d.Ug("Split graph",1),h=BEn(this.a,m),d.Vg(),o=new G(h);o.a<o.c.c.length;)s=u(et(o),121),zyn(this.b,s,n.eh(.5999999940395355/h.c.length));d=n.eh(Elt),d.Ug("Pack components",1),m=PSn(h),d.Vg(),d=n.eh(Elt),d.Ug("Apply layout results",1),T9n(m),d.Vg()},I(jg,"TreeLayoutProvider",1112),D(1894,1,F0,MZ),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return mn(),yE(),mT},I(jg,"TreeUtil/1",1894),D(1895,1,F0,IZ),l.Jc=function(e){Fa(this,e)},l.Kc=function(){return mn(),yE(),mT},I(jg,"TreeUtil/2",1895),D(1885,1,Kr,OZ),l.Mb=function(e){return Ie(Me(X(u(e,39),(ji(),u2))))},I(jg,"TreeUtil/lambda$0$Type",1885),D(1891,1,Kr,zUt),l.Mb=function(e){return this.a.Hc(u(e,39))},I(jg,"TreeUtil/lambda$10$Type",1891),D(1892,1,{},qUt),l.Kb=function(e){return G1n(this.a,u(e,39))},I(jg,"TreeUtil/lambda$11$Type",1892),D(1893,1,Kr,OXt),l.Mb=function(e){return V0n(this.a,this.b,u(e,39))},I(jg,"TreeUtil/lambda$12$Type",1893),D(1886,1,Kr,HUt),l.Mb=function(e){return D2n(this.a,u(e,65))},I(jg,"TreeUtil/lambda$3$Type",1886),D(1887,1,Xr,DZ),l.Ne=function(e,n){return Ban(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(jg,"TreeUtil/lambda$4$Type",1887),D(1888,1,Kr,VUt),l.Mb=function(e){return M2n(this.a,u(e,65))},I(jg,"TreeUtil/lambda$7$Type",1888),D(1889,1,Xr,NZ),l.Ne=function(e,n){return Ran(u(e,65),u(n,65))},l.Fb=function(e){return this===e},l.Oe=function(){return new Be(this)},I(jg,"TreeUtil/lambda$8$Type",1889),D(1890,1,{},PZ),l.Kb=function(e){return u(e,65).b},I(jg,"TreeUtil/lambda$9$Type",1890),D(508,137,{3:1,508:1,96:1,137:1}),l.g=0,I(nA,"TGraphElement",508),D(65,508,{3:1,65:1,508:1,96:1,137:1},Kyt),l.Ib=function(){return this.b&&this.c?Z2(this.b)+"->"+Z2(this.c):"e_"+$i(this)},I(nA,"TEdge",65),D(121,137,{3:1,121:1,96:1,137:1},FI),l.Ib=function(){var e,n,r,s,o;for(o=null,s=Dr(this.b,0);s.b!=s.d.c;)r=u(Ar(s),39),o+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+`
1544 */var K8=function(p,x){this.recycle(p,x)};function W8(){return!1}function Y8(){return!0}K8.prototype={instanceString:function(){return"event"},recycle:function(p,x){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=W8,p!=null&&p.preventDefault?(this.type=p.type,this.isDefaultPrevented=p.defaultPrevented?Y8:W8):p!=null&&p.type?x=p:this.type=p,x!=null&&(this.originalEvent=x.originalEvent,this.type=x.type!=null?x.type:this.type,this.cy=x.cy,this.target=x.target,this.position=x.position,this.renderedPosition=x.renderedPosition,this.namespace=x.namespace,this.layout=x.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var C=this.position,L=this.cy.zoom(),O=this.cy.pan();this.renderedPosition={x:C.x*L+O.x,y:C.y*L+O.y}}this.timeStamp=p&&p.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Y8;var p=this.originalEvent;p&&p.preventDefault&&p.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Y8;var p=this.originalEvent;p&&p.stopPropagation&&p.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Y8,this.stopPropagation()},isDefaultPrevented:W8,isPropagationStopped:W8,isImmediatePropagationStopped:W8};var GR=/^([^.]+)(\.(?:[^.]+))?$/,Ytt=".*",KR={qualifierCompare:function(p,x){return p===x},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(p){return p},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},WR=Object.keys(KR),Xtt={};function dC(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xtt,p=arguments.length>1?arguments[1]:void 0,x=0;x<WR.length;x++){var C=WR[x];this[C]=y[C]||KR[C]}this.context=p||this.context,this.listeners=[],this.emitting=0}var pb=dC.prototype,YR=function(p,x,C,L,O,N,j){ct(L)&&(O=L,L=null),j&&(N==null?N=j:N=we({},N,j));for(var H=rt(C)?C:C.split(/\s+/),q=0;q<H.length;q++){var W=H[q];if(!Ft(W)){var Z=W.match(GR);if(Z){var st=Z[1],bt=Z[2]?Z[2]:null,pt=x(p,W,st,bt,L,O,N);if(pt===!1)break}}}},XR=function(p,x){return p.addEventFields(p.context,x),new K8(x.type,x)},gC=function(p,x,C){if(xt(C)){x(p,C);return}else if(it(C)){x(p,XR(p,C));return}for(var L=rt(C)?C:C.split(/\s+/),O=0;O<L.length;O++){var N=L[O];if(!Ft(N)){var j=N.match(GR);if(j){var H=j[1],q=j[2]?j[2]:null,W=XR(p,{type:H,namespace:q,target:p.context});x(p,W)}}}};pb.on=pb.addListener=function(y,p,x,C,L){return YR(this,function(O,N,j,H,q,W,Z){ct(W)&&O.listeners.push({event:N,callback:W,type:j,namespace:H,qualifier:q,conf:Z})},y,p,x,C,L),this},pb.one=function(y,p,x,C){return this.on(y,p,x,C,{one:!0})},pb.removeListener=pb.off=function(y,p,x,C){var L=this;this.emitting!==0&&(this.listeners=zX(this.listeners));for(var O=this.listeners,N=function(q){var W=O[q];YR(L,function(Z,st,bt,pt,_t,St){if((W.type===bt||y==="*")&&(!pt&&W.namespace!==".*"||W.namespace===pt)&&(!_t||Z.qualifierCompare(W.qualifier,_t))&&(!St||W.callback===St))return O.splice(q,1),!1},y,p,x,C)},j=O.length-1;j>=0;j--)N(j);return this},pb.removeAllListeners=function(){return this.removeListener("*")},pb.emit=pb.trigger=function(y,p,x){var C=this.listeners,L=C.length;return this.emitting++,rt(p)||(p=[p]),gC(this,function(O,N){x!=null&&(C=[{event:N.event,type:N.type,namespace:N.namespace,callback:x}],L=C.length);for(var j=function(W){var Z=C[W];if(Z.type===N.type&&(!Z.namespace||Z.namespace===N.namespace||Z.namespace===Ytt)&&O.eventMatches(O.context,Z,N)){var st=[N];p!=null&&OB(st,p),O.beforeEmit(O.context,Z,N),Z.conf&&Z.conf.one&&(O.listeners=O.listeners.filter(function(_t){return _t!==Z}));var bt=O.callbackContext(O.context,Z,N),pt=Z.callback.apply(bt,st);O.afterEmit(O.context,Z,N),pt===!1&&(N.stopPropagation(),N.preventDefault())}},H=0;H<L;H++)j(H);O.bubble(O.context)&&!N.isPropagationStopped()&&O.parent(O.context).emit(N,p)},y),this.emitting--,this};var Qtt={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,C){var L=x.qualifier;return L!=null?p!==C.target&&V(C.target)&&L.matches(C.target):!0},addEventFields:function(p,x){x.cy=p.cy(),x.target=p},callbackContext:function(p,x,C){return x.qualifier!=null?C.target:p},beforeEmit:function(p,x){x.conf&&x.conf.once&&x.conf.onceCollection.removeListener(x.event,x.qualifier,x.callback)},bubble:function(){return!0},parent:function(p){return p.isChild()?p.parent():p.cy()}},E4=function(p){return mt(p)?new ly(p):p},QR={createEmitter:function(){for(var p=0;p<this.length;p++){var x=this[p],C=x._private;C.emitter||(C.emitter=new dC(Qtt,x))}return this},emitter:function(){return this._private.emitter},on:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().on(p,L,C)}return this},removeListener:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().removeListener(p,L,C)}return this},removeAllListeners:function(){for(var p=0;p<this.length;p++){var x=this[p];x.emitter().removeAllListeners()}return this},one:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().one(p,L,C)}return this},once:function(p,x,C){for(var L=E4(x),O=0;O<this.length;O++){var N=this[O];N.emitter().on(p,L,C,{once:!0,onceCollection:this})}},emit:function(p,x){for(var C=0;C<this.length;C++){var L=this[C];L.emitter().emit(p,x)}return this},emitAndNotify:function(p,x){if(this.length!==0)return this.cy().notify(p,this),this.emit(p,x),this}};Kc.eventAliasesOn(QR);var aM={nodes:function(p){return this.filter(function(x){return x.isNode()}).filter(p)},edges:function(p){return this.filter(function(x){return x.isEdge()}).filter(p)},byGroup:function(){for(var p=this.spawn(),x=this.spawn(),C=0;C<this.length;C++){var L=this[C];L.isNode()?p.push(L):x.push(L)}return{nodes:p,edges:x}},filter:function(p,x){if(p===void 0)return this;if(mt(p)||yt(p))return new ly(p).filter(this);if(ct(p)){for(var C=this.spawn(),L=this,O=0;O<L.length;O++){var N=L[O],j=x?p.apply(x,[N,O,L]):p(N,O,L);j&&C.push(N)}return C}return this.spawn()},not:function(p){if(p){mt(p)&&(p=this.filter(p));for(var x=this.spawn(),C=0;C<this.length;C++){var L=this[C],O=p.has(L);O||x.push(L)}return x}else return this},absoluteComplement:function(){var p=this.cy();return p.mutableElements().not(this)},intersect:function(p){if(mt(p)){var x=p;return this.filter(x)}for(var C=this.spawn(),L=this,O=p,N=this.length<p.length,j=N?L:O,H=N?O:L,q=0;q<j.length;q++){var W=j[q];H.has(W)&&C.push(W)}return C},xor:function(p){var x=this._private.cy;mt(p)&&(p=x.$(p));var C=this.spawn(),L=this,O=p,N=function(H,q){for(var W=0;W<H.length;W++){var Z=H[W],st=Z._private.data.id,bt=q.hasElementWithId(st);bt||C.push(Z)}};return N(L,O),N(O,L),C},diff:function(p){var x=this._private.cy;mt(p)&&(p=x.$(p));var C=this.spawn(),L=this.spawn(),O=this.spawn(),N=this,j=p,H=function(W,Z,st){for(var bt=0;bt<W.length;bt++){var pt=W[bt],_t=pt._private.data.id,St=Z.hasElementWithId(_t);St?O.merge(pt):st.push(pt)}};return H(N,j,C),H(j,N,L),{left:C,right:L,both:O}},add:function(p){var x=this._private.cy;if(!p)return this;if(mt(p)){var C=p;p=x.mutableElements().filter(C)}for(var L=this.spawnSelf(),O=0;O<p.length;O++){var N=p[O],j=!this.has(N);j&&L.push(N)}return L},merge:function(p){var x=this._private,C=x.cy;if(!p)return this;if(p&&mt(p)){var L=p;p=C.mutableElements().filter(L)}for(var O=x.map,N=0;N<p.length;N++){var j=p[N],H=j._private.data.id,q=!O.has(H);if(q){var W=this.length++;this[W]=j,O.set(H,{ele:j,index:W})}}return this},unmergeAt:function(p){var x=this[p],C=x.id(),L=this._private,O=L.map;this[p]=void 0,O.delete(C);var N=p===this.length-1;if(this.length>1&&!N){var j=this.length-1,H=this[j],q=H._private.data.id;this[j]=void 0,this[p]=H,O.set(q,{ele:H,index:p})}return this.length--,this},unmergeOne:function(p){p=p[0];var x=this._private,C=p._private.data.id,L=x.map,O=L.get(C);if(!O)return this;var N=O.index;return this.unmergeAt(N),this},unmerge:function(p){var x=this._private.cy;if(!p)return this;if(p&&mt(p)){var C=p;p=x.mutableElements().filter(C)}for(var L=0;L<p.length;L++)this.unmergeOne(p[L]);return this},unmergeBy:function(p){for(var x=this.length-1;x>=0;x--){var C=this[x];p(C)&&this.unmergeAt(x)}return this},map:function(p,x){for(var C=[],L=this,O=0;O<L.length;O++){var N=L[O],j=x?p.apply(x,[N,O,L]):p(N,O,L);C.push(j)}return C},reduce:function(p,x){for(var C=x,L=this,O=0;O<L.length;O++)C=p(C,L[O],O,L);return C},max:function(p,x){for(var C=-1/0,L,O=this,N=0;N<O.length;N++){var j=O[N],H=x?p.apply(x,[j,N,O]):p(j,N,O);H>C&&(C=H,L=j)}return{value:C,ele:L}},min:function(p,x){for(var C=1/0,L,O=this,N=0;N<O.length;N++){var j=O[N],H=x?p.apply(x,[j,N,O]):p(j,N,O);H<C&&(C=H,L=j)}return{value:C,ele:L}}},Oc=aM;Oc.u=Oc["|"]=Oc["+"]=Oc.union=Oc.or=Oc.add,Oc["\\"]=Oc["!"]=Oc["-"]=Oc.difference=Oc.relativeComplement=Oc.subtract=Oc.not,Oc.n=Oc["&"]=Oc["."]=Oc.and=Oc.intersection=Oc.intersect,Oc["^"]=Oc["(+)"]=Oc["(-)"]=Oc.symmetricDifference=Oc.symdiff=Oc.xor,Oc.fnFilter=Oc.filterFn=Oc.stdFilter=Oc.filter,Oc.complement=Oc.abscomp=Oc.absoluteComplement;var oM={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var p=this[0];if(p)return p._private.group}},cM=function(p,x){var C=p.cy(),L=C.hasCompoundNodes();function O(W){var Z=W.pstyle("z-compound-depth");return Z.value==="auto"?L?W.zDepth():0:Z.value==="bottom"?-1:Z.value==="top"?Kx:0}var N=O(p)-O(x);if(N!==0)return N;function j(W){var Z=W.pstyle("z-index-compare");return Z.value==="auto"&&W.isNode()?1:0}var H=j(p)-j(x);if(H!==0)return H;var q=p.pstyle("z-index").value-x.pstyle("z-index").value;return q!==0?q:p.poolIndex()-x.poolIndex()},pC={forEach:function(p,x){if(ct(p))for(var C=this.length,L=0;L<C;L++){var O=this[L],N=x?p.apply(x,[O,L,this]):p(O,L,this);if(N===!1)break}return this},toArray:function(){for(var p=[],x=0;x<this.length;x++)p.push(this[x]);return p},slice:function(p,x){var C=[],L=this.length;x==null&&(x=L),p==null&&(p=0),p<0&&(p=L+p),x<0&&(x=L+x);for(var O=p;O>=0&&O<x&&O<L;O++)C.push(this[O]);return this.spawn(C)},size:function(){return this.length},eq:function(p){return this[p]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(p){if(!ct(p))return this;var x=this.toArray().sort(p);return this.spawn(x)},sortByZIndex:function(){return this.sort(cM)},zDepth:function(){var p=this[0];if(p){var x=p._private,C=x.group;if(C==="nodes"){var L=x.data.parent?p.parents().size():0;return p.isParent()?L:Kx-1}else{var O=x.source,N=x.target,j=O.zDepth(),H=N.zDepth();return Math.max(j,H,0)}}}};pC.each=pC.forEach;var Jtt=function(){var p="undefined",x=(typeof Symbol>"u"?"undefined":f(Symbol))!=p&&f(Symbol.iterator)!=p;x&&(pC[Symbol.iterator]=function(){var C=this,L={value:void 0,done:!1},O=0,N=this.length;return b({next:function(){return O<N?L.value=C[O++]:(L.value=void 0,L.done=!0),L}},Symbol.iterator,function(){return this})})};Jtt();var Ztt=p1({nodeDimensionsIncludeLabels:!1}),bC={layoutDimensions:function(p){p=Ztt(p);var x;if(!this.takesUpSpace())x={w:0,h:0};else if(p.nodeDimensionsIncludeLabels){var C=this.boundingBox();x={w:C.w,h:C.h}}else x={w:this.outerWidth(),h:this.outerHeight()};return(x.w===0||x.h===0)&&(x.w=x.h=1),x},layoutPositions:function(p,x,C){var L=this.nodes().filter(function(re){return!re.isParent()}),O=this.cy(),N=x.eles,j=function(ee){return ee.id()},H=Mt(C,j);p.emit({type:"layoutstart",layout:p}),p.animations=[];var q=function(ee,Ut,de){var Yt={x:Ut.x1+Ut.w/2,y:Ut.y1+Ut.h/2},Ee={x:(de.x-Yt.x)*ee,y:(de.y-Yt.y)*ee};return{x:Yt.x+Ee.x,y:Yt.y+Ee.y}},W=x.spacingFactor&&x.spacingFactor!==1,Z=function(){if(!W)return null;for(var ee=v0(),Ut=0;Ut<L.length;Ut++){var de=L[Ut],Yt=H(de,Ut);bQ(ee,Yt.x,Yt.y)}return ee},st=Z(),bt=Mt(function(re,ee){var Ut=H(re,ee);if(W){var de=Math.abs(x.spacingFactor);Ut=q(de,st,Ut)}return x.transform!=null&&(Ut=x.transform(re,Ut)),Ut},j);if(x.animate){for(var pt=0;pt<L.length;pt++){var _t=L[pt],St=bt(_t,pt),Et=x.animateFilter==null||x.animateFilter(_t,pt);if(Et){var Nt=_t.animation({position:St,duration:x.animationDuration,easing:x.animationEasing});p.animations.push(Nt)}else _t.position(St)}if(x.fit){var Pt=O.animation({fit:{boundingBox:N.boundingBoxAt(bt),padding:x.padding},duration:x.animationDuration,easing:x.animationEasing});p.animations.push(Pt)}else if(x.zoom!==void 0&&x.pan!==void 0){var qt=O.animation({zoom:x.zoom,pan:x.pan,duration:x.animationDuration,easing:x.animationEasing});p.animations.push(qt)}p.animations.forEach(function(re){return re.play()}),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),e6.all(p.animations.map(function(re){return re.promise()})).then(function(){p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p})})}else L.positions(bt),x.fit&&O.fit(x.eles,x.padding),x.zoom!=null&&O.zoom(x.zoom),x.pan&&O.pan(x.pan),p.one("layoutready",x.ready),p.emit({type:"layoutready",layout:p}),p.one("layoutstop",x.stop),p.emit({type:"layoutstop",layout:p});return this},layout:function(p){var x=this.cy();return x.makeLayout(we({},p,{eles:this}))}};bC.createLayout=bC.makeLayout=bC.layout;function tet(y,p,x){var C=x._private,L=C.styleCache=C.styleCache||[],O;return(O=L[y])!=null||(O=L[y]=p(x)),O}function wC(y,p){return y=Nd(y),function(C){return tet(y,p,C)}}function mC(y,p){y=Nd(y);var x=function(L){return p.call(L)};return function(){var L=this[0];if(L)return tet(y,x,L)}}var b1={recalculateRenderedStyle:function(p){var x=this.cy(),C=x.renderer(),L=x.styleEnabled();return C&&L&&C.recalculateRenderedStyle(this,p),this},dirtyStyleCache:function(){var p=this.cy(),x=function(O){return O._private.styleCache=null};if(p.hasCompoundNodes()){var C;C=this.spawnSelf().merge(this.descendants()).merge(this.parents()),C.merge(C.connectedEdges()),C.forEach(x)}else this.forEach(function(L){x(L),L.connectedEdges().forEach(x)});return this},updateStyle:function(p){var x=this._private.cy;if(!x.styleEnabled())return this;if(x.batching()){var C=x._private.batchStyleEles;return C.merge(this),this}var L=x.hasCompoundNodes(),O=this;p=!!(p||p===void 0),L&&(O=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var N=O;return p?N.emitAndNotify("style"):N.emit("style"),O.forEach(function(j){return j._private.styleDirty=!0}),this},cleanStyle:function(){var p=this.cy();if(p.styleEnabled())for(var x=0;x<this.length;x++){var C=this[x];C._private.styleDirty&&(C._private.styleDirty=!1,p.style().apply(C))}},parsedStyle:function(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=this[0],L=C.cy();if(L.styleEnabled()&&C){this.cleanStyle();var O=C._private.style[p];return O??(x?L.style().getDefaultProperty(p):null)}},numericStyle:function(p){var x=this[0];if(x.cy().styleEnabled()&&x){var C=x.pstyle(p);return C.pfValue!==void 0?C.pfValue:C.value}},numericStyleUnits:function(p){var x=this[0];if(x.cy().styleEnabled()&&x)return x.pstyle(p).units},renderedStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var C=this[0];if(C)return x.style().getRenderedStyle(C,p)},style:function(p,x){var C=this.cy();if(!C.styleEnabled())return this;var L=!1,O=C.style();if(it(p)){var N=p;O.applyBypass(this,N,L),this.emitAndNotify("style")}else if(mt(p))if(x===void 0){var j=this[0];return j?O.getStylePropertyValue(j,p):void 0}else O.applyBypass(this,p,x,L),this.emitAndNotify("style");else if(p===void 0){var H=this[0];return H?O.getRawStyle(H):void 0}return this},removeStyle:function(p){var x=this.cy();if(!x.styleEnabled())return this;var C=!1,L=x.style(),O=this;if(p===void 0)for(var N=0;N<O.length;N++){var j=O[N];L.removeAllBypasses(j,C)}else{p=p.split(/\s+/);for(var H=0;H<O.length;H++){var q=O[H];L.removeBypasses(q,p,C)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var p=this.cy();if(!p.styleEnabled())return 1;var x=p.hasCompoundNodes(),C=this[0];if(C){var L=C._private,O=C.pstyle("opacity").value;if(!x)return O;var N=L.data.parent?C.parents():null;if(N)for(var j=0;j<N.length;j++){var H=N[j],q=H.pstyle("opacity").value;O=q*O}return O}},transparent:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0],C=x.cy().hasCompoundNodes();if(x)return C?x.effectiveOpacity()===0:x.pstyle("opacity").value===0},backgrounding:function(){var p=this.cy();if(!p.styleEnabled())return!1;var x=this[0];return!!x._private.backgrounding}};function uM(y,p){var x=y._private,C=x.data.parent?y.parents():null;if(C)for(var L=0;L<C.length;L++){var O=C[L];if(!p(O))return!1}return!0}function lM(y){var p=y.ok,x=y.edgeOkViaNode||y.ok,C=y.parentOk||y.ok;return function(){var L=this.cy();if(!L.styleEnabled())return!0;var O=this[0],N=L.hasCompoundNodes();if(O){var j=O._private;if(!p(O))return!1;if(O.isNode())return!N||uM(O,C);var H=j.source,q=j.target;return x(H)&&(!N||uM(H,x))&&(H===q||x(q)&&(!N||uM(q,x)))}}}var u6=wC("eleTakesUpSpace",function(y){return y.pstyle("display").value==="element"&&y.width()!==0&&(y.isNode()?y.height()!==0:!0)});b1.takesUpSpace=mC("takesUpSpace",lM({ok:u6}));var eet=wC("eleInteractive",function(y){return y.pstyle("events").value==="yes"&&y.pstyle("visibility").value==="visible"&&u6(y)}),net=wC("parentInteractive",function(y){return y.pstyle("visibility").value==="visible"&&u6(y)});b1.interactive=mC("interactive",lM({ok:eet,parentOk:net,edgeOkViaNode:u6})),b1.noninteractive=function(){var y=this[0];if(y)return!y.interactive()};var ret=wC("eleVisible",function(y){return y.pstyle("visibility").value==="visible"&&y.pstyle("opacity").pfValue!==0&&u6(y)}),iet=u6;b1.visible=mC("visible",lM({ok:ret,edgeOkViaNode:iet})),b1.hidden=function(){var y=this[0];if(y)return!y.visible()},b1.isBundledBezier=mC("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),b1.bypass=b1.css=b1.style,b1.renderedCss=b1.renderedStyle,b1.removeBypass=b1.removeCss=b1.removeStyle,b1.pstyle=b1.parsedStyle;var x0={};function vC(y){return function(){var p=arguments,x=[];if(p.length===2){var C=p[0],L=p[1];this.on(y.event,C,L)}else if(p.length===1&&ct(p[0])){var O=p[0];this.on(y.event,O)}else if(p.length===0||p.length===1&&rt(p[0])){for(var N=p.length===1?p[0]:null,j=0;j<this.length;j++){var H=this[j],q=!y.ableField||H._private[y.ableField],W=H._private[y.field]!=y.value;if(y.overrideAble){var Z=y.overrideAble(H);if(Z!==void 0&&(q=Z,!Z))return this}q&&(H._private[y.field]=y.value,W&&x.push(H))}var st=this.spawn(x);st.updateStyle(),st.emit(y.event),N&&st.emit(N)}return this}}function l6(y){x0[y.field]=function(){var p=this[0];if(p){if(y.overrideField){var x=y.overrideField(p);if(x!==void 0)return x}return p._private[y.field]}},x0[y.on]=vC({event:y.on,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!0}),x0[y.off]=vC({event:y.off,field:y.field,ableField:y.ableField,overrideAble:y.overrideAble,value:!1})}l6({field:"locked",overrideField:function(p){return p.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),l6({field:"grabbable",overrideField:function(p){return p.cy().autoungrabify()||p.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),l6({field:"selected",ableField:"selectable",overrideAble:function(p){return p.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),l6({field:"selectable",overrideField:function(p){return p.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),x0.deselect=x0.unselect,x0.grabbed=function(){var y=this[0];if(y)return y._private.grabbed},l6({field:"active",on:"activate",off:"unactivate"}),l6({field:"pannable",on:"panify",off:"unpanify"}),x0.inactive=function(){var y=this[0];if(y)return!y._private.active};var K1={},JR=function(p){return function(C){for(var L=this,O=[],N=0;N<L.length;N++){var j=L[N];if(j.isNode()){for(var H=!1,q=j.connectedEdges(),W=0;W<q.length;W++){var Z=q[W],st=Z.source(),bt=Z.target();if(p.noIncomingEdges&&bt===j&&st!==j||p.noOutgoingEdges&&st===j&&bt!==j){H=!0;break}}H||O.push(j)}}return this.spawn(O,!0).filter(C)}},ZR=function(p){return function(x){for(var C=this,L=[],O=0;O<C.length;O++){var N=C[O];if(N.isNode())for(var j=N.connectedEdges(),H=0;H<j.length;H++){var q=j[H],W=q.source(),Z=q.target();p.outgoing&&W===N?(L.push(q),L.push(Z)):p.incoming&&Z===N&&(L.push(q),L.push(W))}}return this.spawn(L,!0).filter(x)}},tj=function(p){return function(x){for(var C=this,L=[],O={};;){var N=p.outgoing?C.outgoers():C.incomers();if(N.length===0)break;for(var j=!1,H=0;H<N.length;H++){var q=N[H],W=q.id();O[W]||(O[W]=!0,L.push(q),j=!0)}if(!j)break;C=N}return this.spawn(L,!0).filter(x)}};K1.clearTraversalCache=function(){for(var y=0;y<this.length;y++)this[y]._private.traversalCache=null},we(K1,{roots:JR({noIncomingEdges:!0}),leaves:JR({noOutgoingEdges:!0}),outgoers:ap(ZR({outgoing:!0}),"outgoers"),successors:tj({outgoing:!0}),incomers:ap(ZR({incoming:!0}),"incomers"),predecessors:tj({incoming:!0})}),we(K1,{neighborhood:ap(function(y){for(var p=[],x=this.nodes(),C=0;C<x.length;C++)for(var L=x[C],O=L.connectedEdges(),N=0;N<O.length;N++){var j=O[N],H=j.source(),q=j.target(),W=L===H?q:H;W.length>0&&p.push(W[0]),p.push(j[0])}return this.spawn(p,!0).filter(y)},"neighborhood"),closedNeighborhood:function(p){return this.neighborhood().add(this).filter(p)},openNeighborhood:function(p){return this.neighborhood(p)}}),K1.neighbourhood=K1.neighborhood,K1.closedNeighbourhood=K1.closedNeighborhood,K1.openNeighbourhood=K1.openNeighborhood,we(K1,{source:ap(function(p){var x=this[0],C;return x&&(C=x._private.source||x.cy().collection()),C&&p?C.filter(p):C},"source"),target:ap(function(p){var x=this[0],C;return x&&(C=x._private.target||x.cy().collection()),C&&p?C.filter(p):C},"target"),sources:ej({attr:"source"}),targets:ej({attr:"target"})});function ej(y){return function(x){for(var C=[],L=0;L<this.length;L++){var O=this[L],N=O._private[y.attr];N&&C.push(N)}return this.spawn(C,!0).filter(x)}}we(K1,{edgesWith:ap(nj(),"edgesWith"),edgesTo:ap(nj({thisIsSrc:!0}),"edgesTo")});function nj(y){return function(x){var C=[],L=this._private.cy,O=y||{};mt(x)&&(x=L.$(x));for(var N=0;N<x.length;N++)for(var j=x[N]._private.edges,H=0;H<j.length;H++){var q=j[H],W=q._private.data,Z=this.hasElementWithId(W.source)&&x.hasElementWithId(W.target),st=x.hasElementWithId(W.source)&&this.hasElementWithId(W.target),bt=Z||st;bt&&((O.thisIsSrc||O.thisIsTgt)&&(O.thisIsSrc&&!Z||O.thisIsTgt&&!st)||C.push(q))}return this.spawn(C,!0)}}we(K1,{connectedEdges:ap(function(y){for(var p=[],x=this,C=0;C<x.length;C++){var L=x[C];if(L.isNode())for(var O=L._private.edges,N=0;N<O.length;N++){var j=O[N];p.push(j)}}return this.spawn(p,!0).filter(y)},"connectedEdges"),connectedNodes:ap(function(y){for(var p=[],x=this,C=0;C<x.length;C++){var L=x[C];L.isEdge()&&(p.push(L.source()[0]),p.push(L.target()[0]))}return this.spawn(p,!0).filter(y)},"connectedNodes"),parallelEdges:ap(rj(),"parallelEdges"),codirectedEdges:ap(rj({codirected:!0}),"codirectedEdges")});function rj(y){var p={codirected:!1};return y=we({},p,y),function(C){for(var L=[],O=this.edges(),N=y,j=0;j<O.length;j++)for(var H=O[j],q=H._private,W=q.source,Z=W._private.data.id,st=q.data.target,bt=W._private.edges,pt=0;pt<bt.length;pt++){var _t=bt[pt],St=_t._private.data,Et=St.target,Nt=St.source,Pt=Et===st&&Nt===Z,qt=Z===Et&&st===Nt;(N.codirected&&Pt||!N.codirected&&(Pt||qt))&&L.push(_t)}return this.spawn(L,!0).filter(C)}}we(K1,{components:function(p){var x=this,C=x.cy(),L=C.collection(),O=p==null?x.nodes():p.nodes(),N=[];p!=null&&O.empty()&&(O=p.sources());var j=function(W,Z){L.merge(W),O.unmerge(W),Z.merge(W)};if(O.empty())return x.spawn();var H=function(){var W=C.collection();N.push(W);var Z=O[0];j(Z,W),x.bfs({directed:!1,roots:Z,visit:function(bt){return j(bt,W)}}),W.forEach(function(st){st.connectedEdges().forEach(function(bt){x.has(bt)&&W.has(bt.source())&&W.has(bt.target())&&W.merge(bt)})})};do H();while(O.length>0);return N},component:function(){var p=this[0];return p.cy().mutableElements().components(p)[0]}}),K1.componentsOf=K1.components;var w1=function(p,x){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(p===void 0){$l("A collection must have a reference to the core");return}var O=new F2,N=!1;if(!x)x=[];else if(x.length>0&&it(x[0])&&!V(x[0])){N=!0;for(var j=[],H=new Wx,q=0,W=x.length;q<W;q++){var Z=x[q];Z.data==null&&(Z.data={});var st=Z.data;if(st.id==null)st.id=MB();else if(p.hasElementWithId(st.id)||H.has(st.id))continue;var bt=new K9(p,Z,!1);j.push(bt),H.add(st.id)}x=j}this.length=0;for(var pt=0,_t=x.length;pt<_t;pt++){var St=x[pt][0];if(St!=null){var Et=St._private.data.id;(!C||!O.has(Et))&&(C&&O.set(Et,{index:this.length,ele:St}),this[this.length]=St,this.length++)}}this._private={eles:this,cy:p,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(Nt){this.lazyMap=Nt},rebuildMap:function(){for(var Pt=this.lazyMap=new F2,qt=this.eles,re=0;re<qt.length;re++){var ee=qt[re];Pt.set(ee.id(),{index:re,ele:ee})}}},C&&(this._private.map=O),N&&!L&&this.restore()},Bu=K9.prototype=w1.prototype=Object.create(Array.prototype);Bu.instanceString=function(){return"collection"},Bu.spawn=function(y,p){return new w1(this.cy(),y,p)},Bu.spawnSelf=function(){return this.spawn(this)},Bu.cy=function(){return this._private.cy},Bu.renderer=function(){return this._private.cy.renderer()},Bu.element=function(){return this[0]},Bu.collection=function(){return Ot(this)?this:new w1(this._private.cy,[this])},Bu.unique=function(){return new w1(this._private.cy,this,!0)},Bu.hasElementWithId=function(y){return y=""+y,this._private.map.has(y)},Bu.getElementById=function(y){y=""+y;var p=this._private.cy,x=this._private.map.get(y);return x?x.ele:new w1(p)},Bu.$id=Bu.getElementById,Bu.poolIndex=function(){var y=this._private.cy,p=y._private.elements,x=this[0]._private.data.id;return p._private.map.get(x).index},Bu.indexOf=function(y){var p=y[0]._private.data.id;return this._private.map.get(p).index},Bu.indexOfId=function(y){return y=""+y,this._private.map.get(y).index},Bu.json=function(y){var p=this.element(),x=this.cy();if(p==null&&y)return this;if(p!=null){var C=p._private;if(it(y)){if(x.startBatch(),y.data){p.data(y.data);var L=C.data;if(p.isEdge()){var O=!1,N={},j=y.data.source,H=y.data.target;j!=null&&j!=L.source&&(N.source=""+j,O=!0),H!=null&&H!=L.target&&(N.target=""+H,O=!0),O&&(p=p.move(N))}else{var q="parent"in y.data,W=y.data.parent;q&&(W!=null||L.parent!=null)&&W!=L.parent&&(W===void 0&&(W=null),W!=null&&(W=""+W),p=p.move({parent:W}))}}y.position&&p.position(y.position);var Z=function(_t,St,Et){var Nt=y[_t];Nt!=null&&Nt!==C[_t]&&(Nt?p[St]():p[Et]())};return Z("removed","remove","restore"),Z("selected","select","unselect"),Z("selectable","selectify","unselectify"),Z("locked","lock","unlock"),Z("grabbable","grabify","ungrabify"),Z("pannable","panify","unpanify"),y.classes!=null&&p.classes(y.classes),x.endBatch(),this}else if(y===void 0){var st={data:P2(C.data),position:P2(C.position),group:C.group,removed:C.removed,selected:C.selected,selectable:C.selectable,locked:C.locked,grabbable:C.grabbable,pannable:C.pannable,classes:null};st.classes="";var bt=0;return C.classes.forEach(function(pt){return st.classes+=bt++===0?pt:" "+pt}),st}}},Bu.jsons=function(){for(var y=[],p=0;p<this.length;p++){var x=this[p],C=x.json();y.push(C)}return y},Bu.clone=function(){for(var y=this.cy(),p=[],x=0;x<this.length;x++){var C=this[x],L=C.json(),O=new K9(y,L,!1);p.push(O)}return new w1(y,p)},Bu.copy=Bu.clone,Bu.restore=function(){for(var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,C=x.cy(),L=C._private,O=[],N=[],j,H=0,q=x.length;H<q;H++){var W=x[H];p&&!W.removed()||(W.isNode()?O.push(W):N.push(W))}j=O.concat(N);var Z,st=function(){j.splice(Z,1),Z--};for(Z=0;Z<j.length;Z++){var bt=j[Z],pt=bt._private,_t=pt.data;if(bt.clearTraversalCache(),!(!p&&!pt.removed)){if(_t.id===void 0)_t.id=MB();else if(Q(_t.id))_t.id=""+_t.id;else if(Ft(_t.id)||!mt(_t.id)){$l("Can not create element with invalid string ID `"+_t.id+"`"),st();continue}else if(C.hasElementWithId(_t.id)){$l("Can not create second element with ID `"+_t.id+"`"),st();continue}}var St=_t.id;if(bt.isNode()){var Et=pt.position;Et.x==null&&(Et.x=0),Et.y==null&&(Et.y=0)}if(bt.isEdge()){for(var Nt=bt,Pt=["source","target"],qt=Pt.length,re=!1,ee=0;ee<qt;ee++){var Ut=Pt[ee],de=_t[Ut];Q(de)&&(de=_t[Ut]=""+_t[Ut]),de==null||de===""?($l("Can not create edge `"+St+"` with unspecified "+Ut),re=!0):C.hasElementWithId(de)||($l("Can not create edge `"+St+"` with nonexistant "+Ut+" `"+de+"`"),re=!0)}if(re){st();continue}var Yt=C.getElementById(_t.source),Ee=C.getElementById(_t.target);Yt.same(Ee)?Yt._private.edges.push(Nt):(Yt._private.edges.push(Nt),Ee._private.edges.push(Nt)),Nt._private.source=Yt,Nt._private.target=Ee}pt.map=new F2,pt.map.set(St,{ele:bt,index:0}),pt.removed=!1,p&&C.addToPool(bt)}for(var Te=0;Te<O.length;Te++){var ie=O[Te],ze=ie._private.data;Q(ze.parent)&&(ze.parent=""+ze.parent);var me=ze.parent,yn=me!=null;if(yn||ie._private.parent){var nn=ie._private.parent?C.collection().merge(ie._private.parent):C.getElementById(me);if(nn.empty())ze.parent=void 0;else if(nn[0].removed())Gc("Node added with missing parent, reference to parent removed"),ze.parent=void 0,ie._private.parent=null;else{for(var qe=!1,Tn=nn;!Tn.empty();){if(ie.same(Tn)){qe=!0,ze.parent=void 0;break}Tn=Tn.parent()}qe||(nn[0]._private.children.push(ie),ie._private.parent=nn[0],L.hasCompoundNodes=!0)}}}if(j.length>0){for(var Xn=j.length===x.length?x:new w1(C,j),lr=0;lr<Xn.length;lr++){var Sn=Xn[lr];Sn.isNode()||(Sn.parallelEdges().clearTraversalCache(),Sn.source().clearTraversalCache(),Sn.target().clearTraversalCache())}var or;L.hasCompoundNodes?or=C.collection().merge(Xn).merge(Xn.connectedNodes()).merge(Xn.parent()):or=Xn,or.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(y),y?Xn.emitAndNotify("add"):p&&Xn.emit("add")}return x},Bu.removed=function(){var y=this[0];return y&&y._private.removed},Bu.inside=function(){var y=this[0];return y&&!y._private.removed},Bu.remove=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,x=this,C=[],L={},O=x._private.cy;function N(me){for(var yn=me._private.edges,nn=0;nn<yn.length;nn++)H(yn[nn])}function j(me){for(var yn=me._private.children,nn=0;nn<yn.length;nn++)H(yn[nn])}function H(me){var yn=L[me.id()];p&&me.removed()||yn||(L[me.id()]=!0,me.isNode()?(C.push(me),N(me),j(me)):C.unshift(me))}for(var q=0,W=x.length;q<W;q++){var Z=x[q];H(Z)}function st(me,yn){var nn=me._private.edges;oy(nn,yn),me.clearTraversalCache()}function bt(me){me.clearTraversalCache()}var pt=[];pt.ids={};function _t(me,yn){yn=yn[0],me=me[0];var nn=me._private.children,qe=me.id();oy(nn,yn),yn._private.parent=null,pt.ids[qe]||(pt.ids[qe]=!0,pt.push(me))}x.dirtyCompoundBoundsCache(),p&&O.removeFromPool(C);for(var St=0;St<C.length;St++){var Et=C[St];if(Et.isEdge()){var Nt=Et.source()[0],Pt=Et.target()[0];st(Nt,Et),st(Pt,Et);for(var qt=Et.parallelEdges(),re=0;re<qt.length;re++){var ee=qt[re];bt(ee),ee.isBundledBezier()&&ee.dirtyBoundingBoxCache()}}else{var Ut=Et.parent();Ut.length!==0&&_t(Ut,Et)}p&&(Et._private.removed=!0)}var de=O._private.elements;O._private.hasCompoundNodes=!1;for(var Yt=0;Yt<de.length;Yt++){var Ee=de[Yt];if(Ee.isParent()){O._private.hasCompoundNodes=!0;break}}var Te=new w1(this.cy(),C);Te.size()>0&&(y?Te.emitAndNotify("remove"):p&&Te.emit("remove"));for(var ie=0;ie<pt.length;ie++){var ze=pt[ie];(!p||!ze.removed())&&ze.updateStyle()}return Te},Bu.move=function(y){var p=this._private.cy,x=this,C=!1,L=!1,O=function(pt){return pt==null?pt:""+pt};if(y.source!==void 0||y.target!==void 0){var N=O(y.source),j=O(y.target),H=N!=null&&p.hasElementWithId(N),q=j!=null&&p.hasElementWithId(j);(H||q)&&(p.batch(function(){x.remove(C,L),x.emitAndNotify("moveout");for(var bt=0;bt<x.length;bt++){var pt=x[bt],_t=pt._private.data;pt.isEdge()&&(H&&(_t.source=N),q&&(_t.target=j))}x.restore(C,L)}),x.emitAndNotify("move"))}else if(y.parent!==void 0){var W=O(y.parent),Z=W===null||p.hasElementWithId(W);if(Z){var st=W===null?void 0:W;p.batch(function(){var bt=x.remove(C,L);bt.emitAndNotify("moveout");for(var pt=0;pt<x.length;pt++){var _t=x[pt],St=_t._private.data;_t.isNode()&&(St.parent=st)}bt.restore(C,L)}),x.emitAndNotify("move")}}return this},[aR,ktt,lC,hy,a6,fy,q8,sM,QR,aM,oM,pC,bC,b1,x0,K1].forEach(function(y){we(Bu,y)});var set={add:function(p){var x,C=this;if(yt(p)){var L=p;if(L._private.cy===C)x=L.restore();else{for(var O=[],N=0;N<L.length;N++){var j=L[N];O.push(j.json())}x=new w1(C,O)}}else if(rt(p)){var H=p;x=new w1(C,H)}else if(it(p)&&(rt(p.nodes)||rt(p.edges))){for(var q=p,W=[],Z=["nodes","edges"],st=0,bt=Z.length;st<bt;st++){var pt=Z[st],_t=q[pt];if(rt(_t))for(var St=0,Et=_t.length;St<Et;St++){var Nt=we({group:pt},_t[St]);W.push(Nt)}}x=new w1(C,W)}else{var Pt=p;x=new K9(C,Pt).collection()}return x},remove:function(p){if(!yt(p)){if(mt(p)){var x=p;p=this.$(x)}}return p.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function aet(y,p,x,C){var L=4,O=.001,N=1e-7,j=10,H=11,q=1/(H-1),W=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var Z=0;Z<4;++Z)if(typeof arguments[Z]!="number"||isNaN(arguments[Z])||!isFinite(arguments[Z]))return!1;y=Math.min(y,1),x=Math.min(x,1),y=Math.max(y,0),x=Math.max(x,0);var st=W?new Float32Array(H):new Array(H);function bt(Ee,Te){return 1-3*Te+3*Ee}function pt(Ee,Te){return 3*Te-6*Ee}function _t(Ee){return 3*Ee}function St(Ee,Te,ie){return((bt(Te,ie)*Ee+pt(Te,ie))*Ee+_t(Te))*Ee}function Et(Ee,Te,ie){return 3*bt(Te,ie)*Ee*Ee+2*pt(Te,ie)*Ee+_t(Te)}function Nt(Ee,Te){for(var ie=0;ie<L;++ie){var ze=Et(Te,y,x);if(ze===0)return Te;var me=St(Te,y,x)-Ee;Te-=me/ze}return Te}function Pt(){for(var Ee=0;Ee<H;++Ee)st[Ee]=St(Ee*q,y,x)}function qt(Ee,Te,ie){var ze,me,yn=0;do me=Te+(ie-Te)/2,ze=St(me,y,x)-Ee,ze>0?ie=me:Te=me;while(Math.abs(ze)>N&&++yn<j);return me}function re(Ee){for(var Te=0,ie=1,ze=H-1;ie!==ze&&st[ie]<=Ee;++ie)Te+=q;--ie;var me=(Ee-st[ie])/(st[ie+1]-st[ie]),yn=Te+me*q,nn=Et(yn,y,x);return nn>=O?Nt(Ee,yn):nn===0?yn:qt(Ee,Te,Te+q)}var ee=!1;function Ut(){ee=!0,(y!==p||x!==C)&&Pt()}var de=function(Te){return ee||Ut(),y===p&&x===C?Te:Te===0?0:Te===1?1:St(re(Te),p,C)};de.getControlPoints=function(){return[{x:y,y:p},{x,y:C}]};var Yt="generateBezier("+[y,p,x,C]+")";return de.toString=function(){return Yt},de}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var oet=function(){function y(C){return-C.tension*C.x-C.friction*C.v}function p(C,L,O){var N={x:C.x+O.dx*L,v:C.v+O.dv*L,tension:C.tension,friction:C.friction};return{dx:N.v,dv:y(N)}}function x(C,L){var O={dx:C.v,dv:y(C)},N=p(C,L*.5,O),j=p(C,L*.5,N),H=p(C,L,j),q=1/6*(O.dx+2*(N.dx+j.dx)+H.dx),W=1/6*(O.dv+2*(N.dv+j.dv)+H.dv);return C.x=C.x+q*L,C.v=C.v+W*L,C}return function C(L,O,N){var j={x:-1,v:0,tension:null,friction:null},H=[0],q=0,W=1/1e4,Z=16/1e3,st,bt,pt;for(L=parseFloat(L)||500,O=parseFloat(O)||20,N=N||null,j.tension=L,j.friction=O,st=N!==null,st?(q=C(L,O),bt=q/N*Z):bt=Z;pt=x(pt||j,bt),H.push(1+pt.x),q+=16,Math.abs(pt.x)>W&&Math.abs(pt.v)>W;);return st?function(_t){return H[_t*(H.length-1)|0]}:q}}(),Ru=function(p,x,C,L){var O=aet(p,x,C,L);return function(N,j,H){return N+(j-N)*O(H)}},yC={linear:function(p,x,C){return p+(x-p)*C},ease:Ru(.25,.1,.25,1),"ease-in":Ru(.42,0,1,1),"ease-out":Ru(0,0,.58,1),"ease-in-out":Ru(.42,0,.58,1),"ease-in-sine":Ru(.47,0,.745,.715),"ease-out-sine":Ru(.39,.575,.565,1),"ease-in-out-sine":Ru(.445,.05,.55,.95),"ease-in-quad":Ru(.55,.085,.68,.53),"ease-out-quad":Ru(.25,.46,.45,.94),"ease-in-out-quad":Ru(.455,.03,.515,.955),"ease-in-cubic":Ru(.55,.055,.675,.19),"ease-out-cubic":Ru(.215,.61,.355,1),"ease-in-out-cubic":Ru(.645,.045,.355,1),"ease-in-quart":Ru(.895,.03,.685,.22),"ease-out-quart":Ru(.165,.84,.44,1),"ease-in-out-quart":Ru(.77,0,.175,1),"ease-in-quint":Ru(.755,.05,.855,.06),"ease-out-quint":Ru(.23,1,.32,1),"ease-in-out-quint":Ru(.86,0,.07,1),"ease-in-expo":Ru(.95,.05,.795,.035),"ease-out-expo":Ru(.19,1,.22,1),"ease-in-out-expo":Ru(1,0,0,1),"ease-in-circ":Ru(.6,.04,.98,.335),"ease-out-circ":Ru(.075,.82,.165,1),"ease-in-out-circ":Ru(.785,.135,.15,.86),spring:function(p,x,C){if(C===0)return yC.linear;var L=oet(p,x,C);return function(O,N,j){return O+(N-O)*L(j)}},"cubic-bezier":Ru};function ij(y,p,x,C,L){if(C===1||p===x)return x;var O=L(p,x,C);return y==null||((y.roundValue||y.color)&&(O=Math.round(O)),y.min!==void 0&&(O=Math.max(O,y.min)),y.max!==void 0&&(O=Math.min(O,y.max))),O}function sj(y,p){return y.pfValue!=null||y.value!=null?y.pfValue!=null&&(p==null||p.type.units!=="%")?y.pfValue:y.value:y}function h6(y,p,x,C,L){var O=L!=null?L.type:null;x<0?x=0:x>1&&(x=1);var N=sj(y,L),j=sj(p,L);if(Q(N)&&Q(j))return ij(O,N,j,x,C);if(rt(N)&&rt(j)){for(var H=[],q=0;q<j.length;q++){var W=N[q],Z=j[q];if(W!=null&&Z!=null){var st=ij(O,W,Z,x,C);H.push(st)}else H.push(Z)}return H}}function cet(y,p,x,C){var L=!C,O=y._private,N=p._private,j=N.easing,H=N.startTime,q=C?y:y.cy(),W=q.style();if(!N.easingImpl)if(j==null)N.easingImpl=yC.linear;else{var Z;if(mt(j)){var st=W.parse("transition-timing-function",j);Z=st.value}else Z=j;var bt,pt;mt(Z)?(bt=Z,pt=[]):(bt=Z[1],pt=Z.slice(2).map(function(Xn){return+Xn})),pt.length>0?(bt==="spring"&&pt.push(N.duration),N.easingImpl=yC[bt].apply(null,pt)):N.easingImpl=yC[bt]}var _t=N.easingImpl,St;if(N.duration===0?St=1:St=(x-H)/N.duration,N.applying&&(St=N.progress),St<0?St=0:St>1&&(St=1),N.delay==null){var Et=N.startPosition,Nt=N.position;if(Nt&&L&&!y.locked()){var Pt={};X8(Et.x,Nt.x)&&(Pt.x=h6(Et.x,Nt.x,St,_t)),X8(Et.y,Nt.y)&&(Pt.y=h6(Et.y,Nt.y,St,_t)),y.position(Pt)}var qt=N.startPan,re=N.pan,ee=O.pan,Ut=re!=null&&C;Ut&&(X8(qt.x,re.x)&&(ee.x=h6(qt.x,re.x,St,_t)),X8(qt.y,re.y)&&(ee.y=h6(qt.y,re.y,St,_t)),y.emit("pan"));var de=N.startZoom,Yt=N.zoom,Ee=Yt!=null&&C;Ee&&(X8(de,Yt)&&(O.zoom=P8(O.minZoom,h6(de,Yt,St,_t),O.maxZoom)),y.emit("zoom")),(Ut||Ee)&&y.emit("viewport");var Te=N.style;if(Te&&Te.length>0&&L){for(var ie=0;ie<Te.length;ie++){var ze=Te[ie],me=ze.name,yn=ze,nn=N.startStyle[me],qe=W.properties[nn.name],Tn=h6(nn,yn,St,_t,qe);W.overrideBypass(y,me,Tn)}y.emit("style")}}return N.progress=St,St}function X8(y,p){return y==null||p==null?!1:Q(y)&&Q(p)?!0:!!(y&&p)}function uet(y,p,x,C){var L=p._private;L.started=!0,L.startTime=x-L.progress*L.duration}function aj(y,p){var x=p._private.aniEles,C=[];function L(W,Z){var st=W._private,bt=st.animation.current,pt=st.animation.queue,_t=!1;if(bt.length===0){var St=pt.shift();St&&bt.push(St)}for(var Et=function(ee){for(var Ut=ee.length-1;Ut>=0;Ut--){var de=ee[Ut];de()}ee.splice(0,ee.length)},Nt=bt.length-1;Nt>=0;Nt--){var Pt=bt[Nt],qt=Pt._private;if(qt.stopped){bt.splice(Nt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,Et(qt.frames);continue}!qt.playing&&!qt.applying||(qt.playing&&qt.applying&&(qt.applying=!1),qt.started||uet(W,Pt,y),cet(W,Pt,y,Z),qt.applying&&(qt.applying=!1),Et(qt.frames),qt.step!=null&&qt.step(y),Pt.completed()&&(bt.splice(Nt,1),qt.hooked=!1,qt.playing=!1,qt.started=!1,Et(qt.completes)),_t=!0)}return!Z&&bt.length===0&&pt.length===0&&C.push(W),_t}for(var O=!1,N=0;N<x.length;N++){var j=x[N],H=L(j);O=O||H}var q=L(p,!0);(O||q)&&(x.length>0?p.notify("draw",x):p.notify("draw")),x.unmerge(C),p.emit("step")}var het={animate:Kc.animate(),animation:Kc.animation(),animated:Kc.animated(),clearQueue:Kc.clearQueue(),delay:Kc.delay(),delayAnimation:Kc.delayAnimation(),stop:Kc.stop(),addToAnimationPool:function(p){var x=this;x.styleEnabled()&&x._private.aniEles.merge(p)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var p=this;if(p._private.animationsRunning=!0,!p.styleEnabled())return;function x(){p._private.animationsRunning&&g1(function(O){aj(O,p),x()})}var C=p.renderer();C&&C.beforeRender?C.beforeRender(function(O,N){aj(N,p)},C.beforeRenderPriorities.animations):x()}},fet={qualifierCompare:function(p,x){return p==null||x==null?p==null&&x==null:p.sameText(x)},eventMatches:function(p,x,C){var L=x.qualifier;return L!=null?p!==C.target&&V(C.target)&&L.matches(C.target):!0},addEventFields:function(p,x){x.cy=p,x.target=p},callbackContext:function(p,x,C){return x.qualifier!=null?C.target:p}},xC=function(p){return mt(p)?new ly(p):p},oj={createEmitter:function(){var p=this._private;return p.emitter||(p.emitter=new dC(fet,this)),this},emitter:function(){return this._private.emitter},on:function(p,x,C){return this.emitter().on(p,xC(x),C),this},removeListener:function(p,x,C){return this.emitter().removeListener(p,xC(x),C),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(p,x,C){return this.emitter().one(p,xC(x),C),this},once:function(p,x,C){return this.emitter().one(p,xC(x),C),this},emit:function(p,x){return this.emitter().emit(p,x),this},emitAndNotify:function(p,x){return this.emit(p),this.notify(p,x),this}};Kc.eventAliasesOn(oj);var hM={png:function(p){var x=this._private.renderer;return p=p||{},x.png(p)},jpg:function(p){var x=this._private.renderer;return p=p||{},p.bg=p.bg||"#fff",x.jpg(p)}};hM.jpeg=hM.jpg;var kC={layout:function(p){var x=this;if(p==null){$l("Layout options must be specified to make a layout");return}if(p.name==null){$l("A `name` must be specified to make a layout");return}var C=p.name,L=x.extension("layout",C);if(L==null){$l("No such layout `"+C+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var O;mt(p.eles)?O=x.$(p.eles):O=p.eles!=null?p.eles:x.$();var N=new L(we({},p,{cy:x,eles:O}));return N}};kC.createLayout=kC.makeLayout=kC.layout;var det={notify:function(p,x){var C=this._private;if(this.batching()){C.batchNotifications=C.batchNotifications||{};var L=C.batchNotifications[p]=C.batchNotifications[p]||this.collection();x!=null&&L.merge(x);return}if(C.notificationsEnabled){var O=this.renderer();this.destroyed()||!O||O.notify(p,x)}},notifications:function(p){var x=this._private;return p===void 0?x.notificationsEnabled:(x.notificationsEnabled=!!p,this)},noNotifications:function(p){this.notifications(!1),p(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var p=this._private;return p.batchCount==null&&(p.batchCount=0),p.batchCount===0&&(p.batchStyleEles=this.collection(),p.batchNotifications={}),p.batchCount++,this},endBatch:function(){var p=this._private;if(p.batchCount===0)return this;if(p.batchCount--,p.batchCount===0){p.batchStyleEles.updateStyle();var x=this.renderer();Object.keys(p.batchNotifications).forEach(function(C){var L=p.batchNotifications[C];L.empty()?x.notify(C):x.notify(C,L)})}return this},batch:function(p){return this.startBatch(),p(),this.endBatch(),this},batchData:function(p){var x=this;return this.batch(function(){for(var C=Object.keys(p),L=0;L<C.length;L++){var O=C[L],N=p[O],j=x.getElementById(O);j.data(N)}})}},get=p1({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),fM={renderTo:function(p,x,C,L){var O=this._private.renderer;return O.renderTo(p,x,C,L),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(p){var x=this,C=x.extension("renderer",p.name);if(C==null){$l("Can not initialise: No such renderer `".concat(p.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}p.wheelSensitivity!==void 0&&Gc("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var L=get(p);L.cy=x,x._private.renderer=new C(L),this.notify("init")},destroyRenderer:function(){var p=this;p.notify("destroy");var x=p.container();if(x)for(x._cyreg=null;x.childNodes.length>0;)x.removeChild(x.childNodes[0]);p._private.renderer=null,p.mutableElements().forEach(function(C){var L=C._private;L.rscratch={},L.rstyle={},L.animation.current=[],L.animation.queue=[]})},onRender:function(p){return this.on("render",p)},offRender:function(p){return this.off("render",p)}};fM.invalidateDimensions=fM.resize;var EC={collection:function(p,x){return mt(p)?this.$(p):yt(p)?p.collection():rt(p)?(x||(x={}),new w1(this,p,x.unique,x.removed)):new w1(this)},nodes:function(p){var x=this.$(function(C){return C.isNode()});return p?x.filter(p):x},edges:function(p){var x=this.$(function(C){return C.isEdge()});return p?x.filter(p):x},$:function(p){var x=this._private.elements;return p?x.filter(p):x.spawnSelf()},mutableElements:function(){return this._private.elements}};EC.elements=EC.filter=EC.$;var W1={},Q8="t",pet="f";W1.apply=function(y){for(var p=this,x=p._private,C=x.cy,L=C.collection(),O=0;O<y.length;O++){var N=y[O],j=p.getContextMeta(N);if(!j.empty){var H=p.getContextStyle(j),q=p.applyContextStyle(j,H,N);N._private.appliedInitStyle?p.updateTransitions(N,q.diffProps):N._private.appliedInitStyle=!0;var W=p.updateStyleHints(N);W&&L.push(N)}}return L},W1.getPropertiesDiff=function(y,p){var x=this,C=x._private.propDiffs=x._private.propDiffs||{},L=y+"-"+p,O=C[L];if(O)return O;for(var N=[],j={},H=0;H<x.length;H++){var q=x[H],W=y[H]===Q8,Z=p[H]===Q8,st=W!==Z,bt=q.mappedProperties.length>0;if(st||Z&&bt){var pt=void 0;st&&bt||st?pt=q.properties:bt&&(pt=q.mappedProperties);for(var _t=0;_t<pt.length;_t++){for(var St=pt[_t],Et=St.name,Nt=!1,Pt=H+1;Pt<x.length;Pt++){var qt=x[Pt],re=p[Pt]===Q8;if(re&&(Nt=qt.properties[St.name]!=null,Nt))break}!j[Et]&&!Nt&&(j[Et]=!0,N.push(Et))}}}return C[L]=N,N},W1.getContextMeta=function(y){for(var p=this,x="",C,L=y._private.styleCxtKey||"",O=0;O<p.length;O++){var N=p[O],j=N.selector&&N.selector.matches(y);j?x+=Q8:x+=pet}return C=p.getPropertiesDiff(L,x),y._private.styleCxtKey=x,{key:x,diffPropNames:C,empty:C.length===0}},W1.getContextStyle=function(y){var p=y.key,x=this,C=this._private.contextStyles=this._private.contextStyles||{};if(C[p])return C[p];for(var L={_private:{key:p}},O=0;O<x.length;O++){var N=x[O],j=p[O]===Q8;if(j)for(var H=0;H<N.properties.length;H++){var q=N.properties[H];L[q.name]=q}}return C[p]=L,L},W1.applyContextStyle=function(y,p,x){for(var C=this,L=y.diffPropNames,O={},N=C.types,j=0;j<L.length;j++){var H=L[j],q=p[H],W=x.pstyle(H);if(!q)if(W)W.bypass?q={name:H,deleteBypassed:!0}:q={name:H,delete:!0};else continue;if(W!==q){if(q.mapped===N.fn&&W!=null&&W.mapping!=null&&W.mapping.value===q.value){var Z=W.mapping,st=Z.fnValue=q.value(x);if(st===Z.prevFnValue)continue}var bt=O[H]={prev:W};C.applyParsedProperty(x,q),bt.next=x.pstyle(H),bt.next&&bt.next.bypass&&(bt.next=bt.next.bypassed)}}return{diffProps:O}},W1.updateStyleHints=function(y){var p=y._private,x=this,C=x.propertyGroupNames,L=x.propertyGroupKeys,O=function(gi,ss,na){return x.getPropertiesHash(gi,ss,na)},N=p.styleKey;if(y.removed())return!1;var j=p.group==="nodes",H=y._private.style;C=Object.keys(H);for(var q=0;q<L.length;q++){var W=L[q];p.styleKeys[W]=[sy,g4]}for(var Z=function(gi,ss){return p.styleKeys[ss][0]=fg(gi,p.styleKeys[ss][0])},st=function(gi,ss){return p.styleKeys[ss][1]=O2(gi,p.styleKeys[ss][1])},bt=function(gi,ss){Z(gi,ss),st(gi,ss)},pt=function(gi,ss){for(var na=0;na<gi.length;na++){var vi=gi.charCodeAt(na);Z(vi,ss),st(vi,ss)}},_t=2e9,St=function(gi){return-128<gi&&gi<128&&Math.floor(gi)!==gi?_t-(gi*1024|0):gi},Et=0;Et<C.length;Et++){var Nt=C[Et],Pt=H[Nt];if(Pt!=null){var qt=this.properties[Nt],re=qt.type,ee=qt.groupKey,Ut=void 0;qt.hashOverride!=null?Ut=qt.hashOverride(y,Pt):Pt.pfValue!=null&&(Ut=Pt.pfValue);var de=qt.enums==null?Pt.value:null,Yt=Ut!=null,Ee=de!=null,Te=Yt||Ee,ie=Pt.units;if(re.number&&Te&&!re.multiple){var ze=Yt?Ut:de;bt(St(ze),ee),!Yt&&ie!=null&&pt(ie,ee)}else pt(Pt.strValue,ee)}}for(var me=[sy,g4],yn=0;yn<L.length;yn++){var nn=L[yn],qe=p.styleKeys[nn];me[0]=fg(qe[0],me[0]),me[1]=O2(qe[1],me[1])}p.styleKey=M8(me[0],me[1]);var Tn=p.styleKeys;p.labelDimsKey=N2(Tn.labelDimensions);var Xn=O(y,["label"],Tn.labelDimensions);if(p.labelKey=N2(Xn),p.labelStyleKey=N2(p4(Tn.commonLabel,Xn)),!j){var lr=O(y,["source-label"],Tn.labelDimensions);p.sourceLabelKey=N2(lr),p.sourceLabelStyleKey=N2(p4(Tn.commonLabel,lr));var Sn=O(y,["target-label"],Tn.labelDimensions);p.targetLabelKey=N2(Sn),p.targetLabelStyleKey=N2(p4(Tn.commonLabel,Sn))}if(j){var or=p.styleKeys,pr=or.nodeBody,kr=or.nodeBorder,wr=or.nodeOutline,Cr=or.backgroundImage,$n=or.compound,cr=or.pie,mr=[pr,kr,wr,Cr,$n,cr].filter(function(Sr){return Sr!=null}).reduce(p4,[sy,g4]);p.nodeKey=N2(mr),p.hasPie=cr!=null&&cr[0]!==sy&&cr[1]!==g4}return N!==p.styleKey},W1.clearStyleHints=function(y){var p=y._private;p.styleCxtKey="",p.styleKeys={},p.styleKey=null,p.labelKey=null,p.labelStyleKey=null,p.sourceLabelKey=null,p.sourceLabelStyleKey=null,p.targetLabelKey=null,p.targetLabelStyleKey=null,p.nodeKey=null,p.hasPie=null},W1.applyParsedProperty=function(y,p){var x=this,C=p,L=y._private.style,O,N=x.types,j=x.properties[C.name].type,H=C.bypass,q=L[C.name],W=q&&q.bypass,Z=y._private,st="mapping",bt=function(pr){return pr==null?null:pr.pfValue!=null?pr.pfValue:pr.value},pt=function(){var pr=bt(q),kr=bt(C);x.checkTriggers(y,C.name,pr,kr)};if(p.name==="curve-style"&&y.isEdge()&&(p.value!=="bezier"&&y.isLoop()||p.value==="haystack"&&(y.source().isParent()||y.target().isParent()))&&(C=p=this.parse(p.name,"bezier",H)),C.delete)return L[C.name]=void 0,pt(),!0;if(C.deleteBypassed)return q?q.bypass?(q.bypassed=void 0,pt(),!0):!1:(pt(),!0);if(C.deleteBypass)return q?q.bypass?(L[C.name]=q.bypassed,pt(),!0):!1:(pt(),!0);var _t=function(){Gc("Do not assign mappings to elements without corresponding data (i.e. ele `"+y.id()+"` has no mapping for property `"+C.name+"` with data field `"+C.field+"`); try a `["+C.field+"]` selector to limit scope to elements with `"+C.field+"` defined")};switch(C.mapped){case N.mapData:{for(var St=C.field.split("."),Et=Z.data,Nt=0;Nt<St.length&&Et;Nt++){var Pt=St[Nt];Et=Et[Pt]}if(Et==null)return _t(),!1;var qt;if(Q(Et)){var re=C.fieldMax-C.fieldMin;re===0?qt=0:qt=(Et-C.fieldMin)/re}else return Gc("Do not use continuous mappers without specifying numeric data (i.e. `"+C.field+": "+Et+"` for `"+y.id()+"` is non-numeric)"),!1;if(qt<0?qt=0:qt>1&&(qt=1),j.color){var ee=C.valueMin[0],Ut=C.valueMax[0],de=C.valueMin[1],Yt=C.valueMax[1],Ee=C.valueMin[2],Te=C.valueMax[2],ie=C.valueMin[3]==null?1:C.valueMin[3],ze=C.valueMax[3]==null?1:C.valueMax[3],me=[Math.round(ee+(Ut-ee)*qt),Math.round(de+(Yt-de)*qt),Math.round(Ee+(Te-Ee)*qt),Math.round(ie+(ze-ie)*qt)];O={bypass:C.bypass,name:C.name,value:me,strValue:"rgb("+me[0]+", "+me[1]+", "+me[2]+")"}}else if(j.number){var yn=C.valueMin+(C.valueMax-C.valueMin)*qt;O=this.parse(C.name,yn,C.bypass,st)}else return!1;if(!O)return _t(),!1;O.mapping=C,C=O;break}case N.data:{for(var nn=C.field.split("."),qe=Z.data,Tn=0;Tn<nn.length&&qe;Tn++){var Xn=nn[Tn];qe=qe[Xn]}if(qe!=null&&(O=this.parse(C.name,qe,C.bypass,st)),!O)return _t(),!1;O.mapping=C,C=O;break}case N.fn:{var lr=C.value,Sn=C.fnValue!=null?C.fnValue:lr(y);if(C.prevFnValue=Sn,Sn==null)return Gc("Custom function mappers may not return null (i.e. `"+C.name+"` for ele `"+y.id()+"` is null)"),!1;if(O=this.parse(C.name,Sn,C.bypass,st),!O)return Gc("Custom function mappers may not return invalid values for the property type (i.e. `"+C.name+"` for ele `"+y.id()+"` is invalid)"),!1;O.mapping=P2(C),C=O;break}case void 0:break;default:return!1}return H?(W?C.bypassed=q.bypassed:C.bypassed=q,L[C.name]=C):W?q.bypassed=C:L[C.name]=C,pt(),!0},W1.cleanElements=function(y,p){for(var x=0;x<y.length;x++){var C=y[x];if(this.clearStyleHints(C),C.dirtyCompoundBoundsCache(),C.dirtyBoundingBoxCache(),!p)C._private.style={};else for(var L=C._private.style,O=Object.keys(L),N=0;N<O.length;N++){var j=O[N],H=L[j];H!=null&&(H.bypass?H.bypassed=null:L[j]=null)}}},W1.update=function(){var y=this._private.cy,p=y.mutableElements();p.updateStyle()},W1.updateTransitions=function(y,p){var x=this,C=y._private,L=y.pstyle("transition-property").value,O=y.pstyle("transition-duration").pfValue,N=y.pstyle("transition-delay").pfValue;if(L.length>0&&O>0){for(var j={},H=!1,q=0;q<L.length;q++){var W=L[q],Z=y.pstyle(W),st=p[W];if(st){var bt=st.prev,pt=bt,_t=st.next!=null?st.next:Z,St=!1,Et=void 0,Nt=1e-6;pt&&(Q(pt.pfValue)&&Q(_t.pfValue)?(St=_t.pfValue-pt.pfValue,Et=pt.pfValue+Nt*St):Q(pt.value)&&Q(_t.value)?(St=_t.value-pt.value,Et=pt.value+Nt*St):rt(pt.value)&&rt(_t.value)&&(St=pt.value[0]!==_t.value[0]||pt.value[1]!==_t.value[1]||pt.value[2]!==_t.value[2],Et=pt.strValue),St&&(j[W]=_t.strValue,this.applyBypass(y,W,Et),H=!0))}}if(!H)return;C.transitioning=!0,new e6(function(Pt){N>0?y.delayAnimation(N).play().promise().then(Pt):Pt()}).then(function(){return y.animation({style:j,duration:O,easing:y.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){x.removeBypasses(y,L),y.emitAndNotify("style"),C.transitioning=!1})}else C.transitioning&&(this.removeBypasses(y,L),y.emitAndNotify("style"),C.transitioning=!1)},W1.checkTrigger=function(y,p,x,C,L,O){var N=this.properties[p],j=L(N);j!=null&&j(x,C)&&O(N)},W1.checkZOrderTrigger=function(y,p,x,C){var L=this;this.checkTrigger(y,p,x,C,function(O){return O.triggersZOrder},function(){L._private.cy.notify("zorder",y)})},W1.checkBoundsTrigger=function(y,p,x,C){this.checkTrigger(y,p,x,C,function(L){return L.triggersBounds},function(L){y.dirtyCompoundBoundsCache(),y.dirtyBoundingBoxCache(),L.triggersBoundsOfParallelBeziers&&p==="curve-style"&&(x==="bezier"||C==="bezier")&&y.parallelEdges().forEach(function(O){O.isBundledBezier()&&O.dirtyBoundingBoxCache()}),L.triggersBoundsOfConnectedEdges&&p==="display"&&(x==="none"||C==="none")&&y.connectedEdges().forEach(function(O){O.dirtyBoundingBoxCache()})})},W1.checkTriggers=function(y,p,x,C){y.dirtyStyleCache(),this.checkZOrderTrigger(y,p,x,C),this.checkBoundsTrigger(y,p,x,C)};var J8={};J8.applyBypass=function(y,p,x,C){var L=this,O=[],N=!0;if(p==="*"||p==="**"){if(x!==void 0)for(var j=0;j<L.properties.length;j++){var H=L.properties[j],q=H.name,W=this.parse(q,x,!0);W&&O.push(W)}}else if(mt(p)){var Z=this.parse(p,x,!0);Z&&O.push(Z)}else if(it(p)){var st=p;C=x;for(var bt=Object.keys(st),pt=0;pt<bt.length;pt++){var _t=bt[pt],St=st[_t];if(St===void 0&&(St=st[Ae(_t)]),St!==void 0){var Et=this.parse(_t,St,!0);Et&&O.push(Et)}}}else return!1;if(O.length===0)return!1;for(var Nt=!1,Pt=0;Pt<y.length;Pt++){for(var qt=y[Pt],re={},ee=void 0,Ut=0;Ut<O.length;Ut++){var de=O[Ut];if(C){var Yt=qt.pstyle(de.name);ee=re[de.name]={prev:Yt}}Nt=this.applyParsedProperty(qt,P2(de))||Nt,C&&(ee.next=qt.pstyle(de.name))}Nt&&this.updateStyleHints(qt),C&&this.updateTransitions(qt,re,N)}return Nt},J8.overrideBypass=function(y,p,x){p=pn(p);for(var C=0;C<y.length;C++){var L=y[C],O=L._private.style[p],N=this.properties[p].type,j=N.color,H=N.mutiple,q=O?O.pfValue!=null?O.pfValue:O.value:null;!O||!O.bypass?this.applyBypass(L,p,x):(O.value=x,O.pfValue!=null&&(O.pfValue=x),j?O.strValue="rgb("+x.join(",")+")":H?O.strValue=x.join(" "):O.strValue=""+x,this.updateStyleHints(L)),this.checkTriggers(L,p,q,x)}},J8.removeAllBypasses=function(y,p){return this.removeBypasses(y,this.propertyNames,p)},J8.removeBypasses=function(y,p,x){for(var C=!0,L=0;L<y.length;L++){for(var O=y[L],N={},j=0;j<p.length;j++){var H=p[j],q=this.properties[H],W=O.pstyle(q.name);if(!(!W||!W.bypass)){var Z="",st=this.parse(H,Z,!0),bt=N[q.name]={prev:W};this.applyParsedProperty(O,st),bt.next=O.pstyle(q.name)}}this.updateStyleHints(O),x&&this.updateTransitions(O,N,C)}};var dM={};dM.getEmSizeInPixels=function(){var y=this.containerCss("font-size");return y!=null?parseFloat(y):1},dM.containerCss=function(y){var p=this._private.cy,x=p.container(),C=p.window();if(C&&x&&C.getComputedStyle)return C.getComputedStyle(x).getPropertyValue(y)};var R2={};R2.getRenderedStyle=function(y,p){return p?this.getStylePropertyValue(y,p,!0):this.getRawStyle(y,!0)},R2.getRawStyle=function(y,p){var x=this;if(y=y[0],y){for(var C={},L=0;L<x.properties.length;L++){var O=x.properties[L],N=x.getStylePropertyValue(y,O.name,p);N!=null&&(C[O.name]=N,C[Ae(O.name)]=N)}return C}},R2.getIndexedStyle=function(y,p,x,C){var L=y.pstyle(p)[x][C];return L??y.cy().style().getDefaultProperty(p)[x][0]},R2.getStylePropertyValue=function(y,p,x){var C=this;if(y=y[0],y){var L=C.properties[p];L.alias&&(L=L.pointsTo);var O=L.type,N=y.pstyle(L.name);if(N){var j=N.value,H=N.units,q=N.strValue;if(x&&O.number&&j!=null&&Q(j)){var W=y.cy().zoom(),Z=function(St){return St*W},st=function(St,Et){return Z(St)+Et},bt=rt(j),pt=bt?H.every(function(_t){return _t!=null}):H!=null;return pt?bt?j.map(function(_t,St){return st(_t,H[St])}).join(" "):st(j,H):bt?j.map(function(_t){return mt(_t)?_t:""+Z(_t)}).join(" "):""+Z(j)}else if(q!=null)return q}return null}},R2.getAnimationStartStyle=function(y,p){for(var x={},C=0;C<p.length;C++){var L=p[C],O=L.name,N=y.pstyle(O);N!==void 0&&(it(N)?N=this.parse(O,N.strValue):N=this.parse(O,N)),N&&(x[O]=N)}return x},R2.getPropsList=function(y){var p=this,x=[],C=y,L=p.properties;if(C)for(var O=Object.keys(C),N=0;N<O.length;N++){var j=O[N],H=C[j],q=L[j]||L[pn(j)],W=this.parse(q.name,H);W&&x.push(W)}return x},R2.getNonDefaultPropertiesHash=function(y,p,x){var C=x.slice(),L,O,N,j,H,q;for(H=0;H<p.length;H++)if(L=p[H],O=y.pstyle(L,!1),O!=null)if(O.pfValue!=null)C[0]=fg(j,C[0]),C[1]=O2(j,C[1]);else for(N=O.strValue,q=0;q<N.length;q++)j=N.charCodeAt(q),C[0]=fg(j,C[0]),C[1]=O2(j,C[1]);return C},R2.getPropertiesHash=R2.getNonDefaultPropertiesHash;var TC={};TC.appendFromJson=function(y){for(var p=this,x=0;x<y.length;x++){var C=y[x],L=C.selector,O=C.style||C.css,N=Object.keys(O);p.selector(L);for(var j=0;j<N.length;j++){var H=N[j],q=O[H];p.css(H,q)}}return p},TC.fromJson=function(y){var p=this;return p.resetToDefault(),p.appendFromJson(y),p},TC.json=function(){for(var y=[],p=this.defaultLength;p<this.length;p++){for(var x=this[p],C=x.selector,L=x.properties,O={},N=0;N<L.length;N++){var j=L[N];O[j.name]=j.strValue}y.push({selector:C?C.toString():"core",style:O})}return y};var gM={};gM.appendFromString=function(y){var p=this,x=this,C=""+y,L,O,N;C=C.replace(/[/][*](\s|.)+?[*][/]/g,"");function j(){C.length>L.length?C=C.substr(L.length):C=""}function H(){O.length>N.length?O=O.substr(N.length):O=""}for(;;){var q=C.match(/^\s*$/);if(q)break;var W=C.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!W){Gc("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+C);break}L=W[0];var Z=W[1];if(Z!=="core"){var st=new ly(Z);if(st.invalid){Gc("Skipping parsing of block: Invalid selector found in string stylesheet: "+Z),j();continue}}var bt=W[2],pt=!1;O=bt;for(var _t=[];;){var St=O.match(/^\s*$/);if(St)break;var Et=O.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!Et){Gc("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+bt),pt=!0;break}N=Et[0];var Nt=Et[1],Pt=Et[2],qt=p.properties[Nt];if(!qt){Gc("Skipping property: Invalid property name in: "+N),H();continue}var re=x.parse(Nt,Pt);if(!re){Gc("Skipping property: Invalid property definition in: "+N),H();continue}_t.push({name:Nt,val:Pt}),H()}if(pt){j();break}x.selector(Z);for(var ee=0;ee<_t.length;ee++){var Ut=_t[ee];x.css(Ut.name,Ut.val)}j()}return x},gM.fromString=function(y){var p=this;return p.resetToDefault(),p.appendFromString(y),p};var m1={};(function(){var y=sn,p=Ne,x=_e,C=xe,L=Mn,O=function(mr){return"^"+mr+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},N=function(mr){var Sr=y+"|\\w+|"+p+"|"+x+"|"+C+"|"+L;return"^"+mr+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+y+")\\s*\\,\\s*("+y+")\\s*,\\s*("+Sr+")\\s*\\,\\s*("+Sr+")\\)$"},j=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];m1.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},nonNegativeNumber:{number:!0,min:0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},arrowWidth:{number:!0,units:"%|px|em",implicitUnits:"px",enums:["match-line"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:O("data")},layoutData:{mapping:!0,regex:O("layoutData")},scratch:{mapping:!0,regex:O("scratch")},mapData:{mapping:!0,regex:N("mapData")},mapLayoutData:{mapping:!0,regex:N("mapLayoutData")},mapScratch:{mapping:!0,regex:N("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:j,singleRegexMatchValue:!0},urls:{regexes:j,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position","endpoints"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(mr,Sr){switch(mr.length){case 2:return Sr[0]!=="deg"&&Sr[0]!=="rad"&&Sr[1]!=="deg"&&Sr[1]!=="rad";case 1:return mt(mr[0])||Sr[0]==="deg"||Sr[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*,\\s*("+y+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(mr){var Sr=mr.length;return Sr===1||Sr===2||Sr===4}}};var H={zeroNonZero:function(mr,Sr){return(mr==null||Sr==null)&&mr!==Sr||mr==0&&Sr!=0?!0:mr!=0&&Sr==0},any:function(mr,Sr){return mr!=Sr},emptyNonEmpty:function(mr,Sr){var gi=Ft(mr),ss=Ft(Sr);return gi&&!ss||!gi&&ss}},q=m1.types,W=[{name:"label",type:q.text,triggersBounds:H.any,triggersZOrder:H.emptyNonEmpty},{name:"text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any}],Z=[{name:"source-label",type:q.text,triggersBounds:H.any},{name:"source-text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"source-text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"source-text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"source-text-offset",type:q.size,triggersBounds:H.any}],st=[{name:"target-label",type:q.text,triggersBounds:H.any},{name:"target-text-rotation",type:q.textRotation,triggersBounds:H.any},{name:"target-text-margin-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"target-text-margin-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"target-text-offset",type:q.size,triggersBounds:H.any}],bt=[{name:"font-family",type:q.fontFamily,triggersBounds:H.any},{name:"font-style",type:q.fontStyle,triggersBounds:H.any},{name:"font-weight",type:q.fontWeight,triggersBounds:H.any},{name:"font-size",type:q.size,triggersBounds:H.any},{name:"text-transform",type:q.textTransform,triggersBounds:H.any},{name:"text-wrap",type:q.textWrap,triggersBounds:H.any},{name:"text-overflow-wrap",type:q.textOverflowWrap,triggersBounds:H.any},{name:"text-max-width",type:q.size,triggersBounds:H.any},{name:"text-outline-width",type:q.size,triggersBounds:H.any},{name:"line-height",type:q.positiveNumber,triggersBounds:H.any}],pt=[{name:"text-valign",type:q.valign,triggersBounds:H.any},{name:"text-halign",type:q.halign,triggersBounds:H.any},{name:"color",type:q.color},{name:"text-outline-color",type:q.color},{name:"text-outline-opacity",type:q.zeroOneNumber},{name:"text-background-color",type:q.color},{name:"text-background-opacity",type:q.zeroOneNumber},{name:"text-background-padding",type:q.size,triggersBounds:H.any},{name:"text-border-opacity",type:q.zeroOneNumber},{name:"text-border-color",type:q.color},{name:"text-border-width",type:q.size,triggersBounds:H.any},{name:"text-border-style",type:q.borderStyle,triggersBounds:H.any},{name:"text-background-shape",type:q.textBackgroundShape,triggersBounds:H.any},{name:"text-justification",type:q.justification}],_t=[{name:"events",type:q.bool,triggersZOrder:H.any},{name:"text-events",type:q.bool,triggersZOrder:H.any}],St=[{name:"display",type:q.display,triggersZOrder:H.any,triggersBounds:H.any,triggersBoundsOfConnectedEdges:!0},{name:"visibility",type:q.visibility,triggersZOrder:H.any},{name:"opacity",type:q.zeroOneNumber,triggersZOrder:H.zeroNonZero},{name:"text-opacity",type:q.zeroOneNumber},{name:"min-zoomed-font-size",type:q.size},{name:"z-compound-depth",type:q.zCompoundDepth,triggersZOrder:H.any},{name:"z-index-compare",type:q.zIndexCompare,triggersZOrder:H.any},{name:"z-index",type:q.number,triggersZOrder:H.any}],Et=[{name:"overlay-padding",type:q.size,triggersBounds:H.any},{name:"overlay-color",type:q.color},{name:"overlay-opacity",type:q.zeroOneNumber,triggersBounds:H.zeroNonZero},{name:"overlay-shape",type:q.overlayShape,triggersBounds:H.any}],Nt=[{name:"underlay-padding",type:q.size,triggersBounds:H.any},{name:"underlay-color",type:q.color},{name:"underlay-opacity",type:q.zeroOneNumber,triggersBounds:H.zeroNonZero},{name:"underlay-shape",type:q.overlayShape,triggersBounds:H.any}],Pt=[{name:"transition-property",type:q.propList},{name:"transition-duration",type:q.time},{name:"transition-delay",type:q.time},{name:"transition-timing-function",type:q.easing}],qt=function(mr,Sr){return Sr.value==="label"?-mr.poolIndex():Sr.pfValue},re=[{name:"height",type:q.nodeSize,triggersBounds:H.any,hashOverride:qt},{name:"width",type:q.nodeSize,triggersBounds:H.any,hashOverride:qt},{name:"shape",type:q.nodeShape,triggersBounds:H.any},{name:"shape-polygon-points",type:q.polygonPointList,triggersBounds:H.any},{name:"background-color",type:q.color},{name:"background-fill",type:q.fill},{name:"background-opacity",type:q.zeroOneNumber},{name:"background-blacken",type:q.nOneOneNumber},{name:"background-gradient-stop-colors",type:q.colors},{name:"background-gradient-stop-positions",type:q.percentages},{name:"background-gradient-direction",type:q.gradientDirection},{name:"padding",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"padding-relative-to",type:q.paddingRelativeTo,triggersBounds:H.any},{name:"bounds-expansion",type:q.boundsExpansion,triggersBounds:H.any}],ee=[{name:"border-color",type:q.color},{name:"border-opacity",type:q.zeroOneNumber},{name:"border-width",type:q.size,triggersBounds:H.any},{name:"border-style",type:q.borderStyle}],Ut=[{name:"outline-color",type:q.color},{name:"outline-opacity",type:q.zeroOneNumber},{name:"outline-width",type:q.size,triggersBounds:H.any},{name:"outline-style",type:q.borderStyle},{name:"outline-offset",type:q.size,triggersBounds:H.any}],de=[{name:"background-image",type:q.urls},{name:"background-image-crossorigin",type:q.bgCrossOrigin},{name:"background-image-opacity",type:q.zeroOneNumbers},{name:"background-image-containment",type:q.bgContainment},{name:"background-image-smoothing",type:q.bools},{name:"background-position-x",type:q.bgPos},{name:"background-position-y",type:q.bgPos},{name:"background-width-relative-to",type:q.bgRelativeTo},{name:"background-height-relative-to",type:q.bgRelativeTo},{name:"background-repeat",type:q.bgRepeat},{name:"background-fit",type:q.bgFit},{name:"background-clip",type:q.bgClip},{name:"background-width",type:q.bgWH},{name:"background-height",type:q.bgWH},{name:"background-offset-x",type:q.bgPos},{name:"background-offset-y",type:q.bgPos}],Yt=[{name:"position",type:q.position,triggersBounds:H.any},{name:"compound-sizing-wrt-labels",type:q.compoundIncludeLabels,triggersBounds:H.any},{name:"min-width",type:q.size,triggersBounds:H.any},{name:"min-width-bias-left",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-width-bias-right",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-height",type:q.size,triggersBounds:H.any},{name:"min-height-bias-top",type:q.sizeMaybePercent,triggersBounds:H.any},{name:"min-height-bias-bottom",type:q.sizeMaybePercent,triggersBounds:H.any}],Ee=[{name:"line-style",type:q.lineStyle},{name:"line-color",type:q.color},{name:"line-fill",type:q.fill},{name:"line-cap",type:q.lineCap},{name:"line-opacity",type:q.zeroOneNumber},{name:"line-dash-pattern",type:q.numbers},{name:"line-dash-offset",type:q.number},{name:"line-gradient-stop-colors",type:q.colors},{name:"line-gradient-stop-positions",type:q.percentages},{name:"curve-style",type:q.curveStyle,triggersBounds:H.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:q.zeroOneNumber,triggersBounds:H.any},{name:"source-endpoint",type:q.edgeEndpoint,triggersBounds:H.any},{name:"target-endpoint",type:q.edgeEndpoint,triggersBounds:H.any},{name:"control-point-step-size",type:q.size,triggersBounds:H.any},{name:"control-point-distances",type:q.bidirectionalSizes,triggersBounds:H.any},{name:"control-point-weights",type:q.numbers,triggersBounds:H.any},{name:"segment-distances",type:q.bidirectionalSizes,triggersBounds:H.any},{name:"segment-weights",type:q.numbers,triggersBounds:H.any},{name:"taxi-turn",type:q.bidirectionalSizeMaybePercent,triggersBounds:H.any},{name:"taxi-turn-min-distance",type:q.size,triggersBounds:H.any},{name:"taxi-direction",type:q.axisDirection,triggersBounds:H.any},{name:"edge-distances",type:q.edgeDistances,triggersBounds:H.any},{name:"arrow-scale",type:q.positiveNumber,triggersBounds:H.any},{name:"loop-direction",type:q.angle,triggersBounds:H.any},{name:"loop-sweep",type:q.angle,triggersBounds:H.any},{name:"source-distance-from-node",type:q.size,triggersBounds:H.any},{name:"target-distance-from-node",type:q.size,triggersBounds:H.any}],Te=[{name:"ghost",type:q.bool,triggersBounds:H.any},{name:"ghost-offset-x",type:q.bidirectionalSize,triggersBounds:H.any},{name:"ghost-offset-y",type:q.bidirectionalSize,triggersBounds:H.any},{name:"ghost-opacity",type:q.zeroOneNumber}],ie=[{name:"selection-box-color",type:q.color},{name:"selection-box-opacity",type:q.zeroOneNumber},{name:"selection-box-border-color",type:q.color},{name:"selection-box-border-width",type:q.size},{name:"active-bg-color",type:q.color},{name:"active-bg-opacity",type:q.zeroOneNumber},{name:"active-bg-size",type:q.size},{name:"outside-texture-bg-color",type:q.color},{name:"outside-texture-bg-opacity",type:q.zeroOneNumber}],ze=[];m1.pieBackgroundN=16,ze.push({name:"pie-size",type:q.sizeMaybePercent});for(var me=1;me<=m1.pieBackgroundN;me++)ze.push({name:"pie-"+me+"-background-color",type:q.color}),ze.push({name:"pie-"+me+"-background-size",type:q.percent}),ze.push({name:"pie-"+me+"-background-opacity",type:q.zeroOneNumber});var yn=[],nn=m1.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:q.arrowShape,triggersBounds:H.any},{name:"arrow-color",type:q.color},{name:"arrow-fill",type:q.arrowFill},{name:"arrow-width",type:q.arrowWidth}].forEach(function(cr){nn.forEach(function(mr){var Sr=mr+"-"+cr.name,gi=cr.type,ss=cr.triggersBounds;yn.push({name:Sr,type:gi,triggersBounds:ss})})},{});var qe=m1.properties=[].concat(_t,Pt,St,Et,Nt,Te,pt,bt,W,Z,st,re,ee,Ut,de,ze,Yt,Ee,yn,ie),Tn=m1.propertyGroups={behavior:_t,transition:Pt,visibility:St,overlay:Et,underlay:Nt,ghost:Te,commonLabel:pt,labelDimensions:bt,mainLabel:W,sourceLabel:Z,targetLabel:st,nodeBody:re,nodeBorder:ee,nodeOutline:Ut,backgroundImage:de,pie:ze,compound:Yt,edgeLine:Ee,edgeArrow:yn,core:ie},Xn=m1.propertyGroupNames={},lr=m1.propertyGroupKeys=Object.keys(Tn);lr.forEach(function(cr){Xn[cr]=Tn[cr].map(function(mr){return mr.name}),Tn[cr].forEach(function(mr){return mr.groupKey=cr})});var Sn=m1.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];m1.propertyNames=qe.map(function(cr){return cr.name});for(var or=0;or<qe.length;or++){var pr=qe[or];qe[pr.name]=pr}for(var kr=0;kr<Sn.length;kr++){var wr=Sn[kr],Cr=qe[wr.pointsTo],$n={name:wr.name,alias:!0,pointsTo:Cr};qe.push($n),qe[wr.name]=$n}})(),m1.getDefaultProperty=function(y){return this.getDefaultProperties()[y]},m1.getDefaultProperties=function(){var y=this._private;if(y.defaultProperties!=null)return y.defaultProperties;for(var p=we({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid","outline-color":"#999","outline-opacity":1,"outline-width":0,"outline-offset":0,"outline-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(H,q){for(var W=1;W<=m1.pieBackgroundN;W++){var Z=q.name.replace("{{i}}",W),st=q.value;H[Z]=st}return H},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"},{name:"arrow-width",value:1}].reduce(function(H,q){return m1.arrowPrefixes.forEach(function(W){var Z=W+"-"+q.name,st=q.value;H[Z]=st}),H},{})),x={},C=0;C<this.properties.length;C++){var L=this.properties[C];if(!L.pointsTo){var O=L.name,N=p[O],j=this.parse(O,N);x[O]=j}}return y.defaultProperties=x,y.defaultProperties},m1.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var CC={};CC.parse=function(y,p,x,C){var L=this;if(ct(p))return L.parseImplWarn(y,p,x,C);var O=C==="mapping"||C===!0||C===!1||C==null?"dontcare":C,N=x?"t":"f",j=""+p,H=Pd(y,j,N,O),q=L.propCache=L.propCache||[],W;return(W=q[H])||(W=q[H]=L.parseImplWarn(y,p,x,C)),(x||C==="mapping")&&(W=P2(W),W&&(W.value=P2(W.value))),W},CC.parseImplWarn=function(y,p,x,C){var L=this.parseImpl(y,p,x,C);return!L&&p!=null&&Gc("The style property `".concat(y,": ").concat(p,"` is invalid")),L&&(L.name==="width"||L.name==="height")&&p==="label"&&Gc("The style value of `label` is deprecated for `"+L.name+"`"),L},CC.parseImpl=function(y,p,x,C){var L=this;y=pn(y);var O=L.properties[y],N=p,j=L.types;if(!O||p===void 0)return null;O.alias&&(O=O.pointsTo,y=O.name);var H=mt(p);H&&(p=p.trim());var q=O.type;if(!q)return null;if(x&&(p===""||p===null))return{name:y,value:p,bypass:!0,deleteBypass:!0};if(ct(p))return{name:y,value:p,strValue:"fn",mapped:j.fn,bypass:x};var W,Z;if(!(!H||C||p.length<7||p[1]!=="a")){if(p.length>=7&&p[0]==="d"&&(W=new RegExp(j.data.regex).exec(p))){if(x)return!1;var st=j.data;return{name:y,value:W,strValue:""+p,mapped:st,field:W[1],bypass:x}}else if(p.length>=10&&p[0]==="m"&&(Z=new RegExp(j.mapData.regex).exec(p))){if(x||q.multiple)return!1;var bt=j.mapData;if(!(q.color||q.number))return!1;var pt=this.parse(y,Z[4]);if(!pt||pt.mapped)return!1;var _t=this.parse(y,Z[5]);if(!_t||_t.mapped)return!1;if(pt.pfValue===_t.pfValue||pt.strValue===_t.strValue)return Gc("`"+y+": "+p+"` is not a valid mapper because the output range is zero; converting to `"+y+": "+pt.strValue+"`"),this.parse(y,pt.strValue);if(q.color){var St=pt.value,Et=_t.value,Nt=St[0]===Et[0]&&St[1]===Et[1]&&St[2]===Et[2]&&(St[3]===Et[3]||(St[3]==null||St[3]===1)&&(Et[3]==null||Et[3]===1));if(Nt)return!1}return{name:y,value:Z,strValue:""+p,mapped:bt,field:Z[1],fieldMin:parseFloat(Z[2]),fieldMax:parseFloat(Z[3]),valueMin:pt.value,valueMax:_t.value,bypass:x}}}if(q.multiple&&C!=="multiple"){var Pt;if(H?Pt=p.split(/\s+/):rt(p)?Pt=p:Pt=[p],q.evenMultiple&&Pt.length%2!==0)return null;for(var qt=[],re=[],ee=[],Ut="",de=!1,Yt=0;Yt<Pt.length;Yt++){var Ee=L.parse(y,Pt[Yt],x,"multiple");de=de||mt(Ee.value),qt.push(Ee.value),ee.push(Ee.pfValue!=null?Ee.pfValue:Ee.value),re.push(Ee.units),Ut+=(Yt>0?" ":"")+Ee.strValue}return q.validate&&!q.validate(qt,re)?null:q.singleEnum&&de?qt.length===1&&mt(qt[0])?{name:y,value:qt[0],strValue:qt[0],bypass:x}:null:{name:y,value:qt,pfValue:ee,strValue:Ut,bypass:x,units:re}}var Te=function(){for(var mr=0;mr<q.enums.length;mr++){var Sr=q.enums[mr];if(Sr===p)return{name:y,value:p,strValue:""+p,bypass:x}}return null};if(q.number){var ie,ze="px";if(q.units&&(ie=q.units),q.implicitUnits&&(ze=q.implicitUnits),!q.unitless)if(H){var me="px|em"+(q.allowPercent?"|\\%":"");ie&&(me=ie);var yn=p.match("^("+sn+")("+me+")?$");yn&&(p=yn[1],ie=yn[2]||ze)}else(!ie||q.implicitUnits)&&(ie=ze);if(p=parseFloat(p),isNaN(p)&&q.enums===void 0)return null;if(isNaN(p)&&q.enums!==void 0)return p=N,Te();if(q.integer&&!dt(p)||q.min!==void 0&&(p<q.min||q.strictMin&&p===q.min)||q.max!==void 0&&(p>q.max||q.strictMax&&p===q.max))return null;var nn={name:y,value:p,strValue:""+p+(ie||""),units:ie,bypass:x};return q.unitless||ie!=="px"&&ie!=="em"?nn.pfValue=p:nn.pfValue=ie==="px"||!ie?p:this.getEmSizeInPixels()*p,(ie==="ms"||ie==="s")&&(nn.pfValue=ie==="ms"?p:1e3*p),(ie==="deg"||ie==="rad")&&(nn.pfValue=ie==="rad"?p:lQ(p)),ie==="%"&&(nn.pfValue=p/100),nn}else if(q.propList){var qe=[],Tn=""+p;if(Tn!=="none"){for(var Xn=Tn.split(/\s*,\s*|\s+/),lr=0;lr<Xn.length;lr++){var Sn=Xn[lr].trim();L.properties[Sn]?qe.push(Sn):Gc("`"+Sn+"` is not a valid property name")}if(qe.length===0)return null}return{name:y,value:qe,strValue:qe.length===0?"none":qe.join(" "),bypass:x}}else if(q.color){var or=za(p);return or?{name:y,value:or,pfValue:or,strValue:"rgb("+or[0]+","+or[1]+","+or[2]+")",bypass:x}:null}else if(q.regex||q.regexes){if(q.enums){var pr=Te();if(pr)return pr}for(var kr=q.regexes?q.regexes:[q.regex],wr=0;wr<kr.length;wr++){var Cr=new RegExp(kr[wr]),$n=Cr.exec(p);if($n)return{name:y,value:q.singleRegexMatchValue?$n[1]:$n,strValue:""+p,bypass:x}}return null}else return q.string?{name:y,value:""+p,strValue:""+p,bypass:x}:q.enums?Te():null};var Y1=function y(p){if(!(this instanceof y))return new y(p);if(!It(p)){$l("A style must have a core reference");return}this._private={cy:p,coreStyle:{}},this.length=0,this.resetToDefault()},X1=Y1.prototype;X1.instanceString=function(){return"style"},X1.clear=function(){for(var y=this._private,p=y.cy,x=p.elements(),C=0;C<this.length;C++)this[C]=void 0;return this.length=0,y.contextStyles={},y.propDiffs={},this.cleanElements(x,!0),x.forEach(function(L){var O=L[0]._private;O.styleDirty=!0,O.appliedInitStyle=!1}),this},X1.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},X1.core=function(y){return this._private.coreStyle[y]||this.getDefaultProperty(y)},X1.selector=function(y){var p=y==="core"?null:new ly(y),x=this.length++;return this[x]={selector:p,properties:[],mappedProperties:[],index:x},this},X1.css=function(){var y=this,p=arguments;if(p.length===1)for(var x=p[0],C=0;C<y.properties.length;C++){var L=y.properties[C],O=x[L.name];O===void 0&&(O=x[Ae(L.name)]),O!==void 0&&this.cssRule(L.name,O)}else p.length===2&&this.cssRule(p[0],p[1]);return this},X1.style=X1.css,X1.cssRule=function(y,p){var x=this.parse(y,p);if(x){var C=this.length-1;this[C].properties.push(x),this[C].properties[x.name]=x,x.name.match(/pie-(\d+)-background-size/)&&x.value&&(this._private.hasPie=!0),x.mapped&&this[C].mappedProperties.push(x);var L=!this[C].selector;L&&(this._private.coreStyle[x.name]=x)}return this},X1.append=function(y){return jt(y)?y.appendToStyle(this):rt(y)?this.appendFromJson(y):mt(y)&&this.appendFromString(y),this},Y1.fromJson=function(y,p){var x=new Y1(y);return x.fromJson(p),x},Y1.fromString=function(y,p){return new Y1(y).fromString(p)},[W1,J8,dM,R2,TC,gM,m1,CC].forEach(function(y){we(X1,y)}),Y1.types=X1.types,Y1.properties=X1.properties,Y1.propertyGroups=X1.propertyGroups,Y1.propertyGroupNames=X1.propertyGroupNames,Y1.propertyGroupKeys=X1.propertyGroupKeys;var bet={style:function(p){if(p){var x=this.setStyle(p);x.update()}return this._private.style},setStyle:function(p){var x=this._private;return jt(p)?x.style=p.generateStyle(this):rt(p)?x.style=Y1.fromJson(this,p):mt(p)?x.style=Y1.fromString(this,p):x.style=Y1(this),x.style},updateStyle:function(){this.mutableElements().updateStyle()}},wet="single",T4={autolock:function(p){if(p!==void 0)this._private.autolock=!!p;else return this._private.autolock;return this},autoungrabify:function(p){if(p!==void 0)this._private.autoungrabify=!!p;else return this._private.autoungrabify;return this},autounselectify:function(p){if(p!==void 0)this._private.autounselectify=!!p;else return this._private.autounselectify;return this},selectionType:function(p){var x=this._private;if(x.selectionType==null&&(x.selectionType=wet),p!==void 0)(p==="additive"||p==="single")&&(x.selectionType=p);else return x.selectionType;return this},panningEnabled:function(p){if(p!==void 0)this._private.panningEnabled=!!p;else return this._private.panningEnabled;return this},userPanningEnabled:function(p){if(p!==void 0)this._private.userPanningEnabled=!!p;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(p){if(p!==void 0)this._private.zoomingEnabled=!!p;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(p){if(p!==void 0)this._private.userZoomingEnabled=!!p;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(p){if(p!==void 0)this._private.boxSelectionEnabled=!!p;else return this._private.boxSelectionEnabled;return this},pan:function(){var p=arguments,x=this._private.pan,C,L,O,N,j;switch(p.length){case 0:return x;case 1:if(mt(p[0]))return C=p[0],x[C];if(it(p[0])){if(!this._private.panningEnabled)return this;O=p[0],N=O.x,j=O.y,Q(N)&&(x.x=N),Q(j)&&(x.y=j),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;C=p[0],L=p[1],(C==="x"||C==="y")&&Q(L)&&(x[C]=L),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(p,x){var C=arguments,L=this._private.pan,O,N,j,H,q;if(!this._private.panningEnabled)return this;switch(C.length){case 1:it(p)&&(j=C[0],H=j.x,q=j.y,Q(H)&&(L.x+=H),Q(q)&&(L.y+=q),this.emit("pan viewport"));break;case 2:O=p,N=x,(O==="x"||O==="y")&&Q(N)&&(L[O]+=N),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(p,x){var C=this.getFitViewport(p,x);if(C){var L=this._private;L.zoom=C.zoom,L.pan=C.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(p,x){if(Q(p)&&x===void 0&&(x=p,p=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var C;if(mt(p)){var L=p;p=this.$(L)}else if(kt(p)){var O=p;C={x1:O.x1,y1:O.y1,x2:O.x2,y2:O.y2},C.w=C.x2-C.x1,C.h=C.y2-C.y1}else yt(p)||(p=this.mutableElements());if(!(yt(p)&&p.empty())){C=C||p.boundingBox();var N=this.width(),j=this.height(),H;if(x=Q(x)?x:0,!isNaN(N)&&!isNaN(j)&&N>0&&j>0&&!isNaN(C.w)&&!isNaN(C.h)&&C.w>0&&C.h>0){H=Math.min((N-2*x)/C.w,(j-2*x)/C.h),H=H>this._private.maxZoom?this._private.maxZoom:H,H=H<this._private.minZoom?this._private.minZoom:H;var q={x:(N-H*(C.x1+C.x2))/2,y:(j-H*(C.y1+C.y2))/2};return{zoom:H,pan:q}}}}},zoomRange:function(p,x){var C=this._private;if(x==null){var L=p;p=L.min,x=L.max}return Q(p)&&Q(x)&&p<=x?(C.minZoom=p,C.maxZoom=x):Q(p)&&x===void 0&&p<=C.maxZoom?C.minZoom=p:Q(x)&&p===void 0&&x>=C.minZoom&&(C.maxZoom=x),this},minZoom:function(p){return p===void 0?this._private.minZoom:this.zoomRange({min:p})},maxZoom:function(p){return p===void 0?this._private.maxZoom:this.zoomRange({max:p})},getZoomedViewport:function(p){var x=this._private,C=x.pan,L=x.zoom,O,N,j=!1;if(x.zoomingEnabled||(j=!0),Q(p)?N=p:it(p)&&(N=p.level,p.position!=null?O=W9(p.position,L,C):p.renderedPosition!=null&&(O=p.renderedPosition),O!=null&&!x.panningEnabled&&(j=!0)),N=N>x.maxZoom?x.maxZoom:N,N=N<x.minZoom?x.minZoom:N,j||!Q(N)||N===L||O!=null&&(!Q(O.x)||!Q(O.y)))return null;if(O!=null){var H=C,q=L,W=N,Z={x:-W/q*(O.x-H.x)+O.x,y:-W/q*(O.y-H.y)+O.y};return{zoomed:!0,panned:!0,zoom:W,pan:Z}}else return{zoomed:!0,panned:!1,zoom:N,pan:C}},zoom:function(p){if(p===void 0)return this._private.zoom;var x=this.getZoomedViewport(p),C=this._private;return x==null||!x.zoomed?this:(C.zoom=x.zoom,x.panned&&(C.pan.x=x.pan.x,C.pan.y=x.pan.y),this.emit("zoom"+(x.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(p){var x=this._private,C=!0,L=!0,O=[],N=!1,j=!1;if(!p)return this;if(Q(p.zoom)||(C=!1),it(p.pan)||(L=!1),!C&&!L)return this;if(C){var H=p.zoom;H<x.minZoom||H>x.maxZoom||!x.zoomingEnabled?N=!0:(x.zoom=H,O.push("zoom"))}if(L&&(!N||!p.cancelOnFailedZoom)&&x.panningEnabled){var q=p.pan;Q(q.x)&&(x.pan.x=q.x,j=!1),Q(q.y)&&(x.pan.y=q.y,j=!1),j||O.push("pan")}return O.length>0&&(O.push("viewport"),this.emit(O.join(" ")),this.notify("viewport")),this},center:function(p){var x=this.getCenterPan(p);return x&&(this._private.pan=x,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(p,x){if(this._private.panningEnabled){if(mt(p)){var C=p;p=this.mutableElements().filter(C)}else yt(p)||(p=this.mutableElements());if(p.length!==0){var L=p.boundingBox(),O=this.width(),N=this.height();x=x===void 0?this._private.zoom:x;var j={x:(O-x*(L.x1+L.x2))/2,y:(N-x*(L.y1+L.y2))/2};return j}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var p=this._private,x=p.container,C=this;return p.sizeCache=p.sizeCache||(x?function(){var L=C.window().getComputedStyle(x),O=function(j){return parseFloat(L.getPropertyValue(j))};return{width:x.clientWidth-O("padding-left")-O("padding-right"),height:x.clientHeight-O("padding-top")-O("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var p=this._private.pan,x=this._private.zoom,C=this.renderedExtent(),L={x1:(C.x1-p.x)/x,x2:(C.x2-p.x)/x,y1:(C.y1-p.y)/x,y2:(C.y2-p.y)/x};return L.w=L.x2-L.x1,L.h=L.y2-L.y1,L},renderedExtent:function(){var p=this.width(),x=this.height();return{x1:0,y1:0,x2:p,y2:x,w:p,h:x}},multiClickDebounceTime:function(p){if(p)this._private.multiClickDebounceTime=p;else return this._private.multiClickDebounceTime;return this}};T4.centre=T4.center,T4.autolockNodes=T4.autolock,T4.autoungrabifyNodes=T4.autoungrabify;var Z8={data:Kc.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Kc.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Kc.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Kc.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Z8.attr=Z8.data,Z8.removeAttr=Z8.removeData;var tE=function(p){var x=this;p=we({},p);var C=p.container;C&&!K(C)&&K(C[0])&&(C=C[0]);var L=C?C._cyreg:null;L=L||{},L&&L.cy&&(L.cy.destroy(),L={});var O=L.readies=L.readies||[];C&&(C._cyreg=L),L.cy=x;var N=B!==void 0&&C!==void 0&&!p.headless,j=p;j.layout=we({name:N?"grid":"null"},j.layout),j.renderer=we({name:N?"canvas":"null"},j.renderer);var H=function(pt,_t,St){return _t!==void 0?_t:St!==void 0?St:pt},q=this._private={container:C,ready:!1,options:j,elements:new w1(this),listeners:[],aniEles:new w1(this),data:j.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:H(!0,j.zoomingEnabled),userZoomingEnabled:H(!0,j.userZoomingEnabled),panningEnabled:H(!0,j.panningEnabled),userPanningEnabled:H(!0,j.userPanningEnabled),boxSelectionEnabled:H(!0,j.boxSelectionEnabled),autolock:H(!1,j.autolock,j.autolockNodes),autoungrabify:H(!1,j.autoungrabify,j.autoungrabifyNodes),autounselectify:H(!1,j.autounselectify),styleEnabled:j.styleEnabled===void 0?N:j.styleEnabled,zoom:Q(j.zoom)?j.zoom:1,pan:{x:it(j.pan)&&Q(j.pan.x)?j.pan.x:0,y:it(j.pan)&&Q(j.pan.y)?j.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:H(250,j.multiClickDebounceTime)};this.createEmitter(),this.selectionType(j.selectionType),this.zoomRange({min:j.minZoom,max:j.maxZoom});var W=function(pt,_t){var St=pt.some(Gt);if(St)return e6.all(pt).then(_t);_t(pt)};q.styleEnabled&&x.setStyle([]);var Z=we({},j,j.renderer);x.initRenderer(Z);var st=function(pt,_t,St){x.notifications(!1);var Et=x.mutableElements();Et.length>0&&Et.remove(),pt!=null&&(it(pt)||rt(pt))&&x.add(pt),x.one("layoutready",function(Pt){x.notifications(!0),x.emit(Pt),x.one("load",_t),x.emitAndNotify("load")}).one("layoutstop",function(){x.one("done",St),x.emit("done")});var Nt=we({},x._private.options.layout);Nt.eles=x.elements(),x.layout(Nt).run()};W([j.style,j.elements],function(bt){var pt=bt[0],_t=bt[1];q.styleEnabled&&x.style().append(pt),st(_t,function(){x.startAnimationLoop(),q.ready=!0,ct(j.ready)&&x.on("ready",j.ready);for(var St=0;St<O.length;St++){var Et=O[St];x.on("ready",Et)}L&&(L.readies=[]),x.emit("ready")},j.done)})},SC=tE.prototype;we(SC,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(p){return this.isReady()?this.emitter().emit("ready",[],p):this.on("ready",p),this},destroy:function(){var p=this;if(!p.destroyed())return p.stopAnimationLoop(),p.destroyRenderer(),this.emit("destroy"),p._private.destroyed=!0,p},hasElementWithId:function(p){return this._private.elements.hasElementWithId(p)},getElementById:function(p){return this._private.elements.getElementById(p)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(p){return this._private.elements.merge(p),this},removeFromPool:function(p){return this._private.elements.unmerge(p),this},container:function(){return this._private.container||null},window:function(){var p=this._private.container;if(p==null)return B;var x=this._private.container.ownerDocument;return x===void 0||x==null?B:x.defaultView||B},mount:function(p){if(p!=null){var x=this,C=x._private,L=C.options;return!K(p)&&K(p[0])&&(p=p[0]),x.stopAnimationLoop(),x.destroyRenderer(),C.container=p,C.styleEnabled=!0,x.invalidateSize(),x.initRenderer(we({},L,L.renderer,{name:L.renderer.name==="null"?"canvas":L.renderer.name})),x.startAnimationLoop(),x.style(L.style),x.emit("mount"),x}},unmount:function(){var p=this;return p.stopAnimationLoop(),p.destroyRenderer(),p.initRenderer({name:"null"}),p.emit("unmount"),p},options:function(){return P2(this._private.options)},json:function(p){var x=this,C=x._private,L=x.mutableElements(),O=function(qt){return x.getElementById(qt.id())};if(it(p)){if(x.startBatch(),p.elements){var N={},j=function(qt,re){for(var ee=[],Ut=[],de=0;de<qt.length;de++){var Yt=qt[de];if(!Yt.data.id){Gc("cy.json() cannot handle elements without an ID attribute");continue}var Ee=""+Yt.data.id,Te=x.getElementById(Ee);N[Ee]=!0,Te.length!==0?Ut.push({ele:Te,json:Yt}):(re&&(Yt.group=re),ee.push(Yt))}x.add(ee);for(var ie=0;ie<Ut.length;ie++){var ze=Ut[ie],me=ze.ele,yn=ze.json;me.json(yn)}};if(rt(p.elements))j(p.elements);else for(var H=["nodes","edges"],q=0;q<H.length;q++){var W=H[q],Z=p.elements[W];rt(Z)&&j(Z,W)}var st=x.collection();L.filter(function(Pt){return!N[Pt.id()]}).forEach(function(Pt){Pt.isParent()?st.merge(Pt):Pt.remove()}),st.forEach(function(Pt){return Pt.children().move({parent:null})}),st.forEach(function(Pt){return O(Pt).remove()})}p.style&&x.style(p.style),p.zoom!=null&&p.zoom!==C.zoom&&x.zoom(p.zoom),p.pan&&(p.pan.x!==C.pan.x||p.pan.y!==C.pan.y)&&x.pan(p.pan),p.data&&x.data(p.data);for(var bt=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],pt=0;pt<bt.length;pt++){var _t=bt[pt];p[_t]!=null&&x[_t](p[_t])}return x.endBatch(),this}else{var St=!!p,Et={};St?Et.elements=this.elements().map(function(Pt){return Pt.json()}):(Et.elements={},L.forEach(function(Pt){var qt=Pt.group();Et.elements[qt]||(Et.elements[qt]=[]),Et.elements[qt].push(Pt.json())})),this._private.styleEnabled&&(Et.style=x.style().json()),Et.data=P2(x.data());var Nt=C.options;return Et.zoomingEnabled=C.zoomingEnabled,Et.userZoomingEnabled=C.userZoomingEnabled,Et.zoom=C.zoom,Et.minZoom=C.minZoom,Et.maxZoom=C.maxZoom,Et.panningEnabled=C.panningEnabled,Et.userPanningEnabled=C.userPanningEnabled,Et.pan=P2(C.pan),Et.boxSelectionEnabled=C.boxSelectionEnabled,Et.renderer=P2(Nt.renderer),Et.hideEdgesOnViewport=Nt.hideEdgesOnViewport,Et.textureOnViewport=Nt.textureOnViewport,Et.wheelSensitivity=Nt.wheelSensitivity,Et.motionBlur=Nt.motionBlur,Et.multiClickDebounceTime=Nt.multiClickDebounceTime,Et}}}),SC.$id=SC.getElementById,[set,het,oj,hM,kC,det,fM,EC,bet,T4,Z8].forEach(function(y){we(SC,y)});var met={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}},vet={maximal:!1,acyclic:!1},f6=function(p){return p.scratch("breadthfirst")},cj=function(p,x){return p.scratch("breadthfirst",x)};function uj(y){this.options=we({},met,vet,y)}uj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=C.nodes().filter(function(vi){return!vi.isParent()}),O=C,N=p.directed,j=p.acyclic||p.maximal||p.maximalAdjustments>0,H=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),q;if(yt(p.roots))q=p.roots;else if(rt(p.roots)){for(var W=[],Z=0;Z<p.roots.length;Z++){var st=p.roots[Z],bt=x.getElementById(st);W.push(bt)}q=x.collection(W)}else if(mt(p.roots))q=x.$(p.roots);else if(N)q=L.roots();else{var pt=C.components();q=x.collection();for(var _t=function(si){var Qi=pt[si],ks=Qi.maxDegree(!1),as=Qi.filter(function(Es){return Es.degree(!1)===ks});q=q.add(as)},St=0;St<pt.length;St++)_t(St)}var Et=[],Nt={},Pt=function(si,Qi){Et[Qi]==null&&(Et[Qi]=[]);var ks=Et[Qi].length;Et[Qi].push(si),cj(si,{index:ks,depth:Qi})},qt=function(si,Qi){var ks=f6(si),as=ks.depth,Es=ks.index;Et[as][Es]=null,Pt(si,Qi)};O.bfs({roots:q,directed:p.directed,visit:function(si,Qi,ks,as,Es){var eo=si[0],Ta=eo.id();Pt(eo,Es),Nt[Ta]=!0}});for(var re=[],ee=0;ee<L.length;ee++){var Ut=L[ee];Nt[Ut.id()]||re.push(Ut)}var de=function(si){for(var Qi=Et[si],ks=0;ks<Qi.length;ks++){var as=Qi[ks];if(as==null){Qi.splice(ks,1),ks--;continue}cj(as,{depth:si,index:ks})}},Yt=function(){for(var si=0;si<Et.length;si++)de(si)},Ee=function(si,Qi){for(var ks=f6(si),as=si.incomers().filter(function(G){return G.isNode()&&C.has(G)}),Es=-1,eo=si.id(),Ta=0;Ta<as.length;Ta++){var pa=as[Ta],mo=f6(pa);Es=Math.max(Es,mo.depth)}if(ks.depth<=Es){if(!p.acyclic&&Qi[eo])return null;var Kn=Es+1;return qt(si,Kn),Qi[eo]=Kn,!0}return!1};if(N&&j){var Te=[],ie={},ze=function(si){return Te.push(si)},me=function(){return Te.shift()};for(L.forEach(function(vi){return Te.push(vi)});Te.length>0;){var yn=me(),nn=Ee(yn,ie);if(nn)yn.outgoers().filter(function(vi){return vi.isNode()&&C.has(vi)}).forEach(ze);else if(nn===null){Gc("Detected double maximal shift for node `"+yn.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}Yt();var qe=0;if(p.avoidOverlap)for(var Tn=0;Tn<L.length;Tn++){var Xn=L[Tn],lr=Xn.layoutDimensions(p),Sn=lr.w,or=lr.h;qe=Math.max(qe,Sn,or)}var pr={},kr=function(si){if(pr[si.id()])return pr[si.id()];for(var Qi=f6(si).depth,ks=si.neighborhood(),as=0,Es=0,eo=0;eo<ks.length;eo++){var Ta=ks[eo];if(!(Ta.isEdge()||Ta.isParent()||!L.has(Ta))){var pa=f6(Ta);if(pa!=null){var mo=pa.index,Kn=pa.depth;if(!(mo==null||Kn==null)){var G=Et[Kn].length;Kn<Qi&&(as+=mo/G,Es++)}}}}return Es=Math.max(1,Es),as=as/Es,Es===0&&(as=0),pr[si.id()]=as,as},wr=function(si,Qi){var ks=kr(si),as=kr(Qi),Es=ks-as;return Es===0?ce(si.id(),Qi.id()):Es};p.depthSort!==void 0&&(wr=p.depthSort);for(var Cr=0;Cr<Et.length;Cr++)Et[Cr].sort(wr),de(Cr);for(var $n=[],cr=0;cr<re.length;cr++)$n.push(re[cr]);Et.unshift($n),Yt();for(var mr=0,Sr=0;Sr<Et.length;Sr++)mr=Math.max(Et[Sr].length,mr);var gi={x:H.x1+H.w/2,y:H.x1+H.h/2},ss=Et.reduce(function(vi,si){return Math.max(vi,si.length)},0),na=function(si){var Qi=f6(si),ks=Qi.depth,as=Qi.index,Es=Et[ks].length,eo=Math.max(H.w/((p.grid?ss:Es)+1),qe),Ta=Math.max(H.h/(Et.length+1),qe),pa=Math.min(H.w/2/Et.length,H.h/2/Et.length);if(pa=Math.max(pa,qe),p.circle){var Kn=pa*ks+pa-(Et.length>0&&Et[0].length<=3?pa/2:0),G=2*Math.PI/Et[ks].length*as;return ks===0&&Et[0].length===1&&(Kn=1),{x:gi.x+Kn*Math.cos(G),y:gi.y+Kn*Math.sin(G)}}else{var mo={x:gi.x+(as+1-(Es+1)/2)*eo,y:(ks+1)*Ta};return mo}};return C.nodes().layoutPositions(this,p,na),this};var yet={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function lj(y){this.options=we({},yet,y)}lj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,O=C.nodes().not(":parent");p.sort&&(O=O.sort(p.sort));for(var N=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()}),j={x:N.x1+N.w/2,y:N.y1+N.h/2},H=p.sweep===void 0?2*Math.PI-2*Math.PI/O.length:p.sweep,q=H/Math.max(1,O.length-1),W,Z=0,st=0;st<O.length;st++){var bt=O[st],pt=bt.layoutDimensions(p),_t=pt.w,St=pt.h;Z=Math.max(Z,_t,St)}if(Q(p.radius)?W=p.radius:O.length<=1?W=0:W=Math.min(N.h,N.w)/2-Z,O.length>1&&p.avoidOverlap){Z*=1.75;var Et=Math.cos(q)-Math.cos(0),Nt=Math.sin(q)-Math.sin(0),Pt=Math.sqrt(Z*Z/(Et*Et+Nt*Nt));W=Math.max(Pt,W)}var qt=function(ee,Ut){var de=p.startAngle+Ut*q*(L?1:-1),Yt=W*Math.cos(de),Ee=W*Math.sin(de),Te={x:j.x+Yt,y:j.y+Ee};return Te};return C.nodes().layoutPositions(this,p,qt),this};var xet={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(p){return p.degree()},levelWidth:function(p){return p.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function hj(y){this.options=we({},xet,y)}hj.prototype.run=function(){for(var y=this.options,p=y,x=p.counterclockwise!==void 0?!p.counterclockwise:p.clockwise,C=y.cy,L=p.eles,O=L.nodes().not(":parent"),N=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:C.width(),h:C.height()}),j={x:N.x1+N.w/2,y:N.y1+N.h/2},H=[],q=0,W=0;W<O.length;W++){var Z=O[W],st=void 0;st=p.concentric(Z),H.push({value:st,node:Z}),Z._private.scratch.concentric=st}O.updateStyle();for(var bt=0;bt<O.length;bt++){var pt=O[bt],_t=pt.layoutDimensions(p);q=Math.max(q,_t.w,_t.h)}H.sort(function(vi,si){return si.value-vi.value});for(var St=p.levelWidth(O),Et=[[]],Nt=Et[0],Pt=0;Pt<H.length;Pt++){var qt=H[Pt];if(Nt.length>0){var re=Math.abs(Nt[0].value-qt.value);re>=St&&(Nt=[],Et.push(Nt))}Nt.push(qt)}var ee=q+p.minNodeSpacing;if(!p.avoidOverlap){var Ut=Et.length>0&&Et[0].length>1,de=Math.min(N.w,N.h)/2-ee,Yt=de/(Et.length+Ut?1:0);ee=Math.min(ee,Yt)}for(var Ee=0,Te=0;Te<Et.length;Te++){var ie=Et[Te],ze=p.sweep===void 0?2*Math.PI-2*Math.PI/ie.length:p.sweep,me=ie.dTheta=ze/Math.max(1,ie.length-1);if(ie.length>1&&p.avoidOverlap){var yn=Math.cos(me)-Math.cos(0),nn=Math.sin(me)-Math.sin(0),qe=Math.sqrt(ee*ee/(yn*yn+nn*nn));Ee=Math.max(qe,Ee)}ie.r=Ee,Ee+=ee}if(p.equidistant){for(var Tn=0,Xn=0,lr=0;lr<Et.length;lr++){var Sn=Et[lr],or=Sn.r-Xn;Tn=Math.max(Tn,or)}Xn=0;for(var pr=0;pr<Et.length;pr++){var kr=Et[pr];pr===0&&(Xn=kr.r),kr.r=Xn,Xn+=Tn}}for(var wr={},Cr=0;Cr<Et.length;Cr++)for(var $n=Et[Cr],cr=$n.dTheta,mr=$n.r,Sr=0;Sr<$n.length;Sr++){var gi=$n[Sr],ss=p.startAngle+(x?1:-1)*cr*Sr,na={x:j.x+mr*Math.cos(ss),y:j.y+mr*Math.sin(ss)};wr[gi.node.id()]=na}return L.nodes().layoutPositions(this,p,function(vi){var si=vi.id();return wr[si]}),this};var pM,ket={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(p,x){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(p){return 2048},nodeOverlap:4,idealEdgeLength:function(p){return 32},edgeElasticity:function(p){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function _C(y){this.options=we({},ket,y),this.options.layout=this;var p=this.options.eles.nodes(),x=this.options.eles.edges(),C=x.filter(function(L){var O=L.source().data("id"),N=L.target().data("id"),j=p.some(function(q){return q.data("id")===O}),H=p.some(function(q){return q.data("id")===N});return!j||!H});this.options.eles=this.options.eles.not(C)}_C.prototype.run=function(){var y=this.options,p=y.cy,x=this;x.stopped=!1,(y.animate===!0||y.animate===!1)&&x.emit({type:"layoutstart",layout:x}),y.debug===!0?pM=!0:pM=!1;var C=Eet(p,x,y);pM&&_et(C),y.randomize&&Aet(C);var L=ip(),O=function(){Let(C,p,y),y.fit===!0&&p.fit(y.padding)},N=function(st){return!(x.stopped||st>=y.numIter||(Det(C,y),C.temperature=C.temperature*y.coolingFactor,C.temperature<y.minTemp))},j=function(){if(y.animate===!0||y.animate===!1)O(),x.one("layoutstop",y.stop),x.emit({type:"layoutstop",layout:x});else{var st=y.eles.nodes(),bt=fj(C,y,st);st.layoutPositions(x,y,bt)}},H=0,q=!0;if(y.animate===!0){var W=function Z(){for(var st=0;q&&st<y.refresh;)q=N(H),H++,st++;if(!q)gj(C,y),j();else{var bt=ip();bt-L>=y.animationThreshold&&O(),g1(Z)}};W()}else{for(;q;)q=N(H),H++;gj(C,y),j()}return this},_C.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},_C.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var Eet=function(p,x,C){for(var L=C.eles.edges(),O=C.eles.nodes(),N=v0(C.boundingBox?C.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()}),j={isCompound:p.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:O.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:L.size(),temperature:C.initialTemp,clientWidth:N.w,clientHeight:N.h,boundingBox:N},H=C.eles.components(),q={},W=0;W<H.length;W++)for(var Z=H[W],st=0;st<Z.length;st++){var bt=Z[st];q[bt.id()]=W}for(var W=0;W<j.nodeSize;W++){var pt=O[W],_t=pt.layoutDimensions(C),St={};St.isLocked=pt.locked(),St.id=pt.data("id"),St.parentId=pt.data("parent"),St.cmptId=q[pt.id()],St.children=[],St.positionX=pt.position("x"),St.positionY=pt.position("y"),St.offsetX=0,St.offsetY=0,St.height=_t.w,St.width=_t.h,St.maxX=St.positionX+St.width/2,St.minX=St.positionX-St.width/2,St.maxY=St.positionY+St.height/2,St.minY=St.positionY-St.height/2,St.padLeft=parseFloat(pt.style("padding")),St.padRight=parseFloat(pt.style("padding")),St.padTop=parseFloat(pt.style("padding")),St.padBottom=parseFloat(pt.style("padding")),St.nodeRepulsion=ct(C.nodeRepulsion)?C.nodeRepulsion(pt):C.nodeRepulsion,j.layoutNodes.push(St),j.idToIndex[St.id]=W}for(var Et=[],Nt=0,Pt=-1,qt=[],W=0;W<j.nodeSize;W++){var pt=j.layoutNodes[W],re=pt.parentId;re!=null?j.layoutNodes[j.idToIndex[re]].children.push(pt.id):(Et[++Pt]=pt.id,qt.push(pt.id))}for(j.graphSet.push(qt);Nt<=Pt;){var ee=Et[Nt++],Ut=j.idToIndex[ee],bt=j.layoutNodes[Ut],de=bt.children;if(de.length>0){j.graphSet.push(de);for(var W=0;W<de.length;W++)Et[++Pt]=de[W]}}for(var W=0;W<j.graphSet.length;W++)for(var Yt=j.graphSet[W],st=0;st<Yt.length;st++){var Ee=j.idToIndex[Yt[st]];j.indexToGraph[Ee]=W}for(var W=0;W<j.edgeSize;W++){var Te=L[W],ie={};ie.id=Te.data("id"),ie.sourceId=Te.data("source"),ie.targetId=Te.data("target");var ze=ct(C.idealEdgeLength)?C.idealEdgeLength(Te):C.idealEdgeLength,me=ct(C.edgeElasticity)?C.edgeElasticity(Te):C.edgeElasticity,yn=j.idToIndex[ie.sourceId],nn=j.idToIndex[ie.targetId],qe=j.indexToGraph[yn],Tn=j.indexToGraph[nn];if(qe!=Tn){for(var Xn=Tet(ie.sourceId,ie.targetId,j),lr=j.graphSet[Xn],Sn=0,St=j.layoutNodes[yn];lr.indexOf(St.id)===-1;)St=j.layoutNodes[j.idToIndex[St.parentId]],Sn++;for(St=j.layoutNodes[nn];lr.indexOf(St.id)===-1;)St=j.layoutNodes[j.idToIndex[St.parentId]],Sn++;ze*=Sn*C.nestingFactor}ie.idealLength=ze,ie.elasticity=me,j.layoutEdges.push(ie)}return j},Tet=function(p,x,C){var L=Cet(p,x,0,C);return 2>L.count?0:L.graph},Cet=function y(p,x,C,L){var O=L.graphSet[C];if(-1<O.indexOf(p)&&-1<O.indexOf(x))return{count:2,graph:C};for(var N=0,j=0;j<O.length;j++){var H=O[j],q=L.idToIndex[H],W=L.layoutNodes[q].children;if(W.length!==0){var Z=L.indexToGraph[L.idToIndex[W[0]]],st=y(p,x,Z,L);if(st.count!==0)if(st.count===1){if(N++,N===2)break}else return st}}return{count:N,graph:C}},_et,Aet=function(p,x){for(var C=p.clientWidth,L=p.clientHeight,O=0;O<p.nodeSize;O++){var N=p.layoutNodes[O];N.children.length===0&&!N.isLocked&&(N.positionX=Math.random()*C,N.positionY=Math.random()*L)}},fj=function(p,x,C){var L=p.boundingBox,O={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return x.boundingBox&&(C.forEach(function(N){var j=p.layoutNodes[p.idToIndex[N.data("id")]];O.x1=Math.min(O.x1,j.positionX),O.x2=Math.max(O.x2,j.positionX),O.y1=Math.min(O.y1,j.positionY),O.y2=Math.max(O.y2,j.positionY)}),O.w=O.x2-O.x1,O.h=O.y2-O.y1),function(N,j){var H=p.layoutNodes[p.idToIndex[N.data("id")]];if(x.boundingBox){var q=(H.positionX-O.x1)/O.w,W=(H.positionY-O.y1)/O.h;return{x:L.x1+q*L.w,y:L.y1+W*L.h}}else return{x:H.positionX,y:H.positionY}}},Let=function(p,x,C){var L=C.layout,O=C.eles.nodes(),N=fj(p,C,O);O.positions(N),p.ready!==!0&&(p.ready=!0,L.one("layoutready",C.ready),L.emit({type:"layoutready",layout:this}))},Det=function(p,x,C){Met(p,x),Net(p),Pet(p,x),Fet(p),Bet(p)},Met=function(p,x){for(var C=0;C<p.graphSet.length;C++)for(var L=p.graphSet[C],O=L.length,N=0;N<O;N++)for(var j=p.layoutNodes[p.idToIndex[L[N]]],H=N+1;H<O;H++){var q=p.layoutNodes[p.idToIndex[L[H]]];Iet(j,q,p,x)}},dj=function(p){return-p+2*p*Math.random()},Iet=function(p,x,C,L){var O=p.cmptId,N=x.cmptId;if(!(O!==N&&!C.isCompound)){var j=x.positionX-p.positionX,H=x.positionY-p.positionY,q=1;j===0&&H===0&&(j=dj(q),H=dj(q));var W=Oet(p,x,j,H);if(W>0)var Z=L.nodeOverlap*W,st=Math.sqrt(j*j+H*H),bt=Z*j/st,pt=Z*H/st;else var _t=AC(p,j,H),St=AC(x,-1*j,-1*H),Et=St.x-_t.x,Nt=St.y-_t.y,Pt=Et*Et+Nt*Nt,st=Math.sqrt(Pt),Z=(p.nodeRepulsion+x.nodeRepulsion)/Pt,bt=Z*Et/st,pt=Z*Nt/st;p.isLocked||(p.offsetX-=bt,p.offsetY-=pt),x.isLocked||(x.offsetX+=bt,x.offsetY+=pt)}},Oet=function(p,x,C,L){if(C>0)var O=p.maxX-x.minX;else var O=x.maxX-p.minX;if(L>0)var N=p.maxY-x.minY;else var N=x.maxY-p.minY;return O>=0&&N>=0?Math.sqrt(O*O+N*N):0},AC=function(p,x,C){var L=p.positionX,O=p.positionY,N=p.height||1,j=p.width||1,H=C/x,q=N/j,W={};return x===0&&0<C||x===0&&0>C?(W.x=L,W.y=O+N/2,W):0<x&&-1*q<=H&&H<=q?(W.x=L+j/2,W.y=O+j*C/2/x,W):0>x&&-1*q<=H&&H<=q?(W.x=L-j/2,W.y=O-j*C/2/x,W):0<C&&(H<=-1*q||H>=q)?(W.x=L+N*x/2/C,W.y=O+N/2,W):(0>C&&(H<=-1*q||H>=q)&&(W.x=L-N*x/2/C,W.y=O-N/2),W)},Net=function(p,x){for(var C=0;C<p.edgeSize;C++){var L=p.layoutEdges[C],O=p.idToIndex[L.sourceId],N=p.layoutNodes[O],j=p.idToIndex[L.targetId],H=p.layoutNodes[j],q=H.positionX-N.positionX,W=H.positionY-N.positionY;if(!(q===0&&W===0)){var Z=AC(N,q,W),st=AC(H,-1*q,-1*W),bt=st.x-Z.x,pt=st.y-Z.y,_t=Math.sqrt(bt*bt+pt*pt),St=Math.pow(L.idealLength-_t,2)/L.elasticity;if(_t!==0)var Et=St*bt/_t,Nt=St*pt/_t;else var Et=0,Nt=0;N.isLocked||(N.offsetX+=Et,N.offsetY+=Nt),H.isLocked||(H.offsetX-=Et,H.offsetY-=Nt)}}},Pet=function(p,x){if(x.gravity!==0)for(var C=1,L=0;L<p.graphSet.length;L++){var O=p.graphSet[L],N=O.length;if(L===0)var j=p.clientHeight/2,H=p.clientWidth/2;else var q=p.layoutNodes[p.idToIndex[O[0]]],W=p.layoutNodes[p.idToIndex[q.parentId]],j=W.positionX,H=W.positionY;for(var Z=0;Z<N;Z++){var st=p.layoutNodes[p.idToIndex[O[Z]]];if(!st.isLocked){var bt=j-st.positionX,pt=H-st.positionY,_t=Math.sqrt(bt*bt+pt*pt);if(_t>C){var St=x.gravity*bt/_t,Et=x.gravity*pt/_t;st.offsetX+=St,st.offsetY+=Et}}}}},Fet=function(p,x){var C=[],L=0,O=-1;for(C.push.apply(C,p.graphSet[0]),O+=p.graphSet[0].length;L<=O;){var N=C[L++],j=p.idToIndex[N],H=p.layoutNodes[j],q=H.children;if(0<q.length&&!H.isLocked){for(var W=H.offsetX,Z=H.offsetY,st=0;st<q.length;st++){var bt=p.layoutNodes[p.idToIndex[q[st]]];bt.offsetX+=W,bt.offsetY+=Z,C[++O]=q[st]}H.offsetX=0,H.offsetY=0}}},Bet=function(p,x){for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];0<L.children.length&&(L.maxX=void 0,L.minX=void 0,L.maxY=void 0,L.minY=void 0)}for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];if(!(0<L.children.length||L.isLocked)){var O=Ret(L.offsetX,L.offsetY,p.temperature);L.positionX+=O.x,L.positionY+=O.y,L.offsetX=0,L.offsetY=0,L.minX=L.positionX-L.width,L.maxX=L.positionX+L.width,L.minY=L.positionY-L.height,L.maxY=L.positionY+L.height,jet(L,p)}}for(var C=0;C<p.nodeSize;C++){var L=p.layoutNodes[C];0<L.children.length&&!L.isLocked&&(L.positionX=(L.maxX+L.minX)/2,L.positionY=(L.maxY+L.minY)/2,L.width=L.maxX-L.minX,L.height=L.maxY-L.minY)}},Ret=function(p,x,C){var L=Math.sqrt(p*p+x*x);if(L>C)var O={x:C*p/L,y:C*x/L};else var O={x:p,y:x};return O},jet=function y(p,x){var C=p.parentId;if(C!=null){var L=x.layoutNodes[x.idToIndex[C]],O=!1;if((L.maxX==null||p.maxX+L.padRight>L.maxX)&&(L.maxX=p.maxX+L.padRight,O=!0),(L.minX==null||p.minX-L.padLeft<L.minX)&&(L.minX=p.minX-L.padLeft,O=!0),(L.maxY==null||p.maxY+L.padBottom>L.maxY)&&(L.maxY=p.maxY+L.padBottom,O=!0),(L.minY==null||p.minY-L.padTop<L.minY)&&(L.minY=p.minY-L.padTop,O=!0),O)return y(L,x)}},gj=function(p,x){for(var C=p.layoutNodes,L=[],O=0;O<C.length;O++){var N=C[O],j=N.cmptId,H=L[j]=L[j]||[];H.push(N)}for(var q=0,O=0;O<L.length;O++){var W=L[O];if(W){W.x1=1/0,W.x2=-1/0,W.y1=1/0,W.y2=-1/0;for(var Z=0;Z<W.length;Z++){var st=W[Z];W.x1=Math.min(W.x1,st.positionX-st.width/2),W.x2=Math.max(W.x2,st.positionX+st.width/2),W.y1=Math.min(W.y1,st.positionY-st.height/2),W.y2=Math.max(W.y2,st.positionY+st.height/2)}W.w=W.x2-W.x1,W.h=W.y2-W.y1,q+=W.w*W.h}}L.sort(function(Nt,Pt){return Pt.w*Pt.h-Nt.w*Nt.h});for(var bt=0,pt=0,_t=0,St=0,Et=Math.sqrt(q)*p.clientWidth/p.clientHeight,O=0;O<L.length;O++){var W=L[O];if(W){for(var Z=0;Z<W.length;Z++){var st=W[Z];st.isLocked||(st.positionX+=bt-W.x1,st.positionY+=pt-W.y1)}bt+=W.w+x.componentSpacing,_t+=W.w+x.componentSpacing,St=Math.max(St,W.h),_t>Et&&(pt+=St+x.componentSpacing,bt=0,_t=0,St=0)}}},$et={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(p){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function pj(y){this.options=we({},$et,y)}pj.prototype.run=function(){var y=this.options,p=y,x=y.cy,C=p.eles,L=C.nodes().not(":parent");p.sort&&(L=L.sort(p.sort));var O=v0(p.boundingBox?p.boundingBox:{x1:0,y1:0,w:x.width(),h:x.height()});if(O.h===0||O.w===0)C.nodes().layoutPositions(this,p,function(pr){return{x:O.x1,y:O.y1}});else{var N=L.size(),j=Math.sqrt(N*O.h/O.w),H=Math.round(j),q=Math.round(O.w/O.h*j),W=function(kr){if(kr==null)return Math.min(H,q);var wr=Math.min(H,q);wr==H?H=kr:q=kr},Z=function(kr){if(kr==null)return Math.max(H,q);var wr=Math.max(H,q);wr==H?H=kr:q=kr},st=p.rows,bt=p.cols!=null?p.cols:p.columns;if(st!=null&&bt!=null)H=st,q=bt;else if(st!=null&&bt==null)H=st,q=Math.ceil(N/H);else if(st==null&&bt!=null)q=bt,H=Math.ceil(N/q);else if(q*H>N){var pt=W(),_t=Z();(pt-1)*_t>=N?W(pt-1):(_t-1)*pt>=N&&Z(_t-1)}else for(;q*H<N;){var St=W(),Et=Z();(Et+1)*St>=N?Z(Et+1):W(St+1)}var Nt=O.w/q,Pt=O.h/H;if(p.condense&&(Nt=0,Pt=0),p.avoidOverlap)for(var qt=0;qt<L.length;qt++){var re=L[qt],ee=re._private.position;(ee.x==null||ee.y==null)&&(ee.x=0,ee.y=0);var Ut=re.layoutDimensions(p),de=p.avoidOverlapPadding,Yt=Ut.w+de,Ee=Ut.h+de;Nt=Math.max(Nt,Yt),Pt=Math.max(Pt,Ee)}for(var Te={},ie=function(kr,wr){return!!Te["c-"+kr+"-"+wr]},ze=function(kr,wr){Te["c-"+kr+"-"+wr]=!0},me=0,yn=0,nn=function(){yn++,yn>=q&&(yn=0,me++)},qe={},Tn=0;Tn<L.length;Tn++){var Xn=L[Tn],lr=p.position(Xn);if(lr&&(lr.row!==void 0||lr.col!==void 0)){var Sn={row:lr.row,col:lr.col};if(Sn.col===void 0)for(Sn.col=0;ie(Sn.row,Sn.col);)Sn.col++;else if(Sn.row===void 0)for(Sn.row=0;ie(Sn.row,Sn.col);)Sn.row++;qe[Xn.id()]=Sn,ze(Sn.row,Sn.col)}}var or=function(kr,wr){var Cr,$n;if(kr.locked()||kr.isParent())return!1;var cr=qe[kr.id()];if(cr)Cr=cr.col*Nt+Nt/2+O.x1,$n=cr.row*Pt+Pt/2+O.y1;else{for(;ie(me,yn);)nn();Cr=yn*Nt+Nt/2+O.x1,$n=me*Pt+Pt/2+O.y1,ze(me,yn),nn()}return{x:Cr,y:$n}};L.layoutPositions(this,p,or)}return this};var zet={ready:function(){},stop:function(){}};function bM(y){this.options=we({},zet,y)}bM.prototype.run=function(){var y=this.options,p=y.eles,x=this;return y.cy,x.emit("layoutstart"),p.nodes().positions(function(){return{x:0,y:0}}),x.one("layoutready",y.ready),x.emit("layoutready"),x.one("layoutstop",y.stop),x.emit("layoutstop"),this},bM.prototype.stop=function(){return this};var qet={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,spacingFactor:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function bj(y){this.options=we({},qet,y)}bj.prototype.run=function(){var y=this.options,p=y.eles,x=p.nodes(),C=ct(y.positions);function L(O){if(y.positions==null)return sQ(O.position());if(C)return y.positions(O);var N=y.positions[O._private.data.id];return N??null}return x.layoutPositions(this,y,function(O,N){var j=L(O);return O.locked()||j==null?!1:j}),this};var Het={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(p,x){return!0},ready:void 0,stop:void 0,transform:function(p,x){return x}};function wj(y){this.options=we({},Het,y)}wj.prototype.run=function(){var y=this.options,p=y.cy,x=y.eles,C=v0(y.boundingBox?y.boundingBox:{x1:0,y1:0,w:p.width(),h:p.height()}),L=function(N,j){return{x:C.x1+Math.round(Math.random()*C.w),y:C.y1+Math.round(Math.random()*C.h)}};return x.nodes().layoutPositions(this,y,L),this};var Vet=[{name:"breadthfirst",impl:uj},{name:"circle",impl:lj},{name:"concentric",impl:hj},{name:"cose",impl:_C},{name:"grid",impl:pj},{name:"null",impl:bM},{name:"preset",impl:bj},{name:"random",impl:wj}];function mj(y){this.options=y,this.notifications=0}var vj=function(){},yj=function(){throw new Error("A headless instance can not render images")};mj.prototype={recalculateRenderedStyle:vj,notify:function(){this.notifications++},init:vj,isHeadless:function(){return!0},png:yj,jpg:yj};var wM={};wM.arrowShapeWidth=.3,wM.registerArrowShapes=function(){var y=this.arrowShapes={},p=this,x=function(q,W,Z,st,bt,pt,_t){var St=bt.x-Z/2-_t,Et=bt.x+Z/2+_t,Nt=bt.y-Z/2-_t,Pt=bt.y+Z/2+_t,qt=St<=q&&q<=Et&&Nt<=W&&W<=Pt;return qt},C=function(q,W,Z,st,bt){var pt=q*Math.cos(st)-W*Math.sin(st),_t=q*Math.sin(st)+W*Math.cos(st),St=pt*Z,Et=_t*Z,Nt=St+bt.x,Pt=Et+bt.y;return{x:Nt,y:Pt}},L=function(q,W,Z,st){for(var bt=[],pt=0;pt<q.length;pt+=2){var _t=q[pt],St=q[pt+1];bt.push(C(_t,St,W,Z,st))}return bt},O=function(q){for(var W=[],Z=0;Z<q.length;Z++){var st=q[Z];W.push(st.x,st.y)}return W},N=function(q){return q.pstyle("width").pfValue*q.pstyle("arrow-scale").pfValue*2},j=function(q,W){mt(W)&&(W=y[W]),y[q]=we({name:q,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(st,bt,pt,_t,St,Et){var Nt=O(L(this.points,pt+2*Et,_t,St)),Pt=y0(st,bt,Nt);return Pt},roughCollide:x,draw:function(st,bt,pt,_t){var St=L(this.points,bt,pt,_t);p.arrowShapeImpl("polygon")(st,St)},spacing:function(st){return 0},gap:N},W)};j("none",{collide:ay,roughCollide:ay,draw:BD,spacing:sp,gap:sp}),j("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),j("arrow","triangle"),j("triangle-backcurve",{points:y.triangle.points,controlPoint:[0,-.15],roughCollide:x,draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=this.controlPoint,St=C(_t[0],_t[1],W,Z,st);p.arrowShapeImpl(this.name)(q,pt,St)},gap:function(q){return N(q)*.8}}),j("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(q,W,Z,st,bt,pt,_t){var St=O(L(this.points,Z+2*_t,st,bt)),Et=O(L(this.pointsTee,Z+2*_t,st,bt)),Nt=y0(q,W,St)||y0(q,W,Et);return Nt},draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=L(this.pointsTee,W,Z,st);p.arrowShapeImpl(this.name)(q,pt,_t)}}),j("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(q,W,Z,st,bt,pt,_t){var St=bt,Et=Math.pow(St.x-q,2)+Math.pow(St.y-W,2)<=Math.pow((Z+2*_t)*this.radius,2),Nt=O(L(this.points,Z+2*_t,st,bt));return y0(q,W,Nt)||Et},draw:function(q,W,Z,st,bt){var pt=L(this.pointsTr,W,Z,st);p.arrowShapeImpl(this.name)(q,pt,st.x,st.y,this.radius*W)},spacing:function(q){return p.getArrowWidth(q.pstyle("width").pfValue,q.pstyle("arrow-scale").value)*this.radius}}),j("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(q,W){var Z=this.baseCrossLinePts.slice(),st=W/q,bt=3,pt=5;return Z[bt]=Z[bt]-st,Z[pt]=Z[pt]-st,Z},collide:function(q,W,Z,st,bt,pt,_t){var St=O(L(this.points,Z+2*_t,st,bt)),Et=O(L(this.crossLinePts(Z,pt),Z+2*_t,st,bt)),Nt=y0(q,W,St)||y0(q,W,Et);return Nt},draw:function(q,W,Z,st,bt){var pt=L(this.points,W,Z,st),_t=L(this.crossLinePts(W,bt),W,Z,st);p.arrowShapeImpl(this.name)(q,pt,_t)}}),j("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(q){return N(q)*.525}}),j("circle",{radius:.15,collide:function(q,W,Z,st,bt,pt,_t){var St=bt,Et=Math.pow(St.x-q,2)+Math.pow(St.y-W,2)<=Math.pow((Z+2*_t)*this.radius,2);return Et},draw:function(q,W,Z,st,bt){p.arrowShapeImpl(this.name)(q,st.x,st.y,this.radius*W)},spacing:function(q){return p.getArrowWidth(q.pstyle("width").pfValue,q.pstyle("arrow-scale").value)*this.radius}}),j("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(q){return 1},gap:function(q){return 1}}),j("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),j("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(q){return q.pstyle("width").pfValue*q.pstyle("arrow-scale").value}}),j("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(q){return .95*q.pstyle("width").pfValue*q.pstyle("arrow-scale").value}})};var C4={};C4.projectIntoViewport=function(y,p){var x=this.cy,C=this.findContainerClientCoords(),L=C[0],O=C[1],N=C[4],j=x.pan(),H=x.zoom(),q=((y-L)/N-j.x)/H,W=((p-O)/N-j.y)/H;return[q,W]},C4.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var y=this.container,p=y.getBoundingClientRect(),x=this.cy.window().getComputedStyle(y),C=function(Et){return parseFloat(x.getPropertyValue(Et))},L={left:C("padding-left"),right:C("padding-right"),top:C("padding-top"),bottom:C("padding-bottom")},O={left:C("border-left-width"),right:C("border-right-width"),top:C("border-top-width"),bottom:C("border-bottom-width")},N=y.clientWidth,j=y.clientHeight,H=L.left+L.right,q=L.top+L.bottom,W=O.left+O.right,Z=p.width/(N+W),st=N-H,bt=j-q,pt=p.left+L.left+O.left,_t=p.top+L.top+O.top;return this.containerBB=[pt,_t,st,bt,Z]},C4.invalidateContainerClientCoordsCache=function(){this.containerBB=null},C4.findNearestElement=function(y,p,x,C){return this.findNearestElements(y,p,x,C)[0]},C4.findNearestElements=function(y,p,x,C){var L=this,O=this,N=O.getCachedZSortedEles(),j=[],H=O.cy.zoom(),q=O.cy.hasCompoundNodes(),W=(C?24:8)/H,Z=(C?8:2)/H,st=(C?8:2)/H,bt=1/0,pt,_t;x&&(N=N.interactive);function St(Ut,de){if(Ut.isNode()){if(_t)return;_t=Ut,j.push(Ut)}if(Ut.isEdge()&&(de==null||de<bt))if(pt){if(pt.pstyle("z-compound-depth").value===Ut.pstyle("z-compound-depth").value&&pt.pstyle("z-compound-depth").value===Ut.pstyle("z-compound-depth").value){for(var Yt=0;Yt<j.length;Yt++)if(j[Yt].isEdge()){j[Yt]=Ut,pt=Ut,bt=de??bt;break}}}else j.push(Ut),pt=Ut,bt=de??bt}function Et(Ut){var de=Ut.outerWidth()+2*Z,Yt=Ut.outerHeight()+2*Z,Ee=de/2,Te=Yt/2,ie=Ut.position();if(ie.x-Ee<=y&&y<=ie.x+Ee&&ie.y-Te<=p&&p<=ie.y+Te){var ze=O.nodeShapes[L.getNodeShape(Ut)];if(ze.checkPoint(y,p,0,de,Yt,ie.x,ie.y))return St(Ut,0),!0}}function Nt(Ut){var de=Ut._private,Yt=de.rscratch,Ee=Ut.pstyle("width").pfValue,Te=Ut.pstyle("arrow-scale").value,ie=Ee/2+W,ze=ie*ie,me=ie*2,Tn=de.source,Xn=de.target,yn;if(Yt.edgeType==="segments"||Yt.edgeType==="straight"||Yt.edgeType==="haystack"){for(var nn=Yt.allpts,qe=0;qe+3<nn.length;qe+=2)if(mQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],me)&&ze>(yn=EQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3])))return St(Ut,yn),!0}else if(Yt.edgeType==="bezier"||Yt.edgeType==="multibezier"||Yt.edgeType==="self"||Yt.edgeType==="compound"){for(var nn=Yt.allpts,qe=0;qe+5<Yt.allpts.length;qe+=4)if(vQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],nn[qe+4],nn[qe+5],me)&&ze>(yn=kQ(y,p,nn[qe],nn[qe+1],nn[qe+2],nn[qe+3],nn[qe+4],nn[qe+5])))return St(Ut,yn),!0}for(var Tn=Tn||de.source,Xn=Xn||de.target,lr=L.getArrowWidth(Ee,Te),Sn=[{name:"source",x:Yt.arrowStartX,y:Yt.arrowStartY,angle:Yt.srcArrowAngle},{name:"target",x:Yt.arrowEndX,y:Yt.arrowEndY,angle:Yt.tgtArrowAngle},{name:"mid-source",x:Yt.midX,y:Yt.midY,angle:Yt.midsrcArrowAngle},{name:"mid-target",x:Yt.midX,y:Yt.midY,angle:Yt.midtgtArrowAngle}],qe=0;qe<Sn.length;qe++){var or=Sn[qe],pr=O.arrowShapes[Ut.pstyle(or.name+"-arrow-shape").value],kr=Ut.pstyle("width").pfValue;if(pr.roughCollide(y,p,lr,or.angle,{x:or.x,y:or.y},kr,W)&&pr.collide(y,p,lr,or.angle,{x:or.x,y:or.y},kr,W))return St(Ut),!0}q&&j.length>0&&(Et(Tn),Et(Xn))}function Pt(Ut,de,Yt){return fb(Ut,de,Yt)}function qt(Ut,de){var Yt=Ut._private,Ee=st,Te;de?Te=de+"-":Te="",Ut.boundingBox();var ie=Yt.labelBounds[de||"main"],ze=Ut.pstyle(Te+"label").value,me=Ut.pstyle("text-events").strValue==="yes";if(!(!me||!ze)){var yn=Pt(Yt.rscratch,"labelX",de),nn=Pt(Yt.rscratch,"labelY",de),qe=Pt(Yt.rscratch,"labelAngle",de),Tn=Ut.pstyle(Te+"text-margin-x").pfValue,Xn=Ut.pstyle(Te+"text-margin-y").pfValue,lr=ie.x1-Ee-Tn,Sn=ie.x2+Ee-Tn,or=ie.y1-Ee-Xn,pr=ie.y2+Ee-Xn;if(qe){var kr=Math.cos(qe),wr=Math.sin(qe),Cr=function(na,vi){return na=na-yn,vi=vi-nn,{x:na*kr-vi*wr+yn,y:na*wr+vi*kr+nn}},$n=Cr(lr,or),cr=Cr(lr,pr),mr=Cr(Sn,or),Sr=Cr(Sn,pr),gi=[$n.x+Tn,$n.y+Xn,mr.x+Tn,mr.y+Xn,Sr.x+Tn,Sr.y+Xn,cr.x+Tn,cr.y+Xn];if(y0(y,p,gi))return St(Ut),!0}else if(Qx(ie,y,p))return St(Ut),!0}}for(var re=N.length-1;re>=0;re--){var ee=N[re];ee.isNode()?Et(ee)||qt(ee):Nt(ee)||qt(ee)||qt(ee,"source")||qt(ee,"target")}return j},C4.getAllInBox=function(y,p,x,C){var L=this.getCachedZSortedEles().interactive,O=[],N=Math.min(y,x),j=Math.max(y,x),H=Math.min(p,C),q=Math.max(p,C);y=N,x=j,p=H,C=q;for(var W=v0({x1:y,y1:p,x2:x,y2:C}),Z=0;Z<L.length;Z++){var st=L[Z];if(st.isNode()){var bt=st,pt=bt.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});$D(W,pt)&&!jB(pt,W)&&O.push(bt)}else{var _t=st,St=_t._private,Et=St.rscratch;if(Et.startX!=null&&Et.startY!=null&&!Qx(W,Et.startX,Et.startY)||Et.endX!=null&&Et.endY!=null&&!Qx(W,Et.endX,Et.endY))continue;if(Et.edgeType==="bezier"||Et.edgeType==="multibezier"||Et.edgeType==="self"||Et.edgeType==="compound"||Et.edgeType==="segments"||Et.edgeType==="haystack"){for(var Nt=St.rstyle.bezierPts||St.rstyle.linePts||St.rstyle.haystackPts,Pt=!0,qt=0;qt<Nt.length;qt++)if(!wQ(W,Nt[qt])){Pt=!1;break}Pt&&O.push(_t)}else(Et.edgeType==="haystack"||Et.edgeType==="straight")&&O.push(_t)}}return O};var LC={};LC.calculateArrowAngles=function(y){var p=y._private.rscratch,x=p.edgeType==="haystack",C=p.edgeType==="bezier",L=p.edgeType==="multibezier",O=p.edgeType==="segments",N=p.edgeType==="compound",j=p.edgeType==="self",H,q,W,Z,st,bt,Et,Nt;if(x?(W=p.haystackPts[0],Z=p.haystackPts[1],st=p.haystackPts[2],bt=p.haystackPts[3]):(W=p.arrowStartX,Z=p.arrowStartY,st=p.arrowEndX,bt=p.arrowEndY),Et=p.midX,Nt=p.midY,O)H=W-p.segpts[0],q=Z-p.segpts[1];else if(L||N||j||C){var pt=p.allpts,_t=Lf(pt[0],pt[2],pt[4],.1),St=Lf(pt[1],pt[3],pt[5],.1);H=W-_t,q=Z-St}else H=W-Et,q=Z-Nt;p.srcArrowAngle=Y9(H,q);var Et=p.midX,Nt=p.midY;if(x&&(Et=(W+st)/2,Nt=(Z+bt)/2),H=st-W,q=bt-Z,O){var pt=p.allpts;if(pt.length/2%2===0){var Pt=pt.length/2,qt=Pt-2;H=pt[Pt]-pt[qt],q=pt[Pt+1]-pt[qt+1]}else{var Pt=pt.length/2-1,qt=Pt-2,re=Pt+2;H=pt[Pt]-pt[qt],q=pt[Pt+1]-pt[qt+1]}}else if(L||N||j){var pt=p.allpts,ee=p.ctrlpts,Ut,de,Yt,Ee;if(ee.length/2%2===0){var Te=pt.length/2-1,ie=Te+2,ze=ie+2;Ut=Lf(pt[Te],pt[ie],pt[ze],0),de=Lf(pt[Te+1],pt[ie+1],pt[ze+1],0),Yt=Lf(pt[Te],pt[ie],pt[ze],1e-4),Ee=Lf(pt[Te+1],pt[ie+1],pt[ze+1],1e-4)}else{var ie=pt.length/2-1,Te=ie-2,ze=ie+2;Ut=Lf(pt[Te],pt[ie],pt[ze],.4999),de=Lf(pt[Te+1],pt[ie+1],pt[ze+1],.4999),Yt=Lf(pt[Te],pt[ie],pt[ze],.5),Ee=Lf(pt[Te+1],pt[ie+1],pt[ze+1],.5)}H=Yt-Ut,q=Ee-de}if(p.midtgtArrowAngle=Y9(H,q),p.midDispX=H,p.midDispY=q,H*=-1,q*=-1,O){var pt=p.allpts;if(pt.length/2%2!==0){var Pt=pt.length/2-1,re=Pt+2;H=-(pt[re]-pt[Pt]),q=-(pt[re+1]-pt[Pt+1])}}if(p.midsrcArrowAngle=Y9(H,q),O)H=st-p.segpts[p.segpts.length-2],q=bt-p.segpts[p.segpts.length-1];else if(L||N||j||C){var pt=p.allpts,me=pt.length,_t=Lf(pt[me-6],pt[me-4],pt[me-2],.9),St=Lf(pt[me-5],pt[me-3],pt[me-1],.9);H=st-_t,q=bt-St}else H=st-Et,q=bt-Nt;p.tgtArrowAngle=Y9(H,q)},LC.getArrowWidth=LC.getArrowHeight=function(y,p){var x=this.arrowWidthCache=this.arrowWidthCache||{},C=x[y+", "+p];return C||(C=Math.max(Math.pow(y*13.37,.9),29)*p,x[y+", "+p]=C,C)};var Q1={};Q1.findMidptPtsEtc=function(y,p){var x=p.posPts,C=p.intersectionPts,L=p.vectorNormInverse,O,N=y.pstyle("source-endpoint"),j=y.pstyle("target-endpoint"),H=N.units!=null&&j.units!=null,q=function(re,ee,Ut,de){var Yt=de-ee,Ee=Ut-re,Te=Math.sqrt(Ee*Ee+Yt*Yt);return{x:-Yt/Te,y:Ee/Te}},W=y.pstyle("edge-distances").value;switch(W){case"node-position":O=x;break;case"intersection":O=C;break;case"endpoints":{if(H){var Z=this.manualEndptToPx(y.source()[0],N),st=E(Z,2),bt=st[0],pt=st[1],_t=this.manualEndptToPx(y.target()[0],j),St=E(_t,2),Et=St[0],Nt=St[1],Pt={x1:bt,y1:pt,x2:Et,y2:Nt};L=q(bt,pt,Et,Nt),O=Pt}else Gc("Edge ".concat(y.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),O=C;break}}return{midptPts:O,vectorNormInverse:L}},Q1.findHaystackPoints=function(y){for(var p=0;p<y.length;p++){var x=y[p],C=x._private,L=C.rscratch;if(!L.haystack){var O=Math.random()*2*Math.PI;L.source={x:Math.cos(O),y:Math.sin(O)},O=Math.random()*2*Math.PI,L.target={x:Math.cos(O),y:Math.sin(O)}}var N=C.source,j=C.target,H=N.position(),q=j.position(),W=N.width(),Z=j.width(),st=N.height(),bt=j.height(),pt=x.pstyle("haystack-radius").value,_t=pt/2;L.haystackPts=L.allpts=[L.source.x*W*_t+H.x,L.source.y*st*_t+H.y,L.target.x*Z*_t+q.x,L.target.y*bt*_t+q.y],L.midX=(L.allpts[0]+L.allpts[2])/2,L.midY=(L.allpts[1]+L.allpts[3])/2,L.edgeType="haystack",L.haystack=!0,this.storeEdgeProjections(x),this.calculateArrowAngles(x),this.recalculateEdgeLabelProjections(x),this.calculateLabelAngles(x)}},Q1.findSegmentsPoints=function(y,p){var x=y._private.rscratch,C=y.pstyle("segment-weights"),L=y.pstyle("segment-distances"),O=Math.min(C.pfValue.length,L.pfValue.length);x.edgeType="segments",x.segpts=[];for(var N=0;N<O;N++){var j=C.pfValue[N],H=L.pfValue[N],q=1-j,W=j,Z=this.findMidptPtsEtc(y,p),st=Z.midptPts,bt=Z.vectorNormInverse,pt={x:st.x1*q+st.x2*W,y:st.y1*q+st.y2*W};x.segpts.push(pt.x+bt.x*H,pt.y+bt.y*H)}},Q1.findLoopPoints=function(y,p,x,C){var L=y._private.rscratch,O=p.dirCounts,N=p.srcPos,j=y.pstyle("control-point-distances"),H=j?j.pfValue[0]:void 0,q=y.pstyle("loop-direction").pfValue,W=y.pstyle("loop-sweep").pfValue,Z=y.pstyle("control-point-step-size").pfValue;L.edgeType="self";var st=x,bt=Z;C&&(st=0,bt=H);var pt=q-Math.PI/2,_t=pt-W/2,St=pt+W/2,Et=q+"_"+W;st=O[Et]===void 0?O[Et]=0:++O[Et],L.ctrlpts=[N.x+Math.cos(_t)*1.4*bt*(st/3+1),N.y+Math.sin(_t)*1.4*bt*(st/3+1),N.x+Math.cos(St)*1.4*bt*(st/3+1),N.y+Math.sin(St)*1.4*bt*(st/3+1)]},Q1.findCompoundLoopPoints=function(y,p,x,C){var L=y._private.rscratch;L.edgeType="compound";var O=p.srcPos,N=p.tgtPos,j=p.srcW,H=p.srcH,q=p.tgtW,W=p.tgtH,Z=y.pstyle("control-point-step-size").pfValue,st=y.pstyle("control-point-distances"),bt=st?st.pfValue[0]:void 0,pt=x,_t=Z;C&&(pt=0,_t=bt);var St=50,Et={x:O.x-j/2,y:O.y-H/2},Nt={x:N.x-q/2,y:N.y-W/2},Pt={x:Math.min(Et.x,Nt.x),y:Math.min(Et.y,Nt.y)},qt=.5,re=Math.max(qt,Math.log(j*.01)),ee=Math.max(qt,Math.log(q*.01));L.ctrlpts=[Pt.x,Pt.y-(1+Math.pow(St,1.12)/100)*_t*(pt/3+1)*re,Pt.x-(1+Math.pow(St,1.12)/100)*_t*(pt/3+1)*ee,Pt.y]},Q1.findStraightEdgePoints=function(y){y._private.rscratch.edgeType="straight"},Q1.findBezierPoints=function(y,p,x,C,L){var O=y._private.rscratch,N=y.pstyle("control-point-step-size").pfValue,j=y.pstyle("control-point-distances"),H=y.pstyle("control-point-weights"),q=j&&H?Math.min(j.value.length,H.value.length):1,W=j?j.pfValue[0]:void 0,Z=H.value[0],st=C;O.edgeType=st?"multibezier":"bezier",O.ctrlpts=[];for(var bt=0;bt<q;bt++){var pt=(.5-p.eles.length/2+x)*N*(L?-1:1),_t=void 0,St=FB(pt);st&&(W=j?j.pfValue[bt]:N,Z=H.value[bt]),C?_t=W:_t=W!==void 0?St*W:void 0;var Et=_t!==void 0?_t:pt,Nt=1-Z,Pt=Z,qt=this.findMidptPtsEtc(y,p),re=qt.midptPts,ee=qt.vectorNormInverse,Ut={x:re.x1*Nt+re.x2*Pt,y:re.y1*Nt+re.y2*Pt};O.ctrlpts.push(Ut.x+ee.x*Et,Ut.y+ee.y*Et)}},Q1.findTaxiPoints=function(y,p){var x=y._private.rscratch;x.edgeType="segments";var C="vertical",L="horizontal",O="leftward",N="rightward",j="downward",H="upward",q="auto",W=p.posPts,Z=p.srcW,st=p.srcH,bt=p.tgtW,pt=p.tgtH,_t=y.pstyle("edge-distances").value,St=_t!=="node-position",Et=y.pstyle("taxi-direction").value,Nt=Et,Pt=y.pstyle("taxi-turn"),qt=Pt.units==="%",re=Pt.pfValue,ee=re<0,Ut=y.pstyle("taxi-turn-min-distance").pfValue,de=St?(Z+bt)/2:0,Yt=St?(st+pt)/2:0,Ee=W.x2-W.x1,Te=W.y2-W.y1,ie=function(hr,us){return hr>0?Math.max(hr-us,0):Math.min(hr+us,0)},ze=ie(Ee,de),me=ie(Te,Yt),yn=!1;Nt===q?Et=Math.abs(ze)>Math.abs(me)?L:C:Nt===H||Nt===j?(Et=C,yn=!0):(Nt===O||Nt===N)&&(Et=L,yn=!0);var nn=Et===C,qe=nn?me:ze,Tn=nn?Te:Ee,Xn=FB(Tn),lr=!1;!(yn&&(qt||ee))&&(Nt===j&&Tn<0||Nt===H&&Tn>0||Nt===O&&Tn>0||Nt===N&&Tn<0)&&(Xn*=-1,qe=Xn*Math.abs(qe),lr=!0);var Sn;if(qt){var or=re<0?1+re:re;Sn=or*qe}else{var pr=re<0?qe:0;Sn=pr+re*Xn}var kr=function(hr){return Math.abs(hr)<Ut||Math.abs(hr)>=Math.abs(qe)},wr=kr(Sn),Cr=kr(Math.abs(qe)-Math.abs(Sn)),$n=wr||Cr;if($n&&!lr)if(nn){var cr=Math.abs(Tn)<=st/2,mr=Math.abs(Ee)<=bt/2;if(cr){var Sr=(W.x1+W.x2)/2,gi=W.y1,ss=W.y2;x.segpts=[Sr,gi,Sr,ss]}else if(mr){var na=(W.y1+W.y2)/2,vi=W.x1,si=W.x2;x.segpts=[vi,na,si,na]}else x.segpts=[W.x1,W.y2]}else{var Qi=Math.abs(Tn)<=Z/2,ks=Math.abs(Te)<=pt/2;if(Qi){var as=(W.y1+W.y2)/2,Es=W.x1,eo=W.x2;x.segpts=[Es,as,eo,as]}else if(ks){var Ta=(W.x1+W.x2)/2,pa=W.y1,mo=W.y2;x.segpts=[Ta,pa,Ta,mo]}else x.segpts=[W.x2,W.y1]}else if(nn){var Kn=W.y1+Sn+(St?st/2*Xn:0),G=W.x1,Vn=W.x2;x.segpts=[G,Kn,Vn,Kn]}else{var gr=W.x1+Sn+(St?Z/2*Xn:0),nr=W.y1,Be=W.y2;x.segpts=[gr,nr,gr,Be]}},Q1.tryToCorrectInvalidPoints=function(y,p){var x=y._private.rscratch;if(x.edgeType==="bezier"){var C=p.srcPos,L=p.tgtPos,O=p.srcW,N=p.srcH,j=p.tgtW,H=p.tgtH,q=p.srcShape,W=p.tgtShape,Z=!Q(x.startX)||!Q(x.startY),st=!Q(x.arrowStartX)||!Q(x.arrowStartY),bt=!Q(x.endX)||!Q(x.endY),pt=!Q(x.arrowEndX)||!Q(x.arrowEndY),_t=3,St=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth,Et=_t*St,Nt=w4({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.startX,y:x.startY}),Pt=Nt<Et,qt=w4({x:x.ctrlpts[0],y:x.ctrlpts[1]},{x:x.endX,y:x.endY}),re=qt<Et,ee=!1;if(Z||st||Pt){ee=!0;var Ut={x:x.ctrlpts[0]-C.x,y:x.ctrlpts[1]-C.y},de=Math.sqrt(Ut.x*Ut.x+Ut.y*Ut.y),Yt={x:Ut.x/de,y:Ut.y/de},Ee=Math.max(O,N),Te={x:x.ctrlpts[0]+Yt.x*2*Ee,y:x.ctrlpts[1]+Yt.y*2*Ee},ie=q.intersectLine(C.x,C.y,O,N,Te.x,Te.y,0);Pt?(x.ctrlpts[0]=x.ctrlpts[0]+Yt.x*(Et-Nt),x.ctrlpts[1]=x.ctrlpts[1]+Yt.y*(Et-Nt)):(x.ctrlpts[0]=ie[0]+Yt.x*Et,x.ctrlpts[1]=ie[1]+Yt.y*Et)}if(bt||pt||re){ee=!0;var ze={x:x.ctrlpts[0]-L.x,y:x.ctrlpts[1]-L.y},me=Math.sqrt(ze.x*ze.x+ze.y*ze.y),yn={x:ze.x/me,y:ze.y/me},nn=Math.max(O,N),qe={x:x.ctrlpts[0]+yn.x*2*nn,y:x.ctrlpts[1]+yn.y*2*nn},Tn=W.intersectLine(L.x,L.y,j,H,qe.x,qe.y,0);re?(x.ctrlpts[0]=x.ctrlpts[0]+yn.x*(Et-qt),x.ctrlpts[1]=x.ctrlpts[1]+yn.y*(Et-qt)):(x.ctrlpts[0]=Tn[0]+yn.x*Et,x.ctrlpts[1]=Tn[1]+yn.y*Et)}ee&&this.findEndpoints(y)}},Q1.storeAllpts=function(y){var p=y._private.rscratch;if(p.edgeType==="multibezier"||p.edgeType==="bezier"||p.edgeType==="self"||p.edgeType==="compound"){p.allpts=[],p.allpts.push(p.startX,p.startY);for(var x=0;x+1<p.ctrlpts.length;x+=2)p.allpts.push(p.ctrlpts[x],p.ctrlpts[x+1]),x+3<p.ctrlpts.length&&p.allpts.push((p.ctrlpts[x]+p.ctrlpts[x+2])/2,(p.ctrlpts[x+1]+p.ctrlpts[x+3])/2);p.allpts.push(p.endX,p.endY);var C,L;p.ctrlpts.length/2%2===0?(C=p.allpts.length/2-1,p.midX=p.allpts[C],p.midY=p.allpts[C+1]):(C=p.allpts.length/2-3,L=.5,p.midX=Lf(p.allpts[C],p.allpts[C+2],p.allpts[C+4],L),p.midY=Lf(p.allpts[C+1],p.allpts[C+3],p.allpts[C+5],L))}else if(p.edgeType==="straight")p.allpts=[p.startX,p.startY,p.endX,p.endY],p.midX=(p.startX+p.endX+p.arrowStartX+p.arrowEndX)/4,p.midY=(p.startY+p.endY+p.arrowStartY+p.arrowEndY)/4;else if(p.edgeType==="segments")if(p.allpts=[],p.allpts.push(p.startX,p.startY),p.allpts.push.apply(p.allpts,p.segpts),p.allpts.push(p.endX,p.endY),p.segpts.length%4===0){var O=p.segpts.length/2,N=O-2;p.midX=(p.segpts[N]+p.segpts[O])/2,p.midY=(p.segpts[N+1]+p.segpts[O+1])/2}else{var j=p.segpts.length/2-1;p.midX=p.segpts[j],p.midY=p.segpts[j+1]}},Q1.checkForInvalidEdgeWarning=function(y){var p=y[0]._private.rscratch;p.nodesOverlap||Q(p.startX)&&Q(p.startY)&&Q(p.endX)&&Q(p.endY)?p.loggedErr=!1:p.loggedErr||(p.loggedErr=!0,Gc("Edge `"+y.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},Q1.findEdgeControlPoints=function(y){var p=this;if(!(!y||y.length===0)){for(var x=this,C=x.cy,L=C.hasCompoundNodes(),O={map:new F2,get:function(Ut){var de=this.map.get(Ut[0]);return de!=null?de.get(Ut[1]):null},set:function(Ut,de){var Yt=this.map.get(Ut[0]);Yt==null&&(Yt=new F2,this.map.set(Ut[0],Yt)),Yt.set(Ut[1],de)}},N=[],j=[],H=0;H<y.length;H++){var q=y[H],W=q._private,Z=q.pstyle("curve-style").value;if(!(q.removed()||!q.takesUpSpace())){if(Z==="haystack"){j.push(q);continue}var st=Z==="unbundled-bezier"||Z==="segments"||Z==="straight"||Z==="straight-triangle"||Z==="taxi",bt=Z==="unbundled-bezier"||Z==="bezier",pt=W.source,_t=W.target,St=pt.poolIndex(),Et=_t.poolIndex(),Nt=[St,Et].sort(),Pt=O.get(Nt);Pt==null&&(Pt={eles:[]},O.set(Nt,Pt),N.push(Nt)),Pt.eles.push(q),st&&(Pt.hasUnbundled=!0),bt&&(Pt.hasBezier=!0)}}for(var qt=function(Ut){var de=N[Ut],Yt=O.get(de),Ee=void 0;if(!Yt.hasUnbundled){var Te=Yt.eles[0].parallelEdges().filter(function(mo){return mo.isBundledBezier()});G9(Yt.eles),Te.forEach(function(mo){return Yt.eles.push(mo)}),Yt.eles.sort(function(mo,Kn){return mo.poolIndex()-Kn.poolIndex()})}var ie=Yt.eles[0],ze=ie.source(),me=ie.target();if(ze.poolIndex()>me.poolIndex()){var yn=ze;ze=me,me=yn}var nn=Yt.srcPos=ze.position(),qe=Yt.tgtPos=me.position(),Tn=Yt.srcW=ze.outerWidth(),Xn=Yt.srcH=ze.outerHeight(),lr=Yt.tgtW=me.outerWidth(),Sn=Yt.tgtH=me.outerHeight(),or=Yt.srcShape=x.nodeShapes[p.getNodeShape(ze)],pr=Yt.tgtShape=x.nodeShapes[p.getNodeShape(me)];Yt.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var kr=0;kr<Yt.eles.length;kr++){var wr=Yt.eles[kr],Cr=wr[0]._private.rscratch,$n=wr.pstyle("curve-style").value,cr=$n==="unbundled-bezier"||$n==="segments"||$n==="taxi",mr=!ze.same(wr.source());if(!Yt.calculatedIntersection&&ze!==me&&(Yt.hasBezier||Yt.hasUnbundled)){Yt.calculatedIntersection=!0;var Sr=or.intersectLine(nn.x,nn.y,Tn,Xn,qe.x,qe.y,0),gi=Yt.srcIntn=Sr,ss=pr.intersectLine(qe.x,qe.y,lr,Sn,nn.x,nn.y,0),na=Yt.tgtIntn=ss,vi=Yt.intersectionPts={x1:Sr[0],x2:ss[0],y1:Sr[1],y2:ss[1]},si=Yt.posPts={x1:nn.x,x2:qe.x,y1:nn.y,y2:qe.y},Qi=ss[1]-Sr[1],ks=ss[0]-Sr[0],as=Math.sqrt(ks*ks+Qi*Qi),Es=Yt.vector={x:ks,y:Qi},eo=Yt.vectorNorm={x:Es.x/as,y:Es.y/as},Ta={x:-eo.y,y:eo.x};Yt.nodesOverlap=!Q(as)||pr.checkPoint(Sr[0],Sr[1],0,lr,Sn,qe.x,qe.y)||or.checkPoint(ss[0],ss[1],0,Tn,Xn,nn.x,nn.y),Yt.vectorNormInverse=Ta,Ee={nodesOverlap:Yt.nodesOverlap,dirCounts:Yt.dirCounts,calculatedIntersection:!0,hasBezier:Yt.hasBezier,hasUnbundled:Yt.hasUnbundled,eles:Yt.eles,srcPos:qe,tgtPos:nn,srcW:lr,srcH:Sn,tgtW:Tn,tgtH:Xn,srcIntn:na,tgtIntn:gi,srcShape:pr,tgtShape:or,posPts:{x1:si.x2,y1:si.y2,x2:si.x1,y2:si.y1},intersectionPts:{x1:vi.x2,y1:vi.y2,x2:vi.x1,y2:vi.y1},vector:{x:-Es.x,y:-Es.y},vectorNorm:{x:-eo.x,y:-eo.y},vectorNormInverse:{x:-Ta.x,y:-Ta.y}}}var pa=mr?Ee:Yt;Cr.nodesOverlap=pa.nodesOverlap,Cr.srcIntn=pa.srcIntn,Cr.tgtIntn=pa.tgtIntn,L&&(ze.isParent()||ze.isChild()||me.isParent()||me.isChild())&&(ze.parents().anySame(me)||me.parents().anySame(ze)||ze.same(me)&&ze.isParent())?p.findCompoundLoopPoints(wr,pa,kr,cr):ze===me?p.findLoopPoints(wr,pa,kr,cr):$n==="segments"?p.findSegmentsPoints(wr,pa):$n==="taxi"?p.findTaxiPoints(wr,pa):$n==="straight"||!cr&&Yt.eles.length%2===1&&kr===Math.floor(Yt.eles.length/2)?p.findStraightEdgePoints(wr):p.findBezierPoints(wr,pa,kr,cr,mr),p.findEndpoints(wr),p.tryToCorrectInvalidPoints(wr,pa),p.checkForInvalidEdgeWarning(wr),p.storeAllpts(wr),p.storeEdgeProjections(wr),p.calculateArrowAngles(wr),p.recalculateEdgeLabelProjections(wr),p.calculateLabelAngles(wr)}},re=0;re<N.length;re++)qt(re);this.findHaystackPoints(j)}};function xj(y){var p=[];if(y!=null){for(var x=0;x<y.length;x+=2){var C=y[x],L=y[x+1];p.push({x:C,y:L})}return p}}Q1.getSegmentPoints=function(y){var p=y[0]._private.rscratch,x=p.edgeType;if(x==="segments")return this.recalculateRenderedStyle(y),xj(p.segpts)},Q1.getControlPoints=function(y){var p=y[0]._private.rscratch,x=p.edgeType;if(x==="bezier"||x==="multibezier"||x==="self"||x==="compound")return this.recalculateRenderedStyle(y),xj(p.ctrlpts)},Q1.getEdgeMidpoint=function(y){var p=y[0]._private.rscratch;return this.recalculateRenderedStyle(y),{x:p.midX,y:p.midY}};var eE={};eE.manualEndptToPx=function(y,p){var x=this,C=y.position(),L=y.outerWidth(),O=y.outerHeight();if(p.value.length===2){var N=[p.pfValue[0],p.pfValue[1]];return p.units[0]==="%"&&(N[0]=N[0]*L),p.units[1]==="%"&&(N[1]=N[1]*O),N[0]+=C.x,N[1]+=C.y,N}else{var j=p.pfValue[0];j=-Math.PI/2+j;var H=2*Math.max(L,O),q=[C.x+Math.cos(j)*H,C.y+Math.sin(j)*H];return x.nodeShapes[this.getNodeShape(y)].intersectLine(C.x,C.y,L,O,q[0],q[1],0)}},eE.findEndpoints=function(y){var p=this,x,C=y.source()[0],L=y.target()[0],O=C.position(),N=L.position(),j=y.pstyle("target-arrow-shape").value,H=y.pstyle("source-arrow-shape").value,q=y.pstyle("target-distance-from-node").pfValue,W=y.pstyle("source-distance-from-node").pfValue,Z=y.pstyle("curve-style").value,st=y._private.rscratch,bt=st.edgeType,pt=Z==="taxi",_t=bt==="self"||bt==="compound",St=bt==="bezier"||bt==="multibezier"||_t,Et=bt!=="bezier",Nt=bt==="straight"||bt==="segments",Pt=bt==="segments",qt=St||Et||Nt,re=_t||pt,ee=y.pstyle("source-endpoint"),Ut=re?"outside-to-node":ee.value,de=y.pstyle("target-endpoint"),Yt=re?"outside-to-node":de.value;st.srcManEndpt=ee,st.tgtManEndpt=de;var Ee,Te,ie,ze;if(St){var me=[st.ctrlpts[0],st.ctrlpts[1]],yn=Et?[st.ctrlpts[st.ctrlpts.length-2],st.ctrlpts[st.ctrlpts.length-1]]:me;Ee=yn,Te=me}else if(Nt){var nn=Pt?st.segpts.slice(0,2):[N.x,N.y],qe=Pt?st.segpts.slice(st.segpts.length-2):[O.x,O.y];Ee=qe,Te=nn}if(Yt==="inside-to-node")x=[N.x,N.y];else if(de.units)x=this.manualEndptToPx(L,de);else if(Yt==="outside-to-line")x=st.tgtIntn;else if(Yt==="outside-to-node"||Yt==="outside-to-node-or-label"?ie=Ee:(Yt==="outside-to-line"||Yt==="outside-to-line-or-label")&&(ie=[O.x,O.y]),x=p.nodeShapes[this.getNodeShape(L)].intersectLine(N.x,N.y,L.outerWidth(),L.outerHeight(),ie[0],ie[1],0),Yt==="outside-to-node-or-label"||Yt==="outside-to-line-or-label"){var Tn=L._private.rscratch,Xn=Tn.labelWidth,lr=Tn.labelHeight,Sn=Tn.labelX,or=Tn.labelY,pr=Xn/2,kr=lr/2,wr=L.pstyle("text-valign").value;wr==="top"?or-=kr:wr==="bottom"&&(or+=kr);var Cr=L.pstyle("text-halign").value;Cr==="left"?Sn-=pr:Cr==="right"&&(Sn+=pr);var $n=B8(ie[0],ie[1],[Sn-pr,or-kr,Sn+pr,or-kr,Sn+pr,or+kr,Sn-pr,or+kr],N.x,N.y);if($n.length>0){var cr=O,mr=m4(cr,Yx(x)),Sr=m4(cr,Yx($n)),gi=mr;if(Sr<mr&&(x=$n,gi=Sr),$n.length>2){var ss=m4(cr,{x:$n[2],y:$n[3]});ss<gi&&(x=[$n[2],$n[3]])}}}var na=tC(x,Ee,p.arrowShapes[j].spacing(y)+q),vi=tC(x,Ee,p.arrowShapes[j].gap(y)+q);if(st.endX=vi[0],st.endY=vi[1],st.arrowEndX=na[0],st.arrowEndY=na[1],Ut==="inside-to-node")x=[O.x,O.y];else if(ee.units)x=this.manualEndptToPx(C,ee);else if(Ut==="outside-to-line")x=st.srcIntn;else if(Ut==="outside-to-node"||Ut==="outside-to-node-or-label"?ze=Te:(Ut==="outside-to-line"||Ut==="outside-to-line-or-label")&&(ze=[N.x,N.y]),x=p.nodeShapes[this.getNodeShape(C)].intersectLine(O.x,O.y,C.outerWidth(),C.outerHeight(),ze[0],ze[1],0),Ut==="outside-to-node-or-label"||Ut==="outside-to-line-or-label"){var si=C._private.rscratch,Qi=si.labelWidth,ks=si.labelHeight,as=si.labelX,Es=si.labelY,eo=Qi/2,Ta=ks/2,pa=C.pstyle("text-valign").value;pa==="top"?Es-=Ta:pa==="bottom"&&(Es+=Ta);var mo=C.pstyle("text-halign").value;mo==="left"?as-=eo:mo==="right"&&(as+=eo);var Kn=B8(ze[0],ze[1],[as-eo,Es-Ta,as+eo,Es-Ta,as+eo,Es+Ta,as-eo,Es+Ta],O.x,O.y);if(Kn.length>0){var G=N,Vn=m4(G,Yx(x)),gr=m4(G,Yx(Kn)),nr=Vn;if(gr<Vn&&(x=[Kn[0],Kn[1]],nr=gr),Kn.length>2){var Be=m4(G,{x:Kn[2],y:Kn[3]});Be<nr&&(x=[Kn[2],Kn[3]])}}}var Ls=tC(x,Te,p.arrowShapes[H].spacing(y)+W),hr=tC(x,Te,p.arrowShapes[H].gap(y)+W);st.startX=hr[0],st.startY=hr[1],st.arrowStartX=Ls[0],st.arrowStartY=Ls[1],qt&&(!Q(st.startX)||!Q(st.startY)||!Q(st.endX)||!Q(st.endY)?st.badLine=!0:st.badLine=!1)},eE.getSourceEndpoint=function(y){var p=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),p.edgeType){case"haystack":return{x:p.haystackPts[0],y:p.haystackPts[1]};default:return{x:p.arrowStartX,y:p.arrowStartY}}},eE.getTargetEndpoint=function(y){var p=y[0]._private.rscratch;switch(this.recalculateRenderedStyle(y),p.edgeType){case"haystack":return{x:p.haystackPts[2],y:p.haystackPts[3]};default:return{x:p.arrowEndX,y:p.arrowEndY}}};var mM={};function kj(y,p,x){for(var C=function(q,W,Z,st){return Lf(q,W,Z,st)},L=p._private,O=L.rstyle.bezierPts,N=0;N<y.bezierProjPcts.length;N++){var j=y.bezierProjPcts[N];O.push({x:C(x[0],x[2],x[4],j),y:C(x[1],x[3],x[5],j)})}}mM.storeEdgeProjections=function(y){var p=y._private,x=p.rscratch,C=x.edgeType;if(p.rstyle.bezierPts=null,p.rstyle.linePts=null,p.rstyle.haystackPts=null,C==="multibezier"||C==="bezier"||C==="self"||C==="compound"){p.rstyle.bezierPts=[];for(var L=0;L+5<x.allpts.length;L+=4)kj(this,y,x.allpts.slice(L,L+6))}else if(C==="segments")for(var O=p.rstyle.linePts=[],L=0;L+1<x.allpts.length;L+=2)O.push({x:x.allpts[L],y:x.allpts[L+1]});else if(C==="haystack"){var N=x.haystackPts;p.rstyle.haystackPts=[{x:N[0],y:N[1]},{x:N[2],y:N[3]}]}p.rstyle.arrowWidth=this.getArrowWidth(y.pstyle("width").pfValue,y.pstyle("arrow-scale").value)*this.arrowShapeWidth},mM.recalculateEdgeProjections=function(y){this.findEdgeControlPoints(y)};var j2={};j2.recalculateNodeLabelProjection=function(y){var p=y.pstyle("label").strValue;if(!Ft(p)){var x,C,L=y._private,O=y.width(),N=y.height(),j=y.padding(),H=y.position(),q=y.pstyle("text-halign").strValue,W=y.pstyle("text-valign").strValue,Z=L.rscratch,st=L.rstyle;switch(q){case"left":x=H.x-O/2-j;break;case"right":x=H.x+O/2+j;break;default:x=H.x}switch(W){case"top":C=H.y-N/2-j;break;case"bottom":C=H.y+N/2+j;break;default:C=H.y}Z.labelX=x,Z.labelY=C,st.labelX=x,st.labelY=C,this.calculateLabelAngles(y),this.applyLabelDimensions(y)}};var Ej=function(p,x){var C=Math.atan(x/p);return p===0&&C<0&&(C=C*-1),C},DC=function(p,x){var C=x.x-p.x,L=x.y-p.y;return Ej(C,L)},Uet=function(p,x,C,L){var O=P8(0,L-.001,1),N=P8(0,L+.001,1),j=Xx(p,x,C,O),H=Xx(p,x,C,N);return DC(j,H)};j2.recalculateEdgeLabelProjections=function(y){var p,x=y._private,C=x.rscratch,L=this,O={mid:y.pstyle("label").strValue,source:y.pstyle("source-label").strValue,target:y.pstyle("target-label").strValue};if(O.mid||O.source||O.target){p={x:C.midX,y:C.midY};var N=function(Z,st,bt){cy(x.rscratch,Z,st,bt),cy(x.rstyle,Z,st,bt)};N("labelX",null,p.x),N("labelY",null,p.y);var j=Ej(C.midDispX,C.midDispY);N("labelAutoAngle",null,j);var H=function W(){if(W.cache)return W.cache;for(var Z=[],st=0;st+5<C.allpts.length;st+=4){var bt={x:C.allpts[st],y:C.allpts[st+1]},pt={x:C.allpts[st+2],y:C.allpts[st+3]},_t={x:C.allpts[st+4],y:C.allpts[st+5]};Z.push({p0:bt,p1:pt,p2:_t,startDist:0,length:0,segments:[]})}var St=x.rstyle.bezierPts,Et=L.bezierProjPcts.length;function Nt(Ut,de,Yt,Ee,Te){var ie=w4(de,Yt),ze=Ut.segments[Ut.segments.length-1],me={p0:de,p1:Yt,t0:Ee,t1:Te,startDist:ze?ze.startDist+ze.length:0,length:ie};Ut.segments.push(me),Ut.length+=ie}for(var Pt=0;Pt<Z.length;Pt++){var qt=Z[Pt],re=Z[Pt-1];re&&(qt.startDist=re.startDist+re.length),Nt(qt,qt.p0,St[Pt*Et],0,L.bezierProjPcts[0]);for(var ee=0;ee<Et-1;ee++)Nt(qt,St[Pt*Et+ee],St[Pt*Et+ee+1],L.bezierProjPcts[ee],L.bezierProjPcts[ee+1]);Nt(qt,St[Pt*Et+Et-1],qt.p2,L.bezierProjPcts[Et-1],1)}return W.cache=Z},q=function(Z){var st,bt=Z==="source";if(O[Z]){var pt=y.pstyle(Z+"-text-offset").pfValue;switch(C.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var _t=H(),St,Et=0,Nt=0,Pt=0;Pt<_t.length;Pt++){for(var qt=_t[bt?Pt:_t.length-1-Pt],re=0;re<qt.segments.length;re++){var ee=qt.segments[bt?re:qt.segments.length-1-re],Ut=Pt===_t.length-1&&re===qt.segments.length-1;if(Et=Nt,Nt+=ee.length,Nt>=pt||Ut){St={cp:qt,segment:ee};break}}if(St)break}var de=St.cp,Yt=St.segment,Ee=(pt-Et)/Yt.length,Te=Yt.t1-Yt.t0,ie=bt?Yt.t0+Te*Ee:Yt.t1-Te*Ee;ie=P8(0,ie,1),p=Xx(de.p0,de.p1,de.p2,ie),st=Uet(de.p0,de.p1,de.p2,ie);break}case"straight":case"segments":case"haystack":{for(var ze=0,me,yn,nn,qe,Tn=C.allpts.length,Xn=0;Xn+3<Tn&&(bt?(nn={x:C.allpts[Xn],y:C.allpts[Xn+1]},qe={x:C.allpts[Xn+2],y:C.allpts[Xn+3]}):(nn={x:C.allpts[Tn-2-Xn],y:C.allpts[Tn-1-Xn]},qe={x:C.allpts[Tn-4-Xn],y:C.allpts[Tn-3-Xn]}),me=w4(nn,qe),yn=ze,ze+=me,!(ze>=pt));Xn+=2);var lr=pt-yn,Sn=lr/me;Sn=P8(0,Sn,1),p=fQ(nn,qe,Sn),st=DC(nn,qe);break}}N("labelX",Z,p.x),N("labelY",Z,p.y),N("labelAutoAngle",Z,st)}};q("source"),q("target"),this.applyLabelDimensions(y)}},j2.applyLabelDimensions=function(y){this.applyPrefixedLabelDimensions(y),y.isEdge()&&(this.applyPrefixedLabelDimensions(y,"source"),this.applyPrefixedLabelDimensions(y,"target"))},j2.applyPrefixedLabelDimensions=function(y,p){var x=y._private,C=this.getLabelText(y,p),L=this.calculateLabelDimensions(y,C),O=y.pstyle("line-height").pfValue,N=y.pstyle("text-wrap").strValue,j=fb(x.rscratch,"labelWrapCachedLines",p)||[],H=N!=="wrap"?1:Math.max(j.length,1),q=L.height/H,W=q*O,Z=L.width,st=L.height+(H-1)*(O-1)*q;cy(x.rstyle,"labelWidth",p,Z),cy(x.rscratch,"labelWidth",p,Z),cy(x.rstyle,"labelHeight",p,st),cy(x.rscratch,"labelHeight",p,st),cy(x.rscratch,"labelLineHeight",p,W)},j2.getLabelText=function(y,p){var x=y._private,C=p?p+"-":"",L=y.pstyle(C+"label").strValue,O=y.pstyle("text-transform").value,N=function(lr,Sn){return Sn?(cy(x.rscratch,lr,p,Sn),Sn):fb(x.rscratch,lr,p)};if(!L)return"";O=="none"||(O=="uppercase"?L=L.toUpperCase():O=="lowercase"&&(L=L.toLowerCase()));var j=y.pstyle("text-wrap").value;if(j==="wrap"){var H=N("labelKey");if(H!=null&&N("labelWrapKey")===H)return N("labelWrapCachedText");for(var q="​",W=L.split(`
1547 `),Et=0;Et<St.length;Et++){var Nt=St[Et],Pt=st.measureText(Nt),qt=Math.ceil(Pt.width),re=H;pt=Math.max(qt,pt),_t+=re}return pt+=N,_t+=N,L[C]={width:pt,height:_t}},j2.calculateLabelAngle=function(y,p){var x=y._private,C=x.rscratch,L=y.isEdge(),O=p?p+"-":"",N=y.pstyle(O+"text-rotation"),j=N.strValue;return j==="none"?0:L&&j==="autorotate"?C.labelAutoAngle:j==="autorotate"?0:N.pfValue},j2.calculateLabelAngles=function(y){var p=this,x=y.isEdge(),C=y._private,L=C.rscratch;L.labelAngle=p.calculateLabelAngle(y),x&&(L.sourceLabelAngle=p.calculateLabelAngle(y,"source"),L.targetLabelAngle=p.calculateLabelAngle(y,"target"))};var Tj={},Cj=28,Sj=!1;Tj.getNodeShape=function(y){var p=this,x=y.pstyle("shape").value;if(x==="cutrectangle"&&(y.width()<Cj||y.height()<Cj))return Sj||(Gc("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Sj=!0),"rectangle";if(y.isParent())return x==="rectangle"||x==="roundrectangle"||x==="round-rectangle"||x==="cutrectangle"||x==="cut-rectangle"||x==="barrel"?x:"rectangle";if(x==="polygon"){var C=y.pstyle("shape-polygon-points").value;return p.nodeShapes.makePolygon(C).name}return x};var MC={};MC.registerCalculationListeners=function(){var y=this.cy,p=y.collection(),x=this,C=function(N){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(p.merge(N),j)for(var H=0;H<N.length;H++){var q=N[H],W=q._private,Z=W.rstyle;Z.clean=!1,Z.cleanConnected=!1}};x.binder(y).on("bounds.* dirty.*",function(N){var j=N.target;C(j)}).on("style.* background.*",function(N){var j=N.target;C(j,!1)});var L=function(N){if(N){var j=x.onUpdateEleCalcsFns;p.cleanStyle();for(var H=0;H<p.length;H++){var q=p[H],W=q._private.rstyle;q.isNode()&&!W.cleanConnected&&(C(q.connectedEdges()),W.cleanConnected=!0)}if(j)for(var Z=0;Z<j.length;Z++){var st=j[Z];st(N,p)}x.recalculateRenderedStyle(p),p=y.collection()}};x.flushRenderedStyleQueue=function(){L(!0)},x.beforeRender(L,x.beforeRenderPriorities.eleCalcs)},MC.onUpdateEleCalcs=function(y){var p=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];p.push(y)},MC.recalculateRenderedStyle=function(y,p){var x=function(qt){return qt._private.rstyle.cleanConnected},C=[],L=[];if(!this.destroyed){p===void 0&&(p=!0);for(var O=0;O<y.length;O++){var N=y[O],j=N._private,H=j.rstyle;N.isEdge()&&(!x(N.source())||!x(N.target()))&&(H.clean=!1),!(p&&H.clean||N.removed())&&N.pstyle("display").value!=="none"&&(j.group==="nodes"?L.push(N):C.push(N),H.clean=!0)}for(var q=0;q<L.length;q++){var W=L[q],Z=W._private,st=Z.rstyle,bt=W.position();this.recalculateNodeLabelProjection(W),st.nodeX=bt.x,st.nodeY=bt.y,st.nodeW=W.pstyle("width").pfValue,st.nodeH=W.pstyle("height").pfValue}this.recalculateEdgeProjections(C);for(var pt=0;pt<C.length;pt++){var _t=C[pt],St=_t._private,Et=St.rstyle,Nt=St.rscratch;Et.srcX=Nt.arrowStartX,Et.srcY=Nt.arrowStartY,Et.tgtX=Nt.arrowEndX,Et.tgtY=Nt.arrowEndY,Et.midX=Nt.midX,Et.midY=Nt.midY,Et.labelAngle=Nt.labelAngle,Et.sourceLabelAngle=Nt.sourceLabelAngle,Et.targetLabelAngle=Nt.targetLabelAngle}}};var IC={};IC.updateCachedGrabbedEles=function(){var y=this.cachedZSortedEles;if(y){y.drag=[],y.nondrag=[];for(var p=[],x=0;x<y.length;x++){var C=y[x],L=C._private.rscratch;C.grabbed()&&!C.isParent()?p.push(C):L.inDragLayer?y.drag.push(C):y.nondrag.push(C)}for(var x=0;x<p.length;x++){var C=p[x];y.drag.push(C)}}},IC.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},IC.getCachedZSortedEles=function(y){if(y||!this.cachedZSortedEles){var p=this.cy.mutableElements().toArray();p.sort(cM),p.interactive=p.filter(function(x){return x.interactive()}),this.cachedZSortedEles=p,this.updateCachedGrabbedEles()}else p=this.cachedZSortedEles;return p};var _j={};[C4,LC,Q1,eE,mM,j2,Tj,MC,IC].forEach(function(y){we(_j,y)});var Aj={};Aj.getCachedImage=function(y,p,x){var C=this,L=C.imageCache=C.imageCache||{},O=L[y];if(O)return O.image.complete||O.image.addEventListener("load",x),O.image;O=L[y]=L[y]||{};var N=O.image=new Image;N.addEventListener("load",x),N.addEventListener("error",function(){N.error=!0});var j="data:",H=y.substring(0,j.length).toLowerCase()===j;return H||(p=p==="null"?null:p,N.crossOrigin=p),N.src=y,N};var d6={};d6.registerBinding=function(y,p,x,C){var L=Array.prototype.slice.apply(arguments,[1]),O=this.binder(y);return O.on.apply(O,L)},d6.binder=function(y){var p=this,x=p.cy.window(),C=y===x||y===x.document||y===x.document.body||Ct(y);if(p.supportsPassiveEvents==null){var L=!1;try{var O=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});x.addEventListener("test",null,O)}catch{}p.supportsPassiveEvents=L}var N=function(H,q,W){var Z=Array.prototype.slice.call(arguments);return C&&p.supportsPassiveEvents&&(Z[2]={capture:W??!1,passive:!1,once:!1}),p.bindings.push({target:y,args:Z}),(y.addEventListener||y.on).apply(y,Z),this};return{on:N,addEventListener:N,addListener:N,bind:N}},d6.nodeIsDraggable=function(y){return y&&y.isNode()&&!y.locked()&&y.grabbable()},d6.nodeIsGrabbable=function(y){return this.nodeIsDraggable(y)&&y.interactive()},d6.load=function(){var y=this,p=y.cy.window(),x=function(G){return G.selected()},C=function(G,Vn,gr,nr){G==null&&(G=y.cy);for(var Be=0;Be<Vn.length;Be++){var Ls=Vn[Be];G.emit({originalEvent:gr,type:Ls,position:nr})}},L=function(G){return G.shiftKey||G.metaKey||G.ctrlKey},O=function(G,Vn){var gr=!0;if(y.cy.hasCompoundNodes()&&G&&G.pannable())for(var nr=0;Vn&&nr<Vn.length;nr++){var G=Vn[nr];if(G.isNode()&&G.isParent()&&!G.pannable()){gr=!1;break}}else gr=!0;return gr},N=function(G){G[0]._private.grabbed=!0},j=function(G){G[0]._private.grabbed=!1},H=function(G){G[0]._private.rscratch.inDragLayer=!0},q=function(G){G[0]._private.rscratch.inDragLayer=!1},W=function(G){G[0]._private.rscratch.isGrabTarget=!0},Z=function(G){G[0]._private.rscratch.isGrabTarget=!1},st=function(G,Vn){var gr=Vn.addToList,nr=gr.has(G);!nr&&G.grabbable()&&!G.locked()&&(gr.merge(G),N(G))},bt=function(G,Vn){if(G.cy().hasCompoundNodes()&&!(Vn.inDragLayer==null&&Vn.addToList==null)){var gr=G.descendants();Vn.inDragLayer&&(gr.forEach(H),gr.connectedEdges().forEach(H)),Vn.addToList&&st(gr,Vn)}},pt=function(G,Vn){Vn=Vn||{};var gr=G.cy().hasCompoundNodes();Vn.inDragLayer&&(G.forEach(H),G.neighborhood().stdFilter(function(nr){return!gr||nr.isEdge()}).forEach(H)),Vn.addToList&&G.forEach(function(nr){st(nr,Vn)}),bt(G,Vn),Et(G,{inDragLayer:Vn.inDragLayer}),y.updateCachedGrabbedEles()},_t=pt,St=function(G){G&&(y.getCachedZSortedEles().forEach(function(Vn){j(Vn),q(Vn),Z(Vn)}),y.updateCachedGrabbedEles())},Et=function(G,Vn){if(!(Vn.inDragLayer==null&&Vn.addToList==null)&&G.cy().hasCompoundNodes()){var gr=G.ancestors().orphans();if(!gr.same(G)){var nr=gr.descendants().spawnSelf().merge(gr).unmerge(G).unmerge(G.descendants()),Be=nr.connectedEdges();Vn.inDragLayer&&(Be.forEach(H),nr.forEach(H)),Vn.addToList&&nr.forEach(function(Ls){st(Ls,Vn)})}}},Nt=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},Pt=typeof MutationObserver<"u",qt=typeof ResizeObserver<"u";Pt?(y.removeObserver=new MutationObserver(function(Kn){for(var G=0;G<Kn.length;G++){var Vn=Kn[G],gr=Vn.removedNodes;if(gr)for(var nr=0;nr<gr.length;nr++){var Be=gr[nr];if(Be===y.container){y.destroy();break}}}}),y.container.parentNode&&y.removeObserver.observe(y.container.parentNode,{childList:!0})):y.registerBinding(y.container,"DOMNodeRemoved",function(Kn){y.destroy()});var re=pu(function(){y.cy.resize()},100);Pt&&(y.styleObserver=new MutationObserver(re),y.styleObserver.observe(y.container,{attributes:!0})),y.registerBinding(p,"resize",re),qt&&(y.resizeObserver=new ResizeObserver(re),y.resizeObserver.observe(y.container));var ee=function(G,Vn){for(;G!=null;)Vn(G),G=G.parentNode},Ut=function(){y.invalidateContainerClientCoordsCache()};ee(y.container,function(Kn){y.registerBinding(Kn,"transitionend",Ut),y.registerBinding(Kn,"animationend",Ut),y.registerBinding(Kn,"scroll",Ut)}),y.registerBinding(y.container,"contextmenu",function(Kn){Kn.preventDefault()});var de=function(){return y.selection[4]!==0},Yt=function(G){for(var Vn=y.findContainerClientCoords(),gr=Vn[0],nr=Vn[1],Be=Vn[2],Ls=Vn[3],hr=G.touches?G.touches:[G],us=!1,Ya=0;Ya<hr.length;Ya++){var kc=hr[Ya];if(gr<=kc.clientX&&kc.clientX<=gr+Be&&nr<=kc.clientY&&kc.clientY<=nr+Ls){us=!0;break}}if(!us)return!1;for(var Ca=y.container,oc=G.target,ra=oc.parentNode,no=!1;ra;){if(ra===Ca){no=!0;break}ra=ra.parentNode}return!!no};y.registerBinding(y.container,"mousedown",function(G){if(Yt(G)){G.preventDefault(),Nt(),y.hoverData.capture=!0,y.hoverData.which=G.which;var Vn=y.cy,gr=[G.clientX,G.clientY],nr=y.projectIntoViewport(gr[0],gr[1]),Be=y.selection,Ls=y.findNearestElements(nr[0],nr[1],!0,!1),hr=Ls[0],us=y.dragData.possibleDragElements;y.hoverData.mdownPos=nr,y.hoverData.mdownGPos=gr;var Ya=function(){y.hoverData.tapholdCancelled=!1,clearTimeout(y.hoverData.tapholdTimeout),y.hoverData.tapholdTimeout=setTimeout(function(){if(!y.hoverData.tapholdCancelled){var ql=y.hoverData.down;ql?ql.emit({originalEvent:G,type:"taphold",position:{x:nr[0],y:nr[1]}}):Vn.emit({originalEvent:G,type:"taphold",position:{x:nr[0],y:nr[1]}})}},y.tapholdDuration)};if(G.which==3){y.hoverData.cxtStarted=!0;var kc={originalEvent:G,type:"cxttapstart",position:{x:nr[0],y:nr[1]}};hr?(hr.activate(),hr.emit(kc),y.hoverData.down=hr):Vn.emit(kc),y.hoverData.downTime=new Date().getTime(),y.hoverData.cxtDragged=!1}else if(G.which==1){hr&&hr.activate();{if(hr!=null&&y.nodeIsGrabbable(hr)){var Ca=function(ql){return{originalEvent:G,type:ql,position:{x:nr[0],y:nr[1]}}},oc=function(ql){ql.emit(Ca("grab"))};if(W(hr),!hr.selected())us=y.dragData.possibleDragElements=Vn.collection(),_t(hr,{addToList:us}),hr.emit(Ca("grabon")).emit(Ca("grab"));else{us=y.dragData.possibleDragElements=Vn.collection();var ra=Vn.$(function(no){return no.isNode()&&no.selected()&&y.nodeIsGrabbable(no)});pt(ra,{addToList:us}),hr.emit(Ca("grabon")),ra.forEach(oc)}y.redrawHint("eles",!0),y.redrawHint("drag",!0)}y.hoverData.down=hr,y.hoverData.downs=Ls,y.hoverData.downTime=new Date().getTime()}C(hr,["mousedown","tapstart","vmousedown"],G,{x:nr[0],y:nr[1]}),hr==null?(Be[4]=1,y.data.bgActivePosistion={x:nr[0],y:nr[1]},y.redrawHint("select",!0),y.redraw()):hr.pannable()&&(Be[4]=1),Ya()}Be[0]=Be[2]=nr[0],Be[1]=Be[3]=nr[1]}},!1),y.registerBinding(p,"mousemove",function(G){var Vn=y.hoverData.capture;if(!(!Vn&&!Yt(G))){var gr=!1,nr=y.cy,Be=nr.zoom(),Ls=[G.clientX,G.clientY],hr=y.projectIntoViewport(Ls[0],Ls[1]),us=y.hoverData.mdownPos,Ya=y.hoverData.mdownGPos,kc=y.selection,Ca=null;!y.hoverData.draggingEles&&!y.hoverData.dragging&&!y.hoverData.selecting&&(Ca=y.findNearestElement(hr[0],hr[1],!0,!1));var oc=y.hoverData.last,ra=y.hoverData.down,no=[hr[0]-kc[2],hr[1]-kc[3]],ql=y.dragData.possibleDragElements,Sl;if(Ya){var mb=Ls[0]-Ya[0],vb=mb*mb,v1=Ls[1]-Ya[1],up=v1*v1,Bd=vb+up;y.hoverData.isOverThresholdDrag=Sl=Bd>=y.desktopTapThreshold2}var cm=L(G);Sl&&(y.hoverData.tapholdCancelled=!0);var py=function(){var $2=y.hoverData.dragDelta=y.hoverData.dragDelta||[];$2.length===0?($2.push(no[0]),$2.push(no[1])):($2[0]+=no[0],$2[1]+=no[1])};gr=!0,C(Ca,["mousemove","vmousemove","tapdrag"],G,{x:hr[0],y:hr[1]});var y6=function(){y.data.bgActivePosistion=void 0,y.hoverData.selecting||nr.emit({originalEvent:G,type:"boxstart",position:{x:hr[0],y:hr[1]}}),kc[4]=1,y.hoverData.selecting=!0,y.redrawHint("select",!0),y.redraw()};if(y.hoverData.which===3){if(Sl){var _4={originalEvent:G,type:"cxtdrag",position:{x:hr[0],y:hr[1]}};ra?ra.emit(_4):nr.emit(_4),y.hoverData.cxtDragged=!0,(!y.hoverData.cxtOver||Ca!==y.hoverData.cxtOver)&&(y.hoverData.cxtOver&&y.hoverData.cxtOver.emit({originalEvent:G,type:"cxtdragout",position:{x:hr[0],y:hr[1]}}),y.hoverData.cxtOver=Ca,Ca&&Ca.emit({originalEvent:G,type:"cxtdragover",position:{x:hr[0],y:hr[1]}}))}}else if(y.hoverData.dragging){if(gr=!0,nr.panningEnabled()&&nr.userPanningEnabled()){var x6;if(y.hoverData.justStartedPan){var BC=y.hoverData.mdownPos;x6={x:(hr[0]-BC[0])*Be,y:(hr[1]-BC[1])*Be},y.hoverData.justStartedPan=!1}else x6={x:no[0]*Be,y:no[1]*Be};nr.panBy(x6),nr.emit("dragpan"),y.hoverData.dragged=!0}hr=y.projectIntoViewport(G.clientX,G.clientY)}else if(kc[4]==1&&(ra==null||ra.pannable())){if(Sl){if(!y.hoverData.dragging&&nr.boxSelectionEnabled()&&(cm||!nr.panningEnabled()||!nr.userPanningEnabled()))y6();else if(!y.hoverData.selecting&&nr.panningEnabled()&&nr.userPanningEnabled()){var A4=O(ra,y.hoverData.downs);A4&&(y.hoverData.dragging=!0,y.hoverData.justStartedPan=!0,kc[4]=0,y.data.bgActivePosistion=Yx(us),y.redrawHint("select",!0),y.redraw())}ra&&ra.pannable()&&ra.active()&&ra.unactivate()}}else{if(ra&&ra.pannable()&&ra.active()&&ra.unactivate(),(!ra||!ra.grabbed())&&Ca!=oc&&(oc&&C(oc,["mouseout","tapdragout"],G,{x:hr[0],y:hr[1]}),Ca&&C(Ca,["mouseover","tapdragover"],G,{x:hr[0],y:hr[1]}),y.hoverData.last=Ca),ra)if(Sl){if(nr.boxSelectionEnabled()&&cm)ra&&ra.grabbed()&&(St(ql),ra.emit("freeon"),ql.emit("free"),y.dragData.didDrag&&(ra.emit("dragfreeon"),ql.emit("dragfree"))),y6();else if(ra&&ra.grabbed()&&y.nodeIsDraggable(ra)){var k0=!y.dragData.didDrag;k0&&y.redrawHint("eles",!0),y.dragData.didDrag=!0,y.hoverData.draggingEles||pt(ql,{inDragLayer:!0});var J1={x:0,y:0};if(Q(no[0])&&Q(no[1])&&(J1.x+=no[0],J1.y+=no[1],k0)){var E0=y.hoverData.dragDelta;E0&&Q(E0[0])&&Q(E0[1])&&(J1.x+=E0[0],J1.y+=E0[1])}y.hoverData.draggingEles=!0,ql.silentShift(J1).emit("position drag"),y.redrawHint("drag",!0),y.redraw()}}else py();gr=!0}if(kc[2]=hr[0],kc[3]=hr[1],gr)return G.stopPropagation&&G.stopPropagation(),G.preventDefault&&G.preventDefault(),!1}},!1);var Ee,Te,ie;y.registerBinding(p,"mouseup",function(G){var Vn=y.hoverData.capture;if(Vn){y.hoverData.capture=!1;var gr=y.cy,nr=y.projectIntoViewport(G.clientX,G.clientY),Be=y.selection,Ls=y.findNearestElement(nr[0],nr[1],!0,!1),hr=y.dragData.possibleDragElements,us=y.hoverData.down,Ya=L(G);if(y.data.bgActivePosistion&&(y.redrawHint("select",!0),y.redraw()),y.hoverData.tapholdCancelled=!0,y.data.bgActivePosistion=void 0,us&&us.unactivate(),y.hoverData.which===3){var kc={originalEvent:G,type:"cxttapend",position:{x:nr[0],y:nr[1]}};if(us?us.emit(kc):gr.emit(kc),!y.hoverData.cxtDragged){var Ca={originalEvent:G,type:"cxttap",position:{x:nr[0],y:nr[1]}};us?us.emit(Ca):gr.emit(Ca)}y.hoverData.cxtDragged=!1,y.hoverData.which=null}else if(y.hoverData.which===1){if(C(Ls,["mouseup","tapend","vmouseup"],G,{x:nr[0],y:nr[1]}),!y.dragData.didDrag&&!y.hoverData.dragged&&!y.hoverData.selecting&&!y.hoverData.isOverThresholdDrag&&(C(us,["click","tap","vclick"],G,{x:nr[0],y:nr[1]}),Te=!1,G.timeStamp-ie<=gr.multiClickDebounceTime()?(Ee&&clearTimeout(Ee),Te=!0,ie=null,C(us,["dblclick","dbltap","vdblclick"],G,{x:nr[0],y:nr[1]})):(Ee=setTimeout(function(){Te||C(us,["oneclick","onetap","voneclick"],G,{x:nr[0],y:nr[1]})},gr.multiClickDebounceTime()),ie=G.timeStamp)),us==null&&!y.dragData.didDrag&&!y.hoverData.selecting&&!y.hoverData.dragged&&!L(G)&&(gr.$(x).unselect(["tapunselect"]),hr.length>0&&y.redrawHint("eles",!0),y.dragData.possibleDragElements=hr=gr.collection()),Ls==us&&!y.dragData.didDrag&&!y.hoverData.selecting&&Ls!=null&&Ls._private.selectable&&(y.hoverData.dragging||(gr.selectionType()==="additive"||Ya?Ls.selected()?Ls.unselect(["tapunselect"]):Ls.select(["tapselect"]):Ya||(gr.$(x).unmerge(Ls).unselect(["tapunselect"]),Ls.select(["tapselect"]))),y.redrawHint("eles",!0)),y.hoverData.selecting){var oc=gr.collection(y.getAllInBox(Be[0],Be[1],Be[2],Be[3]));y.redrawHint("select",!0),oc.length>0&&y.redrawHint("eles",!0),gr.emit({type:"boxend",originalEvent:G,position:{x:nr[0],y:nr[1]}});var ra=function(Sl){return Sl.selectable()&&!Sl.selected()};gr.selectionType()==="additive"||Ya||gr.$(x).unmerge(oc).unselect(),oc.emit("box").stdFilter(ra).select().emit("boxselect"),y.redraw()}if(y.hoverData.dragging&&(y.hoverData.dragging=!1,y.redrawHint("select",!0),y.redrawHint("eles",!0),y.redraw()),!Be[4]){y.redrawHint("drag",!0),y.redrawHint("eles",!0);var no=us&&us.grabbed();St(hr),no&&(us.emit("freeon"),hr.emit("free"),y.dragData.didDrag&&(us.emit("dragfreeon"),hr.emit("dragfree")))}}Be[4]=0,y.hoverData.down=null,y.hoverData.cxtStarted=!1,y.hoverData.draggingEles=!1,y.hoverData.selecting=!1,y.hoverData.isOverThresholdDrag=!1,y.dragData.didDrag=!1,y.hoverData.dragged=!1,y.hoverData.dragDelta=[],y.hoverData.mdownPos=null,y.hoverData.mdownGPos=null}},!1);var ze=function(G){if(!y.scrollingPage){var Vn=y.cy,gr=Vn.zoom(),nr=Vn.pan(),Be=y.projectIntoViewport(G.clientX,G.clientY),Ls=[Be[0]*gr+nr.x,Be[1]*gr+nr.y];if(y.hoverData.draggingEles||y.hoverData.dragging||y.hoverData.cxtStarted||de()){G.preventDefault();return}if(Vn.panningEnabled()&&Vn.userPanningEnabled()&&Vn.zoomingEnabled()&&Vn.userZoomingEnabled()){G.preventDefault(),y.data.wheelZooming=!0,clearTimeout(y.data.wheelTimeout),y.data.wheelTimeout=setTimeout(function(){y.data.wheelZooming=!1,y.redrawHint("eles",!0),y.redraw()},150);var hr;G.deltaY!=null?hr=G.deltaY/-250:G.wheelDeltaY!=null?hr=G.wheelDeltaY/1e3:hr=G.wheelDelta/1e3,hr=hr*y.wheelSensitivity;var us=G.deltaMode===1;us&&(hr*=33);var Ya=Vn.zoom()*Math.pow(10,hr);G.type==="gesturechange"&&(Ya=y.gestureStartZoom*G.scale),Vn.zoom({level:Ya,renderedPosition:{x:Ls[0],y:Ls[1]}}),Vn.emit(G.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};y.registerBinding(y.container,"wheel",ze,!0),y.registerBinding(p,"scroll",function(G){y.scrollingPage=!0,clearTimeout(y.scrollingPageTimeout),y.scrollingPageTimeout=setTimeout(function(){y.scrollingPage=!1},250)},!0),y.registerBinding(y.container,"gesturestart",function(G){y.gestureStartZoom=y.cy.zoom(),y.hasTouchStarted||G.preventDefault()},!0),y.registerBinding(y.container,"gesturechange",function(Kn){y.hasTouchStarted||ze(Kn)},!0),y.registerBinding(y.container,"mouseout",function(G){var Vn=y.projectIntoViewport(G.clientX,G.clientY);y.cy.emit({originalEvent:G,type:"mouseout",position:{x:Vn[0],y:Vn[1]}})},!1),y.registerBinding(y.container,"mouseover",function(G){var Vn=y.projectIntoViewport(G.clientX,G.clientY);y.cy.emit({originalEvent:G,type:"mouseover",position:{x:Vn[0],y:Vn[1]}})},!1);var me,yn,nn,qe,Tn,Xn,lr,Sn,or,pr,kr,wr,Cr,$n=function(G,Vn,gr,nr){return Math.sqrt((gr-G)*(gr-G)+(nr-Vn)*(nr-Vn))},cr=function(G,Vn,gr,nr){return(gr-G)*(gr-G)+(nr-Vn)*(nr-Vn)},mr;y.registerBinding(y.container,"touchstart",mr=function(G){if(y.hasTouchStarted=!0,!!Yt(G)){Nt(),y.touchData.capture=!0,y.data.bgActivePosistion=void 0;var Vn=y.cy,gr=y.touchData.now,nr=y.touchData.earlier;if(G.touches[0]){var Be=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);gr[0]=Be[0],gr[1]=Be[1]}if(G.touches[1]){var Be=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);gr[2]=Be[0],gr[3]=Be[1]}if(G.touches[2]){var Be=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);gr[4]=Be[0],gr[5]=Be[1]}if(G.touches[1]){y.touchData.singleTouchMoved=!0,St(y.dragData.touchDragEles);var Ls=y.findContainerClientCoords();or=Ls[0],pr=Ls[1],kr=Ls[2],wr=Ls[3],me=G.touches[0].clientX-or,yn=G.touches[0].clientY-pr,nn=G.touches[1].clientX-or,qe=G.touches[1].clientY-pr,Cr=0<=me&&me<=kr&&0<=nn&&nn<=kr&&0<=yn&&yn<=wr&&0<=qe&&qe<=wr;var hr=Vn.pan(),us=Vn.zoom();Tn=$n(me,yn,nn,qe),Xn=cr(me,yn,nn,qe),lr=[(me+nn)/2,(yn+qe)/2],Sn=[(lr[0]-hr.x)/us,(lr[1]-hr.y)/us];var Ya=200,kc=Ya*Ya;if(Xn<kc&&!G.touches[2]){var Ca=y.findNearestElement(gr[0],gr[1],!0,!0),oc=y.findNearestElement(gr[2],gr[3],!0,!0);Ca&&Ca.isNode()?(Ca.activate().emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start=Ca):oc&&oc.isNode()?(oc.activate().emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start=oc):Vn.emit({originalEvent:G,type:"cxttapstart",position:{x:gr[0],y:gr[1]}}),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!0,y.touchData.cxtDragged=!1,y.data.bgActivePosistion=void 0,y.redraw();return}}if(G.touches[2])Vn.boxSelectionEnabled()&&G.preventDefault();else if(!G.touches[1]){if(G.touches[0]){var ra=y.findNearestElements(gr[0],gr[1],!0,!0),no=ra[0];if(no!=null&&(no.activate(),y.touchData.start=no,y.touchData.starts=ra,y.nodeIsGrabbable(no))){var ql=y.dragData.touchDragEles=Vn.collection(),Sl=null;y.redrawHint("eles",!0),y.redrawHint("drag",!0),no.selected()?(Sl=Vn.$(function(Bd){return Bd.selected()&&y.nodeIsGrabbable(Bd)}),pt(Sl,{addToList:ql})):_t(no,{addToList:ql}),W(no);var mb=function(cm){return{originalEvent:G,type:cm,position:{x:gr[0],y:gr[1]}}};no.emit(mb("grabon")),Sl?Sl.forEach(function(Bd){Bd.emit(mb("grab"))}):no.emit(mb("grab"))}C(no,["touchstart","tapstart","vmousedown"],G,{x:gr[0],y:gr[1]}),no==null&&(y.data.bgActivePosistion={x:Be[0],y:Be[1]},y.redrawHint("select",!0),y.redraw()),y.touchData.singleTouchMoved=!1,y.touchData.singleTouchStartTime=+new Date,clearTimeout(y.touchData.tapholdTimeout),y.touchData.tapholdTimeout=setTimeout(function(){y.touchData.singleTouchMoved===!1&&!y.pinching&&!y.touchData.selecting&&C(y.touchData.start,["taphold"],G,{x:gr[0],y:gr[1]})},y.tapholdDuration)}}if(G.touches.length>=1){for(var vb=y.touchData.startPosition=[null,null,null,null,null,null],v1=0;v1<gr.length;v1++)vb[v1]=nr[v1]=gr[v1];var up=G.touches[0];y.touchData.startGPosition=[up.clientX,up.clientY]}}},!1);var Sr;y.registerBinding(window,"touchmove",Sr=function(G){var Vn=y.touchData.capture;if(!(!Vn&&!Yt(G))){var gr=y.selection,nr=y.cy,Be=y.touchData.now,Ls=y.touchData.earlier,hr=nr.zoom();if(G.touches[0]){var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}if(G.touches[1]){var us=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);Be[2]=us[0],Be[3]=us[1]}if(G.touches[2]){var us=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);Be[4]=us[0],Be[5]=us[1]}var Ya=y.touchData.startGPosition,kc;if(Vn&&G.touches[0]&&Ya){for(var Ca=[],oc=0;oc<Be.length;oc++)Ca[oc]=Be[oc]-Ls[oc];var ra=G.touches[0].clientX-Ya[0],no=ra*ra,ql=G.touches[0].clientY-Ya[1],Sl=ql*ql,mb=no+Sl;kc=mb>=y.touchTapThreshold2}if(Vn&&y.touchData.cxt){G.preventDefault();var vb=G.touches[0].clientX-or,v1=G.touches[0].clientY-pr,up=G.touches[1].clientX-or,Bd=G.touches[1].clientY-pr,cm=cr(vb,v1,up,Bd),py=cm/Xn,y6=150,_4=y6*y6,x6=1.5,BC=x6*x6;if(py>=BC||cm>=_4){y.touchData.cxt=!1,y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var A4={originalEvent:G,type:"cxttapend",position:{x:Be[0],y:Be[1]}};y.touchData.start?(y.touchData.start.unactivate().emit(A4),y.touchData.start=null):nr.emit(A4)}}if(Vn&&y.touchData.cxt){var A4={originalEvent:G,type:"cxtdrag",position:{x:Be[0],y:Be[1]}};y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.touchData.start?y.touchData.start.emit(A4):nr.emit(A4),y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxtDragged=!0;var k0=y.findNearestElement(Be[0],Be[1],!0,!0);(!y.touchData.cxtOver||k0!==y.touchData.cxtOver)&&(y.touchData.cxtOver&&y.touchData.cxtOver.emit({originalEvent:G,type:"cxtdragout",position:{x:Be[0],y:Be[1]}}),y.touchData.cxtOver=k0,k0&&k0.emit({originalEvent:G,type:"cxtdragover",position:{x:Be[0],y:Be[1]}}))}else if(Vn&&G.touches[2]&&nr.boxSelectionEnabled())G.preventDefault(),y.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,y.touchData.selecting||nr.emit({originalEvent:G,type:"boxstart",position:{x:Be[0],y:Be[1]}}),y.touchData.selecting=!0,y.touchData.didSelect=!0,gr[4]=1,!gr||gr.length===0||gr[0]===void 0?(gr[0]=(Be[0]+Be[2]+Be[4])/3,gr[1]=(Be[1]+Be[3]+Be[5])/3,gr[2]=(Be[0]+Be[2]+Be[4])/3+1,gr[3]=(Be[1]+Be[3]+Be[5])/3+1):(gr[2]=(Be[0]+Be[2]+Be[4])/3,gr[3]=(Be[1]+Be[3]+Be[5])/3),y.redrawHint("select",!0),y.redraw();else if(Vn&&G.touches[1]&&!y.touchData.didSelect&&nr.zoomingEnabled()&&nr.panningEnabled()&&nr.userZoomingEnabled()&&nr.userPanningEnabled()){G.preventDefault(),y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var J1=y.dragData.touchDragEles;if(J1){y.redrawHint("drag",!0);for(var E0=0;E0<J1.length;E0++){var by=J1[E0]._private;by.grabbed=!1,by.rscratch.inDragLayer=!1}}var $2=y.touchData.start,vb=G.touches[0].clientX-or,v1=G.touches[0].clientY-pr,up=G.touches[1].clientX-or,Bd=G.touches[1].clientY-pr,Zj=$n(vb,v1,up,Bd),Mnt=Zj/Tn;if(Cr){var Int=vb-me,RC=v1-yn,Ont=up-nn,Nnt=Bd-qe,L4=(Int+Ont)/2,t$=(RC+Nnt)/2,lE=nr.zoom(),SM=lE*Mnt,jC=nr.pan(),e$=Sn[0]*lE+jC.x,n$=Sn[1]*lE+jC.y,Pnt={x:-SM/lE*(e$-jC.x-L4)+e$,y:-SM/lE*(n$-jC.y-t$)+n$};if($2&&$2.active()){var J1=y.dragData.touchDragEles;St(J1),y.redrawHint("drag",!0),y.redrawHint("eles",!0),$2.unactivate().emit("freeon"),J1.emit("free"),y.dragData.didDrag&&($2.emit("dragfreeon"),J1.emit("dragfree"))}nr.viewport({zoom:SM,pan:Pnt,cancelOnFailedZoom:!0}),nr.emit("pinchzoom"),Tn=Zj,me=vb,yn=v1,nn=up,qe=Bd,y.pinching=!0}if(G.touches[0]){var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}if(G.touches[1]){var us=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);Be[2]=us[0],Be[3]=us[1]}if(G.touches[2]){var us=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);Be[4]=us[0],Be[5]=us[1]}}else if(G.touches[0]&&!y.touchData.didSelect){var lp=y.touchData.start,$C=y.touchData.last,k0;if(!y.hoverData.draggingEles&&!y.swipePanning&&(k0=y.findNearestElement(Be[0],Be[1],!0,!0)),Vn&&lp!=null&&G.preventDefault(),Vn&&lp!=null&&y.nodeIsDraggable(lp))if(kc){var J1=y.dragData.touchDragEles,_M=!y.dragData.didDrag;_M&&pt(J1,{inDragLayer:!0}),y.dragData.didDrag=!0;var z2={x:0,y:0};if(Q(Ca[0])&&Q(Ca[1])&&(z2.x+=Ca[0],z2.y+=Ca[1],_M)){y.redrawHint("eles",!0);var T0=y.touchData.dragDelta;T0&&Q(T0[0])&&Q(T0[1])&&(z2.x+=T0[0],z2.y+=T0[1])}y.hoverData.draggingEles=!0,J1.silentShift(z2).emit("position drag"),y.redrawHint("drag",!0),y.touchData.startPosition[0]==Ls[0]&&y.touchData.startPosition[1]==Ls[1]&&y.redrawHint("eles",!0),y.redraw()}else{var T0=y.touchData.dragDelta=y.touchData.dragDelta||[];T0.length===0?(T0.push(Ca[0]),T0.push(Ca[1])):(T0[0]+=Ca[0],T0[1]+=Ca[1])}if(C(lp||k0,["touchmove","tapdrag","vmousemove"],G,{x:Be[0],y:Be[1]}),(!lp||!lp.grabbed())&&k0!=$C&&($C&&$C.emit({originalEvent:G,type:"tapdragout",position:{x:Be[0],y:Be[1]}}),k0&&k0.emit({originalEvent:G,type:"tapdragover",position:{x:Be[0],y:Be[1]}})),y.touchData.last=k0,Vn)for(var E0=0;E0<Be.length;E0++)Be[E0]&&y.touchData.startPosition[E0]&&kc&&(y.touchData.singleTouchMoved=!0);if(Vn&&(lp==null||lp.pannable())&&nr.panningEnabled()&&nr.userPanningEnabled()){var D4=O(lp,y.touchData.starts);D4&&(G.preventDefault(),y.data.bgActivePosistion||(y.data.bgActivePosistion=Yx(y.touchData.startPosition)),y.swipePanning?(nr.panBy({x:Ca[0]*hr,y:Ca[1]*hr}),nr.emit("dragpan")):kc&&(y.swipePanning=!0,nr.panBy({x:ra*hr,y:ql*hr}),nr.emit("dragpan"),lp&&(lp.unactivate(),y.redrawHint("select",!0),y.touchData.start=null)));var us=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);Be[0]=us[0],Be[1]=us[1]}}for(var oc=0;oc<Be.length;oc++)Ls[oc]=Be[oc];Vn&&G.touches.length>0&&!y.hoverData.draggingEles&&!y.swipePanning&&y.data.bgActivePosistion!=null&&(y.data.bgActivePosistion=void 0,y.redrawHint("select",!0),y.redraw())}},!1);var gi;y.registerBinding(p,"touchcancel",gi=function(G){var Vn=y.touchData.start;y.touchData.capture=!1,Vn&&Vn.unactivate()});var ss,na,vi,si;if(y.registerBinding(p,"touchend",ss=function(G){var Vn=y.touchData.start,gr=y.touchData.capture;if(gr)G.touches.length===0&&(y.touchData.capture=!1),G.preventDefault();else return;var nr=y.selection;y.swipePanning=!1,y.hoverData.draggingEles=!1;var Be=y.cy,Ls=Be.zoom(),hr=y.touchData.now,us=y.touchData.earlier;if(G.touches[0]){var Ya=y.projectIntoViewport(G.touches[0].clientX,G.touches[0].clientY);hr[0]=Ya[0],hr[1]=Ya[1]}if(G.touches[1]){var Ya=y.projectIntoViewport(G.touches[1].clientX,G.touches[1].clientY);hr[2]=Ya[0],hr[3]=Ya[1]}if(G.touches[2]){var Ya=y.projectIntoViewport(G.touches[2].clientX,G.touches[2].clientY);hr[4]=Ya[0],hr[5]=Ya[1]}Vn&&Vn.unactivate();var kc;if(y.touchData.cxt){if(kc={originalEvent:G,type:"cxttapend",position:{x:hr[0],y:hr[1]}},Vn?Vn.emit(kc):Be.emit(kc),!y.touchData.cxtDragged){var Ca={originalEvent:G,type:"cxttap",position:{x:hr[0],y:hr[1]}};Vn?Vn.emit(Ca):Be.emit(Ca)}y.touchData.start&&(y.touchData.start._private.grabbed=!1),y.touchData.cxt=!1,y.touchData.start=null,y.redraw();return}if(!G.touches[2]&&Be.boxSelectionEnabled()&&y.touchData.selecting){y.touchData.selecting=!1;var oc=Be.collection(y.getAllInBox(nr[0],nr[1],nr[2],nr[3]));nr[0]=void 0,nr[1]=void 0,nr[2]=void 0,nr[3]=void 0,nr[4]=0,y.redrawHint("select",!0),Be.emit({type:"boxend",originalEvent:G,position:{x:hr[0],y:hr[1]}});var ra=function(_4){return _4.selectable()&&!_4.selected()};oc.emit("box").stdFilter(ra).select().emit("boxselect"),oc.nonempty()&&y.redrawHint("eles",!0),y.redraw()}if(Vn!=null&&Vn.unactivate(),G.touches[2])y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);else if(!G.touches[1]){if(!G.touches[0]){if(!G.touches[0]){y.data.bgActivePosistion=void 0,y.redrawHint("select",!0);var no=y.dragData.touchDragEles;if(Vn!=null){var ql=Vn._private.grabbed;St(no),y.redrawHint("drag",!0),y.redrawHint("eles",!0),ql&&(Vn.emit("freeon"),no.emit("free"),y.dragData.didDrag&&(Vn.emit("dragfreeon"),no.emit("dragfree"))),C(Vn,["touchend","tapend","vmouseup","tapdragout"],G,{x:hr[0],y:hr[1]}),Vn.unactivate(),y.touchData.start=null}else{var Sl=y.findNearestElement(hr[0],hr[1],!0,!0);C(Sl,["touchend","tapend","vmouseup","tapdragout"],G,{x:hr[0],y:hr[1]})}var mb=y.touchData.startPosition[0]-hr[0],vb=mb*mb,v1=y.touchData.startPosition[1]-hr[1],up=v1*v1,Bd=vb+up,cm=Bd*Ls*Ls;y.touchData.singleTouchMoved||(Vn||Be.$(":selected").unselect(["tapunselect"]),C(Vn,["tap","vclick"],G,{x:hr[0],y:hr[1]}),na=!1,G.timeStamp-si<=Be.multiClickDebounceTime()?(vi&&clearTimeout(vi),na=!0,si=null,C(Vn,["dbltap","vdblclick"],G,{x:hr[0],y:hr[1]})):(vi=setTimeout(function(){na||C(Vn,["onetap","voneclick"],G,{x:hr[0],y:hr[1]})},Be.multiClickDebounceTime()),si=G.timeStamp)),Vn!=null&&!y.dragData.didDrag&&Vn._private.selectable&&cm<y.touchTapThreshold2&&!y.pinching&&(Be.selectionType()==="single"?(Be.$(x).unmerge(Vn).unselect(["tapunselect"]),Vn.select(["tapselect"])):Vn.selected()?Vn.unselect(["tapunselect"]):Vn.select(["tapselect"]),y.redrawHint("eles",!0)),y.touchData.singleTouchMoved=!0}}}for(var py=0;py<hr.length;py++)us[py]=hr[py];y.dragData.didDrag=!1,G.touches.length===0&&(y.touchData.dragDelta=[],y.touchData.startPosition=[null,null,null,null,null,null],y.touchData.startGPosition=null,y.touchData.didSelect=!1),G.touches.length<2&&(G.touches.length===1&&(y.touchData.startGPosition=[G.touches[0].clientX,G.touches[0].clientY]),y.pinching=!1,y.redrawHint("eles",!0),y.redraw())},!1),typeof TouchEvent>"u"){var Qi=[],ks=function(G){return{clientX:G.clientX,clientY:G.clientY,force:1,identifier:G.pointerId,pageX:G.pageX,pageY:G.pageY,radiusX:G.width/2,radiusY:G.height/2,screenX:G.screenX,screenY:G.screenY,target:G.target}},as=function(G){return{event:G,touch:ks(G)}},Es=function(G){Qi.push(as(G))},eo=function(G){for(var Vn=0;Vn<Qi.length;Vn++){var gr=Qi[Vn];if(gr.event.pointerId===G.pointerId){Qi.splice(Vn,1);return}}},Ta=function(G){var Vn=Qi.filter(function(gr){return gr.event.pointerId===G.pointerId})[0];Vn.event=G,Vn.touch=ks(G)},pa=function(G){G.touches=Qi.map(function(Vn){return Vn.touch})},mo=function(G){return G.pointerType==="mouse"||G.pointerType===4};y.registerBinding(y.container,"pointerdown",function(Kn){mo(Kn)||(Kn.preventDefault(),Es(Kn),pa(Kn),mr(Kn))}),y.registerBinding(y.container,"pointerup",function(Kn){mo(Kn)||(eo(Kn),pa(Kn),ss(Kn))}),y.registerBinding(y.container,"pointercancel",function(Kn){mo(Kn)||(eo(Kn),pa(Kn),gi(Kn))}),y.registerBinding(y.container,"pointermove",function(Kn){mo(Kn)||(Kn.preventDefault(),Ta(Kn),pa(Kn),Sr(Kn))})}};var om={};om.generatePolygon=function(y,p){return this.nodeShapes[y]={renderer:this,name:y,points:p,draw:function(C,L,O,N,j){this.renderer.nodeShapeImpl("polygon",C,L,O,N,j,this.points)},intersectLine:function(C,L,O,N,j,H,q){return B8(j,H,this.points,C,L,O/2,N/2,q)},checkPoint:function(C,L,O,N,j,H,q){return sm(C,L,this.points,H,q,N,j,[0,-1],O)}}},om.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){return CQ(O,N,p,x,C/2+j,L/2+j)},checkPoint:function(p,x,C,L,O,N,j){return v4(p,x,L,O,N,j,C)}}},om.generateRoundPolygon=function(y,p){for(var x=new Array(p.length*2),C=0;C<p.length/2;C++){var L=C*2,O=void 0;C<p.length/2-1?O=(C+1)*2:O=0,x[C*4]=p[L],x[C*4+1]=p[L+1];var N=p[O]-p[L],j=p[O+1]-p[L+1],H=Math.sqrt(N*N+j*j);x[C*4+2]=N/H,x[C*4+3]=j/H}return this.nodeShapes[y]={renderer:this,name:y,points:x,draw:function(W,Z,st,bt,pt){this.renderer.nodeShapeImpl("round-polygon",W,Z,st,bt,pt,this.points)},intersectLine:function(W,Z,st,bt,pt,_t,St){return SQ(pt,_t,this.points,W,Z,st,bt)},checkPoint:function(W,Z,st,bt,pt,_t,St){return TQ(W,Z,this.points,_t,St,bt,pt)}}},om.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){return $B(O,N,p,x,C,L,j)},checkPoint:function(p,x,C,L,O,N,j){var H=R8(L,O),q=H*2;return!!(sm(p,x,this.points,N,j,L,O-q,[0,-1],C)||sm(p,x,this.points,N,j,L-q,O,[0,-1],C)||v4(p,x,q,q,N-L/2+H,j-O/2+H,C)||v4(p,x,q,q,N+L/2-H,j-O/2+H,C)||v4(p,x,q,q,N+L/2-H,j+O/2-H,C)||v4(p,x,q,q,N-L/2+H,j+O/2-H,C))}}},om.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:qB(),points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},generateCutTrianglePts:function(p,x,C,L){var O=this.cornerLength,N=x/2,j=p/2,H=C-j,q=C+j,W=L-N,Z=L+N;return{topLeft:[H,W+O,H+O,W,H+O,W+O],topRight:[q-O,W,q,W+O,q-O,W+O],bottomRight:[q,Z-O,q-O,Z,q-O,Z-O],bottomLeft:[H+O,Z,H,Z-O,H+O,Z-O]}},intersectLine:function(p,x,C,L,O,N,j){var H=this.generateCutTrianglePts(C+2*j,L+2*j,p,x),q=[].concat.apply([],[H.topLeft.splice(0,4),H.topRight.splice(0,4),H.bottomRight.splice(0,4),H.bottomLeft.splice(0,4)]);return B8(O,N,q,p,x)},checkPoint:function(p,x,C,L,O,N,j){if(sm(p,x,this.points,N,j,L,O-2*this.cornerLength,[0,-1],C)||sm(p,x,this.points,N,j,L-2*this.cornerLength,O,[0,-1],C))return!0;var H=this.generateCutTrianglePts(L,O,N,j);return y0(p,x,H.topLeft)||y0(p,x,H.topRight)||y0(p,x,H.bottomRight)||y0(p,x,H.bottomLeft)}}},om.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){var H=.15,q=.5,W=.85,Z=this.generateBarrelBezierPts(C+2*j,L+2*j,p,x),st=function(_t){var St=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},H),Et=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},q),Nt=Xx({x:_t[0],y:_t[1]},{x:_t[2],y:_t[3]},{x:_t[4],y:_t[5]},W);return[_t[0],_t[1],St.x,St.y,Et.x,Et.y,Nt.x,Nt.y,_t[4],_t[5]]},bt=[].concat(st(Z.topLeft),st(Z.topRight),st(Z.bottomRight),st(Z.bottomLeft));return B8(O,N,bt,p,x)},generateBarrelBezierPts:function(p,x,C,L){var O=x/2,N=p/2,j=C-N,H=C+N,q=L-O,W=L+O,Z=VD(p,x),st=Z.heightOffset,bt=Z.widthOffset,pt=Z.ctrlPtOffsetPct*p,_t={topLeft:[j,q+st,j+pt,q,j+bt,q],topRight:[H-bt,q,H-pt,q,H,q+st],bottomRight:[H,W-st,H-pt,W,H-bt,W],bottomLeft:[j+bt,W,j+pt,W,j,W-st]};return _t.topLeft.isTop=!0,_t.topRight.isTop=!0,_t.bottomLeft.isBottom=!0,_t.bottomRight.isBottom=!0,_t},checkPoint:function(p,x,C,L,O,N,j){var H=VD(L,O),q=H.heightOffset,W=H.widthOffset;if(sm(p,x,this.points,N,j,L,O-2*q,[0,-1],C)||sm(p,x,this.points,N,j,L-2*W,O,[0,-1],C))return!0;for(var Z=this.generateBarrelBezierPts(L,O,N,j),st=function(Ut,de,Yt){var Ee=Yt[4],Te=Yt[2],ie=Yt[0],ze=Yt[5],me=Yt[1],yn=Math.min(Ee,ie),nn=Math.max(Ee,ie),qe=Math.min(ze,me),Tn=Math.max(ze,me);if(yn<=Ut&&Ut<=nn&&qe<=de&&de<=Tn){var Xn=_Q(Ee,Te,ie),lr=yQ(Xn[0],Xn[1],Xn[2],Ut),Sn=lr.filter(function(or){return 0<=or&&or<=1});if(Sn.length>0)return Sn[0]}return null},bt=Object.keys(Z),pt=0;pt<bt.length;pt++){var _t=bt[pt],St=Z[_t],Et=st(p,x,St);if(Et!=null){var Nt=St[5],Pt=St[3],qt=St[1],re=Lf(Nt,Pt,qt,Et);if(St.isTop&&re<=x||St.isBottom&&x<=re)return!0}}return!1}}},om.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:Fd(4,0),draw:function(p,x,C,L,O){this.renderer.nodeShapeImpl(this.name,p,x,C,L,O)},intersectLine:function(p,x,C,L,O,N,j){var H=p-(C/2+j),q=x-(L/2+j),W=q,Z=p+(C/2+j),st=uy(O,N,p,x,H,q,Z,W,!1);return st.length>0?st:$B(O,N,p,x,C,L,j)},checkPoint:function(p,x,C,L,O,N,j){var H=R8(L,O),q=2*H;if(sm(p,x,this.points,N,j,L,O-q,[0,-1],C)||sm(p,x,this.points,N,j,L-q,O,[0,-1],C))return!0;var W=L/2+2*C,Z=O/2+2*C,st=[N-W,j-Z,N-W,j,N+W,j,N+W,j-Z];return!!(y0(p,x,st)||v4(p,x,q,q,N+L/2-H,j+O/2-H,C)||v4(p,x,q,q,N-L/2+H,j+O/2-H,C))}}},om.registerNodeShapes=function(){var y=this.nodeShapes={},p=this;this.generateEllipse(),this.generatePolygon("triangle",Fd(3,0)),this.generateRoundPolygon("round-triangle",Fd(3,0)),this.generatePolygon("rectangle",Fd(4,0)),y.square=y.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var x=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",x),this.generateRoundPolygon("round-diamond",x)}this.generatePolygon("pentagon",Fd(5,0)),this.generateRoundPolygon("round-pentagon",Fd(5,0)),this.generatePolygon("hexagon",Fd(6,0)),this.generateRoundPolygon("round-hexagon",Fd(6,0)),this.generatePolygon("heptagon",Fd(7,0)),this.generateRoundPolygon("round-heptagon",Fd(7,0)),this.generatePolygon("octagon",Fd(8,0)),this.generateRoundPolygon("round-octagon",Fd(8,0));var C=new Array(20);{var L=qD(5,0),O=qD(5,Math.PI/5),N=.5*(3-Math.sqrt(5));N*=1.57;for(var j=0;j<O.length/2;j++)O[j*2]*=N,O[j*2+1]*=N;for(var j=0;j<20/4;j++)C[j*4]=L[j*2],C[j*4+1]=L[j*2+1],C[j*4+2]=O[j*2],C[j*4+3]=O[j*2+1]}C=zB(C),this.generatePolygon("star",C),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var H=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",H),this.generateRoundPolygon("round-tag",H)}y.makePolygon=function(q){var W=q.join("$"),Z="polygon-"+W,st;return(st=this[Z])?st:p.generatePolygon(Z,q)}};var nE={};nE.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},nE.redraw=function(y){y=y||IB();var p=this;p.averageRedrawTime===void 0&&(p.averageRedrawTime=0),p.lastRedrawTime===void 0&&(p.lastRedrawTime=0),p.lastDrawTime===void 0&&(p.lastDrawTime=0),p.requestedFrame=!0,p.renderOptions=y},nE.beforeRender=function(y,p){if(!this.destroyed){p==null&&$l("Priority is not optional for beforeRender");var x=this.beforeRenderCallbacks;x.push({fn:y,priority:p}),x.sort(function(C,L){return L.priority-C.priority})}};var Lj=function(p,x,C){for(var L=p.beforeRenderCallbacks,O=0;O<L.length;O++)L[O].fn(x,C)};nE.startRenderLoop=function(){var y=this,p=y.cy;if(!y.renderLoopStarted){y.renderLoopStarted=!0;var x=function C(L){if(!y.destroyed){if(!p.batching())if(y.requestedFrame&&!y.skipFrame){Lj(y,!0,L);var O=ip();y.render(y.renderOptions);var N=y.lastDrawTime=ip();y.averageRedrawTime===void 0&&(y.averageRedrawTime=N-O),y.redrawCount===void 0&&(y.redrawCount=0),y.redrawCount++,y.redrawTotalTime===void 0&&(y.redrawTotalTime=0);var j=N-O;y.redrawTotalTime+=j,y.lastRedrawTime=j,y.averageRedrawTime=y.averageRedrawTime/2+j/2,y.requestedFrame=!1}else Lj(y,!1,L);y.skipFrame=!1,g1(C)}};g1(x)}};var Get=function(p){this.init(p)},Dj=Get,g6=Dj.prototype;g6.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],g6.init=function(y){var p=this;p.options=y,p.cy=y.cy;var x=p.container=y.cy.container(),C=p.cy.window();if(C){var L=C.document,O=L.head,N="__________cytoscape_stylesheet",j="__________cytoscape_container",H=L.getElementById(N)!=null;if(x.className.indexOf(j)<0&&(x.className=(x.className||"")+" "+j),!H){var q=L.createElement("style");q.id=N,q.textContent="."+j+" { position: relative; }",O.insertBefore(q,O.children[0])}var W=C.getComputedStyle(x),Z=W.getPropertyValue("position");Z==="static"&&Gc("A Cytoscape container has style position:static and so can not use UI extensions properly")}p.selection=[void 0,void 0,void 0,void 0,0],p.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],p.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},p.dragData={possibleDragElements:[]},p.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},p.redraws=0,p.showFps=y.showFps,p.debug=y.debug,p.hideEdgesOnViewport=y.hideEdgesOnViewport,p.textureOnViewport=y.textureOnViewport,p.wheelSensitivity=y.wheelSensitivity,p.motionBlurEnabled=y.motionBlur,p.forcedPixelRatio=Q(y.pixelRatio)?y.pixelRatio:null,p.motionBlur=y.motionBlur,p.motionBlurOpacity=y.motionBlurOpacity,p.motionBlurTransparency=1-p.motionBlurOpacity,p.motionBlurPxRatio=1,p.mbPxRBlurry=1,p.minMbLowQualFrames=4,p.fullQualityMb=!1,p.clearedForMotionBlur=[],p.desktopTapThreshold=y.desktopTapThreshold,p.desktopTapThreshold2=y.desktopTapThreshold*y.desktopTapThreshold,p.touchTapThreshold=y.touchTapThreshold,p.touchTapThreshold2=y.touchTapThreshold*y.touchTapThreshold,p.tapholdDuration=500,p.bindings=[],p.beforeRenderCallbacks=[],p.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},p.registerNodeShapes(),p.registerArrowShapes(),p.registerCalculationListeners()},g6.notify=function(y,p){var x=this,C=x.cy;if(!this.destroyed){if(y==="init"){x.load();return}if(y==="destroy"){x.destroy();return}(y==="add"||y==="remove"||y==="move"&&C.hasCompoundNodes()||y==="load"||y==="zorder"||y==="mount")&&x.invalidateCachedZSortedEles(),y==="viewport"&&x.redrawHint("select",!0),(y==="load"||y==="resize"||y==="mount")&&(x.invalidateContainerClientCoordsCache(),x.matchCanvasSize(x.container)),x.redrawHint("eles",!0),x.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},g6.destroy=function(){var y=this;y.destroyed=!0,y.cy.stopAnimationLoop();for(var p=0;p<y.bindings.length;p++){var x=y.bindings[p],C=x,L=C.target;(L.off||L.removeEventListener).apply(L,C.args)}if(y.bindings=[],y.beforeRenderCallbacks=[],y.onUpdateEleCalcsFns=[],y.removeObserver&&y.removeObserver.disconnect(),y.styleObserver&&y.styleObserver.disconnect(),y.resizeObserver&&y.resizeObserver.disconnect(),y.labelCalcDiv)try{document.body.removeChild(y.labelCalcDiv)}catch{}},g6.isHeadless=function(){return!1},[wM,_j,Aj,d6,om,nE].forEach(function(y){we(g6,y)});var vM=1e3/60,Mj={setupDequeueing:function(p){return function(){var C=this,L=this.renderer;if(!C.dequeueingSetup){C.dequeueingSetup=!0;var O=pu(function(){L.redrawHint("eles",!0),L.redrawHint("drag",!0),L.redraw()},p.deqRedrawThreshold),N=function(q,W){var Z=ip(),st=L.averageRedrawTime,bt=L.lastRedrawTime,pt=[],_t=L.cy.extent(),St=L.getPixelRatio();for(q||L.flushRenderedStyleQueue();;){var Et=ip(),Nt=Et-Z,Pt=Et-W;if(bt<vM){var qt=vM-(q?st:0);if(Pt>=p.deqFastCost*qt)break}else if(q){if(Nt>=p.deqCost*bt||Nt>=p.deqAvgCost*st)break}else if(Pt>=p.deqNoDrawCost*vM)break;var re=p.deq(C,St,_t);if(re.length>0)for(var ee=0;ee<re.length;ee++)pt.push(re[ee]);else break}pt.length>0&&(p.onDeqd(C,pt),!q&&p.shouldRedraw(C,pt,St,_t)&&O())},j=p.priority||BD;L.beforeRender(N,j(C))}}}},Ket=function(){function y(p){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ay;g(this,y),this.idsByKey=new F2,this.keyForId=new F2,this.cachesByLvl=new F2,this.lvls=[],this.getKey=p,this.doesEleInvalidateKey=x}return v(y,[{key:"getIdsFor",value:function(x){x==null&&$l("Can not get id list for null key");var C=this.idsByKey,L=this.idsByKey.get(x);return L||(L=new Wx,C.set(x,L)),L}},{key:"addIdForKey",value:function(x,C){x!=null&&this.getIdsFor(x).add(C)}},{key:"deleteIdForKey",value:function(x,C){x!=null&&this.getIdsFor(x).delete(C)}},{key:"getNumberOfIdsForKey",value:function(x){return x==null?0:this.getIdsFor(x).size}},{key:"updateKeyMappingFor",value:function(x){var C=x.id(),L=this.keyForId.get(C),O=this.getKey(x);this.deleteIdForKey(L,C),this.addIdForKey(O,C),this.keyForId.set(C,O)}},{key:"deleteKeyMappingFor",value:function(x){var C=x.id(),L=this.keyForId.get(C);this.deleteIdForKey(L,C),this.keyForId.delete(C)}},{key:"keyHasChangedFor",value:function(x){var C=x.id(),L=this.keyForId.get(C),O=this.getKey(x);return L!==O}},{key:"isInvalid",value:function(x){return this.keyHasChangedFor(x)||this.doesEleInvalidateKey(x)}},{key:"getCachesAt",value:function(x){var C=this.cachesByLvl,L=this.lvls,O=C.get(x);return O||(O=new F2,C.set(x,O),L.push(x)),O}},{key:"getCache",value:function(x,C){return this.getCachesAt(C).get(x)}},{key:"get",value:function(x,C){var L=this.getKey(x),O=this.getCache(L,C);return O!=null&&this.updateKeyMappingFor(x),O}},{key:"getForCachedKey",value:function(x,C){var L=this.keyForId.get(x.id()),O=this.getCache(L,C);return O}},{key:"hasCache",value:function(x,C){return this.getCachesAt(C).has(x)}},{key:"has",value:function(x,C){var L=this.getKey(x);return this.hasCache(L,C)}},{key:"setCache",value:function(x,C,L){L.key=x,this.getCachesAt(C).set(x,L)}},{key:"set",value:function(x,C,L){var O=this.getKey(x);this.setCache(O,C,L),this.updateKeyMappingFor(x)}},{key:"deleteCache",value:function(x,C){this.getCachesAt(C).delete(x)}},{key:"delete",value:function(x,C){var L=this.getKey(x);this.deleteCache(L,C)}},{key:"invalidateKey",value:function(x){var C=this;this.lvls.forEach(function(L){return C.deleteCache(x,L)})}},{key:"invalidate",value:function(x){var C=x.id(),L=this.keyForId.get(C);this.deleteKeyMappingFor(x);var O=this.doesEleInvalidateKey(x);return O&&this.invalidateKey(L),O||this.getNumberOfIdsForKey(L)===0}}]),y}(),Ij=25,OC=50,NC=-4,yM=3,Wet=7.99,Yet=8,Xet=1024,Qet=1024,Jet=1024,Zet=.2,tnt=.8,ent=10,nnt=.15,rnt=.1,int=.9,snt=.9,ant=100,ont=1,p6={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},cnt=p1({getKey:null,doesEleInvalidateKey:ay,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:b4,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),rE=function(p,x){var C=this;C.renderer=p,C.onDequeues=[];var L=cnt(x);we(C,L),C.lookup=new Ket(L.getKey,L.doesEleInvalidateKey),C.setupDequeueing()},Jh=rE.prototype;Jh.reasons=p6,Jh.getTextureQueue=function(y){var p=this;return p.eleImgCaches=p.eleImgCaches||{},p.eleImgCaches[y]=p.eleImgCaches[y]||[]},Jh.getRetiredTextureQueue=function(y){var p=this,x=p.eleImgCaches.retired=p.eleImgCaches.retired||{},C=x[y]=x[y]||[];return C},Jh.getElementQueue=function(){var y=this,p=y.eleCacheQueue=y.eleCacheQueue||new N8(function(x,C){return C.reqs-x.reqs});return p},Jh.getElementKeyToQueue=function(){var y=this,p=y.eleKeyToCacheQueue=y.eleKeyToCacheQueue||{};return p},Jh.getElement=function(y,p,x,C,L){var O=this,N=this.renderer,j=N.cy.zoom(),H=this.lookup;if(!p||p.w===0||p.h===0||isNaN(p.w)||isNaN(p.h)||!y.visible()||y.removed()||!O.allowEdgeTxrCaching&&y.isEdge()||!O.allowParentTxrCaching&&y.isParent())return null;if(C==null&&(C=Math.ceil(jD(j*x))),C<NC)C=NC;else if(j>=Wet||C>yM)return null;var q=Math.pow(2,C),W=p.h*q,Z=p.w*q,st=N.eleTextBiggerThanMin(y,q);if(!this.isVisible(y,st))return null;var bt=H.get(y,C);if(bt&&bt.invalidated&&(bt.invalidated=!1,bt.texture.invalidatedWidth-=bt.width),bt)return bt;var pt;if(W<=Ij?pt=Ij:W<=OC?pt=OC:pt=Math.ceil(W/OC)*OC,W>Jet||Z>Qet)return null;var _t=O.getTextureQueue(pt),St=_t[_t.length-2],Et=function(){return O.recycleTexture(pt,Z)||O.addTexture(pt,Z)};St||(St=_t[_t.length-1]),St||(St=Et()),St.width-St.usedWidth<Z&&(St=Et());for(var Nt=function(nn){return nn&&nn.scaledLabelShown===st},Pt=L&&L===p6.dequeue,qt=L&&L===p6.highQuality,re=L&&L===p6.downscale,ee,Ut=C+1;Ut<=yM;Ut++){var de=H.get(y,Ut);if(de){ee=de;break}}var Yt=ee&&ee.level===C+1?ee:null,Ee=function(){St.context.drawImage(Yt.texture.canvas,Yt.x,0,Yt.width,Yt.height,St.usedWidth,0,Z,W)};if(St.context.setTransform(1,0,0,1,0,0),St.context.clearRect(St.usedWidth,0,Z,pt),Nt(Yt))Ee();else if(Nt(ee))if(qt){for(var Te=ee.level;Te>C;Te--)Yt=O.getElement(y,p,x,Te,p6.downscale);Ee()}else return O.queueElement(y,ee.level-1),ee;else{var ie;if(!Pt&&!qt&&!re)for(var ze=C-1;ze>=NC;ze--){var me=H.get(y,ze);if(me){ie=me;break}}if(Nt(ie))return O.queueElement(y,C),ie;St.context.translate(St.usedWidth,0),St.context.scale(q,q),this.drawElement(St.context,y,p,st,!1),St.context.scale(1/q,1/q),St.context.translate(-St.usedWidth,0)}return bt={x:St.usedWidth,texture:St,level:C,scale:q,width:Z,height:W,scaledLabelShown:st},St.usedWidth+=Math.ceil(Z+Yet),St.eleCaches.push(bt),H.set(y,C,bt),O.checkTextureFullness(St),bt},Jh.invalidateElements=function(y){for(var p=0;p<y.length;p++)this.invalidateElement(y[p])},Jh.invalidateElement=function(y){var p=this,x=p.lookup,C=[],L=x.isInvalid(y);if(L){for(var O=NC;O<=yM;O++){var N=x.getForCachedKey(y,O);N&&C.push(N)}var j=x.invalidate(y);if(j)for(var H=0;H<C.length;H++){var q=C[H],W=q.texture;W.invalidatedWidth+=q.width,q.invalidated=!0,p.checkTextureUtility(W)}p.removeFromQueue(y)}},Jh.checkTextureUtility=function(y){y.invalidatedWidth>=Zet*y.width&&this.retireTexture(y)},Jh.checkTextureFullness=function(y){var p=this,x=p.getTextureQueue(y.height);y.usedWidth/y.width>tnt&&y.fullnessChecks>=ent?oy(x,y):y.fullnessChecks++},Jh.retireTexture=function(y){var p=this,x=y.height,C=p.getTextureQueue(x),L=this.lookup;oy(C,y),y.retired=!0;for(var O=y.eleCaches,N=0;N<O.length;N++){var j=O[N];L.deleteCache(j.key,j.level)}G9(O);var H=p.getRetiredTextureQueue(x);H.push(y)},Jh.addTexture=function(y,p){var x=this,C=x.getTextureQueue(y),L={};return C.push(L),L.eleCaches=[],L.height=y,L.width=Math.max(Xet,p),L.usedWidth=0,L.invalidatedWidth=0,L.fullnessChecks=0,L.canvas=x.renderer.makeOffscreenCanvas(L.width,L.height),L.context=L.canvas.getContext("2d"),L},Jh.recycleTexture=function(y,p){for(var x=this,C=x.getTextureQueue(y),L=x.getRetiredTextureQueue(y),O=0;O<L.length;O++){var N=L[O];if(N.width>=p)return N.retired=!1,N.usedWidth=0,N.invalidatedWidth=0,N.fullnessChecks=0,G9(N.eleCaches),N.context.setTransform(1,0,0,1,0,0),N.context.clearRect(0,0,N.width,N.height),oy(L,N),C.push(N),N}},Jh.queueElement=function(y,p){var x=this,C=x.getElementQueue(),L=x.getElementKeyToQueue(),O=this.getKey(y),N=L[O];if(N)N.level=Math.max(N.level,p),N.eles.merge(y),N.reqs++,C.updateItem(N);else{var j={eles:y.spawn().merge(y),level:p,reqs:1,key:O};C.push(j),L[O]=j}},Jh.dequeue=function(y){for(var p=this,x=p.getElementQueue(),C=p.getElementKeyToQueue(),L=[],O=p.lookup,N=0;N<ont&&x.size()>0;N++){var j=x.pop(),H=j.key,q=j.eles[0],W=O.hasCache(q,j.level);if(C[H]=null,W)continue;L.push(j);var Z=p.getBoundingBox(q);p.getElement(q,Z,y,j.level,p6.dequeue)}return L},Jh.removeFromQueue=function(y){var p=this,x=p.getElementQueue(),C=p.getElementKeyToQueue(),L=this.getKey(y),O=C[L];O!=null&&(O.eles.length===1?(O.reqs=Kx,x.updateItem(O),x.pop(),C[L]=null):O.eles.unmerge(y))},Jh.onDequeue=function(y){this.onDequeues.push(y)},Jh.offDequeue=function(y){oy(this.onDequeues,y)},Jh.setupDequeueing=Mj.setupDequeueing({deqRedrawThreshold:ant,deqCost:nnt,deqAvgCost:rnt,deqNoDrawCost:int,deqFastCost:snt,deq:function(p,x,C){return p.dequeue(x,C)},onDeqd:function(p,x){for(var C=0;C<p.onDequeues.length;C++){var L=p.onDequeues[C];L(x)}},shouldRedraw:function(p,x,C,L){for(var O=0;O<x.length;O++)for(var N=x[O].eles,j=0;j<N.length;j++){var H=N[j].boundingBox();if($D(H,L))return!0}return!1},priority:function(p){return p.renderer.beforeRenderPriorities.eleTxrDeq}});var unt=1,iE=-4,PC=2,lnt=3.99,hnt=50,fnt=50,Zh=.15,dnt=.1,gnt=.9,Oj=.9,pnt=1,Nj=250,Pj=4e3*4e3,Fj=!0,Bj=function(p){var x=this,C=x.renderer=p,L=C.cy;x.layersByLevel={},x.firstGet=!0,x.lastInvalidationTime=ip()-2*Nj,x.skipping=!1,x.eleTxrDeqs=L.collection(),x.scheduleElementRefinement=pu(function(){x.refineElementTextures(x.eleTxrDeqs),x.eleTxrDeqs.unmerge(x.eleTxrDeqs)},fnt),C.beforeRender(function(N,j){j-x.lastInvalidationTime<=Nj?x.skipping=!0:x.skipping=!1},C.beforeRenderPriorities.lyrTxrSkip);var O=function(j,H){return H.reqs-j.reqs};x.layersQueue=new N8(O),x.setupDequeueing()},Df=Bj.prototype,Rj=0,FC=Math.pow(2,53)-1;Df.makeLayer=function(y,p){var x=Math.pow(2,p),C=Math.ceil(y.w*x),L=Math.ceil(y.h*x),O=this.renderer.makeOffscreenCanvas(C,L),N={id:Rj=++Rj%FC,bb:y,level:p,width:C,height:L,canvas:O,context:O.getContext("2d"),eles:[],elesQueue:[],reqs:0},j=N.context,H=-N.bb.x1,q=-N.bb.y1;return j.scale(x,x),j.translate(H,q),N},Df.getLayers=function(y,p,x){var C=this,L=C.renderer,O=L.cy,N=O.zoom(),j=C.firstGet;if(C.firstGet=!1,x==null){if(x=Math.ceil(jD(N*p)),x<iE)x=iE;else if(N>=lnt||x>PC)return null}C.validateLayersElesOrdering(x,y);var H=C.layersByLevel,q=Math.pow(2,x),W=H[x]=H[x]||[],Z,st=C.levelIsComplete(x,y),bt,pt=function(){var Ee=function(yn){if(C.validateLayersElesOrdering(yn,y),C.levelIsComplete(yn,y))return bt=H[yn],!0},Te=function(yn){if(!bt)for(var nn=x+yn;iE<=nn&&nn<=PC&&!Ee(nn);nn+=yn);};Te(1),Te(-1);for(var ie=W.length-1;ie>=0;ie--){var ze=W[ie];ze.invalid&&oy(W,ze)}};if(!st)pt();else return W;var _t=function(){if(!Z){Z=v0();for(var Ee=0;Ee<y.length;Ee++)BB(Z,y[Ee].boundingBox())}return Z},St=function(Ee){Ee=Ee||{};var Te=Ee.after;_t();var ie=Z.w*q*(Z.h*q);if(ie>Pj)return null;var ze=C.makeLayer(Z,x);if(Te!=null){var me=W.indexOf(Te)+1;W.splice(me,0,ze)}else(Ee.insert===void 0||Ee.insert)&&W.unshift(ze);return ze};if(C.skipping&&!j)return null;for(var Et=null,Nt=y.length/unt,Pt=!j,qt=0;qt<y.length;qt++){var re=y[qt],ee=re._private.rscratch,Ut=ee.imgLayerCaches=ee.imgLayerCaches||{},de=Ut[x];if(de){Et=de;continue}if((!Et||Et.eles.length>=Nt||!jB(Et.bb,re.boundingBox()))&&(Et=St({insert:!0,after:Et}),!Et))return null;bt||Pt?C.queueLayer(Et,re):C.drawEleInLayer(Et,re,x,p),Et.eles.push(re),Ut[x]=Et}return bt||(Pt?null:W)},Df.getEleLevelForLayerLevel=function(y,p){return y},Df.drawEleInLayer=function(y,p,x,C){var L=this,O=this.renderer,N=y.context,j=p.boundingBox();j.w===0||j.h===0||!p.visible()||(x=L.getEleLevelForLayerLevel(x,C),O.setImgSmoothing(N,!1),O.drawCachedElement(N,p,null,null,x,Fj),O.setImgSmoothing(N,!0))},Df.levelIsComplete=function(y,p){var x=this,C=x.layersByLevel[y];if(!C||C.length===0)return!1;for(var L=0,O=0;O<C.length;O++){var N=C[O];if(N.reqs>0||N.invalid)return!1;L+=N.eles.length}return L===p.length},Df.validateLayersElesOrdering=function(y,p){var x=this.layersByLevel[y];if(x)for(var C=0;C<x.length;C++){for(var L=x[C],O=-1,N=0;N<p.length;N++)if(L.eles[0]===p[N]){O=N;break}if(O<0){this.invalidateLayer(L);continue}for(var j=O,N=0;N<L.eles.length;N++)if(L.eles[N]!==p[j+N]){this.invalidateLayer(L);break}}},Df.updateElementsInLayers=function(y,p){for(var x=this,C=V(y[0]),L=0;L<y.length;L++)for(var O=C?null:y[L],N=C?y[L]:y[L].ele,j=N._private.rscratch,H=j.imgLayerCaches=j.imgLayerCaches||{},q=iE;q<=PC;q++){var W=H[q];W&&(O&&x.getEleLevelForLayerLevel(W.level)!==O.level||p(W,N,O))}},Df.haveLayers=function(){for(var y=this,p=!1,x=iE;x<=PC;x++){var C=y.layersByLevel[x];if(C&&C.length>0){p=!0;break}}return p},Df.invalidateElements=function(y){var p=this;y.length!==0&&(p.lastInvalidationTime=ip(),!(y.length===0||!p.haveLayers())&&p.updateElementsInLayers(y,function(C,L,O){p.invalidateLayer(C)}))},Df.invalidateLayer=function(y){if(this.lastInvalidationTime=ip(),!y.invalid){var p=y.level,x=y.eles,C=this.layersByLevel[p];oy(C,y),y.elesQueue=[],y.invalid=!0,y.replacement&&(y.replacement.invalid=!0);for(var L=0;L<x.length;L++){var O=x[L]._private.rscratch.imgLayerCaches;O&&(O[p]=null)}}},Df.refineElementTextures=function(y){var p=this;p.updateElementsInLayers(y,function(C,L,O){var N=C.replacement;if(N||(N=C.replacement=p.makeLayer(C.bb,C.level),N.replaces=C,N.eles=C.eles),!N.reqs)for(var j=0;j<N.eles.length;j++)p.queueLayer(N,N.eles[j])})},Df.enqueueElementRefinement=function(y){this.eleTxrDeqs.merge(y),this.scheduleElementRefinement()},Df.queueLayer=function(y,p){var x=this,C=x.layersQueue,L=y.elesQueue,O=L.hasId=L.hasId||{};if(!y.replacement){if(p){if(O[p.id()])return;L.push(p),O[p.id()]=!0}y.reqs?(y.reqs++,C.updateItem(y)):(y.reqs=1,C.push(y))}},Df.dequeue=function(y){for(var p=this,x=p.layersQueue,C=[],L=0;L<pnt&&x.size()!==0;){var O=x.peek();if(O.replacement){x.pop();continue}if(O.replaces&&O!==O.replaces.replacement){x.pop();continue}if(O.invalid){x.pop();continue}var N=O.elesQueue.shift();N&&(p.drawEleInLayer(O,N,O.level,y),L++),C.length===0&&C.push(!0),O.elesQueue.length===0&&(x.pop(),O.reqs=0,O.replaces&&p.applyLayerReplacement(O),p.requestRedraw())}return C},Df.applyLayerReplacement=function(y){var p=this,x=p.layersByLevel[y.level],C=y.replaces,L=x.indexOf(C);if(!(L<0||C.invalid)){x[L]=y;for(var O=0;O<y.eles.length;O++){var N=y.eles[O]._private,j=N.imgLayerCaches=N.imgLayerCaches||{};j&&(j[y.level]=y)}p.requestRedraw()}},Df.requestRedraw=pu(function(){var y=this.renderer;y.redrawHint("eles",!0),y.redrawHint("drag",!0),y.redraw()},100),Df.setupDequeueing=Mj.setupDequeueing({deqRedrawThreshold:hnt,deqCost:Zh,deqAvgCost:dnt,deqNoDrawCost:gnt,deqFastCost:Oj,deq:function(p,x){return p.dequeue(x)},onDeqd:BD,shouldRedraw:b4,priority:function(p){return p.renderer.beforeRenderPriorities.lyrTxrDeq}});var jj={},$j;function bnt(y,p){for(var x=0;x<p.length;x++){var C=p[x];y.lineTo(C.x,C.y)}}function wnt(y,p,x){for(var C,L=0;L<p.length;L++){var O=p[L];L===0&&(C=O),y.lineTo(O.x,O.y)}y.quadraticCurveTo(x.x,x.y,C.x,C.y)}function zj(y,p,x){y.beginPath&&y.beginPath();for(var C=p,L=0;L<C.length;L++){var O=C[L];y.lineTo(O.x,O.y)}var N=x,j=x[0];y.moveTo(j.x,j.y);for(var L=1;L<N.length;L++){var O=N[L];y.lineTo(O.x,O.y)}y.closePath&&y.closePath()}function mnt(y,p,x,C,L){y.beginPath&&y.beginPath(),y.arc(x,C,L,0,Math.PI*2,!1);var O=p,N=O[0];y.moveTo(N.x,N.y);for(var j=0;j<O.length;j++){var H=O[j];y.lineTo(H.x,H.y)}y.closePath&&y.closePath()}function qj(y,p,x,C){y.arc(p,x,C,0,Math.PI*2,!1)}jj.arrowShapeImpl=function(y){return($j||($j={polygon:bnt,"triangle-backcurve":wnt,"triangle-tee":zj,"circle-triangle":mnt,"triangle-cross":zj,circle:qj}))[y]};var bb={};bb.drawElement=function(y,p,x,C,L,O){var N=this;p.isNode()?N.drawNode(y,p,x,C,L,O):N.drawEdge(y,p,x,C,L,O)},bb.drawElementOverlay=function(y,p){var x=this;p.isNode()?x.drawNodeOverlay(y,p):x.drawEdgeOverlay(y,p)},bb.drawElementUnderlay=function(y,p){var x=this;p.isNode()?x.drawNodeUnderlay(y,p):x.drawEdgeUnderlay(y,p)},bb.drawCachedElementPortion=function(y,p,x,C,L,O,N,j){var H=this,q=x.getBoundingBox(p);if(!(q.w===0||q.h===0)){var W=x.getElement(p,q,C,L,O);if(W!=null){var Z=j(H,p);if(Z===0)return;var st=N(H,p),bt=q.x1,pt=q.y1,_t=q.w,St=q.h,Et,Nt,Pt,qt,re;if(st!==0){var ee=x.getRotationPoint(p);Pt=ee.x,qt=ee.y,y.translate(Pt,qt),y.rotate(st),re=H.getImgSmoothing(y),re||H.setImgSmoothing(y,!0);var Ut=x.getRotationOffset(p);Et=Ut.x,Nt=Ut.y}else Et=bt,Nt=pt;var de;Z!==1&&(de=y.globalAlpha,y.globalAlpha=de*Z),y.drawImage(W.texture.canvas,W.x,0,W.width,W.height,Et,Nt,_t,St),Z!==1&&(y.globalAlpha=de),st!==0&&(y.rotate(-st),y.translate(-Pt,-qt),re||H.setImgSmoothing(y,!1))}else x.drawElement(y,p)}};var vnt=function(){return 0},ynt=function(p,x){return p.getTextAngle(x,null)},xM=function(p,x){return p.getTextAngle(x,"source")},xnt=function(p,x){return p.getTextAngle(x,"target")},knt=function(p,x){return x.effectiveOpacity()},sE=function(p,x){return x.pstyle("text-opacity").pfValue*x.effectiveOpacity()};bb.drawCachedElement=function(y,p,x,C,L,O){var N=this,j=N.data,H=j.eleTxrCache,q=j.lblTxrCache,W=j.slbTxrCache,Z=j.tlbTxrCache,st=p.boundingBox(),bt=O===!0?H.reasons.highQuality:null;if(!(st.w===0||st.h===0||!p.visible())&&(!C||$D(st,C))){var pt=p.isEdge(),_t=p.element()._private.rscratch.badLine;N.drawElementUnderlay(y,p),N.drawCachedElementPortion(y,p,H,x,L,bt,vnt,knt),(!pt||!_t)&&N.drawCachedElementPortion(y,p,q,x,L,bt,ynt,sE),pt&&!_t&&(N.drawCachedElementPortion(y,p,W,x,L,bt,xM,sE),N.drawCachedElementPortion(y,p,Z,x,L,bt,xnt,sE)),N.drawElementOverlay(y,p)}},bb.drawElements=function(y,p){for(var x=this,C=0;C<p.length;C++){var L=p[C];x.drawElement(y,L)}},bb.drawCachedElements=function(y,p,x,C){for(var L=this,O=0;O<p.length;O++){var N=p[O];L.drawCachedElement(y,N,x,C)}},bb.drawCachedNodes=function(y,p,x,C){for(var L=this,O=0;O<p.length;O++){var N=p[O];N.isNode()&&L.drawCachedElement(y,N,x,C)}},bb.drawLayeredElements=function(y,p,x,C){var L=this,O=L.data.lyrTxrCache.getLayers(p,x);if(O)for(var N=0;N<O.length;N++){var j=O[N],H=j.bb;H.w===0||H.h===0||y.drawImage(j.canvas,H.x1,H.y1,H.w,H.h)}else L.drawCachedElements(y,p,x,C)};var wb={};wb.drawEdge=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,j=p._private.rscratch;if(!(O&&!p.visible())&&!(j.badLine||j.allpts==null||isNaN(j.allpts[0]))){var H;x&&(H=x,y.translate(-H.x1,-H.y1));var q=O?p.pstyle("opacity").value:1,W=O?p.pstyle("line-opacity").value:1,Z=p.pstyle("curve-style").value,st=p.pstyle("line-style").value,bt=p.pstyle("width").pfValue,pt=p.pstyle("line-cap").value,_t=q*W,St=q*W,Et=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_t;Z==="straight-triangle"?(N.eleStrokeStyle(y,p,ie),N.drawEdgeTrianglePath(p,y,j.allpts)):(y.lineWidth=bt,y.lineCap=pt,N.eleStrokeStyle(y,p,ie),N.drawEdgePath(p,y,j.allpts,st),y.lineCap="butt")},Nt=function(){L&&N.drawEdgeOverlay(y,p)},Pt=function(){L&&N.drawEdgeUnderlay(y,p)},qt=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:St;N.drawArrowheads(y,p,ie)},re=function(){N.drawElementText(y,p,null,C)};y.lineJoin="round";var ee=p.pstyle("ghost").value==="yes";if(ee){var Ut=p.pstyle("ghost-offset-x").pfValue,de=p.pstyle("ghost-offset-y").pfValue,Yt=p.pstyle("ghost-opacity").value,Ee=_t*Yt;y.translate(Ut,de),Et(Ee),qt(Ee),y.translate(-Ut,-de)}Pt(),Et(),qt(),Nt(),re(),x&&y.translate(H.x1,H.y1)}};var Hj=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,C){if(C.visible()){var L=C.pstyle("".concat(p,"-opacity")).value;if(L!==0){var O=this,N=O.usePaths(),j=C._private.rscratch,H=C.pstyle("".concat(p,"-padding")).pfValue,q=2*H,W=C.pstyle("".concat(p,"-color")).value;x.lineWidth=q,j.edgeType==="self"&&!N?x.lineCap="butt":x.lineCap="round",O.colorStrokeStyle(x,W[0],W[1],W[2],L),O.drawEdgePath(C,x,j.allpts,"solid")}}}};wb.drawEdgeOverlay=Hj("overlay"),wb.drawEdgeUnderlay=Hj("underlay"),wb.drawEdgePath=function(y,p,x,C){var L=y._private.rscratch,O=p,N,j=!1,H=this.usePaths(),q=y.pstyle("line-dash-pattern").pfValue,W=y.pstyle("line-dash-offset").pfValue;if(H){var Z=x.join("$"),st=L.pathCacheKey&&L.pathCacheKey===Z;st?(N=p=L.pathCache,j=!0):(N=p=new Path2D,L.pathCacheKey=Z,L.pathCache=N)}if(O.setLineDash)switch(C){case"dotted":O.setLineDash([1,1]);break;case"dashed":O.setLineDash(q),O.lineDashOffset=W;break;case"solid":O.setLineDash([]);break}if(!j&&!L.badLine)switch(p.beginPath&&p.beginPath(),p.moveTo(x[0],x[1]),L.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var bt=2;bt+3<x.length;bt+=4)p.quadraticCurveTo(x[bt],x[bt+1],x[bt+2],x[bt+3]);break;case"straight":case"segments":case"haystack":for(var pt=2;pt+1<x.length;pt+=2)p.lineTo(x[pt],x[pt+1]);break}p=O,H?p.stroke(N):p.stroke(),p.setLineDash&&p.setLineDash([])},wb.drawEdgeTrianglePath=function(y,p,x){p.fillStyle=p.strokeStyle;for(var C=y.pstyle("width").pfValue,L=0;L+1<x.length;L+=2){var O=[x[L+2]-x[L],x[L+3]-x[L+1]],N=Math.sqrt(O[0]*O[0]+O[1]*O[1]),j=[O[1]/N,-O[0]/N],H=[j[0]*C/2,j[1]*C/2];p.beginPath(),p.moveTo(x[L]-H[0],x[L+1]-H[1]),p.lineTo(x[L]+H[0],x[L+1]+H[1]),p.lineTo(x[L+2],x[L+3]),p.closePath(),p.fill()}},wb.drawArrowheads=function(y,p,x){var C=p._private.rscratch,L=C.edgeType==="haystack";L||this.drawArrowhead(y,p,"source",C.arrowStartX,C.arrowStartY,C.srcArrowAngle,x),this.drawArrowhead(y,p,"mid-target",C.midX,C.midY,C.midtgtArrowAngle,x),this.drawArrowhead(y,p,"mid-source",C.midX,C.midY,C.midsrcArrowAngle,x),L||this.drawArrowhead(y,p,"target",C.arrowEndX,C.arrowEndY,C.tgtArrowAngle,x)},wb.drawArrowhead=function(y,p,x,C,L,O,N){if(!(isNaN(C)||C==null||isNaN(L)||L==null||isNaN(O)||O==null)){var j=this,H=p.pstyle(x+"-arrow-shape").value;if(H!=="none"){var q=p.pstyle(x+"-arrow-fill").value==="hollow"?"both":"filled",W=p.pstyle(x+"-arrow-fill").value,Z=p.pstyle("width").pfValue,st=p.pstyle(x+"-arrow-width"),bt=st.value==="match-line"?Z:st.pfValue;st.units==="%"&&(bt*=Z);var pt=p.pstyle("opacity").value;N===void 0&&(N=pt);var _t=y.globalCompositeOperation;(N!==1||W==="hollow")&&(y.globalCompositeOperation="destination-out",j.colorFillStyle(y,255,255,255,1),j.colorStrokeStyle(y,255,255,255,1),j.drawArrowShape(p,y,q,Z,H,bt,C,L,O),y.globalCompositeOperation=_t);var St=p.pstyle(x+"-arrow-color").value;j.colorFillStyle(y,St[0],St[1],St[2],N),j.colorStrokeStyle(y,St[0],St[1],St[2],N),j.drawArrowShape(p,y,W,Z,H,bt,C,L,O)}}},wb.drawArrowShape=function(y,p,x,C,L,O,N,j,H){var q=this,W=this.usePaths()&&L!=="triangle-cross",Z=!1,st,bt=p,pt={x:N,y:j},_t=y.pstyle("arrow-scale").value,St=this.getArrowWidth(C,_t),Et=q.arrowShapes[L];if(W){var Nt=q.arrowPathCache=q.arrowPathCache||[],Pt=Nd(L),qt=Nt[Pt];qt!=null?(st=p=qt,Z=!0):(st=p=new Path2D,Nt[Pt]=st)}Z||(p.beginPath&&p.beginPath(),W?Et.draw(p,1,0,{x:0,y:0},1):Et.draw(p,St,H,pt,C),p.closePath&&p.closePath()),p=bt,W&&(p.translate(N,j),p.rotate(H),p.scale(St,St)),(x==="filled"||x==="both")&&(W?p.fill(st):p.fill()),(x==="hollow"||x==="both")&&(p.lineWidth=O/(W?St:1),p.lineJoin="miter",W?p.stroke(st):p.stroke()),W&&(p.scale(1/St,1/St),p.rotate(-H),p.translate(-N,-j))};var aE={};aE.safeDrawImage=function(y,p,x,C,L,O,N,j,H,q){if(!(L<=0||O<=0||H<=0||q<=0))try{y.drawImage(p,x,C,L,O,N,j,H,q)}catch(W){Gc(W)}},aE.drawInscribedImage=function(y,p,x,C,L){var O=this,N=x.position(),j=N.x,H=N.y,q=x.cy().style(),W=q.getIndexedStyle.bind(q),Z=W(x,"background-fit","value",C),st=W(x,"background-repeat","value",C),bt=x.width(),pt=x.height(),_t=x.padding()*2,St=bt+(W(x,"background-width-relative-to","value",C)==="inner"?0:_t),Et=pt+(W(x,"background-height-relative-to","value",C)==="inner"?0:_t),Nt=x._private.rscratch,Pt=W(x,"background-clip","value",C),qt=Pt==="node",re=W(x,"background-image-opacity","value",C)*L,ee=W(x,"background-image-smoothing","value",C),Ut=p.width||p.cachedW,de=p.height||p.cachedH;(Ut==null||de==null)&&(document.body.appendChild(p),Ut=p.cachedW=p.width||p.offsetWidth,de=p.cachedH=p.height||p.offsetHeight,document.body.removeChild(p));var Yt=Ut,Ee=de;if(W(x,"background-width","value",C)!=="auto"&&(W(x,"background-width","units",C)==="%"?Yt=W(x,"background-width","pfValue",C)*St:Yt=W(x,"background-width","pfValue",C)),W(x,"background-height","value",C)!=="auto"&&(W(x,"background-height","units",C)==="%"?Ee=W(x,"background-height","pfValue",C)*Et:Ee=W(x,"background-height","pfValue",C)),!(Yt===0||Ee===0)){if(Z==="contain"){var Te=Math.min(St/Yt,Et/Ee);Yt*=Te,Ee*=Te}else if(Z==="cover"){var Te=Math.max(St/Yt,Et/Ee);Yt*=Te,Ee*=Te}var ie=j-St/2,ze=W(x,"background-position-x","units",C),me=W(x,"background-position-x","pfValue",C);ze==="%"?ie+=(St-Yt)*me:ie+=me;var yn=W(x,"background-offset-x","units",C),nn=W(x,"background-offset-x","pfValue",C);yn==="%"?ie+=(St-Yt)*nn:ie+=nn;var qe=H-Et/2,Tn=W(x,"background-position-y","units",C),Xn=W(x,"background-position-y","pfValue",C);Tn==="%"?qe+=(Et-Ee)*Xn:qe+=Xn;var lr=W(x,"background-offset-y","units",C),Sn=W(x,"background-offset-y","pfValue",C);lr==="%"?qe+=(Et-Ee)*Sn:qe+=Sn,Nt.pathCache&&(ie-=j,qe-=H,j=0,H=0);var or=y.globalAlpha;y.globalAlpha=re;var pr=O.getImgSmoothing(y),kr=!1;if(ee==="no"&&pr?(O.setImgSmoothing(y,!1),kr=!0):ee==="yes"&&!pr&&(O.setImgSmoothing(y,!0),kr=!0),st==="no-repeat")qt&&(y.save(),Nt.pathCache?y.clip(Nt.pathCache):(O.nodeShapes[O.getNodeShape(x)].draw(y,j,H,St,Et),y.clip())),O.safeDrawImage(y,p,0,0,Ut,de,ie,qe,Yt,Ee),qt&&y.restore();else{var wr=y.createPattern(p,st);y.fillStyle=wr,O.nodeShapes[O.getNodeShape(x)].draw(y,j,H,St,Et),y.translate(ie,qe),y.fill(),y.translate(-ie,-qe)}y.globalAlpha=or,kr&&O.setImgSmoothing(y,pr)}};var S4={};S4.eleTextBiggerThanMin=function(y,p){if(!p){var x=y.cy().zoom(),C=this.getPixelRatio(),L=Math.ceil(jD(x*C));p=Math.pow(2,L)}var O=y.pstyle("font-size").pfValue*p,N=y.pstyle("min-zoomed-font-size").pfValue;return!(O<N)},S4.drawElementText=function(y,p,x,C,L){var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this;if(C==null){if(O&&!N.eleTextBiggerThanMin(p))return}else if(C===!1)return;if(p.isNode()){var j=p.pstyle("label");if(!j||!j.value)return;var H=N.getLabelJustification(p);y.textAlign=H,y.textBaseline="bottom"}else{var q=p.element()._private.rscratch.badLine,W=p.pstyle("label"),Z=p.pstyle("source-label"),st=p.pstyle("target-label");if(q||(!W||!W.value)&&(!Z||!Z.value)&&(!st||!st.value))return;y.textAlign="center",y.textBaseline="bottom"}var bt=!x,pt;x&&(pt=x,y.translate(-pt.x1,-pt.y1)),L==null?(N.drawText(y,p,null,bt,O),p.isEdge()&&(N.drawText(y,p,"source",bt,O),N.drawText(y,p,"target",bt,O))):N.drawText(y,p,L,bt,O),x&&y.translate(pt.x1,pt.y1)},S4.getFontCache=function(y){var p;this.fontCaches=this.fontCaches||[];for(var x=0;x<this.fontCaches.length;x++)if(p=this.fontCaches[x],p.context===y)return p;return p={context:y},this.fontCaches.push(p),p},S4.setupTextStyle=function(y,p){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,C=p.pstyle("font-style").strValue,L=p.pstyle("font-size").pfValue+"px",O=p.pstyle("font-family").strValue,N=p.pstyle("font-weight").strValue,j=x?p.effectiveOpacity()*p.pstyle("text-opacity").value:1,H=p.pstyle("text-outline-opacity").value*j,q=p.pstyle("color").value,W=p.pstyle("text-outline-color").value;y.font=C+" "+N+" "+L+" "+O,y.lineJoin="round",this.colorFillStyle(y,q[0],q[1],q[2],j),this.colorStrokeStyle(y,W[0],W[1],W[2],H)};function kM(y,p,x,C,L){var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5,N=arguments.length>6?arguments[6]:void 0;y.beginPath(),y.moveTo(p+O,x),y.lineTo(p+C-O,x),y.quadraticCurveTo(p+C,x,p+C,x+O),y.lineTo(p+C,x+L-O),y.quadraticCurveTo(p+C,x+L,p+C-O,x+L),y.lineTo(p+O,x+L),y.quadraticCurveTo(p,x+L,p,x+L-O),y.lineTo(p,x+O),y.quadraticCurveTo(p,x,p+O,x),y.closePath(),N?y.stroke():y.fill()}S4.getTextAngle=function(y,p){var x,C=y._private,L=C.rscratch,O=p?p+"-":"",N=y.pstyle(O+"text-rotation"),j=fb(L,"labelAngle",p);return N.strValue==="autorotate"?x=y.isEdge()?j:0:N.strValue==="none"?x=0:x=N.pfValue,x},S4.drawText=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=p._private,N=O.rscratch,j=L?p.effectiveOpacity():1;if(!(L&&(j===0||p.pstyle("text-opacity").value===0))){x==="main"&&(x=null);var H=fb(N,"labelX",x),q=fb(N,"labelY",x),W,Z,st=this.getLabelText(p,x);if(st!=null&&st!==""&&!isNaN(H)&&!isNaN(q)){this.setupTextStyle(y,p,L);var bt=x?x+"-":"",pt=fb(N,"labelWidth",x),_t=fb(N,"labelHeight",x),St=p.pstyle(bt+"text-margin-x").pfValue,Et=p.pstyle(bt+"text-margin-y").pfValue,Nt=p.isEdge(),Pt=p.pstyle("text-halign").value,qt=p.pstyle("text-valign").value;Nt&&(Pt="center",qt="center"),H+=St,q+=Et;var re;switch(C?re=this.getTextAngle(p,x):re=0,re!==0&&(W=H,Z=q,y.translate(W,Z),y.rotate(re),H=0,q=0),qt){case"top":break;case"center":q+=_t/2;break;case"bottom":q+=_t;break}var ee=p.pstyle("text-background-opacity").value,Ut=p.pstyle("text-border-opacity").value,de=p.pstyle("text-border-width").pfValue,Yt=p.pstyle("text-background-padding").pfValue,Ee=p.pstyle("text-background-shape").strValue,Te=Ee.indexOf("round")===0,ie=2;if(ee>0||de>0&&Ut>0){var ze=H-Yt;switch(Pt){case"left":ze-=pt;break;case"center":ze-=pt/2;break}var me=q-_t-Yt,yn=pt+2*Yt,nn=_t+2*Yt;if(ee>0){var qe=y.fillStyle,Tn=p.pstyle("text-background-color").value;y.fillStyle="rgba("+Tn[0]+","+Tn[1]+","+Tn[2]+","+ee*j+")",Te?kM(y,ze,me,yn,nn,ie):y.fillRect(ze,me,yn,nn),y.fillStyle=qe}if(de>0&&Ut>0){var Xn=y.strokeStyle,lr=y.lineWidth,Sn=p.pstyle("text-border-color").value,or=p.pstyle("text-border-style").value;if(y.strokeStyle="rgba("+Sn[0]+","+Sn[1]+","+Sn[2]+","+Ut*j+")",y.lineWidth=de,y.setLineDash)switch(or){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"double":y.lineWidth=de/4,y.setLineDash([]);break;case"solid":y.setLineDash([]);break}if(Te?kM(y,ze,me,yn,nn,ie,"stroke"):y.strokeRect(ze,me,yn,nn),or==="double"){var pr=de/2;Te?kM(y,ze+pr,me+pr,yn-pr*2,nn-pr*2,ie,"stroke"):y.strokeRect(ze+pr,me+pr,yn-pr*2,nn-pr*2)}y.setLineDash&&y.setLineDash([]),y.lineWidth=lr,y.strokeStyle=Xn}}var kr=2*p.pstyle("text-outline-width").pfValue;if(kr>0&&(y.lineWidth=kr),p.pstyle("text-wrap").value==="wrap"){var wr=fb(N,"labelWrapCachedLines",x),Cr=fb(N,"labelLineHeight",x),$n=pt/2,cr=this.getLabelJustification(p);switch(cr==="auto"||(Pt==="left"?cr==="left"?H+=-pt:cr==="center"&&(H+=-$n):Pt==="center"?cr==="left"?H+=-$n:cr==="right"&&(H+=$n):Pt==="right"&&(cr==="center"?H+=$n:cr==="right"&&(H+=pt))),qt){case"top":q-=(wr.length-1)*Cr;break;case"center":case"bottom":q-=(wr.length-1)*Cr;break}for(var mr=0;mr<wr.length;mr++)kr>0&&y.strokeText(wr[mr],H,q),y.fillText(wr[mr],H,q),q+=Cr}else kr>0&&y.strokeText(st,H,q),y.fillText(st,H,q);re!==0&&(y.rotate(-re),y.translate(-W,-Z))}}};var b6={};b6.drawNode=function(y,p,x){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,j,H,q=p._private,W=q.rscratch,Z=p.position();if(!(!Q(Z.x)||!Q(Z.y))&&!(O&&!p.visible())){var st=O?p.effectiveOpacity():1,bt=N.usePaths(),pt,_t=!1,St=p.padding();j=p.width()+2*St,H=p.height()+2*St;var Et;x&&(Et=x,y.translate(-Et.x1,-Et.y1));for(var Nt=p.pstyle("background-image"),Pt=Nt.value,qt=new Array(Pt.length),re=new Array(Pt.length),ee=0,Ut=0;Ut<Pt.length;Ut++){var de=Pt[Ut],Yt=qt[Ut]=de!=null&&de!=="none";if(Yt){var Ee=p.cy().style().getIndexedStyle(p,"background-image-crossorigin","value",Ut);ee++,re[Ut]=N.getCachedImage(de,Ee,function(){q.backgroundTimestamp=Date.now(),p.emitAndNotify("background")})}}var Te=p.pstyle("background-blacken").value,ie=p.pstyle("border-width").pfValue,ze=p.pstyle("background-opacity").value*st,me=p.pstyle("border-color").value,yn=p.pstyle("border-style").value,nn=p.pstyle("border-opacity").value*st,qe=p.pstyle("outline-width").pfValue,Tn=p.pstyle("outline-color").value,Xn=p.pstyle("outline-style").value,lr=p.pstyle("outline-opacity").value*st,Sn=p.pstyle("outline-offset").value;y.lineJoin="miter";var or=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ze;N.eleFillStyle(y,p,Kn)},pr=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nn;N.colorStrokeStyle(y,me[0],me[1],me[2],Kn)},kr=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr;N.colorStrokeStyle(y,Tn[0],Tn[1],Tn[2],Kn)},wr=function(Kn,G,Vn,gr){var nr=N.nodePathCache=N.nodePathCache||[],Be=Pd(Vn==="polygon"?Vn+","+gr.join(","):Vn,""+G,""+Kn),Ls=nr[Be],hr,us=!1;return Ls!=null?(hr=Ls,us=!0,W.pathCache=hr):(hr=new Path2D,nr[Be]=W.pathCache=hr),{path:hr,cacheHit:us}},Cr=p.pstyle("shape").strValue,$n=p.pstyle("shape-polygon-points").pfValue;if(bt){y.translate(Z.x,Z.y);var cr=wr(j,H,Cr,$n);pt=cr.path,_t=cr.cacheHit}var mr=function(){if(!_t){var Kn=Z;bt&&(Kn={x:0,y:0}),N.nodeShapes[N.getNodeShape(p)].draw(pt||y,Kn.x,Kn.y,j,H)}bt?y.fill(pt):y.fill()},Sr=function(){for(var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:st,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Vn=q.backgrounding,gr=0,nr=0;nr<re.length;nr++){var Be=p.cy().style().getIndexedStyle(p,"background-image-containment","value",nr);if(G&&Be==="over"||!G&&Be==="inside"){gr++;continue}qt[nr]&&re[nr].complete&&!re[nr].error&&(gr++,N.drawInscribedImage(y,re[nr],p,nr,Kn))}q.backgrounding=gr!==ee,Vn!==q.backgrounding&&p.updateStyle(!1)},gi=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:st;N.hasPie(p)&&(N.drawPie(y,p,G),Kn&&(bt||N.nodeShapes[N.getNodeShape(p)].draw(y,Z.x,Z.y,j,H)))},ss=function(){var Kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:st,G=(Te>0?Te:-Te)*Kn,Vn=Te>0?0:255;Te!==0&&(N.colorFillStyle(y,Vn,Vn,Vn,G),bt?y.fill(pt):y.fill())},na=function(){if(ie>0){if(y.lineWidth=ie,y.lineCap="butt",y.setLineDash)switch(yn){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"solid":case"double":y.setLineDash([]);break}if(bt?y.stroke(pt):y.stroke(),yn==="double"){y.lineWidth=ie/3;var Kn=y.globalCompositeOperation;y.globalCompositeOperation="destination-out",bt?y.stroke(pt):y.stroke(),y.globalCompositeOperation=Kn}y.setLineDash&&y.setLineDash([])}},vi=function(){if(qe>0){if(y.lineWidth=qe,y.lineCap="butt",y.setLineDash)switch(Xn){case"dotted":y.setLineDash([1,1]);break;case"dashed":y.setLineDash([4,2]);break;case"solid":case"double":y.setLineDash([]);break}var Kn=Z;bt&&(Kn={x:0,y:0});var G=N.getNodeShape(p),Vn=(j+ie+(qe+Sn))/j,gr=(H+ie+(qe+Sn))/H,nr=j*Vn,Be=H*gr,Ls=N.nodeShapes[G].points,hr;if(bt){var us=wr(nr,Be,G,Ls);hr=us.path}if(G==="ellipse")N.drawEllipsePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(G)){var Ya=0,kc=0,Ca=0;G==="round-diamond"?Ya=(ie+Sn+qe)*1.4:G==="round-heptagon"?(Ya=(ie+Sn+qe)*1.075,Ca=-(ie/2+Sn+qe)/35):G==="round-hexagon"?Ya=(ie+Sn+qe)*1.12:G==="round-pentagon"?(Ya=(ie+Sn+qe)*1.13,Ca=-(ie/2+Sn+qe)/15):G==="round-tag"?(Ya=(ie+Sn+qe)*1.12,kc=(ie/2+qe+Sn)*.07):G==="round-triangle"&&(Ya=(ie+Sn+qe)*(Math.PI/2),Ca=-(ie+Sn/2+qe)/Math.PI),Ya!==0&&(Vn=(j+Ya)/j,gr=(H+Ya)/H),N.drawRoundPolygonPath(hr||y,Kn.x+kc,Kn.y+Ca,j*Vn,H*gr,Ls)}else if(["roundrectangle","round-rectangle"].includes(G))N.drawRoundRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["cutrectangle","cut-rectangle"].includes(G))N.drawCutRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(["bottomroundrectangle","bottom-round-rectangle"].includes(G))N.drawBottomRoundRectanglePath(hr||y,Kn.x,Kn.y,nr,Be);else if(G==="barrel")N.drawBarrelPath(hr||y,Kn.x,Kn.y,nr,Be);else if(G.startsWith("polygon")||["rhomboid","right-rhomboid","round-tag","tag","vee"].includes(G)){var oc=(ie+qe+Sn)/j;Ls=J9(Z9(Ls,oc)),N.drawPolygonPath(hr||y,Kn.x,Kn.y,j,H,Ls)}else{var ra=(ie+qe+Sn)/j;Ls=J9(Z9(Ls,-ra)),N.drawPolygonPath(hr||y,Kn.x,Kn.y,j,H,Ls)}if(bt?y.stroke(hr):y.stroke(),Xn==="double"){y.lineWidth=ie/3;var no=y.globalCompositeOperation;y.globalCompositeOperation="destination-out",bt?y.stroke(hr):y.stroke(),y.globalCompositeOperation=no}y.setLineDash&&y.setLineDash([])}},si=function(){L&&N.drawNodeOverlay(y,p,Z,j,H)},Qi=function(){L&&N.drawNodeUnderlay(y,p,Z,j,H)},ks=function(){N.drawElementText(y,p,null,C)},as=p.pstyle("ghost").value==="yes";if(as){var Es=p.pstyle("ghost-offset-x").pfValue,eo=p.pstyle("ghost-offset-y").pfValue,Ta=p.pstyle("ghost-opacity").value,pa=Ta*st;y.translate(Es,eo),kr(),vi(),or(Ta*ze),mr(),Sr(pa,!0),pr(Ta*nn),na(),gi(Te!==0||ie!==0),Sr(pa,!1),ss(pa),y.translate(-Es,-eo)}bt&&y.translate(-Z.x,-Z.y),Qi(),bt&&y.translate(Z.x,Z.y),kr(),vi(),or(),mr(),Sr(st,!0),pr(),na(),gi(Te!==0||ie!==0),Sr(st,!1),ss(),bt&&y.translate(-Z.x,-Z.y),ks(),si(),x&&y.translate(Et.x1,Et.y1)}};var EM=function(p){if(!["overlay","underlay"].includes(p))throw new Error("Invalid state");return function(x,C,L,O,N){var j=this;if(C.visible()){var H=C.pstyle("".concat(p,"-padding")).pfValue,q=C.pstyle("".concat(p,"-opacity")).value,W=C.pstyle("".concat(p,"-color")).value,Z=C.pstyle("".concat(p,"-shape")).value;if(q>0){if(L=L||C.position(),O==null||N==null){var st=C.padding();O=C.width()+2*st,N=C.height()+2*st}j.colorFillStyle(x,W[0],W[1],W[2],q),j.nodeShapes[Z].draw(x,L.x,L.y,O+H*2,N+H*2),x.fill()}}}};b6.drawNodeOverlay=EM("overlay"),b6.drawNodeUnderlay=EM("underlay"),b6.hasPie=function(y){return y=y[0],y._private.hasPie},b6.drawPie=function(y,p,x,C){p=p[0],C=C||p.position();var L=p.cy().style(),O=p.pstyle("pie-size"),N=C.x,j=C.y,H=p.width(),q=p.height(),W=Math.min(H,q)/2,Z=0,st=this.usePaths();st&&(N=0,j=0),O.units==="%"?W=W*O.pfValue:O.pfValue!==void 0&&(W=O.pfValue/2);for(var bt=1;bt<=L.pieBackgroundN;bt++){var pt=p.pstyle("pie-"+bt+"-background-size").value,_t=p.pstyle("pie-"+bt+"-background-color").value,St=p.pstyle("pie-"+bt+"-background-opacity").value*x,Et=pt/100;Et+Z>1&&(Et=1-Z);var Nt=1.5*Math.PI+2*Math.PI*Z,Pt=2*Math.PI*Et,qt=Nt+Pt;pt===0||Z>=1||Z+Et>1||(y.beginPath(),y.moveTo(N,j),y.arc(N,j,W,Nt,qt),y.closePath(),this.colorFillStyle(y,_t[0],_t[1],_t[2],St),y.fill(),Z+=Et)}};var dg={},Ent=100;dg.getPixelRatio=function(){var y=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var p=y.backingStorePixelRatio||y.webkitBackingStorePixelRatio||y.mozBackingStorePixelRatio||y.msBackingStorePixelRatio||y.oBackingStorePixelRatio||y.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/p},dg.paintCache=function(y){for(var p=this.paintCaches=this.paintCaches||[],x=!0,C,L=0;L<p.length;L++)if(C=p[L],C.context===y){x=!1;break}return x&&(C={context:y},p.push(C)),C},dg.createGradientStyleFor=function(y,p,x,C,L){var O,N=this.usePaths(),j=x.pstyle(p+"-gradient-stop-colors").value,H=x.pstyle(p+"-gradient-stop-positions").pfValue;if(C==="radial-gradient")if(x.isEdge()){var q=x.sourceEndpoint(),W=x.targetEndpoint(),Z=x.midpoint(),st=w4(q,Z),bt=w4(W,Z);O=y.createRadialGradient(Z.x,Z.y,0,Z.x,Z.y,Math.max(st,bt))}else{var pt=N?{x:0,y:0}:x.position(),_t=x.paddedWidth(),St=x.paddedHeight();O=y.createRadialGradient(pt.x,pt.y,0,pt.x,pt.y,Math.max(_t,St))}else if(x.isEdge()){var Et=x.sourceEndpoint(),Nt=x.targetEndpoint();O=y.createLinearGradient(Et.x,Et.y,Nt.x,Nt.y)}else{var Pt=N?{x:0,y:0}:x.position(),qt=x.paddedWidth(),re=x.paddedHeight(),ee=qt/2,Ut=re/2,de=x.pstyle("background-gradient-direction").value;switch(de){case"to-bottom":O=y.createLinearGradient(Pt.x,Pt.y-Ut,Pt.x,Pt.y+Ut);break;case"to-top":O=y.createLinearGradient(Pt.x,Pt.y+Ut,Pt.x,Pt.y-Ut);break;case"to-left":O=y.createLinearGradient(Pt.x+ee,Pt.y,Pt.x-ee,Pt.y);break;case"to-right":O=y.createLinearGradient(Pt.x-ee,Pt.y,Pt.x+ee,Pt.y);break;case"to-bottom-right":case"to-right-bottom":O=y.createLinearGradient(Pt.x-ee,Pt.y-Ut,Pt.x+ee,Pt.y+Ut);break;case"to-top-right":case"to-right-top":O=y.createLinearGradient(Pt.x-ee,Pt.y+Ut,Pt.x+ee,Pt.y-Ut);break;case"to-bottom-left":case"to-left-bottom":O=y.createLinearGradient(Pt.x+ee,Pt.y-Ut,Pt.x-ee,Pt.y+Ut);break;case"to-top-left":case"to-left-top":O=y.createLinearGradient(Pt.x+ee,Pt.y+Ut,Pt.x-ee,Pt.y-Ut);break}}if(!O)return null;for(var Yt=H.length===j.length,Ee=j.length,Te=0;Te<Ee;Te++)O.addColorStop(Yt?H[Te]:Te/(Ee-1),"rgba("+j[Te][0]+","+j[Te][1]+","+j[Te][2]+","+L+")");return O},dg.gradientFillStyle=function(y,p,x,C){var L=this.createGradientStyleFor(y,"background",p,x,C);if(!L)return null;y.fillStyle=L},dg.colorFillStyle=function(y,p,x,C,L){y.fillStyle="rgba("+p+","+x+","+C+","+L+")"},dg.eleFillStyle=function(y,p,x){var C=p.pstyle("background-fill").value;if(C==="linear-gradient"||C==="radial-gradient")this.gradientFillStyle(y,p,C,x);else{var L=p.pstyle("background-color").value;this.colorFillStyle(y,L[0],L[1],L[2],x)}},dg.gradientStrokeStyle=function(y,p,x,C){var L=this.createGradientStyleFor(y,"line",p,x,C);if(!L)return null;y.strokeStyle=L},dg.colorStrokeStyle=function(y,p,x,C,L){y.strokeStyle="rgba("+p+","+x+","+C+","+L+")"},dg.eleStrokeStyle=function(y,p,x){var C=p.pstyle("line-fill").value;if(C==="linear-gradient"||C==="radial-gradient")this.gradientStrokeStyle(y,p,C,x);else{var L=p.pstyle("line-color").value;this.colorStrokeStyle(y,L[0],L[1],L[2],x)}},dg.matchCanvasSize=function(y){var p=this,x=p.data,C=p.findContainerClientCoords(),L=C[2],O=C[3],N=p.getPixelRatio(),j=p.motionBlurPxRatio;(y===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_NODE]||y===p.data.bufferCanvases[p.MOTIONBLUR_BUFFER_DRAG])&&(N=j);var H=L*N,q=O*N,W;if(!(H===p.canvasWidth&&q===p.canvasHeight)){p.fontCaches=null;var Z=x.canvasContainer;Z.style.width=L+"px",Z.style.height=O+"px";for(var st=0;st<p.CANVAS_LAYERS;st++)W=x.canvases[st],W.width=H,W.height=q,W.style.width=L+"px",W.style.height=O+"px";for(var st=0;st<p.BUFFER_COUNT;st++)W=x.bufferCanvases[st],W.width=H,W.height=q,W.style.width=L+"px",W.style.height=O+"px";p.textureMult=1,N<=1&&(W=x.bufferCanvases[p.TEXTURE_BUFFER],p.textureMult=2,W.width=H*p.textureMult,W.height=q*p.textureMult),p.canvasWidth=H,p.canvasHeight=q}},dg.renderTo=function(y,p,x,C){this.render({forcedContext:y,forcedZoom:p,forcedPan:x,drawAllLayers:!0,forcedPxRatio:C})},dg.render=function(y){y=y||IB();var p=y.forcedContext,x=y.drawAllLayers,C=y.drawOnlyNodeLayer,L=y.forcedZoom,O=y.forcedPan,N=this,j=y.forcedPxRatio===void 0?this.getPixelRatio():y.forcedPxRatio,H=N.cy,q=N.data,W=q.canvasNeedsRedraw,Z=N.textureOnViewport&&!p&&(N.pinching||N.hoverData.dragging||N.swipePanning||N.data.wheelZooming),st=y.motionBlur!==void 0?y.motionBlur:N.motionBlur,bt=N.motionBlurPxRatio,pt=H.hasCompoundNodes(),_t=N.hoverData.draggingEles,St=!!(N.hoverData.selecting||N.touchData.selecting);st=st&&!p&&N.motionBlurEnabled&&!St;var Et=st;p||(N.prevPxRatio!==j&&(N.invalidateContainerClientCoordsCache(),N.matchCanvasSize(N.container),N.redrawHint("eles",!0),N.redrawHint("drag",!0)),N.prevPxRatio=j),!p&&N.motionBlurTimeout&&clearTimeout(N.motionBlurTimeout),st&&(N.mbFrames==null&&(N.mbFrames=0),N.mbFrames++,N.mbFrames<3&&(Et=!1),N.mbFrames>N.minMbLowQualFrames&&(N.motionBlurPxRatio=N.mbPxRBlurry)),N.clearingMotionBlur&&(N.motionBlurPxRatio=1),N.textureDrawLastFrame&&!Z&&(W[N.NODE]=!0,W[N.SELECT_BOX]=!0);var Nt=H.style(),Pt=H.zoom(),qt=L!==void 0?L:Pt,re=H.pan(),ee={x:re.x,y:re.y},Ut={zoom:Pt,pan:{x:re.x,y:re.y}},de=N.prevViewport,Yt=de===void 0||Ut.zoom!==de.zoom||Ut.pan.x!==de.pan.x||Ut.pan.y!==de.pan.y;!Yt&&!(_t&&!pt)&&(N.motionBlurPxRatio=1),O&&(ee=O),qt*=j,ee.x*=j,ee.y*=j;var Ee=N.getCachedZSortedEles();function Te(vi,si,Qi,ks,as){var Es=vi.globalCompositeOperation;vi.globalCompositeOperation="destination-out",N.colorFillStyle(vi,255,255,255,N.motionBlurTransparency),vi.fillRect(si,Qi,ks,as),vi.globalCompositeOperation=Es}function ie(vi,si){var Qi,ks,as,Es;!N.clearingMotionBlur&&(vi===q.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]||vi===q.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG])?(Qi={x:re.x*bt,y:re.y*bt},ks=Pt*bt,as=N.canvasWidth*bt,Es=N.canvasHeight*bt):(Qi=ee,ks=qt,as=N.canvasWidth,Es=N.canvasHeight),vi.setTransform(1,0,0,1,0,0),si==="motionBlur"?Te(vi,0,0,as,Es):!p&&(si===void 0||si)&&vi.clearRect(0,0,as,Es),x||(vi.translate(Qi.x,Qi.y),vi.scale(ks,ks)),O&&vi.translate(O.x,O.y),L&&vi.scale(L,L)}if(Z||(N.textureDrawLastFrame=!1),Z){if(N.textureDrawLastFrame=!0,!N.textureCache){N.textureCache={},N.textureCache.bb=H.mutableElements().boundingBox(),N.textureCache.texture=N.data.bufferCanvases[N.TEXTURE_BUFFER];var ze=N.data.bufferContexts[N.TEXTURE_BUFFER];ze.setTransform(1,0,0,1,0,0),ze.clearRect(0,0,N.canvasWidth*N.textureMult,N.canvasHeight*N.textureMult),N.render({forcedContext:ze,drawOnlyNodeLayer:!0,forcedPxRatio:j*N.textureMult});var Ut=N.textureCache.viewport={zoom:H.zoom(),pan:H.pan(),width:N.canvasWidth,height:N.canvasHeight};Ut.mpan={x:(0-Ut.pan.x)/Ut.zoom,y:(0-Ut.pan.y)/Ut.zoom}}W[N.DRAG]=!1,W[N.NODE]=!1;var me=q.contexts[N.NODE],yn=N.textureCache.texture,Ut=N.textureCache.viewport;me.setTransform(1,0,0,1,0,0),st?Te(me,0,0,Ut.width,Ut.height):me.clearRect(0,0,Ut.width,Ut.height);var nn=Nt.core("outside-texture-bg-color").value,qe=Nt.core("outside-texture-bg-opacity").value;N.colorFillStyle(me,nn[0],nn[1],nn[2],qe),me.fillRect(0,0,Ut.width,Ut.height);var Pt=H.zoom();ie(me,!1),me.clearRect(Ut.mpan.x,Ut.mpan.y,Ut.width/Ut.zoom/j,Ut.height/Ut.zoom/j),me.drawImage(yn,Ut.mpan.x,Ut.mpan.y,Ut.width/Ut.zoom/j,Ut.height/Ut.zoom/j)}else N.textureOnViewport&&!p&&(N.textureCache=null);var Tn=H.extent(),Xn=N.pinching||N.hoverData.dragging||N.swipePanning||N.data.wheelZooming||N.hoverData.draggingEles||N.cy.animated(),lr=N.hideEdgesOnViewport&&Xn,Sn=[];if(Sn[N.NODE]=!W[N.NODE]&&st&&!N.clearedForMotionBlur[N.NODE]||N.clearingMotionBlur,Sn[N.NODE]&&(N.clearedForMotionBlur[N.NODE]=!0),Sn[N.DRAG]=!W[N.DRAG]&&st&&!N.clearedForMotionBlur[N.DRAG]||N.clearingMotionBlur,Sn[N.DRAG]&&(N.clearedForMotionBlur[N.DRAG]=!0),W[N.NODE]||x||C||Sn[N.NODE]){var or=st&&!Sn[N.NODE]&&bt!==1,me=p||(or?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]:q.contexts[N.NODE]),pr=st&&!or?"motionBlur":void 0;ie(me,pr),lr?N.drawCachedNodes(me,Ee.nondrag,j,Tn):N.drawLayeredElements(me,Ee.nondrag,j,Tn),N.debug&&N.drawDebugPoints(me,Ee.nondrag),!x&&!st&&(W[N.NODE]=!1)}if(!C&&(W[N.DRAG]||x||Sn[N.DRAG])){var or=st&&!Sn[N.DRAG]&&bt!==1,me=p||(or?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG]:q.contexts[N.DRAG]);ie(me,st&&!or?"motionBlur":void 0),lr?N.drawCachedNodes(me,Ee.drag,j,Tn):N.drawCachedElements(me,Ee.drag,j,Tn),N.debug&&N.drawDebugPoints(me,Ee.drag),!x&&!st&&(W[N.DRAG]=!1)}if(N.showFps||!C&&W[N.SELECT_BOX]&&!x){var me=p||q.contexts[N.SELECT_BOX];if(ie(me),N.selection[4]==1&&(N.hoverData.selecting||N.touchData.selecting)){var Pt=N.cy.zoom(),kr=Nt.core("selection-box-border-width").value/Pt;me.lineWidth=kr,me.fillStyle="rgba("+Nt.core("selection-box-color").value[0]+","+Nt.core("selection-box-color").value[1]+","+Nt.core("selection-box-color").value[2]+","+Nt.core("selection-box-opacity").value+")",me.fillRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]),kr>0&&(me.strokeStyle="rgba("+Nt.core("selection-box-border-color").value[0]+","+Nt.core("selection-box-border-color").value[1]+","+Nt.core("selection-box-border-color").value[2]+","+Nt.core("selection-box-opacity").value+")",me.strokeRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]))}if(q.bgActivePosistion&&!N.hoverData.selecting){var Pt=N.cy.zoom(),wr=q.bgActivePosistion;me.fillStyle="rgba("+Nt.core("active-bg-color").value[0]+","+Nt.core("active-bg-color").value[1]+","+Nt.core("active-bg-color").value[2]+","+Nt.core("active-bg-opacity").value+")",me.beginPath(),me.arc(wr.x,wr.y,Nt.core("active-bg-size").pfValue/Pt,0,2*Math.PI),me.fill()}var Cr=N.lastRedrawTime;if(N.showFps&&Cr){Cr=Math.round(Cr);var $n=Math.round(1e3/Cr);me.setTransform(1,0,0,1,0,0),me.fillStyle="rgba(255, 0, 0, 0.75)",me.strokeStyle="rgba(255, 0, 0, 0.75)",me.lineWidth=1,me.fillText("1 frame = "+Cr+" ms = "+$n+" fps",0,20);var cr=60;me.strokeRect(0,30,250,20),me.fillRect(0,30,250*Math.min($n/cr,1),20)}x||(W[N.SELECT_BOX]=!1)}if(st&&bt!==1){var mr=q.contexts[N.NODE],Sr=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_NODE],gi=q.contexts[N.DRAG],ss=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_DRAG],na=function(si,Qi,ks){si.setTransform(1,0,0,1,0,0),ks||!Et?si.clearRect(0,0,N.canvasWidth,N.canvasHeight):Te(si,0,0,N.canvasWidth,N.canvasHeight);var as=bt;si.drawImage(Qi,0,0,N.canvasWidth*as,N.canvasHeight*as,0,0,N.canvasWidth,N.canvasHeight)};(W[N.NODE]||Sn[N.NODE])&&(na(mr,Sr,Sn[N.NODE]),W[N.NODE]=!1),(W[N.DRAG]||Sn[N.DRAG])&&(na(gi,ss,Sn[N.DRAG]),W[N.DRAG]=!1)}N.prevViewport=Ut,N.clearingMotionBlur&&(N.clearingMotionBlur=!1,N.motionBlurCleared=!0,N.motionBlur=!0),st&&(N.motionBlurTimeout=setTimeout(function(){N.motionBlurTimeout=null,N.clearedForMotionBlur[N.NODE]=!1,N.clearedForMotionBlur[N.DRAG]=!1,N.motionBlur=!1,N.clearingMotionBlur=!Z,N.mbFrames=0,W[N.NODE]=!0,W[N.DRAG]=!0,N.redraw()},Ent)),p||H.emit("render")};var gy={};gy.drawPolygonPath=function(y,p,x,C,L,O){var N=C/2,j=L/2;y.beginPath&&y.beginPath(),y.moveTo(p+N*O[0],x+j*O[1]);for(var H=1;H<O.length/2;H++)y.lineTo(p+N*O[H*2],x+j*O[H*2+1]);y.closePath()},gy.drawRoundPolygonPath=function(y,p,x,C,L,O){var N=C/2,j=L/2,H=HD(C,L);y.beginPath&&y.beginPath();for(var q=0;q<O.length/4;q++){var W=void 0,Z=void 0;q===0?W=O.length-2:W=q*4-2,Z=q*4+2;var st=p+N*O[q*4],bt=x+j*O[q*4+1],pt=-O[W]*O[Z]-O[W+1]*O[Z+1],_t=H/Math.tan(Math.acos(pt)/2),St=st-_t*O[W],Et=bt-_t*O[W+1],Nt=st+_t*O[Z],Pt=bt+_t*O[Z+1];q===0?y.moveTo(St,Et):y.lineTo(St,Et),y.arcTo(st,bt,Nt,Pt,H)}y.closePath()},gy.drawRoundRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=R8(C,L);y.beginPath&&y.beginPath(),y.moveTo(p,x-N),y.arcTo(p+O,x-N,p+O,x,j),y.arcTo(p+O,x+N,p,x+N,j),y.arcTo(p-O,x+N,p-O,x,j),y.arcTo(p-O,x-N,p,x-N,j),y.lineTo(p,x-N),y.closePath()},gy.drawBottomRoundRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=R8(C,L);y.beginPath&&y.beginPath(),y.moveTo(p,x-N),y.lineTo(p+O,x-N),y.lineTo(p+O,x),y.arcTo(p+O,x+N,p,x+N,j),y.arcTo(p-O,x+N,p-O,x,j),y.lineTo(p-O,x-N),y.lineTo(p,x-N),y.closePath()},gy.drawCutRectanglePath=function(y,p,x,C,L){var O=C/2,N=L/2,j=qB();y.beginPath&&y.beginPath(),y.moveTo(p-O+j,x-N),y.lineTo(p+O-j,x-N),y.lineTo(p+O,x-N+j),y.lineTo(p+O,x+N-j),y.lineTo(p+O-j,x+N),y.lineTo(p-O+j,x+N),y.lineTo(p-O,x+N-j),y.lineTo(p-O,x-N+j),y.closePath()},gy.drawBarrelPath=function(y,p,x,C,L){var O=C/2,N=L/2,j=p-O,H=p+O,q=x-N,W=x+N,Z=VD(C,L),st=Z.widthOffset,bt=Z.heightOffset,pt=Z.ctrlPtOffsetPct*st;y.beginPath&&y.beginPath(),y.moveTo(j,q+bt),y.lineTo(j,W-bt),y.quadraticCurveTo(j+pt,W,j+st,W),y.lineTo(H-st,W),y.quadraticCurveTo(H-pt,W,H,W-bt),y.lineTo(H,q+bt),y.quadraticCurveTo(H-pt,q,H-st,q),y.lineTo(j+st,q),y.quadraticCurveTo(j+pt,q,j,q+bt),y.closePath()};for(var Vj=Math.sin(0),Uj=Math.cos(0),TM={},CM={},Gj=Math.PI/40,w6=0*Math.PI;w6<2*Math.PI;w6+=Gj)TM[w6]=Math.sin(w6),CM[w6]=Math.cos(w6);gy.drawEllipsePath=function(y,p,x,C,L){if(y.beginPath&&y.beginPath(),y.ellipse)y.ellipse(p,x,C/2,L/2,0,0,2*Math.PI);else for(var O,N,j=C/2,H=L/2,q=0*Math.PI;q<2*Math.PI;q+=Gj)O=p-j*TM[q]*Vj+j*CM[q]*Uj,N=x+H*CM[q]*Vj+H*TM[q]*Uj,q===0?y.moveTo(O,N):y.lineTo(O,N);y.closePath()};var oE={};oE.createBuffer=function(y,p){var x=document.createElement("canvas");return x.width=y,x.height=p,[x,x.getContext("2d")]},oE.bufferCanvasImage=function(y){var p=this.cy,x=p.mutableElements(),C=x.boundingBox(),L=this.findContainerClientCoords(),O=y.full?Math.ceil(C.w):L[2],N=y.full?Math.ceil(C.h):L[3],j=Q(y.maxWidth)||Q(y.maxHeight),H=this.getPixelRatio(),q=1;if(y.scale!==void 0)O*=y.scale,N*=y.scale,q=y.scale;else if(j){var W=1/0,Z=1/0;Q(y.maxWidth)&&(W=q*y.maxWidth/O),Q(y.maxHeight)&&(Z=q*y.maxHeight/N),q=Math.min(W,Z),O*=q,N*=q}j||(O*=H,N*=H,q*=H);var st=document.createElement("canvas");st.width=O,st.height=N,st.style.width=O+"px",st.style.height=N+"px";var bt=st.getContext("2d");if(O>0&&N>0){bt.clearRect(0,0,O,N),bt.globalCompositeOperation="source-over";var pt=this.getCachedZSortedEles();if(y.full)bt.translate(-C.x1*q,-C.y1*q),bt.scale(q,q),this.drawElements(bt,pt),bt.scale(1/q,1/q),bt.translate(C.x1*q,C.y1*q);else{var _t=p.pan(),St={x:_t.x*q,y:_t.y*q};q*=p.zoom(),bt.translate(St.x,St.y),bt.scale(q,q),this.drawElements(bt,pt),bt.scale(1/q,1/q),bt.translate(-St.x,-St.y)}y.bg&&(bt.globalCompositeOperation="destination-over",bt.fillStyle=y.bg,bt.rect(0,0,O,N),bt.fill())}return st};function Tnt(y,p){for(var x=atob(y),C=new ArrayBuffer(x.length),L=new Uint8Array(C),O=0;O<x.length;O++)L[O]=x.charCodeAt(O);return new Blob([C],{type:p})}function Kj(y){var p=y.indexOf(",");return y.substr(p+1)}function Wj(y,p,x){var C=function(){return p.toDataURL(x,y.quality)};switch(y.output){case"blob-promise":return new e6(function(L,O){try{p.toBlob(function(N){N!=null?L(N):O(new Error("`canvas.toBlob()` sent a null value in its callback"))},x,y.quality)}catch(N){O(N)}});case"blob":return Tnt(Kj(C()),x);case"base64":return Kj(C());case"base64uri":default:return C()}}oE.png=function(y){return Wj(y,this.bufferCanvasImage(y),"image/png")},oE.jpg=function(y){return Wj(y,this.bufferCanvasImage(y),"image/jpeg")};var Yj={};Yj.nodeShapeImpl=function(y,p,x,C,L,O,N){switch(y){case"ellipse":return this.drawEllipsePath(p,x,C,L,O);case"polygon":return this.drawPolygonPath(p,x,C,L,O,N);case"round-polygon":return this.drawRoundPolygonPath(p,x,C,L,O,N);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(p,x,C,L,O);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(p,x,C,L,O);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(p,x,C,L,O);case"barrel":return this.drawBarrelPath(p,x,C,L,O)}};var Xj=cE,xc=cE.prototype;xc.CANVAS_LAYERS=3,xc.SELECT_BOX=0,xc.DRAG=1,xc.NODE=2,xc.BUFFER_COUNT=3,xc.TEXTURE_BUFFER=0,xc.MOTIONBLUR_BUFFER_NODE=1,xc.MOTIONBLUR_BUFFER_DRAG=2;function cE(y){var p=this;p.data={canvases:new Array(xc.CANVAS_LAYERS),contexts:new Array(xc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(xc.CANVAS_LAYERS),bufferCanvases:new Array(xc.BUFFER_COUNT),bufferContexts:new Array(xc.CANVAS_LAYERS)};var x="-webkit-tap-highlight-color",C="rgba(0,0,0,0)";p.data.canvasContainer=document.createElement("div");var L=p.data.canvasContainer.style;p.data.canvasContainer.style[x]=C,L.position="relative",L.zIndex="0",L.overflow="hidden";var O=y.cy.container();O.appendChild(p.data.canvasContainer),O.style[x]=C;var N={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Fe()&&(N["-ms-touch-action"]="none",N["touch-action"]="none");for(var j=0;j<xc.CANVAS_LAYERS;j++){var H=p.data.canvases[j]=document.createElement("canvas");p.data.contexts[j]=H.getContext("2d"),Object.keys(N).forEach(function(Cr){H.style[Cr]=N[Cr]}),H.style.position="absolute",H.setAttribute("data-id","layer"+j),H.style.zIndex=String(xc.CANVAS_LAYERS-j),p.data.canvasContainer.appendChild(H),p.data.canvasNeedsRedraw[j]=!1}p.data.topCanvas=p.data.canvases[0],p.data.canvases[xc.NODE].setAttribute("data-id","layer"+xc.NODE+"-node"),p.data.canvases[xc.SELECT_BOX].setAttribute("data-id","layer"+xc.SELECT_BOX+"-selectbox"),p.data.canvases[xc.DRAG].setAttribute("data-id","layer"+xc.DRAG+"-drag");for(var j=0;j<xc.BUFFER_COUNT;j++)p.data.bufferCanvases[j]=document.createElement("canvas"),p.data.bufferContexts[j]=p.data.bufferCanvases[j].getContext("2d"),p.data.bufferCanvases[j].style.position="absolute",p.data.bufferCanvases[j].setAttribute("data-id","buffer"+j),p.data.bufferCanvases[j].style.zIndex=String(-j-1),p.data.bufferCanvases[j].style.visibility="hidden";p.pathsEnabled=!0;var q=v0(),W=function($n){return{x:($n.x1+$n.x2)/2,y:($n.y1+$n.y2)/2}},Z=function($n){return{x:-$n.w/2,y:-$n.h/2}},st=function($n){var cr=$n[0]._private,mr=cr.oldBackgroundTimestamp===cr.backgroundTimestamp;return!mr},bt=function($n){return $n[0]._private.nodeKey},pt=function($n){return $n[0]._private.labelStyleKey},_t=function($n){return $n[0]._private.sourceLabelStyleKey},St=function($n){return $n[0]._private.targetLabelStyleKey},Et=function($n,cr,mr,Sr,gi){return p.drawElement($n,cr,mr,!1,!1,gi)},Nt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"main",gi)},Pt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"source",gi)},qt=function($n,cr,mr,Sr,gi){return p.drawElementText($n,cr,mr,Sr,"target",gi)},re=function($n){return $n.boundingBox(),$n[0]._private.bodyBounds},ee=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.main||q},Ut=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.source||q},de=function($n){return $n.boundingBox(),$n[0]._private.labelBounds.target||q},Yt=function($n,cr){return cr},Ee=function($n){return W(re($n))},Te=function($n,cr,mr){var Sr=$n?$n+"-":"";return{x:cr.x+mr.pstyle(Sr+"text-margin-x").pfValue,y:cr.y+mr.pstyle(Sr+"text-margin-y").pfValue}},ie=function($n,cr,mr){var Sr=$n[0]._private.rscratch;return{x:Sr[cr],y:Sr[mr]}},ze=function($n){return Te("",ie($n,"labelX","labelY"),$n)},me=function($n){return Te("source",ie($n,"sourceLabelX","sourceLabelY"),$n)},yn=function($n){return Te("target",ie($n,"targetLabelX","targetLabelY"),$n)},nn=function($n){return Z(re($n))},qe=function($n){return Z(Ut($n))},Tn=function($n){return Z(de($n))},Xn=function($n){var cr=ee($n),mr=Z(ee($n));if($n.isNode()){switch($n.pstyle("text-halign").value){case"left":mr.x=-cr.w;break;case"right":mr.x=0;break}switch($n.pstyle("text-valign").value){case"top":mr.y=-cr.h;break;case"bottom":mr.y=0;break}}return mr},lr=p.data.eleTxrCache=new rE(p,{getKey:bt,doesEleInvalidateKey:st,drawElement:Et,getBoundingBox:re,getRotationPoint:Ee,getRotationOffset:nn,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),Sn=p.data.lblTxrCache=new rE(p,{getKey:pt,drawElement:Nt,getBoundingBox:ee,getRotationPoint:ze,getRotationOffset:Xn,isVisible:Yt}),or=p.data.slbTxrCache=new rE(p,{getKey:_t,drawElement:Pt,getBoundingBox:Ut,getRotationPoint:me,getRotationOffset:qe,isVisible:Yt}),pr=p.data.tlbTxrCache=new rE(p,{getKey:St,drawElement:qt,getBoundingBox:de,getRotationPoint:yn,getRotationOffset:Tn,isVisible:Yt}),kr=p.data.lyrTxrCache=new Bj(p);p.onUpdateEleCalcs(function($n,cr){lr.invalidateElements(cr),Sn.invalidateElements(cr),or.invalidateElements(cr),pr.invalidateElements(cr),kr.invalidateElements(cr);for(var mr=0;mr<cr.length;mr++){var Sr=cr[mr]._private;Sr.oldBackgroundTimestamp=Sr.backgroundTimestamp}});var wr=function($n){for(var cr=0;cr<$n.length;cr++)kr.enqueueElementRefinement($n[cr].ele)};lr.onDequeue(wr),Sn.onDequeue(wr),or.onDequeue(wr),pr.onDequeue(wr)}xc.redrawHint=function(y,p){var x=this;switch(y){case"eles":x.data.canvasNeedsRedraw[xc.NODE]=p;break;case"drag":x.data.canvasNeedsRedraw[xc.DRAG]=p;break;case"select":x.data.canvasNeedsRedraw[xc.SELECT_BOX]=p;break}};var uE=typeof Path2D<"u";xc.path2dEnabled=function(y){if(y===void 0)return this.pathsEnabled;this.pathsEnabled=!!y},xc.usePaths=function(){return uE&&this.pathsEnabled},xc.setImgSmoothing=function(y,p){y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled=p:(y.webkitImageSmoothingEnabled=p,y.mozImageSmoothingEnabled=p,y.msImageSmoothingEnabled=p)},xc.getImgSmoothing=function(y){return y.imageSmoothingEnabled!=null?y.imageSmoothingEnabled:y.webkitImageSmoothingEnabled||y.mozImageSmoothingEnabled||y.msImageSmoothingEnabled},xc.makeOffscreenCanvas=function(y,p){var x;return(typeof OffscreenCanvas>"u"?"undefined":f(OffscreenCanvas))!=="undefined"?x=new OffscreenCanvas(y,p):(x=document.createElement("canvas"),x.width=y,x.height=p),x},[jj,bb,wb,aE,S4,b6,dg,gy,oE,Yj].forEach(function(y){we(xc,y)});var cp=[{name:"null",impl:mj},{name:"base",impl:Dj},{name:"canvas",impl:Xj}],Cnt=[{type:"layout",extensions:Vet},{type:"renderer",extensions:cp}],Snt={},_nt={};function Ant(y,p,x){var C=x,L=function(de){Gc("Can not register `"+p+"` for `"+y+"` since `"+de+"` already exists in the prototype and can not be overridden")};if(y==="core"){if(tE.prototype[p])return L(p);tE.prototype[p]=x}else if(y==="collection"){if(w1.prototype[p])return L(p);w1.prototype[p]=x}else if(y==="layout"){for(var O=function(de){this.options=de,x.call(this,de),it(this._private)||(this._private={}),this._private.cy=de.cy,this._private.listeners=[],this.createEmitter()},N=O.prototype=Object.create(x.prototype),j=[],H=0;H<j.length;H++){var q=j[H];N[q]=N[q]||function(){return this}}N.start&&!N.run?N.run=function(){return this.start(),this}:!N.start&&N.run&&(N.start=function(){return this.run(),this});var W=x.prototype.stop;N.stop=function(){var Ut=this.options;if(Ut&&Ut.animate){var de=this.animations;if(de)for(var Yt=0;Yt<de.length;Yt++)de[Yt].stop()}return W?W.call(this):this.emit("layoutstop"),this},N.destroy||(N.destroy=function(){return this}),N.cy=function(){return this._private.cy};var Z=function(de){return de._private.cy},st={addEventFields:function(de,Yt){Yt.layout=de,Yt.cy=Z(de),Yt.target=de},bubble:function(){return!0},parent:function(de){return Z(de)}};we(N,{createEmitter:function(){return this._private.emitter=new dC(st,this),this},emitter:function(){return this._private.emitter},on:function(de,Yt){return this.emitter().on(de,Yt),this},one:function(de,Yt){return this.emitter().one(de,Yt),this},once:function(de,Yt){return this.emitter().one(de,Yt),this},removeListener:function(de,Yt){return this.emitter().removeListener(de,Yt),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(de,Yt){return this.emitter().emit(de,Yt),this}}),Kc.eventAliasesOn(N),C=O}else if(y==="renderer"&&p!=="null"&&p!=="base"){var bt=Lnt("renderer","base"),pt=bt.prototype,_t=x,St=x.prototype,Et=function(){bt.apply(this,arguments),_t.apply(this,arguments)},Nt=Et.prototype;for(var Pt in pt){var qt=pt[Pt],re=St[Pt]!=null;if(re)return L(Pt);Nt[Pt]=qt}for(var ee in St)Nt[ee]=St[ee];pt.clientFunctions.forEach(function(Ut){Nt[Ut]=Nt[Ut]||function(){$l("Renderer does not implement `renderer."+Ut+"()` on its prototype")}}),C=Et}else if(y==="__proto__"||y==="constructor"||y==="prototype")return $l(y+" is an illegal type to be registered, possibly lead to prototype pollutions");return An({map:Snt,keys:[y,p],value:C})}function Lnt(y,p){return Nn({map:Snt,keys:[y,p]})}function Qj(y,p,x,C,L){return An({map:_nt,keys:[y,p,x,C],value:L})}function L2t(y,p,x,C){return Nn({map:_nt,keys:[y,p,x,C]})}var Jj=function(){if(arguments.length===2)return Lnt.apply(null,arguments);if(arguments.length===3)return Ant.apply(null,arguments);if(arguments.length===4)return L2t.apply(null,arguments);if(arguments.length===5)return Qj.apply(null,arguments);$l("Invalid extension access syntax")};tE.prototype.extension=Jj,Cnt.forEach(function(y){y.extensions.forEach(function(p){Ant(y.type,p.name,p.impl)})});var Dnt=function y(){if(!(this instanceof y))return new y;this.length=0},m6=Dnt.prototype;m6.instanceString=function(){return"stylesheet"},m6.selector=function(y){var p=this.length++;return this[p]={selector:y,properties:[]},this},m6.css=function(y,p){var x=this.length-1;if(mt(y))this[x].properties.push({name:y,value:p});else if(it(y))for(var C=y,L=Object.keys(C),O=0;O<L.length;O++){var N=L[O],j=C[N];if(j!=null){var H=Y1.properties[N]||Y1.properties[Ae(N)];if(H!=null){var q=H.name,W=j;this[x].properties.push({name:q,value:W})}}}return this},m6.style=m6.css,m6.generateStyle=function(y){var p=new Y1(y);return this.appendToStyle(p)},m6.appendToStyle=function(y){for(var p=0;p<this.length;p++){var x=this[p],C=x.selector,L=x.properties;y.selector(C);for(var O=0;O<L.length;O++){var N=L[O];y.css(N.name,N.value)}}return y};var D2t="3.28.1",v6=function(p){if(p===void 0&&(p={}),it(p))return new tE(p);if(mt(p))return Jj.apply(Jj,arguments)};return v6.use=function(y){var p=Array.prototype.slice.call(arguments,1);return p.unshift(v6),y.apply(null,p),this},v6.warnings=function(y){return U9(y)},v6.version=D2t,v6.stylesheet=v6.Stylesheet=Dnt,v6})})(GHt);var een=GHt.exports;const KHt=e9(een);var WHt={exports:{}},p2t={exports:{}},b2t={exports:{}},YHt;function nen(){return YHt||(YHt=1,function(i,a){(function(g,w){i.exports=w()})(Z0,function(){return function(f){var g={};function w(v){if(g[v])return g[v].exports;var b=g[v]={i:v,l:!1,exports:{}};return f[v].call(b.exports,b,b.exports,w),b.l=!0,b.exports}return w.m=f,w.c=g,w.i=function(v){return v},w.d=function(v,b,E){w.o(v,b)||Object.defineProperty(v,b,{configurable:!1,enumerable:!0,get:E})},w.n=function(v){var b=v&&v.__esModule?function(){return v.default}:function(){return v};return w.d(b,"a",b),b},w.o=function(v,b){return Object.prototype.hasOwnProperty.call(v,b)},w.p="",w(w.s=26)}([function(f,g,w){function v(){}v.QUALITY=1,v.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,v.DEFAULT_INCREMENTAL=!1,v.DEFAULT_ANIMATION_ON_LAYOUT=!0,v.DEFAULT_ANIMATION_DURING_LAYOUT=!1,v.DEFAULT_ANIMATION_PERIOD=50,v.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,v.DEFAULT_GRAPH_MARGIN=15,v.NODE_DIMENSIONS_INCLUDE_LABELS=!1,v.SIMPLE_NODE_SIZE=40,v.SIMPLE_NODE_HALF_SIZE=v.SIMPLE_NODE_SIZE/2,v.EMPTY_COMPOUND_NODE_SIZE=40,v.MIN_EDGE_LENGTH=1,v.WORLD_BOUNDARY=1e6,v.INITIAL_WORLD_BOUNDARY=v.WORLD_BOUNDARY/1e3,v.WORLD_CENTER_X=1200,v.WORLD_CENTER_Y=900,f.exports=v},function(f,g,w){var v=w(2),b=w(8),E=w(9);function S(M,F,R){v.call(this,R),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=R,this.bendpoints=[],this.source=M,this.target=F}S.prototype=Object.create(v.prototype);for(var _ in v)S[_]=v[_];S.prototype.getSource=function(){return this.source},S.prototype.getTarget=function(){return this.target},S.prototype.isInterGraph=function(){return this.isInterGraph},S.prototype.getLength=function(){return this.length},S.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},S.prototype.getBendpoints=function(){return this.bendpoints},S.prototype.getLca=function(){return this.lca},S.prototype.getSourceInLca=function(){return this.sourceInLca},S.prototype.getTargetInLca=function(){return this.targetInLca},S.prototype.getOtherEnd=function(M){if(this.source===M)return this.target;if(this.target===M)return this.source;throw"Node is not incident with this edge"},S.prototype.getOtherEndInGraph=function(M,F){for(var R=this.getOtherEnd(M),B=F.getGraphManager().getRoot();;){if(R.getOwner()==F)return R;if(R.getOwner()==B)break;R=R.getOwner().getParent()}return null},S.prototype.updateLength=function(){var M=new Array(4);this.isOverlapingSourceAndTarget=b.getIntersection(this.target.getRect(),this.source.getRect(),M),this.isOverlapingSourceAndTarget||(this.lengthX=M[0]-M[2],this.lengthY=M[1]-M[3],Math.abs(this.lengthX)<1&&(this.lengthX=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},S.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=E.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=E.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=S},function(f,g,w){function v(b){this.vGraphObject=b}f.exports=v},function(f,g,w){var v=w(2),b=w(10),E=w(13),S=w(0),_=w(16),M=w(4);function F(B,z,Y,nt){Y==null&&nt==null&&(nt=z),v.call(this,nt),B.graphManager!=null&&(B=B.graphManager),this.estimatedSize=b.MIN_VALUE,this.inclusionTreeDepth=b.MAX_VALUE,this.vGraphObject=nt,this.edges=[],this.graphManager=B,Y!=null&&z!=null?this.rect=new E(z.x,z.y,Y.width,Y.height):this.rect=new E}F.prototype=Object.create(v.prototype);for(var R in v)F[R]=v[R];F.prototype.getEdges=function(){return this.edges},F.prototype.getChild=function(){return this.child},F.prototype.getOwner=function(){return this.owner},F.prototype.getWidth=function(){return this.rect.width},F.prototype.setWidth=function(B){this.rect.width=B},F.prototype.getHeight=function(){return this.rect.height},F.prototype.setHeight=function(B){this.rect.height=B},F.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},F.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},F.prototype.getCenter=function(){return new M(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},F.prototype.getLocation=function(){return new M(this.rect.x,this.rect.y)},F.prototype.getRect=function(){return this.rect},F.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},F.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},F.prototype.setRect=function(B,z){this.rect.x=B.x,this.rect.y=B.y,this.rect.width=z.width,this.rect.height=z.height},F.prototype.setCenter=function(B,z){this.rect.x=B-this.rect.width/2,this.rect.y=z-this.rect.height/2},F.prototype.setLocation=function(B,z){this.rect.x=B,this.rect.y=z},F.prototype.moveBy=function(B,z){this.rect.x+=B,this.rect.y+=z},F.prototype.getEdgeListToNode=function(B){var z=[],Y=this;return Y.edges.forEach(function(nt){if(nt.target==B){if(nt.source!=Y)throw"Incorrect edge source!";z.push(nt)}}),z},F.prototype.getEdgesBetween=function(B){var z=[],Y=this;return Y.edges.forEach(function(nt){if(!(nt.source==Y||nt.target==Y))throw"Incorrect edge source and/or target";(nt.target==B||nt.source==B)&&z.push(nt)}),z},F.prototype.getNeighborsList=function(){var B=new Set,z=this;return z.edges.forEach(function(Y){if(Y.source==z)B.add(Y.target);else{if(Y.target!=z)throw"Incorrect incidency!";B.add(Y.source)}}),B},F.prototype.withChildren=function(){var B=new Set,z,Y;if(B.add(this),this.child!=null)for(var nt=this.child.getNodes(),ot=0;ot<nt.length;ot++)z=nt[ot],Y=z.withChildren(),Y.forEach(function(ft){B.add(ft)});return B},F.prototype.getNoOfChildren=function(){var B=0,z;if(this.child==null)B=1;else for(var Y=this.child.getNodes(),nt=0;nt<Y.length;nt++)z=Y[nt],B+=z.getNoOfChildren();return B==0&&(B=1),B},F.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},F.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},F.prototype.scatter=function(){var B,z,Y=-S.INITIAL_WORLD_BOUNDARY,nt=S.INITIAL_WORLD_BOUNDARY;B=S.WORLD_CENTER_X+_.nextDouble()*(nt-Y)+Y;var ot=-S.INITIAL_WORLD_BOUNDARY,ft=S.INITIAL_WORLD_BOUNDARY;z=S.WORLD_CENTER_Y+_.nextDouble()*(ft-ot)+ot,this.rect.x=B,this.rect.y=z},F.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var B=this.getChild();if(B.updateBounds(!0),this.rect.x=B.getLeft(),this.rect.y=B.getTop(),this.setWidth(B.getRight()-B.getLeft()),this.setHeight(B.getBottom()-B.getTop()),S.NODE_DIMENSIONS_INCLUDE_LABELS){var z=B.getRight()-B.getLeft(),Y=B.getBottom()-B.getTop();this.labelWidth>z&&(this.rect.x-=(this.labelWidth-z)/2,this.setWidth(this.labelWidth)),this.labelHeight>Y&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-Y)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-Y),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(B){var z=this.rect.x;z>S.WORLD_BOUNDARY?z=S.WORLD_BOUNDARY:z<-S.WORLD_BOUNDARY&&(z=-S.WORLD_BOUNDARY);var Y=this.rect.y;Y>S.WORLD_BOUNDARY?Y=S.WORLD_BOUNDARY:Y<-S.WORLD_BOUNDARY&&(Y=-S.WORLD_BOUNDARY);var nt=new M(z,Y),ot=B.inverseTransformPoint(nt);this.setLocation(ot.x,ot.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=F},function(f,g,w){function v(b,E){b==null&&E==null?(this.x=0,this.y=0):(this.x=b,this.y=E)}v.prototype.getX=function(){return this.x},v.prototype.getY=function(){return this.y},v.prototype.setX=function(b){this.x=b},v.prototype.setY=function(b){this.y=b},v.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},v.prototype.getCopy=function(){return new v(this.x,this.y)},v.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},f.exports=v},function(f,g,w){var v=w(2),b=w(10),E=w(0),S=w(6),_=w(3),M=w(1),F=w(13),R=w(12),B=w(11);function z(nt,ot,ft){v.call(this,ft),this.estimatedSize=b.MIN_VALUE,this.margin=E.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=nt,ot!=null&&ot instanceof S?this.graphManager=ot:ot!=null&&ot instanceof Layout&&(this.graphManager=ot.graphManager)}z.prototype=Object.create(v.prototype);for(var Y in v)z[Y]=v[Y];z.prototype.getNodes=function(){return this.nodes},z.prototype.getEdges=function(){return this.edges},z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getParent=function(){return this.parent},z.prototype.getLeft=function(){return this.left},z.prototype.getRight=function(){return this.right},z.prototype.getTop=function(){return this.top},z.prototype.getBottom=function(){return this.bottom},z.prototype.isConnected=function(){return this.isConnected},z.prototype.add=function(nt,ot,ft){if(ot==null&&ft==null){var wt=nt;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(wt)>-1)throw"Node already in graph!";return wt.owner=this,this.getNodes().push(wt),wt}else{var mt=nt;if(!(this.getNodes().indexOf(ot)>-1&&this.getNodes().indexOf(ft)>-1))throw"Source or target not in graph!";if(!(ot.owner==ft.owner&&ot.owner==this))throw"Both owners must be this graph!";return ot.owner!=ft.owner?null:(mt.source=ot,mt.target=ft,mt.isInterGraph=!1,this.getEdges().push(mt),ot.edges.push(mt),ft!=ot&&ft.edges.push(mt),mt)}},z.prototype.remove=function(nt){var ot=nt;if(nt instanceof _){if(ot==null)throw"Node is null!";if(!(ot.owner!=null&&ot.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var ft=ot.edges.slice(),wt,mt=ft.length,ct=0;ct<mt;ct++)wt=ft[ct],wt.isInterGraph?this.graphManager.remove(wt):wt.source.owner.remove(wt);var rt=this.nodes.indexOf(ot);if(rt==-1)throw"Node not in owner node list!";this.nodes.splice(rt,1)}else if(nt instanceof M){var wt=nt;if(wt==null)throw"Edge is null!";if(!(wt.source!=null&&wt.target!=null))throw"Source and/or target is null!";if(!(wt.source.owner!=null&&wt.target.owner!=null&&wt.source.owner==this&&wt.target.owner==this))throw"Source and/or target owner is invalid!";var it=wt.source.edges.indexOf(wt),gt=wt.target.edges.indexOf(wt);if(!(it>-1&&gt>-1))throw"Source and/or target doesn't know this edge!";wt.source.edges.splice(it,1),wt.target!=wt.source&&wt.target.edges.splice(gt,1);var rt=wt.source.owner.getEdges().indexOf(wt);if(rt==-1)throw"Not in owner's edge list!";wt.source.owner.getEdges().splice(rt,1)}},z.prototype.updateLeftTop=function(){for(var nt=b.MAX_VALUE,ot=b.MAX_VALUE,ft,wt,mt,ct=this.getNodes(),rt=ct.length,it=0;it<rt;it++){var gt=ct[it];ft=gt.getTop(),wt=gt.getLeft(),nt>ft&&(nt=ft),ot>wt&&(ot=wt)}return nt==b.MAX_VALUE?null:(ct[0].getParent().paddingLeft!=null?mt=ct[0].getParent().paddingLeft:mt=this.margin,this.left=ot-mt,this.top=nt-mt,new R(this.left,this.top))},z.prototype.updateBounds=function(nt){for(var ot=b.MAX_VALUE,ft=-b.MAX_VALUE,wt=b.MAX_VALUE,mt=-b.MAX_VALUE,ct,rt,it,gt,Q,dt=this.nodes,K=dt.length,yt=0;yt<K;yt++){var V=dt[yt];nt&&V.child!=null&&V.updateBounds(),ct=V.getLeft(),rt=V.getRight(),it=V.getTop(),gt=V.getBottom(),ot>ct&&(ot=ct),ft<rt&&(ft=rt),wt>it&&(wt=it),mt<gt&&(mt=gt)}var Ot=new F(ot,wt,ft-ot,mt-wt);ot==b.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),dt[0].getParent().paddingLeft!=null?Q=dt[0].getParent().paddingLeft:Q=this.margin,this.left=Ot.x-Q,this.right=Ot.x+Ot.width+Q,this.top=Ot.y-Q,this.bottom=Ot.y+Ot.height+Q},z.calculateBounds=function(nt){for(var ot=b.MAX_VALUE,ft=-b.MAX_VALUE,wt=b.MAX_VALUE,mt=-b.MAX_VALUE,ct,rt,it,gt,Q=nt.length,dt=0;dt<Q;dt++){var K=nt[dt];ct=K.getLeft(),rt=K.getRight(),it=K.getTop(),gt=K.getBottom(),ot>ct&&(ot=ct),ft<rt&&(ft=rt),wt>it&&(wt=it),mt<gt&&(mt=gt)}var yt=new F(ot,wt,ft-ot,mt-wt);return yt},z.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},z.prototype.getEstimatedSize=function(){if(this.estimatedSize==b.MIN_VALUE)throw"assert failed";return this.estimatedSize},z.prototype.calcEstimatedSize=function(){for(var nt=0,ot=this.nodes,ft=ot.length,wt=0;wt<ft;wt++){var mt=ot[wt];nt+=mt.calcEstimatedSize()}return nt==0?this.estimatedSize=E.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=nt/Math.sqrt(this.nodes.length),this.estimatedSize},z.prototype.updateConnected=function(){var nt=this;if(this.nodes.length==0){this.isConnected=!0;return}var ot=new B,ft=new Set,wt=this.nodes[0],mt,ct,rt=wt.withChildren();for(rt.forEach(function(yt){ot.push(yt),ft.add(yt)});ot.length!==0;){wt=ot.shift(),mt=wt.getEdges();for(var it=mt.length,gt=0;gt<it;gt++){var Q=mt[gt];if(ct=Q.getOtherEndInGraph(wt,this),ct!=null&&!ft.has(ct)){var dt=ct.withChildren();dt.forEach(function(yt){ot.push(yt),ft.add(yt)})}}}if(this.isConnected=!1,ft.size>=this.nodes.length){var K=0;ft.forEach(function(yt){yt.owner==nt&&K++}),K==this.nodes.length&&(this.isConnected=!0)}},f.exports=z},function(f,g,w){var v,b=w(1);function E(S){v=w(5),this.layout=S,this.graphs=[],this.edges=[]}E.prototype.addRoot=function(){var S=this.layout.newGraph(),_=this.layout.newNode(null),M=this.add(S,_);return this.setRootGraph(M),this.rootGraph},E.prototype.add=function(S,_,M,F,R){if(M==null&&F==null&&R==null){if(S==null)throw"Graph is null!";if(_==null)throw"Parent node is null!";if(this.graphs.indexOf(S)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(S),S.parent!=null)throw"Already has a parent!";if(_.child!=null)throw"Already has a child!";return S.parent=_,_.child=S,S}else{R=M,F=_,M=S;var B=F.getOwner(),z=R.getOwner();if(!(B!=null&&B.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(z!=null&&z.getGraphManager()==this))throw"Target not in this graph mgr!";if(B==z)return M.isInterGraph=!1,B.add(M,F,R);if(M.isInterGraph=!0,M.source=F,M.target=R,this.edges.indexOf(M)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(M),!(M.source!=null&&M.target!=null))throw"Edge source and/or target is null!";if(!(M.source.edges.indexOf(M)==-1&&M.target.edges.indexOf(M)==-1))throw"Edge already in source and/or target incidency list!";return M.source.edges.push(M),M.target.edges.push(M),M}},E.prototype.remove=function(S){if(S instanceof v){var _=S;if(_.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(_==this.rootGraph||_.parent!=null&&_.parent.graphManager==this))throw"Invalid parent node!";var M=[];M=M.concat(_.getEdges());for(var F,R=M.length,B=0;B<R;B++)F=M[B],_.remove(F);var z=[];z=z.concat(_.getNodes());var Y;R=z.length;for(var B=0;B<R;B++)Y=z[B],_.remove(Y);_==this.rootGraph&&this.setRootGraph(null);var nt=this.graphs.indexOf(_);this.graphs.splice(nt,1),_.parent=null}else if(S instanceof b){if(F=S,F==null)throw"Edge is null!";if(!F.isInterGraph)throw"Not an inter-graph edge!";if(!(F.source!=null&&F.target!=null))throw"Source and/or target is null!";if(!(F.source.edges.indexOf(F)!=-1&&F.target.edges.indexOf(F)!=-1))throw"Source and/or target doesn't know this edge!";var nt=F.source.edges.indexOf(F);if(F.source.edges.splice(nt,1),nt=F.target.edges.indexOf(F),F.target.edges.splice(nt,1),!(F.source.owner!=null&&F.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(F.source.owner.getGraphManager().edges.indexOf(F)==-1)throw"Not in owner graph manager's edge list!";var nt=F.source.owner.getGraphManager().edges.indexOf(F);F.source.owner.getGraphManager().edges.splice(nt,1)}},E.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},E.prototype.getGraphs=function(){return this.graphs},E.prototype.getAllNodes=function(){if(this.allNodes==null){for(var S=[],_=this.getGraphs(),M=_.length,F=0;F<M;F++)S=S.concat(_[F].getNodes());this.allNodes=S}return this.allNodes},E.prototype.resetAllNodes=function(){this.allNodes=null},E.prototype.resetAllEdges=function(){this.allEdges=null},E.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},E.prototype.getAllEdges=function(){if(this.allEdges==null){var S=[],_=this.getGraphs();_.length;for(var M=0;M<_.length;M++)S=S.concat(_[M].getEdges());S=S.concat(this.edges),this.allEdges=S}return this.allEdges},E.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},E.prototype.setAllNodesToApplyGravitation=function(S){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=S},E.prototype.getRoot=function(){return this.rootGraph},E.prototype.setRootGraph=function(S){if(S.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=S,S.parent==null&&(S.parent=this.layout.newNode("Root node"))},E.prototype.getLayout=function(){return this.layout},E.prototype.isOneAncestorOfOther=function(S,_){if(!(S!=null&&_!=null))throw"assert failed";if(S==_)return!0;var M=S.getOwner(),F;do{if(F=M.getParent(),F==null)break;if(F==_)return!0;if(M=F.getOwner(),M==null)break}while(!0);M=_.getOwner();do{if(F=M.getParent(),F==null)break;if(F==S)return!0;if(M=F.getOwner(),M==null)break}while(!0);return!1},E.prototype.calcLowestCommonAncestors=function(){for(var S,_,M,F,R,B=this.getAllEdges(),z=B.length,Y=0;Y<z;Y++){if(S=B[Y],_=S.source,M=S.target,S.lca=null,S.sourceInLca=_,S.targetInLca=M,_==M){S.lca=_.getOwner();continue}for(F=_.getOwner();S.lca==null;){for(S.targetInLca=M,R=M.getOwner();S.lca==null;){if(R==F){S.lca=R;break}if(R==this.rootGraph)break;if(S.lca!=null)throw"assert failed";S.targetInLca=R.getParent(),R=S.targetInLca.getOwner()}if(F==this.rootGraph)break;S.lca==null&&(S.sourceInLca=F.getParent(),F=S.sourceInLca.getOwner())}if(S.lca==null)throw"assert failed"}},E.prototype.calcLowestCommonAncestor=function(S,_){if(S==_)return S.getOwner();var M=S.getOwner();do{if(M==null)break;var F=_.getOwner();do{if(F==null)break;if(F==M)return F;F=F.getParent().getOwner()}while(!0);M=M.getParent().getOwner()}while(!0);return M},E.prototype.calcInclusionTreeDepths=function(S,_){S==null&&_==null&&(S=this.rootGraph,_=1);for(var M,F=S.getNodes(),R=F.length,B=0;B<R;B++)M=F[B],M.inclusionTreeDepth=_,M.child!=null&&this.calcInclusionTreeDepths(M.child,_+1)},E.prototype.includesInvalidEdge=function(){for(var S,_=this.edges.length,M=0;M<_;M++)if(S=this.edges[M],this.isOneAncestorOfOther(S.source,S.target))return!0;return!1},f.exports=E},function(f,g,w){var v=w(0);function b(){}for(var E in v)b[E]=v[E];b.MAX_ITERATIONS=2500,b.DEFAULT_EDGE_LENGTH=50,b.DEFAULT_SPRING_STRENGTH=.45,b.DEFAULT_REPULSION_STRENGTH=4500,b.DEFAULT_GRAVITY_STRENGTH=.4,b.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,b.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,b.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,b.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,b.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,b.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,b.COOLING_ADAPTATION_FACTOR=.33,b.ADAPTATION_LOWER_NODE_LIMIT=1e3,b.ADAPTATION_UPPER_NODE_LIMIT=5e3,b.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,b.MAX_NODE_DISPLACEMENT=b.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,b.MIN_REPULSION_DIST=b.DEFAULT_EDGE_LENGTH/10,b.CONVERGENCE_CHECK_PERIOD=100,b.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,b.MIN_EDGE_LENGTH=1,b.GRID_CALCULATION_CHECK_PERIOD=10,f.exports=b},function(f,g,w){var v=w(12);function b(){}b.calcSeparationAmount=function(E,S,_,M){if(!E.intersects(S))throw"assert failed";var F=new Array(2);this.decideDirectionsForOverlappingNodes(E,S,F),_[0]=Math.min(E.getRight(),S.getRight())-Math.max(E.x,S.x),_[1]=Math.min(E.getBottom(),S.getBottom())-Math.max(E.y,S.y),E.getX()<=S.getX()&&E.getRight()>=S.getRight()?_[0]+=Math.min(S.getX()-E.getX(),E.getRight()-S.getRight()):S.getX()<=E.getX()&&S.getRight()>=E.getRight()&&(_[0]+=Math.min(E.getX()-S.getX(),S.getRight()-E.getRight())),E.getY()<=S.getY()&&E.getBottom()>=S.getBottom()?_[1]+=Math.min(S.getY()-E.getY(),E.getBottom()-S.getBottom()):S.getY()<=E.getY()&&S.getBottom()>=E.getBottom()&&(_[1]+=Math.min(E.getY()-S.getY(),S.getBottom()-E.getBottom()));var R=Math.abs((S.getCenterY()-E.getCenterY())/(S.getCenterX()-E.getCenterX()));S.getCenterY()===E.getCenterY()&&S.getCenterX()===E.getCenterX()&&(R=1);var B=R*_[0],z=_[1]/R;_[0]<z?z=_[0]:B=_[1],_[0]=-1*F[0]*(z/2+M),_[1]=-1*F[1]*(B/2+M)},b.decideDirectionsForOverlappingNodes=function(E,S,_){E.getCenterX()<S.getCenterX()?_[0]=-1:_[0]=1,E.getCenterY()<S.getCenterY()?_[1]=-1:_[1]=1},b.getIntersection2=function(E,S,_){var M=E.getCenterX(),F=E.getCenterY(),R=S.getCenterX(),B=S.getCenterY();if(E.intersects(S))return _[0]=M,_[1]=F,_[2]=R,_[3]=B,!0;var z=E.getX(),Y=E.getY(),nt=E.getRight(),ot=E.getX(),ft=E.getBottom(),wt=E.getRight(),mt=E.getWidthHalf(),ct=E.getHeightHalf(),rt=S.getX(),it=S.getY(),gt=S.getRight(),Q=S.getX(),dt=S.getBottom(),K=S.getRight(),yt=S.getWidthHalf(),V=S.getHeightHalf(),Ot=!1,It=!1;if(M===R){if(F>B)return _[0]=M,_[1]=Y,_[2]=R,_[3]=dt,!1;if(F<B)return _[0]=M,_[1]=ft,_[2]=R,_[3]=it,!1}else if(F===B){if(M>R)return _[0]=z,_[1]=F,_[2]=gt,_[3]=B,!1;if(M<R)return _[0]=nt,_[1]=F,_[2]=rt,_[3]=B,!1}else{var jt=E.height/E.width,xt=S.height/S.width,Ft=(B-F)/(R-M),Ct=void 0,kt=void 0,Gt=void 0,Fe=void 0,Mt=void 0,pn=void 0;if(-jt===Ft?M>R?(_[0]=ot,_[1]=ft,Ot=!0):(_[0]=nt,_[1]=Y,Ot=!0):jt===Ft&&(M>R?(_[0]=z,_[1]=Y,Ot=!0):(_[0]=wt,_[1]=ft,Ot=!0)),-xt===Ft?R>M?(_[2]=Q,_[3]=dt,It=!0):(_[2]=gt,_[3]=it,It=!0):xt===Ft&&(R>M?(_[2]=rt,_[3]=it,It=!0):(_[2]=K,_[3]=dt,It=!0)),Ot&&It)return!1;if(M>R?F>B?(Ct=this.getCardinalDirection(jt,Ft,4),kt=this.getCardinalDirection(xt,Ft,2)):(Ct=this.getCardinalDirection(-jt,Ft,3),kt=this.getCardinalDirection(-xt,Ft,1)):F>B?(Ct=this.getCardinalDirection(-jt,Ft,1),kt=this.getCardinalDirection(-xt,Ft,3)):(Ct=this.getCardinalDirection(jt,Ft,2),kt=this.getCardinalDirection(xt,Ft,4)),!Ot)switch(Ct){case 1:Fe=Y,Gt=M+-ct/Ft,_[0]=Gt,_[1]=Fe;break;case 2:Gt=wt,Fe=F+mt*Ft,_[0]=Gt,_[1]=Fe;break;case 3:Fe=ft,Gt=M+ct/Ft,_[0]=Gt,_[1]=Fe;break;case 4:Gt=ot,Fe=F+-mt*Ft,_[0]=Gt,_[1]=Fe;break}if(!It)switch(kt){case 1:pn=it,Mt=R+-V/Ft,_[2]=Mt,_[3]=pn;break;case 2:Mt=K,pn=B+yt*Ft,_[2]=Mt,_[3]=pn;break;case 3:pn=dt,Mt=R+V/Ft,_[2]=Mt,_[3]=pn;break;case 4:Mt=Q,pn=B+-yt*Ft,_[2]=Mt,_[3]=pn;break}}return!1},b.getCardinalDirection=function(E,S,_){return E>S?_:1+_%4},b.getIntersection=function(E,S,_,M){if(M==null)return this.getIntersection2(E,S,_);var F=E.x,R=E.y,B=S.x,z=S.y,Y=_.x,nt=_.y,ot=M.x,ft=M.y,wt=void 0,mt=void 0,ct=void 0,rt=void 0,it=void 0,gt=void 0,Q=void 0,dt=void 0,K=void 0;return ct=z-R,it=F-B,Q=B*R-F*z,rt=ft-nt,gt=Y-ot,dt=ot*nt-Y*ft,K=ct*gt-rt*it,K===0?null:(wt=(it*dt-gt*Q)/K,mt=(rt*Q-ct*dt)/K,new v(wt,mt))},b.angleOfVector=function(E,S,_,M){var F=void 0;return E!==_?(F=Math.atan((M-S)/(_-E)),_<E?F+=Math.PI:M<S&&(F+=this.TWO_PI)):M<S?F=this.ONE_AND_HALF_PI:F=this.HALF_PI,F},b.doIntersect=function(E,S,_,M){var F=E.x,R=E.y,B=S.x,z=S.y,Y=_.x,nt=_.y,ot=M.x,ft=M.y,wt=(B-F)*(ft-nt)-(ot-Y)*(z-R);if(wt===0)return!1;var mt=((ft-nt)*(ot-F)+(Y-ot)*(ft-R))/wt,ct=((R-z)*(ot-F)+(B-F)*(ft-R))/wt;return 0<mt&&mt<1&&0<ct&&ct<1},b.HALF_PI=.5*Math.PI,b.ONE_AND_HALF_PI=1.5*Math.PI,b.TWO_PI=2*Math.PI,b.THREE_PI=3*Math.PI,f.exports=b},function(f,g,w){function v(){}v.sign=function(b){return b>0?1:b<0?-1:0},v.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},v.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},f.exports=v},function(f,g,w){function v(){}v.MAX_VALUE=2147483647,v.MIN_VALUE=-2147483648,f.exports=v},function(f,g,w){var v=function(){function F(R,B){for(var z=0;z<B.length;z++){var Y=B[z];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(R,Y.key,Y)}}return function(R,B,z){return B&&F(R.prototype,B),z&&F(R,z),R}}();function b(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}var E=function(R){return{value:R,next:null,prev:null}},S=function(R,B,z,Y){return R!==null?R.next=B:Y.head=B,z!==null?z.prev=B:Y.tail=B,B.prev=R,B.next=z,Y.length++,B},_=function(R,B){var z=R.prev,Y=R.next;return z!==null?z.next=Y:B.head=Y,Y!==null?Y.prev=z:B.tail=z,R.prev=R.next=null,B.length--,R},M=function(){function F(R){var B=this;b(this,F),this.length=0,this.head=null,this.tail=null,R!=null&&R.forEach(function(z){return B.push(z)})}return v(F,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(B,z){return S(z.prev,E(B),z,this)}},{key:"insertAfter",value:function(B,z){return S(z,E(B),z.next,this)}},{key:"insertNodeBefore",value:function(B,z){return S(z.prev,B,z,this)}},{key:"insertNodeAfter",value:function(B,z){return S(z,B,z.next,this)}},{key:"push",value:function(B){return S(this.tail,E(B),null,this)}},{key:"unshift",value:function(B){return S(null,E(B),this.head,this)}},{key:"remove",value:function(B){return _(B,this)}},{key:"pop",value:function(){return _(this.tail,this).value}},{key:"popNode",value:function(){return _(this.tail,this)}},{key:"shift",value:function(){return _(this.head,this).value}},{key:"shiftNode",value:function(){return _(this.head,this)}},{key:"get_object_at",value:function(B){if(B<=this.length()){for(var z=1,Y=this.head;z<B;)Y=Y.next,z++;return Y.value}}},{key:"set_object_at",value:function(B,z){if(B<=this.length()){for(var Y=1,nt=this.head;Y<B;)nt=nt.next,Y++;nt.value=z}}}]),F}();f.exports=M},function(f,g,w){function v(b,E,S){this.x=null,this.y=null,b==null&&E==null&&S==null?(this.x=0,this.y=0):typeof b=="number"&&typeof E=="number"&&S==null?(this.x=b,this.y=E):b.constructor.name=="Point"&&E==null&&S==null&&(S=b,this.x=S.x,this.y=S.y)}v.prototype.getX=function(){return this.x},v.prototype.getY=function(){return this.y},v.prototype.getLocation=function(){return new v(this.x,this.y)},v.prototype.setLocation=function(b,E,S){b.constructor.name=="Point"&&E==null&&S==null?(S=b,this.setLocation(S.x,S.y)):typeof b=="number"&&typeof E=="number"&&S==null&&(parseInt(b)==b&&parseInt(E)==E?this.move(b,E):(this.x=Math.floor(b+.5),this.y=Math.floor(E+.5)))},v.prototype.move=function(b,E){this.x=b,this.y=E},v.prototype.translate=function(b,E){this.x+=b,this.y+=E},v.prototype.equals=function(b){if(b.constructor.name=="Point"){var E=b;return this.x==E.x&&this.y==E.y}return this==b},v.prototype.toString=function(){return new v().constructor.name+"[x="+this.x+",y="+this.y+"]"},f.exports=v},function(f,g,w){function v(b,E,S,_){this.x=0,this.y=0,this.width=0,this.height=0,b!=null&&E!=null&&S!=null&&_!=null&&(this.x=b,this.y=E,this.width=S,this.height=_)}v.prototype.getX=function(){return this.x},v.prototype.setX=function(b){this.x=b},v.prototype.getY=function(){return this.y},v.prototype.setY=function(b){this.y=b},v.prototype.getWidth=function(){return this.width},v.prototype.setWidth=function(b){this.width=b},v.prototype.getHeight=function(){return this.height},v.prototype.setHeight=function(b){this.height=b},v.prototype.getRight=function(){return this.x+this.width},v.prototype.getBottom=function(){return this.y+this.height},v.prototype.intersects=function(b){return!(this.getRight()<b.x||this.getBottom()<b.y||b.getRight()<this.x||b.getBottom()<this.y)},v.prototype.getCenterX=function(){return this.x+this.width/2},v.prototype.getMinX=function(){return this.getX()},v.prototype.getMaxX=function(){return this.getX()+this.width},v.prototype.getCenterY=function(){return this.y+this.height/2},v.prototype.getMinY=function(){return this.getY()},v.prototype.getMaxY=function(){return this.getY()+this.height},v.prototype.getWidthHalf=function(){return this.width/2},v.prototype.getHeightHalf=function(){return this.height/2},f.exports=v},function(f,g,w){var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E};function b(){}b.lastID=0,b.createID=function(E){return b.isPrimitive(E)?E:(E.uniqueID!=null||(E.uniqueID=b.getString(),b.lastID++),E.uniqueID)},b.getString=function(E){return E==null&&(E=b.lastID),"Object#"+E},b.isPrimitive=function(E){var S=typeof E>"u"?"undefined":v(E);return E==null||S!="object"&&S!="function"},f.exports=b},function(f,g,w){function v(Y){if(Array.isArray(Y)){for(var nt=0,ot=Array(Y.length);nt<Y.length;nt++)ot[nt]=Y[nt];return ot}else return Array.from(Y)}var b=w(0),E=w(6),S=w(3),_=w(1),M=w(5),F=w(4),R=w(17),B=w(27);function z(Y){B.call(this),this.layoutQuality=b.QUALITY,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=b.DEFAULT_INCREMENTAL,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new E(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,Y!=null&&(this.isRemoteUse=Y)}z.RANDOM_SEED=1,z.prototype=Object.create(B.prototype),z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},z.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},z.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},z.prototype.newGraphManager=function(){var Y=new E(this);return this.graphManager=Y,Y},z.prototype.newGraph=function(Y){return new M(null,this.graphManager,Y)},z.prototype.newNode=function(Y){return new S(this.graphManager,Y)},z.prototype.newEdge=function(Y){return new _(null,null,Y)},z.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},z.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var Y;return this.checkLayoutSuccess()?Y=!1:Y=this.layout(),b.ANIMATE==="during"?!1:(Y&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,Y)},z.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},z.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var Y=this.graphManager.getAllEdges(),nt=0;nt<Y.length;nt++)Y[nt];for(var ot=this.graphManager.getRoot().getNodes(),nt=0;nt<ot.length;nt++)ot[nt];this.update(this.graphManager.getRoot())}},z.prototype.update=function(Y){if(Y==null)this.update2();else if(Y instanceof S){var nt=Y;if(nt.getChild()!=null)for(var ot=nt.getChild().getNodes(),ft=0;ft<ot.length;ft++)update(ot[ft]);if(nt.vGraphObject!=null){var wt=nt.vGraphObject;wt.update(nt)}}else if(Y instanceof _){var mt=Y;if(mt.vGraphObject!=null){var ct=mt.vGraphObject;ct.update(mt)}}else if(Y instanceof M){var rt=Y;if(rt.vGraphObject!=null){var it=rt.vGraphObject;it.update(rt)}}},z.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=b.QUALITY,this.animationDuringLayout=b.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=b.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=b.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=b.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=b.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=b.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},z.prototype.transform=function(Y){if(Y==null)this.transform(new F(0,0));else{var nt=new R,ot=this.graphManager.getRoot().updateLeftTop();if(ot!=null){nt.setWorldOrgX(Y.x),nt.setWorldOrgY(Y.y),nt.setDeviceOrgX(ot.x),nt.setDeviceOrgY(ot.y);for(var ft=this.getAllNodes(),wt,mt=0;mt<ft.length;mt++)wt=ft[mt],wt.transform(nt)}}},z.prototype.positionNodesRandomly=function(Y){if(Y==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var nt,ot,ft=Y.getNodes(),wt=0;wt<ft.length;wt++)nt=ft[wt],ot=nt.getChild(),ot==null||ot.getNodes().length==0?nt.scatter():(this.positionNodesRandomly(ot),nt.updateBounds())},z.prototype.getFlatForest=function(){for(var Y=[],nt=!0,ot=this.graphManager.getRoot().getNodes(),ft=!0,wt=0;wt<ot.length;wt++)ot[wt].getChild()!=null&&(ft=!1);if(!ft)return Y;var mt=new Set,ct=[],rt=new Map,it=[];for(it=it.concat(ot);it.length>0&&nt;){for(ct.push(it[0]);ct.length>0&&nt;){var gt=ct[0];ct.splice(0,1),mt.add(gt);for(var Q=gt.getEdges(),wt=0;wt<Q.length;wt++){var dt=Q[wt].getOtherEnd(gt);if(rt.get(gt)!=dt)if(!mt.has(dt))ct.push(dt),rt.set(dt,gt);else{nt=!1;break}}}if(!nt)Y=[];else{var K=[].concat(v(mt));Y.push(K);for(var wt=0;wt<K.length;wt++){var yt=K[wt],V=it.indexOf(yt);V>-1&&it.splice(V,1)}mt=new Set,rt=new Map}}return Y},z.prototype.createDummyNodesForBendpoints=function(Y){for(var nt=[],ot=Y.source,ft=this.graphManager.calcLowestCommonAncestor(Y.source,Y.target),wt=0;wt<Y.bendpoints.length;wt++){var mt=this.newNode(null);mt.setRect(new Point(0,0),new Dimension(1,1)),ft.add(mt);var ct=this.newEdge(null);this.graphManager.add(ct,ot,mt),nt.add(mt),ot=mt}var ct=this.newEdge(null);return this.graphManager.add(ct,ot,Y.target),this.edgeToDummyNodes.set(Y,nt),Y.isInterGraph()?this.graphManager.remove(Y):ft.remove(Y),nt},z.prototype.createBendpointsFromDummyNodes=function(){var Y=[];Y=Y.concat(this.graphManager.getAllEdges()),Y=[].concat(v(this.edgeToDummyNodes.keys())).concat(Y);for(var nt=0;nt<Y.length;nt++){var ot=Y[nt];if(ot.bendpoints.length>0){for(var ft=this.edgeToDummyNodes.get(ot),wt=0;wt<ft.length;wt++){var mt=ft[wt],ct=new F(mt.getCenterX(),mt.getCenterY()),rt=ot.bendpoints.get(wt);rt.x=ct.x,rt.y=ct.y,mt.getOwner().remove(mt)}this.graphManager.add(ot,ot.source,ot.target)}}},z.transform=function(Y,nt,ot,ft){if(ot!=null&&ft!=null){var wt=nt;if(Y<=50){var mt=nt/ot;wt-=(nt-mt)/50*(50-Y)}else{var ct=nt*ft;wt+=(ct-nt)/50*(Y-50)}return wt}else{var rt,it;return Y<=50?(rt=9*nt/500,it=nt/10):(rt=9*nt/50,it=-8*nt),rt*Y+it}},z.findCenterOfTree=function(Y){var nt=[];nt=nt.concat(Y);var ot=[],ft=new Map,wt=!1,mt=null;(nt.length==1||nt.length==2)&&(wt=!0,mt=nt[0]);for(var ct=0;ct<nt.length;ct++){var rt=nt[ct],it=rt.getNeighborsList().size;ft.set(rt,rt.getNeighborsList().size),it==1&&ot.push(rt)}var gt=[];for(gt=gt.concat(ot);!wt;){var Q=[];Q=Q.concat(gt),gt=[];for(var ct=0;ct<nt.length;ct++){var rt=nt[ct],dt=nt.indexOf(rt);dt>=0&&nt.splice(dt,1);var K=rt.getNeighborsList();K.forEach(function(Ot){if(ot.indexOf(Ot)<0){var It=ft.get(Ot),jt=It-1;jt==1&&gt.push(Ot),ft.set(Ot,jt)}})}ot=ot.concat(gt),(nt.length==1||nt.length==2)&&(wt=!0,mt=nt[0])}return mt},z.prototype.setGraphManager=function(Y){this.graphManager=Y},f.exports=z},function(f,g,w){function v(){}v.seed=1,v.x=0,v.nextDouble=function(){return v.x=Math.sin(v.seed++)*1e4,v.x-Math.floor(v.x)},f.exports=v},function(f,g,w){var v=w(4);function b(E,S){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}b.prototype.getWorldOrgX=function(){return this.lworldOrgX},b.prototype.setWorldOrgX=function(E){this.lworldOrgX=E},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(E){this.lworldOrgY=E},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(E){this.lworldExtX=E},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(E){this.lworldExtY=E},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(E){this.ldeviceOrgX=E},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(E){this.ldeviceOrgY=E},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(E){this.ldeviceExtX=E},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(E){this.ldeviceExtY=E},b.prototype.transformX=function(E){var S=0,_=this.lworldExtX;return _!=0&&(S=this.ldeviceOrgX+(E-this.lworldOrgX)*this.ldeviceExtX/_),S},b.prototype.transformY=function(E){var S=0,_=this.lworldExtY;return _!=0&&(S=this.ldeviceOrgY+(E-this.lworldOrgY)*this.ldeviceExtY/_),S},b.prototype.inverseTransformX=function(E){var S=0,_=this.ldeviceExtX;return _!=0&&(S=this.lworldOrgX+(E-this.ldeviceOrgX)*this.lworldExtX/_),S},b.prototype.inverseTransformY=function(E){var S=0,_=this.ldeviceExtY;return _!=0&&(S=this.lworldOrgY+(E-this.ldeviceOrgY)*this.lworldExtY/_),S},b.prototype.inverseTransformPoint=function(E){var S=new v(this.inverseTransformX(E.x),this.inverseTransformY(E.y));return S},f.exports=b},function(f,g,w){function v(B){if(Array.isArray(B)){for(var z=0,Y=Array(B.length);z<B.length;z++)Y[z]=B[z];return Y}else return Array.from(B)}var b=w(15),E=w(7),S=w(0),_=w(8),M=w(9);function F(){b.call(this),this.useSmartIdealEdgeLengthCalculation=E.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=E.DEFAULT_EDGE_LENGTH,this.springConstant=E.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=E.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=E.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=E.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*E.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=E.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=E.MAX_ITERATIONS}F.prototype=Object.create(b.prototype);for(var R in b)F[R]=b[R];F.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=E.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},F.prototype.calcIdealEdgeLengths=function(){for(var B,z,Y,nt,ot,ft,wt=this.getGraphManager().getAllEdges(),mt=0;mt<wt.length;mt++)B=wt[mt],B.idealLength=this.idealEdgeLength,B.isInterGraph&&(Y=B.getSource(),nt=B.getTarget(),ot=B.getSourceInLca().getEstimatedSize(),ft=B.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(B.idealLength+=ot+ft-2*S.SIMPLE_NODE_SIZE),z=B.getLca().getInclusionTreeDepth(),B.idealLength+=E.DEFAULT_EDGE_LENGTH*E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(Y.getInclusionTreeDepth()+nt.getInclusionTreeDepth()-2*z))},F.prototype.initSpringEmbedder=function(){var B=this.getAllNodes().length;this.incremental?(B>E.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*E.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(B-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-E.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT_INCREMENTAL):(B>E.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(E.COOLING_ADAPTATION_FACTOR,1-(B-E.ADAPTATION_LOWER_NODE_LIMIT)/(E.ADAPTATION_UPPER_NODE_LIMIT-E.ADAPTATION_LOWER_NODE_LIMIT)*(1-E.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=E.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var B=this.getAllEdges(),z,Y=0;Y<B.length;Y++)z=B[Y],this.calcSpringForce(z,z.idealLength)},F.prototype.calcRepulsionForces=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y,nt,ot,ft,wt=this.getAllNodes(),mt;if(this.useFRGridVariant)for(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&B&&this.updateGrid(),mt=new Set,Y=0;Y<wt.length;Y++)ot=wt[Y],this.calculateRepulsionForceOfANode(ot,mt,B,z),mt.add(ot);else for(Y=0;Y<wt.length;Y++)for(ot=wt[Y],nt=Y+1;nt<wt.length;nt++)ft=wt[nt],ot.getOwner()==ft.getOwner()&&this.calcRepulsionForce(ot,ft)},F.prototype.calcGravitationalForces=function(){for(var B,z=this.getAllNodesToApplyGravitation(),Y=0;Y<z.length;Y++)B=z[Y],this.calcGravitationalForce(B)},F.prototype.moveNodes=function(){for(var B=this.getAllNodes(),z,Y=0;Y<B.length;Y++)z=B[Y],z.move()},F.prototype.calcSpringForce=function(B,z){var Y=B.getSource(),nt=B.getTarget(),ot,ft,wt,mt;if(this.uniformLeafNodeSizes&&Y.getChild()==null&&nt.getChild()==null)B.updateLengthSimple();else if(B.updateLength(),B.isOverlapingSourceAndTarget)return;ot=B.getLength(),ot!=0&&(ft=this.springConstant*(ot-z),wt=ft*(B.lengthX/ot),mt=ft*(B.lengthY/ot),Y.springForceX+=wt,Y.springForceY+=mt,nt.springForceX-=wt,nt.springForceY-=mt)},F.prototype.calcRepulsionForce=function(B,z){var Y=B.getRect(),nt=z.getRect(),ot=new Array(2),ft=new Array(4),wt,mt,ct,rt,it,gt,Q;if(Y.intersects(nt)){_.calcSeparationAmount(Y,nt,ot,E.DEFAULT_EDGE_LENGTH/2),gt=2*ot[0],Q=2*ot[1];var dt=B.noOfChildren*z.noOfChildren/(B.noOfChildren+z.noOfChildren);B.repulsionForceX-=dt*gt,B.repulsionForceY-=dt*Q,z.repulsionForceX+=dt*gt,z.repulsionForceY+=dt*Q}else this.uniformLeafNodeSizes&&B.getChild()==null&&z.getChild()==null?(wt=nt.getCenterX()-Y.getCenterX(),mt=nt.getCenterY()-Y.getCenterY()):(_.getIntersection(Y,nt,ft),wt=ft[2]-ft[0],mt=ft[3]-ft[1]),Math.abs(wt)<E.MIN_REPULSION_DIST&&(wt=M.sign(wt)*E.MIN_REPULSION_DIST),Math.abs(mt)<E.MIN_REPULSION_DIST&&(mt=M.sign(mt)*E.MIN_REPULSION_DIST),ct=wt*wt+mt*mt,rt=Math.sqrt(ct),it=this.repulsionConstant*B.noOfChildren*z.noOfChildren/ct,gt=it*wt/rt,Q=it*mt/rt,B.repulsionForceX-=gt,B.repulsionForceY-=Q,z.repulsionForceX+=gt,z.repulsionForceY+=Q},F.prototype.calcGravitationalForce=function(B){var z,Y,nt,ot,ft,wt,mt,ct;z=B.getOwner(),Y=(z.getRight()+z.getLeft())/2,nt=(z.getTop()+z.getBottom())/2,ot=B.getCenterX()-Y,ft=B.getCenterY()-nt,wt=Math.abs(ot)+B.getWidth()/2,mt=Math.abs(ft)+B.getHeight()/2,B.getOwner()==this.graphManager.getRoot()?(ct=z.getEstimatedSize()*this.gravityRangeFactor,(wt>ct||mt>ct)&&(B.gravitationForceX=-this.gravityConstant*ot,B.gravitationForceY=-this.gravityConstant*ft)):(ct=z.getEstimatedSize()*this.compoundGravityRangeFactor,(wt>ct||mt>ct)&&(B.gravitationForceX=-this.gravityConstant*ot*this.compoundGravityConstant,B.gravitationForceY=-this.gravityConstant*ft*this.compoundGravityConstant))},F.prototype.isConverged=function(){var B,z=!1;return this.totalIterations>this.maxIterations/3&&(z=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),B=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,B||z},F.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},F.prototype.calcNoOfChildrenForAllNodes=function(){for(var B,z=this.graphManager.getAllNodes(),Y=0;Y<z.length;Y++)B=z[Y],B.noOfChildren=B.getNoOfChildren()},F.prototype.calcGrid=function(B){var z=0,Y=0;z=parseInt(Math.ceil((B.getRight()-B.getLeft())/this.repulsionRange)),Y=parseInt(Math.ceil((B.getBottom()-B.getTop())/this.repulsionRange));for(var nt=new Array(z),ot=0;ot<z;ot++)nt[ot]=new Array(Y);for(var ot=0;ot<z;ot++)for(var ft=0;ft<Y;ft++)nt[ot][ft]=new Array;return nt},F.prototype.addNodeToGrid=function(B,z,Y){var nt=0,ot=0,ft=0,wt=0;nt=parseInt(Math.floor((B.getRect().x-z)/this.repulsionRange)),ot=parseInt(Math.floor((B.getRect().width+B.getRect().x-z)/this.repulsionRange)),ft=parseInt(Math.floor((B.getRect().y-Y)/this.repulsionRange)),wt=parseInt(Math.floor((B.getRect().height+B.getRect().y-Y)/this.repulsionRange));for(var mt=nt;mt<=ot;mt++)for(var ct=ft;ct<=wt;ct++)this.grid[mt][ct].push(B),B.setGridCoordinates(nt,ot,ft,wt)},F.prototype.updateGrid=function(){var B,z,Y=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),B=0;B<Y.length;B++)z=Y[B],this.addNodeToGrid(z,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},F.prototype.calculateRepulsionForceOfANode=function(B,z,Y,nt){if(this.totalIterations%E.GRID_CALCULATION_CHECK_PERIOD==1&&Y||nt){var ot=new Set;B.surrounding=new Array;for(var ft,wt=this.grid,mt=B.startX-1;mt<B.finishX+2;mt++)for(var ct=B.startY-1;ct<B.finishY+2;ct++)if(!(mt<0||ct<0||mt>=wt.length||ct>=wt[0].length)){for(var rt=0;rt<wt[mt][ct].length;rt++)if(ft=wt[mt][ct][rt],!(B.getOwner()!=ft.getOwner()||B==ft)&&!z.has(ft)&&!ot.has(ft)){var it=Math.abs(B.getCenterX()-ft.getCenterX())-(B.getWidth()/2+ft.getWidth()/2),gt=Math.abs(B.getCenterY()-ft.getCenterY())-(B.getHeight()/2+ft.getHeight()/2);it<=this.repulsionRange&&gt<=this.repulsionRange&&ot.add(ft)}}B.surrounding=[].concat(v(ot))}for(mt=0;mt<B.surrounding.length;mt++)this.calcRepulsionForce(B,B.surrounding[mt])},F.prototype.calcRepulsionRange=function(){return 0},f.exports=F},function(f,g,w){var v=w(1),b=w(7);function E(_,M,F){v.call(this,_,M,F),this.idealLength=b.DEFAULT_EDGE_LENGTH}E.prototype=Object.create(v.prototype);for(var S in v)E[S]=v[S];f.exports=E},function(f,g,w){var v=w(3);function b(S,_,M,F){v.call(this,S,_,M,F),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}b.prototype=Object.create(v.prototype);for(var E in v)b[E]=v[E];b.prototype.setGridCoordinates=function(S,_,M,F){this.startX=S,this.finishX=_,this.startY=M,this.finishY=F},f.exports=b},function(f,g,w){function v(b,E){this.width=0,this.height=0,b!==null&&E!==null&&(this.height=E,this.width=b)}v.prototype.getWidth=function(){return this.width},v.prototype.setWidth=function(b){this.width=b},v.prototype.getHeight=function(){return this.height},v.prototype.setHeight=function(b){this.height=b},f.exports=v},function(f,g,w){var v=w(14);function b(){this.map={},this.keys=[]}b.prototype.put=function(E,S){var _=v.createID(E);this.contains(_)||(this.map[_]=S,this.keys.push(E))},b.prototype.contains=function(E){return v.createID(E),this.map[E]!=null},b.prototype.get=function(E){var S=v.createID(E);return this.map[S]},b.prototype.keySet=function(){return this.keys},f.exports=b},function(f,g,w){var v=w(14);function b(){this.set={}}b.prototype.add=function(E){var S=v.createID(E);this.contains(S)||(this.set[S]=E)},b.prototype.remove=function(E){delete this.set[v.createID(E)]},b.prototype.clear=function(){this.set={}},b.prototype.contains=function(E){return this.set[v.createID(E)]==E},b.prototype.isEmpty=function(){return this.size()===0},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAllTo=function(E){for(var S=Object.keys(this.set),_=S.length,M=0;M<_;M++)E.push(this.set[S[M]])},b.prototype.size=function(){return Object.keys(this.set).length},b.prototype.addAll=function(E){for(var S=E.length,_=0;_<S;_++){var M=E[_];this.add(M)}},f.exports=b},function(f,g,w){var v=function(){function _(M,F){for(var R=0;R<F.length;R++){var B=F[R];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(M,B.key,B)}}return function(M,F,R){return F&&_(M.prototype,F),R&&_(M,R),M}}();function b(_,M){if(!(_ instanceof M))throw new TypeError("Cannot call a class as a function")}var E=w(11),S=function(){function _(M,F){b(this,_),(F!==null||F!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var R=void 0;M instanceof E?R=M.size():R=M.length,this._quicksort(M,0,R-1)}return v(_,[{key:"_quicksort",value:function(F,R,B){if(R<B){var z=this._partition(F,R,B);this._quicksort(F,R,z),this._quicksort(F,z+1,B)}}},{key:"_partition",value:function(F,R,B){for(var z=this._get(F,R),Y=R,nt=B;;){for(;this.compareFunction(z,this._get(F,nt));)nt--;for(;this.compareFunction(this._get(F,Y),z);)Y++;if(Y<nt)this._swap(F,Y,nt),Y++,nt--;else return nt}}},{key:"_get",value:function(F,R){return F instanceof E?F.get_object_at(R):F[R]}},{key:"_set",value:function(F,R,B){F instanceof E?F.set_object_at(R,B):F[R]=B}},{key:"_swap",value:function(F,R,B){var z=this._get(F,R);this._set(F,R,this._get(F,B)),this._set(F,B,z)}},{key:"_defaultCompareFunction",value:function(F,R){return R>F}}]),_}();f.exports=S},function(f,g,w){var v=function(){function S(_,M){for(var F=0;F<M.length;F++){var R=M[F];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(_,R.key,R)}}return function(_,M,F){return M&&S(_.prototype,M),F&&S(_,F),_}}();function b(S,_){if(!(S instanceof _))throw new TypeError("Cannot call a class as a function")}var E=function(){function S(_,M){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,B=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,S),this.sequence1=_,this.sequence2=M,this.match_score=F,this.mismatch_penalty=R,this.gap_penalty=B,this.iMax=_.length+1,this.jMax=M.length+1,this.grid=new Array(this.iMax);for(var z=0;z<this.iMax;z++){this.grid[z]=new Array(this.jMax);for(var Y=0;Y<this.jMax;Y++)this.grid[z][Y]=0}this.tracebackGrid=new Array(this.iMax);for(var nt=0;nt<this.iMax;nt++){this.tracebackGrid[nt]=new Array(this.jMax);for(var ot=0;ot<this.jMax;ot++)this.tracebackGrid[nt][ot]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return v(S,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var M=1;M<this.jMax;M++)this.grid[0][M]=this.grid[0][M-1]+this.gap_penalty,this.tracebackGrid[0][M]=[!1,!1,!0];for(var F=1;F<this.iMax;F++)this.grid[F][0]=this.grid[F-1][0]+this.gap_penalty,this.tracebackGrid[F][0]=[!1,!0,!1];for(var R=1;R<this.iMax;R++)for(var B=1;B<this.jMax;B++){var z=void 0;this.sequence1[R-1]===this.sequence2[B-1]?z=this.grid[R-1][B-1]+this.match_score:z=this.grid[R-1][B-1]+this.mismatch_penalty;var Y=this.grid[R-1][B]+this.gap_penalty,nt=this.grid[R][B-1]+this.gap_penalty,ot=[z,Y,nt],ft=this.arrayAllMaxIndexes(ot);this.grid[R][B]=ot[ft[0]],this.tracebackGrid[R][B]=[ft.includes(0),ft.includes(1),ft.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var M=[];for(M.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});M[0];){var F=M[0],R=this.tracebackGrid[F.pos[0]][F.pos[1]];R[0]&&M.push({pos:[F.pos[0]-1,F.pos[1]-1],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),R[1]&&M.push({pos:[F.pos[0]-1,F.pos[1]],seq1:this.sequence1[F.pos[0]-1]+F.seq1,seq2:"-"+F.seq2}),R[2]&&M.push({pos:[F.pos[0],F.pos[1]-1],seq1:"-"+F.seq1,seq2:this.sequence2[F.pos[1]-1]+F.seq2}),F.pos[0]===0&&F.pos[1]===0&&this.alignments.push({sequence1:F.seq1,sequence2:F.seq2}),M.shift()}return this.alignments}},{key:"getAllIndexes",value:function(M,F){for(var R=[],B=-1;(B=M.indexOf(F,B+1))!==-1;)R.push(B);return R}},{key:"arrayAllMaxIndexes",value:function(M){return this.getAllIndexes(M,Math.max.apply(null,M))}}]),S}();f.exports=E},function(f,g,w){var v=function(){};v.FDLayout=w(18),v.FDLayoutConstants=w(7),v.FDLayoutEdge=w(19),v.FDLayoutNode=w(20),v.DimensionD=w(21),v.HashMap=w(22),v.HashSet=w(23),v.IGeometry=w(8),v.IMath=w(9),v.Integer=w(10),v.Point=w(12),v.PointD=w(4),v.RandomSeed=w(16),v.RectangleD=w(13),v.Transform=w(17),v.UniqueIDGeneretor=w(14),v.Quicksort=w(24),v.LinkedList=w(11),v.LGraphObject=w(2),v.LGraph=w(5),v.LEdge=w(1),v.LGraphManager=w(6),v.LNode=w(3),v.Layout=w(15),v.LayoutConstants=w(0),v.NeedlemanWunsch=w(25),f.exports=v},function(f,g,w){function v(){this.listeners=[]}var b=v.prototype;b.addListener=function(E,S){this.listeners.push({event:E,callback:S})},b.removeListener=function(E,S){for(var _=this.listeners.length;_>=0;_--){var M=this.listeners[_];M.event===E&&M.callback===S&&this.listeners.splice(_,1)}},b.emit=function(E,S){for(var _=0;_<this.listeners.length;_++){var M=this.listeners[_];E===M.event&&M.callback(S)}},f.exports=v}])})}(b2t)),b2t.exports}var XHt;function ren(){return XHt||(XHt=1,function(i,a){(function(g,w){i.exports=w(nen())})(Z0,function(f){return function(g){var w={};function v(b){if(w[b])return w[b].exports;var E=w[b]={i:b,l:!1,exports:{}};return g[b].call(E.exports,E,E.exports,v),E.l=!0,E.exports}return v.m=g,v.c=w,v.i=function(b){return b},v.d=function(b,E,S){v.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:S})},v.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return v.d(E,"a",E),E},v.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},v.p="",v(v.s=7)}([function(g,w){g.exports=f},function(g,w,v){var b=v(0).FDLayoutConstants;function E(){}for(var S in b)E[S]=b[S];E.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,E.DEFAULT_RADIAL_SEPARATION=b.DEFAULT_EDGE_LENGTH,E.DEFAULT_COMPONENT_SEPERATION=60,E.TILE=!0,E.TILING_PADDING_VERTICAL=10,E.TILING_PADDING_HORIZONTAL=10,E.TREE_REDUCTION_ON_INCREMENTAL=!1,g.exports=E},function(g,w,v){var b=v(0).FDLayoutEdge;function E(_,M,F){b.call(this,_,M,F)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).LGraph;function E(_,M,F){b.call(this,_,M,F)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).LGraphManager;function E(_){b.call(this,_)}E.prototype=Object.create(b.prototype);for(var S in b)E[S]=b[S];g.exports=E},function(g,w,v){var b=v(0).FDLayoutNode,E=v(0).IMath;function S(M,F,R,B){b.call(this,M,F,R,B)}S.prototype=Object.create(b.prototype);for(var _ in b)S[_]=b[_];S.prototype.move=function(){var M=this.graphManager.getLayout();this.displacementX=M.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=M.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>M.coolingFactor*M.maxNodeDisplacement&&(this.displacementX=M.coolingFactor*M.maxNodeDisplacement*E.sign(this.displacementX)),Math.abs(this.displacementY)>M.coolingFactor*M.maxNodeDisplacement&&(this.displacementY=M.coolingFactor*M.maxNodeDisplacement*E.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),M.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},S.prototype.propogateDisplacementToChildren=function(M,F){for(var R=this.getChild().getNodes(),B,z=0;z<R.length;z++)B=R[z],B.getChild()==null?(B.moveBy(M,F),B.displacementX+=M,B.displacementY+=F):B.propogateDisplacementToChildren(M,F)},S.prototype.setPred1=function(M){this.pred1=M},S.prototype.getPred1=function(){return pred1},S.prototype.getPred2=function(){return pred2},S.prototype.setNext=function(M){this.next=M},S.prototype.getNext=function(){return next},S.prototype.setProcessed=function(M){this.processed=M},S.prototype.isProcessed=function(){return processed},g.exports=S},function(g,w,v){var b=v(0).FDLayout,E=v(4),S=v(3),_=v(5),M=v(2),F=v(1),R=v(0).FDLayoutConstants,B=v(0).LayoutConstants,z=v(0).Point,Y=v(0).PointD,nt=v(0).Layout,ot=v(0).Integer,ft=v(0).IGeometry,wt=v(0).LGraph,mt=v(0).Transform;function ct(){b.call(this),this.toBeTiled={}}ct.prototype=Object.create(b.prototype);for(var rt in b)ct[rt]=b[rt];ct.prototype.newGraphManager=function(){var it=new E(this);return this.graphManager=it,it},ct.prototype.newGraph=function(it){return new S(null,this.graphManager,it)},ct.prototype.newNode=function(it){return new _(this.graphManager,it)},ct.prototype.newEdge=function(it){return new M(null,null,it)},ct.prototype.initParameters=function(){b.prototype.initParameters.call(this,arguments),this.isSubLayout||(F.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=F.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=F.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=R.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=R.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=R.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=R.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=R.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=R.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/R.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=R.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},ct.prototype.layout=function(){var it=B.DEFAULT_CREATE_BENDS_AS_NEEDED;return it&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},ct.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(F.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var gt=new Set(this.getAllNodes()),Q=this.nodesWithGravity.filter(function(yt){return gt.has(yt)});this.graphManager.setAllNodesToApplyGravitation(Q)}}else{var it=this.getFlatForest();if(it.length>0)this.positionNodesRadially(it);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var gt=new Set(this.getAllNodes()),Q=this.nodesWithGravity.filter(function(dt){return gt.has(dt)});this.graphManager.setAllNodesToApplyGravitation(Q),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},ct.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%R.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var it=new Set(this.getAllNodes()),gt=this.nodesWithGravity.filter(function(K){return it.has(K)});this.graphManager.setAllNodesToApplyGravitation(gt),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var Q=!this.isTreeGrowing&&!this.isGrowthFinished,dt=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(Q,dt),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},ct.prototype.getPositionsData=function(){for(var it=this.graphManager.getAllNodes(),gt={},Q=0;Q<it.length;Q++){var dt=it[Q].rect,K=it[Q].id;gt[K]={id:K,x:dt.getCenterX(),y:dt.getCenterY(),w:dt.width,h:dt.height}}return gt},ct.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var it=!1;if(R.ANIMATE==="during")this.emit("layoutstarted");else{for(;!it;)it=this.tick();this.graphManager.updateBounds()}},ct.prototype.calculateNodesToApplyGravitationTo=function(){var it=[],gt,Q=this.graphManager.getGraphs(),dt=Q.length,K;for(K=0;K<dt;K++)gt=Q[K],gt.updateConnected(),gt.isConnected||(it=it.concat(gt.getNodes()));return it},ct.prototype.createBendpoints=function(){var it=[];it=it.concat(this.graphManager.getAllEdges());var gt=new Set,Q;for(Q=0;Q<it.length;Q++){var dt=it[Q];if(!gt.has(dt)){var K=dt.getSource(),yt=dt.getTarget();if(K==yt)dt.getBendpoints().push(new Y),dt.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(dt),gt.add(dt);else{var V=[];if(V=V.concat(K.getEdgeListToNode(yt)),V=V.concat(yt.getEdgeListToNode(K)),!gt.has(V[0])){if(V.length>1){var Ot;for(Ot=0;Ot<V.length;Ot++){var It=V[Ot];It.getBendpoints().push(new Y),this.createDummyNodesForBendpoints(It)}}V.forEach(function(jt){gt.add(jt)})}}}if(gt.size==it.length)break}},ct.prototype.positionNodesRadially=function(it){for(var gt=new z(0,0),Q=Math.ceil(Math.sqrt(it.length)),dt=0,K=0,yt=0,V=new Y(0,0),Ot=0;Ot<it.length;Ot++){Ot%Q==0&&(yt=0,K=dt,Ot!=0&&(K+=F.DEFAULT_COMPONENT_SEPERATION),dt=0);var It=it[Ot],jt=nt.findCenterOfTree(It);gt.x=yt,gt.y=K,V=ct.radialLayout(It,jt,gt),V.y>dt&&(dt=Math.floor(V.y)),yt=Math.floor(V.x+F.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Y(B.WORLD_CENTER_X-V.x/2,B.WORLD_CENTER_Y-V.y/2))},ct.radialLayout=function(it,gt,Q){var dt=Math.max(this.maxDiagonalInTree(it),F.DEFAULT_RADIAL_SEPARATION);ct.branchRadialLayout(gt,null,0,359,0,dt);var K=wt.calculateBounds(it),yt=new mt;yt.setDeviceOrgX(K.getMinX()),yt.setDeviceOrgY(K.getMinY()),yt.setWorldOrgX(Q.x),yt.setWorldOrgY(Q.y);for(var V=0;V<it.length;V++){var Ot=it[V];Ot.transform(yt)}var It=new Y(K.getMaxX(),K.getMaxY());return yt.inverseTransformPoint(It)},ct.branchRadialLayout=function(it,gt,Q,dt,K,yt){var V=(dt-Q+1)/2;V<0&&(V+=180);var Ot=(V+Q)%360,It=Ot*ft.TWO_PI/360,jt=K*Math.cos(It),xt=K*Math.sin(It);it.setCenter(jt,xt);var Ft=[];Ft=Ft.concat(it.getEdges());var Ct=Ft.length;gt!=null&&Ct--;for(var kt=0,Gt=Ft.length,Fe,Mt=it.getEdgesBetween(gt);Mt.length>1;){var pn=Mt[0];Mt.splice(0,1);var Ae=Ft.indexOf(pn);Ae>=0&&Ft.splice(Ae,1),Gt--,Ct--}gt!=null?Fe=(Ft.indexOf(Mt[0])+1)%Gt:Fe=0;for(var ye=Math.abs(dt-Q)/Ct,tn=Fe;kt!=Ct;tn=++tn%Gt){var sn=Ft[tn].getOtherEnd(it);if(sn!=gt){var be=(Q+kt*ye)%360,Ne=(be+ye)%360;ct.branchRadialLayout(sn,it,be,Ne,K+yt,yt),kt++}}},ct.maxDiagonalInTree=function(it){for(var gt=ot.MIN_VALUE,Q=0;Q<it.length;Q++){var dt=it[Q],K=dt.getDiagonal();K>gt&&(gt=K)}return gt},ct.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},ct.prototype.groupZeroDegreeMembers=function(){var it=this,gt={};this.memberGroups={},this.idToDummyNode={};for(var Q=[],dt=this.graphManager.getAllNodes(),K=0;K<dt.length;K++){var yt=dt[K],V=yt.getParent();this.getNodeDegreeWithChildren(yt)===0&&(V.id==null||!this.getToBeTiled(V))&&Q.push(yt)}for(var K=0;K<Q.length;K++){var yt=Q[K],Ot=yt.getParent().id;typeof gt[Ot]>"u"&&(gt[Ot]=[]),gt[Ot]=gt[Ot].concat(yt)}Object.keys(gt).forEach(function(It){if(gt[It].length>1){var jt="DummyCompound_"+It;it.memberGroups[jt]=gt[It];var xt=gt[It][0].getParent(),Ft=new _(it.graphManager);Ft.id=jt,Ft.paddingLeft=xt.paddingLeft||0,Ft.paddingRight=xt.paddingRight||0,Ft.paddingBottom=xt.paddingBottom||0,Ft.paddingTop=xt.paddingTop||0,it.idToDummyNode[jt]=Ft;var Ct=it.getGraphManager().add(it.newGraph(),Ft),kt=xt.getChild();kt.add(Ft);for(var Gt=0;Gt<gt[It].length;Gt++){var Fe=gt[It][Gt];kt.remove(Fe),Ct.add(Fe)}}})},ct.prototype.clearCompounds=function(){var it={},gt={};this.performDFSOnCompounds();for(var Q=0;Q<this.compoundOrder.length;Q++)gt[this.compoundOrder[Q].id]=this.compoundOrder[Q],it[this.compoundOrder[Q].id]=[].concat(this.compoundOrder[Q].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[Q].getChild()),this.compoundOrder[Q].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(it,gt)},ct.prototype.clearZeroDegreeMembers=function(){var it=this,gt=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(Q){var dt=it.idToDummyNode[Q];gt[Q]=it.tileNodes(it.memberGroups[Q],dt.paddingLeft+dt.paddingRight),dt.rect.width=gt[Q].width,dt.rect.height=gt[Q].height})},ct.prototype.repopulateCompounds=function(){for(var it=this.compoundOrder.length-1;it>=0;it--){var gt=this.compoundOrder[it],Q=gt.id,dt=gt.paddingLeft,K=gt.paddingTop;this.adjustLocations(this.tiledMemberPack[Q],gt.rect.x,gt.rect.y,dt,K)}},ct.prototype.repopulateZeroDegreeMembers=function(){var it=this,gt=this.tiledZeroDegreePack;Object.keys(gt).forEach(function(Q){var dt=it.idToDummyNode[Q],K=dt.paddingLeft,yt=dt.paddingTop;it.adjustLocations(gt[Q],dt.rect.x,dt.rect.y,K,yt)})},ct.prototype.getToBeTiled=function(it){var gt=it.id;if(this.toBeTiled[gt]!=null)return this.toBeTiled[gt];var Q=it.getChild();if(Q==null)return this.toBeTiled[gt]=!1,!1;for(var dt=Q.getNodes(),K=0;K<dt.length;K++){var yt=dt[K];if(this.getNodeDegree(yt)>0)return this.toBeTiled[gt]=!1,!1;if(yt.getChild()==null){this.toBeTiled[yt.id]=!1;continue}if(!this.getToBeTiled(yt))return this.toBeTiled[gt]=!1,!1}return this.toBeTiled[gt]=!0,!0},ct.prototype.getNodeDegree=function(it){it.id;for(var gt=it.getEdges(),Q=0,dt=0;dt<gt.length;dt++){var K=gt[dt];K.getSource().id!==K.getTarget().id&&(Q=Q+1)}return Q},ct.prototype.getNodeDegreeWithChildren=function(it){var gt=this.getNodeDegree(it);if(it.getChild()==null)return gt;for(var Q=it.getChild().getNodes(),dt=0;dt<Q.length;dt++){var K=Q[dt];gt+=this.getNodeDegreeWithChildren(K)}return gt},ct.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},ct.prototype.fillCompexOrderByDFS=function(it){for(var gt=0;gt<it.length;gt++){var Q=it[gt];Q.getChild()!=null&&this.fillCompexOrderByDFS(Q.getChild().getNodes()),this.getToBeTiled(Q)&&this.compoundOrder.push(Q)}},ct.prototype.adjustLocations=function(it,gt,Q,dt,K){gt+=dt,Q+=K;for(var yt=gt,V=0;V<it.rows.length;V++){var Ot=it.rows[V];gt=yt;for(var It=0,jt=0;jt<Ot.length;jt++){var xt=Ot[jt];xt.rect.x=gt,xt.rect.y=Q,gt+=xt.rect.width+it.horizontalPadding,xt.rect.height>It&&(It=xt.rect.height)}Q+=It+it.verticalPadding}},ct.prototype.tileCompoundMembers=function(it,gt){var Q=this;this.tiledMemberPack=[],Object.keys(it).forEach(function(dt){var K=gt[dt];Q.tiledMemberPack[dt]=Q.tileNodes(it[dt],K.paddingLeft+K.paddingRight),K.rect.width=Q.tiledMemberPack[dt].width,K.rect.height=Q.tiledMemberPack[dt].height})},ct.prototype.tileNodes=function(it,gt){var Q=F.TILING_PADDING_VERTICAL,dt=F.TILING_PADDING_HORIZONTAL,K={rows:[],rowWidth:[],rowHeight:[],width:0,height:gt,verticalPadding:Q,horizontalPadding:dt};it.sort(function(Ot,It){return Ot.rect.width*Ot.rect.height>It.rect.width*It.rect.height?-1:Ot.rect.width*Ot.rect.height<It.rect.width*It.rect.height?1:0});for(var yt=0;yt<it.length;yt++){var V=it[yt];K.rows.length==0?this.insertNodeToRow(K,V,0,gt):this.canAddHorizontal(K,V.rect.width,V.rect.height)?this.insertNodeToRow(K,V,this.getShortestRowIndex(K),gt):this.insertNodeToRow(K,V,K.rows.length,gt),this.shiftToLastRow(K)}return K},ct.prototype.insertNodeToRow=function(it,gt,Q,dt){var K=dt;if(Q==it.rows.length){var yt=[];it.rows.push(yt),it.rowWidth.push(K),it.rowHeight.push(0)}var V=it.rowWidth[Q]+gt.rect.width;it.rows[Q].length>0&&(V+=it.horizontalPadding),it.rowWidth[Q]=V,it.width<V&&(it.width=V);var Ot=gt.rect.height;Q>0&&(Ot+=it.verticalPadding);var It=0;Ot>it.rowHeight[Q]&&(It=it.rowHeight[Q],it.rowHeight[Q]=Ot,It=it.rowHeight[Q]-It),it.height+=It,it.rows[Q].push(gt)},ct.prototype.getShortestRowIndex=function(it){for(var gt=-1,Q=Number.MAX_VALUE,dt=0;dt<it.rows.length;dt++)it.rowWidth[dt]<Q&&(gt=dt,Q=it.rowWidth[dt]);return gt},ct.prototype.getLongestRowIndex=function(it){for(var gt=-1,Q=Number.MIN_VALUE,dt=0;dt<it.rows.length;dt++)it.rowWidth[dt]>Q&&(gt=dt,Q=it.rowWidth[dt]);return gt},ct.prototype.canAddHorizontal=function(it,gt,Q){var dt=this.getShortestRowIndex(it);if(dt<0)return!0;var K=it.rowWidth[dt];if(K+it.horizontalPadding+gt<=it.width)return!0;var yt=0;it.rowHeight[dt]<Q&&dt>0&&(yt=Q+it.verticalPadding-it.rowHeight[dt]);var V;it.width-K>=gt+it.horizontalPadding?V=(it.height+yt)/(K+gt+it.horizontalPadding):V=(it.height+yt)/it.width,yt=Q+it.verticalPadding;var Ot;return it.width<gt?Ot=(it.height+yt)/gt:Ot=(it.height+yt)/it.width,Ot<1&&(Ot=1/Ot),V<1&&(V=1/V),V<Ot},ct.prototype.shiftToLastRow=function(it){var gt=this.getLongestRowIndex(it),Q=it.rowWidth.length-1,dt=it.rows[gt],K=dt[dt.length-1],yt=K.width+it.horizontalPadding;if(it.width-it.rowWidth[Q]>yt&&gt!=Q){dt.splice(-1,1),it.rows[Q].push(K),it.rowWidth[gt]=it.rowWidth[gt]-yt,it.rowWidth[Q]=it.rowWidth[Q]+yt,it.width=it.rowWidth[instance.getLongestRowIndex(it)];for(var V=Number.MIN_VALUE,Ot=0;Ot<dt.length;Ot++)dt[Ot].height>V&&(V=dt[Ot].height);gt>0&&(V+=it.verticalPadding);var It=it.rowHeight[gt]+it.rowHeight[Q];it.rowHeight[gt]=V,it.rowHeight[Q]<K.height+it.verticalPadding&&(it.rowHeight[Q]=K.height+it.verticalPadding);var jt=it.rowHeight[gt]+it.rowHeight[Q];it.height+=jt-It,this.shiftToLastRow(it)}},ct.prototype.tilingPreLayout=function(){F.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},ct.prototype.tilingPostLayout=function(){F.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},ct.prototype.reduceTrees=function(){for(var it=[],gt=!0,Q;gt;){var dt=this.graphManager.getAllNodes(),K=[];gt=!1;for(var yt=0;yt<dt.length;yt++)Q=dt[yt],Q.getEdges().length==1&&!Q.getEdges()[0].isInterGraph&&Q.getChild()==null&&(K.push([Q,Q.getEdges()[0],Q.getOwner()]),gt=!0);if(gt==!0){for(var V=[],Ot=0;Ot<K.length;Ot++)K[Ot][0].getEdges().length==1&&(V.push(K[Ot]),K[Ot][0].getOwner().remove(K[Ot][0]));it.push(V),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=it},ct.prototype.growTree=function(it){for(var gt=it.length,Q=it[gt-1],dt,K=0;K<Q.length;K++)dt=Q[K],this.findPlaceforPrunedNode(dt),dt[2].add(dt[0]),dt[2].add(dt[1],dt[1].source,dt[1].target);it.splice(it.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},ct.prototype.findPlaceforPrunedNode=function(it){var gt,Q,dt=it[0];dt==it[1].source?Q=it[1].target:Q=it[1].source;var K=Q.startX,yt=Q.finishX,V=Q.startY,Ot=Q.finishY,It=0,jt=0,xt=0,Ft=0,Ct=[It,xt,jt,Ft];if(V>0)for(var kt=K;kt<=yt;kt++)Ct[0]+=this.grid[kt][V-1].length+this.grid[kt][V].length-1;if(yt<this.grid.length-1)for(var kt=V;kt<=Ot;kt++)Ct[1]+=this.grid[yt+1][kt].length+this.grid[yt][kt].length-1;if(Ot<this.grid[0].length-1)for(var kt=K;kt<=yt;kt++)Ct[2]+=this.grid[kt][Ot+1].length+this.grid[kt][Ot].length-1;if(K>0)for(var kt=V;kt<=Ot;kt++)Ct[3]+=this.grid[K-1][kt].length+this.grid[K][kt].length-1;for(var Gt=ot.MAX_VALUE,Fe,Mt,pn=0;pn<Ct.length;pn++)Ct[pn]<Gt?(Gt=Ct[pn],Fe=1,Mt=pn):Ct[pn]==Gt&&Fe++;if(Fe==3&&Gt==0)Ct[0]==0&&Ct[1]==0&&Ct[2]==0?gt=1:Ct[0]==0&&Ct[1]==0&&Ct[3]==0?gt=0:Ct[0]==0&&Ct[2]==0&&Ct[3]==0?gt=3:Ct[1]==0&&Ct[2]==0&&Ct[3]==0&&(gt=2);else if(Fe==2&&Gt==0){var Ae=Math.floor(Math.random()*2);Ct[0]==0&&Ct[1]==0?Ae==0?gt=0:gt=1:Ct[0]==0&&Ct[2]==0?Ae==0?gt=0:gt=2:Ct[0]==0&&Ct[3]==0?Ae==0?gt=0:gt=3:Ct[1]==0&&Ct[2]==0?Ae==0?gt=1:gt=2:Ct[1]==0&&Ct[3]==0?Ae==0?gt=1:gt=3:Ae==0?gt=2:gt=3}else if(Fe==4&&Gt==0){var Ae=Math.floor(Math.random()*4);gt=Ae}else gt=Mt;gt==0?dt.setCenter(Q.getCenterX(),Q.getCenterY()-Q.getHeight()/2-R.DEFAULT_EDGE_LENGTH-dt.getHeight()/2):gt==1?dt.setCenter(Q.getCenterX()+Q.getWidth()/2+R.DEFAULT_EDGE_LENGTH+dt.getWidth()/2,Q.getCenterY()):gt==2?dt.setCenter(Q.getCenterX(),Q.getCenterY()+Q.getHeight()/2+R.DEFAULT_EDGE_LENGTH+dt.getHeight()/2):dt.setCenter(Q.getCenterX()-Q.getWidth()/2-R.DEFAULT_EDGE_LENGTH-dt.getWidth()/2,Q.getCenterY())},g.exports=ct},function(g,w,v){var b={};b.layoutBase=v(0),b.CoSEConstants=v(1),b.CoSEEdge=v(2),b.CoSEGraph=v(3),b.CoSEGraphManager=v(4),b.CoSELayout=v(6),b.CoSENode=v(5),g.exports=b}])})}(p2t)),p2t.exports}(function(i,a){(function(g,w){i.exports=w(ren())})(Z0,function(f){return function(g){var w={};function v(b){if(w[b])return w[b].exports;var E=w[b]={i:b,l:!1,exports:{}};return g[b].call(E.exports,E,E.exports,v),E.l=!0,E.exports}return v.m=g,v.c=w,v.i=function(b){return b},v.d=function(b,E,S){v.o(b,E)||Object.defineProperty(b,E,{configurable:!1,enumerable:!0,get:S})},v.n=function(b){var E=b&&b.__esModule?function(){return b.default}:function(){return b};return v.d(E,"a",E),E},v.o=function(b,E){return Object.prototype.hasOwnProperty.call(b,E)},v.p="",v(v.s=1)}([function(g,w){g.exports=f},function(g,w,v){var b=v(0).layoutBase.LayoutConstants,E=v(0).layoutBase.FDLayoutConstants,S=v(0).CoSEConstants,_=v(0).CoSELayout,M=v(0).CoSENode,F=v(0).layoutBase.PointD,R=v(0).layoutBase.DimensionD,B={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function z(ft,wt){var mt={};for(var ct in ft)mt[ct]=ft[ct];for(var ct in wt)mt[ct]=wt[ct];return mt}function Y(ft){this.options=z(B,ft),nt(this.options)}var nt=function(wt){wt.nodeRepulsion!=null&&(S.DEFAULT_REPULSION_STRENGTH=E.DEFAULT_REPULSION_STRENGTH=wt.nodeRepulsion),wt.idealEdgeLength!=null&&(S.DEFAULT_EDGE_LENGTH=E.DEFAULT_EDGE_LENGTH=wt.idealEdgeLength),wt.edgeElasticity!=null&&(S.DEFAULT_SPRING_STRENGTH=E.DEFAULT_SPRING_STRENGTH=wt.edgeElasticity),wt.nestingFactor!=null&&(S.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=E.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=wt.nestingFactor),wt.gravity!=null&&(S.DEFAULT_GRAVITY_STRENGTH=E.DEFAULT_GRAVITY_STRENGTH=wt.gravity),wt.numIter!=null&&(S.MAX_ITERATIONS=E.MAX_ITERATIONS=wt.numIter),wt.gravityRange!=null&&(S.DEFAULT_GRAVITY_RANGE_FACTOR=E.DEFAULT_GRAVITY_RANGE_FACTOR=wt.gravityRange),wt.gravityCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_STRENGTH=E.DEFAULT_COMPOUND_GRAVITY_STRENGTH=wt.gravityCompound),wt.gravityRangeCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=E.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=wt.gravityRangeCompound),wt.initialEnergyOnIncremental!=null&&(S.DEFAULT_COOLING_FACTOR_INCREMENTAL=E.DEFAULT_COOLING_FACTOR_INCREMENTAL=wt.initialEnergyOnIncremental),wt.quality=="draft"?b.QUALITY=0:wt.quality=="proof"?b.QUALITY=2:b.QUALITY=1,S.NODE_DIMENSIONS_INCLUDE_LABELS=E.NODE_DIMENSIONS_INCLUDE_LABELS=b.NODE_DIMENSIONS_INCLUDE_LABELS=wt.nodeDimensionsIncludeLabels,S.DEFAULT_INCREMENTAL=E.DEFAULT_INCREMENTAL=b.DEFAULT_INCREMENTAL=!wt.randomize,S.ANIMATE=E.ANIMATE=b.ANIMATE=wt.animate,S.TILE=wt.tile,S.TILING_PADDING_VERTICAL=typeof wt.tilingPaddingVertical=="function"?wt.tilingPaddingVertical.call():wt.tilingPaddingVertical,S.TILING_PADDING_HORIZONTAL=typeof wt.tilingPaddingHorizontal=="function"?wt.tilingPaddingHorizontal.call():wt.tilingPaddingHorizontal};Y.prototype.run=function(){var ft,wt,mt=this.options;this.idToLNode={};var ct=this.layout=new _,rt=this;rt.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var it=ct.newGraphManager();this.gm=it;var gt=this.options.eles.nodes(),Q=this.options.eles.edges();this.root=it.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(gt),ct);for(var dt=0;dt<Q.length;dt++){var K=Q[dt],yt=this.idToLNode[K.data("source")],V=this.idToLNode[K.data("target")];if(yt!==V&&yt.getEdgesBetween(V).length==0){var Ot=it.add(ct.newEdge(),yt,V);Ot.id=K.id()}}var It=function(Ft,Ct){typeof Ft=="number"&&(Ft=Ct);var kt=Ft.data("id"),Gt=rt.idToLNode[kt];return{x:Gt.getRect().getCenterX(),y:Gt.getRect().getCenterY()}},jt=function xt(){for(var Ft=function(){mt.fit&&mt.cy.fit(mt.eles,mt.padding),ft||(ft=!0,rt.cy.one("layoutready",mt.ready),rt.cy.trigger({type:"layoutready",layout:rt}))},Ct=rt.options.refresh,kt,Gt=0;Gt<Ct&&!kt;Gt++)kt=rt.stopped||rt.layout.tick();if(kt){ct.checkLayoutSuccess()&&!ct.isSubLayout&&ct.doPostLayout(),ct.tilingPostLayout&&ct.tilingPostLayout(),ct.isLayoutFinished=!0,rt.options.eles.nodes().positions(It),Ft(),rt.cy.one("layoutstop",rt.options.stop),rt.cy.trigger({type:"layoutstop",layout:rt}),wt&&cancelAnimationFrame(wt),ft=!1;return}var Fe=rt.layout.getPositionsData();mt.eles.nodes().positions(function(Mt,pn){if(typeof Mt=="number"&&(Mt=pn),!Mt.isParent()){for(var Ae=Mt.id(),ye=Fe[Ae],tn=Mt;ye==null&&(ye=Fe[tn.data("parent")]||Fe["DummyCompound_"+tn.data("parent")],Fe[Ae]=ye,tn=tn.parent()[0],tn!=null););return ye!=null?{x:ye.x,y:ye.y}:{x:Mt.position("x"),y:Mt.position("y")}}}),Ft(),wt=requestAnimationFrame(xt)};return ct.addListener("layoutstarted",function(){rt.options.animate==="during"&&(wt=requestAnimationFrame(jt))}),ct.runLayout(),this.options.animate!=="during"&&(rt.options.eles.nodes().not(":parent").layoutPositions(rt,rt.options,It),ft=!1),this},Y.prototype.getTopMostNodes=function(ft){for(var wt={},mt=0;mt<ft.length;mt++)wt[ft[mt].id()]=!0;var ct=ft.filter(function(rt,it){typeof rt=="number"&&(rt=it);for(var gt=rt.parent()[0];gt!=null;){if(wt[gt.id()])return!1;gt=gt.parent()[0]}return!0});return ct},Y.prototype.processChildrenList=function(ft,wt,mt){for(var ct=wt.length,rt=0;rt<ct;rt++){var it=wt[rt],gt=it.children(),Q,dt=it.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(it.outerWidth()!=null&&it.outerHeight()!=null?Q=ft.add(new M(mt.graphManager,new F(it.position("x")-dt.w/2,it.position("y")-dt.h/2),new R(parseFloat(dt.w),parseFloat(dt.h)))):Q=ft.add(new M(this.graphManager)),Q.id=it.data("id"),Q.paddingLeft=parseInt(it.css("padding")),Q.paddingTop=parseInt(it.css("padding")),Q.paddingRight=parseInt(it.css("padding")),Q.paddingBottom=parseInt(it.css("padding")),this.options.nodeDimensionsIncludeLabels&&it.isParent()){var K=it.boundingBox({includeLabels:!0,includeNodes:!1}).w,yt=it.boundingBox({includeLabels:!0,includeNodes:!1}).h,V=it.css("text-halign");Q.labelWidth=K,Q.labelHeight=yt,Q.labelPos=V}if(this.idToLNode[it.data("id")]=Q,isNaN(Q.rect.x)&&(Q.rect.x=0),isNaN(Q.rect.y)&&(Q.rect.y=0),gt!=null&&gt.length>0){var Ot;Ot=mt.getGraphManager().add(mt.newGraph(),Q),this.processChildrenList(Ot,gt,mt)}}},Y.prototype.stop=function(){return this.stopped=!0,this};var ot=function(wt){wt("layout","cose-bilkent",Y)};typeof cytoscape<"u"&&ot(cytoscape),g.exports=ot}])})})(WHt);var ien=WHt.exports;const sen=e9(ien),aen=12,oen=function(i,a,f,g){a.append("path").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("d",`M0 ${f.height-5} v${-f.height+2*5} q0,-5 5,-5 h${f.width-2*5} q5,0 5,5 v${f.height-5} H0 Z`),a.append("line").attr("class","node-line-"+g).attr("x1",0).attr("y1",f.height).attr("x2",f.width).attr("y2",f.height)},cen=function(i,a,f){a.append("rect").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("height",f.height).attr("width",f.width)},uen=function(i,a,f){const g=f.width,w=f.height,v=.15*g,b=.25*g,E=.35*g,S=.2*g;a.append("path").attr("id","node-"+f.id).attr("class","node-bkg node-"+i.type2Str(f.type)).attr("d",`M0 0 a${v},${v} 0 0,1 ${g*.25},${-1*g*.1}