From a9af9f0010c46e0459f7260321ebeef7329f8ba5 Mon Sep 17 00:00:00 2001 From: arbyn-argabioso Date: Tue, 10 Dec 2024 02:42:35 +0800 Subject: [PATCH] Consider negative age --- public/family/js/family.js | 5 +++++ public/family/js/family.min.js | 2 +- public/family/js/utils.js | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/public/family/js/family.js b/public/family/js/family.js index 6dd8d16..12deb0f 100644 --- a/public/family/js/family.js +++ b/public/family/js/family.js @@ -1624,6 +1624,11 @@ bino.getRelativeDates = function(nodeData, isPrivate) { return `${separator}${marriageYear}${separator}${deathYear}${age}`; } + // Do not show negative ages + if (age < 0) { + age = "NaN"; + } + // If deathYear does not exist, return the formatted // `birthYear` with a separator and "Living" or "Deceased" // based on the living flag. diff --git a/public/family/js/family.min.js b/public/family/js/family.min.js index 687db30..98c6add 100644 --- a/public/family/js/family.min.js +++ b/public/family/js/family.min.js @@ -49,7 +49,7 @@ Model data should not have any references to a Diagram or any part of a diagram, "modifiedLinkData": `;GT=`, "removedLinkKeys": `;KT(e){var i=new N;for(let t=0;t{t.model===n&&("linkDataArray"===t.modelChange?3===t.change?a.add(t.newValue):4===t.change&&o.add(t.oldValue):n.containsLinkData(t.object)?r.add(t.object):null!==t.object&&(null!==t.object&&l&&l.contains(t.object)?l.get(t.object).each(t=>{n.containsLinkData(t)&&r.add(t)}):t.object instanceof b||n.containsNodeData(t.object)||n.KT(t.object).each(t=>r.add(t))))}),this.gg),u=(h.clear(),a.each(t=>{h.add(n.getKeyForLinkData(t)),e||r.add(t)}),this.dg);u.clear(),o.each(t=>{u.add(n.getKeyForLinkData(t)),e&&r.add(t)});let d=s;return 0new oi,b.initDiagramModel=b.initDiagramModel=()=>new oi;class li extends b{Bn;kg;$a;constructor(t,e){super(),this.Bn="parent",this.kg=!1,this.$a="parentLinkCategory",void 0!==t&&(Array.isArray(t)?this.nodeDataArray=t:e=t),e&&(Object.assign(this,e),t=e.Changed)&&(delete this.Changed,this.addChangedListener(t))}cloneProtected(t){super.cloneProtected(t),t.Bn=this.Bn,t.kg=this.kg,t.$a=this.$a}toString(t){if(2<=(t=void 0===t?0:t))return this.toJson();{let e=(""!==this.name?this.name:"")+" TreeModel";if(0=i.length||(e.add(i.elt(t)),t+1>=i.length));t+=2)s.add(i.elt(t+1));12===this.direction?(3===this.arrangement&&e.reverse(),(i=new O).addAll(e),i.addAll(s)):(3===this.arrangement&&s.reverse(),(i=new O).addAll(s),i.addAll(e))}var g=i.length;let m=u=0;for(let e=0;ea?(a=A,d=a*r,b):y/(360<=l?g:g-1)}}return this.vb=t,this.EN=n,this.me=a,this.Xc=r,this.Hb=o,this.Sg=l,this.Ih=h,this.VN=u,this.Ls=d,this.Xy=c,i}doLayout(e){Ht,null===e&&Kt.n("Layout.doLayout(collection) argument must not be null but a Diagram, a Group, or an Iterable of Parts"),null===this.network&&(this.network=this.makeNetwork(e)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);e=this.network.vertexes;if(e.count<=1)1===e.count&&((a=e.first()).centerX=0,a.centerY=0);else{let t=new O;t.addAll(e.iterator);var s=new O,n=new O,a=(t=this.YO(t,s,n),this.vb),r=this.me,o=this.Hb,l=this.Sg,h=this.Ih,u=this.Ls,d=this.Xy;if(12!==this.direction&&13!==this.direction||3!==a)if(12===this.direction||13===this.direction){let i=0;switch(a){case 1:i=180*this.Wb(r,u,o,d)/Math.PI;break;case 0:{let t=0,e=0;var c=s.first(),c=(null!==c&&(t=c.Oh(Math.PI/2)),n.first());null!==c&&(e=c.Oh(Math.PI/2)),i=180*this.Wb(r,u,o,h+(t+e)/2)/Math.PI;break}case 2:i=l/t.length}if(12===this.direction){switch(a){case 1:this.Uy(s,l/2,o,11);break;case 0:this.Gy(s,l/2,o,11);break;case 2:this.Hy(s,l/2,o,11)}switch(a){case 1:this.Uy(n,l/2,o+i,10);break;case 0:this.Gy(n,l/2,o+i,10);break;case 2:this.Hy(n,l/2,o+i,10)}}else{switch(a){case 1:this.Uy(n,l/2,o,11);break;case 0:this.Gy(n,l/2,o,11);break;case 2:this.Hy(n,l/2,o,11)}switch(a){case 1:this.Uy(s,l/2,o+i,10);break;case 0:this.Gy(s,l/2,o+i,10);break;case 2:this.Hy(s,l/2,o+i,10)}}}else switch(a){case 1:this.Uy(t,l,o,this.direction);break;case 0:this.Gy(t,l,o,this.direction);break;case 2:this.Hy(t,l,o,this.direction);break;case 3:this.qT(t,l,o,this.direction)}else this.qT(t,l,o-l/2,10)}this.updateParts(),this.network=null,this.isValidLayout=!0}Hy(e,t,i,s){var n=this.Sg,a=this.me,r=this.Ls,o=i*Math.PI/180,l=t*Math.PI/180,h=e.length;for(let t=0;t=d.length-1));t++)this.JT(e,i,d,t,r,c)||this.ZT(e,i,d,t,r,c),e=c.x,i=c.y;if(_.o(c),this.Qa++,!(23Math.abs(m)?0=d.length-1));t++)this.JT(o,l,d,t,s,u)||this.ZT(o,l,d,t,s,u),o=u.x,l=u.y;_.o(u),this.Qa++,23o){if((h=t-r)<-o)return a.x=h,a.y=u,!1;d=!0}}else if((h=t-r)<-o){if((h=t+r)>o)return a.x=h,a.y=u,!1;d=!0}return u=Math.sqrt(1-Math.min(1,h*h/(o*o)))*l,e<0!==d&&(u=-u),Math.abs(e-u)>(i[s].height+i[s+1].height)/2?(a.x=h,a.y=u,!1):(a.x=h,a.y=u,!0)}ZT(t,e,i,s,n,a){var r=this.Ih,o=this.me,l=this.Ls;let h=0,u=0;r=(i[s].height+i[s+1].height)/2+r;let d=!1;if(0<=t!=(10===n)){if((u=e-r)<-l){if((u=e+r)>l)return a.x=h,a.y=u,!1;d=!0}}else if((u=e+r)>l){if((u=e-r)<-l)return a.x=h,a.y=u,!1;d=!0}return h=Math.sqrt(1-Math.min(1,u*u/(l*l)))*o,t<0!==d&&(h=-h),Math.abs(t-h)>(i[s].width+i[s+1].width)/2?(a.x=h,a.y=u,!1):(a.x=h,a.y=u,!0)}commitLayout(){this.commitNodes(),this.isRouting&&this.commitLinks()}commitNodes(){var t=null!==this.group&&this.group.hasPlaceholder(),e=t?this.group.location.copy():null;let i=this.actualCenter;t?i=new _(0,0):(i.x=this.arrangementOrigin.x+this.me,i.y=this.arrangementOrigin.y+this.Ls);for(var s,n=this.network.vertexes.iterator;n.next();){var a=n.value;a.x+=i.x,a.y+=i.y,a.commit()}t&&(this.group.ensureBounds(),t=this.group.position.copy(),s=this.group.location.copy(),e=e.subtract(s.subtract(t)),this.group.move(e),this.ON=e.subtract(t))}commitLinks(){for(var t=this.network.edges.iterator;t.next();)t.value.commit()}BN(t,e,i,s){var n=this.vT;if(Math.abs(this.Xc-1)<.001)return void 0!==i&&void 0!==s?s*t:2*Math.PI*t;var a=e=n)return t*o}}KO(t){switch(this.sorting){case 20:break;case 21:t.reverse();break;case 22:t.sort(this.comparer);break;case 23:t.sort(this.comparer),t.reverse();break;case 24:return this.HO(this.vO(t));default:Kt.n("Invalid sorting type.")}return t}vO(n){var a=[];for(let t=0;te&&(e=o,i=t)}else for(let t=0;te&&(e=l,i=t)}r.add(n.elt(i)),a[i]=-1;var h=n.elt(i);let t=0;for(var u=h.sourceEdges;u.next();){var d=u.value.fromVertex;!((t=n.indexOf(d))<0)&&0<=a[t]&&a[t]++}for(var c=h.destinationEdges;c.next();){var g=c.value.toVertex;!((t=n.indexOf(g))<0)&&0<=a[t]&&a[t]++}}return r}HO(i){var r=[];for(let e=0;e=v&&t++,e>=v&&e++,t>e&&(p=e,e=t,t=p),e-t<(u.length+2)/2==(tMath.max(100,Math.sqrt(n*t.vertexes.count));)s=this.coarsenNetwork(s);let a=0,r=(e=s.vertexes.iterator,this.randomNumberGenerator);for(null===r&&(this.randomNumberGenerator=r=new Ai(0));e.next();){e.value.idInCluster=a++;for(var o=10*(r.random()-.5),l=10*(r.random()-.5),h=(e.value.x=o,e.value.y=l,e.value.hierarchicalVertexes.iterator);h.next();)h.value.x=o,h.value.y=l}var u=this.computePairwiseDistances(s);this.jO(s,u,this.maxPrelayoutIterations,t.vertexes.count),this.$T(t,this.maxIterations)}computePairwiseDistances(t){var e=t.vertexes.count,i=new Array(e);for(let t=0;tu.y&&i[t].x-u.xu.x&&i[t].y-u.yr-a,u=(h?i.sort((t,e)=>null===t||null===e||t===e?0:t.centerX-e.centerX):i.sort((t,e)=>null===t||null===e||t===e?0:t.centerY-e.centerY),this.Gc);let d=0,c=0,g=0;for(let e=0;ethis.epsilonDistance*this.epsilonDistance}jO(t,i,e,s){Ht,Kt.r(e,yi,"performIterations:num");var n,a,r=this.Eh+e,o=Math.sqrt(s),l=(this.vy=this.tf*t.vertexes.count,t.vertexes.toArray());let h=0,u,d=0;for(;this.Eh=u){if(5<=++d)break}else d=0;this.vy*=.95}}moveVertex(t){let e=t.forceX,i=t.forceY;var s=this.moveLimit;return e<-s?e=-s:e>s&&(e=s),i<-s?i=-s:i>s&&(i=s),t.centerX+=e,t.centerY+=i,e*e+i*i}shouldInteract(t,e){return!0}moveFixedVertex(t){}commitLayout(){this.qy(),this.commitNodes(),this.isRouting&&this.commitLinks()}qy(){if(this.setsPortSpots)for(var t=this.network.edges.iterator;t.next();){var e=t.value.link;null!==e&&(e.fromSpot=Z.Default,e.toSpot=Z.Default)}}commitNodes(){let t=0,e=0;this.arrangesToOrigin&&(i=Q.a(),this.Fw(this.network,i),s=this.arrangementOrigin,t=s.x-i.x,e=s.y-i.y,Q.o(i));for(var i,s,n=Q.a(),a=this.network.vertexes.iterator;a.next();){var r=a.value;0===t&&0===e||(n.c(r.bounds),n.x+=t,n.y+=e,r.bounds=n),r.commit()}Q.o(n)}commitLinks(){for(var t=this.network.edges.iterator;t.next();)t.value.commit()}springStiffness(t){t=t.stiffness;return isNaN(t)?this.Hc:t}springLength(t){t=t.length;return isNaN(t)?this.vc:t}electricalCharge(t){t=t.charge;return isNaN(t)?this.qc:t}electricalFieldX(t,e){return 0}electricalFieldY(t,e){return 0}gravitationalMass(t){t=t.mass;return isNaN(t)?this.Wc:t}gravitationalFieldX(t,e){return 0}gravitationalFieldY(t,e){return 0}isFixed(t){return t.isFixed}get currentIteration(){return this.Eh}get arrangementSpacing(){return this.Ts}set arrangementSpacing(t){Kt.s(t,Yt,yi,"arrangementSpacing"),this.Ts.equals(t)||(this.Ts.c(t),this.invalidateLayout())}get arrangesToOrigin(){return this.Ag}set arrangesToOrigin(t){this.Ag!==t&&(Kt.t(t,"boolean",yi,"arrangesToOrigin"),this.Ag=t,this.invalidateLayout())}get setsPortSpots(){return this.zn}set setsPortSpots(t){this.zn!==t&&(Kt.t(t,"boolean",yi,"setsPortSpots"),this.zn=t,this.invalidateLayout())}get comments(){return this.Ye}set comments(t){this.Ye!==t&&(Kt.t(t,"boolean",yi,"comments"),this.Ye=t,this.invalidateLayout())}get maxPrelayoutIterations(){return this.Lg}set maxPrelayoutIterations(t){this.Lg!==t&&(Kt.t(t,"number",yi,"maxPrelayoutIterations"),0<=t)&&(this.Lg=t,this.invalidateLayout())}get maxIterations(){return this.Tg}set maxIterations(t){this.Tg!==t&&(Kt.t(t,"number",yi,"maxIterations"),0<=t)&&(this.Tg=t,this.invalidateLayout())}get epsilonDistance(){return this.Dg}set epsilonDistance(t){this.Dg!==t&&(Kt.t(t,"number",yi,"epsilonDistance"),0d||a===d&&o>g)&&t++,ca||d===a&&g>o)&&t++;if(v<=0)for(e=y[f].hr,s=0;sd||a===d&&r>c)&&t++,ga||d===a&&c>r)&&t++;for(x[f*b+f]=t,i=f+1;it-e),h=s>>1,1&s?l[t]=u[h]:l[t]=u[h-1]+u[h]>>1)}return this.Bh(a,o),l}Zy(i,s,n,a,r){if(i.component===n){i.component=s;let t=0,e=0;if(a)for(var o=i.destinationEdges;o.next();){var l=o.value,h=l.toVertex;t=i.layer-h.layer,e=this.linkMinLength(l),t===e&&this.Zy(h,s,n,a,r)}if(r)for(var u=i.sourceEdges;u.next();){var d=u.value,c=d.fromVertex;t=c.layer-i.layer,e=this.linkMinLength(d),t===e&&this.Zy(c,s,n,a,r)}}}KN(t,e,i,s,n){if(t.component===i){if(t.component=e,s)for(var a=t.destinationEdges;a.next();){var r=a.value.toVertex;this.KN(r,e,i,s,n)}if(n)for(var o=t.sourceEdges;o.next();){var l=o.value.fromVertex;this.KN(l,e,i,s,n)}}}removeCycles(){for(var t=this.network.edges.iterator;t.next();)t.value.rev=!1;switch(this.Jc){default:case 1:this.e3();break;case 0:this.s3();break;case 2:this.o3()}}o3(){var t=this.network,i=t.vertexes.iterator;let s=1/0;for(;i.next();){var e=i.value;s=Math.min(s,e.layer)}if(s<1/0){if(s<0)for(i.reset();i.next();)i.value.layer-=s;var n=[];for(i.reset();i.next();){var a=i.value,r=n[a.layer];void 0===r?n[a.layer]=[a]:r.push(a)}let e=0;for(let t=0;tl.index&&(e.reverseEdge(r),r.rev=!0)}}r3(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee)return i}return null}iD(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee){let t=!0;for(var s=i.destinationEdges;s.next();)if(s.value.toVertex.ee){t=!1;break}if(t)return i}}return null}eD(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee){let t=!0;for(var s=i.sourceEdges;s.next();)if(s.value.fromVertex.ee){t=!1;break}if(t)return i}}return null}l3(t){let i=null,s=0;for(var e=this.network.vertexes.iterator;e.next();){var n=e.value;if(n.ee){let t=0;for(var a=n.destinationEdges;a.next();)a.value.toVertex.ee&&t++;let e=0;for(var r=n.sourceEdges;r.next();)r.value.fromVertex.ee&&e++;(null===i||sn&&this.Zy(a,0,-1,!0,!1)}for(this.Zy(e,1,-1,!0,!0);0!==e.component;){let s=0,n=1/0,t=0,a=null;for(var l=this.network.vertexes.iterator;l.next();){var h=l.value;if(1===h.component){let e=0,i=!1;var u=h.Mo;r=u.length;for(let t=0;tt)&&!i&&(r=o,t=e)}}if(n<0){for(i.reset();i.next();){var m=i.value;1===m.component&&(m.layer-=a)}e.component=0}else r.component=0}}QO(){for(var d=this.network,e=[],t=d.edges.iterator;t.next();){var i=t.value;i.valid=!1,e.push(i)}for(let t=0;th&&0h&&0e[this.Fs]&&(this.Wy=e[t]-1,this.Fs=t),e[t]{t.index=this.yi[a],this.yi[a]++})}}}m3(){let e=null;for(var i=this.network.vertexes.iterator;i.next();){var t,s=i.value;s.near&&(null===e&&(e=new Map),s.layer===s.near.layer)&&((t=e.get(s.near)||[]).push(s),e.set(s.near,t))}for(let t=this.Lt;0<=t;t--)for(i.reset();i.next();){var n=i.value;n.layer===t&&-1===n.index&&this.aD(n,e)}}aD(t,i){if(!t.near){const l=t.layer;t.index=this.yi[l],this.yi[l]++,i&&(s=i.get(t),Array.isArray(s))&&s.forEach(t=>{t.index=this.yi[l],this.yi[l]++});var s,n=t.hr;let e=!0;for(;e;){e=!1;for(let t=0;tr.portFromColOffset&&(e=!0,n[t]=r,n[t+1]=a)}}for(let t=0;t{t.index=this.yi[h],this.yi[h]++});var n,a,r=i.Mo;let t=!0,e=0;for(;t;)for(t=!1,e=0;el.portToColOffset&&(t=!0,r[e]=l,r[e+1]=o)}for(e=0;e=o;s--)a=this.gs(s,-1,!1,-1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,1,!1,1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,1,!1,1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,-1,!1,-1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,0,!1,0)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,0,!1,0)||a;n>=t?this.ns(e):(t=n,e=this.ie())}break;default:for(r=this.Lt,o=0,l=t+1;(h=this.countCrossings())=o;s--)a=this.gs(s,-1,!1,-1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,1,!1,1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,1,!1,1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,-1,!1,-1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,0,!1,0)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,0,!1,0)||a;n>=t?this.ns(e):(t=n,e=this.ie())}}this.ns(e)}lk(t,e){Ht,Kt.r(t,Ni,"medianBarycenterCrossingReduction:unfixedLayer"),Kt.r(e,Ni,"medianBarycenterCrossingReduction:direction");let i=0,s=!1;var n,a=this.Vh(t),r=this.yi[t],o=this.tD(t,e),l=this.Jy(t,e);for(i=0;iw+1&&(t+=4*(u-w),e+=4*(u-(w+1)))}}var I=y[w].destinationEdges.iterator;if(p&&0<=v)for(;I.next();){var V=I.value;d=V.toVertex,V.valid&&d.layer!==f&&(n=this.linkStraightenWeight(V),a=V.portFromColOffset,r=V.portToColOffset,l=d.column,i+=(Math.abs(N+a-(l+r))+1)*n,s+=(Math.abs(F+a-(l+r))+1)*n)}for(I.reset();I.next();){var z=I.value;if(d=z.toVertex,z.valid&&d.layer===f){for(c=0;cw+1&&(t+=4*(u-(w+1)),e+=4*(u-w))}}var H=y[w+1].destinationEdges.iterator;if(p&&0<=v)for(;H.next();){var K=H.value;d=K.toVertex,K.valid&&d.layer!==f&&(n=this.linkStraightenWeight(K),a=K.portFromColOffset,r=K.portToColOffset,l=d.column,i+=(Math.abs(L+a-(l+r))+1)*n,s+=(Math.abs(B+a-(l+r))+1)*n)}for(H.reset();H.next();){var Y=H.value;if(d=Y.toVertex,Y.valid&&d.layer===f){for(c=0;c>1)+8*e}this.Wt*=8}if(2&this.cr){e=!0;let t=0;for(;e&&tw+this.nodeMinColumnSpace(m[g-1],!1)?x-1:x,0),i=(e=g+1>=f||m[g+1].column-x-1>A+this.nodeMinColumnSpace(m[g+1],!0)?x+1:x,0),s=0,n=0,a=0,r=0,o=0;if(c<=0)for(var P=m[g].sourceEdges.iterator;P.next();){var k=P.value,S=k.fromVertex;k.valid&&S.layer!==d&&(a=this.linkStraightenWeight(k),r=k.portFromColOffset,o=k.portToColOffset,k=S.column,i+=(Math.abs(x+o-(k+r))+1)*a,s+=(Math.abs(t+o-(k+r))+1)*a,n+=(Math.abs(e+o-(k+r))+1)*a)}if(0<=c)for(var M=m[g].destinationEdges.iterator;M.next();){var C=M.value,N=C.toVertex;C.valid&&N.layer!==d&&(a=this.linkStraightenWeight(C),r=C.portFromColOffset,o=C.portToColOffset,C=N.column,i+=(Math.abs(x+r-(C+o))+1)*a,s+=(Math.abs(t+r-(C+o))+1)*a,n+=(Math.abs(e+r-(C+o))+1)*a)}let l=0,h=0,u=0;w=p[m[g].index],A=v[m[g].index];-1!==w&&(l+=Math.abs(w-x),h+=Math.abs(w-t),u+=Math.abs(w-e)),-1!==A&&(l+=Math.abs(A-x),h+=Math.abs(A-t),u+=Math.abs(A-e)),s=l[a]?t=n:s<=l[a]&&(t=s)),t!==d&&(h=!0,u=!0,r[a].column=t)}return this.Bh(t,r),this.jy(),h}x3(){for(let t=0;t<=this.Wt;t++)for(;this.b3(t,1););this.jy()}b3(t,e){Ht,Kt.r(t,Ni,"packAux:column"),Kt.r(e,Ni,"packAux:direction");let i=!0;for(var s=this.network.vertexes.iterator;s.next();){var n=s.value,a=this.nodeMinColumnSpace(n,!0),r=this.nodeMinColumnSpace(n,!1);if(n.column-a<=t&&n.column+r>=t){i=!1;break}}let o=!1;if(i){if(0t&&(--l.column,o=!0)}if(e<0)for(s.reset();s.next();){var h=s.value;h.column=i&&(a[o.layer]=!0)}let u=!0,d=!1;for(s=0;s<=this.Lt;s++)u=u&&!(n[s]&&a[s]);if(u){if(0t&&(--c.column,d=!0)}if(e<0)for(r.reset();r.next();){var g=r.value;g.columns?this.ns(i):as?this.ns(i):a=t&&(n.component=this.rn)}for(this.rn++,e.reset();e.next();){var a=e.value;-1===a.component&&(this.KN(a,this.rn,-1,!0,!0),this.rn++)}let r=0;var o=[];for(r=0;r{var e=Kt.ct(),i=(h&&e.push(a.get(t)),u&&e.push(r.get(t)),d&&e.push(o.get(t)),c&&e.push(l.get(t)),e.sort((t,e)=>t-e),e.length),s=Math.floor((i-1)/2),i=Math.ceil((i-1)/2),s=(e[s]+e[i])/2;Kt.ot(e),t.pe=s})}M3(e,n){var i=e.length;for(let t=1;tt)&&n.add(u)}s++}i=t}}}}N3(t){if(null===t.node){t=t.getProperSourceVertexes();if(0t.zh-e.zh);r=(r-1)/2;for(let e=Math.floor(r),t=Math.ceil(r);e<=t;e++)if(l.Kn===l){var o=a[e];let t;t=n?o.getDestinationEdge(l):l.getDestinationEdge(o),!s.contains(t)&&i{o.set(t.key,t.value+l)})}}Kt.ot(n),Kt.ot(a)}L3(t,e,i,s){if(!t||0===t.count)return e[s]=0,1/(i[s]=0);let n=1/0,a=-1/0;return t.each(t=>{var e=t.key,t=t.value,e=90===this.C||270===this.C?e.width:e.height;ta&&(a=t+e)}),e[s]=n,(i[s]=a)-n}commitLayout(){this.qy(),this.commitNodes(),this.HN(),this.isRouting&&this.commitLinks()}qy(){if(this.setsPortSpots)for(var t=this.rk(!0),e=this.rk(!1),i=this.network.edges.iterator;i.next();){var s=i.value.link;null!==s&&(s.fromSpot=t,s.toSpot=e)}}rk(t){return 270===this.C?t?Z.MiddleTop:Z.MiddleBottom:90===this.C?t?Z.MiddleBottom:Z.MiddleTop:180===this.C?t?Z.MiddleLeft:Z.MiddleRight:t?Z.MiddleRight:Z.MiddleLeft}commitNodes(){this.on=[],this.Rs=[],this.Is=[],this.Gt=[];for(let t=0;t<=this.Lt;t++)this.on[t]=0,this.Rs[t]=0,this.Is[t]=0,this.Gt[t]=0;for(var i=this.network.vertexes.iterator;i.next();){var t=i.value,e=t.layer;this.on[e]=Math.max(this.on[e],this.nodeMinLayerSpace(t,!0)),this.Rs[e]=Math.max(this.Rs[e],this.nodeMinLayerSpace(t,!1))}let s=0;var n=this.Ds;for(let e=0;e<=this.Lt;e++){let t=n;this.on[e]+this.Rs[e]<=0&&(t=0),0=y.bounds.bottom?(e=y.bounds.y+y.bounds.height,b.insertPointAt(s++,l,e+c),b.insertPointAt(s++,l,e),b.insertPointAt(s++,l,e-d)):(b.insertPointAt(s++,l,h+c),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h-d)):270===this.C?h<=y.bounds.y?(e=y.bounds.y,b.insertPointAt(s++,l,e-d),b.insertPointAt(s++,l,e),b.insertPointAt(s++,l,e+c)):(b.insertPointAt(s++,l,h-d),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h+c)):0===this.C&&(l>=y.bounds.right?(e=y.bounds.x+y.bounds.width,b.insertPointAt(s++,e+c,h),b.insertPointAt(s++,e,h),b.insertPointAt(s++,e-d,h)):(b.insertPointAt(s++,l+c,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l-d,h)));else{b.insertPointAt(s++,r,o);let t=0;180===this.C||0===this.C?((180===this.C?l>=y.bounds.right:l<=y.bounds.x)&&(t=(0===this.C?-d:c)/2),b.insertPointAt(s++,r+t,h)):((270===this.C?h>=y.bounds.bottom:h<=y.bounds.y)&&(t=(90===this.C?-d:c)/2),b.insertPointAt(s++,l,o+t)),b.insertPointAt(s++,l,h)}else d=Math.max(10,this.on[n.layer]),c=Math.max(10,this.Rs[n.layer]),t?180===this.C?(b.insertPointAt(s++,l-d-S,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l+c+S,h)):90===this.C?(b.insertPointAt(s++,l,h+c+S),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h-d-S)):270===this.C?(b.insertPointAt(s++,l,h-d-S),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h+c+S)):(b.insertPointAt(s++,l+c+S,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l-d-S,h)):(180!==this.C&&90!==this.C&&this.C,b.insertPointAt(s++,l,h));y=n}if(null===p||A!==Z.None||i)if(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=b.getPoint(s).x,h=b.getPoint(s).y,i){var N=this.Rs[v.layer];let t=0;180===this.C||0===this.C?((t=o)>=v.bounds.y&&t<=v.bounds.bottom&&(180===this.C?l>=v.bounds.x:l<=v.bounds.right)&&(e=v.centerX+(180===this.C?-N:N),t=t=v.bounds.x&&t<=v.bounds.right&&(270===this.C?h>=v.bounds.y:h<=v.bounds.bottom)&&(e=v.centerY+(270===this.C?-N:N),t=t=v.bounds.x?(e=v.bounds.x+v.bounds.width,b.setPointAt(s-2,e,o),b.setPointAt(s-1,e+c,o)):90===this.C&&h<=v.bounds.bottom?(e=v.bounds.y,b.setPointAt(s-2,r,e),b.setPointAt(s-1,r,e-d)):270===this.C&&h>=v.bounds.y?(e=v.bounds.y+v.bounds.height,b.setPointAt(s-2,r,e),b.setPointAt(s-1,r,e+c)):0===this.C&&l<=v.bounds.right&&(e=v.bounds.x,b.setPointAt(s-2,e,o),b.setPointAt(s-1,e-d,o));else{d=Math.max(10,this.on[v.layer]),c=Math.max(10,this.Rs[v.layer]);let t=0;180===this.C||0===this.C?((180===this.C?l<=v.bounds.x:l>=v.bounds.right)&&(t=(0===this.C?c:-d)/2),b.insertPointAt(s++,l+t,o)):((270===this.C?h<=v.bounds.y:h>=v.bounds.bottom)&&(t=(90===this.C?c:-d)/2),b.insertPointAt(s++,r,h+t)),b.insertPointAt(s++,l,h)}}else{for(;null!==v&&v!==y;){n=null,a=null;for(var L=v.destinationEdges.iterator;L.next();){var D=L.value;if(D.link===x.link&&(n=D.toVertex,null!==(a=D.fromVertex).node&&(a=null),null===n.node))break}if(null===n)break;n!==y&&(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=n.centerX,h=n.centerY,i?180===this.C||0===this.C?(null!==a?a.centerY:o)!==h&&(u=this.Gt[n.layer]+this.ur.x,s===b.firstPickIndex+1&&(u=0===this.C?Math.max(u,r):Math.min(u,r)),b.insertPointAt(s++,u,o),b.insertPointAt(s++,u,h)):(null!==a?a.centerX:r)!==l&&(u=this.Gt[n.layer]+this.ur.y,s===b.firstPickIndex+1&&(u=90===this.C?Math.max(u,o):Math.min(u,o)),b.insertPointAt(s++,r,u),b.insertPointAt(s++,l,u)):(d=Math.max(10,this.on[n.layer]),c=Math.max(10,this.Rs[n.layer]),t?180===this.C?(b.insertPointAt(s++,l+c+S,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l-d-S,h)):90===this.C?(b.insertPointAt(s++,l,h-d-S),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h+c+S)):270===this.C?(b.insertPointAt(s++,l,h+c+S),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h-d-S)):(b.insertPointAt(s++,l-d-S,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l+c+S,h)):180===this.C?(b.insertPointAt(s++,l+c,h),b.insertPointAt(s++,l-d,h)):90===this.C?(b.insertPointAt(s++,l,h-d),b.insertPointAt(s++,l,h+c)):270===this.C?(b.insertPointAt(s++,l,h+c),b.insertPointAt(s++,l,h-d)):(b.insertPointAt(s++,l-d,h),b.insertPointAt(s++,l+c,h)))),v=n}i&&(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=b.getPoint(s).x,h=b.getPoint(s).y,180===this.C||0===this.C?o!==h&&(u=0===this.C?Math.min(Math.max((l+r)/2,this.Gt[y.layer]+this.ur.x),l):Math.max(Math.min((l+r)/2,this.Gt[y.layer]+this.ur.x),l),b.insertPointAt(s++,u,o),b.insertPointAt(s++,u,h)):r!==l&&(u=90===this.C?Math.min(Math.max((h+o)/2,this.Gt[y.layer]+this.ur.y),h):Math.max(Math.min((h+o)/2,this.Gt[y.layer]+this.ur.y),h),b.insertPointAt(s++,r,u),b.insertPointAt(s++,l,u)))}null!==w&&t&&4<=b.pointsCount&&(null!==f&&(k=A===Z.None?b.getLinkPointFromPoint(g,f,f.getDocumentPoint(Z.Center),b.getPoint(3),!0):b.getPoint(0),A===Z.None&&(w=b.getPoint(2),A=b.getPoint(3),90===this.direction||270===this.direction?(b.setPointAt(1,(k.x+w.x)/2,w.y),b.setPointAt(2,A.x,(w.y+A.y)/2)):(b.setPointAt(1,w.x,(k.y+w.y)/2),b.setPointAt(2,(w.x+A.x)/2,A.y))),k.isReal()||k.set(g.actualBounds.center),b.setPointAt(0,k.x,k.y)),null!==p)&&(w=P===Z.None?b.getLinkPointFromPoint(m,p,p.getDocumentPoint(Z.Center),b.getPoint(b.pointsCount-4),!1):b.getPoint(b.pointsCount-1),P===Z.None&&(A=b.getPoint(b.pointsCount-3),P=b.getPoint(b.pointsCount-4),90===this.direction||270===this.direction?(b.setPointAt(b.pointsCount-2,(w.x+A.x)/2,A.y),b.setPointAt(b.pointsCount-2,P.x,(A.y+P.y)/2)):(b.setPointAt(b.pointsCount-2,A.x,(w.y+A.y)/2),b.setPointAt(b.pointsCount-3,(A.x+P.x)/2,P.y))),w.isReal()||w.set(m.actualBounds.center),b.setPointAt(b.pointsCount-1,w.x,w.y)),b.commitRoute(),x.commit()}}}}ZO(){this.Wy=-1,this.Eg=0,this.Fs=0,this.sf=null,this.Bg=null,this.tu=null;for(let t=0;t=this.Xn.length){var s=[];for(let t=0;t{var e;return t instanceof D?!t.isLinkLabel&&"Comment"!==t.category:t instanceof Y&&null!==(e=t.fromNode)&&!e.isLinkLabel&&"Comment"!==e.category&&!(null===(e=t.toNode)||e.isLinkLabel||"Comment"===e.category)};return t instanceof G?(e.addParts(t.nodes,!0,i),e.addParts(t.links,!0,i)):t instanceof X?e.addParts(t.memberParts,!1,i):e.addParts(t.iterator,!1,i),e}doLayout(t){Ht,null===t&&Kt.n("Layout.doLayout(collection) argument must not be null but a Diagram, a Group, or an Iterable of Parts"),null===this.network&&(this.network=this.makeNetwork(t)),52!==this.arrangement&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));let e=this.diagram;null===e&&t instanceof G&&(e=t),0===this.path&&null!==e?this.ms=e.isTreePathToChildren?1:2:this.ms=0===this.path?1:this.path,0t.level||(this.Y3(e.parent,e),0))}X3(t,e){if(null===e)return!1;Ht,Kt.s(t,et,tt,"isAncestor:a"),Ht,Kt.s(e,et,tt,"isAncestor:b");let i=e.parent;for(;null!==i&&i!==t;)i=i.parent;return i===t}Y3(t,s){if(null!==t&&null!==s){Ht,Kt.s(t,et,tt,"removeChild:p"),Ht,Kt.s(s,et,tt,"removeChild:c");var n=t.children;let i=0;for(let t=0;tk&&(ak&&(rt&&(t=s+e.width),s<0&&(t-=s),t;case 22:return e.width>i?e.width:i;case 23:return 2*e.focus.x>i?e.width:i+e.width-2*e.focus.x;case 24:case 25:var n=Math.min(0,s),a=Math.max(i,s+e.width);return Math.max(e.width,a-n);case 26:return e.width-e.focus.x+e.nodeSpacing/2+i;case 27:return Math.max(e.width,e.focus.x+e.nodeSpacing/2+i);default:return i}}JN(e,i,s){switch(Ht,Kt.s(e,et,tt,"calculateSubheight:v"),e.alignment){case 21:case 20:let t=i;return s+e.height>t&&(t=s+e.height),s<0&&(t-=s),t;case 22:return e.height>i?e.height:i;case 23:return 2*e.focus.y>i?e.height:i+e.height-2*e.focus.y;case 24:case 25:var n=Math.min(0,s),a=Math.max(i,s+e.height);return Math.max(e.height,a-n);case 26:return e.height-e.focus.y+e.nodeSpacing/2+i;case 27:return Math.max(e.height,e.focus.y+e.nodeSpacing/2+i);default:return i}}ZN(t,e,i){switch(Ht,Kt.it(t,Ei,"TreeAlignment"),t){case 20:case 21:e/=2,i/=2;break;case 22:i=e=0;break;case 23:break;default:Kt.n("Unhandled alignment value "+t.toString())}return new _(e,i)}of(t,e,i,s,n,a){Ht,Kt.s(t,et,tt,"shiftRelPosAlign:v"),Ht,Kt.it(e,Ei,"TreeAlignment");e=this.ZN(e,i,s);this.ru(t,e.x,e.y,n,a)}ru(t,e,i,s,n){if(Ht,Kt.s(t,et,tt,"shiftRelPos:v"),0!==e||0!==i){var a=t.children;for(let t=s;t<=n;t++){var r=a[t].X;r.x+=e,r.y+=i}}}wk(t,e,i){Ht,Kt.s(t,et,tt,"recordMidPoints:v"),Kt.t(e,"number",tt,"recordMidPoints:x"),Kt.t(i,"number",tt,"recordMidPoints:y");var s=t.parent;switch(this.ms){case 1:for(var n=t.sourceEdges;n.next();){var a=n.value;a.fromVertex===s&&a.relativePoint.e(e,i)}break;case 2:for(var r=t.destinationEdges;r.next();){var o=r.value;o.toVertex===s&&o.relativePoint.e(e,i)}break;default:Kt.n("Unhandled path value "+this.ms.toString())}}U3(A){if(Ht,Kt.s(A,et,tt,"layoutTreeBlock:v"),0===A.childrenCount){var P=A.parent;let t=!1,e=0,i;null!==P&&(e=P.angle,i=P.alignment,t=this.isBusAlignment(i));P=this.WN(A);A.X.e(0,0),A.kt.e(A.width,A.height),null===A.parent||null===A.comments||(180!==e&&270!==e||t)&&!P?A.ht.e(0,0):180===e&&!t||(90===e||270===e)&&P?A.ht.e(A.width-2*A.focus.x,0):A.ht.e(0,A.height-2*A.focus.y),A.Yg=null,void(A.Kg=null)}else{var k=this.orthoAngle(A),S=90===k||270===k;let i=0;var M=A.children,C=M.length;for(let t=0;tB&&(uB&&(ds&&(P=this.ZN(L,V-s,0),y=P.x,b=P.y,s=V,p=0):s=this.jN(A,s,p),p<0&&(y-=p,p=0),135n&&(D=this.ZN(L,0,z-n),y=D.x,b=D.y,n=z,v=0):n=this.JN(A,n,v),v<0&&(b-=v,v=0),y+=V+F);let x,w;if(0x[0].x?x[2].c(x[1]):x[1].c(x[2])),x[3].yx[0].x?x[3].c(x[2]):x[2].c(x[3])),w[0].e(p+V,0),w[1].e(w[0].x,z),w[2].yx[0].y?x[2].c(x[1]):x[1].c(x[2])),x[3].xx[0].y?x[3].c(x[2]):x[2].c(x[3])),w[0].e(0,v+z),w[1].e(V,w[0].y),w[2].xh;){var u=e[a++];s[r++].e(u.x,u.y+i)}var d=this.ye(r);for(n=0;nh;){var u=e[a++];s[r++].e(u.x+i,u.y)}var d=this.ye(r);for(n=0;nh;){var u=t[n++];s[r++].e(u.x,u.y)}var d=this.ye(r);for(n=0;nh;){var u=t[n++];s[r++].e(u.x,u.y)}var d=this.ye(r);for(n=0;ng&&d.xd.x&&gm&&d.yd.y&&mm.y+n.rowIndent&&(s=Math.min(s,Math.max(e.y,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.top+o.y,0===o.y&&e.ym.x+n.rowIndent&&(s=Math.min(s,Math.max(e.x,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.left+o.x,0===o.x&&e.xm.y+n.rowIndent&&(s=Math.min(s,Math.max(e.y,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.top+o.y,0===o.y&&e.ym.x+n.rowIndent&&(s=Math.min(s,Math.max(e.x,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.left+o.x,0===o.x&&e.x{t=t.matches?"dark":"light";t!==this.Ug&&(this.Ug=t,"system"===this.Dk)&&this.pw()};constructor(t){t&&Object.assign(this,t),t?.themeMap||(this.lu.set("light",{colors:{...qi.Light.colors},fonts:{...qi.Light.fonts},numbers:{...qi.Light.numbers},margins:{...qi.Light.margins},arrowheads:{...qi.Light.arrowheads}}),this.lu.set("dark",{colors:{...qi.Dark.colors},fonts:{...qi.Dark.fonts},numbers:{...qi.Dark.numbers},margins:{...qi.Dark.margins},arrowheads:{...qi.Dark.arrowheads}})),v.matchMedia&&(this.Ug=v.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}get themeMap(){return this.lu}set themeMap(t){this.lu!==t&&(this.lu=t,this.pw())}get defaultTheme(){return this.Tk}set defaultTheme(t){this.Tk!==t&&(Kt.t(t,"string",ji,"defaultTheme"),this.Tk=t,this.pw())}get currentTheme(){return this.Dk}set currentTheme(t){this.Dk!==t&&(Kt.t(t,"string",ji,"currentTheme"),this.Dk=t,this.pw())}get changesDivBackground(){return this.Fk}set changesDivBackground(t){if(this.Fk!==t&&(this.Fk=t))for(const e of this.as)e.setDivBackground(this.findValue("div","","fill")),e.V("ThemeChanged",this)}get preferredColorScheme(){return this.Ug}addDiagram(t){return this.as.add(t),this.QN(t),this}removeDiagram(t){return this.as.delete(t),this.QN(t),this}qF(){0===this.as.size&&v.matchMedia&&v.matchMedia("(prefers-color-scheme: dark)")?.addEventListener("change",this.LD)}WF(){0===this.as.size&&v.matchMedia&&v.matchMedia("(prefers-color-scheme: dark)")?.removeEventListener("change",this.LD)}set(t,e){"system"===(t=""===t?this.Tk:t)&&(t=this.Ug);let i=this.lu.get(t);return i=i?this.TD(i,e):e,this.lu.set(t,i),this.pw(),this}findValue(t,e,i){return this.getValue(this.findTheme(this.currentTheme),t,e,i)||this.getValue(this.findTheme(this.defaultTheme),t,e,i)}getValue(t,e,i,n){if(t){null==i&&(i="");let s=t;const r=t=>{if(void 0!==s&&""!==t){if("number"==typeof t||!Array.isArray(t)&&!t.includes("."))return s[t];var e=Array.isArray(t)?t:t.split(".");for(let t=0;t{if(""===i||void 0!==(s=r(i)))return s=Array.isArray(s)&&"number"==typeof e?s[e%s.length]:r(e)};if(void 0===(s=o())&&"string"==typeof n&&0=qe.qd&&(l.GA(),f.inflate(l.cellWidth*l.zP,l.cellHeight*l.XP),l.fT(e,i,s,n,f,!1),p=l._i(s.x,s.y)),!l.Cy&&pqe.xo&&n._i(d,c)!==l-1&&(n._i(h-r,u)===l-1?(a=180,d=h-r,c=u):n._i(h+r,u)===l-1?(a=0,d=h+r,c=u):n._i(h,u-o)===l-1?(a=270,d=h,c=u-o):n._i(h,u+o)===l-1&&(a=90,d=h,c=u+o));l>qe.xo&&n._i(d,c)===l-1;)h=d,u=c,0===a?d+=r:90===a?c+=o:180===a?d-=r:c-=o,--l;if(i?l>qe.xo&&(180===a||0===a?h=Math.floor(h/r)*r+r/2:90!==a&&270!==a||(u=Math.floor(u/o)*o+o/2)):(h=Math.floor(h/r)*r+r/2,u=Math.floor(u/o)*o+o/2),l>qe.xo){let i=a,t=h,e=u;if(0===a?(i=90,e+=o):90===a?(i=180,t-=r):180===a?(i=270,e-=o):270===a&&(i=0,t+=r),n._i(t,e)===l-1)this.vd(s,n,t,e,i,!1);else{let t=h,e=u;0===a?(i=270,e-=o):90===a?(i=0,t+=r):180===a?(i=90,e+=o):270===a&&(i=180,t-=r),n._i(t,e)===l-1&&this.vd(s,n,t,e,i,!1)}}s.insertPointAt(s.pointsCount-2,h,u)}}st.prototype.initializeStandardTools=function(){this.ii("Action",new ct,this.mouseDownTools),this.ii("Relinking",new ot,this.mouseDownTools),this.ii("LinkReshaping",new lt,this.mouseDownTools),this.ii("Rotating",new ut,this.mouseDownTools),this.ii("Resizing",new ht,this.mouseDownTools),this.ii("Linking",new rt,this.mouseMoveTools),this.ii("Dragging",new d,this.mouseMoveTools),this.ii("DragSelecting",new mt,this.mouseMoveTools),this.ii("Panning",new ft,this.mouseMoveTools),this.ii("ContextMenu",new yt,this.mouseUpTools),this.ii("TextEditing",new At,this.mouseUpTools),this.ii("ClickCreating",new gt,this.mouseUpTools),this.ii("ClickSelecting",new dt,this.mouseUpTools)},G.xP("GraphLinksModel",ii),G.xP("TreeModel",si);var n=v.go,a={get version(){return G.version},Group:X,List:O,Set:N,Map:L,Point:_,Size:Yt,Rect:Q,Margin:I,Spot:Z,Geometry:W,PathFigure:S,PathSegment:A,InputEvent:C,DiagramEvent:B,ChangedEvent:E,Model:b,GraphLinksModel:oi,TreeModel:li,Binding:ai,ThemeBinding:ri,Transaction:R,UndoManager:U,CommandHandler:Gt,Tool:J,DraggingTool:d,DraggingInfo:Et,DraggingOptions:Ot,LinkingBaseTool:nt,LinkingTool:rt,RelinkingTool:ot,LinkReshapingTool:lt,ResizingTool:ht,RotatingTool:ut,ClickSelectingTool:dt,ActionTool:ct,ClickCreatingTool:gt,HTMLInfo:pt,ContextMenuTool:yt,DragSelectingTool:mt,PanningTool:ft,TextEditingTool:At,ToolManager:st,Animation:St,AnimationManager:kt,AnimationTrigger:Nt,Layer:Lt,Diagram:G,Palette:It,Overview:Vt,Brush:m,GraphObject:y,Panel:Xt,RowColumnDefinition:we,Shape:q,TextBlock:j,Picture:Le,Part:H,Adornment:K,Node:D,Link:Y,Placeholder:Xe,Layout:Ue,LayoutNetwork:_e,LayoutVertex:We,LayoutEdge:Qe,GridLayout:ti,PanelLayout:se,CircularLayout:gi,CircularNetwork:fi,CircularVertex:pi,CircularEdge:vi,ForceDirectedLayout:yi,ForceDirectedNetwork:bi,ForceDirectedVertex:xi,ForceDirectedEdge:wi,LayeredDigraphLayout:Ni,LayeredDigraphNetwork:Li,LayeredDigraphVertex:Di,LayeredDigraphEdge:Ti,TreeLayout:tt,TreeNetwork:zi,TreeVertex:et,TreeEdge:Gi,Themes:qi,ThemeManager:ji,Router:Hi,AnimationStyle:Pt,AutoScale:Dt,CycleMode:Tt,Flip:Ut,TextFormat:Se,ImageStretch:Ne,LayoutConditions:a,LinkAdjusting:Ie,Curve:ze,Routing:Ve,Orientation:jt,TextOverflow:ke,PortSpreading:Re,ScrollMode:Bt,CollapsePolicy:e,Sizing:xe,TriggerStart:Ct,Stretch:qt,ViewboxStretch:pe,Wrap:Pe,BrushType:ee,ColorSpace:i,GeometryStretch:k,GeometryType:P,SegmentType:M,BindingMode:ni,ChangeType:F,CircularArrangement:hi,CircularDirection:ui,CircularNodeDiameterFormula:ci,CircularSorting:di,GridAlignment:Ze,GridArrangement:Je,GridSorting:$e,LayeredDigraphAggressive:Ci,LayeredDigraphAlign:Pi,LayeredDigraphCycleRemove:ki,LayeredDigraphInit:Mi,LayeredDigraphLayering:Si,LayeredDigraphPack:s,TreeAlignment:Ei,TreeArrangement:Ii,TreeCompaction:Ri,TreeLayerStyle:Vi,TreePath:Bi,TreeSorting:Fi,TreeStyle:Oi,GestureMode:it,LinkingDirection:at,ReshapingBehavior:t,TextEditingAccept:bt,TextEditingStarting:xt,TextEditingState:wt,WheelMode:$};"object"==typeof n&&n.version&&Kt.ft("WARNING: a `go` object on the root object is already defined. "+("Debug"in n?"debug ":"")+"version: "+n.version+", replaced with version: "+a.version),G.prototype.go=a,((v.go=a).Debug=Ht).attachReadonlyWarnings(a)}(),"function"==typeof define&&define.amd&&define(("undefined"!=typeof global?global:self).go),"undefined"!=typeof module&&"object"==typeof module.exports&&(module.exports=("undefined"!=typeof global?global:self).go);const bino=go;class TopLeftBorderRadius extends bino.Shape{constructor(){super(),this._figure="TopLeftBorderRadius"}makeGeometry(){var t=new bino.Geometry,e=new bino.PathFigure(0,0,!0);return e.add(new bino.PathSegment(bino.PathSegment.Line,0,6)),e.add(new bino.PathSegment(bino.PathSegment.Arc,180,90,6,6,6,6)),t.add(e),t}}bino.Shape.defineFigureGenerator("TopLeftBorderRadius",t=>{return(new TopLeftBorderRadius).makeGeometry()});class BottomLeftBorderRadius extends bino.Shape{constructor(){super(),this._figure="BottomLeftBorderRadius"}makeGeometry(){var t=new bino.Geometry,e=new bino.PathFigure(0,0,!0);return e.add(new bino.PathSegment(bino.PathSegment.Arc,180,-90,6,0,6,6)),e.add(new bino.PathSegment(bino.PathSegment.Line,0,6)),t.add(e),t}}bino.Shape.defineFigureGenerator("BottomLeftBorderRadius",t=>{return(new BottomLeftBorderRadius).makeGeometry()});var $=bino.GraphObject.make;function addQueryParam(t,e){var i=new URL(window.location);i.searchParams.set(t,e),window.history.replaceState({},"",i)}function removeQueryParam(t){var e=new URL(window.location);e.searchParams.delete(t),window.history.replaceState({},"",e)}function decodeUrlSafeBase64ToUtf8(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");for(;e.length%4;)e+="=";t=atob(e),t=Uint8Array.from(t,t=>t.charCodeAt(0));return(new TextDecoder).decode(t)}function encodeUtf8ToUrlSafeBase64(t){t=(new TextEncoder).encode(t),t=String.fromCharCode(...t);let e=btoa(t);return e=e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}bino.useNonePhoto=function(t){return!t.hasImage&&!t.living&&null==t.birthDate&&null==t.marriageDate&&null==t.deathDate&&null==t.birthPlace&&null==t.marriagePlace&&null==t.deathPlace},bino.getRelativeDates=function(t,e){if(t.useNonePhoto)return"";var{living:i,birthDate:s,deathDate:n}=t,a=bino.calculateAge(s,n);let r=a;var o=bino.formatDate(t.birthDate,e&&t.living),e=bino.formatDate(t.marriageDate,e&&t.living),l=bino.formatDate(t.deathDate,!1);return o||l||e?o?l?(n.includes("after")?r=s.includes("after")?"~"+a:(s.includes("before")||s.includes("about"),a+"+"):n.includes("before")?r=s.includes("after")?a+"-":s.includes("before")?"~"+a:(s.includes("about"),a+"-"):n.includes("about")?r="~"+a:s.includes("after")?r=a+"-":s.includes("before")?r=a+"+":s.includes("about")&&(r="~"+a),t.deathAge&&(r=t.deathAge),String(r).includes("NaN")?e?o+` — ${e} — `+l:o+" — "+l:e?""+o+` — ${e} — ${l} (${r})`:""+o+` — ${l} (${r})`):(t.deathAge&&(r=t.deathAge),String(r).includes("NaN")?e?o+` — ${e} — `+(i?"Living":"Deceased"):o+" — "+(i?"Living":"Deceased"):e?o+` — ${e} — `+(i?"Living":"Deceased")+(i?` (${r})`:""):o+" — "+(i?"Living":"Deceased")+(i?` (${r})`:"")):(n=t.deathAge?` (${t.deathAge})`:"",e?l?` — ${e} — `+l+n:` — ${e} — `+(i?"Living":"Deceased")+n:" — "+l+n):i?"Living":"Deceased"},bino.convertCountryCode=function(t){if(!t)return t;var e=t.split(",").map(t=>t.trim());t.length<37&&(e[e.length-1]={USA:"United States of America",PHL:"Philippines",BHR:"Bahrain"}[e[e.length-1]]);let i=e.join(", ");return i=44<=i.length&&i.toLowerCase().includes("south caloocan")?i.replace("South Caloocan","S. Caloocan"):i},bino.calculateAge=function(t,e){t=new Date(t),e=e?new Date(e):new Date;let i=e.getFullYear()-t.getFullYear();var s=e.getMonth()-t.getMonth();return(s<0||0==s&&e.getDate()',beautician:'',beer:'',buysell:'',cattle:'',church:'',computer:'',dna:'',farming:'',"female-twin":'',government:'',househusband:'',housewife:'',intelligence:'',investigate:'',justice:'',"male-twin":'',manager:'',manufacturing:'',military:'',police:'',prelations:'',retail:'',sales:'',seaman:'',sergeant:'',software:'',train:'',book:'',fishery:'',skull:'',centennial:''},DARK_MARKERS={apparel:LIGHT_MARKERS.apparel,beautician:LIGHT_MARKERS.beautician,book:LIGHT_MARKERS.book,househusband:LIGHT_MARKERS.househusband,housewife:LIGHT_MARKERS.housewife,retail:LIGHT_MARKERS.retail,"female-twin":LIGHT_MARKERS["female-twin"],"male-twin":LIGHT_MARKERS["male-twin"],centennial:'',train:LIGHT_MARKERS.train.replace("#333333","#EAEAEA"),skull:LIGHT_MARKERS.skull.replace("#333333","#EAEAEA"),beer:LIGHT_MARKERS.beer.replace("#BD5C17","#B3825D"),buysell:LIGHT_MARKERS.buysell.replace("#333333","#EAEAEA"),cattle:LIGHT_MARKERS.cattle.replace("#BD5C17","#B3825D"),church:LIGHT_MARKERS.church.replace("#333333","#EAEAEA"),dna:LIGHT_MARKERS.dna.replace("#9831CF","#B73DF9"),intelligence:LIGHT_MARKERS.intelligence.replace("#4285F4","#4B8FFF"),justice:LIGHT_MARKERS.justice.replace("#4285F4","#4B8FFF"),farming:LIGHT_MARKERS.farming.replace("#259F31","#28BC36"),fishery:LIGHT_MARKERS.fishery.replace("#333333","#EAEAEA"),government:LIGHT_MARKERS.government.replace("#333333","#EDD5BB"),investigate:LIGHT_MARKERS.investigate.replace("#333333","#EAEAEA"),manufacturing:LIGHT_MARKERS.manufacturing.replace("#333333","#EAEAEA"),military:LIGHT_MARKERS.military.replace("#E99E0E","#FFB11B"),police:LIGHT_MARKERS.police.replace("#4285F4","#4B8FFF"),sales:LIGHT_MARKERS.sales.replace("#E99E0E","#FFB11B"),prelations:LIGHT_MARKERS.prelations.replace("#E99E0E","#FFB11B"),computer:LIGHT_MARKERS.computer.replace("#333333","#B6BFBF"),seaman:LIGHT_MARKERS.seaman.replace("#333333","#EAEAEA"),sergeant:LIGHT_MARKERS.sergeant.replace("#E99E0E","#FFB11B"),software:LIGHT_MARKERS.software.replace("#333333","#FFFFFF"),manager:LIGHT_MARKERS.manager.replace("#333333","#FFFFFF")};let MARKERS={};for(const[uS1,vS1]of Object.entries(isDark?DARK_MARKERS:LIGHT_MARKERS))MARKERS[uS1]="data:image/svg+xml;base64,"+btoa(vS1);var TREE_DATA=[{baptismDate:null,birthDate:"2025-03-15",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"80378400",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Adanza",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Yeusef Loran",fid:"G1Q7-J85",height:0,width:0,paternal_siblings:[],father:"85203214",maternal_siblings:[],mother:"16057808",regular_siblings:[]},{baptismDate:"1995-05-27",birthDate:"1995-04-19",birthPlace:"Chinese General Hospital, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!0,hasImage:!0,key:"85203214",lastName:"Argabioso",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"2024-06-15",marriagePlace:"St. John Bosco Parish Church, Makati, PHL",middleName:"Acosta",nickname:"Bino",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Arbyn",baptismPlace:"San Roque Cathedral Parish, South Caloocan, PHL",marker:"computer",marker3:"software",fid:"GQX8-CQP",child:"80378400",paternal_siblings:["70275697"],father:"50954818",maternal_siblings:["21719634","41448711"],mother:"50342947",regular_siblings:[]},{baptismDate:null,birthDate:"1965-10-09",birthPlace:"Maternity House, Poblacion, South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!0,hasImage:!0,key:"50954818",lastName:"Argabioso",living:!0,livingPlace:"Malolos, Bulacan, PHL",marriageDate:"2002-04-26",marriagePlace:"Regional Trial Court BR 226, Quezon City, PHL",middleName:"Saplala",nickname:"Olan",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rolando",marker:"government",marker3:"justice",marker4:"prelations",fid:"GQJK-L51",child:"85203214",paternal_siblings:[],father:"96832424",maternal_siblings:[],mother:"82099124",regular_siblings:["4793299","48615922"]},{baptismDate:null,birthDate:"1932-10-13",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"2020-02-27",deathPlace:"Manila Memorial Park, Plaridel, Bulacan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"96832424",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:"1963-01-23",marriagePlace:"Luisiana, Laguna, PHL",middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Marcial",marker:"beer",marker2:"prelations",fid:"GQJK-LCT",child:"50954818",paternal_siblings:[],father:"79164376",maternal_siblings:[],mother:"53221118",regular_siblings:["7663556","36448299","21653420","85278460"]},{baptismDate:null,birthDate:"about 1895",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1972-10-27",deathPlace:"Municipal Cemetery, Majayjay, Laguna, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"79164376",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Lopecillo",nickname:"Bio",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Eusebio",marker:"farming",fid:"GHBZ-TM4",child:"96832424",maternal_siblings:["52063403","83646651"],mother:"17601526",paternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1861",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1951-08-30",deathPlace:"Catholic Cemetery, Majayjay, Laguna, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"17601526",lastName:"Lopecillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estebana",fid:"GHB8-RCH",child:"79164376",paternal_siblings:[],father:"24157287",maternal_siblings:[],mother:"1093684",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"24157287",lastName:"Lopecillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Simplicio",fid:"G2HQ-YQS",child:"17601526",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"1093684",lastName:"Villarubin",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregoria",fid:"G2H7-Q75",child:"17601526",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1910",birthPlace:null,deathAge:null,deathDate:"after 1936-10-13",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"53221118",lastName:"Mia",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Francisca",fid:"GHBZ-P5Q",child:"96832424",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1944-11-24",birthPlace:"San Rafael, Baruya, Lubao, Pampanga, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!0,hasImage:!0,key:"82099124",lastName:"Saplala",living:!0,livingPlace:"Malolos, Bulacan, PHL",marriageDate:"1963-01-23",marriagePlace:"Luisiana, Laguna, PHL",middleName:"Perez",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Lydia",marker:"retail",marker3:"sales",fid:"GHBZ-YVX",child:"50954818",paternal_siblings:[],father:"78763160",maternal_siblings:[],mother:"25174592",regular_siblings:["31493676","46768390"]},{baptismDate:null,birthDate:"1916-05-30",birthPlace:"Lubao, Pampanga, PHL",deathAge:null,deathDate:"1993-05-03",deathPlace:"Dinalupihan, Bataan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"78763160",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:"1937",marriagePlace:"Lubao, Pampanga, PHL",middleName:null,nickname:"Andong",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Fernando",marker:"military",marker2:"skull",fid:"GHB8-7T6",child:"82099124",paternal_siblings:[],father:"71728184",maternal_siblings:[],mother:"66525244",regular_siblings:["38373110","40891293"]},{baptismDate:null,birthDate:"before 1892",birthPlace:null,deathAge:null,deathDate:"after 1915-07",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"71728184",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:"1902-09-17",marriagePlace:"Guagua, Pampanga, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estanislao",fid:"GNNH-JLM",child:"78763160",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1892",birthPlace:null,deathAge:null,deathDate:"after 1916-05",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"66525244",lastName:"Sison",living:!1,livingPlace:null,marriageDate:"1902-09-17",marriagePlace:"Guagua, Pampanga, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Adela",fid:"GJJX-1SG",child:"78763160",paternal_siblings:[],father:"12094064",maternal_siblings:[],mother:"14775735",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"12094064",lastName:"Sumangui",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estanislao",child:"66525244",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"14775735",lastName:"Sison",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Florentina",child:"66525244",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1919-11-16",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1986-10-02",deathPlace:"Dinalupihan, Bataan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"25174592",lastName:"Perez",living:!1,livingPlace:null,marriageDate:"1937",marriagePlace:"Lubao, Pampanga, PHL",middleName:null,nickname:"Lucing",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Lucina",marker:"housewife",fid:"GHB8-GZL",child:"82099124",paternal_siblings:[],father:"65750680",maternal_siblings:[],mother:"40517733",regular_siblings:[]},{baptismDate:null,birthDate:"before 1913",birthPlace:null,deathAge:null,deathDate:"after 1952",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"65750680",lastName:"Perez",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Victor",marker:"fishery",fid:"GHB8-M8D",child:"25174592",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"40517733",lastName:"Gutierrez",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Genoveba",fid:"GHB8-M86",child:"25174592",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:"1971-09-05",birthDate:"1971-03-10",birthPlace:"The Family Clinic, Sampaloc, Manila, PHL",deathAge:null,deathDate:"2018-05-25",deathPlace:"Municipal Cemetery, Magdalena, Laguna, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"50342947",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"2003-02-03",marriagePlace:"City Hall, Ermita, Manila, PHL",middleName:"Maramba",nickname:"Babycor",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Corazon",baptismPlace:"San Roque Cathedral Parish, South Caloocan, PHL",marker:"housewife",fid:"GQJK-G8W",child:"85203214",paternal_siblings:[],father:"80469632",maternal_siblings:[],mother:"58601193",regular_siblings:["4256552","77082334"]},{baptismDate:null,birthDate:"1948-07-06",birthPlace:"North General Hospital, España, Manila, PHL",deathAge:null,deathDate:"1979-06-07",deathPlace:"Monterey Park, Los Angeles, California, USA",gender:"M",hasDNA:!1,hasImage:!0,key:"80469632",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1966-03-26",marriagePlace:"Knox Methodist Church, Manila, PHL",middleName:"San Agustin",nickname:"Bhoy",prefix:null,suffix:"Jr.",vitalsCompleteAndVerified:!1,firstName:"Manuel",marker:"male-twin",marker2:"seaman",fid:"GHBD-7M4",child:"50342947",paternal_siblings:[],father:"59135880",maternal_siblings:[],mother:"54923824",regular_siblings:["41491264","54340914","12725118","73841862"]},{baptismDate:null,birthDate:"1913-11-10",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1994-11-20",deathPlace:"Forest Lawn, Covina, Los Angeles, California, USA",gender:"M",hasDNA:!1,hasImage:!0,key:"59135880",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1951-03-05",marriagePlace:"St. Paul's Methodist Church, Tondo, Manila, PHL",middleName:"Bongco",nickname:"Maning",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Manuel",marker:"police",marker2:"investigate",fid:"GHBD-9L6",child:"80469632",paternal_siblings:[],father:"91699953",maternal_siblings:[],mother:"91567169",regular_siblings:["6375936","64329171"]},{baptismDate:null,birthDate:"about 1871",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1948-07-07",deathPlace:"Orani, Bataan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"91699953",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ligorio",fid:"GHB8-SQN",child:"59135880",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1903",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"after 1951-03-05",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"91567169",lastName:"Bongco",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Maximiana",fid:"GHB8-5K8",child:"59135880",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1925-12-21",birthPlace:"Philippine General Hospital, Ermita, Manila, PHL",deathAge:null,deathDate:"2008-10-09",deathPlace:"Forest Lawn, Covina, Los Angeles, California, USA",gender:"F",hasDNA:!1,hasImage:!0,key:"54923824",lastName:"San Agustin",living:!1,livingPlace:null,marriageDate:"1951-03-05",marriagePlace:"St. Paul's Methodist Church, Tondo, Manila, PHL",middleName:null,nickname:"Nati",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Natividad",marker:"housewife",fid:"GHB8-DXY",child:"80469632",paternal_siblings:[],father:"79826472",maternal_siblings:[],mother:"45640239",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"79826472",lastName:"San Agustin",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Vicente",fid:"GHB8-LCC",child:"54923824",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"45640239",lastName:null,living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Nena",fid:"GHB8-H7K",child:"54923824",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1943-01-28",birthPlace:"Azcarraga, Binondo, Manila, PHL",deathAge:null,deathDate:"1974-08-10",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"58601193",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:"1966-03-26",marriagePlace:"Knox Methodist Church, Manila, PHL",middleName:"Dumantay",nickname:"Lina",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Catalina",marker:"housewife",fid:"GHB8-J1B",child:"50342947",paternal_siblings:[],father:"51727808",maternal_siblings:[],mother:"30299840",regular_siblings:["95216770","55618304","42349252","95739264"]},{baptismDate:null,birthDate:"1903-04-22",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"1969-12-12",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"51727808",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Luzon, PHL",middleName:"Reyes",nickname:"Sotering",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Sotero",marker:"police",marker2:"train",fid:"GHB8-GB6",child:"58601193",paternal_siblings:[],father:"51683352",maternal_siblings:[],mother:"50346650",regular_siblings:["28928680","392680","47386677","57182283"]},{baptismDate:null,birthDate:"about 1858",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"after 1902-06",deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"51683352",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bautista",nickname:null,prefix:"Don",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Miguel",marker:"government",fid:"LLQS-641",child:"51727808",paternal_siblings:[],father:"61599560",maternal_siblings:[],mother:"53643498",regular_siblings:["93051591"]},{baptismDate:null,birthDate:"from 1800 to 1858",birthPlace:null,deathAge:null,deathDate:null,deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"61599560",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"B.",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Guillermo",marker:"sales",marker2:"cattle",fid:"LLQS-6YC",child:"51683352",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"from 1800 to 1858",birthPlace:null,deathAge:null,deathDate:null,deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"53643498",lastName:"Bautista",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Garcia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Maria",fid:"L281-614",child:"51683352",paternal_siblings:[],father:"85964364",maternal_siblings:[],mother:"89545654",regular_siblings:[]},{baptismDate:null,birthDate:"from 1735 to 1853",birthPlace:null,deathAge:null,deathDate:"after 1881",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"85964364",lastName:"Bautista",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Don",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Agustin",marker:"government",fid:"GC7T-H59",child:"53643498",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"89545654",lastName:"Garcia",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Doña",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felipa",fid:"GC7T-1PK",child:"53643498",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"50346650",lastName:"Reyes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Novilla",nickname:"Mitcher",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mercedes",fid:"LLQS-6F1",child:"51727808",paternal_siblings:[],father:"23571091",maternal_siblings:[],mother:"90879248",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"23571091",lastName:"Reyes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregorio",fid:"G7C3-B6P",child:"50346650",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"90879248",lastName:"Novilla",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leocadia",fid:"G7C3-J9S",child:"50346650",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1918-04-19",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"1990-04-16",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"30299840",lastName:"Dumantay",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Luzon, PHL",middleName:null,nickname:"Cresing",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cresencia",marker:"apparel",marker2:"sales",fid:"GHBD-9LY",child:"58601193",maternal_siblings:[],mother:"78945712",paternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1908",birthPlace:null,deathAge:"50+",deathDate:"after 1918-04-19",deathPlace:"Luzon, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"78945712",lastName:null,living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,fid:"GY85-YPS",firstName:"Unknown name",child:"30299840",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1994-12-16",birthPlace:"Dr. Jose Fabella Memorial Hospital, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!0,hasImage:!0,key:"16057808",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"2024-06-15",marriagePlace:"St. John Bosco Parish Church, Makati, PHL",middleName:"Ajesta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mitchie",marker:"prelations",marker3:"housewife",fid:"GHB5-TWN",child:"80378400",paternal_siblings:[],father:"41741428",maternal_siblings:[],mother:"55859428",regular_siblings:["1031404"]},{baptismDate:null,birthDate:"1964-06-22",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"41741428",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"1994-01-25",marriagePlace:"Santa Maria, Bulacan, PHL",middleName:"Elican",nickname:"Loloy",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Darne",marker:"manufacturing",marker2:"househusband",marker3:"prelations",fid:"GHB5-XTZ",child:"16057808",paternal_siblings:[],father:"32818992",maternal_siblings:[],mother:"18589217",regular_siblings:["78074094"]},{baptismDate:null,birthDate:"1938-02-26",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:"2018-09-28",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"32818992",lastName:"Adanza",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Mindanao, PHL",middleName:"Ladera",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Nestor",marker:"farming",fid:"GH12-SVQ",child:"41741428",paternal_siblings:[],father:"64714771",maternal_siblings:[],mother:"58814600",regular_siblings:[]},{baptismDate:null,birthDate:"about 1909",birthPlace:"Dumaguete, Negros Oriental, PHL",deathAge:null,deathDate:"1990-11-03",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"64714771",lastName:"Adanza",living:!1,livingPlace:null,marriageDate:"1928-10-06",marriagePlace:"Balingasag, Misamis Oriental, PHL",middleName:"R.",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felomino",marker:"farming",fid:"GH12-DRN",child:"32818992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1911",birthPlace:"Mindanao, PHL",deathAge:null,deathDate:"after 1990-11-03",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"58814600",lastName:"Ladera",living:!1,livingPlace:null,marriageDate:"1928-10-06",marriagePlace:"Balingasag, Misamis Oriental, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Consuelo",fid:"GH12-3GN",child:"32818992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1939-11-28",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:"2015-04-02",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"18589217",lastName:"Elican",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Mindanao, PHL",middleName:"Acerto",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rufa",marker:"farming",fid:"GH12-9F6",child:"41741428",paternal_siblings:[],father:"36360078",maternal_siblings:[],mother:"55588060",regular_siblings:[]},{baptismDate:null,birthDate:"before 1933",birthPlace:null,deathAge:null,deathDate:"after 1945-04-30",deathPlace:"Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"36360078",lastName:"Elican",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Sgt.",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cecelio",marker:"sergeant",fid:"GH12-9JZ",child:"18589217",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"55588060",lastName:"Acerto",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Jovita",fid:"GH12-35H",child:"18589217",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1974-04-13",birthPlace:"Sinamongan, Pilar, Capiz, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"55859428",lastName:"Ajesta",living:!0,livingPlace:"Manama, BHR",marriageDate:"1994-01-25",marriagePlace:"Santa Maria, Bulacan, PHL",middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mylen",marker:"beautician",marker2:"prelations",marker3:"manager",fid:"GHBR-FK3",child:"16057808",paternal_siblings:[],father:"17374654",maternal_siblings:[],mother:"64719992",regular_siblings:["44750858","57433236"]},{baptismDate:null,birthDate:"before 1953",birthPlace:"Binaobawan, Pilar, Capiz, PHL",deathAge:null,deathDate:"after 1980-02-26",deathPlace:"PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"17374654",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:"1962-08-05",marriagePlace:"Pilar, Capiz, PHL",middleName:"Badoles",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Napoleon Crispolon",fid:"GH12-Z3C",child:"55859428",paternal_siblings:[],father:"40943586",maternal_siblings:[],mother:"99295715",regular_siblings:[]},{baptismDate:null,birthDate:"about 1903",birthPlace:"Pilar, Capiz, PHL",deathAge:null,deathDate:"after 1922-02-15",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"40943586",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:"1922-02-15",marriagePlace:"Pontevedra, Capiz, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Manuel",fid:"GH12-XX4",child:"17374654",paternal_siblings:[],father:"52727694",maternal_siblings:[],mother:"35729864",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"52727694",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Eustaquio",fid:"GKBR-M9Y",child:"40943586",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"35729864",lastName:"Bermudes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Florencia",fid:"GKBR-7P7",child:"40943586",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1904",birthPlace:null,deathAge:null,deathDate:"after 1922-02-15",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"99295715",lastName:"Badoles",living:!1,livingPlace:null,marriageDate:"1922-02-15",marriagePlace:"Pontevedra, Capiz, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ursula",fid:"GH12-HQN",child:"17374654",paternal_siblings:[],father:"95408617",maternal_siblings:[],mother:"78914496",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"95408617",lastName:"Badoles",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Pedro Benjamin",fid:"GKBT-9GD",child:"99295715",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1852",birthPlace:"Panay, Capiz, PHL",deathAge:null,deathDate:"1922-01-08",deathPlace:"Panay, Capiz, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"78914496",lastName:"Billanes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leoncia",fid:"K2GJ-YY3",child:"99295715",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1941-07-08",birthPlace:"Dulangan, Pilar, Capiz, PHL",deathAge:null,deathDate:"2020-02-16",deathPlace:"Catholic Cemetery, Santa Maria, Bulacan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"64719992",lastName:"Vergara",living:!1,livingPlace:null,marriageDate:"1962-08-05",marriagePlace:"Pilar, Capiz, PHL",middleName:"Borja",nickname:"Mamang",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Selma",marker:"farming",fid:"GH12-W17",child:"55859428",paternal_siblings:[],father:"27738578",maternal_siblings:[],mother:"47733294",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"27738578",lastName:"Vergara",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Benigno",marker:"military",fid:"GH12-6YL",child:"64719992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1896",birthPlace:"PHL",deathAge:null,deathDate:"after 1996-12-16",deathPlace:"Tuguegarao, Cagayan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"47733294",lastName:"Borja",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"PHL",middleName:null,nickname:"Enor",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Enoria",marker:"centennial",fid:"GH12-DD8",child:"64719992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]}],SIBLINGS_DATA={41491264:{baptismDate:null,birthDate:"1948-07-06",birthPlace:"Manila, PHL",deathAge:null,deathDate:"1948-07-07",deathPlace:"Manila, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"41491264",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Benjamin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},95216770:{baptismDate:null,birthDate:"1946-12-27",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"95216770",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rodolfo",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},48615922:{baptismDate:null,birthDate:"1969-03-31",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"48615922",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Saplala",nickname:"Dada",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Danilo",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},52063403:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"52063403",lastName:"Orillo",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Filomeno",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},44750858:{baptismDate:null,birthDate:"1964-08-05",birthPlace:null,deathAge:null,deathDate:"2023-01-23",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"44750858",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Roselyn",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},28928680:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"28928680",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Augustin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},93051591:{baptismDate:null,birthDate:"1870-07-21",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"1941-12-27",deathPlace:"Quezon City, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"93051591",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bautista",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Daniel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},38373110:{baptismDate:null,birthDate:"about 1907",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"38373110",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Hilaria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},73841862:{baptismDate:null,birthDate:"1945-06-17",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"2018-02-19",deathPlace:"South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"73841862",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:"Vicky",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Victoria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},85278460:{baptismDate:null,birthDate:"1919-10-18",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1981-09-16",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"85278460",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leonor Rosario",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},64329171:{baptismDate:null,birthDate:"about 1905",birthPlace:null,deathAge:null,deathDate:"about 1983",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"64329171",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1932-06-01",marriagePlace:null,middleName:"Bongco",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felipe",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},54340914:{baptismDate:null,birthDate:"1949-10-23",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"54340914",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:"Ben",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Benjamin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},4793299:{baptismDate:null,birthDate:"1963-12-14",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"4793299",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Saplala",nickname:"Toni",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Antonio",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},77082334:{baptismDate:null,birthDate:"1968-02-21",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"77082334",lastName:"Acosta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Maramba",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Susan",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},21653420:{baptismDate:null,birthDate:"1928-01-18",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"2009-05-23",deathPlace:"Majayjay, Laguna, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"21653420",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Celso",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},95739264:{baptismDate:null,birthDate:"before 1964-08-28",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"95739264",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Becky",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},36448299:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"36448299",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Amada",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},31493676:{baptismDate:null,birthDate:null,birthPlace:"Luzon, PHL",deathAge:null,deathDate:"about 2019",deathPlace:"Luzon, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"31493676",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Perez",nickname:null,prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Claro",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},21719634:{baptismDate:null,birthDate:"2008-08-01",birthPlace:"Maternity House, Poblacion, South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"21719634",lastName:"Ignacio",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Acosta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Joshua Caleb",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},7663556:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"7663556",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Trinidad",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},4256552:{baptismDate:null,birthDate:"1966-11-07",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"4256552",lastName:"Acosta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Maramba",nickname:"Manolo",prefix:null,suffix:"III",vitalsCompleteAndVerified:!1,firstName:"Manuel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},47386677:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"47386677",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Juan",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},1031404:{baptismDate:null,birthDate:"2004-10-13",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"1031404",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:null,marriagePlace:null,middleName:"Ajesta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"DM",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},392680:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"392680",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Milagros",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},12725118:{baptismDate:null,birthDate:"1947-06-12",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"2021-05-02",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"12725118",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Amelia",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},6375936:{baptismDate:null,birthDate:"1911-05-17",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"1984-10-03",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"6375936",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bongco",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Isabel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},83646651:{baptismDate:null,birthDate:"1903-11-17",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1993-04-22",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"83646651",lastName:"Orillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregorio",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},40891293:{baptismDate:null,birthDate:"about 1913",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"40891293",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:"1930-03-29",marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Jose",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},41448711:{baptismDate:null,birthDate:"2004-08-05",birthPlace:"Amisola Maternity Hospital, Tondo, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"41448711",lastName:"Ignacio",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Acosta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ira Mae",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},78074094:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"78074094",lastName:"Adanza",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Elican",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gloria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},57433236:{baptismDate:null,birthDate:"1979-12-26",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"57433236",lastName:"Ajesta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cecil",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},70275697:{baptismDate:null,birthDate:"2003-11-05",birthPlace:"St. Luke's Medical Center, Quezon City, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"70275697",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Martin",nickname:"Ryan",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Riand Nikole",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},46768390:{baptismDate:null,birthDate:"1946-03-02",birthPlace:"Luzon, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"46768390",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Perez",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Celia",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},57182283:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"57182283",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"José",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},55618304:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"55618304",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Larry",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},42349252:{baptismDate:null,birthDate:"1928-04-20",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"42349252",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:"1953-02-08",marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Aurora",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]}},STORIES={"GQX8-CQP":{headline:"An Electronics-Engineering-graduate turned Software Engineer focused on recording his family's history.",headshot:"GQX8-CQP-2.lossy.webp",stories:` + "nodeParentKeyProperty": `+this.Xe(this.nodeParentKeyProperty)),t+e}Ey(t){super.Ey(t),t.nodeParentKeyProperty&&(this.nodeParentKeyProperty=t.nodeParentKeyProperty)}Vy(t){void 0!==t.nodeParentKeyProperty&&t.nodeParentKeyProperty!==this.nodeParentKeyProperty&&Kt.n("applyIncrementalJson cannot change Model properties"),super.Vy(t)}maybeEnsureLinkReference(t){return t}get nodeParentKeyProperty(){return this.Bn}set nodeParentKeyProperty(t){var e=this.Bn;e!==t&&(this.En(t,li,"nodeParentKeyProperty"),this.Bn=t,this.i("nodeParentKeyProperty",e,t))}get copiesParentKeyOfNodeData(){return this.kg}set copiesParentKeyOfNodeData(t){this.kg!==t&&(Kt.t(t,"boolean",li,"copiesParentKeyOfNodeData"),this.kg=t)}getParentKeyForNodeData(t){if(null!==t){var e=this.Bn;if(""!==e){e=b.Xt(t,e);if(void 0!==e){if(this.isKeyType(e))return e;Kt.n("ParentKey value for node data "+t+" is not a number or a string: "+e)}}}}setParentKeyForNodeData(t,e){var i,s;void 0===(e=null===e?void 0:e)||this.isKeyType(e)||Kt.Bi(e,"number or string",li,"setParentKeyForNodeData:key"),null!==t&&""!==(i=this.Bn)&&(e=this.maybeEnsureLinkReference(e),this.containsNodeData(t)?(s=b.Xt(t,i))!==e&&(this.en(s,t),b.dt(t,i,e),null===this.findNodeDataForKey(e)&&this.sn(e,t),this.Kt("nodeParentKey",2,i,t,s,e),"string"==typeof i)&&this.updateTargetBindings(t,i):b.dt(t,i,e))}get parentLinkCategoryProperty(){return this.$a}set parentLinkCategoryProperty(t){var e=this.$a;e!==t&&(this.En(t,li,"parentLinkCategoryProperty"),this.$a=t,this.i("parentLinkCategoryProperty",e,t))}get linkCategoryProperty(){return this.parentLinkCategoryProperty}set linkCategoryProperty(t){this.parentLinkCategoryProperty=t}getParentLinkCategoryForNodeData(t){var e;return null===t||""===(e=this.$a)||void 0===(e=b.Xt(t,e))?"":"string"==typeof e?e:void Kt.n("getParentLinkCategoryForNodeData found a non-string category for "+t+": "+e)}getLinkCategoryForData(t){return this.getParentLinkCategoryForNodeData(t)}setParentLinkCategoryForNodeData(e,i){if(Kt.t(i,"string",li,"setParentLinkCategoryForNodeData:cat"),null!==e){var s=this.$a;if(""!==s)if(this.containsNodeData(e)){let t=b.Xt(e,s);(t=void 0===t?"":t)!==i&&(b.dt(e,s,i),this.Kt("parentLinkCategory",2,s,e,t,i),"string"==typeof s)&&this.updateTargetBindings(e,s)}else b.dt(e,s,i)}}setLinkCategoryForData(t,e){this.setParentLinkCategoryForNodeData(t,e)}copyNodeData(t){return null===t?null:(t=super.copyNodeData(t),this.copiesParentKeyOfNodeData||""===this.Bn||void 0===b.Xt(t,this.Bn)||b.dt(t,this.Bn,void 0),t)}setDataProperty(t,e,i){if((Ht,Kt.t(t,"object",li,"setDataProperty:data"),Kt.t(e,"string",li,"setDataProperty:propname"),""===e)&&Kt.n("TreeModel.setDataProperty: property name must not be an empty string when setting "+t+" to "+i),this.containsNodeData(t)){if(e===this.nodeKeyProperty)return void this.setKeyForNodeData(t,i);if(e===this.nodeCategoryProperty)return void this.setCategoryForNodeData(t,i);if(e===this.nodeParentKeyProperty)return void this.setParentKeyForNodeData(t,i)}var s=b.Xt(t,e);s!==i&&(b.dt(t,e,i),this.raiseDataChanged(t,e,s,i))}By(t,e){super.By(t,e);for(var i=this.oi.iterator;i.next();){var s=i.value;this.IN(s,t,e)}}IN(t,e,i){var s;this.getParentKeyForNodeData(t)===e&&(s=this.Bn,b.dt(t,s,i),this.Kt("nodeParentKey",2,s,t,e,i),"string"==typeof s)&&this.updateTargetBindings(t,s)}wg(t){super.wg(t);var e=this.getKeyForNodeData(t),t=this.Ry(e);if(null!==t){for(var i=Kt.ct(),s=t.iterator;s.next();){var n,a=s.value;this.containsNodeData(a)&&this.getParentKeyForNodeData(a)===e&&(n=this.Bn,this.Kt("nodeParentKey",2,n,a,e,e),"string"==typeof n&&this.updateTargetBindings(a,n),i.push(a))}for(let t=0;t=i.length||(e.add(i.elt(t)),t+1>=i.length));t+=2)s.add(i.elt(t+1));12===this.direction?(3===this.arrangement&&e.reverse(),(i=new O).addAll(e),i.addAll(s)):(3===this.arrangement&&s.reverse(),(i=new O).addAll(s),i.addAll(e))}var g=i.length;let m=u=0;for(let e=0;ea?(a=A,d=a*r,b):y/(360<=l?g:g-1)}}return this.vb=t,this.EN=n,this.me=a,this.Xc=r,this.Hb=o,this.Sg=l,this.Ih=h,this.VN=u,this.Ls=d,this.Xy=c,i}doLayout(e){Ht,null===e&&Kt.n("Layout.doLayout(collection) argument must not be null but a Diagram, a Group, or an Iterable of Parts"),null===this.network&&(this.network=this.makeNetwork(e)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);e=this.network.vertexes;if(e.count<=1)1===e.count&&((a=e.first()).centerX=0,a.centerY=0);else{let t=new O;t.addAll(e.iterator);var s=new O,n=new O,a=(t=this.YO(t,s,n),this.vb),r=this.me,o=this.Hb,l=this.Sg,h=this.Ih,u=this.Ls,d=this.Xy;if(12!==this.direction&&13!==this.direction||3!==a)if(12===this.direction||13===this.direction){let i=0;switch(a){case 1:i=180*this.Wb(r,u,o,d)/Math.PI;break;case 0:{let t=0,e=0;var c=s.first(),c=(null!==c&&(t=c.Oh(Math.PI/2)),n.first());null!==c&&(e=c.Oh(Math.PI/2)),i=180*this.Wb(r,u,o,h+(t+e)/2)/Math.PI;break}case 2:i=l/t.length}if(12===this.direction){switch(a){case 1:this.Uy(s,l/2,o,11);break;case 0:this.Gy(s,l/2,o,11);break;case 2:this.Hy(s,l/2,o,11)}switch(a){case 1:this.Uy(n,l/2,o+i,10);break;case 0:this.Gy(n,l/2,o+i,10);break;case 2:this.Hy(n,l/2,o+i,10)}}else{switch(a){case 1:this.Uy(n,l/2,o,11);break;case 0:this.Gy(n,l/2,o,11);break;case 2:this.Hy(n,l/2,o,11)}switch(a){case 1:this.Uy(s,l/2,o+i,10);break;case 0:this.Gy(s,l/2,o+i,10);break;case 2:this.Hy(s,l/2,o+i,10)}}}else switch(a){case 1:this.Uy(t,l,o,this.direction);break;case 0:this.Gy(t,l,o,this.direction);break;case 2:this.Hy(t,l,o,this.direction);break;case 3:this.qT(t,l,o,this.direction)}else this.qT(t,l,o-l/2,10)}this.updateParts(),this.network=null,this.isValidLayout=!0}Hy(e,t,i,s){var n=this.Sg,a=this.me,r=this.Ls,o=i*Math.PI/180,l=t*Math.PI/180,h=e.length;for(let t=0;t=d.length-1));t++)this.JT(e,i,d,t,r,c)||this.ZT(e,i,d,t,r,c),e=c.x,i=c.y;if(_.o(c),this.Qa++,!(23Math.abs(m)?0=d.length-1));t++)this.JT(o,l,d,t,s,u)||this.ZT(o,l,d,t,s,u),o=u.x,l=u.y;_.o(u),this.Qa++,23o){if((h=t-r)<-o)return a.x=h,a.y=u,!1;d=!0}}else if((h=t-r)<-o){if((h=t+r)>o)return a.x=h,a.y=u,!1;d=!0}return u=Math.sqrt(1-Math.min(1,h*h/(o*o)))*l,e<0!==d&&(u=-u),Math.abs(e-u)>(i[s].height+i[s+1].height)/2?(a.x=h,a.y=u,!1):(a.x=h,a.y=u,!0)}ZT(t,e,i,s,n,a){var r=this.Ih,o=this.me,l=this.Ls;let h=0,u=0;r=(i[s].height+i[s+1].height)/2+r;let d=!1;if(0<=t!=(10===n)){if((u=e-r)<-l){if((u=e+r)>l)return a.x=h,a.y=u,!1;d=!0}}else if((u=e+r)>l){if((u=e-r)<-l)return a.x=h,a.y=u,!1;d=!0}return h=Math.sqrt(1-Math.min(1,u*u/(l*l)))*o,t<0!==d&&(h=-h),Math.abs(t-h)>(i[s].width+i[s+1].width)/2?(a.x=h,a.y=u,!1):(a.x=h,a.y=u,!0)}commitLayout(){this.commitNodes(),this.isRouting&&this.commitLinks()}commitNodes(){var t=null!==this.group&&this.group.hasPlaceholder(),e=t?this.group.location.copy():null;let i=this.actualCenter;t?i=new _(0,0):(i.x=this.arrangementOrigin.x+this.me,i.y=this.arrangementOrigin.y+this.Ls);for(var s,n=this.network.vertexes.iterator;n.next();){var a=n.value;a.x+=i.x,a.y+=i.y,a.commit()}t&&(this.group.ensureBounds(),t=this.group.position.copy(),s=this.group.location.copy(),e=e.subtract(s.subtract(t)),this.group.move(e),this.ON=e.subtract(t))}commitLinks(){for(var t=this.network.edges.iterator;t.next();)t.value.commit()}BN(t,e,i,s){var n=this.vT;if(Math.abs(this.Xc-1)<.001)return void 0!==i&&void 0!==s?s*t:2*Math.PI*t;var a=e=n)return t*o}}KO(t){switch(this.sorting){case 20:break;case 21:t.reverse();break;case 22:t.sort(this.comparer);break;case 23:t.sort(this.comparer),t.reverse();break;case 24:return this.HO(this.vO(t));default:Kt.n("Invalid sorting type.")}return t}vO(n){var a=[];for(let t=0;te&&(e=o,i=t)}else for(let t=0;te&&(e=l,i=t)}r.add(n.elt(i)),a[i]=-1;var h=n.elt(i);let t=0;for(var u=h.sourceEdges;u.next();){var d=u.value.fromVertex;!((t=n.indexOf(d))<0)&&0<=a[t]&&a[t]++}for(var c=h.destinationEdges;c.next();){var g=c.value.toVertex;!((t=n.indexOf(g))<0)&&0<=a[t]&&a[t]++}}return r}HO(i){var r=[];for(let e=0;e=v&&t++,e>=v&&e++,t>e&&(p=e,e=t,t=p),e-t<(u.length+2)/2==(tMath.max(100,Math.sqrt(n*t.vertexes.count));)s=this.coarsenNetwork(s);let a=0,r=(e=s.vertexes.iterator,this.randomNumberGenerator);for(null===r&&(this.randomNumberGenerator=r=new Ai(0));e.next();){e.value.idInCluster=a++;for(var o=10*(r.random()-.5),l=10*(r.random()-.5),h=(e.value.x=o,e.value.y=l,e.value.hierarchicalVertexes.iterator);h.next();)h.value.x=o,h.value.y=l}var u=this.computePairwiseDistances(s);this.jO(s,u,this.maxPrelayoutIterations,t.vertexes.count),this.$T(t,this.maxIterations)}computePairwiseDistances(t){var e=t.vertexes.count,i=new Array(e);for(let t=0;tu.y&&i[t].x-u.xu.x&&i[t].y-u.yr-a,u=(h?i.sort((t,e)=>null===t||null===e||t===e?0:t.centerX-e.centerX):i.sort((t,e)=>null===t||null===e||t===e?0:t.centerY-e.centerY),this.Gc);let d=0,c=0,g=0;for(let e=0;ethis.epsilonDistance*this.epsilonDistance}jO(t,i,e,s){Ht,Kt.r(e,yi,"performIterations:num");var n,a,r=this.Eh+e,o=Math.sqrt(s),l=(this.vy=this.tf*t.vertexes.count,t.vertexes.toArray());let h=0,u,d=0;for(;this.Eh=u){if(5<=++d)break}else d=0;this.vy*=.95}}moveVertex(t){let e=t.forceX,i=t.forceY;var s=this.moveLimit;return e<-s?e=-s:e>s&&(e=s),i<-s?i=-s:i>s&&(i=s),t.centerX+=e,t.centerY+=i,e*e+i*i}shouldInteract(t,e){return!0}moveFixedVertex(t){}commitLayout(){this.qy(),this.commitNodes(),this.isRouting&&this.commitLinks()}qy(){if(this.setsPortSpots)for(var t=this.network.edges.iterator;t.next();){var e=t.value.link;null!==e&&(e.fromSpot=Z.Default,e.toSpot=Z.Default)}}commitNodes(){let t=0,e=0;this.arrangesToOrigin&&(i=Q.a(),this.Fw(this.network,i),s=this.arrangementOrigin,t=s.x-i.x,e=s.y-i.y,Q.o(i));for(var i,s,n=Q.a(),a=this.network.vertexes.iterator;a.next();){var r=a.value;0===t&&0===e||(n.c(r.bounds),n.x+=t,n.y+=e,r.bounds=n),r.commit()}Q.o(n)}commitLinks(){for(var t=this.network.edges.iterator;t.next();)t.value.commit()}springStiffness(t){t=t.stiffness;return isNaN(t)?this.Hc:t}springLength(t){t=t.length;return isNaN(t)?this.vc:t}electricalCharge(t){t=t.charge;return isNaN(t)?this.qc:t}electricalFieldX(t,e){return 0}electricalFieldY(t,e){return 0}gravitationalMass(t){t=t.mass;return isNaN(t)?this.Wc:t}gravitationalFieldX(t,e){return 0}gravitationalFieldY(t,e){return 0}isFixed(t){return t.isFixed}get currentIteration(){return this.Eh}get arrangementSpacing(){return this.Ts}set arrangementSpacing(t){Kt.s(t,Yt,yi,"arrangementSpacing"),this.Ts.equals(t)||(this.Ts.c(t),this.invalidateLayout())}get arrangesToOrigin(){return this.Ag}set arrangesToOrigin(t){this.Ag!==t&&(Kt.t(t,"boolean",yi,"arrangesToOrigin"),this.Ag=t,this.invalidateLayout())}get setsPortSpots(){return this.zn}set setsPortSpots(t){this.zn!==t&&(Kt.t(t,"boolean",yi,"setsPortSpots"),this.zn=t,this.invalidateLayout())}get comments(){return this.Ye}set comments(t){this.Ye!==t&&(Kt.t(t,"boolean",yi,"comments"),this.Ye=t,this.invalidateLayout())}get maxPrelayoutIterations(){return this.Lg}set maxPrelayoutIterations(t){this.Lg!==t&&(Kt.t(t,"number",yi,"maxPrelayoutIterations"),0<=t)&&(this.Lg=t,this.invalidateLayout())}get maxIterations(){return this.Tg}set maxIterations(t){this.Tg!==t&&(Kt.t(t,"number",yi,"maxIterations"),0<=t)&&(this.Tg=t,this.invalidateLayout())}get epsilonDistance(){return this.Dg}set epsilonDistance(t){this.Dg!==t&&(Kt.t(t,"number",yi,"epsilonDistance"),0d||a===d&&o>g)&&t++,ca||d===a&&g>o)&&t++;if(v<=0)for(e=y[f].hr,s=0;sd||a===d&&r>c)&&t++,ga||d===a&&c>r)&&t++;for(x[f*b+f]=t,i=f+1;it-e),h=s>>1,1&s?l[t]=u[h]:l[t]=u[h-1]+u[h]>>1)}return this.Bh(a,o),l}Zy(i,s,n,a,r){if(i.component===n){i.component=s;let t=0,e=0;if(a)for(var o=i.destinationEdges;o.next();){var l=o.value,h=l.toVertex;t=i.layer-h.layer,e=this.linkMinLength(l),t===e&&this.Zy(h,s,n,a,r)}if(r)for(var u=i.sourceEdges;u.next();){var d=u.value,c=d.fromVertex;t=c.layer-i.layer,e=this.linkMinLength(d),t===e&&this.Zy(c,s,n,a,r)}}}KN(t,e,i,s,n){if(t.component===i){if(t.component=e,s)for(var a=t.destinationEdges;a.next();){var r=a.value.toVertex;this.KN(r,e,i,s,n)}if(n)for(var o=t.sourceEdges;o.next();){var l=o.value.fromVertex;this.KN(l,e,i,s,n)}}}removeCycles(){for(var t=this.network.edges.iterator;t.next();)t.value.rev=!1;switch(this.Jc){default:case 1:this.e3();break;case 0:this.s3();break;case 2:this.o3()}}o3(){var t=this.network,i=t.vertexes.iterator;let s=1/0;for(;i.next();){var e=i.value;s=Math.min(s,e.layer)}if(s<1/0){if(s<0)for(i.reset();i.next();)i.value.layer-=s;var n=[];for(i.reset();i.next();){var a=i.value,r=n[a.layer];void 0===r?n[a.layer]=[a]:r.push(a)}let e=0;for(let t=0;tl.index&&(e.reverseEdge(r),r.rev=!0)}}r3(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee)return i}return null}iD(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee){let t=!0;for(var s=i.destinationEdges;s.next();)if(s.value.toVertex.ee){t=!1;break}if(t)return i}}return null}eD(t){for(var e=t.vertexes.iterator;e.next();){var i=e.value;if(i.ee){let t=!0;for(var s=i.sourceEdges;s.next();)if(s.value.fromVertex.ee){t=!1;break}if(t)return i}}return null}l3(t){let i=null,s=0;for(var e=this.network.vertexes.iterator;e.next();){var n=e.value;if(n.ee){let t=0;for(var a=n.destinationEdges;a.next();)a.value.toVertex.ee&&t++;let e=0;for(var r=n.sourceEdges;r.next();)r.value.fromVertex.ee&&e++;(null===i||sn&&this.Zy(a,0,-1,!0,!1)}for(this.Zy(e,1,-1,!0,!0);0!==e.component;){let s=0,n=1/0,t=0,a=null;for(var l=this.network.vertexes.iterator;l.next();){var h=l.value;if(1===h.component){let e=0,i=!1;var u=h.Mo;r=u.length;for(let t=0;tt)&&!i&&(r=o,t=e)}}if(n<0){for(i.reset();i.next();){var m=i.value;1===m.component&&(m.layer-=a)}e.component=0}else r.component=0}}QO(){for(var d=this.network,e=[],t=d.edges.iterator;t.next();){var i=t.value;i.valid=!1,e.push(i)}for(let t=0;th&&0h&&0e[this.Fs]&&(this.Wy=e[t]-1,this.Fs=t),e[t]{t.index=this.yi[a],this.yi[a]++})}}}m3(){let e=null;for(var i=this.network.vertexes.iterator;i.next();){var t,s=i.value;s.near&&(null===e&&(e=new Map),s.layer===s.near.layer)&&((t=e.get(s.near)||[]).push(s),e.set(s.near,t))}for(let t=this.Lt;0<=t;t--)for(i.reset();i.next();){var n=i.value;n.layer===t&&-1===n.index&&this.aD(n,e)}}aD(t,i){if(!t.near){const l=t.layer;t.index=this.yi[l],this.yi[l]++,i&&(s=i.get(t),Array.isArray(s))&&s.forEach(t=>{t.index=this.yi[l],this.yi[l]++});var s,n=t.hr;let e=!0;for(;e;){e=!1;for(let t=0;tr.portFromColOffset&&(e=!0,n[t]=r,n[t+1]=a)}}for(let t=0;t{t.index=this.yi[h],this.yi[h]++});var n,a,r=i.Mo;let t=!0,e=0;for(;t;)for(t=!1,e=0;el.portToColOffset&&(t=!0,r[e]=l,r[e+1]=o)}for(e=0;e=o;s--)a=this.gs(s,-1,!1,-1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,1,!1,1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,1,!1,1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,-1,!1,-1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,0,!1,0)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,0,!1,0)||a;n>=t?this.ns(e):(t=n,e=this.ie())}break;default:for(r=this.Lt,o=0,l=t+1;(h=this.countCrossings())=o;s--)a=this.gs(s,-1,!1,-1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,1,!1,1)||a;for((n=this.countCrossings())>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,1,!1,1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,-1,!1,-1)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=r;s>=o;s--)a=this.gs(s,0,!1,0)||a;for(n>=t?this.ns(e):(t=n,e=this.ie()),a=!0;a;)for(a=!1,s=o;s<=r;s++)a=this.gs(s,0,!1,0)||a;n>=t?this.ns(e):(t=n,e=this.ie())}}this.ns(e)}lk(t,e){Ht,Kt.r(t,Ni,"medianBarycenterCrossingReduction:unfixedLayer"),Kt.r(e,Ni,"medianBarycenterCrossingReduction:direction");let i=0,s=!1;var n,a=this.Vh(t),r=this.yi[t],o=this.tD(t,e),l=this.Jy(t,e);for(i=0;iw+1&&(t+=4*(u-w),e+=4*(u-(w+1)))}}var I=y[w].destinationEdges.iterator;if(p&&0<=v)for(;I.next();){var V=I.value;d=V.toVertex,V.valid&&d.layer!==f&&(n=this.linkStraightenWeight(V),a=V.portFromColOffset,r=V.portToColOffset,l=d.column,i+=(Math.abs(N+a-(l+r))+1)*n,s+=(Math.abs(F+a-(l+r))+1)*n)}for(I.reset();I.next();){var z=I.value;if(d=z.toVertex,z.valid&&d.layer===f){for(c=0;cw+1&&(t+=4*(u-(w+1)),e+=4*(u-w))}}var H=y[w+1].destinationEdges.iterator;if(p&&0<=v)for(;H.next();){var K=H.value;d=K.toVertex,K.valid&&d.layer!==f&&(n=this.linkStraightenWeight(K),a=K.portFromColOffset,r=K.portToColOffset,l=d.column,i+=(Math.abs(L+a-(l+r))+1)*n,s+=(Math.abs(B+a-(l+r))+1)*n)}for(H.reset();H.next();){var Y=H.value;if(d=Y.toVertex,Y.valid&&d.layer===f){for(c=0;c>1)+8*e}this.Wt*=8}if(2&this.cr){e=!0;let t=0;for(;e&&tw+this.nodeMinColumnSpace(m[g-1],!1)?x-1:x,0),i=(e=g+1>=f||m[g+1].column-x-1>A+this.nodeMinColumnSpace(m[g+1],!0)?x+1:x,0),s=0,n=0,a=0,r=0,o=0;if(c<=0)for(var P=m[g].sourceEdges.iterator;P.next();){var k=P.value,S=k.fromVertex;k.valid&&S.layer!==d&&(a=this.linkStraightenWeight(k),r=k.portFromColOffset,o=k.portToColOffset,k=S.column,i+=(Math.abs(x+o-(k+r))+1)*a,s+=(Math.abs(t+o-(k+r))+1)*a,n+=(Math.abs(e+o-(k+r))+1)*a)}if(0<=c)for(var M=m[g].destinationEdges.iterator;M.next();){var C=M.value,N=C.toVertex;C.valid&&N.layer!==d&&(a=this.linkStraightenWeight(C),r=C.portFromColOffset,o=C.portToColOffset,C=N.column,i+=(Math.abs(x+r-(C+o))+1)*a,s+=(Math.abs(t+r-(C+o))+1)*a,n+=(Math.abs(e+r-(C+o))+1)*a)}let l=0,h=0,u=0;w=p[m[g].index],A=v[m[g].index];-1!==w&&(l+=Math.abs(w-x),h+=Math.abs(w-t),u+=Math.abs(w-e)),-1!==A&&(l+=Math.abs(A-x),h+=Math.abs(A-t),u+=Math.abs(A-e)),s=l[a]?t=n:s<=l[a]&&(t=s)),t!==d&&(h=!0,u=!0,r[a].column=t)}return this.Bh(t,r),this.jy(),h}x3(){for(let t=0;t<=this.Wt;t++)for(;this.b3(t,1););this.jy()}b3(t,e){Ht,Kt.r(t,Ni,"packAux:column"),Kt.r(e,Ni,"packAux:direction");let i=!0;for(var s=this.network.vertexes.iterator;s.next();){var n=s.value,a=this.nodeMinColumnSpace(n,!0),r=this.nodeMinColumnSpace(n,!1);if(n.column-a<=t&&n.column+r>=t){i=!1;break}}let o=!1;if(i){if(0t&&(--l.column,o=!0)}if(e<0)for(s.reset();s.next();){var h=s.value;h.column=i&&(a[o.layer]=!0)}let u=!0,d=!1;for(s=0;s<=this.Lt;s++)u=u&&!(n[s]&&a[s]);if(u){if(0t&&(--c.column,d=!0)}if(e<0)for(r.reset();r.next();){var g=r.value;g.columns?this.ns(i):as?this.ns(i):a=t&&(n.component=this.rn)}for(this.rn++,e.reset();e.next();){var a=e.value;-1===a.component&&(this.KN(a,this.rn,-1,!0,!0),this.rn++)}let r=0;var o=[];for(r=0;r{var e=Kt.ct(),i=(h&&e.push(a.get(t)),u&&e.push(r.get(t)),d&&e.push(o.get(t)),c&&e.push(l.get(t)),e.sort((t,e)=>t-e),e.length),s=Math.floor((i-1)/2),i=Math.ceil((i-1)/2),s=(e[s]+e[i])/2;Kt.ot(e),t.pe=s})}M3(e,n){var i=e.length;for(let t=1;tt)&&n.add(u)}s++}i=t}}}}N3(t){if(null===t.node){t=t.getProperSourceVertexes();if(0t.zh-e.zh);r=(r-1)/2;for(let e=Math.floor(r),t=Math.ceil(r);e<=t;e++)if(l.Kn===l){var o=a[e];let t;t=n?o.getDestinationEdge(l):l.getDestinationEdge(o),!s.contains(t)&&i{o.set(t.key,t.value+l)})}}Kt.ot(n),Kt.ot(a)}L3(t,e,i,s){if(!t||0===t.count)return e[s]=0,1/(i[s]=0);let n=1/0,a=-1/0;return t.each(t=>{var e=t.key,t=t.value,e=90===this.C||270===this.C?e.width:e.height;ta&&(a=t+e)}),e[s]=n,(i[s]=a)-n}commitLayout(){this.qy(),this.commitNodes(),this.HN(),this.isRouting&&this.commitLinks()}qy(){if(this.setsPortSpots)for(var t=this.rk(!0),e=this.rk(!1),i=this.network.edges.iterator;i.next();){var s=i.value.link;null!==s&&(s.fromSpot=t,s.toSpot=e)}}rk(t){return 270===this.C?t?Z.MiddleTop:Z.MiddleBottom:90===this.C?t?Z.MiddleBottom:Z.MiddleTop:180===this.C?t?Z.MiddleLeft:Z.MiddleRight:t?Z.MiddleRight:Z.MiddleLeft}commitNodes(){this.on=[],this.Rs=[],this.Is=[],this.Gt=[];for(let t=0;t<=this.Lt;t++)this.on[t]=0,this.Rs[t]=0,this.Is[t]=0,this.Gt[t]=0;for(var i=this.network.vertexes.iterator;i.next();){var t=i.value,e=t.layer;this.on[e]=Math.max(this.on[e],this.nodeMinLayerSpace(t,!0)),this.Rs[e]=Math.max(this.Rs[e],this.nodeMinLayerSpace(t,!1))}let s=0;var n=this.Ds;for(let e=0;e<=this.Lt;e++){let t=n;this.on[e]+this.Rs[e]<=0&&(t=0),0=y.bounds.bottom?(e=y.bounds.y+y.bounds.height,b.insertPointAt(s++,l,e+c),b.insertPointAt(s++,l,e),b.insertPointAt(s++,l,e-d)):(b.insertPointAt(s++,l,h+c),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h-d)):270===this.C?h<=y.bounds.y?(e=y.bounds.y,b.insertPointAt(s++,l,e-d),b.insertPointAt(s++,l,e),b.insertPointAt(s++,l,e+c)):(b.insertPointAt(s++,l,h-d),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h+c)):0===this.C&&(l>=y.bounds.right?(e=y.bounds.x+y.bounds.width,b.insertPointAt(s++,e+c,h),b.insertPointAt(s++,e,h),b.insertPointAt(s++,e-d,h)):(b.insertPointAt(s++,l+c,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l-d,h)));else{b.insertPointAt(s++,r,o);let t=0;180===this.C||0===this.C?((180===this.C?l>=y.bounds.right:l<=y.bounds.x)&&(t=(0===this.C?-d:c)/2),b.insertPointAt(s++,r+t,h)):((270===this.C?h>=y.bounds.bottom:h<=y.bounds.y)&&(t=(90===this.C?-d:c)/2),b.insertPointAt(s++,l,o+t)),b.insertPointAt(s++,l,h)}else d=Math.max(10,this.on[n.layer]),c=Math.max(10,this.Rs[n.layer]),t?180===this.C?(b.insertPointAt(s++,l-d-S,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l+c+S,h)):90===this.C?(b.insertPointAt(s++,l,h+c+S),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h-d-S)):270===this.C?(b.insertPointAt(s++,l,h-d-S),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h+c+S)):(b.insertPointAt(s++,l+c+S,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l-d-S,h)):(180!==this.C&&90!==this.C&&this.C,b.insertPointAt(s++,l,h));y=n}if(null===p||A!==Z.None||i)if(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=b.getPoint(s).x,h=b.getPoint(s).y,i){var N=this.Rs[v.layer];let t=0;180===this.C||0===this.C?((t=o)>=v.bounds.y&&t<=v.bounds.bottom&&(180===this.C?l>=v.bounds.x:l<=v.bounds.right)&&(e=v.centerX+(180===this.C?-N:N),t=t=v.bounds.x&&t<=v.bounds.right&&(270===this.C?h>=v.bounds.y:h<=v.bounds.bottom)&&(e=v.centerY+(270===this.C?-N:N),t=t=v.bounds.x?(e=v.bounds.x+v.bounds.width,b.setPointAt(s-2,e,o),b.setPointAt(s-1,e+c,o)):90===this.C&&h<=v.bounds.bottom?(e=v.bounds.y,b.setPointAt(s-2,r,e),b.setPointAt(s-1,r,e-d)):270===this.C&&h>=v.bounds.y?(e=v.bounds.y+v.bounds.height,b.setPointAt(s-2,r,e),b.setPointAt(s-1,r,e+c)):0===this.C&&l<=v.bounds.right&&(e=v.bounds.x,b.setPointAt(s-2,e,o),b.setPointAt(s-1,e-d,o));else{d=Math.max(10,this.on[v.layer]),c=Math.max(10,this.Rs[v.layer]);let t=0;180===this.C||0===this.C?((180===this.C?l<=v.bounds.x:l>=v.bounds.right)&&(t=(0===this.C?c:-d)/2),b.insertPointAt(s++,l+t,o)):((270===this.C?h<=v.bounds.y:h>=v.bounds.bottom)&&(t=(90===this.C?c:-d)/2),b.insertPointAt(s++,r,h+t)),b.insertPointAt(s++,l,h)}}else{for(;null!==v&&v!==y;){n=null,a=null;for(var L=v.destinationEdges.iterator;L.next();){var D=L.value;if(D.link===x.link&&(n=D.toVertex,null!==(a=D.fromVertex).node&&(a=null),null===n.node))break}if(null===n)break;n!==y&&(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=n.centerX,h=n.centerY,i?180===this.C||0===this.C?(null!==a?a.centerY:o)!==h&&(u=this.Gt[n.layer]+this.ur.x,s===b.firstPickIndex+1&&(u=0===this.C?Math.max(u,r):Math.min(u,r)),b.insertPointAt(s++,u,o),b.insertPointAt(s++,u,h)):(null!==a?a.centerX:r)!==l&&(u=this.Gt[n.layer]+this.ur.y,s===b.firstPickIndex+1&&(u=90===this.C?Math.max(u,o):Math.min(u,o)),b.insertPointAt(s++,r,u),b.insertPointAt(s++,l,u)):(d=Math.max(10,this.on[n.layer]),c=Math.max(10,this.Rs[n.layer]),t?180===this.C?(b.insertPointAt(s++,l+c+S,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l-d-S,h)):90===this.C?(b.insertPointAt(s++,l,h-d-S),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h+c+S)):270===this.C?(b.insertPointAt(s++,l,h+c+S),b.insertPointAt(s++,l,Math.max(h+c-S/2,h)),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,Math.min(h-d+S/2,h)),b.insertPointAt(s++,l,h-d-S)):(b.insertPointAt(s++,l-d-S,h),b.insertPointAt(s++,Math.min(l-d+S/2,l),h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,l,h),b.insertPointAt(s++,Math.max(l+c-S/2,l),h),b.insertPointAt(s++,l+c+S,h)):180===this.C?(b.insertPointAt(s++,l+c,h),b.insertPointAt(s++,l-d,h)):90===this.C?(b.insertPointAt(s++,l,h-d),b.insertPointAt(s++,l,h+c)):270===this.C?(b.insertPointAt(s++,l,h+c),b.insertPointAt(s++,l,h-d)):(b.insertPointAt(s++,l-d,h),b.insertPointAt(s++,l+c,h)))),v=n}i&&(r=b.getPoint(s-1).x,o=b.getPoint(s-1).y,l=b.getPoint(s).x,h=b.getPoint(s).y,180===this.C||0===this.C?o!==h&&(u=0===this.C?Math.min(Math.max((l+r)/2,this.Gt[y.layer]+this.ur.x),l):Math.max(Math.min((l+r)/2,this.Gt[y.layer]+this.ur.x),l),b.insertPointAt(s++,u,o),b.insertPointAt(s++,u,h)):r!==l&&(u=90===this.C?Math.min(Math.max((h+o)/2,this.Gt[y.layer]+this.ur.y),h):Math.max(Math.min((h+o)/2,this.Gt[y.layer]+this.ur.y),h),b.insertPointAt(s++,r,u),b.insertPointAt(s++,l,u)))}null!==w&&t&&4<=b.pointsCount&&(null!==f&&(k=A===Z.None?b.getLinkPointFromPoint(g,f,f.getDocumentPoint(Z.Center),b.getPoint(3),!0):b.getPoint(0),A===Z.None&&(w=b.getPoint(2),A=b.getPoint(3),90===this.direction||270===this.direction?(b.setPointAt(1,(k.x+w.x)/2,w.y),b.setPointAt(2,A.x,(w.y+A.y)/2)):(b.setPointAt(1,w.x,(k.y+w.y)/2),b.setPointAt(2,(w.x+A.x)/2,A.y))),k.isReal()||k.set(g.actualBounds.center),b.setPointAt(0,k.x,k.y)),null!==p)&&(w=P===Z.None?b.getLinkPointFromPoint(m,p,p.getDocumentPoint(Z.Center),b.getPoint(b.pointsCount-4),!1):b.getPoint(b.pointsCount-1),P===Z.None&&(A=b.getPoint(b.pointsCount-3),P=b.getPoint(b.pointsCount-4),90===this.direction||270===this.direction?(b.setPointAt(b.pointsCount-2,(w.x+A.x)/2,A.y),b.setPointAt(b.pointsCount-2,P.x,(A.y+P.y)/2)):(b.setPointAt(b.pointsCount-2,A.x,(w.y+A.y)/2),b.setPointAt(b.pointsCount-3,(A.x+P.x)/2,P.y))),w.isReal()||w.set(m.actualBounds.center),b.setPointAt(b.pointsCount-1,w.x,w.y)),b.commitRoute(),x.commit()}}}}ZO(){this.Wy=-1,this.Eg=0,this.Fs=0,this.sf=null,this.Bg=null,this.tu=null;for(let t=0;t=this.Xn.length){var s=[];for(let t=0;t{var e;return t instanceof D?!t.isLinkLabel&&"Comment"!==t.category:t instanceof Y&&null!==(e=t.fromNode)&&!e.isLinkLabel&&"Comment"!==e.category&&!(null===(e=t.toNode)||e.isLinkLabel||"Comment"===e.category)};return t instanceof G?(e.addParts(t.nodes,!0,i),e.addParts(t.links,!0,i)):t instanceof X?e.addParts(t.memberParts,!1,i):e.addParts(t.iterator,!1,i),e}doLayout(t){Ht,null===t&&Kt.n("Layout.doLayout(collection) argument must not be null but a Diagram, a Group, or an Iterable of Parts"),null===this.network&&(this.network=this.makeNetwork(t)),52!==this.arrangement&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));let e=this.diagram;null===e&&t instanceof G&&(e=t),0===this.path&&null!==e?this.ms=e.isTreePathToChildren?1:2:this.ms=0===this.path?1:this.path,0t.level||(this.Y3(e.parent,e),0))}X3(t,e){if(null===e)return!1;Ht,Kt.s(t,et,tt,"isAncestor:a"),Ht,Kt.s(e,et,tt,"isAncestor:b");let i=e.parent;for(;null!==i&&i!==t;)i=i.parent;return i===t}Y3(t,s){if(null!==t&&null!==s){Ht,Kt.s(t,et,tt,"removeChild:p"),Ht,Kt.s(s,et,tt,"removeChild:c");var n=t.children;let i=0;for(let t=0;tk&&(ak&&(rt&&(t=s+e.width),s<0&&(t-=s),t;case 22:return e.width>i?e.width:i;case 23:return 2*e.focus.x>i?e.width:i+e.width-2*e.focus.x;case 24:case 25:var n=Math.min(0,s),a=Math.max(i,s+e.width);return Math.max(e.width,a-n);case 26:return e.width-e.focus.x+e.nodeSpacing/2+i;case 27:return Math.max(e.width,e.focus.x+e.nodeSpacing/2+i);default:return i}}JN(e,i,s){switch(Ht,Kt.s(e,et,tt,"calculateSubheight:v"),e.alignment){case 21:case 20:let t=i;return s+e.height>t&&(t=s+e.height),s<0&&(t-=s),t;case 22:return e.height>i?e.height:i;case 23:return 2*e.focus.y>i?e.height:i+e.height-2*e.focus.y;case 24:case 25:var n=Math.min(0,s),a=Math.max(i,s+e.height);return Math.max(e.height,a-n);case 26:return e.height-e.focus.y+e.nodeSpacing/2+i;case 27:return Math.max(e.height,e.focus.y+e.nodeSpacing/2+i);default:return i}}ZN(t,e,i){switch(Ht,Kt.it(t,Ei,"TreeAlignment"),t){case 20:case 21:e/=2,i/=2;break;case 22:i=e=0;break;case 23:break;default:Kt.n("Unhandled alignment value "+t.toString())}return new _(e,i)}of(t,e,i,s,n,a){Ht,Kt.s(t,et,tt,"shiftRelPosAlign:v"),Ht,Kt.it(e,Ei,"TreeAlignment");e=this.ZN(e,i,s);this.ru(t,e.x,e.y,n,a)}ru(t,e,i,s,n){if(Ht,Kt.s(t,et,tt,"shiftRelPos:v"),0!==e||0!==i){var a=t.children;for(let t=s;t<=n;t++){var r=a[t].X;r.x+=e,r.y+=i}}}wk(t,e,i){Ht,Kt.s(t,et,tt,"recordMidPoints:v"),Kt.t(e,"number",tt,"recordMidPoints:x"),Kt.t(i,"number",tt,"recordMidPoints:y");var s=t.parent;switch(this.ms){case 1:for(var n=t.sourceEdges;n.next();){var a=n.value;a.fromVertex===s&&a.relativePoint.e(e,i)}break;case 2:for(var r=t.destinationEdges;r.next();){var o=r.value;o.toVertex===s&&o.relativePoint.e(e,i)}break;default:Kt.n("Unhandled path value "+this.ms.toString())}}U3(A){if(Ht,Kt.s(A,et,tt,"layoutTreeBlock:v"),0===A.childrenCount){var P=A.parent;let t=!1,e=0,i;null!==P&&(e=P.angle,i=P.alignment,t=this.isBusAlignment(i));P=this.WN(A);A.X.e(0,0),A.kt.e(A.width,A.height),null===A.parent||null===A.comments||(180!==e&&270!==e||t)&&!P?A.ht.e(0,0):180===e&&!t||(90===e||270===e)&&P?A.ht.e(A.width-2*A.focus.x,0):A.ht.e(0,A.height-2*A.focus.y),A.Yg=null,void(A.Kg=null)}else{var k=this.orthoAngle(A),S=90===k||270===k;let i=0;var M=A.children,C=M.length;for(let t=0;tB&&(uB&&(ds&&(P=this.ZN(L,V-s,0),y=P.x,b=P.y,s=V,p=0):s=this.jN(A,s,p),p<0&&(y-=p,p=0),135n&&(D=this.ZN(L,0,z-n),y=D.x,b=D.y,n=z,v=0):n=this.JN(A,n,v),v<0&&(b-=v,v=0),y+=V+F);let x,w;if(0x[0].x?x[2].c(x[1]):x[1].c(x[2])),x[3].yx[0].x?x[3].c(x[2]):x[2].c(x[3])),w[0].e(p+V,0),w[1].e(w[0].x,z),w[2].yx[0].y?x[2].c(x[1]):x[1].c(x[2])),x[3].xx[0].y?x[3].c(x[2]):x[2].c(x[3])),w[0].e(0,v+z),w[1].e(V,w[0].y),w[2].xh;){var u=e[a++];s[r++].e(u.x,u.y+i)}var d=this.ye(r);for(n=0;nh;){var u=e[a++];s[r++].e(u.x+i,u.y)}var d=this.ye(r);for(n=0;nh;){var u=t[n++];s[r++].e(u.x,u.y)}var d=this.ye(r);for(n=0;nh;){var u=t[n++];s[r++].e(u.x,u.y)}var d=this.ye(r);for(n=0;ng&&d.xd.x&&gm&&d.yd.y&&mm.y+n.rowIndent&&(s=Math.min(s,Math.max(e.y,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.top+o.y,0===o.y&&e.ym.x+n.rowIndent&&(s=Math.min(s,Math.max(e.x,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.left+o.x,0===o.x&&e.xm.y+n.rowIndent&&(s=Math.min(s,Math.max(e.y,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.top+o.y,0===o.y&&e.ym.x+n.rowIndent&&(s=Math.min(s,Math.max(e.x,s-r.computeNodeIndent(n))))):22===n.alignment?(s=l.left+o.x,0===o.x&&e.x{t=t.matches?"dark":"light";t!==this.Ug&&(this.Ug=t,"system"===this.Dk)&&this.pw()};constructor(t){t&&Object.assign(this,t),t?.themeMap||(this.lu.set("light",{colors:{...qi.Light.colors},fonts:{...qi.Light.fonts},numbers:{...qi.Light.numbers},margins:{...qi.Light.margins},arrowheads:{...qi.Light.arrowheads}}),this.lu.set("dark",{colors:{...qi.Dark.colors},fonts:{...qi.Dark.fonts},numbers:{...qi.Dark.numbers},margins:{...qi.Dark.margins},arrowheads:{...qi.Dark.arrowheads}})),v.matchMedia&&(this.Ug=v.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}get themeMap(){return this.lu}set themeMap(t){this.lu!==t&&(this.lu=t,this.pw())}get defaultTheme(){return this.Tk}set defaultTheme(t){this.Tk!==t&&(Kt.t(t,"string",ji,"defaultTheme"),this.Tk=t,this.pw())}get currentTheme(){return this.Dk}set currentTheme(t){this.Dk!==t&&(Kt.t(t,"string",ji,"currentTheme"),this.Dk=t,this.pw())}get changesDivBackground(){return this.Fk}set changesDivBackground(t){if(this.Fk!==t&&(this.Fk=t))for(const e of this.as)e.setDivBackground(this.findValue("div","","fill")),e.V("ThemeChanged",this)}get preferredColorScheme(){return this.Ug}addDiagram(t){return this.as.add(t),this.QN(t),this}removeDiagram(t){return this.as.delete(t),this.QN(t),this}qF(){0===this.as.size&&v.matchMedia&&v.matchMedia("(prefers-color-scheme: dark)")?.addEventListener("change",this.LD)}WF(){0===this.as.size&&v.matchMedia&&v.matchMedia("(prefers-color-scheme: dark)")?.removeEventListener("change",this.LD)}set(t,e){"system"===(t=""===t?this.Tk:t)&&(t=this.Ug);let i=this.lu.get(t);return i=i?this.TD(i,e):e,this.lu.set(t,i),this.pw(),this}findValue(t,e,i){return this.getValue(this.findTheme(this.currentTheme),t,e,i)||this.getValue(this.findTheme(this.defaultTheme),t,e,i)}getValue(t,e,i,n){if(t){null==i&&(i="");let s=t;const r=t=>{if(void 0!==s&&""!==t){if("number"==typeof t||!Array.isArray(t)&&!t.includes("."))return s[t];var e=Array.isArray(t)?t:t.split(".");for(let t=0;t{if(""===i||void 0!==(s=r(i)))return s=Array.isArray(s)&&"number"==typeof e?s[e%s.length]:r(e)};if(void 0===(s=o())&&"string"==typeof n&&0=qe.qd&&(l.GA(),f.inflate(l.cellWidth*l.zP,l.cellHeight*l.XP),l.fT(e,i,s,n,f,!1),p=l._i(s.x,s.y)),!l.Cy&&pqe.xo&&n._i(d,c)!==l-1&&(n._i(h-r,u)===l-1?(a=180,d=h-r,c=u):n._i(h+r,u)===l-1?(a=0,d=h+r,c=u):n._i(h,u-o)===l-1?(a=270,d=h,c=u-o):n._i(h,u+o)===l-1&&(a=90,d=h,c=u+o));l>qe.xo&&n._i(d,c)===l-1;)h=d,u=c,0===a?d+=r:90===a?c+=o:180===a?d-=r:c-=o,--l;if(i?l>qe.xo&&(180===a||0===a?h=Math.floor(h/r)*r+r/2:90!==a&&270!==a||(u=Math.floor(u/o)*o+o/2)):(h=Math.floor(h/r)*r+r/2,u=Math.floor(u/o)*o+o/2),l>qe.xo){let i=a,t=h,e=u;if(0===a?(i=90,e+=o):90===a?(i=180,t-=r):180===a?(i=270,e-=o):270===a&&(i=0,t+=r),n._i(t,e)===l-1)this.vd(s,n,t,e,i,!1);else{let t=h,e=u;0===a?(i=270,e-=o):90===a?(i=0,t+=r):180===a?(i=90,e+=o):270===a&&(i=180,t-=r),n._i(t,e)===l-1&&this.vd(s,n,t,e,i,!1)}}s.insertPointAt(s.pointsCount-2,h,u)}}st.prototype.initializeStandardTools=function(){this.ii("Action",new ct,this.mouseDownTools),this.ii("Relinking",new ot,this.mouseDownTools),this.ii("LinkReshaping",new lt,this.mouseDownTools),this.ii("Rotating",new ut,this.mouseDownTools),this.ii("Resizing",new ht,this.mouseDownTools),this.ii("Linking",new rt,this.mouseMoveTools),this.ii("Dragging",new d,this.mouseMoveTools),this.ii("DragSelecting",new mt,this.mouseMoveTools),this.ii("Panning",new ft,this.mouseMoveTools),this.ii("ContextMenu",new yt,this.mouseUpTools),this.ii("TextEditing",new At,this.mouseUpTools),this.ii("ClickCreating",new gt,this.mouseUpTools),this.ii("ClickSelecting",new dt,this.mouseUpTools)},G.xP("GraphLinksModel",ii),G.xP("TreeModel",si);var n=v.go,a={get version(){return G.version},Group:X,List:O,Set:N,Map:L,Point:_,Size:Yt,Rect:Q,Margin:I,Spot:Z,Geometry:W,PathFigure:S,PathSegment:A,InputEvent:C,DiagramEvent:B,ChangedEvent:E,Model:b,GraphLinksModel:oi,TreeModel:li,Binding:ai,ThemeBinding:ri,Transaction:R,UndoManager:U,CommandHandler:Gt,Tool:J,DraggingTool:d,DraggingInfo:Et,DraggingOptions:Ot,LinkingBaseTool:nt,LinkingTool:rt,RelinkingTool:ot,LinkReshapingTool:lt,ResizingTool:ht,RotatingTool:ut,ClickSelectingTool:dt,ActionTool:ct,ClickCreatingTool:gt,HTMLInfo:pt,ContextMenuTool:yt,DragSelectingTool:mt,PanningTool:ft,TextEditingTool:At,ToolManager:st,Animation:St,AnimationManager:kt,AnimationTrigger:Nt,Layer:Lt,Diagram:G,Palette:It,Overview:Vt,Brush:m,GraphObject:y,Panel:Xt,RowColumnDefinition:we,Shape:q,TextBlock:j,Picture:Le,Part:H,Adornment:K,Node:D,Link:Y,Placeholder:Xe,Layout:Ue,LayoutNetwork:_e,LayoutVertex:We,LayoutEdge:Qe,GridLayout:ti,PanelLayout:se,CircularLayout:gi,CircularNetwork:fi,CircularVertex:pi,CircularEdge:vi,ForceDirectedLayout:yi,ForceDirectedNetwork:bi,ForceDirectedVertex:xi,ForceDirectedEdge:wi,LayeredDigraphLayout:Ni,LayeredDigraphNetwork:Li,LayeredDigraphVertex:Di,LayeredDigraphEdge:Ti,TreeLayout:tt,TreeNetwork:zi,TreeVertex:et,TreeEdge:Gi,Themes:qi,ThemeManager:ji,Router:Hi,AnimationStyle:Pt,AutoScale:Dt,CycleMode:Tt,Flip:Ut,TextFormat:Se,ImageStretch:Ne,LayoutConditions:a,LinkAdjusting:Ie,Curve:ze,Routing:Ve,Orientation:jt,TextOverflow:ke,PortSpreading:Re,ScrollMode:Bt,CollapsePolicy:e,Sizing:xe,TriggerStart:Ct,Stretch:qt,ViewboxStretch:pe,Wrap:Pe,BrushType:ee,ColorSpace:i,GeometryStretch:k,GeometryType:P,SegmentType:M,BindingMode:ni,ChangeType:F,CircularArrangement:hi,CircularDirection:ui,CircularNodeDiameterFormula:ci,CircularSorting:di,GridAlignment:Ze,GridArrangement:Je,GridSorting:$e,LayeredDigraphAggressive:Ci,LayeredDigraphAlign:Pi,LayeredDigraphCycleRemove:ki,LayeredDigraphInit:Mi,LayeredDigraphLayering:Si,LayeredDigraphPack:s,TreeAlignment:Ei,TreeArrangement:Ii,TreeCompaction:Ri,TreeLayerStyle:Vi,TreePath:Bi,TreeSorting:Fi,TreeStyle:Oi,GestureMode:it,LinkingDirection:at,ReshapingBehavior:t,TextEditingAccept:bt,TextEditingStarting:xt,TextEditingState:wt,WheelMode:$};"object"==typeof n&&n.version&&Kt.ft("WARNING: a `go` object on the root object is already defined. "+("Debug"in n?"debug ":"")+"version: "+n.version+", replaced with version: "+a.version),G.prototype.go=a,((v.go=a).Debug=Ht).attachReadonlyWarnings(a)}(),"function"==typeof define&&define.amd&&define(("undefined"!=typeof global?global:self).go),"undefined"!=typeof module&&"object"==typeof module.exports&&(module.exports=("undefined"!=typeof global?global:self).go);const bino=go;class TopLeftBorderRadius extends bino.Shape{constructor(){super(),this._figure="TopLeftBorderRadius"}makeGeometry(){var t=new bino.Geometry,e=new bino.PathFigure(0,0,!0);return e.add(new bino.PathSegment(bino.PathSegment.Line,0,6)),e.add(new bino.PathSegment(bino.PathSegment.Arc,180,90,6,6,6,6)),t.add(e),t}}bino.Shape.defineFigureGenerator("TopLeftBorderRadius",t=>{return(new TopLeftBorderRadius).makeGeometry()});class BottomLeftBorderRadius extends bino.Shape{constructor(){super(),this._figure="BottomLeftBorderRadius"}makeGeometry(){var t=new bino.Geometry,e=new bino.PathFigure(0,0,!0);return e.add(new bino.PathSegment(bino.PathSegment.Arc,180,-90,6,0,6,6)),e.add(new bino.PathSegment(bino.PathSegment.Line,0,6)),t.add(e),t}}bino.Shape.defineFigureGenerator("BottomLeftBorderRadius",t=>{return(new BottomLeftBorderRadius).makeGeometry()});var $=bino.GraphObject.make;function addQueryParam(t,e){var i=new URL(window.location);i.searchParams.set(t,e),window.history.replaceState({},"",i)}function removeQueryParam(t){var e=new URL(window.location);e.searchParams.delete(t),window.history.replaceState({},"",e)}function decodeUrlSafeBase64ToUtf8(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");for(;e.length%4;)e+="=";t=atob(e),t=Uint8Array.from(t,t=>t.charCodeAt(0));return(new TextDecoder).decode(t)}function encodeUtf8ToUrlSafeBase64(t){t=(new TextEncoder).encode(t),t=String.fromCharCode(...t);let e=btoa(t);return e=e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}bino.useNonePhoto=function(t){return!t.hasImage&&!t.living&&null==t.birthDate&&null==t.marriageDate&&null==t.deathDate&&null==t.birthPlace&&null==t.marriagePlace&&null==t.deathPlace},bino.getRelativeDates=function(t,e){if(t.useNonePhoto)return"";var{living:i,birthDate:s,deathDate:n}=t,a=bino.calculateAge(s,n);let r=a;var o=bino.formatDate(t.birthDate,e&&t.living),e=bino.formatDate(t.marriageDate,e&&t.living),l=bino.formatDate(t.deathDate,!1);return o||l||e?o?(r<0&&(r="NaN"),l?(n.includes("after")?r=s.includes("after")?"~"+a:(s.includes("before")||s.includes("about"),a+"+"):n.includes("before")?r=s.includes("after")?a+"-":s.includes("before")?"~"+a:(s.includes("about"),a+"-"):n.includes("about")?r="~"+a:s.includes("after")?r=a+"-":s.includes("before")?r=a+"+":s.includes("about")&&(r="~"+a),t.deathAge&&(r=t.deathAge),String(r).includes("NaN")?e?o+` — ${e} — `+l:o+" — "+l:e?""+o+` — ${e} — ${l} (${r})`:""+o+` — ${l} (${r})`):(t.deathAge&&(r=t.deathAge),String(r).includes("NaN")?e?o+` — ${e} — `+(i?"Living":"Deceased"):o+" — "+(i?"Living":"Deceased"):e?o+` — ${e} — `+(i?"Living":"Deceased")+(i?` (${r})`:""):o+" — "+(i?"Living":"Deceased")+(i?` (${r})`:""))):(n=t.deathAge?` (${t.deathAge})`:"",e?l?` — ${e} — `+l+n:` — ${e} — `+(i?"Living":"Deceased")+n:" — "+l+n):i?"Living":"Deceased"},bino.convertCountryCode=function(t){if(!t)return t;var e=t.split(",").map(t=>t.trim());t.length<37&&(e[e.length-1]={USA:"United States of America",PHL:"Philippines",BHR:"Bahrain"}[e[e.length-1]]);let i=e.join(", ");return i=44<=i.length&&i.toLowerCase().includes("south caloocan")?i.replace("South Caloocan","S. Caloocan"):i},bino.calculateAge=function(t,e){t=new Date(t),e=e?new Date(e):new Date;let i=e.getFullYear()-t.getFullYear();var s=e.getMonth()-t.getMonth();return(s<0||0==s&&e.getDate()',beautician:'',beer:'',buysell:'',cattle:'',church:'',computer:'',dna:'',farming:'',"female-twin":'',government:'',househusband:'',housewife:'',intelligence:'',investigate:'',justice:'',"male-twin":'',manager:'',manufacturing:'',military:'',police:'',prelations:'',retail:'',sales:'',seaman:'',sergeant:'',software:'',train:'',book:'',fishery:'',skull:'',centennial:''},DARK_MARKERS={apparel:LIGHT_MARKERS.apparel,beautician:LIGHT_MARKERS.beautician,book:LIGHT_MARKERS.book,househusband:LIGHT_MARKERS.househusband,housewife:LIGHT_MARKERS.housewife,retail:LIGHT_MARKERS.retail,"female-twin":LIGHT_MARKERS["female-twin"],"male-twin":LIGHT_MARKERS["male-twin"],centennial:'',train:LIGHT_MARKERS.train.replace("#333333","#EAEAEA"),skull:LIGHT_MARKERS.skull.replace("#333333","#EAEAEA"),beer:LIGHT_MARKERS.beer.replace("#BD5C17","#B3825D"),buysell:LIGHT_MARKERS.buysell.replace("#333333","#EAEAEA"),cattle:LIGHT_MARKERS.cattle.replace("#BD5C17","#B3825D"),church:LIGHT_MARKERS.church.replace("#333333","#EAEAEA"),dna:LIGHT_MARKERS.dna.replace("#9831CF","#B73DF9"),intelligence:LIGHT_MARKERS.intelligence.replace("#4285F4","#4B8FFF"),justice:LIGHT_MARKERS.justice.replace("#4285F4","#4B8FFF"),farming:LIGHT_MARKERS.farming.replace("#259F31","#28BC36"),fishery:LIGHT_MARKERS.fishery.replace("#333333","#EAEAEA"),government:LIGHT_MARKERS.government.replace("#333333","#EDD5BB"),investigate:LIGHT_MARKERS.investigate.replace("#333333","#EAEAEA"),manufacturing:LIGHT_MARKERS.manufacturing.replace("#333333","#EAEAEA"),military:LIGHT_MARKERS.military.replace("#E99E0E","#FFB11B"),police:LIGHT_MARKERS.police.replace("#4285F4","#4B8FFF"),sales:LIGHT_MARKERS.sales.replace("#E99E0E","#FFB11B"),prelations:LIGHT_MARKERS.prelations.replace("#E99E0E","#FFB11B"),computer:LIGHT_MARKERS.computer.replace("#333333","#B6BFBF"),seaman:LIGHT_MARKERS.seaman.replace("#333333","#EAEAEA"),sergeant:LIGHT_MARKERS.sergeant.replace("#E99E0E","#FFB11B"),software:LIGHT_MARKERS.software.replace("#333333","#FFFFFF"),manager:LIGHT_MARKERS.manager.replace("#333333","#FFFFFF")};let MARKERS={};for(const[uS1,vS1]of Object.entries(isDark?DARK_MARKERS:LIGHT_MARKERS))MARKERS[uS1]="data:image/svg+xml;base64,"+btoa(vS1);var TREE_DATA=[{baptismDate:null,birthDate:"2025-03-15",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"80378400",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Adanza",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Yeusef Loran",fid:"G1Q7-J85",height:0,width:0,paternal_siblings:[],father:"85203214",maternal_siblings:[],mother:"16057808",regular_siblings:[]},{baptismDate:"1995-05-27",birthDate:"1995-04-19",birthPlace:"Chinese General Hospital, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!0,hasImage:!0,key:"85203214",lastName:"Argabioso",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"2024-06-15",marriagePlace:"St. John Bosco Parish Church, Makati, PHL",middleName:"Acosta",nickname:"Bino",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Arbyn",baptismPlace:"San Roque Cathedral Parish, South Caloocan, PHL",marker:"computer",marker3:"software",fid:"GQX8-CQP",child:"80378400",paternal_siblings:["70275697"],father:"50954818",maternal_siblings:["21719634","41448711"],mother:"50342947",regular_siblings:[]},{baptismDate:null,birthDate:"1965-10-09",birthPlace:"Maternity House, Poblacion, South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!0,hasImage:!0,key:"50954818",lastName:"Argabioso",living:!0,livingPlace:"Malolos, Bulacan, PHL",marriageDate:"2002-04-26",marriagePlace:"Regional Trial Court BR 226, Quezon City, PHL",middleName:"Saplala",nickname:"Olan",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rolando",marker:"government",marker3:"justice",marker4:"prelations",fid:"GQJK-L51",child:"85203214",paternal_siblings:[],father:"96832424",maternal_siblings:[],mother:"82099124",regular_siblings:["4793299","48615922"]},{baptismDate:null,birthDate:"1932-10-13",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"2020-02-27",deathPlace:"Manila Memorial Park, Plaridel, Bulacan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"96832424",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:"1963-01-23",marriagePlace:"Luisiana, Laguna, PHL",middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Marcial",marker:"beer",marker2:"prelations",fid:"GQJK-LCT",child:"50954818",paternal_siblings:[],father:"79164376",maternal_siblings:[],mother:"53221118",regular_siblings:["7663556","36448299","21653420","85278460"]},{baptismDate:null,birthDate:"about 1895",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1972-10-27",deathPlace:"Municipal Cemetery, Majayjay, Laguna, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"79164376",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Lopecillo",nickname:"Bio",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Eusebio",marker:"farming",fid:"GHBZ-TM4",child:"96832424",maternal_siblings:["52063403","83646651"],mother:"17601526",paternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1861",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1951-08-30",deathPlace:"Catholic Cemetery, Majayjay, Laguna, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"17601526",lastName:"Lopecillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estebana",fid:"GHB8-RCH",child:"79164376",paternal_siblings:[],father:"24157287",maternal_siblings:[],mother:"1093684",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"24157287",lastName:"Lopecillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Simplicio",fid:"G2HQ-YQS",child:"17601526",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"1093684",lastName:"Villarubin",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregoria",fid:"G2H7-Q75",child:"17601526",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1910",birthPlace:null,deathAge:null,deathDate:"after 1936-10-13",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"53221118",lastName:"Mia",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Francisca",fid:"GHBZ-P5Q",child:"96832424",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1944-11-24",birthPlace:"San Rafael, Baruya, Lubao, Pampanga, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!0,hasImage:!0,key:"82099124",lastName:"Saplala",living:!0,livingPlace:"Malolos, Bulacan, PHL",marriageDate:"1963-01-23",marriagePlace:"Luisiana, Laguna, PHL",middleName:"Perez",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Lydia",marker:"retail",marker3:"sales",fid:"GHBZ-YVX",child:"50954818",paternal_siblings:[],father:"78763160",maternal_siblings:[],mother:"25174592",regular_siblings:["31493676","46768390"]},{baptismDate:null,birthDate:"1916-05-30",birthPlace:"Lubao, Pampanga, PHL",deathAge:null,deathDate:"1993-05-03",deathPlace:"Dinalupihan, Bataan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"78763160",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:"1937",marriagePlace:"Lubao, Pampanga, PHL",middleName:null,nickname:"Andong",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Fernando",marker:"military",marker2:"skull",fid:"GHB8-7T6",child:"82099124",paternal_siblings:[],father:"71728184",maternal_siblings:[],mother:"66525244",regular_siblings:["38373110","40891293"]},{baptismDate:null,birthDate:"before 1892",birthPlace:null,deathAge:null,deathDate:"after 1915-07",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"71728184",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:"1902-09-17",marriagePlace:"Guagua, Pampanga, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estanislao",fid:"GNNH-JLM",child:"78763160",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1892",birthPlace:null,deathAge:null,deathDate:"after 1916-05",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"66525244",lastName:"Sison",living:!1,livingPlace:null,marriageDate:"1902-09-17",marriagePlace:"Guagua, Pampanga, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Adela",fid:"GJJX-1SG",child:"78763160",paternal_siblings:[],father:"12094064",maternal_siblings:[],mother:"14775735",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"12094064",lastName:"Sumangui",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Estanislao",child:"66525244",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"14775735",lastName:"Sison",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Florentina",child:"66525244",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1919-11-16",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1986-10-02",deathPlace:"Dinalupihan, Bataan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"25174592",lastName:"Perez",living:!1,livingPlace:null,marriageDate:"1937",marriagePlace:"Lubao, Pampanga, PHL",middleName:null,nickname:"Lucing",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Lucina",marker:"housewife",fid:"GHB8-GZL",child:"82099124",paternal_siblings:[],father:"65750680",maternal_siblings:[],mother:"40517733",regular_siblings:[]},{baptismDate:null,birthDate:"before 1913",birthPlace:null,deathAge:null,deathDate:"after 1952",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"65750680",lastName:"Perez",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Victor",marker:"fishery",fid:"GHB8-M8D",child:"25174592",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"40517733",lastName:"Gutierrez",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Genoveba",fid:"GHB8-M86",child:"25174592",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:"1971-09-05",birthDate:"1971-03-10",birthPlace:"The Family Clinic, Sampaloc, Manila, PHL",deathAge:null,deathDate:"2018-05-25",deathPlace:"Municipal Cemetery, Magdalena, Laguna, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"50342947",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"2003-02-03",marriagePlace:"City Hall, Ermita, Manila, PHL",middleName:"Maramba",nickname:"Babycor",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Corazon",baptismPlace:"San Roque Cathedral Parish, South Caloocan, PHL",marker:"housewife",fid:"GQJK-G8W",child:"85203214",paternal_siblings:[],father:"80469632",maternal_siblings:[],mother:"58601193",regular_siblings:["4256552","77082334"]},{baptismDate:null,birthDate:"1948-07-06",birthPlace:"North General Hospital, España, Manila, PHL",deathAge:null,deathDate:"1979-06-07",deathPlace:"Monterey Park, Los Angeles, California, USA",gender:"M",hasDNA:!1,hasImage:!0,key:"80469632",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1966-03-26",marriagePlace:"Knox Methodist Church, Manila, PHL",middleName:"San Agustin",nickname:"Bhoy",prefix:null,suffix:"Jr.",vitalsCompleteAndVerified:!1,firstName:"Manuel",marker:"male-twin",marker2:"seaman",fid:"GHBD-7M4",child:"50342947",paternal_siblings:[],father:"59135880",maternal_siblings:[],mother:"54923824",regular_siblings:["41491264","54340914","12725118","73841862"]},{baptismDate:null,birthDate:"1913-11-10",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1994-11-20",deathPlace:"Forest Lawn, Covina, Los Angeles, California, USA",gender:"M",hasDNA:!1,hasImage:!0,key:"59135880",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1951-03-05",marriagePlace:"St. Paul's Methodist Church, Tondo, Manila, PHL",middleName:"Bongco",nickname:"Maning",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Manuel",marker:"police",marker2:"investigate",fid:"GHBD-9L6",child:"80469632",paternal_siblings:[],father:"91699953",maternal_siblings:[],mother:"91567169",regular_siblings:["6375936","64329171"]},{baptismDate:null,birthDate:"about 1871",birthPlace:"Orani, Bataan, PHL",deathAge:null,deathDate:"1948-07-07",deathPlace:"Orani, Bataan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"91699953",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ligorio",fid:"GHB8-SQN",child:"59135880",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1903",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"after 1951-03-05",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"91567169",lastName:"Bongco",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Maximiana",fid:"GHB8-5K8",child:"59135880",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1925-12-21",birthPlace:"Philippine General Hospital, Ermita, Manila, PHL",deathAge:null,deathDate:"2008-10-09",deathPlace:"Forest Lawn, Covina, Los Angeles, California, USA",gender:"F",hasDNA:!1,hasImage:!0,key:"54923824",lastName:"San Agustin",living:!1,livingPlace:null,marriageDate:"1951-03-05",marriagePlace:"St. Paul's Methodist Church, Tondo, Manila, PHL",middleName:null,nickname:"Nati",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Natividad",marker:"housewife",fid:"GHB8-DXY",child:"80469632",paternal_siblings:[],father:"79826472",maternal_siblings:[],mother:"45640239",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"79826472",lastName:"San Agustin",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Vicente",fid:"GHB8-LCC",child:"54923824",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"45640239",lastName:null,living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Nena",fid:"GHB8-H7K",child:"54923824",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1943-01-28",birthPlace:"Azcarraga, Binondo, Manila, PHL",deathAge:null,deathDate:"1974-08-10",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"58601193",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:"1966-03-26",marriagePlace:"Knox Methodist Church, Manila, PHL",middleName:"Dumantay",nickname:"Lina",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Catalina",marker:"housewife",fid:"GHB8-J1B",child:"50342947",paternal_siblings:[],father:"51727808",maternal_siblings:[],mother:"30299840",regular_siblings:["95216770","55618304","42349252","95739264"]},{baptismDate:null,birthDate:"1903-04-22",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"1969-12-12",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"51727808",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Luzon, PHL",middleName:"Reyes",nickname:"Sotering",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Sotero",marker:"police",marker2:"train",fid:"GHB8-GB6",child:"58601193",paternal_siblings:[],father:"51683352",maternal_siblings:[],mother:"50346650",regular_siblings:["28928680","392680","47386677","57182283"]},{baptismDate:null,birthDate:"about 1858",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"after 1902-06",deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"51683352",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bautista",nickname:null,prefix:"Don",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Miguel",marker:"government",fid:"LLQS-641",child:"51727808",paternal_siblings:[],father:"61599560",maternal_siblings:[],mother:"53643498",regular_siblings:["93051591"]},{baptismDate:null,birthDate:"from 1800 to 1858",birthPlace:null,deathAge:null,deathDate:null,deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"61599560",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"B.",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Guillermo",marker:"sales",marker2:"cattle",fid:"LLQS-6YC",child:"51683352",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"from 1800 to 1858",birthPlace:null,deathAge:null,deathDate:null,deathPlace:"Santa Barbara, Pangasinan, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"53643498",lastName:"Bautista",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Garcia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Maria",fid:"L281-614",child:"51683352",paternal_siblings:[],father:"85964364",maternal_siblings:[],mother:"89545654",regular_siblings:[]},{baptismDate:null,birthDate:"from 1735 to 1853",birthPlace:null,deathAge:null,deathDate:"after 1881",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"85964364",lastName:"Bautista",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Don",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Agustin",marker:"government",fid:"GC7T-H59",child:"53643498",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"89545654",lastName:"Garcia",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Doña",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felipa",fid:"GC7T-1PK",child:"53643498",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"50346650",lastName:"Reyes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Novilla",nickname:"Mitcher",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mercedes",fid:"LLQS-6F1",child:"51727808",paternal_siblings:[],father:"23571091",maternal_siblings:[],mother:"90879248",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"23571091",lastName:"Reyes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregorio",fid:"G7C3-B6P",child:"50346650",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"90879248",lastName:"Novilla",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leocadia",fid:"G7C3-J9S",child:"50346650",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1918-04-19",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"1990-04-16",deathPlace:"Sangandaan Cemetery, South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"30299840",lastName:"Dumantay",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Luzon, PHL",middleName:null,nickname:"Cresing",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cresencia",marker:"apparel",marker2:"sales",fid:"GHBD-9LY",child:"58601193",maternal_siblings:[],mother:"78945712",paternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1908",birthPlace:null,deathAge:"50+",deathDate:"after 1918-04-19",deathPlace:"Luzon, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"78945712",lastName:null,living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,fid:"GY85-YPS",firstName:"Unknown name",child:"30299840",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1994-12-16",birthPlace:"Dr. Jose Fabella Memorial Hospital, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!0,hasImage:!0,key:"16057808",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"2024-06-15",marriagePlace:"St. John Bosco Parish Church, Makati, PHL",middleName:"Ajesta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mitchie",marker:"prelations",marker3:"housewife",fid:"GHB5-TWN",child:"80378400",paternal_siblings:[],father:"41741428",maternal_siblings:[],mother:"55859428",regular_siblings:["1031404"]},{baptismDate:null,birthDate:"1964-06-22",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"41741428",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:"1994-01-25",marriagePlace:"Santa Maria, Bulacan, PHL",middleName:"Elican",nickname:"Loloy",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Darne",marker:"manufacturing",marker2:"househusband",marker3:"prelations",fid:"GHB5-XTZ",child:"16057808",paternal_siblings:[],father:"32818992",maternal_siblings:[],mother:"18589217",regular_siblings:["78074094"]},{baptismDate:null,birthDate:"1938-02-26",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:"2018-09-28",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"32818992",lastName:"Adanza",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Mindanao, PHL",middleName:"Ladera",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Nestor",marker:"farming",fid:"GH12-SVQ",child:"41741428",paternal_siblings:[],father:"64714771",maternal_siblings:[],mother:"58814600",regular_siblings:[]},{baptismDate:null,birthDate:"about 1909",birthPlace:"Dumaguete, Negros Oriental, PHL",deathAge:null,deathDate:"1990-11-03",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"64714771",lastName:"Adanza",living:!1,livingPlace:null,marriageDate:"1928-10-06",marriagePlace:"Balingasag, Misamis Oriental, PHL",middleName:"R.",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felomino",marker:"farming",fid:"GH12-DRN",child:"32818992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1911",birthPlace:"Mindanao, PHL",deathAge:null,deathDate:"after 1990-11-03",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"58814600",lastName:"Ladera",living:!1,livingPlace:null,marriageDate:"1928-10-06",marriagePlace:"Balingasag, Misamis Oriental, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Consuelo",fid:"GH12-3GN",child:"32818992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1939-11-28",birthPlace:"Balingasag, Misamis Oriental, PHL",deathAge:null,deathDate:"2015-04-02",deathPlace:"Balingasag, Misamis Oriental, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"18589217",lastName:"Elican",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"Mindanao, PHL",middleName:"Acerto",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rufa",marker:"farming",fid:"GH12-9F6",child:"41741428",paternal_siblings:[],father:"36360078",maternal_siblings:[],mother:"55588060",regular_siblings:[]},{baptismDate:null,birthDate:"before 1933",birthPlace:null,deathAge:null,deathDate:"after 1945-04-30",deathPlace:"Misamis Oriental, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"36360078",lastName:"Elican",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:"Sgt.",suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cecelio",marker:"sergeant",fid:"GH12-9JZ",child:"18589217",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"55588060",lastName:"Acerto",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Jovita",fid:"GH12-35H",child:"18589217",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1974-04-13",birthPlace:"Sinamongan, Pilar, Capiz, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"55859428",lastName:"Ajesta",living:!0,livingPlace:"Manama, BHR",marriageDate:"1994-01-25",marriagePlace:"Santa Maria, Bulacan, PHL",middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Mylen",marker:"beautician",marker2:"prelations",marker3:"manager",fid:"GHBR-FK3",child:"16057808",paternal_siblings:[],father:"17374654",maternal_siblings:[],mother:"64719992",regular_siblings:["44750858","57433236"]},{baptismDate:null,birthDate:"before 1953",birthPlace:"Binaobawan, Pilar, Capiz, PHL",deathAge:null,deathDate:"after 1980-02-26",deathPlace:"PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"17374654",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:"1962-08-05",marriagePlace:"Pilar, Capiz, PHL",middleName:"Badoles",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Napoleon Crispolon",fid:"GH12-Z3C",child:"55859428",paternal_siblings:[],father:"40943586",maternal_siblings:[],mother:"99295715",regular_siblings:[]},{baptismDate:null,birthDate:"about 1903",birthPlace:"Pilar, Capiz, PHL",deathAge:null,deathDate:"after 1922-02-15",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"40943586",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:"1922-02-15",marriagePlace:"Pontevedra, Capiz, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Manuel",fid:"GH12-XX4",child:"17374654",paternal_siblings:[],father:"52727694",maternal_siblings:[],mother:"35729864",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"52727694",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Eustaquio",fid:"GKBR-M9Y",child:"40943586",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"35729864",lastName:"Bermudes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Florencia",fid:"GKBR-7P7",child:"40943586",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1904",birthPlace:null,deathAge:null,deathDate:"after 1922-02-15",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"99295715",lastName:"Badoles",living:!1,livingPlace:null,marriageDate:"1922-02-15",marriagePlace:"Pontevedra, Capiz, PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ursula",fid:"GH12-HQN",child:"17374654",paternal_siblings:[],father:"95408617",maternal_siblings:[],mother:"78914496",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"95408617",lastName:"Badoles",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Pedro Benjamin",fid:"GKBT-9GD",child:"99295715",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"about 1852",birthPlace:"Panay, Capiz, PHL",deathAge:null,deathDate:"1922-01-08",deathPlace:"Panay, Capiz, PHL",gender:"F",hasDNA:!1,hasImage:!1,key:"78914496",lastName:"Billanes",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leoncia",fid:"K2GJ-YY3",child:"99295715",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"1941-07-08",birthPlace:"Dulangan, Pilar, Capiz, PHL",deathAge:null,deathDate:"2020-02-16",deathPlace:"Catholic Cemetery, Santa Maria, Bulacan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"64719992",lastName:"Vergara",living:!1,livingPlace:null,marriageDate:"1962-08-05",marriagePlace:"Pilar, Capiz, PHL",middleName:"Borja",nickname:"Mamang",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Selma",marker:"farming",fid:"GH12-W17",child:"55859428",paternal_siblings:[],father:"27738578",maternal_siblings:[],mother:"47733294",regular_siblings:[]},{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"27738578",lastName:"Vergara",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"PHL",middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Benigno",marker:"military",fid:"GH12-6YL",child:"64719992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},{baptismDate:null,birthDate:"before 1896",birthPlace:"PHL",deathAge:null,deathDate:"after 1996-12-16",deathPlace:"Tuguegarao, Cagayan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"47733294",lastName:"Borja",living:!1,livingPlace:null,marriageDate:null,marriagePlace:"PHL",middleName:null,nickname:"Enor",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Enoria",marker:"centennial",fid:"GH12-DD8",child:"64719992",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]}],SIBLINGS_DATA={41491264:{baptismDate:null,birthDate:"1948-07-06",birthPlace:"Manila, PHL",deathAge:null,deathDate:"1948-07-07",deathPlace:"Manila, PHL",gender:"M",hasDNA:!1,hasImage:!1,key:"41491264",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Benjamin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},95216770:{baptismDate:null,birthDate:"1946-12-27",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"95216770",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Rodolfo",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},48615922:{baptismDate:null,birthDate:"1969-03-31",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"48615922",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Saplala",nickname:"Dada",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Danilo",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},52063403:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"52063403",lastName:"Orillo",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Filomeno",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},44750858:{baptismDate:null,birthDate:"1964-08-05",birthPlace:null,deathAge:null,deathDate:"2023-01-23",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"44750858",lastName:"Ajesta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Roselyn",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},28928680:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"28928680",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Augustin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},93051591:{baptismDate:null,birthDate:"1870-07-21",birthPlace:"Santa Barbara, Pangasinan, PHL",deathAge:null,deathDate:"1941-12-27",deathPlace:"Quezon City, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"93051591",lastName:"Maramba",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bautista",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Daniel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},38373110:{baptismDate:null,birthDate:"about 1907",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"38373110",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Hilaria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},73841862:{baptismDate:null,birthDate:"1945-06-17",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"2018-02-19",deathPlace:"South Caloocan, PHL",gender:"F",hasDNA:!1,hasImage:!0,key:"73841862",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:"Vicky",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Victoria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},85278460:{baptismDate:null,birthDate:"1919-10-18",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1981-09-16",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"85278460",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Leonor Rosario",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},64329171:{baptismDate:null,birthDate:"about 1905",birthPlace:null,deathAge:null,deathDate:"about 1983",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"64329171",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:"1932-06-01",marriagePlace:null,middleName:"Bongco",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Felipe",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},54340914:{baptismDate:null,birthDate:"1949-10-23",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"54340914",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:"Ben",prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Benjamin",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},4793299:{baptismDate:null,birthDate:"1963-12-14",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"4793299",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Saplala",nickname:"Toni",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Antonio",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},77082334:{baptismDate:null,birthDate:"1968-02-21",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"77082334",lastName:"Acosta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Maramba",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Susan",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},21653420:{baptismDate:null,birthDate:"1928-01-18",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"2009-05-23",deathPlace:"Majayjay, Laguna, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"21653420",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Celso",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},95739264:{baptismDate:null,birthDate:"before 1964-08-28",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"95739264",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Becky",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},36448299:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"36448299",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Amada",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},31493676:{baptismDate:null,birthDate:null,birthPlace:"Luzon, PHL",deathAge:null,deathDate:"about 2019",deathPlace:"Luzon, PHL",gender:"M",hasDNA:!1,hasImage:!0,key:"31493676",lastName:"Saplala",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Perez",nickname:null,prefix:null,suffix:"Sr.",vitalsCompleteAndVerified:!1,firstName:"Claro",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},21719634:{baptismDate:null,birthDate:"2008-08-01",birthPlace:"Maternity House, Poblacion, South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"21719634",lastName:"Ignacio",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Acosta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Joshua Caleb",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},7663556:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:"before 2020",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"7663556",lastName:"Argabioso",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Mia",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Trinidad",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},4256552:{baptismDate:null,birthDate:"1966-11-07",birthPlace:"South Caloocan, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"4256552",lastName:"Acosta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Maramba",nickname:"Manolo",prefix:null,suffix:"III",vitalsCompleteAndVerified:!1,firstName:"Manuel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},47386677:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"47386677",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Juan",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},1031404:{baptismDate:null,birthDate:"2004-10-13",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!0,key:"1031404",lastName:"Adanza",living:!0,livingPlace:"Sangandaan, South Caloocan, PHL",marriageDate:null,marriagePlace:null,middleName:"Ajesta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"DM",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},392680:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"392680",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Milagros",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},12725118:{baptismDate:null,birthDate:"1947-06-12",birthPlace:"Metro Manila, PHL",deathAge:null,deathDate:"2021-05-02",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"12725118",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"San Agustin",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Amelia",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},6375936:{baptismDate:null,birthDate:"1911-05-17",birthPlace:"Luzon, PHL",deathAge:null,deathDate:"1984-10-03",deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"6375936",lastName:"Acosta",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Bongco",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Isabel",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},83646651:{baptismDate:null,birthDate:"1903-11-17",birthPlace:"Majayjay, Laguna, PHL",deathAge:null,deathDate:"1993-04-22",deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"83646651",lastName:"Orillo",living:!1,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gregorio",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},40891293:{baptismDate:null,birthDate:"about 1913",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"40891293",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:"1930-03-29",marriagePlace:null,middleName:null,nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Jose",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},41448711:{baptismDate:null,birthDate:"2004-08-05",birthPlace:"Amisola Maternity Hospital, Tondo, Manila, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"41448711",lastName:"Ignacio",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Acosta",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Ira Mae",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},78074094:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"78074094",lastName:"Adanza",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Elican",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Gloria",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},57433236:{baptismDate:null,birthDate:"1979-12-26",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"57433236",lastName:"Ajesta",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Vergara",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Cecil",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},70275697:{baptismDate:null,birthDate:"2003-11-05",birthPlace:"St. Luke's Medical Center, Quezon City, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"70275697",lastName:"Argabioso",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Martin",nickname:"Ryan",prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Riand Nikole",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},46768390:{baptismDate:null,birthDate:"1946-03-02",birthPlace:"Luzon, PHL",deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!0,key:"46768390",lastName:"Saplala",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Perez",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Celia",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},57182283:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"57182283",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Reyes",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"José",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},55618304:{baptismDate:null,birthDate:null,birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"M",hasDNA:!1,hasImage:!1,key:"55618304",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:null,marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Larry",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]},42349252:{baptismDate:null,birthDate:"1928-04-20",birthPlace:null,deathAge:null,deathDate:null,deathPlace:null,gender:"F",hasDNA:!1,hasImage:!1,key:"42349252",lastName:"Maramba",living:!0,livingPlace:null,marriageDate:"1953-02-08",marriagePlace:null,middleName:"Dumantay",nickname:null,prefix:null,suffix:null,vitalsCompleteAndVerified:!1,firstName:"Aurora",paternal_siblings:[],maternal_siblings:[],regular_siblings:[]}},STORIES={"GQX8-CQP":{headline:"An Electronics-Engineering-graduate turned Software Engineer focused on recording his family's history.",headshot:"GQX8-CQP-2.lossy.webp",stories:`
Half Siblings from Mother's Side
  • diff --git a/public/family/js/utils.js b/public/family/js/utils.js index 4107d9f..6f2da48 100644 --- a/public/family/js/utils.js +++ b/public/family/js/utils.js @@ -57,6 +57,11 @@ bino.getRelativeDates = function(nodeData, isPrivate) { return `${separator}${marriageYear}${separator}${deathYear}${age}`; } + // Do not show negative ages + if (age < 0) { + age = "NaN"; + } + // If deathYear does not exist, return the formatted // `birthYear` with a separator and "Living" or "Deceased" // based on the living flag.